call.c:_PyVectorcall_NARGS:
   34|  23.1M|{
   35|  23.1M|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  23.1M|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  23.1M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  23.1M|}
exceptions.c:_PyVectorcall_NARGS:
   34|  3.83M|{
   35|  3.83M|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  3.83M|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  3.83M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  3.83M|}
listobject.c:_PyVectorcall_NARGS:
   34|  1.08M|{
   35|  1.08M|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  1.08M|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  1.08M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  1.08M|}
longobject.c:_PyVectorcall_NARGS:
   34|   644k|{
   35|   644k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|   644k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|   644k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|   644k|}
dictobject.c:_PyVectorcall_NARGS:
   34|  2.16M|{
   35|  2.16M|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  2.16M|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  2.16M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  2.16M|}
dictobject.c:PyObject_CallMethodOneArg:
   70|    870|{
   71|    870|    PyObject *args[2] = {self, arg};
   72|    870|    size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    870|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    870|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   73|    870|    assert(arg != NULL);
  ------------------
  |  Branch (73:5): [True: 870, False: 0]
  ------------------
   74|    870|    return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL);
  ------------------
  |  |   57|    870|#  define _Py_NULL NULL
  ------------------
   75|    870|}
object.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|}
rangeobject.c:_PyVectorcall_NARGS:
   34|  3.02M|{
   35|  3.02M|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  3.02M|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  3.02M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  3.02M|}
setobject.c:_PyVectorcall_NARGS:
   34|  2.70k|{
   35|  2.70k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  2.70k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  2.70k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  2.70k|}
tupleobject.c:_PyVectorcall_NARGS:
   34|      4|{
   35|      4|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|      4|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|      4|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|      4|}
typeobject.c:_PyVectorcall_NARGS:
   34|    542|{
   35|    542|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    542|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    542|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|    542|}
unicodeobject.c:_PyVectorcall_NARGS:
   34|  4.62k|{
   35|  4.62k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  4.62k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  4.62k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  4.62k|}
weakrefobject.c:_PyVectorcall_NARGS:
   34|    151|{
   35|    151|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    151|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    151|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|    151|}
bltinmodule.c:_PyVectorcall_NARGS:
   34|  96.4k|{
   35|  96.4k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  96.4k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  96.4k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  96.4k|}
ceval.c:_PyVectorcall_NARGS:
   34|      4|{
   35|      4|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|      4|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|      4|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|      4|}
errors.c:_PyVectorcall_NARGS:
   34|  32.1k|{
   35|  32.1k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  32.1k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  32.1k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  32.1k|}
import.c:PyObject_CallMethodOneArg:
   70|     22|{
   71|     22|    PyObject *args[2] = {self, arg};
   72|     22|    size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     22|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     22|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   73|     22|    assert(arg != NULL);
  ------------------
  |  Branch (73:5): [True: 22, False: 0]
  ------------------
   74|     22|    return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL);
  ------------------
  |  |   57|     22|#  define _Py_NULL NULL
  ------------------
   75|     22|}
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|}
_iomodule.c:PyObject_CallMethodNoArgs:
   63|     33|{
   64|     33|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     33|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     33|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|     33|#  define _Py_NULL NULL
  ------------------
   66|     33|}
iobase.c:PyObject_CallMethodNoArgs:
   63|     63|{
   64|     63|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     63|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     63|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|     63|#  define _Py_NULL NULL
  ------------------
   66|     63|}
fileio.c:PyObject_CallMethodOneArg:
   70|     27|{
   71|     27|    PyObject *args[2] = {self, arg};
   72|     27|    size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     27|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     27|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   73|     27|    assert(arg != NULL);
  ------------------
  |  Branch (73:5): [True: 27, False: 0]
  ------------------
   74|     27|    return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL);
  ------------------
  |  |   57|     27|#  define _Py_NULL NULL
  ------------------
   75|     27|}
bufferedio.c:PyObject_CallMethodOneArg:
   70|   355k|{
   71|   355k|    PyObject *args[2] = {self, arg};
   72|   355k|    size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|   355k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|   355k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   73|   355k|    assert(arg != NULL);
  ------------------
  |  Branch (73:5): [True: 355k, False: 0]
  ------------------
   74|   355k|    return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL);
  ------------------
  |  |   57|   355k|#  define _Py_NULL NULL
  ------------------
   75|   355k|}
bufferedio.c:PyObject_CallMethodNoArgs:
   63|    112|{
   64|    112|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    112|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    112|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|    112|#  define _Py_NULL NULL
  ------------------
   66|    112|}
bufferedio.c:_PyVectorcall_NARGS:
   34|     24|{
   35|     24|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     24|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     24|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|     24|}
textio.c:PyObject_CallMethodNoArgs:
   63|     37|{
   64|     37|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     37|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     37|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|     37|#  define _Py_NULL NULL
  ------------------
   66|     37|}
textio.c:PyObject_CallMethodOneArg:
   70|   355k|{
   71|   355k|    PyObject *args[2] = {self, arg};
   72|   355k|    size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|   355k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|   355k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   73|   355k|    assert(arg != NULL);
  ------------------
  |  Branch (73:5): [True: 355k, False: 0]
  ------------------
   74|   355k|    return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL);
  ------------------
  |  |   57|   355k|#  define _Py_NULL NULL
  ------------------
   75|   355k|}
_abc.c:PyObject_CallMethodOneArg:
   70|     90|{
   71|     90|    PyObject *args[2] = {self, arg};
   72|     90|    size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     90|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     90|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   73|     90|    assert(arg != NULL);
  ------------------
  |  Branch (73:5): [True: 90, False: 0]
  ------------------
   74|     90|    return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL);
  ------------------
  |  |   57|     90|#  define _Py_NULL NULL
  ------------------
   75|     90|}
_functoolsmodule.c:_PyVectorcall_NARGS:
   34|      3|{
   35|      3|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|      3|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|      3|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|      3|}
abstract.c:_PyVectorcall_NARGS:
   34|  18.3k|{
   35|  18.3k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  18.3k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  18.3k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  18.3k|}
abstract.c:PyObject_CallMethodNoArgs:
   63|     84|{
   64|     84|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     84|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     84|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|     84|#  define _Py_NULL NULL
  ------------------
   66|     84|}
boolobject.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|}
descrobject.c:_PyVectorcall_NARGS:
   34|  1.06M|{
   35|  1.06M|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  1.06M|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  1.06M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  1.06M|}
descrobject.c:PyObject_CallMethodNoArgs:
   63|     86|{
   64|     86|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     86|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     86|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|     86|#  define _Py_NULL NULL
  ------------------
   66|     86|}
enumobject.c:_PyVectorcall_NARGS:
   34|  2.99M|{
   35|  2.99M|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  2.99M|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  2.99M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  2.99M|}
fileobject.c:PyObject_CallMethodNoArgs:
   63|   355k|{
   64|   355k|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|   355k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|   355k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|   355k|#  define _Py_NULL NULL
  ------------------
   66|   355k|}
methodobject.c:_PyVectorcall_NARGS:
   34|  13.1M|{
   35|  13.1M|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  13.1M|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  13.1M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  13.1M|}

longobject.c:PyByteArray_AS_STRING:
   25|   504k|{
   26|   504k|    return _PyByteArray_CAST(op)->ob_start;
  ------------------
  |  |   22|   504k|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|   504k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (26:12): [True: 504k, False: 0]
  ------------------
   27|   504k|}
typeobject.c:PyByteArray_AS_STRING:
   25|    512|{
   26|    512|    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))
  |  |  ------------------
  ------------------
  |  Branch (26:12): [True: 512, False: 0]
  ------------------
   27|    512|}
bytearrayobject.c:PyByteArray_GET_SIZE:
   30|   756k|static inline Py_ssize_t PyByteArray_GET_SIZE(PyObject *op) {
   31|   756k|    PyByteArrayObject *self = _PyByteArray_CAST(op);
  ------------------
  |  |   22|   756k|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|   756k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:31): [True: 756k, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(self)->ob_size));
   34|       |#else
   35|   756k|    return Py_SIZE(self);
  ------------------
  |  |  214|   756k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   756k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   756k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|   756k|#endif
   37|   756k|}
bytearrayobject.c:PyByteArray_AS_STRING:
   25|  12.6M|{
   26|  12.6M|    return _PyByteArray_CAST(op)->ob_start;
  ------------------
  |  |   22|  12.6M|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|  12.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (26:12): [True: 12.6M, False: 0]
  ------------------
   27|  12.6M|}

bytesobject.c:PyBytes_AS_STRING:
   24|  37.2k|{
   25|  37.2k|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  37.2k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  37.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 37.2k, False: 0]
  ------------------
   26|  37.2k|}
bytesobject.c:PyBytes_GET_SIZE:
   29|   183k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|   183k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|   183k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|   183k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 183k, False: 0]
  ------------------
   31|   183k|    return Py_SIZE(self);
  ------------------
  |  |  214|   183k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   183k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   183k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|   183k|}
longobject.c:PyBytes_AS_STRING:
   24|     72|{
   25|     72|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|     72|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 72, False: 0]
  ------------------
   26|     72|}
object.c:PyBytes_AS_STRING:
   24|    259|{
   25|    259|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|    259|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    259|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 259, False: 0]
  ------------------
   26|    259|}
object.c:PyBytes_GET_SIZE:
   29|    259|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|    259|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|    259|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    259|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 259, False: 0]
  ------------------
   31|    259|    return Py_SIZE(self);
  ------------------
  |  |  214|    259|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    259|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    259|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|    259|}
typeobject.c:PyBytes_GET_SIZE:
   29|     30|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|     30|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|     30|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     30|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 30, False: 0]
  ------------------
   31|     30|    return Py_SIZE(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|     30|}
typeobject.c:PyBytes_AS_STRING:
   24|     30|{
   25|     30|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|     30|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     30|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 30, False: 0]
  ------------------
   26|     30|}
unicodeobject.c:PyBytes_GET_SIZE:
   29|  13.1k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  13.1k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  13.1k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  13.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 13.1k, False: 0]
  ------------------
   31|  13.1k|    return Py_SIZE(self);
  ------------------
  |  |  214|  13.1k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  13.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  13.1k|}
unicodeobject.c:PyBytes_AS_STRING:
   24|  6.56k|{
   25|  6.56k|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  6.56k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  6.56k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 6.56k, False: 0]
  ------------------
   26|  6.56k|}
ceval.c:PyBytes_AS_STRING:
   24|  3.18M|{
   25|  3.18M|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  3.18M|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  3.18M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 3.18M, False: 0]
  ------------------
   26|  3.18M|}
ceval.c:PyBytes_GET_SIZE:
   29|  3.18M|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  3.18M|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  3.18M|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  3.18M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 3.18M, False: 0]
  ------------------
   31|  3.18M|    return Py_SIZE(self);
  ------------------
  |  |  214|  3.18M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.18M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.18M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  3.18M|}
import.c:PyBytes_AS_STRING:
   24|     35|{
   25|     35|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|     35|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 35, False: 0]
  ------------------
   26|     35|}
importdl.c:PyBytes_AS_STRING:
   24|      6|{
   25|      6|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|      6|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 6, False: 0]
  ------------------
   26|      6|}
marshal.c:PyBytes_AS_STRING:
   24|  8.32k|{
   25|  8.32k|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  8.32k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  8.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 8.32k, False: 0]
  ------------------
   26|  8.32k|}
fileutils.c:PyBytes_AS_STRING:
   24|     10|{
   25|     10|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|     10|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 10, False: 0]
  ------------------
   26|     10|}
posixmodule.c:PyBytes_GET_SIZE:
   29|    144|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|    144|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|    144|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    144|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 144, False: 0]
  ------------------
   31|    144|    return Py_SIZE(self);
  ------------------
  |  |  214|    144|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    144|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    144|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|    144|}
posixmodule.c:PyBytes_AS_STRING:
   24|    144|{
   25|    144|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|    144|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    144|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 144, False: 0]
  ------------------
   26|    144|}
fileio.c:PyBytes_AS_STRING:
   24|     27|{
   25|     27|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|     27|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 27, False: 0]
  ------------------
   26|     27|}
bytes_methods.c:PyBytes_AS_STRING:
   24|      3|{
   25|      3|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|      3|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 3, False: 0]
  ------------------
   26|      3|}
bytes_methods.c:PyBytes_GET_SIZE:
   29|      3|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|      3|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|      3|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 3, False: 0]
  ------------------
   31|      3|    return 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|      3|}
bytearrayobject.c:PyBytes_AS_STRING:
   24|   953k|{
   25|   953k|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|   953k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|   953k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 953k, False: 0]
  ------------------
   26|   953k|}
codeobject.c:PyBytes_GET_SIZE:
   29|   580k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|   580k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|   580k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|   580k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 580k, False: 0]
  ------------------
   31|   580k|    return Py_SIZE(self);
  ------------------
  |  |  214|   580k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   580k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   580k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|   580k|}
codeobject.c:PyBytes_AS_STRING:
   24|   572k|{
   25|   572k|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|   572k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|   572k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 572k, False: 0]
  ------------------
   26|   572k|}
frameobject.c:PyBytes_AS_STRING:
   24|      2|{
   25|      2|    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))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 2, False: 0]
  ------------------
   26|      2|}
frameobject.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))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 2, False: 0]
  ------------------
   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|}
assemble.c:PyBytes_GET_SIZE:
   29|     61|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|     61|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|     61|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     61|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 61, False: 0]
  ------------------
   31|     61|    return Py_SIZE(self);
  ------------------
  |  |  214|     61|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     61|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     61|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|     61|}
assemble.c:PyBytes_AS_STRING:
   24|    107|{
   25|    107|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|    107|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    107|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 107, False: 0]
  ------------------
   26|    107|}

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

typeobject.c:PyUnstable_Code_GetFirstFree:
  175|     15|static inline int PyUnstable_Code_GetFirstFree(PyCodeObject *op) {
  176|     15|    assert(PyCode_Check(op));
  ------------------
  |  Branch (176:5): [True: 15, False: 0]
  ------------------
  177|     15|    return op->co_nlocalsplus - op->co_nfreevars;
  178|     15|}
bltinmodule.c:PyCode_GetNumFree:
  170|     56|static inline Py_ssize_t PyCode_GetNumFree(PyCodeObject *op) {
  171|     56|    assert(PyCode_Check(op));
  ------------------
  |  Branch (171:5): [True: 56, False: 0]
  ------------------
  172|     56|    return op->co_nfreevars;
  173|     56|}

call.c:PyDict_GET_SIZE:
   53|    550|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|    550|    PyDictObject *mp;
   55|    550|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 550, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|    550|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|    550|#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|    550|    return mp->ma_used;
   61|    550|#endif
   62|    550|}
listobject.c:PyDict_GET_SIZE:
   53|  1.08M|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|  1.08M|    PyDictObject *mp;
   55|  1.08M|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 1.08M, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|  1.08M|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|  1.08M|    return mp->ma_used;
   61|  1.08M|#endif
   62|  1.08M|}
setobject.c:PyDict_GET_SIZE:
   53|    877|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|    877|    PyDictObject *mp;
   55|    877|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 877, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|    877|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|    877|#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|    877|    return mp->ma_used;
   61|    877|#endif
   62|    877|}
typeobject.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));
  ------------------
  |  Branch (55:5): [True: 5, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   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|}
ceval.c:PyDict_GET_SIZE:
   53|     26|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|     26|    PyDictObject *mp;
   55|     26|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 26, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|     26|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|     26|#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|     26|    return mp->ma_used;
   61|     26|#endif
   62|     26|}
compile.c:PyDict_GET_SIZE:
   53|     27|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|     27|    PyDictObject *mp;
   55|     27|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 27, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|     27|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|     27|#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|     27|    return mp->ma_used;
   61|     27|#endif
   62|     27|}
flowgraph.c:PyDict_GET_SIZE:
   53|     78|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|     78|    PyDictObject *mp;
   55|     78|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 78, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|     78|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|     78|#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|     78|    return mp->ma_used;
   61|     78|#endif
   62|     78|}
getargs.c:PyDict_GET_SIZE:
   53|     21|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|     21|    PyDictObject *mp;
   55|     21|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 21, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|     21|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|     21|#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|     21|    return mp->ma_used;
   61|     21|#endif
   62|     21|}
textio.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));
  ------------------
  |  Branch (55:5): [True: 3, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   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|}
sre.c:PyDict_GET_SIZE:
   53|  2.20k|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|  2.20k|    PyDictObject *mp;
   55|  2.20k|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 2.20k, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|  2.20k|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|  2.20k|#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.20k|    return mp->ma_used;
   61|  2.20k|#endif
   62|  2.20k|}
_functoolsmodule.c:PyDict_GET_SIZE:
   53|      1|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|      1|    PyDictObject *mp;
   55|      1|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 1, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|      1|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|      1|    return mp->ma_used;
   61|      1|#endif
   62|      1|}
assemble.c:PyDict_GET_SIZE:
   53|     12|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|     12|    PyDictObject *mp;
   55|     12|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 12, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|     12|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|     12|#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|     12|    return mp->ma_used;
   61|     12|#endif
   62|     12|}

floatobject.c:PyFloat_AS_DOUBLE:
   15|     45|static inline double PyFloat_AS_DOUBLE(PyObject *op) {
   16|     45|    return _PyFloat_CAST(op)->ob_fval;
  ------------------
  |  |   11|     45|    (assert(PyFloat_Check(op)), _Py_CAST(PyFloatObject*, op))
  |  |  ------------------
  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (16:12): [True: 45, False: 0]
  ------------------
   17|     45|}
ceval.c:PyFloat_AS_DOUBLE:
   15|     64|static inline double PyFloat_AS_DOUBLE(PyObject *op) {
   16|     64|    return _PyFloat_CAST(op)->ob_fval;
  ------------------
  |  |   11|     64|    (assert(PyFloat_Check(op)), _Py_CAST(PyFloatObject*, op))
  |  |  ------------------
  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (16:12): [True: 64, False: 0]
  ------------------
   17|     64|}

ceval.c:PyFunction_GET_CODE:
   90|  16.0M|static inline PyObject* PyFunction_GET_CODE(PyObject *func) {
   91|  16.0M|    return _PyFunction_CAST(func)->func_code;
  ------------------
  |  |   86|  16.0M|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|  16.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (91:12): [True: 16.0M, False: 0]
  ------------------
   92|  16.0M|}
specialize.c:PyFunction_GET_CODE:
   90|  1.88k|static inline PyObject* PyFunction_GET_CODE(PyObject *func) {
   91|  1.88k|    return _PyFunction_CAST(func)->func_code;
  ------------------
  |  |   86|  1.88k|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|  1.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (91:12): [True: 1.88k, False: 0]
  ------------------
   92|  1.88k|}

bytesobject.c:PyList_GET_SIZE:
   30|      3|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|      3|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|      3|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 3, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|      3|    return Py_SIZE(list);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|      3|#endif
   37|      3|}
listobject.c:PyList_GET_SIZE:
   30|  31.4M|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  31.4M|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  31.4M|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  31.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 31.4M, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|  31.4M|    return Py_SIZE(list);
  ------------------
  |  |  214|  31.4M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  31.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  31.4M|#endif
   37|  31.4M|}
listobject.c:PyList_SET_ITEM:
   43|  23.6M|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|  23.6M|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  23.6M|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  23.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 23.6M, False: 0]
  ------------------
   45|  23.6M|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 23.6M, False: 0]
  ------------------
   46|  23.6M|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 23.6M, False: 0]
  ------------------
   47|  23.6M|    list->ob_item[index] = value;
   48|  23.6M|}
dictobject.c:PyList_SET_ITEM:
   43|  2.45k|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|  2.45k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  2.45k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 2.45k, False: 0]
  ------------------
   45|  2.45k|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 2.45k, False: 0]
  ------------------
   46|  2.45k|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 2.45k, False: 0]
  ------------------
   47|  2.45k|    list->ob_item[index] = value;
   48|  2.45k|}
typeobject.c:PyList_SET_ITEM:
   43|     71|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|     71|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|     71|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     71|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 71, False: 0]
  ------------------
   45|     71|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 71, False: 0]
  ------------------
   46|     71|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 71, False: 0]
  ------------------
   47|     71|    list->ob_item[index] = value;
   48|     71|}
unicodeobject.c:PyList_GET_SIZE:
   30|    328|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|    328|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|    328|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    328|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 328, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|    328|    return Py_SIZE(list);
  ------------------
  |  |  214|    328|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    328|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    328|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|    328|#endif
   37|    328|}
unicodeobject.c:PyList_SET_ITEM:
   43|     30|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|     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))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 30, False: 0]
  ------------------
   45|     30|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 30, False: 0]
  ------------------
   46|     30|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 30, False: 0]
  ------------------
   47|     30|    list->ob_item[index] = value;
   48|     30|}
unionobject.c:PyList_GET_SIZE:
   30|      1|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|      1|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|      1|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 1, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|      1|    return Py_SIZE(list);
  ------------------
  |  |  214|      1|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|      1|#endif
   37|      1|}
_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))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 10, False: 0]
  ------------------
   45|     10|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 10, False: 0]
  ------------------
   46|     10|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 10, False: 0]
  ------------------
   47|     10|    list->ob_item[index] = value;
   48|     10|}
_warnings.c:PyList_GET_SIZE:
   30|  2.13M|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  2.13M|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  2.13M|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.13M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 2.13M, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|  2.13M|    return Py_SIZE(list);
  ------------------
  |  |  214|  2.13M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.13M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.13M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  2.13M|#endif
   37|  2.13M|}
ceval.c:PyList_GET_SIZE:
   30|  80.1M|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  80.1M|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  80.1M|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  80.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 80.1M, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|  80.1M|    return Py_SIZE(list);
  ------------------
  |  |  214|  80.1M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  80.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  80.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  80.1M|#endif
   37|  80.1M|}
ceval.c:PyList_SET_ITEM:
   43|  11.0M|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|  11.0M|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  11.0M|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  11.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 11.0M, False: 0]
  ------------------
   45|  11.0M|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 11.0M, False: 0]
  ------------------
   46|  11.0M|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 11.0M, False: 0]
  ------------------
   47|  11.0M|    list->ob_item[index] = value;
   48|  11.0M|}
compile.c:PyList_GET_SIZE:
   30|     27|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|     27|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|     27|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 27, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|     27|    return Py_SIZE(list);
  ------------------
  |  |  214|     27|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|     27|#endif
   37|     27|}
compile.c:PyList_SET_ITEM:
   43|      6|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|      6|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|      6|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 6, False: 0]
  ------------------
   45|      6|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 6, False: 0]
  ------------------
   46|      6|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 6, False: 0]
  ------------------
   47|      6|    list->ob_item[index] = value;
   48|      6|}
flowgraph.c:PyList_GET_SIZE:
   30|     24|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|     24|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|     24|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 24, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|     24|    return Py_SIZE(list);
  ------------------
  |  |  214|     24|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|     24|#endif
   37|     24|}
gc.c:PyList_GET_SIZE:
   30|  70.6k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  70.6k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  70.6k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  70.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 70.6k, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|  70.6k|    return Py_SIZE(list);
  ------------------
  |  |  214|  70.6k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  70.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  70.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  70.6k|#endif
   37|  70.6k|}
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))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 14, False: 0]
  ------------------
   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))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 8, False: 0]
  ------------------
   45|      8|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 8, False: 0]
  ------------------
   46|      8|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 8, False: 0]
  ------------------
   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))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 2, False: 0]
  ------------------
   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|  29.5k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  29.5k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  29.5k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  29.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 29.5k, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|  29.5k|    return Py_SIZE(list);
  ------------------
  |  |  214|  29.5k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  29.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  29.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  29.5k|#endif
   37|  29.5k|}
marshal.c:PyList_SET_ITEM:
   43|     27|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|     27|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|     27|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 27, False: 0]
  ------------------
   45|     27|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 27, False: 0]
  ------------------
   46|     27|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 27, False: 0]
  ------------------
   47|     27|    list->ob_item[index] = value;
   48|     27|}
specialize.c:PyList_GET_SIZE:
   30|     17|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|     17|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|     17|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     17|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 17, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|     17|    return Py_SIZE(list);
  ------------------
  |  |  214|     17|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     17|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     17|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|     17|#endif
   37|     17|}
symtable.c:PyList_GET_SIZE:
   30|     21|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|     21|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|     21|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 21, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|     21|    return Py_SIZE(list);
  ------------------
  |  |  214|     21|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|     21|#endif
   37|     21|}
sre.c:PyList_GET_SIZE:
   30|  2.20k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  2.20k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  2.20k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 2.20k, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|  2.20k|    return Py_SIZE(list);
  ------------------
  |  |  214|  2.20k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.20k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  2.20k|#endif
   37|  2.20k|}
_abc.c:PyList_GET_SIZE:
   30|  1.00k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  1.00k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  1.00k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 1.00k, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|  1.00k|    return Py_SIZE(list);
  ------------------
  |  |  214|  1.00k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  1.00k|#endif
   37|  1.00k|}
abstract.c:PyList_SET_ITEM:
   43|     76|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|     76|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|     76|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 76, False: 0]
  ------------------
   45|     76|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 76, False: 0]
  ------------------
   46|     76|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 76, False: 0]
  ------------------
   47|     76|    list->ob_item[index] = value;
   48|     76|}

listobject.c:_PyLong_IsCompact:
  122|  13.8k|_PyLong_IsCompact(const PyLongObject* op) {
  123|  13.8k|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (123:5): [True: 13.8k, False: 0]
  ------------------
  124|  13.8k|    return op->long_value.lv_tag < (2 << _PyLong_NON_SIZE_BITS);
  ------------------
  |  |  118|  13.8k|#define _PyLong_NON_SIZE_BITS 3
  ------------------
  125|  13.8k|}
listobject.c:_PyLong_CompactValue:
  131|  5.81k|{
  132|  5.81k|    Py_ssize_t sign;
  133|  5.81k|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (133:5): [True: 5.81k, False: 0]
  ------------------
  134|  5.81k|    assert(PyUnstable_Long_IsCompact(op));
  ------------------
  |  Branch (134:5): [True: 5.81k, False: 0]
  ------------------
  135|  5.81k|    sign = 1 - (op->long_value.lv_tag & _PyLong_SIGN_MASK);
  ------------------
  |  |  117|  5.81k|#define _PyLong_SIGN_MASK 3
  ------------------
  136|  5.81k|    if (sign == 0) {
  ------------------
  |  Branch (136:9): [True: 0, False: 5.81k]
  ------------------
  137|       |        // gh-147988: Make sure that the digit is zero.
  138|       |        // It helps detecting the usage of uninitialized digits.
  139|      0|        assert(op->long_value.ob_digit[0] == 0);
  ------------------
  |  Branch (139:9): [True: 0, False: 0]
  ------------------
  140|      0|    }
  141|  5.81k|    return sign * (Py_ssize_t)op->long_value.ob_digit[0];
  142|  5.81k|}
longobject.c:_PyLong_IsCompact:
  122|   492M|_PyLong_IsCompact(const PyLongObject* op) {
  123|   492M|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (123:5): [True: 492M, False: 0]
  ------------------
  124|   492M|    return op->long_value.lv_tag < (2 << _PyLong_NON_SIZE_BITS);
  ------------------
  |  |  118|   492M|#define _PyLong_NON_SIZE_BITS 3
  ------------------
  125|   492M|}
longobject.c:_PyLong_CompactValue:
  131|   313M|{
  132|   313M|    Py_ssize_t sign;
  133|   313M|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (133:5): [True: 313M, False: 0]
  ------------------
  134|   313M|    assert(PyUnstable_Long_IsCompact(op));
  ------------------
  |  Branch (134:5): [True: 313M, False: 0]
  ------------------
  135|   313M|    sign = 1 - (op->long_value.lv_tag & _PyLong_SIGN_MASK);
  ------------------
  |  |  117|   313M|#define _PyLong_SIGN_MASK 3
  ------------------
  136|   313M|    if (sign == 0) {
  ------------------
  |  Branch (136:9): [True: 43.1M, False: 270M]
  ------------------
  137|       |        // gh-147988: Make sure that the digit is zero.
  138|       |        // It helps detecting the usage of uninitialized digits.
  139|  43.1M|        assert(op->long_value.ob_digit[0] == 0);
  ------------------
  |  Branch (139:9): [True: 43.1M, False: 0]
  ------------------
  140|  43.1M|    }
  141|   313M|    return sign * (Py_ssize_t)op->long_value.ob_digit[0];
  142|   313M|}
ceval.c:_PyLong_CompactValue:
  131|  61.0M|{
  132|  61.0M|    Py_ssize_t sign;
  133|  61.0M|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (133:5): [True: 61.0M, False: 0]
  ------------------
  134|  61.0M|    assert(PyUnstable_Long_IsCompact(op));
  ------------------
  |  Branch (134:5): [True: 61.0M, False: 0]
  ------------------
  135|  61.0M|    sign = 1 - (op->long_value.lv_tag & _PyLong_SIGN_MASK);
  ------------------
  |  |  117|  61.0M|#define _PyLong_SIGN_MASK 3
  ------------------
  136|  61.0M|    if (sign == 0) {
  ------------------
  |  Branch (136:9): [True: 19.4M, False: 41.5M]
  ------------------
  137|       |        // gh-147988: Make sure that the digit is zero.
  138|       |        // It helps detecting the usage of uninitialized digits.
  139|  19.4M|        assert(op->long_value.ob_digit[0] == 0);
  ------------------
  |  Branch (139:9): [True: 19.4M, False: 0]
  ------------------
  140|  19.4M|    }
  141|  61.0M|    return sign * (Py_ssize_t)op->long_value.ob_digit[0];
  142|  61.0M|}
ceval.c:_PyLong_IsCompact:
  122|   336M|_PyLong_IsCompact(const PyLongObject* op) {
  123|   336M|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (123:5): [True: 336M, False: 0]
  ------------------
  124|   336M|    return op->long_value.lv_tag < (2 << _PyLong_NON_SIZE_BITS);
  ------------------
  |  |  118|   336M|#define _PyLong_NON_SIZE_BITS 3
  ------------------
  125|   336M|}
specialize.c:_PyLong_CompactValue:
  131|  28.0M|{
  132|  28.0M|    Py_ssize_t sign;
  133|  28.0M|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (133:5): [True: 28.0M, False: 0]
  ------------------
  134|  28.0M|    assert(PyUnstable_Long_IsCompact(op));
  ------------------
  |  Branch (134:5): [True: 28.0M, False: 0]
  ------------------
  135|  28.0M|    sign = 1 - (op->long_value.lv_tag & _PyLong_SIGN_MASK);
  ------------------
  |  |  117|  28.0M|#define _PyLong_SIGN_MASK 3
  ------------------
  136|  28.0M|    if (sign == 0) {
  ------------------
  |  Branch (136:9): [True: 3.32M, False: 24.7M]
  ------------------
  137|       |        // gh-147988: Make sure that the digit is zero.
  138|       |        // It helps detecting the usage of uninitialized digits.
  139|  3.32M|        assert(op->long_value.ob_digit[0] == 0);
  ------------------
  |  Branch (139:9): [True: 3.32M, False: 0]
  ------------------
  140|  3.32M|    }
  141|  28.0M|    return sign * (Py_ssize_t)op->long_value.ob_digit[0];
  142|  28.0M|}
specialize.c:_PyLong_IsCompact:
  122|  56.1M|_PyLong_IsCompact(const PyLongObject* op) {
  123|  56.1M|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (123:5): [True: 56.1M, False: 0]
  ------------------
  124|  56.1M|    return op->long_value.lv_tag < (2 << _PyLong_NON_SIZE_BITS);
  ------------------
  |  |  118|  56.1M|#define _PyLong_NON_SIZE_BITS 3
  ------------------
  125|  56.1M|}

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

object.c:_PyObject_SIZE:
    5|   630k|static inline size_t _PyObject_SIZE(PyTypeObject *type) {
    6|   630k|    return _Py_STATIC_CAST(size_t, type->tp_basicsize);
  ------------------
  |  |   34|   630k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
    7|   630k|}
object.c:_PyObject_VAR_SIZE:
   23|  2.73k|static inline size_t _PyObject_VAR_SIZE(PyTypeObject *type, Py_ssize_t nitems) {
   24|  2.73k|    size_t size = _Py_STATIC_CAST(size_t, type->tp_basicsize);
  ------------------
  |  |   34|  2.73k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
   25|  2.73k|    size += _Py_STATIC_CAST(size_t, nitems) * _Py_STATIC_CAST(size_t, type->tp_itemsize);
  ------------------
  |  |   34|  2.73k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
                  size += _Py_STATIC_CAST(size_t, nitems) * _Py_STATIC_CAST(size_t, type->tp_itemsize);
  ------------------
  |  |   34|  2.73k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
   26|  2.73k|    return _Py_SIZE_ROUND_UP(size, SIZEOF_VOID_P);
  ------------------
  |  |  213|  2.73k|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  214|  2.73k|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  ------------------
   27|  2.73k|}
typeobject.c:_PyObject_VAR_SIZE:
   23|  16.2M|static inline size_t _PyObject_VAR_SIZE(PyTypeObject *type, Py_ssize_t nitems) {
   24|  16.2M|    size_t size = _Py_STATIC_CAST(size_t, type->tp_basicsize);
  ------------------
  |  |   34|  16.2M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
   25|  16.2M|    size += _Py_STATIC_CAST(size_t, nitems) * _Py_STATIC_CAST(size_t, type->tp_itemsize);
  ------------------
  |  |   34|  16.2M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
                  size += _Py_STATIC_CAST(size_t, nitems) * _Py_STATIC_CAST(size_t, type->tp_itemsize);
  ------------------
  |  |   34|  16.2M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
   26|  16.2M|    return _Py_SIZE_ROUND_UP(size, SIZEOF_VOID_P);
  ------------------
  |  |  213|  16.2M|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  214|  16.2M|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  ------------------
   27|  16.2M|}
gc.c:_PyObject_SIZE:
    5|  21.3M|static inline size_t _PyObject_SIZE(PyTypeObject *type) {
    6|  21.3M|    return _Py_STATIC_CAST(size_t, type->tp_basicsize);
  ------------------
  |  |   34|  21.3M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
    7|  21.3M|}
gc.c:_PyObject_VAR_SIZE:
   23|  31.7M|static inline size_t _PyObject_VAR_SIZE(PyTypeObject *type, Py_ssize_t nitems) {
   24|  31.7M|    size_t size = _Py_STATIC_CAST(size_t, type->tp_basicsize);
  ------------------
  |  |   34|  31.7M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
   25|  31.7M|    size += _Py_STATIC_CAST(size_t, nitems) * _Py_STATIC_CAST(size_t, type->tp_itemsize);
  ------------------
  |  |   34|  31.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|  31.7M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
   26|  31.7M|    return _Py_SIZE_ROUND_UP(size, SIZEOF_VOID_P);
  ------------------
  |  |  213|  31.7M|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  214|  31.7M|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  ------------------
   27|  31.7M|}

longobject.c:_Py_atomic_load_int:
  248|  4.64k|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }
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|    414|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
typeobject.c:_Py_atomic_compare_exchange_uint:
  100|    414|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  101|    414|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
typeobject.c:_Py_atomic_store_ptr_relaxed:
  509|  11.7k|{ __atomic_store_n((void **)obj, value, __ATOMIC_RELAXED); }
typeobject.c:_Py_atomic_store_uint32_release:
  593|  5.85k|{ __atomic_store_n(obj, value, __ATOMIC_RELEASE); }
typeobject.c:_Py_atomic_load_int64:
  264|    414|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }
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|  1.43M|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }
ceval.c:_Py_atomic_load_uintptr_relaxed:
  375|   293M|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
gc.c:_Py_atomic_compare_exchange_int:
   70|  23.8k|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
   71|  23.8k|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
gc.c:_Py_atomic_store_int:
  402|  23.8k|{ __atomic_store_n(obj, value, __ATOMIC_SEQ_CST); }
gc.c:_Py_atomic_load_uintptr_relaxed:
  375|   191k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
gc.c:_Py_atomic_or_uintptr:
  241|  23.8k|{ return __atomic_fetch_or(obj, value, __ATOMIC_SEQ_CST); }
gc.c:_Py_atomic_load_int_relaxed:
  307|   191k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
getargs.c:_Py_atomic_load_uint8:
  272|  1.08M|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }
getargs.c:_Py_atomic_load_ptr:
  300|      5|{ return (void *)__atomic_load_n((void * const *)obj, __ATOMIC_SEQ_CST); }
getargs.c:_Py_atomic_compare_exchange_ptr:
  135|      5|{ return __atomic_compare_exchange_n((void **)obj, (void **)expected, desired, 0,
  136|      5|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
ceval_gil.c:_Py_atomic_load_int_acquire:
  589|   356k|{ return __atomic_load_n(obj, __ATOMIC_ACQUIRE); }
ceval_gil.c:_Py_atomic_load_int_relaxed:
  307|   713k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
ceval_gil.c:_Py_atomic_load_ptr_relaxed:
  387|   356k|{ return (void *)__atomic_load_n((void * const *)obj, __ATOMIC_RELAXED); }
ceval_gil.c:_Py_atomic_store_ptr_relaxed:
  509|   356k|{ __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_store_int_relaxed:
  461|   713k|{ __atomic_store_n(obj, value, __ATOMIC_RELAXED); }
ceval_gil.c:_Py_atomic_and_uintptr:
  218|   380k|{ return __atomic_fetch_and(obj, value, __ATOMIC_SEQ_CST); }
ceval_gil.c:_Py_atomic_load_int32_relaxed:
  347|   713k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
ceval_gil.c:_Py_atomic_load_uintptr_relaxed:
  375|  1.09M|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
import.c:_Py_atomic_add_ssize:
   63|     43|{ return __atomic_fetch_add(obj, value, __ATOMIC_SEQ_CST); }
import.c:_Py_atomic_compare_exchange_uint8:
  105|     94|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  106|     94|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
instrumentation.c:_Py_atomic_load_uintptr_relaxed:
  375|  32.1k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
lock.c:_Py_atomic_load_uint8_relaxed:
  359|   711k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
lock.c:_Py_atomic_compare_exchange_uint8:
  105|  2.87M|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  106|  2.87M|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
lock.c:_Py_atomic_load_uint8:
  272|      5|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }
lock.c:_Py_atomic_exchange_uint8:
  171|      5|{ return __atomic_exchange_n(obj, value, __ATOMIC_SEQ_CST); }
lock.c:_Py_atomic_load_ullong_relaxed:
  391|  2.16M|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
lock.c:_Py_atomic_store_ullong_relaxed:
  518|  2.16M|{ __atomic_store_n(obj, value, __ATOMIC_RELAXED); }
pylifecycle.c:_Py_atomic_load_ptr_relaxed:
  387|   711k|{ return (void *)__atomic_load_n((void * const *)obj, __ATOMIC_RELAXED); }
pylifecycle.c:_Py_atomic_load_int:
  248|  2.25k|{ 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|      6|{ __atomic_store_n(obj, value, __ATOMIC_SEQ_CST); }
pystate.c:_Py_atomic_load_int:
  248|      4|{ return __atomic_load_n(obj, __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_load_int_relaxed:
  307|  1.42M|{ 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); }
thread.c:_Py_atomic_compare_exchange_uint8:
  105|   711k|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  106|   711k|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
fileutils.c:_Py_atomic_load_int_relaxed:
  307|     54|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
fileutils.c:_Py_atomic_store_int_relaxed:
  461|      1|{ __atomic_store_n(obj, value, __ATOMIC_RELAXED); }
signalmodule.c:_Py_atomic_store_int_relaxed:
  461|    128|{ __atomic_store_n(obj, value, __ATOMIC_RELAXED); }
signalmodule.c:_Py_atomic_load_uintptr_relaxed:
  375|  3.23M|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
signalmodule.c:_Py_atomic_and_uintptr:
  218|    345|{ return __atomic_fetch_and(obj, value, __ATOMIC_SEQ_CST); }
signalmodule.c:_Py_atomic_load_int:
  248|  3.23M|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }
codeobject.c:_Py_atomic_load_ptr_acquire:
  557|   549k|{ return (void *)__atomic_load_n((void * const *)obj, __ATOMIC_ACQUIRE); }
codeobject.c:_Py_atomic_add_uint64:
   55|    490|{ return __atomic_fetch_add(obj, value, __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|  1.43M|{
   76|  1.43M|    return (_Py_atomic_load_uint8(&m->_bits) & _Py_LOCKED) != 0;
  ------------------
  |  |   10|  1.43M|#define _Py_LOCKED      1
  ------------------
   77|  1.43M|}
import.c:_PyMutex_Lock:
   53|     47|{
   54|     47|    uint8_t expected = _Py_UNLOCKED;
  ------------------
  |  |    9|     47|#define _Py_UNLOCKED    0
  ------------------
   55|     47|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_LOCKED)) {
  ------------------
  |  |   10|     47|#define _Py_LOCKED      1
  ------------------
  |  Branch (55:9): [True: 0, False: 47]
  ------------------
   56|      0|        PyMutex_Lock(m);
   57|      0|    }
   58|     47|}
import.c:_PyMutex_Unlock:
   64|     47|{
   65|     47|    uint8_t expected = _Py_LOCKED;
  ------------------
  |  |   10|     47|#define _Py_LOCKED      1
  ------------------
   66|     47|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_UNLOCKED)) {
  ------------------
  |  |    9|     47|#define _Py_UNLOCKED    0
  ------------------
  |  Branch (66:9): [True: 0, False: 47]
  ------------------
   67|      0|        PyMutex_Unlock(m);
   68|      0|    }
   69|     47|}
lock.c:_PyMutex_Lock:
   53|  1.08M|{
   54|  1.08M|    uint8_t expected = _Py_UNLOCKED;
  ------------------
  |  |    9|  1.08M|#define _Py_UNLOCKED    0
  ------------------
   55|  1.08M|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_LOCKED)) {
  ------------------
  |  |   10|  1.08M|#define _Py_LOCKED      1
  ------------------
  |  Branch (55:9): [True: 0, False: 1.08M]
  ------------------
   56|      0|        PyMutex_Lock(m);
   57|      0|    }
   58|  1.08M|}
lock.c:_PyMutex_Unlock:
   64|  1.08M|{
   65|  1.08M|    uint8_t expected = _Py_LOCKED;
  ------------------
  |  |   10|  1.08M|#define _Py_LOCKED      1
  ------------------
   66|  1.08M|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_UNLOCKED)) {
  ------------------
  |  |    9|  1.08M|#define _Py_UNLOCKED    0
  ------------------
  |  Branch (66:9): [True: 0, False: 1.08M]
  ------------------
   67|      0|        PyMutex_Unlock(m);
   68|      0|    }
   69|  1.08M|}
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|   711k|{
   65|   711k|    uint8_t expected = _Py_LOCKED;
  ------------------
  |  |   10|   711k|#define _Py_LOCKED      1
  ------------------
   66|   711k|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_UNLOCKED)) {
  ------------------
  |  |    9|   711k|#define _Py_UNLOCKED    0
  ------------------
  |  Branch (66:9): [True: 0, False: 711k]
  ------------------
   67|      0|        PyMutex_Unlock(m);
   68|      0|    }
   69|   711k|}

listobject.c:PySet_GET_SIZE:
   64|    871|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|    871|    return _PySet_CAST(so)->used;
  ------------------
  |  |   62|    871|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|    871|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (68:12): [True: 871, False: 0]
  |  Branch (68:12): [True: 0, False: 0]
  |  Branch (68:12): [True: 0, False: 0]
  |  Branch (68:12): [True: 0, False: 0]
  ------------------
   69|    871|#endif
   70|    871|}
setobject.c:PySet_GET_SIZE:
   64|  1.76k|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|  1.76k|    return _PySet_CAST(so)->used;
  ------------------
  |  |   62|  1.76k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|  1.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (68:12): [True: 1.76k, False: 0]
  |  Branch (68:12): [True: 0, False: 0]
  |  Branch (68:12): [True: 0, False: 0]
  |  Branch (68:12): [True: 0, False: 0]
  ------------------
   69|  1.76k|#endif
   70|  1.76k|}
_abc.c:PySet_GET_SIZE:
   64|     51|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|     51|    return _PySet_CAST(so)->used;
  ------------------
  |  |   62|     51|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (68:12): [True: 51, False: 0]
  |  Branch (68:12): [True: 0, False: 0]
  |  Branch (68:12): [True: 0, False: 0]
  |  Branch (68:12): [True: 0, False: 0]
  ------------------
   69|     51|#endif
   70|     51|}

call.c:PyTuple_GET_SIZE:
   23|   458k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|   458k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   458k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   458k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 458k, False: 0]
  ------------------
   25|   458k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|   458k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   458k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   458k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|   458k|}
call.c:PyTuple_SET_ITEM:
   33|    200|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    200|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    200|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    200|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 200, False: 0]
  ------------------
   35|    200|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 200, False: 0]
  ------------------
   36|    200|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 200, False: 0]
  ------------------
   37|    200|    tuple->ob_item[index] = value;
   38|    200|}
exceptions.c:PyTuple_GET_SIZE:
   23|   355k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|   355k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   355k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 355k, False: 0]
  ------------------
   25|   355k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|   355k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|   355k|}
listobject.c:PyTuple_GET_SIZE:
   23|    522|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    522|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    522|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    522|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 522, False: 0]
  ------------------
   25|    522|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    522|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    522|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    522|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    522|}
longobject.c:PyTuple_GET_SIZE:
   23|    145|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    145|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    145|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    145|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 145, False: 0]
  ------------------
   25|    145|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    145|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    145|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    145|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    145|}
dictobject.c:PyTuple_SET_ITEM:
   33|    944|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    944|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    944|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    944|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 944, False: 0]
  ------------------
   35|    944|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 944, False: 0]
  ------------------
   36|    944|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 944, False: 0]
  ------------------
   37|    944|    tuple->ob_item[index] = value;
   38|    944|}
dictobject.c:PyTuple_GET_SIZE:
   23|    666|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    666|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    666|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    666|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 666, False: 0]
  ------------------
   25|    666|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    666|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    666|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    666|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    666|}
memoryobject.c:PyTuple_GET_SIZE:
   23|     24|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|     24|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     24|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 24, False: 0]
  ------------------
   25|     24|    return Py_SIZE(tuple);
  ------------------
  |  |  214|     24|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|     24|}
moduleobject.c:PyTuple_GET_SIZE:
   23|     56|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|     56|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     56|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 56, False: 0]
  ------------------
   25|     56|    return Py_SIZE(tuple);
  ------------------
  |  |  214|     56|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|     56|}
sentinelobject.c:PyTuple_GET_SIZE:
   23|      1|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|      1|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|      1|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 1, False: 0]
  ------------------
   25|      1|    return Py_SIZE(tuple);
  ------------------
  |  |  214|      1|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|      1|}
structseq.c:PyTuple_SET_ITEM:
   33|    210|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    210|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    210|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    210|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 210, False: 0]
  ------------------
   35|    210|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 210, False: 0]
  ------------------
   36|    210|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 210, False: 0]
  ------------------
   37|    210|    tuple->ob_item[index] = value;
   38|    210|}
tupleobject.c:PyTuple_GET_SIZE:
   23|  1.04M|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  1.04M|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  1.04M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 1.04M, False: 0]
  ------------------
   25|  1.04M|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  1.04M|#  define Py_SIZE(ob) _Py_SIZE_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  1.04M|}
tupleobject.c:PyTuple_SET_ITEM:
   33|      8|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|      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))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 8, False: 0]
  ------------------
   35|      8|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 8, False: 0]
  ------------------
   36|      8|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 8, False: 0]
  ------------------
   37|      8|    tuple->ob_item[index] = value;
   38|      8|}
typeobject.c:PyTuple_GET_SIZE:
   23|  78.1M|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  78.1M|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  78.1M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  78.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 78.1M, False: 0]
  ------------------
   25|  78.1M|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  78.1M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  78.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  78.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  78.1M|}
typeobject.c:PyTuple_SET_ITEM:
   33|  2.28k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  2.28k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  2.28k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 2.28k, False: 0]
  ------------------
   35|  2.28k|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 2.28k, False: 0]
  ------------------
   36|  2.28k|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 2.28k, False: 0]
  ------------------
   37|  2.28k|    tuple->ob_item[index] = value;
   38|  2.28k|}
unicodeobject.c:PyTuple_GET_SIZE:
   23|    194|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    194|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    194|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    194|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 194, False: 0]
  ------------------
   25|    194|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    194|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    194|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    194|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    194|}
unicodeobject.c:PyTuple_SET_ITEM:
   33|    810|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    810|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    810|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    810|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 810, False: 0]
  ------------------
   35|    810|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 810, False: 0]
  ------------------
   36|    810|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 810, False: 0]
  ------------------
   37|    810|    tuple->ob_item[index] = value;
   38|    810|}
weakrefobject.c:PyTuple_SET_ITEM:
   33|    418|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    418|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    418|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    418|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 418, False: 0]
  ------------------
   35|    418|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 418, False: 0]
  ------------------
   36|    418|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 418, False: 0]
  ------------------
   37|    418|    tuple->ob_item[index] = value;
   38|    418|}
_warnings.c:PyTuple_GET_SIZE:
   23|  2.85M|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  2.85M|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  2.85M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.85M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 2.85M, False: 0]
  ------------------
   25|  2.85M|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  2.85M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.85M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.85M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  2.85M|}
bltinmodule.c:PyTuple_GET_SIZE:
   23|  10.2M|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  10.2M|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  10.2M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  10.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 10.2M, False: 0]
  ------------------
   25|  10.2M|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  10.2M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  10.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  10.2M|}
bltinmodule.c:PyTuple_SET_ITEM:
   33|  96.5k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  96.5k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  96.5k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  96.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 96.5k, False: 0]
  ------------------
   35|  96.5k|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 96.5k, False: 0]
  ------------------
   36|  96.5k|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 96.5k, False: 0]
  ------------------
   37|  96.5k|    tuple->ob_item[index] = value;
   38|  96.5k|}
ceval.c:PyTuple_GET_SIZE:
   23|  82.9M|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  82.9M|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  82.9M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  82.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 82.9M, False: 0]
  ------------------
   25|  82.9M|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  82.9M|#  define Py_SIZE(ob) _Py_SIZE_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  82.9M|}
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))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 2, False: 0]
  ------------------
   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|}
getargs.c:PyTuple_GET_SIZE:
   23|  3.24M|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  3.24M|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  3.24M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.24M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 3.24M, False: 0]
  ------------------
   25|  3.24M|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  3.24M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.24M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.24M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  3.24M|}
import.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))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 6, False: 0]
  ------------------
   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_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))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 6, False: 0]
  ------------------
   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))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 2, False: 0]
  ------------------
   35|      2|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 2, False: 0]
  ------------------
   36|      2|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 2, False: 0]
  ------------------
   37|      2|    tuple->ob_item[index] = value;
   38|      2|}
marshal.c:PyTuple_SET_ITEM:
   33|  38.1k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  38.1k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  38.1k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  38.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 38.1k, False: 0]
  ------------------
   35|  38.1k|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 38.1k, False: 0]
  ------------------
   36|  38.1k|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 38.1k, False: 0]
  ------------------
   37|  38.1k|    tuple->ob_item[index] = value;
   38|  38.1k|}
modsupport.c:PyTuple_SET_ITEM:
   33|    136|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    136|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    136|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    136|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 136, False: 0]
  ------------------
   35|    136|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 136, False: 0]
  ------------------
   36|    136|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 136, False: 0]
  ------------------
   37|    136|    tuple->ob_item[index] = value;
   38|    136|}
specialize.c:PyTuple_GET_SIZE:
   23|    150|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    150|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    150|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    150|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 150, False: 0]
  ------------------
   25|    150|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    150|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    150|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    150|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    150|}
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))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 592, False: 0]
  ------------------
   35|    592|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 592, False: 0]
  ------------------
   36|    592|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 592, False: 0]
  ------------------
   37|    592|    tuple->ob_item[index] = value;
   38|    592|}
_collectionsmodule.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))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 25, False: 0]
  ------------------
   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|}
fileio.c:PyTuple_GET_SIZE:
   23|     33|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|     33|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     33|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 33, False: 0]
  ------------------
   25|     33|    return Py_SIZE(tuple);
  ------------------
  |  |  214|     33|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|     33|}
bufferedio.c:PyTuple_GET_SIZE:
   23|     33|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|     33|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     33|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 33, False: 0]
  ------------------
   25|     33|    return Py_SIZE(tuple);
  ------------------
  |  |  214|     33|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|     33|}
textio.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))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 12, False: 0]
  ------------------
   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|}
itertoolsmodule.c:PyTuple_SET_ITEM:
   33|    291|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    291|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    291|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    291|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 291, False: 0]
  ------------------
   35|    291|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 291, False: 0]
  ------------------
   36|    291|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 291, False: 0]
  ------------------
   37|    291|    tuple->ob_item[index] = value;
   38|    291|}
itertoolsmodule.c:PyTuple_GET_SIZE:
   23|    462|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    462|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    462|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    462|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 462, False: 0]
  ------------------
   25|    462|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    462|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    462|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    462|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    462|}
sre.c:PyTuple_GET_SIZE:
   23|     46|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|     46|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     46|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 46, False: 0]
  ------------------
   25|     46|    return Py_SIZE(tuple);
  ------------------
  |  |  214|     46|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|     46|}
_abc.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))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 1.02k, False: 0]
  ------------------
   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|}
_functoolsmodule.c:PyTuple_GET_SIZE:
   23|      3|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|      3|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|      3|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 3, False: 0]
  ------------------
   25|      3|    return Py_SIZE(tuple);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|      3|}
_functoolsmodule.c:PyTuple_SET_ITEM:
   33|      3|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|      3|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|      3|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 3, False: 0]
  ------------------
   35|      3|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 3, False: 0]
  ------------------
   36|      3|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 3, False: 0]
  ------------------
   37|      3|    tuple->ob_item[index] = value;
   38|      3|}
getpath.c:PyTuple_GET_SIZE:
   23|     24|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|     24|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     24|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 24, False: 0]
  ------------------
   25|     24|    return Py_SIZE(tuple);
  ------------------
  |  |  214|     24|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|     24|}
abstract.c:PyTuple_GET_SIZE:
   23|  9.23k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  9.23k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  9.23k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  9.23k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 9.23k, False: 0]
  ------------------
   25|  9.23k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  9.23k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  9.23k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.23k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  9.23k|}
bytearrayobject.c:PyTuple_GET_SIZE:
   23|   161k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|   161k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   161k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   161k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 161k, False: 0]
  ------------------
   25|   161k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|   161k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   161k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   161k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|   161k|}
codeobject.c:PyTuple_SET_ITEM:
   33|     39|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|     39|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     39|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     39|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 39, False: 0]
  ------------------
   35|     39|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 39, False: 0]
  ------------------
   36|     39|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 39, False: 0]
  ------------------
   37|     39|    tuple->ob_item[index] = value;
   38|     39|}
codeobject.c:PyTuple_GET_SIZE:
   23|  20.2k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  20.2k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  20.2k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  20.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 20.2k, False: 0]
  ------------------
   25|  20.2k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  20.2k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  20.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  20.2k|}
descrobject.c:PyTuple_GET_SIZE:
   23|  2.46k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  2.46k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  2.46k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 2.46k, False: 0]
  ------------------
   25|  2.46k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  2.46k|#  define Py_SIZE(ob) _Py_SIZE_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  2.46k|}
enumobject.c:PyTuple_SET_ITEM:
   33|  11.4M|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  11.4M|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  11.4M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  11.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 11.4M, False: 0]
  ------------------
   35|  11.4M|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 11.4M, False: 0]
  ------------------
   36|  11.4M|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 11.4M, False: 0]
  ------------------
   37|  11.4M|    tuple->ob_item[index] = value;
   38|  11.4M|}
frameobject.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))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 2, False: 0]
  ------------------
   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|}
assemble.c:PyTuple_SET_ITEM:
   33|      3|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|      3|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|      3|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 3, False: 0]
  ------------------
   35|      3|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 3, False: 0]
  ------------------
   36|      3|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 3, False: 0]
  ------------------
   37|      3|    tuple->ob_item[index] = value;
   38|      3|}

listobject.c:PyUnicode_GET_LENGTH:
  296|  16.5k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|  16.5k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  16.5k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  16.5k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  16.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 16.5k, False: 0]
  ------------------
  298|  16.5k|}
listobject.c:_PyUnicode_DATA:
  278|  10.9k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  10.9k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  10.9k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 10.9k, False: 0]
  |  |  ------------------
  ------------------
  280|  10.9k|        return _PyUnicode_COMPACT_DATA(op);
  281|  10.9k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  10.9k|}
listobject.c:PyUnicode_IS_COMPACT:
  231|  10.9k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|  10.9k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  10.9k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  10.9k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  10.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 10.9k, False: 0]
  ------------------
  233|  10.9k|}
listobject.c:_PyUnicode_COMPACT_DATA:
  261|  10.9k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  10.9k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  10.9k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 10.9k, False: 0]
  |  |  ------------------
  ------------------
  263|  10.9k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  21.8k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 10.9k, False: 0]
  |  |  ------------------
  ------------------
  264|  10.9k|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  266|      0|}
listobject.c:PyUnicode_IS_ASCII:
  224|  10.9k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|  10.9k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  10.9k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  10.9k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  10.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 10.9k, False: 0]
  ------------------
  226|  10.9k|}
longobject.c:_PyUnicode_DATA:
  278|  2.87M|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  2.87M|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  2.87M|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.87M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.87M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 2.87M, False: 0]
  |  |  ------------------
  ------------------
  280|  2.87M|        return _PyUnicode_COMPACT_DATA(op);
  281|  2.87M|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  2.87M|}
longobject.c:PyUnicode_IS_COMPACT:
  231|  2.87M|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|  2.87M|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  2.87M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  2.87M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.87M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 2.87M, False: 0]
  ------------------
  233|  2.87M|}
longobject.c:_PyUnicode_COMPACT_DATA:
  261|  2.87M|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  2.87M|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  2.87M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.87M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.87M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 2.87M, False: 0]
  |  |  ------------------
  ------------------
  263|  2.87M|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  5.75M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 2.87M, False: 0]
  |  |  ------------------
  ------------------
  264|  2.87M|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  266|      0|}
longobject.c:PyUnicode_IS_ASCII:
  224|  3.01M|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|  3.01M|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  3.01M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  3.01M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 3.01M, False: 0]
  ------------------
  226|  3.01M|}
dictobject.c:PyUnstable_Unicode_GET_CACHED_HASH:
  303|  40.1M|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|  40.1M|    return _PyASCIIObject_CAST(op)->hash;
  ------------------
  |  |  186|  40.1M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  40.1M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  40.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (307:12): [True: 40.1M, False: 0]
  ------------------
  308|  40.1M|#endif
  309|  40.1M|}
dictobject.c:PyUnicode_GET_LENGTH:
  296|  1.53M|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|  1.53M|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  1.53M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.53M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.53M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 1.53M, False: 0]
  ------------------
  298|  1.53M|}
dictobject.c:_PyUnicode_DATA:
  278|  1.53M|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  1.53M|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  1.53M|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.53M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.53M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 1.53M, False: 0]
  |  |  ------------------
  ------------------
  280|  1.53M|        return _PyUnicode_COMPACT_DATA(op);
  281|  1.53M|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  1.53M|}
dictobject.c:PyUnicode_IS_COMPACT:
  231|  1.53M|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|  1.53M|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  1.53M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.53M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.53M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 1.53M, False: 0]
  ------------------
  233|  1.53M|}
dictobject.c:_PyUnicode_COMPACT_DATA:
  261|  1.53M|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  1.53M|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  1.53M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.53M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.53M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 1.53M, False: 0]
  |  |  ------------------
  ------------------
  263|  1.53M|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  3.06M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 1.53M, False: 0]
  |  |  ------------------
  ------------------
  264|  1.53M|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  266|      0|}
dictobject.c:PyUnicode_IS_ASCII:
  224|  1.53M|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|  1.53M|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  1.53M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.53M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.53M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 1.53M, False: 0]
  ------------------
  226|  1.53M|}
object.c:PyUnicode_IS_ASCII:
  224|    271|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|    271|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|    271|    (assert(PyUnicode_Check(op)), \
  |  |  187|    271|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    271|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 271, False: 0]
  ------------------
  226|    271|}
setobject.c:PyUnicode_GET_LENGTH:
  296|     56|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|     56|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|     56|    (assert(PyUnicode_Check(op)), \
  |  |  187|     56|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 56, False: 0]
  ------------------
  298|     56|}
setobject.c:_PyUnicode_DATA:
  278|     56|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|     56|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|     56|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 56, False: 0]
  |  |  ------------------
  ------------------
  280|     56|        return _PyUnicode_COMPACT_DATA(op);
  281|     56|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|     56|}
setobject.c:PyUnicode_IS_COMPACT:
  231|     56|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|     56|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|     56|    (assert(PyUnicode_Check(op)), \
  |  |  187|     56|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 56, False: 0]
  ------------------
  233|     56|}
setobject.c:_PyUnicode_COMPACT_DATA:
  261|     56|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|     56|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|     56|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 56, False: 0]
  |  |  ------------------
  ------------------
  263|     56|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|    112|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 56, False: 0]
  |  |  ------------------
  ------------------
  264|     56|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  266|      0|}
setobject.c:PyUnicode_IS_ASCII:
  224|     56|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|     56|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|     56|    (assert(PyUnicode_Check(op)), \
  |  |  187|     56|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 56, False: 0]
  ------------------
  226|     56|}
typeobject.c:PyUnstable_Unicode_GET_CACHED_HASH:
  303|  36.9k|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|  36.9k|    return _PyASCIIObject_CAST(op)->hash;
  ------------------
  |  |  186|  36.9k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  36.9k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  36.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (307:12): [True: 36.9k, False: 0]
  ------------------
  308|  36.9k|#endif
  309|  36.9k|}
typeobject.c:PyUnicode_GET_LENGTH:
  296|   362k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|   362k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|   362k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   362k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   362k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 362k, False: 0]
  ------------------
  298|   362k|}
typeobject.c:PyUnicode_CHECK_INTERNED:
  207|  2.53k|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|  2.53k|    return _PyASCIIObject_CAST(op)->state.interned;
  ------------------
  |  |  186|  2.53k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  2.53k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.53k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (211:12): [True: 2.53k, False: 0]
  ------------------
  212|  2.53k|#endif
  213|  2.53k|}
typeobject.c:_PyUnicode_DATA:
  278|    162|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|    162|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|    162|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    162|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    162|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 162, False: 0]
  |  |  ------------------
  ------------------
  280|    162|        return _PyUnicode_COMPACT_DATA(op);
  281|    162|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|    162|}
typeobject.c:PyUnicode_IS_COMPACT:
  231|    162|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|    162|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|    162|    (assert(PyUnicode_Check(op)), \
  |  |  187|    162|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    162|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 162, False: 0]
  ------------------
  233|    162|}
typeobject.c:_PyUnicode_COMPACT_DATA:
  261|    162|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|    162|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|    162|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    162|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    162|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 162, False: 0]
  |  |  ------------------
  ------------------
  263|    162|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|    324|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 162, False: 0]
  |  |  ------------------
  ------------------
  264|    162|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  266|      0|}
typeobject.c:PyUnicode_IS_ASCII:
  224|    162|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|    162|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|    162|    (assert(PyUnicode_Check(op)), \
  |  |  187|    162|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    162|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 162, False: 0]
  ------------------
  226|    162|}
unicode_format.c:PyUnicode_IS_ASCII:
  224|  1.34M|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|  1.34M|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  1.34M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.34M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.34M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 1.34M, False: 0]
  ------------------
  226|  1.34M|}
unicode_format.c:_PyUnicode_DATA:
  278|  1.34M|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  1.34M|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  1.34M|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.34M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.34M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 1.34M, False: 0]
  |  |  ------------------
  ------------------
  280|  1.34M|        return _PyUnicode_COMPACT_DATA(op);
  281|  1.34M|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  1.34M|}
unicode_format.c:PyUnicode_IS_COMPACT:
  231|  1.34M|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|  1.34M|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  1.34M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.34M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.34M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 1.34M, False: 0]
  ------------------
  233|  1.34M|}
unicode_format.c:_PyUnicode_COMPACT_DATA:
  261|  1.34M|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  1.34M|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  1.34M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.34M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.34M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 1.34M, False: 0]
  |  |  ------------------
  ------------------
  263|  1.34M|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  2.69M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 1.34M, False: 0]
  |  |  ------------------
  ------------------
  264|  1.34M|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  266|      0|}
unicode_format.c:PyUnicode_GET_LENGTH:
  296|  1.61M|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|  1.61M|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  1.61M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.61M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.61M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 1.61M, False: 0]
  ------------------
  298|  1.61M|}
unicode_format.c:PyUnicode_READ:
  342|  53.4M|{
  343|  53.4M|    assert(index >= 0);
  ------------------
  |  Branch (343:5): [True: 53.4M, False: 0]
  ------------------
  344|  53.4M|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (344:9): [True: 53.4M, False: 0]
  ------------------
  345|  53.4M|        return _Py_STATIC_CAST(const Py_UCS1*, data)[index];
  ------------------
  |  |   34|  53.4M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  346|  53.4M|    }
  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);
  ------------------
  |  Branch (350:5): [True: 0, False: 0]
  ------------------
  351|      0|    return _Py_STATIC_CAST(const Py_UCS4*, data)[index];
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  352|      0|}
unicode_writer.c:_PyUnicode_DATA:
  278|  1.36M|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  1.36M|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  1.36M|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.36M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.36M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 1.36M, False: 0]
  |  |  ------------------
  ------------------
  280|  1.36M|        return _PyUnicode_COMPACT_DATA(op);
  281|  1.36M|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  1.36M|}
unicode_writer.c:PyUnicode_IS_COMPACT:
  231|  1.36M|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|  1.36M|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  1.36M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.36M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.36M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 1.36M, False: 0]
  ------------------
  233|  1.36M|}
unicode_writer.c:_PyUnicode_COMPACT_DATA:
  261|  1.36M|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  1.36M|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  1.36M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.36M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.36M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 1.36M, False: 6]
  |  |  ------------------
  ------------------
  263|  1.36M|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  2.72M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 1.36M, False: 0]
  |  |  ------------------
  ------------------
  264|  1.36M|    }
  265|      6|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|     12|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 6, False: 0]
  |  |  ------------------
  ------------------
  266|      6|}
unicode_writer.c:PyUnicode_IS_ASCII:
  224|  4.60M|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|  4.60M|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  4.60M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  4.60M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  4.60M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 4.60M, False: 0]
  ------------------
  226|  4.60M|}
unicode_writer.c:PyUnicode_GET_LENGTH:
  296|  5.93M|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|  5.93M|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  5.93M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  5.93M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  5.93M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 5.93M, False: 0]
  ------------------
  298|  5.93M|}
unicode_writer.c:PyUnicode_MAX_CHAR_VALUE:
  387|  3.23M|{
  388|  3.23M|    int kind;
  389|       |
  390|  3.23M|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  3.23M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 3.23M, False: 6]
  |  |  ------------------
  ------------------
  391|  3.23M|        return 0x7fU;
  392|  3.23M|    }
  393|       |
  394|      6|    kind = PyUnicode_KIND(op);
  ------------------
  |  |  258|      6|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|     12|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 6, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  395|      6|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (395:9): [True: 4, False: 2]
  ------------------
  396|      4|       return 0xffU;
  397|      4|    }
  398|      2|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (398:9): [True: 2, False: 0]
  ------------------
  399|      2|        return 0xffffU;
  400|      2|    }
  401|      2|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (401:5): [True: 0, False: 0]
  ------------------
  402|      0|    return 0x10ffffU;
  403|      0|}
unicodeobject.c:PyUnicode_CHECK_INTERNED:
  207|  17.6M|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|  17.6M|    return _PyASCIIObject_CAST(op)->state.interned;
  ------------------
  |  |  186|  17.6M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  17.6M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  17.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (211:12): [True: 17.6M, False: 0]
  ------------------
  212|  17.6M|#endif
  213|  17.6M|}
unicodeobject.c:_PyUnicode_DATA:
  278|   483M|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|   483M|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|   483M|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   483M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   483M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 483M, False: 7]
  |  |  ------------------
  ------------------
  280|   483M|        return _PyUnicode_COMPACT_DATA(op);
  281|   483M|    }
  282|      7|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|   483M|}
unicodeobject.c:_PyUnicode_COMPACT_DATA:
  261|   483M|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|   483M|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|   483M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   483M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   483M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 468M, False: 14.3M]
  |  |  ------------------
  ------------------
  263|   468M|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|   937M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 468M, False: 0]
  |  |  ------------------
  ------------------
  264|   468M|    }
  265|  14.3M|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|  28.6M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 14.3M, False: 0]
  |  |  ------------------
  ------------------
  266|  14.3M|}
unicodeobject.c:_PyUnicode_NONCOMPACT_DATA:
  268|      7|static inline void* _PyUnicode_NONCOMPACT_DATA(PyObject *op) {
  269|      7|    void *data;
  270|      7|    assert(!PyUnicode_IS_COMPACT(op));
  ------------------
  |  Branch (270:5): [True: 7, False: 0]
  ------------------
  271|      7|    data = _PyUnicodeObject_CAST(op)->data.any;
  ------------------
  |  |  192|      7|    (assert(PyUnicode_Check(op)), \
  |  |  193|      7|     _Py_CAST(PyUnicodeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (271:12): [True: 7, False: 0]
  ------------------
  272|      7|    assert(data != NULL);
  ------------------
  |  Branch (272:5): [True: 7, False: 0]
  ------------------
  273|      7|    return data;
  274|      7|}
unicodeobject.c:PyUnicode_READ:
  342|  23.0G|{
  343|  23.0G|    assert(index >= 0);
  ------------------
  |  Branch (343:5): [True: 23.0G, False: 0]
  ------------------
  344|  23.0G|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (344:9): [True: 23.0G, False: 1.02k]
  ------------------
  345|  23.0G|        return _Py_STATIC_CAST(const Py_UCS1*, data)[index];
  ------------------
  |  |   34|  23.0G|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  346|  23.0G|    }
  347|  1.02k|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (347:9): [True: 1.02k, False: 0]
  ------------------
  348|  1.02k|        return _Py_STATIC_CAST(const Py_UCS2*, data)[index];
  ------------------
  |  |   34|  1.02k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  349|  1.02k|    }
  350|  1.02k|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (350:5): [True: 0, False: 0]
  ------------------
  351|      0|    return _Py_STATIC_CAST(const Py_UCS4*, data)[index];
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  352|      0|}
unicodeobject.c:PyUnicode_GET_LENGTH:
  296|   406M|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|   406M|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|   406M|    (assert(PyUnicode_Check(op)), \
  |  |  187|   406M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   406M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 406M, False: 0]
  ------------------
  298|   406M|}
unicodeobject.c:PyUnicode_IS_COMPACT:
  231|   509M|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|   509M|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|   509M|    (assert(PyUnicode_Check(op)), \
  |  |  187|   509M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   509M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 509M, False: 0]
  ------------------
  233|   509M|}
unicodeobject.c:PyUnicode_IS_ASCII:
  224|   509M|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|   509M|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|   509M|    (assert(PyUnicode_Check(op)), \
  |  |  187|   509M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   509M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 509M, False: 0]
  ------------------
  226|   509M|}
unicodeobject.c:PyUnicode_IS_COMPACT_ASCII:
  238|  11.4M|static inline int PyUnicode_IS_COMPACT_ASCII(PyObject *op) {
  239|  22.8M|    return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  186|  11.4M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  11.4M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  11.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
                  return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  234|  10.3M|#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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 10.3M, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (239:13): [True: 11.4M, False: 0]
  |  Branch (239:13): [True: 10.3M, False: 1.10M]
  ------------------
  240|  11.4M|}
unicodeobject.c:PyUnicode_WRITE:
  318|  6.74M|{
  319|  6.74M|    assert(index >= 0);
  ------------------
  |  Branch (319:5): [True: 6.74M, False: 0]
  ------------------
  320|  6.74M|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (320:9): [True: 6.74M, False: 4]
  ------------------
  321|  6.74M|        assert(value <= 0xffU);
  ------------------
  |  Branch (321:9): [True: 6.74M, False: 0]
  ------------------
  322|  6.74M|        _Py_STATIC_CAST(Py_UCS1*, data)[index] = _Py_STATIC_CAST(Py_UCS1, value);
  ------------------
  |  |   34|  6.74M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
                      _Py_STATIC_CAST(Py_UCS1*, data)[index] = _Py_STATIC_CAST(Py_UCS1, value);
  ------------------
  |  |   34|  6.74M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  323|  6.74M|    }
  324|      4|    else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (324:14): [True: 4, False: 0]
  ------------------
  325|      4|        assert(value <= 0xffffU);
  ------------------
  |  Branch (325:9): [True: 4, False: 0]
  ------------------
  326|      4|        _Py_STATIC_CAST(Py_UCS2*, data)[index] = _Py_STATIC_CAST(Py_UCS2, value);
  ------------------
  |  |   34|      4|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
                      _Py_STATIC_CAST(Py_UCS2*, data)[index] = _Py_STATIC_CAST(Py_UCS2, value);
  ------------------
  |  |   34|      4|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  327|      4|    }
  328|      0|    else {
  329|      0|        assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (329:9): [True: 0, False: 0]
  ------------------
  330|      0|        assert(value <= 0x10ffffU);
  ------------------
  |  Branch (330:9): [True: 0, False: 0]
  ------------------
  331|      0|        _Py_STATIC_CAST(Py_UCS4*, data)[index] = value;
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  332|      0|    }
  333|  6.74M|}
unicodeobject.c:PyUnstable_Unicode_GET_CACHED_HASH:
  303|  25.6M|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|  25.6M|    return _PyASCIIObject_CAST(op)->hash;
  ------------------
  |  |  186|  25.6M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  25.6M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  25.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (307:12): [True: 25.6M, False: 0]
  ------------------
  308|  25.6M|#endif
  309|  25.6M|}
unicodeobject.c:PyUnicode_MAX_CHAR_VALUE:
  387|  5.08M|{
  388|  5.08M|    int kind;
  389|       |
  390|  5.08M|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  5.08M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 5.07M, False: 10.4k]
  |  |  ------------------
  ------------------
  391|  5.07M|        return 0x7fU;
  392|  5.07M|    }
  393|       |
  394|  10.4k|    kind = PyUnicode_KIND(op);
  ------------------
  |  |  258|  10.4k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  20.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 10.4k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  395|  10.4k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (395:9): [True: 10.4k, False: 0]
  ------------------
  396|  10.4k|       return 0xffU;
  397|  10.4k|    }
  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);
  ------------------
  |  Branch (401:5): [True: 0, False: 0]
  ------------------
  402|      0|    return 0x10ffffU;
  403|      0|}
unicodeobject.c:Py_UNICODE_ISSPACE:
  742|     52|static inline int Py_UNICODE_ISSPACE(Py_UCS4 ch) {
  743|     52|    if (ch < 128) {
  ------------------
  |  Branch (743:9): [True: 52, False: 0]
  ------------------
  744|     52|        return _Py_ascii_whitespace[ch];
  745|     52|    }
  746|      0|    return _PyUnicode_IsWhitespace(ch);
  747|     52|}
bltinmodule.c:PyUnicode_GET_LENGTH:
  296|  14.9M|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|  14.9M|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  14.9M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  14.9M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  14.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 14.9M, False: 0]
  ------------------
  298|  14.9M|}
bltinmodule.c:PyUnicode_READ_CHAR:
  363|  7.47M|{
  364|  7.47M|    int kind;
  365|       |
  366|  7.47M|    assert(index >= 0);
  ------------------
  |  Branch (366:5): [True: 7.47M, False: 0]
  ------------------
  367|       |    // Tolerate reading the NUL character at str[len(str)]
  368|  7.47M|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (368:5): [True: 7.47M, False: 0]
  ------------------
  369|       |
  370|  7.47M|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|  7.47M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  14.9M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 7.47M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  371|  7.47M|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (371:9): [True: 7.47M, False: 0]
  ------------------
  372|  7.47M|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  291|  7.47M|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  7.47M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  373|  7.47M|    }
  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);
  ------------------
  |  Branch (377:5): [True: 0, False: 0]
  ------------------
  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|}
bltinmodule.c:_PyUnicode_DATA:
  278|  7.47M|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  7.47M|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  7.47M|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.47M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.47M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 7.47M, False: 0]
  |  |  ------------------
  ------------------
  280|  7.47M|        return _PyUnicode_COMPACT_DATA(op);
  281|  7.47M|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  7.47M|}
bltinmodule.c:PyUnicode_IS_COMPACT:
  231|  7.47M|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|  7.47M|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  7.47M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  7.47M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  7.47M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 7.47M, False: 0]
  ------------------
  233|  7.47M|}
bltinmodule.c:_PyUnicode_COMPACT_DATA:
  261|  7.47M|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  7.47M|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  7.47M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.47M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.47M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 6.28M, False: 1.18M]
  |  |  ------------------
  ------------------
  263|  6.28M|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  12.5M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 6.28M, False: 0]
  |  |  ------------------
  ------------------
  264|  6.28M|    }
  265|  1.18M|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|  2.36M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 1.18M, False: 0]
  |  |  ------------------
  ------------------
  266|  1.18M|}
bltinmodule.c:PyUnicode_IS_ASCII:
  224|  7.47M|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|  7.47M|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  7.47M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  7.47M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  7.47M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 7.47M, False: 0]
  ------------------
  226|  7.47M|}
ceval.c:PyUnicode_IS_COMPACT_ASCII:
  238|  17.4k|static inline int PyUnicode_IS_COMPACT_ASCII(PyObject *op) {
  239|  34.8k|    return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  186|  17.4k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  17.4k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  17.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
                  return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  234|  15.1k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 15.1k, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (239:13): [True: 17.4k, False: 0]
  |  Branch (239:13): [True: 15.1k, False: 2.22k]
  ------------------
  240|  17.4k|}
ceval.c:PyUnicode_IS_COMPACT:
  231|  32.9M|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|  32.9M|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  32.9M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  32.9M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  32.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 32.9M, False: 0]
  ------------------
  233|  32.9M|}
ceval.c:PyUnicode_GET_LENGTH:
  296|  65.9M|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|  65.9M|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  65.9M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  65.9M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  65.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 65.9M, False: 0]
  ------------------
  298|  65.9M|}
ceval.c:_PyUnicode_DATA:
  278|  32.9M|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  32.9M|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  32.9M|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  32.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 32.9M, False: 0]
  |  |  ------------------
  ------------------
  280|  32.9M|        return _PyUnicode_COMPACT_DATA(op);
  281|  32.9M|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  32.9M|}
ceval.c:_PyUnicode_COMPACT_DATA:
  261|  32.9M|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  32.9M|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  32.9M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  32.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 11.5M, False: 21.4M]
  |  |  ------------------
  ------------------
  263|  11.5M|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  23.0M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 11.5M, False: 0]
  |  |  ------------------
  ------------------
  264|  11.5M|    }
  265|  21.4M|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|  42.8M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 21.4M, False: 0]
  |  |  ------------------
  ------------------
  266|  21.4M|}
ceval.c:PyUnicode_IS_ASCII:
  224|  32.9M|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|  32.9M|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  32.9M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  32.9M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  32.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 32.9M, False: 0]
  ------------------
  226|  32.9M|}
ceval.c:PyUnicode_READ_CHAR:
  363|  32.9M|{
  364|  32.9M|    int kind;
  365|       |
  366|  32.9M|    assert(index >= 0);
  ------------------
  |  Branch (366:5): [True: 32.9M, False: 0]
  ------------------
  367|       |    // Tolerate reading the NUL character at str[len(str)]
  368|  32.9M|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (368:5): [True: 32.9M, False: 0]
  ------------------
  369|       |
  370|  32.9M|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|  32.9M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  65.9M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 32.9M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  371|  32.9M|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (371:9): [True: 32.9M, False: 0]
  ------------------
  372|  32.9M|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  291|  32.9M|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  32.9M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  373|  32.9M|    }
  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);
  ------------------
  |  Branch (377:5): [True: 0, False: 0]
  ------------------
  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|}
import.c:PyUnicode_GET_LENGTH:
  296|  4.06M|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|  4.06M|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  4.06M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  4.06M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  4.06M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 4.06M, False: 0]
  ------------------
  298|  4.06M|}
intrinsics.c:PyUnicode_READ_CHAR:
  363|  1.66k|{
  364|  1.66k|    int kind;
  365|       |
  366|  1.66k|    assert(index >= 0);
  ------------------
  |  Branch (366:5): [True: 1.66k, False: 0]
  ------------------
  367|       |    // Tolerate reading the NUL character at str[len(str)]
  368|  1.66k|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (368:5): [True: 1.66k, False: 0]
  ------------------
  369|       |
  370|  1.66k|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|  1.66k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  3.33k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 1.66k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  371|  1.66k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (371:9): [True: 1.66k, False: 0]
  ------------------
  372|  1.66k|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  291|  1.66k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  1.66k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  373|  1.66k|    }
  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);
  ------------------
  |  Branch (377:5): [True: 0, False: 0]
  ------------------
  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_GET_LENGTH:
  296|  1.66k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|  1.66k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  1.66k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.66k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.66k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 1.66k, False: 0]
  ------------------
  298|  1.66k|}
intrinsics.c:_PyUnicode_DATA:
  278|  1.66k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  1.66k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  1.66k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.66k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.66k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 1.66k, False: 0]
  |  |  ------------------
  ------------------
  280|  1.66k|        return _PyUnicode_COMPACT_DATA(op);
  281|  1.66k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  1.66k|}
intrinsics.c:PyUnicode_IS_COMPACT:
  231|  1.66k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|  1.66k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  1.66k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.66k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.66k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 1.66k, False: 0]
  ------------------
  233|  1.66k|}
intrinsics.c:_PyUnicode_COMPACT_DATA:
  261|  1.66k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  1.66k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  1.66k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.66k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.66k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 1.66k, False: 0]
  |  |  ------------------
  ------------------
  263|  1.66k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  3.33k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 1.66k, False: 0]
  |  |  ------------------
  ------------------
  264|  1.66k|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  266|      0|}
intrinsics.c:PyUnicode_IS_ASCII:
  224|  1.66k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|  1.66k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  1.66k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.66k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.66k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 1.66k, False: 0]
  ------------------
  226|  1.66k|}
specialize.c:PyUnicode_IS_COMPACT_ASCII:
  238|  60.4k|static inline int PyUnicode_IS_COMPACT_ASCII(PyObject *op) {
  239|   120k|    return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  186|  60.4k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  60.4k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  60.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
                  return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  234|     56|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 56, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (239:13): [True: 60.4k, False: 0]
  |  Branch (239:13): [True: 56, False: 60.3k]
  ------------------
  240|  60.4k|}
specialize.c:PyUnicode_IS_COMPACT:
  231|     56|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|     56|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|     56|    (assert(PyUnicode_Check(op)), \
  |  |  187|     56|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 56, False: 0]
  ------------------
  233|     56|}
symtable.c:PyUnicode_GET_LENGTH:
  296|     61|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|     61|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|     61|    (assert(PyUnicode_Check(op)), \
  |  |  187|     61|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     61|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 61, False: 0]
  ------------------
  298|     61|}
symtable.c:PyUnicode_READ_CHAR:
  363|     61|{
  364|     61|    int kind;
  365|       |
  366|     61|    assert(index >= 0);
  ------------------
  |  Branch (366:5): [True: 61, False: 0]
  ------------------
  367|       |    // Tolerate reading the NUL character at str[len(str)]
  368|     61|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (368:5): [True: 61, False: 0]
  ------------------
  369|       |
  370|     61|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|     61|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    122|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 61, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  371|     61|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (371:9): [True: 61, False: 0]
  ------------------
  372|     61|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  291|     61|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     61|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  373|     61|    }
  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);
  ------------------
  |  Branch (377:5): [True: 0, False: 0]
  ------------------
  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|     61|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|     61|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|     61|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     61|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     61|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 61, False: 0]
  |  |  ------------------
  ------------------
  280|     61|        return _PyUnicode_COMPACT_DATA(op);
  281|     61|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|     61|}
symtable.c:PyUnicode_IS_COMPACT:
  231|     61|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|     61|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|     61|    (assert(PyUnicode_Check(op)), \
  |  |  187|     61|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     61|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 61, False: 0]
  ------------------
  233|     61|}
symtable.c:_PyUnicode_COMPACT_DATA:
  261|     61|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|     61|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|     61|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     61|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     61|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 61, False: 0]
  |  |  ------------------
  ------------------
  263|     61|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|    122|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 61, False: 0]
  |  |  ------------------
  ------------------
  264|     61|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  266|      0|}
symtable.c:PyUnicode_IS_ASCII:
  224|     61|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|     61|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|     61|    (assert(PyUnicode_Check(op)), \
  |  |  187|     61|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     61|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 61, False: 0]
  ------------------
  226|     61|}
fileutils.c:Py_UNICODE_IS_SURROGATE:
   16|    700|static inline int Py_UNICODE_IS_SURROGATE(Py_UCS4 ch) {
   17|    700|    return (0xD800 <= ch && ch <= 0xDFFF);
  ------------------
  |  Branch (17:13): [True: 0, False: 700]
  |  Branch (17:29): [True: 0, False: 0]
  ------------------
   18|    700|}
textio.c:PyUnicode_GET_LENGTH:
  296|  2.14M|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|  2.14M|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  2.14M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  2.14M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.14M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 2.14M, False: 0]
  ------------------
  298|  2.14M|}
textio.c:PyUnicode_IS_ASCII:
  224|  1.06M|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|  1.06M|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  1.06M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.06M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.06M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 1.06M, False: 0]
  ------------------
  226|  1.06M|}
textio.c:_PyUnicode_DATA:
  278|   357k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|   357k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|   357k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   357k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   357k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 357k, False: 0]
  |  |  ------------------
  ------------------
  280|   357k|        return _PyUnicode_COMPACT_DATA(op);
  281|   357k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|   357k|}
textio.c:PyUnicode_IS_COMPACT:
  231|   357k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|   357k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|   357k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   357k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   357k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 357k, False: 0]
  ------------------
  233|   357k|}
textio.c:_PyUnicode_COMPACT_DATA:
  261|   357k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|   357k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|   357k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   357k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   357k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 357k, False: 0]
  |  |  ------------------
  ------------------
  263|   357k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|   715k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 357k, False: 0]
  |  |  ------------------
  ------------------
  264|   357k|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  266|      0|}
textio.c:PyUnicode_READ_CHAR:
  363|     11|{
  364|     11|    int kind;
  365|       |
  366|     11|    assert(index >= 0);
  ------------------
  |  Branch (366:5): [True: 11, False: 0]
  ------------------
  367|       |    // Tolerate reading the NUL character at str[len(str)]
  368|     11|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (368:5): [True: 11, False: 0]
  ------------------
  369|       |
  370|     11|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|     11|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|     22|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 11, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  371|     11|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (371:9): [True: 11, False: 0]
  ------------------
  372|     11|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  291|     11|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     11|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  373|     11|    }
  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);
  ------------------
  |  Branch (377:5): [True: 0, False: 0]
  ------------------
  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|}
sre.c:PyUnicode_GET_LENGTH:
  296|     12|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|     12|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|     12|    (assert(PyUnicode_Check(op)), \
  |  |  187|     12|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 12, False: 0]
  ------------------
  298|     12|}
sre.c:_PyUnicode_DATA:
  278|     12|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|     12|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|     12|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 12, False: 0]
  |  |  ------------------
  ------------------
  280|     12|        return _PyUnicode_COMPACT_DATA(op);
  281|     12|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|     12|}
sre.c:PyUnicode_IS_COMPACT:
  231|     12|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|     12|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|     12|    (assert(PyUnicode_Check(op)), \
  |  |  187|     12|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 12, False: 0]
  ------------------
  233|     12|}
sre.c:_PyUnicode_COMPACT_DATA:
  261|     12|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|     12|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|     12|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 12, False: 0]
  |  |  ------------------
  ------------------
  263|     12|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|     24|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 12, False: 0]
  |  |  ------------------
  ------------------
  264|     12|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  266|      0|}
sre.c:PyUnicode_IS_ASCII:
  224|     12|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|     12|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|     12|    (assert(PyUnicode_Check(op)), \
  |  |  187|     12|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 12, False: 0]
  ------------------
  226|     12|}
getpath.c:PyUnicode_GET_LENGTH:
  296|     12|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|     12|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|     12|    (assert(PyUnicode_Check(op)), \
  |  |  187|     12|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 12, False: 0]
  ------------------
  298|     12|}
codeobject.c:PyUnicode_IS_ASCII:
  224|  19.3k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|  19.3k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  19.3k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  19.3k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  19.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 19.3k, False: 0]
  ------------------
  226|  19.3k|}
codeobject.c:_PyUnicode_DATA:
  278|  9.69k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  9.69k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  9.69k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.69k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 9.69k, False: 0]
  |  |  ------------------
  ------------------
  280|  9.69k|        return _PyUnicode_COMPACT_DATA(op);
  281|  9.69k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  9.69k|}
codeobject.c:PyUnicode_IS_COMPACT:
  231|  9.69k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|  9.69k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  9.69k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  9.69k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  9.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 9.69k, False: 0]
  ------------------
  233|  9.69k|}
codeobject.c:_PyUnicode_COMPACT_DATA:
  261|  9.69k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  9.69k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  9.69k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.69k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 9.69k, False: 0]
  |  |  ------------------
  ------------------
  263|  9.69k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  19.3k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 9.69k, False: 0]
  |  |  ------------------
  ------------------
  264|  9.69k|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  266|      0|}
codeobject.c:PyUnicode_GET_LENGTH:
  296|  9.69k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|  9.69k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  9.69k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  9.69k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  9.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 9.69k, False: 0]
  ------------------
  298|  9.69k|}
pegen.c:PyUnicode_IS_ASCII:
  224|    162|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|    162|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|    162|    (assert(PyUnicode_Check(op)), \
  |  |  187|    162|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    162|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 162, False: 0]
  ------------------
  226|    162|}

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|    110|{
   15|    110|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|    110|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    110|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    110|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|    110|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 0, False: 110]
  |  Branch (16:37): [True: 0, False: 0]
  ------------------
   17|    110|}
listobject.c:_PyIndex_Check:
   14|  7.10M|{
   15|  7.10M|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|  7.10M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.10M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.10M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|  7.10M|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 4.28M, False: 2.81M]
  |  Branch (16:37): [True: 4.28M, False: 0]
  ------------------
   17|  7.10M|}
memoryobject.c:_PyIndex_Check:
   14|     24|{
   15|     24|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|     24|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 0, False: 24]
  |  Branch (16:37): [True: 0, False: 0]
  ------------------
   17|     24|}
rangeobject.c:_PyIndex_Check:
   14|  2.89M|{
   15|  2.89M|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|  2.89M|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 0, False: 2.89M]
  |  Branch (16:37): [True: 0, False: 0]
  ------------------
   17|  2.89M|}
sliceobject.c:_PyIndex_Check:
   14|  2.89M|{
   15|  2.89M|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|  2.89M|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 2.89M, False: 0]
  |  Branch (16:37): [True: 2.89M, False: 0]
  ------------------
   17|  2.89M|}
tupleobject.c:_PyIndex_Check:
   14|  1.04M|{
   15|  1.04M|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|  1.04M|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 1.04M, False: 12]
  |  Branch (16:37): [True: 1.04M, False: 0]
  ------------------
   17|  1.04M|}
unicodeobject.c:_PyIndex_Check:
   14|  3.26M|{
   15|  3.26M|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|  3.26M|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 3.14M, False: 118k]
  |  Branch (16:37): [True: 3.14M, False: 0]
  ------------------
   17|  3.26M|}
ceval.c:_PyIndex_Check:
   14|    157|{
   15|    157|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|    157|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    157|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    157|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|    157|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 157, False: 0]
  |  Branch (16:37): [True: 157, False: 0]
  ------------------
   17|    157|}
abstract.c:_PyIndex_Check:
   14|  5.11k|{
   15|  5.11k|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|  5.11k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|  5.11k|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 5.11k, False: 0]
  |  Branch (16:37): [True: 2.89k, False: 2.21k]
  ------------------
   17|  5.11k|}
bytes_methods.c:_PyIndex_Check:
   14|   779k|{
   15|   779k|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|   779k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   779k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   779k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|   779k|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 779k, False: 0]
  |  Branch (16:37): [True: 779k, False: 0]
  ------------------
   17|   779k|}
bytearrayobject.c:_PyIndex_Check:
   14|  11.6M|{
   15|  11.6M|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|  11.6M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  11.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|  11.6M|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 11.0M, False: 567k]
  |  Branch (16:37): [True: 11.0M, False: 0]
  ------------------
   17|  11.6M|}

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

longobject.c:_Py_bit_length:
  147|     76|{
  148|     76|#if (defined(__clang__) || defined(__GNUC__))
  149|     76|    if (x != 0) {
  ------------------
  |  Branch (149:9): [True: 76, False: 0]
  ------------------
  150|       |        // __builtin_clzl() is available since GCC 3.4.
  151|       |        // Undefined behavior for x == 0.
  152|     76|        return (int)sizeof(unsigned long) * 8 - __builtin_clzl(x);
  153|     76|    }
  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|     76|}
dictobject.c:_Py_bit_length:
  147|   217k|{
  148|   217k|#if (defined(__clang__) || defined(__GNUC__))
  149|   217k|    if (x != 0) {
  ------------------
  |  Branch (149:9): [True: 217k, False: 0]
  ------------------
  150|       |        // __builtin_clzl() is available since GCC 3.4.
  151|       |        // Undefined behavior for x == 0.
  152|   217k|        return (int)sizeof(unsigned long) * 8 - __builtin_clzl(x);
  153|   217k|    }
  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|   217k|}
hamt.c:_Py_popcount32:
   96|      2|{
   97|      2|#if (defined(__clang__) || defined(__GNUC__))
   98|       |
   99|      2|#if SIZEOF_INT >= 4
  100|      2|    Py_BUILD_ASSERT(sizeof(x) <= sizeof(unsigned int));
  ------------------
  |  |  167|      2|        do { \
  |  |  168|      2|            static_assert((cond), #cond); \
  |  |  169|      2|        } while (0)
  |  |  ------------------
  |  |  |  Branch (169:18): [Folded, False: 2]
  |  |  ------------------
  ------------------
  101|      2|    return __builtin_popcount(x);
  102|       |#else
  103|       |    // The C standard guarantees that unsigned long will always be big enough
  104|       |    // to hold a uint32_t value without losing information.
  105|       |    Py_BUILD_ASSERT(sizeof(x) <= sizeof(unsigned long));
  106|       |    return __builtin_popcountl(x);
  107|       |#endif
  108|       |
  109|       |#else
  110|       |    // 32-bit SWAR (SIMD Within A Register) popcount
  111|       |
  112|       |    // Binary: 0 1 0 1 ...
  113|       |    const uint32_t M1 = 0x55555555;
  114|       |    // Binary: 00 11 00 11. ..
  115|       |    const uint32_t M2 = 0x33333333;
  116|       |    // Binary: 0000 1111 0000 1111 ...
  117|       |    const uint32_t M4 = 0x0F0F0F0F;
  118|       |
  119|       |    // Put count of each 2 bits into those 2 bits
  120|       |    x = x - ((x >> 1) & M1);
  121|       |    // Put count of each 4 bits into those 4 bits
  122|       |    x = (x & M2) + ((x >> 2) & M2);
  123|       |    // Put count of each 8 bits into those 8 bits
  124|       |    x = (x + (x >> 4)) & M4;
  125|       |    // Sum of the 4 byte counts.
  126|       |    // Take care when considering changes to the next line. Portability and
  127|       |    // correctness are delicate here, thanks to C's "integer promotions" (C99
  128|       |    // §6.3.1.1p2). On machines where the `int` type has width greater than 32
  129|       |    // bits, `x` will be promoted to an `int`, and following C's "usual
  130|       |    // arithmetic conversions" (C99 §6.3.1.8), the multiplication will be
  131|       |    // performed as a multiplication of two `unsigned int` operands. In this
  132|       |    // case it's critical that we cast back to `uint32_t` in order to keep only
  133|       |    // the least significant 32 bits. On machines where the `int` type has
  134|       |    // width no greater than 32, the multiplication is of two 32-bit unsigned
  135|       |    // integer types, and the (uint32_t) cast is a no-op. In both cases, we
  136|       |    // avoid the risk of undefined behaviour due to overflow of a
  137|       |    // multiplication of signed integer types.
  138|       |    return (uint32_t)(x * 0x01010101U) >> 24;
  139|       |#endif
  140|      2|}

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

call.c:_PyObject_VectorcallTstate:
  132|  8.74M|{
  133|  8.74M|    vectorcallfunc func;
  134|  8.74M|    PyObject *res;
  135|       |
  136|  8.74M|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  ------------------
  |  Branch (136:5): [True: 7.66M, False: 1.08M]
  |  Branch (136:5): [True: 1.08M, False: 0]
  ------------------
  137|  8.74M|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  ------------------
  |  Branch (137:5): [True: 8.74M, False: 61]
  |  Branch (137:5): [True: 61, False: 0]
  ------------------
  138|       |
  139|  8.74M|    func = _PyVectorcall_FunctionInline(callable);
  140|  8.74M|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 622k, False: 8.12M]
  ------------------
  141|   622k|        Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|   622k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  142|   622k|        return _PyObject_MakeTpCall(tstate, callable, args, nargs, kwnames);
  143|   622k|    }
  144|  8.12M|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|  8.74M|}
call.c:_PyVectorcall_FunctionInline:
   92|  9.20M|{
   93|  9.20M|    assert(callable != NULL);
  ------------------
  |  Branch (93:5): [True: 9.20M, False: 0]
  ------------------
   94|       |
   95|  9.20M|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  213|  9.20M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  9.20M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.20M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|  9.20M|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|  9.20M|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 4.69k, False: 9.20M]
  ------------------
   97|  4.69k|        return NULL;
   98|  4.69k|    }
   99|  9.20M|    assert(PyCallable_Check(callable));
  ------------------
  |  Branch (99:5): [True: 9.20M, False: 0]
  ------------------
  100|       |
  101|  9.20M|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|  9.20M|    assert(offset > 0);
  ------------------
  |  Branch (102:5): [True: 9.20M, False: 0]
  ------------------
  103|       |
  104|  9.20M|    vectorcallfunc ptr;
  105|  9.20M|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|  9.20M|    return ptr;
  107|  9.20M|}
call.c:_PyObject_CallNoArgsTstate:
  150|     60|_PyObject_CallNoArgsTstate(PyThreadState *tstate, PyObject *func) {
  151|     60|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  152|     60|}
dictobject.c:_PyObject_CallNoArgs:
  157|  1.08M|_PyObject_CallNoArgs(PyObject *func) {
  158|  1.08M|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|  1.08M|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  159|  1.08M|    PyThreadState *tstate = _PyThreadState_GET();
  160|  1.08M|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  161|  1.08M|}
dictobject.c:_PyObject_VectorcallTstate:
  132|  1.08M|{
  133|  1.08M|    vectorcallfunc func;
  134|  1.08M|    PyObject *res;
  135|       |
  136|  1.08M|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  ------------------
  |  Branch (136:5): [True: 1.08M, False: 0]
  |  Branch (136:5): [True: 0, False: 0]
  ------------------
  137|  1.08M|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  ------------------
  |  Branch (137:5): [True: 0, False: 1.08M]
  |  Branch (137:5): [True: 1.08M, False: 0]
  ------------------
  138|       |
  139|  1.08M|    func = _PyVectorcall_FunctionInline(callable);
  140|  1.08M|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 0, False: 1.08M]
  ------------------
  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|  1.08M|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|  1.08M|}
dictobject.c:_PyVectorcall_FunctionInline:
   92|  1.08M|{
   93|  1.08M|    assert(callable != NULL);
  ------------------
  |  Branch (93:5): [True: 1.08M, False: 0]
  ------------------
   94|       |
   95|  1.08M|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|  1.08M|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|  1.08M|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 0, False: 1.08M]
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|  1.08M|    assert(PyCallable_Check(callable));
  ------------------
  |  Branch (99:5): [True: 1.08M, False: 0]
  ------------------
  100|       |
  101|  1.08M|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|  1.08M|    assert(offset > 0);
  ------------------
  |  Branch (102:5): [True: 1.08M, False: 0]
  ------------------
  103|       |
  104|  1.08M|    vectorcallfunc ptr;
  105|  1.08M|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|  1.08M|    return ptr;
  107|  1.08M|}
object.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|}
object.c:_PyObject_VectorcallTstate:
  132|      2|{
  133|      2|    vectorcallfunc func;
  134|      2|    PyObject *res;
  135|       |
  136|      2|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  ------------------
  |  Branch (136:5): [True: 2, False: 0]
  |  Branch (136:5): [True: 0, False: 0]
  ------------------
  137|      2|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  ------------------
  |  Branch (137:5): [True: 0, False: 2]
  |  Branch (137:5): [True: 2, False: 0]
  ------------------
  138|       |
  139|      2|    func = _PyVectorcall_FunctionInline(callable);
  140|      2|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 0, False: 2]
  ------------------
  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|      2|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|      2|}
object.c:_PyVectorcall_FunctionInline:
   92|      2|{
   93|      2|    assert(callable != NULL);
  ------------------
  |  Branch (93:5): [True: 2, False: 0]
  ------------------
   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: 0, False: 2]
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|      2|    assert(PyCallable_Check(callable));
  ------------------
  |  Branch (99:5): [True: 2, False: 0]
  ------------------
  100|       |
  101|      2|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|      2|    assert(offset > 0);
  ------------------
  |  Branch (102:5): [True: 2, False: 0]
  ------------------
  103|       |
  104|      2|    vectorcallfunc ptr;
  105|      2|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|      2|    return ptr;
  107|      2|}
typeobject.c:_PyObject_VectorcallTstate:
  132|  20.1M|{
  133|  20.1M|    vectorcallfunc func;
  134|  20.1M|    PyObject *res;
  135|       |
  136|  20.1M|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  ------------------
  |  Branch (136:5): [True: 20.1M, False: 0]
  |  Branch (136:5): [True: 0, False: 0]
  ------------------
  137|  20.1M|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  ------------------
  |  Branch (137:5): [True: 20.1M, False: 0]
  |  Branch (137:5): [True: 0, False: 0]
  ------------------
  138|       |
  139|  20.1M|    func = _PyVectorcall_FunctionInline(callable);
  140|  20.1M|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 0, False: 20.1M]
  ------------------
  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|  20.1M|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|  20.1M|}
typeobject.c:_PyVectorcall_FunctionInline:
   92|  20.1M|{
   93|  20.1M|    assert(callable != NULL);
  ------------------
  |  Branch (93:5): [True: 20.1M, False: 0]
  ------------------
   94|       |
   95|  20.1M|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  213|  20.1M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  20.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|  20.1M|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|  20.1M|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 0, False: 20.1M]
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|  20.1M|    assert(PyCallable_Check(callable));
  ------------------
  |  Branch (99:5): [True: 20.1M, False: 0]
  ------------------
  100|       |
  101|  20.1M|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|  20.1M|    assert(offset > 0);
  ------------------
  |  Branch (102:5): [True: 20.1M, False: 0]
  ------------------
  103|       |
  104|  20.1M|    vectorcallfunc ptr;
  105|  20.1M|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|  20.1M|    return ptr;
  107|  20.1M|}
bltinmodule.c:_PyObject_VectorcallTstate:
  132|  10.2M|{
  133|  10.2M|    vectorcallfunc func;
  134|  10.2M|    PyObject *res;
  135|       |
  136|  10.2M|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  ------------------
  |  Branch (136:5): [True: 10.2M, False: 0]
  |  Branch (136:5): [True: 0, False: 0]
  ------------------
  137|  10.2M|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  ------------------
  |  Branch (137:5): [True: 10.2M, False: 0]
  |  Branch (137:5): [True: 0, False: 0]
  ------------------
  138|       |
  139|  10.2M|    func = _PyVectorcall_FunctionInline(callable);
  140|  10.2M|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 0, False: 10.2M]
  ------------------
  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|  10.2M|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|  10.2M|}
bltinmodule.c:_PyVectorcall_FunctionInline:
   92|  10.2M|{
   93|  10.2M|    assert(callable != NULL);
  ------------------
  |  Branch (93:5): [True: 10.2M, False: 0]
  ------------------
   94|       |
   95|  10.2M|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  213|  10.2M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  10.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|  10.2M|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|  10.2M|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 0, False: 10.2M]
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|  10.2M|    assert(PyCallable_Check(callable));
  ------------------
  |  Branch (99:5): [True: 10.2M, False: 0]
  ------------------
  100|       |
  101|  10.2M|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|  10.2M|    assert(offset > 0);
  ------------------
  |  Branch (102:5): [True: 10.2M, False: 0]
  ------------------
  103|       |
  104|  10.2M|    vectorcallfunc ptr;
  105|  10.2M|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|  10.2M|    return ptr;
  107|  10.2M|}
ceval.c:_PyObject_CallNoArgs:
  157|      4|_PyObject_CallNoArgs(PyObject *func) {
  158|      4|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|      4|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  159|      4|    PyThreadState *tstate = _PyThreadState_GET();
  160|      4|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  161|      4|}
ceval.c:_PyObject_VectorcallTstate:
  132|      4|{
  133|      4|    vectorcallfunc func;
  134|      4|    PyObject *res;
  135|       |
  136|      4|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  ------------------
  |  Branch (136:5): [True: 4, False: 0]
  |  Branch (136:5): [True: 0, False: 0]
  ------------------
  137|      4|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  ------------------
  |  Branch (137:5): [True: 0, False: 4]
  |  Branch (137:5): [True: 4, False: 0]
  ------------------
  138|       |
  139|      4|    func = _PyVectorcall_FunctionInline(callable);
  140|      4|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 0, False: 4]
  ------------------
  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|      4|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|      4|}
ceval.c:_PyVectorcall_FunctionInline:
   92|      4|{
   93|      4|    assert(callable != NULL);
  ------------------
  |  Branch (93:5): [True: 4, False: 0]
  ------------------
   94|       |
   95|      4|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|      4|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|      4|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 0, False: 4]
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|      4|    assert(PyCallable_Check(callable));
  ------------------
  |  Branch (99:5): [True: 4, False: 0]
  ------------------
  100|       |
  101|      4|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|      4|    assert(offset > 0);
  ------------------
  |  Branch (102:5): [True: 4, False: 0]
  ------------------
  103|       |
  104|      4|    vectorcallfunc ptr;
  105|      4|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|      4|    return ptr;
  107|      4|}
errors.c:_PyObject_CallNoArgs:
  157|  32.1k|_PyObject_CallNoArgs(PyObject *func) {
  158|  32.1k|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|  32.1k|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  159|  32.1k|    PyThreadState *tstate = _PyThreadState_GET();
  160|  32.1k|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  161|  32.1k|}
errors.c:_PyObject_VectorcallTstate:
  132|  32.1k|{
  133|  32.1k|    vectorcallfunc func;
  134|  32.1k|    PyObject *res;
  135|       |
  136|  32.1k|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  ------------------
  |  Branch (136:5): [True: 32.1k, False: 0]
  |  Branch (136:5): [True: 0, False: 0]
  ------------------
  137|  32.1k|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  ------------------
  |  Branch (137:5): [True: 0, False: 32.1k]
  |  Branch (137:5): [True: 32.1k, False: 0]
  ------------------
  138|       |
  139|  32.1k|    func = _PyVectorcall_FunctionInline(callable);
  140|  32.1k|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 0, False: 32.1k]
  ------------------
  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|  32.1k|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|  32.1k|}
errors.c:_PyVectorcall_FunctionInline:
   92|  32.1k|{
   93|  32.1k|    assert(callable != NULL);
  ------------------
  |  Branch (93:5): [True: 32.1k, False: 0]
  ------------------
   94|       |
   95|  32.1k|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  213|  32.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  32.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|  32.1k|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|  32.1k|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 0, False: 32.1k]
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|  32.1k|    assert(PyCallable_Check(callable));
  ------------------
  |  Branch (99:5): [True: 32.1k, False: 0]
  ------------------
  100|       |
  101|  32.1k|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|  32.1k|    assert(offset > 0);
  ------------------
  |  Branch (102:5): [True: 32.1k, False: 0]
  ------------------
  103|       |
  104|  32.1k|    vectorcallfunc ptr;
  105|  32.1k|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|  32.1k|    return ptr;
  107|  32.1k|}
bufferedio.c:_PyObject_CallNoArgs:
  157|     24|_PyObject_CallNoArgs(PyObject *func) {
  158|     24|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|     24|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  159|     24|    PyThreadState *tstate = _PyThreadState_GET();
  160|     24|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  161|     24|}
bufferedio.c:_PyObject_VectorcallTstate:
  132|     24|{
  133|     24|    vectorcallfunc func;
  134|     24|    PyObject *res;
  135|       |
  136|     24|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  ------------------
  |  Branch (136:5): [True: 24, False: 0]
  |  Branch (136:5): [True: 0, False: 0]
  ------------------
  137|     24|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  ------------------
  |  Branch (137:5): [True: 0, False: 24]
  |  Branch (137:5): [True: 24, False: 0]
  ------------------
  138|       |
  139|     24|    func = _PyVectorcall_FunctionInline(callable);
  140|     24|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 0, False: 24]
  ------------------
  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|     24|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|     24|}
bufferedio.c:_PyVectorcall_FunctionInline:
   92|     24|{
   93|     24|    assert(callable != NULL);
  ------------------
  |  Branch (93:5): [True: 24, False: 0]
  ------------------
   94|       |
   95|     24|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|     24|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|     24|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 0, False: 24]
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|     24|    assert(PyCallable_Check(callable));
  ------------------
  |  Branch (99:5): [True: 24, False: 0]
  ------------------
  100|       |
  101|     24|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|     24|    assert(offset > 0);
  ------------------
  |  Branch (102:5): [True: 24, False: 0]
  ------------------
  103|       |
  104|     24|    vectorcallfunc ptr;
  105|     24|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|     24|    return ptr;
  107|     24|}
_functoolsmodule.c:_PyObject_CallNoArgs:
  157|      1|_PyObject_CallNoArgs(PyObject *func) {
  158|      1|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|      1|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  159|      1|    PyThreadState *tstate = _PyThreadState_GET();
  160|      1|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  161|      1|}
_functoolsmodule.c:_PyObject_VectorcallTstate:
  132|      2|{
  133|      2|    vectorcallfunc func;
  134|      2|    PyObject *res;
  135|       |
  136|      2|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  ------------------
  |  Branch (136:5): [True: 1, False: 1]
  |  Branch (136:5): [True: 1, False: 0]
  ------------------
  137|      2|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  ------------------
  |  Branch (137:5): [True: 1, False: 1]
  |  Branch (137:5): [True: 1, False: 0]
  ------------------
  138|       |
  139|      2|    func = _PyVectorcall_FunctionInline(callable);
  140|      2|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 1, False: 1]
  ------------------
  141|      1|        Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      1|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  142|      1|        return _PyObject_MakeTpCall(tstate, callable, args, nargs, kwnames);
  143|      1|    }
  144|      1|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|      2|}
_functoolsmodule.c:_PyVectorcall_FunctionInline:
   92|      2|{
   93|      2|    assert(callable != NULL);
  ------------------
  |  Branch (93:5): [True: 2, False: 0]
  ------------------
   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: 0, False: 2]
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|      2|    assert(PyCallable_Check(callable));
  ------------------
  |  Branch (99:5): [True: 2, False: 0]
  ------------------
  100|       |
  101|      2|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|      2|    assert(offset > 0);
  ------------------
  |  Branch (102:5): [True: 2, False: 0]
  ------------------
  103|       |
  104|      2|    vectorcallfunc ptr;
  105|      2|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|      2|    return ptr;
  107|      2|}
abstract.c:_PyObject_CallNoArgs:
  157|  18.3k|_PyObject_CallNoArgs(PyObject *func) {
  158|  18.3k|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|  18.3k|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  159|  18.3k|    PyThreadState *tstate = _PyThreadState_GET();
  160|  18.3k|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  161|  18.3k|}
abstract.c:_PyObject_VectorcallTstate:
  132|  18.3k|{
  133|  18.3k|    vectorcallfunc func;
  134|  18.3k|    PyObject *res;
  135|       |
  136|  18.3k|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  ------------------
  |  Branch (136:5): [True: 18.3k, False: 0]
  |  Branch (136:5): [True: 0, False: 0]
  ------------------
  137|  18.3k|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  ------------------
  |  Branch (137:5): [True: 0, False: 18.3k]
  |  Branch (137:5): [True: 18.3k, False: 0]
  ------------------
  138|       |
  139|  18.3k|    func = _PyVectorcall_FunctionInline(callable);
  140|  18.3k|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 0, False: 18.3k]
  ------------------
  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|  18.3k|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|  18.3k|}
abstract.c:_PyVectorcall_FunctionInline:
   92|  18.3k|{
   93|  18.3k|    assert(callable != NULL);
  ------------------
  |  Branch (93:5): [True: 18.3k, False: 0]
  ------------------
   94|       |
   95|  18.3k|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  213|  18.3k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  18.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|  18.3k|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|  18.3k|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 0, False: 18.3k]
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|  18.3k|    assert(PyCallable_Check(callable));
  ------------------
  |  Branch (99:5): [True: 18.3k, False: 0]
  ------------------
  100|       |
  101|  18.3k|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|  18.3k|    assert(offset > 0);
  ------------------
  |  Branch (102:5): [True: 18.3k, False: 0]
  ------------------
  103|       |
  104|  18.3k|    vectorcallfunc ptr;
  105|  18.3k|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|  18.3k|    return ptr;
  107|  18.3k|}
enumobject.c:_PyObject_CallNoArgs:
  157|     13|_PyObject_CallNoArgs(PyObject *func) {
  158|     13|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|     13|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  159|     13|    PyThreadState *tstate = _PyThreadState_GET();
  160|     13|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  161|     13|}
enumobject.c:_PyObject_VectorcallTstate:
  132|     13|{
  133|     13|    vectorcallfunc func;
  134|     13|    PyObject *res;
  135|       |
  136|     13|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  ------------------
  |  Branch (136:5): [True: 13, False: 0]
  |  Branch (136:5): [True: 0, False: 0]
  ------------------
  137|     13|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  ------------------
  |  Branch (137:5): [True: 0, False: 13]
  |  Branch (137:5): [True: 13, False: 0]
  ------------------
  138|       |
  139|     13|    func = _PyVectorcall_FunctionInline(callable);
  140|     13|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 0, False: 13]
  ------------------
  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|     13|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|     13|}
enumobject.c:_PyVectorcall_FunctionInline:
   92|     13|{
   93|     13|    assert(callable != NULL);
  ------------------
  |  Branch (93:5): [True: 13, False: 0]
  ------------------
   94|       |
   95|     13|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  213|     13|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|     13|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|     13|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 0, False: 13]
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|     13|    assert(PyCallable_Check(callable));
  ------------------
  |  Branch (99:5): [True: 13, False: 0]
  ------------------
  100|       |
  101|     13|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|     13|    assert(offset > 0);
  ------------------
  |  Branch (102:5): [True: 13, False: 0]
  ------------------
  103|       |
  104|     13|    vectorcallfunc ptr;
  105|     13|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|     13|    return ptr;
  107|     13|}

typeobject.c:PyCell_GetRef:
   39|     15|{
   40|     15|    PyObject *res;
   41|     15|    Py_BEGIN_CRITICAL_SECTION(cell);
  ------------------
  |  |   51|     15|    {
  ------------------
   42|       |#ifdef Py_GIL_DISABLED
   43|       |    res = _Py_XNewRefWithLock(cell->ob_ref);
   44|       |#else
   45|     15|    res = Py_XNewRef(cell->ob_ref);
  ------------------
  |  |  551|     15|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   46|     15|#endif
   47|     15|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     15|    }
  ------------------
   48|     15|    return res;
   49|     15|}
bltinmodule.c:PyCell_GetRef:
   39|     20|{
   40|     20|    PyObject *res;
   41|     20|    Py_BEGIN_CRITICAL_SECTION(cell);
  ------------------
  |  |   51|     20|    {
  ------------------
   42|       |#ifdef Py_GIL_DISABLED
   43|       |    res = _Py_XNewRefWithLock(cell->ob_ref);
   44|       |#else
   45|     20|    res = Py_XNewRef(cell->ob_ref);
  ------------------
  |  |  551|     20|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   46|     20|#endif
   47|     20|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     20|    }
  ------------------
   48|     20|    return res;
   49|     20|}
ceval.c:PyCell_SwapTakeRef:
   20|  2.96M|{
   21|  2.96M|    PyObject *old_value;
   22|  2.96M|    Py_BEGIN_CRITICAL_SECTION(cell);
  ------------------
  |  |   51|  2.96M|    {
  ------------------
   23|  2.96M|    old_value = cell->ob_ref;
   24|  2.96M|    FT_ATOMIC_STORE_PTR_RELEASE(cell->ob_ref, value);
  ------------------
  |  |  164|  2.96M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
   25|  2.96M|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  2.96M|    }
  ------------------
   26|  2.96M|    return old_value;
   27|  2.96M|}
ceval.c:_PyCell_GetStackRef:
   53|  10.7M|{
   54|  10.7M|    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.7M|    value = PyCell_GetRef(cell);
   66|  10.7M|    if (value == NULL) {
  ------------------
  |  Branch (66:9): [True: 0, False: 10.7M]
  ------------------
   67|      0|        return PyStackRef_NULL;
   68|      0|    }
   69|  10.7M|    return PyStackRef_FromPyObjectSteal(value);
   70|  10.7M|}
ceval.c:PyCell_GetRef:
   39|  10.7M|{
   40|  10.7M|    PyObject *res;
   41|  10.7M|    Py_BEGIN_CRITICAL_SECTION(cell);
  ------------------
  |  |   51|  10.7M|    {
  ------------------
   42|       |#ifdef Py_GIL_DISABLED
   43|       |    res = _Py_XNewRefWithLock(cell->ob_ref);
   44|       |#else
   45|  10.7M|    res = Py_XNewRef(cell->ob_ref);
  ------------------
  |  |  551|  10.7M|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  10.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   46|  10.7M|#endif
   47|  10.7M|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  10.7M|    }
  ------------------
   48|  10.7M|    return res;
   49|  10.7M|}
ceval.c:PyCell_SetTakeRef:
   31|  2.96M|{
   32|  2.96M|    PyObject *old_value = PyCell_SwapTakeRef(cell, value);
   33|  2.96M|    Py_XDECREF(old_value);
  ------------------
  |  |  524|  2.96M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.96M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.96M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   34|  2.96M|}
cellobject.c:PyCell_SetTakeRef:
   31|    237|{
   32|    237|    PyObject *old_value = PyCell_SwapTakeRef(cell, value);
   33|    237|    Py_XDECREF(old_value);
  ------------------
  |  |  524|    237|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    237|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    237|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   34|    237|}
cellobject.c:PyCell_SwapTakeRef:
   20|    237|{
   21|    237|    PyObject *old_value;
   22|    237|    Py_BEGIN_CRITICAL_SECTION(cell);
  ------------------
  |  |   51|    237|    {
  ------------------
   23|    237|    old_value = cell->ob_ref;
   24|    237|    FT_ATOMIC_STORE_PTR_RELEASE(cell->ob_ref, value);
  ------------------
  |  |  164|    237|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
   25|    237|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    237|    }
  ------------------
   26|    237|    return old_value;
   27|    237|}

call.c:_Py_EnterRecursiveCallTstate:
  234|   622k|                                               const char *where) {
  235|   622k|    return (_Py_ReachedRecursionLimit(tstate) && _Py_CheckRecursiveCall(tstate, where));
  ------------------
  |  Branch (235:13): [True: 0, False: 622k]
  |  Branch (235:50): [True: 0, False: 0]
  ------------------
  236|   622k|}
call.c:_Py_ReachedRecursionLimit:
  211|   622k|static inline int _Py_ReachedRecursionLimit(PyThreadState *tstate)  {
  212|   622k|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  213|   622k|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  214|       |    // Possible overflow if stack pointer is beyond the soft limit.
  215|       |    // _Py_CheckRecursiveCall will check for corner cases and
  216|       |    // report an error if there is an overflow.
  217|   622k|#if _Py_STACK_GROWS_DOWN
  218|   622k|    return here_addr < _tstate->c_stack_soft_limit;
  219|       |#else
  220|       |    return here_addr > _tstate->c_stack_soft_limit;
  221|       |#endif
  222|   622k|}
call.c:_Py_LeaveRecursiveCallTstate:
  243|   622k|static inline void _Py_LeaveRecursiveCallTstate(PyThreadState *tstate) {
  244|   622k|    (void)tstate;
  245|   622k|}
object.c:_Py_EnterRecursiveCallTstate:
  234|  40.4M|                                               const char *where) {
  235|  40.4M|    return (_Py_ReachedRecursionLimit(tstate) && _Py_CheckRecursiveCall(tstate, where));
  ------------------
  |  Branch (235:13): [True: 0, False: 40.4M]
  |  Branch (235:50): [True: 0, False: 0]
  ------------------
  236|  40.4M|}
object.c:_Py_ReachedRecursionLimit:
  211|  40.4M|static inline int _Py_ReachedRecursionLimit(PyThreadState *tstate)  {
  212|  40.4M|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  213|  40.4M|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  214|       |    // Possible overflow if stack pointer is beyond the soft limit.
  215|       |    // _Py_CheckRecursiveCall will check for corner cases and
  216|       |    // report an error if there is an overflow.
  217|  40.4M|#if _Py_STACK_GROWS_DOWN
  218|  40.4M|    return here_addr < _tstate->c_stack_soft_limit;
  219|       |#else
  220|       |    return here_addr > _tstate->c_stack_soft_limit;
  221|       |#endif
  222|  40.4M|}
object.c:_Py_LeaveRecursiveCallTstate:
  243|  40.4M|static inline void _Py_LeaveRecursiveCallTstate(PyThreadState *tstate) {
  244|  40.4M|    (void)tstate;
  245|  40.4M|}
ceval.c:_PyEval_EvalFrame:
  119|  20.9M|{
  120|  20.9M|    EVAL_CALL_STAT_INC(EVAL_CALL_TOTAL);
  ------------------
  |  |   79|  20.9M|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
  121|  20.9M|    if (tstate->interp->eval_frame == NULL) {
  ------------------
  |  Branch (121:9): [True: 20.9M, False: 0]
  ------------------
  122|  20.9M|        return _PyEval_EvalFrameDefault(tstate, frame, throwflag);
  123|  20.9M|    }
  124|      0|    return tstate->interp->eval_frame(tstate, frame, throwflag);
  125|  20.9M|}
ceval.c:_Py_EnterRecursiveCallTstate:
  234|  21.0M|                                               const char *where) {
  235|  21.0M|    return (_Py_ReachedRecursionLimit(tstate) && _Py_CheckRecursiveCall(tstate, where));
  ------------------
  |  Branch (235:13): [True: 0, False: 21.0M]
  |  Branch (235:50): [True: 0, False: 0]
  ------------------
  236|  21.0M|}
ceval.c:_Py_ReachedRecursionLimit:
  211|  56.5M|static inline int _Py_ReachedRecursionLimit(PyThreadState *tstate)  {
  212|  56.5M|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  213|  56.5M|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  214|       |    // Possible overflow if stack pointer is beyond the soft limit.
  215|       |    // _Py_CheckRecursiveCall will check for corner cases and
  216|       |    // report an error if there is an overflow.
  217|  56.5M|#if _Py_STACK_GROWS_DOWN
  218|  56.5M|    return here_addr < _tstate->c_stack_soft_limit;
  219|       |#else
  220|       |    return here_addr > _tstate->c_stack_soft_limit;
  221|       |#endif
  222|  56.5M|}
ceval.c:_Py_LeaveRecursiveCallTstate:
  243|  35.5M|static inline void _Py_LeaveRecursiveCallTstate(PyThreadState *tstate) {
  244|  35.5M|    (void)tstate;
  245|  35.5M|}
ceval.c:_Py_EnterRecursiveCall:
  238|     81|static inline int _Py_EnterRecursiveCall(const char *where) {
  239|     81|    PyThreadState *tstate = _PyThreadState_GET();
  240|     81|    return _Py_EnterRecursiveCallTstate(tstate, where);
  241|     81|}
ceval.c:_Py_LeaveRecursiveCall:
  254|     54|static inline void _Py_LeaveRecursiveCall(void)  {
  255|     54|}
gc.c:_Py_eval_breaker_bit_is_set:
  372|   191k|{
  373|   191k|    uintptr_t b = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker);
  374|   191k|    return (b & bit) != 0;
  375|   191k|}
gc.c:_Py_set_eval_breaker_bit:
  360|  23.8k|{
  361|  23.8k|    _Py_atomic_or_uintptr(&tstate->eval_breaker, bit);
  362|  23.8k|}
ceval_gil.c:_Py_eval_breaker_bit_is_set:
  372|   356k|{
  373|   356k|    uintptr_t b = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker);
  374|   356k|    return (b & bit) != 0;
  375|   356k|}
ceval_gil.c:_Py_unset_eval_breaker_bit:
  366|   380k|{
  367|   380k|    _Py_atomic_and_uintptr(&tstate->eval_breaker, ~bit);
  368|   380k|}
signalmodule.c:_Py_unset_eval_breaker_bit:
  366|    345|{
  367|    345|    _Py_atomic_and_uintptr(&tstate->eval_breaker, ~bit);
  368|    345|}
abstract.c:_Py_EnterRecursiveCallTstate:
  234|  16.1k|                                               const char *where) {
  235|  16.1k|    return (_Py_ReachedRecursionLimit(tstate) && _Py_CheckRecursiveCall(tstate, where));
  ------------------
  |  Branch (235:13): [True: 0, False: 16.1k]
  |  Branch (235:50): [True: 0, False: 0]
  ------------------
  236|  16.1k|}
abstract.c:_Py_ReachedRecursionLimit:
  211|  16.1k|static inline int _Py_ReachedRecursionLimit(PyThreadState *tstate)  {
  212|  16.1k|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  213|  16.1k|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  214|       |    // Possible overflow if stack pointer is beyond the soft limit.
  215|       |    // _Py_CheckRecursiveCall will check for corner cases and
  216|       |    // report an error if there is an overflow.
  217|  16.1k|#if _Py_STACK_GROWS_DOWN
  218|  16.1k|    return here_addr < _tstate->c_stack_soft_limit;
  219|       |#else
  220|       |    return here_addr > _tstate->c_stack_soft_limit;
  221|       |#endif
  222|  16.1k|}
abstract.c:_Py_LeaveRecursiveCallTstate:
  243|  16.1k|static inline void _Py_LeaveRecursiveCallTstate(PyThreadState *tstate) {
  244|  16.1k|    (void)tstate;
  245|  16.1k|}
descrobject.c:_Py_EnterRecursiveCallTstate:
  234|  1.06M|                                               const char *where) {
  235|  1.06M|    return (_Py_ReachedRecursionLimit(tstate) && _Py_CheckRecursiveCall(tstate, where));
  ------------------
  |  Branch (235:13): [True: 0, False: 1.06M]
  |  Branch (235:50): [True: 0, False: 0]
  ------------------
  236|  1.06M|}
descrobject.c:_Py_ReachedRecursionLimit:
  211|  1.06M|static inline int _Py_ReachedRecursionLimit(PyThreadState *tstate)  {
  212|  1.06M|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  213|  1.06M|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  214|       |    // Possible overflow if stack pointer is beyond the soft limit.
  215|       |    // _Py_CheckRecursiveCall will check for corner cases and
  216|       |    // report an error if there is an overflow.
  217|  1.06M|#if _Py_STACK_GROWS_DOWN
  218|  1.06M|    return here_addr < _tstate->c_stack_soft_limit;
  219|       |#else
  220|       |    return here_addr > _tstate->c_stack_soft_limit;
  221|       |#endif
  222|  1.06M|}
descrobject.c:_Py_LeaveRecursiveCallTstate:
  243|   713k|static inline void _Py_LeaveRecursiveCallTstate(PyThreadState *tstate) {
  244|   713k|    (void)tstate;
  245|   713k|}
descrobject.c:_Py_LeaveRecursiveCall:
  254|   355k|static inline void _Py_LeaveRecursiveCall(void)  {
  255|   355k|}
genobject.c:_PyEval_EvalFrame:
  119|  32.3k|{
  120|  32.3k|    EVAL_CALL_STAT_INC(EVAL_CALL_TOTAL);
  ------------------
  |  |   79|  32.3k|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
  121|  32.3k|    if (tstate->interp->eval_frame == NULL) {
  ------------------
  |  Branch (121:9): [True: 32.3k, False: 0]
  ------------------
  122|  32.3k|        return _PyEval_EvalFrameDefault(tstate, frame, throwflag);
  123|  32.3k|    }
  124|      0|    return tstate->interp->eval_frame(tstate, frame, throwflag);
  125|  32.3k|}
methodobject.c:_Py_EnterRecursiveCallTstate:
  234|  13.1M|                                               const char *where) {
  235|  13.1M|    return (_Py_ReachedRecursionLimit(tstate) && _Py_CheckRecursiveCall(tstate, where));
  ------------------
  |  Branch (235:13): [True: 0, False: 13.1M]
  |  Branch (235:50): [True: 0, False: 0]
  ------------------
  236|  13.1M|}
methodobject.c:_Py_ReachedRecursionLimit:
  211|  13.1M|static inline int _Py_ReachedRecursionLimit(PyThreadState *tstate)  {
  212|  13.1M|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  213|  13.1M|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  214|       |    // Possible overflow if stack pointer is beyond the soft limit.
  215|       |    // _Py_CheckRecursiveCall will check for corner cases and
  216|       |    // report an error if there is an overflow.
  217|  13.1M|#if _Py_STACK_GROWS_DOWN
  218|  13.1M|    return here_addr < _tstate->c_stack_soft_limit;
  219|       |#else
  220|       |    return here_addr > _tstate->c_stack_soft_limit;
  221|       |#endif
  222|  13.1M|}
methodobject.c:_Py_LeaveRecursiveCallTstate:
  243|  13.1M|static inline void _Py_LeaveRecursiveCallTstate(PyThreadState *tstate) {
  244|  13.1M|    (void)tstate;
  245|  13.1M|}

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

dictobject.c:DK_ENTRIES:
  285|  14.3M|static inline PyDictKeyEntry* DK_ENTRIES(PyDictKeysObject *dk) {
  286|  14.3M|    assert(dk->dk_kind == DICT_KEYS_GENERAL);
  ------------------
  |  Branch (286:5): [True: 14.3M, False: 0]
  ------------------
  287|  14.3M|    return (PyDictKeyEntry*)_DK_ENTRIES(dk);
  288|  14.3M|}
dictobject.c:_DK_ENTRIES:
  279|  79.2M|static inline void* _DK_ENTRIES(PyDictKeysObject *dk) {
  280|  79.2M|    int8_t *indices = (int8_t*)(dk->dk_indices);
  281|  79.2M|    size_t index = (size_t)1 << dk->dk_log2_index_bytes;
  282|  79.2M|    return (&indices[index]);
  283|  79.2M|}
dictobject.c:DK_UNICODE_ENTRIES:
  289|  19.2M|static inline PyDictUnicodeEntry* DK_UNICODE_ENTRIES(PyDictKeysObject *dk) {
  290|  19.2M|    assert(dk->dk_kind != DICT_KEYS_GENERAL);
  ------------------
  |  Branch (290:5): [True: 19.2M, False: 0]
  ------------------
  291|  19.2M|    return (PyDictUnicodeEntry*)_DK_ENTRIES(dk);
  292|  19.2M|}
dictobject.c:get_insertion_order_array:
  340|  1.04k|{
  341|  1.04k|    return (uint8_t *)&values->values[values->capacity];
  342|  1.04k|}
dictobject.c:_PyDict_NotifyEvent:
  322|  5.01M|{
  323|  5.01M|    assert(Py_REFCNT((PyObject*)mp) > 0);
  ------------------
  |  Branch (323:5): [True: 5.01M, False: 0]
  ------------------
  324|  5.01M|    int watcher_bits = FT_ATOMIC_LOAD_UINT64_ACQUIRE(mp->_ma_watcher_tag) & DICT_WATCHER_MASK;
  ------------------
  |  |  160|  5.01M|#define FT_ATOMIC_LOAD_UINT64_ACQUIRE(value) value
  ------------------
                  int watcher_bits = FT_ATOMIC_LOAD_UINT64_ACQUIRE(mp->_ma_watcher_tag) & DICT_WATCHER_MASK;
  ------------------
  |  |  297|  5.01M|#define DICT_WATCHER_MASK ((1 << DICT_MAX_WATCHERS) - 1)
  |  |  ------------------
  |  |  |  |   11|  5.01M|#define DICT_MAX_WATCHERS 8
  |  |  ------------------
  ------------------
  325|  5.01M|    if (watcher_bits) {
  ------------------
  |  Branch (325:9): [True: 7.60k, False: 5.00M]
  ------------------
  326|  7.60k|        RARE_EVENT_STAT_INC(watched_dict_modification);
  ------------------
  |  |   89|  7.60k|#define RARE_EVENT_STAT_INC(name) ((void)0)
  ------------------
  327|  7.60k|        _PyDict_SendEvent(watcher_bits, event, mp, key, value);
  328|  7.60k|    }
  329|  5.01M|}
dictobject.c:_PyDictValues_AddToInsertionOrder:
  346|  1.04k|{
  347|  1.04k|    assert(ix < SHARED_KEYS_MAX_SIZE);
  ------------------
  |  Branch (347:5): [True: 1.04k, False: 0]
  ------------------
  348|  1.04k|    int size = values->size;
  349|  1.04k|    uint8_t *array = get_insertion_order_array(values);
  350|  1.04k|    assert(size < values->capacity);
  ------------------
  |  Branch (350:5): [True: 1.04k, False: 0]
  ------------------
  351|  1.04k|    assert(((uint8_t)ix) == ix);
  ------------------
  |  Branch (351:5): [True: 1.04k, False: 0]
  ------------------
  352|  1.04k|    array[size] = (uint8_t)ix;
  353|  1.04k|    values->size = size+1;
  354|  1.04k|}
dictobject.c:shared_keys_usable_size:
  362|  6.92M|{
  363|       |    // dk_usable will decrease for each instance that is created and each
  364|       |    // value that is added.  dk_nentries will increase for each value that
  365|       |    // is added.  We want to always return the right value or larger.
  366|       |    // We therefore increase dk_nentries first and we decrease dk_usable
  367|       |    // second, and conversely here we read dk_usable first and dk_entries
  368|       |    // second (to avoid the case where we read entries before the increment
  369|       |    // and read usable after the decrement)
  370|  6.92M|    Py_ssize_t dk_usable = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_usable);
  ------------------
  |  |  148|  6.92M|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  371|  6.92M|    Py_ssize_t dk_nentries = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_nentries);
  ------------------
  |  |  148|  6.92M|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  372|  6.92M|    return dk_nentries + dk_usable;
  373|  6.92M|}
dictobject.c:_PyDictKeys_AsSharedKeys:
  249|    348|{
  250|    348|    assert(keys->dk_kind == DICT_KEYS_SPLIT);
  ------------------
  |  Branch (250:5): [True: 348, False: 0]
  ------------------
  251|    348|    return _Py_CONTAINER_OF(keys, struct _instancekeysobject, dsk_keys);
  ------------------
  |  |  273|    348|    (type*)((char*)ptr - offsetof(type, member))
  ------------------
  252|    348|}
typeobject.c:_PyInlineValuesSize:
  377|  6.92M|{
  378|  6.92M|    PyDictKeysObject *keys = ((PyHeapTypeObject*)tp)->ht_cached_keys;
  379|  6.92M|    assert(keys != NULL);
  ------------------
  |  Branch (379:5): [True: 6.92M, False: 0]
  ------------------
  380|  6.92M|    size_t size = shared_keys_usable_size(keys);
  381|  6.92M|    size_t prefix_size = _Py_SIZE_ROUND_UP(size, sizeof(PyObject *));
  ------------------
  |  |  213|  6.92M|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  214|  6.92M|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  ------------------
  382|  6.92M|    assert(prefix_size < 256);
  ------------------
  |  Branch (382:5): [True: 6.92M, False: 0]
  ------------------
  383|  6.92M|    return prefix_size + (size + 1) * sizeof(PyObject *);
  384|  6.92M|}
typeobject.c:shared_keys_usable_size:
  362|  6.92M|{
  363|       |    // dk_usable will decrease for each instance that is created and each
  364|       |    // value that is added.  dk_nentries will increase for each value that
  365|       |    // is added.  We want to always return the right value or larger.
  366|       |    // We therefore increase dk_nentries first and we decrease dk_usable
  367|       |    // second, and conversely here we read dk_usable first and dk_entries
  368|       |    // second (to avoid the case where we read entries before the increment
  369|       |    // and read usable after the decrement)
  370|  6.92M|    Py_ssize_t dk_usable = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_usable);
  ------------------
  |  |  148|  6.92M|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  371|  6.92M|    Py_ssize_t dk_nentries = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_nentries);
  ------------------
  |  |  148|  6.92M|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  372|  6.92M|    return dk_nentries + dk_usable;
  373|  6.92M|}
ceval.c:DK_UNICODE_ENTRIES:
  289|   343M|static inline PyDictUnicodeEntry* DK_UNICODE_ENTRIES(PyDictKeysObject *dk) {
  290|   343M|    assert(dk->dk_kind != DICT_KEYS_GENERAL);
  ------------------
  |  Branch (290:5): [True: 343M, False: 0]
  ------------------
  291|   343M|    return (PyDictUnicodeEntry*)_DK_ENTRIES(dk);
  292|   343M|}
ceval.c:_DK_ENTRIES:
  279|   343M|static inline void* _DK_ENTRIES(PyDictKeysObject *dk) {
  280|   343M|    int8_t *indices = (int8_t*)(dk->dk_indices);
  281|   343M|    size_t index = (size_t)1 << dk->dk_log2_index_bytes;
  282|   343M|    return (&indices[index]);
  283|   343M|}
ceval.c:_PyDictValues_AddToInsertionOrder:
  346|  22.9M|{
  347|  22.9M|    assert(ix < SHARED_KEYS_MAX_SIZE);
  ------------------
  |  Branch (347:5): [True: 22.9M, False: 0]
  ------------------
  348|  22.9M|    int size = values->size;
  349|  22.9M|    uint8_t *array = get_insertion_order_array(values);
  350|  22.9M|    assert(size < values->capacity);
  ------------------
  |  Branch (350:5): [True: 22.9M, False: 0]
  ------------------
  351|  22.9M|    assert(((uint8_t)ix) == ix);
  ------------------
  |  Branch (351:5): [True: 22.9M, False: 0]
  ------------------
  352|  22.9M|    array[size] = (uint8_t)ix;
  353|  22.9M|    values->size = size+1;
  354|  22.9M|}
ceval.c:get_insertion_order_array:
  340|  22.9M|{
  341|  22.9M|    return (uint8_t *)&values->values[values->capacity];
  342|  22.9M|}

bytesobject.c:_PyFreeList_PopMem:
   99|    310|{
  100|    310|    void *op = _PyFreeList_PopNoStats(fl);
  101|    310|    if (op != NULL) {
  ------------------
  |  Branch (101:9): [True: 272, False: 38]
  ------------------
  102|    272|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|    272|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
  103|    272|    }
  104|    310|    return op;
  105|    310|}
bytesobject.c:_PyFreeList_PopNoStats:
   76|    310|{
   77|    310|    void *obj = fl->freelist;
   78|    310|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 272, False: 38]
  ------------------
   79|    272|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 272, False: 0]
  ------------------
   80|    272|        fl->freelist = *(void **)obj;
   81|    272|        fl->size--;
   82|    272|    }
   83|    310|    return obj;
   84|    310|}
bytesobject.c:_PyFreeList_Free:
   68|    310|{
   69|    310|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 310]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|    310|}
bytesobject.c:_PyFreeList_Push:
   54|    310|{
   55|    310|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 310, False: 0]
  |  Branch (55:31): [True: 310, False: 0]
  ------------------
   56|    310|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|    310|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|    310|        fl->freelist = obj;
   58|    310|        fl->size++;
   59|    310|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|    310|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|    310|        return 1;
   61|    310|    }
   62|      0|    return 0;
   63|    310|}
bytesobject.c:_Py_freelists_GET:
   19|    620|{
   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|    620|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|    620|    return &interp->object_state.freelists;
   30|    620|#endif
   31|    620|}
floatobject.c:_PyFreeList_Pop:
   88|    369|{
   89|    369|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|    369|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 334, False: 35]
  ------------------
   91|    334|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|    334|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|    334|        _Py_NewReference(op);
   93|    334|    }
   94|    369|    return op;
   95|    369|}
floatobject.c:_PyFreeList_PopNoStats:
   76|    369|{
   77|    369|    void *obj = fl->freelist;
   78|    369|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 334, False: 35]
  ------------------
   79|    334|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 334, False: 0]
  ------------------
   80|    334|        fl->freelist = *(void **)obj;
   81|    334|        fl->size--;
   82|    334|    }
   83|    369|    return obj;
   84|    369|}
floatobject.c:_Py_freelists_GET:
   19|    710|{
   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|    710|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|    710|    return &interp->object_state.freelists;
   30|    710|#endif
   31|    710|}
floatobject.c:_PyFreeList_Free:
   68|    341|{
   69|    341|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 341]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|    341|}
floatobject.c:_PyFreeList_Push:
   54|    341|{
   55|    341|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 341, False: 0]
  |  Branch (55:31): [True: 341, False: 0]
  ------------------
   56|    341|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|    341|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|    341|        fl->freelist = obj;
   58|    341|        fl->size++;
   59|    341|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|    341|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|    341|        return 1;
   61|    341|    }
   62|      0|    return 0;
   63|    341|}
listobject.c:_Py_freelists_GET:
   19|  44.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|  44.3M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  44.3M|    return &interp->object_state.freelists;
   30|  44.3M|#endif
   31|  44.3M|}
listobject.c:_PyFreeList_Pop:
   88|  21.6M|{
   89|  21.6M|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  21.6M|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 13.9M, False: 7.71M]
  ------------------
   91|  13.9M|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  13.9M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  13.9M|        _Py_NewReference(op);
   93|  13.9M|    }
   94|  21.6M|    return op;
   95|  21.6M|}
listobject.c:_PyFreeList_PopNoStats:
   76|  21.6M|{
   77|  21.6M|    void *obj = fl->freelist;
   78|  21.6M|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 13.9M, False: 7.71M]
  ------------------
   79|  13.9M|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 13.9M, False: 0]
  ------------------
   80|  13.9M|        fl->freelist = *(void **)obj;
   81|  13.9M|        fl->size--;
   82|  13.9M|    }
   83|  21.6M|    return obj;
   84|  21.6M|}
listobject.c:_PyFreeList_Free:
   68|  22.7M|{
   69|  22.7M|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 8.79M, False: 13.9M]
  ------------------
   70|  8.79M|        dofree(obj);
   71|  8.79M|    }
   72|  22.7M|}
listobject.c:_PyFreeList_Push:
   54|  22.7M|{
   55|  22.7M|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 13.9M, False: 8.79M]
  |  Branch (55:31): [True: 13.9M, False: 0]
  ------------------
   56|  13.9M|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|  13.9M|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  13.9M|        fl->freelist = obj;
   58|  13.9M|        fl->size++;
   59|  13.9M|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  13.9M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  13.9M|        return 1;
   61|  13.9M|    }
   62|  8.79M|    return 0;
   63|  22.7M|}
longobject.c:_PyFreeList_Pop:
   88|  51.3M|{
   89|  51.3M|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  51.3M|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 47.9M, False: 3.36M]
  ------------------
   91|  47.9M|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  47.9M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  47.9M|        _Py_NewReference(op);
   93|  47.9M|    }
   94|  51.3M|    return op;
   95|  51.3M|}
longobject.c:_PyFreeList_PopNoStats:
   76|  51.3M|{
   77|  51.3M|    void *obj = fl->freelist;
   78|  51.3M|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 47.9M, False: 3.36M]
  ------------------
   79|  47.9M|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 47.9M, False: 0]
  ------------------
   80|  47.9M|        fl->freelist = *(void **)obj;
   81|  47.9M|        fl->size--;
   82|  47.9M|    }
   83|  51.3M|    return obj;
   84|  51.3M|}
longobject.c:_PyFreeList_Free:
   68|  51.4M|{
   69|  51.4M|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 3.53M, False: 47.9M]
  ------------------
   70|  3.53M|        dofree(obj);
   71|  3.53M|    }
   72|  51.4M|}
longobject.c:_PyFreeList_Push:
   54|  51.4M|{
   55|  51.4M|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 47.9M, False: 3.53M]
  |  Branch (55:31): [True: 47.9M, False: 0]
  ------------------
   56|  47.9M|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|  47.9M|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  47.9M|        fl->freelist = obj;
   58|  47.9M|        fl->size++;
   59|  47.9M|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  47.9M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  47.9M|        return 1;
   61|  47.9M|    }
   62|  3.53M|    return 0;
   63|  51.4M|}
longobject.c:_Py_freelists_GET:
   19|   102M|{
   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|   102M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|   102M|    return &interp->object_state.freelists;
   30|   102M|#endif
   31|   102M|}
dictobject.c:_Py_freelists_GET:
   19|  1.12M|{
   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|  1.12M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  1.12M|    return &interp->object_state.freelists;
   30|  1.12M|#endif
   31|  1.12M|}
dictobject.c:_PyFreeList_Pop:
   88|  15.8k|{
   89|  15.8k|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  15.8k|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 14.1k, False: 1.71k]
  ------------------
   91|  14.1k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  14.1k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  14.1k|        _Py_NewReference(op);
   93|  14.1k|    }
   94|  15.8k|    return op;
   95|  15.8k|}
dictobject.c:_PyFreeList_PopNoStats:
   76|  19.7k|{
   77|  19.7k|    void *obj = fl->freelist;
   78|  19.7k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 17.4k, False: 2.39k]
  ------------------
   79|  17.4k|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 17.4k, False: 0]
  ------------------
   80|  17.4k|        fl->freelist = *(void **)obj;
   81|  17.4k|        fl->size--;
   82|  17.4k|    }
   83|  19.7k|    return obj;
   84|  19.7k|}
dictobject.c:_PyFreeList_PopMem:
   99|  3.95k|{
  100|  3.95k|    void *op = _PyFreeList_PopNoStats(fl);
  101|  3.95k|    if (op != NULL) {
  ------------------
  |  Branch (101:9): [True: 3.27k, False: 680]
  ------------------
  102|  3.27k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  3.27k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
  103|  3.27k|    }
  104|  3.95k|    return op;
  105|  3.95k|}
dictobject.c:_PyFreeList_Free:
   68|  1.10M|{
   69|  1.10M|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 1.07M, False: 26.1k]
  ------------------
   70|  1.07M|        dofree(obj);
   71|  1.07M|    }
   72|  1.10M|}
dictobject.c:_PyFreeList_Push:
   54|  1.10M|{
   55|  1.10M|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 26.1k, False: 1.07M]
  |  Branch (55:31): [True: 26.1k, False: 0]
  ------------------
   56|  26.1k|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|  26.1k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  26.1k|        fl->freelist = obj;
   58|  26.1k|        fl->size++;
   59|  26.1k|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  26.1k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  26.1k|        return 1;
   61|  26.1k|    }
   62|  1.07M|    return 0;
   63|  1.10M|}
object.c:_PyFreeList_PopNoStats:
   76|   245k|{
   77|   245k|    void *obj = fl->freelist;
   78|   245k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 240k, False: 5.28k]
  ------------------
   79|   240k|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 240k, False: 0]
  ------------------
   80|   240k|        fl->freelist = *(void **)obj;
   81|   240k|        fl->size--;
   82|   240k|    }
   83|   245k|    return obj;
   84|   245k|}
rangeobject.c:_PyFreeList_Free:
   68|  8.99M|{
   69|  8.99M|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 8.99M]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|  8.99M|}
rangeobject.c:_PyFreeList_Push:
   54|  8.99M|{
   55|  8.99M|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 8.99M, False: 0]
  |  Branch (55:31): [True: 8.99M, False: 0]
  ------------------
   56|  8.99M|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|  8.99M|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  8.99M|        fl->freelist = obj;
   58|  8.99M|        fl->size++;
   59|  8.99M|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  8.99M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  8.99M|        return 1;
   61|  8.99M|    }
   62|      0|    return 0;
   63|  8.99M|}
rangeobject.c:_Py_freelists_GET:
   19|  17.9M|{
   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.9M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  17.9M|    return &interp->object_state.freelists;
   30|  17.9M|#endif
   31|  17.9M|}
rangeobject.c:_PyFreeList_Pop:
   88|  8.99M|{
   89|  8.99M|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  8.99M|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 8.99M, False: 401]
  ------------------
   91|  8.99M|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  8.99M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  8.99M|        _Py_NewReference(op);
   93|  8.99M|    }
   94|  8.99M|    return op;
   95|  8.99M|}
rangeobject.c:_PyFreeList_PopNoStats:
   76|  8.99M|{
   77|  8.99M|    void *obj = fl->freelist;
   78|  8.99M|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 8.99M, False: 401]
  ------------------
   79|  8.99M|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 8.99M, False: 0]
  ------------------
   80|  8.99M|        fl->freelist = *(void **)obj;
   81|  8.99M|        fl->size--;
   82|  8.99M|    }
   83|  8.99M|    return obj;
   84|  8.99M|}
sliceobject.c:_PyFreeList_Pop:
   88|  5.02M|{
   89|  5.02M|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  5.02M|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 5.02M, False: 242]
  ------------------
   91|  5.02M|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  5.02M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  5.02M|        _Py_NewReference(op);
   93|  5.02M|    }
   94|  5.02M|    return op;
   95|  5.02M|}
sliceobject.c:_PyFreeList_PopNoStats:
   76|  5.02M|{
   77|  5.02M|    void *obj = fl->freelist;
   78|  5.02M|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 5.02M, False: 242]
  ------------------
   79|  5.02M|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 5.02M, False: 0]
  ------------------
   80|  5.02M|        fl->freelist = *(void **)obj;
   81|  5.02M|        fl->size--;
   82|  5.02M|    }
   83|  5.02M|    return obj;
   84|  5.02M|}
sliceobject.c:_Py_freelists_GET:
   19|  10.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|  10.0M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  10.0M|    return &interp->object_state.freelists;
   30|  10.0M|#endif
   31|  10.0M|}
sliceobject.c:_PyFreeList_Free:
   68|  5.02M|{
   69|  5.02M|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 12, False: 5.02M]
  ------------------
   70|     12|        dofree(obj);
   71|     12|    }
   72|  5.02M|}
sliceobject.c:_PyFreeList_Push:
   54|  5.02M|{
   55|  5.02M|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 5.02M, False: 12]
  |  Branch (55:31): [True: 5.02M, False: 0]
  ------------------
   56|  5.02M|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|  5.02M|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  5.02M|        fl->freelist = obj;
   58|  5.02M|        fl->size++;
   59|  5.02M|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  5.02M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  5.02M|        return 1;
   61|  5.02M|    }
   62|     12|    return 0;
   63|  5.02M|}
tupleobject.c:_PyFreeList_Pop:
   88|  47.5M|{
   89|  47.5M|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  47.5M|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 27.3M, False: 20.1M]
  ------------------
   91|  27.3M|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  27.3M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  27.3M|        _Py_NewReference(op);
   93|  27.3M|    }
   94|  47.5M|    return op;
   95|  47.5M|}
tupleobject.c:_PyFreeList_PopNoStats:
   76|  47.5M|{
   77|  47.5M|    void *obj = fl->freelist;
   78|  47.5M|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 27.3M, False: 20.1M]
  ------------------
   79|  27.3M|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 27.3M, False: 0]
  ------------------
   80|  27.3M|        fl->freelist = *(void **)obj;
   81|  27.3M|        fl->size--;
   82|  27.3M|    }
   83|  47.5M|    return obj;
   84|  47.5M|}
tupleobject.c:_PyFreeList_Free:
   68|     96|{
   69|     96|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 96]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|     96|}
tupleobject.c:_PyFreeList_Push:
   54|  47.1M|{
   55|  47.1M|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 27.5M, False: 19.5M]
  |  Branch (55:31): [True: 27.5M, False: 0]
  ------------------
   56|  27.5M|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|  27.5M|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  27.5M|        fl->freelist = obj;
   58|  27.5M|        fl->size++;
   59|  27.5M|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  27.5M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  27.5M|        return 1;
   61|  27.5M|    }
   62|  19.5M|    return 0;
   63|  47.1M|}
tupleobject.c:_Py_freelists_GET:
   19|  94.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|  94.6M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  94.6M|    return &interp->object_state.freelists;
   30|  94.6M|#endif
   31|  94.6M|}
context.c:_PyFreeList_Pop:
   88|      1|{
   89|      1|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|      1|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 0, False: 1]
  ------------------
   91|      0|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|      0|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|      0|        _Py_NewReference(op);
   93|      0|    }
   94|      1|    return op;
   95|      1|}
context.c:_PyFreeList_PopNoStats:
   76|      1|{
   77|      1|    void *obj = fl->freelist;
   78|      1|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 0, False: 1]
  ------------------
   79|      0|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 0, False: 0]
  ------------------
   80|      0|        fl->freelist = *(void **)obj;
   81|      0|        fl->size--;
   82|      0|    }
   83|      1|    return obj;
   84|      1|}
context.c:_Py_freelists_GET:
   19|      1|{
   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|      1|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|      1|    return &interp->object_state.freelists;
   30|      1|#endif
   31|      1|}
classobject.c:_PyFreeList_Pop:
   88|  12.3M|{
   89|  12.3M|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  12.3M|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 9.99M, False: 2.37M]
  ------------------
   91|  9.99M|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  9.99M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  9.99M|        _Py_NewReference(op);
   93|  9.99M|    }
   94|  12.3M|    return op;
   95|  12.3M|}
classobject.c:_PyFreeList_PopNoStats:
   76|  12.3M|{
   77|  12.3M|    void *obj = fl->freelist;
   78|  12.3M|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 9.99M, False: 2.37M]
  ------------------
   79|  9.99M|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 9.99M, False: 0]
  ------------------
   80|  9.99M|        fl->freelist = *(void **)obj;
   81|  9.99M|        fl->size--;
   82|  9.99M|    }
   83|  12.3M|    return obj;
   84|  12.3M|}
classobject.c:_Py_freelists_GET:
   19|  24.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|  24.7M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  24.7M|    return &interp->object_state.freelists;
   30|  24.7M|#endif
   31|  24.7M|}
classobject.c:_PyFreeList_Free:
   68|  12.3M|{
   69|  12.3M|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 2.37M, False: 9.99M]
  ------------------
   70|  2.37M|        dofree(obj);
   71|  2.37M|    }
   72|  12.3M|}
classobject.c:_PyFreeList_Push:
   54|  12.3M|{
   55|  12.3M|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 9.99M, False: 2.37M]
  |  Branch (55:31): [True: 9.99M, False: 0]
  ------------------
   56|  9.99M|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|  9.99M|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  9.99M|        fl->freelist = obj;
   58|  9.99M|        fl->size++;
   59|  9.99M|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  9.99M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  9.99M|        return 1;
   61|  9.99M|    }
   62|  2.37M|    return 0;
   63|  12.3M|}
methodobject.c:_PyFreeList_Pop:
   88|  6.92M|{
   89|  6.92M|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  6.92M|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 5.88M, False: 1.04M]
  ------------------
   91|  5.88M|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  5.88M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  5.88M|        _Py_NewReference(op);
   93|  5.88M|    }
   94|  6.92M|    return op;
   95|  6.92M|}
methodobject.c:_PyFreeList_PopNoStats:
   76|  6.92M|{
   77|  6.92M|    void *obj = fl->freelist;
   78|  6.92M|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 5.88M, False: 1.04M]
  ------------------
   79|  5.88M|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 5.88M, False: 0]
  ------------------
   80|  5.88M|        fl->freelist = *(void **)obj;
   81|  5.88M|        fl->size--;
   82|  5.88M|    }
   83|  6.92M|    return obj;
   84|  6.92M|}
methodobject.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|}
methodobject.c:_PyFreeList_Free:
   68|  6.92M|{
   69|  6.92M|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 1.03M, False: 5.88M]
  ------------------
   70|  1.03M|        dofree(obj);
   71|  1.03M|    }
   72|  6.92M|}
methodobject.c:_PyFreeList_Push:
   54|  6.92M|{
   55|  6.92M|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 5.88M, False: 1.03M]
  |  Branch (55:31): [True: 5.88M, False: 0]
  ------------------
   56|  5.88M|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|  5.88M|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  5.88M|        fl->freelist = obj;
   58|  5.88M|        fl->size++;
   59|  5.88M|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  5.88M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  5.88M|        return 1;
   61|  5.88M|    }
   62|  1.03M|    return 0;
   63|  6.92M|}

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

bytesobject.c:_PyObject_GC_UNTRACK:
  253|      2|{
  254|      2|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|      2|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 2, False: 0]
  |  |  ------------------
  |  |  415|      2|      ? (void)(0) \
  |  |  416|      2|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  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|}
bytesobject.c:_PyObject_GC_IS_TRACKED:
   73|      4|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|    PyGC_Head *gc = _Py_AS_GC(op);
   78|      4|    return (gc->_gc_next != 0);
   79|      4|#endif
   80|      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|      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|}
bytesobject.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|}
bytesobject.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|}
bytesobject.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);
  ------------------
  |  Branch (162:5): [True: 4, False: 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|}
bytesobject.c:_PyObject_GC_TRACK:
  213|      2|{
  214|      2|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|      2|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 2, False: 0]
  |  |  ------------------
  |  |  415|      2|      ? (void)(0) \
  |  |  416|      2|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  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,
  ------------------
  |  |  414|      2|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 2, False: 0]
  |  |  ------------------
  |  |  415|      2|      ? (void)(0) \
  |  |  416|      2|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  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|}
exceptions.c:_PyObject_GC_UNTRACK:
  253|    153|{
  254|    153|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|    153|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 153, False: 0]
  |  |  ------------------
  |  |  415|    153|      ? (void)(0) \
  |  |  416|    153|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|    153|                          "object not tracked by the garbage collector",
  256|    153|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|    153|    PyGC_Head *gc = _Py_AS_GC(op);
  262|    153|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|    153|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|    153|    _PyGCHead_SET_NEXT(prev, next);
  265|    153|    _PyGCHead_SET_PREV(next, prev);
  266|    153|    gc->_gc_next = 0;
  267|    153|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|    153|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|    153|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|    153|    gcstate->heap_size--;
  270|    153|#endif
  271|    153|}
exceptions.c:_PyObject_GC_IS_TRACKED:
   73|    153|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|    153|    PyGC_Head *gc = _Py_AS_GC(op);
   78|    153|    return (gc->_gc_next != 0);
   79|    153|#endif
   80|    153|}
exceptions.c:_Py_AS_GC:
   17|    306|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|    306|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|    306|    return (PyGC_Head*)gc;
   20|    306|}
exceptions.c:_PyGCHead_PREV:
  155|    153|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|    153|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|    153|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    153|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|    153|    return (PyGC_Head*)prev;
  158|    153|}
exceptions.c:_PyGCHead_NEXT:
  146|    153|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|    153|    uintptr_t next = gc->_gc_next;
  148|    153|    return (PyGC_Head*)next;
  149|    153|}
exceptions.c:_PyGCHead_SET_NEXT:
  150|    153|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|    153|    gc->_gc_next = (uintptr_t)next;
  152|    153|}
exceptions.c:_PyGCHead_SET_PREV:
  160|    153|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|    153|    uintptr_t uprev = (uintptr_t)prev;
  162|    153|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 153, False: 0]
  ------------------
  163|    153|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|    153|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    153|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|    153|}
genericaliasobject.c:_PyObject_GC_UNTRACK:
  253|      5|{
  254|      5|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|      5|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 5, False: 0]
  |  |  ------------------
  |  |  415|      5|      ? (void)(0) \
  |  |  416|      5|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|      5|                          "object not tracked by the garbage collector",
  256|      5|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|      5|    PyGC_Head *gc = _Py_AS_GC(op);
  262|      5|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|      5|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|      5|    _PyGCHead_SET_NEXT(prev, next);
  265|      5|    _PyGCHead_SET_PREV(next, prev);
  266|      5|    gc->_gc_next = 0;
  267|      5|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|      5|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|      5|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|      5|    gcstate->heap_size--;
  270|      5|#endif
  271|      5|}
genericaliasobject.c:_PyObject_GC_IS_TRACKED:
   73|      5|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|      5|    PyGC_Head *gc = _Py_AS_GC(op);
   78|      5|    return (gc->_gc_next != 0);
   79|      5|#endif
   80|      5|}
genericaliasobject.c:_Py_AS_GC:
   17|     10|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|     10|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|     10|    return (PyGC_Head*)gc;
   20|     10|}
genericaliasobject.c:_PyGCHead_PREV:
  155|      5|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|      5|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|      5|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|      5|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|      5|    return (PyGC_Head*)prev;
  158|      5|}
genericaliasobject.c:_PyGCHead_NEXT:
  146|      5|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|      5|    uintptr_t next = gc->_gc_next;
  148|      5|    return (PyGC_Head*)next;
  149|      5|}
genericaliasobject.c:_PyGCHead_SET_NEXT:
  150|      5|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|      5|    gc->_gc_next = (uintptr_t)next;
  152|      5|}
genericaliasobject.c:_PyGCHead_SET_PREV:
  160|      5|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|      5|    uintptr_t uprev = (uintptr_t)prev;
  162|      5|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 5, False: 0]
  ------------------
  163|      5|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|      5|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|      5|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|      5|}
funcobject.c:_PyObject_GC_TRACK:
  213|  1.01M|{
  214|  1.01M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|  1.01M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 1.01M, False: 0]
  |  |  ------------------
  |  |  415|  1.01M|      ? (void)(0) \
  |  |  416|  1.01M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|  1.01M|                          "object already tracked by the garbage collector",
  216|  1.01M|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  1.01M|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  1.01M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  414|  1.01M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 1.01M, False: 0]
  |  |  ------------------
  |  |  415|  1.01M|      ? (void)(0) \
  |  |  416|  1.01M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|  1.01M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  1.01M|                          "object is in generation which is garbage collected",
  224|  1.01M|                          filename, lineno, __func__);
  225|       |
  226|  1.01M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  1.01M|    PyGC_Head *generation0 = gcstate->generation0;
  228|  1.01M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  1.01M|    _PyGCHead_SET_NEXT(last, gc);
  230|  1.01M|    _PyGCHead_SET_PREV(gc, last);
  231|  1.01M|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  1.01M|    generation0->_gc_prev = (uintptr_t)gc;
  233|  1.01M|    gcstate->heap_size++;
  234|  1.01M|#endif
  235|  1.01M|}
funcobject.c:_PyObject_GC_IS_TRACKED:
   73|  2.02M|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.02M|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  2.02M|    return (gc->_gc_next != 0);
   79|  2.02M|#endif
   80|  2.02M|}
funcobject.c:_Py_AS_GC:
   17|  4.05M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  4.05M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  4.05M|    return (PyGC_Head*)gc;
   20|  4.05M|}
funcobject.c:_PyGCHead_SET_NEXT:
  150|  3.04M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  3.04M|    gc->_gc_next = (uintptr_t)next;
  152|  3.04M|}
funcobject.c:_PyGCHead_SET_PREV:
  160|  2.02M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  2.02M|    uintptr_t uprev = (uintptr_t)prev;
  162|  2.02M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 2.02M, False: 0]
  ------------------
  163|  2.02M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  2.02M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  2.02M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  2.02M|}
funcobject.c:_PyObject_GC_UNTRACK:
  253|  1.01M|{
  254|  1.01M|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|  1.01M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 1.01M, False: 0]
  |  |  ------------------
  |  |  415|  1.01M|      ? (void)(0) \
  |  |  416|  1.01M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|  1.01M|                          "object not tracked by the garbage collector",
  256|  1.01M|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  1.01M|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  1.01M|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  1.01M|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  1.01M|    _PyGCHead_SET_NEXT(prev, next);
  265|  1.01M|    _PyGCHead_SET_PREV(next, prev);
  266|  1.01M|    gc->_gc_next = 0;
  267|  1.01M|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  1.01M|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  1.01M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  1.01M|    gcstate->heap_size--;
  270|  1.01M|#endif
  271|  1.01M|}
funcobject.c:_PyGCHead_PREV:
  155|  1.01M|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  1.01M|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  1.01M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  1.01M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  1.01M|    return (PyGC_Head*)prev;
  158|  1.01M|}
funcobject.c:_PyGCHead_NEXT:
  146|  1.01M|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  1.01M|    uintptr_t next = gc->_gc_next;
  148|  1.01M|    return (PyGC_Head*)next;
  149|  1.01M|}
listobject.c:_PyObject_GC_TRACK:
  213|  21.6M|{
  214|  21.6M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|  21.6M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 21.6M, False: 0]
  |  |  ------------------
  |  |  415|  21.6M|      ? (void)(0) \
  |  |  416|  21.6M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|  21.6M|                          "object already tracked by the garbage collector",
  216|  21.6M|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  21.6M|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  21.6M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  414|  21.6M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 21.6M, False: 0]
  |  |  ------------------
  |  |  415|  21.6M|      ? (void)(0) \
  |  |  416|  21.6M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|  21.6M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  21.6M|                          "object is in generation which is garbage collected",
  224|  21.6M|                          filename, lineno, __func__);
  225|       |
  226|  21.6M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  21.6M|    PyGC_Head *generation0 = gcstate->generation0;
  228|  21.6M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  21.6M|    _PyGCHead_SET_NEXT(last, gc);
  230|  21.6M|    _PyGCHead_SET_PREV(gc, last);
  231|  21.6M|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  21.6M|    generation0->_gc_prev = (uintptr_t)gc;
  233|  21.6M|    gcstate->heap_size++;
  234|  21.6M|#endif
  235|  21.6M|}
listobject.c:_PyObject_GC_IS_TRACKED:
   73|  25.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|  25.7M|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  25.7M|    return (gc->_gc_next != 0);
   79|  25.7M|#endif
   80|  25.7M|}
listobject.c:_Py_AS_GC:
   17|  51.4M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  51.4M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  51.4M|    return (PyGC_Head*)gc;
   20|  51.4M|}
listobject.c:_PyGCHead_SET_NEXT:
  150|  47.3M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  47.3M|    gc->_gc_next = (uintptr_t)next;
  152|  47.3M|}
listobject.c:_PyGCHead_SET_PREV:
  160|  25.7M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  25.7M|    uintptr_t uprev = (uintptr_t)prev;
  162|  25.7M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 25.7M, False: 0]
  ------------------
  163|  25.7M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  25.7M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  25.7M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  25.7M|}
listobject.c:_PyObject_GC_UNTRACK:
  253|  4.08M|{
  254|  4.08M|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|  4.08M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 4.08M, False: 0]
  |  |  ------------------
  |  |  415|  4.08M|      ? (void)(0) \
  |  |  416|  4.08M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|  4.08M|                          "object not tracked by the garbage collector",
  256|  4.08M|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  4.08M|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  4.08M|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  4.08M|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  4.08M|    _PyGCHead_SET_NEXT(prev, next);
  265|  4.08M|    _PyGCHead_SET_PREV(next, prev);
  266|  4.08M|    gc->_gc_next = 0;
  267|  4.08M|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  4.08M|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  4.08M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  4.08M|    gcstate->heap_size--;
  270|  4.08M|#endif
  271|  4.08M|}
listobject.c:_PyGCHead_PREV:
  155|  4.08M|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  4.08M|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  4.08M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  4.08M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  4.08M|    return (PyGC_Head*)prev;
  158|  4.08M|}
listobject.c:_PyGCHead_NEXT:
  146|  4.08M|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  4.08M|    uintptr_t next = gc->_gc_next;
  148|  4.08M|    return (PyGC_Head*)next;
  149|  4.08M|}
dictobject.c:_PyObject_GC_IS_TRACKED:
   73|  2.21M|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.21M|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  2.21M|    return (gc->_gc_next != 0);
   79|  2.21M|#endif
   80|  2.21M|}
dictobject.c:_Py_AS_GC:
   17|  3.33M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  3.33M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  3.33M|    return (PyGC_Head*)gc;
   20|  3.33M|}
dictobject.c:_PyObject_GC_TRACK:
  213|  1.11M|{
  214|  1.11M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|  1.11M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 1.11M, False: 0]
  |  |  ------------------
  |  |  415|  1.11M|      ? (void)(0) \
  |  |  416|  1.11M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|  1.11M|                          "object already tracked by the garbage collector",
  216|  1.11M|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  1.11M|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  1.11M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  414|  1.11M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 1.11M, False: 0]
  |  |  ------------------
  |  |  415|  1.11M|      ? (void)(0) \
  |  |  416|  1.11M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|  1.11M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  1.11M|                          "object is in generation which is garbage collected",
  224|  1.11M|                          filename, lineno, __func__);
  225|       |
  226|  1.11M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  1.11M|    PyGC_Head *generation0 = gcstate->generation0;
  228|  1.11M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  1.11M|    _PyGCHead_SET_NEXT(last, gc);
  230|  1.11M|    _PyGCHead_SET_PREV(gc, last);
  231|  1.11M|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  1.11M|    generation0->_gc_prev = (uintptr_t)gc;
  233|  1.11M|    gcstate->heap_size++;
  234|  1.11M|#endif
  235|  1.11M|}
dictobject.c:_PyGCHead_SET_NEXT:
  150|  2.23M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  2.23M|    gc->_gc_next = (uintptr_t)next;
  152|  2.23M|}
dictobject.c:_PyGCHead_SET_PREV:
  160|  1.12M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  1.12M|    uintptr_t uprev = (uintptr_t)prev;
  162|  1.12M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 1.12M, False: 0]
  ------------------
  163|  1.12M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  1.12M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  1.12M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  1.12M|}
dictobject.c:_PyObject_GC_UNTRACK:
  253|  12.3k|{
  254|  12.3k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|  12.3k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 12.3k, False: 0]
  |  |  ------------------
  |  |  415|  12.3k|      ? (void)(0) \
  |  |  416|  12.3k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|  12.3k|                          "object not tracked by the garbage collector",
  256|  12.3k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  12.3k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  12.3k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  12.3k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  12.3k|    _PyGCHead_SET_NEXT(prev, next);
  265|  12.3k|    _PyGCHead_SET_PREV(next, prev);
  266|  12.3k|    gc->_gc_next = 0;
  267|  12.3k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  12.3k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  12.3k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  12.3k|    gcstate->heap_size--;
  270|  12.3k|#endif
  271|  12.3k|}
dictobject.c:_PyGCHead_PREV:
  155|  12.3k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  12.3k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  12.3k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  12.3k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  12.3k|    return (PyGC_Head*)prev;
  158|  12.3k|}
dictobject.c:_PyGCHead_NEXT:
  146|  12.3k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  12.3k|    uintptr_t next = gc->_gc_next;
  148|  12.3k|    return (PyGC_Head*)next;
  149|  12.3k|}
memoryobject.c:_PyObject_GC_UNTRACK:
  253|   711k|{
  254|   711k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|   711k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 711k, False: 0]
  |  |  ------------------
  |  |  415|   711k|      ? (void)(0) \
  |  |  416|   711k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|   711k|                          "object not tracked by the garbage collector",
  256|   711k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|   711k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|   711k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|   711k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|   711k|    _PyGCHead_SET_NEXT(prev, next);
  265|   711k|    _PyGCHead_SET_PREV(next, prev);
  266|   711k|    gc->_gc_next = 0;
  267|   711k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|   711k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|   711k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|   711k|    gcstate->heap_size--;
  270|   711k|#endif
  271|   711k|}
memoryobject.c:_PyObject_GC_IS_TRACKED:
   73|  1.42M|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.42M|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  1.42M|    return (gc->_gc_next != 0);
   79|  1.42M|#endif
   80|  1.42M|}
memoryobject.c:_Py_AS_GC:
   17|  2.84M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  2.84M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  2.84M|    return (PyGC_Head*)gc;
   20|  2.84M|}
memoryobject.c:_PyGCHead_PREV:
  155|   711k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|   711k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|   711k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|   711k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|   711k|    return (PyGC_Head*)prev;
  158|   711k|}
memoryobject.c:_PyGCHead_NEXT:
  146|   711k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|   711k|    uintptr_t next = gc->_gc_next;
  148|   711k|    return (PyGC_Head*)next;
  149|   711k|}
memoryobject.c:_PyGCHead_SET_NEXT:
  150|  2.13M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  2.13M|    gc->_gc_next = (uintptr_t)next;
  152|  2.13M|}
memoryobject.c:_PyGCHead_SET_PREV:
  160|  1.42M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  1.42M|    uintptr_t uprev = (uintptr_t)prev;
  162|  1.42M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 1.42M, False: 0]
  ------------------
  163|  1.42M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  1.42M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  1.42M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  1.42M|}
memoryobject.c:_PyObject_GC_TRACK:
  213|   711k|{
  214|   711k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|   711k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 711k, False: 0]
  |  |  ------------------
  |  |  415|   711k|      ? (void)(0) \
  |  |  416|   711k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|   711k|                          "object already tracked by the garbage collector",
  216|   711k|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|   711k|    PyGC_Head *gc = _Py_AS_GC(op);
  221|   711k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  414|   711k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 711k, False: 0]
  |  |  ------------------
  |  |  415|   711k|      ? (void)(0) \
  |  |  416|   711k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|   711k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|   711k|                          "object is in generation which is garbage collected",
  224|   711k|                          filename, lineno, __func__);
  225|       |
  226|   711k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|   711k|    PyGC_Head *generation0 = gcstate->generation0;
  228|   711k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|   711k|    _PyGCHead_SET_NEXT(last, gc);
  230|   711k|    _PyGCHead_SET_PREV(gc, last);
  231|   711k|    _PyGCHead_SET_NEXT(gc, generation0);
  232|   711k|    generation0->_gc_prev = (uintptr_t)gc;
  233|   711k|    gcstate->heap_size++;
  234|   711k|#endif
  235|   711k|}
object.c:_PyGC_FINALIZED:
  166|  5.23M|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|  5.23M|    PyGC_Head *gc = _Py_AS_GC(op);
  171|  5.23M|    return ((gc->_gc_prev & _PyGC_PREV_MASK_FINALIZED) != 0);
  ------------------
  |  |  117|  5.23M|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  172|  5.23M|#endif
  173|  5.23M|}
object.c:_PyGC_SET_FINALIZED:
  174|  5.23M|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|  5.23M|    PyGC_Head *gc = _Py_AS_GC(op);
  179|  5.23M|    gc->_gc_prev |= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  5.23M|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  180|  5.23M|#endif
  181|  5.23M|}
object.c:_PyObject_GC_IS_TRACKED:
   73|  5.23M|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|  5.23M|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  5.23M|    return (gc->_gc_next != 0);
   79|  5.23M|#endif
   80|  5.23M|}
object.c:_PyObject_GC_UNTRACK:
  253|  1.17k|{
  254|  1.17k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|  1.17k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 1.17k, False: 0]
  |  |  ------------------
  |  |  415|  1.17k|      ? (void)(0) \
  |  |  416|  1.17k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|  1.17k|                          "object not tracked by the garbage collector",
  256|  1.17k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  1.17k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  1.17k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  1.17k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  1.17k|    _PyGCHead_SET_NEXT(prev, next);
  265|  1.17k|    _PyGCHead_SET_PREV(next, prev);
  266|  1.17k|    gc->_gc_next = 0;
  267|  1.17k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  1.17k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  1.17k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  1.17k|    gcstate->heap_size--;
  270|  1.17k|#endif
  271|  1.17k|}
object.c:_PyGCHead_PREV:
  155|  1.17k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  1.17k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  1.17k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  1.17k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  1.17k|    return (PyGC_Head*)prev;
  158|  1.17k|}
object.c:_PyGCHead_NEXT:
  146|  1.17k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  1.17k|    uintptr_t next = gc->_gc_next;
  148|  1.17k|    return (PyGC_Head*)next;
  149|  1.17k|}
object.c:_PyGCHead_SET_NEXT:
  150|  1.87k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  1.87k|    gc->_gc_next = (uintptr_t)next;
  152|  1.87k|}
object.c:_PyGCHead_SET_PREV:
  160|  1.52k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  1.52k|    uintptr_t uprev = (uintptr_t)prev;
  162|  1.52k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 1.52k, False: 0]
  ------------------
  163|  1.52k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  1.52k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  1.52k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  1.52k|}
object.c:_Py_AS_GC:
   17|  15.7M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  15.7M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  15.7M|    return (PyGC_Head*)gc;
   20|  15.7M|}
object.c:_PyObject_GC_TRACK:
  213|    348|{
  214|    348|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|    348|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 348, False: 0]
  |  |  ------------------
  |  |  415|    348|      ? (void)(0) \
  |  |  416|    348|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|    348|                          "object already tracked by the garbage collector",
  216|    348|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|    348|    PyGC_Head *gc = _Py_AS_GC(op);
  221|    348|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  414|    348|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 348, False: 0]
  |  |  ------------------
  |  |  415|    348|      ? (void)(0) \
  |  |  416|    348|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|    348|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|    348|                          "object is in generation which is garbage collected",
  224|    348|                          filename, lineno, __func__);
  225|       |
  226|    348|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|    348|    PyGC_Head *generation0 = gcstate->generation0;
  228|    348|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|    348|    _PyGCHead_SET_NEXT(last, gc);
  230|    348|    _PyGCHead_SET_PREV(gc, last);
  231|    348|    _PyGCHead_SET_NEXT(gc, generation0);
  232|    348|    generation0->_gc_prev = (uintptr_t)gc;
  233|    348|    gcstate->heap_size++;
  234|    348|#endif
  235|    348|}
sentinelobject.c:_PyObject_GC_TRACK:
  213|      1|{
  214|      1|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|      1|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 1, False: 0]
  |  |  ------------------
  |  |  415|      1|      ? (void)(0) \
  |  |  416|      1|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|      1|                          "object already tracked by the garbage collector",
  216|      1|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|      1|    PyGC_Head *gc = _Py_AS_GC(op);
  221|      1|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  414|      1|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 1, False: 0]
  |  |  ------------------
  |  |  415|      1|      ? (void)(0) \
  |  |  416|      1|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|      1|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|      1|                          "object is in generation which is garbage collected",
  224|      1|                          filename, lineno, __func__);
  225|       |
  226|      1|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|      1|    PyGC_Head *generation0 = gcstate->generation0;
  228|      1|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|      1|    _PyGCHead_SET_NEXT(last, gc);
  230|      1|    _PyGCHead_SET_PREV(gc, last);
  231|      1|    _PyGCHead_SET_NEXT(gc, generation0);
  232|      1|    generation0->_gc_prev = (uintptr_t)gc;
  233|      1|    gcstate->heap_size++;
  234|      1|#endif
  235|      1|}
sentinelobject.c:_PyObject_GC_IS_TRACKED:
   73|      1|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|    PyGC_Head *gc = _Py_AS_GC(op);
   78|      1|    return (gc->_gc_next != 0);
   79|      1|#endif
   80|      1|}
sentinelobject.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|}
sentinelobject.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|}
sentinelobject.c:_PyGCHead_SET_PREV:
  160|      1|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|      1|    uintptr_t uprev = (uintptr_t)prev;
  162|      1|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 1, False: 0]
  ------------------
  163|      1|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|      1|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|      1|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|      1|}
setobject.c:_PyObject_GC_UNTRACK:
  253|  3.27k|{
  254|  3.27k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|  3.27k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 3.27k, False: 0]
  |  |  ------------------
  |  |  415|  3.27k|      ? (void)(0) \
  |  |  416|  3.27k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|  3.27k|                          "object not tracked by the garbage collector",
  256|  3.27k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  3.27k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  3.27k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  3.27k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  3.27k|    _PyGCHead_SET_NEXT(prev, next);
  265|  3.27k|    _PyGCHead_SET_PREV(next, prev);
  266|  3.27k|    gc->_gc_next = 0;
  267|  3.27k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  3.27k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  3.27k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  3.27k|    gcstate->heap_size--;
  270|  3.27k|#endif
  271|  3.27k|}
setobject.c:_PyObject_GC_IS_TRACKED:
   73|  12.9k|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|  12.9k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  12.9k|    return (gc->_gc_next != 0);
   79|  12.9k|#endif
   80|  12.9k|}
setobject.c:_Py_AS_GC:
   17|  25.8k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  25.8k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  25.8k|    return (PyGC_Head*)gc;
   20|  25.8k|}
setobject.c:_PyGCHead_PREV:
  155|  3.27k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  3.27k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  3.27k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  3.27k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  3.27k|    return (PyGC_Head*)prev;
  158|  3.27k|}
setobject.c:_PyGCHead_NEXT:
  146|  3.27k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  3.27k|    uintptr_t next = gc->_gc_next;
  148|  3.27k|    return (PyGC_Head*)next;
  149|  3.27k|}
setobject.c:_PyGCHead_SET_NEXT:
  150|  22.5k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  22.5k|    gc->_gc_next = (uintptr_t)next;
  152|  22.5k|}
setobject.c:_PyGCHead_SET_PREV:
  160|  12.9k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  12.9k|    uintptr_t uprev = (uintptr_t)prev;
  162|  12.9k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 12.9k, False: 0]
  ------------------
  163|  12.9k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  12.9k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  12.9k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  12.9k|}
setobject.c:_PyObject_GC_MAY_BE_TRACKED:
   85|    767|static inline int _PyObject_GC_MAY_BE_TRACKED(PyObject *obj) {
   86|    767|    if (!PyObject_IS_GC(obj)) {
  ------------------
  |  Branch (86:9): [True: 740, False: 27]
  ------------------
   87|    740|        return 0;
   88|    740|    }
   89|     27|    if (PyTuple_CheckExact(obj)) {
  ------------------
  |  |   28|     27|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|     27|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 27]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   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|     27|    return 1;
   93|     27|}
setobject.c:_PyObject_GC_TRACK:
  213|  9.65k|{
  214|  9.65k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|  9.65k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 9.65k, False: 0]
  |  |  ------------------
  |  |  415|  9.65k|      ? (void)(0) \
  |  |  416|  9.65k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|  9.65k|                          "object already tracked by the garbage collector",
  216|  9.65k|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  9.65k|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  9.65k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  414|  9.65k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 9.65k, False: 0]
  |  |  ------------------
  |  |  415|  9.65k|      ? (void)(0) \
  |  |  416|  9.65k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|  9.65k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  9.65k|                          "object is in generation which is garbage collected",
  224|  9.65k|                          filename, lineno, __func__);
  225|       |
  226|  9.65k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  9.65k|    PyGC_Head *generation0 = gcstate->generation0;
  228|  9.65k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  9.65k|    _PyGCHead_SET_NEXT(last, gc);
  230|  9.65k|    _PyGCHead_SET_PREV(gc, last);
  231|  9.65k|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  9.65k|    generation0->_gc_prev = (uintptr_t)gc;
  233|  9.65k|    gcstate->heap_size++;
  234|  9.65k|#endif
  235|  9.65k|}
sliceobject.c:_PyObject_GC_TRACK:
  213|  5.02M|{
  214|  5.02M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|  5.02M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 5.02M, False: 0]
  |  |  ------------------
  |  |  415|  5.02M|      ? (void)(0) \
  |  |  416|  5.02M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|  5.02M|                          "object already tracked by the garbage collector",
  216|  5.02M|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  5.02M|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  5.02M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  414|  5.02M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 5.02M, False: 0]
  |  |  ------------------
  |  |  415|  5.02M|      ? (void)(0) \
  |  |  416|  5.02M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|  5.02M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  5.02M|                          "object is in generation which is garbage collected",
  224|  5.02M|                          filename, lineno, __func__);
  225|       |
  226|  5.02M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  5.02M|    PyGC_Head *generation0 = gcstate->generation0;
  228|  5.02M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  5.02M|    _PyGCHead_SET_NEXT(last, gc);
  230|  5.02M|    _PyGCHead_SET_PREV(gc, last);
  231|  5.02M|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  5.02M|    generation0->_gc_prev = (uintptr_t)gc;
  233|  5.02M|    gcstate->heap_size++;
  234|  5.02M|#endif
  235|  5.02M|}
sliceobject.c:_PyObject_GC_IS_TRACKED:
   73|  5.02M|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|  5.02M|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  5.02M|    return (gc->_gc_next != 0);
   79|  5.02M|#endif
   80|  5.02M|}
sliceobject.c:_Py_AS_GC:
   17|  10.0M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  10.0M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  10.0M|    return (PyGC_Head*)gc;
   20|  10.0M|}
sliceobject.c:_PyGCHead_SET_NEXT:
  150|  10.0M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  10.0M|    gc->_gc_next = (uintptr_t)next;
  152|  10.0M|}
sliceobject.c:_PyGCHead_SET_PREV:
  160|  5.02M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  5.02M|    uintptr_t uprev = (uintptr_t)prev;
  162|  5.02M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 5.02M, False: 0]
  ------------------
  163|  5.02M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  5.02M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  5.02M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  5.02M|}
tupleobject.c:_PyObject_GC_TRACK:
  213|  35.2M|{
  214|  35.2M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|  35.2M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 35.2M, False: 0]
  |  |  ------------------
  |  |  415|  35.2M|      ? (void)(0) \
  |  |  416|  35.2M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|  35.2M|                          "object already tracked by the garbage collector",
  216|  35.2M|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  35.2M|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  35.2M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  414|  35.2M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 35.2M, False: 0]
  |  |  ------------------
  |  |  415|  35.2M|      ? (void)(0) \
  |  |  416|  35.2M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|  35.2M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  35.2M|                          "object is in generation which is garbage collected",
  224|  35.2M|                          filename, lineno, __func__);
  225|       |
  226|  35.2M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  35.2M|    PyGC_Head *generation0 = gcstate->generation0;
  228|  35.2M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  35.2M|    _PyGCHead_SET_NEXT(last, gc);
  230|  35.2M|    _PyGCHead_SET_PREV(gc, last);
  231|  35.2M|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  35.2M|    generation0->_gc_prev = (uintptr_t)gc;
  233|  35.2M|    gcstate->heap_size++;
  234|  35.2M|#endif
  235|  35.2M|}
tupleobject.c:_Py_AS_GC:
   17|   106M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|   106M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|   106M|    return (PyGC_Head*)gc;
   20|   106M|}
tupleobject.c:_PyGCHead_SET_NEXT:
  150|  70.7M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  70.7M|    gc->_gc_next = (uintptr_t)next;
  152|  70.7M|}
tupleobject.c:_PyGCHead_SET_PREV:
  160|  35.5M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  35.5M|    uintptr_t uprev = (uintptr_t)prev;
  162|  35.5M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 35.5M, False: 0]
  ------------------
  163|  35.5M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  35.5M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  35.5M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  35.5M|}
tupleobject.c:_PyObject_GC_IS_TRACKED:
   73|  70.4M|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|  70.4M|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  70.4M|    return (gc->_gc_next != 0);
   79|  70.4M|#endif
   80|  70.4M|}
tupleobject.c:_PyObject_GC_MAY_BE_TRACKED:
   85|  49.4M|static inline int _PyObject_GC_MAY_BE_TRACKED(PyObject *obj) {
   86|  49.4M|    if (!PyObject_IS_GC(obj)) {
  ------------------
  |  Branch (86:9): [True: 15.2M, False: 34.2M]
  ------------------
   87|  15.2M|        return 0;
   88|  15.2M|    }
   89|  34.2M|    if (PyTuple_CheckExact(obj)) {
  ------------------
  |  |   28|  34.2M|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  34.2M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  34.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  34.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 372k, False: 33.8M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   90|   372k|        return _PyObject_GC_IS_TRACKED(obj);
  ------------------
  |  |   81|   372k|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|   372k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   91|   372k|    }
   92|  33.8M|    return 1;
   93|  34.2M|}
tupleobject.c:_PyObject_GC_UNTRACK:
  253|   363k|{
  254|   363k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|   363k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 363k, False: 0]
  |  |  ------------------
  |  |  415|   363k|      ? (void)(0) \
  |  |  416|   363k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|   363k|                          "object not tracked by the garbage collector",
  256|   363k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|   363k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|   363k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|   363k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|   363k|    _PyGCHead_SET_NEXT(prev, next);
  265|   363k|    _PyGCHead_SET_PREV(next, prev);
  266|   363k|    gc->_gc_next = 0;
  267|   363k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|   363k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|   363k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|   363k|    gcstate->heap_size--;
  270|   363k|#endif
  271|   363k|}
tupleobject.c:_PyGCHead_PREV:
  155|   363k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|   363k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|   363k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|   363k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|   363k|    return (PyGC_Head*)prev;
  158|   363k|}
tupleobject.c:_PyGCHead_NEXT:
  146|   363k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|   363k|    uintptr_t next = gc->_gc_next;
  148|   363k|    return (PyGC_Head*)next;
  149|   363k|}
typeobject.c:_PyObject_GC_TRACK:
  213|  14.9M|{
  214|  14.9M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|  14.9M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 14.9M, False: 0]
  |  |  ------------------
  |  |  415|  14.9M|      ? (void)(0) \
  |  |  416|  14.9M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|  14.9M|                          "object already tracked by the garbage collector",
  216|  14.9M|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  14.9M|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  14.9M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  414|  14.9M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 14.9M, False: 0]
  |  |  ------------------
  |  |  415|  14.9M|      ? (void)(0) \
  |  |  416|  14.9M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|  14.9M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  14.9M|                          "object is in generation which is garbage collected",
  224|  14.9M|                          filename, lineno, __func__);
  225|       |
  226|  14.9M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  14.9M|    PyGC_Head *generation0 = gcstate->generation0;
  228|  14.9M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  14.9M|    _PyGCHead_SET_NEXT(last, gc);
  230|  14.9M|    _PyGCHead_SET_PREV(gc, last);
  231|  14.9M|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  14.9M|    generation0->_gc_prev = (uintptr_t)gc;
  233|  14.9M|    gcstate->heap_size++;
  234|  14.9M|#endif
  235|  14.9M|}
typeobject.c:_PyObject_GC_IS_TRACKED:
   73|  14.9M|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|  14.9M|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  14.9M|    return (gc->_gc_next != 0);
   79|  14.9M|#endif
   80|  14.9M|}
typeobject.c:_Py_AS_GC:
   17|  29.9M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  29.9M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  29.9M|    return (PyGC_Head*)gc;
   20|  29.9M|}
typeobject.c:_PyGCHead_SET_NEXT:
  150|  29.9M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  29.9M|    gc->_gc_next = (uintptr_t)next;
  152|  29.9M|}
typeobject.c:_PyGCHead_SET_PREV:
  160|  14.9M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  14.9M|    uintptr_t uprev = (uintptr_t)prev;
  162|  14.9M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 14.9M, False: 0]
  ------------------
  163|  14.9M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  14.9M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  14.9M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  14.9M|}
typeobject.c:_PyObject_GC_UNTRACK:
  253|    292|{
  254|    292|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|    292|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 292, False: 0]
  |  |  ------------------
  |  |  415|    292|      ? (void)(0) \
  |  |  416|    292|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|    292|                          "object not tracked by the garbage collector",
  256|    292|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|    292|    PyGC_Head *gc = _Py_AS_GC(op);
  262|    292|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|    292|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|    292|    _PyGCHead_SET_NEXT(prev, next);
  265|    292|    _PyGCHead_SET_PREV(next, prev);
  266|    292|    gc->_gc_next = 0;
  267|    292|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|    292|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|    292|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|    292|    gcstate->heap_size--;
  270|    292|#endif
  271|    292|}
typeobject.c:_PyGCHead_PREV:
  155|    292|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|    292|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|    292|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    292|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|    292|    return (PyGC_Head*)prev;
  158|    292|}
typeobject.c:_PyGCHead_NEXT:
  146|    292|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|    292|    uintptr_t next = gc->_gc_next;
  148|    292|    return (PyGC_Head*)next;
  149|    292|}
unicodeobject.c:_PyObject_GC_UNTRACK:
  253|     31|{
  254|     31|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|     31|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 31, False: 0]
  |  |  ------------------
  |  |  415|     31|      ? (void)(0) \
  |  |  416|     31|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|     31|                          "object not tracked by the garbage collector",
  256|     31|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|     31|    PyGC_Head *gc = _Py_AS_GC(op);
  262|     31|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|     31|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|     31|    _PyGCHead_SET_NEXT(prev, next);
  265|     31|    _PyGCHead_SET_PREV(next, prev);
  266|     31|    gc->_gc_next = 0;
  267|     31|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|     31|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|     31|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|     31|    gcstate->heap_size--;
  270|     31|#endif
  271|     31|}
unicodeobject.c:_PyObject_GC_IS_TRACKED:
   73|     62|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|     62|    PyGC_Head *gc = _Py_AS_GC(op);
   78|     62|    return (gc->_gc_next != 0);
   79|     62|#endif
   80|     62|}
unicodeobject.c:_Py_AS_GC:
   17|    124|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|    124|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|    124|    return (PyGC_Head*)gc;
   20|    124|}
unicodeobject.c:_PyGCHead_PREV:
  155|     31|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|     31|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|     31|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|     31|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|     31|    return (PyGC_Head*)prev;
  158|     31|}
unicodeobject.c:_PyGCHead_NEXT:
  146|     31|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|     31|    uintptr_t next = gc->_gc_next;
  148|     31|    return (PyGC_Head*)next;
  149|     31|}
unicodeobject.c:_PyGCHead_SET_NEXT:
  150|     93|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|     93|    gc->_gc_next = (uintptr_t)next;
  152|     93|}
unicodeobject.c:_PyGCHead_SET_PREV:
  160|     62|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|     62|    uintptr_t uprev = (uintptr_t)prev;
  162|     62|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 62, False: 0]
  ------------------
  163|     62|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|     62|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|     62|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|     62|}
unicodeobject.c:_PyObject_GC_TRACK:
  213|     31|{
  214|     31|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|     31|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 31, False: 0]
  |  |  ------------------
  |  |  415|     31|      ? (void)(0) \
  |  |  416|     31|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|     31|                          "object already tracked by the garbage collector",
  216|     31|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|     31|    PyGC_Head *gc = _Py_AS_GC(op);
  221|     31|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  414|     31|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 31, False: 0]
  |  |  ------------------
  |  |  415|     31|      ? (void)(0) \
  |  |  416|     31|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|     31|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|     31|                          "object is in generation which is garbage collected",
  224|     31|                          filename, lineno, __func__);
  225|       |
  226|     31|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|     31|    PyGC_Head *generation0 = gcstate->generation0;
  228|     31|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|     31|    _PyGCHead_SET_NEXT(last, gc);
  230|     31|    _PyGCHead_SET_PREV(gc, last);
  231|     31|    _PyGCHead_SET_NEXT(gc, generation0);
  232|     31|    generation0->_gc_prev = (uintptr_t)gc;
  233|     31|    gcstate->heap_size++;
  234|     31|#endif
  235|     31|}
unionobject.c:_PyObject_GC_UNTRACK:
  253|      1|{
  254|      1|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|      1|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 1, False: 0]
  |  |  ------------------
  |  |  415|      1|      ? (void)(0) \
  |  |  416|      1|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|      1|                          "object not tracked by the garbage collector",
  256|      1|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|      1|    PyGC_Head *gc = _Py_AS_GC(op);
  262|      1|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|      1|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|      1|    _PyGCHead_SET_NEXT(prev, next);
  265|      1|    _PyGCHead_SET_PREV(next, prev);
  266|      1|    gc->_gc_next = 0;
  267|      1|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|      1|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|      1|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|      1|    gcstate->heap_size--;
  270|      1|#endif
  271|      1|}
unionobject.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|}
unionobject.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|}
unionobject.c:_PyGCHead_PREV:
  155|      1|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|      1|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|      1|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|      1|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|      1|    return (PyGC_Head*)prev;
  158|      1|}
unionobject.c:_PyGCHead_NEXT:
  146|      1|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|      1|    uintptr_t next = gc->_gc_next;
  148|      1|    return (PyGC_Head*)next;
  149|      1|}
unionobject.c:_PyGCHead_SET_NEXT:
  150|      3|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|      3|    gc->_gc_next = (uintptr_t)next;
  152|      3|}
unionobject.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);
  ------------------
  |  Branch (162:5): [True: 2, False: 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|}
unionobject.c:_PyObject_GC_TRACK:
  213|      1|{
  214|      1|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|      1|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 1, False: 0]
  |  |  ------------------
  |  |  415|      1|      ? (void)(0) \
  |  |  416|      1|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|      1|                          "object already tracked by the garbage collector",
  216|      1|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|      1|    PyGC_Head *gc = _Py_AS_GC(op);
  221|      1|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  414|      1|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 1, False: 0]
  |  |  ------------------
  |  |  415|      1|      ? (void)(0) \
  |  |  416|      1|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|      1|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|      1|                          "object is in generation which is garbage collected",
  224|      1|                          filename, lineno, __func__);
  225|       |
  226|      1|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|      1|    PyGC_Head *generation0 = gcstate->generation0;
  228|      1|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|      1|    _PyGCHead_SET_NEXT(last, gc);
  230|      1|    _PyGCHead_SET_PREV(gc, last);
  231|      1|    _PyGCHead_SET_NEXT(gc, generation0);
  232|      1|    generation0->_gc_prev = (uintptr_t)gc;
  233|      1|    gcstate->heap_size++;
  234|      1|#endif
  235|      1|}
bltinmodule.c:_PyObject_GC_IS_TRACKED:
   73|     68|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|     68|    PyGC_Head *gc = _Py_AS_GC(op);
   78|     68|    return (gc->_gc_next != 0);
   79|     68|#endif
   80|     68|}
bltinmodule.c:_Py_AS_GC:
   17|     68|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|     68|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|     68|    return (PyGC_Head*)gc;
   20|     68|}
context.c:_PyObject_GC_TRACK:
  213|      1|{
  214|      1|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|      1|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 1, False: 0]
  |  |  ------------------
  |  |  415|      1|      ? (void)(0) \
  |  |  416|      1|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|      1|                          "object already tracked by the garbage collector",
  216|      1|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|      1|    PyGC_Head *gc = _Py_AS_GC(op);
  221|      1|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  414|      1|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 1, False: 0]
  |  |  ------------------
  |  |  415|      1|      ? (void)(0) \
  |  |  416|      1|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|      1|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|      1|                          "object is in generation which is garbage collected",
  224|      1|                          filename, lineno, __func__);
  225|       |
  226|      1|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|      1|    PyGC_Head *generation0 = gcstate->generation0;
  228|      1|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|      1|    _PyGCHead_SET_NEXT(last, gc);
  230|      1|    _PyGCHead_SET_PREV(gc, last);
  231|      1|    _PyGCHead_SET_NEXT(gc, generation0);
  232|      1|    generation0->_gc_prev = (uintptr_t)gc;
  233|      1|    gcstate->heap_size++;
  234|      1|#endif
  235|      1|}
context.c:_PyObject_GC_IS_TRACKED:
   73|      1|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|    PyGC_Head *gc = _Py_AS_GC(op);
   78|      1|    return (gc->_gc_next != 0);
   79|      1|#endif
   80|      1|}
context.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|}
context.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|}
context.c:_PyGCHead_SET_PREV:
  160|      1|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|      1|    uintptr_t uprev = (uintptr_t)prev;
  162|      1|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 1, False: 0]
  ------------------
  163|      1|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|      1|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|      1|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|      1|}
context.c:_PyObject_GC_MAY_BE_TRACKED:
   85|      4|static inline int _PyObject_GC_MAY_BE_TRACKED(PyObject *obj) {
   86|      4|    if (!PyObject_IS_GC(obj)) {
  ------------------
  |  Branch (86:9): [True: 4, False: 0]
  ------------------
   87|      4|        return 0;
   88|      4|    }
   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|  6.18M|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|  6.18M|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  6.18M|    return (gc->_gc_next != 0);
   79|  6.18M|#endif
   80|  6.18M|}
frame.c:_Py_AS_GC:
   17|  9.27M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  9.27M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  9.27M|    return (PyGC_Head*)gc;
   20|  9.27M|}
frame.c:_PyObject_GC_TRACK:
  213|  3.09M|{
  214|  3.09M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|  3.09M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 3.09M, False: 0]
  |  |  ------------------
  |  |  415|  3.09M|      ? (void)(0) \
  |  |  416|  3.09M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|  3.09M|                          "object already tracked by the garbage collector",
  216|  3.09M|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  3.09M|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  3.09M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  414|  3.09M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 3.09M, False: 0]
  |  |  ------------------
  |  |  415|  3.09M|      ? (void)(0) \
  |  |  416|  3.09M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|  3.09M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  3.09M|                          "object is in generation which is garbage collected",
  224|  3.09M|                          filename, lineno, __func__);
  225|       |
  226|  3.09M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  3.09M|    PyGC_Head *generation0 = gcstate->generation0;
  228|  3.09M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  3.09M|    _PyGCHead_SET_NEXT(last, gc);
  230|  3.09M|    _PyGCHead_SET_PREV(gc, last);
  231|  3.09M|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  3.09M|    generation0->_gc_prev = (uintptr_t)gc;
  233|  3.09M|    gcstate->heap_size++;
  234|  3.09M|#endif
  235|  3.09M|}
frame.c:_PyGCHead_SET_NEXT:
  150|  6.18M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  6.18M|    gc->_gc_next = (uintptr_t)next;
  152|  6.18M|}
frame.c:_PyGCHead_SET_PREV:
  160|  3.09M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  3.09M|    uintptr_t uprev = (uintptr_t)prev;
  162|  3.09M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 3.09M, False: 0]
  ------------------
  163|  3.09M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  3.09M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  3.09M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  3.09M|}
gc.c:_PyGCHead_NEXT:
  146|   319M|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|   319M|    uintptr_t next = gc->_gc_next;
  148|   319M|    return (PyGC_Head*)next;
  149|   319M|}
gc.c:_PyGCHead_PREV:
  155|   150M|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|   150M|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|   150M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|   150M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|   150M|    return (PyGC_Head*)prev;
  158|   150M|}
gc.c:_PyGCHead_SET_NEXT:
  150|   156M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|   156M|    gc->_gc_next = (uintptr_t)next;
  152|   156M|}
gc.c:_PyGCHead_SET_PREV:
  160|   253M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|   253M|    uintptr_t uprev = (uintptr_t)prev;
  162|   253M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 253M, False: 0]
  ------------------
  163|   253M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|   253M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|   253M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|   253M|}
gc.c:_Py_FROM_GC:
   23|   268M|static inline PyObject* _Py_FROM_GC(PyGC_Head *gc) {
   24|   268M|    char *op = ((char *)gc) + sizeof(PyGC_Head);
   25|   268M|    return (PyObject *)op;
   26|   268M|}
gc.c:_PyObject_GC_IS_TRACKED:
   73|   255M|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|   255M|    PyGC_Head *gc = _Py_AS_GC(op);
   78|   255M|    return (gc->_gc_next != 0);
   79|   255M|#endif
   80|   255M|}
gc.c:_PyObject_GC_TRACK:
  213|  3.11M|{
  214|  3.11M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|  3.11M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 3.11M, False: 0]
  |  |  ------------------
  |  |  415|  3.11M|      ? (void)(0) \
  |  |  416|  3.11M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|  3.11M|                          "object already tracked by the garbage collector",
  216|  3.11M|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  3.11M|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  3.11M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  414|  3.11M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 3.11M, False: 0]
  |  |  ------------------
  |  |  415|  3.11M|      ? (void)(0) \
  |  |  416|  3.11M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|  3.11M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  3.11M|                          "object is in generation which is garbage collected",
  224|  3.11M|                          filename, lineno, __func__);
  225|       |
  226|  3.11M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  3.11M|    PyGC_Head *generation0 = gcstate->generation0;
  228|  3.11M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  3.11M|    _PyGCHead_SET_NEXT(last, gc);
  230|  3.11M|    _PyGCHead_SET_PREV(gc, last);
  231|  3.11M|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  3.11M|    generation0->_gc_prev = (uintptr_t)gc;
  233|  3.11M|    gcstate->heap_size++;
  234|  3.11M|#endif
  235|  3.11M|}
gc.c:_PyObject_GC_UNTRACK:
  253|  85.2M|{
  254|  85.2M|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|  85.2M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 85.2M, False: 0]
  |  |  ------------------
  |  |  415|  85.2M|      ? (void)(0) \
  |  |  416|  85.2M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|  85.2M|                          "object not tracked by the garbage collector",
  256|  85.2M|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  85.2M|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  85.2M|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  85.2M|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  85.2M|    _PyGCHead_SET_NEXT(prev, next);
  265|  85.2M|    _PyGCHead_SET_PREV(next, prev);
  266|  85.2M|    gc->_gc_next = 0;
  267|  85.2M|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  85.2M|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  85.2M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  85.2M|    gcstate->heap_size--;
  270|  85.2M|#endif
  271|  85.2M|}
gc.c:_Py_AS_GC:
   17|   784M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|   784M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|   784M|    return (PyGC_Head*)gc;
   20|   784M|}
gc.c:_PyGC_FINALIZED:
  166|  6.25k|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|  6.25k|    PyGC_Head *gc = _Py_AS_GC(op);
  171|  6.25k|    return ((gc->_gc_prev & _PyGC_PREV_MASK_FINALIZED) != 0);
  ------------------
  |  |  117|  6.25k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  172|  6.25k|#endif
  173|  6.25k|}
hamt.c:_PyObject_GC_TRACK:
  213|      1|{
  214|      1|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|      1|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 1, False: 0]
  |  |  ------------------
  |  |  415|      1|      ? (void)(0) \
  |  |  416|      1|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|      1|                          "object already tracked by the garbage collector",
  216|      1|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|      1|    PyGC_Head *gc = _Py_AS_GC(op);
  221|      1|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  414|      1|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 1, False: 0]
  |  |  ------------------
  |  |  415|      1|      ? (void)(0) \
  |  |  416|      1|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|      1|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|      1|                          "object is in generation which is garbage collected",
  224|      1|                          filename, lineno, __func__);
  225|       |
  226|      1|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|      1|    PyGC_Head *generation0 = gcstate->generation0;
  228|      1|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|      1|    _PyGCHead_SET_NEXT(last, gc);
  230|      1|    _PyGCHead_SET_PREV(gc, last);
  231|      1|    _PyGCHead_SET_NEXT(gc, generation0);
  232|      1|    generation0->_gc_prev = (uintptr_t)gc;
  233|      1|    gcstate->heap_size++;
  234|      1|#endif
  235|      1|}
hamt.c:_PyObject_GC_IS_TRACKED:
   73|      1|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|    PyGC_Head *gc = _Py_AS_GC(op);
   78|      1|    return (gc->_gc_next != 0);
   79|      1|#endif
   80|      1|}
hamt.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|}
hamt.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|}
hamt.c:_PyGCHead_SET_PREV:
  160|      1|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|      1|    uintptr_t uprev = (uintptr_t)prev;
  162|      1|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 1, False: 0]
  ------------------
  163|      1|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|      1|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|      1|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|      1|}
fileio.c:_PyObject_GC_UNTRACK:
  253|     27|{
  254|     27|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|     27|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 27, False: 0]
  |  |  ------------------
  |  |  415|     27|      ? (void)(0) \
  |  |  416|     27|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|     27|                          "object not tracked by the garbage collector",
  256|     27|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|     27|    PyGC_Head *gc = _Py_AS_GC(op);
  262|     27|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|     27|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|     27|    _PyGCHead_SET_NEXT(prev, next);
  265|     27|    _PyGCHead_SET_PREV(next, prev);
  266|     27|    gc->_gc_next = 0;
  267|     27|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|     27|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|     27|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|     27|    gcstate->heap_size--;
  270|     27|#endif
  271|     27|}
fileio.c:_PyObject_GC_IS_TRACKED:
   73|     27|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|     27|    PyGC_Head *gc = _Py_AS_GC(op);
   78|     27|    return (gc->_gc_next != 0);
   79|     27|#endif
   80|     27|}
fileio.c:_Py_AS_GC:
   17|     54|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|     54|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|     54|    return (PyGC_Head*)gc;
   20|     54|}
fileio.c:_PyGCHead_PREV:
  155|     27|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|     27|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|     27|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|     27|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|     27|    return (PyGC_Head*)prev;
  158|     27|}
fileio.c:_PyGCHead_NEXT:
  146|     27|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|     27|    uintptr_t next = gc->_gc_next;
  148|     27|    return (PyGC_Head*)next;
  149|     27|}
fileio.c:_PyGCHead_SET_NEXT:
  150|     27|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|     27|    gc->_gc_next = (uintptr_t)next;
  152|     27|}
fileio.c:_PyGCHead_SET_PREV:
  160|     27|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|     27|    uintptr_t uprev = (uintptr_t)prev;
  162|     27|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 27, False: 0]
  ------------------
  163|     27|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|     27|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|     27|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|     27|}
bufferedio.c:_PyObject_GC_UNTRACK:
  253|     27|{
  254|     27|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|     27|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 27, False: 0]
  |  |  ------------------
  |  |  415|     27|      ? (void)(0) \
  |  |  416|     27|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|     27|                          "object not tracked by the garbage collector",
  256|     27|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|     27|    PyGC_Head *gc = _Py_AS_GC(op);
  262|     27|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|     27|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|     27|    _PyGCHead_SET_NEXT(prev, next);
  265|     27|    _PyGCHead_SET_PREV(next, prev);
  266|     27|    gc->_gc_next = 0;
  267|     27|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|     27|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|     27|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|     27|    gcstate->heap_size--;
  270|     27|#endif
  271|     27|}
bufferedio.c:_PyObject_GC_IS_TRACKED:
   73|     27|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|     27|    PyGC_Head *gc = _Py_AS_GC(op);
   78|     27|    return (gc->_gc_next != 0);
   79|     27|#endif
   80|     27|}
bufferedio.c:_Py_AS_GC:
   17|     54|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|     54|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|     54|    return (PyGC_Head*)gc;
   20|     54|}
bufferedio.c:_PyGCHead_PREV:
  155|     27|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|     27|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|     27|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|     27|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|     27|    return (PyGC_Head*)prev;
  158|     27|}
bufferedio.c:_PyGCHead_NEXT:
  146|     27|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|     27|    uintptr_t next = gc->_gc_next;
  148|     27|    return (PyGC_Head*)next;
  149|     27|}
bufferedio.c:_PyGCHead_SET_NEXT:
  150|     27|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|     27|    gc->_gc_next = (uintptr_t)next;
  152|     27|}
bufferedio.c:_PyGCHead_SET_PREV:
  160|     27|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|     27|    uintptr_t uprev = (uintptr_t)prev;
  162|     27|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 27, False: 0]
  ------------------
  163|     27|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|     27|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|     27|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|     27|}
textio.c:_PyObject_GC_UNTRACK:
  253|      6|{
  254|      6|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|      6|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 6, False: 0]
  |  |  ------------------
  |  |  415|      6|      ? (void)(0) \
  |  |  416|      6|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|      6|                          "object not tracked by the garbage collector",
  256|      6|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|      6|    PyGC_Head *gc = _Py_AS_GC(op);
  262|      6|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|      6|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|      6|    _PyGCHead_SET_NEXT(prev, next);
  265|      6|    _PyGCHead_SET_PREV(next, prev);
  266|      6|    gc->_gc_next = 0;
  267|      6|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|      6|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|      6|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|      6|    gcstate->heap_size--;
  270|      6|#endif
  271|      6|}
textio.c:_PyObject_GC_IS_TRACKED:
   73|      6|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|      6|    PyGC_Head *gc = _Py_AS_GC(op);
   78|      6|    return (gc->_gc_next != 0);
   79|      6|#endif
   80|      6|}
textio.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|}
textio.c:_PyGCHead_PREV:
  155|      6|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|      6|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|      6|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|      6|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|      6|    return (PyGC_Head*)prev;
  158|      6|}
textio.c:_PyGCHead_NEXT:
  146|      6|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|      6|    uintptr_t next = gc->_gc_next;
  148|      6|    return (PyGC_Head*)next;
  149|      6|}
textio.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|}
textio.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);
  ------------------
  |  Branch (162:5): [True: 6, False: 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|}
bytearrayobject.c:_PyObject_GC_UNTRACK:
  253|      2|{
  254|      2|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|      2|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 2, False: 0]
  |  |  ------------------
  |  |  415|      2|      ? (void)(0) \
  |  |  416|      2|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  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:_PyObject_GC_IS_TRACKED:
   73|      4|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|    PyGC_Head *gc = _Py_AS_GC(op);
   78|      4|    return (gc->_gc_next != 0);
   79|      4|#endif
   80|      4|}
bytearrayobject.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|}
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);
  ------------------
  |  Branch (162:5): [True: 4, False: 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),
  ------------------
  |  |  414|      2|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 2, False: 0]
  |  |  ------------------
  |  |  415|      2|      ? (void)(0) \
  |  |  416|      2|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  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,
  ------------------
  |  |  414|      2|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 2, False: 0]
  |  |  ------------------
  |  |  415|      2|      ? (void)(0) \
  |  |  416|      2|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  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|}
cellobject.c:_PyObject_GC_TRACK:
  213|  2.96M|{
  214|  2.96M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|  2.96M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 2.96M, False: 0]
  |  |  ------------------
  |  |  415|  2.96M|      ? (void)(0) \
  |  |  416|  2.96M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|  2.96M|                          "object already tracked by the garbage collector",
  216|  2.96M|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  2.96M|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  2.96M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  414|  2.96M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 2.96M, False: 0]
  |  |  ------------------
  |  |  415|  2.96M|      ? (void)(0) \
  |  |  416|  2.96M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|  2.96M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  2.96M|                          "object is in generation which is garbage collected",
  224|  2.96M|                          filename, lineno, __func__);
  225|       |
  226|  2.96M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  2.96M|    PyGC_Head *generation0 = gcstate->generation0;
  228|  2.96M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  2.96M|    _PyGCHead_SET_NEXT(last, gc);
  230|  2.96M|    _PyGCHead_SET_PREV(gc, last);
  231|  2.96M|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  2.96M|    generation0->_gc_prev = (uintptr_t)gc;
  233|  2.96M|    gcstate->heap_size++;
  234|  2.96M|#endif
  235|  2.96M|}
cellobject.c:_PyObject_GC_IS_TRACKED:
   73|  5.93M|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|  5.93M|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  5.93M|    return (gc->_gc_next != 0);
   79|  5.93M|#endif
   80|  5.93M|}
cellobject.c:_Py_AS_GC:
   17|  11.8M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  11.8M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  11.8M|    return (PyGC_Head*)gc;
   20|  11.8M|}
cellobject.c:_PyGCHead_SET_NEXT:
  150|  8.90M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  8.90M|    gc->_gc_next = (uintptr_t)next;
  152|  8.90M|}
cellobject.c:_PyGCHead_SET_PREV:
  160|  5.93M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  5.93M|    uintptr_t uprev = (uintptr_t)prev;
  162|  5.93M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 5.93M, False: 0]
  ------------------
  163|  5.93M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  5.93M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  5.93M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  5.93M|}
cellobject.c:_PyObject_GC_UNTRACK:
  253|  2.96M|{
  254|  2.96M|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|  2.96M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 2.96M, False: 0]
  |  |  ------------------
  |  |  415|  2.96M|      ? (void)(0) \
  |  |  416|  2.96M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|  2.96M|                          "object not tracked by the garbage collector",
  256|  2.96M|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  2.96M|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  2.96M|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  2.96M|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  2.96M|    _PyGCHead_SET_NEXT(prev, next);
  265|  2.96M|    _PyGCHead_SET_PREV(next, prev);
  266|  2.96M|    gc->_gc_next = 0;
  267|  2.96M|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  2.96M|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  2.96M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  2.96M|    gcstate->heap_size--;
  270|  2.96M|#endif
  271|  2.96M|}
cellobject.c:_PyGCHead_PREV:
  155|  2.96M|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  2.96M|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  2.96M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  2.96M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  2.96M|    return (PyGC_Head*)prev;
  158|  2.96M|}
cellobject.c:_PyGCHead_NEXT:
  146|  2.96M|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  2.96M|    uintptr_t next = gc->_gc_next;
  148|  2.96M|    return (PyGC_Head*)next;
  149|  2.96M|}
classobject.c:_PyObject_GC_TRACK:
  213|  12.3M|{
  214|  12.3M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|  12.3M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 12.3M, False: 0]
  |  |  ------------------
  |  |  415|  12.3M|      ? (void)(0) \
  |  |  416|  12.3M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|  12.3M|                          "object already tracked by the garbage collector",
  216|  12.3M|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  12.3M|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  12.3M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  414|  12.3M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 12.3M, False: 0]
  |  |  ------------------
  |  |  415|  12.3M|      ? (void)(0) \
  |  |  416|  12.3M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|  12.3M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  12.3M|                          "object is in generation which is garbage collected",
  224|  12.3M|                          filename, lineno, __func__);
  225|       |
  226|  12.3M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  12.3M|    PyGC_Head *generation0 = gcstate->generation0;
  228|  12.3M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  12.3M|    _PyGCHead_SET_NEXT(last, gc);
  230|  12.3M|    _PyGCHead_SET_PREV(gc, last);
  231|  12.3M|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  12.3M|    generation0->_gc_prev = (uintptr_t)gc;
  233|  12.3M|    gcstate->heap_size++;
  234|  12.3M|#endif
  235|  12.3M|}
classobject.c:_PyObject_GC_IS_TRACKED:
   73|  24.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|  24.7M|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  24.7M|    return (gc->_gc_next != 0);
   79|  24.7M|#endif
   80|  24.7M|}
classobject.c:_Py_AS_GC:
   17|  49.4M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  49.4M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  49.4M|    return (PyGC_Head*)gc;
   20|  49.4M|}
classobject.c:_PyGCHead_SET_NEXT:
  150|  37.1M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  37.1M|    gc->_gc_next = (uintptr_t)next;
  152|  37.1M|}
classobject.c:_PyGCHead_SET_PREV:
  160|  24.7M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  24.7M|    uintptr_t uprev = (uintptr_t)prev;
  162|  24.7M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 24.7M, False: 0]
  ------------------
  163|  24.7M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  24.7M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  24.7M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  24.7M|}
classobject.c:_PyObject_GC_UNTRACK:
  253|  12.3M|{
  254|  12.3M|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|  12.3M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 12.3M, False: 0]
  |  |  ------------------
  |  |  415|  12.3M|      ? (void)(0) \
  |  |  416|  12.3M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|  12.3M|                          "object not tracked by the garbage collector",
  256|  12.3M|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  12.3M|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  12.3M|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  12.3M|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  12.3M|    _PyGCHead_SET_NEXT(prev, next);
  265|  12.3M|    _PyGCHead_SET_PREV(next, prev);
  266|  12.3M|    gc->_gc_next = 0;
  267|  12.3M|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  12.3M|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  12.3M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  12.3M|    gcstate->heap_size--;
  270|  12.3M|#endif
  271|  12.3M|}
classobject.c:_PyGCHead_PREV:
  155|  12.3M|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  12.3M|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  12.3M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  12.3M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  12.3M|    return (PyGC_Head*)prev;
  158|  12.3M|}
classobject.c:_PyGCHead_NEXT:
  146|  12.3M|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  12.3M|    uintptr_t next = gc->_gc_next;
  148|  12.3M|    return (PyGC_Head*)next;
  149|  12.3M|}
descrobject.c:_PyObject_GC_UNTRACK:
  253|    470|{
  254|    470|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|    470|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 470, False: 0]
  |  |  ------------------
  |  |  415|    470|      ? (void)(0) \
  |  |  416|    470|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|    470|                          "object not tracked by the garbage collector",
  256|    470|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|    470|    PyGC_Head *gc = _Py_AS_GC(op);
  262|    470|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|    470|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|    470|    _PyGCHead_SET_NEXT(prev, next);
  265|    470|    _PyGCHead_SET_PREV(next, prev);
  266|    470|    gc->_gc_next = 0;
  267|    470|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|    470|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|    470|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|    470|    gcstate->heap_size--;
  270|    470|#endif
  271|    470|}
descrobject.c:_PyObject_GC_IS_TRACKED:
   73|    961|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|    961|    PyGC_Head *gc = _Py_AS_GC(op);
   78|    961|    return (gc->_gc_next != 0);
   79|    961|#endif
   80|    961|}
descrobject.c:_Py_AS_GC:
   17|  1.92k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  1.92k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  1.92k|    return (PyGC_Head*)gc;
   20|  1.92k|}
descrobject.c:_PyGCHead_PREV:
  155|    470|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|    470|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|    470|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    470|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|    470|    return (PyGC_Head*)prev;
  158|    470|}
descrobject.c:_PyGCHead_NEXT:
  146|    470|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|    470|    uintptr_t next = gc->_gc_next;
  148|    470|    return (PyGC_Head*)next;
  149|    470|}
descrobject.c:_PyGCHead_SET_NEXT:
  150|  1.45k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  1.45k|    gc->_gc_next = (uintptr_t)next;
  152|  1.45k|}
descrobject.c:_PyGCHead_SET_PREV:
  160|    961|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|    961|    uintptr_t uprev = (uintptr_t)prev;
  162|    961|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 961, False: 0]
  ------------------
  163|    961|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|    961|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    961|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|    961|}
descrobject.c:_PyObject_GC_TRACK:
  213|    491|{
  214|    491|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|    491|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 491, False: 0]
  |  |  ------------------
  |  |  415|    491|      ? (void)(0) \
  |  |  416|    491|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|    491|                          "object already tracked by the garbage collector",
  216|    491|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|    491|    PyGC_Head *gc = _Py_AS_GC(op);
  221|    491|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  414|    491|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 491, False: 0]
  |  |  ------------------
  |  |  415|    491|      ? (void)(0) \
  |  |  416|    491|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|    491|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|    491|                          "object is in generation which is garbage collected",
  224|    491|                          filename, lineno, __func__);
  225|       |
  226|    491|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|    491|    PyGC_Head *generation0 = gcstate->generation0;
  228|    491|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|    491|    _PyGCHead_SET_NEXT(last, gc);
  230|    491|    _PyGCHead_SET_PREV(gc, last);
  231|    491|    _PyGCHead_SET_NEXT(gc, generation0);
  232|    491|    generation0->_gc_prev = (uintptr_t)gc;
  233|    491|    gcstate->heap_size++;
  234|    491|#endif
  235|    491|}
enumobject.c:_PyObject_GC_IS_TRACKED:
   73|  7.41M|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|  7.41M|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  7.41M|    return (gc->_gc_next != 0);
   79|  7.41M|#endif
   80|  7.41M|}
enumobject.c:_Py_AS_GC:
   17|  9.12M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  9.12M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  9.12M|    return (PyGC_Head*)gc;
   20|  9.12M|}
enumobject.c:_PyObject_GC_TRACK:
  213|  1.70M|{
  214|  1.70M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|  1.70M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 1.70M, False: 0]
  |  |  ------------------
  |  |  415|  1.70M|      ? (void)(0) \
  |  |  416|  1.70M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|  1.70M|                          "object already tracked by the garbage collector",
  216|  1.70M|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  1.70M|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  1.70M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  414|  1.70M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 1.70M, False: 0]
  |  |  ------------------
  |  |  415|  1.70M|      ? (void)(0) \
  |  |  416|  1.70M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|  1.70M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  1.70M|                          "object is in generation which is garbage collected",
  224|  1.70M|                          filename, lineno, __func__);
  225|       |
  226|  1.70M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  1.70M|    PyGC_Head *generation0 = gcstate->generation0;
  228|  1.70M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  1.70M|    _PyGCHead_SET_NEXT(last, gc);
  230|  1.70M|    _PyGCHead_SET_PREV(gc, last);
  231|  1.70M|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  1.70M|    generation0->_gc_prev = (uintptr_t)gc;
  233|  1.70M|    gcstate->heap_size++;
  234|  1.70M|#endif
  235|  1.70M|}
enumobject.c:_PyGCHead_SET_NEXT:
  150|  3.41M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  3.41M|    gc->_gc_next = (uintptr_t)next;
  152|  3.41M|}
enumobject.c:_PyGCHead_SET_PREV:
  160|  1.70M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  1.70M|    uintptr_t uprev = (uintptr_t)prev;
  162|  1.70M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 1.70M, False: 0]
  ------------------
  163|  1.70M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  1.70M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  1.70M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  1.70M|}
genobject.c:_PyObject_GC_UNTRACK:
  253|  10.4M|{
  254|  10.4M|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|  10.4M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 10.4M, False: 0]
  |  |  ------------------
  |  |  415|  10.4M|      ? (void)(0) \
  |  |  416|  10.4M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|  10.4M|                          "object not tracked by the garbage collector",
  256|  10.4M|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  10.4M|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  10.4M|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  10.4M|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  10.4M|    _PyGCHead_SET_NEXT(prev, next);
  265|  10.4M|    _PyGCHead_SET_PREV(next, prev);
  266|  10.4M|    gc->_gc_next = 0;
  267|  10.4M|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  10.4M|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  10.4M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  10.4M|    gcstate->heap_size--;
  270|  10.4M|#endif
  271|  10.4M|}
genobject.c:_PyObject_GC_IS_TRACKED:
   73|  20.9M|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|  20.9M|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  20.9M|    return (gc->_gc_next != 0);
   79|  20.9M|#endif
   80|  20.9M|}
genobject.c:_Py_AS_GC:
   17|  41.8M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  41.8M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  41.8M|    return (PyGC_Head*)gc;
   20|  41.8M|}
genobject.c:_PyGCHead_PREV:
  155|  10.4M|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  10.4M|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  10.4M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  10.4M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  10.4M|    return (PyGC_Head*)prev;
  158|  10.4M|}
genobject.c:_PyGCHead_NEXT:
  146|  10.4M|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  10.4M|    uintptr_t next = gc->_gc_next;
  148|  10.4M|    return (PyGC_Head*)next;
  149|  10.4M|}
genobject.c:_PyGCHead_SET_NEXT:
  150|  31.4M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  31.4M|    gc->_gc_next = (uintptr_t)next;
  152|  31.4M|}
genobject.c:_PyGCHead_SET_PREV:
  160|  20.9M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  20.9M|    uintptr_t uprev = (uintptr_t)prev;
  162|  20.9M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 20.9M, False: 0]
  ------------------
  163|  20.9M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  20.9M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  20.9M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  20.9M|}
genobject.c:_PyObject_GC_TRACK:
  213|  10.4M|{
  214|  10.4M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|  10.4M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 10.4M, False: 0]
  |  |  ------------------
  |  |  415|  10.4M|      ? (void)(0) \
  |  |  416|  10.4M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|  10.4M|                          "object already tracked by the garbage collector",
  216|  10.4M|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  10.4M|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  10.4M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  414|  10.4M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 10.4M, False: 0]
  |  |  ------------------
  |  |  415|  10.4M|      ? (void)(0) \
  |  |  416|  10.4M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|  10.4M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  10.4M|                          "object is in generation which is garbage collected",
  224|  10.4M|                          filename, lineno, __func__);
  225|       |
  226|  10.4M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  10.4M|    PyGC_Head *generation0 = gcstate->generation0;
  228|  10.4M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  10.4M|    _PyGCHead_SET_NEXT(last, gc);
  230|  10.4M|    _PyGCHead_SET_PREV(gc, last);
  231|  10.4M|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  10.4M|    generation0->_gc_prev = (uintptr_t)gc;
  233|  10.4M|    gcstate->heap_size++;
  234|  10.4M|#endif
  235|  10.4M|}
frameobject.c:_PyObject_GC_IS_TRACKED:
   73|  9.11M|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|  9.11M|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  9.11M|    return (gc->_gc_next != 0);
   79|  9.11M|#endif
   80|  9.11M|}
frameobject.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|}
frameobject.c:_PyObject_GC_UNTRACK:
  253|  3.09M|{
  254|  3.09M|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|  3.09M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 3.09M, False: 0]
  |  |  ------------------
  |  |  415|  3.09M|      ? (void)(0) \
  |  |  416|  3.09M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|  3.09M|                          "object not tracked by the garbage collector",
  256|  3.09M|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  3.09M|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  3.09M|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  3.09M|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  3.09M|    _PyGCHead_SET_NEXT(prev, next);
  265|  3.09M|    _PyGCHead_SET_PREV(next, prev);
  266|  3.09M|    gc->_gc_next = 0;
  267|  3.09M|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  3.09M|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  3.09M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  3.09M|    gcstate->heap_size--;
  270|  3.09M|#endif
  271|  3.09M|}
frameobject.c:_PyGCHead_PREV:
  155|  3.09M|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  3.09M|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  3.09M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  3.09M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  3.09M|    return (PyGC_Head*)prev;
  158|  3.09M|}
frameobject.c:_PyGCHead_NEXT:
  146|  3.09M|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  3.09M|    uintptr_t next = gc->_gc_next;
  148|  3.09M|    return (PyGC_Head*)next;
  149|  3.09M|}
frameobject.c:_PyGCHead_SET_NEXT:
  150|  3.09M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  3.09M|    gc->_gc_next = (uintptr_t)next;
  152|  3.09M|}
frameobject.c:_PyGCHead_SET_PREV:
  160|  3.09M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  3.09M|    uintptr_t uprev = (uintptr_t)prev;
  162|  3.09M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 3.09M, False: 0]
  ------------------
  163|  3.09M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  3.09M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  3.09M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  3.09M|}
iterobject.c:_PyObject_GC_TRACK:
  213|  2.69M|{
  214|  2.69M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|  2.69M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 2.69M, False: 0]
  |  |  ------------------
  |  |  415|  2.69M|      ? (void)(0) \
  |  |  416|  2.69M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|  2.69M|                          "object already tracked by the garbage collector",
  216|  2.69M|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  2.69M|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  2.69M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  414|  2.69M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 2.69M, False: 0]
  |  |  ------------------
  |  |  415|  2.69M|      ? (void)(0) \
  |  |  416|  2.69M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|  2.69M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  2.69M|                          "object is in generation which is garbage collected",
  224|  2.69M|                          filename, lineno, __func__);
  225|       |
  226|  2.69M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  2.69M|    PyGC_Head *generation0 = gcstate->generation0;
  228|  2.69M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  2.69M|    _PyGCHead_SET_NEXT(last, gc);
  230|  2.69M|    _PyGCHead_SET_PREV(gc, last);
  231|  2.69M|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  2.69M|    generation0->_gc_prev = (uintptr_t)gc;
  233|  2.69M|    gcstate->heap_size++;
  234|  2.69M|#endif
  235|  2.69M|}
iterobject.c:_PyObject_GC_IS_TRACKED:
   73|  5.39M|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|  5.39M|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  5.39M|    return (gc->_gc_next != 0);
   79|  5.39M|#endif
   80|  5.39M|}
iterobject.c:_Py_AS_GC:
   17|  10.7M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  10.7M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  10.7M|    return (PyGC_Head*)gc;
   20|  10.7M|}
iterobject.c:_PyGCHead_SET_NEXT:
  150|  8.09M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  8.09M|    gc->_gc_next = (uintptr_t)next;
  152|  8.09M|}
iterobject.c:_PyGCHead_SET_PREV:
  160|  5.39M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  5.39M|    uintptr_t uprev = (uintptr_t)prev;
  162|  5.39M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 5.39M, False: 0]
  ------------------
  163|  5.39M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  5.39M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  5.39M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  5.39M|}
iterobject.c:_PyObject_GC_UNTRACK:
  253|  2.69M|{
  254|  2.69M|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|  2.69M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 2.69M, False: 0]
  |  |  ------------------
  |  |  415|  2.69M|      ? (void)(0) \
  |  |  416|  2.69M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|  2.69M|                          "object not tracked by the garbage collector",
  256|  2.69M|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  2.69M|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  2.69M|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  2.69M|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  2.69M|    _PyGCHead_SET_NEXT(prev, next);
  265|  2.69M|    _PyGCHead_SET_PREV(next, prev);
  266|  2.69M|    gc->_gc_next = 0;
  267|  2.69M|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  2.69M|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  2.69M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  2.69M|    gcstate->heap_size--;
  270|  2.69M|#endif
  271|  2.69M|}
iterobject.c:_PyGCHead_PREV:
  155|  2.69M|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  2.69M|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  2.69M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  2.69M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  2.69M|    return (PyGC_Head*)prev;
  158|  2.69M|}
iterobject.c:_PyGCHead_NEXT:
  146|  2.69M|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  2.69M|    uintptr_t next = gc->_gc_next;
  148|  2.69M|    return (PyGC_Head*)next;
  149|  2.69M|}
lazyimportobject.c:_PyObject_GC_TRACK:
  213|     13|{
  214|     13|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|     13|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 13, False: 0]
  |  |  ------------------
  |  |  415|     13|      ? (void)(0) \
  |  |  416|     13|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|     13|                          "object already tracked by the garbage collector",
  216|     13|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|     13|    PyGC_Head *gc = _Py_AS_GC(op);
  221|     13|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  414|     13|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 13, False: 0]
  |  |  ------------------
  |  |  415|     13|      ? (void)(0) \
  |  |  416|     13|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|     13|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|     13|                          "object is in generation which is garbage collected",
  224|     13|                          filename, lineno, __func__);
  225|       |
  226|     13|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|     13|    PyGC_Head *generation0 = gcstate->generation0;
  228|     13|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|     13|    _PyGCHead_SET_NEXT(last, gc);
  230|     13|    _PyGCHead_SET_PREV(gc, last);
  231|     13|    _PyGCHead_SET_NEXT(gc, generation0);
  232|     13|    generation0->_gc_prev = (uintptr_t)gc;
  233|     13|    gcstate->heap_size++;
  234|     13|#endif
  235|     13|}
lazyimportobject.c:_PyObject_GC_IS_TRACKED:
   73|     15|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|     15|    PyGC_Head *gc = _Py_AS_GC(op);
   78|     15|    return (gc->_gc_next != 0);
   79|     15|#endif
   80|     15|}
lazyimportobject.c:_Py_AS_GC:
   17|     30|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|     30|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|     30|    return (PyGC_Head*)gc;
   20|     30|}
lazyimportobject.c:_PyGCHead_SET_NEXT:
  150|     28|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|     28|    gc->_gc_next = (uintptr_t)next;
  152|     28|}
lazyimportobject.c:_PyGCHead_SET_PREV:
  160|     15|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|     15|    uintptr_t uprev = (uintptr_t)prev;
  162|     15|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 15, False: 0]
  ------------------
  163|     15|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|     15|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|     15|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|     15|}
lazyimportobject.c:_PyObject_GC_UNTRACK:
  253|      2|{
  254|      2|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|      2|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 2, False: 0]
  |  |  ------------------
  |  |  415|      2|      ? (void)(0) \
  |  |  416|      2|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  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|}
lazyimportobject.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|}
lazyimportobject.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|}
methodobject.c:_PyObject_GC_TRACK:
  213|  6.92M|{
  214|  6.92M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  414|  6.92M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 6.92M, False: 0]
  |  |  ------------------
  |  |  415|  6.92M|      ? (void)(0) \
  |  |  416|  6.92M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|  6.92M|                          "object already tracked by the garbage collector",
  216|  6.92M|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  6.92M|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  6.92M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  414|  6.92M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (414:6): [True: 6.92M, False: 0]
  |  |  ------------------
  |  |  415|  6.92M|      ? (void)(0) \
  |  |  416|  6.92M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|  6.92M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  6.92M|                          "object is in generation which is garbage collected",
  224|  6.92M|                          filename, lineno, __func__);
  225|       |
  226|  6.92M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  6.92M|    PyGC_Head *generation0 = gcstate->generation0;
  228|  6.92M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  6.92M|    _PyGCHead_SET_NEXT(last, gc);
  230|  6.92M|    _PyGCHead_SET_PREV(gc, last);
  231|  6.92M|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  6.92M|    generation0->_gc_prev = (uintptr_t)gc;
  233|  6.92M|    gcstate->heap_size++;
  234|  6.92M|#endif
  235|  6.92M|}
methodobject.c:_PyObject_GC_IS_TRACKED:
   73|  6.92M|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|  6.92M|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  6.92M|    return (gc->_gc_next != 0);
   79|  6.92M|#endif
   80|  6.92M|}
methodobject.c:_Py_AS_GC:
   17|  13.8M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  13.8M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  13.8M|    return (PyGC_Head*)gc;
   20|  13.8M|}
methodobject.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|}
methodobject.c:_PyGCHead_SET_PREV:
  160|  6.92M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  6.92M|    uintptr_t uprev = (uintptr_t)prev;
  162|  6.92M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 6.92M, False: 0]
  ------------------
  163|  6.92M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  6.92M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  6.92M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  6.92M|}

ceval.c:_PyGen_GetGeneratorFromFrame:
   18|  11.4M|{
   19|  11.4M|    assert(frame->owner == FRAME_OWNED_BY_GENERATOR);
  ------------------
  |  Branch (19:5): [True: 11.4M, False: 0]
  ------------------
   20|  11.4M|    size_t offset_in_gen = offsetof(PyGenObject, gi_iframe);
   21|  11.4M|    return (PyGenObject *)(((char *)frame) - offset_in_gen);
   22|  11.4M|}
frame.c:_PyGen_GetGeneratorFromFrame:
   18|  5.23M|{
   19|  5.23M|    assert(frame->owner == FRAME_OWNED_BY_GENERATOR);
  ------------------
  |  Branch (19:5): [True: 5.23M, False: 0]
  ------------------
   20|  5.23M|    size_t offset_in_gen = offsetof(PyGenObject, gi_iframe);
   21|  5.23M|    return (PyGenObject *)(((char *)frame) - offset_in_gen);
   22|  5.23M|}

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

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

sentinelobject.c:_PyFrame_GetFunction:
   95|      1|static inline PyFunctionObject *_PyFrame_GetFunction(_PyInterpreterFrame *f) {
   96|      1|    PyObject *func = PyStackRef_AsPyObjectBorrow(f->f_funcobj);
   97|      1|    assert(PyFunction_Check(func));
  ------------------
  |  Branch (97:5): [True: 1, False: 0]
  ------------------
   98|      1|    return (PyFunctionObject *)func;
   99|      1|}
typeobject.c:_PyThreadState_GetFrame:
  313|     15|{
  314|     15|    return _PyFrame_GetFirstComplete(tstate->current_frame);
  315|     15|}
typeobject.c:_PyFrame_GetFirstComplete:
  304|     15|{
  305|     15|    while (frame && _PyFrame_IsIncomplete(frame)) {
  ------------------
  |  Branch (305:12): [True: 15, False: 0]
  |  Branch (305:21): [True: 0, False: 15]
  ------------------
  306|      0|        frame = frame->previous;
  307|      0|    }
  308|     15|    return frame;
  309|     15|}
typeobject.c:_PyFrame_IsIncomplete:
  293|     15|{
  294|     15|    if (frame->owner >= FRAME_OWNED_BY_INTERPRETER) {
  ------------------
  |  Branch (294:9): [True: 0, False: 15]
  ------------------
  295|      0|        return true;
  296|      0|    }
  297|     15|    return frame->owner != FRAME_OWNED_BY_GENERATOR &&
  ------------------
  |  Branch (297:12): [True: 15, False: 0]
  ------------------
  298|     15|           frame->instr_ptr < _PyFrame_GetBytecode(frame) +
  ------------------
  |  Branch (298:12): [True: 0, False: 15]
  ------------------
  299|     15|                                  _PyFrame_GetCode(frame)->_co_firsttraceable;
  300|     15|}
typeobject.c:_PyFrame_GetBytecode:
   59|     15|{
   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|     15|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|     15|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|     15|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   67|     15|#endif
   68|     15|}
typeobject.c:_PyFrame_GetCode:
   20|     60|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   21|     60|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (21:5): [True: 60, False: 0]
  ------------------
   22|     60|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   23|     60|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (23:5): [True: 60, False: 0]
  ------------------
   24|     60|    return (PyCodeObject *)executable;
   25|     60|}
typeobject.c:_PyFrame_GetLocalsArray:
  225|     30|{
  226|     30|    return frame->localsplus;
  227|     30|}
_warnings.c:_PyFrame_GetCode:
   20|   549k|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   21|   549k|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (21:5): [True: 549k, False: 0]
  ------------------
   22|   549k|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   23|   549k|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (23:5): [True: 549k, False: 0]
  ------------------
   24|   549k|    return (PyCodeObject *)executable;
   25|   549k|}
ceval.c:_PyFrame_GetCode:
   20|   798M|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   21|   798M|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (21:5): [True: 798M, False: 0]
  ------------------
   22|   798M|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   23|   798M|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (23:5): [True: 798M, False: 0]
  ------------------
   24|   798M|    return (PyCodeObject *)executable;
   25|   798M|}
ceval.c:_PyFrame_GetStackPointer:
  234|   653M|{
  235|   653M|    return frame->stackpointer;
  236|   653M|}
ceval.c:_PyFrame_StackPointerInvalidate:
  258|  2.62G|{
  259|       |#ifdef Py_DEBUG
  260|       |/* Avoid bloating the JIT code */
  261|       |#ifndef _Py_JIT
  262|       |    assert(frame->stackpointer_valid == 1);
  263|       |#endif
  264|       |    frame->stackpointer_valid = 0;
  265|       |#endif
  266|  2.62G|}
ceval.c:_PyFrame_SetStackPointer:
  240|  2.27G|{
  241|  2.27G|    frame->stackpointer = stack_pointer;
  242|  2.27G|}
ceval.c:_PyFrame_StackPointerValidate:
  246|  2.60G|{
  247|       |#ifdef Py_DEBUG
  248|       |/* Avoid bloating the JIT code */
  249|       |#ifndef _Py_JIT
  250|       |    assert(frame->stackpointer_valid == 0);
  251|       |#endif
  252|       |    frame->stackpointer_valid = 1;
  253|       |#endif
  254|  2.60G|}
ceval.c:_PyFrame_StackAssertInvalid:
  270|  4.41G|{
  271|       |#ifdef Py_DEBUG
  272|       |/* Avoid bloating the JIT code */
  273|       |#ifndef _Py_JIT
  274|       |    assert(frame->stackpointer_valid == 0);
  275|       |#endif
  276|       |#endif
  277|  4.41G|}
ceval.c:_PyThreadState_HasStackSpace:
  383|   122M|{
  384|   122M|    assert(
  ------------------
  |  Branch (384:5): [True: 0, False: 122M]
  |  Branch (384:5): [True: 0, False: 0]
  |  Branch (384:5): [True: 122M, False: 0]
  |  Branch (384:5): [True: 122M, False: 0]
  ------------------
  385|   122M|        (tstate->datastack_top == NULL && tstate->datastack_limit == NULL)
  386|   122M|        ||
  387|   122M|        (tstate->datastack_top != NULL && tstate->datastack_limit != NULL)
  388|   122M|    );
  389|   122M|    return tstate->datastack_top != NULL &&
  ------------------
  |  Branch (389:12): [True: 122M, False: 0]
  ------------------
  390|   122M|        size < tstate->datastack_limit - tstate->datastack_top;
  ------------------
  |  Branch (390:9): [True: 121M, False: 762k]
  ------------------
  391|   122M|}
ceval.c:_PyFrame_PushUnchecked:
  404|   114M|{
  405|   114M|    CALL_STAT_INC(frames_pushed);
  ------------------
  |  |   76|   114M|#define CALL_STAT_INC(name) ((void)0)
  ------------------
  406|   114M|    PyFunctionObject *func_obj = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(func);
  407|   114M|    PyCodeObject *code = (PyCodeObject *)func_obj->func_code;
  408|   114M|    _PyInterpreterFrame *new_frame = (_PyInterpreterFrame *)tstate->datastack_top;
  409|   114M|    tstate->datastack_top += code->co_framesize;
  410|   114M|    assert(tstate->datastack_top < tstate->datastack_limit);
  ------------------
  |  Branch (410:5): [True: 114M, False: 0]
  ------------------
  411|   114M|    _PyFrame_Initialize(tstate, new_frame, func, NULL, code, null_locals_from,
  412|   114M|                        previous);
  413|   114M|    return new_frame;
  414|   114M|}
ceval.c:_PyFrame_PushTrampolineUnchecked:
  420|  6.47M|{
  421|  6.47M|    CALL_STAT_INC(frames_pushed);
  ------------------
  |  |   76|  6.47M|#define CALL_STAT_INC(name) ((void)0)
  ------------------
  422|  6.47M|    _PyInterpreterFrame *frame = (_PyInterpreterFrame *)tstate->datastack_top;
  423|  6.47M|    tstate->datastack_top += code->co_framesize;
  424|  6.47M|    assert(tstate->datastack_top < tstate->datastack_limit);
  ------------------
  |  Branch (424:5): [True: 6.47M, False: 0]
  ------------------
  425|  6.47M|    frame->previous = previous;
  426|  6.47M|    frame->f_funcobj = PyStackRef_None;
  ------------------
  |  |  485|  6.47M|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  ------------------
  |  |  |  |   55|  6.47M|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  427|  6.47M|    frame->f_executable = PyStackRef_FromPyObjectNew(code);
  ------------------
  |  |  611|  6.47M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  6.47M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.47M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  428|       |#ifdef Py_DEBUG
  429|       |    frame->f_builtins = NULL;
  430|       |    frame->f_globals = NULL;
  431|       |#endif
  432|  6.47M|    frame->f_locals = NULL;
  433|  6.47M|    assert(stackdepth <= code->co_stacksize);
  ------------------
  |  Branch (433:5): [True: 6.47M, False: 0]
  ------------------
  434|  6.47M|    frame->stackpointer = frame->localsplus + code->co_nlocalsplus + stackdepth;
  435|  6.47M|    frame->frame_obj = NULL;
  436|       |#ifdef Py_GIL_DISABLED
  437|       |    _PyFrame_InitializeTLBC(tstate, frame, code);
  438|       |#else
  439|  6.47M|    frame->instr_ptr = _PyCode_CODE(code);
  ------------------
  |  |   16|  6.47M|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|  6.47M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  440|  6.47M|#endif
  441|  6.47M|    frame->owner = FRAME_OWNED_BY_THREAD;
  442|  6.47M|    frame->visited = 0;
  443|       |#ifdef Py_DEBUG
  444|       |    frame->stackpointer_valid = 1;
  445|       |    frame->lltrace = 0;
  446|       |#endif
  447|  6.47M|    frame->return_offset = 0;
  448|  6.47M|    return frame;
  449|  6.47M|}
ceval.c:_PyFrame_GetBytecode:
   59|   103M|{
   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|   103M|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|   103M|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|   103M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   67|   103M|#endif
   68|   103M|}
ceval.c:_PyFrame_StackPush:
  117|  11.5M|static inline void _PyFrame_StackPush(_PyInterpreterFrame *f, _PyStackRef value) {
  118|  11.5M|    *f->stackpointer = value;
  119|  11.5M|    f->stackpointer++;
  120|  11.5M|}
ceval.c:_PyFrame_Stackbase:
  101|   163M|static inline _PyStackRef *_PyFrame_Stackbase(_PyInterpreterFrame *f) {
  102|   163M|    return (f->localsplus + _PyFrame_GetCode(f)->co_nlocalsplus);
  103|   163M|}
ceval.c:_PyFrame_IsIncomplete:
  293|  24.8M|{
  294|  24.8M|    if (frame->owner >= FRAME_OWNED_BY_INTERPRETER) {
  ------------------
  |  Branch (294:9): [True: 18.2M, False: 6.59M]
  ------------------
  295|  18.2M|        return true;
  296|  18.2M|    }
  297|  6.59M|    return frame->owner != FRAME_OWNED_BY_GENERATOR &&
  ------------------
  |  Branch (297:12): [True: 6.52M, False: 64.2k]
  ------------------
  298|  6.52M|           frame->instr_ptr < _PyFrame_GetBytecode(frame) +
  ------------------
  |  Branch (298:12): [True: 6, False: 6.52M]
  ------------------
  299|  6.52M|                                  _PyFrame_GetCode(frame)->_co_firsttraceable;
  300|  24.8M|}
ceval.c:_PyFrame_Copy:
  134|  5.23M|{
  135|  5.23M|    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|  5.23M|    dest->previous = NULL;
  139|  5.23M|    dest->f_funcobj = PyStackRef_MakeHeapSafe(src->f_funcobj);
  140|  5.23M|    dest->f_globals = src->f_globals;
  141|  5.23M|    dest->f_builtins = src->f_builtins;
  142|  5.23M|    dest->f_locals = src->f_locals;
  143|  5.23M|    dest->frame_obj = src->frame_obj;
  144|  5.23M|    dest->instr_ptr = src->instr_ptr;
  145|       |#ifdef Py_GIL_DISABLED
  146|       |    dest->tlbc_index = src->tlbc_index;
  147|       |#endif
  148|  5.23M|    assert(src->stackpointer != NULL);
  ------------------
  |  Branch (148:5): [True: 5.23M, False: 0]
  ------------------
  149|  5.23M|    int stacktop = (int)(src->stackpointer - src->localsplus);
  150|  5.23M|    assert(stacktop >= 0);
  ------------------
  |  Branch (150:5): [True: 5.23M, False: 0]
  ------------------
  151|  5.23M|    dest->stackpointer = dest->localsplus + stacktop;
  152|       |    // visited is GC bookkeeping for the current stack walk, not frame state.
  153|  5.23M|    dest->visited = 0;
  154|       |#ifdef Py_DEBUG
  155|       |    dest->stackpointer_valid =  src->stackpointer_valid;
  156|       |    dest->lltrace = src->lltrace;
  157|       |#endif
  158|  15.7M|    for (int i = 0; i < stacktop; i++) {
  ------------------
  |  Branch (158:21): [True: 10.5M, False: 5.23M]
  ------------------
  159|  10.5M|        dest->localsplus[i] = PyStackRef_MakeHeapSafe(src->localsplus[i]);
  160|  10.5M|    }
  161|  5.23M|}
ceval.c:_PyFrame_GetFrameObject:
  344|  3.11M|{
  345|       |
  346|  3.11M|    assert(!_PyFrame_IsIncomplete(frame));
  ------------------
  |  Branch (346:5): [True: 3.11M, False: 0]
  ------------------
  347|  3.11M|    PyFrameObject *res =  frame->frame_obj;
  348|  3.11M|    if (res != NULL) {
  ------------------
  |  Branch (348:9): [True: 359k, False: 2.75M]
  ------------------
  349|   359k|        return res;
  350|   359k|    }
  351|  2.75M|    return _PyFrame_MakeAndSetFrameObject(frame);
  352|  3.11M|}
ceval.c:_PyFrame_StackPop:
  111|  6.02M|static inline _PyStackRef _PyFrame_StackPop(_PyInterpreterFrame *f) {
  112|  6.02M|    assert(f->stackpointer > _PyFrame_Stackbase(f));
  ------------------
  |  Branch (112:5): [True: 6.02M, False: 0]
  ------------------
  113|  6.02M|    f->stackpointer--;
  114|  6.02M|    return *f->stackpointer;
  115|  6.02M|}
ceval.c:_PyFrame_Initialize:
  191|   145M|{
  192|   145M|    frame->previous = previous;
  193|   145M|    frame->f_funcobj = func;
  194|   145M|    frame->f_executable = PyStackRef_FromPyObjectNew(code);
  ------------------
  |  |  611|   145M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   145M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   145M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  195|   145M|    PyFunctionObject *func_obj = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(func);
  196|   145M|    frame->f_builtins = func_obj->func_builtins;
  197|   145M|    frame->f_globals = func_obj->func_globals;
  198|   145M|    frame->f_locals = locals;
  199|   145M|    frame->stackpointer = frame->localsplus + code->co_nlocalsplus;
  200|   145M|    frame->frame_obj = NULL;
  201|       |#ifdef Py_GIL_DISABLED
  202|       |    _PyFrame_InitializeTLBC(tstate, frame, code);
  203|       |#else
  204|   145M|    (void)tstate;
  205|   145M|    frame->instr_ptr = _PyCode_CODE(code);
  ------------------
  |  |   16|   145M|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|   145M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  206|   145M|#endif
  207|   145M|    frame->return_offset = 0;
  208|   145M|    frame->owner = FRAME_OWNED_BY_THREAD;
  209|   145M|    frame->visited = 0;
  210|       |#ifdef Py_DEBUG
  211|       |    frame->stackpointer_valid = 1;
  212|       |    frame->lltrace = 0;
  213|       |#endif
  214|       |
  215|   596M|    for (int i = null_locals_from; i < code->co_nlocalsplus; i++) {
  ------------------
  |  Branch (215:36): [True: 450M, False: 145M]
  ------------------
  216|   450M|        frame->localsplus[i] = PyStackRef_NULL;
  217|   450M|    }
  218|   145M|}
ceval.c:_PyThreadState_GetFrame:
  313|   356k|{
  314|   356k|    return _PyFrame_GetFirstComplete(tstate->current_frame);
  315|   356k|}
ceval.c:_PyFrame_GetFirstComplete:
  304|   356k|{
  305|   356k|    while (frame && _PyFrame_IsIncomplete(frame)) {
  ------------------
  |  Branch (305:12): [True: 356k, False: 19]
  |  Branch (305:21): [True: 19, False: 356k]
  ------------------
  306|     19|        frame = frame->previous;
  307|     19|    }
  308|   356k|    return frame;
  309|   356k|}
frame.c:_PyFrame_GetCode:
   20|  31.7M|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   21|  31.7M|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (21:5): [True: 31.7M, False: 0]
  ------------------
   22|  31.7M|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   23|  31.7M|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (23:5): [True: 31.7M, False: 0]
  ------------------
   24|  31.7M|    return (PyCodeObject *)executable;
   25|  31.7M|}
frame.c:_PyFrame_Copy:
  134|  3.09M|{
  135|  3.09M|    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|  3.09M|    dest->previous = NULL;
  139|  3.09M|    dest->f_funcobj = PyStackRef_MakeHeapSafe(src->f_funcobj);
  140|  3.09M|    dest->f_globals = src->f_globals;
  141|  3.09M|    dest->f_builtins = src->f_builtins;
  142|  3.09M|    dest->f_locals = src->f_locals;
  143|  3.09M|    dest->frame_obj = src->frame_obj;
  144|  3.09M|    dest->instr_ptr = src->instr_ptr;
  145|       |#ifdef Py_GIL_DISABLED
  146|       |    dest->tlbc_index = src->tlbc_index;
  147|       |#endif
  148|  3.09M|    assert(src->stackpointer != NULL);
  ------------------
  |  Branch (148:5): [True: 3.09M, False: 0]
  ------------------
  149|  3.09M|    int stacktop = (int)(src->stackpointer - src->localsplus);
  150|  3.09M|    assert(stacktop >= 0);
  ------------------
  |  Branch (150:5): [True: 3.09M, False: 0]
  ------------------
  151|  3.09M|    dest->stackpointer = dest->localsplus + stacktop;
  152|       |    // visited is GC bookkeeping for the current stack walk, not frame state.
  153|  3.09M|    dest->visited = 0;
  154|       |#ifdef Py_DEBUG
  155|       |    dest->stackpointer_valid =  src->stackpointer_valid;
  156|       |    dest->lltrace = src->lltrace;
  157|       |#endif
  158|  16.8M|    for (int i = 0; i < stacktop; i++) {
  ------------------
  |  Branch (158:21): [True: 13.7M, False: 3.09M]
  ------------------
  159|  13.7M|        dest->localsplus[i] = PyStackRef_MakeHeapSafe(src->localsplus[i]);
  160|  13.7M|    }
  161|  3.09M|}
frame.c:_PyFrame_IsIncomplete:
  293|  15.0M|{
  294|  15.0M|    if (frame->owner >= FRAME_OWNED_BY_INTERPRETER) {
  ------------------
  |  Branch (294:9): [True: 2.70M, False: 12.3M]
  ------------------
  295|  2.70M|        return true;
  296|  2.70M|    }
  297|  12.3M|    return frame->owner != FRAME_OWNED_BY_GENERATOR &&
  ------------------
  |  Branch (297:12): [True: 12.3M, False: 0]
  ------------------
  298|  12.3M|           frame->instr_ptr < _PyFrame_GetBytecode(frame) +
  ------------------
  |  Branch (298:12): [True: 6, False: 12.3M]
  ------------------
  299|  12.3M|                                  _PyFrame_GetCode(frame)->_co_firsttraceable;
  300|  15.0M|}
frame.c:_PyFrame_GetFirstComplete:
  304|  3.09M|{
  305|  5.79M|    while (frame && _PyFrame_IsIncomplete(frame)) {
  ------------------
  |  Branch (305:12): [True: 5.76M, False: 34.5k]
  |  Branch (305:21): [True: 2.70M, False: 3.05M]
  ------------------
  306|  2.70M|        frame = frame->previous;
  307|  2.70M|    }
  308|  3.09M|    return frame;
  309|  3.09M|}
frame.c:_PyFrame_GetFrameObject:
  344|  3.05M|{
  345|       |
  346|  3.05M|    assert(!_PyFrame_IsIncomplete(frame));
  ------------------
  |  Branch (346:5): [True: 3.05M, False: 0]
  ------------------
  347|  3.05M|    PyFrameObject *res =  frame->frame_obj;
  348|  3.05M|    if (res != NULL) {
  ------------------
  |  Branch (348:9): [True: 172k, False: 2.88M]
  ------------------
  349|   172k|        return res;
  350|   172k|    }
  351|  2.88M|    return _PyFrame_MakeAndSetFrameObject(frame);
  352|  3.05M|}
frame.c:_PyFrame_GetBytecode:
   59|  12.8M|{
   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|  12.8M|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|  12.8M|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|  12.8M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   67|  12.8M|#endif
   68|  12.8M|}
gc.c:_PyFrame_GetLocalsArray:
  225|   738k|{
  226|   738k|    return frame->localsplus;
  227|   738k|}
intrinsics.c:_PyFrame_GetCode:
   20|  32.1k|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   21|  32.1k|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (21:5): [True: 32.1k, False: 0]
  ------------------
   22|  32.1k|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   23|  32.1k|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (23:5): [True: 32.1k, False: 0]
  ------------------
   24|  32.1k|    return (PyCodeObject *)executable;
   25|  32.1k|}
pystate.c:_PyThreadState_GetFrame:
  313|  1.08M|{
  314|  1.08M|    return _PyFrame_GetFirstComplete(tstate->current_frame);
  315|  1.08M|}
pystate.c:_PyFrame_GetFrameObject:
  344|  1.08M|{
  345|       |
  346|  1.08M|    assert(!_PyFrame_IsIncomplete(frame));
  ------------------
  |  Branch (346:5): [True: 1.08M, False: 0]
  ------------------
  347|  1.08M|    PyFrameObject *res =  frame->frame_obj;
  348|  1.08M|    if (res != NULL) {
  ------------------
  |  Branch (348:9): [True: 875k, False: 205k]
  ------------------
  349|   875k|        return res;
  350|   875k|    }
  351|   205k|    return _PyFrame_MakeAndSetFrameObject(frame);
  352|  1.08M|}
pystate.c:_PyFrame_IsIncomplete:
  293|  2.16M|{
  294|  2.16M|    if (frame->owner >= FRAME_OWNED_BY_INTERPRETER) {
  ------------------
  |  Branch (294:9): [True: 0, False: 2.16M]
  ------------------
  295|      0|        return true;
  296|      0|    }
  297|  2.16M|    return frame->owner != FRAME_OWNED_BY_GENERATOR &&
  ------------------
  |  Branch (297:12): [True: 2.16M, False: 0]
  ------------------
  298|  2.16M|           frame->instr_ptr < _PyFrame_GetBytecode(frame) +
  ------------------
  |  Branch (298:12): [True: 0, False: 2.16M]
  ------------------
  299|  2.16M|                                  _PyFrame_GetCode(frame)->_co_firsttraceable;
  300|  2.16M|}
pystate.c:_PyFrame_GetBytecode:
   59|  2.16M|{
   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.16M|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|  2.16M|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|  2.16M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   67|  2.16M|#endif
   68|  2.16M|}
pystate.c:_PyFrame_GetCode:
   20|  4.32M|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   21|  4.32M|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (21:5): [True: 4.32M, False: 0]
  ------------------
   22|  4.32M|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   23|  4.32M|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (23:5): [True: 4.32M, False: 0]
  ------------------
   24|  4.32M|    return (PyCodeObject *)executable;
   25|  4.32M|}
pystate.c:_PyFrame_GetFirstComplete:
  304|  1.08M|{
  305|  1.08M|    while (frame && _PyFrame_IsIncomplete(frame)) {
  ------------------
  |  Branch (305:12): [True: 1.08M, False: 0]
  |  Branch (305:21): [True: 0, False: 1.08M]
  ------------------
  306|      0|        frame = frame->previous;
  307|      0|    }
  308|  1.08M|    return frame;
  309|  1.08M|}
pystate.c:_PyThreadState_HasStackSpace:
  383|  30.4M|{
  384|  30.4M|    assert(
  ------------------
  |  Branch (384:5): [True: 2, False: 30.4M]
  |  Branch (384:5): [True: 2, False: 0]
  |  Branch (384:5): [True: 30.4M, False: 0]
  |  Branch (384:5): [True: 30.4M, False: 0]
  ------------------
  385|  30.4M|        (tstate->datastack_top == NULL && tstate->datastack_limit == NULL)
  386|  30.4M|        ||
  387|  30.4M|        (tstate->datastack_top != NULL && tstate->datastack_limit != NULL)
  388|  30.4M|    );
  389|  30.4M|    return tstate->datastack_top != NULL &&
  ------------------
  |  Branch (389:12): [True: 30.4M, False: 2]
  ------------------
  390|  30.4M|        size < tstate->datastack_limit - tstate->datastack_top;
  ------------------
  |  Branch (390:9): [True: 29.5M, False: 905k]
  ------------------
  391|  30.4M|}
sysmodule.c:_PyFrame_IsIncomplete:
  293|      6|{
  294|      6|    if (frame->owner >= FRAME_OWNED_BY_INTERPRETER) {
  ------------------
  |  Branch (294:9): [True: 0, False: 6]
  ------------------
  295|      0|        return true;
  296|      0|    }
  297|      6|    return frame->owner != FRAME_OWNED_BY_GENERATOR &&
  ------------------
  |  Branch (297:12): [True: 6, False: 0]
  ------------------
  298|      6|           frame->instr_ptr < _PyFrame_GetBytecode(frame) +
  ------------------
  |  Branch (298:12): [True: 0, False: 6]
  ------------------
  299|      6|                                  _PyFrame_GetCode(frame)->_co_firsttraceable;
  300|      6|}
sysmodule.c:_PyFrame_GetBytecode:
   59|      6|{
   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|      6|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|      6|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   67|      6|#endif
   68|      6|}
sysmodule.c:_PyFrame_GetCode:
   20|     12|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   21|     12|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (21:5): [True: 12, False: 0]
  ------------------
   22|     12|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   23|     12|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (23:5): [True: 12, False: 0]
  ------------------
   24|     12|    return (PyCodeObject *)executable;
   25|     12|}
sysmodule.c:_PyFrame_GetFrameObject:
  344|      2|{
  345|       |
  346|      2|    assert(!_PyFrame_IsIncomplete(frame));
  ------------------
  |  Branch (346:5): [True: 2, False: 0]
  ------------------
  347|      2|    PyFrameObject *res =  frame->frame_obj;
  348|      2|    if (res != NULL) {
  ------------------
  |  Branch (348:9): [True: 0, False: 2]
  ------------------
  349|      0|        return res;
  350|      0|    }
  351|      2|    return _PyFrame_MakeAndSetFrameObject(frame);
  352|      2|}
traceback.c:_PyFrame_GetCode:
   20|  3.11M|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   21|  3.11M|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (21:5): [True: 3.11M, False: 0]
  ------------------
   22|  3.11M|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   23|  3.11M|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (23:5): [True: 3.11M, False: 0]
  ------------------
   24|  3.11M|    return (PyCodeObject *)executable;
   25|  3.11M|}
traceback.c:_PyFrame_GetBytecode:
   59|  3.11M|{
   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|  3.11M|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|  3.11M|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|  3.11M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   67|  3.11M|#endif
   68|  3.11M|}
genobject.c:_PyFrame_StackPush:
  117|  32.3k|static inline void _PyFrame_StackPush(_PyInterpreterFrame *f, _PyStackRef value) {
  118|  32.3k|    *f->stackpointer = value;
  119|  32.3k|    f->stackpointer++;
  120|  32.3k|}
genobject.c:_PyFrame_StackPeek:
  105|  32.1k|static inline _PyStackRef _PyFrame_StackPeek(_PyInterpreterFrame *f, int depth) {
  106|  32.1k|    assert(f->stackpointer > _PyFrame_Stackbase(f));
  ------------------
  |  Branch (106:5): [True: 32.1k, False: 0]
  ------------------
  107|  32.1k|    assert(!PyStackRef_IsNull(f->stackpointer[-depth]));
  ------------------
  |  Branch (107:5): [True: 32.1k, False: 0]
  ------------------
  108|  32.1k|    return f->stackpointer[-depth];
  109|  32.1k|}
genobject.c:_PyFrame_Stackbase:
  101|  32.1k|static inline _PyStackRef *_PyFrame_Stackbase(_PyInterpreterFrame *f) {
  102|  32.1k|    return (f->localsplus + _PyFrame_GetCode(f)->co_nlocalsplus);
  103|  32.1k|}
genobject.c:_PyFrame_NumSlotsForCodeObject:
  126|  5.23M|{
  127|       |    /* This function needs to remain in sync with the calculation of
  128|       |     * co_framesize in Tools/build/deepfreeze.py */
  129|  5.23M|    assert(code->co_framesize >= FRAME_SPECIALS_SIZE);
  ------------------
  |  Branch (129:5): [True: 5.23M, False: 0]
  ------------------
  130|  5.23M|    return code->co_framesize - FRAME_SPECIALS_SIZE;
  ------------------
  |  |  122|  5.23M|#define FRAME_SPECIALS_SIZE ((int)((sizeof(_PyInterpreterFrame)-1)/sizeof(PyObject *)))
  ------------------
  131|  5.23M|}
genobject.c:_PyFrame_GetCode:
   20|   132k|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   21|   132k|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (21:5): [True: 132k, False: 0]
  ------------------
   22|   132k|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   23|   132k|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (23:5): [True: 132k, False: 0]
  ------------------
   24|   132k|    return (PyCodeObject *)executable;
   25|   132k|}
frameobject.c:_PyFrame_GetLocalsArray:
  225|  3.09M|{
  226|  3.09M|    return frame->localsplus;
  227|  3.09M|}
frameobject.c:_PyFrame_IsIncomplete:
  293|   357M|{
  294|   357M|    if (frame->owner >= FRAME_OWNED_BY_INTERPRETER) {
  ------------------
  |  Branch (294:9): [True: 1.06M, False: 356M]
  ------------------
  295|  1.06M|        return true;
  296|  1.06M|    }
  297|   356M|    return frame->owner != FRAME_OWNED_BY_GENERATOR &&
  ------------------
  |  Branch (297:12): [True: 356M, False: 0]
  ------------------
  298|   356M|           frame->instr_ptr < _PyFrame_GetBytecode(frame) +
  ------------------
  |  Branch (298:12): [True: 0, False: 356M]
  ------------------
  299|   356M|                                  _PyFrame_GetCode(frame)->_co_firsttraceable;
  300|   357M|}
frameobject.c:_PyFrame_GetCode:
   20|   802M|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   21|   802M|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (21:5): [True: 802M, False: 0]
  ------------------
   22|   802M|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   23|   802M|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (23:5): [True: 802M, False: 0]
  ------------------
   24|   802M|    return (PyCodeObject *)executable;
   25|   802M|}
frameobject.c:_PyFrame_GetFrameObject:
  344|  88.6M|{
  345|       |
  346|  88.6M|    assert(!_PyFrame_IsIncomplete(frame));
  ------------------
  |  Branch (346:5): [True: 88.6M, False: 0]
  ------------------
  347|  88.6M|    PyFrameObject *res =  frame->frame_obj;
  348|  88.6M|    if (res != NULL) {
  ------------------
  |  Branch (348:9): [True: 88.5M, False: 175k]
  ------------------
  349|  88.5M|        return res;
  350|  88.5M|    }
  351|   175k|    return _PyFrame_MakeAndSetFrameObject(frame);
  352|  88.6M|}
frameobject.c:_PyFrame_GetFirstComplete:
  304|  89.2M|{
  305|  90.2M|    while (frame && _PyFrame_IsIncomplete(frame)) {
  ------------------
  |  Branch (305:12): [True: 89.7M, False: 531k]
  |  Branch (305:21): [True: 1.06M, False: 88.6M]
  ------------------
  306|  1.06M|        frame = frame->previous;
  307|  1.06M|    }
  308|  89.2M|    return frame;
  309|  89.2M|}
frameobject.c:_PyFrame_GetBytecode:
   59|   356M|{
   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|   356M|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|   356M|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|   356M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   67|   356M|#endif
   68|   356M|}
lazyimportobject.c:_PyFrame_GetCode:
   20|     26|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   21|     26|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (21:5): [True: 26, False: 0]
  ------------------
   22|     26|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   23|     26|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (23:5): [True: 26, False: 0]
  ------------------
   24|     26|    return (PyCodeObject *)executable;
   25|     26|}
lazyimportobject.c:_PyFrame_GetBytecode:
   59|     13|{
   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|     13|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|     13|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|     13|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   67|     13|#endif
   68|     13|}

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

pystate.c:llist_init:
   55|      8|{
   56|      8|    head->next = head;
   57|      8|    head->prev = head;
   58|      8|}
_threadmodule.c:llist_init:
   55|      2|{
   56|      2|    head->next = head;
   57|      2|    head->prev = head;
   58|      2|}

getargs.c:_PyOnceFlag_CallOnce:
  152|  1.08M|{
  153|  1.08M|    if (_Py_atomic_load_uint8(&flag->v) == _Py_ONCE_INITIALIZED) {
  ------------------
  |  |   18|  1.08M|#define _Py_ONCE_INITIALIZED 4
  ------------------
  |  Branch (153:9): [True: 1.08M, False: 5]
  ------------------
  154|  1.08M|        return 0;
  155|  1.08M|    }
  156|      5|    return _PyOnceFlag_CallOnceSlow(flag, fn, arg);
  157|  1.08M|}
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|}

bytesobject.c:_PyLong_FromUnsignedChar:
   81|     24|{
   82|     24|    return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+i];
  ------------------
  |  |   59|     24|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|     24|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     24|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+i];
  ------------------
  |  |   98|     24|#define _PY_NSMALLNEGINTS           5
  ------------------
   83|     24|}
longobject.c:_PyLong_InitTag:
  292|  7.74M|{
  293|  7.74M|    assert(PyLong_Check(op));
  ------------------
  |  Branch (293:5): [True: 7.74M, False: 0]
  ------------------
  294|  7.74M|    op->long_value.lv_tag = SIGN_ZERO; /* non-immortal zero */
  ------------------
  |  |  173|  7.74M|#define SIGN_ZERO 1
  ------------------
  295|  7.74M|}
longobject.c:_PyLong_SetSignAndDigitCount:
  302|  56.2M|{
  303|  56.2M|    assert(size >= 0);
  ------------------
  |  Branch (303:5): [True: 56.2M, False: 0]
  ------------------
  304|  56.2M|    assert(-1 <= sign && sign <= 1);
  ------------------
  |  Branch (304:5): [True: 56.2M, False: 0]
  |  Branch (304:5): [True: 56.2M, False: 0]
  ------------------
  305|  56.2M|    assert(sign != 0 || size == 0);
  ------------------
  |  Branch (305:5): [True: 55.9M, False: 297k]
  |  Branch (305:5): [True: 297k, False: 0]
  ------------------
  306|  56.2M|    assert(!_PyLong_IsSmallInt(op));
  ------------------
  |  Branch (306:5): [True: 56.2M, False: 0]
  ------------------
  307|  56.2M|    op->long_value.lv_tag = TAG_FROM_SIGN_AND_SIZE(sign, size);
  ------------------
  |  |  298|  56.2M|    ((uintptr_t)(1 - (sign)) | ((uintptr_t)(size) << NON_SIZE_BITS))
  |  |  ------------------
  |  |  |  |  175|  56.2M|#define NON_SIZE_BITS 3
  |  |  ------------------
  ------------------
  308|  56.2M|}
longobject.c:_PyLong_CompactSign:
  268|  2.89M|{
  269|  2.89M|    assert(PyLong_Check(op));
  ------------------
  |  Branch (269:5): [True: 2.89M, False: 0]
  ------------------
  270|  2.89M|    assert(_PyLong_IsCompact((PyLongObject *)op));
  ------------------
  |  Branch (270:5): [True: 2.89M, False: 0]
  ------------------
  271|  2.89M|    return 1 - (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|  2.89M|#define SIGN_MASK 3
  ------------------
  272|  2.89M|}
longobject.c:_PyLong_NonCompactSign:
  276|  1.37k|{
  277|  1.37k|    assert(PyLong_Check(op));
  ------------------
  |  Branch (277:5): [True: 1.37k, False: 0]
  ------------------
  278|  1.37k|    assert(!_PyLong_IsCompact((PyLongObject *)op));
  ------------------
  |  Branch (278:5): [True: 1.37k, False: 0]
  ------------------
  279|  1.37k|    return 1 - (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|  1.37k|#define SIGN_MASK 3
  ------------------
  280|  1.37k|}
longobject.c:_PyLong_DigitCount:
  252|  12.8M|{
  253|  12.8M|    assert(PyLong_Check(op));
  ------------------
  |  Branch (253:5): [True: 12.8M, False: 0]
  ------------------
  254|  12.8M|    return (Py_ssize_t)(op->long_value.lv_tag >> NON_SIZE_BITS);
  ------------------
  |  |  175|  12.8M|#define NON_SIZE_BITS 3
  ------------------
  255|  12.8M|}
longobject.c:_PyLong_FlipSign:
  322|      2|{
  323|      2|    assert(!_PyLong_IsSmallInt(op));
  ------------------
  |  Branch (323:5): [True: 2, False: 0]
  ------------------
  324|      2|    unsigned int flipped_sign = 2 - (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|      2|#define SIGN_MASK 3
  ------------------
  325|      2|    op->long_value.lv_tag &= NON_SIZE_MASK;
  ------------------
  |  |  318|      2|#define NON_SIZE_MASK ~(uintptr_t)((1 << NON_SIZE_BITS) - 1)
  |  |  ------------------
  |  |  |  |  175|      2|#define NON_SIZE_BITS 3
  |  |  ------------------
  ------------------
  326|      2|    op->long_value.lv_tag |= flipped_sign;
  327|      2|}
longobject.c:_PyLong_IsNonNegativeCompact:
  205|  20.4M|_PyLong_IsNonNegativeCompact(const PyLongObject* op) {
  206|  20.4M|    assert(PyLong_Check(op));
  ------------------
  |  Branch (206:5): [True: 20.4M, False: 0]
  ------------------
  207|  20.4M|    return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  176|  20.4M|#define IMMORTALITY_BIT_MASK (1 << 2)
  ------------------
                  return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  175|  20.4M|#define NON_SIZE_BITS 3
  ------------------
  208|  20.4M|}
longobject.c:_PyLong_IsNegative:
  225|  7.96M|{
  226|  7.96M|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_NEGATIVE;
  ------------------
  |  |  172|  7.96M|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_NEGATIVE;
  ------------------
  |  |  174|  7.96M|#define SIGN_NEGATIVE 2
  ------------------
  227|  7.96M|}
longobject.c:_PyLong_IsPositive:
  231|  1.43k|{
  232|  1.43k|    return (op->long_value.lv_tag & SIGN_MASK) == 0;
  ------------------
  |  |  172|  1.43k|#define SIGN_MASK 3
  ------------------
  233|  1.43k|}
longobject.c:_PyLong_IsZero:
  219|   436k|{
  220|   436k|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  172|   436k|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  173|   436k|#define SIGN_ZERO 1
  ------------------
  221|   436k|}
longobject.c:_PyLong_SetDigitCount:
  312|  2.50M|{
  313|  2.50M|    assert(size >= 0);
  ------------------
  |  Branch (313:5): [True: 2.50M, False: 0]
  ------------------
  314|  2.50M|    assert(!_PyLong_IsSmallInt(op));
  ------------------
  |  Branch (314:5): [True: 2.50M, False: 0]
  ------------------
  315|  2.50M|    op->long_value.lv_tag = (((size_t)size) << NON_SIZE_BITS) | (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  175|  2.50M|#define NON_SIZE_BITS 3
  ------------------
                  op->long_value.lv_tag = (((size_t)size) << NON_SIZE_BITS) | (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|  2.50M|#define SIGN_MASK 3
  ------------------
  316|  2.50M|}
longobject.c:_PyLong_IsSmallInt:
  238|   114M|{
  239|   114M|    assert(PyLong_Check(op));
  ------------------
  |  Branch (239:5): [True: 114M, False: 0]
  ------------------
  240|   114M|    bool is_small_int = (op->long_value.lv_tag & IMMORTALITY_BIT_MASK) != 0;
  ------------------
  |  |  176|   114M|#define IMMORTALITY_BIT_MASK (1 << 2)
  ------------------
  241|   114M|    if (is_small_int) {
  ------------------
  |  Branch (241:9): [True: 0, False: 114M]
  ------------------
  242|      0|        assert(PyLong_CheckExact(op));
  ------------------
  |  Branch (242:9): [True: 0, False: 0]
  ------------------
  243|      0|        assert(_Py_IsImmortal(op));
  ------------------
  |  Branch (243:9): [True: 0, False: 0]
  ------------------
  244|      0|        assert((_PyLong_IsCompact(op)
  ------------------
  |  Branch (244:9): [True: 0, False: 0]
  |  Branch (244:9): [True: 0, False: 0]
  |  Branch (244:9): [True: 0, False: 0]
  ------------------
  245|      0|                && _PY_IS_SMALL_INT(_PyLong_CompactValue(op))));
  246|      0|    }
  247|   114M|    return is_small_int;
  248|   114M|}
longobject.c:_PyLong_BothAreCompact:
  212|   103M|_PyLong_BothAreCompact(const PyLongObject* a, const PyLongObject* b) {
  213|   103M|    assert(PyLong_Check(a));
  ------------------
  |  Branch (213:5): [True: 103M, False: 0]
  ------------------
  214|   103M|    assert(PyLong_Check(b));
  ------------------
  |  Branch (214:5): [True: 103M, False: 0]
  ------------------
  215|   103M|    return (a->long_value.lv_tag | b->long_value.lv_tag) < (2 << NON_SIZE_BITS);
  ------------------
  |  |  175|   103M|#define NON_SIZE_BITS 3
  ------------------
  216|   103M|}
longobject.c:_PyLong_SignedDigitCount:
  260|  24.3M|{
  261|  24.3M|    assert(PyLong_Check(op));
  ------------------
  |  Branch (261:5): [True: 24.3M, False: 0]
  ------------------
  262|  24.3M|    Py_ssize_t sign = 1 - (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|  24.3M|#define SIGN_MASK 3
  ------------------
  263|  24.3M|    return sign * (Py_ssize_t)(op->long_value.lv_tag >> NON_SIZE_BITS);
  ------------------
  |  |  175|  24.3M|#define NON_SIZE_BITS 3
  ------------------
  264|  24.3M|}
longobject.c:_PyLong_SameSign:
  285|   255k|{
  286|   255k|    return (a->long_value.lv_tag & SIGN_MASK) == (b->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|   255k|#define SIGN_MASK 3
  ------------------
                  return (a->long_value.lv_tag & SIGN_MASK) == (b->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|   255k|#define SIGN_MASK 3
  ------------------
  287|   255k|}
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|  8.81M|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   59|  8.81M|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|  8.81M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  8.81M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   98|  8.81M|#define _PY_NSMALLNEGINTS           5
  ------------------
rangeobject.c:_PyLong_GetOne:
   78|  14.6M|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   59|  14.6M|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|  14.6M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  14.6M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   98|  14.6M|#define _PY_NSMALLNEGINTS           5
  ------------------
rangeobject.c:_PyLong_IsZero:
  219|  63.0k|{
  220|  63.0k|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  172|  63.0k|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  173|  63.0k|#define SIGN_ZERO 1
  ------------------
  221|  63.0k|}
typeobject.c:_PyLong_IsNegative:
  225|  9.04M|{
  226|  9.04M|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_NEGATIVE;
  ------------------
  |  |  172|  9.04M|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_NEGATIVE;
  ------------------
  |  |  174|  9.04M|#define SIGN_NEGATIVE 2
  ------------------
  227|  9.04M|}
_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|   248M|{
  346|   248M|    return PyLong_CheckExact(op) && _PyLong_IsCompact((const PyLongObject *)op);
  ------------------
  |  |   14|   248M|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|   497M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   248M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   248M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 248M, False: 60.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (346:37): [True: 247M, False: 626k]
  ------------------
  347|   248M|}
ceval.c:_PyLong_BothAreCompact:
  212|  53.9M|_PyLong_BothAreCompact(const PyLongObject* a, const PyLongObject* b) {
  213|  53.9M|    assert(PyLong_Check(a));
  ------------------
  |  Branch (213:5): [True: 53.9M, False: 0]
  ------------------
  214|  53.9M|    assert(PyLong_Check(b));
  ------------------
  |  Branch (214:5): [True: 53.9M, False: 0]
  ------------------
  215|  53.9M|    return (a->long_value.lv_tag | b->long_value.lv_tag) < (2 << NON_SIZE_BITS);
  ------------------
  |  |  175|  53.9M|#define NON_SIZE_BITS 3
  ------------------
  216|  53.9M|}
ceval.c:_PyLong_IsNonNegativeCompact:
  205|  56.2M|_PyLong_IsNonNegativeCompact(const PyLongObject* op) {
  206|  56.2M|    assert(PyLong_Check(op));
  ------------------
  |  Branch (206:5): [True: 56.2M, False: 0]
  ------------------
  207|  56.2M|    return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  176|  56.2M|#define IMMORTALITY_BIT_MASK (1 << 2)
  ------------------
                  return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  175|  56.2M|#define NON_SIZE_BITS 3
  ------------------
  208|  56.2M|}
ceval.c:_PyLong_DigitCount:
  252|  23.3M|{
  253|  23.3M|    assert(PyLong_Check(op));
  ------------------
  |  Branch (253:5): [True: 23.3M, False: 0]
  ------------------
  254|  23.3M|    return (Py_ssize_t)(op->long_value.lv_tag >> NON_SIZE_BITS);
  ------------------
  |  |  175|  23.3M|#define NON_SIZE_BITS 3
  ------------------
  255|  23.3M|}
ceval.c:_PyLong_IsZero:
  219|  26.3M|{
  220|  26.3M|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  172|  26.3M|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  173|  26.3M|#define SIGN_ZERO 1
  ------------------
  221|  26.3M|}
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|   175k|_PyLong_IsNonNegativeCompact(const PyLongObject* op) {
  206|   175k|    assert(PyLong_Check(op));
  ------------------
  |  Branch (206:5): [True: 175k, False: 0]
  ------------------
  207|   175k|    return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  176|   175k|#define IMMORTALITY_BIT_MASK (1 << 2)
  ------------------
                  return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  175|   175k|#define NON_SIZE_BITS 3
  ------------------
  208|   175k|}
specialize.c:_PyLong_CheckExactAndCompact:
  345|  25.5k|{
  346|  25.5k|    return PyLong_CheckExact(op) && _PyLong_IsCompact((const PyLongObject *)op);
  ------------------
  |  |   14|  25.5k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  51.1k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  25.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  25.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 25.5k, False: 60]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (346:37): [True: 12.4k, False: 13.0k]
  ------------------
  347|  25.5k|}
textio.c:_PyLong_GetZero:
   73|      6|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   59|      6|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   98|      6|#define _PY_NSMALLNEGINTS           5
  ------------------
enumobject.c:_PyLong_GetOne:
   78|  2.99M|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   59|  2.99M|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|  2.99M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.99M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   98|  2.99M|#define _PY_NSMALLNEGINTS           5
  ------------------

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

moduleobject.c:_PyModule_GetDefOrNull:
   48|     35|static inline PyModuleDef *_PyModule_GetDefOrNull(PyObject *arg) {
   49|     35|    PyModuleObject *mod = _PyModule_CAST(arg);
  ------------------
  |  |   46|     35|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (49:27): [True: 35, False: 0]
  ------------------
   50|     35|    if (mod->md_token_is_def) {
  ------------------
  |  Branch (50:9): [True: 35, False: 0]
  ------------------
   51|     35|        return (PyModuleDef *)mod->md_token;
   52|     35|    }
   53|      0|    return NULL;
   54|     35|}
moduleobject.c:_PyModule_GetDict:
   67|    752|static inline PyObject* _PyModule_GetDict(PyObject *mod) {
   68|    752|    PyObject *dict = _PyModule_CAST(mod)->md_dict;
  ------------------
  |  |   46|    752|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    752|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (68:22): [True: 752, False: 0]
  ------------------
   69|       |    // _PyModule_GetDict(mod) must not be used after calling module_clear(mod)
   70|    752|    assert(dict != NULL);
  ------------------
  |  Branch (70:5): [True: 752, False: 0]
  ------------------
   71|    752|    return dict;  // borrowed reference
   72|    752|}
moduleobject.c:_PyModule_GetState:
   63|    559|static inline void* _PyModule_GetState(PyObject* mod) {
   64|    559|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|    559|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    559|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 559, False: 0]
  ------------------
   65|    559|}
typeobject.c:_PyModule_GetToken:
   57|    139|static inline PyModuleDef *_PyModule_GetToken(PyObject *arg) {
   58|    139|    PyModuleObject *mod = _PyModule_CAST(arg);
  ------------------
  |  |   46|    139|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    139|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (58:27): [True: 139, False: 0]
  ------------------
   59|      0|    return (PyModuleDef *)mod->md_token;
   60|    139|}
import.c:_PyModule_GetDefOrNull:
   48|      8|static inline PyModuleDef *_PyModule_GetDefOrNull(PyObject *arg) {
   49|      8|    PyModuleObject *mod = _PyModule_CAST(arg);
  ------------------
  |  |   46|      8|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (49:27): [True: 8, False: 0]
  ------------------
   50|      8|    if (mod->md_token_is_def) {
  ------------------
  |  Branch (50:9): [True: 8, False: 0]
  ------------------
   51|      8|        return (PyModuleDef *)mod->md_token;
   52|      8|    }
   53|      0|    return NULL;
   54|      8|}
posixmodule.c:_PyModule_GetState:
   63|    389|static inline void* _PyModule_GetState(PyObject* mod) {
   64|    389|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|    389|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    389|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 389, False: 0]
  ------------------
   65|    389|}
_collectionsmodule.c:_PyModule_GetState:
   63|    269|static inline void* _PyModule_GetState(PyObject* mod) {
   64|    269|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|    269|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    269|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 269, False: 0]
  ------------------
   65|    269|}
_iomodule.c:_PyModule_GetState:
   63|    305|static inline void* _PyModule_GetState(PyObject* mod) {
   64|    305|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|    305|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    305|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 305, False: 0]
  ------------------
   65|    305|}
bufferedio.c:_PyModule_GetState:
   63|     36|static inline void* _PyModule_GetState(PyObject* mod) {
   64|     36|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|     36|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 36, False: 0]
  ------------------
   65|     36|}
textio.c:_PyModule_GetState:
   63|      9|static inline void* _PyModule_GetState(PyObject* mod) {
   64|      9|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|      9|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 9, False: 0]
  ------------------
   65|      9|}
itertoolsmodule.c:_PyModule_GetState:
   63|    269|static inline void* _PyModule_GetState(PyObject* mod) {
   64|    269|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|    269|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    269|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 269, False: 0]
  ------------------
   65|    269|}
sre.c:_PyModule_GetState:
   63|  2.48k|static inline void* _PyModule_GetState(PyObject* mod) {
   64|  2.48k|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|  2.48k|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.48k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 2.48k, False: 0]
  ------------------
   65|  2.48k|}
_threadmodule.c:_PyModule_GetState:
   63|    451|static inline void* _PyModule_GetState(PyObject* mod) {
   64|    451|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|    451|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    451|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 451, False: 0]
  ------------------
   65|    451|}
timemodule.c:_PyModule_GetState:
   63|    272|static inline void* _PyModule_GetState(PyObject* mod) {
   64|    272|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|    272|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    272|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 272, False: 0]
  ------------------
   65|    272|}
_abc.c:_PyModule_GetState:
   63|    626|static inline void* _PyModule_GetState(PyObject* mod) {
   64|    626|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|    626|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    626|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 626, False: 0]
  ------------------
   65|    626|}
_functoolsmodule.c:_PyModule_GetState:
   63|    273|static inline void* _PyModule_GetState(PyObject* mod) {
   64|    273|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|    273|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    273|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 273, False: 0]
  ------------------
   65|    273|}
_operator.c:_PyModule_GetState:
   63|    269|static inline void* _PyModule_GetState(PyObject* mod) {
   64|    269|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|    269|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    269|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 269, False: 0]
  ------------------
   65|    269|}

bytesobject.c:_PyObject_InitVar:
  490|  1.16M|{
  491|  1.16M|    assert(op != NULL);
  ------------------
  |  Branch (491:5): [True: 1.16M, False: 0]
  ------------------
  492|  1.16M|    assert(typeobj != &PyLong_Type);
  ------------------
  |  Branch (492:5): [True: 1.16M, False: 0]
  ------------------
  493|  1.16M|    _PyObject_Init((PyObject *)op, typeobj);
  494|  1.16M|    Py_SET_SIZE(op, size);
  ------------------
  |  |  216|  1.16M|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  1.16M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.16M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  495|  1.16M|}
bytesobject.c:_PyObject_Init:
  480|  1.16M|{
  481|  1.16M|    assert(op != NULL);
  ------------------
  |  Branch (481:5): [True: 1.16M, False: 0]
  ------------------
  482|  1.16M|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  1.16M|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  1.16M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.16M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  483|  1.16M|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (483:5): [True: 0, False: 1.16M]
  |  Branch (483:5): [True: 1.16M, False: 0]
  ------------------
  484|  1.16M|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  309|  1.16M|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  1.16M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.16M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.16M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  485|  1.16M|    _Py_NewReference(op);
  486|  1.16M|}
bytesobject.c:_PyType_HasFeature:
  284|  1.16M|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  285|  1.16M|    return ((type->tp_flags) & feature) != 0;
  286|  1.16M|}
bytesobject.c:_PyObject_IsUniquelyReferenced:
  185|    496|{
  186|    496|#if !defined(Py_GIL_DISABLED)
  187|    496|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|    496|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    496|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    496|#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|    496|}
call.c:Py_DECREF_MORTAL:
  447|  1.06M|{
  448|  1.06M|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (448:5): [True: 1.06M, False: 0]
  ------------------
  449|  1.06M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.06M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  450|  1.06M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (450:9): [True: 90, False: 1.06M]
  ------------------
  451|     90|        _Py_Dealloc(op);
  452|     90|    }
  453|  1.06M|}
floatobject.c:_PyObject_Init:
  480|     35|{
  481|     35|    assert(op != NULL);
  ------------------
  |  Branch (481:5): [True: 35, False: 0]
  ------------------
  482|     35|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|     35|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  483|     35|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (483:5): [True: 0, False: 35]
  |  Branch (483:5): [True: 35, False: 0]
  ------------------
  484|     35|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  309|     35|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|     35|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  485|     35|    _Py_NewReference(op);
  486|     35|}
floatobject.c:_PyType_HasFeature:
  284|     35|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  285|     35|    return ((type->tp_flags) & feature) != 0;
  286|     35|}
funcobject.c:_PyObject_ResurrectStart:
  676|  1.01M|{
  677|  1.01M|    assert(Py_REFCNT(op) == 0);
  ------------------
  |  Branch (677:5): [True: 1.01M, False: 0]
  ------------------
  678|       |#ifdef Py_REF_DEBUG
  679|       |    _Py_IncRefTotal(_PyThreadState_GET());
  680|       |#endif
  681|       |#ifdef Py_GIL_DISABLED
  682|       |    _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_ThreadId());
  683|       |    _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 1);
  684|       |    _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, 0);
  685|       |#else
  686|  1.01M|    Py_SET_REFCNT(op, 1);
  ------------------
  |  |  201|  1.01M|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  1.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  687|  1.01M|#endif
  688|       |#ifdef Py_TRACE_REFS
  689|       |    _Py_ResurrectReference(op);
  690|       |#endif
  691|  1.01M|}
funcobject.c:_PyObject_ResurrectEnd:
  698|  1.01M|{
  699|       |#ifdef Py_REF_DEBUG
  700|       |    _Py_DecRefTotal(_PyThreadState_GET());
  701|       |#endif
  702|  1.01M|#ifndef Py_GIL_DISABLED
  703|  1.01M|    Py_SET_REFCNT(op, Py_REFCNT(op) - 1);
  ------------------
  |  |  201|  1.01M|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  1.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  704|  1.01M|    if (Py_REFCNT(op) == 0) {
  ------------------
  |  |  119|  1.01M|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (704:9): [True: 1.01M, False: 0]
  ------------------
  705|       |# ifdef Py_TRACE_REFS
  706|       |        _Py_ForgetReference(op);
  707|       |# endif
  708|  1.01M|        return 0;
  709|  1.01M|    }
  710|      0|    return 1;
  711|       |#else
  712|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  713|       |    Py_ssize_t shared = _Py_atomic_load_ssize_acquire(&op->ob_ref_shared);
  714|       |    if (_Py_IsOwnedByCurrentThread(op) && local == 1 && shared == 0) {
  715|       |        // Fast-path: object has a single refcount and is owned by this thread
  716|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 0);
  717|       |# ifdef Py_TRACE_REFS
  718|       |        _Py_ForgetReference(op);
  719|       |# endif
  720|       |        return 0;
  721|       |    }
  722|       |    // Slow-path: object has a shared refcount or is not owned by this thread
  723|       |    return _PyObject_ResurrectEndSlow(op);
  724|       |#endif
  725|  1.01M|}
listobject.c:_Py_RefcntAdd:
  135|  2.89k|{
  136|  2.89k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  2.89k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.89k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2.89k, False: 0]
  |  |  ------------------
  ------------------
  137|  2.89k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  2.89k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  138|  2.89k|        return;
  139|  2.89k|    }
  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:
  480|  7.74M|{
  481|  7.74M|    assert(op != NULL);
  ------------------
  |  Branch (481:5): [True: 7.74M, False: 0]
  ------------------
  482|  7.74M|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  7.74M|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  7.74M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.74M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  483|  7.74M|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (483:5): [True: 0, False: 7.74M]
  |  Branch (483:5): [True: 7.74M, False: 0]
  ------------------
  484|  7.74M|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  309|  7.74M|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  7.74M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.74M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.74M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  485|  7.74M|    _Py_NewReference(op);
  486|  7.74M|}
longobject.c:_PyType_HasFeature:
  284|  7.74M|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  285|  7.74M|    return ((type->tp_flags) & feature) != 0;
  286|  7.74M|}
longobject.c:_Py_DECREF_SPECIALIZED:
  234|  1.64M|{
  235|  1.64M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.64M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.64M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.64M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 139, False: 1.64M]
  |  |  ------------------
  ------------------
  236|    139|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    139|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  237|    139|        return;
  238|    139|    }
  239|  1.64M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.64M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  240|       |#ifdef Py_REF_DEBUG
  241|       |    _Py_DEC_REFTOTAL(PyInterpreterState_Get());
  242|       |#endif
  243|  1.64M|    if (--op->ob_refcnt != 0) {
  ------------------
  |  Branch (243:9): [True: 300, False: 1.64M]
  ------------------
  244|    300|        assert(op->ob_refcnt > 0);
  ------------------
  |  Branch (244:9): [True: 300, False: 0]
  ------------------
  245|    300|    }
  246|  1.64M|    else {
  247|       |#ifdef Py_TRACE_REFS
  248|       |        _Py_ForgetReference(op);
  249|       |#endif
  250|       |        _PyReftracerTrack(op, PyRefTracer_DESTROY);
  ------------------
  |  |  112|  1.64M|    do { \
  |  |  113|  1.64M|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  114|  1.64M|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (114:13): [True: 0, False: 1.64M]
  |  |  ------------------
  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  117|      0|        } \
  |  |  118|  1.64M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (118:13): [Folded, False: 1.64M]
  |  |  ------------------
  ------------------
  251|  1.64M|        destruct(op);
  252|  1.64M|    }
  253|  1.64M|}
longobject.c:_PyObject_IsUniquelyReferenced:
  185|   186k|{
  186|   186k|#if !defined(Py_GIL_DISABLED)
  187|   186k|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|   186k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   186k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   186k|#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|   186k|}
dictobject.c:_Py_INCREF_MORTAL:
 1024|  1.03M|{
 1025|  1.03M|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (1025:5): [True: 1.03M, False: 0]
  ------------------
 1026|  1.03M|    op->ob_refcnt++;
 1027|  1.03M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.03M|#  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|  1.03M|}
dictobject.c:Py_DECREF_MORTAL:
  447|  1.01M|{
  448|  1.01M|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (448:5): [True: 1.01M, False: 0]
  ------------------
  449|  1.01M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.01M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  450|  1.01M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (450:9): [True: 0, False: 1.01M]
  ------------------
  451|      0|        _Py_Dealloc(op);
  452|      0|    }
  453|  1.01M|}
dictobject.c:_PyObject_HashDictKey:
  841|  29.4M|{
  842|  29.4M|    if (PyUnicode_CheckExact(op)) {
  ------------------
  |  |  104|  29.4M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  29.4M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  29.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  29.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 19.4M, False: 9.97M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  843|  19.4M|        Py_hash_t hash = PyUnstable_Unicode_GET_CACHED_HASH(op);
  844|  19.4M|        if (hash != -1) {
  ------------------
  |  Branch (844:13): [True: 18.6M, False: 866k]
  ------------------
  845|  18.6M|            return hash;
  846|  18.6M|        }
  847|  19.4M|    }
  848|  10.8M|    return PyObject_Hash(op);
  849|  29.4M|}
dictobject.c:_PyObject_ResurrectStart:
  676|  1.09M|{
  677|  1.09M|    assert(Py_REFCNT(op) == 0);
  ------------------
  |  Branch (677:5): [True: 1.09M, False: 0]
  ------------------
  678|       |#ifdef Py_REF_DEBUG
  679|       |    _Py_IncRefTotal(_PyThreadState_GET());
  680|       |#endif
  681|       |#ifdef Py_GIL_DISABLED
  682|       |    _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_ThreadId());
  683|       |    _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 1);
  684|       |    _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, 0);
  685|       |#else
  686|  1.09M|    Py_SET_REFCNT(op, 1);
  ------------------
  |  |  201|  1.09M|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  1.09M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.09M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  687|  1.09M|#endif
  688|       |#ifdef Py_TRACE_REFS
  689|       |    _Py_ResurrectReference(op);
  690|       |#endif
  691|  1.09M|}
dictobject.c:_PyObject_ResurrectEnd:
  698|  1.09M|{
  699|       |#ifdef Py_REF_DEBUG
  700|       |    _Py_DecRefTotal(_PyThreadState_GET());
  701|       |#endif
  702|  1.09M|#ifndef Py_GIL_DISABLED
  703|  1.09M|    Py_SET_REFCNT(op, Py_REFCNT(op) - 1);
  ------------------
  |  |  201|  1.09M|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  1.09M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.09M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  704|  1.09M|    if (Py_REFCNT(op) == 0) {
  ------------------
  |  |  119|  1.09M|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.09M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.09M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (704:9): [True: 1.09M, False: 0]
  ------------------
  705|       |# ifdef Py_TRACE_REFS
  706|       |        _Py_ForgetReference(op);
  707|       |# endif
  708|  1.09M|        return 0;
  709|  1.09M|    }
  710|      0|    return 1;
  711|       |#else
  712|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  713|       |    Py_ssize_t shared = _Py_atomic_load_ssize_acquire(&op->ob_ref_shared);
  714|       |    if (_Py_IsOwnedByCurrentThread(op) && local == 1 && shared == 0) {
  715|       |        // Fast-path: object has a single refcount and is owned by this thread
  716|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 0);
  717|       |# ifdef Py_TRACE_REFS
  718|       |        _Py_ForgetReference(op);
  719|       |# endif
  720|       |        return 0;
  721|       |    }
  722|       |    // Slow-path: object has a shared refcount or is not owned by this thread
  723|       |    return _PyObject_ResurrectEndSlow(op);
  724|       |#endif
  725|  1.09M|}
dictobject.c:_PyObject_IsUniquelyReferenced:
  185|  1.25k|{
  186|  1.25k|#if !defined(Py_GIL_DISABLED)
  187|  1.25k|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|  1.25k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.25k|#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.25k|}
dictobject.c:_PyObject_InlineValues:
  949|  53.9M|{
  950|  53.9M|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  53.9M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  53.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  951|  53.9M|    assert(tp->tp_basicsize > 0 && (size_t)tp->tp_basicsize % sizeof(PyObject *) == 0);
  ------------------
  |  Branch (951:5): [True: 53.9M, False: 0]
  |  Branch (951:5): [True: 53.9M, False: 0]
  ------------------
  952|  53.9M|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  ------------------
  |  Branch (952:5): [True: 53.9M, False: 0]
  ------------------
  953|  53.9M|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (953:5): [True: 53.9M, False: 0]
  ------------------
  954|  53.9M|    return (PyDictValues *)((char *)obj + tp->tp_basicsize);
  955|  53.9M|}
dictobject.c:_PyObject_ManagedDictPointer:
  935|  38.5M|{
  936|  38.5M|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (936:5): [True: 38.5M, False: 0]
  ------------------
  937|  38.5M|    return (PyManagedDictPointer *)((char *)obj + MANAGED_DICT_OFFSET);
  ------------------
  |  |  925|  38.5M|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
  938|  38.5M|}
dictobject.c:_PyObject_GetManagedDict:
  942|  6.92M|{
  943|  6.92M|    PyManagedDictPointer *dorv = _PyObject_ManagedDictPointer(obj);
  944|  6.92M|    return (PyDictObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(dorv->dict);
  ------------------
  |  |  150|  6.92M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  945|  6.92M|}
dictobject.c:_PyType_HasFeature:
  284|  1.08M|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  285|  1.08M|    return ((type->tp_flags) & feature) != 0;
  286|  1.08M|}
object.c:_PyObject_Init:
  480|   633k|{
  481|   633k|    assert(op != NULL);
  ------------------
  |  Branch (481:5): [True: 633k, False: 0]
  ------------------
  482|   633k|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|   633k|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|   633k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   633k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  483|   633k|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (483:5): [True: 0, False: 633k]
  |  Branch (483:5): [True: 633k, False: 0]
  ------------------
  484|   633k|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  309|   633k|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|   633k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   633k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   633k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  485|   633k|    _Py_NewReference(op);
  486|   633k|}
object.c:_PyObject_InitVar:
  490|  2.73k|{
  491|  2.73k|    assert(op != NULL);
  ------------------
  |  Branch (491:5): [True: 2.73k, False: 0]
  ------------------
  492|  2.73k|    assert(typeobj != &PyLong_Type);
  ------------------
  |  Branch (492:5): [True: 2.73k, False: 0]
  ------------------
  493|  2.73k|    _PyObject_Init((PyObject *)op, typeobj);
  494|  2.73k|    Py_SET_SIZE(op, size);
  ------------------
  |  |  216|  2.73k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  2.73k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  495|  2.73k|}
object.c:_PyType_HasFeature:
  284|  17.7M|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  285|  17.7M|    return ((type->tp_flags) & feature) != 0;
  286|  17.7M|}
object.c:_PyObject_ResurrectStart:
  676|  5.23M|{
  677|  5.23M|    assert(Py_REFCNT(op) == 0);
  ------------------
  |  Branch (677:5): [True: 5.23M, False: 0]
  ------------------
  678|       |#ifdef Py_REF_DEBUG
  679|       |    _Py_IncRefTotal(_PyThreadState_GET());
  680|       |#endif
  681|       |#ifdef Py_GIL_DISABLED
  682|       |    _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_ThreadId());
  683|       |    _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 1);
  684|       |    _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, 0);
  685|       |#else
  686|  5.23M|    Py_SET_REFCNT(op, 1);
  ------------------
  |  |  201|  5.23M|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  5.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  687|  5.23M|#endif
  688|       |#ifdef Py_TRACE_REFS
  689|       |    _Py_ResurrectReference(op);
  690|       |#endif
  691|  5.23M|}
object.c:_PyObject_ResurrectEnd:
  698|  5.23M|{
  699|       |#ifdef Py_REF_DEBUG
  700|       |    _Py_DecRefTotal(_PyThreadState_GET());
  701|       |#endif
  702|  5.23M|#ifndef Py_GIL_DISABLED
  703|  5.23M|    Py_SET_REFCNT(op, Py_REFCNT(op) - 1);
  ------------------
  |  |  201|  5.23M|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  5.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  704|  5.23M|    if (Py_REFCNT(op) == 0) {
  ------------------
  |  |  119|  5.23M|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (704:9): [True: 5.23M, False: 0]
  ------------------
  705|       |# ifdef Py_TRACE_REFS
  706|       |        _Py_ForgetReference(op);
  707|       |# endif
  708|  5.23M|        return 0;
  709|  5.23M|    }
  710|      0|    return 1;
  711|       |#else
  712|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  713|       |    Py_ssize_t shared = _Py_atomic_load_ssize_acquire(&op->ob_ref_shared);
  714|       |    if (_Py_IsOwnedByCurrentThread(op) && local == 1 && shared == 0) {
  715|       |        // Fast-path: object has a single refcount and is owned by this thread
  716|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 0);
  717|       |# ifdef Py_TRACE_REFS
  718|       |        _Py_ForgetReference(op);
  719|       |# endif
  720|       |        return 0;
  721|       |    }
  722|       |    // Slow-path: object has a shared refcount or is not owned by this thread
  723|       |    return _PyObject_ResurrectEndSlow(op);
  724|       |#endif
  725|  5.23M|}
object.c:_PyObject_GetManagedDict:
  942|  9.02k|{
  943|  9.02k|    PyManagedDictPointer *dorv = _PyObject_ManagedDictPointer(obj);
  944|  9.02k|    return (PyDictObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(dorv->dict);
  ------------------
  |  |  150|  9.02k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  945|  9.02k|}
object.c:_PyObject_ManagedDictPointer:
  935|  9.21k|{
  936|  9.21k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (936:5): [True: 9.21k, False: 0]
  ------------------
  937|  9.21k|    return (PyManagedDictPointer *)((char *)obj + MANAGED_DICT_OFFSET);
  ------------------
  |  |  925|  9.21k|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
  938|  9.21k|}
object.c:Py_DECREF_MORTAL:
  447|  38.8M|{
  448|  38.8M|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (448:5): [True: 38.8M, False: 0]
  ------------------
  449|  38.8M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  38.8M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  450|  38.8M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (450:9): [True: 0, False: 38.8M]
  ------------------
  451|      0|        _Py_Dealloc(op);
  452|      0|    }
  453|  38.8M|}
object.c:_PyObject_IsUniquelyReferenced:
  185|      3|{
  186|      3|#if !defined(Py_GIL_DISABLED)
  187|      3|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|      3|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#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|}
setobject.c:_PyObject_IsUniquelyReferenced:
  185|    248|{
  186|    248|#if !defined(Py_GIL_DISABLED)
  187|    248|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|    248|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    248|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    248|#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|    248|}
structseq.c:_PyType_HasFeature:
  284|    119|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  285|    119|    return ((type->tp_flags) & feature) != 0;
  286|    119|}
tupleobject.c:_PyObject_IsUniquelyReferenced:
  185|     34|{
  186|     34|#if !defined(Py_GIL_DISABLED)
  187|     34|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|     34|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#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|     34|}
tupleobject.c:_PyType_HasFeature:
  284|  64.6M|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  285|  64.6M|    return ((type->tp_flags) & feature) != 0;
  286|  64.6M|}
typeobject.c:_Py_TryIncref:
  730|      8|{
  731|       |#ifdef Py_GIL_DISABLED
  732|       |    return _Py_TryIncrefFast(op) || _Py_TryIncRefShared(op);
  733|       |#else
  734|      8|    if (Py_REFCNT(op) > 0) {
  ------------------
  |  |  119|      8|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (734:9): [True: 8, False: 0]
  ------------------
  735|      8|        Py_INCREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  736|      8|        return 1;
  737|      8|    }
  738|      0|    return 0;
  739|      8|#endif
  740|      8|}
typeobject.c:_PyType_HasFeature:
  284|  98.2M|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  285|  98.2M|    return ((type->tp_flags) & feature) != 0;
  286|  98.2M|}
typeobject.c:_PyType_PreHeaderSize:
  853|  16.2M|{
  854|  16.2M|    return (
  855|  16.2M|#ifndef Py_GIL_DISABLED
  856|  16.2M|        (size_t)_PyType_IS_GC(tp) * sizeof(PyGC_Head) +
  ------------------
  |  |  822|  16.2M|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  16.2M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  ------------------
  857|  16.2M|#endif
  858|  16.2M|        (size_t)_PyType_HasFeature(tp, Py_TPFLAGS_PREHEADER) * 2 * sizeof(PyObject *)
  ------------------
  |  |  487|  16.2M|#define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  477|  16.2M|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  |  |  ------------------
  |  |               #define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  482|  16.2M|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  |  |  ------------------
  ------------------
  859|  16.2M|    );
  860|  16.2M|}
typeobject.c:_PyObject_Init:
  480|  16.2M|{
  481|  16.2M|    assert(op != NULL);
  ------------------
  |  Branch (481:5): [True: 16.2M, False: 0]
  ------------------
  482|  16.2M|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  16.2M|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  16.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  483|  16.2M|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (483:5): [True: 6.92M, False: 9.27M]
  |  Branch (483:5): [True: 9.27M, False: 0]
  ------------------
  484|  16.2M|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  309|  16.2M|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  16.2M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  16.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  16.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  485|  16.2M|    _Py_NewReference(op);
  486|  16.2M|}
typeobject.c:_PyObject_InitVar:
  490|    533|{
  491|    533|    assert(op != NULL);
  ------------------
  |  Branch (491:5): [True: 533, False: 0]
  ------------------
  492|    533|    assert(typeobj != &PyLong_Type);
  ------------------
  |  Branch (492:5): [True: 533, False: 0]
  ------------------
  493|    533|    _PyObject_Init((PyObject *)op, typeobj);
  494|    533|    Py_SET_SIZE(op, size);
  ------------------
  |  |  216|    533|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|    533|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    533|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  495|    533|}
typeobject.c:Py_DECREF_MORTAL:
  447|  22.4M|{
  448|  22.4M|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (448:5): [True: 22.4M, False: 0]
  ------------------
  449|  22.4M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  22.4M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  450|  22.4M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (450:9): [True: 0, False: 22.4M]
  ------------------
  451|      0|        _Py_Dealloc(op);
  452|      0|    }
  453|  22.4M|}
typeobject.c:_Py_INCREF_MORTAL:
 1024|  63.0M|{
 1025|  63.0M|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (1025:5): [True: 63.0M, False: 0]
  ------------------
 1026|  63.0M|    op->ob_refcnt++;
 1027|  63.0M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  63.0M|#  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|  63.0M|}
typeobject.c:_PyObject_HashDictKey:
  841|  31.0k|{
  842|  31.0k|    if (PyUnicode_CheckExact(op)) {
  ------------------
  |  |  104|  31.0k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  31.0k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  31.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  31.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 31.0k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  843|  31.0k|        Py_hash_t hash = PyUnstable_Unicode_GET_CACHED_HASH(op);
  844|  31.0k|        if (hash != -1) {
  ------------------
  |  Branch (844:13): [True: 30.0k, False: 1.06k]
  ------------------
  845|  30.0k|            return hash;
  846|  30.0k|        }
  847|  31.0k|    }
  848|  1.06k|    return PyObject_Hash(op);
  849|  31.0k|}
unicodeobject.c:_PyObject_Init:
  480|  4.60M|{
  481|  4.60M|    assert(op != NULL);
  ------------------
  |  Branch (481:5): [True: 4.60M, False: 0]
  ------------------
  482|  4.60M|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  4.60M|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  4.60M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.60M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  483|  4.60M|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (483:5): [True: 0, False: 4.60M]
  |  Branch (483:5): [True: 4.60M, False: 0]
  ------------------
  484|  4.60M|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  309|  4.60M|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  4.60M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.60M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.60M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  485|  4.60M|    _Py_NewReference(op);
  486|  4.60M|}
unicodeobject.c:_PyType_HasFeature:
  284|  4.60M|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  285|  4.60M|    return ((type->tp_flags) & feature) != 0;
  286|  4.60M|}
unicodeobject.c:_PyObject_IsUniquelyReferenced:
  185|  17.9M|{
  186|  17.9M|#if !defined(Py_GIL_DISABLED)
  187|  17.9M|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|  17.9M|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  17.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.9M|#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|  17.9M|}
weakrefobject.c:_PyType_SUPPORTS_WEAKREFS:
  871|  6.93M|static inline int _PyType_SUPPORTS_WEAKREFS(PyTypeObject *type) {
  872|  6.93M|    return (type->tp_weaklistoffset != 0);
  873|  6.93M|}
weakrefobject.c:_PyObject_GET_WEAKREFS_LISTPTR:
  787|  6.93M|{
  788|  6.93M|    if (PyType_Check(op) &&
  ------------------
  |  |  766|  13.8M|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.93M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.93M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 1.06k, False: 6.92M]
  |  |  ------------------
  ------------------
  789|  1.06k|            ((PyTypeObject *)op)->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  1.06k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (789:13): [True: 592, False: 477]
  ------------------
  790|    592|        PyInterpreterState *interp = _PyInterpreterState_GET();
  791|    592|        managed_static_type_state *state = _PyStaticType_GetState(
  792|    592|                                                interp, (PyTypeObject *)op);
  793|    592|        return _PyStaticType_GET_WEAKREFS_LISTPTR(state);
  794|    592|    }
  795|       |    // Essentially _PyObject_GET_WEAKREFS_LISTPTR_FROM_OFFSET():
  796|  6.92M|    Py_ssize_t offset = Py_TYPE(op)->tp_weaklistoffset;
  ------------------
  |  |  213|  6.92M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.92M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.92M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  797|  6.92M|    return (PyObject **)((char *)op + offset);
  798|  6.93M|}
weakrefobject.c:_Py_TryIncref:
  730|    731|{
  731|       |#ifdef Py_GIL_DISABLED
  732|       |    return _Py_TryIncrefFast(op) || _Py_TryIncRefShared(op);
  733|       |#else
  734|    731|    if (Py_REFCNT(op) > 0) {
  ------------------
  |  |  119|    731|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    731|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    731|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (734:9): [True: 731, False: 0]
  ------------------
  735|    731|        Py_INCREF(op);
  ------------------
  |  |  310|    731|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    731|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    731|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  736|    731|        return 1;
  737|    731|    }
  738|      0|    return 0;
  739|    731|#endif
  740|    731|}
bltinmodule.c:_PyObject_IsUniquelyReferenced:
  185|     69|{
  186|     69|#if !defined(Py_GIL_DISABLED)
  187|     69|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|     69|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     69|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     69|#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|     69|}
ceval.c:Py_DECREF_MORTAL:
  447|   627M|{
  448|   627M|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (448:5): [True: 627M, False: 0]
  ------------------
  449|   627M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   627M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  450|   627M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (450:9): [True: 55.3M, False: 572M]
  ------------------
  451|  55.3M|        _Py_Dealloc(op);
  452|  55.3M|    }
  453|   627M|}
ceval.c:Py_DECREF_MORTAL_SPECIALIZED:
  457|  33.6M|{
  458|  33.6M|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (458:5): [True: 33.6M, False: 0]
  ------------------
  459|  33.6M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  33.6M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  460|  33.6M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (460:9): [True: 8.63M, False: 25.0M]
  ------------------
  461|       |        _PyReftracerTrack(op, PyRefTracer_DESTROY);
  ------------------
  |  |  112|  8.63M|    do { \
  |  |  113|  8.63M|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  114|  8.63M|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (114:13): [True: 0, False: 8.63M]
  |  |  ------------------
  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  117|      0|        } \
  |  |  118|  8.63M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (118:13): [Folded, False: 8.63M]
  |  |  ------------------
  ------------------
  462|  8.63M|        destruct(op);
  463|  8.63M|    }
  464|  33.6M|}
ceval.c:_Py_INCREF_MORTAL:
 1024|   906M|{
 1025|   906M|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (1025:5): [True: 906M, False: 0]
  ------------------
 1026|   906M|    op->ob_refcnt++;
 1027|   906M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   906M|#  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|   906M|}
ceval.c:_PyObject_InlineValues:
  949|   299M|{
  950|   299M|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|   299M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   299M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   299M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  951|   299M|    assert(tp->tp_basicsize > 0 && (size_t)tp->tp_basicsize % sizeof(PyObject *) == 0);
  ------------------
  |  Branch (951:5): [True: 299M, False: 0]
  |  Branch (951:5): [True: 299M, False: 0]
  ------------------
  952|   299M|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  ------------------
  |  Branch (952:5): [True: 299M, False: 0]
  ------------------
  953|   299M|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (953:5): [True: 299M, False: 0]
  ------------------
  954|   299M|    return (PyDictValues *)((char *)obj + tp->tp_basicsize);
  955|   299M|}
ceval.c:_PyType_HasFeature:
  284|  53.3M|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  285|  53.3M|    return ((type->tp_flags) & feature) != 0;
  286|  53.3M|}
ceval.c:_PyObject_GetManagedDict:
  942|   140M|{
  943|   140M|    PyManagedDictPointer *dorv = _PyObject_ManagedDictPointer(obj);
  944|   140M|    return (PyDictObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(dorv->dict);
  ------------------
  |  |  150|   140M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  945|   140M|}
ceval.c:_PyObject_ManagedDictPointer:
  935|   140M|{
  936|   140M|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (936:5): [True: 140M, False: 0]
  ------------------
  937|   140M|    return (PyManagedDictPointer *)((char *)obj + MANAGED_DICT_OFFSET);
  ------------------
  |  |  925|   140M|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
  938|   140M|}
frame.c:Py_DECREF_MORTAL:
  447|   352M|{
  448|   352M|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (448:5): [True: 352M, False: 0]
  ------------------
  449|   352M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   352M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  450|   352M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (450:9): [True: 46.3M, False: 306M]
  ------------------
  451|  46.3M|        _Py_Dealloc(op);
  452|  46.3M|    }
  453|   352M|}
frame.c:_PyObject_IsUniquelyReferenced:
  185|  6.02M|{
  186|  6.02M|#if !defined(Py_GIL_DISABLED)
  187|  6.02M|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|  6.02M|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.02M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.02M|#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|  6.02M|}
frame.c:_Py_INCREF_MORTAL:
 1024|  3.09M|{
 1025|  3.09M|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (1025:5): [True: 3.09M, False: 0]
  ------------------
 1026|  3.09M|    op->ob_refcnt++;
 1027|  3.09M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  3.09M|#  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|  3.09M|}
gc.c:_PyType_SUPPORTS_WEAKREFS:
  871|  12.5k|static inline int _PyType_SUPPORTS_WEAKREFS(PyTypeObject *type) {
  872|  12.5k|    return (type->tp_weaklistoffset != 0);
  873|  12.5k|}
gc.c:_PyObject_GET_WEAKREFS_LISTPTR_FROM_OFFSET:
  814|  1.90k|{
  815|  1.90k|    assert(!PyType_Check(op) ||
  ------------------
  |  Branch (815:5): [True: 1.88k, False: 16]
  |  Branch (815:5): [True: 16, False: 0]
  ------------------
  816|  1.90k|            ((PyTypeObject *)op)->tp_flags & Py_TPFLAGS_HEAPTYPE);
  817|  1.90k|    Py_ssize_t offset = Py_TYPE(op)->tp_weaklistoffset;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  818|  1.90k|    return (PyWeakReference **)((char *)op + offset);
  819|  1.90k|}
gc.c:_PyObject_IS_GC:
  827|   489M|{
  828|   489M|    PyTypeObject *type = Py_TYPE(obj);
  ------------------
  |  |  213|   489M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   489M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   489M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  829|   489M|    return (_PyType_IS_GC(type)
  ------------------
  |  |  822|   978M|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|   489M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  |  |  |  Branch (822:26): [True: 338M, False: 150M]
  |  |  ------------------
  ------------------
  830|   338M|            && (type->tp_is_gc == NULL || type->tp_is_gc(obj)));
  ------------------
  |  Branch (830:17): [True: 311M, False: 27.3M]
  |  Branch (830:43): [True: 25.4M, False: 1.85M]
  ------------------
  831|   489M|}
gc.c:_PyType_PreHeaderSize:
  853|   121M|{
  854|   121M|    return (
  855|   121M|#ifndef Py_GIL_DISABLED
  856|   121M|        (size_t)_PyType_IS_GC(tp) * sizeof(PyGC_Head) +
  ------------------
  |  |  822|   121M|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|   121M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  ------------------
  857|   121M|#endif
  858|   121M|        (size_t)_PyType_HasFeature(tp, Py_TPFLAGS_PREHEADER) * 2 * sizeof(PyObject *)
  ------------------
  |  |  487|   121M|#define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  477|   121M|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  |  |  ------------------
  |  |               #define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  482|   121M|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  |  |  ------------------
  ------------------
  859|   121M|    );
  860|   121M|}
gc.c:_PyType_HasFeature:
  284|   807M|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  285|   807M|    return ((type->tp_flags) & feature) != 0;
  286|   807M|}
gc.c:_PyObject_Init:
  480|  53.0M|{
  481|  53.0M|    assert(op != NULL);
  ------------------
  |  Branch (481:5): [True: 53.0M, False: 0]
  ------------------
  482|  53.0M|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  53.0M|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  53.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  483|  53.0M|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (483:5): [True: 2.32k, False: 53.0M]
  |  Branch (483:5): [True: 53.0M, False: 0]
  ------------------
  484|  53.0M|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  309|  53.0M|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  53.0M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  53.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  53.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  485|  53.0M|    _Py_NewReference(op);
  486|  53.0M|}
gc.c:_PyObject_InitVar:
  490|  31.7M|{
  491|  31.7M|    assert(op != NULL);
  ------------------
  |  Branch (491:5): [True: 31.7M, False: 0]
  ------------------
  492|  31.7M|    assert(typeobj != &PyLong_Type);
  ------------------
  |  Branch (492:5): [True: 31.7M, False: 0]
  ------------------
  493|  31.7M|    _PyObject_Init((PyObject *)op, typeobj);
  494|  31.7M|    Py_SET_SIZE(op, size);
  ------------------
  |  |  216|  31.7M|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  31.7M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  495|  31.7M|}
import.c:_Py_TryIncref:
  730|      2|{
  731|       |#ifdef Py_GIL_DISABLED
  732|       |    return _Py_TryIncrefFast(op) || _Py_TryIncRefShared(op);
  733|       |#else
  734|      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 (734:9): [True: 2, False: 0]
  ------------------
  735|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  736|      2|        return 1;
  737|      2|    }
  738|      0|    return 0;
  739|      2|#endif
  740|      2|}
intrinsics.c:_PyObject_IsUniquelyReferenced:
  185|     62|{
  186|     62|#if !defined(Py_GIL_DISABLED)
  187|     62|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|     62|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     62|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     62|#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|     62|}
specialize.c:_PyObject_GetManagedDict:
  942|    709|{
  943|    709|    PyManagedDictPointer *dorv = _PyObject_ManagedDictPointer(obj);
  944|    709|    return (PyDictObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(dorv->dict);
  ------------------
  |  |  150|    709|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  945|    709|}
specialize.c:_PyObject_ManagedDictPointer:
  935|    709|{
  936|    709|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (936:5): [True: 709, False: 0]
  ------------------
  937|    709|    return (PyManagedDictPointer *)((char *)obj + MANAGED_DICT_OFFSET);
  ------------------
  |  |  925|    709|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
  938|    709|}
specialize.c:_PyObject_InlineValues:
  949|  1.32k|{
  950|  1.32k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  1.32k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  951|  1.32k|    assert(tp->tp_basicsize > 0 && (size_t)tp->tp_basicsize % sizeof(PyObject *) == 0);
  ------------------
  |  Branch (951:5): [True: 1.32k, False: 0]
  |  Branch (951:5): [True: 1.32k, False: 0]
  ------------------
  952|  1.32k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  ------------------
  |  Branch (952:5): [True: 1.32k, False: 0]
  ------------------
  953|  1.32k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (953:5): [True: 1.32k, False: 0]
  ------------------
  954|  1.32k|    return (PyDictValues *)((char *)obj + tp->tp_basicsize);
  955|  1.32k|}
_datetimemodule.c:_PyObject_Init:
  480|      8|{
  481|      8|    assert(op != NULL);
  ------------------
  |  Branch (481:5): [True: 8, False: 0]
  ------------------
  482|      8|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|      8|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  483|      8|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (483:5): [True: 0, False: 8]
  |  Branch (483:5): [True: 8, False: 0]
  ------------------
  484|      8|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  309|      8|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  485|      8|    _Py_NewReference(op);
  486|      8|}
_datetimemodule.c:_PyType_HasFeature:
  284|      8|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  285|      8|    return ((type->tp_flags) & feature) != 0;
  286|      8|}
itertoolsmodule.c:_PyObject_IsUniquelyReferenced:
  185|    135|{
  186|    135|#if !defined(Py_GIL_DISABLED)
  187|    135|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|    135|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    135|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    135|#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|    135|}
_functoolsmodule.c:_PyObject_IsUniquelyReferenced:
  185|      1|{
  186|      1|#if !defined(Py_GIL_DISABLED)
  187|      1|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|      1|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#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|}
codeobject.c:_PyObject_ResurrectStart:
  676|    490|{
  677|    490|    assert(Py_REFCNT(op) == 0);
  ------------------
  |  Branch (677:5): [True: 490, False: 0]
  ------------------
  678|       |#ifdef Py_REF_DEBUG
  679|       |    _Py_IncRefTotal(_PyThreadState_GET());
  680|       |#endif
  681|       |#ifdef Py_GIL_DISABLED
  682|       |    _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_ThreadId());
  683|       |    _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 1);
  684|       |    _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, 0);
  685|       |#else
  686|    490|    Py_SET_REFCNT(op, 1);
  ------------------
  |  |  201|    490|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|    490|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    490|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  687|    490|#endif
  688|       |#ifdef Py_TRACE_REFS
  689|       |    _Py_ResurrectReference(op);
  690|       |#endif
  691|    490|}
codeobject.c:_PyObject_ResurrectEnd:
  698|    490|{
  699|       |#ifdef Py_REF_DEBUG
  700|       |    _Py_DecRefTotal(_PyThreadState_GET());
  701|       |#endif
  702|    490|#ifndef Py_GIL_DISABLED
  703|    490|    Py_SET_REFCNT(op, Py_REFCNT(op) - 1);
  ------------------
  |  |  201|    490|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|    490|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    490|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  704|    490|    if (Py_REFCNT(op) == 0) {
  ------------------
  |  |  119|    490|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    490|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    490|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (704:9): [True: 490, False: 0]
  ------------------
  705|       |# ifdef Py_TRACE_REFS
  706|       |        _Py_ForgetReference(op);
  707|       |# endif
  708|    490|        return 0;
  709|    490|    }
  710|      0|    return 1;
  711|       |#else
  712|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  713|       |    Py_ssize_t shared = _Py_atomic_load_ssize_acquire(&op->ob_ref_shared);
  714|       |    if (_Py_IsOwnedByCurrentThread(op) && local == 1 && shared == 0) {
  715|       |        // Fast-path: object has a single refcount and is owned by this thread
  716|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 0);
  717|       |# ifdef Py_TRACE_REFS
  718|       |        _Py_ForgetReference(op);
  719|       |# endif
  720|       |        return 0;
  721|       |    }
  722|       |    // Slow-path: object has a shared refcount or is not owned by this thread
  723|       |    return _PyObject_ResurrectEndSlow(op);
  724|       |#endif
  725|    490|}
enumobject.c:_PyObject_IsUniquelyReferenced:
  185|  5.71M|{
  186|  5.71M|#if !defined(Py_GIL_DISABLED)
  187|  5.71M|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|  5.71M|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.71M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.71M|#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|  5.71M|}
genobject.c:Py_DECREF_MORTAL:
  447|  5.23M|{
  448|  5.23M|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (448:5): [True: 5.23M, False: 0]
  ------------------
  449|  5.23M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  5.23M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  450|  5.23M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (450:9): [True: 0, False: 5.23M]
  ------------------
  451|      0|        _Py_Dealloc(op);
  452|      0|    }
  453|  5.23M|}
frameobject.c:Py_DECREF_MORTAL:
  447|  11.1M|{
  448|  11.1M|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (448:5): [True: 11.1M, False: 0]
  ------------------
  449|  11.1M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  11.1M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  450|  11.1M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (450:9): [True: 1.06M, False: 10.0M]
  ------------------
  451|  1.06M|        _Py_Dealloc(op);
  452|  1.06M|    }
  453|  11.1M|}

typeobject.c:_PyObject_MallocWithType:
   40|  16.2M|{
   41|       |#ifdef Py_GIL_DISABLED
   42|       |    _PyThreadStateImpl *tstate = (_PyThreadStateImpl *)_PyThreadState_GET();
   43|       |    struct _mimalloc_thread_state *m = &tstate->mimalloc;
   44|       |    m->current_object_heap = _PyObject_GetAllocationHeap(tstate, tp);
   45|       |#endif
   46|  16.2M|    void *mem = PyObject_Malloc(size);
   47|       |#ifdef Py_GIL_DISABLED
   48|       |    m->current_object_heap = &m->heaps[_Py_MIMALLOC_HEAP_OBJECT];
   49|       |#endif
   50|  16.2M|    return mem;
   51|  16.2M|}
gc.c:_PyObject_MallocWithType:
   40|  53.0M|{
   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|  53.0M|    void *mem = PyObject_Malloc(size);
   47|       |#ifdef Py_GIL_DISABLED
   48|       |    m->current_object_heap = &m->heaps[_Py_MIMALLOC_HEAP_OBJECT];
   49|       |#endif
   50|  53.0M|    return mem;
   51|  53.0M|}
gc.c:_PyObject_ReallocWithType:
   55|      2|{
   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|      2|    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|      2|    return mem;
   66|      2|}

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

call.c:_PyErr_Occurred:
   76|   164M|{
   77|   164M|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 164M, False: 0]
  ------------------
   78|   164M|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 156M, False: 8.10M]
  ------------------
   79|   156M|        return NULL;
   80|   156M|    }
   81|  8.10M|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  213|  8.10M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.10M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.10M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|   164M|}
dictobject.c:_PyErr_Occurred:
   76|    150|{
   77|    150|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 150, False: 0]
  ------------------
   78|    150|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 150, False: 0]
  ------------------
   79|    150|        return NULL;
   80|    150|    }
   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|    150|}
object.c:_PyErr_Occurred:
   76|     36|{
   77|     36|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 36, False: 0]
  ------------------
   78|     36|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 36, False: 0]
  ------------------
   79|     36|        return NULL;
   80|     36|    }
   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|     36|}
typeobject.c:_PyErr_Occurred:
   76|   617k|{
   77|   617k|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 617k, False: 0]
  ------------------
   78|   617k|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 617k, False: 17]
  ------------------
   79|   617k|        return NULL;
   80|   617k|    }
   81|     17|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  213|     17|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     17|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     17|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|   617k|}
ceval.c:_PyErr_Occurred:
   76|   127M|{
   77|   127M|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 127M, False: 0]
  ------------------
   78|   127M|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 115M, False: 12.4M]
  ------------------
   79|   115M|        return NULL;
   80|   115M|    }
   81|  12.4M|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  213|  12.4M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  12.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|   127M|}
ceval.c:_PyErr_ClearExcState:
   85|  5.21M|{
   86|       |    Py_CLEAR(exc_state->exc_value);
  ------------------
  |  |  484|  5.21M|    do { \
  |  |  485|  5.21M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  5.21M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  5.21M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  5.21M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  5.21M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 5.21M]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_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.21M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 5.21M]
  |  |  ------------------
  ------------------
   87|  5.21M|}
errors.c:_PyErr_Occurred:
   76|  52.7M|{
   77|  52.7M|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 52.7M, False: 0]
  ------------------
   78|  52.7M|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 49.8M, False: 2.84M]
  ------------------
   79|  49.8M|        return NULL;
   80|  49.8M|    }
   81|  2.84M|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  213|  2.84M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.84M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.84M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|  52.7M|}
gc.c:_PyErr_Occurred:
   76|   359k|{
   77|   359k|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 359k, False: 0]
  ------------------
   78|   359k|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 359k, False: 0]
  ------------------
   79|   359k|        return NULL;
   80|   359k|    }
   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|   359k|}
import.c:_PyErr_Occurred:
   76|    143|{
   77|    143|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 143, False: 0]
  ------------------
   78|    143|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 143, False: 0]
  ------------------
   79|    143|        return NULL;
   80|    143|    }
   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|    143|}
pylifecycle.c:_PyErr_Occurred:
   76|      6|{
   77|      6|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 6, False: 0]
  ------------------
   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|}
sysmodule.c:_PyErr_Occurred:
   76|     10|{
   77|     10|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 10, False: 0]
  ------------------
   78|     10|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 10, False: 0]
  ------------------
   79|     10|        return NULL;
   80|     10|    }
   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|     10|}
abstract.c:_PyErr_Occurred:
   76|  3.70M|{
   77|  3.70M|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 3.70M, False: 0]
  ------------------
   78|  3.70M|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 3.70M, False: 0]
  ------------------
   79|  3.70M|        return NULL;
   80|  3.70M|    }
   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|  3.70M|}
genobject.c:_PyErr_ClearExcState:
   85|  18.1k|{
   86|       |    Py_CLEAR(exc_state->exc_value);
  ------------------
  |  |  484|  18.1k|    do { \
  |  |  485|  18.1k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  18.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  18.1k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  18.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  18.1k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 18.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|  18.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 18.1k]
  |  |  ------------------
  ------------------
   87|  18.1k|}
genobject.c:_PyErr_Occurred:
   76|  32.2k|{
   77|  32.2k|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 32.2k, False: 0]
  ------------------
   78|  32.2k|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 162, False: 32.1k]
  ------------------
   79|    162|        return NULL;
   80|    162|    }
   81|  32.1k|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  213|  32.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  32.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|  32.2k|}
methodobject.c:_PyErr_Occurred:
   76|  11.6M|{
   77|  11.6M|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 11.6M, False: 0]
  ------------------
   78|  11.6M|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 11.6M, False: 0]
  ------------------
   79|  11.6M|        return NULL;
   80|  11.6M|    }
   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|  11.6M|}

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

object.c:_PyMem_IsPtrFreed:
   54|   439M|{
   55|   439M|    uintptr_t value = (uintptr_t)ptr;
   56|   439M|#if SIZEOF_VOID_P == 8
   57|   439M|    return (value <= 0xff  // NULL, 0x1, 0x2, ..., 0xff
  ------------------
  |  Branch (57:13): [True: 0, False: 439M]
  ------------------
   58|   439M|            || value == (uintptr_t)0xCDCDCDCDCDCDCDCD
  ------------------
  |  Branch (58:16): [True: 0, False: 439M]
  ------------------
   59|   439M|            || value == (uintptr_t)0xDDDDDDDDDDDDDDDD
  ------------------
  |  Branch (59:16): [True: 0, False: 439M]
  ------------------
   60|   439M|            || value == (uintptr_t)0xFDFDFDFDFDFDFDFD
  ------------------
  |  Branch (60:16): [True: 0, False: 439M]
  ------------------
   61|   439M|            || value >= (uintptr_t)0xFFFFFFFFFFFFFF00);  // -0xff, ..., -2, -1
  ------------------
  |  Branch (61:16): [True: 0, False: 439M]
  ------------------
   62|       |#elif SIZEOF_VOID_P == 4
   63|       |    return (value <= 0xff
   64|       |            || value == (uintptr_t)0xCDCDCDCD
   65|       |            || value == (uintptr_t)0xDDDDDDDD
   66|       |            || value == (uintptr_t)0xFDFDFDFD
   67|       |            || value >= (uintptr_t)0xFFFFFF00);
   68|       |#else
   69|       |#  error "unknown pointer size"
   70|       |#endif
   71|   439M|}
flowgraph.c:_PyMem_IsPtrFreed:
   54|     18|{
   55|     18|    uintptr_t value = (uintptr_t)ptr;
   56|     18|#if SIZEOF_VOID_P == 8
   57|     18|    return (value <= 0xff  // NULL, 0x1, 0x2, ..., 0xff
  ------------------
  |  Branch (57:13): [True: 0, False: 18]
  ------------------
   58|     18|            || value == (uintptr_t)0xCDCDCDCDCDCDCDCD
  ------------------
  |  Branch (58:16): [True: 0, False: 18]
  ------------------
   59|     18|            || value == (uintptr_t)0xDDDDDDDDDDDDDDDD
  ------------------
  |  Branch (59:16): [True: 0, False: 18]
  ------------------
   60|     18|            || value == (uintptr_t)0xFDFDFDFDFDFDFDFD
  ------------------
  |  Branch (60:16): [True: 0, False: 18]
  ------------------
   61|     18|            || value >= (uintptr_t)0xFFFFFFFFFFFFFF00);  // -0xff, ..., -2, -1
  ------------------
  |  Branch (61:16): [True: 0, False: 18]
  ------------------
   62|       |#elif SIZEOF_VOID_P == 4
   63|       |    return (value <= 0xff
   64|       |            || value == (uintptr_t)0xCDCDCDCD
   65|       |            || value == (uintptr_t)0xDDDDDDDD
   66|       |            || value == (uintptr_t)0xFDFDFDFD
   67|       |            || value >= (uintptr_t)0xFFFFFF00);
   68|       |#else
   69|       |#  error "unknown pointer size"
   70|       |#endif
   71|     18|}
pystate.c:_PyMem_IsPtrFreed:
   54|  1.42M|{
   55|  1.42M|    uintptr_t value = (uintptr_t)ptr;
   56|  1.42M|#if SIZEOF_VOID_P == 8
   57|  1.42M|    return (value <= 0xff  // NULL, 0x1, 0x2, ..., 0xff
  ------------------
  |  Branch (57:13): [True: 0, False: 1.42M]
  ------------------
   58|  1.42M|            || value == (uintptr_t)0xCDCDCDCDCDCDCDCD
  ------------------
  |  Branch (58:16): [True: 0, False: 1.42M]
  ------------------
   59|  1.42M|            || value == (uintptr_t)0xDDDDDDDDDDDDDDDD
  ------------------
  |  Branch (59:16): [True: 0, False: 1.42M]
  ------------------
   60|  1.42M|            || value == (uintptr_t)0xFDFDFDFDFDFDFDFD
  ------------------
  |  Branch (60:16): [True: 0, False: 1.42M]
  ------------------
   61|  1.42M|            || value >= (uintptr_t)0xFFFFFFFFFFFFFF00);  // -0xff, ..., -2, -1
  ------------------
  |  Branch (61:16): [True: 0, False: 1.42M]
  ------------------
   62|       |#elif SIZEOF_VOID_P == 4
   63|       |    return (value <= 0xff
   64|       |            || value == (uintptr_t)0xCDCDCDCD
   65|       |            || value == (uintptr_t)0xDDDDDDDD
   66|       |            || value == (uintptr_t)0xFDFDFDFD
   67|       |            || value >= (uintptr_t)0xFFFFFF00);
   68|       |#else
   69|       |#  error "unknown pointer size"
   70|       |#endif
   71|  1.42M|}

bytesobject.c:_PyInterpreterState_GET:
  207|    624|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|    624|#if !defined(Py_BUILD_CORE_MODULE)
  213|    624|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|    624|}
call.c:_PyThreadState_GET:
  117|   152M|{
  118|   152M|#if !defined(Py_BUILD_CORE_MODULE)
  119|   152M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   152M|}
call.c:_Py_get_machine_stack_pointer:
  318|   622k|_Py_get_machine_stack_pointer(void) {
  319|   622k|    uintptr_t result;
  320|       |#if defined(_M_ARM64)
  321|       |    result = __getReg(31);
  322|       |#elif defined(_M_X64) || defined(_M_IX86)
  323|       |    result = (uintptr_t)_AddressOfReturnAddress();
  324|       |#elif defined(__aarch64__)
  325|       |    __asm__ ("mov %0, sp" : "=r" (result));
  326|       |#elif defined(__x86_64__)
  327|       |    __asm__("{movq %%rsp, %0" : "=r" (result));
  328|       |#else
  329|       |    char here;
  330|       |    result = (uintptr_t)&here;
  331|       |#endif
  332|   622k|    return result;
  333|   622k|}
exceptions.c:_PyInterpreterState_GET:
  207|    247|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|    247|#if !defined(Py_BUILD_CORE_MODULE)
  213|    247|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|    247|}
genericaliasobject.c:_PyInterpreterState_GET:
  207|      5|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|      5|#if !defined(Py_BUILD_CORE_MODULE)
  213|      5|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|      5|}
floatobject.c:_PyInterpreterState_GET:
  207|    710|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|    710|#if !defined(Py_BUILD_CORE_MODULE)
  213|    710|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|    710|}
funcobject.c:_PyInterpreterState_GET:
  207|  6.08M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  6.08M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  6.08M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  6.08M|}
listobject.c:_PyInterpreterState_GET:
  207|  70.0M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  70.0M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  70.0M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  70.0M|}
longobject.c:_PyInterpreterState_GET:
  207|   102M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|   102M|#if !defined(Py_BUILD_CORE_MODULE)
  213|   102M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|   102M|}
dictobject.c:_PyInterpreterState_GET:
  207|  2.26M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  2.26M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  2.26M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  2.26M|}
dictobject.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|}
memoryobject.c:_PyInterpreterState_GET:
  207|  1.42M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  1.42M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  1.42M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  1.42M|}
moduleobject.c:_PyInterpreterState_GET:
  207|     35|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|     35|#if !defined(Py_BUILD_CORE_MODULE)
  213|     35|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|     35|}
object.c:_PyThreadState_GET:
  117|   275M|{
  118|   275M|#if !defined(Py_BUILD_CORE_MODULE)
  119|   275M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   275M|}
object.c:_Py_get_machine_stack_pointer:
  318|   229M|_Py_get_machine_stack_pointer(void) {
  319|   229M|    uintptr_t result;
  320|       |#if defined(_M_ARM64)
  321|       |    result = __getReg(31);
  322|       |#elif defined(_M_X64) || defined(_M_IX86)
  323|       |    result = (uintptr_t)_AddressOfReturnAddress();
  324|       |#elif defined(__aarch64__)
  325|       |    __asm__ ("mov %0, sp" : "=r" (result));
  326|       |#elif defined(__x86_64__)
  327|       |    __asm__("{movq %%rsp, %0" : "=r" (result));
  328|       |#else
  329|       |    char here;
  330|       |    result = (uintptr_t)&here;
  331|       |#endif
  332|   229M|    return result;
  333|   229M|}
object.c:_PyInterpreterState_GET:
  207|  1.52k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  1.52k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  1.52k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  1.52k|}
object.c:_Py_RecursionLimit_GetMargin:
  337|   188M|{
  338|   188M|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  339|   188M|    assert(_tstate->c_stack_hard_limit != 0);
  ------------------
  |  Branch (339:5): [True: 188M, False: 0]
  ------------------
  340|   188M|    intptr_t here_addr = _Py_get_machine_stack_pointer();
  341|   188M|#if _Py_STACK_GROWS_DOWN
  342|   188M|    return Py_ARITHMETIC_RIGHT_SHIFT(intptr_t, here_addr - (intptr_t)_tstate->c_stack_soft_limit, _PyOS_STACK_MARGIN_SHIFT);
  ------------------
  |  |  226|   188M|#define Py_ARITHMETIC_RIGHT_SHIFT(TYPE, I, J) ((I) >> (J))
  ------------------
  343|       |#else
  344|       |    return Py_ARITHMETIC_RIGHT_SHIFT(intptr_t, (intptr_t)_tstate->c_stack_soft_limit - here_addr, _PyOS_STACK_MARGIN_SHIFT);
  345|       |#endif
  346|   188M|}
object.c:_Py_AssertHoldsTstateFunc:
  302|     34|{
  303|     34|    PyThreadState *tstate = _PyThreadState_GET();
  304|     34|    _Py_EnsureFuncTstateNotNULL(func, tstate);
  305|     34|}
object.c:_Py_EnsureFuncTstateNotNULL:
  177|     34|{
  178|     34|    if (tstate == NULL) {
  ------------------
  |  Branch (178:9): [True: 0, False: 34]
  ------------------
  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|     34|}
obmalloc.c:_PyInterpreterState_GET:
  207|   205M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|   205M|#if !defined(Py_BUILD_CORE_MODULE)
  213|   205M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|   205M|}
obmalloc.c:_Py_IsMainInterpreter:
   61|      2|{
   62|      2|    return (interp == _PyInterpreterState_Main());
   63|      2|}
rangeobject.c:_PyInterpreterState_GET:
  207|  17.9M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  17.9M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  17.9M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  17.9M|}
sentinelobject.c:_PyInterpreterState_GET:
  207|      1|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|      1|#if !defined(Py_BUILD_CORE_MODULE)
  213|      1|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|      1|}
sentinelobject.c:_PyThreadState_GET:
  117|      1|{
  118|      1|#if !defined(Py_BUILD_CORE_MODULE)
  119|      1|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|      1|}
setobject.c:_PyInterpreterState_GET:
  207|  12.9k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  12.9k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  12.9k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  12.9k|}
sliceobject.c:_PyInterpreterState_GET:
  207|  15.0M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  15.0M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  15.0M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  15.0M|}
tupleobject.c:_PyInterpreterState_GET:
  207|   130M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|   130M|#if !defined(Py_BUILD_CORE_MODULE)
  213|   130M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|   130M|}
typeobject.c:_PyInterpreterState_GET:
  207|   120M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|   120M|#if !defined(Py_BUILD_CORE_MODULE)
  213|   120M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|   120M|}
typeobject.c:_PyThreadState_GET:
  117|  23.0M|{
  118|  23.0M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  23.0M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  23.0M|}
typeobject.c:_Py_IsMainInterpreter:
   61|    404|{
   62|    404|    return (interp == _PyInterpreterState_Main());
   63|    404|}
unicodeobject.c:_PyInterpreterState_GET:
  207|  15.5k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  15.5k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  15.5k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  15.5k|}
unicodeobject.c:_Py_IsMainInterpreter:
   61|      6|{
   62|      6|    return (interp == _PyInterpreterState_Main());
   63|      6|}
unionobject.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|}
weakrefobject.c:_PyInterpreterState_GET:
  207|    592|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|    592|#if !defined(Py_BUILD_CORE_MODULE)
  213|    592|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|    592|}
_warnings.c:_PyThreadState_GET:
  117|  2.16M|{
  118|  2.16M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  2.16M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  2.16M|}
_warnings.c:_PyInterpreterState_GET:
  207|      2|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|      2|#if !defined(Py_BUILD_CORE_MODULE)
  213|      2|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|      2|}
bltinmodule.c:_PyThreadState_GET:
  117|  10.2M|{
  118|  10.2M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  10.2M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  10.2M|}
ceval.c:_Py_get_machine_stack_pointer:
  318|  56.5M|_Py_get_machine_stack_pointer(void) {
  319|  56.5M|    uintptr_t result;
  320|       |#if defined(_M_ARM64)
  321|       |    result = __getReg(31);
  322|       |#elif defined(_M_X64) || defined(_M_IX86)
  323|       |    result = (uintptr_t)_AddressOfReturnAddress();
  324|       |#elif defined(__aarch64__)
  325|       |    __asm__ ("mov %0, sp" : "=r" (result));
  326|       |#elif defined(__x86_64__)
  327|       |    __asm__("{movq %%rsp, %0" : "=r" (result));
  328|       |#else
  329|       |    char here;
  330|       |    result = (uintptr_t)&here;
  331|       |#endif
  332|  56.5M|    return result;
  333|  56.5M|}
ceval.c:_PyThreadState_GET:
  117|  4.07M|{
  118|  4.07M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  4.07M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  4.07M|}
ceval.c:_Py_EnsureFuncTstateNotNULL:
  177|  21.0M|{
  178|  21.0M|    if (tstate == NULL) {
  ------------------
  |  Branch (178:9): [True: 0, False: 21.0M]
  ------------------
  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|  21.0M|}
codecs.c:_PyInterpreterState_GET:
  207|     31|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|     31|#if !defined(Py_BUILD_CORE_MODULE)
  213|     31|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|     31|}
context.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|}
context.c:_PyThreadState_GET:
  117|   355k|{
  118|   355k|#if !defined(Py_BUILD_CORE_MODULE)
  119|   355k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   355k|}
errors.c:_PyThreadState_GET:
  117|   132M|{
  118|   132M|#if !defined(Py_BUILD_CORE_MODULE)
  119|   132M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   132M|}
errors.c:_Py_AssertHoldsTstateFunc:
  302|  49.9M|{
  303|  49.9M|    PyThreadState *tstate = _PyThreadState_GET();
  304|  49.9M|    _Py_EnsureFuncTstateNotNULL(func, tstate);
  305|  49.9M|}
errors.c:_Py_EnsureFuncTstateNotNULL:
  177|  49.9M|{
  178|  49.9M|    if (tstate == NULL) {
  ------------------
  |  Branch (178:9): [True: 0, False: 49.9M]
  ------------------
  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|  49.9M|}
frame.c:_PyThreadState_GET:
  117|   151M|{
  118|   151M|#if !defined(Py_BUILD_CORE_MODULE)
  119|   151M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   151M|}
frame.c:_PyInterpreterState_GET:
  207|  3.09M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  3.09M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  3.09M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  3.09M|}
gc.c:_PyInterpreterState_GET:
  207|   157M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|   157M|#if !defined(Py_BUILD_CORE_MODULE)
  213|   157M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|   157M|}
gc.c:_PyThreadState_GET:
  117|   122M|{
  118|   122M|#if !defined(Py_BUILD_CORE_MODULE)
  119|   122M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   122M|}
ceval_gil.c:_PyThreadState_GET:
  117|   356k|{
  118|   356k|#if !defined(Py_BUILD_CORE_MODULE)
  119|   356k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   356k|}
ceval_gil.c:_Py_EnsureFuncTstateNotNULL:
  177|   713k|{
  178|   713k|    if (tstate == NULL) {
  ------------------
  |  Branch (178:9): [True: 0, False: 713k]
  ------------------
  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|   713k|}
hamt.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|}
import.c:_PyThreadState_GET:
  117|  3.45M|{
  118|  3.45M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  3.45M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  3.45M|}
import.c:_PyInterpreterState_GET:
  207|  1.42k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  1.42k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  1.42k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  1.42k|}
import.c:_Py_IsMainInterpreter:
   61|     39|{
   62|     39|    return (interp == _PyInterpreterState_Main());
   63|     39|}
marshal.c:_PyInterpreterState_GET:
  207|  14.2k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  14.2k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  14.2k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  14.2k|}
pylifecycle.c:_Py_IsMainInterpreter:
   61|      8|{
   62|      8|    return (interp == _PyInterpreterState_Main());
   63|      8|}
pystate.c:_Py_EnsureFuncTstateNotNULL:
  177|   362k|{
  178|   362k|    if (tstate == NULL) {
  ------------------
  |  Branch (178:9): [True: 0, False: 362k]
  ------------------
  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|   362k|}
pystate.c:_Py_IsMainInterpreter:
   61|      4|{
   62|      4|    return (interp == _PyInterpreterState_Main());
   63|      4|}
pythonrun.c:_PyThreadState_GET:
  117|      3|{
  118|      3|#if !defined(Py_BUILD_CORE_MODULE)
  119|      3|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|      3|}
specialize.c:_PyThreadState_GET:
  117|  2.73k|{
  118|  2.73k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  2.73k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  2.73k|}
specialize.c:_PyInterpreterState_GET:
  207|  19.6k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  19.6k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  19.6k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  19.6k|}
symtable.c:_PyThreadState_GET:
  117|      3|{
  118|      3|#if !defined(Py_BUILD_CORE_MODULE)
  119|      3|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|      3|}
sysmodule.c:_PyThreadState_GET:
  117|    470|{
  118|    470|#if !defined(Py_BUILD_CORE_MODULE)
  119|    470|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|    470|}
sysmodule.c:_PyInterpreterState_GET:
  207|     47|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|     47|#if !defined(Py_BUILD_CORE_MODULE)
  213|     47|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|     47|}
sysmodule.c:_Py_EnsureFuncTstateNotNULL:
  177|     89|{
  178|     89|    if (tstate == NULL) {
  ------------------
  |  Branch (178:9): [True: 0, False: 89]
  ------------------
  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|     89|}
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|}
fileutils.c:_Py_AssertHoldsTstateFunc:
  302|   355k|{
  303|   355k|    PyThreadState *tstate = _PyThreadState_GET();
  304|   355k|    _Py_EnsureFuncTstateNotNULL(func, tstate);
  305|   355k|}
fileutils.c:_PyThreadState_GET:
  117|   355k|{
  118|   355k|#if !defined(Py_BUILD_CORE_MODULE)
  119|   355k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   355k|}
fileutils.c:_Py_EnsureFuncTstateNotNULL:
  177|   355k|{
  178|   355k|    if (tstate == NULL) {
  ------------------
  |  Branch (178:9): [True: 0, False: 355k]
  ------------------
  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|   355k|}
dynload_shlib.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|}
signalmodule.c:_Py_IsMainInterpreter:
   61|  3.23M|{
   62|  3.23M|    return (interp == _PyInterpreterState_Main());
   63|  3.23M|}
signalmodule.c:_PyThreadState_GET:
  117|  3.23M|{
  118|  3.23M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  3.23M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  3.23M|}
signalmodule.c:_Py_ThreadCanHandleSignals:
   84|  3.23M|{
   85|  3.23M|    return (_Py_IsMainThread() && _Py_IsMainInterpreter(interp));
  ------------------
  |  Branch (85:13): [True: 3.23M, False: 0]
  |  Branch (85:35): [True: 3.23M, False: 0]
  ------------------
   86|  3.23M|}
fileio.c:_PyInterpreterState_GET:
  207|     27|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|     27|#if !defined(Py_BUILD_CORE_MODULE)
  213|     27|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|     27|}
bufferedio.c:_PyInterpreterState_GET:
  207|     27|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|     27|#if !defined(Py_BUILD_CORE_MODULE)
  213|     27|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|     27|}
bufferedio.c:_PyThreadState_GET:
  117|     24|{
  118|     24|#if !defined(Py_BUILD_CORE_MODULE)
  119|     24|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|     24|}
textio.c:_PyInterpreterState_GET:
  207|     12|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|     12|#if !defined(Py_BUILD_CORE_MODULE)
  213|     12|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|     12|}
_functoolsmodule.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|}
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|  29.1M|{
  118|  29.1M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  29.1M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  29.1M|}
abstract.c:_Py_get_machine_stack_pointer:
  318|  16.1k|_Py_get_machine_stack_pointer(void) {
  319|  16.1k|    uintptr_t result;
  320|       |#if defined(_M_ARM64)
  321|       |    result = __getReg(31);
  322|       |#elif defined(_M_X64) || defined(_M_IX86)
  323|       |    result = (uintptr_t)_AddressOfReturnAddress();
  324|       |#elif defined(__aarch64__)
  325|       |    __asm__ ("mov %0, sp" : "=r" (result));
  326|       |#elif defined(__x86_64__)
  327|       |    __asm__("{movq %%rsp, %0" : "=r" (result));
  328|       |#else
  329|       |    char here;
  330|       |    result = (uintptr_t)&here;
  331|       |#endif
  332|  16.1k|    return result;
  333|  16.1k|}
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|}
cellobject.c:_PyInterpreterState_GET:
  207|  5.93M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  5.93M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  5.93M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  5.93M|}
classobject.c:_PyInterpreterState_GET:
  207|  49.4M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  49.4M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  49.4M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  49.4M|}
classobject.c:_PyThreadState_GET:
  117|    181|{
  118|    181|#if !defined(Py_BUILD_CORE_MODULE)
  119|    181|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|    181|}
codeobject.c:_PyInterpreterState_GET:
  207|  15.2k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  15.2k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  15.2k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  15.2k|}
descrobject.c:_PyInterpreterState_GET:
  207|    961|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|    961|#if !defined(Py_BUILD_CORE_MODULE)
  213|    961|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|    961|}
descrobject.c:_PyThreadState_GET:
  117|  1.06M|{
  118|  1.06M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  1.06M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  1.06M|}
descrobject.c:_Py_get_machine_stack_pointer:
  318|  1.06M|_Py_get_machine_stack_pointer(void) {
  319|  1.06M|    uintptr_t result;
  320|       |#if defined(_M_ARM64)
  321|       |    result = __getReg(31);
  322|       |#elif defined(_M_X64) || defined(_M_IX86)
  323|       |    result = (uintptr_t)_AddressOfReturnAddress();
  324|       |#elif defined(__aarch64__)
  325|       |    __asm__ ("mov %0, sp" : "=r" (result));
  326|       |#elif defined(__x86_64__)
  327|       |    __asm__("{movq %%rsp, %0" : "=r" (result));
  328|       |#else
  329|       |    char here;
  330|       |    result = (uintptr_t)&here;
  331|       |#endif
  332|  1.06M|    return result;
  333|  1.06M|}
enumobject.c:_PyInterpreterState_GET:
  207|  1.70M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  1.70M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  1.70M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  1.70M|}
enumobject.c:_PyThreadState_GET:
  117|     13|{
  118|     13|#if !defined(Py_BUILD_CORE_MODULE)
  119|     13|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|     13|}
genobject.c:_PyInterpreterState_GET:
  207|  20.9M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  20.9M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  20.9M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  20.9M|}
genobject.c:_PyThreadState_GET:
  117|   100k|{
  118|   100k|#if !defined(Py_BUILD_CORE_MODULE)
  119|   100k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   100k|}
frameobject.c:_PyInterpreterState_GET:
  207|  3.09M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  3.09M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  3.09M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  3.09M|}
iterobject.c:_PyInterpreterState_GET:
  207|  5.39M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  5.39M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  5.39M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  5.39M|}
lazyimportobject.c:_PyInterpreterState_GET:
  207|     15|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|     15|#if !defined(Py_BUILD_CORE_MODULE)
  213|     15|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|     15|}
methodobject.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|}
methodobject.c:_PyThreadState_GET:
  117|  13.1M|{
  118|  13.1M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  13.1M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  13.1M|}
methodobject.c:_Py_get_machine_stack_pointer:
  318|  13.1M|_Py_get_machine_stack_pointer(void) {
  319|  13.1M|    uintptr_t result;
  320|       |#if defined(_M_ARM64)
  321|       |    result = __getReg(31);
  322|       |#elif defined(_M_X64) || defined(_M_IX86)
  323|       |    result = (uintptr_t)_AddressOfReturnAddress();
  324|       |#elif defined(__aarch64__)
  325|       |    __asm__ ("mov %0, sp" : "=r" (result));
  326|       |#elif defined(__x86_64__)
  327|       |    __asm__("{movq %%rsp, %0" : "=r" (result));
  328|       |#else
  329|       |    char here;
  330|       |    result = (uintptr_t)&here;
  331|       |#endif
  332|  13.1M|    return result;
  333|  13.1M|}
crossinterp.c:_Py_IsMainInterpreter:
   61|      2|{
   62|      2|    return (interp == _PyInterpreterState_Main());
   63|      2|}
pegen.c:_PyInterpreterState_GET:
  207|    162|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|    162|#if !defined(Py_BUILD_CORE_MODULE)
  213|    162|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|    162|}

pylifecycle.c:_PyRuntimeState_GetFinalizing:
   36|   355k|_PyRuntimeState_GetFinalizing(_PyRuntimeState *runtime) {
   37|   355k|    return (PyThreadState*)_Py_atomic_load_ptr_relaxed(&runtime->_finalizing);
   38|   355k|}
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|  2.25k|_PyRuntimeState_GetInitialized(_PyRuntimeState *runtime) {
   74|  2.25k|    return _Py_atomic_load_int(&runtime->initialized);
   75|  2.25k|}
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|}
pystate.c:_PyRuntimeState_GetCoreInitialized:
   63|      2|_PyRuntimeState_GetCoreInitialized(_PyRuntimeState *runtime) {
   64|      2|    return _Py_atomic_load_int(&runtime->core_initialized);
   65|      2|}
pystate.c:_PyRuntimeState_GetInitialized:
   73|      2|_PyRuntimeState_GetInitialized(_PyRuntimeState *runtime) {
   74|      2|    return _Py_atomic_load_int(&runtime->initialized);
   75|      2|}

typeobject.c:_PySlot_heaptype_apply_field_slot:
  381|    766|{
  382|    766|    switch (slot.sl_id) {
  ------------------
  |  Branch (382:13): [True: 765, False: 1]
  ------------------
  383|      1|        case Py_mp_subscript:
  ------------------
  |  |   13|      1|#define Py_mp_subscript 5
  ------------------
  |  Branch (383:9): [True: 1, False: 765]
  ------------------
  384|      1|            ht->as_mapping.mp_subscript = (binaryfunc)slot.sl_func;
  385|      1|            break;
  386|      0|        case Py_nb_absolute:
  ------------------
  |  |   14|      0|#define Py_nb_absolute 6
  ------------------
  |  Branch (386:9): [True: 0, False: 766]
  ------------------
  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: 766]
  ------------------
  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: 766]
  ------------------
  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: 766]
  ------------------
  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: 766]
  ------------------
  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: 766]
  ------------------
  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: 766]
  ------------------
  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: 766]
  ------------------
  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: 766]
  ------------------
  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: 766]
  ------------------
  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: 766]
  ------------------
  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: 766]
  ------------------
  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: 766]
  ------------------
  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: 766]
  ------------------
  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: 766]
  ------------------
  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: 766]
  ------------------
  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: 766]
  ------------------
  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: 766]
  ------------------
  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: 766]
  ------------------
  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: 766]
  ------------------
  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: 766]
  ------------------
  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: 766]
  ------------------
  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: 766]
  ------------------
  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: 766]
  ------------------
  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: 766]
  ------------------
  459|      0|            ht->as_number.nb_negative = (unaryfunc)slot.sl_func;
  460|      0|            break;
  461|      5|        case Py_nb_or:
  ------------------
  |  |   39|      5|#define Py_nb_or 31
  ------------------
  |  Branch (461:9): [True: 5, False: 761]
  ------------------
  462|      5|            ht->as_number.nb_or = (binaryfunc)slot.sl_func;
  463|      5|            break;
  464|      0|        case Py_nb_positive:
  ------------------
  |  |   40|      0|#define Py_nb_positive 32
  ------------------
  |  Branch (464:9): [True: 0, False: 766]
  ------------------
  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: 766]
  ------------------
  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: 766]
  ------------------
  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: 766]
  ------------------
  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: 766]
  ------------------
  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: 766]
  ------------------
  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: 766]
  ------------------
  483|      0|            ht->as_number.nb_xor = (binaryfunc)slot.sl_func;
  484|      0|            break;
  485|      1|        case Py_sq_ass_item:
  ------------------
  |  |   47|      1|#define Py_sq_ass_item 39
  ------------------
  |  Branch (485:9): [True: 1, False: 765]
  ------------------
  486|      1|            ht->as_sequence.sq_ass_item = (ssizeobjargproc)slot.sl_func;
  487|      1|            break;
  488|      1|        case Py_sq_concat:
  ------------------
  |  |   48|      1|#define Py_sq_concat 40
  ------------------
  |  Branch (488:9): [True: 1, False: 765]
  ------------------
  489|      1|            ht->as_sequence.sq_concat = (binaryfunc)slot.sl_func;
  490|      1|            break;
  491|      1|        case Py_sq_contains:
  ------------------
  |  |   49|      1|#define Py_sq_contains 41
  ------------------
  |  Branch (491:9): [True: 1, False: 765]
  ------------------
  492|      1|            ht->as_sequence.sq_contains = (objobjproc)slot.sl_func;
  493|      1|            break;
  494|      1|        case Py_sq_inplace_concat:
  ------------------
  |  |   50|      1|#define Py_sq_inplace_concat 42
  ------------------
  |  Branch (494:9): [True: 1, False: 765]
  ------------------
  495|      1|            ht->as_sequence.sq_inplace_concat = (binaryfunc)slot.sl_func;
  496|      1|            break;
  497|      1|        case Py_sq_inplace_repeat:
  ------------------
  |  |   51|      1|#define Py_sq_inplace_repeat 43
  ------------------
  |  Branch (497:9): [True: 1, False: 765]
  ------------------
  498|      1|            ht->as_sequence.sq_inplace_repeat = (ssizeargfunc)slot.sl_func;
  499|      1|            break;
  500|      1|        case Py_sq_item:
  ------------------
  |  |   52|      1|#define Py_sq_item 44
  ------------------
  |  Branch (500:9): [True: 1, False: 765]
  ------------------
  501|      1|            ht->as_sequence.sq_item = (ssizeargfunc)slot.sl_func;
  502|      1|            break;
  503|      1|        case Py_sq_length:
  ------------------
  |  |   53|      1|#define Py_sq_length 45
  ------------------
  |  Branch (503:9): [True: 1, False: 765]
  ------------------
  504|      1|            ht->as_sequence.sq_length = (lenfunc)slot.sl_func;
  505|      1|            break;
  506|      1|        case Py_sq_repeat:
  ------------------
  |  |   54|      1|#define Py_sq_repeat 46
  ------------------
  |  Branch (506:9): [True: 1, False: 765]
  ------------------
  507|      1|            ht->as_sequence.sq_repeat = (ssizeargfunc)slot.sl_func;
  508|      1|            break;
  509|     20|        case Py_tp_alloc:
  ------------------
  |  |   55|     20|#define Py_tp_alloc 47
  ------------------
  |  Branch (509:9): [True: 20, False: 746]
  ------------------
  510|     20|            ht->ht_type.tp_alloc = (allocfunc)slot.sl_func;
  511|     20|            break;
  512|      0|        case Py_tp_base:
  ------------------
  |  |   56|      0|#define Py_tp_base 48
  ------------------
  |  Branch (512:9): [True: 0, False: 766]
  ------------------
  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: 766]
  ------------------
  516|      0|            ht->ht_type.tp_bases = slot.sl_ptr;
  517|      0|            break;
  518|      8|        case Py_tp_call:
  ------------------
  |  |   58|      8|#define Py_tp_call 50
  ------------------
  |  Branch (518:9): [True: 8, False: 758]
  ------------------
  519|      8|            ht->ht_type.tp_call = (ternaryfunc)slot.sl_func;
  520|      8|            break;
  521|     53|        case Py_tp_clear:
  ------------------
  |  |   59|     53|#define Py_tp_clear 51
  ------------------
  |  Branch (521:9): [True: 53, False: 713]
  ------------------
  522|     53|            ht->ht_type.tp_clear = (inquiry)slot.sl_func;
  523|     53|            break;
  524|    112|        case Py_tp_dealloc:
  ------------------
  |  |   60|    112|#define Py_tp_dealloc 52
  ------------------
  |  Branch (524:9): [True: 112, False: 654]
  ------------------
  525|    112|            ht->ht_type.tp_dealloc = (destructor)slot.sl_func;
  526|    112|            break;
  527|      0|        case Py_tp_del:
  ------------------
  |  |   61|      0|#define Py_tp_del 53
  ------------------
  |  Branch (527:9): [True: 0, False: 766]
  ------------------
  528|      0|            ht->ht_type.tp_del = (destructor)slot.sl_func;
  529|      0|            break;
  530|      3|        case Py_tp_descr_get:
  ------------------
  |  |   62|      3|#define Py_tp_descr_get 54
  ------------------
  |  Branch (530:9): [True: 3, False: 763]
  ------------------
  531|      3|            ht->ht_type.tp_descr_get = (descrgetfunc)slot.sl_func;
  532|      3|            break;
  533|      1|        case Py_tp_descr_set:
  ------------------
  |  |   63|      1|#define Py_tp_descr_set 55
  ------------------
  |  Branch (533:9): [True: 1, False: 765]
  ------------------
  534|      1|            ht->ht_type.tp_descr_set = (descrsetfunc)slot.sl_func;
  535|      1|            break;
  536|      0|        case Py_tp_doc:
  ------------------
  |  |   64|      0|#define Py_tp_doc 56
  ------------------
  |  Branch (536:9): [True: 0, False: 766]
  ------------------
  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: 766]
  ------------------
  540|      0|            ht->ht_type.tp_getattr = (getattrfunc)slot.sl_func;
  541|      0|            break;
  542|     33|        case Py_tp_getattro:
  ------------------
  |  |   66|     33|#define Py_tp_getattro 58
  ------------------
  |  Branch (542:9): [True: 33, False: 733]
  ------------------
  543|     33|            ht->ht_type.tp_getattro = (getattrofunc)slot.sl_func;
  544|     33|            break;
  545|      2|        case Py_tp_hash:
  ------------------
  |  |   67|      2|#define Py_tp_hash 59
  ------------------
  |  Branch (545:9): [True: 2, False: 764]
  ------------------
  546|      2|            ht->ht_type.tp_hash = (hashfunc)slot.sl_func;
  547|      2|            break;
  548|     20|        case Py_tp_init:
  ------------------
  |  |   68|     20|#define Py_tp_init 60
  ------------------
  |  Branch (548:9): [True: 20, False: 746]
  ------------------
  549|     20|            ht->ht_type.tp_init = (initproc)slot.sl_func;
  550|     20|            break;
  551|      0|        case Py_tp_is_gc:
  ------------------
  |  |   69|      0|#define Py_tp_is_gc 61
  ------------------
  |  Branch (551:9): [True: 0, False: 766]
  ------------------
  552|      0|            ht->ht_type.tp_is_gc = (inquiry)slot.sl_func;
  553|      0|            break;
  554|     33|        case Py_tp_iter:
  ------------------
  |  |   70|     33|#define Py_tp_iter 62
  ------------------
  |  Branch (554:9): [True: 33, False: 733]
  ------------------
  555|     33|            ht->ht_type.tp_iter = (getiterfunc)slot.sl_func;
  556|     33|            break;
  557|     38|        case Py_tp_iternext:
  ------------------
  |  |   71|     38|#define Py_tp_iternext 63
  ------------------
  |  Branch (557:9): [True: 38, False: 728]
  ------------------
  558|     38|            ht->ht_type.tp_iternext = (iternextfunc)slot.sl_func;
  559|     38|            break;
  560|     87|        case Py_tp_methods:
  ------------------
  |  |   72|     87|#define Py_tp_methods 64
  ------------------
  |  Branch (560:9): [True: 87, False: 679]
  ------------------
  561|     87|            ht->ht_type.tp_methods = slot.sl_ptr;
  562|     87|            break;
  563|     77|        case Py_tp_new:
  ------------------
  |  |   73|     77|#define Py_tp_new 65
  ------------------
  |  Branch (563:9): [True: 77, False: 689]
  ------------------
  564|     77|            ht->ht_type.tp_new = (newfunc)slot.sl_func;
  565|     77|            break;
  566|     62|        case Py_tp_repr:
  ------------------
  |  |   74|     62|#define Py_tp_repr 66
  ------------------
  |  Branch (566:9): [True: 62, False: 704]
  ------------------
  567|     62|            ht->ht_type.tp_repr = (reprfunc)slot.sl_func;
  568|     62|            break;
  569|      7|        case Py_tp_richcompare:
  ------------------
  |  |   75|      7|#define Py_tp_richcompare 67
  ------------------
  |  Branch (569:9): [True: 7, False: 759]
  ------------------
  570|      7|            ht->ht_type.tp_richcompare = (richcmpfunc)slot.sl_func;
  571|      7|            break;
  572|      0|        case Py_tp_setattr:
  ------------------
  |  |   76|      0|#define Py_tp_setattr 68
  ------------------
  |  Branch (572:9): [True: 0, False: 766]
  ------------------
  573|      0|            ht->ht_type.tp_setattr = (setattrfunc)slot.sl_func;
  574|      0|            break;
  575|      3|        case Py_tp_setattro:
  ------------------
  |  |   77|      3|#define Py_tp_setattro 69
  ------------------
  |  Branch (575:9): [True: 3, False: 763]
  ------------------
  576|      3|            ht->ht_type.tp_setattro = (setattrofunc)slot.sl_func;
  577|      3|            break;
  578|      0|        case Py_tp_str:
  ------------------
  |  |   78|      0|#define Py_tp_str 70
  ------------------
  |  Branch (578:9): [True: 0, False: 766]
  ------------------
  579|      0|            ht->ht_type.tp_str = (reprfunc)slot.sl_func;
  580|      0|            break;
  581|    104|        case Py_tp_traverse:
  ------------------
  |  |   79|    104|#define Py_tp_traverse 71
  ------------------
  |  Branch (581:9): [True: 104, False: 662]
  ------------------
  582|    104|            ht->ht_type.tp_traverse = (traverseproc)slot.sl_func;
  583|    104|            break;
  584|      0|        case Py_tp_members:
  ------------------
  |  |   80|      0|#define Py_tp_members 72
  ------------------
  |  Branch (584:9): [True: 0, False: 766]
  ------------------
  585|      0|            ht->ht_type.tp_members = slot.sl_ptr;
  586|      0|            break;
  587|     41|        case Py_tp_getset:
  ------------------
  |  |   81|     41|#define Py_tp_getset 73
  ------------------
  |  Branch (587:9): [True: 41, False: 725]
  ------------------
  588|     41|            ht->ht_type.tp_getset = slot.sl_ptr;
  589|     41|            break;
  590|     39|        case Py_tp_free:
  ------------------
  |  |   82|     39|#define Py_tp_free 74
  ------------------
  |  Branch (590:9): [True: 39, False: 727]
  ------------------
  591|     39|            ht->ht_type.tp_free = (freefunc)slot.sl_func;
  592|     39|            break;
  593|      0|        case Py_nb_matrix_multiply:
  ------------------
  |  |   83|      0|#define Py_nb_matrix_multiply 75
  ------------------
  |  Branch (593:9): [True: 0, False: 766]
  ------------------
  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: 766]
  ------------------
  597|      0|            ht->as_number.nb_inplace_matrix_multiply = (binaryfunc)slot.sl_func;
  598|      0|            break;
  599|      0|        case Py_am_await:
  ------------------
  |  |   85|      0|#define Py_am_await 77
  ------------------
  |  Branch (599:9): [True: 0, False: 766]
  ------------------
  600|      0|            ht->as_async.am_await = (unaryfunc)slot.sl_func;
  601|      0|            break;
  602|      0|        case Py_am_aiter:
  ------------------
  |  |   86|      0|#define Py_am_aiter 78
  ------------------
  |  Branch (602:9): [True: 0, False: 766]
  ------------------
  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: 766]
  ------------------
  606|      0|            ht->as_async.am_anext = (unaryfunc)slot.sl_func;
  607|      0|            break;
  608|      4|        case Py_tp_finalize:
  ------------------
  |  |   88|      4|#define Py_tp_finalize 80
  ------------------
  |  Branch (608:9): [True: 4, False: 762]
  ------------------
  609|      4|            ht->ht_type.tp_finalize = (destructor)slot.sl_func;
  610|      4|            break;
  611|      0|        case Py_am_send:
  ------------------
  |  |   89|      0|#define Py_am_send 81
  ------------------
  |  Branch (611:9): [True: 0, False: 766]
  ------------------
  612|      0|            ht->as_async.am_send = (sendfunc)slot.sl_func;
  613|      0|            break;
  614|      0|        case Py_tp_vectorcall:
  ------------------
  |  |   90|      0|#define Py_tp_vectorcall 82
  ------------------
  |  Branch (614:9): [True: 0, False: 766]
  ------------------
  615|      0|            ht->ht_type.tp_vectorcall = (vectorcallfunc)slot.sl_func;
  616|      0|            break;
  617|      2|        case Py_bf_getbuffer:
  ------------------
  |  |   96|      2|#define Py_bf_getbuffer _Py_SLOT_COMPAT_VALUE(1, 88)
  |  |  ------------------
  |  |  |  |    7|      2|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (617:9): [True: 2, False: 764]
  ------------------
  618|      2|            ht->as_buffer.bf_getbuffer = (getbufferproc)slot.sl_func;
  619|      2|            break;
  620|      2|        case Py_bf_releasebuffer:
  ------------------
  |  |   97|      2|#define Py_bf_releasebuffer _Py_SLOT_COMPAT_VALUE(2, 89)
  |  |  ------------------
  |  |  |  |    7|      2|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (620:9): [True: 2, False: 764]
  ------------------
  621|      2|            ht->as_buffer.bf_releasebuffer = (releasebufferproc)slot.sl_func;
  622|      2|            break;
  623|      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 (623:9): [True: 0, False: 766]
  ------------------
  624|      0|            ht->as_mapping.mp_ass_subscript = (objobjargproc)slot.sl_func;
  625|      0|            break;
  626|      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 (626:9): [True: 0, False: 766]
  ------------------
  627|      0|            ht->as_mapping.mp_length = (lenfunc)slot.sl_func;
  628|      0|            break;
  629|    766|    }
  630|    766|}
slots.c:_PySlot_resolve_type_slot:
    8|  2.09k|{
    9|  2.09k|    switch (slot_id) {
   10|      0|        case 1:
  ------------------
  |  Branch (10:9): [True: 0, False: 2.09k]
  ------------------
   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: 2.09k]
  ------------------
   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: 2.09k]
  ------------------
   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: 2.09k]
  ------------------
   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|    236|        case Py_slot_end:
  ------------------
  |  |   12|    236|#define Py_slot_end 0
  ------------------
  |  Branch (18:9): [True: 236, False: 1.86k]
  ------------------
   19|    238|        case Py_mp_subscript:
  ------------------
  |  |   13|    238|#define Py_mp_subscript 5
  ------------------
  |  Branch (19:9): [True: 2, False: 2.09k]
  ------------------
   20|    238|        case Py_nb_absolute:
  ------------------
  |  |   14|    238|#define Py_nb_absolute 6
  ------------------
  |  Branch (20:9): [True: 0, False: 2.09k]
  ------------------
   21|    238|        case Py_nb_add:
  ------------------
  |  |   15|    238|#define Py_nb_add 7
  ------------------
  |  Branch (21:9): [True: 0, False: 2.09k]
  ------------------
   22|    238|        case Py_nb_and:
  ------------------
  |  |   16|    238|#define Py_nb_and 8
  ------------------
  |  Branch (22:9): [True: 0, False: 2.09k]
  ------------------
   23|    238|        case Py_nb_bool:
  ------------------
  |  |   17|    238|#define Py_nb_bool 9
  ------------------
  |  Branch (23:9): [True: 0, False: 2.09k]
  ------------------
   24|    238|        case Py_nb_divmod:
  ------------------
  |  |   18|    238|#define Py_nb_divmod 10
  ------------------
  |  Branch (24:9): [True: 0, False: 2.09k]
  ------------------
   25|    238|        case Py_nb_float:
  ------------------
  |  |   19|    238|#define Py_nb_float 11
  ------------------
  |  Branch (25:9): [True: 0, False: 2.09k]
  ------------------
   26|    238|        case Py_nb_floor_divide:
  ------------------
  |  |   20|    238|#define Py_nb_floor_divide 12
  ------------------
  |  Branch (26:9): [True: 0, False: 2.09k]
  ------------------
   27|    238|        case Py_nb_index:
  ------------------
  |  |   21|    238|#define Py_nb_index 13
  ------------------
  |  Branch (27:9): [True: 0, False: 2.09k]
  ------------------
   28|    238|        case Py_nb_inplace_add:
  ------------------
  |  |   22|    238|#define Py_nb_inplace_add 14
  ------------------
  |  Branch (28:9): [True: 0, False: 2.09k]
  ------------------
   29|    238|        case Py_nb_inplace_and:
  ------------------
  |  |   23|    238|#define Py_nb_inplace_and 15
  ------------------
  |  Branch (29:9): [True: 0, False: 2.09k]
  ------------------
   30|    238|        case Py_nb_inplace_floor_divide:
  ------------------
  |  |   24|    238|#define Py_nb_inplace_floor_divide 16
  ------------------
  |  Branch (30:9): [True: 0, False: 2.09k]
  ------------------
   31|    238|        case Py_nb_inplace_lshift:
  ------------------
  |  |   25|    238|#define Py_nb_inplace_lshift 17
  ------------------
  |  Branch (31:9): [True: 0, False: 2.09k]
  ------------------
   32|    238|        case Py_nb_inplace_multiply:
  ------------------
  |  |   26|    238|#define Py_nb_inplace_multiply 18
  ------------------
  |  Branch (32:9): [True: 0, False: 2.09k]
  ------------------
   33|    238|        case Py_nb_inplace_or:
  ------------------
  |  |   27|    238|#define Py_nb_inplace_or 19
  ------------------
  |  Branch (33:9): [True: 0, False: 2.09k]
  ------------------
   34|    238|        case Py_nb_inplace_power:
  ------------------
  |  |   28|    238|#define Py_nb_inplace_power 20
  ------------------
  |  Branch (34:9): [True: 0, False: 2.09k]
  ------------------
   35|    238|        case Py_nb_inplace_remainder:
  ------------------
  |  |   29|    238|#define Py_nb_inplace_remainder 21
  ------------------
  |  Branch (35:9): [True: 0, False: 2.09k]
  ------------------
   36|    238|        case Py_nb_inplace_rshift:
  ------------------
  |  |   30|    238|#define Py_nb_inplace_rshift 22
  ------------------
  |  Branch (36:9): [True: 0, False: 2.09k]
  ------------------
   37|    238|        case Py_nb_inplace_subtract:
  ------------------
  |  |   31|    238|#define Py_nb_inplace_subtract 23
  ------------------
  |  Branch (37:9): [True: 0, False: 2.09k]
  ------------------
   38|    238|        case Py_nb_inplace_true_divide:
  ------------------
  |  |   32|    238|#define Py_nb_inplace_true_divide 24
  ------------------
  |  Branch (38:9): [True: 0, False: 2.09k]
  ------------------
   39|    238|        case Py_nb_inplace_xor:
  ------------------
  |  |   33|    238|#define Py_nb_inplace_xor 25
  ------------------
  |  Branch (39:9): [True: 0, False: 2.09k]
  ------------------
   40|    238|        case Py_nb_int:
  ------------------
  |  |   34|    238|#define Py_nb_int 26
  ------------------
  |  Branch (40:9): [True: 0, False: 2.09k]
  ------------------
   41|    238|        case Py_nb_invert:
  ------------------
  |  |   35|    238|#define Py_nb_invert 27
  ------------------
  |  Branch (41:9): [True: 0, False: 2.09k]
  ------------------
   42|    238|        case Py_nb_lshift:
  ------------------
  |  |   36|    238|#define Py_nb_lshift 28
  ------------------
  |  Branch (42:9): [True: 0, False: 2.09k]
  ------------------
   43|    238|        case Py_nb_multiply:
  ------------------
  |  |   37|    238|#define Py_nb_multiply 29
  ------------------
  |  Branch (43:9): [True: 0, False: 2.09k]
  ------------------
   44|    238|        case Py_nb_negative:
  ------------------
  |  |   38|    238|#define Py_nb_negative 30
  ------------------
  |  Branch (44:9): [True: 0, False: 2.09k]
  ------------------
   45|    248|        case Py_nb_or:
  ------------------
  |  |   39|    248|#define Py_nb_or 31
  ------------------
  |  Branch (45:9): [True: 10, False: 2.08k]
  ------------------
   46|    248|        case Py_nb_positive:
  ------------------
  |  |   40|    248|#define Py_nb_positive 32
  ------------------
  |  Branch (46:9): [True: 0, False: 2.09k]
  ------------------
   47|    248|        case Py_nb_power:
  ------------------
  |  |   41|    248|#define Py_nb_power 33
  ------------------
  |  Branch (47:9): [True: 0, False: 2.09k]
  ------------------
   48|    248|        case Py_nb_remainder:
  ------------------
  |  |   42|    248|#define Py_nb_remainder 34
  ------------------
  |  Branch (48:9): [True: 0, False: 2.09k]
  ------------------
   49|    248|        case Py_nb_rshift:
  ------------------
  |  |   43|    248|#define Py_nb_rshift 35
  ------------------
  |  Branch (49:9): [True: 0, False: 2.09k]
  ------------------
   50|    248|        case Py_nb_subtract:
  ------------------
  |  |   44|    248|#define Py_nb_subtract 36
  ------------------
  |  Branch (50:9): [True: 0, False: 2.09k]
  ------------------
   51|    248|        case Py_nb_true_divide:
  ------------------
  |  |   45|    248|#define Py_nb_true_divide 37
  ------------------
  |  Branch (51:9): [True: 0, False: 2.09k]
  ------------------
   52|    248|        case Py_nb_xor:
  ------------------
  |  |   46|    248|#define Py_nb_xor 38
  ------------------
  |  Branch (52:9): [True: 0, False: 2.09k]
  ------------------
   53|    250|        case Py_sq_ass_item:
  ------------------
  |  |   47|    250|#define Py_sq_ass_item 39
  ------------------
  |  Branch (53:9): [True: 2, False: 2.09k]
  ------------------
   54|    252|        case Py_sq_concat:
  ------------------
  |  |   48|    252|#define Py_sq_concat 40
  ------------------
  |  Branch (54:9): [True: 2, False: 2.09k]
  ------------------
   55|    254|        case Py_sq_contains:
  ------------------
  |  |   49|    254|#define Py_sq_contains 41
  ------------------
  |  Branch (55:9): [True: 2, False: 2.09k]
  ------------------
   56|    256|        case Py_sq_inplace_concat:
  ------------------
  |  |   50|    256|#define Py_sq_inplace_concat 42
  ------------------
  |  Branch (56:9): [True: 2, False: 2.09k]
  ------------------
   57|    258|        case Py_sq_inplace_repeat:
  ------------------
  |  |   51|    258|#define Py_sq_inplace_repeat 43
  ------------------
  |  Branch (57:9): [True: 2, False: 2.09k]
  ------------------
   58|    260|        case Py_sq_item:
  ------------------
  |  |   52|    260|#define Py_sq_item 44
  ------------------
  |  Branch (58:9): [True: 2, False: 2.09k]
  ------------------
   59|    262|        case Py_sq_length:
  ------------------
  |  |   53|    262|#define Py_sq_length 45
  ------------------
  |  Branch (59:9): [True: 2, False: 2.09k]
  ------------------
   60|    264|        case Py_sq_repeat:
  ------------------
  |  |   54|    264|#define Py_sq_repeat 46
  ------------------
  |  Branch (60:9): [True: 2, False: 2.09k]
  ------------------
   61|    304|        case Py_tp_alloc:
  ------------------
  |  |   55|    304|#define Py_tp_alloc 47
  ------------------
  |  Branch (61:9): [True: 40, False: 2.05k]
  ------------------
   62|    304|        case Py_tp_base:
  ------------------
  |  |   56|    304|#define Py_tp_base 48
  ------------------
  |  Branch (62:9): [True: 0, False: 2.09k]
  ------------------
   63|    304|        case Py_tp_bases:
  ------------------
  |  |   57|    304|#define Py_tp_bases 49
  ------------------
  |  Branch (63:9): [True: 0, False: 2.09k]
  ------------------
   64|    320|        case Py_tp_call:
  ------------------
  |  |   58|    320|#define Py_tp_call 50
  ------------------
  |  Branch (64:9): [True: 16, False: 2.08k]
  ------------------
   65|    426|        case Py_tp_clear:
  ------------------
  |  |   59|    426|#define Py_tp_clear 51
  ------------------
  |  Branch (65:9): [True: 106, False: 1.99k]
  ------------------
   66|    650|        case Py_tp_dealloc:
  ------------------
  |  |   60|    650|#define Py_tp_dealloc 52
  ------------------
  |  Branch (66:9): [True: 224, False: 1.87k]
  ------------------
   67|    650|        case Py_tp_del:
  ------------------
  |  |   61|    650|#define Py_tp_del 53
  ------------------
  |  Branch (67:9): [True: 0, False: 2.09k]
  ------------------
   68|    656|        case Py_tp_descr_get:
  ------------------
  |  |   62|    656|#define Py_tp_descr_get 54
  ------------------
  |  Branch (68:9): [True: 6, False: 2.09k]
  ------------------
   69|    658|        case Py_tp_descr_set:
  ------------------
  |  |   63|    658|#define Py_tp_descr_set 55
  ------------------
  |  Branch (69:9): [True: 2, False: 2.09k]
  ------------------
   70|    852|        case Py_tp_doc:
  ------------------
  |  |   64|    852|#define Py_tp_doc 56
  ------------------
  |  Branch (70:9): [True: 194, False: 1.90k]
  ------------------
   71|    852|        case Py_tp_getattr:
  ------------------
  |  |   65|    852|#define Py_tp_getattr 57
  ------------------
  |  Branch (71:9): [True: 0, False: 2.09k]
  ------------------
   72|    918|        case Py_tp_getattro:
  ------------------
  |  |   66|    918|#define Py_tp_getattro 58
  ------------------
  |  Branch (72:9): [True: 66, False: 2.03k]
  ------------------
   73|    922|        case Py_tp_hash:
  ------------------
  |  |   67|    922|#define Py_tp_hash 59
  ------------------
  |  Branch (73:9): [True: 4, False: 2.09k]
  ------------------
   74|    962|        case Py_tp_init:
  ------------------
  |  |   68|    962|#define Py_tp_init 60
  ------------------
  |  Branch (74:9): [True: 40, False: 2.05k]
  ------------------
   75|    962|        case Py_tp_is_gc:
  ------------------
  |  |   69|    962|#define Py_tp_is_gc 61
  ------------------
  |  Branch (75:9): [True: 0, False: 2.09k]
  ------------------
   76|  1.02k|        case Py_tp_iter:
  ------------------
  |  |   70|  1.02k|#define Py_tp_iter 62
  ------------------
  |  Branch (76:9): [True: 66, False: 2.03k]
  ------------------
   77|  1.10k|        case Py_tp_iternext:
  ------------------
  |  |   71|  1.10k|#define Py_tp_iternext 63
  ------------------
  |  Branch (77:9): [True: 76, False: 2.02k]
  ------------------
   78|  1.27k|        case Py_tp_methods:
  ------------------
  |  |   72|  1.27k|#define Py_tp_methods 64
  ------------------
  |  Branch (78:9): [True: 174, False: 1.92k]
  ------------------
   79|  1.43k|        case Py_tp_new:
  ------------------
  |  |   73|  1.43k|#define Py_tp_new 65
  ------------------
  |  Branch (79:9): [True: 154, False: 1.94k]
  ------------------
   80|  1.55k|        case Py_tp_repr:
  ------------------
  |  |   74|  1.55k|#define Py_tp_repr 66
  ------------------
  |  Branch (80:9): [True: 124, False: 1.97k]
  ------------------
   81|  1.57k|        case Py_tp_richcompare:
  ------------------
  |  |   75|  1.57k|#define Py_tp_richcompare 67
  ------------------
  |  Branch (81:9): [True: 14, False: 2.08k]
  ------------------
   82|  1.57k|        case Py_tp_setattr:
  ------------------
  |  |   76|  1.57k|#define Py_tp_setattr 68
  ------------------
  |  Branch (82:9): [True: 0, False: 2.09k]
  ------------------
   83|  1.57k|        case Py_tp_setattro:
  ------------------
  |  |   77|  1.57k|#define Py_tp_setattro 69
  ------------------
  |  Branch (83:9): [True: 6, False: 2.09k]
  ------------------
   84|  1.57k|        case Py_tp_str:
  ------------------
  |  |   78|  1.57k|#define Py_tp_str 70
  ------------------
  |  Branch (84:9): [True: 0, False: 2.09k]
  ------------------
   85|  1.78k|        case Py_tp_traverse:
  ------------------
  |  |   79|  1.78k|#define Py_tp_traverse 71
  ------------------
  |  Branch (85:9): [True: 208, False: 1.88k]
  ------------------
   86|  1.91k|        case Py_tp_members:
  ------------------
  |  |   80|  1.91k|#define Py_tp_members 72
  ------------------
  |  Branch (86:9): [True: 134, False: 1.96k]
  ------------------
   87|  2.00k|        case Py_tp_getset:
  ------------------
  |  |   81|  2.00k|#define Py_tp_getset 73
  ------------------
  |  Branch (87:9): [True: 82, False: 2.01k]
  ------------------
   88|  2.07k|        case Py_tp_free:
  ------------------
  |  |   82|  2.07k|#define Py_tp_free 74
  ------------------
  |  Branch (88:9): [True: 78, False: 2.01k]
  ------------------
   89|  2.07k|        case Py_nb_matrix_multiply:
  ------------------
  |  |   83|  2.07k|#define Py_nb_matrix_multiply 75
  ------------------
  |  Branch (89:9): [True: 0, False: 2.09k]
  ------------------
   90|  2.07k|        case Py_nb_inplace_matrix_multiply:
  ------------------
  |  |   84|  2.07k|#define Py_nb_inplace_matrix_multiply 76
  ------------------
  |  Branch (90:9): [True: 0, False: 2.09k]
  ------------------
   91|  2.07k|        case Py_am_await:
  ------------------
  |  |   85|  2.07k|#define Py_am_await 77
  ------------------
  |  Branch (91:9): [True: 0, False: 2.09k]
  ------------------
   92|  2.07k|        case Py_am_aiter:
  ------------------
  |  |   86|  2.07k|#define Py_am_aiter 78
  ------------------
  |  Branch (92:9): [True: 0, False: 2.09k]
  ------------------
   93|  2.07k|        case Py_am_anext:
  ------------------
  |  |   87|  2.07k|#define Py_am_anext 79
  ------------------
  |  Branch (93:9): [True: 0, False: 2.09k]
  ------------------
   94|  2.08k|        case Py_tp_finalize:
  ------------------
  |  |   88|  2.08k|#define Py_tp_finalize 80
  ------------------
  |  Branch (94:9): [True: 8, False: 2.08k]
  ------------------
   95|  2.08k|        case Py_am_send:
  ------------------
  |  |   89|  2.08k|#define Py_am_send 81
  ------------------
  |  Branch (95:9): [True: 0, False: 2.09k]
  ------------------
   96|  2.08k|        case Py_tp_vectorcall:
  ------------------
  |  |   90|  2.08k|#define Py_tp_vectorcall 82
  ------------------
  |  Branch (96:9): [True: 0, False: 2.09k]
  ------------------
   97|  2.08k|        case Py_tp_token:
  ------------------
  |  |   91|  2.08k|#define Py_tp_token 83
  ------------------
  |  Branch (97:9): [True: 2, False: 2.09k]
  ------------------
   98|  2.09k|        case Py_bf_getbuffer:
  ------------------
  |  |   96|  2.09k|#define Py_bf_getbuffer _Py_SLOT_COMPAT_VALUE(1, 88)
  |  |  ------------------
  |  |  |  |    7|  2.09k|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (98:9): [True: 4, False: 2.09k]
  ------------------
   99|  2.09k|        case Py_bf_releasebuffer:
  ------------------
  |  |   97|  2.09k|#define Py_bf_releasebuffer _Py_SLOT_COMPAT_VALUE(2, 89)
  |  |  ------------------
  |  |  |  |    7|  2.09k|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (99:9): [True: 4, False: 2.09k]
  ------------------
  100|  2.09k|        case Py_mp_ass_subscript:
  ------------------
  |  |   98|  2.09k|#define Py_mp_ass_subscript _Py_SLOT_COMPAT_VALUE(3, 90)
  |  |  ------------------
  |  |  |  |    7|  2.09k|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (100:9): [True: 0, False: 2.09k]
  ------------------
  101|  2.09k|        case Py_mp_length:
  ------------------
  |  |   99|  2.09k|#define Py_mp_length _Py_SLOT_COMPAT_VALUE(4, 91)
  |  |  ------------------
  |  |  |  |    7|  2.09k|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (101:9): [True: 0, False: 2.09k]
  ------------------
  102|  2.09k|        case Py_slot_subslots:
  ------------------
  |  |  100|  2.09k|#define Py_slot_subslots 92
  ------------------
  |  Branch (102:9): [True: 0, False: 2.09k]
  ------------------
  103|  2.09k|        case Py_tp_slots:
  ------------------
  |  |  101|  2.09k|#define Py_tp_slots 93
  ------------------
  |  Branch (103:9): [True: 0, False: 2.09k]
  ------------------
  104|  2.09k|        case Py_tp_name:
  ------------------
  |  |  103|  2.09k|#define Py_tp_name 95
  ------------------
  |  Branch (104:9): [True: 0, False: 2.09k]
  ------------------
  105|  2.09k|        case Py_tp_basicsize:
  ------------------
  |  |  104|  2.09k|#define Py_tp_basicsize 96
  ------------------
  |  Branch (105:9): [True: 0, False: 2.09k]
  ------------------
  106|  2.09k|        case Py_tp_extra_basicsize:
  ------------------
  |  |  105|  2.09k|#define Py_tp_extra_basicsize 97
  ------------------
  |  Branch (106:9): [True: 0, False: 2.09k]
  ------------------
  107|  2.09k|        case Py_tp_itemsize:
  ------------------
  |  |  106|  2.09k|#define Py_tp_itemsize 98
  ------------------
  |  Branch (107:9): [True: 0, False: 2.09k]
  ------------------
  108|  2.09k|        case Py_tp_flags:
  ------------------
  |  |  107|  2.09k|#define Py_tp_flags 99
  ------------------
  |  Branch (108:9): [True: 0, False: 2.09k]
  ------------------
  109|  2.09k|        case Py_tp_metaclass:
  ------------------
  |  |  115|  2.09k|#define Py_tp_metaclass 107
  ------------------
  |  Branch (109:9): [True: 0, False: 2.09k]
  ------------------
  110|  2.09k|        case Py_tp_module:
  ------------------
  |  |  116|  2.09k|#define Py_tp_module 108
  ------------------
  |  Branch (110:9): [True: 0, False: 2.09k]
  ------------------
  111|  2.09k|            return slot_id;
  112|      0|        default:
  ------------------
  |  Branch (112:9): [True: 0, False: 2.09k]
  ------------------
  113|      0|            return Py_slot_invalid;
  ------------------
  |  |   25|      0|#define Py_slot_invalid 0xffff
  ------------------
  114|  2.09k|    }
  115|  2.09k|}
slots.c:_PySlot_resolve_mod_slot:
  119|    338|{
  120|    338|    switch (slot_id) {
  121|      0|        case 1:
  ------------------
  |  Branch (121:9): [True: 0, False: 338]
  ------------------
  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|      8|        case 2:
  ------------------
  |  Branch (123:9): [True: 8, False: 330]
  ------------------
  124|      8|            return Py_mod_exec;
  ------------------
  |  |   93|      8|#define Py_mod_exec _Py_SLOT_COMPAT_VALUE(2, 85)
  |  |  ------------------
  |  |  |  |    7|      8|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  125|      8|        case 3:
  ------------------
  |  Branch (125:9): [True: 8, False: 330]
  ------------------
  126|      8|            return Py_mod_multiple_interpreters;
  ------------------
  |  |   94|      8|#define Py_mod_multiple_interpreters _Py_SLOT_COMPAT_VALUE(3, 86)
  |  |  ------------------
  |  |  |  |    7|      8|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  127|      8|        case 4:
  ------------------
  |  Branch (127:9): [True: 8, False: 330]
  ------------------
  128|      8|            return Py_mod_gil;
  ------------------
  |  |   95|      8|#define Py_mod_gil _Py_SLOT_COMPAT_VALUE(4, 87)
  |  |  ------------------
  |  |  |  |    7|      8|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  129|     70|        case Py_slot_end:
  ------------------
  |  |   12|     70|#define Py_slot_end 0
  ------------------
  |  Branch (129:9): [True: 70, False: 268]
  ------------------
  130|     70|        case Py_mod_create:
  ------------------
  |  |   92|     70|#define Py_mod_create _Py_SLOT_COMPAT_VALUE(1, 84)
  |  |  ------------------
  |  |  |  |    7|     70|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (130:9): [True: 0, False: 338]
  ------------------
  131|    128|        case Py_mod_exec:
  ------------------
  |  |   93|    128|#define Py_mod_exec _Py_SLOT_COMPAT_VALUE(2, 85)
  |  |  ------------------
  |  |  |  |    7|    128|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (131:9): [True: 58, False: 280]
  ------------------
  132|    190|        case Py_mod_multiple_interpreters:
  ------------------
  |  |   94|    190|#define Py_mod_multiple_interpreters _Py_SLOT_COMPAT_VALUE(3, 86)
  |  |  ------------------
  |  |  |  |    7|    190|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (132:9): [True: 62, False: 276]
  ------------------
  133|    252|        case Py_mod_gil:
  ------------------
  |  |   95|    252|#define Py_mod_gil _Py_SLOT_COMPAT_VALUE(4, 87)
  |  |  ------------------
  |  |  |  |    7|    252|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (133:9): [True: 62, False: 276]
  ------------------
  134|    252|        case Py_slot_subslots:
  ------------------
  |  |  100|    252|#define Py_slot_subslots 92
  ------------------
  |  Branch (134:9): [True: 0, False: 338]
  ------------------
  135|    252|        case Py_mod_slots:
  ------------------
  |  |  102|    252|#define Py_mod_slots 94
  ------------------
  |  Branch (135:9): [True: 0, False: 338]
  ------------------
  136|    252|        case Py_mod_name:
  ------------------
  |  |  108|    252|#define Py_mod_name 100
  ------------------
  |  Branch (136:9): [True: 0, False: 338]
  ------------------
  137|    252|        case Py_mod_doc:
  ------------------
  |  |  109|    252|#define Py_mod_doc 101
  ------------------
  |  Branch (137:9): [True: 0, False: 338]
  ------------------
  138|    252|        case Py_mod_state_size:
  ------------------
  |  |  110|    252|#define Py_mod_state_size 102
  ------------------
  |  Branch (138:9): [True: 0, False: 338]
  ------------------
  139|    252|        case Py_mod_methods:
  ------------------
  |  |  111|    252|#define Py_mod_methods 103
  ------------------
  |  Branch (139:9): [True: 0, False: 338]
  ------------------
  140|    252|        case Py_mod_state_traverse:
  ------------------
  |  |  112|    252|#define Py_mod_state_traverse 104
  ------------------
  |  Branch (140:9): [True: 0, False: 338]
  ------------------
  141|    252|        case Py_mod_state_clear:
  ------------------
  |  |  113|    252|#define Py_mod_state_clear 105
  ------------------
  |  Branch (141:9): [True: 0, False: 338]
  ------------------
  142|    252|        case Py_mod_state_free:
  ------------------
  |  |  114|    252|#define Py_mod_state_free 106
  ------------------
  |  Branch (142:9): [True: 0, False: 338]
  ------------------
  143|    314|        case Py_mod_abi:
  ------------------
  |  |  117|    314|#define Py_mod_abi 109
  ------------------
  |  Branch (143:9): [True: 62, False: 276]
  ------------------
  144|    314|        case Py_mod_token:
  ------------------
  |  |  118|    314|#define Py_mod_token 110
  ------------------
  |  Branch (144:9): [True: 0, False: 338]
  ------------------
  145|    314|            return slot_id;
  146|      0|        default:
  ------------------
  |  Branch (146:9): [True: 0, False: 338]
  ------------------
  147|      0|            return Py_slot_invalid;
  ------------------
  |  |   25|      0|#define Py_slot_invalid 0xffff
  ------------------
  148|    338|    }
  149|    338|}
slots.c:_PySlot_get_dtype:
  634|  5.21k|{
  635|  5.21k|    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: 5.21k]
  ------------------
  637|      5|        case Py_mp_subscript: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   13|      5|#define Py_mp_subscript 5
  ------------------
  |  Branch (637:9): [True: 5, False: 5.21k]
  ------------------
  638|      0|        case Py_nb_absolute: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   14|      0|#define Py_nb_absolute 6
  ------------------
  |  Branch (638:9): [True: 0, False: 5.21k]
  ------------------
  639|      0|        case Py_nb_add: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   15|      0|#define Py_nb_add 7
  ------------------
  |  Branch (639:9): [True: 0, False: 5.21k]
  ------------------
  640|      0|        case Py_nb_and: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   16|      0|#define Py_nb_and 8
  ------------------
  |  Branch (640:9): [True: 0, False: 5.21k]
  ------------------
  641|      0|        case Py_nb_bool: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   17|      0|#define Py_nb_bool 9
  ------------------
  |  Branch (641:9): [True: 0, False: 5.21k]
  ------------------
  642|      0|        case Py_nb_divmod: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   18|      0|#define Py_nb_divmod 10
  ------------------
  |  Branch (642:9): [True: 0, False: 5.21k]
  ------------------
  643|      0|        case Py_nb_float: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   19|      0|#define Py_nb_float 11
  ------------------
  |  Branch (643:9): [True: 0, False: 5.21k]
  ------------------
  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: 5.21k]
  ------------------
  645|      0|        case Py_nb_index: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   21|      0|#define Py_nb_index 13
  ------------------
  |  Branch (645:9): [True: 0, False: 5.21k]
  ------------------
  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: 5.21k]
  ------------------
  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: 5.21k]
  ------------------
  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: 5.21k]
  ------------------
  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: 5.21k]
  ------------------
  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: 5.21k]
  ------------------
  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: 5.21k]
  ------------------
  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: 5.21k]
  ------------------
  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: 5.21k]
  ------------------
  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: 5.21k]
  ------------------
  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: 5.21k]
  ------------------
  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: 5.21k]
  ------------------
  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: 5.21k]
  ------------------
  658|      0|        case Py_nb_int: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   34|      0|#define Py_nb_int 26
  ------------------
  |  Branch (658:9): [True: 0, False: 5.21k]
  ------------------
  659|      0|        case Py_nb_invert: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   35|      0|#define Py_nb_invert 27
  ------------------
  |  Branch (659:9): [True: 0, False: 5.21k]
  ------------------
  660|      0|        case Py_nb_lshift: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   36|      0|#define Py_nb_lshift 28
  ------------------
  |  Branch (660:9): [True: 0, False: 5.21k]
  ------------------
  661|      0|        case Py_nb_multiply: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   37|      0|#define Py_nb_multiply 29
  ------------------
  |  Branch (661:9): [True: 0, False: 5.21k]
  ------------------
  662|      0|        case Py_nb_negative: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   38|      0|#define Py_nb_negative 30
  ------------------
  |  Branch (662:9): [True: 0, False: 5.21k]
  ------------------
  663|     25|        case Py_nb_or: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   39|     25|#define Py_nb_or 31
  ------------------
  |  Branch (663:9): [True: 25, False: 5.19k]
  ------------------
  664|      0|        case Py_nb_positive: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   40|      0|#define Py_nb_positive 32
  ------------------
  |  Branch (664:9): [True: 0, False: 5.21k]
  ------------------
  665|      0|        case Py_nb_power: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   41|      0|#define Py_nb_power 33
  ------------------
  |  Branch (665:9): [True: 0, False: 5.21k]
  ------------------
  666|      0|        case Py_nb_remainder: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   42|      0|#define Py_nb_remainder 34
  ------------------
  |  Branch (666:9): [True: 0, False: 5.21k]
  ------------------
  667|      0|        case Py_nb_rshift: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   43|      0|#define Py_nb_rshift 35
  ------------------
  |  Branch (667:9): [True: 0, False: 5.21k]
  ------------------
  668|      0|        case Py_nb_subtract: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   44|      0|#define Py_nb_subtract 36
  ------------------
  |  Branch (668:9): [True: 0, False: 5.21k]
  ------------------
  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: 5.21k]
  ------------------
  670|      0|        case Py_nb_xor: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   46|      0|#define Py_nb_xor 38
  ------------------
  |  Branch (670:9): [True: 0, False: 5.21k]
  ------------------
  671|      5|        case Py_sq_ass_item: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   47|      5|#define Py_sq_ass_item 39
  ------------------
  |  Branch (671:9): [True: 5, False: 5.21k]
  ------------------
  672|      5|        case Py_sq_concat: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   48|      5|#define Py_sq_concat 40
  ------------------
  |  Branch (672:9): [True: 5, False: 5.21k]
  ------------------
  673|      5|        case Py_sq_contains: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   49|      5|#define Py_sq_contains 41
  ------------------
  |  Branch (673:9): [True: 5, False: 5.21k]
  ------------------
  674|      5|        case Py_sq_inplace_concat: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   50|      5|#define Py_sq_inplace_concat 42
  ------------------
  |  Branch (674:9): [True: 5, False: 5.21k]
  ------------------
  675|      5|        case Py_sq_inplace_repeat: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   51|      5|#define Py_sq_inplace_repeat 43
  ------------------
  |  Branch (675:9): [True: 5, False: 5.21k]
  ------------------
  676|      5|        case Py_sq_item: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   52|      5|#define Py_sq_item 44
  ------------------
  |  Branch (676:9): [True: 5, False: 5.21k]
  ------------------
  677|      5|        case Py_sq_length: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   53|      5|#define Py_sq_length 45
  ------------------
  |  Branch (677:9): [True: 5, False: 5.21k]
  ------------------
  678|      5|        case Py_sq_repeat: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   54|      5|#define Py_sq_repeat 46
  ------------------
  |  Branch (678:9): [True: 5, False: 5.21k]
  ------------------
  679|    100|        case Py_tp_alloc: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   55|    100|#define Py_tp_alloc 47
  ------------------
  |  Branch (679:9): [True: 100, False: 5.11k]
  ------------------
  680|      0|        case Py_tp_base: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   56|      0|#define Py_tp_base 48
  ------------------
  |  Branch (680:9): [True: 0, False: 5.21k]
  ------------------
  681|      0|        case Py_tp_bases: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   57|      0|#define Py_tp_bases 49
  ------------------
  |  Branch (681:9): [True: 0, False: 5.21k]
  ------------------
  682|     40|        case Py_tp_call: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   58|     40|#define Py_tp_call 50
  ------------------
  |  Branch (682:9): [True: 40, False: 5.17k]
  ------------------
  683|    265|        case Py_tp_clear: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   59|    265|#define Py_tp_clear 51
  ------------------
  |  Branch (683:9): [True: 265, False: 4.95k]
  ------------------
  684|    560|        case Py_tp_dealloc: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   60|    560|#define Py_tp_dealloc 52
  ------------------
  |  Branch (684:9): [True: 560, False: 4.65k]
  ------------------
  685|      0|        case Py_tp_del: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   61|      0|#define Py_tp_del 53
  ------------------
  |  Branch (685:9): [True: 0, False: 5.21k]
  ------------------
  686|     15|        case Py_tp_descr_get: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   62|     15|#define Py_tp_descr_get 54
  ------------------
  |  Branch (686:9): [True: 15, False: 5.20k]
  ------------------
  687|      5|        case Py_tp_descr_set: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   63|      5|#define Py_tp_descr_set 55
  ------------------
  |  Branch (687:9): [True: 5, False: 5.21k]
  ------------------
  688|    388|        case Py_tp_doc: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   64|    388|#define Py_tp_doc 56
  ------------------
  |  Branch (688:9): [True: 388, False: 4.82k]
  ------------------
  689|      0|        case Py_tp_getattr: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   65|      0|#define Py_tp_getattr 57
  ------------------
  |  Branch (689:9): [True: 0, False: 5.21k]
  ------------------
  690|    165|        case Py_tp_getattro: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   66|    165|#define Py_tp_getattro 58
  ------------------
  |  Branch (690:9): [True: 165, False: 5.05k]
  ------------------
  691|     10|        case Py_tp_hash: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   67|     10|#define Py_tp_hash 59
  ------------------
  |  Branch (691:9): [True: 10, False: 5.20k]
  ------------------
  692|    100|        case Py_tp_init: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   68|    100|#define Py_tp_init 60
  ------------------
  |  Branch (692:9): [True: 100, False: 5.11k]
  ------------------
  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: 5.21k]
  ------------------
  694|    165|        case Py_tp_iter: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   70|    165|#define Py_tp_iter 62
  ------------------
  |  Branch (694:9): [True: 165, False: 5.05k]
  ------------------
  695|    190|        case Py_tp_iternext: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   71|    190|#define Py_tp_iternext 63
  ------------------
  |  Branch (695:9): [True: 190, False: 5.02k]
  ------------------
  696|    435|        case Py_tp_methods: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   72|    435|#define Py_tp_methods 64
  ------------------
  |  Branch (696:9): [True: 435, False: 4.78k]
  ------------------
  697|    385|        case Py_tp_new: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   73|    385|#define Py_tp_new 65
  ------------------
  |  Branch (697:9): [True: 385, False: 4.83k]
  ------------------
  698|    310|        case Py_tp_repr: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   74|    310|#define Py_tp_repr 66
  ------------------
  |  Branch (698:9): [True: 310, False: 4.90k]
  ------------------
  699|     35|        case Py_tp_richcompare: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   75|     35|#define Py_tp_richcompare 67
  ------------------
  |  Branch (699:9): [True: 35, False: 5.18k]
  ------------------
  700|      0|        case Py_tp_setattr: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   76|      0|#define Py_tp_setattr 68
  ------------------
  |  Branch (700:9): [True: 0, False: 5.21k]
  ------------------
  701|     15|        case Py_tp_setattro: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   77|     15|#define Py_tp_setattro 69
  ------------------
  |  Branch (701:9): [True: 15, False: 5.20k]
  ------------------
  702|      0|        case Py_tp_str: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   78|      0|#define Py_tp_str 70
  ------------------
  |  Branch (702:9): [True: 0, False: 5.21k]
  ------------------
  703|    520|        case Py_tp_traverse: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   79|    520|#define Py_tp_traverse 71
  ------------------
  |  Branch (703:9): [True: 520, False: 4.69k]
  ------------------
  704|    335|        case Py_tp_members: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   80|    335|#define Py_tp_members 72
  ------------------
  |  Branch (704:9): [True: 335, False: 4.88k]
  ------------------
  705|    205|        case Py_tp_getset: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   81|    205|#define Py_tp_getset 73
  ------------------
  |  Branch (705:9): [True: 205, False: 5.01k]
  ------------------
  706|    195|        case Py_tp_free: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   82|    195|#define Py_tp_free 74
  ------------------
  |  Branch (706:9): [True: 195, False: 5.02k]
  ------------------
  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: 5.21k]
  ------------------
  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: 5.21k]
  ------------------
  709|      0|        case Py_am_await: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   85|      0|#define Py_am_await 77
  ------------------
  |  Branch (709:9): [True: 0, False: 5.21k]
  ------------------
  710|      0|        case Py_am_aiter: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   86|      0|#define Py_am_aiter 78
  ------------------
  |  Branch (710:9): [True: 0, False: 5.21k]
  ------------------
  711|      0|        case Py_am_anext: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   87|      0|#define Py_am_anext 79
  ------------------
  |  Branch (711:9): [True: 0, False: 5.21k]
  ------------------
  712|     20|        case Py_tp_finalize: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   88|     20|#define Py_tp_finalize 80
  ------------------
  |  Branch (712:9): [True: 20, False: 5.19k]
  ------------------
  713|      0|        case Py_am_send: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   89|      0|#define Py_am_send 81
  ------------------
  |  Branch (713:9): [True: 0, False: 5.21k]
  ------------------
  714|      0|        case Py_tp_vectorcall: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   90|      0|#define Py_tp_vectorcall 82
  ------------------
  |  Branch (714:9): [True: 0, False: 5.21k]
  ------------------
  715|      4|        case Py_tp_token: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   91|      4|#define Py_tp_token 83
  ------------------
  |  Branch (715:9): [True: 4, False: 5.21k]
  ------------------
  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: 5.21k]
  ------------------
  717|    198|        case Py_mod_exec: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   93|    198|#define Py_mod_exec _Py_SLOT_COMPAT_VALUE(2, 85)
  |  |  ------------------
  |  |  |  |    7|    198|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (717:9): [True: 198, False: 5.01k]
  ------------------
  718|    140|        case Py_mod_multiple_interpreters: return _PySlot_DTYPE_UINT64;
  ------------------
  |  |   94|    140|#define Py_mod_multiple_interpreters _Py_SLOT_COMPAT_VALUE(3, 86)
  |  |  ------------------
  |  |  |  |    7|    140|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (718:9): [True: 140, False: 5.07k]
  ------------------
  719|    140|        case Py_mod_gil: return _PySlot_DTYPE_UINT64;
  ------------------
  |  |   95|    140|#define Py_mod_gil _Py_SLOT_COMPAT_VALUE(4, 87)
  |  |  ------------------
  |  |  |  |    7|    140|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (719:9): [True: 140, False: 5.07k]
  ------------------
  720|     10|        case Py_bf_getbuffer: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   96|     10|#define Py_bf_getbuffer _Py_SLOT_COMPAT_VALUE(1, 88)
  |  |  ------------------
  |  |  |  |    7|     10|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (720:9): [True: 10, False: 5.20k]
  ------------------
  721|     10|        case Py_bf_releasebuffer: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   97|     10|#define Py_bf_releasebuffer _Py_SLOT_COMPAT_VALUE(2, 89)
  |  |  ------------------
  |  |  |  |    7|     10|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (721:9): [True: 10, False: 5.20k]
  ------------------
  722|      0|        case Py_mp_ass_subscript: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   98|      0|#define Py_mp_ass_subscript _Py_SLOT_COMPAT_VALUE(3, 90)
  |  |  ------------------
  |  |  |  |    7|      0|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (722:9): [True: 0, False: 5.21k]
  ------------------
  723|      0|        case Py_mp_length: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   99|      0|#define Py_mp_length _Py_SLOT_COMPAT_VALUE(4, 91)
  |  |  ------------------
  |  |  |  |    7|      0|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (723:9): [True: 0, False: 5.21k]
  ------------------
  724|      0|        case Py_slot_subslots: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  100|      0|#define Py_slot_subslots 92
  ------------------
  |  Branch (724:9): [True: 0, False: 5.21k]
  ------------------
  725|      0|        case Py_tp_slots: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  101|      0|#define Py_tp_slots 93
  ------------------
  |  Branch (725:9): [True: 0, False: 5.21k]
  ------------------
  726|      0|        case Py_mod_slots: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  102|      0|#define Py_mod_slots 94
  ------------------
  |  Branch (726:9): [True: 0, False: 5.21k]
  ------------------
  727|      0|        case Py_tp_name: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  103|      0|#define Py_tp_name 95
  ------------------
  |  Branch (727:9): [True: 0, False: 5.21k]
  ------------------
  728|      0|        case Py_tp_basicsize: return _PySlot_DTYPE_SIZE;
  ------------------
  |  |  104|      0|#define Py_tp_basicsize 96
  ------------------
  |  Branch (728:9): [True: 0, False: 5.21k]
  ------------------
  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: 5.21k]
  ------------------
  730|      0|        case Py_tp_itemsize: return _PySlot_DTYPE_SIZE;
  ------------------
  |  |  106|      0|#define Py_tp_itemsize 98
  ------------------
  |  Branch (730:9): [True: 0, False: 5.21k]
  ------------------
  731|      0|        case Py_tp_flags: return _PySlot_DTYPE_UINT64;
  ------------------
  |  |  107|      0|#define Py_tp_flags 99
  ------------------
  |  Branch (731:9): [True: 0, False: 5.21k]
  ------------------
  732|      0|        case Py_mod_name: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  108|      0|#define Py_mod_name 100
  ------------------
  |  Branch (732:9): [True: 0, False: 5.21k]
  ------------------
  733|      0|        case Py_mod_doc: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  109|      0|#define Py_mod_doc 101
  ------------------
  |  Branch (733:9): [True: 0, False: 5.21k]
  ------------------
  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: 5.21k]
  ------------------
  735|      0|        case Py_mod_methods: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  111|      0|#define Py_mod_methods 103
  ------------------
  |  Branch (735:9): [True: 0, False: 5.21k]
  ------------------
  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: 5.21k]
  ------------------
  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: 5.21k]
  ------------------
  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: 5.21k]
  ------------------
  739|      0|        case Py_tp_metaclass: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  115|      0|#define Py_tp_metaclass 107
  ------------------
  |  Branch (739:9): [True: 0, False: 5.21k]
  ------------------
  740|      0|        case Py_tp_module: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  116|      0|#define Py_tp_module 108
  ------------------
  |  Branch (740:9): [True: 0, False: 5.21k]
  ------------------
  741|    186|        case Py_mod_abi: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  117|    186|#define Py_mod_abi 109
  ------------------
  |  Branch (741:9): [True: 186, False: 5.03k]
  ------------------
  742|      0|        case Py_mod_token: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  118|      0|#define Py_mod_token 110
  ------------------
  |  Branch (742:9): [True: 0, False: 5.21k]
  ------------------
  743|      0|        default: return _PySlot_DTYPE_VOID;
  ------------------
  |  Branch (743:9): [True: 0, False: 5.21k]
  ------------------
  744|  5.21k|    }
  745|  5.21k|}
slots.c:_PySlot_get_must_be_static:
  948|  1.19k|{
  949|  1.19k|    switch (slot_id) {
  ------------------
  |  Branch (949:13): [True: 195, False: 1.00k]
  ------------------
  950|     87|        case Py_tp_methods: return true;
  ------------------
  |  |   72|     87|#define Py_tp_methods 64
  ------------------
  |  Branch (950:9): [True: 87, False: 1.11k]
  ------------------
  951|     67|        case Py_tp_members: return true;
  ------------------
  |  |   80|     67|#define Py_tp_members 72
  ------------------
  |  Branch (951:9): [True: 67, False: 1.13k]
  ------------------
  952|     41|        case Py_tp_getset: return true;
  ------------------
  |  |   81|     41|#define Py_tp_getset 73
  ------------------
  |  Branch (952:9): [True: 41, False: 1.15k]
  ------------------
  953|      0|        case Py_mod_methods: return true;
  ------------------
  |  |  111|      0|#define Py_mod_methods 103
  ------------------
  |  Branch (953:9): [True: 0, False: 1.19k]
  ------------------
  954|  1.19k|    }
  955|  1.00k|    return false;
  956|  1.19k|}
slots.c:_PySlot_get_null_handling:
  843|  1.19k|{
  844|  1.19k|    switch (slot_id) {
  845|      0|        case Py_slot_end:
  ------------------
  |  |   12|      0|#define Py_slot_end 0
  ------------------
  |  Branch (845:9): [True: 0, False: 1.19k]
  ------------------
  846|     97|        case Py_tp_doc:
  ------------------
  |  |   64|     97|#define Py_tp_doc 56
  ------------------
  |  Branch (846:9): [True: 97, False: 1.10k]
  ------------------
  847|     98|        case Py_tp_token:
  ------------------
  |  |   91|     98|#define Py_tp_token 83
  ------------------
  |  Branch (847:9): [True: 1, False: 1.19k]
  ------------------
  848|    168|        case Py_mod_multiple_interpreters:
  ------------------
  |  |   94|    168|#define Py_mod_multiple_interpreters _Py_SLOT_COMPAT_VALUE(3, 86)
  |  |  ------------------
  |  |  |  |    7|    168|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (848:9): [True: 70, False: 1.12k]
  ------------------
  849|    238|        case Py_mod_gil:
  ------------------
  |  |   95|    238|#define Py_mod_gil _Py_SLOT_COMPAT_VALUE(4, 87)
  |  |  ------------------
  |  |  |  |    7|    238|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (849:9): [True: 70, False: 1.12k]
  ------------------
  850|    238|        case Py_slot_subslots:
  ------------------
  |  |  100|    238|#define Py_slot_subslots 92
  ------------------
  |  Branch (850:9): [True: 0, False: 1.19k]
  ------------------
  851|    238|        case Py_tp_slots:
  ------------------
  |  |  101|    238|#define Py_tp_slots 93
  ------------------
  |  Branch (851:9): [True: 0, False: 1.19k]
  ------------------
  852|    238|        case Py_mod_slots:
  ------------------
  |  |  102|    238|#define Py_mod_slots 94
  ------------------
  |  Branch (852:9): [True: 0, False: 1.19k]
  ------------------
  853|    238|        case Py_tp_basicsize:
  ------------------
  |  |  104|    238|#define Py_tp_basicsize 96
  ------------------
  |  Branch (853:9): [True: 0, False: 1.19k]
  ------------------
  854|    238|        case Py_tp_extra_basicsize:
  ------------------
  |  |  105|    238|#define Py_tp_extra_basicsize 97
  ------------------
  |  Branch (854:9): [True: 0, False: 1.19k]
  ------------------
  855|    238|        case Py_tp_itemsize:
  ------------------
  |  |  106|    238|#define Py_tp_itemsize 98
  ------------------
  |  Branch (855:9): [True: 0, False: 1.19k]
  ------------------
  856|    238|        case Py_tp_flags:
  ------------------
  |  |  107|    238|#define Py_tp_flags 99
  ------------------
  |  Branch (856:9): [True: 0, False: 1.19k]
  ------------------
  857|    238|        case Py_mod_state_size:
  ------------------
  |  |  110|    238|#define Py_mod_state_size 102
  ------------------
  |  Branch (857:9): [True: 0, False: 1.19k]
  ------------------
  858|    238|            return _PySlot_PROBLEM_ALLOW;
  859|      1|        case Py_mp_subscript:
  ------------------
  |  |   13|      1|#define Py_mp_subscript 5
  ------------------
  |  Branch (859:9): [True: 1, False: 1.19k]
  ------------------
  860|      1|        case Py_nb_absolute:
  ------------------
  |  |   14|      1|#define Py_nb_absolute 6
  ------------------
  |  Branch (860:9): [True: 0, False: 1.19k]
  ------------------
  861|      1|        case Py_nb_add:
  ------------------
  |  |   15|      1|#define Py_nb_add 7
  ------------------
  |  Branch (861:9): [True: 0, False: 1.19k]
  ------------------
  862|      1|        case Py_nb_and:
  ------------------
  |  |   16|      1|#define Py_nb_and 8
  ------------------
  |  Branch (862:9): [True: 0, False: 1.19k]
  ------------------
  863|      1|        case Py_nb_bool:
  ------------------
  |  |   17|      1|#define Py_nb_bool 9
  ------------------
  |  Branch (863:9): [True: 0, False: 1.19k]
  ------------------
  864|      1|        case Py_nb_divmod:
  ------------------
  |  |   18|      1|#define Py_nb_divmod 10
  ------------------
  |  Branch (864:9): [True: 0, False: 1.19k]
  ------------------
  865|      1|        case Py_nb_float:
  ------------------
  |  |   19|      1|#define Py_nb_float 11
  ------------------
  |  Branch (865:9): [True: 0, False: 1.19k]
  ------------------
  866|      1|        case Py_nb_floor_divide:
  ------------------
  |  |   20|      1|#define Py_nb_floor_divide 12
  ------------------
  |  Branch (866:9): [True: 0, False: 1.19k]
  ------------------
  867|      1|        case Py_nb_index:
  ------------------
  |  |   21|      1|#define Py_nb_index 13
  ------------------
  |  Branch (867:9): [True: 0, False: 1.19k]
  ------------------
  868|      1|        case Py_nb_inplace_add:
  ------------------
  |  |   22|      1|#define Py_nb_inplace_add 14
  ------------------
  |  Branch (868:9): [True: 0, False: 1.19k]
  ------------------
  869|      1|        case Py_nb_inplace_and:
  ------------------
  |  |   23|      1|#define Py_nb_inplace_and 15
  ------------------
  |  Branch (869:9): [True: 0, False: 1.19k]
  ------------------
  870|      1|        case Py_nb_inplace_floor_divide:
  ------------------
  |  |   24|      1|#define Py_nb_inplace_floor_divide 16
  ------------------
  |  Branch (870:9): [True: 0, False: 1.19k]
  ------------------
  871|      1|        case Py_nb_inplace_lshift:
  ------------------
  |  |   25|      1|#define Py_nb_inplace_lshift 17
  ------------------
  |  Branch (871:9): [True: 0, False: 1.19k]
  ------------------
  872|      1|        case Py_nb_inplace_multiply:
  ------------------
  |  |   26|      1|#define Py_nb_inplace_multiply 18
  ------------------
  |  Branch (872:9): [True: 0, False: 1.19k]
  ------------------
  873|      1|        case Py_nb_inplace_or:
  ------------------
  |  |   27|      1|#define Py_nb_inplace_or 19
  ------------------
  |  Branch (873:9): [True: 0, False: 1.19k]
  ------------------
  874|      1|        case Py_nb_inplace_power:
  ------------------
  |  |   28|      1|#define Py_nb_inplace_power 20
  ------------------
  |  Branch (874:9): [True: 0, False: 1.19k]
  ------------------
  875|      1|        case Py_nb_inplace_remainder:
  ------------------
  |  |   29|      1|#define Py_nb_inplace_remainder 21
  ------------------
  |  Branch (875:9): [True: 0, False: 1.19k]
  ------------------
  876|      1|        case Py_nb_inplace_rshift:
  ------------------
  |  |   30|      1|#define Py_nb_inplace_rshift 22
  ------------------
  |  Branch (876:9): [True: 0, False: 1.19k]
  ------------------
  877|      1|        case Py_nb_inplace_subtract:
  ------------------
  |  |   31|      1|#define Py_nb_inplace_subtract 23
  ------------------
  |  Branch (877:9): [True: 0, False: 1.19k]
  ------------------
  878|      1|        case Py_nb_inplace_true_divide:
  ------------------
  |  |   32|      1|#define Py_nb_inplace_true_divide 24
  ------------------
  |  Branch (878:9): [True: 0, False: 1.19k]
  ------------------
  879|      1|        case Py_nb_inplace_xor:
  ------------------
  |  |   33|      1|#define Py_nb_inplace_xor 25
  ------------------
  |  Branch (879:9): [True: 0, False: 1.19k]
  ------------------
  880|      1|        case Py_nb_int:
  ------------------
  |  |   34|      1|#define Py_nb_int 26
  ------------------
  |  Branch (880:9): [True: 0, False: 1.19k]
  ------------------
  881|      1|        case Py_nb_invert:
  ------------------
  |  |   35|      1|#define Py_nb_invert 27
  ------------------
  |  Branch (881:9): [True: 0, False: 1.19k]
  ------------------
  882|      1|        case Py_nb_lshift:
  ------------------
  |  |   36|      1|#define Py_nb_lshift 28
  ------------------
  |  Branch (882:9): [True: 0, False: 1.19k]
  ------------------
  883|      1|        case Py_nb_multiply:
  ------------------
  |  |   37|      1|#define Py_nb_multiply 29
  ------------------
  |  Branch (883:9): [True: 0, False: 1.19k]
  ------------------
  884|      1|        case Py_nb_negative:
  ------------------
  |  |   38|      1|#define Py_nb_negative 30
  ------------------
  |  Branch (884:9): [True: 0, False: 1.19k]
  ------------------
  885|      6|        case Py_nb_or:
  ------------------
  |  |   39|      6|#define Py_nb_or 31
  ------------------
  |  Branch (885:9): [True: 5, False: 1.19k]
  ------------------
  886|      6|        case Py_nb_positive:
  ------------------
  |  |   40|      6|#define Py_nb_positive 32
  ------------------
  |  Branch (886:9): [True: 0, False: 1.19k]
  ------------------
  887|      6|        case Py_nb_power:
  ------------------
  |  |   41|      6|#define Py_nb_power 33
  ------------------
  |  Branch (887:9): [True: 0, False: 1.19k]
  ------------------
  888|      6|        case Py_nb_remainder:
  ------------------
  |  |   42|      6|#define Py_nb_remainder 34
  ------------------
  |  Branch (888:9): [True: 0, False: 1.19k]
  ------------------
  889|      6|        case Py_nb_rshift:
  ------------------
  |  |   43|      6|#define Py_nb_rshift 35
  ------------------
  |  Branch (889:9): [True: 0, False: 1.19k]
  ------------------
  890|      6|        case Py_nb_subtract:
  ------------------
  |  |   44|      6|#define Py_nb_subtract 36
  ------------------
  |  Branch (890:9): [True: 0, False: 1.19k]
  ------------------
  891|      6|        case Py_nb_true_divide:
  ------------------
  |  |   45|      6|#define Py_nb_true_divide 37
  ------------------
  |  Branch (891:9): [True: 0, False: 1.19k]
  ------------------
  892|      6|        case Py_nb_xor:
  ------------------
  |  |   46|      6|#define Py_nb_xor 38
  ------------------
  |  Branch (892:9): [True: 0, False: 1.19k]
  ------------------
  893|      7|        case Py_sq_ass_item:
  ------------------
  |  |   47|      7|#define Py_sq_ass_item 39
  ------------------
  |  Branch (893:9): [True: 1, False: 1.19k]
  ------------------
  894|      8|        case Py_sq_concat:
  ------------------
  |  |   48|      8|#define Py_sq_concat 40
  ------------------
  |  Branch (894:9): [True: 1, False: 1.19k]
  ------------------
  895|      9|        case Py_sq_contains:
  ------------------
  |  |   49|      9|#define Py_sq_contains 41
  ------------------
  |  Branch (895:9): [True: 1, False: 1.19k]
  ------------------
  896|     10|        case Py_sq_inplace_concat:
  ------------------
  |  |   50|     10|#define Py_sq_inplace_concat 42
  ------------------
  |  Branch (896:9): [True: 1, False: 1.19k]
  ------------------
  897|     11|        case Py_sq_inplace_repeat:
  ------------------
  |  |   51|     11|#define Py_sq_inplace_repeat 43
  ------------------
  |  Branch (897:9): [True: 1, False: 1.19k]
  ------------------
  898|     12|        case Py_sq_item:
  ------------------
  |  |   52|     12|#define Py_sq_item 44
  ------------------
  |  Branch (898:9): [True: 1, False: 1.19k]
  ------------------
  899|     13|        case Py_sq_length:
  ------------------
  |  |   53|     13|#define Py_sq_length 45
  ------------------
  |  Branch (899:9): [True: 1, False: 1.19k]
  ------------------
  900|     14|        case Py_sq_repeat:
  ------------------
  |  |   54|     14|#define Py_sq_repeat 46
  ------------------
  |  Branch (900:9): [True: 1, False: 1.19k]
  ------------------
  901|     34|        case Py_tp_alloc:
  ------------------
  |  |   55|     34|#define Py_tp_alloc 47
  ------------------
  |  Branch (901:9): [True: 20, False: 1.17k]
  ------------------
  902|     34|        case Py_tp_base:
  ------------------
  |  |   56|     34|#define Py_tp_base 48
  ------------------
  |  Branch (902:9): [True: 0, False: 1.19k]
  ------------------
  903|     34|        case Py_tp_bases:
  ------------------
  |  |   57|     34|#define Py_tp_bases 49
  ------------------
  |  Branch (903:9): [True: 0, False: 1.19k]
  ------------------
  904|     42|        case Py_tp_call:
  ------------------
  |  |   58|     42|#define Py_tp_call 50
  ------------------
  |  Branch (904:9): [True: 8, False: 1.19k]
  ------------------
  905|     95|        case Py_tp_clear:
  ------------------
  |  |   59|     95|#define Py_tp_clear 51
  ------------------
  |  Branch (905:9): [True: 53, False: 1.14k]
  ------------------
  906|    207|        case Py_tp_dealloc:
  ------------------
  |  |   60|    207|#define Py_tp_dealloc 52
  ------------------
  |  Branch (906:9): [True: 112, False: 1.08k]
  ------------------
  907|    207|        case Py_tp_del:
  ------------------
  |  |   61|    207|#define Py_tp_del 53
  ------------------
  |  Branch (907:9): [True: 0, False: 1.19k]
  ------------------
  908|    210|        case Py_tp_descr_get:
  ------------------
  |  |   62|    210|#define Py_tp_descr_get 54
  ------------------
  |  Branch (908:9): [True: 3, False: 1.19k]
  ------------------
  909|    211|        case Py_tp_descr_set:
  ------------------
  |  |   63|    211|#define Py_tp_descr_set 55
  ------------------
  |  Branch (909:9): [True: 1, False: 1.19k]
  ------------------
  910|    211|        case Py_tp_getattr:
  ------------------
  |  |   65|    211|#define Py_tp_getattr 57
  ------------------
  |  Branch (910:9): [True: 0, False: 1.19k]
  ------------------
  911|    244|        case Py_tp_getattro:
  ------------------
  |  |   66|    244|#define Py_tp_getattro 58
  ------------------
  |  Branch (911:9): [True: 33, False: 1.16k]
  ------------------
  912|    246|        case Py_tp_hash:
  ------------------
  |  |   67|    246|#define Py_tp_hash 59
  ------------------
  |  Branch (912:9): [True: 2, False: 1.19k]
  ------------------
  913|    266|        case Py_tp_init:
  ------------------
  |  |   68|    266|#define Py_tp_init 60
  ------------------
  |  Branch (913:9): [True: 20, False: 1.17k]
  ------------------
  914|    266|        case Py_tp_is_gc:
  ------------------
  |  |   69|    266|#define Py_tp_is_gc 61
  ------------------
  |  Branch (914:9): [True: 0, False: 1.19k]
  ------------------
  915|    299|        case Py_tp_iter:
  ------------------
  |  |   70|    299|#define Py_tp_iter 62
  ------------------
  |  Branch (915:9): [True: 33, False: 1.16k]
  ------------------
  916|    337|        case Py_tp_iternext:
  ------------------
  |  |   71|    337|#define Py_tp_iternext 63
  ------------------
  |  Branch (916:9): [True: 38, False: 1.16k]
  ------------------
  917|    424|        case Py_tp_methods:
  ------------------
  |  |   72|    424|#define Py_tp_methods 64
  ------------------
  |  Branch (917:9): [True: 87, False: 1.11k]
  ------------------
  918|    501|        case Py_tp_new:
  ------------------
  |  |   73|    501|#define Py_tp_new 65
  ------------------
  |  Branch (918:9): [True: 77, False: 1.12k]
  ------------------
  919|    563|        case Py_tp_repr:
  ------------------
  |  |   74|    563|#define Py_tp_repr 66
  ------------------
  |  Branch (919:9): [True: 62, False: 1.13k]
  ------------------
  920|    570|        case Py_tp_richcompare:
  ------------------
  |  |   75|    570|#define Py_tp_richcompare 67
  ------------------
  |  Branch (920:9): [True: 7, False: 1.19k]
  ------------------
  921|    570|        case Py_tp_setattr:
  ------------------
  |  |   76|    570|#define Py_tp_setattr 68
  ------------------
  |  Branch (921:9): [True: 0, False: 1.19k]
  ------------------
  922|    573|        case Py_tp_setattro:
  ------------------
  |  |   77|    573|#define Py_tp_setattro 69
  ------------------
  |  Branch (922:9): [True: 3, False: 1.19k]
  ------------------
  923|    573|        case Py_tp_str:
  ------------------
  |  |   78|    573|#define Py_tp_str 70
  ------------------
  |  Branch (923:9): [True: 0, False: 1.19k]
  ------------------
  924|    677|        case Py_tp_traverse:
  ------------------
  |  |   79|    677|#define Py_tp_traverse 71
  ------------------
  |  Branch (924:9): [True: 104, False: 1.09k]
  ------------------
  925|    718|        case Py_tp_getset:
  ------------------
  |  |   81|    718|#define Py_tp_getset 73
  ------------------
  |  Branch (925:9): [True: 41, False: 1.15k]
  ------------------
  926|    757|        case Py_tp_free:
  ------------------
  |  |   82|    757|#define Py_tp_free 74
  ------------------
  |  Branch (926:9): [True: 39, False: 1.15k]
  ------------------
  927|    757|        case Py_nb_matrix_multiply:
  ------------------
  |  |   83|    757|#define Py_nb_matrix_multiply 75
  ------------------
  |  Branch (927:9): [True: 0, False: 1.19k]
  ------------------
  928|    757|        case Py_nb_inplace_matrix_multiply:
  ------------------
  |  |   84|    757|#define Py_nb_inplace_matrix_multiply 76
  ------------------
  |  Branch (928:9): [True: 0, False: 1.19k]
  ------------------
  929|    757|        case Py_am_await:
  ------------------
  |  |   85|    757|#define Py_am_await 77
  ------------------
  |  Branch (929:9): [True: 0, False: 1.19k]
  ------------------
  930|    757|        case Py_am_aiter:
  ------------------
  |  |   86|    757|#define Py_am_aiter 78
  ------------------
  |  Branch (930:9): [True: 0, False: 1.19k]
  ------------------
  931|    757|        case Py_am_anext:
  ------------------
  |  |   87|    757|#define Py_am_anext 79
  ------------------
  |  Branch (931:9): [True: 0, False: 1.19k]
  ------------------
  932|    761|        case Py_tp_finalize:
  ------------------
  |  |   88|    761|#define Py_tp_finalize 80
  ------------------
  |  Branch (932:9): [True: 4, False: 1.19k]
  ------------------
  933|    761|        case Py_am_send:
  ------------------
  |  |   89|    761|#define Py_am_send 81
  ------------------
  |  Branch (933:9): [True: 0, False: 1.19k]
  ------------------
  934|    761|        case Py_tp_vectorcall:
  ------------------
  |  |   90|    761|#define Py_tp_vectorcall 82
  ------------------
  |  Branch (934:9): [True: 0, False: 1.19k]
  ------------------
  935|    761|        case Py_mod_create:
  ------------------
  |  |   92|    761|#define Py_mod_create _Py_SLOT_COMPAT_VALUE(1, 84)
  |  |  ------------------
  |  |  |  |    7|    761|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (935:9): [True: 0, False: 1.19k]
  ------------------
  936|    763|        case Py_bf_getbuffer:
  ------------------
  |  |   96|    763|#define Py_bf_getbuffer _Py_SLOT_COMPAT_VALUE(1, 88)
  |  |  ------------------
  |  |  |  |    7|    763|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (936:9): [True: 2, False: 1.19k]
  ------------------
  937|    765|        case Py_bf_releasebuffer:
  ------------------
  |  |   97|    765|#define Py_bf_releasebuffer _Py_SLOT_COMPAT_VALUE(2, 89)
  |  |  ------------------
  |  |  |  |    7|    765|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (937:9): [True: 2, False: 1.19k]
  ------------------
  938|    765|        case Py_mp_ass_subscript:
  ------------------
  |  |   98|    765|#define Py_mp_ass_subscript _Py_SLOT_COMPAT_VALUE(3, 90)
  |  |  ------------------
  |  |  |  |    7|    765|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (938:9): [True: 0, False: 1.19k]
  ------------------
  939|    765|        case Py_mp_length:
  ------------------
  |  |   99|    765|#define Py_mp_length _Py_SLOT_COMPAT_VALUE(4, 91)
  |  |  ------------------
  |  |  |  |    7|    765|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (939:9): [True: 0, False: 1.19k]
  ------------------
  940|    765|            return _PySlot_PROBLEM_DEPRECATED;
  941|    195|        default:
  ------------------
  |  Branch (941:9): [True: 195, False: 1.00k]
  ------------------
  942|    195|            return _PySlot_PROBLEM_REJECT;
  943|  1.19k|    }
  944|  1.19k|}
slots.c:_PySlot_get_duplicate_handling:
  749|  1.19k|{
  750|  1.19k|    switch (slot_id) {
  751|      1|        case Py_mp_subscript:
  ------------------
  |  |   13|      1|#define Py_mp_subscript 5
  ------------------
  |  Branch (751:9): [True: 1, False: 1.19k]
  ------------------
  752|      1|        case Py_nb_absolute:
  ------------------
  |  |   14|      1|#define Py_nb_absolute 6
  ------------------
  |  Branch (752:9): [True: 0, False: 1.19k]
  ------------------
  753|      1|        case Py_nb_add:
  ------------------
  |  |   15|      1|#define Py_nb_add 7
  ------------------
  |  Branch (753:9): [True: 0, False: 1.19k]
  ------------------
  754|      1|        case Py_nb_and:
  ------------------
  |  |   16|      1|#define Py_nb_and 8
  ------------------
  |  Branch (754:9): [True: 0, False: 1.19k]
  ------------------
  755|      1|        case Py_nb_bool:
  ------------------
  |  |   17|      1|#define Py_nb_bool 9
  ------------------
  |  Branch (755:9): [True: 0, False: 1.19k]
  ------------------
  756|      1|        case Py_nb_divmod:
  ------------------
  |  |   18|      1|#define Py_nb_divmod 10
  ------------------
  |  Branch (756:9): [True: 0, False: 1.19k]
  ------------------
  757|      1|        case Py_nb_float:
  ------------------
  |  |   19|      1|#define Py_nb_float 11
  ------------------
  |  Branch (757:9): [True: 0, False: 1.19k]
  ------------------
  758|      1|        case Py_nb_floor_divide:
  ------------------
  |  |   20|      1|#define Py_nb_floor_divide 12
  ------------------
  |  Branch (758:9): [True: 0, False: 1.19k]
  ------------------
  759|      1|        case Py_nb_index:
  ------------------
  |  |   21|      1|#define Py_nb_index 13
  ------------------
  |  Branch (759:9): [True: 0, False: 1.19k]
  ------------------
  760|      1|        case Py_nb_inplace_add:
  ------------------
  |  |   22|      1|#define Py_nb_inplace_add 14
  ------------------
  |  Branch (760:9): [True: 0, False: 1.19k]
  ------------------
  761|      1|        case Py_nb_inplace_and:
  ------------------
  |  |   23|      1|#define Py_nb_inplace_and 15
  ------------------
  |  Branch (761:9): [True: 0, False: 1.19k]
  ------------------
  762|      1|        case Py_nb_inplace_floor_divide:
  ------------------
  |  |   24|      1|#define Py_nb_inplace_floor_divide 16
  ------------------
  |  Branch (762:9): [True: 0, False: 1.19k]
  ------------------
  763|      1|        case Py_nb_inplace_lshift:
  ------------------
  |  |   25|      1|#define Py_nb_inplace_lshift 17
  ------------------
  |  Branch (763:9): [True: 0, False: 1.19k]
  ------------------
  764|      1|        case Py_nb_inplace_multiply:
  ------------------
  |  |   26|      1|#define Py_nb_inplace_multiply 18
  ------------------
  |  Branch (764:9): [True: 0, False: 1.19k]
  ------------------
  765|      1|        case Py_nb_inplace_or:
  ------------------
  |  |   27|      1|#define Py_nb_inplace_or 19
  ------------------
  |  Branch (765:9): [True: 0, False: 1.19k]
  ------------------
  766|      1|        case Py_nb_inplace_power:
  ------------------
  |  |   28|      1|#define Py_nb_inplace_power 20
  ------------------
  |  Branch (766:9): [True: 0, False: 1.19k]
  ------------------
  767|      1|        case Py_nb_inplace_remainder:
  ------------------
  |  |   29|      1|#define Py_nb_inplace_remainder 21
  ------------------
  |  Branch (767:9): [True: 0, False: 1.19k]
  ------------------
  768|      1|        case Py_nb_inplace_rshift:
  ------------------
  |  |   30|      1|#define Py_nb_inplace_rshift 22
  ------------------
  |  Branch (768:9): [True: 0, False: 1.19k]
  ------------------
  769|      1|        case Py_nb_inplace_subtract:
  ------------------
  |  |   31|      1|#define Py_nb_inplace_subtract 23
  ------------------
  |  Branch (769:9): [True: 0, False: 1.19k]
  ------------------
  770|      1|        case Py_nb_inplace_true_divide:
  ------------------
  |  |   32|      1|#define Py_nb_inplace_true_divide 24
  ------------------
  |  Branch (770:9): [True: 0, False: 1.19k]
  ------------------
  771|      1|        case Py_nb_inplace_xor:
  ------------------
  |  |   33|      1|#define Py_nb_inplace_xor 25
  ------------------
  |  Branch (771:9): [True: 0, False: 1.19k]
  ------------------
  772|      1|        case Py_nb_int:
  ------------------
  |  |   34|      1|#define Py_nb_int 26
  ------------------
  |  Branch (772:9): [True: 0, False: 1.19k]
  ------------------
  773|      1|        case Py_nb_invert:
  ------------------
  |  |   35|      1|#define Py_nb_invert 27
  ------------------
  |  Branch (773:9): [True: 0, False: 1.19k]
  ------------------
  774|      1|        case Py_nb_lshift:
  ------------------
  |  |   36|      1|#define Py_nb_lshift 28
  ------------------
  |  Branch (774:9): [True: 0, False: 1.19k]
  ------------------
  775|      1|        case Py_nb_multiply:
  ------------------
  |  |   37|      1|#define Py_nb_multiply 29
  ------------------
  |  Branch (775:9): [True: 0, False: 1.19k]
  ------------------
  776|      1|        case Py_nb_negative:
  ------------------
  |  |   38|      1|#define Py_nb_negative 30
  ------------------
  |  Branch (776:9): [True: 0, False: 1.19k]
  ------------------
  777|      6|        case Py_nb_or:
  ------------------
  |  |   39|      6|#define Py_nb_or 31
  ------------------
  |  Branch (777:9): [True: 5, False: 1.19k]
  ------------------
  778|      6|        case Py_nb_positive:
  ------------------
  |  |   40|      6|#define Py_nb_positive 32
  ------------------
  |  Branch (778:9): [True: 0, False: 1.19k]
  ------------------
  779|      6|        case Py_nb_power:
  ------------------
  |  |   41|      6|#define Py_nb_power 33
  ------------------
  |  Branch (779:9): [True: 0, False: 1.19k]
  ------------------
  780|      6|        case Py_nb_remainder:
  ------------------
  |  |   42|      6|#define Py_nb_remainder 34
  ------------------
  |  Branch (780:9): [True: 0, False: 1.19k]
  ------------------
  781|      6|        case Py_nb_rshift:
  ------------------
  |  |   43|      6|#define Py_nb_rshift 35
  ------------------
  |  Branch (781:9): [True: 0, False: 1.19k]
  ------------------
  782|      6|        case Py_nb_subtract:
  ------------------
  |  |   44|      6|#define Py_nb_subtract 36
  ------------------
  |  Branch (782:9): [True: 0, False: 1.19k]
  ------------------
  783|      6|        case Py_nb_true_divide:
  ------------------
  |  |   45|      6|#define Py_nb_true_divide 37
  ------------------
  |  Branch (783:9): [True: 0, False: 1.19k]
  ------------------
  784|      6|        case Py_nb_xor:
  ------------------
  |  |   46|      6|#define Py_nb_xor 38
  ------------------
  |  Branch (784:9): [True: 0, False: 1.19k]
  ------------------
  785|      7|        case Py_sq_ass_item:
  ------------------
  |  |   47|      7|#define Py_sq_ass_item 39
  ------------------
  |  Branch (785:9): [True: 1, False: 1.19k]
  ------------------
  786|      8|        case Py_sq_concat:
  ------------------
  |  |   48|      8|#define Py_sq_concat 40
  ------------------
  |  Branch (786:9): [True: 1, False: 1.19k]
  ------------------
  787|      9|        case Py_sq_contains:
  ------------------
  |  |   49|      9|#define Py_sq_contains 41
  ------------------
  |  Branch (787:9): [True: 1, False: 1.19k]
  ------------------
  788|     10|        case Py_sq_inplace_concat:
  ------------------
  |  |   50|     10|#define Py_sq_inplace_concat 42
  ------------------
  |  Branch (788:9): [True: 1, False: 1.19k]
  ------------------
  789|     11|        case Py_sq_inplace_repeat:
  ------------------
  |  |   51|     11|#define Py_sq_inplace_repeat 43
  ------------------
  |  Branch (789:9): [True: 1, False: 1.19k]
  ------------------
  790|     12|        case Py_sq_item:
  ------------------
  |  |   52|     12|#define Py_sq_item 44
  ------------------
  |  Branch (790:9): [True: 1, False: 1.19k]
  ------------------
  791|     13|        case Py_sq_length:
  ------------------
  |  |   53|     13|#define Py_sq_length 45
  ------------------
  |  Branch (791:9): [True: 1, False: 1.19k]
  ------------------
  792|     14|        case Py_sq_repeat:
  ------------------
  |  |   54|     14|#define Py_sq_repeat 46
  ------------------
  |  Branch (792:9): [True: 1, False: 1.19k]
  ------------------
  793|     34|        case Py_tp_alloc:
  ------------------
  |  |   55|     34|#define Py_tp_alloc 47
  ------------------
  |  Branch (793:9): [True: 20, False: 1.17k]
  ------------------
  794|     34|        case Py_tp_base:
  ------------------
  |  |   56|     34|#define Py_tp_base 48
  ------------------
  |  Branch (794:9): [True: 0, False: 1.19k]
  ------------------
  795|     34|        case Py_tp_bases:
  ------------------
  |  |   57|     34|#define Py_tp_bases 49
  ------------------
  |  Branch (795:9): [True: 0, False: 1.19k]
  ------------------
  796|     42|        case Py_tp_call:
  ------------------
  |  |   58|     42|#define Py_tp_call 50
  ------------------
  |  Branch (796:9): [True: 8, False: 1.19k]
  ------------------
  797|     95|        case Py_tp_clear:
  ------------------
  |  |   59|     95|#define Py_tp_clear 51
  ------------------
  |  Branch (797:9): [True: 53, False: 1.14k]
  ------------------
  798|    207|        case Py_tp_dealloc:
  ------------------
  |  |   60|    207|#define Py_tp_dealloc 52
  ------------------
  |  Branch (798:9): [True: 112, False: 1.08k]
  ------------------
  799|    207|        case Py_tp_del:
  ------------------
  |  |   61|    207|#define Py_tp_del 53
  ------------------
  |  Branch (799:9): [True: 0, False: 1.19k]
  ------------------
  800|    210|        case Py_tp_descr_get:
  ------------------
  |  |   62|    210|#define Py_tp_descr_get 54
  ------------------
  |  Branch (800:9): [True: 3, False: 1.19k]
  ------------------
  801|    211|        case Py_tp_descr_set:
  ------------------
  |  |   63|    211|#define Py_tp_descr_set 55
  ------------------
  |  Branch (801:9): [True: 1, False: 1.19k]
  ------------------
  802|    211|        case Py_tp_getattr:
  ------------------
  |  |   65|    211|#define Py_tp_getattr 57
  ------------------
  |  Branch (802:9): [True: 0, False: 1.19k]
  ------------------
  803|    244|        case Py_tp_getattro:
  ------------------
  |  |   66|    244|#define Py_tp_getattro 58
  ------------------
  |  Branch (803:9): [True: 33, False: 1.16k]
  ------------------
  804|    246|        case Py_tp_hash:
  ------------------
  |  |   67|    246|#define Py_tp_hash 59
  ------------------
  |  Branch (804:9): [True: 2, False: 1.19k]
  ------------------
  805|    266|        case Py_tp_init:
  ------------------
  |  |   68|    266|#define Py_tp_init 60
  ------------------
  |  Branch (805:9): [True: 20, False: 1.17k]
  ------------------
  806|    266|        case Py_tp_is_gc:
  ------------------
  |  |   69|    266|#define Py_tp_is_gc 61
  ------------------
  |  Branch (806:9): [True: 0, False: 1.19k]
  ------------------
  807|    299|        case Py_tp_iter:
  ------------------
  |  |   70|    299|#define Py_tp_iter 62
  ------------------
  |  Branch (807:9): [True: 33, False: 1.16k]
  ------------------
  808|    337|        case Py_tp_iternext:
  ------------------
  |  |   71|    337|#define Py_tp_iternext 63
  ------------------
  |  Branch (808:9): [True: 38, False: 1.16k]
  ------------------
  809|    424|        case Py_tp_methods:
  ------------------
  |  |   72|    424|#define Py_tp_methods 64
  ------------------
  |  Branch (809:9): [True: 87, False: 1.11k]
  ------------------
  810|    501|        case Py_tp_new:
  ------------------
  |  |   73|    501|#define Py_tp_new 65
  ------------------
  |  Branch (810:9): [True: 77, False: 1.12k]
  ------------------
  811|    563|        case Py_tp_repr:
  ------------------
  |  |   74|    563|#define Py_tp_repr 66
  ------------------
  |  Branch (811:9): [True: 62, False: 1.13k]
  ------------------
  812|    570|        case Py_tp_richcompare:
  ------------------
  |  |   75|    570|#define Py_tp_richcompare 67
  ------------------
  |  Branch (812:9): [True: 7, False: 1.19k]
  ------------------
  813|    570|        case Py_tp_setattr:
  ------------------
  |  |   76|    570|#define Py_tp_setattr 68
  ------------------
  |  Branch (813:9): [True: 0, False: 1.19k]
  ------------------
  814|    573|        case Py_tp_setattro:
  ------------------
  |  |   77|    573|#define Py_tp_setattro 69
  ------------------
  |  Branch (814:9): [True: 3, False: 1.19k]
  ------------------
  815|    573|        case Py_tp_str:
  ------------------
  |  |   78|    573|#define Py_tp_str 70
  ------------------
  |  Branch (815:9): [True: 0, False: 1.19k]
  ------------------
  816|    677|        case Py_tp_traverse:
  ------------------
  |  |   79|    677|#define Py_tp_traverse 71
  ------------------
  |  Branch (816:9): [True: 104, False: 1.09k]
  ------------------
  817|    718|        case Py_tp_getset:
  ------------------
  |  |   81|    718|#define Py_tp_getset 73
  ------------------
  |  Branch (817:9): [True: 41, False: 1.15k]
  ------------------
  818|    757|        case Py_tp_free:
  ------------------
  |  |   82|    757|#define Py_tp_free 74
  ------------------
  |  Branch (818:9): [True: 39, False: 1.15k]
  ------------------
  819|    757|        case Py_nb_matrix_multiply:
  ------------------
  |  |   83|    757|#define Py_nb_matrix_multiply 75
  ------------------
  |  Branch (819:9): [True: 0, False: 1.19k]
  ------------------
  820|    757|        case Py_nb_inplace_matrix_multiply:
  ------------------
  |  |   84|    757|#define Py_nb_inplace_matrix_multiply 76
  ------------------
  |  Branch (820:9): [True: 0, False: 1.19k]
  ------------------
  821|    757|        case Py_am_await:
  ------------------
  |  |   85|    757|#define Py_am_await 77
  ------------------
  |  Branch (821:9): [True: 0, False: 1.19k]
  ------------------
  822|    757|        case Py_am_aiter:
  ------------------
  |  |   86|    757|#define Py_am_aiter 78
  ------------------
  |  Branch (822:9): [True: 0, False: 1.19k]
  ------------------
  823|    757|        case Py_am_anext:
  ------------------
  |  |   87|    757|#define Py_am_anext 79
  ------------------
  |  Branch (823:9): [True: 0, False: 1.19k]
  ------------------
  824|    761|        case Py_tp_finalize:
  ------------------
  |  |   88|    761|#define Py_tp_finalize 80
  ------------------
  |  Branch (824:9): [True: 4, False: 1.19k]
  ------------------
  825|    761|        case Py_am_send:
  ------------------
  |  |   89|    761|#define Py_am_send 81
  ------------------
  |  Branch (825:9): [True: 0, False: 1.19k]
  ------------------
  826|    761|        case Py_tp_vectorcall:
  ------------------
  |  |   90|    761|#define Py_tp_vectorcall 82
  ------------------
  |  Branch (826:9): [True: 0, False: 1.19k]
  ------------------
  827|    762|        case Py_tp_token:
  ------------------
  |  |   91|    762|#define Py_tp_token 83
  ------------------
  |  Branch (827:9): [True: 1, False: 1.19k]
  ------------------
  828|    764|        case Py_bf_getbuffer:
  ------------------
  |  |   96|    764|#define Py_bf_getbuffer _Py_SLOT_COMPAT_VALUE(1, 88)
  |  |  ------------------
  |  |  |  |    7|    764|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (828:9): [True: 2, False: 1.19k]
  ------------------
  829|    766|        case Py_bf_releasebuffer:
  ------------------
  |  |   97|    766|#define Py_bf_releasebuffer _Py_SLOT_COMPAT_VALUE(2, 89)
  |  |  ------------------
  |  |  |  |    7|    766|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (829:9): [True: 2, False: 1.19k]
  ------------------
  830|    766|        case Py_mp_ass_subscript:
  ------------------
  |  |   98|    766|#define Py_mp_ass_subscript _Py_SLOT_COMPAT_VALUE(3, 90)
  |  |  ------------------
  |  |  |  |    7|    766|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (830:9): [True: 0, False: 1.19k]
  ------------------
  831|    766|        case Py_mp_length:
  ------------------
  |  |   99|    766|#define Py_mp_length _Py_SLOT_COMPAT_VALUE(4, 91)
  |  |  ------------------
  |  |  |  |    7|    766|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (831:9): [True: 0, False: 1.19k]
  ------------------
  832|    766|            return _PySlot_PROBLEM_DEPRECATED;
  833|     66|        case Py_mod_exec:
  ------------------
  |  |   93|     66|#define Py_mod_exec _Py_SLOT_COMPAT_VALUE(2, 85)
  |  |  ------------------
  |  |  |  |    7|     66|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (833:9): [True: 66, False: 1.13k]
  ------------------
  834|    128|        case Py_mod_abi:
  ------------------
  |  |  117|    128|#define Py_mod_abi 109
  ------------------
  |  Branch (834:9): [True: 62, False: 1.13k]
  ------------------
  835|    128|            return _PySlot_PROBLEM_ALLOW;
  836|    304|        default:
  ------------------
  |  Branch (836:9): [True: 304, False: 894]
  ------------------
  837|    304|            return _PySlot_PROBLEM_REJECT;
  838|  1.19k|    }
  839|  1.19k|}

call.c:_PyThreadState_PushCStackRef:
  787|  2.13M|{
  788|       |#ifdef Py_GIL_DISABLED
  789|       |    _PyThreadStateImpl *tstate_impl = (_PyThreadStateImpl *)tstate;
  790|       |    ref->next = tstate_impl->c_stack_refs;
  791|       |    tstate_impl->c_stack_refs = ref;
  792|       |#endif
  793|  2.13M|    ref->ref = PyStackRef_NULL;
  794|  2.13M|}
call.c:PyStackRef_FromPyObjectBorrow:
  627|  1.06M|{
  628|  1.06M|    assert(obj != NULL);
  ------------------
  |  Branch (628:5): [True: 1.06M, False: 0]
  ------------------
  629|  1.06M|    return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT};
  ------------------
  |  |   55|  1.06M|#define Py_TAG_REFCNT 1
  ------------------
  630|  1.06M|}
call.c:_PyThreadState_PopCStackRef:
  805|  2.13M|{
  806|       |#ifdef Py_GIL_DISABLED
  807|       |    _PyThreadStateImpl *tstate_impl = (_PyThreadStateImpl *)tstate;
  808|       |    assert(tstate_impl->c_stack_refs == ref);
  809|       |    tstate_impl->c_stack_refs = ref->next;
  810|       |#endif
  811|  2.13M|    PyStackRef_XCLOSE(ref->ref);
  812|  2.13M|}
call.c:PyStackRef_XCLOSE:
  722|  2.13M|{
  723|  2.13M|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 2.13M, False: 0]
  ------------------
  724|  2.13M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 1.06M, False: 1.06M]
  ------------------
  725|  1.06M|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 1.06M, False: 0]
  ------------------
  726|  1.06M|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  454|  1.06M|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.06M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.06M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|  1.06M|    }
  728|  2.13M|}
call.c:PyStackRef_RefcountOnObject:
  534|  2.13M|{
  535|  2.13M|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  2.13M|#define Py_TAG_REFCNT 1
  ------------------
  536|  2.13M|}
call.c:PyStackRef_AsPyObjectBorrow:
  540|  2.13M|{
  541|  2.13M|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 2.13M, False: 0]
  ------------------
  542|  2.13M|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  2.13M|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  2.13M|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  2.13M|}
call.c:PyStackRef_IsTaggedInt:
  440|  2.13M|{
  441|  2.13M|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  2.13M|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  2.13M|#define Py_INT_TAG 3
  ------------------
  442|  2.13M|}
listobject.c:PyStackRef_AsPyObjectSteal:
  554|  3.35M|{
  555|  3.35M|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (555:5): [True: 3.35M, False: 0]
  ------------------
  556|  3.35M|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (556:5): [True: 3.35M, False: 0]
  ------------------
  557|  3.35M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (557:9): [True: 3.32M, False: 23.3k]
  ------------------
  558|  3.32M|        return BITS_TO_PTR(ref);
  ------------------
  |  |  476|  3.32M|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  559|  3.32M|    }
  560|  23.3k|    else {
  561|  23.3k|        return Py_NewRef(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  550|  23.3k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  23.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|  23.3k|    }
  563|  3.35M|}
listobject.c:PyStackRef_IsTaggedInt:
  440|  3.35M|{
  441|  3.35M|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  3.35M|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  3.35M|#define Py_INT_TAG 3
  ------------------
  442|  3.35M|}
listobject.c:PyStackRef_RefcountOnObject:
  534|  3.35M|{
  535|  3.35M|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  3.35M|#define Py_TAG_REFCNT 1
  ------------------
  536|  3.35M|}
longobject.c:PyStackRef_FromPyObjectBorrow:
  627|  21.4M|{
  628|  21.4M|    assert(obj != NULL);
  ------------------
  |  Branch (628:5): [True: 21.4M, False: 0]
  ------------------
  629|  21.4M|    return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT};
  ------------------
  |  |   55|  21.4M|#define Py_TAG_REFCNT 1
  ------------------
  630|  21.4M|}
longobject.c:PyStackRef_FromPyObjectStealMortal:
  585|  32.4M|{
  586|  32.4M|    assert(obj != NULL);
  ------------------
  |  Branch (586:5): [True: 32.4M, False: 0]
  ------------------
  587|  32.4M|    assert(!_Py_IsImmortal(obj));
  ------------------
  |  Branch (587:5): [True: 32.4M, False: 0]
  ------------------
  588|  32.4M|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  589|  32.4M|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  32.4M|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  590|  32.4M|    return ref;
  591|  32.4M|}
dictobject.c:_PyStackRef_FromPyObjectNew:
  595|  1.04M|{
  596|  1.04M|    assert(obj != NULL);
  ------------------
  |  Branch (596:5): [True: 1.04M, False: 0]
  ------------------
  597|       |#ifdef Py_GIL_DISABLED
  598|       |    if (_PyObject_HasDeferredRefcount(obj)) {
  599|       |        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  600|       |    }
  601|       |#else
  602|  1.04M|    if (_Py_IsImmortal(obj)) {
  ------------------
  |  |  137|  1.04M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 4.37k, False: 1.03M]
  |  |  ------------------
  ------------------
  603|  4.37k|        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  ------------------
  |  |   55|  4.37k|#define Py_TAG_REFCNT 1
  ------------------
  604|  4.37k|    }
  605|  1.03M|#endif
  606|  1.03M|    _Py_INCREF_MORTAL(obj);
  607|  1.03M|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  608|  1.03M|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  1.03M|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  609|  1.03M|    return ref;
  610|  1.04M|}
dictobject.c:PyStackRef_RefcountOnObject:
  534|  1.01M|{
  535|  1.01M|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  1.01M|#define Py_TAG_REFCNT 1
  ------------------
  536|  1.01M|}
dictobject.c:PyStackRef_AsPyObjectBorrow:
  540|  1.01M|{
  541|  1.01M|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 1.01M, False: 0]
  ------------------
  542|  1.01M|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  1.01M|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  1.01M|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  1.01M|}
dictobject.c:PyStackRef_IsTaggedInt:
  440|  1.01M|{
  441|  1.01M|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  1.01M|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  1.01M|#define Py_INT_TAG 3
  ------------------
  442|  1.01M|}
dictobject.c:PyStackRef_CLOSE:
  700|  1.01M|{
  701|  1.01M|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (701:5): [True: 1.01M, False: 0]
  ------------------
  702|  1.01M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (702:9): [True: 1.01M, False: 0]
  ------------------
  703|  1.01M|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  454|  1.01M|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  704|  1.01M|    }
  705|  1.01M|}
object.c:PyStackRef_FromPyObjectSteal:
  567|  18.9M|{
  568|  18.9M|    assert(obj != NULL);
  ------------------
  |  Branch (568:5): [True: 18.9M, False: 0]
  ------------------
  569|       |#ifdef Py_GIL_DISABLED
  570|       |    return (_PyStackRef){ .bits = (uintptr_t)obj };
  571|       |#else
  572|  18.9M|#  if SIZEOF_VOID_P > 4
  573|  18.9M|    unsigned int tag = obj->ob_flags & Py_TAG_REFCNT;
  ------------------
  |  |   55|  18.9M|#define Py_TAG_REFCNT 1
  ------------------
  574|       |#  else
  575|       |    unsigned int tag = _Py_IsImmortal(obj) ? Py_TAG_REFCNT : 0;
  576|       |#  endif
  577|  18.9M|    _PyStackRef ref = ((_PyStackRef){.bits = ((uintptr_t)(obj)) | tag});
  578|  18.9M|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  18.9M|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  579|  18.9M|    return ref;
  580|  18.9M|#endif
  581|  18.9M|}
object.c:PyStackRef_AsPyObjectBorrow:
  540|  50.4M|{
  541|  50.4M|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 50.4M, False: 0]
  ------------------
  542|  50.4M|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  50.4M|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  50.4M|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  50.4M|}
object.c:PyStackRef_XCLOSE:
  722|  47.5M|{
  723|  47.5M|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 47.5M, False: 0]
  ------------------
  724|  47.5M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 38.8M, False: 8.77M]
  ------------------
  725|  38.8M|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 38.8M, False: 0]
  ------------------
  726|  38.8M|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  454|  38.8M|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  38.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  38.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|  38.8M|    }
  728|  47.5M|}
object.c:PyStackRef_RefcountOnObject:
  534|  47.5M|{
  535|  47.5M|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  47.5M|#define Py_TAG_REFCNT 1
  ------------------
  536|  47.5M|}
object.c:_PyThreadState_PushCStackRef:
  787|  46.5M|{
  788|       |#ifdef Py_GIL_DISABLED
  789|       |    _PyThreadStateImpl *tstate_impl = (_PyThreadStateImpl *)tstate;
  790|       |    ref->next = tstate_impl->c_stack_refs;
  791|       |    tstate_impl->c_stack_refs = ref;
  792|       |#endif
  793|  46.5M|    ref->ref = PyStackRef_NULL;
  794|  46.5M|}
object.c:PyStackRef_AsPyObjectSteal:
  554|  4.41k|{
  555|  4.41k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (555:5): [True: 4.41k, False: 0]
  ------------------
  556|  4.41k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (556:5): [True: 4.41k, False: 0]
  ------------------
  557|  4.41k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (557:9): [True: 1, False: 4.41k]
  ------------------
  558|      1|        return BITS_TO_PTR(ref);
  ------------------
  |  |  476|      1|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  559|      1|    }
  560|  4.41k|    else {
  561|  4.41k|        return Py_NewRef(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  550|  4.41k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|  4.41k|    }
  563|  4.41k|}
object.c:_PyThreadState_PopCStackRef:
  805|  46.5M|{
  806|       |#ifdef Py_GIL_DISABLED
  807|       |    _PyThreadStateImpl *tstate_impl = (_PyThreadStateImpl *)tstate;
  808|       |    assert(tstate_impl->c_stack_refs == ref);
  809|       |    tstate_impl->c_stack_refs = ref->next;
  810|       |#endif
  811|  46.5M|    PyStackRef_XCLOSE(ref->ref);
  812|  46.5M|}
object.c:PyStackRef_IsTaggedInt:
  440|  50.4M|{
  441|  50.4M|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  50.4M|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  50.4M|#define Py_INT_TAG 3
  ------------------
  442|  50.4M|}
sentinelobject.c:PyStackRef_AsPyObjectBorrow:
  540|      1|{
  541|      1|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 1, False: 0]
  ------------------
  542|      1|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|      1|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|      1|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|      1|}
sentinelobject.c:PyStackRef_IsTaggedInt:
  440|      1|{
  441|      1|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|      1|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|      1|#define Py_INT_TAG 3
  ------------------
  442|      1|}
tupleobject.c:PyStackRef_AsPyObjectSteal:
  554|  86.8M|{
  555|  86.8M|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (555:5): [True: 86.8M, False: 0]
  ------------------
  556|  86.8M|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (556:5): [True: 86.8M, False: 0]
  ------------------
  557|  86.8M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (557:9): [True: 43.2M, False: 43.6M]
  ------------------
  558|  43.2M|        return BITS_TO_PTR(ref);
  ------------------
  |  |  476|  43.2M|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  559|  43.2M|    }
  560|  43.6M|    else {
  561|  43.6M|        return Py_NewRef(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  550|  43.6M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  43.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  43.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|  43.6M|    }
  563|  86.8M|}
tupleobject.c:PyStackRef_IsTaggedInt:
  440|  86.8M|{
  441|  86.8M|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  86.8M|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  86.8M|#define Py_INT_TAG 3
  ------------------
  442|  86.8M|}
tupleobject.c:PyStackRef_RefcountOnObject:
  534|  86.8M|{
  535|  86.8M|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  86.8M|#define Py_TAG_REFCNT 1
  ------------------
  536|  86.8M|}
typeobject.c:PyStackRef_AsPyObjectBorrow:
  540|  43.0M|{
  541|  43.0M|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 43.0M, False: 0]
  ------------------
  542|  43.0M|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  43.0M|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  43.0M|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  43.0M|}
typeobject.c:PyStackRef_IsTaggedInt:
  440|  44.5M|{
  441|  44.5M|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  44.5M|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  44.5M|#define Py_INT_TAG 3
  ------------------
  442|  44.5M|}
typeobject.c:PyStackRef_XCLOSE:
  722|  25.3M|{
  723|  25.3M|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 25.3M, False: 0]
  ------------------
  724|  25.3M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 22.4M, False: 2.88M]
  ------------------
  725|  22.4M|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 22.4M, False: 0]
  ------------------
  726|  22.4M|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  454|  22.4M|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  22.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|  22.4M|    }
  728|  25.3M|}
typeobject.c:PyStackRef_RefcountOnObject:
  534|  26.8M|{
  535|  26.8M|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  26.8M|#define Py_TAG_REFCNT 1
  ------------------
  536|  26.8M|}
typeobject.c:PyStackRef_FromPyObjectSteal:
  567|  1.79M|{
  568|  1.79M|    assert(obj != NULL);
  ------------------
  |  Branch (568:5): [True: 1.79M, False: 0]
  ------------------
  569|       |#ifdef Py_GIL_DISABLED
  570|       |    return (_PyStackRef){ .bits = (uintptr_t)obj };
  571|       |#else
  572|  1.79M|#  if SIZEOF_VOID_P > 4
  573|  1.79M|    unsigned int tag = obj->ob_flags & Py_TAG_REFCNT;
  ------------------
  |  |   55|  1.79M|#define Py_TAG_REFCNT 1
  ------------------
  574|       |#  else
  575|       |    unsigned int tag = _Py_IsImmortal(obj) ? Py_TAG_REFCNT : 0;
  576|       |#  endif
  577|  1.79M|    _PyStackRef ref = ((_PyStackRef){.bits = ((uintptr_t)(obj)) | tag});
  578|  1.79M|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  1.79M|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  579|  1.79M|    return ref;
  580|  1.79M|#endif
  581|  1.79M|}
typeobject.c:PyStackRef_AsPyObjectSteal:
  554|  1.47M|{
  555|  1.47M|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (555:5): [True: 1.47M, False: 0]
  ------------------
  556|  1.47M|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (556:5): [True: 1.47M, False: 0]
  ------------------
  557|  1.47M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (557:9): [True: 1.47M, False: 61]
  ------------------
  558|  1.47M|        return BITS_TO_PTR(ref);
  ------------------
  |  |  476|  1.47M|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  559|  1.47M|    }
  560|     61|    else {
  561|     61|        return Py_NewRef(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  550|     61|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     61|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     61|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|     61|    }
  563|  1.47M|}
typeobject.c:_PyStackRef_FromPyObjectNew:
  595|  63.0M|{
  596|  63.0M|    assert(obj != NULL);
  ------------------
  |  Branch (596:5): [True: 63.0M, False: 0]
  ------------------
  597|       |#ifdef Py_GIL_DISABLED
  598|       |    if (_PyObject_HasDeferredRefcount(obj)) {
  599|       |        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  600|       |    }
  601|       |#else
  602|  63.0M|    if (_Py_IsImmortal(obj)) {
  ------------------
  |  |  137|  63.0M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  63.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 8.45k, False: 63.0M]
  |  |  ------------------
  ------------------
  603|  8.45k|        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  ------------------
  |  |   55|  8.45k|#define Py_TAG_REFCNT 1
  ------------------
  604|  8.45k|    }
  605|  63.0M|#endif
  606|  63.0M|    _Py_INCREF_MORTAL(obj);
  607|  63.0M|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  608|  63.0M|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  63.0M|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  609|  63.0M|    return ref;
  610|  63.0M|}
typeobject.c:_PyThreadState_PushCStackRef:
  787|  26.0M|{
  788|       |#ifdef Py_GIL_DISABLED
  789|       |    _PyThreadStateImpl *tstate_impl = (_PyThreadStateImpl *)tstate;
  790|       |    ref->next = tstate_impl->c_stack_refs;
  791|       |    tstate_impl->c_stack_refs = ref;
  792|       |#endif
  793|  26.0M|    ref->ref = PyStackRef_NULL;
  794|  26.0M|}
typeobject.c:_PyThreadState_PopCStackRef:
  805|  24.2M|{
  806|       |#ifdef Py_GIL_DISABLED
  807|       |    _PyThreadStateImpl *tstate_impl = (_PyThreadStateImpl *)tstate;
  808|       |    assert(tstate_impl->c_stack_refs == ref);
  809|       |    tstate_impl->c_stack_refs = ref->next;
  810|       |#endif
  811|  24.2M|    PyStackRef_XCLOSE(ref->ref);
  812|  24.2M|}
typeobject.c:_PyThreadState_PopCStackRefSteal:
  816|  1.79M|{
  817|       |#ifdef Py_GIL_DISABLED
  818|       |    _PyThreadStateImpl *tstate_impl = (_PyThreadStateImpl *)tstate;
  819|       |    assert(tstate_impl->c_stack_refs == ref);
  820|       |    tstate_impl->c_stack_refs = ref->next;
  821|       |#endif
  822|  1.79M|    return ref->ref;
  823|  1.79M|}
typeobject.c:PyStackRef_CLOSE:
  700|  5.64k|{
  701|  5.64k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (701:5): [True: 5.64k, False: 0]
  ------------------
  702|  5.64k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (702:9): [True: 5.60k, False: 32]
  ------------------
  703|  5.60k|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  454|  5.60k|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  704|  5.60k|    }
  705|  5.64k|}
typeobject.c:_PyThreadState_PushCStackRefNew:
  798|  3.02k|{
  799|  3.02k|    _PyThreadState_PushCStackRef(tstate, ref);
  800|  3.02k|    ref->ref = PyStackRef_FromPyObjectNew(obj);
  ------------------
  |  |  611|  3.02k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  801|  3.02k|}
_warnings.c:PyStackRef_AsPyObjectBorrow:
  540|   549k|{
  541|   549k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 549k, False: 0]
  ------------------
  542|   549k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|   549k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|   549k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|   549k|}
_warnings.c:PyStackRef_IsTaggedInt:
  440|   549k|{
  441|   549k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|   549k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|   549k|#define Py_INT_TAG 3
  ------------------
  442|   549k|}
ceval.c:_PyThreadState_PushCStackRef:
  787|  2.88M|{
  788|       |#ifdef Py_GIL_DISABLED
  789|       |    _PyThreadStateImpl *tstate_impl = (_PyThreadStateImpl *)tstate;
  790|       |    ref->next = tstate_impl->c_stack_refs;
  791|       |    tstate_impl->c_stack_refs = ref;
  792|       |#endif
  793|  2.88M|    ref->ref = PyStackRef_NULL;
  794|  2.88M|}
ceval.c:PyStackRef_FromPyObjectBorrow:
  627|   240M|{
  628|   240M|    assert(obj != NULL);
  ------------------
  |  Branch (628:5): [True: 240M, False: 0]
  ------------------
  629|   240M|    return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT};
  ------------------
  |  |   55|   240M|#define Py_TAG_REFCNT 1
  ------------------
  630|   240M|}
ceval.c:PyStackRef_AsPyObjectBorrow:
  540|  5.46G|{
  541|  5.46G|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 5.46G, False: 0]
  ------------------
  542|  5.46G|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  5.46G|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  5.46G|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  5.46G|}
ceval.c:PyStackRef_XCLOSE:
  722|  1.48G|{
  723|  1.48G|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 1.48G, False: 0]
  ------------------
  724|  1.48G|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 479M, False: 1.00G]
  ------------------
  725|   479M|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 479M, False: 0]
  ------------------
  726|   479M|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  454|   479M|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   479M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   479M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|   479M|    }
  728|  1.48G|}
ceval.c:PyStackRef_RefcountOnObject:
  534|  2.59G|{
  535|  2.59G|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  2.59G|#define Py_TAG_REFCNT 1
  ------------------
  536|  2.59G|}
ceval.c:PyStackRef_CLOSE:
  700|   395M|{
  701|   395M|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (701:5): [True: 395M, False: 0]
  ------------------
  702|   395M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (702:9): [True: 147M, False: 247M]
  ------------------
  703|   147M|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  454|   147M|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   147M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   147M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  704|   147M|    }
  705|   395M|}
ceval.c:_PyThreadState_PopCStackRefSteal:
  816|  2.88M|{
  817|       |#ifdef Py_GIL_DISABLED
  818|       |    _PyThreadStateImpl *tstate_impl = (_PyThreadStateImpl *)tstate;
  819|       |    assert(tstate_impl->c_stack_refs == ref);
  820|       |    tstate_impl->c_stack_refs = ref->next;
  821|       |#endif
  822|  2.88M|    return ref->ref;
  823|  2.88M|}
ceval.c:PyStackRef_TYPE:
  748|  7.63M|PyStackRef_TYPE(_PyStackRef stackref) {
  749|  7.63M|    if (PyStackRef_IsTaggedInt(stackref)) {
  ------------------
  |  Branch (749:9): [True: 0, False: 7.63M]
  ------------------
  750|      0|        return &PyLong_Type;
  751|      0|    }
  752|  7.63M|    return Py_TYPE(PyStackRef_AsPyObjectBorrow(stackref));
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  753|  7.63M|}
ceval.c:PyStackRef_TagInt:
  446|  26.0M|{
  447|  26.0M|    assert(Py_ARITHMETIC_RIGHT_SHIFT(intptr_t, (intptr_t)(((uintptr_t)i) << Py_TAGGED_SHIFT),
  ------------------
  |  Branch (447:5): [True: 26.0M, False: 0]
  ------------------
  448|  26.0M|                                     Py_TAGGED_SHIFT) == i);
  449|  26.0M|    return (_PyStackRef){ .bits = ((((uintptr_t)i) << Py_TAGGED_SHIFT) | Py_INT_TAG) };
  ------------------
  |  |   58|  26.0M|#define Py_TAGGED_SHIFT 2
  ------------------
                  return (_PyStackRef){ .bits = ((((uintptr_t)i) << Py_TAGGED_SHIFT) | Py_INT_TAG) };
  ------------------
  |  |   53|  26.0M|#define Py_INT_TAG 3
  ------------------
  450|  26.0M|}
ceval.c:PyStackRef_FromPyObjectSteal:
  567|   194M|{
  568|   194M|    assert(obj != NULL);
  ------------------
  |  Branch (568:5): [True: 194M, False: 0]
  ------------------
  569|       |#ifdef Py_GIL_DISABLED
  570|       |    return (_PyStackRef){ .bits = (uintptr_t)obj };
  571|       |#else
  572|   194M|#  if SIZEOF_VOID_P > 4
  573|   194M|    unsigned int tag = obj->ob_flags & Py_TAG_REFCNT;
  ------------------
  |  |   55|   194M|#define Py_TAG_REFCNT 1
  ------------------
  574|       |#  else
  575|       |    unsigned int tag = _Py_IsImmortal(obj) ? Py_TAG_REFCNT : 0;
  576|       |#  endif
  577|   194M|    _PyStackRef ref = ((_PyStackRef){.bits = ((uintptr_t)(obj)) | tag});
  578|   194M|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|   194M|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  579|   194M|    return ref;
  580|   194M|#endif
  581|   194M|}
ceval.c:PyStackRef_CLOSE_SPECIALIZED:
  710|   416M|{
  711|   416M|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (711:5): [True: 416M, False: 0]
  ------------------
  712|   416M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (712:9): [True: 33.6M, False: 383M]
  ------------------
  713|  33.6M|        Py_DECREF_MORTAL_SPECIALIZED(BITS_TO_PTR(ref), destruct);
  ------------------
  |  |  465|  33.6M|#define Py_DECREF_MORTAL_SPECIALIZED(op, destruct) Py_DECREF_MORTAL_SPECIALIZED(_PyObject_CAST(op), destruct)
  |  |  ------------------
  |  |  |  |  171|  33.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  33.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  714|  33.6M|    }
  715|   416M|}
ceval.c:PyStackRef_IsHeapSafe:
  659|   181M|{
  660|       |#ifdef Py_GIL_DISABLED
  661|       |    if ((ref.bits & Py_TAG_BITS) != Py_TAG_REFCNT) {
  662|       |        return true;
  663|       |    }
  664|       |    PyObject *obj = BITS_TO_PTR_MASKED(ref);
  665|       |    return obj == NULL || _PyObject_HasDeferredRefcount(obj);
  666|       |#else
  667|   181M|    return (ref.bits & Py_TAG_BITS) != Py_TAG_REFCNT || ref.bits == PyStackRef_NULL_BITS || _Py_IsImmortal(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |   56|   181M|#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|   362M|#define Py_TAG_REFCNT 1
  ------------------
                  return (ref.bits & Py_TAG_BITS) != Py_TAG_REFCNT || ref.bits == PyStackRef_NULL_BITS || _Py_IsImmortal(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  479|   122M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  ------------------
  |  |  |  |   55|   304M|#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|   304M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   122M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   122M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 102M, False: 19.9M]
  |  |  ------------------
  ------------------
  |  Branch (667:12): [True: 58.6M, False: 122M]
  |  Branch (667:57): [True: 44.7k, False: 122M]
  ------------------
  668|   181M|#endif
  669|   181M|}
ceval.c:PyStackRef_AsPyObjectSteal:
  554|   125M|{
  555|   125M|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (555:5): [True: 125M, False: 0]
  ------------------
  556|   125M|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (556:5): [True: 125M, False: 0]
  ------------------
  557|   125M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (557:9): [True: 49.5M, False: 75.4M]
  ------------------
  558|  49.5M|        return BITS_TO_PTR(ref);
  ------------------
  |  |  476|  49.5M|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  559|  49.5M|    }
  560|  75.4M|    else {
  561|  75.4M|        return Py_NewRef(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  550|  75.4M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  75.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|  75.4M|    }
  563|   125M|}
ceval.c:_PyStackRef_FromPyObjectNew:
  595|  1.06G|{
  596|  1.06G|    assert(obj != NULL);
  ------------------
  |  Branch (596:5): [True: 1.06G, False: 0]
  ------------------
  597|       |#ifdef Py_GIL_DISABLED
  598|       |    if (_PyObject_HasDeferredRefcount(obj)) {
  599|       |        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  600|       |    }
  601|       |#else
  602|  1.06G|    if (_Py_IsImmortal(obj)) {
  ------------------
  |  |  137|  1.06G|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.06G|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.06G|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 175M, False: 889M]
  |  |  ------------------
  ------------------
  603|   175M|        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  ------------------
  |  |   55|   175M|#define Py_TAG_REFCNT 1
  ------------------
  604|   175M|    }
  605|   889M|#endif
  606|   889M|    _Py_INCREF_MORTAL(obj);
  607|   889M|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  608|   889M|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|   889M|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  609|   889M|    return ref;
  610|  1.06G|}
ceval.c:PyStackRef_Wrap:
  398|   135M|{
  399|   135M|    assert(ptr != NULL);
  ------------------
  |  Branch (399:5): [True: 135M, False: 0]
  ------------------
  400|       |#ifdef Py_DEBUG
  401|       |    assert(((uintptr_t)ptr & Py_TAG_BITS) == 0);
  402|       |    return (_PyStackRef){ .bits = ((uintptr_t)ptr) | Py_TAG_INVALID };
  403|       |#else
  404|   135M|    return (_PyStackRef){ .bits = (uintptr_t)ptr };
  405|   135M|#endif
  406|   135M|}
ceval.c:PyStackRef_Unwrap:
  410|   135M|{
  411|       |#ifdef Py_DEBUG
  412|       |    assert ((ref.bits & Py_TAG_BITS) == Py_TAG_INVALID);
  413|       |    return (void *)(ref.bits & ~Py_TAG_BITS);
  414|       |#else
  415|   135M|    return (void *)(ref.bits);
  416|   135M|#endif
  417|   135M|}
ceval.c:PyStackRef_FromPyObjectStealMortal:
  585|  62.2M|{
  586|  62.2M|    assert(obj != NULL);
  ------------------
  |  Branch (586:5): [True: 62.2M, False: 0]
  ------------------
  587|  62.2M|    assert(!_Py_IsImmortal(obj));
  ------------------
  |  Branch (587:5): [True: 62.2M, False: 0]
  ------------------
  588|  62.2M|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  589|  62.2M|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  62.2M|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  590|  62.2M|    return ref;
  591|  62.2M|}
ceval.c:PyStackRef_DUP:
  639|  55.0M|{
  640|  55.0M|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (640:5): [True: 55.0M, False: 0]
  ------------------
  641|  55.0M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (641:9): [True: 16.1M, False: 38.9M]
  ------------------
  642|  16.1M|        _Py_INCREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  476|  16.1M|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  643|  16.1M|    }
  644|  55.0M|    return ref;
  645|  55.0M|}
ceval.c:_PyStackRef_CloseStack:
  873|  25.1M|{
  874|       |    // arguments is a pointer into the GC visible stack,
  875|       |    // so we must NULL out values as we clear them.
  876|  66.8M|    for (int i = total_args-1; i >= 0; i--) {
  ------------------
  |  Branch (876:32): [True: 41.7M, False: 25.1M]
  ------------------
  877|  41.7M|        _PyStackRef tmp = arguments[i];
  878|  41.7M|        arguments[i] = PyStackRef_NULL;
  879|  41.7M|        PyStackRef_CLOSE(tmp);
  880|  41.7M|    }
  881|  25.1M|}
ceval.c:PyStackRef_IsValid:
  433|  23.2M|{
  434|       |    /* Invalid values are ERROR and NULL */
  435|  23.2M|    return ref.bits >= Py_INT_TAG;
  ------------------
  |  |   53|  23.2M|#define Py_INT_TAG 3
  ------------------
  436|  23.2M|}
ceval.c:PyStackRef_IsError:
  421|  11.3M|{
  422|  11.3M|    return ref.bits == Py_TAG_INVALID;
  ------------------
  |  |   54|  11.3M|#define Py_TAG_INVALID 2
  ------------------
  423|  11.3M|}
ceval.c:PyStackRef_IsTaggedInt:
  440|  6.15G|{
  441|  6.15G|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  6.15G|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  6.15G|#define Py_INT_TAG 3
  ------------------
  442|  6.15G|}
ceval.c:PyStackRef_UntagInt:
  454|  70.9M|{
  455|  70.9M|    assert(PyStackRef_IsTaggedInt(i));
  ------------------
  |  Branch (455:5): [True: 70.9M, False: 0]
  ------------------
  456|  70.9M|    intptr_t val = (intptr_t)i.bits;
  457|  70.9M|    return Py_ARITHMETIC_RIGHT_SHIFT(intptr_t, val, Py_TAGGED_SHIFT);
  ------------------
  |  |  226|  70.9M|#define Py_ARITHMETIC_RIGHT_SHIFT(TYPE, I, J) ((I) >> (J))
  ------------------
  458|  70.9M|}
ceval.c:PyStackRef_IncrementTaggedIntNoOverflow:
  463|  28.8M|{
  464|  28.8M|    assert((ref.bits & Py_TAG_BITS) == Py_INT_TAG); // Is tagged int
  ------------------
  |  Branch (464:5): [True: 28.8M, False: 0]
  ------------------
  465|  28.8M|    assert((ref.bits & (~Py_TAG_BITS)) != (INTPTR_MAX & (~Py_TAG_BITS))); // Isn't about to overflow
  ------------------
  |  Branch (465:5): [True: 28.8M, False: 0]
  ------------------
  466|  28.8M|    return (_PyStackRef){ .bits = ref.bits + (1 << Py_TAGGED_SHIFT) };
  ------------------
  |  |   58|  28.8M|#define Py_TAGGED_SHIFT 2
  ------------------
  467|  28.8M|}
ceval.c:PyStackRef_MakeHeapSafe:
  673|   176M|{
  674|   176M|    if (PyStackRef_IsHeapSafe(ref)) {
  ------------------
  |  Branch (674:9): [True: 161M, False: 14.5M]
  ------------------
  675|   161M|        return ref;
  676|   161M|    }
  677|  14.5M|    PyObject *obj = BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  14.5M|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  14.5M|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  678|  14.5M|    Py_INCREF(obj);
  ------------------
  |  |  310|  14.5M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  679|  14.5M|    ref.bits = (uintptr_t)obj;
  680|  14.5M|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  14.5M|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  681|  14.5M|    return ref;
  682|   176M|}
ceval.c:PyStackRef_DupImmortal:
  650|   123M|{
  651|   123M|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (651:5): [True: 123M, False: 0]
  ------------------
  652|   123M|    assert(!PyStackRef_RefcountOnObject(ref));
  ------------------
  |  Branch (652:5): [True: 123M, False: 0]
  ------------------
  653|   123M|    assert(_Py_IsImmortal(BITS_TO_PTR_MASKED(ref)));
  ------------------
  |  Branch (653:5): [True: 123M, False: 0]
  ------------------
  654|   123M|    return ref;
  655|   123M|}
ceval.c:PyStackRef_Borrow:
  547|  1.09G|{
  548|  1.09G|    return (_PyStackRef){ .bits = ref.bits | Py_TAG_REFCNT };
  ------------------
  |  |   55|  1.09G|#define Py_TAG_REFCNT 1
  ------------------
  549|  1.09G|}
frame.c:PyStackRef_IsTaggedInt:
  440|  33.2M|{
  441|  33.2M|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  33.2M|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  33.2M|#define Py_INT_TAG 3
  ------------------
  442|  33.2M|}
frame.c:PyStackRef_XCLOSE:
  722|   774M|{
  723|   774M|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 774M, False: 0]
  ------------------
  724|   774M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 352M, False: 421M]
  ------------------
  725|   352M|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 352M, False: 0]
  ------------------
  726|   352M|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  454|   352M|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   352M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   352M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|   352M|    }
  728|   774M|}
frame.c:PyStackRef_RefcountOnObject:
  534|   777M|{
  535|   777M|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|   777M|#define Py_TAG_REFCNT 1
  ------------------
  536|   777M|}
frame.c:PyStackRef_MakeHeapSafe:
  673|  19.9M|{
  674|  19.9M|    if (PyStackRef_IsHeapSafe(ref)) {
  ------------------
  |  Branch (674:9): [True: 19.3M, False: 608k]
  ------------------
  675|  19.3M|        return ref;
  676|  19.3M|    }
  677|   608k|    PyObject *obj = BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|   608k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|   608k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  678|   608k|    Py_INCREF(obj);
  ------------------
  |  |  310|   608k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   608k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   608k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  679|   608k|    ref.bits = (uintptr_t)obj;
  680|   608k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|   608k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  681|   608k|    return ref;
  682|  19.9M|}
frame.c:PyStackRef_IsHeapSafe:
  659|  19.9M|{
  660|       |#ifdef Py_GIL_DISABLED
  661|       |    if ((ref.bits & Py_TAG_BITS) != Py_TAG_REFCNT) {
  662|       |        return true;
  663|       |    }
  664|       |    PyObject *obj = BITS_TO_PTR_MASKED(ref);
  665|       |    return obj == NULL || _PyObject_HasDeferredRefcount(obj);
  666|       |#else
  667|  19.9M|    return (ref.bits & Py_TAG_BITS) != Py_TAG_REFCNT || ref.bits == PyStackRef_NULL_BITS || _Py_IsImmortal(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |   56|  19.9M|#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|  39.9M|#define Py_TAG_REFCNT 1
  ------------------
                  return (ref.bits & Py_TAG_BITS) != Py_TAG_REFCNT || ref.bits == PyStackRef_NULL_BITS || _Py_IsImmortal(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  479|  9.41M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  ------------------
  |  |  |  |   55|  29.3M|#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|  25.2M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.31M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.31M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 4.70M, False: 608k]
  |  |  ------------------
  ------------------
  |  Branch (667:12): [True: 10.5M, False: 9.41M]
  |  Branch (667:57): [True: 4.09M, False: 5.31M]
  ------------------
  668|  19.9M|#endif
  669|  19.9M|}
frame.c:PyStackRef_DUP:
  639|  3.09M|{
  640|  3.09M|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (640:5): [True: 3.09M, False: 0]
  ------------------
  641|  3.09M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (641:9): [True: 3.09M, False: 0]
  ------------------
  642|  3.09M|        _Py_INCREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  476|  3.09M|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  643|  3.09M|    }
  644|  3.09M|    return ref;
  645|  3.09M|}
frame.c:PyStackRef_AsPyObjectBorrow:
  540|  31.7M|{
  541|  31.7M|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 31.7M, False: 0]
  ------------------
  542|  31.7M|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  31.7M|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  31.7M|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  31.7M|}
gc.c:PyStackRef_IsTaggedInt:
  440|  13.4M|{
  441|  13.4M|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  13.4M|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  13.4M|#define Py_INT_TAG 3
  ------------------
  442|  13.4M|}
gc.c:PyStackRef_RefcountOnObject:
  534|  3.23M|{
  535|  3.23M|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  3.23M|#define Py_TAG_REFCNT 1
  ------------------
  536|  3.23M|}
gc.c:PyStackRef_AsPyObjectBorrow:
  540|  6.46M|{
  541|  6.46M|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 6.46M, False: 0]
  ------------------
  542|  6.46M|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  6.46M|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  6.46M|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  6.46M|}
intrinsics.c:PyStackRef_AsPyObjectBorrow:
  540|  32.1k|{
  541|  32.1k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 32.1k, False: 0]
  ------------------
  542|  32.1k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  32.1k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  32.1k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  32.1k|}
intrinsics.c:PyStackRef_IsTaggedInt:
  440|  32.1k|{
  441|  32.1k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  32.1k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  32.1k|#define Py_INT_TAG 3
  ------------------
  442|  32.1k|}
pylifecycle.c:PyStackRef_FromPyObjectBorrow:
  627|     28|{
  628|     28|    assert(obj != NULL);
  ------------------
  |  Branch (628:5): [True: 28, False: 0]
  ------------------
  629|     28|    return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT};
  ------------------
  |  |   55|     28|#define Py_TAG_REFCNT 1
  ------------------
  630|     28|}
pystate.c:PyStackRef_AsPyObjectBorrow:
  540|  4.32M|{
  541|  4.32M|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 4.32M, False: 0]
  ------------------
  542|  4.32M|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  4.32M|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  4.32M|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  4.32M|}
pystate.c:PyStackRef_IsTaggedInt:
  440|  4.32M|{
  441|  4.32M|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  4.32M|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  4.32M|#define Py_INT_TAG 3
  ------------------
  442|  4.32M|}
specialize.c:PyStackRef_AsPyObjectBorrow:
  540|   342k|{
  541|   342k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 342k, False: 0]
  ------------------
  542|   342k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|   342k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|   342k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|   342k|}
specialize.c:PyStackRef_IsTaggedInt:
  440|   343k|{
  441|   343k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|   343k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|   343k|#define Py_INT_TAG 3
  ------------------
  442|   343k|}
specialize.c:PyStackRef_TYPE:
  748|    871|PyStackRef_TYPE(_PyStackRef stackref) {
  749|    871|    if (PyStackRef_IsTaggedInt(stackref)) {
  ------------------
  |  Branch (749:9): [True: 0, False: 871]
  ------------------
  750|      0|        return &PyLong_Type;
  751|      0|    }
  752|    871|    return Py_TYPE(PyStackRef_AsPyObjectBorrow(stackref));
  ------------------
  |  |  213|    871|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    871|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    871|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  753|    871|}
sysmodule.c:PyStackRef_AsPyObjectBorrow:
  540|     14|{
  541|     14|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 14, False: 0]
  ------------------
  542|     14|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|     14|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|     14|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|     14|}
sysmodule.c:PyStackRef_IsTaggedInt:
  440|     14|{
  441|     14|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|     14|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|     14|#define Py_INT_TAG 3
  ------------------
  442|     14|}
traceback.c:PyStackRef_AsPyObjectBorrow:
  540|  3.11M|{
  541|  3.11M|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 3.11M, False: 0]
  ------------------
  542|  3.11M|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  3.11M|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  3.11M|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  3.11M|}
traceback.c:PyStackRef_IsTaggedInt:
  440|  3.11M|{
  441|  3.11M|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  3.11M|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  3.11M|#define Py_INT_TAG 3
  ------------------
  442|  3.11M|}
genobject.c:PyStackRef_XCLOSE:
  722|  5.23M|{
  723|  5.23M|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 5.23M, False: 0]
  ------------------
  724|  5.23M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 5.23M, False: 0]
  ------------------
  725|  5.23M|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 5.23M, False: 0]
  ------------------
  726|  5.23M|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  454|  5.23M|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|  5.23M|    }
  728|  5.23M|}
genobject.c:PyStackRef_RefcountOnObject:
  534|  5.23M|{
  535|  5.23M|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  5.23M|#define Py_TAG_REFCNT 1
  ------------------
  536|  5.23M|}
genobject.c:_PyStackRef_FromPyObjectNew:
  595|  32.3k|{
  596|  32.3k|    assert(obj != NULL);
  ------------------
  |  Branch (596:5): [True: 32.3k, False: 0]
  ------------------
  597|       |#ifdef Py_GIL_DISABLED
  598|       |    if (_PyObject_HasDeferredRefcount(obj)) {
  599|       |        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  600|       |    }
  601|       |#else
  602|  32.3k|    if (_Py_IsImmortal(obj)) {
  ------------------
  |  |  137|  32.3k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  32.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 32.3k, False: 0]
  |  |  ------------------
  ------------------
  603|  32.3k|        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  ------------------
  |  |   55|  32.3k|#define Py_TAG_REFCNT 1
  ------------------
  604|  32.3k|    }
  605|      0|#endif
  606|      0|    _Py_INCREF_MORTAL(obj);
  607|      0|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  608|      0|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|      0|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  609|      0|    return ref;
  610|  32.3k|}
genobject.c:PyStackRef_IsTaggedInt:
  440|   164k|{
  441|   164k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|   164k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|   164k|#define Py_INT_TAG 3
  ------------------
  442|   164k|}
genobject.c:PyStackRef_AsPyObjectBorrow:
  540|   164k|{
  541|   164k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 164k, False: 0]
  ------------------
  542|   164k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|   164k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|   164k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|   164k|}
frameobject.c:PyStackRef_AsPyObjectBorrow:
  540|   802M|{
  541|   802M|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 802M, False: 0]
  ------------------
  542|   802M|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|   802M|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|   802M|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|   802M|}
frameobject.c:PyStackRef_IsTaggedInt:
  440|   802M|{
  441|   802M|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|   802M|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|   802M|#define Py_INT_TAG 3
  ------------------
  442|   802M|}
frameobject.c:PyStackRef_RefcountOnObject:
  534|  19.9M|{
  535|  19.9M|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  19.9M|#define Py_TAG_REFCNT 1
  ------------------
  536|  19.9M|}
frameobject.c:PyStackRef_XCLOSE:
  722|  19.9M|{
  723|  19.9M|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 19.9M, False: 0]
  ------------------
  724|  19.9M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 11.1M, False: 8.80M]
  ------------------
  725|  11.1M|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 11.1M, False: 0]
  ------------------
  726|  11.1M|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  454|  11.1M|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|  11.1M|    }
  728|  19.9M|}
lazyimportobject.c:PyStackRef_AsPyObjectBorrow:
  540|     26|{
  541|     26|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 26, False: 0]
  ------------------
  542|     26|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|     26|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|     26|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|     26|}
lazyimportobject.c:PyStackRef_IsTaggedInt:
  440|     26|{
  441|     26|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|     26|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|     26|#define Py_INT_TAG 3
  ------------------
  442|     26|}

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

dictobject.c:_PyTuple_Recycle:
   53|    472|{
   54|    472|    _PyTuple_RESET_HASH_CACHE(op);
  ------------------
  |  |   44|    472|    do {                                    \
  |  |   45|    472|        assert(op != NULL);                 \
  |  |   46|    944|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|    472|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    472|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   47|    944|    } while (0)
  |  |  ------------------
  |  |  |  Branch (47:14): [Folded, False: 472]
  |  |  ------------------
  ------------------
  |  Branch (54:5): [True: 472, False: 0]
  |  Branch (54:5): [True: 472, False: 0]
  ------------------
   55|    472|    if (!_PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|    472|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|    472|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (55:9): [True: 126, False: 346]
  ------------------
   56|    126|        _PyObject_GC_TRACK(op);
  ------------------
  |  |  507|    126|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    126|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    126|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   57|    126|    }
   58|    472|}
bltinmodule.c:_PyTuple_Recycle:
   53|     68|{
   54|     68|    _PyTuple_RESET_HASH_CACHE(op);
  ------------------
  |  |   44|     68|    do {                                    \
  |  |   45|     68|        assert(op != NULL);                 \
  |  |   46|    136|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|     68|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   47|    136|    } while (0)
  |  |  ------------------
  |  |  |  Branch (47:14): [Folded, False: 68]
  |  |  ------------------
  ------------------
  |  Branch (54:5): [True: 68, False: 0]
  |  Branch (54:5): [True: 68, False: 0]
  ------------------
   55|     68|    if (!_PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|     68|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (55:9): [True: 0, False: 68]
  ------------------
   56|      0|        _PyObject_GC_TRACK(op);
  ------------------
  |  |  507|      0|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   57|      0|    }
   58|     68|}
enumobject.c:_PyTuple_Recycle:
   53|  5.71M|{
   54|  5.71M|    _PyTuple_RESET_HASH_CACHE(op);
  ------------------
  |  |   44|  5.71M|    do {                                    \
  |  |   45|  5.71M|        assert(op != NULL);                 \
  |  |   46|  11.4M|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|  5.71M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.71M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   47|  11.4M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (47:14): [Folded, False: 5.71M]
  |  |  ------------------
  ------------------
  |  Branch (54:5): [True: 5.71M, False: 0]
  |  Branch (54:5): [True: 5.71M, False: 0]
  ------------------
   55|  5.71M|    if (!_PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|  5.71M|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  5.71M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (55:9): [True: 1.70M, False: 4.00M]
  ------------------
   56|  1.70M|        _PyObject_GC_TRACK(op);
  ------------------
  |  |  507|  1.70M|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.70M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.70M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   57|  1.70M|    }
   58|  5.71M|}

object.c:_PyType_IsReady:
  110|  49.0M|{
  111|       |    return _PyType_GetDict(type) != NULL;
  112|  49.0M|}
typeobject.c:_PyType_IsReady:
  110|  1.80M|{
  111|       |    return _PyType_GetDict(type) != NULL;
  112|  1.80M|}
weakrefobject.c:_PyStaticType_GET_WEAKREFS_LISTPTR:
   49|    592|{
   50|    592|    assert(state != NULL);
  ------------------
  |  Branch (50:5): [True: 592, False: 0]
  ------------------
   51|    592|    return &state->tp_weaklist;
   52|    592|}
modsupport.c:_PyType_IsReady:
  110|     76|{
  111|       |    return _PyType_GetDict(type) != NULL;
  112|     76|}
specialize.c:_PyType_IsReady:
  110|  3.98k|{
  111|       |    return _PyType_GetDict(type) != NULL;
  112|  3.98k|}
_collectionsmodule.c:_PyType_GetModuleState:
   81|     12|{
   82|     12|    assert(PyType_Check(type));
  ------------------
  |  Branch (82:5): [True: 12, False: 0]
  ------------------
   83|     12|    assert(type->tp_flags & Py_TPFLAGS_HEAPTYPE);
  ------------------
  |  Branch (83:5): [True: 12, False: 0]
  ------------------
   84|     12|    PyHeapTypeObject *et = (PyHeapTypeObject *)type;
   85|     12|    assert(et->ht_module);
  ------------------
  |  Branch (85:5): [True: 12, False: 0]
  ------------------
   86|     12|    PyModuleObject *mod = (PyModuleObject *)(et->ht_module);
   87|     12|    assert(mod != NULL);
  ------------------
  |  Branch (87:5): [True: 12, False: 0]
  ------------------
   88|     12|    return mod->md_state;
   89|     12|}
fileio.c:_PyType_GetModuleState:
   81|     27|{
   82|     27|    assert(PyType_Check(type));
  ------------------
  |  Branch (82:5): [True: 27, False: 0]
  ------------------
   83|     27|    assert(type->tp_flags & Py_TPFLAGS_HEAPTYPE);
  ------------------
  |  Branch (83:5): [True: 27, False: 0]
  ------------------
   84|     27|    PyHeapTypeObject *et = (PyHeapTypeObject *)type;
   85|     27|    assert(et->ht_module);
  ------------------
  |  Branch (85:5): [True: 27, False: 0]
  ------------------
   86|     27|    PyModuleObject *mod = (PyModuleObject *)(et->ht_module);
   87|     27|    assert(mod != NULL);
  ------------------
  |  Branch (87:5): [True: 27, False: 0]
  ------------------
   88|     27|    return mod->md_state;
   89|     27|}
_abc.c:_PyType_GetModuleState:
   81|     76|{
   82|     76|    assert(PyType_Check(type));
  ------------------
  |  Branch (82:5): [True: 76, False: 0]
  ------------------
   83|     76|    assert(type->tp_flags & Py_TPFLAGS_HEAPTYPE);
  ------------------
  |  Branch (83:5): [True: 76, False: 0]
  ------------------
   84|     76|    PyHeapTypeObject *et = (PyHeapTypeObject *)type;
   85|     76|    assert(et->ht_module);
  ------------------
  |  Branch (85:5): [True: 76, False: 0]
  ------------------
   86|     76|    PyModuleObject *mod = (PyModuleObject *)(et->ht_module);
   87|     76|    assert(mod != NULL);
  ------------------
  |  Branch (87:5): [True: 76, False: 0]
  ------------------
   88|     76|    return mod->md_state;
   89|     76|}

unicode_format.c:_PyUnicode_EnsureUnicode:
   99|  1.34M|{
  100|  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 (100:9): [True: 0, False: 1.34M]
  ------------------
  101|      0|        PyErr_Format(PyExc_TypeError,
  102|      0|                     "must be str, not %T", obj);
  103|      0|        return -1;
  104|      0|    }
  105|  1.34M|    return 0;
  106|  1.34M|}
unicodeobject.c:_PyUnicodeWriter_WriteCharInline:
  110|     14|{
  111|     14|    assert(ch <= _Py_MAX_UNICODE);
  ------------------
  |  Branch (111:5): [True: 14, False: 0]
  ------------------
  112|     14|    if (_PyUnicodeWriter_Prepare(writer, 1, ch) < 0)
  ------------------
  |  |  562|     14|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 8, False: 6]
  |  |  ------------------
  |  |  563|     14|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 0, False: 8]
  |  |  ------------------
  |  |  564|     14|     ? 0                                                              \
  |  |  565|     14|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [Folded, False: 14]
  |  |  ------------------
  |  |  566|     14|        ? 0                                                           \
  |  |  567|     14|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (112:9): [True: 0, False: 14]
  ------------------
  113|      0|        return -1;
  114|     14|    PyUnicode_WRITE(writer->kind, writer->data, writer->pos, ch);
  ------------------
  |  |  335|     14|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|     14|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|     14|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|     14|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  115|     14|    writer->pos++;
  116|     14|    return 0;
  117|     14|}
unicodeobject.c:_PyUnicode_EnsureUnicode:
   99|   114M|{
  100|   114M|    if (!PyUnicode_Check(obj)) {
  ------------------
  |  |  103|   114M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   114M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (100:9): [True: 0, False: 114M]
  ------------------
  101|      0|        PyErr_Format(PyExc_TypeError,
  102|      0|                     "must be str, not %T", obj);
  103|      0|        return -1;
  104|      0|    }
  105|   114M|    return 0;
  106|   114M|}

unicodeobject.c:_PyUnicode_InitStaticStrings:
   13|      2|_PyUnicode_InitStaticStrings(PyInterpreterState *interp) {
   14|      2|    PyObject *string;
   15|      2|    string = &_Py_ID(AGEN_CLOSED);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (17:5): [True: 2, False: 0]
  ------------------
   18|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (18:5): [True: 2, False: 0]
  ------------------
   19|      2|    string = &_Py_ID(AGEN_CREATED);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (21:5): [True: 2, False: 0]
  ------------------
   22|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (22:5): [True: 2, False: 0]
  ------------------
   23|      2|    string = &_Py_ID(AGEN_RUNNING);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (25:5): [True: 2, False: 0]
  ------------------
   26|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (26:5): [True: 2, False: 0]
  ------------------
   27|      2|    string = &_Py_ID(AGEN_SUSPENDED);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (29:5): [True: 2, False: 0]
  ------------------
   30|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (30:5): [True: 2, False: 0]
  ------------------
   31|      2|    string = &_Py_ID(CANCELLED);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (33:5): [True: 2, False: 0]
  ------------------
   34|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (34:5): [True: 2, False: 0]
  ------------------
   35|      2|    string = &_Py_ID(CORO_CLOSED);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (37:5): [True: 2, False: 0]
  ------------------
   38|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (38:5): [True: 2, False: 0]
  ------------------
   39|      2|    string = &_Py_ID(CORO_CREATED);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (41:5): [True: 2, False: 0]
  ------------------
   42|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (42:5): [True: 2, False: 0]
  ------------------
   43|      2|    string = &_Py_ID(CORO_RUNNING);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (45:5): [True: 2, False: 0]
  ------------------
   46|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (46:5): [True: 2, False: 0]
  ------------------
   47|      2|    string = &_Py_ID(CORO_SUSPENDED);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (49:5): [True: 2, False: 0]
  ------------------
   50|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (50:5): [True: 2, False: 0]
  ------------------
   51|      2|    string = &_Py_ID(Emax);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (53:5): [True: 2, False: 0]
  ------------------
   54|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (54:5): [True: 2, False: 0]
  ------------------
   55|      2|    string = &_Py_ID(Emin);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (57:5): [True: 2, False: 0]
  ------------------
   58|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (58:5): [True: 2, False: 0]
  ------------------
   59|      2|    string = &_Py_ID(FINISHED);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (61:5): [True: 2, False: 0]
  ------------------
   62|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (62:5): [True: 2, False: 0]
  ------------------
   63|      2|    string = &_Py_ID(False);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (65:5): [True: 2, False: 0]
  ------------------
   66|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (66:5): [True: 2, False: 0]
  ------------------
   67|      2|    string = &_Py_ID(GEN_CLOSED);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (69:5): [True: 2, False: 0]
  ------------------
   70|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (70:5): [True: 2, False: 0]
  ------------------
   71|      2|    string = &_Py_ID(GEN_CREATED);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (73:5): [True: 2, False: 0]
  ------------------
   74|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (74:5): [True: 2, False: 0]
  ------------------
   75|      2|    string = &_Py_ID(GEN_RUNNING);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (77:5): [True: 2, False: 0]
  ------------------
   78|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (78:5): [True: 2, False: 0]
  ------------------
   79|      2|    string = &_Py_ID(GEN_SUSPENDED);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (81:5): [True: 2, False: 0]
  ------------------
   82|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (82:5): [True: 2, False: 0]
  ------------------
   83|      2|    string = &_Py_ID(JSONDecodeError);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (85:5): [True: 2, False: 0]
  ------------------
   86|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (86:5): [True: 2, False: 0]
  ------------------
   87|      2|    string = &_Py_ID(PENDING);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (89:5): [True: 2, False: 0]
  ------------------
   90|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (90:5): [True: 2, False: 0]
  ------------------
   91|      2|    string = &_Py_ID(Py_Repr);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (93:5): [True: 2, False: 0]
  ------------------
   94|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (94:5): [True: 2, False: 0]
  ------------------
   95|      2|    string = &_Py_ID(TextIOWrapper);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (97:5): [True: 2, False: 0]
  ------------------
   98|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (98:5): [True: 2, False: 0]
  ------------------
   99|      2|    string = &_Py_ID(True);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (101:5): [True: 2, False: 0]
  ------------------
  102|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (102:5): [True: 2, False: 0]
  ------------------
  103|      2|    string = &_Py_ID(WarningMessage);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (105:5): [True: 2, False: 0]
  ------------------
  106|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (106:5): [True: 2, False: 0]
  ------------------
  107|      2|    string = &_Py_ID(_WindowsConsoleIO);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (109:5): [True: 2, False: 0]
  ------------------
  110|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (110:5): [True: 2, False: 0]
  ------------------
  111|      2|    string = &_Py_ID(__IOBase_closed);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (113:5): [True: 2, False: 0]
  ------------------
  114|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (114:5): [True: 2, False: 0]
  ------------------
  115|      2|    string = &_Py_ID(__abc_tpflags__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (117:5): [True: 2, False: 0]
  ------------------
  118|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (118:5): [True: 2, False: 0]
  ------------------
  119|      2|    string = &_Py_ID(__abs__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (121:5): [True: 2, False: 0]
  ------------------
  122|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (122:5): [True: 2, False: 0]
  ------------------
  123|      2|    string = &_Py_ID(__abstractmethods__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (125:5): [True: 2, False: 0]
  ------------------
  126|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (126:5): [True: 2, False: 0]
  ------------------
  127|      2|    string = &_Py_ID(__add__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (129:5): [True: 2, False: 0]
  ------------------
  130|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (130:5): [True: 2, False: 0]
  ------------------
  131|      2|    string = &_Py_ID(__aenter__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (133:5): [True: 2, False: 0]
  ------------------
  134|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (134:5): [True: 2, False: 0]
  ------------------
  135|      2|    string = &_Py_ID(__aexit__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (137:5): [True: 2, False: 0]
  ------------------
  138|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (138:5): [True: 2, False: 0]
  ------------------
  139|      2|    string = &_Py_ID(__aiter__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (141:5): [True: 2, False: 0]
  ------------------
  142|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (142:5): [True: 2, False: 0]
  ------------------
  143|      2|    string = &_Py_ID(__all__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (145:5): [True: 2, False: 0]
  ------------------
  146|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (146:5): [True: 2, False: 0]
  ------------------
  147|      2|    string = &_Py_ID(__and__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (149:5): [True: 2, False: 0]
  ------------------
  150|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (150:5): [True: 2, False: 0]
  ------------------
  151|      2|    string = &_Py_ID(__anext__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (153:5): [True: 2, False: 0]
  ------------------
  154|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (154:5): [True: 2, False: 0]
  ------------------
  155|      2|    string = &_Py_ID(__annotate__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (157:5): [True: 2, False: 0]
  ------------------
  158|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (158:5): [True: 2, False: 0]
  ------------------
  159|      2|    string = &_Py_ID(__annotate_func__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (161:5): [True: 2, False: 0]
  ------------------
  162|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (162:5): [True: 2, False: 0]
  ------------------
  163|      2|    string = &_Py_ID(__annotations__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (165:5): [True: 2, False: 0]
  ------------------
  166|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (166:5): [True: 2, False: 0]
  ------------------
  167|      2|    string = &_Py_ID(__annotations_cache__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (169:5): [True: 2, False: 0]
  ------------------
  170|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (170:5): [True: 2, False: 0]
  ------------------
  171|      2|    string = &_Py_ID(__args__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (173:5): [True: 2, False: 0]
  ------------------
  174|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (174:5): [True: 2, False: 0]
  ------------------
  175|      2|    string = &_Py_ID(__await__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (177:5): [True: 2, False: 0]
  ------------------
  178|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (178:5): [True: 2, False: 0]
  ------------------
  179|      2|    string = &_Py_ID(__bases__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (181:5): [True: 2, False: 0]
  ------------------
  182|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (182:5): [True: 2, False: 0]
  ------------------
  183|      2|    string = &_Py_ID(__bool__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (185:5): [True: 2, False: 0]
  ------------------
  186|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (186:5): [True: 2, False: 0]
  ------------------
  187|      2|    string = &_Py_ID(__buffer__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (189:5): [True: 2, False: 0]
  ------------------
  190|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (190:5): [True: 2, False: 0]
  ------------------
  191|      2|    string = &_Py_ID(__build_class__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (193:5): [True: 2, False: 0]
  ------------------
  194|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (194:5): [True: 2, False: 0]
  ------------------
  195|      2|    string = &_Py_ID(__builtins__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (197:5): [True: 2, False: 0]
  ------------------
  198|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (198:5): [True: 2, False: 0]
  ------------------
  199|      2|    string = &_Py_ID(__bytes__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (201:5): [True: 2, False: 0]
  ------------------
  202|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (202:5): [True: 2, False: 0]
  ------------------
  203|      2|    string = &_Py_ID(__call__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (205:5): [True: 2, False: 0]
  ------------------
  206|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (206:5): [True: 2, False: 0]
  ------------------
  207|      2|    string = &_Py_ID(__cantrace__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (209:5): [True: 2, False: 0]
  ------------------
  210|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (210:5): [True: 2, False: 0]
  ------------------
  211|      2|    string = &_Py_ID(__ceil__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (213:5): [True: 2, False: 0]
  ------------------
  214|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (214:5): [True: 2, False: 0]
  ------------------
  215|      2|    string = &_Py_ID(__class__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (217:5): [True: 2, False: 0]
  ------------------
  218|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (218:5): [True: 2, False: 0]
  ------------------
  219|      2|    string = &_Py_ID(__class_getitem__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (221:5): [True: 2, False: 0]
  ------------------
  222|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (222:5): [True: 2, False: 0]
  ------------------
  223|      2|    string = &_Py_ID(__classcell__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (225:5): [True: 2, False: 0]
  ------------------
  226|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (226:5): [True: 2, False: 0]
  ------------------
  227|      2|    string = &_Py_ID(__classdict__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (229:5): [True: 2, False: 0]
  ------------------
  230|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (230:5): [True: 2, False: 0]
  ------------------
  231|      2|    string = &_Py_ID(__classdictcell__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (233:5): [True: 2, False: 0]
  ------------------
  234|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (234:5): [True: 2, False: 0]
  ------------------
  235|      2|    string = &_Py_ID(__complex__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (237:5): [True: 2, False: 0]
  ------------------
  238|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (238:5): [True: 2, False: 0]
  ------------------
  239|      2|    string = &_Py_ID(__conditional_annotations__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (241:5): [True: 2, False: 0]
  ------------------
  242|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (242:5): [True: 2, False: 0]
  ------------------
  243|      2|    string = &_Py_ID(__contains__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (245:5): [True: 2, False: 0]
  ------------------
  246|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (246:5): [True: 2, False: 0]
  ------------------
  247|      2|    string = &_Py_ID(__ctypes_from_outparam__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (249:5): [True: 2, False: 0]
  ------------------
  250|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (250:5): [True: 2, False: 0]
  ------------------
  251|      2|    string = &_Py_ID(__del__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (253:5): [True: 2, False: 0]
  ------------------
  254|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (254:5): [True: 2, False: 0]
  ------------------
  255|      2|    string = &_Py_ID(__delattr__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (257:5): [True: 2, False: 0]
  ------------------
  258|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (258:5): [True: 2, False: 0]
  ------------------
  259|      2|    string = &_Py_ID(__delete__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (261:5): [True: 2, False: 0]
  ------------------
  262|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (262:5): [True: 2, False: 0]
  ------------------
  263|      2|    string = &_Py_ID(__delitem__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (265:5): [True: 2, False: 0]
  ------------------
  266|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (266:5): [True: 2, False: 0]
  ------------------
  267|      2|    string = &_Py_ID(__dict__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (269:5): [True: 2, False: 0]
  ------------------
  270|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (270:5): [True: 2, False: 0]
  ------------------
  271|      2|    string = &_Py_ID(__dictoffset__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (273:5): [True: 2, False: 0]
  ------------------
  274|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (274:5): [True: 2, False: 0]
  ------------------
  275|      2|    string = &_Py_ID(__dir__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (277:5): [True: 2, False: 0]
  ------------------
  278|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (278:5): [True: 2, False: 0]
  ------------------
  279|      2|    string = &_Py_ID(__divmod__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (281:5): [True: 2, False: 0]
  ------------------
  282|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (282:5): [True: 2, False: 0]
  ------------------
  283|      2|    string = &_Py_ID(__doc__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (285:5): [True: 2, False: 0]
  ------------------
  286|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (286:5): [True: 2, False: 0]
  ------------------
  287|      2|    string = &_Py_ID(__enter__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (289:5): [True: 2, False: 0]
  ------------------
  290|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (290:5): [True: 2, False: 0]
  ------------------
  291|      2|    string = &_Py_ID(__eq__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (293:5): [True: 2, False: 0]
  ------------------
  294|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (294:5): [True: 2, False: 0]
  ------------------
  295|      2|    string = &_Py_ID(__exit__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (297:5): [True: 2, False: 0]
  ------------------
  298|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (298:5): [True: 2, False: 0]
  ------------------
  299|      2|    string = &_Py_ID(__file__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (301:5): [True: 2, False: 0]
  ------------------
  302|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (302:5): [True: 2, False: 0]
  ------------------
  303|      2|    string = &_Py_ID(__firstlineno__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (305:5): [True: 2, False: 0]
  ------------------
  306|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (306:5): [True: 2, False: 0]
  ------------------
  307|      2|    string = &_Py_ID(__float__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (309:5): [True: 2, False: 0]
  ------------------
  310|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (310:5): [True: 2, False: 0]
  ------------------
  311|      2|    string = &_Py_ID(__floor__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (313:5): [True: 2, False: 0]
  ------------------
  314|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (314:5): [True: 2, False: 0]
  ------------------
  315|      2|    string = &_Py_ID(__floordiv__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (317:5): [True: 2, False: 0]
  ------------------
  318|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (318:5): [True: 2, False: 0]
  ------------------
  319|      2|    string = &_Py_ID(__format__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (321:5): [True: 2, False: 0]
  ------------------
  322|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (322:5): [True: 2, False: 0]
  ------------------
  323|      2|    string = &_Py_ID(__fspath__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (325:5): [True: 2, False: 0]
  ------------------
  326|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (326:5): [True: 2, False: 0]
  ------------------
  327|      2|    string = &_Py_ID(__ge__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (329:5): [True: 2, False: 0]
  ------------------
  330|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (330:5): [True: 2, False: 0]
  ------------------
  331|      2|    string = &_Py_ID(__get__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (333:5): [True: 2, False: 0]
  ------------------
  334|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (334:5): [True: 2, False: 0]
  ------------------
  335|      2|    string = &_Py_ID(__getattr__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (337:5): [True: 2, False: 0]
  ------------------
  338|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (338:5): [True: 2, False: 0]
  ------------------
  339|      2|    string = &_Py_ID(__getattribute__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (341:5): [True: 2, False: 0]
  ------------------
  342|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (342:5): [True: 2, False: 0]
  ------------------
  343|      2|    string = &_Py_ID(__getinitargs__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (345:5): [True: 2, False: 0]
  ------------------
  346|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (346:5): [True: 2, False: 0]
  ------------------
  347|      2|    string = &_Py_ID(__getitem__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (349:5): [True: 2, False: 0]
  ------------------
  350|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (350:5): [True: 2, False: 0]
  ------------------
  351|      2|    string = &_Py_ID(__getnewargs__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (353:5): [True: 2, False: 0]
  ------------------
  354|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (354:5): [True: 2, False: 0]
  ------------------
  355|      2|    string = &_Py_ID(__getnewargs_ex__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (357:5): [True: 2, False: 0]
  ------------------
  358|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (358:5): [True: 2, False: 0]
  ------------------
  359|      2|    string = &_Py_ID(__getstate__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (361:5): [True: 2, False: 0]
  ------------------
  362|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (362:5): [True: 2, False: 0]
  ------------------
  363|      2|    string = &_Py_ID(__gt__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (365:5): [True: 2, False: 0]
  ------------------
  366|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (366:5): [True: 2, False: 0]
  ------------------
  367|      2|    string = &_Py_ID(__hash__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (369:5): [True: 2, False: 0]
  ------------------
  370|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (370:5): [True: 2, False: 0]
  ------------------
  371|      2|    string = &_Py_ID(__iadd__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (373:5): [True: 2, False: 0]
  ------------------
  374|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (374:5): [True: 2, False: 0]
  ------------------
  375|      2|    string = &_Py_ID(__iand__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (377:5): [True: 2, False: 0]
  ------------------
  378|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (378:5): [True: 2, False: 0]
  ------------------
  379|      2|    string = &_Py_ID(__ifloordiv__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (381:5): [True: 2, False: 0]
  ------------------
  382|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (382:5): [True: 2, False: 0]
  ------------------
  383|      2|    string = &_Py_ID(__ilshift__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (385:5): [True: 2, False: 0]
  ------------------
  386|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (386:5): [True: 2, False: 0]
  ------------------
  387|      2|    string = &_Py_ID(__imatmul__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (389:5): [True: 2, False: 0]
  ------------------
  390|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (390:5): [True: 2, False: 0]
  ------------------
  391|      2|    string = &_Py_ID(__imod__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (393:5): [True: 2, False: 0]
  ------------------
  394|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (394:5): [True: 2, False: 0]
  ------------------
  395|      2|    string = &_Py_ID(__import__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (397:5): [True: 2, False: 0]
  ------------------
  398|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (398:5): [True: 2, False: 0]
  ------------------
  399|      2|    string = &_Py_ID(__imul__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (401:5): [True: 2, False: 0]
  ------------------
  402|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (402:5): [True: 2, False: 0]
  ------------------
  403|      2|    string = &_Py_ID(__index__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (405:5): [True: 2, False: 0]
  ------------------
  406|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (406:5): [True: 2, False: 0]
  ------------------
  407|      2|    string = &_Py_ID(__init__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (409:5): [True: 2, False: 0]
  ------------------
  410|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (410:5): [True: 2, False: 0]
  ------------------
  411|      2|    string = &_Py_ID(__init_subclass__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (413:5): [True: 2, False: 0]
  ------------------
  414|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (414:5): [True: 2, False: 0]
  ------------------
  415|      2|    string = &_Py_ID(__instancecheck__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (417:5): [True: 2, False: 0]
  ------------------
  418|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (418:5): [True: 2, False: 0]
  ------------------
  419|      2|    string = &_Py_ID(__int__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (421:5): [True: 2, False: 0]
  ------------------
  422|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (422:5): [True: 2, False: 0]
  ------------------
  423|      2|    string = &_Py_ID(__invert__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (425:5): [True: 2, False: 0]
  ------------------
  426|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (426:5): [True: 2, False: 0]
  ------------------
  427|      2|    string = &_Py_ID(__ior__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (429:5): [True: 2, False: 0]
  ------------------
  430|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (430:5): [True: 2, False: 0]
  ------------------
  431|      2|    string = &_Py_ID(__ipow__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (433:5): [True: 2, False: 0]
  ------------------
  434|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (434:5): [True: 2, False: 0]
  ------------------
  435|      2|    string = &_Py_ID(__irshift__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (437:5): [True: 2, False: 0]
  ------------------
  438|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (438:5): [True: 2, False: 0]
  ------------------
  439|      2|    string = &_Py_ID(__isabstractmethod__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (441:5): [True: 2, False: 0]
  ------------------
  442|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (442:5): [True: 2, False: 0]
  ------------------
  443|      2|    string = &_Py_ID(__isub__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (445:5): [True: 2, False: 0]
  ------------------
  446|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (446:5): [True: 2, False: 0]
  ------------------
  447|      2|    string = &_Py_ID(__iter__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (449:5): [True: 2, False: 0]
  ------------------
  450|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (450:5): [True: 2, False: 0]
  ------------------
  451|      2|    string = &_Py_ID(__itruediv__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (453:5): [True: 2, False: 0]
  ------------------
  454|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (454:5): [True: 2, False: 0]
  ------------------
  455|      2|    string = &_Py_ID(__ixor__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (457:5): [True: 2, False: 0]
  ------------------
  458|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (458:5): [True: 2, False: 0]
  ------------------
  459|      2|    string = &_Py_ID(__lazy_import__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (461:5): [True: 2, False: 0]
  ------------------
  462|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (462:5): [True: 2, False: 0]
  ------------------
  463|      2|    string = &_Py_ID(__lazy_modules__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (465:5): [True: 2, False: 0]
  ------------------
  466|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (466:5): [True: 2, False: 0]
  ------------------
  467|      2|    string = &_Py_ID(__le__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (469:5): [True: 2, False: 0]
  ------------------
  470|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (470:5): [True: 2, False: 0]
  ------------------
  471|      2|    string = &_Py_ID(__len__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (473:5): [True: 2, False: 0]
  ------------------
  474|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (474:5): [True: 2, False: 0]
  ------------------
  475|      2|    string = &_Py_ID(__length_hint__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (477:5): [True: 2, False: 0]
  ------------------
  478|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (478:5): [True: 2, False: 0]
  ------------------
  479|      2|    string = &_Py_ID(__lltrace__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (481:5): [True: 2, False: 0]
  ------------------
  482|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (482:5): [True: 2, False: 0]
  ------------------
  483|      2|    string = &_Py_ID(__loader__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (485:5): [True: 2, False: 0]
  ------------------
  486|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (486:5): [True: 2, False: 0]
  ------------------
  487|      2|    string = &_Py_ID(__lshift__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (489:5): [True: 2, False: 0]
  ------------------
  490|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (490:5): [True: 2, False: 0]
  ------------------
  491|      2|    string = &_Py_ID(__lt__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (493:5): [True: 2, False: 0]
  ------------------
  494|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (494:5): [True: 2, False: 0]
  ------------------
  495|      2|    string = &_Py_ID(__main__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (497:5): [True: 2, False: 0]
  ------------------
  498|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (498:5): [True: 2, False: 0]
  ------------------
  499|      2|    string = &_Py_ID(__match_args__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (501:5): [True: 2, False: 0]
  ------------------
  502|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (502:5): [True: 2, False: 0]
  ------------------
  503|      2|    string = &_Py_ID(__matmul__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (505:5): [True: 2, False: 0]
  ------------------
  506|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (506:5): [True: 2, False: 0]
  ------------------
  507|      2|    string = &_Py_ID(__missing__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (509:5): [True: 2, False: 0]
  ------------------
  510|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (510:5): [True: 2, False: 0]
  ------------------
  511|      2|    string = &_Py_ID(__mod__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (513:5): [True: 2, False: 0]
  ------------------
  514|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (514:5): [True: 2, False: 0]
  ------------------
  515|      2|    string = &_Py_ID(__module__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (517:5): [True: 2, False: 0]
  ------------------
  518|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (518:5): [True: 2, False: 0]
  ------------------
  519|      2|    string = &_Py_ID(__mro_entries__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (521:5): [True: 2, False: 0]
  ------------------
  522|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (522:5): [True: 2, False: 0]
  ------------------
  523|      2|    string = &_Py_ID(__mul__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (525:5): [True: 2, False: 0]
  ------------------
  526|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (526:5): [True: 2, False: 0]
  ------------------
  527|      2|    string = &_Py_ID(__name__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (529:5): [True: 2, False: 0]
  ------------------
  530|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (530:5): [True: 2, False: 0]
  ------------------
  531|      2|    string = &_Py_ID(__ne__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (533:5): [True: 2, False: 0]
  ------------------
  534|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (534:5): [True: 2, False: 0]
  ------------------
  535|      2|    string = &_Py_ID(__neg__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (537:5): [True: 2, False: 0]
  ------------------
  538|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (538:5): [True: 2, False: 0]
  ------------------
  539|      2|    string = &_Py_ID(__new__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (541:5): [True: 2, False: 0]
  ------------------
  542|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (542:5): [True: 2, False: 0]
  ------------------
  543|      2|    string = &_Py_ID(__newobj__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (545:5): [True: 2, False: 0]
  ------------------
  546|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (546:5): [True: 2, False: 0]
  ------------------
  547|      2|    string = &_Py_ID(__newobj_ex__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (549:5): [True: 2, False: 0]
  ------------------
  550|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (550:5): [True: 2, False: 0]
  ------------------
  551|      2|    string = &_Py_ID(__next__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (553:5): [True: 2, False: 0]
  ------------------
  554|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (554:5): [True: 2, False: 0]
  ------------------
  555|      2|    string = &_Py_ID(__notes__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (557:5): [True: 2, False: 0]
  ------------------
  558|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (558:5): [True: 2, False: 0]
  ------------------
  559|      2|    string = &_Py_ID(__or__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (561:5): [True: 2, False: 0]
  ------------------
  562|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (562:5): [True: 2, False: 0]
  ------------------
  563|      2|    string = &_Py_ID(__orig_class__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (565:5): [True: 2, False: 0]
  ------------------
  566|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (566:5): [True: 2, False: 0]
  ------------------
  567|      2|    string = &_Py_ID(__origin__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (569:5): [True: 2, False: 0]
  ------------------
  570|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (570:5): [True: 2, False: 0]
  ------------------
  571|      2|    string = &_Py_ID(__package__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (573:5): [True: 2, False: 0]
  ------------------
  574|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (574:5): [True: 2, False: 0]
  ------------------
  575|      2|    string = &_Py_ID(__parameters__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (577:5): [True: 2, False: 0]
  ------------------
  578|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (578:5): [True: 2, False: 0]
  ------------------
  579|      2|    string = &_Py_ID(__path__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (581:5): [True: 2, False: 0]
  ------------------
  582|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (582:5): [True: 2, False: 0]
  ------------------
  583|      2|    string = &_Py_ID(__pos__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (585:5): [True: 2, False: 0]
  ------------------
  586|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (586:5): [True: 2, False: 0]
  ------------------
  587|      2|    string = &_Py_ID(__pow__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (589:5): [True: 2, False: 0]
  ------------------
  590|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (590:5): [True: 2, False: 0]
  ------------------
  591|      2|    string = &_Py_ID(__prepare__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (593:5): [True: 2, False: 0]
  ------------------
  594|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (594:5): [True: 2, False: 0]
  ------------------
  595|      2|    string = &_Py_ID(__qualname__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (597:5): [True: 2, False: 0]
  ------------------
  598|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (598:5): [True: 2, False: 0]
  ------------------
  599|      2|    string = &_Py_ID(__radd__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (601:5): [True: 2, False: 0]
  ------------------
  602|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (602:5): [True: 2, False: 0]
  ------------------
  603|      2|    string = &_Py_ID(__rand__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (605:5): [True: 2, False: 0]
  ------------------
  606|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (606:5): [True: 2, False: 0]
  ------------------
  607|      2|    string = &_Py_ID(__rdivmod__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (609:5): [True: 2, False: 0]
  ------------------
  610|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (610:5): [True: 2, False: 0]
  ------------------
  611|      2|    string = &_Py_ID(__reduce__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (613:5): [True: 2, False: 0]
  ------------------
  614|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (614:5): [True: 2, False: 0]
  ------------------
  615|      2|    string = &_Py_ID(__reduce_ex__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (617:5): [True: 2, False: 0]
  ------------------
  618|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (618:5): [True: 2, False: 0]
  ------------------
  619|      2|    string = &_Py_ID(__release_buffer__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (621:5): [True: 2, False: 0]
  ------------------
  622|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (622:5): [True: 2, False: 0]
  ------------------
  623|      2|    string = &_Py_ID(__repr__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (625:5): [True: 2, False: 0]
  ------------------
  626|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (626:5): [True: 2, False: 0]
  ------------------
  627|      2|    string = &_Py_ID(__reversed__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (629:5): [True: 2, False: 0]
  ------------------
  630|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (630:5): [True: 2, False: 0]
  ------------------
  631|      2|    string = &_Py_ID(__rfloordiv__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (633:5): [True: 2, False: 0]
  ------------------
  634|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (634:5): [True: 2, False: 0]
  ------------------
  635|      2|    string = &_Py_ID(__rlshift__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (637:5): [True: 2, False: 0]
  ------------------
  638|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (638:5): [True: 2, False: 0]
  ------------------
  639|      2|    string = &_Py_ID(__rmatmul__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (641:5): [True: 2, False: 0]
  ------------------
  642|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (642:5): [True: 2, False: 0]
  ------------------
  643|      2|    string = &_Py_ID(__rmod__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (645:5): [True: 2, False: 0]
  ------------------
  646|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (646:5): [True: 2, False: 0]
  ------------------
  647|      2|    string = &_Py_ID(__rmul__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (649:5): [True: 2, False: 0]
  ------------------
  650|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (650:5): [True: 2, False: 0]
  ------------------
  651|      2|    string = &_Py_ID(__ror__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (653:5): [True: 2, False: 0]
  ------------------
  654|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (654:5): [True: 2, False: 0]
  ------------------
  655|      2|    string = &_Py_ID(__round__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (657:5): [True: 2, False: 0]
  ------------------
  658|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (658:5): [True: 2, False: 0]
  ------------------
  659|      2|    string = &_Py_ID(__rpow__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (661:5): [True: 2, False: 0]
  ------------------
  662|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (662:5): [True: 2, False: 0]
  ------------------
  663|      2|    string = &_Py_ID(__rrshift__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (665:5): [True: 2, False: 0]
  ------------------
  666|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (666:5): [True: 2, False: 0]
  ------------------
  667|      2|    string = &_Py_ID(__rshift__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (669:5): [True: 2, False: 0]
  ------------------
  670|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (670:5): [True: 2, False: 0]
  ------------------
  671|      2|    string = &_Py_ID(__rsub__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (673:5): [True: 2, False: 0]
  ------------------
  674|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (674:5): [True: 2, False: 0]
  ------------------
  675|      2|    string = &_Py_ID(__rtruediv__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (677:5): [True: 2, False: 0]
  ------------------
  678|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (678:5): [True: 2, False: 0]
  ------------------
  679|      2|    string = &_Py_ID(__rxor__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (681:5): [True: 2, False: 0]
  ------------------
  682|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (682:5): [True: 2, False: 0]
  ------------------
  683|      2|    string = &_Py_ID(__set__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (685:5): [True: 2, False: 0]
  ------------------
  686|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (686:5): [True: 2, False: 0]
  ------------------
  687|      2|    string = &_Py_ID(__set_name__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (689:5): [True: 2, False: 0]
  ------------------
  690|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (690:5): [True: 2, False: 0]
  ------------------
  691|      2|    string = &_Py_ID(__setattr__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (693:5): [True: 2, False: 0]
  ------------------
  694|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (694:5): [True: 2, False: 0]
  ------------------
  695|      2|    string = &_Py_ID(__setitem__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (697:5): [True: 2, False: 0]
  ------------------
  698|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (698:5): [True: 2, False: 0]
  ------------------
  699|      2|    string = &_Py_ID(__setstate__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (701:5): [True: 2, False: 0]
  ------------------
  702|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (702:5): [True: 2, False: 0]
  ------------------
  703|      2|    string = &_Py_ID(__sizeof__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (705:5): [True: 2, False: 0]
  ------------------
  706|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (706:5): [True: 2, False: 0]
  ------------------
  707|      2|    string = &_Py_ID(__slotnames__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (709:5): [True: 2, False: 0]
  ------------------
  710|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (710:5): [True: 2, False: 0]
  ------------------
  711|      2|    string = &_Py_ID(__slots__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (713:5): [True: 2, False: 0]
  ------------------
  714|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (714:5): [True: 2, False: 0]
  ------------------
  715|      2|    string = &_Py_ID(__spec__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (717:5): [True: 2, False: 0]
  ------------------
  718|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (718:5): [True: 2, False: 0]
  ------------------
  719|      2|    string = &_Py_ID(__static_attributes__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (721:5): [True: 2, False: 0]
  ------------------
  722|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (722:5): [True: 2, False: 0]
  ------------------
  723|      2|    string = &_Py_ID(__str__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (725:5): [True: 2, False: 0]
  ------------------
  726|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (726:5): [True: 2, False: 0]
  ------------------
  727|      2|    string = &_Py_ID(__sub__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (729:5): [True: 2, False: 0]
  ------------------
  730|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (730:5): [True: 2, False: 0]
  ------------------
  731|      2|    string = &_Py_ID(__subclasscheck__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (733:5): [True: 2, False: 0]
  ------------------
  734|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (734:5): [True: 2, False: 0]
  ------------------
  735|      2|    string = &_Py_ID(__subclasshook__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (737:5): [True: 2, False: 0]
  ------------------
  738|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (738:5): [True: 2, False: 0]
  ------------------
  739|      2|    string = &_Py_ID(__truediv__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (741:5): [True: 2, False: 0]
  ------------------
  742|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (742:5): [True: 2, False: 0]
  ------------------
  743|      2|    string = &_Py_ID(__trunc__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (745:5): [True: 2, False: 0]
  ------------------
  746|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (746:5): [True: 2, False: 0]
  ------------------
  747|      2|    string = &_Py_ID(__type_params__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (749:5): [True: 2, False: 0]
  ------------------
  750|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (750:5): [True: 2, False: 0]
  ------------------
  751|      2|    string = &_Py_ID(__typing_is_unpacked_typevartuple__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (753:5): [True: 2, False: 0]
  ------------------
  754|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (754:5): [True: 2, False: 0]
  ------------------
  755|      2|    string = &_Py_ID(__typing_prepare_subst__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (757:5): [True: 2, False: 0]
  ------------------
  758|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (758:5): [True: 2, False: 0]
  ------------------
  759|      2|    string = &_Py_ID(__typing_subst__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (761:5): [True: 2, False: 0]
  ------------------
  762|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (762:5): [True: 2, False: 0]
  ------------------
  763|      2|    string = &_Py_ID(__typing_unpacked_tuple_args__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (765:5): [True: 2, False: 0]
  ------------------
  766|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (766:5): [True: 2, False: 0]
  ------------------
  767|      2|    string = &_Py_ID(__warningregistry__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (769:5): [True: 2, False: 0]
  ------------------
  770|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (770:5): [True: 2, False: 0]
  ------------------
  771|      2|    string = &_Py_ID(__weaklistoffset__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (773:5): [True: 2, False: 0]
  ------------------
  774|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (774:5): [True: 2, False: 0]
  ------------------
  775|      2|    string = &_Py_ID(__weakref__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (777:5): [True: 2, False: 0]
  ------------------
  778|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (778:5): [True: 2, False: 0]
  ------------------
  779|      2|    string = &_Py_ID(__xor__);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (781:5): [True: 2, False: 0]
  ------------------
  782|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (782:5): [True: 2, False: 0]
  ------------------
  783|      2|    string = &_Py_ID(_abc_impl);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (785:5): [True: 2, False: 0]
  ------------------
  786|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (786:5): [True: 2, False: 0]
  ------------------
  787|      2|    string = &_Py_ID(_abstract_);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (789:5): [True: 2, False: 0]
  ------------------
  790|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (790:5): [True: 2, False: 0]
  ------------------
  791|      2|    string = &_Py_ID(_active);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (793:5): [True: 2, False: 0]
  ------------------
  794|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (794:5): [True: 2, False: 0]
  ------------------
  795|      2|    string = &_Py_ID(_anonymous_);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (797:5): [True: 2, False: 0]
  ------------------
  798|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (798:5): [True: 2, False: 0]
  ------------------
  799|      2|    string = &_Py_ID(_argtypes_);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (801:5): [True: 2, False: 0]
  ------------------
  802|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (802:5): [True: 2, False: 0]
  ------------------
  803|      2|    string = &_Py_ID(_as_parameter_);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (805:5): [True: 2, False: 0]
  ------------------
  806|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (806:5): [True: 2, False: 0]
  ------------------
  807|      2|    string = &_Py_ID(_asyncio_future_blocking);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (809:5): [True: 2, False: 0]
  ------------------
  810|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (810:5): [True: 2, False: 0]
  ------------------
  811|      2|    string = &_Py_ID(_blksize);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (813:5): [True: 2, False: 0]
  ------------------
  814|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (814:5): [True: 2, False: 0]
  ------------------
  815|      2|    string = &_Py_ID(_bootstrap);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (817:5): [True: 2, False: 0]
  ------------------
  818|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (818:5): [True: 2, False: 0]
  ------------------
  819|      2|    string = &_Py_ID(_check_retval_);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (821:5): [True: 2, False: 0]
  ------------------
  822|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (822:5): [True: 2, False: 0]
  ------------------
  823|      2|    string = &_Py_ID(_dealloc_warn);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (825:5): [True: 2, False: 0]
  ------------------
  826|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (826:5): [True: 2, False: 0]
  ------------------
  827|      2|    string = &_Py_ID(_feature_version);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (829:5): [True: 2, False: 0]
  ------------------
  830|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (830:5): [True: 2, False: 0]
  ------------------
  831|      2|    string = &_Py_ID(_field_types);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (833:5): [True: 2, False: 0]
  ------------------
  834|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (834:5): [True: 2, False: 0]
  ------------------
  835|      2|    string = &_Py_ID(_fields_);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (837:5): [True: 2, False: 0]
  ------------------
  838|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (838:5): [True: 2, False: 0]
  ------------------
  839|      2|    string = &_Py_ID(_filters);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (841:5): [True: 2, False: 0]
  ------------------
  842|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (842:5): [True: 2, False: 0]
  ------------------
  843|      2|    string = &_Py_ID(_finalizing);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (845:5): [True: 2, False: 0]
  ------------------
  846|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (846:5): [True: 2, False: 0]
  ------------------
  847|      2|    string = &_Py_ID(_find_and_load);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (849:5): [True: 2, False: 0]
  ------------------
  850|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (850:5): [True: 2, False: 0]
  ------------------
  851|      2|    string = &_Py_ID(_fix_up_module);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (853:5): [True: 2, False: 0]
  ------------------
  854|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (854:5): [True: 2, False: 0]
  ------------------
  855|      2|    string = &_Py_ID(_flags_);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (857:5): [True: 2, False: 0]
  ------------------
  858|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (858:5): [True: 2, False: 0]
  ------------------
  859|      2|    string = &_Py_ID(_get_sourcefile);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (861:5): [True: 2, False: 0]
  ------------------
  862|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (862:5): [True: 2, False: 0]
  ------------------
  863|      2|    string = &_Py_ID(_handle_fromlist);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (865:5): [True: 2, False: 0]
  ------------------
  866|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (866:5): [True: 2, False: 0]
  ------------------
  867|      2|    string = &_Py_ID(_initializing);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (869:5): [True: 2, False: 0]
  ------------------
  870|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (870:5): [True: 2, False: 0]
  ------------------
  871|      2|    string = &_Py_ID(_internal_use);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (873:5): [True: 2, False: 0]
  ------------------
  874|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (874:5): [True: 2, False: 0]
  ------------------
  875|      2|    string = &_Py_ID(_io);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (877:5): [True: 2, False: 0]
  ------------------
  878|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (878:5): [True: 2, False: 0]
  ------------------
  879|      2|    string = &_Py_ID(_is_text_encoding);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (881:5): [True: 2, False: 0]
  ------------------
  882|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (882:5): [True: 2, False: 0]
  ------------------
  883|      2|    string = &_Py_ID(_isatty_open_only);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (885:5): [True: 2, False: 0]
  ------------------
  886|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (886:5): [True: 2, False: 0]
  ------------------
  887|      2|    string = &_Py_ID(_length_);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (889:5): [True: 2, False: 0]
  ------------------
  890|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (890:5): [True: 2, False: 0]
  ------------------
  891|      2|    string = &_Py_ID(_limbo);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (893:5): [True: 2, False: 0]
  ------------------
  894|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (894:5): [True: 2, False: 0]
  ------------------
  895|      2|    string = &_Py_ID(_lock_unlock_module);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (897:5): [True: 2, False: 0]
  ------------------
  898|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (898:5): [True: 2, False: 0]
  ------------------
  899|      2|    string = &_Py_ID(_loop);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (901:5): [True: 2, False: 0]
  ------------------
  902|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (902:5): [True: 2, False: 0]
  ------------------
  903|      2|    string = &_Py_ID(_needs_com_addref_);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (905:5): [True: 2, False: 0]
  ------------------
  906|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (906:5): [True: 2, False: 0]
  ------------------
  907|      2|    string = &_Py_ID(_only_immortal);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (909:5): [True: 2, False: 0]
  ------------------
  910|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (910:5): [True: 2, False: 0]
  ------------------
  911|      2|    string = &_Py_ID(_restype_);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (913:5): [True: 2, False: 0]
  ------------------
  914|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (914:5): [True: 2, False: 0]
  ------------------
  915|      2|    string = &_Py_ID(_showwarnmsg);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (917:5): [True: 2, False: 0]
  ------------------
  918|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (918:5): [True: 2, False: 0]
  ------------------
  919|      2|    string = &_Py_ID(_shutdown);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (921:5): [True: 2, False: 0]
  ------------------
  922|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (922:5): [True: 2, False: 0]
  ------------------
  923|      2|    string = &_Py_ID(_slotnames);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (925:5): [True: 2, False: 0]
  ------------------
  926|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (926:5): [True: 2, False: 0]
  ------------------
  927|      2|    string = &_Py_ID(_strptime);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (929:5): [True: 2, False: 0]
  ------------------
  930|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (930:5): [True: 2, False: 0]
  ------------------
  931|      2|    string = &_Py_ID(_strptime_datetime_date);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (933:5): [True: 2, False: 0]
  ------------------
  934|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (934:5): [True: 2, False: 0]
  ------------------
  935|      2|    string = &_Py_ID(_strptime_datetime_datetime);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (937:5): [True: 2, False: 0]
  ------------------
  938|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (938:5): [True: 2, False: 0]
  ------------------
  939|      2|    string = &_Py_ID(_strptime_datetime_time);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (941:5): [True: 2, False: 0]
  ------------------
  942|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (942:5): [True: 2, False: 0]
  ------------------
  943|      2|    string = &_Py_ID(_type_);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (945:5): [True: 2, False: 0]
  ------------------
  946|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (946:5): [True: 2, False: 0]
  ------------------
  947|      2|    string = &_Py_ID(_uninitialized_submodules);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (949:5): [True: 2, False: 0]
  ------------------
  950|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (950:5): [True: 2, False: 0]
  ------------------
  951|      2|    string = &_Py_ID(_warn_unawaited_coroutine);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (953:5): [True: 2, False: 0]
  ------------------
  954|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (954:5): [True: 2, False: 0]
  ------------------
  955|      2|    string = &_Py_ID(_xoptions);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (957:5): [True: 2, False: 0]
  ------------------
  958|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (958:5): [True: 2, False: 0]
  ------------------
  959|      2|    string = &_Py_ID(abs_tol);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (961:5): [True: 2, False: 0]
  ------------------
  962|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (962:5): [True: 2, False: 0]
  ------------------
  963|      2|    string = &_Py_ID(access);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (965:5): [True: 2, False: 0]
  ------------------
  966|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (966:5): [True: 2, False: 0]
  ------------------
  967|      2|    string = &_Py_ID(aclose);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (969:5): [True: 2, False: 0]
  ------------------
  970|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (970:5): [True: 2, False: 0]
  ------------------
  971|      2|    string = &_Py_ID(add);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (973:5): [True: 2, False: 0]
  ------------------
  974|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (974:5): [True: 2, False: 0]
  ------------------
  975|      2|    string = &_Py_ID(add_done_callback);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (977:5): [True: 2, False: 0]
  ------------------
  978|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (978:5): [True: 2, False: 0]
  ------------------
  979|      2|    string = &_Py_ID(adobe);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (981:5): [True: 2, False: 0]
  ------------------
  982|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (982:5): [True: 2, False: 0]
  ------------------
  983|      2|    string = &_Py_ID(after_in_child);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (985:5): [True: 2, False: 0]
  ------------------
  986|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (986:5): [True: 2, False: 0]
  ------------------
  987|      2|    string = &_Py_ID(after_in_parent);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (989:5): [True: 2, False: 0]
  ------------------
  990|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (990:5): [True: 2, False: 0]
  ------------------
  991|      2|    string = &_Py_ID(alias);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (993:5): [True: 2, False: 0]
  ------------------
  994|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (994:5): [True: 2, False: 0]
  ------------------
  995|      2|    string = &_Py_ID(align);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (997:5): [True: 2, False: 0]
  ------------------
  998|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (998:5): [True: 2, False: 0]
  ------------------
  999|      2|    string = &_Py_ID(all);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1001:5): [True: 2, False: 0]
  ------------------
 1002|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1002:5): [True: 2, False: 0]
  ------------------
 1003|      2|    string = &_Py_ID(all_interpreters);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1005:5): [True: 2, False: 0]
  ------------------
 1006|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1006:5): [True: 2, False: 0]
  ------------------
 1007|      2|    string = &_Py_ID(all_threads);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1009:5): [True: 2, False: 0]
  ------------------
 1010|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1010:5): [True: 2, False: 0]
  ------------------
 1011|      2|    string = &_Py_ID(allow_code);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1013:5): [True: 2, False: 0]
  ------------------
 1014|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1014:5): [True: 2, False: 0]
  ------------------
 1015|      2|    string = &_Py_ID(alphabet);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1017:5): [True: 2, False: 0]
  ------------------
 1018|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1018:5): [True: 2, False: 0]
  ------------------
 1019|      2|    string = &_Py_ID(any);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1021:5): [True: 2, False: 0]
  ------------------
 1022|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1022:5): [True: 2, False: 0]
  ------------------
 1023|      2|    string = &_Py_ID(append);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1025:5): [True: 2, False: 0]
  ------------------
 1026|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1026:5): [True: 2, False: 0]
  ------------------
 1027|      2|    string = &_Py_ID(arg);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1029:5): [True: 2, False: 0]
  ------------------
 1030|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1030:5): [True: 2, False: 0]
  ------------------
 1031|      2|    string = &_Py_ID(argdefs);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1033:5): [True: 2, False: 0]
  ------------------
 1034|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1034:5): [True: 2, False: 0]
  ------------------
 1035|      2|    string = &_Py_ID(args);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1037:5): [True: 2, False: 0]
  ------------------
 1038|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1038:5): [True: 2, False: 0]
  ------------------
 1039|      2|    string = &_Py_ID(arguments);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1041:5): [True: 2, False: 0]
  ------------------
 1042|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1042:5): [True: 2, False: 0]
  ------------------
 1043|      2|    string = &_Py_ID(argv);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1045:5): [True: 2, False: 0]
  ------------------
 1046|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1046:5): [True: 2, False: 0]
  ------------------
 1047|      2|    string = &_Py_ID(as_integer_ratio);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1049:5): [True: 2, False: 0]
  ------------------
 1050|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1050:5): [True: 2, False: 0]
  ------------------
 1051|      2|    string = &_Py_ID(asend);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1053:5): [True: 2, False: 0]
  ------------------
 1054|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1054:5): [True: 2, False: 0]
  ------------------
 1055|      2|    string = &_Py_ID(ast);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1057:5): [True: 2, False: 0]
  ------------------
 1058|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1058:5): [True: 2, False: 0]
  ------------------
 1059|      2|    string = &_Py_ID(athrow);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1061:5): [True: 2, False: 0]
  ------------------
 1062|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1062:5): [True: 2, False: 0]
  ------------------
 1063|      2|    string = &_Py_ID(attr);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1065:5): [True: 2, False: 0]
  ------------------
 1066|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1066:5): [True: 2, False: 0]
  ------------------
 1067|      2|    string = &_Py_ID(attribute);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1069:5): [True: 2, False: 0]
  ------------------
 1070|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1070:5): [True: 2, False: 0]
  ------------------
 1071|      2|    string = &_Py_ID(autocommit);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1073:5): [True: 2, False: 0]
  ------------------
 1074|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1074:5): [True: 2, False: 0]
  ------------------
 1075|      2|    string = &_Py_ID(backtick);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1077:5): [True: 2, False: 0]
  ------------------
 1078|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1078:5): [True: 2, False: 0]
  ------------------
 1079|      2|    string = &_Py_ID(base);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1081:5): [True: 2, False: 0]
  ------------------
 1082|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1082:5): [True: 2, False: 0]
  ------------------
 1083|      2|    string = &_Py_ID(before);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1085:5): [True: 2, False: 0]
  ------------------
 1086|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1086:5): [True: 2, False: 0]
  ------------------
 1087|      2|    string = &_Py_ID(big);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1089:5): [True: 2, False: 0]
  ------------------
 1090|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1090:5): [True: 2, False: 0]
  ------------------
 1091|      2|    string = &_Py_ID(binary_form);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1093:5): [True: 2, False: 0]
  ------------------
 1094|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1094:5): [True: 2, False: 0]
  ------------------
 1095|      2|    string = &_Py_ID(bit_offset);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1097:5): [True: 2, False: 0]
  ------------------
 1098|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1098:5): [True: 2, False: 0]
  ------------------
 1099|      2|    string = &_Py_ID(bit_size);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1101:5): [True: 2, False: 0]
  ------------------
 1102|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1102:5): [True: 2, False: 0]
  ------------------
 1103|      2|    string = &_Py_ID(block);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1105:5): [True: 2, False: 0]
  ------------------
 1106|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1106:5): [True: 2, False: 0]
  ------------------
 1107|      2|    string = &_Py_ID(blocking);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1109:5): [True: 2, False: 0]
  ------------------
 1110|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1110:5): [True: 2, False: 0]
  ------------------
 1111|      2|    string = &_Py_ID(bound);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1113:5): [True: 2, False: 0]
  ------------------
 1114|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1114:5): [True: 2, False: 0]
  ------------------
 1115|      2|    string = &_Py_ID(buffer);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1117:5): [True: 2, False: 0]
  ------------------
 1118|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1118:5): [True: 2, False: 0]
  ------------------
 1119|      2|    string = &_Py_ID(buffer_callback);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1121:5): [True: 2, False: 0]
  ------------------
 1122|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1122:5): [True: 2, False: 0]
  ------------------
 1123|      2|    string = &_Py_ID(buffer_size);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1125:5): [True: 2, False: 0]
  ------------------
 1126|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1126:5): [True: 2, False: 0]
  ------------------
 1127|      2|    string = &_Py_ID(buffering);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1129:5): [True: 2, False: 0]
  ------------------
 1130|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1130:5): [True: 2, False: 0]
  ------------------
 1131|      2|    string = &_Py_ID(buffers);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1133:5): [True: 2, False: 0]
  ------------------
 1134|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1134:5): [True: 2, False: 0]
  ------------------
 1135|      2|    string = &_Py_ID(bufsize);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1137:5): [True: 2, False: 0]
  ------------------
 1138|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1138:5): [True: 2, False: 0]
  ------------------
 1139|      2|    string = &_Py_ID(builtins);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1141:5): [True: 2, False: 0]
  ------------------
 1142|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1142:5): [True: 2, False: 0]
  ------------------
 1143|      2|    string = &_Py_ID(byte_offset);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1145:5): [True: 2, False: 0]
  ------------------
 1146|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1146:5): [True: 2, False: 0]
  ------------------
 1147|      2|    string = &_Py_ID(byte_size);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1149:5): [True: 2, False: 0]
  ------------------
 1150|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1150:5): [True: 2, False: 0]
  ------------------
 1151|      2|    string = &_Py_ID(byteorder);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1153:5): [True: 2, False: 0]
  ------------------
 1154|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1154:5): [True: 2, False: 0]
  ------------------
 1155|      2|    string = &_Py_ID(bytes);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1157:5): [True: 2, False: 0]
  ------------------
 1158|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1158:5): [True: 2, False: 0]
  ------------------
 1159|      2|    string = &_Py_ID(bytes_per_sep);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1161:5): [True: 2, False: 0]
  ------------------
 1162|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1162:5): [True: 2, False: 0]
  ------------------
 1163|      2|    string = &_Py_ID(c_call);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1165:5): [True: 2, False: 0]
  ------------------
 1166|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1166:5): [True: 2, False: 0]
  ------------------
 1167|      2|    string = &_Py_ID(c_exception);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1169:5): [True: 2, False: 0]
  ------------------
 1170|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1170:5): [True: 2, False: 0]
  ------------------
 1171|      2|    string = &_Py_ID(c_parameter_type);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1173:5): [True: 2, False: 0]
  ------------------
 1174|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1174:5): [True: 2, False: 0]
  ------------------
 1175|      2|    string = &_Py_ID(c_return);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1177:5): [True: 2, False: 0]
  ------------------
 1178|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1178:5): [True: 2, False: 0]
  ------------------
 1179|      2|    string = &_Py_ID(c_stack);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1181:5): [True: 2, False: 0]
  ------------------
 1182|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1182:5): [True: 2, False: 0]
  ------------------
 1183|      2|    string = &_Py_ID(cache_frames);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1185:5): [True: 2, False: 0]
  ------------------
 1186|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1186:5): [True: 2, False: 0]
  ------------------
 1187|      2|    string = &_Py_ID(cached_datetime_module);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1189:5): [True: 2, False: 0]
  ------------------
 1190|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1190:5): [True: 2, False: 0]
  ------------------
 1191|      2|    string = &_Py_ID(cached_statements);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1193:5): [True: 2, False: 0]
  ------------------
 1194|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1194:5): [True: 2, False: 0]
  ------------------
 1195|      2|    string = &_Py_ID(cadata);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1197:5): [True: 2, False: 0]
  ------------------
 1198|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1198:5): [True: 2, False: 0]
  ------------------
 1199|      2|    string = &_Py_ID(cafile);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1201:5): [True: 2, False: 0]
  ------------------
 1202|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1202:5): [True: 2, False: 0]
  ------------------
 1203|      2|    string = &_Py_ID(call);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1205:5): [True: 2, False: 0]
  ------------------
 1206|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1206:5): [True: 2, False: 0]
  ------------------
 1207|      2|    string = &_Py_ID(call_exception_handler);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1209:5): [True: 2, False: 0]
  ------------------
 1210|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1210:5): [True: 2, False: 0]
  ------------------
 1211|      2|    string = &_Py_ID(call_soon);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1213:5): [True: 2, False: 0]
  ------------------
 1214|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1214:5): [True: 2, False: 0]
  ------------------
 1215|      2|    string = &_Py_ID(callable);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1217:5): [True: 2, False: 0]
  ------------------
 1218|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1218:5): [True: 2, False: 0]
  ------------------
 1219|      2|    string = &_Py_ID(callback);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1221:5): [True: 2, False: 0]
  ------------------
 1222|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1222:5): [True: 2, False: 0]
  ------------------
 1223|      2|    string = &_Py_ID(cancel);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1225:5): [True: 2, False: 0]
  ------------------
 1226|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1226:5): [True: 2, False: 0]
  ------------------
 1227|      2|    string = &_Py_ID(canonical);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1229:5): [True: 2, False: 0]
  ------------------
 1230|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1230:5): [True: 2, False: 0]
  ------------------
 1231|      2|    string = &_Py_ID(capath);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1233:5): [True: 2, False: 0]
  ------------------
 1234|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1234:5): [True: 2, False: 0]
  ------------------
 1235|      2|    string = &_Py_ID(capitals);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1237:5): [True: 2, False: 0]
  ------------------
 1238|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1238:5): [True: 2, False: 0]
  ------------------
 1239|      2|    string = &_Py_ID(category);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1241:5): [True: 2, False: 0]
  ------------------
 1242|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1242:5): [True: 2, False: 0]
  ------------------
 1243|      2|    string = &_Py_ID(cb_type);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1245:5): [True: 2, False: 0]
  ------------------
 1246|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1246:5): [True: 2, False: 0]
  ------------------
 1247|      2|    string = &_Py_ID(certfile);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1249:5): [True: 2, False: 0]
  ------------------
 1250|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1250:5): [True: 2, False: 0]
  ------------------
 1251|      2|    string = &_Py_ID(chain);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1253:5): [True: 2, False: 0]
  ------------------
 1254|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1254:5): [True: 2, False: 0]
  ------------------
 1255|      2|    string = &_Py_ID(check_same_thread);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1257:5): [True: 2, False: 0]
  ------------------
 1258|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1258:5): [True: 2, False: 0]
  ------------------
 1259|      2|    string = &_Py_ID(clamp);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1261:5): [True: 2, False: 0]
  ------------------
 1262|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1262:5): [True: 2, False: 0]
  ------------------
 1263|      2|    string = &_Py_ID(clear);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1265:5): [True: 2, False: 0]
  ------------------
 1266|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1266:5): [True: 2, False: 0]
  ------------------
 1267|      2|    string = &_Py_ID(close);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1269:5): [True: 2, False: 0]
  ------------------
 1270|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1270:5): [True: 2, False: 0]
  ------------------
 1271|      2|    string = &_Py_ID(closed);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1273:5): [True: 2, False: 0]
  ------------------
 1274|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1274:5): [True: 2, False: 0]
  ------------------
 1275|      2|    string = &_Py_ID(closefd);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1277:5): [True: 2, False: 0]
  ------------------
 1278|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1278:5): [True: 2, False: 0]
  ------------------
 1279|      2|    string = &_Py_ID(closure);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1281:5): [True: 2, False: 0]
  ------------------
 1282|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1282:5): [True: 2, False: 0]
  ------------------
 1283|      2|    string = &_Py_ID(co_argcount);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1285:5): [True: 2, False: 0]
  ------------------
 1286|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1286:5): [True: 2, False: 0]
  ------------------
 1287|      2|    string = &_Py_ID(co_cellvars);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1289:5): [True: 2, False: 0]
  ------------------
 1290|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1290:5): [True: 2, False: 0]
  ------------------
 1291|      2|    string = &_Py_ID(co_code);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1293:5): [True: 2, False: 0]
  ------------------
 1294|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1294:5): [True: 2, False: 0]
  ------------------
 1295|      2|    string = &_Py_ID(co_consts);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1297:5): [True: 2, False: 0]
  ------------------
 1298|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1298:5): [True: 2, False: 0]
  ------------------
 1299|      2|    string = &_Py_ID(co_exceptiontable);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1301:5): [True: 2, False: 0]
  ------------------
 1302|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1302:5): [True: 2, False: 0]
  ------------------
 1303|      2|    string = &_Py_ID(co_filename);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1305:5): [True: 2, False: 0]
  ------------------
 1306|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1306:5): [True: 2, False: 0]
  ------------------
 1307|      2|    string = &_Py_ID(co_firstlineno);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1309:5): [True: 2, False: 0]
  ------------------
 1310|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1310:5): [True: 2, False: 0]
  ------------------
 1311|      2|    string = &_Py_ID(co_flags);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1313:5): [True: 2, False: 0]
  ------------------
 1314|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1314:5): [True: 2, False: 0]
  ------------------
 1315|      2|    string = &_Py_ID(co_freevars);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1317:5): [True: 2, False: 0]
  ------------------
 1318|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1318:5): [True: 2, False: 0]
  ------------------
 1319|      2|    string = &_Py_ID(co_kwonlyargcount);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1321:5): [True: 2, False: 0]
  ------------------
 1322|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1322:5): [True: 2, False: 0]
  ------------------
 1323|      2|    string = &_Py_ID(co_linetable);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1325:5): [True: 2, False: 0]
  ------------------
 1326|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1326:5): [True: 2, False: 0]
  ------------------
 1327|      2|    string = &_Py_ID(co_name);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1329:5): [True: 2, False: 0]
  ------------------
 1330|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1330:5): [True: 2, False: 0]
  ------------------
 1331|      2|    string = &_Py_ID(co_names);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1333:5): [True: 2, False: 0]
  ------------------
 1334|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1334:5): [True: 2, False: 0]
  ------------------
 1335|      2|    string = &_Py_ID(co_nlocals);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1337:5): [True: 2, False: 0]
  ------------------
 1338|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1338:5): [True: 2, False: 0]
  ------------------
 1339|      2|    string = &_Py_ID(co_posonlyargcount);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1341:5): [True: 2, False: 0]
  ------------------
 1342|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1342:5): [True: 2, False: 0]
  ------------------
 1343|      2|    string = &_Py_ID(co_qualname);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1345:5): [True: 2, False: 0]
  ------------------
 1346|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1346:5): [True: 2, False: 0]
  ------------------
 1347|      2|    string = &_Py_ID(co_stacksize);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1349:5): [True: 2, False: 0]
  ------------------
 1350|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1350:5): [True: 2, False: 0]
  ------------------
 1351|      2|    string = &_Py_ID(co_varnames);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1353:5): [True: 2, False: 0]
  ------------------
 1354|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1354:5): [True: 2, False: 0]
  ------------------
 1355|      2|    string = &_Py_ID(code);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1357:5): [True: 2, False: 0]
  ------------------
 1358|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1358:5): [True: 2, False: 0]
  ------------------
 1359|      2|    string = &_Py_ID(col_offset);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1361:5): [True: 2, False: 0]
  ------------------
 1362|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1362:5): [True: 2, False: 0]
  ------------------
 1363|      2|    string = &_Py_ID(collector);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1365:5): [True: 2, False: 0]
  ------------------
 1366|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1366:5): [True: 2, False: 0]
  ------------------
 1367|      2|    string = &_Py_ID(command);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1369:5): [True: 2, False: 0]
  ------------------
 1370|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1370:5): [True: 2, False: 0]
  ------------------
 1371|      2|    string = &_Py_ID(comment_factory);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1373:5): [True: 2, False: 0]
  ------------------
 1374|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1374:5): [True: 2, False: 0]
  ------------------
 1375|      2|    string = &_Py_ID(compile_mode);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1377:5): [True: 2, False: 0]
  ------------------
 1378|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1378:5): [True: 2, False: 0]
  ------------------
 1379|      2|    string = &_Py_ID(compression);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1381:5): [True: 2, False: 0]
  ------------------
 1382|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1382:5): [True: 2, False: 0]
  ------------------
 1383|      2|    string = &_Py_ID(config);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1385:5): [True: 2, False: 0]
  ------------------
 1386|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1386:5): [True: 2, False: 0]
  ------------------
 1387|      2|    string = &_Py_ID(consts);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1389:5): [True: 2, False: 0]
  ------------------
 1390|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1390:5): [True: 2, False: 0]
  ------------------
 1391|      2|    string = &_Py_ID(context);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1393:5): [True: 2, False: 0]
  ------------------
 1394|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1394:5): [True: 2, False: 0]
  ------------------
 1395|      2|    string = &_Py_ID(contravariant);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1397:5): [True: 2, False: 0]
  ------------------
 1398|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1398:5): [True: 2, False: 0]
  ------------------
 1399|      2|    string = &_Py_ID(conversion);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1401:5): [True: 2, False: 0]
  ------------------
 1402|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1402:5): [True: 2, False: 0]
  ------------------
 1403|      2|    string = &_Py_ID(cookie);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1405:5): [True: 2, False: 0]
  ------------------
 1406|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1406:5): [True: 2, False: 0]
  ------------------
 1407|      2|    string = &_Py_ID(copy);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1409:5): [True: 2, False: 0]
  ------------------
 1410|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1410:5): [True: 2, False: 0]
  ------------------
 1411|      2|    string = &_Py_ID(copyreg);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1413:5): [True: 2, False: 0]
  ------------------
 1414|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1414:5): [True: 2, False: 0]
  ------------------
 1415|      2|    string = &_Py_ID(coro);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1417:5): [True: 2, False: 0]
  ------------------
 1418|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1418:5): [True: 2, False: 0]
  ------------------
 1419|      2|    string = &_Py_ID(count);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1421:5): [True: 2, False: 0]
  ------------------
 1422|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1422:5): [True: 2, False: 0]
  ------------------
 1423|      2|    string = &_Py_ID(covariant);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1425:5): [True: 2, False: 0]
  ------------------
 1426|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1426:5): [True: 2, False: 0]
  ------------------
 1427|      2|    string = &_Py_ID(ctx);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1429:5): [True: 2, False: 0]
  ------------------
 1430|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1430:5): [True: 2, False: 0]
  ------------------
 1431|      2|    string = &_Py_ID(cwd);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1433:5): [True: 2, False: 0]
  ------------------
 1434|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1434:5): [True: 2, False: 0]
  ------------------
 1435|      2|    string = &_Py_ID(d_parameter_type);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1437:5): [True: 2, False: 0]
  ------------------
 1438|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1438:5): [True: 2, False: 0]
  ------------------
 1439|      2|    string = &_Py_ID(data);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1441:5): [True: 2, False: 0]
  ------------------
 1442|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1442:5): [True: 2, False: 0]
  ------------------
 1443|      2|    string = &_Py_ID(database);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1445:5): [True: 2, False: 0]
  ------------------
 1446|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1446:5): [True: 2, False: 0]
  ------------------
 1447|      2|    string = &_Py_ID(date);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1449:5): [True: 2, False: 0]
  ------------------
 1450|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1450:5): [True: 2, False: 0]
  ------------------
 1451|      2|    string = &_Py_ID(day);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1453:5): [True: 2, False: 0]
  ------------------
 1454|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1454:5): [True: 2, False: 0]
  ------------------
 1455|      2|    string = &_Py_ID(days);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1457:5): [True: 2, False: 0]
  ------------------
 1458|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1458:5): [True: 2, False: 0]
  ------------------
 1459|      2|    string = &_Py_ID(debug);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1461:5): [True: 2, False: 0]
  ------------------
 1462|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1462:5): [True: 2, False: 0]
  ------------------
 1463|      2|    string = &_Py_ID(decode);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1465:5): [True: 2, False: 0]
  ------------------
 1466|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1466:5): [True: 2, False: 0]
  ------------------
 1467|      2|    string = &_Py_ID(decoder);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1469:5): [True: 2, False: 0]
  ------------------
 1470|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1470:5): [True: 2, False: 0]
  ------------------
 1471|      2|    string = &_Py_ID(default);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1473:5): [True: 2, False: 0]
  ------------------
 1474|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1474:5): [True: 2, False: 0]
  ------------------
 1475|      2|    string = &_Py_ID(defaultaction);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1477:5): [True: 2, False: 0]
  ------------------
 1478|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1478:5): [True: 2, False: 0]
  ------------------
 1479|      2|    string = &_Py_ID(delete);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1481:5): [True: 2, False: 0]
  ------------------
 1482|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1482:5): [True: 2, False: 0]
  ------------------
 1483|      2|    string = &_Py_ID(depth);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1485:5): [True: 2, False: 0]
  ------------------
 1486|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1486:5): [True: 2, False: 0]
  ------------------
 1487|      2|    string = &_Py_ID(desired_access);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1489:5): [True: 2, False: 0]
  ------------------
 1490|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1490:5): [True: 2, False: 0]
  ------------------
 1491|      2|    string = &_Py_ID(detect_types);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1493:5): [True: 2, False: 0]
  ------------------
 1494|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1494:5): [True: 2, False: 0]
  ------------------
 1495|      2|    string = &_Py_ID(deterministic);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1497:5): [True: 2, False: 0]
  ------------------
 1498|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1498:5): [True: 2, False: 0]
  ------------------
 1499|      2|    string = &_Py_ID(device);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1501:5): [True: 2, False: 0]
  ------------------
 1502|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1502:5): [True: 2, False: 0]
  ------------------
 1503|      2|    string = &_Py_ID(dict);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1505:5): [True: 2, False: 0]
  ------------------
 1506|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1506:5): [True: 2, False: 0]
  ------------------
 1507|      2|    string = &_Py_ID(difference_update);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1509:5): [True: 2, False: 0]
  ------------------
 1510|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1510:5): [True: 2, False: 0]
  ------------------
 1511|      2|    string = &_Py_ID(digest);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1513:5): [True: 2, False: 0]
  ------------------
 1514|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1514:5): [True: 2, False: 0]
  ------------------
 1515|      2|    string = &_Py_ID(digest_size);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1517:5): [True: 2, False: 0]
  ------------------
 1518|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1518:5): [True: 2, False: 0]
  ------------------
 1519|      2|    string = &_Py_ID(digestmod);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1521:5): [True: 2, False: 0]
  ------------------
 1522|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1522:5): [True: 2, False: 0]
  ------------------
 1523|      2|    string = &_Py_ID(dir_fd);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1525:5): [True: 2, False: 0]
  ------------------
 1526|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1526:5): [True: 2, False: 0]
  ------------------
 1527|      2|    string = &_Py_ID(discard);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1529:5): [True: 2, False: 0]
  ------------------
 1530|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1530:5): [True: 2, False: 0]
  ------------------
 1531|      2|    string = &_Py_ID(dispatch_table);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1533:5): [True: 2, False: 0]
  ------------------
 1534|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1534:5): [True: 2, False: 0]
  ------------------
 1535|      2|    string = &_Py_ID(displayhook);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1537:5): [True: 2, False: 0]
  ------------------
 1538|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1538:5): [True: 2, False: 0]
  ------------------
 1539|      2|    string = &_Py_ID(dklen);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1541:5): [True: 2, False: 0]
  ------------------
 1542|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1542:5): [True: 2, False: 0]
  ------------------
 1543|      2|    string = &_Py_ID(doc);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1545:5): [True: 2, False: 0]
  ------------------
 1546|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1546:5): [True: 2, False: 0]
  ------------------
 1547|      2|    string = &_Py_ID(done);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1549:5): [True: 2, False: 0]
  ------------------
 1550|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1550:5): [True: 2, False: 0]
  ------------------
 1551|      2|    string = &_Py_ID(dont_inherit);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1553:5): [True: 2, False: 0]
  ------------------
 1554|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1554:5): [True: 2, False: 0]
  ------------------
 1555|      2|    string = &_Py_ID(dst);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1557:5): [True: 2, False: 0]
  ------------------
 1558|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1558:5): [True: 2, False: 0]
  ------------------
 1559|      2|    string = &_Py_ID(dst_dir_fd);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1561:5): [True: 2, False: 0]
  ------------------
 1562|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1562:5): [True: 2, False: 0]
  ------------------
 1563|      2|    string = &_Py_ID(eager_start);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1565:5): [True: 2, False: 0]
  ------------------
 1566|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1566:5): [True: 2, False: 0]
  ------------------
 1567|      2|    string = &_Py_ID(effective_ids);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1569:5): [True: 2, False: 0]
  ------------------
 1570|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1570:5): [True: 2, False: 0]
  ------------------
 1571|      2|    string = &_Py_ID(element_factory);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1573:5): [True: 2, False: 0]
  ------------------
 1574|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1574:5): [True: 2, False: 0]
  ------------------
 1575|      2|    string = &_Py_ID(emptyerror);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1577:5): [True: 2, False: 0]
  ------------------
 1578|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1578:5): [True: 2, False: 0]
  ------------------
 1579|      2|    string = &_Py_ID(encode);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1581:5): [True: 2, False: 0]
  ------------------
 1582|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1582:5): [True: 2, False: 0]
  ------------------
 1583|      2|    string = &_Py_ID(encoding);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1585:5): [True: 2, False: 0]
  ------------------
 1586|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1586:5): [True: 2, False: 0]
  ------------------
 1587|      2|    string = &_Py_ID(end);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1589:5): [True: 2, False: 0]
  ------------------
 1590|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1590:5): [True: 2, False: 0]
  ------------------
 1591|      2|    string = &_Py_ID(end_col_offset);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1593:5): [True: 2, False: 0]
  ------------------
 1594|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1594:5): [True: 2, False: 0]
  ------------------
 1595|      2|    string = &_Py_ID(end_lineno);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1597:5): [True: 2, False: 0]
  ------------------
 1598|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1598:5): [True: 2, False: 0]
  ------------------
 1599|      2|    string = &_Py_ID(end_offset);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1601:5): [True: 2, False: 0]
  ------------------
 1602|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1602:5): [True: 2, False: 0]
  ------------------
 1603|      2|    string = &_Py_ID(endpos);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1605:5): [True: 2, False: 0]
  ------------------
 1606|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1606:5): [True: 2, False: 0]
  ------------------
 1607|      2|    string = &_Py_ID(entrypoint);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1609:5): [True: 2, False: 0]
  ------------------
 1610|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1610:5): [True: 2, False: 0]
  ------------------
 1611|      2|    string = &_Py_ID(env);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1613:5): [True: 2, False: 0]
  ------------------
 1614|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1614:5): [True: 2, False: 0]
  ------------------
 1615|      2|    string = &_Py_ID(errors);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1617:5): [True: 2, False: 0]
  ------------------
 1618|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1618:5): [True: 2, False: 0]
  ------------------
 1619|      2|    string = &_Py_ID(event);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1621:5): [True: 2, False: 0]
  ------------------
 1622|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1622:5): [True: 2, False: 0]
  ------------------
 1623|      2|    string = &_Py_ID(eventmask);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1625:5): [True: 2, False: 0]
  ------------------
 1626|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1626:5): [True: 2, False: 0]
  ------------------
 1627|      2|    string = &_Py_ID(exc);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1629:5): [True: 2, False: 0]
  ------------------
 1630|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1630:5): [True: 2, False: 0]
  ------------------
 1631|      2|    string = &_Py_ID(exc_tb);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1633:5): [True: 2, False: 0]
  ------------------
 1634|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1634:5): [True: 2, False: 0]
  ------------------
 1635|      2|    string = &_Py_ID(exc_type);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1637:5): [True: 2, False: 0]
  ------------------
 1638|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1638:5): [True: 2, False: 0]
  ------------------
 1639|      2|    string = &_Py_ID(exc_val);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1641:5): [True: 2, False: 0]
  ------------------
 1642|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1642:5): [True: 2, False: 0]
  ------------------
 1643|      2|    string = &_Py_ID(exc_value);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1645:5): [True: 2, False: 0]
  ------------------
 1646|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1646:5): [True: 2, False: 0]
  ------------------
 1647|      2|    string = &_Py_ID(excepthook);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1649:5): [True: 2, False: 0]
  ------------------
 1650|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1650:5): [True: 2, False: 0]
  ------------------
 1651|      2|    string = &_Py_ID(exception);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1653:5): [True: 2, False: 0]
  ------------------
 1654|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1654:5): [True: 2, False: 0]
  ------------------
 1655|      2|    string = &_Py_ID(existing_file_name);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1657:5): [True: 2, False: 0]
  ------------------
 1658|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1658:5): [True: 2, False: 0]
  ------------------
 1659|      2|    string = &_Py_ID(exit);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1661:5): [True: 2, False: 0]
  ------------------
 1662|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1662:5): [True: 2, False: 0]
  ------------------
 1663|      2|    string = &_Py_ID(exp);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1665:5): [True: 2, False: 0]
  ------------------
 1666|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1666:5): [True: 2, False: 0]
  ------------------
 1667|      2|    string = &_Py_ID(expression);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1669:5): [True: 2, False: 0]
  ------------------
 1670|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1670:5): [True: 2, False: 0]
  ------------------
 1671|      2|    string = &_Py_ID(extend);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1673:5): [True: 2, False: 0]
  ------------------
 1674|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1674:5): [True: 2, False: 0]
  ------------------
 1675|      2|    string = &_Py_ID(extra_tokens);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1677:5): [True: 2, False: 0]
  ------------------
 1678|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1678:5): [True: 2, False: 0]
  ------------------
 1679|      2|    string = &_Py_ID(facility);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1681:5): [True: 2, False: 0]
  ------------------
 1682|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1682:5): [True: 2, False: 0]
  ------------------
 1683|      2|    string = &_Py_ID(factory);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1685:5): [True: 2, False: 0]
  ------------------
 1686|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1686:5): [True: 2, False: 0]
  ------------------
 1687|      2|    string = &_Py_ID(fallback);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1689:5): [True: 2, False: 0]
  ------------------
 1690|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1690:5): [True: 2, False: 0]
  ------------------
 1691|      2|    string = &_Py_ID(false);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1693:5): [True: 2, False: 0]
  ------------------
 1694|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1694:5): [True: 2, False: 0]
  ------------------
 1695|      2|    string = &_Py_ID(family);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1697:5): [True: 2, False: 0]
  ------------------
 1698|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1698:5): [True: 2, False: 0]
  ------------------
 1699|      2|    string = &_Py_ID(fanout);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1701:5): [True: 2, False: 0]
  ------------------
 1702|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1702:5): [True: 2, False: 0]
  ------------------
 1703|      2|    string = &_Py_ID(fd);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1705:5): [True: 2, False: 0]
  ------------------
 1706|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1706:5): [True: 2, False: 0]
  ------------------
 1707|      2|    string = &_Py_ID(fd2);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1709:5): [True: 2, False: 0]
  ------------------
 1710|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1710:5): [True: 2, False: 0]
  ------------------
 1711|      2|    string = &_Py_ID(fdel);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1713:5): [True: 2, False: 0]
  ------------------
 1714|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1714:5): [True: 2, False: 0]
  ------------------
 1715|      2|    string = &_Py_ID(fget);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1717:5): [True: 2, False: 0]
  ------------------
 1718|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1718:5): [True: 2, False: 0]
  ------------------
 1719|      2|    string = &_Py_ID(fields);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1721:5): [True: 2, False: 0]
  ------------------
 1722|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1722:5): [True: 2, False: 0]
  ------------------
 1723|      2|    string = &_Py_ID(file);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1725:5): [True: 2, False: 0]
  ------------------
 1726|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1726:5): [True: 2, False: 0]
  ------------------
 1727|      2|    string = &_Py_ID(file_actions);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1729:5): [True: 2, False: 0]
  ------------------
 1730|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1730:5): [True: 2, False: 0]
  ------------------
 1731|      2|    string = &_Py_ID(filename);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1733:5): [True: 2, False: 0]
  ------------------
 1734|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1734:5): [True: 2, False: 0]
  ------------------
 1735|      2|    string = &_Py_ID(fileno);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1737:5): [True: 2, False: 0]
  ------------------
 1738|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1738:5): [True: 2, False: 0]
  ------------------
 1739|      2|    string = &_Py_ID(filepath);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1741:5): [True: 2, False: 0]
  ------------------
 1742|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1742:5): [True: 2, False: 0]
  ------------------
 1743|      2|    string = &_Py_ID(fillvalue);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1745:5): [True: 2, False: 0]
  ------------------
 1746|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1746:5): [True: 2, False: 0]
  ------------------
 1747|      2|    string = &_Py_ID(filter);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1749:5): [True: 2, False: 0]
  ------------------
 1750|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1750:5): [True: 2, False: 0]
  ------------------
 1751|      2|    string = &_Py_ID(filters);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1753:5): [True: 2, False: 0]
  ------------------
 1754|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1754:5): [True: 2, False: 0]
  ------------------
 1755|      2|    string = &_Py_ID(final);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1757:5): [True: 2, False: 0]
  ------------------
 1758|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1758:5): [True: 2, False: 0]
  ------------------
 1759|      2|    string = &_Py_ID(find_class);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1761:5): [True: 2, False: 0]
  ------------------
 1762|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1762:5): [True: 2, False: 0]
  ------------------
 1763|      2|    string = &_Py_ID(fix_imports);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1765:5): [True: 2, False: 0]
  ------------------
 1766|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1766:5): [True: 2, False: 0]
  ------------------
 1767|      2|    string = &_Py_ID(flags);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1769:5): [True: 2, False: 0]
  ------------------
 1770|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1770:5): [True: 2, False: 0]
  ------------------
 1771|      2|    string = &_Py_ID(flush);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1773:5): [True: 2, False: 0]
  ------------------
 1774|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1774:5): [True: 2, False: 0]
  ------------------
 1775|      2|    string = &_Py_ID(fold);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1777:5): [True: 2, False: 0]
  ------------------
 1778|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1778:5): [True: 2, False: 0]
  ------------------
 1779|      2|    string = &_Py_ID(foldspaces);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1781:5): [True: 2, False: 0]
  ------------------
 1782|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1782:5): [True: 2, False: 0]
  ------------------
 1783|      2|    string = &_Py_ID(follow_symlinks);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1785:5): [True: 2, False: 0]
  ------------------
 1786|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1786:5): [True: 2, False: 0]
  ------------------
 1787|      2|    string = &_Py_ID(format);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1789:5): [True: 2, False: 0]
  ------------------
 1790|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1790:5): [True: 2, False: 0]
  ------------------
 1791|      2|    string = &_Py_ID(format_spec);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1793:5): [True: 2, False: 0]
  ------------------
 1794|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1794:5): [True: 2, False: 0]
  ------------------
 1795|      2|    string = &_Py_ID(frame_buffer);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1797:5): [True: 2, False: 0]
  ------------------
 1798|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1798:5): [True: 2, False: 0]
  ------------------
 1799|      2|    string = &_Py_ID(free_threaded);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1801:5): [True: 2, False: 0]
  ------------------
 1802|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1802:5): [True: 2, False: 0]
  ------------------
 1803|      2|    string = &_Py_ID(from_param);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1805:5): [True: 2, False: 0]
  ------------------
 1806|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1806:5): [True: 2, False: 0]
  ------------------
 1807|      2|    string = &_Py_ID(fromlist);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1809:5): [True: 2, False: 0]
  ------------------
 1810|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1810:5): [True: 2, False: 0]
  ------------------
 1811|      2|    string = &_Py_ID(fromtimestamp);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1813:5): [True: 2, False: 0]
  ------------------
 1814|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1814:5): [True: 2, False: 0]
  ------------------
 1815|      2|    string = &_Py_ID(fromutc);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1817:5): [True: 2, False: 0]
  ------------------
 1818|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1818:5): [True: 2, False: 0]
  ------------------
 1819|      2|    string = &_Py_ID(fset);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1821:5): [True: 2, False: 0]
  ------------------
 1822|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1822:5): [True: 2, False: 0]
  ------------------
 1823|      2|    string = &_Py_ID(fullerror);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1825:5): [True: 2, False: 0]
  ------------------
 1826|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1826:5): [True: 2, False: 0]
  ------------------
 1827|      2|    string = &_Py_ID(func);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1829:5): [True: 2, False: 0]
  ------------------
 1830|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1830:5): [True: 2, False: 0]
  ------------------
 1831|      2|    string = &_Py_ID(future);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1833:5): [True: 2, False: 0]
  ------------------
 1834|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1834:5): [True: 2, False: 0]
  ------------------
 1835|      2|    string = &_Py_ID(gc);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1837:5): [True: 2, False: 0]
  ------------------
 1838|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1838:5): [True: 2, False: 0]
  ------------------
 1839|      2|    string = &_Py_ID(generation);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1841:5): [True: 2, False: 0]
  ------------------
 1842|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1842:5): [True: 2, False: 0]
  ------------------
 1843|      2|    string = &_Py_ID(get);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1845:5): [True: 2, False: 0]
  ------------------
 1846|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1846:5): [True: 2, False: 0]
  ------------------
 1847|      2|    string = &_Py_ID(get_debug);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1849:5): [True: 2, False: 0]
  ------------------
 1850|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1850:5): [True: 2, False: 0]
  ------------------
 1851|      2|    string = &_Py_ID(get_loop);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1853:5): [True: 2, False: 0]
  ------------------
 1854|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1854:5): [True: 2, False: 0]
  ------------------
 1855|      2|    string = &_Py_ID(get_source);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1857:5): [True: 2, False: 0]
  ------------------
 1858|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1858:5): [True: 2, False: 0]
  ------------------
 1859|      2|    string = &_Py_ID(getattr);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1861:5): [True: 2, False: 0]
  ------------------
 1862|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1862:5): [True: 2, False: 0]
  ------------------
 1863|      2|    string = &_Py_ID(getstate);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1865:5): [True: 2, False: 0]
  ------------------
 1866|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1866:5): [True: 2, False: 0]
  ------------------
 1867|      2|    string = &_Py_ID(gid);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1869:5): [True: 2, False: 0]
  ------------------
 1870|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1870:5): [True: 2, False: 0]
  ------------------
 1871|      2|    string = &_Py_ID(globals);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1873:5): [True: 2, False: 0]
  ------------------
 1874|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1874:5): [True: 2, False: 0]
  ------------------
 1875|      2|    string = &_Py_ID(groupindex);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1877:5): [True: 2, False: 0]
  ------------------
 1878|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1878:5): [True: 2, False: 0]
  ------------------
 1879|      2|    string = &_Py_ID(groups);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1881:5): [True: 2, False: 0]
  ------------------
 1882|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1882:5): [True: 2, False: 0]
  ------------------
 1883|      2|    string = &_Py_ID(handle);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1885:5): [True: 2, False: 0]
  ------------------
 1886|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1886:5): [True: 2, False: 0]
  ------------------
 1887|      2|    string = &_Py_ID(handle_seq);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1889:5): [True: 2, False: 0]
  ------------------
 1890|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1890:5): [True: 2, False: 0]
  ------------------
 1891|      2|    string = &_Py_ID(has_location);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1893:5): [True: 2, False: 0]
  ------------------
 1894|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1894:5): [True: 2, False: 0]
  ------------------
 1895|      2|    string = &_Py_ID(hash_name);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1897:5): [True: 2, False: 0]
  ------------------
 1898|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1898:5): [True: 2, False: 0]
  ------------------
 1899|      2|    string = &_Py_ID(header);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1901:5): [True: 2, False: 0]
  ------------------
 1902|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1902:5): [True: 2, False: 0]
  ------------------
 1903|      2|    string = &_Py_ID(headers);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1905:5): [True: 2, False: 0]
  ------------------
 1906|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1906:5): [True: 2, False: 0]
  ------------------
 1907|      2|    string = &_Py_ID(hi);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1909:5): [True: 2, False: 0]
  ------------------
 1910|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1910:5): [True: 2, False: 0]
  ------------------
 1911|      2|    string = &_Py_ID(hook);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1913:5): [True: 2, False: 0]
  ------------------
 1914|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1914:5): [True: 2, False: 0]
  ------------------
 1915|      2|    string = &_Py_ID(hour);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1917:5): [True: 2, False: 0]
  ------------------
 1918|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1918:5): [True: 2, False: 0]
  ------------------
 1919|      2|    string = &_Py_ID(hours);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1921:5): [True: 2, False: 0]
  ------------------
 1922|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1922:5): [True: 2, False: 0]
  ------------------
 1923|      2|    string = &_Py_ID(id);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1925:5): [True: 2, False: 0]
  ------------------
 1926|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1926:5): [True: 2, False: 0]
  ------------------
 1927|      2|    string = &_Py_ID(ident);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1929:5): [True: 2, False: 0]
  ------------------
 1930|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1930:5): [True: 2, False: 0]
  ------------------
 1931|      2|    string = &_Py_ID(identity_hint);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1933:5): [True: 2, False: 0]
  ------------------
 1934|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1934:5): [True: 2, False: 0]
  ------------------
 1935|      2|    string = &_Py_ID(ignore);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1937:5): [True: 2, False: 0]
  ------------------
 1938|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1938:5): [True: 2, False: 0]
  ------------------
 1939|      2|    string = &_Py_ID(ignorechars);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1941:5): [True: 2, False: 0]
  ------------------
 1942|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1942:5): [True: 2, False: 0]
  ------------------
 1943|      2|    string = &_Py_ID(imag);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1945:5): [True: 2, False: 0]
  ------------------
 1946|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1946:5): [True: 2, False: 0]
  ------------------
 1947|      2|    string = &_Py_ID(implieslink);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1949:5): [True: 2, False: 0]
  ------------------
 1950|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1950:5): [True: 2, False: 0]
  ------------------
 1951|      2|    string = &_Py_ID(importlib);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1953:5): [True: 2, False: 0]
  ------------------
 1954|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1954:5): [True: 2, False: 0]
  ------------------
 1955|      2|    string = &_Py_ID(in_fd);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1957:5): [True: 2, False: 0]
  ------------------
 1958|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1958:5): [True: 2, False: 0]
  ------------------
 1959|      2|    string = &_Py_ID(include_aliases);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1961:5): [True: 2, False: 0]
  ------------------
 1962|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1962:5): [True: 2, False: 0]
  ------------------
 1963|      2|    string = &_Py_ID(incoming);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1965:5): [True: 2, False: 0]
  ------------------
 1966|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1966:5): [True: 2, False: 0]
  ------------------
 1967|      2|    string = &_Py_ID(index);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1969:5): [True: 2, False: 0]
  ------------------
 1970|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1970:5): [True: 2, False: 0]
  ------------------
 1971|      2|    string = &_Py_ID(indexgroup);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1973:5): [True: 2, False: 0]
  ------------------
 1974|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1974:5): [True: 2, False: 0]
  ------------------
 1975|      2|    string = &_Py_ID(inf);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1977:5): [True: 2, False: 0]
  ------------------
 1978|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1978:5): [True: 2, False: 0]
  ------------------
 1979|      2|    string = &_Py_ID(infer_variance);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1981:5): [True: 2, False: 0]
  ------------------
 1982|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1982:5): [True: 2, False: 0]
  ------------------
 1983|      2|    string = &_Py_ID(inherit_handle);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1985:5): [True: 2, False: 0]
  ------------------
 1986|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1986:5): [True: 2, False: 0]
  ------------------
 1987|      2|    string = &_Py_ID(inheritable);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1989:5): [True: 2, False: 0]
  ------------------
 1990|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1990:5): [True: 2, False: 0]
  ------------------
 1991|      2|    string = &_Py_ID(initial);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1993:5): [True: 2, False: 0]
  ------------------
 1994|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1994:5): [True: 2, False: 0]
  ------------------
 1995|      2|    string = &_Py_ID(initial_bytes);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (1997:5): [True: 2, False: 0]
  ------------------
 1998|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (1998:5): [True: 2, False: 0]
  ------------------
 1999|      2|    string = &_Py_ID(initial_owner);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2001:5): [True: 2, False: 0]
  ------------------
 2002|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2002:5): [True: 2, False: 0]
  ------------------
 2003|      2|    string = &_Py_ID(initial_state);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2005:5): [True: 2, False: 0]
  ------------------
 2006|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2006:5): [True: 2, False: 0]
  ------------------
 2007|      2|    string = &_Py_ID(initial_value);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2009:5): [True: 2, False: 0]
  ------------------
 2010|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2010:5): [True: 2, False: 0]
  ------------------
 2011|      2|    string = &_Py_ID(initval);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2013:5): [True: 2, False: 0]
  ------------------
 2014|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2014:5): [True: 2, False: 0]
  ------------------
 2015|      2|    string = &_Py_ID(inner_size);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2017:5): [True: 2, False: 0]
  ------------------
 2018|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2018:5): [True: 2, False: 0]
  ------------------
 2019|      2|    string = &_Py_ID(input);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2021:5): [True: 2, False: 0]
  ------------------
 2022|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2022:5): [True: 2, False: 0]
  ------------------
 2023|      2|    string = &_Py_ID(insert_comments);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2025:5): [True: 2, False: 0]
  ------------------
 2026|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2026:5): [True: 2, False: 0]
  ------------------
 2027|      2|    string = &_Py_ID(insert_pis);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2029:5): [True: 2, False: 0]
  ------------------
 2030|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2030:5): [True: 2, False: 0]
  ------------------
 2031|      2|    string = &_Py_ID(instructions);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2033:5): [True: 2, False: 0]
  ------------------
 2034|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2034:5): [True: 2, False: 0]
  ------------------
 2035|      2|    string = &_Py_ID(intern);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2037:5): [True: 2, False: 0]
  ------------------
 2038|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2038:5): [True: 2, False: 0]
  ------------------
 2039|      2|    string = &_Py_ID(intersection);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2041:5): [True: 2, False: 0]
  ------------------
 2042|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2042:5): [True: 2, False: 0]
  ------------------
 2043|      2|    string = &_Py_ID(interval);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2045:5): [True: 2, False: 0]
  ------------------
 2046|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2046:5): [True: 2, False: 0]
  ------------------
 2047|      2|    string = &_Py_ID(io);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2049:5): [True: 2, False: 0]
  ------------------
 2050|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2050:5): [True: 2, False: 0]
  ------------------
 2051|      2|    string = &_Py_ID(is_compress);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2053:5): [True: 2, False: 0]
  ------------------
 2054|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2054:5): [True: 2, False: 0]
  ------------------
 2055|      2|    string = &_Py_ID(is_raw);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2057:5): [True: 2, False: 0]
  ------------------
 2058|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2058:5): [True: 2, False: 0]
  ------------------
 2059|      2|    string = &_Py_ID(is_running);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2061:5): [True: 2, False: 0]
  ------------------
 2062|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2062:5): [True: 2, False: 0]
  ------------------
 2063|      2|    string = &_Py_ID(is_struct);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2065:5): [True: 2, False: 0]
  ------------------
 2066|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2066:5): [True: 2, False: 0]
  ------------------
 2067|      2|    string = &_Py_ID(isatty);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2069:5): [True: 2, False: 0]
  ------------------
 2070|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2070:5): [True: 2, False: 0]
  ------------------
 2071|      2|    string = &_Py_ID(isinstance);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2073:5): [True: 2, False: 0]
  ------------------
 2074|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2074:5): [True: 2, False: 0]
  ------------------
 2075|      2|    string = &_Py_ID(isoformat);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2077:5): [True: 2, False: 0]
  ------------------
 2078|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2078:5): [True: 2, False: 0]
  ------------------
 2079|      2|    string = &_Py_ID(isolation_level);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2081:5): [True: 2, False: 0]
  ------------------
 2082|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2082:5): [True: 2, False: 0]
  ------------------
 2083|      2|    string = &_Py_ID(istext);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2085:5): [True: 2, False: 0]
  ------------------
 2086|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2086:5): [True: 2, False: 0]
  ------------------
 2087|      2|    string = &_Py_ID(item);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2089:5): [True: 2, False: 0]
  ------------------
 2090|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2090:5): [True: 2, False: 0]
  ------------------
 2091|      2|    string = &_Py_ID(items);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2093:5): [True: 2, False: 0]
  ------------------
 2094|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2094:5): [True: 2, False: 0]
  ------------------
 2095|      2|    string = &_Py_ID(iter);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2097:5): [True: 2, False: 0]
  ------------------
 2098|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2098:5): [True: 2, False: 0]
  ------------------
 2099|      2|    string = &_Py_ID(iterable);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2101:5): [True: 2, False: 0]
  ------------------
 2102|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2102:5): [True: 2, False: 0]
  ------------------
 2103|      2|    string = &_Py_ID(iterations);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2105:5): [True: 2, False: 0]
  ------------------
 2106|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2106:5): [True: 2, False: 0]
  ------------------
 2107|      2|    string = &_Py_ID(join);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2109:5): [True: 2, False: 0]
  ------------------
 2110|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2110:5): [True: 2, False: 0]
  ------------------
 2111|      2|    string = &_Py_ID(jump);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2113:5): [True: 2, False: 0]
  ------------------
 2114|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2114:5): [True: 2, False: 0]
  ------------------
 2115|      2|    string = &_Py_ID(keepends);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2117:5): [True: 2, False: 0]
  ------------------
 2118|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2118:5): [True: 2, False: 0]
  ------------------
 2119|      2|    string = &_Py_ID(key);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2121:5): [True: 2, False: 0]
  ------------------
 2122|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2122:5): [True: 2, False: 0]
  ------------------
 2123|      2|    string = &_Py_ID(keyfile);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2125:5): [True: 2, False: 0]
  ------------------
 2126|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2126:5): [True: 2, False: 0]
  ------------------
 2127|      2|    string = &_Py_ID(keys);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2129:5): [True: 2, False: 0]
  ------------------
 2130|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2130:5): [True: 2, False: 0]
  ------------------
 2131|      2|    string = &_Py_ID(kind);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2133:5): [True: 2, False: 0]
  ------------------
 2134|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2134:5): [True: 2, False: 0]
  ------------------
 2135|      2|    string = &_Py_ID(kw);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2137:5): [True: 2, False: 0]
  ------------------
 2138|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2138:5): [True: 2, False: 0]
  ------------------
 2139|      2|    string = &_Py_ID(kw1);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2141:5): [True: 2, False: 0]
  ------------------
 2142|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2142:5): [True: 2, False: 0]
  ------------------
 2143|      2|    string = &_Py_ID(kw2);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2145:5): [True: 2, False: 0]
  ------------------
 2146|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2146:5): [True: 2, False: 0]
  ------------------
 2147|      2|    string = &_Py_ID(kwargs);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2149:5): [True: 2, False: 0]
  ------------------
 2150|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2150:5): [True: 2, False: 0]
  ------------------
 2151|      2|    string = &_Py_ID(kwdefaults);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2153:5): [True: 2, False: 0]
  ------------------
 2154|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2154:5): [True: 2, False: 0]
  ------------------
 2155|      2|    string = &_Py_ID(label);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2157:5): [True: 2, False: 0]
  ------------------
 2158|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2158:5): [True: 2, False: 0]
  ------------------
 2159|      2|    string = &_Py_ID(last);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2161:5): [True: 2, False: 0]
  ------------------
 2162|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2162:5): [True: 2, False: 0]
  ------------------
 2163|      2|    string = &_Py_ID(last_exc);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2165:5): [True: 2, False: 0]
  ------------------
 2166|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2166:5): [True: 2, False: 0]
  ------------------
 2167|      2|    string = &_Py_ID(last_node);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2169:5): [True: 2, False: 0]
  ------------------
 2170|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2170:5): [True: 2, False: 0]
  ------------------
 2171|      2|    string = &_Py_ID(last_traceback);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2173:5): [True: 2, False: 0]
  ------------------
 2174|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2174:5): [True: 2, False: 0]
  ------------------
 2175|      2|    string = &_Py_ID(last_type);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2177:5): [True: 2, False: 0]
  ------------------
 2178|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2178:5): [True: 2, False: 0]
  ------------------
 2179|      2|    string = &_Py_ID(last_value);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2181:5): [True: 2, False: 0]
  ------------------
 2182|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2182:5): [True: 2, False: 0]
  ------------------
 2183|      2|    string = &_Py_ID(latin1);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2185:5): [True: 2, False: 0]
  ------------------
 2186|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2186:5): [True: 2, False: 0]
  ------------------
 2187|      2|    string = &_Py_ID(leaf_size);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2189:5): [True: 2, False: 0]
  ------------------
 2190|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2190:5): [True: 2, False: 0]
  ------------------
 2191|      2|    string = &_Py_ID(legacy);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2193:5): [True: 2, False: 0]
  ------------------
 2194|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2194:5): [True: 2, False: 0]
  ------------------
 2195|      2|    string = &_Py_ID(len);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2197:5): [True: 2, False: 0]
  ------------------
 2198|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2198:5): [True: 2, False: 0]
  ------------------
 2199|      2|    string = &_Py_ID(length);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2201:5): [True: 2, False: 0]
  ------------------
 2202|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2202:5): [True: 2, False: 0]
  ------------------
 2203|      2|    string = &_Py_ID(level);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2205:5): [True: 2, False: 0]
  ------------------
 2206|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2206:5): [True: 2, False: 0]
  ------------------
 2207|      2|    string = &_Py_ID(limit);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2209:5): [True: 2, False: 0]
  ------------------
 2210|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2210:5): [True: 2, False: 0]
  ------------------
 2211|      2|    string = &_Py_ID(line);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2213:5): [True: 2, False: 0]
  ------------------
 2214|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2214:5): [True: 2, False: 0]
  ------------------
 2215|      2|    string = &_Py_ID(line_buffering);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2217:5): [True: 2, False: 0]
  ------------------
 2218|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2218:5): [True: 2, False: 0]
  ------------------
 2219|      2|    string = &_Py_ID(lineno);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2221:5): [True: 2, False: 0]
  ------------------
 2222|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2222:5): [True: 2, False: 0]
  ------------------
 2223|      2|    string = &_Py_ID(little);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2225:5): [True: 2, False: 0]
  ------------------
 2226|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2226:5): [True: 2, False: 0]
  ------------------
 2227|      2|    string = &_Py_ID(lo);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2229:5): [True: 2, False: 0]
  ------------------
 2230|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2230:5): [True: 2, False: 0]
  ------------------
 2231|      2|    string = &_Py_ID(locale);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2233:5): [True: 2, False: 0]
  ------------------
 2234|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2234:5): [True: 2, False: 0]
  ------------------
 2235|      2|    string = &_Py_ID(locals);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2237:5): [True: 2, False: 0]
  ------------------
 2238|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2238:5): [True: 2, False: 0]
  ------------------
 2239|      2|    string = &_Py_ID(logoption);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2241:5): [True: 2, False: 0]
  ------------------
 2242|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2242:5): [True: 2, False: 0]
  ------------------
 2243|      2|    string = &_Py_ID(loop);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2245:5): [True: 2, False: 0]
  ------------------
 2246|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2246:5): [True: 2, False: 0]
  ------------------
 2247|      2|    string = &_Py_ID(manual_reset);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2249:5): [True: 2, False: 0]
  ------------------
 2250|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2250:5): [True: 2, False: 0]
  ------------------
 2251|      2|    string = &_Py_ID(mapping);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2253:5): [True: 2, False: 0]
  ------------------
 2254|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2254:5): [True: 2, False: 0]
  ------------------
 2255|      2|    string = &_Py_ID(mask);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2257:5): [True: 2, False: 0]
  ------------------
 2258|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2258:5): [True: 2, False: 0]
  ------------------
 2259|      2|    string = &_Py_ID(match);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2261:5): [True: 2, False: 0]
  ------------------
 2262|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2262:5): [True: 2, False: 0]
  ------------------
 2263|      2|    string = &_Py_ID(max_length);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2265:5): [True: 2, False: 0]
  ------------------
 2266|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2266:5): [True: 2, False: 0]
  ------------------
 2267|      2|    string = &_Py_ID(max_threads);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2269:5): [True: 2, False: 0]
  ------------------
 2270|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2270:5): [True: 2, False: 0]
  ------------------
 2271|      2|    string = &_Py_ID(maxdigits);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2273:5): [True: 2, False: 0]
  ------------------
 2274|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2274:5): [True: 2, False: 0]
  ------------------
 2275|      2|    string = &_Py_ID(maxevents);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2277:5): [True: 2, False: 0]
  ------------------
 2278|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2278:5): [True: 2, False: 0]
  ------------------
 2279|      2|    string = &_Py_ID(maxlen);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2281:5): [True: 2, False: 0]
  ------------------
 2282|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2282:5): [True: 2, False: 0]
  ------------------
 2283|      2|    string = &_Py_ID(maxmem);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2285:5): [True: 2, False: 0]
  ------------------
 2286|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2286:5): [True: 2, False: 0]
  ------------------
 2287|      2|    string = &_Py_ID(maxsize);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2289:5): [True: 2, False: 0]
  ------------------
 2290|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2290:5): [True: 2, False: 0]
  ------------------
 2291|      2|    string = &_Py_ID(maxsplit);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2293:5): [True: 2, False: 0]
  ------------------
 2294|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2294:5): [True: 2, False: 0]
  ------------------
 2295|      2|    string = &_Py_ID(maxvalue);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2297:5): [True: 2, False: 0]
  ------------------
 2298|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2298:5): [True: 2, False: 0]
  ------------------
 2299|      2|    string = &_Py_ID(memLevel);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2301:5): [True: 2, False: 0]
  ------------------
 2302|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2302:5): [True: 2, False: 0]
  ------------------
 2303|      2|    string = &_Py_ID(memlimit);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2305:5): [True: 2, False: 0]
  ------------------
 2306|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2306:5): [True: 2, False: 0]
  ------------------
 2307|      2|    string = &_Py_ID(message);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2309:5): [True: 2, False: 0]
  ------------------
 2310|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2310:5): [True: 2, False: 0]
  ------------------
 2311|      2|    string = &_Py_ID(metaclass);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2313:5): [True: 2, False: 0]
  ------------------
 2314|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2314:5): [True: 2, False: 0]
  ------------------
 2315|      2|    string = &_Py_ID(metadata);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2317:5): [True: 2, False: 0]
  ------------------
 2318|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2318:5): [True: 2, False: 0]
  ------------------
 2319|      2|    string = &_Py_ID(method);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2321:5): [True: 2, False: 0]
  ------------------
 2322|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2322:5): [True: 2, False: 0]
  ------------------
 2323|      2|    string = &_Py_ID(microsecond);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2325:5): [True: 2, False: 0]
  ------------------
 2326|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2326:5): [True: 2, False: 0]
  ------------------
 2327|      2|    string = &_Py_ID(microseconds);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2329:5): [True: 2, False: 0]
  ------------------
 2330|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2330:5): [True: 2, False: 0]
  ------------------
 2331|      2|    string = &_Py_ID(milliseconds);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2333:5): [True: 2, False: 0]
  ------------------
 2334|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2334:5): [True: 2, False: 0]
  ------------------
 2335|      2|    string = &_Py_ID(minute);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2337:5): [True: 2, False: 0]
  ------------------
 2338|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2338:5): [True: 2, False: 0]
  ------------------
 2339|      2|    string = &_Py_ID(minutes);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2341:5): [True: 2, False: 0]
  ------------------
 2342|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2342:5): [True: 2, False: 0]
  ------------------
 2343|      2|    string = &_Py_ID(mod);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2345:5): [True: 2, False: 0]
  ------------------
 2346|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2346:5): [True: 2, False: 0]
  ------------------
 2347|      2|    string = &_Py_ID(mode);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2349:5): [True: 2, False: 0]
  ------------------
 2350|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2350:5): [True: 2, False: 0]
  ------------------
 2351|      2|    string = &_Py_ID(module);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2353:5): [True: 2, False: 0]
  ------------------
 2354|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2354:5): [True: 2, False: 0]
  ------------------
 2355|      2|    string = &_Py_ID(module_globals);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2357:5): [True: 2, False: 0]
  ------------------
 2358|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2358:5): [True: 2, False: 0]
  ------------------
 2359|      2|    string = &_Py_ID(modules);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2361:5): [True: 2, False: 0]
  ------------------
 2362|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2362:5): [True: 2, False: 0]
  ------------------
 2363|      2|    string = &_Py_ID(modulo);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2365:5): [True: 2, False: 0]
  ------------------
 2366|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2366:5): [True: 2, False: 0]
  ------------------
 2367|      2|    string = &_Py_ID(month);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2369:5): [True: 2, False: 0]
  ------------------
 2370|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2370:5): [True: 2, False: 0]
  ------------------
 2371|      2|    string = &_Py_ID(mro);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2373:5): [True: 2, False: 0]
  ------------------
 2374|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2374:5): [True: 2, False: 0]
  ------------------
 2375|      2|    string = &_Py_ID(msg);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2377:5): [True: 2, False: 0]
  ------------------
 2378|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2378:5): [True: 2, False: 0]
  ------------------
 2379|      2|    string = &_Py_ID(mutex);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2381:5): [True: 2, False: 0]
  ------------------
 2382|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2382:5): [True: 2, False: 0]
  ------------------
 2383|      2|    string = &_Py_ID(mycmp);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2385:5): [True: 2, False: 0]
  ------------------
 2386|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2386:5): [True: 2, False: 0]
  ------------------
 2387|      2|    string = &_Py_ID(n_fields);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2389:5): [True: 2, False: 0]
  ------------------
 2390|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2390:5): [True: 2, False: 0]
  ------------------
 2391|      2|    string = &_Py_ID(n_sequence_fields);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2393:5): [True: 2, False: 0]
  ------------------
 2394|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2394:5): [True: 2, False: 0]
  ------------------
 2395|      2|    string = &_Py_ID(n_unnamed_fields);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2397:5): [True: 2, False: 0]
  ------------------
 2398|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2398:5): [True: 2, False: 0]
  ------------------
 2399|      2|    string = &_Py_ID(name);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2401:5): [True: 2, False: 0]
  ------------------
 2402|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2402:5): [True: 2, False: 0]
  ------------------
 2403|      2|    string = &_Py_ID(name_from);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2405:5): [True: 2, False: 0]
  ------------------
 2406|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2406:5): [True: 2, False: 0]
  ------------------
 2407|      2|    string = &_Py_ID(namespace_separator);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2409:5): [True: 2, False: 0]
  ------------------
 2410|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2410:5): [True: 2, False: 0]
  ------------------
 2411|      2|    string = &_Py_ID(namespaces);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2413:5): [True: 2, False: 0]
  ------------------
 2414|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2414:5): [True: 2, False: 0]
  ------------------
 2415|      2|    string = &_Py_ID(native);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2417:5): [True: 2, False: 0]
  ------------------
 2418|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2418:5): [True: 2, False: 0]
  ------------------
 2419|      2|    string = &_Py_ID(ndigits);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2421:5): [True: 2, False: 0]
  ------------------
 2422|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2422:5): [True: 2, False: 0]
  ------------------
 2423|      2|    string = &_Py_ID(nested);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2425:5): [True: 2, False: 0]
  ------------------
 2426|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2426:5): [True: 2, False: 0]
  ------------------
 2427|      2|    string = &_Py_ID(new_file_name);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2429:5): [True: 2, False: 0]
  ------------------
 2430|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2430:5): [True: 2, False: 0]
  ------------------
 2431|      2|    string = &_Py_ID(new_limit);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2433:5): [True: 2, False: 0]
  ------------------
 2434|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2434:5): [True: 2, False: 0]
  ------------------
 2435|      2|    string = &_Py_ID(newline);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2437:5): [True: 2, False: 0]
  ------------------
 2438|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2438:5): [True: 2, False: 0]
  ------------------
 2439|      2|    string = &_Py_ID(newlines);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2441:5): [True: 2, False: 0]
  ------------------
 2442|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2442:5): [True: 2, False: 0]
  ------------------
 2443|      2|    string = &_Py_ID(next);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2445:5): [True: 2, False: 0]
  ------------------
 2446|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2446:5): [True: 2, False: 0]
  ------------------
 2447|      2|    string = &_Py_ID(nlocals);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2449:5): [True: 2, False: 0]
  ------------------
 2450|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2450:5): [True: 2, False: 0]
  ------------------
 2451|      2|    string = &_Py_ID(node_depth);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2453:5): [True: 2, False: 0]
  ------------------
 2454|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2454:5): [True: 2, False: 0]
  ------------------
 2455|      2|    string = &_Py_ID(node_offset);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2457:5): [True: 2, False: 0]
  ------------------
 2458|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2458:5): [True: 2, False: 0]
  ------------------
 2459|      2|    string = &_Py_ID(ns);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2461:5): [True: 2, False: 0]
  ------------------
 2462|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2462:5): [True: 2, False: 0]
  ------------------
 2463|      2|    string = &_Py_ID(nstype);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2465:5): [True: 2, False: 0]
  ------------------
 2466|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2466:5): [True: 2, False: 0]
  ------------------
 2467|      2|    string = &_Py_ID(nt);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2469:5): [True: 2, False: 0]
  ------------------
 2470|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2470:5): [True: 2, False: 0]
  ------------------
 2471|      2|    string = &_Py_ID(null);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2473:5): [True: 2, False: 0]
  ------------------
 2474|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2474:5): [True: 2, False: 0]
  ------------------
 2475|      2|    string = &_Py_ID(number);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2477:5): [True: 2, False: 0]
  ------------------
 2478|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2478:5): [True: 2, False: 0]
  ------------------
 2479|      2|    string = &_Py_ID(obj);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2481:5): [True: 2, False: 0]
  ------------------
 2482|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2482:5): [True: 2, False: 0]
  ------------------
 2483|      2|    string = &_Py_ID(object);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2485:5): [True: 2, False: 0]
  ------------------
 2486|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2486:5): [True: 2, False: 0]
  ------------------
 2487|      2|    string = &_Py_ID(offset);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2489:5): [True: 2, False: 0]
  ------------------
 2490|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2490:5): [True: 2, False: 0]
  ------------------
 2491|      2|    string = &_Py_ID(offset_dst);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2493:5): [True: 2, False: 0]
  ------------------
 2494|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2494:5): [True: 2, False: 0]
  ------------------
 2495|      2|    string = &_Py_ID(offset_src);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2497:5): [True: 2, False: 0]
  ------------------
 2498|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2498:5): [True: 2, False: 0]
  ------------------
 2499|      2|    string = &_Py_ID(on_type_read);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2501:5): [True: 2, False: 0]
  ------------------
 2502|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2502:5): [True: 2, False: 0]
  ------------------
 2503|      2|    string = &_Py_ID(onceregistry);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2505:5): [True: 2, False: 0]
  ------------------
 2506|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2506:5): [True: 2, False: 0]
  ------------------
 2507|      2|    string = &_Py_ID(only_active_thread);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2509:5): [True: 2, False: 0]
  ------------------
 2510|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2510:5): [True: 2, False: 0]
  ------------------
 2511|      2|    string = &_Py_ID(only_keys);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2513:5): [True: 2, False: 0]
  ------------------
 2514|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2514:5): [True: 2, False: 0]
  ------------------
 2515|      2|    string = &_Py_ID(oparg);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2517:5): [True: 2, False: 0]
  ------------------
 2518|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2518:5): [True: 2, False: 0]
  ------------------
 2519|      2|    string = &_Py_ID(opcode);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2521:5): [True: 2, False: 0]
  ------------------
 2522|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2522:5): [True: 2, False: 0]
  ------------------
 2523|      2|    string = &_Py_ID(opcodes);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2525:5): [True: 2, False: 0]
  ------------------
 2526|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2526:5): [True: 2, False: 0]
  ------------------
 2527|      2|    string = &_Py_ID(open);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2529:5): [True: 2, False: 0]
  ------------------
 2530|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2530:5): [True: 2, False: 0]
  ------------------
 2531|      2|    string = &_Py_ID(opener);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2533:5): [True: 2, False: 0]
  ------------------
 2534|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2534:5): [True: 2, False: 0]
  ------------------
 2535|      2|    string = &_Py_ID(operation);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2537:5): [True: 2, False: 0]
  ------------------
 2538|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2538:5): [True: 2, False: 0]
  ------------------
 2539|      2|    string = &_Py_ID(optimize);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2541:5): [True: 2, False: 0]
  ------------------
 2542|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2542:5): [True: 2, False: 0]
  ------------------
 2543|      2|    string = &_Py_ID(options);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2545:5): [True: 2, False: 0]
  ------------------
 2546|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2546:5): [True: 2, False: 0]
  ------------------
 2547|      2|    string = &_Py_ID(order);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2549:5): [True: 2, False: 0]
  ------------------
 2550|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2550:5): [True: 2, False: 0]
  ------------------
 2551|      2|    string = &_Py_ID(origin);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2553:5): [True: 2, False: 0]
  ------------------
 2554|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2554:5): [True: 2, False: 0]
  ------------------
 2555|      2|    string = &_Py_ID(other);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2557:5): [True: 2, False: 0]
  ------------------
 2558|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2558:5): [True: 2, False: 0]
  ------------------
 2559|      2|    string = &_Py_ID(out_fd);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2561:5): [True: 2, False: 0]
  ------------------
 2562|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2562:5): [True: 2, False: 0]
  ------------------
 2563|      2|    string = &_Py_ID(outgoing);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2565:5): [True: 2, False: 0]
  ------------------
 2566|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2566:5): [True: 2, False: 0]
  ------------------
 2567|      2|    string = &_Py_ID(outpath);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2569:5): [True: 2, False: 0]
  ------------------
 2570|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2570:5): [True: 2, False: 0]
  ------------------
 2571|      2|    string = &_Py_ID(overlapped);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2573:5): [True: 2, False: 0]
  ------------------
 2574|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2574:5): [True: 2, False: 0]
  ------------------
 2575|      2|    string = &_Py_ID(owner);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2577:5): [True: 2, False: 0]
  ------------------
 2578|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2578:5): [True: 2, False: 0]
  ------------------
 2579|      2|    string = &_Py_ID(pad);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2581:5): [True: 2, False: 0]
  ------------------
 2582|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2582:5): [True: 2, False: 0]
  ------------------
 2583|      2|    string = &_Py_ID(padded);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2585:5): [True: 2, False: 0]
  ------------------
 2586|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2586:5): [True: 2, False: 0]
  ------------------
 2587|      2|    string = &_Py_ID(pages);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2589:5): [True: 2, False: 0]
  ------------------
 2590|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2590:5): [True: 2, False: 0]
  ------------------
 2591|      2|    string = &_Py_ID(pair);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2593:5): [True: 2, False: 0]
  ------------------
 2594|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2594:5): [True: 2, False: 0]
  ------------------
 2595|      2|    string = &_Py_ID(parameter);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2597:5): [True: 2, False: 0]
  ------------------
 2598|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2598:5): [True: 2, False: 0]
  ------------------
 2599|      2|    string = &_Py_ID(parent);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2601:5): [True: 2, False: 0]
  ------------------
 2602|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2602:5): [True: 2, False: 0]
  ------------------
 2603|      2|    string = &_Py_ID(password);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2605:5): [True: 2, False: 0]
  ------------------
 2606|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2606:5): [True: 2, False: 0]
  ------------------
 2607|      2|    string = &_Py_ID(path);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2609:5): [True: 2, False: 0]
  ------------------
 2610|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2610:5): [True: 2, False: 0]
  ------------------
 2611|      2|    string = &_Py_ID(pattern);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2613:5): [True: 2, False: 0]
  ------------------
 2614|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2614:5): [True: 2, False: 0]
  ------------------
 2615|      2|    string = &_Py_ID(peek);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2617:5): [True: 2, False: 0]
  ------------------
 2618|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2618:5): [True: 2, False: 0]
  ------------------
 2619|      2|    string = &_Py_ID(persistent_id);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2621:5): [True: 2, False: 0]
  ------------------
 2622|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2622:5): [True: 2, False: 0]
  ------------------
 2623|      2|    string = &_Py_ID(persistent_load);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2625:5): [True: 2, False: 0]
  ------------------
 2626|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2626:5): [True: 2, False: 0]
  ------------------
 2627|      2|    string = &_Py_ID(person);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2629:5): [True: 2, False: 0]
  ------------------
 2630|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2630:5): [True: 2, False: 0]
  ------------------
 2631|      2|    string = &_Py_ID(pi_factory);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2633:5): [True: 2, False: 0]
  ------------------
 2634|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2634:5): [True: 2, False: 0]
  ------------------
 2635|      2|    string = &_Py_ID(pid);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2637:5): [True: 2, False: 0]
  ------------------
 2638|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2638:5): [True: 2, False: 0]
  ------------------
 2639|      2|    string = &_Py_ID(pidfd);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2641:5): [True: 2, False: 0]
  ------------------
 2642|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2642:5): [True: 2, False: 0]
  ------------------
 2643|      2|    string = &_Py_ID(pointer_bits);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2645:5): [True: 2, False: 0]
  ------------------
 2646|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2646:5): [True: 2, False: 0]
  ------------------
 2647|      2|    string = &_Py_ID(policy);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2649:5): [True: 2, False: 0]
  ------------------
 2650|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2650:5): [True: 2, False: 0]
  ------------------
 2651|      2|    string = &_Py_ID(pos);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2653:5): [True: 2, False: 0]
  ------------------
 2654|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2654:5): [True: 2, False: 0]
  ------------------
 2655|      2|    string = &_Py_ID(pos1);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2657:5): [True: 2, False: 0]
  ------------------
 2658|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2658:5): [True: 2, False: 0]
  ------------------
 2659|      2|    string = &_Py_ID(pos2);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2661:5): [True: 2, False: 0]
  ------------------
 2662|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2662:5): [True: 2, False: 0]
  ------------------
 2663|      2|    string = &_Py_ID(posix);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2665:5): [True: 2, False: 0]
  ------------------
 2666|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2666:5): [True: 2, False: 0]
  ------------------
 2667|      2|    string = &_Py_ID(prec);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2669:5): [True: 2, False: 0]
  ------------------
 2670|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2670:5): [True: 2, False: 0]
  ------------------
 2671|      2|    string = &_Py_ID(preserve_exc);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2673:5): [True: 2, False: 0]
  ------------------
 2674|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2674:5): [True: 2, False: 0]
  ------------------
 2675|      2|    string = &_Py_ID(print_file_and_line);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2677:5): [True: 2, False: 0]
  ------------------
 2678|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2678:5): [True: 2, False: 0]
  ------------------
 2679|      2|    string = &_Py_ID(priority);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2681:5): [True: 2, False: 0]
  ------------------
 2682|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2682:5): [True: 2, False: 0]
  ------------------
 2683|      2|    string = &_Py_ID(progress);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2685:5): [True: 2, False: 0]
  ------------------
 2686|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2686:5): [True: 2, False: 0]
  ------------------
 2687|      2|    string = &_Py_ID(progress_callback);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2689:5): [True: 2, False: 0]
  ------------------
 2690|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2690:5): [True: 2, False: 0]
  ------------------
 2691|      2|    string = &_Py_ID(progress_routine);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2693:5): [True: 2, False: 0]
  ------------------
 2694|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2694:5): [True: 2, False: 0]
  ------------------
 2695|      2|    string = &_Py_ID(proto);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2697:5): [True: 2, False: 0]
  ------------------
 2698|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2698:5): [True: 2, False: 0]
  ------------------
 2699|      2|    string = &_Py_ID(protocol);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2701:5): [True: 2, False: 0]
  ------------------
 2702|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2702:5): [True: 2, False: 0]
  ------------------
 2703|      2|    string = &_Py_ID(ps1);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2705:5): [True: 2, False: 0]
  ------------------
 2706|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2706:5): [True: 2, False: 0]
  ------------------
 2707|      2|    string = &_Py_ID(ps2);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2709:5): [True: 2, False: 0]
  ------------------
 2710|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2710:5): [True: 2, False: 0]
  ------------------
 2711|      2|    string = &_Py_ID(qid);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2713:5): [True: 2, False: 0]
  ------------------
 2714|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2714:5): [True: 2, False: 0]
  ------------------
 2715|      2|    string = &_Py_ID(qualname);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2717:5): [True: 2, False: 0]
  ------------------
 2718|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2718:5): [True: 2, False: 0]
  ------------------
 2719|      2|    string = &_Py_ID(query);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2721:5): [True: 2, False: 0]
  ------------------
 2722|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2722:5): [True: 2, False: 0]
  ------------------
 2723|      2|    string = &_Py_ID(queuetype);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2725:5): [True: 2, False: 0]
  ------------------
 2726|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2726:5): [True: 2, False: 0]
  ------------------
 2727|      2|    string = &_Py_ID(quotetabs);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2729:5): [True: 2, False: 0]
  ------------------
 2730|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2730:5): [True: 2, False: 0]
  ------------------
 2731|      2|    string = &_Py_ID(raw);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2733:5): [True: 2, False: 0]
  ------------------
 2734|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2734:5): [True: 2, False: 0]
  ------------------
 2735|      2|    string = &_Py_ID(read);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2737:5): [True: 2, False: 0]
  ------------------
 2738|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2738:5): [True: 2, False: 0]
  ------------------
 2739|      2|    string = &_Py_ID(read1);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2741:5): [True: 2, False: 0]
  ------------------
 2742|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2742:5): [True: 2, False: 0]
  ------------------
 2743|      2|    string = &_Py_ID(readable);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2745:5): [True: 2, False: 0]
  ------------------
 2746|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2746:5): [True: 2, False: 0]
  ------------------
 2747|      2|    string = &_Py_ID(readall);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2749:5): [True: 2, False: 0]
  ------------------
 2750|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2750:5): [True: 2, False: 0]
  ------------------
 2751|      2|    string = &_Py_ID(readinto);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2753:5): [True: 2, False: 0]
  ------------------
 2754|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2754:5): [True: 2, False: 0]
  ------------------
 2755|      2|    string = &_Py_ID(readinto1);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2757:5): [True: 2, False: 0]
  ------------------
 2758|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2758:5): [True: 2, False: 0]
  ------------------
 2759|      2|    string = &_Py_ID(readline);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2761:5): [True: 2, False: 0]
  ------------------
 2762|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2762:5): [True: 2, False: 0]
  ------------------
 2763|      2|    string = &_Py_ID(readonly);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2765:5): [True: 2, False: 0]
  ------------------
 2766|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2766:5): [True: 2, False: 0]
  ------------------
 2767|      2|    string = &_Py_ID(real);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2769:5): [True: 2, False: 0]
  ------------------
 2770|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2770:5): [True: 2, False: 0]
  ------------------
 2771|      2|    string = &_Py_ID(recursive);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2773:5): [True: 2, False: 0]
  ------------------
 2774|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2774:5): [True: 2, False: 0]
  ------------------
 2775|      2|    string = &_Py_ID(reducer_override);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2777:5): [True: 2, False: 0]
  ------------------
 2778|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2778:5): [True: 2, False: 0]
  ------------------
 2779|      2|    string = &_Py_ID(registry);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2781:5): [True: 2, False: 0]
  ------------------
 2782|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2782:5): [True: 2, False: 0]
  ------------------
 2783|      2|    string = &_Py_ID(rel_tol);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2785:5): [True: 2, False: 0]
  ------------------
 2786|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2786:5): [True: 2, False: 0]
  ------------------
 2787|      2|    string = &_Py_ID(release);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2789:5): [True: 2, False: 0]
  ------------------
 2790|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2790:5): [True: 2, False: 0]
  ------------------
 2791|      2|    string = &_Py_ID(reload);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2793:5): [True: 2, False: 0]
  ------------------
 2794|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2794:5): [True: 2, False: 0]
  ------------------
 2795|      2|    string = &_Py_ID(repeat);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2797:5): [True: 2, False: 0]
  ------------------
 2798|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2798:5): [True: 2, False: 0]
  ------------------
 2799|      2|    string = &_Py_ID(repl);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2801:5): [True: 2, False: 0]
  ------------------
 2802|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2802:5): [True: 2, False: 0]
  ------------------
 2803|      2|    string = &_Py_ID(replace);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2805:5): [True: 2, False: 0]
  ------------------
 2806|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2806:5): [True: 2, False: 0]
  ------------------
 2807|      2|    string = &_Py_ID(repr);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2809:5): [True: 2, False: 0]
  ------------------
 2810|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2810:5): [True: 2, False: 0]
  ------------------
 2811|      2|    string = &_Py_ID(reqrefs);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2813:5): [True: 2, False: 0]
  ------------------
 2814|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2814:5): [True: 2, False: 0]
  ------------------
 2815|      2|    string = &_Py_ID(require_ready);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2817:5): [True: 2, False: 0]
  ------------------
 2818|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2818:5): [True: 2, False: 0]
  ------------------
 2819|      2|    string = &_Py_ID(reserved);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2821:5): [True: 2, False: 0]
  ------------------
 2822|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2822:5): [True: 2, False: 0]
  ------------------
 2823|      2|    string = &_Py_ID(reset);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2825:5): [True: 2, False: 0]
  ------------------
 2826|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2826:5): [True: 2, False: 0]
  ------------------
 2827|      2|    string = &_Py_ID(resetids);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2829:5): [True: 2, False: 0]
  ------------------
 2830|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2830:5): [True: 2, False: 0]
  ------------------
 2831|      2|    string = &_Py_ID(restrict);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2833:5): [True: 2, False: 0]
  ------------------
 2834|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2834:5): [True: 2, False: 0]
  ------------------
 2835|      2|    string = &_Py_ID(return);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2837:5): [True: 2, False: 0]
  ------------------
 2838|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2838:5): [True: 2, False: 0]
  ------------------
 2839|      2|    string = &_Py_ID(reverse);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2841:5): [True: 2, False: 0]
  ------------------
 2842|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2842:5): [True: 2, False: 0]
  ------------------
 2843|      2|    string = &_Py_ID(reversed);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2845:5): [True: 2, False: 0]
  ------------------
 2846|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2846:5): [True: 2, False: 0]
  ------------------
 2847|      2|    string = &_Py_ID(rounding);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2849:5): [True: 2, False: 0]
  ------------------
 2850|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2850:5): [True: 2, False: 0]
  ------------------
 2851|      2|    string = &_Py_ID(salt);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2853:5): [True: 2, False: 0]
  ------------------
 2854|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2854:5): [True: 2, False: 0]
  ------------------
 2855|      2|    string = &_Py_ID(sample_interval_us);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2857:5): [True: 2, False: 0]
  ------------------
 2858|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2858:5): [True: 2, False: 0]
  ------------------
 2859|      2|    string = &_Py_ID(sched_priority);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2861:5): [True: 2, False: 0]
  ------------------
 2862|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2862:5): [True: 2, False: 0]
  ------------------
 2863|      2|    string = &_Py_ID(scheduler);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2865:5): [True: 2, False: 0]
  ------------------
 2866|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2866:5): [True: 2, False: 0]
  ------------------
 2867|      2|    string = &_Py_ID(script);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2869:5): [True: 2, False: 0]
  ------------------
 2870|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2870:5): [True: 2, False: 0]
  ------------------
 2871|      2|    string = &_Py_ID(second);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2873:5): [True: 2, False: 0]
  ------------------
 2874|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2874:5): [True: 2, False: 0]
  ------------------
 2875|      2|    string = &_Py_ID(seconds);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2877:5): [True: 2, False: 0]
  ------------------
 2878|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2878:5): [True: 2, False: 0]
  ------------------
 2879|      2|    string = &_Py_ID(security_attributes);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2881:5): [True: 2, False: 0]
  ------------------
 2882|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2882:5): [True: 2, False: 0]
  ------------------
 2883|      2|    string = &_Py_ID(seek);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2885:5): [True: 2, False: 0]
  ------------------
 2886|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2886:5): [True: 2, False: 0]
  ------------------
 2887|      2|    string = &_Py_ID(seekable);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2889:5): [True: 2, False: 0]
  ------------------
 2890|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2890:5): [True: 2, False: 0]
  ------------------
 2891|      2|    string = &_Py_ID(selectors);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2893:5): [True: 2, False: 0]
  ------------------
 2894|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2894:5): [True: 2, False: 0]
  ------------------
 2895|      2|    string = &_Py_ID(self);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2897:5): [True: 2, False: 0]
  ------------------
 2898|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2898:5): [True: 2, False: 0]
  ------------------
 2899|      2|    string = &_Py_ID(send);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2901:5): [True: 2, False: 0]
  ------------------
 2902|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2902:5): [True: 2, False: 0]
  ------------------
 2903|      2|    string = &_Py_ID(sep);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2905:5): [True: 2, False: 0]
  ------------------
 2906|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2906:5): [True: 2, False: 0]
  ------------------
 2907|      2|    string = &_Py_ID(sequence);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2909:5): [True: 2, False: 0]
  ------------------
 2910|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2910:5): [True: 2, False: 0]
  ------------------
 2911|      2|    string = &_Py_ID(server_hostname);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2913:5): [True: 2, False: 0]
  ------------------
 2914|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2914:5): [True: 2, False: 0]
  ------------------
 2915|      2|    string = &_Py_ID(server_side);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2917:5): [True: 2, False: 0]
  ------------------
 2918|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2918:5): [True: 2, False: 0]
  ------------------
 2919|      2|    string = &_Py_ID(session);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2921:5): [True: 2, False: 0]
  ------------------
 2922|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2922:5): [True: 2, False: 0]
  ------------------
 2923|      2|    string = &_Py_ID(setpgroup);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2925:5): [True: 2, False: 0]
  ------------------
 2926|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2926:5): [True: 2, False: 0]
  ------------------
 2927|      2|    string = &_Py_ID(setsid);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2929:5): [True: 2, False: 0]
  ------------------
 2930|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2930:5): [True: 2, False: 0]
  ------------------
 2931|      2|    string = &_Py_ID(setsigdef);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2933:5): [True: 2, False: 0]
  ------------------
 2934|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2934:5): [True: 2, False: 0]
  ------------------
 2935|      2|    string = &_Py_ID(setsigmask);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2937:5): [True: 2, False: 0]
  ------------------
 2938|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2938:5): [True: 2, False: 0]
  ------------------
 2939|      2|    string = &_Py_ID(setstate);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2941:5): [True: 2, False: 0]
  ------------------
 2942|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2942:5): [True: 2, False: 0]
  ------------------
 2943|      2|    string = &_Py_ID(shape);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2945:5): [True: 2, False: 0]
  ------------------
 2946|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2946:5): [True: 2, False: 0]
  ------------------
 2947|      2|    string = &_Py_ID(shared);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2949:5): [True: 2, False: 0]
  ------------------
 2950|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2950:5): [True: 2, False: 0]
  ------------------
 2951|      2|    string = &_Py_ID(short);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2953:5): [True: 2, False: 0]
  ------------------
 2954|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2954:5): [True: 2, False: 0]
  ------------------
 2955|      2|    string = &_Py_ID(show_cmd);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2957:5): [True: 2, False: 0]
  ------------------
 2958|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2958:5): [True: 2, False: 0]
  ------------------
 2959|      2|    string = &_Py_ID(signed);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2961:5): [True: 2, False: 0]
  ------------------
 2962|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2962:5): [True: 2, False: 0]
  ------------------
 2963|      2|    string = &_Py_ID(signum);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2965:5): [True: 2, False: 0]
  ------------------
 2966|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2966:5): [True: 2, False: 0]
  ------------------
 2967|      2|    string = &_Py_ID(size);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2969:5): [True: 2, False: 0]
  ------------------
 2970|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2970:5): [True: 2, False: 0]
  ------------------
 2971|      2|    string = &_Py_ID(sizehint);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2973:5): [True: 2, False: 0]
  ------------------
 2974|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2974:5): [True: 2, False: 0]
  ------------------
 2975|      2|    string = &_Py_ID(skip_file_prefixes);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2977:5): [True: 2, False: 0]
  ------------------
 2978|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2978:5): [True: 2, False: 0]
  ------------------
 2979|      2|    string = &_Py_ID(skip_non_matching_threads);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2981:5): [True: 2, False: 0]
  ------------------
 2982|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2982:5): [True: 2, False: 0]
  ------------------
 2983|      2|    string = &_Py_ID(sleep);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2985:5): [True: 2, False: 0]
  ------------------
 2986|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2986:5): [True: 2, False: 0]
  ------------------
 2987|      2|    string = &_Py_ID(sock);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2989:5): [True: 2, False: 0]
  ------------------
 2990|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2990:5): [True: 2, False: 0]
  ------------------
 2991|      2|    string = &_Py_ID(sort);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2993:5): [True: 2, False: 0]
  ------------------
 2994|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2994:5): [True: 2, False: 0]
  ------------------
 2995|      2|    string = &_Py_ID(source);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (2997:5): [True: 2, False: 0]
  ------------------
 2998|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (2998:5): [True: 2, False: 0]
  ------------------
 2999|      2|    string = &_Py_ID(source_traceback);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3001:5): [True: 2, False: 0]
  ------------------
 3002|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3002:5): [True: 2, False: 0]
  ------------------
 3003|      2|    string = &_Py_ID(spam);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3005:5): [True: 2, False: 0]
  ------------------
 3006|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3006:5): [True: 2, False: 0]
  ------------------
 3007|      2|    string = &_Py_ID(src);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3009:5): [True: 2, False: 0]
  ------------------
 3010|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3010:5): [True: 2, False: 0]
  ------------------
 3011|      2|    string = &_Py_ID(src_dir_fd);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3013:5): [True: 2, False: 0]
  ------------------
 3014|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3014:5): [True: 2, False: 0]
  ------------------
 3015|      2|    string = &_Py_ID(stack_frames);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3017:5): [True: 2, False: 0]
  ------------------
 3018|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3018:5): [True: 2, False: 0]
  ------------------
 3019|      2|    string = &_Py_ID(stacklevel);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3021:5): [True: 2, False: 0]
  ------------------
 3022|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3022:5): [True: 2, False: 0]
  ------------------
 3023|      2|    string = &_Py_ID(start);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3025:5): [True: 2, False: 0]
  ------------------
 3026|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3026:5): [True: 2, False: 0]
  ------------------
 3027|      2|    string = &_Py_ID(start_time_us);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3029:5): [True: 2, False: 0]
  ------------------
 3030|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3030:5): [True: 2, False: 0]
  ------------------
 3031|      2|    string = &_Py_ID(statement);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3033:5): [True: 2, False: 0]
  ------------------
 3034|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3034:5): [True: 2, False: 0]
  ------------------
 3035|      2|    string = &_Py_ID(stats);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3037:5): [True: 2, False: 0]
  ------------------
 3038|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3038:5): [True: 2, False: 0]
  ------------------
 3039|      2|    string = &_Py_ID(status);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3041:5): [True: 2, False: 0]
  ------------------
 3042|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3042:5): [True: 2, False: 0]
  ------------------
 3043|      2|    string = &_Py_ID(stderr);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3045:5): [True: 2, False: 0]
  ------------------
 3046|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3046:5): [True: 2, False: 0]
  ------------------
 3047|      2|    string = &_Py_ID(stdin);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3049:5): [True: 2, False: 0]
  ------------------
 3050|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3050:5): [True: 2, False: 0]
  ------------------
 3051|      2|    string = &_Py_ID(stdout);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3053:5): [True: 2, False: 0]
  ------------------
 3054|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3054:5): [True: 2, False: 0]
  ------------------
 3055|      2|    string = &_Py_ID(step);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3057:5): [True: 2, False: 0]
  ------------------
 3058|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3058:5): [True: 2, False: 0]
  ------------------
 3059|      2|    string = &_Py_ID(steps);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3061:5): [True: 2, False: 0]
  ------------------
 3062|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3062:5): [True: 2, False: 0]
  ------------------
 3063|      2|    string = &_Py_ID(store_name);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3065:5): [True: 2, False: 0]
  ------------------
 3066|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3066:5): [True: 2, False: 0]
  ------------------
 3067|      2|    string = &_Py_ID(strategy);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3069:5): [True: 2, False: 0]
  ------------------
 3070|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3070:5): [True: 2, False: 0]
  ------------------
 3071|      2|    string = &_Py_ID(strftime);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3073:5): [True: 2, False: 0]
  ------------------
 3074|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3074:5): [True: 2, False: 0]
  ------------------
 3075|      2|    string = &_Py_ID(strict);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3077:5): [True: 2, False: 0]
  ------------------
 3078|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3078:5): [True: 2, False: 0]
  ------------------
 3079|      2|    string = &_Py_ID(strict_mode);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3081:5): [True: 2, False: 0]
  ------------------
 3082|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3082:5): [True: 2, False: 0]
  ------------------
 3083|      2|    string = &_Py_ID(string);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3085:5): [True: 2, False: 0]
  ------------------
 3086|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3086:5): [True: 2, False: 0]
  ------------------
 3087|      2|    string = &_Py_ID(sub_key);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3089:5): [True: 2, False: 0]
  ------------------
 3090|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3090:5): [True: 2, False: 0]
  ------------------
 3091|      2|    string = &_Py_ID(subcalls);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3093:5): [True: 2, False: 0]
  ------------------
 3094|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3094:5): [True: 2, False: 0]
  ------------------
 3095|      2|    string = &_Py_ID(symmetric_difference_update);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3097:5): [True: 2, False: 0]
  ------------------
 3098|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3098:5): [True: 2, False: 0]
  ------------------
 3099|      2|    string = &_Py_ID(tabsize);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3101:5): [True: 2, False: 0]
  ------------------
 3102|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3102:5): [True: 2, False: 0]
  ------------------
 3103|      2|    string = &_Py_ID(tag);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3105:5): [True: 2, False: 0]
  ------------------
 3106|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3106:5): [True: 2, False: 0]
  ------------------
 3107|      2|    string = &_Py_ID(take_bytes);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3109:5): [True: 2, False: 0]
  ------------------
 3110|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3110:5): [True: 2, False: 0]
  ------------------
 3111|      2|    string = &_Py_ID(target);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3113:5): [True: 2, False: 0]
  ------------------
 3114|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3114:5): [True: 2, False: 0]
  ------------------
 3115|      2|    string = &_Py_ID(target_is_directory);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3117:5): [True: 2, False: 0]
  ------------------
 3118|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3118:5): [True: 2, False: 0]
  ------------------
 3119|      2|    string = &_Py_ID(targetfd);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3121:5): [True: 2, False: 0]
  ------------------
 3122|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3122:5): [True: 2, False: 0]
  ------------------
 3123|      2|    string = &_Py_ID(task);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3125:5): [True: 2, False: 0]
  ------------------
 3126|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3126:5): [True: 2, False: 0]
  ------------------
 3127|      2|    string = &_Py_ID(tb_frame);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3129:5): [True: 2, False: 0]
  ------------------
 3130|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3130:5): [True: 2, False: 0]
  ------------------
 3131|      2|    string = &_Py_ID(tb_lasti);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3133:5): [True: 2, False: 0]
  ------------------
 3134|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3134:5): [True: 2, False: 0]
  ------------------
 3135|      2|    string = &_Py_ID(tb_lineno);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3137:5): [True: 2, False: 0]
  ------------------
 3138|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3138:5): [True: 2, False: 0]
  ------------------
 3139|      2|    string = &_Py_ID(tb_next);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3141:5): [True: 2, False: 0]
  ------------------
 3142|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3142:5): [True: 2, False: 0]
  ------------------
 3143|      2|    string = &_Py_ID(tell);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3145:5): [True: 2, False: 0]
  ------------------
 3146|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3146:5): [True: 2, False: 0]
  ------------------
 3147|      2|    string = &_Py_ID(template);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3149:5): [True: 2, False: 0]
  ------------------
 3150|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3150:5): [True: 2, False: 0]
  ------------------
 3151|      2|    string = &_Py_ID(term);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3153:5): [True: 2, False: 0]
  ------------------
 3154|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3154:5): [True: 2, False: 0]
  ------------------
 3155|      2|    string = &_Py_ID(text);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3157:5): [True: 2, False: 0]
  ------------------
 3158|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3158:5): [True: 2, False: 0]
  ------------------
 3159|      2|    string = &_Py_ID(third);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3161:5): [True: 2, False: 0]
  ------------------
 3162|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3162:5): [True: 2, False: 0]
  ------------------
 3163|      2|    string = &_Py_ID(threading);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3165:5): [True: 2, False: 0]
  ------------------
 3166|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3166:5): [True: 2, False: 0]
  ------------------
 3167|      2|    string = &_Py_ID(throw);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3169:5): [True: 2, False: 0]
  ------------------
 3170|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3170:5): [True: 2, False: 0]
  ------------------
 3171|      2|    string = &_Py_ID(time);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3173:5): [True: 2, False: 0]
  ------------------
 3174|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3174:5): [True: 2, False: 0]
  ------------------
 3175|      2|    string = &_Py_ID(timeout);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3177:5): [True: 2, False: 0]
  ------------------
 3178|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3178:5): [True: 2, False: 0]
  ------------------
 3179|      2|    string = &_Py_ID(timer);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3181:5): [True: 2, False: 0]
  ------------------
 3182|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3182:5): [True: 2, False: 0]
  ------------------
 3183|      2|    string = &_Py_ID(times);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3185:5): [True: 2, False: 0]
  ------------------
 3186|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3186:5): [True: 2, False: 0]
  ------------------
 3187|      2|    string = &_Py_ID(timespec);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3189:5): [True: 2, False: 0]
  ------------------
 3190|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3190:5): [True: 2, False: 0]
  ------------------
 3191|      2|    string = &_Py_ID(timestamp);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3193:5): [True: 2, False: 0]
  ------------------
 3194|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3194:5): [True: 2, False: 0]
  ------------------
 3195|      2|    string = &_Py_ID(timestamp_us);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3197:5): [True: 2, False: 0]
  ------------------
 3198|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3198:5): [True: 2, False: 0]
  ------------------
 3199|      2|    string = &_Py_ID(timetuple);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3201:5): [True: 2, False: 0]
  ------------------
 3202|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3202:5): [True: 2, False: 0]
  ------------------
 3203|      2|    string = &_Py_ID(timeunit);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3205:5): [True: 2, False: 0]
  ------------------
 3206|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3206:5): [True: 2, False: 0]
  ------------------
 3207|      2|    string = &_Py_ID(top);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3209:5): [True: 2, False: 0]
  ------------------
 3210|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3210:5): [True: 2, False: 0]
  ------------------
 3211|      2|    string = &_Py_ID(traceback);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3213:5): [True: 2, False: 0]
  ------------------
 3214|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3214:5): [True: 2, False: 0]
  ------------------
 3215|      2|    string = &_Py_ID(trailers);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3217:5): [True: 2, False: 0]
  ------------------
 3218|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3218:5): [True: 2, False: 0]
  ------------------
 3219|      2|    string = &_Py_ID(translate);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3221:5): [True: 2, False: 0]
  ------------------
 3222|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3222:5): [True: 2, False: 0]
  ------------------
 3223|      2|    string = &_Py_ID(traps);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3225:5): [True: 2, False: 0]
  ------------------
 3226|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3226:5): [True: 2, False: 0]
  ------------------
 3227|      2|    string = &_Py_ID(true);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3229:5): [True: 2, False: 0]
  ------------------
 3230|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3230:5): [True: 2, False: 0]
  ------------------
 3231|      2|    string = &_Py_ID(truncate);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3233:5): [True: 2, False: 0]
  ------------------
 3234|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3234:5): [True: 2, False: 0]
  ------------------
 3235|      2|    string = &_Py_ID(twice);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3237:5): [True: 2, False: 0]
  ------------------
 3238|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3238:5): [True: 2, False: 0]
  ------------------
 3239|      2|    string = &_Py_ID(txt);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3241:5): [True: 2, False: 0]
  ------------------
 3242|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3242:5): [True: 2, False: 0]
  ------------------
 3243|      2|    string = &_Py_ID(type);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3245:5): [True: 2, False: 0]
  ------------------
 3246|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3246:5): [True: 2, False: 0]
  ------------------
 3247|      2|    string = &_Py_ID(type_params);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3249:5): [True: 2, False: 0]
  ------------------
 3250|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3250:5): [True: 2, False: 0]
  ------------------
 3251|      2|    string = &_Py_ID(tz);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3253:5): [True: 2, False: 0]
  ------------------
 3254|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3254:5): [True: 2, False: 0]
  ------------------
 3255|      2|    string = &_Py_ID(tzinfo);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3257:5): [True: 2, False: 0]
  ------------------
 3258|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3258:5): [True: 2, False: 0]
  ------------------
 3259|      2|    string = &_Py_ID(tzname);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3261:5): [True: 2, False: 0]
  ------------------
 3262|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3262:5): [True: 2, False: 0]
  ------------------
 3263|      2|    string = &_Py_ID(uid);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3265:5): [True: 2, False: 0]
  ------------------
 3266|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3266:5): [True: 2, False: 0]
  ------------------
 3267|      2|    string = &_Py_ID(unboundop);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3269:5): [True: 2, False: 0]
  ------------------
 3270|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3270:5): [True: 2, False: 0]
  ------------------
 3271|      2|    string = &_Py_ID(unlink);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3273:5): [True: 2, False: 0]
  ------------------
 3274|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3274:5): [True: 2, False: 0]
  ------------------
 3275|      2|    string = &_Py_ID(unraisablehook);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3277:5): [True: 2, False: 0]
  ------------------
 3278|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3278:5): [True: 2, False: 0]
  ------------------
 3279|      2|    string = &_Py_ID(updates);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3281:5): [True: 2, False: 0]
  ------------------
 3282|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3282:5): [True: 2, False: 0]
  ------------------
 3283|      2|    string = &_Py_ID(uri);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3285:5): [True: 2, False: 0]
  ------------------
 3286|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3286:5): [True: 2, False: 0]
  ------------------
 3287|      2|    string = &_Py_ID(usedforsecurity);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3289:5): [True: 2, False: 0]
  ------------------
 3290|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3290:5): [True: 2, False: 0]
  ------------------
 3291|      2|    string = &_Py_ID(utcoffset);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3293:5): [True: 2, False: 0]
  ------------------
 3294|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3294:5): [True: 2, False: 0]
  ------------------
 3295|      2|    string = &_Py_ID(value);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3297:5): [True: 2, False: 0]
  ------------------
 3298|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3298:5): [True: 2, False: 0]
  ------------------
 3299|      2|    string = &_Py_ID(values);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3301:5): [True: 2, False: 0]
  ------------------
 3302|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3302:5): [True: 2, False: 0]
  ------------------
 3303|      2|    string = &_Py_ID(version);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3305:5): [True: 2, False: 0]
  ------------------
 3306|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3306:5): [True: 2, False: 0]
  ------------------
 3307|      2|    string = &_Py_ID(volume);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3309:5): [True: 2, False: 0]
  ------------------
 3310|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3310:5): [True: 2, False: 0]
  ------------------
 3311|      2|    string = &_Py_ID(wait_all);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3313:5): [True: 2, False: 0]
  ------------------
 3314|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3314:5): [True: 2, False: 0]
  ------------------
 3315|      2|    string = &_Py_ID(warn_on_full_buffer);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3317:5): [True: 2, False: 0]
  ------------------
 3318|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3318:5): [True: 2, False: 0]
  ------------------
 3319|      2|    string = &_Py_ID(warnings);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3321:5): [True: 2, False: 0]
  ------------------
 3322|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3322:5): [True: 2, False: 0]
  ------------------
 3323|      2|    string = &_Py_ID(warnoptions);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3325:5): [True: 2, False: 0]
  ------------------
 3326|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3326:5): [True: 2, False: 0]
  ------------------
 3327|      2|    string = &_Py_ID(wbits);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3329:5): [True: 2, False: 0]
  ------------------
 3330|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3330:5): [True: 2, False: 0]
  ------------------
 3331|      2|    string = &_Py_ID(week);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3333:5): [True: 2, False: 0]
  ------------------
 3334|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3334:5): [True: 2, False: 0]
  ------------------
 3335|      2|    string = &_Py_ID(weekday);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3337:5): [True: 2, False: 0]
  ------------------
 3338|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3338:5): [True: 2, False: 0]
  ------------------
 3339|      2|    string = &_Py_ID(weeks);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3341:5): [True: 2, False: 0]
  ------------------
 3342|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3342:5): [True: 2, False: 0]
  ------------------
 3343|      2|    string = &_Py_ID(which);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3345:5): [True: 2, False: 0]
  ------------------
 3346|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3346:5): [True: 2, False: 0]
  ------------------
 3347|      2|    string = &_Py_ID(who);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3349:5): [True: 2, False: 0]
  ------------------
 3350|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3350:5): [True: 2, False: 0]
  ------------------
 3351|      2|    string = &_Py_ID(withdata);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3353:5): [True: 2, False: 0]
  ------------------
 3354|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3354:5): [True: 2, False: 0]
  ------------------
 3355|      2|    string = &_Py_ID(wrapcol);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3357:5): [True: 2, False: 0]
  ------------------
 3358|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3358:5): [True: 2, False: 0]
  ------------------
 3359|      2|    string = &_Py_ID(writable);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (3361:5): [True: 2, False: 0]
  ------------------
 3362|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3362:5): [True: 2, False: 0]
  ------------------
 3363|      2|    string = &_Py_ID(write);
  ------------------
  |  |  920|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3364|      2|    _PyUnicode_InternStatic(interp, &string);
 3365|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  ------------------
  |  Branch (3365:5): [True: 2, False: 0]
  ------------------
 3366|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3366:5): [True: 2, False: 0]
  ------------------
 3367|      2|    string = &_Py_ID(write_through);
  ------------------
  |  |  920|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3368|      2|    _PyUnicode_InternStatic(interp, &string);
 3369|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  ------------------
  |  Branch (3369:5): [True: 2, False: 0]
  ------------------
 3370|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3370:5): [True: 2, False: 0]
  ------------------
 3371|      2|    string = &_Py_ID(year);
  ------------------
  |  |  920|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3372|      2|    _PyUnicode_InternStatic(interp, &string);
 3373|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  ------------------
  |  Branch (3373:5): [True: 2, False: 0]
  ------------------
 3374|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3374:5): [True: 2, False: 0]
  ------------------
 3375|      2|    string = &_Py_ID(zdict);
  ------------------
  |  |  920|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3376|      2|    _PyUnicode_InternStatic(interp, &string);
 3377|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  ------------------
  |  Branch (3377:5): [True: 2, False: 0]
  ------------------
 3378|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3378:5): [True: 2, False: 0]
  ------------------
 3379|      2|    string = &_Py_ID(zstd_dict);
  ------------------
  |  |  920|      2|     (_Py_SINGLETON(strings.identifiers._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));
  ------------------
  |  Branch (3381:5): [True: 2, False: 0]
  ------------------
 3382|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3382:5): [True: 2, False: 0]
  ------------------
 3383|      2|    string = &_Py_STR(empty);
  ------------------
  |  |  922|      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));
  ------------------
  |  Branch (3385:5): [True: 2, False: 0]
  ------------------
 3386|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3386:5): [True: 2, False: 0]
  ------------------
 3387|      2|    string = &_Py_STR(dbl_percent);
  ------------------
  |  |  922|      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));
  ------------------
  |  Branch (3389:5): [True: 2, False: 0]
  ------------------
 3390|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3390:5): [True: 2, False: 0]
  ------------------
 3391|      2|    string = &_Py_STR(dot_locals);
  ------------------
  |  |  922|      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));
  ------------------
  |  Branch (3393:5): [True: 2, False: 0]
  ------------------
 3394|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3394:5): [True: 2, False: 0]
  ------------------
 3395|      2|    string = &_Py_STR(defaults);
  ------------------
  |  |  922|      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));
  ------------------
  |  Branch (3397:5): [True: 2, False: 0]
  ------------------
 3398|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3398:5): [True: 2, False: 0]
  ------------------
 3399|      2|    string = &_Py_STR(format);
  ------------------
  |  |  922|      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));
  ------------------
  |  Branch (3401:5): [True: 2, False: 0]
  ------------------
 3402|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3402:5): [True: 2, False: 0]
  ------------------
 3403|      2|    string = &_Py_STR(generic_base);
  ------------------
  |  |  922|      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));
  ------------------
  |  Branch (3405:5): [True: 2, False: 0]
  ------------------
 3406|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3406:5): [True: 2, False: 0]
  ------------------
 3407|      2|    string = &_Py_STR(kwdefaults);
  ------------------
  |  |  922|      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));
  ------------------
  |  Branch (3409:5): [True: 2, False: 0]
  ------------------
 3410|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3410:5): [True: 2, False: 0]
  ------------------
 3411|      2|    string = &_Py_STR(type_params);
  ------------------
  |  |  922|      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));
  ------------------
  |  Branch (3413:5): [True: 2, False: 0]
  ------------------
 3414|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3414:5): [True: 2, False: 0]
  ------------------
 3415|      2|    string = &_Py_STR(str_replace_inf);
  ------------------
  |  |  922|      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));
  ------------------
  |  Branch (3417:5): [True: 2, False: 0]
  ------------------
 3418|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3418:5): [True: 2, False: 0]
  ------------------
 3419|      2|    string = &_Py_STR(gc);
  ------------------
  |  |  922|      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));
  ------------------
  |  Branch (3421:5): [True: 2, False: 0]
  ------------------
 3422|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3422:5): [True: 2, False: 0]
  ------------------
 3423|      2|    string = &_Py_STR(anon_null);
  ------------------
  |  |  922|      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));
  ------------------
  |  Branch (3425:5): [True: 2, False: 0]
  ------------------
 3426|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3426:5): [True: 2, False: 0]
  ------------------
 3427|      2|    string = &_Py_STR(anon_dictcomp);
  ------------------
  |  |  922|      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));
  ------------------
  |  Branch (3429:5): [True: 2, False: 0]
  ------------------
 3430|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3430:5): [True: 2, False: 0]
  ------------------
 3431|      2|    string = &_Py_STR(anon_genexpr);
  ------------------
  |  |  922|      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));
  ------------------
  |  Branch (3433:5): [True: 2, False: 0]
  ------------------
 3434|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3434:5): [True: 2, False: 0]
  ------------------
 3435|      2|    string = &_Py_STR(anon_lambda);
  ------------------
  |  |  922|      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));
  ------------------
  |  Branch (3437:5): [True: 2, False: 0]
  ------------------
 3438|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3438:5): [True: 2, False: 0]
  ------------------
 3439|      2|    string = &_Py_STR(anon_listcomp);
  ------------------
  |  |  922|      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));
  ------------------
  |  Branch (3441:5): [True: 2, False: 0]
  ------------------
 3442|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3442:5): [True: 2, False: 0]
  ------------------
 3443|      2|    string = &_Py_STR(anon_module);
  ------------------
  |  |  922|      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));
  ------------------
  |  Branch (3445:5): [True: 2, False: 0]
  ------------------
 3446|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3446:5): [True: 2, False: 0]
  ------------------
 3447|      2|    string = &_Py_STR(native);
  ------------------
  |  |  922|      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));
  ------------------
  |  Branch (3449:5): [True: 2, False: 0]
  ------------------
 3450|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3450:5): [True: 2, False: 0]
  ------------------
 3451|      2|    string = &_Py_STR(anon_setcomp);
  ------------------
  |  |  922|      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));
  ------------------
  |  Branch (3453:5): [True: 2, False: 0]
  ------------------
 3454|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3454:5): [True: 2, False: 0]
  ------------------
 3455|      2|    string = &_Py_STR(anon_string);
  ------------------
  |  |  922|      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));
  ------------------
  |  Branch (3457:5): [True: 2, False: 0]
  ------------------
 3458|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3458:5): [True: 2, False: 0]
  ------------------
 3459|      2|    string = &_Py_STR(anon_unknown);
  ------------------
  |  |  922|      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));
  ------------------
  |  Branch (3461:5): [True: 2, False: 0]
  ------------------
 3462|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3462:5): [True: 2, False: 0]
  ------------------
 3463|      2|    string = &_Py_STR(json_decoder);
  ------------------
  |  |  922|      2|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3464|      2|    _PyUnicode_InternStatic(interp, &string);
 3465|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  ------------------
  |  Branch (3465:5): [True: 2, False: 0]
  ------------------
 3466|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3466:5): [True: 2, False: 0]
  ------------------
 3467|      2|    string = &_Py_STR(list_err);
  ------------------
  |  |  922|      2|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3468|      2|    _PyUnicode_InternStatic(interp, &string);
 3469|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  ------------------
  |  Branch (3469:5): [True: 2, False: 0]
  ------------------
 3470|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3470:5): [True: 2, False: 0]
  ------------------
 3471|      2|    string = &_Py_STR(utf_8);
  ------------------
  |  |  922|      2|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3472|      2|    _PyUnicode_InternStatic(interp, &string);
 3473|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  ------------------
  |  Branch (3473:5): [True: 2, False: 0]
  ------------------
 3474|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3474:5): [True: 2, False: 0]
  ------------------
 3475|      2|    string = &_Py_STR(dbl_open_br);
  ------------------
  |  |  922|      2|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3476|      2|    _PyUnicode_InternStatic(interp, &string);
 3477|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  ------------------
  |  Branch (3477:5): [True: 2, False: 0]
  ------------------
 3478|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3478:5): [True: 2, False: 0]
  ------------------
 3479|      2|    string = &_Py_STR(dbl_close_br);
  ------------------
  |  |  922|      2|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3480|      2|    _PyUnicode_InternStatic(interp, &string);
 3481|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  ------------------
  |  Branch (3481:5): [True: 2, False: 0]
  ------------------
 3482|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3482:5): [True: 2, False: 0]
  ------------------
 3483|      2|}

typeobject.c:_PyWeakref_GET_REF:
   73|      8|{
   74|      8|    assert(PyWeakref_Check(ref_obj));
  ------------------
  |  Branch (74:5): [True: 0, False: 0]
  |  Branch (74:5): [True: 0, False: 0]
  |  Branch (74:5): [True: 8, False: 0]
  ------------------
   75|      8|    PyWeakReference *ref = _Py_CAST(PyWeakReference*, ref_obj);
  ------------------
  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   76|       |
   77|      8|    PyObject *obj = FT_ATOMIC_LOAD_PTR(ref->wr_object);
  ------------------
  |  |  145|      8|#define FT_ATOMIC_LOAD_PTR(value) value
  ------------------
   78|      8|    if (obj == Py_None) {
  ------------------
  |  |  616|      8|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (78:9): [True: 0, False: 8]
  ------------------
   79|       |        // clear_weakref() was called
   80|      0|        return NULL;
   81|      0|    }
   82|       |
   83|      8|    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|      8|    if (_Py_TryIncref(obj)) {
  ------------------
  |  Branch (91:9): [True: 8, False: 0]
  ------------------
   92|      8|        UNLOCK_WEAKREFS(obj);
   93|      8|        return obj;
   94|      8|    }
   95|      0|    UNLOCK_WEAKREFS(obj);
   96|       |    return NULL;
   97|      8|}
weakrefobject.c:_PyWeakref_GET_REF:
   73|    387|{
   74|    387|    assert(PyWeakref_Check(ref_obj));
  ------------------
  |  Branch (74:5): [True: 0, False: 0]
  |  Branch (74:5): [True: 0, False: 0]
  |  Branch (74:5): [True: 387, False: 0]
  ------------------
   75|    387|    PyWeakReference *ref = _Py_CAST(PyWeakReference*, ref_obj);
  ------------------
  |  |   37|    387|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   76|       |
   77|    387|    PyObject *obj = FT_ATOMIC_LOAD_PTR(ref->wr_object);
  ------------------
  |  |  145|    387|#define FT_ATOMIC_LOAD_PTR(value) value
  ------------------
   78|    387|    if (obj == Py_None) {
  ------------------
  |  |  616|    387|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (78:9): [True: 0, False: 387]
  ------------------
   79|       |        // clear_weakref() was called
   80|      0|        return NULL;
   81|      0|    }
   82|       |
   83|    387|    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|    387|    if (_Py_TryIncref(obj)) {
  ------------------
  |  Branch (91:9): [True: 387, False: 0]
  ------------------
   92|    387|        UNLOCK_WEAKREFS(obj);
   93|    387|        return obj;
   94|    387|    }
   95|      0|    UNLOCK_WEAKREFS(obj);
   96|       |    return NULL;
   97|    387|}
import.c:_PyWeakref_GET_REF:
   73|      2|{
   74|      2|    assert(PyWeakref_Check(ref_obj));
  ------------------
  |  Branch (74:5): [True: 0, False: 0]
  |  Branch (74:5): [True: 0, False: 0]
  |  Branch (74:5): [True: 2, False: 0]
  ------------------
   75|      2|    PyWeakReference *ref = _Py_CAST(PyWeakReference*, ref_obj);
  ------------------
  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   76|       |
   77|      2|    PyObject *obj = FT_ATOMIC_LOAD_PTR(ref->wr_object);
  ------------------
  |  |  145|      2|#define FT_ATOMIC_LOAD_PTR(value) value
  ------------------
   78|      2|    if (obj == Py_None) {
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (78:9): [True: 0, False: 2]
  ------------------
   79|       |        // clear_weakref() was called
   80|      0|        return NULL;
   81|      0|    }
   82|       |
   83|      2|    LOCK_WEAKREFS(obj);
   84|       |#ifdef Py_GIL_DISABLED
   85|       |    if (ref->wr_object == Py_None) {
   86|       |        // clear_weakref() was called
   87|       |        UNLOCK_WEAKREFS(obj);
   88|       |        return NULL;
   89|       |    }
   90|       |#endif
   91|      2|    if (_Py_TryIncref(obj)) {
  ------------------
  |  Branch (91:9): [True: 2, False: 0]
  ------------------
   92|      2|        UNLOCK_WEAKREFS(obj);
   93|      2|        return obj;
   94|      2|    }
   95|      0|    UNLOCK_WEAKREFS(obj);
   96|       |    return NULL;
   97|      2|}
_weakref.c:_PyWeakref_IS_DEAD:
  100|    120|{
  101|    120|    assert(PyWeakref_Check(ref_obj));
  ------------------
  |  Branch (101:5): [True: 0, False: 0]
  |  Branch (101:5): [True: 0, False: 0]
  |  Branch (101:5): [True: 120, False: 0]
  ------------------
  102|    120|    int ret = 0;
  103|    120|    PyWeakReference *ref = _Py_CAST(PyWeakReference*, ref_obj);
  ------------------
  |  |   37|    120|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  104|    120|    PyObject *obj = FT_ATOMIC_LOAD_PTR(ref->wr_object);
  ------------------
  |  |  145|    120|#define FT_ATOMIC_LOAD_PTR(value) value
  ------------------
  105|    120|    if (obj == Py_None) {
  ------------------
  |  |  616|    120|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (105:9): [True: 120, False: 0]
  ------------------
  106|       |        // clear_weakref() was called
  107|    120|        ret = 1;
  108|    120|    }
  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|    120|    return ret;
  120|    120|}

bytesobject.c:Py_SET_TYPE:
  206|  1.16M|{
  207|  1.16M|    ob->ob_type = type;
  208|  1.16M|}
bytesobject.c:PyType_HasFeature:
  749|   821k|{
  750|   821k|    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|   821k|    flags = type->tp_flags;
  756|   821k|#endif
  757|   821k|    return ((flags & feature) != 0);
  758|   821k|}
bytesobject.c:_Py_TYPE_impl:
  233|  4.38M|{
  234|  4.38M|    return ob->ob_type;
  235|  4.38M|}
bytesobject.c:_Py_IS_TYPE_impl:
  248|    129|{
  249|    129|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    129|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    129|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    129|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    129|}
bytesobject.c:_Py_SIZE_impl:
  240|   615k|{
  241|   615k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 615k, False: 0]
  ------------------
  242|   615k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 615k, False: 0]
  ------------------
  243|   615k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   615k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   615k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   615k|}
bytesobject.c:_Py_SET_SIZE_impl:
  254|  1.16M|{
  255|  1.16M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 1.16M, False: 0]
  ------------------
  256|  1.16M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 1.16M, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|  1.16M|    ob->ob_size = size;
  261|  1.16M|#endif
  262|  1.16M|}
call.c:_Py_TYPE_impl:
  233|  42.2M|{
  234|  42.2M|    return ob->ob_type;
  235|  42.2M|}
call.c:PyType_HasFeature:
  749|  11.6M|{
  750|  11.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|  11.6M|    flags = type->tp_flags;
  756|  11.6M|#endif
  757|  11.6M|    return ((flags & feature) != 0);
  758|  11.6M|}
call.c:_Py_SIZE_impl:
  240|   458k|{
  241|   458k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 458k, False: 0]
  ------------------
  242|   458k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 458k, False: 0]
  ------------------
  243|   458k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   458k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   458k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   458k|}
call.c:_Py_IS_TYPE_impl:
  248|  20.9M|{
  249|  20.9M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  20.9M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  20.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  20.9M|}
exceptions.c:PyType_Check:
  762|  3.83M|static inline int PyType_Check(PyObject *op) {
  763|  3.83M|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  3.83M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  3.83M|}
exceptions.c:PyType_HasFeature:
  749|  21.5M|{
  750|  21.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|  21.5M|    flags = type->tp_flags;
  756|  21.5M|#endif
  757|  21.5M|    return ((flags & feature) != 0);
  758|  21.5M|}
exceptions.c:_Py_SIZE_impl:
  240|   355k|{
  241|   355k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 355k, False: 0]
  ------------------
  242|   355k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 355k, False: 0]
  ------------------
  243|   355k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   355k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   355k|}
exceptions.c:_Py_TYPE_impl:
  233|  29.2M|{
  234|  29.2M|    return ob->ob_type;
  235|  29.2M|}
exceptions.c:PyObject_TypeCheck:
  374|    242|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    242|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    484|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    242|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    242|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 156, False: 86]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|     86|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     86|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     86|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 86, False: 0]
  ------------------
  376|    242|}
exceptions.c:_Py_IS_TYPE_impl:
  248|  3.11M|{
  249|  3.11M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  3.11M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.11M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.11M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  3.11M|}
genericaliasobject.c:PyType_HasFeature:
  749|      5|{
  750|      5|    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|      5|    flags = type->tp_flags;
  756|      5|#endif
  757|      5|    return ((flags & feature) != 0);
  758|      5|}
genericaliasobject.c:_Py_TYPE_impl:
  233|     10|{
  234|     10|    return ob->ob_type;
  235|     10|}
floatobject.c:Py_SET_TYPE:
  206|     35|{
  207|     35|    ob->ob_type = type;
  208|     35|}
floatobject.c:PyType_HasFeature:
  749|      7|{
  750|      7|    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|    flags = type->tp_flags;
  756|      7|#endif
  757|      7|    return ((flags & feature) != 0);
  758|      7|}
floatobject.c:_Py_TYPE_impl:
  233|  1.11k|{
  234|  1.11k|    return ob->ob_type;
  235|  1.11k|}
floatobject.c:PyObject_TypeCheck:
  374|    414|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    414|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    828|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    414|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    414|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 407, False: 7]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|      7|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 7]
  ------------------
  376|    414|}
floatobject.c:_Py_IS_TYPE_impl:
  248|  1.09k|{
  249|  1.09k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  1.09k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.09k|}
funcobject.c:PyType_HasFeature:
  749|  2.03M|{
  750|  2.03M|    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.03M|    flags = type->tp_flags;
  756|  2.03M|#endif
  757|  2.03M|    return ((flags & feature) != 0);
  758|  2.03M|}
funcobject.c:_Py_TYPE_impl:
  233|  4.49M|{
  234|  4.49M|    return ob->ob_type;
  235|  4.49M|}
funcobject.c:PyObject_TypeCheck:
  374|  27.3k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  27.3k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  54.6k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  27.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 27.3k, False: 0]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 0]
  ------------------
  376|  27.3k|}
funcobject.c:_Py_IS_TYPE_impl:
  248|  2.46M|{
  249|  2.46M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  2.46M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.46M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.46M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  2.46M|}
listobject.c:_Py_SET_SIZE_impl:
  254|  54.0M|{
  255|  54.0M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 54.0M, False: 0]
  ------------------
  256|  54.0M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 54.0M, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|  54.0M|    ob->ob_size = size;
  261|  54.0M|#endif
  262|  54.0M|}
listobject.c:PyType_HasFeature:
  749|   108M|{
  750|   108M|    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|   108M|    flags = type->tp_flags;
  756|   108M|#endif
  757|   108M|    return ((flags & feature) != 0);
  758|   108M|}
listobject.c:_Py_TYPE_impl:
  233|  1.90G|{
  234|  1.90G|    return ob->ob_type;
  235|  1.90G|}
listobject.c:_Py_SIZE_impl:
  240|   823M|{
  241|   823M|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 823M, False: 0]
  ------------------
  242|   823M|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 823M, False: 0]
  ------------------
  243|   823M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   823M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   823M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   823M|}
listobject.c:_Py_IS_TYPE_impl:
  248|  32.9M|{
  249|  32.9M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  32.9M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  32.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  32.9M|}
listobject.c:PyType_Check:
  762|  1.08M|static inline int PyType_Check(PyObject *op) {
  763|  1.08M|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  1.08M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  1.08M|}
longobject.c:Py_SET_TYPE:
  206|  7.74M|{
  207|  7.74M|    ob->ob_type = type;
  208|  7.74M|}
longobject.c:PyType_HasFeature:
  749|  1.42G|{
  750|  1.42G|    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.42G|    flags = type->tp_flags;
  756|  1.42G|#endif
  757|  1.42G|    return ((flags & feature) != 0);
  758|  1.42G|}
longobject.c:_Py_TYPE_impl:
  233|   681M|{
  234|   681M|    return ob->ob_type;
  235|   681M|}
longobject.c:_Py_IS_TYPE_impl:
  248|  58.8M|{
  249|  58.8M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  58.8M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  58.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  58.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  58.8M|}
longobject.c:_Py_SIZE_impl:
  240|   504k|{
  241|   504k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 504k, False: 0]
  ------------------
  242|   504k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 504k, False: 0]
  ------------------
  243|   504k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   504k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   504k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   504k|}
longobject.c:PyObject_TypeCheck:
  374|  1.51M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  1.51M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  3.02M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  1.51M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.51M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 1.51M, 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.51M|}
longobject.c:PyType_Check:
  762|   508k|static inline int PyType_Check(PyObject *op) {
  763|   508k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|   508k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|   508k|}
dictobject.c:PyType_HasFeature:
  749|  88.6M|{
  750|  88.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|  88.6M|    flags = type->tp_flags;
  756|  88.6M|#endif
  757|  88.6M|    return ((flags & feature) != 0);
  758|  88.6M|}
dictobject.c:_Py_TYPE_impl:
  233|   495M|{
  234|   495M|    return ob->ob_type;
  235|   495M|}
dictobject.c:PyObject_TypeCheck:
  374|  13.4M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  13.4M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  26.9M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  13.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 1.75k, False: 13.4M]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 13.4M]
  ------------------
  376|  13.4M|}
dictobject.c:_Py_IS_TYPE_impl:
  248|   144M|{
  249|   144M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   144M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   144M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   144M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   144M|}
dictobject.c:_Py_SIZE_impl:
  240|  1.61k|{
  241|  1.61k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 1.61k, False: 0]
  ------------------
  242|  1.61k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 1.61k, False: 0]
  ------------------
  243|  1.61k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  1.61k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  1.61k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  1.61k|}
dictobject.c:PyType_Check:
  762|  1.08M|static inline int PyType_Check(PyObject *op) {
  763|  1.08M|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  1.08M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  1.08M|}
memoryobject.c:_Py_IS_TYPE_impl:
  248|     48|{
  249|     48|    return Py_TYPE(ob) == type;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     48|}
memoryobject.c:_Py_TYPE_impl:
  233|    192|{
  234|    192|    return ob->ob_type;
  235|    192|}
memoryobject.c:PyType_HasFeature:
  749|     72|{
  750|     72|    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|     72|    flags = type->tp_flags;
  756|     72|#endif
  757|     72|    return ((flags & feature) != 0);
  758|     72|}
memoryobject.c:_Py_SIZE_impl:
  240|     24|{
  241|     24|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 24, False: 0]
  ------------------
  242|     24|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 24, False: 0]
  ------------------
  243|     24|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     24|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     24|}
moduleobject.c:PyObject_TypeCheck:
  374|  25.9k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  25.9k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  51.8k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  25.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 25.9k, 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|  25.9k|}
moduleobject.c:Py_SET_TYPE:
  206|     43|{
  207|     43|    ob->ob_type = type;
  208|     43|}
moduleobject.c:PyType_HasFeature:
  749|  8.12k|{
  750|  8.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|  8.12k|    flags = type->tp_flags;
  756|  8.12k|#endif
  757|  8.12k|    return ((flags & feature) != 0);
  758|  8.12k|}
moduleobject.c:_Py_TYPE_impl:
  233|  4.56M|{
  234|  4.56M|    return ob->ob_type;
  235|  4.56M|}
moduleobject.c:_Py_IS_TYPE_impl:
  248|  4.55M|{
  249|  4.55M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  4.55M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  4.55M|}
moduleobject.c:_Py_SIZE_impl:
  240|     56|{
  241|     56|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 56, False: 0]
  ------------------
  242|     56|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 56, False: 0]
  ------------------
  243|     56|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     56|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     56|}
object.c:_Py_TYPE_impl:
  233|   996M|{
  234|   996M|    return ob->ob_type;
  235|   996M|}
object.c:PyType_HasFeature:
  749|  95.5M|{
  750|  95.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|  95.5M|    flags = type->tp_flags;
  756|  95.5M|#endif
  757|  95.5M|    return ((flags & feature) != 0);
  758|  95.5M|}
object.c:Py_SET_TYPE:
  206|   633k|{
  207|   633k|    ob->ob_type = type;
  208|   633k|}
object.c:_Py_IS_TYPE_impl:
  248|  96.2M|{
  249|  96.2M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  96.2M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  96.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  96.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  96.2M|}
object.c:_Py_SIZE_impl:
  240|    259|{
  241|    259|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 259, False: 0]
  ------------------
  242|    259|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 259, False: 0]
  ------------------
  243|    259|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    259|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    259|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    259|}
object.c:_Py_SET_SIZE_impl:
  254|  2.73k|{
  255|  2.73k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 2.73k, False: 0]
  ------------------
  256|  2.73k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 2.73k, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|  2.73k|    ob->ob_size = size;
  261|  2.73k|#endif
  262|  2.73k|}
rangeobject.c:_Py_IS_TYPE_impl:
  248|  9.03M|{
  249|  9.03M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  9.03M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  9.03M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.03M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  9.03M|}
rangeobject.c:_Py_TYPE_impl:
  233|  32.5M|{
  234|  32.5M|    return ob->ob_type;
  235|  32.5M|}
rangeobject.c:PyType_HasFeature:
  749|  17.7M|{
  750|  17.7M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  17.7M|    flags = type->tp_flags;
  756|  17.7M|#endif
  757|  17.7M|    return ((flags & feature) != 0);
  758|  17.7M|}
sentinelobject.c:PyType_HasFeature:
  749|      5|{
  750|      5|    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|      5|    flags = type->tp_flags;
  756|      5|#endif
  757|      5|    return ((flags & feature) != 0);
  758|      5|}
sentinelobject.c:_Py_TYPE_impl:
  233|    277|{
  234|    277|    return ob->ob_type;
  235|    277|}
sentinelobject.c:_Py_IS_TYPE_impl:
  248|    270|{
  249|    270|    return Py_TYPE(ob) == type;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    270|}
sentinelobject.c:_Py_SIZE_impl:
  240|      1|{
  241|      1|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 1, False: 0]
  ------------------
  242|      1|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 1, False: 0]
  ------------------
  243|      1|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|      1|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|      1|}
setobject.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|}
setobject.c:_Py_IS_TYPE_impl:
  248|  47.7M|{
  249|  47.7M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  47.7M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  47.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  47.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  47.7M|}
setobject.c:_Py_TYPE_impl:
  233|  47.8M|{
  234|  47.8M|    return ob->ob_type;
  235|  47.8M|}
setobject.c:PyType_Check:
  762|  11.8k|static inline int PyType_Check(PyObject *op) {
  763|  11.8k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  11.8k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  11.8k|}
sliceobject.c:PyType_HasFeature:
  749|  2.89M|{
  750|  2.89M|    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.89M|    flags = type->tp_flags;
  756|  2.89M|#endif
  757|  2.89M|    return ((flags & feature) != 0);
  758|  2.89M|}
sliceobject.c:_Py_TYPE_impl:
  233|  5.78M|{
  234|  5.78M|    return ob->ob_type;
  235|  5.78M|}
structseq.c:PyType_HasFeature:
  749|  2.80k|{
  750|  2.80k|    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.80k|    flags = type->tp_flags;
  756|  2.80k|#endif
  757|  2.80k|    return ((flags & feature) != 0);
  758|  2.80k|}
structseq.c:_Py_TYPE_impl:
  233|  11.3k|{
  234|  11.3k|    return ob->ob_type;
  235|  11.3k|}
structseq.c:_Py_SET_SIZE_impl:
  254|    131|{
  255|    131|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 131, False: 0]
  ------------------
  256|    131|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 131, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|    131|    ob->ob_size = size;
  261|    131|#endif
  262|    131|}
structseq.c:_Py_SIZE_impl:
  240|  2.79k|{
  241|  2.79k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 2.79k, False: 0]
  ------------------
  242|  2.79k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 2.79k, False: 0]
  ------------------
  243|  2.79k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  2.79k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  2.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  2.79k|}
structseq.c:Py_SET_TYPE:
  206|     16|{
  207|     16|    ob->ob_type = type;
  208|     16|}
tupleobject.c:PyType_HasFeature:
  749|   257M|{
  750|   257M|    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|   257M|    flags = type->tp_flags;
  756|   257M|#endif
  757|   257M|    return ((flags & feature) != 0);
  758|   257M|}
tupleobject.c:_Py_TYPE_impl:
  233|  1.02G|{
  234|  1.02G|    return ob->ob_type;
  235|  1.02G|}
tupleobject.c:_Py_SIZE_impl:
  240|   284M|{
  241|   284M|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 284M, False: 0]
  ------------------
  242|   284M|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 284M, False: 0]
  ------------------
  243|   284M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   284M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   284M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   284M|}
tupleobject.c:_Py_IS_TYPE_impl:
  248|   115M|{
  249|   115M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   115M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   115M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   115M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   115M|}
tupleobject.c:PyType_Check:
  762|      4|static inline int PyType_Check(PyObject *op) {
  763|      4|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|      4|}
typeobject.c:_Py_IS_TYPE_impl:
  248|   676k|{
  249|   676k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   676k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   676k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   676k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   676k|}
typeobject.c:PyType_Check:
  762|   119k|static inline int PyType_Check(PyObject *op) {
  763|   119k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|   119k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|   119k|}
typeobject.c:PyType_HasFeature:
  749|   362M|{
  750|   362M|    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|   362M|    flags = type->tp_flags;
  756|   362M|#endif
  757|   362M|    return ((flags & feature) != 0);
  758|   362M|}
typeobject.c:_Py_TYPE_impl:
  233|   681M|{
  234|   681M|    return ob->ob_type;
  235|   681M|}
typeobject.c:Py_SET_TYPE:
  206|  16.2M|{
  207|  16.2M|    ob->ob_type = type;
  208|  16.2M|}
typeobject.c:_Py_SET_SIZE_impl:
  254|    533|{
  255|    533|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 533, False: 0]
  ------------------
  256|    533|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 533, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|    533|    ob->ob_size = size;
  261|    533|#endif
  262|    533|}
typeobject.c:_Py_SIZE_impl:
  240|   109M|{
  241|   109M|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 109M, False: 0]
  ------------------
  242|   109M|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 109M, False: 0]
  ------------------
  243|   109M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   109M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   109M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   109M|}
typeobject.c:PyObject_TypeCheck:
  374|   618k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|   618k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  1.23M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|   618k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   618k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 618k, False: 30]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 30, False: 0]
  ------------------
  376|   618k|}
unicode_format.c:PyType_HasFeature:
  749|  11.5M|{
  750|  11.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|  11.5M|    flags = type->tp_flags;
  756|  11.5M|#endif
  757|  11.5M|    return ((flags & feature) != 0);
  758|  11.5M|}
unicode_format.c:_Py_TYPE_impl:
  233|  13.1M|{
  234|  13.1M|    return ob->ob_type;
  235|  13.1M|}
unicode_format.c:_Py_IS_TYPE_impl:
  248|  1.61M|{
  249|  1.61M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  1.61M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.61M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.61M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.61M|}
unicode_writer.c:PyType_HasFeature:
  749|  14.8M|{
  750|  14.8M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  14.8M|    flags = type->tp_flags;
  756|  14.8M|#endif
  757|  14.8M|    return ((flags & feature) != 0);
  758|  14.8M|}
unicode_writer.c:_Py_TYPE_impl:
  233|  14.8M|{
  234|  14.8M|    return ob->ob_type;
  235|  14.8M|}
unicodeobject.c:PyType_HasFeature:
  749|  2.89G|{
  750|  2.89G|    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.89G|    flags = type->tp_flags;
  756|  2.89G|#endif
  757|  2.89G|    return ((flags & feature) != 0);
  758|  2.89G|}
unicodeobject.c:_Py_TYPE_impl:
  233|  2.92G|{
  234|  2.92G|    return ob->ob_type;
  235|  2.92G|}
unicodeobject.c:Py_SET_TYPE:
  206|  4.60M|{
  207|  4.60M|    ob->ob_type = type;
  208|  4.60M|}
unicodeobject.c:_Py_IS_TYPE_impl:
  248|  23.4M|{
  249|  23.4M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  23.4M|}
unicodeobject.c:PyType_Check:
  762|  4.62k|static inline int PyType_Check(PyObject *op) {
  763|  4.62k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  4.62k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  4.62k|}
unicodeobject.c:_Py_SIZE_impl:
  240|  14.4k|{
  241|  14.4k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 14.4k, False: 0]
  ------------------
  242|  14.4k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 14.4k, False: 0]
  ------------------
  243|  14.4k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  14.4k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  14.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  14.4k|}
unicodeobject.c:_Py_SET_SIZE_impl:
  254|     13|{
  255|     13|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 13, False: 0]
  ------------------
  256|     13|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 13, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|     13|    ob->ob_size = size;
  261|     13|#endif
  262|     13|}
unionobject.c:PyType_Check:
  762|      2|static inline int PyType_Check(PyObject *op) {
  763|      2|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|      2|}
unionobject.c:PyType_HasFeature:
  749|      3|{
  750|      3|    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|    flags = type->tp_flags;
  756|      3|#endif
  757|      3|    return ((flags & feature) != 0);
  758|      3|}
unionobject.c:_Py_TYPE_impl:
  233|      8|{
  234|      8|    return ob->ob_type;
  235|      8|}
unionobject.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|}
unionobject.c:_Py_SIZE_impl:
  240|      1|{
  241|      1|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 1, False: 0]
  ------------------
  242|      1|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 1, False: 0]
  ------------------
  243|      1|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|      1|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|      1|}
weakrefobject.c:_Py_TYPE_impl:
  233|  20.9M|{
  234|  20.9M|    return ob->ob_type;
  235|  20.9M|}
weakrefobject.c:PyType_Check:
  762|  6.93M|static inline int PyType_Check(PyObject *op) {
  763|  6.93M|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  6.93M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  6.93M|}
weakrefobject.c:PyObject_TypeCheck:
  374|   153k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|   153k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|   307k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|   153k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   153k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 153k, False: 120]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|    120|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    120|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    120|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 120, False: 0]
  ------------------
  376|   153k|}
weakrefobject.c:_Py_IS_TYPE_impl:
  248|   154k|{
  249|   154k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   154k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   154k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   154k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   154k|}
weakrefobject.c:_Py_SIZE_impl:
  240|    418|{
  241|    418|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 418, False: 0]
  ------------------
  242|    418|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 418, False: 0]
  ------------------
  243|    418|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    418|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    418|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    418|}
weakrefobject.c:PyType_HasFeature:
  749|  6.93M|{
  750|  6.93M|    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.93M|    flags = type->tp_flags;
  756|  6.93M|#endif
  757|  6.93M|    return ((flags & feature) != 0);
  758|  6.93M|}
_warnings.c:PyType_HasFeature:
  749|   114M|{
  750|   114M|    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|   114M|    flags = type->tp_flags;
  756|   114M|#endif
  757|   114M|    return ((flags & feature) != 0);
  758|   114M|}
_warnings.c:_Py_TYPE_impl:
  233|   130M|{
  234|   130M|    return ob->ob_type;
  235|   130M|}
_warnings.c:_Py_SIZE_impl:
  240|  4.99M|{
  241|  4.99M|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 4.99M, False: 0]
  ------------------
  242|  4.99M|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 4.99M, False: 0]
  ------------------
  243|  4.99M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  4.99M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  4.99M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  4.99M|}
_warnings.c:_Py_IS_TYPE_impl:
  248|  4.50M|{
  249|  4.50M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  4.50M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.50M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.50M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  4.50M|}
_warnings.c:PyObject_TypeCheck:
  374|  2.16M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  2.16M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  4.32M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  2.16M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.16M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 2.16M]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  2.16M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.16M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.16M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 2.16M]
  ------------------
  376|  2.16M|}
_warnings.c:PyType_Check:
  762|  1.08M|static inline int PyType_Check(PyObject *op) {
  763|  1.08M|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  1.08M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  1.08M|}
bltinmodule.c:_Py_TYPE_impl:
  233|   121M|{
  234|   121M|    return ob->ob_type;
  235|   121M|}
bltinmodule.c:PyType_Check:
  762|  96.8k|static inline int PyType_Check(PyObject *op) {
  763|  96.8k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  96.8k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  96.8k|}
bltinmodule.c:PyType_HasFeature:
  749|  90.6M|{
  750|  90.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|  90.6M|    flags = type->tp_flags;
  756|  90.6M|#endif
  757|  90.6M|    return ((flags & feature) != 0);
  758|  90.6M|}
bltinmodule.c:_Py_SIZE_impl:
  240|  10.3M|{
  241|  10.3M|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 10.3M, False: 0]
  ------------------
  242|  10.3M|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 10.3M, False: 0]
  ------------------
  243|  10.3M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  10.3M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  10.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  10.3M|}
bltinmodule.c:_Py_IS_TYPE_impl:
  248|    627|{
  249|    627|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    627|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    627|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    627|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    627|}
ceval.c:PyType_HasFeature:
  749|  1.32G|{
  750|  1.32G|    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.32G|    flags = type->tp_flags;
  756|  1.32G|#endif
  757|  1.32G|    return ((flags & feature) != 0);
  758|  1.32G|}
ceval.c:_Py_TYPE_impl:
  233|  5.16G|{
  234|  5.16G|    return ob->ob_type;
  235|  5.16G|}
ceval.c:PyType_Check:
  762|  21.0M|static inline int PyType_Check(PyObject *op) {
  763|  21.0M|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  21.0M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  21.0M|}
ceval.c:_Py_IS_TYPE_impl:
  248|  1.62G|{
  249|  1.62G|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  1.62G|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.62G|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.62G|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.62G|}
ceval.c:PyObject_TypeCheck:
  374|   150M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|   150M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|   300M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|   150M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   150M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 150M, 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|   150M|}
ceval.c:_Py_SIZE_impl:
  240|   181M|{
  241|   181M|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 181M, False: 0]
  ------------------
  242|   181M|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 181M, False: 0]
  ------------------
  243|   181M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   181M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   181M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   181M|}
ceval.c:_Py_SET_SIZE_impl:
  254|  11.0M|{
  255|  11.0M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 11.0M, False: 0]
  ------------------
  256|  11.0M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 11.0M, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|  11.0M|    ob->ob_size = size;
  261|  11.0M|#endif
  262|  11.0M|}
codecs.c:_Py_IS_TYPE_impl:
  248|      9|{
  249|      9|    return Py_TYPE(ob) == type;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|      9|}
codecs.c:_Py_SIZE_impl:
  240|      2|{
  241|      2|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 2, False: 0]
  ------------------
  242|      2|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 2, False: 0]
  ------------------
  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|      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|}
codecs.c:_Py_TYPE_impl:
  233|     17|{
  234|     17|    return ob->ob_type;
  235|     17|}
compile.c:_Py_SIZE_impl:
  240|     27|{
  241|     27|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 27, False: 0]
  ------------------
  242|     27|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 27, False: 0]
  ------------------
  243|     27|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     27|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     27|}
compile.c:PyType_HasFeature:
  749|    150|{
  750|    150|    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|    150|    flags = type->tp_flags;
  756|    150|#endif
  757|    150|    return ((flags & feature) != 0);
  758|    150|}
compile.c:_Py_TYPE_impl:
  233|    300|{
  234|    300|    return ob->ob_type;
  235|    300|}
compile.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|}
context.c:_Py_IS_TYPE_impl:
  248|   674k|{
  249|   674k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   674k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   674k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   674k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   674k|}
context.c:_Py_TYPE_impl:
  233|   674k|{
  234|   674k|    return ob->ob_type;
  235|   674k|}
context.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|}
errors.c:PyType_Check:
  762|  11.2M|static inline int PyType_Check(PyObject *op) {
  763|  11.2M|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  11.2M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  11.2M|}
errors.c:PyType_HasFeature:
  749|  42.0M|{
  750|  42.0M|    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.0M|    flags = type->tp_flags;
  756|  42.0M|#endif
  757|  42.0M|    return ((flags & feature) != 0);
  758|  42.0M|}
errors.c:_Py_TYPE_impl:
  233|  39.2M|{
  234|  39.2M|    return ob->ob_type;
  235|  39.2M|}
flowgraph.c:_Py_SIZE_impl:
  240|     24|{
  241|     24|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 24, False: 0]
  ------------------
  242|     24|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 24, False: 0]
  ------------------
  243|     24|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     24|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     24|}
flowgraph.c:PyType_HasFeature:
  749|    120|{
  750|    120|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    120|    flags = type->tp_flags;
  756|    120|#endif
  757|    120|    return ((flags & feature) != 0);
  758|    120|}
flowgraph.c:_Py_TYPE_impl:
  233|    234|{
  234|    234|    return ob->ob_type;
  235|    234|}
flowgraph.c:_Py_IS_TYPE_impl:
  248|     66|{
  249|     66|    return Py_TYPE(ob) == type;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     66|}
frame.c:_Py_IS_TYPE_impl:
  248|  31.7M|{
  249|  31.7M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  31.7M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  31.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  31.7M|}
frame.c:_Py_TYPE_impl:
  233|  31.7M|{
  234|  31.7M|    return ob->ob_type;
  235|  31.7M|}
gc.c:_Py_SIZE_impl:
  240|  70.6k|{
  241|  70.6k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 70.6k, False: 0]
  ------------------
  242|  70.6k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 70.6k, False: 0]
  ------------------
  243|  70.6k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  70.6k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  70.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  70.6k|}
gc.c:PyType_HasFeature:
  749|  72.5k|{
  750|  72.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|  72.5k|    flags = type->tp_flags;
  756|  72.5k|#endif
  757|  72.5k|    return ((flags & feature) != 0);
  758|  72.5k|}
gc.c:_Py_IS_TYPE_impl:
  248|  67.1M|{
  249|  67.1M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  67.1M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  67.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  67.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  67.1M|}
gc.c:PyType_Check:
  762|  1.90k|static inline int PyType_Check(PyObject *op) {
  763|  1.90k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  1.90k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  1.90k|}
gc.c:PyObject_TypeCheck:
  374|  6.25k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  6.25k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  12.5k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  6.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 6.25k]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  6.25k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 6.25k]
  ------------------
  376|  6.25k|}
gc.c:Py_SET_TYPE:
  206|  53.0M|{
  207|  53.0M|    ob->ob_type = type;
  208|  53.0M|}
gc.c:_Py_TYPE_impl:
  233|   822M|{
  234|   822M|    return ob->ob_type;
  235|   822M|}
gc.c:_Py_SET_SIZE_impl:
  254|  31.7M|{
  255|  31.7M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 31.7M, False: 0]
  ------------------
  256|  31.7M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 31.7M, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|  31.7M|    ob->ob_size = size;
  261|  31.7M|#endif
  262|  31.7M|}
getargs.c:PyType_HasFeature:
  749|  6.49M|{
  750|  6.49M|    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.49M|    flags = type->tp_flags;
  756|  6.49M|#endif
  757|  6.49M|    return ((flags & feature) != 0);
  758|  6.49M|}
getargs.c:_Py_TYPE_impl:
  233|  12.9M|{
  234|  12.9M|    return ob->ob_type;
  235|  12.9M|}
getargs.c:_Py_SIZE_impl:
  240|  3.24M|{
  241|  3.24M|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 3.24M, False: 0]
  ------------------
  242|  3.24M|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 3.24M, False: 0]
  ------------------
  243|  3.24M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  3.24M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  3.24M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  3.24M|}
getargs.c:_Py_IS_TYPE_impl:
  248|     90|{
  249|     90|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     90|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     90|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     90|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     90|}
hamt.c:_Py_IS_TYPE_impl:
  248|   319k|{
  249|   319k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   319k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   319k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   319k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   319k|}
hamt.c:_Py_TYPE_impl:
  233|   319k|{
  234|   319k|    return ob->ob_type;
  235|   319k|}
hamt.c:_Py_SIZE_impl:
  240|    257|{
  241|    257|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 257, False: 0]
  ------------------
  242|    257|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 257, False: 0]
  ------------------
  243|    257|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    257|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    257|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    257|}
hamt.c:_Py_SET_SIZE_impl:
  254|      1|{
  255|      1|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 1, False: 0]
  ------------------
  256|      1|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 1, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|      1|    ob->ob_size = size;
  261|      1|#endif
  262|      1|}
import.c:_Py_SIZE_impl:
  240|     20|{
  241|     20|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 20, False: 0]
  ------------------
  242|     20|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 20, False: 0]
  ------------------
  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|}
import.c:PyType_HasFeature:
  749|  6.46M|{
  750|  6.46M|    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.46M|    flags = type->tp_flags;
  756|  6.46M|#endif
  757|  6.46M|    return ((flags & feature) != 0);
  758|  6.46M|}
import.c:_Py_TYPE_impl:
  233|  6.46M|{
  234|  6.46M|    return ob->ob_type;
  235|  6.46M|}
import.c:PyObject_TypeCheck:
  374|     79|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|     79|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), 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]
  |  |  ------------------
  ------------------
                  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|     79|}
import.c:_Py_IS_TYPE_impl:
  248|    125|{
  249|    125|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    125|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    125|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    125|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    125|}
importdl.c:PyType_HasFeature:
  749|     43|{
  750|     43|    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|     43|    flags = type->tp_flags;
  756|     43|#endif
  757|     43|    return ((flags & feature) != 0);
  758|     43|}
importdl.c:_Py_TYPE_impl:
  233|    113|{
  234|    113|    return ob->ob_type;
  235|    113|}
importdl.c:_Py_IS_TYPE_impl:
  248|     70|{
  249|     70|    return 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     70|}
importdl.c:PyObject_TypeCheck:
  374|     35|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|     35|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|     70|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 35, 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|     35|}
initconfig.c:PyType_HasFeature:
  749|     64|{
  750|     64|    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|     64|    flags = type->tp_flags;
  756|     64|#endif
  757|     64|    return ((flags & feature) != 0);
  758|     64|}
initconfig.c:_Py_TYPE_impl:
  233|    100|{
  234|    100|    return ob->ob_type;
  235|    100|}
initconfig.c:_Py_SIZE_impl:
  240|     10|{
  241|     10|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 10, False: 0]
  ------------------
  242|     10|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 10, False: 0]
  ------------------
  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|}
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|  42.2k|{
  750|  42.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|  42.2k|    flags = type->tp_flags;
  756|  42.2k|#endif
  757|  42.2k|    return ((flags & feature) != 0);
  758|  42.2k|}
intrinsics.c:_Py_TYPE_impl:
  233|  76.1k|{
  234|  76.1k|    return ob->ob_type;
  235|  76.1k|}
intrinsics.c:_Py_IS_TYPE_impl:
  248|  33.8k|{
  249|  33.8k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  33.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  33.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  33.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  33.8k|}
marshal.c:PyType_HasFeature:
  749|   105k|{
  750|   105k|    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|   105k|    flags = type->tp_flags;
  756|   105k|#endif
  757|   105k|    return ((flags & feature) != 0);
  758|   105k|}
marshal.c:_Py_TYPE_impl:
  233|   241k|{
  234|   241k|    return ob->ob_type;
  235|   241k|}
marshal.c:_Py_SIZE_impl:
  240|  67.7k|{
  241|  67.7k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 67.7k, False: 0]
  ------------------
  242|  67.7k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 67.7k, False: 0]
  ------------------
  243|  67.7k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  67.7k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  67.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  67.7k|}
modsupport.c:_Py_TYPE_impl:
  233|  1.14k|{
  234|  1.14k|    return ob->ob_type;
  235|  1.14k|}
modsupport.c:PyType_HasFeature:
  749|    136|{
  750|    136|    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|    136|    flags = type->tp_flags;
  756|    136|#endif
  757|    136|    return ((flags & feature) != 0);
  758|    136|}
modsupport.c:_Py_SIZE_impl:
  240|    136|{
  241|    136|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 136, False: 0]
  ------------------
  242|    136|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 136, False: 0]
  ------------------
  243|    136|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    136|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    136|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    136|}
modsupport.c:PyObject_TypeCheck:
  374|    736|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    736|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  1.47k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    736|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    736|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 736, 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|    736|}
modsupport.c:_Py_IS_TYPE_impl:
  248|    736|{
  249|    736|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    736|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    736|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    736|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    736|}
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|}
pystate.c:_Py_IS_TYPE_impl:
  248|  4.32M|{
  249|  4.32M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  4.32M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.32M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  4.32M|}
pystate.c:_Py_TYPE_impl:
  233|  4.32M|{
  234|  4.32M|    return ob->ob_type;
  235|  4.32M|}
pythonrun.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|}
pythonrun.c:_Py_TYPE_impl:
  233|      6|{
  234|      6|    return ob->ob_type;
  235|      6|}
specialize.c:PyType_Check:
  762|  13.9k|static inline int PyType_Check(PyObject *op) {
  763|  13.9k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  13.9k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  13.9k|}
specialize.c:_Py_TYPE_impl:
  233|  29.0M|{
  234|  29.0M|    return ob->ob_type;
  235|  29.0M|}
specialize.c:_Py_IS_TYPE_impl:
  248|  28.6M|{
  249|  28.6M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  28.6M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  28.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  28.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  28.6M|}
specialize.c:PyObject_TypeCheck:
  374|  42.6k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  42.6k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  85.3k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  42.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  42.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 42.6k, 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|  42.6k|}
specialize.c:_Py_SIZE_impl:
  240|    167|{
  241|    167|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 167, False: 0]
  ------------------
  242|    167|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 167, False: 0]
  ------------------
  243|    167|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    167|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    167|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    167|}
specialize.c:PyType_HasFeature:
  749|  84.4M|{
  750|  84.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|  84.4M|    flags = type->tp_flags;
  756|  84.4M|#endif
  757|  84.4M|    return ((flags & feature) != 0);
  758|  84.4M|}
symtable.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|}
symtable.c:_Py_SIZE_impl:
  240|     21|{
  241|     21|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 21, False: 0]
  ------------------
  242|     21|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 21, False: 0]
  ------------------
  243|     21|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     21|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     21|}
symtable.c:PyType_HasFeature:
  749|    371|{
  750|    371|    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|    371|    flags = type->tp_flags;
  756|    371|#endif
  757|    371|    return ((flags & feature) != 0);
  758|    371|}
symtable.c:_Py_TYPE_impl:
  233|    425|{
  234|    425|    return ob->ob_type;
  235|    425|}
sysmodule.c:PyType_HasFeature:
  749|    708|{
  750|    708|    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|    708|    flags = type->tp_flags;
  756|    708|#endif
  757|    708|    return ((flags & feature) != 0);
  758|    708|}
sysmodule.c:_Py_TYPE_impl:
  233|  1.93k|{
  234|  1.93k|    return ob->ob_type;
  235|  1.93k|}
sysmodule.c:_Py_IS_TYPE_impl:
  248|     39|{
  249|     39|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     39|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     39|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     39|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     39|}
sysmodule.c:_Py_SIZE_impl:
  240|    592|{
  241|    592|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 592, False: 0]
  ------------------
  242|    592|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 592, False: 0]
  ------------------
  243|    592|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    592|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    592|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    592|}
traceback.c:_Py_IS_TYPE_impl:
  248|  6.95M|{
  249|  6.95M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  6.95M|#  define Py_TYPE(ob) _Py_TYPE_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  6.95M|}
traceback.c:PyType_HasFeature:
  749|  3.11M|{
  750|  3.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|  3.11M|    flags = type->tp_flags;
  756|  3.11M|#endif
  757|  3.11M|    return ((flags & feature) != 0);
  758|  3.11M|}
traceback.c:_Py_TYPE_impl:
  233|  10.0M|{
  234|  10.0M|    return ob->ob_type;
  235|  10.0M|}
fileutils.c:PyType_HasFeature:
  749|     10|{
  750|     10|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     10|    flags = type->tp_flags;
  756|     10|#endif
  757|     10|    return ((flags & feature) != 0);
  758|     10|}
fileutils.c:_Py_TYPE_impl:
  233|     10|{
  234|     10|    return ob->ob_type;
  235|     10|}
posixmodule.c:_Py_IS_TYPE_impl:
  248|    389|{
  249|    389|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    389|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    389|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    389|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    389|}
posixmodule.c:_Py_SIZE_impl:
  240|    144|{
  241|    144|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 144, False: 0]
  ------------------
  242|    144|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 144, False: 0]
  ------------------
  243|    144|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    144|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    144|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    144|}
posixmodule.c:_Py_TYPE_impl:
  233|  1.48k|{
  234|  1.48k|    return ob->ob_type;
  235|  1.48k|}
posixmodule.c:PyType_HasFeature:
  749|    809|{
  750|    809|    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|    809|    flags = type->tp_flags;
  756|    809|#endif
  757|    809|    return ((flags & feature) != 0);
  758|    809|}
posixmodule.c:PyObject_TypeCheck:
  374|    389|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    389|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    778|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    389|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    389|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 389, 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|    389|}
_datetimemodule.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|}
_datetimemodule.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|}
_datetimemodule.c:_Py_TYPE_impl:
  233|      4|{
  234|      4|    return ob->ob_type;
  235|      4|}
_datetimemodule.c:Py_SET_TYPE:
  206|      8|{
  207|      8|    ob->ob_type = type;
  208|      8|}
_codecsmodule.c:PyType_HasFeature:
  749|     28|{
  750|     28|    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|     28|    flags = type->tp_flags;
  756|     28|#endif
  757|     28|    return ((flags & feature) != 0);
  758|     28|}
_codecsmodule.c:_Py_TYPE_impl:
  233|     28|{
  234|     28|    return ob->ob_type;
  235|     28|}
_collectionsmodule.c:_Py_TYPE_impl:
  233|  7.23k|{
  234|  7.23k|    return ob->ob_type;
  235|  7.23k|}
_collectionsmodule.c:PyType_HasFeature:
  749|     63|{
  750|     63|    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|     63|    flags = type->tp_flags;
  756|     63|#endif
  757|     63|    return ((flags & feature) != 0);
  758|     63|}
_collectionsmodule.c:_Py_IS_TYPE_impl:
  248|    269|{
  249|    269|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    269|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    269|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    269|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    269|}
_collectionsmodule.c:PyObject_TypeCheck:
  374|    269|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    269|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    538|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    269|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    269|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 269, 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|    269|}
_collectionsmodule.c:_Py_SIZE_impl:
  240|     25|{
  241|     25|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 25, False: 0]
  ------------------
  242|     25|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 25, False: 0]
  ------------------
  243|     25|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     25|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     25|}
_collectionsmodule.c:PyType_Check:
  762|     12|static inline int PyType_Check(PyObject *op) {
  763|     12|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|     12|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|     12|}
_iomodule.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|}
_iomodule.c:_Py_TYPE_impl:
  233|    389|{
  234|    389|    return ob->ob_type;
  235|    389|}
_iomodule.c:PyObject_TypeCheck:
  374|    305|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    305|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    610|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    305|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    305|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 305, 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|    305|}
_iomodule.c:_Py_IS_TYPE_impl:
  248|    305|{
  249|    305|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    305|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    305|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    305|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    305|}
fileio.c:_Py_TYPE_impl:
  233|  1.92k|{
  234|  1.92k|    return ob->ob_type;
  235|  1.92k|}
fileio.c:PyType_Check:
  762|     27|static inline int PyType_Check(PyObject *op) {
  763|     27|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|     27|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|     27|}
fileio.c:PyType_HasFeature:
  749|    186|{
  750|    186|    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|    186|    flags = type->tp_flags;
  756|    186|#endif
  757|    186|    return ((flags & feature) != 0);
  758|    186|}
fileio.c:_Py_SIZE_impl:
  240|     33|{
  241|     33|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 33, False: 0]
  ------------------
  242|     33|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 33, False: 0]
  ------------------
  243|     33|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     33|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     33|}
fileio.c:_Py_IS_TYPE_impl:
  248|     33|{
  249|     33|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     33|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     33|}
bufferedio.c:_Py_IS_TYPE_impl:
  248|    102|{
  249|    102|    return Py_TYPE(ob) == 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    102|}
bufferedio.c:_Py_TYPE_impl:
  233|  1.98k|{
  234|  1.98k|    return ob->ob_type;
  235|  1.98k|}
bufferedio.c:PyType_HasFeature:
  749|    147|{
  750|    147|    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|    147|    flags = type->tp_flags;
  756|    147|#endif
  757|    147|    return ((flags & feature) != 0);
  758|    147|}
bufferedio.c:_Py_SIZE_impl:
  240|     33|{
  241|     33|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 33, False: 0]
  ------------------
  242|     33|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 33, False: 0]
  ------------------
  243|     33|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     33|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     33|}
bufferedio.c:PyObject_TypeCheck:
  374|     36|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|     36|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|     72|#  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]
  |  |  ------------------
  ------------------
                  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|     36|}
textio.c:_Py_SIZE_impl:
  240|     12|{
  241|     12|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 12, False: 0]
  ------------------
  242|     12|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 12, False: 0]
  ------------------
  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|}
textio.c:PyType_HasFeature:
  749|  4.99M|{
  750|  4.99M|    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.99M|    flags = type->tp_flags;
  756|  4.99M|#endif
  757|  4.99M|    return ((flags & feature) != 0);
  758|  4.99M|}
textio.c:_Py_TYPE_impl:
  233|  5.35M|{
  234|  5.35M|    return ob->ob_type;
  235|  5.35M|}
textio.c:PyObject_TypeCheck:
  374|      9|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|      9|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|     18|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 9, 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|      9|}
textio.c:_Py_IS_TYPE_impl:
  248|   359k|{
  249|   359k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   359k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   359k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   359k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   359k|}
itertoolsmodule.c:PyObject_TypeCheck:
  374|    269|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    269|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    538|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    269|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    269|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 269, 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|    269|}
itertoolsmodule.c:_Py_IS_TYPE_impl:
  248|    302|{
  249|    302|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    302|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    302|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    302|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    302|}
itertoolsmodule.c:_Py_TYPE_impl:
  233|  3.43k|{
  234|  3.43k|    return ob->ob_type;
  235|  3.43k|}
itertoolsmodule.c:PyType_HasFeature:
  749|  1.57k|{
  750|  1.57k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  1.57k|    flags = type->tp_flags;
  756|  1.57k|#endif
  757|  1.57k|    return ((flags & feature) != 0);
  758|  1.57k|}
itertoolsmodule.c:_Py_SIZE_impl:
  240|    753|{
  241|    753|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 753, False: 0]
  ------------------
  242|    753|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 753, False: 0]
  ------------------
  243|    753|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    753|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    753|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    753|}
itertoolsmodule.c:Py_SET_TYPE:
  206|      1|{
  207|      1|    ob->ob_type = type;
  208|      1|}
sre.c:PyType_HasFeature:
  749|  20.4M|{
  750|  20.4M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  20.4M|    flags = type->tp_flags;
  756|  20.4M|#endif
  757|  20.4M|    return ((flags & feature) != 0);
  758|  20.4M|}
sre.c:_Py_TYPE_impl:
  233|  20.7M|{
  234|  20.7M|    return ob->ob_type;
  235|  20.7M|}
sre.c:PyObject_TypeCheck:
  374|  2.48k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  2.48k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  4.97k|#  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: 2.48k, 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.48k|}
sre.c:_Py_IS_TYPE_impl:
  248|  2.48k|{
  249|  2.48k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  2.48k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.48k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.48k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  2.48k|}
sre.c:_Py_SIZE_impl:
  240|  2.25k|{
  241|  2.25k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 2.25k, False: 0]
  ------------------
  242|  2.25k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 2.25k, False: 0]
  ------------------
  243|  2.25k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  2.25k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  2.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  2.25k|}
_threadmodule.c:PyObject_TypeCheck:
  374|    451|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    451|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    902|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    451|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    451|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 451, 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|    451|}
_threadmodule.c:_Py_IS_TYPE_impl:
  248|    451|{
  249|    451|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    451|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    451|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    451|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    451|}
_threadmodule.c:_Py_TYPE_impl:
  233|    629|{
  234|    629|    return ob->ob_type;
  235|    629|}
timemodule.c:_Py_TYPE_impl:
  233|    272|{
  234|    272|    return ob->ob_type;
  235|    272|}
timemodule.c:PyObject_TypeCheck:
  374|    272|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    272|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    544|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    272|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    272|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 272, 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|    272|}
timemodule.c:_Py_IS_TYPE_impl:
  248|    272|{
  249|    272|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    272|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    272|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    272|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    272|}
_weakref.c:PyType_HasFeature:
  749|    120|{
  750|    120|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    120|    flags = type->tp_flags;
  756|    120|#endif
  757|    120|    return ((flags & feature) != 0);
  758|    120|}
_weakref.c:_Py_TYPE_impl:
  233|    600|{
  234|    600|    return ob->ob_type;
  235|    600|}
_weakref.c:PyObject_TypeCheck:
  374|    240|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    240|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    480|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    240|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    240|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 240]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|    240|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    240|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    240|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 240, False: 0]
  ------------------
  376|    240|}
_weakref.c:_Py_IS_TYPE_impl:
  248|    240|{
  249|    240|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    240|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    240|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    240|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    240|}
_abc.c:PyObject_TypeCheck:
  374|    626|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    626|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  1.25k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    626|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    626|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 626, 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|    626|}
_abc.c:_Py_IS_TYPE_impl:
  248|    821|{
  249|    821|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    821|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    821|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    821|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    821|}
_abc.c:_Py_TYPE_impl:
  233|  37.7k|{
  234|  37.7k|    return ob->ob_type;
  235|  37.7k|}
_abc.c:PyType_HasFeature:
  749|  7.85k|{
  750|  7.85k|    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.85k|    flags = type->tp_flags;
  756|  7.85k|#endif
  757|  7.85k|    return ((flags & feature) != 0);
  758|  7.85k|}
_abc.c:_Py_SIZE_impl:
  240|  2.02k|{
  241|  2.02k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 2.02k, False: 0]
  ------------------
  242|  2.02k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 2.02k, False: 0]
  ------------------
  243|  2.02k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  2.02k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  2.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  2.02k|}
_abc.c:PyType_Check:
  762|    374|static inline int PyType_Check(PyObject *op) {
  763|    374|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|    374|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|    374|}
_functoolsmodule.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|}
_functoolsmodule.c:_Py_TYPE_impl:
  233|  1.37k|{
  234|  1.37k|    return ob->ob_type;
  235|  1.37k|}
_functoolsmodule.c:_Py_SIZE_impl:
  240|      6|{
  241|      6|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 6, False: 0]
  ------------------
  242|      6|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 6, False: 0]
  ------------------
  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|}
_functoolsmodule.c:PyObject_TypeCheck:
  374|    274|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    274|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    548|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    274|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    274|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 273, False: 1]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|      1|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 1]
  ------------------
  376|    274|}
_functoolsmodule.c:_Py_IS_TYPE_impl:
  248|    274|{
  249|    274|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    274|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    274|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    274|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    274|}
_operator.c:_Py_TYPE_impl:
  233|    269|{
  234|    269|    return ob->ob_type;
  235|    269|}
_operator.c:PyObject_TypeCheck:
  374|    269|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    269|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    538|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    269|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    269|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 269, 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|    269|}
_operator.c:_Py_IS_TYPE_impl:
  248|    269|{
  249|    269|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    269|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    269|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    269|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    269|}
_stat.c:PyType_HasFeature:
  749|      2|{
  750|      2|    unsigned long flags;
  751|      2|#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|      2|    flags = PyType_GetFlags(type);
  754|       |#else
  755|       |    flags = type->tp_flags;
  756|       |#endif
  757|      2|    return ((flags & feature) != 0);
  758|      2|}
_stat.c:_Py_TYPE_impl:
  233|      2|{
  234|      2|    return ob->ob_type;
  235|      2|}
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|    206|{
  234|    206|    return ob->ob_type;
  235|    206|}
getpath.c:PyType_HasFeature:
  749|    156|{
  750|    156|    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|    156|    flags = type->tp_flags;
  756|    156|#endif
  757|    156|    return ((flags & feature) != 0);
  758|    156|}
getpath.c:_Py_SIZE_impl:
  240|     24|{
  241|     24|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 24, False: 0]
  ------------------
  242|     24|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 24, False: 0]
  ------------------
  243|     24|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     24|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     24|}
abstract.c:_Py_TYPE_impl:
  233|   431M|{
  234|   431M|    return ob->ob_type;
  235|   431M|}
abstract.c:PyType_HasFeature:
  749|  76.9M|{
  750|  76.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|  76.9M|    flags = type->tp_flags;
  756|  76.9M|#endif
  757|  76.9M|    return ((flags & feature) != 0);
  758|  76.9M|}
abstract.c:PyType_Check:
  762|  24.5M|static inline int PyType_Check(PyObject *op) {
  763|  24.5M|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  24.5M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  24.5M|}
abstract.c:_Py_IS_TYPE_impl:
  248|   106M|{
  249|   106M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   106M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   106M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   106M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   106M|}
abstract.c:PyObject_TypeCheck:
  374|  20.9M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  20.9M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  41.9M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  20.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 20.9M]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  20.9M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  20.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 24, False: 20.9M]
  ------------------
  376|  20.9M|}
abstract.c:_Py_SIZE_impl:
  240|  9.30k|{
  241|  9.30k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 9.30k, False: 0]
  ------------------
  242|  9.30k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 9.30k, False: 0]
  ------------------
  243|  9.30k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  9.30k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  9.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  9.30k|}
abstract.c:_Py_SET_SIZE_impl:
  254|     62|{
  255|     62|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 62, False: 0]
  ------------------
  256|     62|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 62, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|     62|    ob->ob_size = size;
  261|     62|#endif
  262|     62|}
abstract.c:PyType_CheckExact:
  772|  23.8M|static inline int PyType_CheckExact(PyObject *op) {
  773|  23.8M|    return Py_IS_TYPE(op, &PyType_Type);
  ------------------
  |  |  215|  23.8M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  23.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  774|  23.8M|}
boolobject.c:_Py_IS_TYPE_impl:
  248|  7.29k|{
  249|  7.29k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  7.29k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.29k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  7.29k|}
boolobject.c:_Py_TYPE_impl:
  233|  7.29k|{
  234|  7.29k|    return ob->ob_type;
  235|  7.29k|}
boolobject.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|}
boolobject.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|}
bytes_methods.c:_Py_TYPE_impl:
  233|   779k|{
  234|   779k|    return ob->ob_type;
  235|   779k|}
bytes_methods.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|}
bytes_methods.c:_Py_SIZE_impl:
  240|      3|{
  241|      3|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 3, False: 0]
  ------------------
  242|      3|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 3, False: 0]
  ------------------
  243|      3|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|      3|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|      3|}
bytearrayobject.c:PyType_HasFeature:
  749|  1.59M|{
  750|  1.59M|    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.59M|    flags = type->tp_flags;
  756|  1.59M|#endif
  757|  1.59M|    return ((flags & feature) != 0);
  758|  1.59M|}
bytearrayobject.c:_Py_SET_SIZE_impl:
  254|   953k|{
  255|   953k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 953k, False: 0]
  ------------------
  256|   953k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 953k, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|   953k|    ob->ob_size = size;
  261|   953k|#endif
  262|   953k|}
bytearrayobject.c:PyObject_TypeCheck:
  374|  36.7M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  36.7M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  73.4M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  36.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 25.8M, False: 10.9M]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  10.9M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  10.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 10.9M]
  ------------------
  376|  36.7M|}
bytearrayobject.c:_Py_IS_TYPE_impl:
  248|  37.2M|{
  249|  37.2M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  37.2M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  37.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  37.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  37.2M|}
bytearrayobject.c:_Py_SIZE_impl:
  240|  12.9M|{
  241|  12.9M|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 12.9M, False: 0]
  ------------------
  242|  12.9M|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 12.9M, False: 0]
  ------------------
  243|  12.9M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  12.9M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  12.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  12.9M|}
bytearrayobject.c:_Py_TYPE_impl:
  233|  90.0M|{
  234|  90.0M|    return ob->ob_type;
  235|  90.0M|}
capsule.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|}
capsule.c:_Py_TYPE_impl:
  233|      3|{
  234|      3|    return ob->ob_type;
  235|      3|}
cellobject.c:_Py_IS_TYPE_impl:
  248|    237|{
  249|    237|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    237|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    237|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    237|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    237|}
cellobject.c:_Py_TYPE_impl:
  233|    237|{
  234|    237|    return ob->ob_type;
  235|    237|}
classobject.c:_Py_IS_TYPE_impl:
  248|  12.3M|{
  249|  12.3M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  12.3M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  12.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  12.3M|}
classobject.c:_Py_TYPE_impl:
  233|  12.3M|{
  234|  12.3M|    return ob->ob_type;
  235|  12.3M|}
codeobject.c:PyType_HasFeature:
  749|  1.33M|{
  750|  1.33M|    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.33M|    flags = type->tp_flags;
  756|  1.33M|#endif
  757|  1.33M|    return ((flags & feature) != 0);
  758|  1.33M|}
codeobject.c:_Py_TYPE_impl:
  233|  3.70M|{
  234|  3.70M|    return ob->ob_type;
  235|  3.70M|}
codeobject.c:_Py_SIZE_impl:
  240|  1.15M|{
  241|  1.15M|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 1.15M, False: 0]
  ------------------
  242|  1.15M|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 1.15M, False: 0]
  ------------------
  243|  1.15M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  1.15M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  1.15M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  1.15M|}
codeobject.c:_Py_IS_TYPE_impl:
  248|  53.9k|{
  249|  53.9k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  53.9k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  53.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  53.9k|}
descrobject.c:PyType_HasFeature:
  749|  1.09M|{
  750|  1.09M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  1.09M|    flags = type->tp_flags;
  756|  1.09M|#endif
  757|  1.09M|    return ((flags & feature) != 0);
  758|  1.09M|}
descrobject.c:PyType_Check:
  762|  1.08M|static inline int PyType_Check(PyObject *op) {
  763|  1.08M|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  1.08M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  1.08M|}
descrobject.c:_Py_SIZE_impl:
  240|  2.46k|{
  241|  2.46k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 2.46k, False: 0]
  ------------------
  242|  2.46k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 2.46k, False: 0]
  ------------------
  243|  2.46k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  2.46k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  2.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  2.46k|}
descrobject.c:_Py_TYPE_impl:
  233|  90.5M|{
  234|  90.5M|    return ob->ob_type;
  235|  90.5M|}
descrobject.c:_Py_IS_TYPE_impl:
  248|  28.6M|{
  249|  28.6M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  28.6M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  28.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  28.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  28.6M|}
descrobject.c:PyObject_TypeCheck:
  374|  28.6M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  28.6M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  57.2M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  28.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  28.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 7.25M, False: 21.3M]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  21.3M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  21.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 21.3M, False: 0]
  ------------------
  376|  28.6M|}
enumobject.c:_Py_TYPE_impl:
  233|  66.0M|{
  234|  66.0M|    return ob->ob_type;
  235|  66.0M|}
enumobject.c:PyType_HasFeature:
  749|  31.5M|{
  750|  31.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|  31.5M|    flags = type->tp_flags;
  756|  31.5M|#endif
  757|  31.5M|    return ((flags & feature) != 0);
  758|  31.5M|}
enumobject.c:_Py_SIZE_impl:
  240|  11.4M|{
  241|  11.4M|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 11.4M, False: 0]
  ------------------
  242|  11.4M|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 11.4M, False: 0]
  ------------------
  243|  11.4M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  11.4M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  11.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  11.4M|}
enumobject.c:PyType_Check:
  762|  2.99M|static inline int PyType_Check(PyObject *op) {
  763|  2.99M|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  2.99M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  2.99M|}
genobject.c:_Py_IS_TYPE_impl:
  248|  10.7M|{
  249|  10.7M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  10.7M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  10.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  10.7M|}
genobject.c:_Py_TYPE_impl:
  233|  10.7M|{
  234|  10.7M|    return ob->ob_type;
  235|  10.7M|}
fileobject.c:PyType_HasFeature:
  749|     24|{
  750|     24|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     24|    flags = type->tp_flags;
  756|     24|#endif
  757|     24|    return ((flags & feature) != 0);
  758|     24|}
fileobject.c:_Py_TYPE_impl:
  233|     24|{
  234|     24|    return ob->ob_type;
  235|     24|}
frameobject.c:PyObject_TypeCheck:
  374|  6.02M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  6.02M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  12.0M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  6.02M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.02M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 6.02M, 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|  6.02M|}
frameobject.c:_Py_IS_TYPE_impl:
  248|   808M|{
  249|   808M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   808M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   808M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   808M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   808M|}
frameobject.c:_Py_SIZE_impl:
  240|      4|{
  241|      4|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 4, False: 0]
  ------------------
  242|      4|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 4, False: 0]
  ------------------
  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|}
frameobject.c:PyType_HasFeature:
  749|     10|{
  750|     10|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     10|    flags = type->tp_flags;
  756|     10|#endif
  757|     10|    return ((flags & feature) != 0);
  758|     10|}
frameobject.c:_Py_TYPE_impl:
  233|   808M|{
  234|   808M|    return ob->ob_type;
  235|   808M|}
iterobject.c:_Py_IS_TYPE_impl:
  248|  7.89M|{
  249|  7.89M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  7.89M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.89M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.89M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  7.89M|}
iterobject.c:_Py_TYPE_impl:
  233|  7.89M|{
  234|  7.89M|    return ob->ob_type;
  235|  7.89M|}
lazyimportobject.c:PyType_HasFeature:
  749|     19|{
  750|     19|    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|    flags = type->tp_flags;
  756|     19|#endif
  757|     19|    return ((flags & feature) != 0);
  758|     19|}
lazyimportobject.c:_Py_TYPE_impl:
  233|     47|{
  234|     47|    return ob->ob_type;
  235|     47|}
lazyimportobject.c:_Py_IS_TYPE_impl:
  248|     26|{
  249|     26|    return Py_TYPE(ob) == type;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     26|}
methodobject.c:PyObject_TypeCheck:
  374|  54.4M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  54.4M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|   108M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  54.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 54.4M, False: 2.43k]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  2.43k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 2.42k, False: 12]
  ------------------
  376|  54.4M|}
methodobject.c:_Py_IS_TYPE_impl:
  248|  61.3M|{
  249|  61.3M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  61.3M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  61.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  61.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  61.3M|}
methodobject.c:_Py_TYPE_impl:
  233|  61.3M|{
  234|  61.3M|    return ob->ob_type;
  235|  61.3M|}
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|     36|{
  234|     36|    return ob->ob_type;
  235|     36|}
assemble.c:PyType_HasFeature:
  749|    183|{
  750|    183|    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|    183|    flags = type->tp_flags;
  756|    183|#endif
  757|    183|    return ((flags & feature) != 0);
  758|    183|}
assemble.c:_Py_TYPE_impl:
  233|    311|{
  234|    311|    return ob->ob_type;
  235|    311|}
assemble.c:_Py_SIZE_impl:
  240|     64|{
  241|     64|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 64, False: 0]
  ------------------
  242|     64|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 64, False: 0]
  ------------------
  243|     64|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     64|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     64|}
crossinterp.c:_Py_TYPE_impl:
  233|      2|{
  234|      2|    return ob->ob_type;
  235|      2|}
pegen.c:PyType_HasFeature:
  749|    162|{
  750|    162|    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|    162|    flags = type->tp_flags;
  756|    162|#endif
  757|    162|    return ((flags & feature) != 0);
  758|    162|}
pegen.c:_Py_TYPE_impl:
  233|    162|{
  234|    162|    return ob->ob_type;
  235|    162|}

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

bytesobject.c:_Py_IsImmortal:
  127|  1.32M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  1.32M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.32M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.32M|}
bytesobject.c:Py_INCREF:
  256|  1.16M|{
  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.16M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.16M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.16M, False: 16]
  ------------------
  288|       |        // the object is immortal
  289|  1.16M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.16M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.16M|        return;
  291|  1.16M|    }
  292|     16|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     16|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     16|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     16|#endif
  308|     16|}
bytesobject.c:Py_DECREF:
  418|   161k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   161k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   161k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   161k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   161k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 161k, False: 12]
  |  |  ------------------
  ------------------
  422|   161k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   161k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   161k|        return;
  424|   161k|    }
  425|     12|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     12|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     12|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 9, False: 3]
  ------------------
  427|      9|        _Py_Dealloc(op);
  428|      9|    }
  429|     12|}
bytesobject.c:Py_XDECREF:
  518|    312|{
  519|    312|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    312|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 5, False: 307]
  ------------------
  520|      5|        Py_DECREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|      5|    }
  522|    312|}
bytesobject.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|}
bytesobject.c:_Py_REFCNT:
  105|    496|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|    496|    #if !defined(Py_GIL_DISABLED)
  107|    496|        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|    496|    }
call.c:Py_DECREF:
  418|  2.40M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  2.40M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  2.40M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.40M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.40M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 712k, False: 1.69M]
  |  |  ------------------
  ------------------
  422|   712k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   712k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   712k|        return;
  424|   712k|    }
  425|  1.69M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.69M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.69M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 622k, False: 1.07M]
  ------------------
  427|   622k|        _Py_Dealloc(op);
  428|   622k|    }
  429|  1.69M|}
call.c:_Py_IsImmortal:
  127|  2.40M|{
  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.40M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  2.40M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  2.40M|}
call.c:_Py_IsStaticImmortal:
  141|  1.06M|{
  142|  1.06M|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|  1.06M|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|  1.06M|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|  1.06M|}
call.c:_Py_NewRef:
  535|    400|{
  536|    400|    Py_INCREF(obj);
  ------------------
  |  |  310|    400|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    400|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    400|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    400|    return obj;
  538|    400|}
call.c:Py_INCREF:
  256|    400|{
  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|    400|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    400|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 308, False: 92]
  ------------------
  288|       |        // the object is immortal
  289|    308|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    308|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    308|        return;
  291|    308|    }
  292|     92|    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|     92|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     92|#  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|     92|#endif
  308|     92|}
exceptions.c:_Py_XNewRef:
  541|  5.87M|{
  542|  5.87M|    Py_XINCREF(obj);
  ------------------
  |  |  514|  5.87M|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.87M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.87M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  5.87M|    return obj;
  544|  5.87M|}
exceptions.c:Py_XINCREF:
  508|  5.87M|{
  509|  5.87M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  5.87M|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 359k, False: 5.51M]
  ------------------
  510|   359k|        Py_INCREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|   359k|    }
  512|  5.87M|}
exceptions.c:Py_XDECREF:
  518|  3.12M|{
  519|  3.12M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  3.12M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 361k, False: 2.75M]
  ------------------
  520|   361k|        Py_DECREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|   361k|    }
  522|  3.12M|}
exceptions.c:_Py_NewRef:
  535|  3.12M|{
  536|  3.12M|    Py_INCREF(obj);
  ------------------
  |  |  310|  3.12M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.12M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.12M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  3.12M|    return obj;
  538|  3.12M|}
exceptions.c:Py_INCREF:
  256|  3.48M|{
  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.48M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  3.48M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 37, False: 3.48M]
  ------------------
  288|       |        // the object is immortal
  289|     37|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     37|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     37|        return;
  291|     37|    }
  292|  3.48M|    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.48M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  3.48M|#  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.48M|#endif
  308|  3.48M|}
exceptions.c:Py_DECREF:
  418|  6.96M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  6.96M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  6.96M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.96M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.96M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 32.3k, False: 6.93M]
  |  |  ------------------
  ------------------
  422|  32.3k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  32.3k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  32.3k|        return;
  424|  32.3k|    }
  425|  6.93M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  6.93M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  6.93M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 6.56M, False: 361k]
  ------------------
  427|  6.56M|        _Py_Dealloc(op);
  428|  6.56M|    }
  429|  6.93M|}
exceptions.c:_Py_IsImmortal:
  127|  6.96M|{
  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.96M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  6.96M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  6.96M|}
genericaliasobject.c:Py_XDECREF:
  518|     15|{
  519|     15|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     15|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 10, False: 5]
  ------------------
  520|     10|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     10|    }
  522|     15|}
genericaliasobject.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: 5, False: 5]
  |  |  ------------------
  ------------------
  422|      5|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      5|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      5|        return;
  424|      5|    }
  425|      5|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      5|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      5|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 5, False: 0]
  ------------------
  427|      5|        _Py_Dealloc(op);
  428|      5|    }
  429|      5|}
genericaliasobject.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|}
genericaliasobject.c:_Py_NewRef:
  535|      5|{
  536|      5|    Py_INCREF(obj);
  ------------------
  |  |  310|      5|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|      5|    return obj;
  538|      5|}
genericaliasobject.c:Py_INCREF:
  256|      5|{
  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|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|      5|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 5, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|      5|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      5|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      5|        return;
  291|      5|    }
  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|}
genericaliasobject.c:_Py_REFCNT:
  105|      5|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|      5|    #if !defined(Py_GIL_DISABLED)
  107|      5|        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|      5|    }
floatobject.c:_Py_IsImmortal:
  127|     35|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     35|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     35|}
floatobject.c:Py_INCREF:
  256|     35|{
  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|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     35|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 35, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|     35|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     35|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     35|        return;
  291|     35|    }
  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|}
funcobject.c:Py_XDECREF:
  518|    251|{
  519|    251|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    251|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 75, False: 176]
  ------------------
  520|     75|        Py_DECREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     75|    }
  522|    251|}
funcobject.c:Py_INCREF:
  256|  5.07M|{
  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.07M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  5.07M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 3.04M, False: 2.03M]
  ------------------
  288|       |        // the object is immortal
  289|  3.04M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  3.04M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  3.04M|        return;
  291|  3.04M|    }
  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|}
funcobject.c:_Py_NewRef:
  535|  1.01M|{
  536|  1.01M|    Py_INCREF(obj);
  ------------------
  |  |  310|  1.01M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  1.01M|    return obj;
  538|  1.01M|}
funcobject.c:_Py_XNewRef:
  541|    189|{
  542|    189|    Py_XINCREF(obj);
  ------------------
  |  |  514|    189|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    189|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    189|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|    189|    return obj;
  544|    189|}
funcobject.c:Py_XINCREF:
  508|    189|{
  509|    189|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    189|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 0, False: 189]
  ------------------
  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|    189|}
funcobject.c:_Py_REFCNT:
  105|  6.07M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  6.07M|    #if !defined(Py_GIL_DISABLED)
  107|  6.07M|        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.07M|    }
funcobject.c:Py_DECREF:
  418|  10.1M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  10.1M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  10.1M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 5.06M, False: 5.03M]
  |  |  ------------------
  ------------------
  422|  5.06M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  5.06M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  5.06M|        return;
  424|  5.06M|    }
  425|  5.03M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  5.03M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  5.03M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 989k, False: 4.04M]
  ------------------
  427|   989k|        _Py_Dealloc(op);
  428|   989k|    }
  429|  5.03M|}
funcobject.c:_Py_IsImmortal:
  127|  12.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|  12.1M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  12.1M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  12.1M|}
funcobject.c:Py_SET_REFCNT:
  154|  2.02M|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|  2.02M|    assert(refcnt >= 0);
  ------------------
  |  Branch (155:5): [True: 2.02M, False: 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|  2.02M|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|  2.02M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.02M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.02M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 2.02M]
  |  |  ------------------
  ------------------
  167|      0|        return;
  168|      0|    }
  169|  2.02M|#ifndef Py_GIL_DISABLED
  170|  2.02M|#if SIZEOF_VOID_P > 4
  171|  2.02M|    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|  2.02M|#endif  // Py_LIMITED_API
  199|  2.02M|}
listobject.c:Py_DECREF:
  418|   742M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   742M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   742M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   742M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   742M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 12.1M, False: 729M]
  |  |  ------------------
  ------------------
  422|  12.1M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  12.1M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  12.1M|        return;
  424|  12.1M|    }
  425|   729M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   729M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   729M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 25.7M, False: 704M]
  ------------------
  427|  25.7M|        _Py_Dealloc(op);
  428|  25.7M|    }
  429|   729M|}
listobject.c:_Py_IsImmortal:
  127|   742M|{
  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|   742M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   742M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   742M|}
listobject.c:Py_XDECREF:
  518|   737M|{
  519|   737M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   737M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 733M, False: 4.04M]
  ------------------
  520|   733M|        Py_DECREF(op);
  ------------------
  |  |  430|   733M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   733M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   733M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|   733M|    }
  522|   737M|}
listobject.c:_Py_NewRef:
  535|   715M|{
  536|   715M|    Py_INCREF(obj);
  ------------------
  |  |  310|   715M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   715M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   715M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|   715M|    return obj;
  538|   715M|}
listobject.c:Py_INCREF:
  256|   726M|{
  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|   726M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   726M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 11.2M, False: 715M]
  ------------------
  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|   715M|    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|   715M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   715M|#  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|   715M|#endif
  308|   715M|}
listobject.c:_Py_XNewRef:
  541|  7.34M|{
  542|  7.34M|    Py_XINCREF(obj);
  ------------------
  |  |  514|  7.34M|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.34M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.34M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  7.34M|    return obj;
  544|  7.34M|}
listobject.c:Py_XINCREF:
  508|  7.34M|{
  509|  7.34M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  7.34M|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 7.34M, False: 0]
  ------------------
  510|  7.34M|        Py_INCREF(op);
  ------------------
  |  |  310|  7.34M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.34M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.34M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  7.34M|    }
  512|  7.34M|}
longobject.c:_Py_IsImmortal:
  127|  42.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|  42.1M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  42.1M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  42.1M|}
longobject.c:Py_DECREF:
  418|   345k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   345k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   345k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   345k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   345k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 208k, False: 137k]
  |  |  ------------------
  ------------------
  422|   208k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   208k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   208k|        return;
  424|   208k|    }
  425|   137k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   137k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   137k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 11.7k, False: 125k]
  ------------------
  427|  11.7k|        _Py_Dealloc(op);
  428|  11.7k|    }
  429|   137k|}
longobject.c:Py_XDECREF:
  518|  17.0k|{
  519|  17.0k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  17.0k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 14.3k, False: 2.72k]
  ------------------
  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|  17.0k|}
longobject.c:Py_INCREF:
  256|  7.75M|{
  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.75M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  7.75M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 7.74M, False: 1.18k]
  ------------------
  288|       |        // the object is immortal
  289|  7.74M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  7.74M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  7.74M|        return;
  291|  7.74M|    }
  292|  1.18k|    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.18k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.18k|#  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.18k|#endif
  308|  1.18k|}
longobject.c:_Py_NewRef:
  535|  2.96k|{
  536|  2.96k|    Py_INCREF(obj);
  ------------------
  |  |  310|  2.96k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  2.96k|    return obj;
  538|  2.96k|}
longobject.c:_Py_REFCNT:
  105|   186k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|   186k|    #if !defined(Py_GIL_DISABLED)
  107|   186k|        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|   186k|    }
dictobject.c:_Py_XNewRef:
  541|  7.97M|{
  542|  7.97M|    Py_XINCREF(obj);
  ------------------
  |  |  514|  7.97M|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.97M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.97M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  7.97M|    return obj;
  544|  7.97M|}
dictobject.c:Py_XINCREF:
  508|  7.97M|{
  509|  7.97M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  7.97M|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 6.63M, False: 1.33M]
  ------------------
  510|  6.63M|        Py_INCREF(op);
  ------------------
  |  |  310|  6.63M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.63M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.63M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  6.63M|    }
  512|  7.97M|}
dictobject.c:_Py_IsImmortal:
  127|  43.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|  43.4M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  43.4M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  43.4M|}
dictobject.c:_Py_IsStaticImmortal:
  141|  2.05M|{
  142|  2.05M|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|  2.05M|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|  2.05M|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|  2.05M|}
dictobject.c:Py_INCREF:
  256|  38.4M|{
  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.4M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  38.4M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 10.2M, False: 28.1M]
  ------------------
  288|       |        // the object is immortal
  289|  10.2M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  10.2M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  10.2M|        return;
  291|  10.2M|    }
  292|  28.1M|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  28.1M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  28.1M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  28.1M|#endif
  308|  28.1M|}
dictobject.c:Py_DECREF:
  418|  40.2M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  40.2M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  40.2M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  40.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  40.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 8.21M, False: 31.9M]
  |  |  ------------------
  ------------------
  422|  8.21M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  8.21M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  8.21M|        return;
  424|  8.21M|    }
  425|  31.9M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  31.9M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  31.9M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 11.7M, False: 20.2M]
  ------------------
  427|  11.7M|        _Py_Dealloc(op);
  428|  11.7M|    }
  429|  31.9M|}
dictobject.c:_Py_REFCNT:
  105|  8.31M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  8.31M|    #if !defined(Py_GIL_DISABLED)
  107|  8.31M|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|  8.31M|    }
dictobject.c:_Py_NewRef:
  535|  28.3M|{
  536|  28.3M|    Py_INCREF(obj);
  ------------------
  |  |  310|  28.3M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  28.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  28.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  28.3M|    return obj;
  538|  28.3M|}
dictobject.c:Py_XDECREF:
  518|  8.11M|{
  519|  8.11M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  8.11M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 8.10M, False: 11.7k]
  ------------------
  520|  8.10M|        Py_DECREF(op);
  ------------------
  |  |  430|  8.10M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.10M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.10M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  8.10M|    }
  522|  8.11M|}
dictobject.c:Py_SET_REFCNT:
  154|  2.19M|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|  2.19M|    assert(refcnt >= 0);
  ------------------
  |  Branch (155:5): [True: 2.19M, False: 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|  2.19M|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|  2.19M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.19M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.19M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 2.19M]
  |  |  ------------------
  ------------------
  167|      0|        return;
  168|      0|    }
  169|  2.19M|#ifndef Py_GIL_DISABLED
  170|  2.19M|#if SIZEOF_VOID_P > 4
  171|  2.19M|    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|  2.19M|#endif  // Py_LIMITED_API
  199|  2.19M|}
memoryobject.c:_Py_NewRef:
  535|   711k|{
  536|   711k|    Py_INCREF(obj);
  ------------------
  |  |  310|   711k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   711k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   711k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|   711k|    return obj;
  538|   711k|}
memoryobject.c:Py_INCREF:
  256|   711k|{
  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|   711k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   711k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 711k]
  ------------------
  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|   711k|    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|   711k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   711k|#  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|   711k|#endif
  308|   711k|}
memoryobject.c:Py_DECREF:
  418|   711k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   711k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   711k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   711k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   711k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 711k]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|   711k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   711k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   711k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 355k, False: 355k]
  ------------------
  427|   355k|        _Py_Dealloc(op);
  428|   355k|    }
  429|   711k|}
memoryobject.c:_Py_IsImmortal:
  127|   711k|{
  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|   711k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   711k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   711k|}
moduleobject.c:Py_SET_REFCNT:
  154|     43|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|     43|    assert(refcnt >= 0);
  ------------------
  |  Branch (155:5): [True: 43, False: 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|     43|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|     43|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     43|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     43|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 43, False: 0]
  |  |  ------------------
  ------------------
  167|     43|        return;
  168|     43|    }
  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|  3.02M|{
  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.02M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  3.02M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  3.02M|}
moduleobject.c:_Py_NewRef:
  535|    105|{
  536|    105|    Py_INCREF(obj);
  ------------------
  |  |  310|    105|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    105|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    105|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    105|    return obj;
  538|    105|}
moduleobject.c:Py_INCREF:
  256|    105|{
  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|    105|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    105|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 71, False: 34]
  ------------------
  288|       |        // the object is immortal
  289|     71|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     71|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     71|        return;
  291|     71|    }
  292|     34|    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|     34|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     34|#  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|     34|#endif
  308|     34|}
moduleobject.c:Py_DECREF:
  418|  3.02M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  3.02M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  3.02M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.02M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.02M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 3.02M, False: 1.21k]
  |  |  ------------------
  ------------------
  422|  3.02M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  3.02M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  3.02M|        return;
  424|  3.02M|    }
  425|  1.21k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.21k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.21k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1, False: 1.21k]
  ------------------
  427|      1|        _Py_Dealloc(op);
  428|      1|    }
  429|  1.21k|}
moduleobject.c:Py_XDECREF:
  518|    127|{
  519|    127|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    127|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 4, False: 123]
  ------------------
  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|    127|}
moduleobject.c:_Py_REFCNT:
  105|      1|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|      1|    #if !defined(Py_GIL_DISABLED)
  107|      1|        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|    }
object.c:_Py_REFCNT:
  105|  26.1M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  26.1M|    #if !defined(Py_GIL_DISABLED)
  107|  26.1M|        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|  26.1M|    }
object.c:Py_XDECREF:
  518|    214|{
  519|    214|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    214|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 25, False: 189]
  ------------------
  520|     25|        Py_DECREF(op);
  ------------------
  |  |  430|     25|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     25|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     25|    }
  522|    214|}
object.c:Py_INCREF:
  256|  52.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|  52.1M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  52.1M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 47.1M, False: 4.97M]
  ------------------
  288|       |        // the object is immortal
  289|  47.1M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  47.1M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  47.1M|        return;
  291|  47.1M|    }
  292|  4.97M|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  4.97M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  4.97M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  4.97M|#endif
  308|  4.97M|}
object.c:Py_DECREF:
  418|  51.3M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  51.3M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  51.3M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  51.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  51.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 46.7M, False: 4.55M]
  |  |  ------------------
  ------------------
  422|  46.7M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  46.7M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  46.7M|        return;
  424|  46.7M|    }
  425|  4.55M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  4.55M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  4.55M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 539, False: 4.55M]
  ------------------
  427|    539|        _Py_Dealloc(op);
  428|    539|    }
  429|  4.55M|}
object.c:_Py_NewRef:
  535|   435k|{
  536|   435k|    Py_INCREF(obj);
  ------------------
  |  |  310|   435k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   435k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   435k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|   435k|    return obj;
  538|   435k|}
object.c:_Py_IsImmortal:
  127|   100M|{
  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|   100M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   100M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   100M|}
object.c:_Py_IsStaticImmortal:
  141|  38.8M|{
  142|  38.8M|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|  38.8M|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|  38.8M|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|  38.8M|}
object.c:Py_SET_REFCNT:
  154|  10.4M|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|  10.4M|    assert(refcnt >= 0);
  ------------------
  |  Branch (155:5): [True: 10.4M, False: 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.4M|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|  10.4M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 10.4M]
  |  |  ------------------
  ------------------
  167|      0|        return;
  168|      0|    }
  169|  10.4M|#ifndef Py_GIL_DISABLED
  170|  10.4M|#if SIZEOF_VOID_P > 4
  171|  10.4M|    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.4M|#endif  // Py_LIMITED_API
  199|  10.4M|}
rangeobject.c:Py_DECREF:
  418|  32.3M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  32.3M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  32.3M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  32.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 32.2M, False: 66.8k]
  |  |  ------------------
  ------------------
  422|  32.2M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  32.2M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  32.2M|        return;
  424|  32.2M|    }
  425|  66.8k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  66.8k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  66.8k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 66.8k, False: 2]
  ------------------
  427|  66.8k|        _Py_Dealloc(op);
  428|  66.8k|    }
  429|  66.8k|}
rangeobject.c:_Py_IsImmortal:
  127|  32.3M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  32.3M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  32.3M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  32.3M|}
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|      1|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|      1|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|      1|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1, False: 0]
  |  |  ------------------
  ------------------
  422|      1|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      1|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      1|        return;
  424|      1|    }
  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|      1|{
  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|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|      1|}
sentinelobject.c:_Py_NewRef:
  535|      3|{
  536|      3|    Py_INCREF(obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|      3|    return obj;
  538|      3|}
sentinelobject.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|}
sentinelobject.c:_Py_XNewRef:
  541|      1|{
  542|      1|    Py_XINCREF(obj);
  ------------------
  |  |  514|      1|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|      1|    return obj;
  544|      1|}
sentinelobject.c:Py_XINCREF:
  508|      1|{
  509|      1|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      1|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 0, False: 1]
  ------------------
  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|      1|}
setobject.c:Py_DECREF:
  418|  20.6k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  20.6k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  20.6k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 314, False: 20.3k]
  |  |  ------------------
  ------------------
  422|    314|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    314|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    314|        return;
  424|    314|    }
  425|  20.3k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  20.3k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  20.3k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.62k, False: 18.7k]
  ------------------
  427|  1.62k|        _Py_Dealloc(op);
  428|  1.62k|    }
  429|  20.3k|}
setobject.c:_Py_IsImmortal:
  127|  20.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|  20.6k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  20.6k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  20.6k|}
setobject.c:Py_INCREF:
  256|  33.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|  33.2k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  33.2k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 836, False: 32.4k]
  ------------------
  288|       |        // the object is immortal
  289|    836|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    836|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    836|        return;
  291|    836|    }
  292|  32.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|  32.4k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  32.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|  32.4k|#endif
  308|  32.4k|}
setobject.c:Py_XDECREF:
  518|  3.17k|{
  519|  3.17k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  3.17k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 2, False: 3.17k]
  ------------------
  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|  3.17k|}
setobject.c:_Py_REFCNT:
  105|  8.31k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  8.31k|    #if !defined(Py_GIL_DISABLED)
  107|  8.31k|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|  8.31k|    }
setobject.c:_Py_NewRef:
  535|  29.4k|{
  536|  29.4k|    Py_INCREF(obj);
  ------------------
  |  |  310|  29.4k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  29.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  29.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  29.4k|    return obj;
  538|  29.4k|}
sliceobject.c:Py_DECREF:
  418|  20.8M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  20.8M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  20.8M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 20.8M, False: 14.0k]
  |  |  ------------------
  ------------------
  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|  14.0k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  14.0k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  14.0k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 6.64k, False: 7.37k]
  ------------------
  427|  6.64k|        _Py_Dealloc(op);
  428|  6.64k|    }
  429|  14.0k|}
sliceobject.c:_Py_IsImmortal:
  127|  20.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|  20.8M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  20.8M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  20.8M|}
sliceobject.c:_Py_NewRef:
  535|  20.8M|{
  536|  20.8M|    Py_INCREF(obj);
  ------------------
  |  |  310|  20.8M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  20.8M|    return obj;
  538|  20.8M|}
sliceobject.c:Py_INCREF:
  256|  20.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|  20.8M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  20.8M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 20.8M, False: 738]
  ------------------
  288|       |        // the object is immortal
  289|  20.8M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  20.8M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  20.8M|        return;
  291|  20.8M|    }
  292|    738|    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|    738|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    738|#  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|    738|#endif
  308|    738|}
structseq.c:_Py_IsImmortal:
  127|  2.52k|{
  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.52k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  2.52k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  2.52k|}
structseq.c:Py_XDECREF:
  518|  2.26k|{
  519|  2.26k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.26k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 2.26k, False: 0]
  ------------------
  520|  2.26k|        Py_DECREF(op);
  ------------------
  |  |  430|  2.26k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  2.26k|    }
  522|  2.26k|}
structseq.c:Py_DECREF:
  418|  2.52k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  2.52k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  2.52k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 731, False: 1.78k]
  |  |  ------------------
  ------------------
  422|    731|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    731|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    731|        return;
  424|    731|    }
  425|  1.78k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.78k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.78k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.53k, False: 250]
  ------------------
  427|  1.53k|        _Py_Dealloc(op);
  428|  1.53k|    }
  429|  1.78k|}
tupleobject.c:_Py_REFCNT:
  105|     34|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|     34|    #if !defined(Py_GIL_DISABLED)
  107|     34|        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|     34|    }
tupleobject.c:Py_XDECREF:
  518|   102M|{
  519|   102M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   102M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 102M, False: 94]
  ------------------
  520|   102M|        Py_DECREF(op);
  ------------------
  |  |  430|   102M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   102M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   102M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|   102M|    }
  522|   102M|}
tupleobject.c:_Py_NewRef:
  535|  55.4M|{
  536|  55.4M|    Py_INCREF(obj);
  ------------------
  |  |  310|  55.4M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  55.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  55.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  55.4M|    return obj;
  538|  55.4M|}
tupleobject.c:Py_INCREF:
  256|  55.4M|{
  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|  55.4M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  55.4M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 34.5M, False: 20.8M]
  ------------------
  288|       |        // the object is immortal
  289|  34.5M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  34.5M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  34.5M|        return;
  291|  34.5M|    }
  292|  20.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|  20.8M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  20.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|  20.8M|#endif
  308|  20.8M|}
tupleobject.c:Py_DECREF:
  418|   102M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   102M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   102M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   102M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   102M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 38.1M, False: 64.4M]
  |  |  ------------------
  ------------------
  422|  38.1M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  38.1M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  38.1M|        return;
  424|  38.1M|    }
  425|  64.4M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  64.4M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  64.4M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 13.7M, False: 50.6M]
  ------------------
  427|  13.7M|        _Py_Dealloc(op);
  428|  13.7M|    }
  429|  64.4M|}
tupleobject.c:_Py_IsImmortal:
  127|   102M|{
  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|   102M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   102M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   102M|}
typeobject.c:_Py_NewRef:
  535|  21.0M|{
  536|  21.0M|    Py_INCREF(obj);
  ------------------
  |  |  310|  21.0M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  21.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  21.0M|    return obj;
  538|  21.0M|}
typeobject.c:_Py_XNewRef:
  541|    933|{
  542|    933|    Py_XINCREF(obj);
  ------------------
  |  |  514|    933|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    933|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    933|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|    933|    return obj;
  544|    933|}
typeobject.c:Py_XINCREF:
  508|  1.20k|{
  509|  1.20k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.20k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 366, False: 836]
  ------------------
  510|    366|        Py_INCREF(op);
  ------------------
  |  |  310|    366|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    366|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    366|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|    366|    }
  512|  1.20k|}
typeobject.c:Py_INCREF:
  256|  37.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|  37.2M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  37.2M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 30.2M, False: 6.93M]
  ------------------
  288|       |        // the object is immortal
  289|  30.2M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  30.2M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  30.2M|        return;
  291|  30.2M|    }
  292|  6.93M|    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.93M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  6.93M|#  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.93M|#endif
  308|  6.93M|}
typeobject.c:Py_DECREF:
  418|  35.3M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  35.3M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  35.3M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  35.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 24.9M, False: 10.4M]
  |  |  ------------------
  ------------------
  422|  24.9M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  24.9M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  24.9M|        return;
  424|  24.9M|    }
  425|  10.4M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  10.4M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  10.4M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 2.61M, False: 7.82M]
  ------------------
  427|  2.61M|        _Py_Dealloc(op);
  428|  2.61M|    }
  429|  10.4M|}
typeobject.c:_Py_IsImmortal:
  127|   107M|{
  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|   107M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   107M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   107M|}
typeobject.c:_Py_REFCNT:
  105|  1.37k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  1.37k|    #if !defined(Py_GIL_DISABLED)
  107|  1.37k|        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.37k|    }
typeobject.c:_Py_IsStaticImmortal:
  141|  85.5M|{
  142|  85.5M|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|  85.5M|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|  85.5M|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|  85.5M|}
typeobject.c:Py_XDECREF:
  518|  4.59k|{
  519|  4.59k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  4.59k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 1.14k, False: 3.44k]
  ------------------
  520|  1.14k|        Py_DECREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  1.14k|    }
  522|  4.59k|}
unicode_format.c:Py_DECREF:
  418|  1.34M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.34M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.34M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.34M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.34M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 72.3k, False: 1.27M]
  |  |  ------------------
  ------------------
  422|  72.3k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  72.3k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  72.3k|        return;
  424|  72.3k|    }
  425|  1.27M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.27M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.27M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 409, False: 1.27M]
  ------------------
  427|    409|        _Py_Dealloc(op);
  428|    409|    }
  429|  1.27M|}
unicode_format.c:_Py_IsImmortal:
  127|  1.34M|{
  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.34M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.34M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.34M|}
unicode_format.c:_Py_NewRef:
  535|  1.34M|{
  536|  1.34M|    Py_INCREF(obj);
  ------------------
  |  |  310|  1.34M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.34M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.34M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  1.34M|    return obj;
  538|  1.34M|}
unicode_format.c:Py_INCREF:
  256|  1.34M|{
  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.34M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.34M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 72.3k, False: 1.27M]
  ------------------
  288|       |        // the object is immortal
  289|  72.3k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  72.3k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  72.3k|        return;
  291|  72.3k|    }
  292|  1.27M|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  1.27M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.27M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  1.27M|#endif
  308|  1.27M|}
unicode_format.c:Py_XDECREF:
  518|  1.34M|{
  519|  1.34M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.34M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 0, False: 1.34M]
  ------------------
  520|      0|        Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|      0|    }
  522|  1.34M|}
unicode_writer.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: 6, False: 0]
  ------------------
  427|      6|        _Py_Dealloc(op);
  428|      6|    }
  429|      6|}
unicode_writer.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|}
unicodeobject.c:Py_DECREF:
  418|   903k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   903k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   903k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   903k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   903k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 857k, False: 46.1k]
  |  |  ------------------
  ------------------
  422|   857k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   857k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   857k|        return;
  424|   857k|    }
  425|  46.1k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  46.1k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  46.1k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 11.2k, False: 34.9k]
  ------------------
  427|  11.2k|        _Py_Dealloc(op);
  428|  11.2k|    }
  429|  46.1k|}
unicodeobject.c:_Py_IsImmortal:
  127|  5.55M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  5.55M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  5.55M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  5.55M|}
unicodeobject.c:_Py_REFCNT:
  105|  17.9M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  17.9M|    #if !defined(Py_GIL_DISABLED)
  107|  17.9M|        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|  17.9M|    }
unicodeobject.c:_Py_NewRef:
  535|   222k|{
  536|   222k|    Py_INCREF(obj);
  ------------------
  |  |  310|   222k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   222k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   222k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|   222k|    return obj;
  538|   222k|}
unicodeobject.c:Py_XDECREF:
  518|   356k|{
  519|   356k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   356k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 356k, False: 647]
  ------------------
  520|   356k|        Py_DECREF(op);
  ------------------
  |  |  430|   356k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   356k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   356k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|   356k|    }
  522|   356k|}
unicodeobject.c:Py_INCREF:
  256|  5.18M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  5.18M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  5.18M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 5.06M, False: 125k]
  ------------------
  288|       |        // the object is immortal
  289|  5.06M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  5.06M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  5.06M|        return;
  291|  5.06M|    }
  292|   125k|    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|   125k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   125k|#  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|   125k|#endif
  308|   125k|}
unicodeobject.c:Py_SET_REFCNT:
  154|      6|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|      6|    assert(refcnt >= 0);
  ------------------
  |  Branch (155:5): [True: 6, False: 0]
  ------------------
  156|       |#if (defined(Py_LIMITED_API) && Py_LIMITED_API+0 >= 0x030d0000) \
  157|       |    || defined(_Py_OPAQUE_PYOBJECT)
  158|       |    // Stable ABI implements Py_SET_REFCNT() as a function call
  159|       |    // on limited C API version 3.13 and newer, and abi3t.
  160|       |    _Py_SetRefcnt(ob, refcnt);
  161|       |#else
  162|       |    // This immortal check is for code that is unaware of immortal objects.
  163|       |    // The runtime tracks these objects and we should avoid as much
  164|       |    // as possible having extensions inadvertently change the refcnt
  165|       |    // of an immortalized object.
  166|      6|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  167|      0|        return;
  168|      0|    }
  169|      6|#ifndef Py_GIL_DISABLED
  170|      6|#if SIZEOF_VOID_P > 4
  171|      6|    ob->ob_refcnt = (uint32_t)refcnt;
  172|       |#else
  173|       |    ob->ob_refcnt = refcnt;
  174|       |#endif
  175|       |#else
  176|       |    if (_Py_IsOwnedByCurrentThread(ob)) {
  177|       |        if ((size_t)refcnt > (size_t)UINT32_MAX) {
  178|       |            // On overflow, make the object immortal
  179|       |            ob->ob_tid = _Py_UNOWNED_TID;
  180|       |            ob->ob_ref_local = _Py_IMMORTAL_REFCNT_LOCAL;
  181|       |            ob->ob_ref_shared = 0;
  182|       |        }
  183|       |        else {
  184|       |            // Set local refcount to desired refcount and shared refcount
  185|       |            // to zero, but preserve the shared refcount flags.
  186|       |            ob->ob_ref_local = _Py_STATIC_CAST(uint32_t, refcnt);
  187|       |            ob->ob_ref_shared &= _Py_REF_SHARED_FLAG_MASK;
  188|       |        }
  189|       |    }
  190|       |    else {
  191|       |        // Set local refcount to zero and shared refcount to desired refcount.
  192|       |        // Mark the object as merged.
  193|       |        ob->ob_tid = _Py_UNOWNED_TID;
  194|       |        ob->ob_ref_local = 0;
  195|       |        ob->ob_ref_shared = _Py_REF_SHARED(refcnt, _Py_REF_MERGED);
  196|       |    }
  197|       |#endif  // Py_GIL_DISABLED
  198|      6|#endif  // Py_LIMITED_API
  199|      6|}
unionobject.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: 0, False: 4]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  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: 4, False: 0]
  ------------------
  427|      4|        _Py_Dealloc(op);
  428|      4|    }
  429|      4|}
unionobject.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|}
unionobject.c:Py_XDECREF:
  518|      5|{
  519|      5|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      5|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 2, False: 3]
  ------------------
  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|      5|}
unionobject.c:_Py_REFCNT:
  105|      1|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|      1|    #if !defined(Py_GIL_DISABLED)
  107|      1|        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|    }
weakrefobject.c:Py_INCREF:
  256|  1.08k|{
  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.08k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.08k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 194, False: 886]
  ------------------
  288|       |        // the object is immortal
  289|    194|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    194|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    194|        return;
  291|    194|    }
  292|    886|    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|    886|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    886|#  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|    886|#endif
  308|    886|}
weakrefobject.c:_Py_XNewRef:
  541|  1.24k|{
  542|  1.24k|    Py_XINCREF(obj);
  ------------------
  |  |  514|  1.24k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.24k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  1.24k|    return obj;
  544|  1.24k|}
weakrefobject.c:Py_XINCREF:
  508|  1.24k|{
  509|  1.24k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.24k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 349, False: 895]
  ------------------
  510|    349|        Py_INCREF(op);
  ------------------
  |  |  310|    349|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    349|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    349|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|    349|    }
  512|  1.24k|}
weakrefobject.c:Py_DECREF:
  418|    631|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    631|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    631|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    631|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    631|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 364, False: 267]
  |  |  ------------------
  ------------------
  422|    364|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    364|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    364|        return;
  424|    364|    }
  425|    267|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    267|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    267|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 236, False: 31]
  ------------------
  427|    236|        _Py_Dealloc(op);
  428|    236|    }
  429|    267|}
weakrefobject.c:_Py_IsImmortal:
  127|    631|{
  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|    631|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    631|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    631|}
weakrefobject.c:_Py_REFCNT:
  105|  6.92M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  6.92M|    #if !defined(Py_GIL_DISABLED)
  107|  6.92M|        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.92M|    }
weakrefobject.c:Py_XDECREF:
  518|    482|{
  519|    482|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    482|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 27, False: 455]
  ------------------
  520|     27|        Py_DECREF(op);
  ------------------
  |  |  430|     27|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     27|    }
  522|    482|}
_warnings.c:_Py_NewRef:
  535|  1.98M|{
  536|  1.98M|    Py_INCREF(obj);
  ------------------
  |  |  310|  1.98M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.98M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.98M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  1.98M|    return obj;
  538|  1.98M|}
_warnings.c:Py_INCREF:
  256|  4.84M|{
  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.84M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  4.84M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.98M, False: 2.85M]
  ------------------
  288|       |        // the object is immortal
  289|  1.98M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.98M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.98M|        return;
  291|  1.98M|    }
  292|  2.85M|    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.85M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  2.85M|#  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.85M|#endif
  308|  2.85M|}
_warnings.c:Py_DECREF:
  418|   195M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   195M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   195M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   195M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   195M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 5.15M, False: 190M]
  |  |  ------------------
  ------------------
  422|  5.15M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  5.15M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  5.15M|        return;
  424|  5.15M|    }
  425|   190M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   190M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   190M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 2.71M, False: 187M]
  ------------------
  427|  2.71M|        _Py_Dealloc(op);
  428|  2.71M|    }
  429|   190M|}
_warnings.c:_Py_IsImmortal:
  127|   195M|{
  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|   195M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   195M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   195M|}
_warnings.c:Py_XDECREF:
  518|  6.48M|{
  519|  6.48M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  6.48M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 5.76M, False: 725k]
  ------------------
  520|  5.76M|        Py_DECREF(op);
  ------------------
  |  |  430|  5.76M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.76M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.76M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  5.76M|    }
  522|  6.48M|}
bltinmodule.c:Py_XDECREF:
  518|  14.8M|{
  519|  14.8M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  14.8M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 195k, False: 14.6M]
  ------------------
  520|   195k|        Py_DECREF(op);
  ------------------
  |  |  430|   195k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   195k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   195k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|   195k|    }
  522|  14.8M|}
bltinmodule.c:_Py_NewRef:
  535|  29.3M|{
  536|  29.3M|    Py_INCREF(obj);
  ------------------
  |  |  310|  29.3M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  29.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  29.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  29.3M|    return obj;
  538|  29.3M|}
bltinmodule.c:Py_INCREF:
  256|  58.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|  58.6M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  58.6M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 32.8M, False: 25.8M]
  ------------------
  288|       |        // the object is immortal
  289|  32.8M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  32.8M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  32.8M|        return;
  291|  32.8M|    }
  292|  25.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|  25.8M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  25.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|  25.8M|#endif
  308|  25.8M|}
bltinmodule.c:_Py_REFCNT:
  105|     69|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|     69|    #if !defined(Py_GIL_DISABLED)
  107|     69|        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|     69|    }
bltinmodule.c:_Py_XNewRef:
  541|     20|{
  542|     20|    Py_XINCREF(obj);
  ------------------
  |  |  514|     20|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|     20|    return obj;
  544|     20|}
bltinmodule.c:Py_XINCREF:
  508|     20|{
  509|     20|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     20|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 20, False: 0]
  ------------------
  510|     20|        Py_INCREF(op);
  ------------------
  |  |  310|     20|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|     20|    }
  512|     20|}
bltinmodule.c:_Py_IsImmortal:
  127|  56.3M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  56.3M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  56.3M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  56.3M|}
bltinmodule.c:Py_DECREF:
  418|  56.3M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  56.3M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  56.3M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  56.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  56.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 32.5M, False: 23.8M]
  |  |  ------------------
  ------------------
  422|  32.5M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  32.5M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  32.5M|        return;
  424|  32.5M|    }
  425|  23.8M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  23.8M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  23.8M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 100k, False: 23.7M]
  ------------------
  427|   100k|        _Py_Dealloc(op);
  428|   100k|    }
  429|  23.8M|}
ceval.c:_Py_IsImmortal:
  127|  1.45G|{
  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.45G|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.45G|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.45G|}
ceval.c:_Py_NewRef:
  535|  75.5M|{
  536|  75.5M|    Py_INCREF(obj);
  ------------------
  |  |  310|  75.5M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  75.5M|    return obj;
  538|  75.5M|}
ceval.c:_Py_IsStaticImmortal:
  141|  1.56G|{
  142|  1.56G|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|  1.56G|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|  1.56G|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|  1.56G|}
ceval.c:_Py_REFCNT:
  105|  20.3M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  20.3M|    #if !defined(Py_GIL_DISABLED)
  107|  20.3M|        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|  20.3M|    }
ceval.c:Py_INCREF:
  256|   100M|{
  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|   100M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   100M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 53.8M, False: 47.1M]
  ------------------
  288|       |        // the object is immortal
  289|  53.8M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  53.8M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  53.8M|        return;
  291|  53.8M|    }
  292|  47.1M|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  47.1M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  47.1M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  47.1M|#endif
  308|  47.1M|}
ceval.c:Py_XDECREF:
  518|  2.96M|{
  519|  2.96M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.96M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 31, False: 2.96M]
  ------------------
  520|     31|        Py_DECREF(op);
  ------------------
  |  |  430|     31|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     31|    }
  522|  2.96M|}
ceval.c:Py_DECREF:
  418|     31|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     31|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     31|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2, False: 29]
  |  |  ------------------
  ------------------
  422|      2|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      2|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      2|        return;
  424|      2|    }
  425|     29|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     29|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     29|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 9, False: 20]
  ------------------
  427|      9|        _Py_Dealloc(op);
  428|      9|    }
  429|     29|}
ceval.c:Py_XINCREF:
  508|  31.7M|{
  509|  31.7M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  31.7M|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 10.7M, False: 20.9M]
  ------------------
  510|  10.7M|        Py_INCREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  10.7M|    }
  512|  31.7M|}
ceval.c:_Py_XNewRef:
  541|  10.7M|{
  542|  10.7M|    Py_XINCREF(obj);
  ------------------
  |  |  514|  10.7M|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  10.7M|    return obj;
  544|  10.7M|}
codecs.c:Py_DECREF:
  418|     53|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     53|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     53|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     53|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     53|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 24, False: 29]
  |  |  ------------------
  ------------------
  422|     24|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     24|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     24|        return;
  424|     24|    }
  425|     29|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     29|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     29|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 29]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|     29|}
codecs.c:_Py_IsImmortal:
  127|     53|{
  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|     53|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     53|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     53|}
codegen.c:Py_DECREF:
  418|     21|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     21|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     21|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 18, False: 3]
  |  |  ------------------
  ------------------
  422|     18|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     18|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     18|        return;
  424|     18|    }
  425|      3|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      3|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      3|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 3]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|      3|}
codegen.c:_Py_IsImmortal:
  127|     21|{
  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|     21|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     21|}
compile.c:Py_DECREF:
  418|    246|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    246|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    246|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    246|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    246|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 66, False: 180]
  |  |  ------------------
  ------------------
  422|     66|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     66|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     66|        return;
  424|     66|    }
  425|    180|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    180|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    180|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 72, False: 108]
  ------------------
  427|     72|        _Py_Dealloc(op);
  428|     72|    }
  429|    180|}
compile.c:_Py_IsImmortal:
  127|    246|{
  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|    246|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    246|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    246|}
compile.c:_Py_NewRef:
  535|     54|{
  536|     54|    Py_INCREF(obj);
  ------------------
  |  |  310|     54|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     54|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     54|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     54|    return obj;
  538|     54|}
compile.c:Py_XDECREF:
  518|     24|{
  519|     24|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     24|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 18, False: 6]
  ------------------
  520|     18|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     18|    }
  522|     24|}
compile.c:_Py_XNewRef:
  541|      9|{
  542|      9|    Py_XINCREF(obj);
  ------------------
  |  |  514|      9|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|      9|    return obj;
  544|      9|}
compile.c:Py_XINCREF:
  508|      9|{
  509|      9|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      9|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 3, False: 6]
  ------------------
  510|      3|        Py_INCREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|      3|    }
  512|      9|}
compile.c:Py_INCREF:
  256|     57|{
  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|     57|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     57|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 27, False: 30]
  ------------------
  288|       |        // the object is immortal
  289|     27|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     27|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     27|        return;
  291|     27|    }
  292|     30|    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|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     30|#  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|#endif
  308|     30|}
context.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|}
context.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: 2, False: 4]
  ------------------
  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|      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|}
context.c:Py_DECREF:
  418|      7|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|      7|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|      7|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 3, False: 4]
  |  |  ------------------
  ------------------
  422|      3|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      3|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      3|        return;
  424|      3|    }
  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|}
context.c:_Py_IsImmortal:
  127|      7|{
  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|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|      7|}
context.c:Py_XINCREF:
  508|   355k|{
  509|   355k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   355k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 0, False: 355k]
  ------------------
  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|   355k|}
context.c:Py_XDECREF:
  518|      1|{
  519|      1|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      1|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 0, False: 1]
  ------------------
  520|      0|        Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|      0|    }
  522|      1|}
context.c:_Py_XNewRef:
  541|      5|{
  542|      5|    Py_XINCREF(obj);
  ------------------
  |  |  514|      5|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|      5|    return obj;
  544|      5|}
errors.c:Py_XDECREF:
  518|  23.3M|{
  519|  23.3M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  23.3M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 5.45M, False: 17.8M]
  ------------------
  520|  5.45M|        Py_DECREF(op);
  ------------------
  |  |  430|  5.45M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.45M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.45M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  5.45M|    }
  522|  23.3M|}
errors.c:Py_DECREF:
  418|  8.24M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  8.24M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  8.24M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.24M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.24M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 5.45M, False: 2.78M]
  |  |  ------------------
  ------------------
  422|  5.45M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  5.45M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  5.45M|        return;
  424|  5.45M|    }
  425|  2.78M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.78M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  2.78M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 2.73M, False: 50.4k]
  ------------------
  427|  2.73M|        _Py_Dealloc(op);
  428|  2.73M|    }
  429|  2.78M|}
errors.c:_Py_IsImmortal:
  127|  8.24M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  8.24M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  8.24M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  8.24M|}
errors.c:Py_XINCREF:
  508|  2.76M|{
  509|  2.76M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.76M|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 2.72M, False: 32.1k]
  ------------------
  510|  2.72M|        Py_INCREF(op);
  ------------------
  |  |  310|  2.72M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.72M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.72M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  2.72M|    }
  512|  2.76M|}
errors.c:Py_INCREF:
  256|  5.48M|{
  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.48M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  5.48M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 5.45M, False: 31.4k]
  ------------------
  288|       |        // the object is immortal
  289|  5.45M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  5.45M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  5.45M|        return;
  291|  5.45M|    }
  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|}
errors.c:_Py_NewRef:
  535|  2.76M|{
  536|  2.76M|    Py_INCREF(obj);
  ------------------
  |  |  310|  2.76M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.76M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.76M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  2.76M|    return obj;
  538|  2.76M|}
flowgraph.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|}
flowgraph.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: 0, False: 6]
  ------------------
  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|      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|}
flowgraph.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|}
flowgraph.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|}
frame.c:_Py_IsStaticImmortal:
  141|   355M|{
  142|   355M|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|   355M|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|   355M|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|   355M|}
frame.c:Py_DECREF:
  418|  6.02M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  6.02M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  6.02M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.02M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.02M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 6.02M]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  6.02M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  6.02M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  6.02M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 2.93M, False: 3.09M]
  ------------------
  427|  2.93M|        _Py_Dealloc(op);
  428|  2.93M|    }
  429|  6.02M|}
frame.c:_Py_IsImmortal:
  127|  11.3M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  11.3M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  11.3M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  11.3M|}
frame.c:_Py_REFCNT:
  105|  6.02M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  6.02M|    #if !defined(Py_GIL_DISABLED)
  107|  6.02M|        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.02M|    }
frame.c:Py_INCREF:
  256|  3.66M|{
  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.66M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  3.66M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 3.66M]
  ------------------
  288|       |        // the object is immortal
  289|      0|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      0|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      0|        return;
  291|      0|    }
  292|  3.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|  3.66M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  3.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|  3.66M|#endif
  308|  3.66M|}
frame.c:_Py_NewRef:
  535|  3.05M|{
  536|  3.05M|    Py_INCREF(obj);
  ------------------
  |  |  310|  3.05M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  3.05M|    return obj;
  538|  3.05M|}
gc.c:Py_DECREF:
  418|  38.0k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  38.0k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  38.0k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  38.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  38.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 38.0k]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  38.0k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  38.0k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  38.0k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 36.2k, False: 1.80k]
  ------------------
  427|  36.2k|        _Py_Dealloc(op);
  428|  36.2k|    }
  429|  38.0k|}
gc.c:_Py_IsImmortal:
  127|   120M|{
  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|   120M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   120M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   120M|}
gc.c:Py_INCREF:
  256|  53.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|  53.0M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  53.0M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 53.0M, False: 5.01k]
  ------------------
  288|       |        // the object is immortal
  289|  53.0M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  53.0M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  53.0M|        return;
  291|  53.0M|    }
  292|  5.01k|    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.01k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  5.01k|#  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.01k|#endif
  308|  5.01k|}
gc.c:_Py_REFCNT:
  105|  67.0M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  67.0M|    #if !defined(Py_GIL_DISABLED)
  107|  67.0M|        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|  67.0M|    }
gc.c:Py_XDECREF:
  518|  35.3k|{
  519|  35.3k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  35.3k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 0, False: 35.3k]
  ------------------
  520|      0|        Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|      0|    }
  522|  35.3k|}
getargs.c:_Py_NewRef:
  535|  1.08M|{
  536|  1.08M|    Py_INCREF(obj);
  ------------------
  |  |  310|  1.08M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  1.08M|    return obj;
  538|  1.08M|}
getargs.c:Py_INCREF:
  256|  1.08M|{
  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.08M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.08M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.08M, False: 8]
  ------------------
  288|       |        // the object is immortal
  289|  1.08M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.08M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.08M|        return;
  291|  1.08M|    }
  292|      8|    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|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      8|#  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|#endif
  308|      8|}
getargs.c:Py_DECREF:
  418|  1.08M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.08M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  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: 19]
  |  |  ------------------
  ------------------
  422|  1.08M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.08M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.08M|        return;
  424|  1.08M|    }
  425|     19|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     19|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     19|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 19]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|     19|}
getargs.c:_Py_IsImmortal:
  127|  1.08M|{
  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.08M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.08M|}
hamt.c:_Py_NewRef:
  535|      3|{
  536|      3|    Py_INCREF(obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|      3|    return obj;
  538|      3|}
hamt.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: 1, False: 2]
  ------------------
  288|       |        // the object is immortal
  289|      1|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      1|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      1|        return;
  291|      1|    }
  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|}
import.c:Py_INCREF:
  256|  10.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|  10.9M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  10.9M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 2.03M, False: 8.95M]
  ------------------
  288|       |        // the object is immortal
  289|  2.03M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  2.03M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  2.03M|        return;
  291|  2.03M|    }
  292|  8.95M|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  8.95M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  8.95M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  8.95M|#endif
  308|  8.95M|}
import.c:Py_DECREF:
  418|  18.6M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  18.6M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  18.6M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2.03M, False: 16.5M]
  |  |  ------------------
  ------------------
  422|  2.03M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  2.03M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  2.03M|        return;
  424|  2.03M|    }
  425|  16.5M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  16.5M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  16.5M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 357k, False: 16.2M]
  ------------------
  427|   357k|        _Py_Dealloc(op);
  428|   357k|    }
  429|  16.5M|}
import.c:_Py_IsImmortal:
  127|  18.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|  18.6M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  18.6M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  18.6M|}
import.c:Py_XDECREF:
  518|  5.49M|{
  519|  5.49M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  5.49M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 5.49M, False: 157]
  ------------------
  520|  5.49M|        Py_DECREF(op);
  ------------------
  |  |  430|  5.49M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.49M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.49M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  5.49M|    }
  522|  5.49M|}
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_NewRef:
  535|  4.06M|{
  536|  4.06M|    Py_INCREF(obj);
  ------------------
  |  |  310|  4.06M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.06M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.06M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  4.06M|    return obj;
  538|  4.06M|}
import.c:_Py_XNewRef:
  541|     23|{
  542|     23|    Py_XINCREF(obj);
  ------------------
  |  |  514|     23|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     23|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     23|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|     23|    return obj;
  544|     23|}
import.c:Py_XINCREF:
  508|     34|{
  509|     34|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     34|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 17, False: 17]
  ------------------
  510|     17|        Py_INCREF(op);
  ------------------
  |  |  310|     17|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     17|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     17|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|     17|    }
  512|     34|}
importdl.c:Py_DECREF:
  418|     82|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     82|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     82|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     82|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 34, False: 48]
  |  |  ------------------
  ------------------
  422|     34|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     34|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     34|        return;
  424|     34|    }
  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: 37, False: 11]
  ------------------
  427|     37|        _Py_Dealloc(op);
  428|     37|    }
  429|     48|}
importdl.c:_Py_IsImmortal:
  127|     82|{
  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|     82|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     82|}
importdl.c:_Py_NewRef:
  535|     37|{
  536|     37|    Py_INCREF(obj);
  ------------------
  |  |  310|     37|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     37|    return obj;
  538|     37|}
importdl.c:Py_INCREF:
  256|     39|{
  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|     39|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     39|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 33, False: 6]
  ------------------
  288|       |        // the object is immortal
  289|     33|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     33|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     33|        return;
  291|     33|    }
  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|}
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|     32|{
  536|     32|    Py_INCREF(obj);
  ------------------
  |  |  310|     32|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     32|    return obj;
  538|     32|}
initconfig.c:Py_INCREF:
  256|     32|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     32|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     32|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 32, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|     32|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     32|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     32|        return;
  291|     32|    }
  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|     12|{
  519|     12|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     12|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 0, False: 12]
  ------------------
  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|     12|}
intrinsics.c:Py_DECREF:
  418|  3.50k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  3.50k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  3.50k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.91k, False: 1.59k]
  |  |  ------------------
  ------------------
  422|  1.91k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.91k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.91k|        return;
  424|  1.91k|    }
  425|  1.59k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.59k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.59k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 12, False: 1.57k]
  ------------------
  427|     12|        _Py_Dealloc(op);
  428|     12|    }
  429|  1.59k|}
intrinsics.c:_Py_IsImmortal:
  127|  3.50k|{
  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.50k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  3.50k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  3.50k|}
intrinsics.c:Py_XDECREF:
  518|  1.68k|{
  519|  1.68k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.68k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 1.68k, False: 0]
  ------------------
  520|  1.68k|        Py_DECREF(op);
  ------------------
  |  |  430|  1.68k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  1.68k|    }
  522|  1.68k|}
intrinsics.c:_Py_NewRef:
  535|  32.1k|{
  536|  32.1k|    Py_INCREF(obj);
  ------------------
  |  |  310|  32.1k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  32.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  32.1k|    return obj;
  538|  32.1k|}
intrinsics.c:Py_INCREF:
  256|  32.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|  32.1k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  32.1k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 32.1k]
  ------------------
  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|  32.1k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  32.1k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  32.1k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  32.1k|#endif
  308|  32.1k|}
intrinsics.c:_Py_REFCNT:
  105|     62|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|     62|    #if !defined(Py_GIL_DISABLED)
  107|     62|        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|     62|    }
marshal.c:Py_XDECREF:
  518|  27.6k|{
  519|  27.6k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  27.6k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 27.6k, False: 0]
  ------------------
  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|  27.6k|}
marshal.c:_Py_NewRef:
  535|  29.5k|{
  536|  29.5k|    Py_INCREF(obj);
  ------------------
  |  |  310|  29.5k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  29.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  29.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  29.5k|    return obj;
  538|  29.5k|}
marshal.c:Py_INCREF:
  256|  29.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|  29.5k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  29.5k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 26.4k, False: 3.10k]
  ------------------
  288|       |        // the object is immortal
  289|  26.4k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  26.4k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  26.4k|        return;
  291|  26.4k|    }
  292|  3.10k|    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.10k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  3.10k|#  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.10k|#endif
  308|  3.10k|}
marshal.c:Py_DECREF:
  418|  27.8k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  27.8k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  27.8k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 11.4k, False: 16.3k]
  |  |  ------------------
  ------------------
  422|  11.4k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  11.4k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  11.4k|        return;
  424|  11.4k|    }
  425|  16.3k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  16.3k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  16.3k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 60, False: 16.3k]
  ------------------
  427|     60|        _Py_Dealloc(op);
  428|     60|    }
  429|  16.3k|}
marshal.c:_Py_IsImmortal:
  127|  27.8k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  27.8k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  27.8k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  27.8k|}
modsupport.c:Py_INCREF:
  256|  1.42M|{
  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.42M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.42M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 355k, False: 1.07M]
  ------------------
  288|       |        // the object is immortal
  289|   355k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|   355k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|   355k|        return;
  291|   355k|    }
  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|}
modsupport.c:Py_XDECREF:
  518|    589|{
  519|    589|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    589|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 589, False: 0]
  ------------------
  520|    589|        Py_DECREF(op);
  ------------------
  |  |  430|    589|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    589|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    589|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    589|    }
  522|    589|}
modsupport.c:Py_DECREF:
  418|    593|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    593|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    593|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    593|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    593|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 356, False: 237]
  |  |  ------------------
  ------------------
  422|    356|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    356|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    356|        return;
  424|    356|    }
  425|    237|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    237|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    237|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 237]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|    237|}
modsupport.c:_Py_IsImmortal:
  127|    593|{
  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|    593|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    593|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    593|}
pyarena.c:Py_DECREF:
  418|    243|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    243|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    243|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    243|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    243|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 204, False: 39]
  |  |  ------------------
  ------------------
  422|    204|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    204|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    204|        return;
  424|    204|    }
  425|     39|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     39|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     39|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 3, False: 36]
  ------------------
  427|      3|        _Py_Dealloc(op);
  428|      3|    }
  429|     39|}
pyarena.c:_Py_IsImmortal:
  127|    243|{
  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|    243|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    243|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    243|}
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|  1.08M|{
  542|  1.08M|    Py_XINCREF(obj);
  ------------------
  |  |  514|  1.08M|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  1.08M|    return obj;
  544|  1.08M|}
pystate.c:Py_XINCREF:
  508|  1.08M|{
  509|  1.08M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.08M|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 1.08M, False: 0]
  ------------------
  510|  1.08M|        Py_INCREF(op);
  ------------------
  |  |  310|  1.08M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  1.08M|    }
  512|  1.08M|}
pystate.c:Py_INCREF:
  256|  1.08M|{
  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.08M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.08M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 1.08M]
  ------------------
  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.08M|    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.08M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.08M|#  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.08M|#endif
  308|  1.08M|}
pythonrun.c:Py_DECREF:
  418|      9|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|      9|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|      9|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 9]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|      9|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      9|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      9|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 3, False: 6]
  ------------------
  427|      3|        _Py_Dealloc(op);
  428|      3|    }
  429|      9|}
pythonrun.c:_Py_IsImmortal:
  127|      9|{
  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|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|      9|}
pythonrun.c:Py_XDECREF:
  518|      9|{
  519|      9|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      9|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 6, False: 3]
  ------------------
  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|      9|}
specialize.c:Py_XDECREF:
  518|  4.62k|{
  519|  4.62k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  4.62k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 3.77k, False: 844]
  ------------------
  520|  3.77k|        Py_DECREF(op);
  ------------------
  |  |  430|  3.77k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.77k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.77k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  3.77k|    }
  522|  4.62k|}
specialize.c:Py_DECREF:
  418|  7.48k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  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: 27, False: 7.45k]
  |  |  ------------------
  ------------------
  422|     27|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     27|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     27|        return;
  424|     27|    }
  425|  7.45k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  7.45k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  7.45k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 7.45k]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|  7.45k|}
specialize.c:_Py_IsImmortal:
  127|  7.48k|{
  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.48k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  7.48k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  7.48k|}
structmember.c:Py_INCREF:
  256|    715|{
  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|    715|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    715|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 290, False: 425]
  ------------------
  288|       |        // the object is immortal
  289|    290|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    290|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    290|        return;
  291|    290|    }
  292|    425|    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|    425|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    425|#  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|    425|#endif
  308|    425|}
structmember.c:Py_XINCREF:
  508|    182|{
  509|    182|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    182|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 182, False: 0]
  ------------------
  510|    182|        Py_INCREF(op);
  ------------------
  |  |  310|    182|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    182|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    182|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|    182|    }
  512|    182|}
structmember.c:Py_DECREF:
  418|     51|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     51|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     51|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     51|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 33, False: 18]
  |  |  ------------------
  ------------------
  422|     33|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     33|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     33|        return;
  424|     33|    }
  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|}
structmember.c:_Py_IsImmortal:
  127|     51|{
  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|     51|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     51|}
structmember.c:_Py_XNewRef:
  541|    164|{
  542|    164|    Py_XINCREF(obj);
  ------------------
  |  |  514|    164|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    164|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    164|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|    164|    return obj;
  544|    164|}
structmember.c:Py_XDECREF:
  518|    164|{
  519|    164|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    164|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 51, False: 113]
  ------------------
  520|     51|        Py_DECREF(op);
  ------------------
  |  |  430|     51|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     51|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     51|    }
  522|    164|}
symtable.c:_Py_NewRef:
  535|     96|{
  536|     96|    Py_INCREF(obj);
  ------------------
  |  |  310|     96|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     96|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     96|    return obj;
  538|     96|}
symtable.c:Py_INCREF:
  256|     96|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     96|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     96|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 96, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|     96|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     96|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     96|        return;
  291|     96|    }
  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|}
symtable.c:Py_XDECREF:
  518|     99|{
  519|     99|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     99|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 75, False: 24]
  ------------------
  520|     75|        Py_DECREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     75|    }
  522|     99|}
symtable.c:Py_DECREF:
  418|    282|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    282|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    282|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    282|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    282|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 114, False: 168]
  |  |  ------------------
  ------------------
  422|    114|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    114|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    114|        return;
  424|    114|    }
  425|    168|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    168|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    168|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 105, False: 63]
  ------------------
  427|    105|        _Py_Dealloc(op);
  428|    105|    }
  429|    168|}
symtable.c:_Py_IsImmortal:
  127|    282|{
  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|    282|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    282|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    282|}
sysmodule.c:Py_XDECREF:
  518|    183|{
  519|    183|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    183|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 95, False: 88]
  ------------------
  520|     95|        Py_DECREF(op);
  ------------------
  |  |  430|     95|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     95|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     95|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     95|    }
  522|    183|}
sysmodule.c:Py_DECREF:
  418|    295|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    295|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    295|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    295|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    295|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 100, False: 195]
  |  |  ------------------
  ------------------
  422|    100|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    100|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    100|        return;
  424|    100|    }
  425|    195|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    195|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    195|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 97, False: 98]
  ------------------
  427|     97|        _Py_Dealloc(op);
  428|     97|    }
  429|    195|}
sysmodule.c:_Py_IsImmortal:
  127|    295|{
  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|    295|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    295|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    295|}
sysmodule.c:_Py_XNewRef:
  541|      2|{
  542|      2|    Py_XINCREF(obj);
  ------------------
  |  |  514|      2|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|      2|    return obj;
  544|      2|}
sysmodule.c:Py_XINCREF:
  508|      2|{
  509|      2|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      2|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 2, False: 0]
  ------------------
  510|      2|        Py_INCREF(op);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|      2|    }
  512|      2|}
sysmodule.c:Py_INCREF:
  256|    125|{
  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|    125|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    125|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 97, False: 28]
  ------------------
  288|       |        // the object is immortal
  289|     97|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     97|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     97|        return;
  291|     97|    }
  292|     28|    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|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     28|#  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|#endif
  308|     28|}
sysmodule.c:_Py_NewRef:
  535|     96|{
  536|     96|    Py_INCREF(obj);
  ------------------
  |  |  310|     96|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     96|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     96|    return obj;
  538|     96|}
traceback.c:Py_INCREF:
  256|  3.47M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  3.47M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  3.47M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 3.47M]
  ------------------
  288|       |        // the object is immortal
  289|      0|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      0|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      0|        return;
  291|      0|    }
  292|  3.47M|    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.47M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  3.47M|#  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.47M|#endif
  308|  3.47M|}
traceback.c:Py_XINCREF:
  508|  6.23M|{
  509|  6.23M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  6.23M|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 3.47M, False: 2.75M]
  ------------------
  510|  3.47M|        Py_INCREF(op);
  ------------------
  |  |  310|  3.47M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.47M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.47M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  3.47M|    }
  512|  6.23M|}
traceback.c:_Py_XNewRef:
  541|  6.23M|{
  542|  6.23M|    Py_XINCREF(obj);
  ------------------
  |  |  514|  6.23M|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  6.23M|    return obj;
  544|  6.23M|}
traceback.c:Py_XDECREF:
  518|  12.4M|{
  519|  12.4M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  12.4M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 6.95M, False: 5.51M]
  ------------------
  520|  6.95M|        Py_DECREF(op);
  ------------------
  |  |  430|  6.95M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.95M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.95M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  6.95M|    }
  522|  12.4M|}
traceback.c:Py_DECREF:
  418|  6.95M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  6.95M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  6.95M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.95M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.95M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 6.95M]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  6.95M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  6.95M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  6.95M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 3.42M, False: 3.52M]
  ------------------
  427|  3.42M|        _Py_Dealloc(op);
  428|  3.42M|    }
  429|  6.95M|}
traceback.c:_Py_IsImmortal:
  127|  6.95M|{
  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.95M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  6.95M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  6.95M|}
fileutils.c:Py_DECREF:
  418|     20|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     20|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     20|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 20]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  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|}
fileutils.c:_Py_IsImmortal:
  127|     20|{
  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|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     20|}
posixmodule.c:Py_DECREF:
  418|  1.42k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.42k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.42k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 341, False: 1.07k]
  |  |  ------------------
  ------------------
  422|    341|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    341|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    341|        return;
  424|    341|    }
  425|  1.07k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.07k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.07k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 144, False: 935]
  ------------------
  427|    144|        _Py_Dealloc(op);
  428|    144|    }
  429|  1.07k|}
posixmodule.c:_Py_IsImmortal:
  127|  1.42k|{
  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.42k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.42k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.42k|}
posixmodule.c:_Py_NewRef:
  535|    194|{
  536|    194|    Py_INCREF(obj);
  ------------------
  |  |  310|    194|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    194|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    194|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    194|    return obj;
  538|    194|}
posixmodule.c:Py_INCREF:
  256|    348|{
  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|    348|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    348|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 21, False: 327]
  ------------------
  288|       |        // the object is immortal
  289|     21|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     21|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     21|        return;
  291|     21|    }
  292|    327|    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|    327|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    327|#  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|    327|#endif
  308|    327|}
_datetimemodule.c:Py_INCREF:
  256|     12|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     12|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     12|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 8, False: 4]
  ------------------
  288|       |        // the object is immortal
  289|      8|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      8|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      8|        return;
  291|      8|    }
  292|      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|}
_datetimemodule.c:_Py_NewRef:
  535|      4|{
  536|      4|    Py_INCREF(obj);
  ------------------
  |  |  310|      4|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|      4|    return obj;
  538|      4|}
_datetimemodule.c:Py_DECREF:
  418|     32|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     32|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     32|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 32]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|     32|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     32|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     32|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 32]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|     32|}
_datetimemodule.c:_Py_IsImmortal:
  127|     40|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     40|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     40|}
_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|     13|{
  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|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     13|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1, False: 12]
  ------------------
  288|       |        // the object is immortal
  289|      1|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      1|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      1|        return;
  291|      1|    }
  292|     12|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     12|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     12|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     12|#endif
  308|     12|}
_collectionsmodule.c:Py_DECREF:
  418|     13|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     13|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     13|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 13, False: 0]
  |  |  ------------------
  ------------------
  422|     13|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     13|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     13|        return;
  424|     13|    }
  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|}
_collectionsmodule.c:_Py_IsImmortal:
  127|     13|{
  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|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     13|}
_collectionsmodule.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|}
_collectionsmodule.c:Py_XDECREF:
  518|      1|{
  519|      1|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      1|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 0, False: 1]
  ------------------
  520|      0|        Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|      0|    }
  522|      1|}
_collectionsmodule.c:_Py_XNewRef:
  541|      1|{
  542|      1|    Py_XINCREF(obj);
  ------------------
  |  |  514|      1|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|      1|    return obj;
  544|      1|}
_collectionsmodule.c:Py_XINCREF:
  508|      1|{
  509|      1|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      1|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 1, False: 0]
  ------------------
  510|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|      1|    }
  512|      1|}
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|    205|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    205|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    205|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    205|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    205|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 82, False: 123]
  |  |  ------------------
  ------------------
  422|     82|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     82|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     82|        return;
  424|     82|    }
  425|    123|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    123|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    123|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 66, False: 57]
  ------------------
  427|     66|        _Py_Dealloc(op);
  428|     66|    }
  429|    123|}
_iomodule.c:_Py_IsImmortal:
  127|    205|{
  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|    205|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    205|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    205|}
_iomodule.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|}
_iomodule.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|}
iobase.c:_Py_REFCNT:
  105|     57|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|     57|    #if !defined(Py_GIL_DISABLED)
  107|     57|        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|     57|    }
iobase.c:Py_DECREF:
  418|    126|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    126|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    126|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    126|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    126|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 126, False: 0]
  |  |  ------------------
  ------------------
  422|    126|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    126|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    126|        return;
  424|    126|    }
  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|}
iobase.c:_Py_IsImmortal:
  127|    126|{
  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|    126|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    126|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    126|}
iobase.c:Py_INCREF:
  256|     30|{
  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|     30|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     30|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 30]
  ------------------
  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|     30|    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|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     30|#  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|#endif
  308|     30|}
iobase.c:_Py_NewRef:
  535|     30|{
  536|     30|    Py_INCREF(obj);
  ------------------
  |  |  310|     30|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     30|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     30|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     30|    return obj;
  538|     30|}
fileio.c:_Py_REFCNT:
  105|     27|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|     27|    #if !defined(Py_GIL_DISABLED)
  107|     27|        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|     27|    }
fileio.c:Py_DECREF:
  418|     81|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     81|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     81|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     81|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     81|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 81]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|     81|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     81|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     81|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 54, False: 27]
  ------------------
  427|     54|        _Py_Dealloc(op);
  428|     54|    }
  429|     81|}
fileio.c:_Py_IsImmortal:
  127|     81|{
  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|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     81|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     81|}
bufferedio.c:Py_DECREF:
  418|  1.06M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.06M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.06M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.06M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.06M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 711k, False: 355k]
  |  |  ------------------
  ------------------
  422|   711k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   711k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   711k|        return;
  424|   711k|    }
  425|   355k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   355k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   355k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 355k, False: 104]
  ------------------
  427|   355k|        _Py_Dealloc(op);
  428|   355k|    }
  429|   355k|}
bufferedio.c:_Py_IsImmortal:
  127|  1.06M|{
  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.06M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.06M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.06M|}
bufferedio.c:_Py_REFCNT:
  105|     27|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|     27|    #if !defined(Py_GIL_DISABLED)
  107|     27|        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|     27|    }
bufferedio.c:Py_XDECREF:
  518|    114|{
  519|    114|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    114|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 30, False: 84]
  ------------------
  520|     30|        Py_DECREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     30|    }
  522|    114|}
bufferedio.c:_Py_NewRef:
  535|     29|{
  536|     29|    Py_INCREF(obj);
  ------------------
  |  |  310|     29|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     29|    return obj;
  538|     29|}
bufferedio.c:Py_INCREF:
  256|     57|{
  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|     57|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     57|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 57]
  ------------------
  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|     57|    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|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     57|#  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|#endif
  308|     57|}
bufferedio.c:Py_XINCREF:
  508|     24|{
  509|     24|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     24|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 24, False: 0]
  ------------------
  510|     24|        Py_INCREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|     24|    }
  512|     24|}
textio.c:_Py_NewRef:
  535|   357k|{
  536|   357k|    Py_INCREF(obj);
  ------------------
  |  |  310|   357k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   357k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   357k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|   357k|    return obj;
  538|   357k|}
textio.c:Py_INCREF:
  256|   713k|{
  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|   713k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   713k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 3, False: 713k]
  ------------------
  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|   713k|    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|   713k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   713k|#  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|   713k|#endif
  308|   713k|}
textio.c:Py_DECREF:
  418|  1.42M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.42M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.42M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.42M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.42M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 355k, False: 1.06M]
  |  |  ------------------
  ------------------
  422|   355k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   355k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   355k|        return;
  424|   355k|    }
  425|  1.06M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.06M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.06M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 355k, False: 713k]
  ------------------
  427|   355k|        _Py_Dealloc(op);
  428|   355k|    }
  429|  1.06M|}
textio.c:_Py_IsImmortal:
  127|  1.42M|{
  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.42M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.42M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.42M|}
textio.c:Py_XDECREF:
  518|     50|{
  519|     50|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     50|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 21, False: 29]
  ------------------
  520|     21|        Py_DECREF(op);
  ------------------
  |  |  430|     21|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     21|    }
  522|     50|}
textio.c:_Py_REFCNT:
  105|      3|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|      3|    #if !defined(Py_GIL_DISABLED)
  107|      3|        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|    }
itertoolsmodule.c:Py_DECREF:
  418|    462|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    462|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    462|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    462|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    462|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 87, False: 375]
  |  |  ------------------
  ------------------
  422|     87|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     87|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     87|        return;
  424|     87|    }
  425|    375|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    375|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    375|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 114, False: 261]
  ------------------
  427|    114|        _Py_Dealloc(op);
  428|    114|    }
  429|    375|}
itertoolsmodule.c:_Py_IsImmortal:
  127|    462|{
  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|    462|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    462|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    462|}
itertoolsmodule.c:_Py_NewRef:
  535|    135|{
  536|    135|    Py_INCREF(obj);
  ------------------
  |  |  310|    135|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    135|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    135|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    135|    return obj;
  538|    135|}
itertoolsmodule.c:Py_INCREF:
  256|    375|{
  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|    375|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    375|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 171, False: 204]
  ------------------
  288|       |        // the object is immortal
  289|    171|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    171|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    171|        return;
  291|    171|    }
  292|    204|    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|    204|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    204|#  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|    204|#endif
  308|    204|}
itertoolsmodule.c:Py_XDECREF:
  518|    114|{
  519|    114|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    114|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 114, False: 0]
  ------------------
  520|    114|        Py_DECREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    114|    }
  522|    114|}
itertoolsmodule.c:_Py_REFCNT:
  105|    270|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|    270|    #if !defined(Py_GIL_DISABLED)
  107|    270|        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|    270|    }
sre.c:Py_DECREF:
  418|  5.66k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  5.66k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  5.66k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.66k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.66k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2.19k, False: 3.47k]
  |  |  ------------------
  ------------------
  422|  2.19k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  2.19k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  2.19k|        return;
  424|  2.19k|    }
  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: 45, False: 3.43k]
  ------------------
  427|     45|        _Py_Dealloc(op);
  428|     45|    }
  429|  3.47k|}
sre.c:_Py_IsImmortal:
  127|  5.66k|{
  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.66k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  5.66k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  5.66k|}
sre.c:_Py_NewRef:
  535|  2.30k|{
  536|  2.30k|    Py_INCREF(obj);
  ------------------
  |  |  310|  2.30k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  2.30k|    return obj;
  538|  2.30k|}
sre.c:Py_INCREF:
  256|  2.31k|{
  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.31k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  2.31k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 67, False: 2.24k]
  ------------------
  288|       |        // the object is immortal
  289|     67|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     67|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     67|        return;
  291|     67|    }
  292|  2.24k|    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.24k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  2.24k|#  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.24k|#endif
  308|  2.24k|}
sre.c:Py_XDECREF:
  518|     13|{
  519|     13|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     13|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 13, False: 0]
  ------------------
  520|     13|        Py_DECREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     13|    }
  522|     13|}
sre.c:_Py_REFCNT:
  105|  1.69k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  1.69k|    #if !defined(Py_GIL_DISABLED)
  107|  1.69k|        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.69k|    }
_threadmodule.c:Py_DECREF:
  418|    178|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    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]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|    178|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    178|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    178|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 178]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|    178|}
_threadmodule.c:_Py_IsImmortal:
  127|    178|{
  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|    178|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    178|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    178|}
_abc.c:Py_INCREF:
  256|  1.03k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  1.03k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.03k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.02k, False: 10]
  ------------------
  288|       |        // the object is immortal
  289|  1.02k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.02k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.02k|        return;
  291|  1.02k|    }
  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|}
_abc.c:Py_DECREF:
  418|  3.41k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  3.41k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  3.41k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.16k, False: 2.25k]
  |  |  ------------------
  ------------------
  422|  1.16k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.16k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.16k|        return;
  424|  1.16k|    }
  425|  2.25k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.25k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  2.25k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 303, False: 1.95k]
  ------------------
  427|    303|        _Py_Dealloc(op);
  428|    303|    }
  429|  2.25k|}
_abc.c:_Py_IsImmortal:
  127|  3.41k|{
  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.41k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  3.41k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  3.41k|}
_abc.c:Py_XDECREF:
  518|    390|{
  519|    390|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    390|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 286, False: 104]
  ------------------
  520|    286|        Py_DECREF(op);
  ------------------
  |  |  430|    286|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    286|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    286|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    286|    }
  522|    390|}
_abc.c:_Py_NewRef:
  535|     82|{
  536|     82|    Py_INCREF(obj);
  ------------------
  |  |  310|     82|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     82|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     82|    return obj;
  538|     82|}
_abc.c:_Py_XNewRef:
  541|     90|{
  542|     90|    Py_XINCREF(obj);
  ------------------
  |  |  514|     90|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     90|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     90|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|     90|    return obj;
  544|     90|}
_abc.c:Py_XINCREF:
  508|     90|{
  509|     90|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     90|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 90, False: 0]
  ------------------
  510|     90|        Py_INCREF(op);
  ------------------
  |  |  310|     90|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     90|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     90|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|     90|    }
  512|     90|}
_functoolsmodule.c:Py_INCREF:
  256|     14|{
  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|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     14|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 3, False: 11]
  ------------------
  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|     11|    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|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     11|#  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|#endif
  308|     11|}
_functoolsmodule.c:Py_XDECREF:
  518|      1|{
  519|      1|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      1|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 0, False: 1]
  ------------------
  520|      0|        Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|      0|    }
  522|      1|}
_functoolsmodule.c:Py_DECREF:
  418|      7|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|      7|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|      7|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1, False: 6]
  |  |  ------------------
  ------------------
  422|      1|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      1|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      1|        return;
  424|      1|    }
  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|}
_functoolsmodule.c:_Py_IsImmortal:
  127|      7|{
  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|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|      7|}
_functoolsmodule.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|    }
_functoolsmodule.c:_Py_NewRef:
  535|     14|{
  536|     14|    Py_INCREF(obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     14|    return obj;
  538|     14|}
getpath.c:Py_DECREF:
  418|     64|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     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: 24, False: 40]
  |  |  ------------------
  ------------------
  422|     24|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     24|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     24|        return;
  424|     24|    }
  425|     40|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     40|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     40|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 2, False: 38]
  ------------------
  427|      2|        _Py_Dealloc(op);
  428|      2|    }
  429|     40|}
getpath.c:_Py_IsImmortal:
  127|     64|{
  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|     64|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     64|}
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|     24|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     24|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     24|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 24, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|     24|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     24|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     24|        return;
  291|     24|    }
  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|      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|}
getpath.c:Py_XINCREF:
  508|      8|{
  509|      8|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      8|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 8, False: 0]
  ------------------
  510|      8|        Py_INCREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|      8|    }
  512|      8|}
abstract.c:_Py_NewRef:
  535|  52.3M|{
  536|  52.3M|    Py_INCREF(obj);
  ------------------
  |  |  310|  52.3M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  52.3M|    return obj;
  538|  52.3M|}
abstract.c:Py_INCREF:
  256|  52.7M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  52.7M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  52.7M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 43.7M, False: 9.07M]
  ------------------
  288|       |        // the object is immortal
  289|  43.7M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  43.7M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  43.7M|        return;
  291|  43.7M|    }
  292|  9.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|  9.07M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  9.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|  9.07M|#endif
  308|  9.07M|}
abstract.c:Py_DECREF:
  418|  53.0M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  53.0M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  53.0M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  53.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 49.6M, False: 3.38M]
  |  |  ------------------
  ------------------
  422|  49.6M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  49.6M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  49.6M|        return;
  424|  49.6M|    }
  425|  3.38M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  3.38M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  3.38M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 399k, False: 2.98M]
  ------------------
  427|   399k|        _Py_Dealloc(op);
  428|   399k|    }
  429|  3.38M|}
abstract.c:_Py_IsImmortal:
  127|  53.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|  53.0M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  53.0M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  53.0M|}
abstract.c:Py_XDECREF:
  518|   355k|{
  519|   355k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   355k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 355k, False: 0]
  ------------------
  520|   355k|        Py_DECREF(op);
  ------------------
  |  |  430|   355k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|   355k|    }
  522|   355k|}
abstract.c:_Py_XNewRef:
  541|   782k|{
  542|   782k|    Py_XINCREF(obj);
  ------------------
  |  |  514|   782k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   782k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   782k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|   782k|    return obj;
  544|   782k|}
abstract.c:Py_XINCREF:
  508|   782k|{
  509|   782k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   782k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 427k, False: 355k]
  ------------------
  510|   427k|        Py_INCREF(op);
  ------------------
  |  |  310|   427k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   427k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   427k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|   427k|    }
  512|   782k|}
bytearrayobject.c:Py_DECREF:
  418|   791k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   791k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   791k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   791k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   791k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2, False: 791k]
  |  |  ------------------
  ------------------
  422|      2|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      2|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      2|        return;
  424|      2|    }
  425|   791k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   791k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   791k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 791k, False: 0]
  ------------------
  427|   791k|        _Py_Dealloc(op);
  428|   791k|    }
  429|   791k|}
bytearrayobject.c:_Py_IsImmortal:
  127|   791k|{
  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|   791k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   791k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   791k|}
bytearrayobject.c:Py_XDECREF:
  518|   791k|{
  519|   791k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   791k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 791k, False: 0]
  ------------------
  520|   791k|        Py_DECREF(op);
  ------------------
  |  |  430|   791k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   791k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   791k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|   791k|    }
  522|   791k|}
bytearrayobject.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|}
bytearrayobject.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|}
cellobject.c:_Py_XNewRef:
  541|  2.96M|{
  542|  2.96M|    Py_XINCREF(obj);
  ------------------
  |  |  514|  2.96M|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.96M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.96M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  2.96M|    return obj;
  544|  2.96M|}
cellobject.c:Py_XINCREF:
  508|  2.96M|{
  509|  2.96M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.96M|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 1.19k, False: 2.96M]
  ------------------
  510|  1.19k|        Py_INCREF(op);
  ------------------
  |  |  310|  1.19k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  1.19k|    }
  512|  2.96M|}
cellobject.c:Py_INCREF:
  256|  1.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|  1.19k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.19k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 8, False: 1.19k]
  ------------------
  288|       |        // the object is immortal
  289|      8|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      8|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      8|        return;
  291|      8|    }
  292|  1.19k|    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.19k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.19k|#  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.19k|#endif
  308|  1.19k|}
cellobject.c:Py_XDECREF:
  518|  2.96M|{
  519|  2.96M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.96M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 2.96M, False: 2.63k]
  ------------------
  520|  2.96M|        Py_DECREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  2.96M|    }
  522|  2.96M|}
cellobject.c:Py_DECREF:
  418|  2.96M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  2.96M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  2.96M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.96M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.96M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 13, False: 2.96M]
  |  |  ------------------
  ------------------
  422|     13|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     13|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     13|        return;
  424|     13|    }
  425|  2.96M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.96M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  2.96M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 2.96M, False: 1.36k]
  ------------------
  427|  2.96M|        _Py_Dealloc(op);
  428|  2.96M|    }
  429|  2.96M|}
cellobject.c:_Py_IsImmortal:
  127|  2.96M|{
  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.96M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  2.96M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  2.96M|}
classobject.c:_Py_NewRef:
  535|  24.7M|{
  536|  24.7M|    Py_INCREF(obj);
  ------------------
  |  |  310|  24.7M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  24.7M|    return obj;
  538|  24.7M|}
classobject.c:Py_INCREF:
  256|  24.7M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  24.7M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  24.7M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 24.7M]
  ------------------
  288|       |        // the object is immortal
  289|      0|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      0|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      0|        return;
  291|      0|    }
  292|  24.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|  24.7M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  24.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|  24.7M|#endif
  308|  24.7M|}
classobject.c:_Py_REFCNT:
  105|  12.3M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  12.3M|    #if !defined(Py_GIL_DISABLED)
  107|  12.3M|        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.3M|    }
classobject.c:Py_DECREF:
  418|  24.7M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  24.7M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  24.7M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 24.7M]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  24.7M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  24.7M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  24.7M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 24.7M]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|  24.7M|}
classobject.c:_Py_IsImmortal:
  127|  24.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|  24.7M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  24.7M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  24.7M|}
classobject.c:Py_XDECREF:
  518|  12.3M|{
  519|  12.3M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  12.3M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 12.3M, False: 0]
  ------------------
  520|  12.3M|        Py_DECREF(op);
  ------------------
  |  |  430|  12.3M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  12.3M|    }
  522|  12.3M|}
codeobject.c:_Py_NewRef:
  535|  24.6k|{
  536|  24.6k|    Py_INCREF(obj);
  ------------------
  |  |  310|  24.6k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  24.6k|    return obj;
  538|  24.6k|}
codeobject.c:Py_INCREF:
  256|  24.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|  24.6k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  24.6k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 11.0k, False: 13.6k]
  ------------------
  288|       |        // the object is immortal
  289|  11.0k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  11.0k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  11.0k|        return;
  291|  11.0k|    }
  292|  13.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|  13.6k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  13.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|  13.6k|#endif
  308|  13.6k|}
codeobject.c:Py_XDECREF:
  518|  7.14k|{
  519|  7.14k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  7.14k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 4.41k, False: 2.73k]
  ------------------
  520|  4.41k|        Py_DECREF(op);
  ------------------
  |  |  430|  4.41k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  4.41k|    }
  522|  7.14k|}
codeobject.c:_Py_REFCNT:
  105|  5.18k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  5.18k|    #if !defined(Py_GIL_DISABLED)
  107|  5.18k|        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|  5.18k|    }
codeobject.c:Py_DECREF:
  418|  4.44k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  4.44k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  4.44k|#define _Py_IsImmortal(op) _Py_IsImmortal(_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 (137:28): [True: 2.21k, False: 2.22k]
  |  |  ------------------
  ------------------
  422|  2.21k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  2.21k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  2.21k|        return;
  424|  2.21k|    }
  425|  2.22k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.22k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  2.22k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.78k, False: 442]
  ------------------
  427|  1.78k|        _Py_Dealloc(op);
  428|  1.78k|    }
  429|  2.22k|}
codeobject.c:_Py_IsImmortal:
  127|  5.42k|{
  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.42k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  5.42k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  5.42k|}
codeobject.c:Py_SET_REFCNT:
  154|    980|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|    980|    assert(refcnt >= 0);
  ------------------
  |  Branch (155:5): [True: 980, False: 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|    980|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|    980|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    980|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    980|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 980]
  |  |  ------------------
  ------------------
  167|      0|        return;
  168|      0|    }
  169|    980|#ifndef Py_GIL_DISABLED
  170|    980|#if SIZEOF_VOID_P > 4
  171|    980|    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|    980|#endif  // Py_LIMITED_API
  199|    980|}
descrobject.c:Py_XDECREF:
  518|    761|{
  519|    761|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    761|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 375, False: 386]
  ------------------
  520|    375|        Py_DECREF(op);
  ------------------
  |  |  430|    375|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    375|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    375|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    375|    }
  522|    761|}
descrobject.c:Py_DECREF:
  418|  3.25k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  3.25k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  3.25k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 145, False: 3.11k]
  |  |  ------------------
  ------------------
  422|    145|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    145|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    145|        return;
  424|    145|    }
  425|  3.11k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  3.11k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  3.11k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 331, False: 2.78k]
  ------------------
  427|    331|        _Py_Dealloc(op);
  428|    331|    }
  429|  3.11k|}
descrobject.c:_Py_IsImmortal:
  127|  3.25k|{
  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.25k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  3.25k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  3.25k|}
descrobject.c:_Py_XNewRef:
  541|  5.20k|{
  542|  5.20k|    Py_XINCREF(obj);
  ------------------
  |  |  514|  5.20k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.20k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  5.20k|    return obj;
  544|  5.20k|}
descrobject.c:Py_XINCREF:
  508|  5.20k|{
  509|  5.20k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  5.20k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 5.12k, False: 74]
  ------------------
  510|  5.12k|        Py_INCREF(op);
  ------------------
  |  |  310|  5.12k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  5.12k|    }
  512|  5.20k|}
descrobject.c:Py_INCREF:
  256|  5.83k|{
  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.83k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  5.83k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 3.82k, False: 2.00k]
  ------------------
  288|       |        // the object is immortal
  289|  3.82k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  3.82k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  3.82k|        return;
  291|  3.82k|    }
  292|  2.00k|    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.00k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  2.00k|#  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.00k|#endif
  308|  2.00k|}
descrobject.c:_Py_NewRef:
  535|    705|{
  536|    705|    Py_INCREF(obj);
  ------------------
  |  |  310|    705|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    705|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    705|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    705|    return obj;
  538|    705|}
enumobject.c:Py_XDECREF:
  518|  8.99M|{
  519|  8.99M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  8.99M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 5.99M, False: 2.99M]
  ------------------
  520|  5.99M|        Py_DECREF(op);
  ------------------
  |  |  430|  5.99M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.99M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.99M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  5.99M|    }
  522|  8.99M|}
enumobject.c:Py_DECREF:
  418|  17.4M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  17.4M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  17.4M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 5.03M, False: 12.3M]
  |  |  ------------------
  ------------------
  422|  5.03M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  5.03M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  5.03M|        return;
  424|  5.03M|    }
  425|  12.3M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  12.3M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  12.3M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 5.99M, False: 6.38M]
  ------------------
  427|  5.99M|        _Py_Dealloc(op);
  428|  5.99M|    }
  429|  12.3M|}
enumobject.c:_Py_IsImmortal:
  127|  17.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|  17.4M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  17.4M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  17.4M|}
enumobject.c:_Py_REFCNT:
  105|  5.71M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  5.71M|    #if !defined(Py_GIL_DISABLED)
  107|  5.71M|        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|  5.71M|    }
enumobject.c:Py_INCREF:
  256|  5.71M|{
  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.71M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  5.71M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 5.71M]
  ------------------
  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|  5.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|  5.71M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  5.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|  5.71M|#endif
  308|  5.71M|}
genobject.c:Py_INCREF:
  256|  10.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|  10.5M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  10.5M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 10.4M, False: 32.1k]
  ------------------
  288|       |        // the object is immortal
  289|  10.4M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  10.4M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  10.4M|        return;
  291|  10.4M|    }
  292|  32.1k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  32.1k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  32.1k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  32.1k|#endif
  308|  32.1k|}
genobject.c:_Py_NewRef:
  535|  10.5M|{
  536|  10.5M|    Py_INCREF(obj);
  ------------------
  |  |  310|  10.5M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  10.5M|    return obj;
  538|  10.5M|}
genobject.c:Py_DECREF:
  418|  10.5M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  10.5M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  10.5M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 10.5M, False: 32.1k]
  |  |  ------------------
  ------------------
  422|  10.5M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  10.5M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  10.5M|        return;
  424|  10.5M|    }
  425|  32.1k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  32.1k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  32.1k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 32.1k]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|  32.1k|}
genobject.c:_Py_IsImmortal:
  127|  10.5M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  10.5M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  10.5M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  10.5M|}
genobject.c:_Py_REFCNT:
  105|  5.23M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  5.23M|    #if !defined(Py_GIL_DISABLED)
  107|  5.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|  5.23M|    }
genobject.c:_Py_IsStaticImmortal:
  141|  5.23M|{
  142|  5.23M|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|  5.23M|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|  5.23M|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|  5.23M|}
genobject.c:Py_XDECREF:
  518|  32.1k|{
  519|  32.1k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  32.1k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 0, False: 32.1k]
  ------------------
  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|  32.1k|}
fileobject.c:Py_DECREF:
  418|   355k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   355k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   355k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 355k, False: 24]
  |  |  ------------------
  ------------------
  422|   355k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   355k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   355k|        return;
  424|   355k|    }
  425|     24|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     24|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     24|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 24]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|     24|}
fileobject.c:_Py_IsImmortal:
  127|   355k|{
  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|   355k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   355k|}
frameobject.c:Py_XINCREF:
  508|  89.2M|{
  509|  89.2M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  89.2M|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 88.6M, False: 531k]
  ------------------
  510|  88.6M|        Py_INCREF(op);
  ------------------
  |  |  310|  88.6M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  88.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  88.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  88.6M|    }
  512|  89.2M|}
frameobject.c:Py_INCREF:
  256|   178M|{
  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|   178M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   178M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 178M]
  ------------------
  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|   178M|    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|   178M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   178M|#  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|   178M|#endif
  308|   178M|}
frameobject.c:_Py_IsImmortal:
  127|  3.05M|{
  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.05M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  3.05M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  3.05M|}
frameobject.c:_Py_IsStaticImmortal:
  141|  11.1M|{
  142|  11.1M|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|  11.1M|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|  11.1M|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|  11.1M|}
frameobject.c:Py_DECREF:
  418|  3.05M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  3.05M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  3.05M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 3.05M]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  3.05M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  3.05M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  3.05M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 25.4k, False: 3.03M]
  ------------------
  427|  25.4k|        _Py_Dealloc(op);
  428|  25.4k|    }
  429|  3.05M|}
frameobject.c:_Py_REFCNT:
  105|  6.02M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  6.02M|    #if !defined(Py_GIL_DISABLED)
  107|  6.02M|        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.02M|    }
frameobject.c:_Py_NewRef:
  535|  89.7M|{
  536|  89.7M|    Py_INCREF(obj);
  ------------------
  |  |  310|  89.7M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  89.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  89.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  89.7M|    return obj;
  538|  89.7M|}
frameobject.c:_Py_XNewRef:
  541|  89.2M|{
  542|  89.2M|    Py_XINCREF(obj);
  ------------------
  |  |  514|  89.2M|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  89.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  89.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  89.2M|    return obj;
  544|  89.2M|}
interpolationobject.c:Py_DECREF:
  418|      2|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|      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]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  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|      2|{
  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|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|      2|}
iterobject.c:_Py_NewRef:
  535|  2.69M|{
  536|  2.69M|    Py_INCREF(obj);
  ------------------
  |  |  310|  2.69M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.69M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.69M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  2.69M|    return obj;
  538|  2.69M|}
iterobject.c:Py_INCREF:
  256|  2.69M|{
  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.69M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  2.69M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 2.69M]
  ------------------
  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.69M|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  2.69M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  2.69M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  2.69M|#endif
  308|  2.69M|}
iterobject.c:Py_XDECREF:
  518|  2.69M|{
  519|  2.69M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.69M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 229, False: 2.69M]
  ------------------
  520|    229|        Py_DECREF(op);
  ------------------
  |  |  430|    229|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    229|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    229|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    229|    }
  522|  2.69M|}
iterobject.c:Py_DECREF:
  418|  2.69M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  2.69M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  2.69M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.69M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.69M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 2.69M]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  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: 0, False: 2.69M]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|  2.69M|}
iterobject.c:_Py_IsImmortal:
  127|  2.69M|{
  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.69M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  2.69M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  2.69M|}
lazyimportobject.c:_Py_XNewRef:
  541|     26|{
  542|     26|    Py_XINCREF(obj);
  ------------------
  |  |  514|     26|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     26|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|     26|    return obj;
  544|     26|}
lazyimportobject.c:Py_XINCREF:
  508|     26|{
  509|     26|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     26|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 17, False: 9]
  ------------------
  510|     17|        Py_INCREF(op);
  ------------------
  |  |  310|     17|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     17|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     17|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|     17|    }
  512|     26|}
lazyimportobject.c:Py_INCREF:
  256|     43|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     43|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     43|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 15, False: 28]
  ------------------
  288|       |        // the object is immortal
  289|     15|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     15|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     15|        return;
  291|     15|    }
  292|     28|    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|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     28|#  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|#endif
  308|     28|}
lazyimportobject.c:_Py_NewRef:
  535|     26|{
  536|     26|    Py_INCREF(obj);
  ------------------
  |  |  310|     26|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     26|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     26|    return obj;
  538|     26|}
lazyimportobject.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: 0, False: 6]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|      6|}
lazyimportobject.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|}
methodobject.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|}
methodobject.c:Py_INCREF:
  256|  6.92M|{
  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.92M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  6.92M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.08M, False: 5.83M]
  ------------------
  288|       |        // the object is immortal
  289|  1.08M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.08M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.08M|        return;
  291|  1.08M|    }
  292|  5.83M|    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.83M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  5.83M|#  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.83M|#endif
  308|  5.83M|}
methodobject.c:_Py_XNewRef:
  541|  13.8M|{
  542|  13.8M|    Py_XINCREF(obj);
  ------------------
  |  |  514|  13.8M|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  13.8M|    return obj;
  544|  13.8M|}
methodobject.c:Py_XINCREF:
  508|  13.8M|{
  509|  13.8M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  13.8M|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 6.92M, False: 6.92M]
  ------------------
  510|  6.92M|        Py_INCREF(op);
  ------------------
  |  |  310|  6.92M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.92M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.92M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  6.92M|    }
  512|  13.8M|}
methodobject.c:_Py_REFCNT:
  105|  6.92M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  6.92M|    #if !defined(Py_GIL_DISABLED)
  107|  6.92M|        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.92M|    }
methodobject.c:Py_XDECREF:
  518|  20.7M|{
  519|  20.7M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  20.7M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 6.92M, False: 13.8M]
  ------------------
  520|  6.92M|        Py_DECREF(op);
  ------------------
  |  |  430|  6.92M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.92M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.92M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  6.92M|    }
  522|  20.7M|}
methodobject.c:Py_DECREF:
  418|  6.92M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  6.92M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  6.92M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.92M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.92M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.08M, False: 5.83M]
  |  |  ------------------
  ------------------
  422|  1.08M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.08M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.08M|        return;
  424|  1.08M|    }
  425|  5.83M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  5.83M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  5.83M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 314k, False: 5.52M]
  ------------------
  427|   314k|        _Py_Dealloc(op);
  428|   314k|    }
  429|  5.83M|}
methodobject.c:_Py_IsImmortal:
  127|  6.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|  6.92M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  6.92M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  6.92M|}
namespaceobject.c:Py_DECREF:
  418|      2|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|      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]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  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: 2, False: 0]
  ------------------
  427|      2|        _Py_Dealloc(op);
  428|      2|    }
  429|      2|}
namespaceobject.c:_Py_IsImmortal:
  127|      2|{
  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|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|      2|}
assemble.c:Py_DECREF:
  418|     42|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     42|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     42|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 15, False: 27]
  |  |  ------------------
  ------------------
  422|     15|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     15|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     15|        return;
  424|     15|    }
  425|     27|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     27|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     27|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 27]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|     27|}
assemble.c:_Py_IsImmortal:
  127|     42|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     42|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     42|}
assemble.c:_Py_NewRef:
  535|      3|{
  536|      3|    Py_INCREF(obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|      3|    return obj;
  538|      3|}
assemble.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|}
assemble.c:Py_XDECREF:
  518|     42|{
  519|     42|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     42|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 42, False: 0]
  ------------------
  520|     42|        Py_DECREF(op);
  ------------------
  |  |  430|     42|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     42|    }
  522|     42|}
pegen.c:Py_XDECREF:
  518|      3|{
  519|      3|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      3|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 0, False: 3]
  ------------------
  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|}
pegen.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: 3, False: 3]
  ------------------
  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|      3|    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|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      3|#  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|#endif
  308|      3|}
pegen.c:_Py_NewRef:
  535|      3|{
  536|      3|    Py_INCREF(obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|      3|    return obj;
  538|      3|}
pegen.c:_Py_XNewRef:
  541|      3|{
  542|      3|    Py_XINCREF(obj);
  ------------------
  |  |  514|      3|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|      3|    return obj;
  544|      3|}
pegen.c:Py_XINCREF:
  508|      3|{
  509|      3|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      3|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 3, False: 0]
  ------------------
  510|      3|        Py_INCREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|      3|    }
  512|      3|}
state.c:Py_XDECREF:
  518|     15|{
  519|     15|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     15|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 6, False: 9]
  ------------------
  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|     15|}
state.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: 3, False: 3]
  |  |  ------------------
  ------------------
  422|      3|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      3|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      3|        return;
  424|      3|    }
  425|      3|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      3|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      3|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 3]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|      3|}
state.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|}

PyInit__abc:
 1000|      2|{
 1001|      2|    return PyModuleDef_Init(&_abcmodule);
 1002|      2|}
_abc.c:get_abc_state:
   29|    626|{
   30|    626|    void *state = _PyModule_GetState(module);
   31|    626|    assert(state != NULL);
  ------------------
  |  Branch (31:5): [True: 626, False: 0]
  ------------------
   32|    626|    return (_abcmodule_state *)state;
   33|    626|}
_abc.c:get_invalidation_counter:
   37|    166|{
   38|       |#ifdef Py_GIL_DISABLED
   39|       |    return _Py_atomic_load_uint64(&state->abc_invalidation_counter);
   40|       |#else
   41|    166|    return state->abc_invalidation_counter;
   42|    166|#endif
   43|    166|}
_abc.c:_abc__abc_init:
  499|     76|{
  500|     76|    _abcmodule_state *state = get_abc_state(module);
  501|     76|    PyObject *data;
  502|     76|    if (compute_abstract_methods(self) < 0) {
  ------------------
  |  Branch (502:9): [True: 0, False: 76]
  ------------------
  503|      0|        return NULL;
  504|      0|    }
  505|       |
  506|       |    /* Set up inheritance registry. */
  507|     76|    data = abc_data_new(state->_abc_data_type, NULL, NULL);
  508|     76|    if (data == NULL) {
  ------------------
  |  Branch (508:9): [True: 0, False: 76]
  ------------------
  509|      0|        return NULL;
  510|      0|    }
  511|     76|    if (PyObject_SetAttr(self, &_Py_ID(_abc_impl), data) < 0) {
  ------------------
  |  |  920|     76|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     76|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     76|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (511:9): [True: 0, False: 76]
  ------------------
  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|     76|    Py_DECREF(data);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|     76|    if (PyType_Check(self)) {
  ------------------
  |  |  766|     76|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 76, False: 0]
  |  |  ------------------
  ------------------
  521|     76|        PyTypeObject *cls = (PyTypeObject *)self;
  522|     76|        PyObject *dict = _PyType_GetDict(cls);
  523|     76|        PyObject *flags = NULL;
  524|     76|        if (PyDict_Pop(dict, &_Py_ID(__abc_tpflags__), &flags) < 0) {
  ------------------
  |  |  920|     76|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     76|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     76|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (524:13): [True: 0, False: 76]
  ------------------
  525|      0|            return NULL;
  526|      0|        }
  527|     76|        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: 72, False: 4]
  |  Branch (527:30): [True: 0, False: 4]
  ------------------
  528|     72|            Py_XDECREF(flags);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  529|     72|            Py_RETURN_NONE;
  ------------------
  |  |  628|     72|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     72|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  530|     72|        }
  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|     76|}
_abc.c:compute_abstract_methods:
  363|     76|{
  364|     76|    int ret = -1;
  365|     76|    PyObject *abstracts = PyFrozenSet_New(NULL);
  366|     76|    if (abstracts == NULL) {
  ------------------
  |  Branch (366:9): [True: 0, False: 76]
  ------------------
  367|      0|        return -1;
  368|      0|    }
  369|       |
  370|     76|    PyObject *ns = NULL, *items = NULL, *bases = NULL;  // Py_XDECREF()ed on error.
  371|       |
  372|       |    /* Stage 1: direct abstract methods. */
  373|     76|    ns = PyObject_GetAttr(self, &_Py_ID(__dict__));
  ------------------
  |  |  920|     76|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     76|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     76|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  374|     76|    if (!ns) {
  ------------------
  |  Branch (374:9): [True: 0, False: 76]
  ------------------
  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|     76|    items = PyMapping_Items(ns);
  381|     76|    if (!items) {
  ------------------
  |  Branch (381:9): [True: 0, False: 76]
  ------------------
  382|      0|        goto error;
  383|      0|    }
  384|     76|    assert(PyList_Check(items));
  ------------------
  |  Branch (384:5): [True: 76, False: 0]
  ------------------
  385|    935|    for (Py_ssize_t pos = 0; pos < PyList_GET_SIZE(items); pos++) {
  ------------------
  |  |   38|    935|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    935|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    935|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (385:30): [True: 859, False: 76]
  ------------------
  386|    859|        PyObject *it = PySequence_Fast(
  387|    859|                PyList_GET_ITEM(items, pos),
  ------------------
  |  |   40|    859|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|    859|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    859|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (387:17): [True: 859, False: 0]
  ------------------
  388|      0|                "items() returned non-iterable");
  389|    859|        if (!it) {
  ------------------
  |  Branch (389:13): [True: 0, False: 859]
  ------------------
  390|      0|            goto error;
  391|      0|        }
  392|    859|        if (PySequence_Fast_GET_SIZE(it) != 2) {
  ------------------
  |  |   92|    859|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|    859|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    859|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 0, False: 859]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (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|    859|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    859|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    859|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (392:13): [True: 0, False: 859]
  ------------------
  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|    859|        PyObject *key = PySequence_Fast_GET_ITEM(it, 0);
  ------------------
  |  |   97|    859|     (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   25|    859|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    859|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 0, False: 859]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                    (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|    859|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|    859|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    859|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (400:25): [True: 0, False: 0]
  |  Branch (400:25): [True: 859, False: 0]
  ------------------
  401|    859|        PyObject *value = PySequence_Fast_GET_ITEM(it, 1);
  ------------------
  |  |   97|    859|     (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   25|    859|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    859|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 0, False: 859]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                    (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|    859|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|    859|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    859|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (401:27): [True: 0, False: 0]
  |  Branch (401:27): [True: 859, False: 0]
  ------------------
  402|       |        // items or it may be cleared while accessing __abstractmethod__
  403|       |        // So we need to keep strong reference for key
  404|    859|        Py_INCREF(key);
  ------------------
  |  |  310|    859|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    859|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    859|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  405|    859|        int is_abstract = _PyObject_IsAbstract(value);
  406|    859|        if (is_abstract < 0 ||
  ------------------
  |  Branch (406:13): [True: 0, False: 859]
  ------------------
  407|    859|                (is_abstract && PySet_Add(abstracts, key) < 0)) {
  ------------------
  |  Branch (407:18): [True: 98, False: 761]
  |  Branch (407:33): [True: 0, False: 98]
  ------------------
  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|    859|        Py_DECREF(key);
  ------------------
  |  |  430|    859|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    859|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    859|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  413|    859|        Py_DECREF(it);
  ------------------
  |  |  430|    859|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    859|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    859|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  414|    859|    }
  415|       |
  416|       |    /* Stage 2: inherited abstract methods. */
  417|     76|    bases = PyObject_GetAttr(self, &_Py_ID(__bases__));
  ------------------
  |  |  920|     76|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     76|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     76|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  418|     76|    if (!bases) {
  ------------------
  |  Branch (418:9): [True: 0, False: 76]
  ------------------
  419|      0|        goto error;
  420|      0|    }
  421|     76|    if (!PyTuple_Check(bases)) {
  ------------------
  |  |   27|     76|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     76|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (421:9): [True: 0, False: 76]
  ------------------
  422|      0|        PyErr_SetString(PyExc_TypeError, "__bases__ is not tuple");
  423|      0|        goto error;
  424|      0|    }
  425|       |
  426|    167|    for (Py_ssize_t pos = 0; pos < PyTuple_GET_SIZE(bases); pos++) {
  ------------------
  |  |   27|    167|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    167|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    167|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (426:30): [True: 91, False: 76]
  ------------------
  427|     91|        PyObject *item = PyTuple_GET_ITEM(bases, pos);  // borrowed
  ------------------
  |  |   29|     91|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     91|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     91|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (427:26): [True: 91, False: 0]
  ------------------
  428|      0|        PyObject *base_abstracts, *iter;
  429|       |
  430|     91|        if (PyObject_GetOptionalAttr(item, &_Py_ID(__abstractmethods__),
  ------------------
  |  |  920|     91|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     91|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     91|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (430:13): [True: 0, False: 91]
  ------------------
  431|     91|                                 &base_abstracts) < 0) {
  432|      0|            goto error;
  433|      0|        }
  434|     91|        if (base_abstracts == NULL) {
  ------------------
  |  Branch (434:13): [True: 25, False: 66]
  ------------------
  435|     25|            continue;
  436|     25|        }
  437|     66|        if (!(iter = PyObject_GetIter(base_abstracts))) {
  ------------------
  |  Branch (437:13): [True: 0, False: 66]
  ------------------
  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|     66|        Py_DECREF(base_abstracts);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  442|     66|        PyObject *key, *value;
  443|    236|        while ((key = PyIter_Next(iter))) {
  ------------------
  |  Branch (443:16): [True: 170, False: 66]
  ------------------
  444|    170|            if (PyObject_GetOptionalAttr(self, key, &value) < 0) {
  ------------------
  |  Branch (444:17): [True: 0, False: 170]
  ------------------
  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|    170|            if (value == NULL) {
  ------------------
  |  Branch (449:17): [True: 0, False: 170]
  ------------------
  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|    170|            int is_abstract = _PyObject_IsAbstract(value);
  455|    170|            Py_DECREF(value);
  ------------------
  |  |  430|    170|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    170|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    170|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  456|    170|            if (is_abstract < 0 ||
  ------------------
  |  Branch (456:17): [True: 0, False: 170]
  ------------------
  457|    170|                    (is_abstract && PySet_Add(abstracts, key) < 0))
  ------------------
  |  Branch (457:22): [True: 98, False: 72]
  |  Branch (457:37): [True: 0, False: 98]
  ------------------
  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|    170|            Py_DECREF(key);
  ------------------
  |  |  430|    170|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    170|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    170|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  464|    170|        }
  465|     66|        Py_DECREF(iter);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  466|     66|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (466:13): [True: 0, False: 66]
  ------------------
  467|      0|            goto error;
  468|      0|        }
  469|     66|    }
  470|       |
  471|     76|    if (PyObject_SetAttr(self, &_Py_ID(__abstractmethods__), abstracts) < 0) {
  ------------------
  |  |  920|     76|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     76|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     76|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (471:9): [True: 0, False: 76]
  ------------------
  472|      0|        goto error;
  473|      0|    }
  474|       |
  475|     76|    ret = 0;
  476|     76|error:
  477|     76|    Py_DECREF(abstracts);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|     76|    Py_XDECREF(ns);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  479|     76|    Py_XDECREF(items);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|     76|    Py_XDECREF(bases);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  481|     76|    return ret;
  482|     76|}
_abc.c:abc_data_new:
  125|     76|{
  126|     76|    _abc_data *self = (_abc_data *) type->tp_alloc(type, 0);
  127|     76|    _abcmodule_state *state = NULL;
  128|     76|    if (self == NULL) {
  ------------------
  |  Branch (128:9): [True: 0, False: 76]
  ------------------
  129|      0|        return NULL;
  130|      0|    }
  131|       |
  132|     76|    state = _PyType_GetModuleState(type);
  133|     76|    if (state == NULL) {
  ------------------
  |  Branch (133:9): [True: 0, False: 76]
  ------------------
  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|     76|    self->_abc_registry = NULL;
  139|     76|    self->_abc_cache = NULL;
  140|       |    self->_abc_negative_cache = NULL;
  141|     76|    self->_abc_negative_cache_version = get_invalidation_counter(state);
  142|     76|    return (PyObject *) self;
  143|     76|}
_abc.c:_get_impl:
  166|    140|{
  167|    140|    _abcmodule_state *state = get_abc_state(module);
  168|    140|    PyObject *impl = PyObject_GetAttr(self, &_Py_ID(_abc_impl));
  ------------------
  |  |  920|    140|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    140|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    140|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  169|    140|    if (impl == NULL) {
  ------------------
  |  Branch (169:9): [True: 0, False: 140]
  ------------------
  170|      0|        return NULL;
  171|      0|    }
  172|    140|    if (!Py_IS_TYPE(impl, state->_abc_data_type)) {
  ------------------
  |  |  215|    140|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    140|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    140|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (172:9): [True: 0, False: 140]
  ------------------
  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|    140|    return (_abc_data *)impl;
  178|    140|}
_abc.c:get_cache_version:
   74|     90|{
   75|       |#ifdef Py_GIL_DISABLED
   76|       |    return _Py_atomic_load_uint64(&impl->_abc_negative_cache_version);
   77|       |#else
   78|     90|    return impl->_abc_negative_cache_version;
   79|     90|#endif
   80|     90|}
_abc.c:_abc__abc_register_impl:
  560|     82|{
  561|     82|    if (!PyType_Check(subclass)) {
  ------------------
  |  |  766|     82|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     82|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (561:9): [True: 0, False: 82]
  ------------------
  562|      0|        PyErr_SetString(PyExc_TypeError, "Can only register classes");
  563|      0|        return NULL;
  564|      0|    }
  565|     82|    int result = PyObject_IsSubclass(subclass, self);
  566|     82|    if (result > 0) {
  ------------------
  |  Branch (566:9): [True: 32, False: 50]
  ------------------
  567|     32|        return Py_NewRef(subclass);  /* Already a subclass. */
  ------------------
  |  |  550|     32|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  568|     32|    }
  569|     50|    if (result < 0) {
  ------------------
  |  Branch (569:9): [True: 0, False: 50]
  ------------------
  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|     50|    result = PyObject_IsSubclass(self, subclass);
  575|     50|    if (result > 0) {
  ------------------
  |  Branch (575:9): [True: 0, False: 50]
  ------------------
  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|     50|    if (result < 0) {
  ------------------
  |  Branch (580:9): [True: 0, False: 50]
  ------------------
  581|      0|        return NULL;
  582|      0|    }
  583|     50|    _abc_data *impl = _get_impl(module, self);
  584|     50|    if (impl == NULL) {
  ------------------
  |  Branch (584:9): [True: 0, False: 50]
  ------------------
  585|      0|        return NULL;
  586|      0|    }
  587|     50|    if (_add_to_weak_set(impl, &impl->_abc_registry, subclass) < 0) {
  ------------------
  |  Branch (587:9): [True: 0, False: 50]
  ------------------
  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|     50|    Py_DECREF(impl);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  592|       |
  593|       |    /* Invalidate negative cache */
  594|     50|    increment_invalidation_counter(get_abc_state(module));
  595|       |
  596|       |    /* Set Py_TPFLAGS_SEQUENCE or Py_TPFLAGS_MAPPING flag */
  597|     50|    if (PyType_Check(self)) {
  ------------------
  |  |  766|     50|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 50, False: 0]
  |  |  ------------------
  ------------------
  598|     50|        unsigned long collection_flag =
  599|     50|            PyType_GetFlags((PyTypeObject *)self) & COLLECTION_FLAGS;
  ------------------
  |  |  484|     50|#define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  490|     50|#define Py_TPFLAGS_SEQUENCE (1 << 5)
  |  |  ------------------
  |  |               #define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  492|     50|#define Py_TPFLAGS_MAPPING (1 << 6)
  |  |  ------------------
  ------------------
  600|     50|        if (collection_flag) {
  ------------------
  |  Branch (600:13): [True: 28, False: 22]
  ------------------
  601|     28|            _PyType_SetFlagsRecursive((PyTypeObject *)subclass,
  602|     28|                                      COLLECTION_FLAGS,
  ------------------
  |  |  484|     28|#define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  490|     28|#define Py_TPFLAGS_SEQUENCE (1 << 5)
  |  |  ------------------
  |  |               #define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  492|     28|#define Py_TPFLAGS_MAPPING (1 << 6)
  |  |  ------------------
  ------------------
  603|     28|                                      collection_flag);
  604|     28|        }
  605|     50|    }
  606|     50|    return Py_NewRef(subclass);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  607|     50|}
_abc.c:_add_to_weak_set:
  224|    140|{
  225|    140|    PyObject *set;
  226|    140|    Py_BEGIN_CRITICAL_SECTION(impl);
  ------------------
  |  |   51|    140|    {
  ------------------
  227|    140|    set = *pset;
  228|    140|    if (set == NULL) {
  ------------------
  |  Branch (228:9): [True: 66, False: 74]
  ------------------
  229|     66|        set = *pset = PySet_New(NULL);
  230|     66|    }
  231|    140|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    140|    }
  ------------------
  232|    140|    if (set == NULL) {
  ------------------
  |  Branch (232:9): [True: 0, False: 140]
  ------------------
  233|      0|        return -1;
  234|      0|    }
  235|       |
  236|    140|    PyObject *ref, *wr;
  237|    140|    PyObject *destroy_cb;
  238|    140|    wr = PyWeakref_NewRef(set, NULL);
  239|    140|    if (wr == NULL) {
  ------------------
  |  Branch (239:9): [True: 0, False: 140]
  ------------------
  240|      0|        return -1;
  241|      0|    }
  242|    140|    destroy_cb = PyCFunction_NewEx(&_destroy_def, wr, NULL);
  ------------------
  |  |   87|    140|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  ------------------
  243|    140|    if (destroy_cb == NULL) {
  ------------------
  |  Branch (243:9): [True: 0, False: 140]
  ------------------
  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|    140|    ref = PyWeakref_NewRef(obj, destroy_cb);
  248|    140|    Py_DECREF(destroy_cb);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  249|    140|    if (ref == NULL) {
  ------------------
  |  Branch (249:9): [True: 0, False: 140]
  ------------------
  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|    140|    int ret = PySet_Add(set, ref);
  254|    140|    Py_DECREF(wr);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  255|    140|    Py_DECREF(ref);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  256|    140|    return ret;
  257|    140|}
_abc.c:increment_invalidation_counter:
   47|     50|{
   48|       |#ifdef Py_GIL_DISABLED
   49|       |    _Py_atomic_add_uint64(&state->abc_invalidation_counter, 1);
   50|       |#else
   51|     50|    state->abc_invalidation_counter++;
   52|     50|#endif
   53|     50|}
_abc.c:_in_weak_set:
  182|    204|{
  183|    204|    PyObject *set;
  184|    204|    Py_BEGIN_CRITICAL_SECTION(impl);
  ------------------
  |  |   51|    204|    {
  ------------------
  185|    204|    set = *pset;
  186|    204|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    204|    }
  ------------------
  187|    204|    if (set == NULL || PySet_GET_SIZE(set) == 0) {
  ------------------
  |  |   71|     51|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|     51|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (187:9): [True: 153, False: 51]
  |  Branch (187:24): [True: 0, False: 51]
  ------------------
  188|    153|        return 0;
  189|    153|    }
  190|     51|    PyObject *ref = PyWeakref_NewRef(obj, NULL);
  191|     51|    if (ref == NULL) {
  ------------------
  |  Branch (191:9): [True: 0, False: 51]
  ------------------
  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|     51|    int res = PySet_Contains(set, ref);
  199|     51|    Py_DECREF(ref);
  ------------------
  |  |  430|     51|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     51|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  200|     51|    return res;
  201|     51|}
_abc.c:_abc__abc_subclasscheck_impl:
  712|     90|{
  713|     90|    if (!PyType_Check(subclass)) {
  ------------------
  |  |  766|     90|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     90|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     90|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (713:9): [True: 0, False: 90]
  ------------------
  714|      0|        PyErr_SetString(PyExc_TypeError, "issubclass() arg 1 must be a class");
  715|      0|        return NULL;
  716|      0|    }
  717|       |
  718|     90|    PyObject *ok, *subclasses = NULL, *result = NULL;
  719|     90|    _abcmodule_state *state = NULL;
  720|     90|    Py_ssize_t pos;
  721|     90|    int incache;
  722|     90|    _abc_data *impl = _get_impl(module, self);
  723|     90|    if (impl == NULL) {
  ------------------
  |  Branch (723:9): [True: 0, False: 90]
  ------------------
  724|      0|        return NULL;
  725|      0|    }
  726|       |
  727|       |    /* 1. Check cache. */
  728|     90|    incache = _in_weak_set(impl, &impl->_abc_cache, subclass);
  729|     90|    if (incache < 0) {
  ------------------
  |  Branch (729:9): [True: 0, False: 90]
  ------------------
  730|      0|        goto end;
  731|      0|    }
  732|     90|    if (incache > 0) {
  ------------------
  |  Branch (732:9): [True: 0, False: 90]
  ------------------
  733|      0|        result = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  734|      0|        goto end;
  735|      0|    }
  736|       |
  737|     90|    state = get_abc_state(module);
  738|       |    /* 2. Check negative cache; may have to invalidate. */
  739|     90|    uint64_t invalidation_counter = get_invalidation_counter(state);
  740|     90|    if (get_cache_version(impl) < invalidation_counter) {
  ------------------
  |  Branch (740:9): [True: 34, False: 56]
  ------------------
  741|       |        /* Invalidate the negative cache. */
  742|     34|        PyObject *negative_cache;
  743|     34|        Py_BEGIN_CRITICAL_SECTION(impl);
  ------------------
  |  |   51|     34|    {
  ------------------
  744|     34|        negative_cache = impl->_abc_negative_cache;
  745|     34|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     34|    }
  ------------------
  746|     34|        if (negative_cache != NULL && PySet_Clear(negative_cache) < 0) {
  ------------------
  |  Branch (746:13): [True: 27, False: 7]
  |  Branch (746:39): [True: 0, False: 27]
  ------------------
  747|      0|            goto end;
  748|      0|        }
  749|     34|        set_cache_version(impl, invalidation_counter);
  750|     34|    }
  751|     56|    else {
  752|     56|        incache = _in_weak_set(impl, &impl->_abc_negative_cache, subclass);
  753|     56|        if (incache < 0) {
  ------------------
  |  Branch (753:13): [True: 0, False: 56]
  ------------------
  754|      0|            goto end;
  755|      0|        }
  756|     56|        if (incache > 0) {
  ------------------
  |  Branch (756:13): [True: 0, False: 56]
  ------------------
  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|     56|    }
  761|       |
  762|       |    /* 3. Check the subclass hook. */
  763|     90|    ok = PyObject_CallMethodOneArg(
  764|     90|            (PyObject *)self, &_Py_ID(__subclasshook__), subclass);
  ------------------
  |  |  920|     90|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     90|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     90|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  765|     90|    if (ok == NULL) {
  ------------------
  |  Branch (765:9): [True: 0, False: 90]
  ------------------
  766|      0|        goto end;
  767|      0|    }
  768|     90|    if (ok == Py_True) {
  ------------------
  |  |   26|     90|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|     90|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     90|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (768:9): [True: 32, False: 58]
  ------------------
  769|     32|        Py_DECREF(ok);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  770|     32|        if (_add_to_weak_set(impl, &impl->_abc_cache, subclass) < 0) {
  ------------------
  |  Branch (770:13): [True: 0, False: 32]
  ------------------
  771|      0|            goto end;
  772|      0|        }
  773|     32|        result = Py_True;
  ------------------
  |  |   26|     32|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  774|     32|        goto end;
  775|     32|    }
  776|     58|    if (ok == 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (776:9): [True: 0, False: 58]
  ------------------
  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|     58|    if (ok != Py_NotImplemented) {
  ------------------
  |  |  640|     58|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (784:9): [True: 0, False: 58]
  ------------------
  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|     58|    Py_DECREF(ok);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  791|       |
  792|       |    /* 4. Check if it's a direct subclass. */
  793|     58|    if (PyType_IsSubtype((PyTypeObject *)subclass, (PyTypeObject *)self)) {
  ------------------
  |  Branch (793:9): [True: 0, False: 58]
  ------------------
  794|      0|        if (_add_to_weak_set(impl, &impl->_abc_cache, subclass) < 0) {
  ------------------
  |  Branch (794:13): [True: 0, False: 0]
  ------------------
  795|      0|            goto end;
  796|      0|        }
  797|      0|        result = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  798|      0|        goto end;
  799|      0|    }
  800|       |
  801|       |    /* 5. Check if it's a subclass of a registered class (recursive). */
  802|     58|    if (subclasscheck_check_registry(impl, subclass, &result)) {
  ------------------
  |  Branch (802:9): [True: 0, False: 58]
  ------------------
  803|       |        // Exception occurred or result is set.
  804|      0|        goto end;
  805|      0|    }
  806|       |
  807|       |    /* 6. Check if it's a subclass of a subclass (recursive). */
  808|     58|    subclasses = PyObject_CallMethod(self, "__subclasses__", NULL);
  809|     58|    if (subclasses == NULL) {
  ------------------
  |  Branch (809:9): [True: 0, False: 58]
  ------------------
  810|      0|        goto end;
  811|      0|    }
  812|     58|    if (!PyList_Check(subclasses)) {
  ------------------
  |  |   25|     58|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     58|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (812:9): [True: 0, False: 58]
  ------------------
  813|      0|        PyErr_SetString(PyExc_TypeError, "__subclasses__() must return a list");
  814|      0|        goto end;
  815|      0|    }
  816|     66|    for (pos = 0; pos < PyList_GET_SIZE(subclasses); pos++) {
  ------------------
  |  |   38|     66|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (816:19): [True: 8, False: 58]
  ------------------
  817|      8|        PyObject *scls = PyList_GetItemRef(subclasses, pos);
  818|      8|        if (scls == NULL) {
  ------------------
  |  Branch (818:13): [True: 0, False: 8]
  ------------------
  819|      0|            goto end;
  820|      0|        }
  821|      8|        int r = PyObject_IsSubclass(subclass, scls);
  822|      8|        Py_DECREF(scls);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  823|      8|        if (r > 0) {
  ------------------
  |  Branch (823:13): [True: 0, False: 8]
  ------------------
  824|      0|            if (_add_to_weak_set(impl, &impl->_abc_cache, subclass) < 0) {
  ------------------
  |  Branch (824:17): [True: 0, False: 0]
  ------------------
  825|      0|                goto end;
  826|      0|            }
  827|      0|            result = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  828|      0|            goto end;
  829|      0|        }
  830|      8|        if (r < 0) {
  ------------------
  |  Branch (830:13): [True: 0, False: 8]
  ------------------
  831|      0|            goto end;
  832|      0|        }
  833|      8|    }
  834|       |
  835|       |    /* No dice; update negative cache. */
  836|     58|    if (_add_to_weak_set(impl, &impl->_abc_negative_cache, subclass) < 0) {
  ------------------
  |  Branch (836:9): [True: 0, False: 58]
  ------------------
  837|      0|        goto end;
  838|      0|    }
  839|     58|    result = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  840|       |
  841|     90|end:
  842|     90|    Py_DECREF(impl);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  843|     90|    Py_XDECREF(subclasses);
  ------------------
  |  |  524|     90|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     90|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     90|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  844|     90|    return Py_XNewRef(result);
  ------------------
  |  |  551|     90|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     90|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     90|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  845|     58|}
_abc.c:set_cache_version:
   84|     34|{
   85|       |#ifdef Py_GIL_DISABLED
   86|       |    _Py_atomic_store_uint64(&impl->_abc_negative_cache_version, version);
   87|       |#else
   88|     34|    impl->_abc_negative_cache_version = version;
   89|     34|#endif
   90|     34|}
_abc.c:subclasscheck_check_registry:
  851|     58|{
  852|       |    // Fast path: check subclass is in weakref directly.
  853|     58|    int ret = _in_weak_set(impl, &impl->_abc_registry, subclass);
  854|     58|    if (ret < 0) {
  ------------------
  |  Branch (854:9): [True: 0, False: 58]
  ------------------
  855|      0|        *result = NULL;
  856|      0|        return -1;
  857|      0|    }
  858|     58|    if (ret > 0) {
  ------------------
  |  Branch (858:9): [True: 0, False: 58]
  ------------------
  859|      0|        *result = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  860|      0|        return 1;
  861|      0|    }
  862|       |
  863|     58|    PyObject *registry_shared;
  864|     58|    Py_BEGIN_CRITICAL_SECTION(impl);
  ------------------
  |  |   51|     58|    {
  ------------------
  865|     58|    registry_shared = impl->_abc_registry;
  866|     58|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     58|    }
  ------------------
  867|     58|    if (registry_shared == NULL) {
  ------------------
  |  Branch (867:9): [True: 31, False: 27]
  ------------------
  868|     31|        return 0;
  869|     31|    }
  870|       |
  871|       |    // Make a local copy of the registry to protect against concurrent
  872|       |    // modifications of _abc_registry.
  873|     27|    PyObject *registry = PyFrozenSet_New(registry_shared);
  874|     27|    if (registry == NULL) {
  ------------------
  |  Branch (874:9): [True: 0, False: 27]
  ------------------
  875|      0|        return -1;
  876|      0|    }
  877|     27|    PyObject *key;
  878|     27|    Py_ssize_t pos = 0;
  879|     27|    Py_hash_t hash;
  880|       |
  881|     77|    while (_PySet_NextEntry(registry, &pos, &key, &hash)) {
  ------------------
  |  Branch (881:12): [True: 50, False: 27]
  ------------------
  882|     50|        PyObject *rkey;
  883|     50|        if (PyWeakref_GetRef(key, &rkey) < 0) {
  ------------------
  |  Branch (883:13): [True: 0, False: 50]
  ------------------
  884|       |            // Someone inject non-weakref type in the registry.
  885|      0|            ret = -1;
  886|      0|            break;
  887|      0|        }
  888|       |
  889|     50|        if (rkey == NULL) {
  ------------------
  |  Branch (889:13): [True: 0, False: 50]
  ------------------
  890|      0|            continue;
  891|      0|        }
  892|     50|        int r = PyObject_IsSubclass(subclass, rkey);
  893|     50|        Py_DECREF(rkey);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  894|     50|        if (r < 0) {
  ------------------
  |  Branch (894:13): [True: 0, False: 50]
  ------------------
  895|      0|            ret = -1;
  896|      0|            break;
  897|      0|        }
  898|     50|        if (r > 0) {
  ------------------
  |  Branch (898:13): [True: 0, False: 50]
  ------------------
  899|      0|            if (_add_to_weak_set(impl, &impl->_abc_cache, subclass) < 0) {
  ------------------
  |  Branch (899:17): [True: 0, False: 0]
  ------------------
  900|      0|                ret = -1;
  901|      0|                break;
  902|      0|            }
  903|      0|            *result = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  904|      0|            ret = 1;
  905|      0|            break;
  906|      0|        }
  907|     50|    }
  908|       |
  909|     27|    Py_DECREF(registry);
  ------------------
  |  |  430|     27|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  910|     27|    return ret;
  911|     27|}
_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|  12.5k|{
   95|  12.5k|    _abc_data *self = _abc_data_CAST(op);
  ------------------
  |  |   70|  12.5k|#define _abc_data_CAST(op)  ((_abc_data *)(op))
  ------------------
   96|  12.5k|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|  12.5k|    do {                                                                \
  |  |  195|  12.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 12.5k, False: 0]
  |  |  ------------------
  |  |  196|  12.5k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  12.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  12.5k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 12.5k]
  |  |  ------------------
  |  |  198|  12.5k|                return vret;                                            \
  |  |  199|  12.5k|        }                                                               \
  |  |  200|  12.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 12.5k]
  |  |  ------------------
  ------------------
   97|  12.5k|    Py_VISIT(self->_abc_registry);
  ------------------
  |  |  194|  12.5k|    do {                                                                \
  |  |  195|  12.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 4.50k, False: 8.02k]
  |  |  ------------------
  |  |  196|  4.50k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  4.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  4.50k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 4.50k]
  |  |  ------------------
  |  |  198|  4.50k|                return vret;                                            \
  |  |  199|  4.50k|        }                                                               \
  |  |  200|  12.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 12.5k]
  |  |  ------------------
  ------------------
   98|  12.5k|    Py_VISIT(self->_abc_cache);
  ------------------
  |  |  194|  12.5k|    do {                                                                \
  |  |  195|  12.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.07k, False: 11.4k]
  |  |  ------------------
  |  |  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|  12.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 12.5k]
  |  |  ------------------
  ------------------
   99|  12.5k|    Py_VISIT(self->_abc_negative_cache);
  ------------------
  |  |  194|  12.5k|    do {                                                                \
  |  |  195|  12.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 5.50k, False: 7.02k]
  |  |  ------------------
  |  |  196|  5.50k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  5.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  5.50k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 5.50k]
  |  |  ------------------
  |  |  198|  5.50k|                return vret;                                            \
  |  |  199|  5.50k|        }                                                               \
  |  |  200|  12.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 12.5k]
  |  |  ------------------
  ------------------
  100|  12.5k|    return 0;
  101|  12.5k|}
_abc.c:_abcmodule_traverse:
  958|    268|{
  959|    268|    _abcmodule_state *state = get_abc_state(module);
  960|    268|    Py_VISIT(state->_abc_data_type);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
  961|    268|    return 0;
  962|    268|}

PyInit__codecs:
 1186|      2|{
 1187|      2|    return PyModuleDef_Init(&codecsmodule);
 1188|      2|}
_codecsmodule.c:_codecs_register:
   67|      4|{
   68|      4|    if (PyCodec_Register(search_function))
  ------------------
  |  Branch (68:9): [True: 0, False: 4]
  ------------------
   69|      0|        return NULL;
   70|       |
   71|      4|    Py_RETURN_NONE;
  ------------------
  |  |  628|      4|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
   72|      4|}
_codecsmodule.c:codec_tuple:
  170|     14|{
  171|     14|    if (decoded == NULL)
  ------------------
  |  Branch (171:9): [True: 0, False: 14]
  ------------------
  172|      0|        return NULL;
  173|     14|    return Py_BuildValue("Nn", decoded, len);
  174|     14|}
_codecsmodule.c:_codecs_utf_8_decode_impl:
  285|     14|{
  286|     14|    Py_ssize_t consumed = data->len;
  287|     14|    PyObject *decoded = PyUnicode_DecodeUTF8Stateful(data->buf, data->len,
  288|     14|                                                     errors,
  289|     14|                                                     final ? NULL : &consumed);
  ------------------
  |  Branch (289:54): [True: 3, False: 11]
  ------------------
  290|     14|    return codec_tuple(decoded, consumed);
  291|     14|}
_codecsmodule.c:_codecs_lookup_error_impl:
 1065|     12|{
 1066|     12|    return PyCodec_LookupError(name);
 1067|     12|}
_codecsmodule.c:_codecs__normalize_encoding_impl:
 1083|      2|{
 1084|      2|    Py_ssize_t len;
 1085|      2|    const char *cstr = PyUnicode_AsUTF8AndSize(encoding, &len);
 1086|      2|    if (cstr == NULL) {
  ------------------
  |  Branch (1086:9): [True: 0, False: 2]
  ------------------
 1087|      0|        return NULL;
 1088|      0|    }
 1089|       |
 1090|      2|    if (len > PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|      2|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1090:9): [True: 0, False: 2]
  ------------------
 1091|      0|        PyErr_SetString(PyExc_OverflowError, "encoding is too large");
 1092|      0|        return NULL;
 1093|      0|    }
 1094|       |
 1095|      2|    char *normalized = PyMem_Malloc(len + 1);
 1096|      2|    if (normalized == NULL) {
  ------------------
  |  Branch (1096:9): [True: 0, False: 2]
  ------------------
 1097|      0|        return PyErr_NoMemory();
 1098|      0|    }
 1099|       |
 1100|      2|    if (!_Py_normalize_encoding(cstr, normalized, len + 1, 0)) {
  ------------------
  |  Branch (1100:9): [True: 0, False: 2]
  ------------------
 1101|      0|        PyMem_Free(normalized);
 1102|      0|        return NULL;
 1103|      0|    }
 1104|       |
 1105|      2|    PyObject *result = PyUnicode_FromString(normalized);
 1106|      2|    PyMem_Free(normalized);
 1107|      2|    return result;
 1108|      2|}

PyInit__collections:
 2904|      1|{
 2905|      1|    return PyModuleDef_Init(&_collectionsmodule);
 2906|      1|}
_collectionsmodule.c:collections_exec:
 2865|      1|collections_exec(PyObject *module) {
 2866|      1|    collections_state *state = get_module_state(module);
 2867|      1|    ADD_TYPE(module, &deque_spec, state->deque_type, NULL);
  ------------------
  |  | 2853|      1|#define ADD_TYPE(MOD, SPEC, TYPE, BASE) do {                        \
  |  | 2854|      1|    TYPE = (PyTypeObject *)PyType_FromMetaclass(NULL, MOD, SPEC,    \
  |  | 2855|      1|                                                (PyObject *)BASE);  \
  |  | 2856|      1|    if (TYPE == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (2856:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 2857|      0|        return -1;                                                  \
  |  | 2858|      0|    }                                                               \
  |  | 2859|      1|    if (PyModule_AddType(MOD, TYPE) < 0) {                          \
  |  |  ------------------
  |  |  |  Branch (2859:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 2860|      0|        return -1;                                                  \
  |  | 2861|      0|    }                                                               \
  |  | 2862|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (2862:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2868|      1|    ADD_TYPE(module, &defdict_spec, state->defdict_type, &PyDict_Type);
  ------------------
  |  | 2853|      1|#define ADD_TYPE(MOD, SPEC, TYPE, BASE) do {                        \
  |  | 2854|      1|    TYPE = (PyTypeObject *)PyType_FromMetaclass(NULL, MOD, SPEC,    \
  |  | 2855|      1|                                                (PyObject *)BASE);  \
  |  | 2856|      1|    if (TYPE == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (2856:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 2857|      0|        return -1;                                                  \
  |  | 2858|      0|    }                                                               \
  |  | 2859|      1|    if (PyModule_AddType(MOD, TYPE) < 0) {                          \
  |  |  ------------------
  |  |  |  Branch (2859:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 2860|      0|        return -1;                                                  \
  |  | 2861|      0|    }                                                               \
  |  | 2862|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (2862:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2869|      1|    ADD_TYPE(module, &dequeiter_spec, state->dequeiter_type, NULL);
  ------------------
  |  | 2853|      1|#define ADD_TYPE(MOD, SPEC, TYPE, BASE) do {                        \
  |  | 2854|      1|    TYPE = (PyTypeObject *)PyType_FromMetaclass(NULL, MOD, SPEC,    \
  |  | 2855|      1|                                                (PyObject *)BASE);  \
  |  | 2856|      1|    if (TYPE == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (2856:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 2857|      0|        return -1;                                                  \
  |  | 2858|      0|    }                                                               \
  |  | 2859|      1|    if (PyModule_AddType(MOD, TYPE) < 0) {                          \
  |  |  ------------------
  |  |  |  Branch (2859:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 2860|      0|        return -1;                                                  \
  |  | 2861|      0|    }                                                               \
  |  | 2862|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (2862:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2870|      1|    ADD_TYPE(module, &dequereviter_spec, state->dequereviter_type, NULL);
  ------------------
  |  | 2853|      1|#define ADD_TYPE(MOD, SPEC, TYPE, BASE) do {                        \
  |  | 2854|      1|    TYPE = (PyTypeObject *)PyType_FromMetaclass(NULL, MOD, SPEC,    \
  |  | 2855|      1|                                                (PyObject *)BASE);  \
  |  | 2856|      1|    if (TYPE == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (2856:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 2857|      0|        return -1;                                                  \
  |  | 2858|      0|    }                                                               \
  |  | 2859|      1|    if (PyModule_AddType(MOD, TYPE) < 0) {                          \
  |  |  ------------------
  |  |  |  Branch (2859:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 2860|      0|        return -1;                                                  \
  |  | 2861|      0|    }                                                               \
  |  | 2862|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (2862:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2871|      1|    ADD_TYPE(module, &tuplegetter_spec, state->tuplegetter_type, NULL);
  ------------------
  |  | 2853|      1|#define ADD_TYPE(MOD, SPEC, TYPE, BASE) do {                        \
  |  | 2854|      1|    TYPE = (PyTypeObject *)PyType_FromMetaclass(NULL, MOD, SPEC,    \
  |  | 2855|      1|                                                (PyObject *)BASE);  \
  |  | 2856|      1|    if (TYPE == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (2856:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 2857|      0|        return -1;                                                  \
  |  | 2858|      0|    }                                                               \
  |  | 2859|      1|    if (PyModule_AddType(MOD, TYPE) < 0) {                          \
  |  |  ------------------
  |  |  |  Branch (2859:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 2860|      0|        return -1;                                                  \
  |  | 2861|      0|    }                                                               \
  |  | 2862|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (2862:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2872|       |
 2873|      1|    if (PyModule_AddType(module, &PyODict_Type) < 0) {
  ------------------
  |  Branch (2873:9): [True: 0, False: 1]
  ------------------
 2874|      0|        return -1;
 2875|      0|    }
 2876|       |
 2877|      1|    return 0;
 2878|      1|}
_collectionsmodule.c:get_module_state:
   22|    269|{
   23|    269|    void *state = _PyModule_GetState(mod);
   24|    269|    assert(state != NULL);
  ------------------
  |  Branch (24:5): [True: 269, False: 0]
  ------------------
   25|    269|    return (collections_state *)state;
   26|    269|}
_collectionsmodule.c:defdict_traverse:
 2448|    254|{
 2449|    254|    defdictobject *self = defdictobject_CAST(op);
  ------------------
  |  | 2222|    254|#define defdictobject_CAST(op)  ((defdictobject *)(op))
  ------------------
 2450|    254|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|    254|    do {                                                                \
  |  |  195|    254|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 254, False: 0]
  |  |  ------------------
  |  |  196|    254|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    254|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    254|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    254|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 254]
  |  |  ------------------
  |  |  198|    254|                return vret;                                            \
  |  |  199|    254|        }                                                               \
  |  |  200|    254|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 254]
  |  |  ------------------
  ------------------
 2451|    254|    Py_VISIT(self->default_factory);
  ------------------
  |  |  194|    254|    do {                                                                \
  |  |  195|    254|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 254, False: 0]
  |  |  ------------------
  |  |  196|    254|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    254|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    254|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    254|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 254]
  |  |  ------------------
  |  |  198|    254|                return vret;                                            \
  |  |  199|    254|        }                                                               \
  |  |  200|    254|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 254]
  |  |  ------------------
  ------------------
 2452|    254|    return PyDict_Type.tp_traverse(op, visit, arg);
 2453|    254|}
_collectionsmodule.c:defdict_init:
 2465|      1|{
 2466|      1|    defdictobject *dd = defdictobject_CAST(self);
  ------------------
  |  | 2222|      1|#define defdictobject_CAST(op)  ((defdictobject *)(op))
  ------------------
 2467|      1|    PyObject *olddefault = dd->default_factory;
 2468|      1|    PyObject *newdefault = NULL;
 2469|      1|    PyObject *newargs;
 2470|      1|    int result;
 2471|      1|    if (args == NULL || !PyTuple_Check(args))
  ------------------
  |  |   27|      1|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      1|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2471:9): [True: 0, False: 1]
  |  Branch (2471:25): [True: 0, False: 1]
  ------------------
 2472|      0|        newargs = PyTuple_New(0);
 2473|      1|    else {
 2474|      1|        Py_ssize_t n = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|      1|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2475|      1|        if (n > 0) {
  ------------------
  |  Branch (2475:13): [True: 1, False: 0]
  ------------------
 2476|      1|            newdefault = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|      1|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      1|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2476:26): [True: 1, False: 0]
  ------------------
 2477|      1|            if (!PyCallable_Check(newdefault) && newdefault != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2477:17): [True: 0, False: 1]
  |  Branch (2477:50): [True: 0, False: 0]
  ------------------
 2478|      0|                PyErr_SetString(PyExc_TypeError,
 2479|      0|                    "first argument must be callable or None");
 2480|      0|                return -1;
 2481|      0|            }
 2482|      1|        }
 2483|      1|        newargs = PySequence_GetSlice(args, 1, n);
 2484|      1|    }
 2485|      1|    if (newargs == NULL)
  ------------------
  |  Branch (2485:9): [True: 0, False: 1]
  ------------------
 2486|      0|        return -1;
 2487|      1|    dd->default_factory = Py_XNewRef(newdefault);
  ------------------
  |  |  551|      1|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2488|      1|    result = PyDict_Type.tp_init(self, newargs, kwds);
 2489|      1|    Py_DECREF(newargs);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2490|      1|    Py_XDECREF(olddefault);
  ------------------
  |  |  524|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2491|      1|    return result;
 2492|      1|}
_collectionsmodule.c:get_module_state_by_cls:
   30|     12|{
   31|     12|    void *state = _PyType_GetModuleState(cls);
   32|     12|    assert(state != NULL);
  ------------------
  |  Branch (32:5): [True: 12, False: 0]
  ------------------
   33|     12|    return (collections_state *)state;
   34|     12|}
_collectionsmodule.c:tuplegetter_traverse:
 2735|  3.17k|{
 2736|  3.17k|    _tuplegetterobject *tuplegetter = tuplegetterobject_CAST(self);
  ------------------
  |  | 2667|  3.17k|#define tuplegetterobject_CAST(op)  ((_tuplegetterobject *)(op))
  ------------------
 2737|  3.17k|    Py_VISIT(Py_TYPE(tuplegetter));
  ------------------
  |  |  194|  3.17k|    do {                                                                \
  |  |  195|  3.17k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 3.17k, False: 0]
  |  |  ------------------
  |  |  196|  3.17k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  3.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  3.17k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 3.17k]
  |  |  ------------------
  |  |  198|  3.17k|                return vret;                                            \
  |  |  199|  3.17k|        }                                                               \
  |  |  200|  3.17k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 3.17k]
  |  |  ------------------
  ------------------
 2738|  3.17k|    Py_VISIT(tuplegetter->doc);
  ------------------
  |  |  194|  3.17k|    do {                                                                \
  |  |  195|  3.17k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 3.17k, False: 0]
  |  |  ------------------
  |  |  196|  3.17k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  3.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  3.17k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 3.17k]
  |  |  ------------------
  |  |  198|  3.17k|                return vret;                                            \
  |  |  199|  3.17k|        }                                                               \
  |  |  200|  3.17k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 3.17k]
  |  |  ------------------
  ------------------
 2739|  3.17k|    return 0;
 2740|  3.17k|}
_collectionsmodule.c:tuplegetter_new_impl:
 2681|     12|{
 2682|     12|    _tuplegetterobject* self;
 2683|     12|    self = (_tuplegetterobject *)type->tp_alloc(type, 0);
 2684|     12|    if (self == NULL) {
  ------------------
  |  Branch (2684:9): [True: 0, False: 12]
  ------------------
 2685|      0|        return NULL;
 2686|      0|    }
 2687|     12|    self->index = index;
 2688|     12|    self->doc = Py_NewRef(doc);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2689|     12|    return (PyObject *)self;
 2690|     12|}
_collectionsmodule.c:collections_traverse:
 2814|    268|{
 2815|    268|    collections_state *state = get_module_state(mod);
 2816|    268|    Py_VISIT(state->deque_type);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 2817|    268|    Py_VISIT(state->defdict_type);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 2818|    268|    Py_VISIT(state->dequeiter_type);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 2819|    268|    Py_VISIT(state->dequereviter_type);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 2820|    268|    Py_VISIT(state->tuplegetter_type);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 2821|    268|    return 0;
 2822|    268|}

_PyDateTime_InitTypes:
 7526|      2|{
 7527|       |    /* Bases classes must be initialized before subclasses,
 7528|       |     * so capi_types must have the types in the appropriate order. */
 7529|     14|    for (size_t i = 0; i < Py_ARRAY_LENGTH(capi_types); i++) {
  ------------------
  |  |  196|     14|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (7529:24): [True: 12, False: 2]
  ------------------
 7530|     12|        PyTypeObject *type = capi_types[i];
 7531|     12|        if (_PyStaticType_InitForExtension(interp, type) < 0) {
  ------------------
  |  Branch (7531:13): [True: 0, False: 12]
  ------------------
 7532|      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)}
  ------------------
 7533|      0|        }
 7534|     12|    }
 7535|       |
 7536|      2|#define DATETIME_ADD_MACRO(dict, c, value_expr)         \
 7537|      2|    do {                                                \
 7538|      2|        assert(!PyErr_Occurred());                      \
 7539|      2|        PyObject *value = (value_expr);                 \
 7540|      2|        if (value == NULL) {                            \
 7541|      2|            goto error;                                 \
 7542|      2|        }                                               \
 7543|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
 7544|      2|            Py_DECREF(value);                           \
 7545|      2|            goto error;                                 \
 7546|      2|        }                                               \
 7547|      2|        Py_DECREF(value);                               \
 7548|      2|    } while(0)
 7549|       |
 7550|       |    /* timedelta values */
 7551|      2|    PyObject *d = _PyType_GetDict(&PyDateTime_DeltaType);
 7552|      2|    DATETIME_ADD_MACRO(d, "resolution", new_delta(0, 0, 1, 0));
  ------------------
  |  | 7537|      2|    do {                                                \
  |  | 7538|      2|        assert(!PyErr_Occurred());                      \
  |  | 7539|      2|        PyObject *value = (value_expr);                 \
  |  | 7540|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7540:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7541|      0|            goto error;                                 \
  |  | 7542|      0|        }                                               \
  |  | 7543|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7543:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7544|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7545|      0|            goto error;                                 \
  |  | 7546|      0|        }                                               \
  |  | 7547|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7548|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7548:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7552:5): [True: 2, False: 0]
  ------------------
 7553|      2|    DATETIME_ADD_MACRO(d, "min", new_delta(-MAX_DELTA_DAYS, 0, 0, 0));
  ------------------
  |  | 7537|      2|    do {                                                \
  |  | 7538|      2|        assert(!PyErr_Occurred());                      \
  |  | 7539|      2|        PyObject *value = (value_expr);                 \
  |  | 7540|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7540:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7541|      0|            goto error;                                 \
  |  | 7542|      0|        }                                               \
  |  | 7543|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7543:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7544|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7545|      0|            goto error;                                 \
  |  | 7546|      0|        }                                               \
  |  | 7547|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7548|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7548:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7553:5): [True: 2, False: 0]
  ------------------
 7554|      2|    DATETIME_ADD_MACRO(d, "max",
  ------------------
  |  | 7537|      2|    do {                                                \
  |  | 7538|      2|        assert(!PyErr_Occurred());                      \
  |  | 7539|      2|        PyObject *value = (value_expr);                 \
  |  | 7540|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7540:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7541|      0|            goto error;                                 \
  |  | 7542|      0|        }                                               \
  |  | 7543|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7543:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7544|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7545|      0|            goto error;                                 \
  |  | 7546|      0|        }                                               \
  |  | 7547|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7548|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7548:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7554:5): [True: 2, False: 0]
  ------------------
 7555|      2|                        new_delta(MAX_DELTA_DAYS, 24*3600-1, 1000000-1, 0));
 7556|       |
 7557|       |    /* date values */
 7558|      2|    d = _PyType_GetDict(&PyDateTime_DateType);
 7559|      2|    DATETIME_ADD_MACRO(d, "min", new_date(1, 1, 1));
  ------------------
  |  | 7537|      2|    do {                                                \
  |  | 7538|      2|        assert(!PyErr_Occurred());                      \
  |  | 7539|      2|        PyObject *value = (value_expr);                 \
  |  | 7540|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7540:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7541|      0|            goto error;                                 \
  |  | 7542|      0|        }                                               \
  |  | 7543|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7543:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7544|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7545|      0|            goto error;                                 \
  |  | 7546|      0|        }                                               \
  |  | 7547|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7548|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7548:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7559:5): [True: 2, False: 0]
  ------------------
 7560|      2|    DATETIME_ADD_MACRO(d, "max", new_date(MAXYEAR, 12, 31));
  ------------------
  |  | 7537|      2|    do {                                                \
  |  | 7538|      2|        assert(!PyErr_Occurred());                      \
  |  | 7539|      2|        PyObject *value = (value_expr);                 \
  |  | 7540|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7540:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7541|      0|            goto error;                                 \
  |  | 7542|      0|        }                                               \
  |  | 7543|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7543:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7544|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7545|      0|            goto error;                                 \
  |  | 7546|      0|        }                                               \
  |  | 7547|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7548|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7548:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7560:5): [True: 2, False: 0]
  ------------------
 7561|      2|    DATETIME_ADD_MACRO(d, "resolution", new_delta(1, 0, 0, 0));
  ------------------
  |  | 7537|      2|    do {                                                \
  |  | 7538|      2|        assert(!PyErr_Occurred());                      \
  |  | 7539|      2|        PyObject *value = (value_expr);                 \
  |  | 7540|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7540:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7541|      0|            goto error;                                 \
  |  | 7542|      0|        }                                               \
  |  | 7543|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7543:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7544|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7545|      0|            goto error;                                 \
  |  | 7546|      0|        }                                               \
  |  | 7547|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7548|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7548:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7561:5): [True: 2, False: 0]
  ------------------
 7562|       |
 7563|       |    /* time values */
 7564|      2|    d = _PyType_GetDict(&PyDateTime_TimeType);
 7565|      2|    DATETIME_ADD_MACRO(d, "min", new_time(0, 0, 0, 0, Py_None, 0));
  ------------------
  |  | 7537|      2|    do {                                                \
  |  | 7538|      2|        assert(!PyErr_Occurred());                      \
  |  | 7539|      2|        PyObject *value = (value_expr);                 \
  |  | 7540|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7540:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7541|      0|            goto error;                                 \
  |  | 7542|      0|        }                                               \
  |  | 7543|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7543:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7544|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7545|      0|            goto error;                                 \
  |  | 7546|      0|        }                                               \
  |  | 7547|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7548|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7548:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7565:5): [True: 2, False: 0]
  ------------------
 7566|      2|    DATETIME_ADD_MACRO(d, "max", new_time(23, 59, 59, 999999, Py_None, 0));
  ------------------
  |  | 7537|      2|    do {                                                \
  |  | 7538|      2|        assert(!PyErr_Occurred());                      \
  |  | 7539|      2|        PyObject *value = (value_expr);                 \
  |  | 7540|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7540:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7541|      0|            goto error;                                 \
  |  | 7542|      0|        }                                               \
  |  | 7543|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7543:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7544|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7545|      0|            goto error;                                 \
  |  | 7546|      0|        }                                               \
  |  | 7547|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7548|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7548:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7566:5): [True: 2, False: 0]
  ------------------
 7567|      2|    DATETIME_ADD_MACRO(d, "resolution", new_delta(0, 0, 1, 0));
  ------------------
  |  | 7537|      2|    do {                                                \
  |  | 7538|      2|        assert(!PyErr_Occurred());                      \
  |  | 7539|      2|        PyObject *value = (value_expr);                 \
  |  | 7540|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7540:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7541|      0|            goto error;                                 \
  |  | 7542|      0|        }                                               \
  |  | 7543|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7543:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7544|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7545|      0|            goto error;                                 \
  |  | 7546|      0|        }                                               \
  |  | 7547|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7548|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7548:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7567:5): [True: 2, False: 0]
  ------------------
 7568|       |
 7569|       |    /* datetime values */
 7570|      2|    d = _PyType_GetDict(&PyDateTime_DateTimeType);
 7571|      2|    DATETIME_ADD_MACRO(d, "min",
  ------------------
  |  | 7537|      2|    do {                                                \
  |  | 7538|      2|        assert(!PyErr_Occurred());                      \
  |  | 7539|      2|        PyObject *value = (value_expr);                 \
  |  | 7540|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7540:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7541|      0|            goto error;                                 \
  |  | 7542|      0|        }                                               \
  |  | 7543|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7543:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7544|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7545|      0|            goto error;                                 \
  |  | 7546|      0|        }                                               \
  |  | 7547|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7548|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7548:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7571:5): [True: 2, False: 0]
  ------------------
 7572|      2|                        new_datetime(1, 1, 1, 0, 0, 0, 0, Py_None, 0));
 7573|      2|    DATETIME_ADD_MACRO(d, "max", new_datetime(MAXYEAR, 12, 31, 23, 59, 59,
  ------------------
  |  | 7537|      2|    do {                                                \
  |  | 7538|      2|        assert(!PyErr_Occurred());                      \
  |  | 7539|      2|        PyObject *value = (value_expr);                 \
  |  | 7540|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7540:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7541|      0|            goto error;                                 \
  |  | 7542|      0|        }                                               \
  |  | 7543|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7543:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7544|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7545|      0|            goto error;                                 \
  |  | 7546|      0|        }                                               \
  |  | 7547|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7548|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7548:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7573:5): [True: 2, False: 0]
  ------------------
 7574|      2|                                                999999, Py_None, 0));
 7575|      2|    DATETIME_ADD_MACRO(d, "resolution", new_delta(0, 0, 1, 0));
  ------------------
  |  | 7537|      2|    do {                                                \
  |  | 7538|      2|        assert(!PyErr_Occurred());                      \
  |  | 7539|      2|        PyObject *value = (value_expr);                 \
  |  | 7540|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7540:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7541|      0|            goto error;                                 \
  |  | 7542|      0|        }                                               \
  |  | 7543|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7543:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7544|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7545|      0|            goto error;                                 \
  |  | 7546|      0|        }                                               \
  |  | 7547|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7548|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7548:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7575:5): [True: 2, False: 0]
  ------------------
 7576|       |
 7577|       |    /* timezone values */
 7578|      2|    d = _PyType_GetDict(&PyDateTime_TimeZoneType);
 7579|      2|    if (PyDict_SetItemString(d, "utc", (PyObject *)&utc_timezone) < 0) {
  ------------------
  |  Branch (7579:9): [True: 0, False: 2]
  ------------------
 7580|      0|        goto error;
 7581|      0|    }
 7582|       |
 7583|       |    /* bpo-37642: These attributes are rounded to the nearest minute for backwards
 7584|       |    * compatibility, even though the constructor will accept a wider range of
 7585|       |    * values. This may change in the future.*/
 7586|       |
 7587|       |    /* -23:59 */
 7588|      2|    DATETIME_ADD_MACRO(d, "min", create_timezone_from_delta(-1, 60, 0, 1));
  ------------------
  |  | 7537|      2|    do {                                                \
  |  | 7538|      2|        assert(!PyErr_Occurred());                      \
  |  | 7539|      2|        PyObject *value = (value_expr);                 \
  |  | 7540|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7540:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7541|      0|            goto error;                                 \
  |  | 7542|      0|        }                                               \
  |  | 7543|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7543:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7544|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7545|      0|            goto error;                                 \
  |  | 7546|      0|        }                                               \
  |  | 7547|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7548|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7548:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7588:5): [True: 2, False: 0]
  ------------------
 7589|       |
 7590|       |    /* +23:59 */
 7591|      2|    DATETIME_ADD_MACRO(
  ------------------
  |  | 7537|      2|    do {                                                \
  |  | 7538|      2|        assert(!PyErr_Occurred());                      \
  |  | 7539|      2|        PyObject *value = (value_expr);                 \
  |  | 7540|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7540:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7541|      0|            goto error;                                 \
  |  | 7542|      0|        }                                               \
  |  | 7543|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7543:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7544|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7545|      0|            goto error;                                 \
  |  | 7546|      0|        }                                               \
  |  | 7547|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7548|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7548:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7591:5): [True: 2, False: 0]
  ------------------
 7592|      2|            d, "max", create_timezone_from_delta(0, (23 * 60 + 59) * 60, 0, 0));
 7593|       |
 7594|      2|#undef DATETIME_ADD_MACRO
 7595|       |
 7596|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 7597|       |
 7598|      0|error:
 7599|      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)}
  |  |  ------------------
  ------------------
 7600|      2|}
_datetimemodule.c:days_in_month:
  440|      8|{
  441|      8|    assert(month >= 1);
  ------------------
  |  Branch (441:5): [True: 8, False: 0]
  ------------------
  442|      8|    assert(month <= 12);
  ------------------
  |  Branch (442:5): [True: 8, False: 0]
  ------------------
  443|      8|    if (month == 2 && is_leap(year))
  ------------------
  |  Branch (443:9): [True: 0, False: 8]
  |  Branch (443:23): [True: 0, False: 0]
  ------------------
  444|      0|        return 29;
  445|      8|    else
  446|      8|        return _days_in_month[month];
  447|      8|}
_datetimemodule.c:new_delta_ex:
 1386|     16|{
 1387|     16|    PyDateTime_Delta *self;
 1388|       |
 1389|     16|    if (normalize)
  ------------------
  |  Branch (1389:9): [True: 2, False: 14]
  ------------------
 1390|      2|        normalize_d_s_us(&days, &seconds, &microseconds);
 1391|     16|    assert(0 <= seconds && seconds < 24*3600);
  ------------------
  |  Branch (1391:5): [True: 16, False: 0]
  |  Branch (1391:5): [True: 16, False: 0]
  ------------------
 1392|     16|    assert(0 <= microseconds && microseconds < 1000000);
  ------------------
  |  Branch (1392:5): [True: 16, False: 0]
  |  Branch (1392:5): [True: 16, False: 0]
  ------------------
 1393|       |
 1394|     16|    if (check_delta_day_range(days) < 0)
  ------------------
  |  Branch (1394:9): [True: 0, False: 16]
  ------------------
 1395|      0|        return NULL;
 1396|       |
 1397|     16|    self = look_up_delta(days, seconds, microseconds, type);
 1398|     16|    if (self != NULL) {
  ------------------
  |  Branch (1398:9): [True: 0, False: 16]
  ------------------
 1399|      0|        return (PyObject *)self;
 1400|      0|    }
 1401|     16|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (1401:5): [True: 16, False: 0]
  ------------------
 1402|       |
 1403|     16|    self = (PyDateTime_Delta *) (type->tp_alloc(type, 0));
 1404|     16|    if (self != NULL) {
  ------------------
  |  Branch (1404:9): [True: 16, False: 0]
  ------------------
 1405|     16|        self->hashcode = -1;
 1406|     16|        SET_TD_DAYS(self, days);
  ------------------
  |  |  323|     16|#define SET_TD_DAYS(o, v)       ((o)->days = (v))
  ------------------
 1407|     16|        SET_TD_SECONDS(self, seconds);
  ------------------
  |  |  324|     16|#define SET_TD_SECONDS(o, v)    ((o)->seconds = (v))
  ------------------
 1408|     16|        SET_TD_MICROSECONDS(self, microseconds);
  ------------------
  |  |  325|     16|#define SET_TD_MICROSECONDS(o, v) ((o)->microseconds = (v))
  ------------------
 1409|     16|    }
 1410|     16|    return (PyObject *) self;
 1411|     16|}
_datetimemodule.c:normalize_d_s_us:
  745|      2|{
  746|      2|    if (*us < 0 || *us >= 1000000) {
  ------------------
  |  Branch (746:9): [True: 0, False: 2]
  |  Branch (746:20): [True: 0, False: 2]
  ------------------
  747|      0|        normalize_pair(s, us, 1000000);
  748|       |        /* |s| can't be bigger than about
  749|       |         * |original s| + |original us|/1000000 now.
  750|       |         */
  751|       |
  752|      0|    }
  753|      2|    if (*s < 0 || *s >= 24*3600) {
  ------------------
  |  Branch (753:9): [True: 0, False: 2]
  |  Branch (753:19): [True: 0, False: 2]
  ------------------
  754|      0|        normalize_pair(d, s, 24*3600);
  755|       |        /* |d| can't be bigger than about
  756|       |         * |original d| +
  757|       |         * (|original s| + |original us|/1000000) / (24*3600) now.
  758|       |         */
  759|      0|    }
  760|      2|    assert(0 <= *s && *s < 24*3600);
  ------------------
  |  Branch (760:5): [True: 2, False: 0]
  |  Branch (760:5): [True: 2, False: 0]
  ------------------
  761|      2|    assert(0 <= *us && *us < 1000000);
  ------------------
  |  Branch (761:5): [True: 2, False: 0]
  |  Branch (761:5): [True: 2, False: 0]
  ------------------
  762|      2|}
_datetimemodule.c:check_delta_day_range:
  646|     16|{
  647|     16|    if (-MAX_DELTA_DAYS <= days && days <= MAX_DELTA_DAYS)
  ------------------
  |  |  275|     16|#define MAX_DELTA_DAYS 999999999
  ------------------
                  if (-MAX_DELTA_DAYS <= days && days <= MAX_DELTA_DAYS)
  ------------------
  |  |  275|     16|#define MAX_DELTA_DAYS 999999999
  ------------------
  |  Branch (647:9): [True: 16, False: 0]
  |  Branch (647:36): [True: 16, False: 0]
  ------------------
  648|     16|        return 0;
  649|      0|    PyErr_Format(PyExc_OverflowError,
  650|      0|                 "days=%d; must have magnitude <= %d",
  651|      0|                 days, MAX_DELTA_DAYS);
  ------------------
  |  |  275|      0|#define MAX_DELTA_DAYS 999999999
  ------------------
  652|      0|    return -1;
  653|     16|}
_datetimemodule.c:look_up_delta:
 3172|     16|{
 3173|     16|    if (days == 0 && seconds == 0 && microseconds == 0
  ------------------
  |  Branch (3173:9): [True: 8, False: 8]
  |  Branch (3173:22): [True: 6, False: 2]
  |  Branch (3173:38): [True: 0, False: 6]
  ------------------
 3174|      0|            && type == Py_TYPE(&zero_delta))
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_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 (3174:16): [True: 0, False: 0]
  ------------------
 3175|      0|    {
 3176|      0|        return &zero_delta;
 3177|      0|    }
 3178|     16|    return NULL;
 3179|     16|}
_datetimemodule.c:check_tzinfo_subclass:
 1490|      8|{
 1491|      8|    if (p == Py_None || PyTZInfo_Check(p))
  ------------------
  |  |  616|     16|#  define Py_None (&_Py_NoneStruct)
  ------------------
                  if (p == Py_None || PyTZInfo_Check(p))
  ------------------
  |  |  100|      0|#define PyTZInfo_Check(op) PyObject_TypeCheck(op, TZINFO_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1491:9): [True: 8, False: 0]
  ------------------
 1492|      8|        return 0;
 1493|      0|    PyErr_Format(PyExc_TypeError,
 1494|      0|                 "tzinfo argument must be None or of a tzinfo subclass, "
 1495|      0|                 "not type '%s'",
 1496|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1497|      0|    return -1;
 1498|      8|}
_datetimemodule.c:new_date_ex:
 1169|      4|{
 1170|      4|    PyDateTime_Date *self;
 1171|       |
 1172|      4|    if (check_date_args(year, month, day) < 0) {
  ------------------
  |  Branch (1172:9): [True: 0, False: 4]
  ------------------
 1173|      0|        return NULL;
 1174|      0|    }
 1175|       |
 1176|      4|    self = (PyDateTime_Date *)(type->tp_alloc(type, 0));
 1177|      4|    if (self != NULL)
  ------------------
  |  Branch (1177:9): [True: 4, False: 0]
  ------------------
 1178|      4|        set_date_fields(self, year, month, day);
 1179|      4|    return (PyObject *)self;
 1180|      4|}
_datetimemodule.c:check_date_args:
  660|      8|{
  661|       |
  662|      8|    if (year < MINYEAR || year > MAXYEAR) {
  ------------------
  |  |  266|     16|#define MINYEAR 1
  ------------------
                  if (year < MINYEAR || year > MAXYEAR) {
  ------------------
  |  |  267|      8|#define MAXYEAR 9999
  ------------------
  |  Branch (662:9): [True: 0, False: 8]
  |  Branch (662:27): [True: 0, False: 8]
  ------------------
  663|      0|        PyErr_Format(PyExc_ValueError,
  664|      0|                     "year must be in %d..%d, not %d", MINYEAR, MAXYEAR, year);
  ------------------
  |  |  266|      0|#define MINYEAR 1
  ------------------
                                   "year must be in %d..%d, not %d", MINYEAR, MAXYEAR, year);
  ------------------
  |  |  267|      0|#define MAXYEAR 9999
  ------------------
  665|      0|        return -1;
  666|      0|    }
  667|      8|    if (month < 1 || month > 12) {
  ------------------
  |  Branch (667:9): [True: 0, False: 8]
  |  Branch (667:22): [True: 0, False: 8]
  ------------------
  668|      0|        PyErr_Format(PyExc_ValueError,
  669|      0|                     "month must be in 1..12, not %d", month);
  670|      0|        return -1;
  671|      0|    }
  672|      8|    int dim = days_in_month(year, month);
  673|      8|    if (day < 1 || day > dim) {
  ------------------
  |  Branch (673:9): [True: 0, False: 8]
  |  Branch (673:20): [True: 0, False: 8]
  ------------------
  674|      0|        PyErr_Format(PyExc_ValueError,
  675|      0|                     "day %i must be in range 1..%d for month %i in year %i",
  676|      0|                     day, dim, month, year);
  677|      0|        return -1;
  678|      0|    }
  679|      8|    return 0;
  680|      8|}
_datetimemodule.c:set_date_fields:
  911|      8|{
  912|      8|    self->hashcode = -1;
  913|      8|    SET_YEAR(self, y);
  ------------------
  |  |  288|      8|#define SET_YEAR(o, v)          (((o)->data[0] = ((v) & 0xff00) >> 8), \
  |  |  289|      8|                 ((o)->data[1] = ((v) & 0x00ff)))
  ------------------
  914|      8|    SET_MONTH(self, m);
  ------------------
  |  |  290|      8|#define SET_MONTH(o, v)         (PyDateTime_GET_MONTH(o) = (v))
  |  |  ------------------
  |  |  |  |  124|      8|#define PyDateTime_GET_MONTH(o)    (((PyDateTime_Date*)(o))->data[2])
  |  |  ------------------
  ------------------
  915|      8|    SET_DAY(self, d);
  ------------------
  |  |  291|      8|#define SET_DAY(o, v)           (PyDateTime_GET_DAY(o) = (v))
  |  |  ------------------
  |  |  |  |  125|      8|#define PyDateTime_GET_DAY(o)      (((PyDateTime_Date*)(o))->data[3])
  |  |  ------------------
  ------------------
  916|      8|}
_datetimemodule.c:check_time_args:
  687|      8|{
  688|      8|    if (h < 0 || h > 23) {
  ------------------
  |  Branch (688:9): [True: 0, False: 8]
  |  Branch (688:18): [True: 0, False: 8]
  ------------------
  689|      0|        PyErr_Format(PyExc_ValueError, "hour must be in 0..23, not %i", h);
  690|      0|        return -1;
  691|      0|    }
  692|      8|    if (m < 0 || m > 59) {
  ------------------
  |  Branch (692:9): [True: 0, False: 8]
  |  Branch (692:18): [True: 0, False: 8]
  ------------------
  693|      0|        PyErr_Format(PyExc_ValueError, "minute must be in 0..59, not %i", m);
  694|      0|        return -1;
  695|      0|    }
  696|      8|    if (s < 0 || s > 59) {
  ------------------
  |  Branch (696:9): [True: 0, False: 8]
  |  Branch (696:18): [True: 0, False: 8]
  ------------------
  697|      0|        PyErr_Format(PyExc_ValueError, "second must be in 0..59, not %i", s);
  698|      0|        return -1;
  699|      0|    }
  700|      8|    if (us < 0 || us > 999999) {
  ------------------
  |  Branch (700:9): [True: 0, False: 8]
  |  Branch (700:19): [True: 0, False: 8]
  ------------------
  701|      0|        PyErr_Format(PyExc_ValueError,
  702|      0|                     "microsecond must be in 0..999999, not %i", us);
  703|      0|        return -1;
  704|      0|    }
  705|      8|    if (fold != 0 && fold != 1) {
  ------------------
  |  Branch (705:9): [True: 0, False: 8]
  |  Branch (705:22): [True: 0, False: 0]
  ------------------
  706|      0|        PyErr_Format(PyExc_ValueError,
  707|      0|                     "fold must be either 0 or 1, not %i", fold);
  708|      0|        return -1;
  709|      0|    }
  710|      8|    return 0;
  711|      8|}
_datetimemodule.c:create_timezone:
 1432|      4|{
 1433|      4|    PyDateTime_TimeZone *self;
 1434|      4|    PyTypeObject *type = TIMEZONE_TYPE(NO_STATE);
  ------------------
  |  |   80|      4|#define TIMEZONE_TYPE(st) &PyDateTime_TimeZoneType
  ------------------
 1435|       |
 1436|      4|    assert(offset != NULL);
  ------------------
  |  Branch (1436:5): [True: 4, False: 0]
  ------------------
 1437|      4|    assert(PyDelta_Check(offset));
  ------------------
  |  Branch (1437:5): [True: 4, False: 0]
  ------------------
 1438|      4|    assert(name == NULL || PyUnicode_Check(name));
  ------------------
  |  Branch (1438:5): [True: 4, False: 0]
  |  Branch (1438:5): [True: 0, False: 0]
  ------------------
 1439|       |
 1440|      4|    self = look_up_timezone(offset, name);
 1441|      4|    if (self != NULL) {
  ------------------
  |  Branch (1441:9): [True: 0, False: 4]
  ------------------
 1442|      0|        return (PyObject *)self;
 1443|      0|    }
 1444|      4|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (1444:5): [True: 4, False: 0]
  ------------------
 1445|       |
 1446|      4|    self = (PyDateTime_TimeZone *)(type->tp_alloc(type, 0));
 1447|      4|    if (self == NULL) {
  ------------------
  |  Branch (1447:9): [True: 0, False: 4]
  ------------------
 1448|      0|        return NULL;
 1449|      0|    }
 1450|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1451|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1452|      4|    return (PyObject *)self;
 1453|      4|}
_datetimemodule.c:look_up_timezone:
 4602|      4|{
 4603|      4|    if (offset == utc_timezone.offset && name == NULL) {
  ------------------
  |  Branch (4603:9): [True: 0, False: 4]
  |  Branch (4603:42): [True: 0, False: 0]
  ------------------
 4604|      0|        return (PyDateTime_TimeZone *)CONST_UTC(NO_STATE);
  ------------------
  |  |  116|      0|#define CONST_UTC(st) ((PyObject *)&utc_timezone)
  ------------------
 4605|      0|    }
 4606|      4|    return NULL;
 4607|      4|}
_datetimemodule.c:time_alloc:
  881|      4|{
  882|      4|    size_t size = aware ? sizeof(PyDateTime_Time) : sizeof(_PyDateTime_BaseTime);
  ------------------
  |  Branch (882:19): [True: 0, False: 4]
  ------------------
  883|      4|    PyObject *self = (PyObject *)PyObject_Malloc(size);
  884|      4|    if (self == NULL) {
  ------------------
  |  Branch (884:9): [True: 0, False: 4]
  ------------------
  885|      0|        return PyErr_NoMemory();
  886|      0|    }
  887|      4|    _PyObject_Init(self, type);
  888|      4|    return self;
  889|      4|}
_datetimemodule.c:new_time_ex2:
 1320|      4|{
 1321|      4|    PyDateTime_Time *self;
 1322|      4|    char aware = tzinfo != Py_None;
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1323|       |
 1324|      4|    if (check_time_args(hour, minute, second, usecond, fold) < 0) {
  ------------------
  |  Branch (1324:9): [True: 0, False: 4]
  ------------------
 1325|      0|        return NULL;
 1326|      0|    }
 1327|      4|    if (check_tzinfo_subclass(tzinfo) < 0) {
  ------------------
  |  Branch (1327:9): [True: 0, False: 4]
  ------------------
 1328|      0|        return NULL;
 1329|      0|    }
 1330|       |
 1331|      4|    self = (PyDateTime_Time *) (type->tp_alloc(type, aware));
 1332|      4|    if (self != NULL) {
  ------------------
  |  Branch (1332:9): [True: 4, False: 0]
  ------------------
 1333|      4|        self->hastzinfo = aware;
 1334|      4|        self->hashcode = -1;
 1335|      4|        TIME_SET_HOUR(self, hour);
  ------------------
  |  |  309|      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])
  |  |  ------------------
  ------------------
 1336|      4|        TIME_SET_MINUTE(self, minute);
  ------------------
  |  |  310|      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])
  |  |  ------------------
  ------------------
 1337|      4|        TIME_SET_SECOND(self, second);
  ------------------
  |  |  311|      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])
  |  |  ------------------
  ------------------
 1338|      4|        TIME_SET_MICROSECOND(self, usecond);
  ------------------
  |  |  313|      4|    (((o)->data[3] = ((v) & 0xff0000) >> 16), \
  |  |  314|      4|     ((o)->data[4] = ((v) & 0x00ff00) >> 8), \
  |  |  315|      4|     ((o)->data[5] = ((v) & 0x0000ff)))
  ------------------
 1339|      4|        if (aware) {
  ------------------
  |  Branch (1339:13): [True: 0, False: 4]
  ------------------
 1340|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1341|      0|        }
 1342|      4|        TIME_SET_FOLD(self, fold);
  ------------------
  |  |  316|      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)
  |  |  ------------------
  ------------------
 1343|      4|    }
 1344|      4|    return (PyObject *)self;
 1345|      4|}
_datetimemodule.c:datetime_alloc:
  893|      4|{
  894|      4|    size_t size = aware ? sizeof(PyDateTime_DateTime) : sizeof(_PyDateTime_BaseDateTime);
  ------------------
  |  Branch (894:19): [True: 0, False: 4]
  ------------------
  895|      4|    PyObject *self = (PyObject *)PyObject_Malloc(size);
  896|      4|    if (self == NULL) {
  ------------------
  |  Branch (896:9): [True: 0, False: 4]
  ------------------
  897|      0|        return PyErr_NoMemory();
  898|      0|    }
  899|      4|    _PyObject_Init(self, type);
  900|      4|    return self;
  901|      4|}
_datetimemodule.c:new_datetime_ex2:
 1212|      4|{
 1213|      4|    PyDateTime_DateTime *self;
 1214|      4|    char aware = tzinfo != Py_None;
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1215|       |
 1216|      4|    if (check_date_args(year, month, day) < 0) {
  ------------------
  |  Branch (1216:9): [True: 0, False: 4]
  ------------------
 1217|      0|        return NULL;
 1218|      0|    }
 1219|      4|    if (check_time_args(hour, minute, second, usecond, fold) < 0) {
  ------------------
  |  Branch (1219:9): [True: 0, False: 4]
  ------------------
 1220|      0|        return NULL;
 1221|      0|    }
 1222|      4|    if (check_tzinfo_subclass(tzinfo) < 0) {
  ------------------
  |  Branch (1222:9): [True: 0, False: 4]
  ------------------
 1223|      0|        return NULL;
 1224|      0|    }
 1225|       |
 1226|      4|    self = (PyDateTime_DateTime *) (type->tp_alloc(type, aware));
 1227|      4|    if (self != NULL) {
  ------------------
  |  Branch (1227:9): [True: 4, False: 0]
  ------------------
 1228|      4|        self->hastzinfo = aware;
 1229|      4|        set_date_fields((PyDateTime_Date *)self, year, month, day);
 1230|      4|        DATE_SET_HOUR(self, hour);
  ------------------
  |  |  294|      4|#define DATE_SET_HOUR(o, v)     (PyDateTime_DATE_GET_HOUR(o) = (v))
  |  |  ------------------
  |  |  |  |  127|      4|#define PyDateTime_DATE_GET_HOUR(o)        (((PyDateTime_DateTime*)(o))->data[4])
  |  |  ------------------
  ------------------
 1231|      4|        DATE_SET_MINUTE(self, minute);
  ------------------
  |  |  295|      4|#define DATE_SET_MINUTE(o, v)   (PyDateTime_DATE_GET_MINUTE(o) = (v))
  |  |  ------------------
  |  |  |  |  128|      4|#define PyDateTime_DATE_GET_MINUTE(o)      (((PyDateTime_DateTime*)(o))->data[5])
  |  |  ------------------
  ------------------
 1232|      4|        DATE_SET_SECOND(self, second);
  ------------------
  |  |  296|      4|#define DATE_SET_SECOND(o, v)   (PyDateTime_DATE_GET_SECOND(o) = (v))
  |  |  ------------------
  |  |  |  |  129|      4|#define PyDateTime_DATE_GET_SECOND(o)      (((PyDateTime_DateTime*)(o))->data[6])
  |  |  ------------------
  ------------------
 1233|      4|        DATE_SET_MICROSECOND(self, usecond);
  ------------------
  |  |  298|      4|    (((o)->data[7] = ((v) & 0xff0000) >> 16), \
  |  |  299|      4|     ((o)->data[8] = ((v) & 0x00ff00) >> 8), \
  |  |  300|      4|     ((o)->data[9] = ((v) & 0x0000ff)))
  ------------------
 1234|      4|        if (aware) {
  ------------------
  |  Branch (1234:13): [True: 0, False: 4]
  ------------------
 1235|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1236|      0|        }
 1237|      4|        DATE_SET_FOLD(self, fold);
  ------------------
  |  |  301|      4|#define DATE_SET_FOLD(o, v)   (PyDateTime_DATE_GET_FOLD(o) = (v))
  |  |  ------------------
  |  |  |  |  134|      4|#define PyDateTime_DATE_GET_FOLD(o)        (((PyDateTime_DateTime*)(o))->fold)
  |  |  ------------------
  ------------------
 1238|      4|    }
 1239|      4|    return (PyObject *)self;
 1240|      4|}
_datetimemodule.c:create_timezone_from_delta:
 7407|      4|{
 7408|      4|    PyObject *delta = new_delta(days, sec, ms, normalize);
  ------------------
  |  | 1414|      4|    new_delta_ex(d, s, us, normalize, DELTA_TYPE(NO_STATE))
  |  |  ------------------
  |  |  |  |   78|      4|#define DELTA_TYPE(st) &PyDateTime_DeltaType
  |  |  ------------------
  ------------------
 7409|      4|    if (delta == NULL) {
  ------------------
  |  Branch (7409:9): [True: 0, False: 4]
  ------------------
 7410|      0|        return NULL;
 7411|      0|    }
 7412|      4|    PyObject *tz = create_timezone(delta, NULL);
 7413|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7414|      4|    return tz;
 7415|      4|}

PyInit__functools:
 2042|      1|{
 2043|      1|    return PyModuleDef_Init(&_functools_module);
 2044|      1|}
_functoolsmodule.c:get_functools_state:
   39|    273|{
   40|    273|    void *state = _PyModule_GetState(module);
   41|    273|    assert(state != NULL);
  ------------------
  |  Branch (41:5): [True: 273, False: 0]
  ------------------
   42|    273|    return (_functools_state *)state;
   43|    273|}
_functoolsmodule.c:_functools_exec:
 1923|      1|{
 1924|      1|    _functools_state *state = get_functools_state(module);
 1925|      1|    state->kwd_mark = _PyObject_CallNoArgs((PyObject *)&PyBaseObject_Type);
 1926|      1|    if (state->kwd_mark == NULL) {
  ------------------
  |  Branch (1926:9): [True: 0, False: 1]
  ------------------
 1927|      0|        return -1;
 1928|      0|    }
 1929|       |
 1930|      1|    state->placeholder_type = (PyTypeObject *)PyType_FromModuleAndSpec(module,
 1931|      1|        &placeholder_type_spec, NULL);
 1932|      1|    if (state->placeholder_type == NULL) {
  ------------------
  |  Branch (1932:9): [True: 0, False: 1]
  ------------------
 1933|      0|        return -1;
 1934|      0|    }
 1935|      1|    if (PyModule_AddType(module, state->placeholder_type) < 0) {
  ------------------
  |  Branch (1935:9): [True: 0, False: 1]
  ------------------
 1936|      0|        return -1;
 1937|      0|    }
 1938|       |
 1939|      1|    PyObject *placeholder = PyObject_CallNoArgs((PyObject *)state->placeholder_type);
 1940|      1|    if (placeholder == NULL) {
  ------------------
  |  Branch (1940:9): [True: 0, False: 1]
  ------------------
 1941|      0|        return -1;
 1942|      0|    }
 1943|      1|    if (PyModule_AddObjectRef(module, "Placeholder", placeholder) < 0) {
  ------------------
  |  Branch (1943:9): [True: 0, False: 1]
  ------------------
 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|      1|    Py_DECREF(placeholder);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1948|       |
 1949|      1|    state->partial_type = (PyTypeObject *)PyType_FromModuleAndSpec(module,
 1950|      1|        &partial_type_spec, NULL);
 1951|      1|    if (state->partial_type == NULL) {
  ------------------
  |  Branch (1951:9): [True: 0, False: 1]
  ------------------
 1952|      0|        return -1;
 1953|      0|    }
 1954|      1|    if (PyModule_AddType(module, state->partial_type) < 0) {
  ------------------
  |  Branch (1954:9): [True: 0, False: 1]
  ------------------
 1955|      0|        return -1;
 1956|      0|    }
 1957|       |
 1958|      1|    PyObject *lru_cache_type = PyType_FromModuleAndSpec(module,
 1959|      1|        &lru_cache_type_spec, NULL);
 1960|      1|    if (lru_cache_type == NULL) {
  ------------------
  |  Branch (1960:9): [True: 0, False: 1]
  ------------------
 1961|      0|        return -1;
 1962|      0|    }
 1963|      1|    if (PyModule_AddType(module, (PyTypeObject *)lru_cache_type) < 0) {
  ------------------
  |  Branch (1963:9): [True: 0, False: 1]
  ------------------
 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|      1|    Py_DECREF(lru_cache_type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1968|       |
 1969|      1|    state->keyobject_type = (PyTypeObject *)PyType_FromModuleAndSpec(module,
 1970|      1|        &keyobject_type_spec, NULL);
 1971|      1|    if (state->keyobject_type == NULL) {
  ------------------
  |  Branch (1971:9): [True: 0, False: 1]
  ------------------
 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|      1|    state->lru_list_elem_type = (PyTypeObject *)PyType_FromModuleAndSpec(
 1978|      1|        module, &lru_list_elem_type_spec, NULL);
 1979|      1|    if (state->lru_list_elem_type == NULL) {
  ------------------
  |  Branch (1979:9): [True: 0, False: 1]
  ------------------
 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|      1|    return 0;
 1986|      1|}
_functoolsmodule.c:placeholder_new:
   90|      1|{
   91|      1|    if (PyTuple_GET_SIZE(args) || (kwargs && PyDict_GET_SIZE(kwargs))) {
  ------------------
  |  |   27|      2|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (27:30): [True: 0, False: 1]
  |  |  ------------------
  ------------------
                  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: 1]
  ------------------
   92|      0|        PyErr_SetString(PyExc_TypeError, "PlaceholderType takes no arguments");
   93|      0|        return NULL;
   94|      0|    }
   95|      1|    _functools_state *state = get_functools_state_by_type(type);
   96|      1|    if (state->placeholder != NULL) {
  ------------------
  |  Branch (96:9): [True: 0, False: 1]
  ------------------
   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|      1|    PyObject *placeholder = PyType_GenericNew(type, NULL, NULL);
  101|      1|    if (placeholder == NULL) {
  ------------------
  |  Branch (101:9): [True: 0, False: 1]
  ------------------
  102|      0|        return NULL;
  103|      0|    }
  104|       |
  105|      1|    if (state->placeholder == NULL) {
  ------------------
  |  Branch (105:9): [True: 1, False: 0]
  ------------------
  106|      1|        state->placeholder = Py_NewRef(placeholder);
  ------------------
  |  |  550|      1|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  107|      1|    }
  108|      1|    return placeholder;
  109|      1|}
_functoolsmodule.c:get_functools_state_by_type:
  151|      4|{
  152|      4|    PyObject *module = PyType_GetModuleByDef(type, &_functools_module);
  153|      4|    if (module == NULL) {
  ------------------
  |  Branch (153:9): [True: 0, False: 4]
  ------------------
  154|      0|        return NULL;
  155|      0|    }
  156|      4|    return get_functools_state(module);
  157|      4|}
_functoolsmodule.c:partial_dealloc:
  349|      1|{
  350|      1|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|      1|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  351|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
  352|      1|    PyObject_GC_UnTrack(self);
  353|      1|    FT_CLEAR_WEAKREFS(self, partialobject_CAST(self)->weakreflist);
  ------------------
  |  |   47|      1|    do {                                            \
  |  |   48|      1|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|      1|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 1]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
  |  Branch (353:5): [True: 1, False: 0]
  ------------------
  354|      1|    (void)partial_clear(self);
  355|      1|    tp->tp_free(self);
  356|      1|    Py_DECREF(tp);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  357|      1|}
_functoolsmodule.c:partial_clear:
  326|      1|{
  327|      1|    partialobject *pto = partialobject_CAST(self);
  ------------------
  |  |  142|      1|#define partialobject_CAST(op)  ((partialobject *)(op))
  ------------------
  328|      1|    Py_CLEAR(pto->fn);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  329|      1|    Py_CLEAR(pto->args);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  330|      1|    Py_CLEAR(pto->kw);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  331|       |    Py_CLEAR(pto->dict);
  ------------------
  |  |  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: 0, False: 1]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_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|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
  332|      1|    return 0;
  333|      1|}
_functoolsmodule.c:partial_setvectorcall:
  570|      1|{
  571|      1|    if (PyVectorcall_Function(pto->fn) == NULL) {
  ------------------
  |  Branch (571:9): [True: 0, False: 1]
  ------------------
  572|       |        /* Don't use vectorcall if the underlying function doesn't support it */
  573|      0|        pto->vectorcall = NULL;
  574|      0|    }
  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|      1|    else {
  579|      1|        pto->vectorcall = partial_vectorcall;
  580|      1|    }
  581|      1|}
_functoolsmodule.c:partial_vectorcall:
  371|      1|{
  372|      1|    partialobject *pto = partialobject_CAST(self);;
  ------------------
  |  |  142|      1|#define partialobject_CAST(op)  ((partialobject *)(op))
  ------------------
  373|      1|    PyThreadState *tstate = _PyThreadState_GET();
  374|      1|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      1|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  375|       |
  376|       |    /* Placeholder check */
  377|      1|    Py_ssize_t pto_phcount = pto->phcount;
  378|      1|    if (nargs < pto_phcount) {
  ------------------
  |  Branch (378:9): [True: 0, False: 1]
  ------------------
  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|      1|    PyObject **pto_args = _PyTuple_ITEMS(pto->args);
  ------------------
  |  |   26|      1|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  277|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 1, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  386|      1|    Py_ssize_t pto_nargs = PyTuple_GET_SIZE(pto->args);
  ------------------
  |  |   27|      1|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  387|      1|    Py_ssize_t pto_nkwds = PyDict_GET_SIZE(pto->kw);
  ------------------
  |  |   63|      1|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  388|      1|    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: 1, False: 0]
  ------------------
  389|      1|    Py_ssize_t nargskw = nargs + nkwds;
  390|       |
  391|       |    /* Special cases */
  392|      1|    if (!pto_nkwds) {
  ------------------
  |  Branch (392:9): [True: 0, False: 1]
  ------------------
  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|      1|    Py_ssize_t tot_nargs = pto_nargs + nargs - pto_phcount;
  414|      1|    Py_ssize_t tot_nkwds = pto_nkwds + nkwds;
  415|      1|    Py_ssize_t tot_nargskw = tot_nargs + tot_nkwds;
  416|       |
  417|      1|    PyObject *pto_kw_merged = NULL;  // pto_kw with duplicates merged (if any)
  418|      1|    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|      1|    PyObject *small_stack[_PY_FASTCALL_SMALL_STACK * 2];
  426|      1|    PyObject **tmp_stack, **stack;
  427|      1|    Py_ssize_t init_stack_size = tot_nargskw;
  428|      1|    if (pto_nkwds) {
  ------------------
  |  Branch (428:9): [True: 1, False: 0]
  ------------------
  429|       |        // If pto_nkwds, allocate additional space for temporary new keys
  430|      1|        init_stack_size += nkwds;
  431|      1|    }
  432|      1|    if (init_stack_size <= (Py_ssize_t)Py_ARRAY_LENGTH(small_stack)) {
  ------------------
  |  |  196|      1|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (432:9): [True: 1, False: 0]
  ------------------
  433|      1|        stack = small_stack;
  434|      1|    }
  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|      1|    if (!pto_nkwds) {
  ------------------
  |  Branch (443:9): [True: 0, False: 1]
  ------------------
  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|      1|    else {
  451|       |        /* stack is now         [<positionals>, <pto_kwds>, <kwds>, <kwds_keys>]
  452|       |         * Will resize later to [<positionals>, <merged_kwds>] */
  453|      1|        PyObject *key, *val;
  454|       |
  455|       |        /* Merge kw to pto_kw or add to tail (if not duplicate) */
  456|      1|        Py_ssize_t n_tail = 0;
  457|      1|        for (Py_ssize_t i = 0; i < nkwds; ++i) {
  ------------------
  |  Branch (457:32): [True: 0, False: 1]
  ------------------
  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (458:19): [True: 0, False: 0]
  ------------------
  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|      1|        Py_ssize_t n_merges = nkwds - n_tail;
  484|       |
  485|       |        /* Create total kwnames */
  486|      1|        tot_kwnames = PyTuple_New(tot_nkwds - n_merges);
  487|      1|        if (tot_kwnames == NULL) {
  ------------------
  |  Branch (487:13): [True: 0, False: 1]
  ------------------
  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|      1|        for (Py_ssize_t i = 0; i < n_tail; ++i) {
  ------------------
  |  Branch (491:32): [True: 0, False: 1]
  ------------------
  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|      1|        Py_ssize_t pos = 0, i = 0;
  499|      1|        PyObject *keyword_dict = n_merges ? pto_kw_merged : pto->kw;
  ------------------
  |  Branch (499:34): [True: 0, False: 1]
  ------------------
  500|      1|        Py_BEGIN_CRITICAL_SECTION(keyword_dict);
  ------------------
  |  |   51|      1|    {
  ------------------
  501|      4|        while (PyDict_Next(keyword_dict, &pos, &key, &val)) {
  ------------------
  |  Branch (501:16): [True: 3, False: 1]
  ------------------
  502|      3|            assert(i < pto_nkwds);
  ------------------
  |  Branch (502:13): [True: 3, False: 0]
  ------------------
  503|      3|            PyTuple_SET_ITEM(tot_kwnames, i, Py_NewRef(key));
  ------------------
  |  |   40|      3|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  504|      3|            stack[tot_nargs + i] = val;
  505|      3|            i++;
  506|      3|        }
  507|      1|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      1|    }
  ------------------
  508|      1|        assert(i == pto_nkwds);
  ------------------
  |  Branch (508:9): [True: 1, False: 0]
  ------------------
  509|      1|        Py_XDECREF(pto_kw_merged);
  ------------------
  |  |  524|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#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|      1|        Py_ssize_t noveralloc = n_merges + nkwds;
  514|      1|        if (stack != small_stack && noveralloc > 6 && noveralloc > init_stack_size / 10) {
  ------------------
  |  Branch (514:13): [True: 0, False: 1]
  |  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|      1|    }
  526|       |
  527|       |    /* Copy Positionals to stack */
  528|      1|    if (pto_phcount) {
  ------------------
  |  Branch (528:9): [True: 0, False: 1]
  ------------------
  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);
  ------------------
  |  Branch (539:9): [True: 0, False: 0]
  ------------------
  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|      1|    else {
  546|      1|        memcpy(stack, pto_args, pto_nargs * sizeof(PyObject*));
  547|      1|        memcpy(stack + pto_nargs, args, nargs * sizeof(PyObject*));
  548|      1|    }
  549|       |
  550|      1|    PyObject *ret = _PyObject_VectorcallTstate(tstate, pto->fn, stack,
  551|      1|                                               tot_nargs, tot_kwnames);
  552|      1|    if (stack != small_stack) {
  ------------------
  |  Branch (552:9): [True: 0, False: 1]
  ------------------
  553|      0|        PyMem_Free(stack);
  554|      0|    }
  555|      1|    if (pto_nkwds) {
  ------------------
  |  Branch (555:9): [True: 1, False: 0]
  ------------------
  556|      1|        Py_DECREF(tot_kwnames);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  557|      1|    }
  558|      1|    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|      1|}
_functoolsmodule.c:partial_new:
  162|      1|{
  163|      1|    PyObject *func, *pto_args, *new_args, *pto_kw, *phold;
  164|      1|    partialobject *pto;
  165|      1|    Py_ssize_t pto_phcount = 0;
  166|      1|    Py_ssize_t new_nargs = PyTuple_GET_SIZE(args) - 1;
  ------------------
  |  |   27|      1|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  167|       |
  168|      1|    if (new_nargs < 0) {
  ------------------
  |  Branch (168:9): [True: 0, False: 1]
  ------------------
  169|      0|        PyErr_SetString(PyExc_TypeError,
  170|      0|                        "type 'partial' takes at least one argument");
  171|      0|        return NULL;
  172|      0|    }
  173|      1|    func = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|      1|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      1|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (173:12): [True: 1, False: 0]
  ------------------
  174|      1|    if (!PyCallable_Check(func)) {
  ------------------
  |  Branch (174:9): [True: 0, False: 1]
  ------------------
  175|      0|        PyErr_SetString(PyExc_TypeError,
  176|      0|                        "the first argument must be callable");
  177|      0|        return NULL;
  178|      0|    }
  179|       |
  180|      1|    _functools_state *state = get_functools_state_by_type(type);
  181|      1|    if (state == NULL) {
  ------------------
  |  Branch (181:9): [True: 0, False: 1]
  ------------------
  182|      0|        return NULL;
  183|      0|    }
  184|      1|    phold = state->placeholder;
  185|       |
  186|       |    /* Placeholder restrictions */
  187|      1|    if (new_nargs && PyTuple_GET_ITEM(args, new_nargs) == 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 (187:9): [True: 0, False: 1]
  |  Branch (187:22): [True: 0, False: 0]
  |  Branch (187:22): [True: 0, False: 0]
  ------------------
  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|      1|    if (kw != NULL) {
  ------------------
  |  Branch (194:9): [True: 1, False: 0]
  ------------------
  195|      1|        PyObject *key, *val;
  196|      1|        Py_ssize_t pos = 0;
  197|      4|        while (PyDict_Next(kw, &pos, &key, &val)) {
  ------------------
  |  Branch (197:16): [True: 3, False: 1]
  ------------------
  198|      3|            if (val == phold) {
  ------------------
  |  Branch (198:17): [True: 0, False: 3]
  ------------------
  199|      0|                PyErr_SetString(PyExc_TypeError,
  200|      0|                                "Placeholder cannot be passed as a keyword argument");
  201|      0|                return NULL;
  202|      0|            }
  203|      3|        }
  204|      1|    }
  205|       |
  206|       |    /* check wrapped function / object */
  207|      1|    pto_args = pto_kw = NULL;
  208|      1|    int res = PyObject_TypeCheck(func, state->partial_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  209|      1|    if (res == -1) {
  ------------------
  |  Branch (209:9): [True: 0, False: 1]
  ------------------
  210|      0|        return NULL;
  211|      0|    }
  212|      1|    if (res == 1) {
  ------------------
  |  Branch (212:9): [True: 0, False: 1]
  ------------------
  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));
  ------------------
  |  Branch (220:13): [True: 0, False: 0]
  ------------------
  221|      0|            assert(PyDict_Check(pto_kw));
  ------------------
  |  Branch (221:13): [True: 0, False: 0]
  ------------------
  222|      0|        }
  223|      0|    }
  224|       |
  225|       |    /* create partialobject structure */
  226|      1|    pto = (partialobject *)type->tp_alloc(type, 0);
  227|      1|    if (pto == NULL)
  ------------------
  |  Branch (227:9): [True: 0, False: 1]
  ------------------
  228|      0|        return NULL;
  229|       |
  230|      1|    pto->fn = Py_NewRef(func);
  ------------------
  |  |  550|      1|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  231|      1|    pto->placeholder = phold;
  232|       |
  233|      1|    new_args = PyTuple_GetSlice(args, 1, new_nargs + 1);
  234|      1|    if (new_args == NULL) {
  ------------------
  |  Branch (234:9): [True: 0, False: 1]
  ------------------
  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|      1|    Py_ssize_t phcount = 0;
  241|      1|    for (Py_ssize_t i = 0; i < new_nargs - 1; i++) {
  ------------------
  |  Branch (241:28): [True: 0, False: 1]
  ------------------
  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]
  |  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|      1|    if (pto_phcount > 0 && new_nargs > 0) {
  ------------------
  |  Branch (247:9): [True: 0, False: 1]
  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (262:24): [True: 0, False: 0]
  ------------------
  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (264:28): [True: 0, False: 0]
  ------------------
  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (270:24): [True: 0, False: 0]
  ------------------
  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|      1|    else if (pto_args == NULL) {
  ------------------
  |  Branch (280:14): [True: 1, False: 0]
  ------------------
  281|      1|        pto->args = new_args;
  282|      1|        pto->phcount = phcount;
  283|      1|    }
  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));
  ------------------
  |  Branch (292:9): [True: 0, False: 0]
  ------------------
  293|      0|    }
  294|       |
  295|      1|    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: 1, False: 0]
  |  Branch (295:27): [True: 0, False: 0]
  ------------------
  296|      1|        if (kw == NULL) {
  ------------------
  |  Branch (296:13): [True: 0, False: 1]
  ------------------
  297|      0|            pto->kw = PyDict_New();
  298|      0|        }
  299|      1|        else if (_PyObject_IsUniquelyReferenced(kw)) {
  ------------------
  |  Branch (299:18): [True: 1, False: 0]
  ------------------
  300|      1|            pto->kw = Py_NewRef(kw);
  ------------------
  |  |  550|      1|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  301|      1|        }
  302|      0|        else {
  303|      0|            pto->kw = PyDict_Copy(kw);
  304|      0|        }
  305|      1|    }
  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|      1|    if (pto->kw == NULL) {
  ------------------
  |  Branch (315:9): [True: 0, False: 1]
  ------------------
  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|      1|    partial_setvectorcall(pto);
  321|      1|    return (PyObject *)pto;
  322|      1|}
_functoolsmodule.c:lru_cache_tp_traverse:
 1828|    536|{
 1829|    536|    lru_cache_object *self = lru_cache_object_CAST(op);
  ------------------
  |  | 1228|    536|#define lru_cache_object_CAST(op)   ((lru_cache_object *)(op))
  ------------------
 1830|    536|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|    536|    do {                                                                \
  |  |  195|    536|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 536, False: 0]
  |  |  ------------------
  |  |  196|    536|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    536|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    536|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    536|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 536]
  |  |  ------------------
  |  |  198|    536|                return vret;                                            \
  |  |  199|    536|        }                                                               \
  |  |  200|    536|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 536]
  |  |  ------------------
  ------------------
 1831|    536|    lru_list_elem *link = self->root.next;
 1832|    536|    while (link != &self->root) {
  ------------------
  |  Branch (1832:12): [True: 0, False: 536]
  ------------------
 1833|      0|        lru_list_elem *next = link->next;
 1834|      0|        Py_VISIT(link->key);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1835|      0|        Py_VISIT(link->result);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1836|      0|        Py_VISIT(Py_TYPE(link));
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1837|      0|        link = next;
 1838|      0|    }
 1839|    536|    Py_VISIT(self->cache);
  ------------------
  |  |  194|    536|    do {                                                                \
  |  |  195|    536|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 536, False: 0]
  |  |  ------------------
  |  |  196|    536|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    536|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    536|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    536|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 536]
  |  |  ------------------
  |  |  198|    536|                return vret;                                            \
  |  |  199|    536|        }                                                               \
  |  |  200|    536|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 536]
  |  |  ------------------
  ------------------
 1840|    536|    Py_VISIT(self->func);
  ------------------
  |  |  194|    536|    do {                                                                \
  |  |  195|    536|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 536, False: 0]
  |  |  ------------------
  |  |  196|    536|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    536|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    536|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    536|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 536]
  |  |  ------------------
  |  |  198|    536|                return vret;                                            \
  |  |  199|    536|        }                                                               \
  |  |  200|    536|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 536]
  |  |  ------------------
  ------------------
 1841|    536|    Py_VISIT(self->kwd_mark);
  ------------------
  |  |  194|    536|    do {                                                                \
  |  |  195|    536|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 536, False: 0]
  |  |  ------------------
  |  |  196|    536|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    536|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    536|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    536|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 536]
  |  |  ------------------
  |  |  198|    536|                return vret;                                            \
  |  |  199|    536|        }                                                               \
  |  |  200|    536|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 536]
  |  |  ------------------
  ------------------
 1842|    536|    Py_VISIT(self->lru_list_elem_type);
  ------------------
  |  |  194|    536|    do {                                                                \
  |  |  195|    536|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 536, False: 0]
  |  |  ------------------
  |  |  196|    536|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    536|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    536|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    536|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 536]
  |  |  ------------------
  |  |  198|    536|                return vret;                                            \
  |  |  199|    536|        }                                                               \
  |  |  200|    536|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 536]
  |  |  ------------------
  ------------------
 1843|    536|    Py_VISIT(self->cache_info_type);
  ------------------
  |  |  194|    536|    do {                                                                \
  |  |  195|    536|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 536, False: 0]
  |  |  ------------------
  |  |  196|    536|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    536|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    536|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    536|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 536]
  |  |  ------------------
  |  |  198|    536|                return vret;                                            \
  |  |  199|    536|        }                                                               \
  |  |  200|    536|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 536]
  |  |  ------------------
  ------------------
 1844|    536|    Py_VISIT(self->dict);
  ------------------
  |  |  194|    536|    do {                                                                \
  |  |  195|    536|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 536, False: 0]
  |  |  ------------------
  |  |  196|    536|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    536|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    536|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    536|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 536]
  |  |  ------------------
  |  |  198|    536|                return vret;                                            \
  |  |  199|    536|        }                                                               \
  |  |  200|    536|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 536]
  |  |  ------------------
  ------------------
 1845|    536|    return 0;
 1846|    536|}
_functoolsmodule.c:lru_cache_new:
 1615|      2|{
 1616|      2|    PyObject *func, *maxsize_O, *cache_info_type, *cachedict;
 1617|      2|    int typed;
 1618|      2|    lru_cache_object *obj;
 1619|      2|    Py_ssize_t maxsize;
 1620|      2|    PyObject *(*wrapper)(lru_cache_object *, PyObject *, PyObject *);
 1621|      2|    _functools_state *state;
 1622|      2|    static char *keywords[] = {"user_function", "maxsize", "typed",
 1623|      2|                               "cache_info_type", NULL};
 1624|       |
 1625|      2|    if (!PyArg_ParseTupleAndKeywords(args, kw, "OOpO:lru_cache", keywords,
  ------------------
  |  Branch (1625:9): [True: 0, False: 2]
  ------------------
 1626|      2|                                     &func, &maxsize_O, &typed,
 1627|      2|                                     &cache_info_type)) {
 1628|      0|        return NULL;
 1629|      0|    }
 1630|       |
 1631|      2|    if (!PyCallable_Check(func)) {
  ------------------
  |  Branch (1631:9): [True: 0, False: 2]
  ------------------
 1632|      0|        PyErr_SetString(PyExc_TypeError,
 1633|      0|                        "the first argument must be callable");
 1634|      0|        return NULL;
 1635|      0|    }
 1636|       |
 1637|      2|    state = get_functools_state_by_type(type);
 1638|      2|    if (state == NULL) {
  ------------------
  |  Branch (1638:9): [True: 0, False: 2]
  ------------------
 1639|      0|        return NULL;
 1640|      0|    }
 1641|       |
 1642|       |    /* select the caching function, and make/inc maxsize_O */
 1643|      2|    if (maxsize_O == Py_None) {
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1643:9): [True: 0, False: 2]
  ------------------
 1644|      0|        wrapper = infinite_lru_cache_wrapper;
 1645|       |        /* use this only to initialize lru_cache_object attribute maxsize */
 1646|      0|        maxsize = -1;
 1647|      2|    } else if (PyIndex_Check(maxsize_O)) {
  ------------------
  |  Branch (1647:16): [True: 2, False: 0]
  ------------------
 1648|      2|        maxsize = PyNumber_AsSsize_t(maxsize_O, PyExc_OverflowError);
 1649|      2|        if (maxsize == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1649:13): [True: 0, False: 2]
  |  Branch (1649:30): [True: 0, False: 0]
  ------------------
 1650|      0|            return NULL;
 1651|      2|        if (maxsize < 0) {
  ------------------
  |  Branch (1651:13): [True: 0, False: 2]
  ------------------
 1652|      0|            maxsize = 0;
 1653|      0|        }
 1654|      2|        if (maxsize == 0)
  ------------------
  |  Branch (1654:13): [True: 0, False: 2]
  ------------------
 1655|      0|            wrapper = uncached_lru_cache_wrapper;
 1656|      2|        else
 1657|      2|            wrapper = bounded_lru_cache_wrapper;
 1658|      2|    } else {
 1659|      0|        PyErr_SetString(PyExc_TypeError, "maxsize should be integer or None");
 1660|      0|        return NULL;
 1661|      0|    }
 1662|       |
 1663|      2|    if (!(cachedict = PyDict_New()))
  ------------------
  |  Branch (1663:9): [True: 0, False: 2]
  ------------------
 1664|      0|        return NULL;
 1665|       |
 1666|      2|    obj = (lru_cache_object *)type->tp_alloc(type, 0);
 1667|      2|    if (obj == NULL) {
  ------------------
  |  Branch (1667:9): [True: 0, False: 2]
  ------------------
 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|      2|    obj->root.prev = &obj->root;
 1673|      2|    obj->root.next = &obj->root;
 1674|      2|    obj->wrapper = wrapper;
 1675|      2|    obj->typed = typed;
 1676|      2|    obj->cache = cachedict;
 1677|      2|    obj->func = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1678|      2|    obj->misses = obj->hits = 0;
 1679|      2|    obj->maxsize = maxsize;
 1680|      2|    obj->kwd_mark = Py_NewRef(state->kwd_mark);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1681|      2|    obj->lru_list_elem_type = (PyTypeObject*)Py_NewRef(state->lru_list_elem_type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1682|      2|    obj->cache_info_type = Py_NewRef(cache_info_type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1683|      2|    obj->dict = NULL;
 1684|       |    obj->weakreflist = NULL;
 1685|      2|    return (PyObject *)obj;
 1686|      2|}
_functoolsmodule.c:_functools_traverse:
 1990|    268|{
 1991|    268|    _functools_state *state = get_functools_state(module);
 1992|    268|    Py_VISIT(state->kwd_mark);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 1993|    268|    Py_VISIT(state->placeholder_type);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 1994|    268|    Py_VISIT(state->placeholder);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 1995|    268|    Py_VISIT(state->partial_type);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 1996|    268|    Py_VISIT(state->keyobject_type);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 1997|    268|    Py_VISIT(state->lru_list_elem_type);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 1998|    268|    return 0;
 1999|    268|}

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

_iomodule.c:get_io_state:
  171|    305|{
  172|    305|    void *state = _PyModule_GetState(module);
  173|    305|    assert(state != NULL);
  ------------------
  |  Branch (173:5): [True: 305, False: 0]
  ------------------
  174|    305|    return (_PyIO_State *)state;
  175|    305|}
fileio.c:get_io_state_by_cls:
  179|     27|{
  180|     27|    void *state = _PyType_GetModuleState(cls);
  181|     27|    assert(state != NULL);
  ------------------
  |  Branch (181:5): [True: 27, False: 0]
  ------------------
  182|     27|    return (_PyIO_State *)state;
  183|     27|}
bufferedio.c:find_io_state_by_def:
  187|     36|{
  188|     36|    PyObject *mod = PyType_GetModuleByDef(type, &_PyIO_Module);
  189|     36|    assert(mod != NULL);
  ------------------
  |  Branch (189:5): [True: 36, False: 0]
  ------------------
  190|     36|    return get_io_state(mod);
  191|     36|}
bufferedio.c:get_io_state:
  171|     36|{
  172|     36|    void *state = _PyModule_GetState(module);
  173|     36|    assert(state != NULL);
  ------------------
  |  Branch (173:5): [True: 36, False: 0]
  ------------------
  174|     36|    return (_PyIO_State *)state;
  175|     36|}
textio.c:find_io_state_by_def:
  187|      9|{
  188|      9|    PyObject *mod = PyType_GetModuleByDef(type, &_PyIO_Module);
  189|      9|    assert(mod != NULL);
  ------------------
  |  Branch (189:5): [True: 9, False: 0]
  ------------------
  190|      9|    return get_io_state(mod);
  191|      9|}
textio.c:get_io_state:
  171|      9|{
  172|      9|    void *state = _PyModule_GetState(module);
  173|      9|    assert(state != NULL);
  ------------------
  |  Branch (173:5): [True: 9, False: 0]
  ------------------
  174|      9|    return (_PyIO_State *)state;
  175|      9|}

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

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

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

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

iobase.c:_io__IOBase_flush:
  170|     57|{
  171|     57|    return _io__IOBase_flush_impl(self);
  172|     57|}
iobase.c:_io__IOBase_close:
  190|     27|{
  191|     27|    return _io__IOBase_close_impl(self);
  192|     27|}
iobase.c:_io__IOBase_readable:
  231|      4|{
  232|      4|    return _io__IOBase_readable_impl(self);
  233|      4|}
iobase.c:_io__IOBase_writable:
  251|      5|{
  252|      5|    return _io__IOBase_writable_impl(self);
  253|      5|}
iobase.c:_io__IOBase_readlines:
  357|      3|{
  358|      3|    PyObject *return_value = NULL;
  359|      3|    Py_ssize_t hint = -1;
  360|       |
  361|      3|    if (!_PyArg_CheckPositional("readlines", nargs, 0, 1)) {
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
  362|      0|        goto exit;
  363|      0|    }
  364|      3|    if (nargs < 1) {
  ------------------
  |  Branch (364:9): [True: 3, False: 0]
  ------------------
  365|      3|        goto skip_optional;
  366|      3|    }
  367|      0|    if (!_Py_convert_optional_to_ssize_t(args[0], &hint)) {
  ------------------
  |  Branch (367:9): [True: 0, False: 0]
  ------------------
  368|      0|        goto exit;
  369|      0|    }
  370|      3|skip_optional:
  371|      3|    return_value = _io__IOBase_readlines_impl(self, hint);
  372|       |
  373|      3|exit:
  374|      3|    return return_value;
  375|      3|}

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

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

_PyIOBase_finalize:
  337|     57|{
  338|     57|    int is_zombie;
  339|       |
  340|       |    /* If _PyIOBase_finalize() is called from a destructor, we need to
  341|       |       resurrect the object as calling close() can invoke arbitrary code. */
  342|     57|    is_zombie = (Py_REFCNT(self) == 0);
  ------------------
  |  |  119|     57|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     57|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     57|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  343|     57|    if (is_zombie)
  ------------------
  |  Branch (343:9): [True: 57, False: 0]
  ------------------
  344|     57|        return PyObject_CallFinalizerFromDealloc(self);
  345|      0|    else {
  346|      0|        PyObject_CallFinalizer(self);
  347|      0|        return 0;
  348|      0|    }
  349|     57|}
_PyIOBase_check_seekable:
  415|      3|{
  416|      3|    PyObject *res  = PyObject_CallMethodNoArgs(self, &_Py_ID(seekable));
  ------------------
  |  |  920|      3|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      3|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      3|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  417|      3|    if (res == NULL)
  ------------------
  |  Branch (417:9): [True: 0, False: 3]
  ------------------
  418|      0|        return NULL;
  419|      3|    if (res != 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 (419:9): [True: 0, False: 3]
  ------------------
  420|      0|        Py_CLEAR(res);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  421|      0|        iobase_unsupported(state, "File or stream is not seekable.");
  422|      0|        return NULL;
  423|      0|    }
  424|      3|    if (args == 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 (424:9): [True: 3, False: 0]
  ------------------
  425|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  426|      3|    }
  427|      3|    return res;
  428|      3|}
_PyIOBase_check_readable:
  448|     29|{
  449|     29|    PyObject *res = PyObject_CallMethodNoArgs(self, &_Py_ID(readable));
  ------------------
  |  |  920|     29|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     29|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     29|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  450|     29|    if (res == NULL)
  ------------------
  |  Branch (450:9): [True: 0, False: 29]
  ------------------
  451|      0|        return NULL;
  452|     29|    if (res != Py_True) {
  ------------------
  |  |   26|     29|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (452:9): [True: 0, False: 29]
  ------------------
  453|      0|        Py_CLEAR(res);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  454|      0|        iobase_unsupported(state, "File or stream is not readable.");
  455|      0|        return NULL;
  456|      0|    }
  457|     29|    if (args == Py_True) {
  ------------------
  |  |   26|     29|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (457:9): [True: 29, False: 0]
  ------------------
  458|     29|        Py_DECREF(res);
  ------------------
  |  |  430|     29|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  459|     29|    }
  460|     29|    return res;
  461|     29|}
_PyIOBase_check_writable:
  481|      4|{
  482|      4|    PyObject *res = PyObject_CallMethodNoArgs(self, &_Py_ID(writable));
  ------------------
  |  |  920|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  483|      4|    if (res == NULL)
  ------------------
  |  Branch (483:9): [True: 0, False: 4]
  ------------------
  484|      0|        return NULL;
  485|      4|    if (res != Py_True) {
  ------------------
  |  |   26|      4|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (485:9): [True: 0, False: 4]
  ------------------
  486|      0|        Py_CLEAR(res);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  487|      0|        iobase_unsupported(state, "File or stream is not writable.");
  488|      0|        return NULL;
  489|      0|    }
  490|      4|    if (args == Py_True) {
  ------------------
  |  |   26|      4|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (490:9): [True: 4, False: 0]
  ------------------
  491|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  492|      4|    }
  493|      4|    return res;
  494|      4|}
iobase.c:iobase_check_closed:
  199|     30|{
  200|     30|    PyObject *res;
  201|     30|    int closed;
  202|       |    /* This gets the derived attribute, which is *not* __IOBase_closed
  203|       |       in most cases! */
  204|     30|    closed = PyObject_GetOptionalAttr(self, &_Py_ID(closed), &res);
  ------------------
  |  |  920|     30|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     30|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     30|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  205|     30|    if (closed > 0) {
  ------------------
  |  Branch (205:9): [True: 30, False: 0]
  ------------------
  206|     30|        closed = PyObject_IsTrue(res);
  207|     30|        Py_DECREF(res);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  208|     30|        if (closed > 0) {
  ------------------
  |  Branch (208:13): [True: 0, False: 30]
  ------------------
  209|      0|            PyErr_SetString(PyExc_ValueError, "I/O operation on closed file.");
  210|      0|            return -1;
  211|      0|        }
  212|     30|    }
  213|     30|    return closed;
  214|     30|}
iobase.c:iobase_iter:
  680|      3|{
  681|      3|    if (iobase_check_closed(self))
  ------------------
  |  Branch (681:9): [True: 0, False: 3]
  ------------------
  682|      0|        return NULL;
  683|       |
  684|      3|    return Py_NewRef(self);
  ------------------
  |  |  550|      3|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  685|      3|}
iobase.c:_io__IOBase_flush_impl:
  174|     57|{
  175|       |    /* XXX Should this return the number of bytes written??? */
  176|     57|    int closed = iobase_is_closed(self);
  177|       |
  178|     57|    if (!closed) {
  ------------------
  |  Branch (178:9): [True: 57, False: 0]
  ------------------
  179|     57|        Py_RETURN_NONE;
  ------------------
  |  |  628|     57|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     57|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  180|     57|    }
  181|      0|    if (closed > 0) {
  ------------------
  |  Branch (181:9): [True: 0, False: 0]
  ------------------
  182|      0|        PyErr_SetString(PyExc_ValueError, "I/O operation on closed file.");
  183|      0|    }
  184|       |    return NULL;
  185|     57|}
iobase.c:iobase_is_closed:
   82|     84|{
   83|     84|    return PyObject_HasAttrWithError(self, &_Py_ID(__IOBase_closed));
  ------------------
  |  |  920|     84|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     84|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     84|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   84|     84|}
iobase.c:_io__IOBase_close_impl:
  272|     27|{
  273|     27|    int rc1, rc2, closed = iobase_is_closed(self);
  274|       |
  275|     27|    if (closed < 0) {
  ------------------
  |  Branch (275:9): [True: 0, False: 27]
  ------------------
  276|      0|        return NULL;
  277|      0|    }
  278|     27|    if (closed) {
  ------------------
  |  Branch (278:9): [True: 0, False: 27]
  ------------------
  279|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  280|      0|    }
  281|       |
  282|     27|    rc1 = _PyFile_Flush(self);
  283|     27|    PyObject *exc = PyErr_GetRaisedException();
  284|     27|    rc2 = PyObject_SetAttr(self, &_Py_ID(__IOBase_closed), Py_True);
  ------------------
  |  |  920|     27|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     27|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     27|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  rc2 = PyObject_SetAttr(self, &_Py_ID(__IOBase_closed), Py_True);
  ------------------
  |  |   26|     27|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  285|     27|    _PyErr_ChainExceptions1(exc);
  286|     27|    if (rc1 < 0 || rc2 < 0) {
  ------------------
  |  Branch (286:9): [True: 0, False: 27]
  |  Branch (286:20): [True: 0, False: 27]
  ------------------
  287|      0|        return NULL;
  288|      0|    }
  289|       |
  290|     27|    Py_RETURN_NONE;
  ------------------
  |  |  628|     27|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     27|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  291|     27|}
iobase.c:_io__IOBase_readable_impl:
  441|      4|{
  442|      4|    Py_RETURN_FALSE;
  ------------------
  |  |   45|      4|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      4|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  443|      4|}
iobase.c:_io__IOBase_writable_impl:
  474|      5|{
  475|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  476|      5|}
iobase.c:iobase_enter:
  500|     27|{
  501|     27|    if (iobase_check_closed(self))
  ------------------
  |  Branch (501:9): [True: 0, False: 27]
  ------------------
  502|      0|        return NULL;
  503|       |
  504|     27|    return Py_NewRef(self);
  ------------------
  |  |  550|     27|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  505|     27|}
iobase.c:iobase_exit:
  509|     27|{
  510|     27|    return PyObject_CallMethodNoArgs(self, &_Py_ID(close));
  ------------------
  |  |  920|     27|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     27|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     27|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|     27|}
iobase.c:_io__IOBase_readlines_impl:
  719|      3|{
  720|      3|    Py_ssize_t length = 0;
  721|      3|    PyObject *result, *it = NULL;
  722|       |
  723|      3|    result = PyList_New(0);
  724|      3|    if (result == NULL)
  ------------------
  |  Branch (724:9): [True: 0, False: 3]
  ------------------
  725|      0|        return NULL;
  726|       |
  727|      3|    if (hint <= 0) {
  ------------------
  |  Branch (727:9): [True: 3, False: 0]
  ------------------
  728|       |        /* XXX special-casing this made sense in the Python version in order
  729|       |           to remove the bytecode interpretation overhead, but it could
  730|       |           probably be removed here. */
  731|      3|        PyObject *ret = PyObject_CallMethodObjArgs(result, &_Py_ID(extend),
  ------------------
  |  |  920|      3|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      3|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      3|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  732|      3|                                                   self, NULL);
  733|      3|        if (ret == NULL) {
  ------------------
  |  Branch (733:13): [True: 0, False: 3]
  ------------------
  734|      0|            goto error;
  735|      0|        }
  736|      3|        Py_DECREF(ret);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  737|      3|        return result;
  738|      3|    }
  739|       |
  740|      0|    it = PyObject_GetIter(self);
  741|      0|    if (it == NULL) {
  ------------------
  |  Branch (741:9): [True: 0, False: 0]
  ------------------
  742|      0|        goto error;
  743|      0|    }
  744|       |
  745|      0|    while (1) {
  ------------------
  |  Branch (745:12): [True: 0, Folded]
  ------------------
  746|      0|        Py_ssize_t line_length;
  747|      0|        PyObject *line = PyIter_Next(it);
  748|      0|        if (line == NULL) {
  ------------------
  |  Branch (748:13): [True: 0, False: 0]
  ------------------
  749|      0|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (749:17): [True: 0, False: 0]
  ------------------
  750|      0|                goto error;
  751|      0|            }
  752|      0|            else
  753|      0|                break; /* StopIteration raised */
  754|      0|        }
  755|       |
  756|      0|        if (PyList_Append(result, line) < 0) {
  ------------------
  |  Branch (756:13): [True: 0, False: 0]
  ------------------
  757|      0|            Py_DECREF(line);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  758|      0|            goto error;
  759|      0|        }
  760|      0|        line_length = PyObject_Size(line);
  761|      0|        Py_DECREF(line);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  762|      0|        if (line_length < 0) {
  ------------------
  |  Branch (762:13): [True: 0, False: 0]
  ------------------
  763|      0|            goto error;
  764|      0|        }
  765|      0|        if (line_length > hint - length)
  ------------------
  |  Branch (765:13): [True: 0, False: 0]
  ------------------
  766|      0|            break;
  767|      0|        length += line_length;
  768|      0|    }
  769|       |
  770|      0|    Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  771|      0|    return result;
  772|       |
  773|      0| error:
  774|      0|    Py_XDECREF(it);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  775|      0|    Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  776|       |    return NULL;
  777|      0|}
iobase.c:iobase_finalize:
  297|     57|{
  298|     57|    PyObject *res;
  299|     57|    int closed;
  300|       |
  301|       |    /* Save the current exception, if any. */
  302|     57|    PyObject *exc = PyErr_GetRaisedException();
  303|       |
  304|       |    /* If `closed` doesn't exist or can't be evaluated as bool, then the
  305|       |       object is probably in an unusable state, so ignore. */
  306|     57|    if (PyObject_GetOptionalAttr(self, &_Py_ID(closed), &res) <= 0) {
  ------------------
  |  |  920|     57|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     57|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     57|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (306:9): [True: 0, False: 57]
  ------------------
  307|      0|        PyErr_Clear();
  308|      0|        closed = -1;
  309|      0|    }
  310|     57|    else {
  311|     57|        closed = PyObject_IsTrue(res);
  312|     57|        Py_DECREF(res);
  ------------------
  |  |  430|     57|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     57|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     57|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  313|     57|        if (closed == -1)
  ------------------
  |  Branch (313:13): [True: 0, False: 57]
  ------------------
  314|      0|            PyErr_Clear();
  315|     57|    }
  316|     57|    if (closed == 0) {
  ------------------
  |  Branch (316:9): [True: 0, False: 57]
  ------------------
  317|       |        /* Signal close() that it was called as part of the object
  318|       |           finalization process. */
  319|      0|        if (PyObject_SetAttr(self, &_Py_ID(_finalizing), Py_True))
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (PyObject_SetAttr(self, &_Py_ID(_finalizing), 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 (319:13): [True: 0, False: 0]
  ------------------
  320|      0|            PyErr_Clear();
  321|      0|        res = PyObject_CallMethodNoArgs((PyObject *)self, &_Py_ID(close));
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  322|      0|        if (res == NULL) {
  ------------------
  |  Branch (322:13): [True: 0, False: 0]
  ------------------
  323|      0|            PyErr_FormatUnraisable("Exception ignored "
  324|      0|                                   "while finalizing file %R", self);
  325|      0|        }
  326|      0|        else {
  327|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  328|      0|        }
  329|      0|    }
  330|       |
  331|       |    /* Restore the saved exception. */
  332|     57|    PyErr_SetRaisedException(exc);
  333|     57|}

_PyIncrementalNewlineDecoder_decode:
  330|     14|{
  331|     14|    PyObject *output;
  332|     14|    Py_ssize_t output_len;
  333|     14|    nldecoder_object *self = nldecoder_object_CAST(myself);
  ------------------
  |  |  229|     14|#define nldecoder_object_CAST(op)   ((nldecoder_object *)(op))
  ------------------
  334|       |
  335|     14|    CHECK_INITIALIZED_DECODER(self);
  ------------------
  |  |  316|     14|    if (self->errors == NULL) { \
  |  |  ------------------
  |  |  |  Branch (316:9): [True: 0, False: 14]
  |  |  ------------------
  |  |  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|     14|    if (self->decoder != Py_None) {
  ------------------
  |  |  616|     14|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (338:9): [True: 14, False: 0]
  ------------------
  339|     14|        output = PyObject_CallMethodObjArgs(self->decoder,
  340|     14|            &_Py_ID(decode), input, final ? Py_True : Py_False, NULL);
  ------------------
  |  |  920|     14|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     14|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     14|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          &_Py_ID(decode), input, final ? Py_True : Py_False, NULL);
  ------------------
  |  |   26|     14|#  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          &_Py_ID(decode), input, final ? Py_True : Py_False, NULL);
  ------------------
  |  |   25|     14|#  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (340:37): [True: 3, False: 11]
  ------------------
  341|     14|    }
  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|     14|    if (check_decoded(output) < 0)
  ------------------
  |  Branch (346:9): [True: 0, False: 14]
  ------------------
  347|      0|        return NULL;
  348|       |
  349|     14|    output_len = PyUnicode_GET_LENGTH(output);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  350|     14|    if (self->pendingcr && (final || output_len > 0)) {
  ------------------
  |  Branch (350:9): [True: 0, False: 14]
  |  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))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|     14|    if (!final) {
  ------------------
  |  Branch (372:9): [True: 11, False: 3]
  ------------------
  373|     11|        if (output_len > 0
  ------------------
  |  Branch (373:13): [True: 11, False: 0]
  ------------------
  374|     11|            && PyUnicode_READ_CHAR(output, output_len - 1) == '\r')
  ------------------
  |  |  381|     11|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (374:16): [True: 0, False: 11]
  ------------------
  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|     11|    }
  383|       |
  384|       |    /* Record which newlines are read and do newline translation if desired,
  385|       |       all in one pass. */
  386|     14|    {
  387|     14|        const void *in_str;
  388|     14|        Py_ssize_t len;
  389|     14|        int seennl = self->seennl;
  390|     14|        int only_lf = 0;
  391|     14|        int kind;
  392|       |
  393|     14|        in_str = PyUnicode_DATA(output);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  394|     14|        len = PyUnicode_GET_LENGTH(output);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  395|     14|        kind = PyUnicode_KIND(output);
  ------------------
  |  |  258|     14|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|     28|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 14, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  396|       |
  397|     14|        if (len == 0)
  ------------------
  |  Branch (397:13): [True: 3, False: 11]
  ------------------
  398|      3|            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|     11|        if (seennl == SEEN_LF || seennl == 0) {
  ------------------
  |  |  323|     22|#define SEEN_LF   2
  ------------------
  |  Branch (403:13): [True: 8, False: 3]
  |  Branch (403:34): [True: 3, False: 0]
  ------------------
  404|     11|            only_lf = (memchr(in_str, '\r', kind * len) == NULL);
  405|     11|        }
  406|       |
  407|     11|        if (only_lf) {
  ------------------
  |  Branch (407:13): [True: 11, 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|     11|            if (seennl == 0 &&
  ------------------
  |  Branch (411:17): [True: 3, False: 8]
  ------------------
  412|      3|                memchr(in_str, '\n', kind * len) != NULL) {
  ------------------
  |  Branch (412:17): [True: 3, False: 0]
  ------------------
  413|      3|                if (kind == PyUnicode_1BYTE_KIND)
  ------------------
  |  Branch (413:21): [True: 3, False: 0]
  ------------------
  414|      3|                    seennl |= SEEN_LF;
  ------------------
  |  |  323|      3|#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|      3|            }
  432|       |            /* Finished: we have scanned for newlines, and none of them
  433|       |               need translating */
  434|     11|        }
  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))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|     11|        self->seennl |= seennl;
  512|     11|    }
  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|     11|}
_PyIO_find_line_ending:
 2198|  2.08k|{
 2199|  2.08k|    Py_ssize_t len = (end - start)/kind;
 2200|       |
 2201|  2.08k|    if (translated) {
  ------------------
  |  Branch (2201:9): [True: 2.08k, False: 0]
  ------------------
 2202|       |        /* Newlines are already translated, only search for \n */
 2203|  2.08k|        const char *pos = find_control_char(kind, start, end, '\n');
 2204|  2.08k|        if (pos != NULL)
  ------------------
  |  Branch (2204:13): [True: 2.07k, False: 11]
  ------------------
 2205|  2.07k|            return (pos - start)/kind + 1;
 2206|     11|        else {
 2207|     11|            *consumed = len;
 2208|     11|            return -1;
 2209|     11|        }
 2210|  2.08k|    }
 2211|      0|    else if (universal) {
  ------------------
  |  Branch (2211:14): [True: 0, False: 0]
  ------------------
 2212|       |        /* Universal newline search. Find any of \r, \r\n, \n
 2213|       |         * The decoder ensures that \r\n are not split in two pieces
 2214|       |         */
 2215|      0|        const char *s = start;
 2216|      0|        for (;;) {
 2217|      0|            Py_UCS4 ch;
 2218|       |            /* Fast path for non-control chars. The loop always ends
 2219|       |               since the Unicode string is NUL-terminated. */
 2220|      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 (2220:20): [True: 0, False: 0]
  ------------------
 2221|      0|                s += kind;
 2222|      0|            if (s >= end) {
  ------------------
  |  Branch (2222:17): [True: 0, False: 0]
  ------------------
 2223|      0|                *consumed = len;
 2224|      0|                return -1;
 2225|      0|            }
 2226|      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))
  ------------------
 2227|      0|            s += kind;
 2228|      0|            if (ch == '\n')
  ------------------
  |  Branch (2228:17): [True: 0, False: 0]
  ------------------
 2229|      0|                return (s - start)/kind;
 2230|      0|            if (ch == '\r') {
  ------------------
  |  Branch (2230:17): [True: 0, False: 0]
  ------------------
 2231|      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 (2231:21): [True: 0, False: 0]
  ------------------
 2232|      0|                    return (s - start)/kind + 1;
 2233|      0|                else
 2234|      0|                    return (s - start)/kind;
 2235|      0|            }
 2236|      0|        }
 2237|      0|    }
 2238|      0|    else {
 2239|       |        /* Non-universal mode. */
 2240|      0|        Py_ssize_t readnl_len = PyUnicode_GET_LENGTH(readnl);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2241|      0|        const Py_UCS1 *nl = PyUnicode_1BYTE_DATA(readnl);
  ------------------
  |  |  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))
  |  |  ------------------
  ------------------
 2242|       |        /* Assume that readnl is an ASCII character. */
 2243|      0|        assert(PyUnicode_KIND(readnl) == PyUnicode_1BYTE_KIND);
  ------------------
  |  Branch (2243:9): [True: 0, False: 0]
  |  Branch (2243:9): [True: 0, False: 0]
  ------------------
 2244|      0|        if (readnl_len == 1) {
  ------------------
  |  Branch (2244:13): [True: 0, False: 0]
  ------------------
 2245|      0|            const char *pos = find_control_char(kind, start, end, nl[0]);
 2246|      0|            if (pos != NULL)
  ------------------
  |  Branch (2246:17): [True: 0, False: 0]
  ------------------
 2247|      0|                return (pos - start)/kind + 1;
 2248|      0|            *consumed = len;
 2249|      0|            return -1;
 2250|      0|        }
 2251|      0|        else {
 2252|      0|            const char *s = start;
 2253|      0|            const char *e = end - (readnl_len - 1)*kind;
 2254|      0|            const char *pos;
 2255|      0|            if (e < s)
  ------------------
  |  Branch (2255:17): [True: 0, False: 0]
  ------------------
 2256|      0|                e = s;
 2257|      0|            while (s < e) {
  ------------------
  |  Branch (2257:20): [True: 0, False: 0]
  ------------------
 2258|      0|                Py_ssize_t i;
 2259|      0|                const char *pos = find_control_char(kind, s, end, nl[0]);
 2260|      0|                if (pos == NULL || pos >= e)
  ------------------
  |  Branch (2260:21): [True: 0, False: 0]
  |  Branch (2260:36): [True: 0, False: 0]
  ------------------
 2261|      0|                    break;
 2262|      0|                for (i = 1; i < readnl_len; i++) {
  ------------------
  |  Branch (2262:29): [True: 0, False: 0]
  ------------------
 2263|      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 (2263:25): [True: 0, False: 0]
  ------------------
 2264|      0|                        break;
 2265|      0|                }
 2266|      0|                if (i == readnl_len)
  ------------------
  |  Branch (2266:21): [True: 0, False: 0]
  ------------------
 2267|      0|                    return (pos - start)/kind + readnl_len;
 2268|      0|                s = pos + kind;
 2269|      0|            }
 2270|      0|            pos = find_control_char(kind, e, end, nl[0]);
 2271|      0|            if (pos == NULL)
  ------------------
  |  Branch (2271:17): [True: 0, False: 0]
  ------------------
 2272|      0|                *consumed = len;
 2273|      0|            else
 2274|      0|                *consumed = (pos - start)/kind;
 2275|      0|            return -1;
 2276|      0|        }
 2277|      0|    }
 2278|  2.08k|}
textio.c:check_decoded:
  302|     28|{
  303|     28|    if (decoded == NULL)
  ------------------
  |  Branch (303:9): [True: 0, False: 28]
  ------------------
  304|      0|        return -1;
  305|     28|    if (!PyUnicode_Check(decoded)) {
  ------------------
  |  |  103|     28|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     28|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (305:9): [True: 0, False: 28]
  ------------------
  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|     28|    return 0;
  313|     28|}
textio.c:find_control_char:
 2178|  2.08k|{
 2179|  2.08k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (2179:9): [True: 2.08k, False: 0]
  ------------------
 2180|  2.08k|        assert(ch < 256);
  ------------------
  |  Branch (2180:9): [True: 2.08k, False: 0]
  ------------------
 2181|  2.08k|        return (char *) memchr((const void *) s, (char) ch, end - s);
 2182|  2.08k|    }
 2183|      0|    for (;;) {
 2184|      0|        while (PyUnicode_READ(kind, s, 0) > ch)
  ------------------
  |  |  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 (2184:16): [True: 0, False: 0]
  ------------------
 2185|      0|            s += kind;
 2186|      0|        if (PyUnicode_READ(kind, s, 0) == ch)
  ------------------
  |  |  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 (2186:13): [True: 0, False: 0]
  ------------------
 2187|      0|            return s;
 2188|      0|        if (s == end)
  ------------------
  |  Branch (2188:13): [True: 0, False: 0]
  ------------------
 2189|      0|            return NULL;
 2190|      0|        s += kind;
 2191|      0|    }
 2192|      0|}
textio.c:incrementalnewlinedecoder_dealloc:
  291|      3|{
  292|      3|    nldecoder_object *self = nldecoder_object_CAST(op);
  ------------------
  |  |  229|      3|#define nldecoder_object_CAST(op)   ((nldecoder_object *)(op))
  ------------------
  293|      3|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  294|      3|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  509|      3|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  295|      3|    (void)incrementalnewlinedecoder_clear(op);
  296|      3|    tp->tp_free(self);
  297|      3|    Py_DECREF(tp);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  298|      3|}
textio.c:incrementalnewlinedecoder_clear:
  282|      3|{
  283|      3|    nldecoder_object *self = nldecoder_object_CAST(op);
  ------------------
  |  |  229|      3|#define nldecoder_object_CAST(op)   ((nldecoder_object *)(op))
  ------------------
  284|      3|    Py_CLEAR(self->decoder);
  ------------------
  |  |  484|      3|    do { \
  |  |  485|      3|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      3|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      3|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 3, False: 0]
  |  |  ------------------
  |  |  488|      3|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      3|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      3|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      3|        } \
  |  |  491|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
  285|       |    Py_CLEAR(self->errors);
  ------------------
  |  |  484|      3|    do { \
  |  |  485|      3|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      3|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      3|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 3, False: 0]
  |  |  ------------------
  |  |  488|      3|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      3|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      3|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      3|        } \
  |  |  491|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
  286|      3|    return 0;
  287|      3|}
textio.c:_io_IncrementalNewlineDecoder___init___impl:
  252|      3|{
  253|       |
  254|      3|    if (errors == NULL) {
  ------------------
  |  Branch (254:9): [True: 3, False: 0]
  ------------------
  255|      3|        errors = &_Py_ID(strict);
  ------------------
  |  |  920|      3|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      3|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      3|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  256|      3|    }
  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|      3|    Py_XSETREF(self->errors, errors);
  ------------------
  |  |  374|      3|    do { \
  |  |  375|      3|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|      3|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|      3|        *_tmp_dst_ptr = (src); \
  |  |  378|      3|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|      3|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
  262|      3|    Py_XSETREF(self->decoder, Py_NewRef(decoder));
  ------------------
  |  |  374|      3|    do { \
  |  |  375|      3|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|      3|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|      3|        *_tmp_dst_ptr = (src); \
  |  |  378|      3|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|      3|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
  263|      3|    self->translate = translate ? 1 : 0;
  ------------------
  |  Branch (263:23): [True: 3, False: 0]
  ------------------
  264|      3|    self->seennl = 0;
  265|      3|    self->pendingcr = 0;
  266|       |
  267|      3|    return 0;
  268|      3|}
textio.c:textiowrapper_dealloc:
 1533|      3|{
 1534|      3|    textio *self = textio_CAST(op);
  ------------------
  |  |  732|      3|#define textio_CAST(op) ((textio *)(op))
  ------------------
 1535|      3|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1536|      3|    self->finalizing = 1;
 1537|      3|    if (_PyIOBase_finalize(op) < 0)
  ------------------
  |  Branch (1537:9): [True: 0, False: 3]
  ------------------
 1538|      0|        return;
 1539|      3|    self->ok = 0;
 1540|      3|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  509|      3|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1541|      3|    FT_CLEAR_WEAKREFS(op, self->weakreflist);
  ------------------
  |  |   47|      3|    do {                                            \
  |  |   48|      3|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|      3|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 3]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
  |  Branch (1541:5): [True: 3, False: 0]
  ------------------
 1542|      3|    (void)textiowrapper_clear(op);
 1543|      3|    tp->tp_free(self);
 1544|      3|    Py_DECREF(tp);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1545|      3|}
textio.c:textiowrapper_traverse:
 1549|    804|{
 1550|    804|    textio *self = textio_CAST(op);
  ------------------
  |  |  732|    804|#define textio_CAST(op) ((textio *)(op))
  ------------------
 1551|    804|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|    804|    do {                                                                \
  |  |  195|    804|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 804, False: 0]
  |  |  ------------------
  |  |  196|    804|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    804|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    804|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    804|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 804]
  |  |  ------------------
  |  |  198|    804|                return vret;                                            \
  |  |  199|    804|        }                                                               \
  |  |  200|    804|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 804]
  |  |  ------------------
  ------------------
 1552|    804|    Py_VISIT(self->buffer);
  ------------------
  |  |  194|    804|    do {                                                                \
  |  |  195|    804|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 804, False: 0]
  |  |  ------------------
  |  |  196|    804|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    804|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    804|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    804|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 804]
  |  |  ------------------
  |  |  198|    804|                return vret;                                            \
  |  |  199|    804|        }                                                               \
  |  |  200|    804|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 804]
  |  |  ------------------
  ------------------
 1553|    804|    Py_VISIT(self->encoding);
  ------------------
  |  |  194|    804|    do {                                                                \
  |  |  195|    804|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 804, False: 0]
  |  |  ------------------
  |  |  196|    804|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    804|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    804|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    804|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 804]
  |  |  ------------------
  |  |  198|    804|                return vret;                                            \
  |  |  199|    804|        }                                                               \
  |  |  200|    804|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 804]
  |  |  ------------------
  ------------------
 1554|    804|    Py_VISIT(self->encoder);
  ------------------
  |  |  194|    804|    do {                                                                \
  |  |  195|    804|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 536, False: 268]
  |  |  ------------------
  |  |  196|    536|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    536|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    536|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    536|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 536]
  |  |  ------------------
  |  |  198|    536|                return vret;                                            \
  |  |  199|    536|        }                                                               \
  |  |  200|    804|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 804]
  |  |  ------------------
  ------------------
 1555|    804|    Py_VISIT(self->decoder);
  ------------------
  |  |  194|    804|    do {                                                                \
  |  |  195|    804|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 536]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    804|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 804]
  |  |  ------------------
  ------------------
 1556|    804|    Py_VISIT(self->readnl);
  ------------------
  |  |  194|    804|    do {                                                                \
  |  |  195|    804|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 804, False: 0]
  |  |  ------------------
  |  |  196|    804|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    804|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    804|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    804|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 804]
  |  |  ------------------
  |  |  198|    804|                return vret;                                            \
  |  |  199|    804|        }                                                               \
  |  |  200|    804|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 804]
  |  |  ------------------
  ------------------
 1557|    804|    Py_VISIT(self->decoded_chars);
  ------------------
  |  |  194|    804|    do {                                                                \
  |  |  195|    804|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 804]
  |  |  ------------------
  |  |  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|    804|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 804]
  |  |  ------------------
  ------------------
 1558|    804|    Py_VISIT(self->pending_bytes);
  ------------------
  |  |  194|    804|    do {                                                                \
  |  |  195|    804|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 804]
  |  |  ------------------
  |  |  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|    804|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 804]
  |  |  ------------------
  ------------------
 1559|    804|    Py_VISIT(self->snapshot);
  ------------------
  |  |  194|    804|    do {                                                                \
  |  |  195|    804|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 804]
  |  |  ------------------
  |  |  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|    804|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 804]
  |  |  ------------------
  ------------------
 1560|    804|    Py_VISIT(self->errors);
  ------------------
  |  |  194|    804|    do {                                                                \
  |  |  195|    804|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 804, False: 0]
  |  |  ------------------
  |  |  196|    804|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    804|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    804|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    804|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 804]
  |  |  ------------------
  |  |  198|    804|                return vret;                                            \
  |  |  199|    804|        }                                                               \
  |  |  200|    804|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 804]
  |  |  ------------------
  ------------------
 1561|    804|    Py_VISIT(self->raw);
  ------------------
  |  |  194|    804|    do {                                                                \
  |  |  195|    804|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 804, False: 0]
  |  |  ------------------
  |  |  196|    804|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    804|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    804|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    804|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 804]
  |  |  ------------------
  |  |  198|    804|                return vret;                                            \
  |  |  199|    804|        }                                                               \
  |  |  200|    804|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 804]
  |  |  ------------------
  ------------------
 1562|       |
 1563|    804|    Py_VISIT(self->dict);
  ------------------
  |  |  194|    804|    do {                                                                \
  |  |  195|    804|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 804, False: 0]
  |  |  ------------------
  |  |  196|    804|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    804|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    804|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    804|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 804]
  |  |  ------------------
  |  |  198|    804|                return vret;                                            \
  |  |  199|    804|        }                                                               \
  |  |  200|    804|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 804]
  |  |  ------------------
  ------------------
 1564|    804|    return 0;
 1565|    804|}
textio.c:textiowrapper_clear:
 1513|      3|{
 1514|      3|    textio *self = textio_CAST(op);
  ------------------
  |  |  732|      3|#define textio_CAST(op) ((textio *)(op))
  ------------------
 1515|      3|    self->ok = 0;
 1516|      3|    Py_CLEAR(self->buffer);
  ------------------
  |  |  484|      3|    do { \
  |  |  485|      3|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      3|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      3|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 3, False: 0]
  |  |  ------------------
  |  |  488|      3|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      3|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      3|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      3|        } \
  |  |  491|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
 1517|      3|    Py_CLEAR(self->encoding);
  ------------------
  |  |  484|      3|    do { \
  |  |  485|      3|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      3|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      3|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 3, False: 0]
  |  |  ------------------
  |  |  488|      3|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      3|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      3|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      3|        } \
  |  |  491|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
 1518|      3|    Py_CLEAR(self->encoder);
  ------------------
  |  |  484|      3|    do { \
  |  |  485|      3|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      3|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      3|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 3]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_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|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
 1519|      3|    Py_CLEAR(self->decoder);
  ------------------
  |  |  484|      3|    do { \
  |  |  485|      3|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      3|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      3|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 3, False: 0]
  |  |  ------------------
  |  |  488|      3|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      3|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      3|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      3|        } \
  |  |  491|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
 1520|      3|    Py_CLEAR(self->readnl);
  ------------------
  |  |  484|      3|    do { \
  |  |  485|      3|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      3|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      3|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 3]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_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|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
 1521|      3|    Py_CLEAR(self->decoded_chars);
  ------------------
  |  |  484|      3|    do { \
  |  |  485|      3|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      3|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      3|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 3]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_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|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
 1522|      3|    Py_CLEAR(self->pending_bytes);
  ------------------
  |  |  484|      3|    do { \
  |  |  485|      3|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      3|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      3|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 3]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_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|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
 1523|      3|    Py_CLEAR(self->snapshot);
  ------------------
  |  |  484|      3|    do { \
  |  |  485|      3|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      3|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      3|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 3]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_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|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
 1524|      3|    Py_CLEAR(self->errors);
  ------------------
  |  |  484|      3|    do { \
  |  |  485|      3|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      3|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      3|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 3, False: 0]
  |  |  ------------------
  |  |  488|      3|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      3|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      3|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      3|        } \
  |  |  491|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
 1525|      3|    Py_CLEAR(self->raw);
  ------------------
  |  |  484|      3|    do { \
  |  |  485|      3|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      3|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      3|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 3, False: 0]
  |  |  ------------------
  |  |  488|      3|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      3|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      3|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      3|        } \
  |  |  491|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
 1526|       |
 1527|       |    Py_CLEAR(self->dict);
  ------------------
  |  |  484|      3|    do { \
  |  |  485|      3|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      3|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      3|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 3, False: 0]
  |  |  ------------------
  |  |  488|      3|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      3|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      3|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      3|        } \
  |  |  491|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
 1528|      3|    return 0;
 1529|      3|}
textio.c:textiowrapper_iternext:
 3307|  2.08k|{
 3308|  2.08k|    PyObject *result;
 3309|  2.08k|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  2.08k|    {
  ------------------
 3310|  2.08k|    result = textiowrapper_iternext_lock_held(op);
 3311|  2.08k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  2.08k|    }
  ------------------
 3312|  2.08k|    return result;
 3313|  2.08k|}
textio.c:textiowrapper_iternext_lock_held:
 3268|  2.08k|{
 3269|  2.08k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(op);
 3270|  2.08k|    PyObject *line;
 3271|  2.08k|    textio *self = textio_CAST(op);
  ------------------
  |  |  732|  2.08k|#define textio_CAST(op) ((textio *)(op))
  ------------------
 3272|       |
 3273|  2.08k|    CHECK_ATTACHED(self);
  ------------------
  |  | 1605|  2.08k|    CHECK_INITIALIZED(self); \
  |  |  ------------------
  |  |  |  | 1598|  2.08k|    if (self->ok <= 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1598:9): [True: 0, False: 2.08k]
  |  |  |  |  ------------------
  |  |  |  | 1599|      0|        PyErr_SetString(PyExc_ValueError, \
  |  |  |  | 1600|      0|            "I/O operation on uninitialized object"); \
  |  |  |  | 1601|      0|        return NULL; \
  |  |  |  | 1602|      0|    }
  |  |  ------------------
  |  | 1606|  2.08k|    if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (1606:9): [True: 0, False: 2.08k]
  |  |  ------------------
  |  | 1607|      0|        PyErr_SetString(PyExc_ValueError, \
  |  | 1608|      0|             "underlying buffer has been detached"); \
  |  | 1609|      0|        return NULL; \
  |  | 1610|      0|    }
  ------------------
 3274|       |
 3275|  2.08k|    self->telling = 0;
 3276|  2.08k|    if (Py_IS_TYPE(self, self->state->PyTextIOWrapper_Type)) {
  ------------------
  |  |  215|  2.08k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  2.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 2.08k, False: 0]
  |  |  ------------------
  ------------------
 3277|       |        /* Skip method call overhead for speed */
 3278|  2.08k|        line = _textiowrapper_readline(self, -1);
 3279|  2.08k|    }
 3280|      0|    else {
 3281|      0|        line = PyObject_CallMethodNoArgs(op, &_Py_ID(readline));
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3282|      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 (3282:13): [True: 0, False: 0]
  |  Branch (3282:21): [True: 0, False: 0]
  ------------------
 3283|      0|            PyErr_Format(PyExc_OSError,
 3284|      0|                         "readline() should have returned a str object, "
 3285|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3286|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3287|      0|            return NULL;
 3288|      0|        }
 3289|      0|    }
 3290|       |
 3291|  2.08k|    if (line == NULL)
  ------------------
  |  Branch (3291:9): [True: 0, False: 2.08k]
  ------------------
 3292|      0|        return NULL;
 3293|       |
 3294|  2.08k|    if (PyUnicode_GET_LENGTH(line) == 0) {
  ------------------
  |  |  299|  2.08k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3294:9): [True: 3, False: 2.07k]
  ------------------
 3295|       |        /* Reached EOF or would have blocked */
 3296|      3|        Py_DECREF(line);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3297|      3|        Py_CLEAR(self->snapshot);
  ------------------
  |  |  484|      3|    do { \
  |  |  485|      3|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      3|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      3|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 3]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_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|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
 3298|      3|        self->telling = self->seekable;
 3299|      3|        return NULL;
 3300|      3|    }
 3301|       |
 3302|  2.07k|    return line;
 3303|  2.08k|}
textio.c:_textiowrapper_readline:
 2282|  2.08k|{
 2283|  2.08k|    PyObject *line = NULL, *chunks = NULL, *remaining = NULL;
 2284|  2.08k|    Py_ssize_t start, endpos, chunked, offset_to_buffer;
 2285|  2.08k|    int res;
 2286|       |
 2287|  2.08k|    CHECK_CLOSED(self);
  ------------------
  |  | 1572|  2.08k|    do { \
  |  | 1573|  2.08k|        int r; \
  |  | 1574|  2.08k|        PyObject *_res; \
  |  | 1575|  2.08k|        if (Py_IS_TYPE(self, self->state->PyTextIOWrapper_Type)) { \
  |  |  ------------------
  |  |  |  |  215|  2.08k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2.08k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1576|  2.08k|            if (self->raw != NULL) \
  |  |  ------------------
  |  |  |  Branch (1576:17): [True: 2.08k, False: 0]
  |  |  ------------------
  |  | 1577|  2.08k|                r = _PyFileIO_closed(self->raw); \
  |  | 1578|  2.08k|            else { \
  |  | 1579|      0|                _res = _io_TextIOWrapper_closed_get_impl(self); \
  |  | 1580|      0|                if (_res == NULL) \
  |  |  ------------------
  |  |  |  Branch (1580:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1581|      0|                    return NULL; \
  |  | 1582|      0|                r = PyObject_IsTrue(_res); \
  |  | 1583|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1584|      0|                if (r < 0) \
  |  |  ------------------
  |  |  |  Branch (1584:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1585|      0|                    return NULL; \
  |  | 1586|      0|            } \
  |  | 1587|  2.08k|            if (r > 0) { \
  |  |  ------------------
  |  |  |  Branch (1587:17): [True: 0, False: 2.08k]
  |  |  ------------------
  |  | 1588|      0|                PyErr_SetString(PyExc_ValueError, \
  |  | 1589|      0|                                "I/O operation on closed file."); \
  |  | 1590|      0|                return NULL; \
  |  | 1591|      0|            } \
  |  | 1592|  2.08k|        } \
  |  | 1593|  2.08k|        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 (1593:18): [True: 0, False: 0]
  |  |  ------------------
  |  | 1594|      0|            return NULL; \
  |  | 1595|  2.08k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1595:14): [Folded, False: 2.08k]
  |  |  ------------------
  ------------------
 2288|       |
 2289|  2.08k|    if (_textiowrapper_writeflush(self) < 0)
  ------------------
  |  Branch (2289:9): [True: 0, False: 2.08k]
  ------------------
 2290|      0|        return NULL;
 2291|       |
 2292|  2.08k|    chunked = 0;
 2293|       |
 2294|  2.09k|    while (1) {
  ------------------
  |  Branch (2294:12): [True: 2.09k, Folded]
  ------------------
 2295|  2.09k|        const char *ptr;
 2296|  2.09k|        Py_ssize_t line_len;
 2297|  2.09k|        int kind;
 2298|  2.09k|        Py_ssize_t consumed = 0;
 2299|       |
 2300|       |        /* First, get some data if necessary */
 2301|  2.09k|        res = 1;
 2302|  2.10k|        while (!self->decoded_chars ||
  ------------------
  |  Branch (2302:16): [True: 14, False: 2.08k]
  ------------------
 2303|  2.08k|               !PyUnicode_GET_LENGTH(self->decoded_chars)) {
  ------------------
  |  |  299|  2.08k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2303:16): [True: 0, False: 2.08k]
  ------------------
 2304|     14|            res = textiowrapper_read_chunk(self, 0);
 2305|     14|            if (res < 0) {
  ------------------
  |  Branch (2305:17): [True: 0, False: 14]
  ------------------
 2306|       |                /* NOTE: PyErr_SetFromErrno() calls PyErr_CheckSignals()
 2307|       |                   when EINTR occurs so we needn't do it ourselves. */
 2308|      0|                if (_PyIO_trap_eintr()) {
  ------------------
  |  Branch (2308:21): [True: 0, False: 0]
  ------------------
 2309|      0|                    continue;
 2310|      0|                }
 2311|      0|                goto error;
 2312|      0|            }
 2313|     14|            if (res == 0)
  ------------------
  |  Branch (2313:17): [True: 3, False: 11]
  ------------------
 2314|      3|                break;
 2315|     14|        }
 2316|  2.09k|        if (res == 0) {
  ------------------
  |  Branch (2316:13): [True: 3, False: 2.08k]
  ------------------
 2317|       |            /* end of file */
 2318|      3|            textiowrapper_set_decoded_chars(self, NULL);
 2319|      3|            Py_CLEAR(self->snapshot);
  ------------------
  |  |  484|      3|    do { \
  |  |  485|      3|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      3|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      3|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 3]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_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|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
 2320|      3|            start = endpos = offset_to_buffer = 0;
 2321|      3|            break;
 2322|      3|        }
 2323|       |
 2324|  2.08k|        if (remaining == NULL) {
  ------------------
  |  Branch (2324:13): [True: 2.08k, False: 0]
  ------------------
 2325|  2.08k|            line = Py_NewRef(self->decoded_chars);
  ------------------
  |  |  550|  2.08k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2326|  2.08k|            start = self->decoded_chars_used;
 2327|  2.08k|            offset_to_buffer = 0;
 2328|  2.08k|        }
 2329|      0|        else {
 2330|      0|            assert(self->decoded_chars_used == 0);
  ------------------
  |  Branch (2330:13): [True: 0, False: 0]
  ------------------
 2331|      0|            line = PyUnicode_Concat(remaining, self->decoded_chars);
 2332|      0|            start = 0;
 2333|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2334|      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]
  |  |  ------------------
  ------------------
 2335|      0|            if (line == NULL)
  ------------------
  |  Branch (2335:17): [True: 0, False: 0]
  ------------------
 2336|      0|                goto error;
 2337|      0|        }
 2338|       |
 2339|  2.08k|        ptr = PyUnicode_DATA(line);
  ------------------
  |  |  284|  2.08k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2340|  2.08k|        line_len = PyUnicode_GET_LENGTH(line);
  ------------------
  |  |  299|  2.08k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2341|  2.08k|        kind = PyUnicode_KIND(line);
  ------------------
  |  |  258|  2.08k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  4.17k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 2.08k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2342|       |
 2343|      0|        endpos = _PyIO_find_line_ending(
 2344|  2.08k|            self->readtranslate, self->readuniversal, self->readnl,
 2345|  2.08k|            kind,
 2346|  2.08k|            ptr + kind * start,
 2347|  2.08k|            ptr + kind * line_len,
 2348|  2.08k|            &consumed);
 2349|  2.08k|        if (endpos >= 0) {
  ------------------
  |  Branch (2349:13): [True: 2.07k, False: 11]
  ------------------
 2350|  2.07k|            endpos += start;
 2351|  2.07k|            if (limit >= 0 && (endpos - start) + chunked >= limit)
  ------------------
  |  Branch (2351:17): [True: 0, False: 2.07k]
  |  Branch (2351:31): [True: 0, False: 0]
  ------------------
 2352|      0|                endpos = start + limit - chunked;
 2353|  2.07k|            break;
 2354|  2.07k|        }
 2355|       |
 2356|       |        /* We can put aside up to `endpos` */
 2357|     11|        endpos = consumed + start;
 2358|     11|        if (limit >= 0 && (endpos - start) + chunked >= limit) {
  ------------------
  |  Branch (2358:13): [True: 0, False: 11]
  |  Branch (2358:27): [True: 0, False: 0]
  ------------------
 2359|       |            /* Didn't find line ending, but reached length limit */
 2360|      0|            endpos = start + limit - chunked;
 2361|      0|            break;
 2362|      0|        }
 2363|       |
 2364|     11|        if (endpos > start) {
  ------------------
  |  Branch (2364:13): [True: 7, False: 4]
  ------------------
 2365|       |            /* No line ending seen yet - put aside current data */
 2366|      7|            PyObject *s;
 2367|      7|            if (chunks == NULL) {
  ------------------
  |  Branch (2367:17): [True: 7, False: 0]
  ------------------
 2368|      7|                chunks = PyList_New(0);
 2369|      7|                if (chunks == NULL)
  ------------------
  |  Branch (2369:21): [True: 0, False: 7]
  ------------------
 2370|      0|                    goto error;
 2371|      7|            }
 2372|      7|            s = PyUnicode_Substring(line, start, endpos);
 2373|      7|            if (s == NULL)
  ------------------
  |  Branch (2373:17): [True: 0, False: 7]
  ------------------
 2374|      0|                goto error;
 2375|      7|            if (PyList_Append(chunks, s) < 0) {
  ------------------
  |  Branch (2375:17): [True: 0, False: 7]
  ------------------
 2376|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2377|      0|                goto error;
 2378|      0|            }
 2379|      7|            chunked += PyUnicode_GET_LENGTH(s);
  ------------------
  |  |  299|      7|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2380|      7|            Py_DECREF(s);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2381|      7|        }
 2382|       |        /* There may be some remaining bytes we'll have to prepend to the
 2383|       |           next chunk of data */
 2384|     11|        if (endpos < line_len) {
  ------------------
  |  Branch (2384:13): [True: 0, False: 11]
  ------------------
 2385|      0|            remaining = PyUnicode_Substring(line, endpos, line_len);
 2386|      0|            if (remaining == NULL)
  ------------------
  |  Branch (2386:17): [True: 0, False: 0]
  ------------------
 2387|      0|                goto error;
 2388|      0|        }
 2389|     11|        Py_CLEAR(line);
  ------------------
  |  |  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: 11, False: 0]
  |  |  ------------------
  |  |  488|     11|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     11|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     11|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     11|        } \
  |  |  491|     11|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 11]
  |  |  ------------------
  ------------------
 2390|       |        /* We have consumed the buffer */
 2391|     11|        textiowrapper_set_decoded_chars(self, NULL);
 2392|     11|    }
 2393|       |
 2394|  2.08k|    if (line != NULL) {
  ------------------
  |  Branch (2394:9): [True: 2.07k, False: 3]
  ------------------
 2395|       |        /* Our line ends in the current buffer */
 2396|  2.07k|        self->decoded_chars_used = endpos - offset_to_buffer;
 2397|  2.07k|        if (start > 0 || endpos < PyUnicode_GET_LENGTH(line)) {
  ------------------
  |  |  299|     11|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2397:13): [True: 2.06k, False: 11]
  |  Branch (2397:26): [True: 11, False: 0]
  ------------------
 2398|  2.07k|            PyObject *s = PyUnicode_Substring(line, start, endpos);
 2399|  2.07k|            Py_CLEAR(line);
  ------------------
  |  |  484|  2.07k|    do { \
  |  |  485|  2.07k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.07k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.07k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.07k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.07k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2.07k, False: 0]
  |  |  ------------------
  |  |  488|  2.07k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  2.07k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  2.07k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  2.07k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  2.07k|        } \
  |  |  491|  2.07k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.07k]
  |  |  ------------------
  ------------------
 2400|  2.07k|            if (s == NULL)
  ------------------
  |  Branch (2400:17): [True: 0, False: 2.07k]
  ------------------
 2401|      0|                goto error;
 2402|  2.07k|            line = s;
 2403|  2.07k|        }
 2404|  2.07k|    }
 2405|  2.08k|    if (remaining != NULL) {
  ------------------
  |  Branch (2405:9): [True: 0, False: 2.08k]
  ------------------
 2406|      0|        if (chunks == NULL) {
  ------------------
  |  Branch (2406:13): [True: 0, False: 0]
  ------------------
 2407|      0|            chunks = PyList_New(0);
 2408|      0|            if (chunks == NULL)
  ------------------
  |  Branch (2408:17): [True: 0, False: 0]
  ------------------
 2409|      0|                goto error;
 2410|      0|        }
 2411|      0|        if (PyList_Append(chunks, remaining) < 0)
  ------------------
  |  Branch (2411:13): [True: 0, False: 0]
  ------------------
 2412|      0|            goto error;
 2413|      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]
  |  |  ------------------
  ------------------
 2414|      0|    }
 2415|  2.08k|    if (chunks != NULL) {
  ------------------
  |  Branch (2415:9): [True: 7, False: 2.07k]
  ------------------
 2416|      7|        if (line != NULL) {
  ------------------
  |  Branch (2416:13): [True: 7, False: 0]
  ------------------
 2417|      7|            if (PyList_Append(chunks, line) < 0)
  ------------------
  |  Branch (2417:17): [True: 0, False: 7]
  ------------------
 2418|      0|                goto error;
 2419|      7|            Py_DECREF(line);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2420|      7|        }
 2421|      7|        line = PyUnicode_Join(&_Py_STR(empty), chunks);
  ------------------
  |  |  922|      7|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      7|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      7|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2422|      7|        if (line == NULL)
  ------------------
  |  Branch (2422:13): [True: 0, False: 7]
  ------------------
 2423|      0|            goto error;
 2424|      7|        Py_CLEAR(chunks);
  ------------------
  |  |  484|      7|    do { \
  |  |  485|      7|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      7|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      7|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 7, False: 0]
  |  |  ------------------
  |  |  488|      7|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      7|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      7|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      7|        } \
  |  |  491|      7|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
 2425|      7|    }
 2426|  2.08k|    if (line == NULL) {
  ------------------
  |  Branch (2426:9): [True: 3, False: 2.07k]
  ------------------
 2427|      3|        line = &_Py_STR(empty);
  ------------------
  |  |  922|      3|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      3|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      3|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2428|      3|    }
 2429|       |
 2430|  2.08k|    return line;
 2431|       |
 2432|      0|  error:
 2433|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2434|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2435|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2436|       |    return NULL;
 2437|  2.08k|}
textio.c:_io_TextIOWrapper_closed_get_impl:
 3337|     12|{
 3338|       |    /* If partially constructed or deconstructed, return that the underlying
 3339|       |       buffer is closed.
 3340|       |
 3341|       |       The code managing the transition is responsible for closing. The closed
 3342|       |       attribute is often called in re-initalization, as part of repr in error
 3343|       |       cases, and when the I/O stack is garbage collected. */
 3344|     12|    if (self->ok <= 0) {
  ------------------
  |  Branch (3344:9): [True: 0, False: 12]
  ------------------
 3345|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3346|      0|    }
 3347|       |
 3348|     12|    return buffer_getattr(self, &_Py_ID(closed));
  ------------------
  |  |  920|     12|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     12|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     12|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3349|     12|}
textio.c:buffer_getattr:
  764|     12|{
  765|     12|    PyObject *buffer = buffer_access_safe(self);
  766|     12|    if (buffer == NULL) {
  ------------------
  |  Branch (766:9): [True: 0, False: 12]
  ------------------
  767|      0|        return NULL;
  768|      0|    }
  769|       |
  770|     12|    return PyObject_GetAttr(buffer, attr_name);
  771|     12|}
textio.c:buffer_access_safe:
  741|   711k|{
  742|       |    /* Check self->buffer directly but match errors of CHECK_ATTACHED since this
  743|       |       is called during construction and finalization where self->ok == 0. */
  744|   711k|    if (self->buffer == NULL) {
  ------------------
  |  Branch (744:9): [True: 0, False: 711k]
  ------------------
  745|      0|        if (self->ok <= 0) {
  ------------------
  |  Branch (745:13): [True: 0, False: 0]
  ------------------
  746|      0|            PyErr_SetString(PyExc_ValueError,
  747|      0|                            "I/O operation on uninitialized object");
  748|      0|        }
  749|      0|        else {
  750|      0|            PyErr_SetString(PyExc_ValueError,
  751|      0|                            "underlying buffer has been detached");
  752|      0|        }
  753|      0|        return NULL;
  754|      0|    }
  755|       |
  756|       |    /* Returning a borrowed reference is safe since TextIOWrapper methods are
  757|       |       protected by critical sections. */
  758|   711k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
  759|   711k|    return self->buffer;
  760|   711k|}
textio.c:_textiowrapper_writeflush:
 1651|   357k|{
 1652|   357k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
 1653|       |
 1654|   357k|    if (self->pending_bytes == NULL)
  ------------------
  |  Branch (1654:9): [True: 2.08k, False: 355k]
  ------------------
 1655|  2.08k|        return 0;
 1656|       |
 1657|   355k|    PyObject *pending = self->pending_bytes;
 1658|   355k|    PyObject *b;
 1659|       |
 1660|   355k|    if (PyBytes_Check(pending)) {
  ------------------
  |  |   28|   355k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   355k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 355k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1661|      0|        b = Py_NewRef(pending);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1662|      0|    }
 1663|   355k|    else if (PyUnicode_Check(pending)) {
  ------------------
  |  |  103|   355k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   355k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 355k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1664|   355k|        assert(PyUnicode_IS_ASCII(pending));
  ------------------
  |  Branch (1664:9): [True: 355k, False: 0]
  ------------------
 1665|   355k|        assert(PyUnicode_GET_LENGTH(pending) == self->pending_bytes_count);
  ------------------
  |  Branch (1665:9): [True: 355k, False: 0]
  ------------------
 1666|   355k|        b = PyBytes_FromStringAndSize(
 1667|   355k|                PyUnicode_DATA(pending), PyUnicode_GET_LENGTH(pending));
  ------------------
  |  |  284|   355k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                              PyUnicode_DATA(pending), PyUnicode_GET_LENGTH(pending));
  ------------------
  |  |  299|   355k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1668|   355k|        if (b == NULL) {
  ------------------
  |  Branch (1668:13): [True: 0, False: 355k]
  ------------------
 1669|      0|            return -1;
 1670|      0|        }
 1671|   355k|    }
 1672|      0|    else {
 1673|      0|        assert(PyList_Check(pending));
  ------------------
  |  Branch (1673:9): [True: 0, False: 0]
  ------------------
 1674|      0|        b = PyBytes_FromStringAndSize(NULL, self->pending_bytes_count);
 1675|      0|        if (b == NULL) {
  ------------------
  |  Branch (1675:13): [True: 0, False: 0]
  ------------------
 1676|      0|            return -1;
 1677|      0|        }
 1678|       |
 1679|      0|        char *buf = PyBytes_AsString(b);
 1680|      0|        Py_ssize_t pos = 0;
 1681|       |
 1682|      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 (1682:32): [True: 0, False: 0]
  ------------------
 1683|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1683:29): [True: 0, False: 0]
  ------------------
 1684|      0|            char *src;
 1685|      0|            Py_ssize_t len;
 1686|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1687|      0|                assert(PyUnicode_IS_ASCII(obj));
  ------------------
  |  Branch (1687:17): [True: 0, False: 0]
  ------------------
 1688|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1689|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1690|      0|            }
 1691|      0|            else {
 1692|      0|                assert(PyBytes_Check(obj));
  ------------------
  |  Branch (1692:17): [True: 0, False: 0]
  ------------------
 1693|      0|                if (PyBytes_AsStringAndSize(obj, &src, &len) < 0) {
  ------------------
  |  Branch (1693:21): [True: 0, False: 0]
  ------------------
 1694|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1695|      0|                    return -1;
 1696|      0|                }
 1697|      0|            }
 1698|      0|            memcpy(buf + pos, src, len);
 1699|      0|            pos += len;
 1700|      0|        }
 1701|      0|        assert(pos == self->pending_bytes_count);
  ------------------
  |  Branch (1701:9): [True: 0, False: 0]
  ------------------
 1702|      0|    }
 1703|       |
 1704|   355k|    self->pending_bytes_count = 0;
 1705|   355k|    self->pending_bytes = NULL;
 1706|   355k|    Py_DECREF(pending);
  ------------------
  |  |  430|   355k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1707|       |
 1708|   355k|    PyObject *ret;
 1709|   355k|    do {
 1710|   355k|        ret = buffer_callmethod_onearg(self, &_Py_ID(write), b);
  ------------------
  |  |  920|   355k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   355k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   355k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1711|   355k|    } while (ret == NULL && _PyIO_trap_eintr());
  ------------------
  |  Branch (1711:14): [True: 0, False: 355k]
  |  Branch (1711:29): [True: 0, False: 0]
  ------------------
 1712|   355k|    Py_DECREF(b);
  ------------------
  |  |  430|   355k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1713|       |    // NOTE: We cleared buffer but we don't know how many bytes are actually written
 1714|       |    // when an error occurred.
 1715|   355k|    if (ret == NULL)
  ------------------
  |  Branch (1715:9): [True: 0, False: 355k]
  ------------------
 1716|      0|        return -1;
 1717|   355k|    Py_DECREF(ret);
  ------------------
  |  |  430|   355k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1718|   355k|    return 0;
 1719|   355k|}
textio.c:buffer_callmethod_onearg:
  786|   355k|{
  787|   355k|    PyObject *buffer = buffer_access_safe(self);
  788|   355k|    if (buffer == NULL) {
  ------------------
  |  Branch (788:9): [True: 0, False: 355k]
  ------------------
  789|      0|        return NULL;
  790|      0|    }
  791|       |
  792|   355k|    return PyObject_CallMethodOneArg(buffer, name, arg);
  793|   355k|}
textio.c:textiowrapper_read_chunk:
 1928|     14|{
 1929|     14|    PyObject *dec_buffer = NULL;
 1930|     14|    PyObject *dec_flags = NULL;
 1931|     14|    PyObject *input_chunk = NULL;
 1932|     14|    Py_buffer input_chunk_buf;
 1933|     14|    PyObject *decoded_chars, *chunk_size;
 1934|     14|    Py_ssize_t nbytes, nchars;
 1935|     14|    int eof;
 1936|       |
 1937|       |    /* The return value is True unless EOF was reached.  The decoded string is
 1938|       |     * placed in self._decoded_chars (replacing its previous value).  The
 1939|       |     * entire input chunk is sent to the decoder, though some of it may remain
 1940|       |     * buffered in the decoder, yet to be converted.
 1941|       |     */
 1942|       |
 1943|     14|    if (self->decoder == NULL) {
  ------------------
  |  Branch (1943:9): [True: 0, False: 14]
  ------------------
 1944|      0|        _unsupported(self->state, "not readable");
 1945|      0|        return -1;
 1946|      0|    }
 1947|       |
 1948|     14|    if (self->telling) {
  ------------------
  |  Branch (1948:9): [True: 0, False: 14]
  ------------------
 1949|       |        /* To prepare for tell(), we need to snapshot a point in the file
 1950|       |         * where the decoder's input buffer is empty.
 1951|       |         */
 1952|      0|        PyObject *state = PyObject_CallMethodNoArgs(self->decoder,
 1953|      0|                                                     &_Py_ID(getstate));
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1954|      0|        if (state == NULL)
  ------------------
  |  Branch (1954:13): [True: 0, False: 0]
  ------------------
 1955|      0|            return -1;
 1956|       |        /* Given this, we know there was a valid snapshot point
 1957|       |         * len(dec_buffer) bytes ago with decoder state (b'', dec_flags).
 1958|       |         */
 1959|      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 (1959:13): [True: 0, False: 0]
  ------------------
 1960|      0|            PyErr_SetString(PyExc_TypeError,
 1961|      0|                            "illegal decoder state");
 1962|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1963|      0|            return -1;
 1964|      0|        }
 1965|      0|        if (!PyArg_ParseTuple(state,
  ------------------
  |  Branch (1965:13): [True: 0, False: 0]
  ------------------
 1966|      0|                              "OO;illegal decoder state", &dec_buffer, &dec_flags))
 1967|      0|        {
 1968|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1969|      0|            return -1;
 1970|      0|        }
 1971|       |
 1972|      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 (1972:13): [True: 0, False: 0]
  ------------------
 1973|      0|            PyErr_Format(PyExc_TypeError,
 1974|      0|                         "illegal decoder state: the first item should be a "
 1975|      0|                         "bytes object, not '%.200s'",
 1976|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1977|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1978|      0|            return -1;
 1979|      0|        }
 1980|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1981|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1982|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1983|      0|    }
 1984|       |
 1985|       |    /* Read a chunk, decode it, and put the result in self._decoded_chars. */
 1986|     14|    if (size_hint > 0) {
  ------------------
  |  Branch (1986:9): [True: 0, False: 14]
  ------------------
 1987|      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]
  |  |  ------------------
  ------------------
 1988|      0|    }
 1989|     14|    chunk_size = PyLong_FromSsize_t(Py_MAX(self->chunk_size, size_hint));
  ------------------
  |  |  115|     14|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 14, False: 0]
  |  |  ------------------
  ------------------
 1990|     14|    if (chunk_size == NULL)
  ------------------
  |  Branch (1990:9): [True: 0, False: 14]
  ------------------
 1991|      0|        goto fail;
 1992|       |
 1993|     14|    input_chunk = buffer_callmethod_onearg(self,
 1994|     14|                                           (self->has_read1 ? &_Py_ID(read1) :
  ------------------
  |  |  920|     14|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     14|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     14|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1994:45): [True: 14, False: 0]
  ------------------
 1995|     14|                                                              &_Py_ID(read)),
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1996|     14|                                           chunk_size);
 1997|     14|    Py_DECREF(chunk_size);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1998|     14|    if (input_chunk == NULL)
  ------------------
  |  Branch (1998:9): [True: 0, False: 14]
  ------------------
 1999|      0|        goto fail;
 2000|       |
 2001|     14|    if (PyObject_GetBuffer(input_chunk, &input_chunk_buf, 0) != 0) {
  ------------------
  |  Branch (2001:9): [True: 0, False: 14]
  ------------------
 2002|      0|        PyErr_Format(PyExc_TypeError,
 2003|      0|                     "underlying %s() should have returned a bytes-like object, "
 2004|      0|                     "not '%.200s'", (self->has_read1 ? "read1": "read"),
  ------------------
  |  Branch (2004:39): [True: 0, False: 0]
  ------------------
 2005|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2006|      0|        goto fail;
 2007|      0|    }
 2008|       |
 2009|     14|    nbytes = input_chunk_buf.len;
 2010|     14|    eof = (nbytes == 0);
 2011|       |
 2012|     14|    decoded_chars = _textiowrapper_decode(self->state, self->decoder,
 2013|     14|                                          input_chunk, eof);
 2014|     14|    PyBuffer_Release(&input_chunk_buf);
 2015|     14|    if (decoded_chars == NULL)
  ------------------
  |  Branch (2015:9): [True: 0, False: 14]
  ------------------
 2016|      0|        goto fail;
 2017|       |
 2018|     14|    textiowrapper_set_decoded_chars(self, decoded_chars);
 2019|     14|    nchars = PyUnicode_GET_LENGTH(decoded_chars);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2020|     14|    if (nchars > 0)
  ------------------
  |  Branch (2020:9): [True: 11, False: 3]
  ------------------
 2021|     11|        self->b2cratio = (double) nbytes / nchars;
 2022|      3|    else
 2023|      3|        self->b2cratio = 0.0;
 2024|     14|    if (nchars > 0)
  ------------------
  |  Branch (2024:9): [True: 11, False: 3]
  ------------------
 2025|     11|        eof = 0;
 2026|       |
 2027|     14|    if (self->telling) {
  ------------------
  |  Branch (2027:9): [True: 0, False: 14]
  ------------------
 2028|       |        /* At the snapshot point, len(dec_buffer) bytes before the read, the
 2029|       |         * next input to be decoded is dec_buffer + input_chunk.
 2030|       |         */
 2031|      0|        PyObject *next_input = dec_buffer;
 2032|      0|        PyBytes_Concat(&next_input, input_chunk);
 2033|      0|        dec_buffer = NULL; /* Reference lost to PyBytes_Concat */
 2034|      0|        if (next_input == NULL) {
  ------------------
  |  Branch (2034:13): [True: 0, False: 0]
  ------------------
 2035|      0|            goto fail;
 2036|      0|        }
 2037|      0|        PyObject *snapshot = Py_BuildValue("NN", dec_flags, next_input);
 2038|      0|        if (snapshot == NULL) {
  ------------------
  |  Branch (2038:13): [True: 0, False: 0]
  ------------------
 2039|      0|            dec_flags = NULL;
 2040|      0|            goto fail;
 2041|      0|        }
 2042|      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]
  |  |  ------------------
  ------------------
 2043|      0|    }
 2044|     14|    Py_DECREF(input_chunk);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2045|       |
 2046|     14|    return (eof == 0);
 2047|       |
 2048|      0|  fail:
 2049|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2050|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2051|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2052|      0|    return -1;
 2053|     14|}
textio.c:_textiowrapper_decode:
  997|     14|{
  998|     14|    PyObject *chars;
  999|       |
 1000|     14|    if (Py_IS_TYPE(decoder, state->PyIncrementalNewlineDecoder_Type))
  ------------------
  |  |  215|     14|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 14, False: 0]
  |  |  ------------------
  ------------------
 1001|     14|        chars = _PyIncrementalNewlineDecoder_decode(decoder, bytes, eof);
 1002|      0|    else
 1003|      0|        chars = PyObject_CallMethodObjArgs(decoder, &_Py_ID(decode), bytes,
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1004|      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 (1004:44): [True: 0, False: 0]
  ------------------
 1005|       |
 1006|     14|    if (check_decoded(chars) < 0)
  ------------------
  |  Branch (1006:9): [True: 0, False: 14]
  ------------------
 1007|       |        // check_decoded already decreases refcount
 1008|      0|        return NULL;
 1009|       |
 1010|     14|    return chars;
 1011|     14|}
textio.c:textiowrapper_set_decoded_chars:
 1887|     28|{
 1888|     28|    Py_XSETREF(self->decoded_chars, chars);
  ------------------
  |  |  374|     28|    do { \
  |  |  375|     28|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|     28|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|     28|        *_tmp_dst_ptr = (src); \
  |  |  378|     28|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     28|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|     28|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 28]
  |  |  ------------------
  ------------------
 1889|     28|    self->decoded_chars_used = 0;
 1890|     28|}
textio.c:validate_newline:
  909|      9|{
  910|      9|    if (newline && newline[0] != '\0'
  ------------------
  |  Branch (910:9): [True: 6, False: 3]
  |  Branch (910:20): [True: 6, False: 0]
  ------------------
  911|      6|        && !(newline[0] == '\n' && newline[1] == '\0')
  ------------------
  |  Branch (911:14): [True: 6, False: 0]
  |  Branch (911:36): [True: 6, False: 0]
  ------------------
  912|      0|        && !(newline[0] == '\r' && newline[1] == '\0')
  ------------------
  |  Branch (912:14): [True: 0, False: 0]
  |  Branch (912:36): [True: 0, False: 0]
  ------------------
  913|      0|        && !(newline[0] == '\r' && newline[1] == '\n' && newline[2] == '\0')) {
  ------------------
  |  Branch (913:14): [True: 0, False: 0]
  |  Branch (913:36): [True: 0, False: 0]
  |  Branch (913:58): [True: 0, False: 0]
  ------------------
  914|      0|        PyErr_Format(PyExc_ValueError,
  915|      0|                     "illegal newline value: %s", newline);
  916|      0|        return -1;
  917|      0|    }
  918|      9|    return 0;
  919|      9|}
textio.c:set_newline:
  923|      9|{
  924|      9|    PyObject *old = self->readnl;
  925|      9|    if (newline == NULL) {
  ------------------
  |  Branch (925:9): [True: 3, False: 6]
  ------------------
  926|      3|        self->readnl = NULL;
  927|      3|    }
  928|      6|    else {
  929|      6|        self->readnl = PyUnicode_FromString(newline);
  930|      6|        if (self->readnl == NULL) {
  ------------------
  |  Branch (930:13): [True: 0, False: 6]
  ------------------
  931|      0|            self->readnl = old;
  932|      0|            return -1;
  933|      0|        }
  934|      6|    }
  935|      9|    self->readuniversal = (newline == NULL || newline[0] == '\0');
  ------------------
  |  Branch (935:28): [True: 3, False: 6]
  |  Branch (935:47): [True: 0, False: 6]
  ------------------
  936|      9|    self->readtranslate = (newline == NULL);
  937|      9|    self->writetranslate = (newline == NULL || newline[0] != '\0');
  ------------------
  |  Branch (937:29): [True: 3, False: 6]
  |  Branch (937:48): [True: 6, False: 0]
  ------------------
  938|      9|    if (!self->readuniversal && self->readnl != NULL) {
  ------------------
  |  Branch (938:9): [True: 6, False: 3]
  |  Branch (938:33): [True: 6, False: 0]
  ------------------
  939|       |        // validate_newline() accepts only ASCII newlines.
  940|      6|        assert(PyUnicode_KIND(self->readnl) == PyUnicode_1BYTE_KIND);
  ------------------
  |  Branch (940:9): [True: 6, False: 0]
  |  Branch (940:9): [True: 6, False: 0]
  ------------------
  941|      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))
  |  |  ------------------
  ------------------
  942|      6|        if (strcmp(self->writenl, "\n") == 0) {
  ------------------
  |  Branch (942:13): [True: 6, False: 0]
  ------------------
  943|      6|            self->writenl = NULL;
  944|      6|        }
  945|      6|    }
  946|      3|    else {
  947|       |#ifdef MS_WINDOWS
  948|       |        self->writenl = "\r\n";
  949|       |#else
  950|      3|        self->writenl = NULL;
  951|      3|#endif
  952|      3|    }
  953|      9|    Py_XDECREF(old);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  954|      9|    return 0;
  955|      9|}
textio.c:_textiowrapper_set_decoder:
  960|      9|{
  961|      9|    PyObject *res;
  962|      9|    int r;
  963|       |
  964|      9|    res = buffer_callmethod_noargs(self, &_Py_ID(readable));
  ------------------
  |  |  920|      9|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      9|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      9|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  965|      9|    if (res == NULL)
  ------------------
  |  Branch (965:9): [True: 0, False: 9]
  ------------------
  966|      0|        return -1;
  967|       |
  968|      9|    r = PyObject_IsTrue(res);
  969|      9|    Py_DECREF(res);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  970|      9|    if (r == -1)
  ------------------
  |  Branch (970:9): [True: 0, False: 9]
  ------------------
  971|      0|        return -1;
  972|       |
  973|      9|    if (r != 1)
  ------------------
  |  Branch (973:9): [True: 4, False: 5]
  ------------------
  974|      4|        return 0;
  975|       |
  976|      5|    Py_CLEAR(self->decoder);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  977|      5|    self->decoder = _PyCodecInfo_GetIncrementalDecoder(codec_info, errors);
  978|      5|    if (self->decoder == NULL)
  ------------------
  |  Branch (978:9): [True: 0, False: 5]
  ------------------
  979|      0|        return -1;
  980|       |
  981|      5|    if (self->readuniversal) {
  ------------------
  |  Branch (981:9): [True: 3, False: 2]
  ------------------
  982|      3|        _PyIO_State *state = self->state;
  983|      3|        PyObject *incrementalDecoder = PyObject_CallFunctionObjArgs(
  984|      3|            (PyObject *)state->PyIncrementalNewlineDecoder_Type,
  985|      3|            self->decoder, self->readtranslate ? Py_True : Py_False, NULL);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          self->decoder, self->readtranslate ? Py_True : Py_False, NULL);
  ------------------
  |  |   25|      3|#  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 (985:28): [True: 3, False: 0]
  ------------------
  986|      3|        if (incrementalDecoder == NULL)
  ------------------
  |  Branch (986:13): [True: 0, False: 3]
  ------------------
  987|      0|            return -1;
  988|      3|        Py_XSETREF(self->decoder, incrementalDecoder);
  ------------------
  |  |  374|      3|    do { \
  |  |  375|      3|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|      3|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|      3|        *_tmp_dst_ptr = (src); \
  |  |  378|      3|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|      3|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
  989|      3|    }
  990|       |
  991|      5|    return 0;
  992|      5|}
textio.c:buffer_callmethod_noargs:
  775|     28|{
  776|     28|    PyObject *buffer = buffer_access_safe(self);
  777|     28|    if (buffer == NULL) {
  ------------------
  |  Branch (777:9): [True: 0, False: 28]
  ------------------
  778|      0|        return NULL;
  779|      0|    }
  780|       |
  781|     28|    return PyObject_CallMethodNoArgs(buffer, name);
  782|     28|}
textio.c:_textiowrapper_set_encoder:
 1016|      9|{
 1017|      9|    PyObject *res;
 1018|      9|    int r;
 1019|       |
 1020|      9|    res = buffer_callmethod_noargs(self, &_Py_ID(writable));
  ------------------
  |  |  920|      9|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      9|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      9|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1021|      9|    if (res == NULL)
  ------------------
  |  Branch (1021:9): [True: 0, False: 9]
  ------------------
 1022|      0|        return -1;
 1023|       |
 1024|      9|    r = PyObject_IsTrue(res);
 1025|      9|    Py_DECREF(res);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1026|      9|    if (r == -1)
  ------------------
  |  Branch (1026:9): [True: 0, False: 9]
  ------------------
 1027|      0|        return -1;
 1028|       |
 1029|      9|    if (r != 1)
  ------------------
  |  Branch (1029:9): [True: 5, False: 4]
  ------------------
 1030|      5|        return 0;
 1031|       |
 1032|      4|    Py_CLEAR(self->encoder);
  ------------------
  |  |  484|      4|    do { \
  |  |  485|      4|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      4|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 4]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 1033|      4|    self->encodefunc = NULL;
 1034|      4|    self->encoder = _PyCodecInfo_GetIncrementalEncoder(codec_info, errors);
 1035|      4|    if (self->encoder == NULL)
  ------------------
  |  Branch (1035:9): [True: 0, False: 4]
  ------------------
 1036|      0|        return -1;
 1037|       |
 1038|       |    /* Get the normalized named of the codec */
 1039|      4|    if (PyObject_GetOptionalAttr(codec_info, &_Py_ID(name), &res) < 0) {
  ------------------
  |  |  920|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1039:9): [True: 0, False: 4]
  ------------------
 1040|      0|        return -1;
 1041|      0|    }
 1042|      4|    if (res != NULL && PyUnicode_Check(res)) {
  ------------------
  |  |  103|      4|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1042:9): [True: 4, False: 0]
  ------------------
 1043|      4|        const encodefuncentry *e = encodefuncs;
 1044|     12|        while (e->name != NULL) {
  ------------------
  |  Branch (1044:16): [True: 12, False: 0]
  ------------------
 1045|     12|            if (_PyUnicode_EqualToASCIIString(res, e->name)) {
  ------------------
  |  Branch (1045:17): [True: 4, False: 8]
  ------------------
 1046|      4|                self->encodefunc = e->encodefunc;
 1047|      4|                break;
 1048|      4|            }
 1049|      8|            e++;
 1050|      8|        }
 1051|      4|    }
 1052|      4|    Py_XDECREF(res);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1053|       |
 1054|      4|    return 0;
 1055|      4|}
textio.c:_textiowrapper_fix_encoder_state:
 1059|      9|{
 1060|      9|    if (!self->seekable || !self->encoder) {
  ------------------
  |  Branch (1060:9): [True: 0, False: 9]
  |  Branch (1060:28): [True: 5, False: 4]
  ------------------
 1061|      5|        return 0;
 1062|      5|    }
 1063|       |
 1064|      4|    self->encoding_start_of_stream = 1;
 1065|       |
 1066|      4|    PyObject *cookieObj = buffer_callmethod_noargs(self, &_Py_ID(tell));
  ------------------
  |  |  920|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1067|      4|    if (cookieObj == NULL) {
  ------------------
  |  Branch (1067:9): [True: 0, False: 4]
  ------------------
 1068|      0|        return -1;
 1069|      0|    }
 1070|       |
 1071|      4|    int cmp = PyObject_RichCompareBool(cookieObj, _PyLong_GetZero(), Py_EQ);
  ------------------
  |  |  654|      4|#define Py_EQ 2
  ------------------
 1072|      4|    Py_DECREF(cookieObj);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1073|      4|    if (cmp < 0) {
  ------------------
  |  Branch (1073:9): [True: 0, False: 4]
  ------------------
 1074|      0|        return -1;
 1075|      0|    }
 1076|       |
 1077|      4|    if (cmp == 0) {
  ------------------
  |  Branch (1077:9): [True: 2, False: 2]
  ------------------
 1078|      2|        self->encoding_start_of_stream = 0;
 1079|      2|        PyObject *res = PyObject_CallMethodOneArg(
 1080|      2|            self->encoder, &_Py_ID(setstate), _PyLong_GetZero());
  ------------------
  |  |  920|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1081|      2|        if (res == NULL) {
  ------------------
  |  Branch (1081:13): [True: 0, False: 2]
  ------------------
 1082|      0|            return -1;
 1083|      0|        }
 1084|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1085|      2|    }
 1086|       |
 1087|      4|    return 0;
 1088|      4|}
textio.c:_io_TextIOWrapper_write_impl:
 1731|   355k|{
 1732|   355k|    PyObject *ret;
 1733|   355k|    PyObject *b;
 1734|   355k|    Py_ssize_t textlen;
 1735|   355k|    int haslf = 0;
 1736|   355k|    int needflush = 0, text_needflush = 0;
 1737|       |
 1738|   355k|    CHECK_ATTACHED(self);
  ------------------
  |  | 1605|   355k|    CHECK_INITIALIZED(self); \
  |  |  ------------------
  |  |  |  | 1598|   355k|    if (self->ok <= 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1598:9): [True: 0, False: 355k]
  |  |  |  |  ------------------
  |  |  |  | 1599|      0|        PyErr_SetString(PyExc_ValueError, \
  |  |  |  | 1600|      0|            "I/O operation on uninitialized object"); \
  |  |  |  | 1601|      0|        return NULL; \
  |  |  |  | 1602|      0|    }
  |  |  ------------------
  |  | 1606|   355k|    if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (1606:9): [True: 0, False: 355k]
  |  |  ------------------
  |  | 1607|      0|        PyErr_SetString(PyExc_ValueError, \
  |  | 1608|      0|             "underlying buffer has been detached"); \
  |  | 1609|      0|        return NULL; \
  |  | 1610|      0|    }
  ------------------
 1739|   355k|    CHECK_CLOSED(self);
  ------------------
  |  | 1572|   355k|    do { \
  |  | 1573|   355k|        int r; \
  |  | 1574|   355k|        PyObject *_res; \
  |  | 1575|   355k|        if (Py_IS_TYPE(self, self->state->PyTextIOWrapper_Type)) { \
  |  |  ------------------
  |  |  |  |  215|   355k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 355k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1576|   355k|            if (self->raw != NULL) \
  |  |  ------------------
  |  |  |  Branch (1576:17): [True: 355k, False: 0]
  |  |  ------------------
  |  | 1577|   355k|                r = _PyFileIO_closed(self->raw); \
  |  | 1578|   355k|            else { \
  |  | 1579|      0|                _res = _io_TextIOWrapper_closed_get_impl(self); \
  |  | 1580|      0|                if (_res == NULL) \
  |  |  ------------------
  |  |  |  Branch (1580:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1581|      0|                    return NULL; \
  |  | 1582|      0|                r = PyObject_IsTrue(_res); \
  |  | 1583|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1584|      0|                if (r < 0) \
  |  |  ------------------
  |  |  |  Branch (1584:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1585|      0|                    return NULL; \
  |  | 1586|      0|            } \
  |  | 1587|   355k|            if (r > 0) { \
  |  |  ------------------
  |  |  |  Branch (1587:17): [True: 0, False: 355k]
  |  |  ------------------
  |  | 1588|      0|                PyErr_SetString(PyExc_ValueError, \
  |  | 1589|      0|                                "I/O operation on closed file."); \
  |  | 1590|      0|                return NULL; \
  |  | 1591|      0|            } \
  |  | 1592|   355k|        } \
  |  | 1593|   355k|        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 (1593:18): [True: 0, False: 0]
  |  |  ------------------
  |  | 1594|      0|            return NULL; \
  |  | 1595|   355k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1595:14): [Folded, False: 355k]
  |  |  ------------------
  ------------------
 1740|       |
 1741|   355k|    if (self->encoder == NULL) {
  ------------------
  |  Branch (1741:9): [True: 0, False: 355k]
  ------------------
 1742|      0|        return _unsupported(self->state, "not writable");
 1743|      0|    }
 1744|       |
 1745|   355k|    Py_INCREF(text);
  ------------------
  |  |  310|   355k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1746|       |
 1747|   355k|    textlen = PyUnicode_GET_LENGTH(text);
  ------------------
  |  |  299|   355k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1748|       |
 1749|   355k|    if ((self->writetranslate && self->writenl != NULL) || self->line_buffering)
  ------------------
  |  Branch (1749:10): [True: 355k, False: 0]
  |  Branch (1749:34): [True: 0, False: 355k]
  |  Branch (1749:60): [True: 355k, False: 0]
  ------------------
 1750|   355k|        if (PyUnicode_FindChar(text, '\n', 0, PyUnicode_GET_LENGTH(text), 1) != -1)
  ------------------
  |  |  299|   355k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1750:13): [True: 355k, False: 0]
  ------------------
 1751|   355k|            haslf = 1;
 1752|       |
 1753|   355k|    if (haslf && self->writetranslate && self->writenl != NULL) {
  ------------------
  |  Branch (1753:9): [True: 355k, False: 0]
  |  Branch (1753:18): [True: 355k, False: 0]
  |  Branch (1753:42): [True: 0, False: 355k]
  ------------------
 1754|      0|        PyObject *newtext = _PyObject_CallMethod(text, &_Py_ID(replace),
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1755|      0|                                                 "ss", "\n", self->writenl);
 1756|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1757|      0|        if (newtext == NULL)
  ------------------
  |  Branch (1757:13): [True: 0, False: 0]
  ------------------
 1758|      0|            return NULL;
 1759|      0|        text = newtext;
 1760|      0|    }
 1761|       |
 1762|   355k|    if (self->write_through)
  ------------------
  |  Branch (1762:9): [True: 0, False: 355k]
  ------------------
 1763|      0|        text_needflush = 1;
 1764|   355k|    if (self->line_buffering &&
  ------------------
  |  Branch (1764:9): [True: 355k, False: 0]
  ------------------
 1765|   355k|        (haslf ||
  ------------------
  |  Branch (1765:10): [True: 355k, False: 0]
  ------------------
 1766|      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 (1766:10): [True: 0, False: 0]
  ------------------
 1767|   355k|        needflush = 1;
 1768|       |
 1769|       |    /* XXX What if we were just reading? */
 1770|   355k|    if (self->encodefunc != NULL) {
  ------------------
  |  Branch (1770:9): [True: 355k, False: 0]
  ------------------
 1771|   355k|        if (PyUnicode_IS_ASCII(text) &&
  ------------------
  |  |  227|   711k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 355k, False: 0]
  |  |  ------------------
  ------------------
 1772|       |                // See bpo-43260
 1773|   355k|                PyUnicode_GET_LENGTH(text) <= self->chunk_size &&
  ------------------
  |  |  299|   355k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1773:17): [True: 355k, False: 0]
  ------------------
 1774|   355k|                is_asciicompat_encoding(self->encodefunc)) {
  ------------------
  |  Branch (1774:17): [True: 355k, False: 0]
  ------------------
 1775|   355k|            b = Py_NewRef(text);
  ------------------
  |  |  550|   355k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1776|   355k|        }
 1777|      0|        else {
 1778|      0|            b = (*self->encodefunc)((PyObject *) self, text);
 1779|      0|        }
 1780|   355k|        self->encoding_start_of_stream = 0;
 1781|   355k|    }
 1782|      0|    else {
 1783|      0|        b = PyObject_CallMethodOneArg(self->encoder, &_Py_ID(encode), text);
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1784|      0|    }
 1785|       |
 1786|   355k|    Py_DECREF(text);
  ------------------
  |  |  430|   355k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1787|   355k|    if (b == NULL)
  ------------------
  |  Branch (1787:9): [True: 0, False: 355k]
  ------------------
 1788|      0|        return NULL;
 1789|   355k|    if (b != text && !PyBytes_Check(b)) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1789:9): [True: 0, False: 355k]
  |  Branch (1789:22): [True: 0, False: 0]
  ------------------
 1790|      0|        PyErr_Format(PyExc_TypeError,
 1791|      0|                     "encoder should return a bytes object, not '%.200s'",
 1792|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1793|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1794|      0|        return NULL;
 1795|      0|    }
 1796|       |
 1797|   355k|    Py_ssize_t bytes_len;
 1798|   355k|    if (b == text) {
  ------------------
  |  Branch (1798:9): [True: 355k, False: 0]
  ------------------
 1799|   355k|        bytes_len = PyUnicode_GET_LENGTH(b);
  ------------------
  |  |  299|   355k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1800|   355k|    }
 1801|      0|    else {
 1802|      0|        bytes_len = PyBytes_GET_SIZE(b);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1803|      0|    }
 1804|       |
 1805|       |    // We should avoid concatenating huge data.
 1806|       |    // Flush the buffer before adding b to the buffer if b is not small.
 1807|       |    // https://github.com/python/cpython/issues/87426
 1808|   355k|    if (bytes_len >= self->chunk_size) {
  ------------------
  |  Branch (1808:9): [True: 0, False: 355k]
  ------------------
 1809|       |        // _textiowrapper_writeflush() calls buffer.write().
 1810|       |        // self->pending_bytes can be appended during buffer->write()
 1811|       |        // or other thread.
 1812|       |        // We need to loop until buffer becomes empty.
 1813|       |        // https://github.com/python/cpython/issues/118138
 1814|       |        // https://github.com/python/cpython/issues/119506
 1815|      0|        while (self->pending_bytes != NULL) {
  ------------------
  |  Branch (1815:16): [True: 0, False: 0]
  ------------------
 1816|      0|            if (_textiowrapper_writeflush(self) < 0) {
  ------------------
  |  Branch (1816:17): [True: 0, False: 0]
  ------------------
 1817|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1818|      0|                return NULL;
 1819|      0|            }
 1820|      0|        }
 1821|      0|    }
 1822|       |
 1823|   355k|    if (bytes_len > 0) {
  ------------------
  |  Branch (1823:9): [True: 355k, False: 0]
  ------------------
 1824|   355k|        if (self->pending_bytes == NULL) {
  ------------------
  |  Branch (1824:13): [True: 355k, False: 0]
  ------------------
 1825|   355k|            assert(self->pending_bytes_count == 0);
  ------------------
  |  Branch (1825:13): [True: 355k, False: 0]
  ------------------
 1826|   355k|            self->pending_bytes = b;
 1827|   355k|        }
 1828|      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 (1828:18): [True: 0, False: 0]
  ------------------
 1829|      0|            PyObject *list = PyList_New(2);
 1830|      0|            if (list == NULL) {
  ------------------
  |  Branch (1830:17): [True: 0, False: 0]
  ------------------
 1831|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1832|      0|                return NULL;
 1833|      0|            }
 1834|       |            // Since Python 3.12, allocating GC object won't trigger GC and release
 1835|       |            // GIL. See https://github.com/python/cpython/issues/97922
 1836|      0|            assert(!PyList_CheckExact(self->pending_bytes));
  ------------------
  |  Branch (1836:13): [True: 0, False: 0]
  ------------------
 1837|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1838|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1839|      0|            self->pending_bytes = list;
 1840|      0|        }
 1841|      0|        else {
 1842|      0|            if (PyList_Append(self->pending_bytes, b) < 0) {
  ------------------
  |  Branch (1842:17): [True: 0, False: 0]
  ------------------
 1843|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1844|      0|                return NULL;
 1845|      0|            }
 1846|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1847|      0|        }
 1848|       |
 1849|   355k|        self->pending_bytes_count += bytes_len;
 1850|   355k|    }
 1851|      0|    else {
 1852|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1853|      0|    }
 1854|       |
 1855|   355k|    if (self->pending_bytes_count >= self->chunk_size || needflush ||
  ------------------
  |  Branch (1855:9): [True: 0, False: 355k]
  |  Branch (1855:58): [True: 355k, False: 0]
  ------------------
 1856|   355k|        text_needflush) {
  ------------------
  |  Branch (1856:9): [True: 0, False: 0]
  ------------------
 1857|   355k|        if (_textiowrapper_writeflush(self) < 0)
  ------------------
  |  Branch (1857:13): [True: 0, False: 355k]
  ------------------
 1858|      0|            return NULL;
 1859|   355k|    }
 1860|       |
 1861|   355k|    if (needflush) {
  ------------------
  |  Branch (1861:9): [True: 355k, False: 0]
  ------------------
 1862|   355k|        PyObject *buffer = buffer_access_safe(self);
 1863|   355k|        if (buffer == NULL || _PyFile_Flush(buffer) < 0) {
  ------------------
  |  Branch (1863:13): [True: 0, False: 355k]
  |  Branch (1863:31): [True: 0, False: 355k]
  ------------------
 1864|      0|            return NULL;
 1865|      0|        }
 1866|   355k|    }
 1867|       |
 1868|   355k|    if (self->snapshot != NULL) {
  ------------------
  |  Branch (1868:9): [True: 0, False: 355k]
  ------------------
 1869|      0|        textiowrapper_set_decoded_chars(self, NULL);
 1870|      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]
  |  |  ------------------
  ------------------
 1871|      0|    }
 1872|       |
 1873|   355k|    if (self->decoder) {
  ------------------
  |  Branch (1873:9): [True: 0, False: 355k]
  ------------------
 1874|      0|        ret = PyObject_CallMethodNoArgs(self->decoder, &_Py_ID(reset));
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1875|      0|        if (ret == NULL)
  ------------------
  |  Branch (1875:13): [True: 0, False: 0]
  ------------------
 1876|      0|            return NULL;
 1877|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1878|      0|    }
 1879|       |
 1880|   355k|    return PyLong_FromSsize_t(textlen);
 1881|   355k|}
textio.c:is_asciicompat_encoding:
  883|   355k|{
  884|   355k|    return f == ascii_encode || f == latin1_encode || f == utf8_encode;
  ------------------
  |  Branch (884:12): [True: 0, False: 355k]
  |  Branch (884:33): [True: 0, False: 355k]
  |  Branch (884:55): [True: 355k, False: 0]
  ------------------
  885|   355k|}
textio.c:_io_TextIOWrapper_flush_impl:
 3204|      3|{
 3205|      3|    CHECK_ATTACHED(self);
  ------------------
  |  | 1605|      3|    CHECK_INITIALIZED(self); \
  |  |  ------------------
  |  |  |  | 1598|      3|    if (self->ok <= 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1598:9): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  | 1599|      0|        PyErr_SetString(PyExc_ValueError, \
  |  |  |  | 1600|      0|            "I/O operation on uninitialized object"); \
  |  |  |  | 1601|      0|        return NULL; \
  |  |  |  | 1602|      0|    }
  |  |  ------------------
  |  | 1606|      3|    if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (1606:9): [True: 0, False: 3]
  |  |  ------------------
  |  | 1607|      0|        PyErr_SetString(PyExc_ValueError, \
  |  | 1608|      0|             "underlying buffer has been detached"); \
  |  | 1609|      0|        return NULL; \
  |  | 1610|      0|    }
  ------------------
 3206|      3|    CHECK_CLOSED(self);
  ------------------
  |  | 1572|      3|    do { \
  |  | 1573|      3|        int r; \
  |  | 1574|      3|        PyObject *_res; \
  |  | 1575|      3|        if (Py_IS_TYPE(self, self->state->PyTextIOWrapper_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 (215:32): [True: 3, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1576|      3|            if (self->raw != NULL) \
  |  |  ------------------
  |  |  |  Branch (1576:17): [True: 3, False: 0]
  |  |  ------------------
  |  | 1577|      3|                r = _PyFileIO_closed(self->raw); \
  |  | 1578|      3|            else { \
  |  | 1579|      0|                _res = _io_TextIOWrapper_closed_get_impl(self); \
  |  | 1580|      0|                if (_res == NULL) \
  |  |  ------------------
  |  |  |  Branch (1580:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1581|      0|                    return NULL; \
  |  | 1582|      0|                r = PyObject_IsTrue(_res); \
  |  | 1583|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1584|      0|                if (r < 0) \
  |  |  ------------------
  |  |  |  Branch (1584:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1585|      0|                    return NULL; \
  |  | 1586|      0|            } \
  |  | 1587|      3|            if (r > 0) { \
  |  |  ------------------
  |  |  |  Branch (1587:17): [True: 0, False: 3]
  |  |  ------------------
  |  | 1588|      0|                PyErr_SetString(PyExc_ValueError, \
  |  | 1589|      0|                                "I/O operation on closed file."); \
  |  | 1590|      0|                return NULL; \
  |  | 1591|      0|            } \
  |  | 1592|      3|        } \
  |  | 1593|      3|        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 (1593:18): [True: 0, False: 0]
  |  |  ------------------
  |  | 1594|      0|            return NULL; \
  |  | 1595|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1595:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
 3207|      3|    self->telling = self->seekable;
 3208|      3|    if (_textiowrapper_writeflush(self) < 0)
  ------------------
  |  Branch (3208:9): [True: 0, False: 3]
  ------------------
 3209|      0|        return NULL;
 3210|      3|    return buffer_callmethod_noargs(self, &_Py_ID(flush));
  ------------------
  |  |  920|      3|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      3|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      3|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3211|      3|}
textio.c:_io_TextIOWrapper_close_impl:
 3221|      3|{
 3222|      3|    PyObject *res;
 3223|      3|    int r;
 3224|      3|    CHECK_ATTACHED(self);
  ------------------
  |  | 1605|      3|    CHECK_INITIALIZED(self); \
  |  |  ------------------
  |  |  |  | 1598|      3|    if (self->ok <= 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1598:9): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  | 1599|      0|        PyErr_SetString(PyExc_ValueError, \
  |  |  |  | 1600|      0|            "I/O operation on uninitialized object"); \
  |  |  |  | 1601|      0|        return NULL; \
  |  |  |  | 1602|      0|    }
  |  |  ------------------
  |  | 1606|      3|    if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (1606:9): [True: 0, False: 3]
  |  |  ------------------
  |  | 1607|      0|        PyErr_SetString(PyExc_ValueError, \
  |  | 1608|      0|             "underlying buffer has been detached"); \
  |  | 1609|      0|        return NULL; \
  |  | 1610|      0|    }
  ------------------
 3225|       |
 3226|      3|    res = _io_TextIOWrapper_closed_get_impl(self);
 3227|      3|    if (res == NULL)
  ------------------
  |  Branch (3227:9): [True: 0, False: 3]
  ------------------
 3228|      0|        return NULL;
 3229|      3|    r = PyObject_IsTrue(res);
 3230|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3231|      3|    if (r < 0)
  ------------------
  |  Branch (3231:9): [True: 0, False: 3]
  ------------------
 3232|      0|        return NULL;
 3233|       |
 3234|      3|    if (r > 0) {
  ------------------
  |  Branch (3234:9): [True: 0, False: 3]
  ------------------
 3235|      0|        Py_RETURN_NONE; /* stream already closed */
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 3236|      0|    }
 3237|      3|    if (self->detached) {
  ------------------
  |  Branch (3237:9): [True: 0, False: 3]
  ------------------
 3238|      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)
  |  |  ------------------
  ------------------
 3239|      0|    }
 3240|      3|    else {
 3241|      3|        PyObject *exc = NULL;
 3242|      3|        if (self->finalizing) {
  ------------------
  |  Branch (3242:13): [True: 0, False: 3]
  ------------------
 3243|      0|            res = buffer_callmethod_onearg(self,
 3244|      0|                                           &_Py_ID(_dealloc_warn),
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3245|      0|                                           (PyObject *)self);
 3246|      0|            if (res) {
  ------------------
  |  Branch (3246:17): [True: 0, False: 0]
  ------------------
 3247|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3248|      0|            }
 3249|      0|            else {
 3250|      0|                PyErr_Clear();
 3251|      0|            }
 3252|      0|        }
 3253|      3|        if (_PyFile_Flush((PyObject *)self) < 0) {
  ------------------
  |  Branch (3253:13): [True: 0, False: 3]
  ------------------
 3254|      0|            exc = PyErr_GetRaisedException();
 3255|      0|        }
 3256|       |
 3257|      3|        res = buffer_callmethod_noargs(self, &_Py_ID(close));
  ------------------
  |  |  920|      3|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      3|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      3|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3258|      3|        if (exc != NULL) {
  ------------------
  |  Branch (3258:13): [True: 0, False: 3]
  ------------------
 3259|      0|            _PyErr_ChainExceptions1(exc);
 3260|       |            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]
  |  |  ------------------
  ------------------
 3261|      0|        }
 3262|      3|        return res;
 3263|      3|    }
 3264|      3|}
textio.c:_io_TextIOWrapper___init___impl:
 1171|      9|{
 1172|      9|    PyObject *raw, *codec_info = NULL;
 1173|      9|    PyObject *res;
 1174|      9|    int r;
 1175|       |
 1176|      9|    self->ok = 0;
 1177|      9|    self->detached = 0;
 1178|       |
 1179|      9|    if (encoding == NULL) {
  ------------------
  |  Branch (1179:9): [True: 0, False: 9]
  ------------------
 1180|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 1181|      0|        if (_PyInterpreterState_GetConfig(interp)->warn_default_encoding) {
  ------------------
  |  Branch (1181:13): [True: 0, False: 0]
  ------------------
 1182|      0|            if (PyErr_WarnEx(PyExc_EncodingWarning,
  ------------------
  |  Branch (1182:17): [True: 0, False: 0]
  ------------------
 1183|      0|                             "'encoding' argument not specified", 1)) {
 1184|      0|                return -1;
 1185|      0|            }
 1186|      0|        }
 1187|      0|    }
 1188|       |
 1189|      9|    if (errors == Py_None) {
  ------------------
  |  |  616|      9|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1189:9): [True: 3, False: 6]
  ------------------
 1190|      3|        errors = &_Py_ID(strict);
  ------------------
  |  |  920|      3|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      3|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      3|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1191|      3|    }
 1192|      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 (1192:14): [True: 0, False: 6]
  ------------------
 1193|       |        // Check 'errors' argument here because Argument Clinic doesn't support
 1194|       |        // 'str(accept={str, NoneType})' converter.
 1195|      0|        PyErr_Format(
 1196|      0|            PyExc_TypeError,
 1197|      0|            "TextIOWrapper() argument 'errors' must be str or None, not %.50s",
 1198|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1199|      0|        return -1;
 1200|      0|    }
 1201|      6|    else if (io_check_errors(errors)) {
  ------------------
  |  Branch (1201:14): [True: 0, False: 6]
  ------------------
 1202|      0|        return -1;
 1203|      0|    }
 1204|      9|    const char *errors_str = _PyUnicode_AsUTF8NoNUL(errors);
 1205|      9|    if (errors_str == NULL) {
  ------------------
  |  Branch (1205:9): [True: 0, False: 9]
  ------------------
 1206|      0|        return -1;
 1207|      0|    }
 1208|       |
 1209|      9|    if (validate_newline(newline) < 0) {
  ------------------
  |  Branch (1209:9): [True: 0, False: 9]
  ------------------
 1210|      0|        return -1;
 1211|      0|    }
 1212|       |
 1213|      9|    Py_CLEAR(self->buffer);
  ------------------
  |  |  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: 0, False: 9]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      9|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 9]
  |  |  ------------------
  ------------------
 1214|      9|    Py_CLEAR(self->encoding);
  ------------------
  |  |  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: 0, False: 9]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      9|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 9]
  |  |  ------------------
  ------------------
 1215|      9|    Py_CLEAR(self->encoder);
  ------------------
  |  |  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: 0, False: 9]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      9|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 9]
  |  |  ------------------
  ------------------
 1216|      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: 0, False: 9]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      9|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 9]
  |  |  ------------------
  ------------------
 1217|      9|    Py_CLEAR(self->readnl);
  ------------------
  |  |  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: 0, False: 9]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      9|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 9]
  |  |  ------------------
  ------------------
 1218|      9|    Py_CLEAR(self->decoded_chars);
  ------------------
  |  |  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: 0, False: 9]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      9|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 9]
  |  |  ------------------
  ------------------
 1219|      9|    Py_CLEAR(self->pending_bytes);
  ------------------
  |  |  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: 0, False: 9]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      9|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 9]
  |  |  ------------------
  ------------------
 1220|      9|    Py_CLEAR(self->snapshot);
  ------------------
  |  |  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: 0, False: 9]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      9|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 9]
  |  |  ------------------
  ------------------
 1221|      9|    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: 0, False: 9]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      9|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 9]
  |  |  ------------------
  ------------------
 1222|      9|    Py_CLEAR(self->raw);
  ------------------
  |  |  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: 0, False: 9]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      9|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 9]
  |  |  ------------------
  ------------------
 1223|      9|    self->decoded_chars_used = 0;
 1224|      9|    self->pending_bytes_count = 0;
 1225|      9|    self->encodefunc = NULL;
 1226|      9|    self->b2cratio = 0.0;
 1227|       |
 1228|      9|    if (encoding == NULL && _PyRuntime.preconfig.utf8_mode) {
  ------------------
  |  Branch (1228:9): [True: 0, False: 9]
  |  Branch (1228:29): [True: 0, False: 0]
  ------------------
 1229|      0|        _Py_DECLARE_STR(utf_8, "utf-8");
 1230|      0|        self->encoding = &_Py_STR(utf_8);
  ------------------
  |  |  922|      0|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1231|      0|    }
 1232|      9|    else if (encoding == NULL || (strcmp(encoding, "locale") == 0)) {
  ------------------
  |  Branch (1232:14): [True: 0, False: 9]
  |  Branch (1232:34): [True: 0, False: 9]
  ------------------
 1233|      0|        self->encoding = _Py_GetLocaleEncodingObject();
 1234|      0|        if (self->encoding == NULL) {
  ------------------
  |  Branch (1234:13): [True: 0, False: 0]
  ------------------
 1235|      0|            goto error;
 1236|      0|        }
 1237|      0|        assert(PyUnicode_Check(self->encoding));
  ------------------
  |  Branch (1237:9): [True: 0, False: 0]
  ------------------
 1238|      0|    }
 1239|       |
 1240|      9|    if (self->encoding != NULL) {
  ------------------
  |  Branch (1240:9): [True: 0, False: 9]
  ------------------
 1241|      0|        encoding = PyUnicode_AsUTF8(self->encoding);
 1242|      0|        if (encoding == NULL)
  ------------------
  |  Branch (1242:13): [True: 0, False: 0]
  ------------------
 1243|      0|            goto error;
 1244|      0|    }
 1245|      9|    else if (encoding != NULL) {
  ------------------
  |  Branch (1245:14): [True: 9, False: 0]
  ------------------
 1246|      9|        self->encoding = PyUnicode_FromString(encoding);
 1247|      9|        if (self->encoding == NULL)
  ------------------
  |  Branch (1247:13): [True: 0, False: 9]
  ------------------
 1248|      0|            goto error;
 1249|      9|    }
 1250|      0|    else {
 1251|      0|        PyErr_SetString(PyExc_OSError,
 1252|      0|                        "could not determine default encoding");
 1253|      0|        goto error;
 1254|      0|    }
 1255|       |
 1256|       |    /* Check we have been asked for a real text encoding */
 1257|      9|    codec_info = _PyCodec_LookupTextEncoding(encoding, NULL);
 1258|      9|    if (codec_info == NULL) {
  ------------------
  |  Branch (1258:9): [True: 0, False: 9]
  ------------------
 1259|      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]
  |  |  ------------------
  ------------------
 1260|      0|        goto error;
 1261|      0|    }
 1262|       |
 1263|       |    /* XXX: Failures beyond this point have the potential to leak elements
 1264|       |     * of the partially constructed object (like self->encoding)
 1265|       |     */
 1266|       |
 1267|      9|    self->errors = Py_NewRef(errors);
  ------------------
  |  |  550|      9|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1268|      9|    self->chunk_size = 8192;
 1269|      9|    self->line_buffering = line_buffering;
 1270|      9|    self->write_through = write_through;
 1271|      9|    if (set_newline(self, newline) < 0) {
  ------------------
  |  Branch (1271:9): [True: 0, False: 9]
  ------------------
 1272|      0|        goto error;
 1273|      0|    }
 1274|       |
 1275|      9|    self->buffer = Py_NewRef(buffer);
  ------------------
  |  |  550|      9|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1276|       |
 1277|       |    /* Build the decoder object */
 1278|      9|    _PyIO_State *state = find_io_state_by_def(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1279|      9|    self->state = state;
 1280|      9|    if (_textiowrapper_set_decoder(self, codec_info, errors_str) != 0)
  ------------------
  |  Branch (1280:9): [True: 0, False: 9]
  ------------------
 1281|      0|        goto error;
 1282|       |
 1283|       |    /* Build the encoder object */
 1284|      9|    if (_textiowrapper_set_encoder(self, codec_info, errors_str) != 0)
  ------------------
  |  Branch (1284:9): [True: 0, False: 9]
  ------------------
 1285|      0|        goto error;
 1286|       |
 1287|       |    /* Finished sorting out the codec details */
 1288|      9|    Py_CLEAR(codec_info);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1289|       |
 1290|      9|    if (Py_IS_TYPE(buffer, state->PyBufferedReader_Type) ||
  ------------------
  |  |  215|     18|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 5, False: 4]
  |  |  ------------------
  ------------------
 1291|      4|        Py_IS_TYPE(buffer, state->PyBufferedWriter_Type) ||
  ------------------
  |  |  215|     13|#  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]
  |  |  ------------------
  ------------------
 1292|      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]
  |  |  ------------------
  ------------------
 1293|      9|    {
 1294|      9|        if (PyObject_GetOptionalAttr(buffer, &_Py_ID(raw), &raw) < 0)
  ------------------
  |  |  920|      9|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      9|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      9|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1294:13): [True: 0, False: 9]
  ------------------
 1295|      0|            goto error;
 1296|       |        /* Cache the raw FileIO object to speed up 'closed' checks */
 1297|      9|        if (raw != NULL) {
  ------------------
  |  Branch (1297:13): [True: 9, False: 0]
  ------------------
 1298|      9|            if (Py_IS_TYPE(raw, state->PyFileIO_Type))
  ------------------
  |  |  215|      9|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 9, False: 0]
  |  |  ------------------
  ------------------
 1299|      9|                self->raw = raw;
 1300|      0|            else
 1301|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1302|      9|        }
 1303|      9|    }
 1304|       |
 1305|      9|    res = PyObject_CallMethodNoArgs(buffer, &_Py_ID(seekable));
  ------------------
  |  |  920|      9|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      9|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      9|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1306|      9|    if (res == NULL)
  ------------------
  |  Branch (1306:9): [True: 0, False: 9]
  ------------------
 1307|      0|        goto error;
 1308|      9|    r = PyObject_IsTrue(res);
 1309|      9|    Py_DECREF(res);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1310|      9|    if (r < 0)
  ------------------
  |  Branch (1310:9): [True: 0, False: 9]
  ------------------
 1311|      0|        goto error;
 1312|      9|    self->seekable = self->telling = r;
 1313|       |
 1314|      9|    r = PyObject_HasAttrWithError(buffer, &_Py_ID(read1));
  ------------------
  |  |  920|      9|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      9|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      9|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1315|      9|    if (r < 0) {
  ------------------
  |  Branch (1315:9): [True: 0, False: 9]
  ------------------
 1316|      0|        goto error;
 1317|      0|    }
 1318|      9|    self->has_read1 = r;
 1319|       |
 1320|      9|    self->encoding_start_of_stream = 0;
 1321|      9|    if (_textiowrapper_fix_encoder_state(self) < 0) {
  ------------------
  |  Branch (1321:9): [True: 0, False: 9]
  ------------------
 1322|      0|        goto error;
 1323|      0|    }
 1324|       |
 1325|      9|    self->ok = 1;
 1326|      9|    return 0;
 1327|       |
 1328|      0|  error:
 1329|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1330|      0|    return -1;
 1331|      9|}
textio.c:io_check_errors:
 1092|      6|{
 1093|      6|    assert(errors != NULL && errors != Py_None);
  ------------------
  |  Branch (1093:5): [True: 6, False: 0]
  |  Branch (1093:5): [True: 6, False: 0]
  ------------------
 1094|       |
 1095|      6|    PyInterpreterState *interp = _PyInterpreterState_GET();
 1096|      6|#ifndef Py_DEBUG
 1097|       |    /* In release mode, only check in development mode (-X dev) */
 1098|      6|    if (!_PyInterpreterState_GetConfig(interp)->dev_mode) {
  ------------------
  |  Branch (1098:9): [True: 6, False: 0]
  ------------------
 1099|      6|        return 0;
 1100|      6|    }
 1101|       |#else
 1102|       |    /* Always check in debug mode */
 1103|       |#endif
 1104|       |
 1105|       |    /* Avoid calling PyCodec_LookupError() before the codec registry is ready:
 1106|       |       before_PyUnicode_InitEncodings() is called. */
 1107|      0|    if (!interp->unicode.fs_codec.encoding) {
  ------------------
  |  Branch (1107:9): [True: 0, False: 0]
  ------------------
 1108|      0|        return 0;
 1109|      0|    }
 1110|       |
 1111|      0|    const char *name = _PyUnicode_AsUTF8NoNUL(errors);
 1112|      0|    if (name == NULL) {
  ------------------
  |  Branch (1112:9): [True: 0, False: 0]
  ------------------
 1113|      0|        return -1;
 1114|      0|    }
 1115|      0|    PyObject *handler = PyCodec_LookupError(name);
 1116|      0|    if (handler != NULL) {
  ------------------
  |  Branch (1116:9): [True: 0, False: 0]
  ------------------
 1117|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1118|      0|        return 0;
 1119|      0|    }
 1120|      0|    return -1;
 1121|      0|}

PyInit__locale:
 1140|      1|{
 1141|      1|    return PyModuleDef_Init(&_localemodule);
 1142|      1|}
_localemodule.c:get_locale_state:
   42|    255|{
   43|    255|    void *state = PyModule_GetState(m);
   44|    255|    assert(state != NULL);
  ------------------
  |  Branch (44:5): [True: 255, False: 0]
  ------------------
   45|    255|    return (_locale_state *)state;
   46|    255|}
_localemodule.c:_locale_exec:
 1048|      1|{
 1049|      1|#ifdef HAVE_LANGINFO_H
 1050|      1|    int i;
 1051|      1|#endif
 1052|      1|#define ADD_INT(module, value)                                    \
 1053|      1|    do {                                                          \
 1054|      1|        if (PyModule_AddIntConstant(module, #value, value) < 0) { \
 1055|      1|            return -1;                                            \
 1056|      1|        }                                                         \
 1057|      1|    } while (0)
 1058|       |
 1059|      1|    ADD_INT(module, LC_CTYPE);
  ------------------
  |  | 1053|      1|    do {                                                          \
  |  | 1054|      1|        if (PyModule_AddIntConstant(module, #value, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1054:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 1055|      0|            return -1;                                            \
  |  | 1056|      0|        }                                                         \
  |  | 1057|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1057:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1060|      1|    ADD_INT(module, LC_TIME);
  ------------------
  |  | 1053|      1|    do {                                                          \
  |  | 1054|      1|        if (PyModule_AddIntConstant(module, #value, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1054:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 1055|      0|            return -1;                                            \
  |  | 1056|      0|        }                                                         \
  |  | 1057|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1057:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1061|      1|    ADD_INT(module, LC_COLLATE);
  ------------------
  |  | 1053|      1|    do {                                                          \
  |  | 1054|      1|        if (PyModule_AddIntConstant(module, #value, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1054:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 1055|      0|            return -1;                                            \
  |  | 1056|      0|        }                                                         \
  |  | 1057|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1057:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1062|      1|    ADD_INT(module, LC_MONETARY);
  ------------------
  |  | 1053|      1|    do {                                                          \
  |  | 1054|      1|        if (PyModule_AddIntConstant(module, #value, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1054:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 1055|      0|            return -1;                                            \
  |  | 1056|      0|        }                                                         \
  |  | 1057|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1057:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1063|       |
 1064|      1|#ifdef LC_MESSAGES
 1065|      1|    ADD_INT(module, LC_MESSAGES);
  ------------------
  |  | 1053|      1|    do {                                                          \
  |  | 1054|      1|        if (PyModule_AddIntConstant(module, #value, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1054:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 1055|      0|            return -1;                                            \
  |  | 1056|      0|        }                                                         \
  |  | 1057|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1057:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1066|      1|#endif /* LC_MESSAGES */
 1067|       |
 1068|      1|    ADD_INT(module, LC_NUMERIC);
  ------------------
  |  | 1053|      1|    do {                                                          \
  |  | 1054|      1|        if (PyModule_AddIntConstant(module, #value, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1054:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 1055|      0|            return -1;                                            \
  |  | 1056|      0|        }                                                         \
  |  | 1057|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1057:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1069|      1|    ADD_INT(module, LC_ALL);
  ------------------
  |  | 1053|      1|    do {                                                          \
  |  | 1054|      1|        if (PyModule_AddIntConstant(module, #value, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1054:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 1055|      0|            return -1;                                            \
  |  | 1056|      0|        }                                                         \
  |  | 1057|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1057:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1070|      1|    ADD_INT(module, CHAR_MAX);
  ------------------
  |  | 1053|      1|    do {                                                          \
  |  | 1054|      1|        if (PyModule_AddIntConstant(module, #value, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1054:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 1055|      0|            return -1;                                            \
  |  | 1056|      0|        }                                                         \
  |  | 1057|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1057:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1071|       |
 1072|      1|    _locale_state *state = get_locale_state(module);
 1073|      1|    state->Error = PyErr_NewException("locale.Error", NULL, NULL);
 1074|      1|    if (PyModule_AddObjectRef(module, "Error", state->Error) < 0) {
  ------------------
  |  Branch (1074:9): [True: 0, False: 1]
  ------------------
 1075|      0|        return -1;
 1076|      0|    }
 1077|       |
 1078|      1|#ifdef HAVE_LANGINFO_H
 1079|     57|    for (i = 0; langinfo_constants[i].name; i++) {
  ------------------
  |  Branch (1079:17): [True: 56, False: 1]
  ------------------
 1080|     56|        if (PyModule_AddIntConstant(module,
  ------------------
  |  Branch (1080:13): [True: 0, False: 56]
  ------------------
 1081|     56|                                    langinfo_constants[i].name,
 1082|     56|                                    langinfo_constants[i].value) < 0) {
 1083|      0|            return -1;
 1084|      0|        }
 1085|     56|    }
 1086|      1|#endif
 1087|       |
 1088|      1|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1088:9): [True: 0, False: 1]
  ------------------
 1089|      0|        return -1;
 1090|      0|    }
 1091|      1|    return 0;
 1092|       |
 1093|      1|#undef ADD_INT
 1094|      1|}
_localemodule.c:locale_traverse:
 1106|    254|{
 1107|    254|    _locale_state *state = get_locale_state(module);
 1108|    254|    Py_VISIT(state->Error);
  ------------------
  |  |  194|    254|    do {                                                                \
  |  |  195|    254|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 254, False: 0]
  |  |  ------------------
  |  |  196|    254|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    254|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    254|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    254|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 254]
  |  |  ------------------
  |  |  198|    254|                return vret;                                            \
  |  |  199|    254|        }                                                               \
  |  |  200|    254|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 254]
  |  |  ------------------
  ------------------
 1109|    254|    return 0;
 1110|    254|}

PyInit__operator:
 2031|      1|{
 2032|      1|    return PyModuleDef_Init(&operatormodule);
 2033|      1|}
_operator.c:operator_exec:
 1953|      1|{
 1954|      1|    _operator_state *state = get_operator_state(module);
 1955|      1|    state->attrgetter_type = PyType_FromModuleAndSpec(module, &attrgetter_type_spec, NULL);
 1956|      1|    if (state->attrgetter_type == NULL) {
  ------------------
  |  Branch (1956:9): [True: 0, False: 1]
  ------------------
 1957|      0|        return -1;
 1958|      0|    }
 1959|      1|    if (PyModule_AddType(module, (PyTypeObject *)state->attrgetter_type) < 0) {
  ------------------
  |  Branch (1959:9): [True: 0, False: 1]
  ------------------
 1960|      0|        return -1;
 1961|      0|    }
 1962|       |
 1963|      1|    state->itemgetter_type = PyType_FromModuleAndSpec(module, &itemgetter_type_spec, NULL);
 1964|      1|    if (state->itemgetter_type == NULL) {
  ------------------
  |  Branch (1964:9): [True: 0, False: 1]
  ------------------
 1965|      0|        return -1;
 1966|      0|    }
 1967|      1|    if (PyModule_AddType(module, (PyTypeObject *)state->itemgetter_type) < 0) {
  ------------------
  |  Branch (1967:9): [True: 0, False: 1]
  ------------------
 1968|      0|        return -1;
 1969|      0|    }
 1970|       |
 1971|      1|    state->methodcaller_type = PyType_FromModuleAndSpec(module, &methodcaller_type_spec, NULL);
 1972|      1|    if (state->methodcaller_type == NULL) {
  ------------------
  |  Branch (1972:9): [True: 0, False: 1]
  ------------------
 1973|      0|        return -1;
 1974|      0|    }
 1975|      1|    if (PyModule_AddType(module, (PyTypeObject *)state->methodcaller_type) < 0) {
  ------------------
  |  Branch (1975:9): [True: 0, False: 1]
  ------------------
 1976|      0|        return -1;
 1977|      0|    }
 1978|       |
 1979|      1|    return 0;
 1980|      1|}
_operator.c:get_operator_state:
   20|    269|{
   21|    269|    void *state = _PyModule_GetState(module);
   22|    269|    assert(state != NULL);
  ------------------
  |  Branch (22:5): [True: 269, False: 0]
  ------------------
   23|    269|    return (_operator_state *)state;
   24|    269|}
_operator.c:operator_traverse:
 1993|    268|{
 1994|    268|    _operator_state *state = get_operator_state(module);
 1995|    268|    Py_VISIT(state->attrgetter_type);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 1996|    268|    Py_VISIT(state->itemgetter_type);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 1997|    268|    Py_VISIT(state->methodcaller_type);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 1998|    268|    return 0;
 1999|    268|}

sre.c:_sre_compile:
 1073|  2.20k|{
 1074|  2.20k|    PyObject *return_value = NULL;
 1075|  2.20k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1076|       |
 1077|  2.20k|    #define NUM_KEYWORDS 6
 1078|  2.20k|    static struct {
 1079|  2.20k|        PyGC_Head _this_is_not_used;
 1080|  2.20k|        PyObject_VAR_HEAD
 1081|  2.20k|        Py_hash_t ob_hash;
 1082|  2.20k|        PyObject *ob_item[NUM_KEYWORDS];
 1083|  2.20k|    } _kwtuple = {
 1084|  2.20k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  2.20k|    {                                     \
  |  |   98|  2.20k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  2.20k|    {                               \
  |  |  |  |   91|  2.20k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  2.20k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  2.20k|#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.20k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  2.20k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  2.20k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  2.20k|        (type)                      \
  |  |  |  |   93|  2.20k|    },
  |  |  ------------------
  |  |   99|  2.20k|        (size)                            \
  |  |  100|  2.20k|    },
  ------------------
 1085|  2.20k|        .ob_hash = -1,
 1086|  2.20k|        .ob_item = { &_Py_ID(pattern), &_Py_ID(flags), &_Py_ID(code), &_Py_ID(groups), &_Py_ID(groupindex), &_Py_ID(indexgroup), },
  ------------------
  |  |  920|  2.20k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.20k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.20k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(pattern), &_Py_ID(flags), &_Py_ID(code), &_Py_ID(groups), &_Py_ID(groupindex), &_Py_ID(indexgroup), },
  ------------------
  |  |  920|  2.20k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.20k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.20k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(pattern), &_Py_ID(flags), &_Py_ID(code), &_Py_ID(groups), &_Py_ID(groupindex), &_Py_ID(indexgroup), },
  ------------------
  |  |  920|  2.20k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.20k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.20k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(pattern), &_Py_ID(flags), &_Py_ID(code), &_Py_ID(groups), &_Py_ID(groupindex), &_Py_ID(indexgroup), },
  ------------------
  |  |  920|  2.20k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.20k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.20k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(pattern), &_Py_ID(flags), &_Py_ID(code), &_Py_ID(groups), &_Py_ID(groupindex), &_Py_ID(indexgroup), },
  ------------------
  |  |  920|  2.20k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.20k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.20k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(pattern), &_Py_ID(flags), &_Py_ID(code), &_Py_ID(groups), &_Py_ID(groupindex), &_Py_ID(indexgroup), },
  ------------------
  |  |  920|  2.20k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.20k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.20k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1087|  2.20k|    };
 1088|  2.20k|    #undef NUM_KEYWORDS
 1089|  2.20k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1090|       |
 1091|       |    #else  // !Py_BUILD_CORE
 1092|       |    #  define KWTUPLE NULL
 1093|       |    #endif  // !Py_BUILD_CORE
 1094|       |
 1095|  2.20k|    static const char * const _keywords[] = {"pattern", "flags", "code", "groups", "groupindex", "indexgroup", NULL};
 1096|  2.20k|    static _PyArg_Parser _parser = {
 1097|  2.20k|        .keywords = _keywords,
 1098|  2.20k|        .fname = "compile",
 1099|  2.20k|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1089|  2.20k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1100|  2.20k|    };
 1101|  2.20k|    #undef KWTUPLE
 1102|  2.20k|    PyObject *argsbuf[6];
 1103|  2.20k|    PyObject *pattern;
 1104|  2.20k|    int flags;
 1105|  2.20k|    PyObject *code;
 1106|  2.20k|    Py_ssize_t groups;
 1107|  2.20k|    PyObject *groupindex;
 1108|  2.20k|    PyObject *indexgroup;
 1109|       |
 1110|  2.20k|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|  2.20k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 2.20k, False: 0]
  |  |  ------------------
  |  |   89|  2.20k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 2.20k, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 2.20k]
  |  |  |  Branch (89:43): [True: 2.20k, False: 0]
  |  |  |  Branch (89:67): [True: 2.20k, False: 0]
  |  |  ------------------
  |  |   90|  2.20k|      (args) : \
  |  |   91|  2.20k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1111|  2.20k|            /*minpos*/ 6, /*maxpos*/ 6, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1112|  2.20k|    if (!args) {
  ------------------
  |  Branch (1112:9): [True: 0, False: 2.20k]
  ------------------
 1113|      0|        goto exit;
 1114|      0|    }
 1115|  2.20k|    pattern = args[0];
 1116|  2.20k|    flags = PyLong_AsInt(args[1]);
 1117|  2.20k|    if (flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1117:9): [True: 0, False: 2.20k]
  |  Branch (1117:24): [True: 0, False: 0]
  ------------------
 1118|      0|        goto exit;
 1119|      0|    }
 1120|  2.20k|    if (!PyList_Check(args[2])) {
  ------------------
  |  |   25|  2.20k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.20k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1120:9): [True: 0, False: 2.20k]
  ------------------
 1121|      0|        _PyArg_BadArgument("compile", "argument 'code'", "list", args[2]);
 1122|      0|        goto exit;
 1123|      0|    }
 1124|  2.20k|    code = args[2];
 1125|  2.20k|    {
 1126|  2.20k|        Py_ssize_t ival = -1;
 1127|  2.20k|        PyObject *iobj = _PyNumber_Index(args[3]);
 1128|  2.20k|        if (iobj != NULL) {
  ------------------
  |  Branch (1128:13): [True: 2.20k, False: 0]
  ------------------
 1129|  2.20k|            ival = PyLong_AsSsize_t(iobj);
 1130|  2.20k|            Py_DECREF(iobj);
  ------------------
  |  |  430|  2.20k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.20k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1131|  2.20k|        }
 1132|  2.20k|        if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1132:13): [True: 0, False: 2.20k]
  |  Branch (1132:27): [True: 0, False: 0]
  ------------------
 1133|      0|            goto exit;
 1134|      0|        }
 1135|  2.20k|        groups = ival;
 1136|  2.20k|    }
 1137|  2.20k|    if (!PyDict_Check(args[4])) {
  ------------------
  |  |   18|  2.20k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.20k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1137:9): [True: 0, False: 2.20k]
  ------------------
 1138|      0|        _PyArg_BadArgument("compile", "argument 'groupindex'", "dict", args[4]);
 1139|      0|        goto exit;
 1140|      0|    }
 1141|  2.20k|    groupindex = args[4];
 1142|  2.20k|    if (!PyTuple_Check(args[5])) {
  ------------------
  |  |   27|  2.20k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.20k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1142:9): [True: 0, False: 2.20k]
  ------------------
 1143|      0|        _PyArg_BadArgument("compile", "argument 'indexgroup'", "tuple", args[5]);
 1144|      0|        goto exit;
 1145|      0|    }
 1146|  2.20k|    indexgroup = args[5];
 1147|  2.20k|    return_value = _sre_compile_impl(module, pattern, flags, code, groups, groupindex, indexgroup);
 1148|       |
 1149|  2.20k|exit:
 1150|  2.20k|    return return_value;
 1151|  2.20k|}
sre.c:_sre_ascii_iscased:
   52|  3.00M|{
   53|  3.00M|    PyObject *return_value = NULL;
   54|  3.00M|    int character;
   55|  3.00M|    int _return_value;
   56|       |
   57|  3.00M|    character = PyLong_AsInt(arg);
   58|  3.00M|    if (character == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (58:9): [True: 0, False: 3.00M]
  |  Branch (58:28): [True: 0, False: 0]
  ------------------
   59|      0|        goto exit;
   60|      0|    }
   61|  3.00M|    _return_value = _sre_ascii_iscased_impl(module, character);
   62|  3.00M|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (62:9): [True: 0, False: 3.00M]
  |  Branch (62:34): [True: 0, False: 0]
  ------------------
   63|      0|        goto exit;
   64|      0|    }
   65|  3.00M|    return_value = PyBool_FromLong((long)_return_value);
   66|       |
   67|  3.00M|exit:
   68|  3.00M|    return return_value;
   69|  3.00M|}
sre.c:_sre_unicode_iscased:
   84|     19|{
   85|     19|    PyObject *return_value = NULL;
   86|     19|    int character;
   87|     19|    int _return_value;
   88|       |
   89|     19|    character = PyLong_AsInt(arg);
   90|     19|    if (character == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (90:9): [True: 0, False: 19]
  |  Branch (90:28): [True: 0, False: 0]
  ------------------
   91|      0|        goto exit;
   92|      0|    }
   93|     19|    _return_value = _sre_unicode_iscased_impl(module, character);
   94|     19|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (94:9): [True: 0, False: 19]
  |  Branch (94:34): [True: 0, False: 0]
  ------------------
   95|      0|        goto exit;
   96|      0|    }
   97|     19|    return_value = PyBool_FromLong((long)_return_value);
   98|       |
   99|     19|exit:
  100|     19|    return return_value;
  101|     19|}
sre.c:_sre_ascii_tolower:
  116|  8.57M|{
  117|  8.57M|    PyObject *return_value = NULL;
  118|  8.57M|    int character;
  119|  8.57M|    int _return_value;
  120|       |
  121|  8.57M|    character = PyLong_AsInt(arg);
  122|  8.57M|    if (character == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (122:9): [True: 0, False: 8.57M]
  |  Branch (122:28): [True: 0, False: 0]
  ------------------
  123|      0|        goto exit;
  124|      0|    }
  125|  8.57M|    _return_value = _sre_ascii_tolower_impl(module, character);
  126|  8.57M|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (126:9): [True: 0, False: 8.57M]
  |  Branch (126:34): [True: 0, False: 0]
  ------------------
  127|      0|        goto exit;
  128|      0|    }
  129|  8.57M|    return_value = PyLong_FromLong((long)_return_value);
  130|       |
  131|  8.57M|exit:
  132|  8.57M|    return return_value;
  133|  8.57M|}
sre.c:_sre_unicode_tolower:
  148|     17|{
  149|     17|    PyObject *return_value = NULL;
  150|     17|    int character;
  151|     17|    int _return_value;
  152|       |
  153|     17|    character = PyLong_AsInt(arg);
  154|     17|    if (character == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (154:9): [True: 0, False: 17]
  |  Branch (154:28): [True: 0, False: 0]
  ------------------
  155|      0|        goto exit;
  156|      0|    }
  157|     17|    _return_value = _sre_unicode_tolower_impl(module, character);
  158|     17|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (158:9): [True: 0, False: 17]
  |  Branch (158:34): [True: 0, False: 0]
  ------------------
  159|      0|        goto exit;
  160|      0|    }
  161|     17|    return_value = PyLong_FromLong((long)_return_value);
  162|       |
  163|     17|exit:
  164|     17|    return return_value;
  165|     17|}
sre.c:_sre_SRE_Pattern_prefixmatch:
  183|     13|{
  184|     13|    PyObject *return_value = NULL;
  185|     13|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  186|       |
  187|     13|    #define NUM_KEYWORDS 3
  188|     13|    static struct {
  189|     13|        PyGC_Head _this_is_not_used;
  190|     13|        PyObject_VAR_HEAD
  191|     13|        Py_hash_t ob_hash;
  192|     13|        PyObject *ob_item[NUM_KEYWORDS];
  193|     13|    } _kwtuple = {
  194|     13|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     13|    {                                     \
  |  |   98|     13|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     13|    {                               \
  |  |  |  |   91|     13|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     13|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     13|#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|     13|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     13|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     13|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     13|        (type)                      \
  |  |  |  |   93|     13|    },
  |  |  ------------------
  |  |   99|     13|        (size)                            \
  |  |  100|     13|    },
  ------------------
  195|     13|        .ob_hash = -1,
  196|     13|        .ob_item = { &_Py_ID(string), &_Py_ID(pos), &_Py_ID(endpos), },
  ------------------
  |  |  920|     13|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     13|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     13|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(string), &_Py_ID(pos), &_Py_ID(endpos), },
  ------------------
  |  |  920|     13|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     13|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     13|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(string), &_Py_ID(pos), &_Py_ID(endpos), },
  ------------------
  |  |  920|     13|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     13|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     13|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  197|     13|    };
  198|     13|    #undef NUM_KEYWORDS
  199|     13|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  200|       |
  201|       |    #else  // !Py_BUILD_CORE
  202|       |    #  define KWTUPLE NULL
  203|       |    #endif  // !Py_BUILD_CORE
  204|       |
  205|     13|    static const char * const _keywords[] = {"string", "pos", "endpos", NULL};
  206|     13|    static _PyArg_Parser _parser = {
  207|     13|        .keywords = _keywords,
  208|     13|        .fname = "prefixmatch",
  209|     13|        .kwtuple = KWTUPLE,
  ------------------
  |  |  199|     13|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  210|     13|    };
  211|     13|    #undef KWTUPLE
  212|     13|    PyObject *argsbuf[3];
  213|     13|    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: 13]
  ------------------
  214|     13|    PyObject *string;
  215|     13|    Py_ssize_t pos = 0;
  216|     13|    Py_ssize_t endpos = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|     13|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  217|       |
  218|     13|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|     13|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 13, False: 0]
  |  |  ------------------
  |  |   89|     13|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 13, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 13]
  |  |  |  Branch (89:43): [True: 13, False: 0]
  |  |  |  Branch (89:67): [True: 13, False: 0]
  |  |  ------------------
  |  |   90|     13|      (args) : \
  |  |   91|     13|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  219|     13|            /*minpos*/ 1, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  220|     13|    if (!args) {
  ------------------
  |  Branch (220:9): [True: 0, False: 13]
  ------------------
  221|      0|        goto exit;
  222|      0|    }
  223|     13|    string = args[0];
  224|     13|    if (!noptargs) {
  ------------------
  |  Branch (224:9): [True: 13, False: 0]
  ------------------
  225|     13|        goto skip_optional_pos;
  226|     13|    }
  227|      0|    if (args[1]) {
  ------------------
  |  Branch (227:9): [True: 0, False: 0]
  ------------------
  228|      0|        {
  229|      0|            Py_ssize_t ival = -1;
  230|      0|            PyObject *iobj = _PyNumber_Index(args[1]);
  231|      0|            if (iobj != NULL) {
  ------------------
  |  Branch (231:17): [True: 0, False: 0]
  ------------------
  232|      0|                ival = PyLong_AsSsize_t(iobj);
  233|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  234|      0|            }
  235|      0|            if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (235:17): [True: 0, False: 0]
  |  Branch (235:31): [True: 0, False: 0]
  ------------------
  236|      0|                goto exit;
  237|      0|            }
  238|      0|            pos = ival;
  239|      0|        }
  240|      0|        if (!--noptargs) {
  ------------------
  |  Branch (240:13): [True: 0, False: 0]
  ------------------
  241|      0|            goto skip_optional_pos;
  242|      0|        }
  243|      0|    }
  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|     13|skip_optional_pos:
  257|     13|    return_value = _sre_SRE_Pattern_prefixmatch_impl((PatternObject *)self, cls, string, pos, endpos);
  258|       |
  259|     13|exit:
  260|     13|    return return_value;
  261|     13|}

PyInit__sre:
 3693|      1|{
 3694|      1|    return PyModuleDef_Init(&sremodule);
 3695|      1|}
sre.c:_sre_compile_impl:
 1779|  2.20k|{
 1780|       |    /* "compile" pattern descriptor to pattern object */
 1781|       |
 1782|  2.20k|    _sremodulestate *module_state = get_sre_module_state(module);
 1783|  2.20k|    PatternObject* self;
 1784|  2.20k|    Py_ssize_t i, n;
 1785|       |
 1786|  2.20k|    n = PyList_GET_SIZE(code);
  ------------------
  |  |   38|  2.20k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.20k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1787|       |    /* coverity[ampersand_in_size] */
 1788|  2.20k|    self = PyObject_GC_NewVar(PatternObject, module_state->Pattern_Type, n);
  ------------------
  |  |  183|  2.20k|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|  2.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1789|  2.20k|    if (!self)
  ------------------
  |  Branch (1789:9): [True: 0, False: 2.20k]
  ------------------
 1790|      0|        return NULL;
 1791|  2.20k|    self->weakreflist = NULL;
 1792|  2.20k|    self->pattern = NULL;
 1793|  2.20k|    self->groupindex = NULL;
 1794|  2.20k|    self->indexgroup = NULL;
 1795|       |#ifdef Py_DEBUG
 1796|       |    self->fail_after_count = -1;
 1797|       |    self->fail_after_exc = NULL;
 1798|       |#endif
 1799|       |
 1800|  2.20k|    self->codesize = n;
 1801|       |
 1802|  20.4M|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1802:17): [True: 20.4M, False: 2.20k]
  ------------------
 1803|  20.4M|        PyObject *o = PyList_GET_ITEM(code, i);
  ------------------
  |  |   40|  20.4M|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  20.4M|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1803:23): [True: 20.4M, False: 0]
  ------------------
 1804|      0|        unsigned long value = PyLong_AsUnsignedLong(o);
 1805|  20.4M|        if (value == (unsigned long)-1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1805:13): [True: 0, False: 20.4M]
  |  Branch (1805:43): [True: 0, False: 0]
  ------------------
 1806|      0|            break;
 1807|      0|        }
 1808|  20.4M|        self->code[i] = (SRE_CODE) value;
 1809|  20.4M|        if ((unsigned long) self->code[i] != value) {
  ------------------
  |  Branch (1809:13): [True: 0, False: 20.4M]
  ------------------
 1810|      0|            PyErr_SetString(PyExc_OverflowError,
 1811|      0|                            "regular expression code size limit exceeded");
 1812|      0|            break;
 1813|      0|        }
 1814|  20.4M|    }
 1815|  2.20k|    PyObject_GC_Track(self);
 1816|       |
 1817|  2.20k|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1817:9): [True: 0, False: 2.20k]
  ------------------
 1818|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1819|      0|        return NULL;
 1820|      0|    }
 1821|       |
 1822|  2.20k|    if (pattern == Py_None) {
  ------------------
  |  |  616|  2.20k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1822:9): [True: 0, False: 2.20k]
  ------------------
 1823|      0|        self->isbytes = -1;
 1824|      0|    }
 1825|  2.20k|    else {
 1826|  2.20k|        Py_ssize_t p_length;
 1827|  2.20k|        int charsize;
 1828|  2.20k|        Py_buffer view;
 1829|  2.20k|        view.buf = NULL;
 1830|  2.20k|        if (!getstring(pattern, &p_length, &self->isbytes,
  ------------------
  |  Branch (1830:13): [True: 0, False: 2.20k]
  ------------------
 1831|  2.20k|                       &charsize, &view)) {
 1832|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1833|      0|            return NULL;
 1834|      0|        }
 1835|  2.20k|        if (view.buf)
  ------------------
  |  Branch (1835:13): [True: 2.19k, False: 6]
  ------------------
 1836|  2.19k|            PyBuffer_Release(&view);
 1837|  2.20k|    }
 1838|       |
 1839|  2.20k|    self->pattern = Py_NewRef(pattern);
  ------------------
  |  |  550|  2.20k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.20k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1840|       |
 1841|  2.20k|    self->flags = flags;
 1842|       |
 1843|  2.20k|    self->groups = groups;
 1844|       |
 1845|  2.20k|    if (PyDict_GET_SIZE(groupindex) > 0) {
  ------------------
  |  |   63|  2.20k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.20k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1845:9): [True: 36, False: 2.16k]
  ------------------
 1846|     36|        self->groupindex = Py_NewRef(groupindex);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1847|     36|        if (PyTuple_GET_SIZE(indexgroup) > 0) {
  ------------------
  |  |   27|     36|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1847:13): [True: 36, False: 0]
  ------------------
 1848|     36|            self->indexgroup = Py_NewRef(indexgroup);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1849|     36|        }
 1850|     36|    }
 1851|       |
 1852|  2.20k|    if (!_validate(self)) {
  ------------------
  |  Branch (1852:9): [True: 0, False: 2.20k]
  ------------------
 1853|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1854|      0|        return NULL;
 1855|      0|    }
 1856|       |
 1857|  2.20k|    return (PyObject*) self;
 1858|  2.20k|}
sre.c:get_sre_module_state:
  532|  2.48k|{
  533|  2.48k|    _sremodulestate *state = (_sremodulestate *)_PyModule_GetState(m);
  534|  2.48k|    assert(state);
  ------------------
  |  Branch (534:5): [True: 2.48k, False: 0]
  ------------------
  535|  2.48k|    return state;
  536|  2.48k|}
sre.c:getstring:
  650|  2.22k|{
  651|       |    /* given a python object, return a data pointer, a length (in
  652|       |       characters), and a character size.  return NULL if the object
  653|       |       is not a string (or not compatible) */
  654|       |
  655|       |    /* Unicode objects do not support the buffer API. So, get the data
  656|       |       directly instead. */
  657|  2.22k|    if (PyUnicode_Check(string)) {
  ------------------
  |  |  103|  2.22k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.22k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 12, False: 2.20k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  658|     12|        *p_length = PyUnicode_GET_LENGTH(string);
  ------------------
  |  |  299|     12|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  659|     12|        *p_charsize = PyUnicode_KIND(string);
  ------------------
  |  |  258|     12|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|     24|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 12, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  660|      0|        *p_isbytes = 0;
  661|     12|        return PyUnicode_DATA(string);
  ------------------
  |  |  284|     12|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  662|     12|    }
  663|       |
  664|       |    /* get pointer to byte string buffer */
  665|  2.20k|    if (PyObject_GetBuffer(string, view, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|  2.20k|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (665:9): [True: 0, False: 2.20k]
  ------------------
  666|      0|        PyErr_Format(PyExc_TypeError, "expected string or bytes-like "
  667|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  668|      0|        return NULL;
  669|      0|    }
  670|       |
  671|  2.20k|    *p_length = view->len;
  672|  2.20k|    *p_charsize = 1;
  673|  2.20k|    *p_isbytes = 1;
  674|       |
  675|  2.20k|    if (view->buf == NULL) {
  ------------------
  |  Branch (675:9): [True: 0, False: 2.20k]
  ------------------
  676|      0|        PyErr_SetString(PyExc_ValueError, "Buffer is NULL");
  677|      0|        PyBuffer_Release(view);
  678|      0|        view->buf = NULL;
  679|      0|        return NULL;
  680|      0|    }
  681|  2.20k|    return view->buf;
  682|  2.20k|}
sre.c:_validate:
 2469|  2.20k|{
 2470|  2.20k|    if (_validate_outer(self->code, self->code+self->codesize, self->groups))
  ------------------
  |  Branch (2470:9): [True: 0, False: 2.20k]
  ------------------
 2471|      0|    {
 2472|      0|        PyErr_SetString(PyExc_RuntimeError, "invalid SRE code");
 2473|      0|        return 0;
 2474|      0|    }
 2475|  2.20k|    else
 2476|  2.20k|        VTRACE(("Success!\n"));
  ------------------
  |  | 1956|  2.20k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1956:31): [Folded, False: 2.20k]
  |  |  ------------------
  ------------------
 2477|  2.20k|    return 1;
 2478|  2.20k|}
sre.c:_validate_outer:
 2460|  2.20k|{
 2461|  2.20k|    if (groups < 0 || (size_t)groups > SRE_MAXGROUPS ||
  ------------------
  |  |   21|  4.41k|# define SRE_MAXGROUPS ((SRE_CODE)INT32_MAX / 2)
  ------------------
  |  Branch (2461:9): [True: 0, False: 2.20k]
  |  Branch (2461:23): [True: 0, False: 2.20k]
  ------------------
 2462|  2.20k|        code >= end || end[-1] != SRE_OP_SUCCESS)
  ------------------
  |  |   16|  2.20k|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (2462:9): [True: 0, False: 2.20k]
  |  Branch (2462:24): [True: 0, False: 2.20k]
  ------------------
 2463|      0|        FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2464|  2.20k|    return _validate_inner(code, end-1, groups);
 2465|  2.20k|}
sre.c:_validate_inner:
 2137|  2.18M|{
 2138|       |    /* Some variables are manipulated by the macros above */
 2139|  2.18M|    SRE_CODE op;
  ------------------
  |  |   18|  2.18M|#define SRE_CODE Py_UCS4
  ------------------
 2140|  2.18M|    SRE_CODE arg;
  ------------------
  |  |   18|  2.18M|#define SRE_CODE Py_UCS4
  ------------------
 2141|  2.18M|    SRE_CODE skip;
  ------------------
  |  |   18|  2.18M|#define SRE_CODE Py_UCS4
  ------------------
 2142|       |
 2143|  2.18M|    VTRACE(("code=%p, end=%p\n", code, end));
  ------------------
  |  | 1956|  2.18M|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1956:31): [Folded, False: 2.18M]
  |  |  ------------------
  ------------------
 2144|       |
 2145|  2.18M|    if (code > end)
  ------------------
  |  Branch (2145:9): [True: 0, False: 2.18M]
  ------------------
 2146|      0|        FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2147|       |
 2148|  7.69M|    while (code < end) {
  ------------------
  |  Branch (2148:12): [True: 5.51M, False: 2.18M]
  ------------------
 2149|  5.51M|        GET_OP;
  ------------------
  |  | 1964|  5.51M|    do {                                                \
  |  | 1965|  5.51M|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|  5.51M|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 5.51M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1966|  5.51M|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1966:13): [True: 0, False: 5.51M]
  |  |  ------------------
  |  | 1967|  5.51M|        op = *code++;                                   \
  |  | 1968|  5.51M|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1956|  5.51M|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 5.51M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1969|  5.51M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1969:14): [Folded, False: 5.51M]
  |  |  ------------------
  ------------------
 2150|  5.51M|        switch (op) {
 2151|       |
 2152|   991k|        case SRE_OP_MARK:
  ------------------
  |  |   32|   991k|#define SRE_OP_MARK 17
  ------------------
  |  Branch (2152:9): [True: 991k, False: 4.52M]
  ------------------
 2153|       |            /* We don't check whether marks are properly nested; the
 2154|       |               sre_match() code is robust even if they don't, and the worst
 2155|       |               you can get is nonsensical match results. */
 2156|   991k|            GET_ARG;
  ------------------
  |  | 1971|   991k|    do {                                                \
  |  | 1972|   991k|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|   991k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 991k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|   991k|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1973:13): [True: 0, False: 991k]
  |  |  ------------------
  |  | 1974|   991k|        arg = *code++;                                  \
  |  | 1975|   991k|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|   991k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 991k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|   991k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 991k]
  |  |  ------------------
  ------------------
 2157|   991k|            if (arg >= 2 * (size_t)groups) {
  ------------------
  |  Branch (2157:17): [True: 0, False: 991k]
  ------------------
 2158|      0|                VTRACE(("arg=%d, groups=%d\n", (int)arg, (int)groups));
  ------------------
  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2159|      0|                FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2160|      0|            }
 2161|   991k|            break;
 2162|       |
 2163|  2.35M|        case SRE_OP_LITERAL:
  ------------------
  |  |   31|  2.35M|#define SRE_OP_LITERAL 16
  ------------------
  |  Branch (2163:9): [True: 2.35M, False: 3.15M]
  ------------------
 2164|  2.35M|        case SRE_OP_NOT_LITERAL:
  ------------------
  |  |   35|  2.35M|#define SRE_OP_NOT_LITERAL 20
  ------------------
  |  Branch (2164:9): [True: 1.01k, False: 5.51M]
  ------------------
 2165|  2.57M|        case SRE_OP_LITERAL_IGNORE:
  ------------------
  |  |   47|  2.57M|#define SRE_OP_LITERAL_IGNORE 32
  ------------------
  |  Branch (2165:9): [True: 219k, False: 5.29M]
  ------------------
 2166|  2.57M|        case SRE_OP_NOT_LITERAL_IGNORE:
  ------------------
  |  |   48|  2.57M|#define SRE_OP_NOT_LITERAL_IGNORE 33
  ------------------
  |  Branch (2166:9): [True: 548, False: 5.51M]
  ------------------
 2167|  2.57M|        case SRE_OP_LITERAL_UNI_IGNORE:
  ------------------
  |  |   55|  2.57M|#define SRE_OP_LITERAL_UNI_IGNORE 40
  ------------------
  |  Branch (2167:9): [True: 9, False: 5.51M]
  ------------------
 2168|  2.57M|        case SRE_OP_NOT_LITERAL_UNI_IGNORE:
  ------------------
  |  |   56|  2.57M|#define SRE_OP_NOT_LITERAL_UNI_IGNORE 41
  ------------------
  |  Branch (2168:9): [True: 0, False: 5.51M]
  ------------------
 2169|  2.77M|        case SRE_OP_LITERAL_LOC_IGNORE:
  ------------------
  |  |   51|  2.77M|#define SRE_OP_LITERAL_LOC_IGNORE 36
  ------------------
  |  Branch (2169:9): [True: 197k, False: 5.31M]
  ------------------
 2170|  2.77M|        case SRE_OP_NOT_LITERAL_LOC_IGNORE:
  ------------------
  |  |   52|  2.77M|#define SRE_OP_NOT_LITERAL_LOC_IGNORE 37
  ------------------
  |  Branch (2170:9): [True: 458, False: 5.51M]
  ------------------
 2171|  2.77M|            GET_ARG;
  ------------------
  |  | 1971|  2.77M|    do {                                                \
  |  | 1972|  2.77M|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|  2.77M|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 2.77M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|  2.77M|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1973:13): [True: 0, False: 2.77M]
  |  |  ------------------
  |  | 1974|  2.77M|        arg = *code++;                                  \
  |  | 1975|  2.77M|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|  2.77M|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 2.77M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|  2.77M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 2.77M]
  |  |  ------------------
  ------------------
 2172|       |            /* The arg is just a character, nothing to check */
 2173|  2.77M|            break;
 2174|       |
 2175|  2.77M|        case SRE_OP_SUCCESS:
  ------------------
  |  |   16|      0|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (2175:9): [True: 0, False: 5.51M]
  ------------------
 2176|    254|        case SRE_OP_FAILURE:
  ------------------
  |  |   15|    254|#define SRE_OP_FAILURE 0
  ------------------
  |  Branch (2176:9): [True: 254, False: 5.51M]
  ------------------
 2177|       |            /* Nothing to check; these normally end the matching process */
 2178|    254|            break;
 2179|       |
 2180|   266k|        case SRE_OP_AT:
  ------------------
  |  |   21|   266k|#define SRE_OP_AT 6
  ------------------
  |  Branch (2180:9): [True: 266k, False: 5.24M]
  ------------------
 2181|   266k|            GET_ARG;
  ------------------
  |  | 1971|   266k|    do {                                                \
  |  | 1972|   266k|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|   266k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 266k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|   266k|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1973:13): [True: 0, False: 266k]
  |  |  ------------------
  |  | 1974|   266k|        arg = *code++;                                  \
  |  | 1975|   266k|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|   266k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 266k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|   266k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 266k]
  |  |  ------------------
  ------------------
 2182|   266k|            switch (arg) {
 2183|   158k|            case SRE_AT_BEGINNING:
  ------------------
  |  |   58|   158k|#define SRE_AT_BEGINNING 0
  ------------------
  |  Branch (2183:13): [True: 158k, False: 107k]
  ------------------
 2184|   158k|            case SRE_AT_BEGINNING_STRING:
  ------------------
  |  |   60|   158k|#define SRE_AT_BEGINNING_STRING 2
  ------------------
  |  Branch (2184:13): [True: 4, False: 266k]
  ------------------
 2185|   265k|            case SRE_AT_BEGINNING_LINE:
  ------------------
  |  |   59|   265k|#define SRE_AT_BEGINNING_LINE 1
  ------------------
  |  Branch (2185:13): [True: 106k, False: 159k]
  ------------------
 2186|   265k|            case SRE_AT_END:
  ------------------
  |  |   63|   265k|#define SRE_AT_END 5
  ------------------
  |  Branch (2186:13): [True: 321, False: 265k]
  ------------------
 2187|   265k|            case SRE_AT_END_LINE:
  ------------------
  |  |   64|   265k|#define SRE_AT_END_LINE 6
  ------------------
  |  Branch (2187:13): [True: 200, False: 265k]
  ------------------
 2188|   265k|            case SRE_AT_END_STRING:
  ------------------
  |  |   65|   265k|#define SRE_AT_END_STRING 7
  ------------------
  |  Branch (2188:13): [True: 12, False: 266k]
  ------------------
 2189|   265k|            case SRE_AT_BOUNDARY:
  ------------------
  |  |   61|   265k|#define SRE_AT_BOUNDARY 3
  ------------------
  |  Branch (2189:13): [True: 77, False: 265k]
  ------------------
 2190|   265k|            case SRE_AT_NON_BOUNDARY:
  ------------------
  |  |   62|   265k|#define SRE_AT_NON_BOUNDARY 4
  ------------------
  |  Branch (2190:13): [True: 51, False: 265k]
  ------------------
 2191|   265k|            case SRE_AT_LOC_BOUNDARY:
  ------------------
  |  |   66|   265k|#define SRE_AT_LOC_BOUNDARY 8
  ------------------
  |  Branch (2191:13): [True: 140, False: 265k]
  ------------------
 2192|   266k|            case SRE_AT_LOC_NON_BOUNDARY:
  ------------------
  |  |   67|   266k|#define SRE_AT_LOC_NON_BOUNDARY 9
  ------------------
  |  Branch (2192:13): [True: 137, False: 265k]
  ------------------
 2193|   266k|            case SRE_AT_UNI_BOUNDARY:
  ------------------
  |  |   68|   266k|#define SRE_AT_UNI_BOUNDARY 10
  ------------------
  |  Branch (2193:13): [True: 0, False: 266k]
  ------------------
 2194|   266k|            case SRE_AT_UNI_NON_BOUNDARY:
  ------------------
  |  |   69|   266k|#define SRE_AT_UNI_NON_BOUNDARY 11
  ------------------
  |  Branch (2194:13): [True: 0, False: 266k]
  ------------------
 2195|   266k|                break;
 2196|      0|            default:
  ------------------
  |  Branch (2196:13): [True: 0, False: 266k]
  ------------------
 2197|      0|                FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2198|   266k|            }
 2199|   266k|            break;
 2200|       |
 2201|   266k|        case SRE_OP_CATEGORY:
  ------------------
  |  |   23|  84.3k|#define SRE_OP_CATEGORY 8
  ------------------
  |  Branch (2201:9): [True: 84.3k, False: 5.42M]
  ------------------
 2202|  84.3k|            GET_ARG;
  ------------------
  |  | 1971|  84.3k|    do {                                                \
  |  | 1972|  84.3k|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|  84.3k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 84.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|  84.3k|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1973:13): [True: 0, False: 84.3k]
  |  |  ------------------
  |  | 1974|  84.3k|        arg = *code++;                                  \
  |  | 1975|  84.3k|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|  84.3k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 84.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|  84.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 84.3k]
  |  |  ------------------
  ------------------
 2203|  84.3k|            if (!_validate_category(arg)) {
  ------------------
  |  Branch (2203:17): [True: 0, False: 84.3k]
  ------------------
 2204|      0|                FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2205|      0|            }
 2206|  84.3k|            break;
 2207|       |
 2208|  84.3k|        case SRE_OP_ANY:
  ------------------
  |  |   17|    577|#define SRE_OP_ANY 2
  ------------------
  |  Branch (2208:9): [True: 577, False: 5.51M]
  ------------------
 2209|  16.4k|        case SRE_OP_ANY_ALL:
  ------------------
  |  |   18|  16.4k|#define SRE_OP_ANY_ALL 3
  ------------------
  |  Branch (2209:9): [True: 15.9k, False: 5.49M]
  ------------------
 2210|       |            /* These have no operands */
 2211|  16.4k|            break;
 2212|       |
 2213|  53.8k|        case SRE_OP_IN:
  ------------------
  |  |   28|  53.8k|#define SRE_OP_IN 13
  ------------------
  |  Branch (2213:9): [True: 53.8k, False: 5.45M]
  ------------------
 2214|  96.7k|        case SRE_OP_IN_IGNORE:
  ------------------
  |  |   46|  96.7k|#define SRE_OP_IN_IGNORE 31
  ------------------
  |  Branch (2214:9): [True: 42.8k, False: 5.46M]
  ------------------
 2215|  96.7k|        case SRE_OP_IN_UNI_IGNORE:
  ------------------
  |  |   54|  96.7k|#define SRE_OP_IN_UNI_IGNORE 39
  ------------------
  |  Branch (2215:9): [True: 4, False: 5.51M]
  ------------------
 2216|   154k|        case SRE_OP_IN_LOC_IGNORE:
  ------------------
  |  |   50|   154k|#define SRE_OP_IN_LOC_IGNORE 35
  ------------------
  |  Branch (2216:9): [True: 57.7k, False: 5.45M]
  ------------------
 2217|   154k|            GET_SKIP;
  ------------------
  |  | 1988|   154k|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1978|   154k|    do {                                                \
  |  |  |  | 1979|   154k|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|   154k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 154k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1980|   154k|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1980:13): [True: 0, False: 154k]
  |  |  |  |  ------------------
  |  |  |  | 1981|   154k|        skip = *code;                                   \
  |  |  |  | 1982|   154k|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|   154k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 154k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1983|   154k|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1984|   154k|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1984:13): [True: 0, False: 154k]
  |  |  |  |  ------------------
  |  |  |  | 1985|   154k|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1986|   154k|        code++;                                         \
  |  |  |  | 1987|   154k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1987:14): [Folded, False: 154k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2218|       |            /* Stop 1 before the end; we check the FAILURE below */
 2219|   154k|            if (_validate_charset(code, code+skip-2))
  ------------------
  |  Branch (2219:17): [True: 0, False: 154k]
  ------------------
 2220|      0|                FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2221|   154k|            if (code[skip-2] != SRE_OP_FAILURE)
  ------------------
  |  |   15|   154k|#define SRE_OP_FAILURE 0
  ------------------
  |  Branch (2221:17): [True: 0, False: 154k]
  ------------------
 2222|      0|                FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2223|   154k|            code += skip-1;
 2224|   154k|            break;
 2225|       |
 2226|  2.20k|        case SRE_OP_INFO:
  ------------------
  |  |   29|  2.20k|#define SRE_OP_INFO 14
  ------------------
  |  Branch (2226:9): [True: 2.20k, False: 5.51M]
  ------------------
 2227|  2.20k|            {
 2228|       |                /* A minimal info field is
 2229|       |                   <INFO> <1=skip> <2=flags> <3=min> <4=max>;
 2230|       |                   If SRE_INFO_PREFIX or SRE_INFO_CHARSET is in the flags,
 2231|       |                   more follows. */
 2232|  2.20k|                SRE_CODE flags, i;
  ------------------
  |  |   18|  2.20k|#define SRE_CODE Py_UCS4
  ------------------
 2233|  2.20k|                SRE_CODE *newcode;
  ------------------
  |  |   18|  2.20k|#define SRE_CODE Py_UCS4
  ------------------
 2234|  2.20k|                GET_SKIP;
  ------------------
  |  | 1988|  2.20k|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1978|  2.20k|    do {                                                \
  |  |  |  | 1979|  2.20k|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|  2.20k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 2.20k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1980|  2.20k|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1980:13): [True: 0, False: 2.20k]
  |  |  |  |  ------------------
  |  |  |  | 1981|  2.20k|        skip = *code;                                   \
  |  |  |  | 1982|  2.20k|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|  2.20k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 2.20k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1983|  2.20k|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1984|  2.20k|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1984:13): [True: 0, False: 2.20k]
  |  |  |  |  ------------------
  |  |  |  | 1985|  2.20k|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1986|  2.20k|        code++;                                         \
  |  |  |  | 1987|  2.20k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1987:14): [Folded, False: 2.20k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2235|  2.20k|                newcode = code+skip-1;
 2236|  2.20k|                GET_ARG; flags = arg;
  ------------------
  |  | 1971|  2.20k|    do {                                                \
  |  | 1972|  2.20k|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|  2.20k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 2.20k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|  2.20k|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1973:13): [True: 0, False: 2.20k]
  |  |  ------------------
  |  | 1974|  2.20k|        arg = *code++;                                  \
  |  | 1975|  2.20k|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|  2.20k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 2.20k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|  2.20k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 2.20k]
  |  |  ------------------
  ------------------
 2237|  2.20k|                GET_ARG;
  ------------------
  |  | 1971|  2.20k|    do {                                                \
  |  | 1972|  2.20k|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|  2.20k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 2.20k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|  2.20k|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1973:13): [True: 0, False: 2.20k]
  |  |  ------------------
  |  | 1974|  2.20k|        arg = *code++;                                  \
  |  | 1975|  2.20k|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|  2.20k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 2.20k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|  2.20k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 2.20k]
  |  |  ------------------
  ------------------
 2238|  2.20k|                GET_ARG;
  ------------------
  |  | 1971|  2.20k|    do {                                                \
  |  | 1972|  2.20k|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|  2.20k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 2.20k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|  2.20k|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1973:13): [True: 0, False: 2.20k]
  |  |  ------------------
  |  | 1974|  2.20k|        arg = *code++;                                  \
  |  | 1975|  2.20k|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|  2.20k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 2.20k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|  2.20k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 2.20k]
  |  |  ------------------
  ------------------
 2239|       |                /* Check that only valid flags are present */
 2240|  2.20k|                if ((flags & ~(SRE_INFO_PREFIX |
  ------------------
  |  |  146|  2.20k|#define SRE_INFO_PREFIX 1
  ------------------
  |  Branch (2240:21): [True: 0, False: 2.20k]
  ------------------
 2241|  2.20k|                               SRE_INFO_LITERAL |
  ------------------
  |  |  147|  2.20k|#define SRE_INFO_LITERAL 2
  ------------------
 2242|  2.20k|                               SRE_INFO_CHARSET)) != 0)
  ------------------
  |  |  148|  2.20k|#define SRE_INFO_CHARSET 4
  ------------------
 2243|      0|                    FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2244|       |                /* PREFIX and CHARSET are mutually exclusive */
 2245|  2.20k|                if ((flags & SRE_INFO_PREFIX) &&
  ------------------
  |  |  146|  2.20k|#define SRE_INFO_PREFIX 1
  ------------------
  |  Branch (2245:21): [True: 673, False: 1.53k]
  ------------------
 2246|    673|                    (flags & SRE_INFO_CHARSET))
  ------------------
  |  |  148|    673|#define SRE_INFO_CHARSET 4
  ------------------
  |  Branch (2246:21): [True: 0, False: 673]
  ------------------
 2247|      0|                    FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2248|       |                /* LITERAL implies PREFIX */
 2249|  2.20k|                if ((flags & SRE_INFO_LITERAL) &&
  ------------------
  |  |  147|  2.20k|#define SRE_INFO_LITERAL 2
  ------------------
  |  Branch (2249:21): [True: 222, False: 1.98k]
  ------------------
 2250|    222|                    !(flags & SRE_INFO_PREFIX))
  ------------------
  |  |  146|    222|#define SRE_INFO_PREFIX 1
  ------------------
  |  Branch (2250:21): [True: 0, False: 222]
  ------------------
 2251|      0|                    FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2252|       |                /* Validate the prefix */
 2253|  2.20k|                if (flags & SRE_INFO_PREFIX) {
  ------------------
  |  |  146|  2.20k|#define SRE_INFO_PREFIX 1
  ------------------
  |  Branch (2253:21): [True: 673, False: 1.53k]
  ------------------
 2254|    673|                    SRE_CODE prefix_len;
  ------------------
  |  |   18|    673|#define SRE_CODE Py_UCS4
  ------------------
 2255|    673|                    GET_ARG; prefix_len = arg;
  ------------------
  |  | 1971|    673|    do {                                                \
  |  | 1972|    673|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|    673|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 673]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|    673|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1973:13): [True: 0, False: 673]
  |  |  ------------------
  |  | 1974|    673|        arg = *code++;                                  \
  |  | 1975|    673|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|    673|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 673]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|    673|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 673]
  |  |  ------------------
  ------------------
 2256|    673|                    GET_ARG;
  ------------------
  |  | 1971|    673|    do {                                                \
  |  | 1972|    673|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|    673|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 673]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|    673|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1973:13): [True: 0, False: 673]
  |  |  ------------------
  |  | 1974|    673|        arg = *code++;                                  \
  |  | 1975|    673|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|    673|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 673]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|    673|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 673]
  |  |  ------------------
  ------------------
 2257|       |                    /* Here comes the prefix string */
 2258|    673|                    if (prefix_len > (uintptr_t)(newcode - code))
  ------------------
  |  Branch (2258:25): [True: 0, False: 673]
  ------------------
 2259|      0|                        FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2260|    673|                    code += prefix_len;
 2261|       |                    /* And here comes the overlap table */
 2262|    673|                    if (prefix_len > (uintptr_t)(newcode - code))
  ------------------
  |  Branch (2262:25): [True: 0, False: 673]
  ------------------
 2263|      0|                        FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2264|       |                    /* Each overlap value should be < prefix_len */
 2265|   911k|                    for (i = 0; i < prefix_len; i++) {
  ------------------
  |  Branch (2265:33): [True: 910k, False: 673]
  ------------------
 2266|   910k|                        if (code[i] >= prefix_len)
  ------------------
  |  Branch (2266:29): [True: 0, False: 910k]
  ------------------
 2267|      0|                            FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2268|   910k|                    }
 2269|    673|                    code += prefix_len;
 2270|    673|                }
 2271|       |                /* Validate the charset */
 2272|  2.20k|                if (flags & SRE_INFO_CHARSET) {
  ------------------
  |  |  148|  2.20k|#define SRE_INFO_CHARSET 4
  ------------------
  |  Branch (2272:21): [True: 226, False: 1.97k]
  ------------------
 2273|    226|                    if (_validate_charset(code, newcode-1))
  ------------------
  |  Branch (2273:25): [True: 0, False: 226]
  ------------------
 2274|      0|                        FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2275|    226|                    if (newcode[-1] != SRE_OP_FAILURE)
  ------------------
  |  |   15|    226|#define SRE_OP_FAILURE 0
  ------------------
  |  Branch (2275:25): [True: 0, False: 226]
  ------------------
 2276|      0|                        FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2277|    226|                    code = newcode;
 2278|    226|                }
 2279|  1.97k|                else if (code != newcode) {
  ------------------
  |  Branch (2279:26): [True: 0, False: 1.97k]
  ------------------
 2280|      0|                  VTRACE(("code=%p, newcode=%p\n", code, newcode));
  ------------------
  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2281|      0|                    FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2282|      0|                }
 2283|  2.20k|            }
 2284|  2.20k|            break;
 2285|       |
 2286|   314k|        case SRE_OP_BRANCH:
  ------------------
  |  |   22|   314k|#define SRE_OP_BRANCH 7
  ------------------
  |  Branch (2286:9): [True: 314k, False: 5.19M]
  ------------------
 2287|   314k|            {
 2288|   314k|                SRE_CODE *target = NULL;
  ------------------
  |  |   18|   314k|#define SRE_CODE Py_UCS4
  ------------------
 2289|  1.59M|                for (;;) {
 2290|  1.59M|                    GET_SKIP;
  ------------------
  |  | 1988|  1.59M|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1978|  1.59M|    do {                                                \
  |  |  |  | 1979|  1.59M|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|  1.59M|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 1.59M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1980|  1.59M|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1980:13): [True: 0, False: 1.59M]
  |  |  |  |  ------------------
  |  |  |  | 1981|  1.59M|        skip = *code;                                   \
  |  |  |  | 1982|  1.59M|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|  1.59M|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 1.59M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1983|  1.59M|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1984|  1.59M|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1984:13): [True: 0, False: 1.59M]
  |  |  |  |  ------------------
  |  |  |  | 1985|  1.59M|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1986|  1.59M|        code++;                                         \
  |  |  |  | 1987|  1.59M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1987:14): [Folded, False: 1.59M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2291|  1.59M|                    if (skip == 0)
  ------------------
  |  Branch (2291:25): [True: 314k, False: 1.27M]
  ------------------
 2292|   314k|                        break;
 2293|       |                    /* Stop 2 before the end; we check the JUMP below */
 2294|  1.27M|                    if (_validate_inner(code, code+skip-3, groups))
  ------------------
  |  Branch (2294:25): [True: 0, False: 1.27M]
  ------------------
 2295|      0|                        FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2296|  1.27M|                    code += skip-3;
 2297|       |                    /* Check that it ends with a JUMP, and that each JUMP
 2298|       |                       has the same target */
 2299|  1.27M|                    GET_OP;
  ------------------
  |  | 1964|  1.27M|    do {                                                \
  |  | 1965|  1.27M|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|  1.27M|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 1.27M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1966|  1.27M|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1966:13): [True: 0, False: 1.27M]
  |  |  ------------------
  |  | 1967|  1.27M|        op = *code++;                                   \
  |  | 1968|  1.27M|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1956|  1.27M|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 1.27M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1969|  1.27M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1969:14): [Folded, False: 1.27M]
  |  |  ------------------
  ------------------
 2300|  1.27M|                    if (op != SRE_OP_JUMP)
  ------------------
  |  |   30|  1.27M|#define SRE_OP_JUMP 15
  ------------------
  |  Branch (2300:25): [True: 0, False: 1.27M]
  ------------------
 2301|      0|                        FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2302|  1.27M|                    GET_SKIP;
  ------------------
  |  | 1988|  1.27M|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1978|  1.27M|    do {                                                \
  |  |  |  | 1979|  1.27M|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|  1.27M|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 1.27M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1980|  1.27M|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1980:13): [True: 0, False: 1.27M]
  |  |  |  |  ------------------
  |  |  |  | 1981|  1.27M|        skip = *code;                                   \
  |  |  |  | 1982|  1.27M|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|  1.27M|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 1.27M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1983|  1.27M|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1984|  1.27M|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1984:13): [True: 0, False: 1.27M]
  |  |  |  |  ------------------
  |  |  |  | 1985|  1.27M|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1986|  1.27M|        code++;                                         \
  |  |  |  | 1987|  1.27M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1987:14): [Folded, False: 1.27M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2303|  1.27M|                    if (target == NULL)
  ------------------
  |  Branch (2303:25): [True: 314k, False: 961k]
  ------------------
 2304|   314k|                        target = code+skip-1;
 2305|   961k|                    else if (code+skip-1 != target)
  ------------------
  |  Branch (2305:30): [True: 0, False: 961k]
  ------------------
 2306|      0|                        FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2307|  1.27M|                }
 2308|   314k|                if (code != target)
  ------------------
  |  Branch (2308:21): [True: 0, False: 314k]
  ------------------
 2309|      0|                    FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2310|   314k|            }
 2311|   314k|            break;
 2312|       |
 2313|   527k|        case SRE_OP_REPEAT_ONE:
  ------------------
  |  |   39|   527k|#define SRE_OP_REPEAT_ONE 24
  ------------------
  |  Branch (2313:9): [True: 527k, False: 4.98M]
  ------------------
 2314|   536k|        case SRE_OP_MIN_REPEAT_ONE:
  ------------------
  |  |   41|   536k|#define SRE_OP_MIN_REPEAT_ONE 26
  ------------------
  |  Branch (2314:9): [True: 8.70k, False: 5.50M]
  ------------------
 2315|   537k|        case SRE_OP_POSSESSIVE_REPEAT_ONE:
  ------------------
  |  |   44|   537k|#define SRE_OP_POSSESSIVE_REPEAT_ONE 29
  ------------------
  |  Branch (2315:9): [True: 1.24k, False: 5.51M]
  ------------------
 2316|   537k|            {
 2317|   537k|                SRE_CODE min, max;
  ------------------
  |  |   18|   537k|#define SRE_CODE Py_UCS4
  ------------------
 2318|   537k|                GET_SKIP;
  ------------------
  |  | 1988|   537k|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1978|   537k|    do {                                                \
  |  |  |  | 1979|   537k|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|   537k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 537k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1980|   537k|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1980:13): [True: 0, False: 537k]
  |  |  |  |  ------------------
  |  |  |  | 1981|   537k|        skip = *code;                                   \
  |  |  |  | 1982|   537k|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|   537k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 537k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1983|   537k|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1984|   537k|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1984:13): [True: 0, False: 537k]
  |  |  |  |  ------------------
  |  |  |  | 1985|   537k|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1986|   537k|        code++;                                         \
  |  |  |  | 1987|   537k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1987:14): [Folded, False: 537k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2319|   537k|                GET_ARG; min = arg;
  ------------------
  |  | 1971|   537k|    do {                                                \
  |  | 1972|   537k|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|   537k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 537k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|   537k|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1973:13): [True: 0, False: 537k]
  |  |  ------------------
  |  | 1974|   537k|        arg = *code++;                                  \
  |  | 1975|   537k|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|   537k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 537k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|   537k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 537k]
  |  |  ------------------
  ------------------
 2320|   537k|                GET_ARG; max = arg;
  ------------------
  |  | 1971|   537k|    do {                                                \
  |  | 1972|   537k|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|   537k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 537k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|   537k|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1973:13): [True: 0, False: 537k]
  |  |  ------------------
  |  | 1974|   537k|        arg = *code++;                                  \
  |  | 1975|   537k|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|   537k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 537k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|   537k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 537k]
  |  |  ------------------
  ------------------
 2321|   537k|                if (min > max)
  ------------------
  |  Branch (2321:21): [True: 0, False: 537k]
  ------------------
 2322|      0|                    FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2323|   537k|                if (max > SRE_MAXREPEAT)
  ------------------
  |  |   20|   537k|# define SRE_MAXREPEAT (~(SRE_CODE)0)
  ------------------
  |  Branch (2323:21): [True: 0, False: 537k]
  ------------------
 2324|      0|                    FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2325|   537k|                if (_validate_inner(code, code+skip-4, groups))
  ------------------
  |  Branch (2325:21): [True: 0, False: 537k]
  ------------------
 2326|      0|                    FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2327|   537k|                code += skip-4;
 2328|   537k|                GET_OP;
  ------------------
  |  | 1964|   537k|    do {                                                \
  |  | 1965|   537k|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|   537k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 537k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1966|   537k|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1966:13): [True: 0, False: 537k]
  |  |  ------------------
  |  | 1967|   537k|        op = *code++;                                   \
  |  | 1968|   537k|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1956|   537k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 537k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1969|   537k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1969:14): [Folded, False: 537k]
  |  |  ------------------
  ------------------
 2329|   537k|                if (op != SRE_OP_SUCCESS)
  ------------------
  |  |   16|   537k|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (2329:21): [True: 0, False: 537k]
  ------------------
 2330|      0|                    FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2331|   537k|            }
 2332|   537k|            break;
 2333|       |
 2334|   537k|        case SRE_OP_REPEAT:
  ------------------
  |  |   38|   300k|#define SRE_OP_REPEAT 23
  ------------------
  |  Branch (2334:9): [True: 300k, False: 5.21M]
  ------------------
 2335|   301k|        case SRE_OP_POSSESSIVE_REPEAT:
  ------------------
  |  |   43|   301k|#define SRE_OP_POSSESSIVE_REPEAT 28
  ------------------
  |  Branch (2335:9): [True: 481, False: 5.51M]
  ------------------
 2336|   301k|            {
 2337|   301k|                SRE_CODE op1 = op, min, max;
  ------------------
  |  |   18|   301k|#define SRE_CODE Py_UCS4
  ------------------
 2338|   301k|                GET_SKIP;
  ------------------
  |  | 1988|   301k|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1978|   301k|    do {                                                \
  |  |  |  | 1979|   301k|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|   301k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 301k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1980|   301k|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1980:13): [True: 0, False: 301k]
  |  |  |  |  ------------------
  |  |  |  | 1981|   301k|        skip = *code;                                   \
  |  |  |  | 1982|   301k|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|   301k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 301k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1983|   301k|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1984|   301k|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1984:13): [True: 0, False: 301k]
  |  |  |  |  ------------------
  |  |  |  | 1985|   301k|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1986|   301k|        code++;                                         \
  |  |  |  | 1987|   301k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1987:14): [Folded, False: 301k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2339|   301k|                GET_ARG; min = arg;
  ------------------
  |  | 1971|   301k|    do {                                                \
  |  | 1972|   301k|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|   301k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 301k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|   301k|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1973:13): [True: 0, False: 301k]
  |  |  ------------------
  |  | 1974|   301k|        arg = *code++;                                  \
  |  | 1975|   301k|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|   301k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 301k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|   301k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 301k]
  |  |  ------------------
  ------------------
 2340|   301k|                GET_ARG; max = arg;
  ------------------
  |  | 1971|   301k|    do {                                                \
  |  | 1972|   301k|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|   301k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 301k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|   301k|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1973:13): [True: 0, False: 301k]
  |  |  ------------------
  |  | 1974|   301k|        arg = *code++;                                  \
  |  | 1975|   301k|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|   301k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 301k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|   301k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 301k]
  |  |  ------------------
  ------------------
 2341|   301k|                if (min > max)
  ------------------
  |  Branch (2341:21): [True: 0, False: 301k]
  ------------------
 2342|      0|                    FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2343|   301k|                if (max > SRE_MAXREPEAT)
  ------------------
  |  |   20|   301k|# define SRE_MAXREPEAT (~(SRE_CODE)0)
  ------------------
  |  Branch (2343:21): [True: 0, False: 301k]
  ------------------
 2344|      0|                    FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2345|   301k|                if (_validate_inner(code, code+skip-3, groups))
  ------------------
  |  Branch (2345:21): [True: 0, False: 301k]
  ------------------
 2346|      0|                    FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2347|   301k|                code += skip-3;
 2348|   301k|                GET_OP;
  ------------------
  |  | 1964|   301k|    do {                                                \
  |  | 1965|   301k|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|   301k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 301k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1966|   301k|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1966:13): [True: 0, False: 301k]
  |  |  ------------------
  |  | 1967|   301k|        op = *code++;                                   \
  |  | 1968|   301k|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1956|   301k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 301k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1969|   301k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1969:14): [Folded, False: 301k]
  |  |  ------------------
  ------------------
 2349|   301k|                if (op1 == SRE_OP_POSSESSIVE_REPEAT) {
  ------------------
  |  |   43|   301k|#define SRE_OP_POSSESSIVE_REPEAT 28
  ------------------
  |  Branch (2349:21): [True: 481, False: 300k]
  ------------------
 2350|    481|                    if (op != SRE_OP_SUCCESS)
  ------------------
  |  |   16|    481|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (2350:25): [True: 0, False: 481]
  ------------------
 2351|      0|                        FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2352|    481|                }
 2353|   300k|                else {
 2354|   300k|                    if (op != SRE_OP_MAX_UNTIL && op != SRE_OP_MIN_UNTIL)
  ------------------
  |  |   33|   601k|#define SRE_OP_MAX_UNTIL 18
  ------------------
                                  if (op != SRE_OP_MAX_UNTIL && op != SRE_OP_MIN_UNTIL)
  ------------------
  |  |   34|    671|#define SRE_OP_MIN_UNTIL 19
  ------------------
  |  Branch (2354:25): [True: 671, False: 300k]
  |  Branch (2354:51): [True: 0, False: 671]
  ------------------
 2355|      0|                        FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2356|   300k|                }
 2357|   301k|            }
 2358|   301k|            break;
 2359|       |
 2360|   301k|        case SRE_OP_ATOMIC_GROUP:
  ------------------
  |  |   42|  2.18k|#define SRE_OP_ATOMIC_GROUP 27
  ------------------
  |  Branch (2360:9): [True: 2.18k, False: 5.51M]
  ------------------
 2361|  2.18k|            {
 2362|  2.18k|                GET_SKIP;
  ------------------
  |  | 1988|  2.18k|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1978|  2.18k|    do {                                                \
  |  |  |  | 1979|  2.18k|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|  2.18k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 2.18k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1980|  2.18k|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1980:13): [True: 0, False: 2.18k]
  |  |  |  |  ------------------
  |  |  |  | 1981|  2.18k|        skip = *code;                                   \
  |  |  |  | 1982|  2.18k|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|  2.18k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 2.18k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1983|  2.18k|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1984|  2.18k|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1984:13): [True: 0, False: 2.18k]
  |  |  |  |  ------------------
  |  |  |  | 1985|  2.18k|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1986|  2.18k|        code++;                                         \
  |  |  |  | 1987|  2.18k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1987:14): [Folded, False: 2.18k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2363|  2.18k|                if (_validate_inner(code, code+skip-2, groups))
  ------------------
  |  Branch (2363:21): [True: 0, False: 2.18k]
  ------------------
 2364|      0|                    FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2365|  2.18k|                code += skip-2;
 2366|  2.18k|                GET_OP;
  ------------------
  |  | 1964|  2.18k|    do {                                                \
  |  | 1965|  2.18k|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|  2.18k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 2.18k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1966|  2.18k|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1966:13): [True: 0, False: 2.18k]
  |  |  ------------------
  |  | 1967|  2.18k|        op = *code++;                                   \
  |  | 1968|  2.18k|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1956|  2.18k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 2.18k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1969|  2.18k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1969:14): [Folded, False: 2.18k]
  |  |  ------------------
  ------------------
 2367|  2.18k|                if (op != SRE_OP_SUCCESS)
  ------------------
  |  |   16|  2.18k|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (2367:21): [True: 0, False: 2.18k]
  ------------------
 2368|      0|                    FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2369|  2.18k|            }
 2370|  2.18k|            break;
 2371|       |
 2372|  2.18k|        case SRE_OP_GROUPREF:
  ------------------
  |  |   26|  1.93k|#define SRE_OP_GROUPREF 11
  ------------------
  |  Branch (2372:9): [True: 1.93k, False: 5.51M]
  ------------------
 2373|  3.33k|        case SRE_OP_GROUPREF_IGNORE:
  ------------------
  |  |   45|  3.33k|#define SRE_OP_GROUPREF_IGNORE 30
  ------------------
  |  Branch (2373:9): [True: 1.39k, False: 5.51M]
  ------------------
 2374|  3.33k|        case SRE_OP_GROUPREF_UNI_IGNORE:
  ------------------
  |  |   53|  3.33k|#define SRE_OP_GROUPREF_UNI_IGNORE 38
  ------------------
  |  Branch (2374:9): [True: 0, False: 5.51M]
  ------------------
 2375|  3.99k|        case SRE_OP_GROUPREF_LOC_IGNORE:
  ------------------
  |  |   49|  3.99k|#define SRE_OP_GROUPREF_LOC_IGNORE 34
  ------------------
  |  Branch (2375:9): [True: 659, False: 5.51M]
  ------------------
 2376|  3.99k|            GET_ARG;
  ------------------
  |  | 1971|  3.99k|    do {                                                \
  |  | 1972|  3.99k|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|  3.99k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 3.99k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|  3.99k|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1973:13): [True: 0, False: 3.99k]
  |  |  ------------------
  |  | 1974|  3.99k|        arg = *code++;                                  \
  |  | 1975|  3.99k|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|  3.99k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 3.99k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|  3.99k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 3.99k]
  |  |  ------------------
  ------------------
 2377|  3.99k|            if (arg >= (size_t)groups)
  ------------------
  |  Branch (2377:17): [True: 0, False: 3.99k]
  ------------------
 2378|      0|                FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2379|  3.99k|            break;
 2380|       |
 2381|  3.99k|        case SRE_OP_GROUPREF_EXISTS:
  ------------------
  |  |   27|  2.28k|#define SRE_OP_GROUPREF_EXISTS 12
  ------------------
  |  Branch (2381:9): [True: 2.28k, False: 5.51M]
  ------------------
 2382|       |            /* The regex syntax for this is: '(?(group)then|else)', where
 2383|       |               'group' is either an integer group number or a group name,
 2384|       |               'then' and 'else' are sub-regexes, and 'else' is optional. */
 2385|  2.28k|            GET_ARG;
  ------------------
  |  | 1971|  2.28k|    do {                                                \
  |  | 1972|  2.28k|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|  2.28k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 2.28k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|  2.28k|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1973:13): [True: 0, False: 2.28k]
  |  |  ------------------
  |  | 1974|  2.28k|        arg = *code++;                                  \
  |  | 1975|  2.28k|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|  2.28k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 2.28k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|  2.28k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 2.28k]
  |  |  ------------------
  ------------------
 2386|  2.28k|            if (arg >= (size_t)groups)
  ------------------
  |  Branch (2386:17): [True: 0, False: 2.28k]
  ------------------
 2387|      0|                FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2388|  2.28k|            GET_SKIP_ADJ(1);
  ------------------
  |  | 1978|  2.28k|    do {                                                \
  |  | 1979|  2.28k|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|  2.28k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 2.28k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1980|  2.28k|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1980:13): [True: 0, False: 2.28k]
  |  |  ------------------
  |  | 1981|  2.28k|        skip = *code;                                   \
  |  | 1982|  2.28k|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  ------------------
  |  |  |  | 1956|  2.28k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 2.28k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1983|  2.28k|               (unsigned long)skip, code+skip));        \
  |  | 1984|  2.28k|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  ------------------
  |  |  |  Branch (1984:13): [True: 0, False: 2.28k]
  |  |  ------------------
  |  | 1985|  2.28k|            FAIL;                                       \
  |  |  ------------------
  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1986|  2.28k|        code++;                                         \
  |  | 1987|  2.28k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1987:14): [Folded, False: 2.28k]
  |  |  ------------------
  ------------------
 2389|  2.28k|            code--; /* The skip is relative to the first arg! */
 2390|       |            /* There are two possibilities here: if there is both a 'then'
 2391|       |               part and an 'else' part, the generated code looks like:
 2392|       |
 2393|       |               GROUPREF_EXISTS
 2394|       |               <group>
 2395|       |               <skipyes>
 2396|       |               ...then part...
 2397|       |               JUMP
 2398|       |               <skipno>
 2399|       |               (<skipyes> jumps here)
 2400|       |               ...else part...
 2401|       |               (<skipno> jumps here)
 2402|       |
 2403|       |               If there is only a 'then' part, it looks like:
 2404|       |
 2405|       |               GROUPREF_EXISTS
 2406|       |               <group>
 2407|       |               <skip>
 2408|       |               ...then part...
 2409|       |               (<skip> jumps here)
 2410|       |
 2411|       |               There is no direct way to decide which it is, and we don't want
 2412|       |               to allow arbitrary jumps anywhere in the code; so we just look
 2413|       |               for a JUMP opcode preceding our skip target.
 2414|       |            */
 2415|  2.28k|            VTRACE(("then part:\n"));
  ------------------
  |  | 1956|  2.28k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1956:31): [Folded, False: 2.28k]
  |  |  ------------------
  ------------------
 2416|  2.28k|            int rc = _validate_inner(code+1, code+skip-1, groups);
 2417|  2.28k|            if (rc == 1) {
  ------------------
  |  Branch (2417:17): [True: 1.71k, False: 573]
  ------------------
 2418|  1.71k|                VTRACE(("else part:\n"));
  ------------------
  |  | 1956|  1.71k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1956:31): [Folded, False: 1.71k]
  |  |  ------------------
  ------------------
 2419|  1.71k|                code += skip-2; /* Position after JUMP, at <skipno> */
 2420|  1.71k|                GET_SKIP;
  ------------------
  |  | 1988|  1.71k|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1978|  1.71k|    do {                                                \
  |  |  |  | 1979|  1.71k|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|  1.71k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 1.71k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1980|  1.71k|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1980:13): [True: 0, False: 1.71k]
  |  |  |  |  ------------------
  |  |  |  | 1981|  1.71k|        skip = *code;                                   \
  |  |  |  | 1982|  1.71k|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|  1.71k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 1.71k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1983|  1.71k|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1984|  1.71k|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1984:13): [True: 0, False: 1.71k]
  |  |  |  |  ------------------
  |  |  |  | 1985|  1.71k|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1986|  1.71k|        code++;                                         \
  |  |  |  | 1987|  1.71k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1987:14): [Folded, False: 1.71k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2421|  1.71k|                rc = _validate_inner(code, code+skip-1, groups);
 2422|  1.71k|            }
 2423|  2.28k|            if (rc)
  ------------------
  |  Branch (2423:17): [True: 0, False: 2.28k]
  ------------------
 2424|      0|                FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2425|  2.28k|            code += skip-1;
 2426|  2.28k|            break;
 2427|       |
 2428|  59.7k|        case SRE_OP_ASSERT:
  ------------------
  |  |   19|  59.7k|#define SRE_OP_ASSERT 4
  ------------------
  |  Branch (2428:9): [True: 59.7k, False: 5.45M]
  ------------------
 2429|  60.6k|        case SRE_OP_ASSERT_NOT:
  ------------------
  |  |   20|  60.6k|#define SRE_OP_ASSERT_NOT 5
  ------------------
  |  Branch (2429:9): [True: 910, False: 5.51M]
  ------------------
 2430|  60.6k|            GET_SKIP;
  ------------------
  |  | 1988|  60.6k|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1978|  60.6k|    do {                                                \
  |  |  |  | 1979|  60.6k|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|  60.6k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 60.6k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1980|  60.6k|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1980:13): [True: 0, False: 60.6k]
  |  |  |  |  ------------------
  |  |  |  | 1981|  60.6k|        skip = *code;                                   \
  |  |  |  | 1982|  60.6k|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|  60.6k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 60.6k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1983|  60.6k|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1984|  60.6k|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1984:13): [True: 0, False: 60.6k]
  |  |  |  |  ------------------
  |  |  |  | 1985|  60.6k|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1986|  60.6k|        code++;                                         \
  |  |  |  | 1987|  60.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1987:14): [Folded, False: 60.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2431|  60.6k|            GET_ARG; /* 0 for lookahead, width for lookbehind */
  ------------------
  |  | 1971|  60.6k|    do {                                                \
  |  | 1972|  60.6k|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|  60.6k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 60.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|  60.6k|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1973:13): [True: 0, False: 60.6k]
  |  |  ------------------
  |  | 1974|  60.6k|        arg = *code++;                                  \
  |  | 1975|  60.6k|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|  60.6k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 60.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|  60.6k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 60.6k]
  |  |  ------------------
  ------------------
 2432|  60.6k|            code--; /* Back up over arg to simplify math below */
 2433|       |            /* Stop 1 before the end; we check the SUCCESS below */
 2434|  60.6k|            if (_validate_inner(code+1, code+skip-2, groups))
  ------------------
  |  Branch (2434:17): [True: 0, False: 60.6k]
  ------------------
 2435|      0|                FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2436|  60.6k|            code += skip-2;
 2437|  60.6k|            GET_OP;
  ------------------
  |  | 1964|  60.6k|    do {                                                \
  |  | 1965|  60.6k|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|  60.6k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 60.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1966|  60.6k|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1966:13): [True: 0, False: 60.6k]
  |  |  ------------------
  |  | 1967|  60.6k|        op = *code++;                                   \
  |  | 1968|  60.6k|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1956|  60.6k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 60.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1969|  60.6k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1969:14): [Folded, False: 60.6k]
  |  |  ------------------
  ------------------
 2438|  60.6k|            if (op != SRE_OP_SUCCESS)
  ------------------
  |  |   16|  60.6k|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (2438:17): [True: 0, False: 60.6k]
  ------------------
 2439|      0|                FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2440|  60.6k|            break;
 2441|       |
 2442|  60.6k|        case SRE_OP_JUMP:
  ------------------
  |  |   30|  1.71k|#define SRE_OP_JUMP 15
  ------------------
  |  Branch (2442:9): [True: 1.71k, False: 5.51M]
  ------------------
 2443|  1.71k|            if (code + 1 != end)
  ------------------
  |  Branch (2443:17): [True: 0, False: 1.71k]
  ------------------
 2444|      0|                FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2445|  1.71k|            VTRACE(("JUMP: %d\n", __LINE__));
  ------------------
  |  | 1956|  1.71k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1956:31): [Folded, False: 1.71k]
  |  |  ------------------
  ------------------
 2446|  1.71k|            return 1;
 2447|       |
 2448|      0|        default:
  ------------------
  |  Branch (2448:9): [True: 0, False: 5.51M]
  ------------------
 2449|      0|            FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2450|       |
 2451|  5.51M|        }
 2452|  5.51M|    }
 2453|       |
 2454|  2.18M|    VTRACE(("okay\n"));
  ------------------
  |  | 1956|  2.18M|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1956:31): [Folded, False: 2.18M]
  |  |  ------------------
  ------------------
 2455|  2.18M|    return 0;
 2456|  2.18M|}
sre.c:_validate_category:
 1992|  90.0k|{
 1993|  90.0k|    switch (arg) {
 1994|  35.6k|    case SRE_CATEGORY_DIGIT:
  ------------------
  |  |   70|  35.6k|#define SRE_CATEGORY_DIGIT 0
  ------------------
  |  Branch (1994:5): [True: 35.6k, False: 54.3k]
  ------------------
 1995|  53.0k|    case SRE_CATEGORY_NOT_DIGIT:
  ------------------
  |  |   71|  53.0k|#define SRE_CATEGORY_NOT_DIGIT 1
  ------------------
  |  Branch (1995:5): [True: 17.4k, False: 72.6k]
  ------------------
 1996|  60.5k|    case SRE_CATEGORY_SPACE:
  ------------------
  |  |   72|  60.5k|#define SRE_CATEGORY_SPACE 2
  ------------------
  |  Branch (1996:5): [True: 7.48k, False: 82.5k]
  ------------------
 1997|  61.0k|    case SRE_CATEGORY_NOT_SPACE:
  ------------------
  |  |   73|  61.0k|#define SRE_CATEGORY_NOT_SPACE 3
  ------------------
  |  Branch (1997:5): [True: 501, False: 89.5k]
  ------------------
 1998|  89.7k|    case SRE_CATEGORY_WORD:
  ------------------
  |  |   74|  89.7k|#define SRE_CATEGORY_WORD 4
  ------------------
  |  Branch (1998:5): [True: 28.6k, False: 61.3k]
  ------------------
 1999|  89.7k|    case SRE_CATEGORY_NOT_WORD:
  ------------------
  |  |   75|  89.7k|#define SRE_CATEGORY_NOT_WORD 5
  ------------------
  |  Branch (1999:5): [True: 1, False: 90.0k]
  ------------------
 2000|  89.7k|    case SRE_CATEGORY_LINEBREAK:
  ------------------
  |  |   76|  89.7k|#define SRE_CATEGORY_LINEBREAK 6
  ------------------
  |  Branch (2000:5): [True: 0, False: 90.0k]
  ------------------
 2001|  89.7k|    case SRE_CATEGORY_NOT_LINEBREAK:
  ------------------
  |  |   77|  89.7k|#define SRE_CATEGORY_NOT_LINEBREAK 7
  ------------------
  |  Branch (2001:5): [True: 0, False: 90.0k]
  ------------------
 2002|  90.0k|    case SRE_CATEGORY_LOC_WORD:
  ------------------
  |  |   78|  90.0k|#define SRE_CATEGORY_LOC_WORD 8
  ------------------
  |  Branch (2002:5): [True: 295, False: 89.7k]
  ------------------
 2003|  90.0k|    case SRE_CATEGORY_LOC_NOT_WORD:
  ------------------
  |  |   79|  90.0k|#define SRE_CATEGORY_LOC_NOT_WORD 9
  ------------------
  |  Branch (2003:5): [True: 1, False: 90.0k]
  ------------------
 2004|  90.0k|    case SRE_CATEGORY_UNI_DIGIT:
  ------------------
  |  |   80|  90.0k|#define SRE_CATEGORY_UNI_DIGIT 10
  ------------------
  |  Branch (2004:5): [True: 9, False: 90.0k]
  ------------------
 2005|  90.0k|    case SRE_CATEGORY_UNI_NOT_DIGIT:
  ------------------
  |  |   81|  90.0k|#define SRE_CATEGORY_UNI_NOT_DIGIT 11
  ------------------
  |  Branch (2005:5): [True: 0, False: 90.0k]
  ------------------
 2006|  90.0k|    case SRE_CATEGORY_UNI_SPACE:
  ------------------
  |  |   82|  90.0k|#define SRE_CATEGORY_UNI_SPACE 12
  ------------------
  |  Branch (2006:5): [True: 0, False: 90.0k]
  ------------------
 2007|  90.0k|    case SRE_CATEGORY_UNI_NOT_SPACE:
  ------------------
  |  |   83|  90.0k|#define SRE_CATEGORY_UNI_NOT_SPACE 13
  ------------------
  |  Branch (2007:5): [True: 0, False: 90.0k]
  ------------------
 2008|  90.0k|    case SRE_CATEGORY_UNI_WORD:
  ------------------
  |  |   84|  90.0k|#define SRE_CATEGORY_UNI_WORD 14
  ------------------
  |  Branch (2008:5): [True: 0, False: 90.0k]
  ------------------
 2009|  90.0k|    case SRE_CATEGORY_UNI_NOT_WORD:
  ------------------
  |  |   85|  90.0k|#define SRE_CATEGORY_UNI_NOT_WORD 15
  ------------------
  |  Branch (2009:5): [True: 0, False: 90.0k]
  ------------------
 2010|  90.0k|    case SRE_CATEGORY_UNI_LINEBREAK:
  ------------------
  |  |   86|  90.0k|#define SRE_CATEGORY_UNI_LINEBREAK 16
  ------------------
  |  Branch (2010:5): [True: 0, False: 90.0k]
  ------------------
 2011|  90.0k|    case SRE_CATEGORY_UNI_NOT_LINEBREAK:
  ------------------
  |  |   87|  90.0k|#define SRE_CATEGORY_UNI_NOT_LINEBREAK 17
  ------------------
  |  Branch (2011:5): [True: 0, False: 90.0k]
  ------------------
 2012|  90.0k|    case SRE_CATEGORY_ALPHA:
  ------------------
  |  |   88|  90.0k|#define SRE_CATEGORY_ALPHA 18
  ------------------
  |  Branch (2012:5): [True: 0, False: 90.0k]
  ------------------
 2013|  90.0k|    case SRE_CATEGORY_NOT_ALPHA:
  ------------------
  |  |   89|  90.0k|#define SRE_CATEGORY_NOT_ALPHA 19
  ------------------
  |  Branch (2013:5): [True: 0, False: 90.0k]
  ------------------
 2014|  90.0k|    case SRE_CATEGORY_LOWER:
  ------------------
  |  |   90|  90.0k|#define SRE_CATEGORY_LOWER 20
  ------------------
  |  Branch (2014:5): [True: 0, False: 90.0k]
  ------------------
 2015|  90.0k|    case SRE_CATEGORY_NOT_LOWER:
  ------------------
  |  |   91|  90.0k|#define SRE_CATEGORY_NOT_LOWER 21
  ------------------
  |  Branch (2015:5): [True: 0, False: 90.0k]
  ------------------
 2016|  90.0k|    case SRE_CATEGORY_UPPER:
  ------------------
  |  |   92|  90.0k|#define SRE_CATEGORY_UPPER 22
  ------------------
  |  Branch (2016:5): [True: 0, False: 90.0k]
  ------------------
 2017|  90.0k|    case SRE_CATEGORY_NOT_UPPER:
  ------------------
  |  |   93|  90.0k|#define SRE_CATEGORY_NOT_UPPER 23
  ------------------
  |  Branch (2017:5): [True: 0, False: 90.0k]
  ------------------
 2018|  90.0k|    case SRE_CATEGORY_NUMERIC:
  ------------------
  |  |   94|  90.0k|#define SRE_CATEGORY_NUMERIC 24
  ------------------
  |  Branch (2018:5): [True: 0, False: 90.0k]
  ------------------
 2019|  90.0k|    case SRE_CATEGORY_NOT_NUMERIC:
  ------------------
  |  |   95|  90.0k|#define SRE_CATEGORY_NOT_NUMERIC 25
  ------------------
  |  Branch (2019:5): [True: 0, False: 90.0k]
  ------------------
 2020|  90.0k|    case SRE_CATEGORY_PRINTABLE:
  ------------------
  |  |   96|  90.0k|#define SRE_CATEGORY_PRINTABLE 26
  ------------------
  |  Branch (2020:5): [True: 0, False: 90.0k]
  ------------------
 2021|  90.0k|    case SRE_CATEGORY_NOT_PRINTABLE:
  ------------------
  |  |   97|  90.0k|#define SRE_CATEGORY_NOT_PRINTABLE 27
  ------------------
  |  Branch (2021:5): [True: 0, False: 90.0k]
  ------------------
 2022|  90.0k|    case SRE_CATEGORY_ALNUM:
  ------------------
  |  |   98|  90.0k|#define SRE_CATEGORY_ALNUM 28
  ------------------
  |  Branch (2022:5): [True: 0, False: 90.0k]
  ------------------
 2023|  90.0k|    case SRE_CATEGORY_NOT_ALNUM:
  ------------------
  |  |   99|  90.0k|#define SRE_CATEGORY_NOT_ALNUM 29
  ------------------
  |  Branch (2023:5): [True: 0, False: 90.0k]
  ------------------
 2024|  90.0k|    case SRE_CATEGORY_XID_START:
  ------------------
  |  |  100|  90.0k|#define SRE_CATEGORY_XID_START 30
  ------------------
  |  Branch (2024:5): [True: 0, False: 90.0k]
  ------------------
 2025|  90.0k|    case SRE_CATEGORY_NOT_XID_START:
  ------------------
  |  |  101|  90.0k|#define SRE_CATEGORY_NOT_XID_START 31
  ------------------
  |  Branch (2025:5): [True: 0, False: 90.0k]
  ------------------
 2026|  90.0k|    case SRE_CATEGORY_XID_CONTINUE:
  ------------------
  |  |  102|  90.0k|#define SRE_CATEGORY_XID_CONTINUE 32
  ------------------
  |  Branch (2026:5): [True: 0, False: 90.0k]
  ------------------
 2027|  90.0k|    case SRE_CATEGORY_NOT_XID_CONTINUE:
  ------------------
  |  |  103|  90.0k|#define SRE_CATEGORY_NOT_XID_CONTINUE 33
  ------------------
  |  Branch (2027:5): [True: 0, False: 90.0k]
  ------------------
 2028|  90.0k|    case SRE_CATEGORY_TITLE:
  ------------------
  |  |  104|  90.0k|#define SRE_CATEGORY_TITLE 34
  ------------------
  |  Branch (2028:5): [True: 0, False: 90.0k]
  ------------------
 2029|  90.0k|    case SRE_CATEGORY_NOT_TITLE:
  ------------------
  |  |  105|  90.0k|#define SRE_CATEGORY_NOT_TITLE 35
  ------------------
  |  Branch (2029:5): [True: 0, False: 90.0k]
  ------------------
 2030|  90.0k|    case SRE_CATEGORY_CASED:
  ------------------
  |  |  106|  90.0k|#define SRE_CATEGORY_CASED 36
  ------------------
  |  Branch (2030:5): [True: 0, False: 90.0k]
  ------------------
 2031|  90.0k|    case SRE_CATEGORY_NOT_CASED:
  ------------------
  |  |  107|  90.0k|#define SRE_CATEGORY_NOT_CASED 37
  ------------------
  |  Branch (2031:5): [True: 0, False: 90.0k]
  ------------------
 2032|  90.0k|    case SRE_CATEGORY_CASE_IGNORABLE:
  ------------------
  |  |  108|  90.0k|#define SRE_CATEGORY_CASE_IGNORABLE 38
  ------------------
  |  Branch (2032:5): [True: 0, False: 90.0k]
  ------------------
 2033|  90.0k|    case SRE_CATEGORY_NOT_CASE_IGNORABLE:
  ------------------
  |  |  109|  90.0k|#define SRE_CATEGORY_NOT_CASE_IGNORABLE 39
  ------------------
  |  Branch (2033:5): [True: 0, False: 90.0k]
  ------------------
 2034|  90.0k|    case SRE_CATEGORY_LU:
  ------------------
  |  |  110|  90.0k|#define SRE_CATEGORY_LU 40
  ------------------
  |  Branch (2034:5): [True: 0, False: 90.0k]
  ------------------
 2035|  90.0k|    case SRE_CATEGORY_NOT_LU:
  ------------------
  |  |  111|  90.0k|#define SRE_CATEGORY_NOT_LU 41
  ------------------
  |  Branch (2035:5): [True: 0, False: 90.0k]
  ------------------
 2036|  90.0k|    case SRE_CATEGORY_N:
  ------------------
  |  |  112|  90.0k|#define SRE_CATEGORY_N 42
  ------------------
  |  Branch (2036:5): [True: 0, False: 90.0k]
  ------------------
 2037|  90.0k|    case SRE_CATEGORY_NOT_N:
  ------------------
  |  |  113|  90.0k|#define SRE_CATEGORY_NOT_N 43
  ------------------
  |  Branch (2037:5): [True: 0, False: 90.0k]
  ------------------
 2038|  90.0k|    case SRE_CATEGORY_LM:
  ------------------
  |  |  114|  90.0k|#define SRE_CATEGORY_LM 44
  ------------------
  |  Branch (2038:5): [True: 0, False: 90.0k]
  ------------------
 2039|  90.0k|    case SRE_CATEGORY_NOT_LM:
  ------------------
  |  |  115|  90.0k|#define SRE_CATEGORY_NOT_LM 45
  ------------------
  |  Branch (2039:5): [True: 0, False: 90.0k]
  ------------------
 2040|  90.0k|    case SRE_CATEGORY_NL:
  ------------------
  |  |  116|  90.0k|#define SRE_CATEGORY_NL 46
  ------------------
  |  Branch (2040:5): [True: 0, False: 90.0k]
  ------------------
 2041|  90.0k|    case SRE_CATEGORY_NOT_NL:
  ------------------
  |  |  117|  90.0k|#define SRE_CATEGORY_NOT_NL 47
  ------------------
  |  Branch (2041:5): [True: 0, False: 90.0k]
  ------------------
 2042|  90.0k|    case SRE_CATEGORY_NO:
  ------------------
  |  |  118|  90.0k|#define SRE_CATEGORY_NO 48
  ------------------
  |  Branch (2042:5): [True: 0, False: 90.0k]
  ------------------
 2043|  90.0k|    case SRE_CATEGORY_NOT_NO:
  ------------------
  |  |  119|  90.0k|#define SRE_CATEGORY_NOT_NO 49
  ------------------
  |  Branch (2043:5): [True: 0, False: 90.0k]
  ------------------
 2044|  90.0k|    case SRE_CATEGORY_CF:
  ------------------
  |  |  120|  90.0k|#define SRE_CATEGORY_CF 50
  ------------------
  |  Branch (2044:5): [True: 0, False: 90.0k]
  ------------------
 2045|  90.0k|    case SRE_CATEGORY_NOT_CF:
  ------------------
  |  |  121|  90.0k|#define SRE_CATEGORY_NOT_CF 51
  ------------------
  |  Branch (2045:5): [True: 0, False: 90.0k]
  ------------------
 2046|  90.0k|    case SRE_CATEGORY_Z:
  ------------------
  |  |  122|  90.0k|#define SRE_CATEGORY_Z 52
  ------------------
  |  Branch (2046:5): [True: 0, False: 90.0k]
  ------------------
 2047|  90.0k|    case SRE_CATEGORY_NOT_Z:
  ------------------
  |  |  123|  90.0k|#define SRE_CATEGORY_NOT_Z 53
  ------------------
  |  Branch (2047:5): [True: 0, False: 90.0k]
  ------------------
 2048|  90.0k|    case SRE_CATEGORY_ZS:
  ------------------
  |  |  124|  90.0k|#define SRE_CATEGORY_ZS 54
  ------------------
  |  Branch (2048:5): [True: 0, False: 90.0k]
  ------------------
 2049|  90.0k|    case SRE_CATEGORY_NOT_ZS:
  ------------------
  |  |  125|  90.0k|#define SRE_CATEGORY_NOT_ZS 55
  ------------------
  |  Branch (2049:5): [True: 0, False: 90.0k]
  ------------------
 2050|  90.0k|    case SRE_CATEGORY_C:
  ------------------
  |  |  126|  90.0k|#define SRE_CATEGORY_C 56
  ------------------
  |  Branch (2050:5): [True: 0, False: 90.0k]
  ------------------
 2051|  90.0k|    case SRE_CATEGORY_NOT_C:
  ------------------
  |  |  127|  90.0k|#define SRE_CATEGORY_NOT_C 57
  ------------------
  |  Branch (2051:5): [True: 0, False: 90.0k]
  ------------------
 2052|  90.0k|    case SRE_CATEGORY_CN:
  ------------------
  |  |  128|  90.0k|#define SRE_CATEGORY_CN 58
  ------------------
  |  Branch (2052:5): [True: 0, False: 90.0k]
  ------------------
 2053|  90.0k|    case SRE_CATEGORY_NOT_CN:
  ------------------
  |  |  129|  90.0k|#define SRE_CATEGORY_NOT_CN 59
  ------------------
  |  Branch (2053:5): [True: 0, False: 90.0k]
  ------------------
 2054|  90.0k|    case SRE_CATEGORY_ASSIGNED:
  ------------------
  |  |  130|  90.0k|#define SRE_CATEGORY_ASSIGNED 60
  ------------------
  |  Branch (2054:5): [True: 0, False: 90.0k]
  ------------------
 2055|  90.0k|    case SRE_CATEGORY_NOT_ASSIGNED:
  ------------------
  |  |  131|  90.0k|#define SRE_CATEGORY_NOT_ASSIGNED 61
  ------------------
  |  Branch (2055:5): [True: 0, False: 90.0k]
  ------------------
 2056|  90.0k|    case SRE_CATEGORY_BLANK:
  ------------------
  |  |  132|  90.0k|#define SRE_CATEGORY_BLANK 62
  ------------------
  |  Branch (2056:5): [True: 0, False: 90.0k]
  ------------------
 2057|  90.0k|    case SRE_CATEGORY_NOT_BLANK:
  ------------------
  |  |  133|  90.0k|#define SRE_CATEGORY_NOT_BLANK 63
  ------------------
  |  Branch (2057:5): [True: 0, False: 90.0k]
  ------------------
 2058|  90.0k|    case SRE_CATEGORY_GRAPH:
  ------------------
  |  |  134|  90.0k|#define SRE_CATEGORY_GRAPH 64
  ------------------
  |  Branch (2058:5): [True: 0, False: 90.0k]
  ------------------
 2059|  90.0k|    case SRE_CATEGORY_NOT_GRAPH:
  ------------------
  |  |  135|  90.0k|#define SRE_CATEGORY_NOT_GRAPH 65
  ------------------
  |  Branch (2059:5): [True: 0, False: 90.0k]
  ------------------
 2060|  90.0k|    case SRE_CATEGORY_PRINT:
  ------------------
  |  |  136|  90.0k|#define SRE_CATEGORY_PRINT 66
  ------------------
  |  Branch (2060:5): [True: 0, False: 90.0k]
  ------------------
 2061|  90.0k|    case SRE_CATEGORY_NOT_PRINT:
  ------------------
  |  |  137|  90.0k|#define SRE_CATEGORY_NOT_PRINT 67
  ------------------
  |  Branch (2061:5): [True: 0, False: 90.0k]
  ------------------
 2062|  90.0k|        return 1;
 2063|      0|    default:
  ------------------
  |  Branch (2063:5): [True: 0, False: 90.0k]
  ------------------
 2064|      0|        return 0;
 2065|  90.0k|    }
 2066|  90.0k|}
sre.c:_validate_charset:
 2070|   154k|{
 2071|       |    /* Some variables are manipulated by the macros above */
 2072|   154k|    SRE_CODE op;
  ------------------
  |  |   18|   154k|#define SRE_CODE Py_UCS4
  ------------------
 2073|   154k|    SRE_CODE arg;
  ------------------
  |  |   18|   154k|#define SRE_CODE Py_UCS4
  ------------------
 2074|   154k|    SRE_CODE offset;
  ------------------
  |  |   18|   154k|#define SRE_CODE Py_UCS4
  ------------------
 2075|   154k|    int i;
 2076|       |
 2077|   421k|    while (code < end) {
  ------------------
  |  Branch (2077:12): [True: 266k, False: 154k]
  ------------------
 2078|   266k|        GET_OP;
  ------------------
  |  | 1964|   266k|    do {                                                \
  |  | 1965|   266k|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|   266k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 266k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1966|   266k|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1966:13): [True: 0, False: 266k]
  |  |  ------------------
  |  | 1967|   266k|        op = *code++;                                   \
  |  | 1968|   266k|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1956|   266k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 266k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1969|   266k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1969:14): [Folded, False: 266k]
  |  |  ------------------
  ------------------
 2079|   266k|        switch (op) {
 2080|       |
 2081|  12.8k|        case SRE_OP_NEGATE:
  ------------------
  |  |   36|  12.8k|#define SRE_OP_NEGATE 21
  ------------------
  |  Branch (2081:9): [True: 12.8k, False: 253k]
  ------------------
 2082|  12.8k|            break;
 2083|       |
 2084|   171k|        case SRE_OP_LITERAL:
  ------------------
  |  |   31|   171k|#define SRE_OP_LITERAL 16
  ------------------
  |  Branch (2084:9): [True: 171k, False: 95.1k]
  ------------------
 2085|   171k|            GET_ARG;
  ------------------
  |  | 1971|   171k|    do {                                                \
  |  | 1972|   171k|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|   171k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 171k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|   171k|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1973:13): [True: 0, False: 171k]
  |  |  ------------------
  |  | 1974|   171k|        arg = *code++;                                  \
  |  | 1975|   171k|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|   171k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 171k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|   171k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 171k]
  |  |  ------------------
  ------------------
 2086|   171k|            break;
 2087|       |
 2088|   171k|        case SRE_OP_RANGE:
  ------------------
  |  |   37|  13.5k|#define SRE_OP_RANGE 22
  ------------------
  |  Branch (2088:9): [True: 13.5k, False: 253k]
  ------------------
 2089|  13.5k|        case SRE_OP_RANGE_UNI_IGNORE:
  ------------------
  |  |   57|  13.5k|#define SRE_OP_RANGE_UNI_IGNORE 42
  ------------------
  |  Branch (2089:9): [True: 0, False: 266k]
  ------------------
 2090|  13.5k|            GET_ARG;
  ------------------
  |  | 1971|  13.5k|    do {                                                \
  |  | 1972|  13.5k|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|  13.5k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 13.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|  13.5k|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1973:13): [True: 0, False: 13.5k]
  |  |  ------------------
  |  | 1974|  13.5k|        arg = *code++;                                  \
  |  | 1975|  13.5k|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|  13.5k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 13.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|  13.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 13.5k]
  |  |  ------------------
  ------------------
 2091|  13.5k|            GET_ARG;
  ------------------
  |  | 1971|  13.5k|    do {                                                \
  |  | 1972|  13.5k|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|  13.5k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 13.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|  13.5k|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1973:13): [True: 0, False: 13.5k]
  |  |  ------------------
  |  | 1974|  13.5k|        arg = *code++;                                  \
  |  | 1975|  13.5k|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|  13.5k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 13.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|  13.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 13.5k]
  |  |  ------------------
  ------------------
 2092|  13.5k|            break;
 2093|       |
 2094|  62.9k|        case SRE_OP_CHARSET:
  ------------------
  |  |   24|  62.9k|#define SRE_OP_CHARSET 9
  ------------------
  |  Branch (2094:9): [True: 62.9k, False: 203k]
  ------------------
 2095|  62.9k|            offset = 256/SRE_CODE_BITS; /* 256-bit bitmap */
  ------------------
  |  |   56|  62.9k|#define SRE_CODE_BITS (8 * sizeof(SRE_CODE))
  ------------------
 2096|  62.9k|            if (offset > (uintptr_t)(end - code))
  ------------------
  |  Branch (2096:17): [True: 0, False: 62.9k]
  ------------------
 2097|      0|                FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2098|  62.9k|            code += offset;
 2099|  62.9k|            break;
 2100|       |
 2101|      0|        case SRE_OP_BIGCHARSET:
  ------------------
  |  |   25|      0|#define SRE_OP_BIGCHARSET 10
  ------------------
  |  Branch (2101:9): [True: 0, False: 266k]
  ------------------
 2102|      0|            GET_ARG; /* Number of blocks */
  ------------------
  |  | 1971|      0|    do {                                                \
  |  | 1972|      0|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|      0|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1973:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1974|      0|        arg = *code++;                                  \
  |  | 1975|      0|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2103|      0|            offset = 256/sizeof(SRE_CODE); /* 256-byte table */
 2104|      0|            if (offset > (uintptr_t)(end - code))
  ------------------
  |  Branch (2104:17): [True: 0, False: 0]
  ------------------
 2105|      0|                FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2106|       |            /* Make sure that each byte points to a valid block */
 2107|      0|            for (i = 0; i < 256; i++) {
  ------------------
  |  Branch (2107:25): [True: 0, False: 0]
  ------------------
 2108|      0|                if (((unsigned char *)code)[i] >= arg)
  ------------------
  |  Branch (2108:21): [True: 0, False: 0]
  ------------------
 2109|      0|                    FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2110|      0|            }
 2111|      0|            code += offset;
 2112|      0|            offset = arg * (256/SRE_CODE_BITS); /* 256-bit bitmap times arg */
  ------------------
  |  |   56|      0|#define SRE_CODE_BITS (8 * sizeof(SRE_CODE))
  ------------------
 2113|      0|            if (offset > (uintptr_t)(end - code))
  ------------------
  |  Branch (2113:17): [True: 0, False: 0]
  ------------------
 2114|      0|                FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2115|      0|            code += offset;
 2116|      0|            break;
 2117|       |
 2118|  5.74k|        case SRE_OP_CATEGORY:
  ------------------
  |  |   23|  5.74k|#define SRE_OP_CATEGORY 8
  ------------------
  |  Branch (2118:9): [True: 5.74k, False: 261k]
  ------------------
 2119|  5.74k|            GET_ARG;
  ------------------
  |  | 1971|  5.74k|    do {                                                \
  |  | 1972|  5.74k|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|  5.74k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 5.74k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|  5.74k|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1973:13): [True: 0, False: 5.74k]
  |  |  ------------------
  |  | 1974|  5.74k|        arg = *code++;                                  \
  |  | 1975|  5.74k|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|  5.74k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 5.74k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|  5.74k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 5.74k]
  |  |  ------------------
  ------------------
 2120|  5.74k|            if (!_validate_category(arg)) {
  ------------------
  |  Branch (2120:17): [True: 0, False: 5.74k]
  ------------------
 2121|      0|                FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2122|      0|            }
 2123|  5.74k|            break;
 2124|       |
 2125|  5.74k|        default:
  ------------------
  |  Branch (2125:9): [True: 0, False: 266k]
  ------------------
 2126|      0|            FAIL;
  ------------------
  |  | 1960|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1960:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2127|       |
 2128|   266k|        }
 2129|   266k|    }
 2130|       |
 2131|   154k|    return 0;
 2132|   154k|}
sre.c:_sre_ascii_iscased_impl:
  581|  3.00M|{
  582|  3.00M|    unsigned int ch = (unsigned int)character;
  583|  3.00M|    return ch < 128 && Py_ISALPHA(ch);
  ------------------
  |  |   23|  2.89M|#define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |  138|  2.89M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |   10|  2.89M|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|  2.89M|#define PY_CTF_LOWER  0x01
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    9|  2.89M|#define PY_CTF_UPPER  0x02
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (23:24): [True: 267k, False: 2.62M]
  |  |  ------------------
  ------------------
  |  Branch (583:12): [True: 2.89M, False: 111k]
  ------------------
  584|  3.00M|}
sre.c:_sre_unicode_iscased_impl:
  597|     19|{
  598|     19|    unsigned int ch = (unsigned int)character;
  599|     19|    return ch != sre_lower_unicode(ch) || ch != sre_upper_unicode(ch);
  ------------------
  |  Branch (599:12): [True: 4, False: 15]
  |  Branch (599:43): [True: 9, False: 6]
  ------------------
  600|     19|}
sre.c:sre_lower_unicode:
  218|     47|{
  219|     47|    return (unsigned int) Py_UNICODE_TOLOWER(ch);
  ------------------
  |  |  754|     47|#define Py_UNICODE_TOLOWER(ch) _PyUnicode_ToLowercase(ch)
  ------------------
  220|     47|}
sre.c:sre_upper_unicode:
  223|     15|{
  224|     15|    return (unsigned int) Py_UNICODE_TOUPPER(ch);
  ------------------
  |  |  755|     15|#define Py_UNICODE_TOUPPER(ch) _PyUnicode_ToUppercase(ch)
  ------------------
  225|     15|}
sre.c:_sre_ascii_tolower_impl:
  613|  8.57M|{
  614|  8.57M|    return sre_lower_ascii(character);
  615|  8.57M|}
sre.c:sre_lower_ascii:
  147|  8.57M|{
  148|  8.57M|    return ((ch) < 128 ? Py_TOLOWER(ch) : ch);
  ------------------
  |  |   32|  4.73M|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  138|  4.73M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  |  Branch (148:13): [True: 4.73M, False: 3.83M]
  ------------------
  149|  8.57M|}
sre.c:_sre_unicode_tolower_impl:
  628|     17|{
  629|     17|    return sre_lower_unicode(character);
  630|     17|}
sre.c:sre_exec:
 3636|      1|{
 3637|      1|    _sremodulestate *state;
 3638|       |
 3639|       |#ifdef Py_DEBUG
 3640|       |    _assert_match_aliases_prefixmatch(pattern_methods);
 3641|       |    _assert_match_aliases_prefixmatch(scanner_methods);
 3642|       |#endif
 3643|       |
 3644|       |    /* Create heap types */
 3645|      1|    state = get_sre_module_state(m);
 3646|      1|    CREATE_TYPE(m, state->Pattern_Type, &pattern_spec);
  ------------------
  |  | 3604|      1|#define CREATE_TYPE(m, type, spec)                                  \
  |  | 3605|      1|do {                                                                \
  |  | 3606|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(m, spec, NULL); \
  |  | 3607|      1|    if (type == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (3607:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 3608|      0|        goto error;                                                 \
  |  | 3609|      0|    }                                                               \
  |  | 3610|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (3610:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 3647|      1|    CREATE_TYPE(m, state->Match_Type, &match_spec);
  ------------------
  |  | 3604|      1|#define CREATE_TYPE(m, type, spec)                                  \
  |  | 3605|      1|do {                                                                \
  |  | 3606|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(m, spec, NULL); \
  |  | 3607|      1|    if (type == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (3607:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 3608|      0|        goto error;                                                 \
  |  | 3609|      0|    }                                                               \
  |  | 3610|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (3610:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 3648|      1|    CREATE_TYPE(m, state->Scanner_Type, &scanner_spec);
  ------------------
  |  | 3604|      1|#define CREATE_TYPE(m, type, spec)                                  \
  |  | 3605|      1|do {                                                                \
  |  | 3606|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(m, spec, NULL); \
  |  | 3607|      1|    if (type == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (3607:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 3608|      0|        goto error;                                                 \
  |  | 3609|      0|    }                                                               \
  |  | 3610|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (3610:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 3649|      1|    CREATE_TYPE(m, state->Template_Type, &template_spec);
  ------------------
  |  | 3604|      1|#define CREATE_TYPE(m, type, spec)                                  \
  |  | 3605|      1|do {                                                                \
  |  | 3606|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(m, spec, NULL); \
  |  | 3607|      1|    if (type == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (3607:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 3608|      0|        goto error;                                                 \
  |  | 3609|      0|    }                                                               \
  |  | 3610|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (3610:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 3650|       |
 3651|      1|    if (PyModule_AddIntConstant(m, "MAGIC", SRE_MAGIC) < 0) {
  ------------------
  |  |   14|      1|#define SRE_MAGIC 20260622
  ------------------
  |  Branch (3651:9): [True: 0, False: 1]
  ------------------
 3652|      0|        goto error;
 3653|      0|    }
 3654|       |
 3655|      1|    if (PyModule_AddIntConstant(m, "CODESIZE", sizeof(SRE_CODE)) < 0) {
  ------------------
  |  Branch (3655:9): [True: 0, False: 1]
  ------------------
 3656|      0|        goto error;
 3657|      0|    }
 3658|       |
 3659|      1|    ADD_ULONG_CONSTANT(m, "MAXREPEAT", SRE_MAXREPEAT);
  ------------------
  |  | 3613|      1|    do {                                                  \
  |  | 3614|      1|        if (PyModule_Add(module, name, PyLong_FromUnsignedLong(value)) < 0) { \
  |  |  ------------------
  |  |  |  Branch (3614:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 3615|      0|            goto error;                                   \
  |  | 3616|      0|        }                                                 \
  |  | 3617|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (3617:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 3660|      1|    ADD_ULONG_CONSTANT(m, "MAXGROUPS", SRE_MAXGROUPS);
  ------------------
  |  | 3613|      1|    do {                                                  \
  |  | 3614|      1|        if (PyModule_Add(module, name, PyLong_FromUnsignedLong(value)) < 0) { \
  |  |  ------------------
  |  |  |  Branch (3614:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 3615|      0|            goto error;                                   \
  |  | 3616|      0|        }                                                 \
  |  | 3617|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (3617:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 3661|       |
 3662|      1|    if (PyModule_AddStringConstant(m, "copyright", copyright) < 0) {
  ------------------
  |  Branch (3662:9): [True: 0, False: 1]
  ------------------
 3663|      0|        goto error;
 3664|      0|    }
 3665|       |
 3666|      1|    return 0;
 3667|       |
 3668|      0|error:
 3669|      0|    return -1;
 3670|      1|}
sre.c:pattern_dealloc:
  890|  1.69k|{
  891|  1.69k|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|  1.69k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.69k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  892|  1.69k|    PyObject_GC_UnTrack(self);
  893|  1.69k|    FT_CLEAR_WEAKREFS(self, _PatternObject_CAST(self)->weakreflist);
  ------------------
  |  |   47|  1.69k|    do {                                            \
  |  |   48|  1.69k|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|  1.69k|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 1.69k]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|  1.69k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 1.69k]
  |  |  ------------------
  ------------------
  |  Branch (893:5): [True: 1.69k, False: 0]
  ------------------
  894|  1.69k|    (void)pattern_clear(self);
  895|  1.69k|    tp->tp_free(self);
  896|  1.69k|    Py_DECREF(tp);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  897|  1.69k|}
sre.c:_sre_SRE_Pattern_prefixmatch_impl:
  938|     13|{
  939|     13|    _sremodulestate *module_state = get_sre_module_state_by_class(cls);
  ------------------
  |  |  540|     13|    (get_sre_module_state(PyType_GetModule(cls)))
  ------------------
  940|     13|    SRE_STATE state;
  941|     13|    Py_ssize_t status;
  942|     13|    PyObject *match;
  943|       |
  944|     13|    if (!state_init(&state, self, string, pos, endpos))
  ------------------
  |  Branch (944:9): [True: 0, False: 13]
  ------------------
  945|      0|        return NULL;
  946|       |
  947|     13|    INIT_TRACE(&state);
  948|     13|    state.ptr = state.start;
  949|       |
  950|     13|    TRACE(("|%p|%p|MATCH\n", PatternObject_GetCode(self), state.ptr));
  951|       |
  952|     13|    status = sre_match(&state, PatternObject_GetCode(self));
  ------------------
  |  |   47|     13|#define PatternObject_GetCode(o) (((PatternObject*)(o))->code)
  ------------------
  953|       |
  954|     13|    TRACE(("|%p|%p|END\n", PatternObject_GetCode(self), state.ptr));
  955|     13|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (955:9): [True: 0, False: 13]
  ------------------
  956|      0|        state_fini(&state);
  957|      0|        return NULL;
  958|      0|    }
  959|       |
  960|     13|    match = pattern_new_match(module_state, self, &state, status);
  961|     13|    state_fini(&state);
  962|     13|    return match;
  963|     13|}
sre.c:state_init:
  687|     13|{
  688|       |    /* prepare state object */
  689|       |
  690|     13|    Py_ssize_t length;
  691|     13|    int isbytes, charsize;
  692|     13|    const void* ptr;
  693|       |
  694|     13|    memset(state, 0, sizeof(SRE_STATE));
  695|       |
  696|       |    /* Patterns with no capturing groups never emit MARK opcodes and never
  697|       |       read state->mark (group 0's span comes from state->start/ptr), so skip
  698|       |       the allocation entirely -- state->mark stays NULL, which both the err
  699|       |       path and state_fini already free safely. */
  700|     13|    if (pattern->groups) {
  ------------------
  |  Branch (700:9): [True: 9, False: 4]
  ------------------
  701|      9|        state->mark = PyMem_New(const void *, pattern->groups * 2);
  ------------------
  |  |   64|      9|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|      9|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 9]
  |  |  ------------------
  |  |   65|      9|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
  702|      9|        if (!state->mark) {
  ------------------
  |  Branch (702:13): [True: 0, False: 9]
  ------------------
  703|      0|            PyErr_NoMemory();
  704|      0|            goto err;
  705|      0|        }
  706|      9|    }
  707|     13|    state->lastmark = -1;
  708|     13|    state->lastindex = -1;
  709|       |
  710|     13|    state->buffer.buf = NULL;
  711|     13|    ptr = getstring(string, &length, &isbytes, &charsize, &state->buffer);
  712|     13|    if (!ptr)
  ------------------
  |  Branch (712:9): [True: 0, False: 13]
  ------------------
  713|      0|        goto err;
  714|       |
  715|     13|    if (isbytes && pattern->isbytes == 0) {
  ------------------
  |  Branch (715:9): [True: 9, False: 4]
  |  Branch (715:20): [True: 0, False: 9]
  ------------------
  716|      0|        PyErr_SetString(PyExc_TypeError,
  717|      0|                        "cannot use a string pattern on a bytes-like object");
  718|      0|        goto err;
  719|      0|    }
  720|     13|    if (!isbytes && pattern->isbytes > 0) {
  ------------------
  |  Branch (720:9): [True: 4, False: 9]
  |  Branch (720:21): [True: 0, False: 4]
  ------------------
  721|      0|        PyErr_SetString(PyExc_TypeError,
  722|      0|                        "cannot use a bytes pattern on a string-like object");
  723|      0|        goto err;
  724|      0|    }
  725|       |
  726|       |    /* adjust boundaries */
  727|     13|    if (start < 0)
  ------------------
  |  Branch (727:9): [True: 0, False: 13]
  ------------------
  728|      0|        start = 0;
  729|     13|    else if (start > length)
  ------------------
  |  Branch (729:14): [True: 0, False: 13]
  ------------------
  730|      0|        start = length;
  731|       |
  732|     13|    if (end < 0)
  ------------------
  |  Branch (732:9): [True: 0, False: 13]
  ------------------
  733|      0|        end = 0;
  734|     13|    else if (end > length)
  ------------------
  |  Branch (734:14): [True: 13, False: 0]
  ------------------
  735|     13|        end = length;
  736|       |
  737|     13|    state->isbytes = isbytes;
  738|     13|    state->charsize = charsize;
  739|     13|    state->match_all = 0;
  740|     13|    state->must_advance = 0;
  741|     13|    state->save_marks = 0;
  742|     13|    state->debug = ((pattern->flags & SRE_FLAG_DEBUG) != 0);
  ------------------
  |  |  144|     13|#define SRE_FLAG_DEBUG 128
  ------------------
  743|       |
  744|     13|    state->beginning = ptr;
  745|       |
  746|     13|    state->start = (void*) ((char*) ptr + start * state->charsize);
  747|     13|    state->end = (void*) ((char*) ptr + end * state->charsize);
  748|       |
  749|     13|    state->string = Py_NewRef(string);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  750|     13|    state->pos = start;
  751|     13|    state->endpos = end;
  752|       |
  753|       |#ifdef Py_DEBUG
  754|       |    state->fail_after_count = pattern->fail_after_count;
  755|       |    state->fail_after_exc = pattern->fail_after_exc; // borrowed ref
  756|       |#endif
  757|       |
  758|     13|    return string;
  759|      0|  err:
  760|       |    /* We add an explicit cast here because MSVC has a bug when
  761|       |       compiling C code where it believes that `const void**` cannot be
  762|       |       safely casted to `void*`, see bpo-39943 for details. */
  763|      0|    PyMem_Free((void*) state->mark);
  764|      0|    state->mark = NULL;
  765|      0|    if (state->buffer.buf)
  ------------------
  |  Branch (765:9): [True: 0, False: 0]
  ------------------
  766|      0|        PyBuffer_Release(&state->buffer);
  767|       |    return NULL;
  768|     13|}
sre.c:sre_match:
  901|     13|{
  902|     13|    if (state->charsize == 1)
  ------------------
  |  Branch (902:9): [True: 13, False: 0]
  ------------------
  903|     13|        return sre_ucs1_match(state, pattern, 1);
  904|      0|    if (state->charsize == 2)
  ------------------
  |  Branch (904:9): [True: 0, False: 0]
  ------------------
  905|      0|        return sre_ucs2_match(state, pattern, 1);
  906|      0|    assert(state->charsize == 4);
  ------------------
  |  Branch (906:5): [True: 0, False: 0]
  ------------------
  907|      0|    return sre_ucs4_match(state, pattern, 1);
  908|      0|}
sre.c:data_stack_grow:
  398|     13|{
  399|     13|    INIT_TRACE(state);
  400|     13|    Py_ssize_t minsize, cursize;
  401|     13|    minsize = state->data_stack_base+size;
  402|     13|    cursize = state->data_stack_size;
  403|     13|    if (cursize < minsize) {
  ------------------
  |  Branch (403:9): [True: 13, False: 0]
  ------------------
  404|     13|        void* stack;
  405|     13|        cursize = minsize+minsize/4+1024;
  406|     13|        TRACE(("allocate/grow stack %zd\n", cursize));
  407|     13|        stack = PyMem_Realloc(state->data_stack, cursize);
  408|     13|        if (!stack) {
  ------------------
  |  Branch (408:13): [True: 0, False: 13]
  ------------------
  409|      0|            data_stack_dealloc(state);
  410|      0|            return SRE_ERROR_MEMORY;
  ------------------
  |  |  111|      0|#define SRE_ERROR_MEMORY -9 /* out of memory */
  ------------------
  411|      0|        }
  412|     13|        state->data_stack = (char *)stack;
  413|     13|        state->data_stack_size = cursize;
  414|     13|    }
  415|     13|    return 0;
  416|     13|}
sre.c:data_stack_dealloc:
  388|     13|{
  389|     13|    if (state->data_stack) {
  ------------------
  |  Branch (389:9): [True: 13, False: 0]
  ------------------
  390|     13|        PyMem_Free(state->data_stack);
  391|       |        state->data_stack = NULL;
  392|     13|    }
  393|     13|    state->data_stack_size = state->data_stack_base = 0;
  394|     13|}
sre.c:sre_category:
  229|      3|{
  230|      3|    switch (category) {
  ------------------
  |  Branch (230:13): [True: 3, False: 0]
  ------------------
  231|       |
  232|      0|    case SRE_CATEGORY_DIGIT:
  ------------------
  |  |   70|      0|#define SRE_CATEGORY_DIGIT 0
  ------------------
  |  Branch (232:5): [True: 0, False: 3]
  ------------------
  233|      0|        return SRE_IS_DIGIT(ch);
  ------------------
  |  |  138|      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 (138:6): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  234|      0|    case SRE_CATEGORY_NOT_DIGIT:
  ------------------
  |  |   71|      0|#define SRE_CATEGORY_NOT_DIGIT 1
  ------------------
  |  Branch (234:5): [True: 0, False: 3]
  ------------------
  235|      0|        return !SRE_IS_DIGIT(ch);
  ------------------
  |  |  138|      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 (138:6): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  236|      0|    case SRE_CATEGORY_SPACE:
  ------------------
  |  |   72|      0|#define SRE_CATEGORY_SPACE 2
  ------------------
  |  Branch (236:5): [True: 0, False: 3]
  ------------------
  237|      0|        return SRE_IS_SPACE(ch);
  ------------------
  |  |  140|      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 (140:6): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  238|      0|    case SRE_CATEGORY_NOT_SPACE:
  ------------------
  |  |   73|      0|#define SRE_CATEGORY_NOT_SPACE 3
  ------------------
  |  Branch (238:5): [True: 0, False: 3]
  ------------------
  239|      0|        return !SRE_IS_SPACE(ch);
  ------------------
  |  |  140|      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 (140:6): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  240|      0|    case SRE_CATEGORY_WORD:
  ------------------
  |  |   74|      0|#define SRE_CATEGORY_WORD 4
  ------------------
  |  Branch (240:5): [True: 0, False: 3]
  ------------------
  241|      0|        return SRE_IS_WORD(ch);
  ------------------
  |  |  144|      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 (144:6): [True: 0, False: 0]
  |  |  |  Branch (144:40): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  242|      0|    case SRE_CATEGORY_NOT_WORD:
  ------------------
  |  |   75|      0|#define SRE_CATEGORY_NOT_WORD 5
  ------------------
  |  Branch (242:5): [True: 0, False: 3]
  ------------------
  243|      0|        return !SRE_IS_WORD(ch);
  ------------------
  |  |  144|      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 (144:6): [True: 0, False: 0]
  |  |  |  Branch (144:40): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  244|      0|    case SRE_CATEGORY_LINEBREAK:
  ------------------
  |  |   76|      0|#define SRE_CATEGORY_LINEBREAK 6
  ------------------
  |  Branch (244:5): [True: 0, False: 3]
  ------------------
  245|      0|        return SRE_IS_LINEBREAK(ch);
  ------------------
  |  |  142|      0|    ((ch) == '\n')
  ------------------
  246|      0|    case SRE_CATEGORY_NOT_LINEBREAK:
  ------------------
  |  |   77|      0|#define SRE_CATEGORY_NOT_LINEBREAK 7
  ------------------
  |  Branch (246:5): [True: 0, False: 3]
  ------------------
  247|      0|        return !SRE_IS_LINEBREAK(ch);
  ------------------
  |  |  142|      0|    ((ch) == '\n')
  ------------------
  248|       |
  249|      0|    case SRE_CATEGORY_LOC_WORD:
  ------------------
  |  |   78|      0|#define SRE_CATEGORY_LOC_WORD 8
  ------------------
  |  Branch (249:5): [True: 0, False: 3]
  ------------------
  250|      0|        return SRE_LOC_IS_WORD(ch);
  ------------------
  |  |  155|      0|#define SRE_LOC_IS_WORD(ch) (SRE_LOC_IS_ALNUM((ch)) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  154|      0|#define SRE_LOC_IS_ALNUM(ch) (!((ch) & ~255) ? sre_isalnum((ch)) : 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (154:30): [True: 0, False: 0]
  |  |  |  |  |  Branch (154:31): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (155:56): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  251|      0|    case SRE_CATEGORY_LOC_NOT_WORD:
  ------------------
  |  |   79|      0|#define SRE_CATEGORY_LOC_NOT_WORD 9
  ------------------
  |  Branch (251:5): [True: 0, False: 3]
  ------------------
  252|      0|        return !SRE_LOC_IS_WORD(ch);
  ------------------
  |  |  155|      0|#define SRE_LOC_IS_WORD(ch) (SRE_LOC_IS_ALNUM((ch)) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  154|      0|#define SRE_LOC_IS_ALNUM(ch) (!((ch) & ~255) ? sre_isalnum((ch)) : 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (154:30): [True: 0, False: 0]
  |  |  |  |  |  Branch (154:31): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (155:56): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  253|       |
  254|      3|    case SRE_CATEGORY_UNI_DIGIT:
  ------------------
  |  |   80|      3|#define SRE_CATEGORY_UNI_DIGIT 10
  ------------------
  |  Branch (254:5): [True: 3, False: 0]
  ------------------
  255|      3|        return SRE_UNI_IS_DIGIT(ch);
  ------------------
  |  |  169|      3|#define SRE_UNI_IS_DIGIT(ch) Py_UNICODE_ISDECIMAL(ch)
  |  |  ------------------
  |  |  |  |  758|      3|#define Py_UNICODE_ISDECIMAL(ch) _PyUnicode_IsDecimalDigit(ch)
  |  |  ------------------
  ------------------
  256|      0|    case SRE_CATEGORY_UNI_NOT_DIGIT:
  ------------------
  |  |   81|      0|#define SRE_CATEGORY_UNI_NOT_DIGIT 11
  ------------------
  |  Branch (256:5): [True: 0, False: 3]
  ------------------
  257|      0|        return !SRE_UNI_IS_DIGIT(ch);
  ------------------
  |  |  169|      0|#define SRE_UNI_IS_DIGIT(ch) Py_UNICODE_ISDECIMAL(ch)
  |  |  ------------------
  |  |  |  |  758|      0|#define Py_UNICODE_ISDECIMAL(ch) _PyUnicode_IsDecimalDigit(ch)
  |  |  ------------------
  ------------------
  258|      0|    case SRE_CATEGORY_UNI_SPACE:
  ------------------
  |  |   82|      0|#define SRE_CATEGORY_UNI_SPACE 12
  ------------------
  |  Branch (258:5): [True: 0, False: 3]
  ------------------
  259|      0|        return SRE_UNI_IS_SPACE(ch);
  ------------------
  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  ------------------
  260|      0|    case SRE_CATEGORY_UNI_NOT_SPACE:
  ------------------
  |  |   83|      0|#define SRE_CATEGORY_UNI_NOT_SPACE 13
  ------------------
  |  Branch (260:5): [True: 0, False: 3]
  ------------------
  261|      0|        return !SRE_UNI_IS_SPACE(ch);
  ------------------
  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  ------------------
  262|      0|    case SRE_CATEGORY_UNI_WORD:
  ------------------
  |  |   84|      0|#define SRE_CATEGORY_UNI_WORD 14
  ------------------
  |  Branch (262:5): [True: 0, False: 3]
  ------------------
  263|      0|        return SRE_UNI_IS_WORD(ch);
  ------------------
  |  |  173|      0|#define SRE_UNI_IS_WORD(ch) (SRE_UNI_IS_ALNUM(ch) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  172|      0|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (172:30): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (173:54): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  264|      0|    case SRE_CATEGORY_UNI_NOT_WORD:
  ------------------
  |  |   85|      0|#define SRE_CATEGORY_UNI_NOT_WORD 15
  ------------------
  |  Branch (264:5): [True: 0, False: 3]
  ------------------
  265|      0|        return !SRE_UNI_IS_WORD(ch);
  ------------------
  |  |  173|      0|#define SRE_UNI_IS_WORD(ch) (SRE_UNI_IS_ALNUM(ch) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  172|      0|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (172:30): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (173:54): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  266|      0|    case SRE_CATEGORY_UNI_LINEBREAK:
  ------------------
  |  |   86|      0|#define SRE_CATEGORY_UNI_LINEBREAK 16
  ------------------
  |  Branch (266:5): [True: 0, False: 3]
  ------------------
  267|      0|        return SRE_UNI_IS_LINEBREAK(ch);
  ------------------
  |  |  171|      0|#define SRE_UNI_IS_LINEBREAK(ch) Py_UNICODE_ISLINEBREAK(ch)
  |  |  ------------------
  |  |  |  |  752|      0|#define Py_UNICODE_ISLINEBREAK(ch) _PyUnicode_IsLinebreak(ch)
  |  |  ------------------
  ------------------
  268|      0|    case SRE_CATEGORY_UNI_NOT_LINEBREAK:
  ------------------
  |  |   87|      0|#define SRE_CATEGORY_UNI_NOT_LINEBREAK 17
  ------------------
  |  Branch (268:5): [True: 0, False: 3]
  ------------------
  269|      0|        return !SRE_UNI_IS_LINEBREAK(ch);
  ------------------
  |  |  171|      0|#define SRE_UNI_IS_LINEBREAK(ch) Py_UNICODE_ISLINEBREAK(ch)
  |  |  ------------------
  |  |  |  |  752|      0|#define Py_UNICODE_ISLINEBREAK(ch) _PyUnicode_IsLinebreak(ch)
  |  |  ------------------
  ------------------
  270|       |
  271|      0|    case SRE_CATEGORY_ALPHA:
  ------------------
  |  |   88|      0|#define SRE_CATEGORY_ALPHA 18
  ------------------
  |  Branch (271:5): [True: 0, False: 3]
  ------------------
  272|      0|        return SRE_UNI_IS_ALPHA(ch);
  ------------------
  |  |  174|      0|#define SRE_UNI_IS_ALPHA(ch) Py_UNICODE_ISALPHA(ch)
  |  |  ------------------
  |  |  |  |  767|      0|#define Py_UNICODE_ISALPHA(ch) _PyUnicode_IsAlpha(ch)
  |  |  ------------------
  ------------------
  273|      0|    case SRE_CATEGORY_NOT_ALPHA:
  ------------------
  |  |   89|      0|#define SRE_CATEGORY_NOT_ALPHA 19
  ------------------
  |  Branch (273:5): [True: 0, False: 3]
  ------------------
  274|      0|        return !SRE_UNI_IS_ALPHA(ch);
  ------------------
  |  |  174|      0|#define SRE_UNI_IS_ALPHA(ch) Py_UNICODE_ISALPHA(ch)
  |  |  ------------------
  |  |  |  |  767|      0|#define Py_UNICODE_ISALPHA(ch) _PyUnicode_IsAlpha(ch)
  |  |  ------------------
  ------------------
  275|      0|    case SRE_CATEGORY_LOWER:
  ------------------
  |  |   90|      0|#define SRE_CATEGORY_LOWER 20
  ------------------
  |  Branch (275:5): [True: 0, False: 3]
  ------------------
  276|      0|        return SRE_UNI_IS_LOWER(ch);
  ------------------
  |  |  175|      0|#define SRE_UNI_IS_LOWER(ch) Py_UNICODE_ISLOWER(ch)
  |  |  ------------------
  |  |  |  |  749|      0|#define Py_UNICODE_ISLOWER(ch) _PyUnicode_IsLowercase(ch)
  |  |  ------------------
  ------------------
  277|      0|    case SRE_CATEGORY_NOT_LOWER:
  ------------------
  |  |   91|      0|#define SRE_CATEGORY_NOT_LOWER 21
  ------------------
  |  Branch (277:5): [True: 0, False: 3]
  ------------------
  278|      0|        return !SRE_UNI_IS_LOWER(ch);
  ------------------
  |  |  175|      0|#define SRE_UNI_IS_LOWER(ch) Py_UNICODE_ISLOWER(ch)
  |  |  ------------------
  |  |  |  |  749|      0|#define Py_UNICODE_ISLOWER(ch) _PyUnicode_IsLowercase(ch)
  |  |  ------------------
  ------------------
  279|      0|    case SRE_CATEGORY_UPPER:
  ------------------
  |  |   92|      0|#define SRE_CATEGORY_UPPER 22
  ------------------
  |  Branch (279:5): [True: 0, False: 3]
  ------------------
  280|      0|        return SRE_UNI_IS_UPPER(ch);
  ------------------
  |  |  176|      0|#define SRE_UNI_IS_UPPER(ch) Py_UNICODE_ISUPPER(ch)
  |  |  ------------------
  |  |  |  |  750|      0|#define Py_UNICODE_ISUPPER(ch) _PyUnicode_IsUppercase(ch)
  |  |  ------------------
  ------------------
  281|      0|    case SRE_CATEGORY_NOT_UPPER:
  ------------------
  |  |   93|      0|#define SRE_CATEGORY_NOT_UPPER 23
  ------------------
  |  Branch (281:5): [True: 0, False: 3]
  ------------------
  282|      0|        return !SRE_UNI_IS_UPPER(ch);
  ------------------
  |  |  176|      0|#define SRE_UNI_IS_UPPER(ch) Py_UNICODE_ISUPPER(ch)
  |  |  ------------------
  |  |  |  |  750|      0|#define Py_UNICODE_ISUPPER(ch) _PyUnicode_IsUppercase(ch)
  |  |  ------------------
  ------------------
  283|      0|    case SRE_CATEGORY_NUMERIC:
  ------------------
  |  |   94|      0|#define SRE_CATEGORY_NUMERIC 24
  ------------------
  |  Branch (283:5): [True: 0, False: 3]
  ------------------
  284|      0|        return SRE_UNI_IS_NUMERIC(ch);
  ------------------
  |  |  177|      0|#define SRE_UNI_IS_NUMERIC(ch) Py_UNICODE_ISNUMERIC(ch)
  |  |  ------------------
  |  |  |  |  760|      0|#define Py_UNICODE_ISNUMERIC(ch) _PyUnicode_IsNumeric(ch)
  |  |  ------------------
  ------------------
  285|      0|    case SRE_CATEGORY_NOT_NUMERIC:
  ------------------
  |  |   95|      0|#define SRE_CATEGORY_NOT_NUMERIC 25
  ------------------
  |  Branch (285:5): [True: 0, False: 3]
  ------------------
  286|      0|        return !SRE_UNI_IS_NUMERIC(ch);
  ------------------
  |  |  177|      0|#define SRE_UNI_IS_NUMERIC(ch) Py_UNICODE_ISNUMERIC(ch)
  |  |  ------------------
  |  |  |  |  760|      0|#define Py_UNICODE_ISNUMERIC(ch) _PyUnicode_IsNumeric(ch)
  |  |  ------------------
  ------------------
  287|      0|    case SRE_CATEGORY_PRINTABLE:
  ------------------
  |  |   96|      0|#define SRE_CATEGORY_PRINTABLE 26
  ------------------
  |  Branch (287:5): [True: 0, False: 3]
  ------------------
  288|      0|        return SRE_UNI_IS_PRINTABLE(ch);
  ------------------
  |  |  178|      0|#define SRE_UNI_IS_PRINTABLE(ch) Py_UNICODE_ISPRINTABLE(ch)
  |  |  ------------------
  |  |  |  |  761|      0|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  ------------------
  ------------------
  289|      0|    case SRE_CATEGORY_NOT_PRINTABLE:
  ------------------
  |  |   97|      0|#define SRE_CATEGORY_NOT_PRINTABLE 27
  ------------------
  |  Branch (289:5): [True: 0, False: 3]
  ------------------
  290|      0|        return !SRE_UNI_IS_PRINTABLE(ch);
  ------------------
  |  |  178|      0|#define SRE_UNI_IS_PRINTABLE(ch) Py_UNICODE_ISPRINTABLE(ch)
  |  |  ------------------
  |  |  |  |  761|      0|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  ------------------
  ------------------
  291|      0|    case SRE_CATEGORY_ALNUM:
  ------------------
  |  |   98|      0|#define SRE_CATEGORY_ALNUM 28
  ------------------
  |  Branch (291:5): [True: 0, False: 3]
  ------------------
  292|      0|        return SRE_UNI_IS_ALNUM(ch);
  ------------------
  |  |  172|      0|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  ------------------
  293|      0|    case SRE_CATEGORY_NOT_ALNUM:
  ------------------
  |  |   99|      0|#define SRE_CATEGORY_NOT_ALNUM 29
  ------------------
  |  Branch (293:5): [True: 0, False: 3]
  ------------------
  294|      0|        return !SRE_UNI_IS_ALNUM(ch);
  ------------------
  |  |  172|      0|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  ------------------
  295|      0|    case SRE_CATEGORY_XID_START:
  ------------------
  |  |  100|      0|#define SRE_CATEGORY_XID_START 30
  ------------------
  |  Branch (295:5): [True: 0, False: 3]
  ------------------
  296|      0|        return SRE_UNI_IS_XID_START(ch);
  ------------------
  |  |  179|      0|#define SRE_UNI_IS_XID_START(ch) _PyUnicode_IsXidStart(ch)
  ------------------
  297|      0|    case SRE_CATEGORY_NOT_XID_START:
  ------------------
  |  |  101|      0|#define SRE_CATEGORY_NOT_XID_START 31
  ------------------
  |  Branch (297:5): [True: 0, False: 3]
  ------------------
  298|      0|        return !SRE_UNI_IS_XID_START(ch);
  ------------------
  |  |  179|      0|#define SRE_UNI_IS_XID_START(ch) _PyUnicode_IsXidStart(ch)
  ------------------
  299|      0|    case SRE_CATEGORY_XID_CONTINUE:
  ------------------
  |  |  102|      0|#define SRE_CATEGORY_XID_CONTINUE 32
  ------------------
  |  Branch (299:5): [True: 0, False: 3]
  ------------------
  300|      0|        return SRE_UNI_IS_XID_CONTINUE(ch);
  ------------------
  |  |  180|      0|#define SRE_UNI_IS_XID_CONTINUE(ch) _PyUnicode_IsXidContinue(ch)
  ------------------
  301|      0|    case SRE_CATEGORY_NOT_XID_CONTINUE:
  ------------------
  |  |  103|      0|#define SRE_CATEGORY_NOT_XID_CONTINUE 33
  ------------------
  |  Branch (301:5): [True: 0, False: 3]
  ------------------
  302|      0|        return !SRE_UNI_IS_XID_CONTINUE(ch);
  ------------------
  |  |  180|      0|#define SRE_UNI_IS_XID_CONTINUE(ch) _PyUnicode_IsXidContinue(ch)
  ------------------
  303|      0|    case SRE_CATEGORY_TITLE:
  ------------------
  |  |  104|      0|#define SRE_CATEGORY_TITLE 34
  ------------------
  |  Branch (303:5): [True: 0, False: 3]
  ------------------
  304|      0|        return SRE_UNI_IS_TITLE(ch);
  ------------------
  |  |  181|      0|#define SRE_UNI_IS_TITLE(ch) Py_UNICODE_ISTITLE(ch)
  |  |  ------------------
  |  |  |  |  751|      0|#define Py_UNICODE_ISTITLE(ch) _PyUnicode_IsTitlecase(ch)
  |  |  ------------------
  ------------------
  305|      0|    case SRE_CATEGORY_NOT_TITLE:
  ------------------
  |  |  105|      0|#define SRE_CATEGORY_NOT_TITLE 35
  ------------------
  |  Branch (305:5): [True: 0, False: 3]
  ------------------
  306|      0|        return !SRE_UNI_IS_TITLE(ch);
  ------------------
  |  |  181|      0|#define SRE_UNI_IS_TITLE(ch) Py_UNICODE_ISTITLE(ch)
  |  |  ------------------
  |  |  |  |  751|      0|#define Py_UNICODE_ISTITLE(ch) _PyUnicode_IsTitlecase(ch)
  |  |  ------------------
  ------------------
  307|      0|    case SRE_CATEGORY_CASED:
  ------------------
  |  |  106|      0|#define SRE_CATEGORY_CASED 36
  ------------------
  |  Branch (307:5): [True: 0, False: 3]
  ------------------
  308|      0|        return SRE_UNI_IS_CASED(ch);
  ------------------
  |  |  182|      0|#define SRE_UNI_IS_CASED(ch) _PyUnicode_IsCased(ch)
  ------------------
  309|      0|    case SRE_CATEGORY_NOT_CASED:
  ------------------
  |  |  107|      0|#define SRE_CATEGORY_NOT_CASED 37
  ------------------
  |  Branch (309:5): [True: 0, False: 3]
  ------------------
  310|      0|        return !SRE_UNI_IS_CASED(ch);
  ------------------
  |  |  182|      0|#define SRE_UNI_IS_CASED(ch) _PyUnicode_IsCased(ch)
  ------------------
  311|      0|    case SRE_CATEGORY_CASE_IGNORABLE:
  ------------------
  |  |  108|      0|#define SRE_CATEGORY_CASE_IGNORABLE 38
  ------------------
  |  Branch (311:5): [True: 0, False: 3]
  ------------------
  312|      0|        return SRE_UNI_IS_CASE_IGNORABLE(ch);
  ------------------
  |  |  183|      0|#define SRE_UNI_IS_CASE_IGNORABLE(ch) _PyUnicode_IsCaseIgnorable(ch)
  ------------------
  313|      0|    case SRE_CATEGORY_NOT_CASE_IGNORABLE:
  ------------------
  |  |  109|      0|#define SRE_CATEGORY_NOT_CASE_IGNORABLE 39
  ------------------
  |  Branch (313:5): [True: 0, False: 3]
  ------------------
  314|      0|        return !SRE_UNI_IS_CASE_IGNORABLE(ch);
  ------------------
  |  |  183|      0|#define SRE_UNI_IS_CASE_IGNORABLE(ch) _PyUnicode_IsCaseIgnorable(ch)
  ------------------
  315|      0|    case SRE_CATEGORY_LU:
  ------------------
  |  |  110|      0|#define SRE_CATEGORY_LU 40
  ------------------
  |  Branch (315:5): [True: 0, False: 3]
  ------------------
  316|      0|        return SRE_UNI_IS_LU(ch);
  ------------------
  |  |  195|      0|#define SRE_UNI_IS_LU(ch) (SRE_UNI_IS_UPPER(ch) && SRE_UNI_IS_ALPHA(ch))
  |  |  ------------------
  |  |  |  |  176|      0|#define SRE_UNI_IS_UPPER(ch) Py_UNICODE_ISUPPER(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  |  750|      0|#define Py_UNICODE_ISUPPER(ch) _PyUnicode_IsUppercase(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (750:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_LU(ch) (SRE_UNI_IS_UPPER(ch) && SRE_UNI_IS_ALPHA(ch))
  |  |  ------------------
  |  |  |  |  174|      0|#define SRE_UNI_IS_ALPHA(ch) Py_UNICODE_ISALPHA(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  |  767|      0|#define Py_UNICODE_ISALPHA(ch) _PyUnicode_IsAlpha(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (767:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  317|      0|    case SRE_CATEGORY_NOT_LU:
  ------------------
  |  |  111|      0|#define SRE_CATEGORY_NOT_LU 41
  ------------------
  |  Branch (317:5): [True: 0, False: 3]
  ------------------
  318|      0|        return !SRE_UNI_IS_LU(ch);
  ------------------
  |  |  195|      0|#define SRE_UNI_IS_LU(ch) (SRE_UNI_IS_UPPER(ch) && SRE_UNI_IS_ALPHA(ch))
  |  |  ------------------
  |  |  |  |  176|      0|#define SRE_UNI_IS_UPPER(ch) Py_UNICODE_ISUPPER(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  |  750|      0|#define Py_UNICODE_ISUPPER(ch) _PyUnicode_IsUppercase(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (750:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_LU(ch) (SRE_UNI_IS_UPPER(ch) && SRE_UNI_IS_ALPHA(ch))
  |  |  ------------------
  |  |  |  |  174|      0|#define SRE_UNI_IS_ALPHA(ch) Py_UNICODE_ISALPHA(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  |  767|      0|#define Py_UNICODE_ISALPHA(ch) _PyUnicode_IsAlpha(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (767:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  319|      0|    case SRE_CATEGORY_N:
  ------------------
  |  |  112|      0|#define SRE_CATEGORY_N 42
  ------------------
  |  Branch (319:5): [True: 0, False: 3]
  ------------------
  320|      0|        return SRE_UNI_IS_N(ch);
  ------------------
  |  |  196|      0|#define SRE_UNI_IS_N(ch) (SRE_UNI_IS_ALNUM(ch) && !SRE_UNI_IS_ALPHA(ch))
  |  |  ------------------
  |  |  |  |  172|      0|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (172:30): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_N(ch) (SRE_UNI_IS_ALNUM(ch) && !SRE_UNI_IS_ALPHA(ch))
  |  |  ------------------
  |  |  |  |  174|      0|#define SRE_UNI_IS_ALPHA(ch) Py_UNICODE_ISALPHA(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  |  767|      0|#define Py_UNICODE_ISALPHA(ch) _PyUnicode_IsAlpha(ch)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (196:51): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  321|      0|    case SRE_CATEGORY_NOT_N:
  ------------------
  |  |  113|      0|#define SRE_CATEGORY_NOT_N 43
  ------------------
  |  Branch (321:5): [True: 0, False: 3]
  ------------------
  322|      0|        return !SRE_UNI_IS_N(ch);
  ------------------
  |  |  196|      0|#define SRE_UNI_IS_N(ch) (SRE_UNI_IS_ALNUM(ch) && !SRE_UNI_IS_ALPHA(ch))
  |  |  ------------------
  |  |  |  |  172|      0|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (172:30): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_N(ch) (SRE_UNI_IS_ALNUM(ch) && !SRE_UNI_IS_ALPHA(ch))
  |  |  ------------------
  |  |  |  |  174|      0|#define SRE_UNI_IS_ALPHA(ch) Py_UNICODE_ISALPHA(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  |  767|      0|#define Py_UNICODE_ISALPHA(ch) _PyUnicode_IsAlpha(ch)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (196:51): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  323|      0|    case SRE_CATEGORY_LM:
  ------------------
  |  |  114|      0|#define SRE_CATEGORY_LM 44
  ------------------
  |  Branch (323:5): [True: 0, False: 3]
  ------------------
  324|      0|        return SRE_UNI_IS_LM(ch);
  ------------------
  |  |  197|      0|#define SRE_UNI_IS_LM(ch) (SRE_UNI_IS_ALPHA(ch) && SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  ------------------
  |  |  |  |  174|      0|#define SRE_UNI_IS_ALPHA(ch) Py_UNICODE_ISALPHA(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  |  767|      0|#define Py_UNICODE_ISALPHA(ch) _PyUnicode_IsAlpha(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (767:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_LM(ch) (SRE_UNI_IS_ALPHA(ch) && SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  ------------------
  |  |  |  |  183|      0|#define SRE_UNI_IS_CASE_IGNORABLE(ch) _PyUnicode_IsCaseIgnorable(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (183:39): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  325|      0|    case SRE_CATEGORY_NOT_LM:
  ------------------
  |  |  115|      0|#define SRE_CATEGORY_NOT_LM 45
  ------------------
  |  Branch (325:5): [True: 0, False: 3]
  ------------------
  326|      0|        return !SRE_UNI_IS_LM(ch);
  ------------------
  |  |  197|      0|#define SRE_UNI_IS_LM(ch) (SRE_UNI_IS_ALPHA(ch) && SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  ------------------
  |  |  |  |  174|      0|#define SRE_UNI_IS_ALPHA(ch) Py_UNICODE_ISALPHA(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  |  767|      0|#define Py_UNICODE_ISALPHA(ch) _PyUnicode_IsAlpha(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (767:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_LM(ch) (SRE_UNI_IS_ALPHA(ch) && SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  ------------------
  |  |  |  |  183|      0|#define SRE_UNI_IS_CASE_IGNORABLE(ch) _PyUnicode_IsCaseIgnorable(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (183:39): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  327|      0|    case SRE_CATEGORY_NL:
  ------------------
  |  |  116|      0|#define SRE_CATEGORY_NL 46
  ------------------
  |  Branch (327:5): [True: 0, False: 3]
  ------------------
  328|      0|        return SRE_UNI_IS_NL(ch);
  ------------------
  |  |  198|      0|#define SRE_UNI_IS_NL(ch) (SRE_UNI_IS_N(ch) && SRE_UNI_IS_XID_START(ch))
  |  |  ------------------
  |  |  |  |  196|      0|#define SRE_UNI_IS_N(ch) (SRE_UNI_IS_ALNUM(ch) && !SRE_UNI_IS_ALPHA(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  172|      0|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (172:30): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define SRE_UNI_IS_N(ch) (SRE_UNI_IS_ALNUM(ch) && !SRE_UNI_IS_ALPHA(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  174|      0|#define SRE_UNI_IS_ALPHA(ch) Py_UNICODE_ISALPHA(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  767|      0|#define Py_UNICODE_ISALPHA(ch) _PyUnicode_IsAlpha(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (196:51): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_NL(ch) (SRE_UNI_IS_N(ch) && SRE_UNI_IS_XID_START(ch))
  |  |  ------------------
  |  |  |  |  179|      0|#define SRE_UNI_IS_XID_START(ch) _PyUnicode_IsXidStart(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (179:34): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  329|      0|    case SRE_CATEGORY_NOT_NL:
  ------------------
  |  |  117|      0|#define SRE_CATEGORY_NOT_NL 47
  ------------------
  |  Branch (329:5): [True: 0, False: 3]
  ------------------
  330|      0|        return !SRE_UNI_IS_NL(ch);
  ------------------
  |  |  198|      0|#define SRE_UNI_IS_NL(ch) (SRE_UNI_IS_N(ch) && SRE_UNI_IS_XID_START(ch))
  |  |  ------------------
  |  |  |  |  196|      0|#define SRE_UNI_IS_N(ch) (SRE_UNI_IS_ALNUM(ch) && !SRE_UNI_IS_ALPHA(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  172|      0|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (172:30): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define SRE_UNI_IS_N(ch) (SRE_UNI_IS_ALNUM(ch) && !SRE_UNI_IS_ALPHA(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  174|      0|#define SRE_UNI_IS_ALPHA(ch) Py_UNICODE_ISALPHA(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  767|      0|#define Py_UNICODE_ISALPHA(ch) _PyUnicode_IsAlpha(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (196:51): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_NL(ch) (SRE_UNI_IS_N(ch) && SRE_UNI_IS_XID_START(ch))
  |  |  ------------------
  |  |  |  |  179|      0|#define SRE_UNI_IS_XID_START(ch) _PyUnicode_IsXidStart(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (179:34): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  331|      0|    case SRE_CATEGORY_NO:
  ------------------
  |  |  118|      0|#define SRE_CATEGORY_NO 48
  ------------------
  |  Branch (331:5): [True: 0, False: 3]
  ------------------
  332|      0|        return SRE_UNI_IS_NO(ch);
  ------------------
  |  |  199|      0|#define SRE_UNI_IS_NO(ch) (SRE_UNI_IS_N(ch) && !SRE_UNI_IS_DIGIT(ch) && \
  |  |  ------------------
  |  |  |  |  196|      0|#define SRE_UNI_IS_N(ch) (SRE_UNI_IS_ALNUM(ch) && !SRE_UNI_IS_ALPHA(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  172|      0|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (172:30): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define SRE_UNI_IS_N(ch) (SRE_UNI_IS_ALNUM(ch) && !SRE_UNI_IS_ALPHA(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  174|      0|#define SRE_UNI_IS_ALPHA(ch) Py_UNICODE_ISALPHA(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  767|      0|#define Py_UNICODE_ISALPHA(ch) _PyUnicode_IsAlpha(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (196:51): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_NO(ch) (SRE_UNI_IS_N(ch) && !SRE_UNI_IS_DIGIT(ch) && \
  |  |  ------------------
  |  |  |  |  169|      0|#define SRE_UNI_IS_DIGIT(ch) Py_UNICODE_ISDECIMAL(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  |  758|      0|#define Py_UNICODE_ISDECIMAL(ch) _PyUnicode_IsDecimalDigit(ch)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (199:48): [True: 0, False: 0]
  |  |  ------------------
  |  |  200|      0|                           !SRE_UNI_IS_XID_START(ch))
  |  |  ------------------
  |  |  |  |  179|      0|#define SRE_UNI_IS_XID_START(ch) _PyUnicode_IsXidStart(ch)
  |  |  ------------------
  |  |  |  Branch (200:28): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  333|      0|    case SRE_CATEGORY_NOT_NO:
  ------------------
  |  |  119|      0|#define SRE_CATEGORY_NOT_NO 49
  ------------------
  |  Branch (333:5): [True: 0, False: 3]
  ------------------
  334|      0|        return !SRE_UNI_IS_NO(ch);
  ------------------
  |  |  199|      0|#define SRE_UNI_IS_NO(ch) (SRE_UNI_IS_N(ch) && !SRE_UNI_IS_DIGIT(ch) && \
  |  |  ------------------
  |  |  |  |  196|      0|#define SRE_UNI_IS_N(ch) (SRE_UNI_IS_ALNUM(ch) && !SRE_UNI_IS_ALPHA(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  172|      0|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (172:30): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define SRE_UNI_IS_N(ch) (SRE_UNI_IS_ALNUM(ch) && !SRE_UNI_IS_ALPHA(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  174|      0|#define SRE_UNI_IS_ALPHA(ch) Py_UNICODE_ISALPHA(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  767|      0|#define Py_UNICODE_ISALPHA(ch) _PyUnicode_IsAlpha(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (196:51): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_NO(ch) (SRE_UNI_IS_N(ch) && !SRE_UNI_IS_DIGIT(ch) && \
  |  |  ------------------
  |  |  |  |  169|      0|#define SRE_UNI_IS_DIGIT(ch) Py_UNICODE_ISDECIMAL(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  |  758|      0|#define Py_UNICODE_ISDECIMAL(ch) _PyUnicode_IsDecimalDigit(ch)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (199:48): [True: 0, False: 0]
  |  |  ------------------
  |  |  200|      0|                           !SRE_UNI_IS_XID_START(ch))
  |  |  ------------------
  |  |  |  |  179|      0|#define SRE_UNI_IS_XID_START(ch) _PyUnicode_IsXidStart(ch)
  |  |  ------------------
  |  |  |  Branch (200:28): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  335|      0|    case SRE_CATEGORY_CF:
  ------------------
  |  |  120|      0|#define SRE_CATEGORY_CF 50
  ------------------
  |  Branch (335:5): [True: 0, False: 3]
  ------------------
  336|      0|        return SRE_UNI_IS_CF(ch);
  ------------------
  |  |  201|      0|#define SRE_UNI_IS_CF(ch) (SRE_UNI_IS_CASE_IGNORABLE(ch) && !SRE_UNI_IS_PRINTABLE(ch))
  |  |  ------------------
  |  |  |  |  183|      0|#define SRE_UNI_IS_CASE_IGNORABLE(ch) _PyUnicode_IsCaseIgnorable(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (183:39): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_CF(ch) (SRE_UNI_IS_CASE_IGNORABLE(ch) && !SRE_UNI_IS_PRINTABLE(ch))
  |  |  ------------------
  |  |  |  |  178|      0|#define SRE_UNI_IS_PRINTABLE(ch) Py_UNICODE_ISPRINTABLE(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  |  761|      0|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (201:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  337|      0|    case SRE_CATEGORY_NOT_CF:
  ------------------
  |  |  121|      0|#define SRE_CATEGORY_NOT_CF 51
  ------------------
  |  Branch (337:5): [True: 0, False: 3]
  ------------------
  338|      0|        return !SRE_UNI_IS_CF(ch);
  ------------------
  |  |  201|      0|#define SRE_UNI_IS_CF(ch) (SRE_UNI_IS_CASE_IGNORABLE(ch) && !SRE_UNI_IS_PRINTABLE(ch))
  |  |  ------------------
  |  |  |  |  183|      0|#define SRE_UNI_IS_CASE_IGNORABLE(ch) _PyUnicode_IsCaseIgnorable(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (183:39): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_CF(ch) (SRE_UNI_IS_CASE_IGNORABLE(ch) && !SRE_UNI_IS_PRINTABLE(ch))
  |  |  ------------------
  |  |  |  |  178|      0|#define SRE_UNI_IS_PRINTABLE(ch) Py_UNICODE_ISPRINTABLE(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  |  761|      0|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (201:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  339|      0|    case SRE_CATEGORY_Z:
  ------------------
  |  |  122|      0|#define SRE_CATEGORY_Z 52
  ------------------
  |  Branch (339:5): [True: 0, False: 3]
  ------------------
  340|      0|        return SRE_UNI_IS_Z(ch);
  ------------------
  |  |  202|      0|#define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  ------------------
  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  ------------------
  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  341|      0|    case SRE_CATEGORY_NOT_Z:
  ------------------
  |  |  123|      0|#define SRE_CATEGORY_NOT_Z 53
  ------------------
  |  Branch (341:5): [True: 0, False: 3]
  ------------------
  342|      0|        return !SRE_UNI_IS_Z(ch);
  ------------------
  |  |  202|      0|#define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  ------------------
  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  ------------------
  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  343|      0|    case SRE_CATEGORY_ZS:
  ------------------
  |  |  124|      0|#define SRE_CATEGORY_ZS 54
  ------------------
  |  Branch (343:5): [True: 0, False: 3]
  ------------------
  344|      0|        return SRE_UNI_IS_ZS(ch);
  ------------------
  |  |  203|      0|#define SRE_UNI_IS_ZS(ch) (SRE_UNI_IS_Z(ch) && (ch) != 0x2028 && (ch) != 0x2029)
  |  |  ------------------
  |  |  |  |  202|      0|#define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (203:48): [True: 0, False: 0]
  |  |  |  Branch (203:66): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  345|      0|    case SRE_CATEGORY_NOT_ZS:
  ------------------
  |  |  125|      0|#define SRE_CATEGORY_NOT_ZS 55
  ------------------
  |  Branch (345:5): [True: 0, False: 3]
  ------------------
  346|      0|        return !SRE_UNI_IS_ZS(ch);
  ------------------
  |  |  203|      0|#define SRE_UNI_IS_ZS(ch) (SRE_UNI_IS_Z(ch) && (ch) != 0x2028 && (ch) != 0x2029)
  |  |  ------------------
  |  |  |  |  202|      0|#define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (203:48): [True: 0, False: 0]
  |  |  |  Branch (203:66): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  347|      0|    case SRE_CATEGORY_C:
  ------------------
  |  |  126|      0|#define SRE_CATEGORY_C 56
  ------------------
  |  Branch (347:5): [True: 0, False: 3]
  ------------------
  348|      0|        return SRE_UNI_IS_C(ch);
  ------------------
  |  |  207|      0|#define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  ------------------
  |  |  |  |  178|      0|#define SRE_UNI_IS_PRINTABLE(ch) Py_UNICODE_ISPRINTABLE(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  |  761|      0|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  ------------------
  |  |  |  |  202|      0|#define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (207:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  349|      0|    case SRE_CATEGORY_NOT_C:
  ------------------
  |  |  127|      0|#define SRE_CATEGORY_NOT_C 57
  ------------------
  |  Branch (349:5): [True: 0, False: 3]
  ------------------
  350|      0|        return !SRE_UNI_IS_C(ch);
  ------------------
  |  |  207|      0|#define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  ------------------
  |  |  |  |  178|      0|#define SRE_UNI_IS_PRINTABLE(ch) Py_UNICODE_ISPRINTABLE(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  |  761|      0|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  ------------------
  |  |  |  |  202|      0|#define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (207:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  351|      0|    case SRE_CATEGORY_CN:
  ------------------
  |  |  128|      0|#define SRE_CATEGORY_CN 58
  ------------------
  |  Branch (351:5): [True: 0, False: 3]
  ------------------
  352|      0|        return SRE_UNI_IS_CN(ch);
  ------------------
  |  |  208|      0|#define SRE_UNI_IS_CN(ch) (SRE_UNI_IS_C(ch) && !SRE_IS_CC(ch) && \
  |  |  ------------------
  |  |  |  |  207|      0|#define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  178|      0|#define SRE_UNI_IS_PRINTABLE(ch) Py_UNICODE_ISPRINTABLE(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  761|      0|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  202|      0|#define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (207:27): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_CN(ch) (SRE_UNI_IS_C(ch) && !SRE_IS_CC(ch) && \
  |  |  ------------------
  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  209|      0|    !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  ------------------
  |  |  |  |  191|      0|#define SRE_IS_CS(ch) (0xD800 <= (ch) && (ch) <= 0xDFFF)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (191:24): [True: 0, False: 0]
  |  |  |  |  |  Branch (191:42): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  ------------------
  |  |  |  |  192|      0|#define SRE_IS_CO(ch) ((0xE000 <= (ch) && (ch) <= 0xF8FF) || \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (192:25): [True: 0, False: 0]
  |  |  |  |  |  Branch (192:43): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  193|      0|                       (0xF0000 <= (ch) && (ch) <= 0xFFFFD) || \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (193:25): [True: 0, False: 0]
  |  |  |  |  |  Branch (193:44): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  194|      0|                       (0x100000 <= (ch) && (ch) <= 0x10FFFD))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (194:25): [True: 0, False: 0]
  |  |  |  |  |  Branch (194:45): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  ------------------
  |  |  |  |  183|      0|#define SRE_UNI_IS_CASE_IGNORABLE(ch) _PyUnicode_IsCaseIgnorable(ch)
  |  |  ------------------
  |  |  |  Branch (209:41): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  353|      0|    case SRE_CATEGORY_NOT_CN:
  ------------------
  |  |  129|      0|#define SRE_CATEGORY_NOT_CN 59
  ------------------
  |  Branch (353:5): [True: 0, False: 3]
  ------------------
  354|      0|        return !SRE_UNI_IS_CN(ch);
  ------------------
  |  |  208|      0|#define SRE_UNI_IS_CN(ch) (SRE_UNI_IS_C(ch) && !SRE_IS_CC(ch) && \
  |  |  ------------------
  |  |  |  |  207|      0|#define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  178|      0|#define SRE_UNI_IS_PRINTABLE(ch) Py_UNICODE_ISPRINTABLE(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  761|      0|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  202|      0|#define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (207:27): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_CN(ch) (SRE_UNI_IS_C(ch) && !SRE_IS_CC(ch) && \
  |  |  ------------------
  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  209|      0|    !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  ------------------
  |  |  |  |  191|      0|#define SRE_IS_CS(ch) (0xD800 <= (ch) && (ch) <= 0xDFFF)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (191:24): [True: 0, False: 0]
  |  |  |  |  |  Branch (191:42): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  ------------------
  |  |  |  |  192|      0|#define SRE_IS_CO(ch) ((0xE000 <= (ch) && (ch) <= 0xF8FF) || \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (192:25): [True: 0, False: 0]
  |  |  |  |  |  Branch (192:43): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  193|      0|                       (0xF0000 <= (ch) && (ch) <= 0xFFFFD) || \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (193:25): [True: 0, False: 0]
  |  |  |  |  |  Branch (193:44): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  194|      0|                       (0x100000 <= (ch) && (ch) <= 0x10FFFD))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (194:25): [True: 0, False: 0]
  |  |  |  |  |  Branch (194:45): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  ------------------
  |  |  |  |  183|      0|#define SRE_UNI_IS_CASE_IGNORABLE(ch) _PyUnicode_IsCaseIgnorable(ch)
  |  |  ------------------
  |  |  |  Branch (209:41): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  355|      0|    case SRE_CATEGORY_ASSIGNED:
  ------------------
  |  |  130|      0|#define SRE_CATEGORY_ASSIGNED 60
  ------------------
  |  Branch (355:5): [True: 0, False: 3]
  ------------------
  356|      0|        return SRE_UNI_IS_ASSIGNED(ch);
  ------------------
  |  |  210|      0|#define SRE_UNI_IS_ASSIGNED(ch) (!SRE_UNI_IS_CN(ch))
  |  |  ------------------
  |  |  |  |  208|      0|#define SRE_UNI_IS_CN(ch) (SRE_UNI_IS_C(ch) && !SRE_IS_CC(ch) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  207|      0|#define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  178|      0|#define SRE_UNI_IS_PRINTABLE(ch) Py_UNICODE_ISPRINTABLE(ch)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  761|      0|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  202|      0|#define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (207:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define SRE_UNI_IS_CN(ch) (SRE_UNI_IS_C(ch) && !SRE_IS_CC(ch) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  209|      0|    !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  191|      0|#define SRE_IS_CS(ch) (0xD800 <= (ch) && (ch) <= 0xDFFF)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (191:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (191:42): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  192|      0|#define SRE_IS_CO(ch) ((0xE000 <= (ch) && (ch) <= 0xF8FF) || \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (192:25): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (192:43): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  193|      0|                       (0xF0000 <= (ch) && (ch) <= 0xFFFFD) || \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (193:25): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (193:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  194|      0|                       (0x100000 <= (ch) && (ch) <= 0x10FFFD))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (194:25): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (194:45): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  183|      0|#define SRE_UNI_IS_CASE_IGNORABLE(ch) _PyUnicode_IsCaseIgnorable(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (209:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  357|      0|    case SRE_CATEGORY_NOT_ASSIGNED:
  ------------------
  |  |  131|      0|#define SRE_CATEGORY_NOT_ASSIGNED 61
  ------------------
  |  Branch (357:5): [True: 0, False: 3]
  ------------------
  358|      0|        return !SRE_UNI_IS_ASSIGNED(ch);
  ------------------
  |  |  210|      0|#define SRE_UNI_IS_ASSIGNED(ch) (!SRE_UNI_IS_CN(ch))
  |  |  ------------------
  |  |  |  |  208|      0|#define SRE_UNI_IS_CN(ch) (SRE_UNI_IS_C(ch) && !SRE_IS_CC(ch) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  207|      0|#define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  178|      0|#define SRE_UNI_IS_PRINTABLE(ch) Py_UNICODE_ISPRINTABLE(ch)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  761|      0|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  202|      0|#define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (207:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define SRE_UNI_IS_CN(ch) (SRE_UNI_IS_C(ch) && !SRE_IS_CC(ch) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  209|      0|    !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  191|      0|#define SRE_IS_CS(ch) (0xD800 <= (ch) && (ch) <= 0xDFFF)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (191:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (191:42): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  192|      0|#define SRE_IS_CO(ch) ((0xE000 <= (ch) && (ch) <= 0xF8FF) || \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (192:25): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (192:43): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  193|      0|                       (0xF0000 <= (ch) && (ch) <= 0xFFFFD) || \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (193:25): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (193:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  194|      0|                       (0x100000 <= (ch) && (ch) <= 0x10FFFD))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (194:25): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (194:45): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  183|      0|#define SRE_UNI_IS_CASE_IGNORABLE(ch) _PyUnicode_IsCaseIgnorable(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (209:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  359|      0|    case SRE_CATEGORY_BLANK:
  ------------------
  |  |  132|      0|#define SRE_CATEGORY_BLANK 62
  ------------------
  |  Branch (359:5): [True: 0, False: 3]
  ------------------
  360|      0|        return SRE_UNI_IS_BLANK(ch);
  ------------------
  |  |  211|      0|#define SRE_UNI_IS_BLANK(ch) (SRE_UNI_IS_ZS(ch) || (ch) == 0x09)
  |  |  ------------------
  |  |  |  |  203|      0|#define SRE_UNI_IS_ZS(ch) (SRE_UNI_IS_Z(ch) && (ch) != 0x2028 && (ch) != 0x2029)
  |  |  |  |  ------------------
  |  |  |  |  |  |  202|      0|#define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (203:48): [True: 0, False: 0]
  |  |  |  |  |  Branch (203:66): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (211:52): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  361|      0|    case SRE_CATEGORY_NOT_BLANK:
  ------------------
  |  |  133|      0|#define SRE_CATEGORY_NOT_BLANK 63
  ------------------
  |  Branch (361:5): [True: 0, False: 3]
  ------------------
  362|      0|        return !SRE_UNI_IS_BLANK(ch);
  ------------------
  |  |  211|      0|#define SRE_UNI_IS_BLANK(ch) (SRE_UNI_IS_ZS(ch) || (ch) == 0x09)
  |  |  ------------------
  |  |  |  |  203|      0|#define SRE_UNI_IS_ZS(ch) (SRE_UNI_IS_Z(ch) && (ch) != 0x2028 && (ch) != 0x2029)
  |  |  |  |  ------------------
  |  |  |  |  |  |  202|      0|#define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (203:48): [True: 0, False: 0]
  |  |  |  |  |  Branch (203:66): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (211:52): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  363|      0|    case SRE_CATEGORY_GRAPH:
  ------------------
  |  |  134|      0|#define SRE_CATEGORY_GRAPH 64
  ------------------
  |  Branch (363:5): [True: 0, False: 3]
  ------------------
  364|      0|        return SRE_UNI_IS_GRAPH(ch);
  ------------------
  |  |  212|      0|#define SRE_UNI_IS_GRAPH(ch) (!SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch) && \
  |  |  ------------------
  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  ------------------
  |  |               #define SRE_UNI_IS_GRAPH(ch) (!SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch) && \
  |  |  ------------------
  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (212:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  213|      0|                              !SRE_IS_CS(ch) && !SRE_UNI_IS_CN(ch))
  |  |  ------------------
  |  |  |  |  191|      0|#define SRE_IS_CS(ch) (0xD800 <= (ch) && (ch) <= 0xDFFF)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (191:24): [True: 0, False: 0]
  |  |  |  |  |  Branch (191:42): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                                             !SRE_IS_CS(ch) && !SRE_UNI_IS_CN(ch))
  |  |  ------------------
  |  |  |  |  208|      0|#define SRE_UNI_IS_CN(ch) (SRE_UNI_IS_C(ch) && !SRE_IS_CC(ch) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  207|      0|#define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  178|      0|#define SRE_UNI_IS_PRINTABLE(ch) Py_UNICODE_ISPRINTABLE(ch)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  761|      0|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  202|      0|#define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (207:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define SRE_UNI_IS_CN(ch) (SRE_UNI_IS_C(ch) && !SRE_IS_CC(ch) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  209|      0|    !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  191|      0|#define SRE_IS_CS(ch) (0xD800 <= (ch) && (ch) <= 0xDFFF)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (191:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (191:42): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  192|      0|#define SRE_IS_CO(ch) ((0xE000 <= (ch) && (ch) <= 0xF8FF) || \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (192:25): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (192:43): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  193|      0|                       (0xF0000 <= (ch) && (ch) <= 0xFFFFD) || \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (193:25): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (193:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  194|      0|                       (0x100000 <= (ch) && (ch) <= 0x10FFFD))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (194:25): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (194:45): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  183|      0|#define SRE_UNI_IS_CASE_IGNORABLE(ch) _PyUnicode_IsCaseIgnorable(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (209:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  365|      0|    case SRE_CATEGORY_NOT_GRAPH:
  ------------------
  |  |  135|      0|#define SRE_CATEGORY_NOT_GRAPH 65
  ------------------
  |  Branch (365:5): [True: 0, False: 3]
  ------------------
  366|      0|        return !SRE_UNI_IS_GRAPH(ch);
  ------------------
  |  |  212|      0|#define SRE_UNI_IS_GRAPH(ch) (!SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch) && \
  |  |  ------------------
  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  ------------------
  |  |               #define SRE_UNI_IS_GRAPH(ch) (!SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch) && \
  |  |  ------------------
  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (212:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  213|      0|                              !SRE_IS_CS(ch) && !SRE_UNI_IS_CN(ch))
  |  |  ------------------
  |  |  |  |  191|      0|#define SRE_IS_CS(ch) (0xD800 <= (ch) && (ch) <= 0xDFFF)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (191:24): [True: 0, False: 0]
  |  |  |  |  |  Branch (191:42): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                                             !SRE_IS_CS(ch) && !SRE_UNI_IS_CN(ch))
  |  |  ------------------
  |  |  |  |  208|      0|#define SRE_UNI_IS_CN(ch) (SRE_UNI_IS_C(ch) && !SRE_IS_CC(ch) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  207|      0|#define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  178|      0|#define SRE_UNI_IS_PRINTABLE(ch) Py_UNICODE_ISPRINTABLE(ch)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  761|      0|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  202|      0|#define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (207:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define SRE_UNI_IS_CN(ch) (SRE_UNI_IS_C(ch) && !SRE_IS_CC(ch) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  209|      0|    !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  191|      0|#define SRE_IS_CS(ch) (0xD800 <= (ch) && (ch) <= 0xDFFF)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (191:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (191:42): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  192|      0|#define SRE_IS_CO(ch) ((0xE000 <= (ch) && (ch) <= 0xF8FF) || \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (192:25): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (192:43): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  193|      0|                       (0xF0000 <= (ch) && (ch) <= 0xFFFFD) || \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (193:25): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (193:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  194|      0|                       (0x100000 <= (ch) && (ch) <= 0x10FFFD))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (194:25): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (194:45): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  183|      0|#define SRE_UNI_IS_CASE_IGNORABLE(ch) _PyUnicode_IsCaseIgnorable(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (209:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  367|      0|    case SRE_CATEGORY_PRINT:
  ------------------
  |  |  136|      0|#define SRE_CATEGORY_PRINT 66
  ------------------
  |  Branch (367:5): [True: 0, False: 3]
  ------------------
  368|      0|        return SRE_UNI_IS_PRINT(ch);
  ------------------
  |  |  214|      0|#define SRE_UNI_IS_PRINT(ch) ((SRE_UNI_IS_GRAPH(ch) || SRE_UNI_IS_BLANK(ch)) && \
  |  |  ------------------
  |  |  |  |  212|      0|#define SRE_UNI_IS_GRAPH(ch) (!SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  ------------------
  |  |  |  |               #define SRE_UNI_IS_GRAPH(ch) (!SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (212:31): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  213|      0|                              !SRE_IS_CS(ch) && !SRE_UNI_IS_CN(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  191|      0|#define SRE_IS_CS(ch) (0xD800 <= (ch) && (ch) <= 0xDFFF)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (191:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (191:42): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                                             !SRE_IS_CS(ch) && !SRE_UNI_IS_CN(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  208|      0|#define SRE_UNI_IS_CN(ch) (SRE_UNI_IS_C(ch) && !SRE_IS_CC(ch) && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  207|      0|#define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  178|      0|#define SRE_UNI_IS_PRINTABLE(ch) Py_UNICODE_ISPRINTABLE(ch)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  761|      0|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  202|      0|#define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (207:27): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define SRE_UNI_IS_CN(ch) (SRE_UNI_IS_C(ch) && !SRE_IS_CC(ch) && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  209|      0|    !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  191|      0|#define SRE_IS_CS(ch) (0xD800 <= (ch) && (ch) <= 0xDFFF)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (191:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (191:42): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  192|      0|#define SRE_IS_CO(ch) ((0xE000 <= (ch) && (ch) <= 0xF8FF) || \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (192:25): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (192:43): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  193|      0|                       (0xF0000 <= (ch) && (ch) <= 0xFFFFD) || \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (193:25): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (193:44): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  194|      0|                       (0x100000 <= (ch) && (ch) <= 0x10FFFD))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (194:25): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (194:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  183|      0|#define SRE_UNI_IS_CASE_IGNORABLE(ch) _PyUnicode_IsCaseIgnorable(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (209:41): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_PRINT(ch) ((SRE_UNI_IS_GRAPH(ch) || SRE_UNI_IS_BLANK(ch)) && \
  |  |  ------------------
  |  |  |  |  211|      0|#define SRE_UNI_IS_BLANK(ch) (SRE_UNI_IS_ZS(ch) || (ch) == 0x09)
  |  |  |  |  ------------------
  |  |  |  |  |  |  203|      0|#define SRE_UNI_IS_ZS(ch) (SRE_UNI_IS_Z(ch) && (ch) != 0x2028 && (ch) != 0x2029)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  202|      0|#define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (203:48): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (203:66): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (211:52): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  215|      0|                              !SRE_IS_CC(ch))
  |  |  ------------------
  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  369|      0|    case SRE_CATEGORY_NOT_PRINT:
  ------------------
  |  |  137|      0|#define SRE_CATEGORY_NOT_PRINT 67
  ------------------
  |  Branch (369:5): [True: 0, False: 3]
  ------------------
  370|      0|        return !SRE_UNI_IS_PRINT(ch);
  ------------------
  |  |  214|      0|#define SRE_UNI_IS_PRINT(ch) ((SRE_UNI_IS_GRAPH(ch) || SRE_UNI_IS_BLANK(ch)) && \
  |  |  ------------------
  |  |  |  |  212|      0|#define SRE_UNI_IS_GRAPH(ch) (!SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  ------------------
  |  |  |  |               #define SRE_UNI_IS_GRAPH(ch) (!SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (212:31): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  213|      0|                              !SRE_IS_CS(ch) && !SRE_UNI_IS_CN(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  191|      0|#define SRE_IS_CS(ch) (0xD800 <= (ch) && (ch) <= 0xDFFF)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (191:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (191:42): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                                             !SRE_IS_CS(ch) && !SRE_UNI_IS_CN(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  208|      0|#define SRE_UNI_IS_CN(ch) (SRE_UNI_IS_C(ch) && !SRE_IS_CC(ch) && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  207|      0|#define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  178|      0|#define SRE_UNI_IS_PRINTABLE(ch) Py_UNICODE_ISPRINTABLE(ch)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  761|      0|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  202|      0|#define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (207:27): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define SRE_UNI_IS_CN(ch) (SRE_UNI_IS_C(ch) && !SRE_IS_CC(ch) && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  209|      0|    !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  191|      0|#define SRE_IS_CS(ch) (0xD800 <= (ch) && (ch) <= 0xDFFF)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (191:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (191:42): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  192|      0|#define SRE_IS_CO(ch) ((0xE000 <= (ch) && (ch) <= 0xF8FF) || \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (192:25): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (192:43): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  193|      0|                       (0xF0000 <= (ch) && (ch) <= 0xFFFFD) || \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (193:25): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (193:44): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  194|      0|                       (0x100000 <= (ch) && (ch) <= 0x10FFFD))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (194:25): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (194:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  183|      0|#define SRE_UNI_IS_CASE_IGNORABLE(ch) _PyUnicode_IsCaseIgnorable(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (209:41): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_PRINT(ch) ((SRE_UNI_IS_GRAPH(ch) || SRE_UNI_IS_BLANK(ch)) && \
  |  |  ------------------
  |  |  |  |  211|      0|#define SRE_UNI_IS_BLANK(ch) (SRE_UNI_IS_ZS(ch) || (ch) == 0x09)
  |  |  |  |  ------------------
  |  |  |  |  |  |  203|      0|#define SRE_UNI_IS_ZS(ch) (SRE_UNI_IS_Z(ch) && (ch) != 0x2028 && (ch) != 0x2029)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  202|      0|#define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (203:48): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (203:66): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (211:52): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  215|      0|                              !SRE_IS_CC(ch))
  |  |  ------------------
  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  371|      3|    }
  372|      0|    return 0;
  373|      3|}
sre.c:repeat_pool_malloc:
  426|      6|{
  427|      6|    SRE_REPEAT *repeat;
  428|       |
  429|      6|    if (state->repeat_pool_unused) {
  ------------------
  |  Branch (429:9): [True: 0, False: 6]
  ------------------
  430|       |        /* remove from unused pool (singly-linked list) */
  431|      0|        repeat = state->repeat_pool_unused;
  432|      0|        state->repeat_pool_unused = repeat->pool_next;
  433|      0|    }
  434|      6|    else {
  435|      6|        repeat = PyMem_Malloc(sizeof(SRE_REPEAT));
  436|      6|        if (!repeat) {
  ------------------
  |  Branch (436:13): [True: 0, False: 6]
  ------------------
  437|      0|            return NULL;
  438|      0|        }
  439|      6|    }
  440|       |
  441|       |    /* add to used pool (doubly-linked list) */
  442|      6|    SRE_REPEAT *temp = state->repeat_pool_used;
  443|      6|    if (temp) {
  ------------------
  |  Branch (443:9): [True: 3, False: 3]
  ------------------
  444|      3|        temp->pool_prev = repeat;
  445|      3|    }
  446|      6|    repeat->pool_prev = NULL;
  447|      6|    repeat->pool_next = temp;
  448|      6|    state->repeat_pool_used = repeat;
  449|       |
  450|      6|    return repeat;
  451|      6|}
sre.c:repeat_pool_free:
  455|      6|{
  456|      6|    SRE_REPEAT *prev = repeat->pool_prev;
  457|      6|    SRE_REPEAT *next = repeat->pool_next;
  458|       |
  459|       |    /* remove from used pool (doubly-linked list) */
  460|      6|    if (prev) {
  ------------------
  |  Branch (460:9): [True: 0, False: 6]
  ------------------
  461|      0|        prev->pool_next = next;
  462|      0|    }
  463|      6|    else {
  464|      6|        state->repeat_pool_used = next;
  465|      6|    }
  466|      6|    if (next) {
  ------------------
  |  Branch (466:9): [True: 3, False: 3]
  ------------------
  467|      3|        next->pool_prev = prev;
  468|      3|    }
  469|       |
  470|       |    /* add to unused pool (singly-linked list) */
  471|      6|    repeat->pool_next = state->repeat_pool_unused;
  472|      6|    state->repeat_pool_unused = repeat;
  473|      6|}
sre.c:state_fini:
  772|     13|{
  773|     13|    if (state->buffer.buf)
  ------------------
  |  Branch (773:9): [True: 9, False: 4]
  ------------------
  774|      9|        PyBuffer_Release(&state->buffer);
  775|     13|    Py_XDECREF(state->string);
  ------------------
  |  |  524|     13|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  776|     13|    data_stack_dealloc(state);
  777|       |    /* See above PyMem_Free() for why we explicitly cast here. */
  778|     13|    PyMem_Free((void*) state->mark);
  779|     13|    state->mark = NULL;
  780|       |    /* SRE_REPEAT pool */
  781|     13|    repeat_pool_clear(state);
  782|     13|}
sre.c:repeat_pool_clear:
  477|     13|{
  478|       |    /* clear used pool */
  479|     13|    SRE_REPEAT *next = state->repeat_pool_used;
  480|     13|    state->repeat_pool_used = NULL;
  481|     13|    while (next) {
  ------------------
  |  Branch (481:12): [True: 0, False: 13]
  ------------------
  482|      0|        SRE_REPEAT *temp = next;
  483|      0|        next = temp->pool_next;
  484|      0|        PyMem_Free(temp);
  485|      0|    }
  486|       |
  487|       |    /* clear unused pool */
  488|     13|    next = state->repeat_pool_unused;
  489|     13|    state->repeat_pool_unused = NULL;
  490|     19|    while (next) {
  ------------------
  |  Branch (490:12): [True: 6, False: 13]
  ------------------
  491|      6|        SRE_REPEAT *temp = next;
  492|      6|        next = temp->pool_next;
  493|      6|        PyMem_Free(temp);
  494|      6|    }
  495|     13|}
sre.c:pattern_new_match:
 2943|     13|{
 2944|       |    /* create match object (from state object) */
 2945|       |
 2946|     13|    MatchObject* match;
 2947|     13|    Py_ssize_t i, j;
 2948|     13|    char* base;
 2949|     13|    int n;
 2950|       |
 2951|     13|    if (status > 0) {
  ------------------
  |  Branch (2951:9): [True: 7, False: 6]
  ------------------
 2952|       |
 2953|       |        /* create match object (with room for extra group marks) */
 2954|       |        /* coverity[ampersand_in_size] */
 2955|      7|        match = PyObject_GC_NewVar(MatchObject,
  ------------------
  |  |  183|      7|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2956|      7|                                   module_state->Match_Type,
 2957|      7|                                   2*(pattern->groups+1));
 2958|      7|        if (!match)
  ------------------
  |  Branch (2958:13): [True: 0, False: 7]
  ------------------
 2959|      0|            return NULL;
 2960|       |
 2961|      7|        Py_INCREF(pattern);
  ------------------
  |  |  310|      7|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2962|      7|        match->pattern = pattern;
 2963|       |
 2964|      7|        match->string = Py_NewRef(state->string);
  ------------------
  |  |  550|      7|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2965|       |
 2966|      7|        match->regs = NULL;
 2967|      7|        match->groups = pattern->groups+1;
 2968|       |
 2969|       |        /* fill in group slices */
 2970|       |
 2971|      7|        base = (char*) state->beginning;
 2972|      7|        n = state->charsize;
 2973|       |
 2974|      7|        match->mark[0] = ((char*) state->start - base) / n;
 2975|      7|        match->mark[1] = ((char*) state->ptr - base) / n;
 2976|       |
 2977|     37|        for (i = j = 0; i < pattern->groups; i++, j+=2)
  ------------------
  |  Branch (2977:25): [True: 30, False: 7]
  ------------------
 2978|     30|            if (j+1 <= state->lastmark && state->mark[j] && state->mark[j+1]) {
  ------------------
  |  Branch (2978:17): [True: 14, False: 16]
  |  Branch (2978:43): [True: 5, False: 9]
  |  Branch (2978:61): [True: 5, False: 0]
  ------------------
 2979|      5|                match->mark[j+2] = ((char*) state->mark[j] - base) / n;
 2980|      5|                match->mark[j+3] = ((char*) state->mark[j+1] - base) / n;
 2981|       |
 2982|       |                /* check wrong span */
 2983|      5|                if (match->mark[j+2] > match->mark[j+3]) {
  ------------------
  |  Branch (2983:21): [True: 0, False: 5]
  ------------------
 2984|      0|                    PyErr_SetString(PyExc_SystemError,
 2985|      0|                                    "The span of capturing group is wrong,"
 2986|      0|                                    " please report a bug for the re module.");
 2987|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2988|      0|                    return NULL;
 2989|      0|                }
 2990|      5|            } else
 2991|     25|                match->mark[j+2] = match->mark[j+3] = -1; /* undefined */
 2992|       |
 2993|      7|        match->pos = state->pos;
 2994|      7|        match->endpos = state->endpos;
 2995|       |
 2996|      7|        match->lastindex = state->lastindex;
 2997|       |
 2998|      7|        PyObject_GC_Track(match);
 2999|      7|        return (PyObject*) match;
 3000|       |
 3001|      7|    } else if (status == 0) {
  ------------------
  |  Branch (3001:16): [True: 6, False: 0]
  ------------------
 3002|       |
 3003|       |        /* no match */
 3004|      6|        Py_RETURN_NONE;
  ------------------
  |  |  628|      6|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 3005|       |
 3006|      6|    }
 3007|       |
 3008|       |    /* internal error */
 3009|      0|    pattern_error(status);
 3010|       |    return NULL;
 3011|     13|}
sre.c:getslice:
  791|      2|{
  792|      2|    if (isbytes) {
  ------------------
  |  Branch (792:9): [True: 0, False: 2]
  ------------------
  793|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  794|      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 (794:13): [True: 0, False: 0]
  |  Branch (794:27): [True: 0, False: 0]
  ------------------
  795|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  796|      0|        }
  797|      0|        return PyBytes_FromStringAndSize(
  798|      0|                (const char *)ptr + start, end - start);
  799|      0|    }
  800|      2|    else {
  801|      2|        return PyUnicode_Substring(string, start, end);
  802|      2|    }
  803|      2|}
sre.c:match_getslice_by_index:
 2516|     10|{
 2517|     10|    Py_ssize_t length;
 2518|     10|    int isbytes, charsize;
 2519|     10|    Py_buffer view;
 2520|     10|    PyObject *result;
 2521|     10|    const void* ptr;
 2522|     10|    Py_ssize_t i, j;
 2523|       |
 2524|     10|    assert(0 <= index && index < self->groups);
  ------------------
  |  Branch (2524:5): [True: 10, False: 0]
  |  Branch (2524:5): [True: 10, False: 0]
  ------------------
 2525|     10|    index *= 2;
 2526|       |
 2527|     10|    if (self->string == Py_None || self->mark[index] < 0) {
  ------------------
  |  |  616|     20|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2527:9): [True: 0, False: 10]
  |  Branch (2527:36): [True: 8, False: 2]
  ------------------
 2528|       |        /* return default value if the string or group is undefined */
 2529|      8|        return Py_NewRef(def);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2530|      8|    }
 2531|       |
 2532|      2|    ptr = getstring(self->string, &length, &isbytes, &charsize, &view);
 2533|      2|    if (ptr == NULL)
  ------------------
  |  Branch (2533:9): [True: 0, False: 2]
  ------------------
 2534|      0|        return NULL;
 2535|       |
 2536|      2|    i = self->mark[index];
 2537|      2|    j = self->mark[index+1];
 2538|      2|    i = Py_MIN(i, length);
  ------------------
  |  |  112|      2|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2539|      2|    j = Py_MIN(j, length);
  ------------------
  |  |  112|      2|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2540|      2|    result = getslice(isbytes, ptr, self->string, i, j);
 2541|      2|    if (isbytes && view.buf != NULL)
  ------------------
  |  Branch (2541:9): [True: 0, False: 2]
  |  Branch (2541:20): [True: 0, False: 0]
  ------------------
 2542|      0|        PyBuffer_Release(&view);
 2543|      2|    return result;
 2544|      2|}
sre.c:pattern_traverse:
  863|   141k|{
  864|   141k|    PatternObject *self = _PatternObject_CAST(op);
  ------------------
  |  |  546|   141k|#define _PatternObject_CAST(op)     ((PatternObject *)(op))
  ------------------
  865|   141k|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|   141k|    do {                                                                \
  |  |  195|   141k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 141k, False: 0]
  |  |  ------------------
  |  |  196|   141k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   141k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   141k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   141k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 141k]
  |  |  ------------------
  |  |  198|   141k|                return vret;                                            \
  |  |  199|   141k|        }                                                               \
  |  |  200|   141k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 141k]
  |  |  ------------------
  ------------------
  866|   141k|    Py_VISIT(self->groupindex);
  ------------------
  |  |  194|   141k|    do {                                                                \
  |  |  195|   141k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 3.22k, False: 138k]
  |  |  ------------------
  |  |  196|  3.22k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  3.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  3.22k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 3.22k]
  |  |  ------------------
  |  |  198|  3.22k|                return vret;                                            \
  |  |  199|  3.22k|        }                                                               \
  |  |  200|   141k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 141k]
  |  |  ------------------
  ------------------
  867|   141k|    Py_VISIT(self->indexgroup);
  ------------------
  |  |  194|   141k|    do {                                                                \
  |  |  195|   141k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 3.22k, False: 138k]
  |  |  ------------------
  |  |  196|  3.22k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  3.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  3.22k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 3.22k]
  |  |  ------------------
  |  |  198|  3.22k|                return vret;                                            \
  |  |  199|  3.22k|        }                                                               \
  |  |  200|   141k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 141k]
  |  |  ------------------
  ------------------
  868|   141k|    Py_VISIT(self->pattern);
  ------------------
  |  |  194|   141k|    do {                                                                \
  |  |  195|   141k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 141k, False: 0]
  |  |  ------------------
  |  |  196|   141k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   141k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   141k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   141k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 141k]
  |  |  ------------------
  |  |  198|   141k|                return vret;                                            \
  |  |  199|   141k|        }                                                               \
  |  |  200|   141k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 141k]
  |  |  ------------------
  ------------------
  869|       |#ifdef Py_DEBUG
  870|       |    Py_VISIT(self->fail_after_exc);
  871|       |#endif
  872|   141k|    return 0;
  873|   141k|}
sre.c:pattern_clear:
  877|  1.69k|{
  878|  1.69k|    PatternObject *self = _PatternObject_CAST(op);
  ------------------
  |  |  546|  1.69k|#define _PatternObject_CAST(op)     ((PatternObject *)(op))
  ------------------
  879|  1.69k|    Py_CLEAR(self->groupindex);
  ------------------
  |  |  484|  1.69k|    do { \
  |  |  485|  1.69k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  1.69k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  1.69k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.69k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  1.69k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 22, False: 1.66k]
  |  |  ------------------
  |  |  488|     22|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     22|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     22|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     22|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     22|        } \
  |  |  491|  1.69k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 1.69k]
  |  |  ------------------
  ------------------
  880|  1.69k|    Py_CLEAR(self->indexgroup);
  ------------------
  |  |  484|  1.69k|    do { \
  |  |  485|  1.69k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  1.69k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  1.69k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.69k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  1.69k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 22, False: 1.66k]
  |  |  ------------------
  |  |  488|     22|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     22|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     22|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     22|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     22|        } \
  |  |  491|  1.69k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 1.69k]
  |  |  ------------------
  ------------------
  881|  1.69k|    Py_CLEAR(self->pattern);
  ------------------
  |  |  484|  1.69k|    do { \
  |  |  485|  1.69k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  1.69k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  1.69k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.69k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  1.69k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 1.69k, False: 0]
  |  |  ------------------
  |  |  488|  1.69k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  1.69k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  1.69k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  1.69k|        } \
  |  |  491|  1.69k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 1.69k]
  |  |  ------------------
  ------------------
  882|       |#ifdef Py_DEBUG
  883|       |    Py_CLEAR(self->fail_after_exc);
  884|       |#endif
  885|  1.69k|    return 0;
  886|  1.69k|}
sre.c:match_dealloc:
 2506|      7|{
 2507|      7|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|      7|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2508|      7|    PyObject_GC_UnTrack(self);
 2509|      7|    (void)match_clear(self);
 2510|      7|    tp->tp_free(self);
 2511|      7|    Py_DECREF(tp);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2512|      7|}
sre.c:match_group:
 2618|     10|{
 2619|     10|    MatchObject *self = _MatchObject_CAST(op);
  ------------------
  |  |  547|     10|#define _MatchObject_CAST(op)       ((MatchObject *)(op))
  ------------------
 2620|     10|    PyObject* result;
 2621|     10|    Py_ssize_t i, size;
 2622|       |
 2623|     10|    size = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2624|       |
 2625|     10|    switch (size) {
 2626|      0|    case 0:
  ------------------
  |  Branch (2626:5): [True: 0, False: 10]
  ------------------
 2627|      0|        result = match_getslice(self, _PyLong_GetZero(), Py_None);
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2628|      0|        break;
 2629|     10|    case 1:
  ------------------
  |  Branch (2629:5): [True: 10, False: 0]
  ------------------
 2630|     10|        result = match_getslice(self, PyTuple_GET_ITEM(args, 0), Py_None);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      result = match_getslice(self, PyTuple_GET_ITEM(args, 0), Py_None);
  ------------------
  |  |  616|     10|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2630:39): [True: 10, False: 0]
  ------------------
 2631|      0|        break;
 2632|      0|    default:
  ------------------
  |  Branch (2632:5): [True: 0, False: 10]
  ------------------
 2633|       |        /* fetch multiple items */
 2634|      0|        result = PyTuple_New(size);
 2635|      0|        if (!result)
  ------------------
  |  Branch (2635:13): [True: 0, False: 0]
  ------------------
 2636|      0|            return NULL;
 2637|      0|        for (i = 0; i < size; i++) {
  ------------------
  |  Branch (2637:21): [True: 0, False: 0]
  ------------------
 2638|      0|            PyObject* item = match_getslice(
 2639|      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)
  ------------------
  |  Branch (2639:23): [True: 0, False: 0]
  ------------------
 2640|      0|                );
 2641|      0|            if (!item) {
  ------------------
  |  Branch (2641:17): [True: 0, False: 0]
  ------------------
 2642|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2643|      0|                return NULL;
 2644|      0|            }
 2645|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2646|      0|        }
 2647|      0|        break;
 2648|     10|    }
 2649|     10|    return result;
 2650|     10|}
sre.c:match_getslice:
 2583|     10|{
 2584|     10|    Py_ssize_t i = match_getindex(self, index);
 2585|       |
 2586|     10|    if (i < 0) {
  ------------------
  |  Branch (2586:9): [True: 0, False: 10]
  ------------------
 2587|      0|        return NULL;
 2588|      0|    }
 2589|       |
 2590|     10|    return match_getslice_by_index(self, i, def);
 2591|     10|}
sre.c:match_getindex:
 2548|     10|{
 2549|     10|    Py_ssize_t i;
 2550|       |
 2551|     10|    if (index == NULL)
  ------------------
  |  Branch (2551:9): [True: 0, False: 10]
  ------------------
 2552|       |        /* Default value */
 2553|      0|        return 0;
 2554|       |
 2555|     10|    if (PyIndex_Check(index)) {
  ------------------
  |  Branch (2555:9): [True: 0, False: 10]
  ------------------
 2556|      0|        i = PyNumber_AsSsize_t(index, NULL);
 2557|      0|    }
 2558|     10|    else {
 2559|     10|        i = -1;
 2560|       |
 2561|     10|        if (self->pattern->groupindex) {
  ------------------
  |  Branch (2561:13): [True: 10, False: 0]
  ------------------
 2562|     10|            index = PyDict_GetItemWithError(self->pattern->groupindex, index);
 2563|     10|            if (index && PyLong_Check(index)) {
  ------------------
  |  |   13|     10|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     10|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 10, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2563:17): [True: 10, False: 0]
  ------------------
 2564|     10|                i = PyLong_AsSsize_t(index);
 2565|     10|            }
 2566|     10|        }
 2567|     10|    }
 2568|     10|    if (i < 0 || i >= self->groups) {
  ------------------
  |  Branch (2568:9): [True: 0, False: 10]
  |  Branch (2568:18): [True: 0, False: 10]
  ------------------
 2569|       |        /* raise IndexError if we were given a bad group number */
 2570|      0|        if (!PyErr_Occurred()) {
  ------------------
  |  Branch (2570:13): [True: 0, False: 0]
  ------------------
 2571|      0|            PyErr_SetString(PyExc_IndexError, "no such group");
 2572|      0|        }
 2573|      0|        return -1;
 2574|      0|    }
 2575|       |
 2576|       |    // Check that i*2 cannot overflow to make static analyzers happy
 2577|     10|    assert((size_t)i <= SRE_MAXGROUPS);
  ------------------
  |  Branch (2577:5): [True: 10, False: 0]
  ------------------
 2578|     10|    return i;
 2579|     10|}
sre.c:match_clear:
 2496|      7|{
 2497|      7|    MatchObject *self = _MatchObject_CAST(op);
  ------------------
  |  |  547|      7|#define _MatchObject_CAST(op)       ((MatchObject *)(op))
  ------------------
 2498|      7|    Py_CLEAR(self->string);
  ------------------
  |  |  484|      7|    do { \
  |  |  485|      7|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      7|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      7|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 7, False: 0]
  |  |  ------------------
  |  |  488|      7|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      7|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      7|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      7|        } \
  |  |  491|      7|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
 2499|      7|    Py_CLEAR(self->regs);
  ------------------
  |  |  484|      7|    do { \
  |  |  485|      7|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      7|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      7|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 7]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      7|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
 2500|       |    Py_CLEAR(self->pattern);
  ------------------
  |  |  484|      7|    do { \
  |  |  485|      7|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      7|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      7|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 7, False: 0]
  |  |  ------------------
  |  |  488|      7|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      7|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      7|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      7|        } \
  |  |  491|      7|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
 2501|      7|    return 0;
 2502|      7|}
sre.c:sre_traverse:
 3572|    268|{
 3573|    268|    _sremodulestate *state = get_sre_module_state(module);
 3574|       |
 3575|    268|    Py_VISIT(state->Pattern_Type);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 3576|    268|    Py_VISIT(state->Match_Type);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 3577|    268|    Py_VISIT(state->Scanner_Type);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 3578|    268|    Py_VISIT(state->Template_Type);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 3579|    268|    Py_VISIT(state->compile_template);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 268]
  |  |  ------------------
  |  |  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|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 3580|       |
 3581|    268|    return 0;
 3582|    268|}

sre.c:sre_ucs1_match:
  608|     13|{
  609|     13|    const SRE_CHAR* end = (const SRE_CHAR *)state->end;
  610|     13|    Py_ssize_t alloc_pos, ctx_pos = -1;
  611|     13|    Py_ssize_t ret = 0;
  612|     13|    int jump;
  613|     13|    unsigned int sigcount = state->sigcount;
  614|       |
  615|     13|    SRE(match_context)* ctx;
  ------------------
  |  |  501|     13|#define SRE(F) sre_ucs1_##F
  ------------------
  616|     13|    SRE(match_context)* nextctx;
  ------------------
  |  |  501|     13|#define SRE(F) sre_ucs1_##F
  ------------------
  617|     13|    INIT_TRACE(state);
  618|       |
  619|     13|    TRACE(("|%p|%p|ENTER\n", pattern, state->ptr));
  620|       |
  621|     13|    DATA_ALLOC(SRE(match_context), ctx);
  ------------------
  |  |  457|     13|    DATA_STACK_ALLOC(state, t, p)
  |  |  ------------------
  |  |  |  |  396|     13|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  397|     13|do { \
  |  |  |  |  398|     13|    alloc_pos = state->data_stack_base; \
  |  |  |  |  399|     13|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  400|     13|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  401|     13|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (401:9): [True: 13, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  402|     13|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  403|     13|        if (j < 0) return j; \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (403:13): [True: 0, False: 13]
  |  |  |  |  ------------------
  |  |  |  |  404|     13|        if (ctx_pos != -1) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (404:13): [True: 0, False: 13]
  |  |  |  |  ------------------
  |  |  |  |  405|     13|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  411|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  412|      0|do { \
  |  |  |  |  |  |  413|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  414|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  415|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (415:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  406|     13|    } \
  |  |  |  |  407|     13|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  408|     13|    state->data_stack_base += sizeof(type); \
  |  |  |  |  409|     13|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (409:10): [Folded, False: 13]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  622|     13|    ctx->last_ctx_pos = -1;
  623|     13|    ctx->jump = JUMP_NONE;
  ------------------
  |  |  504|     13|#define JUMP_NONE            0
  ------------------
  624|     13|    ctx->toplevel = toplevel;
  625|     13|    ctx_pos = alloc_pos;
  626|       |
  627|     13|#if USE_COMPUTED_GOTOS
  628|     13|#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|     13|static void *sre_targets[43] = {
  |  |   15|     13|    &&TARGET_SRE_OP_FAILURE,
  |  |   16|     13|    &&TARGET_SRE_OP_SUCCESS,
  |  |   17|     13|    &&TARGET_SRE_OP_ANY,
  |  |   18|     13|    &&TARGET_SRE_OP_ANY_ALL,
  |  |   19|     13|    &&TARGET_SRE_OP_ASSERT,
  |  |   20|     13|    &&TARGET_SRE_OP_ASSERT_NOT,
  |  |   21|     13|    &&TARGET_SRE_OP_AT,
  |  |   22|     13|    &&TARGET_SRE_OP_BRANCH,
  |  |   23|     13|    &&TARGET_SRE_OP_CATEGORY,
  |  |   24|     13|    &&TARGET_SRE_OP_CHARSET,
  |  |   25|     13|    &&TARGET_SRE_OP_BIGCHARSET,
  |  |   26|     13|    &&TARGET_SRE_OP_GROUPREF,
  |  |   27|     13|    &&TARGET_SRE_OP_GROUPREF_EXISTS,
  |  |   28|     13|    &&TARGET_SRE_OP_IN,
  |  |   29|     13|    &&TARGET_SRE_OP_INFO,
  |  |   30|     13|    &&TARGET_SRE_OP_JUMP,
  |  |   31|     13|    &&TARGET_SRE_OP_LITERAL,
  |  |   32|     13|    &&TARGET_SRE_OP_MARK,
  |  |   33|     13|    &&TARGET_SRE_OP_MAX_UNTIL,
  |  |   34|     13|    &&TARGET_SRE_OP_MIN_UNTIL,
  |  |   35|     13|    &&TARGET_SRE_OP_NOT_LITERAL,
  |  |   36|     13|    &&TARGET_SRE_OP_NEGATE,
  |  |   37|     13|    &&TARGET_SRE_OP_RANGE,
  |  |   38|     13|    &&TARGET_SRE_OP_REPEAT,
  |  |   39|     13|    &&TARGET_SRE_OP_REPEAT_ONE,
  |  |   40|     13|    &&TARGET_SRE_OP_SUBPATTERN,
  |  |   41|     13|    &&TARGET_SRE_OP_MIN_REPEAT_ONE,
  |  |   42|     13|    &&TARGET_SRE_OP_ATOMIC_GROUP,
  |  |   43|     13|    &&TARGET_SRE_OP_POSSESSIVE_REPEAT,
  |  |   44|     13|    &&TARGET_SRE_OP_POSSESSIVE_REPEAT_ONE,
  |  |   45|     13|    &&TARGET_SRE_OP_GROUPREF_IGNORE,
  |  |   46|     13|    &&TARGET_SRE_OP_IN_IGNORE,
  |  |   47|     13|    &&TARGET_SRE_OP_LITERAL_IGNORE,
  |  |   48|     13|    &&TARGET_SRE_OP_NOT_LITERAL_IGNORE,
  |  |   49|     13|    &&TARGET_SRE_OP_GROUPREF_LOC_IGNORE,
  |  |   50|     13|    &&TARGET_SRE_OP_IN_LOC_IGNORE,
  |  |   51|     13|    &&TARGET_SRE_OP_LITERAL_LOC_IGNORE,
  |  |   52|     13|    &&TARGET_SRE_OP_NOT_LITERAL_LOC_IGNORE,
  |  |   53|     13|    &&TARGET_SRE_OP_GROUPREF_UNI_IGNORE,
  |  |   54|     13|    &&TARGET_SRE_OP_IN_UNI_IGNORE,
  |  |   55|     13|    &&TARGET_SRE_OP_LITERAL_UNI_IGNORE,
  |  |   56|     13|    &&TARGET_SRE_OP_NOT_LITERAL_UNI_IGNORE,
  |  |   57|     13|    &&TARGET_SRE_OP_RANGE_UNI_IGNORE,
  |  |   58|     13|};
  ------------------
  629|     13|#endif
  630|       |
  631|    174|entrance:
  632|       |
  633|    174|    ;  // Fashion statement.
  634|    174|    const SRE_CHAR *ptr = (SRE_CHAR *)state->ptr;
  635|       |
  636|    174|    if (pattern[0] == SRE_OP_INFO) {
  ------------------
  |  |   29|    174|#define SRE_OP_INFO 14
  ------------------
  |  Branch (636:9): [True: 13, False: 161]
  ------------------
  637|       |        /* optimization info block */
  638|       |        /* <INFO> <1=skip> <2=flags> <3=min> ... */
  639|     13|        if (pattern[3] && (uintptr_t)(end - ptr) < pattern[3]) {
  ------------------
  |  Branch (639:13): [True: 6, False: 7]
  |  Branch (639:27): [True: 3, False: 3]
  ------------------
  640|      3|            TRACE(("reject (got %tu chars, need %zu)\n",
  641|      3|                   end - ptr, (size_t) pattern[3]));
  642|      3|            RETURN_FAILURE;
  ------------------
  |  |  386|      3|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  643|      3|        }
  644|     10|        pattern += pattern[1] + 1;
  645|     10|    }
  646|       |
  647|    171|#if USE_COMPUTED_GOTOS
  648|    171|    DISPATCH;
  ------------------
  |  |  595|    171|        do {                               \
  |  |  596|    171|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  578|    171|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  560|    171|    do {                                                           \
  |  |  |  |  |  |  561|    171|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (561:13): [True: 0, False: 171]
  |  |  |  |  |  |  |  Branch (561:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  562|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  563|      0|        }                                                          \
  |  |  |  |  |  |  564|    171|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (564:14): [Folded, False: 171]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  597|    171|            goto *sre_targets[*pattern++]; \
  |  |  598|    171|        } while (0)
  |  |  ------------------
  |  |  |  Branch (598:18): [Folded, False: 171]
  |  |  ------------------
  ------------------
  649|       |#else
  650|       |dispatch:
  651|       |    MAYBE_CHECK_SIGNALS;
  652|       |    switch (*pattern++)
  653|       |#endif
  654|    171|    {
  655|       |
  656|    171|        TARGET(SRE_OP_MARK):
  ------------------
  |  |  593|     15|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  657|       |            /* set mark */
  658|       |            /* <MARK> <gid> */
  659|     15|            TRACE(("|%p|%p|MARK %d\n", pattern,
  660|     15|                   ptr, pattern[0]));
  661|     15|            {
  662|     15|                int i = pattern[0];
  663|     15|                if (i & 1)
  ------------------
  |  Branch (663:21): [True: 5, False: 10]
  ------------------
  664|      5|                    state->lastindex = i/2 + 1;
  665|     15|                if (i > state->lastmark) {
  ------------------
  |  Branch (665:21): [True: 14, False: 1]
  ------------------
  666|       |                    /* state->lastmark is the highest valid index in the
  667|       |                       state->mark array.  If it is increased by more than 1,
  668|       |                       the intervening marks must be set to NULL to signal
  669|       |                       that these marks have not been encountered. */
  670|     14|                    int j = state->lastmark + 1;
  671|     68|                    while (j < i)
  ------------------
  |  Branch (671:28): [True: 54, False: 14]
  ------------------
  672|     54|                        state->mark[j++] = NULL;
  673|     14|                    state->lastmark = i;
  674|     14|                }
  675|     15|                state->mark[i] = ptr;
  676|     15|            }
  677|     15|            pattern++;
  678|     15|            DISPATCH;
  ------------------
  |  |  595|     15|        do {                               \
  |  |  596|     15|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  578|     15|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  560|     15|    do {                                                           \
  |  |  |  |  |  |  561|     15|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (561:13): [True: 0, False: 15]
  |  |  |  |  |  |  |  Branch (561:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  562|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  563|      0|        }                                                          \
  |  |  |  |  |  |  564|     15|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (564:14): [Folded, False: 15]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  597|     15|            goto *sre_targets[*pattern++]; \
  |  |  598|     15|        } while (0)
  |  |  ------------------
  |  |  |  Branch (598:18): [Folded, False: 15]
  |  |  ------------------
  ------------------
  679|       |
  680|    126|        TARGET(SRE_OP_LITERAL):
  ------------------
  |  |  593|    126|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  681|       |            /* match literal string */
  682|       |            /* <LITERAL> <code> */
  683|    126|            TRACE(("|%p|%p|LITERAL %d\n", pattern,
  684|    126|                   ptr, *pattern));
  685|    126|            if (ptr >= end || (SRE_CODE) ptr[0] != pattern[0])
  ------------------
  |  Branch (685:17): [True: 0, False: 126]
  |  Branch (685:31): [True: 120, False: 6]
  ------------------
  686|    120|                RETURN_FAILURE;
  ------------------
  |  |  386|    120|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  687|      6|            pattern++;
  688|      6|            ptr++;
  689|      6|            DISPATCH;
  ------------------
  |  |  595|      6|        do {                               \
  |  |  596|      6|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  578|      6|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  560|      6|    do {                                                           \
  |  |  |  |  |  |  561|      6|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (561:13): [True: 0, False: 6]
  |  |  |  |  |  |  |  Branch (561:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  562|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  563|      0|        }                                                          \
  |  |  |  |  |  |  564|      6|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (564:14): [Folded, False: 6]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  597|      6|            goto *sre_targets[*pattern++]; \
  |  |  598|      6|        } while (0)
  |  |  ------------------
  |  |  |  Branch (598:18): [Folded, False: 6]
  |  |  ------------------
  ------------------
  690|       |
  691|      6|        TARGET(SRE_OP_NOT_LITERAL):
  ------------------
  |  |  593|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  692|       |            /* match anything that is not literal character */
  693|       |            /* <NOT_LITERAL> <code> */
  694|      0|            TRACE(("|%p|%p|NOT_LITERAL %d\n", pattern,
  695|      0|                   ptr, *pattern));
  696|      0|            if (ptr >= end || (SRE_CODE) ptr[0] == pattern[0])
  ------------------
  |  Branch (696:17): [True: 0, False: 0]
  |  Branch (696:31): [True: 0, False: 0]
  ------------------
  697|      0|                RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  698|      0|            pattern++;
  699|      0|            ptr++;
  700|      0|            DISPATCH;
  ------------------
  |  |  595|      0|        do {                               \
  |  |  596|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  578|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  560|      0|    do {                                                           \
  |  |  |  |  |  |  561|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (561:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (561:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  562|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  563|      0|        }                                                          \
  |  |  |  |  |  |  564|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (564:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  597|      0|            goto *sre_targets[*pattern++]; \
  |  |  598|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (598:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  701|       |
  702|      7|        TARGET(SRE_OP_SUCCESS):
  ------------------
  |  |  593|      7|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  703|       |            /* end of pattern */
  704|      7|            TRACE(("|%p|%p|SUCCESS\n", pattern, ptr));
  705|      7|            if (ctx->toplevel &&
  ------------------
  |  Branch (705:17): [True: 7, False: 0]
  ------------------
  706|      7|                ((state->match_all && ptr != state->end) ||
  ------------------
  |  Branch (706:19): [True: 0, False: 7]
  |  Branch (706:39): [True: 0, False: 0]
  ------------------
  707|      7|                 (state->must_advance && ptr == state->start)))
  ------------------
  |  Branch (707:19): [True: 0, False: 7]
  |  Branch (707:42): [True: 0, False: 0]
  ------------------
  708|      0|            {
  709|      0|                RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  710|      0|            }
  711|      7|            state->ptr = ptr;
  712|      7|            RETURN_SUCCESS;
  ------------------
  |  |  387|      7|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (387:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  713|       |
  714|      9|        TARGET(SRE_OP_AT):
  ------------------
  |  |  593|      9|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  715|       |            /* match at given position */
  716|       |            /* <AT> <code> */
  717|      9|            TRACE(("|%p|%p|AT %d\n", pattern, ptr, *pattern));
  718|      9|            if (!SRE(at)(state, ptr, *pattern))
  ------------------
  |  |  501|      9|#define SRE(F) sre_ucs1_##F
  ------------------
  |  Branch (718:17): [True: 0, False: 9]
  ------------------
  719|      0|                RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  720|      9|            pattern++;
  721|      9|            DISPATCH;
  ------------------
  |  |  595|      9|        do {                               \
  |  |  596|      9|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  578|      9|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  560|      9|    do {                                                           \
  |  |  |  |  |  |  561|      9|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (561:13): [True: 0, False: 9]
  |  |  |  |  |  |  |  Branch (561:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  562|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  563|      0|        }                                                          \
  |  |  |  |  |  |  564|      9|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (564:14): [Folded, False: 9]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  597|      9|            goto *sre_targets[*pattern++]; \
  |  |  598|      9|        } while (0)
  |  |  ------------------
  |  |  |  Branch (598:18): [Folded, False: 9]
  |  |  ------------------
  ------------------
  722|       |
  723|      9|        TARGET(SRE_OP_CATEGORY):
  ------------------
  |  |  593|      3|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  724|       |            /* match at given category */
  725|       |            /* <CATEGORY> <code> */
  726|      3|            TRACE(("|%p|%p|CATEGORY %d\n", pattern,
  727|      3|                   ptr, *pattern));
  728|      3|            if (ptr >= end || !sre_category(pattern[0], ptr[0]))
  ------------------
  |  Branch (728:17): [True: 0, False: 3]
  |  Branch (728:31): [True: 3, False: 0]
  ------------------
  729|      3|                RETURN_FAILURE;
  ------------------
  |  |  386|      3|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  730|      0|            pattern++;
  731|      0|            ptr++;
  732|      0|            DISPATCH;
  ------------------
  |  |  595|      0|        do {                               \
  |  |  596|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  578|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  560|      0|    do {                                                           \
  |  |  |  |  |  |  561|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (561:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (561:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  562|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  563|      0|        }                                                          \
  |  |  |  |  |  |  564|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (564:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  597|      0|            goto *sre_targets[*pattern++]; \
  |  |  598|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (598:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  733|       |
  734|      0|        TARGET(SRE_OP_ANY):
  ------------------
  |  |  593|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  735|       |            /* match anything (except a newline) */
  736|       |            /* <ANY> */
  737|      0|            TRACE(("|%p|%p|ANY\n", pattern, ptr));
  738|      0|            if (ptr >= end || SRE_IS_LINEBREAK(ptr[0]))
  ------------------
  |  |  142|      0|    ((ch) == '\n')
  |  |  ------------------
  |  |  |  Branch (142:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (738:17): [True: 0, False: 0]
  ------------------
  739|      0|                RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  740|      0|            ptr++;
  741|      0|            DISPATCH;
  ------------------
  |  |  595|      0|        do {                               \
  |  |  596|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  578|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  560|      0|    do {                                                           \
  |  |  |  |  |  |  561|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (561:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (561:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  562|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  563|      0|        }                                                          \
  |  |  |  |  |  |  564|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (564:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  597|      0|            goto *sre_targets[*pattern++]; \
  |  |  598|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (598:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  742|       |
  743|      0|        TARGET(SRE_OP_ANY_ALL):
  ------------------
  |  |  593|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  744|       |            /* match anything */
  745|       |            /* <ANY_ALL> */
  746|      0|            TRACE(("|%p|%p|ANY_ALL\n", pattern, ptr));
  747|      0|            if (ptr >= end)
  ------------------
  |  Branch (747:17): [True: 0, False: 0]
  ------------------
  748|      0|                RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  749|      0|            ptr++;
  750|      0|            DISPATCH;
  ------------------
  |  |  595|      0|        do {                               \
  |  |  596|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  578|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  560|      0|    do {                                                           \
  |  |  |  |  |  |  561|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (561:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (561:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  562|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  563|      0|        }                                                          \
  |  |  |  |  |  |  564|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (564:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  597|      0|            goto *sre_targets[*pattern++]; \
  |  |  598|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (598:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  751|       |
  752|      6|        TARGET(SRE_OP_IN):
  ------------------
  |  |  593|      6|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  753|       |            /* match set member (or non_member) */
  754|       |            /* <IN> <skip> <set> */
  755|      6|            TRACE(("|%p|%p|IN\n", pattern, ptr));
  756|      6|            if (ptr >= end ||
  ------------------
  |  Branch (756:17): [True: 0, False: 6]
  ------------------
  757|      6|                !SRE(charset)(state, pattern + 1, *ptr))
  ------------------
  |  |  501|      6|#define SRE(F) sre_ucs1_##F
  ------------------
  |  Branch (757:17): [True: 2, False: 4]
  ------------------
  758|      2|                RETURN_FAILURE;
  ------------------
  |  |  386|      2|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  759|      4|            pattern += pattern[0];
  760|      4|            ptr++;
  761|      4|            DISPATCH;
  ------------------
  |  |  595|      4|        do {                               \
  |  |  596|      4|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  578|      4|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  560|      4|    do {                                                           \
  |  |  |  |  |  |  561|      4|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (561:13): [True: 0, False: 4]
  |  |  |  |  |  |  |  Branch (561:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  562|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  563|      0|        }                                                          \
  |  |  |  |  |  |  564|      4|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (564:14): [Folded, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  597|      4|            goto *sre_targets[*pattern++]; \
  |  |  598|      4|        } while (0)
  |  |  ------------------
  |  |  |  Branch (598:18): [Folded, False: 4]
  |  |  ------------------
  ------------------
  762|       |
  763|      4|        TARGET(SRE_OP_LITERAL_IGNORE):
  ------------------
  |  |  593|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  764|      0|            TRACE(("|%p|%p|LITERAL_IGNORE %d\n",
  765|      0|                   pattern, ptr, pattern[0]));
  766|      0|            if (ptr >= end ||
  ------------------
  |  Branch (766:17): [True: 0, False: 0]
  ------------------
  767|      0|                sre_lower_ascii(*ptr) != *pattern)
  ------------------
  |  Branch (767:17): [True: 0, False: 0]
  ------------------
  768|      0|                RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  769|      0|            pattern++;
  770|      0|            ptr++;
  771|      0|            DISPATCH;
  ------------------
  |  |  595|      0|        do {                               \
  |  |  596|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  578|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  560|      0|    do {                                                           \
  |  |  |  |  |  |  561|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (561:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (561:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  562|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  563|      0|        }                                                          \
  |  |  |  |  |  |  564|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (564:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  597|      0|            goto *sre_targets[*pattern++]; \
  |  |  598|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (598:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  772|       |
  773|      7|        TARGET(SRE_OP_LITERAL_UNI_IGNORE):
  ------------------
  |  |  593|      7|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  774|      7|            TRACE(("|%p|%p|LITERAL_UNI_IGNORE %d\n",
  775|      7|                   pattern, ptr, pattern[0]));
  776|      7|            if (ptr >= end ||
  ------------------
  |  Branch (776:17): [True: 0, False: 7]
  ------------------
  777|      7|                sre_lower_unicode(*ptr) != *pattern)
  ------------------
  |  Branch (777:17): [True: 0, False: 7]
  ------------------
  778|      0|                RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  779|      7|            pattern++;
  780|      7|            ptr++;
  781|      7|            DISPATCH;
  ------------------
  |  |  595|      7|        do {                               \
  |  |  596|      7|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  578|      7|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  560|      7|    do {                                                           \
  |  |  |  |  |  |  561|      7|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (561:13): [True: 0, False: 7]
  |  |  |  |  |  |  |  Branch (561:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  562|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  563|      0|        }                                                          \
  |  |  |  |  |  |  564|      7|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (564:14): [Folded, False: 7]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  597|      7|            goto *sre_targets[*pattern++]; \
  |  |  598|      7|        } while (0)
  |  |  ------------------
  |  |  |  Branch (598:18): [Folded, False: 7]
  |  |  ------------------
  ------------------
  782|       |
  783|      7|        TARGET(SRE_OP_LITERAL_LOC_IGNORE):
  ------------------
  |  |  593|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  784|      0|            TRACE(("|%p|%p|LITERAL_LOC_IGNORE %d\n",
  785|      0|                   pattern, ptr, pattern[0]));
  786|      0|            if (ptr >= end
  ------------------
  |  Branch (786:17): [True: 0, False: 0]
  ------------------
  787|      0|                || !char_loc_ignore(*pattern, *ptr))
  ------------------
  |  Branch (787:20): [True: 0, False: 0]
  ------------------
  788|      0|                RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  789|      0|            pattern++;
  790|      0|            ptr++;
  791|      0|            DISPATCH;
  ------------------
  |  |  595|      0|        do {                               \
  |  |  596|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  578|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  560|      0|    do {                                                           \
  |  |  |  |  |  |  561|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (561:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (561:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  562|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  563|      0|        }                                                          \
  |  |  |  |  |  |  564|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (564:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  597|      0|            goto *sre_targets[*pattern++]; \
  |  |  598|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (598:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  792|       |
  793|      0|        TARGET(SRE_OP_NOT_LITERAL_IGNORE):
  ------------------
  |  |  593|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  794|      0|            TRACE(("|%p|%p|NOT_LITERAL_IGNORE %d\n",
  795|      0|                   pattern, ptr, *pattern));
  796|      0|            if (ptr >= end ||
  ------------------
  |  Branch (796:17): [True: 0, False: 0]
  ------------------
  797|      0|                sre_lower_ascii(*ptr) == *pattern)
  ------------------
  |  Branch (797:17): [True: 0, False: 0]
  ------------------
  798|      0|                RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  799|      0|            pattern++;
  800|      0|            ptr++;
  801|      0|            DISPATCH;
  ------------------
  |  |  595|      0|        do {                               \
  |  |  596|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  578|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  560|      0|    do {                                                           \
  |  |  |  |  |  |  561|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (561:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (561:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  562|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  563|      0|        }                                                          \
  |  |  |  |  |  |  564|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (564:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  597|      0|            goto *sre_targets[*pattern++]; \
  |  |  598|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (598:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  802|       |
  803|      0|        TARGET(SRE_OP_NOT_LITERAL_UNI_IGNORE):
  ------------------
  |  |  593|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  804|      0|            TRACE(("|%p|%p|NOT_LITERAL_UNI_IGNORE %d\n",
  805|      0|                   pattern, ptr, *pattern));
  806|      0|            if (ptr >= end ||
  ------------------
  |  Branch (806:17): [True: 0, False: 0]
  ------------------
  807|      0|                sre_lower_unicode(*ptr) == *pattern)
  ------------------
  |  Branch (807:17): [True: 0, False: 0]
  ------------------
  808|      0|                RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  809|      0|            pattern++;
  810|      0|            ptr++;
  811|      0|            DISPATCH;
  ------------------
  |  |  595|      0|        do {                               \
  |  |  596|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  578|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  560|      0|    do {                                                           \
  |  |  |  |  |  |  561|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (561:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (561:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  562|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  563|      0|        }                                                          \
  |  |  |  |  |  |  564|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (564:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  597|      0|            goto *sre_targets[*pattern++]; \
  |  |  598|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (598:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  812|       |
  813|      0|        TARGET(SRE_OP_NOT_LITERAL_LOC_IGNORE):
  ------------------
  |  |  593|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  814|      0|            TRACE(("|%p|%p|NOT_LITERAL_LOC_IGNORE %d\n",
  815|      0|                   pattern, ptr, *pattern));
  816|      0|            if (ptr >= end
  ------------------
  |  Branch (816:17): [True: 0, False: 0]
  ------------------
  817|      0|                || char_loc_ignore(*pattern, *ptr))
  ------------------
  |  Branch (817:20): [True: 0, False: 0]
  ------------------
  818|      0|                RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  819|      0|            pattern++;
  820|      0|            ptr++;
  821|      0|            DISPATCH;
  ------------------
  |  |  595|      0|        do {                               \
  |  |  596|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  578|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  560|      0|    do {                                                           \
  |  |  |  |  |  |  561|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (561:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (561:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  562|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  563|      0|        }                                                          \
  |  |  |  |  |  |  564|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (564:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  597|      0|            goto *sre_targets[*pattern++]; \
  |  |  598|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (598:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  822|       |
  823|      0|        TARGET(SRE_OP_IN_IGNORE):
  ------------------
  |  |  593|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  824|      0|            TRACE(("|%p|%p|IN_IGNORE\n", pattern, ptr));
  825|      0|            if (ptr >= end
  ------------------
  |  Branch (825:17): [True: 0, False: 0]
  ------------------
  826|      0|                || !SRE(charset)(state, pattern+1,
  ------------------
  |  |  501|      0|#define SRE(F) sre_ucs1_##F
  ------------------
  |  Branch (826:20): [True: 0, False: 0]
  ------------------
  827|      0|                                 (SRE_CODE)sre_lower_ascii(*ptr)))
  828|      0|                RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  829|      0|            pattern += pattern[0];
  830|      0|            ptr++;
  831|      0|            DISPATCH;
  ------------------
  |  |  595|      0|        do {                               \
  |  |  596|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  578|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  560|      0|    do {                                                           \
  |  |  |  |  |  |  561|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (561:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (561:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  562|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  563|      0|        }                                                          \
  |  |  |  |  |  |  564|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (564:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  597|      0|            goto *sre_targets[*pattern++]; \
  |  |  598|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (598:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  832|       |
  833|      6|        TARGET(SRE_OP_IN_UNI_IGNORE):
  ------------------
  |  |  593|      6|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  834|      6|            TRACE(("|%p|%p|IN_UNI_IGNORE\n", pattern, ptr));
  835|      6|            if (ptr >= end
  ------------------
  |  Branch (835:17): [True: 2, False: 4]
  ------------------
  836|      4|                || !SRE(charset)(state, pattern+1,
  ------------------
  |  |  501|      4|#define SRE(F) sre_ucs1_##F
  ------------------
  |  Branch (836:20): [True: 2, False: 2]
  ------------------
  837|      4|                                 (SRE_CODE)sre_lower_unicode(*ptr)))
  838|      4|                RETURN_FAILURE;
  ------------------
  |  |  386|      4|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  839|      2|            pattern += pattern[0];
  840|      2|            ptr++;
  841|      2|            DISPATCH;
  ------------------
  |  |  595|      2|        do {                               \
  |  |  596|      2|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  578|      2|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  560|      2|    do {                                                           \
  |  |  |  |  |  |  561|      2|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (561:13): [True: 0, False: 2]
  |  |  |  |  |  |  |  Branch (561:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  562|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  563|      0|        }                                                          \
  |  |  |  |  |  |  564|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (564:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  597|      2|            goto *sre_targets[*pattern++]; \
  |  |  598|      2|        } while (0)
  |  |  ------------------
  |  |  |  Branch (598:18): [Folded, False: 2]
  |  |  ------------------
  ------------------
  842|       |
  843|      2|        TARGET(SRE_OP_IN_LOC_IGNORE):
  ------------------
  |  |  593|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  844|      0|            TRACE(("|%p|%p|IN_LOC_IGNORE\n", pattern, ptr));
  845|      0|            if (ptr >= end
  ------------------
  |  Branch (845:17): [True: 0, False: 0]
  ------------------
  846|      0|                || !SRE(charset_loc_ignore)(state, pattern+1, *ptr))
  ------------------
  |  |  501|      0|#define SRE(F) sre_ucs1_##F
  ------------------
  |  Branch (846:20): [True: 0, False: 0]
  ------------------
  847|      0|                RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  848|      0|            pattern += pattern[0];
  849|      0|            ptr++;
  850|      0|            DISPATCH;
  ------------------
  |  |  595|      0|        do {                               \
  |  |  596|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  578|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  560|      0|    do {                                                           \
  |  |  |  |  |  |  561|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (561:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (561:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  562|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  563|      0|        }                                                          \
  |  |  |  |  |  |  564|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (564:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  597|      0|            goto *sre_targets[*pattern++]; \
  |  |  598|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (598:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  851|       |
  852|      6|        TARGET(SRE_OP_JUMP):
  ------------------
  |  |  593|      6|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  853|      6|        TARGET(SRE_OP_INFO):
  ------------------
  |  |  593|      6|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  854|       |            /* jump forward */
  855|       |            /* <JUMP> <offset> */
  856|      6|            TRACE(("|%p|%p|JUMP %d\n", pattern,
  857|      6|                   ptr, pattern[0]));
  858|      6|            pattern += pattern[0];
  859|      6|            DISPATCH;
  ------------------
  |  |  595|      6|        do {                               \
  |  |  596|      6|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  578|      6|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  560|      6|    do {                                                           \
  |  |  |  |  |  |  561|      6|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (561:13): [True: 0, False: 6]
  |  |  |  |  |  |  |  Branch (561:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  562|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  563|      0|        }                                                          \
  |  |  |  |  |  |  564|      6|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (564:14): [Folded, False: 6]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  597|      6|            goto *sre_targets[*pattern++]; \
  |  |  598|      6|        } while (0)
  |  |  ------------------
  |  |  |  Branch (598:18): [Folded, False: 6]
  |  |  ------------------
  ------------------
  860|       |
  861|      9|        TARGET(SRE_OP_BRANCH):
  ------------------
  |  |  593|      9|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  862|       |            /* alternation */
  863|       |            /* <BRANCH> <0=skip> code <JUMP> ... <NULL> */
  864|      9|            TRACE(("|%p|%p|BRANCH\n", pattern, ptr));
  865|      9|            LASTMARK_SAVE();
  ------------------
  |  |  362|      9|    do { \
  |  |  363|      9|        ctx->lastmark = state->lastmark; \
  |  |  364|      9|        ctx->lastindex = state->lastindex; \
  |  |  365|      9|    } while (0)
  |  |  ------------------
  |  |  |  Branch (365:14): [Folded, False: 9]
  |  |  ------------------
  ------------------
  866|      9|            if (state->save_marks)
  ------------------
  |  Branch (866:17): [True: 0, False: 9]
  ------------------
  867|      0|                MARK_PUSH(ctx->lastmark);
  ------------------
  |  |  480|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (480:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  481|      0|        MARK_TRACE("push", (lastmark)); \
  |  |  482|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  483|      0|        DATA_STACK_PUSH(state, state->mark, _marks_size); \
  |  |  ------------------
  |  |  |  |  417|      0|#define DATA_STACK_PUSH(state, data, size) \
  |  |  |  |  418|      0|do { \
  |  |  |  |  419|      0|    TRACE(("copy data in %p to %zd (%zd)\n", \
  |  |  |  |  420|      0|           data, state->data_stack_base, size)); \
  |  |  |  |  421|      0|    if (size > state->data_stack_size - state->data_stack_base) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  422|      0|        int j = data_stack_grow(state, size); \
  |  |  |  |  423|      0|        if (j < 0) return j; \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  424|      0|        if (ctx_pos != -1) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (424:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  425|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  411|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  412|      0|do { \
  |  |  |  |  |  |  413|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  414|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  415|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (415:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  426|      0|    } \
  |  |  |  |  427|      0|    memcpy(state->data_stack+state->data_stack_base, data, size); \
  |  |  |  |  428|      0|    state->data_stack_base += size; \
  |  |  |  |  429|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (429:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  484|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (484:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  868|     19|            for (; pattern[0]; pattern += pattern[0]) {
  ------------------
  |  Branch (868:20): [True: 16, False: 3]
  ------------------
  869|     16|                if (pattern[1] == SRE_OP_LITERAL &&
  ------------------
  |  |   31|     32|#define SRE_OP_LITERAL 16
  ------------------
  |  Branch (869:21): [True: 3, False: 13]
  ------------------
  870|      3|                    (ptr >= end ||
  ------------------
  |  Branch (870:22): [True: 0, False: 3]
  ------------------
  871|      3|                     (SRE_CODE) *ptr != pattern[2]))
  ------------------
  |  Branch (871:22): [True: 3, False: 0]
  ------------------
  872|      3|                    continue;
  873|     13|                if (pattern[1] == SRE_OP_IN &&
  ------------------
  |  |   28|     26|#define SRE_OP_IN 13
  ------------------
  |  Branch (873:21): [True: 3, False: 10]
  ------------------
  874|      3|                    (ptr >= end ||
  ------------------
  |  Branch (874:22): [True: 0, False: 3]
  ------------------
  875|      3|                     !SRE(charset)(state, pattern + 3,
  ------------------
  |  |  501|      3|#define SRE(F) sre_ucs1_##F
  ------------------
  |  Branch (875:22): [True: 0, False: 3]
  ------------------
  876|      3|                                   (SRE_CODE) *ptr)))
  877|      0|                    continue;
  878|     13|                state->ptr = ptr;
  879|     13|                DO_JUMP(JUMP_BRANCH, jump_branch, pattern+1);
  ------------------
  |  |  539|     13|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  523|     13|    ctx->pattern = pattern; \
  |  |  |  |  524|     13|    ctx->ptr = ptr; \
  |  |  |  |  525|     13|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  457|     13|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  396|     13|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  397|     13|do { \
  |  |  |  |  |  |  |  |  398|     13|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  399|     13|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  400|     13|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  401|     13|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (401:9): [True: 0, False: 13]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  403|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (403:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  404|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (404:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  405|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  411|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  412|      0|do { \
  |  |  |  |  |  |  |  |  |  |  413|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  414|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  415|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (415:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  406|      0|    } \
  |  |  |  |  |  |  |  |  407|     13|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  408|     13|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  409|     13|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (409:10): [Folded, False: 13]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  526|     13|    nextctx->pattern = nextpattern; \
  |  |  |  |  527|     13|    nextctx->toplevel = toplevel_; \
  |  |  |  |  528|     13|    nextctx->jump = jumpvalue; \
  |  |  |  |  529|     13|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  530|     13|    pattern = nextpattern; \
  |  |  |  |  531|     13|    ctx_pos = alloc_pos; \
  |  |  |  |  532|     13|    ctx = nextctx; \
  |  |  |  |  533|     13|    goto entrance; \
  |  |  |  |  534|     13|    jumplabel: \
  |  |  |  |  535|     13|    pattern = ctx->pattern; \
  |  |  |  |  536|     13|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
  880|     13|                if (ret) {
  ------------------
  |  Branch (880:21): [True: 6, False: 7]
  ------------------
  881|      6|                    if (state->save_marks)
  ------------------
  |  Branch (881:25): [True: 0, False: 6]
  ------------------
  882|      0|                        MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  498|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (498:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  499|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  500|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  443|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  444|      0|do { \
  |  |  |  |  445|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  446|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  447|      0|    state->data_stack_base -= size; \
  |  |  |  |  448|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (448:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  501|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  502|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (502:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  883|      6|                    RETURN_ON_ERROR(ret);
  ------------------
  |  |  390|      6|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (390:14): [True: 0, False: 6]
  |  |  |  Branch (390:47): [Folded, False: 6]
  |  |  ------------------
  ------------------
  884|      6|                    RETURN_SUCCESS;
  ------------------
  |  |  387|      6|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (387:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  885|      6|                }
  886|      7|                if (state->save_marks)
  ------------------
  |  Branch (886:21): [True: 0, False: 7]
  ------------------
  887|      0|                    MARK_POP_KEEP(ctx->lastmark);
  ------------------
  |  |  492|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (492:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  493|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  494|      0|        DATA_STACK_POP(state, state->mark, _marks_size, 0); \
  |  |  ------------------
  |  |  |  |  434|      0|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  435|      0|do { \
  |  |  |  |  436|      0|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  437|      0|           data, state->data_stack_base-size, size)); \
  |  |  |  |  438|      0|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  439|      0|    if (discard) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (439:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  440|      0|        state->data_stack_base -= size; \
  |  |  |  |  441|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (441:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  495|      0|        MARK_TRACE("pop keep", (lastmark)); \
  |  |  496|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (496:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  888|      7|                LASTMARK_RESTORE();
  ------------------
  |  |  367|      7|    do { \
  |  |  368|      7|        state->lastmark = ctx->lastmark; \
  |  |  369|      7|        state->lastindex = ctx->lastindex; \
  |  |  370|      7|    } while (0)
  |  |  ------------------
  |  |  |  Branch (370:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
  889|      7|            }
  890|      3|            if (state->save_marks)
  ------------------
  |  Branch (890:17): [True: 0, False: 3]
  ------------------
  891|      0|                MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  498|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (498:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  499|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  500|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  443|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  444|      0|do { \
  |  |  |  |  445|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  446|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  447|      0|    state->data_stack_base -= size; \
  |  |  |  |  448|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (448:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  501|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  502|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (502:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  892|      3|            RETURN_FAILURE;
  ------------------
  |  |  386|      3|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  893|       |
  894|      7|        TARGET(SRE_OP_REPEAT_ONE):
  ------------------
  |  |  593|      7|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  895|       |            /* match repeated sequence (maximizing regexp) */
  896|       |
  897|       |            /* this operator only works if the repeated item is
  898|       |               exactly one character wide, and we're not already
  899|       |               collecting backtracking points.  for other cases,
  900|       |               use the MAX_REPEAT operator */
  901|       |
  902|       |            /* <REPEAT_ONE> <skip> <1=min> <2=max> item <SUCCESS> tail */
  903|       |
  904|      7|            TRACE(("|%p|%p|REPEAT_ONE %d %d\n", pattern, ptr,
  905|      7|                   pattern[1], pattern[2]));
  906|       |
  907|      7|            if ((Py_ssize_t) pattern[1] > end - ptr)
  ------------------
  |  Branch (907:17): [True: 0, False: 7]
  ------------------
  908|      0|                RETURN_FAILURE; /* cannot match */
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  909|       |
  910|      7|            state->ptr = ptr;
  911|       |
  912|      7|            ret = SRE(count)(state, pattern+3, pattern[2]);
  ------------------
  |  |  501|      7|#define SRE(F) sre_ucs1_##F
  ------------------
  913|      7|            RETURN_ON_ERROR(ret);
  ------------------
  |  |  390|      7|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (390:14): [True: 0, False: 7]
  |  |  |  Branch (390:47): [Folded, False: 7]
  |  |  ------------------
  ------------------
  914|      7|            DATA_LOOKUP_AT(SRE(match_context), ctx, ctx_pos);
  ------------------
  |  |  459|      7|    DATA_STACK_LOOKUP_AT(state,t,p,pos)
  |  |  ------------------
  |  |  |  |  411|      7|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  412|      7|do { \
  |  |  |  |  413|      7|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  414|      7|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  415|      7|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (415:10): [Folded, False: 7]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  915|      7|            ctx->count = ret;
  916|      7|            ptr += ctx->count;
  917|       |
  918|       |            /* when we arrive here, count contains the number of
  919|       |               matches, and ptr points to the tail of the target
  920|       |               string.  check if the rest of the pattern matches,
  921|       |               and backtrack if not. */
  922|       |
  923|      7|            if (ctx->count < (Py_ssize_t) pattern[1])
  ------------------
  |  Branch (923:17): [True: 0, False: 7]
  ------------------
  924|      0|                RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  925|       |
  926|      7|            if (pattern[pattern[0]] == SRE_OP_SUCCESS &&
  ------------------
  |  |   16|     14|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (926:17): [True: 0, False: 7]
  ------------------
  927|      0|                ptr == state->end &&
  ------------------
  |  Branch (927:17): [True: 0, False: 0]
  ------------------
  928|      0|                !(ctx->toplevel && state->must_advance && ptr == state->start))
  ------------------
  |  Branch (928:19): [True: 0, False: 0]
  |  Branch (928:36): [True: 0, False: 0]
  |  Branch (928:59): [True: 0, False: 0]
  ------------------
  929|      0|            {
  930|       |                /* tail is empty.  we're finished */
  931|      0|                state->ptr = ptr;
  932|      0|                RETURN_SUCCESS;
  ------------------
  |  |  387|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (387:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  933|      0|            }
  934|       |
  935|      7|            LASTMARK_SAVE();
  ------------------
  |  |  362|      7|    do { \
  |  |  363|      7|        ctx->lastmark = state->lastmark; \
  |  |  364|      7|        ctx->lastindex = state->lastindex; \
  |  |  365|      7|    } while (0)
  |  |  ------------------
  |  |  |  Branch (365:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
  936|      7|            if (state->save_marks)
  ------------------
  |  Branch (936:17): [True: 0, False: 7]
  ------------------
  937|      0|                MARK_PUSH(ctx->lastmark);
  ------------------
  |  |  480|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (480:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  481|      0|        MARK_TRACE("push", (lastmark)); \
  |  |  482|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  483|      0|        DATA_STACK_PUSH(state, state->mark, _marks_size); \
  |  |  ------------------
  |  |  |  |  417|      0|#define DATA_STACK_PUSH(state, data, size) \
  |  |  |  |  418|      0|do { \
  |  |  |  |  419|      0|    TRACE(("copy data in %p to %zd (%zd)\n", \
  |  |  |  |  420|      0|           data, state->data_stack_base, size)); \
  |  |  |  |  421|      0|    if (size > state->data_stack_size - state->data_stack_base) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  422|      0|        int j = data_stack_grow(state, size); \
  |  |  |  |  423|      0|        if (j < 0) return j; \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  424|      0|        if (ctx_pos != -1) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (424:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  425|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  411|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  412|      0|do { \
  |  |  |  |  |  |  413|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  414|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  415|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (415:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  426|      0|    } \
  |  |  |  |  427|      0|    memcpy(state->data_stack+state->data_stack_base, data, size); \
  |  |  |  |  428|      0|    state->data_stack_base += size; \
  |  |  |  |  429|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (429:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  484|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (484:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  938|       |
  939|      7|            if (pattern[pattern[0]] == SRE_OP_LITERAL) {
  ------------------
  |  |   31|      7|#define SRE_OP_LITERAL 16
  ------------------
  |  Branch (939:17): [True: 3, False: 4]
  ------------------
  940|       |                /* tail starts with a literal. skip positions where
  941|       |                   the rest of the pattern cannot possibly match */
  942|      3|                ctx->u.chr = pattern[pattern[0]+1];
  943|      6|                for (;;) {
  944|      6|                    while (ctx->count >= (Py_ssize_t) pattern[1] &&
  ------------------
  |  Branch (944:28): [True: 3, False: 3]
  ------------------
  945|      3|                           (ptr >= end || *ptr != ctx->u.chr)) {
  ------------------
  |  Branch (945:29): [True: 0, False: 3]
  |  Branch (945:43): [True: 0, False: 3]
  ------------------
  946|      0|                        ptr--;
  947|      0|                        ctx->count--;
  948|      0|                    }
  949|      6|                    if (ctx->count < (Py_ssize_t) pattern[1])
  ------------------
  |  Branch (949:25): [True: 3, False: 3]
  ------------------
  950|      3|                        break;
  951|      3|                    state->ptr = ptr;
  952|      3|                    DO_JUMP(JUMP_REPEAT_ONE_1, jump_repeat_one_1,
  ------------------
  |  |  539|      3|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  523|      3|    ctx->pattern = pattern; \
  |  |  |  |  524|      3|    ctx->ptr = ptr; \
  |  |  |  |  525|      3|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  457|      3|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  396|      3|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  397|      3|do { \
  |  |  |  |  |  |  |  |  398|      3|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  399|      3|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  400|      3|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  401|      3|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (401:9): [True: 0, False: 3]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  403|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (403:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  404|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (404:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  405|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  411|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  412|      0|do { \
  |  |  |  |  |  |  |  |  |  |  413|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  414|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  415|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (415:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  406|      0|    } \
  |  |  |  |  |  |  |  |  407|      3|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  408|      3|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  409|      3|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (409:10): [Folded, False: 3]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  526|      3|    nextctx->pattern = nextpattern; \
  |  |  |  |  527|      3|    nextctx->toplevel = toplevel_; \
  |  |  |  |  528|      3|    nextctx->jump = jumpvalue; \
  |  |  |  |  529|      3|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  530|      3|    pattern = nextpattern; \
  |  |  |  |  531|      3|    ctx_pos = alloc_pos; \
  |  |  |  |  532|      3|    ctx = nextctx; \
  |  |  |  |  533|      3|    goto entrance; \
  |  |  |  |  534|      3|    jumplabel: \
  |  |  |  |  535|      3|    pattern = ctx->pattern; \
  |  |  |  |  536|      3|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
  953|      3|                            pattern+pattern[0]);
  954|      3|                    if (ret) {
  ------------------
  |  Branch (954:25): [True: 0, False: 3]
  ------------------
  955|      0|                        if (state->save_marks)
  ------------------
  |  Branch (955:29): [True: 0, False: 0]
  ------------------
  956|      0|                            MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  498|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (498:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  499|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  500|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  443|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  444|      0|do { \
  |  |  |  |  445|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  446|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  447|      0|    state->data_stack_base -= size; \
  |  |  |  |  448|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (448:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  501|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  502|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (502:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  957|      0|                        RETURN_ON_ERROR(ret);
  ------------------
  |  |  390|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (390:14): [True: 0, False: 0]
  |  |  |  Branch (390:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
  958|      0|                        RETURN_SUCCESS;
  ------------------
  |  |  387|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (387:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  959|      0|                    }
  960|      3|                    if (state->save_marks)
  ------------------
  |  Branch (960:25): [True: 0, False: 3]
  ------------------
  961|      0|                        MARK_POP_KEEP(ctx->lastmark);
  ------------------
  |  |  492|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (492:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  493|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  494|      0|        DATA_STACK_POP(state, state->mark, _marks_size, 0); \
  |  |  ------------------
  |  |  |  |  434|      0|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  435|      0|do { \
  |  |  |  |  436|      0|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  437|      0|           data, state->data_stack_base-size, size)); \
  |  |  |  |  438|      0|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  439|      0|    if (discard) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (439:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  440|      0|        state->data_stack_base -= size; \
  |  |  |  |  441|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (441:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  495|      0|        MARK_TRACE("pop keep", (lastmark)); \
  |  |  496|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (496:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  962|      3|                    LASTMARK_RESTORE();
  ------------------
  |  |  367|      3|    do { \
  |  |  368|      3|        state->lastmark = ctx->lastmark; \
  |  |  369|      3|        state->lastindex = ctx->lastindex; \
  |  |  370|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (370:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
  963|       |
  964|      3|                    ptr--;
  965|      3|                    ctx->count--;
  966|      3|                }
  967|      3|                if (state->save_marks)
  ------------------
  |  Branch (967:21): [True: 0, False: 3]
  ------------------
  968|      0|                    MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  498|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (498:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  499|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  500|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  443|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  444|      0|do { \
  |  |  |  |  445|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  446|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  447|      0|    state->data_stack_base -= size; \
  |  |  |  |  448|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (448:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  501|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  502|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (502:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  969|      4|            } else {
  970|       |                /* general case */
  971|      4|                while (ctx->count >= (Py_ssize_t) pattern[1]) {
  ------------------
  |  Branch (971:24): [True: 4, False: 0]
  ------------------
  972|      4|                    state->ptr = ptr;
  973|      4|                    DO_JUMP(JUMP_REPEAT_ONE_2, jump_repeat_one_2,
  ------------------
  |  |  539|      4|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  523|      4|    ctx->pattern = pattern; \
  |  |  |  |  524|      4|    ctx->ptr = ptr; \
  |  |  |  |  525|      4|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  457|      4|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  396|      4|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  397|      4|do { \
  |  |  |  |  |  |  |  |  398|      4|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  399|      4|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  400|      4|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  401|      4|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (401:9): [True: 0, False: 4]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  403|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (403:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  404|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (404:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  405|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  411|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  412|      0|do { \
  |  |  |  |  |  |  |  |  |  |  413|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  414|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  415|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (415:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  406|      0|    } \
  |  |  |  |  |  |  |  |  407|      4|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  408|      4|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  409|      4|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (409:10): [Folded, False: 4]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  526|      4|    nextctx->pattern = nextpattern; \
  |  |  |  |  527|      4|    nextctx->toplevel = toplevel_; \
  |  |  |  |  528|      4|    nextctx->jump = jumpvalue; \
  |  |  |  |  529|      4|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  530|      4|    pattern = nextpattern; \
  |  |  |  |  531|      4|    ctx_pos = alloc_pos; \
  |  |  |  |  532|      4|    ctx = nextctx; \
  |  |  |  |  533|      4|    goto entrance; \
  |  |  |  |  534|      4|    jumplabel: \
  |  |  |  |  535|      4|    pattern = ctx->pattern; \
  |  |  |  |  536|      4|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
  974|      4|                            pattern+pattern[0]);
  975|      4|                    if (ret) {
  ------------------
  |  Branch (975:25): [True: 4, False: 0]
  ------------------
  976|      4|                        if (state->save_marks)
  ------------------
  |  Branch (976:29): [True: 0, False: 4]
  ------------------
  977|      0|                            MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  498|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (498:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  499|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  500|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  443|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  444|      0|do { \
  |  |  |  |  445|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  446|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  447|      0|    state->data_stack_base -= size; \
  |  |  |  |  448|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (448:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  501|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  502|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (502:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  978|      4|                        RETURN_ON_ERROR(ret);
  ------------------
  |  |  390|      4|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (390:14): [True: 0, False: 4]
  |  |  |  Branch (390:47): [Folded, False: 4]
  |  |  ------------------
  ------------------
  979|      4|                        RETURN_SUCCESS;
  ------------------
  |  |  387|      4|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (387:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  980|      4|                    }
  981|      0|                    if (state->save_marks)
  ------------------
  |  Branch (981:25): [True: 0, False: 0]
  ------------------
  982|      0|                        MARK_POP_KEEP(ctx->lastmark);
  ------------------
  |  |  492|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (492:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  493|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  494|      0|        DATA_STACK_POP(state, state->mark, _marks_size, 0); \
  |  |  ------------------
  |  |  |  |  434|      0|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  435|      0|do { \
  |  |  |  |  436|      0|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  437|      0|           data, state->data_stack_base-size, size)); \
  |  |  |  |  438|      0|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  439|      0|    if (discard) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (439:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  440|      0|        state->data_stack_base -= size; \
  |  |  |  |  441|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (441:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  495|      0|        MARK_TRACE("pop keep", (lastmark)); \
  |  |  496|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (496:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  983|      0|                    LASTMARK_RESTORE();
  ------------------
  |  |  367|      0|    do { \
  |  |  368|      0|        state->lastmark = ctx->lastmark; \
  |  |  369|      0|        state->lastindex = ctx->lastindex; \
  |  |  370|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (370:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  984|       |
  985|      0|                    ptr--;
  986|      0|                    ctx->count--;
  987|      0|                }
  988|      0|                if (state->save_marks)
  ------------------
  |  Branch (988:21): [True: 0, False: 0]
  ------------------
  989|      0|                    MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  498|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (498:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  499|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  500|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  443|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  444|      0|do { \
  |  |  |  |  445|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  446|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  447|      0|    state->data_stack_base -= size; \
  |  |  |  |  448|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (448:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  501|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  502|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (502:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  990|      0|            }
  991|      3|            RETURN_FAILURE;
  ------------------
  |  |  386|      3|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  992|       |
  993|      3|        TARGET(SRE_OP_MIN_REPEAT_ONE):
  ------------------
  |  |  593|      3|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  994|       |            /* match repeated sequence (minimizing regexp) */
  995|       |
  996|       |            /* this operator only works if the repeated item is
  997|       |               exactly one character wide, and we're not already
  998|       |               collecting backtracking points.  for other cases,
  999|       |               use the MIN_REPEAT operator */
 1000|       |
 1001|       |            /* <MIN_REPEAT_ONE> <skip> <1=min> <2=max> item <SUCCESS> tail */
 1002|       |
 1003|      3|            TRACE(("|%p|%p|MIN_REPEAT_ONE %d %d\n", pattern, ptr,
 1004|      3|                   pattern[1], pattern[2]));
 1005|       |
 1006|      3|            if ((Py_ssize_t) pattern[1] > end - ptr)
  ------------------
  |  Branch (1006:17): [True: 0, False: 3]
  ------------------
 1007|      0|                RETURN_FAILURE; /* cannot match */
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1008|       |
 1009|      3|            state->ptr = ptr;
 1010|       |
 1011|      3|            if (pattern[1] == 0)
  ------------------
  |  Branch (1011:17): [True: 3, False: 0]
  ------------------
 1012|      3|                ctx->count = 0;
 1013|      0|            else {
 1014|       |                /* count using pattern min as the maximum */
 1015|      0|                ret = SRE(count)(state, pattern+3, pattern[1]);
  ------------------
  |  |  501|      0|#define SRE(F) sre_ucs1_##F
  ------------------
 1016|      0|                RETURN_ON_ERROR(ret);
  ------------------
  |  |  390|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (390:14): [True: 0, False: 0]
  |  |  |  Branch (390:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1017|      0|                DATA_LOOKUP_AT(SRE(match_context), ctx, ctx_pos);
  ------------------
  |  |  459|      0|    DATA_STACK_LOOKUP_AT(state,t,p,pos)
  |  |  ------------------
  |  |  |  |  411|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  412|      0|do { \
  |  |  |  |  413|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  414|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  415|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (415:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1018|      0|                if (ret < (Py_ssize_t) pattern[1])
  ------------------
  |  Branch (1018:21): [True: 0, False: 0]
  ------------------
 1019|       |                    /* didn't match minimum number of times */
 1020|      0|                    RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1021|       |                /* advance past minimum matches of repeat */
 1022|      0|                ctx->count = ret;
 1023|      0|                ptr += ctx->count;
 1024|      0|            }
 1025|       |
 1026|      3|            if (pattern[pattern[0]] == SRE_OP_SUCCESS &&
  ------------------
  |  |   16|      6|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (1026:17): [True: 0, False: 3]
  ------------------
 1027|      0|                !(ctx->toplevel &&
  ------------------
  |  Branch (1027:19): [True: 0, False: 0]
  ------------------
 1028|      0|                  ((state->match_all && ptr != state->end) ||
  ------------------
  |  Branch (1028:21): [True: 0, False: 0]
  |  Branch (1028:41): [True: 0, False: 0]
  ------------------
 1029|      0|                   (state->must_advance && ptr == state->start))))
  ------------------
  |  Branch (1029:21): [True: 0, False: 0]
  |  Branch (1029:44): [True: 0, False: 0]
  ------------------
 1030|      0|            {
 1031|       |                /* tail is empty.  we're finished */
 1032|      0|                state->ptr = ptr;
 1033|      0|                RETURN_SUCCESS;
  ------------------
  |  |  387|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (387:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1034|       |
 1035|      3|            } else {
 1036|       |                /* general case */
 1037|      3|                LASTMARK_SAVE();
  ------------------
  |  |  362|      3|    do { \
  |  |  363|      3|        ctx->lastmark = state->lastmark; \
  |  |  364|      3|        ctx->lastindex = state->lastindex; \
  |  |  365|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (365:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
 1038|      3|                if (state->save_marks)
  ------------------
  |  Branch (1038:21): [True: 0, False: 3]
  ------------------
 1039|      0|                    MARK_PUSH(ctx->lastmark);
  ------------------
  |  |  480|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (480:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  481|      0|        MARK_TRACE("push", (lastmark)); \
  |  |  482|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  483|      0|        DATA_STACK_PUSH(state, state->mark, _marks_size); \
  |  |  ------------------
  |  |  |  |  417|      0|#define DATA_STACK_PUSH(state, data, size) \
  |  |  |  |  418|      0|do { \
  |  |  |  |  419|      0|    TRACE(("copy data in %p to %zd (%zd)\n", \
  |  |  |  |  420|      0|           data, state->data_stack_base, size)); \
  |  |  |  |  421|      0|    if (size > state->data_stack_size - state->data_stack_base) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  422|      0|        int j = data_stack_grow(state, size); \
  |  |  |  |  423|      0|        if (j < 0) return j; \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  424|      0|        if (ctx_pos != -1) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (424:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  425|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  411|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  412|      0|do { \
  |  |  |  |  |  |  413|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  414|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  415|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (415:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  426|      0|    } \
  |  |  |  |  427|      0|    memcpy(state->data_stack+state->data_stack_base, data, size); \
  |  |  |  |  428|      0|    state->data_stack_base += size; \
  |  |  |  |  429|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (429:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  484|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (484:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1040|       |
 1041|    120|                while ((Py_ssize_t)pattern[2] == SRE_MAXREPEAT
  ------------------
  |  |   20|    240|# define SRE_MAXREPEAT (~(SRE_CODE)0)
  ------------------
  |  Branch (1041:24): [True: 120, False: 0]
  ------------------
 1042|    120|                       || ctx->count <= (Py_ssize_t)pattern[2]) {
  ------------------
  |  Branch (1042:27): [True: 0, False: 0]
  ------------------
 1043|    120|                    state->ptr = ptr;
 1044|    120|                    DO_JUMP(JUMP_MIN_REPEAT_ONE,jump_min_repeat_one,
  ------------------
  |  |  539|    120|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  523|    120|    ctx->pattern = pattern; \
  |  |  |  |  524|    120|    ctx->ptr = ptr; \
  |  |  |  |  525|    120|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  457|    120|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  396|    120|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  397|    120|do { \
  |  |  |  |  |  |  |  |  398|    120|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  399|    120|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  400|    120|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  401|    120|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (401:9): [True: 0, False: 120]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  403|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (403:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  404|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (404:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  405|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  411|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  412|      0|do { \
  |  |  |  |  |  |  |  |  |  |  413|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  414|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  415|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (415:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  406|      0|    } \
  |  |  |  |  |  |  |  |  407|    120|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  408|    120|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  409|    120|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (409:10): [Folded, False: 120]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  526|    120|    nextctx->pattern = nextpattern; \
  |  |  |  |  527|    120|    nextctx->toplevel = toplevel_; \
  |  |  |  |  528|    120|    nextctx->jump = jumpvalue; \
  |  |  |  |  529|    120|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  530|    120|    pattern = nextpattern; \
  |  |  |  |  531|    120|    ctx_pos = alloc_pos; \
  |  |  |  |  532|    120|    ctx = nextctx; \
  |  |  |  |  533|    120|    goto entrance; \
  |  |  |  |  534|    120|    jumplabel: \
  |  |  |  |  535|    120|    pattern = ctx->pattern; \
  |  |  |  |  536|    120|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1045|    120|                            pattern+pattern[0]);
 1046|    120|                    if (ret) {
  ------------------
  |  Branch (1046:25): [True: 0, False: 120]
  ------------------
 1047|      0|                        if (state->save_marks)
  ------------------
  |  Branch (1047:29): [True: 0, False: 0]
  ------------------
 1048|      0|                            MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  498|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (498:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  499|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  500|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  443|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  444|      0|do { \
  |  |  |  |  445|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  446|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  447|      0|    state->data_stack_base -= size; \
  |  |  |  |  448|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (448:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  501|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  502|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (502:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1049|      0|                        RETURN_ON_ERROR(ret);
  ------------------
  |  |  390|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (390:14): [True: 0, False: 0]
  |  |  |  Branch (390:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1050|      0|                        RETURN_SUCCESS;
  ------------------
  |  |  387|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (387:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1051|      0|                    }
 1052|    120|                    if (state->save_marks)
  ------------------
  |  Branch (1052:25): [True: 0, False: 120]
  ------------------
 1053|      0|                        MARK_POP_KEEP(ctx->lastmark);
  ------------------
  |  |  492|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (492:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  493|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  494|      0|        DATA_STACK_POP(state, state->mark, _marks_size, 0); \
  |  |  ------------------
  |  |  |  |  434|      0|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  435|      0|do { \
  |  |  |  |  436|      0|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  437|      0|           data, state->data_stack_base-size, size)); \
  |  |  |  |  438|      0|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  439|      0|    if (discard) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (439:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  440|      0|        state->data_stack_base -= size; \
  |  |  |  |  441|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (441:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  495|      0|        MARK_TRACE("pop keep", (lastmark)); \
  |  |  496|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (496:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1054|    120|                    LASTMARK_RESTORE();
  ------------------
  |  |  367|    120|    do { \
  |  |  368|    120|        state->lastmark = ctx->lastmark; \
  |  |  369|    120|        state->lastindex = ctx->lastindex; \
  |  |  370|    120|    } while (0)
  |  |  ------------------
  |  |  |  Branch (370:14): [Folded, False: 120]
  |  |  ------------------
  ------------------
 1055|       |
 1056|    120|                    state->ptr = ptr;
 1057|    120|                    ret = SRE(count)(state, pattern+3, 1);
  ------------------
  |  |  501|    120|#define SRE(F) sre_ucs1_##F
  ------------------
 1058|    120|                    RETURN_ON_ERROR(ret);
  ------------------
  |  |  390|    120|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (390:14): [True: 0, False: 120]
  |  |  |  Branch (390:47): [Folded, False: 120]
  |  |  ------------------
  ------------------
 1059|    120|                    DATA_LOOKUP_AT(SRE(match_context), ctx, ctx_pos);
  ------------------
  |  |  459|    120|    DATA_STACK_LOOKUP_AT(state,t,p,pos)
  |  |  ------------------
  |  |  |  |  411|    120|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  412|    120|do { \
  |  |  |  |  413|    120|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  414|    120|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  415|    120|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (415:10): [Folded, False: 120]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1060|    120|                    if (ret == 0)
  ------------------
  |  Branch (1060:25): [True: 3, False: 117]
  ------------------
 1061|      3|                        break;
 1062|    120|                    assert(ret == 1);
  ------------------
  |  Branch (1062:21): [True: 117, False: 0]
  ------------------
 1063|    117|                    ptr++;
 1064|    117|                    ctx->count++;
 1065|    117|                }
 1066|      3|                if (state->save_marks)
  ------------------
  |  Branch (1066:21): [True: 0, False: 3]
  ------------------
 1067|      0|                    MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  498|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (498:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  499|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  500|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  443|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  444|      0|do { \
  |  |  |  |  445|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  446|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  447|      0|    state->data_stack_base -= size; \
  |  |  |  |  448|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (448:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  501|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  502|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (502:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1068|      3|            }
 1069|      3|            RETURN_FAILURE;
  ------------------
  |  |  386|      3|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1070|       |
 1071|      0|        TARGET(SRE_OP_POSSESSIVE_REPEAT_ONE):
  ------------------
  |  |  593|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1072|       |            /* match repeated sequence (maximizing regexp) without
 1073|       |               backtracking */
 1074|       |
 1075|       |            /* this operator only works if the repeated item is
 1076|       |               exactly one character wide, and we're not already
 1077|       |               collecting backtracking points.  for other cases,
 1078|       |               use the MAX_REPEAT operator */
 1079|       |
 1080|       |            /* <POSSESSIVE_REPEAT_ONE> <skip> <1=min> <2=max> item <SUCCESS>
 1081|       |               tail */
 1082|       |
 1083|      0|            TRACE(("|%p|%p|POSSESSIVE_REPEAT_ONE %d %d\n", pattern,
 1084|      0|                   ptr, pattern[1], pattern[2]));
 1085|       |
 1086|      0|            if (ptr + pattern[1] > end) {
  ------------------
  |  Branch (1086:17): [True: 0, False: 0]
  ------------------
 1087|      0|                RETURN_FAILURE; /* cannot match */
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1088|      0|            }
 1089|       |
 1090|      0|            state->ptr = ptr;
 1091|       |
 1092|      0|            ret = SRE(count)(state, pattern + 3, pattern[2]);
  ------------------
  |  |  501|      0|#define SRE(F) sre_ucs1_##F
  ------------------
 1093|      0|            RETURN_ON_ERROR(ret);
  ------------------
  |  |  390|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (390:14): [True: 0, False: 0]
  |  |  |  Branch (390:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1094|      0|            DATA_LOOKUP_AT(SRE(match_context), ctx, ctx_pos);
  ------------------
  |  |  459|      0|    DATA_STACK_LOOKUP_AT(state,t,p,pos)
  |  |  ------------------
  |  |  |  |  411|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  412|      0|do { \
  |  |  |  |  413|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  414|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  415|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (415:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1095|      0|            ctx->count = ret;
 1096|      0|            ptr += ctx->count;
 1097|       |
 1098|       |            /* when we arrive here, count contains the number of
 1099|       |               matches, and ptr points to the tail of the target
 1100|       |               string.  check if the rest of the pattern matches,
 1101|       |               and fail if not. */
 1102|       |
 1103|       |            /* Test for not enough repetitions in match */
 1104|      0|            if (ctx->count < (Py_ssize_t) pattern[1]) {
  ------------------
  |  Branch (1104:17): [True: 0, False: 0]
  ------------------
 1105|      0|                RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1106|      0|            }
 1107|       |
 1108|       |            /* Update the pattern to point to the next op code */
 1109|      0|            pattern += pattern[0];
 1110|       |
 1111|       |            /* Let the tail be evaluated separately and consider this
 1112|       |               match successful. */
 1113|      0|            if (*pattern == SRE_OP_SUCCESS &&
  ------------------
  |  |   16|      0|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (1113:17): [True: 0, False: 0]
  ------------------
 1114|      0|                ptr == state->end &&
  ------------------
  |  Branch (1114:17): [True: 0, False: 0]
  ------------------
 1115|      0|                !(ctx->toplevel && state->must_advance && ptr == state->start))
  ------------------
  |  Branch (1115:19): [True: 0, False: 0]
  |  Branch (1115:36): [True: 0, False: 0]
  |  Branch (1115:59): [True: 0, False: 0]
  ------------------
 1116|      0|            {
 1117|       |                /* tail is empty.  we're finished */
 1118|      0|                state->ptr = ptr;
 1119|      0|                RETURN_SUCCESS;
  ------------------
  |  |  387|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (387:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1120|      0|            }
 1121|       |
 1122|       |            /* Attempt to match the rest of the string */
 1123|      0|            DISPATCH;
  ------------------
  |  |  595|      0|        do {                               \
  |  |  596|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  578|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  560|      0|    do {                                                           \
  |  |  |  |  |  |  561|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (561:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (561:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  562|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  563|      0|        }                                                          \
  |  |  |  |  |  |  564|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (564:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  597|      0|            goto *sre_targets[*pattern++]; \
  |  |  598|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (598:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1124|       |
 1125|      6|        TARGET(SRE_OP_REPEAT):
  ------------------
  |  |  593|      6|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1126|       |            /* create repeat context.  all the hard work is done
 1127|       |               by the UNTIL operator (MAX_UNTIL, MIN_UNTIL) */
 1128|       |            /* <REPEAT> <skip> <1=min> <2=max>
 1129|       |               <3=repeat_index> item <UNTIL> tail */
 1130|      6|            TRACE(("|%p|%p|REPEAT %d %d\n", pattern, ptr,
 1131|      6|                   pattern[1], pattern[2]));
 1132|       |
 1133|       |            /* install new repeat context */
 1134|      6|            ctx->u.rep = repeat_pool_malloc(state);
 1135|      6|            if (!ctx->u.rep) {
  ------------------
  |  Branch (1135:17): [True: 0, False: 6]
  ------------------
 1136|      0|                RETURN_ERROR(SRE_ERROR_MEMORY);
  ------------------
  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  ------------------
  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1137|      0|            }
 1138|      6|            ctx->u.rep->count = -1;
 1139|      6|            ctx->u.rep->pattern = pattern;
 1140|      6|            ctx->u.rep->prev = state->repeat;
 1141|      6|            ctx->u.rep->last_ptr = NULL;
 1142|      6|            state->repeat = ctx->u.rep;
 1143|      6|            state->save_marks++;
 1144|       |
 1145|      6|            state->ptr = ptr;
 1146|      6|            DO_JUMP(JUMP_REPEAT, jump_repeat, pattern+pattern[0]);
  ------------------
  |  |  539|      6|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  523|      6|    ctx->pattern = pattern; \
  |  |  |  |  524|      6|    ctx->ptr = ptr; \
  |  |  |  |  525|      6|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  457|      6|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  396|      6|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  397|      6|do { \
  |  |  |  |  |  |  |  |  398|      6|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  399|      6|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  400|      6|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  401|      6|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (401:9): [True: 0, False: 6]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  403|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (403:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  404|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (404:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  405|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  411|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  412|      0|do { \
  |  |  |  |  |  |  |  |  |  |  413|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  414|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  415|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (415:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  406|      0|    } \
  |  |  |  |  |  |  |  |  407|      6|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  408|      6|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  409|      6|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (409:10): [Folded, False: 6]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  526|      6|    nextctx->pattern = nextpattern; \
  |  |  |  |  527|      6|    nextctx->toplevel = toplevel_; \
  |  |  |  |  528|      6|    nextctx->jump = jumpvalue; \
  |  |  |  |  529|      6|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  530|      6|    pattern = nextpattern; \
  |  |  |  |  531|      6|    ctx_pos = alloc_pos; \
  |  |  |  |  532|      6|    ctx = nextctx; \
  |  |  |  |  533|      6|    goto entrance; \
  |  |  |  |  534|      6|    jumplabel: \
  |  |  |  |  535|      6|    pattern = ctx->pattern; \
  |  |  |  |  536|      6|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1147|      6|            state->repeat = ctx->u.rep->prev;
 1148|      6|            state->save_marks--;
 1149|      6|            repeat_pool_free(state, ctx->u.rep);
 1150|       |
 1151|      6|            if (ret) {
  ------------------
  |  Branch (1151:17): [True: 6, False: 0]
  ------------------
 1152|      6|                RETURN_ON_ERROR(ret);
  ------------------
  |  |  390|      6|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (390:14): [True: 0, False: 6]
  |  |  |  Branch (390:47): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1153|      6|                RETURN_SUCCESS;
  ------------------
  |  |  387|      6|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (387:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1154|      6|            }
 1155|      0|            RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1156|       |
 1157|      7|        TARGET(SRE_OP_MAX_UNTIL):
  ------------------
  |  |  593|      7|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1158|       |            /* maximizing repeat */
 1159|       |            /* <REPEAT> <skip> <1=min> <2=max> item <MAX_UNTIL> tail */
 1160|       |
 1161|       |            /* FIXME: we probably need to deal with zero-width
 1162|       |               matches in here... */
 1163|       |
 1164|      7|            ctx->u.rep = state->repeat;
 1165|      7|            if (!ctx->u.rep)
  ------------------
  |  Branch (1165:17): [True: 0, False: 7]
  ------------------
 1166|      0|                RETURN_ERROR(SRE_ERROR_STATE);
  ------------------
  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  ------------------
  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1167|       |
 1168|      7|            state->ptr = ptr;
 1169|       |
 1170|      7|            ctx->count = ctx->u.rep->count+1;
 1171|       |
 1172|      7|            TRACE(("|%p|%p|MAX_UNTIL %zd\n", pattern,
 1173|      7|                   ptr, ctx->count));
 1174|       |
 1175|      7|            if (ctx->count < (Py_ssize_t) ctx->u.rep->pattern[1]) {
  ------------------
  |  Branch (1175:17): [True: 0, False: 7]
  ------------------
 1176|       |                /* not enough matches */
 1177|      0|                ctx->u.rep->count = ctx->count;
 1178|      0|                DO_JUMP(JUMP_MAX_UNTIL_1, jump_max_until_1,
  ------------------
  |  |  539|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  523|      0|    ctx->pattern = pattern; \
  |  |  |  |  524|      0|    ctx->ptr = ptr; \
  |  |  |  |  525|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  457|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  396|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  397|      0|do { \
  |  |  |  |  |  |  |  |  398|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  399|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  400|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  401|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (401:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  403|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (403:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  404|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (404:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  405|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  411|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  412|      0|do { \
  |  |  |  |  |  |  |  |  |  |  413|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  414|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  415|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (415:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  406|      0|    } \
  |  |  |  |  |  |  |  |  407|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  408|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  409|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (409:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  526|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  527|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  528|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  529|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  530|      0|    pattern = nextpattern; \
  |  |  |  |  531|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  532|      0|    ctx = nextctx; \
  |  |  |  |  533|      0|    goto entrance; \
  |  |  |  |  534|      0|    jumplabel: \
  |  |  |  |  535|      0|    pattern = ctx->pattern; \
  |  |  |  |  536|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1179|      0|                        ctx->u.rep->pattern+3);
 1180|      0|                if (ret) {
  ------------------
  |  Branch (1180:21): [True: 0, False: 0]
  ------------------
 1181|      0|                    RETURN_ON_ERROR(ret);
  ------------------
  |  |  390|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (390:14): [True: 0, False: 0]
  |  |  |  Branch (390:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1182|      0|                    RETURN_SUCCESS;
  ------------------
  |  |  387|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (387:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1183|      0|                }
 1184|      0|                ctx->u.rep->count = ctx->count-1;
 1185|      0|                state->ptr = ptr;
 1186|      0|                RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1187|      0|            }
 1188|       |
 1189|      7|            if ((ctx->count < (Py_ssize_t) ctx->u.rep->pattern[2] ||
  ------------------
  |  Branch (1189:18): [True: 6, False: 1]
  ------------------
 1190|      1|                ctx->u.rep->pattern[2] == SRE_MAXREPEAT) &&
  ------------------
  |  |   20|      1|# define SRE_MAXREPEAT (~(SRE_CODE)0)
  ------------------
  |  Branch (1190:17): [True: 0, False: 1]
  ------------------
 1191|      6|                state->ptr != ctx->u.rep->last_ptr) {
  ------------------
  |  Branch (1191:17): [True: 6, False: 0]
  ------------------
 1192|       |                /* we may have enough matches, but if we can
 1193|       |                   match another item, do so */
 1194|      6|                ctx->u.rep->count = ctx->count;
 1195|      6|                LASTMARK_SAVE();
  ------------------
  |  |  362|      6|    do { \
  |  |  363|      6|        ctx->lastmark = state->lastmark; \
  |  |  364|      6|        ctx->lastindex = state->lastindex; \
  |  |  365|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (365:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1196|      6|                MARK_PUSH(ctx->lastmark);
  ------------------
  |  |  480|      6|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (480:12): [True: 3, False: 3]
  |  |  ------------------
  |  |  481|      3|        MARK_TRACE("push", (lastmark)); \
  |  |  482|      3|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  483|      3|        DATA_STACK_PUSH(state, state->mark, _marks_size); \
  |  |  ------------------
  |  |  |  |  417|      3|#define DATA_STACK_PUSH(state, data, size) \
  |  |  |  |  418|      3|do { \
  |  |  |  |  419|      3|    TRACE(("copy data in %p to %zd (%zd)\n", \
  |  |  |  |  420|      3|           data, state->data_stack_base, size)); \
  |  |  |  |  421|      3|    if (size > state->data_stack_size - state->data_stack_base) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:9): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |  422|      0|        int j = data_stack_grow(state, size); \
  |  |  |  |  423|      0|        if (j < 0) return j; \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  424|      0|        if (ctx_pos != -1) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (424:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  425|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  411|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  412|      0|do { \
  |  |  |  |  |  |  413|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  414|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  415|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (415:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  426|      0|    } \
  |  |  |  |  427|      3|    memcpy(state->data_stack+state->data_stack_base, data, size); \
  |  |  |  |  428|      3|    state->data_stack_base += size; \
  |  |  |  |  429|      3|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (429:10): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  484|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (484:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1197|       |                /* zero-width match protection */
 1198|      6|                LAST_PTR_PUSH();
  ------------------
  |  |  373|      6|    do { \
  |  |  374|      6|        TRACE(("push last_ptr: %zd", \
  |  |  375|      6|                PTR_TO_INDEX(ctx->u.rep->last_ptr))); \
  |  |  376|      6|        DATA_PUSH(&ctx->u.rep->last_ptr); \
  |  |  ------------------
  |  |  |  |  451|      6|    DATA_STACK_PUSH(state, (x), sizeof(*(x)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  417|      6|#define DATA_STACK_PUSH(state, data, size) \
  |  |  |  |  |  |  418|      6|do { \
  |  |  |  |  |  |  419|      6|    TRACE(("copy data in %p to %zd (%zd)\n", \
  |  |  |  |  |  |  420|      6|           data, state->data_stack_base, size)); \
  |  |  |  |  |  |  421|      6|    if (size > state->data_stack_size - state->data_stack_base) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (421:9): [True: 0, False: 6]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  422|      0|        int j = data_stack_grow(state, size); \
  |  |  |  |  |  |  423|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (423:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  424|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (424:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  425|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  411|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  412|      0|do { \
  |  |  |  |  |  |  |  |  413|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  414|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  415|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (415:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  426|      0|    } \
  |  |  |  |  |  |  427|      6|    memcpy(state->data_stack+state->data_stack_base, data, size); \
  |  |  |  |  |  |  428|      6|    state->data_stack_base += size; \
  |  |  |  |  |  |  429|      6|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (429:10): [Folded, False: 6]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  377|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (377:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1199|      6|                ctx->u.rep->last_ptr = state->ptr;
 1200|      6|                DO_JUMP(JUMP_MAX_UNTIL_2, jump_max_until_2,
  ------------------
  |  |  539|      6|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  523|      6|    ctx->pattern = pattern; \
  |  |  |  |  524|      6|    ctx->ptr = ptr; \
  |  |  |  |  525|      6|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  457|      6|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  396|      6|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  397|      6|do { \
  |  |  |  |  |  |  |  |  398|      6|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  399|      6|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  400|      6|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  401|      6|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (401:9): [True: 0, False: 6]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  403|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (403:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  404|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (404:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  405|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  411|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  412|      0|do { \
  |  |  |  |  |  |  |  |  |  |  413|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  414|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  415|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (415:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  406|      0|    } \
  |  |  |  |  |  |  |  |  407|      6|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  408|      6|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  409|      6|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (409:10): [Folded, False: 6]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  526|      6|    nextctx->pattern = nextpattern; \
  |  |  |  |  527|      6|    nextctx->toplevel = toplevel_; \
  |  |  |  |  528|      6|    nextctx->jump = jumpvalue; \
  |  |  |  |  529|      6|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  530|      6|    pattern = nextpattern; \
  |  |  |  |  531|      6|    ctx_pos = alloc_pos; \
  |  |  |  |  532|      6|    ctx = nextctx; \
  |  |  |  |  533|      6|    goto entrance; \
  |  |  |  |  534|      6|    jumplabel: \
  |  |  |  |  535|      6|    pattern = ctx->pattern; \
  |  |  |  |  536|      6|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1201|      6|                        ctx->u.rep->pattern+3);
 1202|      6|                LAST_PTR_POP();
  ------------------
  |  |  379|      6|    do { \
  |  |  380|      6|        DATA_POP(&ctx->u.rep->last_ptr); \
  |  |  ------------------
  |  |  |  |  453|      6|    DATA_STACK_POP(state, (x), sizeof(*(x)), 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|      6|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  |  |  435|      6|do { \
  |  |  |  |  |  |  436|      6|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  |  |  437|      6|           data, state->data_stack_base-size, size)); \
  |  |  |  |  |  |  438|      6|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  |  |  439|      6|    if (discard) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (439:9): [True: 6, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  440|      6|        state->data_stack_base -= size; \
  |  |  |  |  |  |  441|      6|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (441:10): [Folded, False: 6]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|      6|        TRACE(("pop last_ptr: %zd", \
  |  |  382|      6|                PTR_TO_INDEX(ctx->u.rep->last_ptr))); \
  |  |  383|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (383:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1203|      6|                if (ret) {
  ------------------
  |  Branch (1203:21): [True: 1, False: 5]
  ------------------
 1204|      1|                    MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  498|      1|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (498:12): [True: 0, False: 1]
  |  |  ------------------
  |  |  499|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  500|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  443|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  444|      0|do { \
  |  |  |  |  445|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  446|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  447|      0|    state->data_stack_base -= size; \
  |  |  |  |  448|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (448:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  501|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  502|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (502:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1205|      1|                    RETURN_ON_ERROR(ret);
  ------------------
  |  |  390|      1|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (390:14): [True: 0, False: 1]
  |  |  |  Branch (390:47): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1206|      1|                    RETURN_SUCCESS;
  ------------------
  |  |  387|      1|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (387:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1207|      1|                }
 1208|      5|                MARK_POP(ctx->lastmark);
  ------------------
  |  |  486|      5|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (486:12): [True: 3, False: 2]
  |  |  ------------------
  |  |  487|      3|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  488|      3|        DATA_STACK_POP(state, state->mark, _marks_size, 1); \
  |  |  ------------------
  |  |  |  |  434|      3|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  435|      3|do { \
  |  |  |  |  436|      3|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  437|      3|           data, state->data_stack_base-size, size)); \
  |  |  |  |  438|      3|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  439|      3|    if (discard) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (439:9): [True: 3, Folded]
  |  |  |  |  ------------------
  |  |  |  |  440|      3|        state->data_stack_base -= size; \
  |  |  |  |  441|      3|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (441:10): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  489|      3|        MARK_TRACE("pop", (lastmark)); \
  |  |  490|      5|    } while (0)
  |  |  ------------------
  |  |  |  Branch (490:14): [Folded, False: 5]
  |  |  ------------------
  ------------------
 1209|      5|                LASTMARK_RESTORE();
  ------------------
  |  |  367|      5|    do { \
  |  |  368|      5|        state->lastmark = ctx->lastmark; \
  |  |  369|      5|        state->lastindex = ctx->lastindex; \
  |  |  370|      5|    } while (0)
  |  |  ------------------
  |  |  |  Branch (370:14): [Folded, False: 5]
  |  |  ------------------
  ------------------
 1210|      5|                ctx->u.rep->count = ctx->count-1;
 1211|      5|                state->ptr = ptr;
 1212|      5|            }
 1213|       |
 1214|       |            /* cannot match more repeated items here.  make sure the
 1215|       |               tail matches */
 1216|      6|            state->repeat = ctx->u.rep->prev;
 1217|      6|            state->save_marks--;
 1218|      6|            DO_JUMP(JUMP_MAX_UNTIL_3, jump_max_until_3, pattern);
  ------------------
  |  |  539|      6|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  523|      6|    ctx->pattern = pattern; \
  |  |  |  |  524|      6|    ctx->ptr = ptr; \
  |  |  |  |  525|      6|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  457|      6|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  396|      6|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  397|      6|do { \
  |  |  |  |  |  |  |  |  398|      6|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  399|      6|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  400|      6|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  401|      6|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (401:9): [True: 0, False: 6]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  403|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (403:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  404|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (404:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  405|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  411|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  412|      0|do { \
  |  |  |  |  |  |  |  |  |  |  413|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  414|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  415|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (415:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  406|      0|    } \
  |  |  |  |  |  |  |  |  407|      6|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  408|      6|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  409|      6|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (409:10): [Folded, False: 6]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  526|      6|    nextctx->pattern = nextpattern; \
  |  |  |  |  527|      6|    nextctx->toplevel = toplevel_; \
  |  |  |  |  528|      6|    nextctx->jump = jumpvalue; \
  |  |  |  |  529|      6|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  530|      6|    pattern = nextpattern; \
  |  |  |  |  531|      6|    ctx_pos = alloc_pos; \
  |  |  |  |  532|      6|    ctx = nextctx; \
  |  |  |  |  533|      6|    goto entrance; \
  |  |  |  |  534|      6|    jumplabel: \
  |  |  |  |  535|      6|    pattern = ctx->pattern; \
  |  |  |  |  536|      6|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1219|      6|            state->repeat = ctx->u.rep; // restore repeat before return
 1220|      6|            state->save_marks++;
 1221|       |
 1222|      6|            RETURN_ON_SUCCESS(ret);
  ------------------
  |  |  392|      6|    do { RETURN_ON_ERROR(i); if (i > 0) RETURN_SUCCESS; } while (0)
  |  |  ------------------
  |  |  |  |  390|      6|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (390:14): [True: 0, False: 6]
  |  |  |  |  |  Branch (390:47): [Folded, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   do { RETURN_ON_ERROR(i); if (i > 0) RETURN_SUCCESS; } while (0)
  |  |  ------------------
  |  |  |  |  387|      6|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (387:57): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (392:34): [True: 6, False: 0]
  |  |  |  Branch (392:66): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1223|      0|            state->ptr = ptr;
 1224|      0|            RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1225|       |
 1226|      0|        TARGET(SRE_OP_MIN_UNTIL):
  ------------------
  |  |  593|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1227|       |            /* minimizing repeat */
 1228|       |            /* <REPEAT> <skip> <1=min> <2=max> item <MIN_UNTIL> tail */
 1229|       |
 1230|      0|            ctx->u.rep = state->repeat;
 1231|      0|            if (!ctx->u.rep)
  ------------------
  |  Branch (1231:17): [True: 0, False: 0]
  ------------------
 1232|      0|                RETURN_ERROR(SRE_ERROR_STATE);
  ------------------
  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  ------------------
  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1233|       |
 1234|      0|            state->ptr = ptr;
 1235|       |
 1236|      0|            ctx->count = ctx->u.rep->count+1;
 1237|       |
 1238|      0|            TRACE(("|%p|%p|MIN_UNTIL %zd %p\n", pattern,
 1239|      0|                   ptr, ctx->count, ctx->u.rep->pattern));
 1240|       |
 1241|      0|            if (ctx->count < (Py_ssize_t) ctx->u.rep->pattern[1]) {
  ------------------
  |  Branch (1241:17): [True: 0, False: 0]
  ------------------
 1242|       |                /* not enough matches */
 1243|      0|                ctx->u.rep->count = ctx->count;
 1244|      0|                DO_JUMP(JUMP_MIN_UNTIL_1, jump_min_until_1,
  ------------------
  |  |  539|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  523|      0|    ctx->pattern = pattern; \
  |  |  |  |  524|      0|    ctx->ptr = ptr; \
  |  |  |  |  525|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  457|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  396|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  397|      0|do { \
  |  |  |  |  |  |  |  |  398|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  399|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  400|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  401|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (401:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  403|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (403:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  404|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (404:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  405|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  411|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  412|      0|do { \
  |  |  |  |  |  |  |  |  |  |  413|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  414|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  415|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (415:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  406|      0|    } \
  |  |  |  |  |  |  |  |  407|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  408|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  409|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (409:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  526|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  527|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  528|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  529|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  530|      0|    pattern = nextpattern; \
  |  |  |  |  531|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  532|      0|    ctx = nextctx; \
  |  |  |  |  533|      0|    goto entrance; \
  |  |  |  |  534|      0|    jumplabel: \
  |  |  |  |  535|      0|    pattern = ctx->pattern; \
  |  |  |  |  536|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1245|      0|                        ctx->u.rep->pattern+3);
 1246|      0|                if (ret) {
  ------------------
  |  Branch (1246:21): [True: 0, False: 0]
  ------------------
 1247|      0|                    RETURN_ON_ERROR(ret);
  ------------------
  |  |  390|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (390:14): [True: 0, False: 0]
  |  |  |  Branch (390:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1248|      0|                    RETURN_SUCCESS;
  ------------------
  |  |  387|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (387:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1249|      0|                }
 1250|      0|                ctx->u.rep->count = ctx->count-1;
 1251|      0|                state->ptr = ptr;
 1252|      0|                RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1253|      0|            }
 1254|       |
 1255|       |            /* see if the tail matches */
 1256|      0|            state->repeat = ctx->u.rep->prev;
 1257|      0|            state->save_marks--;
 1258|       |
 1259|      0|            LASTMARK_SAVE();
  ------------------
  |  |  362|      0|    do { \
  |  |  363|      0|        ctx->lastmark = state->lastmark; \
  |  |  364|      0|        ctx->lastindex = state->lastindex; \
  |  |  365|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (365:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1260|      0|            if (state->save_marks)
  ------------------
  |  Branch (1260:17): [True: 0, False: 0]
  ------------------
 1261|      0|                MARK_PUSH(ctx->lastmark);
  ------------------
  |  |  480|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (480:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  481|      0|        MARK_TRACE("push", (lastmark)); \
  |  |  482|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  483|      0|        DATA_STACK_PUSH(state, state->mark, _marks_size); \
  |  |  ------------------
  |  |  |  |  417|      0|#define DATA_STACK_PUSH(state, data, size) \
  |  |  |  |  418|      0|do { \
  |  |  |  |  419|      0|    TRACE(("copy data in %p to %zd (%zd)\n", \
  |  |  |  |  420|      0|           data, state->data_stack_base, size)); \
  |  |  |  |  421|      0|    if (size > state->data_stack_size - state->data_stack_base) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  422|      0|        int j = data_stack_grow(state, size); \
  |  |  |  |  423|      0|        if (j < 0) return j; \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  424|      0|        if (ctx_pos != -1) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (424:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  425|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  411|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  412|      0|do { \
  |  |  |  |  |  |  413|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  414|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  415|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (415:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  426|      0|    } \
  |  |  |  |  427|      0|    memcpy(state->data_stack+state->data_stack_base, data, size); \
  |  |  |  |  428|      0|    state->data_stack_base += size; \
  |  |  |  |  429|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (429:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  484|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (484:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1262|       |
 1263|      0|            DO_JUMP(JUMP_MIN_UNTIL_2, jump_min_until_2, pattern);
  ------------------
  |  |  539|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  523|      0|    ctx->pattern = pattern; \
  |  |  |  |  524|      0|    ctx->ptr = ptr; \
  |  |  |  |  525|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  457|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  396|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  397|      0|do { \
  |  |  |  |  |  |  |  |  398|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  399|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  400|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  401|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (401:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  403|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (403:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  404|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (404:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  405|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  411|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  412|      0|do { \
  |  |  |  |  |  |  |  |  |  |  413|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  414|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  415|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (415:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  406|      0|    } \
  |  |  |  |  |  |  |  |  407|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  408|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  409|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (409:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  526|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  527|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  528|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  529|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  530|      0|    pattern = nextpattern; \
  |  |  |  |  531|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  532|      0|    ctx = nextctx; \
  |  |  |  |  533|      0|    goto entrance; \
  |  |  |  |  534|      0|    jumplabel: \
  |  |  |  |  535|      0|    pattern = ctx->pattern; \
  |  |  |  |  536|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1264|       |            /* save_marks is balanced across the jump, so this equals the
 1265|       |               value tested for MARK_PUSH above */
 1266|      0|            int pushed = state->save_marks != 0;
 1267|      0|            state->repeat = ctx->u.rep; // restore repeat before return
 1268|      0|            state->save_marks++;
 1269|       |
 1270|      0|            if (ret) {
  ------------------
  |  Branch (1270:17): [True: 0, False: 0]
  ------------------
 1271|      0|                if (pushed)
  ------------------
  |  Branch (1271:21): [True: 0, False: 0]
  ------------------
 1272|      0|                    MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  498|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (498:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  499|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  500|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  443|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  444|      0|do { \
  |  |  |  |  445|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  446|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  447|      0|    state->data_stack_base -= size; \
  |  |  |  |  448|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (448:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  501|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  502|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (502:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1273|      0|                RETURN_ON_ERROR(ret);
  ------------------
  |  |  390|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (390:14): [True: 0, False: 0]
  |  |  |  Branch (390:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1274|      0|                RETURN_SUCCESS;
  ------------------
  |  |  387|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (387:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1275|      0|            }
 1276|      0|            if (pushed)
  ------------------
  |  Branch (1276:17): [True: 0, False: 0]
  ------------------
 1277|      0|                MARK_POP(ctx->lastmark);
  ------------------
  |  |  486|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (486:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  487|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  488|      0|        DATA_STACK_POP(state, state->mark, _marks_size, 1); \
  |  |  ------------------
  |  |  |  |  434|      0|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  435|      0|do { \
  |  |  |  |  436|      0|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  437|      0|           data, state->data_stack_base-size, size)); \
  |  |  |  |  438|      0|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  439|      0|    if (discard) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (439:9): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |  440|      0|        state->data_stack_base -= size; \
  |  |  |  |  441|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (441:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  489|      0|        MARK_TRACE("pop", (lastmark)); \
  |  |  490|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (490:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1278|      0|            LASTMARK_RESTORE();
  ------------------
  |  |  367|      0|    do { \
  |  |  368|      0|        state->lastmark = ctx->lastmark; \
  |  |  369|      0|        state->lastindex = ctx->lastindex; \
  |  |  370|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (370:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1279|       |
 1280|      0|            state->ptr = ptr;
 1281|       |
 1282|      0|            if ((ctx->count >= (Py_ssize_t) ctx->u.rep->pattern[2]
  ------------------
  |  Branch (1282:18): [True: 0, False: 0]
  ------------------
 1283|      0|                && ctx->u.rep->pattern[2] != SRE_MAXREPEAT) ||
  ------------------
  |  |   20|      0|# define SRE_MAXREPEAT (~(SRE_CODE)0)
  ------------------
  |  Branch (1283:20): [True: 0, False: 0]
  ------------------
 1284|      0|                state->ptr == ctx->u.rep->last_ptr)
  ------------------
  |  Branch (1284:17): [True: 0, False: 0]
  ------------------
 1285|      0|                RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1286|       |
 1287|      0|            ctx->u.rep->count = ctx->count;
 1288|       |            /* zero-width match protection */
 1289|      0|            LAST_PTR_PUSH();
  ------------------
  |  |  373|      0|    do { \
  |  |  374|      0|        TRACE(("push last_ptr: %zd", \
  |  |  375|      0|                PTR_TO_INDEX(ctx->u.rep->last_ptr))); \
  |  |  376|      0|        DATA_PUSH(&ctx->u.rep->last_ptr); \
  |  |  ------------------
  |  |  |  |  451|      0|    DATA_STACK_PUSH(state, (x), sizeof(*(x)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  417|      0|#define DATA_STACK_PUSH(state, data, size) \
  |  |  |  |  |  |  418|      0|do { \
  |  |  |  |  |  |  419|      0|    TRACE(("copy data in %p to %zd (%zd)\n", \
  |  |  |  |  |  |  420|      0|           data, state->data_stack_base, size)); \
  |  |  |  |  |  |  421|      0|    if (size > state->data_stack_size - state->data_stack_base) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (421:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  422|      0|        int j = data_stack_grow(state, size); \
  |  |  |  |  |  |  423|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (423:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  424|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (424:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  425|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  411|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  412|      0|do { \
  |  |  |  |  |  |  |  |  413|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  414|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  415|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (415:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  426|      0|    } \
  |  |  |  |  |  |  427|      0|    memcpy(state->data_stack+state->data_stack_base, data, size); \
  |  |  |  |  |  |  428|      0|    state->data_stack_base += size; \
  |  |  |  |  |  |  429|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (429:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  377|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (377:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1290|      0|            ctx->u.rep->last_ptr = state->ptr;
 1291|      0|            DO_JUMP(JUMP_MIN_UNTIL_3,jump_min_until_3,
  ------------------
  |  |  539|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  523|      0|    ctx->pattern = pattern; \
  |  |  |  |  524|      0|    ctx->ptr = ptr; \
  |  |  |  |  525|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  457|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  396|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  397|      0|do { \
  |  |  |  |  |  |  |  |  398|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  399|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  400|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  401|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (401:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  403|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (403:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  404|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (404:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  405|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  411|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  412|      0|do { \
  |  |  |  |  |  |  |  |  |  |  413|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  414|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  415|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (415:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  406|      0|    } \
  |  |  |  |  |  |  |  |  407|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  408|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  409|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (409:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  526|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  527|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  528|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  529|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  530|      0|    pattern = nextpattern; \
  |  |  |  |  531|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  532|      0|    ctx = nextctx; \
  |  |  |  |  533|      0|    goto entrance; \
  |  |  |  |  534|      0|    jumplabel: \
  |  |  |  |  535|      0|    pattern = ctx->pattern; \
  |  |  |  |  536|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1292|      0|                    ctx->u.rep->pattern+3);
 1293|      0|            LAST_PTR_POP();
  ------------------
  |  |  379|      0|    do { \
  |  |  380|      0|        DATA_POP(&ctx->u.rep->last_ptr); \
  |  |  ------------------
  |  |  |  |  453|      0|    DATA_STACK_POP(state, (x), sizeof(*(x)), 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|      0|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  |  |  435|      0|do { \
  |  |  |  |  |  |  436|      0|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  |  |  437|      0|           data, state->data_stack_base-size, size)); \
  |  |  |  |  |  |  438|      0|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  |  |  439|      0|    if (discard) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (439:9): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  440|      0|        state->data_stack_base -= size; \
  |  |  |  |  |  |  441|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (441:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|      0|        TRACE(("pop last_ptr: %zd", \
  |  |  382|      0|                PTR_TO_INDEX(ctx->u.rep->last_ptr))); \
  |  |  383|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (383:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1294|      0|            if (ret) {
  ------------------
  |  Branch (1294:17): [True: 0, False: 0]
  ------------------
 1295|      0|                RETURN_ON_ERROR(ret);
  ------------------
  |  |  390|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (390:14): [True: 0, False: 0]
  |  |  |  Branch (390:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1296|      0|                RETURN_SUCCESS;
  ------------------
  |  |  387|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (387:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1297|      0|            }
 1298|      0|            ctx->u.rep->count = ctx->count-1;
 1299|      0|            state->ptr = ptr;
 1300|      0|            RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1301|       |
 1302|      0|        TARGET(SRE_OP_POSSESSIVE_REPEAT):
  ------------------
  |  |  593|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1303|       |            /* create possessive repeat contexts. */
 1304|       |            /* <POSSESSIVE_REPEAT> <skip> <1=min> <2=max> pattern
 1305|       |               <SUCCESS> tail */
 1306|      0|            TRACE(("|%p|%p|POSSESSIVE_REPEAT %d %d\n", pattern,
 1307|      0|                   ptr, pattern[1], pattern[2]));
 1308|       |
 1309|       |            /* Set the global Input pointer to this context's Input
 1310|       |               pointer */
 1311|      0|            state->ptr = ptr;
 1312|       |
 1313|       |            /* Capture groups in the body can be revisited on backtracking
 1314|       |               between iterations, so their marks must be saved and restored,
 1315|       |               as is done inside a repeat. */
 1316|      0|            state->save_marks++;
 1317|       |
 1318|       |            /* Initialize Count to 0 */
 1319|      0|            ctx->count = 0;
 1320|       |
 1321|       |            /* Check for minimum required matches. */
 1322|      0|            while (ctx->count < (Py_ssize_t)pattern[1]) {
  ------------------
  |  Branch (1322:20): [True: 0, False: 0]
  ------------------
 1323|       |                /* not enough matches */
 1324|      0|                DO_JUMP0(JUMP_POSS_REPEAT_1, jump_poss_repeat_1,
  ------------------
  |  |  542|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, 0)
  |  |  ------------------
  |  |  |  |  523|      0|    ctx->pattern = pattern; \
  |  |  |  |  524|      0|    ctx->ptr = ptr; \
  |  |  |  |  525|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  457|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  396|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  397|      0|do { \
  |  |  |  |  |  |  |  |  398|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  399|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  400|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  401|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (401:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  403|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (403:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  404|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (404:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  405|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  411|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  412|      0|do { \
  |  |  |  |  |  |  |  |  |  |  413|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  414|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  415|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (415:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  406|      0|    } \
  |  |  |  |  |  |  |  |  407|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  408|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  409|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (409:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  526|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  527|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  528|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  529|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  530|      0|    pattern = nextpattern; \
  |  |  |  |  531|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  532|      0|    ctx = nextctx; \
  |  |  |  |  533|      0|    goto entrance; \
  |  |  |  |  534|      0|    jumplabel: \
  |  |  |  |  535|      0|    pattern = ctx->pattern; \
  |  |  |  |  536|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1325|      0|                         &pattern[3]);
 1326|      0|                if (ret) {
  ------------------
  |  Branch (1326:21): [True: 0, False: 0]
  ------------------
 1327|      0|                    RETURN_ON_ERROR(ret);
  ------------------
  |  |  390|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (390:14): [True: 0, False: 0]
  |  |  |  Branch (390:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1328|      0|                    ctx->count++;
 1329|      0|                }
 1330|      0|                else {
 1331|      0|                    state->ptr = ptr;
 1332|      0|                    state->save_marks--;
 1333|      0|                    RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1334|      0|                }
 1335|      0|            }
 1336|       |
 1337|       |            /* Clear the context's Input stream pointer so that it
 1338|       |               doesn't match the global state so that the while loop can
 1339|       |               be entered. */
 1340|      0|            ptr = NULL;
 1341|       |
 1342|       |            /* Keep trying to parse the <pattern> sub-pattern until the
 1343|       |               end is reached, creating a new context each time. */
 1344|      0|            while ((ctx->count < (Py_ssize_t)pattern[2] ||
  ------------------
  |  Branch (1344:21): [True: 0, False: 0]
  ------------------
 1345|      0|                    (Py_ssize_t)pattern[2] == SRE_MAXREPEAT) &&
  ------------------
  |  |   20|      0|# define SRE_MAXREPEAT (~(SRE_CODE)0)
  ------------------
  |  Branch (1345:21): [True: 0, False: 0]
  ------------------
 1346|      0|                   state->ptr != ptr) {
  ------------------
  |  Branch (1346:20): [True: 0, False: 0]
  ------------------
 1347|       |                /* Save the Capture Group Marker state into the current
 1348|       |                   Context and back up the current highest number
 1349|       |                   Capture Group marker. */
 1350|      0|                LASTMARK_SAVE();
  ------------------
  |  |  362|      0|    do { \
  |  |  363|      0|        ctx->lastmark = state->lastmark; \
  |  |  364|      0|        ctx->lastindex = state->lastindex; \
  |  |  365|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (365:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1351|      0|                MARK_PUSH(ctx->lastmark);
  ------------------
  |  |  480|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (480:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  481|      0|        MARK_TRACE("push", (lastmark)); \
  |  |  482|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  483|      0|        DATA_STACK_PUSH(state, state->mark, _marks_size); \
  |  |  ------------------
  |  |  |  |  417|      0|#define DATA_STACK_PUSH(state, data, size) \
  |  |  |  |  418|      0|do { \
  |  |  |  |  419|      0|    TRACE(("copy data in %p to %zd (%zd)\n", \
  |  |  |  |  420|      0|           data, state->data_stack_base, size)); \
  |  |  |  |  421|      0|    if (size > state->data_stack_size - state->data_stack_base) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  422|      0|        int j = data_stack_grow(state, size); \
  |  |  |  |  423|      0|        if (j < 0) return j; \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  424|      0|        if (ctx_pos != -1) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (424:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  425|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  411|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  412|      0|do { \
  |  |  |  |  |  |  413|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  414|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  415|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (415:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  426|      0|    } \
  |  |  |  |  427|      0|    memcpy(state->data_stack+state->data_stack_base, data, size); \
  |  |  |  |  428|      0|    state->data_stack_base += size; \
  |  |  |  |  429|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (429:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  484|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (484:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1352|       |
 1353|       |                /* zero-width match protection */
 1354|       |                /* Set the context's Input Stream pointer to be the
 1355|       |                   current Input Stream pointer from the global
 1356|       |                   state.  When the loop reaches the next iteration,
 1357|       |                   the context will then store the last known good
 1358|       |                   position with the global state holding the Input
 1359|       |                   Input Stream position that has been updated with
 1360|       |                   the most recent match.  Thus, if state's Input
 1361|       |                   stream remains the same as the one stored in the
 1362|       |                   current Context, we know we have successfully
 1363|       |                   matched an empty string and that all subsequent
 1364|       |                   matches will also be the empty string until the
 1365|       |                   maximum number of matches are counted, and because
 1366|       |                   of this, we could immediately stop at that point and
 1367|       |                   consider this match successful. */
 1368|      0|                ptr = state->ptr;
 1369|       |
 1370|       |                /* We have not reached the maximin matches, so try to
 1371|       |                   match once more. */
 1372|      0|                DO_JUMP0(JUMP_POSS_REPEAT_2, jump_poss_repeat_2,
  ------------------
  |  |  542|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, 0)
  |  |  ------------------
  |  |  |  |  523|      0|    ctx->pattern = pattern; \
  |  |  |  |  524|      0|    ctx->ptr = ptr; \
  |  |  |  |  525|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  457|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  396|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  397|      0|do { \
  |  |  |  |  |  |  |  |  398|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  399|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  400|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  401|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (401:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  403|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (403:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  404|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (404:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  405|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  411|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  412|      0|do { \
  |  |  |  |  |  |  |  |  |  |  413|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  414|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  415|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (415:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  406|      0|    } \
  |  |  |  |  |  |  |  |  407|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  408|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  409|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (409:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  526|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  527|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  528|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  529|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  530|      0|    pattern = nextpattern; \
  |  |  |  |  531|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  532|      0|    ctx = nextctx; \
  |  |  |  |  533|      0|    goto entrance; \
  |  |  |  |  534|      0|    jumplabel: \
  |  |  |  |  535|      0|    pattern = ctx->pattern; \
  |  |  |  |  536|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1373|      0|                         &pattern[3]);
 1374|       |
 1375|       |                /* Check to see if the last attempted match
 1376|       |                   succeeded. */
 1377|      0|                if (ret) {
  ------------------
  |  Branch (1377:21): [True: 0, False: 0]
  ------------------
 1378|       |                    /* Drop the saved highest number Capture Group
 1379|       |                       marker saved above and use the newly updated
 1380|       |                       value. */
 1381|      0|                    MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  498|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (498:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  499|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  500|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  443|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  444|      0|do { \
  |  |  |  |  445|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  446|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  447|      0|    state->data_stack_base -= size; \
  |  |  |  |  448|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (448:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  501|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  502|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (502:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1382|      0|                    RETURN_ON_ERROR(ret);
  ------------------
  |  |  390|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (390:14): [True: 0, False: 0]
  |  |  |  Branch (390:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1383|       |
 1384|       |                    /* Success, increment the count. */
 1385|      0|                    ctx->count++;
 1386|      0|                }
 1387|       |                /* Last attempted match failed. */
 1388|      0|                else {
 1389|       |                    /* Restore the previously saved highest number
 1390|       |                       Capture Group marker since the last iteration
 1391|       |                       did not match, then restore that to the global
 1392|       |                       state. */
 1393|      0|                    MARK_POP(ctx->lastmark);
  ------------------
  |  |  486|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (486:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  487|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  488|      0|        DATA_STACK_POP(state, state->mark, _marks_size, 1); \
  |  |  ------------------
  |  |  |  |  434|      0|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  435|      0|do { \
  |  |  |  |  436|      0|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  437|      0|           data, state->data_stack_base-size, size)); \
  |  |  |  |  438|      0|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  439|      0|    if (discard) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (439:9): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |  440|      0|        state->data_stack_base -= size; \
  |  |  |  |  441|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (441:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  489|      0|        MARK_TRACE("pop", (lastmark)); \
  |  |  490|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (490:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1394|      0|                    LASTMARK_RESTORE();
  ------------------
  |  |  367|      0|    do { \
  |  |  368|      0|        state->lastmark = ctx->lastmark; \
  |  |  369|      0|        state->lastindex = ctx->lastindex; \
  |  |  370|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (370:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1395|       |
 1396|       |                    /* Restore the global Input Stream pointer
 1397|       |                       since it can change after jumps. */
 1398|      0|                    state->ptr = ptr;
 1399|       |
 1400|       |                    /* We have sufficient matches, so exit loop. */
 1401|      0|                    break;
 1402|      0|                }
 1403|      0|            }
 1404|       |
 1405|      0|            state->save_marks--;
 1406|       |
 1407|       |            /* Evaluate Tail */
 1408|       |            /* Jump to end of pattern indicated by skip, and then skip
 1409|       |               the SUCCESS op code that follows it. */
 1410|      0|            pattern += pattern[0] + 1;
 1411|      0|            ptr = state->ptr;
 1412|      0|            DISPATCH;
  ------------------
  |  |  595|      0|        do {                               \
  |  |  596|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  578|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  560|      0|    do {                                                           \
  |  |  |  |  |  |  561|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (561:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (561:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  562|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  563|      0|        }                                                          \
  |  |  |  |  |  |  564|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (564:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  597|      0|            goto *sre_targets[*pattern++]; \
  |  |  598|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (598:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1413|       |
 1414|      0|        TARGET(SRE_OP_ATOMIC_GROUP):
  ------------------
  |  |  593|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1415|       |            /* Atomic Group Sub Pattern */
 1416|       |            /* <ATOMIC_GROUP> <skip> pattern <SUCCESS> tail */
 1417|      0|            TRACE(("|%p|%p|ATOMIC_GROUP\n", pattern, ptr));
 1418|       |
 1419|       |            /* Set the global Input pointer to this context's Input
 1420|       |               pointer */
 1421|      0|            state->ptr = ptr;
 1422|       |
 1423|       |            /* Evaluate the Atomic Group in a new context, terminating
 1424|       |               when the end of the group, represented by a SUCCESS op
 1425|       |               code, is reached. */
 1426|       |            /* Group Pattern begins at an offset of 1 code. */
 1427|      0|            DO_JUMP0(JUMP_ATOMIC_GROUP, jump_atomic_group,
  ------------------
  |  |  542|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, 0)
  |  |  ------------------
  |  |  |  |  523|      0|    ctx->pattern = pattern; \
  |  |  |  |  524|      0|    ctx->ptr = ptr; \
  |  |  |  |  525|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  457|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  396|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  397|      0|do { \
  |  |  |  |  |  |  |  |  398|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  399|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  400|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  401|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (401:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  403|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (403:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  404|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (404:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  405|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  411|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  412|      0|do { \
  |  |  |  |  |  |  |  |  |  |  413|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  414|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  415|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (415:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  406|      0|    } \
  |  |  |  |  |  |  |  |  407|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  408|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  409|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (409:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  526|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  527|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  528|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  529|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  530|      0|    pattern = nextpattern; \
  |  |  |  |  531|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  532|      0|    ctx = nextctx; \
  |  |  |  |  533|      0|    goto entrance; \
  |  |  |  |  534|      0|    jumplabel: \
  |  |  |  |  535|      0|    pattern = ctx->pattern; \
  |  |  |  |  536|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1428|      0|                     &pattern[1]);
 1429|       |
 1430|       |            /* Test Exit Condition */
 1431|      0|            RETURN_ON_ERROR(ret);
  ------------------
  |  |  390|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (390:14): [True: 0, False: 0]
  |  |  |  Branch (390:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1432|       |
 1433|      0|            if (ret == 0) {
  ------------------
  |  Branch (1433:17): [True: 0, False: 0]
  ------------------
 1434|       |                /* Atomic Group failed to Match. */
 1435|      0|                state->ptr = ptr;
 1436|      0|                RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1437|      0|            }
 1438|       |
 1439|       |            /* Evaluate Tail */
 1440|       |            /* Jump to end of pattern indicated by skip, and then skip
 1441|       |               the SUCCESS op code that follows it. */
 1442|      0|            pattern += pattern[0];
 1443|      0|            ptr = state->ptr;
 1444|      0|            DISPATCH;
  ------------------
  |  |  595|      0|        do {                               \
  |  |  596|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  578|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  560|      0|    do {                                                           \
  |  |  |  |  |  |  561|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (561:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (561:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  562|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  563|      0|        }                                                          \
  |  |  |  |  |  |  564|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (564:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  597|      0|            goto *sre_targets[*pattern++]; \
  |  |  598|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (598:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1445|       |
 1446|      0|        TARGET(SRE_OP_GROUPREF):
  ------------------
  |  |  593|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1447|       |            /* match backreference */
 1448|      0|            TRACE(("|%p|%p|GROUPREF %d\n", pattern,
 1449|      0|                   ptr, pattern[0]));
 1450|      0|            {
 1451|      0|                int groupref = pattern[0] * 2;
 1452|      0|                if (groupref >= state->lastmark) {
  ------------------
  |  Branch (1452:21): [True: 0, False: 0]
  ------------------
 1453|      0|                    RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1454|      0|                } else {
 1455|      0|                    SRE_CHAR* p = (SRE_CHAR*) state->mark[groupref];
  ------------------
  |  |  499|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1456|      0|                    SRE_CHAR* e = (SRE_CHAR*) state->mark[groupref+1];
  ------------------
  |  |  499|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1457|      0|                    if (!p || !e || e < p)
  ------------------
  |  Branch (1457:25): [True: 0, False: 0]
  |  Branch (1457:31): [True: 0, False: 0]
  |  Branch (1457:37): [True: 0, False: 0]
  ------------------
 1458|      0|                        RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1459|      0|                    while (p < e) {
  ------------------
  |  Branch (1459:28): [True: 0, False: 0]
  ------------------
 1460|      0|                        if (ptr >= end || *ptr != *p)
  ------------------
  |  Branch (1460:29): [True: 0, False: 0]
  |  Branch (1460:43): [True: 0, False: 0]
  ------------------
 1461|      0|                            RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1462|      0|                        p++;
 1463|      0|                        ptr++;
 1464|      0|                    }
 1465|      0|                }
 1466|      0|            }
 1467|      0|            pattern++;
 1468|      0|            DISPATCH;
  ------------------
  |  |  595|      0|        do {                               \
  |  |  596|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  578|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  560|      0|    do {                                                           \
  |  |  |  |  |  |  561|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (561:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (561:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  562|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  563|      0|        }                                                          \
  |  |  |  |  |  |  564|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (564:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  597|      0|            goto *sre_targets[*pattern++]; \
  |  |  598|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (598:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1469|       |
 1470|      0|        TARGET(SRE_OP_GROUPREF_IGNORE):
  ------------------
  |  |  593|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1471|       |            /* match backreference */
 1472|      0|            TRACE(("|%p|%p|GROUPREF_IGNORE %d\n", pattern,
 1473|      0|                   ptr, pattern[0]));
 1474|      0|            {
 1475|      0|                int groupref = pattern[0] * 2;
 1476|      0|                if (groupref >= state->lastmark) {
  ------------------
  |  Branch (1476:21): [True: 0, False: 0]
  ------------------
 1477|      0|                    RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1478|      0|                } else {
 1479|      0|                    SRE_CHAR* p = (SRE_CHAR*) state->mark[groupref];
  ------------------
  |  |  499|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1480|      0|                    SRE_CHAR* e = (SRE_CHAR*) state->mark[groupref+1];
  ------------------
  |  |  499|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1481|      0|                    if (!p || !e || e < p)
  ------------------
  |  Branch (1481:25): [True: 0, False: 0]
  |  Branch (1481:31): [True: 0, False: 0]
  |  Branch (1481:37): [True: 0, False: 0]
  ------------------
 1482|      0|                        RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1483|      0|                    while (p < e) {
  ------------------
  |  Branch (1483:28): [True: 0, False: 0]
  ------------------
 1484|      0|                        if (ptr >= end ||
  ------------------
  |  Branch (1484:29): [True: 0, False: 0]
  ------------------
 1485|      0|                            sre_lower_ascii(*ptr) != sre_lower_ascii(*p))
  ------------------
  |  Branch (1485:29): [True: 0, False: 0]
  ------------------
 1486|      0|                            RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1487|      0|                        p++;
 1488|      0|                        ptr++;
 1489|      0|                    }
 1490|      0|                }
 1491|      0|            }
 1492|      0|            pattern++;
 1493|      0|            DISPATCH;
  ------------------
  |  |  595|      0|        do {                               \
  |  |  596|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  578|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  560|      0|    do {                                                           \
  |  |  |  |  |  |  561|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (561:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (561:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  562|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  563|      0|        }                                                          \
  |  |  |  |  |  |  564|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (564:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  597|      0|            goto *sre_targets[*pattern++]; \
  |  |  598|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (598:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1494|       |
 1495|      0|        TARGET(SRE_OP_GROUPREF_UNI_IGNORE):
  ------------------
  |  |  593|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1496|       |            /* match backreference */
 1497|      0|            TRACE(("|%p|%p|GROUPREF_UNI_IGNORE %d\n", pattern,
 1498|      0|                   ptr, pattern[0]));
 1499|      0|            {
 1500|      0|                int groupref = pattern[0] * 2;
 1501|      0|                if (groupref >= state->lastmark) {
  ------------------
  |  Branch (1501:21): [True: 0, False: 0]
  ------------------
 1502|      0|                    RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1503|      0|                } else {
 1504|      0|                    SRE_CHAR* p = (SRE_CHAR*) state->mark[groupref];
  ------------------
  |  |  499|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1505|      0|                    SRE_CHAR* e = (SRE_CHAR*) state->mark[groupref+1];
  ------------------
  |  |  499|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1506|      0|                    if (!p || !e || e < p)
  ------------------
  |  Branch (1506:25): [True: 0, False: 0]
  |  Branch (1506:31): [True: 0, False: 0]
  |  Branch (1506:37): [True: 0, False: 0]
  ------------------
 1507|      0|                        RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1508|      0|                    while (p < e) {
  ------------------
  |  Branch (1508:28): [True: 0, False: 0]
  ------------------
 1509|      0|                        if (ptr >= end ||
  ------------------
  |  Branch (1509:29): [True: 0, False: 0]
  ------------------
 1510|      0|                            sre_lower_unicode(*ptr) != sre_lower_unicode(*p))
  ------------------
  |  Branch (1510:29): [True: 0, False: 0]
  ------------------
 1511|      0|                            RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1512|      0|                        p++;
 1513|      0|                        ptr++;
 1514|      0|                    }
 1515|      0|                }
 1516|      0|            }
 1517|      0|            pattern++;
 1518|      0|            DISPATCH;
  ------------------
  |  |  595|      0|        do {                               \
  |  |  596|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  578|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  560|      0|    do {                                                           \
  |  |  |  |  |  |  561|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (561:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (561:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  562|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  563|      0|        }                                                          \
  |  |  |  |  |  |  564|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (564:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  597|      0|            goto *sre_targets[*pattern++]; \
  |  |  598|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (598:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1519|       |
 1520|      0|        TARGET(SRE_OP_GROUPREF_LOC_IGNORE):
  ------------------
  |  |  593|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1521|       |            /* match backreference */
 1522|      0|            TRACE(("|%p|%p|GROUPREF_LOC_IGNORE %d\n", pattern,
 1523|      0|                   ptr, pattern[0]));
 1524|      0|            {
 1525|      0|                int groupref = pattern[0] * 2;
 1526|      0|                if (groupref >= state->lastmark) {
  ------------------
  |  Branch (1526:21): [True: 0, False: 0]
  ------------------
 1527|      0|                    RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1528|      0|                } else {
 1529|      0|                    SRE_CHAR* p = (SRE_CHAR*) state->mark[groupref];
  ------------------
  |  |  499|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1530|      0|                    SRE_CHAR* e = (SRE_CHAR*) state->mark[groupref+1];
  ------------------
  |  |  499|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1531|      0|                    if (!p || !e || e < p)
  ------------------
  |  Branch (1531:25): [True: 0, False: 0]
  |  Branch (1531:31): [True: 0, False: 0]
  |  Branch (1531:37): [True: 0, False: 0]
  ------------------
 1532|      0|                        RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1533|      0|                    while (p < e) {
  ------------------
  |  Branch (1533:28): [True: 0, False: 0]
  ------------------
 1534|      0|                        if (ptr >= end ||
  ------------------
  |  Branch (1534:29): [True: 0, False: 0]
  ------------------
 1535|      0|                            sre_lower_locale(*ptr) != sre_lower_locale(*p))
  ------------------
  |  Branch (1535:29): [True: 0, False: 0]
  ------------------
 1536|      0|                            RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1537|      0|                        p++;
 1538|      0|                        ptr++;
 1539|      0|                    }
 1540|      0|                }
 1541|      0|            }
 1542|      0|            pattern++;
 1543|      0|            DISPATCH;
  ------------------
  |  |  595|      0|        do {                               \
  |  |  596|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  578|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  560|      0|    do {                                                           \
  |  |  |  |  |  |  561|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (561:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (561:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  562|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  563|      0|        }                                                          \
  |  |  |  |  |  |  564|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (564:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  597|      0|            goto *sre_targets[*pattern++]; \
  |  |  598|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (598:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1544|       |
 1545|      0|        TARGET(SRE_OP_GROUPREF_EXISTS):
  ------------------
  |  |  593|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1546|      0|            TRACE(("|%p|%p|GROUPREF_EXISTS %d\n", pattern,
 1547|      0|                   ptr, pattern[0]));
 1548|       |            /* <GROUPREF_EXISTS> <group> <skip> codeyes <JUMP> codeno ... */
 1549|      0|            {
 1550|      0|                int groupref = pattern[0] * 2;
 1551|      0|                if (groupref >= state->lastmark) {
  ------------------
  |  Branch (1551:21): [True: 0, False: 0]
  ------------------
 1552|      0|                    pattern += pattern[1];
 1553|      0|                    DISPATCH;
  ------------------
  |  |  595|      0|        do {                               \
  |  |  596|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  578|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  560|      0|    do {                                                           \
  |  |  |  |  |  |  561|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (561:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (561:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  562|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  563|      0|        }                                                          \
  |  |  |  |  |  |  564|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (564:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  597|      0|            goto *sre_targets[*pattern++]; \
  |  |  598|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (598:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1554|      0|                } else {
 1555|      0|                    SRE_CHAR* p = (SRE_CHAR*) state->mark[groupref];
  ------------------
  |  |  499|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1556|      0|                    SRE_CHAR* e = (SRE_CHAR*) state->mark[groupref+1];
  ------------------
  |  |  499|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1557|      0|                    if (!p || !e || e < p) {
  ------------------
  |  Branch (1557:25): [True: 0, False: 0]
  |  Branch (1557:31): [True: 0, False: 0]
  |  Branch (1557:37): [True: 0, False: 0]
  ------------------
 1558|      0|                        pattern += pattern[1];
 1559|      0|                        DISPATCH;
  ------------------
  |  |  595|      0|        do {                               \
  |  |  596|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  578|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  560|      0|    do {                                                           \
  |  |  |  |  |  |  561|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (561:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (561:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  562|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  563|      0|        }                                                          \
  |  |  |  |  |  |  564|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (564:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  597|      0|            goto *sre_targets[*pattern++]; \
  |  |  598|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (598:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1560|      0|                    }
 1561|      0|                }
 1562|      0|            }
 1563|      0|            pattern += 2;
 1564|      0|            DISPATCH;
  ------------------
  |  |  595|      0|        do {                               \
  |  |  596|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  578|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  560|      0|    do {                                                           \
  |  |  |  |  |  |  561|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (561:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (561:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  562|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  563|      0|        }                                                          \
  |  |  |  |  |  |  564|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (564:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  597|      0|            goto *sre_targets[*pattern++]; \
  |  |  598|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (598:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1565|       |
 1566|      3|        TARGET(SRE_OP_ASSERT):
  ------------------
  |  |  593|      3|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1567|       |            /* assert subpattern */
 1568|       |            /* <ASSERT> <skip> <back> <pattern> */
 1569|      3|            TRACE(("|%p|%p|ASSERT %d\n", pattern,
 1570|      3|                   ptr, pattern[1]));
 1571|      3|            if ((uintptr_t)(ptr - (SRE_CHAR *)state->beginning) < pattern[1])
  ------------------
  |  Branch (1571:17): [True: 0, False: 3]
  ------------------
 1572|      0|                RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1573|      3|            state->ptr = ptr - pattern[1];
 1574|      3|            DO_JUMP0(JUMP_ASSERT, jump_assert, pattern+2);
  ------------------
  |  |  542|      3|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, 0)
  |  |  ------------------
  |  |  |  |  523|      3|    ctx->pattern = pattern; \
  |  |  |  |  524|      3|    ctx->ptr = ptr; \
  |  |  |  |  525|      3|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  457|      3|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  396|      3|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  397|      3|do { \
  |  |  |  |  |  |  |  |  398|      3|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  399|      3|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  400|      3|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  401|      3|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (401:9): [True: 0, False: 3]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  403|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (403:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  404|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (404:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  405|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  411|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  412|      0|do { \
  |  |  |  |  |  |  |  |  |  |  413|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  414|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  415|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (415:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  406|      0|    } \
  |  |  |  |  |  |  |  |  407|      3|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  408|      3|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  409|      3|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (409:10): [Folded, False: 3]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  526|      3|    nextctx->pattern = nextpattern; \
  |  |  |  |  527|      3|    nextctx->toplevel = toplevel_; \
  |  |  |  |  528|      3|    nextctx->jump = jumpvalue; \
  |  |  |  |  529|      3|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  530|      3|    pattern = nextpattern; \
  |  |  |  |  531|      3|    ctx_pos = alloc_pos; \
  |  |  |  |  532|      3|    ctx = nextctx; \
  |  |  |  |  533|      3|    goto entrance; \
  |  |  |  |  534|      3|    jumplabel: \
  |  |  |  |  535|      3|    pattern = ctx->pattern; \
  |  |  |  |  536|      3|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1575|      3|            RETURN_ON_FAILURE(ret);
  ------------------
  |  |  394|      3|    do { RETURN_ON_ERROR(i); if (i == 0) RETURN_FAILURE; } while (0)
  |  |  ------------------
  |  |  |  |  390|      3|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (390:14): [True: 0, False: 3]
  |  |  |  |  |  Branch (390:47): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   do { RETURN_ON_ERROR(i); if (i == 0) RETURN_FAILURE; } while (0)
  |  |  ------------------
  |  |  |  |  386|      3|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (394:34): [True: 3, False: 0]
  |  |  |  Branch (394:67): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1576|      0|            pattern += pattern[0];
 1577|      0|            DISPATCH;
  ------------------
  |  |  595|      0|        do {                               \
  |  |  596|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  578|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  560|      0|    do {                                                           \
  |  |  |  |  |  |  561|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (561:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (561:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  562|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  563|      0|        }                                                          \
  |  |  |  |  |  |  564|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (564:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  597|      0|            goto *sre_targets[*pattern++]; \
  |  |  598|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (598:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1578|       |
 1579|      0|        TARGET(SRE_OP_ASSERT_NOT):
  ------------------
  |  |  593|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1580|       |            /* assert not subpattern */
 1581|       |            /* <ASSERT_NOT> <skip> <back> <pattern> */
 1582|      0|            TRACE(("|%p|%p|ASSERT_NOT %d\n", pattern,
 1583|      0|                   ptr, pattern[1]));
 1584|      0|            if ((uintptr_t)(ptr - (SRE_CHAR *)state->beginning) >= pattern[1]) {
  ------------------
  |  Branch (1584:17): [True: 0, False: 0]
  ------------------
 1585|      0|                state->ptr = ptr - pattern[1];
 1586|      0|                LASTMARK_SAVE();
  ------------------
  |  |  362|      0|    do { \
  |  |  363|      0|        ctx->lastmark = state->lastmark; \
  |  |  364|      0|        ctx->lastindex = state->lastindex; \
  |  |  365|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (365:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1587|      0|                if (state->save_marks)
  ------------------
  |  Branch (1587:21): [True: 0, False: 0]
  ------------------
 1588|      0|                    MARK_PUSH(ctx->lastmark);
  ------------------
  |  |  480|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (480:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  481|      0|        MARK_TRACE("push", (lastmark)); \
  |  |  482|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  483|      0|        DATA_STACK_PUSH(state, state->mark, _marks_size); \
  |  |  ------------------
  |  |  |  |  417|      0|#define DATA_STACK_PUSH(state, data, size) \
  |  |  |  |  418|      0|do { \
  |  |  |  |  419|      0|    TRACE(("copy data in %p to %zd (%zd)\n", \
  |  |  |  |  420|      0|           data, state->data_stack_base, size)); \
  |  |  |  |  421|      0|    if (size > state->data_stack_size - state->data_stack_base) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  422|      0|        int j = data_stack_grow(state, size); \
  |  |  |  |  423|      0|        if (j < 0) return j; \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  424|      0|        if (ctx_pos != -1) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (424:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  425|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  411|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  412|      0|do { \
  |  |  |  |  |  |  413|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  414|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  415|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (415:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  426|      0|    } \
  |  |  |  |  427|      0|    memcpy(state->data_stack+state->data_stack_base, data, size); \
  |  |  |  |  428|      0|    state->data_stack_base += size; \
  |  |  |  |  429|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (429:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  484|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (484:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1589|       |
 1590|      0|                DO_JUMP0(JUMP_ASSERT_NOT, jump_assert_not, pattern+2);
  ------------------
  |  |  542|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, 0)
  |  |  ------------------
  |  |  |  |  523|      0|    ctx->pattern = pattern; \
  |  |  |  |  524|      0|    ctx->ptr = ptr; \
  |  |  |  |  525|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  457|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  396|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  397|      0|do { \
  |  |  |  |  |  |  |  |  398|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  399|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  400|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  401|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (401:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  403|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (403:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  404|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (404:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  405|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  411|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  412|      0|do { \
  |  |  |  |  |  |  |  |  |  |  413|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  414|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  415|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (415:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  406|      0|    } \
  |  |  |  |  |  |  |  |  407|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  408|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  409|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (409:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  526|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  527|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  528|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  529|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  530|      0|    pattern = nextpattern; \
  |  |  |  |  531|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  532|      0|    ctx = nextctx; \
  |  |  |  |  533|      0|    goto entrance; \
  |  |  |  |  534|      0|    jumplabel: \
  |  |  |  |  535|      0|    pattern = ctx->pattern; \
  |  |  |  |  536|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1591|      0|                if (ret) {
  ------------------
  |  Branch (1591:21): [True: 0, False: 0]
  ------------------
 1592|      0|                    if (state->save_marks)
  ------------------
  |  Branch (1592:25): [True: 0, False: 0]
  ------------------
 1593|      0|                        MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  498|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (498:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  499|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  500|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  443|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  444|      0|do { \
  |  |  |  |  445|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  446|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  447|      0|    state->data_stack_base -= size; \
  |  |  |  |  448|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (448:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  501|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  502|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (502:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1594|      0|                    RETURN_ON_ERROR(ret);
  ------------------
  |  |  390|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (390:14): [True: 0, False: 0]
  |  |  |  Branch (390:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1595|      0|                    RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1596|      0|                }
 1597|      0|                if (state->save_marks)
  ------------------
  |  Branch (1597:21): [True: 0, False: 0]
  ------------------
 1598|      0|                    MARK_POP(ctx->lastmark);
  ------------------
  |  |  486|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (486:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  487|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  488|      0|        DATA_STACK_POP(state, state->mark, _marks_size, 1); \
  |  |  ------------------
  |  |  |  |  434|      0|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  435|      0|do { \
  |  |  |  |  436|      0|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  437|      0|           data, state->data_stack_base-size, size)); \
  |  |  |  |  438|      0|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  439|      0|    if (discard) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (439:9): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |  440|      0|        state->data_stack_base -= size; \
  |  |  |  |  441|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (441:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  489|      0|        MARK_TRACE("pop", (lastmark)); \
  |  |  490|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (490:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1599|      0|                LASTMARK_RESTORE();
  ------------------
  |  |  367|      0|    do { \
  |  |  368|      0|        state->lastmark = ctx->lastmark; \
  |  |  369|      0|        state->lastindex = ctx->lastindex; \
  |  |  370|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (370:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1600|      0|            }
 1601|      0|            pattern += pattern[0];
 1602|      0|            DISPATCH;
  ------------------
  |  |  595|      0|        do {                               \
  |  |  596|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  578|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  560|      0|    do {                                                           \
  |  |  |  |  |  |  561|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (561:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (561:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  562|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  563|      0|        }                                                          \
  |  |  |  |  |  |  564|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (564:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  597|      0|            goto *sre_targets[*pattern++]; \
  |  |  598|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (598:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1603|       |
 1604|      0|        TARGET(SRE_OP_FAILURE):
  ------------------
  |  |  593|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1605|       |            /* immediate failure */
 1606|      0|            TRACE(("|%p|%p|FAILURE\n", pattern, ptr));
 1607|      0|            RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1608|       |
 1609|       |#if !USE_COMPUTED_GOTOS
 1610|       |        default:
 1611|       |#endif
 1612|       |        // Also any unused opcodes:
 1613|      0|        TARGET(SRE_OP_RANGE_UNI_IGNORE):
  ------------------
  |  |  593|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1614|      0|        TARGET(SRE_OP_SUBPATTERN):
  ------------------
  |  |  593|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1615|      0|        TARGET(SRE_OP_RANGE):
  ------------------
  |  |  593|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1616|      0|        TARGET(SRE_OP_NEGATE):
  ------------------
  |  |  593|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1617|      0|        TARGET(SRE_OP_BIGCHARSET):
  ------------------
  |  |  593|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1618|      0|        TARGET(SRE_OP_CHARSET):
  ------------------
  |  |  593|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1619|      0|            TRACE(("|%p|%p|UNKNOWN %d\n", pattern, ptr,
 1620|      0|                   pattern[-1]));
 1621|      0|            RETURN_ERROR(SRE_ERROR_ILLEGAL);
  ------------------
  |  |  385|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  ------------------
  |  |  |  Branch (385:48): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1622|       |
 1623|      0|    }
 1624|       |
 1625|    174|exit:
 1626|    174|    ctx_pos = ctx->last_ctx_pos;
 1627|    174|    jump = ctx->jump;
 1628|    174|    DATA_POP_DISCARD(ctx);
  ------------------
  |  |  455|    174|    DATA_STACK_POP_DISCARD(state, sizeof(*(x)))
  |  |  ------------------
  |  |  |  |  443|    174|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  444|    174|do { \
  |  |  |  |  445|    174|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  446|    174|           state->data_stack_base-size, size)); \
  |  |  |  |  447|    174|    state->data_stack_base -= size; \
  |  |  |  |  448|    174|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (448:9): [Folded, False: 174]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1629|    174|    if (ctx_pos == -1) {
  ------------------
  |  Branch (1629:9): [True: 13, False: 161]
  ------------------
 1630|     13|        state->sigcount = sigcount;
 1631|     13|        return ret;
 1632|     13|    }
 1633|    161|    DATA_LOOKUP_AT(SRE(match_context), ctx, ctx_pos);
  ------------------
  |  |  459|    161|    DATA_STACK_LOOKUP_AT(state,t,p,pos)
  |  |  ------------------
  |  |  |  |  411|    161|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  412|    161|do { \
  |  |  |  |  413|    161|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  414|    161|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  415|    161|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (415:10): [Folded, False: 161]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1634|       |
 1635|    161|    switch (jump) {
  ------------------
  |  Branch (1635:13): [True: 161, False: 0]
  ------------------
 1636|      6|        case JUMP_MAX_UNTIL_2:
  ------------------
  |  |  506|      6|#define JUMP_MAX_UNTIL_2     2
  ------------------
  |  Branch (1636:9): [True: 6, False: 155]
  ------------------
 1637|      6|            TRACE(("|%p|%p|JUMP_MAX_UNTIL_2\n", pattern, ptr));
 1638|      6|            goto jump_max_until_2;
 1639|      6|        case JUMP_MAX_UNTIL_3:
  ------------------
  |  |  507|      6|#define JUMP_MAX_UNTIL_3     3
  ------------------
  |  Branch (1639:9): [True: 6, False: 155]
  ------------------
 1640|      6|            TRACE(("|%p|%p|JUMP_MAX_UNTIL_3\n", pattern, ptr));
 1641|      6|            goto jump_max_until_3;
 1642|      0|        case JUMP_MIN_UNTIL_2:
  ------------------
  |  |  509|      0|#define JUMP_MIN_UNTIL_2     5
  ------------------
  |  Branch (1642:9): [True: 0, False: 161]
  ------------------
 1643|      0|            TRACE(("|%p|%p|JUMP_MIN_UNTIL_2\n", pattern, ptr));
 1644|      0|            goto jump_min_until_2;
 1645|      0|        case JUMP_MIN_UNTIL_3:
  ------------------
  |  |  510|      0|#define JUMP_MIN_UNTIL_3     6
  ------------------
  |  Branch (1645:9): [True: 0, False: 161]
  ------------------
 1646|      0|            TRACE(("|%p|%p|JUMP_MIN_UNTIL_3\n", pattern, ptr));
 1647|      0|            goto jump_min_until_3;
 1648|     13|        case JUMP_BRANCH:
  ------------------
  |  |  515|     13|#define JUMP_BRANCH          11
  ------------------
  |  Branch (1648:9): [True: 13, False: 148]
  ------------------
 1649|     13|            TRACE(("|%p|%p|JUMP_BRANCH\n", pattern, ptr));
 1650|     13|            goto jump_branch;
 1651|      0|        case JUMP_MAX_UNTIL_1:
  ------------------
  |  |  505|      0|#define JUMP_MAX_UNTIL_1     1
  ------------------
  |  Branch (1651:9): [True: 0, False: 161]
  ------------------
 1652|      0|            TRACE(("|%p|%p|JUMP_MAX_UNTIL_1\n", pattern, ptr));
 1653|      0|            goto jump_max_until_1;
 1654|      0|        case JUMP_MIN_UNTIL_1:
  ------------------
  |  |  508|      0|#define JUMP_MIN_UNTIL_1     4
  ------------------
  |  Branch (1654:9): [True: 0, False: 161]
  ------------------
 1655|      0|            TRACE(("|%p|%p|JUMP_MIN_UNTIL_1\n", pattern, ptr));
 1656|      0|            goto jump_min_until_1;
 1657|      0|        case JUMP_POSS_REPEAT_1:
  ------------------
  |  |  518|      0|#define JUMP_POSS_REPEAT_1   14
  ------------------
  |  Branch (1657:9): [True: 0, False: 161]
  ------------------
 1658|      0|            TRACE(("|%p|%p|JUMP_POSS_REPEAT_1\n", pattern, ptr));
 1659|      0|            goto jump_poss_repeat_1;
 1660|      0|        case JUMP_POSS_REPEAT_2:
  ------------------
  |  |  519|      0|#define JUMP_POSS_REPEAT_2   15
  ------------------
  |  Branch (1660:9): [True: 0, False: 161]
  ------------------
 1661|      0|            TRACE(("|%p|%p|JUMP_POSS_REPEAT_2\n", pattern, ptr));
 1662|      0|            goto jump_poss_repeat_2;
 1663|      6|        case JUMP_REPEAT:
  ------------------
  |  |  511|      6|#define JUMP_REPEAT          7
  ------------------
  |  Branch (1663:9): [True: 6, False: 155]
  ------------------
 1664|      6|            TRACE(("|%p|%p|JUMP_REPEAT\n", pattern, ptr));
 1665|      6|            goto jump_repeat;
 1666|      3|        case JUMP_REPEAT_ONE_1:
  ------------------
  |  |  512|      3|#define JUMP_REPEAT_ONE_1    8
  ------------------
  |  Branch (1666:9): [True: 3, False: 158]
  ------------------
 1667|      3|            TRACE(("|%p|%p|JUMP_REPEAT_ONE_1\n", pattern, ptr));
 1668|      3|            goto jump_repeat_one_1;
 1669|      4|        case JUMP_REPEAT_ONE_2:
  ------------------
  |  |  513|      4|#define JUMP_REPEAT_ONE_2    9
  ------------------
  |  Branch (1669:9): [True: 4, False: 157]
  ------------------
 1670|      4|            TRACE(("|%p|%p|JUMP_REPEAT_ONE_2\n", pattern, ptr));
 1671|      4|            goto jump_repeat_one_2;
 1672|    120|        case JUMP_MIN_REPEAT_ONE:
  ------------------
  |  |  514|    120|#define JUMP_MIN_REPEAT_ONE  10
  ------------------
  |  Branch (1672:9): [True: 120, False: 41]
  ------------------
 1673|    120|            TRACE(("|%p|%p|JUMP_MIN_REPEAT_ONE\n", pattern, ptr));
 1674|    120|            goto jump_min_repeat_one;
 1675|      0|        case JUMP_ATOMIC_GROUP:
  ------------------
  |  |  520|      0|#define JUMP_ATOMIC_GROUP    16
  ------------------
  |  Branch (1675:9): [True: 0, False: 161]
  ------------------
 1676|      0|            TRACE(("|%p|%p|JUMP_ATOMIC_GROUP\n", pattern, ptr));
 1677|      0|            goto jump_atomic_group;
 1678|      3|        case JUMP_ASSERT:
  ------------------
  |  |  516|      3|#define JUMP_ASSERT          12
  ------------------
  |  Branch (1678:9): [True: 3, False: 158]
  ------------------
 1679|      3|            TRACE(("|%p|%p|JUMP_ASSERT\n", pattern, ptr));
 1680|      3|            goto jump_assert;
 1681|      0|        case JUMP_ASSERT_NOT:
  ------------------
  |  |  517|      0|#define JUMP_ASSERT_NOT      13
  ------------------
  |  Branch (1681:9): [True: 0, False: 161]
  ------------------
 1682|      0|            TRACE(("|%p|%p|JUMP_ASSERT_NOT\n", pattern, ptr));
 1683|      0|            goto jump_assert_not;
 1684|      0|        case JUMP_NONE:
  ------------------
  |  |  504|      0|#define JUMP_NONE            0
  ------------------
  |  Branch (1684:9): [True: 0, False: 161]
  ------------------
 1685|      0|            TRACE(("|%p|%p|RETURN %zd\n", pattern,
 1686|      0|                   ptr, ret));
 1687|      0|            break;
 1688|    161|    }
 1689|       |
 1690|      0|    return ret; /* should never get here */
 1691|    161|}
sre.c:sre_ucs1_at:
   17|      9|{
   18|       |    /* check if pointer is at given position */
   19|       |
   20|      9|    Py_ssize_t thisp, thatp;
   21|       |
   22|      9|    switch (at) {
  ------------------
  |  Branch (22:13): [True: 9, False: 0]
  ------------------
   23|       |
   24|      6|    case SRE_AT_BEGINNING:
  ------------------
  |  |   58|      6|#define SRE_AT_BEGINNING 0
  ------------------
  |  Branch (24:5): [True: 6, False: 3]
  ------------------
   25|      6|    case SRE_AT_BEGINNING_STRING:
  ------------------
  |  |   60|      6|#define SRE_AT_BEGINNING_STRING 2
  ------------------
  |  Branch (25:5): [True: 0, False: 9]
  ------------------
   26|      6|        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: 9]
  ------------------
   29|      0|        return ((void*) ptr == state->beginning ||
  ------------------
  |  Branch (29:17): [True: 0, False: 0]
  ------------------
   30|      0|                SRE_IS_LINEBREAK((int) ptr[-1]));
  ------------------
  |  |  142|      0|    ((ch) == '\n')
  |  |  ------------------
  |  |  |  Branch (142:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   31|       |
   32|      0|    case SRE_AT_END:
  ------------------
  |  |   63|      0|#define SRE_AT_END 5
  ------------------
  |  Branch (32:5): [True: 0, False: 9]
  ------------------
   33|      0|        return (((SRE_CHAR *)state->end - ptr == 1 &&
  ------------------
  |  Branch (33:18): [True: 0, False: 0]
  ------------------
   34|      0|                 SRE_IS_LINEBREAK((int) ptr[0])) ||
  ------------------
  |  |  142|      0|    ((ch) == '\n')
  |  |  ------------------
  |  |  |  Branch (142:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   35|      0|                ((void*) ptr == state->end));
  ------------------
  |  Branch (35:17): [True: 0, False: 0]
  ------------------
   36|       |
   37|      0|    case SRE_AT_END_LINE:
  ------------------
  |  |   64|      0|#define SRE_AT_END_LINE 6
  ------------------
  |  Branch (37:5): [True: 0, False: 9]
  ------------------
   38|      0|        return ((void*) ptr == state->end ||
  ------------------
  |  Branch (38:17): [True: 0, False: 0]
  ------------------
   39|      0|                SRE_IS_LINEBREAK((int) ptr[0]));
  ------------------
  |  |  142|      0|    ((ch) == '\n')
  |  |  ------------------
  |  |  |  Branch (142:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   40|       |
   41|      3|    case SRE_AT_END_STRING:
  ------------------
  |  |   65|      3|#define SRE_AT_END_STRING 7
  ------------------
  |  Branch (41:5): [True: 3, False: 6]
  ------------------
   42|      3|        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: 9]
  ------------------
   45|      0|        thatp = ((void*) ptr > state->beginning) ?
  ------------------
  |  Branch (45:17): [True: 0, False: 0]
  ------------------
   46|      0|            SRE_IS_WORD((int) ptr[-1]) : 0;
  ------------------
  |  |  144|      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 (144:6): [True: 0, False: 0]
  |  |  |  Branch (144: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;
  ------------------
  |  |  144|      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 (144:6): [True: 0, False: 0]
  |  |  |  Branch (144: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: 9]
  ------------------
   52|      0|        thatp = ((void*) ptr > state->beginning) ?
  ------------------
  |  Branch (52:17): [True: 0, False: 0]
  ------------------
   53|      0|            SRE_IS_WORD((int) ptr[-1]) : 0;
  ------------------
  |  |  144|      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 (144:6): [True: 0, False: 0]
  |  |  |  Branch (144: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;
  ------------------
  |  |  144|      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 (144:6): [True: 0, False: 0]
  |  |  |  Branch (144: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: 9]
  ------------------
   59|      0|        thatp = ((void*) ptr > state->beginning) ?
  ------------------
  |  Branch (59:17): [True: 0, False: 0]
  ------------------
   60|      0|            SRE_LOC_IS_WORD((int) ptr[-1]) : 0;
  ------------------
  |  |  155|      0|#define SRE_LOC_IS_WORD(ch) (SRE_LOC_IS_ALNUM((ch)) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  154|      0|#define SRE_LOC_IS_ALNUM(ch) (!((ch) & ~255) ? sre_isalnum((ch)) : 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (154:30): [True: 0, False: 0]
  |  |  |  |  |  Branch (154:31): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (155: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;
  ------------------
  |  |  155|      0|#define SRE_LOC_IS_WORD(ch) (SRE_LOC_IS_ALNUM((ch)) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  154|      0|#define SRE_LOC_IS_ALNUM(ch) (!((ch) & ~255) ? sre_isalnum((ch)) : 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (154:30): [True: 0, False: 0]
  |  |  |  |  |  Branch (154:31): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (155: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: 9]
  ------------------
   66|      0|        thatp = ((void*) ptr > state->beginning) ?
  ------------------
  |  Branch (66:17): [True: 0, False: 0]
  ------------------
   67|      0|            SRE_LOC_IS_WORD((int) ptr[-1]) : 0;
  ------------------
  |  |  155|      0|#define SRE_LOC_IS_WORD(ch) (SRE_LOC_IS_ALNUM((ch)) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  154|      0|#define SRE_LOC_IS_ALNUM(ch) (!((ch) & ~255) ? sre_isalnum((ch)) : 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (154:30): [True: 0, False: 0]
  |  |  |  |  |  Branch (154:31): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (155: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;
  ------------------
  |  |  155|      0|#define SRE_LOC_IS_WORD(ch) (SRE_LOC_IS_ALNUM((ch)) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  154|      0|#define SRE_LOC_IS_ALNUM(ch) (!((ch) & ~255) ? sre_isalnum((ch)) : 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (154:30): [True: 0, False: 0]
  |  |  |  |  |  Branch (154:31): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (155: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: 9]
  ------------------
   73|      0|        thatp = ((void*) ptr > state->beginning) ?
  ------------------
  |  Branch (73:17): [True: 0, False: 0]
  ------------------
   74|      0|            SRE_UNI_IS_WORD((int) ptr[-1]) : 0;
  ------------------
  |  |  173|      0|#define SRE_UNI_IS_WORD(ch) (SRE_UNI_IS_ALNUM(ch) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  172|      0|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (172:30): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (173: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;
  ------------------
  |  |  173|      0|#define SRE_UNI_IS_WORD(ch) (SRE_UNI_IS_ALNUM(ch) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  172|      0|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (172:30): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (173: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: 9]
  ------------------
   80|      0|        thatp = ((void*) ptr > state->beginning) ?
  ------------------
  |  Branch (80:17): [True: 0, False: 0]
  ------------------
   81|      0|            SRE_UNI_IS_WORD((int) ptr[-1]) : 0;
  ------------------
  |  |  173|      0|#define SRE_UNI_IS_WORD(ch) (SRE_UNI_IS_ALNUM(ch) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  172|      0|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (172:30): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (173: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;
  ------------------
  |  |  173|      0|#define SRE_UNI_IS_WORD(ch) (SRE_UNI_IS_ALNUM(ch) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  172|      0|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (172:30): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (173:54): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   84|      0|        return thisp == thatp;
   85|       |
   86|      9|    }
   87|       |
   88|      0|    return 0;
   89|      9|}
sre.c:sre_ucs1_charset:
   93|     19|{
   94|       |    /* check if character is a member of the given set */
   95|       |
   96|     19|    int ok = 1;
   97|       |
   98|     33|    for (;;) {
   99|     33|        switch (*set++) {
  100|       |
  101|     10|        case SRE_OP_FAILURE:
  ------------------
  |  |   15|     10|#define SRE_OP_FAILURE 0
  ------------------
  |  Branch (101:9): [True: 10, False: 23]
  ------------------
  102|     10|            return !ok;
  103|       |
  104|     11|        case SRE_OP_LITERAL:
  ------------------
  |  |   31|     11|#define SRE_OP_LITERAL 16
  ------------------
  |  Branch (104:9): [True: 11, False: 22]
  ------------------
  105|       |            /* <LITERAL> <code> */
  106|     11|            if (ch == set[0])
  ------------------
  |  Branch (106:17): [True: 3, False: 8]
  ------------------
  107|      3|                return ok;
  108|      8|            set++;
  109|      8|            break;
  110|       |
  111|      0|        case SRE_OP_CATEGORY:
  ------------------
  |  |   23|      0|#define SRE_OP_CATEGORY 8
  ------------------
  |  Branch (111:9): [True: 0, False: 33]
  ------------------
  112|       |            /* <CATEGORY> <code> */
  113|      0|            if (sre_category(set[0], (int) ch))
  ------------------
  |  Branch (113:17): [True: 0, False: 0]
  ------------------
  114|      0|                return ok;
  115|      0|            set++;
  116|      0|            break;
  117|       |
  118|     12|        case SRE_OP_CHARSET:
  ------------------
  |  |   24|     12|#define SRE_OP_CHARSET 9
  ------------------
  |  Branch (118:9): [True: 12, False: 21]
  ------------------
  119|       |            /* <CHARSET> <bitmap> */
  120|     12|            if (ch < 256 &&
  ------------------
  |  Branch (120:17): [True: 12, False: 0]
  ------------------
  121|     12|                (set[ch/SRE_CODE_BITS] & (1u << (ch & (SRE_CODE_BITS-1)))))
  ------------------
  |  |   56|     12|#define SRE_CODE_BITS (8 * sizeof(SRE_CODE))
  ------------------
                              (set[ch/SRE_CODE_BITS] & (1u << (ch & (SRE_CODE_BITS-1)))))
  ------------------
  |  |   56|     12|#define SRE_CODE_BITS (8 * sizeof(SRE_CODE))
  ------------------
  |  Branch (121:17): [True: 6, False: 6]
  ------------------
  122|      6|                return ok;
  123|      6|            set += 256/SRE_CODE_BITS;
  ------------------
  |  |   56|      6|#define SRE_CODE_BITS (8 * sizeof(SRE_CODE))
  ------------------
  124|      6|            break;
  125|       |
  126|      0|        case SRE_OP_RANGE:
  ------------------
  |  |   37|      0|#define SRE_OP_RANGE 22
  ------------------
  |  Branch (126:9): [True: 0, False: 33]
  ------------------
  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: 33]
  ------------------
  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: 33]
  ------------------
  148|      0|            ok = !ok;
  149|      0|            break;
  150|       |
  151|      0|        case SRE_OP_BIGCHARSET:
  ------------------
  |  |   25|      0|#define SRE_OP_BIGCHARSET 10
  ------------------
  |  Branch (151:9): [True: 0, False: 33]
  ------------------
  152|       |            /* <BIGCHARSET> <blockcount> <256 blockindices> <blocks> */
  153|      0|        {
  154|      0|            Py_ssize_t count, block;
  155|      0|            count = *(set++);
  156|       |
  157|      0|            if (ch < 0x10000u)
  ------------------
  |  Branch (157:17): [True: 0, False: 0]
  ------------------
  158|      0|                block = ((unsigned char*)set)[ch >> 8];
  159|      0|            else
  160|      0|                block = -1;
  161|      0|            set += 256/sizeof(SRE_CODE);
  162|      0|            if (block >=0 &&
  ------------------
  |  Branch (162:17): [True: 0, False: 0]
  ------------------
  163|      0|                (set[(block * 256 + (ch & 255))/SRE_CODE_BITS] &
  ------------------
  |  |   56|      0|#define SRE_CODE_BITS (8 * sizeof(SRE_CODE))
  ------------------
  |  Branch (163:17): [True: 0, False: 0]
  ------------------
  164|      0|                    (1u << (ch & (SRE_CODE_BITS-1)))))
  ------------------
  |  |   56|      0|#define SRE_CODE_BITS (8 * sizeof(SRE_CODE))
  ------------------
  165|      0|                return ok;
  166|      0|            set += count * (256/SRE_CODE_BITS);
  ------------------
  |  |   56|      0|#define SRE_CODE_BITS (8 * sizeof(SRE_CODE))
  ------------------
  167|      0|            break;
  168|      0|        }
  169|       |
  170|      0|        default:
  ------------------
  |  Branch (170:9): [True: 0, False: 33]
  ------------------
  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|     33|        }
  175|     33|    }
  176|     19|}
sre.c:sre_ucs1_count:
  194|    127|{
  195|    127|    SRE_CODE chr;
  ------------------
  |  |   18|    127|#define SRE_CODE Py_UCS4
  ------------------
  196|    127|    SRE_CODE arg;
  ------------------
  |  |   18|    127|#define SRE_CODE Py_UCS4
  ------------------
  197|    127|    SRE_CHAR c;
  ------------------
  |  |  499|    127|#define SRE_CHAR Py_UCS1
  ------------------
  198|    127|    const SRE_CHAR* ptr = (const SRE_CHAR *)state->ptr;
  199|    127|    const SRE_CHAR* end = (const SRE_CHAR *)state->end;
  200|    127|    Py_ssize_t i;
  201|    127|    INIT_TRACE(state);
  202|       |
  203|       |    /* adjust end */
  204|    127|    if (maxcount < end - ptr && maxcount != SRE_MAXREPEAT)
  ------------------
  |  |   20|    117|# define SRE_MAXREPEAT (~(SRE_CODE)0)
  ------------------
  |  Branch (204:9): [True: 117, False: 10]
  |  Branch (204:33): [True: 117, False: 0]
  ------------------
  205|    117|        end = ptr + maxcount;
  206|       |
  207|    127|    switch (pattern[0]) {
  208|       |
  209|      6|    case SRE_OP_IN:
  ------------------
  |  |   28|      6|#define SRE_OP_IN 13
  ------------------
  |  Branch (209:5): [True: 6, False: 121]
  ------------------
  210|       |        /* repeated set */
  211|      6|        TRACE(("|%p|%p|COUNT IN\n", pattern, ptr));
  212|      6|        while (ptr < end && SRE(charset)(state, pattern + 2, *ptr))
  ------------------
  |  |  501|      6|#define SRE(F) sre_ucs1_##F
  ------------------
  |  Branch (212:16): [True: 6, False: 0]
  |  Branch (212:29): [True: 0, False: 6]
  ------------------
  213|      0|            ptr++;
  214|      6|        break;
  215|       |
  216|    120|    case SRE_OP_ANY:
  ------------------
  |  |   17|    120|#define SRE_OP_ANY 2
  ------------------
  |  Branch (216:5): [True: 120, False: 7]
  ------------------
  217|       |        /* repeated dot wildcard. */
  218|    120|        TRACE(("|%p|%p|COUNT ANY\n", pattern, ptr));
  219|    237|        while (ptr < end && !SRE_IS_LINEBREAK(*ptr))
  ------------------
  |  |  142|    120|    ((ch) == '\n')
  ------------------
  |  Branch (219:16): [True: 120, False: 117]
  |  Branch (219:29): [True: 117, False: 3]
  ------------------
  220|    117|            ptr++;
  221|    120|        break;
  222|       |
  223|      0|    case SRE_OP_ANY_ALL:
  ------------------
  |  |   18|      0|#define SRE_OP_ANY_ALL 3
  ------------------
  |  Branch (223:5): [True: 0, False: 127]
  ------------------
  224|       |        /* repeated dot wildcard.  skip to the end of the target
  225|       |           string, and backtrack from there */
  226|      0|        TRACE(("|%p|%p|COUNT ANY_ALL\n", pattern, ptr));
  227|      0|        ptr = end;
  228|      0|        break;
  229|       |
  230|      0|    case SRE_OP_LITERAL:
  ------------------
  |  |   31|      0|#define SRE_OP_LITERAL 16
  ------------------
  |  Branch (230:5): [True: 0, False: 127]
  ------------------
  231|       |        /* repeated literal */
  232|      0|        chr = pattern[1];
  233|      0|        TRACE(("|%p|%p|COUNT LITERAL %d\n", pattern, ptr, chr));
  234|      0|        c = (SRE_CHAR) chr;
  235|      0|#if SIZEOF_SRE_CHAR < 4
  236|      0|        if ((SRE_CODE) c != chr)
  ------------------
  |  Branch (236:13): [True: 0, False: 0]
  ------------------
  237|      0|            ; /* literal can't match: doesn't fit in char width */
  238|      0|        else
  239|      0|#endif
  240|      0|        while (ptr < end && *ptr == c)
  ------------------
  |  Branch (240:16): [True: 0, False: 0]
  |  Branch (240:29): [True: 0, False: 0]
  ------------------
  241|      0|            ptr++;
  242|      0|        break;
  243|       |
  244|      0|    case SRE_OP_LITERAL_IGNORE:
  ------------------
  |  |   47|      0|#define SRE_OP_LITERAL_IGNORE 32
  ------------------
  |  Branch (244:5): [True: 0, False: 127]
  ------------------
  245|       |        /* repeated literal */
  246|      0|        chr = pattern[1];
  247|      0|        TRACE(("|%p|%p|COUNT LITERAL_IGNORE %d\n", pattern, ptr, chr));
  248|      0|        while (ptr < end && (SRE_CODE) sre_lower_ascii(*ptr) == chr)
  ------------------
  |  Branch (248:16): [True: 0, False: 0]
  |  Branch (248:29): [True: 0, False: 0]
  ------------------
  249|      0|            ptr++;
  250|      0|        break;
  251|       |
  252|      0|    case SRE_OP_LITERAL_UNI_IGNORE:
  ------------------
  |  |   55|      0|#define SRE_OP_LITERAL_UNI_IGNORE 40
  ------------------
  |  Branch (252:5): [True: 0, False: 127]
  ------------------
  253|       |        /* repeated literal */
  254|      0|        chr = pattern[1];
  255|      0|        TRACE(("|%p|%p|COUNT LITERAL_UNI_IGNORE %d\n", pattern, ptr, chr));
  256|      0|        while (ptr < end && (SRE_CODE) sre_lower_unicode(*ptr) == chr)
  ------------------
  |  Branch (256:16): [True: 0, False: 0]
  |  Branch (256:29): [True: 0, False: 0]
  ------------------
  257|      0|            ptr++;
  258|      0|        break;
  259|       |
  260|      0|    case SRE_OP_LITERAL_LOC_IGNORE:
  ------------------
  |  |   51|      0|#define SRE_OP_LITERAL_LOC_IGNORE 36
  ------------------
  |  Branch (260:5): [True: 0, False: 127]
  ------------------
  261|       |        /* repeated literal */
  262|      0|        chr = pattern[1];
  263|      0|        TRACE(("|%p|%p|COUNT LITERAL_LOC_IGNORE %d\n", pattern, ptr, chr));
  264|      0|        while (ptr < end && char_loc_ignore(chr, *ptr))
  ------------------
  |  Branch (264:16): [True: 0, False: 0]
  |  Branch (264:29): [True: 0, False: 0]
  ------------------
  265|      0|            ptr++;
  266|      0|        break;
  267|       |
  268|      0|    case SRE_OP_NOT_LITERAL:
  ------------------
  |  |   35|      0|#define SRE_OP_NOT_LITERAL 20
  ------------------
  |  Branch (268:5): [True: 0, False: 127]
  ------------------
  269|       |        /* repeated non-literal */
  270|      0|        chr = pattern[1];
  271|      0|        TRACE(("|%p|%p|COUNT NOT_LITERAL %d\n", pattern, ptr, chr));
  272|      0|        c = (SRE_CHAR) chr;
  273|      0|#if SIZEOF_SRE_CHAR < 4
  274|      0|        if ((SRE_CODE) c != chr)
  ------------------
  |  Branch (274:13): [True: 0, False: 0]
  ------------------
  275|      0|            ptr = end; /* literal can't match: doesn't fit in char width */
  276|      0|        else
  277|      0|#endif
  278|      0|        while (ptr < end && *ptr != c)
  ------------------
  |  Branch (278:16): [True: 0, False: 0]
  |  Branch (278:29): [True: 0, False: 0]
  ------------------
  279|      0|            ptr++;
  280|      0|        break;
  281|       |
  282|      0|    case SRE_OP_NOT_LITERAL_IGNORE:
  ------------------
  |  |   48|      0|#define SRE_OP_NOT_LITERAL_IGNORE 33
  ------------------
  |  Branch (282:5): [True: 0, False: 127]
  ------------------
  283|       |        /* repeated non-literal */
  284|      0|        chr = pattern[1];
  285|      0|        TRACE(("|%p|%p|COUNT NOT_LITERAL_IGNORE %d\n", pattern, ptr, chr));
  286|      0|        while (ptr < end && (SRE_CODE) sre_lower_ascii(*ptr) != chr)
  ------------------
  |  Branch (286:16): [True: 0, False: 0]
  |  Branch (286:29): [True: 0, False: 0]
  ------------------
  287|      0|            ptr++;
  288|      0|        break;
  289|       |
  290|      0|    case SRE_OP_NOT_LITERAL_UNI_IGNORE:
  ------------------
  |  |   56|      0|#define SRE_OP_NOT_LITERAL_UNI_IGNORE 41
  ------------------
  |  Branch (290:5): [True: 0, False: 127]
  ------------------
  291|       |        /* repeated non-literal */
  292|      0|        chr = pattern[1];
  293|      0|        TRACE(("|%p|%p|COUNT NOT_LITERAL_UNI_IGNORE %d\n", pattern, ptr, chr));
  294|      0|        while (ptr < end && (SRE_CODE) sre_lower_unicode(*ptr) != chr)
  ------------------
  |  Branch (294:16): [True: 0, False: 0]
  |  Branch (294:29): [True: 0, False: 0]
  ------------------
  295|      0|            ptr++;
  296|      0|        break;
  297|       |
  298|      0|    case SRE_OP_NOT_LITERAL_LOC_IGNORE:
  ------------------
  |  |   52|      0|#define SRE_OP_NOT_LITERAL_LOC_IGNORE 37
  ------------------
  |  Branch (298:5): [True: 0, False: 127]
  ------------------
  299|       |        /* repeated non-literal */
  300|      0|        chr = pattern[1];
  301|      0|        TRACE(("|%p|%p|COUNT NOT_LITERAL_LOC_IGNORE %d\n", pattern, ptr, chr));
  302|      0|        while (ptr < end && !char_loc_ignore(chr, *ptr))
  ------------------
  |  Branch (302:16): [True: 0, False: 0]
  |  Branch (302:29): [True: 0, False: 0]
  ------------------
  303|      0|            ptr++;
  304|      0|        break;
  305|       |
  306|      1|    case SRE_OP_CATEGORY:
  ------------------
  |  |   23|      1|#define SRE_OP_CATEGORY 8
  ------------------
  |  Branch (306:5): [True: 1, False: 126]
  ------------------
  307|      1|        arg = pattern[1];
  308|      1|        TRACE(("|%p|%p|COUNT CATEGORY %d\n", pattern, ptr, arg));
  309|      1|        while (ptr < end && sre_category(arg, *ptr))
  ------------------
  |  Branch (309:16): [True: 0, False: 1]
  |  Branch (309:29): [True: 0, False: 0]
  ------------------
  310|      0|            ptr++;
  311|      1|        break;
  312|       |
  313|      0|    default:
  ------------------
  |  Branch (313:5): [True: 0, False: 127]
  ------------------
  314|       |        /* repeated single character pattern */
  315|      0|        TRACE(("|%p|%p|COUNT SUBPATTERN\n", pattern, ptr));
  316|      0|        while ((SRE_CHAR*) state->ptr < end) {
  ------------------
  |  Branch (316:16): [True: 0, False: 0]
  ------------------
  317|      0|            i = SRE(match)(state, pattern, 0);
  ------------------
  |  |  501|      0|#define SRE(F) sre_ucs1_##F
  ------------------
  318|      0|            if (i < 0)
  ------------------
  |  Branch (318:17): [True: 0, False: 0]
  ------------------
  319|      0|                return i;
  320|      0|            if (!i)
  ------------------
  |  Branch (320:17): [True: 0, False: 0]
  ------------------
  321|      0|                break;
  322|      0|        }
  323|      0|        TRACE(("|%p|%p|COUNT %zd\n", pattern, ptr,
  324|      0|               (SRE_CHAR*) state->ptr - ptr));
  325|      0|        return (SRE_CHAR*) state->ptr - ptr;
  326|    127|    }
  327|       |
  328|    127|    TRACE(("|%p|%p|COUNT %zd\n", pattern, ptr,
  329|    127|           ptr - (SRE_CHAR*) state->ptr));
  330|    127|    return ptr - (SRE_CHAR*) state->ptr;
  331|    127|}

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|      2|{
  295|      2|    unsigned long value;
  296|      2|    mode_t mode;
  297|       |
  298|      2|    if (PyLong_Check(op)) {
  ------------------
  |  |   13|      2|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  299|      2|        value = PyLong_AsUnsignedLong(op);
  300|      2|    }
  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|      2|    if ((value == (unsigned long)-1) && PyErr_Occurred()) {
  ------------------
  |  Branch (310:9): [True: 0, False: 2]
  |  Branch (310:41): [True: 0, False: 0]
  ------------------
  311|      0|        return (mode_t)-1;
  312|      0|    }
  313|       |
  314|      2|    mode = (mode_t)value;
  315|      2|    if ((unsigned long)mode != value) {
  ------------------
  |  Branch (315:9): [True: 0, False: 2]
  ------------------
  316|      0|        PyErr_SetString(PyExc_OverflowError, "mode out of range");
  317|      0|        return (mode_t)-1;
  318|      0|    }
  319|      2|    return mode;
  320|      2|}
_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|    451|{
   59|    451|    void *state = _PyModule_GetState(module);
   60|    451|    assert(state != NULL);
  ------------------
  |  Branch (60:5): [True: 451, False: 0]
  ------------------
   61|    451|    return (thread_module_state *)state;
   62|    451|}
_threadmodule.c:thread_PyThread_allocate_lock:
 2115|     89|{
 2116|     89|    thread_module_state *state = get_thread_state(module);
 2117|     89|    return lock_new_impl(state->lock_type);
 2118|     89|}
_threadmodule.c:lock_new_impl:
  994|     89|{
  995|     89|    lockobject *self = (lockobject *)type->tp_alloc(type, 0);
  996|     89|    if (self == NULL) {
  ------------------
  |  Branch (996:9): [True: 0, False: 89]
  ------------------
  997|      0|        return NULL;
  998|      0|    }
  999|     89|    self->lock = (PyMutex){0};
 1000|     89|    return (PyObject *)self;
 1001|     89|}
_threadmodule.c:thread_get_ident:
 2135|    240|{
 2136|    240|    PyThread_ident_t ident = PyThread_get_thread_ident_ex();
 2137|    240|    if (ident == PYTHREAD_INVALID_THREAD_ID) {
  ------------------
  |  |   13|    240|#define PYTHREAD_INVALID_THREAD_ID ((unsigned long)-1)
  ------------------
  |  Branch (2137:9): [True: 0, False: 240]
  ------------------
 2138|      0|        PyErr_SetString(ThreadError, "no current thread ident");
  ------------------
  |  |   23|      0|#define ThreadError PyExc_RuntimeError
  ------------------
 2139|      0|        return NULL;
 2140|      0|    }
 2141|    240|    return PyLong_FromUnsignedLongLong(ident);
 2142|    240|}
_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) {
  ------------------
  |  | 2136|      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:lock_dealloc:
  770|     89|{
  771|     89|    PyObject_GC_UnTrack(self);
  772|     89|    PyObject_ClearWeakRefs(self);
  773|     89|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|     89|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     89|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     89|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  774|     89|    tp->tp_free(self);
  775|     89|    Py_DECREF(tp);
  ------------------
  |  |  430|     89|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     89|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     89|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  776|     89|}
_threadmodule.c:lock_acquire_parse_timeout:
  781|    240|{
  782|       |    // XXX Use PyThread_ParseTimeoutArg().
  783|       |
  784|    240|    const PyTime_t unset_timeout = _PyTime_FromSeconds(-1);
  785|    240|    *timeout = unset_timeout;
  786|       |
  787|    240|    if (timeout_obj
  ------------------
  |  Branch (787:9): [True: 0, False: 240]
  ------------------
  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|    240|    if (!blocking && *timeout != unset_timeout ) {
  ------------------
  |  Branch (792:9): [True: 0, False: 240]
  |  Branch (792:22): [True: 0, False: 0]
  ------------------
  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|    240|    if (*timeout < 0 && *timeout != unset_timeout) {
  ------------------
  |  Branch (797:9): [True: 240, False: 0]
  |  Branch (797:25): [True: 0, False: 240]
  ------------------
  798|      0|        PyErr_SetString(PyExc_ValueError,
  799|      0|                        "timeout value must be a non-negative number");
  800|      0|        return -1;
  801|      0|    }
  802|    240|    if (!blocking)
  ------------------
  |  Branch (802:9): [True: 0, False: 240]
  ------------------
  803|      0|        *timeout = 0;
  804|    240|    else if (*timeout != unset_timeout) {
  ------------------
  |  Branch (804:14): [True: 0, False: 240]
  ------------------
  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|    240|    return 0;
  815|    240|}
_threadmodule.c:get_thread_state_by_cls:
   66|     90|{
   67|       |    // Use PyType_GetModuleByDef() to handle (R)Lock subclasses.
   68|     90|    PyObject *module = PyType_GetModuleByDef(cls, &thread_module);
   69|     90|    if (module == NULL) {
  ------------------
  |  Branch (69:9): [True: 0, False: 90]
  ------------------
   70|      0|        return NULL;
   71|      0|    }
   72|     90|    return get_thread_state(module);
   73|     90|}
_threadmodule.c:rlock_dealloc:
 1062|     89|{
 1063|     89|    PyObject_GC_UnTrack(self);
 1064|     89|    PyObject_ClearWeakRefs(self);
 1065|     89|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|     89|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     89|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     89|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1066|     89|    tp->tp_free(self);
 1067|     89|    Py_DECREF(tp);
  ------------------
  |  |  430|     89|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     89|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     89|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1068|     89|}
_threadmodule.c:_thread_RLock_acquire_impl:
 1095|    240|{
 1096|    240|    PyTime_t timeout;
 1097|       |
 1098|    240|    if (lock_acquire_parse_timeout(timeoutobj, blocking, &timeout) < 0) {
  ------------------
  |  Branch (1098:9): [True: 0, False: 240]
  ------------------
 1099|      0|        return NULL;
 1100|      0|    }
 1101|       |
 1102|    240|    PyLockStatus r = _PyRecursiveMutex_LockTimed(
 1103|    240|        &self->lock, timeout,
 1104|    240|        _PY_LOCK_PYTHONLOCK | _PY_LOCK_HANDLE_SIGNALS | _PY_LOCK_DETACH);
 1105|    240|    if (r == PY_LOCK_INTR) {
  ------------------
  |  Branch (1105:9): [True: 0, False: 240]
  ------------------
 1106|      0|        assert(PyErr_Occurred());
  ------------------
  |  Branch (1106:9): [True: 0, False: 0]
  ------------------
 1107|      0|        return NULL;
 1108|      0|    }
 1109|    240|    if (r == PY_LOCK_FAILURE && PyErr_Occurred()) {
  ------------------
  |  Branch (1109:9): [True: 0, False: 240]
  |  Branch (1109:33): [True: 0, False: 0]
  ------------------
 1110|      0|        return NULL;
 1111|      0|    }
 1112|       |
 1113|    240|    return PyBool_FromLong(r == PY_LOCK_ACQUIRED);
 1114|    240|}
_threadmodule.c:_thread_RLock_release_impl:
 1147|    240|{
 1148|    240|    if (_PyRecursiveMutex_TryUnlock(&self->lock) < 0) {
  ------------------
  |  Branch (1148:9): [True: 0, False: 240]
  ------------------
 1149|      0|        PyErr_SetString(PyExc_RuntimeError,
 1150|      0|                        "cannot release un-acquired lock");
 1151|      0|        return NULL;
 1152|      0|    }
 1153|    240|    Py_RETURN_NONE;
  ------------------
  |  |  628|    240|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    240|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1154|    240|}
_threadmodule.c:_thread_RLock___enter___impl:
 1125|    240|{
 1126|       |    return _thread_RLock_acquire_impl(self, 1, NULL);
 1127|    240|}
_threadmodule.c:_thread_RLock___exit___impl:
 1171|    240|{
 1172|    240|    return _thread_RLock_release_impl(self);
 1173|    240|}
_threadmodule.c:rlock_new_impl:
 1278|     90|{
 1279|     90|    rlockobject *self = (rlockobject *) type->tp_alloc(type, 0);
 1280|     90|    if (self == NULL) {
  ------------------
  |  Branch (1280:9): [True: 0, False: 90]
  ------------------
 1281|      0|        return NULL;
 1282|      0|    }
 1283|     90|    self->lock = (_PyRecursiveMutex){0};
 1284|     90|    return (PyObject *) self;
 1285|     90|}
_threadmodule.c:thread_module_traverse:
 2818|    270|{
 2819|    270|    thread_module_state *state = get_thread_state(module);
 2820|    270|    Py_VISIT(state->excepthook_type);
  ------------------
  |  |  194|    270|    do {                                                                \
  |  |  195|    270|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 270, False: 0]
  |  |  ------------------
  |  |  196|    270|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    270|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    270|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    270|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 270]
  |  |  ------------------
  |  |  198|    270|                return vret;                                            \
  |  |  199|    270|        }                                                               \
  |  |  200|    270|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 270]
  |  |  ------------------
  ------------------
 2821|    270|    Py_VISIT(state->lock_type);
  ------------------
  |  |  194|    270|    do {                                                                \
  |  |  195|    270|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 270, False: 0]
  |  |  ------------------
  |  |  196|    270|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    270|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    270|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    270|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 270]
  |  |  ------------------
  |  |  198|    270|                return vret;                                            \
  |  |  199|    270|        }                                                               \
  |  |  200|    270|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 270]
  |  |  ------------------
  ------------------
 2822|    270|    Py_VISIT(state->rlock_type);
  ------------------
  |  |  194|    270|    do {                                                                \
  |  |  195|    270|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 270, False: 0]
  |  |  ------------------
  |  |  196|    270|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    270|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    270|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    270|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 270]
  |  |  ------------------
  |  |  198|    270|                return vret;                                            \
  |  |  199|    270|        }                                                               \
  |  |  200|    270|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 270]
  |  |  ------------------
  ------------------
 2823|    270|    Py_VISIT(state->local_type);
  ------------------
  |  |  194|    270|    do {                                                                \
  |  |  195|    270|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 270, False: 0]
  |  |  ------------------
  |  |  196|    270|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    270|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    270|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    270|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 270]
  |  |  ------------------
  |  |  198|    270|                return vret;                                            \
  |  |  199|    270|        }                                                               \
  |  |  200|    270|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 270]
  |  |  ------------------
  ------------------
 2824|    270|    Py_VISIT(state->local_dummy_type);
  ------------------
  |  |  194|    270|    do {                                                                \
  |  |  195|    270|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 270, False: 0]
  |  |  ------------------
  |  |  196|    270|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    270|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    270|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    270|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 270]
  |  |  ------------------
  |  |  198|    270|                return vret;                                            \
  |  |  199|    270|        }                                                               \
  |  |  200|    270|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 270]
  |  |  ------------------
  ------------------
 2825|    270|    Py_VISIT(state->thread_handle_type);
  ------------------
  |  |  194|    270|    do {                                                                \
  |  |  195|    270|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 270, False: 0]
  |  |  ------------------
  |  |  196|    270|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    270|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    270|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    270|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 270]
  |  |  ------------------
  |  |  198|    270|                return vret;                                            \
  |  |  199|    270|        }                                                               \
  |  |  200|    270|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 270]
  |  |  ------------------
  ------------------
 2826|    270|    return 0;
 2827|    270|}

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

PyInit__weakref:
  186|      2|{
  187|      2|    return PyModuleDef_Init(&weakrefmodule);
  188|      2|}
_weakref.c:_weakref__remove_dead_weakref_impl:
   58|    120|{
   59|    120|    if (_PyDict_DelItemIf(dct, key, is_dead_weakref, NULL) < 0) {
  ------------------
  |  Branch (59:9): [True: 0, False: 120]
  ------------------
   60|      0|        return NULL;
   61|      0|    }
   62|    120|    Py_RETURN_NONE;
  ------------------
  |  |  628|    120|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    120|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
   63|    120|}
_weakref.c:is_dead_weakref:
   35|    120|{
   36|    120|    if (!PyWeakref_Check(value)) {
  ------------------
  |  |   23|    120|        (PyWeakref_CheckRef(op) || PyWeakref_CheckProxy(op))
  |  |  ------------------
  |  |  |  |   15|    120|#define PyWeakref_CheckRef(op) PyObject_TypeCheck((op), &_PyWeakref_RefType)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|    240|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    120|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    120|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 120, 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|    120|    return _PyWeakref_IS_DEAD(value);
   41|    120|}
_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|}

LLVMFuzzerInitialize:
  598|      2|int LLVMFuzzerInitialize(int *argc, char ***argv) {
  599|      2|    PyConfig config;
  600|      2|    PyConfig_InitPythonConfig(&config);
  601|      2|    config.install_signal_handlers = 0;
  602|       |    /* Raise the limit above the default allows exercising larger things
  603|       |     * now that we fall back to the _pylong module for large values. */
  604|      2|    config.int_max_str_digits = 8086;
  605|      2|    PyStatus status;
  606|      2|    status = PyConfig_SetBytesString(&config, &config.program_name, *argv[0]);
  607|      2|    if (PyStatus_Exception(status)) {
  ------------------
  |  Branch (607:9): [True: 0, False: 2]
  ------------------
  608|      0|        goto fail;
  609|      0|    }
  610|       |
  611|      2|    status = Py_InitializeFromConfig(&config);
  612|      2|    if (PyStatus_Exception(status)) {
  ------------------
  |  Branch (612:9): [True: 0, False: 2]
  ------------------
  613|      0|        goto fail;
  614|      0|    }
  615|      2|    PyConfig_Clear(&config);
  616|       |
  617|      2|    return 0;
  618|       |
  619|      0|fail:
  620|      0|    PyConfig_Clear(&config);
  621|      0|    Py_ExitStatusException(status);
  622|      2|}
LLVMFuzzerTestOneInput:
  631|  4.60k|int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
  632|  4.60k|    assert(Py_IsInitialized());
  633|       |
  634|  4.60k|    int rv = 0;
  635|       |
  636|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_builtin_float)
  637|       |    rv |= _run_fuzz(data, size, fuzz_builtin_float);
  638|       |#endif
  639|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_builtin_int)
  640|       |    rv |= _run_fuzz(data, size, fuzz_builtin_int);
  641|       |#endif
  642|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_builtin_unicode)
  643|       |    rv |= _run_fuzz(data, size, fuzz_builtin_unicode);
  644|       |#endif
  645|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_struct_unpack)
  646|       |    static int STRUCT_UNPACK_INITIALIZED = 0;
  647|       |    if (!STRUCT_UNPACK_INITIALIZED && !init_struct_unpack()) {
  648|       |        PyErr_Print();
  649|       |        abort();
  650|       |    } else {
  651|       |        STRUCT_UNPACK_INITIALIZED = 1;
  652|       |    }
  653|       |    rv |= _run_fuzz(data, size, fuzz_struct_unpack);
  654|       |#endif
  655|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_json_loads)
  656|       |    static int JSON_LOADS_INITIALIZED = 0;
  657|       |    if (!JSON_LOADS_INITIALIZED && !init_json_loads()) {
  658|       |        PyErr_Print();
  659|       |        abort();
  660|       |    } else {
  661|       |        JSON_LOADS_INITIALIZED = 1;
  662|       |    }
  663|       |
  664|       |    rv |= _run_fuzz(data, size, fuzz_json_loads);
  665|       |#endif
  666|  4.60k|#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_sre_compile)
  667|  4.60k|    static int SRE_COMPILE_INITIALIZED = 0;
  668|  4.60k|    if (!SRE_COMPILE_INITIALIZED && !init_sre_compile()) {
  ------------------
  |  Branch (668:9): [True: 1, False: 4.60k]
  |  Branch (668:37): [True: 0, False: 1]
  ------------------
  669|      0|        PyErr_Print();
  670|      0|        abort();
  671|  4.60k|    } else {
  672|  4.60k|        SRE_COMPILE_INITIALIZED = 1;
  673|  4.60k|    }
  674|       |
  675|  4.60k|    if (SRE_COMPILE_INITIALIZED) {
  ------------------
  |  Branch (675:9): [True: 4.60k, False: 0]
  ------------------
  676|  4.60k|        rv |= _run_fuzz(data, size, fuzz_sre_compile);
  677|  4.60k|    }
  678|  4.60k|#endif
  679|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_sre_match)
  680|       |    static int SRE_MATCH_INITIALIZED = 0;
  681|       |    if (!SRE_MATCH_INITIALIZED && !init_sre_match()) {
  682|       |        PyErr_Print();
  683|       |        abort();
  684|       |    } else {
  685|       |        SRE_MATCH_INITIALIZED = 1;
  686|       |    }
  687|       |
  688|       |    rv |= _run_fuzz(data, size, fuzz_sre_match);
  689|       |#endif
  690|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_csv_reader)
  691|       |    static int CSV_READER_INITIALIZED = 0;
  692|       |    if (!CSV_READER_INITIALIZED && !init_csv_reader()) {
  693|       |        PyErr_Print();
  694|       |        abort();
  695|       |    } else {
  696|       |        CSV_READER_INITIALIZED = 1;
  697|       |    }
  698|       |
  699|       |    rv |= _run_fuzz(data, size, fuzz_csv_reader);
  700|       |#endif
  701|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_ast_literal_eval)
  702|       |    static int AST_LITERAL_EVAL_INITIALIZED = 0;
  703|       |    if (!AST_LITERAL_EVAL_INITIALIZED && !init_ast_literal_eval()) {
  704|       |        PyErr_Print();
  705|       |        abort();
  706|       |    } else {
  707|       |        AST_LITERAL_EVAL_INITIALIZED = 1;
  708|       |    }
  709|       |
  710|       |    rv |= _run_fuzz(data, size, fuzz_ast_literal_eval);
  711|       |#endif
  712|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_elementtree_parsewhole)
  713|       |    static int ELEMENTTREE_PARSEWHOLE_INITIALIZED = 0;
  714|       |    if (!ELEMENTTREE_PARSEWHOLE_INITIALIZED && !init_elementtree_parsewhole()) {
  715|       |        PyErr_Print();
  716|       |        abort();
  717|       |    } else {
  718|       |        ELEMENTTREE_PARSEWHOLE_INITIALIZED = 1;
  719|       |    }
  720|       |
  721|       |    rv |= _run_fuzz(data, size, fuzz_elementtree_parsewhole);
  722|       |#endif
  723|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_pycompile)
  724|       |    rv |= _run_fuzz(data, size, fuzz_pycompile);
  725|       |#endif
  726|  4.60k|  return rv;
  727|  4.60k|}
fuzzer.c:init_sre_compile:
  198|      1|static int init_sre_compile(void) {
  199|       |    /* Import sre_compile.compile and sre.error */
  200|      1|    PyObject* re_module = PyImport_ImportModule("re");
  201|      1|    if (re_module == NULL) {
  ------------------
  |  Branch (201:9): [True: 0, False: 1]
  ------------------
  202|      0|        return 0;
  203|      0|    }
  204|      1|    re_compile_method = PyObject_GetAttrString(re_module, "compile");
  205|      1|    if (re_compile_method == NULL) {
  ------------------
  |  Branch (205:9): [True: 0, False: 1]
  ------------------
  206|      0|        return 0;
  207|      0|    }
  208|       |
  209|      1|    re_error_exception = PyObject_GetAttrString(re_module, "error");
  210|      1|    if (re_error_exception == NULL) {
  ------------------
  |  Branch (210:9): [True: 0, False: 1]
  ------------------
  211|      0|        return 0;
  212|      0|    }
  213|      1|    PyObject* debug_flag = PyObject_GetAttrString(re_module, "DEBUG");
  214|      1|    if (debug_flag == NULL) {
  ------------------
  |  Branch (214:9): [True: 0, False: 1]
  ------------------
  215|      0|        return 0;
  216|      0|    }
  217|      1|    RE_FLAG_DEBUG = PyLong_AsLong(debug_flag);
  218|      1|    return 1;
  219|      1|}
fuzzer.c:_run_fuzz:
  582|  4.60k|static int _run_fuzz(const uint8_t *data, size_t size, int(*fuzzer)(const char* , size_t)) {
  583|  4.60k|    int rv = fuzzer((const char*) data, size);
  584|  4.60k|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (584:9): [True: 0, False: 4.60k]
  ------------------
  585|       |        /* Fuzz tests should handle expected errors for themselves.
  586|       |           This is last-ditch check in case they didn't. */
  587|      0|        PyErr_Print();
  588|      0|        abort();
  589|      0|    }
  590|       |    /* Someday the return value might mean something, propagate it. */
  591|  4.60k|    return rv;
  592|  4.60k|}
fuzzer.c:fuzz_sre_compile:
  221|  4.60k|static int fuzz_sre_compile(const char* data, size_t size) {
  222|       |    /* Ignore really long regex patterns that will timeout the fuzzer */
  223|  4.60k|    if (size > MAX_RE_TEST_SIZE) {
  ------------------
  |  |  192|  4.60k|#define MAX_RE_TEST_SIZE 0x10000
  ------------------
  |  Branch (223:9): [True: 1, False: 4.60k]
  ------------------
  224|      1|        return 0;
  225|      1|    }
  226|       |    /* We treat the first 2 bytes of the input as a number for the flags */
  227|  4.60k|    if (size < 2) {
  ------------------
  |  Branch (227:9): [True: 2, False: 4.60k]
  ------------------
  228|      2|        return 0;
  229|      2|    }
  230|  4.60k|    uint16_t flags = ((uint16_t*) data)[0];
  231|       |    /* We remove the SRE_FLAG_DEBUG if present. This is because it
  232|       |       prints to stdout which greatly decreases fuzzing speed */
  233|  4.60k|    flags &= ~RE_FLAG_DEBUG;
  234|       |
  235|       |    /* Pull the pattern from the remaining bytes */
  236|  4.60k|    PyObject* pattern_bytes = PyBytes_FromStringAndSize(data + 2, size - 2);
  237|  4.60k|    if (pattern_bytes == NULL) {
  ------------------
  |  Branch (237:9): [True: 0, False: 4.60k]
  ------------------
  238|      0|        return 0;
  239|      0|    }
  240|  4.60k|    PyObject* flags_obj = PyLong_FromUnsignedLong(flags);
  241|  4.60k|    if (flags_obj == NULL) {
  ------------------
  |  Branch (241:9): [True: 0, False: 4.60k]
  ------------------
  242|      0|        Py_DECREF(pattern_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  243|      0|        return 0;
  244|      0|    }
  245|       |
  246|       |    /* compiled = re.compile(data[2:], data[0:2] */
  247|  4.60k|    PyObject* compiled = PyObject_CallFunctionObjArgs(
  248|  4.60k|        re_compile_method, pattern_bytes, flags_obj, NULL);
  249|       |    /* Ignore ValueError as the fuzzer will more than likely
  250|       |       generate some invalid combination of flags */
  251|  4.60k|    if (compiled == NULL && PyErr_ExceptionMatches(PyExc_ValueError)) {
  ------------------
  |  Branch (251:9): [True: 2.40k, False: 2.20k]
  |  Branch (251:29): [True: 158, False: 2.24k]
  ------------------
  252|    158|        PyErr_Clear();
  253|    158|    }
  254|       |    /* Ignore some common errors thrown by sre_parse:
  255|       |       Overflow, Assertion, Recursion and Index */
  256|  4.60k|    if (compiled == NULL && (PyErr_ExceptionMatches(PyExc_OverflowError) ||
  ------------------
  |  Branch (256:9): [True: 2.40k, False: 2.20k]
  |  Branch (256:30): [True: 94, False: 2.30k]
  ------------------
  257|  2.30k|                             PyErr_ExceptionMatches(PyExc_AssertionError) ||
  ------------------
  |  Branch (257:30): [True: 0, False: 2.30k]
  ------------------
  258|  2.30k|                             PyErr_ExceptionMatches(PyExc_RecursionError) ||
  ------------------
  |  Branch (258:30): [True: 67, False: 2.24k]
  ------------------
  259|  2.24k|                             PyErr_ExceptionMatches(PyExc_IndexError))
  ------------------
  |  Branch (259:30): [True: 0, False: 2.24k]
  ------------------
  260|  4.60k|    ) {
  261|    161|        PyErr_Clear();
  262|    161|    }
  263|       |    /* Ignore re.error */
  264|  4.60k|    if (compiled == NULL && PyErr_ExceptionMatches(re_error_exception)) {
  ------------------
  |  Branch (264:9): [True: 2.40k, False: 2.20k]
  |  Branch (264:29): [True: 2.08k, False: 319]
  ------------------
  265|  2.08k|        PyErr_Clear();
  266|  2.08k|    }
  267|       |
  268|  4.60k|    Py_DECREF(pattern_bytes);
  ------------------
  |  |  430|  4.60k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  269|  4.60k|    Py_DECREF(flags_obj);
  ------------------
  |  |  430|  4.60k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  270|  4.60k|    Py_XDECREF(compiled);
  ------------------
  |  |  524|  4.60k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  271|  4.60k|    return 0;
  272|  4.60k|}

_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);
  ------------------
  |  Branch (71:5): [True: 2, False: 0]
  ------------------
   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|}

_abc.c:_abc__abc_register:
   65|     82|{
   66|     82|    PyObject *return_value = NULL;
   67|     82|    PyObject *self;
   68|     82|    PyObject *subclass;
   69|       |
   70|     82|    if (!_PyArg_CheckPositional("_abc_register", nargs, 2, 2)) {
  ------------------
  |  |   31|     82|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 82, False: 0]
  |  |  |  Branch (31:27): [True: 82, False: 0]
  |  |  ------------------
  |  |   32|     82|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   71|      0|        goto exit;
   72|      0|    }
   73|     82|    self = args[0];
   74|     82|    subclass = args[1];
   75|     82|    return_value = _abc__abc_register_impl(module, self, subclass);
   76|       |
   77|     82|exit:
   78|     82|    return return_value;
   79|     82|}
_abc.c:_abc__abc_subclasscheck:
  127|     90|{
  128|     90|    PyObject *return_value = NULL;
  129|     90|    PyObject *self;
  130|     90|    PyObject *subclass;
  131|       |
  132|     90|    if (!_PyArg_CheckPositional("_abc_subclasscheck", nargs, 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]
  |  |  ------------------
  ------------------
  133|      0|        goto exit;
  134|      0|    }
  135|     90|    self = args[0];
  136|     90|    subclass = args[1];
  137|     90|    return_value = _abc__abc_subclasscheck_impl(module, self, subclass);
  138|       |
  139|     90|exit:
  140|     90|    return return_value;
  141|     90|}

_codecsmodule.c:_codecs_utf_8_decode:
  484|     14|{
  485|     14|    PyObject *return_value = NULL;
  486|     14|    Py_buffer data = {NULL, NULL};
  487|     14|    const char *errors = NULL;
  488|     14|    int final = 0;
  489|       |
  490|     14|    if (!_PyArg_CheckPositional("utf_8_decode", nargs, 1, 3)) {
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
  491|      0|        goto exit;
  492|      0|    }
  493|     14|    if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|     14|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (493:9): [True: 0, False: 14]
  ------------------
  494|      0|        goto exit;
  495|      0|    }
  496|     14|    if (nargs < 2) {
  ------------------
  |  Branch (496:9): [True: 0, False: 14]
  ------------------
  497|      0|        goto skip_optional;
  498|      0|    }
  499|     14|    if (args[1] == Py_None) {
  ------------------
  |  |  616|     14|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (499:9): [True: 0, False: 14]
  ------------------
  500|      0|        errors = NULL;
  501|      0|    }
  502|     14|    else 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 (760:41): [True: 14, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  503|     14|        Py_ssize_t errors_length;
  504|     14|        errors = PyUnicode_AsUTF8AndSize(args[1], &errors_length);
  505|     14|        if (errors == NULL) {
  ------------------
  |  Branch (505:13): [True: 0, False: 14]
  ------------------
  506|      0|            goto exit;
  507|      0|        }
  508|     14|        if (strlen(errors) != (size_t)errors_length) {
  ------------------
  |  Branch (508:13): [True: 0, False: 14]
  ------------------
  509|      0|            PyErr_SetString(PyExc_ValueError, "embedded null character");
  510|      0|            goto exit;
  511|      0|        }
  512|     14|    }
  513|      0|    else {
  514|      0|        _PyArg_BadArgument("utf_8_decode", "argument 2", "str or None", args[1]);
  515|      0|        goto exit;
  516|      0|    }
  517|     14|    if (nargs < 3) {
  ------------------
  |  Branch (517:9): [True: 0, False: 14]
  ------------------
  518|      0|        goto skip_optional;
  519|      0|    }
  520|     14|    final = PyObject_IsTrue(args[2]);
  521|     14|    if (final < 0) {
  ------------------
  |  Branch (521:9): [True: 0, False: 14]
  ------------------
  522|      0|        goto exit;
  523|      0|    }
  524|     14|skip_optional:
  525|     14|    return_value = _codecs_utf_8_decode_impl(module, &data, errors, final);
  526|       |
  527|     14|exit:
  528|       |    /* Cleanup for data */
  529|     14|    if (data.obj) {
  ------------------
  |  Branch (529:9): [True: 14, False: 0]
  ------------------
  530|     14|       PyBuffer_Release(&data);
  531|     14|    }
  532|       |
  533|     14|    return return_value;
  534|     14|}
_codecsmodule.c:_codecs_lookup_error:
 2918|     12|{
 2919|     12|    PyObject *return_value = NULL;
 2920|     12|    const char *name;
 2921|       |
 2922|     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 (2922:9): [True: 0, False: 12]
  ------------------
 2923|      0|        _PyArg_BadArgument("lookup_error", "argument", "str", arg);
 2924|      0|        goto exit;
 2925|      0|    }
 2926|     12|    Py_ssize_t name_length;
 2927|     12|    name = PyUnicode_AsUTF8AndSize(arg, &name_length);
 2928|     12|    if (name == NULL) {
  ------------------
  |  Branch (2928:9): [True: 0, False: 12]
  ------------------
 2929|      0|        goto exit;
 2930|      0|    }
 2931|     12|    if (strlen(name) != (size_t)name_length) {
  ------------------
  |  Branch (2931:9): [True: 0, False: 12]
  ------------------
 2932|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
 2933|      0|        goto exit;
 2934|      0|    }
 2935|     12|    return_value = _codecs_lookup_error_impl(module, name);
 2936|       |
 2937|     12|exit:
 2938|     12|    return return_value;
 2939|     12|}
_codecsmodule.c:_codecs__normalize_encoding:
 2957|      2|{
 2958|      2|    PyObject *return_value = NULL;
 2959|      2|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 2960|       |
 2961|      2|    #define NUM_KEYWORDS 1
 2962|      2|    static struct {
 2963|      2|        PyGC_Head _this_is_not_used;
 2964|      2|        PyObject_VAR_HEAD
 2965|      2|        Py_hash_t ob_hash;
 2966|      2|        PyObject *ob_item[NUM_KEYWORDS];
 2967|      2|    } _kwtuple = {
 2968|      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|    },
  ------------------
 2969|      2|        .ob_hash = -1,
 2970|      2|        .ob_item = { &_Py_ID(encoding), },
  ------------------
  |  |  920|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2971|      2|    };
 2972|      2|    #undef NUM_KEYWORDS
 2973|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 2974|       |
 2975|       |    #else  // !Py_BUILD_CORE
 2976|       |    #  define KWTUPLE NULL
 2977|       |    #endif  // !Py_BUILD_CORE
 2978|       |
 2979|      2|    static const char * const _keywords[] = {"encoding", NULL};
 2980|      2|    static _PyArg_Parser _parser = {
 2981|      2|        .keywords = _keywords,
 2982|      2|        .fname = "_normalize_encoding",
 2983|      2|        .kwtuple = KWTUPLE,
  ------------------
  |  | 2973|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 2984|      2|    };
 2985|      2|    #undef KWTUPLE
 2986|      2|    PyObject *argsbuf[1];
 2987|      2|    PyObject *encoding;
 2988|       |
 2989|      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)))
  ------------------
 2990|      2|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 2991|      2|    if (!args) {
  ------------------
  |  Branch (2991:9): [True: 0, False: 2]
  ------------------
 2992|      0|        goto exit;
 2993|      0|    }
 2994|      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 (2994:9): [True: 0, False: 2]
  ------------------
 2995|      0|        _PyArg_BadArgument("_normalize_encoding", "argument 'encoding'", "str", args[0]);
 2996|      0|        goto exit;
 2997|      0|    }
 2998|      2|    encoding = args[0];
 2999|      2|    return_value = _codecs__normalize_encoding_impl(module, encoding);
 3000|       |
 3001|      2|exit:
 3002|      2|    return return_value;
 3003|      2|}

_collectionsmodule.c:tuplegetter_new:
  604|     12|{
  605|     12|    PyObject *return_value = NULL;
  606|     12|    PyTypeObject *base_tp = clinic_state()->tuplegetter_type;
  ------------------
  |  |   57|     12|#define clinic_state() (get_module_state_by_cls(type))
  ------------------
  607|     12|    Py_ssize_t index;
  608|     12|    PyObject *doc;
  609|       |
  610|     12|    if ((type == base_tp || type->tp_init == base_tp->tp_init) &&
  ------------------
  |  Branch (610:10): [True: 12, False: 0]
  |  Branch (610:29): [True: 0, False: 0]
  ------------------
  611|     12|        !_PyArg_NoKeywords("_tuplegetter", kwargs)) {
  ------------------
  |  |   25|     12|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 12, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  612|      0|        goto exit;
  613|      0|    }
  614|     12|    if (!_PyArg_CheckPositional("_tuplegetter", PyTuple_GET_SIZE(args), 2, 2)) {
  ------------------
  |  |   31|     12|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 12, False: 0]
  |  |  |  Branch (31:27): [True: 12, False: 0]
  |  |  ------------------
  |  |   32|     12|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  615|      0|        goto exit;
  616|      0|    }
  617|     12|    {
  618|     12|        Py_ssize_t ival = -1;
  619|     12|        PyObject *iobj = _PyNumber_Index(PyTuple_GET_ITEM(args, 0));
  ------------------
  |  |   29|     12|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     12|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (619:42): [True: 12, False: 0]
  ------------------
  620|     12|        if (iobj != NULL) {
  ------------------
  |  Branch (620:13): [True: 12, False: 0]
  ------------------
  621|     12|            ival = PyLong_AsSsize_t(iobj);
  622|     12|            Py_DECREF(iobj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  623|     12|        }
  624|     12|        if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (624:13): [True: 0, False: 12]
  |  Branch (624:27): [True: 0, False: 0]
  ------------------
  625|      0|            goto exit;
  626|      0|        }
  627|     12|        index = ival;
  628|     12|    }
  629|     12|    doc = PyTuple_GET_ITEM(args, 1);
  ------------------
  |  |   29|     12|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     12|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (629:11): [True: 12, False: 0]
  ------------------
  630|      0|    return_value = tuplegetter_new_impl(type, index, doc);
  631|       |
  632|     12|exit:
  633|     12|    return return_value;
  634|     12|}

_threadmodule.c:_thread_RLock___enter__:
  438|    240|{
  439|    240|    return _thread_RLock___enter___impl((rlockobject *)self);
  440|    240|}
_threadmodule.c:_thread_RLock___exit__:
  484|    240|{
  485|    240|    PyObject *return_value = NULL;
  486|    240|    PyObject *exc_type;
  487|    240|    PyObject *exc_value;
  488|    240|    PyObject *exc_tb;
  489|       |
  490|    240|    if (!_PyArg_CheckPositional("__exit__", nargs, 3, 3)) {
  ------------------
  |  |   31|    240|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 240, False: 0]
  |  |  |  Branch (31:27): [True: 240, False: 0]
  |  |  ------------------
  |  |   32|    240|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  491|      0|        goto exit;
  492|      0|    }
  493|    240|    exc_type = args[0];
  494|    240|    exc_value = args[1];
  495|    240|    exc_tb = args[2];
  496|    240|    return_value = _thread_RLock___exit___impl((rlockobject *)self, exc_type, exc_value, exc_tb);
  497|       |
  498|    240|exit:
  499|    240|    return return_value;
  500|    240|}
_threadmodule.c:rlock_new:
  601|     90|{
  602|     90|    PyObject *return_value = NULL;
  603|     90|    PyTypeObject *base_tp = clinic_state()->rlock_type;
  ------------------
  |  |   91|     90|#define clinic_state() get_thread_state_by_cls(type)
  ------------------
  604|       |
  605|     90|    if ((type == base_tp || type->tp_init == base_tp->tp_init) &&
  ------------------
  |  Branch (605:10): [True: 90, False: 0]
  |  Branch (605:29): [True: 0, False: 0]
  ------------------
  606|     90|        !_PyArg_NoPositional("RLock", args)) {
  ------------------
  |  |   20|     90|    ((args) == NULL || _PyArg_NoPositional((funcname), (args)))
  |  |  ------------------
  |  |  |  Branch (20:6): [True: 0, False: 90]
  |  |  |  Branch (20:24): [True: 90, False: 0]
  |  |  ------------------
  ------------------
  607|      0|        goto exit;
  608|      0|    }
  609|     90|    if ((type == base_tp || type->tp_init == base_tp->tp_init) &&
  ------------------
  |  Branch (609:10): [True: 90, False: 0]
  |  Branch (609:29): [True: 0, False: 0]
  ------------------
  610|     90|        !_PyArg_NoKeywords("RLock", kwargs)) {
  ------------------
  |  |   25|     90|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 90, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  611|      0|        goto exit;
  612|      0|    }
  613|     90|    return_value = rlock_new_impl(type);
  614|       |
  615|     90|exit:
  616|     90|    return return_value;
  617|     90|}

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

itertoolsmodule.c:itertools_permutations:
  682|     24|{
  683|     24|    PyObject *return_value = NULL;
  684|     24|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  685|       |
  686|     24|    #define NUM_KEYWORDS 2
  687|     24|    static struct {
  688|     24|        PyGC_Head _this_is_not_used;
  689|     24|        PyObject_VAR_HEAD
  690|     24|        Py_hash_t ob_hash;
  691|     24|        PyObject *ob_item[NUM_KEYWORDS];
  692|     24|    } _kwtuple = {
  693|     24|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     24|    {                                     \
  |  |   98|     24|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     24|    {                               \
  |  |  |  |   91|     24|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     24|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     24|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|     24|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     24|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     24|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     24|        (type)                      \
  |  |  |  |   93|     24|    },
  |  |  ------------------
  |  |   99|     24|        (size)                            \
  |  |  100|     24|    },
  ------------------
  694|     24|        .ob_hash = -1,
  695|     24|        .ob_item = { &_Py_ID(iterable), _Py_LATIN1_CHR('r'), },
  ------------------
  |  |  920|     24|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     24|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     24|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(iterable), _Py_LATIN1_CHR('r'), },
  ------------------
  |  |  924|     24|    ((CH) < 128 \
  |  |  ------------------
  |  |  |  Branch (924:6): [True: 0, Folded]
  |  |  ------------------
  |  |  925|     24|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  926|     24|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  ------------------
  |  |  |  |   18|     24|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     24|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  696|     24|    };
  697|     24|    #undef NUM_KEYWORDS
  698|     24|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  699|       |
  700|       |    #else  // !Py_BUILD_CORE
  701|       |    #  define KWTUPLE NULL
  702|       |    #endif  // !Py_BUILD_CORE
  703|       |
  704|     24|    static const char * const _keywords[] = {"iterable", "r", NULL};
  705|     24|    static _PyArg_Parser _parser = {
  706|     24|        .keywords = _keywords,
  707|     24|        .fname = "permutations",
  708|     24|        .kwtuple = KWTUPLE,
  ------------------
  |  |  698|     24|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  709|     24|    };
  710|     24|    #undef KWTUPLE
  711|     24|    PyObject *argsbuf[2];
  712|     24|    PyObject * const *fastargs;
  713|     24|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|     24|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  714|     24|    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: 24]
  ------------------
  715|     24|    PyObject *iterable;
  716|     24|    PyObject *robj = Py_None;
  ------------------
  |  |  616|     24|#  define Py_None (&_Py_NoneStruct)
  ------------------
  717|       |
  718|     24|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|     24|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 24, Folded]
  |  |  |  Branch (88:23): [True: 24, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|     48|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 24, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 24]
  |  |  |  Branch (89:43): [True: 24, False: 0]
  |  |  |  Branch (89:67): [True: 24, False: 0]
  |  |  |  Branch (89:68): [True: 24, False: 0]
  |  |  ------------------
  |  |   90|     48|      (args) : \
  |  |  ------------------
  |  |  |  Branch (90:8): [True: 24, False: 0]
  |  |  ------------------
  |  |   91|     24|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |  ------------------
  |  |  |  Branch (91:29): [True: 0, False: 0]
  |  |  ------------------
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  719|     24|            /*minpos*/ 1, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  720|     24|    if (!fastargs) {
  ------------------
  |  Branch (720:9): [True: 0, False: 24]
  ------------------
  721|      0|        goto exit;
  722|      0|    }
  723|     24|    iterable = fastargs[0];
  724|     24|    if (!noptargs) {
  ------------------
  |  Branch (724:9): [True: 24, False: 0]
  ------------------
  725|     24|        goto skip_optional_pos;
  726|     24|    }
  727|      0|    robj = fastargs[1];
  728|     24|skip_optional_pos:
  729|     24|    return_value = itertools_permutations_impl(type, iterable, robj);
  730|       |
  731|     24|exit:
  732|     24|    return return_value;
  733|     24|}

posixmodule.c:os_stat:
   46|    135|{
   47|    135|    PyObject *return_value = NULL;
   48|    135|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   49|       |
   50|    135|    #define NUM_KEYWORDS 3
   51|    135|    static struct {
   52|    135|        PyGC_Head _this_is_not_used;
   53|    135|        PyObject_VAR_HEAD
   54|    135|        Py_hash_t ob_hash;
   55|    135|        PyObject *ob_item[NUM_KEYWORDS];
   56|    135|    } _kwtuple = {
   57|    135|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    135|    {                                     \
  |  |   98|    135|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    135|    {                               \
  |  |  |  |   91|    135|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    135|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    135|#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|    135|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    135|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    135|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    135|        (type)                      \
  |  |  |  |   93|    135|    },
  |  |  ------------------
  |  |   99|    135|        (size)                            \
  |  |  100|    135|    },
  ------------------
   58|    135|        .ob_hash = -1,
   59|    135|        .ob_item = { &_Py_ID(path), &_Py_ID(dir_fd), &_Py_ID(follow_symlinks), },
  ------------------
  |  |  920|    135|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    135|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    135|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(path), &_Py_ID(dir_fd), &_Py_ID(follow_symlinks), },
  ------------------
  |  |  920|    135|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    135|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    135|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(path), &_Py_ID(dir_fd), &_Py_ID(follow_symlinks), },
  ------------------
  |  |  920|    135|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    135|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    135|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   60|    135|    };
   61|    135|    #undef NUM_KEYWORDS
   62|    135|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   63|       |
   64|       |    #else  // !Py_BUILD_CORE
   65|       |    #  define KWTUPLE NULL
   66|       |    #endif  // !Py_BUILD_CORE
   67|       |
   68|    135|    static const char * const _keywords[] = {"path", "dir_fd", "follow_symlinks", NULL};
   69|    135|    static _PyArg_Parser _parser = {
   70|    135|        .keywords = _keywords,
   71|    135|        .fname = "stat",
   72|    135|        .kwtuple = KWTUPLE,
  ------------------
  |  |   62|    135|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
   73|    135|    };
   74|    135|    #undef KWTUPLE
   75|    135|    PyObject *argsbuf[3];
   76|    135|    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: 135]
  ------------------
   77|    135|    path_t path = PATH_T_INITIALIZE_P("stat", "path", 0, 0, 0, 1);
  ------------------
  |  | 1365|    135|    PATH_T_INITIALIZE(function_name, argument_name, nullable, nonstrict, 0, \
  |  |  ------------------
  |  |  |  | 1355|    135|    {function_name, argument_name, nullable, nonstrict, make_wide, \
  |  |  |  | 1356|    135|     suppress_value_error, allow_fd, NULL, NULL, -1, false, 0, 0, NULL, NULL}
  |  |  ------------------
  |  | 1366|    135|                      suppress_value_error, allow_fd)
  ------------------
   78|    135|    int dir_fd = DEFAULT_DIR_FD;
  ------------------
  |  | 1138|    135|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
   79|    135|    int follow_symlinks = 1;
   80|       |
   81|    135|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|    135|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 135, False: 0]
  |  |  ------------------
  |  |   89|    135|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 135, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 135]
  |  |  |  Branch (89:43): [True: 135, False: 0]
  |  |  |  Branch (89:67): [True: 135, False: 0]
  |  |  ------------------
  |  |   90|    135|      (args) : \
  |  |   91|    135|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
   82|    135|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
   83|    135|    if (!args) {
  ------------------
  |  Branch (83:9): [True: 0, False: 135]
  ------------------
   84|      0|        goto exit;
   85|      0|    }
   86|    135|    if (!path_converter(args[0], &path)) {
  ------------------
  |  Branch (86:9): [True: 0, False: 135]
  ------------------
   87|      0|        goto exit;
   88|      0|    }
   89|    135|    if (!noptargs) {
  ------------------
  |  Branch (89:9): [True: 135, False: 0]
  ------------------
   90|    135|        goto skip_optional_kwonly;
   91|    135|    }
   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|    135|skip_optional_kwonly:
  105|    135|    return_value = os_stat_impl(module, &path, dir_fd, follow_symlinks);
  106|       |
  107|    135|exit:
  108|       |    /* Cleanup for path */
  109|    135|    path_cleanup(&path);
  110|       |
  111|    135|    return return_value;
  112|    135|}
posixmodule.c:os_listdir:
 1776|      9|{
 1777|      9|    PyObject *return_value = NULL;
 1778|      9|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1779|       |
 1780|      9|    #define NUM_KEYWORDS 1
 1781|      9|    static struct {
 1782|      9|        PyGC_Head _this_is_not_used;
 1783|      9|        PyObject_VAR_HEAD
 1784|      9|        Py_hash_t ob_hash;
 1785|      9|        PyObject *ob_item[NUM_KEYWORDS];
 1786|      9|    } _kwtuple = {
 1787|      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|    },
  ------------------
 1788|      9|        .ob_hash = -1,
 1789|      9|        .ob_item = { &_Py_ID(path), },
  ------------------
  |  |  920|      9|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      9|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      9|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1790|      9|    };
 1791|      9|    #undef NUM_KEYWORDS
 1792|      9|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1793|       |
 1794|       |    #else  // !Py_BUILD_CORE
 1795|       |    #  define KWTUPLE NULL
 1796|       |    #endif  // !Py_BUILD_CORE
 1797|       |
 1798|      9|    static const char * const _keywords[] = {"path", NULL};
 1799|      9|    static _PyArg_Parser _parser = {
 1800|      9|        .keywords = _keywords,
 1801|      9|        .fname = "listdir",
 1802|      9|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1792|      9|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1803|      9|    };
 1804|      9|    #undef KWTUPLE
 1805|      9|    PyObject *argsbuf[1];
 1806|      9|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1806:36): [True: 0, False: 9]
  ------------------
 1807|      9|    path_t path = PATH_T_INITIALIZE_P("listdir", "path", 1, 0, 0, PATH_HAVE_FDOPENDIR);
  ------------------
  |  | 1365|      9|    PATH_T_INITIALIZE(function_name, argument_name, nullable, nonstrict, 0, \
  |  |  ------------------
  |  |  |  | 1355|      9|    {function_name, argument_name, nullable, nonstrict, make_wide, \
  |  |  |  | 1356|      9|     suppress_value_error, allow_fd, NULL, NULL, -1, false, 0, 0, NULL, NULL}
  |  |  ------------------
  |  | 1366|      9|                      suppress_value_error, allow_fd)
  ------------------
 1808|       |
 1809|      9|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|      9|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 9, False: 0]
  |  |  ------------------
  |  |   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)))
  ------------------
 1810|      9|            /*minpos*/ 0, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1811|      9|    if (!args) {
  ------------------
  |  Branch (1811:9): [True: 0, False: 9]
  ------------------
 1812|      0|        goto exit;
 1813|      0|    }
 1814|      9|    if (!noptargs) {
  ------------------
  |  Branch (1814:9): [True: 0, False: 9]
  ------------------
 1815|      0|        goto skip_optional_pos;
 1816|      0|    }
 1817|      9|    if (!path_converter(args[0], &path)) {
  ------------------
  |  Branch (1817:9): [True: 0, False: 9]
  ------------------
 1818|      0|        goto exit;
 1819|      0|    }
 1820|      9|skip_optional_pos:
 1821|      9|    return_value = os_listdir_impl(module, &path);
 1822|       |
 1823|      9|exit:
 1824|       |    /* Cleanup for path */
 1825|      9|    path_cleanup(&path);
 1826|       |
 1827|      9|    return return_value;
 1828|      9|}
posixmodule.c:os_getegid:
 5218|      2|{
 5219|      2|    return os_getegid_impl(module);
 5220|      2|}
posixmodule.c:os_geteuid:
 5240|      2|{
 5241|      2|    return os_geteuid_impl(module);
 5242|      2|}
posixmodule.c:os_getgid:
 5262|      2|{
 5263|      2|    return os_getgid_impl(module);
 5264|      2|}
posixmodule.c:os_getuid:
 5683|      2|{
 5684|      2|    return os_getuid_impl(module);
 5685|      2|}
posixmodule.c:os__path_normpath:
 2661|     10|{
 2662|     10|    PyObject *return_value = NULL;
 2663|     10|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 2664|       |
 2665|     10|    #define NUM_KEYWORDS 1
 2666|     10|    static struct {
 2667|     10|        PyGC_Head _this_is_not_used;
 2668|     10|        PyObject_VAR_HEAD
 2669|     10|        Py_hash_t ob_hash;
 2670|     10|        PyObject *ob_item[NUM_KEYWORDS];
 2671|     10|    } _kwtuple = {
 2672|     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|    },
  ------------------
 2673|     10|        .ob_hash = -1,
 2674|     10|        .ob_item = { &_Py_ID(path), },
  ------------------
  |  |  920|     10|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     10|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     10|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2675|     10|    };
 2676|     10|    #undef NUM_KEYWORDS
 2677|     10|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 2678|       |
 2679|       |    #else  // !Py_BUILD_CORE
 2680|       |    #  define KWTUPLE NULL
 2681|       |    #endif  // !Py_BUILD_CORE
 2682|       |
 2683|     10|    static const char * const _keywords[] = {"path", NULL};
 2684|     10|    static _PyArg_Parser _parser = {
 2685|     10|        .keywords = _keywords,
 2686|     10|        .fname = "_path_normpath",
 2687|     10|        .kwtuple = KWTUPLE,
  ------------------
  |  | 2677|     10|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 2688|     10|    };
 2689|     10|    #undef KWTUPLE
 2690|     10|    PyObject *argsbuf[1];
 2691|     10|    path_t path = PATH_T_INITIALIZE("_path_normpath", "path", 0, 1, 1, 0, 0);
  ------------------
  |  | 1355|     10|    {function_name, argument_name, nullable, nonstrict, make_wide, \
  |  | 1356|     10|     suppress_value_error, allow_fd, NULL, NULL, -1, false, 0, 0, NULL, NULL}
  ------------------
 2692|       |
 2693|     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: 10, False: 0]
  |  |  ------------------
  |  |   89|     10|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 10, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 10]
  |  |  |  Branch (89:43): [True: 10, False: 0]
  |  |  |  Branch (89:67): [True: 10, False: 0]
  |  |  ------------------
  |  |   90|     10|      (args) : \
  |  |   91|     10|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 2694|     10|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 2695|     10|    if (!args) {
  ------------------
  |  Branch (2695:9): [True: 0, False: 10]
  ------------------
 2696|      0|        goto exit;
 2697|      0|    }
 2698|     10|    if (!path_converter(args[0], &path)) {
  ------------------
  |  Branch (2698:9): [True: 0, False: 10]
  ------------------
 2699|      0|        goto exit;
 2700|      0|    }
 2701|     10|    return_value = os__path_normpath_impl(module, &path);
 2702|       |
 2703|     10|exit:
 2704|       |    /* Cleanup for path */
 2705|     10|    path_cleanup(&path);
 2706|       |
 2707|     10|    return return_value;
 2708|     10|}
posixmodule.c:os_fspath:
12536|    130|{
12537|    130|    PyObject *return_value = NULL;
12538|    130|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
12539|       |
12540|    130|    #define NUM_KEYWORDS 1
12541|    130|    static struct {
12542|    130|        PyGC_Head _this_is_not_used;
12543|    130|        PyObject_VAR_HEAD
12544|    130|        Py_hash_t ob_hash;
12545|    130|        PyObject *ob_item[NUM_KEYWORDS];
12546|    130|    } _kwtuple = {
12547|    130|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    130|    {                                     \
  |  |   98|    130|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    130|    {                               \
  |  |  |  |   91|    130|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    130|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    130|#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|    130|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    130|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    130|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    130|        (type)                      \
  |  |  |  |   93|    130|    },
  |  |  ------------------
  |  |   99|    130|        (size)                            \
  |  |  100|    130|    },
  ------------------
12548|    130|        .ob_hash = -1,
12549|    130|        .ob_item = { &_Py_ID(path), },
  ------------------
  |  |  920|    130|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    130|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    130|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12550|    130|    };
12551|    130|    #undef NUM_KEYWORDS
12552|    130|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
12553|       |
12554|       |    #else  // !Py_BUILD_CORE
12555|       |    #  define KWTUPLE NULL
12556|       |    #endif  // !Py_BUILD_CORE
12557|       |
12558|    130|    static const char * const _keywords[] = {"path", NULL};
12559|    130|    static _PyArg_Parser _parser = {
12560|    130|        .keywords = _keywords,
12561|    130|        .fname = "fspath",
12562|    130|        .kwtuple = KWTUPLE,
  ------------------
  |  |12552|    130|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
12563|    130|    };
12564|    130|    #undef KWTUPLE
12565|    130|    PyObject *argsbuf[1];
12566|    130|    PyObject *path;
12567|       |
12568|    130|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|    130|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 130, False: 0]
  |  |  ------------------
  |  |   89|    130|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 130, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 130]
  |  |  |  Branch (89:43): [True: 130, False: 0]
  |  |  |  Branch (89:67): [True: 130, False: 0]
  |  |  ------------------
  |  |   90|    130|      (args) : \
  |  |   91|    130|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
12569|    130|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
12570|    130|    if (!args) {
  ------------------
  |  Branch (12570:9): [True: 0, False: 130]
  ------------------
12571|      0|        goto exit;
12572|      0|    }
12573|    130|    path = args[0];
12574|    130|    return_value = os_fspath_impl(module, path);
12575|       |
12576|    130|exit:
12577|    130|    return return_value;
12578|    130|}

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

PyInit_itertools:
 4239|      1|{
 4240|      1|    return PyModuleDef_Init(&itertoolsmodule);
 4241|      1|}
itertoolsmodule.c:get_module_state:
   44|    269|{
   45|    269|    void *state = _PyModule_GetState(mod);
   46|    269|    assert(state != NULL);
  ------------------
  |  Branch (46:5): [True: 269, False: 0]
  ------------------
   47|    269|    return (itertools_state *)state;
   48|    269|}
itertoolsmodule.c:itertoolsmodule_exec:
 4182|      1|{
 4183|      1|    itertools_state *state = get_module_state(mod);
 4184|      1|    ADD_TYPE(mod, state->accumulate_type, &accumulate_spec);
  ------------------
  |  | 4169|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4170|      1|do {                                                                     \
  |  | 4171|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4172|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4172:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4173|      0|        return -1;                                                       \
  |  | 4174|      0|    }                                                                    \
  |  | 4175|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4175:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4176|      0|        return -1;                                                       \
  |  | 4177|      0|    }                                                                    \
  |  | 4178|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4178:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4185|      1|    ADD_TYPE(mod, state->batched_type, &batched_spec);
  ------------------
  |  | 4169|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4170|      1|do {                                                                     \
  |  | 4171|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4172|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4172:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4173|      0|        return -1;                                                       \
  |  | 4174|      0|    }                                                                    \
  |  | 4175|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4175:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4176|      0|        return -1;                                                       \
  |  | 4177|      0|    }                                                                    \
  |  | 4178|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4178:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4186|      1|    ADD_TYPE(mod, state->chain_type, &chain_spec);
  ------------------
  |  | 4169|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4170|      1|do {                                                                     \
  |  | 4171|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4172|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4172:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4173|      0|        return -1;                                                       \
  |  | 4174|      0|    }                                                                    \
  |  | 4175|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4175:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4176|      0|        return -1;                                                       \
  |  | 4177|      0|    }                                                                    \
  |  | 4178|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4178:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4187|      1|    ADD_TYPE(mod, state->combinations_type, &combinations_spec);
  ------------------
  |  | 4169|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4170|      1|do {                                                                     \
  |  | 4171|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4172|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4172:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4173|      0|        return -1;                                                       \
  |  | 4174|      0|    }                                                                    \
  |  | 4175|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4175:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4176|      0|        return -1;                                                       \
  |  | 4177|      0|    }                                                                    \
  |  | 4178|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4178:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4188|      1|    ADD_TYPE(mod, state->compress_type, &compress_spec);
  ------------------
  |  | 4169|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4170|      1|do {                                                                     \
  |  | 4171|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4172|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4172:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4173|      0|        return -1;                                                       \
  |  | 4174|      0|    }                                                                    \
  |  | 4175|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4175:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4176|      0|        return -1;                                                       \
  |  | 4177|      0|    }                                                                    \
  |  | 4178|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4178:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4189|      1|    ADD_TYPE(mod, state->count_type, &count_spec);
  ------------------
  |  | 4169|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4170|      1|do {                                                                     \
  |  | 4171|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4172|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4172:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4173|      0|        return -1;                                                       \
  |  | 4174|      0|    }                                                                    \
  |  | 4175|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4175:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4176|      0|        return -1;                                                       \
  |  | 4177|      0|    }                                                                    \
  |  | 4178|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4178:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4190|      1|    ADD_TYPE(mod, state->cwr_type, &cwr_spec);
  ------------------
  |  | 4169|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4170|      1|do {                                                                     \
  |  | 4171|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4172|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4172:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4173|      0|        return -1;                                                       \
  |  | 4174|      0|    }                                                                    \
  |  | 4175|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4175:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4176|      0|        return -1;                                                       \
  |  | 4177|      0|    }                                                                    \
  |  | 4178|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4178:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4191|      1|    ADD_TYPE(mod, state->cycle_type, &cycle_spec);
  ------------------
  |  | 4169|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4170|      1|do {                                                                     \
  |  | 4171|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4172|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4172:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4173|      0|        return -1;                                                       \
  |  | 4174|      0|    }                                                                    \
  |  | 4175|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4175:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4176|      0|        return -1;                                                       \
  |  | 4177|      0|    }                                                                    \
  |  | 4178|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4178:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4192|      1|    ADD_TYPE(mod, state->dropwhile_type, &dropwhile_spec);
  ------------------
  |  | 4169|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4170|      1|do {                                                                     \
  |  | 4171|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4172|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4172:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4173|      0|        return -1;                                                       \
  |  | 4174|      0|    }                                                                    \
  |  | 4175|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4175:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4176|      0|        return -1;                                                       \
  |  | 4177|      0|    }                                                                    \
  |  | 4178|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4178:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4193|      1|    ADD_TYPE(mod, state->filterfalse_type, &filterfalse_spec);
  ------------------
  |  | 4169|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4170|      1|do {                                                                     \
  |  | 4171|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4172|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4172:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4173|      0|        return -1;                                                       \
  |  | 4174|      0|    }                                                                    \
  |  | 4175|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4175:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4176|      0|        return -1;                                                       \
  |  | 4177|      0|    }                                                                    \
  |  | 4178|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4178:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4194|      1|    ADD_TYPE(mod, state->groupby_type, &groupby_spec);
  ------------------
  |  | 4169|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4170|      1|do {                                                                     \
  |  | 4171|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4172|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4172:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4173|      0|        return -1;                                                       \
  |  | 4174|      0|    }                                                                    \
  |  | 4175|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4175:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4176|      0|        return -1;                                                       \
  |  | 4177|      0|    }                                                                    \
  |  | 4178|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4178:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4195|      1|    ADD_TYPE(mod, state->_grouper_type, &_grouper_spec);
  ------------------
  |  | 4169|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4170|      1|do {                                                                     \
  |  | 4171|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4172|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4172:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4173|      0|        return -1;                                                       \
  |  | 4174|      0|    }                                                                    \
  |  | 4175|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4175:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4176|      0|        return -1;                                                       \
  |  | 4177|      0|    }                                                                    \
  |  | 4178|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4178:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4196|      1|    ADD_TYPE(mod, state->islice_type, &islice_spec);
  ------------------
  |  | 4169|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4170|      1|do {                                                                     \
  |  | 4171|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4172|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4172:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4173|      0|        return -1;                                                       \
  |  | 4174|      0|    }                                                                    \
  |  | 4175|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4175:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4176|      0|        return -1;                                                       \
  |  | 4177|      0|    }                                                                    \
  |  | 4178|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4178:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4197|      1|    ADD_TYPE(mod, state->pairwise_type, &pairwise_spec);
  ------------------
  |  | 4169|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4170|      1|do {                                                                     \
  |  | 4171|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4172|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4172:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4173|      0|        return -1;                                                       \
  |  | 4174|      0|    }                                                                    \
  |  | 4175|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4175:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4176|      0|        return -1;                                                       \
  |  | 4177|      0|    }                                                                    \
  |  | 4178|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4178:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4198|      1|    ADD_TYPE(mod, state->permutations_type, &permutations_spec);
  ------------------
  |  | 4169|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4170|      1|do {                                                                     \
  |  | 4171|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4172|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4172:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4173|      0|        return -1;                                                       \
  |  | 4174|      0|    }                                                                    \
  |  | 4175|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4175:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4176|      0|        return -1;                                                       \
  |  | 4177|      0|    }                                                                    \
  |  | 4178|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4178:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4199|      1|    ADD_TYPE(mod, state->product_type, &product_spec);
  ------------------
  |  | 4169|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4170|      1|do {                                                                     \
  |  | 4171|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4172|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4172:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4173|      0|        return -1;                                                       \
  |  | 4174|      0|    }                                                                    \
  |  | 4175|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4175:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4176|      0|        return -1;                                                       \
  |  | 4177|      0|    }                                                                    \
  |  | 4178|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4178:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4200|      1|    ADD_TYPE(mod, state->repeat_type, &repeat_spec);
  ------------------
  |  | 4169|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4170|      1|do {                                                                     \
  |  | 4171|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4172|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4172:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4173|      0|        return -1;                                                       \
  |  | 4174|      0|    }                                                                    \
  |  | 4175|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4175:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4176|      0|        return -1;                                                       \
  |  | 4177|      0|    }                                                                    \
  |  | 4178|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4178:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4201|      1|    ADD_TYPE(mod, state->starmap_type, &starmap_spec);
  ------------------
  |  | 4169|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4170|      1|do {                                                                     \
  |  | 4171|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4172|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4172:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4173|      0|        return -1;                                                       \
  |  | 4174|      0|    }                                                                    \
  |  | 4175|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4175:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4176|      0|        return -1;                                                       \
  |  | 4177|      0|    }                                                                    \
  |  | 4178|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4178:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4202|      1|    ADD_TYPE(mod, state->takewhile_type, &takewhile_spec);
  ------------------
  |  | 4169|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4170|      1|do {                                                                     \
  |  | 4171|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4172|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4172:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4173|      0|        return -1;                                                       \
  |  | 4174|      0|    }                                                                    \
  |  | 4175|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4175:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4176|      0|        return -1;                                                       \
  |  | 4177|      0|    }                                                                    \
  |  | 4178|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4178:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4203|      1|    ADD_TYPE(mod, state->tee_type, &tee_spec);
  ------------------
  |  | 4169|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4170|      1|do {                                                                     \
  |  | 4171|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4172|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4172:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4173|      0|        return -1;                                                       \
  |  | 4174|      0|    }                                                                    \
  |  | 4175|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4175:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4176|      0|        return -1;                                                       \
  |  | 4177|      0|    }                                                                    \
  |  | 4178|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4178:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4204|      1|    ADD_TYPE(mod, state->teedataobject_type, &teedataobject_spec);
  ------------------
  |  | 4169|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4170|      1|do {                                                                     \
  |  | 4171|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4172|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4172:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4173|      0|        return -1;                                                       \
  |  | 4174|      0|    }                                                                    \
  |  | 4175|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4175:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4176|      0|        return -1;                                                       \
  |  | 4177|      0|    }                                                                    \
  |  | 4178|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4178:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4205|      1|    ADD_TYPE(mod, state->ziplongest_type, &ziplongest_spec);
  ------------------
  |  | 4169|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4170|      1|do {                                                                     \
  |  | 4171|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4172|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4172:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4173|      0|        return -1;                                                       \
  |  | 4174|      0|    }                                                                    \
  |  | 4175|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4175:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4176|      0|        return -1;                                                       \
  |  | 4177|      0|    }                                                                    \
  |  | 4178|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4178:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4206|       |
 4207|      1|    Py_SET_TYPE(state->teedataobject_type, &PyType_Type);
  ------------------
  |  |  217|      1|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4208|      1|    return 0;
 4209|      1|}
itertoolsmodule.c:permutations_dealloc:
 2913|     24|{
 2914|     24|    permutationsobject *po = permutationsobject_CAST(op);
  ------------------
  |  | 2831|     24|#define permutationsobject_CAST(op) ((permutationsobject *)(op))
  ------------------
 2915|     24|    PyTypeObject *tp = Py_TYPE(po);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2916|     24|    PyObject_GC_UnTrack(po);
 2917|     24|    Py_XDECREF(po->pool);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2918|     24|    Py_XDECREF(po->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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2919|     24|    PyMem_Free(po->indices);
 2920|     24|    PyMem_Free(po->cycles);
 2921|     24|    tp->tp_free(po);
 2922|     24|    Py_DECREF(tp);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2923|     24|}
itertoolsmodule.c:permutations_next:
 3038|     57|{
 3039|     57|    PyObject *result;
 3040|     57|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|     57|    {
  ------------------
 3041|     57|    result = permutations_next_lock_held(op);
 3042|     57|    Py_END_CRITICAL_SECTION()
  ------------------
  |  |   55|     57|    }
  ------------------
 3043|     57|    return result;
 3044|     57|}
itertoolsmodule.c:permutations_next_lock_held:
 2947|     57|{
 2948|     57|    permutationsobject *po = permutationsobject_CAST(op);
  ------------------
  |  | 2831|     57|#define permutationsobject_CAST(op) ((permutationsobject *)(op))
  ------------------
 2949|     57|    PyObject *elem;
 2950|     57|    PyObject *oldelem;
 2951|     57|    PyObject *pool = po->pool;
 2952|     57|    Py_ssize_t *indices = po->indices;
 2953|     57|    Py_ssize_t *cycles = po->cycles;
 2954|     57|    PyObject *result = po->result;
 2955|     57|    Py_ssize_t n = PyTuple_GET_SIZE(pool);
  ------------------
  |  |   27|     57|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     57|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     57|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2956|     57|    Py_ssize_t r = po->r;
 2957|     57|    Py_ssize_t i, j, k, index;
 2958|       |
 2959|     57|    if (po->stopped)
  ------------------
  |  Branch (2959:9): [True: 0, False: 57]
  ------------------
 2960|      0|        return NULL;
 2961|       |
 2962|     57|    if (result == NULL) {
  ------------------
  |  Branch (2962:9): [True: 24, False: 33]
  ------------------
 2963|       |        /* On the first pass, initialize result tuple using the indices */
 2964|     24|        result = PyTuple_New(r);
 2965|     24|        if (result == NULL)
  ------------------
  |  Branch (2965:13): [True: 0, False: 24]
  ------------------
 2966|      0|            goto empty;
 2967|     24|        po->result = result;
 2968|     57|        for (i=0; i<r ; i++) {
  ------------------
  |  Branch (2968:19): [True: 33, False: 24]
  ------------------
 2969|     33|            index = indices[i];
 2970|     33|            elem = PyTuple_GET_ITEM(pool, index);
  ------------------
  |  |   29|     33|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     33|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2970:20): [True: 33, False: 0]
  ------------------
 2971|     33|            Py_INCREF(elem);
  ------------------
  |  |  310|     33|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2972|     33|            PyTuple_SET_ITEM(result, i, elem);
  ------------------
  |  |   40|     33|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2973|     33|        }
 2974|     33|    } else {
 2975|     33|        if (n == 0)
  ------------------
  |  Branch (2975:13): [True: 0, False: 33]
  ------------------
 2976|      0|            goto empty;
 2977|       |
 2978|       |        /* Copy the previous result tuple or re-use it if available */
 2979|     33|        if (!_PyObject_IsUniquelyReferenced(result)) {
  ------------------
  |  Branch (2979:13): [True: 33, False: 0]
  ------------------
 2980|     33|            PyObject *old_result = result;
 2981|     33|            result = PyTuple_FromArray(_PyTuple_ITEMS(old_result), r);
  ------------------
  |  |   26|     33|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  277|     66|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 33, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2982|     33|            if (result == NULL)
  ------------------
  |  Branch (2982:17): [True: 0, False: 33]
  ------------------
 2983|      0|                goto empty;
 2984|     33|            po->result = result;
 2985|     33|            Py_DECREF(old_result);
  ------------------
  |  |  430|     33|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2986|     33|        }
 2987|       |        // bpo-42536: The GC may have untracked this result tuple. Since we're
 2988|       |        // recycling it, make sure it's tracked again:
 2989|      0|        else {
 2990|      0|            _PyTuple_Recycle(result);
 2991|      0|        }
 2992|       |        /* Now, we've got the only copy so we can update it in-place */
 2993|     33|        assert(r == 0 || Py_REFCNT(result) == 1);
  ------------------
  |  Branch (2993:9): [True: 0, False: 33]
  |  Branch (2993:9): [True: 33, False: 0]
  ------------------
 2994|       |
 2995|       |        /* Decrement rightmost cycle, moving leftward upon zero rollover */
 2996|     75|        for (i=r-1 ; i>=0 ; i--) {
  ------------------
  |  Branch (2996:22): [True: 51, False: 24]
  ------------------
 2997|     51|            cycles[i] -= 1;
 2998|     51|            if (cycles[i] == 0) {
  ------------------
  |  Branch (2998:17): [True: 42, False: 9]
  ------------------
 2999|       |                /* rotatation: indices[i:] = indices[i+1:] + indices[i:i+1] */
 3000|     42|                index = indices[i];
 3001|     51|                for (j=i ; j<n-1 ; j++)
  ------------------
  |  Branch (3001:28): [True: 9, False: 42]
  ------------------
 3002|      9|                    indices[j] = indices[j+1];
 3003|     42|                indices[n-1] = index;
 3004|     42|                cycles[i] = n - i;
 3005|     42|            } else {
 3006|      9|                j = cycles[i];
 3007|      9|                index = indices[i];
 3008|      9|                indices[i] = indices[n-j];
 3009|      9|                indices[n-j] = index;
 3010|       |
 3011|     27|                for (k=i; k<r ; k++) {
  ------------------
  |  Branch (3011:27): [True: 18, False: 9]
  ------------------
 3012|       |                    /* start with i, the leftmost element that changed */
 3013|       |                    /* yield tuple(pool[k] for k in indices[:r]) */
 3014|     18|                    index = indices[k];
 3015|     18|                    elem = PyTuple_GET_ITEM(pool, index);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3015:28): [True: 18, False: 0]
  ------------------
 3016|     18|                    Py_INCREF(elem);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3017|     18|                    oldelem = PyTuple_GET_ITEM(result, k);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3017:31): [True: 18, False: 0]
  ------------------
 3018|     18|                    PyTuple_SET_ITEM(result, k, elem);
  ------------------
  |  |   40|     18|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3019|     18|                    Py_DECREF(oldelem);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3020|     18|                }
 3021|      9|                break;
 3022|      9|            }
 3023|     51|        }
 3024|       |        /* If i is negative, then the cycles have all
 3025|       |           rolled-over and we're done. */
 3026|     33|        if (i < 0)
  ------------------
  |  Branch (3026:13): [True: 24, False: 9]
  ------------------
 3027|     24|            goto empty;
 3028|     33|    }
 3029|     33|    return Py_NewRef(result);
  ------------------
  |  |  550|     33|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3030|       |
 3031|     24|empty:
 3032|     24|    po->stopped = 1;
 3033|       |    return NULL;
 3034|     57|}
itertoolsmodule.c:itertools_permutations_impl:
 2847|     24|{
 2848|     24|    permutationsobject *po;
 2849|     24|    Py_ssize_t n;
 2850|     24|    Py_ssize_t r;
 2851|     24|    PyObject *pool = NULL;
 2852|     24|    Py_ssize_t *indices = NULL;
 2853|     24|    Py_ssize_t *cycles = NULL;
 2854|     24|    Py_ssize_t i;
 2855|       |
 2856|     24|    pool = PySequence_Tuple(iterable);
 2857|     24|    if (pool == NULL)
  ------------------
  |  Branch (2857:9): [True: 0, False: 24]
  ------------------
 2858|      0|        goto error;
 2859|     24|    n = PyTuple_GET_SIZE(pool);
  ------------------
  |  |   27|     24|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2860|       |
 2861|     24|    r = n;
 2862|     24|    if (robj != Py_None) {
  ------------------
  |  |  616|     24|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2862:9): [True: 0, False: 24]
  ------------------
 2863|      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 (2863:13): [True: 0, False: 0]
  ------------------
 2864|      0|            PyErr_SetString(PyExc_TypeError, "Expected int as r");
 2865|      0|            goto error;
 2866|      0|        }
 2867|      0|        r = PyLong_AsSsize_t(robj);
 2868|      0|        if (r == -1 && PyErr_Occurred())
  ------------------
  |  Branch (2868:13): [True: 0, False: 0]
  |  Branch (2868:24): [True: 0, False: 0]
  ------------------
 2869|      0|            goto error;
 2870|      0|    }
 2871|     24|    if (r < 0) {
  ------------------
  |  Branch (2871:9): [True: 0, False: 24]
  ------------------
 2872|      0|        PyErr_SetString(PyExc_ValueError, "r must be non-negative");
 2873|      0|        goto error;
 2874|      0|    }
 2875|       |
 2876|     24|    indices = PyMem_New(Py_ssize_t, n);
  ------------------
  |  |   64|     24|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|     24|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 24]
  |  |  ------------------
  |  |   65|     24|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
 2877|     24|    cycles = PyMem_New(Py_ssize_t, r);
  ------------------
  |  |   64|     24|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|     24|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 24]
  |  |  ------------------
  |  |   65|     24|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
 2878|     24|    if (indices == NULL || cycles == NULL) {
  ------------------
  |  Branch (2878:9): [True: 0, False: 24]
  |  Branch (2878:28): [True: 0, False: 24]
  ------------------
 2879|      0|        PyErr_NoMemory();
 2880|      0|        goto error;
 2881|      0|    }
 2882|       |
 2883|     57|    for (i=0 ; i<n ; i++)
  ------------------
  |  Branch (2883:16): [True: 33, False: 24]
  ------------------
 2884|     33|        indices[i] = i;
 2885|     57|    for (i=0 ; i<r ; i++)
  ------------------
  |  Branch (2885:16): [True: 33, False: 24]
  ------------------
 2886|     33|        cycles[i] = n - i;
 2887|       |
 2888|       |    /* create permutationsobject structure */
 2889|     24|    po = (permutationsobject *)type->tp_alloc(type, 0);
 2890|     24|    if (po == NULL)
  ------------------
  |  Branch (2890:9): [True: 0, False: 24]
  ------------------
 2891|      0|        goto error;
 2892|       |
 2893|     24|    po->pool = pool;
 2894|     24|    po->indices = indices;
 2895|     24|    po->cycles = cycles;
 2896|     24|    po->result = NULL;
 2897|     24|    po->r = r;
 2898|     24|    po->stopped = r > n ? 1 : 0;
  ------------------
  |  Branch (2898:19): [True: 0, False: 24]
  ------------------
 2899|       |
 2900|     24|    return (PyObject *)po;
 2901|       |
 2902|      0|error:
 2903|      0|    if (indices != NULL)
  ------------------
  |  Branch (2903:9): [True: 0, False: 0]
  ------------------
 2904|      0|        PyMem_Free(indices);
 2905|      0|    if (cycles != NULL)
  ------------------
  |  Branch (2905:9): [True: 0, False: 0]
  ------------------
 2906|      0|        PyMem_Free(cycles);
 2907|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2908|       |    return NULL;
 2909|     24|}
itertoolsmodule.c:product_dealloc:
 2153|     33|{
 2154|     33|    productobject *lz = productobject_CAST(op);
  ------------------
  |  | 2066|     33|#define productobject_CAST(op)  ((productobject *)(op))
  ------------------
 2155|     33|    PyTypeObject *tp = Py_TYPE(lz);
  ------------------
  |  |  213|     33|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2156|     33|    PyObject_GC_UnTrack(lz);
 2157|     33|    Py_XDECREF(lz->pools);
  ------------------
  |  |  524|     33|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2158|     33|    Py_XDECREF(lz->result);
  ------------------
  |  |  524|     33|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2159|     33|    PyMem_Free(lz->indices);
 2160|     33|    tp->tp_free(lz);
 2161|     33|    Py_DECREF(tp);
  ------------------
  |  |  430|     33|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2162|     33|}
itertoolsmodule.c:product_next:
 2274|    135|{
 2275|    135|    PyObject *result;
 2276|    135|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|    135|    {
  ------------------
 2277|    135|    result = product_next_lock_held(op);
 2278|    135|    Py_END_CRITICAL_SECTION()
  ------------------
  |  |   55|    135|    }
  ------------------
 2279|    135|    return result;
 2280|    135|}
itertoolsmodule.c:product_next_lock_held:
 2187|    135|{
 2188|    135|    productobject *lz = productobject_CAST(op);
  ------------------
  |  | 2066|    135|#define productobject_CAST(op)  ((productobject *)(op))
  ------------------
 2189|    135|    PyObject *pool;
 2190|    135|    PyObject *elem;
 2191|    135|    PyObject *oldelem;
 2192|    135|    PyObject *pools = lz->pools;
 2193|    135|    PyObject *result = lz->result;
 2194|    135|    Py_ssize_t npools = PyTuple_GET_SIZE(pools);
  ------------------
  |  |   27|    135|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    135|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    135|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2195|    135|    Py_ssize_t i;
 2196|       |
 2197|    135|    if (lz->stopped)
  ------------------
  |  Branch (2197:9): [True: 0, False: 135]
  ------------------
 2198|      0|        return NULL;
 2199|       |
 2200|    135|    if (result == NULL) {
  ------------------
  |  Branch (2200:9): [True: 33, False: 102]
  ------------------
 2201|       |        /* On the first pass, return an initial tuple filled with the
 2202|       |           first element from each pool. */
 2203|     33|        result = PyTuple_New(npools);
 2204|     33|        if (result == NULL)
  ------------------
  |  Branch (2204:13): [True: 0, False: 33]
  ------------------
 2205|      0|            goto empty;
 2206|     33|        lz->result = result;
 2207|     84|        for (i=0; i < npools; i++) {
  ------------------
  |  Branch (2207:19): [True: 51, False: 33]
  ------------------
 2208|     51|            pool = PyTuple_GET_ITEM(pools, i);
  ------------------
  |  |   29|     51|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     51|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2208:20): [True: 51, False: 0]
  ------------------
 2209|     51|            if (PyTuple_GET_SIZE(pool) == 0)
  ------------------
  |  |   27|     51|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     51|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2209:17): [True: 0, False: 51]
  ------------------
 2210|      0|                goto empty;
 2211|     51|            elem = PyTuple_GET_ITEM(pool, 0);
  ------------------
  |  |   29|     51|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     51|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2211:20): [True: 51, False: 0]
  ------------------
 2212|     51|            Py_INCREF(elem);
  ------------------
  |  |  310|     51|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     51|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2213|     51|            PyTuple_SET_ITEM(result, i, elem);
  ------------------
  |  |   40|     51|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     51|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     51|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2214|     51|        }
 2215|    102|    } else {
 2216|    102|        Py_ssize_t *indices = lz->indices;
 2217|       |
 2218|       |        /* Copy the previous result tuple or re-use it if available */
 2219|    102|        if (!_PyObject_IsUniquelyReferenced(result)) {
  ------------------
  |  Branch (2219:13): [True: 102, False: 0]
  ------------------
 2220|    102|            PyObject *old_result = result;
 2221|    102|            result = PyTuple_FromArray(_PyTuple_ITEMS(old_result), npools);
  ------------------
  |  |   26|    102|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  277|    204|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 102, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2222|    102|            if (result == NULL)
  ------------------
  |  Branch (2222:17): [True: 0, False: 102]
  ------------------
 2223|      0|                goto empty;
 2224|    102|            lz->result = result;
 2225|    102|            Py_DECREF(old_result);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2226|    102|        }
 2227|       |        // bpo-42536: The GC may have untracked this result tuple. Since we're
 2228|       |        // recycling it, make sure it's tracked again:
 2229|      0|        else {
 2230|      0|            _PyTuple_Recycle(result);
 2231|      0|        }
 2232|       |        /* Now, we've got the only copy so we can update it in-place */
 2233|    102|        assert (npools==0 || Py_REFCNT(result) == 1);
  ------------------
  |  Branch (2233:9): [True: 0, False: 102]
  |  Branch (2233:9): [True: 102, False: 0]
  ------------------
 2234|       |
 2235|       |        /* Update the pool indices right-to-left.  Only advance to the
 2236|       |           next pool when the previous one rolls-over */
 2237|    171|        for (i=npools-1 ; i >= 0 ; i--) {
  ------------------
  |  Branch (2237:27): [True: 138, False: 33]
  ------------------
 2238|    138|            pool = PyTuple_GET_ITEM(pools, 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2238:20): [True: 138, False: 0]
  ------------------
 2239|      0|            indices[i]++;
 2240|    138|            if (indices[i] == PyTuple_GET_SIZE(pool)) {
  ------------------
  |  |   27|    138|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    138|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    138|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2240:17): [True: 69, False: 69]
  ------------------
 2241|       |                /* Roll-over and advance to next pool */
 2242|     69|                indices[i] = 0;
 2243|     69|                elem = PyTuple_GET_ITEM(pool, 0);
  ------------------
  |  |   29|     69|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     69|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     69|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2243:24): [True: 69, False: 0]
  ------------------
 2244|     69|                Py_INCREF(elem);
  ------------------
  |  |  310|     69|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     69|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     69|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2245|     69|                oldelem = PyTuple_GET_ITEM(result, i);
  ------------------
  |  |   29|     69|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     69|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     69|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2245:27): [True: 69, False: 0]
  ------------------
 2246|     69|                PyTuple_SET_ITEM(result, i, elem);
  ------------------
  |  |   40|     69|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     69|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     69|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     69|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     69|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2247|     69|                Py_DECREF(oldelem);
  ------------------
  |  |  430|     69|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     69|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     69|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2248|     69|            } else {
 2249|       |                /* No rollover. Just increment and stop here. */
 2250|     69|                elem = PyTuple_GET_ITEM(pool, indices[i]);
  ------------------
  |  |   29|     69|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     69|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     69|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2250:24): [True: 69, False: 0]
  ------------------
 2251|     69|                Py_INCREF(elem);
  ------------------
  |  |  310|     69|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     69|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     69|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2252|     69|                oldelem = PyTuple_GET_ITEM(result, i);
  ------------------
  |  |   29|     69|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     69|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     69|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2252:27): [True: 69, False: 0]
  ------------------
 2253|     69|                PyTuple_SET_ITEM(result, i, elem);
  ------------------
  |  |   40|     69|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     69|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     69|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     69|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     69|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2254|     69|                Py_DECREF(oldelem);
  ------------------
  |  |  430|     69|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     69|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     69|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2255|     69|                break;
 2256|     69|            }
 2257|    138|        }
 2258|       |
 2259|       |        /* If i is negative, then the indices have all rolled-over
 2260|       |           and we're done. */
 2261|    102|        if (i < 0)
  ------------------
  |  Branch (2261:13): [True: 33, False: 69]
  ------------------
 2262|     33|            goto empty;
 2263|    102|    }
 2264|       |
 2265|    102|    return Py_NewRef(result);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2266|       |
 2267|     33|empty:
 2268|     33|    lz->stopped = 1;
 2269|       |    return NULL;
 2270|    135|}
itertoolsmodule.c:product_new:
 2070|     33|{
 2071|     33|    productobject *lz;
 2072|     33|    Py_ssize_t nargs, npools, repeat=1;
 2073|     33|    PyObject *pools = NULL;
 2074|     33|    Py_ssize_t *indices = NULL;
 2075|     33|    Py_ssize_t i;
 2076|       |
 2077|     33|    if (kwds != NULL) {
  ------------------
  |  Branch (2077:9): [True: 0, False: 33]
  ------------------
 2078|      0|        char *kwlist[] = {"repeat", 0};
 2079|      0|        PyObject *tmpargs = PyTuple_New(0);
 2080|      0|        if (tmpargs == NULL)
  ------------------
  |  Branch (2080:13): [True: 0, False: 0]
  ------------------
 2081|      0|            return NULL;
 2082|      0|        if (!PyArg_ParseTupleAndKeywords(tmpargs, kwds, "|n:product",
  ------------------
  |  Branch (2082:13): [True: 0, False: 0]
  ------------------
 2083|      0|                                         kwlist, &repeat)) {
 2084|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2085|      0|            return NULL;
 2086|      0|        }
 2087|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2088|      0|        if (repeat < 0) {
  ------------------
  |  Branch (2088:13): [True: 0, False: 0]
  ------------------
 2089|      0|            PyErr_SetString(PyExc_ValueError,
 2090|      0|                            "repeat argument cannot be negative");
 2091|      0|            return NULL;
 2092|      0|        }
 2093|      0|    }
 2094|       |
 2095|     33|    assert(PyTuple_CheckExact(args));
  ------------------
  |  Branch (2095:5): [True: 33, False: 0]
  ------------------
 2096|     33|    if (repeat == 0) {
  ------------------
  |  Branch (2096:9): [True: 0, False: 33]
  ------------------
 2097|      0|        nargs = 0;
 2098|     33|    } else {
 2099|     33|        nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|     33|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2100|     33|        if ((size_t)nargs > PY_SSIZE_T_MAX/sizeof(Py_ssize_t)/repeat) {
  ------------------
  |  |  137|     33|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2100:13): [True: 0, False: 33]
  ------------------
 2101|      0|            PyErr_SetString(PyExc_OverflowError, "repeat argument too large");
 2102|      0|            return NULL;
 2103|      0|        }
 2104|     33|    }
 2105|     33|    npools = nargs * repeat;
 2106|       |
 2107|     33|    indices = PyMem_New(Py_ssize_t, npools);
  ------------------
  |  |   64|     33|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|     33|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 33]
  |  |  ------------------
  |  |   65|     33|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
 2108|     33|    if (indices == NULL) {
  ------------------
  |  Branch (2108:9): [True: 0, False: 33]
  ------------------
 2109|      0|        PyErr_NoMemory();
 2110|      0|        goto error;
 2111|      0|    }
 2112|       |
 2113|     33|    pools = PyTuple_New(npools);
 2114|     33|    if (pools == NULL)
  ------------------
  |  Branch (2114:9): [True: 0, False: 33]
  ------------------
 2115|      0|        goto error;
 2116|       |
 2117|     84|    for (i=0; i < nargs ; ++i) {
  ------------------
  |  Branch (2117:15): [True: 51, False: 33]
  ------------------
 2118|     51|        PyObject *item = PyTuple_GET_ITEM(args, i);
  ------------------
  |  |   29|     51|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     51|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2118:26): [True: 51, False: 0]
  ------------------
 2119|      0|        PyObject *pool = PySequence_Tuple(item);
 2120|     51|        if (pool == NULL)
  ------------------
  |  Branch (2120:13): [True: 0, False: 51]
  ------------------
 2121|      0|            goto error;
 2122|     51|        PyTuple_SET_ITEM(pools, i, pool);
  ------------------
  |  |   40|     51|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     51|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     51|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2123|     51|        indices[i] = 0;
 2124|     51|    }
 2125|     33|    for ( ; i < npools; ++i) {
  ------------------
  |  Branch (2125:13): [True: 0, False: 33]
  ------------------
 2126|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2126:26): [True: 0, False: 0]
  ------------------
 2127|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2128|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2129|      0|        indices[i] = 0;
 2130|      0|    }
 2131|       |
 2132|       |    /* create productobject structure */
 2133|     33|    lz = (productobject *)type->tp_alloc(type, 0);
 2134|     33|    if (lz == NULL)
  ------------------
  |  Branch (2134:9): [True: 0, False: 33]
  ------------------
 2135|      0|        goto error;
 2136|       |
 2137|     33|    lz->pools = pools;
 2138|     33|    lz->indices = indices;
 2139|     33|    lz->result = NULL;
 2140|     33|    lz->stopped = 0;
 2141|       |
 2142|     33|    return (PyObject *)lz;
 2143|       |
 2144|      0|error:
 2145|      0|    if (indices != NULL)
  ------------------
  |  Branch (2145:9): [True: 0, False: 0]
  ------------------
 2146|      0|        PyMem_Free(indices);
 2147|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2148|       |    return NULL;
 2149|     33|}
itertoolsmodule.c:itertoolsmodule_traverse:
 4107|    268|{
 4108|    268|    itertools_state *state = get_module_state(mod);
 4109|    268|    Py_VISIT(state->accumulate_type);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 4110|    268|    Py_VISIT(state->batched_type);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 4111|    268|    Py_VISIT(state->chain_type);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 4112|    268|    Py_VISIT(state->combinations_type);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 4113|    268|    Py_VISIT(state->compress_type);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 4114|    268|    Py_VISIT(state->count_type);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 4115|    268|    Py_VISIT(state->cwr_type);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 4116|    268|    Py_VISIT(state->cycle_type);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 4117|    268|    Py_VISIT(state->dropwhile_type);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 4118|    268|    Py_VISIT(state->filterfalse_type);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 4119|    268|    Py_VISIT(state->groupby_type);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 4120|    268|    Py_VISIT(state->_grouper_type);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 4121|    268|    Py_VISIT(state->islice_type);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 4122|    268|    Py_VISIT(state->pairwise_type);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 4123|    268|    Py_VISIT(state->permutations_type);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 4124|    268|    Py_VISIT(state->product_type);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 4125|    268|    Py_VISIT(state->repeat_type);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 4126|    268|    Py_VISIT(state->starmap_type);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 4127|    268|    Py_VISIT(state->takewhile_type);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 4128|    268|    Py_VISIT(state->tee_type);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 4129|    268|    Py_VISIT(state->teedataobject_type);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 4130|    268|    Py_VISIT(state->ziplongest_type);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
 4131|    268|    return 0;
 4132|    268|}

_PyLong_FromUid:
  843|    121|{
  844|    121|    if (uid == (uid_t)-1)
  ------------------
  |  Branch (844:9): [True: 0, False: 121]
  ------------------
  845|      0|        return PyLong_FromLong(-1);
  846|    121|    return PyLong_FromUnsignedLong(uid);
  847|    121|}
_PyLong_FromGid:
  851|    121|{
  852|    121|    if (gid == (gid_t)-1)
  ------------------
  |  Branch (852:9): [True: 0, False: 121]
  ------------------
  853|      0|        return PyLong_FromLong(-1);
  854|    121|    return PyLong_FromUnsignedLong(gid);
  855|    121|}
PyOS_FSPath:
17208|    194|{
17209|       |    /* For error message reasons, this function is manually inlined in
17210|       |       path_converter(). */
17211|    194|    PyObject *func = NULL;
17212|    194|    PyObject *path_repr = NULL;
17213|       |
17214|    194|    if (PyUnicode_Check(path) || PyBytes_Check(path)) {
  ------------------
  |  |  103|    194|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    388|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 194, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyUnicode_Check(path) || 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17215|    194|        return Py_NewRef(path);
  ------------------
  |  |  550|    194|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    194|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    194|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17216|    194|    }
17217|       |
17218|      0|    func = _PyObject_LookupSpecial(path, &_Py_ID(__fspath__));
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17219|      0|    if ((NULL == func) || (func == Py_None)) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (17219:9): [True: 0, False: 0]
  |  Branch (17219:27): [True: 0, False: 0]
  ------------------
17220|      0|        return PyErr_Format(PyExc_TypeError,
17221|      0|                            "expected str, bytes or os.PathLike object, "
17222|      0|                            "not %.200s",
17223|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17224|      0|    }
17225|       |
17226|      0|    path_repr = _PyObject_CallNoArgs(func);
17227|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17228|      0|    if (NULL == path_repr) {
  ------------------
  |  Branch (17228:9): [True: 0, False: 0]
  ------------------
17229|      0|        return NULL;
17230|      0|    }
17231|       |
17232|      0|    if (!(PyUnicode_Check(path_repr) || PyBytes_Check(path_repr))) {
  ------------------
  |  |  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(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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17233|      0|        PyErr_Format(PyExc_TypeError,
17234|      0|                     "expected %.200s.__fspath__() to return str or bytes, "
17235|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17236|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17237|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17238|      0|        return NULL;
17239|      0|    }
17240|       |
17241|      0|    return path_repr;
17242|      0|}
PyInit_posix:
18949|      2|{
18950|      2|    return PyModuleDef_Init(&posixmodule);
18951|      2|}
posixmodule.c:path_converter:
 1381|    154|{
 1382|    154|    path_t *path = (path_t *)p;
 1383|    154|    PyObject *bytes = NULL;
 1384|    154|    Py_ssize_t length = 0;
 1385|    154|    int is_index, is_bytes, is_unicode;
 1386|    154|    const char *narrow;
 1387|    154|    PyObject *wo = NULL;
 1388|    154|    wchar_t *wide = NULL;
 1389|       |
 1390|    154|#define FORMAT_EXCEPTION(exc, fmt) \
 1391|    154|    PyErr_Format(exc, "%s%s" fmt, \
 1392|    154|        path->function_name ? path->function_name : "", \
 1393|    154|        path->function_name ? ": "                : "", \
 1394|    154|        path->argument_name ? path->argument_name : "path")
 1395|       |
 1396|       |    /* Py_CLEANUP_SUPPORTED support */
 1397|    154|    if (o == NULL) {
  ------------------
  |  Branch (1397:9): [True: 0, False: 154]
  ------------------
 1398|      0|        path_cleanup(path);
 1399|      0|        return 1;
 1400|      0|    }
 1401|       |
 1402|       |    /* Ensure it's always safe to call path_cleanup(). */
 1403|    154|    path->object = path->cleanup = NULL;
 1404|       |    /* path->object owns a reference to the original object */
 1405|    154|    Py_INCREF(o);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1406|       |
 1407|    154|    if ((o == Py_None) && path->nullable) {
  ------------------
  |  |  616|    154|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1407:9): [True: 0, False: 154]
  |  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|    154|    is_index = path->allow_fd && PyIndex_Check(o);
  ------------------
  |  Branch (1416:16): [True: 144, False: 10]
  |  Branch (1416:34): [True: 0, False: 144]
  ------------------
 1417|    154|    is_bytes = PyBytes_Check(o);
  ------------------
  |  |   28|    154|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    154|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
 1418|    154|    is_unicode = PyUnicode_Check(o);
  ------------------
  |  |  103|    154|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    154|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
 1419|       |
 1420|    154|    if (!is_index && !is_unicode && !is_bytes) {
  ------------------
  |  Branch (1420:9): [True: 154, False: 0]
  |  Branch (1420:22): [True: 0, False: 154]
  |  Branch (1420:37): [True: 0, False: 0]
  ------------------
 1421|       |        /* Inline PyOS_FSPath() for better error messages. */
 1422|      0|        PyObject *func, *res;
 1423|       |
 1424|      0|        func = _PyObject_LookupSpecial(o, &_Py_ID(__fspath__));
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1425|      0|        if ((NULL == func) || (func == Py_None)) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1425:13): [True: 0, False: 0]
  |  Branch (1425:31): [True: 0, False: 0]
  ------------------
 1426|      0|            goto error_format;
 1427|      0|        }
 1428|      0|        res = _PyObject_CallNoArgs(func);
 1429|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1430|      0|        if (NULL == res) {
  ------------------
  |  Branch (1430:13): [True: 0, False: 0]
  ------------------
 1431|      0|            goto error_exit;
 1432|      0|        }
 1433|      0|        else if (PyUnicode_Check(res)) {
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1434|      0|            is_unicode = 1;
 1435|      0|        }
 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|      0|        Py_SETREF(o, res);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1450|      0|    }
 1451|       |
 1452|    154|    if (is_unicode) {
  ------------------
  |  Branch (1452:9): [True: 154, False: 0]
  ------------------
 1453|    154|        if (path->make_wide) {
  ------------------
  |  Branch (1453:13): [True: 10, False: 144]
  ------------------
 1454|     10|            wide = PyUnicode_AsWideCharString(o, &length);
 1455|     10|            if (!wide) {
  ------------------
  |  Branch (1455:17): [True: 0, False: 10]
  ------------------
 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|     10|            if (!path->nonstrict && wcslen(wide) != (size_t)length) {
  ------------------
  |  Branch (1464:17): [True: 0, False: 10]
  |  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|     10|            path->wide = wide;
 1471|     10|            path->narrow = NULL;
 1472|     10|            path->fd = -1;
 1473|     10|            wide = NULL;
 1474|     10|            goto success_exit;
 1475|     10|        }
 1476|    144|        bytes = PyUnicode_EncodeFSDefault(o);
 1477|    144|        if (!bytes) {
  ------------------
  |  Branch (1477:13): [True: 0, False: 144]
  ------------------
 1478|      0|            goto error_exit;
 1479|      0|        }
 1480|    144|    }
 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|    144|    length = PyBytes_GET_SIZE(bytes);
  ------------------
  |  |   33|    144|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    144|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    144|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1509|    144|    narrow = PyBytes_AS_STRING(bytes);
  ------------------
  |  |   27|    144|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    144|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    144|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1510|    144|    if (!path->nonstrict && strlen(narrow) != (size_t)length) {
  ------------------
  |  Branch (1510:9): [True: 144, False: 0]
  |  Branch (1510:29): [True: 0, False: 144]
  ------------------
 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|    144|    if (path->make_wide) {
  ------------------
  |  Branch (1515:9): [True: 0, False: 144]
  ------------------
 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|    144|    else {
 1543|    144|        path->wide = NULL;
 1544|    144|        path->narrow = narrow;
 1545|    144|        if (bytes == o) {
  ------------------
  |  Branch (1545:13): [True: 0, False: 144]
  ------------------
 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|    144|        else {
 1551|    144|            path->cleanup = bytes;
 1552|    144|        }
 1553|    144|    }
 1554|    144|    path->fd = -1;
 1555|       |
 1556|    154| success_exit:
 1557|    154|    path->value_error = 0;
 1558|    154|    path->length = length;
 1559|    154|    path->object = o;
 1560|    154|    return Py_CLEANUP_SUPPORTED;
  ------------------
  |  |   57|    154|#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|    135|{
 3306|    135|    return posix_do_stat(module, "stat", path, dir_fd, follow_symlinks);
 3307|    135|}
posixmodule.c:posix_do_stat:
 2877|    135|{
 2878|    135|    STRUCT_STAT st;
  ------------------
  |  |  411|    135|#  define STRUCT_STAT struct stat
  ------------------
 2879|    135|    int result;
 2880|       |
 2881|    135|#ifdef HAVE_FSTATAT
 2882|    135|    int fstatat_unavailable = 0;
 2883|    135|#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|    135|    if (path_and_dir_fd_invalid("stat", path, dir_fd) ||
  ------------------
  |  Branch (2890:9): [True: 0, False: 135]
  ------------------
 2891|    135|        dir_fd_and_fd_invalid("stat", dir_fd, path->fd) ||
  ------------------
  |  Branch (2891:9): [True: 0, False: 135]
  ------------------
 2892|    135|        fd_and_follow_symlinks_invalid("stat", path->is_fd, follow_symlinks))
  ------------------
  |  Branch (2892:9): [True: 0, False: 135]
  ------------------
 2893|      0|        return NULL;
 2894|       |
 2895|    135|    Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|    135|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|    135|                        PyThreadState *_save; \
  |  |  121|    135|                        _save = PyEval_SaveThread();
  ------------------
 2896|    135|    if (path->is_fd) {
  ------------------
  |  Branch (2896:9): [True: 0, False: 135]
  ------------------
 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|    135|    else
 2906|    135|#if defined(HAVE_LSTAT)
 2907|    135|    if ((!follow_symlinks) && (dir_fd == DEFAULT_DIR_FD))
  ------------------
  |  | 1138|      0|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (2907:9): [True: 0, False: 135]
  |  Branch (2907:31): [True: 0, False: 0]
  ------------------
 2908|      0|        result = LSTAT(path->narrow, &st);
  ------------------
  |  |  409|      0|#  define LSTAT lstat
  ------------------
 2909|    135|    else
 2910|    135|#endif /* HAVE_LSTAT */
 2911|    135|#ifdef HAVE_FSTATAT
 2912|    135|    if ((dir_fd != DEFAULT_DIR_FD) || !follow_symlinks) {
  ------------------
  |  | 1138|    135|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (2912:9): [True: 0, False: 135]
  |  Branch (2912:39): [True: 0, False: 135]
  ------------------
 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|    135|#endif /* HAVE_FSTATAT */
 2922|    135|        result = STAT(path->narrow, &st);
  ------------------
  |  |  408|    135|#  define STAT stat
  ------------------
 2923|    135|#endif /* MS_WINDOWS */
 2924|    135|    Py_END_ALLOW_THREADS
  ------------------
  |  |  124|    135|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|    135|                 }
  ------------------
 2925|       |
 2926|    135|#ifdef HAVE_FSTATAT
 2927|    135|    if (fstatat_unavailable) {
  ------------------
  |  Branch (2927:9): [True: 0, False: 135]
  ------------------
 2928|      0|        argument_unavailable_error("stat", "dir_fd");
 2929|      0|        return NULL;
 2930|      0|    }
 2931|    135|#endif
 2932|       |
 2933|    135|    if (result != 0) {
  ------------------
  |  Branch (2933:9): [True: 18, False: 117]
  ------------------
 2934|     18|        return path_error(path);
 2935|     18|    }
 2936|       |
 2937|    117|    return _pystat_fromstructstat(module, &st);
 2938|    135|}
posixmodule.c:path_and_dir_fd_invalid:
 1627|    135|{
 1628|    135|    if (!path->wide && (dir_fd != DEFAULT_DIR_FD) && !path->narrow) {
  ------------------
  |  | 1138|    135|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (1628:9): [True: 135, False: 0]
  |  Branch (1628:24): [True: 0, False: 135]
  |  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|    135|    return 0;
 1635|    135|}
posixmodule.c:dir_fd_and_fd_invalid:
 1639|    135|{
 1640|    135|    if ((dir_fd != DEFAULT_DIR_FD) && (fd != -1)) {
  ------------------
  |  | 1138|    135|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (1640:9): [True: 0, False: 135]
  |  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|    135|    return 0;
 1647|    135|}
posixmodule.c:fd_and_follow_symlinks_invalid:
 1652|    135|{
 1653|    135|    if (is_fd && (!follow_symlinks)) {
  ------------------
  |  Branch (1653:9): [True: 0, False: 135]
  |  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|    135|    return 0;
 1660|    135|}
posixmodule.c:path_error:
 1935|     18|{
 1936|     18|    return path_object_error(path->object);
 1937|     18|}
posixmodule.c:path_object_error:
 1913|     18|{
 1914|       |#ifdef MS_WINDOWS
 1915|       |    return PyErr_SetExcFromWindowsErrWithFilenameObject(
 1916|       |                PyExc_OSError, 0, path);
 1917|       |#else
 1918|     18|    return posix_path_object_error(path);
 1919|     18|#endif
 1920|     18|}
posixmodule.c:posix_path_object_error:
 1907|     18|{
 1908|     18|    return PyErr_SetFromErrnoWithFilenameObject(PyExc_OSError, path);
 1909|     18|}
posixmodule.c:_pystat_fromstructstat:
 2750|    117|{
 2751|    117|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (2751:5): [True: 117, False: 0]
  ------------------
 2752|       |
 2753|    117|    _posixstate *state = get_posix_state(module);
 2754|    117|    PyObject *StatResultType = state->StatResultType;
 2755|    117|    PyObject *v = PyStructSequence_New((PyTypeObject *)StatResultType);
 2756|    117|    if (v == NULL) {
  ------------------
  |  Branch (2756:9): [True: 0, False: 117]
  ------------------
 2757|      0|        return NULL;
 2758|      0|    }
 2759|       |
 2760|    117|#define SET_ITEM(pos, expr) \
 2761|    117|    do { \
 2762|    117|        PyObject *obj = (expr); \
 2763|    117|        if (obj == NULL) { \
 2764|    117|            goto error; \
 2765|    117|        } \
 2766|    117|        PyStructSequence_SET_ITEM(v, (pos), obj); \
 2767|    117|    } while (0)
 2768|       |
 2769|    117|    SET_ITEM(0, PyLong_FromLong((long)st->st_mode));
  ------------------
  |  | 2761|    117|    do { \
  |  | 2762|    117|        PyObject *obj = (expr); \
  |  | 2763|    117|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2763:13): [True: 0, False: 117]
  |  |  ------------------
  |  | 2764|      0|            goto error; \
  |  | 2765|      0|        } \
  |  | 2766|    117|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    117|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2767|    117|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2767:14): [Folded, False: 117]
  |  |  ------------------
  ------------------
 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|    117|    static_assert(sizeof(unsigned long long) >= sizeof(st->st_ino),
 2775|    117|                  "stat.st_ino is larger than unsigned long long");
 2776|    117|    SET_ITEM(1, PyLong_FromUnsignedLongLong(st->st_ino));
  ------------------
  |  | 2761|    117|    do { \
  |  | 2762|    117|        PyObject *obj = (expr); \
  |  | 2763|    117|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2763:13): [True: 0, False: 117]
  |  |  ------------------
  |  | 2764|      0|            goto error; \
  |  | 2765|      0|        } \
  |  | 2766|    117|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    117|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2767|    117|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2767:14): [Folded, False: 117]
  |  |  ------------------
  ------------------
 2777|    117|    SET_ITEM(2, _PyLong_FromDev(st->st_dev));
  ------------------
  |  | 2761|    117|    do { \
  |  | 2762|    117|        PyObject *obj = (expr); \
  |  | 2763|    117|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2763:13): [True: 0, False: 117]
  |  |  ------------------
  |  | 2764|      0|            goto error; \
  |  | 2765|      0|        } \
  |  | 2766|    117|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    117|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2767|    117|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2767:14): [Folded, False: 117]
  |  |  ------------------
  ------------------
 2778|    117|#endif
 2779|    117|    SET_ITEM(3, PyLong_FromLong((long)st->st_nlink));
  ------------------
  |  | 2761|    117|    do { \
  |  | 2762|    117|        PyObject *obj = (expr); \
  |  | 2763|    117|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2763:13): [True: 0, False: 117]
  |  |  ------------------
  |  | 2764|      0|            goto error; \
  |  | 2765|      0|        } \
  |  | 2766|    117|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    117|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2767|    117|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2767:14): [Folded, False: 117]
  |  |  ------------------
  ------------------
 2780|       |#if defined(MS_WINDOWS)
 2781|       |    SET_ITEM(4, PyLong_FromLong(0));
 2782|       |    SET_ITEM(5, PyLong_FromLong(0));
 2783|       |#else
 2784|    117|    SET_ITEM(4, _PyLong_FromUid(st->st_uid));
  ------------------
  |  | 2761|    117|    do { \
  |  | 2762|    117|        PyObject *obj = (expr); \
  |  | 2763|    117|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2763:13): [True: 0, False: 117]
  |  |  ------------------
  |  | 2764|      0|            goto error; \
  |  | 2765|      0|        } \
  |  | 2766|    117|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    117|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2767|    117|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2767:14): [Folded, False: 117]
  |  |  ------------------
  ------------------
 2785|    117|    SET_ITEM(5, _PyLong_FromGid(st->st_gid));
  ------------------
  |  | 2761|    117|    do { \
  |  | 2762|    117|        PyObject *obj = (expr); \
  |  | 2763|    117|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2763:13): [True: 0, False: 117]
  |  |  ------------------
  |  | 2764|      0|            goto error; \
  |  | 2765|      0|        } \
  |  | 2766|    117|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    117|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2767|    117|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2767:14): [Folded, False: 117]
  |  |  ------------------
  ------------------
 2786|    117|#endif
 2787|    117|    static_assert(sizeof(long long) >= sizeof(st->st_size),
 2788|    117|                  "stat.st_size is larger than long long");
 2789|    117|    SET_ITEM(6, PyLong_FromLongLong(st->st_size));
  ------------------
  |  | 2761|    117|    do { \
  |  | 2762|    117|        PyObject *obj = (expr); \
  |  | 2763|    117|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2763:13): [True: 0, False: 117]
  |  |  ------------------
  |  | 2764|      0|            goto error; \
  |  | 2765|      0|        } \
  |  | 2766|    117|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    117|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2767|    117|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2767:14): [Folded, False: 117]
  |  |  ------------------
  ------------------
 2790|       |
 2791|       |    // Set st_atime, st_mtime and st_ctime
 2792|    117|    unsigned long ansec, mnsec, cnsec;
 2793|    117|#if defined(HAVE_STAT_TV_NSEC)
 2794|    117|    ansec = st->st_atim.tv_nsec;
 2795|    117|    mnsec = st->st_mtim.tv_nsec;
 2796|    117|    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|    117|    if (fill_time(state, v, 7, 10, 13, st->st_atime, ansec) < 0) {
  ------------------
  |  Branch (2808:9): [True: 0, False: 117]
  ------------------
 2809|      0|        goto error;
 2810|      0|    }
 2811|    117|    if (fill_time(state, v, 8, 11, 14, st->st_mtime, mnsec) < 0) {
  ------------------
  |  Branch (2811:9): [True: 0, False: 117]
  ------------------
 2812|      0|        goto error;
 2813|      0|    }
 2814|    117|    if (fill_time(state, v, 9, 12, 15, st->st_ctime, cnsec) < 0) {
  ------------------
  |  Branch (2814:9): [True: 0, False: 117]
  ------------------
 2815|      0|        goto error;
 2816|      0|    }
 2817|       |
 2818|    117|#ifdef HAVE_STRUCT_STAT_ST_BLKSIZE
 2819|    117|    SET_ITEM(ST_BLKSIZE_IDX, PyLong_FromLong((long)st->st_blksize));
  ------------------
  |  | 2761|    117|    do { \
  |  | 2762|    117|        PyObject *obj = (expr); \
  |  | 2763|    117|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2763:13): [True: 0, False: 117]
  |  |  ------------------
  |  | 2764|      0|            goto error; \
  |  | 2765|      0|        } \
  |  | 2766|    117|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    117|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2767|    117|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2767:14): [Folded, False: 117]
  |  |  ------------------
  ------------------
 2820|    117|#endif
 2821|    117|#ifdef HAVE_STRUCT_STAT_ST_BLOCKS
 2822|    117|    SET_ITEM(ST_BLOCKS_IDX, PyLong_FromLong((long)st->st_blocks));
  ------------------
  |  | 2761|    117|    do { \
  |  | 2762|    117|        PyObject *obj = (expr); \
  |  | 2763|    117|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2763:13): [True: 0, False: 117]
  |  |  ------------------
  |  | 2764|      0|            goto error; \
  |  | 2765|      0|        } \
  |  | 2766|    117|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    117|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2767|    117|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2767:14): [Folded, False: 117]
  |  |  ------------------
  ------------------
 2823|    117|#endif
 2824|    117|#ifdef HAVE_STRUCT_STAT_ST_RDEV
 2825|    117|    SET_ITEM(ST_RDEV_IDX, _PyLong_FromDev(st->st_rdev));
  ------------------
  |  | 2761|    117|    do { \
  |  | 2762|    117|        PyObject *obj = (expr); \
  |  | 2763|    117|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2763:13): [True: 0, False: 117]
  |  |  ------------------
  |  | 2764|      0|            goto error; \
  |  | 2765|      0|        } \
  |  | 2766|    117|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    117|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2767|    117|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2767:14): [Folded, False: 117]
  |  |  ------------------
  ------------------
 2826|    117|#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|    117|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (2861:5): [True: 117, False: 0]
  ------------------
 2862|    117|    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|    117|#undef SET_ITEM
 2869|    117|}
posixmodule.c:get_posix_state:
 1230|    389|{
 1231|    389|    void *state = _PyModule_GetState(module);
 1232|    389|    assert(state != NULL);
  ------------------
  |  Branch (1232:5): [True: 389, False: 0]
  ------------------
 1233|    389|    return (_posixstate *)state;
 1234|    389|}
posixmodule.c:_PyLong_FromDev:
 1074|    236|{
 1075|    236|#ifdef NODEV
 1076|    236|    if (dev == NODEV) {
  ------------------
  |  Branch (1076:9): [True: 2, False: 234]
  ------------------
 1077|      2|        return PyLong_FromLongLong((long long)dev);
 1078|      2|    }
 1079|    234|#endif
 1080|    234|    return PyLong_FromUnsignedLongLong((unsigned long long)dev);
 1081|    236|}
posixmodule.c:fill_time:
 2686|    351|{
 2687|    351|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (2687:5): [True: 351, False: 0]
  ------------------
 2688|    351|    assert(nsec < SEC_TO_NS);
  ------------------
  |  Branch (2688:5): [True: 351, False: 0]
  ------------------
 2689|       |
 2690|    351|    if (s_index >= 0) {
  ------------------
  |  Branch (2690:9): [True: 351, False: 0]
  ------------------
 2691|    351|        PyObject *s = _PyLong_FromTime_t(sec);
 2692|    351|        if (s == NULL) {
  ------------------
  |  Branch (2692:13): [True: 0, False: 351]
  ------------------
 2693|      0|            return -1;
 2694|      0|        }
 2695|    351|        PyStructSequence_SET_ITEM(v, s_index, s);
  ------------------
  |  |   11|    351|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 2696|    351|    }
 2697|       |
 2698|    351|    if (f_index >= 0) {
  ------------------
  |  Branch (2698:9): [True: 351, False: 0]
  ------------------
 2699|    351|        PyObject *float_s = PyFloat_FromDouble((double)sec + 1e-9 * nsec);
 2700|    351|        if (float_s == NULL) {
  ------------------
  |  Branch (2700:13): [True: 0, False: 351]
  ------------------
 2701|      0|            return -1;
 2702|      0|        }
 2703|    351|        PyStructSequence_SET_ITEM(v, f_index, float_s);
  ------------------
  |  |   11|    351|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 2704|    351|    }
 2705|       |
 2706|    351|    if (ns_index >= 0) {
  ------------------
  |  Branch (2706:9): [True: 351, False: 0]
  ------------------
 2707|    351|        PyObject *ns_total = stat_nanosecond_timestamp(state, sec, nsec);
 2708|    351|        if (ns_total == NULL) {
  ------------------
  |  Branch (2708:13): [True: 0, False: 351]
  ------------------
 2709|      0|            return -1;
 2710|      0|        }
 2711|    351|        PyStructSequence_SET_ITEM(v, ns_index, ns_total);
  ------------------
  |  |   11|    351|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 2712|    351|    }
 2713|       |
 2714|    351|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (2714:5): [True: 351, False: 0]
  ------------------
 2715|    351|    return 0;
 2716|    351|}
posixmodule.c:stat_nanosecond_timestamp:
 2649|    351|{
 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|    351|    if ((LLONG_MIN/SEC_TO_NS) <= sec && sec <= (LLONG_MAX/SEC_TO_NS - 1)) {
  ------------------
  |  | 2646|    351|#define SEC_TO_NS (1000000000LL)
  ------------------
                  if ((LLONG_MIN/SEC_TO_NS) <= sec && sec <= (LLONG_MAX/SEC_TO_NS - 1)) {
  ------------------
  |  | 2646|    351|#define SEC_TO_NS (1000000000LL)
  ------------------
  |  Branch (2654:9): [True: 351, False: 0]
  |  Branch (2654:41): [True: 351, False: 0]
  ------------------
 2655|    351|        return PyLong_FromLongLong(sec * SEC_TO_NS + nsec);
  ------------------
  |  | 2646|    351|#define SEC_TO_NS (1000000000LL)
  ------------------
 2656|    351|    }
 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|    351|#endif
 2681|    351|}
posixmodule.c:path_cleanup:
 1371|    154|{
 1372|    154|    wchar_t *wide = (wchar_t *)path->wide;
 1373|    154|    path->wide = NULL;
 1374|    154|    PyMem_Free(wide);
 1375|    154|    Py_CLEAR(path->object);
  ------------------
  |  |  484|    154|    do { \
  |  |  485|    154|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    154|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    154|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    154|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    154|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 154, False: 0]
  |  |  ------------------
  |  |  488|    154|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    154|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    154|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    154|        } \
  |  |  491|    154|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 154]
  |  |  ------------------
  ------------------
 1376|       |    Py_CLEAR(path->cleanup);
  ------------------
  |  |  484|    154|    do { \
  |  |  485|    154|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    154|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    154|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    154|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    154|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 144, False: 10]
  |  |  ------------------
  |  |  488|    144|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    144|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    144|            Py_DECREF(_tmp_old_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    144|        } \
  |  |  491|    154|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 154]
  |  |  ------------------
  ------------------
 1377|    154|}
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_listdir_impl:
 5136|      9|{
 5137|      9|    if (PySys_Audit("os.listdir", "O",
  ------------------
  |  Branch (5137:9): [True: 0, False: 9]
  ------------------
 5138|      9|                    path->object ? path->object : Py_None) < 0) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5138:21): [True: 9, False: 0]
  ------------------
 5139|      0|        return NULL;
 5140|      0|    }
 5141|       |#if defined(MS_WINDOWS) && !defined(HAVE_OPENDIR)
 5142|       |    return _listdir_windows_no_opendir(path, NULL);
 5143|       |#else
 5144|      9|    return _posix_listdir(path, NULL);
 5145|      9|#endif
 5146|      9|}
posixmodule.c:_posix_listdir:
 5000|      9|{
 5001|      9|    PyObject *v;
 5002|      9|    DIR *dirp = NULL;
 5003|      9|    struct dirent *ep;
 5004|      9|    int return_str; /* if false, return bytes */
 5005|      9|#ifdef HAVE_FDOPENDIR
 5006|      9|    int fd = -1;
 5007|      9|#endif
 5008|       |
 5009|      9|    errno = 0;
 5010|      9|#ifdef HAVE_FDOPENDIR
 5011|      9|    if (path->is_fd) {
  ------------------
  |  Branch (5011:9): [True: 0, False: 9]
  ------------------
 5012|      0|      if (HAVE_FDOPENDIR_RUNTIME) {
  ------------------
  |  |  609|      0|#  define HAVE_FDOPENDIR_RUNTIME 1
  |  |  ------------------
  |  |  |  Branch (609:34): [True: 0, Folded]
  |  |  ------------------
  ------------------
 5013|       |        /* closedir() closes the FD, so we duplicate it */
 5014|      0|        fd = _Py_dup(path->fd);
 5015|      0|        if (fd == -1)
  ------------------
  |  Branch (5015:13): [True: 0, False: 0]
  ------------------
 5016|      0|            return NULL;
 5017|       |
 5018|      0|        return_str = 1;
 5019|       |
 5020|      0|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|      0|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|      0|                        PyThreadState *_save; \
  |  |  121|      0|                        _save = PyEval_SaveThread();
  ------------------
 5021|      0|        dirp = fdopendir(fd);
 5022|      0|        Py_END_ALLOW_THREADS
  ------------------
  |  |  124|      0|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|      0|                 }
  ------------------
 5023|      0|      } else {
 5024|      0|        PyErr_SetString(PyExc_TypeError,
 5025|      0|            "listdir: path should be string, bytes, os.PathLike or None, not int");
 5026|      0|        return NULL;
 5027|      0|      }
 5028|      0|    }
 5029|      9|    else
 5030|      9|#endif
 5031|      9|    {
 5032|      9|        const char *name;
 5033|      9|        if (path->narrow) {
  ------------------
  |  Branch (5033:13): [True: 9, False: 0]
  ------------------
 5034|      9|            name = path->narrow;
 5035|       |            /* only return bytes if they specified a bytes object */
 5036|      9|            return_str = !PyBytes_Check(path->object);
  ------------------
  |  |   28|      9|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      9|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
 5037|      9|        }
 5038|      0|        else {
 5039|      0|            name = ".";
 5040|      0|            return_str = 1;
 5041|      0|        }
 5042|       |
 5043|      9|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|      9|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|      9|                        PyThreadState *_save; \
  |  |  121|      9|                        _save = PyEval_SaveThread();
  ------------------
 5044|      9|        dirp = opendir(name);
 5045|      9|        Py_END_ALLOW_THREADS
  ------------------
  |  |  124|      9|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|      9|                 }
  ------------------
 5046|      9|    }
 5047|       |
 5048|      9|    if (dirp == NULL) {
  ------------------
  |  Branch (5048:9): [True: 0, False: 9]
  ------------------
 5049|      0|        path_error(path);
 5050|      0|        list = NULL;
 5051|      0|#ifdef HAVE_FDOPENDIR
 5052|      0|        if (fd != -1) {
  ------------------
  |  Branch (5052:13): [True: 0, False: 0]
  ------------------
 5053|      0|            Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|      0|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|      0|                        PyThreadState *_save; \
  |  |  121|      0|                        _save = PyEval_SaveThread();
  ------------------
 5054|      0|            close(fd);
 5055|      0|            Py_END_ALLOW_THREADS
  ------------------
  |  |  124|      0|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|      0|                 }
  ------------------
 5056|      0|        }
 5057|      0|#endif
 5058|      0|        goto exit;
 5059|      0|    }
 5060|      9|    if ((list = PyList_New(0)) == NULL) {
  ------------------
  |  Branch (5060:9): [True: 0, False: 9]
  ------------------
 5061|      0|        goto exit;
 5062|      0|    }
 5063|    587|    for (;;) {
 5064|    587|        errno = 0;
 5065|    587|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|    587|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|    587|                        PyThreadState *_save; \
  |  |  121|    587|                        _save = PyEval_SaveThread();
  ------------------
 5066|    587|        ep = readdir(dirp);
 5067|    587|        Py_END_ALLOW_THREADS
  ------------------
  |  |  124|    587|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|    587|                 }
  ------------------
 5068|    587|        if (ep == NULL) {
  ------------------
  |  Branch (5068:13): [True: 9, False: 578]
  ------------------
 5069|      9|            if (errno == 0) {
  ------------------
  |  Branch (5069:17): [True: 9, False: 0]
  ------------------
 5070|      9|                break;
 5071|      9|            } else {
 5072|      0|                path_error(path);
 5073|      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]
  |  |  ------------------
  ------------------
 5074|      0|                goto exit;
 5075|      0|            }
 5076|      9|        }
 5077|    578|        if (ep->d_name[0] == '.' &&
  ------------------
  |  Branch (5077:13): [True: 18, False: 560]
  ------------------
 5078|     18|            (NAMLEN(ep) == 1 ||
  ------------------
  |  |  327|     18|#  define NAMLEN(dirent) strlen((dirent)->d_name)
  ------------------
  |  Branch (5078:14): [True: 9, False: 9]
  ------------------
 5079|      9|             (ep->d_name[1] == '.' && NAMLEN(ep) == 2)))
  ------------------
  |  |  327|      9|#  define NAMLEN(dirent) strlen((dirent)->d_name)
  ------------------
  |  Branch (5079:15): [True: 9, False: 0]
  |  Branch (5079:39): [True: 9, False: 0]
  ------------------
 5080|     18|            continue;
 5081|    560|        if (return_str)
  ------------------
  |  Branch (5081:13): [True: 560, False: 0]
  ------------------
 5082|    560|            v = PyUnicode_DecodeFSDefaultAndSize(ep->d_name, NAMLEN(ep));
  ------------------
  |  |  327|    560|#  define NAMLEN(dirent) strlen((dirent)->d_name)
  ------------------
 5083|      0|        else
 5084|      0|            v = PyBytes_FromStringAndSize(ep->d_name, NAMLEN(ep));
  ------------------
  |  |  327|      0|#  define NAMLEN(dirent) strlen((dirent)->d_name)
  ------------------
 5085|    560|        if (v == NULL) {
  ------------------
  |  Branch (5085:13): [True: 0, False: 560]
  ------------------
 5086|      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]
  |  |  ------------------
  ------------------
 5087|      0|            break;
 5088|      0|        }
 5089|    560|        if (PyList_Append(list, v) != 0) {
  ------------------
  |  Branch (5089:13): [True: 0, False: 560]
  ------------------
 5090|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5091|      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]
  |  |  ------------------
  ------------------
 5092|      0|            break;
 5093|      0|        }
 5094|    560|        Py_DECREF(v);
  ------------------
  |  |  430|    560|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    560|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    560|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5095|    560|    }
 5096|       |
 5097|      9|exit:
 5098|      9|    if (dirp != NULL) {
  ------------------
  |  Branch (5098:9): [True: 9, False: 0]
  ------------------
 5099|      9|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|      9|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|      9|                        PyThreadState *_save; \
  |  |  121|      9|                        _save = PyEval_SaveThread();
  ------------------
 5100|      9|#ifdef HAVE_FDOPENDIR
 5101|      9|        if (fd > -1)
  ------------------
  |  Branch (5101:13): [True: 0, False: 9]
  ------------------
 5102|      0|            rewinddir(dirp);
 5103|      9|#endif
 5104|      9|        closedir(dirp);
 5105|      9|        Py_END_ALLOW_THREADS
  ------------------
  |  |  124|      9|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|      9|                 }
  ------------------
 5106|      9|    }
 5107|       |
 5108|      9|    return list;
 5109|      9|}  /* end of _posix_listdir */
posixmodule.c:os_getegid_impl:
 9577|      2|{
 9578|      2|    return _PyLong_FromGid(getegid());
 9579|      2|}
posixmodule.c:os_geteuid_impl:
 9593|      2|{
 9594|      2|    return _PyLong_FromUid(geteuid());
 9595|      2|}
posixmodule.c:os_getgid_impl:
 9609|      2|{
 9610|      2|    return _PyLong_FromGid(getgid());
 9611|      2|}
posixmodule.c:os_getuid_impl:
10143|      2|{
10144|      2|    return _PyLong_FromUid(getuid());
10145|      2|}
posixmodule.c:os__path_normpath_impl:
 6129|     10|{
 6130|     10|    PyObject *result;
 6131|     10|    Py_ssize_t norm_len;
 6132|     10|    wchar_t *norm_path = _Py_normpath_and_size((wchar_t *)path->wide,
 6133|     10|                                               path->length, &norm_len);
 6134|     10|    if (!norm_len) {
  ------------------
  |  Branch (6134:9): [True: 0, False: 10]
  ------------------
 6135|      0|        result = PyUnicode_FromOrdinal('.');
 6136|      0|    }
 6137|     10|    else {
 6138|     10|        result = PyUnicode_FromWideChar(norm_path, norm_len);
 6139|     10|    }
 6140|     10|    if (result == NULL) {
  ------------------
  |  Branch (6140:9): [True: 0, False: 10]
  ------------------
 6141|      0|        return NULL;
 6142|      0|    }
 6143|     10|    if (PyBytes_Check(path->object)) {
  ------------------
  |  |   28|     10|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     10|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6144|      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]
  |  |  ------------------
  ------------------
 6145|      0|    }
 6146|     10|    return result;
 6147|     10|}
posixmodule.c:os_fspath_impl:
17259|    130|{
17260|    130|    return PyOS_FSPath(path);
17261|    130|}
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:
18757|      2|{
18758|      2|    _posixstate *state = get_posix_state(m);
18759|       |
18760|      2|#if defined(HAVE_PWRITEV)
18761|      2|    if (HAVE_PWRITEV_RUNTIME) {} else {
  ------------------
  |  |  618|      2|#  define HAVE_PWRITEV_RUNTIME 1
  |  |  ------------------
  |  |  |  Branch (618:32): [True: 2, Folded]
  |  |  ------------------
  ------------------
18762|      0|        PyObject* dct = PyModule_GetDict(m);
18763|       |
18764|      0|        if (dct == NULL) {
  ------------------
  |  Branch (18764:13): [True: 0, False: 0]
  ------------------
18765|      0|            return -1;
18766|      0|        }
18767|       |
18768|      0|        if (PyDict_PopString(dct, "pwritev", NULL) < 0) {
  ------------------
  |  Branch (18768:13): [True: 0, False: 0]
  ------------------
18769|      0|            return -1;
18770|      0|        }
18771|      0|        if (PyDict_PopString(dct, "preadv", NULL) < 0) {
  ------------------
  |  Branch (18771:13): [True: 0, False: 0]
  ------------------
18772|      0|            return -1;
18773|      0|        }
18774|      0|    }
18775|      2|#endif
18776|       |
18777|      2|#ifdef HAVE_STATX
18778|      2|    if (statx == NULL) {
  ------------------
  |  Branch (18778:9): [True: 0, False: 2]
  ------------------
18779|      0|        PyObject* dct = PyModule_GetDict(m);
18780|      0|        if (dct == NULL) {
  ------------------
  |  Branch (18780:13): [True: 0, False: 0]
  ------------------
18781|      0|            return -1;
18782|      0|        }
18783|      0|        if (PyDict_PopString(dct, "statx", NULL) < 0) {
  ------------------
  |  Branch (18783:13): [True: 0, False: 0]
  ------------------
18784|      0|            return -1;
18785|      0|        }
18786|      0|    }
18787|      2|    else {
18788|      2|        state->StatxResultType = PyType_FromModuleAndSpec(m, &pystatx_result_spec, NULL);
18789|      2|        if (PyModule_AddObjectRef(m, "statx_result", state->StatxResultType) < 0) {
  ------------------
  |  Branch (18789:13): [True: 0, False: 2]
  ------------------
18790|      0|            return -1;
18791|      0|        }
18792|      2|    }
18793|      2|#endif
18794|       |
18795|       |    /* Initialize environ dictionary */
18796|      2|    if (PyModule_Add(m, "environ", convertenviron()) != 0) {
  ------------------
  |  Branch (18796:9): [True: 0, False: 2]
  ------------------
18797|      0|        return -1;
18798|      0|    }
18799|       |
18800|      2|    if (all_ins(m))
  ------------------
  |  Branch (18800:9): [True: 0, False: 2]
  ------------------
18801|      0|        return -1;
18802|       |
18803|      2|    if (setup_confname_tables(m))
  ------------------
  |  Branch (18803:9): [True: 0, False: 2]
  ------------------
18804|      0|        return -1;
18805|       |
18806|      2|    if (PyModule_AddObjectRef(m, "error", PyExc_OSError) < 0) {
  ------------------
  |  Branch (18806:9): [True: 0, False: 2]
  ------------------
18807|      0|        return -1;
18808|      0|    }
18809|       |
18810|      2|#if defined(HAVE_WAITID)
18811|      2|    state->WaitidResultType = (PyObject *)PyStructSequence_NewType(&waitid_result_desc);
18812|      2|    if (PyModule_AddObjectRef(m, "waitid_result", state->WaitidResultType) < 0) {
  ------------------
  |  Branch (18812:9): [True: 0, False: 2]
  ------------------
18813|      0|        return -1;
18814|      0|    }
18815|      2|#endif
18816|       |
18817|      2|    stat_result_desc.fields[7].name = PyStructSequence_UnnamedField;
18818|      2|    stat_result_desc.fields[8].name = PyStructSequence_UnnamedField;
18819|      2|    stat_result_desc.fields[9].name = PyStructSequence_UnnamedField;
18820|      2|    state->StatResultType = (PyObject *)PyStructSequence_NewType(&stat_result_desc);
18821|      2|    if (PyModule_AddObjectRef(m, "stat_result", state->StatResultType) < 0) {
  ------------------
  |  Branch (18821:9): [True: 0, False: 2]
  ------------------
18822|      0|        return -1;
18823|      0|    }
18824|      2|    state->statresult_new_orig = ((PyTypeObject *)state->StatResultType)->tp_new;
18825|      2|    ((PyTypeObject *)state->StatResultType)->tp_new = statresult_new;
18826|       |
18827|      2|    state->StatVFSResultType = (PyObject *)PyStructSequence_NewType(&statvfs_result_desc);
18828|      2|    if (PyModule_AddObjectRef(m, "statvfs_result", state->StatVFSResultType) < 0) {
  ------------------
  |  Branch (18828:9): [True: 0, False: 2]
  ------------------
18829|      0|        return -1;
18830|      0|    }
18831|       |
18832|      2|#if defined(HAVE_SCHED_SETPARAM) || defined(HAVE_SCHED_SETSCHEDULER) || defined(POSIX_SPAWN_SETSCHEDULER) || defined(POSIX_SPAWN_SETSCHEDPARAM)
18833|      2|    state->SchedParamType = (PyObject *)PyStructSequence_NewType(&sched_param_desc);
18834|      2|    if (PyModule_AddObjectRef(m, "sched_param", state->SchedParamType) < 0) {
  ------------------
  |  Branch (18834:9): [True: 0, False: 2]
  ------------------
18835|      0|        return -1;
18836|      0|    }
18837|      2|    ((PyTypeObject *)state->SchedParamType)->tp_new = os_sched_param;
18838|      2|    if (_PyType_AddMethod((PyTypeObject *)state->SchedParamType,
  ------------------
  |  Branch (18838:9): [True: 0, False: 2]
  ------------------
18839|      2|                          &os_sched_param_reduce_method) < 0)
18840|      0|    {
18841|      0|        return -1;
18842|      0|    }
18843|      2|    PyType_Modified((PyTypeObject *)state->SchedParamType);
18844|      2|#endif
18845|       |
18846|       |    /* initialize TerminalSize_info */
18847|      2|    state->TerminalSizeType = (PyObject *)PyStructSequence_NewType(&TerminalSize_desc);
18848|      2|    if (PyModule_AddObjectRef(m, "terminal_size", state->TerminalSizeType) < 0) {
  ------------------
  |  Branch (18848:9): [True: 0, False: 2]
  ------------------
18849|      0|        return -1;
18850|      0|    }
18851|       |
18852|       |    /* initialize scandir types */
18853|      2|    PyObject *ScandirIteratorType = PyType_FromModuleAndSpec(m, &ScandirIteratorType_spec, NULL);
18854|      2|    if (ScandirIteratorType == NULL) {
  ------------------
  |  Branch (18854:9): [True: 0, False: 2]
  ------------------
18855|      0|        return -1;
18856|      0|    }
18857|      2|    state->ScandirIteratorType = ScandirIteratorType;
18858|       |
18859|      2|    state->DirEntryType = PyType_FromModuleAndSpec(m, &DirEntryType_spec, NULL);
18860|      2|    if (PyModule_AddObjectRef(m, "DirEntry", state->DirEntryType) < 0) {
  ------------------
  |  Branch (18860:9): [True: 0, False: 2]
  ------------------
18861|      0|        return -1;
18862|      0|    }
18863|       |
18864|      2|    state->TimesResultType = (PyObject *)PyStructSequence_NewType(&times_result_desc);
18865|      2|    if (PyModule_AddObjectRef(m, "times_result", state->TimesResultType) < 0) {
  ------------------
  |  Branch (18865:9): [True: 0, False: 2]
  ------------------
18866|      0|        return -1;
18867|      0|    }
18868|       |
18869|      2|    state->UnameResultType = (PyObject *)PyStructSequence_NewType(&uname_result_desc);
18870|      2|    if (PyModule_AddObjectRef(m, "uname_result", state->UnameResultType) < 0) {
  ------------------
  |  Branch (18870:9): [True: 0, False: 2]
  ------------------
18871|      0|        return -1;
18872|      0|    }
18873|       |
18874|      2|    if ((state->billion = PyLong_FromLong(1000000000)) == NULL)
  ------------------
  |  Branch (18874:9): [True: 0, False: 2]
  ------------------
18875|      0|        return -1;
18876|      2|#if defined(HAVE_WAIT3) || defined(HAVE_WAIT4)
18877|      2|    state->struct_rusage = PyUnicode_InternFromString("struct_rusage");
18878|      2|    if (state->struct_rusage == NULL)
  ------------------
  |  Branch (18878:9): [True: 0, False: 2]
  ------------------
18879|      0|        return -1;
18880|      2|#endif
18881|      2|    state->st_mode = PyUnicode_InternFromString("st_mode");
18882|      2|    if (state->st_mode == NULL)
  ------------------
  |  Branch (18882:9): [True: 0, False: 2]
  ------------------
18883|      0|        return -1;
18884|       |
18885|       |    /* suppress "function not used" warnings */
18886|      2|    {
18887|      2|    int ignored;
18888|      2|    fd_specified("", -1);
18889|      2|    follow_symlinks_specified("", 1);
18890|      2|    dir_fd_and_follow_symlinks_invalid("chmod", DEFAULT_DIR_FD, 1);
  ------------------
  |  | 1138|      2|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
18891|      2|    dir_fd_converter(Py_None, &ignored);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
18892|      2|    dir_fd_unavailable(Py_None, &ignored);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
18893|      2|    }
18894|       |
18895|       |    /*
18896|       |     * provide list of locally available functions
18897|       |     * so os.py can populate support_* lists
18898|       |     */
18899|      2|    PyObject *list = PyList_New(0);
18900|      2|    if (!list) {
  ------------------
  |  Branch (18900:9): [True: 0, False: 2]
  ------------------
18901|      0|        return -1;
18902|      0|    }
18903|     66|    for (const struct have_function *trace = have_functions; trace->label; trace++) {
  ------------------
  |  Branch (18903:62): [True: 64, False: 2]
  ------------------
18904|     64|        PyObject *unicode;
18905|     64|        if (trace->probe && !trace->probe()) continue;
  ------------------
  |  Branch (18905:13): [True: 34, False: 30]
  |  Branch (18905:29): [True: 0, False: 34]
  ------------------
18906|     64|        unicode = PyUnicode_DecodeASCII(trace->label, strlen(trace->label), NULL);
18907|     64|        if (!unicode)
  ------------------
  |  Branch (18907:13): [True: 0, False: 64]
  ------------------
18908|      0|            return -1;
18909|     64|        if (PyList_Append(list, unicode))
  ------------------
  |  Branch (18909:13): [True: 0, False: 64]
  ------------------
18910|      0|            return -1;
18911|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
18912|     64|    }
18913|       |
18914|      2|#ifndef MS_WINDOWS
18915|      2|    if (_Py_GetTicksPerSecond(&state->ticks_per_second) < 0) {
  ------------------
  |  Branch (18915:9): [True: 0, False: 2]
  ------------------
18916|      0|        PyErr_SetString(PyExc_RuntimeError,
18917|      0|                        "cannot read ticks_per_second");
18918|      0|        return -1;
18919|      0|    }
18920|      2|    assert(state->ticks_per_second >= 1);
  ------------------
  |  Branch (18920:5): [True: 2, False: 0]
  ------------------
18921|      2|#endif
18922|       |
18923|      2|    return PyModule_Add(m, "_have_functions", list);
18924|      2|}
posixmodule.c:all_ins:
17835|      2|{
17836|      2|#ifdef F_OK
17837|      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]
  |  |  ------------------
  ------------------
17838|      2|#endif
17839|      2|#ifdef R_OK
17840|      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]
  |  |  ------------------
  ------------------
17841|      2|#endif
17842|      2|#ifdef W_OK
17843|      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]
  |  |  ------------------
  ------------------
17844|      2|#endif
17845|      2|#ifdef X_OK
17846|      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]
  |  |  ------------------
  ------------------
17847|      2|#endif
17848|      2|#ifdef NGROUPS_MAX
17849|      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]
  |  |  ------------------
  ------------------
17850|      2|#endif
17851|      2|#ifdef TMP_MAX
17852|      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]
  |  |  ------------------
  ------------------
17853|      2|#endif
17854|      2|#ifdef WCONTINUED
17855|      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]
  |  |  ------------------
  ------------------
17856|      2|#endif
17857|      2|#ifdef WNOHANG
17858|      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]
  |  |  ------------------
  ------------------
17859|      2|#endif
17860|      2|#ifdef WUNTRACED
17861|      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]
  |  |  ------------------
  ------------------
17862|      2|#endif
17863|      2|#ifdef O_RDONLY
17864|      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]
  |  |  ------------------
  ------------------
17865|      2|#endif
17866|      2|#ifdef O_WRONLY
17867|      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]
  |  |  ------------------
  ------------------
17868|      2|#endif
17869|      2|#ifdef O_RDWR
17870|      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]
  |  |  ------------------
  ------------------
17871|      2|#endif
17872|      2|#ifdef O_NDELAY
17873|      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]
  |  |  ------------------
  ------------------
17874|      2|#endif
17875|      2|#ifdef O_NONBLOCK
17876|      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]
  |  |  ------------------
  ------------------
17877|      2|#endif
17878|      2|#ifdef O_APPEND
17879|      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]
  |  |  ------------------
  ------------------
17880|      2|#endif
17881|      2|#ifdef O_DSYNC
17882|      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]
  |  |  ------------------
  ------------------
17883|      2|#endif
17884|      2|#ifdef O_RSYNC
17885|      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]
  |  |  ------------------
  ------------------
17886|      2|#endif
17887|      2|#ifdef O_SYNC
17888|      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]
  |  |  ------------------
  ------------------
17889|      2|#endif
17890|      2|#ifdef O_NOCTTY
17891|      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]
  |  |  ------------------
  ------------------
17892|      2|#endif
17893|      2|#ifdef O_CREAT
17894|      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]
  |  |  ------------------
  ------------------
17895|      2|#endif
17896|      2|#ifdef O_EXCL
17897|      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]
  |  |  ------------------
  ------------------
17898|      2|#endif
17899|      2|#ifdef O_TRUNC
17900|      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]
  |  |  ------------------
  ------------------
17901|      2|#endif
17902|       |#ifdef O_BINARY
17903|       |    if (PyModule_AddIntMacro(m, O_BINARY)) return -1;
17904|       |#endif
17905|       |#ifdef O_TEXT
17906|       |    if (PyModule_AddIntMacro(m, O_TEXT)) return -1;
17907|       |#endif
17908|       |#ifdef O_XATTR
17909|       |    if (PyModule_AddIntMacro(m, O_XATTR)) return -1;
17910|       |#endif
17911|      2|#ifdef O_LARGEFILE
17912|      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]
  |  |  ------------------
  ------------------
17913|      2|#endif
17914|      2|#ifndef __GNU__
17915|       |#ifdef O_SHLOCK
17916|       |    if (PyModule_AddIntMacro(m, O_SHLOCK)) return -1;
17917|       |#endif
17918|       |#ifdef O_EXLOCK
17919|       |    if (PyModule_AddIntMacro(m, O_EXLOCK)) return -1;
17920|       |#endif
17921|      2|#endif
17922|       |#ifdef O_EXEC
17923|       |    if (PyModule_AddIntMacro(m, O_EXEC)) return -1;
17924|       |#endif
17925|       |#ifdef O_SEARCH
17926|       |    if (PyModule_AddIntMacro(m, O_SEARCH)) return -1;
17927|       |#endif
17928|      2|#ifdef O_PATH
17929|      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]
  |  |  ------------------
  ------------------
17930|      2|#endif
17931|       |#ifdef O_TTY_INIT
17932|       |    if (PyModule_AddIntMacro(m, O_TTY_INIT)) return -1;
17933|       |#endif
17934|      2|#ifdef O_TMPFILE
17935|      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]
  |  |  ------------------
  ------------------
17936|      2|#endif
17937|      2|#ifdef PRIO_PROCESS
17938|      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]
  |  |  ------------------
  ------------------
17939|      2|#endif
17940|      2|#ifdef PRIO_PGRP
17941|      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]
  |  |  ------------------
  ------------------
17942|      2|#endif
17943|      2|#ifdef PRIO_USER
17944|      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]
  |  |  ------------------
  ------------------
17945|      2|#endif
17946|       |#ifdef PRIO_DARWIN_THREAD
17947|       |    if (PyModule_AddIntMacro(m, PRIO_DARWIN_THREAD)) return -1;
17948|       |#endif
17949|       |#ifdef PRIO_DARWIN_PROCESS
17950|       |    if (PyModule_AddIntMacro(m, PRIO_DARWIN_PROCESS)) return -1;
17951|       |#endif
17952|       |#ifdef PRIO_DARWIN_BG
17953|       |    if (PyModule_AddIntMacro(m, PRIO_DARWIN_BG)) return -1;
17954|       |#endif
17955|       |#ifdef PRIO_DARWIN_NONUI
17956|       |    if (PyModule_AddIntMacro(m, PRIO_DARWIN_NONUI)) return -1;
17957|       |#endif
17958|      2|#ifdef O_CLOEXEC
17959|      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]
  |  |  ------------------
  ------------------
17960|      2|#endif
17961|      2|#ifdef O_ACCMODE
17962|      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]
  |  |  ------------------
  ------------------
17963|      2|#endif
17964|       |#ifdef O_EVTONLY
17965|       |    if (PyModule_AddIntMacro(m, O_EVTONLY)) return -1;
17966|       |#endif
17967|      2|#ifdef O_FSYNC
17968|      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]
  |  |  ------------------
  ------------------
17969|      2|#endif
17970|       |#ifdef O_SYMLINK
17971|       |    if (PyModule_AddIntMacro(m, O_SYMLINK)) return -1;
17972|       |#endif
17973|       |
17974|      2|#ifdef SEEK_HOLE
17975|      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]
  |  |  ------------------
  ------------------
17976|      2|#endif
17977|      2|#ifdef SEEK_DATA
17978|      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]
  |  |  ------------------
  ------------------
17979|      2|#endif
17980|       |
17981|       |/* MS Windows */
17982|       |#ifdef O_NOINHERIT
17983|       |    /* Don't inherit in child processes. */
17984|       |    if (PyModule_AddIntMacro(m, O_NOINHERIT)) return -1;
17985|       |#endif
17986|       |#ifdef _O_SHORT_LIVED
17987|       |    /* Optimize for short life (keep in memory). */
17988|       |    /* MS forgot to define this one with a non-underscore form too. */
17989|       |    if (PyModule_AddIntConstant(m, "O_SHORT_LIVED", _O_SHORT_LIVED)) return -1;
17990|       |#endif
17991|       |#ifdef O_TEMPORARY
17992|       |    /* Automatically delete when last handle is closed. */
17993|       |    if (PyModule_AddIntMacro(m, O_TEMPORARY)) return -1;
17994|       |#endif
17995|       |#ifdef O_RANDOM
17996|       |    /* Optimize for random access. */
17997|       |    if (PyModule_AddIntMacro(m, O_RANDOM)) return -1;
17998|       |#endif
17999|       |#ifdef O_SEQUENTIAL
18000|       |    /* Optimize for sequential access. */
18001|       |    if (PyModule_AddIntMacro(m, O_SEQUENTIAL)) return -1;
18002|       |#endif
18003|       |
18004|       |/* GNU extensions. */
18005|      2|#ifdef O_ASYNC
18006|       |    /* Send a SIGIO signal whenever input or output
18007|       |       becomes available on file descriptor */
18008|      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]
  |  |  ------------------
  ------------------
18009|      2|#endif
18010|      2|#ifdef O_DIRECT
18011|       |    /* Direct disk access. */
18012|      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]
  |  |  ------------------
  ------------------
18013|      2|#endif
18014|      2|#ifdef O_DIRECTORY
18015|       |    /* Must be a directory.      */
18016|      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]
  |  |  ------------------
  ------------------
18017|      2|#endif
18018|      2|#ifdef O_NOFOLLOW
18019|       |    /* Do not follow links.      */
18020|      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]
  |  |  ------------------
  ------------------
18021|      2|#endif
18022|       |#ifdef O_NOFOLLOW_ANY
18023|       |    if (PyModule_AddIntMacro(m, O_NOFOLLOW_ANY)) return -1;
18024|       |#endif
18025|       |#ifdef O_NOLINKS
18026|       |    /* Fails if link count of the named file is greater than 1 */
18027|       |    if (PyModule_AddIntMacro(m, O_NOLINKS)) return -1;
18028|       |#endif
18029|      2|#ifdef O_NOATIME
18030|       |    /* Do not update the access time. */
18031|      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]
  |  |  ------------------
  ------------------
18032|      2|#endif
18033|       |
18034|       |    /* These come from sysexits.h */
18035|      2|#ifdef EX_OK
18036|      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]
  |  |  ------------------
  ------------------
18037|      2|#endif /* EX_OK */
18038|      2|#ifdef EX_USAGE
18039|      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]
  |  |  ------------------
  ------------------
18040|      2|#endif /* EX_USAGE */
18041|      2|#ifdef EX_DATAERR
18042|      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]
  |  |  ------------------
  ------------------
18043|      2|#endif /* EX_DATAERR */
18044|      2|#ifdef EX_NOINPUT
18045|      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]
  |  |  ------------------
  ------------------
18046|      2|#endif /* EX_NOINPUT */
18047|      2|#ifdef EX_NOUSER
18048|      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]
  |  |  ------------------
  ------------------
18049|      2|#endif /* EX_NOUSER */
18050|      2|#ifdef EX_NOHOST
18051|      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]
  |  |  ------------------
  ------------------
18052|      2|#endif /* EX_NOHOST */
18053|      2|#ifdef EX_UNAVAILABLE
18054|      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]
  |  |  ------------------
  ------------------
18055|      2|#endif /* EX_UNAVAILABLE */
18056|      2|#ifdef EX_SOFTWARE
18057|      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]
  |  |  ------------------
  ------------------
18058|      2|#endif /* EX_SOFTWARE */
18059|      2|#ifdef EX_OSERR
18060|      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]
  |  |  ------------------
  ------------------
18061|      2|#endif /* EX_OSERR */
18062|      2|#ifdef EX_OSFILE
18063|      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]
  |  |  ------------------
  ------------------
18064|      2|#endif /* EX_OSFILE */
18065|      2|#ifdef EX_CANTCREAT
18066|      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]
  |  |  ------------------
  ------------------
18067|      2|#endif /* EX_CANTCREAT */
18068|      2|#ifdef EX_IOERR
18069|      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]
  |  |  ------------------
  ------------------
18070|      2|#endif /* EX_IOERR */
18071|      2|#ifdef EX_TEMPFAIL
18072|      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]
  |  |  ------------------
  ------------------
18073|      2|#endif /* EX_TEMPFAIL */
18074|      2|#ifdef EX_PROTOCOL
18075|      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]
  |  |  ------------------
  ------------------
18076|      2|#endif /* EX_PROTOCOL */
18077|      2|#ifdef EX_NOPERM
18078|      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]
  |  |  ------------------
  ------------------
18079|      2|#endif /* EX_NOPERM */
18080|      2|#ifdef EX_CONFIG
18081|      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]
  |  |  ------------------
  ------------------
18082|      2|#endif /* EX_CONFIG */
18083|       |#ifdef EX_NOTFOUND
18084|       |    if (PyModule_AddIntMacro(m, EX_NOTFOUND)) return -1;
18085|       |#endif /* EX_NOTFOUND */
18086|       |
18087|       |    /* statvfs */
18088|      2|#ifdef ST_RDONLY
18089|      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]
  |  |  ------------------
  ------------------
18090|      2|#endif /* ST_RDONLY */
18091|      2|#ifdef ST_NOSUID
18092|      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]
  |  |  ------------------
  ------------------
18093|      2|#endif /* ST_NOSUID */
18094|       |
18095|       |       /* GNU extensions */
18096|      2|#ifdef ST_NODEV
18097|      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]
  |  |  ------------------
  ------------------
18098|      2|#endif /* ST_NODEV */
18099|      2|#ifdef ST_NOEXEC
18100|      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]
  |  |  ------------------
  ------------------
18101|      2|#endif /* ST_NOEXEC */
18102|      2|#ifdef ST_SYNCHRONOUS
18103|      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]
  |  |  ------------------
  ------------------
18104|      2|#endif /* ST_SYNCHRONOUS */
18105|      2|#ifdef ST_MANDLOCK
18106|      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]
  |  |  ------------------
  ------------------
18107|      2|#endif /* ST_MANDLOCK */
18108|      2|#ifdef ST_WRITE
18109|      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]
  |  |  ------------------
  ------------------
18110|      2|#endif /* ST_WRITE */
18111|      2|#ifdef ST_APPEND
18112|      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]
  |  |  ------------------
  ------------------
18113|      2|#endif /* ST_APPEND */
18114|      2|#ifdef ST_NOATIME
18115|      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]
  |  |  ------------------
  ------------------
18116|      2|#endif /* ST_NOATIME */
18117|      2|#ifdef ST_NODIRATIME
18118|      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]
  |  |  ------------------
  ------------------
18119|      2|#endif /* ST_NODIRATIME */
18120|      2|#ifdef ST_RELATIME
18121|      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]
  |  |  ------------------
  ------------------
18122|      2|#endif /* ST_RELATIME */
18123|       |
18124|       |    /* FreeBSD sendfile() constants */
18125|       |#ifdef SF_NODISKIO
18126|       |    if (PyModule_AddIntMacro(m, SF_NODISKIO)) return -1;
18127|       |#endif
18128|       |    /* is obsolete since the 11.x release */
18129|       |#ifdef SF_MNOWAIT
18130|       |    if (PyModule_AddIntMacro(m, SF_MNOWAIT)) return -1;
18131|       |#endif
18132|       |#ifdef SF_SYNC
18133|       |    if (PyModule_AddIntMacro(m, SF_SYNC)) return -1;
18134|       |#endif
18135|       |#ifdef SF_NOCACHE
18136|       |    if (PyModule_AddIntMacro(m, SF_NOCACHE)) return -1;
18137|       |#endif
18138|       |
18139|      2|#ifdef TFD_NONBLOCK
18140|      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]
  |  |  ------------------
  ------------------
18141|      2|#endif
18142|      2|#ifdef TFD_CLOEXEC
18143|      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]
  |  |  ------------------
  ------------------
18144|      2|#endif
18145|      2|#ifdef TFD_TIMER_ABSTIME
18146|      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]
  |  |  ------------------
  ------------------
18147|      2|#endif
18148|      2|#ifdef TFD_TIMER_CANCEL_ON_SET
18149|      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]
  |  |  ------------------
  ------------------
18150|      2|#endif
18151|       |
18152|       |    /* constants for posix_fadvise */
18153|      2|#ifdef POSIX_FADV_NORMAL
18154|      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]
  |  |  ------------------
  ------------------
18155|      2|#endif
18156|      2|#ifdef POSIX_FADV_SEQUENTIAL
18157|      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]
  |  |  ------------------
  ------------------
18158|      2|#endif
18159|      2|#ifdef POSIX_FADV_RANDOM
18160|      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]
  |  |  ------------------
  ------------------
18161|      2|#endif
18162|      2|#ifdef POSIX_FADV_NOREUSE
18163|      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]
  |  |  ------------------
  ------------------
18164|      2|#endif
18165|      2|#ifdef POSIX_FADV_WILLNEED
18166|      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]
  |  |  ------------------
  ------------------
18167|      2|#endif
18168|      2|#ifdef POSIX_FADV_DONTNEED
18169|      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]
  |  |  ------------------
  ------------------
18170|      2|#endif
18171|       |
18172|       |    /* constants for waitid */
18173|      2|#if defined(HAVE_SYS_WAIT_H) && defined(HAVE_WAITID)
18174|      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]
  |  |  ------------------
  ------------------
18175|      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]
  |  |  ------------------
  ------------------
18176|      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]
  |  |  ------------------
  ------------------
18177|      2|#ifdef P_PIDFD
18178|      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]
  |  |  ------------------
  ------------------
18179|      2|#endif
18180|       |#ifdef PIDFD_NONBLOCK
18181|       |    if (PyModule_AddIntMacro(m, PIDFD_NONBLOCK)) return -1;
18182|       |#endif
18183|      2|#endif
18184|      2|#ifdef WEXITED
18185|      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]
  |  |  ------------------
  ------------------
18186|      2|#endif
18187|      2|#ifdef WNOWAIT
18188|      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]
  |  |  ------------------
  ------------------
18189|      2|#endif
18190|      2|#ifdef WSTOPPED
18191|      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]
  |  |  ------------------
  ------------------
18192|      2|#endif
18193|      2|#ifdef CLD_EXITED
18194|      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]
  |  |  ------------------
  ------------------
18195|      2|#endif
18196|      2|#ifdef CLD_KILLED
18197|      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]
  |  |  ------------------
  ------------------
18198|      2|#endif
18199|      2|#ifdef CLD_DUMPED
18200|      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]
  |  |  ------------------
  ------------------
18201|      2|#endif
18202|      2|#ifdef CLD_TRAPPED
18203|      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]
  |  |  ------------------
  ------------------
18204|      2|#endif
18205|      2|#ifdef CLD_STOPPED
18206|      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]
  |  |  ------------------
  ------------------
18207|      2|#endif
18208|      2|#ifdef CLD_CONTINUED
18209|      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]
  |  |  ------------------
  ------------------
18210|      2|#endif
18211|       |
18212|       |    /* constants for lockf */
18213|      2|#ifdef F_LOCK
18214|      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]
  |  |  ------------------
  ------------------
18215|      2|#endif
18216|      2|#ifdef F_TLOCK
18217|      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]
  |  |  ------------------
  ------------------
18218|      2|#endif
18219|      2|#ifdef F_ULOCK
18220|      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]
  |  |  ------------------
  ------------------
18221|      2|#endif
18222|      2|#ifdef F_TEST
18223|      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]
  |  |  ------------------
  ------------------
18224|      2|#endif
18225|       |
18226|      2|#ifdef RWF_DSYNC
18227|      2|    if (PyModule_AddIntConstant(m, "RWF_DSYNC", RWF_DSYNC)) return -1;
  ------------------
  |  Branch (18227:9): [True: 0, False: 2]
  ------------------
18228|      2|#endif
18229|      2|#ifdef RWF_HIPRI
18230|      2|    if (PyModule_AddIntConstant(m, "RWF_HIPRI", RWF_HIPRI)) return -1;
  ------------------
  |  Branch (18230:9): [True: 0, False: 2]
  ------------------
18231|      2|#endif
18232|      2|#ifdef RWF_SYNC
18233|      2|    if (PyModule_AddIntConstant(m, "RWF_SYNC", RWF_SYNC)) return -1;
  ------------------
  |  Branch (18233:9): [True: 0, False: 2]
  ------------------
18234|      2|#endif
18235|      2|#ifdef RWF_NOWAIT
18236|      2|    if (PyModule_AddIntConstant(m, "RWF_NOWAIT", RWF_NOWAIT)) return -1;
  ------------------
  |  Branch (18236:9): [True: 0, False: 2]
  ------------------
18237|      2|#endif
18238|       |#ifdef RWF_DONTCACHE
18239|       |    if (PyModule_AddIntConstant(m, "RWF_DONTCACHE", RWF_DONTCACHE)) return -1;
18240|       |#endif
18241|       |#ifdef RWF_ATOMIC
18242|       |    if (PyModule_AddIntConstant(m, "RWF_ATOMIC", RWF_ATOMIC)) return -1;
18243|       |#endif
18244|      2|#ifdef RWF_APPEND
18245|      2|    if (PyModule_AddIntConstant(m, "RWF_APPEND", RWF_APPEND)) return -1;
  ------------------
  |  Branch (18245:9): [True: 0, False: 2]
  ------------------
18246|      2|#endif
18247|       |
18248|       |/* constants for splice */
18249|      2|#if defined(HAVE_SPLICE) && defined(__linux__)
18250|      2|    if (PyModule_AddIntConstant(m, "SPLICE_F_MOVE", SPLICE_F_MOVE)) return -1;
  ------------------
  |  Branch (18250:9): [True: 0, False: 2]
  ------------------
18251|      2|    if (PyModule_AddIntConstant(m, "SPLICE_F_NONBLOCK", SPLICE_F_NONBLOCK)) return -1;
  ------------------
  |  Branch (18251:9): [True: 0, False: 2]
  ------------------
18252|      2|    if (PyModule_AddIntConstant(m, "SPLICE_F_MORE", SPLICE_F_MORE)) return -1;
  ------------------
  |  Branch (18252:9): [True: 0, False: 2]
  ------------------
18253|      2|#endif
18254|       |
18255|       |/* constants for posix_spawn */
18256|      2|#ifdef HAVE_POSIX_SPAWN
18257|      2|    if (PyModule_AddIntConstant(m, "POSIX_SPAWN_OPEN", POSIX_SPAWN_OPEN)) return -1;
  ------------------
  |  Branch (18257:9): [True: 0, False: 2]
  ------------------
18258|      2|    if (PyModule_AddIntConstant(m, "POSIX_SPAWN_CLOSE", POSIX_SPAWN_CLOSE)) return -1;
  ------------------
  |  Branch (18258:9): [True: 0, False: 2]
  ------------------
18259|      2|    if (PyModule_AddIntConstant(m, "POSIX_SPAWN_DUP2", POSIX_SPAWN_DUP2)) return -1;
  ------------------
  |  Branch (18259:9): [True: 0, False: 2]
  ------------------
18260|       |#ifdef HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSEFROM_NP
18261|       |    if (PyModule_AddIntMacro(m, POSIX_SPAWN_CLOSEFROM)) return -1;
18262|       |#endif
18263|      2|#endif
18264|       |
18265|       |#if defined(HAVE_SPAWNV) || defined (HAVE_RTPSPAWN)
18266|       |    if (PyModule_AddIntConstant(m, "P_WAIT", _P_WAIT)) return -1;
18267|       |    if (PyModule_AddIntConstant(m, "P_NOWAIT", _P_NOWAIT)) return -1;
18268|       |    if (PyModule_AddIntConstant(m, "P_NOWAITO", _P_NOWAITO)) return -1;
18269|       |#endif
18270|       |#ifdef HAVE_SPAWNV
18271|       |    if (PyModule_AddIntConstant(m, "P_OVERLAY", _OLD_P_OVERLAY)) return -1;
18272|       |    if (PyModule_AddIntConstant(m, "P_DETACH", _P_DETACH)) return -1;
18273|       |#endif
18274|       |
18275|      2|#ifdef HAVE_SCHED_H
18276|      2|#ifdef SCHED_OTHER
18277|      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]
  |  |  ------------------
  ------------------
18278|      2|#endif
18279|      2|#ifdef SCHED_DEADLINE
18280|      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]
  |  |  ------------------
  ------------------
18281|      2|#endif
18282|      2|#ifdef SCHED_FIFO
18283|      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]
  |  |  ------------------
  ------------------
18284|      2|#endif
18285|      2|#ifdef SCHED_NORMAL
18286|      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]
  |  |  ------------------
  ------------------
18287|      2|#endif
18288|      2|#ifdef SCHED_RR
18289|      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]
  |  |  ------------------
  ------------------
18290|      2|#endif
18291|       |#ifdef SCHED_SPORADIC
18292|       |    if (PyModule_AddIntMacro(m, SCHED_SPORADIC)) return -1;
18293|       |#endif
18294|      2|#ifdef SCHED_BATCH
18295|      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]
  |  |  ------------------
  ------------------
18296|      2|#endif
18297|      2|#ifdef SCHED_IDLE
18298|      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]
  |  |  ------------------
  ------------------
18299|      2|#endif
18300|      2|#ifdef SCHED_RESET_ON_FORK
18301|      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]
  |  |  ------------------
  ------------------
18302|      2|#endif
18303|       |#ifdef SCHED_SYS
18304|       |    if (PyModule_AddIntMacro(m, SCHED_SYS)) return -1;
18305|       |#endif
18306|       |#ifdef SCHED_IA
18307|       |    if (PyModule_AddIntMacro(m, SCHED_IA)) return -1;
18308|       |#endif
18309|       |#ifdef SCHED_FSS
18310|       |    if (PyModule_AddIntMacro(m, SCHED_FSS)) return -1;
18311|       |#endif
18312|       |#ifdef SCHED_FX
18313|       |    if (PyModule_AddIntConstant(m, "SCHED_FX", SCHED_FSS)) return -1;
18314|       |#endif
18315|       |
18316|       |/* constants for namespaces */
18317|      2|#if defined(HAVE_SETNS) || defined(HAVE_UNSHARE)
18318|      2|#ifdef CLONE_FS
18319|      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]
  |  |  ------------------
  ------------------
18320|      2|#endif
18321|      2|#ifdef CLONE_FILES
18322|      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]
  |  |  ------------------
  ------------------
18323|      2|#endif
18324|      2|#ifdef CLONE_NEWNS
18325|      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]
  |  |  ------------------
  ------------------
18326|      2|#endif
18327|      2|#ifdef CLONE_NEWCGROUP
18328|      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]
  |  |  ------------------
  ------------------
18329|      2|#endif
18330|      2|#ifdef CLONE_NEWUTS
18331|      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]
  |  |  ------------------
  ------------------
18332|      2|#endif
18333|      2|#ifdef CLONE_NEWIPC
18334|      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]
  |  |  ------------------
  ------------------
18335|      2|#endif
18336|      2|#ifdef CLONE_NEWUSER
18337|      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]
  |  |  ------------------
  ------------------
18338|      2|#endif
18339|      2|#ifdef CLONE_NEWPID
18340|      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]
  |  |  ------------------
  ------------------
18341|      2|#endif
18342|      2|#ifdef CLONE_NEWNET
18343|      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]
  |  |  ------------------
  ------------------
18344|      2|#endif
18345|       |#ifdef CLONE_NEWTIME
18346|       |    if (PyModule_AddIntMacro(m, CLONE_NEWTIME)) return -1;
18347|       |#endif
18348|      2|#ifdef CLONE_SYSVSEM
18349|      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]
  |  |  ------------------
  ------------------
18350|      2|#endif
18351|      2|#ifdef CLONE_THREAD
18352|      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]
  |  |  ------------------
  ------------------
18353|      2|#endif
18354|      2|#ifdef CLONE_SIGHAND
18355|      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]
  |  |  ------------------
  ------------------
18356|      2|#endif
18357|      2|#ifdef CLONE_VM
18358|      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]
  |  |  ------------------
  ------------------
18359|      2|#endif
18360|      2|#endif
18361|       |
18362|      2|#endif
18363|       |
18364|      2|#ifdef USE_XATTRS
18365|      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]
  |  |  ------------------
  ------------------
18366|      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]
  |  |  ------------------
  ------------------
18367|      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]
  |  |  ------------------
  ------------------
18368|      2|#endif
18369|       |
18370|      2|#if HAVE_DECL_RTLD_LAZY
18371|      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]
  |  |  ------------------
  ------------------
18372|      2|#endif
18373|      2|#if HAVE_DECL_RTLD_NOW
18374|      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]
  |  |  ------------------
  ------------------
18375|      2|#endif
18376|      2|#if HAVE_DECL_RTLD_GLOBAL
18377|      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]
  |  |  ------------------
  ------------------
18378|      2|#endif
18379|      2|#if HAVE_DECL_RTLD_LOCAL
18380|      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]
  |  |  ------------------
  ------------------
18381|      2|#endif
18382|      2|#if HAVE_DECL_RTLD_NODELETE
18383|      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]
  |  |  ------------------
  ------------------
18384|      2|#endif
18385|      2|#if HAVE_DECL_RTLD_NOLOAD
18386|      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]
  |  |  ------------------
  ------------------
18387|      2|#endif
18388|      2|#if HAVE_DECL_RTLD_DEEPBIND
18389|      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]
  |  |  ------------------
  ------------------
18390|      2|#endif
18391|       |#if HAVE_DECL_RTLD_MEMBER
18392|       |    if (PyModule_AddIntMacro(m, RTLD_MEMBER)) return -1;
18393|       |#endif
18394|       |
18395|      2|#ifdef HAVE_GETRANDOM_SYSCALL
18396|      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]
  |  |  ------------------
  ------------------
18397|      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]
  |  |  ------------------
  ------------------
18398|      2|#endif
18399|      2|#ifdef HAVE_MEMFD_CREATE
18400|      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]
  |  |  ------------------
  ------------------
18401|      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]
  |  |  ------------------
  ------------------
18402|      2|#ifdef MFD_HUGETLB
18403|      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]
  |  |  ------------------
  ------------------
18404|      2|#endif
18405|      2|#ifdef MFD_HUGE_SHIFT
18406|      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]
  |  |  ------------------
  ------------------
18407|      2|#endif
18408|      2|#ifdef MFD_HUGE_MASK
18409|      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]
  |  |  ------------------
  ------------------
18410|      2|#endif
18411|      2|#ifdef MFD_HUGE_64KB
18412|      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]
  |  |  ------------------
  ------------------
18413|      2|#endif
18414|      2|#ifdef MFD_HUGE_512KB
18415|      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]
  |  |  ------------------
  ------------------
18416|      2|#endif
18417|      2|#ifdef MFD_HUGE_1MB
18418|      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]
  |  |  ------------------
  ------------------
18419|      2|#endif
18420|      2|#ifdef MFD_HUGE_2MB
18421|      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]
  |  |  ------------------
  ------------------
18422|      2|#endif
18423|      2|#ifdef MFD_HUGE_8MB
18424|      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]
  |  |  ------------------
  ------------------
18425|      2|#endif
18426|      2|#ifdef MFD_HUGE_16MB
18427|      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]
  |  |  ------------------
  ------------------
18428|      2|#endif
18429|      2|#ifdef MFD_HUGE_32MB
18430|      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]
  |  |  ------------------
  ------------------
18431|      2|#endif
18432|      2|#ifdef MFD_HUGE_256MB
18433|      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]
  |  |  ------------------
  ------------------
18434|      2|#endif
18435|      2|#ifdef MFD_HUGE_512MB
18436|      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]
  |  |  ------------------
  ------------------
18437|      2|#endif
18438|      2|#ifdef MFD_HUGE_1GB
18439|      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]
  |  |  ------------------
  ------------------
18440|      2|#endif
18441|      2|#ifdef MFD_HUGE_2GB
18442|      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]
  |  |  ------------------
  ------------------
18443|      2|#endif
18444|      2|#ifdef MFD_HUGE_16GB
18445|      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]
  |  |  ------------------
  ------------------
18446|      2|#endif
18447|      2|#endif /* HAVE_MEMFD_CREATE */
18448|       |
18449|      2|#if defined(HAVE_EVENTFD) && defined(EFD_CLOEXEC)
18450|      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]
  |  |  ------------------
  ------------------
18451|      2|#ifdef EFD_NONBLOCK
18452|      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]
  |  |  ------------------
  ------------------
18453|      2|#endif
18454|      2|#ifdef EFD_SEMAPHORE
18455|      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]
  |  |  ------------------
  ------------------
18456|      2|#endif
18457|      2|#endif  /* HAVE_EVENTFD && EFD_CLOEXEC */
18458|       |
18459|      2|#ifdef NODEV
18460|      2|    if (PyModule_Add(m, "NODEV", _PyLong_FromDev(NODEV))) return -1;
  ------------------
  |  Branch (18460:9): [True: 0, False: 2]
  ------------------
18461|      2|#endif
18462|       |
18463|      2|#ifdef AT_NO_AUTOMOUNT
18464|      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]
  |  |  ------------------
  ------------------
18465|      2|#endif
18466|       |
18467|      2|#ifdef HAVE_STATX
18468|      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]
  |  |  ------------------
  ------------------
18469|      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]
  |  |  ------------------
  ------------------
18470|      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]
  |  |  ------------------
  ------------------
18471|      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]
  |  |  ------------------
  ------------------
18472|      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]
  |  |  ------------------
  ------------------
18473|      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]
  |  |  ------------------
  ------------------
18474|      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]
  |  |  ------------------
  ------------------
18475|      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]
  |  |  ------------------
  ------------------
18476|      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]
  |  |  ------------------
  ------------------
18477|      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]
  |  |  ------------------
  ------------------
18478|      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]
  |  |  ------------------
  ------------------
18479|      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]
  |  |  ------------------
  ------------------
18480|      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]
  |  |  ------------------
  ------------------
18481|       |#ifdef STATX_MNT_ID
18482|       |    if (PyModule_AddIntMacro(m, STATX_MNT_ID)) return -1;
18483|       |#endif
18484|       |#ifdef STATX_DIOALIGN
18485|       |    if (PyModule_AddIntMacro(m, STATX_DIOALIGN)) return -1;
18486|       |#endif
18487|       |#ifdef STATX_MNT_ID_UNIQUE
18488|       |    if (PyModule_AddIntMacro(m, STATX_MNT_ID_UNIQUE)) return -1;
18489|       |#endif
18490|       |#ifdef STATX_SUBVOL
18491|       |    if (PyModule_AddIntMacro(m, STATX_SUBVOL)) return -1;
18492|       |#endif
18493|       |#ifdef STATX_WRITE_ATOMIC
18494|       |    if (PyModule_AddIntMacro(m, STATX_WRITE_ATOMIC)) return -1;
18495|       |#endif
18496|       |#ifdef STATX_DIO_READ_ALIGN
18497|       |    if (PyModule_AddIntMacro(m, STATX_DIO_READ_ALIGN)) return -1;
18498|       |#endif
18499|       |    /* STATX_ALL intentionally omitted because it is deprecated */
18500|      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]
  |  |  ------------------
  ------------------
18501|      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]
  |  |  ------------------
  ------------------
18502|      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]
  |  |  ------------------
  ------------------
18503|       |    /* STATX_ATTR_* constants are in the stat module */
18504|      2|#endif /* HAVE_STATX */
18505|       |
18506|       |#if defined(__APPLE__)
18507|       |    if (PyModule_AddIntConstant(m, "_COPYFILE_DATA", COPYFILE_DATA)) return -1;
18508|       |    if (PyModule_AddIntConstant(m, "_COPYFILE_STAT", COPYFILE_STAT)) return -1;
18509|       |    if (PyModule_AddIntConstant(m, "_COPYFILE_ACL", COPYFILE_ACL)) return -1;
18510|       |    if (PyModule_AddIntConstant(m, "_COPYFILE_XATTR", COPYFILE_XATTR)) return -1;
18511|       |#endif
18512|       |
18513|       |#ifdef MS_WINDOWS
18514|       |    if (PyModule_AddIntConstant(m, "_LOAD_LIBRARY_SEARCH_DEFAULT_DIRS", LOAD_LIBRARY_SEARCH_DEFAULT_DIRS)) return -1;
18515|       |    if (PyModule_AddIntConstant(m, "_LOAD_LIBRARY_SEARCH_APPLICATION_DIR", LOAD_LIBRARY_SEARCH_APPLICATION_DIR)) return -1;
18516|       |    if (PyModule_AddIntConstant(m, "_LOAD_LIBRARY_SEARCH_SYSTEM32", LOAD_LIBRARY_SEARCH_SYSTEM32)) return -1;
18517|       |    if (PyModule_AddIntConstant(m, "_LOAD_LIBRARY_SEARCH_USER_DIRS", LOAD_LIBRARY_SEARCH_USER_DIRS)) return -1;
18518|       |    if (PyModule_AddIntConstant(m, "_LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR", LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR)) return -1;
18519|       |#endif
18520|       |
18521|      2|    return 0;
18522|      2|}
posixmodule.c:setup_confname_tables:
15182|      2|{
15183|      2|#if defined(HAVE_FPATHCONF) || defined(HAVE_PATHCONF)
15184|      2|    if (setup_confname_table(posix_constants_pathconf,
  ------------------
  |  Branch (15184:9): [True: 0, False: 2]
  ------------------
15185|      2|                             sizeof(posix_constants_pathconf)
15186|      2|                               / sizeof(struct constdef),
15187|      2|                             "pathconf_names", module))
15188|      0|        return -1;
15189|      2|#endif
15190|      2|#ifdef HAVE_CONFSTR
15191|      2|    if (setup_confname_table(posix_constants_confstr,
  ------------------
  |  Branch (15191:9): [True: 0, False: 2]
  ------------------
15192|      2|                             sizeof(posix_constants_confstr)
15193|      2|                               / sizeof(struct constdef),
15194|      2|                             "confstr_names", module))
15195|      0|        return -1;
15196|      2|#endif
15197|      2|#ifdef HAVE_SYSCONF
15198|      2|    if (setup_confname_table(posix_constants_sysconf,
  ------------------
  |  Branch (15198:9): [True: 0, False: 2]
  ------------------
15199|      2|                             sizeof(posix_constants_sysconf)
15200|      2|                               / sizeof(struct constdef),
15201|      2|                             "sysconf_names", module))
15202|      0|        return -1;
15203|      2|#endif
15204|      2|    return 0;
15205|      2|}
posixmodule.c:setup_confname_table:
15162|      6|{
15163|      6|    PyObject *d = PyDict_New();
15164|      6|    if (d == NULL)
  ------------------
  |  Branch (15164:9): [True: 0, False: 6]
  ------------------
15165|      0|        return -1;
15166|       |
15167|    368|    for (size_t i=0; i < tablesize; ++i) {
  ------------------
  |  Branch (15167:22): [True: 362, False: 6]
  ------------------
15168|    362|        PyObject *o = PyLong_FromLong(table[i].value);
15169|    362|        if (o == NULL || PyDict_SetItemString(d, table[i].name, o) == -1) {
  ------------------
  |  Branch (15169:13): [True: 0, False: 362]
  |  Branch (15169:26): [True: 0, False: 362]
  ------------------
15170|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15171|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15172|      0|            return -1;
15173|      0|        }
15174|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15175|    362|    }
15176|      6|    return PyModule_Add(module, tablename, d);
15177|      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:
18528|      2|   {                      \
18529|      2|      if (test) {        \
  ------------------
  |  Branch (18529:11): [True: 2, Folded]
  ------------------
18530|      2|          return 1;       \
18531|      2|      } else {            \
18532|      0|          return 0;       \
18533|      0|      }                   \
18534|      2|   }
posixmodule.c:probe_fchmodat:
18528|      2|   {                      \
18529|      2|      if (test) {        \
  ------------------
  |  Branch (18529:11): [True: 2, Folded]
  ------------------
18530|      2|          return 1;       \
18531|      2|      } else {            \
18532|      0|          return 0;       \
18533|      0|      }                   \
18534|      2|   }
posixmodule.c:probe_fchownat:
18528|      2|   {                      \
18529|      2|      if (test) {        \
  ------------------
  |  Branch (18529:11): [True: 2, Folded]
  ------------------
18530|      2|          return 1;       \
18531|      2|      } else {            \
18532|      0|          return 0;       \
18533|      0|      }                   \
18534|      2|   }
posixmodule.c:probe_fdopendir:
18528|      2|   {                      \
18529|      2|      if (test) {        \
  ------------------
  |  Branch (18529:11): [True: 2, Folded]
  ------------------
18530|      2|          return 1;       \
18531|      2|      } else {            \
18532|      0|          return 0;       \
18533|      0|      }                   \
18534|      2|   }
posixmodule.c:probe_fstatat:
18528|      2|   {                      \
18529|      2|      if (test) {        \
  ------------------
  |  Branch (18529:11): [True: 2, Folded]
  ------------------
18530|      2|          return 1;       \
18531|      2|      } else {            \
18532|      0|          return 0;       \
18533|      0|      }                   \
18534|      2|   }
posixmodule.c:probe_futimens:
18528|      2|   {                      \
18529|      2|      if (test) {        \
  ------------------
  |  Branch (18529:11): [True: 2, Folded]
  ------------------
18530|      2|          return 1;       \
18531|      2|      } else {            \
18532|      0|          return 0;       \
18533|      0|      }                   \
18534|      2|   }
posixmodule.c:probe_linkat:
18528|      2|   {                      \
18529|      2|      if (test) {        \
  ------------------
  |  Branch (18529:11): [True: 2, Folded]
  ------------------
18530|      2|          return 1;       \
18531|      2|      } else {            \
18532|      0|          return 0;       \
18533|      0|      }                   \
18534|      2|   }
posixmodule.c:probe_mkdirat:
18528|      2|   {                      \
18529|      2|      if (test) {        \
  ------------------
  |  Branch (18529:11): [True: 2, Folded]
  ------------------
18530|      2|          return 1;       \
18531|      2|      } else {            \
18532|      0|          return 0;       \
18533|      0|      }                   \
18534|      2|   }
posixmodule.c:probe_mkfifoat:
18528|      2|   {                      \
18529|      2|      if (test) {        \
  ------------------
  |  Branch (18529:11): [True: 2, Folded]
  ------------------
18530|      2|          return 1;       \
18531|      2|      } else {            \
18532|      0|          return 0;       \
18533|      0|      }                   \
18534|      2|   }
posixmodule.c:probe_mknodat:
18528|      2|   {                      \
18529|      2|      if (test) {        \
  ------------------
  |  Branch (18529:11): [True: 2, Folded]
  ------------------
18530|      2|          return 1;       \
18531|      2|      } else {            \
18532|      0|          return 0;       \
18533|      0|      }                   \
18534|      2|   }
posixmodule.c:probe_openat:
18528|      2|   {                      \
18529|      2|      if (test) {        \
  ------------------
  |  Branch (18529:11): [True: 2, Folded]
  ------------------
18530|      2|          return 1;       \
18531|      2|      } else {            \
18532|      0|          return 0;       \
18533|      0|      }                   \
18534|      2|   }
posixmodule.c:probe_readlinkat:
18528|      2|   {                      \
18529|      2|      if (test) {        \
  ------------------
  |  Branch (18529:11): [True: 2, Folded]
  ------------------
18530|      2|          return 1;       \
18531|      2|      } else {            \
18532|      0|          return 0;       \
18533|      0|      }                   \
18534|      2|   }
posixmodule.c:probe_renameat:
18528|      2|   {                      \
18529|      2|      if (test) {        \
  ------------------
  |  Branch (18529:11): [True: 2, Folded]
  ------------------
18530|      2|          return 1;       \
18531|      2|      } else {            \
18532|      0|          return 0;       \
18533|      0|      }                   \
18534|      2|   }
posixmodule.c:probe_symlinkat:
18528|      2|   {                      \
18529|      2|      if (test) {        \
  ------------------
  |  Branch (18529:11): [True: 2, Folded]
  ------------------
18530|      2|          return 1;       \
18531|      2|      } else {            \
18532|      0|          return 0;       \
18533|      0|      }                   \
18534|      2|   }
posixmodule.c:probe_unlinkat:
18528|      2|   {                      \
18529|      2|      if (test) {        \
  ------------------
  |  Branch (18529:11): [True: 2, Folded]
  ------------------
18530|      2|          return 1;       \
18531|      2|      } else {            \
18532|      0|          return 0;       \
18533|      0|      }                   \
18534|      2|   }
posixmodule.c:probe_utimensat:
18528|      2|   {                      \
18529|      2|      if (test) {        \
  ------------------
  |  Branch (18529:11): [True: 2, Folded]
  ------------------
18530|      2|          return 1;       \
18531|      2|      } else {            \
18532|      0|          return 0;       \
18533|      0|      }                   \
18534|      2|   }
posixmodule.c:probe_ptsname_r:
18528|      2|   {                      \
18529|      2|      if (test) {        \
  ------------------
  |  Branch (18529:11): [True: 2, Folded]
  ------------------
18530|      2|          return 1;       \
18531|      2|      } else {            \
18532|      0|          return 0;       \
18533|      0|      }                   \
18534|      2|   }
posixmodule.c:_posix_traverse:
 2613|    270|{
 2614|    270|    _posixstate *state = get_posix_state(module);
 2615|    270|    Py_VISIT(state->billion);
  ------------------
  |  |  194|    270|    do {                                                                \
  |  |  195|    270|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 270, False: 0]
  |  |  ------------------
  |  |  196|    270|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    270|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    270|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    270|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 270]
  |  |  ------------------
  |  |  198|    270|                return vret;                                            \
  |  |  199|    270|        }                                                               \
  |  |  200|    270|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 270]
  |  |  ------------------
  ------------------
 2616|    270|    Py_VISIT(state->DirEntryType);
  ------------------
  |  |  194|    270|    do {                                                                \
  |  |  195|    270|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 270, False: 0]
  |  |  ------------------
  |  |  196|    270|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    270|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    270|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    270|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 270]
  |  |  ------------------
  |  |  198|    270|                return vret;                                            \
  |  |  199|    270|        }                                                               \
  |  |  200|    270|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 270]
  |  |  ------------------
  ------------------
 2617|    270|    Py_VISIT(state->ScandirIteratorType);
  ------------------
  |  |  194|    270|    do {                                                                \
  |  |  195|    270|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 270, False: 0]
  |  |  ------------------
  |  |  196|    270|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    270|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    270|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    270|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 270]
  |  |  ------------------
  |  |  198|    270|                return vret;                                            \
  |  |  199|    270|        }                                                               \
  |  |  200|    270|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 270]
  |  |  ------------------
  ------------------
 2618|    270|#if defined(HAVE_SCHED_SETPARAM) || defined(HAVE_SCHED_SETSCHEDULER) || defined(POSIX_SPAWN_SETSCHEDULER) || defined(POSIX_SPAWN_SETSCHEDPARAM)
 2619|    270|    Py_VISIT(state->SchedParamType);
  ------------------
  |  |  194|    270|    do {                                                                \
  |  |  195|    270|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 270, False: 0]
  |  |  ------------------
  |  |  196|    270|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    270|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    270|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    270|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 270]
  |  |  ------------------
  |  |  198|    270|                return vret;                                            \
  |  |  199|    270|        }                                                               \
  |  |  200|    270|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 270]
  |  |  ------------------
  ------------------
 2620|    270|#endif
 2621|    270|    Py_VISIT(state->StatResultType);
  ------------------
  |  |  194|    270|    do {                                                                \
  |  |  195|    270|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 270, False: 0]
  |  |  ------------------
  |  |  196|    270|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    270|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    270|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    270|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 270]
  |  |  ------------------
  |  |  198|    270|                return vret;                                            \
  |  |  199|    270|        }                                                               \
  |  |  200|    270|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 270]
  |  |  ------------------
  ------------------
 2622|    270|#ifdef HAVE_STATX
 2623|    270|    Py_VISIT(state->StatxResultType);
  ------------------
  |  |  194|    270|    do {                                                                \
  |  |  195|    270|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 270, False: 0]
  |  |  ------------------
  |  |  196|    270|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    270|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    270|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    270|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 270]
  |  |  ------------------
  |  |  198|    270|                return vret;                                            \
  |  |  199|    270|        }                                                               \
  |  |  200|    270|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 270]
  |  |  ------------------
  ------------------
 2624|    270|#endif
 2625|    270|    Py_VISIT(state->StatVFSResultType);
  ------------------
  |  |  194|    270|    do {                                                                \
  |  |  195|    270|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 270, False: 0]
  |  |  ------------------
  |  |  196|    270|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    270|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    270|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    270|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 270]
  |  |  ------------------
  |  |  198|    270|                return vret;                                            \
  |  |  199|    270|        }                                                               \
  |  |  200|    270|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 270]
  |  |  ------------------
  ------------------
 2626|    270|    Py_VISIT(state->TerminalSizeType);
  ------------------
  |  |  194|    270|    do {                                                                \
  |  |  195|    270|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 270, False: 0]
  |  |  ------------------
  |  |  196|    270|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    270|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    270|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    270|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 270]
  |  |  ------------------
  |  |  198|    270|                return vret;                                            \
  |  |  199|    270|        }                                                               \
  |  |  200|    270|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 270]
  |  |  ------------------
  ------------------
 2627|    270|    Py_VISIT(state->TimesResultType);
  ------------------
  |  |  194|    270|    do {                                                                \
  |  |  195|    270|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 270, False: 0]
  |  |  ------------------
  |  |  196|    270|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    270|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    270|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    270|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 270]
  |  |  ------------------
  |  |  198|    270|                return vret;                                            \
  |  |  199|    270|        }                                                               \
  |  |  200|    270|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 270]
  |  |  ------------------
  ------------------
 2628|    270|    Py_VISIT(state->UnameResultType);
  ------------------
  |  |  194|    270|    do {                                                                \
  |  |  195|    270|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 270, False: 0]
  |  |  ------------------
  |  |  196|    270|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    270|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    270|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    270|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 270]
  |  |  ------------------
  |  |  198|    270|                return vret;                                            \
  |  |  199|    270|        }                                                               \
  |  |  200|    270|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 270]
  |  |  ------------------
  ------------------
 2629|    270|#if defined(HAVE_WAITID)
 2630|    270|    Py_VISIT(state->WaitidResultType);
  ------------------
  |  |  194|    270|    do {                                                                \
  |  |  195|    270|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 270, False: 0]
  |  |  ------------------
  |  |  196|    270|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    270|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    270|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    270|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 270]
  |  |  ------------------
  |  |  198|    270|                return vret;                                            \
  |  |  199|    270|        }                                                               \
  |  |  200|    270|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 270]
  |  |  ------------------
  ------------------
 2631|    270|#endif
 2632|    270|#if defined(HAVE_WAIT3) || defined(HAVE_WAIT4)
 2633|    270|    Py_VISIT(state->struct_rusage);
  ------------------
  |  |  194|    270|    do {                                                                \
  |  |  195|    270|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 270, False: 0]
  |  |  ------------------
  |  |  196|    270|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    270|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    270|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    270|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 270]
  |  |  ------------------
  |  |  198|    270|                return vret;                                            \
  |  |  199|    270|        }                                                               \
  |  |  200|    270|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 270]
  |  |  ------------------
  ------------------
 2634|    270|#endif
 2635|    270|    Py_VISIT(state->st_mode);
  ------------------
  |  |  194|    270|    do {                                                                \
  |  |  195|    270|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 270, False: 0]
  |  |  ------------------
  |  |  196|    270|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    270|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    270|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    270|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 270]
  |  |  ------------------
  |  |  198|    270|                return vret;                                            \
  |  |  199|    270|        }                                                               \
  |  |  200|    270|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 270]
  |  |  ------------------
  ------------------
 2636|    270|    return 0;
 2637|    270|}

PyErr_CheckSignals:
 1765|  3.23M|{
 1766|  3.23M|    PyThreadState *tstate = _PyThreadState_GET();
 1767|       |
 1768|       |    /* Opportunistically check if the GC is scheduled to run and run it
 1769|       |       if we have a request. This is done here because native code needs
 1770|       |       to call this API if is going to run for some time without executing
 1771|       |       Python code to ensure signals are handled. Checking for the GC here
 1772|       |       allows long running native code to clean cycles created using the C-API
 1773|       |       even if it doesn't run the evaluation loop */
 1774|  3.23M|    uintptr_t breaker = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker);
 1775|  3.23M|    if (breaker & _PY_GC_SCHEDULED_BIT) {
  ------------------
  |  |  349|  3.23M|#define _PY_GC_SCHEDULED_BIT (1U << 4)
  ------------------
  |  Branch (1775:9): [True: 345, False: 3.23M]
  ------------------
 1776|    345|        _Py_unset_eval_breaker_bit(tstate, _PY_GC_SCHEDULED_BIT);
  ------------------
  |  |  349|    345|#define _PY_GC_SCHEDULED_BIT (1U << 4)
  ------------------
 1777|    345|        _Py_RunGC(tstate);
 1778|    345|    }
 1779|  3.23M|    if (breaker & _PY_ASYNC_EXCEPTION_BIT) {
  ------------------
  |  |  348|  3.23M|#define _PY_ASYNC_EXCEPTION_BIT (1U << 3)
  ------------------
  |  Branch (1779:9): [True: 0, False: 3.23M]
  ------------------
 1780|      0|        if (_PyEval_RaiseAsyncExc(tstate) < 0) {
  ------------------
  |  Branch (1780:13): [True: 0, False: 0]
  ------------------
 1781|      0|            return -1;
 1782|      0|        }
 1783|      0|    }
 1784|       |
 1785|  3.23M|#if defined(Py_REMOTE_DEBUG) && defined(Py_SUPPORTS_REMOTE_DEBUG)
 1786|  3.23M|    _PyRunRemoteDebugger(tstate);
 1787|  3.23M|#endif
 1788|       |
 1789|  3.23M|    if (_Py_ThreadCanHandleSignals(tstate->interp)) {
  ------------------
  |  Branch (1789:9): [True: 3.23M, False: 0]
  ------------------
 1790|  3.23M|        if (_PyErr_CheckSignalsTstate(tstate) < 0) {
  ------------------
  |  Branch (1790:13): [True: 0, False: 3.23M]
  ------------------
 1791|      0|            return -1;
 1792|      0|        }
 1793|  3.23M|    }
 1794|       |
 1795|  3.23M|    return 0;
 1796|  3.23M|}
_PyErr_CheckSignalsTstate:
 1802|  3.23M|{
 1803|  3.23M|    _Py_CHECK_EMSCRIPTEN_SIGNALS();
 1804|  3.23M|    if (!_Py_atomic_load_int(&is_tripped)) {
  ------------------
  |  |  108|  3.23M|#define is_tripped _PyRuntime.signals.is_tripped
  ------------------
  |  Branch (1804:9): [True: 3.23M, False: 0]
  ------------------
 1805|  3.23M|        return 0;
 1806|  3.23M|    }
 1807|       |
 1808|       |    /*
 1809|       |     * The is_tripped variable is meant to speed up the calls to
 1810|       |     * PyErr_CheckSignals (both directly or via pending calls) when no
 1811|       |     * signal has arrived. This variable is set to 1 when a signal arrives
 1812|       |     * and it is set to 0 here, when we know some signals arrived. This way
 1813|       |     * we can run the registered handlers with no signals blocked.
 1814|       |     *
 1815|       |     * NOTE: with this approach we can have a situation where is_tripped is
 1816|       |     *       1 but we have no more signals to handle (Handlers[i].tripped
 1817|       |     *       is 0 for every signal i). This won't do us any harm (except
 1818|       |     *       we're gonna spent some cycles for nothing). This happens when
 1819|       |     *       we receive a signal i after we zero is_tripped and before we
 1820|       |     *       check Handlers[i].tripped.
 1821|       |     */
 1822|      0|    _Py_atomic_store_int(&is_tripped, 0);
  ------------------
  |  |  108|      0|#define is_tripped _PyRuntime.signals.is_tripped
  ------------------
 1823|       |
 1824|      0|    _PyInterpreterFrame *frame = _PyThreadState_GetFrame(tstate);
 1825|      0|    signal_state_t *state = &signal_global_state;
  ------------------
  |  |  112|      0|#define signal_global_state _PyRuntime.signals
  ------------------
 1826|      0|    for (int i = 1; i < Py_NSIG; i++) {
  ------------------
  |  |   26|      0|#  define Py_NSIG NSIG
  ------------------
  |  Branch (1826:21): [True: 0, False: 0]
  ------------------
 1827|      0|        if (!_Py_atomic_load_int_relaxed(&Handlers[i].tripped)) {
  ------------------
  |  |  106|      0|#define Handlers _PyRuntime.signals.handlers
  ------------------
  |  Branch (1827:13): [True: 0, False: 0]
  ------------------
 1828|      0|            continue;
 1829|      0|        }
 1830|      0|        _Py_atomic_store_int_relaxed(&Handlers[i].tripped, 0);
  ------------------
  |  |  106|      0|#define Handlers _PyRuntime.signals.handlers
  ------------------
 1831|       |
 1832|       |        /* Signal handlers can be modified while a signal is received,
 1833|       |         * and therefore the fact that trip_signal() or PyErr_SetInterrupt()
 1834|       |         * was called doesn't guarantee that there is still a Python
 1835|       |         * signal handler for it by the time PyErr_CheckSignals() is called
 1836|       |         * (see bpo-43406).
 1837|       |         */
 1838|      0|        PyObject *func = get_handler(i);
 1839|      0|        if (func == NULL || func == Py_None ||
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1839:13): [True: 0, False: 0]
  |  Branch (1839:29): [True: 0, False: 0]
  ------------------
 1840|      0|            compare_handler(func, state->ignore_handler) ||
  ------------------
  |  Branch (1840:13): [True: 0, False: 0]
  ------------------
 1841|      0|            compare_handler(func, state->default_handler)) {
  ------------------
  |  Branch (1841:13): [True: 0, False: 0]
  ------------------
 1842|       |            /* No Python signal handler due to aforementioned race condition.
 1843|       |             * We can't call raise() as it would break the assumption
 1844|       |             * that PyErr_SetInterrupt() only *simulates* an incoming
 1845|       |             * signal (i.e. it will never kill the process).
 1846|       |             * We also don't want to interrupt user code with a cryptic
 1847|       |             * asynchronous exception, so instead just write out an
 1848|       |             * unraisable error.
 1849|       |             */
 1850|      0|            PyErr_Format(PyExc_OSError,
 1851|      0|                         "Signal %i ignored due to race condition",
 1852|      0|                         i);
 1853|      0|            PyErr_FormatUnraisable("Exception ignored while "
 1854|      0|                                   "calling signal handler");
 1855|      0|            continue;
 1856|      0|        }
 1857|      0|        PyObject *arglist = NULL;
 1858|      0|        if (frame == NULL) {
  ------------------
  |  Branch (1858:13): [True: 0, False: 0]
  ------------------
 1859|      0|            arglist = Py_BuildValue("(iO)", i, Py_None);
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1860|      0|        }
 1861|      0|        else {
 1862|      0|            PyFrameObject *f = _PyFrame_GetFrameObject(frame);
 1863|      0|            if (f != NULL) {
  ------------------
  |  Branch (1863:17): [True: 0, False: 0]
  ------------------
 1864|      0|                arglist = Py_BuildValue("(iO)", i, f);
 1865|      0|            }
 1866|      0|        }
 1867|      0|        PyObject *result;
 1868|      0|        if (arglist) {
  ------------------
  |  Branch (1868:13): [True: 0, False: 0]
  ------------------
 1869|      0|            result = _PyObject_Call(tstate, func, arglist, NULL);
 1870|      0|            Py_DECREF(arglist);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1871|      0|        }
 1872|      0|        else {
 1873|      0|            result = NULL;
 1874|      0|        }
 1875|      0|        if (!result) {
  ------------------
  |  Branch (1875:13): [True: 0, False: 0]
  ------------------
 1876|       |            /* On error, re-schedule a call to _PyErr_CheckSignalsTstate() */
 1877|      0|            _Py_atomic_store_int(&is_tripped, 1);
  ------------------
  |  |  108|      0|#define is_tripped _PyRuntime.signals.is_tripped
  ------------------
 1878|      0|            return -1;
 1879|      0|        }
 1880|       |
 1881|      0|        Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1882|      0|    }
 1883|       |
 1884|      0|    return 0;
 1885|      0|}
_PySignal_Init:
 1972|      2|{
 1973|      2|    signal_state_t *state = &signal_global_state;
  ------------------
  |  |  112|      2|#define signal_global_state _PyRuntime.signals
  ------------------
 1974|       |
 1975|      2|    state->default_handler = PyLong_FromVoidPtr((void *)SIG_DFL);
 1976|      2|    if (state->default_handler == NULL) {
  ------------------
  |  Branch (1976:9): [True: 0, False: 2]
  ------------------
 1977|      0|        return -1;
 1978|      0|    }
 1979|       |
 1980|      2|    state->ignore_handler = PyLong_FromVoidPtr((void *)SIG_IGN);
 1981|      2|    if (state->ignore_handler == NULL) {
  ------------------
  |  Branch (1981:9): [True: 0, False: 2]
  ------------------
 1982|      0|        return -1;
 1983|      0|    }
 1984|       |
 1985|       |#ifdef MS_WINDOWS
 1986|       |    /* Create manual-reset event, initially unset */
 1987|       |    state->sigint_event = (void *)CreateEvent(NULL, TRUE, FALSE, FALSE);
 1988|       |    if (state->sigint_event == NULL) {
 1989|       |        PyErr_SetFromWindowsErr(0);
 1990|       |        return -1;
 1991|       |    }
 1992|       |#endif
 1993|       |
 1994|    130|    for (int signum = 1; signum < Py_NSIG; signum++) {
  ------------------
  |  |   26|    130|#  define Py_NSIG NSIG
  ------------------
  |  Branch (1994:26): [True: 128, False: 2]
  ------------------
 1995|    128|        _Py_atomic_store_int_relaxed(&Handlers[signum].tripped, 0);
  ------------------
  |  |  106|    128|#define Handlers _PyRuntime.signals.handlers
  ------------------
 1996|    128|    }
 1997|       |
 1998|      2|    if (install_signal_handlers) {
  ------------------
  |  Branch (1998:9): [True: 0, False: 2]
  ------------------
 1999|      0|        if (signal_install_handlers() < 0) {
  ------------------
  |  Branch (1999:13): [True: 0, False: 0]
  ------------------
 2000|      0|            return -1;
 2001|      0|        }
 2002|      0|    }
 2003|       |
 2004|      2|    return 0;
 2005|      2|}

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

PyObject_Type:
   45|      4|{
   46|      4|    PyObject *v;
   47|       |
   48|      4|    if (o == NULL) {
  ------------------
  |  Branch (48:9): [True: 0, False: 4]
  ------------------
   49|      0|        return null_error();
   50|      0|    }
   51|       |
   52|      4|    v = (PyObject *)Py_TYPE(o);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   53|      4|    return Py_NewRef(v);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   54|      4|}
PyObject_Size:
   58|  33.0M|{
   59|  33.0M|    if (o == NULL) {
  ------------------
  |  Branch (59:9): [True: 0, False: 33.0M]
  ------------------
   60|      0|        null_error();
   61|      0|        return -1;
   62|      0|    }
   63|       |
   64|  33.0M|    PySequenceMethods *m = Py_TYPE(o)->tp_as_sequence;
  ------------------
  |  |  213|  33.0M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  33.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  33.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   65|  33.0M|    if (m && m->sq_length) {
  ------------------
  |  Branch (65:9): [True: 33.0M, False: 0]
  |  Branch (65:14): [True: 33.0M, False: 4.41k]
  ------------------
   66|  33.0M|        Py_ssize_t len = m->sq_length(o);
   67|  33.0M|        assert(_Py_CheckSlotResult(o, "__len__", len >= 0));
  ------------------
  |  Branch (67:9): [True: 33.0M, False: 0]
  ------------------
   68|  33.0M|        return len;
   69|  33.0M|    }
   70|       |
   71|  4.41k|    return PyMapping_Size(o);
   72|  33.0M|}
_PyObject_HasLen:
   83|  36.6k|_PyObject_HasLen(PyObject *o) {
   84|  36.6k|    return (Py_TYPE(o)->tp_as_sequence && Py_TYPE(o)->tp_as_sequence->sq_length) ||
  ------------------
  |  |  213|  36.6k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  36.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return (Py_TYPE(o)->tp_as_sequence && Py_TYPE(o)->tp_as_sequence->sq_length) ||
  ------------------
  |  |  213|  18.2k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  18.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (84:13): [True: 18.2k, False: 18.3k]
  |  Branch (84:43): [True: 18.2k, False: 3]
  ------------------
   85|  18.3k|        (Py_TYPE(o)->tp_as_mapping && Py_TYPE(o)->tp_as_mapping->mp_length);
  ------------------
  |  |  213|  18.3k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  18.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      (Py_TYPE(o)->tp_as_mapping && Py_TYPE(o)->tp_as_mapping->mp_length);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (85:10): [True: 3, False: 18.3k]
  |  Branch (85:39): [True: 0, False: 3]
  ------------------
   86|  36.6k|}
PyObject_LengthHint:
   96|  18.3k|{
   97|  18.3k|    PyObject *hint, *result;
   98|  18.3k|    Py_ssize_t res;
   99|  18.3k|    if (_PyObject_HasLen(o)) {
  ------------------
  |  Branch (99:9): [True: 2, False: 18.3k]
  ------------------
  100|      2|        res = PyObject_Length(o);
  ------------------
  |  |   80|      2|#define PyObject_Length PyObject_Size
  ------------------
  101|      2|        if (res < 0) {
  ------------------
  |  Branch (101:13): [True: 0, False: 2]
  ------------------
  102|      0|            PyThreadState *tstate = _PyThreadState_GET();
  103|      0|            assert(_PyErr_Occurred(tstate));
  ------------------
  |  Branch (103:13): [True: 0, False: 0]
  ------------------
  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|      2|        else {
  110|      2|            return res;
  111|      2|        }
  112|      2|    }
  113|  18.3k|    hint = _PyObject_LookupSpecial(o, &_Py_ID(__length_hint__));
  ------------------
  |  |  920|  18.3k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  18.3k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  18.3k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  114|  18.3k|    if (hint == NULL) {
  ------------------
  |  Branch (114:9): [True: 36, False: 18.3k]
  ------------------
  115|     36|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (115:13): [True: 0, False: 36]
  ------------------
  116|      0|            return -1;
  117|      0|        }
  118|     36|        return defaultvalue;
  119|     36|    }
  120|  18.3k|    result = _PyObject_CallNoArgs(hint);
  121|  18.3k|    Py_DECREF(hint);
  ------------------
  |  |  430|  18.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  122|  18.3k|    if (result == NULL) {
  ------------------
  |  Branch (122:9): [True: 0, False: 18.3k]
  ------------------
  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|  18.3k|    else if (result == Py_NotImplemented) {
  ------------------
  |  |  640|  18.3k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (130:14): [True: 0, False: 18.3k]
  ------------------
  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|  18.3k|    if (!PyLong_Check(result)) {
  ------------------
  |  |   13|  18.3k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  18.3k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (134:9): [True: 0, False: 18.3k]
  ------------------
  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|  18.3k|    res = PyLong_AsSsize_t(result);
  142|  18.3k|    Py_DECREF(result);
  ------------------
  |  |  430|  18.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  143|  18.3k|    if (res < 0 && PyErr_Occurred()) {
  ------------------
  |  Branch (143:9): [True: 0, False: 18.3k]
  |  Branch (143:20): [True: 0, False: 0]
  ------------------
  144|      0|        return -1;
  145|      0|    }
  146|  18.3k|    if (res < 0) {
  ------------------
  |  Branch (146:9): [True: 0, False: 18.3k]
  ------------------
  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|  18.3k|    return res;
  152|  18.3k|}
PyObject_GetItem:
  156|  12.8M|{
  157|  12.8M|    if (o == NULL || key == NULL) {
  ------------------
  |  Branch (157:9): [True: 0, False: 12.8M]
  |  Branch (157:22): [True: 0, False: 12.8M]
  ------------------
  158|      0|        return null_error();
  159|      0|    }
  160|       |
  161|  12.8M|    PyMappingMethods *m = Py_TYPE(o)->tp_as_mapping;
  ------------------
  |  |  213|  12.8M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  12.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  162|  12.8M|    if (m && m->mp_subscript) {
  ------------------
  |  Branch (162:9): [True: 12.8M, False: 5]
  |  Branch (162:14): [True: 12.8M, False: 0]
  ------------------
  163|  12.8M|        PyObject *item = m->mp_subscript(o, key);
  164|  12.8M|        assert(_Py_CheckSlotResult(o, "__getitem__", item != NULL));
  ------------------
  |  Branch (164:9): [True: 12.8M, False: 0]
  ------------------
  165|  12.8M|        return item;
  166|  12.8M|    }
  167|       |
  168|      5|    PySequenceMethods *ms = Py_TYPE(o)->tp_as_sequence;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  169|      5|    if (ms && ms->sq_item) {
  ------------------
  |  Branch (169:9): [True: 0, False: 5]
  |  Branch (169:15): [True: 0, False: 0]
  ------------------
  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|      5|    if (PyType_Check(o)) {
  ------------------
  |  |  766|      5|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 5, False: 0]
  |  |  ------------------
  ------------------
  184|      5|        PyObject *meth, *result;
  185|       |
  186|       |        // Special case type[int], but disallow other types so str[int] fails
  187|      5|        if ((PyTypeObject*)o == &PyType_Type) {
  ------------------
  |  Branch (187:13): [True: 0, False: 5]
  ------------------
  188|      0|            return Py_GenericAlias(o, key);
  189|      0|        }
  190|       |
  191|      5|        if (PyObject_GetOptionalAttr(o, &_Py_ID(__class_getitem__), &meth) < 0) {
  ------------------
  |  |  920|      5|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      5|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      5|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (191:13): [True: 0, False: 5]
  ------------------
  192|      0|            return NULL;
  193|      0|        }
  194|      5|        if (meth && meth != Py_None) {
  ------------------
  |  |  616|      5|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (194:13): [True: 5, False: 0]
  |  Branch (194:21): [True: 5, False: 0]
  ------------------
  195|      5|            result = PyObject_CallOneArg(meth, key);
  196|      5|            Py_DECREF(meth);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  197|      5|            return result;
  198|      5|        }
  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|      5|    }
  204|       |
  205|      0|    return type_error("'%.200s' object is not subscriptable", o);
  206|      5|}
PyMapping_GetOptionalItem:
  210|  8.24M|{
  211|  8.24M|    if (PyAnyDict_CheckExact(obj)) {
  ------------------
  |  |   41|  8.24M|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|  8.24M|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  16.4M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  8.24M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  8.24M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 8.24M, False: 25]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   38|     25|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|     25|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     25|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 25]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  212|  8.24M|        return PyDict_GetItemRef(obj, key, result);
  213|  8.24M|    }
  214|       |
  215|     25|    *result = PyObject_GetItem(obj, key);
  216|     25|    if (*result) {
  ------------------
  |  Branch (216:9): [True: 4, False: 21]
  ------------------
  217|      4|        return 1;
  218|      4|    }
  219|     25|    assert(PyErr_Occurred());
  ------------------
  |  Branch (219:5): [True: 21, False: 0]
  ------------------
  220|     21|    if (!PyErr_ExceptionMatches(PyExc_KeyError)) {
  ------------------
  |  Branch (220:9): [True: 0, False: 21]
  ------------------
  221|      0|        return -1;
  222|      0|    }
  223|     21|    PyErr_Clear();
  224|     21|    return 0;
  225|     21|}
_PyMapping_GetOptionalItem2:
  229|    256|{
  230|    256|    PyObject* result;
  231|    256|    *err = PyMapping_GetOptionalItem(obj, key, &result);
  232|    256|    return result;
  233|    256|}
PyObject_SetItem:
  237|  16.8M|{
  238|  16.8M|    if (o == NULL || key == NULL || value == NULL) {
  ------------------
  |  Branch (238:9): [True: 0, False: 16.8M]
  |  Branch (238:22): [True: 0, False: 16.8M]
  |  Branch (238:37): [True: 0, False: 16.8M]
  ------------------
  239|      0|        null_error();
  240|      0|        return -1;
  241|      0|    }
  242|       |
  243|  16.8M|    PyMappingMethods *m = Py_TYPE(o)->tp_as_mapping;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  244|  16.8M|    if (m && m->mp_ass_subscript) {
  ------------------
  |  Branch (244:9): [True: 16.8M, False: 0]
  |  Branch (244:14): [True: 16.8M, False: 0]
  ------------------
  245|  16.8M|        int res = m->mp_ass_subscript(o, key, value);
  246|  16.8M|        assert(_Py_CheckSlotResult(o, "__setitem__", res >= 0));
  ------------------
  |  Branch (246:9): [True: 16.8M, False: 0]
  ------------------
  247|  16.8M|        return res;
  248|  16.8M|    }
  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|  35.7k|{
  272|  35.7k|    if (o == NULL || key == NULL) {
  ------------------
  |  Branch (272:9): [True: 0, False: 35.7k]
  |  Branch (272:22): [True: 0, False: 35.7k]
  ------------------
  273|      0|        null_error();
  274|      0|        return -1;
  275|      0|    }
  276|       |
  277|  35.7k|    PyMappingMethods *m = Py_TYPE(o)->tp_as_mapping;
  ------------------
  |  |  213|  35.7k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  35.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  278|  35.7k|    if (m && m->mp_ass_subscript) {
  ------------------
  |  Branch (278:9): [True: 35.7k, False: 0]
  |  Branch (278:14): [True: 35.7k, False: 0]
  ------------------
  279|  35.7k|        int res = m->mp_ass_subscript(o, key, (PyObject*)NULL);
  280|  35.7k|        assert(_Py_CheckSlotResult(o, "__delitem__", res >= 0));
  ------------------
  |  Branch (280:9): [True: 35.7k, False: 0]
  ------------------
  281|  35.7k|        return res;
  282|  35.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|   783k|{
  326|   783k|    PyBufferProcs *tp_as_buffer = Py_TYPE(obj)->tp_as_buffer;
  ------------------
  |  |  213|   783k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   783k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   783k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  327|   783k|    return (tp_as_buffer != NULL && tp_as_buffer->bf_getbuffer != NULL);
  ------------------
  |  Branch (327:13): [True: 4.10k, False: 779k]
  |  Branch (327:37): [True: 4.10k, False: 0]
  ------------------
  328|   783k|}
PyObject_GetBuffer:
  440|   782k|{
  441|   782k|    if (flags != PyBUF_SIMPLE) {  /* fast path */
  ------------------
  |  |  108|   782k|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (441:9): [True: 30, False: 782k]
  ------------------
  442|     30|        if (flags == PyBUF_READ || flags == PyBUF_WRITE) {
  ------------------
  |  |  137|     60|#define PyBUF_READ  0x100
  ------------------
                      if (flags == PyBUF_READ || flags == PyBUF_WRITE) {
  ------------------
  |  |  138|     30|#define PyBUF_WRITE 0x200
  ------------------
  |  Branch (442:13): [True: 0, False: 30]
  |  Branch (442:36): [True: 0, False: 30]
  ------------------
  443|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  444|      0|            return -1;
  445|      0|        }
  446|     30|    }
  447|   782k|    PyBufferProcs *pb = Py_TYPE(obj)->tp_as_buffer;
  ------------------
  |  |  213|   782k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   782k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   782k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  448|       |
  449|   782k|    if (pb == NULL || pb->bf_getbuffer == NULL) {
  ------------------
  |  Branch (449:9): [True: 0, False: 782k]
  |  Branch (449:23): [True: 0, False: 782k]
  ------------------
  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|   782k|    int res = (*pb->bf_getbuffer)(obj, view, flags);
  456|   782k|    assert(_Py_CheckSlotResult(obj, "getbuffer", res >= 0));
  ------------------
  |  Branch (456:5): [True: 782k, False: 0]
  ------------------
  457|   782k|    return res;
  458|   782k|}
PyBuffer_FillInfo:
  776|   782k|{
  777|   782k|    if (view == NULL) {
  ------------------
  |  Branch (777:9): [True: 0, False: 782k]
  ------------------
  778|      0|        PyErr_SetString(PyExc_BufferError,
  779|      0|                        "PyBuffer_FillInfo: view==NULL argument is obsolete");
  780|      0|        return -1;
  781|      0|    }
  782|       |
  783|   782k|    if (flags != PyBUF_SIMPLE) {  /* fast path */
  ------------------
  |  |  108|   782k|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (783:9): [True: 355k, False: 427k]
  ------------------
  784|   355k|        if (flags == PyBUF_READ || flags == PyBUF_WRITE) {
  ------------------
  |  |  137|   711k|#define PyBUF_READ  0x100
  ------------------
                      if (flags == PyBUF_READ || flags == PyBUF_WRITE) {
  ------------------
  |  |  138|   355k|#define PyBUF_WRITE 0x200
  ------------------
  |  Branch (784:13): [True: 0, False: 355k]
  |  Branch (784:36): [True: 0, False: 355k]
  ------------------
  785|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  786|      0|            return -1;
  787|      0|        }
  788|   355k|        if (((flags & PyBUF_WRITABLE) == PyBUF_WRITABLE) &&
  ------------------
  |  |  109|   355k|#define PyBUF_WRITABLE 0x0001
  ------------------
                      if (((flags & PyBUF_WRITABLE) == PyBUF_WRITABLE) &&
  ------------------
  |  |  109|   355k|#define PyBUF_WRITABLE 0x0001
  ------------------
  |  Branch (788:13): [True: 6, False: 355k]
  ------------------
  789|      6|            (readonly == 1)) {
  ------------------
  |  Branch (789:13): [True: 0, False: 6]
  ------------------
  790|      0|            PyErr_SetString(PyExc_BufferError,
  791|      0|                            "Object is not writable.");
  792|      0|            return -1;
  793|      0|        }
  794|   355k|    }
  795|       |
  796|   782k|    view->obj = Py_XNewRef(obj);
  ------------------
  |  |  551|   782k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   782k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   782k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  797|   782k|    view->buf = buf;
  798|   782k|    view->len = len;
  799|   782k|    view->readonly = readonly;
  800|   782k|    view->itemsize = 1;
  801|   782k|    view->format = NULL;
  802|   782k|    if ((flags & PyBUF_FORMAT) == PyBUF_FORMAT)
  ------------------
  |  |  116|   782k|#define PyBUF_FORMAT 0x0004
  ------------------
                  if ((flags & PyBUF_FORMAT) == PyBUF_FORMAT)
  ------------------
  |  |  116|   782k|#define PyBUF_FORMAT 0x0004
  ------------------
  |  Branch (802:9): [True: 24, False: 782k]
  ------------------
  803|     24|        view->format = "B";
  804|   782k|    view->ndim = 1;
  805|   782k|    view->shape = NULL;
  806|   782k|    if ((flags & PyBUF_ND) == PyBUF_ND)
  ------------------
  |  |  117|   782k|#define PyBUF_ND 0x0008
  ------------------
                  if ((flags & PyBUF_ND) == PyBUF_ND)
  ------------------
  |  |  117|   782k|#define PyBUF_ND 0x0008
  ------------------
  |  Branch (806:9): [True: 355k, False: 427k]
  ------------------
  807|   355k|        view->shape = &(view->len);
  808|   782k|    view->strides = NULL;
  809|   782k|    if ((flags & PyBUF_STRIDES) == PyBUF_STRIDES)
  ------------------
  |  |  118|   782k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  ------------------
  |  |  |  |  117|   782k|#define PyBUF_ND 0x0008
  |  |  ------------------
  ------------------
                  if ((flags & PyBUF_STRIDES) == PyBUF_STRIDES)
  ------------------
  |  |  118|   782k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  ------------------
  |  |  |  |  117|   782k|#define PyBUF_ND 0x0008
  |  |  ------------------
  ------------------
  |  Branch (809:9): [True: 24, False: 782k]
  ------------------
  810|     24|        view->strides = &(view->itemsize);
  811|   782k|    view->suboffsets = NULL;
  812|       |    view->internal = NULL;
  813|   782k|    return 0;
  814|   782k|}
PyBuffer_Release:
  818|  1.13M|{
  819|  1.13M|    PyObject *obj = view->obj;
  820|  1.13M|    PyBufferProcs *pb;
  821|  1.13M|    if (obj == NULL)
  ------------------
  |  Branch (821:9): [True: 355k, False: 782k]
  ------------------
  822|   355k|        return;
  823|   782k|    pb = Py_TYPE(obj)->tp_as_buffer;
  ------------------
  |  |  213|   782k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   782k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   782k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  824|   782k|    if (pb && pb->bf_releasebuffer) {
  ------------------
  |  Branch (824:9): [True: 782k, False: 0]
  |  Branch (824:15): [True: 355k, False: 427k]
  ------------------
  825|   355k|        pb->bf_releasebuffer(obj, view);
  826|   355k|    }
  827|   782k|    view->obj = NULL;
  828|   782k|    Py_DECREF(obj);
  ------------------
  |  |  430|   782k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   782k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   782k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  829|   782k|}
PyObject_Format:
  854|   711k|{
  855|   711k|    PyObject *meth;
  856|   711k|    PyObject *empty = NULL;
  857|   711k|    PyObject *result = NULL;
  858|       |
  859|   711k|    if (format_spec != NULL && !PyUnicode_Check(format_spec)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (859:9): [True: 0, False: 711k]
  |  Branch (859:32): [True: 0, False: 0]
  ------------------
  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|   711k|    if (format_spec == NULL || PyUnicode_GET_LENGTH(format_spec) == 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 (867:9): [True: 711k, False: 0]
  |  Branch (867:32): [True: 0, False: 0]
  ------------------
  868|   711k|        if (PyUnicode_CheckExact(obj)) {
  ------------------
  |  |  104|   711k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   711k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   711k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   711k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 711k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|   711k|        if (PyLong_CheckExact(obj)) {
  ------------------
  |  |   14|   711k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|   711k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   711k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   711k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 355k, False: 355k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  872|   355k|            return PyObject_Str(obj);
  873|   355k|        }
  874|   711k|    }
  875|       |
  876|       |    /* If no format_spec is provided, use an empty string */
  877|   355k|    if (format_spec == NULL) {
  ------------------
  |  Branch (877:9): [True: 355k, False: 0]
  ------------------
  878|   355k|        empty = Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|   355k|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
  879|   355k|        format_spec = empty;
  880|   355k|    }
  881|       |
  882|       |    /* Find the (unbound!) __format__ method */
  883|   355k|    meth = _PyObject_LookupSpecial(obj, &_Py_ID(__format__));
  ------------------
  |  |  920|   355k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   355k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   355k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  884|   355k|    if (meth == NULL) {
  ------------------
  |  Branch (884:9): [True: 0, False: 355k]
  ------------------
  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|   355k|    result = PyObject_CallOneArg(meth, format_spec);
  896|   355k|    Py_DECREF(meth);
  ------------------
  |  |  430|   355k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  897|       |
  898|   355k|    if (result && !PyUnicode_Check(result)) {
  ------------------
  |  |  103|   355k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   355k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (898:9): [True: 355k, False: 0]
  |  Branch (898:19): [True: 0, False: 355k]
  ------------------
  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|   355k|done:
  907|   355k|    Py_XDECREF(empty);
  ------------------
  |  |  524|   355k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  908|   355k|    return result;
  909|   355k|}
PyNumber_Check:
  914|  1.08M|{
  915|  1.08M|    if (o == NULL)
  ------------------
  |  Branch (915:9): [True: 0, False: 1.08M]
  ------------------
  916|      0|        return 0;
  917|  1.08M|    PyNumberMethods *nb = Py_TYPE(o)->tp_as_number;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  918|  1.08M|    return nb && (nb->nb_index || nb->nb_int || nb->nb_float || PyComplex_Check(o));
  ------------------
  |  |   13|     27|#define PyComplex_Check(op) PyObject_TypeCheck((op), &PyComplex_Type)
  |  |  ------------------
  |  |  |  |  378|     27|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 27]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (918:12): [True: 1.08M, False: 0]
  |  Branch (918:19): [True: 1.08M, False: 27]
  |  Branch (918:35): [True: 0, False: 27]
  |  Branch (918:49): [True: 0, False: 27]
  ------------------
  919|  1.08M|}
PyNumber_Add:
 1139|  12.4M|{
 1140|  12.4M|    PyObject *result = BINARY_OP1(v, w, NB_SLOT(nb_add), "+");
  ------------------
  |  |  995|  12.4M|#  define BINARY_OP1(v, w, op_slot, op_name) binary_op1(v, w, op_slot, op_name)
  ------------------
 1141|  12.4M|    if (result != Py_NotImplemented) {
  ------------------
  |  |  640|  12.4M|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1141:9): [True: 12.4M, False: 74]
  ------------------
 1142|  12.4M|        return result;
 1143|  12.4M|    }
 1144|     74|    Py_DECREF(result);
  ------------------
  |  |  430|     74|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1145|       |
 1146|     74|    PySequenceMethods *m = Py_TYPE(v)->tp_as_sequence;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1147|     74|    if (m && m->sq_concat) {
  ------------------
  |  Branch (1147:9): [True: 74, False: 0]
  |  Branch (1147:14): [True: 74, False: 0]
  ------------------
 1148|     74|        result = (*m->sq_concat)(v, w);
 1149|     74|        assert(_Py_CheckSlotResult(v, "+", result != NULL));
  ------------------
  |  Branch (1149:9): [True: 74, False: 0]
  ------------------
 1150|     74|        return result;
 1151|     74|    }
 1152|       |
 1153|      0|    return binop_type_error(v, w, "+");
 1154|     74|}
PyNumber_Multiply:
 1177|  3.25M|{
 1178|  3.25M|    PyObject *result = BINARY_OP1(v, w, NB_SLOT(nb_multiply), "*");
  ------------------
  |  |  995|  3.25M|#  define BINARY_OP1(v, w, op_slot, op_name) binary_op1(v, w, op_slot, op_name)
  ------------------
 1179|  3.25M|    if (result == Py_NotImplemented) {
  ------------------
  |  |  640|  3.25M|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1179:9): [True: 2.89k, False: 3.25M]
  ------------------
 1180|  2.89k|        PySequenceMethods *mv = Py_TYPE(v)->tp_as_sequence;
  ------------------
  |  |  213|  2.89k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.89k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1181|  2.89k|        PySequenceMethods *mw = Py_TYPE(w)->tp_as_sequence;
  ------------------
  |  |  213|  2.89k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.89k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1182|  2.89k|        Py_DECREF(result);
  ------------------
  |  |  430|  2.89k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.89k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1183|  2.89k|        if  (mv && mv->sq_repeat) {
  ------------------
  |  Branch (1183:14): [True: 2.89k, False: 0]
  |  Branch (1183:20): [True: 2.89k, False: 0]
  ------------------
 1184|  2.89k|            return sequence_repeat(mv->sq_repeat, v, w);
 1185|  2.89k|        }
 1186|      0|        else if (mw && mw->sq_repeat) {
  ------------------
  |  Branch (1186:18): [True: 0, False: 0]
  |  Branch (1186:24): [True: 0, False: 0]
  ------------------
 1187|      0|            return sequence_repeat(mw->sq_repeat, w, v);
 1188|      0|        }
 1189|      0|        result = binop_type_error(v, w, "*");
 1190|      0|    }
 1191|  3.25M|    return result;
 1192|  3.25M|}
PyNumber_Power:
 1201|    872|{
 1202|       |    return ternary_op(v, w, z, NB_SLOT(nb_power), "** or pow()");
  ------------------
  |  |  923|    872|#define NB_SLOT(x) offsetof(PyNumberMethods, x)
  ------------------
 1203|    872|}
_PyNumber_PowerNoMod:
 1207|    871|{
 1208|    871|    return PyNumber_Power(lhs, rhs, Py_None);
  ------------------
  |  |  616|    871|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1209|    871|}
PyNumber_InPlaceAdd:
 1308|   194k|{
 1309|   194k|    PyObject *result = BINARY_IOP1(v, w, NB_SLOT(nb_inplace_add),
  ------------------
  |  | 1256|   194k|#  define BINARY_IOP1(v, w, iop_slot, op_slot, op_name) binary_iop1(v, w, iop_slot, op_slot, op_name)
  ------------------
 1310|   194k|                                   NB_SLOT(nb_add), "+=");
 1311|   194k|    if (result == Py_NotImplemented) {
  ------------------
  |  |  640|   194k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1311:9): [True: 194k, False: 1]
  ------------------
 1312|   194k|        PySequenceMethods *m = Py_TYPE(v)->tp_as_sequence;
  ------------------
  |  |  213|   194k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   194k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   194k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1313|   194k|        Py_DECREF(result);
  ------------------
  |  |  430|   194k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   194k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   194k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1314|   194k|        if (m != NULL) {
  ------------------
  |  Branch (1314:13): [True: 194k, False: 0]
  ------------------
 1315|   194k|            binaryfunc func = m->sq_inplace_concat;
 1316|   194k|            if (func == NULL)
  ------------------
  |  Branch (1316:17): [True: 16, False: 194k]
  ------------------
 1317|     16|                func = m->sq_concat;
 1318|   194k|            if (func != NULL) {
  ------------------
  |  Branch (1318:17): [True: 194k, False: 0]
  ------------------
 1319|   194k|                result = func(v, w);
 1320|   194k|                assert(_Py_CheckSlotResult(v, "+=", result != NULL));
  ------------------
  |  Branch (1320:17): [True: 194k, False: 0]
  ------------------
 1321|   194k|                return result;
 1322|   194k|            }
 1323|   194k|        }
 1324|      0|        result = binop_type_error(v, w, "+=");
 1325|      0|    }
 1326|      1|    return result;
 1327|   194k|}
PyNumber_InPlaceMultiply:
 1331|    570|{
 1332|    570|    PyObject *result = BINARY_IOP1(v, w, NB_SLOT(nb_inplace_multiply),
  ------------------
  |  | 1256|    570|#  define BINARY_IOP1(v, w, iop_slot, op_slot, op_name) binary_iop1(v, w, iop_slot, op_slot, op_name)
  ------------------
 1333|    570|                                   NB_SLOT(nb_multiply), "*=");
 1334|    570|    if (result == Py_NotImplemented) {
  ------------------
  |  |  640|    570|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1334:9): [True: 0, False: 570]
  ------------------
 1335|      0|        ssizeargfunc f = NULL;
 1336|      0|        PySequenceMethods *mv = Py_TYPE(v)->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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1337|      0|        PySequenceMethods *mw = Py_TYPE(w)->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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1338|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1339|      0|        if (mv != NULL) {
  ------------------
  |  Branch (1339:13): [True: 0, False: 0]
  ------------------
 1340|      0|            f = mv->sq_inplace_repeat;
 1341|      0|            if (f == NULL)
  ------------------
  |  Branch (1341:17): [True: 0, False: 0]
  ------------------
 1342|      0|                f = mv->sq_repeat;
 1343|      0|            if (f != NULL)
  ------------------
  |  Branch (1343:17): [True: 0, False: 0]
  ------------------
 1344|      0|                return sequence_repeat(f, v, w);
 1345|      0|        }
 1346|      0|        else if (mw != NULL) {
  ------------------
  |  Branch (1346:18): [True: 0, False: 0]
  ------------------
 1347|       |            /* Note that the right hand operand should not be
 1348|       |             * mutated in this case so sq_inplace_repeat is not
 1349|       |             * used. */
 1350|      0|            if (mw->sq_repeat)
  ------------------
  |  Branch (1350:17): [True: 0, False: 0]
  ------------------
 1351|      0|                return sequence_repeat(mw->sq_repeat, w, v);
 1352|      0|        }
 1353|      0|        result = binop_type_error(v, w, "*=");
 1354|      0|    }
 1355|    570|    return result;
 1356|    570|}
PyIndex_Check:
 1399|    156|{
 1400|    156|    return _PyIndex_Check(obj);
 1401|    156|}
_PyNumber_Index:
 1411|  46.4M|{
 1412|  46.4M|    if (item == NULL) {
  ------------------
  |  Branch (1412:9): [True: 0, False: 46.4M]
  ------------------
 1413|      0|        return null_error();
 1414|      0|    }
 1415|       |
 1416|  46.4M|    if (PyLong_Check(item)) {
  ------------------
  |  |   13|  46.4M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  46.4M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 46.4M, False: 2.06k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1417|  46.4M|        return Py_NewRef(item);
  ------------------
  |  |  550|  46.4M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  46.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  46.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1418|  46.4M|    }
 1419|  2.06k|    if (!_PyIndex_Check(item)) {
  ------------------
  |  Branch (1419:9): [True: 2.06k, False: 0]
  ------------------
 1420|  2.06k|        PyErr_Format(PyExc_TypeError,
 1421|  2.06k|                     "'%.200s' object cannot be interpreted "
 1422|  2.06k|                     "as an integer", Py_TYPE(item)->tp_name);
  ------------------
  |  |  213|  2.06k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1423|  2.06k|        return NULL;
 1424|  2.06k|    }
 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));
  ------------------
  |  Branch (1427:5): [True: 0, False: 0]
  ------------------
 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|  6.10M|{
 1458|  6.10M|    PyObject *result = _PyNumber_Index(item);
 1459|  6.10M|    if (result != NULL && !PyLong_CheckExact(result)) {
  ------------------
  |  |   14|  6.10M|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  6.10M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.10M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.10M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1459:9): [True: 6.10M, False: 0]
  |  Branch (1459:27): [True: 0, False: 6.10M]
  ------------------
 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|  6.10M|    return result;
 1463|  6.10M|}
PyNumber_AsSsize_t:
 1469|  30.2M|{
 1470|  30.2M|    Py_ssize_t result;
 1471|  30.2M|    PyObject *runerr;
 1472|  30.2M|    PyObject *value = _PyNumber_Index(item);
 1473|  30.2M|    if (value == NULL)
  ------------------
  |  Branch (1473:9): [True: 2.03k, False: 30.2M]
  ------------------
 1474|  2.03k|        return -1;
 1475|       |
 1476|       |    /* We're done if PyLong_AsSsize_t() returns without error. */
 1477|  30.2M|    result = PyLong_AsSsize_t(value);
 1478|  30.2M|    if (result != -1)
  ------------------
  |  Branch (1478:9): [True: 27.6M, False: 2.61M]
  ------------------
 1479|  27.6M|        goto finish;
 1480|       |
 1481|  2.61M|    PyThreadState *tstate = _PyThreadState_GET();
 1482|  2.61M|    runerr = _PyErr_Occurred(tstate);
 1483|  2.61M|    if (!runerr) {
  ------------------
  |  Branch (1483:9): [True: 2.61M, False: 0]
  ------------------
 1484|  2.61M|        goto finish;
 1485|  2.61M|    }
 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));
  ------------------
  |  Branch (1496:9): [True: 0, False: 0]
  ------------------
 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|  30.2M| finish:
 1513|  30.2M|    Py_DECREF(value);
  ------------------
  |  |  430|  30.2M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  30.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1514|  30.2M|    return result;
 1515|      0|}
PyNumber_Long:
 1520|   136k|{
 1521|   136k|    PyObject *result;
 1522|   136k|    PyNumberMethods *m;
 1523|   136k|    Py_buffer view;
 1524|       |
 1525|   136k|    if (o == NULL) {
  ------------------
  |  Branch (1525:9): [True: 0, False: 136k]
  ------------------
 1526|      0|        return null_error();
 1527|      0|    }
 1528|       |
 1529|   136k|    if (PyLong_CheckExact(o)) {
  ------------------
  |  |   14|   136k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|   136k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   136k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   136k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 144, False: 136k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1530|    144|        return Py_NewRef(o);
  ------------------
  |  |  550|    144|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    144|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    144|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1531|    144|    }
 1532|   136k|    m = Py_TYPE(o)->tp_as_number;
  ------------------
  |  |  213|   136k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   136k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   136k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1533|   136k|    if (m && m->nb_int) { /* This should include subclasses of int */
  ------------------
  |  Branch (1533:9): [True: 136k, False: 0]
  |  Branch (1533:14): [True: 86, False: 136k]
  ------------------
 1534|       |        /* Convert using the nb_int slot, which should return something
 1535|       |           of exact type int. */
 1536|     86|        result = m->nb_int(o);
 1537|     86|        assert(_Py_CheckSlotResult(o, "__int__", result != NULL));
  ------------------
  |  Branch (1537:9): [True: 86, False: 0]
  ------------------
 1538|     86|        if (!result || PyLong_CheckExact(result)) {
  ------------------
  |  |   14|     86|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|     86|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     86|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     86|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 86, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1538:13): [True: 0, False: 86]
  ------------------
 1539|     86|            return result;
 1540|     86|        }
 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|   136k|    if (m && m->nb_index) {
  ------------------
  |  Branch (1561:9): [True: 136k, False: 0]
  |  Branch (1561:14): [True: 0, False: 136k]
  ------------------
 1562|      0|        return PyNumber_Index(o);
 1563|      0|    }
 1564|       |
 1565|   136k|    if (PyUnicode_Check(o))
  ------------------
  |  |  103|   136k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   136k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 136k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1566|       |        /* The below check is done in PyLong_FromUnicodeObject(). */
 1567|   136k|        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|}
PySequence_Check:
 1682|  5.39M|{
 1683|  5.39M|    if (PyDict_Check(s))
  ------------------
  |  |   18|  5.39M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  5.39M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 5.39M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1684|      0|        return 0;
 1685|  5.39M|    return Py_TYPE(s)->tp_as_sequence &&
  ------------------
  |  |  213|  5.39M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.39M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.39M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1685:12): [True: 5.39M, False: 0]
  ------------------
 1686|  5.39M|        Py_TYPE(s)->tp_as_sequence->sq_item != NULL;
  ------------------
  |  |  213|  5.39M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.39M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.39M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1686:9): [True: 5.39M, False: 0]
  ------------------
 1687|  5.39M|}
PySequence_Size:
 1691|  18.2k|{
 1692|  18.2k|    if (s == NULL) {
  ------------------
  |  Branch (1692:9): [True: 0, False: 18.2k]
  ------------------
 1693|      0|        null_error();
 1694|      0|        return -1;
 1695|      0|    }
 1696|       |
 1697|  18.2k|    PySequenceMethods *m = Py_TYPE(s)->tp_as_sequence;
  ------------------
  |  |  213|  18.2k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  18.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1698|  18.2k|    if (m && m->sq_length) {
  ------------------
  |  Branch (1698:9): [True: 18.2k, False: 0]
  |  Branch (1698:14): [True: 18.2k, False: 0]
  ------------------
 1699|  18.2k|        Py_ssize_t len = m->sq_length(s);
 1700|  18.2k|        assert(_Py_CheckSlotResult(s, "__len__", len >= 0));
  ------------------
  |  Branch (1700:9): [True: 18.2k, False: 0]
  ------------------
 1701|  18.2k|        return len;
 1702|  18.2k|    }
 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_GetItem:
 1842|  7.89M|{
 1843|  7.89M|    if (s == NULL) {
  ------------------
  |  Branch (1843:9): [True: 0, False: 7.89M]
  ------------------
 1844|      0|        return null_error();
 1845|      0|    }
 1846|       |
 1847|  7.89M|    PySequenceMethods *m = Py_TYPE(s)->tp_as_sequence;
  ------------------
  |  |  213|  7.89M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.89M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.89M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1848|  7.89M|    if (m && m->sq_item) {
  ------------------
  |  Branch (1848:9): [True: 7.89M, False: 0]
  |  Branch (1848:14): [True: 7.89M, False: 0]
  ------------------
 1849|  7.89M|        if (i < 0) {
  ------------------
  |  Branch (1849:13): [True: 0, False: 7.89M]
  ------------------
 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));
  ------------------
  |  Branch (1852:17): [True: 0, False: 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|  7.89M|        PyObject *res = m->sq_item(s, i);
 1860|  7.89M|        assert(_Py_CheckSlotResult(s, "__getitem__", res != NULL));
  ------------------
  |  Branch (1860:9): [True: 7.89M, False: 0]
  ------------------
 1861|  7.89M|        return res;
 1862|  7.89M|    }
 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|      1|{
 1873|      1|    if (!s) {
  ------------------
  |  Branch (1873:9): [True: 0, False: 1]
  ------------------
 1874|      0|        return null_error();
 1875|      0|    }
 1876|       |
 1877|      1|    PyMappingMethods *mp = Py_TYPE(s)->tp_as_mapping;
  ------------------
  |  |  213|      1|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1878|      1|    if (mp && mp->mp_subscript) {
  ------------------
  |  Branch (1878:9): [True: 1, False: 0]
  |  Branch (1878:15): [True: 1, False: 0]
  ------------------
 1879|      1|        PyObject *slice = _PySlice_FromIndices(i1, i2);
 1880|      1|        if (!slice) {
  ------------------
  |  Branch (1880:13): [True: 0, False: 1]
  ------------------
 1881|      0|            return NULL;
 1882|      0|        }
 1883|      1|        PyObject *res = mp->mp_subscript(s, slice);
 1884|      1|        assert(_Py_CheckSlotResult(s, "__getitem__", res != NULL));
  ------------------
  |  Branch (1884:9): [True: 1, False: 0]
  ------------------
 1885|      1|        Py_DECREF(slice);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1886|      1|        return res;
 1887|      1|    }
 1888|       |
 1889|      0|    return type_error("'%.200s' object is unsliceable", s);
 1890|      1|}
PySequence_DelItem:
 1927|      3|{
 1928|      3|    if (s == NULL) {
  ------------------
  |  Branch (1928:9): [True: 0, False: 3]
  ------------------
 1929|      0|        null_error();
 1930|      0|        return -1;
 1931|      0|    }
 1932|       |
 1933|      3|    PySequenceMethods *m = Py_TYPE(s)->tp_as_sequence;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1934|      3|    if (m && m->sq_ass_item) {
  ------------------
  |  Branch (1934:9): [True: 3, False: 0]
  |  Branch (1934:14): [True: 3, False: 0]
  ------------------
 1935|      3|        if (i < 0) {
  ------------------
  |  Branch (1935:13): [True: 0, False: 3]
  ------------------
 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));
  ------------------
  |  Branch (1938:17): [True: 0, False: 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|      3|        int res = m->sq_ass_item(s, i, (PyObject *)NULL);
 1946|      3|        assert(_Py_CheckSlotResult(s, "__delitem__", res >= 0));
  ------------------
  |  Branch (1946:9): [True: 3, False: 0]
  ------------------
 1947|      3|        return res;
 1948|      3|    }
 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|  3.21k|{
 2007|  3.21k|    PyObject *it;  /* iter(v) */
 2008|       |
 2009|  3.21k|    if (v == NULL) {
  ------------------
  |  Branch (2009:9): [True: 0, False: 3.21k]
  ------------------
 2010|      0|        return null_error();
 2011|      0|    }
 2012|       |
 2013|       |    /* Special-case the common tuple and list cases, for efficiency. */
 2014|  3.21k|    if (PyTuple_CheckExact(v)) {
  ------------------
  |  |   28|  3.21k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  3.21k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 831, False: 2.38k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|    831|        return Py_NewRef(v);
  ------------------
  |  |  550|    831|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    831|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    831|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2020|    831|    }
 2021|  2.38k|    if (PyList_CheckExact(v))
  ------------------
  |  |   26|  2.38k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|  2.38k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2.34k, False: 42]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2022|  2.34k|        return PyList_AsTuple(v);
 2023|       |
 2024|       |    /* Get iterator. */
 2025|     42|    it = PyObject_GetIter(v);
 2026|     42|    if (it == NULL)
  ------------------
  |  Branch (2026:9): [True: 0, False: 42]
  ------------------
 2027|      0|        return NULL;
 2028|       |
 2029|     42|    Py_ssize_t n;
 2030|     42|    PyObject *buffer[8];
 2031|    152|    for (n = 0; n < 8; n++) {
  ------------------
  |  Branch (2031:17): [True: 150, False: 2]
  ------------------
 2032|    150|        PyObject *item = PyIter_Next(it);
 2033|    150|        if (item == NULL) {
  ------------------
  |  Branch (2033:13): [True: 40, False: 110]
  ------------------
 2034|     40|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (2034:17): [True: 0, False: 40]
  ------------------
 2035|      0|                goto fail;
 2036|      0|            }
 2037|     40|            Py_DECREF(it);
  ------------------
  |  |  430|     40|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2038|     40|            return _PyTuple_FromArraySteal(buffer, n);
 2039|     40|        }
 2040|    110|        buffer[n] = item;
 2041|    110|    }
 2042|      2|    PyListObject *list = (PyListObject *)PyList_New(16);
 2043|      2|    if (list == NULL) {
  ------------------
  |  Branch (2043:9): [True: 0, False: 2]
  ------------------
 2044|      0|        goto fail;
 2045|      0|    }
 2046|      2|    assert(n == 8);
  ------------------
  |  Branch (2046:5): [True: 2, False: 0]
  ------------------
 2047|      2|    Py_SET_SIZE(list, n);
  ------------------
  |  |  216|      2|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|      2|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2048|     18|    for (Py_ssize_t j = 0; j < n; j++) {
  ------------------
  |  Branch (2048:28): [True: 16, False: 2]
  ------------------
 2049|     16|        PyList_SET_ITEM(list, j, buffer[j]);
  ------------------
  |  |   50|     16|    PyList_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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2050|     16|    }
 2051|     69|    for (;;) {
 2052|     69|        PyObject *item = PyIter_Next(it);
 2053|     69|        if (item == NULL) {
  ------------------
  |  Branch (2053:13): [True: 2, False: 67]
  ------------------
 2054|      2|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (2054:17): [True: 0, False: 2]
  ------------------
 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|      2|            break;
 2060|      2|        }
 2061|     67|        if (_PyList_AppendTakeRef(list, item) < 0) {
  ------------------
  |  Branch (2061:13): [True: 0, False: 67]
  ------------------
 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|     67|    }
 2067|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2068|      2|    PyObject *res = _PyList_AsTupleAndClear(list);
 2069|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2070|      2|    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|      2|}
PySequence_List:
 2082|  19.2k|{
 2083|  19.2k|    PyObject *result;  /* result list */
 2084|  19.2k|    PyObject *rv;          /* return value from PyList_Extend */
 2085|       |
 2086|  19.2k|    if (v == NULL) {
  ------------------
  |  Branch (2086:9): [True: 0, False: 19.2k]
  ------------------
 2087|      0|        return null_error();
 2088|      0|    }
 2089|       |
 2090|  19.2k|    result = PyList_New(0);
 2091|  19.2k|    if (result == NULL)
  ------------------
  |  Branch (2091:9): [True: 0, False: 19.2k]
  ------------------
 2092|      0|        return NULL;
 2093|       |
 2094|  19.2k|    rv = _PyList_Extend((PyListObject *)result, v);
 2095|  19.2k|    if (rv == NULL) {
  ------------------
  |  Branch (2095:9): [True: 0, False: 19.2k]
  ------------------
 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|  19.2k|    Py_DECREF(rv);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2100|  19.2k|    return result;
 2101|  19.2k|}
PySequence_Fast:
 2105|  5.90M|{
 2106|  5.90M|    PyObject *it;
 2107|       |
 2108|  5.90M|    if (v == NULL) {
  ------------------
  |  Branch (2108:9): [True: 0, False: 5.90M]
  ------------------
 2109|      0|        return null_error();
 2110|      0|    }
 2111|       |
 2112|  5.90M|    if (PyList_CheckExact(v) || PyTuple_CheckExact(v)) {
  ------------------
  |  |   26|  5.90M|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|  11.8M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.90M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.90M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 5.88M, False: 19.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyList_CheckExact(v) || PyTuple_CheckExact(v)) {
  ------------------
  |  |   28|  19.6k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  19.6k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  19.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  19.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.35k, False: 18.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2113|  5.88M|        return Py_NewRef(v);
  ------------------
  |  |  550|  5.88M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  5.88M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.88M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2114|  5.88M|    }
 2115|       |
 2116|  18.2k|    it = PyObject_GetIter(v);
 2117|  18.2k|    if (it == NULL) {
  ------------------
  |  Branch (2117:9): [True: 0, False: 18.2k]
  ------------------
 2118|      0|        PyThreadState *tstate = _PyThreadState_GET();
 2119|      0|        if (_PyErr_ExceptionMatches(tstate, PyExc_TypeError)) {
  ------------------
  |  Branch (2119:13): [True: 0, False: 0]
  ------------------
 2120|      0|            _PyErr_SetString(tstate, PyExc_TypeError, m);
 2121|      0|        }
 2122|      0|        return NULL;
 2123|      0|    }
 2124|       |
 2125|  18.2k|    v = PySequence_List(it);
 2126|  18.2k|    Py_DECREF(it);
  ------------------
  |  |  430|  18.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2127|       |
 2128|  18.2k|    return v;
 2129|  18.2k|}
PySequence_Contains:
 2241|  33.7M|{
 2242|  33.7M|    PySequenceMethods *sqm = Py_TYPE(seq)->tp_as_sequence;
  ------------------
  |  |  213|  33.7M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  33.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  33.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2243|  33.7M|    if (sqm != NULL && sqm->sq_contains != NULL) {
  ------------------
  |  Branch (2243:9): [True: 33.7M, False: 0]
  |  Branch (2243:24): [True: 33.7M, False: 0]
  ------------------
 2244|  33.7M|        int res = (*sqm->sq_contains)(seq, ob);
 2245|  33.7M|        assert(_Py_CheckSlotResult(seq, "__contains__", res >= 0));
  ------------------
  |  Branch (2245:9): [True: 33.7M, False: 0]
  ------------------
 2246|  33.7M|        return res;
 2247|  33.7M|    }
 2248|      0|    Py_ssize_t result = _PySequence_IterSearch(seq, ob, PY_ITERSEARCH_CONTAINS);
  ------------------
  |  |   29|      0|#define PY_ITERSEARCH_CONTAINS 3
  ------------------
 2249|      0|    return Py_SAFE_DOWNCAST(result, Py_ssize_t, int);
  ------------------
  |  |  247|      0|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2250|  33.7M|}
PyMapping_Check:
 2270|  1.34M|{
 2271|  1.34M|    return o && Py_TYPE(o)->tp_as_mapping &&
  ------------------
  |  |  213|  1.34M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.34M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.34M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2271:12): [True: 1.34M, False: 0]
  |  Branch (2271:17): [True: 265k, False: 1.08M]
  ------------------
 2272|   265k|        Py_TYPE(o)->tp_as_mapping->mp_subscript;
  ------------------
  |  |  213|   265k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   265k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   265k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2272:9): [True: 265k, False: 0]
  ------------------
 2273|  1.34M|}
PyMapping_Size:
 2277|  4.41k|{
 2278|  4.41k|    if (o == NULL) {
  ------------------
  |  Branch (2278:9): [True: 0, False: 4.41k]
  ------------------
 2279|      0|        null_error();
 2280|      0|        return -1;
 2281|      0|    }
 2282|       |
 2283|  4.41k|    PyMappingMethods *m = Py_TYPE(o)->tp_as_mapping;
  ------------------
  |  |  213|  4.41k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2284|  4.41k|    if (m && m->mp_length) {
  ------------------
  |  Branch (2284:9): [True: 4.41k, False: 0]
  |  Branch (2284:14): [True: 4.41k, False: 0]
  ------------------
 2285|  4.41k|        Py_ssize_t len = m->mp_length(o);
 2286|  4.41k|        assert(_Py_CheckSlotResult(o, "__len__", len >= 0));
  ------------------
  |  Branch (2286:9): [True: 4.41k, False: 0]
  ------------------
 2287|  4.41k|        return len;
 2288|  4.41k|    }
 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|      8|{
 2310|      8|    PyObject *okey, *r;
 2311|       |
 2312|      8|    if (key == NULL) {
  ------------------
  |  Branch (2312:9): [True: 0, False: 8]
  ------------------
 2313|      0|        return null_error();
 2314|      0|    }
 2315|       |
 2316|      8|    okey = PyUnicode_FromString(key);
 2317|      8|    if (okey == NULL)
  ------------------
  |  Branch (2317:9): [True: 0, False: 8]
  ------------------
 2318|      0|        return NULL;
 2319|      8|    r = PyObject_GetItem(o, okey);
 2320|      8|    Py_DECREF(okey);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2321|      8|    return r;
 2322|      8|}
PyMapping_SetItemString:
 2344|      3|{
 2345|      3|    PyObject *okey;
 2346|      3|    int r;
 2347|       |
 2348|      3|    if (key == NULL) {
  ------------------
  |  Branch (2348:9): [True: 0, False: 3]
  ------------------
 2349|      0|        null_error();
 2350|      0|        return -1;
 2351|      0|    }
 2352|       |
 2353|      3|    okey = PyUnicode_FromString(key);
 2354|      3|    if (okey == NULL)
  ------------------
  |  Branch (2354:9): [True: 0, False: 3]
  ------------------
 2355|      0|        return -1;
 2356|      3|    r = PyObject_SetItem(o, okey, value);
 2357|      3|    Py_DECREF(okey);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2358|      3|    return r;
 2359|      3|}
PyMapping_Keys:
 2461|     20|{
 2462|     20|    if (o == NULL) {
  ------------------
  |  Branch (2462:9): [True: 0, False: 20]
  ------------------
 2463|      0|        return null_error();
 2464|      0|    }
 2465|     20|    if (PyAnyDict_CheckExact(o)) {
  ------------------
  |  |   41|     20|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|     20|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|     40|#  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: 12, False: 8]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   38|      8|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|      8|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 8]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2466|     12|        return PyDict_Keys(o);
 2467|     12|    }
 2468|      8|    return method_output_as_list(o, &_Py_ID(keys));
  ------------------
  |  |  920|      8|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      8|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      8|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2469|     20|}
PyMapping_Items:
 2473|     76|{
 2474|     76|    if (o == NULL) {
  ------------------
  |  Branch (2474:9): [True: 0, False: 76]
  ------------------
 2475|      0|        return null_error();
 2476|      0|    }
 2477|     76|    if (PyAnyDict_CheckExact(o)) {
  ------------------
  |  |   41|     76|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|     76|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   38|     76|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2478|      0|        return PyDict_Items(o);
 2479|      0|    }
 2480|     76|    return method_output_as_list(o, &_Py_ID(items));
  ------------------
  |  |  920|     76|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     76|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     76|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2481|     76|}
PyObject_IsInstance:
 2705|  22.5M|{
 2706|  22.5M|    PyThreadState *tstate = _PyThreadState_GET();
 2707|  22.5M|    return object_recursive_isinstance(tstate, inst, cls);
 2708|  22.5M|}
PyObject_IsSubclass:
 2793|  2.87M|{
 2794|  2.87M|    PyThreadState *tstate = _PyThreadState_GET();
 2795|  2.87M|    return object_issubclass(tstate, derived, cls);
 2796|  2.87M|}
_PyObject_RealIsInstance:
 2801|  6.80k|{
 2802|  6.80k|    return object_isinstance(inst, cls);
 2803|  6.80k|}
_PyObject_RealIsSubclass:
 2807|  2.54k|{
 2808|  2.54k|    return recursive_issubclass(derived, cls);
 2809|  2.54k|}
PyObject_GetIter:
 2814|  9.93M|{
 2815|  9.93M|    PyTypeObject *t = Py_TYPE(o);
  ------------------
  |  |  213|  9.93M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  9.93M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.93M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2816|  9.93M|    getiterfunc f;
 2817|       |
 2818|  9.93M|    f = t->tp_iter;
 2819|  9.93M|    if (f == NULL) {
  ------------------
  |  Branch (2819:9): [True: 2.69M, False: 7.23M]
  ------------------
 2820|  2.69M|        if (PySequence_Check(o))
  ------------------
  |  Branch (2820:13): [True: 2.69M, False: 0]
  ------------------
 2821|  2.69M|            return PySeqIter_New(o);
 2822|      0|        return type_error("'%.200s' object is not iterable", o);
 2823|  2.69M|    }
 2824|  7.23M|    else {
 2825|  7.23M|        PyObject *res = (*f)(o);
 2826|  7.23M|        if (res != NULL && !PyIter_Check(res)) {
  ------------------
  |  Branch (2826:13): [True: 7.23M, False: 0]
  |  Branch (2826:28): [True: 0, False: 7.23M]
  ------------------
 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|  7.23M|        return res;
 2833|  7.23M|    }
 2834|  9.93M|}
PyIter_Check:
 2857|  7.23M|{
 2858|  7.23M|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2859|  7.23M|    return (tp->tp_iternext != NULL &&
  ------------------
  |  Branch (2859:13): [True: 7.23M, False: 0]
  ------------------
 2860|  7.23M|            tp->tp_iternext != &_PyObject_NextNotImplemented);
  ------------------
  |  Branch (2860:13): [True: 7.23M, False: 0]
  ------------------
 2861|  7.23M|}
PyIter_NextItem:
 2901|  5.62M|{
 2902|  5.62M|    assert(iter != NULL);
  ------------------
  |  Branch (2902:5): [True: 5.62M, False: 0]
  ------------------
 2903|  5.62M|    assert(item != NULL);
  ------------------
  |  Branch (2903:5): [True: 5.62M, False: 0]
  ------------------
 2904|       |
 2905|  5.62M|    if (Py_TYPE(iter)->tp_iternext == NULL) {
  ------------------
  |  |  213|  5.62M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.62M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.62M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2905:9): [True: 0, False: 5.62M]
  ------------------
 2906|      0|        *item = NULL;
 2907|      0|        PyErr_Format(PyExc_TypeError, "expected an iterator, got '%T'", iter);
 2908|      0|        return -1;
 2909|      0|    }
 2910|       |
 2911|  5.62M|    return iternext(iter, item);
 2912|  5.62M|}
PyIter_Next:
 2924|  11.9k|{
 2925|  11.9k|    PyObject *item;
 2926|  11.9k|    (void)iternext(iter, &item);
 2927|  11.9k|    return item;
 2928|  11.9k|}
abstract.c:binary_op:
 1012|  1.36M|{
 1013|  1.36M|    PyObject *result = BINARY_OP1(v, w, op_slot, op_name);
  ------------------
  |  |  995|  1.36M|#  define BINARY_OP1(v, w, op_slot, op_name) binary_op1(v, w, op_slot, op_name)
  ------------------
 1014|  1.36M|    if (result == Py_NotImplemented) {
  ------------------
  |  |  640|  1.36M|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1014:9): [True: 0, False: 1.36M]
  ------------------
 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|  1.36M|    return result;
 1019|  1.36M|}
abstract.c:binary_op1:
  945|  17.3M|{
  946|  17.3M|    binaryfunc slotv;
  947|  17.3M|    if (Py_TYPE(v)->tp_as_number != NULL) {
  ------------------
  |  |  213|  17.3M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  17.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (947:9): [True: 17.1M, False: 197k]
  ------------------
  948|  17.1M|        slotv = NB_BINOP(Py_TYPE(v)->tp_as_number, op_slot);
  ------------------
  |  |  925|  17.1M|        (*(binaryfunc*)(& ((char*)nb_methods)[slot]))
  ------------------
  949|  17.1M|    }
  950|   197k|    else {
  951|   197k|        slotv = NULL;
  952|   197k|    }
  953|       |
  954|  17.3M|    binaryfunc slotw;
  955|  17.3M|    if (!Py_IS_TYPE(w, Py_TYPE(v)) && Py_TYPE(w)->tp_as_number != NULL) {
  ------------------
  |  |  215|  34.6M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  17.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!Py_IS_TYPE(w, Py_TYPE(v)) && Py_TYPE(w)->tp_as_number != NULL) {
  ------------------
  |  |  213|  1.27M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.27M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.27M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (955:9): [True: 1.27M, False: 16.0M]
  |  Branch (955:39): [True: 1.27M, False: 2.34k]
  ------------------
  956|  1.27M|        slotw = NB_BINOP(Py_TYPE(w)->tp_as_number, op_slot);
  ------------------
  |  |  925|  1.27M|        (*(binaryfunc*)(& ((char*)nb_methods)[slot]))
  ------------------
  957|  1.27M|        if (slotw == slotv) {
  ------------------
  |  Branch (957:13): [True: 183k, False: 1.08M]
  ------------------
  958|   183k|            slotw = NULL;
  959|   183k|        }
  960|  1.27M|    }
  961|  16.0M|    else {
  962|  16.0M|        slotw = NULL;
  963|  16.0M|    }
  964|       |
  965|  17.3M|    if (slotv) {
  ------------------
  |  Branch (965:9): [True: 17.1M, False: 197k]
  ------------------
  966|  17.1M|        PyObject *x;
  967|  17.1M|        if (slotw && PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v))) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (slotw && PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v))) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (967:13): [True: 1.08M, False: 16.0M]
  |  Branch (967:22): [True: 2.20k, False: 1.08M]
  ------------------
  968|  2.20k|            x = slotw(v, w);
  969|  2.20k|            if (x != Py_NotImplemented)
  ------------------
  |  |  640|  2.20k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (969:17): [True: 2.20k, False: 0]
  ------------------
  970|  2.20k|                return x;
  971|      0|            Py_DECREF(x); /* can't do it */
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  972|      0|            slotw = NULL;
  973|      0|        }
  974|  17.1M|        x = slotv(v, w);
  975|  17.1M|        assert(_Py_CheckSlotResult(v, op_name, x != NULL));
  ------------------
  |  Branch (975:9): [True: 17.1M, False: 0]
  ------------------
  976|  17.1M|        if (x != Py_NotImplemented) {
  ------------------
  |  |  640|  17.1M|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (976:13): [True: 17.1M, False: 0]
  ------------------
  977|  17.1M|            return x;
  978|  17.1M|        }
  979|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  980|      0|    }
  981|   197k|    if (slotw) {
  ------------------
  |  Branch (981:9): [True: 2.89k, False: 194k]
  ------------------
  982|  2.89k|        PyObject *x = slotw(v, w);
  983|  2.89k|        assert(_Py_CheckSlotResult(w, op_name, x != NULL));
  ------------------
  |  Branch (983:9): [True: 2.89k, False: 0]
  ------------------
  984|  2.89k|        if (x != Py_NotImplemented) {
  ------------------
  |  |  640|  2.89k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (984:13): [True: 0, False: 2.89k]
  ------------------
  985|      0|            return x;
  986|      0|        }
  987|  2.89k|        Py_DECREF(x); /* can't do it */
  ------------------
  |  |  430|  2.89k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.89k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  988|  2.89k|    }
  989|   197k|    Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|   197k|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|   197k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
  990|   197k|}
abstract.c:sequence_repeat:
 1158|  2.89k|{
 1159|  2.89k|    Py_ssize_t count;
 1160|  2.89k|    if (_PyIndex_Check(n)) {
  ------------------
  |  Branch (1160:9): [True: 2.89k, False: 0]
  ------------------
 1161|  2.89k|        count = PyNumber_AsSsize_t(n, PyExc_OverflowError);
 1162|  2.89k|        if (count == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1162:13): [True: 0, False: 2.89k]
  |  Branch (1162:28): [True: 0, False: 0]
  ------------------
 1163|      0|            return NULL;
 1164|      0|        }
 1165|  2.89k|    }
 1166|      0|    else {
 1167|      0|        return type_error("can't multiply sequence by "
 1168|      0|                          "non-int of type '%.200s'", n);
 1169|      0|    }
 1170|  2.89k|    PyObject *res = (*repeatfunc)(seq, count);
 1171|  2.89k|    assert(_Py_CheckSlotResult(seq, "*", res != NULL));
  ------------------
  |  Branch (1171:5): [True: 2.89k, False: 0]
  ------------------
 1172|  2.89k|    return res;
 1173|  2.89k|}
abstract.c:ternary_op:
 1036|    872|{
 1037|    872|    PyNumberMethods *mv = Py_TYPE(v)->tp_as_number;
  ------------------
  |  |  213|    872|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    872|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    872|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1038|    872|    PyNumberMethods *mw = Py_TYPE(w)->tp_as_number;
  ------------------
  |  |  213|    872|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    872|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    872|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1039|       |
 1040|    872|    ternaryfunc slotv;
 1041|    872|    if (mv != NULL) {
  ------------------
  |  Branch (1041:9): [True: 872, False: 0]
  ------------------
 1042|    872|        slotv = NB_TERNOP(mv, op_slot);
  ------------------
  |  |  927|    872|        (*(ternaryfunc*)(& ((char*)nb_methods)[slot]))
  ------------------
 1043|    872|    }
 1044|      0|    else {
 1045|      0|        slotv = NULL;
 1046|      0|    }
 1047|       |
 1048|    872|    ternaryfunc slotw;
 1049|    872|    if (!Py_IS_TYPE(w, Py_TYPE(v)) && mw != NULL) {
  ------------------
  |  |  215|  1.74k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    872|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    872|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1049:9): [True: 0, False: 872]
  |  Branch (1049:39): [True: 0, False: 0]
  ------------------
 1050|      0|        slotw = NB_TERNOP(mw, op_slot);
  ------------------
  |  |  927|      0|        (*(ternaryfunc*)(& ((char*)nb_methods)[slot]))
  ------------------
 1051|      0|        if (slotw == slotv) {
  ------------------
  |  Branch (1051:13): [True: 0, False: 0]
  ------------------
 1052|      0|            slotw = NULL;
 1053|      0|        }
 1054|      0|    }
 1055|    872|    else {
 1056|    872|        slotw = NULL;
 1057|    872|    }
 1058|       |
 1059|    872|    if (slotv) {
  ------------------
  |  Branch (1059:9): [True: 872, False: 0]
  ------------------
 1060|    872|        PyObject *x;
 1061|    872|        if (slotw && PyType_IsSubtype(Py_TYPE(w), Py_TYPE(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (slotw && PyType_IsSubtype(Py_TYPE(w), Py_TYPE(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 (1061:13): [True: 0, False: 872]
  |  Branch (1061:22): [True: 0, False: 0]
  ------------------
 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|    872|        x = slotv(v, w, z);
 1070|    872|        assert(_Py_CheckSlotResult(v, op_name, x != NULL));
  ------------------
  |  Branch (1070:9): [True: 872, False: 0]
  ------------------
 1071|    872|        if (x != Py_NotImplemented) {
  ------------------
  |  |  640|    872|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1071:13): [True: 872, False: 0]
  ------------------
 1072|    872|            return x;
 1073|    872|        }
 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));
  ------------------
  |  Branch (1078:9): [True: 0, False: 0]
  ------------------
 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));
  ------------------
  |  Branch (1093:13): [True: 0, False: 0]
  ------------------
 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|  3.67k|{
 1263|  3.67k|    PyObject *result = BINARY_IOP1(v, w, iop_slot, op_slot, op_name);
  ------------------
  |  | 1256|  3.67k|#  define BINARY_IOP1(v, w, iop_slot, op_slot, op_name) binary_iop1(v, w, iop_slot, op_slot, op_name)
  ------------------
 1264|  3.67k|    if (result == Py_NotImplemented) {
  ------------------
  |  |  640|  3.67k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1264:9): [True: 0, False: 3.67k]
  ------------------
 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|  3.67k|    return result;
 1269|  3.67k|}
abstract.c:binary_iop1:
 1233|   198k|{
 1234|   198k|    PyNumberMethods *mv = Py_TYPE(v)->tp_as_number;
  ------------------
  |  |  213|   198k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   198k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   198k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1235|   198k|    if (mv != NULL) {
  ------------------
  |  Branch (1235:9): [True: 4.26k, False: 194k]
  ------------------
 1236|  4.26k|        binaryfunc slot = NB_BINOP(mv, iop_slot);
  ------------------
  |  |  925|  4.26k|        (*(binaryfunc*)(& ((char*)nb_methods)[slot]))
  ------------------
 1237|  4.26k|        if (slot) {
  ------------------
  |  Branch (1237:13): [True: 21, False: 4.24k]
  ------------------
 1238|     21|            PyObject *x = (slot)(v, w);
 1239|     21|            assert(_Py_CheckSlotResult(v, op_name, x != NULL));
  ------------------
  |  Branch (1239:13): [True: 21, False: 0]
  ------------------
 1240|     21|            if (x != Py_NotImplemented) {
  ------------------
  |  |  640|     21|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1240:17): [True: 21, False: 0]
  ------------------
 1241|     21|                return x;
 1242|     21|            }
 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|  4.26k|    }
 1246|       |#ifdef NDEBUG
 1247|       |    return binary_op1(v, w, op_slot);
 1248|       |#else
 1249|   198k|    return binary_op1(v, w, op_slot, op_name);
 1250|   198k|#endif
 1251|   198k|}
abstract.c:method_output_as_list:
 2434|     84|{
 2435|     84|    PyObject *it, *result, *meth_output;
 2436|       |
 2437|     84|    assert(o != NULL);
  ------------------
  |  Branch (2437:5): [True: 84, False: 0]
  ------------------
 2438|     84|    meth_output = PyObject_CallMethodNoArgs(o, meth);
 2439|     84|    if (meth_output == NULL || PyList_CheckExact(meth_output)) {
  ------------------
  |  |   26|     84|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|     84|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     84|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 84]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2439:9): [True: 0, False: 84]
  ------------------
 2440|      0|        return meth_output;
 2441|      0|    }
 2442|     84|    it = PyObject_GetIter(meth_output);
 2443|     84|    if (it == NULL) {
  ------------------
  |  Branch (2443:9): [True: 0, False: 84]
  ------------------
 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|     84|    Py_DECREF(meth_output);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2454|     84|    result = PySequence_List(it);
 2455|     84|    Py_DECREF(it);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2456|     84|    return result;
 2457|     84|}
abstract.c:object_recursive_isinstance:
 2640|  22.5M|{
 2641|       |    /* Quick test for an exact match */
 2642|  22.5M|    if (Py_IS_TYPE(inst, (PyTypeObject *)cls)) {
  ------------------
  |  |  215|  22.5M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  22.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 1.55M, False: 20.9M]
  |  |  ------------------
  ------------------
 2643|  1.55M|        return 1;
 2644|  1.55M|    }
 2645|       |
 2646|       |    /* We know what type's __instancecheck__ does. */
 2647|  20.9M|    if (PyType_CheckExact(cls)) {
  ------------------
  |  |  776|  20.9M|#  define PyType_CheckExact(op) PyType_CheckExact(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (776:33): [True: 20.9M, False: 16.0k]
  |  |  ------------------
  ------------------
 2648|  20.9M|        return object_isinstance(inst, cls);
 2649|  20.9M|    }
 2650|       |
 2651|  16.0k|    if (_PyUnion_Check(cls)) {
  ------------------
  |  |   15|  16.0k|#define _PyUnion_Check(op) Py_IS_TYPE((op), &_PyUnion_Type)
  |  |  ------------------
  |  |  |  |  215|  16.0k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  16.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  16.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 16.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2652|      0|        cls = _Py_union_args(cls);
 2653|      0|    }
 2654|       |
 2655|  16.0k|    if (PyTuple_Check(cls)) {
  ------------------
  |  |   27|  16.0k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  16.0k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 9.23k, False: 6.80k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2656|       |        /* Not a general sequence -- that opens up the road to
 2657|       |           recursion and stack overflow. */
 2658|  9.23k|        if (_Py_EnterRecursiveCallTstate(tstate, " in __instancecheck__")) {
  ------------------
  |  Branch (2658:13): [True: 0, False: 9.23k]
  ------------------
 2659|      0|            return -1;
 2660|      0|        }
 2661|  9.23k|        Py_ssize_t n = PyTuple_GET_SIZE(cls);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2662|  9.23k|        int r = 0;
 2663|  18.4k|        for (Py_ssize_t i = 0; i < n; ++i) {
  ------------------
  |  Branch (2663:32): [True: 18.4k, False: 0]
  ------------------
 2664|  18.4k|            PyObject *item = PyTuple_GET_ITEM(cls, i);
  ------------------
  |  |   29|  18.4k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  18.4k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2664:30): [True: 18.4k, False: 0]
  ------------------
 2665|      0|            r = object_recursive_isinstance(tstate, inst, item);
 2666|  18.4k|            if (r != 0) {
  ------------------
  |  Branch (2666:17): [True: 9.23k, False: 9.20k]
  ------------------
 2667|       |                /* either found it, or got an error */
 2668|  9.23k|                break;
 2669|  9.23k|            }
 2670|  18.4k|        }
 2671|  9.23k|        _Py_LeaveRecursiveCallTstate(tstate);
 2672|  9.23k|        return r;
 2673|  9.23k|    }
 2674|       |
 2675|  6.80k|    PyObject *checker = _PyObject_LookupSpecial(cls, &_Py_ID(__instancecheck__));
  ------------------
  |  |  920|  6.80k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  6.80k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  6.80k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2676|  6.80k|    if (checker != NULL) {
  ------------------
  |  Branch (2676:9): [True: 6.80k, False: 0]
  ------------------
 2677|  6.80k|        if (_Py_EnterRecursiveCallTstate(tstate, " in __instancecheck__")) {
  ------------------
  |  Branch (2677:13): [True: 0, False: 6.80k]
  ------------------
 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|  6.80k|        PyObject *res = PyObject_CallOneArg(checker, inst);
 2683|  6.80k|        _Py_LeaveRecursiveCallTstate(tstate);
 2684|  6.80k|        Py_DECREF(checker);
  ------------------
  |  |  430|  6.80k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.80k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.80k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2685|       |
 2686|  6.80k|        if (res == NULL) {
  ------------------
  |  Branch (2686:13): [True: 0, False: 6.80k]
  ------------------
 2687|      0|            return -1;
 2688|      0|        }
 2689|  6.80k|        int ok = PyObject_IsTrue(res);
 2690|  6.80k|        Py_DECREF(res);
  ------------------
  |  |  430|  6.80k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.80k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.80k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2691|       |
 2692|  6.80k|        return ok;
 2693|  6.80k|    }
 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|  6.80k|}
abstract.c:object_issubclass:
 2733|  2.87M|{
 2734|  2.87M|    PyObject *checker;
 2735|       |
 2736|       |    /* We know what type's __subclasscheck__ does. */
 2737|  2.87M|    if (PyType_CheckExact(cls)) {
  ------------------
  |  |  776|  2.87M|#  define PyType_CheckExact(op) PyType_CheckExact(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.87M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.87M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (776:33): [True: 2.87M, False: 100]
  |  |  ------------------
  ------------------
 2738|       |        /* Quick test for an exact match */
 2739|  2.87M|        if (derived == cls)
  ------------------
  |  Branch (2739:13): [True: 1.09M, False: 1.77M]
  ------------------
 2740|  1.09M|            return 1;
 2741|  1.77M|        return recursive_issubclass(derived, cls);
 2742|  2.87M|    }
 2743|       |
 2744|    100|    if (_PyUnion_Check(cls)) {
  ------------------
  |  |   15|    100|#define _PyUnion_Check(op) Py_IS_TYPE((op), &_PyUnion_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 (215:32): [True: 0, False: 100]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2745|      0|        cls = _Py_union_args(cls);
 2746|      0|    }
 2747|       |
 2748|    100|    if (PyTuple_Check(cls)) {
  ------------------
  |  |   27|    100|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    100|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 100]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2749|       |
 2750|      0|        if (_Py_EnterRecursiveCallTstate(tstate, " in __subclasscheck__")) {
  ------------------
  |  Branch (2750:13): [True: 0, False: 0]
  ------------------
 2751|      0|            return -1;
 2752|      0|        }
 2753|      0|        Py_ssize_t n = PyTuple_GET_SIZE(cls);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2754|      0|        int r = 0;
 2755|      0|        for (Py_ssize_t i = 0; i < n; ++i) {
  ------------------
  |  Branch (2755:32): [True: 0, False: 0]
  ------------------
 2756|      0|            PyObject *item = PyTuple_GET_ITEM(cls, 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2756:30): [True: 0, False: 0]
  ------------------
 2757|      0|            r = object_issubclass(tstate, derived, item);
 2758|      0|            if (r != 0)
  ------------------
  |  Branch (2758:17): [True: 0, False: 0]
  ------------------
 2759|       |                /* either found it, or got an error */
 2760|      0|                break;
 2761|      0|        }
 2762|      0|        _Py_LeaveRecursiveCallTstate(tstate);
 2763|      0|        return r;
 2764|      0|    }
 2765|       |
 2766|    100|    checker = _PyObject_LookupSpecial(cls, &_Py_ID(__subclasscheck__));
  ------------------
  |  |  920|    100|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    100|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    100|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2767|    100|    if (checker != NULL) {
  ------------------
  |  Branch (2767:9): [True: 100, False: 0]
  ------------------
 2768|    100|        int ok = -1;
 2769|    100|        if (_Py_EnterRecursiveCallTstate(tstate, " in __subclasscheck__")) {
  ------------------
  |  Branch (2769:13): [True: 0, False: 100]
  ------------------
 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|    100|        PyObject *res = PyObject_CallOneArg(checker, derived);
 2774|    100|        _Py_LeaveRecursiveCallTstate(tstate);
 2775|    100|        Py_DECREF(checker);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2776|    100|        if (res != NULL) {
  ------------------
  |  Branch (2776:13): [True: 100, False: 0]
  ------------------
 2777|    100|            ok = PyObject_IsTrue(res);
 2778|    100|            Py_DECREF(res);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2779|    100|        }
 2780|    100|        return ok;
 2781|    100|    }
 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|    100|}
abstract.c:object_isinstance:
 2604|  20.9M|{
 2605|  20.9M|    PyObject *icls;
 2606|  20.9M|    int retval;
 2607|  20.9M|    if (PyType_Check(cls)) {
  ------------------
  |  |  766|  20.9M|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 20.9M, False: 0]
  |  |  ------------------
  ------------------
 2608|  20.9M|        retval = PyObject_TypeCheck(inst, (PyTypeObject *)cls);
  ------------------
  |  |  378|  20.9M|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  20.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2609|  20.9M|        if (retval == 0) {
  ------------------
  |  Branch (2609:13): [True: 20.9M, False: 24]
  ------------------
 2610|  20.9M|            retval = PyObject_GetOptionalAttr(inst, &_Py_ID(__class__), &icls);
  ------------------
  |  |  920|  20.9M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  20.9M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  20.9M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2611|  20.9M|            if (icls != NULL) {
  ------------------
  |  Branch (2611:17): [True: 20.9M, False: 0]
  ------------------
 2612|  20.9M|                if (icls != (PyObject *)(Py_TYPE(inst)) && PyType_Check(icls)) {
  ------------------
  |  |  213|  20.9M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  20.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.9M|#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: 20.9M]
  ------------------
 2613|      0|                    retval = PyType_IsSubtype(
 2614|      0|                        (PyTypeObject *)icls,
 2615|      0|                        (PyTypeObject *)cls);
 2616|      0|                }
 2617|  20.9M|                else {
 2618|  20.9M|                    retval = 0;
 2619|  20.9M|                }
 2620|  20.9M|                Py_DECREF(icls);
  ------------------
  |  |  430|  20.9M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2621|  20.9M|            }
 2622|  20.9M|        }
 2623|  20.9M|    }
 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);
  ------------------
  |  |  920|      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|  20.9M|    return retval;
 2636|  20.9M|}
abstract.c:recursive_issubclass:
 2713|  1.78M|{
 2714|  1.78M|    if (PyType_Check(cls) && PyType_Check(derived)) {
  ------------------
  |  |  766|  3.56M|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.78M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.78M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 1.78M, False: 0]
  |  |  ------------------
  ------------------
                  if (PyType_Check(cls) && PyType_Check(derived)) {
  ------------------
  |  |  766|  1.78M|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.78M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.78M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 1.78M, False: 0]
  |  |  ------------------
  ------------------
 2715|       |        /* Fast path (non-recursive) */
 2716|  1.78M|        return PyType_IsSubtype((PyTypeObject *)derived, (PyTypeObject *)cls);
 2717|  1.78M|    }
 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|  5.64M|{
 2875|  5.64M|    iternextfunc tp_iternext = Py_TYPE(iter)->tp_iternext;
  ------------------
  |  |  213|  5.64M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.64M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.64M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2876|  5.64M|    if ((*item = tp_iternext(iter))) {
  ------------------
  |  Branch (2876:9): [True: 4.55M, False: 1.08M]
  ------------------
 2877|  4.55M|        return 1;
 2878|  4.55M|    }
 2879|       |
 2880|  1.08M|    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|  1.08M|    if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2883:9): [True: 1.08M, False: 0]
  ------------------
 2884|  1.08M|        return 0;
 2885|  1.08M|    }
 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|  3.99M|{
   23|  3.99M|    return ok ? Py_True : Py_False;
  ------------------
  |  |   26|  3.99M|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  1.16M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.16M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return ok ? Py_True : Py_False;
  ------------------
  |  |   25|  3.99M|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|  2.83M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.83M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (23:12): [True: 1.16M, False: 2.83M]
  ------------------
   24|  3.99M|}
boolobject.c:bool_or:
   96|  3.64k|{
   97|  3.64k|    if (!PyBool_Check(a) || !PyBool_Check(b))
  ------------------
  |  |   12|  3.64k|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|  7.29k|#  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!PyBool_Check(a) || !PyBool_Check(b))
  ------------------
  |  |   12|  3.64k|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_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 (97:9): [True: 0, False: 3.64k]
  |  Branch (97:29): [True: 0, False: 3.64k]
  ------------------
   98|      0|        return PyLong_Type.tp_as_number->nb_or(a, b);
   99|  3.64k|    return PyBool_FromLong((a == Py_True) | (b == Py_True));
  ------------------
  |  |   26|  3.64k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  3.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return PyBool_FromLong((a == Py_True) | (b == Py_True));
  ------------------
  |  |   26|  3.64k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  3.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  100|  3.64k|}
boolobject.c:bool_vectorcall:
   47|      6|{
   48|      6|    long ok = 0;
   49|      6|    if (!_PyArg_NoKwnames("bool", kwnames)) {
  ------------------
  |  |   15|      6|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 6, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   50|      0|        return NULL;
   51|      0|    }
   52|       |
   53|      6|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      6|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
   54|      6|    if (!_PyArg_CheckPositional("bool", 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]
  |  |  ------------------
  ------------------
   55|      0|        return NULL;
   56|      0|    }
   57|       |
   58|      6|    assert(PyType_Check(type));
  ------------------
  |  Branch (58:5): [True: 6, False: 0]
  ------------------
   59|      6|    if (nargs) {
  ------------------
  |  Branch (59:9): [True: 6, False: 0]
  ------------------
   60|      6|        ok = PyObject_IsTrue(args[0]);
   61|      6|        if (ok < 0) {
  ------------------
  |  Branch (61:13): [True: 0, False: 6]
  ------------------
   62|      0|            return NULL;
   63|      0|        }
   64|      6|    }
   65|      6|    return PyBool_FromLong(ok);
   66|      6|}

PyByteArray_FromStringAndSize:
  155|   630k|{
  156|   630k|    PyByteArrayObject *new;
  157|       |
  158|   630k|    if (size < 0) {
  ------------------
  |  Branch (158:9): [True: 0, False: 630k]
  ------------------
  159|      0|        PyErr_SetString(PyExc_SystemError,
  160|      0|            "Negative size passed to PyByteArray_FromStringAndSize");
  161|      0|        return NULL;
  162|      0|    }
  163|       |
  164|   630k|    new = PyObject_New(PyByteArrayObject, &PyByteArray_Type);
  ------------------
  |  |  130|   630k|#define PyObject_New(type, typeobj) ((type *)_PyObject_New(typeobj))
  ------------------
  165|   630k|    if (new == NULL) {
  ------------------
  |  Branch (165:9): [True: 0, False: 630k]
  ------------------
  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|   630k|    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|   630k|    new->ob_bytes_object = PyBytes_FromStringAndSize(NULL, size);
  181|   630k|    if (new->ob_bytes_object == NULL) {
  ------------------
  |  Branch (181:9): [True: 0, False: 630k]
  ------------------
  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|   630k|    bytearray_reinit_from_bytes(new, size, size);
  186|   630k|    if (bytes != NULL && size > 0) {
  ------------------
  |  Branch (186:9): [True: 504k, False: 126k]
  |  Branch (186:26): [True: 504k, False: 0]
  ------------------
  187|   504k|        memcpy(new->ob_bytes, bytes, size);
  188|   504k|    }
  189|       |
  190|   630k|    return (PyObject *)new;
  191|   630k|}
PyByteArray_Resize:
  296|   161k|{
  297|   161k|    int ret;
  298|   161k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|   161k|    {
  ------------------
  299|   161k|    ret = bytearray_resize_lock_held(self, requested_size);
  300|   161k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   161k|    }
  ------------------
  301|   161k|    return ret;
  302|   161k|}
bytearrayobject.c:bytearray_reinit_from_bytes:
   48|   953k|                            Py_ssize_t alloc) {
   49|   953k|    self->ob_bytes = self->ob_start = PyBytes_AS_STRING(self->ob_bytes_object);
  ------------------
  |  |   27|   953k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   953k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   953k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   50|   953k|    Py_SET_SIZE(self, size);
  ------------------
  |  |  216|   953k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|   953k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   953k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   51|   953k|    FT_ATOMIC_STORE_SSIZE_RELAXED(self->ob_alloc, alloc);
  ------------------
  |  |  194|   953k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
   52|   953k|}
bytearrayobject.c:bytearray_resize_lock_held:
  213|   161k|{
  214|   161k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
  215|   161k|    PyByteArrayObject *obj = ((PyByteArrayObject *)self);
  216|       |    /* All computations are done unsigned to avoid integer overflows
  217|       |       (see issue #22335). */
  218|   161k|    size_t alloc = (size_t) obj->ob_alloc;
  219|   161k|    size_t logical_offset = (size_t) (obj->ob_start - obj->ob_bytes);
  220|   161k|    size_t size = (size_t) requested_size;
  221|       |
  222|   161k|    assert(self != NULL);
  ------------------
  |  Branch (222:5): [True: 161k, False: 0]
  ------------------
  223|   161k|    assert(PyByteArray_Check(self));
  ------------------
  |  Branch (223:5): [True: 161k, False: 0]
  ------------------
  224|   161k|    assert(logical_offset <= alloc);
  ------------------
  |  Branch (224:5): [True: 161k, False: 0]
  ------------------
  225|       |
  226|   161k|    if (requested_size < 0) {
  ------------------
  |  Branch (226:9): [True: 0, False: 161k]
  ------------------
  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|   161k|    if (requested_size == Py_SIZE(self)) {
  ------------------
  |  |  214|   161k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   161k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   161k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (232:9): [True: 0, False: 161k]
  ------------------
  233|      0|        return 0;
  234|      0|    }
  235|   161k|    if (!_canresize(obj)) {
  ------------------
  |  Branch (235:9): [True: 0, False: 161k]
  ------------------
  236|      0|        return -1;
  237|      0|    }
  238|       |
  239|   161k|    if (size + logical_offset <= alloc) {
  ------------------
  |  Branch (239:9): [True: 0, False: 161k]
  ------------------
  240|       |        /* Current buffer is large enough to host the requested size,
  241|       |           decide on a strategy. */
  242|      0|        if (size < alloc / 2) {
  ------------------
  |  Branch (242:13): [True: 0, False: 0]
  ------------------
  243|       |            /* Major downsize; resize down to exact size */
  244|      0|            alloc = size;
  245|      0|        }
  246|      0|        else {
  247|       |            /* Minor downsize; quick exit */
  248|      0|            Py_SET_SIZE(self, size);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  249|       |            /* Add mid-buffer null; end provided by bytes. */
  250|      0|            PyByteArray_AS_STRING(self)[size] = '\0'; /* Trailing null */
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  251|      0|            return 0;
  252|      0|        }
  253|      0|    }
  254|   161k|    else {
  255|       |        /* Need growing, decide on a strategy */
  256|   161k|        if (size <= alloc * 1.125) {
  ------------------
  |  Branch (256:13): [True: 0, False: 161k]
  ------------------
  257|       |            /* Moderate upsize; overallocate similar to list_resize() */
  258|      0|            alloc = size + (size >> 3) + (size < 9 ? 3 : 6);
  ------------------
  |  Branch (258:43): [True: 0, False: 0]
  ------------------
  259|      0|        }
  260|   161k|        else {
  261|       |            /* Major upsize; resize up to exact size */
  262|   161k|            alloc = size;
  263|   161k|        }
  264|   161k|    }
  265|   161k|    if (alloc > PyByteArray_SIZE_MAX) {
  ------------------
  |  |   21|   161k|#define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |  137|   161k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |               #define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |   76|   161k|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  |  Branch (265:9): [True: 0, False: 161k]
  ------------------
  266|      0|        PyErr_NoMemory();
  267|      0|        return -1;
  268|      0|    }
  269|       |
  270|       |    /* Re-align data to the start of the allocation. */
  271|   161k|    if (logical_offset > 0) {
  ------------------
  |  Branch (271:9): [True: 0, False: 161k]
  ------------------
  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|   161k|    int ret = _PyBytes_Resize(&obj->ob_bytes_object, alloc);
  281|   161k|    if (ret == -1) {
  ------------------
  |  Branch (281:9): [True: 0, False: 161k]
  ------------------
  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|   161k|    bytearray_reinit_from_bytes(obj, size, alloc);
  286|   161k|    if (alloc != size) {
  ------------------
  |  Branch (286:9): [True: 0, False: 161k]
  ------------------
  287|       |        /* Add mid-buffer null; end provided by bytes. */
  288|      0|        obj->ob_bytes[size] = '\0';
  289|      0|    }
  290|       |
  291|   161k|    return ret;
  292|   161k|}
bytearrayobject.c:_canresize:
  114|   161k|{
  115|   161k|    if (self->ob_exports > 0) {
  ------------------
  |  Branch (115:9): [True: 0, False: 161k]
  ------------------
  116|      0|        PyErr_SetString(PyExc_BufferError,
  117|      0|                "Existing exports of data: object cannot be re-sized");
  118|      0|        return 0;
  119|      0|    }
  120|   161k|    return 1;
  121|   161k|}
bytearrayobject.c:bytearray_dealloc:
 1208|   791k|{
 1209|   791k|    PyByteArrayObject *self = _PyByteArray_CAST(op);
  ------------------
  |  |   22|   791k|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|   791k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1209:31): [True: 791k, False: 0]
  ------------------
 1210|   791k|    if (self->ob_exports > 0) {
  ------------------
  |  Branch (1210:9): [True: 0, False: 791k]
  ------------------
 1211|      0|        PyErr_SetString(PyExc_SystemError,
 1212|      0|                        "deallocated bytearray object has exported buffers");
 1213|      0|        PyErr_Print();
 1214|      0|    }
 1215|   791k|    Py_XDECREF(self->ob_bytes_object);
  ------------------
  |  |  524|   791k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   791k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   791k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1216|   791k|    Py_TYPE(self)->tp_free((PyObject *)self);
  ------------------
  |  |  213|   791k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   791k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   791k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1217|   791k|}
bytearrayobject.c:bytearray_length:
  345|   126k|{
  346|   126k|    return PyByteArray_GET_SIZE(op);
  ------------------
  |  |   38|   126k|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|   126k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   126k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  347|   126k|}
bytearrayobject.c:_getbytevalue:
   27|  10.9M|{
   28|  10.9M|    int overflow;
   29|  10.9M|    long face_value = PyLong_AsLongAndOverflow(arg, &overflow);
   30|       |
   31|  10.9M|    if (face_value == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (31:9): [True: 0, False: 10.9M]
  |  Branch (31:29): [True: 0, False: 0]
  ------------------
   32|      0|        *value = -1;
   33|      0|        return 0;
   34|      0|    }
   35|  10.9M|    if (face_value < 0 || face_value >= 256) {
  ------------------
  |  Branch (35:9): [True: 0, False: 10.9M]
  |  Branch (35:27): [True: 0, False: 10.9M]
  ------------------
   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|  10.9M|    *value = face_value;
   43|  10.9M|    return 1;
   44|  10.9M|}
bytearrayobject.c:bytearray_subscript:
  541|   567k|{
  542|   567k|    PyObject *ret;
  543|   567k|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|   567k|    {
  ------------------
  544|   567k|    ret = bytearray_subscript_lock_held(op, index);
  545|   567k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   567k|    }
  ------------------
  546|   567k|    return ret;
  547|       |
  548|   567k|}
bytearrayobject.c:bytearray_subscript_lock_held:
  481|   567k|{
  482|   567k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(op);
  483|   567k|    PyByteArrayObject *self = _PyByteArray_CAST(op);
  ------------------
  |  |   22|   567k|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|   567k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (483:31): [True: 567k, False: 0]
  ------------------
  484|   567k|    if (_PyIndex_Check(index)) {
  ------------------
  |  Branch (484:9): [True: 0, False: 567k]
  ------------------
  485|      0|        Py_ssize_t i = PyNumber_AsSsize_t(index, PyExc_IndexError);
  486|       |
  487|      0|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (487:13): [True: 0, False: 0]
  |  Branch (487:24): [True: 0, False: 0]
  ------------------
  488|      0|            return NULL;
  489|       |
  490|      0|        if (i < 0)
  ------------------
  |  Branch (490:13): [True: 0, False: 0]
  ------------------
  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|      0|        if (i < 0 || i >= 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 (493:13): [True: 0, False: 0]
  |  Branch (493:22): [True: 0, False: 0]
  ------------------
  494|      0|            PyErr_SetString(PyExc_IndexError, "bytearray index out of range");
  495|      0|            return NULL;
  496|      0|        }
  497|      0|        return _PyLong_FromUnsignedChar((unsigned char)(self->ob_start[i]));
  498|      0|    }
  499|   567k|    else if (PySlice_Check(index)) {
  ------------------
  |  |   22|   567k|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|   567k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   567k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   567k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 567k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  500|   567k|        Py_ssize_t start, stop, step, slicelength, i;
  501|   567k|        size_t cur;
  502|   567k|        if (PySlice_Unpack(index, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (502:13): [True: 0, False: 567k]
  ------------------
  503|      0|            return NULL;
  504|      0|        }
  505|   567k|        slicelength = PySlice_AdjustIndices(PyByteArray_GET_SIZE(self),
  ------------------
  |  |   38|   567k|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|   567k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   567k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  506|   567k|                                            &start, &stop, step);
  507|       |
  508|   567k|        if (slicelength <= 0)
  ------------------
  |  Branch (508:13): [True: 0, False: 567k]
  ------------------
  509|      0|            return PyByteArray_FromStringAndSize("", 0);
  510|   567k|        else if (step == 1) {
  ------------------
  |  Branch (510:18): [True: 504k, False: 63.0k]
  ------------------
  511|   504k|            return PyByteArray_FromStringAndSize(
  512|   504k|                PyByteArray_AS_STRING(self) + start, slicelength);
  ------------------
  |  |   28|   504k|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|   504k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   504k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  513|   504k|        }
  514|  63.0k|        else {
  515|  63.0k|            char *source_buf = PyByteArray_AS_STRING(self);
  ------------------
  |  |   28|  63.0k|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  63.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  516|  63.0k|            char *result_buf;
  517|  63.0k|            PyObject *result;
  518|       |
  519|  63.0k|            result = PyByteArray_FromStringAndSize(NULL, slicelength);
  520|  63.0k|            if (result == NULL)
  ------------------
  |  Branch (520:17): [True: 0, False: 63.0k]
  ------------------
  521|      0|                return NULL;
  522|       |
  523|  63.0k|            result_buf = PyByteArray_AS_STRING(result);
  ------------------
  |  |   28|  63.0k|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  63.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  524|  16.1M|            for (cur = start, i = 0; i < slicelength;
  ------------------
  |  Branch (524:38): [True: 16.1M, False: 63.0k]
  ------------------
  525|  16.1M|                 cur += step, i++) {
  526|  16.1M|                     result_buf[i] = source_buf[cur];
  527|  16.1M|            }
  528|  63.0k|            return result;
  529|  63.0k|        }
  530|   567k|    }
  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|   567k|}
bytearrayobject.c:bytearray_ass_subscript:
  890|  10.9M|{
  891|  10.9M|    int ret;
  892|  10.9M|    if (values != NULL && PyByteArray_Check(values)) {
  ------------------
  |  |   24|  10.9M|#define PyByteArray_Check(self) PyObject_TypeCheck((self), &PyByteArray_Type)
  |  |  ------------------
  |  |  |  |  378|  10.9M|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 10.9M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (892:9): [True: 10.9M, 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|  10.9M|    else {
  898|  10.9M|        Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  10.9M|    {
  ------------------
  899|  10.9M|        ret = bytearray_ass_subscript_lock_held(op, index, values);
  900|  10.9M|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  10.9M|    }
  ------------------
  901|  10.9M|    }
  902|  10.9M|    return ret;
  903|  10.9M|}
bytearrayobject.c:bytearray_ass_subscript_lock_held:
  729|  10.9M|{
  730|  10.9M|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(op);
  731|  10.9M|    PyByteArrayObject *self = _PyByteArray_CAST(op);
  ------------------
  |  |   22|  10.9M|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|  10.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (731:31): [True: 10.9M, False: 0]
  ------------------
  732|      0|    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|  10.9M|    if (_PyIndex_Check(index)) {
  ------------------
  |  Branch (737:9): [True: 10.9M, False: 0]
  ------------------
  738|  10.9M|        Py_ssize_t i = PyNumber_AsSsize_t(index, PyExc_IndexError);
  739|       |
  740|  10.9M|        if (i == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (740:13): [True: 0, False: 10.9M]
  |  Branch (740:24): [True: 0, False: 0]
  ------------------
  741|      0|            return -1;
  742|      0|        }
  743|       |
  744|  10.9M|        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|  10.9M|        if (values && !_getbytevalue(values, &ival)) {
  ------------------
  |  Branch (748:13): [True: 10.9M, False: 0]
  |  Branch (748:23): [True: 0, False: 10.9M]
  ------------------
  749|      0|            return -1;
  750|      0|        }
  751|       |
  752|  10.9M|        if (i < 0) {
  ------------------
  |  Branch (752:13): [True: 0, False: 10.9M]
  ------------------
  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|  10.9M|        if (i < 0 || i >= Py_SIZE(self)) {
  ------------------
  |  |  214|  10.9M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  10.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (756:13): [True: 0, False: 10.9M]
  |  Branch (756:22): [True: 0, False: 10.9M]
  ------------------
  757|      0|            PyErr_SetString(PyExc_IndexError, "bytearray index out of range");
  758|      0|            return -1;
  759|      0|        }
  760|       |
  761|  10.9M|        if (values == NULL) {
  ------------------
  |  Branch (761:13): [True: 0, False: 10.9M]
  ------------------
  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|  10.9M|        else {
  769|  10.9M|            assert(0 <= ival && ival < 256);
  ------------------
  |  Branch (769:13): [True: 10.9M, False: 0]
  |  Branch (769:13): [True: 10.9M, False: 0]
  ------------------
  770|  10.9M|            PyByteArray_AS_STRING(self)[i] = (char)ival;
  ------------------
  |  |   28|  10.9M|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  10.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  771|  10.9M|            return 0;
  772|  10.9M|        }
  773|  10.9M|    }
  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));
  ------------------
  |  Branch (811:9): [True: 0, False: 0]
  ------------------
  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_with_buffer:
  100|   779k|{
  101|   779k|    PyObject *res;
  102|       |
  103|   779k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
  104|       |
  105|       |    /* Increase exports to prevent bytearray storage from changing during op. */
  106|   779k|    self->ob_exports++;
  107|   779k|    res = op(PyByteArray_AS_STRING(self), Py_SIZE(self), sub, start, end);
  ------------------
  |  |   28|   779k|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|   779k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   779k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  res = op(PyByteArray_AS_STRING(self), Py_SIZE(self), sub, start, end);
  ------------------
  |  |  214|   779k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   779k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   779k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  108|   779k|    self->ob_exports--;
  109|   779k|    return res;
  110|   779k|}
bytearrayobject.c:bytearray_find_impl:
 1269|   779k|{
 1270|   779k|    return _bytearray_with_buffer(self, _Py_bytes_find, sub, start, end);
 1271|   779k|}
bytearrayobject.c:bytearray_translate_impl:
 1643|  63.0k|{
 1644|  63.0k|    char *input, *output;
 1645|  63.0k|    const char *table_chars;
 1646|  63.0k|    Py_ssize_t i, c;
 1647|  63.0k|    PyObject *input_obj = (PyObject*)self;
 1648|  63.0k|    const char *output_start;
 1649|  63.0k|    Py_ssize_t inlen;
 1650|  63.0k|    PyObject *result = NULL;
 1651|  63.0k|    int trans_table[256];
 1652|  63.0k|    Py_buffer vtable, vdel;
 1653|       |
 1654|  63.0k|    if (table == Py_None) {
  ------------------
  |  |  616|  63.0k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1654:9): [True: 0, False: 63.0k]
  ------------------
 1655|      0|        table_chars = NULL;
 1656|      0|        table = NULL;
 1657|  63.0k|    } else if (PyObject_GetBuffer(table, &vtable, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|  63.0k|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1657:16): [True: 0, False: 63.0k]
  ------------------
 1658|      0|        return NULL;
 1659|  63.0k|    } else {
 1660|  63.0k|        if (vtable.len != 256) {
  ------------------
  |  Branch (1660:13): [True: 0, False: 63.0k]
  ------------------
 1661|      0|            PyErr_SetString(PyExc_ValueError,
 1662|      0|                            "translation table must be 256 characters long");
 1663|      0|            PyBuffer_Release(&vtable);
 1664|      0|            return NULL;
 1665|      0|        }
 1666|  63.0k|        table_chars = (const char*)vtable.buf;
 1667|  63.0k|    }
 1668|       |
 1669|  63.0k|    if (deletechars != NULL) {
  ------------------
  |  Branch (1669:9): [True: 0, False: 63.0k]
  ------------------
 1670|      0|        if (PyObject_GetBuffer(deletechars, &vdel, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1670:13): [True: 0, False: 0]
  ------------------
 1671|      0|            if (table != NULL)
  ------------------
  |  Branch (1671:17): [True: 0, False: 0]
  ------------------
 1672|      0|                PyBuffer_Release(&vtable);
 1673|      0|            return NULL;
 1674|      0|        }
 1675|      0|    }
 1676|  63.0k|    else {
 1677|  63.0k|        vdel.buf = NULL;
 1678|  63.0k|        vdel.len = 0;
 1679|  63.0k|    }
 1680|       |
 1681|  63.0k|    inlen = PyByteArray_GET_SIZE(input_obj);
  ------------------
  |  |   38|  63.0k|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  63.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1682|  63.0k|    result = PyByteArray_FromStringAndSize((char *)NULL, inlen);
 1683|  63.0k|    if (result == NULL)
  ------------------
  |  Branch (1683:9): [True: 0, False: 63.0k]
  ------------------
 1684|      0|        goto done;
 1685|  63.0k|    output_start = output = PyByteArray_AS_STRING(result);
  ------------------
  |  |   28|  63.0k|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  63.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1686|  63.0k|    input = PyByteArray_AS_STRING(input_obj);
  ------------------
  |  |   28|  63.0k|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  63.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1687|       |
 1688|  63.0k|    if (vdel.len == 0 && table_chars != NULL) {
  ------------------
  |  Branch (1688:9): [True: 63.0k, False: 0]
  |  Branch (1688:26): [True: 63.0k, False: 0]
  ------------------
 1689|       |        /* If no deletions are required, use faster code */
 1690|  16.1M|        for (i = inlen; --i >= 0; ) {
  ------------------
  |  Branch (1690:25): [True: 16.1M, False: 63.0k]
  ------------------
 1691|  16.1M|            c = Py_CHARMASK(*input++);
  ------------------
  |  |  138|  16.1M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1692|  16.1M|            *output++ = table_chars[c];
 1693|  16.1M|        }
 1694|  63.0k|        goto done;
 1695|  63.0k|    }
 1696|       |
 1697|      0|    if (table_chars == NULL) {
  ------------------
  |  Branch (1697:9): [True: 0, False: 0]
  ------------------
 1698|      0|        for (i = 0; i < 256; i++)
  ------------------
  |  Branch (1698:21): [True: 0, False: 0]
  ------------------
 1699|      0|            trans_table[i] = Py_CHARMASK(i);
  ------------------
  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1700|      0|    } else {
 1701|      0|        for (i = 0; i < 256; i++)
  ------------------
  |  Branch (1701:21): [True: 0, False: 0]
  ------------------
 1702|      0|            trans_table[i] = Py_CHARMASK(table_chars[i]);
  ------------------
  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1703|      0|    }
 1704|       |
 1705|      0|    for (i = 0; i < vdel.len; i++)
  ------------------
  |  Branch (1705:17): [True: 0, False: 0]
  ------------------
 1706|      0|        trans_table[(int) Py_CHARMASK( ((unsigned char*)vdel.buf)[i] )] = -1;
  ------------------
  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1707|       |
 1708|      0|    for (i = inlen; --i >= 0; ) {
  ------------------
  |  Branch (1708:21): [True: 0, False: 0]
  ------------------
 1709|      0|        c = Py_CHARMASK(*input++);
  ------------------
  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1710|      0|        if (trans_table[c] != -1)
  ------------------
  |  Branch (1710:13): [True: 0, False: 0]
  ------------------
 1711|      0|            *output++ = (char)trans_table[c];
 1712|      0|    }
 1713|       |    /* Fix the size of the resulting bytearray */
 1714|      0|    if (inlen > 0)
  ------------------
  |  Branch (1714:9): [True: 0, False: 0]
  ------------------
 1715|      0|        if (PyByteArray_Resize(result, output - output_start) < 0) {
  ------------------
  |  Branch (1715:13): [True: 0, False: 0]
  ------------------
 1716|      0|            Py_CLEAR(result);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1717|      0|            goto done;
 1718|      0|        }
 1719|       |
 1720|  63.0k|done:
 1721|  63.0k|    if (table != NULL)
  ------------------
  |  Branch (1721:9): [True: 63.0k, False: 0]
  ------------------
 1722|  63.0k|        PyBuffer_Release(&vtable);
 1723|  63.0k|    if (deletechars != NULL)
  ------------------
  |  Branch (1723:9): [True: 0, False: 63.0k]
  ------------------
 1724|      0|        PyBuffer_Release(&vdel);
 1725|  63.0k|    return result;
 1726|      0|}
bytearrayobject.c:bytearray___init___impl:
  918|   161k|{
  919|   161k|    Py_ssize_t count;
  920|   161k|    PyObject *it;
  921|   161k|    PyObject *(*iternext)(PyObject *);
  922|       |
  923|       |    /* First __init__; set ob_bytes_object so ob_bytes is always non-null. */
  924|   161k|    if (self->ob_bytes_object == NULL) {
  ------------------
  |  Branch (924:9): [True: 161k, False: 0]
  ------------------
  925|   161k|        self->ob_bytes_object = Py_GetConstant(Py_CONSTANT_EMPTY_BYTES);
  ------------------
  |  |  598|   161k|#define Py_CONSTANT_EMPTY_BYTES 8
  ------------------
  926|   161k|        bytearray_reinit_from_bytes(self, 0, 0);
  927|   161k|        self->ob_exports = 0;
  928|   161k|    }
  929|       |
  930|   161k|    if (Py_SIZE(self) != 0) {
  ------------------
  |  |  214|   161k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   161k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   161k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (930:9): [True: 0, False: 161k]
  ------------------
  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|   161k|    assert(self->ob_bytes_object == Py_GetConstantBorrowed(Py_CONSTANT_EMPTY_BYTES));
  ------------------
  |  Branch (937:5): [True: 161k, False: 0]
  ------------------
  938|   161k|    assert(self->ob_exports == 0);
  ------------------
  |  Branch (938:5): [True: 161k, False: 0]
  ------------------
  939|       |
  940|       |    /* Make a quick exit if no first argument */
  941|   161k|    if (arg == NULL) {
  ------------------
  |  Branch (941:9): [True: 2, False: 161k]
  ------------------
  942|      2|        if (encoding != NULL || errors != NULL) {
  ------------------
  |  Branch (942:13): [True: 0, False: 2]
  |  Branch (942:33): [True: 0, False: 2]
  ------------------
  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|      2|        return 0;
  950|      2|    }
  951|       |
  952|   161k|    if (PyUnicode_Check(arg)) {
  ------------------
  |  |  103|   161k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   161k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 161k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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));
  ------------------
  |  Branch (964:9): [True: 0, False: 0]
  ------------------
  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|   161k|    if (encoding != NULL || errors != NULL) {
  ------------------
  |  Branch (984:9): [True: 0, False: 161k]
  |  Branch (984:29): [True: 0, False: 161k]
  ------------------
  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|   161k|    if (_PyIndex_Check(arg)) {
  ------------------
  |  Branch (993:9): [True: 161k, False: 0]
  ------------------
  994|   161k|        count = PyNumber_AsSsize_t(arg, PyExc_OverflowError);
  995|   161k|        if (count == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (995:13): [True: 0, False: 161k]
  |  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|   161k|        else {
 1001|   161k|            if (count < 0) {
  ------------------
  |  Branch (1001:17): [True: 0, False: 161k]
  ------------------
 1002|      0|                PyErr_SetString(PyExc_ValueError, "negative count");
 1003|      0|                return -1;
 1004|      0|            }
 1005|   161k|            if (count > 0) {
  ------------------
  |  Branch (1005:17): [True: 161k, False: 0]
  ------------------
 1006|   161k|                if (PyByteArray_Resize((PyObject *)self, count))
  ------------------
  |  Branch (1006:21): [True: 0, False: 161k]
  ------------------
 1007|      0|                    return -1;
 1008|   161k|                memset(PyByteArray_AS_STRING(self), 0, count);
  ------------------
  |  |   28|   161k|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|   161k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   161k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1009|   161k|            }
 1010|   161k|            return 0;
 1011|   161k|        }
 1012|   161k|    }
 1013|       |
 1014|       |    /* Use the buffer API */
 1015|      0|    if (PyObject_CheckBuffer(arg)) {
  ------------------
  |  Branch (1015:9): [True: 0, False: 0]
  ------------------
 1016|      0|        Py_ssize_t size;
 1017|      0|        Py_buffer view;
 1018|      0|        if (PyObject_GetBuffer(arg, &view, 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 (1018:13): [True: 0, False: 0]
  ------------------
 1019|      0|            return -1;
 1020|      0|        size = view.len;
 1021|      0|        if (PyByteArray_Resize((PyObject *)self, size) < 0) goto fail;
  ------------------
  |  Branch (1021:13): [True: 0, False: 0]
  ------------------
 1022|      0|        if (PyBuffer_ToContiguous(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1022:13): [True: 0, False: 0]
  ------------------
 1023|      0|            &view, size, 'C') < 0)
 1024|      0|            goto fail;
 1025|      0|        PyBuffer_Release(&view);
 1026|      0|        return 0;
 1027|      0|    fail:
 1028|      0|        PyBuffer_Release(&view);
 1029|      0|        return -1;
 1030|      0|    }
 1031|       |
 1032|      0|    if (PyList_CheckExact(arg) || PyTuple_CheckExact(arg)) {
  ------------------
  |  |   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 (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyList_CheckExact(arg) || PyTuple_CheckExact(arg)) {
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|      0|slowpath:
 1059|       |    /* Get the iterator */
 1060|      0|    it = PyObject_GetIter(arg);
 1061|      0|    if (it == NULL) {
  ------------------
  |  Branch (1061:9): [True: 0, False: 0]
  ------------------
 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|      0|    iternext = *Py_TYPE(it)->tp_iternext;
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1070|       |
 1071|       |    /* Run the iterator to exhaustion */
 1072|      0|    for (;;) {
 1073|      0|        PyObject *item;
 1074|      0|        int rc, value;
 1075|       |
 1076|       |        /* Get the next item */
 1077|      0|        item = iternext(it);
 1078|      0|        if (item == NULL) {
  ------------------
  |  Branch (1078:13): [True: 0, False: 0]
  ------------------
 1079|      0|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (1079:17): [True: 0, False: 0]
  ------------------
 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|      0|            break;
 1085|      0|        }
 1086|       |
 1087|       |        /* Interpret it as an int (__index__) */
 1088|      0|        rc = _getbytevalue(item, &value);
 1089|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1090|      0|        if (!rc)
  ------------------
  |  Branch (1090:13): [True: 0, False: 0]
  ------------------
 1091|      0|            goto error;
 1092|       |
 1093|       |        /* Append the byte */
 1094|      0|        if (Py_SIZE(self) + 1 < self->ob_alloc) {
  ------------------
  |  |  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 (1094:13): [True: 0, False: 0]
  ------------------
 1095|      0|            Py_SET_SIZE(self, Py_SIZE(self) + 1);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1096|      0|            PyByteArray_AS_STRING(self)[Py_SIZE(self)] = '\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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          PyByteArray_AS_STRING(self)[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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1097|      0|        }
 1098|      0|        else if (PyByteArray_Resize((PyObject *)self, Py_SIZE(self)+1) < 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 (1098:18): [True: 0, False: 0]
  ------------------
 1099|      0|            goto error;
 1100|      0|        PyByteArray_AS_STRING(self)[Py_SIZE(self)-1] = value;
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      PyByteArray_AS_STRING(self)[Py_SIZE(self)-1] = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1101|      0|    }
 1102|       |
 1103|       |    /* Clean up and return success */
 1104|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1105|      0|    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|      0|}
bytearrayobject.c:bytearrayiter_dealloc:
 2957|      2|{
 2958|      2|    bytesiterobject *it = _bytesiterobject_CAST(self);
  ------------------
  |  | 2953|      2|#define _bytesiterobject_CAST(op)   ((bytesiterobject *)(op))
  ------------------
 2959|      2|    _PyObject_GC_UNTRACK(it);
  ------------------
  |  |  509|      2|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2960|      2|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2961|      2|    PyObject_GC_Del(it);
 2962|      2|}
bytearrayobject.c:bytearray_iter:
 3111|      2|{
 3112|      2|    bytesiterobject *it;
 3113|       |
 3114|      2|    if (!PyByteArray_Check(seq)) {
  ------------------
  |  |   24|      2|#define PyByteArray_Check(self) PyObject_TypeCheck((self), &PyByteArray_Type)
  |  |  ------------------
  |  |  |  |  378|      2|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3114:9): [True: 0, False: 2]
  ------------------
 3115|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3116|      0|        return NULL;
 3117|      0|    }
 3118|      2|    it = PyObject_GC_New(bytesiterobject, &PyByteArrayIter_Type);
  ------------------
  |  |  181|      2|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 3119|      2|    if (it == NULL)
  ------------------
  |  Branch (3119:9): [True: 0, False: 2]
  ------------------
 3120|      0|        return NULL;
 3121|      2|    it->it_index = 0;  // -1 indicates exhausted
 3122|      2|    it->it_seq = (PyByteArrayObject *)Py_NewRef(seq);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3123|      2|    _PyObject_GC_TRACK(it);
  ------------------
  |  |  507|      2|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3124|      2|    return (PyObject *)it;
 3125|      2|}

_Py_bytes_lower:
  252|      8|{
  253|      8|    Py_ssize_t i;
  254|       |
  255|     54|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (255:17): [True: 46, False: 8]
  ------------------
  256|     46|        result[i] = Py_TOLOWER((unsigned char) cptr[i]);
  ------------------
  |  |   32|     46|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  138|     46|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  257|     46|    }
  258|      8|}
_Py_bytes_upper:
  268|     51|{
  269|     51|    Py_ssize_t i;
  270|       |
  271|    102|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (271:17): [True: 51, False: 51]
  ------------------
  272|     51|        result[i] = Py_TOUPPER((unsigned char) cptr[i]);
  ------------------
  |  |   33|     51|#define Py_TOUPPER(c) (_Py_ctype_toupper[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  138|     51|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  273|     51|    }
  274|     51|}
_Py_bytes_find:
  515|   779k|{
  516|   779k|    Py_ssize_t result = find_internal(str, len, "find", sub, start, end, +1);
  517|   779k|    if (result == -2)
  ------------------
  |  Branch (517:9): [True: 0, False: 779k]
  ------------------
  518|      0|        return NULL;
  519|   779k|    return PyLong_FromSsize_t(result);
  520|   779k|}
_Py_bytes_rfind:
  540|  2.03k|{
  541|  2.03k|    Py_ssize_t result = find_internal(str, len, "rfind", sub, start, end, -1);
  542|  2.03k|    if (result == -2)
  ------------------
  |  Branch (542:9): [True: 0, False: 2.03k]
  ------------------
  543|      0|        return NULL;
  544|  2.03k|    return PyLong_FromSsize_t(result);
  545|  2.03k|}
_Py_bytes_count:
  565|  2.03k|{
  566|  2.03k|    const char *sub;
  567|  2.03k|    Py_ssize_t sub_len;
  568|  2.03k|    char byte;
  569|       |
  570|  2.03k|    Py_buffer vsub;
  571|  2.03k|    PyObject *count_obj;
  572|       |
  573|  2.03k|    if (!parse_args_finds_byte("count", &sub_obj, &byte)) {
  ------------------
  |  Branch (573:9): [True: 0, False: 2.03k]
  ------------------
  574|      0|        return NULL;
  575|      0|    }
  576|       |
  577|  2.03k|    if (sub_obj) {
  ------------------
  |  Branch (577:9): [True: 2.03k, False: 0]
  ------------------
  578|  2.03k|        if (PyObject_GetBuffer(sub_obj, &vsub, PyBUF_SIMPLE) != 0)
  ------------------
  |  |  108|  2.03k|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (578:13): [True: 0, False: 2.03k]
  ------------------
  579|      0|            return NULL;
  580|       |
  581|  2.03k|        sub = vsub.buf;
  582|  2.03k|        sub_len = vsub.len;
  583|  2.03k|    }
  584|      0|    else {
  585|      0|        sub = &byte;
  586|      0|        sub_len = 1;
  587|      0|    }
  588|       |
  589|  2.03k|    ADJUST_INDICES(start, end, len);
  ------------------
  |  |  434|  2.03k|    do {                                \
  |  |  435|  2.03k|        if (end > len) {                \
  |  |  ------------------
  |  |  |  Branch (435:13): [True: 0, False: 2.03k]
  |  |  ------------------
  |  |  436|      0|            end = len;                  \
  |  |  437|      0|        }                               \
  |  |  438|  2.03k|        else if (end < 0) {             \
  |  |  ------------------
  |  |  |  Branch (438:18): [True: 0, False: 2.03k]
  |  |  ------------------
  |  |  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|  2.03k|        if (start < 0) {                \
  |  |  ------------------
  |  |  |  Branch (444:13): [True: 0, False: 2.03k]
  |  |  ------------------
  |  |  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|  2.03k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (450:14): [Folded, False: 2.03k]
  |  |  ------------------
  ------------------
  590|       |
  591|  2.03k|    count_obj = PyLong_FromSsize_t(
  592|  2.03k|        stringlib_count(str + start, end - start, sub, sub_len, PY_SSIZE_T_MAX)
  ------------------
  |  |  137|  2.03k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  593|  2.03k|        );
  594|       |
  595|  2.03k|    if (sub_obj)
  ------------------
  |  Branch (595:9): [True: 2.03k, False: 0]
  ------------------
  596|  2.03k|        PyBuffer_Release(&vsub);
  597|       |
  598|  2.03k|    return count_obj;
  599|  2.03k|}
_Py_bytes_contains:
  603|  2.04k|{
  604|  2.04k|    Py_ssize_t ival = PyNumber_AsSsize_t(arg, NULL);
  605|  2.04k|    if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (605:9): [True: 2.03k, False: 3]
  |  Branch (605:23): [True: 2.03k, False: 0]
  ------------------
  606|  2.03k|        Py_buffer varg;
  607|  2.03k|        Py_ssize_t pos;
  608|  2.03k|        PyErr_Clear();
  609|  2.03k|        if (PyObject_GetBuffer(arg, &varg, PyBUF_SIMPLE) != 0)
  ------------------
  |  |  108|  2.03k|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (609:13): [True: 0, False: 2.03k]
  ------------------
  610|      0|            return -1;
  611|  2.03k|        pos = stringlib_find(str, len,
  612|  2.03k|                             varg.buf, varg.len, 0);
  613|  2.03k|        PyBuffer_Release(&varg);
  614|  2.03k|        return pos >= 0;
  615|  2.03k|    }
  616|      3|    if (ival < 0 || ival >= 256) {
  ------------------
  |  Branch (616:9): [True: 0, False: 3]
  |  Branch (616:21): [True: 0, False: 3]
  ------------------
  617|      0|        PyErr_SetString(PyExc_ValueError, "byte must be in range(0, 256)");
  618|      0|        return -1;
  619|      0|    }
  620|       |
  621|      3|    return memchr(str, (int) ival, len) != NULL;
  622|      3|}
_Py_bytes_startswith:
  711|      3|{
  712|      3|    return _Py_bytes_tailmatch(str, len, "startswith", subobj, start, end, -1);
  713|      3|}
bytes_methods.c:find_internal:
  457|   781k|{
  458|   781k|    char byte;
  459|   781k|    Py_buffer subbuf;
  460|   781k|    const char *sub;
  461|   781k|    Py_ssize_t sub_len;
  462|   781k|    Py_ssize_t res;
  463|       |
  464|   781k|    if (!parse_args_finds_byte(function_name, &subobj, &byte)) {
  ------------------
  |  Branch (464:9): [True: 0, False: 781k]
  ------------------
  465|      0|        return -2;
  466|      0|    }
  467|       |
  468|   781k|    if (subobj) {
  ------------------
  |  Branch (468:9): [True: 2.03k, False: 779k]
  ------------------
  469|  2.03k|        if (PyObject_GetBuffer(subobj, &subbuf, PyBUF_SIMPLE) != 0)
  ------------------
  |  |  108|  2.03k|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (469:13): [True: 0, False: 2.03k]
  ------------------
  470|      0|            return -2;
  471|       |
  472|  2.03k|        sub = subbuf.buf;
  473|  2.03k|        sub_len = subbuf.len;
  474|  2.03k|    }
  475|   779k|    else {
  476|   779k|        sub = &byte;
  477|   779k|        sub_len = 1;
  478|   779k|    }
  479|       |
  480|   781k|    ADJUST_INDICES(start, end, len);
  ------------------
  |  |  434|   781k|    do {                                \
  |  |  435|   781k|        if (end > len) {                \
  |  |  ------------------
  |  |  |  Branch (435:13): [True: 779k, False: 2.03k]
  |  |  ------------------
  |  |  436|   779k|            end = len;                  \
  |  |  437|   779k|        }                               \
  |  |  438|   781k|        else if (end < 0) {             \
  |  |  ------------------
  |  |  |  Branch (438:18): [True: 0, False: 2.03k]
  |  |  ------------------
  |  |  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|   781k|        if (start < 0) {                \
  |  |  ------------------
  |  |  |  Branch (444:13): [True: 0, False: 781k]
  |  |  ------------------
  |  |  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|   781k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (450:14): [Folded, False: 781k]
  |  |  ------------------
  ------------------
  481|   781k|    if (end - start < sub_len)
  ------------------
  |  Branch (481:9): [True: 191, False: 780k]
  ------------------
  482|    191|        res = -1;
  483|   780k|    else if (sub_len == 1) {
  ------------------
  |  Branch (483:14): [True: 780k, False: 0]
  ------------------
  484|   780k|        if (dir > 0)
  ------------------
  |  Branch (484:13): [True: 779k, False: 1.84k]
  ------------------
  485|   779k|            res = stringlib_find_char(
  486|   779k|                str + start, end - start,
  487|   779k|                *sub);
  488|  1.84k|        else
  489|  1.84k|            res = stringlib_rfind_char(
  490|  1.84k|                str + start, end - start,
  491|  1.84k|                *sub);
  492|   780k|        if (res >= 0)
  ------------------
  |  Branch (492:13): [True: 685k, False: 95.4k]
  ------------------
  493|   685k|            res += start;
  494|   780k|    }
  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|   781k|    if (subobj)
  ------------------
  |  Branch (506:9): [True: 2.03k, False: 779k]
  ------------------
  507|  2.03k|        PyBuffer_Release(&subbuf);
  508|       |
  509|   781k|    return res;
  510|   781k|}
bytes_methods.c:parse_args_finds_byte:
  405|   783k|{
  406|   783k|    if (PyObject_CheckBuffer(*subobj)) {
  ------------------
  |  Branch (406:9): [True: 4.07k, False: 779k]
  ------------------
  407|  4.07k|        return 1;
  408|  4.07k|    }
  409|       |
  410|   779k|    if (!_PyIndex_Check(*subobj)) {
  ------------------
  |  Branch (410:9): [True: 0, False: 779k]
  ------------------
  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|   779k|    Py_ssize_t ival = PyNumber_AsSsize_t(*subobj, NULL);
  419|   779k|    if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (419:9): [True: 0, False: 779k]
  |  Branch (419:23): [True: 0, False: 0]
  ------------------
  420|      0|        return 0;
  421|      0|    }
  422|   779k|    if (ival < 0 || ival > 255) {
  ------------------
  |  Branch (422:9): [True: 0, False: 779k]
  |  Branch (422:21): [True: 0, False: 779k]
  ------------------
  423|      0|        PyErr_SetString(PyExc_ValueError, "byte must be in range(0, 256)");
  424|      0|        return 0;
  425|      0|    }
  426|       |
  427|   779k|    *subobj = NULL;
  428|   779k|    *byte = (char)ival;
  429|   779k|    return 1;
  430|   779k|}
bytes_methods.c:_Py_bytes_tailmatch:
  680|      3|{
  681|      3|    if (PyTuple_Check(subobj)) {
  ------------------
  |  |   27|      3|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      3|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  682|      0|        Py_ssize_t i;
  683|      0|        for (i = 0; i < PyTuple_GET_SIZE(subobj); i++) {
  ------------------
  |  |   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 (683:21): [True: 0, False: 0]
  ------------------
  684|      0|            PyObject *item = PyTuple_GET_ITEM(subobj, 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (684:30): [True: 0, False: 0]
  ------------------
  685|      0|            int result = tailmatch(str, len, item, start, end, direction);
  686|      0|            if (result < 0) {
  ------------------
  |  Branch (686:17): [True: 0, False: 0]
  ------------------
  687|      0|                return NULL;
  688|      0|            }
  689|      0|            else if (result) {
  ------------------
  |  Branch (689:22): [True: 0, False: 0]
  ------------------
  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|      0|        }
  693|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  694|      0|    }
  695|      3|    int result = tailmatch(str, len, subobj, start, end, direction);
  696|      3|    if (result == -1) {
  ------------------
  |  Branch (696:9): [True: 0, False: 3]
  ------------------
  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|      3|    return PyBool_FromLong(result);
  706|      3|}
bytes_methods.c:tailmatch:
  632|      3|{
  633|      3|    Py_buffer sub_view = {NULL, NULL};
  634|      3|    const char *sub;
  635|      3|    Py_ssize_t slen;
  636|       |
  637|      3|    if (PyBytes_Check(substr)) {
  ------------------
  |  |   28|      3|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      3|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 3, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  638|      3|        sub = PyBytes_AS_STRING(substr);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  639|      3|        slen = PyBytes_GET_SIZE(substr);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|      3|    }
  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|      3|    ADJUST_INDICES(start, end, len);
  ------------------
  |  |  434|      3|    do {                                \
  |  |  435|      3|        if (end > len) {                \
  |  |  ------------------
  |  |  |  Branch (435:13): [True: 3, False: 0]
  |  |  ------------------
  |  |  436|      3|            end = len;                  \
  |  |  437|      3|        }                               \
  |  |  438|      3|        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|      3|        if (start < 0) {                \
  |  |  ------------------
  |  |  |  Branch (444:13): [True: 0, False: 3]
  |  |  ------------------
  |  |  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|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (450:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
  649|       |
  650|      3|    if (direction < 0) {
  ------------------
  |  Branch (650:9): [True: 3, False: 0]
  ------------------
  651|       |        /* startswith */
  652|      3|        if (start > len - slen)
  ------------------
  |  Branch (652:13): [True: 3, False: 0]
  ------------------
  653|      3|            goto notfound;
  654|      3|    } else {
  655|       |        /* endswith */
  656|      0|        if (end - start < slen || start > len)
  ------------------
  |  Branch (656:13): [True: 0, False: 0]
  |  Branch (656:35): [True: 0, False: 0]
  ------------------
  657|      0|            goto notfound;
  658|       |
  659|      0|        if (end - slen > start)
  ------------------
  |  Branch (659:13): [True: 0, False: 0]
  ------------------
  660|      0|            start = end - slen;
  661|      0|    }
  662|      0|    if (end - start < slen)
  ------------------
  |  Branch (662:9): [True: 0, False: 0]
  ------------------
  663|      0|        goto notfound;
  664|      0|    if (memcmp(str + start, sub, slen) != 0)
  ------------------
  |  Branch (664:9): [True: 0, False: 0]
  ------------------
  665|      0|        goto notfound;
  666|       |
  667|      0|    PyBuffer_Release(&sub_view);
  668|      0|    return 1;
  669|       |
  670|      3|notfound:
  671|      3|    PyBuffer_Release(&sub_view);
  672|      3|    return 0;
  673|      0|}

PyBytes_FromStringAndSize:
  135|  1.00M|{
  136|  1.00M|    PyBytesObject *op;
  137|  1.00M|    if (size < 0) {
  ------------------
  |  Branch (137:9): [True: 0, False: 1.00M]
  ------------------
  138|      0|        PyErr_SetString(PyExc_SystemError,
  139|      0|            "Negative size passed to PyBytes_FromStringAndSize");
  140|      0|        return NULL;
  141|      0|    }
  142|  1.00M|    if (size == 1 && str != NULL) {
  ------------------
  |  Branch (142:9): [True: 839, False: 1.00M]
  |  Branch (142:22): [True: 97, False: 742]
  ------------------
  143|     97|        op = CHARACTER(*str & 255);
  ------------------
  |  |   39|     97|     ((PyBytesObject *)&(CHARACTERS[ch]));
  |  |  ------------------
  |  |  |  |   37|     97|#define CHARACTERS _Py_SINGLETON(bytes_characters)
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|     97|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|     97|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  144|     97|        assert(_Py_IsImmortal(op));
  ------------------
  |  Branch (144:9): [True: 97, False: 0]
  ------------------
  145|     97|        return (PyObject *)op;
  146|     97|    }
  147|  1.00M|    if (size == 0) {
  ------------------
  |  Branch (147:9): [True: 107, False: 1.00M]
  ------------------
  148|    107|        return bytes_get_empty();
  149|    107|    }
  150|       |
  151|  1.00M|    op = (PyBytesObject *)_PyBytes_FromSize(size, 0);
  152|  1.00M|    if (op == NULL)
  ------------------
  |  Branch (152:9): [True: 0, False: 1.00M]
  ------------------
  153|      0|        return NULL;
  154|  1.00M|    if (str == NULL)
  ------------------
  |  Branch (154:9): [True: 638k, False: 362k]
  ------------------
  155|   638k|        return (PyObject *) op;
  156|       |
  157|   362k|    memcpy(op->ob_sval, str, size);
  158|   362k|    return (PyObject *) op;
  159|  1.00M|}
PyBytes_FromString:
  163|     20|{
  164|     20|    size_t size;
  165|     20|    PyBytesObject *op;
  166|       |
  167|     20|    assert(str != NULL);
  ------------------
  |  Branch (167:5): [True: 20, False: 0]
  ------------------
  168|     20|    size = strlen(str);
  169|     20|    if (size > PY_SSIZE_T_MAX - PyBytesObject_SIZE) {
  ------------------
  |  |  137|     20|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                  if (size > PY_SSIZE_T_MAX - PyBytesObject_SIZE) {
  ------------------
  |  |   29|     20|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|     20|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  |  Branch (169:9): [True: 0, False: 20]
  ------------------
  170|      0|        PyErr_SetString(PyExc_OverflowError,
  171|      0|            "byte string is too long");
  172|      0|        return NULL;
  173|      0|    }
  174|       |
  175|     20|    if (size == 0) {
  ------------------
  |  Branch (175:9): [True: 0, False: 20]
  ------------------
  176|      0|        return bytes_get_empty();
  177|      0|    }
  178|     20|    else if (size == 1) {
  ------------------
  |  Branch (178:14): [True: 0, False: 20]
  ------------------
  179|      0|        op = CHARACTER(*str & 255);
  ------------------
  |  |   39|      0|     ((PyBytesObject *)&(CHARACTERS[ch]));
  |  |  ------------------
  |  |  |  |   37|      0|#define CHARACTERS _Py_SINGLETON(bytes_characters)
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  180|      0|        assert(_Py_IsImmortal(op));
  ------------------
  |  Branch (180:9): [True: 0, False: 0]
  ------------------
  181|      0|        return (PyObject *)op;
  182|      0|    }
  183|       |
  184|       |    /* Inline PyObject_NewVar */
  185|     20|    op = (PyBytesObject *)PyObject_Malloc(PyBytesObject_SIZE + size);
  ------------------
  |  |   29|     20|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|     20|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  186|     20|    if (op == NULL) {
  ------------------
  |  Branch (186:9): [True: 0, False: 20]
  ------------------
  187|      0|        return PyErr_NoMemory();
  188|      0|    }
  189|     20|    _PyObject_InitVar((PyVarObject*)op, &PyBytes_Type, size);
  190|     20|    set_ob_shash(op, -1);
  191|     20|    memcpy(op->ob_sval, str, size+1);
  192|     20|    return (PyObject *) op;
  193|     20|}
PyBytes_AsString:
 1343|    162|{
 1344|    162|    if (!PyBytes_Check(op)) {
  ------------------
  |  |   28|    162|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    162|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1344:9): [True: 0, False: 162]
  ------------------
 1345|      0|        PyErr_Format(PyExc_TypeError,
 1346|      0|             "expected bytes, %.200s found", Py_TYPE(op)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1347|      0|        return NULL;
 1348|      0|    }
 1349|    162|    return ((PyBytesObject *)op)->ob_sval;
 1350|    162|}
PyBytes_AsStringAndSize:
 1356|     10|{
 1357|     10|    if (s == NULL) {
  ------------------
  |  Branch (1357:9): [True: 0, False: 10]
  ------------------
 1358|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1359|      0|        return -1;
 1360|      0|    }
 1361|       |
 1362|     10|    if (!PyBytes_Check(obj)) {
  ------------------
  |  |   28|     10|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     10|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1362:9): [True: 0, False: 10]
  ------------------
 1363|      0|        PyErr_Format(PyExc_TypeError,
 1364|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1365|      0|        return -1;
 1366|      0|    }
 1367|       |
 1368|     10|    *s = PyBytes_AS_STRING(obj);
  ------------------
  |  |   27|     10|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1369|     10|    if (len != NULL)
  ------------------
  |  Branch (1369:9): [True: 0, False: 10]
  ------------------
 1370|      0|        *len = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1371|     10|    else if (strlen(*s) != (size_t)PyBytes_GET_SIZE(obj)) {
  ------------------
  |  |   33|     10|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1371:14): [True: 0, False: 10]
  ------------------
 1372|      0|        PyErr_SetString(PyExc_ValueError,
 1373|      0|                        "embedded null byte");
 1374|      0|        return -1;
 1375|      0|    }
 1376|     10|    return 0;
 1377|     10|}
_PyBytes_Concat:
 1543|     17|{
 1544|     17|    Py_buffer va, vb;
 1545|     17|    PyObject *result = NULL;
 1546|       |
 1547|     17|    va.len = -1;
 1548|     17|    vb.len = -1;
 1549|     17|    if (PyObject_GetBuffer(a, &va, PyBUF_SIMPLE) != 0 ||
  ------------------
  |  |  108|     17|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1549:9): [True: 0, False: 17]
  ------------------
 1550|     17|        PyObject_GetBuffer(b, &vb, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|     17|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1550:9): [True: 0, False: 17]
  ------------------
 1551|      0|        PyErr_Format(PyExc_TypeError, "can't concat %.100s to %.100s",
 1552|      0|                     Py_TYPE(b)->tp_name, Py_TYPE(a)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                   Py_TYPE(b)->tp_name, Py_TYPE(a)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1553|      0|        goto done;
 1554|      0|    }
 1555|       |
 1556|       |    /* Optimize end cases */
 1557|     17|    if (va.len == 0 && PyBytes_CheckExact(b)) {
  ------------------
  |  |   29|     14|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|     14|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 14, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1557:9): [True: 14, False: 3]
  ------------------
 1558|     14|        result = Py_NewRef(b);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1559|     14|        goto done;
 1560|     14|    }
 1561|      3|    if (vb.len == 0 && 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 (1561:9): [True: 0, False: 3]
  ------------------
 1562|      0|        result = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1563|      0|        goto done;
 1564|      0|    }
 1565|       |
 1566|      3|    if (va.len > PY_SSIZE_T_MAX - vb.len) {
  ------------------
  |  |  137|      3|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1566:9): [True: 0, False: 3]
  ------------------
 1567|      0|        PyErr_NoMemory();
 1568|      0|        goto done;
 1569|      0|    }
 1570|       |
 1571|      3|    result = PyBytes_FromStringAndSize(NULL, va.len + vb.len);
 1572|      3|    if (result != NULL) {
  ------------------
  |  Branch (1572:9): [True: 3, False: 0]
  ------------------
 1573|      3|        memcpy(PyBytes_AS_STRING(result), va.buf, va.len);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1574|      3|        memcpy(PyBytes_AS_STRING(result) + va.len, vb.buf, vb.len);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1575|      3|    }
 1576|       |
 1577|     17|  done:
 1578|     17|    if (va.len != -1)
  ------------------
  |  Branch (1578:9): [True: 17, False: 0]
  ------------------
 1579|     17|        PyBuffer_Release(&va);
 1580|     17|    if (vb.len != -1)
  ------------------
  |  Branch (1580:9): [True: 17, False: 0]
  ------------------
 1581|     17|        PyBuffer_Release(&vb);
 1582|     17|    return result;
 1583|      3|}
PyBytes_Join:
 2002|      3|{
 2003|      3|    if (sep == NULL) {
  ------------------
  |  Branch (2003:9): [True: 0, False: 3]
  ------------------
 2004|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2005|      0|        return NULL;
 2006|      0|    }
 2007|      3|    if (!PyBytes_Check(sep)) {
  ------------------
  |  |   28|      3|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      3|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2007:9): [True: 0, False: 3]
  ------------------
 2008|      0|        PyErr_Format(PyExc_TypeError,
 2009|      0|                     "sep: expected bytes, got %T", sep);
 2010|      0|        return NULL;
 2011|      0|    }
 2012|       |
 2013|      3|    return stringlib_bytes_join(sep, iterable);
 2014|      3|}
_PyBytes_Resize:
 3345|   161k|{
 3346|   161k|    PyObject *v;
 3347|   161k|    PyBytesObject *sv;
 3348|   161k|    v = *pv;
 3349|   161k|    if (!PyBytes_Check(v) || newsize < 0) {
  ------------------
  |  |   28|   161k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   323k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3349:9): [True: 0, False: 161k]
  |  Branch (3349:30): [True: 0, False: 161k]
  ------------------
 3350|      0|        *pv = 0;
 3351|      0|        Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3352|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3353|      0|        return -1;
 3354|      0|    }
 3355|   161k|    Py_ssize_t oldsize = PyBytes_GET_SIZE(v);
  ------------------
  |  |   33|   161k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|   161k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   161k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3356|   161k|    if (oldsize == newsize) {
  ------------------
  |  Branch (3356:9): [True: 0, False: 161k]
  ------------------
 3357|       |        /* return early if newsize equals to v->ob_size */
 3358|      0|        return 0;
 3359|      0|    }
 3360|   161k|    if (oldsize == 0) {
  ------------------
  |  Branch (3360:9): [True: 161k, False: 502]
  ------------------
 3361|   161k|        *pv = _PyBytes_FromSize(newsize, 0);
 3362|   161k|        Py_DECREF(v);
  ------------------
  |  |  430|   161k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   161k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   161k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3363|   161k|        return (*pv == NULL) ? -1 : 0;
  ------------------
  |  Branch (3363:16): [True: 0, False: 161k]
  ------------------
 3364|   161k|    }
 3365|    502|    if (newsize == 0) {
  ------------------
  |  Branch (3365:9): [True: 6, False: 496]
  ------------------
 3366|      6|        *pv = bytes_get_empty();
 3367|      6|        Py_DECREF(v);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3368|      6|        return 0;
 3369|      6|    }
 3370|    496|    if (!_PyObject_IsUniquelyReferenced(v)) {
  ------------------
  |  Branch (3370:9): [True: 0, False: 496]
  ------------------
 3371|      0|        if (oldsize < newsize) {
  ------------------
  |  Branch (3371:13): [True: 0, False: 0]
  ------------------
 3372|      0|            *pv = _PyBytes_FromSize(newsize, 0);
 3373|      0|            if (*pv) {
  ------------------
  |  Branch (3373:17): [True: 0, False: 0]
  ------------------
 3374|      0|                memcpy(PyBytes_AS_STRING(*pv), PyBytes_AS_STRING(v), oldsize);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                              memcpy(PyBytes_AS_STRING(*pv), PyBytes_AS_STRING(v), oldsize);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3375|      0|            }
 3376|      0|        }
 3377|      0|        else {
 3378|      0|            *pv = PyBytes_FromStringAndSize(PyBytes_AS_STRING(v), newsize);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3379|      0|        }
 3380|      0|        Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3381|      0|        return (*pv == NULL) ? -1 : 0;
  ------------------
  |  Branch (3381:16): [True: 0, False: 0]
  ------------------
 3382|      0|    }
 3383|       |
 3384|       |#ifdef Py_TRACE_REFS
 3385|       |    _Py_ForgetReference(v);
 3386|       |#endif
 3387|    496|    _PyReftracerTrack(v, PyRefTracer_DESTROY);
  ------------------
  |  |  112|    496|    do { \
  |  |  113|    496|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  114|    496|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (114:13): [True: 0, False: 496]
  |  |  ------------------
  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  117|      0|        } \
  |  |  118|    496|    } while(0)
  |  |  ------------------
  |  |  |  Branch (118:13): [Folded, False: 496]
  |  |  ------------------
  ------------------
 3388|    496|    *pv = (PyObject *)
 3389|    496|        PyObject_Realloc(v, PyBytesObject_SIZE + newsize);
  ------------------
  |  |   29|    496|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|    496|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
 3390|    496|    if (*pv == NULL) {
  ------------------
  |  Branch (3390:9): [True: 0, False: 496]
  ------------------
 3391|       |#ifdef Py_REF_DEBUG
 3392|       |        _Py_DecRefTotal(_PyThreadState_GET());
 3393|       |#endif
 3394|      0|        PyObject_Free(v);
 3395|      0|        PyErr_NoMemory();
 3396|      0|        return -1;
 3397|      0|    }
 3398|    496|    _Py_NewReferenceNoTotal(*pv);
 3399|    496|    sv = (PyBytesObject *) *pv;
 3400|    496|    Py_SET_SIZE(sv, newsize);
  ------------------
  |  |  216|    496|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|    496|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    496|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3401|    496|    sv->ob_sval[newsize] = '\0';
 3402|    496|    set_ob_shash(sv, -1);          /* invalidate cached hash value */
 3403|    496|    return 0;
 3404|    496|}
PyBytesWriter_Create:
 3723|    310|{
 3724|    310|    return byteswriter_create(size, 0);
 3725|    310|}
PyBytesWriter_Discard:
 3736|    310|{
 3737|    310|    if (writer == NULL) {
  ------------------
  |  Branch (3737:9): [True: 0, False: 310]
  ------------------
 3738|      0|        return;
 3739|      0|    }
 3740|       |
 3741|    310|    Py_XDECREF(writer->obj);
  ------------------
  |  |  524|    310|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    310|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    310|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3742|    310|    _Py_FREELIST_FREE(bytes_writers, writer, PyMem_Free);
  ------------------
  |  |   35|    310|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|    310|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    310|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|    310|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   30|    310|#  define Py_bytes_writers_MAXFREELIST 1
  |  |  ------------------
  ------------------
 3743|    310|}
PyBytesWriter_FinishWithSize:
 3748|    310|{
 3749|    310|    PyObject *result;
 3750|    310|    if (size == 0) {
  ------------------
  |  Branch (3750:9): [True: 3, False: 307]
  ------------------
 3751|      3|        result = bytes_get_empty();
 3752|      3|    }
 3753|    307|    else if (writer->obj != NULL) {
  ------------------
  |  Branch (3753:14): [True: 214, False: 93]
  ------------------
 3754|    214|        if (writer->use_bytearray) {
  ------------------
  |  Branch (3754:13): [True: 0, False: 214]
  ------------------
 3755|      0|            if (size != PyByteArray_GET_SIZE(writer->obj)) {
  ------------------
  |  |   38|      0|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3755:17): [True: 0, False: 0]
  ------------------
 3756|      0|                if (PyByteArray_Resize(writer->obj, size)) {
  ------------------
  |  Branch (3756:21): [True: 0, False: 0]
  ------------------
 3757|      0|                    goto error;
 3758|      0|                }
 3759|      0|            }
 3760|      0|        }
 3761|    214|        else {
 3762|    214|            if (size != PyBytes_GET_SIZE(writer->obj)) {
  ------------------
  |  |   33|    214|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    214|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    214|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3762:17): [True: 213, False: 1]
  ------------------
 3763|    213|                if (_PyBytes_Resize(&writer->obj, size)) {
  ------------------
  |  Branch (3763:21): [True: 0, False: 213]
  ------------------
 3764|      0|                    goto error;
 3765|      0|                }
 3766|    213|            }
 3767|    214|        }
 3768|    214|        result = writer->obj;
 3769|    214|        writer->obj = NULL;
 3770|    214|    }
 3771|     93|    else if (writer->use_bytearray) {
  ------------------
  |  Branch (3771:14): [True: 0, False: 93]
  ------------------
 3772|      0|        result = PyByteArray_FromStringAndSize(writer->small_buffer, size);
 3773|      0|    }
 3774|     93|    else {
 3775|     93|        result = PyBytes_FromStringAndSize(writer->small_buffer, size);
 3776|     93|    }
 3777|    310|    PyBytesWriter_Discard(writer);
 3778|    310|    return result;
 3779|       |
 3780|      0|error:
 3781|      0|    PyBytesWriter_Discard(writer);
 3782|       |    return NULL;
 3783|    310|}
PyBytesWriter_Finish:
 3787|      2|{
 3788|      2|    return PyBytesWriter_FinishWithSize(writer, writer->size);
 3789|      2|}
PyBytesWriter_FinishWithPointer:
 3794|    281|{
 3795|    281|    Py_ssize_t size = (char*)buf - byteswriter_data(writer);
 3796|    281|    if (size < 0 || size > byteswriter_allocated(writer)) {
  ------------------
  |  Branch (3796:9): [True: 0, False: 281]
  |  Branch (3796:21): [True: 0, False: 281]
  ------------------
 3797|      0|        PyBytesWriter_Discard(writer);
 3798|      0|        PyErr_SetString(PyExc_ValueError, "invalid end pointer");
 3799|      0|        return NULL;
 3800|      0|    }
 3801|       |
 3802|    281|    return PyBytesWriter_FinishWithSize(writer, size);
 3803|    281|}
PyBytesWriter_GetData:
 3808|    334|{
 3809|    334|    return byteswriter_data(writer);
 3810|    334|}
PyBytesWriter_Grow:
 3856|  15.7k|{
 3857|  15.7k|    if (size < 0 && writer->size + size < 0) {
  ------------------
  |  Branch (3857:9): [True: 0, False: 15.7k]
  |  Branch (3857:21): [True: 0, False: 0]
  ------------------
 3858|      0|        PyErr_SetString(PyExc_ValueError, "invalid size");
 3859|      0|        return -1;
 3860|      0|    }
 3861|  15.7k|    if (size > PY_SSIZE_T_MAX - writer->size) {
  ------------------
  |  |  137|  15.7k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (3861:9): [True: 0, False: 15.7k]
  ------------------
 3862|      0|        PyErr_NoMemory();
 3863|      0|        return -1;
 3864|      0|    }
 3865|  15.7k|    size = writer->size + size;
 3866|       |
 3867|  15.7k|    if (byteswriter_resize(writer, size, 1) < 0) {
  ------------------
  |  Branch (3867:9): [True: 0, False: 15.7k]
  ------------------
 3868|      0|        return -1;
 3869|      0|    }
 3870|  15.7k|    writer->size = size;
 3871|  15.7k|    return 0;
 3872|  15.7k|}
PyBytesWriter_GrowAndUpdatePointer:
 3878|  15.7k|{
 3879|  15.7k|    Py_ssize_t pos = (char*)buf - byteswriter_data(writer);
 3880|  15.7k|    if (PyBytesWriter_Grow(writer, size) < 0) {
  ------------------
  |  Branch (3880:9): [True: 0, False: 15.7k]
  ------------------
 3881|      0|        return NULL;
 3882|      0|    }
 3883|  15.7k|    return byteswriter_data(writer) + pos;
 3884|  15.7k|}
bytesobject.c:bytes_get_empty:
   45|    116|{
   46|    116|    PyObject *empty = &EMPTY->ob_base.ob_base;
  ------------------
  |  |   40|    116|#define EMPTY (&_Py_SINGLETON(bytes_empty))
  |  |  ------------------
  |  |  |  |   18|    116|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    116|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   47|    116|    assert(_Py_IsImmortal(empty));
  ------------------
  |  Branch (47:5): [True: 116, False: 0]
  ------------------
   48|    116|    return empty;
   49|    116|}
bytesobject.c:_PyBytes_FromSize:
  103|  1.16M|{
  104|  1.16M|    PyBytesObject *op;
  105|  1.16M|    assert(size >= 0);
  ------------------
  |  Branch (105:5): [True: 1.16M, False: 0]
  ------------------
  106|       |
  107|  1.16M|    if (size == 0) {
  ------------------
  |  Branch (107:9): [True: 0, False: 1.16M]
  ------------------
  108|      0|        return bytes_get_empty();
  109|      0|    }
  110|       |
  111|  1.16M|    if ((size_t)size > (size_t)PY_SSIZE_T_MAX - PyBytesObject_SIZE) {
  ------------------
  |  |  137|  1.16M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                  if ((size_t)size > (size_t)PY_SSIZE_T_MAX - PyBytesObject_SIZE) {
  ------------------
  |  |   29|  1.16M|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|  1.16M|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  |  Branch (111:9): [True: 0, False: 1.16M]
  ------------------
  112|      0|        PyErr_SetString(PyExc_OverflowError,
  113|      0|                        "byte string is too large");
  114|      0|        return NULL;
  115|      0|    }
  116|       |
  117|       |    /* Inline PyObject_NewVar */
  118|  1.16M|    if (use_calloc)
  ------------------
  |  Branch (118:9): [True: 0, False: 1.16M]
  ------------------
  119|      0|        op = (PyBytesObject *)PyObject_Calloc(1, PyBytesObject_SIZE + size);
  ------------------
  |  |   29|      0|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|      0|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  120|  1.16M|    else
  121|  1.16M|        op = (PyBytesObject *)PyObject_Malloc(PyBytesObject_SIZE + size);
  ------------------
  |  |   29|  1.16M|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|  1.16M|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  122|  1.16M|    if (op == NULL) {
  ------------------
  |  Branch (122:9): [True: 0, False: 1.16M]
  ------------------
  123|      0|        return PyErr_NoMemory();
  124|      0|    }
  125|  1.16M|    _PyObject_InitVar((PyVarObject*)op, &PyBytes_Type, size);
  126|  1.16M|    set_ob_shash(op, -1);
  127|  1.16M|    if (!use_calloc) {
  ------------------
  |  Branch (127:9): [True: 1.16M, False: 0]
  ------------------
  128|  1.16M|        op->ob_sval[size] = '\0';
  129|  1.16M|    }
  130|  1.16M|    return (PyObject *) op;
  131|  1.16M|}
bytesobject.c:set_ob_shash:
   54|  1.16M|{
   55|  1.16M|_Py_COMP_DIAG_PUSH
   56|  1.16M|_Py_COMP_DIAG_IGNORE_DEPR_DECLS
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    _Py_atomic_store_ssize_relaxed(&a->ob_shash, hash);
   59|       |#else
   60|  1.16M|    a->ob_shash = hash;
   61|  1.16M|#endif
   62|  1.16M|_Py_COMP_DIAG_POP
   63|  1.16M|}
bytesobject.c:bytes_length:
 1535|    163|{
 1536|    163|    PyBytesObject *a = _PyBytes_CAST(self);
  ------------------
  |  |   21|    163|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    163|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1536:24): [True: 163, False: 0]
  ------------------
 1537|    163|    return Py_SIZE(a);
  ------------------
  |  |  214|    163|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    163|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    163|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1538|    163|}
bytesobject.c:bytes_contains:
 1624|  2.04k|{
 1625|  2.04k|    return _Py_bytes_contains(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), arg);
  ------------------
  |  |   27|  2.04k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return _Py_bytes_contains(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), arg);
  ------------------
  |  |   33|  2.04k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  2.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1626|  2.04k|}
bytesobject.c:bytes_subscript:
 1734|    110|{
 1735|    110|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|    110|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    110|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1735:27): [True: 110, False: 0]
  ------------------
 1736|    110|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (1736:9): [True: 0, False: 110]
  ------------------
 1737|      0|        Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError);
 1738|      0|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1738:13): [True: 0, False: 0]
  |  Branch (1738:24): [True: 0, False: 0]
  ------------------
 1739|      0|            return NULL;
 1740|      0|        if (i < 0)
  ------------------
  |  Branch (1740:13): [True: 0, False: 0]
  ------------------
 1741|      0|            i += PyBytes_GET_SIZE(self);
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1742|      0|        if (i < 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1742:13): [True: 0, False: 0]
  |  Branch (1742:22): [True: 0, False: 0]
  ------------------
 1743|      0|            PyErr_SetString(PyExc_IndexError,
 1744|      0|                            "index out of range");
 1745|      0|            return NULL;
 1746|      0|        }
 1747|      0|        return _PyLong_FromUnsignedChar((unsigned char)self->ob_sval[i]);
 1748|      0|    }
 1749|    110|    else if (PySlice_Check(item)) {
  ------------------
  |  |   22|    110|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  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: 110, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1750|    110|        Py_ssize_t start, stop, step, slicelength, i;
 1751|    110|        size_t cur;
 1752|    110|        const char* source_buf;
 1753|    110|        char* result_buf;
 1754|    110|        PyObject* result;
 1755|       |
 1756|    110|        if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (1756:13): [True: 0, False: 110]
  ------------------
 1757|      0|            return NULL;
 1758|      0|        }
 1759|    110|        slicelength = PySlice_AdjustIndices(PyBytes_GET_SIZE(self), &start,
  ------------------
  |  |   33|    110|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    110|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    110|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1760|    110|                                            &stop, step);
 1761|       |
 1762|    110|        if (slicelength <= 0) {
  ------------------
  |  Branch (1762:13): [True: 14, False: 96]
  ------------------
 1763|     14|            return Py_GetConstant(Py_CONSTANT_EMPTY_BYTES);
  ------------------
  |  |  598|     14|#define Py_CONSTANT_EMPTY_BYTES 8
  ------------------
 1764|     14|        }
 1765|     96|        else if (start == 0 && step == 1 &&
  ------------------
  |  Branch (1765:18): [True: 24, False: 72]
  |  Branch (1765:32): [True: 24, False: 0]
  ------------------
 1766|     24|                 slicelength == PyBytes_GET_SIZE(self) &&
  ------------------
  |  |   33|    120|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1766:18): [True: 0, False: 24]
  ------------------
 1767|      0|                 PyBytes_CheckExact(self)) {
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1768|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1769|      0|        }
 1770|     96|        else if (step == 1) {
  ------------------
  |  Branch (1770:18): [True: 96, False: 0]
  ------------------
 1771|     96|            return PyBytes_FromStringAndSize(
 1772|     96|                PyBytes_AS_STRING(self) + start,
  ------------------
  |  |   27|     96|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     96|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1773|     96|                slicelength);
 1774|     96|        }
 1775|      0|        else {
 1776|      0|            source_buf = PyBytes_AS_STRING(self);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1777|      0|            result = PyBytes_FromStringAndSize(NULL, slicelength);
 1778|      0|            if (result == NULL)
  ------------------
  |  Branch (1778:17): [True: 0, False: 0]
  ------------------
 1779|      0|                return NULL;
 1780|       |
 1781|      0|            result_buf = PyBytes_AS_STRING(result);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1782|      0|            for (cur = start, i = 0; i < slicelength;
  ------------------
  |  Branch (1782:38): [True: 0, False: 0]
  ------------------
 1783|      0|                 cur += step, i++) {
 1784|      0|                result_buf[i] = source_buf[cur];
 1785|      0|            }
 1786|       |
 1787|      0|            return result;
 1788|      0|        }
 1789|    110|    }
 1790|      0|    else {
 1791|      0|        PyErr_Format(PyExc_TypeError,
 1792|      0|                     "byte indices must be integers or slices, not %.200s",
 1793|      0|                     Py_TYPE(item)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1794|       |        return NULL;
 1795|      0|    }
 1796|    110|}
bytesobject.c:bytes_hash:
 1721|  9.32k|{
 1722|  9.32k|    PyBytesObject *a = _PyBytes_CAST(self);
  ------------------
  |  |   21|  9.32k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  9.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1722:24): [True: 9.32k, False: 0]
  ------------------
 1723|      0|    Py_hash_t hash = get_ob_shash(a);
 1724|  9.32k|    if (hash == -1) {
  ------------------
  |  Branch (1724:9): [True: 4.63k, False: 4.69k]
  ------------------
 1725|       |        /* Can't fail */
 1726|  4.63k|        hash = Py_HashBuffer(a->ob_sval, Py_SIZE(a));
  ------------------
  |  |  214|  4.63k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1727|  4.63k|        set_ob_shash(a, hash);
 1728|  4.63k|    }
 1729|  9.32k|    return hash;
 1730|  9.32k|}
bytesobject.c:get_ob_shash:
   67|  9.32k|{
   68|  9.32k|_Py_COMP_DIAG_PUSH
   69|  9.32k|_Py_COMP_DIAG_IGNORE_DEPR_DECLS
   70|       |#ifdef Py_GIL_DISABLED
   71|       |    return _Py_atomic_load_ssize_relaxed(&a->ob_shash);
   72|       |#else
   73|  9.32k|    return a->ob_shash;
   74|  9.32k|#endif
   75|  9.32k|_Py_COMP_DIAG_POP
   76|  9.32k|}
bytesobject.c:bytes_buffer_getbuffer:
 1800|   427k|{
 1801|   427k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|   427k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|   427k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1801:27): [True: 427k, False: 0]
  ------------------
 1802|   427k|    return PyBuffer_FillInfo(view, (PyObject*)self, (void *)self->ob_sval, Py_SIZE(self),
  ------------------
  |  |  214|   427k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   427k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   427k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1803|   427k|                             1, flags);
 1804|   427k|}
bytesobject.c:bytes_richcompare:
 1658|     29|{
 1659|       |    /* Make sure both arguments are strings. */
 1660|     29|    if (!(PyBytes_Check(aa) && PyBytes_Check(bb))) {
  ------------------
  |  |   28|     29|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     58|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 29, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!(PyBytes_Check(aa) && PyBytes_Check(bb))) {
  ------------------
  |  |   28|     29|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     29|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 29, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1661|      0|        if (_Py_GetConfig()->bytes_warning && (op == Py_EQ || op == Py_NE)) {
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
                      if (_Py_GetConfig()->bytes_warning && (op == Py_EQ || op == Py_NE)) {
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (1661:13): [True: 0, False: 0]
  |  Branch (1661:48): [True: 0, False: 0]
  |  Branch (1661:63): [True: 0, False: 0]
  ------------------
 1662|      0|            if (PyUnicode_Check(aa) || PyUnicode_Check(bb)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (PyUnicode_Check(aa) || PyUnicode_Check(bb)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1663|      0|                if (PyErr_WarnEx(PyExc_BytesWarning,
  ------------------
  |  Branch (1663:21): [True: 0, False: 0]
  ------------------
 1664|      0|                                 "Comparison between bytes and string", 1))
 1665|      0|                    return NULL;
 1666|      0|            }
 1667|      0|            if (PyLong_Check(aa) || PyLong_Check(bb)) {
  ------------------
  |  |   13|      0|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (PyLong_Check(aa) || PyLong_Check(bb)) {
  ------------------
  |  |   13|      0|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1668|      0|                if (PyErr_WarnEx(PyExc_BytesWarning,
  ------------------
  |  Branch (1668:21): [True: 0, False: 0]
  ------------------
 1669|      0|                                 "Comparison between bytes and int", 1))
 1670|      0|                    return NULL;
 1671|      0|            }
 1672|      0|        }
 1673|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 1674|      0|    }
 1675|       |
 1676|     29|    PyBytesObject *a = _PyBytes_CAST(aa);
  ------------------
  |  |   21|     29|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1676:24): [True: 29, False: 0]
  ------------------
 1677|     29|    PyBytesObject *b = _PyBytes_CAST(bb);
  ------------------
  |  |   21|     29|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1677:24): [True: 29, False: 0]
  ------------------
 1678|     29|    if (a == b) {
  ------------------
  |  Branch (1678:9): [True: 0, False: 29]
  ------------------
 1679|      0|        switch (op) {
 1680|      0|        case Py_EQ:
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
  |  Branch (1680:9): [True: 0, False: 0]
  ------------------
 1681|      0|        case Py_LE:
  ------------------
  |  |  653|      0|#define Py_LE 1
  ------------------
  |  Branch (1681:9): [True: 0, False: 0]
  ------------------
 1682|      0|        case Py_GE:
  ------------------
  |  |  657|      0|#define Py_GE 5
  ------------------
  |  Branch (1682:9): [True: 0, False: 0]
  ------------------
 1683|       |            /* a byte string is equal to itself */
 1684|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1685|      0|        case Py_NE:
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (1685:9): [True: 0, False: 0]
  ------------------
 1686|      0|        case Py_LT:
  ------------------
  |  |  652|      0|#define Py_LT 0
  ------------------
  |  Branch (1686:9): [True: 0, False: 0]
  ------------------
 1687|      0|        case Py_GT:
  ------------------
  |  |  656|      0|#define Py_GT 4
  ------------------
  |  Branch (1687:9): [True: 0, False: 0]
  ------------------
 1688|      0|            Py_RETURN_FALSE;
  ------------------
  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1689|      0|        default:
  ------------------
  |  Branch (1689:9): [True: 0, False: 0]
  ------------------
 1690|      0|            PyErr_BadArgument();
 1691|      0|            return NULL;
 1692|      0|        }
 1693|      0|    }
 1694|     29|    else if (op == Py_EQ || op == Py_NE) {
  ------------------
  |  |  654|     58|#define Py_EQ 2
  ------------------
                  else if (op == Py_EQ || op == Py_NE) {
  ------------------
  |  |  655|     24|#define Py_NE 3
  ------------------
  |  Branch (1694:14): [True: 5, False: 24]
  |  Branch (1694:29): [True: 24, False: 0]
  ------------------
 1695|     29|        int eq = bytes_compare_eq(a, b);
 1696|     29|        eq ^= (op == Py_NE);
  ------------------
  |  |  655|     29|#define Py_NE 3
  ------------------
 1697|     29|        return PyBool_FromLong(eq);
 1698|     29|    }
 1699|      0|    else {
 1700|      0|        Py_ssize_t len_a = Py_SIZE(a);
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1701|      0|        Py_ssize_t len_b = Py_SIZE(b);
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1702|      0|        Py_ssize_t min_len = Py_MIN(len_a, len_b);
  ------------------
  |  |  112|      0|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1703|      0|        int c;
 1704|      0|        if (min_len > 0) {
  ------------------
  |  Branch (1704:13): [True: 0, False: 0]
  ------------------
 1705|      0|            c = Py_CHARMASK(*a->ob_sval) - Py_CHARMASK(*b->ob_sval);
  ------------------
  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
                          c = Py_CHARMASK(*a->ob_sval) - Py_CHARMASK(*b->ob_sval);
  ------------------
  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1706|      0|            if (c == 0)
  ------------------
  |  Branch (1706:17): [True: 0, False: 0]
  ------------------
 1707|      0|                c = memcmp(a->ob_sval, b->ob_sval, min_len);
 1708|      0|        }
 1709|      0|        else {
 1710|      0|            c = 0;
 1711|      0|        }
 1712|      0|        if (c != 0) {
  ------------------
  |  Branch (1712:13): [True: 0, False: 0]
  ------------------
 1713|      0|            Py_RETURN_RICHCOMPARE(c, 0, op);
  ------------------
  |  |  674|      0|    do {                                                                    \
  |  |  675|      0|        switch (op) {                                                       \
  |  |  676|      0|        case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  654|      0|#define Py_EQ 2
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (676:9): [True: 0, False: 0]
  |  |  |  Branch (676:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  677|      0|        case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  655|      0|#define Py_NE 3
  |  |  ------------------
  |  |                       case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (677:9): [True: 0, False: 0]
  |  |  |  Branch (677:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  678|      0|        case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  652|      0|#define Py_LT 0
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (678:9): [True: 0, False: 0]
  |  |  |  Branch (678:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  679|      0|        case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  656|      0|#define Py_GT 4
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (679:9): [True: 0, False: 0]
  |  |  |  Branch (679:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  680|      0|        case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  653|      0|#define Py_LE 1
  |  |  ------------------
  |  |                       case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (680:9): [True: 0, False: 0]
  |  |  |  Branch (680:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  681|      0|        case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  657|      0|#define Py_GE 5
  |  |  ------------------
  |  |                       case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (681:9): [True: 0, False: 0]
  |  |  |  Branch (681:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  682|      0|        default:                                                            \
  |  |  ------------------
  |  |  |  Branch (682:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  683|      0|            Py_UNREACHABLE();                                               \
  |  |  ------------------
  |  |  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|      0|        }                                                                   \
  |  |  685|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1714|      0|        }
 1715|      0|        Py_RETURN_RICHCOMPARE(len_a, len_b, op);
  ------------------
  |  |  674|      0|    do {                                                                    \
  |  |  675|      0|        switch (op) {                                                       \
  |  |  676|      0|        case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  654|      0|#define Py_EQ 2
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (676:9): [True: 0, False: 0]
  |  |  |  Branch (676:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  677|      0|        case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  655|      0|#define Py_NE 3
  |  |  ------------------
  |  |                       case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (677:9): [True: 0, False: 0]
  |  |  |  Branch (677:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  678|      0|        case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  652|      0|#define Py_LT 0
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (678:9): [True: 0, False: 0]
  |  |  |  Branch (678:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  679|      0|        case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  656|      0|#define Py_GT 4
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (679:9): [True: 0, False: 0]
  |  |  |  Branch (679:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  680|      0|        case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  653|      0|#define Py_LE 1
  |  |  ------------------
  |  |                       case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (680:9): [True: 0, False: 0]
  |  |  |  Branch (680:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  681|      0|        case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  657|      0|#define Py_GE 5
  |  |  ------------------
  |  |                       case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (681:9): [True: 0, False: 0]
  |  |  |  Branch (681:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  682|      0|        default:                                                            \
  |  |  ------------------
  |  |  |  Branch (682:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  683|      0|            Py_UNREACHABLE();                                               \
  |  |  ------------------
  |  |  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|      0|        }                                                                   \
  |  |  685|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1716|      0|    }
 1717|     29|}
bytesobject.c:bytes_compare_eq:
 1641|     29|{
 1642|     29|    int cmp;
 1643|     29|    Py_ssize_t len;
 1644|       |
 1645|     29|    len = Py_SIZE(a);
  ------------------
  |  |  214|     29|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1646|     29|    if (Py_SIZE(b) != len)
  ------------------
  |  |  214|     29|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1646:9): [True: 0, False: 29]
  ------------------
 1647|      0|        return 0;
 1648|       |
 1649|     29|    if (a->ob_sval[0] != b->ob_sval[0])
  ------------------
  |  Branch (1649:9): [True: 0, False: 29]
  ------------------
 1650|      0|        return 0;
 1651|       |
 1652|     29|    cmp = memcmp(a->ob_sval, b->ob_sval, len);
 1653|     29|    return (cmp == 0);
 1654|     29|}
bytesobject.c:bytes_count_impl:
 2242|  2.03k|{
 2243|  2.03k|    return _Py_bytes_count(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self),
  ------------------
  |  |   27|  2.03k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return _Py_bytes_count(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self),
  ------------------
  |  |   33|  2.03k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  2.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2244|  2.03k|                           sub, start, end);
 2245|  2.03k|}
bytesobject.c:bytes_decode_impl:
 2583|  1.95k|{
 2584|  1.95k|    return PyUnicode_FromEncodedObject((PyObject*)self, encoding, errors);
 2585|  1.95k|}
bytesobject.c:bytes_replace_impl:
 2428|      2|{
 2429|      2|    return stringlib_replace((PyObject *)self,
 2430|      2|                             (const char *)old->buf, old->len,
 2431|      2|                             (const char *)new->buf, new->len, count);
 2432|      2|}
bytesobject.c:bytes_rfind_impl:
 2073|  2.03k|{
 2074|  2.03k|    return _Py_bytes_rfind(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self),
  ------------------
  |  |   27|  2.03k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return _Py_bytes_rfind(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self),
  ------------------
  |  |   33|  2.03k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  2.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2075|  2.03k|                           sub, start, end);
 2076|  2.03k|}
bytesobject.c:bytes_startswith_impl:
 2533|      3|{
 2534|      3|    return _Py_bytes_startswith(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_startswith(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2535|      3|                                subobj, start, end);
 2536|      3|}
bytesobject.c:bytes_iteritem:
 3219|     25|{
 3220|     25|    PyBytesObject *a = _PyBytes_CAST(obj);
  ------------------
  |  |   21|     25|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (3220:24): [True: 25, False: 0]
  ------------------
 3221|     25|    if (index >= Py_SIZE(a)) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3221:9): [True: 1, False: 24]
  ------------------
 3222|      1|        return (_PyObjectIndexPair) { .object = NULL, .index = index };
 3223|      1|    }
 3224|     24|    PyObject *l = _PyLong_FromUnsignedChar((unsigned char)a->ob_sval[index]);
 3225|     24|    return (_PyObjectIndexPair) { .object = l, .index = index + 1 };
 3226|     25|}
bytesobject.c:striter_dealloc:
 3419|      2|{
 3420|      2|    striterobject *it = _striterobject_CAST(op);
  ------------------
  |  | 3415|      2|#define _striterobject_CAST(op)  ((striterobject *)(op))
  ------------------
 3421|      2|    _PyObject_GC_UNTRACK(it);
  ------------------
  |  |  509|      2|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3422|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3423|      2|    PyObject_GC_Del(it);
 3424|      2|}
bytesobject.c:bytes_iter:
 3548|      2|{
 3549|      2|    striterobject *it;
 3550|       |
 3551|      2|    if (!PyBytes_Check(seq)) {
  ------------------
  |  |   28|      2|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3551:9): [True: 0, False: 2]
  ------------------
 3552|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3553|      0|        return NULL;
 3554|      0|    }
 3555|      2|    it = PyObject_GC_New(striterobject, &PyBytesIter_Type);
  ------------------
  |  |  181|      2|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 3556|      2|    if (it == NULL)
  ------------------
  |  Branch (3556:9): [True: 0, False: 2]
  ------------------
 3557|      0|        return NULL;
 3558|      2|    it->it_index = 0;
 3559|      2|    it->it_seq = (PyBytesObject *)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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3560|      2|    _PyObject_GC_TRACK(it);
  ------------------
  |  |  507|      2|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3561|      2|    return (PyObject *)it;
 3562|      2|}
bytesobject.c:byteswriter_create:
 3689|    310|{
 3690|    310|    if (size < 0) {
  ------------------
  |  Branch (3690:9): [True: 0, False: 310]
  ------------------
 3691|      0|        PyErr_SetString(PyExc_ValueError, "size must be >= 0");
 3692|      0|        return NULL;
 3693|      0|    }
 3694|       |
 3695|    310|    PyBytesWriter *writer = _Py_FREELIST_POP_MEM(bytes_writers);
  ------------------
  |  |   48|    310|    _PyFreeList_PopMem(&_Py_freelists_GET()->NAME)
  ------------------
 3696|    310|    if (writer == NULL) {
  ------------------
  |  Branch (3696:9): [True: 38, False: 272]
  ------------------
 3697|     38|        writer = (PyBytesWriter *)PyMem_Malloc(sizeof(PyBytesWriter));
 3698|     38|        if (writer == NULL) {
  ------------------
  |  Branch (3698:13): [True: 0, False: 38]
  ------------------
 3699|      0|            PyErr_NoMemory();
 3700|      0|            return NULL;
 3701|      0|        }
 3702|     38|    }
 3703|    310|    writer->obj = NULL;
 3704|    310|    writer->size = 0;
 3705|    310|    writer->use_bytearray = use_bytearray;
 3706|    310|    writer->overallocate = !use_bytearray;
 3707|       |
 3708|    310|    if (size >= 1) {
  ------------------
  |  Branch (3708:9): [True: 310, False: 0]
  ------------------
 3709|    310|        if (byteswriter_resize(writer, size, 0) < 0) {
  ------------------
  |  Branch (3709:13): [True: 0, False: 310]
  ------------------
 3710|      0|            PyBytesWriter_Discard(writer);
 3711|      0|            return NULL;
 3712|      0|        }
 3713|    310|        writer->size = size;
 3714|    310|    }
 3715|       |#ifdef Py_DEBUG
 3716|       |    memset(byteswriter_data(writer), 0xff, byteswriter_allocated(writer));
 3717|       |#endif
 3718|    310|    return writer;
 3719|    310|}
bytesobject.c:byteswriter_data:
 3593|  32.1k|{
 3594|  32.1k|    return _PyBytesWriter_GetData(writer);
 3595|  32.1k|}
bytesobject.c:byteswriter_allocated:
 3600|  16.3k|{
 3601|  16.3k|    if (writer->obj == NULL) {
  ------------------
  |  Branch (3601:9): [True: 893, False: 15.4k]
  ------------------
 3602|    893|        return sizeof(writer->small_buffer);
 3603|    893|    }
 3604|  15.4k|    else if (writer->use_bytearray) {
  ------------------
  |  Branch (3604:14): [True: 0, False: 15.4k]
  ------------------
 3605|      0|        return PyByteArray_GET_SIZE(writer->obj);
  ------------------
  |  |   38|      0|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3606|      0|    }
 3607|  15.4k|    else {
 3608|  15.4k|        return 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3609|  15.4k|    }
 3610|  16.3k|}
bytesobject.c:byteswriter_resize:
 3623|  16.0k|{
 3624|  16.0k|    assert(size >= 0);
  ------------------
  |  Branch (3624:5): [True: 16.0k, False: 0]
  ------------------
 3625|       |
 3626|  16.0k|    Py_ssize_t old_allocated = byteswriter_allocated(writer);
 3627|  16.0k|    if (size <= old_allocated) {
  ------------------
  |  Branch (3627:9): [True: 15.6k, False: 485]
  ------------------
 3628|  15.6k|        return 0;
 3629|  15.6k|    }
 3630|       |
 3631|    485|    if (resize & writer->overallocate) {
  ------------------
  |  Branch (3631:9): [True: 289, False: 196]
  ------------------
 3632|    289|        if (size <= (PY_SSIZE_T_MAX - size / OVERALLOCATE_FACTOR)) {
  ------------------
  |  |  137|    289|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                      if (size <= (PY_SSIZE_T_MAX - size / OVERALLOCATE_FACTOR)) {
  ------------------
  |  | 3618|    289|#  define OVERALLOCATE_FACTOR 4
  ------------------
  |  Branch (3632:13): [True: 289, False: 0]
  ------------------
 3633|    289|            size += size / OVERALLOCATE_FACTOR;
  ------------------
  |  | 3618|    289|#  define OVERALLOCATE_FACTOR 4
  ------------------
 3634|    289|        }
 3635|    289|    }
 3636|       |
 3637|    485|    if (writer->obj != NULL) {
  ------------------
  |  Branch (3637:9): [True: 268, False: 217]
  ------------------
 3638|    268|        if (writer->use_bytearray) {
  ------------------
  |  Branch (3638:13): [True: 0, False: 268]
  ------------------
 3639|      0|            if (PyByteArray_Resize(writer->obj, size)) {
  ------------------
  |  Branch (3639:17): [True: 0, False: 0]
  ------------------
 3640|      0|                return -1;
 3641|      0|            }
 3642|      0|        }
 3643|    268|        else {
 3644|    268|            if (_PyBytes_Resize(&writer->obj, size)) {
  ------------------
  |  Branch (3644:17): [True: 0, False: 268]
  ------------------
 3645|      0|                return -1;
 3646|      0|            }
 3647|    268|        }
 3648|    268|        assert(writer->obj != NULL);
  ------------------
  |  Branch (3648:9): [True: 268, False: 0]
  ------------------
 3649|    268|    }
 3650|    217|    else if (writer->use_bytearray) {
  ------------------
  |  Branch (3650:14): [True: 0, False: 217]
  ------------------
 3651|      0|        writer->obj = PyByteArray_FromStringAndSize(NULL, size);
 3652|      0|        if (writer->obj == NULL) {
  ------------------
  |  Branch (3652:13): [True: 0, False: 0]
  ------------------
 3653|      0|            return -1;
 3654|      0|        }
 3655|      0|        if (resize) {
  ------------------
  |  Branch (3655:13): [True: 0, False: 0]
  ------------------
 3656|      0|            assert((size_t)size > sizeof(writer->small_buffer));
  ------------------
  |  Branch (3656:13): [True: 0, False: 0]
  ------------------
 3657|      0|            memcpy(PyByteArray_AS_STRING(writer->obj),
  ------------------
  |  |   28|      0|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3658|      0|                   writer->small_buffer,
 3659|      0|                   sizeof(writer->small_buffer));
 3660|      0|        }
 3661|      0|    }
 3662|    217|    else {
 3663|    217|        writer->obj = PyBytes_FromStringAndSize(NULL, size);
 3664|    217|        if (writer->obj == NULL) {
  ------------------
  |  Branch (3664:13): [True: 0, False: 217]
  ------------------
 3665|      0|            return -1;
 3666|      0|        }
 3667|    217|        if (resize) {
  ------------------
  |  Branch (3667:13): [True: 21, False: 196]
  ------------------
 3668|     21|            assert((size_t)size > sizeof(writer->small_buffer));
  ------------------
  |  Branch (3668:13): [True: 21, False: 0]
  ------------------
 3669|     21|            memcpy(PyBytes_AS_STRING(writer->obj),
  ------------------
  |  |   27|     21|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3670|     21|                   writer->small_buffer,
 3671|     21|                   sizeof(writer->small_buffer));
 3672|     21|        }
 3673|    217|    }
 3674|       |
 3675|       |#ifdef Py_DEBUG
 3676|       |    Py_ssize_t allocated = byteswriter_allocated(writer);
 3677|       |    if (resize && allocated > old_allocated) {
 3678|       |        memset(byteswriter_data(writer) + old_allocated, 0xff,
 3679|       |               allocated - old_allocated);
 3680|       |    }
 3681|       |#endif
 3682|       |
 3683|    485|    return 0;
 3684|    485|}

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

PyCapsule_New:
   61|      3|{
   62|      3|    PyCapsule *capsule;
   63|       |
   64|      3|    if (!pointer) {
  ------------------
  |  Branch (64:9): [True: 0, False: 3]
  ------------------
   65|      0|        PyErr_SetString(PyExc_ValueError, "PyCapsule_New called with null pointer");
   66|      0|        return NULL;
   67|      0|    }
   68|       |
   69|      3|    capsule = PyObject_GC_New(PyCapsule, &PyCapsule_Type);
  ------------------
  |  |  181|      3|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   70|      3|    if (capsule == NULL) {
  ------------------
  |  Branch (70:9): [True: 0, False: 3]
  ------------------
   71|      0|        return NULL;
   72|      0|    }
   73|       |
   74|      3|    capsule->pointer = pointer;
   75|      3|    capsule->name = name;
   76|      3|    capsule->context = NULL;
   77|      3|    capsule->destructor = destructor;
   78|      3|    capsule->traverse_func = NULL;
   79|      3|    capsule->clear_func = NULL;
   80|       |    // Only track the object by the GC when _PyCapsule_SetTraverse() is called
   81|       |
   82|      3|    return (PyObject *)capsule;
   83|      3|}
PyCapsule_GetPointer:
  100|      3|{
  101|      3|    if (!is_legal_capsule(op, "PyCapsule_GetPointer")) {
  ------------------
  |  |   43|      3|    (_is_legal_capsule(capsule, \
  |  |   44|      3|     name " called with invalid PyCapsule object"))
  ------------------
  |  Branch (101:9): [True: 0, False: 3]
  ------------------
  102|      0|        return NULL;
  103|      0|    }
  104|      3|    PyCapsule *capsule = (PyCapsule *)op;
  105|       |
  106|      3|    if (!name_matches(name, capsule->name)) {
  ------------------
  |  Branch (106:9): [True: 0, False: 3]
  ------------------
  107|      0|        PyErr_SetString(PyExc_ValueError, "PyCapsule_GetPointer called with incorrect name");
  108|      0|        return NULL;
  109|      0|    }
  110|       |
  111|      3|    return capsule->pointer;
  112|      3|}
capsule.c:name_matches:
   48|      3|name_matches(const char *name1, const char *name2) {
   49|       |    /* if either is NULL, */
   50|      3|    if (!name1 || !name2) {
  ------------------
  |  Branch (50:9): [True: 0, False: 3]
  |  Branch (50:19): [True: 0, False: 3]
  ------------------
   51|       |        /* they're only the same if they're both NULL. */
   52|      0|        return name1 == name2;
   53|      0|    }
   54|      3|    return !strcmp(name1, name2);
   55|      3|}
capsule.c:_is_legal_capsule:
   26|      3|{
   27|      3|    if (!op || !PyCapsule_CheckExact(op)) {
  ------------------
  |  |   25|      3|#define PyCapsule_CheckExact(op) Py_IS_TYPE((op), &PyCapsule_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 (27:9): [True: 0, False: 3]
  |  Branch (27:16): [True: 0, False: 3]
  ------------------
   28|      0|        goto error;
   29|      0|    }
   30|      3|    PyCapsule *capsule = (PyCapsule *)op;
   31|       |
   32|      3|    if (capsule->pointer == NULL) {
  ------------------
  |  Branch (32:9): [True: 0, False: 3]
  ------------------
   33|      0|        goto error;
   34|      0|    }
   35|      3|    return 1;
   36|       |
   37|      0|error:
   38|      0|    PyErr_SetString(PyExc_ValueError, invalid_capsule);
   39|      0|    return 0;
   40|      3|}
capsule.c:capsule_dealloc:
  288|      3|{
  289|      3|    PyCapsule *capsule = _PyCapsule_CAST(op);
  ------------------
  |  |   21|      3|#define _PyCapsule_CAST(op)     ((PyCapsule *)(op))
  ------------------
  290|      3|    PyObject_GC_UnTrack(op);
  291|      3|    if (capsule->destructor) {
  ------------------
  |  Branch (291:9): [True: 0, False: 3]
  ------------------
  292|      0|        capsule->destructor(op);
  293|      0|    }
  294|      3|    PyObject_GC_Del(op);
  295|      3|}

PyCell_New:
   12|  2.96M|{
   13|  2.96M|    PyCellObject *op;
   14|       |
   15|  2.96M|    op = (PyCellObject *)PyObject_GC_New(PyCellObject, &PyCell_Type);
  ------------------
  |  |  181|  2.96M|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  2.96M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   16|  2.96M|    if (op == NULL)
  ------------------
  |  Branch (16:9): [True: 0, False: 2.96M]
  ------------------
   17|      0|        return NULL;
   18|  2.96M|    op->ob_ref = Py_XNewRef(obj);
  ------------------
  |  |  551|  2.96M|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.96M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.96M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   19|       |
   20|  2.96M|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  507|  2.96M|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.96M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.96M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   21|  2.96M|    return (PyObject *)op;
   22|  2.96M|}
PyCell_Set:
   67|    237|{
   68|    237|    if (!PyCell_Check(op)) {
  ------------------
  |  |   18|    237|#define PyCell_Check(op) Py_IS_TYPE((op), &PyCell_Type)
  |  |  ------------------
  |  |  |  |  215|    237|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    237|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    237|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (68:9): [True: 0, False: 237]
  ------------------
   69|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
   70|      0|        return -1;
   71|      0|    }
   72|    237|    PyCell_SetTakeRef((PyCellObject *)op, Py_XNewRef(value));
  ------------------
  |  |  551|    237|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    237|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    237|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   73|    237|    return 0;
   74|    237|}
cellobject.c:cell_dealloc:
   78|  2.96M|{
   79|  2.96M|    PyCellObject *op = _PyCell_CAST(self);
  ------------------
  |  |    8|  2.96M|#define _PyCell_CAST(op) _Py_CAST(PyCellObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  2.96M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   80|  2.96M|    _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  509|  2.96M|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.96M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.96M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   81|  2.96M|    Py_XDECREF(op->ob_ref);
  ------------------
  |  |  524|  2.96M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.96M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.96M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|  2.96M|    PyObject_GC_Del(op);
   83|  2.96M|}
cellobject.c:cell_traverse:
  132|  78.1k|{
  133|  78.1k|    PyCellObject *op = _PyCell_CAST(self);
  ------------------
  |  |    8|  78.1k|#define _PyCell_CAST(op) _Py_CAST(PyCellObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  78.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  134|  78.1k|    Py_VISIT(op->ob_ref);
  ------------------
  |  |  194|  78.1k|    do {                                                                \
  |  |  195|  78.1k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 74.2k, False: 3.87k]
  |  |  ------------------
  |  |  196|  74.2k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  74.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  74.2k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 74.2k]
  |  |  ------------------
  |  |  198|  74.2k|                return vret;                                            \
  |  |  199|  74.2k|        }                                                               \
  |  |  200|  78.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 78.1k]
  |  |  ------------------
  ------------------
  135|  78.1k|    return 0;
  136|  78.1k|}
cellobject.c:cell_clear:
  140|  2.61k|{
  141|  2.61k|    PyCellObject *op = _PyCell_CAST(self);
  ------------------
  |  |    8|  2.61k|#define _PyCell_CAST(op) _Py_CAST(PyCellObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  2.61k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  142|       |    Py_CLEAR(op->ob_ref);
  ------------------
  |  |  484|  2.61k|    do { \
  |  |  485|  2.61k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.61k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.61k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.61k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.61k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2.61k, False: 0]
  |  |  ------------------
  |  |  488|  2.61k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  2.61k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  2.61k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  2.61k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.61k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.61k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  2.61k|        } \
  |  |  491|  2.61k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.61k]
  |  |  ------------------
  ------------------
  143|  2.61k|    return 0;
  144|  2.61k|}

PyMethod_New:
   66|  12.3M|{
   67|  12.3M|    if (self == NULL) {
  ------------------
  |  Branch (67:9): [True: 0, False: 12.3M]
  ------------------
   68|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
   69|      0|        return NULL;
   70|      0|    }
   71|  12.3M|    PyMethodObject *im = _Py_FREELIST_POP(PyMethodObject, pymethodobjects);
  ------------------
  |  |   43|  12.3M|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  12.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   72|  12.3M|    if (im == NULL) {
  ------------------
  |  Branch (72:9): [True: 2.37M, False: 9.99M]
  ------------------
   73|  2.37M|        im = PyObject_GC_New(PyMethodObject, &PyMethod_Type);
  ------------------
  |  |  181|  2.37M|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  2.37M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   74|  2.37M|        if (im == NULL) {
  ------------------
  |  Branch (74:13): [True: 0, False: 2.37M]
  ------------------
   75|      0|            return NULL;
   76|      0|        }
   77|  2.37M|    }
   78|  12.3M|    im->im_weakreflist = NULL;
   79|  12.3M|    im->im_func = Py_NewRef(func);
  ------------------
  |  |  550|  12.3M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  12.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   80|  12.3M|    im->im_self = Py_NewRef(self);
  ------------------
  |  |  550|  12.3M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  12.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   81|  12.3M|    im->vectorcall = method_vectorcall;
   82|  12.3M|    _PyObject_GC_TRACK(im);
  ------------------
  |  |  507|  12.3M|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   83|  12.3M|    return (PyObject *)im;
   84|  12.3M|}
classobject.c:method_vectorcall:
   49|    181|{
   50|    181|    assert(Py_IS_TYPE(method, &PyMethod_Type));
  ------------------
  |  Branch (50:5): [True: 181, False: 0]
  ------------------
   51|       |
   52|    181|    PyThreadState *tstate = _PyThreadState_GET();
   53|    181|    PyObject *self = PyMethod_GET_SELF(method);
  ------------------
  |  |   42|    181|#define PyMethod_GET_SELF(meth) PyMethod_GET_SELF(_PyObject_CAST(meth))
  |  |  ------------------
  |  |  |  |  171|    181|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    181|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   54|    181|    PyObject *func = PyMethod_GET_FUNCTION(method);
  ------------------
  |  |   37|    181|#define PyMethod_GET_FUNCTION(meth) PyMethod_GET_FUNCTION(_PyObject_CAST(meth))
  |  |  ------------------
  |  |  |  |  171|    181|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    181|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   55|    181|    return _PyObject_VectorcallPrepend(tstate, func, self, args, nargsf, kwnames);
   56|    181|}
classobject.c:method_dealloc:
  214|  12.3M|{
  215|  12.3M|    PyMethodObject *im = _PyMethodObject_CAST(self);
  ------------------
  |  |   16|  12.3M|#define _PyMethodObject_CAST(op) _Py_CAST(PyMethodObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  12.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  216|  12.3M|    _PyObject_GC_UNTRACK(im);
  ------------------
  |  |  509|  12.3M|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  217|  12.3M|    FT_CLEAR_WEAKREFS(self, im->im_weakreflist);
  ------------------
  |  |   47|  12.3M|    do {                                            \
  |  |   48|  12.3M|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|  12.3M|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 12.3M]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|  12.3M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 12.3M]
  |  |  ------------------
  ------------------
  |  Branch (217:5): [True: 12.3M, False: 0]
  ------------------
  218|  12.3M|    Py_DECREF(im->im_func);
  ------------------
  |  |  430|  12.3M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  219|  12.3M|    Py_XDECREF(im->im_self);
  ------------------
  |  |  524|  12.3M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  220|  12.3M|    assert(Py_IS_TYPE(self, &PyMethod_Type));
  ------------------
  |  Branch (220:5): [True: 12.3M, False: 0]
  ------------------
  221|  12.3M|    _Py_FREELIST_FREE(pymethodobjects, (PyObject *)im, PyObject_GC_Del);
  ------------------
  |  |   35|  12.3M|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  12.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  12.3M|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   33|  12.3M|#  define Py_pymethodobjects_MAXFREELIST 20
  |  |  ------------------
  ------------------
  222|  12.3M|}
classobject.c:method_traverse:
  299|  4.05M|{
  300|  4.05M|    PyMethodObject *im = _PyMethodObject_CAST(self);
  ------------------
  |  |   16|  4.05M|#define _PyMethodObject_CAST(op) _Py_CAST(PyMethodObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  4.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  301|  4.05M|    Py_VISIT(im->im_func);
  ------------------
  |  |  194|  4.05M|    do {                                                                \
  |  |  195|  4.05M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 4.05M, False: 0]
  |  |  ------------------
  |  |  196|  4.05M|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  4.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  4.05M|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 4.05M]
  |  |  ------------------
  |  |  198|  4.05M|                return vret;                                            \
  |  |  199|  4.05M|        }                                                               \
  |  |  200|  4.05M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 4.05M]
  |  |  ------------------
  ------------------
  302|  4.05M|    Py_VISIT(im->im_self);
  ------------------
  |  |  194|  4.05M|    do {                                                                \
  |  |  195|  4.05M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 4.05M, False: 0]
  |  |  ------------------
  |  |  196|  4.05M|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  4.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  4.05M|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 4.05M]
  |  |  ------------------
  |  |  198|  4.05M|                return vret;                                            \
  |  |  199|  4.05M|        }                                                               \
  |  |  200|  4.05M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 4.05M]
  |  |  ------------------
  ------------------
  303|  4.05M|    return 0;
  304|  4.05M|}
classobject.c:method_descr_get:
  308|      2|{
  309|      2|    Py_INCREF(meth);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  310|      2|    return meth;
  311|      2|}

bytearrayobject.c:bytearray_find:
  130|   779k|{
  131|   779k|    PyObject *return_value = NULL;
  132|   779k|    PyObject *sub;
  133|   779k|    Py_ssize_t start = 0;
  134|   779k|    Py_ssize_t end = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|   779k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  135|       |
  136|   779k|    if (!_PyArg_CheckPositional("find", nargs, 1, 3)) {
  ------------------
  |  |   31|   779k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 779k, False: 0]
  |  |  |  Branch (31:27): [True: 779k, False: 0]
  |  |  ------------------
  |  |   32|   779k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  137|      0|        goto exit;
  138|      0|    }
  139|   779k|    sub = args[0];
  140|   779k|    if (nargs < 2) {
  ------------------
  |  Branch (140:9): [True: 0, False: 779k]
  ------------------
  141|      0|        goto skip_optional;
  142|      0|    }
  143|   779k|    if (!_PyEval_SliceIndex(args[1], &start)) {
  ------------------
  |  Branch (143:9): [True: 0, False: 779k]
  ------------------
  144|      0|        goto exit;
  145|      0|    }
  146|   779k|    if (nargs < 3) {
  ------------------
  |  Branch (146:9): [True: 779k, False: 0]
  ------------------
  147|   779k|        goto skip_optional;
  148|   779k|    }
  149|      0|    if (!_PyEval_SliceIndex(args[2], &end)) {
  ------------------
  |  Branch (149:9): [True: 0, False: 0]
  ------------------
  150|      0|        goto exit;
  151|      0|    }
  152|   779k|skip_optional:
  153|   779k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|   779k|    {
  ------------------
  154|   779k|    return_value = bytearray_find_impl((PyByteArrayObject *)self, sub, start, end);
  155|   779k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   779k|    }
  ------------------
  156|       |
  157|   779k|exit:
  158|   779k|    return return_value;
  159|   779k|}
bytearrayobject.c:bytearray_translate:
  695|  63.0k|{
  696|  63.0k|    PyObject *return_value = NULL;
  697|  63.0k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  698|       |
  699|  63.0k|    #define NUM_KEYWORDS 1
  700|  63.0k|    static struct {
  701|  63.0k|        PyGC_Head _this_is_not_used;
  702|  63.0k|        PyObject_VAR_HEAD
  703|  63.0k|        Py_hash_t ob_hash;
  704|  63.0k|        PyObject *ob_item[NUM_KEYWORDS];
  705|  63.0k|    } _kwtuple = {
  706|  63.0k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  63.0k|    {                                     \
  |  |   98|  63.0k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  63.0k|    {                               \
  |  |  |  |   91|  63.0k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  63.0k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  63.0k|#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|  63.0k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  63.0k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  63.0k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  63.0k|        (type)                      \
  |  |  |  |   93|  63.0k|    },
  |  |  ------------------
  |  |   99|  63.0k|        (size)                            \
  |  |  100|  63.0k|    },
  ------------------
  707|  63.0k|        .ob_hash = -1,
  708|  63.0k|        .ob_item = { &_Py_ID(delete), },
  ------------------
  |  |  920|  63.0k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  63.0k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  63.0k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  709|  63.0k|    };
  710|  63.0k|    #undef NUM_KEYWORDS
  711|  63.0k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  712|       |
  713|       |    #else  // !Py_BUILD_CORE
  714|       |    #  define KWTUPLE NULL
  715|       |    #endif  // !Py_BUILD_CORE
  716|       |
  717|  63.0k|    static const char * const _keywords[] = {"", "delete", NULL};
  718|  63.0k|    static _PyArg_Parser _parser = {
  719|  63.0k|        .keywords = _keywords,
  720|  63.0k|        .fname = "translate",
  721|  63.0k|        .kwtuple = KWTUPLE,
  ------------------
  |  |  711|  63.0k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  722|  63.0k|    };
  723|  63.0k|    #undef KWTUPLE
  724|  63.0k|    PyObject *argsbuf[2];
  725|  63.0k|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (725:36): [True: 0, False: 63.0k]
  ------------------
  726|  63.0k|    PyObject *table;
  727|  63.0k|    PyObject *deletechars = NULL;
  728|       |
  729|  63.0k|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|  63.0k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 63.0k, False: 0]
  |  |  ------------------
  |  |   89|  63.0k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 63.0k, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 63.0k]
  |  |  |  Branch (89:43): [True: 63.0k, False: 0]
  |  |  |  Branch (89:67): [True: 63.0k, False: 0]
  |  |  ------------------
  |  |   90|  63.0k|      (args) : \
  |  |   91|  63.0k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  730|  63.0k|            /*minpos*/ 1, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  731|  63.0k|    if (!args) {
  ------------------
  |  Branch (731:9): [True: 0, False: 63.0k]
  ------------------
  732|      0|        goto exit;
  733|      0|    }
  734|  63.0k|    table = args[0];
  735|  63.0k|    if (!noptargs) {
  ------------------
  |  Branch (735:9): [True: 63.0k, False: 0]
  ------------------
  736|  63.0k|        goto skip_optional_pos;
  737|  63.0k|    }
  738|      0|    deletechars = args[1];
  739|  63.0k|skip_optional_pos:
  740|  63.0k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  63.0k|    {
  ------------------
  741|  63.0k|    return_value = bytearray_translate_impl((PyByteArrayObject *)self, table, deletechars);
  742|  63.0k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  63.0k|    }
  ------------------
  743|       |
  744|  63.0k|exit:
  745|  63.0k|    return return_value;
  746|  63.0k|}
bytearrayobject.c:bytearray___init__:
   19|   161k|{
   20|   161k|    int return_value = -1;
   21|   161k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   22|       |
   23|   161k|    #define NUM_KEYWORDS 3
   24|   161k|    static struct {
   25|   161k|        PyGC_Head _this_is_not_used;
   26|   161k|        PyObject_VAR_HEAD
   27|   161k|        Py_hash_t ob_hash;
   28|   161k|        PyObject *ob_item[NUM_KEYWORDS];
   29|   161k|    } _kwtuple = {
   30|   161k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|   161k|    {                                     \
  |  |   98|   161k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|   161k|    {                               \
  |  |  |  |   91|   161k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|   161k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|   161k|#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|   161k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|   161k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|   161k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|   161k|        (type)                      \
  |  |  |  |   93|   161k|    },
  |  |  ------------------
  |  |   99|   161k|        (size)                            \
  |  |  100|   161k|    },
  ------------------
   31|   161k|        .ob_hash = -1,
   32|   161k|        .ob_item = { &_Py_ID(source), &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  920|   161k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   161k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   161k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(source), &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  920|   161k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   161k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   161k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(source), &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  920|   161k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   161k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   161k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   33|   161k|    };
   34|   161k|    #undef NUM_KEYWORDS
   35|   161k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   36|       |
   37|       |    #else  // !Py_BUILD_CORE
   38|       |    #  define KWTUPLE NULL
   39|       |    #endif  // !Py_BUILD_CORE
   40|       |
   41|   161k|    static const char * const _keywords[] = {"source", "encoding", "errors", NULL};
   42|   161k|    static _PyArg_Parser _parser = {
   43|   161k|        .keywords = _keywords,
   44|   161k|        .fname = "bytearray",
   45|   161k|        .kwtuple = KWTUPLE,
  ------------------
  |  |   35|   161k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
   46|   161k|    };
   47|   161k|    #undef KWTUPLE
   48|   161k|    PyObject *argsbuf[3];
   49|   161k|    PyObject * const *fastargs;
   50|   161k|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|   161k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   161k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   161k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   51|   161k|    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: 161k]
  ------------------
   52|   161k|    PyObject *arg = NULL;
   53|   161k|    const char *encoding = NULL;
   54|   161k|    const char *errors = NULL;
   55|       |
   56|   161k|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|   161k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 161k, Folded]
  |  |  |  Branch (88:23): [True: 161k, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|   322k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 161k, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 161k]
  |  |  |  Branch (89:43): [True: 161k, False: 0]
  |  |  |  Branch (89:67): [True: 161k, False: 0]
  |  |  |  Branch (89:68): [True: 161k, False: 0]
  |  |  ------------------
  |  |   90|   322k|      (args) : \
  |  |  ------------------
  |  |  |  Branch (90:8): [True: 161k, False: 0]
  |  |  ------------------
  |  |   91|   161k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |  ------------------
  |  |  |  Branch (91:29): [True: 0, False: 0]
  |  |  ------------------
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
   57|   161k|            /*minpos*/ 0, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
   58|   161k|    if (!fastargs) {
  ------------------
  |  Branch (58:9): [True: 0, False: 161k]
  ------------------
   59|      0|        goto exit;
   60|      0|    }
   61|   161k|    if (!noptargs) {
  ------------------
  |  Branch (61:9): [True: 2, False: 161k]
  ------------------
   62|      2|        goto skip_optional_pos;
   63|      2|    }
   64|   161k|    if (fastargs[0]) {
  ------------------
  |  Branch (64:9): [True: 161k, False: 0]
  ------------------
   65|   161k|        arg = fastargs[0];
   66|   161k|        if (!--noptargs) {
  ------------------
  |  Branch (66:13): [True: 161k, False: 0]
  ------------------
   67|   161k|            goto skip_optional_pos;
   68|   161k|        }
   69|   161k|    }
   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|   161k|skip_optional_pos:
  102|   161k|    return_value = bytearray___init___impl((PyByteArrayObject *)self, arg, encoding, errors);
  103|       |
  104|   161k|exit:
  105|   161k|    return return_value;
  106|   161k|}

bytesobject.c:bytes_count:
  645|  2.03k|{
  646|  2.03k|    PyObject *return_value = NULL;
  647|  2.03k|    PyObject *sub;
  648|  2.03k|    Py_ssize_t start = 0;
  649|  2.03k|    Py_ssize_t end = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|  2.03k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  650|       |
  651|  2.03k|    if (!_PyArg_CheckPositional("count", nargs, 1, 3)) {
  ------------------
  |  |   31|  2.03k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 2.03k, False: 0]
  |  |  |  Branch (31:27): [True: 2.03k, False: 0]
  |  |  ------------------
  |  |   32|  2.03k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  652|      0|        goto exit;
  653|      0|    }
  654|  2.03k|    sub = args[0];
  655|  2.03k|    if (nargs < 2) {
  ------------------
  |  Branch (655:9): [True: 0, False: 2.03k]
  ------------------
  656|      0|        goto skip_optional;
  657|      0|    }
  658|  2.03k|    if (!_PyEval_SliceIndex(args[1], &start)) {
  ------------------
  |  Branch (658:9): [True: 0, False: 2.03k]
  ------------------
  659|      0|        goto exit;
  660|      0|    }
  661|  2.03k|    if (nargs < 3) {
  ------------------
  |  Branch (661:9): [True: 0, False: 2.03k]
  ------------------
  662|      0|        goto skip_optional;
  663|      0|    }
  664|  2.03k|    if (!_PyEval_SliceIndex(args[2], &end)) {
  ------------------
  |  Branch (664:9): [True: 0, False: 2.03k]
  ------------------
  665|      0|        goto exit;
  666|      0|    }
  667|  2.03k|skip_optional:
  668|  2.03k|    return_value = bytes_count_impl((PyBytesObject *)self, sub, start, end);
  669|       |
  670|  2.03k|exit:
  671|  2.03k|    return return_value;
  672|  2.03k|}
bytesobject.c:bytes_decode:
 1092|  1.95k|{
 1093|  1.95k|    PyObject *return_value = NULL;
 1094|  1.95k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1095|       |
 1096|  1.95k|    #define NUM_KEYWORDS 2
 1097|  1.95k|    static struct {
 1098|  1.95k|        PyGC_Head _this_is_not_used;
 1099|  1.95k|        PyObject_VAR_HEAD
 1100|  1.95k|        Py_hash_t ob_hash;
 1101|  1.95k|        PyObject *ob_item[NUM_KEYWORDS];
 1102|  1.95k|    } _kwtuple = {
 1103|  1.95k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  1.95k|    {                                     \
  |  |   98|  1.95k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  1.95k|    {                               \
  |  |  |  |   91|  1.95k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  1.95k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  1.95k|#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.95k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  1.95k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  1.95k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  1.95k|        (type)                      \
  |  |  |  |   93|  1.95k|    },
  |  |  ------------------
  |  |   99|  1.95k|        (size)                            \
  |  |  100|  1.95k|    },
  ------------------
 1104|  1.95k|        .ob_hash = -1,
 1105|  1.95k|        .ob_item = { &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  920|  1.95k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.95k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.95k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  920|  1.95k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.95k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.95k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1106|  1.95k|    };
 1107|  1.95k|    #undef NUM_KEYWORDS
 1108|  1.95k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1109|       |
 1110|       |    #else  // !Py_BUILD_CORE
 1111|       |    #  define KWTUPLE NULL
 1112|       |    #endif  // !Py_BUILD_CORE
 1113|       |
 1114|  1.95k|    static const char * const _keywords[] = {"encoding", "errors", NULL};
 1115|  1.95k|    static _PyArg_Parser _parser = {
 1116|  1.95k|        .keywords = _keywords,
 1117|  1.95k|        .fname = "decode",
 1118|  1.95k|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1108|  1.95k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1119|  1.95k|    };
 1120|  1.95k|    #undef KWTUPLE
 1121|  1.95k|    PyObject *argsbuf[2];
 1122|  1.95k|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1122:36): [True: 0, False: 1.95k]
  ------------------
 1123|  1.95k|    const char *encoding = NULL;
 1124|  1.95k|    const char *errors = NULL;
 1125|       |
 1126|  1.95k|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|  1.95k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 1.95k, False: 0]
  |  |  ------------------
  |  |   89|  1.95k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 1.95k, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 1.95k]
  |  |  |  Branch (89:43): [True: 1.95k, False: 0]
  |  |  |  Branch (89:67): [True: 1.95k, False: 0]
  |  |  ------------------
  |  |   90|  1.95k|      (args) : \
  |  |   91|  1.95k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1127|  1.95k|            /*minpos*/ 0, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1128|  1.95k|    if (!args) {
  ------------------
  |  Branch (1128:9): [True: 0, False: 1.95k]
  ------------------
 1129|      0|        goto exit;
 1130|      0|    }
 1131|  1.95k|    if (!noptargs) {
  ------------------
  |  Branch (1131:9): [True: 0, False: 1.95k]
  ------------------
 1132|      0|        goto skip_optional_pos;
 1133|      0|    }
 1134|  1.95k|    if (args[0]) {
  ------------------
  |  Branch (1134:9): [True: 1.95k, False: 0]
  ------------------
 1135|  1.95k|        if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|  1.95k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.95k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1135:13): [True: 0, False: 1.95k]
  ------------------
 1136|      0|            _PyArg_BadArgument("decode", "argument 'encoding'", "str", args[0]);
 1137|      0|            goto exit;
 1138|      0|        }
 1139|  1.95k|        Py_ssize_t encoding_length;
 1140|  1.95k|        encoding = PyUnicode_AsUTF8AndSize(args[0], &encoding_length);
 1141|  1.95k|        if (encoding == NULL) {
  ------------------
  |  Branch (1141:13): [True: 0, False: 1.95k]
  ------------------
 1142|      0|            goto exit;
 1143|      0|        }
 1144|  1.95k|        if (strlen(encoding) != (size_t)encoding_length) {
  ------------------
  |  Branch (1144:13): [True: 0, False: 1.95k]
  ------------------
 1145|      0|            PyErr_SetString(PyExc_ValueError, "embedded null character");
 1146|      0|            goto exit;
 1147|      0|        }
 1148|  1.95k|        if (!--noptargs) {
  ------------------
  |  Branch (1148:13): [True: 1.95k, False: 4]
  ------------------
 1149|  1.95k|            goto skip_optional_pos;
 1150|  1.95k|        }
 1151|  1.95k|    }
 1152|      4|    if (!PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|      4|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1152:9): [True: 0, False: 4]
  ------------------
 1153|      0|        _PyArg_BadArgument("decode", "argument 'errors'", "str", args[1]);
 1154|      0|        goto exit;
 1155|      0|    }
 1156|      4|    Py_ssize_t errors_length;
 1157|      4|    errors = PyUnicode_AsUTF8AndSize(args[1], &errors_length);
 1158|      4|    if (errors == NULL) {
  ------------------
  |  Branch (1158:9): [True: 0, False: 4]
  ------------------
 1159|      0|        goto exit;
 1160|      0|    }
 1161|      4|    if (strlen(errors) != (size_t)errors_length) {
  ------------------
  |  Branch (1161:9): [True: 0, False: 4]
  ------------------
 1162|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
 1163|      0|        goto exit;
 1164|      0|    }
 1165|  1.95k|skip_optional_pos:
 1166|  1.95k|    return_value = bytes_decode_impl((PyBytesObject *)self, encoding, errors);
 1167|       |
 1168|  1.95k|exit:
 1169|  1.95k|    return return_value;
 1170|  1.95k|}
bytesobject.c:bytes_replace:
  817|      2|{
  818|      2|    PyObject *return_value = NULL;
  819|      2|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  820|       |
  821|      2|    #define NUM_KEYWORDS 1
  822|      2|    static struct {
  823|      2|        PyGC_Head _this_is_not_used;
  824|      2|        PyObject_VAR_HEAD
  825|      2|        Py_hash_t ob_hash;
  826|      2|        PyObject *ob_item[NUM_KEYWORDS];
  827|      2|    } _kwtuple = {
  828|      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|    },
  ------------------
  829|      2|        .ob_hash = -1,
  830|      2|        .ob_item = { &_Py_ID(count), },
  ------------------
  |  |  920|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  831|      2|    };
  832|      2|    #undef NUM_KEYWORDS
  833|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  834|       |
  835|       |    #else  // !Py_BUILD_CORE
  836|       |    #  define KWTUPLE NULL
  837|       |    #endif  // !Py_BUILD_CORE
  838|       |
  839|      2|    static const char * const _keywords[] = {"", "", "count", NULL};
  840|      2|    static _PyArg_Parser _parser = {
  841|      2|        .keywords = _keywords,
  842|      2|        .fname = "replace",
  843|      2|        .kwtuple = KWTUPLE,
  ------------------
  |  |  833|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  844|      2|    };
  845|      2|    #undef KWTUPLE
  846|      2|    PyObject *argsbuf[3];
  847|      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 (847:36): [True: 0, False: 2]
  ------------------
  848|      2|    Py_buffer old = {NULL, NULL};
  849|      2|    Py_buffer new = {NULL, NULL};
  850|      2|    Py_ssize_t count = -1;
  851|       |
  852|      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)))
  ------------------
  853|      2|            /*minpos*/ 2, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  854|      2|    if (!args) {
  ------------------
  |  Branch (854:9): [True: 0, False: 2]
  ------------------
  855|      0|        goto exit;
  856|      0|    }
  857|      2|    if (PyObject_GetBuffer(args[0], &old, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      2|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (857:9): [True: 0, False: 2]
  ------------------
  858|      0|        goto exit;
  859|      0|    }
  860|      2|    if (PyObject_GetBuffer(args[1], &new, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      2|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (860:9): [True: 0, False: 2]
  ------------------
  861|      0|        goto exit;
  862|      0|    }
  863|      2|    if (!noptargs) {
  ------------------
  |  Branch (863:9): [True: 2, False: 0]
  ------------------
  864|      2|        goto skip_optional_pos;
  865|      2|    }
  866|      0|    {
  867|      0|        Py_ssize_t ival = -1;
  868|      0|        PyObject *iobj = _PyNumber_Index(args[2]);
  869|      0|        if (iobj != NULL) {
  ------------------
  |  Branch (869:13): [True: 0, False: 0]
  ------------------
  870|      0|            ival = PyLong_AsSsize_t(iobj);
  871|      0|            Py_DECREF(iobj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  872|      0|        }
  873|      0|        if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (873:13): [True: 0, False: 0]
  |  Branch (873:27): [True: 0, False: 0]
  ------------------
  874|      0|            goto exit;
  875|      0|        }
  876|      0|        count = ival;
  877|      0|    }
  878|      2|skip_optional_pos:
  879|      2|    return_value = bytes_replace_impl((PyBytesObject *)self, &old, &new, count);
  880|       |
  881|      2|exit:
  882|       |    /* Cleanup for old */
  883|      2|    if (old.obj) {
  ------------------
  |  Branch (883:9): [True: 2, False: 0]
  ------------------
  884|      2|       PyBuffer_Release(&old);
  885|      2|    }
  886|       |    /* Cleanup for new */
  887|      2|    if (new.obj) {
  ------------------
  |  Branch (887:9): [True: 2, False: 0]
  ------------------
  888|      2|       PyBuffer_Release(&new);
  889|      2|    }
  890|       |
  891|      2|    return return_value;
  892|      2|}
bytesobject.c:bytes_rfind:
  442|  2.03k|{
  443|  2.03k|    PyObject *return_value = NULL;
  444|  2.03k|    PyObject *sub;
  445|  2.03k|    Py_ssize_t start = 0;
  446|  2.03k|    Py_ssize_t end = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|  2.03k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  447|       |
  448|  2.03k|    if (!_PyArg_CheckPositional("rfind", nargs, 1, 3)) {
  ------------------
  |  |   31|  2.03k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 2.03k, False: 0]
  |  |  |  Branch (31:27): [True: 2.03k, False: 0]
  |  |  ------------------
  |  |   32|  2.03k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  449|      0|        goto exit;
  450|      0|    }
  451|  2.03k|    sub = args[0];
  452|  2.03k|    if (nargs < 2) {
  ------------------
  |  Branch (452:9): [True: 0, False: 2.03k]
  ------------------
  453|      0|        goto skip_optional;
  454|      0|    }
  455|  2.03k|    if (!_PyEval_SliceIndex(args[1], &start)) {
  ------------------
  |  Branch (455:9): [True: 0, False: 2.03k]
  ------------------
  456|      0|        goto exit;
  457|      0|    }
  458|  2.03k|    if (nargs < 3) {
  ------------------
  |  Branch (458:9): [True: 0, False: 2.03k]
  ------------------
  459|      0|        goto skip_optional;
  460|      0|    }
  461|  2.03k|    if (!_PyEval_SliceIndex(args[2], &end)) {
  ------------------
  |  Branch (461:9): [True: 0, False: 2.03k]
  ------------------
  462|      0|        goto exit;
  463|      0|    }
  464|  2.03k|skip_optional:
  465|  2.03k|    return_value = bytes_rfind_impl((PyBytesObject *)self, sub, start, end);
  466|       |
  467|  2.03k|exit:
  468|  2.03k|    return return_value;
  469|  2.03k|}
bytesobject.c:bytes_startswith:
  988|      3|{
  989|      3|    PyObject *return_value = NULL;
  990|      3|    PyObject *subobj;
  991|      3|    Py_ssize_t start = 0;
  992|      3|    Py_ssize_t end = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|      3|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  993|       |
  994|      3|    if (!_PyArg_CheckPositional("startswith", 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]
  |  |  ------------------
  ------------------
  995|      0|        goto exit;
  996|      0|    }
  997|      3|    subobj = args[0];
  998|      3|    if (nargs < 2) {
  ------------------
  |  Branch (998:9): [True: 3, False: 0]
  ------------------
  999|      3|        goto skip_optional;
 1000|      3|    }
 1001|      0|    if (!_PyEval_SliceIndex(args[1], &start)) {
  ------------------
  |  Branch (1001:9): [True: 0, False: 0]
  ------------------
 1002|      0|        goto exit;
 1003|      0|    }
 1004|      0|    if (nargs < 3) {
  ------------------
  |  Branch (1004:9): [True: 0, False: 0]
  ------------------
 1005|      0|        goto skip_optional;
 1006|      0|    }
 1007|      0|    if (!_PyEval_SliceIndex(args[2], &end)) {
  ------------------
  |  Branch (1007:9): [True: 0, False: 0]
  ------------------
 1008|      0|        goto exit;
 1009|      0|    }
 1010|      3|skip_optional:
 1011|      3|    return_value = bytes_startswith_impl((PyBytesObject *)self, subobj, start, end);
 1012|       |
 1013|      3|exit:
 1014|      3|    return return_value;
 1015|      3|}

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

dictobject.c:dict___contains__:
   74|      4|{
   75|      4|    PyObject *return_value = NULL;
   76|       |
   77|      4|    return_value = dict___contains___impl((PyDictObject *)self, key);
   78|       |
   79|      4|    return return_value;
   80|      4|}
dictobject.c:dict_get:
   96|  1.16M|{
   97|  1.16M|    PyObject *return_value = NULL;
   98|  1.16M|    PyObject *key;
   99|  1.16M|    PyObject *default_value = Py_None;
  ------------------
  |  |  616|  1.16M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  100|       |
  101|  1.16M|    if (!_PyArg_CheckPositional("get", nargs, 1, 2)) {
  ------------------
  |  |   31|  1.16M|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 1.16M, False: 0]
  |  |  |  Branch (31:27): [True: 1.16M, False: 0]
  |  |  ------------------
  |  |   32|  1.16M|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  102|      0|        goto exit;
  103|      0|    }
  104|  1.16M|    key = args[0];
  105|  1.16M|    if (nargs < 2) {
  ------------------
  |  Branch (105:9): [True: 545k, False: 615k]
  ------------------
  106|   545k|        goto skip_optional;
  107|   545k|    }
  108|   615k|    default_value = args[1];
  109|  1.16M|skip_optional:
  110|  1.16M|    return_value = dict_get_impl((PyDictObject *)self, key, default_value);
  111|       |
  112|  1.16M|exit:
  113|  1.16M|    return return_value;
  114|  1.16M|}
dictobject.c:dict_setdefault:
  133|     60|{
  134|     60|    PyObject *return_value = NULL;
  135|     60|    PyObject *key;
  136|     60|    PyObject *default_value = Py_None;
  ------------------
  |  |  616|     60|#  define Py_None (&_Py_NoneStruct)
  ------------------
  137|       |
  138|     60|    if (!_PyArg_CheckPositional("setdefault", 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]
  |  |  ------------------
  ------------------
  139|      0|        goto exit;
  140|      0|    }
  141|     60|    key = args[0];
  142|     60|    if (nargs < 2) {
  ------------------
  |  Branch (142:9): [True: 0, False: 60]
  ------------------
  143|      0|        goto skip_optional;
  144|      0|    }
  145|     60|    default_value = args[1];
  146|     60|skip_optional:
  147|     60|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     60|    {
  ------------------
  148|     60|    return_value = dict_setdefault_impl((PyDictObject *)self, key, default_value);
  149|     60|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     60|    }
  ------------------
  150|       |
  151|     60|exit:
  152|     60|    return return_value;
  153|     60|}
dictobject.c:dict_pop:
  190|  85.0k|{
  191|  85.0k|    PyObject *return_value = NULL;
  192|  85.0k|    PyObject *key;
  193|  85.0k|    PyObject *default_value = NULL;
  194|       |
  195|  85.0k|    if (!_PyArg_CheckPositional("pop", nargs, 1, 2)) {
  ------------------
  |  |   31|  85.0k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 85.0k, False: 0]
  |  |  |  Branch (31:27): [True: 85.0k, False: 0]
  |  |  ------------------
  |  |   32|  85.0k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  196|      0|        goto exit;
  197|      0|    }
  198|  85.0k|    key = args[0];
  199|  85.0k|    if (nargs < 2) {
  ------------------
  |  Branch (199:9): [True: 91, False: 84.9k]
  ------------------
  200|     91|        goto skip_optional;
  201|     91|    }
  202|  84.9k|    default_value = args[1];
  203|  85.0k|skip_optional:
  204|  85.0k|    return_value = dict_pop_impl((PyDictObject *)self, key, default_value);
  205|       |
  206|  85.0k|exit:
  207|  85.0k|    return return_value;
  208|  85.0k|}
dictobject.c:dict_keys:
  287|  1.75k|{
  288|  1.75k|    return dict_keys_impl((PyDictObject *)self);
  289|  1.75k|}
dictobject.c:dict_items:
  305|  2.30k|{
  306|  2.30k|    return dict_items_impl((PyDictObject *)self);
  307|  2.30k|}
dictobject.c:dict_values:
  323|      5|{
  324|      5|    return dict_values_impl((PyDictObject *)self);
  325|      5|}
dictobject.c:dict_fromkeys:
   22|  1.08M|{
   23|  1.08M|    PyObject *return_value = NULL;
   24|  1.08M|    PyObject *iterable;
   25|  1.08M|    PyObject *value = Py_None;
  ------------------
  |  |  616|  1.08M|#  define Py_None (&_Py_NoneStruct)
  ------------------
   26|       |
   27|  1.08M|    if (!_PyArg_CheckPositional("fromkeys", nargs, 1, 2)) {
  ------------------
  |  |   31|  1.08M|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 1.08M, False: 0]
  |  |  |  Branch (31:27): [True: 1.08M, False: 0]
  |  |  ------------------
  |  |   32|  1.08M|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   28|      0|        goto exit;
   29|      0|    }
   30|  1.08M|    iterable = args[0];
   31|  1.08M|    if (nargs < 2) {
  ------------------
  |  Branch (31:9): [True: 1.08M, False: 1]
  ------------------
   32|  1.08M|        goto skip_optional;
   33|  1.08M|    }
   34|      1|    value = args[1];
   35|  1.08M|skip_optional:
   36|  1.08M|    return_value = dict_fromkeys_impl((PyTypeObject *)type, iterable, value);
   37|       |
   38|  1.08M|exit:
   39|  1.08M|    return return_value;
   40|  1.08M|}
dictobject.c:dict_copy:
   56|      3|{
   57|      3|    return dict_copy_impl((PyDictObject *)self);
   58|      3|}

floatobject.c:float_fromhex:
  173|      1|{
  174|      1|    PyObject *return_value = NULL;
  175|       |
  176|      1|    return_value = float_fromhex_impl((PyTypeObject *)type, string);
  177|       |
  178|      1|    return return_value;
  179|      1|}

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___annotate___get:
   34|      5|{
   35|      5|    PyObject *return_value = NULL;
   36|       |
   37|      5|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      5|    {
  ------------------
   38|      5|    return_value = function___annotate___get_impl((PyFunctionObject *)self);
   39|      5|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      5|    }
  ------------------
   40|       |
   41|      5|    return return_value;
   42|      5|}
funcobject.c:function___annotate___set:
   59|      3|{
   60|      3|    int return_value;
   61|       |
   62|      3|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      3|    {
  ------------------
   63|      3|    return_value = function___annotate___set_impl((PyFunctionObject *)self, value);
   64|      3|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      3|    }
  ------------------
   65|       |
   66|      3|    return return_value;
   67|      3|}
funcobject.c:function___type_params___get:
  148|      5|{
  149|      5|    PyObject *return_value = NULL;
  150|       |
  151|      5|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      5|    {
  ------------------
  152|      5|    return_value = function___type_params___get_impl((PyFunctionObject *)self);
  153|      5|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      5|    }
  ------------------
  154|       |
  155|      5|    return return_value;
  156|      5|}
funcobject.c:function___type_params___set:
  173|      3|{
  174|      3|    int return_value;
  175|       |
  176|      3|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      3|    {
  ------------------
  177|      3|    return_value = function___type_params___set_impl((PyFunctionObject *)self, value);
  178|      3|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      3|    }
  ------------------
  179|       |
  180|      3|    return return_value;
  181|      3|}

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

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

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

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

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

setobject.c:set_copy:
   74|  1.74k|{
   75|  1.74k|    PyObject *return_value = NULL;
   76|       |
   77|  1.74k|    Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|  1.74k|    {
  ------------------
   78|  1.74k|    return_value = set_copy_impl((PySetObject *)so);
   79|  1.74k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  1.74k|    }
  ------------------
   80|       |
   81|  1.74k|    return return_value;
   82|  1.74k|}
setobject.c:set_issubset:
  351|      4|{
  352|      4|    PyObject *return_value = NULL;
  353|       |
  354|      4|    Py_BEGIN_CRITICAL_SECTION2(so, other);
  ------------------
  |  |   57|      4|    {
  ------------------
  355|      4|    return_value = set_issubset_impl((PySetObject *)so, other);
  356|      4|    Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      4|    }
  ------------------
  357|       |
  358|      4|    return return_value;
  359|      4|}
setobject.c:set_add:
  401|  8.92k|{
  402|  8.92k|    PyObject *return_value = NULL;
  403|       |
  404|  8.92k|    Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|  8.92k|    {
  ------------------
  405|  8.92k|    return_value = set_add_impl((PySetObject *)so, key);
  406|  8.92k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  8.92k|    }
  ------------------
  407|       |
  408|  8.92k|    return return_value;
  409|  8.92k|}
setobject.c:set_difference_update:
  252|    870|{
  253|    870|    PyObject *return_value = NULL;
  254|    870|    PyObject * const *others;
  255|    870|    Py_ssize_t others_length;
  256|       |
  257|    870|    others = args;
  258|    870|    others_length = nargs;
  259|    870|    return_value = set_difference_update_impl((PySetObject *)so, others, others_length);
  260|       |
  261|    870|    return return_value;
  262|    870|}
setobject.c:set_remove:
  471|  2.21k|{
  472|  2.21k|    PyObject *return_value = NULL;
  473|       |
  474|  2.21k|    Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|  2.21k|    {
  ------------------
  475|  2.21k|    return_value = set_remove_impl((PySetObject *)so, key);
  476|  2.21k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  2.21k|    }
  ------------------
  477|       |
  478|  2.21k|    return return_value;
  479|  2.21k|}
setobject.c:frozenset___contains__:
  447|     15|{
  448|     15|    PyObject *return_value = NULL;
  449|       |
  450|     15|    return_value = frozenset___contains___impl((PySetObject *)so, key);
  451|       |
  452|     15|    return return_value;
  453|     15|}
setobject.c:set_clear:
  122|     27|{
  123|     27|    PyObject *return_value = NULL;
  124|       |
  125|     27|    Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|     27|    {
  ------------------
  126|     27|    return_value = set_clear_impl((PySetObject *)so);
  127|     27|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     27|    }
  ------------------
  128|       |
  129|     27|    return return_value;
  130|     27|}
setobject.c:set_pop:
   23|  4.09k|{
   24|  4.09k|    PyObject *return_value = NULL;
   25|       |
   26|  4.09k|    Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|  4.09k|    {
  ------------------
   27|  4.09k|    return_value = set_pop_impl((PySetObject *)so);
   28|  4.09k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  4.09k|    }
  ------------------
   29|       |
   30|  4.09k|    return return_value;
   31|  4.09k|}

tupleobject.c:tuple_new:
   91|      2|{
   92|      2|    PyObject *return_value = NULL;
   93|      2|    PyTypeObject *base_tp = &PyTuple_Type;
   94|      2|    PyObject *iterable = NULL;
   95|       |
   96|      2|    if ((type == base_tp || type->tp_init == base_tp->tp_init) &&
  ------------------
  |  Branch (96:10): [True: 0, False: 2]
  |  Branch (96:29): [True: 2, False: 0]
  ------------------
   97|      2|        !_PyArg_NoKeywords("tuple", kwargs)) {
  ------------------
  |  |   25|      2|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 2, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   98|      0|        goto exit;
   99|      0|    }
  100|      2|    if (!_PyArg_CheckPositional("tuple", PyTuple_GET_SIZE(args), 0, 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]
  |  |  ------------------
  ------------------
  101|      0|        goto exit;
  102|      0|    }
  103|      2|    if (PyTuple_GET_SIZE(args) < 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 (103:9): [True: 0, False: 2]
  ------------------
  104|      0|        goto skip_optional;
  105|      0|    }
  106|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (106:16): [True: 2, False: 0]
  ------------------
  107|      2|skip_optional:
  108|      2|    return_value = tuple_new_impl(type, iterable);
  109|       |
  110|      2|exit:
  111|      2|    return return_value;
  112|      2|}

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

unicodeobject.c:unicode_encode:
  219|  1.95k|{
  220|  1.95k|    PyObject *return_value = NULL;
  221|  1.95k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  222|       |
  223|  1.95k|    #define NUM_KEYWORDS 2
  224|  1.95k|    static struct {
  225|  1.95k|        PyGC_Head _this_is_not_used;
  226|  1.95k|        PyObject_VAR_HEAD
  227|  1.95k|        Py_hash_t ob_hash;
  228|  1.95k|        PyObject *ob_item[NUM_KEYWORDS];
  229|  1.95k|    } _kwtuple = {
  230|  1.95k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  1.95k|    {                                     \
  |  |   98|  1.95k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  1.95k|    {                               \
  |  |  |  |   91|  1.95k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  1.95k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  1.95k|#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.95k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  1.95k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  1.95k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  1.95k|        (type)                      \
  |  |  |  |   93|  1.95k|    },
  |  |  ------------------
  |  |   99|  1.95k|        (size)                            \
  |  |  100|  1.95k|    },
  ------------------
  231|  1.95k|        .ob_hash = -1,
  232|  1.95k|        .ob_item = { &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  920|  1.95k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.95k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.95k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  920|  1.95k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.95k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.95k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  233|  1.95k|    };
  234|  1.95k|    #undef NUM_KEYWORDS
  235|  1.95k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  236|       |
  237|       |    #else  // !Py_BUILD_CORE
  238|       |    #  define KWTUPLE NULL
  239|       |    #endif  // !Py_BUILD_CORE
  240|       |
  241|  1.95k|    static const char * const _keywords[] = {"encoding", "errors", NULL};
  242|  1.95k|    static _PyArg_Parser _parser = {
  243|  1.95k|        .keywords = _keywords,
  244|  1.95k|        .fname = "encode",
  245|  1.95k|        .kwtuple = KWTUPLE,
  ------------------
  |  |  235|  1.95k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  246|  1.95k|    };
  247|  1.95k|    #undef KWTUPLE
  248|  1.95k|    PyObject *argsbuf[2];
  249|  1.95k|    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 (249:36): [True: 0, False: 1.95k]
  ------------------
  250|  1.95k|    const char *encoding = NULL;
  251|  1.95k|    const char *errors = NULL;
  252|       |
  253|  1.95k|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|  1.95k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 1.95k, False: 0]
  |  |  ------------------
  |  |   89|  1.95k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 1.95k, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 1.95k]
  |  |  |  Branch (89:43): [True: 1.95k, False: 0]
  |  |  |  Branch (89:67): [True: 1.95k, False: 0]
  |  |  ------------------
  |  |   90|  1.95k|      (args) : \
  |  |   91|  1.95k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  254|  1.95k|            /*minpos*/ 0, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  255|  1.95k|    if (!args) {
  ------------------
  |  Branch (255:9): [True: 0, False: 1.95k]
  ------------------
  256|      0|        goto exit;
  257|      0|    }
  258|  1.95k|    if (!noptargs) {
  ------------------
  |  Branch (258:9): [True: 0, False: 1.95k]
  ------------------
  259|      0|        goto skip_optional_pos;
  260|      0|    }
  261|  1.95k|    if (args[0]) {
  ------------------
  |  Branch (261:9): [True: 1.95k, False: 0]
  ------------------
  262|  1.95k|        if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|  1.95k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.95k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (262:13): [True: 0, False: 1.95k]
  ------------------
  263|      0|            _PyArg_BadArgument("encode", "argument 'encoding'", "str", args[0]);
  264|      0|            goto exit;
  265|      0|        }
  266|  1.95k|        Py_ssize_t encoding_length;
  267|  1.95k|        encoding = PyUnicode_AsUTF8AndSize(args[0], &encoding_length);
  268|  1.95k|        if (encoding == NULL) {
  ------------------
  |  Branch (268:13): [True: 0, False: 1.95k]
  ------------------
  269|      0|            goto exit;
  270|      0|        }
  271|  1.95k|        if (strlen(encoding) != (size_t)encoding_length) {
  ------------------
  |  Branch (271:13): [True: 0, False: 1.95k]
  ------------------
  272|      0|            PyErr_SetString(PyExc_ValueError, "embedded null character");
  273|      0|            goto exit;
  274|      0|        }
  275|  1.95k|        if (!--noptargs) {
  ------------------
  |  Branch (275:13): [True: 0, False: 1.95k]
  ------------------
  276|      0|            goto skip_optional_pos;
  277|      0|        }
  278|  1.95k|    }
  279|  1.95k|    if (!PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|  1.95k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.95k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (279:9): [True: 0, False: 1.95k]
  ------------------
  280|      0|        _PyArg_BadArgument("encode", "argument 'errors'", "str", args[1]);
  281|      0|        goto exit;
  282|      0|    }
  283|  1.95k|    Py_ssize_t errors_length;
  284|  1.95k|    errors = PyUnicode_AsUTF8AndSize(args[1], &errors_length);
  285|  1.95k|    if (errors == NULL) {
  ------------------
  |  Branch (285:9): [True: 0, False: 1.95k]
  ------------------
  286|      0|        goto exit;
  287|      0|    }
  288|  1.95k|    if (strlen(errors) != (size_t)errors_length) {
  ------------------
  |  Branch (288:9): [True: 0, False: 1.95k]
  ------------------
  289|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
  290|      0|        goto exit;
  291|      0|    }
  292|  1.95k|skip_optional_pos:
  293|  1.95k|    return_value = unicode_encode_impl(self, encoding, errors);
  294|       |
  295|  1.95k|exit:
  296|  1.95k|    return return_value;
  297|  1.95k|}
unicodeobject.c:unicode_replace:
  936|    953|{
  937|    953|    PyObject *return_value = NULL;
  938|    953|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  939|       |
  940|    953|    #define NUM_KEYWORDS 1
  941|    953|    static struct {
  942|    953|        PyGC_Head _this_is_not_used;
  943|    953|        PyObject_VAR_HEAD
  944|    953|        Py_hash_t ob_hash;
  945|    953|        PyObject *ob_item[NUM_KEYWORDS];
  946|    953|    } _kwtuple = {
  947|    953|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    953|    {                                     \
  |  |   98|    953|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    953|    {                               \
  |  |  |  |   91|    953|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    953|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    953|#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|    953|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    953|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    953|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    953|        (type)                      \
  |  |  |  |   93|    953|    },
  |  |  ------------------
  |  |   99|    953|        (size)                            \
  |  |  100|    953|    },
  ------------------
  948|    953|        .ob_hash = -1,
  949|    953|        .ob_item = { &_Py_ID(count), },
  ------------------
  |  |  920|    953|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    953|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    953|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  950|    953|    };
  951|    953|    #undef NUM_KEYWORDS
  952|    953|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  953|       |
  954|       |    #else  // !Py_BUILD_CORE
  955|       |    #  define KWTUPLE NULL
  956|       |    #endif  // !Py_BUILD_CORE
  957|       |
  958|    953|    static const char * const _keywords[] = {"", "", "count", NULL};
  959|    953|    static _PyArg_Parser _parser = {
  960|    953|        .keywords = _keywords,
  961|    953|        .fname = "replace",
  962|    953|        .kwtuple = KWTUPLE,
  ------------------
  |  |  952|    953|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  963|    953|    };
  964|    953|    #undef KWTUPLE
  965|    953|    PyObject *argsbuf[3];
  966|    953|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 2;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (966:36): [True: 0, False: 953]
  ------------------
  967|    953|    PyObject *old;
  968|    953|    PyObject *new;
  969|    953|    Py_ssize_t count = -1;
  970|       |
  971|    953|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|    953|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 953, False: 0]
  |  |  ------------------
  |  |   89|    953|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 953, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 953]
  |  |  |  Branch (89:43): [True: 953, False: 0]
  |  |  |  Branch (89:67): [True: 953, False: 0]
  |  |  ------------------
  |  |   90|    953|      (args) : \
  |  |   91|    953|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  972|    953|            /*minpos*/ 2, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  973|    953|    if (!args) {
  ------------------
  |  Branch (973:9): [True: 0, False: 953]
  ------------------
  974|      0|        goto exit;
  975|      0|    }
  976|    953|    if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|    953|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    953|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (976:9): [True: 0, False: 953]
  ------------------
  977|      0|        _PyArg_BadArgument("replace", "argument 1", "str", args[0]);
  978|      0|        goto exit;
  979|      0|    }
  980|    953|    old = args[0];
  981|    953|    if (!PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|    953|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    953|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (981:9): [True: 0, False: 953]
  ------------------
  982|      0|        _PyArg_BadArgument("replace", "argument 2", "str", args[1]);
  983|      0|        goto exit;
  984|      0|    }
  985|    953|    new = args[1];
  986|    953|    if (!noptargs) {
  ------------------
  |  Branch (986:9): [True: 953, False: 0]
  ------------------
  987|    953|        goto skip_optional_pos;
  988|    953|    }
  989|      0|    {
  990|      0|        Py_ssize_t ival = -1;
  991|      0|        PyObject *iobj = _PyNumber_Index(args[2]);
  992|      0|        if (iobj != NULL) {
  ------------------
  |  Branch (992:13): [True: 0, False: 0]
  ------------------
  993|      0|            ival = PyLong_AsSsize_t(iobj);
  994|      0|            Py_DECREF(iobj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  995|      0|        }
  996|      0|        if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (996:13): [True: 0, False: 0]
  |  Branch (996:27): [True: 0, False: 0]
  ------------------
  997|      0|            goto exit;
  998|      0|        }
  999|      0|        count = ival;
 1000|      0|    }
 1001|    953|skip_optional_pos:
 1002|    953|    return_value = unicode_replace_impl(self, old, new, count);
 1003|       |
 1004|    953|exit:
 1005|    953|    return return_value;
 1006|    953|}
unicodeobject.c:unicode_split:
 1266|     13|{
 1267|     13|    PyObject *return_value = NULL;
 1268|     13|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1269|       |
 1270|     13|    #define NUM_KEYWORDS 2
 1271|     13|    static struct {
 1272|     13|        PyGC_Head _this_is_not_used;
 1273|     13|        PyObject_VAR_HEAD
 1274|     13|        Py_hash_t ob_hash;
 1275|     13|        PyObject *ob_item[NUM_KEYWORDS];
 1276|     13|    } _kwtuple = {
 1277|     13|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     13|    {                                     \
  |  |   98|     13|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     13|    {                               \
  |  |  |  |   91|     13|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     13|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     13|#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|     13|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     13|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     13|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     13|        (type)                      \
  |  |  |  |   93|     13|    },
  |  |  ------------------
  |  |   99|     13|        (size)                            \
  |  |  100|     13|    },
  ------------------
 1278|     13|        .ob_hash = -1,
 1279|     13|        .ob_item = { &_Py_ID(sep), &_Py_ID(maxsplit), },
  ------------------
  |  |  920|     13|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     13|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     13|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(sep), &_Py_ID(maxsplit), },
  ------------------
  |  |  920|     13|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     13|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     13|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1280|     13|    };
 1281|     13|    #undef NUM_KEYWORDS
 1282|     13|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1283|       |
 1284|       |    #else  // !Py_BUILD_CORE
 1285|       |    #  define KWTUPLE NULL
 1286|       |    #endif  // !Py_BUILD_CORE
 1287|       |
 1288|     13|    static const char * const _keywords[] = {"sep", "maxsplit", NULL};
 1289|     13|    static _PyArg_Parser _parser = {
 1290|     13|        .keywords = _keywords,
 1291|     13|        .fname = "split",
 1292|     13|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1282|     13|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1293|     13|    };
 1294|     13|    #undef KWTUPLE
 1295|     13|    PyObject *argsbuf[2];
 1296|     13|    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 (1296:36): [True: 0, False: 13]
  ------------------
 1297|     13|    PyObject *sep = Py_None;
  ------------------
  |  |  616|     13|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1298|     13|    Py_ssize_t maxsplit = -1;
 1299|       |
 1300|     13|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|     13|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 13, False: 0]
  |  |  ------------------
  |  |   89|     13|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 13, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 13]
  |  |  |  Branch (89:43): [True: 13, False: 0]
  |  |  |  Branch (89:67): [True: 13, False: 0]
  |  |  ------------------
  |  |   90|     13|      (args) : \
  |  |   91|     13|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1301|     13|            /*minpos*/ 0, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1302|     13|    if (!args) {
  ------------------
  |  Branch (1302:9): [True: 0, False: 13]
  ------------------
 1303|      0|        goto exit;
 1304|      0|    }
 1305|     13|    if (!noptargs) {
  ------------------
  |  Branch (1305:9): [True: 2, False: 11]
  ------------------
 1306|      2|        goto skip_optional_pos;
 1307|      2|    }
 1308|     11|    if (args[0]) {
  ------------------
  |  Branch (1308:9): [True: 11, False: 0]
  ------------------
 1309|     11|        sep = args[0];
 1310|     11|        if (!--noptargs) {
  ------------------
  |  Branch (1310:13): [True: 11, False: 0]
  ------------------
 1311|     11|            goto skip_optional_pos;
 1312|     11|        }
 1313|     11|    }
 1314|      0|    {
 1315|      0|        Py_ssize_t ival = -1;
 1316|      0|        PyObject *iobj = _PyNumber_Index(args[1]);
 1317|      0|        if (iobj != NULL) {
  ------------------
  |  Branch (1317:13): [True: 0, False: 0]
  ------------------
 1318|      0|            ival = PyLong_AsSsize_t(iobj);
 1319|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1320|      0|        }
 1321|      0|        if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1321:13): [True: 0, False: 0]
  |  Branch (1321:27): [True: 0, False: 0]
  ------------------
 1322|      0|            goto exit;
 1323|      0|        }
 1324|      0|        maxsplit = ival;
 1325|      0|    }
 1326|     13|skip_optional_pos:
 1327|     13|    return_value = unicode_split_impl(self, sep, maxsplit);
 1328|       |
 1329|     13|exit:
 1330|     13|    return return_value;
 1331|     13|}
unicodeobject.c:unicode_find:
  385|      2|{
  386|      2|    PyObject *return_value = NULL;
  387|      2|    PyObject *substr;
  388|      2|    Py_ssize_t start = 0;
  389|      2|    Py_ssize_t end = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|      2|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  390|      2|    Py_ssize_t _return_value;
  391|       |
  392|      2|    if (!_PyArg_CheckPositional("find", 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]
  |  |  ------------------
  ------------------
  393|      0|        goto exit;
  394|      0|    }
  395|      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 (395:9): [True: 0, False: 2]
  ------------------
  396|      0|        _PyArg_BadArgument("find", "argument 1", "str", args[0]);
  397|      0|        goto exit;
  398|      0|    }
  399|      2|    substr = args[0];
  400|      2|    if (nargs < 2) {
  ------------------
  |  Branch (400:9): [True: 0, False: 2]
  ------------------
  401|      0|        goto skip_optional;
  402|      0|    }
  403|      2|    if (!_PyEval_SliceIndex(args[1], &start)) {
  ------------------
  |  Branch (403:9): [True: 0, False: 2]
  ------------------
  404|      0|        goto exit;
  405|      0|    }
  406|      2|    if (nargs < 3) {
  ------------------
  |  Branch (406:9): [True: 2, False: 0]
  ------------------
  407|      2|        goto skip_optional;
  408|      2|    }
  409|      0|    if (!_PyEval_SliceIndex(args[2], &end)) {
  ------------------
  |  Branch (409:9): [True: 0, False: 0]
  ------------------
  410|      0|        goto exit;
  411|      0|    }
  412|      2|skip_optional:
  413|      2|    _return_value = unicode_find_impl(str, substr, start, end);
  414|      2|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (414:9): [True: 0, False: 2]
  |  Branch (414:34): [True: 0, False: 0]
  ------------------
  415|      0|        goto exit;
  416|      0|    }
  417|      2|    return_value = PyLong_FromSsize_t(_return_value);
  418|       |
  419|      2|exit:
  420|      2|    return return_value;
  421|      2|}
unicodeobject.c:unicode_lower:
  808|      8|{
  809|      8|    return unicode_lower_impl(self);
  810|      8|}
unicodeobject.c:unicode_lstrip:
  862|      1|{
  863|      1|    PyObject *return_value = NULL;
  864|      1|    PyObject *chars = Py_None;
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  865|       |
  866|      1|    if (!_PyArg_CheckPositional("lstrip", nargs, 0, 1)) {
  ------------------
  |  |   31|      1|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 1, False: 0]
  |  |  |  Branch (31:27): [True: 1, False: 0]
  |  |  ------------------
  |  |   32|      1|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  867|      0|        goto exit;
  868|      0|    }
  869|      1|    if (nargs < 1) {
  ------------------
  |  Branch (869:9): [True: 0, False: 1]
  ------------------
  870|      0|        goto skip_optional;
  871|      0|    }
  872|      1|    chars = args[0];
  873|      1|skip_optional:
  874|      1|    return_value = unicode_lstrip_impl(self, chars);
  875|       |
  876|      1|exit:
  877|      1|    return return_value;
  878|      1|}
unicodeobject.c:unicode_rfind:
 1092|     30|{
 1093|     30|    PyObject *return_value = NULL;
 1094|     30|    PyObject *substr;
 1095|     30|    Py_ssize_t start = 0;
 1096|     30|    Py_ssize_t end = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|     30|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 1097|     30|    Py_ssize_t _return_value;
 1098|       |
 1099|     30|    if (!_PyArg_CheckPositional("rfind", nargs, 1, 3)) {
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 1100|      0|        goto exit;
 1101|      0|    }
 1102|     30|    if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|     30|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     30|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1102:9): [True: 0, False: 30]
  ------------------
 1103|      0|        _PyArg_BadArgument("rfind", "argument 1", "str", args[0]);
 1104|      0|        goto exit;
 1105|      0|    }
 1106|     30|    substr = args[0];
 1107|     30|    if (nargs < 2) {
  ------------------
  |  Branch (1107:9): [True: 30, False: 0]
  ------------------
 1108|     30|        goto skip_optional;
 1109|     30|    }
 1110|      0|    if (!_PyEval_SliceIndex(args[1], &start)) {
  ------------------
  |  Branch (1110:9): [True: 0, False: 0]
  ------------------
 1111|      0|        goto exit;
 1112|      0|    }
 1113|      0|    if (nargs < 3) {
  ------------------
  |  Branch (1113:9): [True: 0, False: 0]
  ------------------
 1114|      0|        goto skip_optional;
 1115|      0|    }
 1116|      0|    if (!_PyEval_SliceIndex(args[2], &end)) {
  ------------------
  |  Branch (1116:9): [True: 0, False: 0]
  ------------------
 1117|      0|        goto exit;
 1118|      0|    }
 1119|     30|skip_optional:
 1120|     30|    _return_value = unicode_rfind_impl(str, substr, start, end);
 1121|     30|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (1121:9): [True: 0, False: 30]
  |  Branch (1121:34): [True: 0, False: 0]
  ------------------
 1122|      0|        goto exit;
 1123|      0|    }
 1124|     30|    return_value = PyLong_FromSsize_t(_return_value);
 1125|       |
 1126|     30|exit:
 1127|     30|    return return_value;
 1128|     30|}
unicodeobject.c:unicode_rstrip:
  896|  1.43k|{
  897|  1.43k|    PyObject *return_value = NULL;
  898|  1.43k|    PyObject *chars = Py_None;
  ------------------
  |  |  616|  1.43k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  899|       |
  900|  1.43k|    if (!_PyArg_CheckPositional("rstrip", nargs, 0, 1)) {
  ------------------
  |  |   31|  1.43k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 1.43k, False: 0]
  |  |  |  Branch (31:27): [True: 1.43k, False: 0]
  |  |  ------------------
  |  |   32|  1.43k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  901|      0|        goto exit;
  902|      0|    }
  903|  1.43k|    if (nargs < 1) {
  ------------------
  |  Branch (903:9): [True: 870, False: 566]
  ------------------
  904|    870|        goto skip_optional;
  905|    870|    }
  906|    566|    chars = args[0];
  907|  1.43k|skip_optional:
  908|  1.43k|    return_value = unicode_rstrip_impl(self, chars);
  909|       |
  910|  1.43k|exit:
  911|  1.43k|    return return_value;
  912|  1.43k|}
unicodeobject.c:unicode_strip:
  828|   262k|{
  829|   262k|    PyObject *return_value = NULL;
  830|   262k|    PyObject *chars = Py_None;
  ------------------
  |  |  616|   262k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  831|       |
  832|   262k|    if (!_PyArg_CheckPositional("strip", nargs, 0, 1)) {
  ------------------
  |  |   31|   262k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 262k, False: 0]
  |  |  |  Branch (31:27): [True: 262k, False: 0]
  |  |  ------------------
  |  |   32|   262k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  833|      0|        goto exit;
  834|      0|    }
  835|   262k|    if (nargs < 1) {
  ------------------
  |  Branch (835:9): [True: 262k, False: 0]
  ------------------
  836|   262k|        goto skip_optional;
  837|   262k|    }
  838|      0|    chars = args[0];
  839|   262k|skip_optional:
  840|   262k|    return_value = unicode_strip_impl(self, chars);
  841|       |
  842|   262k|exit:
  843|   262k|    return return_value;
  844|   262k|}
unicodeobject.c:unicode_upper:
 1634|     51|{
 1635|     51|    return unicode_upper_impl(self);
 1636|     51|}
unicodeobject.c:unicode_startswith:
 1698|   157k|{
 1699|   157k|    PyObject *return_value = NULL;
 1700|   157k|    PyObject *subobj;
 1701|   157k|    Py_ssize_t start = 0;
 1702|   157k|    Py_ssize_t end = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|   157k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 1703|       |
 1704|   157k|    if (!_PyArg_CheckPositional("startswith", nargs, 1, 3)) {
  ------------------
  |  |   31|   157k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 157k, False: 0]
  |  |  |  Branch (31:27): [True: 157k, False: 0]
  |  |  ------------------
  |  |   32|   157k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1705|      0|        goto exit;
 1706|      0|    }
 1707|   157k|    subobj = args[0];
 1708|   157k|    if (nargs < 2) {
  ------------------
  |  Branch (1708:9): [True: 157k, False: 0]
  ------------------
 1709|   157k|        goto skip_optional;
 1710|   157k|    }
 1711|      0|    if (!_PyEval_SliceIndex(args[1], &start)) {
  ------------------
  |  Branch (1711:9): [True: 0, False: 0]
  ------------------
 1712|      0|        goto exit;
 1713|      0|    }
 1714|      0|    if (nargs < 3) {
  ------------------
  |  Branch (1714:9): [True: 0, False: 0]
  ------------------
 1715|      0|        goto skip_optional;
 1716|      0|    }
 1717|      0|    if (!_PyEval_SliceIndex(args[2], &end)) {
  ------------------
  |  Branch (1717:9): [True: 0, False: 0]
  ------------------
 1718|      0|        goto exit;
 1719|      0|    }
 1720|   157k|skip_optional:
 1721|   157k|    return_value = unicode_startswith_impl(self, subobj, start, end);
 1722|       |
 1723|   157k|exit:
 1724|   157k|    return return_value;
 1725|   157k|}
unicodeobject.c:unicode_endswith:
 1749|  78.6k|{
 1750|  78.6k|    PyObject *return_value = NULL;
 1751|  78.6k|    PyObject *subobj;
 1752|  78.6k|    Py_ssize_t start = 0;
 1753|  78.6k|    Py_ssize_t end = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|  78.6k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 1754|       |
 1755|  78.6k|    if (!_PyArg_CheckPositional("endswith", nargs, 1, 3)) {
  ------------------
  |  |   31|  78.6k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 78.6k, False: 0]
  |  |  |  Branch (31:27): [True: 78.6k, False: 0]
  |  |  ------------------
  |  |   32|  78.6k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1756|      0|        goto exit;
 1757|      0|    }
 1758|  78.6k|    subobj = args[0];
 1759|  78.6k|    if (nargs < 2) {
  ------------------
  |  Branch (1759:9): [True: 78.6k, False: 0]
  ------------------
 1760|  78.6k|        goto skip_optional;
 1761|  78.6k|    }
 1762|      0|    if (!_PyEval_SliceIndex(args[1], &start)) {
  ------------------
  |  Branch (1762:9): [True: 0, False: 0]
  ------------------
 1763|      0|        goto exit;
 1764|      0|    }
 1765|      0|    if (nargs < 3) {
  ------------------
  |  Branch (1765:9): [True: 0, False: 0]
  ------------------
 1766|      0|        goto skip_optional;
 1767|      0|    }
 1768|      0|    if (!_PyEval_SliceIndex(args[2], &end)) {
  ------------------
  |  Branch (1768:9): [True: 0, False: 0]
  ------------------
 1769|      0|        goto exit;
 1770|      0|    }
 1771|  78.6k|skip_optional:
 1772|  78.6k|    return_value = unicode_endswith_impl(self, subobj, start, end);
 1773|       |
 1774|  78.6k|exit:
 1775|  78.6k|    return return_value;
 1776|  78.6k|}
unicodeobject.c:unicode_isascii:
  496|  5.36k|{
  497|  5.36k|    return unicode_isascii_impl(self);
  498|  5.36k|}
unicodeobject.c:unicode_isdecimal:
  643|  4.88k|{
  644|  4.88k|    return unicode_isdecimal_impl(self);
  645|  4.88k|}
unicodeobject.c:unicode_isalpha:
  601|     14|{
  602|     14|    return unicode_isalpha_impl(self);
  603|     14|}
unicodeobject.c:unicode_isidentifier:
  706|  1.14k|{
  707|  1.14k|    return unicode_isidentifier_impl(self);
  708|  1.14k|}
unicodeobject.c:unicode_new:
 1831|      7|{
 1832|      7|    PyObject *return_value = NULL;
 1833|      7|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1834|       |
 1835|      7|    #define NUM_KEYWORDS 3
 1836|      7|    static struct {
 1837|      7|        PyGC_Head _this_is_not_used;
 1838|      7|        PyObject_VAR_HEAD
 1839|      7|        Py_hash_t ob_hash;
 1840|      7|        PyObject *ob_item[NUM_KEYWORDS];
 1841|      7|    } _kwtuple = {
 1842|      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|    },
  ------------------
 1843|      7|        .ob_hash = -1,
 1844|      7|        .ob_item = { &_Py_ID(object), &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  920|      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(object), &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  920|      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(object), &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  920|      7|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      7|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      7|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1845|      7|    };
 1846|      7|    #undef NUM_KEYWORDS
 1847|      7|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1848|       |
 1849|       |    #else  // !Py_BUILD_CORE
 1850|       |    #  define KWTUPLE NULL
 1851|       |    #endif  // !Py_BUILD_CORE
 1852|       |
 1853|      7|    static const char * const _keywords[] = {"object", "encoding", "errors", NULL};
 1854|      7|    static _PyArg_Parser _parser = {
 1855|      7|        .keywords = _keywords,
 1856|      7|        .fname = "str",
 1857|      7|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1847|      7|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1858|      7|    };
 1859|      7|    #undef KWTUPLE
 1860|      7|    PyObject *argsbuf[3];
 1861|      7|    PyObject * const *fastargs;
 1862|      7|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|      7|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1863|      7|    Py_ssize_t noptargs = nargs + (kwargs ? PyDict_GET_SIZE(kwargs) : 0) - 0;
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1863:36): [True: 0, False: 7]
  ------------------
 1864|      7|    PyObject *x = NULL;
 1865|      7|    const char *encoding = NULL;
 1866|      7|    const char *errors = NULL;
 1867|       |
 1868|      7|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|      7|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 7, Folded]
  |  |  |  Branch (88:23): [True: 7, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|     14|      (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]
  |  |  |  Branch (89:68): [True: 7, False: 0]
  |  |  ------------------
  |  |   90|     14|      (args) : \
  |  |  ------------------
  |  |  |  Branch (90:8): [True: 7, False: 0]
  |  |  ------------------
  |  |   91|      7|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |  ------------------
  |  |  |  Branch (91:29): [True: 0, False: 0]
  |  |  ------------------
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1869|      7|            /*minpos*/ 0, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1870|      7|    if (!fastargs) {
  ------------------
  |  Branch (1870:9): [True: 0, False: 7]
  ------------------
 1871|      0|        goto exit;
 1872|      0|    }
 1873|      7|    if (!noptargs) {
  ------------------
  |  Branch (1873:9): [True: 0, False: 7]
  ------------------
 1874|      0|        goto skip_optional_pos;
 1875|      0|    }
 1876|      7|    if (fastargs[0]) {
  ------------------
  |  Branch (1876:9): [True: 7, False: 0]
  ------------------
 1877|      7|        x = fastargs[0];
 1878|      7|        if (!--noptargs) {
  ------------------
  |  Branch (1878:13): [True: 7, False: 0]
  ------------------
 1879|      7|            goto skip_optional_pos;
 1880|      7|        }
 1881|      7|    }
 1882|      0|    if (fastargs[1]) {
  ------------------
  |  Branch (1882:9): [True: 0, False: 0]
  ------------------
 1883|      0|        if (!PyUnicode_Check(fastargs[1])) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1883:13): [True: 0, False: 0]
  ------------------
 1884|      0|            _PyArg_BadArgument("str", "argument 'encoding'", "str", fastargs[1]);
 1885|      0|            goto exit;
 1886|      0|        }
 1887|      0|        Py_ssize_t encoding_length;
 1888|      0|        encoding = PyUnicode_AsUTF8AndSize(fastargs[1], &encoding_length);
 1889|      0|        if (encoding == NULL) {
  ------------------
  |  Branch (1889:13): [True: 0, False: 0]
  ------------------
 1890|      0|            goto exit;
 1891|      0|        }
 1892|      0|        if (strlen(encoding) != (size_t)encoding_length) {
  ------------------
  |  Branch (1892:13): [True: 0, False: 0]
  ------------------
 1893|      0|            PyErr_SetString(PyExc_ValueError, "embedded null character");
 1894|      0|            goto exit;
 1895|      0|        }
 1896|      0|        if (!--noptargs) {
  ------------------
  |  Branch (1896:13): [True: 0, False: 0]
  ------------------
 1897|      0|            goto skip_optional_pos;
 1898|      0|        }
 1899|      0|    }
 1900|      0|    if (!PyUnicode_Check(fastargs[2])) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1900:9): [True: 0, False: 0]
  ------------------
 1901|      0|        _PyArg_BadArgument("str", "argument 'errors'", "str", fastargs[2]);
 1902|      0|        goto exit;
 1903|      0|    }
 1904|      0|    Py_ssize_t errors_length;
 1905|      0|    errors = PyUnicode_AsUTF8AndSize(fastargs[2], &errors_length);
 1906|      0|    if (errors == NULL) {
  ------------------
  |  Branch (1906:9): [True: 0, False: 0]
  ------------------
 1907|      0|        goto exit;
 1908|      0|    }
 1909|      0|    if (strlen(errors) != (size_t)errors_length) {
  ------------------
  |  Branch (1909:9): [True: 0, False: 0]
  ------------------
 1910|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
 1911|      0|        goto exit;
 1912|      0|    }
 1913|      7|skip_optional_pos:
 1914|      7|    return_value = unicode_new_impl(type, x, encoding, errors);
 1915|       |
 1916|      7|exit:
 1917|      7|    return return_value;
 1918|      7|}

_Py_set_localsplus_info:
  383|     15|{
  384|     15|    PyTuple_SET_ITEM(names, offset, Py_NewRef(name));
  ------------------
  |  |   40|     15|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  385|     15|    _PyLocals_SetKind(kinds, offset, kind);
  386|     15|}
_PyCode_Validate:
  447|  2.73k|{
  448|       |    /* Check argument types */
  449|  2.73k|    if (con->argcount < con->posonlyargcount || con->posonlyargcount < 0 ||
  ------------------
  |  Branch (449:9): [True: 0, False: 2.73k]
  |  Branch (449:49): [True: 0, False: 2.73k]
  ------------------
  450|  2.73k|        con->kwonlyargcount < 0 ||
  ------------------
  |  Branch (450:9): [True: 0, False: 2.73k]
  ------------------
  451|  2.73k|        con->stacksize < 0 || con->flags < 0 ||
  ------------------
  |  Branch (451:9): [True: 0, False: 2.73k]
  |  Branch (451:31): [True: 0, False: 2.73k]
  ------------------
  452|  2.73k|        con->code == NULL || !PyBytes_Check(con->code) ||
  ------------------
  |  |   28|  2.73k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  5.47k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (452:9): [True: 0, False: 2.73k]
  |  Branch (452:30): [True: 0, False: 2.73k]
  ------------------
  453|  2.73k|        con->consts == NULL || !PyTuple_Check(con->consts) ||
  ------------------
  |  |   27|  2.73k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  5.47k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (453:9): [True: 0, False: 2.73k]
  |  Branch (453:32): [True: 0, False: 2.73k]
  ------------------
  454|  2.73k|        con->names == NULL || !PyTuple_Check(con->names) ||
  ------------------
  |  |   27|  2.73k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  5.47k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (454:9): [True: 0, False: 2.73k]
  |  Branch (454:31): [True: 0, False: 2.73k]
  ------------------
  455|  2.73k|        con->localsplusnames == NULL || !PyTuple_Check(con->localsplusnames) ||
  ------------------
  |  |   27|  2.73k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  5.47k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (455:9): [True: 0, False: 2.73k]
  |  Branch (455:41): [True: 0, False: 2.73k]
  ------------------
  456|  2.73k|        con->localspluskinds == NULL || !PyBytes_Check(con->localspluskinds) ||
  ------------------
  |  |   28|  2.73k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  5.47k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (456:9): [True: 0, False: 2.73k]
  |  Branch (456:41): [True: 0, False: 2.73k]
  ------------------
  457|  2.73k|        PyTuple_GET_SIZE(con->localsplusnames)
  ------------------
  |  |   27|  2.73k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (457:9): [True: 0, False: 2.73k]
  ------------------
  458|  2.73k|            != PyBytes_GET_SIZE(con->localspluskinds) ||
  ------------------
  |  |   33|  5.47k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  2.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  459|  2.73k|        con->name == NULL || !PyUnicode_Check(con->name) ||
  ------------------
  |  |  103|  2.73k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  5.47k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (459:9): [True: 0, False: 2.73k]
  |  Branch (459:30): [True: 0, False: 2.73k]
  ------------------
  460|  2.73k|        con->qualname == NULL || !PyUnicode_Check(con->qualname) ||
  ------------------
  |  |  103|  2.73k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  5.47k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (460:9): [True: 0, False: 2.73k]
  |  Branch (460:34): [True: 0, False: 2.73k]
  ------------------
  461|  2.73k|        con->filename == NULL || !PyUnicode_Check(con->filename) ||
  ------------------
  |  |  103|  2.73k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  5.47k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (461:9): [True: 0, False: 2.73k]
  |  Branch (461:34): [True: 0, False: 2.73k]
  ------------------
  462|  2.73k|        con->linetable == NULL || !PyBytes_Check(con->linetable) ||
  ------------------
  |  |   28|  2.73k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  5.47k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (462:9): [True: 0, False: 2.73k]
  |  Branch (462:35): [True: 0, False: 2.73k]
  ------------------
  463|  2.73k|        con->exceptiontable == NULL || !PyBytes_Check(con->exceptiontable)
  ------------------
  |  |   28|  2.73k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.73k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (463:9): [True: 0, False: 2.73k]
  |  Branch (463:40): [True: 0, False: 2.73k]
  ------------------
  464|  2.73k|        ) {
  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|  2.73k|    if (PyBytes_GET_SIZE(con->code) > INT_MAX) {
  ------------------
  |  |   33|  2.73k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  2.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (472:9): [True: 0, False: 2.73k]
  ------------------
  473|      0|        PyErr_SetString(PyExc_OverflowError,
  474|      0|                        "code: co_code larger than INT_MAX");
  475|      0|        return -1;
  476|      0|    }
  477|  2.73k|    if (PyBytes_GET_SIZE(con->code) % sizeof(_Py_CODEUNIT) != 0 ||
  ------------------
  |  |   33|  2.73k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  2.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (477:9): [True: 0, False: 2.73k]
  ------------------
  478|  2.73k|        !_Py_IS_ALIGNED(PyBytes_AS_STRING(con->code), sizeof(_Py_CODEUNIT))
  ------------------
  |  |  221|  2.73k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (478:9): [True: 0, False: 2.73k]
  ------------------
  479|  2.73k|        ) {
  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|  2.73k|    int nlocals;
  488|  2.73k|    get_localsplus_counts(con->localsplusnames, con->localspluskinds,
  489|  2.73k|                          &nlocals, NULL, NULL);
  490|  2.73k|    int nplainlocals = nlocals -
  491|  2.73k|                       con->argcount -
  492|  2.73k|                       con->kwonlyargcount -
  493|  2.73k|                       ((con->flags & CO_VARARGS) != 0) -
  ------------------
  |  |  124|  2.73k|#define CO_VARARGS      0x0004
  ------------------
  494|  2.73k|                       ((con->flags & CO_VARKEYWORDS) != 0);
  ------------------
  |  |  125|  2.73k|#define CO_VARKEYWORDS  0x0008
  ------------------
  495|  2.73k|    if (nplainlocals < 0) {
  ------------------
  |  Branch (495:9): [True: 0, False: 2.73k]
  ------------------
  496|      0|        PyErr_SetString(PyExc_ValueError, "code: co_varnames is too small");
  497|      0|        return -1;
  498|      0|    }
  499|       |
  500|  2.73k|    return 0;
  501|  2.73k|}
_PyCode_New:
  717|  2.73k|{
  718|  2.73k|    if (intern_code_constants(con) < 0) {
  ------------------
  |  Branch (718:9): [True: 0, False: 2.73k]
  ------------------
  719|      0|        return NULL;
  720|      0|    }
  721|       |
  722|  2.73k|    PyObject *replacement_locations = NULL;
  723|       |    // Compact the linetable if we are opted out of debug
  724|       |    // ranges.
  725|  2.73k|    if (!_Py_GetConfig()->code_debug_ranges) {
  ------------------
  |  Branch (725:9): [True: 0, False: 2.73k]
  ------------------
  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|  2.73k|    Py_ssize_t size = PyBytes_GET_SIZE(con->code) / sizeof(_Py_CODEUNIT);
  ------------------
  |  |   33|  2.73k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  2.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  734|  2.73k|    PyCodeObject *co;
  735|       |#ifdef Py_GIL_DISABLED
  736|       |    co = PyObject_GC_NewVar(PyCodeObject, &PyCode_Type, size);
  737|       |#else
  738|  2.73k|    co = PyObject_NewVar(PyCodeObject, &PyCode_Type, size);
  ------------------
  |  |  137|  2.73k|                ( (type *) _PyObject_NewVar((typeobj), (n)) )
  ------------------
  739|  2.73k|#endif
  740|  2.73k|    if (co == NULL) {
  ------------------
  |  Branch (740:9): [True: 0, False: 2.73k]
  ------------------
  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|       |#ifdef Py_GIL_DISABLED
  747|       |    co->_co_unique_id = _Py_INVALID_UNIQUE_ID;
  748|       |#endif
  749|       |
  750|  2.73k|    if (init_code(co, con) < 0) {
  ------------------
  |  Branch (750:9): [True: 0, False: 2.73k]
  ------------------
  751|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  752|      0|        return NULL;
  753|      0|    }
  754|       |
  755|       |#ifdef Py_GIL_DISABLED
  756|       |    co->_co_unique_id = _PyObject_AssignUniqueId((PyObject *)co);
  757|       |    _PyObject_GC_TRACK(co);
  758|       |#endif
  759|  2.73k|    Py_XDECREF(replacement_locations);
  ------------------
  |  |  524|  2.73k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  760|  2.73k|    return co;
  761|  2.73k|}
PyCode_Addr2Line:
 1021|   549k|{
 1022|   549k|    if (addrq < 0) {
  ------------------
  |  Branch (1022:9): [True: 0, False: 549k]
  ------------------
 1023|      0|        return co->co_firstlineno;
 1024|      0|    }
 1025|   549k|    _PyCoMonitoringData *data = _Py_atomic_load_ptr_acquire(&co->_co_monitoring);
 1026|   549k|    if (data) {
  ------------------
  |  Branch (1026:9): [True: 0, False: 549k]
  ------------------
 1027|      0|        _PyCoLineInstrumentationData *lines = _Py_atomic_load_ptr_acquire(&data->lines);
 1028|      0|        if (lines) {
  ------------------
  |  Branch (1028:13): [True: 0, False: 0]
  ------------------
 1029|      0|            return _Py_Instrumentation_GetLine(co, lines, addrq/sizeof(_Py_CODEUNIT));
 1030|      0|        }
 1031|      0|    }
 1032|   549k|    assert(addrq >= 0 && addrq < _PyCode_NBYTES(co));
  ------------------
  |  Branch (1032:5): [True: 549k, False: 0]
  |  Branch (1032:5): [True: 549k, False: 0]
  ------------------
 1033|   549k|    PyCodeAddressRange bounds;
 1034|   549k|    _PyCode_InitAddressRange(co, &bounds);
 1035|   549k|    return _PyCode_CheckLineNumber(addrq, &bounds);
 1036|   549k|}
_PyLineTable_InitAddressRange:
 1057|   549k|{
 1058|   549k|    range->opaque.lo_next = (const uint8_t *)linetable;
 1059|   549k|    range->opaque.limit = range->opaque.lo_next + length;
 1060|   549k|    range->ar_start = -1;
 1061|   549k|    range->ar_end = 0;
 1062|   549k|    range->opaque.computed_line = firstlineno;
 1063|   549k|    range->ar_line = -1;
 1064|   549k|}
_PyCode_InitAddressRange:
 1068|   549k|{
 1069|   549k|    assert(co->co_linetable != NULL);
  ------------------
  |  Branch (1069:5): [True: 549k, False: 0]
  ------------------
 1070|   549k|    const char *linetable = PyBytes_AS_STRING(co->co_linetable);
  ------------------
  |  |   27|   549k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   549k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   549k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1071|   549k|    Py_ssize_t length = PyBytes_GET_SIZE(co->co_linetable);
  ------------------
  |  |   33|   549k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|   549k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   549k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1072|   549k|    _PyLineTable_InitAddressRange(linetable, length, co->co_firstlineno, bounds);
 1073|   549k|    return bounds->ar_line;
 1074|   549k|}
_PyCode_CheckLineNumber:
 1080|   549k|{
 1081|   118M|    while (bounds->ar_end <= lasti) {
  ------------------
  |  Branch (1081:12): [True: 118M, False: 549k]
  ------------------
 1082|   118M|        if (!_PyLineTable_NextAddressRange(bounds)) {
  ------------------
  |  Branch (1082:13): [True: 0, False: 118M]
  ------------------
 1083|      0|            return -1;
 1084|      0|        }
 1085|   118M|    }
 1086|   549k|    while (bounds->ar_start > lasti) {
  ------------------
  |  Branch (1086:12): [True: 0, False: 549k]
  ------------------
 1087|      0|        if (!_PyLineTable_PreviousAddressRange(bounds)) {
  ------------------
  |  Branch (1087:13): [True: 0, False: 0]
  ------------------
 1088|      0|            return -1;
 1089|      0|        }
 1090|      0|    }
 1091|   549k|    return bounds->ar_line;
 1092|   549k|}
_PyLineTable_NextAddressRange:
 1294|   118M|{
 1295|   118M|    if (at_end(range)) {
  ------------------
  |  Branch (1295:9): [True: 0, False: 118M]
  ------------------
 1296|      0|        return 0;
 1297|      0|    }
 1298|   118M|    advance(range);
 1299|   118M|    assert(range->ar_end > range->ar_start);
  ------------------
  |  Branch (1299:5): [True: 118M, False: 0]
  ------------------
 1300|   118M|    return 1;
 1301|   118M|}
_PyCode_ConstantKey:
 2935|     63|{
 2936|     63|    PyObject *key;
 2937|       |
 2938|       |    /* Py_None and Py_Ellipsis are singletons. */
 2939|     63|    if (op == Py_None || op == Py_Ellipsis
  ------------------
  |  |  616|    126|#  define Py_None (&_Py_NoneStruct)
  ------------------
                  if (op == Py_None || op == Py_Ellipsis
  ------------------
  |  |   14|    123|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
  |  Branch (2939:9): [True: 3, False: 60]
  |  Branch (2939:26): [True: 0, False: 60]
  ------------------
 2940|     63|       || PyLong_CheckExact(op)
  ------------------
  |  |   14|     60|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|    123|#  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: 0, False: 60]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2941|     63|       || PyUnicode_CheckExact(op)
  ------------------
  |  |  104|     60|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    123|#  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: 18, False: 42]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2942|       |          /* code_richcompare() uses _PyCode_ConstantKey() internally */
 2943|     42|       || PyCode_Check(op))
  ------------------
  |  |  168|     42|#define PyCode_Check(op) Py_IS_TYPE((op), &PyCode_Type)
  |  |  ------------------
  |  |  |  |  215|     42|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 6, False: 36]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2944|     27|    {
 2945|       |        /* Objects of these types are always different from object of other
 2946|       |         * type and from tuples. */
 2947|     27|        key = Py_NewRef(op);
  ------------------
  |  |  550|     27|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2948|     27|    }
 2949|     36|    else if (PyBool_Check(op) || PyBytes_CheckExact(op)) {
  ------------------
  |  |   12|     36|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|     72|#  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: 0, False: 36]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  else if (PyBool_Check(op) || PyBytes_CheckExact(op)) {
  ------------------
  |  |   29|     36|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_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: 18, False: 18]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2950|       |        /* Make booleans different from integers 0 and 1.
 2951|       |         * Avoid BytesWarning from comparing bytes with strings. */
 2952|     18|        key = _PyTuple_FromPair((PyObject *)Py_TYPE(op), 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2953|     18|    }
 2954|     18|    else if (PyFloat_CheckExact(op)) {
  ------------------
  |  |   17|     18|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_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: 0, False: 18]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2955|      0|        double d = PyFloat_AS_DOUBLE(op);
  ------------------
  |  |   18|      0|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2956|       |        /* all we need is to make the tuple different in either the 0.0
 2957|       |         * or -0.0 case from all others, just to avoid the "coercion".
 2958|       |         */
 2959|      0|        if (d == 0.0 && copysign(1.0, d) < 0.0)
  ------------------
  |  Branch (2959:13): [True: 0, False: 0]
  |  Branch (2959:25): [True: 0, False: 0]
  ------------------
 2960|      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)
  ------------------
 2961|      0|        else
 2962|      0|            key = _PyTuple_FromPair((PyObject *)Py_TYPE(op), op);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2963|      0|    }
 2964|     18|    else if (PyComplex_CheckExact(op)) {
  ------------------
  |  |   14|     18|#define PyComplex_CheckExact(op) Py_IS_TYPE((op), &PyComplex_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: 0, False: 18]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2965|      0|        Py_complex z;
 2966|      0|        int real_negzero, imag_negzero;
 2967|       |        /* For the complex case we must make complex(x, 0.)
 2968|       |           different from complex(x, -0.) and complex(0., y)
 2969|       |           different from complex(-0., y), for any x and y.
 2970|       |           All four complex zeros must be distinguished.*/
 2971|      0|        z = PyComplex_AsCComplex(op);
 2972|      0|        real_negzero = z.real == 0.0 && copysign(1.0, z.real) < 0.0;
  ------------------
  |  Branch (2972:24): [True: 0, False: 0]
  |  Branch (2972:41): [True: 0, False: 0]
  ------------------
 2973|      0|        imag_negzero = z.imag == 0.0 && copysign(1.0, z.imag) < 0.0;
  ------------------
  |  Branch (2973:24): [True: 0, False: 0]
  |  Branch (2973:41): [True: 0, False: 0]
  ------------------
 2974|       |        /* use True, False and None singleton as tags for the real and imag
 2975|       |         * sign, to make tuples different */
 2976|      0|        if (real_negzero && imag_negzero) {
  ------------------
  |  Branch (2976:13): [True: 0, False: 0]
  |  Branch (2976:29): [True: 0, False: 0]
  ------------------
 2977|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2978|      0|        }
 2979|      0|        else if (imag_negzero) {
  ------------------
  |  Branch (2979:18): [True: 0, False: 0]
  ------------------
 2980|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2981|      0|        }
 2982|      0|        else if (real_negzero) {
  ------------------
  |  Branch (2982:18): [True: 0, False: 0]
  ------------------
 2983|      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)
  ------------------
 2984|      0|        }
 2985|      0|        else {
 2986|      0|            key = _PyTuple_FromPair((PyObject *)Py_TYPE(op), op);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2987|      0|        }
 2988|      0|    }
 2989|     18|    else if (PyTuple_CheckExact(op)) {
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2990|     18|        Py_ssize_t i, len;
 2991|     18|        PyObject *tuple;
 2992|       |
 2993|     18|        len = PyTuple_GET_SIZE(op);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2994|     18|        tuple = PyTuple_New(len);
 2995|     18|        if (tuple == NULL)
  ------------------
  |  Branch (2995:13): [True: 0, False: 18]
  ------------------
 2996|      0|            return NULL;
 2997|       |
 2998|     42|        for (i=0; i < len; i++) {
  ------------------
  |  Branch (2998:19): [True: 24, False: 18]
  ------------------
 2999|     24|            PyObject *item, *item_key;
 3000|       |
 3001|     24|            item = PyTuple_GET_ITEM(op, i);
  ------------------
  |  |   29|     24|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     24|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3001:20): [True: 24, False: 0]
  ------------------
 3002|      0|            item_key = _PyCode_ConstantKey(item);
 3003|     24|            if (item_key == NULL) {
  ------------------
  |  Branch (3003:17): [True: 0, False: 24]
  ------------------
 3004|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3005|      0|                return NULL;
 3006|      0|            }
 3007|       |
 3008|     24|            PyTuple_SET_ITEM(tuple, i, item_key);
  ------------------
  |  |   40|     24|    PyTuple_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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3009|     24|        }
 3010|       |
 3011|     18|        key = _PyTuple_FromPair(tuple, op);
 3012|     18|        Py_DECREF(tuple);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3013|     18|    }
 3014|      0|    else if (PyFrozenSet_CheckExact(op)) {
  ------------------
  |  |   23|      0|#define PyFrozenSet_CheckExact(ob) 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3015|      0|        Py_ssize_t pos = 0;
 3016|      0|        PyObject *item;
 3017|      0|        Py_hash_t hash;
 3018|      0|        Py_ssize_t i, len;
 3019|      0|        PyObject *tuple, *set;
 3020|       |
 3021|      0|        len = PySet_GET_SIZE(op);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3022|      0|        tuple = PyTuple_New(len);
 3023|      0|        if (tuple == NULL)
  ------------------
  |  Branch (3023:13): [True: 0, False: 0]
  ------------------
 3024|      0|            return NULL;
 3025|       |
 3026|      0|        i = 0;
 3027|      0|        while (_PySet_NextEntry(op, &pos, &item, &hash)) {
  ------------------
  |  Branch (3027:16): [True: 0, False: 0]
  ------------------
 3028|      0|            PyObject *item_key;
 3029|       |
 3030|      0|            item_key = _PyCode_ConstantKey(item);
 3031|      0|            if (item_key == NULL) {
  ------------------
  |  Branch (3031:17): [True: 0, False: 0]
  ------------------
 3032|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3033|      0|                return NULL;
 3034|      0|            }
 3035|       |
 3036|      0|            assert(i < len);
  ------------------
  |  Branch (3036:13): [True: 0, False: 0]
  ------------------
 3037|      0|            PyTuple_SET_ITEM(tuple, i, item_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3038|      0|            i++;
 3039|      0|        }
 3040|      0|        set = PyFrozenSet_New(tuple);
 3041|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3042|      0|        if (set == NULL)
  ------------------
  |  Branch (3042:13): [True: 0, False: 0]
  ------------------
 3043|      0|            return NULL;
 3044|       |
 3045|      0|        key = _PyTuple_FromPair(set, op);
 3046|      0|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3047|      0|        return key;
 3048|      0|    }
 3049|      0|    else if (PySlice_Check(op)) {
  ------------------
  |  |   22|      0|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3050|      0|        PySliceObject *slice = (PySliceObject *)op;
 3051|      0|        PyObject *start_key = NULL;
 3052|      0|        PyObject *stop_key = NULL;
 3053|      0|        PyObject *step_key = NULL;
 3054|      0|        key = NULL;
 3055|       |
 3056|      0|        start_key = _PyCode_ConstantKey(slice->start);
 3057|      0|        if (start_key == NULL) {
  ------------------
  |  Branch (3057:13): [True: 0, False: 0]
  ------------------
 3058|      0|            goto slice_exit;
 3059|      0|        }
 3060|       |
 3061|      0|        stop_key = _PyCode_ConstantKey(slice->stop);
 3062|      0|        if (stop_key == NULL) {
  ------------------
  |  Branch (3062:13): [True: 0, False: 0]
  ------------------
 3063|      0|            goto slice_exit;
 3064|      0|        }
 3065|       |
 3066|      0|        step_key = _PyCode_ConstantKey(slice->step);
 3067|      0|        if (step_key == NULL) {
  ------------------
  |  Branch (3067:13): [True: 0, False: 0]
  ------------------
 3068|      0|            goto slice_exit;
 3069|      0|        }
 3070|       |
 3071|      0|        PyObject *slice_key = PySlice_New(start_key, stop_key, step_key);
 3072|      0|        if (slice_key == NULL) {
  ------------------
  |  Branch (3072:13): [True: 0, False: 0]
  ------------------
 3073|      0|            goto slice_exit;
 3074|      0|        }
 3075|       |
 3076|      0|        key = _PyTuple_FromPair(slice_key, op);
 3077|      0|        Py_DECREF(slice_key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3078|      0|    slice_exit:
 3079|      0|        Py_XDECREF(start_key);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3080|      0|        Py_XDECREF(stop_key);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3081|      0|        Py_XDECREF(step_key);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3082|      0|    }
 3083|      0|    else {
 3084|       |        /* for other types, use the object identifier as a unique identifier
 3085|       |         * to ensure that they are seen as unequal. */
 3086|      0|        PyObject *obj_id = PyLong_FromVoidPtr(op);
 3087|      0|        if (obj_id == NULL)
  ------------------
  |  Branch (3087:13): [True: 0, False: 0]
  ------------------
 3088|      0|            return NULL;
 3089|       |
 3090|      0|        key = _PyTuple_FromPair(obj_id, op);
 3091|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3092|      0|    }
 3093|     63|    return key;
 3094|     63|}
_PyCode_Init:
 3256|      2|{
 3257|       |#ifdef Py_GIL_DISABLED
 3258|       |    struct _py_code_state *state = &interp->code_state;
 3259|       |    state->constants = _Py_hashtable_new_full(&hash_const, &compare_constants,
 3260|       |                                              &destroy_key, NULL, NULL);
 3261|       |    if (state->constants == NULL) {
 3262|       |        return _PyStatus_NO_MEMORY();
 3263|       |    }
 3264|       |#endif
 3265|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3266|      2|}
codeobject.c:get_localsplus_counts:
  392|  5.47k|{
  393|  5.47k|    int nlocals = 0;
  394|  5.47k|    int ncellvars = 0;
  395|  5.47k|    int nfreevars = 0;
  396|  5.47k|    Py_ssize_t nlocalsplus = PyTuple_GET_SIZE(names);
  ------------------
  |  |   27|  5.47k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.47k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  397|  22.9k|    for (int i = 0; i < nlocalsplus; i++) {
  ------------------
  |  Branch (397:21): [True: 17.4k, False: 5.47k]
  ------------------
  398|  17.4k|        _PyLocals_Kind kind = _PyLocals_GetKind(kinds, i);
  399|  17.4k|        if (kind & CO_FAST_LOCAL) {
  ------------------
  |  |  197|  17.4k|#define CO_FAST_LOCAL   (0x20)
  ------------------
  |  Branch (399:13): [True: 16.0k, False: 1.36k]
  ------------------
  400|  16.0k|            nlocals += 1;
  401|  16.0k|            if (kind & CO_FAST_CELL) {
  ------------------
  |  |  198|  16.0k|#define CO_FAST_CELL    (0x40)
  ------------------
  |  Branch (401:17): [True: 154, False: 15.9k]
  ------------------
  402|    154|                ncellvars += 1;
  403|    154|            }
  404|  16.0k|        }
  405|  1.36k|        else if (kind & CO_FAST_CELL) {
  ------------------
  |  |  198|  1.36k|#define CO_FAST_CELL    (0x40)
  ------------------
  |  Branch (405:18): [True: 718, False: 648]
  ------------------
  406|    718|            ncellvars += 1;
  407|    718|        }
  408|    648|        else if (kind & CO_FAST_FREE) {
  ------------------
  |  |  199|    648|#define CO_FAST_FREE    (0x80)
  ------------------
  |  Branch (408:18): [True: 648, False: 0]
  ------------------
  409|    648|            nfreevars += 1;
  410|    648|        }
  411|  17.4k|    }
  412|  5.47k|    if (pnlocals != NULL) {
  ------------------
  |  Branch (412:9): [True: 5.47k, False: 0]
  ------------------
  413|  5.47k|        *pnlocals = nlocals;
  414|  5.47k|    }
  415|  5.47k|    if (pncellvars != NULL) {
  ------------------
  |  Branch (415:9): [True: 2.73k, False: 2.73k]
  ------------------
  416|  2.73k|        *pncellvars = ncellvars;
  417|  2.73k|    }
  418|  5.47k|    if (pnfreevars != NULL) {
  ------------------
  |  Branch (418:9): [True: 2.73k, False: 2.73k]
  ------------------
  419|  2.73k|        *pnfreevars = nfreevars;
  420|  2.73k|    }
  421|  5.47k|}
codeobject.c:intern_code_constants:
  690|  2.73k|{
  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|  2.73k|    if (intern_strings(con->names) < 0) {
  ------------------
  |  Branch (696:9): [True: 0, False: 2.73k]
  ------------------
  697|      0|        goto error;
  698|      0|    }
  699|  2.73k|    if (intern_constants(con->consts, NULL) < 0) {
  ------------------
  |  Branch (699:9): [True: 0, False: 2.73k]
  ------------------
  700|      0|        goto error;
  701|      0|    }
  702|  2.73k|    if (intern_strings(con->localsplusnames) < 0) {
  ------------------
  |  Branch (702:9): [True: 0, False: 2.73k]
  ------------------
  703|      0|        goto error;
  704|      0|    }
  705|  2.73k|    FT_MUTEX_UNLOCK(&state->mutex);
  ------------------
  |  |  206|  2.73k|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (206:44): [Folded, False: 2.73k]
  |  |  ------------------
  ------------------
  706|  2.73k|    return 0;
  707|       |
  708|      0|error:
  709|      0|    FT_MUTEX_UNLOCK(&state->mutex);
  ------------------
  |  |  206|      0|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (206:44): [Folded, False: 0]
  |  |  ------------------
  ------------------
  710|      0|    return -1;
  711|  2.73k|}
codeobject.c:intern_strings:
  183|  5.47k|{
  184|  5.47k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  185|  5.47k|    Py_ssize_t i;
  186|       |
  187|  31.9k|    for (i = PyTuple_GET_SIZE(tuple); --i >= 0; ) {
  ------------------
  |  |   27|  5.47k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.47k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (187:39): [True: 26.4k, False: 5.47k]
  ------------------
  188|  26.4k|        PyObject *v = PyTuple_GET_ITEM(tuple, i);
  ------------------
  |  |   29|  26.4k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  26.4k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (188:23): [True: 26.4k, False: 0]
  ------------------
  189|  26.4k|        if (v == NULL || !PyUnicode_CheckExact(v)) {
  ------------------
  |  |  104|  26.4k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  26.4k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  26.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  26.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (189:13): [True: 0, False: 26.4k]
  |  Branch (189:26): [True: 0, False: 26.4k]
  ------------------
  190|      0|            PyErr_SetString(PyExc_SystemError,
  191|      0|                            "non-string found in code slot");
  192|      0|            return -1;
  193|      0|        }
  194|  26.4k|        _PyUnicode_InternImmortal(interp, &_PyTuple_ITEMS(tuple)[i]);
  ------------------
  |  |   26|  26.4k|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  277|  52.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 26.4k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  195|  26.4k|    }
  196|  5.47k|    return 0;
  197|  5.47k|}
codeobject.c:intern_constants:
  204|  3.81k|{
  205|  3.81k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  206|  19.5k|    for (Py_ssize_t i = PyTuple_GET_SIZE(tuple); --i >= 0; ) {
  ------------------
  |  |   27|  3.81k|#define PyTuple_GET_SIZE(op) PyTuple_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (206:50): [True: 15.7k, False: 3.81k]
  ------------------
  207|  15.7k|        PyObject *v = PyTuple_GET_ITEM(tuple, i);
  ------------------
  |  |   29|  15.7k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  15.7k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (207:23): [True: 15.7k, False: 0]
  ------------------
  208|  15.7k|        if (PyUnicode_CheckExact(v)) {
  ------------------
  |  |  104|  15.7k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  15.7k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  15.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  15.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 9.69k, False: 6.00k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  209|  9.69k|            if (should_intern_string(v)) {
  ------------------
  |  Branch (209:17): [True: 5.86k, False: 3.83k]
  ------------------
  210|  5.86k|                PyObject *w = v;
  211|  5.86k|                _PyUnicode_InternMortal(interp, &v);
  212|  5.86k|                if (w != v) {
  ------------------
  |  Branch (212:21): [True: 0, False: 5.86k]
  ------------------
  213|      0|                    PyTuple_SET_ITEM(tuple, i, v);
  ------------------
  |  |   40|      0|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  214|      0|                    if (modified) {
  ------------------
  |  Branch (214:25): [True: 0, False: 0]
  ------------------
  215|      0|                        *modified = 1;
  216|      0|                    }
  217|      0|                }
  218|  5.86k|            }
  219|  9.69k|        }
  220|  6.00k|        else if (PyTuple_CheckExact(v)) {
  ------------------
  |  |   28|  6.00k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  6.00k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.06k, False: 4.94k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  221|  1.06k|            if (intern_constants(v, NULL) < 0) {
  ------------------
  |  Branch (221:17): [True: 0, False: 1.06k]
  ------------------
  222|      0|                return -1;
  223|      0|            }
  224|  1.06k|        }
  225|  4.94k|        else if (PyFrozenSet_CheckExact(v)) {
  ------------------
  |  |   23|  4.94k|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|  4.94k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 13, False: 4.92k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  226|     13|            PyObject *w = v;
  227|     13|            PyObject *tmp = PySequence_Tuple(v);
  228|     13|            if (tmp == NULL) {
  ------------------
  |  Branch (228:17): [True: 0, False: 13]
  ------------------
  229|      0|                return -1;
  230|      0|            }
  231|     13|            int tmp_modified = 0;
  232|     13|            if (intern_constants(tmp, &tmp_modified) < 0) {
  ------------------
  |  Branch (232:17): [True: 0, False: 13]
  ------------------
  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|     13|            if (tmp_modified) {
  ------------------
  |  Branch (236:17): [True: 0, False: 13]
  ------------------
  237|      0|                v = PyFrozenSet_New(tmp);
  238|      0|                if (v == NULL) {
  ------------------
  |  Branch (238:21): [True: 0, False: 0]
  ------------------
  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|      0|                PyTuple_SET_ITEM(tuple, i, v);
  ------------------
  |  |   40|      0|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  244|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  245|      0|                if (modified) {
  ------------------
  |  Branch (245:21): [True: 0, False: 0]
  ------------------
  246|      0|                    *modified = 1;
  247|      0|                }
  248|      0|            }
  249|     13|            Py_DECREF(tmp);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     13|        }
  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|  15.7k|    }
  303|  3.81k|    return 0;
  304|  3.81k|}
codeobject.c:should_intern_string:
  118|  9.69k|{
  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|  9.69k|    const unsigned char *s, *e;
  125|       |
  126|  9.69k|    if (!PyUnicode_IS_ASCII(o))
  ------------------
  |  |  227|  9.69k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.69k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (126:9): [True: 4, False: 9.69k]
  ------------------
  127|      4|        return 0;
  128|       |
  129|  9.69k|    s = PyUnicode_1BYTE_DATA(o);
  ------------------
  |  |  291|  9.69k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  9.69k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  130|  9.69k|    e = s + PyUnicode_GET_LENGTH(o);
  ------------------
  |  |  299|  9.69k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.69k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  131|  72.6k|    for (; s != e; s++) {
  ------------------
  |  Branch (131:12): [True: 66.8k, False: 5.86k]
  ------------------
  132|  66.8k|        if (!Py_ISALNUM(*s) && *s != '_')
  ------------------
  |  |   26|   133k|#define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |  138|  66.8k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |   12|  66.8k|#define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   10|  66.8k|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    8|  66.8k|#define PY_CTF_LOWER  0x01
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    9|  66.8k|#define PY_CTF_UPPER  0x02
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|  66.8k|#define PY_CTF_DIGIT  0x04
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (132:13): [True: 8.62k, False: 58.1k]
  |  Branch (132:32): [True: 3.82k, False: 4.79k]
  ------------------
  133|  3.82k|            return 0;
  134|  66.8k|    }
  135|  5.86k|    return 1;
  136|  9.69k|#endif
  137|  9.69k|}
codeobject.c:get_line_delta:
  625|   118M|{
  626|   118M|    int code = ((*ptr) >> 3) & 15;
  627|   118M|    switch (code) {
  628|   356k|        case PY_CODE_LOCATION_INFO_NONE:
  ------------------
  |  Branch (628:9): [True: 356k, False: 118M]
  ------------------
  629|   356k|            return 0;
  630|      0|        case PY_CODE_LOCATION_INFO_NO_COLUMNS:
  ------------------
  |  Branch (630:9): [True: 0, False: 118M]
  ------------------
  631|  5.92M|        case PY_CODE_LOCATION_INFO_LONG:
  ------------------
  |  Branch (631:9): [True: 5.92M, False: 112M]
  ------------------
  632|  5.92M|            return scan_signed_varint(ptr+1);
  633|  24.9M|        case PY_CODE_LOCATION_INFO_ONE_LINE0:
  ------------------
  |  Branch (633:9): [True: 24.9M, False: 93.4M]
  ------------------
  634|  24.9M|            return 0;
  635|  19.7M|        case PY_CODE_LOCATION_INFO_ONE_LINE1:
  ------------------
  |  Branch (635:9): [True: 19.7M, False: 98.5M]
  ------------------
  636|  19.7M|            return 1;
  637|  6.26M|        case PY_CODE_LOCATION_INFO_ONE_LINE2:
  ------------------
  |  Branch (637:9): [True: 6.26M, False: 112M]
  ------------------
  638|  6.26M|            return 2;
  639|  61.0M|        default:
  ------------------
  |  Branch (639:9): [True: 61.0M, False: 57.3M]
  ------------------
  640|       |            /* Same line */
  641|  61.0M|            return 0;
  642|   118M|    }
  643|   118M|}
codeobject.c:scan_signed_varint:
  613|  5.92M|{
  614|  5.92M|    unsigned int uval = scan_varint(ptr);
  615|  5.92M|    if (uval & 1) {
  ------------------
  |  Branch (615:9): [True: 2.08M, False: 3.83M]
  ------------------
  616|  2.08M|        return -(int)(uval >> 1);
  617|  2.08M|    }
  618|  3.83M|    else {
  619|  3.83M|        return uval >> 1;
  620|  3.83M|    }
  621|  5.92M|}
codeobject.c:scan_varint:
  599|  5.92M|{
  600|  5.92M|    unsigned int read = *ptr++;
  601|  5.92M|    unsigned int val = read & 63;
  602|  5.92M|    unsigned int shift = 0;
  603|  5.92M|    while (read & 64) {
  ------------------
  |  Branch (603:12): [True: 0, False: 5.92M]
  ------------------
  604|      0|        read = *ptr++;
  605|      0|        shift += 6;
  606|      0|        val |= (read & 63) << shift;
  607|      0|    }
  608|  5.92M|    return val;
  609|  5.92M|}
codeobject.c:init_code:
  512|  2.73k|{
  513|  2.73k|    int nlocalsplus = (int)PyTuple_GET_SIZE(con->localsplusnames);
  ------------------
  |  |   27|  2.73k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  514|  2.73k|    int nlocals, ncellvars, nfreevars;
  515|  2.73k|    get_localsplus_counts(con->localsplusnames, con->localspluskinds,
  516|  2.73k|                          &nlocals, &ncellvars, &nfreevars);
  517|  2.73k|    if (con->stacksize == 0) {
  ------------------
  |  Branch (517:9): [True: 0, False: 2.73k]
  ------------------
  518|      0|        con->stacksize = 1;
  519|      0|    }
  520|       |
  521|  2.73k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  522|  2.73k|    co->co_filename = Py_NewRef(con->filename);
  ------------------
  |  |  550|  2.73k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  523|  2.73k|    co->co_name = Py_NewRef(con->name);
  ------------------
  |  |  550|  2.73k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  524|  2.73k|    co->co_qualname = Py_NewRef(con->qualname);
  ------------------
  |  |  550|  2.73k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  525|  2.73k|    _PyUnicode_InternMortal(interp, &co->co_filename);
  526|  2.73k|    _PyUnicode_InternMortal(interp, &co->co_name);
  527|  2.73k|    _PyUnicode_InternMortal(interp, &co->co_qualname);
  528|  2.73k|    co->co_flags = con->flags;
  529|       |
  530|  2.73k|    co->co_firstlineno = con->firstlineno;
  531|  2.73k|    co->co_linetable = Py_NewRef(con->linetable);
  ------------------
  |  |  550|  2.73k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  532|       |
  533|  2.73k|    co->co_consts = Py_NewRef(con->consts);
  ------------------
  |  |  550|  2.73k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  534|  2.73k|    co->co_names = Py_NewRef(con->names);
  ------------------
  |  |  550|  2.73k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  535|       |
  536|  2.73k|    co->co_localsplusnames = Py_NewRef(con->localsplusnames);
  ------------------
  |  |  550|  2.73k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  2.73k|    co->co_localspluskinds = Py_NewRef(con->localspluskinds);
  ------------------
  |  |  550|  2.73k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  538|       |
  539|  2.73k|    co->co_argcount = con->argcount;
  540|  2.73k|    co->co_posonlyargcount = con->posonlyargcount;
  541|  2.73k|    co->co_kwonlyargcount = con->kwonlyargcount;
  542|       |
  543|  2.73k|    co->co_stacksize = con->stacksize;
  544|       |
  545|  2.73k|    co->co_exceptiontable = Py_NewRef(con->exceptiontable);
  ------------------
  |  |  550|  2.73k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  546|       |
  547|       |    /* derived values */
  548|  2.73k|    co->co_nlocalsplus = nlocalsplus;
  549|  2.73k|    co->co_nlocals = nlocals;
  550|  2.73k|    co->co_framesize = nlocalsplus + con->stacksize + FRAME_SPECIALS_SIZE;
  ------------------
  |  |  122|  2.73k|#define FRAME_SPECIALS_SIZE ((int)((sizeof(_PyInterpreterFrame)-1)/sizeof(PyObject *)))
  ------------------
  551|  2.73k|    co->co_ncellvars = ncellvars;
  552|  2.73k|    co->co_nfreevars = nfreevars;
  553|  2.73k|    FT_MUTEX_LOCK(&interp->func_state.mutex);
  ------------------
  |  |  204|  2.73k|#define FT_MUTEX_LOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (204:42): [Folded, False: 2.73k]
  |  |  ------------------
  ------------------
  554|  2.73k|    co->co_version = interp->func_state.next_version;
  555|  2.73k|    if (interp->func_state.next_version != 0) {
  ------------------
  |  Branch (555:9): [True: 2.73k, False: 0]
  ------------------
  556|  2.73k|        interp->func_state.next_version++;
  557|  2.73k|    }
  558|  2.73k|    FT_MUTEX_UNLOCK(&interp->func_state.mutex);
  ------------------
  |  |  206|  2.73k|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (206:44): [Folded, False: 2.73k]
  |  |  ------------------
  ------------------
  559|  2.73k|    co->_co_monitoring = NULL;
  560|  2.73k|    co->_co_instrumentation_version = 0;
  561|       |    /* not set */
  562|  2.73k|    co->co_weakreflist = NULL;
  563|  2.73k|    co->co_extra = NULL;
  564|  2.73k|    co->_co_cached = NULL;
  565|  2.73k|    co->co_executors = NULL;
  566|       |
  567|  2.73k|    memcpy(_PyCode_CODE(co), PyBytes_AS_STRING(con->code),
  ------------------
  |  |   16|  2.73k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|  2.73k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                  memcpy(_PyCode_CODE(co), PyBytes_AS_STRING(con->code),
  ------------------
  |  |   27|  2.73k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  568|  2.73k|           PyBytes_GET_SIZE(con->code));
  ------------------
  |  |   33|  2.73k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  2.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.73k|#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|  2.73k|    int entry_point = 0;
  577|  3.94k|    while (entry_point < Py_SIZE(co)) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (577:12): [True: 3.94k, False: 0]
  ------------------
  578|  3.94k|        if (_PyCode_CODE(co)[entry_point].op.code == RESUME &&
  ------------------
  |  |   16|  3.94k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|  3.94k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                      if (_PyCode_CODE(co)[entry_point].op.code == RESUME &&
  ------------------
  |  |  130|  7.89k|#define RESUME                                 128
  ------------------
  |  Branch (578:13): [True: 2.80k, False: 1.14k]
  ------------------
  579|  2.80k|           (_PyCode_CODE(co)[entry_point].op.arg & RESUME_OPARG_LOCATION_MASK) != RESUME_AT_GEN_EXPR_START
  ------------------
  |  |   16|  2.80k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|  2.80k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                         (_PyCode_CODE(co)[entry_point].op.arg & RESUME_OPARG_LOCATION_MASK) != RESUME_AT_GEN_EXPR_START
  ------------------
  |  |   94|  2.80k|#define RESUME_OPARG_LOCATION_MASK 0x7
  ------------------
                         (_PyCode_CODE(co)[entry_point].op.arg & RESUME_OPARG_LOCATION_MASK) != RESUME_AT_GEN_EXPR_START
  ------------------
  |  |   92|  2.80k|#define RESUME_AT_GEN_EXPR_START 4
  ------------------
  |  Branch (579:12): [True: 2.73k, False: 66]
  ------------------
  580|  3.94k|        ) {
  581|  2.73k|            break;
  582|  2.73k|        }
  583|  1.21k|        entry_point++;
  584|  1.21k|    }
  585|  2.73k|    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|  2.73k|    _PyCode_Quicken(_PyCode_CODE(co), Py_SIZE(co), interp->opt_config.specialization_enabled, co->co_flags);
  ------------------
  |  |   16|  2.73k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|  2.73k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                  _PyCode_Quicken(_PyCode_CODE(co), Py_SIZE(co), interp->opt_config.specialization_enabled, co->co_flags);
  ------------------
  |  |  214|  2.73k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  592|  2.73k|#endif
  593|  2.73k|    notify_code_watchers(PY_CODE_EVENT_CREATE, co);
  594|  2.73k|    return 0;
  595|  2.73k|}
codeobject.c:notify_code_watchers:
   42|  3.22k|{
   43|  3.22k|    assert(Py_REFCNT(co) > 0);
  ------------------
  |  Branch (43:5): [True: 3.22k, False: 0]
  ------------------
   44|  3.22k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   45|  3.22k|    assert(interp->_initialized);
  ------------------
  |  Branch (45:5): [True: 3.22k, False: 0]
  ------------------
   46|  3.22k|    uint8_t bits = interp->active_code_watchers;
   47|  3.22k|    int i = 0;
   48|  3.22k|    while (bits) {
  ------------------
  |  Branch (48:12): [True: 0, False: 3.22k]
  ------------------
   49|      0|        assert(i < CODE_MAX_WATCHERS);
  ------------------
  |  Branch (49:9): [True: 0, False: 0]
  ------------------
   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);
  ------------------
  |  Branch (53:13): [True: 0, False: 0]
  ------------------
   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|  3.22k|}
codeobject.c:is_no_line_marker:
 1096|   118M|{
 1097|   118M|    return (b >> 3) == 0x1f;
 1098|   118M|}
codeobject.c:at_end:
 1277|   118M|at_end(PyCodeAddressRange *bounds) {
 1278|   118M|    return bounds->opaque.lo_next >= bounds->opaque.limit;
 1279|   118M|}
codeobject.c:advance:
 1183|   118M|{
 1184|   118M|    ASSERT_VALID_BOUNDS(bounds);
  ------------------
  |  | 1102|   118M|    assert(bounds->opaque.lo_next <=  bounds->opaque.limit && \
  |  | 1103|   118M|        (bounds->ar_line == -1 || bounds->ar_line == bounds->opaque.computed_line) && \
  |  | 1104|   118M|        (bounds->opaque.lo_next == bounds->opaque.limit || \
  |  | 1105|   118M|        (*bounds->opaque.lo_next) & 128))
  ------------------
  |  Branch (1184:5): [True: 905k, False: 117M]
  |  Branch (1184:5): [True: 117M, False: 0]
  |  Branch (1184:5): [True: 118M, False: 0]
  |  Branch (1184:5): [True: 0, False: 118M]
  |  Branch (1184:5): [True: 118M, False: 0]
  ------------------
 1185|   118M|    bounds->opaque.computed_line += get_line_delta(bounds->opaque.lo_next);
 1186|   118M|    if (is_no_line_marker(*bounds->opaque.lo_next)) {
  ------------------
  |  Branch (1186:9): [True: 356k, False: 118M]
  ------------------
 1187|   356k|        bounds->ar_line = -1;
 1188|   356k|    }
 1189|   118M|    else {
 1190|   118M|        bounds->ar_line = bounds->opaque.computed_line;
 1191|   118M|    }
 1192|   118M|    bounds->ar_start = bounds->ar_end;
 1193|   118M|    bounds->ar_end += next_code_delta(bounds);
 1194|   307M|    do {
 1195|   307M|        bounds->opaque.lo_next++;
 1196|   307M|    } while (bounds->opaque.lo_next < bounds->opaque.limit &&
  ------------------
  |  Branch (1196:14): [True: 307M, False: 0]
  ------------------
 1197|   307M|        ((*bounds->opaque.lo_next) & 128) == 0);
  ------------------
  |  Branch (1197:9): [True: 188M, False: 118M]
  ------------------
 1198|       |    ASSERT_VALID_BOUNDS(bounds);
  ------------------
  |  | 1102|   118M|    assert(bounds->opaque.lo_next <=  bounds->opaque.limit && \
  |  | 1103|   118M|        (bounds->ar_line == -1 || bounds->ar_line == bounds->opaque.computed_line) && \
  |  | 1104|   118M|        (bounds->opaque.lo_next == bounds->opaque.limit || \
  |  | 1105|   118M|        (*bounds->opaque.lo_next) & 128))
  ------------------
  |  Branch (1198:5): [True: 356k, False: 118M]
  |  Branch (1198:5): [True: 118M, False: 0]
  |  Branch (1198:5): [True: 118M, False: 0]
  |  Branch (1198:5): [True: 0, False: 118M]
  |  Branch (1198:5): [True: 118M, False: 0]
  ------------------
 1199|   118M|}
codeobject.c:next_code_delta:
 1109|   118M|{
 1110|   118M|    assert((*bounds->opaque.lo_next) & 128);
  ------------------
  |  Branch (1110:5): [True: 118M, False: 0]
  ------------------
 1111|   118M|    return (((*bounds->opaque.lo_next) & 7) + 1) * sizeof(_Py_CODEUNIT);
 1112|   118M|}
codeobject.c:code_dealloc:
 2399|    490|{
 2400|    490|    PyThreadState *tstate = PyThreadState_GET();
  ------------------
  |  |   63|    490|#define PyThreadState_GET() PyThreadState_Get()
  ------------------
 2401|    490|    _Py_atomic_add_uint64(&tstate->interp->_code_object_generation, 1);
 2402|    490|    PyCodeObject *co = _PyCodeObject_CAST(self);
  ------------------
  |  |  114|    490|#define _PyCodeObject_CAST(op)  (assert(PyCode_Check(op)), (PyCodeObject *)(op))
  ------------------
  |  Branch (2402:24): [True: 490, False: 0]
  ------------------
 2403|      0|    _PyObject_ResurrectStart(self);
 2404|    490|    notify_code_watchers(PY_CODE_EVENT_DESTROY, co);
 2405|    490|    if (_PyObject_ResurrectEnd(self)) {
  ------------------
  |  Branch (2405:9): [True: 0, False: 490]
  ------------------
 2406|      0|        return;
 2407|      0|    }
 2408|       |
 2409|       |#ifdef Py_GIL_DISABLED
 2410|       |    PyObject_GC_UnTrack(co);
 2411|       |#endif
 2412|       |
 2413|    490|    _PyFunction_ClearCodeByVersion(co->co_version);
 2414|    490|    if (co->co_extra != NULL) {
  ------------------
  |  Branch (2414:9): [True: 0, False: 490]
  ------------------
 2415|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 2416|      0|        _PyCodeObjectExtra *co_extra = co->co_extra;
 2417|       |
 2418|      0|        for (Py_ssize_t i = 0; i < co_extra->ce_size; i++) {
  ------------------
  |  Branch (2418:32): [True: 0, False: 0]
  ------------------
 2419|      0|            freefunc free_extra = interp->co_extra_freefuncs[i];
 2420|       |
 2421|      0|            if (free_extra != NULL) {
  ------------------
  |  Branch (2421:17): [True: 0, False: 0]
  ------------------
 2422|      0|                free_extra(co_extra->ce_extras[i]);
 2423|      0|            }
 2424|      0|        }
 2425|       |
 2426|      0|        PyMem_Free(co_extra);
 2427|      0|    }
 2428|       |#ifdef _Py_TIER2
 2429|       |    if (co->co_executors != NULL) {
 2430|       |        clear_executors(co);
 2431|       |    }
 2432|       |#endif
 2433|       |
 2434|    490|    Py_XDECREF(co->co_consts);
  ------------------
  |  |  524|    490|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    490|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    490|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2435|    490|    Py_XDECREF(co->co_names);
  ------------------
  |  |  524|    490|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    490|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    490|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2436|    490|    Py_XDECREF(co->co_localsplusnames);
  ------------------
  |  |  524|    490|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    490|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    490|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2437|    490|    Py_XDECREF(co->co_localspluskinds);
  ------------------
  |  |  524|    490|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    490|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    490|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2438|    490|    Py_XDECREF(co->co_filename);
  ------------------
  |  |  524|    490|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    490|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    490|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2439|    490|    Py_XDECREF(co->co_name);
  ------------------
  |  |  524|    490|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    490|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    490|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2440|    490|    Py_XDECREF(co->co_qualname);
  ------------------
  |  |  524|    490|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    490|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    490|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2441|    490|    Py_XDECREF(co->co_linetable);
  ------------------
  |  |  524|    490|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    490|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    490|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2442|    490|    Py_XDECREF(co->co_exceptiontable);
  ------------------
  |  |  524|    490|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    490|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    490|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2443|       |#ifdef Py_GIL_DISABLED
 2444|       |    assert(co->_co_unique_id == _Py_INVALID_UNIQUE_ID);
 2445|       |#endif
 2446|    490|    if (co->_co_cached != NULL) {
  ------------------
  |  Branch (2446:9): [True: 0, False: 490]
  ------------------
 2447|      0|        Py_XDECREF(co->_co_cached->_co_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2448|      0|        Py_XDECREF(co->_co_cached->_co_cellvars);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2449|      0|        Py_XDECREF(co->_co_cached->_co_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2450|      0|        Py_XDECREF(co->_co_cached->_co_varnames);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2451|      0|        PyMem_Free(co->_co_cached);
 2452|      0|    }
 2453|    490|    FT_CLEAR_WEAKREFS(self, co->co_weakreflist);
  ------------------
  |  |   47|    490|    do {                                            \
  |  |   48|    490|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|    490|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 490]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|    490|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 490]
  |  |  ------------------
  ------------------
  |  Branch (2453:5): [True: 490, False: 0]
  ------------------
 2454|    490|    free_monitoring_data(co->_co_monitoring);
 2455|       |#ifdef Py_GIL_DISABLED
 2456|       |    if (co->co_tlbc != NULL) {
 2457|       |        // The first element always points to the mutable bytecode at the end of
 2458|       |        // the code object, which will be freed when the code object is freed.
 2459|       |        for (Py_ssize_t i = 1; i < co->co_tlbc->size; i++) {
 2460|       |            char *entry = co->co_tlbc->entries[i];
 2461|       |            if (entry != NULL) {
 2462|       |                PyMem_Free(entry);
 2463|       |            }
 2464|       |        }
 2465|       |        PyMem_Free(co->co_tlbc);
 2466|       |    }
 2467|       |#endif
 2468|    490|    PyObject_Free(co);
 2469|    490|}
codeobject.c:free_monitoring_data:
 2375|    490|{
 2376|    490|    if (data == NULL) {
  ------------------
  |  Branch (2376:9): [True: 490, False: 0]
  ------------------
 2377|    490|        return;
 2378|    490|    }
 2379|      0|    if (data->tools) {
  ------------------
  |  Branch (2379:9): [True: 0, False: 0]
  ------------------
 2380|      0|        PyMem_Free(data->tools);
 2381|      0|    }
 2382|      0|    if (data->lines) {
  ------------------
  |  Branch (2382:9): [True: 0, False: 0]
  ------------------
 2383|      0|        PyMem_Free(data->lines);
 2384|      0|    }
 2385|      0|    if (data->line_tools) {
  ------------------
  |  Branch (2385:9): [True: 0, False: 0]
  ------------------
 2386|      0|        PyMem_Free(data->line_tools);
 2387|      0|    }
 2388|      0|    if (data->per_instruction_opcodes) {
  ------------------
  |  Branch (2388:9): [True: 0, False: 0]
  ------------------
 2389|      0|        PyMem_Free(data->per_instruction_opcodes);
 2390|      0|    }
 2391|      0|    if (data->per_instruction_tools) {
  ------------------
  |  Branch (2391:9): [True: 0, False: 0]
  ------------------
 2392|      0|        PyMem_Free(data->per_instruction_tools);
 2393|      0|    }
 2394|      0|    PyMem_Free(data);
 2395|      0|}
codeobject.c:code_hash:
 2592|     15|{
 2593|     15|    PyCodeObject *co = _PyCodeObject_CAST(self);
  ------------------
  |  |  114|     15|#define _PyCodeObject_CAST(op)  (assert(PyCode_Check(op)), (PyCodeObject *)(op))
  ------------------
  |  Branch (2593:24): [True: 15, False: 0]
  ------------------
 2594|      0|    Py_uhash_t uhash = 20221211;
 2595|     15|    #define SCRAMBLE_IN(H) do {       \
 2596|     15|        uhash ^= (Py_uhash_t)(H);     \
 2597|     15|        uhash *= PyHASH_MULTIPLIER;  \
 2598|     15|    } while (0)
 2599|     15|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
 2600|     15|        Py_hash_t h = PyObject_Hash(EXPR);  \
 2601|     15|        if (h == -1) {                      \
 2602|     15|            return -1;                      \
 2603|     15|        }                                   \
 2604|     15|        SCRAMBLE_IN(h);                     \
 2605|     15|    } while (0)
 2606|       |
 2607|     15|    SCRAMBLE_IN_HASH(co->co_name);
  ------------------
  |  | 2599|     15|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
  |  | 2600|     15|        Py_hash_t h = PyObject_Hash(EXPR);  \
  |  | 2601|     15|        if (h == -1) {                      \
  |  |  ------------------
  |  |  |  Branch (2601:13): [True: 0, False: 15]
  |  |  ------------------
  |  | 2602|      0|            return -1;                      \
  |  | 2603|      0|        }                                   \
  |  | 2604|     15|        SCRAMBLE_IN(h);                     \
  |  |  ------------------
  |  |  |  | 2595|     15|    #define SCRAMBLE_IN(H) do {       \
  |  |  |  | 2596|     15|        uhash ^= (Py_uhash_t)(H);     \
  |  |  |  | 2597|     15|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  |  |  ------------------
  |  |  |  |  |  |    6|     15|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  |  |  ------------------
  |  |  |  | 2598|     15|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2598:14): [Folded, False: 15]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2605|     15|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2605:14): [Folded, False: 15]
  |  |  ------------------
  ------------------
 2608|     15|    SCRAMBLE_IN_HASH(co->co_consts);
  ------------------
  |  | 2599|     15|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
  |  | 2600|     15|        Py_hash_t h = PyObject_Hash(EXPR);  \
  |  | 2601|     15|        if (h == -1) {                      \
  |  |  ------------------
  |  |  |  Branch (2601:13): [True: 0, False: 15]
  |  |  ------------------
  |  | 2602|      0|            return -1;                      \
  |  | 2603|      0|        }                                   \
  |  | 2604|     15|        SCRAMBLE_IN(h);                     \
  |  |  ------------------
  |  |  |  | 2595|     15|    #define SCRAMBLE_IN(H) do {       \
  |  |  |  | 2596|     15|        uhash ^= (Py_uhash_t)(H);     \
  |  |  |  | 2597|     15|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  |  |  ------------------
  |  |  |  |  |  |    6|     15|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  |  |  ------------------
  |  |  |  | 2598|     15|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2598:14): [Folded, False: 15]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2605|     15|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2605:14): [Folded, False: 15]
  |  |  ------------------
  ------------------
 2609|     15|    SCRAMBLE_IN_HASH(co->co_names);
  ------------------
  |  | 2599|     15|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
  |  | 2600|     15|        Py_hash_t h = PyObject_Hash(EXPR);  \
  |  | 2601|     15|        if (h == -1) {                      \
  |  |  ------------------
  |  |  |  Branch (2601:13): [True: 0, False: 15]
  |  |  ------------------
  |  | 2602|      0|            return -1;                      \
  |  | 2603|      0|        }                                   \
  |  | 2604|     15|        SCRAMBLE_IN(h);                     \
  |  |  ------------------
  |  |  |  | 2595|     15|    #define SCRAMBLE_IN(H) do {       \
  |  |  |  | 2596|     15|        uhash ^= (Py_uhash_t)(H);     \
  |  |  |  | 2597|     15|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  |  |  ------------------
  |  |  |  |  |  |    6|     15|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  |  |  ------------------
  |  |  |  | 2598|     15|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2598:14): [Folded, False: 15]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2605|     15|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2605:14): [Folded, False: 15]
  |  |  ------------------
  ------------------
 2610|     15|    SCRAMBLE_IN_HASH(co->co_localsplusnames);
  ------------------
  |  | 2599|     15|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
  |  | 2600|     15|        Py_hash_t h = PyObject_Hash(EXPR);  \
  |  | 2601|     15|        if (h == -1) {                      \
  |  |  ------------------
  |  |  |  Branch (2601:13): [True: 0, False: 15]
  |  |  ------------------
  |  | 2602|      0|            return -1;                      \
  |  | 2603|      0|        }                                   \
  |  | 2604|     15|        SCRAMBLE_IN(h);                     \
  |  |  ------------------
  |  |  |  | 2595|     15|    #define SCRAMBLE_IN(H) do {       \
  |  |  |  | 2596|     15|        uhash ^= (Py_uhash_t)(H);     \
  |  |  |  | 2597|     15|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  |  |  ------------------
  |  |  |  |  |  |    6|     15|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  |  |  ------------------
  |  |  |  | 2598|     15|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2598:14): [Folded, False: 15]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2605|     15|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2605:14): [Folded, False: 15]
  |  |  ------------------
  ------------------
 2611|     15|    SCRAMBLE_IN_HASH(co->co_linetable);
  ------------------
  |  | 2599|     15|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
  |  | 2600|     15|        Py_hash_t h = PyObject_Hash(EXPR);  \
  |  | 2601|     15|        if (h == -1) {                      \
  |  |  ------------------
  |  |  |  Branch (2601:13): [True: 0, False: 15]
  |  |  ------------------
  |  | 2602|      0|            return -1;                      \
  |  | 2603|      0|        }                                   \
  |  | 2604|     15|        SCRAMBLE_IN(h);                     \
  |  |  ------------------
  |  |  |  | 2595|     15|    #define SCRAMBLE_IN(H) do {       \
  |  |  |  | 2596|     15|        uhash ^= (Py_uhash_t)(H);     \
  |  |  |  | 2597|     15|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  |  |  ------------------
  |  |  |  |  |  |    6|     15|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  |  |  ------------------
  |  |  |  | 2598|     15|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2598:14): [Folded, False: 15]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2605|     15|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2605:14): [Folded, False: 15]
  |  |  ------------------
  ------------------
 2612|     15|    SCRAMBLE_IN_HASH(co->co_exceptiontable);
  ------------------
  |  | 2599|     15|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
  |  | 2600|     15|        Py_hash_t h = PyObject_Hash(EXPR);  \
  |  | 2601|     15|        if (h == -1) {                      \
  |  |  ------------------
  |  |  |  Branch (2601:13): [True: 0, False: 15]
  |  |  ------------------
  |  | 2602|      0|            return -1;                      \
  |  | 2603|      0|        }                                   \
  |  | 2604|     15|        SCRAMBLE_IN(h);                     \
  |  |  ------------------
  |  |  |  | 2595|     15|    #define SCRAMBLE_IN(H) do {       \
  |  |  |  | 2596|     15|        uhash ^= (Py_uhash_t)(H);     \
  |  |  |  | 2597|     15|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  |  |  ------------------
  |  |  |  |  |  |    6|     15|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  |  |  ------------------
  |  |  |  | 2598|     15|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2598:14): [Folded, False: 15]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2605|     15|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2605:14): [Folded, False: 15]
  |  |  ------------------
  ------------------
 2613|     15|    SCRAMBLE_IN(co->co_argcount);
  ------------------
  |  | 2595|     15|    #define SCRAMBLE_IN(H) do {       \
  |  | 2596|     15|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2597|     15|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|     15|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2598|     15|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2598:14): [Folded, False: 15]
  |  |  ------------------
  ------------------
 2614|     15|    SCRAMBLE_IN(co->co_posonlyargcount);
  ------------------
  |  | 2595|     15|    #define SCRAMBLE_IN(H) do {       \
  |  | 2596|     15|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2597|     15|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|     15|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2598|     15|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2598:14): [Folded, False: 15]
  |  |  ------------------
  ------------------
 2615|     15|    SCRAMBLE_IN(co->co_kwonlyargcount);
  ------------------
  |  | 2595|     15|    #define SCRAMBLE_IN(H) do {       \
  |  | 2596|     15|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2597|     15|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|     15|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2598|     15|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2598:14): [Folded, False: 15]
  |  |  ------------------
  ------------------
 2616|     15|    SCRAMBLE_IN(co->co_flags);
  ------------------
  |  | 2595|     15|    #define SCRAMBLE_IN(H) do {       \
  |  | 2596|     15|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2597|     15|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|     15|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2598|     15|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2598:14): [Folded, False: 15]
  |  |  ------------------
  ------------------
 2617|     15|    SCRAMBLE_IN(co->co_firstlineno);
  ------------------
  |  | 2595|     15|    #define SCRAMBLE_IN(H) do {       \
  |  | 2596|     15|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2597|     15|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|     15|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2598|     15|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2598:14): [Folded, False: 15]
  |  |  ------------------
  ------------------
 2618|     15|    SCRAMBLE_IN(Py_SIZE(co));
  ------------------
  |  | 2595|     15|    #define SCRAMBLE_IN(H) do {       \
  |  | 2596|     15|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2597|     15|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|     15|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2598|     15|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2598:14): [Folded, False: 15]
  |  |  ------------------
  ------------------
 2619|    130|    for (int i = 0; i < Py_SIZE(co); i++) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2619:21): [True: 115, False: 15]
  ------------------
 2620|    115|        _Py_CODEUNIT co_instr = _Py_GetBaseCodeUnit(co, i);
 2621|    115|        SCRAMBLE_IN(co_instr.op.code);
  ------------------
  |  | 2595|    115|    #define SCRAMBLE_IN(H) do {       \
  |  | 2596|    115|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2597|    115|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|    115|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2598|    115|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2598:14): [Folded, False: 115]
  |  |  ------------------
  ------------------
 2622|    115|        SCRAMBLE_IN(co_instr.op.arg);
  ------------------
  |  | 2595|    115|    #define SCRAMBLE_IN(H) do {       \
  |  | 2596|    115|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2597|    115|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|    115|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2598|    115|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2598:14): [Folded, False: 115]
  |  |  ------------------
  ------------------
 2623|    115|        i += _PyOpcode_Caches[co_instr.op.code];
 2624|    115|    }
 2625|     15|    if ((Py_hash_t)uhash == -1) {
  ------------------
  |  Branch (2625:9): [True: 0, False: 15]
  ------------------
 2626|      0|        return -2;
 2627|      0|    }
 2628|     15|    return (Py_hash_t)uhash;
 2629|     15|}

PyDescr_NewMethod:
  928|  1.62k|{
  929|       |    /* Figure out correct vectorcall function to use */
  930|  1.62k|    vectorcallfunc vectorcall;
  931|  1.62k|    switch (method->ml_flags & (METH_VARARGS | METH_FASTCALL | METH_NOARGS |
  ------------------
  |  |   95|  1.62k|#define METH_VARARGS  0x0001
  ------------------
                  switch (method->ml_flags & (METH_VARARGS | METH_FASTCALL | METH_NOARGS |
  ------------------
  |  |  115|  1.62k|#  define METH_FASTCALL  0x0080
  ------------------
                  switch (method->ml_flags & (METH_VARARGS | METH_FASTCALL | METH_NOARGS |
  ------------------
  |  |   98|  1.62k|#define METH_NOARGS   0x0004
  ------------------
  932|  1.62k|                                METH_O | METH_KEYWORDS | METH_METHOD))
  ------------------
  |  |   99|  1.62k|#define METH_O        0x0008
  ------------------
                                              METH_O | METH_KEYWORDS | METH_METHOD))
  ------------------
  |  |   96|  1.62k|#define METH_KEYWORDS 0x0002
  ------------------
                                              METH_O | METH_KEYWORDS | METH_METHOD))
  ------------------
  |  |  133|  1.62k|#define METH_METHOD 0x0200
  ------------------
  933|  1.62k|    {
  934|     39|        case METH_VARARGS:
  ------------------
  |  |   95|     39|#define METH_VARARGS  0x0001
  ------------------
  |  Branch (934:9): [True: 39, False: 1.58k]
  ------------------
  935|     39|            vectorcall = method_vectorcall_VARARGS;
  936|     39|            break;
  937|     42|        case METH_VARARGS | METH_KEYWORDS:
  ------------------
  |  |   95|     42|#define METH_VARARGS  0x0001
  ------------------
                      case METH_VARARGS | METH_KEYWORDS:
  ------------------
  |  |   96|     42|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (937:9): [True: 42, False: 1.57k]
  ------------------
  938|     42|            vectorcall = method_vectorcall_VARARGS_KEYWORDS;
  939|     42|            break;
  940|    226|        case METH_FASTCALL:
  ------------------
  |  |  115|    226|#  define METH_FASTCALL  0x0080
  ------------------
  |  Branch (940:9): [True: 226, False: 1.39k]
  ------------------
  941|    226|            vectorcall = method_vectorcall_FASTCALL;
  942|    226|            break;
  943|    113|        case METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |  115|    113|#  define METH_FASTCALL  0x0080
  ------------------
                      case METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |   96|    113|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (943:9): [True: 113, False: 1.50k]
  ------------------
  944|    113|            vectorcall = method_vectorcall_FASTCALL_KEYWORDS;
  945|    113|            break;
  946|    841|        case METH_NOARGS:
  ------------------
  |  |   98|    841|#define METH_NOARGS   0x0004
  ------------------
  |  Branch (946:9): [True: 841, False: 779]
  ------------------
  947|    841|            vectorcall = method_vectorcall_NOARGS;
  948|    841|            break;
  949|    298|        case METH_O:
  ------------------
  |  |   99|    298|#define METH_O        0x0008
  ------------------
  |  Branch (949:9): [True: 298, False: 1.32k]
  ------------------
  950|    298|            vectorcall = method_vectorcall_O;
  951|    298|            break;
  952|     61|        case METH_METHOD | METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |  133|     61|#define METH_METHOD 0x0200
  ------------------
                      case METH_METHOD | METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |  115|     61|#  define METH_FASTCALL  0x0080
  ------------------
                      case METH_METHOD | METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |   96|     61|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (952:9): [True: 61, False: 1.55k]
  ------------------
  953|     61|            vectorcall = method_vectorcall_FASTCALL_KEYWORDS_METHOD;
  954|     61|            break;
  955|      0|        default:
  ------------------
  |  Branch (955:9): [True: 0, False: 1.62k]
  ------------------
  956|      0|            PyErr_Format(PyExc_SystemError,
  957|      0|                         "%s() method: bad call flags", method->ml_name);
  958|      0|            return NULL;
  959|  1.62k|    }
  960|       |
  961|  1.62k|    PyMethodDescrObject *descr;
  962|       |
  963|  1.62k|    descr = (PyMethodDescrObject *)descr_new(&PyMethodDescr_Type,
  964|  1.62k|                                             type, method->ml_name);
  965|  1.62k|    if (descr != NULL) {
  ------------------
  |  Branch (965:9): [True: 1.62k, False: 0]
  ------------------
  966|  1.62k|        descr->d_method = method;
  967|  1.62k|        descr->vectorcall = vectorcall;
  968|  1.62k|    }
  969|  1.62k|    return (PyObject *)descr;
  970|  1.62k|}
PyDescr_NewClassMethod:
  974|    115|{
  975|    115|    PyMethodDescrObject *descr;
  976|       |
  977|    115|    descr = (PyMethodDescrObject *)descr_new(&PyClassMethodDescr_Type,
  978|    115|                                             type, method->ml_name);
  979|    115|    if (descr != NULL)
  ------------------
  |  Branch (979:9): [True: 115, False: 0]
  ------------------
  980|    115|        descr->d_method = method;
  981|    115|    return (PyObject *)descr;
  982|    115|}
PyDescr_NewMember:
  986|    689|{
  987|    689|    PyMemberDescrObject *descr;
  988|       |
  989|    689|    if (member->flags & Py_RELATIVE_OFFSET) {
  ------------------
  |  |   86|    689|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
  |  Branch (989:9): [True: 0, False: 689]
  ------------------
  990|      0|        PyErr_SetString(
  991|      0|            PyExc_SystemError,
  992|      0|            "PyDescr_NewMember used with Py_RELATIVE_OFFSET");
  993|      0|        return NULL;
  994|      0|    }
  995|    689|    descr = (PyMemberDescrObject *)descr_new(&PyMemberDescr_Type,
  996|    689|                                             type, member->name);
  997|    689|    if (descr != NULL)
  ------------------
  |  Branch (997:9): [True: 689, False: 0]
  ------------------
  998|    689|        descr->d_member = member;
  999|    689|    return (PyObject *)descr;
 1000|    689|}
PyDescr_NewGetSet:
 1004|    449|{
 1005|    449|    PyGetSetDescrObject *descr;
 1006|       |
 1007|    449|    descr = (PyGetSetDescrObject *)descr_new(&PyGetSetDescr_Type,
 1008|    449|                                             type, getset->name);
 1009|    449|    if (descr != NULL)
  ------------------
  |  Branch (1009:9): [True: 449, False: 0]
  ------------------
 1010|    449|        descr->d_getset = getset;
 1011|    449|    return (PyObject *)descr;
 1012|    449|}
PyDescr_NewWrapper:
 1016|  2.17k|{
 1017|  2.17k|    PyWrapperDescrObject *descr;
 1018|       |
 1019|  2.17k|    descr = (PyWrapperDescrObject *)descr_new(&PyWrapperDescr_Type,
 1020|  2.17k|                                             type, base->name);
 1021|  2.17k|    if (descr != NULL) {
  ------------------
  |  Branch (1021:9): [True: 2.17k, False: 0]
  ------------------
 1022|  2.17k|        descr->d_base = base;
 1023|  2.17k|        descr->d_wrapped = wrapped;
 1024|  2.17k|    }
 1025|  2.17k|    return (PyObject *)descr;
 1026|  2.17k|}
PyDescr_IsData:
 1030|  39.5M|{
 1031|  39.5M|    return Py_TYPE(ob)->tp_descr_set != NULL;
  ------------------
  |  |  213|  39.5M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  39.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  39.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1032|  39.5M|}
PyDictProxy_New:
 1279|    387|{
 1280|    387|    mappingproxyobject *pp;
 1281|       |
 1282|    387|    if (mappingproxy_check_mapping(mapping) == -1)
  ------------------
  |  Branch (1282:9): [True: 0, False: 387]
  ------------------
 1283|      0|        return NULL;
 1284|       |
 1285|    387|    pp = PyObject_GC_New(mappingproxyobject, &PyDictProxy_Type);
  ------------------
  |  |  181|    387|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    387|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1286|    387|    if (pp != NULL) {
  ------------------
  |  Branch (1286:9): [True: 387, False: 0]
  ------------------
 1287|    387|        pp->mapping = Py_NewRef(mapping);
  ------------------
  |  |  550|    387|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    387|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    387|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1288|    387|        _PyObject_GC_TRACK(pp);
  ------------------
  |  |  507|    387|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    387|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    387|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1289|    387|    }
 1290|    387|    return (PyObject *)pp;
 1291|    387|}
PyWrapper_New:
 1503|    104|{
 1504|    104|    wrapperobject *wp;
 1505|    104|    PyWrapperDescrObject *descr;
 1506|       |
 1507|    104|    assert(PyObject_TypeCheck(d, &PyWrapperDescr_Type));
  ------------------
  |  Branch (1507:5): [True: 104, False: 0]
  ------------------
 1508|    104|    descr = (PyWrapperDescrObject *)d;
 1509|    104|    assert(_PyObject_RealIsSubclass((PyObject *)Py_TYPE(self),
  ------------------
  |  Branch (1509:5): [True: 104, False: 0]
  ------------------
 1510|    104|                                    (PyObject *)PyDescr_TYPE(descr)));
 1511|       |
 1512|    104|    wp = PyObject_GC_New(wrapperobject, &_PyMethodWrapper_Type);
  ------------------
  |  |  181|    104|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1513|    104|    if (wp != NULL) {
  ------------------
  |  Branch (1513:9): [True: 104, False: 0]
  ------------------
 1514|    104|        wp->descr = (PyWrapperDescrObject*)Py_NewRef(descr);
  ------------------
  |  |  550|    104|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1515|    104|        wp->self = Py_NewRef(self);
  ------------------
  |  |  550|    104|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1516|    104|        _PyObject_GC_TRACK(wp);
  ------------------
  |  |  507|    104|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1517|    104|    }
 1518|    104|    return (PyObject *)wp;
 1519|    104|}
descrobject.c:descr_dealloc:
   24|     79|{
   25|     79|    PyDescrObject *descr = (PyDescrObject *)self;
   26|     79|    _PyObject_GC_UNTRACK(descr);
  ------------------
  |  |  509|     79|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     79|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   27|     79|    Py_XDECREF(descr->d_type);
  ------------------
  |  |  524|     79|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     79|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   28|     79|    Py_XDECREF(descr->d_name);
  ------------------
  |  |  524|     79|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     79|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   29|     79|    Py_XDECREF(descr->d_qualname);
  ------------------
  |  |  524|     79|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     79|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   30|     79|    PyObject_GC_Del(descr);
   31|     79|}
descrobject.c:descr_traverse:
  711|   704k|{
  712|   704k|    PyDescrObject *descr = (PyDescrObject *)self;
  713|   704k|    Py_VISIT(descr->d_type);
  ------------------
  |  |  194|   704k|    do {                                                                \
  |  |  195|   704k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 704k, False: 0]
  |  |  ------------------
  |  |  196|   704k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   704k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   704k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   704k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 704k]
  |  |  ------------------
  |  |  198|   704k|                return vret;                                            \
  |  |  199|   704k|        }                                                               \
  |  |  200|   704k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 704k]
  |  |  ------------------
  ------------------
  714|   704k|    return 0;
  715|   704k|}
descrobject.c:method_get:
  139|  5.83M|{
  140|  5.83M|    PyMethodDescrObject *descr = (PyMethodDescrObject *)self;
  141|  5.83M|    if (obj == NULL) {
  ------------------
  |  Branch (141:9): [True: 64, False: 5.83M]
  ------------------
  142|     64|        return Py_NewRef(descr);
  ------------------
  |  |  550|     64|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     64|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  143|     64|    }
  144|  5.83M|    if (descr_check((PyDescrObject *)descr, obj) < 0) {
  ------------------
  |  Branch (144:9): [True: 0, False: 5.83M]
  ------------------
  145|      0|        return NULL;
  146|      0|    }
  147|  5.83M|    if (descr->d_method->ml_flags & METH_METHOD) {
  ------------------
  |  |  133|  5.83M|#define METH_METHOD 0x0200
  ------------------
  |  Branch (147:9): [True: 31, False: 5.83M]
  ------------------
  148|     31|        if (type == NULL || PyType_Check(type)) {
  ------------------
  |  |  766|     31|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 31, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (148:13): [True: 0, False: 31]
  ------------------
  149|     31|            return PyCMethod_New(descr->d_method, obj, NULL, descr->d_common.d_type);
  150|     31|        } 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|  5.83M|    } else {
  158|       |        return PyCFunction_NewEx(descr->d_method, obj, NULL);
  ------------------
  |  |   87|  5.83M|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  ------------------
  159|  5.83M|    }
  160|  5.83M|}
descrobject.c:descr_check:
   81|  28.6M|{
   82|  28.6M|    if (!PyObject_TypeCheck(obj, descr->d_type)) {
  ------------------
  |  |  378|  28.6M|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  28.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  28.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (82:9): [True: 0, False: 28.6M]
  ------------------
   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|  28.6M|    return 0;
   92|  28.6M|}
descrobject.c:classmethod_get:
   96|  1.08M|{
   97|  1.08M|    PyMethodDescrObject *descr = (PyMethodDescrObject *)self;
   98|       |    /* Ensure a valid type.  Class methods ignore obj. */
   99|  1.08M|    if (type == NULL) {
  ------------------
  |  Branch (99:9): [True: 0, False: 1.08M]
  ------------------
  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|  1.08M|    if (!PyType_Check(type)) {
  ------------------
  |  |  766|  1.08M|#  define PyType_Check(op) PyType_Check(_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 (112:9): [True: 0, False: 1.08M]
  ------------------
  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|  1.08M|    if (!PyType_IsSubtype((PyTypeObject *)type, PyDescr_TYPE(descr))) {
  ------------------
  |  |   35|  1.08M|#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
  ------------------
  |  Branch (121:9): [True: 0, False: 1.08M]
  ------------------
  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|  1.08M|    PyTypeObject *cls = NULL;
  131|  1.08M|    if (descr->d_method->ml_flags & METH_METHOD) {
  ------------------
  |  |  133|  1.08M|#define METH_METHOD 0x0200
  ------------------
  |  Branch (131:9): [True: 0, False: 1.08M]
  ------------------
  132|      0|        cls = descr->d_common.d_type;
  133|      0|    }
  134|       |    return PyCMethod_New(descr->d_method, type, NULL, cls);
  135|  1.08M|}
descrobject.c:member_get:
  164|    551|{
  165|    551|    PyMemberDescrObject *descr = (PyMemberDescrObject *)self;
  166|    551|    if (obj == NULL) {
  ------------------
  |  Branch (166:9): [True: 0, False: 551]
  ------------------
  167|      0|        return Py_NewRef(descr);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  168|      0|    }
  169|    551|    if (descr_check((PyDescrObject *)descr, obj) < 0) {
  ------------------
  |  Branch (169:9): [True: 0, False: 551]
  ------------------
  170|      0|        return NULL;
  171|      0|    }
  172|       |
  173|    551|    if (descr->d_member->flags & Py_AUDIT_READ) {
  ------------------
  |  |   84|    551|#define Py_AUDIT_READ          (1 << 1) // Added in 3.10, harmless no-op before that
  ------------------
  |  Branch (173:9): [True: 0, False: 551]
  ------------------
  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|    551|    return PyMember_GetOne((char *)obj, descr->d_member);
  181|    551|}
descrobject.c:member_set:
  234|    164|{
  235|    164|    PyMemberDescrObject *descr = (PyMemberDescrObject *)self;
  236|    164|    if (descr_setcheck((PyDescrObject *)descr, obj, value) < 0) {
  ------------------
  |  Branch (236:9): [True: 0, False: 164]
  ------------------
  237|      0|        return -1;
  238|      0|    }
  239|    164|    return PyMember_SetOne((char *)obj, descr->d_member, value);
  240|    164|}
descrobject.c:descr_setcheck:
  218|    316|{
  219|    316|    assert(obj != NULL);
  ------------------
  |  Branch (219:5): [True: 316, False: 0]
  ------------------
  220|    316|    if (!PyObject_TypeCheck(obj, descr->d_type)) {
  ------------------
  |  |  378|    316|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    316|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    316|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (220:9): [True: 0, False: 316]
  ------------------
  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|    316|    return 0;
  230|    316|}
descrobject.c:getset_get:
  185|  21.6M|{
  186|  21.6M|    PyGetSetDescrObject *descr = (PyGetSetDescrObject *)self;
  187|  21.6M|    if (obj == NULL) {
  ------------------
  |  Branch (187:9): [True: 0, False: 21.6M]
  ------------------
  188|      0|        return Py_NewRef(descr);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  189|      0|    }
  190|  21.6M|    if (descr_check((PyDescrObject *)descr, obj) < 0) {
  ------------------
  |  Branch (190:9): [True: 0, False: 21.6M]
  ------------------
  191|      0|        return NULL;
  192|      0|    }
  193|  21.6M|    if (descr->d_getset->get != NULL)
  ------------------
  |  Branch (193:9): [True: 21.6M, False: 0]
  ------------------
  194|  21.6M|        return descr_get_trampoline_call(
  ------------------
  |  |   63|  21.6M|    (get)((obj), (closure))
  ------------------
  195|  21.6M|            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|  21.6M|}
descrobject.c:getset_set:
  244|    152|{
  245|    152|    PyGetSetDescrObject *descr = (PyGetSetDescrObject *)self;
  246|    152|    if (descr_setcheck((PyDescrObject *)descr, obj, value) < 0) {
  ------------------
  |  Branch (246:9): [True: 0, False: 152]
  ------------------
  247|      0|        return -1;
  248|      0|    }
  249|    152|    if (descr->d_getset->set != NULL) {
  ------------------
  |  Branch (249:9): [True: 152, False: 0]
  ------------------
  250|    152|        return descr_set_trampoline_call(
  ------------------
  |  |   60|    152|    (set)((obj), (value), (closure))
  ------------------
  251|    152|            descr->d_getset->set, obj, value,
  252|    152|            descr->d_getset->closure);
  253|    152|    }
  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|    152|}
descrobject.c:wrapperdescr_call:
  537|  2.38k|{
  538|  2.38k|    PyWrapperDescrObject *descr = (PyWrapperDescrObject *)_descr;
  539|  2.38k|    Py_ssize_t argc;
  540|  2.38k|    PyObject *self, *result;
  541|       |
  542|       |    /* Make sure that the first argument is acceptable as 'self' */
  543|  2.38k|    assert(PyTuple_Check(args));
  ------------------
  |  Branch (543:5): [True: 2.38k, False: 0]
  ------------------
  544|  2.38k|    argc = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|  2.38k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  545|  2.38k|    if (argc < 1) {
  ------------------
  |  Branch (545:9): [True: 0, False: 2.38k]
  ------------------
  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|  2.38k|    self = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|  2.38k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  2.38k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (553:12): [True: 2.38k, False: 0]
  ------------------
  554|  2.38k|    if (!_PyObject_RealIsSubclass((PyObject *)Py_TYPE(self),
  ------------------
  |  |  213|  2.38k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (554:9): [True: 0, False: 2.38k]
  ------------------
  555|  2.38k|                                  (PyObject *)PyDescr_TYPE(descr))) {
  ------------------
  |  |   35|  2.38k|#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|  2.38k|    args = PyTuple_GetSlice(args, 1, argc);
  567|  2.38k|    if (args == NULL) {
  ------------------
  |  Branch (567:9): [True: 0, False: 2.38k]
  ------------------
  568|      0|        return NULL;
  569|      0|    }
  570|  2.38k|    result = wrapperdescr_raw_call(descr, self, args, kwds);
  571|  2.38k|    Py_DECREF(args);
  ------------------
  |  |  430|  2.38k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  572|  2.38k|    return result;
  573|  2.38k|}
descrobject.c:wrapperdescr_raw_call:
  518|  2.49k|{
  519|  2.49k|    wrapperfunc wrapper = descr->d_base->wrapper;
  520|       |
  521|  2.49k|    if (descr->d_base->flags & PyWrapperFlag_KEYWORDS) {
  ------------------
  |  |   22|  2.49k|#define PyWrapperFlag_KEYWORDS 1 /* wrapper function takes keyword args */
  ------------------
  |  Branch (521:9): [True: 2.26k, False: 227]
  ------------------
  522|  2.26k|        wrapperfunc_kwds wk = _Py_FUNC_CAST(wrapperfunc_kwds, wrapper);
  ------------------
  |  |   47|  2.26k|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  ------------------
  |  |  |  |   37|  2.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  523|  2.26k|        return (*wk)(self, args, descr->d_wrapped, kwds);
  524|  2.26k|    }
  525|       |
  526|    227|    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: 227]
  |  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|    227|    return (*wrapper)(self, args, descr->d_wrapped);
  533|    227|}
descrobject.c:wrapperdescr_get:
  205|    146|{
  206|    146|    PyWrapperDescrObject *descr = (PyWrapperDescrObject *)self;
  207|    146|    if (obj == NULL) {
  ------------------
  |  Branch (207:9): [True: 42, False: 104]
  ------------------
  208|     42|        return Py_NewRef(descr);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  209|     42|    }
  210|    104|    if (descr_check((PyDescrObject *)descr, obj) < 0) {
  ------------------
  |  Branch (210:9): [True: 0, False: 104]
  ------------------
  211|      0|        return NULL;
  212|      0|    }
  213|    104|    return PyWrapper_New((PyObject *)descr, obj);
  214|    104|}
descrobject.c:method_vectorcall_VARARGS:
  310|     37|{
  311|     37|    PyThreadState *tstate = _PyThreadState_GET();
  312|     37|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     37|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  313|     37|    if (method_check_args(func, args, nargs, kwnames)) {
  ------------------
  |  Branch (313:9): [True: 0, False: 37]
  ------------------
  314|      0|        return NULL;
  315|      0|    }
  316|     37|    PyObject *argstuple = PyTuple_FromArray(args+1, nargs-1);
  317|     37|    if (argstuple == NULL) {
  ------------------
  |  Branch (317:9): [True: 0, False: 37]
  ------------------
  318|      0|        return NULL;
  319|      0|    }
  320|     37|    PyCFunction meth = (PyCFunction)method_enter_call(tstate, func);
  321|     37|    if (meth == NULL) {
  ------------------
  |  Branch (321:9): [True: 0, False: 37]
  ------------------
  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|     37|    PyObject *result = _PyCFunction_TrampolineCall(
  ------------------
  |  |  997|     37|    (meth)((self), (args))
  ------------------
  326|     37|        meth, args[0], argstuple);
  327|     37|    Py_DECREF(argstuple);
  ------------------
  |  |  430|     37|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  328|     37|    _Py_LeaveRecursiveCallTstate(tstate);
  329|     37|    return result;
  330|     37|}
descrobject.c:method_check_args:
  268|  1.06M|{
  269|  1.06M|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (269:5): [True: 1.06M, False: 0]
  ------------------
  270|  1.06M|    if (nargs < 1) {
  ------------------
  |  Branch (270:9): [True: 0, False: 1.06M]
  ------------------
  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|  1.06M|    PyObject *self = args[0];
  280|  1.06M|    if (descr_check((PyDescrObject *)func, self) < 0) {
  ------------------
  |  Branch (280:9): [True: 0, False: 1.06M]
  ------------------
  281|      0|        return -1;
  282|      0|    }
  283|  1.06M|    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: 1.06M]
  ------------------
  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|  1.06M|    return 0;
  293|  1.06M|}
descrobject.c:method_enter_call:
  299|  1.06M|{
  300|  1.06M|    if (_Py_EnterRecursiveCallTstate(tstate, " while calling a Python object")) {
  ------------------
  |  Branch (300:9): [True: 0, False: 1.06M]
  ------------------
  301|      0|        return NULL;
  302|      0|    }
  303|  1.06M|    return (funcptr)((PyMethodDescrObject *)func)->d_method->ml_meth;
  304|  1.06M|}
descrobject.c:method_vectorcall_VARARGS_KEYWORDS:
  335|     32|{
  336|     32|    PyThreadState *tstate = _PyThreadState_GET();
  337|     32|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     32|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  338|     32|    if (method_check_args(func, args, nargs, NULL)) {
  ------------------
  |  Branch (338:9): [True: 0, False: 32]
  ------------------
  339|      0|        return NULL;
  340|      0|    }
  341|     32|    PyObject *argstuple = PyTuple_FromArray(args+1, nargs-1);
  342|     32|    if (argstuple == NULL) {
  ------------------
  |  Branch (342:9): [True: 0, False: 32]
  ------------------
  343|      0|        return NULL;
  344|      0|    }
  345|     32|    PyObject *result = NULL;
  346|       |    /* Create a temporary dict for keyword arguments */
  347|     32|    PyObject *kwdict = NULL;
  348|     32|    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 (348:9): [True: 0, False: 32]
  |  Branch (348:28): [True: 0, False: 0]
  ------------------
  349|      0|        kwdict = _PyStack_AsDict(args + nargs, kwnames);
  350|      0|        if (kwdict == NULL) {
  ------------------
  |  Branch (350:13): [True: 0, False: 0]
  ------------------
  351|      0|            goto exit;
  352|      0|        }
  353|      0|    }
  354|     32|    PyCFunctionWithKeywords meth = (PyCFunctionWithKeywords)
  355|     32|                                   method_enter_call(tstate, func);
  356|     32|    if (meth == NULL) {
  ------------------
  |  Branch (356:9): [True: 0, False: 32]
  ------------------
  357|      0|        goto exit;
  358|      0|    }
  359|     32|    result = _PyCFunctionWithKeywords_TrampolineCall(
  ------------------
  |  |  999|     32|    (meth)((self), (args), (kw))
  ------------------
  360|     32|        meth, args[0], argstuple, kwdict);
  361|     32|    _Py_LeaveRecursiveCallTstate(tstate);
  362|     32|exit:
  363|     32|    Py_DECREF(argstuple);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  364|     32|    Py_XDECREF(kwdict);
  ------------------
  |  |  524|     32|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  365|     32|    return result;
  366|     32|}
descrobject.c:method_vectorcall_FASTCALL:
  391|  1.17k|{
  392|  1.17k|    PyThreadState *tstate = _PyThreadState_GET();
  393|  1.17k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  1.17k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  394|  1.17k|    if (method_check_args(func, args, nargs, kwnames)) {
  ------------------
  |  Branch (394:9): [True: 0, False: 1.17k]
  ------------------
  395|      0|        return NULL;
  396|      0|    }
  397|  1.17k|    PyCFunctionFast meth = (PyCFunctionFast)
  398|  1.17k|                            method_enter_call(tstate, func);
  399|  1.17k|    if (meth == NULL) {
  ------------------
  |  Branch (399:9): [True: 0, False: 1.17k]
  ------------------
  400|      0|        return NULL;
  401|      0|    }
  402|  1.17k|    PyObject *result = meth(args[0], args+1, nargs-1);
  403|  1.17k|    _Py_LeaveRecursiveCallTstate(tstate);
  404|  1.17k|    return result;
  405|  1.17k|}
descrobject.c:method_vectorcall_FASTCALL_KEYWORDS:
  410|     21|{
  411|     21|    PyThreadState *tstate = _PyThreadState_GET();
  412|     21|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     21|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  413|     21|    if (method_check_args(func, args, nargs, NULL)) {
  ------------------
  |  Branch (413:9): [True: 0, False: 21]
  ------------------
  414|      0|        return NULL;
  415|      0|    }
  416|     21|    PyCFunctionFastWithKeywords meth = (PyCFunctionFastWithKeywords)
  417|     21|                                        method_enter_call(tstate, func);
  418|     21|    if (meth == NULL) {
  ------------------
  |  Branch (418:9): [True: 0, False: 21]
  ------------------
  419|      0|        return NULL;
  420|      0|    }
  421|     21|    PyObject *result = meth(args[0], args+1, nargs-1, kwnames);
  422|     21|    _Py_LeaveRecursiveCallTstate(tstate);
  423|     21|    return result;
  424|     21|}
descrobject.c:method_vectorcall_NOARGS:
  429|   356k|{
  430|   356k|    PyThreadState *tstate = _PyThreadState_GET();
  431|   356k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|   356k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  432|   356k|    if (method_check_args(func, args, nargs, kwnames)) {
  ------------------
  |  Branch (432:9): [True: 0, False: 356k]
  ------------------
  433|      0|        return NULL;
  434|      0|    }
  435|   356k|    if (nargs != 1) {
  ------------------
  |  Branch (435:9): [True: 0, False: 356k]
  ------------------
  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|   356k|    PyCFunction meth = (PyCFunction)method_enter_call(tstate, func);
  445|   356k|    if (meth == NULL) {
  ------------------
  |  Branch (445:9): [True: 0, False: 356k]
  ------------------
  446|      0|        return NULL;
  447|      0|    }
  448|   356k|    PyObject *result = _PyCFunction_TrampolineCall(meth, args[0], NULL);
  ------------------
  |  |  997|   356k|    (meth)((self), (args))
  ------------------
  449|   356k|    _Py_LeaveRecursiveCallTstate(tstate);
  450|   356k|    return result;
  451|   356k|}
descrobject.c:method_vectorcall_O:
  456|   356k|{
  457|   356k|    PyThreadState *tstate = _PyThreadState_GET();
  458|   356k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|   356k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  459|   356k|    if (method_check_args(func, args, nargs, kwnames)) {
  ------------------
  |  Branch (459:9): [True: 0, False: 356k]
  ------------------
  460|      0|        return NULL;
  461|      0|    }
  462|   356k|    if (nargs != 2) {
  ------------------
  |  Branch (462:9): [True: 0, False: 356k]
  ------------------
  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|   356k|    PyCFunction meth = (PyCFunction)method_enter_call(tstate, func);
  473|   356k|    if (meth == NULL) {
  ------------------
  |  Branch (473:9): [True: 0, False: 356k]
  ------------------
  474|      0|        return NULL;
  475|      0|    }
  476|   356k|    PyObject *result = _PyCFunction_TrampolineCall(meth, args[0], args[1]);
  ------------------
  |  |  997|   356k|    (meth)((self), (args))
  ------------------
  477|   356k|    _Py_LeaveRecursiveCallTstate(tstate);
  478|   356k|    return result;
  479|   356k|}
descrobject.c:method_vectorcall_FASTCALL_KEYWORDS_METHOD:
  371|   355k|{
  372|   355k|    PyThreadState *tstate = _PyThreadState_GET();
  373|   355k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|   355k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  374|   355k|    if (method_check_args(func, args, nargs, NULL)) {
  ------------------
  |  Branch (374:9): [True: 0, False: 355k]
  ------------------
  375|      0|        return NULL;
  376|      0|    }
  377|   355k|    PyCMethod meth = (PyCMethod) method_enter_call(tstate, func);
  378|   355k|    if (meth == NULL) {
  ------------------
  |  Branch (378:9): [True: 0, False: 355k]
  ------------------
  379|      0|        return NULL;
  380|      0|    }
  381|   355k|    PyObject *result = meth(args[0],
  382|   355k|                            ((PyMethodDescrObject *)func)->d_common.d_type,
  383|   355k|                            args+1, nargs-1, kwnames);
  384|   355k|    _Py_LeaveRecursiveCall();
  385|   355k|    return result;
  386|   355k|}
descrobject.c:descr_new:
  908|  5.04k|{
  909|  5.04k|    PyDescrObject *descr;
  910|       |
  911|  5.04k|    descr = (PyDescrObject *)PyType_GenericAlloc(descrtype, 0);
  912|  5.04k|    if (descr != NULL) {
  ------------------
  |  Branch (912:9): [True: 5.04k, False: 0]
  ------------------
  913|  5.04k|        _PyObject_SetDeferredRefcount((PyObject *)descr);
  914|  5.04k|        descr->d_type = (PyTypeObject*)Py_XNewRef(type);
  ------------------
  |  |  551|  5.04k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  5.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  915|  5.04k|        descr->d_name = PyUnicode_InternFromString(name);
  916|  5.04k|        if (descr->d_name == NULL) {
  ------------------
  |  Branch (916:13): [True: 0, False: 5.04k]
  ------------------
  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|  5.04k|        else {
  920|       |            descr->d_qualname = NULL;
  921|  5.04k|        }
  922|  5.04k|    }
  923|  5.04k|    return descr;
  924|  5.04k|}
descrobject.c:mappingproxy_check_mapping:
 1265|    387|{
 1266|    387|    if (!PyMapping_Check(mapping)
  ------------------
  |  Branch (1266:9): [True: 0, False: 387]
  ------------------
 1267|    387|        || PyList_Check(mapping)
  ------------------
  |  |   25|    387|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    774|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 387]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1268|    387|        || PyTuple_Check(mapping)) {
  ------------------
  |  |   27|    387|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    387|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 387]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1269|      0|        PyErr_Format(PyExc_TypeError,
 1270|      0|                    "mappingproxy() argument must be a mapping, not %s",
 1271|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1272|      0|        return -1;
 1273|      0|    }
 1274|    387|    return 0;
 1275|    387|}
descrobject.c:wrapper_dealloc:
 1325|    104|{
 1326|    104|    wrapperobject *wp = (wrapperobject *)self;
 1327|    104|    PyObject_GC_UnTrack(wp);
 1328|    104|    Py_XDECREF(wp->descr);
  ------------------
  |  |  524|    104|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1329|    104|    Py_XDECREF(wp->self);
  ------------------
  |  |  524|    104|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1330|    104|    PyObject_GC_Del(wp);
 1331|    104|}
descrobject.c:wrapper_call:
 1449|    103|{
 1450|    103|    wrapperobject *wp = (wrapperobject *)self;
 1451|    103|    return wrapperdescr_raw_call(wp->descr, wp->self, args, kwds);
 1452|    103|}
descrobject.c:mappingproxy_dealloc:
 1189|    387|{
 1190|    387|    mappingproxyobject *pp = (mappingproxyobject *)self;
 1191|    387|    _PyObject_GC_UNTRACK(pp);
  ------------------
  |  |  509|    387|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    387|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    387|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1192|    387|    Py_DECREF(pp->mapping);
  ------------------
  |  |  430|    387|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    387|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    387|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1193|    387|    PyObject_GC_Del(pp);
 1194|    387|}
descrobject.c:mappingproxy_contains:
 1090|     92|{
 1091|     92|    mappingproxyobject *pp = (mappingproxyobject *)self;
 1092|     92|    if (PyDict_CheckExact(pp->mapping))
  ------------------
  |  |   19|     92|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1093|     92|        return PyDict_Contains(pp->mapping, key);
 1094|      0|    else
 1095|      0|        return PySequence_Contains(pp->mapping, key);
 1096|     92|}
descrobject.c:mappingproxy_getitem:
 1053|    283|{
 1054|    283|    mappingproxyobject *pp = (mappingproxyobject *)self;
 1055|    283|    return PyObject_GetItem(pp->mapping, key);
 1056|    283|}
descrobject.c:mappingproxy_get:
 1113|    124|{
 1114|    124|    mappingproxyobject *pp = (mappingproxyobject *)self;
 1115|       |    /* newargs: mapping, key, default=None */
 1116|    124|    PyObject *newargs[3];
 1117|    124|    newargs[0] = pp->mapping;
 1118|    124|    newargs[2] = Py_None;
  ------------------
  |  |  616|    124|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1119|       |
 1120|    124|    if (!_PyArg_UnpackStack(args, nargs, "get", 1, 2,
  ------------------
  |  Branch (1120:9): [True: 0, False: 124]
  ------------------
 1121|    124|                            &newargs[1], &newargs[2]))
 1122|      0|    {
 1123|      0|        return NULL;
 1124|      0|    }
 1125|    124|    return PyObject_VectorcallMethod(&_Py_ID(get), newargs,
  ------------------
  |  |  920|    124|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    124|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    124|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1126|    124|                                     3 | PY_VECTORCALL_ARGUMENTS_OFFSET,
  ------------------
  |  |  287|    124|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    124|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1127|       |                                     NULL);
 1128|    124|}
descrobject.c:mappingproxy_keys:
 1132|      8|{
 1133|      8|    mappingproxyobject *pp = (mappingproxyobject *)self;
 1134|      8|    return PyObject_CallMethodNoArgs(pp->mapping, &_Py_ID(keys));
  ------------------
  |  |  920|      8|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      8|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      8|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1135|      8|}
descrobject.c:mappingproxy_items:
 1146|     78|{
 1147|     78|    mappingproxyobject *pp = (mappingproxyobject *)self;
 1148|     78|    return PyObject_CallMethodNoArgs(pp->mapping, &_Py_ID(items));
  ------------------
  |  |  920|     78|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     78|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     78|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1149|     78|}
descrobject.c:mappingproxy_new_impl:
 1305|      1|{
 1306|      1|    return PyDictProxy_New(mapping);
 1307|      1|}
descrobject.c:property_dealloc:
 1648|      4|{
 1649|      4|    propertyobject *gs = (propertyobject *)self;
 1650|       |
 1651|      4|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  509|      4|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1652|      4|    Py_XDECREF(gs->prop_get);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1653|      4|    Py_XDECREF(gs->prop_set);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1654|      4|    Py_XDECREF(gs->prop_del);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1655|      4|    Py_XDECREF(gs->prop_doc);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1656|      4|    Py_XDECREF(gs->prop_name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1657|      4|    Py_TYPE(self)->tp_free(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1658|      4|}
descrobject.c:property_traverse:
 1991|  7.90k|{
 1992|  7.90k|    propertyobject *pp = (propertyobject *)self;
 1993|  7.90k|    Py_VISIT(pp->prop_get);
  ------------------
  |  |  194|  7.90k|    do {                                                                \
  |  |  195|  7.90k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 7.90k, False: 0]
  |  |  ------------------
  |  |  196|  7.90k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  7.90k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  7.90k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 7.90k]
  |  |  ------------------
  |  |  198|  7.90k|                return vret;                                            \
  |  |  199|  7.90k|        }                                                               \
  |  |  200|  7.90k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 7.90k]
  |  |  ------------------
  ------------------
 1994|  7.90k|    Py_VISIT(pp->prop_set);
  ------------------
  |  |  194|  7.90k|    do {                                                                \
  |  |  195|  7.90k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 540, False: 7.36k]
  |  |  ------------------
  |  |  196|    540|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    540|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    540|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    540|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 540]
  |  |  ------------------
  |  |  198|    540|                return vret;                                            \
  |  |  199|    540|        }                                                               \
  |  |  200|  7.90k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 7.90k]
  |  |  ------------------
  ------------------
 1995|  7.90k|    Py_VISIT(pp->prop_del);
  ------------------
  |  |  194|  7.90k|    do {                                                                \
  |  |  195|  7.90k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 7.90k]
  |  |  ------------------
  |  |  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|  7.90k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 7.90k]
  |  |  ------------------
  ------------------
 1996|  7.90k|    Py_VISIT(pp->prop_doc);
  ------------------
  |  |  194|  7.90k|    do {                                                                \
  |  |  195|  7.90k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.83k, False: 5.06k]
  |  |  ------------------
  |  |  196|  2.83k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  2.83k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  2.83k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2.83k]
  |  |  ------------------
  |  |  198|  2.83k|                return vret;                                            \
  |  |  199|  2.83k|        }                                                               \
  |  |  200|  7.90k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 7.90k]
  |  |  ------------------
  ------------------
 1997|  7.90k|    Py_VISIT(pp->prop_name);
  ------------------
  |  |  194|  7.90k|    do {                                                                \
  |  |  195|  7.90k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 7.90k, False: 0]
  |  |  ------------------
  |  |  196|  7.90k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  7.90k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  7.90k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 7.90k]
  |  |  ------------------
  |  |  198|  7.90k|                return vret;                                            \
  |  |  199|  7.90k|        }                                                               \
  |  |  200|  7.90k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 7.90k]
  |  |  ------------------
  ------------------
 1998|  7.90k|    return 0;
 1999|  7.90k|}
descrobject.c:property_copy:
 1777|      4|{
 1778|      4|    propertyobject *pold = (propertyobject *)old;
 1779|      4|    PyObject *new, *type, *doc;
 1780|       |
 1781|      4|    type = PyObject_Type(old);
 1782|      4|    if (type == NULL)
  ------------------
  |  Branch (1782:9): [True: 0, False: 4]
  ------------------
 1783|      0|        return NULL;
 1784|       |
 1785|      4|    if (get == NULL || get == Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1785:9): [True: 4, False: 0]
  |  Branch (1785:24): [True: 0, False: 0]
  ------------------
 1786|      4|        get = pold->prop_get ? pold->prop_get : Py_None;
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1786:15): [True: 4, False: 0]
  ------------------
 1787|      4|    }
 1788|      4|    if (set == NULL || set == Py_None) {
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1788:9): [True: 0, False: 4]
  |  Branch (1788:24): [True: 0, False: 4]
  ------------------
 1789|      0|        set = pold->prop_set ? pold->prop_set : Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1789:15): [True: 0, False: 0]
  ------------------
 1790|      0|    }
 1791|      4|    if (del == NULL || del == Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1791:9): [True: 4, False: 0]
  |  Branch (1791:24): [True: 0, False: 0]
  ------------------
 1792|      4|        del = pold->prop_del ? pold->prop_del : Py_None;
  ------------------
  |  |  616|      8|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1792:15): [True: 0, False: 4]
  ------------------
 1793|      4|    }
 1794|      4|    if (pold->getter_doc && get != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1794:9): [True: 0, False: 4]
  |  Branch (1794:29): [True: 0, False: 0]
  ------------------
 1795|       |        /* make _init use __doc__ from getter */
 1796|      0|        doc = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1797|      0|    }
 1798|      4|    else {
 1799|      4|        doc = pold->prop_doc ? pold->prop_doc : Py_None;
  ------------------
  |  |  616|      8|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1799:15): [True: 0, False: 4]
  ------------------
 1800|      4|    }
 1801|       |
 1802|      4|    new =  PyObject_CallFunctionObjArgs(type, get, set, del, doc, NULL);
 1803|      4|    Py_DECREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1804|      4|    if (new == NULL)
  ------------------
  |  Branch (1804:9): [True: 0, False: 4]
  ------------------
 1805|      0|        return NULL;
 1806|       |
 1807|      4|    if (PyObject_TypeCheck((new), &PyProperty_Type)) {
  ------------------
  |  |  378|      4|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (378:40): [True: 4, False: 0]
  |  |  ------------------
  ------------------
 1808|      4|        Py_XSETREF(((propertyobject *) new)->prop_name, Py_XNewRef(pold->prop_name));
  ------------------
  |  |  374|      4|    do { \
  |  |  375|      4|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|      4|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|      4|        *_tmp_dst_ptr = (src); \
  |  |  378|      4|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 1809|      4|    }
 1810|      4|    return new;
 1811|      4|}
descrobject.c:property_setter:
 1598|      4|{
 1599|      4|    return property_copy(self, NULL, setter, NULL);
 1600|      4|}
descrobject.c:property_set_name:
 1620|     38|property_set_name(PyObject *self, PyObject *args) {
 1621|     38|    if (PyTuple_GET_SIZE(args) != 2) {
  ------------------
  |  |   27|     38|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1621:9): [True: 0, False: 38]
  ------------------
 1622|      0|        PyErr_Format(
 1623|      0|                PyExc_TypeError,
 1624|      0|                "__set_name__() takes 2 positional arguments but %zd were given",
 1625|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1626|      0|        return NULL;
 1627|      0|    }
 1628|       |
 1629|     38|    propertyobject *prop = (propertyobject *)self;
 1630|     38|    PyObject *name = PyTuple_GET_ITEM(args, 1);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1630:22): [True: 38, False: 0]
  ------------------
 1631|       |
 1632|     38|    Py_XSETREF(prop->prop_name, Py_XNewRef(name));
  ------------------
  |  |  374|     38|    do { \
  |  |  375|     38|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     38|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|     38|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     38|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|     38|        *_tmp_dst_ptr = (src); \
  |  |  378|     38|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|     38|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 38]
  |  |  ------------------
  ------------------
 1633|       |
 1634|     38|    Py_RETURN_NONE;
  ------------------
  |  |  628|     38|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     38|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1635|     38|}
descrobject.c:property_get___isabstractmethod__:
 1953|     13|{
 1954|     13|    propertyobject *prop = _propertyobject_CAST(op);
  ------------------
  |  | 1524|     13|#define _propertyobject_CAST(op)    ((propertyobject *)(op))
  ------------------
 1955|     13|    int res = _PyObject_IsAbstract(prop->prop_get);
 1956|     13|    if (res == -1) {
  ------------------
  |  Branch (1956:9): [True: 0, False: 13]
  ------------------
 1957|      0|        return NULL;
 1958|      0|    }
 1959|     13|    else if (res) {
  ------------------
  |  Branch (1959:14): [True: 4, False: 9]
  ------------------
 1960|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1961|      4|    }
 1962|       |
 1963|      9|    res = _PyObject_IsAbstract(prop->prop_set);
 1964|      9|    if (res == -1) {
  ------------------
  |  Branch (1964:9): [True: 0, False: 9]
  ------------------
 1965|      0|        return NULL;
 1966|      0|    }
 1967|      9|    else if (res) {
  ------------------
  |  Branch (1967:14): [True: 0, False: 9]
  ------------------
 1968|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1969|      0|    }
 1970|       |
 1971|      9|    res = _PyObject_IsAbstract(prop->prop_del);
 1972|      9|    if (res == -1) {
  ------------------
  |  Branch (1972:9): [True: 0, False: 9]
  ------------------
 1973|      0|        return NULL;
 1974|      0|    }
 1975|      9|    else if (res) {
  ------------------
  |  Branch (1975:14): [True: 0, False: 9]
  ------------------
 1976|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1977|      0|    }
 1978|      9|    Py_RETURN_FALSE;
  ------------------
  |  |   45|      9|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      9|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1979|      9|}
descrobject.c:property_descr_get:
 1676|  1.14k|{
 1677|  1.14k|    if (obj == NULL || obj == Py_None) {
  ------------------
  |  |  616|  1.14k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1677:9): [True: 4, False: 1.14k]
  |  Branch (1677:24): [True: 0, False: 1.14k]
  ------------------
 1678|      4|        return Py_NewRef(self);
  ------------------
  |  |  550|      4|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1679|      4|    }
 1680|       |
 1681|  1.14k|    propertyobject *gs = (propertyobject *)self;
 1682|  1.14k|    if (gs->prop_get == NULL) {
  ------------------
  |  Branch (1682:9): [True: 0, False: 1.14k]
  ------------------
 1683|      0|        PyObject *propname;
 1684|      0|        if (property_name(gs, &propname) < 0) {
  ------------------
  |  Branch (1684:13): [True: 0, False: 0]
  ------------------
 1685|      0|            return NULL;
 1686|      0|        }
 1687|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1688|      0|        if (propname != NULL && qualname != NULL) {
  ------------------
  |  Branch (1688:13): [True: 0, False: 0]
  |  Branch (1688:33): [True: 0, False: 0]
  ------------------
 1689|      0|            PyErr_Format(PyExc_AttributeError,
 1690|      0|                         "property %R of %R object has no getter",
 1691|      0|                         propname,
 1692|      0|                         qualname);
 1693|      0|        }
 1694|      0|        else if (qualname != NULL) {
  ------------------
  |  Branch (1694:18): [True: 0, False: 0]
  ------------------
 1695|      0|            PyErr_Format(PyExc_AttributeError,
 1696|      0|                         "property of %R object has no getter",
 1697|      0|                         qualname);
 1698|      0|        } else {
 1699|      0|            PyErr_SetString(PyExc_AttributeError,
 1700|      0|                            "property has no getter");
 1701|      0|        }
 1702|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1703|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1704|      0|        return NULL;
 1705|      0|    }
 1706|       |
 1707|  1.14k|    return PyObject_CallOneArg(gs->prop_get, obj);
 1708|  1.14k|}
descrobject.c:property_descr_set:
 1712|      8|{
 1713|      8|    propertyobject *gs = (propertyobject *)self;
 1714|      8|    PyObject *func, *res;
 1715|       |
 1716|      8|    if (value == NULL) {
  ------------------
  |  Branch (1716:9): [True: 0, False: 8]
  ------------------
 1717|      0|        func = gs->prop_del;
 1718|      0|    }
 1719|      8|    else {
 1720|      8|        func = gs->prop_set;
 1721|      8|    }
 1722|       |
 1723|      8|    if (func == NULL) {
  ------------------
  |  Branch (1723:9): [True: 0, False: 8]
  ------------------
 1724|      0|        PyObject *propname;
 1725|      0|        if (property_name(gs, &propname) < 0) {
  ------------------
  |  Branch (1725:13): [True: 0, False: 0]
  ------------------
 1726|      0|            return -1;
 1727|      0|        }
 1728|      0|        PyObject *qualname = NULL;
 1729|      0|        if (obj != NULL) {
  ------------------
  |  Branch (1729:13): [True: 0, False: 0]
  ------------------
 1730|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1731|      0|        }
 1732|      0|        if (propname != NULL && qualname != NULL) {
  ------------------
  |  Branch (1732:13): [True: 0, False: 0]
  |  Branch (1732:33): [True: 0, False: 0]
  ------------------
 1733|      0|            PyErr_Format(PyExc_AttributeError,
 1734|      0|                        value == NULL ?
  ------------------
  |  Branch (1734:25): [True: 0, False: 0]
  ------------------
 1735|      0|                        "property %R of %R object has no deleter" :
 1736|      0|                        "property %R of %R object has no setter",
 1737|      0|                        propname,
 1738|      0|                        qualname);
 1739|      0|        }
 1740|      0|        else if (qualname != NULL) {
  ------------------
  |  Branch (1740:18): [True: 0, False: 0]
  ------------------
 1741|      0|            PyErr_Format(PyExc_AttributeError,
 1742|      0|                            value == NULL ?
  ------------------
  |  Branch (1742:29): [True: 0, False: 0]
  ------------------
 1743|      0|                            "property of %R object has no deleter" :
 1744|      0|                            "property of %R object has no setter",
 1745|      0|                            qualname);
 1746|      0|        }
 1747|      0|        else {
 1748|      0|            PyErr_SetString(PyExc_AttributeError,
 1749|      0|                         value == NULL ?
  ------------------
  |  Branch (1749:26): [True: 0, False: 0]
  ------------------
 1750|      0|                         "property has no deleter" :
 1751|      0|                         "property has no setter");
 1752|      0|        }
 1753|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1754|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1755|      0|        return -1;
 1756|      0|    }
 1757|       |
 1758|      8|    if (value == NULL) {
  ------------------
  |  Branch (1758:9): [True: 0, False: 8]
  ------------------
 1759|      0|        res = PyObject_CallOneArg(func, obj);
 1760|      0|    }
 1761|      8|    else {
 1762|      8|        EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|      8|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
 1763|      8|        PyObject *args[] = { obj, value };
 1764|      8|        res = PyObject_Vectorcall(func, args, 2, NULL);
 1765|      8|    }
 1766|       |
 1767|      8|    if (res == NULL) {
  ------------------
  |  Branch (1767:9): [True: 0, False: 8]
  ------------------
 1768|      0|        return -1;
 1769|      0|    }
 1770|       |
 1771|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1772|      8|    return 0;
 1773|      8|}
descrobject.c:property_init_impl:
 1854|     37|{
 1855|     37|    if (fget == Py_None)
  ------------------
  |  |  616|     37|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1855:9): [True: 0, False: 37]
  ------------------
 1856|      0|        fget = NULL;
 1857|     37|    if (fset == Py_None)
  ------------------
  |  |  616|     37|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1857:9): [True: 0, False: 37]
  ------------------
 1858|      0|        fset = NULL;
 1859|     37|    if (fdel == Py_None)
  ------------------
  |  |  616|     37|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1859:9): [True: 4, False: 33]
  ------------------
 1860|      4|        fdel = NULL;
 1861|       |
 1862|     37|    Py_XSETREF(self->prop_get, Py_XNewRef(fget));
  ------------------
  |  |  374|     37|    do { \
  |  |  375|     37|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     37|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|     37|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     37|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|     37|        *_tmp_dst_ptr = (src); \
  |  |  378|     37|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     37|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|     37|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 37]
  |  |  ------------------
  ------------------
 1863|     37|    Py_XSETREF(self->prop_set, Py_XNewRef(fset));
  ------------------
  |  |  374|     37|    do { \
  |  |  375|     37|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     37|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|     37|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     37|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|     37|        *_tmp_dst_ptr = (src); \
  |  |  378|     37|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     37|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|     37|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 37]
  |  |  ------------------
  ------------------
 1864|     37|    Py_XSETREF(self->prop_del, Py_XNewRef(fdel));
  ------------------
  |  |  374|     37|    do { \
  |  |  375|     37|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     37|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|     37|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     37|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|     37|        *_tmp_dst_ptr = (src); \
  |  |  378|     37|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     37|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|     37|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 37]
  |  |  ------------------
  ------------------
 1865|     37|    Py_XSETREF(self->prop_doc, NULL);
  ------------------
  |  |  374|     37|    do { \
  |  |  375|     37|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     37|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|     37|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     37|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|     37|        *_tmp_dst_ptr = (src); \
  |  |  378|     37|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     37|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|     37|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 37]
  |  |  ------------------
  ------------------
 1866|     37|    Py_XSETREF(self->prop_name, NULL);
  ------------------
  |  |  374|     37|    do { \
  |  |  375|     37|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     37|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|     37|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     37|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|     37|        *_tmp_dst_ptr = (src); \
  |  |  378|     37|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     37|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|     37|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 37]
  |  |  ------------------
  ------------------
 1867|       |
 1868|     37|    self->getter_doc = 0;
 1869|     37|    PyObject *prop_doc = NULL;
 1870|       |
 1871|     37|    if (doc != NULL && doc != Py_None) {
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1871:9): [True: 4, False: 33]
  |  Branch (1871:24): [True: 0, False: 4]
  ------------------
 1872|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1873|      0|    }
 1874|       |    /* if no docstring given and the getter has one, use that one */
 1875|     37|    else if (fget != NULL) {
  ------------------
  |  Branch (1875:14): [True: 37, False: 0]
  ------------------
 1876|     37|        int rc = PyObject_GetOptionalAttr(fget, &_Py_ID(__doc__), &prop_doc);
  ------------------
  |  |  920|     37|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     37|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     37|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1877|     37|        if (rc < 0) {
  ------------------
  |  Branch (1877:13): [True: 0, False: 37]
  ------------------
 1878|      0|            return rc;
 1879|      0|        }
 1880|     37|        if (prop_doc == Py_None) {
  ------------------
  |  |  616|     37|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1880:13): [True: 25, False: 12]
  ------------------
 1881|     25|            prop_doc = NULL;
 1882|     25|            Py_DECREF(Py_None);
  ------------------
  |  |  430|     25|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     25|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1883|     25|        }
 1884|     37|        if (prop_doc != NULL){
  ------------------
  |  Branch (1884:13): [True: 12, False: 25]
  ------------------
 1885|     12|            self->getter_doc = 1;
 1886|     12|        }
 1887|     37|    }
 1888|       |
 1889|       |    /* At this point `prop_doc` is either NULL or
 1890|       |       a non-None object with incremented ref counter */
 1891|       |
 1892|     37|    if (Py_IS_TYPE(self, &PyProperty_Type)) {
  ------------------
  |  |  215|     37|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 37, False: 0]
  |  |  ------------------
  ------------------
 1893|     37|        Py_XSETREF(self->prop_doc, prop_doc);
  ------------------
  |  |  374|     37|    do { \
  |  |  375|     37|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     37|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|     37|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     37|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|     37|        *_tmp_dst_ptr = (src); \
  |  |  378|     37|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     37|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|     37|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 37]
  |  |  ------------------
  ------------------
 1894|     37|    } else {
 1895|       |        /* If this is a property subclass, put __doc__ in the dict
 1896|       |           or designated slot of the subclass instance instead, otherwise
 1897|       |           it gets shadowed by __doc__ in the class's dict. */
 1898|       |
 1899|      0|        if (prop_doc == NULL) {
  ------------------
  |  Branch (1899:13): [True: 0, False: 0]
  ------------------
 1900|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1901|      0|        }
 1902|      0|        int err = PyObject_SetAttr(
 1903|      0|                    (PyObject *)self, &_Py_ID(__doc__), prop_doc);
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1904|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1905|      0|        if (err < 0) {
  ------------------
  |  Branch (1905:13): [True: 0, False: 0]
  ------------------
 1906|      0|            assert(PyErr_Occurred());
  ------------------
  |  Branch (1906:13): [True: 0, False: 0]
  ------------------
 1907|      0|            if (!self->getter_doc &&
  ------------------
  |  Branch (1907:17): [True: 0, False: 0]
  ------------------
 1908|      0|                PyErr_ExceptionMatches(PyExc_AttributeError))
  ------------------
  |  Branch (1908:17): [True: 0, False: 0]
  ------------------
 1909|      0|            {
 1910|      0|                PyErr_Clear();
 1911|       |                // https://github.com/python/cpython/issues/98963#issuecomment-1574413319
 1912|       |                // Python silently dropped this doc assignment through 3.11.
 1913|       |                // We preserve that behavior for backwards compatibility.
 1914|       |                //
 1915|       |                // If we ever want to deprecate this behavior, only raise a
 1916|       |                // warning or error when proc_doc is not None so that
 1917|       |                // property without a specific doc= still works.
 1918|      0|                return 0;
 1919|      0|            } else {
 1920|      0|                return -1;
 1921|      0|            }
 1922|      0|        }
 1923|      0|    }
 1924|       |
 1925|     37|    return 0;
 1926|     37|}

_PyDict_CheckConsistency:
  699|  5.20M|{
  700|  5.20M|    ASSERT_WORLD_STOPPED_OR_DICT_LOCKED(op);
  701|       |
  702|  5.20M|#define CHECK(expr) \
  703|  5.20M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  704|       |
  705|  5.20M|    assert(op != NULL);
  ------------------
  |  Branch (705:5): [True: 5.20M, False: 0]
  ------------------
  706|  5.20M|    CHECK(PyAnyDict_Check(op));
  ------------------
  |  |  703|  5.20M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:16): [True: 5.20M, False: 3]
  |  |  |  Branch (703:16): [True: 3, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 5.20M]
  |  |  ------------------
  ------------------
  707|  5.20M|    PyDictObject *mp = (PyDictObject *)op;
  708|       |
  709|  5.20M|    PyDictKeysObject *keys = mp->ma_keys;
  710|  5.20M|    int splitted = _PyDict_HasSplitTable(mp);
  ------------------
  |  |   56|  5.20M|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  ------------------
  711|  5.20M|    Py_ssize_t usable = USABLE_FRACTION(DK_SIZE(keys));
  ------------------
  |  |  590|  5.20M|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  712|       |
  713|       |    // In the free-threaded build, shared keys may be concurrently modified,
  714|       |    // so use atomic loads.
  715|  5.20M|    Py_ssize_t dk_usable = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_usable);
  ------------------
  |  |  148|  5.20M|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  716|  5.20M|    Py_ssize_t dk_nentries = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_nentries);
  ------------------
  |  |  148|  5.20M|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  717|       |
  718|  5.20M|    CHECK(0 <= mp->ma_used && mp->ma_used <= usable);
  ------------------
  |  |  703|  10.4M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:16): [True: 5.20M, False: 0]
  |  |  |  Branch (703:16): [True: 5.20M, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 5.20M]
  |  |  ------------------
  ------------------
  719|  5.20M|    CHECK(0 <= dk_usable && dk_usable <= usable);
  ------------------
  |  |  703|  10.4M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:16): [True: 5.20M, False: 0]
  |  |  |  Branch (703:16): [True: 5.20M, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 5.20M]
  |  |  ------------------
  ------------------
  720|  5.20M|    CHECK(0 <= dk_nentries && dk_nentries <= usable);
  ------------------
  |  |  703|  10.4M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:16): [True: 5.20M, False: 0]
  |  |  |  Branch (703:16): [True: 5.20M, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 5.20M]
  |  |  ------------------
  ------------------
  721|  5.20M|    CHECK(dk_usable + dk_nentries <= usable);
  ------------------
  |  |  703|  5.20M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 5.20M]
  |  |  |  Branch (703:89): [Folded, False: 5.20M]
  |  |  ------------------
  ------------------
  722|       |
  723|  5.20M|    if (!splitted) {
  ------------------
  |  Branch (723:9): [True: 5.20M, False: 524]
  ------------------
  724|       |        /* combined table */
  725|  5.20M|        CHECK(keys->dk_kind != DICT_KEYS_SPLIT);
  ------------------
  |  |  703|  5.20M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 5.20M]
  |  |  |  Branch (703:89): [Folded, False: 5.20M]
  |  |  ------------------
  ------------------
  726|  5.20M|        CHECK(keys->dk_refcnt == 1 || keys == Py_EMPTY_KEYS);
  ------------------
  |  |  703|  6.30M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:16): [True: 4.10M, False: 1.09M]
  |  |  |  Branch (703:16): [True: 1.09M, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 5.20M]
  |  |  ------------------
  ------------------
  727|  5.20M|    }
  728|    524|    else {
  729|    524|        CHECK(keys->dk_kind == DICT_KEYS_SPLIT);
  ------------------
  |  |  703|    524|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 524]
  |  |  |  Branch (703:89): [Folded, False: 524]
  |  |  ------------------
  ------------------
  730|    524|        CHECK(mp->ma_used <= SHARED_KEYS_MAX_SIZE);
  ------------------
  |  |  703|    524|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 524]
  |  |  |  Branch (703:89): [Folded, False: 524]
  |  |  ------------------
  ------------------
  731|    524|        if (mp->ma_values->embedded) {
  ------------------
  |  Branch (731:13): [True: 0, False: 524]
  ------------------
  732|      0|            CHECK(mp->ma_values->embedded == 1);
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  733|      0|            CHECK(mp->ma_values->valid == 1);
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  734|      0|        }
  735|    524|    }
  736|       |
  737|  5.20M|    if (check_content) {
  ------------------
  |  Branch (737:9): [True: 0, False: 5.20M]
  ------------------
  738|      0|        LOCK_KEYS_IF_SPLIT(keys, keys->dk_kind);
  739|      0|        for (Py_ssize_t i=0; i < DK_SIZE(keys); i++) {
  ------------------
  |  |  274|      0|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  ------------------
  |  |  |  |  272|      0|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (739:30): [True: 0, False: 0]
  ------------------
  740|      0|            Py_ssize_t ix = dictkeys_get_index(keys, i);
  741|      0|            CHECK(DKIX_DUMMY <= ix && ix <= usable);
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:16): [True: 0, False: 0]
  |  |  |  Branch (703:16): [True: 0, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  742|      0|        }
  743|       |
  744|      0|        if (keys->dk_kind == DICT_KEYS_GENERAL) {
  ------------------
  |  Branch (744:13): [True: 0, False: 0]
  ------------------
  745|      0|            PyDictKeyEntry *entries = DK_ENTRIES(keys);
  746|      0|            for (Py_ssize_t i=0; i < usable; i++) {
  ------------------
  |  Branch (746:34): [True: 0, False: 0]
  ------------------
  747|      0|                PyDictKeyEntry *entry = &entries[i];
  748|      0|                PyObject *key = entry->me_key;
  749|       |
  750|      0|                if (key != NULL) {
  ------------------
  |  Branch (750:21): [True: 0, False: 0]
  ------------------
  751|       |                    /* test_dict fails if PyObject_Hash() is called again */
  752|      0|                    CHECK(entry->me_hash != -1);
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  753|      0|                    CHECK(entry->me_value != NULL);
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  754|       |
  755|      0|                    if (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  756|      0|                        Py_hash_t hash = unicode_get_hash(key);
  757|      0|                        CHECK(entry->me_hash == hash);
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  758|      0|                    }
  759|      0|                }
  760|      0|            }
  761|      0|        }
  762|      0|        else {
  763|      0|            PyDictUnicodeEntry *entries = DK_UNICODE_ENTRIES(keys);
  764|      0|            for (Py_ssize_t i=0; i < usable; i++) {
  ------------------
  |  Branch (764:34): [True: 0, False: 0]
  ------------------
  765|      0|                PyDictUnicodeEntry *entry = &entries[i];
  766|      0|                PyObject *key = entry->me_key;
  767|       |
  768|      0|                if (key != NULL) {
  ------------------
  |  Branch (768:21): [True: 0, False: 0]
  ------------------
  769|      0|                    CHECK(PyUnicode_CheckExact(key));
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  770|      0|                    Py_hash_t hash = unicode_get_hash(key);
  771|      0|                    CHECK(hash != -1);
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  772|      0|                    if (!splitted) {
  ------------------
  |  Branch (772:25): [True: 0, False: 0]
  ------------------
  773|      0|                        CHECK(entry->me_value != NULL);
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  774|      0|                    }
  775|      0|                }
  776|       |
  777|      0|                if (splitted) {
  ------------------
  |  Branch (777:21): [True: 0, False: 0]
  ------------------
  778|      0|                    CHECK(entry->me_value == NULL);
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  779|      0|                }
  780|      0|            }
  781|      0|        }
  782|       |
  783|      0|        if (splitted) {
  ------------------
  |  Branch (783:13): [True: 0, False: 0]
  ------------------
  784|      0|            CHECK(mp->ma_used <= SHARED_KEYS_MAX_SIZE);
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  785|       |            /* splitted table */
  786|      0|            int duplicate_check = 0;
  787|      0|            for (Py_ssize_t i=0; i < mp->ma_used; i++) {
  ------------------
  |  Branch (787:34): [True: 0, False: 0]
  ------------------
  788|      0|                int index = get_index_from_order(mp, i);
  789|      0|                CHECK((duplicate_check & (1<<index)) == 0);
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  790|      0|                duplicate_check |= (1<<index);
  791|      0|                CHECK(mp->ma_values->values[index] != NULL);
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  792|      0|            }
  793|      0|        }
  794|      0|        UNLOCK_KEYS_IF_SPLIT(keys, keys->dk_kind);
  795|      0|    }
  796|  5.20M|    return 1;
  797|       |
  798|  5.20M|#undef CHECK
  799|  5.20M|}
PyDict_New:
 1085|  15.1k|{
 1086|       |    /* We don't incref Py_EMPTY_KEYS here because it is immortal. */
 1087|  15.1k|    return new_dict(Py_EMPTY_KEYS, NULL, 0, 0);
  ------------------
  |  |  660|  15.1k|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
 1088|  15.1k|}
_PyDictKeys_StringLookup:
 1301|    126|{
 1302|    126|    if (!check_keys_unicode(dk, key)) {
  ------------------
  |  Branch (1302:9): [True: 0, False: 126]
  ------------------
 1303|      0|        return DKIX_ERROR;
  ------------------
  |  |  187|      0|#define DKIX_ERROR (-3)
  ------------------
 1304|      0|    }
 1305|    126|    Py_hash_t hash = hash_unicode_key(key);
 1306|    126|    return unicodekeys_lookup_unicode(dk, key, hash);
 1307|    126|}
_PyDictKeys_StringLookupAndVersion:
 1311|  1.96k|{
 1312|  1.96k|    if (!check_keys_unicode(dk, key)) {
  ------------------
  |  Branch (1312:9): [True: 0, False: 1.96k]
  ------------------
 1313|      0|        return DKIX_ERROR;
  ------------------
  |  |  187|      0|#define DKIX_ERROR (-3)
  ------------------
 1314|      0|    }
 1315|  1.96k|    Py_ssize_t ix;
 1316|  1.96k|    Py_hash_t hash = hash_unicode_key(key);
 1317|  1.96k|    LOCK_KEYS(dk);
 1318|  1.96k|    ix = unicodekeys_lookup_unicode(dk, key, hash);
 1319|  1.96k|    *version = _PyDictKeys_GetVersionForCurrentState(_PyInterpreterState_GET(), dk);
 1320|  1.96k|    UNLOCK_KEYS(dk);
 1321|  1.96k|    return ix;
 1322|  1.96k|}
_PyDictKeys_StringLookupSplit:
 1329|  15.4M|{
 1330|  15.4M|    assert(dk->dk_kind == DICT_KEYS_SPLIT);
  ------------------
  |  Branch (1330:5): [True: 15.4M, False: 0]
  ------------------
 1331|  15.4M|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (1331:5): [True: 15.4M, False: 0]
  ------------------
 1332|  15.4M|    Py_hash_t hash = unicode_get_hash(key);
 1333|  15.4M|    if (hash == -1) {
  ------------------
  |  Branch (1333:9): [True: 0, False: 15.4M]
  ------------------
 1334|      0|        hash = PyUnicode_Type.tp_hash(key);
 1335|      0|        if (hash == -1) {
  ------------------
  |  Branch (1335:13): [True: 0, False: 0]
  ------------------
 1336|      0|            PyErr_Clear();
 1337|      0|            return DKIX_ERROR;
  ------------------
  |  |  187|      0|#define DKIX_ERROR (-3)
  ------------------
 1338|      0|        }
 1339|      0|    }
 1340|  15.4M|    return unicodekeys_lookup_split(dk, key, hash);
 1341|  15.4M|}
_Py_dict_lookup:
 1360|  30.2M|{
 1361|  30.2M|    PyDictKeysObject *dk;
 1362|  30.2M|    DictKeysKind kind;
 1363|  30.2M|    Py_ssize_t ix;
 1364|       |
 1365|  30.2M|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(mp);
 1366|  30.2M|start:
 1367|  30.2M|    dk = mp->ma_keys;
 1368|  30.2M|    kind = dk->dk_kind;
 1369|       |
 1370|  30.2M|    if (kind != DICT_KEYS_GENERAL) {
  ------------------
  |  Branch (1370:9): [True: 20.2M, False: 9.97M]
  ------------------
 1371|  20.2M|        if (PyUnicode_CheckExact(key)) {
  ------------------
  |  |  104|  20.2M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  20.2M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  20.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  20.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 20.2M, False: 2.08k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1372|       |#ifdef Py_GIL_DISABLED
 1373|       |            if (kind == DICT_KEYS_SPLIT) {
 1374|       |                ix = unicodekeys_lookup_split(dk, key, hash);
 1375|       |            }
 1376|       |            else {
 1377|       |                ix = unicodekeys_lookup_unicode(dk, key, hash);
 1378|       |            }
 1379|       |#else
 1380|  20.2M|            ix = unicodekeys_lookup_unicode(dk, key, hash);
 1381|  20.2M|#endif
 1382|  20.2M|        }
 1383|  2.08k|        else {
 1384|  2.08k|            INCREF_KEYS_FT(dk);
 1385|  2.08k|            LOCK_KEYS_IF_SPLIT(dk, kind);
 1386|       |
 1387|  2.08k|            ix = unicodekeys_lookup_generic(mp, dk, key, hash);
 1388|       |
 1389|  2.08k|            UNLOCK_KEYS_IF_SPLIT(dk, kind);
 1390|  2.08k|            DECREF_KEYS_FT(dk, IS_DICT_SHARED(mp));
 1391|  2.08k|            if (ix == DKIX_KEY_CHANGED) {
  ------------------
  |  |  188|  2.08k|#define DKIX_KEY_CHANGED (-4) /* Used internally */
  ------------------
  |  Branch (1391:17): [True: 0, False: 2.08k]
  ------------------
 1392|      0|                goto start;
 1393|      0|            }
 1394|  2.08k|        }
 1395|       |
 1396|  20.2M|        if (ix >= 0) {
  ------------------
  |  Branch (1396:13): [True: 18.9M, False: 1.32M]
  ------------------
 1397|  18.9M|            if (kind == DICT_KEYS_SPLIT) {
  ------------------
  |  Branch (1397:17): [True: 2.39k, False: 18.9M]
  ------------------
 1398|  2.39k|                *value_addr = mp->ma_values->values[ix];
 1399|  2.39k|            }
 1400|  18.9M|            else {
 1401|  18.9M|                *value_addr = DK_UNICODE_ENTRIES(dk)[ix].me_value;
 1402|  18.9M|            }
 1403|  18.9M|        }
 1404|  1.32M|        else {
 1405|  1.32M|            *value_addr = NULL;
 1406|  1.32M|        }
 1407|  20.2M|    }
 1408|  9.97M|    else {
 1409|  9.97M|        ix = dictkeys_generic_lookup(mp, dk, key, hash);
 1410|  9.97M|        if (ix == DKIX_KEY_CHANGED) {
  ------------------
  |  |  188|  9.97M|#define DKIX_KEY_CHANGED (-4) /* Used internally */
  ------------------
  |  Branch (1410:13): [True: 0, False: 9.97M]
  ------------------
 1411|      0|            goto start;
 1412|      0|        }
 1413|  9.97M|        if (ix >= 0) {
  ------------------
  |  Branch (1413:13): [True: 5.43M, False: 4.54M]
  ------------------
 1414|  5.43M|            *value_addr = DK_ENTRIES(dk)[ix].me_value;
 1415|  5.43M|        }
 1416|  4.54M|        else {
 1417|  4.54M|            *value_addr = NULL;
 1418|  4.54M|        }
 1419|  9.97M|    }
 1420|       |
 1421|  30.2M|    return ix;
 1422|  30.2M|}
_Py_dict_lookup_threadsafe:
 1758|  4.87M|{
 1759|  4.87M|    Py_ssize_t ix = _Py_dict_lookup(mp, key, hash, value_addr);
 1760|  4.87M|    Py_XNewRef(*value_addr);
  ------------------
  |  |  551|  4.87M|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.87M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.87M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1761|  4.87M|    return ix;
 1762|  4.87M|}
_Py_dict_lookup_threadsafe_stackref:
 1766|  1.14M|{
 1767|  1.14M|    PyObject *val;
 1768|  1.14M|    Py_ssize_t ix = _Py_dict_lookup(mp, key, hash, &val);
 1769|  1.14M|    if (val == NULL) {
  ------------------
  |  Branch (1769:9): [True: 97.5k, False: 1.04M]
  ------------------
 1770|  97.5k|        *value_addr = PyStackRef_NULL;
 1771|  97.5k|    }
 1772|  1.04M|    else {
 1773|  1.04M|        *value_addr = PyStackRef_FromPyObjectNew(val);
  ------------------
  |  |  611|  1.04M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1774|  1.04M|    }
 1775|  1.14M|    return ix;
 1776|  1.14M|}
_PyDict_GetMethodStackRef:
 1784|   713k|{
 1785|   713k|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (1785:5): [True: 713k, False: 0]
  ------------------
 1786|   713k|    Py_hash_t hash = hash_unicode_key(key);
 1787|       |
 1788|       |#ifdef Py_GIL_DISABLED
 1789|       |    // NOTE: We can only do the fast-path lookup if we are on the owning
 1790|       |    // thread or if the dict is already marked as shared so that the load
 1791|       |    // of ma_keys is safe without a lock. We cannot call ensure_shared_on_read()
 1792|       |    // in this code path without incref'ing the dict because the dict is a
 1793|       |    // borrowed reference protected by QSBR, and acquiring the lock could lead
 1794|       |    // to a quiescent state (allowing the dict to be freed).
 1795|       |    if (_Py_IsOwnedByCurrentThread((PyObject *)mp) || IS_DICT_SHARED(mp)) {
 1796|       |        PyDictKeysObject *dk = _Py_atomic_load_ptr_acquire(&mp->ma_keys);
 1797|       |        if (dk->dk_kind == DICT_KEYS_UNICODE) {
 1798|       |            _PyStackRef ref;
 1799|       |            Py_ssize_t ix = lookup_threadsafe_unicode(dk, key, hash, &ref);
 1800|       |            if (ix >= 0) {
 1801|       |                assert(!PyStackRef_IsNull(ref));
 1802|       |                PyStackRef_XSETREF(*method, ref);
 1803|       |                return 1;
 1804|       |            }
 1805|       |            else if (ix == DKIX_EMPTY) {
 1806|       |                return 0;
 1807|       |            }
 1808|       |            assert(ix == DKIX_KEY_CHANGED);
 1809|       |        }
 1810|       |    }
 1811|       |#endif
 1812|       |
 1813|   713k|    PyObject *obj;
 1814|   713k|    Py_INCREF(mp);
  ------------------
  |  |  310|   713k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   713k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   713k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1815|   713k|    Py_ssize_t ix = _Py_dict_lookup_threadsafe(mp, key, hash, &obj);
 1816|   713k|    Py_DECREF(mp);
  ------------------
  |  |  430|   713k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   713k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   713k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1817|   713k|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  187|   713k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (1817:9): [True: 0, False: 713k]
  ------------------
 1818|      0|        PyStackRef_CLEAR(*method);
  ------------------
  |  |  732|      0|    do { \
  |  |  733|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1819|      0|        return -1;
 1820|      0|    }
 1821|   713k|    else if (ix >= 0 && obj != NULL) {
  ------------------
  |  Branch (1821:14): [True: 0, False: 713k]
  |  Branch (1821:25): [True: 0, False: 0]
  ------------------
 1822|      0|        PyStackRef_XSETREF(*method, PyStackRef_FromPyObjectSteal(obj));
  ------------------
  |  |  855|      0|    do { \
  |  |  856|      0|        _PyStackRef _tmp_dst_ref = (dst); \
  |  |  857|      0|        (dst) = (src); \
  |  |  858|      0|        PyStackRef_XCLOSE(_tmp_dst_ref); \
  |  |  859|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (859:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1823|      0|        return 1;
 1824|      0|    }
 1825|   713k|    return 0;  // not found
 1826|   713k|}
_PyDict_HasOnlyStringKeys:
 1830|    302|{
 1831|    302|    Py_ssize_t pos = 0;
 1832|    302|    PyObject *key, *value;
 1833|    302|    assert(PyDict_Check(dict));
  ------------------
  |  Branch (1833:5): [True: 302, False: 0]
  ------------------
 1834|       |    /* Shortcut */
 1835|    302|    if (((PyDictObject *)dict)->ma_keys->dk_kind != DICT_KEYS_GENERAL)
  ------------------
  |  Branch (1835:9): [True: 302, False: 0]
  ------------------
 1836|    302|        return 1;
 1837|      0|    while (PyDict_Next(dict, &pos, &key, &value))
  ------------------
  |  Branch (1837:12): [True: 0, False: 0]
  ------------------
 1838|      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 (1838:13): [True: 0, False: 0]
  ------------------
 1839|      0|            return 0;
 1840|      0|    return 1;
 1841|      0|}
_PyDict_EnablePerThreadRefcounting:
 1845|    103|{
 1846|    103|    assert(PyDict_Check(op));
  ------------------
  |  Branch (1846:5): [True: 103, False: 0]
  ------------------
 1847|       |#ifdef Py_GIL_DISABLED
 1848|       |    Py_ssize_t id = _PyObject_AssignUniqueId(op);
 1849|       |    if (id == _Py_INVALID_UNIQUE_ID) {
 1850|       |        return;
 1851|       |    }
 1852|       |    if ((uint64_t)id >= (uint64_t)DICT_UNIQUE_ID_MAX) {
 1853|       |        _PyObject_ReleaseUniqueId(id);
 1854|       |        return;
 1855|       |    }
 1856|       |
 1857|       |    PyDictObject *mp = (PyDictObject *)op;
 1858|       |    assert((mp->_ma_watcher_tag >> DICT_UNIQUE_ID_SHIFT) == 0);
 1859|       |    mp->_ma_watcher_tag += (uint64_t)id << DICT_UNIQUE_ID_SHIFT;
 1860|       |#endif
 1861|    103|}
_PyDict_InsertSplitValue:
 1991|    189|{
 1992|    189|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (1992:5): [True: 189, False: 0]
  ------------------
 1993|    189|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (1993:5): [True: 189, False: 0]
  ------------------
 1994|       |
 1995|    189|    PyObject *old_value = mp->ma_values->values[ix];
 1996|    189|    if (old_value == NULL) {
  ------------------
  |  Branch (1996:9): [True: 189, False: 0]
  ------------------
 1997|    189|        _PyDict_NotifyEvent(PyDict_EVENT_ADDED, mp, key, value);
 1998|    189|        STORE_SPLIT_VALUE(mp, ix, Py_NewRef(value));
  ------------------
  |  |  332|    189|#define STORE_SPLIT_VALUE(mp, idx, value) FT_ATOMIC_STORE_PTR_RELEASE(mp->ma_values->values[idx], value)
  |  |  ------------------
  |  |  |  |  164|    189|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1999|    189|        _PyDictValues_AddToInsertionOrder(mp->ma_values, ix);
 2000|    189|        STORE_USED(mp, mp->ma_used + 1);
  ------------------
  |  |  336|    189|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  194|    189|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2001|    189|    }
 2002|      0|    else {
 2003|      0|        _PyDict_NotifyEvent(PyDict_EVENT_MODIFIED, mp, key, value);
 2004|      0|        STORE_SPLIT_VALUE(mp, ix, Py_NewRef(value));
  ------------------
  |  |  332|      0|#define STORE_SPLIT_VALUE(mp, idx, value) FT_ATOMIC_STORE_PTR_RELEASE(mp->ma_values->values[idx], value)
  |  |  ------------------
  |  |  |  |  164|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2005|       |        // old_value should be DECREFed after GC track checking is done, if not, it could raise a segmentation fault,
 2006|       |        // when dict only holds the strong reference to value in ep->me_value.
 2007|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2008|      0|    }
 2009|       |    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|    189|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (2009:5): [True: 189, False: 0]
  ------------------
 2010|    189|}
_PyDict_FromItems:
 2381|  10.9k|{
 2382|  10.9k|    bool unicode = true;
 2383|  10.9k|    PyObject *const *ks = keys;
 2384|       |
 2385|  11.5k|    for (Py_ssize_t i = 0; i < length; i++) {
  ------------------
  |  Branch (2385:28): [True: 656, False: 10.9k]
  ------------------
 2386|    656|        if (!PyUnicode_CheckExact(*ks)) {
  ------------------
  |  |  104|    656|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    656|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    656|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    656|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2386:13): [True: 11, False: 645]
  ------------------
 2387|     11|            unicode = false;
 2388|     11|            break;
 2389|     11|        }
 2390|    645|        ks += keys_offset;
 2391|    645|    }
 2392|       |
 2393|  10.9k|    PyObject *dict = dict_new_presized(length, unicode);
 2394|  10.9k|    if (dict == NULL) {
  ------------------
  |  Branch (2394:9): [True: 0, False: 10.9k]
  ------------------
 2395|      0|        return NULL;
 2396|      0|    }
 2397|       |
 2398|  10.9k|    ks = keys;
 2399|  10.9k|    PyObject *const *vs = values;
 2400|       |
 2401|  11.6k|    for (Py_ssize_t i = 0; i < length; i++) {
  ------------------
  |  Branch (2401:28): [True: 695, False: 10.9k]
  ------------------
 2402|    695|        PyObject *key = *ks;
 2403|    695|        PyObject *value = *vs;
 2404|    695|        if (setitem_lock_held((PyDictObject *)dict, key, value) < 0) {
  ------------------
  |  Branch (2404:13): [True: 0, False: 695]
  ------------------
 2405|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2406|      0|            return NULL;
 2407|      0|        }
 2408|    695|        ks += keys_offset;
 2409|    695|        vs += values_offset;
 2410|    695|    }
 2411|       |
 2412|  10.9k|    return dict;
 2413|  10.9k|}
PyDict_GetItem:
 2471|    150|{
 2472|    150|    return dict_getitem(op, key,
 2473|    150|            "Exception ignored in PyDict_GetItem(); consider using "
 2474|    150|            "PyDict_GetItemRef() or PyDict_GetItemWithError()");
 2475|    150|}
_PyDict_LookupIndexAndValue:
 2500|  2.37k|{
 2501|       |    // TODO: Thread safety
 2502|  2.37k|    assert(PyDict_CheckExact((PyObject*)mp));
  ------------------
  |  Branch (2502:5): [True: 2.37k, False: 0]
  ------------------
 2503|  2.37k|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (2503:5): [True: 2.37k, False: 0]
  ------------------
 2504|       |
 2505|  2.37k|    Py_hash_t hash = _PyObject_HashDictKey(key);
 2506|  2.37k|    if (hash == -1) {
  ------------------
  |  Branch (2506:9): [True: 0, False: 2.37k]
  ------------------
 2507|      0|        dict_unhashable_type((PyObject*)mp, key);
 2508|      0|        return -1;
 2509|      0|    }
 2510|       |
 2511|  2.37k|    return _Py_dict_lookup(mp, key, hash, value);
 2512|  2.37k|}
_PyDict_GetItemRef_KnownHash:
 2576|  18.1M|{
 2577|  18.1M|    PyObject *value;
 2578|       |#ifdef Py_GIL_DISABLED
 2579|       |    Py_ssize_t ix = _Py_dict_lookup_threadsafe(op, key, hash, &value);
 2580|       |#else
 2581|  18.1M|    Py_ssize_t ix = _Py_dict_lookup(op, key, hash, &value);
 2582|  18.1M|#endif
 2583|  18.1M|    assert(ix >= 0 || value == NULL);
  ------------------
  |  Branch (2583:5): [True: 17.7M, False: 365k]
  |  Branch (2583:5): [True: 365k, False: 0]
  ------------------
 2584|  18.1M|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  187|  18.1M|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2584:9): [True: 0, False: 18.1M]
  ------------------
 2585|      0|        *result = NULL;
 2586|      0|        return -1;
 2587|      0|    }
 2588|  18.1M|    if (value == NULL) {
  ------------------
  |  Branch (2588:9): [True: 365k, False: 17.7M]
  ------------------
 2589|   365k|        *result = NULL;
 2590|   365k|        return 0;  // missing key
 2591|   365k|    }
 2592|       |#ifdef Py_GIL_DISABLED
 2593|       |    *result = value;
 2594|       |#else
 2595|  17.7M|    *result = Py_NewRef(value);
  ------------------
  |  |  550|  17.7M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  17.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2596|  17.7M|#endif
 2597|  17.7M|    return 1;  // key is present
 2598|  18.1M|}
PyDict_GetItemRef:
 2602|  18.1M|{
 2603|  18.1M|    if (!PyAnyDict_Check(op)) {
  ------------------
  |  |   43|  18.1M|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  18.1M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  36.2M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 18.1M, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2604|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2605|      0|        *result = NULL;
 2606|      0|        return -1;
 2607|      0|    }
 2608|       |
 2609|  18.1M|    Py_hash_t hash = _PyObject_HashDictKey(key);
 2610|  18.1M|    if (hash == -1) {
  ------------------
  |  Branch (2610:9): [True: 0, False: 18.1M]
  ------------------
 2611|      0|        dict_unhashable_type(op, key);
 2612|      0|        *result = NULL;
 2613|      0|        return -1;
 2614|      0|    }
 2615|       |
 2616|  18.1M|    return _PyDict_GetItemRef_KnownHash((PyDictObject *)op, key, hash, result);
 2617|  18.1M|}
_PyDict_GetItemRef_Unicode_LockHeld:
 2621|    186|{
 2622|    186|    ASSERT_DICT_LOCKED(op);
 2623|    186|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (2623:5): [True: 186, False: 0]
  ------------------
 2624|       |
 2625|    186|    Py_hash_t hash = _PyObject_HashDictKey(key);
 2626|    186|    if (hash == -1) {
  ------------------
  |  Branch (2626:9): [True: 0, False: 186]
  ------------------
 2627|      0|        dict_unhashable_type((PyObject*)op, key);
 2628|      0|        *result = NULL;
 2629|      0|        return -1;
 2630|      0|    }
 2631|       |
 2632|    186|    PyObject *value;
 2633|    186|    Py_ssize_t ix = _Py_dict_lookup(op, key, hash, &value);
 2634|    186|    assert(ix >= 0 || value == NULL);
  ------------------
  |  Branch (2634:5): [True: 43, False: 143]
  |  Branch (2634:5): [True: 143, False: 0]
  ------------------
 2635|    186|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  187|    186|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2635:9): [True: 0, False: 186]
  ------------------
 2636|      0|        *result = NULL;
 2637|      0|        return -1;
 2638|      0|    }
 2639|    186|    if (value == NULL) {
  ------------------
  |  Branch (2639:9): [True: 143, False: 43]
  ------------------
 2640|    143|        *result = NULL;
 2641|    143|        return 0;  // missing key
 2642|    143|    }
 2643|     43|    *result = Py_NewRef(value);
  ------------------
  |  |  550|     43|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     43|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     43|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2644|     43|    return 1;  // key is present
 2645|    186|}
PyDict_GetItemWithError:
 2653|  2.25k|{
 2654|  2.25k|    Py_ssize_t ix; (void)ix;
 2655|  2.25k|    Py_hash_t hash;
 2656|  2.25k|    PyDictObject*mp = (PyDictObject *)op;
 2657|  2.25k|    PyObject *value;
 2658|       |
 2659|  2.25k|    if (!PyAnyDict_Check(op)) {
  ------------------
  |  |   43|  2.25k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  2.25k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  4.51k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 2.25k, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2660|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2661|      0|        return NULL;
 2662|      0|    }
 2663|  2.25k|    hash = _PyObject_HashDictKey(key);
 2664|  2.25k|    if (hash == -1) {
  ------------------
  |  Branch (2664:9): [True: 0, False: 2.25k]
  ------------------
 2665|      0|        dict_unhashable_type(op, key);
 2666|      0|        return NULL;
 2667|      0|    }
 2668|       |
 2669|       |#ifdef Py_GIL_DISABLED
 2670|       |    ix = _Py_dict_lookup_threadsafe(mp, key, hash, &value);
 2671|       |    Py_XDECREF(value);
 2672|       |#else
 2673|  2.25k|    ix = _Py_dict_lookup(mp, key, hash, &value);
 2674|  2.25k|#endif
 2675|  2.25k|    assert(ix >= 0 || value == NULL);
  ------------------
  |  Branch (2675:5): [True: 880, False: 1.37k]
  |  Branch (2675:5): [True: 1.37k, False: 0]
  ------------------
 2676|  2.25k|    return value;  // borrowed reference
 2677|  2.25k|}
_PyDict_LoadGlobalStackRef:
 2742|  21.4k|{
 2743|  21.4k|    Py_ssize_t ix;
 2744|  21.4k|    Py_hash_t hash;
 2745|       |
 2746|  21.4k|    hash = _PyObject_HashDictKey(key);
 2747|  21.4k|    if (hash == -1) {
  ------------------
  |  Branch (2747:9): [True: 0, False: 21.4k]
  ------------------
 2748|      0|        *res = PyStackRef_NULL;
 2749|      0|        return;
 2750|      0|    }
 2751|       |
 2752|       |    /* namespace 1: globals */
 2753|  21.4k|    ix = _Py_dict_lookup_threadsafe_stackref(globals, key, hash, res);
 2754|  21.4k|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  187|  21.4k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2754:9): [True: 0, False: 21.4k]
  ------------------
 2755|      0|        return;
 2756|      0|    }
 2757|  21.4k|    if (ix != DKIX_EMPTY && !PyStackRef_IsNull(*res)) {
  ------------------
  |  |  185|  42.9k|#define DKIX_EMPTY (-1)
  ------------------
                  if (ix != DKIX_EMPTY && !PyStackRef_IsNull(*res)) {
  ------------------
  |  |  482|  14.6k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  14.6k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  14.6k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2757:9): [True: 14.6k, False: 6.77k]
  |  Branch (2757:29): [True: 14.6k, False: 0]
  ------------------
 2758|  14.6k|        return;
 2759|  14.6k|    }
 2760|       |
 2761|       |    /* namespace 2: builtins */
 2762|  6.77k|    ix = _Py_dict_lookup_threadsafe_stackref(builtins, key, hash, res);
 2763|       |    assert(ix >= 0 || PyStackRef_IsNull(*res));
  ------------------
  |  Branch (2763:5): [True: 6.77k, False: 1]
  |  Branch (2763:5): [True: 1, False: 0]
  ------------------
 2764|  6.77k|}
_PyDict_LoadBuiltinsFromGlobals:
 2768|  1.01M|{
 2769|  1.01M|    if (!PyAnyDict_Check(globals)) {
  ------------------
  |  |   43|  1.01M|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  1.01M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  2.02M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 1.01M, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2770|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2771|      0|        return NULL;
 2772|      0|    }
 2773|       |
 2774|  1.01M|    PyDictObject *mp = (PyDictObject *)globals;
 2775|  1.01M|    PyObject *key = &_Py_ID(__builtins__);
  ------------------
  |  |  920|  1.01M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.01M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.01M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2776|  1.01M|    Py_hash_t hash = unicode_get_hash(key);
 2777|       |
 2778|       |    // Use the stackref variant to avoid reference count contention on the
 2779|       |    // builtins module in the free threading build. It's important not to
 2780|       |    // make any escaping calls between the lookup and the `PyStackRef_CLOSE()`
 2781|       |    // because the `ref` is not visible to the GC.
 2782|  1.01M|    _PyStackRef ref;
 2783|  1.01M|    Py_ssize_t ix = _Py_dict_lookup_threadsafe_stackref(mp, key, hash, &ref);
 2784|  1.01M|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  187|  1.01M|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2784:9): [True: 0, False: 1.01M]
  ------------------
 2785|      0|        return NULL;
 2786|      0|    }
 2787|  1.01M|    if (PyStackRef_IsNull(ref)) {
  ------------------
  |  |  482|  1.01M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  1.01M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.01M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 1.01M]
  |  |  ------------------
  ------------------
 2788|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2789|      0|    }
 2790|  1.01M|    PyObject *builtins = PyStackRef_AsPyObjectBorrow(ref);
 2791|  1.01M|    if (PyModule_Check(builtins)) {
  ------------------
  |  |   12|  1.01M|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|  1.01M|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 1.01M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2792|      0|        builtins = _PyModule_GetDict(builtins);
 2793|      0|        assert(builtins != NULL);
  ------------------
  |  Branch (2793:9): [True: 0, False: 0]
  ------------------
 2794|      0|    }
 2795|  1.01M|    _Py_INCREF_BUILTINS(builtins);
  ------------------
  |  |  398|  1.01M|#  define _Py_INCREF_BUILTINS Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  1.01M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2796|  1.01M|    PyStackRef_CLOSE(ref);
 2797|  1.01M|    return builtins;
 2798|  1.01M|}
_PyDict_SetItem_Take2:
 2836|   381k|{
 2837|   381k|    int res;
 2838|   381k|    Py_BEGIN_CRITICAL_SECTION(mp);
  ------------------
  |  |   51|   381k|    {
  ------------------
 2839|   381k|    res = setitem_take2_lock_held(mp, key, value);
 2840|   381k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   381k|    }
  ------------------
 2841|   381k|    return res;
 2842|   381k|}
PyDict_SetItem:
 2862|   370k|{
 2863|   370k|    assert(key);
  ------------------
  |  Branch (2863:5): [True: 370k, False: 0]
  ------------------
 2864|   370k|    assert(value);
  ------------------
  |  Branch (2864:5): [True: 370k, False: 0]
  ------------------
 2865|       |
 2866|   370k|    if (!PyDict_Check(op)) {
  ------------------
  |  |   18|   370k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   370k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2866:9): [True: 0, False: 370k]
  ------------------
 2867|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2868|      0|            frozendict_does_not_support("assignment");
  ------------------
  |  | 2801|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2802|      0|                    "not support item " WHAT)
  ------------------
 2869|      0|        }
 2870|      0|        else {
 2871|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2872|      0|        }
 2873|      0|        return -1;
 2874|      0|    }
 2875|       |
 2876|   370k|    return _PyDict_SetItem_Take2((PyDictObject *)op,
 2877|   370k|                                 Py_NewRef(key), Py_NewRef(value));
  ------------------
  |  |  550|   370k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   370k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   370k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                               Py_NewRef(key), Py_NewRef(value));
  ------------------
  |  |  550|   370k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   370k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   370k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2878|   370k|}
PyDict_DelItem:
 2999|  4.31k|{
 3000|  4.31k|    assert(key);
  ------------------
  |  Branch (3000:5): [True: 4.31k, False: 0]
  ------------------
 3001|  4.31k|    Py_hash_t hash = _PyObject_HashDictKey(key);
 3002|  4.31k|    if (hash == -1) {
  ------------------
  |  Branch (3002:9): [True: 0, False: 4.31k]
  ------------------
 3003|      0|        dict_unhashable_type(op, key);
 3004|      0|        return -1;
 3005|      0|    }
 3006|       |
 3007|  4.31k|    return _PyDict_DelItem_KnownHash(op, key, hash);
 3008|  4.31k|}
_PyDict_DelItem_KnownHash_LockHeld:
 3012|  4.35k|{
 3013|  4.35k|    if (!PyDict_Check(op)) {
  ------------------
  |  |   18|  4.35k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.35k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3013:9): [True: 0, False: 4.35k]
  ------------------
 3014|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3015|      0|            frozendict_does_not_support("deletion");
  ------------------
  |  | 2801|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2802|      0|                    "not support item " WHAT)
  ------------------
 3016|      0|        }
 3017|      0|        else {
 3018|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3019|      0|        }
 3020|      0|        return -1;
 3021|      0|    }
 3022|       |
 3023|  4.35k|    Py_ssize_t ix;
 3024|  4.35k|    PyObject *old_value;
 3025|  4.35k|    PyDictObject *mp = (PyDictObject *)op;
 3026|  4.35k|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (3026:5): [True: 4.35k, False: 0]
  ------------------
 3027|       |
 3028|  4.35k|    assert(key);
  ------------------
  |  Branch (3028:5): [True: 4.35k, False: 0]
  ------------------
 3029|  4.35k|    assert(hash != -1);
  ------------------
  |  Branch (3029:5): [True: 4.35k, False: 0]
  ------------------
 3030|  4.35k|    ix = _Py_dict_lookup(mp, key, hash, &old_value);
 3031|  4.35k|    if (ix == DKIX_ERROR)
  ------------------
  |  |  187|  4.35k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (3031:9): [True: 0, False: 4.35k]
  ------------------
 3032|      0|        return -1;
 3033|  4.35k|    if (ix == DKIX_EMPTY || old_value == NULL) {
  ------------------
  |  |  185|  8.70k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (3033:9): [True: 0, False: 4.35k]
  |  Branch (3033:29): [True: 0, False: 4.35k]
  ------------------
 3034|      0|        _PyErr_SetKeyError(key);
 3035|      0|        return -1;
 3036|      0|    }
 3037|       |
 3038|  4.35k|    _PyDict_NotifyEvent(PyDict_EVENT_DELETED, mp, key, NULL);
 3039|  4.35k|    delitem_common(mp, hash, ix, old_value);
 3040|  4.35k|    return 0;
 3041|  4.35k|}
_PyDict_DelItem_KnownHash:
 3045|  4.31k|{
 3046|  4.31k|    int res;
 3047|  4.31k|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  4.31k|    {
  ------------------
 3048|  4.31k|    res = _PyDict_DelItem_KnownHash_LockHeld(op, key, hash);
 3049|  4.31k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  4.31k|    }
  ------------------
 3050|  4.31k|    return res;
 3051|  4.31k|}
_PyDict_DelItemIf:
 3099|    120|{
 3100|    120|    assert(PyDict_Check(op));
  ------------------
  |  Branch (3100:5): [True: 120, False: 0]
  ------------------
 3101|    120|    int res;
 3102|    120|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|    120|    {
  ------------------
 3103|    120|    res = delitemif_lock_held(op, key, predicate, arg);
 3104|    120|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    120|    }
  ------------------
 3105|    120|    return res;
 3106|    120|}
PyDict_Clear:
 3176|     24|{
 3177|     24|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|     24|    {
  ------------------
 3178|     24|    clear_lock_held(op);
 3179|     24|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     24|    }
  ------------------
 3180|     24|}
_PyDict_Next:
 3190|  4.59M|{
 3191|  4.59M|    Py_ssize_t i;
 3192|  4.59M|    PyDictObject *mp;
 3193|  4.59M|    PyObject *key, *value;
 3194|  4.59M|    Py_hash_t hash;
 3195|       |
 3196|  4.59M|    if (!PyAnyDict_Check(op))
  ------------------
  |  |   43|  4.59M|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  4.59M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  9.18M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 4.59M, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3197|      0|        return 0;
 3198|       |
 3199|  4.59M|    mp = (PyDictObject *)op;
 3200|  4.59M|    i = *ppos;
 3201|  4.59M|    if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   56|  4.59M|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 4.59M]
  |  |  ------------------
  ------------------
 3202|      0|        assert(mp->ma_used <= SHARED_KEYS_MAX_SIZE);
  ------------------
  |  Branch (3202:9): [True: 0, False: 0]
  ------------------
 3203|      0|        if (i < 0 || i >= mp->ma_used)
  ------------------
  |  Branch (3203:13): [True: 0, False: 0]
  |  Branch (3203:22): [True: 0, False: 0]
  ------------------
 3204|      0|            return 0;
 3205|      0|        int index = get_index_from_order(mp, i);
 3206|      0|        value = mp->ma_values->values[index];
 3207|      0|        key = LOAD_SHARED_KEY(DK_UNICODE_ENTRIES(mp->ma_keys)[index].me_key);
  ------------------
  |  |  260|      0|#define LOAD_SHARED_KEY(key) key
  ------------------
 3208|      0|        hash = unicode_get_hash(key);
 3209|      0|        assert(value != NULL);
  ------------------
  |  Branch (3209:9): [True: 0, False: 0]
  ------------------
 3210|      0|    }
 3211|  4.59M|    else {
 3212|  4.59M|        Py_ssize_t n = mp->ma_keys->dk_nentries;
 3213|  4.59M|        if (i < 0 || i >= n)
  ------------------
  |  Branch (3213:13): [True: 0, False: 4.59M]
  |  Branch (3213:22): [True: 1.08M, False: 3.50M]
  ------------------
 3214|  1.08M|            return 0;
 3215|  3.50M|        if (DK_IS_UNICODE(mp->ma_keys)) {
  ------------------
  |  |  294|  3.50M|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (294:27): [True: 7.70k, False: 3.50M]
  |  |  ------------------
  ------------------
 3216|  7.70k|            PyDictUnicodeEntry *entry_ptr = &DK_UNICODE_ENTRIES(mp->ma_keys)[i];
 3217|  8.13k|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (3217:20): [True: 8.08k, False: 43]
  |  Branch (3217:29): [True: 422, False: 7.66k]
  ------------------
 3218|    422|                entry_ptr++;
 3219|    422|                i++;
 3220|    422|            }
 3221|  7.70k|            if (i >= n)
  ------------------
  |  Branch (3221:17): [True: 43, False: 7.66k]
  ------------------
 3222|     43|                return 0;
 3223|  7.66k|            key = entry_ptr->me_key;
 3224|  7.66k|            hash = unicode_get_hash(entry_ptr->me_key);
 3225|  7.66k|            value = entry_ptr->me_value;
 3226|  7.66k|        }
 3227|  3.50M|        else {
 3228|  3.50M|            PyDictKeyEntry *entry_ptr = &DK_ENTRIES(mp->ma_keys)[i];
 3229|  3.50M|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (3229:20): [True: 3.50M, False: 0]
  |  Branch (3229:29): [True: 0, False: 3.50M]
  ------------------
 3230|      0|                entry_ptr++;
 3231|      0|                i++;
 3232|      0|            }
 3233|  3.50M|            if (i >= n)
  ------------------
  |  Branch (3233:17): [True: 0, False: 3.50M]
  ------------------
 3234|      0|                return 0;
 3235|  3.50M|            key = entry_ptr->me_key;
 3236|  3.50M|            hash = entry_ptr->me_hash;
 3237|  3.50M|            value = entry_ptr->me_value;
 3238|  3.50M|        }
 3239|  3.50M|    }
 3240|  3.50M|    *ppos = i+1;
 3241|  3.50M|    if (pkey)
  ------------------
  |  Branch (3241:9): [True: 3.50M, False: 8]
  ------------------
 3242|  3.50M|        *pkey = key;
 3243|  3.50M|    if (pvalue)
  ------------------
  |  Branch (3243:9): [True: 3.50M, False: 2.45k]
  ------------------
 3244|  3.50M|        *pvalue = value;
 3245|  3.50M|    if (phash)
  ------------------
  |  Branch (3245:9): [True: 4.18k, False: 3.50M]
  ------------------
 3246|  4.18k|        *phash = hash;
 3247|  3.50M|    return 1;
 3248|  4.59M|}
PyDict_Next:
 3270|  4.04k|{
 3271|       |    return _PyDict_Next(op, ppos, pkey, pvalue, NULL);
 3272|  4.04k|}
_PyDict_Pop_KnownHash:
 3279|  85.0k|{
 3280|  85.0k|    assert(PyDict_Check(mp));
  ------------------
  |  Branch (3280:5): [True: 85.0k, False: 0]
  ------------------
 3281|  85.0k|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (3281:5): [True: 85.0k, False: 0]
  ------------------
 3282|       |
 3283|  85.0k|    if (mp->ma_used == 0) {
  ------------------
  |  Branch (3283:9): [True: 0, False: 85.0k]
  ------------------
 3284|      0|        if (result) {
  ------------------
  |  Branch (3284:13): [True: 0, False: 0]
  ------------------
 3285|      0|            *result = NULL;
 3286|      0|        }
 3287|      0|        return 0;
 3288|      0|    }
 3289|       |
 3290|  85.0k|    PyObject *old_value;
 3291|  85.0k|    Py_ssize_t ix = _Py_dict_lookup(mp, key, hash, &old_value);
 3292|  85.0k|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  187|  85.0k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (3292:9): [True: 0, False: 85.0k]
  ------------------
 3293|      0|        if (result) {
  ------------------
  |  Branch (3293:13): [True: 0, False: 0]
  ------------------
 3294|      0|            *result = NULL;
 3295|      0|        }
 3296|      0|        return -1;
 3297|      0|    }
 3298|       |
 3299|  85.0k|    if (ix == DKIX_EMPTY || old_value == NULL) {
  ------------------
  |  |  185|   170k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (3299:9): [True: 84.9k, False: 132]
  |  Branch (3299:29): [True: 0, False: 132]
  ------------------
 3300|  84.9k|        if (result) {
  ------------------
  |  Branch (3300:13): [True: 84.9k, False: 5]
  ------------------
 3301|  84.9k|            *result = NULL;
 3302|  84.9k|        }
 3303|  84.9k|        return 0;
 3304|  84.9k|    }
 3305|       |
 3306|  85.0k|    assert(old_value != NULL);
  ------------------
  |  Branch (3306:5): [True: 132, False: 0]
  ------------------
 3307|    132|    _PyDict_NotifyEvent(PyDict_EVENT_DELETED, mp, key, NULL);
 3308|    132|    delitem_common(mp, hash, ix, Py_NewRef(old_value));
  ------------------
  |  |  550|    132|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    132|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    132|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3309|       |
 3310|    132|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|    132|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (3310:5): [True: 132, False: 0]
  ------------------
 3311|    132|    if (result) {
  ------------------
  |  Branch (3311:9): [True: 132, False: 0]
  ------------------
 3312|    132|        *result = old_value;
 3313|    132|    }
 3314|      0|    else {
 3315|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3316|      0|    }
 3317|    132|    return 1;
 3318|    132|}
PyDict_Pop:
 3358|  85.1k|{
 3359|  85.1k|    int err;
 3360|  85.1k|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  85.1k|    {
  ------------------
 3361|  85.1k|    err = pop_lock_held(op, key, result);
 3362|  85.1k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  85.1k|    }
  ------------------
 3363|       |
 3364|  85.1k|    return err;
 3365|  85.1k|}
_PyDict_FromKeys:
 3461|  1.08M|{
 3462|  1.08M|    PyObject *it = NULL;       /* iter(iterable) */
 3463|  1.08M|    PyObject *d;
 3464|  1.08M|    int need_copy = 0;
 3465|       |
 3466|  1.08M|    if (cls == (PyObject*)&PyFrozenDict_Type) {
  ------------------
  |  Branch (3466:9): [True: 0, False: 1.08M]
  ------------------
 3467|       |        // gh-151722: Create a frozendict which is not tracked by the GC.
 3468|      0|        d = frozendict_new_untracked(&PyFrozenDict_Type);
 3469|      0|    }
 3470|  1.08M|    else {
 3471|       |        // Dict subclass, or frozendict subclass which overrides
 3472|       |        // the constructor.
 3473|  1.08M|        d = _PyObject_CallNoArgs(cls);
 3474|  1.08M|    }
 3475|  1.08M|    if (d == NULL) {
  ------------------
  |  Branch (3475:9): [True: 0, False: 1.08M]
  ------------------
 3476|      0|        return NULL;
 3477|      0|    }
 3478|       |
 3479|       |    // gh-151722: If cls constructor returns a frozendict which is tracked by
 3480|       |    // the GC, create a frozendict copy which is not tracked by the GC.
 3481|       |    //
 3482|       |    // At the function exit, return cls(fd) where fd is a frozendict.
 3483|       |    //
 3484|       |    // Untracking the frozendict requires tracking again the frozendict on
 3485|       |    // error which is more complicated. It's easier to work on a copy.
 3486|  1.08M|    if (PyFrozenDict_Check(d) && _PyObject_GC_IS_TRACKED(d)) {
  ------------------
  |  |   37|  1.08M|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|  2.16M|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 1.08M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyFrozenDict_Check(d) && _PyObject_GC_IS_TRACKED(d)) {
  ------------------
  |  |   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))
  |  |  ------------------
  |  |  |  Branch (81:37): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3487|      0|        need_copy = 1;
 3488|       |
 3489|      0|        PyObject *copy = frozendict_new_untracked(&PyFrozenDict_Type);
 3490|      0|        if (copy == NULL) {
  ------------------
  |  Branch (3490:13): [True: 0, False: 0]
  ------------------
 3491|      0|            goto Fail;
 3492|      0|        }
 3493|      0|        if (dict_merge(copy, d, 1, NULL) < 0) {
  ------------------
  |  Branch (3493:13): [True: 0, False: 0]
  ------------------
 3494|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3495|      0|            goto Fail;
 3496|      0|        }
 3497|      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]
  |  |  ------------------
  ------------------
 3498|      0|    }
 3499|  1.08M|    if (PyFrozenDict_Check(d)) {
  ------------------
  |  |   37|  1.08M|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|  1.08M|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 1.08M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3500|      0|        assert(can_modify_dict((PyDictObject*)d));
  ------------------
  |  Branch (3500:9): [True: 0, False: 0]
  ------------------
 3501|      0|    }
 3502|       |
 3503|  1.08M|    if (PyDict_CheckExact(d)) {
  ------------------
  |  |   19|  1.08M|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|  1.08M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.08M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3504|  1.08M|        if (PyDict_CheckExact(iterable)) {
  ------------------
  |  |   19|  1.08M|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|  1.08M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 1.08M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3505|      0|            PyDictObject *mp = (PyDictObject *)d;
 3506|       |
 3507|      0|            Py_BEGIN_CRITICAL_SECTION2(d, iterable);
  ------------------
  |  |   57|      0|    {
  ------------------
 3508|      0|            d = (PyObject *)dict_dict_fromkeys(mp, iterable, value);
 3509|      0|            Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      0|    }
  ------------------
 3510|      0|            goto Done;
 3511|      0|        }
 3512|  1.08M|        else if (PyFrozenDict_CheckExact(iterable)) {
  ------------------
  |  |   38|  1.08M|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  215|  1.08M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 1.08M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3513|      0|            PyDictObject *mp = (PyDictObject *)d;
 3514|       |
 3515|      0|            Py_BEGIN_CRITICAL_SECTION(d);
  ------------------
  |  |   51|      0|    {
  ------------------
 3516|      0|            d = (PyObject *)dict_dict_fromkeys(mp, iterable, value);
 3517|      0|            Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 3518|      0|            goto Done;
 3519|      0|        }
 3520|  1.08M|        else if (PyAnySet_CheckExact(iterable)) {
  ------------------
  |  |   29|  1.08M|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  215|  2.16M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 1.08M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  215|  1.08M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 1.08M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3521|      0|            PyDictObject *mp = (PyDictObject *)d;
 3522|       |
 3523|      0|            Py_BEGIN_CRITICAL_SECTION2(d, iterable);
  ------------------
  |  |   57|      0|    {
  ------------------
 3524|      0|            d = (PyObject *)dict_set_fromkeys(mp, iterable, value);
 3525|      0|            Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      0|    }
  ------------------
 3526|      0|            goto Done;
 3527|      0|        }
 3528|  1.08M|    }
 3529|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3530|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3531|      0|            PyDictObject *mp = (PyDictObject *)d;
 3532|       |
 3533|      0|            Py_BEGIN_CRITICAL_SECTION(iterable);
  ------------------
  |  |   51|      0|    {
  ------------------
 3534|      0|            d = (PyObject *)dict_dict_fromkeys(mp, iterable, value);
 3535|      0|            Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 3536|      0|            goto Done;
 3537|      0|        }
 3538|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3539|      0|            PyDictObject *mp = (PyDictObject *)d;
 3540|      0|            d = (PyObject *)dict_dict_fromkeys(mp, iterable, value);
 3541|      0|            goto Done;
 3542|      0|        }
 3543|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3544|      0|            PyDictObject *mp = (PyDictObject *)d;
 3545|       |
 3546|      0|            Py_BEGIN_CRITICAL_SECTION(iterable);
  ------------------
  |  |   51|      0|    {
  ------------------
 3547|      0|            d = (PyObject *)dict_set_fromkeys(mp, iterable, value);
 3548|      0|            Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 3549|      0|            goto Done;
 3550|      0|        }
 3551|      0|    }
 3552|       |
 3553|  1.08M|    it = PyObject_GetIter(iterable);
 3554|  1.08M|    if (it == NULL){
  ------------------
  |  Branch (3554:9): [True: 0, False: 1.08M]
  ------------------
 3555|      0|        goto Fail;
 3556|      0|    }
 3557|       |
 3558|  1.08M|    if (PyDict_CheckExact(d)) {
  ------------------
  |  |   19|  1.08M|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|  1.08M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.08M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3559|  1.08M|        int status = 0;
 3560|       |
 3561|  1.08M|        Py_BEGIN_CRITICAL_SECTION(d);
  ------------------
  |  |   51|  1.08M|    {
  ------------------
 3562|  5.62M|        while (1) {
  ------------------
  |  Branch (3562:16): [True: 5.62M, Folded]
  ------------------
 3563|  5.62M|            PyObject *key;
 3564|  5.62M|            status = PyIter_NextItem(it, &key);
 3565|  5.62M|            if (status <= 0) {
  ------------------
  |  Branch (3565:17): [True: 1.08M, False: 4.54M]
  ------------------
 3566|  1.08M|                break;
 3567|  1.08M|            }
 3568|       |
 3569|  4.54M|            status = setitem_lock_held((PyDictObject *)d, key, value);
 3570|  4.54M|            Py_DECREF(key);
  ------------------
  |  |  430|  4.54M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.54M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.54M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3571|  4.54M|            if (status < 0) {
  ------------------
  |  Branch (3571:17): [True: 0, False: 4.54M]
  ------------------
 3572|      0|                break;
 3573|      0|            }
 3574|  4.54M|        }
 3575|  1.08M|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  1.08M|    }
  ------------------
 3576|       |
 3577|  1.08M|        if (status < 0) {
  ------------------
  |  Branch (3577:13): [True: 0, False: 1.08M]
  ------------------
 3578|      0|            goto Fail;
 3579|      0|        }
 3580|  1.08M|    }
 3581|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3582|      0|        while (1) {
  ------------------
  |  Branch (3582:16): [True: 0, Folded]
  ------------------
 3583|      0|            PyObject *key;
 3584|      0|            int status = PyIter_NextItem(it, &key);
 3585|      0|            if (status < 0) {
  ------------------
  |  Branch (3585:17): [True: 0, False: 0]
  ------------------
 3586|      0|                goto Fail;
 3587|      0|            }
 3588|      0|            if (status == 0) {
  ------------------
  |  Branch (3588:17): [True: 0, False: 0]
  ------------------
 3589|      0|                break;
 3590|      0|            }
 3591|       |
 3592|       |            // setitem_take2_lock_held consumes a reference to key
 3593|      0|            status = setitem_take2_lock_held((PyDictObject *)d,
 3594|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3595|      0|            if (status < 0) {
  ------------------
  |  Branch (3595:17): [True: 0, False: 0]
  ------------------
 3596|      0|                goto Fail;
 3597|      0|            }
 3598|      0|        }
 3599|      0|    }
 3600|      0|    else {
 3601|      0|        while (1) {
  ------------------
  |  Branch (3601:16): [True: 0, Folded]
  ------------------
 3602|      0|            PyObject *key;
 3603|      0|            int status = PyIter_NextItem(it, &key);
 3604|      0|            if (status < 0) {
  ------------------
  |  Branch (3604:17): [True: 0, False: 0]
  ------------------
 3605|      0|                goto Fail;
 3606|      0|            }
 3607|      0|            if (status == 0) {
  ------------------
  |  Branch (3607:17): [True: 0, False: 0]
  ------------------
 3608|      0|                break;
 3609|      0|            }
 3610|       |
 3611|      0|            status = PyObject_SetItem(d, key, value);
 3612|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3613|      0|            if (status < 0) {
  ------------------
  |  Branch (3613:17): [True: 0, False: 0]
  ------------------
 3614|      0|                goto Fail;
 3615|      0|            }
 3616|      0|        }
 3617|       |
 3618|      0|    }
 3619|       |
 3620|  1.08M|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (3620:5): [True: 1.08M, False: 0]
  ------------------
 3621|  1.08M|    Py_DECREF(it);
  ------------------
  |  |  430|  1.08M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3622|  1.08M|    goto Done;
 3623|       |
 3624|      0|Fail:
 3625|      0|    assert(PyErr_Occurred());
  ------------------
  |  Branch (3625:5): [True: 0, False: 0]
  ------------------
 3626|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3627|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3628|      0|    return NULL;
 3629|       |
 3630|  1.08M|Done:
 3631|  1.08M|    if (d == NULL) {
  ------------------
  |  Branch (3631:9): [True: 0, False: 1.08M]
  ------------------
 3632|      0|        return NULL;
 3633|      0|    }
 3634|       |
 3635|  1.08M|    if (need_copy) {
  ------------------
  |  Branch (3635:9): [True: 0, False: 1.08M]
  ------------------
 3636|      0|        PyObject *copy = _PyObject_CallOneArg(cls, d);
  ------------------
  |  |   47|      0|#define _PyObject_CallOneArg PyObject_CallOneArg
  ------------------
 3637|      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]
  |  |  ------------------
  ------------------
 3638|      0|    }
 3639|  1.08M|    else if (!_PyObject_GC_IS_TRACKED(d)) {
  ------------------
  |  |   81|  1.08M|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (3639:14): [True: 0, False: 1.08M]
  ------------------
 3640|      0|        _PyObject_GC_TRACK(d);
  ------------------
  |  |  507|      0|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3641|      0|    }
 3642|  1.08M|    return d;
 3643|  1.08M|}
_PyDict_SubscriptKnownHash:
 3800|  2.99M|{
 3801|  2.99M|    PyDictObject *mp = (PyDictObject *)self;
 3802|  2.99M|    Py_ssize_t ix;
 3803|  2.99M|    PyObject *value;
 3804|       |
 3805|  2.99M|    ix = _Py_dict_lookup_threadsafe(mp, key, hash, &value);
 3806|  2.99M|    if (ix == DKIX_ERROR)
  ------------------
  |  |  187|  2.99M|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (3806:9): [True: 0, False: 2.99M]
  ------------------
 3807|      0|        return NULL;
 3808|  2.99M|    if (ix == DKIX_EMPTY || value == NULL) {
  ------------------
  |  |  185|  5.99M|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (3808:9): [True: 4.85k, False: 2.99M]
  |  Branch (3808:29): [True: 0, False: 2.99M]
  ------------------
 3809|  4.85k|        if (!PyAnyDict_CheckExact(mp)) {
  ------------------
  |  |   41|  4.85k|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|  4.85k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  9.70k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  4.85k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  4.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 4.83k, False: 21]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   38|     21|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|     21|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 21]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3810|       |            /* Look up __missing__ method if we're a subclass. */
 3811|     21|            PyObject *missing, *res;
 3812|     21|            missing = _PyObject_LookupSpecial(
 3813|     21|                    (PyObject *)mp, &_Py_ID(__missing__));
  ------------------
  |  |  920|     21|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     21|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     21|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3814|     21|            if (missing != NULL) {
  ------------------
  |  Branch (3814:17): [True: 0, False: 21]
  ------------------
 3815|      0|                res = PyObject_CallOneArg(missing, key);
 3816|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3817|      0|                return res;
 3818|      0|            }
 3819|     21|            else if (PyErr_Occurred())
  ------------------
  |  Branch (3819:22): [True: 0, False: 21]
  ------------------
 3820|      0|                return NULL;
 3821|     21|        }
 3822|  4.85k|        _PyErr_SetKeyError(key);
 3823|  4.85k|        return NULL;
 3824|  4.85k|    }
 3825|  2.99M|    return value;
 3826|  2.99M|}
_PyDict_Subscript:
 3830|  2.99M|{
 3831|  2.99M|    Py_hash_t hash = _PyObject_HashDictKey(key);
 3832|  2.99M|    if (hash == -1) {
  ------------------
  |  Branch (3832:9): [True: 0, False: 2.99M]
  ------------------
 3833|      0|        dict_unhashable_type(self, key);
 3834|      0|        return NULL;
 3835|      0|    }
 3836|  2.99M|    return _PyDict_SubscriptKnownHash(self, key, hash);
 3837|  2.99M|}
_PyDict_StoreSubscript:
 3841|  3.97k|{
 3842|  3.97k|    if (w == NULL)
  ------------------
  |  Branch (3842:9): [True: 3.76k, False: 206]
  ------------------
 3843|  3.76k|        return PyDict_DelItem(mp, v);
 3844|    206|    else
 3845|    206|        return PyDict_SetItem(mp, v, w);
 3846|  3.97k|}
PyDict_Keys:
 3894|     26|{
 3895|     26|    PyObject *res;
 3896|     26|    Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|     26|    {
  ------------------
 3897|     26|    res = keys_lock_held(dict);
 3898|     26|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     26|    }
  ------------------
 3899|       |
 3900|     26|    return res;
 3901|     26|}
PyDict_Update:
 4422|    151|{
 4423|       |    return dict_merge_api(a, b, 1, NULL);
 4424|    151|}
_PyDict_MergeUniq:
 4435|    310|{
 4436|    310|    return dict_merge_api(a, b, 2, dupkey);
 4437|    310|}
PyDict_Copy:
 4591|    275|{
 4592|    275|    if (o == NULL || !PyDict_Check(o)) {
  ------------------
  |  |   18|    275|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    275|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4592:9): [True: 0, False: 275]
  |  Branch (4592:22): [True: 0, False: 275]
  ------------------
 4593|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 4594|      0|        return NULL;
 4595|      0|    }
 4596|       |
 4597|    275|    PyObject *res;
 4598|    275|    Py_BEGIN_CRITICAL_SECTION(o);
  ------------------
  |  |   51|    275|    {
  ------------------
 4599|    275|    res = copy_lock_held_untracked(o, 0);
 4600|    275|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    275|    }
  ------------------
 4601|    275|    if (res != NULL) {
  ------------------
  |  Branch (4601:9): [True: 275, False: 0]
  ------------------
 4602|    275|        _PyObject_GC_TRACK(res);
  ------------------
  |  |  507|    275|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    275|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    275|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4603|    275|    }
 4604|    275|    return res;
 4605|    275|}
_PyDict_CopyAsDict:
 4630|    268|{
 4631|    268|    assert(PyAnyDict_Check(o));
  ------------------
  |  Branch (4631:5): [True: 268, False: 0]
  |  Branch (4631:5): [True: 0, False: 0]
  ------------------
 4632|       |
 4633|    268|    PyObject *res;
 4634|    268|    if (PyFrozenDict_Check(o)) {
  ------------------
  |  |   37|    268|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|    268|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 268]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4635|      0|        res = copy_lock_held_untracked(o, 0);
 4636|      0|    }
 4637|    268|    else {
 4638|    268|        Py_BEGIN_CRITICAL_SECTION(o);
  ------------------
  |  |   51|    268|    {
  ------------------
 4639|    268|        res = copy_lock_held_untracked(o, 0);
 4640|    268|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    268|    }
  ------------------
 4641|    268|    }
 4642|    268|    if (res != NULL) {
  ------------------
  |  Branch (4642:9): [True: 268, False: 0]
  ------------------
 4643|    268|        _PyObject_GC_TRACK(res);
  ------------------
  |  |  507|    268|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4644|    268|    }
 4645|    268|    return res;
 4646|    268|}
PyDict_Size:
 4650|      8|{
 4651|      8|    if (mp == NULL || !PyAnyDict_Check(mp)) {
  ------------------
  |  |   43|      8|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|      8|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     16|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 8, 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 (4651:9): [True: 0, False: 8]
  ------------------
 4652|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 4653|      0|        return -1;
 4654|      0|    }
 4655|      8|    return GET_USED((PyDictObject *)mp);
  ------------------
  |  |  328|      8|#define GET_USED(ep) FT_ATOMIC_LOAD_SSIZE_RELAXED((ep)->ma_used)
  |  |  ------------------
  |  |  |  |  149|      8|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  ------------------
  ------------------
 4656|      8|}
PyDict_SetDefaultRef:
 4917|  17.9k|{
 4918|  17.9k|    int res;
 4919|  17.9k|    Py_BEGIN_CRITICAL_SECTION(d);
  ------------------
  |  |   51|  17.9k|    {
  ------------------
 4920|  17.9k|    res = dict_setdefault_ref_lock_held(d, key, default_value, result, 1);
 4921|  17.9k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  17.9k|    }
  ------------------
 4922|  17.9k|    return res;
 4923|  17.9k|}
_PyDict_KeysSize:
 5169|    582|{
 5170|    582|    size_t es = (keys->dk_kind == DICT_KEYS_GENERAL
  ------------------
  |  Branch (5170:18): [True: 3, False: 579]
  ------------------
 5171|    582|                 ? sizeof(PyDictKeyEntry) : sizeof(PyDictUnicodeEntry));
 5172|    582|    size_t size = sizeof(PyDictKeysObject);
 5173|    582|    size += (size_t)1 << keys->dk_log2_index_bytes;
 5174|    582|    size += USABLE_FRACTION((size_t)DK_SIZE(keys)) * es;
  ------------------
  |  |  590|    582|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
 5175|    582|    return size;
 5176|    582|}
PyDict_Contains:
 5290|  2.08M|{
 5291|  2.08M|    if (!PyAnyDict_Check(op)) {
  ------------------
  |  |   43|  2.08M|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  2.08M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  4.17M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 2.08M, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5292|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 5293|      0|        return -1;
 5294|      0|    }
 5295|       |
 5296|  2.08M|    return dict_contains(op, key);
 5297|  2.08M|}
PyDict_ContainsString:
 5301|      5|{
 5302|      5|    PyObject *key_obj = PyUnicode_FromString(key);
 5303|      5|    if (key_obj == NULL) {
  ------------------
  |  Branch (5303:9): [True: 0, False: 5]
  ------------------
 5304|      0|        return -1;
 5305|      0|    }
 5306|      5|    int res = PyDict_Contains(op, key_obj);
 5307|      5|    Py_DECREF(key_obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5308|      5|    return res;
 5309|      5|}
_PyDict_Contains_KnownHash:
 5314|  2.09M|{
 5315|  2.09M|    PyDictObject *mp = _PyAnyDict_CAST(op);
  ------------------
  |  |  326|  2.09M|    (assert(PyAnyDict_Check(op)), _Py_CAST(PyDictObject*, op))
  |  |  ------------------
  |  |  |  |   37|  2.09M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (5315:24): [True: 2.09M, False: 0]
  |  Branch (5315:24): [True: 0, False: 0]
  ------------------
 5316|      0|    PyObject *value;
 5317|  2.09M|    Py_ssize_t ix;
 5318|       |
 5319|       |#ifdef Py_GIL_DISABLED
 5320|       |    ix = _Py_dict_lookup_threadsafe(mp, key, hash, &value);
 5321|       |#else
 5322|  2.09M|    ix = _Py_dict_lookup(mp, key, hash, &value);
 5323|  2.09M|#endif
 5324|  2.09M|    if (ix == DKIX_ERROR)
  ------------------
  |  |  187|  2.09M|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (5324:9): [True: 0, False: 2.09M]
  ------------------
 5325|      0|        return -1;
 5326|  2.09M|    if (ix != DKIX_EMPTY && value != NULL) {
  ------------------
  |  |  185|  4.18M|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (5326:9): [True: 849k, False: 1.24M]
  |  Branch (5326:29): [True: 849k, False: 0]
  ------------------
 5327|       |#ifdef Py_GIL_DISABLED
 5328|       |        Py_DECREF(value);
 5329|       |#endif
 5330|   849k|        return 1;
 5331|   849k|    }
 5332|  1.24M|    return 0;
 5333|  2.09M|}
PyDict_GetItemStringRef:
 5566|    201|{
 5567|    201|    PyObject *key_obj = PyUnicode_FromString(key);
 5568|    201|    if (key_obj == NULL) {
  ------------------
  |  Branch (5568:9): [True: 0, False: 201]
  ------------------
 5569|      0|        *result = NULL;
 5570|      0|        return -1;
 5571|      0|    }
 5572|    201|    int res = PyDict_GetItemRef(v, key_obj, result);
 5573|    201|    Py_DECREF(key_obj);
  ------------------
  |  |  430|    201|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    201|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    201|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5574|    201|    return res;
 5575|    201|}
PyDict_SetItemString:
 5579|  1.83k|{
 5580|  1.83k|    PyObject *kv;
 5581|  1.83k|    int err;
 5582|  1.83k|    kv = PyUnicode_FromString(key);
 5583|  1.83k|    if (kv == NULL)
  ------------------
  |  Branch (5583:9): [True: 0, False: 1.83k]
  ------------------
 5584|      0|        return -1;
 5585|  1.83k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5586|  1.83k|    _PyUnicode_InternImmortal(interp, &kv); /* XXX Should we really? */
 5587|  1.83k|    err = PyDict_SetItem(v, kv, item);
 5588|  1.83k|    Py_DECREF(kv);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5589|  1.83k|    return err;
 5590|  1.83k|}
_PyDictView_New:
 6462|  4.06k|{
 6463|  4.06k|    _PyDictViewObject *dv;
 6464|  4.06k|    if (dict == NULL) {
  ------------------
  |  Branch (6464:9): [True: 0, False: 4.06k]
  ------------------
 6465|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 6466|      0|        return NULL;
 6467|      0|    }
 6468|  4.06k|    if (!PyAnyDict_Check(dict)) {
  ------------------
  |  |   43|  4.06k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  4.06k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  8.12k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 4.06k, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6469|       |        /* XXX Get rid of this restriction later */
 6470|      0|        PyErr_Format(PyExc_TypeError,
 6471|      0|                     "%s() requires a dict argument, not '%s'",
 6472|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6473|      0|        return NULL;
 6474|      0|    }
 6475|  4.06k|    dv = PyObject_GC_New(_PyDictViewObject, type);
  ------------------
  |  |  181|  4.06k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  4.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 6476|  4.06k|    if (dv == NULL)
  ------------------
  |  Branch (6476:9): [True: 0, False: 4.06k]
  ------------------
 6477|      0|        return NULL;
 6478|  4.06k|    dv->dv_dict = (PyDictObject *)Py_NewRef(dict);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6479|  4.06k|    _PyObject_GC_TRACK(dv);
  ------------------
  |  |  507|  4.06k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6480|  4.06k|    return (PyObject *)dv;
 6481|  4.06k|}
_PyDictView_Intersect:
 6689|      1|{
 6690|      1|    PyObject *result;
 6691|      1|    PyObject *it;
 6692|      1|    PyObject *key;
 6693|      1|    Py_ssize_t len_self;
 6694|      1|    int rv;
 6695|      1|    objobjproc dict_contains;
 6696|       |
 6697|       |    /* Python interpreter swaps parameters when dict view
 6698|       |       is on right side of & */
 6699|      1|    if (!PyDictViewSet_Check(self)) {
  ------------------
  |  |   98|      1|    (PyDictKeys_Check(op) || PyDictItems_Check(op))
  |  |  ------------------
  |  |  |  |   93|      1|#define PyDictKeys_Check(op) PyObject_TypeCheck((op), &PyDictKeys_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      2|#  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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDictKeys_Check(op) || PyDictItems_Check(op))
  |  |  ------------------
  |  |  |  |   95|      0|#define PyDictItems_Check(op) PyObject_TypeCheck((op), &PyDictItems_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6700|      0|        PyObject *tmp = other;
 6701|      0|        other = self;
 6702|      0|        self = tmp;
 6703|      0|    }
 6704|       |
 6705|      1|    len_self = dictview_len(self);
 6706|       |
 6707|       |    /* if other is a set and self is smaller than other,
 6708|       |       reuse set intersection logic */
 6709|      1|    if (PySet_CheckExact(other) && len_self <= PyObject_Size(other)) {
  ------------------
  |  |   35|      1|#define PySet_CheckExact(op) Py_IS_TYPE(op, &PySet_Type)
  |  |  ------------------
  |  |  |  |  215|      2|#  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: 0, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6709:36): [True: 0, False: 0]
  ------------------
 6710|      0|        return PyObject_CallMethodObjArgs(
 6711|      0|                other, &_Py_ID(intersection), self, NULL);
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6712|      0|    }
 6713|       |
 6714|       |    /* if other is another dict view, and it is bigger than self,
 6715|       |       swap them */
 6716|      1|    if (PyDictViewSet_Check(other)) {
  ------------------
  |  |   98|      1|    (PyDictKeys_Check(op) || PyDictItems_Check(op))
  |  |  ------------------
  |  |  |  |   93|      1|#define PyDictKeys_Check(op) PyObject_TypeCheck((op), &PyDictKeys_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      2|#  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: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDictKeys_Check(op) || PyDictItems_Check(op))
  |  |  ------------------
  |  |  |  |   95|      1|#define PyDictItems_Check(op) PyObject_TypeCheck((op), &PyDictItems_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: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6717|      0|        Py_ssize_t len_other = dictview_len(other);
 6718|      0|        if (len_other > len_self) {
  ------------------
  |  Branch (6718:13): [True: 0, False: 0]
  ------------------
 6719|      0|            PyObject *tmp = other;
 6720|      0|            other = self;
 6721|      0|            self = tmp;
 6722|      0|        }
 6723|      0|    }
 6724|       |
 6725|       |    /* at this point, two things should be true
 6726|       |       1. self is a dictview
 6727|       |       2. if other is a dictview then it is smaller than self */
 6728|      1|    result = PySet_New(NULL);
 6729|      1|    if (result == NULL)
  ------------------
  |  Branch (6729:9): [True: 0, False: 1]
  ------------------
 6730|      0|        return NULL;
 6731|       |
 6732|      1|    it = PyObject_GetIter(other);
 6733|      1|    if (it == NULL) {
  ------------------
  |  Branch (6733:9): [True: 0, False: 1]
  ------------------
 6734|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6735|      0|        return NULL;
 6736|      0|    }
 6737|       |
 6738|      1|    if (PyDictKeys_Check(self)) {
  ------------------
  |  |   93|      1|#define PyDictKeys_Check(op) PyObject_TypeCheck((op), &PyDictKeys_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6739|      1|        dict_contains = dictkeys_contains;
 6740|      1|    }
 6741|       |    /* else PyDictItems_Check(self) */
 6742|      0|    else {
 6743|      0|        dict_contains = dictitems_contains;
 6744|      0|    }
 6745|       |
 6746|     56|    while ((key = PyIter_Next(it)) != NULL) {
  ------------------
  |  Branch (6746:12): [True: 55, False: 1]
  ------------------
 6747|     55|        rv = dict_contains(self, key);
 6748|     55|        if (rv < 0) {
  ------------------
  |  Branch (6748:13): [True: 0, False: 55]
  ------------------
 6749|      0|            goto error;
 6750|      0|        }
 6751|     55|        if (rv) {
  ------------------
  |  Branch (6751:13): [True: 55, False: 0]
  ------------------
 6752|     55|            if (PySet_Add(result, key)) {
  ------------------
  |  Branch (6752:17): [True: 0, False: 55]
  ------------------
 6753|      0|                goto error;
 6754|      0|            }
 6755|     55|        }
 6756|     55|        Py_DECREF(key);
  ------------------
  |  |  430|     55|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     55|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     55|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6757|     55|    }
 6758|      1|    Py_DECREF(it);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6759|      1|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (6759:9): [True: 0, False: 1]
  ------------------
 6760|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6761|      0|        return NULL;
 6762|      0|    }
 6763|      1|    return result;
 6764|       |
 6765|      0|error:
 6766|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6767|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6768|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6769|       |    return NULL;
 6770|      1|}
_PyDict_NewKeysForClass:
 7260|    150|{
 7261|    150|    int log2_bytes = get_log2_bytes(NEXT_LOG2_SHARED_KEYS_MAX_SIZE);
  ------------------
  |  |  256|    150|#define NEXT_LOG2_SHARED_KEYS_MAX_SIZE 6
  ------------------
 7262|    150|    Py_ssize_t usable = USABLE_FRACTION((size_t)1<<NEXT_LOG2_SHARED_KEYS_MAX_SIZE);
  ------------------
  |  |  590|    150|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
 7263|       |
 7264|    150|    struct _instancekeysobject *shared_keys =
 7265|    150|                          PyMem_Malloc(sizeof(struct _instancekeysobject)
 7266|    150|                          + ((size_t)1 << log2_bytes)
 7267|    150|                          + sizeof(PyDictUnicodeEntry) * usable);
 7268|    150|    if (shared_keys == NULL) {
  ------------------
  |  Branch (7268:9): [True: 0, False: 150]
  ------------------
 7269|      0|        PyErr_Clear();
 7270|      0|        return NULL;
 7271|      0|    }
 7272|       |
 7273|    150|    shared_keys->dsk_owning_type = (PyTypeObject *)cls;
 7274|    150|    PyDictKeysObject* keys = &shared_keys->dsk_keys;
 7275|    150|    init_keys_object(keys, NEXT_LOG2_SHARED_KEYS_MAX_SIZE, log2_bytes, DICT_KEYS_SPLIT,
  ------------------
  |  |  256|    150|#define NEXT_LOG2_SHARED_KEYS_MAX_SIZE 6
  ------------------
 7276|    150|                     SHARED_KEYS_MAX_SIZE, sizeof(PyDictUnicodeEntry));
  ------------------
  |  |  255|    150|#define SHARED_KEYS_MAX_SIZE 30
  ------------------
 7277|    150|    assert(keys->dk_nentries == 0);
  ------------------
  |  Branch (7277:5): [True: 150, False: 0]
  ------------------
 7278|       |    /* Set to max size+1 as it will shrink by one before each new object */
 7279|    150|    if (cls->ht_type.tp_dict) {
  ------------------
  |  Branch (7279:9): [True: 150, False: 0]
  ------------------
 7280|    150|        PyObject *attrs = PyDict_GetItem(cls->ht_type.tp_dict, &_Py_ID(__static_attributes__));
  ------------------
  |  |  920|    150|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    150|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    150|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7281|    150|        if (attrs != NULL && PyTuple_Check(attrs)) {
  ------------------
  |  |   27|    144|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    144|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 144, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7281:13): [True: 144, False: 6]
  ------------------
 7282|    444|            for (Py_ssize_t i = 0; i < PyTuple_GET_SIZE(attrs); i++) {
  ------------------
  |  |   27|    444|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    444|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    444|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7282:36): [True: 300, False: 144]
  ------------------
 7283|    300|                PyObject *key = PyTuple_GET_ITEM(attrs, i);
  ------------------
  |  |   29|    300|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    300|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    300|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7283:33): [True: 300, False: 0]
  ------------------
 7284|      0|                Py_hash_t hash;
 7285|    300|                if (PyUnicode_CheckExact(key) && (hash = unicode_get_hash(key)) != -1) {
  ------------------
  |  |  104|    300|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    600|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    300|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    300|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 300, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7285:50): [True: 300, False: 0]
  ------------------
 7286|    300|                    if (insert_split_key(keys, key, hash) == DKIX_EMPTY) {
  ------------------
  |  |  185|    300|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (7286:25): [True: 0, False: 300]
  ------------------
 7287|      0|                        break;
 7288|      0|                    }
 7289|    300|                }
 7290|    300|            }
 7291|    144|        }
 7292|    150|    }
 7293|    150|    return keys;
 7294|    150|}
_PyDict_RemoveKeysForClass:
 7298|      4|{
 7299|      4|    struct _instancekeysobject *shared_keys = _PyDictKeys_AsSharedKeys(cls->ht_cached_keys);
 7300|      4|    FT_ATOMIC_STORE_PTR_RELEASE(shared_keys->dsk_owning_type, NULL);
  ------------------
  |  |  164|      4|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 7301|       |
 7302|      4|    _PyDictKeys_DecRef(cls->ht_cached_keys);
 7303|      4|}
_PyObject_InitInlineValues:
 7307|  6.92M|{
 7308|  6.92M|    assert(tp->tp_flags & Py_TPFLAGS_HEAPTYPE);
  ------------------
  |  Branch (7308:5): [True: 6.92M, False: 0]
  ------------------
 7309|  6.92M|    assert(tp->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  ------------------
  |  Branch (7309:5): [True: 6.92M, False: 0]
  ------------------
 7310|  6.92M|    assert(tp->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (7310:5): [True: 6.92M, False: 0]
  ------------------
 7311|  6.92M|    PyDictKeysObject *keys = CACHED_KEYS(tp);
  ------------------
  |  |  911|  6.92M|#define CACHED_KEYS(tp) (((PyHeapTypeObject*)tp)->ht_cached_keys)
  ------------------
 7312|  6.92M|    assert(keys != NULL);
  ------------------
  |  Branch (7312:5): [True: 6.92M, False: 0]
  ------------------
 7313|  6.92M|    OBJECT_STAT_INC(inline_values);
  ------------------
  |  |   77|  6.92M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
 7314|       |#ifdef Py_GIL_DISABLED
 7315|       |    Py_ssize_t usable = _Py_atomic_load_ssize_relaxed(&keys->dk_usable);
 7316|       |    if (usable > 1) {
 7317|       |        LOCK_KEYS(keys);
 7318|       |        if (keys->dk_usable > 1) {
 7319|       |            _Py_atomic_store_ssize(&keys->dk_usable, keys->dk_usable - 1);
 7320|       |        }
 7321|       |        UNLOCK_KEYS(keys);
 7322|       |    }
 7323|       |#else
 7324|  6.92M|    if (keys->dk_usable > 1) {
  ------------------
  |  Branch (7324:9): [True: 459, False: 6.92M]
  ------------------
 7325|    459|        keys->dk_usable--;
 7326|    459|    }
 7327|  6.92M|#endif
 7328|  6.92M|    size_t size = shared_keys_usable_size(keys);
 7329|  6.92M|    PyDictValues *values = _PyObject_InlineValues(obj);
 7330|  6.92M|    assert(size < 256);
  ------------------
  |  Branch (7330:5): [True: 6.92M, False: 0]
  ------------------
 7331|  6.92M|    values->capacity = (uint8_t)size;
 7332|  6.92M|    values->size = 0;
 7333|  6.92M|    values->embedded = 1;
 7334|  6.92M|    values->valid = 1;
 7335|  36.7M|    for (size_t i = 0; i < size; i++) {
  ------------------
  |  Branch (7335:24): [True: 29.8M, False: 6.92M]
  ------------------
 7336|  29.8M|        values->values[i] = NULL;
 7337|  29.8M|    }
 7338|       |    _PyObject_ManagedDictPointer(obj)->dict = NULL;
 7339|  6.92M|}
_PyDict_SetItem_LockHeld:
 7406|  13.3k|{
 7407|  13.3k|    if (!PyDict_Check(dict)) {
  ------------------
  |  |   18|  13.3k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  13.3k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (7407:9): [True: 0, False: 13.3k]
  ------------------
 7408|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7409|      0|            if (value == NULL) {
  ------------------
  |  Branch (7409:17): [True: 0, False: 0]
  ------------------
 7410|      0|                frozendict_does_not_support("deletion");
  ------------------
  |  | 2801|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2802|      0|                    "not support item " WHAT)
  ------------------
 7411|      0|            }
 7412|      0|            else {
 7413|      0|                frozendict_does_not_support("assignment");
  ------------------
  |  | 2801|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2802|      0|                    "not support item " WHAT)
  ------------------
 7414|      0|            }
 7415|      0|        }
 7416|      0|        else {
 7417|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 7418|      0|        }
 7419|      0|        return -1;
 7420|      0|    }
 7421|       |
 7422|  13.3k|    if (value == NULL) {
  ------------------
  |  Branch (7422:9): [True: 36, False: 13.3k]
  ------------------
 7423|     36|        Py_hash_t hash = _PyObject_HashDictKey(name);
 7424|     36|        if (hash == -1) {
  ------------------
  |  Branch (7424:13): [True: 0, False: 36]
  ------------------
 7425|      0|            dict_unhashable_type((PyObject*)dict, name);
 7426|      0|            return -1;
 7427|      0|        }
 7428|     36|        return _PyDict_DelItem_KnownHash_LockHeld((PyObject *)dict, name, hash);
 7429|  13.3k|    } else {
 7430|  13.3k|        return setitem_lock_held(dict, name, value);
 7431|  13.3k|    }
 7432|  13.3k|}
_PyObject_StoreInstanceAttribute:
 7553|    902|{
 7554|    902|    PyDictValues *values = _PyObject_InlineValues(obj);
 7555|    902|    if (!FT_ATOMIC_LOAD_UINT8(values->valid)) {
  ------------------
  |  |  154|    902|#define FT_ATOMIC_LOAD_UINT8(value) value
  ------------------
  |  Branch (7555:9): [True: 0, False: 902]
  ------------------
 7556|      0|        PyDictObject *dict = _PyObject_GetManagedDict(obj);
 7557|      0|        if (dict == NULL) {
  ------------------
  |  Branch (7557:13): [True: 0, False: 0]
  ------------------
 7558|      0|            dict = (PyDictObject *)PyObject_GenericGetDict(obj, NULL);
 7559|      0|            if (dict == NULL) {
  ------------------
  |  Branch (7559:17): [True: 0, False: 0]
  ------------------
 7560|      0|                return -1;
 7561|      0|            }
 7562|      0|            int res = store_instance_attr_dict(obj, dict, name, value);
 7563|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7564|      0|            return res;
 7565|      0|        }
 7566|      0|        return store_instance_attr_dict(obj, dict, name, value);
 7567|      0|    }
 7568|       |
 7569|       |#ifdef Py_GIL_DISABLED
 7570|       |    // We have a valid inline values, at least for now...  There are two potential
 7571|       |    // races with having the values become invalid.  One is the dictionary
 7572|       |    // being detached from the object.  The other is if someone is inserting
 7573|       |    // into the dictionary directly and therefore causing it to resize.
 7574|       |    //
 7575|       |    // If we haven't materialized the dictionary yet we lock on the object, which
 7576|       |    // will also be used to prevent the dictionary from being materialized while
 7577|       |    // we're doing the insertion.  If we race and the dictionary gets created
 7578|       |    // then we'll need to release the object lock and lock the dictionary to
 7579|       |    // prevent resizing.
 7580|       |    PyDictObject *dict = _PyObject_GetManagedDict(obj);
 7581|       |    if (dict == NULL) {
 7582|       |        int res;
 7583|       |        Py_BEGIN_CRITICAL_SECTION(obj);
 7584|       |        dict = _PyObject_GetManagedDict(obj);
 7585|       |
 7586|       |        if (dict == NULL) {
 7587|       |            res = store_instance_attr_lock_held(obj, values, name, value);
 7588|       |        }
 7589|       |        Py_END_CRITICAL_SECTION();
 7590|       |
 7591|       |        if (dict == NULL) {
 7592|       |            return res;
 7593|       |        }
 7594|       |    }
 7595|       |    return store_instance_attr_dict(obj, dict, name, value);
 7596|       |#else
 7597|    902|    return store_instance_attr_lock_held(obj, values, name, value);
 7598|    902|#endif
 7599|    902|}
_PyObject_TryGetInstanceAttribute:
 7636|  15.4M|{
 7637|  15.4M|    assert(PyUnicode_CheckExact(name));
  ------------------
  |  Branch (7637:5): [True: 15.4M, False: 0]
  ------------------
 7638|  15.4M|    PyDictValues *values = _PyObject_InlineValues(obj);
 7639|  15.4M|    if (!FT_ATOMIC_LOAD_UINT8(values->valid)) {
  ------------------
  |  |  154|  15.4M|#define FT_ATOMIC_LOAD_UINT8(value) value
  ------------------
  |  Branch (7639:9): [True: 0, False: 15.4M]
  ------------------
 7640|      0|        return false;
 7641|      0|    }
 7642|       |
 7643|  15.4M|    PyDictKeysObject *keys = CACHED_KEYS(Py_TYPE(obj));
  ------------------
  |  |  911|  15.4M|#define CACHED_KEYS(tp) (((PyHeapTypeObject*)tp)->ht_cached_keys)
  ------------------
 7644|  15.4M|    assert(keys != NULL);
  ------------------
  |  Branch (7644:5): [True: 15.4M, False: 0]
  ------------------
 7645|  15.4M|    Py_ssize_t ix = _PyDictKeys_StringLookupSplit(keys, name);
 7646|  15.4M|    if (ix == DKIX_EMPTY) {
  ------------------
  |  |  185|  15.4M|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (7646:9): [True: 12.3M, False: 3.10M]
  ------------------
 7647|  12.3M|        *attr = NULL;
 7648|  12.3M|        return true;
 7649|  12.3M|    }
 7650|       |
 7651|       |#ifdef Py_GIL_DISABLED
 7652|       |    PyObject *value = _Py_atomic_load_ptr_acquire(&values->values[ix]);
 7653|       |    if (value == NULL) {
 7654|       |        if (FT_ATOMIC_LOAD_UINT8(values->valid)) {
 7655|       |            *attr = NULL;
 7656|       |            return true;
 7657|       |        }
 7658|       |    }
 7659|       |    else if (_Py_TryIncrefCompare(&values->values[ix], value)) {
 7660|       |        *attr = value;
 7661|       |        return true;
 7662|       |    }
 7663|       |
 7664|       |    PyDictObject *dict = _PyObject_GetManagedDict(obj);
 7665|       |    if (dict == NULL) {
 7666|       |        // No dict, lock the object to prevent one from being
 7667|       |        // materialized...
 7668|       |        bool success = false;
 7669|       |        Py_BEGIN_CRITICAL_SECTION(obj);
 7670|       |
 7671|       |        dict = _PyObject_GetManagedDict(obj);
 7672|       |        if (dict == NULL) {
 7673|       |            // Still no dict, we can read from the values
 7674|       |            assert(values->valid);
 7675|       |            value = values->values[ix];
 7676|       |            *attr = _Py_XNewRefWithLock(value);
 7677|       |            success = true;
 7678|       |        }
 7679|       |
 7680|       |        Py_END_CRITICAL_SECTION();
 7681|       |
 7682|       |        if (success) {
 7683|       |            return true;
 7684|       |        }
 7685|       |    }
 7686|       |
 7687|       |    // We have a dictionary, we'll need to lock it to prevent
 7688|       |    // the values from being resized.
 7689|       |    assert(dict != NULL);
 7690|       |
 7691|       |    bool success;
 7692|       |    Py_BEGIN_CRITICAL_SECTION(dict);
 7693|       |
 7694|       |    if (dict->ma_values == values && FT_ATOMIC_LOAD_UINT8(values->valid)) {
 7695|       |        value = _Py_atomic_load_ptr_consume(&values->values[ix]);
 7696|       |        *attr = _Py_XNewRefWithLock(value);
 7697|       |        success = true;
 7698|       |    } else {
 7699|       |        // Caller needs to lookup from the dictionary
 7700|       |        success = false;
 7701|       |    }
 7702|       |
 7703|       |    Py_END_CRITICAL_SECTION();
 7704|       |
 7705|       |    return success;
 7706|       |#else
 7707|  3.10M|    PyObject *value = values->values[ix];
 7708|  3.10M|    *attr = Py_XNewRef(value);
  ------------------
  |  |  551|  3.10M|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.10M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.10M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7709|       |    return true;
 7710|  15.4M|#endif
 7711|  15.4M|}
PyObject_VisitManagedDict:
 7749|  24.6M|{
 7750|  24.6M|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  24.6M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  24.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7751|  24.6M|    if((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0) {
  ------------------
  |  |  482|  24.6M|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (7751:8): [True: 0, False: 24.6M]
  ------------------
 7752|      0|        return 0;
 7753|      0|    }
 7754|  24.6M|    PyDictObject *dict = _PyObject_ManagedDictPointer(obj)->dict;
 7755|  24.6M|    if (dict != NULL) {
  ------------------
  |  Branch (7755:9): [True: 36.9k, False: 24.6M]
  ------------------
 7756|       |        // GH-130327: If there's a managed dictionary available, we should
 7757|       |        // *always* traverse it. The dict is responsible for traversing the
 7758|       |        // inline values if it points to them.
 7759|  36.9k|        Py_VISIT(dict);
  ------------------
  |  |  194|  36.9k|    do {                                                                \
  |  |  195|  36.9k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 36.9k, False: 0]
  |  |  ------------------
  |  |  196|  36.9k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  36.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  36.9k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 36.9k]
  |  |  ------------------
  |  |  198|  36.9k|                return vret;                                            \
  |  |  199|  36.9k|        }                                                               \
  |  |  200|  36.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 36.9k]
  |  |  ------------------
  ------------------
 7760|  36.9k|    }
 7761|  24.6M|    else if (tp->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|  24.6M|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (7761:14): [True: 24.6M, False: 268]
  ------------------
 7762|  24.6M|        PyDictValues *values = _PyObject_InlineValues(obj);
 7763|  24.6M|        if (values->valid) {
  ------------------
  |  Branch (7763:13): [True: 24.6M, False: 0]
  ------------------
 7764|   123M|            for (Py_ssize_t i = 0; i < values->capacity; i++) {
  ------------------
  |  Branch (7764:36): [True: 99.1M, False: 24.6M]
  ------------------
 7765|  99.1M|                Py_VISIT(values->values[i]);
  ------------------
  |  |  194|  99.1M|    do {                                                                \
  |  |  195|  99.1M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 74.0M, False: 25.0M]
  |  |  ------------------
  |  |  196|  74.0M|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  74.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  74.0M|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 74.0M]
  |  |  ------------------
  |  |  198|  74.0M|                return vret;                                            \
  |  |  199|  74.0M|        }                                                               \
  |  |  200|  99.1M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 99.1M]
  |  |  ------------------
  ------------------
 7766|  99.1M|            }
 7767|  24.6M|        }
 7768|  24.6M|    }
 7769|  24.6M|    return 0;
 7770|  24.6M|}
PyObject_ClearManagedDict:
 7988|  6.92M|{
 7989|       |    // This is called when the object is being freed or cleared
 7990|       |    // by the GC and therefore known to have no references.
 7991|  6.92M|    if (Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  213|  6.92M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.92M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.92M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|  6.92M|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (7991:9): [True: 6.92M, False: 7]
  ------------------
 7992|  6.92M|        PyDictObject *dict = _PyObject_GetManagedDict(obj);
 7993|  6.92M|        if (dict == NULL) {
  ------------------
  |  Branch (7993:13): [True: 6.92M, False: 0]
  ------------------
 7994|       |            // We have no materialized dictionary and inline values
 7995|       |            // that just need to be cleared.
 7996|       |            // No dict to clear, we're done
 7997|  6.92M|            clear_inline_values(_PyObject_InlineValues(obj));
 7998|  6.92M|            return;
 7999|  6.92M|        }
 8000|      0|        else if (FT_ATOMIC_LOAD_PTR_RELAXED(dict->ma_values) ==
  ------------------
  |  |  153|      0|#define FT_ATOMIC_LOAD_PTR_RELAXED(value) value
  ------------------
  |  Branch (8000:18): [True: 0, False: 0]
  ------------------
 8001|      0|                    _PyObject_InlineValues(obj)) {
 8002|       |            // We have a materialized object which points at the inline
 8003|       |            // values. We need to materialize the keys. Nothing can modify
 8004|       |            // this object, but we need to lock the dictionary.
 8005|      0|            int err;
 8006|      0|            Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|      0|    {
  ------------------
 8007|      0|            err = detach_dict_from_object(dict, obj);
 8008|      0|            Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 8009|       |
 8010|      0|            if (err) {
  ------------------
  |  Branch (8010:17): [True: 0, False: 0]
  ------------------
 8011|       |                /* Must be out of memory */
 8012|      0|                assert(PyErr_Occurred() == PyExc_MemoryError);
  ------------------
  |  Branch (8012:17): [True: 0, False: 0]
  ------------------
 8013|      0|                PyErr_FormatUnraisable("Exception ignored while "
 8014|      0|                                       "clearing an object managed dict");
 8015|       |                /* Clear the dict */
 8016|      0|                Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|      0|    {
  ------------------
 8017|      0|                PyDictKeysObject *oldkeys = dict->ma_keys;
 8018|      0|                set_keys(dict, Py_EMPTY_KEYS);
  ------------------
  |  |  660|      0|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
 8019|      0|                dict->ma_values = NULL;
 8020|      0|                dictkeys_decref(oldkeys, IS_DICT_SHARED(dict));
  ------------------
  |  |  269|      0|#define IS_DICT_SHARED(mp) (false)
  ------------------
 8021|      0|                STORE_USED(dict, 0);
  ------------------
  |  |  336|      0|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  194|      0|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 8022|      0|                clear_inline_values(_PyObject_InlineValues(obj));
 8023|      0|                Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 8024|      0|            }
 8025|      0|        }
 8026|  6.92M|    }
 8027|      7|    Py_CLEAR(_PyObject_ManagedDictPointer(obj)->dict);
  ------------------
  |  |  484|      7|    do { \
  |  |  485|      7|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      7|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      7|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 7, False: 0]
  |  |  ------------------
  |  |  488|      7|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      7|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      7|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      7|        } \
  |  |  491|      7|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
 8028|      7|}
PyObject_GenericGetDict:
 8103|     41|{
 8104|     41|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|     41|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     41|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     41|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8105|     41|    if (_PyType_HasFeature(tp, Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|     41|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (8105:9): [True: 0, False: 41]
  ------------------
 8106|      0|        return Py_XNewRef(ensure_managed_dict(obj));
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8107|      0|    }
 8108|     41|    else {
 8109|     41|        PyObject **dictptr = _PyObject_ComputedDictPointer(obj);
 8110|     41|        if (dictptr == NULL) {
  ------------------
  |  Branch (8110:13): [True: 0, False: 41]
  ------------------
 8111|      0|            PyErr_SetString(PyExc_AttributeError,
 8112|      0|                            "This object has no __dict__");
 8113|      0|            return NULL;
 8114|      0|        }
 8115|       |
 8116|     41|        return Py_XNewRef(ensure_nonmanaged_dict(obj, dictptr));
  ------------------
  |  |  551|     41|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     41|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     41|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8117|     41|    }
 8118|     41|}
_PyObjectDict_SetItem:
 8123|  13.1k|{
 8124|  13.1k|    PyObject *dict;
 8125|  13.1k|    int res;
 8126|       |
 8127|  13.1k|    assert(dictptr != NULL);
  ------------------
  |  Branch (8127:5): [True: 13.1k, False: 0]
  ------------------
 8128|  13.1k|    dict = ensure_nonmanaged_dict(obj, dictptr);
 8129|  13.1k|    if (dict == NULL) {
  ------------------
  |  Branch (8129:9): [True: 0, False: 13.1k]
  ------------------
 8130|      0|        return -1;
 8131|      0|    }
 8132|       |
 8133|  13.1k|    Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|  13.1k|    {
  ------------------
 8134|  13.1k|    res = _PyDict_SetItem_LockHeld((PyDictObject *)dict, key, value);
 8135|  13.1k|    ASSERT_CONSISTENT(dict);
  ------------------
  |  |  668|  13.1k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (8135:5): [True: 13.1k, False: 0]
  ------------------
 8136|  13.1k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  13.1k|    }
  ------------------
 8137|  13.1k|    return res;
 8138|  13.1k|}
_PyDictKeys_DecRef:
 8142|      4|{
 8143|       |    dictkeys_decref(keys, false);
 8144|      4|}
_PyDictKeys_GetVersionForCurrentState:
 8173|  4.33k|{
 8174|  4.33k|    uint32_t dk_version = FT_ATOMIC_LOAD_UINT32_RELAXED(dictkeys->dk_version);
  ------------------
  |  |  159|  4.33k|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  ------------------
 8175|  4.33k|    if (dk_version != 0) {
  ------------------
  |  Branch (8175:9): [True: 4.19k, False: 139]
  ------------------
 8176|  4.19k|        return dk_version;
 8177|  4.19k|    }
 8178|    139|    dk_version = get_next_dict_keys_version(interp);
 8179|    139|    FT_ATOMIC_STORE_UINT32_RELAXED(dictkeys->dk_version, dk_version);
  ------------------
  |  |  172|    139|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 8180|    139|    return dk_version;
 8181|  4.33k|}
_PyDict_GetKeysVersionForCurrentState:
 8186|  2.36k|{
 8187|  2.36k|    ASSERT_DICT_LOCKED((PyObject *) dict);
 8188|  2.36k|    uint32_t dk_version =
 8189|  2.36k|        _PyDictKeys_GetVersionForCurrentState(interp, dict->ma_keys);
 8190|  2.36k|    ensure_shared_on_keys_version_assignment(dict);
 8191|  2.36k|    return dk_version;
 8192|  2.36k|}
PyDict_Watch:
 8216|  2.26k|{
 8217|  2.26k|    if (!PyDict_Check(dict)) {
  ------------------
  |  |   18|  2.26k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.26k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (8217:9): [True: 0, False: 2.26k]
  ------------------
 8218|      0|        PyErr_SetString(PyExc_ValueError, "Cannot watch non-dictionary");
 8219|      0|        return -1;
 8220|      0|    }
 8221|  2.26k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 8222|  2.26k|    if (validate_watcher_id(interp, watcher_id)) {
  ------------------
  |  Branch (8222:9): [True: 0, False: 2.26k]
  ------------------
 8223|      0|        return -1;
 8224|      0|    }
 8225|  2.26k|    FT_ATOMIC_OR_UINT64(((PyDictObject*)dict)->_ma_watcher_tag,
  ------------------
  |  |  174|  2.26k|#define FT_ATOMIC_OR_UINT64(value, new_value) (void)(value |= new_value)
  ------------------
 8226|  2.26k|                        1ULL << watcher_id);
 8227|  2.26k|    return 0;
 8228|  2.26k|}
_PyDict_SendEvent:
 8303|  7.60k|{
 8304|  7.60k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 8305|  68.4k|    for (int i = 0; i < DICT_MAX_WATCHERS; i++) {
  ------------------
  |  |   11|  68.4k|#define DICT_MAX_WATCHERS 8
  ------------------
  |  Branch (8305:21): [True: 60.8k, False: 7.60k]
  ------------------
 8306|  60.8k|        if (watcher_bits & 1) {
  ------------------
  |  Branch (8306:13): [True: 7.60k, False: 53.2k]
  ------------------
 8307|  7.60k|            PyDict_WatchCallback cb = FT_ATOMIC_LOAD_PTR_ACQUIRE(
  ------------------
  |  |  150|  7.60k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 8308|  7.60k|                interp->dict_state.watchers[i]);
 8309|  7.60k|            if (cb && (cb(event, (PyObject*)mp, key, value) < 0)) {
  ------------------
  |  Branch (8309:17): [True: 7.60k, False: 0]
  |  Branch (8309:23): [True: 0, False: 7.60k]
  ------------------
 8310|       |                // We don't want to resurrect the dict by potentially having an
 8311|       |                // unraisablehook keep a reference to it, so we don't pass the
 8312|       |                // dict as context, just an informative string message.  Dict
 8313|       |                // repr can call arbitrary code, so we invent a simpler version.
 8314|      0|                PyErr_FormatUnraisable(
 8315|      0|                    "Exception ignored in %s watcher callback for <dict at %p>",
 8316|      0|                    dict_event_name(event), mp);
 8317|      0|            }
 8318|  7.60k|        }
 8319|  60.8k|        watcher_bits >>= 1;
 8320|  60.8k|    }
 8321|  7.60k|}
dictobject.c:dictkeys_get_index:
  528|  60.2M|{
  529|  60.2M|    int log2size = DK_LOG_SIZE(keys);
  ------------------
  |  |  272|  60.2M|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  ------------------
  |  |  |  |  277|  60.2M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  530|  60.2M|    Py_ssize_t ix;
  531|       |
  532|  60.2M|    if (log2size < 8) {
  ------------------
  |  Branch (532:9): [True: 40.4M, False: 19.7M]
  ------------------
  533|  40.4M|        ix = LOAD_INDEX(keys, 8, i);
  ------------------
  |  |  271|  40.4M|#define LOAD_INDEX(keys, size, idx) ((const int##size##_t*)(keys->dk_indices))[idx]
  ------------------
  534|  40.4M|    }
  535|  19.7M|    else if (log2size < 16) {
  ------------------
  |  Branch (535:14): [True: 15.7M, False: 4.01M]
  ------------------
  536|  15.7M|        ix = LOAD_INDEX(keys, 16, i);
  ------------------
  |  |  271|  15.7M|#define LOAD_INDEX(keys, size, idx) ((const int##size##_t*)(keys->dk_indices))[idx]
  ------------------
  537|  15.7M|    }
  538|  4.01M|#if SIZEOF_VOID_P > 4
  539|  4.01M|    else if (log2size >= 32) {
  ------------------
  |  Branch (539:14): [True: 0, False: 4.01M]
  ------------------
  540|      0|        ix = LOAD_INDEX(keys, 64, i);
  ------------------
  |  |  271|      0|#define LOAD_INDEX(keys, size, idx) ((const int##size##_t*)(keys->dk_indices))[idx]
  ------------------
  541|      0|    }
  542|  4.01M|#endif
  543|  4.01M|    else {
  544|  4.01M|        ix = LOAD_INDEX(keys, 32, i);
  ------------------
  |  |  271|  4.01M|#define LOAD_INDEX(keys, size, idx) ((const int##size##_t*)(keys->dk_indices))[idx]
  ------------------
  545|  4.01M|    }
  546|  60.2M|    assert(ix >= DKIX_DUMMY);
  ------------------
  |  Branch (546:5): [True: 60.2M, False: 0]
  ------------------
  547|  60.2M|    return ix;
  548|  60.2M|}
dictobject.c:unicode_get_hash:
  451|  20.6M|{
  452|  20.6M|    return PyUnstable_Unicode_GET_CACHED_HASH(o);
  453|  20.6M|}
dictobject.c:new_dict:
  973|  15.3k|{
  974|  15.3k|    PyDictObject *mp = _Py_FREELIST_POP(PyDictObject, dicts);
  ------------------
  |  |   43|  15.3k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  15.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  975|  15.3k|    if (mp == NULL) {
  ------------------
  |  Branch (975:9): [True: 1.36k, False: 13.9k]
  ------------------
  976|  1.36k|        mp = PyObject_GC_New(PyDictObject, &PyDict_Type);
  ------------------
  |  |  181|  1.36k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  1.36k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  977|  1.36k|    }
  978|  15.3k|    assert(mp == NULL || Py_IS_TYPE(mp, &PyDict_Type));
  ------------------
  |  Branch (978:5): [True: 0, False: 15.3k]
  |  Branch (978:5): [True: 15.3k, False: 0]
  ------------------
  979|       |
  980|  15.3k|    return new_dict_impl(mp, keys, values, used, free_values_on_failure, 0, 1);
  981|  15.3k|}
dictobject.c:new_dict_impl:
  945|  15.8k|{
  946|  15.8k|    assert(keys != NULL);
  ------------------
  |  Branch (946:5): [True: 15.8k, False: 0]
  ------------------
  947|  15.8k|    if (mp == NULL) {
  ------------------
  |  Branch (947:9): [True: 0, False: 15.8k]
  ------------------
  948|      0|        dictkeys_decref(keys, false);
  949|      0|        if (free_values_on_failure) {
  ------------------
  |  Branch (949:13): [True: 0, False: 0]
  ------------------
  950|      0|            free_values(values, false);
  951|      0|        }
  952|      0|        return NULL;
  953|      0|    }
  954|       |
  955|  15.8k|    mp->ma_keys = keys;
  956|  15.8k|    mp->ma_values = values;
  957|  15.8k|    mp->ma_used = used;
  958|  15.8k|    mp->_ma_watcher_tag = 0;
  959|  15.8k|    if (frozendict) {
  ------------------
  |  Branch (959:9): [True: 0, False: 15.8k]
  ------------------
  960|      0|        ((PyFrozenDictObject *)mp)->ma_hash = -1;
  961|      0|    }
  962|  15.8k|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|  15.8k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (962:5): [True: 15.8k, False: 0]
  ------------------
  963|  15.8k|    if (gc_track) {
  ------------------
  |  Branch (963:9): [True: 15.3k, False: 541]
  ------------------
  964|  15.3k|        _PyObject_GC_TRACK(mp);
  ------------------
  |  |  507|  15.3k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  965|  15.3k|    }
  966|  15.8k|    return (PyObject *)mp;
  967|  15.8k|}
dictobject.c:free_values:
  930|      7|{
  931|      7|    assert(values->embedded == 0);
  ------------------
  |  Branch (931:5): [True: 7, False: 0]
  ------------------
  932|       |#ifdef Py_GIL_DISABLED
  933|       |    if (use_qsbr) {
  934|       |        _PyMem_FreeDelayed(values, values_size_from_count(values->capacity));
  935|       |        return;
  936|       |    }
  937|       |#endif
  938|      7|    PyMem_Free(values);
  939|      7|}
dictobject.c:check_keys_unicode:
 1248|  2.09k|{
 1249|  2.09k|    return PyUnicode_CheckExact(key) && (dk->dk_kind != DICT_KEYS_GENERAL);
  ------------------
  |  |  104|  2.09k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  4.19k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2.09k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1249:41): [True: 2.09k, False: 0]
  ------------------
 1250|  2.09k|}
dictobject.c:hash_unicode_key:
 1254|   715k|{
 1255|   715k|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (1255:5): [True: 715k, False: 0]
  ------------------
 1256|   715k|    Py_hash_t hash = unicode_get_hash(key);
 1257|   715k|    if (hash == -1) {
  ------------------
  |  Branch (1257:9): [True: 0, False: 715k]
  ------------------
 1258|      0|        hash = PyUnicode_Type.tp_hash(key);
 1259|      0|        assert(hash != -1);
  ------------------
  |  Branch (1259:9): [True: 0, False: 0]
  ------------------
 1260|      0|    }
 1261|   715k|    return hash;
 1262|   715k|}
dictobject.c:unicodekeys_lookup_unicode:
 1208|  35.7M|{
 1209|       |    return do_lookup(NULL, dk, key, hash, compare_unicode_unicode);
 1210|  35.7M|}
dictobject.c:do_lookup:
 1115|  45.6M|{
 1116|  45.6M|    void *ep0 = _DK_ENTRIES(dk);
 1117|  45.6M|    size_t mask = DK_MASK(dk);
  ------------------
  |  |  467|  45.6M|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  274|  45.6M|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  272|  45.6M|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  277|  45.6M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1118|  45.6M|    size_t perturb = hash;
 1119|  45.6M|    size_t i = (size_t)hash & mask;
 1120|  45.6M|    Py_ssize_t ix;
 1121|  47.8M|    for (;;) {
 1122|  47.8M|        ix = dictkeys_get_index(dk, i);
 1123|  47.8M|        if (ix >= 0) {
  ------------------
  |  Branch (1123:13): [True: 30.5M, False: 17.3M]
  ------------------
 1124|  30.5M|            int cmp = check_lookup(mp, dk, ep0, ix, key, hash);
 1125|  30.5M|            if (cmp < 0) {
  ------------------
  |  Branch (1125:17): [True: 0, False: 30.5M]
  ------------------
 1126|      0|                return cmp;
 1127|  30.5M|            } else if (cmp) {
  ------------------
  |  Branch (1127:24): [True: 26.7M, False: 3.82M]
  ------------------
 1128|  26.7M|                return ix;
 1129|  26.7M|            }
 1130|  30.5M|        }
 1131|  17.3M|        else if (ix == DKIX_EMPTY) {
  ------------------
  |  |  185|  17.3M|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (1131:18): [True: 17.2M, False: 8.80k]
  ------------------
 1132|  17.2M|            return DKIX_EMPTY;
  ------------------
  |  |  185|  17.2M|#define DKIX_EMPTY (-1)
  ------------------
 1133|  17.2M|        }
 1134|  3.83M|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  338|  3.83M|#define PERTURB_SHIFT 5
  ------------------
 1135|  3.83M|        i = mask & (i*5 + perturb + 1);
 1136|       |
 1137|       |        // Manual loop unrolling
 1138|  3.83M|        ix = dictkeys_get_index(dk, i);
 1139|  3.83M|        if (ix >= 0) {
  ------------------
  |  Branch (1139:13): [True: 2.88M, False: 949k]
  ------------------
 1140|  2.88M|            int cmp = check_lookup(mp, dk, ep0, ix, key, hash);
 1141|  2.88M|            if (cmp < 0) {
  ------------------
  |  Branch (1141:17): [True: 0, False: 2.88M]
  ------------------
 1142|      0|                return cmp;
 1143|  2.88M|            } else if (cmp) {
  ------------------
  |  Branch (1143:24): [True: 693k, False: 2.19M]
  ------------------
 1144|   693k|                return ix;
 1145|   693k|            }
 1146|  2.88M|        }
 1147|   949k|        else if (ix == DKIX_EMPTY) {
  ------------------
  |  |  185|   949k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (1147:18): [True: 945k, False: 3.78k]
  ------------------
 1148|   945k|            return DKIX_EMPTY;
  ------------------
  |  |  185|   945k|#define DKIX_EMPTY (-1)
  ------------------
 1149|   945k|        }
 1150|  2.19M|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  338|  2.19M|#define PERTURB_SHIFT 5
  ------------------
 1151|  2.19M|        i = mask & (i*5 + perturb + 1);
 1152|  2.19M|    }
 1153|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1154|  45.6M|}
dictobject.c:compare_unicode_unicode:
 1194|  24.6M|{
 1195|  24.6M|    PyDictUnicodeEntry *ep = &((PyDictUnicodeEntry *)ep0)[ix];
 1196|  24.6M|    PyObject *ep_key = FT_ATOMIC_LOAD_PTR_CONSUME(ep->me_key);
  ------------------
  |  |  151|  24.6M|#define FT_ATOMIC_LOAD_PTR_CONSUME(value) value
  ------------------
 1197|  24.6M|    assert(ep_key != NULL);
  ------------------
  |  Branch (1197:5): [True: 24.6M, False: 0]
  ------------------
 1198|  24.6M|    assert(PyUnicode_CheckExact(ep_key));
  ------------------
  |  Branch (1198:5): [True: 24.6M, False: 0]
  ------------------
 1199|  24.6M|    if (ep_key == key ||
  ------------------
  |  Branch (1199:9): [True: 21.2M, False: 3.38M]
  ------------------
 1200|  22.0M|            (unicode_get_hash(ep_key) == hash && unicode_eq(ep_key, key))) {
  ------------------
  |  Branch (1200:14): [True: 767k, False: 2.61M]
  |  Branch (1200:50): [True: 767k, False: 0]
  ------------------
 1201|  22.0M|        return 1;
 1202|  22.0M|    }
 1203|  2.61M|    return 0;
 1204|  24.6M|}
dictobject.c:unicodekeys_lookup_split:
 1272|  15.4M|{
 1273|  15.4M|    Py_ssize_t ix;
 1274|  15.4M|    assert(dk->dk_kind == DICT_KEYS_SPLIT);
  ------------------
  |  Branch (1274:5): [True: 15.4M, False: 0]
  ------------------
 1275|  15.4M|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (1275:5): [True: 15.4M, False: 0]
  ------------------
 1276|       |
 1277|       |#ifdef Py_GIL_DISABLED
 1278|       |    // A split dictionaries keys can be mutated by other dictionaries
 1279|       |    // but if we have a unicode key we can avoid locking the shared
 1280|       |    // keys.
 1281|       |    ix = unicodekeys_lookup_unicode_threadsafe(dk, key, hash);
 1282|       |    if (ix == DKIX_KEY_CHANGED) {
 1283|       |        LOCK_KEYS(dk);
 1284|       |        ix = unicodekeys_lookup_unicode(dk, key, hash);
 1285|       |        UNLOCK_KEYS(dk);
 1286|       |    }
 1287|       |#else
 1288|  15.4M|    ix = unicodekeys_lookup_unicode(dk, key, hash);
 1289|  15.4M|#endif
 1290|  15.4M|    return ix;
 1291|  15.4M|}
dictobject.c:unicodekeys_lookup_generic:
 1187|  2.08k|{
 1188|  2.08k|    return do_lookup(mp, dk, key, hash, compare_unicode_generic);
 1189|  2.08k|}
dictobject.c:dictkeys_generic_lookup:
 1242|  9.97M|{
 1243|  9.97M|    return do_lookup(mp, dk, key, hash, compare_generic);
 1244|  9.97M|}
dictobject.c:compare_generic:
 1215|  8.82M|{
 1216|  8.82M|    PyDictKeyEntry *ep = &((PyDictKeyEntry *)ep0)[ix];
 1217|  8.82M|    assert(ep->me_key != NULL);
  ------------------
  |  Branch (1217:5): [True: 8.82M, False: 0]
  ------------------
 1218|  8.82M|    if (ep->me_key == key) {
  ------------------
  |  Branch (1218:9): [True: 3.68M, False: 5.14M]
  ------------------
 1219|  3.68M|        return 1;
 1220|  3.68M|    }
 1221|  5.14M|    if (ep->me_hash == hash) {
  ------------------
  |  Branch (1221:9): [True: 1.75M, False: 3.39M]
  ------------------
 1222|  1.75M|        PyObject *startkey = ep->me_key;
 1223|  1.75M|        Py_INCREF(startkey);
  ------------------
  |  |  310|  1.75M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.75M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.75M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1224|  1.75M|        int cmp = PyObject_RichCompareBool(startkey, key, Py_EQ);
  ------------------
  |  |  654|  1.75M|#define Py_EQ 2
  ------------------
 1225|  1.75M|        Py_DECREF(startkey);
  ------------------
  |  |  430|  1.75M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.75M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.75M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1226|  1.75M|        if (cmp < 0) {
  ------------------
  |  Branch (1226:13): [True: 0, False: 1.75M]
  ------------------
 1227|      0|            return DKIX_ERROR;
  ------------------
  |  |  187|      0|#define DKIX_ERROR (-3)
  ------------------
 1228|      0|        }
 1229|  1.75M|        if (dk == mp->ma_keys && ep->me_key == startkey) {
  ------------------
  |  Branch (1229:13): [True: 1.75M, False: 0]
  |  Branch (1229:34): [True: 1.75M, False: 0]
  ------------------
 1230|  1.75M|            return cmp;
 1231|  1.75M|        }
 1232|      0|        else {
 1233|       |            /* The dict was mutated, restart */
 1234|      0|            return DKIX_KEY_CHANGED;
  ------------------
  |  |  188|      0|#define DKIX_KEY_CHANGED (-4) /* Used internally */
  ------------------
 1235|      0|        }
 1236|  1.75M|    }
 1237|  3.39M|    return 0;
 1238|  5.14M|}
dictobject.c:can_modify_dict:
  306|  10.2M|{
  307|  10.2M|    if (PyFrozenDict_Check(mp)) {
  ------------------
  |  |   37|  10.2M|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|  10.2M|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 3, False: 10.2M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  308|       |        // gh-151722: A frozendict must not be tracked by the GC
  309|       |        // when it's being modified.
  310|      3|        assert(!_PyObject_GC_IS_TRACKED(mp));
  ------------------
  |  Branch (310:9): [True: 3, False: 0]
  ------------------
  311|       |
  312|       |        // No locking required to modify a newly created frozendict
  313|       |        // since it's only accessible from the current thread.
  314|      3|        assert(PyUnstable_Object_IsUniquelyReferenced(_PyObject_CAST(mp)));
  ------------------
  |  Branch (314:9): [True: 3, False: 0]
  ------------------
  315|      3|    }
  316|  10.2M|    else {
  317|       |        // Locking is only required if the dictionary is not
  318|       |        // uniquely referenced.
  319|  10.2M|        ASSERT_DICT_LOCKED(mp);
  320|  10.2M|    }
  321|  10.2M|    return 1;
  322|  10.2M|}
dictobject.c:dict_new_presized:
 2345|  10.9k|{
 2346|  10.9k|    const uint8_t log2_max_presize = 17;
 2347|  10.9k|    const Py_ssize_t max_presize = ((Py_ssize_t)1) << log2_max_presize;
 2348|  10.9k|    uint8_t log2_newsize;
 2349|  10.9k|    PyDictKeysObject *new_keys;
 2350|       |
 2351|  10.9k|    if (minused <= USABLE_FRACTION(PyDict_MINSIZE)) {
  ------------------
  |  |  590|  10.9k|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  |  Branch (2351:9): [True: 10.9k, False: 20]
  ------------------
 2352|  10.9k|        return PyDict_New();
 2353|  10.9k|    }
 2354|       |    /* There are no strict guarantee that returned dict can contain minused
 2355|       |     * items without resize.  So we create medium size dict instead of very
 2356|       |     * large dict or MemoryError.
 2357|       |     */
 2358|     20|    if (minused > USABLE_FRACTION(max_presize)) {
  ------------------
  |  |  590|     20|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  |  Branch (2358:9): [True: 0, False: 20]
  ------------------
 2359|      0|        log2_newsize = log2_max_presize;
 2360|      0|    }
 2361|     20|    else {
 2362|     20|        log2_newsize = estimate_log2_keysize(minused);
 2363|     20|    }
 2364|       |
 2365|     20|    new_keys = new_keys_object(log2_newsize, unicode);
 2366|     20|    if (new_keys == NULL)
  ------------------
  |  Branch (2366:9): [True: 0, False: 20]
  ------------------
 2367|      0|        return NULL;
 2368|     20|    return new_dict(new_keys, NULL, 0, 0);
 2369|     20|}
dictobject.c:estimate_log2_keysize:
  622|     21|{
  623|     21|    return calculate_log2_keysize((n*3 + 1) / 2);
  624|     21|}
dictobject.c:calculate_log2_keysize:
  595|   217k|{
  596|   217k|#if SIZEOF_LONG == SIZEOF_SIZE_T
  597|   217k|    minsize = Py_MAX(minsize, PyDict_MINSIZE);
  ------------------
  |  |  115|   217k|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 217k, False: 39]
  |  |  ------------------
  ------------------
  598|   217k|    return _Py_bit_length(minsize - 1);
  599|       |#elif defined(_MSC_VER)
  600|       |    // On 64bit Windows, sizeof(long) == 4. We cannot use _Py_bit_length.
  601|       |    minsize = Py_MAX(minsize, PyDict_MINSIZE);
  602|       |    unsigned long msb;
  603|       |    _BitScanReverse64(&msb, (uint64_t)minsize - 1);
  604|       |    return (uint8_t)(msb + 1);
  605|       |#else
  606|       |    uint8_t log2_size;
  607|       |    for (log2_size = PyDict_LOG_MINSIZE;
  608|       |            (((Py_ssize_t)1) << log2_size) < minsize;
  609|       |            log2_size++)
  610|       |        ;
  611|       |    return log2_size;
  612|       |#endif
  613|   217k|}
dictobject.c:new_keys_object:
  849|  1.30M|{
  850|  1.30M|    Py_ssize_t usable = USABLE_FRACTION((size_t)1<<log2_size);
  ------------------
  |  |  590|  1.30M|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  851|  1.30M|    size_t entry_size = unicode ? sizeof(PyDictUnicodeEntry) : sizeof(PyDictKeyEntry);
  ------------------
  |  Branch (851:25): [True: 5.72k, False: 1.30M]
  ------------------
  852|       |
  853|  1.30M|    int log2_bytes = get_log2_bytes(log2_size);
  854|       |
  855|  1.30M|    PyDictKeysObject *dk = NULL;
  856|  1.30M|    if (log2_size == PyDict_LOG_MINSIZE && unicode) {
  ------------------
  |  |  115|  2.61M|#define PyDict_LOG_MINSIZE 3
  ------------------
  |  Branch (856:9): [True: 1.08M, False: 217k]
  |  Branch (856:44): [True: 3.95k, False: 1.08M]
  ------------------
  857|  3.95k|        dk = _Py_FREELIST_POP_MEM(dictkeys);
  ------------------
  |  |   48|  3.95k|    _PyFreeList_PopMem(&_Py_freelists_GET()->NAME)
  ------------------
  858|  3.95k|    }
  859|  1.30M|    if (dk == NULL) {
  ------------------
  |  Branch (859:9): [True: 1.30M, False: 3.27k]
  ------------------
  860|  1.30M|        dk = PyMem_Malloc(sizeof(PyDictKeysObject)
  861|  1.30M|                          + ((size_t)1 << log2_bytes)
  862|  1.30M|                          + entry_size * usable);
  863|  1.30M|        if (dk == NULL) {
  ------------------
  |  Branch (863:13): [True: 0, False: 1.30M]
  ------------------
  864|      0|            PyErr_NoMemory();
  865|      0|            return NULL;
  866|      0|        }
  867|  1.30M|    }
  868|  1.30M|    init_keys_object(dk, log2_size, log2_bytes,
  869|  1.30M|                     unicode ? DICT_KEYS_UNICODE : DICT_KEYS_GENERAL,
  ------------------
  |  Branch (869:22): [True: 5.72k, False: 1.30M]
  ------------------
  870|  1.30M|                     usable, entry_size);
  871|  1.30M|    return dk;
  872|  1.30M|}
dictobject.c:dict_getitem:
 2427|    150|{
 2428|    150|    if (!PyAnyDict_Check(op)) {
  ------------------
  |  |   43|    150|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|    150|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    300|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 150, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2429|      0|        return NULL;
 2430|      0|    }
 2431|    150|    PyDictObject *mp = (PyDictObject *)op;
 2432|       |
 2433|    150|    Py_hash_t hash = _PyObject_HashDictKey(key);
 2434|    150|    if (hash == -1) {
  ------------------
  |  Branch (2434:9): [True: 0, False: 150]
  ------------------
 2435|      0|        PyErr_FormatUnraisable(warnmsg);
 2436|      0|        return NULL;
 2437|      0|    }
 2438|       |
 2439|    150|    PyThreadState *tstate = _PyThreadState_GET();
 2440|       |#ifdef Py_DEBUG
 2441|       |    // bpo-40839: Before Python 3.10, it was possible to call PyDict_GetItem()
 2442|       |    // with the GIL released.
 2443|       |    _Py_EnsureTstateNotNULL(tstate);
 2444|       |#endif
 2445|       |
 2446|       |    /* Preserve the existing exception */
 2447|    150|    PyObject *value;
 2448|    150|    Py_ssize_t ix; (void)ix;
 2449|       |
 2450|    150|    PyObject *exc = _PyErr_GetRaisedException(tstate);
 2451|       |#ifdef Py_GIL_DISABLED
 2452|       |    ix = _Py_dict_lookup_threadsafe(mp, key, hash, &value);
 2453|       |    Py_XDECREF(value);
 2454|       |#else
 2455|    150|    ix = _Py_dict_lookup(mp, key, hash, &value);
 2456|    150|#endif
 2457|       |
 2458|       |    /* Ignore any exception raised by the lookup */
 2459|    150|    PyObject *exc2 = _PyErr_Occurred(tstate);
 2460|    150|    if (exc2 && !PyErr_GivenExceptionMatches(exc2, PyExc_KeyError)) {
  ------------------
  |  Branch (2460:9): [True: 0, False: 150]
  |  Branch (2460:17): [True: 0, False: 0]
  ------------------
 2461|      0|        PyErr_FormatUnraisable(warnmsg);
 2462|      0|    }
 2463|    150|    _PyErr_SetRaisedException(tstate, exc);
 2464|       |
 2465|    150|    assert(ix >= 0 || value == NULL);
  ------------------
  |  Branch (2465:5): [True: 144, False: 6]
  |  Branch (2465:5): [True: 6, False: 0]
  ------------------
 2466|    150|    return value;  // borrowed reference
 2467|    150|}
dictobject.c:setitem_take2_lock_held:
 2822|  4.94M|{
 2823|  4.94M|    Py_hash_t hash = _PyObject_HashDictKey(key);
 2824|  4.94M|    if (hash == -1) {
  ------------------
  |  Branch (2824:9): [True: 0, False: 4.94M]
  ------------------
 2825|      0|        dict_unhashable_type((PyObject*)mp, key);
 2826|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2827|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2828|      0|        return -1;
 2829|      0|    }
 2830|       |
 2831|  4.94M|    return setitem_take2_lock_held_known_hash(mp, key, value, hash);
 2832|  4.94M|}
dictobject.c:setitem_take2_lock_held_known_hash:
 2807|  4.94M|{
 2808|  4.94M|    assert(PyAnyDict_Check(mp));
  ------------------
  |  Branch (2808:5): [True: 4.94M, False: 0]
  |  Branch (2808:5): [True: 0, False: 0]
  ------------------
 2809|  4.94M|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (2809:5): [True: 4.94M, False: 0]
  ------------------
 2810|  4.94M|    assert(key);
  ------------------
  |  Branch (2810:5): [True: 4.94M, False: 0]
  ------------------
 2811|  4.94M|    assert(value);
  ------------------
  |  Branch (2811:5): [True: 4.94M, False: 0]
  ------------------
 2812|       |
 2813|  4.94M|    if (mp->ma_keys == Py_EMPTY_KEYS) {
  ------------------
  |  |  660|  4.94M|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
  |  Branch (2813:9): [True: 1.08M, False: 3.85M]
  ------------------
 2814|  1.08M|        return insert_to_emptydict(mp, key, hash, value);
 2815|  1.08M|    }
 2816|       |    /* insertdict() handles any resizing that might be necessary */
 2817|  3.85M|    return insertdict(mp, key, hash, value);
 2818|  4.94M|}
dictobject.c:setitem_lock_held:
 2892|  4.55M|{
 2893|  4.55M|    assert(key);
  ------------------
  |  Branch (2893:5): [True: 4.55M, False: 0]
  ------------------
 2894|  4.55M|    assert(value);
  ------------------
  |  Branch (2894:5): [True: 4.55M, False: 0]
  ------------------
 2895|  4.55M|    return setitem_take2_lock_held(mp,
 2896|  4.55M|                                   Py_NewRef(key), Py_NewRef(value));
  ------------------
  |  |  550|  4.55M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                                 Py_NewRef(key), Py_NewRef(value));
  ------------------
  |  |  550|  4.55M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2897|  4.55M|}
dictobject.c:insert_to_emptydict:
 2092|  1.08M|{
 2093|  1.08M|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (2093:5): [True: 1.08M, False: 0]
  ------------------
 2094|  1.08M|    assert(mp->ma_keys == Py_EMPTY_KEYS);
  ------------------
  |  Branch (2094:5): [True: 1.08M, False: 0]
  ------------------
 2095|       |
 2096|  1.08M|    int unicode = PyUnicode_CheckExact(key);
  ------------------
  |  |  104|  1.08M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  1.08M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2097|  1.08M|    PyDictKeysObject *newkeys = new_keys_object(PyDict_LOG_MINSIZE, unicode);
  ------------------
  |  |  115|  1.08M|#define PyDict_LOG_MINSIZE 3
  ------------------
 2098|  1.08M|    if (newkeys == NULL) {
  ------------------
  |  Branch (2098:9): [True: 0, False: 1.08M]
  ------------------
 2099|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2100|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2101|      0|        return -1;
 2102|      0|    }
 2103|  1.08M|    _PyDict_NotifyEvent(PyDict_EVENT_ADDED, mp, key, value);
 2104|       |
 2105|       |    /* We don't decref Py_EMPTY_KEYS here because it is immortal. */
 2106|  1.08M|    assert(mp->ma_values == NULL);
  ------------------
  |  Branch (2106:5): [True: 1.08M, False: 0]
  ------------------
 2107|       |
 2108|  1.08M|    size_t hashpos = (size_t)hash & (PyDict_MINSIZE-1);
  ------------------
  |  |  116|  1.08M|#define PyDict_MINSIZE 8
  ------------------
 2109|  1.08M|    dictkeys_set_index(newkeys, hashpos, 0);
 2110|  1.08M|    if (unicode) {
  ------------------
  |  Branch (2110:9): [True: 3.94k, False: 1.08M]
  ------------------
 2111|  3.94k|        PyDictUnicodeEntry *ep = DK_UNICODE_ENTRIES(newkeys);
 2112|  3.94k|        ep->me_key = key;
 2113|  3.94k|        STORE_VALUE(ep, value);
  ------------------
  |  |  331|  3.94k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  164|  3.94k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2114|  3.94k|    }
 2115|  1.08M|    else {
 2116|  1.08M|        PyDictKeyEntry *ep = DK_ENTRIES(newkeys);
 2117|  1.08M|        ep->me_key = key;
 2118|  1.08M|        ep->me_hash = hash;
 2119|  1.08M|        STORE_VALUE(ep, value);
  ------------------
  |  |  331|  1.08M|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  164|  1.08M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2120|  1.08M|    }
 2121|  1.08M|    STORE_USED(mp, mp->ma_used + 1);
  ------------------
  |  |  336|  1.08M|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  194|  1.08M|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2122|  1.08M|    newkeys->dk_usable--;
 2123|  1.08M|    newkeys->dk_nentries++;
 2124|       |    // We store the keys last so no one can see them in a partially inconsistent
 2125|       |    // state so that we don't need to switch the keys to being shared yet for
 2126|       |    // the case where we're inserting from the non-owner thread.  We don't use
 2127|       |    // set_keys here because the transition from empty to non-empty is safe
 2128|       |    // as the empty keys will never be freed.
 2129|  1.08M|    FT_ATOMIC_STORE_PTR_RELEASE(mp->ma_keys, newkeys);
  ------------------
  |  |  164|  1.08M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 2130|  1.08M|    return 0;
 2131|  1.08M|}
dictobject.c:dictkeys_set_index:
  553|  6.93M|{
  554|  6.93M|    int log2size = DK_LOG_SIZE(keys);
  ------------------
  |  |  272|  6.93M|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  ------------------
  |  |  |  |  277|  6.93M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  555|       |
  556|  6.93M|    assert(ix >= DKIX_DUMMY);
  ------------------
  |  Branch (556:5): [True: 6.93M, False: 0]
  ------------------
  557|  6.93M|    assert(keys->dk_version == 0);
  ------------------
  |  Branch (557:5): [True: 6.93M, False: 0]
  ------------------
  558|       |
  559|  6.93M|    if (log2size < 8) {
  ------------------
  |  Branch (559:9): [True: 5.81M, False: 1.11M]
  ------------------
  560|  5.81M|        assert(ix <= 0x7f);
  ------------------
  |  Branch (560:9): [True: 5.81M, False: 0]
  ------------------
  561|  5.81M|        STORE_INDEX(keys, 8, i, ix);
  ------------------
  |  |  272|  5.81M|#define STORE_INDEX(keys, size, idx, value) ((int##size##_t*)(keys->dk_indices))[idx] = (int##size##_t)value
  ------------------
  562|  5.81M|    }
  563|  1.11M|    else if (log2size < 16) {
  ------------------
  |  Branch (563:14): [True: 377k, False: 740k]
  ------------------
  564|   377k|        assert(ix <= 0x7fff);
  ------------------
  |  Branch (564:9): [True: 377k, False: 0]
  ------------------
  565|   377k|        STORE_INDEX(keys, 16, i, ix);
  ------------------
  |  |  272|   377k|#define STORE_INDEX(keys, size, idx, value) ((int##size##_t*)(keys->dk_indices))[idx] = (int##size##_t)value
  ------------------
  566|   377k|    }
  567|   740k|#if SIZEOF_VOID_P > 4
  568|   740k|    else if (log2size >= 32) {
  ------------------
  |  Branch (568:14): [True: 0, False: 740k]
  ------------------
  569|      0|        STORE_INDEX(keys, 64, i, ix);
  ------------------
  |  |  272|      0|#define STORE_INDEX(keys, size, idx, value) ((int##size##_t*)(keys->dk_indices))[idx] = (int##size##_t)value
  ------------------
  570|      0|    }
  571|   740k|#endif
  572|   740k|    else {
  573|   740k|        assert(ix <= 0x7fffffff);
  ------------------
  |  Branch (573:9): [True: 740k, False: 0]
  ------------------
  574|   740k|        STORE_INDEX(keys, 32, i, ix);
  ------------------
  |  |  272|   740k|#define STORE_INDEX(keys, size, idx, value) ((int##size##_t*)(keys->dk_indices))[idx] = (int##size##_t)value
  ------------------
  575|   740k|    }
  576|  6.93M|}
dictobject.c:insertdict:
 2021|  3.85M|{
 2022|  3.85M|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (2022:5): [True: 3.85M, False: 0]
  ------------------
 2023|       |
 2024|  3.85M|    PyObject *old_value = NULL;
 2025|  3.85M|    Py_ssize_t ix;
 2026|       |
 2027|  3.85M|    if (_PyDict_HasSplitTable(mp) && PyUnicode_CheckExact(key)) {
  ------------------
  |  |   56|  7.70M|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 189, False: 3.85M]
  |  |  ------------------
  ------------------
                  if (_PyDict_HasSplitTable(mp) && PyUnicode_CheckExact(key)) {
  ------------------
  |  |  104|    189|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    189|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    189|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    189|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 189, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2028|    189|        ix = insert_split_key(mp->ma_keys, key, hash);
 2029|    189|        if (ix != DKIX_EMPTY) {
  ------------------
  |  |  185|    189|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (2029:13): [True: 189, False: 0]
  ------------------
 2030|    189|            _PyDict_InsertSplitValue(mp, key, value, ix);
 2031|    189|            Py_DECREF(key);
  ------------------
  |  |  430|    189|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    189|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    189|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2032|    189|            Py_DECREF(value);
  ------------------
  |  |  430|    189|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    189|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    189|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2033|    189|            return 0;
 2034|    189|        }
 2035|       |        // No space in shared keys. Go to insert_combined_dict() below.
 2036|    189|    }
 2037|  3.85M|    else {
 2038|  3.85M|        ix = _Py_dict_lookup(mp, key, hash, &old_value);
 2039|  3.85M|        if (ix == DKIX_ERROR)
  ------------------
  |  |  187|  3.85M|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2039:13): [True: 0, False: 3.85M]
  ------------------
 2040|      0|            goto Fail;
 2041|  3.85M|    }
 2042|       |
 2043|  3.85M|    if (old_value == NULL) {
  ------------------
  |  Branch (2043:9): [True: 2.80M, False: 1.04M]
  ------------------
 2044|       |        // insert_combined_dict() will convert from non DICT_KEYS_GENERAL table
 2045|       |        // into DICT_KEYS_GENERAL table if key is not Unicode.
 2046|       |        // We don't convert it before _Py_dict_lookup because non-Unicode key
 2047|       |        // may change generic table into Unicode table.
 2048|       |        //
 2049|       |        // NOTE: ix may not be DKIX_EMPTY because split table may have key
 2050|       |        // without value.
 2051|  2.80M|        if (insert_combined_dict(mp, hash, key, value) < 0) {
  ------------------
  |  Branch (2051:13): [True: 0, False: 2.80M]
  ------------------
 2052|      0|            goto Fail;
 2053|      0|        }
 2054|  2.80M|        STORE_USED(mp, mp->ma_used + 1);
  ------------------
  |  |  336|  2.80M|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  194|  2.80M|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2055|  2.80M|        ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|  2.80M|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (2055:9): [True: 2.80M, False: 0]
  ------------------
 2056|  2.80M|        return 0;
 2057|  2.80M|    }
 2058|       |
 2059|  1.04M|    if (old_value != value) {
  ------------------
  |  Branch (2059:9): [True: 1.23k, False: 1.04M]
  ------------------
 2060|  1.23k|        _PyDict_NotifyEvent(PyDict_EVENT_MODIFIED, mp, key, value);
 2061|  1.23k|        assert(old_value != NULL);
  ------------------
  |  Branch (2061:9): [True: 1.23k, False: 0]
  ------------------
 2062|  1.23k|        if (DK_IS_UNICODE(mp->ma_keys)) {
  ------------------
  |  |  294|  1.23k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (294:27): [True: 1.22k, False: 13]
  |  |  ------------------
  ------------------
 2063|  1.22k|            if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   56|  1.22k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 1.22k]
  |  |  ------------------
  ------------------
 2064|      0|                STORE_SPLIT_VALUE(mp, ix, value);
  ------------------
  |  |  332|      0|#define STORE_SPLIT_VALUE(mp, idx, value) FT_ATOMIC_STORE_PTR_RELEASE(mp->ma_values->values[idx], value)
  |  |  ------------------
  |  |  |  |  164|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2065|      0|            }
 2066|  1.22k|            else {
 2067|  1.22k|                PyDictUnicodeEntry *ep = &DK_UNICODE_ENTRIES(mp->ma_keys)[ix];
 2068|  1.22k|                STORE_VALUE(ep, value);
  ------------------
  |  |  331|  1.22k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  164|  1.22k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2069|  1.22k|            }
 2070|  1.22k|        }
 2071|     13|        else {
 2072|     13|            PyDictKeyEntry *ep = &DK_ENTRIES(mp->ma_keys)[ix];
 2073|     13|            STORE_VALUE(ep, value);
  ------------------
  |  |  331|     13|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  164|     13|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2074|     13|        }
 2075|  1.23k|    }
 2076|  1.04M|    Py_XDECREF(old_value); /* which **CAN** re-enter (see issue #22653) */
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2077|  1.04M|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|  1.04M|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (2077:5): [True: 1.04M, False: 0]
  ------------------
 2078|  1.04M|    Py_DECREF(key);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2079|  1.04M|    return 0;
 2080|       |
 2081|      0|Fail:
 2082|      0|    Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) 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|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2084|      0|    return -1;
 2085|  1.04M|}
dictobject.c:insert_combined_dict:
 1901|  2.81M|{
 1902|       |    // gh-140551: If dict was cleared in _Py_dict_lookup,
 1903|       |    // we have to resize one more time to force general key kind.
 1904|  2.81M|    if (DK_IS_UNICODE(mp->ma_keys) && !PyUnicode_CheckExact(key)) {
  ------------------
  |  |  294|  5.63M|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (294:27): [True: 40.6k, False: 2.77M]
  |  |  ------------------
  ------------------
                  if (DK_IS_UNICODE(mp->ma_keys) && !PyUnicode_CheckExact(key)) {
  ------------------
  |  |  104|  40.6k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  40.6k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  40.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  40.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1904:39): [True: 4, False: 40.6k]
  ------------------
 1905|      4|        if (insertion_resize(mp, 0) < 0)
  ------------------
  |  Branch (1905:13): [True: 0, False: 4]
  ------------------
 1906|      0|            return -1;
 1907|      4|        assert(mp->ma_keys->dk_kind == DICT_KEYS_GENERAL);
  ------------------
  |  Branch (1907:9): [True: 4, False: 0]
  ------------------
 1908|      4|    }
 1909|       |
 1910|  2.81M|    if (mp->ma_keys->dk_usable <= 0) {
  ------------------
  |  Branch (1910:9): [True: 217k, False: 2.60M]
  ------------------
 1911|       |        /* Need to resize. */
 1912|   217k|        if (insertion_resize(mp, 1) < 0) {
  ------------------
  |  Branch (1912:13): [True: 0, False: 217k]
  ------------------
 1913|      0|            return -1;
 1914|      0|        }
 1915|   217k|    }
 1916|       |
 1917|  2.81M|    _PyDict_NotifyEvent(PyDict_EVENT_ADDED, mp, key, value);
 1918|  2.81M|    FT_ATOMIC_STORE_UINT32_RELAXED(mp->ma_keys->dk_version, 0);
  ------------------
  |  |  172|  2.81M|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 1919|       |
 1920|  2.81M|    Py_ssize_t hashpos = find_empty_slot(mp->ma_keys, hash);
 1921|  2.81M|    dictkeys_set_index(mp->ma_keys, hashpos, mp->ma_keys->dk_nentries);
 1922|       |
 1923|  2.81M|    if (DK_IS_UNICODE(mp->ma_keys)) {
  ------------------
  |  |  294|  2.81M|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (294:27): [True: 40.6k, False: 2.77M]
  |  |  ------------------
  ------------------
 1924|  40.6k|        PyDictUnicodeEntry *ep;
 1925|  40.6k|        ep = &DK_UNICODE_ENTRIES(mp->ma_keys)[mp->ma_keys->dk_nentries];
 1926|  40.6k|        STORE_KEY(ep, key);
  ------------------
  |  |  330|  40.6k|#define STORE_KEY(ep, key) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_key, key)
  |  |  ------------------
  |  |  |  |  164|  40.6k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1927|  40.6k|        STORE_VALUE(ep, value);
  ------------------
  |  |  331|  40.6k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  164|  40.6k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1928|  40.6k|    }
 1929|  2.77M|    else {
 1930|  2.77M|        PyDictKeyEntry *ep;
 1931|  2.77M|        ep = &DK_ENTRIES(mp->ma_keys)[mp->ma_keys->dk_nentries];
 1932|  2.77M|        STORE_KEY(ep, key);
  ------------------
  |  |  330|  2.77M|#define STORE_KEY(ep, key) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_key, key)
  |  |  ------------------
  |  |  |  |  164|  2.77M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1933|  2.77M|        STORE_VALUE(ep, value);
  ------------------
  |  |  331|  2.77M|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  164|  2.77M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1934|  2.77M|        STORE_HASH(ep, hash);
  ------------------
  |  |  333|  2.77M|#define STORE_HASH(ep, hash) FT_ATOMIC_STORE_SSIZE_RELAXED((ep)->me_hash, hash)
  |  |  ------------------
  |  |  |  |  194|  2.77M|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1935|  2.77M|    }
 1936|  2.81M|    STORE_KEYS_USABLE(mp->ma_keys, mp->ma_keys->dk_usable - 1);
  ------------------
  |  |  334|  2.81M|#define STORE_KEYS_USABLE(keys, usable) FT_ATOMIC_STORE_SSIZE_RELAXED(keys->dk_usable, usable)
  |  |  ------------------
  |  |  |  |  194|  2.81M|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1937|  2.81M|    STORE_KEYS_NENTRIES(mp->ma_keys, mp->ma_keys->dk_nentries + 1);
  ------------------
  |  |  335|  2.81M|#define STORE_KEYS_NENTRIES(keys, nentries) FT_ATOMIC_STORE_SSIZE_RELAXED(keys->dk_nentries, nentries)
  |  |  ------------------
  |  |  |  |  194|  2.81M|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1938|  2.81M|    assert(mp->ma_keys->dk_usable >= 0);
  ------------------
  |  Branch (1938:5): [True: 2.81M, False: 0]
  ------------------
 1939|  2.81M|    return 0;
 1940|  2.81M|}
dictobject.c:insertion_resize:
 1894|   217k|{
 1895|   217k|    return dictresize(mp, calculate_log2_keysize(GROWTH_RATE(mp)), unicode);
  ------------------
  |  |  637|   217k|#define GROWTH_RATE(d) ((d)->ma_used*3)
  ------------------
 1896|   217k|}
dictobject.c:dictresize:
 2194|   217k|{
 2195|   217k|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (2195:5): [True: 217k, False: 0]
  ------------------
 2196|       |
 2197|   217k|    PyDictKeysObject *oldkeys, *newkeys;
 2198|   217k|    PyDictValues *oldvalues;
 2199|       |
 2200|   217k|    if (log2_newsize >= SIZEOF_SIZE_T*8) {
  ------------------
  |  | 1925|   217k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (2200:9): [True: 0, False: 217k]
  ------------------
 2201|      0|        PyErr_NoMemory();
 2202|      0|        return -1;
 2203|      0|    }
 2204|   217k|    assert(log2_newsize >= PyDict_LOG_MINSIZE);
  ------------------
  |  Branch (2204:5): [True: 217k, False: 0]
  ------------------
 2205|       |
 2206|   217k|    oldkeys = mp->ma_keys;
 2207|   217k|    oldvalues = mp->ma_values;
 2208|       |
 2209|   217k|    if (!DK_IS_UNICODE(oldkeys)) {
  ------------------
  |  |  294|   217k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  ------------------
  |  Branch (2209:9): [True: 215k, False: 1.76k]
  ------------------
 2210|   215k|        unicode = 0;
 2211|   215k|    }
 2212|       |
 2213|   217k|    ensure_shared_on_resize(mp);
 2214|       |    /* NOTE: Current odict checks mp->ma_keys to detect resize happen.
 2215|       |     * So we can't reuse oldkeys even if oldkeys->dk_size == newsize.
 2216|       |     * TODO: Try reusing oldkeys when reimplement odict.
 2217|       |     */
 2218|       |
 2219|       |    /* Allocate a new table. */
 2220|   217k|    newkeys = new_keys_object(log2_newsize, unicode);
 2221|   217k|    if (newkeys == NULL) {
  ------------------
  |  Branch (2221:9): [True: 0, False: 217k]
  ------------------
 2222|      0|        return -1;
 2223|      0|    }
 2224|       |    // New table must be large enough.
 2225|   217k|    assert(newkeys->dk_usable >= mp->ma_used);
  ------------------
  |  Branch (2225:5): [True: 217k, False: 0]
  ------------------
 2226|       |
 2227|   217k|    Py_ssize_t numentries = mp->ma_used;
 2228|       |
 2229|   217k|    if (oldvalues != NULL) {
  ------------------
  |  Branch (2229:9): [True: 0, False: 217k]
  ------------------
 2230|      0|        LOCK_KEYS(oldkeys);
 2231|      0|        PyDictUnicodeEntry *oldentries = DK_UNICODE_ENTRIES(oldkeys);
 2232|       |        /* Convert split table into new combined table.
 2233|       |         * We must incref keys; we can transfer values.
 2234|       |         */
 2235|      0|        if (newkeys->dk_kind == DICT_KEYS_GENERAL) {
  ------------------
  |  Branch (2235:13): [True: 0, False: 0]
  ------------------
 2236|       |            // split -> generic
 2237|      0|            PyDictKeyEntry *newentries = DK_ENTRIES(newkeys);
 2238|       |
 2239|      0|            for (Py_ssize_t i = 0; i < numentries; i++) {
  ------------------
  |  Branch (2239:36): [True: 0, False: 0]
  ------------------
 2240|      0|                int index = get_index_from_order(mp, i);
 2241|      0|                PyDictUnicodeEntry *ep = &oldentries[index];
 2242|      0|                assert(oldvalues->values[index] != NULL);
  ------------------
  |  Branch (2242:17): [True: 0, False: 0]
  ------------------
 2243|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2244|      0|                newentries[i].me_hash = unicode_get_hash(ep->me_key);
 2245|      0|                newentries[i].me_value = oldvalues->values[index];
 2246|      0|            }
 2247|      0|            build_indices_generic(newkeys, newentries, numentries);
 2248|      0|        }
 2249|      0|        else { // split -> combined unicode
 2250|      0|            PyDictUnicodeEntry *newentries = DK_UNICODE_ENTRIES(newkeys);
 2251|       |
 2252|      0|            for (Py_ssize_t i = 0; i < numentries; i++) {
  ------------------
  |  Branch (2252:36): [True: 0, False: 0]
  ------------------
 2253|      0|                int index = get_index_from_order(mp, i);
 2254|      0|                PyDictUnicodeEntry *ep = &oldentries[index];
 2255|      0|                assert(oldvalues->values[index] != NULL);
  ------------------
  |  Branch (2255:17): [True: 0, False: 0]
  ------------------
 2256|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2257|      0|                newentries[i].me_value = oldvalues->values[index];
 2258|      0|            }
 2259|      0|            build_indices_unicode(newkeys, newentries, numentries);
 2260|      0|        }
 2261|      0|        UNLOCK_KEYS(oldkeys);
 2262|      0|        set_keys(mp, newkeys);
 2263|      0|        dictkeys_decref(oldkeys, IS_DICT_SHARED(mp));
  ------------------
  |  |  269|      0|#define IS_DICT_SHARED(mp) (false)
  ------------------
 2264|      0|        set_values(mp, NULL);
 2265|      0|        if (oldvalues->embedded) {
  ------------------
  |  Branch (2265:13): [True: 0, False: 0]
  ------------------
 2266|      0|            assert(oldvalues->embedded == 1);
  ------------------
  |  Branch (2266:13): [True: 0, False: 0]
  ------------------
 2267|      0|            assert(oldvalues->valid == 1);
  ------------------
  |  Branch (2267:13): [True: 0, False: 0]
  ------------------
 2268|      0|            invalidate_and_clear_inline_values(oldvalues);
 2269|      0|        }
 2270|      0|        else {
 2271|      0|            free_values(oldvalues, IS_DICT_SHARED(mp));
  ------------------
  |  |  269|      0|#define IS_DICT_SHARED(mp) (false)
  ------------------
 2272|      0|        }
 2273|      0|    }
 2274|   217k|    else {  // oldkeys is combined.
 2275|   217k|        if (oldkeys->dk_kind == DICT_KEYS_GENERAL) {
  ------------------
  |  Branch (2275:13): [True: 215k, False: 1.76k]
  ------------------
 2276|       |            // generic -> generic
 2277|   215k|            assert(newkeys->dk_kind == DICT_KEYS_GENERAL);
  ------------------
  |  Branch (2277:13): [True: 215k, False: 0]
  ------------------
 2278|   215k|            PyDictKeyEntry *oldentries = DK_ENTRIES(oldkeys);
 2279|   215k|            PyDictKeyEntry *newentries = DK_ENTRIES(newkeys);
 2280|   215k|            if (oldkeys->dk_nentries == numentries) {
  ------------------
  |  Branch (2280:17): [True: 215k, False: 30]
  ------------------
 2281|   215k|                memcpy(newentries, oldentries, numentries * sizeof(PyDictKeyEntry));
 2282|   215k|            }
 2283|     30|            else {
 2284|     30|                PyDictKeyEntry *ep = oldentries;
 2285|  2.32k|                for (Py_ssize_t i = 0; i < numentries; i++) {
  ------------------
  |  Branch (2285:40): [True: 2.29k, False: 30]
  ------------------
 2286|  5.11k|                    while (ep->me_value == NULL)
  ------------------
  |  Branch (2286:28): [True: 2.81k, False: 2.29k]
  ------------------
 2287|  2.81k|                        ep++;
 2288|  2.29k|                    newentries[i] = *ep++;
 2289|  2.29k|                }
 2290|     30|            }
 2291|   215k|            build_indices_generic(newkeys, newentries, numentries);
 2292|   215k|        }
 2293|  1.76k|        else {  // oldkeys is combined unicode
 2294|  1.76k|            PyDictUnicodeEntry *oldentries = DK_UNICODE_ENTRIES(oldkeys);
 2295|  1.76k|            if (unicode) { // combined unicode -> combined unicode
  ------------------
  |  Branch (2295:17): [True: 1.76k, False: 4]
  ------------------
 2296|  1.76k|                PyDictUnicodeEntry *newentries = DK_UNICODE_ENTRIES(newkeys);
 2297|  1.76k|                if (oldkeys->dk_nentries == numentries && mp->ma_keys->dk_kind == DICT_KEYS_UNICODE) {
  ------------------
  |  Branch (2297:21): [True: 1.63k, False: 132]
  |  Branch (2297:59): [True: 1.63k, False: 0]
  ------------------
 2298|  1.63k|                    memcpy(newentries, oldentries, numentries * sizeof(PyDictUnicodeEntry));
 2299|  1.63k|                }
 2300|    132|                else {
 2301|    132|                    PyDictUnicodeEntry *ep = oldentries;
 2302|  6.85k|                    for (Py_ssize_t i = 0; i < numentries; i++) {
  ------------------
  |  Branch (2302:44): [True: 6.72k, False: 132]
  ------------------
 2303|  6.98k|                        while (ep->me_value == NULL)
  ------------------
  |  Branch (2303:32): [True: 268, False: 6.72k]
  ------------------
 2304|    268|                            ep++;
 2305|  6.72k|                        newentries[i] = *ep++;
 2306|  6.72k|                    }
 2307|    132|                }
 2308|  1.76k|                build_indices_unicode(newkeys, newentries, numentries);
 2309|  1.76k|            }
 2310|      4|            else { // combined unicode -> generic
 2311|      4|                PyDictKeyEntry *newentries = DK_ENTRIES(newkeys);
 2312|      4|                PyDictUnicodeEntry *ep = oldentries;
 2313|      8|                for (Py_ssize_t i = 0; i < numentries; i++) {
  ------------------
  |  Branch (2313:40): [True: 4, False: 4]
  ------------------
 2314|      4|                    while (ep->me_value == NULL)
  ------------------
  |  Branch (2314:28): [True: 0, False: 4]
  ------------------
 2315|      0|                        ep++;
 2316|      4|                    newentries[i].me_key = ep->me_key;
 2317|      4|                    newentries[i].me_hash = unicode_get_hash(ep->me_key);
 2318|      4|                    newentries[i].me_value = ep->me_value;
 2319|      4|                    ep++;
 2320|      4|                }
 2321|      4|                build_indices_generic(newkeys, newentries, numentries);
 2322|      4|            }
 2323|  1.76k|        }
 2324|       |
 2325|   217k|        set_keys(mp, newkeys);
 2326|       |
 2327|   217k|        if (oldkeys != Py_EMPTY_KEYS) {
  ------------------
  |  |  660|   217k|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
  |  Branch (2327:13): [True: 217k, False: 0]
  ------------------
 2328|       |#ifdef Py_REF_DEBUG
 2329|       |            _Py_DecRefTotal(_PyThreadState_GET());
 2330|       |#endif
 2331|   217k|            assert(oldkeys->dk_kind != DICT_KEYS_SPLIT);
  ------------------
  |  Branch (2331:13): [True: 217k, False: 0]
  ------------------
 2332|   217k|            assert(oldkeys->dk_refcnt == 1);
  ------------------
  |  Branch (2332:13): [True: 217k, False: 0]
  ------------------
 2333|   217k|            free_keys_object(oldkeys, IS_DICT_SHARED(mp));
  ------------------
  |  |  269|   217k|#define IS_DICT_SHARED(mp) (false)
  ------------------
 2334|   217k|        }
 2335|   217k|    }
 2336|       |
 2337|   217k|    STORE_KEYS_USABLE(mp->ma_keys, mp->ma_keys->dk_usable - numentries);
  ------------------
  |  |  334|   217k|#define STORE_KEYS_USABLE(keys, usable) FT_ATOMIC_STORE_SSIZE_RELAXED(keys->dk_usable, usable)
  |  |  ------------------
  |  |  |  |  194|   217k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2338|   217k|    STORE_KEYS_NENTRIES(mp->ma_keys, numentries);
  ------------------
  |  |  335|   217k|#define STORE_KEYS_NENTRIES(keys, nentries) FT_ATOMIC_STORE_SSIZE_RELAXED(keys->dk_nentries, nentries)
  |  |  ------------------
  |  |  |  |  194|   217k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2339|   217k|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|   217k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (2339:5): [True: 217k, False: 0]
  ------------------
 2340|   217k|    return 0;
 2341|   217k|}
dictobject.c:ensure_shared_on_resize:
 1450|   217k|{
 1451|       |#ifdef Py_GIL_DISABLED
 1452|       |    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(mp);
 1453|       |
 1454|       |    if (!_Py_IsOwnedByCurrentThread((PyObject *)mp) && !IS_DICT_SHARED(mp)) {
 1455|       |        // We are writing to the dict from another thread that owns
 1456|       |        // it and we haven't marked it as shared which will ensure
 1457|       |        // that when we re-size ma_keys or ma_values that we will
 1458|       |        // free using QSBR.  We need to lock the dictionary to
 1459|       |        // contend with writes from the owning thread, mark it as
 1460|       |        // shared, and then we can continue with lock-free reads.
 1461|       |        // Technically this is a little heavy handed, we could just
 1462|       |        // free the individual old keys / old-values using qsbr
 1463|       |        SET_DICT_SHARED(mp);
 1464|       |    }
 1465|       |#endif
 1466|   217k|}
dictobject.c:build_indices_generic:
 2138|   215k|{
 2139|   215k|    size_t mask = DK_MASK(keys);
  ------------------
  |  |  467|   215k|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  274|   215k|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  272|   215k|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  277|   215k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2140|  3.19M|    for (Py_ssize_t ix = 0; ix != n; ix++, ep++) {
  ------------------
  |  Branch (2140:29): [True: 2.97M, False: 215k]
  ------------------
 2141|  2.97M|        Py_hash_t hash = ep->me_hash;
 2142|  2.97M|        size_t i = hash & mask;
 2143|  3.52M|        for (size_t perturb = hash; dictkeys_get_index(keys, i) != DKIX_EMPTY;) {
  ------------------
  |  |  185|  3.52M|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (2143:37): [True: 552k, False: 2.97M]
  ------------------
 2144|   552k|            perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  338|   552k|#define PERTURB_SHIFT 5
  ------------------
 2145|   552k|            i = mask & (i*5 + perturb + 1);
 2146|   552k|        }
 2147|  2.97M|        dictkeys_set_index(keys, i, ix);
 2148|  2.97M|    }
 2149|   215k|}
dictobject.c:build_indices_unicode:
 2153|  1.76k|{
 2154|  1.76k|    size_t mask = DK_MASK(keys);
  ------------------
  |  |  467|  1.76k|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  274|  1.76k|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  272|  1.76k|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  277|  1.76k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2155|  42.5k|    for (Py_ssize_t ix = 0; ix != n; ix++, ep++) {
  ------------------
  |  Branch (2155:29): [True: 40.7k, False: 1.76k]
  ------------------
 2156|  40.7k|        Py_hash_t hash = unicode_get_hash(ep->me_key);
 2157|  40.7k|        assert(hash != -1);
  ------------------
  |  Branch (2157:9): [True: 40.7k, False: 0]
  ------------------
 2158|  40.7k|        size_t i = hash & mask;
 2159|  48.9k|        for (size_t perturb = hash; dictkeys_get_index(keys, i) != DKIX_EMPTY;) {
  ------------------
  |  |  185|  48.9k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (2159:37): [True: 8.22k, False: 40.7k]
  ------------------
 2160|  8.22k|            perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  338|  8.22k|#define PERTURB_SHIFT 5
  ------------------
 2161|  8.22k|            i = mask & (i*5 + perturb + 1);
 2162|  8.22k|        }
 2163|  40.7k|        dictkeys_set_index(keys, i, ix);
 2164|  40.7k|    }
 2165|  1.76k|}
dictobject.c:free_keys_object:
  876|  1.30M|{
  877|  1.30M|    void *ptr = keys;
  878|       |#ifdef Py_GIL_DISABLED
  879|       |    size_t size = _PyDict_KeysSize(keys);
  880|       |#endif
  881|  1.30M|    if (keys->dk_kind == DICT_KEYS_SPLIT) {
  ------------------
  |  Branch (881:9): [True: 4, False: 1.30M]
  ------------------
  882|      4|        ptr = _PyDictKeys_AsSharedKeys(keys);
  883|       |#ifdef Py_GIL_DISABLED
  884|       |        size += offsetof(struct _instancekeysobject, dsk_keys);
  885|       |#endif
  886|      4|    }
  887|       |#ifdef Py_GIL_DISABLED
  888|       |    if (use_qsbr) {
  889|       |        _PyMem_FreeDelayed(ptr, size);
  890|       |        return;
  891|       |    }
  892|       |#endif
  893|  1.30M|    if (DK_LOG_SIZE(keys) == PyDict_LOG_MINSIZE && keys->dk_kind == DICT_KEYS_UNICODE) {
  ------------------
  |  |  272|  1.30M|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  ------------------
  |  |  |  |  277|  1.30M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                  if (DK_LOG_SIZE(keys) == PyDict_LOG_MINSIZE && keys->dk_kind == DICT_KEYS_UNICODE) {
  ------------------
  |  |  115|  2.61M|#define PyDict_LOG_MINSIZE 3
  ------------------
  |  Branch (893:9): [True: 1.08M, False: 217k]
  |  Branch (893:52): [True: 3.42k, False: 1.08M]
  ------------------
  894|  3.42k|        _Py_FREELIST_FREE(dictkeys, keys, PyMem_Free);
  ------------------
  |  |   35|  3.42k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  3.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  3.42k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   17|  3.42k|#  define Py_dictkeys_MAXFREELIST 80
  |  |  ------------------
  ------------------
  895|  3.42k|    }
  896|  1.30M|    else {
  897|  1.30M|        PyMem_Free(ptr);
  898|  1.30M|    }
  899|  1.30M|}
dictobject.c:find_empty_slot:
 1878|  2.81M|{
 1879|  2.81M|    assert(keys != NULL);
  ------------------
  |  Branch (1879:5): [True: 2.81M, False: 0]
  ------------------
 1880|       |
 1881|  2.81M|    const size_t mask = DK_MASK(keys);
  ------------------
  |  |  467|  2.81M|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  274|  2.81M|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  272|  2.81M|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  277|  2.81M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1882|  2.81M|    size_t i = hash & mask;
 1883|  2.81M|    Py_ssize_t ix = dictkeys_get_index(keys, i);
 1884|  4.91M|    for (size_t perturb = hash; is_unusable_slot(ix);) {
  ------------------
  |  Branch (1884:33): [True: 2.09M, False: 2.81M]
  ------------------
 1885|  2.09M|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  338|  2.09M|#define PERTURB_SHIFT 5
  ------------------
 1886|  2.09M|        i = (i*5 + perturb + 1) & mask;
 1887|  2.09M|        ix = dictkeys_get_index(keys, i);
 1888|  2.09M|    }
 1889|  2.81M|    return i;
 1890|  2.81M|}
dictobject.c:is_unusable_slot:
 1865|  4.91M|{
 1866|       |#ifdef Py_GIL_DISABLED
 1867|       |    return ix >= 0 || ix == DKIX_DUMMY;
 1868|       |#else
 1869|  4.91M|    return ix >= 0;
 1870|  4.91M|#endif
 1871|  4.91M|}
dictobject.c:delitem_common:
 2957|  4.60k|{
 2958|  4.60k|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (2958:5): [True: 4.60k, False: 0]
  ------------------
 2959|       |
 2960|  4.60k|    PyObject *old_key;
 2961|       |
 2962|  4.60k|    Py_ssize_t hashpos = lookdict_index(mp->ma_keys, hash, ix);
 2963|  4.60k|    assert(hashpos >= 0);
  ------------------
  |  Branch (2963:5): [True: 4.60k, False: 0]
  ------------------
 2964|       |
 2965|  4.60k|    STORE_USED(mp, mp->ma_used - 1);
  ------------------
  |  |  336|  4.60k|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  194|  4.60k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2966|  4.60k|    if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   56|  4.60k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 4.60k]
  |  |  ------------------
  ------------------
 2967|      0|        assert(old_value == mp->ma_values->values[ix]);
  ------------------
  |  Branch (2967:9): [True: 0, False: 0]
  ------------------
 2968|      0|        STORE_SPLIT_VALUE(mp, ix, NULL);
  ------------------
  |  |  332|      0|#define STORE_SPLIT_VALUE(mp, idx, value) FT_ATOMIC_STORE_PTR_RELEASE(mp->ma_values->values[idx], value)
  |  |  ------------------
  |  |  |  |  164|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2969|      0|        assert(ix < SHARED_KEYS_MAX_SIZE);
  ------------------
  |  Branch (2969:9): [True: 0, False: 0]
  ------------------
 2970|       |        /* Update order */
 2971|      0|        delete_index_from_values(mp->ma_values, ix);
 2972|      0|        ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|      0|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (2972:9): [True: 0, False: 0]
  ------------------
 2973|      0|    }
 2974|  4.60k|    else {
 2975|  4.60k|        FT_ATOMIC_STORE_UINT32_RELAXED(mp->ma_keys->dk_version, 0);
  ------------------
  |  |  172|  4.60k|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 2976|  4.60k|        dictkeys_set_index(mp->ma_keys, hashpos, DKIX_DUMMY);
  ------------------
  |  |  186|  4.60k|#define DKIX_DUMMY (-2)  /* Used internally */
  ------------------
 2977|  4.60k|        if (DK_IS_UNICODE(mp->ma_keys)) {
  ------------------
  |  |  294|  4.60k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (294:27): [True: 837, False: 3.76k]
  |  |  ------------------
  ------------------
 2978|    837|            PyDictUnicodeEntry *ep = &DK_UNICODE_ENTRIES(mp->ma_keys)[ix];
 2979|    837|            old_key = ep->me_key;
 2980|    837|            STORE_KEY(ep, NULL);
  ------------------
  |  |  330|    837|#define STORE_KEY(ep, key) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_key, key)
  |  |  ------------------
  |  |  |  |  164|    837|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2981|    837|            STORE_VALUE(ep, NULL);
  ------------------
  |  |  331|    837|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  164|    837|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2982|    837|        }
 2983|  3.76k|        else {
 2984|  3.76k|            PyDictKeyEntry *ep = &DK_ENTRIES(mp->ma_keys)[ix];
 2985|  3.76k|            old_key = ep->me_key;
 2986|  3.76k|            STORE_KEY(ep, NULL);
  ------------------
  |  |  330|  3.76k|#define STORE_KEY(ep, key) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_key, key)
  |  |  ------------------
  |  |  |  |  164|  3.76k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2987|  3.76k|            STORE_VALUE(ep, NULL);
  ------------------
  |  |  331|  3.76k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  164|  3.76k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2988|  3.76k|            STORE_HASH(ep, 0);
  ------------------
  |  |  333|  3.76k|#define STORE_HASH(ep, hash) FT_ATOMIC_STORE_SSIZE_RELAXED((ep)->me_hash, hash)
  |  |  ------------------
  |  |  |  |  194|  3.76k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2989|  3.76k|        }
 2990|  4.60k|        Py_DECREF(old_key);
  ------------------
  |  |  430|  4.60k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2991|  4.60k|    }
 2992|  4.60k|    Py_DECREF(old_value);
  ------------------
  |  |  430|  4.60k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2993|       |
 2994|       |    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|  4.60k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (2994:5): [True: 4.60k, False: 0]
  ------------------
 2995|  4.60k|}
dictobject.c:lookdict_index:
 1093|  4.60k|{
 1094|  4.60k|    size_t mask = DK_MASK(k);
  ------------------
  |  |  467|  4.60k|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  274|  4.60k|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  272|  4.60k|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  277|  4.60k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1095|  4.60k|    size_t perturb = (size_t)hash;
 1096|  4.60k|    size_t i = (size_t)hash & mask;
 1097|       |
 1098|  5.76k|    for (;;) {
 1099|  5.76k|        Py_ssize_t ix = dictkeys_get_index(k, i);
 1100|  5.76k|        if (ix == index) {
  ------------------
  |  Branch (1100:13): [True: 4.60k, False: 1.15k]
  ------------------
 1101|  4.60k|            return i;
 1102|  4.60k|        }
 1103|  1.15k|        if (ix == DKIX_EMPTY) {
  ------------------
  |  |  185|  1.15k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (1103:13): [True: 0, False: 1.15k]
  ------------------
 1104|      0|            return DKIX_EMPTY;
  ------------------
  |  |  185|      0|#define DKIX_EMPTY (-1)
  ------------------
 1105|      0|        }
 1106|  1.15k|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  338|  1.15k|#define PERTURB_SHIFT 5
  ------------------
 1107|  1.15k|        i = mask & (i*5 + perturb + 1);
 1108|  1.15k|    }
 1109|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1110|  4.60k|}
dictobject.c:delitemif_lock_held:
 3057|    120|{
 3058|    120|    PyDictObject *mp = _PyAnyDict_CAST(op);
  ------------------
  |  |  326|    120|    (assert(PyAnyDict_Check(op)), _Py_CAST(PyDictObject*, op))
  |  |  ------------------
  |  |  |  |   37|    120|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (3058:24): [True: 120, False: 0]
  |  Branch (3058:24): [True: 0, False: 0]
  ------------------
 3059|    120|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (3059:5): [True: 120, False: 0]
  ------------------
 3060|       |
 3061|    120|    Py_ssize_t ix;
 3062|    120|    Py_hash_t hash;
 3063|    120|    PyObject *old_value;
 3064|    120|    int res;
 3065|       |
 3066|    120|    assert(key);
  ------------------
  |  Branch (3066:5): [True: 120, False: 0]
  ------------------
 3067|    120|    hash = PyObject_Hash(key);
 3068|    120|    if (hash == -1)
  ------------------
  |  Branch (3068:9): [True: 0, False: 120]
  ------------------
 3069|      0|        return -1;
 3070|    120|    ix = _Py_dict_lookup(mp, key, hash, &old_value);
 3071|    120|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  187|    120|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (3071:9): [True: 0, False: 120]
  ------------------
 3072|      0|        return -1;
 3073|      0|    }
 3074|    120|    if (ix == DKIX_EMPTY || old_value == NULL) {
  ------------------
  |  |  185|    240|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (3074:9): [True: 0, False: 120]
  |  Branch (3074:29): [True: 0, False: 120]
  ------------------
 3075|      0|        return 0;
 3076|      0|    }
 3077|       |
 3078|    120|    res = predicate(old_value, arg);
 3079|    120|    if (res == -1)
  ------------------
  |  Branch (3079:9): [True: 0, False: 120]
  ------------------
 3080|      0|        return -1;
 3081|       |
 3082|    120|    if (res > 0) {
  ------------------
  |  Branch (3082:9): [True: 120, False: 0]
  ------------------
 3083|    120|        _PyDict_NotifyEvent(PyDict_EVENT_DELETED, mp, key, NULL);
 3084|    120|        delitem_common(mp, hash, ix, old_value);
 3085|    120|        return 1;
 3086|    120|    } else {
 3087|      0|        return 0;
 3088|      0|    }
 3089|    120|}
dictobject.c:clear_lock_held:
 3125|     24|{
 3126|     24|    if (!PyDict_Check(op)) {
  ------------------
  |  |   18|     24|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     24|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3126:9): [True: 0, False: 24]
  ------------------
 3127|      0|        return;
 3128|      0|    }
 3129|     24|    PyDictObject *mp = (PyDictObject *)op;
 3130|     24|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (3130:5): [True: 24, False: 0]
  ------------------
 3131|       |
 3132|     24|    PyDictKeysObject *oldkeys;
 3133|     24|    PyDictValues *oldvalues;
 3134|     24|    Py_ssize_t i, n;
 3135|       |
 3136|     24|    oldkeys = mp->ma_keys;
 3137|     24|    oldvalues = mp->ma_values;
 3138|     24|    if (oldkeys == Py_EMPTY_KEYS) {
  ------------------
  |  |  660|     24|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
  |  Branch (3138:9): [True: 12, False: 12]
  ------------------
 3139|     12|        return;
 3140|     12|    }
 3141|       |    /* Empty the dict... */
 3142|     12|    _PyDict_NotifyEvent(PyDict_EVENT_CLEARED, mp, NULL, NULL);
 3143|       |    // We don't inc ref empty keys because they're immortal
 3144|     12|    ensure_shared_on_resize(mp);
 3145|     12|    STORE_USED(mp, 0);
  ------------------
  |  |  336|     12|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  194|     12|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 3146|     12|    if (oldvalues == NULL) {
  ------------------
  |  Branch (3146:9): [True: 12, False: 0]
  ------------------
 3147|     12|        set_keys(mp, Py_EMPTY_KEYS);
  ------------------
  |  |  660|     12|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
 3148|     12|        assert(oldkeys->dk_refcnt == 1);
  ------------------
  |  Branch (3148:9): [True: 12, False: 0]
  ------------------
 3149|     12|        dictkeys_decref(oldkeys, IS_DICT_SHARED(mp));
  ------------------
  |  |  269|     12|#define IS_DICT_SHARED(mp) (false)
  ------------------
 3150|     12|    }
 3151|      0|    else if (oldvalues->embedded) {
  ------------------
  |  Branch (3151:14): [True: 0, False: 0]
  ------------------
 3152|      0|        clear_embedded_values(oldvalues, oldkeys->dk_nentries);
 3153|      0|    }
 3154|      0|    else {
 3155|      0|        set_values(mp, NULL);
 3156|      0|        set_keys(mp, Py_EMPTY_KEYS);
  ------------------
  |  |  660|      0|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
 3157|      0|        n = oldkeys->dk_nentries;
 3158|      0|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (3158:21): [True: 0, False: 0]
  ------------------
 3159|      0|            PyObject *tmp = oldvalues->values[i];
 3160|      0|            FT_ATOMIC_STORE_PTR_RELEASE(oldvalues->values[i], NULL);
  ------------------
  |  |  164|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 3161|      0|            Py_XDECREF(tmp);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3162|      0|        }
 3163|      0|        free_values(oldvalues, IS_DICT_SHARED(mp));
  ------------------
  |  |  269|      0|#define IS_DICT_SHARED(mp) (false)
  ------------------
 3164|      0|        dictkeys_decref(oldkeys, IS_DICT_SHARED(mp));
  ------------------
  |  |  269|      0|#define IS_DICT_SHARED(mp) (false)
  ------------------
 3165|      0|    }
 3166|     12|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|     12|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (3166:5): [True: 12, False: 0]
  ------------------
 3167|     12|}
dictobject.c:pop_lock_held:
 3322|  85.1k|{
 3323|  85.1k|    if (!PyDict_Check(op)) {
  ------------------
  |  |   18|  85.1k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  85.1k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3323:9): [True: 0, False: 85.1k]
  ------------------
 3324|      0|        if (result) {
  ------------------
  |  Branch (3324:13): [True: 0, False: 0]
  ------------------
 3325|      0|            *result = NULL;
 3326|      0|        }
 3327|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3328|      0|            frozendict_does_not_support("deletion");
  ------------------
  |  | 2801|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2802|      0|                    "not support item " WHAT)
  ------------------
 3329|      0|        }
 3330|      0|        else {
 3331|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3332|      0|        }
 3333|      0|        return -1;
 3334|      0|    }
 3335|  85.1k|    PyDictObject *dict = (PyDictObject *)op;
 3336|  85.1k|    assert(can_modify_dict(dict));
  ------------------
  |  Branch (3336:5): [True: 85.1k, False: 0]
  ------------------
 3337|       |
 3338|  85.1k|    if (dict->ma_used == 0) {
  ------------------
  |  Branch (3338:9): [True: 19, False: 85.0k]
  ------------------
 3339|     19|        if (result) {
  ------------------
  |  Branch (3339:13): [True: 19, False: 0]
  ------------------
 3340|     19|            *result = NULL;
 3341|     19|        }
 3342|     19|        return 0;
 3343|     19|    }
 3344|       |
 3345|  85.0k|    Py_hash_t hash = _PyObject_HashDictKey(key);
 3346|  85.0k|    if (hash == -1) {
  ------------------
  |  Branch (3346:9): [True: 0, False: 85.0k]
  ------------------
 3347|      0|        dict_unhashable_type(op, key);
 3348|      0|        if (result) {
  ------------------
  |  Branch (3348:13): [True: 0, False: 0]
  ------------------
 3349|      0|            *result = NULL;
 3350|      0|        }
 3351|      0|        return -1;
 3352|      0|    }
 3353|  85.0k|    return _PyDict_Pop_KnownHash(dict, key, hash, result);
 3354|  85.0k|}
dictobject.c:dict_pop_default:
 3387|  85.0k|{
 3388|  85.0k|    PyObject *result;
 3389|  85.0k|    if (PyDict_Pop(dict, key, &result) == 0) {
  ------------------
  |  Branch (3389:9): [True: 84.9k, False: 100]
  ------------------
 3390|  84.9k|        if (default_value != NULL) {
  ------------------
  |  Branch (3390:13): [True: 84.9k, False: 0]
  ------------------
 3391|  84.9k|            return Py_NewRef(default_value);
  ------------------
  |  |  550|  84.9k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  84.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  84.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3392|  84.9k|        }
 3393|      0|        _PyErr_SetKeyError(key);
 3394|      0|        return NULL;
 3395|  84.9k|    }
 3396|    100|    return result;
 3397|  85.0k|}
dictobject.c:keys_lock_held:
 3856|     26|{
 3857|     26|    ASSERT_DICT_LOCKED(dict);
 3858|       |
 3859|     26|    if (dict == NULL || !PyAnyDict_Check(dict)) {
  ------------------
  |  |   43|     26|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|     26|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     52|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 26, 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 (3859:9): [True: 0, False: 26]
  ------------------
 3860|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3861|      0|        return NULL;
 3862|      0|    }
 3863|     26|    PyDictObject *mp = (PyDictObject *)dict;
 3864|     26|    PyObject *v;
 3865|     26|    Py_ssize_t n;
 3866|       |
 3867|     26|  again:
 3868|     26|    n = mp->ma_used;
 3869|     26|    v = PyList_New(n);
 3870|     26|    if (v == NULL)
  ------------------
  |  Branch (3870:9): [True: 0, False: 26]
  ------------------
 3871|      0|        return NULL;
 3872|     26|    if (n != mp->ma_used) {
  ------------------
  |  Branch (3872:9): [True: 0, False: 26]
  ------------------
 3873|       |        /* Durnit.  The allocations caused the dict to resize.
 3874|       |         * Just start over, this shouldn't normally happen.
 3875|       |         */
 3876|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3877|      0|        goto again;
 3878|      0|    }
 3879|       |
 3880|       |    /* Nothing we do below makes any function calls. */
 3881|     26|    Py_ssize_t j = 0, pos = 0;
 3882|     26|    PyObject *key;
 3883|  2.48k|    while (_PyDict_Next((PyObject*)mp, &pos, &key, NULL, NULL)) {
  ------------------
  |  Branch (3883:12): [True: 2.45k, False: 26]
  ------------------
 3884|  2.45k|        assert(j < n);
  ------------------
  |  Branch (3884:9): [True: 2.45k, False: 0]
  ------------------
 3885|  2.45k|        PyList_SET_ITEM(v, j, Py_NewRef(key));
  ------------------
  |  |   50|  2.45k|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  2.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  2.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3886|  2.45k|        j++;
 3887|  2.45k|    }
 3888|     26|    assert(j == n);
  ------------------
  |  Branch (3888:5): [True: 26, False: 0]
  ------------------
 3889|     26|    return v;
 3890|     26|}
dictobject.c:dict_merge_from_seq2:
 4183|     14|{
 4184|     14|    int res;
 4185|     14|    Py_BEGIN_CRITICAL_SECTION(d);
  ------------------
  |  |   51|     14|    {
  ------------------
 4186|     14|    res = merge_from_seq2_lock_held(d, seq2, override);
 4187|     14|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     14|    }
  ------------------
 4188|       |
 4189|     14|    return res;
 4190|     14|}
dictobject.c:merge_from_seq2_lock_held:
 4096|     14|{
 4097|     14|    PyObject *it;       /* iter(seq2) */
 4098|     14|    Py_ssize_t i;       /* index into seq2 of current element */
 4099|     14|    PyObject *item;     /* seq2[i] */
 4100|     14|    PyObject *fast;     /* item as a 2-tuple or 2-list */
 4101|       |
 4102|     14|    assert(d != NULL);
  ------------------
  |  Branch (4102:5): [True: 14, False: 0]
  ------------------
 4103|     14|    assert(PyAnyDict_Check(d));
  ------------------
  |  Branch (4103:5): [True: 14, False: 0]
  |  Branch (4103:5): [True: 0, False: 0]
  ------------------
 4104|     14|    assert(seq2 != NULL);
  ------------------
  |  Branch (4104:5): [True: 14, False: 0]
  ------------------
 4105|     14|    assert(can_modify_dict((PyDictObject*)d));
  ------------------
  |  Branch (4105:5): [True: 14, False: 0]
  ------------------
 4106|       |
 4107|     14|    it = PyObject_GetIter(seq2);
 4108|     14|    if (it == NULL)
  ------------------
  |  Branch (4108:9): [True: 0, False: 14]
  ------------------
 4109|      0|        return -1;
 4110|       |
 4111|    227|    for (i = 0; ; ++i) {
 4112|    227|        PyObject *key, *value;
 4113|    227|        Py_ssize_t n;
 4114|       |
 4115|    227|        fast = NULL;
 4116|    227|        item = PyIter_Next(it);
 4117|    227|        if (item == NULL) {
  ------------------
  |  Branch (4117:13): [True: 14, False: 213]
  ------------------
 4118|     14|            if (PyErr_Occurred())
  ------------------
  |  Branch (4118:17): [True: 0, False: 14]
  ------------------
 4119|      0|                goto Fail;
 4120|     14|            break;
 4121|     14|        }
 4122|       |
 4123|       |        /* Convert item to sequence, and verify length 2. */
 4124|    213|        fast = PySequence_Fast(item, "object is not iterable");
 4125|    213|        if (fast == NULL) {
  ------------------
  |  Branch (4125:13): [True: 0, False: 213]
  ------------------
 4126|      0|            if (PyErr_ExceptionMatches(PyExc_TypeError)) {
  ------------------
  |  Branch (4126:17): [True: 0, False: 0]
  ------------------
 4127|      0|                _PyErr_FormatNote(
 4128|      0|                    "Cannot convert dictionary update "
 4129|      0|                    "sequence element #%zd to a sequence",
 4130|      0|                    i);
 4131|      0|            }
 4132|      0|            goto Fail;
 4133|      0|        }
 4134|    213|        n = PySequence_Fast_GET_SIZE(fast);
  ------------------
  |  |   92|    213|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|    213|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    213|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 0, False: 213]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (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|    213|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    213|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    213|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4135|    213|        if (n != 2) {
  ------------------
  |  Branch (4135:13): [True: 0, False: 213]
  ------------------
 4136|      0|            PyErr_Format(PyExc_ValueError,
 4137|      0|                         "dictionary update sequence element #%zd "
 4138|      0|                         "has length %zd; 2 is required",
 4139|      0|                         i, n);
 4140|      0|            goto Fail;
 4141|      0|        }
 4142|       |
 4143|       |        /* Update/merge with this (key, value) pair. */
 4144|    213|        key = PySequence_Fast_GET_ITEM(fast, 0);
  ------------------
  |  |   97|    213|     (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   25|    213|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    213|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 0, False: 213]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                    (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|    213|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|    213|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    213|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4144:15): [True: 0, False: 0]
  |  Branch (4144:15): [True: 213, False: 0]
  ------------------
 4145|    213|        value = PySequence_Fast_GET_ITEM(fast, 1);
  ------------------
  |  |   97|    213|     (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   25|    213|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    213|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 0, False: 213]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                    (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|    213|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|    213|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    213|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4145:17): [True: 0, False: 0]
  |  Branch (4145:17): [True: 213, False: 0]
  ------------------
 4146|    213|        Py_INCREF(key);
  ------------------
  |  |  310|    213|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    213|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    213|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4147|    213|        Py_INCREF(value);
  ------------------
  |  |  310|    213|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    213|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    213|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4148|    213|        if (override) {
  ------------------
  |  Branch (4148:13): [True: 213, False: 0]
  ------------------
 4149|    213|            if (setitem_lock_held((PyDictObject *)d, key, value) < 0) {
  ------------------
  |  Branch (4149:17): [True: 0, False: 213]
  ------------------
 4150|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4151|      0|                Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) 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|                goto Fail;
 4153|      0|            }
 4154|    213|        }
 4155|      0|        else {
 4156|      0|            if (dict_setdefault_ref_lock_held(d, key, value, NULL, 0) < 0) {
  ------------------
  |  Branch (4156:17): [True: 0, False: 0]
  ------------------
 4157|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4158|      0|                Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4159|      0|                goto Fail;
 4160|      0|            }
 4161|      0|        }
 4162|       |
 4163|    213|        Py_DECREF(key);
  ------------------
  |  |  430|    213|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    213|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    213|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4164|    213|        Py_DECREF(value);
  ------------------
  |  |  430|    213|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    213|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    213|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4165|    213|        Py_DECREF(fast);
  ------------------
  |  |  430|    213|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    213|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    213|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4166|    213|        Py_DECREF(item);
  ------------------
  |  |  430|    213|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    213|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    213|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4167|    213|    }
 4168|       |
 4169|     14|    i = 0;
 4170|     14|    ASSERT_CONSISTENT(d);
  ------------------
  |  |  668|     14|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (4170:5): [True: 14, False: 0]
  ------------------
 4171|     14|    goto Return;
 4172|     14|Fail:
 4173|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4174|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4175|      0|    i = -1;
 4176|     14|Return:
 4177|     14|    Py_DECREF(it);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4178|     14|    return Py_SAFE_DOWNCAST(i, Py_ssize_t, int);
  ------------------
  |  |  247|     14|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|     14|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 4179|      0|}
dictobject.c:dict_merge:
 4301|    494|{
 4302|    494|    assert(a != NULL);
  ------------------
  |  Branch (4302:5): [True: 494, False: 0]
  ------------------
 4303|    494|    assert(b != NULL);
  ------------------
  |  Branch (4303:5): [True: 494, False: 0]
  ------------------
 4304|    494|    assert(0 <= override && override <= 2);
  ------------------
  |  Branch (4304:5): [True: 494, False: 0]
  |  Branch (4304:5): [True: 494, False: 0]
  ------------------
 4305|       |
 4306|    494|    PyDictObject *mp = _PyAnyDict_CAST(a);
  ------------------
  |  |  326|    494|    (assert(PyAnyDict_Check(op)), _Py_CAST(PyDictObject*, op))
  |  |  ------------------
  |  |  |  |   37|    494|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (4306:24): [True: 493, False: 1]
  |  Branch (4306:24): [True: 1, False: 0]
  ------------------
 4307|       |
 4308|      0|    int res = 0;
 4309|    494|    if (PyAnyDict_Check(b) && (Py_TYPE(b)->tp_iter == dict_iter)) {
  ------------------
  |  |   43|    988|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|    494|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    988|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 486, False: 8]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      8|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_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: 0, False: 8]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyAnyDict_Check(b) && (Py_TYPE(b)->tp_iter == dict_iter)) {
  ------------------
  |  |  213|    486|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    486|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    486|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4309:31): [True: 486, False: 0]
  ------------------
 4310|    486|        PyDictObject *other = (PyDictObject*)b;
 4311|    486|        int res;
 4312|    486|        Py_BEGIN_CRITICAL_SECTION2(a, b);
  ------------------
  |  |   57|    486|    {
  ------------------
 4313|    486|        assert(can_modify_dict(mp));
  ------------------
  |  Branch (4313:9): [True: 486, False: 0]
  ------------------
 4314|    486|        res = dict_dict_merge((PyDictObject *)a, other, override, dupkey);
 4315|    486|        ASSERT_CONSISTENT(a);
  ------------------
  |  |  668|    486|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (4315:9): [True: 486, False: 0]
  ------------------
 4316|    486|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|    486|    }
  ------------------
 4317|    486|        return res;
 4318|    486|    }
 4319|      8|    else {
 4320|       |        /* Do it the generic, slower way */
 4321|      8|        Py_BEGIN_CRITICAL_SECTION(a);
  ------------------
  |  |   51|      8|    {
  ------------------
 4322|      8|        assert(can_modify_dict(mp));
  ------------------
  |  Branch (4322:9): [True: 8, False: 0]
  ------------------
 4323|       |
 4324|      8|        PyObject *keys = PyMapping_Keys(b);
 4325|      8|        PyObject *iter;
 4326|      8|        PyObject *key, *value;
 4327|      8|        int status;
 4328|       |
 4329|      8|        if (keys == NULL) {
  ------------------
  |  Branch (4329:13): [True: 0, False: 8]
  ------------------
 4330|       |            /* Docstring says this is equivalent to E.keys() so
 4331|       |             * if E doesn't have a .keys() method we want
 4332|       |             * AttributeError to percolate up.  Might as well
 4333|       |             * do the same for any other error.
 4334|       |             */
 4335|      0|            res = -1;
 4336|      0|            goto slow_exit;
 4337|      0|        }
 4338|       |
 4339|      8|        iter = PyObject_GetIter(keys);
 4340|      8|        Py_DECREF(keys);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4341|      8|        if (iter == NULL) {
  ------------------
  |  Branch (4341:13): [True: 0, False: 8]
  ------------------
 4342|      0|            res = -1;
 4343|      0|            goto slow_exit;
 4344|      0|        }
 4345|       |
 4346|    208|        for (key = PyIter_Next(iter); key; key = PyIter_Next(iter)) {
  ------------------
  |  Branch (4346:39): [True: 200, False: 8]
  ------------------
 4347|    200|            if (override != 1) {
  ------------------
  |  Branch (4347:17): [True: 0, False: 200]
  ------------------
 4348|      0|                status = dict_contains(a, key);
 4349|      0|                if (status != 0) {
  ------------------
  |  Branch (4349:21): [True: 0, False: 0]
  ------------------
 4350|      0|                    if (status > 0) {
  ------------------
  |  Branch (4350:25): [True: 0, False: 0]
  ------------------
 4351|      0|                        if (dupkey == NULL) {
  ------------------
  |  Branch (4351:29): [True: 0, False: 0]
  ------------------
 4352|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4353|      0|                            continue;
 4354|      0|                        }
 4355|      0|                        *dupkey = key;
 4356|      0|                        res = -2;
 4357|      0|                    }
 4358|      0|                    else {
 4359|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4360|      0|                        res = -1;
 4361|      0|                    }
 4362|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4363|      0|                    goto slow_exit;
 4364|      0|                }
 4365|      0|            }
 4366|    200|            value = PyObject_GetItem(b, key);
 4367|    200|            if (value == NULL) {
  ------------------
  |  Branch (4367:17): [True: 0, False: 200]
  ------------------
 4368|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4369|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4370|      0|                res = -1;
 4371|      0|                goto slow_exit;
 4372|      0|            }
 4373|    200|            status = setitem_lock_held(mp, key, value);
 4374|    200|            Py_DECREF(key);
  ------------------
  |  |  430|    200|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    200|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    200|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4375|    200|            Py_DECREF(value);
  ------------------
  |  |  430|    200|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    200|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    200|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4376|    200|            if (status < 0) {
  ------------------
  |  Branch (4376:17): [True: 0, False: 200]
  ------------------
 4377|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4378|      0|                res = -1;
 4379|      0|                goto slow_exit;
 4380|      0|                return -1;
 4381|      0|            }
 4382|    200|        }
 4383|      8|        Py_DECREF(iter);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4384|      8|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4384:13): [True: 0, False: 8]
  ------------------
 4385|       |            /* Iterator completed, via error */
 4386|      0|            res = -1;
 4387|      0|            goto slow_exit;
 4388|      0|        }
 4389|       |
 4390|      8|slow_exit:
 4391|      8|        ASSERT_CONSISTENT(a);
  ------------------
  |  |  668|      8|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (4391:9): [True: 8, False: 0]
  ------------------
 4392|      8|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      8|    }
  ------------------
 4393|      8|        return res;
 4394|      8|    }
 4395|    494|}
dictobject.c:dict_dict_merge:
 4212|    486|{
 4213|    486|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (4213:5): [True: 486, False: 0]
  ------------------
 4214|    486|    ASSERT_DICT_LOCKED(other);
 4215|       |
 4216|    486|    if (other == mp || other->ma_used == 0)
  ------------------
  |  Branch (4216:9): [True: 0, False: 486]
  |  Branch (4216:24): [True: 331, False: 155]
  ------------------
 4217|       |        /* a.update(a) or a.update({}); nothing to do */
 4218|    331|        return 0;
 4219|    155|    if (mp->ma_used == 0) {
  ------------------
  |  Branch (4219:9): [True: 41, False: 114]
  ------------------
 4220|       |        /* Since the target dict is empty, _PyDict_Contains_KnownHash()
 4221|       |         * always returns 0.  Setting override to 1
 4222|       |         * skips the unnecessary test.
 4223|       |         */
 4224|     41|        override = 1;
 4225|     41|        PyDictKeysObject *okeys = other->ma_keys;
 4226|       |
 4227|       |        // If other is clean, combined, and just allocated, just clone it.
 4228|     41|        if (mp->ma_values == NULL &&
  ------------------
  |  Branch (4228:13): [True: 41, False: 0]
  ------------------
 4229|     41|            other->ma_values == NULL &&
  ------------------
  |  Branch (4229:13): [True: 41, False: 0]
  ------------------
 4230|     41|            other->ma_used == okeys->dk_nentries &&
  ------------------
  |  Branch (4230:13): [True: 41, False: 0]
  ------------------
 4231|     41|            (DK_LOG_SIZE(okeys) == PyDict_LOG_MINSIZE ||
  ------------------
  |  |  272|     41|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  ------------------
  |  |  |  |  277|     41|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                          (DK_LOG_SIZE(okeys) == PyDict_LOG_MINSIZE ||
  ------------------
  |  |  115|     82|#define PyDict_LOG_MINSIZE 3
  ------------------
  |  Branch (4231:14): [True: 39, False: 2]
  ------------------
 4232|      2|             USABLE_FRACTION(DK_SIZE(okeys)/2) < other->ma_used)
  ------------------
  |  |  590|      2|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  |  Branch (4232:14): [True: 2, False: 0]
  ------------------
 4233|     41|        ) {
 4234|     41|            _PyDict_NotifyEvent(PyDict_EVENT_CLONED, mp, (PyObject *)other, NULL);
 4235|     41|            PyDictKeysObject *keys = clone_combined_dict_keys(other);
 4236|     41|            if (keys == NULL)
  ------------------
  |  Branch (4236:17): [True: 0, False: 41]
  ------------------
 4237|      0|                return -1;
 4238|       |
 4239|     41|            ensure_shared_on_resize(mp);
 4240|     41|            dictkeys_decref(mp->ma_keys, IS_DICT_SHARED(mp));
  ------------------
  |  |  269|     41|#define IS_DICT_SHARED(mp) (false)
  ------------------
 4241|     41|            set_keys(mp, keys);
 4242|     41|            STORE_USED(mp, other->ma_used);
  ------------------
  |  |  336|     41|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  194|     41|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 4243|     41|            ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|     41|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (4243:13): [True: 41, False: 0]
  ------------------
 4244|     41|            return 0;
 4245|     41|        }
 4246|     41|    }
 4247|       |    /* Do one big resize at the start, rather than
 4248|       |        * incrementally resizing as we insert new items.  Expect
 4249|       |        * that there will be no (or few) overlapping keys.
 4250|       |        */
 4251|    114|    if (USABLE_FRACTION(DK_SIZE(mp->ma_keys)) < other->ma_used) {
  ------------------
  |  |  590|    114|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  |  Branch (4251:9): [True: 1, False: 113]
  ------------------
 4252|      1|        int unicode = DK_IS_UNICODE(other->ma_keys);
  ------------------
  |  |  294|      1|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  ------------------
 4253|      1|        if (dictresize(mp, estimate_log2_keysize(mp->ma_used + other->ma_used),
  ------------------
  |  Branch (4253:13): [True: 0, False: 1]
  ------------------
 4254|      1|                        unicode)) {
 4255|      0|            return -1;
 4256|      0|        }
 4257|      1|    }
 4258|       |
 4259|    114|    Py_ssize_t orig_size = other->ma_used;
 4260|    114|    Py_ssize_t pos = 0;
 4261|    114|    Py_hash_t hash;
 4262|    114|    PyObject *key, *value;
 4263|       |
 4264|  2.08k|    while (_PyDict_Next((PyObject*)other, &pos, &key, &value, &hash)) {
  ------------------
  |  Branch (4264:12): [True: 1.96k, False: 114]
  ------------------
 4265|  1.96k|        int err = 0;
 4266|  1.96k|        Py_INCREF(key);
  ------------------
  |  |  310|  1.96k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4267|  1.96k|        Py_INCREF(value);
  ------------------
  |  |  310|  1.96k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4268|  1.96k|        if (override == 1) {
  ------------------
  |  Branch (4268:13): [True: 1.96k, False: 0]
  ------------------
 4269|  1.96k|            err = insertdict(mp, Py_NewRef(key), hash, Py_NewRef(value));
  ------------------
  |  |  550|  1.96k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          err = insertdict(mp, Py_NewRef(key), hash, Py_NewRef(value));
  ------------------
  |  |  550|  1.96k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4270|  1.96k|        }
 4271|      0|        else {
 4272|      0|            err = _PyDict_Contains_KnownHash((PyObject *)mp, key, hash);
 4273|      0|            if (err == 0) {
  ------------------
  |  Branch (4273:17): [True: 0, False: 0]
  ------------------
 4274|      0|                err = insertdict(mp, Py_NewRef(key), hash, 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                              err = insertdict(mp, Py_NewRef(key), hash, 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4275|      0|            }
 4276|      0|            else if (err > 0) {
  ------------------
  |  Branch (4276:22): [True: 0, False: 0]
  ------------------
 4277|      0|                if (dupkey != NULL) {
  ------------------
  |  Branch (4277:21): [True: 0, False: 0]
  ------------------
 4278|      0|                    *dupkey = key;
 4279|      0|                    Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) 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 -2;
 4281|      0|                }
 4282|      0|                err = 0;
 4283|      0|            }
 4284|      0|        }
 4285|  1.96k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.96k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4286|  1.96k|        Py_DECREF(key);
  ------------------
  |  |  430|  1.96k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4287|  1.96k|        if (err != 0)
  ------------------
  |  Branch (4287:13): [True: 0, False: 1.96k]
  ------------------
 4288|      0|            return -1;
 4289|       |
 4290|  1.96k|        if (orig_size != other->ma_used) {
  ------------------
  |  Branch (4290:13): [True: 0, False: 1.96k]
  ------------------
 4291|      0|            PyErr_SetString(PyExc_RuntimeError,
 4292|      0|                    "dict mutated during update");
 4293|      0|            return -1;
 4294|      0|        }
 4295|  1.96k|    }
 4296|    114|    return 0;
 4297|    114|}
dictobject.c:clone_combined_dict_keys:
 1024|    582|{
 1025|    582|    assert(PyAnyDict_Check(orig));
  ------------------
  |  Branch (1025:5): [True: 582, False: 0]
  |  Branch (1025:5): [True: 0, False: 0]
  ------------------
 1026|    582|    assert(Py_TYPE(orig)->tp_iter == dict_iter);
  ------------------
  |  Branch (1026:5): [True: 582, False: 0]
  ------------------
 1027|    582|    assert(orig->ma_values == NULL);
  ------------------
  |  Branch (1027:5): [True: 582, False: 0]
  ------------------
 1028|    582|    assert(orig->ma_keys != Py_EMPTY_KEYS);
  ------------------
  |  Branch (1028:5): [True: 582, False: 0]
  ------------------
 1029|    582|    assert(orig->ma_keys->dk_refcnt == 1);
  ------------------
  |  Branch (1029:5): [True: 582, False: 0]
  ------------------
 1030|       |
 1031|    582|    if (!PyFrozenDict_Check(orig)) {
  ------------------
  |  |   37|    582|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|    582|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    582|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    582|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1031:9): [True: 582, False: 0]
  ------------------
 1032|    582|        ASSERT_DICT_LOCKED(orig);
 1033|    582|    }
 1034|       |
 1035|    582|    size_t keys_size = _PyDict_KeysSize(orig->ma_keys);
 1036|    582|    PyDictKeysObject *keys = PyMem_Malloc(keys_size);
 1037|    582|    if (keys == NULL) {
  ------------------
  |  Branch (1037:9): [True: 0, False: 582]
  ------------------
 1038|      0|        PyErr_NoMemory();
 1039|      0|        return NULL;
 1040|      0|    }
 1041|       |
 1042|    582|    memcpy(keys, orig->ma_keys, keys_size);
 1043|       |
 1044|       |    /* After copying key/value pairs, we need to incref all
 1045|       |       keys and values and they are about to be co-owned by a
 1046|       |       new dict object. */
 1047|    582|    PyObject **pkey, **pvalue;
 1048|    582|    size_t offs;
 1049|    582|    if (DK_IS_UNICODE(orig->ma_keys)) {
  ------------------
  |  |  294|    582|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (294:27): [True: 579, False: 3]
  |  |  ------------------
  ------------------
 1050|    579|        PyDictUnicodeEntry *ep0 = DK_UNICODE_ENTRIES(keys);
 1051|    579|        pkey = &ep0->me_key;
 1052|    579|        pvalue = &ep0->me_value;
 1053|    579|        offs = sizeof(PyDictUnicodeEntry) / sizeof(PyObject*);
 1054|    579|    }
 1055|      3|    else {
 1056|      3|        PyDictKeyEntry *ep0 = DK_ENTRIES(keys);
 1057|      3|        pkey = &ep0->me_key;
 1058|      3|        pvalue = &ep0->me_value;
 1059|      3|        offs = sizeof(PyDictKeyEntry) / sizeof(PyObject*);
 1060|      3|    }
 1061|       |
 1062|    582|    Py_ssize_t n = keys->dk_nentries;
 1063|  7.95k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (1063:28): [True: 7.37k, False: 582]
  ------------------
 1064|  7.37k|        PyObject *value = *pvalue;
 1065|  7.37k|        if (value != NULL) {
  ------------------
  |  Branch (1065:13): [True: 6.95k, False: 419]
  ------------------
 1066|  6.95k|            Py_INCREF(value);
  ------------------
  |  |  310|  6.95k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.95k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1067|  6.95k|            Py_INCREF(*pkey);
  ------------------
  |  |  310|  6.95k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.95k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1068|  6.95k|        }
 1069|  7.37k|        pvalue += offs;
 1070|  7.37k|        pkey += offs;
 1071|  7.37k|    }
 1072|       |
 1073|       |    /* Since we copied the keys table we now have an extra reference
 1074|       |       in the system.  Manually call increment _Py_RefTotal to signal that
 1075|       |       we have it now; calling dictkeys_incref would be an error as
 1076|       |       keys->dk_refcnt is already set to 1 (after memcpy). */
 1077|       |#ifdef Py_REF_DEBUG
 1078|       |    _Py_IncRefTotal(_PyThreadState_GET());
 1079|       |#endif
 1080|    582|    return keys;
 1081|    582|}
dictobject.c:dict_merge_api:
 4399|    461|{
 4400|       |    /* We accept for the argument either a concrete dictionary object,
 4401|       |     * or an abstract "mapping" object.  For the former, we can do
 4402|       |     * things quite efficiently.  For the latter, we only require that
 4403|       |     * PyMapping_Keys() and PyObject_GetItem() be supported.
 4404|       |     */
 4405|    461|    if (a == NULL || !PyDict_Check(a) || b == NULL) {
  ------------------
  |  |   18|    461|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    922|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4405:9): [True: 0, False: 461]
  |  Branch (4405:22): [True: 0, False: 461]
  |  Branch (4405:42): [True: 0, False: 461]
  ------------------
 4406|      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 (4406:13): [True: 0, False: 0]
  ------------------
 4407|      0|            frozendict_does_not_support("assignment");
  ------------------
  |  | 2801|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2802|      0|                    "not support item " WHAT)
  ------------------
 4408|      0|        }
 4409|      0|        else {
 4410|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 4411|      0|        }
 4412|      0|        return -1;
 4413|      0|    }
 4414|       |
 4415|    461|    int res = dict_merge(a, b, override, dupkey);
 4416|    461|    assert(_PyObject_GC_IS_TRACKED(a));
  ------------------
  |  Branch (4416:5): [True: 461, False: 0]
  ------------------
 4417|    461|    return res;
 4418|    461|}
dictobject.c:copy_lock_held_untracked:
 4475|    543|{
 4476|    543|    PyObject *copy;
 4477|    543|    PyDictObject *mp;
 4478|       |
 4479|       |    // frozendict is immutable and so doesn't need critical section
 4480|    543|    if (!PyFrozenDict_Check(o)) {
  ------------------
  |  |   37|    543|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|    543|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    543|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    543|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4480:9): [True: 543, False: 0]
  ------------------
 4481|    543|        ASSERT_DICT_LOCKED(o);
 4482|    543|    }
 4483|       |
 4484|    543|    mp = (PyDictObject *)o;
 4485|    543|    if (mp->ma_used == 0) {
  ------------------
  |  Branch (4485:9): [True: 2, False: 541]
  ------------------
 4486|       |        /* The dict is empty; just return a new dict. */
 4487|      2|        PyObject *d;
 4488|      2|        if (as_frozendict) {
  ------------------
  |  Branch (4488:13): [True: 0, False: 2]
  ------------------
 4489|      0|            d = frozendict_new_untracked(&PyFrozenDict_Type);
 4490|      0|        }
 4491|      2|        else {
 4492|      2|            d = dict_new_untracked(&PyDict_Type);
 4493|      2|        }
 4494|      2|        assert(!_PyObject_GC_IS_TRACKED(d));
  ------------------
  |  Branch (4494:9): [True: 2, False: 0]
  ------------------
 4495|      2|        return d;
 4496|      2|    }
 4497|       |
 4498|    541|    if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   56|    541|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 541]
  |  |  ------------------
  ------------------
 4499|      0|        PyDictObject *split_copy;
 4500|      0|        PyDictValues *newvalues = copy_values(mp->ma_values);
 4501|      0|        if (newvalues == NULL) {
  ------------------
  |  Branch (4501:13): [True: 0, False: 0]
  ------------------
 4502|      0|            return PyErr_NoMemory();
 4503|      0|        }
 4504|      0|        if (as_frozendict) {
  ------------------
  |  Branch (4504:13): [True: 0, False: 0]
  ------------------
 4505|      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))
  |  |  ------------------
  ------------------
 4506|      0|                                                         &PyFrozenDict_Type);
 4507|      0|        }
 4508|      0|        else {
 4509|      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))
  |  |  ------------------
  ------------------
 4510|      0|        }
 4511|      0|        if (split_copy == NULL) {
  ------------------
  |  Branch (4511:13): [True: 0, False: 0]
  ------------------
 4512|      0|            free_values(newvalues, false);
 4513|      0|            return NULL;
 4514|      0|        }
 4515|      0|        for (size_t i = 0; i < newvalues->capacity; i++) {
  ------------------
  |  Branch (4515:28): [True: 0, False: 0]
  ------------------
 4516|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4517|      0|        }
 4518|      0|        split_copy->ma_values = newvalues;
 4519|      0|        split_copy->ma_keys = mp->ma_keys;
 4520|      0|        split_copy->ma_used = mp->ma_used;
 4521|      0|        split_copy->_ma_watcher_tag = 0;
 4522|      0|        dictkeys_incref(mp->ma_keys);
 4523|      0|        if (as_frozendict) {
  ------------------
  |  Branch (4523:13): [True: 0, False: 0]
  ------------------
 4524|      0|            PyFrozenDictObject *frozen = (PyFrozenDictObject *)split_copy;
 4525|      0|            frozen->ma_hash = -1;
 4526|      0|        }
 4527|      0|        assert(!_PyObject_GC_IS_TRACKED(split_copy));
  ------------------
  |  Branch (4527:9): [True: 0, False: 0]
  ------------------
 4528|      0|        return (PyObject *)split_copy;
 4529|      0|    }
 4530|       |
 4531|    541|    if (Py_TYPE(mp)->tp_iter == dict_iter &&
  ------------------
  |  |  213|    541|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    541|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    541|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4531:9): [True: 541, False: 0]
  ------------------
 4532|    541|            mp->ma_values == NULL &&
  ------------------
  |  Branch (4532:13): [True: 541, False: 0]
  ------------------
 4533|    541|            (mp->ma_used >= (mp->ma_keys->dk_nentries * 2) / 3))
  ------------------
  |  Branch (4533:13): [True: 541, False: 0]
  ------------------
 4534|    541|    {
 4535|       |        /* Use fast-copy if:
 4536|       |
 4537|       |           (1) type(mp) doesn't override tp_iter; and
 4538|       |
 4539|       |           (2) 'mp' is not a split-dict; and
 4540|       |
 4541|       |           (3) if 'mp' is non-compact ('del' operation does not resize dicts),
 4542|       |               do fast-copy only if it has at most 1/3 non-used keys.
 4543|       |
 4544|       |           The last condition (3) is important to guard against a pathological
 4545|       |           case when a large dict is almost emptied with multiple del/pop
 4546|       |           operations and copied after that.  In cases like this, we defer to
 4547|       |           PyDict_Merge, which produces a compacted copy.
 4548|       |        */
 4549|    541|        PyDictKeysObject *keys = clone_combined_dict_keys(mp);
 4550|    541|        if (keys == NULL) {
  ------------------
  |  Branch (4550:13): [True: 0, False: 541]
  ------------------
 4551|      0|            return NULL;
 4552|      0|        }
 4553|    541|        PyDictObject *new;
 4554|    541|        if (as_frozendict) {
  ------------------
  |  Branch (4554:13): [True: 0, False: 541]
  ------------------
 4555|      0|            new = (PyDictObject *)new_frozendict_untracked(keys, NULL, 0, 0);
 4556|      0|        }
 4557|    541|        else {
 4558|    541|            new = (PyDictObject *)new_dict_untracked(keys, NULL, 0, 0);
 4559|    541|        }
 4560|    541|        if (new == NULL) {
  ------------------
  |  Branch (4560:13): [True: 0, False: 541]
  ------------------
 4561|       |            /* In case of an error, new_dict()/new_frozendict() takes care of
 4562|       |               cleaning up `keys`. */
 4563|      0|            return NULL;
 4564|      0|        }
 4565|       |
 4566|    541|        new->ma_used = mp->ma_used;
 4567|    541|        ASSERT_CONSISTENT(new);
  ------------------
  |  |  668|    541|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (4567:9): [True: 541, False: 0]
  ------------------
 4568|    541|        assert(!_PyObject_GC_IS_TRACKED(new));
  ------------------
  |  Branch (4568:9): [True: 541, False: 0]
  ------------------
 4569|    541|        return (PyObject *)new;
 4570|    541|    }
 4571|       |
 4572|      0|    if (as_frozendict) {
  ------------------
  |  Branch (4572:9): [True: 0, False: 0]
  ------------------
 4573|      0|        copy = frozendict_new_untracked(&PyFrozenDict_Type);
 4574|      0|    }
 4575|      0|    else {
 4576|      0|        copy = dict_new_untracked(&PyDict_Type);
 4577|      0|    }
 4578|      0|    if (copy == NULL)
  ------------------
  |  Branch (4578:9): [True: 0, False: 0]
  ------------------
 4579|      0|        return NULL;
 4580|      0|    if (dict_merge(copy, o, 1, NULL) < 0) {
  ------------------
  |  Branch (4580:9): [True: 0, False: 0]
  ------------------
 4581|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4582|      0|        return NULL;
 4583|      0|    }
 4584|       |
 4585|      0|    assert(!_PyObject_GC_IS_TRACKED(copy));
  ------------------
  |  Branch (4585:5): [True: 0, False: 0]
  ------------------
 4586|      0|    return copy;
 4587|      0|}
dictobject.c:dict_new_untracked:
 5379|  1.08M|{
 5380|  1.08M|    assert(PyObject_IsSubclass((PyObject*)type, (PyObject*)&PyDict_Type));
  ------------------
  |  Branch (5380:5): [True: 1.08M, False: 0]
  ------------------
 5381|       |
 5382|  1.08M|    return anydict_new_untracked(type);
 5383|  1.08M|}
dictobject.c:anydict_new_untracked:
 5356|  1.08M|{
 5357|  1.08M|    assert(type != NULL);
  ------------------
  |  Branch (5357:5): [True: 1.08M, False: 0]
  ------------------
 5358|       |    // dict and frozendict subclasses must implement the GC protocol
 5359|  1.08M|    assert(_PyType_IS_GC(type));
  ------------------
  |  Branch (5359:5): [True: 1.08M, False: 0]
  ------------------
 5360|       |
 5361|  1.08M|    PyObject *self = _PyType_AllocNoTrack(type, 0);
 5362|  1.08M|    if (self == NULL) {
  ------------------
  |  Branch (5362:9): [True: 0, False: 1.08M]
  ------------------
 5363|      0|        return NULL;
 5364|      0|    }
 5365|  1.08M|    PyDictObject *d = (PyDictObject *)self;
 5366|       |
 5367|  1.08M|    d->ma_used = 0;
 5368|  1.08M|    d->_ma_watcher_tag = 0;
 5369|       |    // We don't inc ref empty keys because they're immortal
 5370|  1.08M|    assert((Py_EMPTY_KEYS)->dk_refcnt == _Py_DICT_IMMORTAL_INITIAL_REFCNT);
  ------------------
  |  Branch (5370:5): [True: 1.08M, False: 0]
  ------------------
 5371|  1.08M|    d->ma_keys = Py_EMPTY_KEYS;
  ------------------
  |  |  660|  1.08M|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
 5372|  1.08M|    d->ma_values = NULL;
 5373|  1.08M|    ASSERT_CONSISTENT(d);
  ------------------
  |  |  668|  1.08M|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (5373:5): [True: 1.08M, False: 0]
  ------------------
 5374|  1.08M|    return self;
 5375|  1.08M|}
dictobject.c:new_values:
  915|    146|{
  916|    146|    size_t n = values_size_from_count(size);
  917|    146|    PyDictValues *res = (PyDictValues *)PyMem_Malloc(n);
  918|    146|    if (res == NULL) {
  ------------------
  |  Branch (918:9): [True: 0, False: 146]
  ------------------
  919|      0|        return NULL;
  920|      0|    }
  921|    146|    res->embedded = 0;
  922|    146|    res->size = 0;
  923|    146|    assert(size < 256);
  ------------------
  |  Branch (923:5): [True: 146, False: 0]
  ------------------
  924|    146|    res->capacity = (uint8_t)size;
  925|    146|    return res;
  926|    146|}
dictobject.c:values_size_from_count:
  903|    146|{
  904|    146|    assert(count >= 1);
  ------------------
  |  Branch (904:5): [True: 146, False: 0]
  ------------------
  905|    146|    size_t suffix_size = _Py_SIZE_ROUND_UP(count, sizeof(PyObject *));
  ------------------
  |  |  213|    146|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  214|    146|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  ------------------
  906|    146|    assert(suffix_size < 128);
  ------------------
  |  Branch (906:5): [True: 146, False: 0]
  ------------------
  907|    146|    assert(suffix_size % sizeof(PyObject *) == 0);
  ------------------
  |  Branch (907:5): [True: 146, False: 0]
  ------------------
  908|    146|    return (count + 1) * sizeof(PyObject *) + suffix_size;
  909|    146|}
dictobject.c:dictkeys_incref:
  482|    146|{
  483|    146|    if (FT_ATOMIC_LOAD_SSIZE_RELAXED(dk->dk_refcnt) < 0) {
  ------------------
  |  |  149|    146|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  |  Branch (483:9): [True: 0, False: 146]
  ------------------
  484|      0|        assert(FT_ATOMIC_LOAD_SSIZE_RELAXED(dk->dk_refcnt) == _Py_DICT_IMMORTAL_INITIAL_REFCNT);
  ------------------
  |  Branch (484:9): [True: 0, False: 0]
  ------------------
  485|      0|        return;
  486|      0|    }
  487|       |#ifdef Py_REF_DEBUG
  488|       |    _Py_IncRefTotal(_PyThreadState_GET());
  489|       |#endif
  490|    146|    INCREF_KEYS(dk);
  ------------------
  |  |  262|    146|#define INCREF_KEYS(dk)  dk->dk_refcnt++
  ------------------
  491|    146|}
dictobject.c:new_dict_untracked:
  987|    541|{
  988|    541|    PyDictObject *mp = _Py_FREELIST_POP(PyDictObject, dicts);
  ------------------
  |  |   43|    541|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|    541|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  989|    541|    if (mp == NULL) {
  ------------------
  |  Branch (989:9): [True: 349, False: 192]
  ------------------
  990|    349|        mp = PyObject_GC_New(PyDictObject, &PyDict_Type);
  ------------------
  |  |  181|    349|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    349|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  991|    349|    }
  992|    541|    assert(mp == NULL || Py_IS_TYPE(mp, &PyDict_Type));
  ------------------
  |  Branch (992:5): [True: 0, False: 541]
  |  Branch (992:5): [True: 541, False: 0]
  ------------------
  993|       |
  994|    541|    return new_dict_impl(mp, keys, values, used, free_values_on_failure, 0, 0);
  995|    541|}
dictobject.c:dict_setdefault_ref_lock_held:
 4815|  18.0k|{
 4816|  18.0k|    if (!PyDict_Check(d)) {
  ------------------
  |  |   18|  18.0k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  18.0k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4816:9): [True: 0, False: 18.0k]
  ------------------
 4817|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4818|      0|            frozendict_does_not_support("assignment");
  ------------------
  |  | 2801|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2802|      0|                    "not support item " WHAT)
  ------------------
 4819|      0|        }
 4820|      0|        else {
 4821|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 4822|      0|        }
 4823|      0|        if (result) {
  ------------------
  |  Branch (4823:13): [True: 0, False: 0]
  ------------------
 4824|      0|            *result = NULL;
 4825|      0|        }
 4826|      0|        return -1;
 4827|      0|    }
 4828|  18.0k|    assert(can_modify_dict((PyDictObject*)d));
  ------------------
  |  Branch (4828:5): [True: 18.0k, False: 0]
  ------------------
 4829|       |
 4830|  18.0k|    PyDictObject *mp = (PyDictObject *)d;
 4831|  18.0k|    PyObject *value;
 4832|  18.0k|    Py_hash_t hash;
 4833|  18.0k|    Py_ssize_t ix;
 4834|       |
 4835|  18.0k|    hash = _PyObject_HashDictKey(key);
 4836|  18.0k|    if (hash == -1) {
  ------------------
  |  Branch (4836:9): [True: 0, False: 18.0k]
  ------------------
 4837|      0|        dict_unhashable_type(d, key);
 4838|      0|        if (result) {
  ------------------
  |  Branch (4838:13): [True: 0, False: 0]
  ------------------
 4839|      0|            *result = NULL;
 4840|      0|        }
 4841|      0|        return -1;
 4842|      0|    }
 4843|       |
 4844|  18.0k|    if (mp->ma_keys == Py_EMPTY_KEYS) {
  ------------------
  |  |  660|  18.0k|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
  |  Branch (4844:9): [True: 22, False: 18.0k]
  ------------------
 4845|     22|        if (insert_to_emptydict(mp, Py_NewRef(key), hash,
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4845:13): [True: 0, False: 22]
  ------------------
 4846|     22|                                Py_NewRef(default_value)) < 0) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4847|      0|            if (result) {
  ------------------
  |  Branch (4847:17): [True: 0, False: 0]
  ------------------
 4848|      0|                *result = NULL;
 4849|      0|            }
 4850|      0|            return -1;
 4851|      0|        }
 4852|     22|        if (result) {
  ------------------
  |  Branch (4852:13): [True: 7, False: 15]
  ------------------
 4853|      7|            *result = incref_result ? Py_NewRef(default_value) : default_value;
  ------------------
  |  |  550|      7|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4853:23): [True: 7, False: 0]
  ------------------
 4854|      7|        }
 4855|     22|        return 0;
 4856|     22|    }
 4857|       |
 4858|  18.0k|    if (_PyDict_HasSplitTable(mp) && PyUnicode_CheckExact(key)) {
  ------------------
  |  |   56|  36.0k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 18.0k]
  |  |  ------------------
  ------------------
                  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4859|      0|        ix = insert_split_key(mp->ma_keys, key, hash);
 4860|      0|        if (ix != DKIX_EMPTY) {
  ------------------
  |  |  185|      0|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (4860:13): [True: 0, False: 0]
  ------------------
 4861|      0|            PyObject *value = mp->ma_values->values[ix];
 4862|      0|            int already_present = value != NULL;
 4863|      0|            if (!already_present) {
  ------------------
  |  Branch (4863:17): [True: 0, False: 0]
  ------------------
 4864|      0|                _PyDict_InsertSplitValue(mp, key, default_value, ix);
 4865|      0|                value = default_value;
 4866|      0|            }
 4867|      0|            if (result) {
  ------------------
  |  Branch (4867:17): [True: 0, False: 0]
  ------------------
 4868|      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 (4868:27): [True: 0, False: 0]
  ------------------
 4869|      0|            }
 4870|      0|            return already_present;
 4871|      0|        }
 4872|       |        // No space in shared keys. Go to insert_combined_dict() below.
 4873|      0|    }
 4874|  18.0k|    else {
 4875|  18.0k|        ix = _Py_dict_lookup(mp, key, hash, &value);
 4876|  18.0k|        if (ix == DKIX_ERROR) {
  ------------------
  |  |  187|  18.0k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (4876:13): [True: 0, False: 18.0k]
  ------------------
 4877|      0|            if (result) {
  ------------------
  |  Branch (4877:17): [True: 0, False: 0]
  ------------------
 4878|      0|                *result = NULL;
 4879|      0|            }
 4880|      0|            return -1;
 4881|      0|        }
 4882|  18.0k|    }
 4883|       |
 4884|  18.0k|    if (ix == DKIX_EMPTY) {
  ------------------
  |  |  185|  18.0k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (4884:9): [True: 13.9k, False: 4.10k]
  ------------------
 4885|  13.9k|        value = default_value;
 4886|       |
 4887|       |        // See comment to this function in insertdict.
 4888|  13.9k|        if (insert_combined_dict(mp, hash, Py_NewRef(key), Py_NewRef(value)) < 0) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (insert_combined_dict(mp, hash, Py_NewRef(key), Py_NewRef(value)) < 0) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4888:13): [True: 0, False: 13.9k]
  ------------------
 4889|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4890|      0|            Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4891|      0|            if (result) {
  ------------------
  |  Branch (4891:17): [True: 0, False: 0]
  ------------------
 4892|      0|                *result = NULL;
 4893|      0|            }
 4894|      0|            return -1;
 4895|      0|        }
 4896|       |
 4897|  13.9k|        STORE_USED(mp, mp->ma_used + 1);
  ------------------
  |  |  336|  13.9k|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  194|  13.9k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 4898|  13.9k|        assert(mp->ma_keys->dk_usable >= 0);
  ------------------
  |  Branch (4898:9): [True: 13.9k, False: 0]
  ------------------
 4899|  13.9k|        ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|  13.9k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (4899:9): [True: 13.9k, False: 0]
  ------------------
 4900|  13.9k|        if (result) {
  ------------------
  |  Branch (4900:13): [True: 10.7k, False: 3.14k]
  ------------------
 4901|  10.7k|            *result = incref_result ? Py_NewRef(value) : 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4901:23): [True: 10.7k, False: 0]
  ------------------
 4902|  10.7k|        }
 4903|  13.9k|        return 0;
 4904|  13.9k|    }
 4905|       |
 4906|  18.0k|    assert(value != NULL);
  ------------------
  |  Branch (4906:5): [True: 4.10k, False: 0]
  ------------------
 4907|  4.10k|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|  4.10k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (4907:5): [True: 4.10k, False: 0]
  ------------------
 4908|  4.10k|    if (result) {
  ------------------
  |  Branch (4908:9): [True: 4.10k, False: 0]
  ------------------
 4909|  4.10k|        *result = incref_result ? Py_NewRef(value) : value;
  ------------------
  |  |  550|  4.10k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.10k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4909:19): [True: 4.10k, False: 0]
  ------------------
 4910|  4.10k|    }
 4911|  4.10k|    return 1;
 4912|  4.10k|}
dictobject.c:dict_update_arg:
 4036|     47|{
 4037|     47|    if (PyAnyDict_CheckExact(arg)) {
  ------------------
  |  |   41|     47|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|     47|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|     94|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     47|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     47|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 25, False: 22]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   38|     22|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_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: 0, False: 22]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4038|     25|        return dict_merge(self, arg, 1, NULL);
 4039|     25|    }
 4040|     22|    int has_keys = PyObject_HasAttrWithError(arg, &_Py_ID(keys));
  ------------------
  |  |  920|     22|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     22|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     22|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4041|     22|    if (has_keys < 0) {
  ------------------
  |  Branch (4041:9): [True: 0, False: 22]
  ------------------
 4042|      0|        return -1;
 4043|      0|    }
 4044|     22|    if (has_keys) {
  ------------------
  |  Branch (4044:9): [True: 8, False: 14]
  ------------------
 4045|      8|        return dict_merge(self, arg, 1, NULL);
 4046|      8|    }
 4047|     14|    return dict_merge_from_seq2(self, arg, 1);
 4048|     22|}
dictobject.c:dict_contains:
 5277|  2.09M|{
 5278|  2.09M|    Py_hash_t hash = _PyObject_HashDictKey(key);
 5279|  2.09M|    if (hash == -1) {
  ------------------
  |  Branch (5279:9): [True: 0, False: 2.09M]
  ------------------
 5280|      0|        dict_unhashable_type(op, key);
 5281|      0|        return -1;
 5282|      0|    }
 5283|       |
 5284|  2.09M|    return _PyDict_Contains_KnownHash(op, key, hash);
 5285|  2.09M|}
dictobject.c:dict_dealloc:
 3649|  1.09M|{
 3650|  1.09M|    PyDictObject *mp = (PyDictObject *)self;
 3651|  1.09M|    _PyObject_ResurrectStart(self);
 3652|  1.09M|    _PyDict_NotifyEvent(PyDict_EVENT_DEALLOCATED, mp, NULL, NULL);
 3653|  1.09M|    if (_PyObject_ResurrectEnd(self)) {
  ------------------
  |  Branch (3653:9): [True: 0, False: 1.09M]
  ------------------
 3654|      0|        return;
 3655|      0|    }
 3656|  1.09M|    PyDictValues *values = mp->ma_values;
 3657|  1.09M|    PyDictKeysObject *keys = mp->ma_keys;
 3658|  1.09M|    Py_ssize_t i, n;
 3659|       |
 3660|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
 3661|  1.09M|    PyObject_GC_UnTrack(mp);
 3662|  1.09M|    if (values != NULL) {
  ------------------
  |  Branch (3662:9): [True: 7, False: 1.09M]
  ------------------
 3663|      7|        if (values->embedded == 0) {
  ------------------
  |  Branch (3663:13): [True: 7, False: 0]
  ------------------
 3664|    217|            for (i = 0, n = values->capacity; i < n; i++) {
  ------------------
  |  Branch (3664:47): [True: 210, False: 7]
  ------------------
 3665|    210|                Py_XDECREF(values->values[i]);
  ------------------
  |  |  524|    210|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    210|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    210|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3666|    210|            }
 3667|      7|            free_values(values, false);
 3668|      7|        }
 3669|      7|        dictkeys_decref(keys, false);
 3670|      7|    }
 3671|  1.09M|    else if (keys != NULL) {
  ------------------
  |  Branch (3671:14): [True: 1.09M, False: 0]
  ------------------
 3672|  1.09M|        assert(keys->dk_refcnt == 1 || keys == Py_EMPTY_KEYS);
  ------------------
  |  Branch (3672:9): [True: 1.08M, False: 9.68k]
  |  Branch (3672:9): [True: 9.68k, False: 0]
  ------------------
 3673|  1.09M|        dictkeys_decref(keys, false);
 3674|  1.09M|    }
 3675|  1.09M|    if (Py_IS_TYPE(mp, &PyDict_Type)) {
  ------------------
  |  |  215|  1.09M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  1.09M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.09M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 1.09M, False: 7]
  |  |  ------------------
  ------------------
 3676|  1.09M|        _Py_FREELIST_FREE(dicts, mp, Py_TYPE(mp)->tp_free);
  ------------------
  |  |   35|  1.09M|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  1.09M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.09M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  1.09M|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   16|  1.09M|#  define Py_dicts_MAXFREELIST 80
  |  |  ------------------
  ------------------
 3677|  1.09M|    }
 3678|      7|    else {
 3679|      7|        Py_TYPE(mp)->tp_free((PyObject *)mp);
  ------------------
  |  |  213|      7|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3680|      7|    }
 3681|  1.09M|}
dictobject.c:dict_length:
 3788|  6.63k|{
 3789|  6.63k|    return GET_USED(_PyAnyDict_CAST(self));
  ------------------
  |  |  328|  6.63k|#define GET_USED(ep) FT_ATOMIC_LOAD_SSIZE_RELAXED((ep)->ma_used)
  |  |  ------------------
  |  |  |  |  149|  26.5k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (149:45): [True: 6.63k, False: 0]
  |  |  |  |  |  Branch (149:45): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3790|  6.63k|}
dictobject.c:dict_traverse:
 5090|   313k|{
 5091|   313k|    PyDictObject *mp = (PyDictObject *)op;
 5092|   313k|    PyDictKeysObject *keys = mp->ma_keys;
 5093|   313k|    Py_ssize_t i, n = keys->dk_nentries;
 5094|       |
 5095|   313k|    if (DK_IS_UNICODE(keys)) {
  ------------------
  |  |  294|   313k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (294:27): [True: 277k, False: 36.5k]
  |  |  ------------------
  ------------------
 5096|   277k|        if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   56|   277k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 36.9k, False: 240k]
  |  |  ------------------
  ------------------
 5097|  84.8k|            for (i = 0; i < n; i++) {
  ------------------
  |  Branch (5097:25): [True: 47.8k, False: 36.9k]
  ------------------
 5098|  47.8k|                Py_VISIT(mp->ma_values->values[i]);
  ------------------
  |  |  194|  47.8k|    do {                                                                \
  |  |  195|  47.8k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 46.5k, False: 1.28k]
  |  |  ------------------
  |  |  196|  46.5k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  46.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  46.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  46.5k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 46.5k]
  |  |  ------------------
  |  |  198|  46.5k|                return vret;                                            \
  |  |  199|  46.5k|        }                                                               \
  |  |  200|  47.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 47.8k]
  |  |  ------------------
  ------------------
 5099|  47.8k|            }
 5100|  36.9k|        }
 5101|   240k|        else {
 5102|   240k|            PyDictUnicodeEntry *entries = DK_UNICODE_ENTRIES(keys);
 5103|  5.55M|            for (i = 0; i < n; i++) {
  ------------------
  |  Branch (5103:25): [True: 5.31M, False: 240k]
  ------------------
 5104|  5.31M|                Py_VISIT(entries[i].me_value);
  ------------------
  |  |  194|  5.31M|    do {                                                                \
  |  |  195|  5.31M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 5.22M, False: 86.9k]
  |  |  ------------------
  |  |  196|  5.22M|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  5.22M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.22M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  5.22M|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 5.22M]
  |  |  ------------------
  |  |  198|  5.22M|                return vret;                                            \
  |  |  199|  5.22M|        }                                                               \
  |  |  200|  5.31M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 5.31M]
  |  |  ------------------
  ------------------
 5105|  5.31M|            }
 5106|   240k|        }
 5107|   277k|    }
 5108|  36.5k|    else {
 5109|  36.5k|        PyDictKeyEntry *entries = DK_ENTRIES(keys);
 5110|  56.0M|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (5110:21): [True: 55.9M, False: 36.5k]
  ------------------
 5111|  55.9M|            if (entries[i].me_value != NULL) {
  ------------------
  |  Branch (5111:17): [True: 55.8M, False: 184k]
  ------------------
 5112|  55.8M|                Py_VISIT(entries[i].me_value);
  ------------------
  |  |  194|  55.8M|    do {                                                                \
  |  |  195|  55.8M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 55.8M, False: 0]
  |  |  ------------------
  |  |  196|  55.8M|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  55.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  55.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  55.8M|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 55.8M]
  |  |  ------------------
  |  |  198|  55.8M|                return vret;                                            \
  |  |  199|  55.8M|        }                                                               \
  |  |  200|  55.8M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 55.8M]
  |  |  ------------------
  ------------------
 5113|  55.8M|                Py_VISIT(entries[i].me_key);
  ------------------
  |  |  194|  55.8M|    do {                                                                \
  |  |  195|  55.8M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 55.8M, False: 0]
  |  |  ------------------
  |  |  196|  55.8M|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  55.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  55.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  55.8M|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 55.8M]
  |  |  ------------------
  |  |  198|  55.8M|                return vret;                                            \
  |  |  199|  55.8M|        }                                                               \
  |  |  200|  55.8M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 55.8M]
  |  |  ------------------
  ------------------
 5114|  55.8M|            }
 5115|  55.9M|        }
 5116|  36.5k|    }
 5117|   313k|    return 0;
 5118|   313k|}
dictobject.c:dict_tp_clear:
 5122|     12|{
 5123|     12|    PyDict_Clear(op);
 5124|     12|    return 0;
 5125|     12|}
dictobject.c:dict_iter:
 5481|  5.97k|{
 5482|  5.97k|    PyDictObject *dict = (PyDictObject *)self;
 5483|  5.97k|    return dictiter_new(dict, &PyDictIterKey_Type);
 5484|  5.97k|}
dictobject.c:dictiter_new:
 5618|  8.29k|{
 5619|  8.29k|    Py_ssize_t used;
 5620|  8.29k|    dictiterobject *di;
 5621|  8.29k|    di = PyObject_GC_New(dictiterobject, itertype);
  ------------------
  |  |  181|  8.29k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  8.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5622|  8.29k|    if (di == NULL) {
  ------------------
  |  Branch (5622:9): [True: 0, False: 8.29k]
  ------------------
 5623|      0|        return NULL;
 5624|      0|    }
 5625|  8.29k|    di->di_dict = (PyDictObject*)Py_NewRef(dict);
  ------------------
  |  |  550|  8.29k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  8.29k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5626|  8.29k|    used = GET_USED(dict);
  ------------------
  |  |  328|  8.29k|#define GET_USED(ep) FT_ATOMIC_LOAD_SSIZE_RELAXED((ep)->ma_used)
  |  |  ------------------
  |  |  |  |  149|  8.29k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  ------------------
  ------------------
 5627|  8.29k|    di->di_used = used;
 5628|  8.29k|    di->len = used;
 5629|  8.29k|    if (itertype == &PyDictRevIterKey_Type ||
  ------------------
  |  Branch (5629:9): [True: 0, False: 8.29k]
  ------------------
 5630|  8.29k|         itertype == &PyDictRevIterItem_Type ||
  ------------------
  |  Branch (5630:10): [True: 0, False: 8.29k]
  ------------------
 5631|  8.29k|         itertype == &PyDictRevIterValue_Type) {
  ------------------
  |  Branch (5631:10): [True: 0, False: 8.29k]
  ------------------
 5632|      0|        if (_PyDict_HasSplitTable(dict)) {
  ------------------
  |  |   56|      0|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5633|      0|            di->di_pos = used - 1;
 5634|      0|        }
 5635|      0|        else {
 5636|      0|            di->di_pos = load_keys_nentries(dict) - 1;
 5637|      0|        }
 5638|      0|    }
 5639|  8.29k|    else {
 5640|  8.29k|        di->di_pos = 0;
 5641|  8.29k|    }
 5642|  8.29k|    if (itertype == &PyDictIterItem_Type ||
  ------------------
  |  Branch (5642:9): [True: 2.30k, False: 5.98k]
  ------------------
 5643|  5.98k|        itertype == &PyDictRevIterItem_Type) {
  ------------------
  |  Branch (5643:9): [True: 0, False: 5.98k]
  ------------------
 5644|  2.30k|        di->di_result = _PyTuple_FromPairSteal(Py_None, Py_None);
  ------------------
  |  |  616|  2.30k|#  define Py_None (&_Py_NoneStruct)
  ------------------
                      di->di_result = _PyTuple_FromPairSteal(Py_None, Py_None);
  ------------------
  |  |  616|  2.30k|#  define Py_None (&_Py_NoneStruct)
  ------------------
 5645|  2.30k|        if (di->di_result == NULL) {
  ------------------
  |  Branch (5645:13): [True: 0, False: 2.30k]
  ------------------
 5646|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5647|      0|            return NULL;
 5648|      0|        }
 5649|  2.30k|    }
 5650|  5.98k|    else {
 5651|  5.98k|        di->di_result = NULL;
 5652|  5.98k|    }
 5653|  8.29k|    _PyObject_GC_TRACK(di);
  ------------------
  |  |  507|  8.29k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.29k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5654|  8.29k|    return (PyObject *)di;
 5655|  8.29k|}
dictobject.c:dict___contains___impl:
 4769|      4|{
 4770|      4|    int contains = dict_contains((PyObject *)self, key);
 4771|      4|    if (contains < 0) {
  ------------------
  |  Branch (4771:9): [True: 0, False: 4]
  ------------------
 4772|      0|        return NULL;
 4773|      0|    }
 4774|      4|    if (contains) {
  ------------------
  |  Branch (4774:9): [True: 0, False: 4]
  ------------------
 4775|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4776|      0|    }
 4777|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4778|      4|}
dictobject.c:dict_get_impl:
 4793|  1.16M|{
 4794|  1.16M|    PyObject *val = NULL;
 4795|  1.16M|    Py_hash_t hash;
 4796|  1.16M|    Py_ssize_t ix;
 4797|       |
 4798|  1.16M|    hash = _PyObject_HashDictKey(key);
 4799|  1.16M|    if (hash == -1) {
  ------------------
  |  Branch (4799:9): [True: 0, False: 1.16M]
  ------------------
 4800|      0|        dict_unhashable_type((PyObject*)self, key);
 4801|      0|        return NULL;
 4802|      0|    }
 4803|  1.16M|    ix = _Py_dict_lookup_threadsafe(self, key, hash, &val);
 4804|  1.16M|    if (ix == DKIX_ERROR)
  ------------------
  |  |  187|  1.16M|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (4804:9): [True: 0, False: 1.16M]
  ------------------
 4805|      0|        return NULL;
 4806|  1.16M|    if (ix == DKIX_EMPTY || val == NULL) {
  ------------------
  |  |  185|  2.32M|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (4806:9): [True: 539k, False: 620k]
  |  Branch (4806:29): [True: 0, False: 620k]
  ------------------
 4807|   539k|        val = Py_NewRef(default_value);
  ------------------
  |  |  550|   539k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   539k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   539k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4808|   539k|    }
 4809|  1.16M|    return val;
 4810|  1.16M|}
dictobject.c:dict_setdefault_impl:
 4952|     60|{
 4953|     60|    PyObject *val;
 4954|     60|    dict_setdefault_ref_lock_held((PyObject *)self, key, default_value, &val, 1);
 4955|     60|    return val;
 4956|     60|}
dictobject.c:dict_pop_impl:
 4990|  85.0k|{
 4991|  85.0k|    return dict_pop_default((PyObject*)self, key, default_value);
 4992|  85.0k|}
dictobject.c:dict_keys_impl:
 7039|  1.75k|{
 7040|  1.75k|    return _PyDictView_New((PyObject *)self, &PyDictKeys_Type);
 7041|  1.75k|}
dictobject.c:dict_items_impl:
 7151|  2.30k|{
 7152|  2.30k|    return _PyDictView_New((PyObject *)self, &PyDictItems_Type);
 7153|  2.30k|}
dictobject.c:dict_values_impl:
 7241|      5|{
 7242|      5|    return _PyDictView_New((PyObject *)self, &PyDictValues_Type);
 7243|      5|}
dictobject.c:dict_update:
 4078|     32|{
 4079|     32|    if (dict_update_common(self, args, kwds, "update") != -1)
  ------------------
  |  Branch (4079:9): [True: 32, False: 0]
  ------------------
 4080|     32|        Py_RETURN_NONE;
  ------------------
  |  |  628|     32|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     32|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 4081|      0|    return NULL;
 4082|     32|}
dictobject.c:dict_update_common:
 4053|     40|{
 4054|     40|    PyObject *arg = NULL;
 4055|     40|    int result = 0;
 4056|       |
 4057|     40|    if (!PyArg_UnpackTuple(args, methname, 0, 1, &arg)) {
  ------------------
  |  Branch (4057:9): [True: 0, False: 40]
  ------------------
 4058|      0|        result = -1;
 4059|      0|    }
 4060|     40|    else if (arg != NULL) {
  ------------------
  |  Branch (4060:14): [True: 32, False: 8]
  ------------------
 4061|     32|        result = dict_update_arg(self, arg);
 4062|     32|    }
 4063|       |
 4064|     40|    if (result == 0 && kwds != NULL) {
  ------------------
  |  Branch (4064:9): [True: 40, False: 0]
  |  Branch (4064:24): [True: 0, False: 40]
  ------------------
 4065|      0|        if (PyArg_ValidateKeywordArguments(kwds))
  ------------------
  |  Branch (4065:13): [True: 0, False: 0]
  ------------------
 4066|      0|            result = dict_merge(self, kwds, 1, NULL);
 4067|      0|        else
 4068|      0|            result = -1;
 4069|      0|    }
 4070|     40|    return result;
 4071|     40|}
dictobject.c:dict_fromkeys_impl:
 4029|  1.08M|{
 4030|  1.08M|    return _PyDict_FromKeys((PyObject *)type, iterable, value);
 4031|  1.08M|}
dictobject.c:dict_copy_impl:
 4448|      3|{
 4449|      3|    return PyDict_Copy((PyObject *)self);
 4450|      3|}
dictobject.c:dict_init:
 5399|      8|{
 5400|      8|    return dict_update_common(self, args, kwds, "dict");
 5401|      8|}
dictobject.c:dict_new:
 5387|  1.08M|{
 5388|       |    /* tp_new ignores args/kwds; args/kwds are consumed by dict_init (tp_init). */
 5389|  1.08M|    PyObject *self = dict_new_untracked(type);
 5390|  1.08M|    if (self == NULL) {
  ------------------
  |  Branch (5390:9): [True: 0, False: 1.08M]
  ------------------
 5391|      0|        return NULL;
 5392|      0|    }
 5393|  1.08M|    _PyObject_GC_TRACK(self);
  ------------------
  |  |  507|  1.08M|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5394|  1.08M|    return self;
 5395|  1.08M|}
dictobject.c:dict_vectorcall:
 5406|  1.08M|{
 5407|  1.08M|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  1.08M|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 5408|  1.08M|    if (!_PyArg_CheckPositional("dict", nargs, 0, 1)) {
  ------------------
  |  |   31|  1.08M|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 1.08M, False: 0]
  |  |  |  Branch (31:27): [True: 1.08M, False: 0]
  |  |  ------------------
  |  |   32|  1.08M|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5409|      0|        return NULL;
 5410|      0|    }
 5411|       |
 5412|  1.08M|    PyObject *self = dict_new(_PyType_CAST(type), NULL, NULL);
  ------------------
  |  |  770|  1.08M|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (5412:31): [True: 1.08M, False: 0]
  ------------------
 5413|  1.08M|    if (self == NULL) {
  ------------------
  |  Branch (5413:9): [True: 0, False: 1.08M]
  ------------------
 5414|      0|        return NULL;
 5415|      0|    }
 5416|  1.08M|    if (nargs == 1) {
  ------------------
  |  Branch (5416:9): [True: 14, False: 1.08M]
  ------------------
 5417|     14|        if (dict_update_arg(self, args[0]) < 0) {
  ------------------
  |  Branch (5417:13): [True: 0, False: 14]
  ------------------
 5418|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5419|      0|            return NULL;
 5420|      0|        }
 5421|     14|        args++;
 5422|     14|    }
 5423|  1.08M|    if (kwnames != NULL) {
  ------------------
  |  Branch (5423:9): [True: 1, False: 1.08M]
  ------------------
 5424|      9|        for (Py_ssize_t i = 0; i < PyTuple_GET_SIZE(kwnames); i++) {
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5424:32): [True: 8, False: 1]
  ------------------
 5425|      8|            PyObject *key = PyTuple_GET_ITEM(kwnames, i);  // borrowed
  ------------------
  |  |   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 (5425:29): [True: 8, False: 0]
  ------------------
 5426|      8|            if (PyDict_SetItem(self, key, args[i]) < 0) {
  ------------------
  |  Branch (5426:17): [True: 0, False: 8]
  ------------------
 5427|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5428|      0|                return NULL;
 5429|      0|            }
 5430|      8|        }
 5431|      1|    }
 5432|  1.08M|    return self;
 5433|  1.08M|}
dictobject.c:dictiter_dealloc:
 5659|  8.29k|{
 5660|  8.29k|    dictiterobject *di = (dictiterobject *)self;
 5661|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
 5662|  8.29k|    _PyObject_GC_UNTRACK(di);
  ------------------
  |  |  509|  8.29k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.29k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5663|  8.29k|    Py_XDECREF(di->di_dict);
  ------------------
  |  |  524|  8.29k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.29k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5664|  8.29k|    Py_XDECREF(di->di_result);
  ------------------
  |  |  524|  8.29k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.29k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5665|  8.29k|    PyObject_GC_Del(di);
 5666|  8.29k|}
dictobject.c:dictiter_traverse:
 5670|      2|{
 5671|      2|    dictiterobject *di = (dictiterobject *)self;
 5672|      2|    Py_VISIT(di->di_dict);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 5673|      2|    Py_VISIT(di->di_result);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 5674|      2|    return 0;
 5675|      2|}
dictobject.c:dictiter_iternextkey:
 5782|  6.58k|{
 5783|  6.58k|    dictiterobject *di = (dictiterobject *)self;
 5784|  6.58k|    PyDictObject *d = di->di_dict;
 5785|       |
 5786|  6.58k|    if (d == NULL)
  ------------------
  |  Branch (5786:9): [True: 0, False: 6.58k]
  ------------------
 5787|      0|        return NULL;
 5788|       |
 5789|  6.58k|    PyObject *value;
 5790|       |#ifdef Py_GIL_DISABLED
 5791|       |    if (dictiter_iternext_threadsafe(d, self, &value, NULL) < 0) {
 5792|       |        value = NULL;
 5793|       |    }
 5794|       |#else
 5795|  6.58k|    value = dictiter_iternextkey_lock_held(d, self);
 5796|  6.58k|#endif
 5797|       |
 5798|  6.58k|    return value;
 5799|  6.58k|}
dictobject.c:dictiter_iternextkey_lock_held:
 5713|  6.58k|{
 5714|  6.58k|    dictiterobject *di = (dictiterobject *)self;
 5715|  6.58k|    PyObject *key;
 5716|  6.58k|    Py_ssize_t i;
 5717|  6.58k|    PyDictKeysObject *k;
 5718|       |
 5719|  6.58k|    assert (PyAnyDict_Check(d));
  ------------------
  |  Branch (5719:5): [True: 6.58k, False: 0]
  |  Branch (5719:5): [True: 0, False: 0]
  ------------------
 5720|  6.58k|    ASSERT_DICT_LOCKED(d);
 5721|       |
 5722|  6.58k|    if (di->di_used != d->ma_used) {
  ------------------
  |  Branch (5722:9): [True: 0, False: 6.58k]
  ------------------
 5723|      0|        PyErr_SetString(PyExc_RuntimeError,
 5724|      0|                        "dictionary changed size during iteration");
 5725|      0|        di->di_used = -1; /* Make this state sticky */
 5726|      0|        return NULL;
 5727|      0|    }
 5728|       |
 5729|  6.58k|    i = di->di_pos;
 5730|  6.58k|    k = d->ma_keys;
 5731|  6.58k|    assert(i >= 0);
  ------------------
  |  Branch (5731:5): [True: 6.58k, False: 0]
  ------------------
 5732|  6.58k|    if (_PyDict_HasSplitTable(d)) {
  ------------------
  |  |   56|  6.58k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 6.58k]
  |  |  ------------------
  ------------------
 5733|      0|        if (i >= d->ma_used)
  ------------------
  |  Branch (5733:13): [True: 0, False: 0]
  ------------------
 5734|      0|            goto fail;
 5735|      0|        int index = get_index_from_order(d, i);
 5736|      0|        key = LOAD_SHARED_KEY(DK_UNICODE_ENTRIES(k)[index].me_key);
  ------------------
  |  |  260|      0|#define LOAD_SHARED_KEY(key) key
  ------------------
 5737|      0|        assert(d->ma_values->values[index] != NULL);
  ------------------
  |  Branch (5737:9): [True: 0, False: 0]
  ------------------
 5738|      0|    }
 5739|  6.58k|    else {
 5740|  6.58k|        Py_ssize_t n = k->dk_nentries;
 5741|  6.58k|        if (DK_IS_UNICODE(k)) {
  ------------------
  |  |  294|  6.58k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (294:27): [True: 2.44k, False: 4.13k]
  |  |  ------------------
  ------------------
 5742|  2.44k|            PyDictUnicodeEntry *entry_ptr = &DK_UNICODE_ENTRIES(k)[i];
 5743|  2.47k|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (5743:20): [True: 269, False: 2.20k]
  |  Branch (5743:29): [True: 21, False: 248]
  ------------------
 5744|     21|                entry_ptr++;
 5745|     21|                i++;
 5746|     21|            }
 5747|  2.44k|            if (i >= n)
  ------------------
  |  Branch (5747:17): [True: 2.20k, False: 248]
  ------------------
 5748|  2.20k|                goto fail;
 5749|    248|            key = entry_ptr->me_key;
 5750|    248|        }
 5751|  4.13k|        else {
 5752|  4.13k|            PyDictKeyEntry *entry_ptr = &DK_ENTRIES(k)[i];
 5753|   983k|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (5753:20): [True: 983k, False: 117]
  |  Branch (5753:29): [True: 979k, False: 4.01k]
  ------------------
 5754|   979k|                entry_ptr++;
 5755|   979k|                i++;
 5756|   979k|            }
 5757|  4.13k|            if (i >= n)
  ------------------
  |  Branch (5757:17): [True: 117, False: 4.01k]
  ------------------
 5758|    117|                goto fail;
 5759|  4.01k|            key = entry_ptr->me_key;
 5760|  4.01k|        }
 5761|  6.58k|    }
 5762|       |    // We found an element (key), but did not expect it
 5763|  4.26k|    if (di->len == 0) {
  ------------------
  |  Branch (5763:9): [True: 0, False: 4.26k]
  ------------------
 5764|      0|        PyErr_SetString(PyExc_RuntimeError,
 5765|      0|                        "dictionary keys changed during iteration");
 5766|      0|        goto fail;
 5767|      0|    }
 5768|  4.26k|    di->di_pos = i+1;
 5769|  4.26k|    di->len--;
 5770|  4.26k|    return Py_NewRef(key);
  ------------------
  |  |  550|  4.26k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5771|       |
 5772|  2.31k|fail:
 5773|  2.31k|    di->di_dict = NULL;
 5774|  2.31k|    Py_DECREF(d);
  ------------------
  |  |  430|  2.31k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5775|       |    return NULL;
 5776|  4.26k|}
dictobject.c:dictiter_len:
 5679|     84|{
 5680|     84|    dictiterobject *di = (dictiterobject *)self;
 5681|     84|    Py_ssize_t len = 0;
 5682|     84|    if (di->di_dict != NULL && di->di_used == GET_USED(di->di_dict))
  ------------------
  |  |  328|     84|#define GET_USED(ep) FT_ATOMIC_LOAD_SSIZE_RELAXED((ep)->ma_used)
  |  |  ------------------
  |  |  |  |  149|     84|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  ------------------
  ------------------
  |  Branch (5682:9): [True: 84, False: 0]
  |  Branch (5682:32): [True: 84, False: 0]
  ------------------
 5683|     84|        len = FT_ATOMIC_LOAD_SSIZE_RELAXED(di->len);
  ------------------
  |  |  149|     84|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 5684|     84|    return PyLong_FromSize_t(len);
 5685|     84|}
dictobject.c:dictiter_iternextitem:
 6183|  3.55k|{
 6184|  3.55k|    dictiterobject *di = (dictiterobject *)self;
 6185|  3.55k|    PyDictObject *d = di->di_dict;
 6186|       |
 6187|  3.55k|    if (d == NULL)
  ------------------
  |  Branch (6187:9): [True: 0, False: 3.55k]
  ------------------
 6188|      0|        return NULL;
 6189|       |
 6190|  3.55k|    PyObject *key, *value;
 6191|       |#ifdef Py_GIL_DISABLED
 6192|       |    if (dictiter_iternext_threadsafe(d, self, &key, &value) == 0) {
 6193|       |#else
 6194|  3.55k|    if (dictiter_iternextitem_lock_held(d, self, &key, &value) == 0) {
  ------------------
  |  Branch (6194:9): [True: 1.25k, False: 2.29k]
  ------------------
 6195|       |
 6196|  1.25k|#endif
 6197|  1.25k|        PyObject *result = di->di_result;
 6198|  1.25k|        if (acquire_iter_result(result)) {
  ------------------
  |  Branch (6198:13): [True: 472, False: 783]
  ------------------
 6199|    472|            PyObject *oldkey = PyTuple_GET_ITEM(result, 0);
  ------------------
  |  |   29|    472|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    472|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    472|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6199:32): [True: 472, False: 0]
  ------------------
 6200|    472|            PyObject *oldvalue = PyTuple_GET_ITEM(result, 1);
  ------------------
  |  |   29|    472|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    472|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    472|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6200:34): [True: 472, False: 0]
  ------------------
 6201|    472|            PyTuple_SET_ITEM(result, 0, key);
  ------------------
  |  |   40|    472|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    472|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    472|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    472|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    472|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6202|    472|            PyTuple_SET_ITEM(result, 1, value);
  ------------------
  |  |   40|    472|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    472|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    472|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    472|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    472|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6203|    472|            Py_DECREF(oldkey);
  ------------------
  |  |  430|    472|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    472|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    472|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6204|    472|            Py_DECREF(oldvalue);
  ------------------
  |  |  430|    472|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    472|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    472|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6205|       |            // bpo-42536: The GC may have untracked this result tuple. Since we're
 6206|       |            // recycling it, make sure it's tracked again:
 6207|    472|            _PyTuple_Recycle(result);
 6208|    472|        }
 6209|    783|        else {
 6210|    783|            result = _PyTuple_FromPairSteal(key, value);
 6211|    783|        }
 6212|  1.25k|        return result;
 6213|  1.25k|    }
 6214|  2.29k|    return NULL;
 6215|  3.55k|}
dictobject.c:dictiter_iternextitem_lock_held:
 5960|  3.55k|{
 5961|  3.55k|    dictiterobject *di = (dictiterobject *)self;
 5962|  3.55k|    PyObject *key, *value;
 5963|  3.55k|    Py_ssize_t i;
 5964|       |
 5965|  3.55k|    assert (PyAnyDict_Check(d));
  ------------------
  |  Branch (5965:5): [True: 3.55k, False: 0]
  |  Branch (5965:5): [True: 0, False: 0]
  ------------------
 5966|  3.55k|    ASSERT_DICT_LOCKED(d);
 5967|       |
 5968|  3.55k|    if (di->di_used != d->ma_used) {
  ------------------
  |  Branch (5968:9): [True: 0, False: 3.55k]
  ------------------
 5969|      0|        PyErr_SetString(PyExc_RuntimeError,
 5970|      0|                        "dictionary changed size during iteration");
 5971|      0|        di->di_used = -1; /* Make this state sticky */
 5972|      0|        return -1;
 5973|      0|    }
 5974|       |
 5975|  3.55k|    i = FT_ATOMIC_LOAD_SSIZE_RELAXED(di->di_pos);
  ------------------
  |  |  149|  3.55k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 5976|       |
 5977|  3.55k|    assert(i >= 0);
  ------------------
  |  Branch (5977:5): [True: 3.55k, False: 0]
  ------------------
 5978|  3.55k|    if (_PyDict_HasSplitTable(d)) {
  ------------------
  |  |   56|  3.55k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 3.55k]
  |  |  ------------------
  ------------------
 5979|      0|        if (i >= d->ma_used)
  ------------------
  |  Branch (5979:13): [True: 0, False: 0]
  ------------------
 5980|      0|            goto fail;
 5981|      0|        int index = get_index_from_order(d, i);
 5982|      0|        key = LOAD_SHARED_KEY(DK_UNICODE_ENTRIES(d->ma_keys)[index].me_key);
  ------------------
  |  |  260|      0|#define LOAD_SHARED_KEY(key) key
  ------------------
 5983|      0|        value = d->ma_values->values[index];
 5984|      0|        assert(value != NULL);
  ------------------
  |  Branch (5984:9): [True: 0, False: 0]
  ------------------
 5985|      0|    }
 5986|  3.55k|    else {
 5987|  3.55k|        Py_ssize_t n = d->ma_keys->dk_nentries;
 5988|  3.55k|        if (DK_IS_UNICODE(d->ma_keys)) {
  ------------------
  |  |  294|  3.55k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (294:27): [True: 3.55k, False: 0]
  |  |  ------------------
  ------------------
 5989|  3.55k|            PyDictUnicodeEntry *entry_ptr = &DK_UNICODE_ENTRIES(d->ma_keys)[i];
 5990|  3.69k|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (5990:20): [True: 1.39k, False: 2.29k]
  |  Branch (5990:29): [True: 143, False: 1.25k]
  ------------------
 5991|    143|                entry_ptr++;
 5992|    143|                i++;
 5993|    143|            }
 5994|  3.55k|            if (i >= n)
  ------------------
  |  Branch (5994:17): [True: 2.29k, False: 1.25k]
  ------------------
 5995|  2.29k|                goto fail;
 5996|  1.25k|            key = entry_ptr->me_key;
 5997|  1.25k|            value = entry_ptr->me_value;
 5998|  1.25k|        }
 5999|      0|        else {
 6000|      0|            PyDictKeyEntry *entry_ptr = &DK_ENTRIES(d->ma_keys)[i];
 6001|      0|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (6001:20): [True: 0, False: 0]
  |  Branch (6001:29): [True: 0, False: 0]
  ------------------
 6002|      0|                entry_ptr++;
 6003|      0|                i++;
 6004|      0|            }
 6005|      0|            if (i >= n)
  ------------------
  |  Branch (6005:17): [True: 0, False: 0]
  ------------------
 6006|      0|                goto fail;
 6007|      0|            key = entry_ptr->me_key;
 6008|      0|            value = entry_ptr->me_value;
 6009|      0|        }
 6010|  3.55k|    }
 6011|       |    // We found an element, but did not expect it
 6012|  1.25k|    if (di->len == 0) {
  ------------------
  |  Branch (6012:9): [True: 0, False: 1.25k]
  ------------------
 6013|      0|        PyErr_SetString(PyExc_RuntimeError,
 6014|      0|                        "dictionary keys changed during iteration");
 6015|      0|        goto fail;
 6016|      0|    }
 6017|  1.25k|    di->di_pos = i+1;
 6018|  1.25k|    di->len--;
 6019|  1.25k|    if (out_key != NULL) {
  ------------------
  |  Branch (6019:9): [True: 1.25k, False: 0]
  ------------------
 6020|  1.25k|        *out_key = Py_NewRef(key);
  ------------------
  |  |  550|  1.25k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6021|  1.25k|    }
 6022|  1.25k|    if (out_value != NULL) {
  ------------------
  |  Branch (6022:9): [True: 1.25k, False: 0]
  ------------------
 6023|  1.25k|        *out_value = Py_NewRef(value);
  ------------------
  |  |  550|  1.25k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6024|  1.25k|    }
 6025|  1.25k|    return 0;
 6026|       |
 6027|  2.29k|fail:
 6028|  2.29k|    di->di_dict = NULL;
 6029|  2.29k|    Py_DECREF(d);
  ------------------
  |  |  430|  2.29k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.29k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6030|  2.29k|    return -1;
 6031|  1.25k|}
dictobject.c:acquire_iter_result:
 6173|  1.25k|{
 6174|  1.25k|    if (_PyObject_IsUniquelyReferenced(result)) {
  ------------------
  |  Branch (6174:9): [True: 472, False: 783]
  ------------------
 6175|    472|        Py_INCREF(result);
  ------------------
  |  |  310|    472|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    472|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    472|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6176|    472|        return true;
 6177|    472|    }
 6178|    783|    return false;
 6179|  1.25k|}
dictobject.c:dictview_len:
 6452|    871|{
 6453|    871|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 6454|    871|    Py_ssize_t len = 0;
 6455|    871|    if (dv->dv_dict != NULL)
  ------------------
  |  Branch (6455:9): [True: 871, False: 0]
  ------------------
 6456|    871|        len = GET_USED(dv->dv_dict);
  ------------------
  |  |  328|    871|#define GET_USED(ep) FT_ATOMIC_LOAD_SSIZE_RELAXED((ep)->ma_used)
  |  |  ------------------
  |  |  |  |  149|    871|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  ------------------
  ------------------
 6457|    871|    return len;
 6458|    871|}
dictobject.c:dictkeys_contains:
 6630|  2.27k|{
 6631|  2.27k|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 6632|  2.27k|    if (dv->dv_dict == NULL)
  ------------------
  |  Branch (6632:9): [True: 0, False: 2.27k]
  ------------------
 6633|      0|        return 0;
 6634|  2.27k|    return dict_contains((PyObject *)dv->dv_dict, obj);
 6635|  2.27k|}
dictobject.c:dictview_dealloc:
 6434|  4.06k|{
 6435|  4.06k|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 6436|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
 6437|  4.06k|    _PyObject_GC_UNTRACK(dv);
  ------------------
  |  |  509|  4.06k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6438|  4.06k|    Py_XDECREF(dv->dv_dict);
  ------------------
  |  |  524|  4.06k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6439|  4.06k|    PyObject_GC_Del(dv);
 6440|  4.06k|}
dictobject.c:dictviews_sub:
 6667|    870|{
 6668|    870|    PyObject *result = dictviews_to_set(self);
 6669|    870|    if (result == NULL) {
  ------------------
  |  Branch (6669:9): [True: 0, False: 870]
  ------------------
 6670|      0|        return NULL;
 6671|      0|    }
 6672|       |
 6673|    870|    PyObject *tmp = PyObject_CallMethodOneArg(
 6674|    870|            result, &_Py_ID(difference_update), other);
  ------------------
  |  |  920|    870|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    870|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    870|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6675|    870|    if (tmp == NULL) {
  ------------------
  |  Branch (6675:9): [True: 0, False: 870]
  ------------------
 6676|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6677|      0|        return NULL;
 6678|      0|    }
 6679|       |
 6680|    870|    Py_DECREF(tmp);
  ------------------
  |  |  430|    870|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    870|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    870|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6681|    870|    return result;
 6682|    870|}
dictobject.c:dictviews_to_set:
 6653|    870|{
 6654|    870|    PyObject *left = self;
 6655|    870|    if (PyDictKeys_Check(self)) {
  ------------------
  |  |   93|    870|#define PyDictKeys_Check(op) PyObject_TypeCheck((op), &PyDictKeys_Type)
  |  |  ------------------
  |  |  |  |  378|    870|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    870|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    870|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 870, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6656|       |        // PySet_New() has fast path for the dict object.
 6657|    870|        PyObject *dict = (PyObject *)((_PyDictViewObject *)self)->dv_dict;
 6658|    870|        if (PyAnyDict_CheckExact(dict)) {
  ------------------
  |  |   41|    870|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|    870|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  1.74k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    870|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    870|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 870, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6659|    870|            left = dict;
 6660|    870|        }
 6661|    870|    }
 6662|    870|    return PySet_New(left);
 6663|    870|}
dictobject.c:dictview_traverse:
 6444|      2|{
 6445|      2|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 6446|      2|    Py_VISIT(dv->dv_dict);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 6447|      2|    return 0;
 6448|      2|}
dictobject.c:dictview_richcompare:
 6535|    870|{
 6536|    870|    Py_ssize_t len_self, len_other;
 6537|    870|    int ok;
 6538|    870|    PyObject *result;
 6539|       |
 6540|    870|    assert(self != NULL);
  ------------------
  |  Branch (6540:5): [True: 870, False: 0]
  ------------------
 6541|    870|    assert(PyDictViewSet_Check(self));
  ------------------
  |  Branch (6541:5): [True: 870, False: 0]
  |  Branch (6541:5): [True: 0, False: 0]
  ------------------
 6542|    870|    assert(other != NULL);
  ------------------
  |  Branch (6542:5): [True: 870, False: 0]
  ------------------
 6543|       |
 6544|    870|    if (!PyAnySet_Check(other) && !PyDictViewSet_Check(other))
  ------------------
  |  |   31|  1.74k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  1.74k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    870|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    870|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 870, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    870|#  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|    870|      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.74k|      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(other) && !PyDictViewSet_Check(other))
  ------------------
  |  |   98|      0|    (PyDictKeys_Check(op) || PyDictItems_Check(op))
  |  |  ------------------
  |  |  |  |   93|      0|#define PyDictKeys_Check(op) PyObject_TypeCheck((op), &PyDictKeys_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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDictKeys_Check(op) || PyDictItems_Check(op))
  |  |  ------------------
  |  |  |  |   95|      0|#define PyDictItems_Check(op) PyObject_TypeCheck((op), &PyDictItems_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6545|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 6546|       |
 6547|    870|    len_self = PyObject_Size(self);
 6548|    870|    if (len_self < 0)
  ------------------
  |  Branch (6548:9): [True: 0, False: 870]
  ------------------
 6549|      0|        return NULL;
 6550|    870|    len_other = PyObject_Size(other);
 6551|    870|    if (len_other < 0)
  ------------------
  |  Branch (6551:9): [True: 0, False: 870]
  ------------------
 6552|      0|        return NULL;
 6553|       |
 6554|    870|    ok = 0;
 6555|    870|    switch(op) {
  ------------------
  |  Branch (6555:12): [True: 870, False: 0]
  ------------------
 6556|       |
 6557|      0|    case Py_NE:
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (6557:5): [True: 0, False: 870]
  ------------------
 6558|      0|    case Py_EQ:
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
  |  Branch (6558:5): [True: 0, False: 870]
  ------------------
 6559|      0|        if (len_self == len_other)
  ------------------
  |  Branch (6559:13): [True: 0, False: 0]
  ------------------
 6560|      0|            ok = all_contained_in(self, other);
 6561|      0|        if (op == Py_NE && ok >= 0)
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (6561:13): [True: 0, False: 0]
  |  Branch (6561:28): [True: 0, False: 0]
  ------------------
 6562|      0|            ok = !ok;
 6563|      0|        break;
 6564|       |
 6565|      0|    case Py_LT:
  ------------------
  |  |  652|      0|#define Py_LT 0
  ------------------
  |  Branch (6565:5): [True: 0, False: 870]
  ------------------
 6566|      0|        if (len_self < len_other)
  ------------------
  |  Branch (6566:13): [True: 0, False: 0]
  ------------------
 6567|      0|            ok = all_contained_in(self, other);
 6568|      0|        break;
 6569|       |
 6570|      0|      case Py_LE:
  ------------------
  |  |  653|      0|#define Py_LE 1
  ------------------
  |  Branch (6570:7): [True: 0, False: 870]
  ------------------
 6571|      0|          if (len_self <= len_other)
  ------------------
  |  Branch (6571:15): [True: 0, False: 0]
  ------------------
 6572|      0|              ok = all_contained_in(self, other);
 6573|      0|          break;
 6574|       |
 6575|      0|    case Py_GT:
  ------------------
  |  |  656|      0|#define Py_GT 4
  ------------------
  |  Branch (6575:5): [True: 0, False: 870]
  ------------------
 6576|      0|        if (len_self > len_other)
  ------------------
  |  Branch (6576:13): [True: 0, False: 0]
  ------------------
 6577|      0|            ok = all_contained_in(other, self);
 6578|      0|        break;
 6579|       |
 6580|    870|    case Py_GE:
  ------------------
  |  |  657|    870|#define Py_GE 5
  ------------------
  |  Branch (6580:5): [True: 870, False: 0]
  ------------------
 6581|    870|        if (len_self >= len_other)
  ------------------
  |  Branch (6581:13): [True: 870, False: 0]
  ------------------
 6582|    870|            ok = all_contained_in(other, self);
 6583|    870|        break;
 6584|       |
 6585|    870|    }
 6586|    870|    if (ok < 0)
  ------------------
  |  Branch (6586:9): [True: 0, False: 870]
  ------------------
 6587|      0|        return NULL;
 6588|    870|    result = ok ? Py_True : Py_False;
  ------------------
  |  |   26|    870|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|    870|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    870|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  result = ok ? Py_True : Py_False;
  ------------------
  |  |   25|    870|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    870|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6588:14): [True: 870, False: 0]
  ------------------
 6589|    870|    return Py_NewRef(result);
  ------------------
  |  |  550|    870|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    870|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    870|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6590|    870|}
dictobject.c:all_contained_in:
 6511|    870|{
 6512|    870|    PyObject *iter = PyObject_GetIter(self);
 6513|    870|    int ok = 1;
 6514|       |
 6515|    870|    if (iter == NULL)
  ------------------
  |  Branch (6515:9): [True: 0, False: 870]
  ------------------
 6516|      0|        return -1;
 6517|  3.08k|    for (;;) {
 6518|  3.08k|        PyObject *next = PyIter_Next(iter);
 6519|  3.08k|        if (next == NULL) {
  ------------------
  |  Branch (6519:13): [True: 870, False: 2.21k]
  ------------------
 6520|    870|            if (PyErr_Occurred())
  ------------------
  |  Branch (6520:17): [True: 0, False: 870]
  ------------------
 6521|      0|                ok = -1;
 6522|    870|            break;
 6523|    870|        }
 6524|  2.21k|        ok = PySequence_Contains(other, next);
 6525|  2.21k|        Py_DECREF(next);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6526|  2.21k|        if (ok <= 0)
  ------------------
  |  Branch (6526:13): [True: 0, False: 2.21k]
  ------------------
 6527|      0|            break;
 6528|  2.21k|    }
 6529|    870|    Py_DECREF(iter);
  ------------------
  |  |  430|    870|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    870|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    870|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6530|    870|    return ok;
 6531|    870|}
dictobject.c:dictkeys_iter:
 6620|     10|{
 6621|     10|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 6622|     10|    if (dv->dv_dict == NULL) {
  ------------------
  |  Branch (6622:9): [True: 0, False: 10]
  ------------------
 6623|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 6624|      0|    }
 6625|     10|    return dictiter_new(dv->dv_dict, &PyDictIterKey_Type);
 6626|     10|}
dictobject.c:dictitems_iter:
 7057|  2.30k|{
 7058|  2.30k|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 7059|  2.30k|    if (dv->dv_dict == NULL) {
  ------------------
  |  Branch (7059:9): [True: 0, False: 2.30k]
  ------------------
 7060|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 7061|      0|    }
 7062|  2.30k|    return dictiter_new(dv->dv_dict, &PyDictIterItem_Type);
 7063|  2.30k|}
dictobject.c:dictvalues_iter:
 7169|      2|{
 7170|      2|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 7171|      2|    if (dv->dv_dict == NULL) {
  ------------------
  |  Branch (7171:9): [True: 0, False: 2]
  ------------------
 7172|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 7173|      0|    }
 7174|      2|    return dictiter_new(dv->dv_dict, &PyDictIterValue_Type);
 7175|      2|}
dictobject.c:get_log2_bytes:
  804|  1.30M|{
  805|  1.30M|    int log2_bytes;
  806|  1.30M|    assert(log2_size >= PyDict_LOG_MINSIZE);
  ------------------
  |  Branch (806:5): [True: 1.30M, False: 0]
  ------------------
  807|       |
  808|  1.30M|    if (log2_size < 8) {
  ------------------
  |  Branch (808:9): [True: 1.30M, False: 2.01k]
  ------------------
  809|  1.30M|        log2_bytes = log2_size;
  810|  1.30M|    }
  811|  2.01k|    else if (log2_size < 16) {
  ------------------
  |  Branch (811:14): [True: 2.00k, False: 9]
  ------------------
  812|  2.00k|        log2_bytes = log2_size + 1;
  813|  2.00k|    }
  814|      9|#if SIZEOF_VOID_P > 4
  815|      9|    else if (log2_size >= 32) {
  ------------------
  |  Branch (815:14): [True: 0, False: 9]
  ------------------
  816|      0|        log2_bytes = log2_size + 3;
  817|      0|    }
  818|      9|#endif
  819|      9|    else {
  820|      9|        log2_bytes = log2_size + 2;
  821|      9|    }
  822|       |
  823|  1.30M|    return log2_bytes;
  824|  1.30M|}
dictobject.c:init_keys_object:
  829|  1.30M|{
  830|       |#ifdef Py_REF_DEBUG
  831|       |    _Py_IncRefTotal(_PyThreadState_GET());
  832|       |#endif
  833|  1.30M|    dk->dk_refcnt = 1;
  834|  1.30M|    dk->dk_log2_size = log2_size;
  835|  1.30M|    dk->dk_log2_index_bytes = log2_bytes;
  836|  1.30M|    dk->dk_kind = kind;
  837|       |#ifdef Py_GIL_DISABLED
  838|       |    dk->dk_mutex = (PyMutex){0};
  839|       |#endif
  840|  1.30M|    dk->dk_nentries = 0;
  841|  1.30M|    dk->dk_usable = usable;
  842|  1.30M|    dk->dk_version = 0;
  843|  1.30M|    memset(&dk->dk_indices[0], 0xff, ((size_t)1 << log2_bytes));
  844|  1.30M|    memset(&dk->dk_indices[(size_t)1 << log2_bytes], 0, entry_size * usable);
  845|  1.30M|}
dictobject.c:insert_split_key:
 1944|  1.39k|{
 1945|  1.39k|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (1945:5): [True: 1.39k, False: 0]
  ------------------
 1946|  1.39k|    Py_ssize_t ix;
 1947|       |
 1948|       |
 1949|       |#ifdef Py_GIL_DISABLED
 1950|       |    ix = unicodekeys_lookup_unicode_threadsafe(keys, key, hash);
 1951|       |    if (ix >= 0) {
 1952|       |        return ix;
 1953|       |    }
 1954|       |
 1955|       |    // We need to acquire the type lock before the keys mutex. Another lock
 1956|       |    // is never acquired below the keys mutex but a keys mutex can be acquired
 1957|       |    // elsewhere while we hold the types lock. To avoid deadlocks we must always
 1958|       |    // acquire the type lock first.
 1959|       |    Py_BEGIN_CRITICAL_SECTION_MUTEX(&_PyInterpreterState_GET()->types.mutex);
 1960|       |#endif
 1961|       |
 1962|  1.39k|    LOCK_KEYS(keys);
 1963|  1.39k|    ix = unicodekeys_lookup_unicode(keys, key, hash);
 1964|  1.39k|    if (ix == DKIX_EMPTY && keys->dk_usable > 0) {
  ------------------
  |  |  185|  2.78k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (1964:9): [True: 340, False: 1.05k]
  |  Branch (1964:29): [True: 340, False: 0]
  ------------------
 1965|       |        // Insert into new slot
 1966|    340|        FT_ATOMIC_STORE_UINT32_RELAXED(keys->dk_version, 0);
  ------------------
  |  |  172|    340|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 1967|    340|        struct _instancekeysobject *shared_keys = _PyDictKeys_AsSharedKeys(keys);
 1968|    340|        PyTypeObject *type = FT_ATOMIC_LOAD_PTR_ACQUIRE(shared_keys->dsk_owning_type);
  ------------------
  |  |  150|    340|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 1969|    340|        if (type) {
  ------------------
  |  Branch (1969:13): [True: 340, False: 0]
  ------------------
 1970|       |            // we acquired the type lock above
 1971|    340|            _PyType_Modified_Unlocked(type);
 1972|    340|        }
 1973|    340|        Py_ssize_t hashpos = find_empty_slot(keys, hash);
 1974|    340|        ix = keys->dk_nentries;
 1975|    340|        dictkeys_set_index(keys, hashpos, ix);
 1976|    340|        PyDictUnicodeEntry *ep = &DK_UNICODE_ENTRIES(keys)[ix];
 1977|    340|        STORE_SHARED_KEY(ep->me_key, Py_NewRef(key));
  ------------------
  |  |  261|    340|#define STORE_SHARED_KEY(key, value) key = value
  ------------------
 1978|    340|        split_keys_entry_added(keys);
 1979|    340|    }
 1980|  1.39k|    assert (ix < SHARED_KEYS_MAX_SIZE);
  ------------------
  |  Branch (1980:5): [True: 1.39k, False: 0]
  ------------------
 1981|  1.39k|    UNLOCK_KEYS(keys);
 1982|       |
 1983|       |#ifdef Py_GIL_DISABLED
 1984|       |    Py_END_CRITICAL_SECTION();
 1985|       |#endif
 1986|  1.39k|    return ix;
 1987|  1.39k|}
dictobject.c:split_keys_entry_added:
  275|    340|{
  276|    340|    keys->dk_usable--;
  277|    340|    keys->dk_nentries++;
  278|    340|}
dictobject.c:store_instance_attr_lock_held:
 7440|    902|{
 7441|    902|    PyDictKeysObject *keys = CACHED_KEYS(Py_TYPE(obj));
  ------------------
  |  |  911|    902|#define CACHED_KEYS(tp) (((PyHeapTypeObject*)tp)->ht_cached_keys)
  ------------------
 7442|    902|    assert(keys != NULL);
  ------------------
  |  Branch (7442:5): [True: 902, False: 0]
  ------------------
 7443|    902|    assert(values != NULL);
  ------------------
  |  Branch (7443:5): [True: 902, False: 0]
  ------------------
 7444|    902|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  ------------------
  |  Branch (7444:5): [True: 902, False: 0]
  ------------------
 7445|    902|    Py_ssize_t ix = DKIX_EMPTY;
  ------------------
  |  |  185|    902|#define DKIX_EMPTY (-1)
  ------------------
 7446|    902|    PyDictObject *dict = _PyObject_GetManagedDict(obj);
 7447|    902|    assert(dict == NULL || ((PyDictObject *)dict)->ma_values == values);
  ------------------
  |  Branch (7447:5): [True: 902, False: 0]
  |  Branch (7447:5): [True: 0, False: 0]
  ------------------
 7448|    902|    if (PyUnicode_CheckExact(name)) {
  ------------------
  |  |  104|    902|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    902|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    902|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    902|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 902, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7449|    902|        Py_hash_t hash = unicode_get_hash(name);
 7450|    902|        if (hash == -1) {
  ------------------
  |  Branch (7450:13): [True: 0, False: 902]
  ------------------
 7451|      0|            hash = PyUnicode_Type.tp_hash(name);
 7452|      0|            assert(hash != -1);
  ------------------
  |  Branch (7452:13): [True: 0, False: 0]
  ------------------
 7453|      0|        }
 7454|       |
 7455|    902|        ix = insert_split_key(keys, name, hash);
 7456|       |
 7457|       |#ifdef Py_STATS
 7458|       |        if (ix == DKIX_EMPTY) {
 7459|       |            if (PyUnicode_CheckExact(name)) {
 7460|       |                if (shared_keys_usable_size(keys) == SHARED_KEYS_MAX_SIZE) {
 7461|       |                    OBJECT_STAT_INC(dict_materialized_too_big);
 7462|       |                }
 7463|       |                else {
 7464|       |                    OBJECT_STAT_INC(dict_materialized_new_key);
 7465|       |                }
 7466|       |            }
 7467|       |            else {
 7468|       |                OBJECT_STAT_INC(dict_materialized_str_subclass);
 7469|       |            }
 7470|       |        }
 7471|       |#endif
 7472|    902|    }
 7473|       |
 7474|    902|    if (ix == DKIX_EMPTY) {
  ------------------
  |  |  185|    902|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (7474:9): [True: 0, False: 902]
  ------------------
 7475|      0|        int res;
 7476|      0|        if (dict == NULL) {
  ------------------
  |  Branch (7476:13): [True: 0, False: 0]
  ------------------
 7477|       |            // Make the dict but don't publish it in the object
 7478|       |            // so that no one else will see it.
 7479|      0|            dict = make_dict_from_instance_attributes(keys, values);
 7480|      0|            if (dict == NULL ||
  ------------------
  |  Branch (7480:17): [True: 0, False: 0]
  ------------------
 7481|      0|                _PyDict_SetItem_LockHeld(dict, name, value) < 0) {
  ------------------
  |  Branch (7481:17): [True: 0, False: 0]
  ------------------
 7482|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7483|      0|                return -1;
 7484|      0|            }
 7485|       |
 7486|      0|            FT_ATOMIC_STORE_PTR_RELEASE(_PyObject_ManagedDictPointer(obj)->dict,
  ------------------
  |  |  164|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 7487|      0|                                        (PyDictObject *)dict);
 7488|      0|            return 0;
 7489|      0|        }
 7490|       |
 7491|      0|        _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(dict);
 7492|       |
 7493|      0|        res = _PyDict_SetItem_LockHeld(dict, name, value);
 7494|      0|        return res;
 7495|      0|    }
 7496|       |
 7497|    902|    PyObject *old_value = values->values[ix];
 7498|    902|    if (old_value == NULL && value == NULL) {
  ------------------
  |  Branch (7498:9): [True: 858, False: 44]
  |  Branch (7498:30): [True: 0, False: 858]
  ------------------
 7499|      0|        PyErr_Format(PyExc_AttributeError,
 7500|      0|                        "'%.100s' object has no attribute '%U'",
 7501|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7502|      0|        (void)_PyObject_SetAttributeErrorContext(obj, name);
 7503|      0|        return -1;
 7504|      0|    }
 7505|       |
 7506|    902|    if (dict) {
  ------------------
  |  Branch (7506:9): [True: 0, False: 902]
  ------------------
 7507|      0|        PyDict_WatchEvent event = (old_value == NULL ? PyDict_EVENT_ADDED :
  ------------------
  |  Branch (7507:36): [True: 0, False: 0]
  ------------------
 7508|      0|                                   value == NULL ? PyDict_EVENT_DELETED :
  ------------------
  |  Branch (7508:36): [True: 0, False: 0]
  ------------------
 7509|      0|                                   PyDict_EVENT_MODIFIED);
 7510|      0|        _PyDict_NotifyEvent(event, dict, name, value);
 7511|      0|    }
 7512|       |
 7513|    902|    FT_ATOMIC_STORE_PTR_RELEASE(values->values[ix], Py_XNewRef(value));
  ------------------
  |  |  164|    902|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 7514|       |
 7515|    902|    if (old_value == NULL) {
  ------------------
  |  Branch (7515:9): [True: 858, False: 44]
  ------------------
 7516|    858|        _PyDictValues_AddToInsertionOrder(values, ix);
 7517|    858|        if (dict) {
  ------------------
  |  Branch (7517:13): [True: 0, False: 858]
  ------------------
 7518|      0|            assert(dict->ma_values == values);
  ------------------
  |  Branch (7518:13): [True: 0, False: 0]
  ------------------
 7519|      0|            STORE_USED(dict, dict->ma_used + 1);
  ------------------
  |  |  336|      0|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  194|      0|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 7520|      0|        }
 7521|    858|    }
 7522|     44|    else {
 7523|     44|        if (value == NULL) {
  ------------------
  |  Branch (7523:13): [True: 0, False: 44]
  ------------------
 7524|      0|            delete_index_from_values(values, ix);
 7525|      0|            if (dict) {
  ------------------
  |  Branch (7525:17): [True: 0, False: 0]
  ------------------
 7526|      0|                assert(dict->ma_values == values);
  ------------------
  |  Branch (7526:17): [True: 0, False: 0]
  ------------------
 7527|      0|                STORE_USED(dict, dict->ma_used - 1);
  ------------------
  |  |  336|      0|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  194|      0|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 7528|      0|            }
 7529|      0|        }
 7530|     44|        Py_DECREF(old_value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7531|     44|    }
 7532|    902|    return 0;
 7533|    902|}
dictobject.c:clear_inline_values:
 7774|  6.92M|{
 7775|  6.92M|    if (values->valid) {
  ------------------
  |  Branch (7775:9): [True: 6.92M, False: 0]
  ------------------
 7776|  6.92M|        FT_ATOMIC_STORE_UINT8(values->valid, 0);
  ------------------
  |  |  155|  6.92M|#define FT_ATOMIC_STORE_UINT8(value, new_value) value = new_value
  ------------------
 7777|  36.7M|        for (Py_ssize_t i = 0; i < values->capacity; i++) {
  ------------------
  |  Branch (7777:32): [True: 29.8M, False: 6.92M]
  ------------------
 7778|       |            Py_CLEAR(values->values[i]);
  ------------------
  |  |  484|  29.8M|    do { \
  |  |  485|  29.8M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  29.8M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  29.8M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  29.8M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  29.8M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 22.9M, False: 6.93M]
  |  |  ------------------
  |  |  488|  22.9M|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  22.9M|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  22.9M|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  22.9M|        } \
  |  |  491|  29.8M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 29.8M]
  |  |  ------------------
  ------------------
 7779|  29.8M|        }
 7780|  6.92M|    }
 7781|  6.92M|}
dictobject.c:set_keys:
  282|   217k|{
  283|   217k|    mp->ma_keys = keys;
  284|   217k|}
dictobject.c:dictkeys_decref:
  495|  1.09M|{
  496|  1.09M|    if (FT_ATOMIC_LOAD_SSIZE_RELAXED(dk->dk_refcnt) < 0) {
  ------------------
  |  |  149|  1.09M|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  |  Branch (496:9): [True: 9.72k, False: 1.08M]
  ------------------
  497|  9.72k|        assert(FT_ATOMIC_LOAD_SSIZE_RELAXED(dk->dk_refcnt) == _Py_DICT_IMMORTAL_INITIAL_REFCNT);
  ------------------
  |  Branch (497:9): [True: 9.72k, False: 0]
  ------------------
  498|  9.72k|        return;
  499|  9.72k|    }
  500|  1.09M|    assert(FT_ATOMIC_LOAD_SSIZE(dk->dk_refcnt) > 0);
  ------------------
  |  Branch (500:5): [True: 1.08M, False: 0]
  ------------------
  501|       |#ifdef Py_REF_DEBUG
  502|       |    _Py_DecRefTotal(_PyThreadState_GET());
  503|       |#endif
  504|  1.08M|    if (DECREF_KEYS(dk) == 1) {
  ------------------
  |  |  263|  1.08M|#define DECREF_KEYS(dk)  dk->dk_refcnt--
  ------------------
  |  Branch (504:9): [True: 1.08M, False: 7]
  ------------------
  505|  1.08M|        if (DK_IS_UNICODE(dk)) {
  ------------------
  |  |  294|  1.08M|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (294:27): [True: 3.21k, False: 1.08M]
  |  |  ------------------
  ------------------
  506|  3.21k|            PyDictUnicodeEntry *entries = DK_UNICODE_ENTRIES(dk);
  507|  3.21k|            Py_ssize_t i, n;
  508|  23.8k|            for (i = 0, n = dk->dk_nentries; i < n; i++) {
  ------------------
  |  Branch (508:46): [True: 20.6k, False: 3.21k]
  ------------------
  509|  20.6k|                Py_XDECREF(entries[i].me_key);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  510|  20.6k|                Py_XDECREF(entries[i].me_value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  20.6k|            }
  512|  3.21k|        }
  513|  1.08M|        else {
  514|  1.08M|            PyDictKeyEntry *entries = DK_ENTRIES(dk);
  515|  1.08M|            Py_ssize_t i, n;
  516|  4.58M|            for (i = 0, n = dk->dk_nentries; i < n; i++) {
  ------------------
  |  Branch (516:46): [True: 3.50M, False: 1.08M]
  ------------------
  517|  3.50M|                Py_XDECREF(entries[i].me_key);
  ------------------
  |  |  524|  3.50M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.50M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.50M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  518|  3.50M|                Py_XDECREF(entries[i].me_value);
  ------------------
  |  |  524|  3.50M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.50M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.50M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  519|  3.50M|            }
  520|  1.08M|        }
  521|  1.08M|        free_keys_object(dk, use_qsbr);
  522|  1.08M|    }
  523|  1.08M|}
dictobject.c:new_dict_with_shared_keys:
 1008|    146|{
 1009|    146|    size_t size = shared_keys_usable_size(keys);
 1010|    146|    PyDictValues *values = new_values(size);
 1011|    146|    if (values == NULL) {
  ------------------
  |  Branch (1011:9): [True: 0, False: 146]
  ------------------
 1012|      0|        return PyErr_NoMemory();
 1013|      0|    }
 1014|    146|    dictkeys_incref(keys);
 1015|  4.52k|    for (size_t i = 0; i < size; i++) {
  ------------------
  |  Branch (1015:24): [True: 4.38k, False: 146]
  ------------------
 1016|       |        values->values[i] = NULL;
 1017|  4.38k|    }
 1018|    146|    return new_dict(keys, values, 0, 1);
 1019|    146|}
dictobject.c:ensure_nonmanaged_dict:
 8072|  13.2k|{
 8073|  13.2k|    PyDictKeysObject *cached;
 8074|       |
 8075|  13.2k|    PyObject *dict = FT_ATOMIC_LOAD_PTR_ACQUIRE(*dictptr);
  ------------------
  |  |  150|  13.2k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 8076|  13.2k|    if (dict == NULL) {
  ------------------
  |  Branch (8076:9): [True: 2.62k, False: 10.6k]
  ------------------
 8077|       |#ifdef Py_GIL_DISABLED
 8078|       |        Py_BEGIN_CRITICAL_SECTION(obj);
 8079|       |        dict = *dictptr;
 8080|       |        if (dict != NULL) {
 8081|       |            goto done;
 8082|       |        }
 8083|       |#endif
 8084|  2.62k|        PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8085|  2.62k|        if (_PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE) && (cached = CACHED_KEYS(tp))) {
  ------------------
  |  |  503|  2.62k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
                      if (_PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE) && (cached = CACHED_KEYS(tp))) {
  ------------------
  |  |  911|  2.31k|#define CACHED_KEYS(tp) (((PyHeapTypeObject*)tp)->ht_cached_keys)
  ------------------
  |  Branch (8085:13): [True: 2.31k, False: 309]
  |  Branch (8085:60): [True: 146, False: 2.16k]
  ------------------
 8086|    146|            assert(!_PyType_HasFeature(tp, Py_TPFLAGS_INLINE_VALUES));
  ------------------
  |  Branch (8086:13): [True: 146, False: 0]
  ------------------
 8087|    146|            dict = new_dict_with_shared_keys(cached);
 8088|    146|        }
 8089|  2.47k|        else {
 8090|  2.47k|            dict = PyDict_New();
 8091|  2.47k|        }
 8092|  2.62k|        FT_ATOMIC_STORE_PTR_RELEASE(*dictptr, dict);
  ------------------
  |  |  164|  2.62k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 8093|       |#ifdef Py_GIL_DISABLED
 8094|       |done:
 8095|       |        Py_END_CRITICAL_SECTION();
 8096|       |#endif
 8097|  2.62k|    }
 8098|  13.2k|    return dict;
 8099|  13.2k|}
dictobject.c:get_next_dict_keys_version:
 8148|    139|{
 8149|       |#ifdef Py_GIL_DISABLED
 8150|       |    uint32_t v;
 8151|       |    do {
 8152|       |        v = _Py_atomic_load_uint32_relaxed(
 8153|       |            &interp->dict_state.next_keys_version);
 8154|       |        if (v == 0) {
 8155|       |            return 0;
 8156|       |        }
 8157|       |    } while (!_Py_atomic_compare_exchange_uint32(
 8158|       |        &interp->dict_state.next_keys_version, &v, v + 1));
 8159|       |#else
 8160|    139|    if (interp->dict_state.next_keys_version == 0) {
  ------------------
  |  Branch (8160:9): [True: 0, False: 139]
  ------------------
 8161|      0|        return 0;
 8162|      0|    }
 8163|    139|    uint32_t v = interp->dict_state.next_keys_version++;
 8164|    139|#endif
 8165|    139|    return v;
 8166|    139|}
dictobject.c:ensure_shared_on_keys_version_assignment:
 1470|  2.36k|{
 1471|  2.36k|    ASSERT_DICT_LOCKED((PyObject *) mp);
 1472|       |    #ifdef Py_GIL_DISABLED
 1473|       |    if (!IS_DICT_SHARED(mp)) {
 1474|       |        // This ensures that a concurrent resize operation will delay
 1475|       |        // freeing the old keys or values using QSBR, which is necessary to
 1476|       |        // safely allow concurrent reads without locking.
 1477|       |        SET_DICT_SHARED(mp);
 1478|       |    }
 1479|       |    #endif
 1480|  2.36k|}
dictobject.c:validate_watcher_id:
 8196|  2.26k|{
 8197|  2.26k|    if (watcher_id < 0 || watcher_id >= DICT_MAX_WATCHERS) {
  ------------------
  |  |   11|  2.26k|#define DICT_MAX_WATCHERS 8
  ------------------
  |  Branch (8197:9): [True: 0, False: 2.26k]
  |  Branch (8197:27): [True: 0, False: 2.26k]
  ------------------
 8198|      0|        PyErr_Format(PyExc_ValueError, "Invalid dict watcher ID %d", watcher_id);
 8199|      0|        return -1;
 8200|      0|    }
 8201|  2.26k|    PyDict_WatchCallback cb = FT_ATOMIC_LOAD_PTR_RELAXED(
  ------------------
  |  |  153|  2.26k|#define FT_ATOMIC_LOAD_PTR_RELAXED(value) value
  ------------------
 8202|  2.26k|        interp->dict_state.watchers[watcher_id]);
 8203|  2.26k|    if (cb == NULL) {
  ------------------
  |  Branch (8203:9): [True: 0, False: 2.26k]
  ------------------
 8204|      0|        PyErr_Format(PyExc_ValueError, "No dict watcher set for ID %d", watcher_id);
 8205|      0|        return -1;
 8206|      0|    }
 8207|  2.26k|    return 0;
 8208|  2.26k|}
dictobject.c:frozendict_new_untracked:
 8490|      1|{
 8491|      1|    assert(PyObject_IsSubclass((PyObject*)type, (PyObject*)&PyFrozenDict_Type));
  ------------------
  |  Branch (8491:5): [True: 1, False: 0]
  ------------------
 8492|       |
 8493|      1|    PyObject *d = anydict_new_untracked(type);
 8494|      1|    if (d == NULL) {
  ------------------
  |  Branch (8494:9): [True: 0, False: 1]
  ------------------
 8495|      0|        return NULL;
 8496|      0|    }
 8497|      1|    assert(can_modify_dict(_PyAnyDict_CAST(d)));
  ------------------
  |  Branch (8497:5): [True: 0, False: 1]
  |  Branch (8497:5): [True: 1, False: 0]
  |  Branch (8497:5): [True: 1, False: 0]
  ------------------
 8498|      1|    _PyFrozenDictObject_CAST(d)->ma_hash = -1;
  ------------------
  |  |  455|      1|    (assert(PyFrozenDict_Check(op)), _Py_CAST(PyFrozenDictObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (8498:5): [True: 1, False: 0]
  ------------------
 8499|      0|    return d;
 8500|      1|}
dictobject.c:frozendict_vectorcall:
 5438|      1|{
 5439|      1|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      1|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 5440|      1|    if (!_PyArg_CheckPositional("frozendict", nargs, 0, 1)) {
  ------------------
  |  |   31|      1|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 1, False: 0]
  |  |  |  Branch (31:27): [True: 1, False: 0]
  |  |  ------------------
  |  |   32|      1|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5441|      0|        return NULL;
 5442|      0|    }
 5443|       |
 5444|      1|    if (nargs == 1 && kwnames == NULL
  ------------------
  |  Branch (5444:9): [True: 1, False: 0]
  |  Branch (5444:23): [True: 1, False: 0]
  ------------------
 5445|      1|        && PyFrozenDict_CheckExact(args[0])
  ------------------
  |  |   38|      1|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  215|      2|#  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: 0, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5446|      0|        && Py_Is((PyTypeObject*)type, &PyFrozenDict_Type))
  ------------------
  |  |  187|      0|#define Py_Is(x, y) ((x) == (y))
  |  |  ------------------
  |  |  |  Branch (187:21): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5447|      0|    {
 5448|       |        // frozendict(frozendict) returns the same object unmodified
 5449|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5450|      0|    }
 5451|       |
 5452|       |    /* gh-151722: Keep the frozendict untracked until it is fully built,
 5453|       |       so a half-built object is never reachable from another thread (using the gc module). */
 5454|      1|    PyObject *self = frozendict_new_untracked(_PyType_CAST(type));
  ------------------
  |  |  770|      1|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (5454:47): [True: 1, False: 0]
  ------------------
 5455|      1|    if (self == NULL) {
  ------------------
  |  Branch (5455:9): [True: 0, False: 1]
  ------------------
 5456|      0|        return NULL;
 5457|      0|    }
 5458|      1|    if (nargs == 1) {
  ------------------
  |  Branch (5458:9): [True: 1, False: 0]
  ------------------
 5459|      1|        if (dict_update_arg(self, args[0]) < 0) {
  ------------------
  |  Branch (5459:13): [True: 0, False: 1]
  ------------------
 5460|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5461|      0|            return NULL;
 5462|      0|        }
 5463|      1|        args++;
 5464|      1|    }
 5465|      1|    if (kwnames != NULL) {
  ------------------
  |  Branch (5465:9): [True: 0, False: 1]
  ------------------
 5466|      0|        for (Py_ssize_t i = 0; i < PyTuple_GET_SIZE(kwnames); i++) {
  ------------------
  |  |   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 (5466:32): [True: 0, False: 0]
  ------------------
 5467|      0|            PyObject *key = PyTuple_GET_ITEM(kwnames, i);  // borrowed
  ------------------
  |  |   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 (5467:29): [True: 0, False: 0]
  ------------------
 5468|      0|            if (_PyAnyDict_SetItem(self, key, args[i]) < 0) {
  ------------------
  |  Branch (5468:17): [True: 0, False: 0]
  ------------------
 5469|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5470|      0|                return NULL;
 5471|      0|            }
 5472|      0|        }
 5473|      0|    }
 5474|       |
 5475|      1|    _PyObject_GC_TRACK(self);
  ------------------
  |  |  507|      1|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5476|      1|    return self;
 5477|      1|}

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

PyException_GetTraceback:
  512|  5.87M|{
  513|  5.87M|    PyObject *traceback;
  514|  5.87M|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  5.87M|    {
  ------------------
  515|  5.87M|    traceback = Py_XNewRef(PyBaseExceptionObject_CAST(self)->traceback);
  ------------------
  |  |  551|  5.87M|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  5.87M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.87M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  516|  5.87M|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  5.87M|    }
  ------------------
  517|  5.87M|    return traceback;
  518|  5.87M|}
PyException_SetTraceback:
  523|  3.11M|{
  524|  3.11M|    int res;
  525|  3.11M|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  3.11M|    {
  ------------------
  526|  3.11M|    res = BaseException___traceback___set_impl(PyBaseExceptionObject_CAST(self), tb);
  527|  3.11M|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  3.11M|    }
  ------------------
  528|  3.11M|    return res;
  529|  3.11M|}
PyException_SetCause:
  544|    101|{
  545|    101|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    101|    {
  ------------------
  546|    101|    PyBaseExceptionObject *base_self = PyBaseExceptionObject_CAST(self);
  547|    101|    base_self->suppress_context = 1;
  548|    101|    Py_XSETREF(base_self->cause, cause);
  ------------------
  |  |  374|    101|    do { \
  |  |  375|    101|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    101|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|    101|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    101|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|    101|        *_tmp_dst_ptr = (src); \
  |  |  378|    101|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    101|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    101|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    101|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|    101|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 101]
  |  |  ------------------
  ------------------
  549|    101|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    101|    }
  ------------------
  550|    101|}
PyException_GetContext:
  554|    305|{
  555|    305|    PyObject *context;
  556|    305|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    305|    {
  ------------------
  557|    305|    context = Py_XNewRef(PyBaseExceptionObject_CAST(self)->context);
  ------------------
  |  |  551|    305|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    305|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    305|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  558|    305|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    305|    }
  ------------------
  559|    305|    return context;
  560|    305|}
PyException_SetContext:
  565|    305|{
  566|    305|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    305|    {
  ------------------
  567|    305|    Py_XSETREF(PyBaseExceptionObject_CAST(self)->context, context);
  ------------------
  |  |  374|    305|    do { \
  |  |  375|    305|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    305|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|    305|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    305|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|    305|        *_tmp_dst_ptr = (src); \
  |  |  378|    305|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    305|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    305|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    305|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|    305|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 305]
  |  |  ------------------
  ------------------
  568|    305|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    305|    }
  ------------------
  569|    305|}
_PyExc_InitTypes:
 4492|      2|{
 4493|    140|    for (size_t i=0; i < Py_ARRAY_LENGTH(static_exceptions); i++) {
  ------------------
  |  |  196|    140|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (4493:22): [True: 138, False: 2]
  ------------------
 4494|    138|        PyTypeObject *exc = static_exceptions[i].exc;
 4495|    138|        if (_PyStaticType_InitBuiltin(interp, exc) < 0) {
  ------------------
  |  Branch (4495:13): [True: 0, False: 138]
  ------------------
 4496|      0|            return -1;
 4497|      0|        }
 4498|    138|        if (exc->tp_new == BaseException_new
  ------------------
  |  Branch (4498:13): [True: 102, False: 36]
  ------------------
 4499|    102|            && exc->tp_init == BaseException_init)
  ------------------
  |  Branch (4499:16): [True: 72, False: 30]
  ------------------
 4500|     72|        {
 4501|     72|            exc->tp_vectorcall = BaseException_vectorcall;
 4502|     72|        }
 4503|    138|    }
 4504|      2|    return 0;
 4505|      2|}
_PyExc_InitGlobalObjects:
 4520|      2|{
 4521|      2|    if (preallocate_memerrors() < 0) {
  ------------------
  |  Branch (4521:9): [True: 0, False: 2]
  ------------------
 4522|      0|        return _PyStatus_NO_MEMORY();
  ------------------
  |  |   33|      0|#define _PyStatus_NO_MEMORY() _PyStatus_ERR(_PyStatus_NO_MEMORY_ERRMSG)
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  ------------------
 4523|      0|    }
 4524|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4525|      2|}
_PyExc_InitState:
 4529|      2|{
 4530|      2|    struct _Py_exc_state *state = &interp->exc_state;
 4531|       |
 4532|      2|#define ADD_ERRNO(TYPE, CODE) \
 4533|      2|    do { \
 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
 4537|      2|            Py_XDECREF(_code); \
 4538|      2|            return _PyStatus_ERR("errmap insertion problem."); \
 4539|      2|        } \
 4540|      2|        Py_DECREF(_code); \
 4541|      2|    } while (0)
 4542|       |
 4543|       |    /* Add exceptions to errnomap */
 4544|      2|    assert(state->errnomap == NULL);
  ------------------
  |  Branch (4544:5): [True: 2, False: 0]
  ------------------
 4545|      2|    state->errnomap = PyDict_New();
 4546|      2|    if (!state->errnomap) {
  ------------------
  |  Branch (4546:9): [True: 0, False: 2]
  ------------------
 4547|      0|        return _PyStatus_NO_MEMORY();
  ------------------
  |  |   33|      0|#define _PyStatus_NO_MEMORY() _PyStatus_ERR(_PyStatus_NO_MEMORY_ERRMSG)
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  ------------------
 4548|      0|    }
 4549|       |
 4550|      2|    ADD_ERRNO(BlockingIOError, EAGAIN);
  ------------------
  |  | 4533|      2|    do { \
  |  | 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4536:13): [True: 0, False: 2]
  |  |  |  Branch (4536:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4537|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4538|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4539|      0|        } \
  |  | 4540|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4541|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4541:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4550:5): [True: 2, False: 0]
  ------------------
 4551|      2|    ADD_ERRNO(BlockingIOError, EALREADY);
  ------------------
  |  | 4533|      2|    do { \
  |  | 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4536:13): [True: 0, False: 2]
  |  |  |  Branch (4536:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4537|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4538|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4539|      0|        } \
  |  | 4540|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4541|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4541:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4551:5): [True: 2, False: 0]
  ------------------
 4552|      2|    ADD_ERRNO(BlockingIOError, EINPROGRESS);
  ------------------
  |  | 4533|      2|    do { \
  |  | 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4536:13): [True: 0, False: 2]
  |  |  |  Branch (4536:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4537|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4538|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4539|      0|        } \
  |  | 4540|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4541|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4541:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4552:5): [True: 2, False: 0]
  ------------------
 4553|      2|    ADD_ERRNO(BlockingIOError, EWOULDBLOCK);
  ------------------
  |  | 4533|      2|    do { \
  |  | 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4536:13): [True: 0, False: 2]
  |  |  |  Branch (4536:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4537|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4538|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4539|      0|        } \
  |  | 4540|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4541|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4541:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4553:5): [True: 2, False: 0]
  ------------------
 4554|      2|    ADD_ERRNO(BrokenPipeError, EPIPE);
  ------------------
  |  | 4533|      2|    do { \
  |  | 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4536:13): [True: 0, False: 2]
  |  |  |  Branch (4536:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4537|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4538|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4539|      0|        } \
  |  | 4540|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4541|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4541:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4554:5): [True: 2, False: 0]
  ------------------
 4555|      2|#ifdef ESHUTDOWN
 4556|      2|    ADD_ERRNO(BrokenPipeError, ESHUTDOWN);
  ------------------
  |  | 4533|      2|    do { \
  |  | 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4536:13): [True: 0, False: 2]
  |  |  |  Branch (4536:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4537|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4538|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4539|      0|        } \
  |  | 4540|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4541|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4541:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4556:5): [True: 2, False: 0]
  ------------------
 4557|      2|#endif
 4558|      2|    ADD_ERRNO(ChildProcessError, ECHILD);
  ------------------
  |  | 4533|      2|    do { \
  |  | 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4536:13): [True: 0, False: 2]
  |  |  |  Branch (4536:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4537|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4538|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4539|      0|        } \
  |  | 4540|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4541|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4541:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4558:5): [True: 2, False: 0]
  ------------------
 4559|      2|    ADD_ERRNO(ConnectionAbortedError, ECONNABORTED);
  ------------------
  |  | 4533|      2|    do { \
  |  | 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4536:13): [True: 0, False: 2]
  |  |  |  Branch (4536:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4537|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4538|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4539|      0|        } \
  |  | 4540|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4541|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4541:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4559:5): [True: 2, False: 0]
  ------------------
 4560|      2|    ADD_ERRNO(ConnectionRefusedError, ECONNREFUSED);
  ------------------
  |  | 4533|      2|    do { \
  |  | 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4536:13): [True: 0, False: 2]
  |  |  |  Branch (4536:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4537|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4538|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4539|      0|        } \
  |  | 4540|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4541|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4541:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4560:5): [True: 2, False: 0]
  ------------------
 4561|      2|    ADD_ERRNO(ConnectionResetError, ECONNRESET);
  ------------------
  |  | 4533|      2|    do { \
  |  | 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4536:13): [True: 0, False: 2]
  |  |  |  Branch (4536:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4537|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4538|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4539|      0|        } \
  |  | 4540|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4541|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4541:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4561:5): [True: 2, False: 0]
  ------------------
 4562|      2|    ADD_ERRNO(FileExistsError, EEXIST);
  ------------------
  |  | 4533|      2|    do { \
  |  | 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4536:13): [True: 0, False: 2]
  |  |  |  Branch (4536:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4537|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4538|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4539|      0|        } \
  |  | 4540|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4541|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4541:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4562:5): [True: 2, False: 0]
  ------------------
 4563|      2|    ADD_ERRNO(FileNotFoundError, ENOENT);
  ------------------
  |  | 4533|      2|    do { \
  |  | 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4536:13): [True: 0, False: 2]
  |  |  |  Branch (4536:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4537|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4538|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4539|      0|        } \
  |  | 4540|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4541|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4541:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4563:5): [True: 2, False: 0]
  ------------------
 4564|      2|    ADD_ERRNO(IsADirectoryError, EISDIR);
  ------------------
  |  | 4533|      2|    do { \
  |  | 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4536:13): [True: 0, False: 2]
  |  |  |  Branch (4536:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4537|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4538|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4539|      0|        } \
  |  | 4540|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4541|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4541:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4564:5): [True: 2, False: 0]
  ------------------
 4565|      2|    ADD_ERRNO(NotADirectoryError, ENOTDIR);
  ------------------
  |  | 4533|      2|    do { \
  |  | 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4536:13): [True: 0, False: 2]
  |  |  |  Branch (4536:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4537|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4538|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4539|      0|        } \
  |  | 4540|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4541|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4541:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4565:5): [True: 2, False: 0]
  ------------------
 4566|      2|    ADD_ERRNO(InterruptedError, EINTR);
  ------------------
  |  | 4533|      2|    do { \
  |  | 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4536:13): [True: 0, False: 2]
  |  |  |  Branch (4536:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4537|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4538|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4539|      0|        } \
  |  | 4540|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4541|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4541:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4566:5): [True: 2, False: 0]
  ------------------
 4567|      2|    ADD_ERRNO(PermissionError, EACCES);
  ------------------
  |  | 4533|      2|    do { \
  |  | 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4536:13): [True: 0, False: 2]
  |  |  |  Branch (4536:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4537|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4538|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4539|      0|        } \
  |  | 4540|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4541|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4541:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4567:5): [True: 2, False: 0]
  ------------------
 4568|      2|    ADD_ERRNO(PermissionError, EPERM);
  ------------------
  |  | 4533|      2|    do { \
  |  | 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4536:13): [True: 0, False: 2]
  |  |  |  Branch (4536:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4537|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4538|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4539|      0|        } \
  |  | 4540|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4541|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4541:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4568:5): [True: 2, False: 0]
  ------------------
 4569|       |#ifdef ENOTCAPABLE
 4570|       |    // Extension for WASI capability-based security. Process lacks
 4571|       |    // capability to access a resource.
 4572|       |    ADD_ERRNO(PermissionError, ENOTCAPABLE);
 4573|       |#endif
 4574|      2|    ADD_ERRNO(ProcessLookupError, ESRCH);
  ------------------
  |  | 4533|      2|    do { \
  |  | 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4536:13): [True: 0, False: 2]
  |  |  |  Branch (4536:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4537|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4538|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4539|      0|        } \
  |  | 4540|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4541|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4541:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4574:5): [True: 2, False: 0]
  ------------------
 4575|      2|    ADD_ERRNO(TimeoutError, ETIMEDOUT);
  ------------------
  |  | 4533|      2|    do { \
  |  | 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4536:13): [True: 0, False: 2]
  |  |  |  Branch (4536:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4537|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4538|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4539|      0|        } \
  |  | 4540|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4541|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4541:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4575:5): [True: 2, False: 0]
  ------------------
 4576|       |#ifdef WSAETIMEDOUT
 4577|       |    ADD_ERRNO(TimeoutError, WSAETIMEDOUT);
 4578|       |#endif
 4579|       |
 4580|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4581|       |
 4582|      2|#undef ADD_ERRNO
 4583|      2|}
_PyBuiltins_AddExceptions:
 4589|      2|{
 4590|      2|    PyObject *mod_dict = PyModule_GetDict(bltinmod);
 4591|      2|    if (mod_dict == NULL) {
  ------------------
  |  Branch (4591:9): [True: 0, False: 2]
  ------------------
 4592|      0|        return -1;
 4593|      0|    }
 4594|       |
 4595|    140|    for (size_t i=0; i < Py_ARRAY_LENGTH(static_exceptions); i++) {
  ------------------
  |  |  196|    140|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (4595:22): [True: 138, False: 2]
  ------------------
 4596|    138|        struct static_exception item = static_exceptions[i];
 4597|       |
 4598|    138|        if (PyDict_SetItemString(mod_dict, item.name, (PyObject*)item.exc)) {
  ------------------
  |  Branch (4598:13): [True: 0, False: 138]
  ------------------
 4599|      0|            return -1;
 4600|      0|        }
 4601|    138|    }
 4602|       |
 4603|      2|    PyObject *PyExc_ExceptionGroup = create_exception_group_class();
 4604|      2|    if (!PyExc_ExceptionGroup) {
  ------------------
  |  Branch (4604:9): [True: 0, False: 2]
  ------------------
 4605|      0|        return -1;
 4606|      0|    }
 4607|      2|    if (PyDict_SetItemString(mod_dict, "ExceptionGroup", PyExc_ExceptionGroup)) {
  ------------------
  |  Branch (4607:9): [True: 0, False: 2]
  ------------------
 4608|      0|        return -1;
 4609|      0|    }
 4610|      2|    if (PyDict_SetItemString(mod_dict, "EnvironmentError", PyExc_OSError)) {
  ------------------
  |  Branch (4610:9): [True: 0, False: 2]
  ------------------
 4611|      0|        return -1;
 4612|      0|    }
 4613|      2|    if (PyDict_SetItemString(mod_dict, "IOError", PyExc_OSError)) {
  ------------------
  |  Branch (4613:9): [True: 0, False: 2]
  ------------------
 4614|      0|        return -1;
 4615|      0|    }
 4616|       |#ifdef MS_WINDOWS
 4617|       |    if (PyDict_SetItemString(mod_dict, "WindowsError", PyExc_OSError)) {
 4618|       |        return -1;
 4619|       |    }
 4620|       |#endif
 4621|      2|    return 0;
 4622|      2|}
exceptions.c:PyBaseExceptionObject_CAST:
   43|  17.0M|{
   44|  17.0M|    assert(PyExceptionInstance_Check(exc));
  ------------------
  |  Branch (44:5): [True: 17.0M, False: 0]
  ------------------
   45|  17.0M|    return (PyBaseExceptionObject *)exc;
   46|  17.0M|}
exceptions.c:BaseException___traceback___set_impl:
  393|  3.11M|{
  394|  3.11M|    if (value == NULL) {
  ------------------
  |  Branch (394:9): [True: 0, False: 3.11M]
  ------------------
  395|      0|        PyErr_SetString(PyExc_TypeError, "__traceback__ may not be deleted");
  396|      0|        return -1;
  397|      0|    }
  398|  3.11M|    if (PyTraceBack_Check(value)) {
  ------------------
  |  |   14|  3.11M|#define PyTraceBack_Check(v) Py_IS_TYPE((v), &PyTraceBack_Type)
  |  |  ------------------
  |  |  |  |  215|  3.11M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.11M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.11M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 3.11M, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  399|  3.11M|        Py_XSETREF(self->traceback, Py_NewRef(value));
  ------------------
  |  |  374|  3.11M|    do { \
  |  |  375|  3.11M|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  3.11M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  3.11M|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.11M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  3.11M|        *_tmp_dst_ptr = (src); \
  |  |  378|  3.11M|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  3.11M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.11M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.11M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  3.11M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 3.11M]
  |  |  ------------------
  ------------------
  400|  3.11M|    }
  401|      6|    else if (value == Py_None) {
  ------------------
  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (401:14): [True: 6, False: 0]
  ------------------
  402|      6|        Py_CLEAR(self->traceback);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  403|      6|    }
  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|  3.11M|    return 0;
  410|  3.11M|}
exceptions.c:BaseException_dealloc:
  139|  3.84M|{
  140|  3.84M|    PyBaseExceptionObject *self = PyBaseExceptionObject_CAST(op);
  141|  3.84M|    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|  3.84M|    (void)BaseException_clear(op);
  146|  3.84M|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|  3.84M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.84M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.84M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  147|  3.84M|}
exceptions.c:BaseException_str:
  164|   355k|{
  165|   355k|    PyBaseExceptionObject *self = PyBaseExceptionObject_CAST(op);
  166|       |
  167|   355k|    PyObject *res;
  168|   355k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|   355k|    {
  ------------------
  169|   355k|    switch (PyTuple_GET_SIZE(self->args)) {
  ------------------
  |  |   27|   355k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  170|      0|    case 0:
  ------------------
  |  Branch (170:5): [True: 0, False: 355k]
  ------------------
  171|      0|        res = Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      0|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
  172|      0|        break;
  173|   355k|    case 1:
  ------------------
  |  Branch (173:5): [True: 355k, False: 0]
  ------------------
  174|   355k|        res = PyObject_Str(PyTuple_GET_ITEM(self->args, 0));
  ------------------
  |  |   29|   355k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   355k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (174:28): [True: 355k, False: 0]
  ------------------
  175|      0|        break;
  176|      0|    default:
  ------------------
  |  Branch (176:5): [True: 0, False: 355k]
  ------------------
  177|      0|        res = PyObject_Str(self->args);
  178|      0|        break;
  179|   355k|    }
  180|   355k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   355k|    }
  ------------------
  181|   355k|    return res;
  182|   355k|}
exceptions.c:get_exc_state:
   31|     94|{
   32|     94|    PyInterpreterState *interp = _PyInterpreterState_GET();
   33|     94|    return &interp->exc_state;
   34|     94|}
exceptions.c:ImportError_dealloc:
 1848|     18|{
 1849|     18|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  509|     18|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1850|     18|    (void)ImportError_clear(self);
 1851|     18|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1852|     18|}
exceptions.c:PyImportErrorObject_CAST:
 1794|     36|{
 1795|     36|    assert(PyObject_TypeCheck(self, (PyTypeObject *)PyExc_ImportError));
  ------------------
  |  Branch (1795:5): [True: 36, False: 0]
  ------------------
 1796|     36|    return (PyImportErrorObject *)self;
 1797|     36|}
exceptions.c:ImportError_clear:
 1837|     18|{
 1838|     18|    PyImportErrorObject *self = PyImportErrorObject_CAST(op);
 1839|     18|    Py_CLEAR(self->msg);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1840|     18|    Py_CLEAR(self->name);
  ------------------
  |  |  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: 7, False: 11]
  |  |  ------------------
  |  |  488|      7|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      7|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      7|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      7|        } \
  |  |  491|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 1841|     18|    Py_CLEAR(self->path);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1842|       |    Py_CLEAR(self->name_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: 1, False: 17]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 1843|     18|    return BaseException_clear(op);
 1844|     18|}
exceptions.c:ImportError_init:
 1801|     18|{
 1802|     18|    static char *kwlist[] = {"name", "path", "name_from", 0};
 1803|     18|    PyObject *empty_tuple;
 1804|     18|    PyObject *msg = NULL;
 1805|     18|    PyObject *name = NULL;
 1806|     18|    PyObject *path = NULL;
 1807|     18|    PyObject *name_from = NULL;
 1808|       |
 1809|     18|    if (BaseException_init(op, args, NULL) == -1)
  ------------------
  |  Branch (1809:9): [True: 0, False: 18]
  ------------------
 1810|      0|        return -1;
 1811|       |
 1812|     18|    PyImportErrorObject *self = PyImportErrorObject_CAST(op);
 1813|     18|    empty_tuple = PyTuple_New(0);
 1814|     18|    if (!empty_tuple)
  ------------------
  |  Branch (1814:9): [True: 0, False: 18]
  ------------------
 1815|      0|        return -1;
 1816|     18|    if (!PyArg_ParseTupleAndKeywords(empty_tuple, kwds, "|$OOO:ImportError", kwlist,
  ------------------
  |  Branch (1816:9): [True: 0, False: 18]
  ------------------
 1817|     18|                                     &name, &path, &name_from)) {
 1818|      0|        Py_DECREF(empty_tuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1819|      0|        return -1;
 1820|      0|    }
 1821|     18|    Py_DECREF(empty_tuple);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1822|       |
 1823|     18|    Py_XSETREF(self->name, Py_XNewRef(name));
  ------------------
  |  |  374|     18|    do { \
  |  |  375|     18|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|     18|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|     18|        *_tmp_dst_ptr = (src); \
  |  |  378|     18|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 1824|     18|    Py_XSETREF(self->path, Py_XNewRef(path));
  ------------------
  |  |  374|     18|    do { \
  |  |  375|     18|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|     18|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|     18|        *_tmp_dst_ptr = (src); \
  |  |  378|     18|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 1825|     18|    Py_XSETREF(self->name_from, Py_XNewRef(name_from));
  ------------------
  |  |  374|     18|    do { \
  |  |  375|     18|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|     18|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|     18|        *_tmp_dst_ptr = (src); \
  |  |  378|     18|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 1826|       |
 1827|     18|    if (PyTuple_GET_SIZE(args) == 1) {
  ------------------
  |  |   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 (1827:9): [True: 18, False: 0]
  ------------------
 1828|     18|        msg = Py_NewRef(PyTuple_GET_ITEM(args, 0));
  ------------------
  |  |  550|     18|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 18, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1829|     18|    }
 1830|     18|    Py_XSETREF(self->msg, msg);
  ------------------
  |  |  374|     18|    do { \
  |  |  375|     18|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|     18|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|     18|        *_tmp_dst_ptr = (src); \
  |  |  378|     18|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 1831|       |
 1832|     18|    return 0;
 1833|     18|}
exceptions.c:OSError_dealloc:
 2322|     28|{
 2323|     28|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  509|     28|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2324|     28|    (void)OSError_clear(self);
 2325|     28|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2326|     28|}
exceptions.c:PyOSErrorObject_CAST:
 2036|     56|{
 2037|     56|    assert(PyObject_TypeCheck(self, (PyTypeObject *)PyExc_OSError));
  ------------------
  |  Branch (2037:5): [True: 56, False: 0]
  ------------------
 2038|     56|    return (PyOSErrorObject *)self;
 2039|     56|}
exceptions.c:OSError_clear:
 2308|     28|{
 2309|     28|    PyOSErrorObject *self = PyOSErrorObject_CAST(op);
 2310|     28|    Py_CLEAR(self->myerrno);
  ------------------
  |  |  484|     28|    do { \
  |  |  485|     28|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     28|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     28|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 28, False: 0]
  |  |  ------------------
  |  |  488|     28|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     28|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     28|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     28|        } \
  |  |  491|     28|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 28]
  |  |  ------------------
  ------------------
 2311|     28|    Py_CLEAR(self->strerror);
  ------------------
  |  |  484|     28|    do { \
  |  |  485|     28|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     28|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     28|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 28, False: 0]
  |  |  ------------------
  |  |  488|     28|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     28|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     28|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     28|        } \
  |  |  491|     28|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 28]
  |  |  ------------------
  ------------------
 2312|     28|    Py_CLEAR(self->filename);
  ------------------
  |  |  484|     28|    do { \
  |  |  485|     28|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     28|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     28|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 28, False: 0]
  |  |  ------------------
  |  |  488|     28|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     28|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     28|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     28|        } \
  |  |  491|     28|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 28]
  |  |  ------------------
  ------------------
 2313|     28|    Py_CLEAR(self->filename2);
  ------------------
  |  |  484|     28|    do { \
  |  |  485|     28|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     28|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     28|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 28]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|     28|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 28]
  |  |  ------------------
  ------------------
 2314|       |#ifdef MS_WINDOWS
 2315|       |    Py_CLEAR(self->winerror);
 2316|       |#endif
 2317|     28|    return BaseException_clear(op);
 2318|     28|}
exceptions.c:OSError_init:
 2269|     28|{
 2270|     28|    PyOSErrorObject *self = PyOSErrorObject_CAST(op);
 2271|     28|    PyObject *myerrno = NULL, *strerror = NULL;
 2272|     28|    PyObject *filename = NULL, *filename2 = NULL;
 2273|       |#ifdef MS_WINDOWS
 2274|       |    PyObject *winerror = NULL;
 2275|       |#endif
 2276|       |
 2277|     28|    if (!oserror_use_init(Py_TYPE(self)))
  ------------------
  |  |  213|     28|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2277:9): [True: 28, False: 0]
  ------------------
 2278|       |        /* Everything already done in OSError_new */
 2279|     28|        return 0;
 2280|       |
 2281|      0|    if (!_PyArg_NoKeywords(Py_TYPE(self)->tp_name, kwds))
  ------------------
  |  |   25|      0|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 0, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2282|      0|        return -1;
 2283|       |
 2284|      0|    Py_INCREF(args);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2285|      0|    if (oserror_parse_args(&args, &myerrno, &strerror, &filename, &filename2
  ------------------
  |  Branch (2285:9): [True: 0, False: 0]
  ------------------
 2286|       |#ifdef MS_WINDOWS
 2287|       |                           , &winerror
 2288|       |#endif
 2289|      0|        ))
 2290|      0|        goto error;
 2291|       |
 2292|      0|    if (oserror_init(self, &args, myerrno, strerror, filename, filename2
  ------------------
  |  Branch (2292:9): [True: 0, False: 0]
  ------------------
 2293|       |#ifdef MS_WINDOWS
 2294|       |                     , winerror
 2295|       |#endif
 2296|      0|        ))
 2297|      0|        goto error;
 2298|       |
 2299|      0|    return 0;
 2300|       |
 2301|      0|error:
 2302|      0|    Py_DECREF(args);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2303|      0|    return -1;
 2304|      0|}
exceptions.c:oserror_use_init:
 2181|     84|{
 2182|       |    /* When __init__ is defined in an OSError subclass, we want any
 2183|       |       extraneous argument to __new__ to be ignored.  The only reasonable
 2184|       |       solution, given __new__ takes a variable number of arguments,
 2185|       |       is to defer arg parsing and initialization to __init__.
 2186|       |
 2187|       |       But when __new__ is overridden as well, it should call our __new__
 2188|       |       with the right arguments.
 2189|       |
 2190|       |       (see http://bugs.python.org/issue12555#msg148829 )
 2191|       |    */
 2192|     84|    if (type->tp_init != OSError_init && type->tp_new == OSError_new) {
  ------------------
  |  Branch (2192:9): [True: 0, False: 84]
  |  Branch (2192:42): [True: 0, False: 0]
  ------------------
 2193|      0|        assert((PyObject *) type != PyExc_OSError);
  ------------------
  |  Branch (2193:9): [True: 0, False: 0]
  ------------------
 2194|      0|        return 1;
 2195|      0|    }
 2196|     84|    return 0;
 2197|     84|}
exceptions.c:oserror_parse_args:
 2070|     28|{
 2071|     28|    Py_ssize_t nargs;
 2072|     28|    PyObject *args = *p_args;
 2073|     28|#ifndef MS_WINDOWS
 2074|       |    /*
 2075|       |     * ignored on non-Windows platforms,
 2076|       |     * but parsed so OSError has a consistent signature
 2077|       |     */
 2078|     28|    PyObject *_winerror = NULL;
 2079|     28|    PyObject **winerror = &_winerror;
 2080|     28|#endif /* MS_WINDOWS */
 2081|       |
 2082|     28|    nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|     28|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2083|       |
 2084|     28|    if (nargs >= 2 && nargs <= 5) {
  ------------------
  |  Branch (2084:9): [True: 28, False: 0]
  |  Branch (2084:23): [True: 28, False: 0]
  ------------------
 2085|     28|        if (!PyArg_UnpackTuple(args, "OSError", 2, 5,
  ------------------
  |  Branch (2085:13): [True: 0, False: 28]
  ------------------
 2086|     28|                               myerrno, strerror,
 2087|     28|                               filename, winerror, filename2))
 2088|      0|            return -1;
 2089|       |#ifdef MS_WINDOWS
 2090|       |        if (*winerror && PyLong_Check(*winerror)) {
 2091|       |            long errcode, winerrcode;
 2092|       |            PyObject *newargs;
 2093|       |            Py_ssize_t i;
 2094|       |
 2095|       |            winerrcode = PyLong_AsLong(*winerror);
 2096|       |            if (winerrcode == -1 && PyErr_Occurred())
 2097|       |                return -1;
 2098|       |            errcode = winerror_to_errno(winerrcode);
 2099|       |            *myerrno = PyLong_FromLong(errcode);
 2100|       |            if (!*myerrno)
 2101|       |                return -1;
 2102|       |            newargs = PyTuple_New(nargs);
 2103|       |            if (!newargs)
 2104|       |                return -1;
 2105|       |            PyTuple_SET_ITEM(newargs, 0, *myerrno);
 2106|       |            for (i = 1; i < nargs; i++) {
 2107|       |                PyObject *val = PyTuple_GET_ITEM(args, i);
 2108|       |                PyTuple_SET_ITEM(newargs, i, Py_NewRef(val));
 2109|       |            }
 2110|       |            Py_DECREF(args);
 2111|       |            args = *p_args = newargs;
 2112|       |        }
 2113|       |#endif /* MS_WINDOWS */
 2114|     28|    }
 2115|       |
 2116|     28|    return 0;
 2117|     28|}
exceptions.c:oserror_init:
 2127|     28|{
 2128|     28|    PyObject *args = *p_args;
 2129|     28|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|     28|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2130|       |
 2131|       |    /* self->filename will remain Py_None otherwise */
 2132|     28|    if (filename && filename != Py_None) {
  ------------------
  |  |  616|     28|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2132:9): [True: 28, False: 0]
  |  Branch (2132:21): [True: 28, False: 0]
  ------------------
 2133|     28|        if (Py_IS_TYPE(self, (PyTypeObject *) PyExc_BlockingIOError) &&
  ------------------
  |  |  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: 0, False: 28]
  |  |  ------------------
  ------------------
 2134|      0|            PyNumber_Check(filename)) {
  ------------------
  |  Branch (2134:13): [True: 0, False: 0]
  ------------------
 2135|       |            /* BlockingIOError's 3rd argument can be the number of
 2136|       |             * characters written.
 2137|       |             */
 2138|      0|            self->written = PyNumber_AsSsize_t(filename, PyExc_ValueError);
 2139|      0|            if (self->written == -1 && PyErr_Occurred())
  ------------------
  |  Branch (2139:17): [True: 0, False: 0]
  |  Branch (2139:40): [True: 0, False: 0]
  ------------------
 2140|      0|                return -1;
 2141|      0|        }
 2142|     28|        else {
 2143|     28|            Py_XSETREF(self->filename, Py_NewRef(filename));
  ------------------
  |  |  374|     28|    do { \
  |  |  375|     28|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|     28|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|     28|        *_tmp_dst_ptr = (src); \
  |  |  378|     28|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     28|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|     28|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 28]
  |  |  ------------------
  ------------------
 2144|       |
 2145|     28|            if (filename2 && filename2 != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2145:17): [True: 0, False: 28]
  |  Branch (2145:30): [True: 0, False: 0]
  ------------------
 2146|      0|                Py_XSETREF(self->filename2, Py_NewRef(filename2));
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2147|      0|            }
 2148|       |
 2149|     28|            if (nargs >= 2 && nargs <= 5) {
  ------------------
  |  Branch (2149:17): [True: 28, False: 0]
  |  Branch (2149:31): [True: 28, False: 0]
  ------------------
 2150|       |                /* filename, filename2, and winerror are removed from the args tuple
 2151|       |                   (for compatibility purposes, see test_exceptions.py) */
 2152|     28|                PyObject *subslice = PyTuple_GetSlice(args, 0, 2);
 2153|     28|                if (!subslice)
  ------------------
  |  Branch (2153:21): [True: 0, False: 28]
  ------------------
 2154|      0|                    return -1;
 2155|       |
 2156|     28|                Py_DECREF(args);  /* replacing args */
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2157|     28|                *p_args = args = subslice;
 2158|     28|            }
 2159|     28|        }
 2160|     28|    }
 2161|     28|    Py_XSETREF(self->myerrno, Py_XNewRef(myerrno));
  ------------------
  |  |  374|     28|    do { \
  |  |  375|     28|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|     28|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|     28|        *_tmp_dst_ptr = (src); \
  |  |  378|     28|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     28|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|     28|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 28]
  |  |  ------------------
  ------------------
 2162|     28|    Py_XSETREF(self->strerror, Py_XNewRef(strerror));
  ------------------
  |  |  374|     28|    do { \
  |  |  375|     28|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|     28|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|     28|        *_tmp_dst_ptr = (src); \
  |  |  378|     28|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     28|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|     28|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 28]
  |  |  ------------------
  ------------------
 2163|       |#ifdef MS_WINDOWS
 2164|       |    Py_XSETREF(self->winerror, Py_XNewRef(winerror));
 2165|       |#endif
 2166|       |
 2167|       |    /* Steals the reference to args */
 2168|     28|    Py_XSETREF(self->args, args);
  ------------------
  |  |  374|     28|    do { \
  |  |  375|     28|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|     28|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|     28|        *_tmp_dst_ptr = (src); \
  |  |  378|     28|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     28|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|     28|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 28]
  |  |  ------------------
  ------------------
 2169|     28|    *p_args = args = NULL;
 2170|       |
 2171|     28|    return 0;
 2172|     28|}
exceptions.c:OSError_new:
 2201|     28|{
 2202|     28|    PyOSErrorObject *self = NULL;
 2203|     28|    PyObject *myerrno = NULL, *strerror = NULL;
 2204|     28|    PyObject *filename = NULL, *filename2 = NULL;
 2205|       |#ifdef MS_WINDOWS
 2206|       |    PyObject *winerror = NULL;
 2207|       |#endif
 2208|       |
 2209|     28|    Py_INCREF(args);
  ------------------
  |  |  310|     28|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2210|       |
 2211|     28|    if (!oserror_use_init(type)) {
  ------------------
  |  Branch (2211:9): [True: 28, False: 0]
  ------------------
 2212|     28|        if (!_PyArg_NoKeywords(type->tp_name, kwds))
  ------------------
  |  |   25|     28|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 28, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2213|      0|            goto error;
 2214|       |
 2215|     28|        if (oserror_parse_args(&args, &myerrno, &strerror,
  ------------------
  |  Branch (2215:13): [True: 0, False: 28]
  ------------------
 2216|     28|                               &filename, &filename2
 2217|       |#ifdef MS_WINDOWS
 2218|       |                               , &winerror
 2219|       |#endif
 2220|     28|            ))
 2221|      0|            goto error;
 2222|       |
 2223|     28|        struct _Py_exc_state *state = get_exc_state();
 2224|     28|        if (myerrno && PyLong_Check(myerrno) &&
  ------------------
  |  |   13|     28|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     56|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 28, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2224:13): [True: 28, False: 0]
  ------------------
 2225|     28|            state->errnomap && (PyObject *) type == PyExc_OSError) {
  ------------------
  |  Branch (2225:13): [True: 28, False: 0]
  |  Branch (2225:32): [True: 28, False: 0]
  ------------------
 2226|     28|            PyObject *newtype;
 2227|     28|            newtype = PyDict_GetItemWithError(state->errnomap, myerrno);
 2228|     28|            if (newtype) {
  ------------------
  |  Branch (2228:17): [True: 28, False: 0]
  ------------------
 2229|     28|                type = _PyType_CAST(newtype);
  ------------------
  |  |  770|     28|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (2229:24): [True: 28, False: 0]
  ------------------
 2230|     28|            }
 2231|      0|            else if (PyErr_Occurred())
  ------------------
  |  Branch (2231:22): [True: 0, False: 0]
  ------------------
 2232|      0|                goto error;
 2233|     28|        }
 2234|     28|    }
 2235|       |
 2236|     28|    self = (PyOSErrorObject *) type->tp_alloc(type, 0);
 2237|     28|    if (!self)
  ------------------
  |  Branch (2237:9): [True: 0, False: 28]
  ------------------
 2238|      0|        goto error;
 2239|       |
 2240|     28|    self->dict = NULL;
 2241|     28|    self->traceback = self->cause = self->context = NULL;
 2242|     28|    self->written = -1;
 2243|       |
 2244|     28|    if (!oserror_use_init(type)) {
  ------------------
  |  Branch (2244:9): [True: 28, False: 0]
  ------------------
 2245|     28|        if (oserror_init(self, &args, myerrno, strerror, filename, filename2
  ------------------
  |  Branch (2245:13): [True: 0, False: 28]
  ------------------
 2246|       |#ifdef MS_WINDOWS
 2247|       |                         , winerror
 2248|       |#endif
 2249|     28|            ))
 2250|      0|            goto error;
 2251|     28|    }
 2252|      0|    else {
 2253|      0|        self->args = PyTuple_New(0);
 2254|      0|        if (self->args == NULL)
  ------------------
  |  Branch (2254:13): [True: 0, False: 0]
  ------------------
 2255|      0|            goto error;
 2256|      0|    }
 2257|       |
 2258|     28|    Py_XDECREF(args);
  ------------------
  |  |  524|     28|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2259|     28|    return (PyObject *) self;
 2260|       |
 2261|      0|error:
 2262|      0|    Py_XDECREF(args);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2263|      0|    Py_XDECREF(self);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2264|       |    return NULL;
 2265|     28|}
exceptions.c:NameError_dealloc:
 2613|      1|{
 2614|      1|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  509|      1|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2615|      1|    (void)NameError_clear(self);
 2616|      1|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|      1|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2617|      1|}
exceptions.c:PyNameErrorObject_CAST:
 2571|      2|{
 2572|      2|    assert(PyObject_TypeCheck(self, (PyTypeObject *)PyExc_NameError));
  ------------------
  |  Branch (2572:5): [True: 2, False: 0]
  ------------------
 2573|      2|    return (PyNameErrorObject *)self;
 2574|      2|}
exceptions.c:NameError_clear:
 2605|      1|{
 2606|      1|    PyNameErrorObject *self = PyNameErrorObject_CAST(op);
 2607|       |    Py_CLEAR(self->name);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2608|      1|    return BaseException_clear(op);
 2609|      1|}
exceptions.c:NameError_init:
 2578|      1|{
 2579|      1|    static char *kwlist[] = {"name", NULL};
 2580|      1|    PyObject *name = NULL;
 2581|       |
 2582|      1|    if (BaseException_init(op, args, NULL) == -1) {
  ------------------
  |  Branch (2582:9): [True: 0, False: 1]
  ------------------
 2583|      0|        return -1;
 2584|      0|    }
 2585|       |
 2586|      1|    PyObject *empty_tuple = PyTuple_New(0);
 2587|      1|    if (!empty_tuple) {
  ------------------
  |  Branch (2587:9): [True: 0, False: 1]
  ------------------
 2588|      0|        return -1;
 2589|      0|    }
 2590|      1|    if (!PyArg_ParseTupleAndKeywords(empty_tuple, kwds, "|$O:NameError", kwlist,
  ------------------
  |  Branch (2590:9): [True: 0, False: 1]
  ------------------
 2591|      1|                                     &name)) {
 2592|      0|        Py_DECREF(empty_tuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2593|      0|        return -1;
 2594|      0|    }
 2595|      1|    Py_DECREF(empty_tuple);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2596|       |
 2597|      1|    PyNameErrorObject *self = PyNameErrorObject_CAST(op);
 2598|      1|    Py_XSETREF(self->name, Py_XNewRef(name));
  ------------------
  |  |  374|      1|    do { \
  |  |  375|      1|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|      1|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|      1|        *_tmp_dst_ptr = (src); \
  |  |  378|      1|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2599|       |
 2600|      1|    return 0;
 2601|      1|}
exceptions.c:AttributeError_dealloc:
 2699|     74|{
 2700|     74|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  509|     74|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2701|     74|    (void)AttributeError_clear(self);
 2702|     74|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2703|     74|}
exceptions.c:PyAttributeErrorObject_CAST:
 2654|    148|{
 2655|    148|    assert(PyObject_TypeCheck(self, (PyTypeObject *)PyExc_AttributeError));
  ------------------
  |  Branch (2655:5): [True: 148, False: 0]
  ------------------
 2656|    148|    return (PyAttributeErrorObject *)self;
 2657|    148|}
exceptions.c:AttributeError_clear:
 2690|     74|{
 2691|     74|    PyAttributeErrorObject *self = PyAttributeErrorObject_CAST(op);
 2692|     74|    Py_CLEAR(self->obj);
  ------------------
  |  |  484|     74|    do { \
  |  |  485|     74|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     74|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     74|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     74|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     74|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 44, False: 30]
  |  |  ------------------
  |  |  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|     74|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 74]
  |  |  ------------------
  ------------------
 2693|       |    Py_CLEAR(self->name);
  ------------------
  |  |  484|     74|    do { \
  |  |  485|     74|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     74|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     74|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     74|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     74|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 44, False: 30]
  |  |  ------------------
  |  |  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|     74|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 74]
  |  |  ------------------
  ------------------
 2694|     74|    return BaseException_clear(op);
 2695|     74|}
exceptions.c:AttributeError_init:
 2661|     74|{
 2662|     74|    static char *kwlist[] = {"name", "obj", NULL};
 2663|     74|    PyObject *name = NULL;
 2664|     74|    PyObject *obj = NULL;
 2665|       |
 2666|     74|    if (BaseException_init(op, args, NULL) == -1) {
  ------------------
  |  Branch (2666:9): [True: 0, False: 74]
  ------------------
 2667|      0|        return -1;
 2668|      0|    }
 2669|       |
 2670|     74|    PyObject *empty_tuple = PyTuple_New(0);
 2671|     74|    if (!empty_tuple) {
  ------------------
  |  Branch (2671:9): [True: 0, False: 74]
  ------------------
 2672|      0|        return -1;
 2673|      0|    }
 2674|     74|    if (!PyArg_ParseTupleAndKeywords(empty_tuple, kwds, "|$OO:AttributeError", kwlist,
  ------------------
  |  Branch (2674:9): [True: 0, False: 74]
  ------------------
 2675|     74|                                     &name, &obj)) {
 2676|      0|        Py_DECREF(empty_tuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2677|      0|        return -1;
 2678|      0|    }
 2679|     74|    Py_DECREF(empty_tuple);
  ------------------
  |  |  430|     74|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2680|       |
 2681|     74|    PyAttributeErrorObject *self = PyAttributeErrorObject_CAST(op);
 2682|     74|    Py_XSETREF(self->name, Py_XNewRef(name));
  ------------------
  |  |  374|     74|    do { \
  |  |  375|     74|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     74|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|     74|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     74|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|     74|        *_tmp_dst_ptr = (src); \
  |  |  378|     74|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     74|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|     74|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 74]
  |  |  ------------------
  ------------------
 2683|     74|    Py_XSETREF(self->obj, Py_XNewRef(obj));
  ------------------
  |  |  374|     74|    do { \
  |  |  375|     74|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     74|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|     74|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     74|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|     74|        *_tmp_dst_ptr = (src); \
  |  |  378|     74|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     74|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|     74|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 74]
  |  |  ------------------
  ------------------
 2684|       |
 2685|     74|    return 0;
 2686|     74|}
exceptions.c:get_memory_error:
 4109|     32|{
 4110|     32|    PyBaseExceptionObject *self = NULL;
 4111|     32|    struct _Py_exc_state *state = get_exc_state();
 4112|       |
 4113|     32|    MEMERRORS_LOCK(state);
  ------------------
  |  | 4103|     32|# define MEMERRORS_LOCK(state) ((void)0)
  ------------------
 4114|     32|    if (state->memerrors_freelist != NULL) {
  ------------------
  |  Branch (4114:9): [True: 0, False: 32]
  ------------------
 4115|       |        /* Fetch MemoryError from freelist and initialize it */
 4116|      0|        self = state->memerrors_freelist;
 4117|      0|        state->memerrors_freelist = (PyBaseExceptionObject *) self->dict;
 4118|      0|        state->memerrors_numfree--;
 4119|      0|        self->dict = NULL;
 4120|      0|        self->args = (PyObject *)&_Py_SINGLETON(tuple_empty);
  ------------------
  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
 4121|      0|        _Py_NewReference((PyObject *)self);
 4122|      0|        _PyObject_GC_TRACK(self);
  ------------------
  |  |  507|      0|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4123|      0|    }
 4124|     32|    MEMERRORS_UNLOCK(state);
  ------------------
  |  | 4104|     32|# define MEMERRORS_UNLOCK(state) ((void)0)
  ------------------
 4125|       |
 4126|     32|    if (self != NULL) {
  ------------------
  |  Branch (4126:9): [True: 0, False: 32]
  ------------------
 4127|      0|        return (PyObject *)self;
 4128|      0|    }
 4129|       |
 4130|     32|    if (!allow_allocation) {
  ------------------
  |  Branch (4130:9): [True: 0, False: 32]
  ------------------
 4131|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 4132|      0|        return Py_NewRef(
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4133|      0|            &_Py_INTERP_SINGLETON(interp, last_resort_memory_error));
 4134|      0|    }
 4135|     32|    return BaseException_new((PyTypeObject *)PyExc_MemoryError, args, kwds);
 4136|     32|}
exceptions.c:MemoryError_dealloc:
 4167|     32|{
 4168|     32|    PyBaseExceptionObject *self = PyBaseExceptionObject_CAST(op);
 4169|     32|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  509|     32|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4170|       |
 4171|     32|    (void)BaseException_clear(op);
 4172|       |
 4173|       |    /* If this is a subclass of MemoryError, we don't need to
 4174|       |     * do anything in the free-list*/
 4175|     32|    if (!Py_IS_TYPE(self, (PyTypeObject *) PyExc_MemoryError)) {
  ------------------
  |  |  215|     32|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4175:9): [True: 0, False: 32]
  ------------------
 4176|      0|        Py_TYPE(self)->tp_free(op);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4177|      0|        return;
 4178|      0|    }
 4179|       |
 4180|     32|    struct _Py_exc_state *state = get_exc_state();
 4181|     32|    MEMERRORS_LOCK(state);
  ------------------
  |  | 4103|     32|# define MEMERRORS_LOCK(state) ((void)0)
  ------------------
 4182|     32|    if (state->memerrors_numfree < MEMERRORS_SAVE) {
  ------------------
  |  | 4097|     32|#define MEMERRORS_SAVE 16
  ------------------
  |  Branch (4182:9): [True: 32, False: 0]
  ------------------
 4183|     32|        self->dict = (PyObject *) state->memerrors_freelist;
 4184|     32|        state->memerrors_freelist = self;
 4185|     32|        state->memerrors_numfree++;
 4186|     32|        MEMERRORS_UNLOCK(state);
  ------------------
  |  | 4104|     32|# define MEMERRORS_UNLOCK(state) ((void)0)
  ------------------
 4187|     32|        return;
 4188|     32|    }
 4189|      0|    MEMERRORS_UNLOCK(state);
  ------------------
  |  | 4104|      0|# define MEMERRORS_UNLOCK(state) ((void)0)
  ------------------
 4190|       |
 4191|      0|    Py_TYPE(self)->tp_free((PyObject *)self);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4192|      0|}
exceptions.c:BaseException_traverse:
  151|    672|{
  152|    672|    PyBaseExceptionObject *self = PyBaseExceptionObject_CAST(op);
  153|    672|    Py_VISIT(self->dict);
  ------------------
  |  |  194|    672|    do {                                                                \
  |  |  195|    672|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 654]
  |  |  ------------------
  |  |  196|     18|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     18|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 18]
  |  |  ------------------
  |  |  198|     18|                return vret;                                            \
  |  |  199|     18|        }                                                               \
  |  |  200|    672|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 672]
  |  |  ------------------
  ------------------
  154|    672|    Py_VISIT(self->args);
  ------------------
  |  |  194|    672|    do {                                                                \
  |  |  195|    672|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 672, False: 0]
  |  |  ------------------
  |  |  196|    672|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    672|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    672|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    672|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 672]
  |  |  ------------------
  |  |  198|    672|                return vret;                                            \
  |  |  199|    672|        }                                                               \
  |  |  200|    672|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 672]
  |  |  ------------------
  ------------------
  155|    672|    Py_VISIT(self->notes);
  ------------------
  |  |  194|    672|    do {                                                                \
  |  |  195|    672|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 672]
  |  |  ------------------
  |  |  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|    672|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 672]
  |  |  ------------------
  ------------------
  156|    672|    Py_VISIT(self->traceback);
  ------------------
  |  |  194|    672|    do {                                                                \
  |  |  195|    672|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 14, False: 658]
  |  |  ------------------
  |  |  196|     14|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     14|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 14]
  |  |  ------------------
  |  |  198|     14|                return vret;                                            \
  |  |  199|     14|        }                                                               \
  |  |  200|    672|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 672]
  |  |  ------------------
  ------------------
  157|    672|    Py_VISIT(self->cause);
  ------------------
  |  |  194|    672|    do {                                                                \
  |  |  195|    672|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 672]
  |  |  ------------------
  |  |  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|    672|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 672]
  |  |  ------------------
  ------------------
  158|    672|    Py_VISIT(self->context);
  ------------------
  |  |  194|    672|    do {                                                                \
  |  |  195|    672|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 672]
  |  |  ------------------
  |  |  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|    672|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 672]
  |  |  ------------------
  ------------------
  159|    672|    return 0;
  160|    672|}
exceptions.c:BaseException_clear:
  126|  3.84M|{
  127|  3.84M|    PyBaseExceptionObject *self = PyBaseExceptionObject_CAST(op);
  128|  3.84M|    Py_CLEAR(self->dict);
  ------------------
  |  |  484|  3.84M|    do { \
  |  |  485|  3.84M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  3.84M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  3.84M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.84M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  3.84M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2.12k, False: 3.83M]
  |  |  ------------------
  |  |  488|  2.12k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  2.12k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  2.12k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  2.12k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  2.12k|        } \
  |  |  491|  3.84M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3.84M]
  |  |  ------------------
  ------------------
  129|  3.84M|    Py_CLEAR(self->args);
  ------------------
  |  |  484|  3.84M|    do { \
  |  |  485|  3.84M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  3.84M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  3.84M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.84M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  3.84M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 3.84M, False: 0]
  |  |  ------------------
  |  |  488|  3.84M|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  3.84M|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  3.84M|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  3.84M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.84M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.84M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  3.84M|        } \
  |  |  491|  3.84M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3.84M]
  |  |  ------------------
  ------------------
  130|  3.84M|    Py_CLEAR(self->notes);
  ------------------
  |  |  484|  3.84M|    do { \
  |  |  485|  3.84M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  3.84M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  3.84M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.84M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  3.84M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 3.84M]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_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.84M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3.84M]
  |  |  ------------------
  ------------------
  131|  3.84M|    Py_CLEAR(self->traceback);
  ------------------
  |  |  484|  3.84M|    do { \
  |  |  485|  3.84M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  3.84M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  3.84M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.84M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  3.84M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2.75M, False: 1.08M]
  |  |  ------------------
  |  |  488|  2.75M|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  2.75M|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  2.75M|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  2.75M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.75M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.75M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  2.75M|        } \
  |  |  491|  3.84M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3.84M]
  |  |  ------------------
  ------------------
  132|  3.84M|    Py_CLEAR(self->cause);
  ------------------
  |  |  484|  3.84M|    do { \
  |  |  485|  3.84M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  3.84M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  3.84M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.84M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  3.84M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 3.84M]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_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.84M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3.84M]
  |  |  ------------------
  ------------------
  133|       |    Py_CLEAR(self->context);
  ------------------
  |  |  484|  3.84M|    do { \
  |  |  485|  3.84M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  3.84M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  3.84M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.84M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  3.84M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 305, False: 3.84M]
  |  |  ------------------
  |  |  488|    305|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    305|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    305|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    305|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    305|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    305|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    305|        } \
  |  |  491|  3.84M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3.84M]
  |  |  ------------------
  ------------------
  134|  3.84M|    return 0;
  135|  3.84M|}
exceptions.c:BaseException_init:
   81|  2.21k|{
   82|  2.21k|    PyBaseExceptionObject *self = PyBaseExceptionObject_CAST(op);
   83|  2.21k|    if (!_PyArg_NoKeywords(Py_TYPE(self)->tp_name, kwds))
  ------------------
  |  |   25|  2.21k|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 2.21k, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   84|      0|        return -1;
   85|       |
   86|  2.21k|    Py_XSETREF(self->args, Py_NewRef(args));
  ------------------
  |  |  374|  2.21k|    do { \
  |  |  375|  2.21k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  2.21k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  2.21k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.21k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  2.21k|        *_tmp_dst_ptr = (src); \
  |  |  378|  2.21k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  2.21k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  2.21k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 2.21k]
  |  |  ------------------
  ------------------
   87|  2.21k|    return 0;
   88|  2.21k|}
exceptions.c:MemoryError_new:
 4140|     32|{
 4141|       |    /* If this is a subclass of MemoryError, don't use the freelist
 4142|       |     * and just return a fresh object */
 4143|     32|    if (type != (PyTypeObject *) PyExc_MemoryError) {
  ------------------
  |  Branch (4143:9): [True: 0, False: 32]
  ------------------
 4144|      0|        return BaseException_new(type, args, kwds);
 4145|      0|    }
 4146|     32|    return get_memory_error(1, args, kwds);
 4147|     32|}
exceptions.c:BaseException_new:
   53|  2.24k|{
   54|  2.24k|    PyBaseExceptionObject *self;
   55|       |
   56|  2.24k|    self = (PyBaseExceptionObject *)type->tp_alloc(type, 0);
   57|  2.24k|    if (!self)
  ------------------
  |  Branch (57:9): [True: 0, False: 2.24k]
  ------------------
   58|      0|        return NULL;
   59|       |    /* the dict is created on the fly in PyObject_GenericSetAttr */
   60|  2.24k|    self->dict = NULL;
   61|  2.24k|    self->notes = NULL;
   62|  2.24k|    self->traceback = self->cause = self->context = NULL;
   63|  2.24k|    self->suppress_context = 0;
   64|       |
   65|  2.24k|    if (args) {
  ------------------
  |  Branch (65:9): [True: 2.21k, False: 32]
  ------------------
   66|  2.21k|        self->args = Py_NewRef(args);
  ------------------
  |  |  550|  2.21k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   67|  2.21k|        return (PyObject *)self;
   68|  2.21k|    }
   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|  3.83M|{
   95|  3.83M|    PyTypeObject *type = _PyType_CAST(type_obj);
  ------------------
  |  |  770|  3.83M|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.83M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (95:26): [True: 3.83M, False: 0]
  ------------------
   96|  3.83M|    if (!_PyArg_NoKwnames(type->tp_name, kwnames)) {
  ------------------
  |  |   15|  3.83M|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 3.83M, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|       |
  100|  3.83M|    PyBaseExceptionObject *self;
  101|  3.83M|    self = (PyBaseExceptionObject *)type->tp_alloc(type, 0);
  102|  3.83M|    if (!self) {
  ------------------
  |  Branch (102:9): [True: 0, False: 3.83M]
  ------------------
  103|      0|        return NULL;
  104|      0|    }
  105|       |
  106|       |    // The dict is created on the fly in PyObject_GenericSetAttr()
  107|  3.83M|    self->dict = NULL;
  108|  3.83M|    self->notes = NULL;
  109|  3.83M|    self->traceback = NULL;
  110|  3.83M|    self->cause = NULL;
  111|  3.83M|    self->context = NULL;
  112|  3.83M|    self->suppress_context = 0;
  113|       |
  114|  3.83M|    self->args = PyTuple_FromArray(args, PyVectorcall_NARGS(nargsf));
  ------------------
  |  |   37|  3.83M|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  115|  3.83M|    if (!self->args) {
  ------------------
  |  Branch (115:9): [True: 0, False: 3.83M]
  ------------------
  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|  3.83M|    return (PyObject *)self;
  121|  3.83M|}
exceptions.c:preallocate_memerrors:
 4196|      2|{
 4197|       |    /* We create enough MemoryErrors and then decref them, which will fill
 4198|       |       up the freelist. */
 4199|      2|    int i;
 4200|       |
 4201|      2|    PyObject *errors[MEMERRORS_SAVE];
 4202|     34|    for (i = 0; i < MEMERRORS_SAVE; i++) {
  ------------------
  |  | 4097|     34|#define MEMERRORS_SAVE 16
  ------------------
  |  Branch (4202:17): [True: 32, False: 2]
  ------------------
 4203|     32|        errors[i] = MemoryError_new((PyTypeObject *) PyExc_MemoryError,
 4204|     32|                                    NULL, NULL);
 4205|     32|        if (!errors[i]) {
  ------------------
  |  Branch (4205:13): [True: 0, False: 32]
  ------------------
 4206|      0|            return -1;
 4207|      0|        }
 4208|     32|    }
 4209|     34|    for (i = 0; i < MEMERRORS_SAVE; i++) {
  ------------------
  |  | 4097|     34|#define MEMERRORS_SAVE 16
  ------------------
  |  Branch (4209:17): [True: 32, False: 2]
  ------------------
 4210|     32|        Py_DECREF(errors[i]);
  ------------------
  |  |  430|     32|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4211|     32|    }
 4212|      2|    return 0;
 4213|      2|}
exceptions.c:create_exception_group_class:
 1764|      2|create_exception_group_class(void) {
 1765|      2|    struct _Py_exc_state *state = get_exc_state();
 1766|       |
 1767|      2|    PyObject *bases = _PyTuple_FromPair(
 1768|      2|        PyExc_BaseExceptionGroup, PyExc_Exception);
 1769|      2|    if (bases == NULL) {
  ------------------
  |  Branch (1769:9): [True: 0, False: 2]
  ------------------
 1770|      0|        return NULL;
 1771|      0|    }
 1772|       |
 1773|      2|    assert(!state->PyExc_ExceptionGroup);
  ------------------
  |  Branch (1773:5): [True: 2, False: 0]
  ------------------
 1774|      2|    state->PyExc_ExceptionGroup = PyErr_NewException(
 1775|      2|        "builtins.ExceptionGroup", bases, NULL);
 1776|       |
 1777|      2|    Py_DECREF(bases);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1778|      2|    return state->PyExc_ExceptionGroup;
 1779|      2|}

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

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|    369|{
  127|    369|    PyFloatObject *op = _Py_FREELIST_POP(PyFloatObject, floats);
  ------------------
  |  |   43|    369|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|    369|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  128|    369|    if (op == NULL) {
  ------------------
  |  Branch (128:9): [True: 35, False: 334]
  ------------------
  129|     35|        op = PyObject_Malloc(sizeof(PyFloatObject));
  130|     35|        if (!op) {
  ------------------
  |  Branch (130:13): [True: 0, False: 35]
  ------------------
  131|      0|            return PyErr_NoMemory();
  132|      0|        }
  133|     35|        _PyObject_Init((PyObject*)op, &PyFloat_Type);
  134|     35|    }
  135|    369|    op->ob_fval = fval;
  136|    369|    return (PyObject *) op;
  137|    369|}
_PyFloat_ExactDealloc:
  231|    341|{
  232|    341|    assert(PyFloat_CheckExact(obj));
  ------------------
  |  Branch (232:5): [True: 341, False: 0]
  ------------------
  233|    341|    _Py_FREELIST_FREE(floats, obj, PyObject_Free);
  ------------------
  |  |   35|    341|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|    341|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    341|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|    341|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   18|    341|#  define Py_floats_MAXFREELIST 100
  |  |  ------------------
  ------------------
  234|    341|}
_PyFloat_InitTypes:
 1855|      2|{
 1856|       |    /* Init float info */
 1857|      2|    if (_PyStructSequence_InitBuiltin(interp, &FloatInfoType,
  ------------------
  |  Branch (1857:9): [True: 0, False: 2]
  ------------------
 1858|      2|                                      &floatinfo_desc) < 0)
 1859|      0|    {
 1860|      0|        return _PyStatus_ERR("can't init float info type");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 1861|      0|    }
 1862|       |
 1863|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1864|      2|}
PyFloat_Unpack8:
 2205|      4|{
 2206|      4|    unsigned char *p = (unsigned char *)data;
 2207|      4|    double x;
 2208|       |
 2209|      4|    if ((_PY_FLOAT_LITTLE_ENDIAN && !le) || (_PY_FLOAT_BIG_ENDIAN && le)) {
  ------------------
  |  |   51|      8|#  define _PY_FLOAT_LITTLE_ENDIAN 1
  |  |  ------------------
  |  |  |  Branch (51:35): [True: 4, Folded]
  |  |  ------------------
  ------------------
                  if ((_PY_FLOAT_LITTLE_ENDIAN && !le) || (_PY_FLOAT_BIG_ENDIAN && le)) {
  ------------------
  |  |   50|      0|#  define _PY_FLOAT_BIG_ENDIAN 0
  |  |  ------------------
  |  |  |  Branch (50:32): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2209:37): [True: 0, False: 4]
  |  Branch (2209:70): [True: 0, False: 0]
  ------------------
 2210|      0|        char buf[8];
 2211|      0|        char *d = &buf[7];
 2212|      0|        int i;
 2213|       |
 2214|      0|        for (i = 0; i < 8; i++) {
  ------------------
  |  Branch (2214:21): [True: 0, False: 0]
  ------------------
 2215|      0|            *d-- = *p++;
 2216|      0|        }
 2217|      0|        memcpy(&x, buf, 8);
 2218|      0|    }
 2219|      4|    else {
 2220|      4|        memcpy(&x, p, 8);
 2221|      4|    }
 2222|       |
 2223|      4|    return x;
 2224|      4|}
floatobject.c:float_dealloc:
  238|    341|{
  239|    341|    assert(PyFloat_Check(op));
  ------------------
  |  Branch (239:5): [True: 341, False: 0]
  ------------------
  240|    341|    if (PyFloat_CheckExact(op))
  ------------------
  |  |   17|    341|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|    341|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    341|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    341|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 341, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  241|    341|        _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|    341|}
floatobject.c:float___trunc___impl:
  864|     24|{
  865|     24|    return PyLong_FromDouble(PyFloat_AS_DOUBLE(self));
  ------------------
  |  |   18|     24|#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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  866|     24|}
floatobject.c:float_richcompare:
  373|     14|{
  374|     14|    double i, j;
  375|     14|    int r = 0;
  376|       |
  377|     14|    assert(PyFloat_Check(v));
  ------------------
  |  Branch (377:5): [True: 14, False: 0]
  ------------------
  378|     14|    i = PyFloat_AS_DOUBLE(v);
  ------------------
  |  |   18|     14|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#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|     14|    if (PyFloat_Check(w))
  ------------------
  |  |   16|     14|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  378|     14|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 7, False: 7]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  384|      7|        j = PyFloat_AS_DOUBLE(w);
  ------------------
  |  |   18|      7|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  385|       |
  386|      7|    else if (!isfinite(i)) {
  ------------------
  |  Branch (386:14): [True: 0, False: 7]
  ------------------
  387|      0|        if (PyLong_Check(w))
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|      0|            j = 0.0;
  393|      0|        else
  394|      0|            goto Unimplemented;
  395|      0|    }
  396|       |
  397|      7|    else if (PyLong_Check(w)) {
  ------------------
  |  |   13|      7|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      7|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 7, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  398|      7|        int vsign = i == 0.0 ? 0 : i < 0.0 ? -1 : 1;
  ------------------
  |  Branch (398:21): [True: 0, False: 7]
  |  Branch (398:36): [True: 0, False: 7]
  ------------------
  399|      7|        int wsign;
  400|      7|        int exponent;
  401|       |
  402|      7|        (void)PyLong_GetSign(w, &wsign);
  403|      7|        if (vsign != wsign) {
  ------------------
  |  Branch (403:13): [True: 7, False: 0]
  ------------------
  404|       |            /* Magnitudes are irrelevant -- the signs alone
  405|       |             * determine the outcome.
  406|       |             */
  407|      7|            i = (double)vsign;
  408|      7|            j = (double)wsign;
  409|      7|            goto Compare;
  410|      7|        }
  411|       |        /* The signs are the same. */
  412|       |        /* Convert w to a double if it fits.  In particular, 0 fits. */
  413|      0|        int64_t nbits64 = _PyLong_NumBits(w);
  414|      0|        assert(nbits64 >= 0);
  ------------------
  |  Branch (414:9): [True: 0, False: 0]
  ------------------
  415|      0|        assert(!PyErr_Occurred());
  ------------------
  |  Branch (415:9): [True: 0, False: 0]
  ------------------
  416|      0|        if (nbits64 > DBL_MAX_EXP) {
  ------------------
  |  Branch (416:13): [True: 0, False: 0]
  ------------------
  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);
  ------------------
  |  Branch (424:13): [True: 0, False: 0]
  ------------------
  425|      0|            j = wsign * 2.0;
  426|      0|            goto Compare;
  427|      0|        }
  428|      0|        int nbits = (int)nbits64;
  429|      0|        if (nbits <= 48) {
  ------------------
  |  Branch (429:13): [True: 0, False: 0]
  ------------------
  430|      0|            j = PyLong_AsDouble(w);
  431|       |            /* It's impossible that <= 48 bits overflowed. */
  432|      0|            assert(j != -1.0 || ! PyErr_Occurred());
  ------------------
  |  Branch (432:13): [True: 0, False: 0]
  |  Branch (432:13): [True: 0, False: 0]
  ------------------
  433|      0|            goto Compare;
  434|      0|        }
  435|      0|        assert(wsign != 0); /* else nbits was 0 */
  ------------------
  |  Branch (435:9): [True: 0, False: 0]
  ------------------
  436|      0|        assert(vsign != 0); /* if vsign were 0, then since wsign is
  ------------------
  |  Branch (436:9): [True: 0, False: 0]
  ------------------
  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|     14| Compare:
  508|     14|    switch (op) {
  ------------------
  |  Branch (508:13): [True: 14, False: 0]
  ------------------
  509|      0|    case Py_EQ:
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
  |  Branch (509:5): [True: 0, False: 14]
  ------------------
  510|      0|        r = i == j;
  511|      0|        break;
  512|     14|    case Py_NE:
  ------------------
  |  |  655|     14|#define Py_NE 3
  ------------------
  |  Branch (512:5): [True: 14, False: 0]
  ------------------
  513|     14|        r = i != j;
  514|     14|        break;
  515|      0|    case Py_LE:
  ------------------
  |  |  653|      0|#define Py_LE 1
  ------------------
  |  Branch (515:5): [True: 0, False: 14]
  ------------------
  516|      0|        r = i <= j;
  517|      0|        break;
  518|      0|    case Py_GE:
  ------------------
  |  |  657|      0|#define Py_GE 5
  ------------------
  |  Branch (518:5): [True: 0, False: 14]
  ------------------
  519|      0|        r = i >= j;
  520|      0|        break;
  521|      0|    case Py_LT:
  ------------------
  |  |  652|      0|#define Py_LT 0
  ------------------
  |  Branch (521:5): [True: 0, False: 14]
  ------------------
  522|      0|        r = i < j;
  523|      0|        break;
  524|      0|    case Py_GT:
  ------------------
  |  |  656|      0|#define Py_GT 4
  ------------------
  |  Branch (524:5): [True: 0, False: 14]
  ------------------
  525|      0|        r = i > j;
  526|      0|        break;
  527|     14|    }
  528|     14|    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|     14|}
floatobject.c:float_fromhex_impl:
 1227|      1|{
 1228|      1|    PyObject *result;
 1229|      1|    double x;
 1230|      1|    long exp, top_exp, lsb, key_digit;
 1231|      1|    const char *s, *coeff_start, *s_store, *coeff_end, *exp_start, *s_end;
 1232|      1|    int half_eps, digit, round_up, negate=0;
 1233|      1|    Py_ssize_t length, ndigits, fdigits, i;
 1234|       |
 1235|       |    /*
 1236|       |     * For the sake of simplicity and correctness, we impose an artificial
 1237|       |     * limit on ndigits, the total number of hex digits in the coefficient
 1238|       |     * The limit is chosen to ensure that, writing exp for the exponent,
 1239|       |     *
 1240|       |     *   (1) if exp > LONG_MAX/2 then the value of the hex string is
 1241|       |     *   guaranteed to overflow (provided it's nonzero)
 1242|       |     *
 1243|       |     *   (2) if exp < LONG_MIN/2 then the value of the hex string is
 1244|       |     *   guaranteed to underflow to 0.
 1245|       |     *
 1246|       |     *   (3) if LONG_MIN/2 <= exp <= LONG_MAX/2 then there's no danger of
 1247|       |     *   overflow in the calculation of exp and top_exp below.
 1248|       |     *
 1249|       |     * More specifically, ndigits is assumed to satisfy the following
 1250|       |     * inequalities:
 1251|       |     *
 1252|       |     *   4*ndigits <= DBL_MIN_EXP - DBL_MANT_DIG - LONG_MIN/2
 1253|       |     *   4*ndigits <= LONG_MAX/2 + 1 - DBL_MAX_EXP
 1254|       |     *
 1255|       |     * If either of these inequalities is not satisfied, a ValueError is
 1256|       |     * raised.  Otherwise, write x for the value of the hex string, and
 1257|       |     * assume x is nonzero.  Then
 1258|       |     *
 1259|       |     *   2**(exp-4*ndigits) <= |x| < 2**(exp+4*ndigits).
 1260|       |     *
 1261|       |     * Now if exp > LONG_MAX/2 then:
 1262|       |     *
 1263|       |     *   exp - 4*ndigits >= LONG_MAX/2 + 1 - (LONG_MAX/2 + 1 - DBL_MAX_EXP)
 1264|       |     *                    = DBL_MAX_EXP
 1265|       |     *
 1266|       |     * so |x| >= 2**DBL_MAX_EXP, which is too large to be stored in C
 1267|       |     * double, so overflows.  If exp < LONG_MIN/2, then
 1268|       |     *
 1269|       |     *   exp + 4*ndigits <= LONG_MIN/2 - 1 + (
 1270|       |     *                      DBL_MIN_EXP - DBL_MANT_DIG - LONG_MIN/2)
 1271|       |     *                    = DBL_MIN_EXP - DBL_MANT_DIG - 1
 1272|       |     *
 1273|       |     * and so |x| < 2**(DBL_MIN_EXP-DBL_MANT_DIG-1), hence underflows to 0
 1274|       |     * when converted to a C double.
 1275|       |     *
 1276|       |     * It's easy to show that if LONG_MIN/2 <= exp <= LONG_MAX/2 then both
 1277|       |     * exp+4*ndigits and exp-4*ndigits are within the range of a long.
 1278|       |     */
 1279|       |
 1280|      1|    s = PyUnicode_AsUTF8AndSize(string, &length);
 1281|      1|    if (s == NULL)
  ------------------
  |  Branch (1281:9): [True: 0, False: 1]
  ------------------
 1282|      0|        return NULL;
 1283|      1|    s_end = s + length;
 1284|       |
 1285|       |    /********************
 1286|       |     * Parse the string *
 1287|       |     ********************/
 1288|       |
 1289|       |    /* leading whitespace */
 1290|      1|    while (Py_ISSPACE(*s))
  ------------------
  |  |   27|      1|#define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |  138|      1|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |   13|      1|#define PY_CTF_SPACE  0x08
  |  |  ------------------
  |  |  |  Branch (27:24): [True: 0, False: 1]
  |  |  ------------------
  ------------------
 1291|      0|        s++;
 1292|       |
 1293|       |    /* infinities and nans */
 1294|      1|    x = _Py_parse_inf_or_nan(s, (char **)&coeff_end);
 1295|      1|    if (coeff_end != s) {
  ------------------
  |  Branch (1295:9): [True: 0, False: 1]
  ------------------
 1296|      0|        s = coeff_end;
 1297|      0|        goto finished;
 1298|      0|    }
 1299|       |
 1300|       |    /* optional sign */
 1301|      1|    if (*s == '-') {
  ------------------
  |  Branch (1301:9): [True: 0, False: 1]
  ------------------
 1302|      0|        s++;
 1303|      0|        negate = 1;
 1304|      0|    }
 1305|      1|    else if (*s == '+')
  ------------------
  |  Branch (1305:14): [True: 0, False: 1]
  ------------------
 1306|      0|        s++;
 1307|       |
 1308|       |    /* [0x] */
 1309|      1|    s_store = s;
 1310|      1|    if (*s == '0') {
  ------------------
  |  Branch (1310:9): [True: 1, False: 0]
  ------------------
 1311|      1|        s++;
 1312|      1|        if (*s == 'x' || *s == 'X')
  ------------------
  |  Branch (1312:13): [True: 1, False: 0]
  |  Branch (1312:26): [True: 0, False: 0]
  ------------------
 1313|      1|            s++;
 1314|      0|        else
 1315|      0|            s = s_store;
 1316|      1|    }
 1317|       |
 1318|       |    /* coefficient: <integer> [. <fraction>] */
 1319|      1|    coeff_start = s;
 1320|      2|    while (hex_from_char(*s) >= 0)
  ------------------
  |  Branch (1320:12): [True: 1, False: 1]
  ------------------
 1321|      1|        s++;
 1322|      1|    s_store = s;
 1323|      1|    if (*s == '.') {
  ------------------
  |  Branch (1323:9): [True: 1, False: 0]
  ------------------
 1324|      1|        s++;
 1325|     14|        while (hex_from_char(*s) >= 0)
  ------------------
  |  Branch (1325:16): [True: 13, False: 1]
  ------------------
 1326|     13|            s++;
 1327|      1|        coeff_end = s-1;
 1328|      1|    }
 1329|      0|    else
 1330|      0|        coeff_end = s;
 1331|       |
 1332|       |    /* ndigits = total # of hex digits; fdigits = # after point */
 1333|      1|    ndigits = coeff_end - coeff_start;
 1334|      1|    fdigits = coeff_end - s_store;
 1335|      1|    if (ndigits == 0)
  ------------------
  |  Branch (1335:9): [True: 0, False: 1]
  ------------------
 1336|      0|        goto parse_error;
 1337|      1|    if (ndigits > Py_MIN(DBL_MIN_EXP - DBL_MANT_DIG - LONG_MIN/2,
  ------------------
  |  |  112|      1|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [Folded, False: 1]
  |  |  ------------------
  ------------------
  |  Branch (1337:9): [True: 0, False: 1]
  ------------------
 1338|      1|                         LONG_MAX/2 + 1 - DBL_MAX_EXP)/4)
 1339|      0|        goto insane_length_error;
 1340|       |
 1341|       |    /* [p <exponent>] */
 1342|      1|    if (*s == 'p' || *s == 'P') {
  ------------------
  |  Branch (1342:9): [True: 1, False: 0]
  |  Branch (1342:22): [True: 0, False: 0]
  ------------------
 1343|      1|        s++;
 1344|      1|        exp_start = s;
 1345|      1|        if (*s == '-' || *s == '+')
  ------------------
  |  Branch (1345:13): [True: 1, False: 0]
  |  Branch (1345:26): [True: 0, False: 0]
  ------------------
 1346|      1|            s++;
 1347|      1|        if (!('0' <= *s && *s <= '9'))
  ------------------
  |  Branch (1347:15): [True: 1, False: 0]
  |  Branch (1347:28): [True: 1, False: 0]
  ------------------
 1348|      0|            goto parse_error;
 1349|      1|        s++;
 1350|      1|        while ('0' <= *s && *s <= '9')
  ------------------
  |  Branch (1350:16): [True: 0, False: 1]
  |  Branch (1350:29): [True: 0, False: 0]
  ------------------
 1351|      0|            s++;
 1352|      1|        exp = strtol(exp_start, NULL, 10);
 1353|      1|    }
 1354|      0|    else
 1355|      0|        exp = 0;
 1356|       |
 1357|       |/* for 0 <= j < ndigits, HEX_DIGIT(j) gives the jth most significant digit */
 1358|      1|#define HEX_DIGIT(j) hex_from_char(*((j) < fdigits ?            \
 1359|      1|                     coeff_end-(j) :                                    \
 1360|      1|                     coeff_end-1-(j)))
 1361|       |
 1362|       |    /*******************************************
 1363|       |     * Compute rounded value of the hex string *
 1364|       |     *******************************************/
 1365|       |
 1366|       |    /* Discard leading zeros, and catch extreme overflow and underflow */
 1367|      1|    while (ndigits > 0 && HEX_DIGIT(ndigits-1) == 0)
  ------------------
  |  | 1358|      1|#define HEX_DIGIT(j) hex_from_char(*((j) < fdigits ?            \
  |  |  ------------------
  |  |  |  Branch (1358:38): [True: 0, False: 1]
  |  |  ------------------
  |  | 1359|      1|                     coeff_end-(j) :                                    \
  |  | 1360|      1|                     coeff_end-1-(j)))
  ------------------
  |  Branch (1367:12): [True: 1, False: 0]
  |  Branch (1367:27): [True: 0, False: 1]
  ------------------
 1368|      0|        ndigits--;
 1369|      1|    if (ndigits == 0 || exp < LONG_MIN/2) {
  ------------------
  |  Branch (1369:9): [True: 0, False: 1]
  |  Branch (1369:25): [True: 0, False: 1]
  ------------------
 1370|      0|        x = 0.0;
 1371|      0|        goto finished;
 1372|      0|    }
 1373|      1|    if (exp > LONG_MAX/2)
  ------------------
  |  Branch (1373:9): [True: 0, False: 1]
  ------------------
 1374|      0|        goto overflow_error;
 1375|       |
 1376|       |    /* Adjust exponent for fractional part. */
 1377|      1|    exp = exp - 4*((long)fdigits);
 1378|       |
 1379|       |    /* top_exp = 1 more than exponent of most sig. bit of coefficient */
 1380|      1|    top_exp = exp + 4*((long)ndigits - 1);
 1381|      2|    for (digit = HEX_DIGIT(ndigits-1); digit != 0; digit /= 2)
  ------------------
  |  | 1358|      1|#define HEX_DIGIT(j) hex_from_char(*((j) < fdigits ?            \
  |  |  ------------------
  |  |  |  Branch (1358:38): [True: 0, False: 1]
  |  |  ------------------
  |  | 1359|      1|                     coeff_end-(j) :                                    \
  |  | 1360|      1|                     coeff_end-1-(j)))
  ------------------
  |  Branch (1381:40): [True: 1, False: 1]
  ------------------
 1382|      1|        top_exp++;
 1383|       |
 1384|       |    /* catch almost all nonextreme cases of overflow and underflow here */
 1385|      1|    if (top_exp < DBL_MIN_EXP - DBL_MANT_DIG) {
  ------------------
  |  Branch (1385:9): [True: 0, False: 1]
  ------------------
 1386|      0|        x = 0.0;
 1387|      0|        goto finished;
 1388|      0|    }
 1389|      1|    if (top_exp > DBL_MAX_EXP)
  ------------------
  |  Branch (1389:9): [True: 0, False: 1]
  ------------------
 1390|      0|        goto overflow_error;
 1391|       |
 1392|       |    /* lsb = exponent of least significant bit of the *rounded* value.
 1393|       |       This is top_exp - DBL_MANT_DIG unless result is subnormal. */
 1394|      1|    lsb = Py_MAX(top_exp, (long)DBL_MIN_EXP) - DBL_MANT_DIG;
  ------------------
  |  |  115|      1|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 1, False: 0]
  |  |  ------------------
  ------------------
 1395|       |
 1396|      1|    x = 0.0;
 1397|      1|    if (exp >= lsb) {
  ------------------
  |  Branch (1397:9): [True: 1, False: 0]
  ------------------
 1398|       |        /* no rounding required */
 1399|     15|        for (i = ndigits-1; i >= 0; i--)
  ------------------
  |  Branch (1399:29): [True: 14, False: 1]
  ------------------
 1400|     14|            x = 16.0*x + HEX_DIGIT(i);
  ------------------
  |  | 1358|     14|#define HEX_DIGIT(j) hex_from_char(*((j) < fdigits ?            \
  |  |  ------------------
  |  |  |  Branch (1358:38): [True: 13, False: 1]
  |  |  ------------------
  |  | 1359|     14|                     coeff_end-(j) :                                    \
  |  | 1360|     14|                     coeff_end-1-(j)))
  ------------------
 1401|      1|        x = ldexp(x, (int)(exp));
 1402|      1|        goto finished;
 1403|      1|    }
 1404|       |    /* rounding required.  key_digit is the index of the hex digit
 1405|       |       containing the first bit to be rounded away. */
 1406|      0|    half_eps = 1 << (int)((lsb - exp - 1) % 4);
 1407|      0|    key_digit = (lsb - exp - 1) / 4;
 1408|      0|    for (i = ndigits-1; i > key_digit; i--)
  ------------------
  |  Branch (1408:25): [True: 0, False: 0]
  ------------------
 1409|      0|        x = 16.0*x + HEX_DIGIT(i);
  ------------------
  |  | 1358|      0|#define HEX_DIGIT(j) hex_from_char(*((j) < fdigits ?            \
  |  |  ------------------
  |  |  |  Branch (1358:38): [True: 0, False: 0]
  |  |  ------------------
  |  | 1359|      0|                     coeff_end-(j) :                                    \
  |  | 1360|      0|                     coeff_end-1-(j)))
  ------------------
 1410|      0|    digit = HEX_DIGIT(key_digit);
  ------------------
  |  | 1358|      0|#define HEX_DIGIT(j) hex_from_char(*((j) < fdigits ?            \
  |  |  ------------------
  |  |  |  Branch (1358:38): [True: 0, False: 0]
  |  |  ------------------
  |  | 1359|      0|                     coeff_end-(j) :                                    \
  |  | 1360|      0|                     coeff_end-1-(j)))
  ------------------
 1411|      0|    x = 16.0*x + (double)(digit & (16-2*half_eps));
 1412|       |
 1413|       |    /* round-half-even: round up if bit lsb-1 is 1 and at least one of
 1414|       |       bits lsb, lsb-2, lsb-3, lsb-4, ... is 1. */
 1415|      0|    if ((digit & half_eps) != 0) {
  ------------------
  |  Branch (1415:9): [True: 0, False: 0]
  ------------------
 1416|      0|        round_up = 0;
 1417|      0|        if ((digit & (3*half_eps-1)) != 0 || (half_eps == 8 &&
  ------------------
  |  Branch (1417:13): [True: 0, False: 0]
  |  Branch (1417:47): [True: 0, False: 0]
  ------------------
 1418|      0|                key_digit+1 < ndigits && (HEX_DIGIT(key_digit+1) & 1) != 0))
  ------------------
  |  | 1358|      0|#define HEX_DIGIT(j) hex_from_char(*((j) < fdigits ?            \
  |  |  ------------------
  |  |  |  Branch (1358:38): [True: 0, False: 0]
  |  |  ------------------
  |  | 1359|      0|                     coeff_end-(j) :                                    \
  |  | 1360|      0|                     coeff_end-1-(j)))
  ------------------
  |  Branch (1418:17): [True: 0, False: 0]
  |  Branch (1418:42): [True: 0, False: 0]
  ------------------
 1419|      0|            round_up = 1;
 1420|      0|        else
 1421|      0|            for (i = key_digit-1; i >= 0; i--)
  ------------------
  |  Branch (1421:35): [True: 0, False: 0]
  ------------------
 1422|      0|                if (HEX_DIGIT(i) != 0) {
  ------------------
  |  | 1358|      0|#define HEX_DIGIT(j) hex_from_char(*((j) < fdigits ?            \
  |  |  ------------------
  |  |  |  Branch (1358:38): [True: 0, False: 0]
  |  |  ------------------
  |  | 1359|      0|                     coeff_end-(j) :                                    \
  |  | 1360|      0|                     coeff_end-1-(j)))
  ------------------
  |  Branch (1422:21): [True: 0, False: 0]
  ------------------
 1423|      0|                    round_up = 1;
 1424|      0|                    break;
 1425|      0|                }
 1426|      0|        if (round_up) {
  ------------------
  |  Branch (1426:13): [True: 0, False: 0]
  ------------------
 1427|      0|            x += 2*half_eps;
 1428|      0|            if (top_exp == DBL_MAX_EXP &&
  ------------------
  |  Branch (1428:17): [True: 0, False: 0]
  ------------------
 1429|      0|                x == ldexp((double)(2*half_eps), DBL_MANT_DIG))
  ------------------
  |  Branch (1429:17): [True: 0, False: 0]
  ------------------
 1430|       |                /* overflow corner case: pre-rounded value <
 1431|       |                   2**DBL_MAX_EXP; rounded=2**DBL_MAX_EXP. */
 1432|      0|                goto overflow_error;
 1433|      0|        }
 1434|      0|    }
 1435|      0|    x = ldexp(x, (int)(exp+4*key_digit));
 1436|       |
 1437|      1|  finished:
 1438|       |    /* optional trailing whitespace leading to the end of the string */
 1439|      1|    while (Py_ISSPACE(*s))
  ------------------
  |  |   27|      1|#define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |  138|      1|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |   13|      1|#define PY_CTF_SPACE  0x08
  |  |  ------------------
  |  |  |  Branch (27:24): [True: 0, False: 1]
  |  |  ------------------
  ------------------
 1440|      0|        s++;
 1441|      1|    if (s != s_end)
  ------------------
  |  Branch (1441:9): [True: 0, False: 1]
  ------------------
 1442|      0|        goto parse_error;
 1443|      1|    result = PyFloat_FromDouble(negate ? -x : x);
  ------------------
  |  Branch (1443:33): [True: 0, False: 1]
  ------------------
 1444|      1|    if (type != &PyFloat_Type && result != NULL) {
  ------------------
  |  Branch (1444:9): [True: 0, False: 1]
  |  Branch (1444:34): [True: 0, False: 0]
  ------------------
 1445|      0|        Py_SETREF(result, PyObject_CallOneArg((PyObject *)type, 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]
  |  |  ------------------
  ------------------
 1446|      0|    }
 1447|      1|    return result;
 1448|       |
 1449|      0|  overflow_error:
 1450|      0|    PyErr_SetString(PyExc_OverflowError,
 1451|      0|                    "hexadecimal value too large to represent as a float");
 1452|      0|    return NULL;
 1453|       |
 1454|      0|  parse_error:
 1455|      0|    PyErr_SetString(PyExc_ValueError,
 1456|      0|                    "invalid hexadecimal floating-point string");
 1457|      0|    return NULL;
 1458|       |
 1459|      0|  insane_length_error:
 1460|      0|    PyErr_SetString(PyExc_ValueError,
 1461|      0|                    "hexadecimal string too long to convert");
 1462|       |    return NULL;
 1463|      1|}
floatobject.c:hex_from_char:
 1132|     32|hex_from_char(unsigned char c) {
 1133|     32|    return _CHAR_TO_HEX[c];
 1134|     32|}

_PyFrameLocalsProxy_New:
  946|      2|{
  947|      2|    PyObject* args = PyTuple_Pack(1, frame);
  948|      2|    if (args == NULL) {
  ------------------
  |  Branch (948:9): [True: 0, False: 2]
  ------------------
  949|      0|        return NULL;
  950|      0|    }
  951|       |
  952|      2|    PyObject* proxy = framelocalsproxy_new(&PyFrameLocalsProxy_Type, args, NULL);
  953|      2|    Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  954|      2|    return proxy;
  955|      2|}
PyFrame_GetLineNumber:
  996|   549k|{
  997|   549k|    assert(f != NULL);
  ------------------
  |  Branch (997:5): [True: 549k, False: 0]
  ------------------
  998|   549k|    if (f->f_lineno == -1) {
  ------------------
  |  Branch (998:9): [True: 0, False: 549k]
  ------------------
  999|       |        // We should calculate it once. If we can't get the line number,
 1000|       |        // set f->f_lineno to 0.
 1001|      0|        f->f_lineno = PyUnstable_InterpreterFrame_GetLine(f->f_frame);
 1002|      0|        if (f->f_lineno < 0) {
  ------------------
  |  Branch (1002:13): [True: 0, False: 0]
  ------------------
 1003|      0|            f->f_lineno = 0;
 1004|      0|            return -1;
 1005|      0|        }
 1006|      0|    }
 1007|       |
 1008|   549k|    if (f->f_lineno > 0) {
  ------------------
  |  Branch (1008:9): [True: 0, False: 549k]
  ------------------
 1009|      0|        return f->f_lineno;
 1010|      0|    }
 1011|   549k|    return PyUnstable_InterpreterFrame_GetLine(f->f_frame);
 1012|   549k|}
_PyFrame_New_NoTrack:
 2116|  6.02M|{
 2117|  6.02M|    CALL_STAT_INC(frame_objects_created);
  ------------------
  |  |   76|  6.02M|#define CALL_STAT_INC(name) ((void)0)
  ------------------
 2118|  6.02M|    int slots = code->co_nlocalsplus + code->co_stacksize;
 2119|  6.02M|    PyFrameObject *f = PyObject_GC_NewVar(PyFrameObject, &PyFrame_Type, slots);
  ------------------
  |  |  183|  6.02M|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|  6.02M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2120|  6.02M|    if (f == NULL) {
  ------------------
  |  Branch (2120:9): [True: 0, False: 6.02M]
  ------------------
 2121|      0|        return NULL;
 2122|      0|    }
 2123|  6.02M|    f->f_back = NULL;
 2124|  6.02M|    f->f_trace = NULL;
 2125|  6.02M|    f->f_trace_lines = 1;
 2126|  6.02M|    f->f_trace_opcodes = 0;
 2127|  6.02M|    f->f_lineno = 0;
 2128|  6.02M|    f->f_extra_locals = NULL;
 2129|  6.02M|    f->f_locals_cache = NULL;
 2130|  6.02M|    f->f_overwritten_fast_locals = NULL;
 2131|       |    f->f_weakreflist = NULL;
 2132|  6.02M|    return f;
 2133|  6.02M|}
_PyFrame_HasHiddenLocals:
 2255|     16|{
 2256|       |    /*
 2257|       |     * This function returns if there are hidden locals introduced by PEP 709,
 2258|       |     * which are the isolated fast locals for inline comprehensions
 2259|       |     */
 2260|     16|    PyCodeObject* co = _PyFrame_GetCode(frame);
 2261|       |
 2262|     17|    for (int i = 0; i < co->co_nlocalsplus; i++) {
  ------------------
  |  Branch (2262:21): [True: 1, False: 16]
  ------------------
 2263|      1|        _PyLocals_Kind kind = _PyLocals_GetKind(co->co_localspluskinds, i);
 2264|       |
 2265|      1|        if (kind & CO_FAST_HIDDEN) {
  ------------------
  |  |  196|      1|#define CO_FAST_HIDDEN  (0x10)
  ------------------
  |  Branch (2265:13): [True: 1, False: 0]
  ------------------
 2266|      1|            if (framelocalsproxy_hasval(frame, co, i)) {
  ------------------
  |  Branch (2266:17): [True: 0, False: 1]
  ------------------
 2267|      0|                return true;
 2268|      0|            }
 2269|      1|        }
 2270|      1|    }
 2271|       |
 2272|     16|    return false;
 2273|     16|}
_PyFrame_GetLocals:
 2278|     16|{
 2279|       |    // We should try to avoid creating the FrameObject if possible.
 2280|       |    // So we check if the frame is a module or class level scope
 2281|     16|    PyCodeObject *co = _PyFrame_GetCode(frame);
 2282|       |
 2283|     16|    if (!(co->co_flags & CO_OPTIMIZED) && !_PyFrame_HasHiddenLocals(frame)) {
  ------------------
  |  |  122|     16|#define CO_OPTIMIZED    0x0001
  ------------------
  |  Branch (2283:9): [True: 16, False: 0]
  |  Branch (2283:43): [True: 16, False: 0]
  ------------------
 2284|     16|        if (frame->f_locals == NULL) {
  ------------------
  |  Branch (2284:13): [True: 0, False: 16]
  ------------------
 2285|       |            // We found cases when f_locals is NULL for non-optimized code.
 2286|       |            // We fill the f_locals with an empty dict to avoid crash until
 2287|       |            // we find the root cause.
 2288|      0|            frame->f_locals = PyDict_New();
 2289|      0|            if (frame->f_locals == NULL) {
  ------------------
  |  Branch (2289:17): [True: 0, False: 0]
  ------------------
 2290|      0|                return NULL;
 2291|      0|            }
 2292|      0|        }
 2293|     16|        return Py_NewRef(frame->f_locals);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2294|     16|    }
 2295|       |
 2296|      0|    PyFrameObject* f = _PyFrame_GetFrameObject(frame);
 2297|      0|    if (f == NULL) {
  ------------------
  |  Branch (2297:9): [True: 0, False: 0]
  ------------------
 2298|      0|        return NULL;
 2299|      0|    }
 2300|       |
 2301|      0|    return _PyFrameLocalsProxy_New(f);
 2302|      0|}
PyFrame_GetCode:
 2387|  89.7M|{
 2388|  89.7M|    assert(frame != NULL);
  ------------------
  |  Branch (2388:5): [True: 89.7M, False: 0]
  ------------------
 2389|  89.7M|    PyObject *code;
 2390|  89.7M|    Py_BEGIN_CRITICAL_SECTION(frame);
  ------------------
  |  |   51|  89.7M|    {
  ------------------
 2391|  89.7M|    assert(!_PyFrame_IsIncomplete(frame->f_frame));
  ------------------
  |  Branch (2391:5): [True: 89.7M, False: 0]
  ------------------
 2392|  89.7M|    code = Py_NewRef(_PyFrame_GetCode(frame->f_frame));
  ------------------
  |  |  550|  89.7M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  89.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  89.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2393|  89.7M|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  89.7M|    }
  ------------------
 2394|  89.7M|    return (PyCodeObject *)code;
 2395|  89.7M|}
PyFrame_GetBack:
 2400|  89.2M|{
 2401|  89.2M|    assert(frame != NULL);
  ------------------
  |  Branch (2401:5): [True: 89.2M, False: 0]
  ------------------
 2402|  89.2M|    assert(!_PyFrame_IsIncomplete(frame->f_frame));
  ------------------
  |  Branch (2402:5): [True: 89.2M, False: 0]
  ------------------
 2403|  89.2M|    PyFrameObject *back = frame->f_back;
 2404|  89.2M|    if (back == NULL) {
  ------------------
  |  Branch (2404:9): [True: 89.2M, False: 0]
  ------------------
 2405|  89.2M|        _PyInterpreterFrame *prev = frame->f_frame->previous;
 2406|  89.2M|        prev = _PyFrame_GetFirstComplete(prev);
 2407|  89.2M|        if (prev) {
  ------------------
  |  Branch (2407:13): [True: 88.6M, False: 531k]
  ------------------
 2408|  88.6M|            back = _PyFrame_GetFrameObject(prev);
 2409|  88.6M|            if (back == NULL) {
  ------------------
  |  Branch (2409:17): [True: 0, False: 88.6M]
  ------------------
 2410|      0|                return NULL;
 2411|      0|            }
 2412|  88.6M|        }
 2413|  89.2M|    }
 2414|  89.2M|    return (PyFrameObject*)Py_XNewRef(back);
  ------------------
  |  |  551|  89.2M|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  89.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  89.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2415|  89.2M|}
frameobject.c:framelocalsproxy_dealloc:
  415|      2|{
  416|      2|    PyFrameLocalsProxyObject *proxy = PyFrameLocalsProxyObject_CAST(self);
  ------------------
  |  |   31|      2|    (                                                               \
  |  |   32|      2|        assert(PyObject_TypeCheck((op), &PyFrameLocalsProxy_Type)), \
  |  |   33|      2|        (PyFrameLocalsProxyObject *)(op)                            \
  |  |   34|      2|    )
  ------------------
  |  Branch (416:39): [True: 2, False: 0]
  ------------------
  417|      0|    PyObject_GC_UnTrack(self);
  418|      2|    Py_CLEAR(proxy->frame);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  419|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  420|      2|}
frameobject.c:framelocalsproxy_getval:
   47|      1|{
   48|      1|    _PyStackRef *fast = _PyFrame_GetLocalsArray(frame);
   49|      1|    _PyLocals_Kind kind = _PyLocals_GetKind(co->co_localspluskinds, i);
   50|       |
   51|      1|    PyObject *value = PyStackRef_AsPyObjectBorrow(fast[i]);
   52|      1|    PyObject *cell = NULL;
   53|       |
   54|      1|    if (value == NULL) {
  ------------------
  |  Branch (54:9): [True: 1, False: 0]
  ------------------
   55|      1|        return NULL;
   56|      1|    }
   57|       |
   58|      0|    if (kind == CO_FAST_FREE || kind & CO_FAST_CELL) {
  ------------------
  |  |  199|      0|#define CO_FAST_FREE    (0x80)
  ------------------
                  if (kind == CO_FAST_FREE || kind & CO_FAST_CELL) {
  ------------------
  |  |  198|      0|#define CO_FAST_CELL    (0x40)
  ------------------
  |  Branch (58:9): [True: 0, False: 0]
  |  Branch (58:33): [True: 0, False: 0]
  ------------------
   59|       |        // The cell was set when the frame was created from
   60|       |        // the function's closure.
   61|       |        // GH-128396: With PEP 709, it's possible to have a fast variable in
   62|       |        // an inlined comprehension that has the same name as the cell variable
   63|       |        // in the frame, where the `kind` obtained from frame can not guarantee
   64|       |        // that the variable is a cell.
   65|       |        // If the variable is not a cell, we are okay with it and we can simply
   66|       |        // return the value.
   67|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   68|      0|            cell = value;
   69|      0|        }
   70|      0|    }
   71|       |
   72|      0|    if (cell != NULL) {
  ------------------
  |  Branch (72:9): [True: 0, False: 0]
  ------------------
   73|      0|        value = PyCell_GetRef((PyCellObject *)cell);
   74|      0|    }
   75|      0|    else {
   76|      0|        Py_XINCREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   77|      0|    }
   78|       |
   79|      0|    if (value == NULL) {
  ------------------
  |  Branch (79:9): [True: 0, False: 0]
  ------------------
   80|      0|        return NULL;
   81|      0|    }
   82|       |
   83|      0|    return value;
   84|      0|}
frameobject.c:framelocalsproxy_new:
  424|      2|{
  425|      2|    if (PyTuple_GET_SIZE(args) != 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 (425:9): [True: 0, False: 2]
  ------------------
  426|      0|        PyErr_Format(PyExc_TypeError,
  427|      0|                     "FrameLocalsProxy expected 1 argument, got %zd",
  428|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  429|      0|        return NULL;
  430|      0|    }
  431|      2|    PyObject *item = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (431:22): [True: 2, False: 0]
  ------------------
  432|       |
  433|      2|    if (!PyFrame_Check(item)) {
  ------------------
  |  |    8|      2|#define PyFrame_Check(op) Py_IS_TYPE((op), &PyFrame_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 (433:9): [True: 0, False: 2]
  ------------------
  434|      0|        PyErr_Format(PyExc_TypeError, "expect frame, not %T", item);
  435|      0|        return NULL;
  436|      0|    }
  437|      2|    PyFrameObject *frame = (PyFrameObject*)item;
  438|       |
  439|      2|    if (kwds != NULL && PyDict_Size(kwds) != 0) {
  ------------------
  |  Branch (439:9): [True: 0, False: 2]
  |  Branch (439:25): [True: 0, False: 0]
  ------------------
  440|      0|        PyErr_SetString(PyExc_TypeError,
  441|      0|                        "FrameLocalsProxy takes no keyword arguments");
  442|      0|        return 0;
  443|      0|    }
  444|       |
  445|      2|    PyFrameLocalsProxyObject *self = (PyFrameLocalsProxyObject *)type->tp_alloc(type, 0);
  446|      2|    if (self == NULL) {
  ------------------
  |  Branch (446:9): [True: 0, False: 2]
  ------------------
  447|      0|        return NULL;
  448|      0|    }
  449|       |
  450|      2|    ((PyFrameLocalsProxyObject*)self)->frame = (PyFrameObject*)Py_NewRef(frame);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  451|       |
  452|      2|    return (PyObject *)self;
  453|      2|}
frameobject.c:frame_dealloc:
 1927|  6.02M|{
 1928|       |    /* It is the responsibility of the owning generator/coroutine
 1929|       |     * to have cleared the generator pointer */
 1930|  6.02M|    PyFrameObject *f = PyFrameObject_CAST(op);
  ------------------
  |  |   28|  6.02M|    (assert(PyObject_TypeCheck((op), &PyFrame_Type)), (PyFrameObject *)(op))
  ------------------
  |  Branch (1930:24): [True: 6.02M, False: 0]
  ------------------
 1931|  6.02M|    if (_PyObject_GC_IS_TRACKED(f)) {
  ------------------
  |  |   81|  6.02M|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  6.02M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (81:37): [True: 3.09M, False: 2.93M]
  |  |  ------------------
  ------------------
 1932|  3.09M|        _PyObject_GC_UNTRACK(f);
  ------------------
  |  |  509|  3.09M|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.09M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.09M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1933|  3.09M|    }
 1934|       |
 1935|  6.02M|    FT_CLEAR_WEAKREFS(op, f->f_weakreflist);
  ------------------
  |  |   47|  6.02M|    do {                                            \
  |  |   48|  6.02M|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|  6.02M|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 6.02M]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|  6.02M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 6.02M]
  |  |  ------------------
  ------------------
  |  Branch (1935:5): [True: 6.02M, False: 0]
  ------------------
 1936|       |
 1937|       |    /* GH-106092: If f->f_frame was on the stack and we reached the maximum
 1938|       |     * nesting depth for deallocations, the trashcan may have delayed this
 1939|       |     * deallocation until after f->f_frame is freed. Avoid dereferencing
 1940|       |     * f->f_frame unless we know it still points to valid memory. */
 1941|  6.02M|    _PyInterpreterFrame *frame = (_PyInterpreterFrame *)f->_f_frame_data;
 1942|       |
 1943|       |    /* Kill all local variables including specials, if we own them */
 1944|  6.02M|    if (f->f_frame == frame && frame->owner == FRAME_OWNED_BY_FRAME_OBJECT) {
  ------------------
  |  Branch (1944:9): [True: 3.09M, False: 2.93M]
  |  Branch (1944:32): [True: 3.09M, False: 0]
  ------------------
 1945|  3.09M|        PyStackRef_CLEAR(frame->f_executable);
  ------------------
  |  |  732|  3.09M|    do { \
  |  |  733|  3.09M|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|  3.09M|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|  3.09M|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|  3.09M|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|  3.09M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 3.09M]
  |  |  ------------------
  ------------------
 1946|  3.09M|        PyStackRef_CLEAR(frame->f_funcobj);
  ------------------
  |  |  732|  3.09M|    do { \
  |  |  733|  3.09M|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|  3.09M|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|  3.09M|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|  3.09M|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|  3.09M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 3.09M]
  |  |  ------------------
  ------------------
 1947|  3.09M|        Py_CLEAR(frame->f_locals);
  ------------------
  |  |  484|  3.09M|    do { \
  |  |  485|  3.09M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  3.09M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  3.09M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.09M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  3.09M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 3.09M]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_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.09M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3.09M]
  |  |  ------------------
  ------------------
 1948|  3.09M|        _PyStackRef *locals = _PyFrame_GetLocalsArray(frame);
 1949|  3.09M|        _PyStackRef *sp = frame->stackpointer;
 1950|  16.8M|        while (sp > locals) {
  ------------------
  |  Branch (1950:16): [True: 13.7M, False: 3.09M]
  ------------------
 1951|  13.7M|            sp--;
 1952|  13.7M|            PyStackRef_CLEAR(*sp);
  ------------------
  |  |  732|  13.7M|    do { \
  |  |  733|  13.7M|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|  13.7M|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|  13.7M|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|  13.7M|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|  13.7M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 13.7M]
  |  |  ------------------
  ------------------
 1953|  13.7M|        }
 1954|  3.09M|    }
 1955|  6.02M|    Py_CLEAR(f->f_back);
  ------------------
  |  |  484|  6.02M|    do { \
  |  |  485|  6.02M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  6.02M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  6.02M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  6.02M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  6.02M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 3.05M, False: 2.96M]
  |  |  ------------------
  |  |  488|  3.05M|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  3.05M|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  3.05M|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  3.05M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  3.05M|        } \
  |  |  491|  6.02M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6.02M]
  |  |  ------------------
  ------------------
 1956|  6.02M|    Py_CLEAR(f->f_trace);
  ------------------
  |  |  484|  6.02M|    do { \
  |  |  485|  6.02M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  6.02M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  6.02M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  6.02M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  6.02M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 6.02M]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|  6.02M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6.02M]
  |  |  ------------------
  ------------------
 1957|  6.02M|    Py_CLEAR(f->f_extra_locals);
  ------------------
  |  |  484|  6.02M|    do { \
  |  |  485|  6.02M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  6.02M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  6.02M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  6.02M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  6.02M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 6.02M]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|  6.02M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6.02M]
  |  |  ------------------
  ------------------
 1958|  6.02M|    Py_CLEAR(f->f_locals_cache);
  ------------------
  |  |  484|  6.02M|    do { \
  |  |  485|  6.02M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  6.02M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  6.02M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  6.02M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  6.02M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 6.02M]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|  6.02M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6.02M]
  |  |  ------------------
  ------------------
 1959|       |    Py_CLEAR(f->f_overwritten_fast_locals);
  ------------------
  |  |  484|  6.02M|    do { \
  |  |  485|  6.02M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  6.02M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  6.02M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  6.02M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  6.02M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 6.02M]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|  6.02M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6.02M]
  |  |  ------------------
  ------------------
 1960|  6.02M|    PyObject_GC_Del(f);
 1961|  6.02M|}
frameobject.c:frame_traverse:
 1965|     14|{
 1966|     14|    PyFrameObject *f = PyFrameObject_CAST(op);
  ------------------
  |  |   28|     14|    (assert(PyObject_TypeCheck((op), &PyFrame_Type)), (PyFrameObject *)(op))
  ------------------
  |  Branch (1966:24): [True: 14, False: 0]
  ------------------
 1967|     14|    Py_VISIT(f->f_back);
  ------------------
  |  |  194|     14|    do {                                                                \
  |  |  195|     14|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 14, False: 0]
  |  |  ------------------
  |  |  196|     14|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     14|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 14]
  |  |  ------------------
  |  |  198|     14|                return vret;                                            \
  |  |  199|     14|        }                                                               \
  |  |  200|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
 1968|     14|    Py_VISIT(f->f_trace);
  ------------------
  |  |  194|     14|    do {                                                                \
  |  |  195|     14|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 14]
  |  |  ------------------
  |  |  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|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
 1969|     14|    Py_VISIT(f->f_extra_locals);
  ------------------
  |  |  194|     14|    do {                                                                \
  |  |  195|     14|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 14]
  |  |  ------------------
  |  |  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|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
 1970|     14|    Py_VISIT(f->f_locals_cache);
  ------------------
  |  |  194|     14|    do {                                                                \
  |  |  195|     14|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 14]
  |  |  ------------------
  |  |  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|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
 1971|     14|    Py_VISIT(f->f_overwritten_fast_locals);
  ------------------
  |  |  194|     14|    do {                                                                \
  |  |  195|     14|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 14]
  |  |  ------------------
  |  |  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|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
 1972|     14|    if (f->f_frame->owner != FRAME_OWNED_BY_FRAME_OBJECT) {
  ------------------
  |  Branch (1972:9): [True: 0, False: 14]
  ------------------
 1973|      0|        return 0;
 1974|      0|    }
 1975|     14|    assert(f->f_frame->frame_obj == NULL);
  ------------------
  |  Branch (1975:5): [True: 14, False: 0]
  ------------------
 1976|     14|    return _PyFrame_Traverse(f->f_frame, visit, arg);
 1977|     14|}
frameobject.c:framelocalsproxy_hasval:
   88|      1|{
   89|      1|    PyObject *value = framelocalsproxy_getval(frame, co, i);
   90|      1|    if (value == NULL) {
  ------------------
  |  Branch (90:9): [True: 1, False: 0]
  ------------------
   91|      1|        return false;
   92|      1|    }
   93|      0|    Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   94|       |    return true;
   95|      1|}
frameobject.c:frame_locals_get_impl:
  973|      2|{
  974|      2|    assert(!_PyFrame_IsIncomplete(self->f_frame));
  ------------------
  |  Branch (974:5): [True: 2, False: 0]
  ------------------
  975|       |
  976|      2|    PyCodeObject *co = _PyFrame_GetCode(self->f_frame);
  977|       |
  978|      2|    if (!(co->co_flags & CO_OPTIMIZED) && !_PyFrame_HasHiddenLocals(self->f_frame)) {
  ------------------
  |  |  122|      2|#define CO_OPTIMIZED    0x0001
  ------------------
  |  Branch (978:9): [True: 0, False: 2]
  |  Branch (978:43): [True: 0, False: 0]
  ------------------
  979|      0|        if (self->f_frame->f_locals == NULL) {
  ------------------
  |  Branch (979:13): [True: 0, False: 0]
  ------------------
  980|       |            // We found cases when f_locals is NULL for non-optimized code.
  981|       |            // We fill the f_locals with an empty dict to avoid crash until
  982|       |            // we find the root cause.
  983|      0|            self->f_frame->f_locals = PyDict_New();
  984|      0|            if (self->f_frame->f_locals == NULL) {
  ------------------
  |  Branch (984:17): [True: 0, False: 0]
  ------------------
  985|      0|                return NULL;
  986|      0|            }
  987|      0|        }
  988|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  989|      0|    }
  990|       |
  991|      2|    return _PyFrameLocalsProxy_New(self);
  992|      2|}

_PyFunction_FromConstructor:
  117|     63|{
  118|     63|    PyObject *module;
  119|     63|    if (PyDict_GetItemRef(constr->fc_globals, &_Py_ID(__name__), &module) < 0) {
  ------------------
  |  |  920|     63|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     63|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     63|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (119:9): [True: 0, False: 63]
  ------------------
  120|      0|        return NULL;
  121|      0|    }
  122|       |
  123|     63|    PyFunctionObject *op = PyObject_GC_New(PyFunctionObject, &PyFunction_Type);
  ------------------
  |  |  181|     63|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|     63|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  124|     63|    if (op == NULL) {
  ------------------
  |  Branch (124:9): [True: 0, False: 63]
  ------------------
  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|     63|    _Py_INCREF_DICT(constr->fc_globals);
  ------------------
  |  |  396|     63|#  define _Py_INCREF_DICT Py_INCREF
  |  |  ------------------
  |  |  |  |  310|     63|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     63|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     63|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  129|     63|    op->func_globals = constr->fc_globals;
  130|     63|    _Py_INCREF_BUILTINS(constr->fc_builtins);
  ------------------
  |  |  398|     63|#  define _Py_INCREF_BUILTINS Py_INCREF
  |  |  ------------------
  |  |  |  |  310|     63|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     63|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     63|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  131|     63|    op->func_builtins = constr->fc_builtins;
  132|     63|    op->func_name = Py_NewRef(constr->fc_name);
  ------------------
  |  |  550|     63|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     63|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     63|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  133|     63|    op->func_qualname = Py_NewRef(constr->fc_qualname);
  ------------------
  |  |  550|     63|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     63|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     63|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  134|     63|    _Py_INCREF_CODE((PyCodeObject *)constr->fc_code);
  ------------------
  |  |  311|     63|#  define _Py_INCREF_CODE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|     63|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     63|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     63|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  135|     63|    op->func_code = constr->fc_code;
  136|     63|    op->func_defaults = Py_XNewRef(constr->fc_defaults);
  ------------------
  |  |  551|     63|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     63|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     63|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  137|     63|    op->func_kwdefaults = Py_XNewRef(constr->fc_kwdefaults);
  ------------------
  |  |  551|     63|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     63|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     63|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  138|     63|    op->func_closure = Py_XNewRef(constr->fc_closure);
  ------------------
  |  |  551|     63|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     63|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     63|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  139|     63|    op->func_doc = Py_NewRef(Py_None);
  ------------------
  |  |  550|     63|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     63|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     63|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  140|     63|    op->func_dict = NULL;
  141|     63|    op->func_weakreflist = NULL;
  142|     63|    op->func_module = module;
  143|     63|    op->func_annotations = NULL;
  144|     63|    op->func_annotate = NULL;
  145|     63|    op->func_typeparams = NULL;
  146|     63|    op->vectorcall = _PyFunction_Vectorcall;
  147|     63|    op->func_version = FUNC_VERSION_UNSET;
  ------------------
  |  |   18|     63|#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|     63|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  507|     63|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     63|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     63|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  152|       |    handle_func_event(PyFunction_EVENT_CREATE, op, NULL);
  153|     63|    return op;
  154|     63|}
PyFunction_NewWithQualName:
  158|  1.01M|{
  159|  1.01M|    assert(globals != NULL);
  ------------------
  |  Branch (159:5): [True: 1.01M, False: 0]
  ------------------
  160|  1.01M|    assert(PyAnyDict_Check(globals));
  ------------------
  |  Branch (160:5): [True: 1.01M, False: 0]
  |  Branch (160:5): [True: 0, False: 0]
  ------------------
  161|  1.01M|    _Py_INCREF_DICT(globals);
  ------------------
  |  |  396|  1.01M|#  define _Py_INCREF_DICT Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  1.01M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  162|       |
  163|  1.01M|    PyCodeObject *code_obj = (PyCodeObject *)code;
  164|  1.01M|    _Py_INCREF_CODE(code_obj);
  ------------------
  |  |  311|  1.01M|#  define _Py_INCREF_CODE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  1.01M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  165|       |
  166|  1.01M|    assert(code_obj->co_name != NULL);
  ------------------
  |  Branch (166:5): [True: 1.01M, False: 0]
  ------------------
  167|  1.01M|    PyObject *name = Py_NewRef(code_obj->co_name);
  ------------------
  |  |  550|  1.01M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  168|       |
  169|  1.01M|    if (!qualname) {
  ------------------
  |  Branch (169:9): [True: 1.01M, False: 0]
  ------------------
  170|  1.01M|        qualname = code_obj->co_qualname;
  171|  1.01M|    }
  172|  1.01M|    assert(qualname != NULL);
  ------------------
  |  Branch (172:5): [True: 1.01M, False: 0]
  ------------------
  173|  1.01M|    Py_INCREF(qualname);
  ------------------
  |  |  310|  1.01M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  174|       |
  175|  1.01M|    PyObject *consts = code_obj->co_consts;
  176|  1.01M|    assert(PyTuple_Check(consts));
  ------------------
  |  Branch (176:5): [True: 1.01M, False: 0]
  ------------------
  177|  1.01M|    PyObject *doc;
  178|  1.01M|    if (code_obj->co_flags & CO_HAS_DOCSTRING) {
  ------------------
  |  |  154|  1.01M|#define CO_HAS_DOCSTRING 0x4000000
  ------------------
  |  Branch (178:9): [True: 1.15k, False: 1.01M]
  ------------------
  179|  1.15k|        assert(PyTuple_Size(consts) >= 1);
  ------------------
  |  Branch (179:9): [True: 1.15k, False: 0]
  ------------------
  180|  1.15k|        doc = PyTuple_GetItem(consts, 0);
  181|  1.15k|        if (!PyUnicode_Check(doc)) {
  ------------------
  |  |  103|  1.15k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.15k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (181:13): [True: 0, False: 1.15k]
  ------------------
  182|      0|            doc = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  183|      0|        }
  184|  1.15k|    }
  185|  1.01M|    else {
  186|  1.01M|        doc = Py_None;
  ------------------
  |  |  616|  1.01M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  187|  1.01M|    }
  188|  1.01M|    Py_INCREF(doc);
  ------------------
  |  |  310|  1.01M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  189|       |
  190|       |    // __module__: Use globals['__name__'] if it exists, or NULL.
  191|  1.01M|    PyObject *module;
  192|  1.01M|    PyObject *builtins = NULL;
  193|  1.01M|    if (PyDict_GetItemRef(globals, &_Py_ID(__name__), &module) < 0) {
  ------------------
  |  |  920|  1.01M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.01M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.01M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (193:9): [True: 0, False: 1.01M]
  ------------------
  194|      0|        goto error;
  195|      0|    }
  196|       |
  197|  1.01M|    builtins = _PyDict_LoadBuiltinsFromGlobals(globals);
  198|  1.01M|    if (builtins == NULL) {
  ------------------
  |  Branch (198:9): [True: 0, False: 1.01M]
  ------------------
  199|      0|        goto error;
  200|      0|    }
  201|       |
  202|  1.01M|    PyFunctionObject *op = PyObject_GC_New(PyFunctionObject, &PyFunction_Type);
  ------------------
  |  |  181|  1.01M|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  1.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  203|  1.01M|    if (op == NULL) {
  ------------------
  |  Branch (203:9): [True: 0, False: 1.01M]
  ------------------
  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|  1.01M|    op->func_globals = globals;
  210|  1.01M|    op->func_builtins = builtins;
  211|  1.01M|    op->func_name = name;
  212|  1.01M|    op->func_qualname = qualname;
  213|  1.01M|    op->func_code = (PyObject*)code_obj;
  214|  1.01M|    op->func_defaults = NULL;    // No default positional arguments
  215|  1.01M|    op->func_kwdefaults = NULL;  // No default keyword arguments
  216|  1.01M|    op->func_closure = NULL;
  217|  1.01M|    op->func_doc = doc;
  218|  1.01M|    op->func_dict = NULL;
  219|  1.01M|    op->func_weakreflist = NULL;
  220|  1.01M|    op->func_module = module;
  221|  1.01M|    op->func_annotations = NULL;
  222|  1.01M|    op->func_annotate = NULL;
  223|  1.01M|    op->func_typeparams = NULL;
  224|  1.01M|    op->vectorcall = _PyFunction_Vectorcall;
  225|  1.01M|    op->func_version = FUNC_VERSION_UNSET;
  ------------------
  |  |   18|  1.01M|#define FUNC_VERSION_UNSET 0
  ------------------
  226|  1.01M|    if (((code_obj->co_flags & CO_NESTED) == 0) ||
  ------------------
  |  |  126|  1.01M|#define CO_NESTED       0x0010
  ------------------
  |  Branch (226:9): [True: 2.43k, False: 1.01M]
  ------------------
  227|  1.01M|        (code_obj->co_flags & CO_METHOD)) {
  ------------------
  |  |  157|  1.01M|#define CO_METHOD  0x8000000
  ------------------
  |  Branch (227:9): [True: 6, False: 1.01M]
  ------------------
  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|  2.44k|        _PyObject_SetDeferredRefcount((PyObject *)op);
  235|  2.44k|    }
  236|  1.01M|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  507|  1.01M|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  237|  1.01M|    handle_func_event(PyFunction_EVENT_CREATE, op, NULL);
  238|  1.01M|    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|  1.01M|}
_PyFunction_SetVersion:
  320|  1.01M|{
  321|  1.01M|    assert(func->func_version == FUNC_VERSION_UNSET);
  ------------------
  |  Branch (321:5): [True: 1.01M, False: 0]
  ------------------
  322|  1.01M|    assert(version >= FUNC_VERSION_FIRST_VALID);
  ------------------
  |  Branch (322:5): [True: 1.01M, False: 0]
  ------------------
  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|  1.01M|    func->func_version = version;
  326|  1.01M|#ifndef Py_GIL_DISABLED
  327|  1.01M|    PyInterpreterState *interp = _PyInterpreterState_GET();
  328|  1.01M|    struct _func_version_cache_item *slot = get_cache_item(interp, version);
  329|  1.01M|    slot->func = func;
  330|  1.01M|    slot->code = func->func_code;
  331|  1.01M|#endif
  332|  1.01M|}
_PyFunction_ClearCodeByVersion:
  368|    490|{
  369|    490|#ifndef Py_GIL_DISABLED
  370|    490|    PyInterpreterState *interp = _PyInterpreterState_GET();
  371|    490|    struct _func_version_cache_item *slot = get_cache_item(interp, version);
  372|    490|    if (slot->code) {
  ------------------
  |  Branch (372:9): [True: 363, False: 127]
  ------------------
  373|    363|        assert(PyCode_Check(slot->code));
  ------------------
  |  Branch (373:9): [True: 363, False: 0]
  ------------------
  374|    363|        PyCodeObject *code = (PyCodeObject *)slot->code;
  375|    363|        if (code->co_version == version) {
  ------------------
  |  Branch (375:13): [True: 363, False: 0]
  ------------------
  376|    363|            slot->code = NULL;
  377|       |            slot->func = NULL;
  378|    363|        }
  379|    363|    }
  380|    490|#endif
  381|    490|}
_PyFunction_GetVersionForCurrentState:
  385|  17.4k|{
  386|  17.4k|    return func->func_version;
  387|  17.4k|}
PyFunction_New:
  391|  1.01M|{
  392|       |    return PyFunction_NewWithQualName(code, globals, NULL);
  393|  1.01M|}
PyFunction_GetModule:
  417|      3|{
  418|      3|    if (!PyFunction_Check(op)) {
  ------------------
  |  |   68|      3|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_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 (418:9): [True: 0, False: 3]
  ------------------
  419|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  420|      0|        return NULL;
  421|      0|    }
  422|      3|    return ((PyFunctionObject *) op) -> func_module;
  423|      3|}
PyClassMethod_New:
 1637|      1|{
 1638|      1|    classmethod *cm = (classmethod *)
 1639|      1|        PyType_GenericAlloc(&PyClassMethod_Type, 0);
 1640|      1|    if (cm == NULL) {
  ------------------
  |  Branch (1640:9): [True: 0, False: 1]
  ------------------
 1641|      0|        return NULL;
 1642|      0|    }
 1643|      1|    if (cm_set_callable(cm, callable) < 0) {
  ------------------
  |  Branch (1643:9): [True: 0, False: 1]
  ------------------
 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|      1|    return (PyObject *)cm;
 1648|      1|}
PyStaticMethod_New:
 1903|     28|{
 1904|     28|    staticmethod *sm = (staticmethod *)
 1905|     28|        PyType_GenericAlloc(&PyStaticMethod_Type, 0);
 1906|     28|    if (sm == NULL) {
  ------------------
  |  Branch (1906:9): [True: 0, False: 28]
  ------------------
 1907|      0|        return NULL;
 1908|      0|    }
 1909|     28|    _PyObject_SetDeferredRefcount((PyObject *)sm);
 1910|     28|    if (sm_set_callable(sm, callable) < 0) {
  ------------------
  |  Branch (1910:9): [True: 0, False: 28]
  ------------------
 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|     28|    return (PyObject *)sm;
 1915|     28|}
_PyStaticMethod_GetFunc:
 1926|    699|{
 1927|    699|    staticmethod *sm = _PyStaticMethod_CAST(self);
  ------------------
  |  | 1676|    699|    (assert(PyObject_TypeCheck((cm), &PyStaticMethod_Type)), \
  |  | 1677|    699|     _Py_CAST(staticmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|    699|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1927:24): [True: 699, False: 0]
  ------------------
 1928|      0|    return sm->sm_callable;
 1929|    699|}
funcobject.c:handle_func_event:
   55|  2.02M|{
   56|  2.02M|    assert(Py_REFCNT(func) > 0);
  ------------------
  |  Branch (56:5): [True: 2.02M, False: 0]
  ------------------
   57|  2.02M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   58|  2.02M|    assert(interp->_initialized);
  ------------------
  |  Branch (58:5): [True: 2.02M, False: 0]
  ------------------
   59|  2.02M|    if (interp->active_func_watchers) {
  ------------------
  |  Branch (59:9): [True: 0, False: 2.02M]
  ------------------
   60|      0|        notify_func_watchers(interp, event, func, new_value);
   61|      0|    }
   62|  2.02M|    switch (event) {
   63|      0|        case PyFunction_EVENT_MODIFY_CODE:
  ------------------
  |  Branch (63:9): [True: 0, False: 2.02M]
  ------------------
   64|      0|        case PyFunction_EVENT_MODIFY_DEFAULTS:
  ------------------
  |  Branch (64:9): [True: 0, False: 2.02M]
  ------------------
   65|      0|        case PyFunction_EVENT_MODIFY_KWDEFAULTS:
  ------------------
  |  Branch (65:9): [True: 0, False: 2.02M]
  ------------------
   66|     40|        case PyFunction_EVENT_MODIFY_QUALNAME:
  ------------------
  |  Branch (66:9): [True: 40, False: 2.02M]
  ------------------
   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|     40|            RARE_EVENT_INTERP_INC(interp, func_modification);
  ------------------
  |  |   98|     40|    do { \
  |  |   99|     40|        /* saturating add */ \
  |  |  100|     40|        uint8_t val = FT_ATOMIC_LOAD_UINT8_RELAXED(interp->rare_events.name); \
  |  |  ------------------
  |  |  |  |  157|     40|#define FT_ATOMIC_LOAD_UINT8_RELAXED(value) value
  |  |  ------------------
  |  |  101|     40|        if (val < UINT8_MAX) { \
  |  |  ------------------
  |  |  |  Branch (101:13): [True: 40, False: 0]
  |  |  ------------------
  |  |  102|     40|            FT_ATOMIC_STORE_UINT8(interp->rare_events.name, val + 1); \
  |  |  ------------------
  |  |  |  |  155|     40|#define FT_ATOMIC_STORE_UINT8(value, new_value) value = new_value
  |  |  ------------------
  |  |  103|     40|        } \
  |  |  104|     40|        RARE_EVENT_STAT_INC(name); \
  |  |  ------------------
  |  |  |  |   89|     40|#define RARE_EVENT_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  |  105|     40|    } while (0); \
  |  |  ------------------
  |  |  |  Branch (105:14): [Folded, False: 40]
  |  |  ------------------
  ------------------
   75|     40|            break;
   76|  2.02M|        default:
  ------------------
  |  Branch (76:9): [True: 2.02M, False: 40]
  ------------------
   77|  2.02M|            break;
   78|  2.02M|    }
   79|  2.02M|}
funcobject.c:get_cache_item:
  312|  2.02M|{
  313|  2.02M|    return interp->func_state.func_version_cache +
  314|  2.02M|           (version % FUNC_VERSION_CACHE_SIZE);
  ------------------
  |  |  509|  2.02M|#define FUNC_VERSION_CACHE_SIZE (1<<12)  /* Must be a power of 2 */
  ------------------
  315|  2.02M|}
funcobject.c:func_clear_version:
  336|  1.01M|{
  337|  1.01M|    if (func->func_version < FUNC_VERSION_FIRST_VALID) {
  ------------------
  |  |   20|  1.01M|#define FUNC_VERSION_FIRST_VALID 2
  ------------------
  |  Branch (337:9): [True: 108, False: 1.01M]
  ------------------
  338|       |        // Version was never set or has already been cleared.
  339|    108|        return;
  340|    108|    }
  341|  1.01M|#ifndef Py_GIL_DISABLED
  342|  1.01M|    struct _func_version_cache_item *slot =
  343|  1.01M|        get_cache_item(interp, func->func_version);
  344|  1.01M|    if (slot->func == func) {
  ------------------
  |  Branch (344:9): [True: 1.00M, False: 9.95k]
  ------------------
  345|  1.00M|        slot->func = NULL;
  346|       |        // Leave slot->code alone, there may be use for it.
  347|  1.00M|    }
  348|  1.01M|#endif
  349|  1.01M|    func->func_version = FUNC_VERSION_CLEARED;
  ------------------
  |  |   19|  1.01M|#define FUNC_VERSION_CLEARED 1
  ------------------
  350|  1.01M|}
funcobject.c:func_dealloc:
 1129|  1.01M|{
 1130|  1.01M|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|  1.01M|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|  1.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1130:28): [True: 1.01M, False: 0]
  ------------------
 1131|      0|    _PyObject_ResurrectStart(self);
 1132|  1.01M|    handle_func_event(PyFunction_EVENT_DESTROY, op, NULL);
 1133|  1.01M|    if (_PyObject_ResurrectEnd(self)) {
  ------------------
  |  Branch (1133:9): [True: 0, False: 1.01M]
  ------------------
 1134|      0|        return;
 1135|      0|    }
 1136|  1.01M|    _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  509|  1.01M|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1137|  1.01M|    FT_CLEAR_WEAKREFS(self, op->func_weakreflist);
  ------------------
  |  |   47|  1.01M|    do {                                            \
  |  |   48|  1.01M|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|  1.01M|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 1.01M]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|  1.01M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 1.01M]
  |  |  ------------------
  ------------------
  |  Branch (1137:5): [True: 1.01M, False: 0]
  ------------------
 1138|  1.01M|    (void)func_clear((PyObject*)op);
 1139|       |    // These aren't cleared by func_clear().
 1140|  1.01M|    _Py_DECREF_CODE((PyCodeObject *)op->func_code);
  ------------------
  |  |  312|  1.01M|#  define _Py_DECREF_CODE Py_DECREF
  |  |  ------------------
  |  |  |  |  430|  1.01M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1141|  1.01M|    Py_DECREF(op->func_name);
  ------------------
  |  |  430|  1.01M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1142|  1.01M|    Py_DECREF(op->func_qualname);
  ------------------
  |  |  430|  1.01M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1143|  1.01M|    PyObject_GC_Del(op);
 1144|  1.01M|}
funcobject.c:func_traverse:
 1156|   415k|{
 1157|   415k|    PyFunctionObject *f = _PyFunction_CAST(self);
  ------------------
  |  |   86|   415k|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|   415k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1157:27): [True: 415k, False: 0]
  ------------------
 1158|   415k|    Py_VISIT(f->func_code);
  ------------------
  |  |  194|   415k|    do {                                                                \
  |  |  195|   415k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 415k, False: 0]
  |  |  ------------------
  |  |  196|   415k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   415k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   415k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   415k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 415k]
  |  |  ------------------
  |  |  198|   415k|                return vret;                                            \
  |  |  199|   415k|        }                                                               \
  |  |  200|   415k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 415k]
  |  |  ------------------
  ------------------
 1159|   415k|    Py_VISIT(f->func_globals);
  ------------------
  |  |  194|   415k|    do {                                                                \
  |  |  195|   415k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 415k, False: 0]
  |  |  ------------------
  |  |  196|   415k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   415k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   415k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   415k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 415k]
  |  |  ------------------
  |  |  198|   415k|                return vret;                                            \
  |  |  199|   415k|        }                                                               \
  |  |  200|   415k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 415k]
  |  |  ------------------
  ------------------
 1160|   415k|    Py_VISIT(f->func_builtins);
  ------------------
  |  |  194|   415k|    do {                                                                \
  |  |  195|   415k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 415k, False: 0]
  |  |  ------------------
  |  |  196|   415k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   415k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   415k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   415k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 415k]
  |  |  ------------------
  |  |  198|   415k|                return vret;                                            \
  |  |  199|   415k|        }                                                               \
  |  |  200|   415k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 415k]
  |  |  ------------------
  ------------------
 1161|   415k|    Py_VISIT(f->func_module);
  ------------------
  |  |  194|   415k|    do {                                                                \
  |  |  195|   415k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 415k, False: 4]
  |  |  ------------------
  |  |  196|   415k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   415k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   415k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   415k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 415k]
  |  |  ------------------
  |  |  198|   415k|                return vret;                                            \
  |  |  199|   415k|        }                                                               \
  |  |  200|   415k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 415k]
  |  |  ------------------
  ------------------
 1162|   415k|    Py_VISIT(f->func_defaults);
  ------------------
  |  |  194|   415k|    do {                                                                \
  |  |  195|   415k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 72.7k, False: 342k]
  |  |  ------------------
  |  |  196|  72.7k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  72.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  72.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  72.7k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 72.7k]
  |  |  ------------------
  |  |  198|  72.7k|                return vret;                                            \
  |  |  199|  72.7k|        }                                                               \
  |  |  200|   415k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 415k]
  |  |  ------------------
  ------------------
 1163|   415k|    Py_VISIT(f->func_kwdefaults);
  ------------------
  |  |  194|   415k|    do {                                                                \
  |  |  195|   415k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 8.83k, False: 406k]
  |  |  ------------------
  |  |  196|  8.83k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  8.83k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  8.83k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 8.83k]
  |  |  ------------------
  |  |  198|  8.83k|                return vret;                                            \
  |  |  199|  8.83k|        }                                                               \
  |  |  200|   415k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 415k]
  |  |  ------------------
  ------------------
 1164|   415k|    Py_VISIT(f->func_doc);
  ------------------
  |  |  194|   415k|    do {                                                                \
  |  |  195|   415k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 415k, False: 0]
  |  |  ------------------
  |  |  196|   415k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   415k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   415k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   415k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 415k]
  |  |  ------------------
  |  |  198|   415k|                return vret;                                            \
  |  |  199|   415k|        }                                                               \
  |  |  200|   415k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 415k]
  |  |  ------------------
  ------------------
 1165|   415k|    Py_VISIT(f->func_name);
  ------------------
  |  |  194|   415k|    do {                                                                \
  |  |  195|   415k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 415k, False: 0]
  |  |  ------------------
  |  |  196|   415k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   415k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   415k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   415k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 415k]
  |  |  ------------------
  |  |  198|   415k|                return vret;                                            \
  |  |  199|   415k|        }                                                               \
  |  |  200|   415k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 415k]
  |  |  ------------------
  ------------------
 1166|   415k|    Py_VISIT(f->func_dict);
  ------------------
  |  |  194|   415k|    do {                                                                \
  |  |  195|   415k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 25.1k, False: 390k]
  |  |  ------------------
  |  |  196|  25.1k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  25.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  25.1k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 25.1k]
  |  |  ------------------
  |  |  198|  25.1k|                return vret;                                            \
  |  |  199|  25.1k|        }                                                               \
  |  |  200|   415k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 415k]
  |  |  ------------------
  ------------------
 1167|   415k|    Py_VISIT(f->func_closure);
  ------------------
  |  |  194|   415k|    do {                                                                \
  |  |  195|   415k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 33.7k, False: 382k]
  |  |  ------------------
  |  |  196|  33.7k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  33.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  33.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  33.7k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 33.7k]
  |  |  ------------------
  |  |  198|  33.7k|                return vret;                                            \
  |  |  199|  33.7k|        }                                                               \
  |  |  200|   415k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 415k]
  |  |  ------------------
  ------------------
 1168|   415k|    Py_VISIT(f->func_annotations);
  ------------------
  |  |  194|   415k|    do {                                                                \
  |  |  195|   415k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 415k]
  |  |  ------------------
  |  |  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|   415k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 415k]
  |  |  ------------------
  ------------------
 1169|   415k|    Py_VISIT(f->func_annotate);
  ------------------
  |  |  194|   415k|    do {                                                                \
  |  |  195|   415k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.61k, False: 414k]
  |  |  ------------------
  |  |  196|  1.61k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.61k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.61k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.61k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.61k]
  |  |  ------------------
  |  |  198|  1.61k|                return vret;                                            \
  |  |  199|  1.61k|        }                                                               \
  |  |  200|   415k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 415k]
  |  |  ------------------
  ------------------
 1170|   415k|    Py_VISIT(f->func_typeparams);
  ------------------
  |  |  194|   415k|    do {                                                                \
  |  |  195|   415k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 272, False: 415k]
  |  |  ------------------
  |  |  196|    272|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    272|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    272|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    272|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 272]
  |  |  ------------------
  |  |  198|    272|                return vret;                                            \
  |  |  199|    272|        }                                                               \
  |  |  200|   415k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 415k]
  |  |  ------------------
  ------------------
 1171|   415k|    Py_VISIT(f->func_qualname);
  ------------------
  |  |  194|   415k|    do {                                                                \
  |  |  195|   415k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 415k, False: 0]
  |  |  ------------------
  |  |  196|   415k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   415k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   415k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   415k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 415k]
  |  |  ------------------
  |  |  198|   415k|                return vret;                                            \
  |  |  199|   415k|        }                                                               \
  |  |  200|   415k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 415k]
  |  |  ------------------
  ------------------
 1172|   415k|    return 0;
 1173|   415k|}
funcobject.c:func_clear:
 1095|  1.01M|{
 1096|  1.01M|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|  1.01M|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|  1.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1096:28): [True: 1.01M, False: 0]
  ------------------
 1097|      0|    func_clear_version(_PyInterpreterState_GET(), op);
 1098|  1.01M|    PyObject *globals = op->func_globals;
 1099|  1.01M|    op->func_globals = NULL;
 1100|  1.01M|    if (globals != NULL) {
  ------------------
  |  Branch (1100:9): [True: 1.01M, False: 45]
  ------------------
 1101|  1.01M|        _Py_DECREF_DICT(globals);
  ------------------
  |  |  397|  1.01M|#  define _Py_DECREF_DICT Py_DECREF
  |  |  ------------------
  |  |  |  |  430|  1.01M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1102|  1.01M|    }
 1103|  1.01M|    PyObject *builtins = op->func_builtins;
 1104|  1.01M|    op->func_builtins = NULL;
 1105|  1.01M|    if (builtins != NULL) {
  ------------------
  |  Branch (1105:9): [True: 1.01M, False: 45]
  ------------------
 1106|  1.01M|        _Py_DECREF_BUILTINS(builtins);
  ------------------
  |  |  399|  1.01M|#  define _Py_DECREF_BUILTINS Py_DECREF
  |  |  ------------------
  |  |  |  |  430|  1.01M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1107|  1.01M|    }
 1108|  1.01M|    Py_CLEAR(op->func_module);
  ------------------
  |  |  484|  1.01M|    do { \
  |  |  485|  1.01M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  1.01M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  1.01M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.01M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  1.01M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 1.01M, False: 57]
  |  |  ------------------
  |  |  488|  1.01M|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  1.01M|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  1.01M|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  1.01M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  1.01M|        } \
  |  |  491|  1.01M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 1.01M]
  |  |  ------------------
  ------------------
 1109|  1.01M|    Py_CLEAR(op->func_defaults);
  ------------------
  |  |  484|  1.01M|    do { \
  |  |  485|  1.01M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  1.01M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  1.01M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.01M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  1.01M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 100, False: 1.01M]
  |  |  ------------------
  |  |  488|    100|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    100|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    100|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    100|        } \
  |  |  491|  1.01M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 1.01M]
  |  |  ------------------
  ------------------
 1110|  1.01M|    Py_CLEAR(op->func_kwdefaults);
  ------------------
  |  |  484|  1.01M|    do { \
  |  |  485|  1.01M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  1.01M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  1.01M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.01M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  1.01M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 1.01M]
  |  |  ------------------
  |  |  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|  1.01M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 1.01M]
  |  |  ------------------
  ------------------
 1111|  1.01M|    Py_CLEAR(op->func_doc);
  ------------------
  |  |  484|  1.01M|    do { \
  |  |  485|  1.01M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  1.01M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  1.01M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.01M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  1.01M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 1.01M, False: 45]
  |  |  ------------------
  |  |  488|  1.01M|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  1.01M|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  1.01M|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  1.01M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  1.01M|        } \
  |  |  491|  1.01M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 1.01M]
  |  |  ------------------
  ------------------
 1112|  1.01M|    Py_CLEAR(op->func_dict);
  ------------------
  |  |  484|  1.01M|    do { \
  |  |  485|  1.01M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  1.01M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  1.01M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.01M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  1.01M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 1.01M]
  |  |  ------------------
  |  |  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|  1.01M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 1.01M]
  |  |  ------------------
  ------------------
 1113|  1.01M|    Py_CLEAR(op->func_closure);
  ------------------
  |  |  484|  1.01M|    do { \
  |  |  485|  1.01M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  1.01M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  1.01M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.01M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  1.01M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 989k, False: 22.9k]
  |  |  ------------------
  |  |  488|   989k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|   989k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|   989k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|   989k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   989k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   989k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|   989k|        } \
  |  |  491|  1.01M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 1.01M]
  |  |  ------------------
  ------------------
 1114|  1.01M|    Py_CLEAR(op->func_annotations);
  ------------------
  |  |  484|  1.01M|    do { \
  |  |  485|  1.01M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  1.01M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  1.01M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.01M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  1.01M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 1.01M]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_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.01M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 1.01M]
  |  |  ------------------
  ------------------
 1115|  1.01M|    Py_CLEAR(op->func_annotate);
  ------------------
  |  |  484|  1.01M|    do { \
  |  |  485|  1.01M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  1.01M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  1.01M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.01M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  1.01M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 1.01M]
  |  |  ------------------
  |  |  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|  1.01M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 1.01M]
  |  |  ------------------
  ------------------
 1116|  1.01M|    Py_CLEAR(op->func_typeparams);
  ------------------
  |  |  484|  1.01M|    do { \
  |  |  485|  1.01M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  1.01M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  1.01M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.01M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  1.01M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 1.01M]
  |  |  ------------------
  |  |  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|  1.01M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 1.01M]
  |  |  ------------------
  ------------------
 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|  1.01M|    Py_SETREF(op->func_name, &_Py_STR(empty));
  ------------------
  |  |  352|  1.01M|    do { \
  |  |  353|  1.01M|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  1.01M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|  1.01M|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.01M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|  1.01M|        *_tmp_dst_ptr = (src); \
  |  |  356|  1.01M|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  1.01M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|  1.01M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 1.01M]
  |  |  ------------------
  ------------------
 1123|  1.01M|    Py_SETREF(op->func_qualname, &_Py_STR(empty));
  ------------------
  |  |  352|  1.01M|    do { \
  |  |  353|  1.01M|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  1.01M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|  1.01M|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.01M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|  1.01M|        *_tmp_dst_ptr = (src); \
  |  |  356|  1.01M|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  1.01M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|  1.01M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 1.01M]
  |  |  ------------------
  ------------------
 1124|  1.01M|    return 0;
 1125|  1.01M|}
funcobject.c:func_get_code:
  635|      4|{
  636|      4|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|      4|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (636:28): [True: 4, False: 0]
  ------------------
  637|      4|    if (PySys_Audit("object.__getattr__", "Os", op, "__code__") < 0) {
  ------------------
  |  Branch (637:9): [True: 0, False: 4]
  ------------------
  638|      0|        return NULL;
  639|      0|    }
  640|       |
  641|      4|    return Py_NewRef(op->func_code);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  642|      4|}
funcobject.c:function___annotate___get_impl:
  834|      5|{
  835|      5|    if (self->func_annotate == NULL) {
  ------------------
  |  Branch (835:9): [True: 5, False: 0]
  ------------------
  836|      5|        Py_RETURN_NONE;
  ------------------
  |  |  628|      5|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      5|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  837|      5|    }
  838|      0|    return Py_NewRef(self->func_annotate);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  839|      5|}
funcobject.c:function___annotate___set_impl:
  850|      3|{
  851|      3|    if (value == NULL) {
  ------------------
  |  Branch (851:9): [True: 0, False: 3]
  ------------------
  852|      0|        PyErr_SetString(PyExc_TypeError,
  853|      0|            "__annotate__ cannot be deleted");
  854|      0|        return -1;
  855|      0|    }
  856|      3|    if (Py_IsNone(value)) {
  ------------------
  |  |  621|      3|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|      3|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 3, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  857|      3|        Py_XSETREF(self->func_annotate, value);
  ------------------
  |  |  374|      3|    do { \
  |  |  375|      3|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|      3|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|      3|        *_tmp_dst_ptr = (src); \
  |  |  378|      3|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|      3|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
  858|      3|        return 0;
  859|      3|    }
  860|      0|    else if (PyCallable_Check(value)) {
  ------------------
  |  Branch (860:14): [True: 0, False: 0]
  ------------------
  861|      0|        Py_XSETREF(self->func_annotate, Py_XNewRef(value));
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  862|      0|        Py_CLEAR(self->func_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]
  |  |  ------------------
  ------------------
  863|      0|        return 0;
  864|      0|    }
  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|}
funcobject.c:func_get_name:
  695|    200|{
  696|    200|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|    200|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|    200|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (696:28): [True: 200, False: 0]
  ------------------
  697|    200|    return Py_NewRef(op->func_name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  698|    200|}
funcobject.c:func_set_name:
  702|     25|{
  703|     25|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|     25|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (703:28): [True: 25, False: 0]
  ------------------
  704|       |    /* Not legal to del f.func_name or to set it to anything
  705|       |     * other than a string object. */
  706|     25|    if (value == NULL || !PyUnicode_Check(value)) {
  ------------------
  |  |  103|     25|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     25|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (706:9): [True: 0, False: 25]
  |  Branch (706:26): [True: 0, False: 25]
  ------------------
  707|      0|        PyErr_SetString(PyExc_TypeError,
  708|      0|                        "__name__ must be set to a string object");
  709|      0|        return -1;
  710|      0|    }
  711|     25|    Py_XSETREF(op->func_name, Py_NewRef(value));
  ------------------
  |  |  374|     25|    do { \
  |  |  375|     25|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     25|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|     25|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     25|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|     25|        *_tmp_dst_ptr = (src); \
  |  |  378|     25|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|     25|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 25]
  |  |  ------------------
  ------------------
  712|     25|    return 0;
  713|     25|}
funcobject.c:func_get_qualname:
  717|    182|{
  718|    182|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|    182|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|    182|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (718:28): [True: 182, False: 0]
  ------------------
  719|    182|    return Py_NewRef(op->func_qualname);
  ------------------
  |  |  550|    182|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    182|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    182|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  720|    182|}
funcobject.c:func_set_qualname:
  724|     40|{
  725|     40|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|     40|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (725:28): [True: 40, False: 0]
  ------------------
  726|       |    /* Not legal to del f.__qualname__ or to set it to anything
  727|       |     * other than a string object. */
  728|     40|    if (value == NULL || !PyUnicode_Check(value)) {
  ------------------
  |  |  103|     40|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     40|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (728:9): [True: 0, False: 40]
  |  Branch (728:26): [True: 0, False: 40]
  ------------------
  729|      0|        PyErr_SetString(PyExc_TypeError,
  730|      0|                        "__qualname__ must be set to a string object");
  731|      0|        return -1;
  732|      0|    }
  733|     40|    handle_func_event(PyFunction_EVENT_MODIFY_QUALNAME, (PyFunctionObject *) op, value);
  734|     40|    Py_XSETREF(op->func_qualname, Py_NewRef(value));
  ------------------
  |  |  374|     40|    do { \
  |  |  375|     40|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     40|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|     40|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     40|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|     40|        *_tmp_dst_ptr = (src); \
  |  |  378|     40|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     40|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|     40|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 40]
  |  |  ------------------
  ------------------
  735|     40|    return 0;
  736|     40|}
funcobject.c:function___type_params___get_impl:
  931|      5|{
  932|      5|    if (self->func_typeparams == NULL) {
  ------------------
  |  Branch (932:9): [True: 5, False: 0]
  ------------------
  933|      5|        return PyTuple_New(0);
  934|      5|    }
  935|       |
  936|      5|    assert(PyTuple_Check(self->func_typeparams));
  ------------------
  |  Branch (936:5): [True: 0, False: 0]
  ------------------
  937|      0|    return Py_NewRef(self->func_typeparams);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  938|      0|}
funcobject.c:function___type_params___set_impl:
  949|      3|{
  950|       |    /* Not legal to del f.__type_params__ or to set it to anything
  951|       |     * other than a tuple object. */
  952|      3|    if (value == NULL || !PyTuple_Check(value)) {
  ------------------
  |  |   27|      3|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      3|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (952:9): [True: 0, False: 3]
  |  Branch (952:26): [True: 0, False: 3]
  ------------------
  953|      0|        PyErr_SetString(PyExc_TypeError,
  954|      0|                        "__type_params__ must be set to a tuple");
  955|      0|        return -1;
  956|      0|    }
  957|      3|    Py_XSETREF(self->func_typeparams, Py_NewRef(value));
  ------------------
  |  |  374|      3|    do { \
  |  |  375|      3|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|      3|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|      3|        *_tmp_dst_ptr = (src); \
  |  |  378|      3|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|      3|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
  958|      3|    return 0;
  959|      3|}
funcobject.c:func_descr_get:
 1178|  12.3M|{
 1179|  12.3M|    if (obj == Py_None || obj == NULL) {
  ------------------
  |  |  616|  24.7M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1179:9): [True: 0, False: 12.3M]
  |  Branch (1179:27): [True: 221, False: 12.3M]
  ------------------
 1180|    221|        return Py_NewRef(func);
  ------------------
  |  |  550|    221|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    221|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    221|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1181|    221|    }
 1182|  12.3M|    return PyMethod_New(func, obj);
 1183|  12.3M|}
funcobject.c:cm_dealloc:
 1416|      3|{
 1417|      3|    classmethod *cm = _PyClassMethod_CAST(self);
  ------------------
  |  | 1411|      3|    (assert(PyObject_TypeCheck((cm), &PyClassMethod_Type)), \
  |  | 1412|      3|     _Py_CAST(classmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1417:23): [True: 3, False: 0]
  ------------------
 1418|      3|    _PyObject_GC_UNTRACK((PyObject *)cm);
  ------------------
  |  |  509|      3|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1419|      3|    Py_XDECREF(cm->cm_callable);
  ------------------
  |  |  524|      3|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1420|      3|    Py_XDECREF(cm->cm_dict);
  ------------------
  |  |  524|      3|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1421|      3|    Py_TYPE(cm)->tp_free((PyObject *)cm);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1422|      3|}
funcobject.c:cm_traverse:
 1426|  17.9k|{
 1427|  17.9k|    classmethod *cm = _PyClassMethod_CAST(self);
  ------------------
  |  | 1411|  17.9k|    (assert(PyObject_TypeCheck((cm), &PyClassMethod_Type)), \
  |  | 1412|  17.9k|     _Py_CAST(classmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|  17.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1427:23): [True: 17.9k, False: 0]
  ------------------
 1428|  17.9k|    Py_VISIT(cm->cm_callable);
  ------------------
  |  |  194|  17.9k|    do {                                                                \
  |  |  195|  17.9k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 17.9k, False: 0]
  |  |  ------------------
  |  |  196|  17.9k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  17.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  17.9k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 17.9k]
  |  |  ------------------
  |  |  198|  17.9k|                return vret;                                            \
  |  |  199|  17.9k|        }                                                               \
  |  |  200|  17.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 17.9k]
  |  |  ------------------
  ------------------
 1429|  17.9k|    Py_VISIT(cm->cm_dict);
  ------------------
  |  |  194|  17.9k|    do {                                                                \
  |  |  195|  17.9k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 17.9k, False: 0]
  |  |  ------------------
  |  |  196|  17.9k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  17.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  17.9k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 17.9k]
  |  |  ------------------
  |  |  198|  17.9k|                return vret;                                            \
  |  |  199|  17.9k|        }                                                               \
  |  |  200|  17.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 17.9k]
  |  |  ------------------
  ------------------
 1430|  17.9k|    return 0;
 1431|  17.9k|}
funcobject.c:cm_clear:
 1435|      2|{
 1436|      2|    classmethod *cm = _PyClassMethod_CAST(self);
  ------------------
  |  | 1411|      2|    (assert(PyObject_TypeCheck((cm), &PyClassMethod_Type)), \
  |  | 1412|      2|     _Py_CAST(classmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1436:23): [True: 2, False: 0]
  ------------------
 1437|      2|    Py_CLEAR(cm->cm_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]
  |  |  ------------------
  ------------------
 1438|       |    Py_CLEAR(cm->cm_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: 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]
  |  |  ------------------
  ------------------
 1439|      2|    return 0;
 1440|      2|}
funcobject.c:cm_get___isabstractmethod__:
 1511|     58|{
 1512|     58|    classmethod *cm = _PyClassMethod_CAST(self);
  ------------------
  |  | 1411|     58|    (assert(PyObject_TypeCheck((cm), &PyClassMethod_Type)), \
  |  | 1412|     58|     _Py_CAST(classmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|     58|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1512:23): [True: 58, False: 0]
  ------------------
 1513|      0|    int res = _PyObject_IsAbstract(cm->cm_callable);
 1514|     58|    if (res == -1) {
  ------------------
  |  Branch (1514:9): [True: 0, False: 58]
  ------------------
 1515|      0|        return NULL;
 1516|      0|    }
 1517|     58|    else if (res) {
  ------------------
  |  Branch (1517:14): [True: 0, False: 58]
  ------------------
 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|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1521|     58|}
funcobject.c:cm_descr_get:
 1445|    529|{
 1446|    529|    classmethod *cm = (classmethod *)self;
 1447|    529|    if (type == NULL)
  ------------------
  |  Branch (1447:9): [True: 0, False: 529]
  ------------------
 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|    529|    return PyMethod_New(cm->cm_callable, type);
 1450|    529|}
funcobject.c:cm_init:
 1490|    112|{
 1491|    112|    if (!_PyArg_NoKeywords("classmethod", kwds)) {
  ------------------
  |  |   25|    112|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 112, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1492|      0|        return -1;
 1493|      0|    }
 1494|    112|    PyObject *callable;  // borrowed ref
 1495|    112|    if (!PyArg_UnpackTuple(args, "classmethod", 1, 1, &callable)) {
  ------------------
  |  Branch (1495:9): [True: 0, False: 112]
  ------------------
 1496|      0|        return -1;
 1497|      0|    }
 1498|       |
 1499|    112|    classmethod *cm = (classmethod *)self;
 1500|    112|    return cm_set_callable(cm, callable);
 1501|    112|}
funcobject.c:cm_new:
 1467|    112|{
 1468|    112|    if (!_PyArg_NoKeywords("classmethod", kwds)) {
  ------------------
  |  |   25|    112|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 112, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1469|      0|        return NULL;
 1470|      0|    }
 1471|    112|    PyObject *callable;  // borrowed ref
 1472|    112|    if (!PyArg_UnpackTuple(args, "classmethod", 1, 1, &callable)) {
  ------------------
  |  Branch (1472:9): [True: 0, False: 112]
  ------------------
 1473|      0|        return NULL;
 1474|      0|    }
 1475|       |
 1476|    112|    classmethod *cm = (classmethod *)PyType_GenericAlloc(type, 0);
 1477|    112|    if (cm == NULL) {
  ------------------
  |  Branch (1477:9): [True: 0, False: 112]
  ------------------
 1478|      0|        return NULL;
 1479|      0|    }
 1480|    112|    _PyObject_SetDeferredRefcount((PyObject *)cm);
 1481|    112|    if (cm_set_callable(cm, callable) < 0) {
  ------------------
  |  Branch (1481:9): [True: 0, False: 112]
  ------------------
 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|    112|    return (PyObject *)cm;
 1486|    112|}
funcobject.c:cm_set_callable:
 1454|    225|{
 1455|    225|    assert(callable != NULL);
  ------------------
  |  Branch (1455:5): [True: 225, False: 0]
  ------------------
 1456|    225|    if (cm->cm_callable == callable) {
  ------------------
  |  Branch (1456:9): [True: 112, False: 113]
  ------------------
 1457|       |        // cm_init() sets the same callable than cm_new()
 1458|    112|        return 0;
 1459|    112|    }
 1460|       |
 1461|    113|    Py_XSETREF(cm->cm_callable, Py_NewRef(callable));
  ------------------
  |  |  374|    113|    do { \
  |  |  375|    113|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    113|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|    113|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    113|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|    113|        *_tmp_dst_ptr = (src); \
  |  |  378|    113|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    113|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    113|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    113|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|    113|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 113]
  |  |  ------------------
  ------------------
 1462|    113|    return functools_wraps((PyObject *)cm, cm->cm_callable);
 1463|    225|}
funcobject.c:functools_wraps:
 1302|    166|{
 1303|    166|#define COPY_ATTR(ATTR) \
 1304|    166|    do { \
 1305|    166|        if (functools_copy_attr(wrapper, wrapped, &_Py_ID(ATTR)) < 0) { \
 1306|    166|            return -1; \
 1307|    166|        } \
 1308|    166|    } while (0) \
 1309|    166|
 1310|    166|    COPY_ATTR(__module__);
  ------------------
  |  | 1304|    166|    do { \
  |  | 1305|    166|        if (functools_copy_attr(wrapper, wrapped, &_Py_ID(ATTR)) < 0) { \
  |  |  ------------------
  |  |  |  |  920|    166|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    166|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    166|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1305:13): [True: 0, False: 166]
  |  |  ------------------
  |  | 1306|      0|            return -1; \
  |  | 1307|      0|        } \
  |  | 1308|    166|    } while (0) \
  |  |  ------------------
  |  |  |  Branch (1308:14): [Folded, False: 166]
  |  |  ------------------
  ------------------
 1311|    166|    COPY_ATTR(__name__);
  ------------------
  |  | 1304|    166|    do { \
  |  | 1305|    166|        if (functools_copy_attr(wrapper, wrapped, &_Py_ID(ATTR)) < 0) { \
  |  |  ------------------
  |  |  |  |  920|    166|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    166|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    166|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1305:13): [True: 0, False: 166]
  |  |  ------------------
  |  | 1306|      0|            return -1; \
  |  | 1307|      0|        } \
  |  | 1308|    166|    } while (0) \
  |  |  ------------------
  |  |  |  Branch (1308:14): [Folded, False: 166]
  |  |  ------------------
  ------------------
 1312|    166|    COPY_ATTR(__qualname__);
  ------------------
  |  | 1304|    166|    do { \
  |  | 1305|    166|        if (functools_copy_attr(wrapper, wrapped, &_Py_ID(ATTR)) < 0) { \
  |  |  ------------------
  |  |  |  |  920|    166|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    166|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    166|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1305:13): [True: 0, False: 166]
  |  |  ------------------
  |  | 1306|      0|            return -1; \
  |  | 1307|      0|        } \
  |  | 1308|    166|    } while (0) \
  |  |  ------------------
  |  |  |  Branch (1308:14): [Folded, False: 166]
  |  |  ------------------
  ------------------
 1313|    166|    COPY_ATTR(__doc__);
  ------------------
  |  | 1304|    166|    do { \
  |  | 1305|    166|        if (functools_copy_attr(wrapper, wrapped, &_Py_ID(ATTR)) < 0) { \
  |  |  ------------------
  |  |  |  |  920|    166|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    166|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    166|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1305:13): [True: 0, False: 166]
  |  |  ------------------
  |  | 1306|      0|            return -1; \
  |  | 1307|      0|        } \
  |  | 1308|    166|    } while (0) \
  |  |  ------------------
  |  |  |  Branch (1308:14): [Folded, False: 166]
  |  |  ------------------
  ------------------
 1314|    166|    return 0;
 1315|       |
 1316|    166|#undef COPY_ATTR
 1317|    166|}
funcobject.c:functools_copy_attr:
 1289|    664|{
 1290|    664|    PyObject *value;
 1291|    664|    int res = PyObject_GetOptionalAttr(wrapped, name, &value);
 1292|    664|    if (value != NULL) {
  ------------------
  |  Branch (1292:9): [True: 664, False: 0]
  ------------------
 1293|    664|        res = PyObject_SetAttr(wrapper, name, value);
 1294|    664|        Py_DECREF(value);
  ------------------
  |  |  430|    664|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    664|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    664|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1295|    664|    }
 1296|    664|    return res;
 1297|    664|}
funcobject.c:sm_dealloc:
 1681|      4|{
 1682|      4|    staticmethod *sm = _PyStaticMethod_CAST(self);
  ------------------
  |  | 1676|      4|    (assert(PyObject_TypeCheck((cm), &PyStaticMethod_Type)), \
  |  | 1677|      4|     _Py_CAST(staticmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1682:24): [True: 4, False: 0]
  ------------------
 1683|      4|    _PyObject_GC_UNTRACK((PyObject *)sm);
  ------------------
  |  |  509|      4|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1684|      4|    Py_XDECREF(sm->sm_callable);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1685|      4|    Py_XDECREF(sm->sm_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1686|      4|    Py_TYPE(sm)->tp_free((PyObject *)sm);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1687|      4|}
funcobject.c:sm_traverse:
 1691|  8.58k|{
 1692|  8.58k|    staticmethod *sm = _PyStaticMethod_CAST(self);
  ------------------
  |  | 1676|  8.58k|    (assert(PyObject_TypeCheck((cm), &PyStaticMethod_Type)), \
  |  | 1677|  8.58k|     _Py_CAST(staticmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|  8.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1692:24): [True: 8.58k, False: 0]
  ------------------
 1693|  8.58k|    Py_VISIT(sm->sm_callable);
  ------------------
  |  |  194|  8.58k|    do {                                                                \
  |  |  195|  8.58k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 8.58k, False: 0]
  |  |  ------------------
  |  |  196|  8.58k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  8.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  8.58k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 8.58k]
  |  |  ------------------
  |  |  198|  8.58k|                return vret;                                            \
  |  |  199|  8.58k|        }                                                               \
  |  |  200|  8.58k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 8.58k]
  |  |  ------------------
  ------------------
 1694|  8.58k|    Py_VISIT(sm->sm_dict);
  ------------------
  |  |  194|  8.58k|    do {                                                                \
  |  |  195|  8.58k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 8.58k, False: 0]
  |  |  ------------------
  |  |  196|  8.58k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  8.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  8.58k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 8.58k]
  |  |  ------------------
  |  |  198|  8.58k|                return vret;                                            \
  |  |  199|  8.58k|        }                                                               \
  |  |  200|  8.58k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 8.58k]
  |  |  ------------------
  ------------------
 1695|  8.58k|    return 0;
 1696|  8.58k|}
funcobject.c:sm_descr_get:
 1709|    122|{
 1710|    122|    staticmethod *sm = (staticmethod *)self;
 1711|    122|    return Py_NewRef(sm->sm_callable);
  ------------------
  |  |  550|    122|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    122|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    122|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1712|    122|}
funcobject.c:sm_init:
 1752|     25|{
 1753|     25|    if (!_PyArg_NoKeywords("staticmethod", kwds)) {
  ------------------
  |  |   25|     25|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 25, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1754|      0|        return -1;
 1755|      0|    }
 1756|     25|    PyObject *callable;  // borrowed ref
 1757|     25|    if (!PyArg_UnpackTuple(args, "staticmethod", 1, 1, &callable)) {
  ------------------
  |  Branch (1757:9): [True: 0, False: 25]
  ------------------
 1758|      0|        return -1;
 1759|      0|    }
 1760|       |
 1761|     25|    staticmethod *sm = (staticmethod *)self;
 1762|     25|    return sm_set_callable(sm, callable);
 1763|     25|}
funcobject.c:sm_new:
 1729|     25|{
 1730|     25|    if (!_PyArg_NoKeywords("staticmethod", kwds)) {
  ------------------
  |  |   25|     25|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 25, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1731|      0|        return NULL;
 1732|      0|    }
 1733|     25|    PyObject *callable;  // borrowed ref
 1734|     25|    if (!PyArg_UnpackTuple(args, "staticmethod", 1, 1, &callable)) {
  ------------------
  |  Branch (1734:9): [True: 0, False: 25]
  ------------------
 1735|      0|        return NULL;
 1736|      0|    }
 1737|       |
 1738|     25|    staticmethod *sm = (staticmethod *)PyType_GenericAlloc(type, 0);
 1739|     25|    if (sm == NULL) {
  ------------------
  |  Branch (1739:9): [True: 0, False: 25]
  ------------------
 1740|      0|        return NULL;
 1741|      0|    }
 1742|     25|    _PyObject_SetDeferredRefcount((PyObject *)sm);
 1743|     25|    if (sm_set_callable(sm, callable) < 0) {
  ------------------
  |  Branch (1743:9): [True: 0, False: 25]
  ------------------
 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|     25|    return (PyObject *)sm;
 1748|     25|}
funcobject.c:sm_set_callable:
 1716|     78|{
 1717|     78|    assert(callable != NULL);
  ------------------
  |  Branch (1717:5): [True: 78, False: 0]
  ------------------
 1718|     78|    if (sm->sm_callable == callable) {
  ------------------
  |  Branch (1718:9): [True: 25, False: 53]
  ------------------
 1719|       |        // sm_init() sets the same callable than sm_new()
 1720|     25|        return 0;
 1721|     25|    }
 1722|       |
 1723|     53|    Py_XSETREF(sm->sm_callable, Py_NewRef(callable));
  ------------------
  |  |  374|     53|    do { \
  |  |  375|     53|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     53|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|     53|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     53|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|     53|        *_tmp_dst_ptr = (src); \
  |  |  378|     53|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     53|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     53|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     53|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|     53|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 53]
  |  |  ------------------
  ------------------
 1724|     53|    return functools_wraps((PyObject *)sm, sm->sm_callable);
 1725|     78|}

Py_GenericAlias:
 1059|      5|{
 1060|      5|    gaobject *alias = (gaobject*) PyType_GenericAlloc(
 1061|      5|            (PyTypeObject *)&Py_GenericAliasType, 0);
 1062|      5|    if (alias == NULL) {
  ------------------
  |  Branch (1062:9): [True: 0, False: 5]
  ------------------
 1063|      0|        return NULL;
 1064|      0|    }
 1065|      5|    if (!setup_ga(alias, origin, args)) {
  ------------------
  |  Branch (1065:9): [True: 0, False: 5]
  ------------------
 1066|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1067|      0|        return NULL;
 1068|      0|    }
 1069|      5|    return (PyObject *)alias;
 1070|      5|}
genericaliasobject.c:ga_dealloc:
   33|      5|{
   34|      5|    gaobject *alias = (gaobject *)self;
   35|       |
   36|      5|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  509|      5|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   37|      5|    FT_CLEAR_WEAKREFS(self, alias->weakreflist);
  ------------------
  |  |   47|      5|    do {                                            \
  |  |   48|      5|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|      5|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 5]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|      5|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 5]
  |  |  ------------------
  ------------------
  |  Branch (37:5): [True: 5, False: 0]
  ------------------
   38|      5|    Py_XDECREF(alias->origin);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   39|      5|    Py_XDECREF(alias->args);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   40|      5|    Py_XDECREF(alias->parameters);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   41|      5|    Py_TYPE(self)->tp_free(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   42|      5|}
genericaliasobject.c:setup_ga:
  886|      5|setup_ga(gaobject *alias, PyObject *origin, PyObject *args) {
  887|      5|    if (!PyTuple_Check(args)) {
  ------------------
  |  |   27|      5|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      5|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (887:9): [True: 5, False: 0]
  ------------------
  888|      5|        args = PyTuple_Pack(1, args);
  889|      5|        if (args == NULL) {
  ------------------
  |  Branch (889:13): [True: 0, False: 5]
  ------------------
  890|      0|            return 0;
  891|      0|        }
  892|      5|    }
  893|      0|    else {
  894|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  895|      0|    }
  896|       |
  897|      5|    alias->origin = Py_NewRef(origin);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  898|      5|    alias->args = args;
  899|      5|    alias->parameters = NULL;
  900|      5|    alias->weakreflist = NULL;
  901|       |
  902|      5|    if (PyVectorcall_Function(origin) != NULL) {
  ------------------
  |  Branch (902:9): [True: 5, False: 0]
  ------------------
  903|      5|        alias->vectorcall = ga_vectorcall;
  904|      5|    }
  905|      0|    else {
  906|      0|        alias->vectorcall = NULL;
  907|      0|    }
  908|       |
  909|      5|    return 1;
  910|      5|}

_Py_MakeCoro:
 1119|  5.23M|{
 1120|  5.23M|    int coro_flags = ((PyCodeObject *)func->func_code)->co_flags &
 1121|  5.23M|        (CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR);
  ------------------
  |  |  127|  5.23M|#define CO_GENERATOR    0x0020
  ------------------
                      (CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR);
  ------------------
  |  |  131|  5.23M|#define CO_COROUTINE            0x0080
  ------------------
                      (CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR);
  ------------------
  |  |  133|  5.23M|#define CO_ASYNC_GENERATOR      0x0200
  ------------------
 1122|  5.23M|    assert(coro_flags);
  ------------------
  |  Branch (1122:5): [True: 5.23M, False: 0]
  ------------------
 1123|  5.23M|    if (coro_flags == CO_GENERATOR) {
  ------------------
  |  |  127|  5.23M|#define CO_GENERATOR    0x0020
  ------------------
  |  Branch (1123:9): [True: 5.23M, False: 4]
  ------------------
 1124|  5.23M|        return make_gen(&PyGen_Type, func);
 1125|  5.23M|    }
 1126|      4|    if (coro_flags == CO_ASYNC_GENERATOR) {
  ------------------
  |  |  133|      4|#define CO_ASYNC_GENERATOR      0x0200
  ------------------
  |  Branch (1126:9): [True: 2, False: 2]
  ------------------
 1127|      2|        PyAsyncGenObject *ag;
 1128|      2|        ag = (PyAsyncGenObject *)make_gen(&PyAsyncGen_Type, func);
 1129|      2|        if (ag == NULL) {
  ------------------
  |  Branch (1129:13): [True: 0, False: 2]
  ------------------
 1130|      0|            return NULL;
 1131|      0|        }
 1132|      2|        ag->ag_origin_or_finalizer = NULL;
 1133|      2|        ag->ag_closed = 0;
 1134|      2|        ag->ag_hooks_inited = 0;
 1135|      2|        ag->ag_running_async = 0;
 1136|      2|        return (PyObject*)ag;
 1137|      2|    }
 1138|       |
 1139|      4|    assert (coro_flags == CO_COROUTINE);
  ------------------
  |  Branch (1139:5): [True: 2, False: 0]
  ------------------
 1140|      2|    PyObject *coro = make_gen(&PyCoro_Type, func);
 1141|      2|    if (!coro) {
  ------------------
  |  Branch (1141:9): [True: 0, False: 2]
  ------------------
 1142|      0|        return NULL;
 1143|      0|    }
 1144|      2|    PyThreadState *tstate = _PyThreadState_GET();
 1145|      2|    int origin_depth = tstate->coroutine_origin_tracking_depth;
 1146|       |
 1147|      2|    if (origin_depth == 0) {
  ------------------
  |  Branch (1147:9): [True: 2, False: 0]
  ------------------
 1148|      2|        ((PyCoroObject *)coro)->cr_origin_or_finalizer = NULL;
 1149|      2|    } else {
 1150|      0|        _PyInterpreterFrame *frame = tstate->current_frame;
 1151|      0|        assert(frame);
  ------------------
  |  Branch (1151:9): [True: 0, False: 0]
  ------------------
 1152|      0|        assert(_PyFrame_IsIncomplete(frame));
  ------------------
  |  Branch (1152:9): [True: 0, False: 0]
  ------------------
 1153|      0|        frame = _PyFrame_GetFirstComplete(frame->previous);
 1154|      0|        PyObject *cr_origin = _PyCoro_ComputeOrigin(origin_depth, frame);
 1155|      0|        ((PyCoroObject *)coro)->cr_origin_or_finalizer = cr_origin;
 1156|      0|        if (!cr_origin) {
  ------------------
  |  Branch (1156:13): [True: 0, False: 0]
  ------------------
 1157|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1158|      0|            return NULL;
 1159|      0|        }
 1160|      0|    }
 1161|      2|    return coro;
 1162|      2|}
genobject.c:_PyGen_GetCode:
   69|   100k|_PyGen_GetCode(PyGenObject *gen) {
   70|   100k|    return _PyFrame_GetCode(&gen->gi_iframe);
   71|   100k|}
genobject.c:gen_clear_frame:
  168|  18.1k|{
  169|  18.1k|    assert(FT_ATOMIC_LOAD_INT8_RELAXED(gen->gi_frame_state) == FRAME_CLEARED);
  ------------------
  |  Branch (169:5): [True: 18.1k, False: 0]
  ------------------
  170|  18.1k|    _PyInterpreterFrame *frame = &gen->gi_iframe;
  171|  18.1k|    _PyThreadState_UpdateLastProfiledFrame(_PyThreadState_GET(), frame, frame->previous);
  ------------------
  |  |  325|  18.1k|    do { \
  |  |  326|  18.1k|        PyThreadState *tstate_ = (tstate); \
  |  |  327|  18.1k|        _PyInterpreterFrame *frame_ = (frame); \
  |  |  328|  18.1k|        if (tstate_->last_profiled_frame == frame_) { \
  |  |  ------------------
  |  |  |  Branch (328:13): [True: 0, False: 18.1k]
  |  |  ------------------
  |  |  329|      0|            tstate_->last_profiled_frame = (previous); \
  |  |  330|      0|            tstate_->last_profiled_frame_seq++; \
  |  |  331|      0|        } \
  |  |  332|  18.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (332:14): [Folded, False: 18.1k]
  |  |  ------------------
  ------------------
  172|       |    frame->previous = NULL;
  173|  18.1k|    _PyFrame_ClearExceptCode(frame);
  174|  18.1k|    _PyErr_ClearExcState(&gen->gi_exc_state);
  175|  18.1k|}
genobject.c:gen_dealloc:
  207|  5.23M|{
  208|  5.23M|    PyGenObject *gen = _PyGen_CAST(self);
  ------------------
  |  |   33|  5.23M|    _Py_CAST(PyGenObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  5.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  209|       |
  210|  5.23M|    _PyObject_GC_UNTRACK(gen);
  ------------------
  |  |  509|  5.23M|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  211|       |
  212|  5.23M|    FT_CLEAR_WEAKREFS(self, gen->gi_weakreflist);
  ------------------
  |  |   47|  5.23M|    do {                                            \
  |  |   48|  5.23M|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|  5.23M|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 5.23M]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|  5.23M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 5.23M]
  |  |  ------------------
  ------------------
  |  Branch (212:5): [True: 5.23M, False: 0]
  ------------------
  213|       |
  214|  5.23M|    _PyObject_GC_TRACK(self);
  ------------------
  |  |  507|  5.23M|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  215|       |
  216|  5.23M|    if (PyObject_CallFinalizerFromDealloc(self))
  ------------------
  |  Branch (216:9): [True: 0, False: 5.23M]
  ------------------
  217|      0|        return;                     /* resurrected.  :( */
  218|       |
  219|  5.23M|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  509|  5.23M|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  220|  5.23M|    if (PyAsyncGen_CheckExact(gen)) {
  ------------------
  |  |   46|  5.23M|#define PyAsyncGen_CheckExact(op) Py_IS_TYPE((op), &PyAsyncGen_Type)
  |  |  ------------------
  |  |  |  |  215|  5.23M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2, False: 5.23M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  221|       |        /* We have to handle this case for asynchronous generators
  222|       |           right here, because this code has to be between UNTRACK
  223|       |           and GC_Del. */
  224|      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]
  |  |  ------------------
  ------------------
  225|      2|    }
  226|  5.23M|    if (PyCoro_CheckExact(gen)) {
  ------------------
  |  |   31|  5.23M|#define PyCoro_CheckExact(op) Py_IS_TYPE((op), &PyCoro_Type)
  |  |  ------------------
  |  |  |  |  215|  5.23M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2, False: 5.23M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  227|      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]
  |  |  ------------------
  ------------------
  228|      2|    }
  229|  5.23M|    if (gen->gi_frame_state != FRAME_CLEARED) {
  ------------------
  |  Branch (229:9): [True: 0, False: 5.23M]
  ------------------
  230|      0|        gen->gi_frame_state = FRAME_CLEARED;
  231|      0|        gen_clear_frame(gen);
  232|      0|    }
  233|  5.23M|    assert(gen->gi_exc_state.exc_value == NULL);
  ------------------
  |  Branch (233:5): [True: 5.23M, False: 0]
  ------------------
  234|  5.23M|    PyStackRef_CLEAR(gen->gi_iframe.f_executable);
  ------------------
  |  |  732|  5.23M|    do { \
  |  |  733|  5.23M|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|  5.23M|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|  5.23M|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|  5.23M|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|  5.23M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 5.23M]
  |  |  ------------------
  ------------------
  235|  5.23M|    Py_CLEAR(gen->gi_name);
  ------------------
  |  |  484|  5.23M|    do { \
  |  |  485|  5.23M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  5.23M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  5.23M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  5.23M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  5.23M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 5.23M, False: 0]
  |  |  ------------------
  |  |  488|  5.23M|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  5.23M|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  5.23M|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  5.23M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  5.23M|        } \
  |  |  491|  5.23M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 5.23M]
  |  |  ------------------
  ------------------
  236|  5.23M|    Py_CLEAR(gen->gi_qualname);
  ------------------
  |  |  484|  5.23M|    do { \
  |  |  485|  5.23M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  5.23M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  5.23M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  5.23M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  5.23M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 5.23M, False: 0]
  |  |  ------------------
  |  |  488|  5.23M|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  5.23M|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  5.23M|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  5.23M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  5.23M|        } \
  |  |  491|  5.23M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 5.23M]
  |  |  ------------------
  ------------------
  237|       |
  238|  5.23M|    PyObject_GC_Del(gen);
  239|  5.23M|}
genobject.c:gen_send_ex:
  331|    230|{
  332|    230|    *presult = NULL;
  333|    230|    int8_t frame_state = FT_ATOMIC_LOAD_INT8_RELAXED(gen->gi_frame_state);
  ------------------
  |  |  156|    230|#define FT_ATOMIC_LOAD_INT8_RELAXED(value) value
  ------------------
  334|    230|    do {
  335|    230|        if (frame_state == FRAME_CREATED && arg && arg != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (335:13): [True: 77, False: 153]
  |  Branch (335:45): [True: 0, False: 77]
  |  Branch (335:52): [True: 0, False: 0]
  ------------------
  336|      0|            const char *msg = "can't send non-None value to a "
  337|      0|                                "just-started generator";
  338|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  339|      0|                msg = NON_INIT_CORO_MSG;
  340|      0|            }
  341|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  342|      0|                msg = "can't send non-None value to a "
  343|      0|                        "just-started async generator";
  344|      0|            }
  345|      0|            PyErr_SetString(PyExc_TypeError, msg);
  346|      0|            return PYGEN_ERROR;
  347|      0|        }
  348|    230|        if (frame_state == FRAME_EXECUTING) {
  ------------------
  |  Branch (348:13): [True: 0, False: 230]
  ------------------
  349|      0|            gen_raise_already_executing_error(gen);
  350|      0|            return PYGEN_ERROR;
  351|      0|        }
  352|    230|        if (FRAME_STATE_FINISHED(frame_state)) {
  ------------------
  |  |   58|    230|#define FRAME_STATE_FINISHED(S) ((S) == FRAME_CLEARED)
  |  |  ------------------
  |  |  |  Branch (58:33): [True: 0, False: 230]
  |  |  ------------------
  ------------------
  353|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  354|       |                /* `gen` is an exhausted coroutine: raise an error,
  355|       |                except when called from gen_close(), which should
  356|       |                always be a silent method. */
  357|      0|                PyErr_SetString(
  358|      0|                    PyExc_RuntimeError,
  359|      0|                    "cannot reuse already awaited coroutine");
  360|      0|            }
  361|      0|            else if (arg) {
  ------------------
  |  Branch (361:22): [True: 0, False: 0]
  ------------------
  362|       |                /* `gen` is an exhausted generator:
  363|       |                only return value if called from send(). */
  364|      0|                *presult = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  365|      0|                return PYGEN_RETURN;
  366|      0|            }
  367|      0|            return PYGEN_ERROR;
  368|      0|        }
  369|       |
  370|    230|        assert((frame_state == FRAME_CREATED) ||
  ------------------
  |  Branch (370:9): [True: 153, False: 0]
  |  Branch (370:9): [True: 153, False: 0]
  |  Branch (370:9): [True: 77, False: 153]
  ------------------
  371|    230|               FRAME_STATE_SUSPENDED(frame_state));
  372|    230|    } while (!_Py_GEN_TRY_SET_FRAME_STATE(gen, frame_state, FRAME_EXECUTING));
  ------------------
  |  |   57|    230|    ((gen)->gi_frame_state = (state), true)
  ------------------
  |  Branch (372:14): [True: 0, False: 230]
  ------------------
  373|       |
  374|    230|    return gen_send_ex2(gen, arg, presult, 0);
  375|    230|}
genobject.c:gen_send_ex2:
  261|  32.3k|{
  262|  32.3k|    assert(FT_ATOMIC_LOAD_INT8_RELAXED(gen->gi_frame_state) == FRAME_EXECUTING);
  ------------------
  |  Branch (262:5): [True: 32.3k, False: 0]
  ------------------
  263|       |
  264|  32.3k|    PyThreadState *tstate = _PyThreadState_GET();
  265|  32.3k|    _PyInterpreterFrame *frame = &gen->gi_iframe;
  266|       |
  267|       |    /* Push arg onto the frame's value stack */
  268|  32.3k|    PyObject *arg_obj = arg ? arg : Py_None;
  ------------------
  |  |  616|    230|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (268:25): [True: 32.1k, False: 230]
  ------------------
  269|  32.3k|    _PyFrame_StackPush(frame, PyStackRef_FromPyObjectNew(arg_obj));
  ------------------
  |  |  611|  32.3k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  32.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  270|       |
  271|  32.3k|    _PyErr_StackItem *prev_exc_info = tstate->exc_info;
  272|  32.3k|    gen->gi_exc_state.previous_item = prev_exc_info;
  273|  32.3k|    tstate->exc_info = &gen->gi_exc_state;
  274|       |
  275|  32.3k|    if (exc) {
  ------------------
  |  Branch (275:9): [True: 32.1k, False: 230]
  ------------------
  276|  32.1k|        assert(_PyErr_Occurred(tstate));
  ------------------
  |  Branch (276:9): [True: 32.1k, False: 0]
  ------------------
  277|  32.1k|        _PyErr_ChainStackItem();
  278|  32.1k|    }
  279|       |
  280|  32.3k|    EVAL_CALL_STAT_INC(EVAL_CALL_GENERATOR);
  ------------------
  |  |   79|  32.3k|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
  281|  32.3k|    PyObject *result = _PyEval_EvalFrame(tstate, frame, exc);
  282|  32.3k|    assert(tstate->exc_info == prev_exc_info);
  ------------------
  |  Branch (282:5): [True: 32.3k, False: 0]
  ------------------
  283|  32.3k|#ifndef Py_GIL_DISABLED
  284|  32.3k|    assert(gen->gi_exc_state.previous_item == NULL);
  ------------------
  |  Branch (284:5): [True: 32.3k, False: 0]
  ------------------
  285|  32.3k|    assert(frame->previous == NULL);
  ------------------
  |  Branch (285:5): [True: 32.3k, False: 0]
  ------------------
  286|  32.3k|    assert(gen->gi_frame_state != FRAME_EXECUTING);
  ------------------
  |  Branch (286:5): [True: 32.3k, False: 0]
  ------------------
  287|  32.3k|#endif
  288|       |
  289|       |    // The generator_return_kind field is used to distinguish between a
  290|       |    // yield and a return from within _PyEval_EvalFrame(). Earlier versions
  291|       |    // of CPython (prior to 3.15) used gi_frame_state for this purpose, but
  292|       |    // that requires the GIL for thread-safety.
  293|  32.3k|    int return_kind = ((_PyThreadStateImpl *)tstate)->generator_return_kind;
  294|       |
  295|  32.3k|    if (return_kind == GENERATOR_YIELD) {
  ------------------
  |  Branch (295:9): [True: 162, False: 32.1k]
  ------------------
  296|    162|        assert(result != NULL && !_PyErr_Occurred(tstate));
  ------------------
  |  Branch (296:9): [True: 162, False: 0]
  |  Branch (296:9): [True: 162, False: 0]
  ------------------
  297|    162|#ifndef Py_GIL_DISABLED
  298|    162|        assert(FRAME_STATE_SUSPENDED(gen->gi_frame_state));
  ------------------
  |  Branch (298:9): [True: 162, False: 0]
  |  Branch (298:9): [True: 162, False: 0]
  ------------------
  299|    162|#endif
  300|    162|        *presult = result;
  301|    162|        return PYGEN_NEXT;
  302|    162|    }
  303|       |
  304|  32.3k|    assert(return_kind == GENERATOR_RETURN);
  ------------------
  |  Branch (304:5): [True: 32.1k, False: 0]
  ------------------
  305|  32.1k|    assert(gen->gi_exc_state.exc_value == NULL);
  ------------------
  |  Branch (305:5): [True: 32.1k, False: 0]
  ------------------
  306|  32.1k|    assert(FT_ATOMIC_LOAD_INT8_RELAXED(gen->gi_frame_state) == FRAME_CLEARED);
  ------------------
  |  Branch (306:5): [True: 32.1k, False: 0]
  ------------------
  307|       |
  308|       |    /* If the generator just returned (as opposed to yielding), signal
  309|       |     * that the generator is exhausted. */
  310|  32.1k|    if (result) {
  ------------------
  |  Branch (310:9): [True: 68, False: 32.1k]
  ------------------
  311|     68|        assert(result == Py_None || !PyAsyncGen_CheckExact(gen));
  ------------------
  |  Branch (311:9): [True: 68, False: 0]
  |  Branch (311:9): [True: 0, False: 0]
  ------------------
  312|     68|        if (result == Py_None && !PyAsyncGen_CheckExact(gen) && !arg) {
  ------------------
  |  |  616|    136|#  define Py_None (&_Py_NoneStruct)
  ------------------
                      if (result == Py_None && !PyAsyncGen_CheckExact(gen) && !arg) {
  ------------------
  |  |   46|     68|#define PyAsyncGen_CheckExact(op) Py_IS_TYPE((op), &PyAsyncGen_Type)
  |  |  ------------------
  |  |  |  |  215|    136|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (312:13): [True: 68, False: 0]
  |  Branch (312:34): [True: 68, False: 0]
  |  Branch (312:65): [True: 68, False: 0]
  ------------------
  313|       |            /* Return NULL if called by gen_iternext() */
  314|     68|            Py_CLEAR(result);
  ------------------
  |  |  484|     68|    do { \
  |  |  485|     68|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     68|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     68|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     68|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     68|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 68, False: 0]
  |  |  ------------------
  |  |  488|     68|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     68|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     68|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     68|        } \
  |  |  491|     68|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 68]
  |  |  ------------------
  ------------------
  315|     68|        }
  316|     68|    }
  317|  32.1k|    else {
  318|  32.1k|        assert(!PyErr_ExceptionMatches(PyExc_StopIteration));
  ------------------
  |  Branch (318:9): [True: 32.1k, False: 0]
  ------------------
  319|  32.1k|        assert(!PyAsyncGen_CheckExact(gen) ||
  ------------------
  |  Branch (319:9): [True: 32.1k, False: 0]
  |  Branch (319:9): [True: 0, False: 0]
  ------------------
  320|  32.1k|            !PyErr_ExceptionMatches(PyExc_StopAsyncIteration));
  321|  32.1k|    }
  322|       |
  323|  32.1k|    *presult = result;
  324|  32.1k|    return result ? PYGEN_RETURN : PYGEN_ERROR;
  ------------------
  |  Branch (324:12): [True: 0, False: 32.1k]
  ------------------
  325|  32.1k|}
genobject.c:gen_traverse:
   83|   738k|{
   84|   738k|    PyGenObject *gen = _PyGen_CAST(self);
  ------------------
  |  |   33|   738k|    _Py_CAST(PyGenObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   738k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   85|   738k|    Py_VISIT(gen->gi_name);
  ------------------
  |  |  194|   738k|    do {                                                                \
  |  |  195|   738k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 738k, False: 0]
  |  |  ------------------
  |  |  196|   738k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   738k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   738k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   738k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 738k]
  |  |  ------------------
  |  |  198|   738k|                return vret;                                            \
  |  |  199|   738k|        }                                                               \
  |  |  200|   738k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 738k]
  |  |  ------------------
  ------------------
   86|   738k|    Py_VISIT(gen->gi_qualname);
  ------------------
  |  |  194|   738k|    do {                                                                \
  |  |  195|   738k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 738k, False: 0]
  |  |  ------------------
  |  |  196|   738k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   738k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   738k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   738k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 738k]
  |  |  ------------------
  |  |  198|   738k|                return vret;                                            \
  |  |  199|   738k|        }                                                               \
  |  |  200|   738k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 738k]
  |  |  ------------------
  ------------------
   87|   738k|    if (gen->gi_frame_state != FRAME_CLEARED) {
  ------------------
  |  Branch (87:9): [True: 738k, False: 0]
  ------------------
   88|   738k|        _PyInterpreterFrame *frame = &gen->gi_iframe;
   89|   738k|        assert(frame->frame_obj == NULL ||
  ------------------
  |  Branch (89:9): [True: 738k, False: 0]
  |  Branch (89:9): [True: 0, False: 0]
  ------------------
   90|   738k|               frame->frame_obj->f_frame->owner == FRAME_OWNED_BY_GENERATOR);
   91|   738k|        int err = _PyFrame_Traverse(frame, visit, arg);
   92|   738k|        if (err) {
  ------------------
  |  Branch (92:13): [True: 0, False: 738k]
  ------------------
   93|      0|            return err;
   94|      0|        }
   95|   738k|    }
   96|      0|    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|      0|        _Py_VISIT_STACKREF(gen->gi_iframe.f_executable);
  ------------------
  |  |  863|      0|    do {                                                                \
  |  |  864|      0|        if (!PyStackRef_IsNullOrInt(ref)) {                             \
  |  |  ------------------
  |  |  |  |  498|      0|#define PyStackRef_IsNullOrInt(stackref) (PyStackRef_IsNull(stackref) || PyStackRef_IsTaggedInt(stackref))
  |  |  |  |  ------------------
  |  |  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (482:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (498:74): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  865|      0|            int vret = _PyGC_VisitStackRef(&(ref), visit, arg);         \
  |  |  866|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (866:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  867|      0|                return vret;                                            \
  |  |  868|      0|        }                                                               \
  |  |  869|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (869:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  100|      0|    }
  101|       |    /* No need to visit cr_origin, because it's just tuples/str/int, so can't
  102|       |       participate in a reference cycle. */
  103|   738k|    Py_VISIT(gen->gi_exc_state.exc_value);
  ------------------
  |  |  194|   738k|    do {                                                                \
  |  |  195|   738k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 738k]
  |  |  ------------------
  |  |  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|   738k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 738k]
  |  |  ------------------
  ------------------
  104|   738k|    return 0;
  105|   738k|}
genobject.c:gen_iternext:
  762|    230|{
  763|    230|    assert(PyGen_CheckExact(self) || PyCoro_CheckExact(self));
  ------------------
  |  Branch (763:5): [True: 230, False: 0]
  |  Branch (763:5): [True: 0, False: 0]
  ------------------
  764|    230|    PyGenObject *gen = _PyGen_CAST(self);
  ------------------
  |  |   33|    230|    _Py_CAST(PyGenObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    230|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  765|       |
  766|    230|    PyObject *result;
  767|    230|    if (gen_send_ex(gen, NULL, &result) == PYGEN_RETURN) {
  ------------------
  |  Branch (767:9): [True: 0, False: 230]
  ------------------
  768|      0|        if (result != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (768:13): [True: 0, False: 0]
  ------------------
  769|      0|            _PyGen_SetStopIterationValue(result);
  770|      0|        }
  771|       |        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]
  |  |  ------------------
  ------------------
  772|      0|    }
  773|    230|    return result;
  774|    230|}
genobject.c:gen_close_iter:
  426|  32.1k|{
  427|  32.1k|    PyObject *retval = NULL;
  428|       |
  429|  32.1k|    if (PyGen_CheckExact(yf) || PyCoro_CheckExact(yf)) {
  ------------------
  |  |   17|  32.1k|#define PyGen_CheckExact(op) Py_IS_TYPE((op), &PyGen_Type)
  |  |  ------------------
  |  |  |  |  215|  64.2k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  32.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  32.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 32.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyGen_CheckExact(yf) || PyCoro_CheckExact(yf)) {
  ------------------
  |  |   31|  32.1k|#define PyCoro_CheckExact(op) Py_IS_TYPE((op), &PyCoro_Type)
  |  |  ------------------
  |  |  |  |  215|  32.1k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  32.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  32.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 32.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  430|      0|        retval = gen_close((PyObject *)yf, NULL);
  431|      0|        if (retval == NULL)
  ------------------
  |  Branch (431:13): [True: 0, False: 0]
  ------------------
  432|      0|            return -1;
  433|      0|    }
  434|  32.1k|    else {
  435|  32.1k|        PyObject *meth;
  436|  32.1k|        if (PyObject_GetOptionalAttr(yf, &_Py_ID(close), &meth) < 0) {
  ------------------
  |  |  920|  32.1k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  32.1k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  32.1k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (436:13): [True: 0, False: 32.1k]
  ------------------
  437|      0|            PyErr_FormatUnraisable("Exception ignored while "
  438|      0|                                   "closing generator %R", yf);
  439|      0|        }
  440|  32.1k|        if (meth) {
  ------------------
  |  Branch (440:13): [True: 0, False: 32.1k]
  ------------------
  441|      0|            retval = _PyObject_CallNoArgs(meth);
  442|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  443|      0|            if (retval == NULL)
  ------------------
  |  Branch (443:17): [True: 0, False: 0]
  ------------------
  444|      0|                return -1;
  445|      0|        }
  446|  32.1k|    }
  447|  32.1k|    Py_XDECREF(retval);
  ------------------
  |  |  524|  32.1k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  32.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  448|  32.1k|    return 0;
  449|  32.1k|}
genobject.c:gen_close:
  465|  50.3k|{
  466|  50.3k|    PyGenObject *gen = _PyGen_CAST(self);
  ------------------
  |  |   33|  50.3k|    _Py_CAST(PyGenObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  50.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  467|       |
  468|  50.3k|    int8_t frame_state = FT_ATOMIC_LOAD_INT8_RELAXED(gen->gi_frame_state);
  ------------------
  |  |  156|  50.3k|#define FT_ATOMIC_LOAD_INT8_RELAXED(value) value
  ------------------
  469|  50.3k|    do {
  470|  50.3k|        if (frame_state == FRAME_CREATED) {
  ------------------
  |  Branch (470:13): [True: 6, False: 50.3k]
  ------------------
  471|       |            // && (1) to avoid -Wunreachable-code warning on Clang
  472|      6|            if (!_Py_GEN_TRY_SET_FRAME_STATE(gen, frame_state, FRAME_CLEARED) && (1)) {
  ------------------
  |  |   57|     12|    ((gen)->gi_frame_state = (state), true)
  ------------------
  |  Branch (472:17): [True: 0, False: 6]
  |  Branch (472:82): [True: 0, Folded]
  ------------------
  473|      0|                continue;
  474|      0|            }
  475|      6|            gen_clear_frame(gen);
  476|      6|            Py_RETURN_NONE;
  ------------------
  |  |  628|      6|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  477|      6|        }
  478|       |
  479|  50.3k|        if (FRAME_STATE_FINISHED(frame_state)) {
  ------------------
  |  |   58|  50.3k|#define FRAME_STATE_FINISHED(S) ((S) == FRAME_CLEARED)
  |  |  ------------------
  |  |  |  Branch (58:33): [True: 0, False: 50.3k]
  |  |  ------------------
  ------------------
  480|      0|            Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  481|      0|        }
  482|       |
  483|  50.3k|        if (frame_state == FRAME_EXECUTING) {
  ------------------
  |  Branch (483:13): [True: 0, False: 50.3k]
  ------------------
  484|      0|            gen_raise_already_executing_error(gen);
  485|      0|            return NULL;
  486|      0|        }
  487|       |
  488|  50.3k|        assert(FRAME_STATE_SUSPENDED(frame_state));
  ------------------
  |  Branch (488:9): [True: 50.3k, False: 0]
  |  Branch (488:9): [True: 50.3k, False: 0]
  ------------------
  489|  50.3k|    } while (!_Py_GEN_TRY_SET_FRAME_STATE(gen, frame_state, FRAME_EXECUTING));
  ------------------
  |  |   57|  50.3k|    ((gen)->gi_frame_state = (state), true)
  ------------------
  |  Branch (489:14): [True: 0, False: 50.3k]
  ------------------
  490|       |
  491|  50.3k|    int err = 0;
  492|  50.3k|    _PyInterpreterFrame *frame = &gen->gi_iframe;
  493|  50.3k|    if (frame_state == FRAME_SUSPENDED_YIELD_FROM) {
  ------------------
  |  Branch (493:9): [True: 32.1k, False: 18.1k]
  ------------------
  494|  32.1k|        PyObject *yf = PyStackRef_AsPyObjectNew(_PyFrame_StackPeek(frame, 2));
  ------------------
  |  |  757|  32.1k|#define PyStackRef_AsPyObjectNew(stackref) Py_NewRef(PyStackRef_AsPyObjectBorrow(stackref))
  |  |  ------------------
  |  |  |  |  550|  32.1k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  32.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  32.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  495|  32.1k|        err = gen_close_iter(yf);
  496|  32.1k|        Py_DECREF(yf);
  ------------------
  |  |  430|  32.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  32.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  497|  32.1k|    }
  498|       |
  499|  50.3k|    if (is_resume(frame->instr_ptr)) {
  ------------------
  |  Branch (499:9): [True: 50.3k, False: 0]
  ------------------
  500|  50.3k|        bool no_unwind_tools = _PyEval_NoToolsForUnwind(_PyThreadState_GET(), frame);
  501|       |        /* We can safely ignore the outermost try block
  502|       |         * as it is automatically generated to handle
  503|       |         * StopIteration. */
  504|  50.3k|        int oparg = frame->instr_ptr->op.arg;
  505|  50.3k|        if (oparg & RESUME_OPARG_DEPTH1_MASK && no_unwind_tools) {
  ------------------
  |  |   95|   100k|#define RESUME_OPARG_DEPTH1_MASK 0x8
  ------------------
  |  Branch (505:13): [True: 18.1k, False: 32.1k]
  |  Branch (505:49): [True: 18.1k, False: 0]
  ------------------
  506|       |            // RESUME after YIELD_VALUE and exception depth is 1
  507|  18.1k|            assert((oparg & RESUME_OPARG_LOCATION_MASK) != RESUME_AT_FUNC_START);
  ------------------
  |  Branch (507:13): [True: 18.1k, False: 0]
  ------------------
  508|  18.1k|            FT_ATOMIC_STORE_INT8_RELEASE(gen->gi_frame_state, FRAME_CLEARED);
  ------------------
  |  |  167|  18.1k|#define FT_ATOMIC_STORE_INT8_RELEASE(value, new_value) value = new_value
  ------------------
  509|  18.1k|            gen_clear_frame(gen);
  510|  18.1k|            Py_RETURN_NONE;
  ------------------
  |  |  628|  18.1k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  18.1k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  511|  18.1k|        }
  512|  50.3k|    }
  513|  32.1k|    if (err == 0) {
  ------------------
  |  Branch (513:9): [True: 32.1k, False: 0]
  ------------------
  514|  32.1k|        PyErr_SetNone(PyExc_GeneratorExit);
  515|  32.1k|    }
  516|       |
  517|  32.1k|    PyObject *retval;
  518|  32.1k|    if (gen_send_ex2(gen, Py_None, &retval, 1) == PYGEN_RETURN) {
  ------------------
  |  |  616|  32.1k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (518:9): [True: 0, False: 32.1k]
  ------------------
  519|       |        // the generator returned a value while closing, return the value here
  520|      0|        assert(!PyErr_Occurred());
  ------------------
  |  Branch (520:9): [True: 0, False: 0]
  ------------------
  521|      0|        return retval;
  522|      0|    }
  523|  32.1k|    else if (retval) {
  ------------------
  |  Branch (523:14): [True: 0, False: 32.1k]
  ------------------
  524|      0|        const char *msg = "generator ignored GeneratorExit";
  525|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  526|      0|            msg = "coroutine ignored GeneratorExit";
  527|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  528|      0|            msg = ASYNC_GEN_IGNORED_EXIT_MSG;
  529|      0|        }
  530|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  531|      0|        PyErr_SetString(PyExc_RuntimeError, msg);
  532|      0|        return NULL;
  533|      0|    }
  534|  32.1k|    assert(PyErr_Occurred());
  ------------------
  |  Branch (534:5): [True: 32.1k, False: 0]
  ------------------
  535|       |
  536|  32.1k|    if (PyErr_ExceptionMatches(PyExc_GeneratorExit)) {
  ------------------
  |  Branch (536:9): [True: 32.1k, False: 0]
  ------------------
  537|  32.1k|        PyErr_Clear();          /* ignore this error */
  538|  32.1k|        Py_RETURN_NONE;
  ------------------
  |  |  628|  32.1k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  32.1k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  539|  32.1k|    }
  540|      0|    return NULL;
  541|  32.1k|}
genobject.c:is_resume:
  453|  50.3k|{
  454|  50.3k|    uint8_t code = FT_ATOMIC_LOAD_UINT8_RELAXED(instr->op.code);
  ------------------
  |  |  157|  50.3k|#define FT_ATOMIC_LOAD_UINT8_RELAXED(value) value
  ------------------
  455|  50.3k|    return (
  456|  50.3k|        code == RESUME ||
  ------------------
  |  |  130|   100k|#define RESUME                                 128
  ------------------
  |  Branch (456:9): [True: 4, False: 50.3k]
  ------------------
  457|  50.3k|        code == RESUME_CHECK ||
  ------------------
  |  |  202|   100k|#define RESUME_CHECK                           200
  ------------------
  |  Branch (457:9): [True: 50.3k, False: 0]
  ------------------
  458|      0|        code == RESUME_CHECK_JIT ||
  ------------------
  |  |  203|  50.3k|#define RESUME_CHECK_JIT                       201
  ------------------
  |  Branch (458:9): [True: 0, False: 0]
  ------------------
  459|      0|        code == INSTRUMENTED_RESUME
  ------------------
  |  |  232|      0|#define INSTRUMENTED_RESUME                    244
  ------------------
  |  Branch (459:9): [True: 0, False: 0]
  ------------------
  460|  50.3k|    );
  461|  50.3k|}
genobject.c:gen_finalize:
  109|  5.23M|{
  110|  5.23M|    PyGenObject *gen = (PyGenObject *)self;
  111|       |
  112|  5.23M|    if (FRAME_STATE_FINISHED(gen->gi_frame_state)) {
  ------------------
  |  |   58|  5.23M|#define FRAME_STATE_FINISHED(S) ((S) == FRAME_CLEARED)
  |  |  ------------------
  |  |  |  Branch (58:33): [True: 5.18M, False: 50.3k]
  |  |  ------------------
  ------------------
  113|       |        /* Generator isn't paused, so no need to close */
  114|  5.18M|        return;
  115|  5.18M|    }
  116|       |
  117|  50.3k|    if (PyAsyncGen_CheckExact(self)) {
  ------------------
  |  |   46|  50.3k|#define PyAsyncGen_CheckExact(op) Py_IS_TYPE((op), &PyAsyncGen_Type)
  |  |  ------------------
  |  |  |  |  215|  50.3k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  50.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  50.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2, False: 50.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|  50.3k|    PyObject *exc = PyErr_GetRaisedException();
  140|       |
  141|       |    /* If `gen` is a coroutine, and if it was never awaited on,
  142|       |       issue a RuntimeWarning. */
  143|  50.3k|    assert(_PyGen_GetCode(gen) != NULL);
  ------------------
  |  Branch (143:5): [True: 50.3k, False: 0]
  ------------------
  144|  50.3k|    if (_PyGen_GetCode(gen)->co_flags & CO_COROUTINE &&
  ------------------
  |  |  131|   100k|#define CO_COROUTINE            0x0080
  ------------------
  |  Branch (144:9): [True: 0, False: 50.3k]
  ------------------
  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|  50.3k|    else {
  150|  50.3k|        PyObject *res = gen_close((PyObject*)gen, NULL);
  151|  50.3k|        if (res == NULL) {
  ------------------
  |  Branch (151:13): [True: 0, False: 50.3k]
  ------------------
  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|  50.3k|        else {
  158|  50.3k|            Py_DECREF(res);
  ------------------
  |  |  430|  50.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  50.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  50.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  159|  50.3k|        }
  160|  50.3k|    }
  161|       |
  162|       |    /* Restore the saved exception. */
  163|  50.3k|    PyErr_SetRaisedException(exc);
  164|  50.3k|}
genobject.c:make_gen:
 1097|  5.23M|{
 1098|  5.23M|    PyCodeObject *code = (PyCodeObject *)func->func_code;
 1099|  5.23M|    int slots = _PyFrame_NumSlotsForCodeObject(code);
 1100|  5.23M|    PyGenObject *gen = PyObject_GC_NewVar(PyGenObject, type, slots);
  ------------------
  |  |  183|  5.23M|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|  5.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1101|  5.23M|    if (gen == NULL) {
  ------------------
  |  Branch (1101:9): [True: 0, False: 5.23M]
  ------------------
 1102|      0|        return NULL;
 1103|      0|    }
 1104|  5.23M|    gen->gi_frame_state = FRAME_CLEARED;
 1105|  5.23M|    gen->gi_weakreflist = NULL;
 1106|  5.23M|    gen->gi_exc_state.exc_value = NULL;
 1107|  5.23M|    gen->gi_exc_state.previous_item = NULL;
 1108|  5.23M|    gen->gi_iframe.f_executable = PyStackRef_None;
  ------------------
  |  |  485|  5.23M|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  ------------------
  |  |  |  |   55|  5.23M|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
 1109|  5.23M|    assert(func->func_name != NULL);
  ------------------
  |  Branch (1109:5): [True: 5.23M, False: 0]
  ------------------
 1110|  5.23M|    gen->gi_name = Py_NewRef(func->func_name);
  ------------------
  |  |  550|  5.23M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  5.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1111|  5.23M|    assert(func->func_qualname != NULL);
  ------------------
  |  Branch (1111:5): [True: 5.23M, False: 0]
  ------------------
 1112|  5.23M|    gen->gi_qualname = Py_NewRef(func->func_qualname);
  ------------------
  |  |  550|  5.23M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  5.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1113|  5.23M|    _PyObject_GC_TRACK(gen);
  ------------------
  |  |  507|  5.23M|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1114|  5.23M|    return (PyObject *)gen;
 1115|  5.23M|}

_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|}

PySeqIter_New:
   19|  2.69M|{
   20|  2.69M|    seqiterobject *it;
   21|       |
   22|  2.69M|    if (!PySequence_Check(seq)) {
  ------------------
  |  Branch (22:9): [True: 0, False: 2.69M]
  ------------------
   23|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
   24|      0|        return NULL;
   25|      0|    }
   26|  2.69M|    it = PyObject_GC_New(seqiterobject, &PySeqIter_Type);
  ------------------
  |  |  181|  2.69M|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  2.69M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   27|  2.69M|    if (it == NULL)
  ------------------
  |  Branch (27:9): [True: 0, False: 2.69M]
  ------------------
   28|      0|        return NULL;
   29|  2.69M|    it->it_index = 0;
   30|  2.69M|    it->it_seq = Py_NewRef(seq);
  ------------------
  |  |  550|  2.69M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.69M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.69M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   31|  2.69M|    _PyObject_GC_TRACK(it);
  ------------------
  |  |  507|  2.69M|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.69M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.69M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  2.69M|    return (PyObject *)it;
   33|  2.69M|}
iterobject.c:iter_dealloc:
   37|  2.69M|{
   38|  2.69M|    seqiterobject *it = (seqiterobject*)op;
   39|  2.69M|    _PyObject_GC_UNTRACK(it);
  ------------------
  |  |  509|  2.69M|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.69M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.69M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   40|  2.69M|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  524|  2.69M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.69M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.69M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   41|  2.69M|    PyObject_GC_Del(it);
   42|  2.69M|}
iterobject.c:iter_traverse:
   46|  81.5k|{
   47|  81.5k|    seqiterobject *it = (seqiterobject*)op;
   48|  81.5k|    Py_VISIT(it->it_seq);
  ------------------
  |  |  194|  81.5k|    do {                                                                \
  |  |  195|  81.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 81.5k, False: 0]
  |  |  ------------------
  |  |  196|  81.5k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  81.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  81.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  81.5k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 81.5k]
  |  |  ------------------
  |  |  198|  81.5k|                return vret;                                            \
  |  |  199|  81.5k|        }                                                               \
  |  |  200|  81.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 81.5k]
  |  |  ------------------
  ------------------
   49|  81.5k|    return 0;
   50|  81.5k|}
iterobject.c:iter_iternext:
   54|  7.89M|{
   55|  7.89M|    seqiterobject *it;
   56|  7.89M|    PyObject *seq;
   57|  7.89M|    PyObject *result;
   58|       |
   59|  7.89M|    assert(PySeqIter_Check(iterator));
  ------------------
  |  Branch (59:5): [True: 7.89M, False: 0]
  ------------------
   60|  7.89M|    it = (seqiterobject *)iterator;
   61|  7.89M|    seq = it->it_seq;
   62|  7.89M|    if (seq == NULL)
  ------------------
  |  Branch (62:9): [True: 0, False: 7.89M]
  ------------------
   63|      0|        return NULL;
   64|  7.89M|    if (it->it_index == PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|  7.89M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (64:9): [True: 0, False: 7.89M]
  ------------------
   65|      0|        PyErr_SetString(PyExc_OverflowError,
   66|      0|                        "iter index too large");
   67|      0|        return NULL;
   68|      0|    }
   69|       |
   70|  7.89M|    result = PySequence_GetItem(seq, it->it_index);
   71|  7.89M|    if (result != NULL) {
  ------------------
  |  Branch (71:9): [True: 5.19M, False: 2.69M]
  ------------------
   72|  5.19M|        it->it_index++;
   73|  5.19M|        return result;
   74|  5.19M|    }
   75|  2.69M|    if (PyErr_ExceptionMatches(PyExc_IndexError) ||
  ------------------
  |  Branch (75:9): [True: 2.69M, False: 0]
  ------------------
   76|      0|        PyErr_ExceptionMatches(PyExc_StopIteration))
  ------------------
  |  Branch (76:9): [True: 0, False: 0]
  ------------------
   77|  2.69M|    {
   78|  2.69M|        PyErr_Clear();
   79|  2.69M|        it->it_seq = NULL;
   80|  2.69M|        Py_DECREF(seq);
  ------------------
  |  |  430|  2.69M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.69M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.69M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   81|  2.69M|    }
   82|       |    return NULL;
   83|  7.89M|}
iterobject.c:iter_len:
   87|  18.2k|{
   88|  18.2k|    seqiterobject *it = (seqiterobject*)op;
   89|  18.2k|    Py_ssize_t seqsize, len;
   90|       |
   91|  18.2k|    if (it->it_seq) {
  ------------------
  |  Branch (91:9): [True: 18.2k, False: 0]
  ------------------
   92|  18.2k|        if (_PyObject_HasLen(it->it_seq)) {
  ------------------
  |  Branch (92:13): [True: 18.2k, False: 0]
  ------------------
   93|  18.2k|            seqsize = PySequence_Size(it->it_seq);
   94|  18.2k|            if (seqsize == -1)
  ------------------
  |  Branch (94:17): [True: 0, False: 18.2k]
  ------------------
   95|      0|                return NULL;
   96|  18.2k|        }
   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|  18.2k|        len = seqsize - it->it_index;
  101|  18.2k|        if (len >= 0)
  ------------------
  |  Branch (101:13): [True: 18.2k, False: 0]
  ------------------
  102|  18.2k|            return PyLong_FromSsize_t(len);
  103|  18.2k|    }
  104|      0|    return PyLong_FromLong(0);
  105|  18.2k|}

_PyLazyImport_New:
   15|     13|{
   16|     13|    PyLazyImportObject *m;
   17|     13|    if (!name || !PyUnicode_Check(name)) {
  ------------------
  |  |  103|     13|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     13|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (17:9): [True: 0, False: 13]
  |  Branch (17:18): [True: 0, False: 13]
  ------------------
   18|      0|        PyErr_SetString(PyExc_TypeError, "expected str for name");
   19|      0|        return NULL;
   20|      0|    }
   21|     13|    if (fromlist == Py_None || fromlist == NULL) {
  ------------------
  |  |  616|     26|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (21:9): [True: 9, False: 4]
  |  Branch (21:32): [True: 0, False: 4]
  ------------------
   22|      9|        fromlist = NULL;
   23|      9|    }
   24|      4|    else if (!PyUnicode_Check(fromlist) && !PyTuple_Check(fromlist)) {
  ------------------
  |  |  103|      4|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      8|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  else if (!PyUnicode_Check(fromlist) && !PyTuple_Check(fromlist)) {
  ------------------
  |  |   27|      2|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (24:14): [True: 2, False: 2]
  |  Branch (24:44): [True: 0, False: 2]
  ------------------
   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|     13|    m = PyObject_GC_New(PyLazyImportObject, &PyLazyImport_Type);
  ------------------
  |  |  181|     13|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   30|     13|    if (m == NULL) {
  ------------------
  |  Branch (30:9): [True: 0, False: 13]
  ------------------
   31|      0|        return NULL;
   32|      0|    }
   33|     13|    m->lz_builtins = Py_XNewRef(builtins);
  ------------------
  |  |  551|     13|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   34|     13|    m->lz_from = Py_NewRef(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   35|     13|    m->lz_attr = Py_XNewRef(fromlist);
  ------------------
  |  |  551|     13|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|       |
   37|       |    // Capture frame information for the original import location.
   38|     13|    m->lz_code = NULL;
   39|     13|    m->lz_instr_offset = -1;
   40|       |
   41|     13|    if (frame != NULL) {
  ------------------
  |  Branch (41:9): [True: 13, False: 0]
  ------------------
   42|     13|        PyCodeObject *code = _PyFrame_GetCode(frame);
   43|     13|        if (code != NULL) {
  ------------------
  |  Branch (43:13): [True: 13, False: 0]
  ------------------
   44|     13|            m->lz_code = (PyCodeObject *)Py_NewRef(code);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   45|       |            // Calculate the instruction offset from the current frame.
   46|     13|            m->lz_instr_offset = _PyInterpreterFrame_LASTI(frame);
  ------------------
  |  |   18|     13|    ((int)((IF)->instr_ptr - _PyFrame_GetBytecode((IF))))
  ------------------
   47|     13|        }
   48|     13|    }
   49|       |
   50|     13|    _PyObject_GC_TRACK(m);
  ------------------
  |  |  507|     13|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   51|     13|    return (PyObject *)m;
   52|     13|}
lazyimportobject.c:lazy_import_dealloc:
   78|      2|{
   79|      2|    _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  509|      2|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   80|      2|    (void)lazy_import_clear(op);
   81|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|      2|}
lazyimportobject.c:lazy_import_traverse:
   56|  1.87k|{
   57|  1.87k|    PyLazyImportObject *m = PyLazyImportObject_CAST(op);
  ------------------
  |  |   11|  1.87k|#define PyLazyImportObject_CAST(op) ((PyLazyImportObject *)(op))
  ------------------
   58|  1.87k|    Py_VISIT(m->lz_builtins);
  ------------------
  |  |  194|  1.87k|    do {                                                                \
  |  |  195|  1.87k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.87k, False: 0]
  |  |  ------------------
  |  |  196|  1.87k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.87k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.87k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.87k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.87k]
  |  |  ------------------
  |  |  198|  1.87k|                return vret;                                            \
  |  |  199|  1.87k|        }                                                               \
  |  |  200|  1.87k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.87k]
  |  |  ------------------
  ------------------
   59|  1.87k|    Py_VISIT(m->lz_from);
  ------------------
  |  |  194|  1.87k|    do {                                                                \
  |  |  195|  1.87k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.87k, False: 0]
  |  |  ------------------
  |  |  196|  1.87k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.87k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.87k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.87k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.87k]
  |  |  ------------------
  |  |  198|  1.87k|                return vret;                                            \
  |  |  199|  1.87k|        }                                                               \
  |  |  200|  1.87k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.87k]
  |  |  ------------------
  ------------------
   60|  1.87k|    Py_VISIT(m->lz_attr);
  ------------------
  |  |  194|  1.87k|    do {                                                                \
  |  |  195|  1.87k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 536, False: 1.34k]
  |  |  ------------------
  |  |  196|    536|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    536|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    536|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    536|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 536]
  |  |  ------------------
  |  |  198|    536|                return vret;                                            \
  |  |  199|    536|        }                                                               \
  |  |  200|  1.87k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.87k]
  |  |  ------------------
  ------------------
   61|  1.87k|    Py_VISIT(m->lz_code);
  ------------------
  |  |  194|  1.87k|    do {                                                                \
  |  |  195|  1.87k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.87k, False: 0]
  |  |  ------------------
  |  |  196|  1.87k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.87k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.87k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.87k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.87k]
  |  |  ------------------
  |  |  198|  1.87k|                return vret;                                            \
  |  |  199|  1.87k|        }                                                               \
  |  |  200|  1.87k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.87k]
  |  |  ------------------
  ------------------
   62|  1.87k|    return 0;
   63|  1.87k|}
lazyimportobject.c:lazy_import_clear:
   67|      2|{
   68|      2|    PyLazyImportObject *m = PyLazyImportObject_CAST(op);
  ------------------
  |  |   11|      2|#define PyLazyImportObject_CAST(op) ((PyLazyImportObject *)(op))
  ------------------
   69|      2|    Py_CLEAR(m->lz_builtins);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
   70|      2|    Py_CLEAR(m->lz_from);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
   71|      2|    Py_CLEAR(m->lz_attr);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
   72|       |    Py_CLEAR(m->lz_code);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
   73|      2|    return 0;
   74|      2|}

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

_PyLong_Copy:
  223|     62|{
  224|     62|    assert(src != NULL);
  ------------------
  |  Branch (224:5): [True: 62, False: 0]
  ------------------
  225|     62|    int sign;
  226|       |
  227|     62|    if (_PyLong_IsCompact(src)) {
  ------------------
  |  Branch (227:9): [True: 62, False: 0]
  ------------------
  228|     62|        stwodigits ival = medium_value(src);
  ------------------
  |  |   27|     62|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
  229|     62|        if (IS_SMALL_INT(ival)) {
  ------------------
  |  |   29|     62|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  ------------------
  |  |  |  |   68|     62|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|     62|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  ------------------
  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|     62|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (68:6): [True: 62, False: 0]
  |  |  |  |  |  Branch (68:37): [True: 62, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  230|     62|            return get_small_int((sdigit)ival);
  231|     62|        }
  232|      0|        sign = _PyLong_CompactSign(src);
  233|      0|    }
  234|      0|    else {
  235|      0|        sign = _PyLong_NonCompactSign(src);
  236|      0|    }
  237|       |
  238|      0|    Py_ssize_t size = _PyLong_DigitCount(src);
  239|      0|    PyLongObject *result = long_alloc(size);
  240|       |
  241|      0|    if (result == NULL) {
  ------------------
  |  Branch (241:9): [True: 0, False: 0]
  ------------------
  242|      0|        return NULL;
  243|      0|    }
  244|      0|    _PyLong_SetSignAndDigitCount(result, sign, size);
  245|      0|    memcpy(result->long_value.ob_digit, src->long_value.ob_digit,
  246|      0|           size * sizeof(digit));
  247|      0|    return (PyObject *)result;
  248|      0|}
PyLong_FromLong:
  408|  46.2M|{
  409|       |    PYLONG_FROM_INT(unsigned long, long, ival);
  ------------------
  |  |  371|  46.2M|    do {                                                                            \
  |  |  372|  46.2M|        /* Handle small and medium cases. */                                        \
  |  |  373|  46.2M|        if (IS_SMALL_INT(ival)) {                                                   \
  |  |  ------------------
  |  |  |  |   29|  46.2M|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  |  |  ------------------
  |  |  |  |  |  |   68|  46.2M|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   98|  46.2M|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   97|  46.2M|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (68:6): [True: 46.2M, False: 11]
  |  |  |  |  |  |  |  Branch (68:37): [True: 42.4M, False: 3.79M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  374|  42.4M|            return get_small_int((sdigit)(ival));                                   \
  |  |  375|  42.4M|        }                                                                           \
  |  |  376|  46.2M|        if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|  3.79M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  3.79M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  3.79M|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|  3.79M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  3.79M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  3.79M|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 3.79M, False: 0]
  |  |  |  Branch (376:49): [True: 3.79M, False: 61]
  |  |  ------------------
  |  |  377|  3.79M|            return _PyLong_FromMedium((sdigit)(ival));                              \
  |  |  378|  3.79M|        }                                                                           \
  |  |  379|  3.79M|        UINT_TYPE abs_ival = (ival) < 0 ? 0U-(UINT_TYPE)(ival) : (UINT_TYPE)(ival); \
  |  |  ------------------
  |  |  |  Branch (379:30): [True: 0, False: 61]
  |  |  ------------------
  |  |  380|     61|        /* Do shift in two steps to avoid possible undefined behavior. */           \
  |  |  381|     61|        UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|     61|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|     61|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  382|     61|        /* Count digits (at least two - smaller cases were handled above). */       \
  |  |  383|     61|        Py_ssize_t ndigits = 2;                                                     \
  |  |  384|     61|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (384:16): [True: 0, False: 61]
  |  |  ------------------
  |  |  385|      0|            ++ndigits;                                                              \
  |  |  386|      0|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  387|      0|        }                                                                           \
  |  |  388|     61|        /* Construct output value. */                                               \
  |  |  389|     61|        PyLongObject *v = long_alloc(ndigits);                                      \
  |  |  390|     61|        if (v == NULL) {                                                            \
  |  |  ------------------
  |  |  |  Branch (390:13): [True: 0, False: 61]
  |  |  ------------------
  |  |  391|      0|            return NULL;                                                            \
  |  |  392|      0|        }                                                                           \
  |  |  393|     61|        digit *p = v->long_value.ob_digit;                                          \
  |  |  394|     61|        _PyLong_SetSignAndDigitCount(v, (ival) < 0 ? -1 : 1, ndigits);              \
  |  |  ------------------
  |  |  |  Branch (394:41): [True: 0, False: 61]
  |  |  ------------------
  |  |  395|     61|        t = abs_ival;                                                               \
  |  |  396|    183|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (396:16): [True: 122, False: 61]
  |  |  ------------------
  |  |  397|    122|            *p++ = (digit)(t & PyLong_MASK);                                        \
  |  |  ------------------
  |  |  |  |   62|    122|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|    122|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    122|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  398|    122|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|    122|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  399|    122|        }                                                                           \
  |  |  400|     61|        return (PyObject *)v;                                                       \
  |  |  401|     61|    } while(0)
  |  |  ------------------
  |  |  |  Branch (401:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  410|  46.2M|}
PyLong_FromUnsignedLong:
  446|  5.70k|{
  447|       |    PYLONG_FROM_UINT(unsigned long, ival);
  ------------------
  |  |  413|  5.70k|    do { \
  |  |  414|  5.70k|        /* Handle small and medium cases. */ \
  |  |  415|  5.70k|        if (IS_SMALL_UINT(ival)) { \
  |  |  ------------------
  |  |  |  |   30|  5.70k|#define IS_SMALL_UINT(ival) ((ival) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|  5.70k|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (30:29): [True: 651, False: 5.05k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  416|    651|            return get_small_int((sdigit)(ival)); \
  |  |  417|    651|        } \
  |  |  418|  5.70k|        if ((ival) <= PyLong_MASK) { \
  |  |  ------------------
  |  |  |  |   62|  5.05k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  5.05k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  5.05k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (418:13): [True: 4.20k, False: 856]
  |  |  ------------------
  |  |  419|  4.20k|            return _PyLong_FromMedium((sdigit)(ival)); \
  |  |  420|  4.20k|        } \
  |  |  421|  5.05k|        /* Do shift in two steps to avoid possible undefined behavior. */ \
  |  |  422|  5.05k|        INT_TYPE t = (ival) >> PyLong_SHIFT >> PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|    856|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       INT_TYPE t = (ival) >> PyLong_SHIFT >> PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|    856|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  423|    856|        /* Count digits (at least two - smaller cases were handled above). */ \
  |  |  424|    856|        Py_ssize_t ndigits = 2; \
  |  |  425|    856|        while (t) { \
  |  |  ------------------
  |  |  |  Branch (425:16): [True: 0, False: 856]
  |  |  ------------------
  |  |  426|      0|            ++ndigits; \
  |  |  427|      0|            t >>= PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  428|      0|        } \
  |  |  429|    856|        /* Construct output value. */ \
  |  |  430|    856|        PyLongObject *v = long_alloc(ndigits); \
  |  |  431|    856|        if (v == NULL) { \
  |  |  ------------------
  |  |  |  Branch (431:13): [True: 0, False: 856]
  |  |  ------------------
  |  |  432|      0|            return NULL; \
  |  |  433|      0|        } \
  |  |  434|    856|        digit *p = v->long_value.ob_digit; \
  |  |  435|  2.56k|        while ((ival)) { \
  |  |  ------------------
  |  |  |  Branch (435:16): [True: 1.71k, False: 856]
  |  |  ------------------
  |  |  436|  1.71k|            *p++ = (digit)((ival) & PyLong_MASK); \
  |  |  ------------------
  |  |  |  |   62|  1.71k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  1.71k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  1.71k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  437|  1.71k|            (ival) >>= PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|  1.71k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  438|  1.71k|        } \
  |  |  439|    856|        return (PyObject *)v; \
  |  |  440|    856|    } while(0)
  |  |  ------------------
  |  |  |  Branch (440:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  448|  5.70k|}
PyLong_FromUnsignedLongLong:
  454|    591|{
  455|       |    PYLONG_FROM_UINT(unsigned long long, ival);
  ------------------
  |  |  413|    591|    do { \
  |  |  414|    591|        /* Handle small and medium cases. */ \
  |  |  415|    591|        if (IS_SMALL_UINT(ival)) { \
  |  |  ------------------
  |  |  |  |   30|    591|#define IS_SMALL_UINT(ival) ((ival) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|    591|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (30:29): [True: 117, False: 474]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  416|    117|            return get_small_int((sdigit)(ival)); \
  |  |  417|    117|        } \
  |  |  418|    591|        if ((ival) <= PyLong_MASK) { \
  |  |  ------------------
  |  |  |  |   62|    474|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|    474|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    474|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (418:13): [True: 234, False: 240]
  |  |  ------------------
  |  |  419|    234|            return _PyLong_FromMedium((sdigit)(ival)); \
  |  |  420|    234|        } \
  |  |  421|    474|        /* Do shift in two steps to avoid possible undefined behavior. */ \
  |  |  422|    474|        INT_TYPE t = (ival) >> PyLong_SHIFT >> PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|    240|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       INT_TYPE t = (ival) >> PyLong_SHIFT >> PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|    240|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  423|    240|        /* Count digits (at least two - smaller cases were handled above). */ \
  |  |  424|    240|        Py_ssize_t ndigits = 2; \
  |  |  425|    240|        while (t) { \
  |  |  ------------------
  |  |  |  Branch (425:16): [True: 0, False: 240]
  |  |  ------------------
  |  |  426|      0|            ++ndigits; \
  |  |  427|      0|            t >>= PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  428|      0|        } \
  |  |  429|    240|        /* Construct output value. */ \
  |  |  430|    240|        PyLongObject *v = long_alloc(ndigits); \
  |  |  431|    240|        if (v == NULL) { \
  |  |  ------------------
  |  |  |  Branch (431:13): [True: 0, False: 240]
  |  |  ------------------
  |  |  432|      0|            return NULL; \
  |  |  433|      0|        } \
  |  |  434|    240|        digit *p = v->long_value.ob_digit; \
  |  |  435|    720|        while ((ival)) { \
  |  |  ------------------
  |  |  |  Branch (435:16): [True: 480, False: 240]
  |  |  ------------------
  |  |  436|    480|            *p++ = (digit)((ival) & PyLong_MASK); \
  |  |  ------------------
  |  |  |  |   62|    480|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|    480|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    480|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  437|    480|            (ival) >>= PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|    480|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  438|    480|        } \
  |  |  439|    240|        return (PyObject *)v; \
  |  |  440|    240|    } while(0)
  |  |  ------------------
  |  |  |  Branch (440:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  456|    591|}
PyLong_FromSize_t:
  462|     84|{
  463|       |    PYLONG_FROM_UINT(size_t, ival);
  ------------------
  |  |  413|     84|    do { \
  |  |  414|     84|        /* Handle small and medium cases. */ \
  |  |  415|     84|        if (IS_SMALL_UINT(ival)) { \
  |  |  ------------------
  |  |  |  |   30|     84|#define IS_SMALL_UINT(ival) ((ival) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|     84|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (30:29): [True: 84, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  416|     84|            return get_small_int((sdigit)(ival)); \
  |  |  417|     84|        } \
  |  |  418|     84|        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|     84|}
PyLong_FromDouble:
  470|     24|{
  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|     24|    const double int_max = (unsigned long)LONG_MAX + 1;
  482|     24|    if (-int_max < dval && dval < int_max) {
  ------------------
  |  Branch (482:9): [True: 24, False: 0]
  |  Branch (482:28): [True: 24, False: 0]
  ------------------
  483|     24|        return PyLong_FromLong((long)dval);
  484|     24|    }
  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);
  ------------------
  |  Branch (505:5): [True: 0, False: 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|  52.5M|{
  595|       |    /* This version originally by Tim Peters */
  596|  52.5M|    PyLongObject *v;
  597|  52.5M|    long res;
  598|  52.5M|    Py_ssize_t i;
  599|  52.5M|    int sign;
  600|  52.5M|    int do_decref = 0; /* if PyNumber_Index was called */
  601|       |
  602|  52.5M|    *overflow = 0;
  603|  52.5M|    if (vv == NULL) {
  ------------------
  |  Branch (603:9): [True: 0, False: 52.5M]
  ------------------
  604|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  605|      0|        return -1;
  606|      0|    }
  607|       |
  608|  52.5M|    if (PyLong_Check(vv)) {
  ------------------
  |  |   13|  52.5M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  52.5M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 52.5M, False: 27]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  609|  52.5M|        v = (PyLongObject *)vv;
  610|  52.5M|    }
  611|     27|    else {
  612|     27|        v = (PyLongObject *)_PyNumber_Index(vv);
  613|     27|        if (v == NULL)
  ------------------
  |  Branch (613:13): [True: 27, False: 0]
  ------------------
  614|     27|            return -1;
  615|      0|        do_decref = 1;
  616|      0|    }
  617|  52.5M|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (617:9): [True: 52.5M, 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|  52.5M|        res = _PyLong_CompactValue(v);
  633|  52.5M|#endif
  634|  52.5M|    }
  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|  52.5M|  exit:
  663|  52.5M|    if (do_decref) {
  ------------------
  |  Branch (663:9): [True: 0, False: 52.5M]
  ------------------
  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|  52.5M|    return res;
  667|  52.5M|}
PyLong_AsLong:
  674|  10.2M|{
  675|  10.2M|    int overflow;
  676|  10.2M|    long result = PyLong_AsLongAndOverflow(obj, &overflow);
  677|  10.2M|    if (overflow) {
  ------------------
  |  Branch (677:9): [True: 2, False: 10.2M]
  ------------------
  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|  10.2M|    return result;
  684|  10.2M|}
PyLong_AsInt:
  691|  13.6M|{
  692|  13.6M|    int overflow;
  693|  13.6M|    long result = PyLong_AsLongAndOverflow(obj, &overflow);
  694|  13.6M|    if (overflow || result > INT_MAX || result < INT_MIN) {
  ------------------
  |  Branch (694:9): [True: 0, False: 13.6M]
  |  Branch (694:21): [True: 0, False: 13.6M]
  |  Branch (694:41): [True: 0, False: 13.6M]
  ------------------
  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|  13.6M|    return (int)result;
  702|  13.6M|}
PyLong_AsSsize_t:
  708|  33.1M|PyLong_AsSsize_t(PyObject *vv) {
  709|  33.1M|    PyLongObject *v;
  710|  33.1M|    Py_ssize_t i;
  711|  33.1M|    int sign;
  712|       |
  713|  33.1M|    if (vv == NULL) {
  ------------------
  |  Branch (713:9): [True: 0, False: 33.1M]
  ------------------
  714|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  715|      0|        return -1;
  716|      0|    }
  717|  33.1M|    if (!PyLong_Check(vv)) {
  ------------------
  |  |   13|  33.1M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  33.1M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (717:9): [True: 0, False: 33.1M]
  ------------------
  718|      0|        PyErr_SetString(PyExc_TypeError, "an integer is required");
  719|      0|        return -1;
  720|      0|    }
  721|       |
  722|  33.1M|    v = (PyLongObject *)vv;
  723|  33.1M|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (723:9): [True: 33.1M, False: 157]
  ------------------
  724|  33.1M|        return _PyLong_CompactValue(v);
  725|  33.1M|    }
  726|    157|    i = _PyLong_DigitCount(v);
  727|    157|    sign = _PyLong_NonCompactSign(v);
  728|       |
  729|    157|    size_t x = unroll_digits_size_t(v, &i);
  730|    157|    while (--i >= 0) {
  ------------------
  |  Branch (730:12): [True: 0, False: 157]
  ------------------
  731|      0|        if (x > (SIZE_MAX >> PyLong_SHIFT)) {
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
  |  Branch (731:13): [True: 0, False: 0]
  ------------------
  732|      0|            goto overflow;
  733|      0|        }
  734|      0|        x = (x << PyLong_SHIFT) | v->long_value.ob_digit[i];
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
  735|      0|    }
  736|       |    /* Haven't lost any bits, but casting to a signed type requires
  737|       |     * extra care (see comment above).
  738|       |     */
  739|    157|    if (x <= (size_t)PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|    157|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (739:9): [True: 157, False: 0]
  ------------------
  740|    157|        return (Py_ssize_t)x * sign;
  741|    157|    }
  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|    157|}
PyLong_AsUnsignedLong:
  758|  20.4M|{
  759|  20.4M|    PyLongObject *v;
  760|  20.4M|    Py_ssize_t i;
  761|       |
  762|  20.4M|    if (vv == NULL) {
  ------------------
  |  Branch (762:9): [True: 0, False: 20.4M]
  ------------------
  763|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  764|      0|        return (unsigned long)-1;
  765|      0|    }
  766|  20.4M|    if (!PyLong_Check(vv)) {
  ------------------
  |  |   13|  20.4M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  20.4M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (766:9): [True: 0, False: 20.4M]
  ------------------
  767|      0|        PyErr_SetString(PyExc_TypeError, "an integer is required");
  768|      0|        return (unsigned long)-1;
  769|      0|    }
  770|       |
  771|  20.4M|    v = (PyLongObject *)vv;
  772|  20.4M|    if (_PyLong_IsNonNegativeCompact(v)) {
  ------------------
  |  Branch (772:9): [True: 19.7M, False: 662k]
  ------------------
  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|  19.7M|        return (unsigned long)(size_t)_PyLong_CompactValue(v);
  782|  19.7M|#endif
  783|  19.7M|    }
  784|   662k|    if (_PyLong_IsNegative(v)) {
  ------------------
  |  Branch (784:9): [True: 0, False: 662k]
  ------------------
  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|   662k|    i = _PyLong_DigitCount(v);
  790|       |
  791|   662k|    unsigned long x = unroll_digits_ulong(v, &i);
  792|   662k|    while (--i >= 0) {
  ------------------
  |  Branch (792:12): [True: 0, False: 662k]
  ------------------
  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|   662k|    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|   662k|}
PyLong_GetSign:
  955|  2.89M|{
  956|  2.89M|    if (!PyLong_Check(vv)) {
  ------------------
  |  |   13|  2.89M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.89M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (956:9): [True: 0, False: 2.89M]
  ------------------
  957|      0|        PyErr_Format(PyExc_TypeError, "expect int, got %T", vv);
  958|      0|        return -1;
  959|      0|    }
  960|       |
  961|  2.89M|    *sign = long_sign(vv);
  962|  2.89M|    return 0;
  963|  2.89M|}
_PyLong_NumBits:
  977|      1|{
  978|      1|    PyLongObject *v = (PyLongObject *)vv;
  979|      1|    int64_t result = 0;
  980|      1|    Py_ssize_t ndigits;
  981|      1|    int msd_bits;
  982|       |
  983|      1|    assert(v != NULL);
  ------------------
  |  Branch (983:5): [True: 1, False: 0]
  ------------------
  984|      1|    assert(PyLong_Check(v));
  ------------------
  |  Branch (984:5): [True: 1, False: 0]
  ------------------
  985|      1|    ndigits = _PyLong_DigitCount(v);
  986|      1|    assert(ndigits == 0 || v->long_value.ob_digit[ndigits - 1] != 0);
  ------------------
  |  Branch (986:5): [True: 0, False: 1]
  |  Branch (986:5): [True: 1, False: 0]
  ------------------
  987|      1|    if (ndigits > 0) {
  ------------------
  |  Branch (987:9): [True: 1, False: 0]
  ------------------
  988|      1|        digit msd = v->long_value.ob_digit[ndigits - 1];
  989|      1|#if SIZEOF_SIZE_T == 8
  990|      1|        assert(ndigits <= INT64_MAX / PyLong_SHIFT);
  ------------------
  |  Branch (990:9): [True: 1, False: 0]
  ------------------
  991|      1|#endif
  992|      1|        result = (int64_t)(ndigits - 1) * PyLong_SHIFT;
  ------------------
  |  |   47|      1|#define PyLong_SHIFT    30
  ------------------
  993|      1|        msd_bits = bit_length_digit(msd);
  994|      1|        result += msd_bits;
  995|      1|    }
  996|      1|    return result;
  997|      1|}
_PyLong_FromByteArray:
 1002|     72|{
 1003|     72|    const unsigned char* pstartbyte;    /* LSB of bytes */
 1004|     72|    int incr;                           /* direction to move pstartbyte */
 1005|     72|    const unsigned char* pendbyte;      /* MSB of bytes */
 1006|     72|    size_t numsignificantbytes;         /* number of bytes that matter */
 1007|     72|    Py_ssize_t ndigits;                 /* number of Python int digits */
 1008|     72|    PyLongObject* v;                    /* result */
 1009|     72|    Py_ssize_t idigit = 0;              /* next free index in v->long_value.ob_digit */
 1010|       |
 1011|     72|    if (n == 0)
  ------------------
  |  Branch (1011:9): [True: 0, False: 72]
  ------------------
 1012|      0|        return PyLong_FromLong(0L);
 1013|       |
 1014|     72|    if (little_endian) {
  ------------------
  |  Branch (1014:9): [True: 72, False: 0]
  ------------------
 1015|     72|        pstartbyte = bytes;
 1016|     72|        pendbyte = bytes + n - 1;
 1017|     72|        incr = 1;
 1018|     72|    }
 1019|      0|    else {
 1020|      0|        pstartbyte = bytes + n - 1;
 1021|      0|        pendbyte = bytes;
 1022|      0|        incr = -1;
 1023|      0|    }
 1024|       |
 1025|     72|    if (is_signed)
  ------------------
  |  Branch (1025:9): [True: 0, False: 72]
  ------------------
 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|     72|    {
 1032|     72|        size_t i;
 1033|     72|        const unsigned char* p = pendbyte;
 1034|     72|        const int pincr = -incr;  /* search MSB to LSB */
 1035|     72|        const unsigned char insignificant = is_signed ? 0xff : 0x00;
  ------------------
  |  Branch (1035:45): [True: 0, False: 72]
  ------------------
 1036|       |
 1037|    214|        for (i = 0; i < n; ++i, p += pincr) {
  ------------------
  |  Branch (1037:21): [True: 190, False: 24]
  ------------------
 1038|    190|            if (*p != insignificant)
  ------------------
  |  Branch (1038:17): [True: 48, False: 142]
  ------------------
 1039|     48|                break;
 1040|    190|        }
 1041|     72|        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|     72|        if (is_signed && numsignificantbytes < n)
  ------------------
  |  Branch (1047:13): [True: 0, False: 72]
  |  Branch (1047:26): [True: 0, False: 0]
  ------------------
 1048|      0|            ++numsignificantbytes;
 1049|     72|    }
 1050|       |
 1051|       |    /* avoid integer overflow */
 1052|     72|    ndigits = numsignificantbytes / PyLong_SHIFT * 8
  ------------------
  |  |   47|     72|#define PyLong_SHIFT    30
  ------------------
 1053|     72|        + (numsignificantbytes % PyLong_SHIFT * 8 + PyLong_SHIFT - 1) / PyLong_SHIFT;
  ------------------
  |  |   47|     72|#define PyLong_SHIFT    30
  ------------------
                      + (numsignificantbytes % PyLong_SHIFT * 8 + PyLong_SHIFT - 1) / PyLong_SHIFT;
  ------------------
  |  |   47|     72|#define PyLong_SHIFT    30
  ------------------
                      + (numsignificantbytes % PyLong_SHIFT * 8 + PyLong_SHIFT - 1) / PyLong_SHIFT;
  ------------------
  |  |   47|     72|#define PyLong_SHIFT    30
  ------------------
 1054|     72|    v = long_alloc(ndigits);
 1055|     72|    if (v == NULL)
  ------------------
  |  Branch (1055:9): [True: 0, False: 72]
  ------------------
 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|     72|    {
 1062|     72|        size_t i;
 1063|     72|        twodigits carry = 1;                    /* for 2's-comp calculation */
 1064|     72|        twodigits accum = 0;                    /* sliding register */
 1065|     72|        unsigned int accumbits = 0;             /* number of bits in accum */
 1066|     72|        const unsigned char* p = pstartbyte;
 1067|       |
 1068|    218|        for (i = 0; i < numsignificantbytes; ++i, p += incr) {
  ------------------
  |  Branch (1068:21): [True: 146, False: 72]
  ------------------
 1069|    146|            twodigits thisbyte = *p;
 1070|       |            /* Compute correction for 2's comp, if needed. */
 1071|    146|            if (is_signed) {
  ------------------
  |  Branch (1071:17): [True: 0, False: 146]
  ------------------
 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|    146|            accum |= thisbyte << accumbits;
 1080|    146|            accumbits += 8;
 1081|    146|            if (accumbits >= PyLong_SHIFT) {
  ------------------
  |  |   47|    146|#define PyLong_SHIFT    30
  ------------------
  |  Branch (1081:17): [True: 24, False: 122]
  ------------------
 1082|       |                /* There's enough to fill a Python digit. */
 1083|     24|                assert(idigit < ndigits);
  ------------------
  |  Branch (1083:17): [True: 24, False: 0]
  ------------------
 1084|     24|                v->long_value.ob_digit[idigit] = (digit)(accum & PyLong_MASK);
  ------------------
  |  |   62|     24|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|     24|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|     24|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1085|     24|                ++idigit;
 1086|     24|                accum >>= PyLong_SHIFT;
  ------------------
  |  |   47|     24|#define PyLong_SHIFT    30
  ------------------
 1087|     24|                accumbits -= PyLong_SHIFT;
  ------------------
  |  |   47|     24|#define PyLong_SHIFT    30
  ------------------
 1088|     24|                assert(accumbits < PyLong_SHIFT);
  ------------------
  |  Branch (1088:17): [True: 24, False: 0]
  ------------------
 1089|     24|            }
 1090|    146|        }
 1091|     72|        assert(accumbits < PyLong_SHIFT);
  ------------------
  |  Branch (1091:9): [True: 72, False: 0]
  ------------------
 1092|     72|        if (accumbits) {
  ------------------
  |  Branch (1092:13): [True: 48, False: 24]
  ------------------
 1093|     48|            assert(idigit < ndigits);
  ------------------
  |  Branch (1093:13): [True: 48, False: 0]
  ------------------
 1094|     48|            v->long_value.ob_digit[idigit] = (digit)accum;
 1095|     48|            ++idigit;
 1096|     48|        }
 1097|     72|    }
 1098|       |
 1099|     72|    int sign = is_signed ? -1: 1;
  ------------------
  |  Branch (1099:16): [True: 0, False: 72]
  ------------------
 1100|     72|    if (idigit == 0) {
  ------------------
  |  Branch (1100:9): [True: 24, False: 48]
  ------------------
 1101|     24|        sign = 0;
 1102|     24|        v->long_value.ob_digit[0] = 0;
 1103|     24|    }
 1104|     72|    _PyLong_SetSignAndDigitCount(v, sign, idigit);
 1105|     72|    return (PyObject *)maybe_small_long(long_normalize(v));
 1106|     72|}
_PyLong_AsByteArray:
 1113|      2|{
 1114|      2|    Py_ssize_t i;               /* index into v->long_value.ob_digit */
 1115|      2|    Py_ssize_t ndigits;         /* number of digits */
 1116|      2|    twodigits accum;            /* sliding register */
 1117|      2|    unsigned int accumbits;     /* # bits in accum */
 1118|      2|    int do_twos_comp;           /* store 2's-comp?  is_signed and v < 0 */
 1119|      2|    digit carry;                /* for computing 2's-comp */
 1120|      2|    size_t j;                   /* # bytes filled */
 1121|      2|    unsigned char* p;           /* pointer to next byte in bytes */
 1122|      2|    int pincr;                  /* direction to move p */
 1123|       |
 1124|      2|    assert(v != NULL && PyLong_Check(v));
  ------------------
  |  Branch (1124:5): [True: 2, False: 0]
  |  Branch (1124:5): [True: 2, False: 0]
  ------------------
 1125|       |
 1126|      2|    ndigits = _PyLong_DigitCount(v);
 1127|      2|    if (_PyLong_IsNegative(v)) {
  ------------------
  |  Branch (1127:9): [True: 0, False: 2]
  ------------------
 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|      2|    else {
 1138|      2|        do_twos_comp = 0;
 1139|      2|    }
 1140|       |
 1141|      2|    if (little_endian) {
  ------------------
  |  Branch (1141:9): [True: 2, False: 0]
  ------------------
 1142|      2|        p = bytes;
 1143|      2|        pincr = 1;
 1144|      2|    }
 1145|      0|    else {
 1146|      0|        p = bytes + n - 1;
 1147|      0|        pincr = -1;
 1148|      0|    }
 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|      2|    assert(ndigits == 0 || v->long_value.ob_digit[ndigits - 1] != 0);
  ------------------
  |  Branch (1159:5): [True: 0, False: 2]
  |  Branch (1159:5): [True: 2, False: 0]
  ------------------
 1160|      2|    j = 0;
 1161|      2|    accum = 0;
 1162|      2|    accumbits = 0;
 1163|      2|    carry = do_twos_comp ? 1 : 0;
  ------------------
  |  Branch (1163:13): [True: 0, False: 2]
  ------------------
 1164|      4|    for (i = 0; i < ndigits; ++i) {
  ------------------
  |  Branch (1164:17): [True: 2, False: 2]
  ------------------
 1165|      2|        digit thisdigit = v->long_value.ob_digit[i];
 1166|      2|        if (do_twos_comp) {
  ------------------
  |  Branch (1166:13): [True: 0, False: 2]
  ------------------
 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|      2|        accum |= (twodigits)thisdigit << accumbits;
 1175|       |
 1176|       |        /* The most-significant digit may be (probably is) at least
 1177|       |           partly empty. */
 1178|      2|        if (i == ndigits - 1) {
  ------------------
  |  Branch (1178:13): [True: 2, False: 0]
  ------------------
 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|      2|            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: 2]
  ------------------
 1183|     58|            while (s != 0) {
  ------------------
  |  Branch (1183:20): [True: 56, False: 2]
  ------------------
 1184|     56|                s >>= 1;
 1185|     56|                accumbits++;
 1186|     56|            }
 1187|      2|        }
 1188|      0|        else
 1189|      0|            accumbits += PyLong_SHIFT;
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
 1190|       |
 1191|       |        /* Store as many bytes as possible. */
 1192|      8|        while (accumbits >= 8) {
  ------------------
  |  Branch (1192:16): [True: 6, False: 2]
  ------------------
 1193|      6|            if (j >= n)
  ------------------
  |  Branch (1193:17): [True: 0, False: 6]
  ------------------
 1194|      0|                goto Overflow;
 1195|      6|            ++j;
 1196|      6|            *p = (unsigned char)(accum & 0xff);
 1197|      6|            p += pincr;
 1198|      6|            accumbits -= 8;
 1199|      6|            accum >>= 8;
 1200|      6|        }
 1201|      2|    }
 1202|       |
 1203|       |    /* Store the straggler (if any). */
 1204|      2|    assert(accumbits < 8);
  ------------------
  |  Branch (1204:5): [True: 2, False: 0]
  ------------------
 1205|      2|    assert(carry == 0);  /* else do_twos_comp and *every* digit was 0 */
  ------------------
  |  Branch (1205:5): [True: 2, False: 0]
  ------------------
 1206|      2|    if (accumbits > 0) {
  ------------------
  |  Branch (1206:9): [True: 2, False: 0]
  ------------------
 1207|      2|        if (j >= n)
  ------------------
  |  Branch (1207:13): [True: 0, False: 2]
  ------------------
 1208|      0|            goto Overflow;
 1209|      2|        ++j;
 1210|      2|        if (do_twos_comp) {
  ------------------
  |  Branch (1210:13): [True: 0, False: 2]
  ------------------
 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|      2|        *p = (unsigned char)(accum & 0xff);
 1217|      2|        p += pincr;
 1218|      2|    }
 1219|      0|    else if (j == n && is_signed) {
  ------------------
  |  Branch (1219:14): [True: 0, False: 0]
  |  Branch (1219:24): [True: 0, False: 0]
  ------------------
 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);
  ------------------
  |  Branch (1232:9): [True: 0, False: 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|      2|    {
 1241|      2|        unsigned char signbyte = do_twos_comp ? 0xffU : 0U;
  ------------------
  |  Branch (1241:34): [True: 0, False: 2]
  ------------------
 1242|      2|        for ( ; j < n; ++j, p += pincr)
  ------------------
  |  Branch (1242:17): [True: 0, False: 2]
  ------------------
 1243|      0|            *p = signbyte;
 1244|      2|    }
 1245|       |
 1246|      2|    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|      2|}
PyLong_AsNativeBytes:
 1283|  9.69k|{
 1284|  9.69k|    PyLongObject *v;
 1285|  9.69k|    union {
 1286|  9.69k|        Py_ssize_t v;
 1287|  9.69k|        unsigned char b[sizeof(Py_ssize_t)];
 1288|  9.69k|    } cv;
 1289|  9.69k|    int do_decref = 0;
 1290|  9.69k|    Py_ssize_t res = 0;
 1291|       |
 1292|  9.69k|    if (vv == NULL || n < 0) {
  ------------------
  |  Branch (1292:9): [True: 0, False: 9.69k]
  |  Branch (1292:23): [True: 0, False: 9.69k]
  ------------------
 1293|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1294|      0|        return -1;
 1295|      0|    }
 1296|       |
 1297|  9.69k|    int little_endian = flags;
 1298|  9.69k|    if (_resolve_endianness(&little_endian) < 0) {
  ------------------
  |  Branch (1298:9): [True: 0, False: 9.69k]
  ------------------
 1299|      0|        return -1;
 1300|      0|    }
 1301|       |
 1302|  9.69k|    if (PyLong_Check(vv)) {
  ------------------
  |  |   13|  9.69k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  9.69k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 9.69k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1303|  9.69k|        v = (PyLongObject *)vv;
 1304|  9.69k|    }
 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|  9.69k|    if ((flags != -1 && (flags & Py_ASNATIVEBYTES_REJECT_NEGATIVE))
  ------------------
  |  |   49|  9.69k|#define Py_ASNATIVEBYTES_REJECT_NEGATIVE 8
  ------------------
  |  Branch (1317:10): [True: 9.69k, False: 0]
  |  Branch (1317:25): [True: 0, False: 9.69k]
  ------------------
 1318|      0|        && _PyLong_IsNegative(v)) {
  ------------------
  |  Branch (1318:12): [True: 0, False: 0]
  ------------------
 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|  9.69k|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (1326:9): [True: 9.69k, False: 0]
  ------------------
 1327|  9.69k|        res = 0;
 1328|  9.69k|        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|  9.69k|        res = sizeof(cv.b);
 1333|  9.69k|        if (n <= 0) {
  ------------------
  |  Branch (1333:13): [True: 0, False: 9.69k]
  ------------------
 1334|       |            // nothing to do!
 1335|      0|        }
 1336|  9.69k|        else if (n <= (Py_ssize_t)sizeof(cv.b)) {
  ------------------
  |  Branch (1336:18): [True: 9.69k, False: 0]
  ------------------
 1337|  9.69k|#if PY_LITTLE_ENDIAN
 1338|  9.69k|            if (little_endian) {
  ------------------
  |  Branch (1338:17): [True: 9.69k, False: 0]
  ------------------
 1339|  9.69k|                memcpy(buffer, cv.b, n);
 1340|  9.69k|            }
 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|  9.69k|            if (_fits_in_n_bits(cv.v, n * 8)) {
  ------------------
  |  Branch (1358:17): [True: 9.69k, False: 0]
  ------------------
 1359|  9.69k|                res = n;
 1360|  9.69k|            } 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|  9.69k|        }
 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|  9.69k|    }
 1404|      0|    else {
 1405|      0|        if (n > 0) {
  ------------------
  |  Branch (1405:13): [True: 0, False: 0]
  ------------------
 1406|      0|            _PyLong_AsByteArray(v, buffer, (size_t)n, little_endian, 1, 0);
 1407|      0|        }
 1408|       |
 1409|       |        /* Calculates the number of bits required for the *absolute* value
 1410|       |         * of v. This does not take sign into account, only magnitude. */
 1411|      0|        int64_t nb = _PyLong_NumBits((PyObject *)v);
 1412|      0|        assert(nb >= 0);
  ------------------
  |  Branch (1412:9): [True: 0, False: 0]
  ------------------
 1413|       |        /* Normally this would be ((nb - 1) / 8) + 1 to avoid rounding up
 1414|       |         * multiples of 8 to the next byte, but we add an implied bit for
 1415|       |         * the sign and it cancels out. */
 1416|      0|        res = (Py_ssize_t)(nb / 8) + 1;
 1417|       |
 1418|       |        /* Two edge cases exist that are best handled after extracting the
 1419|       |         * bits. These may result in us reporting overflow when the value
 1420|       |         * actually fits.
 1421|       |         */
 1422|      0|        if (n > 0 && res == n + 1 && nb % 8 == 0) {
  ------------------
  |  Branch (1422:13): [True: 0, False: 0]
  |  Branch (1422:22): [True: 0, False: 0]
  |  Branch (1422:38): [True: 0, False: 0]
  ------------------
 1423|      0|            if (_PyLong_IsNegative(v)) {
  ------------------
  |  Branch (1423:17): [True: 0, False: 0]
  ------------------
 1424|       |                /* Values of 0x80...00 from negative values that use every
 1425|       |                 * available bit in the buffer do not require an additional
 1426|       |                 * bit to store the sign. */
 1427|      0|                int is_edge_case = 1;
 1428|      0|                unsigned char *b = (unsigned char *)buffer;
 1429|      0|                for (Py_ssize_t i = 0; i < n && is_edge_case; ++i, ++b) {
  ------------------
  |  Branch (1429:40): [True: 0, False: 0]
  |  Branch (1429:49): [True: 0, False: 0]
  ------------------
 1430|      0|                    if (i == 0) {
  ------------------
  |  Branch (1430:25): [True: 0, False: 0]
  ------------------
 1431|      0|                        is_edge_case = (*b == (little_endian ? 0 : 0x80));
  ------------------
  |  Branch (1431:48): [True: 0, False: 0]
  ------------------
 1432|      0|                    } else if (i < n - 1) {
  ------------------
  |  Branch (1432:32): [True: 0, False: 0]
  ------------------
 1433|      0|                        is_edge_case = (*b == 0);
 1434|      0|                    } else {
 1435|      0|                        is_edge_case = (*b == (little_endian ? 0x80 : 0));
  ------------------
  |  Branch (1435:48): [True: 0, False: 0]
  ------------------
 1436|      0|                    }
 1437|      0|                }
 1438|      0|                if (is_edge_case) {
  ------------------
  |  Branch (1438:21): [True: 0, False: 0]
  ------------------
 1439|      0|                    res = n;
 1440|      0|                }
 1441|      0|            }
 1442|      0|            else {
 1443|       |                /* Positive values with the MSB set do not require an
 1444|       |                 * additional bit when the caller's intent is to treat them
 1445|       |                 * as unsigned. */
 1446|      0|                unsigned char *b = (unsigned char *)buffer;
 1447|      0|                if (b[little_endian ? n - 1 : 0] & 0x80) {
  ------------------
  |  Branch (1447:21): [True: 0, False: 0]
  |  Branch (1447:23): [True: 0, False: 0]
  ------------------
 1448|      0|                    if (flags == -1 || (flags & Py_ASNATIVEBYTES_UNSIGNED_BUFFER)) {
  ------------------
  |  |   48|      0|#define Py_ASNATIVEBYTES_UNSIGNED_BUFFER 4
  ------------------
  |  Branch (1448:25): [True: 0, False: 0]
  |  Branch (1448:40): [True: 0, False: 0]
  ------------------
 1449|      0|                        res = n;
 1450|      0|                    } else {
 1451|      0|                        res = n + 1;
 1452|      0|                    }
 1453|      0|                }
 1454|      0|            }
 1455|      0|        }
 1456|      0|    }
 1457|       |
 1458|  9.69k|    if (do_decref) {
  ------------------
  |  Branch (1458:9): [True: 0, False: 9.69k]
  ------------------
 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|  9.69k|    return res;
 1463|  9.69k|}
PyLong_FromVoidPtr:
 1509|    859|{
 1510|    859|#if SIZEOF_VOID_P <= SIZEOF_LONG
 1511|    859|    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|    859|}
PyLong_FromLongLong:
 1567|    821|{
 1568|       |    PYLONG_FROM_INT(unsigned long long, long long, ival);
  ------------------
  |  |  371|    821|    do {                                                                            \
  |  |  372|    821|        /* Handle small and medium cases. */                                        \
  |  |  373|    821|        if (IS_SMALL_INT(ival)) {                                                   \
  |  |  ------------------
  |  |  |  |   29|    821|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  |  |  ------------------
  |  |  |  |  |  |   68|    821|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   98|    821|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   97|    821|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (68:6): [True: 821, False: 0]
  |  |  |  |  |  |  |  Branch (68:37): [True: 4, False: 817]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  374|      4|            return get_small_int((sdigit)(ival));                                   \
  |  |  375|      4|        }                                                                           \
  |  |  376|    821|        if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|    817|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|    817|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    817|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|    817|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|    817|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    817|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 817, False: 0]
  |  |  |  Branch (376:49): [True: 115, False: 702]
  |  |  ------------------
  |  |  377|    115|            return _PyLong_FromMedium((sdigit)(ival));                              \
  |  |  378|    115|        }                                                                           \
  |  |  379|    817|        UINT_TYPE abs_ival = (ival) < 0 ? 0U-(UINT_TYPE)(ival) : (UINT_TYPE)(ival); \
  |  |  ------------------
  |  |  |  Branch (379:30): [True: 0, False: 702]
  |  |  ------------------
  |  |  380|    702|        /* Do shift in two steps to avoid possible undefined behavior. */           \
  |  |  381|    702|        UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|    702|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|    702|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  382|    702|        /* Count digits (at least two - smaller cases were handled above). */       \
  |  |  383|    702|        Py_ssize_t ndigits = 2;                                                     \
  |  |  384|  1.05k|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (384:16): [True: 351, False: 702]
  |  |  ------------------
  |  |  385|    351|            ++ndigits;                                                              \
  |  |  386|    351|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|    351|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  387|    351|        }                                                                           \
  |  |  388|    702|        /* Construct output value. */                                               \
  |  |  389|    702|        PyLongObject *v = long_alloc(ndigits);                                      \
  |  |  390|    702|        if (v == NULL) {                                                            \
  |  |  ------------------
  |  |  |  Branch (390:13): [True: 0, False: 702]
  |  |  ------------------
  |  |  391|      0|            return NULL;                                                            \
  |  |  392|      0|        }                                                                           \
  |  |  393|    702|        digit *p = v->long_value.ob_digit;                                          \
  |  |  394|    702|        _PyLong_SetSignAndDigitCount(v, (ival) < 0 ? -1 : 1, ndigits);              \
  |  |  ------------------
  |  |  |  Branch (394:41): [True: 0, False: 702]
  |  |  ------------------
  |  |  395|    702|        t = abs_ival;                                                               \
  |  |  396|  2.45k|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (396:16): [True: 1.75k, False: 702]
  |  |  ------------------
  |  |  397|  1.75k|            *p++ = (digit)(t & PyLong_MASK);                                        \
  |  |  ------------------
  |  |  |  |   62|  1.75k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  1.75k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  1.75k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  398|  1.75k|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|  1.75k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  399|  1.75k|        }                                                                           \
  |  |  400|    702|        return (PyObject *)v;                                                       \
  |  |  401|    702|    } while(0)
  |  |  ------------------
  |  |  |  Branch (401:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1569|    821|}
PyLong_FromSsize_t:
 1575|  62.5M|{
 1576|       |    PYLONG_FROM_INT(size_t, Py_ssize_t, ival);
  ------------------
  |  |  371|  62.5M|    do {                                                                            \
  |  |  372|  62.5M|        /* Handle small and medium cases. */                                        \
  |  |  373|  62.5M|        if (IS_SMALL_INT(ival)) {                                                   \
  |  |  ------------------
  |  |  |  |   29|  62.5M|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  |  |  ------------------
  |  |  |  |  |  |   68|  62.5M|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   98|  62.5M|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   97|  62.5M|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (68:6): [True: 62.5M, False: 0]
  |  |  |  |  |  |  |  Branch (68:37): [True: 47.8M, False: 14.7M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  374|  47.8M|            return get_small_int((sdigit)(ival));                                   \
  |  |  375|  47.8M|        }                                                                           \
  |  |  376|  62.5M|        if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|  14.7M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  14.7M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  14.7M|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|  14.7M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  14.7M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  14.7M|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 14.7M, False: 0]
  |  |  |  Branch (376:49): [True: 14.7M, False: 4]
  |  |  ------------------
  |  |  377|  14.7M|            return _PyLong_FromMedium((sdigit)(ival));                              \
  |  |  378|  14.7M|        }                                                                           \
  |  |  379|  14.7M|        UINT_TYPE abs_ival = (ival) < 0 ? 0U-(UINT_TYPE)(ival) : (UINT_TYPE)(ival); \
  |  |  ------------------
  |  |  |  Branch (379:30): [True: 0, False: 4]
  |  |  ------------------
  |  |  380|      4|        /* Do shift in two steps to avoid possible undefined behavior. */           \
  |  |  381|      4|        UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|      4|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|      4|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  382|      4|        /* Count digits (at least two - smaller cases were handled above). */       \
  |  |  383|      4|        Py_ssize_t ndigits = 2;                                                     \
  |  |  384|      8|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (384:16): [True: 4, False: 4]
  |  |  ------------------
  |  |  385|      4|            ++ndigits;                                                              \
  |  |  386|      4|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|      4|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  387|      4|        }                                                                           \
  |  |  388|      4|        /* Construct output value. */                                               \
  |  |  389|      4|        PyLongObject *v = long_alloc(ndigits);                                      \
  |  |  390|      4|        if (v == NULL) {                                                            \
  |  |  ------------------
  |  |  |  Branch (390:13): [True: 0, False: 4]
  |  |  ------------------
  |  |  391|      0|            return NULL;                                                            \
  |  |  392|      0|        }                                                                           \
  |  |  393|      4|        digit *p = v->long_value.ob_digit;                                          \
  |  |  394|      4|        _PyLong_SetSignAndDigitCount(v, (ival) < 0 ? -1 : 1, ndigits);              \
  |  |  ------------------
  |  |  |  Branch (394:41): [True: 0, False: 4]
  |  |  ------------------
  |  |  395|      4|        t = abs_ival;                                                               \
  |  |  396|     16|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (396:16): [True: 12, False: 4]
  |  |  ------------------
  |  |  397|     12|            *p++ = (digit)(t & PyLong_MASK);                                        \
  |  |  ------------------
  |  |  |  |   62|     12|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|     12|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     12|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  398|     12|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|     12|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  399|     12|        }                                                                           \
  |  |  400|      4|        return (PyObject *)v;                                                       \
  |  |  401|      4|    } while(0)
  |  |  ------------------
  |  |  |  Branch (401:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1577|  62.5M|}
_PyLong_FormatWriter:
 2517|  1.08M|{
 2518|  1.08M|    if (base == 10)
  ------------------
  |  Branch (2518:9): [True: 1.08M, False: 0]
  ------------------
 2519|  1.08M|        return long_to_decimal_string_internal(obj, NULL, writer,
 2520|  1.08M|                                               NULL, NULL);
 2521|      0|    else
 2522|      0|        return long_format_binary(obj, base, alternate, NULL, writer,
 2523|      0|                                  NULL, NULL);
 2524|  1.08M|}
PyLong_FromString:
 3053|   644k|{
 3054|   644k|    int sign = 1, error_if_nonzero = 0;
 3055|   644k|    const char *orig_str = str;
 3056|   644k|    PyLongObject *z = NULL;
 3057|   644k|    PyObject *strobj;
 3058|   644k|    Py_ssize_t slen;
 3059|       |
 3060|   644k|    if ((base != 0 && base < 2) || base > 36) {
  ------------------
  |  Branch (3060:10): [True: 644k, False: 0]
  |  Branch (3060:23): [True: 0, False: 644k]
  |  Branch (3060:36): [True: 0, False: 644k]
  ------------------
 3061|      0|        PyErr_SetString(PyExc_ValueError,
 3062|      0|                        "int() arg 2 must be >= 2 and <= 36");
 3063|      0|        return NULL;
 3064|      0|    }
 3065|   644k|    while (*str != '\0' && Py_ISSPACE(*str)) {
  ------------------
  |  |   27|   644k|#define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |  138|   644k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |   13|   644k|#define PY_CTF_SPACE  0x08
  |  |  ------------------
  |  |  |  Branch (27:24): [True: 0, False: 644k]
  |  |  ------------------
  ------------------
  |  Branch (3065:12): [True: 644k, False: 0]
  ------------------
 3066|      0|        ++str;
 3067|      0|    }
 3068|   644k|    if (*str == '+') {
  ------------------
  |  Branch (3068:9): [True: 0, False: 644k]
  ------------------
 3069|      0|        ++str;
 3070|      0|    }
 3071|   644k|    else if (*str == '-') {
  ------------------
  |  Branch (3071:14): [True: 0, False: 644k]
  ------------------
 3072|      0|        ++str;
 3073|      0|        sign = -1;
 3074|      0|    }
 3075|   644k|    if (base == 0) {
  ------------------
  |  Branch (3075:9): [True: 0, False: 644k]
  ------------------
 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|   644k|    if (str[0] == '0' &&
  ------------------
  |  Branch (3095:9): [True: 230k, False: 414k]
  ------------------
 3096|   230k|        ((base == 16 && (str[1] == 'x' || str[1] == 'X')) ||
  ------------------
  |  Branch (3096:11): [True: 405, False: 230k]
  |  Branch (3096:26): [True: 0, False: 405]
  |  Branch (3096:43): [True: 0, False: 405]
  ------------------
 3097|   230k|         (base == 8  && (str[1] == 'o' || str[1] == 'O')) ||
  ------------------
  |  Branch (3097:11): [True: 1.80k, False: 228k]
  |  Branch (3097:26): [True: 0, False: 1.80k]
  |  Branch (3097:43): [True: 0, False: 1.80k]
  ------------------
 3098|   230k|         (base == 2  && (str[1] == 'b' || str[1] == 'B')))) {
  ------------------
  |  Branch (3098:11): [True: 222k, False: 8.10k]
  |  Branch (3098:26): [True: 0, False: 222k]
  |  Branch (3098:43): [True: 0, False: 222k]
  ------------------
 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|   644k|    int ret = long_from_string_base(&str, base, &z);
 3108|   644k|    if (ret == -1) {
  ------------------
  |  Branch (3108:9): [True: 0, False: 644k]
  ------------------
 3109|       |        /* Syntax error. */
 3110|      0|        goto onError;
 3111|      0|    }
 3112|   644k|    if (z == NULL) {
  ------------------
  |  Branch (3112:9): [True: 7, False: 644k]
  ------------------
 3113|       |        /* Error. exception already set. */
 3114|      7|        return NULL;
 3115|      7|    }
 3116|       |
 3117|   644k|    if (error_if_nonzero) {
  ------------------
  |  Branch (3117:9): [True: 0, False: 644k]
  ------------------
 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|   644k|    long_normalize(z);
 3130|   644k|    z = maybe_small_long(z);
 3131|   644k|    if (sign < 0) {
  ------------------
  |  Branch (3131:9): [True: 0, False: 644k]
  ------------------
 3132|      0|        _PyLong_Negate(&z);
 3133|      0|    }
 3134|       |
 3135|   644k|    if (pend != NULL) {
  ------------------
  |  Branch (3135:9): [True: 644k, False: 0]
  ------------------
 3136|   644k|        *pend = (char *)str;
 3137|   644k|    }
 3138|   644k|    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|   504k|{
 3165|   504k|    PyObject *result, *strobj;
 3166|   504k|    char *end = NULL;
 3167|       |
 3168|   504k|    result = PyLong_FromString(s, &end, base);
 3169|   504k|    if (end == NULL || (result != NULL && end == s + len))
  ------------------
  |  Branch (3169:9): [True: 0, False: 504k]
  |  Branch (3169:25): [True: 504k, False: 0]
  |  Branch (3169:43): [True: 504k, False: 0]
  ------------------
 3170|   504k|        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|   504k|}
PyLong_FromUnicodeObject:
 3184|   140k|{
 3185|   140k|    PyObject *result, *asciidig;
 3186|   140k|    const char *buffer;
 3187|   140k|    char *end = NULL;
 3188|   140k|    Py_ssize_t buflen;
 3189|       |
 3190|   140k|    asciidig = _PyUnicode_TransformDecimalAndSpaceToASCII(u);
 3191|   140k|    if (asciidig == NULL)
  ------------------
  |  Branch (3191:9): [True: 0, False: 140k]
  ------------------
 3192|      0|        return NULL;
 3193|   140k|    assert(PyUnicode_IS_ASCII(asciidig));
  ------------------
  |  Branch (3193:5): [True: 140k, False: 0]
  ------------------
 3194|       |    /* Simply get a pointer to existing ASCII characters. */
 3195|   140k|    buffer = PyUnicode_AsUTF8AndSize(asciidig, &buflen);
 3196|   140k|    assert(buffer != NULL);
  ------------------
  |  Branch (3196:5): [True: 140k, False: 0]
  ------------------
 3197|       |
 3198|   140k|    result = PyLong_FromString(buffer, &end, base);
 3199|   140k|    if (end == NULL || (result != NULL && end == buffer + buflen)) {
  ------------------
  |  Branch (3199:9): [True: 7, False: 140k]
  |  Branch (3199:25): [True: 140k, False: 0]
  |  Branch (3199:43): [True: 140k, False: 0]
  ------------------
 3200|   140k|        Py_DECREF(asciidig);
  ------------------
  |  |  430|   140k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   140k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   140k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3201|   140k|        return result;
 3202|   140k|    }
 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|   140k|}
_PyLong_ExactDealloc:
 3636|  10.2M|{
 3637|  10.2M|    assert(PyLong_CheckExact(self));
  ------------------
  |  Branch (3637:5): [True: 10.2M, False: 0]
  ------------------
 3638|  10.2M|    if (_PyLong_IsSmallInt((PyLongObject *)self)) {
  ------------------
  |  Branch (3638:9): [True: 0, False: 10.2M]
  ------------------
 3639|       |        // See PEP 683, section Accidental De-Immortalizing for details
 3640|      0|        _Py_SetImmortal(self);
 3641|      0|        return;
 3642|      0|    }
 3643|  10.2M|    if (_PyLong_IsCompact((PyLongObject *)self)) {
  ------------------
  |  Branch (3643:9): [True: 8.92M, False: 1.35M]
  ------------------
 3644|  8.92M|        _Py_FREELIST_FREE(ints, self, PyObject_Free);
  ------------------
  |  |   35|  8.92M|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  8.92M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.92M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  8.92M|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   20|  8.92M|#  define Py_ints_MAXFREELIST 100
  |  |  ------------------
  ------------------
 3645|  8.92M|        return;
 3646|  8.92M|    }
 3647|  1.35M|    PyObject_Free(self);
 3648|  1.35M|}
_PyCompactLong_Add:
 3868|  37.6M|{
 3869|  37.6M|    assert(_PyLong_BothAreCompact(a, b));
  ------------------
  |  Branch (3869:5): [True: 37.6M, False: 0]
  ------------------
 3870|  37.6M|    stwodigits v = medium_value(a) + medium_value(b);
  ------------------
  |  |   27|  37.6M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                  stwodigits v = medium_value(a) + medium_value(b);
  ------------------
  |  |   27|  37.6M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 3871|  37.6M|    return medium_from_stwodigits(v);
 3872|  37.6M|}
_PyCompactLong_Subtract:
 3913|  13.4M|{
 3914|  13.4M|    assert(_PyLong_BothAreCompact(a, b));
  ------------------
  |  Branch (3914:5): [True: 13.4M, False: 0]
  ------------------
 3915|  13.4M|    stwodigits v = medium_value(a) - medium_value(b);
  ------------------
  |  |   27|  13.4M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                  stwodigits v = medium_value(a) - medium_value(b);
  ------------------
  |  |   27|  13.4M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 3916|  13.4M|    return medium_from_stwodigits(v);
 3917|  13.4M|}
_PyCompactLong_Multiply:
 4360|  2.84M|{
 4361|  2.84M|    assert(_PyLong_BothAreCompact(a, b));
  ------------------
  |  Branch (4361:5): [True: 2.84M, False: 0]
  ------------------
 4362|  2.84M|    stwodigits v = medium_value(a) * medium_value(b);
  ------------------
  |  |   27|  2.84M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                  stwodigits v = medium_value(a) * medium_value(b);
  ------------------
  |  |   27|  2.84M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 4363|  2.84M|    return medium_from_stwodigits(v);
 4364|  2.84M|}
_PyLong_Rshift:
 5428|  9.42k|{
 5429|  9.42k|    Py_ssize_t wordshift;
 5430|  9.42k|    digit remshift;
 5431|       |
 5432|  9.42k|    assert(PyLong_Check(a));
  ------------------
  |  Branch (5432:5): [True: 9.42k, False: 0]
  ------------------
 5433|  9.42k|    assert(shiftby >= 0);
  ------------------
  |  Branch (5433:5): [True: 9.42k, False: 0]
  ------------------
 5434|  9.42k|    if (_PyLong_IsZero((PyLongObject *)a)) {
  ------------------
  |  Branch (5434:9): [True: 0, False: 9.42k]
  ------------------
 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|  9.42k|    wordshift = (Py_ssize_t)(shiftby / PyLong_SHIFT);
  ------------------
  |  |   47|  9.42k|#define PyLong_SHIFT    30
  ------------------
 5448|  9.42k|    remshift = (digit)(shiftby % PyLong_SHIFT);
  ------------------
  |  |   47|  9.42k|#define PyLong_SHIFT    30
  ------------------
 5449|  9.42k|    return long_rshift1((PyLongObject *)a, wordshift, remshift);
 5450|  9.42k|}
PyLong_GetInfo:
 6717|      2|{
 6718|      2|    PyObject* int_info;
 6719|      2|    int field = 0;
 6720|      2|    int_info = PyStructSequence_New(&Int_InfoType);
 6721|      2|    if (int_info == NULL)
  ------------------
  |  Branch (6721:9): [True: 0, False: 2]
  ------------------
 6722|      0|        return NULL;
 6723|      2|    PyStructSequence_SET_ITEM(int_info, field++,
  ------------------
  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 6724|      2|                              PyLong_FromLong(PyLong_SHIFT));
  ------------------
  |  |   47|      2|#define PyLong_SHIFT    30
  ------------------
 6725|      2|    PyStructSequence_SET_ITEM(int_info, field++,
  ------------------
  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 6726|      2|                              PyLong_FromLong(sizeof(digit)));
 6727|       |    /*
 6728|       |     * The following two fields were added after investigating uses of
 6729|       |     * sys.int_info in the wild: Exceedingly rarely used. The ONLY use found was
 6730|       |     * numba using sys.int_info.bits_per_digit as attribute access rather than
 6731|       |     * sequence unpacking. Cython and sympy also refer to sys.int_info but only
 6732|       |     * as info for debugging. No concern about adding these in a backport.
 6733|       |     */
 6734|      2|    PyStructSequence_SET_ITEM(int_info, field++,
  ------------------
  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 6735|      2|                              PyLong_FromLong(_PY_LONG_DEFAULT_MAX_STR_DIGITS));
  ------------------
  |  |   29|      2|#define _PY_LONG_DEFAULT_MAX_STR_DIGITS 4300
  ------------------
 6736|      2|    PyStructSequence_SET_ITEM(int_info, field++,
  ------------------
  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 6737|      2|                              PyLong_FromLong(_PY_LONG_MAX_STR_DIGITS_THRESHOLD));
  ------------------
  |  |   42|      2|#define _PY_LONG_MAX_STR_DIGITS_THRESHOLD 640
  ------------------
 6738|      2|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (6738:9): [True: 0, False: 2]
  ------------------
 6739|      0|        Py_CLEAR(int_info);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6740|      0|        return NULL;
 6741|      0|    }
 6742|      2|    return int_info;
 6743|      2|}
_PyLong_InitTypes:
 6750|      2|{
 6751|       |    /* initialize int_info */
 6752|      2|    if (_PyStructSequence_InitBuiltin(interp, &Int_InfoType,
  ------------------
  |  Branch (6752:9): [True: 0, False: 2]
  ------------------
 6753|      2|                                      &int_info_desc) < 0)
 6754|      0|    {
 6755|      0|        return _PyStatus_ERR("can't init int info type");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 6756|      0|    }
 6757|       |
 6758|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 6759|      2|}
PyLong_FromInt64:
 6794|      1|{
 6795|       |    PYLONG_FROM_INT(uint64_t, int64_t, value);
  ------------------
  |  |  371|      1|    do {                                                                            \
  |  |  372|      1|        /* Handle small and medium cases. */                                        \
  |  |  373|      1|        if (IS_SMALL_INT(ival)) {                                                   \
  |  |  ------------------
  |  |  |  |   29|      1|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  |  |  ------------------
  |  |  |  |  |  |   68|      1|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   98|      1|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   97|      1|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (68:6): [True: 1, False: 0]
  |  |  |  |  |  |  |  Branch (68:37): [True: 1, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  374|      1|            return get_small_int((sdigit)(ival));                                   \
  |  |  375|      1|        }                                                                           \
  |  |  376|      1|        if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)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
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)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 (376:13): [True: 0, False: 0]
  |  |  |  Branch (376:49): [True: 0, False: 0]
  |  |  ------------------
  |  |  377|      0|            return _PyLong_FromMedium((sdigit)(ival));                              \
  |  |  378|      0|        }                                                                           \
  |  |  379|      0|        UINT_TYPE abs_ival = (ival) < 0 ? 0U-(UINT_TYPE)(ival) : (UINT_TYPE)(ival); \
  |  |  ------------------
  |  |  |  Branch (379:30): [True: 0, False: 0]
  |  |  ------------------
  |  |  380|      0|        /* Do shift in two steps to avoid possible undefined behavior. */           \
  |  |  381|      0|        UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  382|      0|        /* Count digits (at least two - smaller cases were handled above). */       \
  |  |  383|      0|        Py_ssize_t ndigits = 2;                                                     \
  |  |  384|      0|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (384:16): [True: 0, False: 0]
  |  |  ------------------
  |  |  385|      0|            ++ndigits;                                                              \
  |  |  386|      0|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  387|      0|        }                                                                           \
  |  |  388|      0|        /* Construct output value. */                                               \
  |  |  389|      0|        PyLongObject *v = long_alloc(ndigits);                                      \
  |  |  390|      0|        if (v == NULL) {                                                            \
  |  |  ------------------
  |  |  |  Branch (390:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  391|      0|            return NULL;                                                            \
  |  |  392|      0|        }                                                                           \
  |  |  393|      0|        digit *p = v->long_value.ob_digit;                                          \
  |  |  394|      0|        _PyLong_SetSignAndDigitCount(v, (ival) < 0 ? -1 : 1, ndigits);              \
  |  |  ------------------
  |  |  |  Branch (394:41): [True: 0, False: 0]
  |  |  ------------------
  |  |  395|      0|        t = abs_ival;                                                               \
  |  |  396|      0|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (396:16): [True: 0, False: 0]
  |  |  ------------------
  |  |  397|      0|            *p++ = (digit)(t & 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
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  398|      0|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  399|      0|        }                                                                           \
  |  |  400|      0|        return (PyObject *)v;                                                       \
  |  |  401|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (401:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6796|      1|}
PyLong_AsInt64:
 6825|  9.69k|{
 6826|  9.69k|    LONG_TO_INT(obj, value, "C int64_t");
  ------------------
  |  | 6804|  9.69k|    do { \
  |  | 6805|  9.69k|        int flags = (Py_ASNATIVEBYTES_NATIVE_ENDIAN \
  |  |  ------------------
  |  |  |  |   47|  9.69k|#define Py_ASNATIVEBYTES_NATIVE_ENDIAN 3
  |  |  ------------------
  |  | 6806|  9.69k|                     | Py_ASNATIVEBYTES_ALLOW_INDEX); \
  |  |  ------------------
  |  |  |  |   50|  9.69k|#define Py_ASNATIVEBYTES_ALLOW_INDEX 16
  |  |  ------------------
  |  | 6807|  9.69k|        Py_ssize_t bytes = PyLong_AsNativeBytes(obj, value, sizeof(*value), flags); \
  |  | 6808|  9.69k|        if (bytes < 0) { \
  |  |  ------------------
  |  |  |  Branch (6808:13): [True: 0, False: 9.69k]
  |  |  ------------------
  |  | 6809|      0|            return -1; \
  |  | 6810|      0|        } \
  |  | 6811|  9.69k|        if ((size_t)bytes > sizeof(*value)) { \
  |  |  ------------------
  |  |  |  Branch (6811:13): [True: 0, False: 9.69k]
  |  |  ------------------
  |  | 6812|      0|            PyErr_SetString(PyExc_OverflowError, \
  |  | 6813|      0|                            "Python int too large to convert to " type_name); \
  |  | 6814|      0|            return -1; \
  |  | 6815|      0|        } \
  |  | 6816|  9.69k|        return 0; \
  |  | 6817|  9.69k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6817:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6827|  9.69k|}
PyLong_GetNativeLayout:
 6868|     12|{
 6869|     12|    return &PyLong_LAYOUT;
 6870|     12|}
PyLongWriter_Create:
 6931|     12|{
 6932|     12|    if (ndigits <= 0) {
  ------------------
  |  Branch (6932:9): [True: 0, False: 12]
  ------------------
 6933|      0|        PyErr_SetString(PyExc_ValueError, "ndigits must be positive");
 6934|      0|        goto error;
 6935|      0|    }
 6936|     12|    assert(digits != NULL);
  ------------------
  |  Branch (6936:5): [True: 12, False: 0]
  ------------------
 6937|       |
 6938|     12|    PyLongObject *obj = long_alloc(ndigits);
 6939|     12|    if (obj == NULL) {
  ------------------
  |  Branch (6939:9): [True: 0, False: 12]
  ------------------
 6940|      0|        goto error;
 6941|      0|    }
 6942|     12|    if (negative) {
  ------------------
  |  Branch (6942:9): [True: 1, False: 11]
  ------------------
 6943|      1|        _PyLong_FlipSign(obj);
 6944|      1|    }
 6945|       |
 6946|     12|    *digits = obj->long_value.ob_digit;
 6947|     12|    return (PyLongWriter*)obj;
 6948|       |
 6949|      0|error:
 6950|      0|    *digits = NULL;
 6951|       |    return NULL;
 6952|     12|}
PyLongWriter_Finish:
 6970|     12|{
 6971|     12|    PyLongObject *obj = (PyLongObject *)writer;
 6972|     12|    assert(Py_REFCNT(obj) == 1);
  ------------------
  |  Branch (6972:5): [True: 12, False: 0]
  ------------------
 6973|       |
 6974|       |#ifdef Py_DEBUG
 6975|       |    // gh-147988: Detect uninitialized digits: long_alloc() fills digits with
 6976|       |    // 0xFF byte pattern. It's posssible because PyLong_BASE is smaller than
 6977|       |    // the maximum value of the C digit type (uint32_t or unsigned short):
 6978|       |    // most significan bits are unused by the API.
 6979|       |    Py_ssize_t ndigits = _PyLong_DigitCount(obj);
 6980|       |    if (ndigits == 0) {
 6981|       |        // Check ob_digit[0] digit for the number zero
 6982|       |        ndigits = 1;
 6983|       |    }
 6984|       |    for (Py_ssize_t i = 0; i < ndigits; i++) {
 6985|       |        digit d = obj->long_value.ob_digit[i];
 6986|       |        if (d & ~(digit)PyLong_MASK) {
 6987|       |            Py_DECREF(obj);
 6988|       |            PyErr_Format(PyExc_SystemError,
 6989|       |                         "PyLongWriter_Finish: digit %zd is uninitialized",
 6990|       |                         i);
 6991|       |            return NULL;
 6992|       |        }
 6993|       |    }
 6994|       |#endif
 6995|       |
 6996|       |    // Normalize and get singleton if possible
 6997|     12|    obj = maybe_small_long(long_normalize(obj));
 6998|       |
 6999|     12|    return (PyObject*)obj;
 7000|     12|}
longobject.c:long_alloc:
  160|  4.55M|{
  161|  4.55M|    assert(size >= 0);
  ------------------
  |  Branch (161:5): [True: 4.55M, False: 0]
  ------------------
  162|  4.55M|    PyLongObject *result = NULL;
  163|  4.55M|    if (size > (Py_ssize_t)MAX_LONG_DIGITS) {
  ------------------
  |  |  155|  4.55M|# define MAX_LONG_DIGITS ((INT64_MAX-1) / PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  4.55M|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (163:9): [True: 0, False: 4.55M]
  ------------------
  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|  4.55M|    Py_ssize_t ndigits = size ? size : 1;
  ------------------
  |  Branch (170:26): [True: 4.55M, False: 24]
  ------------------
  171|       |
  172|  4.55M|    if (ndigits == 1) {
  ------------------
  |  Branch (172:9): [True: 172k, False: 4.37M]
  ------------------
  173|   172k|        result = (PyLongObject *)_Py_FREELIST_POP(PyLongObject, ints);
  ------------------
  |  |   43|   172k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|   172k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  174|   172k|    }
  175|  4.55M|    if (result == NULL) {
  ------------------
  |  Branch (175:9): [True: 4.40M, False: 148k]
  ------------------
  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|  4.40M|        result = PyObject_Malloc(offsetof(PyLongObject, long_value.ob_digit) +
  182|  4.40M|                                ndigits*sizeof(digit));
  183|  4.40M|        if (!result) {
  ------------------
  |  Branch (183:13): [True: 0, False: 4.40M]
  ------------------
  184|      0|            PyErr_NoMemory();
  185|      0|            return NULL;
  186|      0|        }
  187|  4.40M|        _PyObject_Init((PyObject*)result, &PyLong_Type);
  188|  4.40M|        _PyLong_InitTag(result);
  189|  4.40M|    }
  190|  4.55M|    _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|  4.55M|    return result;
  197|  4.55M|}
longobject.c:get_small_int:
   62|   125M|{
   63|   125M|    assert(IS_SMALL_INT(ival));
  ------------------
  |  Branch (63:5): [True: 125M, False: 0]
  |  Branch (63:5): [True: 125M, False: 0]
  ------------------
   64|   125M|    return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS + ival];
  ------------------
  |  |   59|   125M|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|   125M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   125M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS + ival];
  ------------------
  |  |   98|   125M|#define _PY_NSMALLNEGINTS           5
  ------------------
   65|   125M|}
longobject.c:_PyLong_FromMedium:
  252|  18.7M|{
  253|  18.7M|    assert(!IS_SMALL_INT(x));
  ------------------
  |  Branch (253:5): [True: 18.6M, False: 63.6k]
  |  Branch (253:5): [True: 0, False: 18.6M]
  ------------------
  254|  18.7M|    assert(is_medium_int(x));
  ------------------
  |  Branch (254:5): [True: 18.7M, False: 0]
  ------------------
  255|       |
  256|  18.7M|    PyLongObject *v = (PyLongObject *)_Py_FREELIST_POP(PyLongObject, ints);
  ------------------
  |  |   43|  18.7M|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  18.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  257|  18.7M|    if (v == NULL) {
  ------------------
  |  Branch (257:9): [True: 1.64M, False: 17.0M]
  ------------------
  258|  1.64M|        v = PyObject_Malloc(sizeof(PyLongObject));
  259|  1.64M|        if (v == NULL) {
  ------------------
  |  Branch (259:13): [True: 0, False: 1.64M]
  ------------------
  260|      0|            PyErr_NoMemory();
  261|      0|            return NULL;
  262|      0|        }
  263|  1.64M|        _PyObject_Init((PyObject*)v, &PyLong_Type);
  264|  1.64M|        _PyLong_InitTag(v);
  265|  1.64M|    }
  266|  18.7M|    digit abs_x = x < 0 ? -x : x;
  ------------------
  |  Branch (266:19): [True: 63.6k, False: 18.6M]
  ------------------
  267|  18.7M|    _PyLong_SetSignAndDigitCount(v, x<0?-1:1, 1);
  ------------------
  |  Branch (267:37): [True: 63.6k, False: 18.6M]
  ------------------
  268|  18.7M|    v->long_value.ob_digit[0] = abs_x;
  269|  18.7M|    return (PyObject*)v;
  270|  18.7M|}
longobject.c:is_medium_int:
   54|  51.3M|{
   55|       |    /* Take care that we are comparing unsigned values. */
   56|  51.3M|    twodigits x_plus_mask = ((twodigits)x) + PyLong_MASK;
  ------------------
  |  |   62|  51.3M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  51.3M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  51.3M|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   57|  51.3M|    return x_plus_mask < ((twodigits)PyLong_MASK) + PyLong_BASE;
  ------------------
  |  |   62|  51.3M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  51.3M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  51.3M|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return x_plus_mask < ((twodigits)PyLong_MASK) + PyLong_BASE;
  ------------------
  |  |   61|  51.3M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  51.3M|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
   58|  51.3M|}
longobject.c:unroll_digits_ulong:
  537|   662k|{
  538|   662k|    assert(ULONG_MAX >= ((1UL << PyLong_SHIFT) - 1));
  ------------------
  |  Branch (538:5): [True: 662k, Folded]
  ------------------
  539|       |
  540|   662k|    Py_ssize_t i = *iptr;
  541|   662k|    assert(i >= 2);
  ------------------
  |  Branch (541:5): [True: 662k, False: 0]
  ------------------
  542|       |
  543|       |    /* unroll 1 digit */
  544|   662k|    --i;
  545|   662k|    digit *digits = v->long_value.ob_digit;
  546|   662k|    unsigned long x = digits[i];
  547|       |
  548|   662k|#if (ULONG_MAX >> PyLong_SHIFT) >= ((1UL << PyLong_SHIFT) - 1)
  549|       |    /* unroll another digit */
  550|   662k|    x <<= PyLong_SHIFT;
  ------------------
  |  |   47|   662k|#define PyLong_SHIFT    30
  ------------------
  551|   662k|    --i;
  552|   662k|    x |= digits[i];
  553|   662k|#endif
  554|       |
  555|   662k|    *iptr = i;
  556|   662k|    return x;
  557|   662k|}
longobject.c:unroll_digits_size_t:
  561|    157|{
  562|    157|    assert(SIZE_MAX >= ((1UL << PyLong_SHIFT) - 1));
  ------------------
  |  Branch (562:5): [True: 157, Folded]
  ------------------
  563|       |
  564|    157|    Py_ssize_t i = *iptr;
  565|    157|    assert(i >= 2);
  ------------------
  |  Branch (565:5): [True: 157, False: 0]
  ------------------
  566|       |
  567|       |    /* unroll 1 digit */
  568|    157|    --i;
  569|    157|    digit *digits = v->long_value.ob_digit;
  570|    157|    size_t x = digits[i];
  571|       |
  572|    157|#if (SIZE_MAX >> PyLong_SHIFT) >= ((1 << PyLong_SHIFT) - 1)
  573|       |    /* unroll another digit */
  574|    157|    x <<= PyLong_SHIFT;
  ------------------
  |  |   47|    157|#define PyLong_SHIFT    30
  ------------------
  575|    157|    --i;
  576|    157|    x |= digits[i];
  577|    157|#endif
  578|       |
  579|    157|    *iptr = i;
  580|    157|    return x;
  581|    157|}
longobject.c:long_sign:
  936|  2.89M|{
  937|  2.89M|    assert(vv != NULL);
  ------------------
  |  Branch (937:5): [True: 2.89M, False: 0]
  ------------------
  938|  2.89M|    assert(PyLong_Check(vv));
  ------------------
  |  Branch (938:5): [True: 2.89M, False: 0]
  ------------------
  939|  2.89M|    PyLongObject *v = (PyLongObject *)vv;
  940|       |
  941|  2.89M|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (941:9): [True: 2.89M, False: 0]
  ------------------
  942|  2.89M|        return _PyLong_CompactSign(v);
  943|  2.89M|    }
  944|      0|    return _PyLong_NonCompactSign(v);
  945|  2.89M|}
longobject.c:bit_length_digit:
  967|     76|{
  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|     76|                  "digit is larger than unsigned long");
  972|     76|    return _Py_bit_length((unsigned long)x);
  973|     76|}
longobject.c:maybe_small_long:
   69|   645k|{
   70|   645k|    if (v && _PyLong_IsCompact(v)) {
  ------------------
  |  Branch (70:9): [True: 645k, False: 0]
  |  Branch (70:14): [True: 305k, False: 340k]
  ------------------
   71|   305k|        stwodigits ival = medium_value(v);
  ------------------
  |  |   27|   305k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
   72|   305k|        if (IS_SMALL_INT(ival)) {
  ------------------
  |  |   29|   305k|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  ------------------
  |  |  |  |   68|   305k|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|   305k|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  ------------------
  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|   305k|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (68:6): [True: 305k, False: 0]
  |  |  |  |  |  Branch (68:37): [True: 198k, False: 106k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   73|   198k|            _Py_DECREF_INT(v);
   74|   198k|            return (PyLongObject *)get_small_int((sdigit)ival);
   75|   198k|        }
   76|   305k|    }
   77|   447k|    return v;
   78|   645k|}
longobject.c:_Py_DECREF_INT:
   47|  1.64M|{
   48|  1.64M|    assert(PyLong_CheckExact(op));
  ------------------
  |  Branch (48:5): [True: 1.64M, False: 0]
  ------------------
   49|  1.64M|    _Py_DECREF_SPECIALIZED((PyObject *)op, _PyLong_ExactDealloc);
   50|  1.64M|}
longobject.c:long_normalize:
  127|  3.10M|{
  128|  3.10M|    Py_ssize_t j = _PyLong_DigitCount(v);
  129|  3.10M|    Py_ssize_t i = j;
  130|       |
  131|  5.94M|    while (i > 0 && v->long_value.ob_digit[i-1] == 0)
  ------------------
  |  Branch (131:12): [True: 5.77M, False: 165k]
  |  Branch (131:21): [True: 2.83M, False: 2.94M]
  ------------------
  132|  2.83M|        --i;
  133|  3.10M|    if (i != j) {
  ------------------
  |  Branch (133:9): [True: 2.66M, False: 438k]
  ------------------
  134|  2.66M|        if (i == 0) {
  ------------------
  |  Branch (134:13): [True: 162k, False: 2.50M]
  ------------------
  135|   162k|            _PyLong_SetSignAndDigitCount(v, 0, 0);
  136|   162k|        }
  137|  2.50M|        else {
  138|  2.50M|            _PyLong_SetDigitCount(v, i);
  139|  2.50M|        }
  140|  2.66M|    }
  141|  3.10M|    return v;
  142|  3.10M|}
longobject.c:_resolve_endianness:
 1271|  9.69k|{
 1272|  9.69k|    if (*endianness == -1 || (*endianness & 2)) {
  ------------------
  |  Branch (1272:9): [True: 0, False: 9.69k]
  |  Branch (1272:30): [True: 9.69k, False: 0]
  ------------------
 1273|  9.69k|        *endianness = PY_LITTLE_ENDIAN;
  ------------------
  |  |  454|  9.69k|#  define PY_LITTLE_ENDIAN 1
  ------------------
 1274|  9.69k|    } else {
 1275|      0|        *endianness &= 1;
 1276|      0|    }
 1277|  9.69k|    assert(*endianness == 0 || *endianness == 1);
  ------------------
  |  Branch (1277:5): [True: 0, False: 9.69k]
  |  Branch (1277:5): [True: 9.69k, False: 0]
  ------------------
 1278|  9.69k|    return 0;
 1279|  9.69k|}
longobject.c:_fits_in_n_bits:
 1259|  9.69k|{
 1260|  9.69k|    if (n >= (Py_ssize_t)sizeof(Py_ssize_t) * 8) {
  ------------------
  |  Branch (1260:9): [True: 9.69k, False: 0]
  ------------------
 1261|  9.69k|        return 1;
 1262|  9.69k|    }
 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|      0|    Py_ssize_t v_extended = v >> ((int)n - 1);
 1266|      0|    return v_extended == 0 || v_extended == -1;
  ------------------
  |  Branch (1266:12): [True: 0, False: 0]
  |  Branch (1266:31): [True: 0, False: 0]
  ------------------
 1267|  9.69k|}
longobject.c:long_to_decimal_string_internal:
 2101|  1.43M|{
 2102|  1.43M|    PyLongObject *scratch, *a;
 2103|  1.43M|    PyObject *str = NULL;
 2104|  1.43M|    Py_ssize_t size, strlen, size_a, i, j;
 2105|  1.43M|    digit *pout, *pin, rem, tenpow;
 2106|  1.43M|    int negative;
 2107|  1.43M|    int d;
 2108|       |
 2109|       |    // writer or bytes_writer can be used, but not both at the same time.
 2110|  1.43M|    assert(writer == NULL || bytes_writer == NULL);
  ------------------
  |  Branch (2110:5): [True: 355k, False: 1.08M]
  |  Branch (2110:5): [True: 1.08M, False: 0]
  ------------------
 2111|       |
 2112|  1.43M|    a = (PyLongObject *)aa;
 2113|  1.43M|    if (a == NULL || !PyLong_Check(a)) {
  ------------------
  |  |   13|  1.43M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.43M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2113:9): [True: 0, False: 1.43M]
  |  Branch (2113:22): [True: 0, False: 1.43M]
  ------------------
 2114|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2115|      0|        return -1;
 2116|      0|    }
 2117|  1.43M|    size_a = _PyLong_DigitCount(a);
 2118|  1.43M|    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|  1.43M|    if (size_a >= 10 * _PY_LONG_MAX_STR_DIGITS_THRESHOLD
  ------------------
  |  |   42|  1.43M|#define _PY_LONG_MAX_STR_DIGITS_THRESHOLD 640
  ------------------
  |  Branch (2125:9): [True: 107, False: 1.43M]
  ------------------
 2126|  1.43M|                  / (3 * PyLong_SHIFT) + 2) {
  ------------------
  |  |   47|  1.43M|#define PyLong_SHIFT    30
  ------------------
 2127|    107|        PyInterpreterState *interp = _PyInterpreterState_GET();
 2128|    107|        int max_str_digits = _Py_atomic_load_int(&interp->long_state.max_str_digits);
 2129|    107|        if ((max_str_digits > 0) &&
  ------------------
  |  Branch (2129:13): [True: 107, False: 0]
  ------------------
 2130|    107|            (max_str_digits / (3 * PyLong_SHIFT) <= (size_a - 11) / 10)) {
  ------------------
  |  |   47|    107|#define PyLong_SHIFT    30
  ------------------
  |  Branch (2130:13): [True: 0, False: 107]
  ------------------
 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|    107|    }
 2136|       |
 2137|  1.43M|#if WITH_PYLONG_MODULE
 2138|  1.43M|    if (size_a > 1000) {
  ------------------
  |  Branch (2138:9): [True: 0, False: 1.43M]
  ------------------
 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|  1.43M|#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|  1.43M|    d = (33 * _PyLong_DECIMAL_SHIFT) /
  ------------------
  |  |   48|  1.43M|#define _PyLong_DECIMAL_SHIFT   9 /* max(e such that 10**e fits in a digit) */
  ------------------
 2163|  1.43M|        (10 * PyLong_SHIFT - 33 * _PyLong_DECIMAL_SHIFT);
  ------------------
  |  |   47|  1.43M|#define PyLong_SHIFT    30
  ------------------
                      (10 * PyLong_SHIFT - 33 * _PyLong_DECIMAL_SHIFT);
  ------------------
  |  |   48|  1.43M|#define _PyLong_DECIMAL_SHIFT   9 /* max(e such that 10**e fits in a digit) */
  ------------------
 2164|  1.43M|    assert(size_a < PY_SSIZE_T_MAX/2);
  ------------------
  |  Branch (2164:5): [True: 1.43M, False: 0]
  ------------------
 2165|  1.43M|    size = 1 + size_a + size_a / d;
 2166|  1.43M|    scratch = long_alloc(size);
 2167|  1.43M|    if (scratch == NULL)
  ------------------
  |  Branch (2167:9): [True: 0, False: 1.43M]
  ------------------
 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|  1.43M|    pin = a->long_value.ob_digit;
 2174|  1.43M|    pout = scratch->long_value.ob_digit;
 2175|  1.43M|    size = 0;
 2176|  2.84M|    for (i = size_a; --i >= 0; ) {
  ------------------
  |  Branch (2176:22): [True: 1.40M, False: 1.43M]
  ------------------
 2177|  1.40M|        digit hi = pin[i];
 2178|  21.1M|        for (j = 0; j < size; j++) {
  ------------------
  |  Branch (2178:21): [True: 19.7M, False: 1.40M]
  ------------------
 2179|  19.7M|            twodigits z = (twodigits)pout[j] << PyLong_SHIFT | hi;
  ------------------
  |  |   47|  19.7M|#define PyLong_SHIFT    30
  ------------------
 2180|  19.7M|            hi = (digit)(z / _PyLong_DECIMAL_BASE);
  ------------------
  |  |   49|  19.7M|#define _PyLong_DECIMAL_BASE    ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */
  ------------------
 2181|  19.7M|            pout[j] = (digit)(z - (twodigits)hi *
 2182|  19.7M|                              _PyLong_DECIMAL_BASE);
  ------------------
  |  |   49|  19.7M|#define _PyLong_DECIMAL_BASE    ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */
  ------------------
 2183|  19.7M|        }
 2184|  2.81M|        while (hi) {
  ------------------
  |  Branch (2184:16): [True: 1.40M, False: 1.40M]
  ------------------
 2185|  1.40M|            pout[size++] = hi % _PyLong_DECIMAL_BASE;
  ------------------
  |  |   49|  1.40M|#define _PyLong_DECIMAL_BASE    ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */
  ------------------
 2186|  1.40M|            hi /= _PyLong_DECIMAL_BASE;
  ------------------
  |  |   49|  1.40M|#define _PyLong_DECIMAL_BASE    ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */
  ------------------
 2187|  1.40M|        }
 2188|       |        /* check for keyboard interrupt */
 2189|  1.40M|        SIGCHECK({
  ------------------
  |  |  117|  1.40M|    do {                                        \
  |  |  118|  1.40M|        if (PyErr_CheckSignals()) PyTryBlock    \
  |  |  ------------------
  |  |  |  Branch (118:13): [True: 0, False: 1.40M]
  |  |  ------------------
  |  |  119|  1.40M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (119:13): [Folded, False: 1.40M]
  |  |  ------------------
  ------------------
 2190|  1.40M|                Py_DECREF(scratch);
 2191|  1.40M|                return -1;
 2192|  1.40M|            });
 2193|  1.40M|    }
 2194|       |    /* pout should have at least one digit, so that the case when a = 0
 2195|       |       works correctly */
 2196|  1.43M|    if (size == 0)
  ------------------
  |  Branch (2196:9): [True: 93.5k, False: 1.34M]
  ------------------
 2197|  93.5k|        pout[size++] = 0;
 2198|       |
 2199|       |    /* calculate exact length of output string, and allocate */
 2200|  1.43M|    strlen = negative + 1 + (size - 1) * _PyLong_DECIMAL_SHIFT;
  ------------------
  |  |   48|  1.43M|#define _PyLong_DECIMAL_SHIFT   9 /* max(e such that 10**e fits in a digit) */
  ------------------
 2201|  1.43M|    tenpow = 10;
 2202|  1.43M|    rem = pout[size-1];
 2203|  5.80M|    while (rem >= tenpow) {
  ------------------
  |  Branch (2203:12): [True: 4.36M, False: 1.43M]
  ------------------
 2204|  4.36M|        tenpow *= 10;
 2205|  4.36M|        strlen++;
 2206|  4.36M|    }
 2207|  1.43M|    if (strlen > _PY_LONG_MAX_STR_DIGITS_THRESHOLD) {
  ------------------
  |  |   42|  1.43M|#define _PY_LONG_MAX_STR_DIGITS_THRESHOLD 640
  ------------------
  |  Branch (2207:9): [True: 108, False: 1.43M]
  ------------------
 2208|    108|        PyInterpreterState *interp = _PyInterpreterState_GET();
 2209|    108|        int max_str_digits = _Py_atomic_load_int(&interp->long_state.max_str_digits);
 2210|    108|        Py_ssize_t strlen_nosign = strlen - negative;
 2211|    108|        if ((max_str_digits > 0) && (strlen_nosign > max_str_digits)) {
  ------------------
  |  Branch (2211:13): [True: 108, False: 0]
  |  Branch (2211:37): [True: 0, False: 108]
  ------------------
 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|    108|    }
 2218|  1.43M|    if (writer) {
  ------------------
  |  Branch (2218:9): [True: 1.08M, False: 355k]
  ------------------
 2219|  1.08M|        if (_PyUnicodeWriter_Prepare(writer, strlen, '9') == -1) {
  ------------------
  |  |  562|  1.08M|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 1.08M, False: 0]
  |  |  ------------------
  |  |  563|  1.08M|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 1.08M, False: 122]
  |  |  ------------------
  |  |  564|  1.08M|     ? 0                                                              \
  |  |  565|  1.08M|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 122]
  |  |  ------------------
  |  |  566|    122|        ? 0                                                           \
  |  |  567|    122|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (2219:13): [True: 0, False: 1.08M]
  ------------------
 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|  1.08M|    }
 2224|   355k|    else if (bytes_writer) {
  ------------------
  |  Branch (2224:14): [True: 0, False: 355k]
  ------------------
 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|   355k|    else {
 2233|   355k|        str = PyUnicode_New(strlen, '9');
 2234|   355k|        if (str == NULL) {
  ------------------
  |  Branch (2234:13): [True: 0, False: 355k]
  ------------------
 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|   355k|    }
 2239|       |
 2240|  1.43M|#define WRITE_DIGITS(p)                                               \
 2241|  1.43M|    do {                                                              \
 2242|       |        /* pout[0] through pout[size-2] contribute exactly            \
 2243|       |           _PyLong_DECIMAL_SHIFT digits each */                       \
 2244|  1.43M|        for (i=0; i < size - 1; i++) {                                \
 2245|  1.43M|            rem = pout[i];                                            \
 2246|  1.43M|            for (j = 0; j < _PyLong_DECIMAL_SHIFT; j++) {             \
 2247|  1.43M|                *--p = '0' + rem % 10;                                \
 2248|  1.43M|                rem /= 10;                                            \
 2249|  1.43M|            }                                                         \
 2250|  1.43M|        }                                                             \
 2251|       |        /* pout[size-1]: always produce at least one decimal digit */ \
 2252|  1.43M|        rem = pout[i];                                                \
 2253|  1.43M|        do {                                                          \
 2254|  1.43M|            *--p = '0' + rem % 10;                                    \
 2255|  1.43M|            rem /= 10;                                                \
 2256|  1.43M|        } while (rem != 0);                                           \
 2257|  1.43M|                                                                      \
 2258|       |        /* and sign */                                                \
 2259|  1.43M|        if (negative)                                                 \
 2260|  1.43M|            *--p = '-';                                               \
 2261|  1.43M|    } while (0)
 2262|       |
 2263|  1.43M|#define WRITE_UNICODE_DIGITS(TYPE)                                    \
 2264|  1.43M|    do {                                                              \
 2265|  1.43M|        if (writer)                                                   \
 2266|  1.43M|            p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + strlen; \
 2267|  1.43M|        else                                                          \
 2268|  1.43M|            p = (TYPE*)PyUnicode_DATA(str) + strlen;                  \
 2269|  1.43M|                                                                      \
 2270|  1.43M|        WRITE_DIGITS(p);                                              \
 2271|  1.43M|                                                                      \
 2272|       |        /* check we've counted correctly */                           \
 2273|  1.43M|        if (writer)                                                   \
 2274|  1.43M|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
 2275|  1.43M|        else                                                          \
 2276|  1.43M|            assert(p == (TYPE*)PyUnicode_DATA(str));                  \
 2277|  1.43M|    } while (0)
 2278|       |
 2279|       |    /* fill the string right-to-left */
 2280|  1.43M|    if (bytes_writer) {
  ------------------
  |  Branch (2280:9): [True: 0, False: 1.43M]
  ------------------
 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);
  ------------------
  |  Branch (2283:9): [True: 0, False: 0]
  ------------------
 2284|      0|    }
 2285|  1.43M|    else {
 2286|  1.43M|        int kind = writer ? writer->kind : PyUnicode_KIND(str);
  ------------------
  |  |  258|   355k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   711k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 355k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2286:20): [True: 1.08M, False: 355k]
  ------------------
 2287|  1.43M|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (2287:13): [True: 1.43M, False: 0]
  ------------------
 2288|  1.43M|            Py_UCS1 *p;
 2289|  1.43M|            WRITE_UNICODE_DIGITS(Py_UCS1);
  ------------------
  |  | 2264|  1.43M|    do {                                                              \
  |  | 2265|  1.43M|        if (writer)                                                   \
  |  |  ------------------
  |  |  |  Branch (2265:13): [True: 1.08M, False: 355k]
  |  |  ------------------
  |  | 2266|  1.43M|            p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + strlen; \
  |  |  ------------------
  |  |  |  |  284|  1.08M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2267|  1.43M|        else                                                          \
  |  | 2268|  1.43M|            p = (TYPE*)PyUnicode_DATA(str) + strlen;                  \
  |  |  ------------------
  |  |  |  |  284|   355k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2269|  1.43M|                                                                      \
  |  | 2270|  1.43M|        WRITE_DIGITS(p);                                              \
  |  |  ------------------
  |  |  |  | 2241|  1.43M|    do {                                                              \
  |  |  |  | 2242|  1.43M|        /* pout[0] through pout[size-2] contribute exactly            \
  |  |  |  | 2243|  1.43M|           _PyLong_DECIMAL_SHIFT digits each */                       \
  |  |  |  | 2244|  1.50M|        for (i=0; i < size - 1; i++) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2244:19): [True: 62.1k, False: 1.43M]
  |  |  |  |  ------------------
  |  |  |  | 2245|  62.1k|            rem = pout[i];                                            \
  |  |  |  | 2246|   621k|            for (j = 0; j < _PyLong_DECIMAL_SHIFT; j++) {             \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|   621k|#define _PyLong_DECIMAL_SHIFT   9 /* max(e such that 10**e fits in a digit) */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2246:25): [True: 559k, False: 62.1k]
  |  |  |  |  ------------------
  |  |  |  | 2247|   559k|                *--p = '0' + rem % 10;                                \
  |  |  |  | 2248|   559k|                rem /= 10;                                            \
  |  |  |  | 2249|   559k|            }                                                         \
  |  |  |  | 2250|  62.1k|        }                                                             \
  |  |  |  | 2251|  1.43M|        /* pout[size-1]: always produce at least one decimal digit */ \
  |  |  |  | 2252|  1.43M|        rem = pout[i];                                                \
  |  |  |  | 2253|  5.80M|        do {                                                          \
  |  |  |  | 2254|  5.80M|            *--p = '0' + rem % 10;                                    \
  |  |  |  | 2255|  5.80M|            rem /= 10;                                                \
  |  |  |  | 2256|  5.80M|        } while (rem != 0);                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2256:18): [True: 4.36M, False: 1.43M]
  |  |  |  |  ------------------
  |  |  |  | 2257|  1.43M|                                                                      \
  |  |  |  | 2258|  1.43M|        /* and sign */                                                \
  |  |  |  | 2259|  1.43M|        if (negative)                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2259:13): [True: 0, False: 1.43M]
  |  |  |  |  ------------------
  |  |  |  | 2260|  1.43M|            *--p = '-';                                               \
  |  |  |  | 2261|  1.43M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2261:14): [Folded, False: 1.43M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2271|  1.43M|                                                                      \
  |  | 2272|  1.43M|        /* check we've counted correctly */                           \
  |  | 2273|  1.43M|        if (writer)                                                   \
  |  |  ------------------
  |  |  |  Branch (2273:13): [True: 1.08M, False: 355k]
  |  |  ------------------
  |  | 2274|  1.43M|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
  |  | 2275|  1.43M|        else                                                          \
  |  | 2276|  1.43M|            assert(p == (TYPE*)PyUnicode_DATA(str));                  \
  |  | 2277|  1.43M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2277:14): [Folded, False: 1.43M]
  |  |  ------------------
  ------------------
  |  Branch (2289:13): [True: 1.08M, False: 0]
  |  Branch (2289:13): [True: 355k, False: 0]
  ------------------
 2290|  1.43M|        }
 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]
  |  |  ------------------
  ------------------
  |  Branch (2293:13): [True: 0, False: 0]
  |  Branch (2293:13): [True: 0, False: 0]
  ------------------
 2294|      0|        }
 2295|      0|        else {
 2296|      0|            assert (kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (2296:13): [True: 0, False: 0]
  ------------------
 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]
  |  |  ------------------
  ------------------
  |  Branch (2298:13): [True: 0, False: 0]
  |  Branch (2298:13): [True: 0, False: 0]
  ------------------
 2299|      0|        }
 2300|  1.43M|    }
 2301|       |
 2302|  1.43M|#undef WRITE_DIGITS
 2303|  1.43M|#undef WRITE_UNICODE_DIGITS
 2304|       |
 2305|  1.43M|    _Py_DECREF_INT(scratch);
 2306|  1.43M|    if (writer) {
  ------------------
  |  Branch (2306:9): [True: 1.08M, False: 355k]
  ------------------
 2307|  1.08M|        writer->pos += strlen;
 2308|  1.08M|    }
 2309|   355k|    else if (bytes_writer) {
  ------------------
  |  Branch (2309:14): [True: 0, False: 355k]
  ------------------
 2310|      0|        (*bytes_str) += strlen;
 2311|      0|    }
 2312|   355k|    else {
 2313|   355k|        assert(_PyUnicode_CheckConsistency(str, 1));
  ------------------
  |  Branch (2313:9): [True: 355k, False: 0]
  ------------------
 2314|   355k|        *p_output = (PyObject *)str;
 2315|   355k|    }
 2316|  1.43M|    return 0;
 2317|  1.43M|}
longobject.c:long_from_string_base:
 2960|   644k|{
 2961|   644k|    const char *start, *end, *p;
 2962|   644k|    char prev = 0;
 2963|   644k|    Py_ssize_t digits = 0;
 2964|   644k|    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|   644k|    start = p = *str;
 2974|       |    /* Leading underscore not allowed. */
 2975|   644k|    if (*start == '_') {
  ------------------
  |  Branch (2975:9): [True: 0, False: 644k]
  ------------------
 2976|      0|        return -1;
 2977|      0|    }
 2978|       |    /* Verify all characters are digits and underscores. */
 2979|  28.9M|    while (_PyLong_DigitValue[Py_CHARMASK(*p)] < base || *p == '_') {
  ------------------
  |  |  138|  28.9M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
  |  Branch (2979:12): [True: 28.3M, False: 644k]
  |  Branch (2979:58): [True: 0, False: 644k]
  ------------------
 2980|  28.3M|        if (*p == '_') {
  ------------------
  |  Branch (2980:13): [True: 0, False: 28.3M]
  ------------------
 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|  28.3M|        } else {
 2987|  28.3M|            ++digits;
 2988|  28.3M|        }
 2989|  28.3M|        prev = *p;
 2990|  28.3M|        ++p;
 2991|  28.3M|    }
 2992|       |    /* Trailing underscore not allowed. */
 2993|   644k|    if (prev == '_') {
  ------------------
  |  Branch (2993:9): [True: 0, False: 644k]
  ------------------
 2994|      0|        *str = p - 1;
 2995|      0|        return -1;
 2996|      0|    }
 2997|   644k|    *str = end = p;
 2998|       |    /* Reject empty strings */
 2999|   644k|    if (start == end) {
  ------------------
  |  Branch (2999:9): [True: 0, False: 644k]
  ------------------
 3000|      0|        return -1;
 3001|      0|    }
 3002|       |    /* Allow only trailing whitespace after `end` */
 3003|   644k|    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: 644k]
  ------------------
 3004|      0|        p++;
 3005|      0|    }
 3006|   644k|    *str = p;
 3007|   644k|    if (*p != '\0') {
  ------------------
  |  Branch (3007:9): [True: 0, False: 644k]
  ------------------
 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|   644k|    if (is_binary_base) {
  ------------------
  |  Branch (3015:9): [True: 508k, False: 136k]
  ------------------
 3016|       |        /* Use the linear algorithm for binary bases. */
 3017|   508k|        return long_from_binary_base(start, end, digits, base, res);
 3018|   508k|    }
 3019|   136k|    else {
 3020|       |        /* Limit the size to avoid excessive computation attacks exploiting the
 3021|       |         * quadratic algorithm. */
 3022|   136k|        if (digits > _PY_LONG_MAX_STR_DIGITS_THRESHOLD) {
  ------------------
  |  |   42|   136k|#define _PY_LONG_MAX_STR_DIGITS_THRESHOLD 640
  ------------------
  |  Branch (3022:13): [True: 4.43k, False: 131k]
  ------------------
 3023|  4.43k|            PyInterpreterState *interp = _PyInterpreterState_GET();
 3024|  4.43k|            int max_str_digits = _Py_atomic_load_int(&interp->long_state.max_str_digits);
 3025|  4.43k|            if ((max_str_digits > 0) && (digits > max_str_digits)) {
  ------------------
  |  Branch (3025:17): [True: 4.43k, False: 0]
  |  Branch (3025:41): [True: 5, False: 4.42k]
  ------------------
 3026|      5|                PyErr_Format(PyExc_ValueError, _MAX_STR_DIGITS_ERROR_FMT_TO_INT,
  ------------------
  |  |   32|      5|#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|      5|                             max_str_digits, digits);
 3028|      5|                *res = NULL;
 3029|      5|                return 0;
 3030|      5|            }
 3031|  4.43k|        }
 3032|   136k|#if WITH_PYLONG_MODULE
 3033|   136k|        if (digits > 6000 && base == 10) {
  ------------------
  |  Branch (3033:13): [True: 870, False: 135k]
  |  Branch (3033:30): [True: 870, False: 0]
  ------------------
 3034|       |            /* Switch to _pylong.int_from_string() */
 3035|    870|            return pylong_int_from_string(start, end, res);
 3036|    870|        }
 3037|   135k|#endif
 3038|       |        /* Use the quadratic algorithm for non binary bases. */
 3039|   135k|        return long_from_non_binary_base(start, end, digits, base, res);
 3040|   136k|    }
 3041|   644k|}
longobject.c:long_from_binary_base:
 2587|   508k|{
 2588|   508k|    const char *p;
 2589|   508k|    int bits_per_char;
 2590|   508k|    Py_ssize_t n;
 2591|   508k|    PyLongObject *z;
 2592|   508k|    twodigits accum;
 2593|   508k|    int bits_in_accum;
 2594|   508k|    digit *pdigit;
 2595|       |
 2596|   508k|    assert(base >= 2 && base <= 32 && (base & (base - 1)) == 0);
  ------------------
  |  Branch (2596:5): [True: 508k, False: 0]
  |  Branch (2596:5): [True: 508k, False: 0]
  |  Branch (2596:5): [True: 508k, False: 0]
  ------------------
 2597|   508k|    n = base;
 2598|  1.53M|    for (bits_per_char = -1; n; ++bits_per_char) {
  ------------------
  |  Branch (2598:30): [True: 1.02M, False: 508k]
  ------------------
 2599|  1.02M|        n >>= 1;
 2600|  1.02M|    }
 2601|       |
 2602|       |    /* n <- the number of Python digits needed,
 2603|       |            = ceiling((digits * bits_per_char) / PyLong_SHIFT). */
 2604|   508k|    if (digits > (PY_SSIZE_T_MAX - (PyLong_SHIFT - 1)) / bits_per_char) {
  ------------------
  |  |  137|   508k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                  if (digits > (PY_SSIZE_T_MAX - (PyLong_SHIFT - 1)) / bits_per_char) {
  ------------------
  |  |   47|   508k|#define PyLong_SHIFT    30
  ------------------
  |  Branch (2604:9): [True: 0, False: 508k]
  ------------------
 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|   508k|    n = (digits * bits_per_char + PyLong_SHIFT - 1) / PyLong_SHIFT;
  ------------------
  |  |   47|   508k|#define PyLong_SHIFT    30
  ------------------
                  n = (digits * bits_per_char + PyLong_SHIFT - 1) / PyLong_SHIFT;
  ------------------
  |  |   47|   508k|#define PyLong_SHIFT    30
  ------------------
 2611|   508k|    z = long_alloc(n);
 2612|   508k|    if (z == NULL) {
  ------------------
  |  Branch (2612:9): [True: 0, False: 508k]
  ------------------
 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|   508k|    accum = 0;
 2620|   508k|    bits_in_accum = 0;
 2621|   508k|    pdigit = z->long_value.ob_digit;
 2622|   508k|    p = end;
 2623|  16.6M|    while (--p >= start) {
  ------------------
  |  Branch (2623:12): [True: 16.1M, False: 508k]
  ------------------
 2624|  16.1M|        int k;
 2625|  16.1M|        if (*p == '_') {
  ------------------
  |  Branch (2625:13): [True: 0, False: 16.1M]
  ------------------
 2626|      0|            continue;
 2627|      0|        }
 2628|  16.1M|        k = (int)_PyLong_DigitValue[Py_CHARMASK(*p)];
  ------------------
  |  |  138|  16.1M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 2629|  16.1M|        assert(k >= 0 && k < base);
  ------------------
  |  Branch (2629:9): [True: 16.1M, False: 0]
  |  Branch (2629:9): [True: 16.1M, False: 0]
  ------------------
 2630|  16.1M|        accum |= (twodigits)k << bits_in_accum;
 2631|  16.1M|        bits_in_accum += bits_per_char;
 2632|  16.1M|        if (bits_in_accum >= PyLong_SHIFT) {
  ------------------
  |  |   47|  16.1M|#define PyLong_SHIFT    30
  ------------------
  |  Branch (2632:13): [True: 504k, False: 15.6M]
  ------------------
 2633|   504k|            *pdigit++ = (digit)(accum & PyLong_MASK);
  ------------------
  |  |   62|   504k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|   504k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|   504k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2634|   504k|            assert(pdigit - z->long_value.ob_digit <= n);
  ------------------
  |  Branch (2634:13): [True: 504k, False: 0]
  ------------------
 2635|   504k|            accum >>= PyLong_SHIFT;
  ------------------
  |  |   47|   504k|#define PyLong_SHIFT    30
  ------------------
 2636|   504k|            bits_in_accum -= PyLong_SHIFT;
  ------------------
  |  |   47|   504k|#define PyLong_SHIFT    30
  ------------------
 2637|   504k|            assert(bits_in_accum < PyLong_SHIFT);
  ------------------
  |  Branch (2637:13): [True: 504k, False: 0]
  ------------------
 2638|   504k|        }
 2639|  16.1M|    }
 2640|   508k|    if (bits_in_accum) {
  ------------------
  |  Branch (2640:9): [True: 508k, False: 0]
  ------------------
 2641|   508k|        assert(bits_in_accum <= PyLong_SHIFT);
  ------------------
  |  Branch (2641:9): [True: 508k, False: 0]
  ------------------
 2642|   508k|        *pdigit++ = (digit)accum;
 2643|   508k|        assert(pdigit - z->long_value.ob_digit <= n);
  ------------------
  |  Branch (2643:9): [True: 508k, False: 0]
  ------------------
 2644|   508k|    }
 2645|   508k|    while (pdigit - z->long_value.ob_digit < n)
  ------------------
  |  Branch (2645:12): [True: 0, False: 508k]
  ------------------
 2646|      0|        *pdigit++ = 0;
 2647|   508k|    *res = z;
 2648|   508k|    return 0;
 2649|   508k|}
longobject.c:pylong_int_from_string:
 2655|    870|{
 2656|    870|    PyObject *mod = PyImport_ImportModule("_pylong");
 2657|    870|    if (mod == NULL) {
  ------------------
  |  Branch (2657:9): [True: 0, False: 870]
  ------------------
 2658|      0|        goto error;
 2659|      0|    }
 2660|    870|    PyObject *s = PyUnicode_FromStringAndSize(start, end-start);
 2661|    870|    if (s == NULL) {
  ------------------
  |  Branch (2661:9): [True: 0, False: 870]
  ------------------
 2662|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2663|      0|        goto error;
 2664|      0|    }
 2665|    870|    PyObject *result = PyObject_CallMethod(mod, "int_from_string", "O", s);
 2666|    870|    Py_DECREF(s);
  ------------------
  |  |  430|    870|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    870|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    870|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2667|    870|    Py_DECREF(mod);
  ------------------
  |  |  430|    870|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    870|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    870|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2668|    870|    if (result == NULL) {
  ------------------
  |  Branch (2668:9): [True: 2, False: 868]
  ------------------
 2669|      2|        goto error;
 2670|      2|    }
 2671|    868|    if (!PyLong_Check(result)) {
  ------------------
  |  |   13|    868|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    868|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2671:9): [True: 0, False: 868]
  ------------------
 2672|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2673|      0|        PyErr_SetString(PyExc_TypeError,
 2674|      0|                        "_pylong.int_from_string did not return an int");
 2675|      0|        goto error;
 2676|      0|    }
 2677|    868|    *res = (PyLongObject *)result;
 2678|    868|    return 0;
 2679|      2|error:
 2680|       |    *res = NULL;
 2681|      2|    return 0;  // See the long_from_string_base() API comment.
 2682|    868|}
longobject.c:long_from_non_binary_base:
 2827|   135k|{
 2828|   135k|    twodigits c;           /* current input character */
 2829|   135k|    Py_ssize_t size_z;
 2830|   135k|    int i;
 2831|   135k|    int convwidth;
 2832|   135k|    twodigits convmultmax, convmult;
 2833|   135k|    digit *pz, *pzstop;
 2834|   135k|    PyLongObject *z;
 2835|   135k|    const char *p;
 2836|       |
 2837|   135k|    assert(log_base_BASE[base] != 0.0);
  ------------------
  |  Branch (2837:5): [True: 135k, False: 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|   135k|    double fsize_z = (double)digits * log_base_BASE[base] + 1.0;
 2845|   135k|    if (fsize_z > (double)MAX_LONG_DIGITS) {
  ------------------
  |  |  155|   135k|# define MAX_LONG_DIGITS ((INT64_MAX-1) / PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|   135k|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (2845:9): [True: 0, False: 135k]
  ------------------
 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|   135k|    size_z = (Py_ssize_t)fsize_z;
 2853|       |    /* Uncomment next line to test exceedingly rare copy code */
 2854|       |    /* size_z = 1; */
 2855|   135k|    assert(size_z > 0);
  ------------------
  |  Branch (2855:5): [True: 135k, False: 0]
  ------------------
 2856|   135k|    z = long_alloc(size_z);
 2857|   135k|    if (z == NULL) {
  ------------------
  |  Branch (2857:9): [True: 0, False: 135k]
  ------------------
 2858|      0|        *res = NULL;
 2859|      0|        return 0;
 2860|      0|    }
 2861|   135k|    z->long_value.ob_digit[0] = 0;
 2862|   135k|    _PyLong_SetSignAndDigitCount(z, 0, 0);
 2863|       |
 2864|       |    /* `convwidth` consecutive input digits are treated as a single
 2865|       |     * digit in base `convmultmax`.
 2866|       |     */
 2867|   135k|    convwidth = convwidth_base[base];
 2868|   135k|    convmultmax = convmultmax_base[base];
 2869|       |
 2870|       |    /* Work ;-) */
 2871|   135k|    p = start;
 2872|   958k|    while (p < end) {
  ------------------
  |  Branch (2872:12): [True: 822k, False: 135k]
  ------------------
 2873|   822k|        if (*p == '_') {
  ------------------
  |  Branch (2873:13): [True: 0, False: 822k]
  ------------------
 2874|      0|            p++;
 2875|      0|            continue;
 2876|      0|        }
 2877|       |        /* grab up to convwidth digits from the input string */
 2878|   822k|        c = (digit)_PyLong_DigitValue[Py_CHARMASK(*p++)];
  ------------------
  |  |  138|   822k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 2879|  6.59M|        for (i = 1; i < convwidth && p != end; ++p) {
  ------------------
  |  Branch (2879:21): [True: 5.89M, False: 692k]
  |  Branch (2879:38): [True: 5.76M, False: 130k]
  ------------------
 2880|  5.76M|            if (*p == '_') {
  ------------------
  |  Branch (2880:17): [True: 0, False: 5.76M]
  ------------------
 2881|      0|                continue;
 2882|      0|            }
 2883|  5.76M|            i++;
 2884|  5.76M|            c = (twodigits)(c *  base +
 2885|  5.76M|                            (int)_PyLong_DigitValue[Py_CHARMASK(*p)]);
  ------------------
  |  |  138|  5.76M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 2886|  5.76M|            assert(c < PyLong_BASE);
  ------------------
  |  Branch (2886:13): [True: 5.76M, False: 0]
  ------------------
 2887|  5.76M|        }
 2888|       |
 2889|   822k|        convmult = convmultmax;
 2890|       |        /* Calculate the shift only if we couldn't get
 2891|       |         * convwidth digits.
 2892|       |         */
 2893|   822k|        if (i != convwidth) {
  ------------------
  |  Branch (2893:13): [True: 130k, False: 692k]
  ------------------
 2894|   130k|            convmult = base;
 2895|   359k|            for ( ; i > 1; --i) {
  ------------------
  |  Branch (2895:21): [True: 229k, False: 130k]
  ------------------
 2896|   229k|                convmult *= base;
 2897|   229k|            }
 2898|   130k|        }
 2899|       |
 2900|       |        /* Multiply z by convmult, and add c. */
 2901|   822k|        pz = z->long_value.ob_digit;
 2902|   822k|        pzstop = pz + _PyLong_DigitCount(z);
 2903|  4.31M|        for (; pz < pzstop; ++pz) {
  ------------------
  |  Branch (2903:16): [True: 3.49M, False: 822k]
  ------------------
 2904|  3.49M|            c += (twodigits)*pz * convmult;
 2905|  3.49M|            *pz = (digit)(c & PyLong_MASK);
  ------------------
  |  |   62|  3.49M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  3.49M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  3.49M|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2906|  3.49M|            c >>= PyLong_SHIFT;
  ------------------
  |  |   47|  3.49M|#define PyLong_SHIFT    30
  ------------------
 2907|  3.49M|        }
 2908|       |        /* carry off the current end? */
 2909|   822k|        if (c) {
  ------------------
  |  Branch (2909:13): [True: 223k, False: 599k]
  ------------------
 2910|   223k|            assert(c < PyLong_BASE);
  ------------------
  |  Branch (2910:13): [True: 223k, False: 0]
  ------------------
 2911|   223k|            if (_PyLong_DigitCount(z) < size_z) {
  ------------------
  |  Branch (2911:17): [True: 223k, False: 0]
  ------------------
 2912|   223k|                *pz = (digit)c;
 2913|   223k|                assert(!_PyLong_IsNegative(z));
  ------------------
  |  Branch (2913:17): [True: 223k, False: 0]
  ------------------
 2914|   223k|                _PyLong_SetSignAndDigitCount(z, 1, _PyLong_DigitCount(z) + 1);
 2915|   223k|            }
 2916|      0|            else {
 2917|      0|                PyLongObject *tmp;
 2918|       |                /* Extremely rare.  Get more space. */
 2919|      0|                assert(_PyLong_DigitCount(z) == size_z);
  ------------------
  |  Branch (2919:17): [True: 0, False: 0]
  ------------------
 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|   223k|        }
 2934|   822k|    }
 2935|   135k|    *res = z;
 2936|   135k|    return 0;
 2937|   135k|}
longobject.c:_PyLong_Negate:
  357|   186k|{
  358|   186k|    PyLongObject *x;
  359|       |
  360|   186k|    x = (PyLongObject *)*x_p;
  361|   186k|    if (_PyObject_IsUniquelyReferenced((PyObject *)x)) {
  ------------------
  |  Branch (361:9): [True: 0, False: 186k]
  ------------------
  362|      0|         _PyLong_FlipSign(x);
  363|      0|        return;
  364|      0|    }
  365|       |
  366|   186k|    *x_p = _PyLong_FromSTwoDigits(-medium_value(x));
  ------------------
  |  |   27|   186k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
  367|   186k|    Py_DECREF(x);
  ------------------
  |  |  430|   186k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   186k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   186k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  368|   186k|}
longobject.c:_PyLong_FromSTwoDigits:
  314|  13.8M|{
  315|  13.8M|    if (IS_SMALL_INT(x)) {
  ------------------
  |  |   29|  13.8M|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  ------------------
  |  |  |  |   68|  13.8M|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|  13.8M|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  ------------------
  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|  13.8M|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (68:6): [True: 13.8M, False: 63.6k]
  |  |  |  |  |  Branch (68:37): [True: 13.6M, False: 162k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  316|  13.6M|        return (PyLongObject*)get_small_int((sdigit)x);
  317|  13.6M|    }
  318|  13.8M|    assert(x != 0);
  ------------------
  |  Branch (318:5): [True: 226k, False: 0]
  ------------------
  319|   226k|    if (is_medium_int(x)) {
  ------------------
  |  Branch (319:9): [True: 221k, False: 4.58k]
  ------------------
  320|   221k|        return (PyLongObject*)_PyLong_FromMedium((sdigit)x);
  321|   221k|    }
  322|  4.58k|    return (PyLongObject*)_PyLong_FromLarge(x);
  323|   226k|}
longobject.c:_PyLong_FromLarge:
  274|  4.58k|{
  275|  4.58k|    twodigits abs_ival;
  276|  4.58k|    int sign;
  277|  4.58k|    assert(!is_medium_int(ival));
  ------------------
  |  Branch (277:5): [True: 4.58k, False: 0]
  ------------------
  278|       |
  279|  4.58k|    if (ival < 0) {
  ------------------
  |  Branch (279:9): [True: 0, False: 4.58k]
  ------------------
  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|  4.58k|    else {
  286|  4.58k|        abs_ival = (twodigits)ival;
  287|  4.58k|        sign = 1;
  288|  4.58k|    }
  289|       |    /* Must be at least two digits */
  290|  4.58k|    assert(abs_ival >> PyLong_SHIFT != 0);
  ------------------
  |  Branch (290:5): [True: 4.58k, False: 0]
  ------------------
  291|  4.58k|    twodigits t = abs_ival >> (PyLong_SHIFT * 2);
  ------------------
  |  |   47|  4.58k|#define PyLong_SHIFT    30
  ------------------
  292|  4.58k|    Py_ssize_t ndigits = 2;
  293|  4.58k|    while (t) {
  ------------------
  |  Branch (293:12): [True: 0, False: 4.58k]
  ------------------
  294|      0|        ++ndigits;
  295|      0|        t >>= PyLong_SHIFT;
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
  296|      0|    }
  297|  4.58k|    PyLongObject *v = long_alloc(ndigits);
  298|  4.58k|    if (v != NULL) {
  ------------------
  |  Branch (298:9): [True: 4.58k, False: 0]
  ------------------
  299|  4.58k|        digit *p = v->long_value.ob_digit;
  300|  4.58k|        _PyLong_SetSignAndDigitCount(v, sign, ndigits);
  301|  4.58k|        t = abs_ival;
  302|  13.7k|        while (t) {
  ------------------
  |  Branch (302:16): [True: 9.17k, False: 4.58k]
  ------------------
  303|  9.17k|            *p++ = Py_SAFE_DOWNCAST(
  ------------------
  |  |  247|  9.17k|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|  9.17k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  304|  9.17k|                t & PyLong_MASK, twodigits, digit);
  305|  9.17k|            t >>= PyLong_SHIFT;
  ------------------
  |  |   47|  9.17k|#define PyLong_SHIFT    30
  ------------------
  306|  9.17k|        }
  307|  4.58k|    }
  308|  4.58k|    return (PyObject *)v;
  309|  4.58k|}
longobject.c:v_lshift:
 1906|    150|{
 1907|    150|    Py_ssize_t i;
 1908|    150|    digit carry = 0;
 1909|       |
 1910|    150|    assert(0 <= d && d < PyLong_SHIFT);
  ------------------
  |  Branch (1910:5): [True: 150, False: 0]
  |  Branch (1910:5): [True: 150, False: 0]
  ------------------
 1911|    689|    for (i=0; i < m; i++) {
  ------------------
  |  Branch (1911:15): [True: 539, False: 150]
  ------------------
 1912|    539|        twodigits acc = (twodigits)a[i] << d | carry;
 1913|    539|        z[i] = (digit)acc & PyLong_MASK;
  ------------------
  |  |   62|    539|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|    539|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|    539|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1914|    539|        carry = (digit)(acc >> PyLong_SHIFT);
  ------------------
  |  |   47|    539|#define PyLong_SHIFT    30
  ------------------
 1915|    539|    }
 1916|    150|    return carry;
 1917|    150|}
longobject.c:v_rshift:
 1924|     75|{
 1925|     75|    Py_ssize_t i;
 1926|     75|    digit carry = 0;
 1927|     75|    digit mask = ((digit)1 << d) - 1U;
 1928|       |
 1929|     75|    assert(0 <= d && d < PyLong_SHIFT);
  ------------------
  |  Branch (1929:5): [True: 75, False: 0]
  |  Branch (1929:5): [True: 75, False: 0]
  ------------------
 1930|    300|    for (i=m; i-- > 0;) {
  ------------------
  |  Branch (1930:15): [True: 225, False: 75]
  ------------------
 1931|    225|        twodigits acc = (twodigits)carry << PyLong_SHIFT | a[i];
  ------------------
  |  |   47|    225|#define PyLong_SHIFT    30
  ------------------
 1932|    225|        carry = (digit)acc & mask;
 1933|    225|        z[i] = (digit)(acc >> d);
 1934|    225|    }
 1935|     75|    return carry;
 1936|     75|}
longobject.c:medium_from_stwodigits:
  329|  53.9M|{
  330|  53.9M|    if (IS_SMALL_INT(x)) {
  ------------------
  |  |   29|  53.9M|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  ------------------
  |  |  |  |   68|  53.9M|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|  53.9M|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  ------------------
  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|  53.9M|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (68:6): [True: 53.9M, False: 3]
  |  |  |  |  |  Branch (68:37): [True: 21.4M, False: 32.4M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  331|  21.4M|        return PyStackRef_FromPyObjectBorrow(get_small_int((sdigit)x));
  332|  21.4M|    }
  333|  53.9M|    assert(x != 0);
  ------------------
  |  Branch (333:5): [True: 32.4M, False: 0]
  ------------------
  334|  32.4M|    if(!is_medium_int(x)) {
  ------------------
  |  Branch (334:8): [True: 2.79k, False: 32.4M]
  ------------------
  335|  2.79k|        return PyStackRef_NULL;
  336|  2.79k|    }
  337|  32.4M|    PyLongObject *v = (PyLongObject *)_Py_FREELIST_POP(PyLongObject, ints);
  ------------------
  |  |   43|  32.4M|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  32.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  338|  32.4M|    if (v == NULL) {
  ------------------
  |  Branch (338:9): [True: 1.69M, False: 30.7M]
  ------------------
  339|  1.69M|        v = PyObject_Malloc(sizeof(PyLongObject));
  340|  1.69M|        if (v == NULL) {
  ------------------
  |  Branch (340:13): [True: 0, False: 1.69M]
  ------------------
  341|      0|            return PyStackRef_NULL;
  342|      0|        }
  343|  1.69M|        _PyObject_Init((PyObject*)v, &PyLong_Type);
  344|  1.69M|        _PyLong_InitTag(v);
  345|  1.69M|    }
  346|  32.4M|    digit abs_x = x < 0 ? (digit)(-x) : (digit)x;
  ------------------
  |  Branch (346:19): [True: 3, False: 32.4M]
  ------------------
  347|  32.4M|    _PyLong_SetSignAndDigitCount(v, x<0?-1:1, 1);
  ------------------
  |  Branch (347:37): [True: 3, False: 32.4M]
  ------------------
  348|  32.4M|    v->long_value.ob_digit[0] = abs_x;
  349|  32.4M|    return PyStackRef_FromPyObjectStealMortal((PyObject *)v);
  350|  32.4M|}
longobject.c:long_rshift1:
 5312|  9.42k|{
 5313|  9.42k|    PyLongObject *z = NULL;
 5314|  9.42k|    Py_ssize_t newsize, hishift, size_a;
 5315|  9.42k|    twodigits accum;
 5316|  9.42k|    int a_negative;
 5317|       |
 5318|       |    /* Total number of bits shifted must be nonnegative. */
 5319|  9.42k|    assert(wordshift >= 0);
  ------------------
  |  Branch (5319:5): [True: 9.42k, False: 0]
  ------------------
 5320|  9.42k|    assert(remshift < PyLong_SHIFT);
  ------------------
  |  Branch (5320:5): [True: 9.42k, False: 0]
  ------------------
 5321|       |
 5322|       |    /* Fast path for small a. */
 5323|  9.42k|    if (_PyLong_IsCompact(a)) {
  ------------------
  |  Branch (5323:9): [True: 9.42k, False: 0]
  ------------------
 5324|  9.42k|        stwodigits m, x;
 5325|  9.42k|        digit shift;
 5326|  9.42k|        m = medium_value(a);
  ------------------
  |  |   27|  9.42k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5327|  9.42k|        shift = wordshift == 0 ? remshift : PyLong_SHIFT;
  ------------------
  |  |   47|  9.42k|#define PyLong_SHIFT    30
  ------------------
  |  Branch (5327:17): [True: 9.42k, False: 0]
  ------------------
 5328|  9.42k|        x = m < 0 ? ~(~m >> shift) : m >> shift;
  ------------------
  |  Branch (5328:13): [True: 0, False: 9.42k]
  ------------------
 5329|  9.42k|        return (PyObject*)_PyLong_FromSTwoDigits(x);
 5330|  9.42k|    }
 5331|       |
 5332|      0|    a_negative = _PyLong_IsNegative(a);
 5333|      0|    size_a = _PyLong_DigitCount(a);
 5334|       |
 5335|      0|    if (a_negative) {
  ------------------
  |  Branch (5335:9): [True: 0, False: 0]
  ------------------
 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|      0|    assert(wordshift >= 0);
  ------------------
  |  Branch (5349:5): [True: 0, False: 0]
  ------------------
 5350|      0|    newsize = size_a - wordshift;
 5351|      0|    if (newsize <= 0) {
  ------------------
  |  Branch (5351:9): [True: 0, False: 0]
  ------------------
 5352|       |        /* Shifting all the bits of 'a' out gives either -1 or 0. */
 5353|      0|        return PyLong_FromLong(-a_negative);
 5354|      0|    }
 5355|      0|    z = long_alloc(newsize);
 5356|      0|    if (z == NULL) {
  ------------------
  |  Branch (5356:9): [True: 0, False: 0]
  ------------------
 5357|      0|        return NULL;
 5358|      0|    }
 5359|      0|    hishift = PyLong_SHIFT - remshift;
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
 5360|       |
 5361|      0|    accum = a->long_value.ob_digit[wordshift];
 5362|      0|    if (a_negative) {
  ------------------
  |  Branch (5362:9): [True: 0, False: 0]
  ------------------
 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|      0|    accum >>= remshift;
 5384|      0|    for (Py_ssize_t i = 0, j = wordshift + 1; j < size_a; i++, j++) {
  ------------------
  |  Branch (5384:47): [True: 0, False: 0]
  ------------------
 5385|      0|        accum += (twodigits)a->long_value.ob_digit[j] << hishift;
 5386|      0|        z->long_value.ob_digit[i] = (digit)(accum & 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
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5387|      0|        accum >>= PyLong_SHIFT;
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
 5388|      0|    }
 5389|      0|    assert(accum <= PyLong_MASK);
  ------------------
  |  Branch (5389:5): [True: 0, False: 0]
  ------------------
 5390|      0|    z->long_value.ob_digit[newsize - 1] = (digit)accum;
 5391|       |
 5392|      0|    z = maybe_small_long(long_normalize(z));
 5393|      0|    return (PyObject *)z;
 5394|      0|}
longobject.c:long_long:
 5731|    108|{
 5732|    108|    if (PyLong_CheckExact(v)) {
  ------------------
  |  |   14|    108|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|    108|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    108|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    108|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 46, False: 62]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5733|     46|        return Py_NewRef(v);
  ------------------
  |  |  550|     46|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5734|     46|    }
 5735|     62|    else {
 5736|     62|        return _PyLong_Copy((PyLongObject *)v);
 5737|     62|    }
 5738|    108|}
longobject.c:long_lshift_int64:
 5523|    273|{
 5524|    273|    assert(shiftby >= 0);
  ------------------
  |  Branch (5524:5): [True: 273, False: 0]
  ------------------
 5525|       |
 5526|    273|    if (_PyLong_IsZero(a)) {
  ------------------
  |  Branch (5526:9): [True: 0, False: 273]
  ------------------
 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|    273|    Py_ssize_t wordshift = (Py_ssize_t)(shiftby / PyLong_SHIFT);
  ------------------
  |  |   47|    273|#define PyLong_SHIFT    30
  ------------------
 5537|    273|    digit remshift = (digit)(shiftby % PyLong_SHIFT);
  ------------------
  |  |   47|    273|#define PyLong_SHIFT    30
  ------------------
 5538|    273|    return long_lshift1(a, wordshift, remshift);
 5539|    273|}
longobject.c:long_lshift1:
 5454|    273|{
 5455|    273|    PyLongObject *z = NULL;
 5456|    273|    Py_ssize_t oldsize, newsize, i, j;
 5457|    273|    twodigits accum;
 5458|       |
 5459|    273|    if (wordshift == 0 && _PyLong_IsCompact(a)) {
  ------------------
  |  Branch (5459:9): [True: 0, False: 273]
  |  Branch (5459:27): [True: 0, False: 0]
  ------------------
 5460|      0|        stwodigits m = medium_value(a);
  ------------------
  |  |   27|      0|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5461|       |        // bypass undefined shift operator behavior
 5462|      0|        stwodigits x = m < 0 ? -(-m << remshift) : m << remshift;
  ------------------
  |  Branch (5462:24): [True: 0, False: 0]
  ------------------
 5463|      0|        return (PyObject*)_PyLong_FromSTwoDigits(x);
 5464|      0|    }
 5465|       |
 5466|    273|    oldsize = _PyLong_DigitCount(a);
 5467|    273|    newsize = oldsize + wordshift;
 5468|    273|    if (remshift)
  ------------------
  |  Branch (5468:9): [True: 189, False: 84]
  ------------------
 5469|    189|        ++newsize;
 5470|    273|    z = long_alloc(newsize);
 5471|    273|    if (z == NULL)
  ------------------
  |  Branch (5471:9): [True: 0, False: 273]
  ------------------
 5472|      0|        return NULL;
 5473|    273|    if (_PyLong_IsNegative(a)) {
  ------------------
  |  Branch (5473:9): [True: 0, False: 273]
  ------------------
 5474|      0|        assert(Py_REFCNT(z) == 1);
  ------------------
  |  Branch (5474:9): [True: 0, False: 0]
  ------------------
 5475|      0|        _PyLong_FlipSign(z);
 5476|      0|    }
 5477|  20.0k|    for (i = 0; i < wordshift; i++)
  ------------------
  |  Branch (5477:17): [True: 19.7k, False: 273]
  ------------------
 5478|  19.7k|        z->long_value.ob_digit[i] = 0;
 5479|    273|    accum = 0;
 5480|  97.9k|    for (j = 0; j < oldsize; i++, j++) {
  ------------------
  |  Branch (5480:17): [True: 97.7k, False: 273]
  ------------------
 5481|  97.7k|        accum |= (twodigits)a->long_value.ob_digit[j] << remshift;
 5482|  97.7k|        z->long_value.ob_digit[i] = (digit)(accum & PyLong_MASK);
  ------------------
  |  |   62|  97.7k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  97.7k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  97.7k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5483|  97.7k|        accum >>= PyLong_SHIFT;
  ------------------
  |  |   47|  97.7k|#define PyLong_SHIFT    30
  ------------------
 5484|  97.7k|    }
 5485|    273|    if (remshift)
  ------------------
  |  Branch (5485:9): [True: 189, False: 84]
  ------------------
 5486|    189|        z->long_value.ob_digit[newsize-1] = (digit)accum;
 5487|     84|    else
 5488|    273|        assert(!accum);
  ------------------
  |  Branch (5488:9): [True: 84, False: 0]
  ------------------
 5489|    273|    z = long_normalize(z);
 5490|    273|    return (PyObject *) maybe_small_long(z);
 5491|    273|}
longobject.c:long_abs:
 5287|      3|{
 5288|      3|    if (_PyLong_IsNegative(v))
  ------------------
  |  Branch (5288:9): [True: 1, False: 2]
  ------------------
 5289|      1|        return long_neg(v);
 5290|      2|    else
 5291|      2|        return (PyLongObject*)long_long((PyObject *)v);
 5292|      3|}
longobject.c:long_compare:
 3603|  33.3M|{
 3604|  33.3M|    if (_PyLong_BothAreCompact(a, b)) {
  ------------------
  |  Branch (3604:9): [True: 21.1M, False: 12.1M]
  ------------------
 3605|  21.1M|        return _PyLong_CompactValue(a) - _PyLong_CompactValue(b);
 3606|  21.1M|    }
 3607|  12.1M|    Py_ssize_t sign = _PyLong_SignedDigitCount(a) - _PyLong_SignedDigitCount(b);
 3608|  12.1M|    if (sign == 0) {
  ------------------
  |  Branch (3608:9): [True: 859k, False: 11.3M]
  ------------------
 3609|   859k|        Py_ssize_t i = _PyLong_DigitCount(a);
 3610|   859k|        sdigit diff = 0;
 3611|  3.16M|        while (--i >= 0) {
  ------------------
  |  Branch (3611:16): [True: 2.39M, False: 772k]
  ------------------
 3612|  2.39M|            diff = (sdigit) a->long_value.ob_digit[i] - (sdigit) b->long_value.ob_digit[i];
 3613|  2.39M|            if (diff) {
  ------------------
  |  Branch (3613:17): [True: 87.0k, False: 2.30M]
  ------------------
 3614|  87.0k|                break;
 3615|  87.0k|            }
 3616|  2.39M|        }
 3617|   859k|        sign = _PyLong_IsNegative(a) ? -diff : diff;
  ------------------
  |  Branch (3617:16): [True: 0, False: 859k]
  ------------------
 3618|   859k|    }
 3619|  12.1M|    return sign;
 3620|  33.3M|}
longobject.c:l_mod:
 4558|    119|{
 4559|    119|    PyLongObject *mod;
 4560|       |
 4561|    119|    assert(pmod);
  ------------------
  |  Branch (4561:5): [True: 119, False: 0]
  ------------------
 4562|    119|    if (_PyLong_DigitCount(v) == 1 && _PyLong_DigitCount(w) == 1) {
  ------------------
  |  Branch (4562:9): [True: 39, False: 80]
  |  Branch (4562:39): [True: 0, False: 39]
  ------------------
 4563|       |        /* Fast path for single-digit longs */
 4564|      0|        *pmod = (PyLongObject *)fast_mod(v, w);
 4565|      0|        return -(*pmod == NULL);
 4566|      0|    }
 4567|    119|    if (long_rem(v, w, &mod) < 0)
  ------------------
  |  Branch (4567:9): [True: 0, False: 119]
  ------------------
 4568|      0|        return -1;
 4569|    119|    if ((_PyLong_IsNegative(mod) && _PyLong_IsPositive(w)) ||
  ------------------
  |  Branch (4569:10): [True: 0, False: 119]
  |  Branch (4569:37): [True: 0, False: 0]
  ------------------
 4570|    119|        (_PyLong_IsPositive(mod) && _PyLong_IsNegative(w))) {
  ------------------
  |  Branch (4570:10): [True: 119, False: 0]
  |  Branch (4570:37): [True: 0, False: 119]
  ------------------
 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|    119|    *pmod = mod;
 4578|       |
 4579|    119|    return 0;
 4580|    119|}
longobject.c:long_rem:
 3279|    119|{
 3280|    119|    Py_ssize_t size_a = _PyLong_DigitCount(a), size_b = _PyLong_DigitCount(b);
 3281|       |
 3282|    119|    if (size_b == 0) {
  ------------------
  |  Branch (3282:9): [True: 0, False: 119]
  ------------------
 3283|      0|        PyErr_SetString(PyExc_ZeroDivisionError,
 3284|      0|                        "division by zero");
 3285|      0|        return -1;
 3286|      0|    }
 3287|    119|    if (size_a < size_b ||
  ------------------
  |  Branch (3287:9): [True: 44, False: 75]
  ------------------
 3288|     75|        (size_a == size_b &&
  ------------------
  |  Branch (3288:10): [True: 8, False: 67]
  ------------------
 3289|     44|         a->long_value.ob_digit[size_a-1] < b->long_value.ob_digit[size_b-1])) {
  ------------------
  |  Branch (3289:10): [True: 0, False: 8]
  ------------------
 3290|       |        /* |a| < |b|. */
 3291|     44|        *prem = (PyLongObject *)long_long((PyObject *)a);
 3292|     44|        return -(*prem == NULL);
 3293|     44|    }
 3294|     75|    if (size_b == 1) {
  ------------------
  |  Branch (3294:9): [True: 0, False: 75]
  ------------------
 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|     75|    else {
 3300|       |        /* Slow path using divrem. */
 3301|     75|        Py_XDECREF(x_divrem(a, b, prem));
  ------------------
  |  |  524|     75|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     75|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     75|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3302|     75|        *prem = maybe_small_long(*prem);
 3303|     75|        if (*prem == NULL)
  ------------------
  |  Branch (3303:13): [True: 0, False: 75]
  ------------------
 3304|      0|            return -1;
 3305|     75|    }
 3306|       |    /* Set the sign. */
 3307|     75|    if (_PyLong_IsNegative(a) && !_PyLong_IsZero(*prem)) {
  ------------------
  |  Branch (3307:9): [True: 0, False: 75]
  |  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|     75|    return 0;
 3315|     75|}
longobject.c:x_divrem:
 3322|     75|{
 3323|     75|    PyLongObject *v, *w, *a;
 3324|     75|    Py_ssize_t i, k, size_v, size_w;
 3325|     75|    int d;
 3326|     75|    digit wm1, wm2, carry, q, r, vtop, *v0, *vk, *w0, *ak;
 3327|     75|    twodigits vv;
 3328|     75|    sdigit zhi;
 3329|     75|    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|     75|    size_v = _PyLong_DigitCount(v1);
 3339|     75|    size_w = _PyLong_DigitCount(w1);
 3340|     75|    assert(size_v >= size_w && size_w >= 2); /* Assert checks by div() */
  ------------------
  |  Branch (3340:5): [True: 75, False: 0]
  |  Branch (3340:5): [True: 75, False: 0]
  ------------------
 3341|     75|    v = long_alloc(size_v+1);
 3342|     75|    if (v == NULL) {
  ------------------
  |  Branch (3342:9): [True: 0, False: 75]
  ------------------
 3343|      0|        *prem = NULL;
 3344|      0|        return NULL;
 3345|      0|    }
 3346|     75|    w = long_alloc(size_w);
 3347|     75|    if (w == NULL) {
  ------------------
  |  Branch (3347:9): [True: 0, False: 75]
  ------------------
 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|     75|    d = PyLong_SHIFT - bit_length_digit(w1->long_value.ob_digit[size_w-1]);
  ------------------
  |  |   47|     75|#define PyLong_SHIFT    30
  ------------------
 3356|     75|    carry = v_lshift(w->long_value.ob_digit, w1->long_value.ob_digit, size_w, d);
 3357|     75|    assert(carry == 0);
  ------------------
  |  Branch (3357:5): [True: 75, False: 0]
  ------------------
 3358|     75|    carry = v_lshift(v->long_value.ob_digit, v1->long_value.ob_digit, size_v, d);
 3359|     75|    if (carry != 0 || v->long_value.ob_digit[size_v-1] >= w->long_value.ob_digit[size_w-1]) {
  ------------------
  |  Branch (3359:9): [True: 67, False: 8]
  |  Branch (3359:23): [True: 0, False: 8]
  ------------------
 3360|     67|        v->long_value.ob_digit[size_v] = carry;
 3361|     67|        size_v++;
 3362|     67|    }
 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|     75|    k = size_v - size_w;
 3367|     75|    assert(k >= 0);
  ------------------
  |  Branch (3367:5): [True: 75, False: 0]
  ------------------
 3368|     75|    a = long_alloc(k);
 3369|     75|    if (a == NULL) {
  ------------------
  |  Branch (3369:9): [True: 0, False: 75]
  ------------------
 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|     75|    a->long_value.ob_digit[0] = 0;
 3376|     75|    v0 = v->long_value.ob_digit;
 3377|     75|    w0 = w->long_value.ob_digit;
 3378|     75|    wm1 = w0[size_w-1];
 3379|     75|    wm2 = w0[size_w-2];
 3380|    231|    for (vk = v0+k, ak = a->long_value.ob_digit + k; vk-- > v0;) {
  ------------------
  |  Branch (3380:54): [True: 156, False: 75]
  ------------------
 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|    156|        SIGCHECK({
  ------------------
  |  |  117|    156|    do {                                        \
  |  |  118|    156|        if (PyErr_CheckSignals()) PyTryBlock    \
  |  |  ------------------
  |  |  |  Branch (118:13): [True: 0, False: 156]
  |  |  ------------------
  |  |  119|    156|    } while(0)
  |  |  ------------------
  |  |  |  Branch (119:13): [Folded, False: 156]
  |  |  ------------------
  ------------------
 3385|    156|                Py_DECREF(a);
 3386|    156|                Py_DECREF(w);
 3387|    156|                Py_DECREF(v);
 3388|    156|                *prem = NULL;
 3389|    156|                return NULL;
 3390|    156|            });
 3391|       |
 3392|       |        /* estimate quotient digit q; may overestimate by 1 (rare) */
 3393|    156|        vtop = vk[size_w];
 3394|    156|        assert(vtop <= wm1);
  ------------------
  |  Branch (3394:9): [True: 156, False: 0]
  ------------------
 3395|    156|        vv = ((twodigits)vtop << PyLong_SHIFT) | vk[size_w-1];
  ------------------
  |  |   47|    156|#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|    156|        q = (digit)(vv / wm1);
 3404|    156|        r = (digit)(vv % wm1);
 3405|    156|        while ((twodigits)wm2 * q > (((twodigits)r << PyLong_SHIFT)
  ------------------
  |  |   47|    156|#define PyLong_SHIFT    30
  ------------------
  |  Branch (3405:16): [True: 50, False: 106]
  ------------------
 3406|    156|                                     | vk[size_w-2])) {
 3407|     50|            --q;
 3408|     50|            r += wm1;
 3409|     50|            if (r >= PyLong_BASE)
  ------------------
  |  |   61|     50|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|     50|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (3409:17): [True: 50, False: 0]
  ------------------
 3410|     50|                break;
 3411|     50|        }
 3412|    156|        assert(q <= PyLong_BASE);
  ------------------
  |  Branch (3412:9): [True: 156, False: 0]
  ------------------
 3413|       |
 3414|       |        /* subtract q*w0[0:size_w] from vk[0:size_w+1] */
 3415|    156|        zhi = 0;
 3416|    624|        for (i = 0; i < size_w; ++i) {
  ------------------
  |  Branch (3416:21): [True: 468, False: 156]
  ------------------
 3417|       |            /* invariants: -PyLong_BASE <= -q <= zhi <= 0;
 3418|       |               -PyLong_BASE * q <= z < PyLong_BASE */
 3419|    468|            z = (sdigit)vk[i] + zhi -
 3420|    468|                (stwodigits)q * (stwodigits)w0[i];
 3421|    468|            vk[i] = (digit)z & PyLong_MASK;
  ------------------
  |  |   62|    468|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|    468|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|    468|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3422|    468|            zhi = (sdigit)Py_ARITHMETIC_RIGHT_SHIFT(stwodigits,
  ------------------
  |  |  226|    468|#define Py_ARITHMETIC_RIGHT_SHIFT(TYPE, I, J) ((I) >> (J))
  ------------------
 3423|    468|                                                    z, PyLong_SHIFT);
 3424|    468|        }
 3425|       |
 3426|       |        /* add w back if q was too large (this branch taken rarely) */
 3427|    156|        assert((sdigit)vtop + zhi == -1 || (sdigit)vtop + zhi == 0);
  ------------------
  |  Branch (3427:9): [True: 0, False: 156]
  |  Branch (3427:9): [True: 156, False: 0]
  ------------------
 3428|    156|        if ((sdigit)vtop + zhi < 0) {
  ------------------
  |  Branch (3428:13): [True: 0, False: 156]
  ------------------
 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|    156|        assert(q < PyLong_BASE);
  ------------------
  |  Branch (3439:9): [True: 156, False: 0]
  ------------------
 3440|    156|        *--ak = q;
 3441|    156|    }
 3442|       |
 3443|       |    /* unshift remainder; we reuse w to store the result */
 3444|     75|    carry = v_rshift(w0, v0, size_w, d);
 3445|     75|    assert(carry==0);
  ------------------
  |  Branch (3445:5): [True: 75, False: 0]
  ------------------
 3446|     75|    Py_DECREF(v);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3447|       |
 3448|     75|    *prem = long_normalize(w);
 3449|     75|    return long_normalize(a);
 3450|     75|}
longobject.c:long_divrem:
 3216|      2|{
 3217|      2|    Py_ssize_t size_a = _PyLong_DigitCount(a), size_b = _PyLong_DigitCount(b);
 3218|      2|    PyLongObject *z;
 3219|       |
 3220|      2|    if (size_b == 0) {
  ------------------
  |  Branch (3220:9): [True: 0, False: 2]
  ------------------
 3221|      0|        PyErr_SetString(PyExc_ZeroDivisionError, "division by zero");
 3222|      0|        return -1;
 3223|      0|    }
 3224|      2|    if (size_a < size_b ||
  ------------------
  |  Branch (3224:9): [True: 0, False: 2]
  ------------------
 3225|      2|        (size_a == size_b &&
  ------------------
  |  Branch (3225:10): [True: 0, False: 2]
  ------------------
 3226|      0|         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|      0|        *prem = (PyLongObject *)long_long((PyObject *)a);
 3229|      0|        if (*prem == NULL) {
  ------------------
  |  Branch (3229:13): [True: 0, False: 0]
  ------------------
 3230|      0|            return -1;
 3231|      0|        }
 3232|      0|        *pdiv = (PyLongObject*)_PyLong_GetZero();
 3233|      0|        return 0;
 3234|      0|    }
 3235|      2|    if (size_b == 1) {
  ------------------
  |  Branch (3235:9): [True: 2, False: 0]
  ------------------
 3236|      2|        digit rem = 0;
 3237|      2|        z = divrem1(a, b->long_value.ob_digit[0], &rem);
 3238|      2|        if (z == NULL)
  ------------------
  |  Branch (3238:13): [True: 0, False: 2]
  ------------------
 3239|      0|            return -1;
 3240|      2|        *prem = (PyLongObject *) PyLong_FromLong((long)rem);
 3241|      2|        if (*prem == NULL) {
  ------------------
  |  Branch (3241:13): [True: 0, False: 2]
  ------------------
 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|      2|    }
 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|      2|    if ((_PyLong_IsNegative(a)) != (_PyLong_IsNegative(b))) {
  ------------------
  |  Branch (3256:9): [True: 0, False: 2]
  ------------------
 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|      2|    if (_PyLong_IsNegative(a) && !_PyLong_IsZero(*prem)) {
  ------------------
  |  Branch (3263:9): [True: 0, False: 2]
  |  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|      2|    *pdiv = maybe_small_long(z);
 3272|      2|    return 0;
 3273|      2|}
longobject.c:divrem1:
 1983|      2|{
 1984|      2|    const Py_ssize_t size = _PyLong_DigitCount(a);
 1985|      2|    PyLongObject *z;
 1986|       |
 1987|      2|    assert(n > 0 && n <= PyLong_MASK);
  ------------------
  |  Branch (1987:5): [True: 2, False: 0]
  |  Branch (1987:5): [True: 2, False: 0]
  ------------------
 1988|      2|    z = long_alloc(size);
 1989|      2|    if (z == NULL)
  ------------------
  |  Branch (1989:9): [True: 0, False: 2]
  ------------------
 1990|      0|        return NULL;
 1991|      2|    *prem = inplace_divrem1(z->long_value.ob_digit, a->long_value.ob_digit, size, n);
 1992|      2|    return long_normalize(z);
 1993|      2|}
longobject.c:inplace_divrem1:
 1961|      2|{
 1962|      2|    digit remainder = 0;
 1963|       |
 1964|      2|    assert(n > 0 && n <= PyLong_MASK);
  ------------------
  |  Branch (1964:5): [True: 2, False: 0]
  |  Branch (1964:5): [True: 2, False: 0]
  ------------------
 1965|     70|    while (--size >= 0) {
  ------------------
  |  Branch (1965:12): [True: 68, False: 2]
  ------------------
 1966|     68|        twodigits dividend;
 1967|     68|        dividend = ((twodigits)remainder << PyLong_SHIFT) | pin[size];
  ------------------
  |  |   47|     68|#define PyLong_SHIFT    30
  ------------------
 1968|     68|        digit quotient;
 1969|     68|        quotient = (digit)(dividend / n);
 1970|     68|        remainder = dividend % n;
 1971|     68|        pout[size] = quotient;
 1972|     68|    }
 1973|      2|    return remainder;
 1974|      2|}
longobject.c:long_neg:
 5267|  63.0k|{
 5268|  63.0k|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (5268:9): [True: 63.0k, False: 0]
  ------------------
 5269|  63.0k|        return _PyLong_FromSTwoDigits(-medium_value(v));
  ------------------
  |  |   27|  63.0k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5270|  63.0k|    }
 5271|       |
 5272|      0|    PyLongObject *z = (PyLongObject *)_PyLong_Copy(v);
 5273|      0|    if (z != NULL) {
  ------------------
  |  Branch (5273:9): [True: 0, False: 0]
  ------------------
 5274|      0|        _PyLong_FlipSign(z);
 5275|      0|    }
 5276|      0|    return z;
 5277|  63.0k|}
longobject.c:long_sub:
 3884|     61|{
 3885|     61|    if (_PyLong_BothAreCompact(a, b)) {
  ------------------
  |  Branch (3885:9): [True: 53, False: 8]
  ------------------
 3886|     53|        return _PyLong_FromSTwoDigits(medium_value(a) - medium_value(b));
  ------------------
  |  |   27|     53|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      return _PyLong_FromSTwoDigits(medium_value(a) - medium_value(b));
  ------------------
  |  |   27|     53|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 3887|     53|    }
 3888|       |
 3889|      8|    PyLongObject *z;
 3890|      8|    if (_PyLong_IsNegative(a)) {
  ------------------
  |  Branch (3890:9): [True: 1, False: 7]
  ------------------
 3891|      1|        if (_PyLong_IsNegative(b)) {
  ------------------
  |  Branch (3891:13): [True: 0, False: 1]
  ------------------
 3892|      0|            z = x_sub(b, a);
 3893|      0|        }
 3894|      1|        else {
 3895|      1|            z = x_add(a, b);
 3896|      1|            if (z != NULL) {
  ------------------
  |  Branch (3896:17): [True: 1, False: 0]
  ------------------
 3897|      1|                assert(_PyLong_IsZero(z) || Py_REFCNT(z) == 1);
  ------------------
  |  Branch (3897:17): [True: 0, False: 1]
  |  Branch (3897:17): [True: 1, False: 0]
  ------------------
 3898|      1|                _PyLong_FlipSign(z);
 3899|      1|            }
 3900|      1|        }
 3901|      1|    }
 3902|      7|    else {
 3903|      7|        if (_PyLong_IsNegative(b))
  ------------------
  |  Branch (3903:13): [True: 0, False: 7]
  ------------------
 3904|      0|            z = x_add(a, b);
 3905|      7|        else
 3906|      7|            z = x_sub(a, b);
 3907|      7|    }
 3908|      8|    return z;
 3909|      8|}
longobject.c:x_sub:
 3781|      7|{
 3782|      7|    Py_ssize_t size_a = _PyLong_DigitCount(a), size_b = _PyLong_DigitCount(b);
 3783|      7|    PyLongObject *z;
 3784|      7|    Py_ssize_t i;
 3785|      7|    int sign = 1;
 3786|      7|    digit borrow = 0;
 3787|       |
 3788|       |    /* Ensure a is the larger of the two: */
 3789|      7|    if (size_a < size_b) {
  ------------------
  |  Branch (3789:9): [True: 0, False: 7]
  ------------------
 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|      7|    else if (size_a == size_b) {
  ------------------
  |  Branch (3796:14): [True: 0, False: 7]
  ------------------
 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|      7|    z = long_alloc(size_a);
 3810|      7|    if (z == NULL)
  ------------------
  |  Branch (3810:9): [True: 0, False: 7]
  ------------------
 3811|      0|        return NULL;
 3812|     12|    for (i = 0; i < size_b; ++i) {
  ------------------
  |  Branch (3812:17): [True: 5, False: 7]
  ------------------
 3813|       |        /* The following assumes unsigned arithmetic
 3814|       |           works module 2**N for some N>PyLong_SHIFT. */
 3815|      5|        borrow = a->long_value.ob_digit[i] - b->long_value.ob_digit[i] - borrow;
 3816|      5|        z->long_value.ob_digit[i] = borrow & PyLong_MASK;
  ------------------
  |  |   62|      5|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|      5|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      5|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3817|      5|        borrow >>= PyLong_SHIFT;
  ------------------
  |  |   47|      5|#define PyLong_SHIFT    30
  ------------------
 3818|      5|        borrow &= 1; /* Keep only one sign bit */
 3819|      5|    }
 3820|    145|    for (; i < size_a; ++i) {
  ------------------
  |  Branch (3820:12): [True: 138, False: 7]
  ------------------
 3821|    138|        borrow = a->long_value.ob_digit[i] - borrow;
 3822|    138|        z->long_value.ob_digit[i] = borrow & PyLong_MASK;
  ------------------
  |  |   62|    138|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|    138|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|    138|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3823|    138|        borrow >>= PyLong_SHIFT;
  ------------------
  |  |   47|    138|#define PyLong_SHIFT    30
  ------------------
 3824|    138|        borrow &= 1; /* Keep only one sign bit */
 3825|    138|    }
 3826|      7|    assert(borrow == 0);
  ------------------
  |  Branch (3826:5): [True: 7, False: 0]
  ------------------
 3827|      7|    if (sign < 0) {
  ------------------
  |  Branch (3827:9): [True: 0, False: 7]
  ------------------
 3828|      0|        _PyLong_FlipSign(z);
 3829|      0|    }
 3830|      7|    return maybe_small_long(long_normalize(z));
 3831|      7|}
longobject.c:x_add:
 3747|  2.38M|{
 3748|  2.38M|    Py_ssize_t size_a = _PyLong_DigitCount(a), size_b = _PyLong_DigitCount(b);
 3749|  2.38M|    PyLongObject *z;
 3750|  2.38M|    Py_ssize_t i;
 3751|  2.38M|    digit carry = 0;
 3752|       |
 3753|       |    /* Ensure a is the larger of the two: */
 3754|  2.38M|    if (size_a < size_b) {
  ------------------
  |  Branch (3754:9): [True: 758k, False: 1.62M]
  ------------------
 3755|   758k|        { PyLongObject *temp = a; a = b; b = temp; }
 3756|   758k|        { Py_ssize_t size_temp = size_a;
 3757|   758k|            size_a = size_b;
 3758|   758k|            size_b = size_temp; }
 3759|   758k|    }
 3760|  2.38M|    z = long_alloc(size_a+1);
 3761|  2.38M|    if (z == NULL)
  ------------------
  |  Branch (3761:9): [True: 0, False: 2.38M]
  ------------------
 3762|      0|        return NULL;
 3763|  4.08M|    for (i = 0; i < size_b; ++i) {
  ------------------
  |  Branch (3763:17): [True: 1.70M, False: 2.38M]
  ------------------
 3764|  1.70M|        carry += a->long_value.ob_digit[i] + b->long_value.ob_digit[i];
 3765|  1.70M|        z->long_value.ob_digit[i] = carry & PyLong_MASK;
  ------------------
  |  |   62|  1.70M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  1.70M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  1.70M|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3766|  1.70M|        carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|  1.70M|#define PyLong_SHIFT    30
  ------------------
 3767|  1.70M|    }
 3768|  7.96M|    for (; i < size_a; ++i) {
  ------------------
  |  Branch (3768:12): [True: 5.58M, False: 2.38M]
  ------------------
 3769|  5.58M|        carry += a->long_value.ob_digit[i];
 3770|  5.58M|        z->long_value.ob_digit[i] = carry & PyLong_MASK;
  ------------------
  |  |   62|  5.58M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  5.58M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  5.58M|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3771|  5.58M|        carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|  5.58M|#define PyLong_SHIFT    30
  ------------------
 3772|  5.58M|    }
 3773|  2.38M|    z->long_value.ob_digit[i] = carry;
 3774|  2.38M|    return long_normalize(z);
 3775|  2.38M|}
longobject.c:long_add:
 3835|  12.4M|{
 3836|  12.4M|    if (_PyLong_BothAreCompact(a, b)) {
  ------------------
  |  Branch (3836:9): [True: 10.1M, False: 2.38M]
  ------------------
 3837|  10.1M|        stwodigits z = medium_value(a) + medium_value(b);
  ------------------
  |  |   27|  10.1M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      stwodigits z = medium_value(a) + medium_value(b);
  ------------------
  |  |   27|  10.1M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 3838|  10.1M|        return _PyLong_FromSTwoDigits(z);
 3839|  10.1M|    }
 3840|       |
 3841|  2.38M|    PyLongObject *z;
 3842|  2.38M|    if (_PyLong_IsNegative(a)) {
  ------------------
  |  Branch (3842:9): [True: 0, False: 2.38M]
  ------------------
 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);
  ------------------
  |  Branch (3850:17): [True: 0, False: 0]
  ------------------
 3851|      0|                _PyLong_FlipSign(z);
 3852|      0|            }
 3853|      0|        }
 3854|      0|        else
 3855|      0|            z = x_sub(b, a);
 3856|      0|    }
 3857|  2.38M|    else {
 3858|  2.38M|        if (_PyLong_IsNegative(b))
  ------------------
  |  Branch (3858:13): [True: 0, False: 2.38M]
  ------------------
 3859|      0|            z = x_sub(a, b);
 3860|  2.38M|        else
 3861|  2.38M|            z = x_add(a, b);
 3862|  2.38M|    }
 3863|  2.38M|    return z;
 3864|  2.38M|}
longobject.c:long_dealloc:
 3652|  45.3M|{
 3653|  45.3M|    if (_PyLong_IsSmallInt((PyLongObject *)self)) {
  ------------------
  |  Branch (3653:9): [True: 0, False: 45.3M]
  ------------------
 3654|       |        /* This should never get called, but we also don't want to SEGV if
 3655|       |         * we accidentally decref small Ints out of existence. Instead,
 3656|       |         * since small Ints are immortal, re-set the reference count.
 3657|       |         *
 3658|       |         * See PEP 683, section Accidental De-Immortalizing for details
 3659|       |         */
 3660|      0|        _Py_SetImmortal(self);
 3661|      0|        return;
 3662|      0|    }
 3663|  45.3M|    if (PyLong_CheckExact(self) && _PyLong_IsCompact((PyLongObject *)self)) {
  ------------------
  |  |   14|  45.3M|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  90.7M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  45.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  45.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 45.3M, False: 7]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3663:36): [True: 42.5M, False: 2.79M]
  ------------------
 3664|  42.5M|        _Py_FREELIST_FREE(ints, self, PyObject_Free);
  ------------------
  |  |   35|  42.5M|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  42.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  42.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  42.5M|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   20|  42.5M|#  define Py_ints_MAXFREELIST 100
  |  |  ------------------
  ------------------
 3665|  42.5M|        return;
 3666|  42.5M|    }
 3667|  2.79M|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|  2.79M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.79M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.79M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3668|  2.79M|}
longobject.c:long_to_decimal_string:
 2321|   355k|{
 2322|   355k|    PyObject *v;
 2323|   355k|    if (long_to_decimal_string_internal(aa, &v, NULL, NULL, NULL) == -1)
  ------------------
  |  Branch (2323:9): [True: 0, False: 355k]
  ------------------
 2324|      0|        return NULL;
 2325|   355k|    return v;
 2326|   355k|}
longobject.c:long_add_method:
 3876|  12.4M|{
 3877|  12.4M|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|  12.4M|    do {                                                \
  |  | 1845|  12.4M|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  12.4M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  24.9M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  12.4M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  12.4M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 12.4M]
  |  |  |  Branch (1845:33): [True: 0, False: 12.4M]
  |  |  ------------------
  |  | 1846|  12.4M|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  12.4M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 12.4M]
  |  |  ------------------
  ------------------
 3878|  12.4M|    return (PyObject*)long_add((PyLongObject*)a, (PyLongObject*)b);
 3879|  12.4M|}
longobject.c:long_sub_method:
 3921|     61|{
 3922|     61|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|     61|    do {                                                \
  |  | 1845|     61|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|     61|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    122|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|     61|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     61|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 61]
  |  |  |  Branch (1845:33): [True: 0, False: 61]
  |  |  ------------------
  |  | 1846|     61|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|     61|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 61]
  |  |  ------------------
  ------------------
 3923|     61|    return (PyObject*)long_sub((PyLongObject*)a, (PyLongObject*)b);
 3924|     61|}
longobject.c:long_mul_method:
 4368|  3.25M|{
 4369|  3.25M|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|  3.25M|    do {                                                \
  |  | 1845|  3.25M|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  3.25M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  6.51M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  3.25M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  3.25M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 2.89k, False: 3.25M]
  |  |  |  Branch (1845:33): [True: 0, False: 3.25M]
  |  |  ------------------
  |  | 1846|  3.25M|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|  2.89k|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|  2.89k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  3.25M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 3.25M]
  |  |  ------------------
  ------------------
 4370|  3.25M|    return (PyObject*)long_mul((PyLongObject*)a, (PyLongObject*)b);
 4371|  3.25M|}
longobject.c:long_mul:
 4341|  3.26M|{
 4342|       |    /* fast path for single-digit multiplication */
 4343|  3.26M|    if (_PyLong_BothAreCompact(a, b)) {
  ------------------
  |  Branch (4343:9): [True: 3.01M, False: 255k]
  ------------------
 4344|  3.01M|        stwodigits v = medium_value(a) * medium_value(b);
  ------------------
  |  |   27|  3.01M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      stwodigits v = medium_value(a) * medium_value(b);
  ------------------
  |  |   27|  3.01M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 4345|  3.01M|        return _PyLong_FromSTwoDigits(v);
 4346|  3.01M|    }
 4347|       |
 4348|   255k|    PyLongObject *z = k_mul(a, b);
 4349|       |    /* Negate if exactly one of the inputs is negative. */
 4350|   255k|    if (!_PyLong_SameSign(a, b) && z) {
  ------------------
  |  Branch (4350:9): [True: 186k, False: 69.5k]
  |  Branch (4350:36): [True: 186k, False: 0]
  ------------------
 4351|   186k|        _PyLong_Negate(&z);
 4352|   186k|    }
 4353|   255k|    return z;
 4354|  3.26M|}
longobject.c:k_mul:
 4071|   259k|{
 4072|   259k|    Py_ssize_t asize = _PyLong_DigitCount(a);
 4073|   259k|    Py_ssize_t bsize = _PyLong_DigitCount(b);
 4074|   259k|    PyLongObject *ah = NULL;
 4075|   259k|    PyLongObject *al = NULL;
 4076|   259k|    PyLongObject *bh = NULL;
 4077|   259k|    PyLongObject *bl = NULL;
 4078|   259k|    PyLongObject *ret = NULL;
 4079|   259k|    PyLongObject *t1, *t2, *t3;
 4080|   259k|    Py_ssize_t shift;           /* the number of digits we split off */
 4081|   259k|    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|   259k|    if (asize > bsize) {
  ------------------
  |  Branch (4094:9): [True: 19.8k, False: 239k]
  ------------------
 4095|  19.8k|        t1 = a;
 4096|  19.8k|        a = b;
 4097|  19.8k|        b = t1;
 4098|       |
 4099|  19.8k|        i = asize;
 4100|  19.8k|        asize = bsize;
 4101|  19.8k|        bsize = i;
 4102|  19.8k|    }
 4103|       |
 4104|       |    /* Use gradeschool math when either number is too small. */
 4105|   259k|    i = a == b ? KARATSUBA_SQUARE_CUTOFF : KARATSUBA_CUTOFF;
  ------------------
  |  |   85|  6.64k|#define KARATSUBA_SQUARE_CUTOFF (2 * KARATSUBA_CUTOFF)
  |  |  ------------------
  |  |  |  |   84|  6.64k|#define KARATSUBA_CUTOFF 70
  |  |  ------------------
  ------------------
                  i = a == b ? KARATSUBA_SQUARE_CUTOFF : KARATSUBA_CUTOFF;
  ------------------
  |  |   84|   512k|#define KARATSUBA_CUTOFF 70
  ------------------
  |  Branch (4105:9): [True: 6.64k, False: 253k]
  ------------------
 4106|   259k|    if (asize <= i) {
  ------------------
  |  Branch (4106:9): [True: 258k, False: 1.35k]
  ------------------
 4107|   258k|        if (asize == 0)
  ------------------
  |  Branch (4107:13): [True: 186k, False: 72.1k]
  ------------------
 4108|   186k|            return (PyLongObject *)PyLong_FromLong(0);
 4109|  72.1k|        else
 4110|  72.1k|            return x_mul(a, b);
 4111|   258k|    }
 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|  1.35k|    if (2 * asize <= bsize)
  ------------------
  |  Branch (4119:9): [True: 45, False: 1.31k]
  ------------------
 4120|     45|        return k_lopsided_mul(a, b);
 4121|       |
 4122|       |    /* Split a & b into hi & lo pieces. */
 4123|  1.31k|    shift = bsize >> 1;
 4124|  1.31k|    if (kmul_split(a, shift, &ah, &al) < 0) goto fail;
  ------------------
  |  Branch (4124:9): [True: 0, False: 1.31k]
  ------------------
 4125|  1.31k|    assert(_PyLong_IsPositive(ah));        /* the split isn't degenerate */
  ------------------
  |  Branch (4125:5): [True: 1.31k, False: 0]
  ------------------
 4126|       |
 4127|  1.31k|    if (a == b) {
  ------------------
  |  Branch (4127:9): [True: 100, False: 1.21k]
  ------------------
 4128|    100|        bh = (PyLongObject*)Py_NewRef(ah);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4129|    100|        bl = (PyLongObject*)Py_NewRef(al);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4130|    100|    }
 4131|  1.21k|    else if (kmul_split(b, shift, &bh, &bl) < 0) goto fail;
  ------------------
  |  Branch (4131:14): [True: 0, False: 1.21k]
  ------------------
 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|  1.31k|    ret = long_alloc(asize + bsize);
 4151|  1.31k|    if (ret == NULL) goto fail;
  ------------------
  |  Branch (4151:9): [True: 0, False: 1.31k]
  ------------------
 4152|       |
 4153|       |    /* 2. t1 <- ah*bh, and copy into high digits of result. */
 4154|  1.31k|    if ((t1 = k_mul(ah, bh)) == NULL) goto fail;
  ------------------
  |  Branch (4154:9): [True: 0, False: 1.31k]
  ------------------
 4155|  1.31k|    assert(!_PyLong_IsNegative(t1));
  ------------------
  |  Branch (4155:5): [True: 1.31k, False: 0]
  ------------------
 4156|  1.31k|    assert(2*shift + _PyLong_DigitCount(t1) <= _PyLong_DigitCount(ret));
  ------------------
  |  Branch (4156:5): [True: 1.31k, False: 0]
  ------------------
 4157|  1.31k|    memcpy(ret->long_value.ob_digit + 2*shift, t1->long_value.ob_digit,
 4158|  1.31k|           _PyLong_DigitCount(t1) * sizeof(digit));
 4159|       |
 4160|       |    /* Zero-out the digits higher than the ah*bh copy. */
 4161|  1.31k|    i = _PyLong_DigitCount(ret) - 2*shift - _PyLong_DigitCount(t1);
 4162|  1.31k|    if (i)
  ------------------
  |  Branch (4162:9): [True: 317, False: 994]
  ------------------
 4163|    317|        memset(ret->long_value.ob_digit + 2*shift + _PyLong_DigitCount(t1), 0,
 4164|    317|               i * sizeof(digit));
 4165|       |
 4166|       |    /* 3. t2 <- al*bl, and copy into the low digits. */
 4167|  1.31k|    if ((t2 = k_mul(al, bl)) == NULL) {
  ------------------
  |  Branch (4167:9): [True: 0, False: 1.31k]
  ------------------
 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|  1.31k|    assert(!_PyLong_IsNegative(t2));
  ------------------
  |  Branch (4171:5): [True: 1.31k, False: 0]
  ------------------
 4172|  1.31k|    assert(_PyLong_DigitCount(t2) <= 2*shift); /* no overlap with high digits */
  ------------------
  |  Branch (4172:5): [True: 1.31k, False: 0]
  ------------------
 4173|  1.31k|    memcpy(ret->long_value.ob_digit, t2->long_value.ob_digit, _PyLong_DigitCount(t2) * sizeof(digit));
 4174|       |
 4175|       |    /* Zero out remaining digits. */
 4176|  1.31k|    i = 2*shift - _PyLong_DigitCount(t2);          /* number of uninitialized digits */
 4177|  1.31k|    if (i)
  ------------------
  |  Branch (4177:9): [True: 116, False: 1.19k]
  ------------------
 4178|    116|        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|  1.31k|    i = _PyLong_DigitCount(ret) - shift;  /* # digits after shift */
 4184|  1.31k|    (void)v_isub(ret->long_value.ob_digit + shift, i, t2->long_value.ob_digit, _PyLong_DigitCount(t2));
 4185|  1.31k|    _Py_DECREF_INT(t2);
 4186|       |
 4187|  1.31k|    (void)v_isub(ret->long_value.ob_digit + shift, i, t1->long_value.ob_digit, _PyLong_DigitCount(t1));
 4188|  1.31k|    _Py_DECREF_INT(t1);
 4189|       |
 4190|       |    /* 6. t3 <- (ah+al)(bh+bl), and add into result. */
 4191|  1.31k|    if ((t1 = x_add(ah, al)) == NULL) goto fail;
  ------------------
  |  Branch (4191:9): [True: 0, False: 1.31k]
  ------------------
 4192|  1.31k|    _Py_DECREF_INT(ah);
 4193|  1.31k|    _Py_DECREF_INT(al);
 4194|  1.31k|    ah = al = NULL;
 4195|       |
 4196|  1.31k|    if (a == b) {
  ------------------
  |  Branch (4196:9): [True: 100, False: 1.21k]
  ------------------
 4197|    100|        t2 = (PyLongObject*)Py_NewRef(t1);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4198|    100|    }
 4199|  1.21k|    else if ((t2 = x_add(bh, bl)) == NULL) {
  ------------------
  |  Branch (4199:14): [True: 0, False: 1.21k]
  ------------------
 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|  1.31k|    _Py_DECREF_INT(bh);
 4204|  1.31k|    _Py_DECREF_INT(bl);
 4205|  1.31k|    bh = bl = NULL;
 4206|       |
 4207|  1.31k|    t3 = k_mul(t1, t2);
 4208|  1.31k|    _Py_DECREF_INT(t1);
 4209|  1.31k|    _Py_DECREF_INT(t2);
 4210|  1.31k|    if (t3 == NULL) goto fail;
  ------------------
  |  Branch (4210:9): [True: 0, False: 1.31k]
  ------------------
 4211|  1.31k|    assert(!_PyLong_IsNegative(t3));
  ------------------
  |  Branch (4211:5): [True: 1.31k, False: 0]
  ------------------
 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|  1.31k|    (void)v_iadd(ret->long_value.ob_digit + shift, i, t3->long_value.ob_digit, _PyLong_DigitCount(t3));
 4217|  1.31k|    _Py_DECREF_INT(t3);
 4218|       |
 4219|  1.31k|    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|  1.31k|}
longobject.c:x_mul:
 3932|  72.1k|{
 3933|  72.1k|    PyLongObject *z;
 3934|  72.1k|    Py_ssize_t size_a = _PyLong_DigitCount(a);
 3935|  72.1k|    Py_ssize_t size_b = _PyLong_DigitCount(b);
 3936|  72.1k|    Py_ssize_t i;
 3937|       |
 3938|  72.1k|    z = long_alloc(size_a + size_b);
 3939|  72.1k|    if (z == NULL)
  ------------------
  |  Branch (3939:9): [True: 0, False: 72.1k]
  ------------------
 3940|      0|        return NULL;
 3941|       |
 3942|  72.1k|    memset(z->long_value.ob_digit, 0, _PyLong_DigitCount(z) * sizeof(digit));
 3943|  72.1k|    if (a == b) {
  ------------------
  |  Branch (3943:9): [True: 6.54k, False: 65.6k]
  ------------------
 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|  6.54k|        digit *paend = a->long_value.ob_digit + size_a;
 3951|   229k|        for (i = 0; i < size_a; ++i) {
  ------------------
  |  Branch (3951:21): [True: 223k, False: 6.54k]
  ------------------
 3952|   223k|            twodigits carry;
 3953|   223k|            twodigits f = a->long_value.ob_digit[i];
 3954|   223k|            digit *pz = z->long_value.ob_digit + (i << 1);
 3955|   223k|            digit *pa = a->long_value.ob_digit + i + 1;
 3956|       |
 3957|   223k|            SIGCHECK({
  ------------------
  |  |  117|   223k|    do {                                        \
  |  |  118|   223k|        if (PyErr_CheckSignals()) PyTryBlock    \
  |  |  ------------------
  |  |  |  Branch (118:13): [True: 0, False: 223k]
  |  |  ------------------
  |  |  119|   223k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (119:13): [Folded, False: 223k]
  |  |  ------------------
  ------------------
 3958|   223k|                    Py_DECREF(z);
 3959|   223k|                    return NULL;
 3960|   223k|                });
 3961|       |
 3962|   223k|            carry = *pz + f * f;
 3963|   223k|            *pz++ = (digit)(carry & PyLong_MASK);
  ------------------
  |  |   62|   223k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|   223k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|   223k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3964|   223k|            carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|   223k|#define PyLong_SHIFT    30
  ------------------
 3965|   223k|            assert(carry <= PyLong_MASK);
  ------------------
  |  Branch (3965:13): [True: 223k, False: 0]
  ------------------
 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|   223k|            f <<= 1;
 3971|  8.80M|            while (pa < paend) {
  ------------------
  |  Branch (3971:20): [True: 8.58M, False: 223k]
  ------------------
 3972|  8.58M|                carry += *pz + *pa++ * f;
 3973|  8.58M|                *pz++ = (digit)(carry & PyLong_MASK);
  ------------------
  |  |   62|  8.58M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  8.58M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  8.58M|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3974|  8.58M|                carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|  8.58M|#define PyLong_SHIFT    30
  ------------------
 3975|  8.58M|                assert(carry <= (PyLong_MASK << 1));
  ------------------
  |  Branch (3975:17): [True: 8.58M, False: 0]
  ------------------
 3976|  8.58M|            }
 3977|   223k|            if (carry) {
  ------------------
  |  Branch (3977:17): [True: 214k, False: 8.97k]
  ------------------
 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|   214k|                assert(*pz <= 1);
  ------------------
  |  Branch (3982:17): [True: 214k, False: 0]
  ------------------
 3983|   214k|                carry += *pz;
 3984|   214k|                *pz = (digit)(carry & PyLong_MASK);
  ------------------
  |  |   62|   214k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|   214k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|   214k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3985|   214k|                carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|   214k|#define PyLong_SHIFT    30
  ------------------
 3986|   214k|                if (carry) {
  ------------------
  |  Branch (3986:21): [True: 3.54k, False: 210k]
  ------------------
 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|  3.54k|                    assert(carry == 1);
  ------------------
  |  Branch (3994:21): [True: 3.54k, False: 0]
  ------------------
 3995|  3.54k|                    assert(pz[1] == 0);
  ------------------
  |  Branch (3995:21): [True: 3.54k, False: 0]
  ------------------
 3996|  3.54k|                    pz[1] = (digit)carry;
 3997|  3.54k|                }
 3998|   214k|            }
 3999|   223k|        }
 4000|  6.54k|    }
 4001|  65.6k|    else {      /* a is not the same as b -- gradeschool int mult */
 4002|   243k|        for (i = 0; i < size_a; ++i) {
  ------------------
  |  Branch (4002:21): [True: 178k, False: 65.6k]
  ------------------
 4003|   178k|            twodigits carry = 0;
 4004|   178k|            twodigits f = a->long_value.ob_digit[i];
 4005|   178k|            digit *pz = z->long_value.ob_digit + i;
 4006|   178k|            digit *pb = b->long_value.ob_digit;
 4007|   178k|            digit *pbend = b->long_value.ob_digit + size_b;
 4008|       |
 4009|   178k|            SIGCHECK({
  ------------------
  |  |  117|   178k|    do {                                        \
  |  |  118|   178k|        if (PyErr_CheckSignals()) PyTryBlock    \
  |  |  ------------------
  |  |  |  Branch (118:13): [True: 0, False: 178k]
  |  |  ------------------
  |  |  119|   178k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (119:13): [Folded, False: 178k]
  |  |  ------------------
  ------------------
 4010|   178k|                    Py_DECREF(z);
 4011|   178k|                    return NULL;
 4012|   178k|                });
 4013|       |
 4014|  6.27M|            while (pb < pbend) {
  ------------------
  |  Branch (4014:20): [True: 6.10M, False: 178k]
  ------------------
 4015|  6.10M|                carry += *pz + *pb++ * f;
 4016|  6.10M|                *pz++ = (digit)(carry & PyLong_MASK);
  ------------------
  |  |   62|  6.10M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  6.10M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  6.10M|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4017|  6.10M|                carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|  6.10M|#define PyLong_SHIFT    30
  ------------------
 4018|  6.10M|                assert(carry <= PyLong_MASK);
  ------------------
  |  Branch (4018:17): [True: 6.10M, False: 0]
  ------------------
 4019|  6.10M|            }
 4020|   178k|            if (carry)
  ------------------
  |  Branch (4020:17): [True: 105k, False: 72.6k]
  ------------------
 4021|   105k|                *pz += (digit)(carry & PyLong_MASK);
  ------------------
  |  |   62|   105k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|   105k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|   105k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4022|   178k|            assert((carry >> PyLong_SHIFT) == 0);
  ------------------
  |  Branch (4022:13): [True: 178k, False: 0]
  ------------------
 4023|   178k|        }
 4024|  65.6k|    }
 4025|  72.1k|    return long_normalize(z);
 4026|  72.1k|}
longobject.c:k_lopsided_mul:
 4285|     45|{
 4286|     45|    const Py_ssize_t asize = _PyLong_DigitCount(a);
 4287|     45|    Py_ssize_t bsize = _PyLong_DigitCount(b);
 4288|     45|    Py_ssize_t nbdone;          /* # of b digits already multiplied */
 4289|     45|    PyLongObject *ret;
 4290|     45|    PyLongObject *bslice = NULL;
 4291|       |
 4292|     45|    assert(asize > KARATSUBA_CUTOFF);
  ------------------
  |  Branch (4292:5): [True: 45, False: 0]
  ------------------
 4293|     45|    assert(2 * asize <= bsize);
  ------------------
  |  Branch (4293:5): [True: 45, False: 0]
  ------------------
 4294|       |
 4295|       |    /* Allocate result space, and zero it out. */
 4296|     45|    ret = long_alloc(asize + bsize);
 4297|     45|    if (ret == NULL)
  ------------------
  |  Branch (4297:9): [True: 0, False: 45]
  ------------------
 4298|      0|        return NULL;
 4299|     45|    memset(ret->long_value.ob_digit, 0, _PyLong_DigitCount(ret) * sizeof(digit));
 4300|       |
 4301|       |    /* Successive slices of b are copied into bslice. */
 4302|     45|    bslice = long_alloc(asize);
 4303|     45|    if (bslice == NULL)
  ------------------
  |  Branch (4303:9): [True: 0, False: 45]
  ------------------
 4304|      0|        goto fail;
 4305|       |
 4306|     45|    nbdone = 0;
 4307|    181|    while (bsize > 0) {
  ------------------
  |  Branch (4307:12): [True: 136, False: 45]
  ------------------
 4308|    136|        PyLongObject *product;
 4309|    136|        const Py_ssize_t nbtouse = Py_MIN(bsize, asize);
  ------------------
  |  |  112|    136|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 91, False: 45]
  |  |  ------------------
  ------------------
 4310|       |
 4311|       |        /* Multiply the next slice of b by a. */
 4312|    136|        memcpy(bslice->long_value.ob_digit, b->long_value.ob_digit + nbdone,
 4313|    136|               nbtouse * sizeof(digit));
 4314|    136|        assert(nbtouse >= 0);
  ------------------
  |  Branch (4314:9): [True: 136, False: 0]
  ------------------
 4315|    136|        _PyLong_SetSignAndDigitCount(bslice, 1, nbtouse);
 4316|    136|        product = k_mul(a, bslice);
 4317|    136|        if (product == NULL)
  ------------------
  |  Branch (4317:13): [True: 0, False: 136]
  ------------------
 4318|      0|            goto fail;
 4319|       |
 4320|       |        /* Add into result. */
 4321|    136|        (void)v_iadd(ret->long_value.ob_digit + nbdone, _PyLong_DigitCount(ret) - nbdone,
 4322|    136|                     product->long_value.ob_digit, _PyLong_DigitCount(product));
 4323|    136|        _Py_DECREF_INT(product);
 4324|       |
 4325|    136|        bsize -= nbtouse;
 4326|    136|        nbdone += nbtouse;
 4327|    136|    }
 4328|       |
 4329|     45|    _Py_DECREF_INT(bslice);
 4330|     45|    return long_normalize(ret);
 4331|       |
 4332|      0|  fail:
 4333|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4334|      0|    Py_XDECREF(bslice);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4335|       |    return NULL;
 4336|     45|}
longobject.c:kmul_split:
 4040|  2.52k|{
 4041|  2.52k|    PyLongObject *hi, *lo;
 4042|  2.52k|    Py_ssize_t size_lo, size_hi;
 4043|  2.52k|    const Py_ssize_t size_n = _PyLong_DigitCount(n);
 4044|       |
 4045|  2.52k|    size_lo = Py_MIN(size_n, size);
  ------------------
  |  |  112|  2.52k|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 2.52k, False: 0]
  |  |  ------------------
  ------------------
 4046|  2.52k|    size_hi = size_n - size_lo;
 4047|       |
 4048|  2.52k|    if ((hi = long_alloc(size_hi)) == NULL)
  ------------------
  |  Branch (4048:9): [True: 0, False: 2.52k]
  ------------------
 4049|      0|        return -1;
 4050|  2.52k|    if ((lo = long_alloc(size_lo)) == NULL) {
  ------------------
  |  Branch (4050:9): [True: 0, False: 2.52k]
  ------------------
 4051|      0|        Py_DECREF(hi);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4052|      0|        return -1;
 4053|      0|    }
 4054|       |
 4055|  2.52k|    memcpy(lo->long_value.ob_digit, n->long_value.ob_digit, size_lo * sizeof(digit));
 4056|  2.52k|    memcpy(hi->long_value.ob_digit, n->long_value.ob_digit + size_lo, size_hi * sizeof(digit));
 4057|       |
 4058|  2.52k|    *high = long_normalize(hi);
 4059|  2.52k|    *low = long_normalize(lo);
 4060|  2.52k|    return 0;
 4061|  2.52k|}
longobject.c:v_isub:
 1881|  2.62k|{
 1882|  2.62k|    Py_ssize_t i;
 1883|  2.62k|    digit borrow = 0;
 1884|       |
 1885|  2.62k|    assert(m >= n);
  ------------------
  |  Branch (1885:5): [True: 2.62k, False: 0]
  ------------------
 1886|   305k|    for (i = 0; i < n; ++i) {
  ------------------
  |  Branch (1886:17): [True: 302k, False: 2.62k]
  ------------------
 1887|   302k|        borrow = x[i] - y[i] - borrow;
 1888|   302k|        x[i] = borrow & PyLong_MASK;
  ------------------
  |  |   62|   302k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|   302k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|   302k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1889|   302k|        borrow >>= PyLong_SHIFT;
  ------------------
  |  |   47|   302k|#define PyLong_SHIFT    30
  ------------------
 1890|   302k|        borrow &= 1;            /* keep only 1 sign bit */
 1891|   302k|    }
 1892|  3.29k|    for (; borrow && i < m; ++i) {
  ------------------
  |  Branch (1892:12): [True: 676, False: 2.62k]
  |  Branch (1892:22): [True: 675, False: 1]
  ------------------
 1893|    675|        borrow = x[i] - borrow;
 1894|    675|        x[i] = borrow & PyLong_MASK;
  ------------------
  |  |   62|    675|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|    675|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|    675|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1895|    675|        borrow >>= PyLong_SHIFT;
  ------------------
  |  |   47|    675|#define PyLong_SHIFT    30
  ------------------
 1896|    675|        borrow &= 1;
 1897|    675|    }
 1898|  2.62k|    return borrow;
 1899|  2.62k|}
longobject.c:v_iadd:
 1855|  1.44k|{
 1856|  1.44k|    Py_ssize_t i;
 1857|  1.44k|    digit carry = 0;
 1858|       |
 1859|  1.44k|    assert(m >= n);
  ------------------
  |  Branch (1859:5): [True: 1.44k, False: 0]
  ------------------
 1860|   185k|    for (i = 0; i < n; ++i) {
  ------------------
  |  Branch (1860:17): [True: 183k, False: 1.44k]
  ------------------
 1861|   183k|        carry += x[i] + y[i];
 1862|   183k|        x[i] = carry & 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
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1863|   183k|        carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|   183k|#define PyLong_SHIFT    30
  ------------------
 1864|   183k|        assert((carry & 1) == carry);
  ------------------
  |  Branch (1864:9): [True: 183k, False: 0]
  ------------------
 1865|   183k|    }
 1866|  1.74k|    for (; carry && i < m; ++i) {
  ------------------
  |  Branch (1866:12): [True: 297, False: 1.44k]
  |  Branch (1866:21): [True: 296, False: 1]
  ------------------
 1867|    296|        carry += x[i];
 1868|    296|        x[i] = carry & PyLong_MASK;
  ------------------
  |  |   62|    296|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|    296|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|    296|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1869|    296|        carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|    296|#define PyLong_SHIFT    30
  ------------------
 1870|    296|        assert((carry & 1) == carry);
  ------------------
  |  Branch (1870:9): [True: 296, False: 0]
  ------------------
 1871|    296|    }
 1872|  1.44k|    return carry;
 1873|  1.44k|}
longobject.c:l_divmod:
 4481|      2|{
 4482|      2|    PyLongObject *div, *mod;
 4483|       |
 4484|      2|    if (_PyLong_DigitCount(v) == 1 && _PyLong_DigitCount(w) == 1) {
  ------------------
  |  Branch (4484:9): [True: 0, False: 2]
  |  Branch (4484:39): [True: 0, False: 0]
  ------------------
 4485|       |        /* Fast path for single-digit longs */
 4486|      0|        div = NULL;
 4487|      0|        if (pdiv != NULL) {
  ------------------
  |  Branch (4487:13): [True: 0, False: 0]
  ------------------
 4488|      0|            div = (PyLongObject *)fast_floor_div(v, w);
 4489|      0|            if (div == NULL) {
  ------------------
  |  Branch (4489:17): [True: 0, False: 0]
  ------------------
 4490|      0|                return -1;
 4491|      0|            }
 4492|      0|        }
 4493|      0|        if (pmod != NULL) {
  ------------------
  |  Branch (4493:13): [True: 0, False: 0]
  ------------------
 4494|      0|            mod = (PyLongObject *)fast_mod(v, w);
 4495|      0|            if (mod == NULL) {
  ------------------
  |  Branch (4495:17): [True: 0, False: 0]
  ------------------
 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|      0|            *pmod = mod;
 4500|      0|        }
 4501|      0|        if (pdiv != NULL) {
  ------------------
  |  Branch (4501:13): [True: 0, False: 0]
  ------------------
 4502|       |            /* We only want to set `*pdiv` when `*pmod` is
 4503|       |               set successfully. */
 4504|      0|            *pdiv = div;
 4505|      0|        }
 4506|      0|        return 0;
 4507|      0|    }
 4508|      2|#if WITH_PYLONG_MODULE
 4509|      2|    Py_ssize_t size_v = _PyLong_DigitCount(v); /* digits in numerator */
 4510|      2|    Py_ssize_t size_w = _PyLong_DigitCount(w); /* digits in denominator */
 4511|      2|    if (size_w > 300 && (size_v - size_w) > 150) {
  ------------------
  |  Branch (4511:9): [True: 0, False: 2]
  |  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|      2|#endif
 4520|      2|    if (long_divrem(v, w, &div, &mod) < 0)
  ------------------
  |  Branch (4520:9): [True: 0, False: 2]
  ------------------
 4521|      0|        return -1;
 4522|      2|    if ((_PyLong_IsNegative(mod) && _PyLong_IsPositive(w)) ||
  ------------------
  |  Branch (4522:10): [True: 0, False: 2]
  |  Branch (4522:37): [True: 0, False: 0]
  ------------------
 4523|      2|        (_PyLong_IsPositive(mod) && _PyLong_IsNegative(w))) {
  ------------------
  |  Branch (4523:10): [True: 0, False: 2]
  |  Branch (4523:37): [True: 0, False: 0]
  ------------------
 4524|      0|        PyLongObject *temp;
 4525|      0|        temp = long_add(mod, w);
 4526|      0|        Py_SETREF(mod, temp);
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4527|      0|        if (mod == NULL) {
  ------------------
  |  Branch (4527:13): [True: 0, False: 0]
  ------------------
 4528|      0|            Py_DECREF(div);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4529|      0|            return -1;
 4530|      0|        }
 4531|      0|        temp = long_sub(div, (PyLongObject *)_PyLong_GetOne());
 4532|      0|        if (temp == NULL) {
  ------------------
  |  Branch (4532:13): [True: 0, False: 0]
  ------------------
 4533|      0|            Py_DECREF(mod);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4534|      0|            Py_DECREF(div);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4535|      0|            return -1;
 4536|      0|        }
 4537|      0|        Py_SETREF(div, temp);
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4538|      0|    }
 4539|      2|    if (pdiv != NULL)
  ------------------
  |  Branch (4539:9): [True: 2, False: 0]
  ------------------
 4540|      2|        *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|      2|    if (pmod != NULL)
  ------------------
  |  Branch (4544:9): [True: 0, False: 2]
  ------------------
 4545|      0|        *pmod = mod;
 4546|      2|    else
 4547|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4548|       |
 4549|      2|    return 0;
 4550|      2|}
longobject.c:long_pow:
 4968|    872|{
 4969|    872|    PyLongObject *a, *b, *c; /* a,b,c = v,w,x */
 4970|    872|    int negativeOutput = 0;  /* if x<0 return negative output */
 4971|       |
 4972|    872|    PyLongObject *z = NULL;  /* accumulated result */
 4973|    872|    Py_ssize_t i, j;             /* counters */
 4974|    872|    PyLongObject *temp = NULL;
 4975|    872|    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|    872|    PyLongObject *table[EXP_TABLE_LEN];
 4986|    872|    Py_ssize_t num_table_entries = 0;
 4987|       |
 4988|       |    /* a, b, c = v, w, x */
 4989|    872|    CHECK_BINOP(v, w);
  ------------------
  |  | 1844|    872|    do {                                                \
  |  | 1845|    872|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|    872|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  1.74k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|    872|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    872|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 872]
  |  |  |  Branch (1845:33): [True: 0, False: 872]
  |  |  ------------------
  |  | 1846|    872|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|    872|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 872]
  |  |  ------------------
  ------------------
 4990|    872|    a = (PyLongObject*)Py_NewRef(v);
  ------------------
  |  |  550|    872|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    872|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    872|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4991|    872|    b = (PyLongObject*)Py_NewRef(w);
  ------------------
  |  |  550|    872|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    872|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    872|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4992|    872|    if (PyLong_Check(x)) {
  ------------------
  |  |   13|    872|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    872|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 1, False: 871]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4993|      1|        c = (PyLongObject *)Py_NewRef(x);
  ------------------
  |  |  550|      1|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4994|      1|    }
 4995|    871|    else if (x == Py_None)
  ------------------
  |  |  616|    871|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4995:14): [True: 871, False: 0]
  ------------------
 4996|    871|        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|    872|    if (_PyLong_IsNegative(b) && c == NULL) {
  ------------------
  |  Branch (5003:9): [True: 0, False: 872]
  |  Branch (5003:34): [True: 0, 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|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5009|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5010|      0|        return PyFloat_Type.tp_as_number->nb_power(v, w, x);
 5011|      0|    }
 5012|       |
 5013|    872|    if (c) {
  ------------------
  |  Branch (5013:9): [True: 1, False: 871]
  ------------------
 5014|       |        /* if modulus == 0:
 5015|       |               raise ValueError() */
 5016|      1|        if (_PyLong_IsZero(c)) {
  ------------------
  |  Branch (5016:13): [True: 0, False: 1]
  ------------------
 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|      1|        if (_PyLong_IsNegative(c)) {
  ------------------
  |  Branch (5025:13): [True: 0, False: 1]
  ------------------
 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|      1|        if (_PyLong_IsNonNegativeCompact(c) && (c->long_value.ob_digit[0] == 1)) {
  ------------------
  |  Branch (5039:13): [True: 0, False: 1]
  |  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|      1|        if (_PyLong_IsNegative(b)) {
  ------------------
  |  Branch (5046:13): [True: 0, False: 1]
  ------------------
 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|      1|        if (_PyLong_IsNegative(a) || _PyLong_DigitCount(a) > _PyLong_DigitCount(c)) {
  ------------------
  |  Branch (5072:13): [True: 0, False: 1]
  |  Branch (5072:38): [True: 0, False: 1]
  ------------------
 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|      1|    }
 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|    872|    z = (PyLongObject *)PyLong_FromLong(1L);
 5084|    872|    if (z == NULL)
  ------------------
  |  Branch (5084:9): [True: 0, False: 872]
  ------------------
 5085|      0|        goto Error;
 5086|       |
 5087|       |    /* Perform a modular reduction, X = X % c, but leave X alone if c
 5088|       |     * is NULL.
 5089|       |     */
 5090|    872|#define REDUCE(X)                                       \
 5091|    872|    do {                                                \
 5092|    872|        if (c != NULL) {                                \
 5093|    872|            if (l_mod(X, c, &temp) < 0)                 \
 5094|    872|                goto Error;                             \
 5095|    872|            Py_XDECREF(X);                              \
 5096|    872|            X = temp;                                   \
 5097|    872|            temp = NULL;                                \
 5098|    872|        }                                               \
 5099|    872|    } while(0)
 5100|       |
 5101|       |    /* Multiply two values, then reduce the result:
 5102|       |       result = X*Y % c.  If c is NULL, skip the mod. */
 5103|    872|#define MULT(X, Y, result)                      \
 5104|    872|    do {                                        \
 5105|    872|        temp = (PyLongObject *)long_mul(X, Y);  \
 5106|    872|        if (temp == NULL)                       \
 5107|    872|            goto Error;                         \
 5108|    872|        Py_XDECREF(result);                     \
 5109|    872|        result = temp;                          \
 5110|    872|        temp = NULL;                            \
 5111|    872|        REDUCE(result);                         \
 5112|    872|    } while(0)
 5113|       |
 5114|    872|    i = _PyLong_SignedDigitCount(b);
 5115|    872|    digit bi = i ? b->long_value.ob_digit[i-1] : 0;
  ------------------
  |  Branch (5115:16): [True: 872, False: 0]
  ------------------
 5116|    872|    digit bit;
 5117|    872|    if (i <= 1 && bi <= 3) {
  ------------------
  |  Branch (5117:9): [True: 871, False: 1]
  |  Branch (5117:19): [True: 0, False: 871]
  ------------------
 5118|       |        /* aim for minimal overhead */
 5119|      0|        if (bi >= 2) {
  ------------------
  |  Branch (5119:13): [True: 0, False: 0]
  ------------------
 5120|      0|            MULT(a, a, z);
  ------------------
  |  | 5104|      0|    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]
  |  |  ------------------
  ------------------
 5121|      0|            if (bi == 3) {
  ------------------
  |  Branch (5121:17): [True: 0, False: 0]
  ------------------
 5122|      0|                MULT(z, a, z);
  ------------------
  |  | 5104|      0|    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]
  |  |  ------------------
  ------------------
 5123|      0|            }
 5124|      0|        }
 5125|      0|        else if (bi == 1) {
  ------------------
  |  Branch (5125:18): [True: 0, False: 0]
  ------------------
 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|      0|            MULT(a, z, z);
  ------------------
  |  | 5104|      0|    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]
  |  |  ------------------
  ------------------
 5131|      0|        }
 5132|       |        /* else bi is 0, and z==1 is correct */
 5133|      0|    }
 5134|    872|    else if (i <= HUGE_EXP_CUTOFF / PyLong_SHIFT ) {
  ------------------
  |  |  114|    872|#define HUGE_EXP_CUTOFF 60
  ------------------
                  else if (i <= HUGE_EXP_CUTOFF / PyLong_SHIFT ) {
  ------------------
  |  |   47|    872|#define PyLong_SHIFT    30
  ------------------
  |  Branch (5134:14): [True: 871, False: 1]
  ------------------
 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|    871|        assert(bi);  /* else there is no significant bit */
  ------------------
  |  Branch (5141:9): [True: 871, False: 0]
  ------------------
 5142|    871|        Py_SETREF(z, (PyLongObject*)Py_NewRef(a));
  ------------------
  |  |  352|    871|    do { \
  |  |  353|    871|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    871|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|    871|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    871|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|    871|        *_tmp_dst_ptr = (src); \
  |  |  356|    871|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|    871|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    871|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    871|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|    871|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 871]
  |  |  ------------------
  ------------------
 5143|  9.57k|        for (bit = 2; ; bit <<= 1) {
 5144|  9.57k|            if (bit > bi) { /* found the first bit */
  ------------------
  |  Branch (5144:17): [True: 871, False: 8.70k]
  ------------------
 5145|    871|                assert((bi & bit) == 0);
  ------------------
  |  Branch (5145:17): [True: 871, False: 0]
  ------------------
 5146|    871|                bit >>= 1;
 5147|    871|                assert(bi & bit);
  ------------------
  |  Branch (5147:17): [True: 871, False: 0]
  ------------------
 5148|    871|                break;
 5149|    871|            }
 5150|  9.57k|        }
 5151|    871|        for (--i, bit >>= 1;;) {
 5152|  9.57k|            for (; bit != 0; bit >>= 1) {
  ------------------
  |  Branch (5152:20): [True: 8.70k, False: 871]
  ------------------
 5153|  8.70k|                MULT(z, z, z);
  ------------------
  |  | 5104|  8.70k|    do {                                        \
  |  | 5105|  8.70k|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5106|  8.70k|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5106:13): [True: 0, False: 8.70k]
  |  |  ------------------
  |  | 5107|  8.70k|            goto Error;                         \
  |  | 5108|  8.70k|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  524|  8.70k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5109|  8.70k|        result = temp;                          \
  |  | 5110|  8.70k|        temp = NULL;                            \
  |  | 5111|  8.70k|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5091|  8.70k|    do {                                                \
  |  |  |  | 5092|  8.70k|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5092:13): [True: 0, False: 8.70k]
  |  |  |  |  ------------------
  |  |  |  | 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|  8.70k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5099:13): [Folded, False: 8.70k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5112|  8.70k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5112:13): [Folded, False: 8.70k]
  |  |  ------------------
  ------------------
 5154|  8.70k|                if (bi & bit) {
  ------------------
  |  Branch (5154:21): [True: 5.37k, False: 3.33k]
  ------------------
 5155|  5.37k|                    MULT(z, a, z);
  ------------------
  |  | 5104|  5.37k|    do {                                        \
  |  | 5105|  5.37k|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5106|  5.37k|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5106:13): [True: 0, False: 5.37k]
  |  |  ------------------
  |  | 5107|  5.37k|            goto Error;                         \
  |  | 5108|  5.37k|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  524|  5.37k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5109|  5.37k|        result = temp;                          \
  |  | 5110|  5.37k|        temp = NULL;                            \
  |  | 5111|  5.37k|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5091|  5.37k|    do {                                                \
  |  |  |  | 5092|  5.37k|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5092:13): [True: 0, False: 5.37k]
  |  |  |  |  ------------------
  |  |  |  | 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.37k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5099:13): [Folded, False: 5.37k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5112|  5.37k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5112:13): [Folded, False: 5.37k]
  |  |  ------------------
  ------------------
 5156|  5.37k|                }
 5157|  8.70k|            }
 5158|    871|            if (--i < 0) {
  ------------------
  |  Branch (5158:17): [True: 871, False: 0]
  ------------------
 5159|    871|                break;
 5160|    871|            }
 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|    871|    }
 5165|      1|    else {
 5166|       |        /* Left-to-right k-ary sliding window exponentiation
 5167|       |         * (Handbook of Applied Cryptography (HAC) Algorithm 14.85)
 5168|       |         */
 5169|      1|        table[0] = (PyLongObject*)Py_NewRef(a);
  ------------------
  |  |  550|      1|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5170|      1|        num_table_entries = 1;
 5171|      1|        MULT(a, a, a2);
  ------------------
  |  | 5104|      1|    do {                                        \
  |  | 5105|      1|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5106|      1|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5106:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 5107|      1|            goto Error;                         \
  |  | 5108|      1|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  524|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5109|      1|        result = temp;                          \
  |  | 5110|      1|        temp = NULL;                            \
  |  | 5111|      1|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5091|      1|    do {                                                \
  |  |  |  | 5092|      1|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5092:13): [True: 1, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5093|      1|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5093:17): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  | 5094|      1|                goto Error;                             \
  |  |  |  | 5095|      1|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5096|      1|            X = temp;                                   \
  |  |  |  | 5097|      1|            temp = NULL;                                \
  |  |  |  | 5098|      1|        }                                               \
  |  |  |  | 5099|      1|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5099:13): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5112|      1|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5112:13): [Folded, False: 1]
  |  |  ------------------
  ------------------
 5172|       |        /* table[i] == a**(2*i + 1) % c */
 5173|     16|        for (i = 1; i < EXP_TABLE_LEN; ++i) {
  ------------------
  |  |   94|     16|#define EXP_TABLE_LEN (1 << (EXP_WINDOW_SIZE - 1))
  |  |  ------------------
  |  |  |  |   93|     16|#define EXP_WINDOW_SIZE 5
  |  |  ------------------
  ------------------
  |  Branch (5173:21): [True: 15, False: 1]
  ------------------
 5174|     15|            table[i] = NULL; /* must set to known value for MULT */
 5175|     15|            MULT(table[i-1], a2, table[i]);
  ------------------
  |  | 5104|     15|    do {                                        \
  |  | 5105|     15|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5106|     15|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5106:13): [True: 0, False: 15]
  |  |  ------------------
  |  | 5107|     15|            goto Error;                         \
  |  | 5108|     15|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5109|     15|        result = temp;                          \
  |  | 5110|     15|        temp = NULL;                            \
  |  | 5111|     15|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5091|     15|    do {                                                \
  |  |  |  | 5092|     15|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5092:13): [True: 15, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5093|     15|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5093:17): [True: 0, False: 15]
  |  |  |  |  ------------------
  |  |  |  | 5094|     15|                goto Error;                             \
  |  |  |  | 5095|     15|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5096|     15|            X = temp;                                   \
  |  |  |  | 5097|     15|            temp = NULL;                                \
  |  |  |  | 5098|     15|        }                                               \
  |  |  |  | 5099|     15|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5099:13): [Folded, False: 15]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5112|     15|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5112:13): [Folded, False: 15]
  |  |  ------------------
  ------------------
 5176|     15|            ++num_table_entries; /* incremented iff MULT succeeded */
 5177|     15|        }
 5178|      1|        Py_CLEAR(a2);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 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|      1|        int pending = 0, blen = 0;
 5185|      1|#define ABSORB_PENDING  do { \
 5186|      1|            int ntz = 0; /* number of trailing zeroes in `pending` */ \
 5187|      1|            assert(pending && blen); \
 5188|      1|            assert(pending >> (blen - 1)); \
 5189|      1|            assert(pending >> blen == 0); \
 5190|      1|            while ((pending & 1) == 0) { \
 5191|      1|                ++ntz; \
 5192|      1|                pending >>= 1; \
 5193|      1|            } \
 5194|      1|            assert(ntz < blen); \
 5195|      1|            blen -= ntz; \
 5196|      1|            do { \
 5197|      1|                MULT(z, z, z); \
 5198|      1|            } while (--blen); \
 5199|      1|            MULT(z, table[pending >> 1], z); \
 5200|      1|            while (ntz-- > 0) \
 5201|      1|                MULT(z, z, z); \
 5202|      1|            assert(blen == 0); \
 5203|      1|            pending = 0; \
 5204|      1|        } while(0)
 5205|       |
 5206|      4|        for (i = _PyLong_SignedDigitCount(b) - 1; i >= 0; --i) {
  ------------------
  |  Branch (5206:51): [True: 3, False: 1]
  ------------------
 5207|      3|            const digit bi = b->long_value.ob_digit[i];
 5208|     93|            for (j = PyLong_SHIFT - 1; j >= 0; --j) {
  ------------------
  |  |   47|      3|#define PyLong_SHIFT    30
  ------------------
  |  Branch (5208:40): [True: 90, False: 3]
  ------------------
 5209|     90|                const int bit = (bi >> j) & 1;
 5210|     90|                pending = (pending << 1) | bit;
 5211|     90|                if (pending) {
  ------------------
  |  Branch (5211:21): [True: 61, False: 29]
  ------------------
 5212|     61|                    ++blen;
 5213|     61|                    if (blen == EXP_WINDOW_SIZE)
  ------------------
  |  |   93|     61|#define EXP_WINDOW_SIZE 5
  ------------------
  |  Branch (5213:25): [True: 12, False: 49]
  ------------------
 5214|     12|                        ABSORB_PENDING;
  ------------------
  |  | 5185|     12|#define ABSORB_PENDING  do { \
  |  | 5186|     12|            int ntz = 0; /* number of trailing zeroes in `pending` */ \
  |  | 5187|     12|            assert(pending && blen); \
  |  | 5188|     12|            assert(pending >> (blen - 1)); \
  |  | 5189|     12|            assert(pending >> blen == 0); \
  |  | 5190|     13|            while ((pending & 1) == 0) { \
  |  |  ------------------
  |  |  |  Branch (5190:20): [True: 1, False: 12]
  |  |  ------------------
  |  | 5191|      1|                ++ntz; \
  |  | 5192|      1|                pending >>= 1; \
  |  | 5193|      1|            } \
  |  | 5194|     12|            assert(ntz < blen); \
  |  | 5195|     12|            blen -= ntz; \
  |  | 5196|     59|            do { \
  |  | 5197|     59|                MULT(z, z, z); \
  |  |  ------------------
  |  |  |  | 5104|     59|    do {                                        \
  |  |  |  | 5105|     59|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5106|     59|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5106:13): [True: 0, False: 59]
  |  |  |  |  ------------------
  |  |  |  | 5107|     59|            goto Error;                         \
  |  |  |  | 5108|     59|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|     59|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     59|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5109|     59|        result = temp;                          \
  |  |  |  | 5110|     59|        temp = NULL;                            \
  |  |  |  | 5111|     59|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5091|     59|    do {                                                \
  |  |  |  |  |  | 5092|     59|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5092:13): [True: 59, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5093|     59|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5093:17): [True: 0, False: 59]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5094|     59|                goto Error;                             \
  |  |  |  |  |  | 5095|     59|            Py_XDECREF(X);                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  524|     59|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|     59|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5096|     59|            X = temp;                                   \
  |  |  |  |  |  | 5097|     59|            temp = NULL;                                \
  |  |  |  |  |  | 5098|     59|        }                                               \
  |  |  |  |  |  | 5099|     59|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5099:13): [Folded, False: 59]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5112|     59|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5112:13): [Folded, False: 59]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5198|     59|            } while (--blen); \
  |  |  ------------------
  |  |  |  Branch (5198:22): [True: 47, False: 12]
  |  |  ------------------
  |  | 5199|     12|            MULT(z, table[pending >> 1], z); \
  |  |  ------------------
  |  |  |  | 5104|     12|    do {                                        \
  |  |  |  | 5105|     12|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5106|     12|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5106:13): [True: 0, False: 12]
  |  |  |  |  ------------------
  |  |  |  | 5107|     12|            goto Error;                         \
  |  |  |  | 5108|     12|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5109|     12|        result = temp;                          \
  |  |  |  | 5110|     12|        temp = NULL;                            \
  |  |  |  | 5111|     12|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5091|     12|    do {                                                \
  |  |  |  |  |  | 5092|     12|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5092:13): [True: 12, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5093|     12|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5093:17): [True: 0, False: 12]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5094|     12|                goto Error;                             \
  |  |  |  |  |  | 5095|     12|            Py_XDECREF(X);                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  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))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5096|     12|            X = temp;                                   \
  |  |  |  |  |  | 5097|     12|            temp = NULL;                                \
  |  |  |  |  |  | 5098|     12|        }                                               \
  |  |  |  |  |  | 5099|     12|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5099:13): [Folded, False: 12]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5112|     12|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5112:13): [Folded, False: 12]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5200|     13|            while (ntz-- > 0) \
  |  |  ------------------
  |  |  |  Branch (5200:20): [True: 1, False: 12]
  |  |  ------------------
  |  | 5201|     12|                MULT(z, z, z); \
  |  |  ------------------
  |  |  |  | 5104|     13|    do {                                        \
  |  |  |  | 5105|      1|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5106|      1|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5106:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  | 5107|      1|            goto Error;                         \
  |  |  |  | 5108|      1|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5109|      1|        result = temp;                          \
  |  |  |  | 5110|      1|        temp = NULL;                            \
  |  |  |  | 5111|      1|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5091|      1|    do {                                                \
  |  |  |  |  |  | 5092|      1|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5092:13): [True: 1, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5093|      1|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5093:17): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5094|      1|                goto Error;                             \
  |  |  |  |  |  | 5095|      1|            Py_XDECREF(X);                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  524|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5096|      1|            X = temp;                                   \
  |  |  |  |  |  | 5097|      1|            temp = NULL;                                \
  |  |  |  |  |  | 5098|      1|        }                                               \
  |  |  |  |  |  | 5099|      1|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5099:13): [Folded, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5112|      1|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5112:13): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5202|     12|            assert(blen == 0); \
  |  | 5203|     12|            pending = 0; \
  |  | 5204|     12|        } while(0)
  |  |  ------------------
  |  |  |  Branch (5204:17): [Folded, False: 12]
  |  |  ------------------
  ------------------
  |  Branch (5214:25): [True: 12, False: 0]
  |  Branch (5214:25): [True: 12, False: 0]
  |  Branch (5214:25): [True: 12, False: 0]
  |  Branch (5214:25): [True: 12, False: 0]
  |  Branch (5214:25): [True: 12, False: 0]
  |  Branch (5214:25): [True: 12, False: 0]
  ------------------
 5215|     61|                }
 5216|     29|                else /* absorb strings of 0 bits */
 5217|     29|                    MULT(z, z, z);
  ------------------
  |  | 5104|     29|    do {                                        \
  |  | 5105|     29|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5106|     29|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5106:13): [True: 0, False: 29]
  |  |  ------------------
  |  | 5107|     29|            goto Error;                         \
  |  | 5108|     29|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  524|     29|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5109|     29|        result = temp;                          \
  |  | 5110|     29|        temp = NULL;                            \
  |  | 5111|     29|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5091|     29|    do {                                                \
  |  |  |  | 5092|     29|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5092:13): [True: 29, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5093|     29|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5093:17): [True: 0, False: 29]
  |  |  |  |  ------------------
  |  |  |  | 5094|     29|                goto Error;                             \
  |  |  |  | 5095|     29|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|     29|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5096|     29|            X = temp;                                   \
  |  |  |  | 5097|     29|            temp = NULL;                                \
  |  |  |  | 5098|     29|        }                                               \
  |  |  |  | 5099|     29|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5099:13): [Folded, False: 29]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5112|     29|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5112:13): [Folded, False: 29]
  |  |  ------------------
  ------------------
 5218|     90|            }
 5219|      3|        }
 5220|      1|        if (pending)
  ------------------
  |  Branch (5220:13): [True: 1, False: 0]
  ------------------
 5221|      1|            ABSORB_PENDING;
  ------------------
  |  | 5185|      1|#define ABSORB_PENDING  do { \
  |  | 5186|      1|            int ntz = 0; /* number of trailing zeroes in `pending` */ \
  |  | 5187|      1|            assert(pending && blen); \
  |  | 5188|      1|            assert(pending >> (blen - 1)); \
  |  | 5189|      1|            assert(pending >> blen == 0); \
  |  | 5190|      1|            while ((pending & 1) == 0) { \
  |  |  ------------------
  |  |  |  Branch (5190:20): [True: 0, False: 1]
  |  |  ------------------
  |  | 5191|      0|                ++ntz; \
  |  | 5192|      0|                pending >>= 1; \
  |  | 5193|      0|            } \
  |  | 5194|      1|            assert(ntz < blen); \
  |  | 5195|      1|            blen -= ntz; \
  |  | 5196|      1|            do { \
  |  | 5197|      1|                MULT(z, z, z); \
  |  |  ------------------
  |  |  |  | 5104|      1|    do {                                        \
  |  |  |  | 5105|      1|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5106|      1|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5106:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  | 5107|      1|            goto Error;                         \
  |  |  |  | 5108|      1|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5109|      1|        result = temp;                          \
  |  |  |  | 5110|      1|        temp = NULL;                            \
  |  |  |  | 5111|      1|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5091|      1|    do {                                                \
  |  |  |  |  |  | 5092|      1|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5092:13): [True: 1, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5093|      1|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5093:17): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5094|      1|                goto Error;                             \
  |  |  |  |  |  | 5095|      1|            Py_XDECREF(X);                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  524|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5096|      1|            X = temp;                                   \
  |  |  |  |  |  | 5097|      1|            temp = NULL;                                \
  |  |  |  |  |  | 5098|      1|        }                                               \
  |  |  |  |  |  | 5099|      1|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5099:13): [Folded, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5112|      1|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5112:13): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5198|      1|            } while (--blen); \
  |  |  ------------------
  |  |  |  Branch (5198:22): [True: 0, False: 1]
  |  |  ------------------
  |  | 5199|      1|            MULT(z, table[pending >> 1], z); \
  |  |  ------------------
  |  |  |  | 5104|      1|    do {                                        \
  |  |  |  | 5105|      1|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5106|      1|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5106:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  | 5107|      1|            goto Error;                         \
  |  |  |  | 5108|      1|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5109|      1|        result = temp;                          \
  |  |  |  | 5110|      1|        temp = NULL;                            \
  |  |  |  | 5111|      1|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5091|      1|    do {                                                \
  |  |  |  |  |  | 5092|      1|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5092:13): [True: 1, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5093|      1|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5093:17): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5094|      1|                goto Error;                             \
  |  |  |  |  |  | 5095|      1|            Py_XDECREF(X);                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  524|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5096|      1|            X = temp;                                   \
  |  |  |  |  |  | 5097|      1|            temp = NULL;                                \
  |  |  |  |  |  | 5098|      1|        }                                               \
  |  |  |  |  |  | 5099|      1|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5099:13): [Folded, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5112|      1|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5112:13): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5200|      1|            while (ntz-- > 0) \
  |  |  ------------------
  |  |  |  Branch (5200:20): [True: 0, False: 1]
  |  |  ------------------
  |  | 5201|      1|                MULT(z, z, z); \
  |  |  ------------------
  |  |  |  | 5104|      1|    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|      1|            assert(blen == 0); \
  |  | 5203|      1|            pending = 0; \
  |  | 5204|      1|        } while(0)
  |  |  ------------------
  |  |  |  Branch (5204:17): [Folded, False: 1]
  |  |  ------------------
  ------------------
  |  Branch (5221:13): [True: 1, False: 0]
  |  Branch (5221:13): [True: 1, False: 0]
  |  Branch (5221:13): [True: 1, False: 0]
  |  Branch (5221:13): [True: 1, False: 0]
  |  Branch (5221:13): [True: 1, False: 0]
  |  Branch (5221:13): [True: 1, False: 0]
  ------------------
 5222|      1|    }
 5223|       |
 5224|    872|    if (negativeOutput && !_PyLong_IsZero(z)) {
  ------------------
  |  Branch (5224:9): [True: 0, False: 872]
  |  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|    872|    goto Done;
 5232|       |
 5233|    872|  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|    872|  Done:
 5237|    888|    for (i = 0; i < num_table_entries; ++i)
  ------------------
  |  Branch (5237:17): [True: 16, False: 872]
  ------------------
 5238|     16|        Py_DECREF(table[i]);
  ------------------
  |  |  430|    888|#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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5239|    872|    Py_DECREF(a);
  ------------------
  |  |  430|    872|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    872|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    872|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5240|    872|    Py_DECREF(b);
  ------------------
  |  |  430|    872|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    872|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    872|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5241|    872|    Py_XDECREF(c);
  ------------------
  |  |  524|    872|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    872|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    872|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5242|    872|    Py_XDECREF(a2);
  ------------------
  |  |  524|    872|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    872|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    872|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5243|    872|    Py_XDECREF(temp);
  ------------------
  |  |  524|    872|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    872|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    872|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5244|    872|    return (PyObject *)z;
 5245|      0|}
longobject.c:long_neg_method:
 5281|  63.0k|{
 5282|  63.0k|    return (PyObject*)long_neg(_PyLong_CAST(v));
  ------------------
  |  |    6|  63.0k|    (assert(PyLong_Check(op)), _Py_CAST(PyLongObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  63.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (5282:32): [True: 63.0k, False: 0]
  ------------------
 5283|  63.0k|}
longobject.c:long_abs_method:
 5296|      3|{
 5297|      3|    return (PyObject*)long_abs(_PyLong_CAST(v));
  ------------------
  |  |    6|      3|    (assert(PyLong_Check(op)), _Py_CAST(PyLongObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (5297:32): [True: 3, False: 0]
  ------------------
 5298|      3|}
longobject.c:long_bool:
 5302|   414k|{
 5303|   414k|    return !_PyLong_IsZero(_PyLong_CAST(v));
  ------------------
  |  |    6|   414k|    (assert(PyLong_Check(op)), _Py_CAST(PyLongObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   414k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (5303:28): [True: 414k, False: 0]
  ------------------
 5304|   414k|}
longobject.c:long_invert:
 5249|   509k|{
 5250|   509k|    PyLongObject *v = _PyLong_CAST(self);
  ------------------
  |  |    6|   509k|    (assert(PyLong_Check(op)), _Py_CAST(PyLongObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   509k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (5250:23): [True: 509k, False: 0]
  ------------------
 5251|       |
 5252|       |    /* Implement ~x as -(x+1) */
 5253|   509k|    if (_PyLong_IsCompact(v))
  ------------------
  |  Branch (5253:9): [True: 509k, False: 0]
  ------------------
 5254|   509k|        return (PyObject*)_PyLong_FromSTwoDigits(~medium_value(v));
  ------------------
  |  |   27|   509k|#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|  2.60k|{
 5497|  2.60k|    CHECK_BINOP(aa, bb);
  ------------------
  |  | 1844|  2.60k|    do {                                                \
  |  | 1845|  2.60k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  2.60k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  5.21k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  2.60k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  2.60k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 2.60k]
  |  |  |  Branch (1845:33): [True: 0, False: 2.60k]
  |  |  ------------------
  |  | 1846|  2.60k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  2.60k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 2.60k]
  |  |  ------------------
  ------------------
 5498|  2.60k|    PyLongObject *a = (PyLongObject*)aa;
 5499|  2.60k|    PyLongObject *b = (PyLongObject*)bb;
 5500|       |
 5501|  2.60k|    if (_PyLong_IsNegative(b)) {
  ------------------
  |  Branch (5501:9): [True: 0, False: 2.60k]
  ------------------
 5502|      0|        PyErr_SetString(PyExc_ValueError, "negative shift count");
 5503|      0|        return NULL;
 5504|      0|    }
 5505|  2.60k|    if (_PyLong_IsZero(a)) {
  ------------------
  |  Branch (5505:9): [True: 2.33k, False: 273]
  ------------------
 5506|  2.33k|        return PyLong_FromLong(0);
 5507|  2.33k|    }
 5508|       |
 5509|    273|    int64_t shiftby;
 5510|    273|    if (PyLong_AsInt64(bb, &shiftby) < 0) {
  ------------------
  |  Branch (5510:9): [True: 0, False: 273]
  ------------------
 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|    273|    return long_lshift_int64(a, shiftby);
 5518|    273|}
longobject.c:long_rshift:
 5398|  9.42k|{
 5399|  9.42k|    int64_t shiftby;
 5400|       |
 5401|  9.42k|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|  9.42k|    do {                                                \
  |  | 1845|  9.42k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  9.42k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  18.8k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  9.42k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  9.42k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 9.42k]
  |  |  |  Branch (1845:33): [True: 0, False: 9.42k]
  |  |  ------------------
  |  | 1846|  9.42k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  9.42k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 9.42k]
  |  |  ------------------
  ------------------
 5402|       |
 5403|  9.42k|    if (_PyLong_IsNegative((PyLongObject *)b)) {
  ------------------
  |  Branch (5403:9): [True: 0, False: 9.42k]
  ------------------
 5404|      0|        PyErr_SetString(PyExc_ValueError, "negative shift count");
 5405|      0|        return NULL;
 5406|      0|    }
 5407|  9.42k|    if (_PyLong_IsZero((PyLongObject *)a)) {
  ------------------
  |  Branch (5407:9): [True: 0, False: 9.42k]
  ------------------
 5408|      0|        return PyLong_FromLong(0);
 5409|      0|    }
 5410|  9.42k|    if (PyLong_AsInt64(b, &shiftby) < 0) {
  ------------------
  |  Branch (5410:9): [True: 0, False: 9.42k]
  ------------------
 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|  9.42k|    return _PyLong_Rshift(a, shiftby);
 5423|  9.42k|}
longobject.c:long_and:
 5695|    108|{
 5696|    108|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|    108|    do {                                                \
  |  | 1845|    108|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|    108|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    216|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|    108|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    108|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 108]
  |  |  |  Branch (1845:33): [True: 0, False: 108]
  |  |  ------------------
  |  | 1846|    108|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|    108|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 108]
  |  |  ------------------
  ------------------
 5697|    108|    PyLongObject *x = (PyLongObject*)a;
 5698|    108|    PyLongObject *y = (PyLongObject*)b;
 5699|    108|    if (_PyLong_IsCompact(x) && _PyLong_IsCompact(y)) {
  ------------------
  |  Branch (5699:9): [True: 84, False: 24]
  |  Branch (5699:33): [True: 60, False: 24]
  ------------------
 5700|     60|        return (PyObject*)_PyLong_FromSTwoDigits(medium_value(x) & medium_value(y));
  ------------------
  |  |   27|     60|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      return (PyObject*)_PyLong_FromSTwoDigits(medium_value(x) & medium_value(y));
  ------------------
  |  |   27|     60|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5701|     60|    }
 5702|     48|    return long_bitwise(x, '&', y);
 5703|    108|}
longobject.c:long_bitwise:
 5571|     48|{
 5572|     48|    int nega, negb, negz;
 5573|     48|    Py_ssize_t size_a, size_b, size_z, i;
 5574|     48|    PyLongObject *z;
 5575|       |
 5576|     48|    PyLongObject *new_a = NULL;
 5577|     48|    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|     48|    size_a = _PyLong_DigitCount(a);
 5585|     48|    size_b = _PyLong_DigitCount(b);
 5586|       |    /* Swap a and b if necessary to ensure size_a >= size_b. */
 5587|     48|    if (size_a < size_b) {
  ------------------
  |  Branch (5587:9): [True: 24, False: 24]
  ------------------
 5588|     24|        z = a; a = b; b = z;
 5589|     24|        size_z = size_a; size_a = size_b; size_b = size_z;
 5590|     24|    }
 5591|       |
 5592|       |    /* If a is negative, replace it by its two's complement. */
 5593|     48|    nega = _PyLong_IsNegative(a);
 5594|     48|    if (nega) {
  ------------------
  |  Branch (5594:9): [True: 0, False: 48]
  ------------------
 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|     48|    negb = _PyLong_IsNegative(b);
 5605|     48|    if (negb) {
  ------------------
  |  Branch (5605:9): [True: 0, False: 48]
  ------------------
 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|     48|    switch (op) {
 5624|      0|    case '^':
  ------------------
  |  Branch (5624:5): [True: 0, False: 48]
  ------------------
 5625|      0|        negz = nega ^ negb;
 5626|      0|        size_z = size_a;
 5627|      0|        break;
 5628|     48|    case '&':
  ------------------
  |  Branch (5628:5): [True: 48, False: 0]
  ------------------
 5629|     48|        negz = nega & negb;
 5630|     48|        size_z = negb ? size_a : size_b;
  ------------------
  |  Branch (5630:18): [True: 0, False: 48]
  ------------------
 5631|     48|        break;
 5632|      0|    case '|':
  ------------------
  |  Branch (5632:5): [True: 0, False: 48]
  ------------------
 5633|      0|        negz = nega | negb;
 5634|      0|        size_z = negb ? size_b : size_a;
  ------------------
  |  Branch (5634:18): [True: 0, False: 0]
  ------------------
 5635|      0|        break;
 5636|      0|    default:
  ------------------
  |  Branch (5636:5): [True: 0, False: 48]
  ------------------
 5637|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 5638|     48|    }
 5639|       |
 5640|     48|    if ((size_z + negz) == 0) {
  ------------------
  |  Branch (5640:9): [True: 0, False: 48]
  ------------------
 5641|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5642|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5643|      0|        return get_small_int(0);
 5644|      0|    }
 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|     48|    z = long_alloc(size_z + negz);
 5649|     48|    if (z == NULL) {
  ------------------
  |  Branch (5649:9): [True: 0, False: 48]
  ------------------
 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|     48|    switch(op) {
 5657|     48|    case '&':
  ------------------
  |  Branch (5657:5): [True: 48, False: 0]
  ------------------
 5658|    120|        for (i = 0; i < size_b; ++i)
  ------------------
  |  Branch (5658:21): [True: 72, False: 48]
  ------------------
 5659|     72|            z->long_value.ob_digit[i] = a->long_value.ob_digit[i] & b->long_value.ob_digit[i];
 5660|     48|        break;
 5661|      0|    case '|':
  ------------------
  |  Branch (5661:5): [True: 0, False: 48]
  ------------------
 5662|      0|        for (i = 0; i < size_b; ++i)
  ------------------
  |  Branch (5662:21): [True: 0, False: 0]
  ------------------
 5663|      0|            z->long_value.ob_digit[i] = a->long_value.ob_digit[i] | b->long_value.ob_digit[i];
 5664|      0|        break;
 5665|      0|    case '^':
  ------------------
  |  Branch (5665:5): [True: 0, False: 48]
  ------------------
 5666|      0|        for (i = 0; i < size_b; ++i)
  ------------------
  |  Branch (5666:21): [True: 0, False: 0]
  ------------------
 5667|      0|            z->long_value.ob_digit[i] = a->long_value.ob_digit[i] ^ b->long_value.ob_digit[i];
 5668|      0|        break;
 5669|      0|    default:
  ------------------
  |  Branch (5669:5): [True: 0, False: 48]
  ------------------
 5670|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 5671|     48|    }
 5672|       |
 5673|       |    /* Copy any remaining digits of a, inverting if necessary. */
 5674|     48|    if (op == '^' && negb)
  ------------------
  |  Branch (5674:9): [True: 0, False: 48]
  |  Branch (5674:22): [True: 0, False: 0]
  ------------------
 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|     48|    else if (i < size_z)
  ------------------
  |  Branch (5677:14): [True: 0, False: 48]
  ------------------
 5678|      0|        memcpy(&z->long_value.ob_digit[i], &a->long_value.ob_digit[i],
 5679|      0|               (size_z-i)*sizeof(digit));
 5680|       |
 5681|       |    /* Complement result if negative. */
 5682|     48|    if (negz) {
  ------------------
  |  Branch (5682:9): [True: 0, False: 48]
  ------------------
 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|     48|    Py_XDECREF(new_a);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5689|     48|    Py_XDECREF(new_b);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5690|     48|    return (PyObject *)maybe_small_long(long_normalize(z));
 5691|     48|}
longobject.c:long_xor:
 5707|      3|{
 5708|      3|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|      3|    do {                                                \
  |  | 1845|      3|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|      3|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      6|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|      3|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      3|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 3]
  |  |  |  Branch (1845:33): [True: 0, False: 3]
  |  |  ------------------
  |  | 1846|      3|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|      3|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 3]
  |  |  ------------------
  ------------------
 5709|      3|    PyLongObject *x = (PyLongObject*)a;
 5710|      3|    PyLongObject *y = (PyLongObject*)b;
 5711|      3|    if (_PyLong_IsCompact(x) && _PyLong_IsCompact(y)) {
  ------------------
  |  Branch (5711:9): [True: 3, False: 0]
  |  Branch (5711:33): [True: 3, False: 0]
  ------------------
 5712|      3|        return (PyObject*)_PyLong_FromSTwoDigits(medium_value(x) ^ medium_value(y));
  ------------------
  |  |   27|      3|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      return (PyObject*)_PyLong_FromSTwoDigits(medium_value(x) ^ medium_value(y));
  ------------------
  |  |   27|      3|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5713|      3|    }
 5714|      0|    return long_bitwise(x, '^', y);
 5715|      3|}
longobject.c:long_or:
 5719|     23|{
 5720|     23|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|     23|    do {                                                \
  |  | 1845|     23|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|     23|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     46|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|     23|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     23|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 23]
  |  |  |  Branch (1845:33): [True: 0, False: 23]
  |  |  ------------------
  |  | 1846|     23|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|     23|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 23]
  |  |  ------------------
  ------------------
 5721|     23|    PyLongObject *x = (PyLongObject*)a;
 5722|     23|    PyLongObject *y = (PyLongObject*)b;
 5723|     23|    if (_PyLong_IsCompact(x) && _PyLong_IsCompact(y)) {
  ------------------
  |  Branch (5723:9): [True: 23, False: 0]
  |  Branch (5723:33): [True: 23, False: 0]
  ------------------
 5724|     23|        return (PyObject*)_PyLong_FromSTwoDigits(medium_value(x) | medium_value(y));
  ------------------
  |  |   27|     23|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      return (PyObject*)_PyLong_FromSTwoDigits(medium_value(x) | medium_value(y));
  ------------------
  |  |   27|     23|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5725|     23|    }
 5726|      0|    return long_bitwise(x, '|', y);
 5727|     23|}
longobject.c:long_div:
 4584|      2|{
 4585|      2|    PyLongObject *div;
 4586|       |
 4587|      2|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|      2|    do {                                                \
  |  | 1845|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|      2|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 2]
  |  |  |  Branch (1845:33): [True: 0, False: 2]
  |  |  ------------------
  |  | 1846|      2|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4588|       |
 4589|      2|    if (_PyLong_DigitCount((PyLongObject*)a) == 1 && _PyLong_DigitCount((PyLongObject*)b) == 1) {
  ------------------
  |  Branch (4589:9): [True: 0, False: 2]
  |  Branch (4589:54): [True: 0, False: 0]
  ------------------
 4590|      0|        return fast_floor_div((PyLongObject*)a, (PyLongObject*)b);
 4591|      0|    }
 4592|       |
 4593|      2|    if (l_divmod((PyLongObject*)a, (PyLongObject*)b, &div, NULL) < 0)
  ------------------
  |  Branch (4593:9): [True: 0, False: 2]
  ------------------
 4594|      0|        div = NULL;
 4595|      2|    return (PyObject *)div;
 4596|      2|}
longobject.c:long_hash:
 3672|  30.7M|{
 3673|  30.7M|    PyLongObject *v = (PyLongObject *)obj;
 3674|  30.7M|    Py_uhash_t x;
 3675|  30.7M|    Py_ssize_t i;
 3676|  30.7M|    int sign;
 3677|       |
 3678|  30.7M|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (3678:9): [True: 30.7M, False: 1.21k]
  ------------------
 3679|  30.7M|        x = (Py_uhash_t)_PyLong_CompactValue(v);
 3680|  30.7M|        if (x == (Py_uhash_t)-1) {
  ------------------
  |  Branch (3680:13): [True: 0, False: 30.7M]
  ------------------
 3681|      0|            x = (Py_uhash_t)-2;
 3682|      0|        }
 3683|  30.7M|        return x;
 3684|  30.7M|    }
 3685|  1.21k|    i = _PyLong_DigitCount(v);
 3686|  1.21k|    sign = _PyLong_NonCompactSign(v);
 3687|       |
 3688|       |    // unroll first digit
 3689|  1.21k|    Py_BUILD_ASSERT(PyHASH_BITS > PyLong_SHIFT);
  ------------------
  |  |  167|  1.21k|        do { \
  |  |  168|  1.21k|            static_assert((cond), #cond); \
  |  |  169|  1.21k|        } while (0)
  |  |  ------------------
  |  |  |  Branch (169:18): [Folded, False: 1.21k]
  |  |  ------------------
  ------------------
 3690|  1.21k|    assert(i >= 1);
  ------------------
  |  Branch (3690:5): [True: 1.21k, False: 0]
  ------------------
 3691|  1.21k|    --i;
 3692|  1.21k|    x = v->long_value.ob_digit[i];
 3693|  1.21k|    assert(x < PyHASH_MODULUS);
  ------------------
  |  Branch (3693:5): [True: 1.21k, False: 0]
  ------------------
 3694|       |
 3695|  1.21k|#if PyHASH_BITS >= 2 * PyLong_SHIFT
 3696|       |    // unroll second digit
 3697|  1.21k|    assert(i >= 1);
  ------------------
  |  Branch (3697:5): [True: 1.21k, False: 0]
  ------------------
 3698|  1.21k|    --i;
 3699|  1.21k|    x <<= PyLong_SHIFT;
  ------------------
  |  |   47|  1.21k|#define PyLong_SHIFT    30
  ------------------
 3700|  1.21k|    x += v->long_value.ob_digit[i];
 3701|  1.21k|    assert(x < PyHASH_MODULUS);
  ------------------
  |  Branch (3701:5): [True: 1.21k, False: 0]
  ------------------
 3702|  1.21k|#endif
 3703|       |
 3704|  1.21k|    while (--i >= 0) {
  ------------------
  |  Branch (3704:12): [True: 0, False: 1.21k]
  ------------------
 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|      0|        x = ((x << PyLong_SHIFT) & PyHASH_MODULUS) |
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
                      x = ((x << PyLong_SHIFT) & PyHASH_MODULUS) |
  ------------------
  |  |   18|      0|#define PyHASH_MODULUS (((size_t)1 << PyHASH_BITS) - 1)
  |  |  ------------------
  |  |  |  |   13|      0|#  define PyHASH_BITS 61
  |  |  ------------------
  ------------------
 3731|      0|            (x >> (PyHASH_BITS - PyLong_SHIFT));
  ------------------
  |  |   13|      0|#  define PyHASH_BITS 61
  ------------------
                          (x >> (PyHASH_BITS - PyLong_SHIFT));
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
 3732|      0|        x += v->long_value.ob_digit[i];
 3733|      0|        if (x >= PyHASH_MODULUS)
  ------------------
  |  |   18|      0|#define PyHASH_MODULUS (((size_t)1 << PyHASH_BITS) - 1)
  |  |  ------------------
  |  |  |  |   13|      0|#  define PyHASH_BITS 61
  |  |  ------------------
  ------------------
  |  Branch (3733:13): [True: 0, False: 0]
  ------------------
 3734|      0|            x -= PyHASH_MODULUS;
  ------------------
  |  |   18|      0|#define PyHASH_MODULUS (((size_t)1 << PyHASH_BITS) - 1)
  |  |  ------------------
  |  |  |  |   13|      0|#  define PyHASH_BITS 61
  |  |  ------------------
  ------------------
 3735|      0|    }
 3736|  1.21k|    x = x * sign;
 3737|  1.21k|    if (x == (Py_uhash_t)-1)
  ------------------
  |  Branch (3737:9): [True: 0, False: 1.21k]
  ------------------
 3738|      0|        x = (Py_uhash_t)-2;
 3739|  1.21k|    return (Py_hash_t)x;
 3740|  1.21k|}
longobject.c:long_richcompare:
 3624|  36.9M|{
 3625|  36.9M|    Py_ssize_t result;
 3626|  36.9M|    CHECK_BINOP(self, other);
  ------------------
  |  | 1844|  36.9M|    do {                                                \
  |  | 1845|  36.9M|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  36.9M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  73.9M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  36.9M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  36.9M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 36.9M]
  |  |  |  Branch (1845:33): [True: 454, False: 36.9M]
  |  |  ------------------
  |  | 1846|  36.9M|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|    454|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|    454|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  36.9M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 36.9M]
  |  |  ------------------
  ------------------
 3627|  36.9M|    if (self == other)
  ------------------
  |  Branch (3627:9): [True: 3.62M, False: 33.3M]
  ------------------
 3628|  3.62M|        result = 0;
 3629|  33.3M|    else
 3630|  33.3M|        result = long_compare((PyLongObject*)self, (PyLongObject*)other);
 3631|  36.9M|    Py_RETURN_RICHCOMPARE(result, 0, op);
  ------------------
  |  |  674|  36.9M|    do {                                                                    \
  |  |  675|  36.9M|        switch (op) {                                                       \
  |  |  676|  21.9M|        case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  654|  21.9M|#define Py_EQ 2
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|   735k|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|   735k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   735k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   735k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|  21.2M|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|  21.2M|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  21.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  21.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (676:9): [True: 21.9M, False: 14.9M]
  |  |  |  Branch (676:25): [True: 735k, False: 21.2M]
  |  |  ------------------
  |  |  677|  21.9M|        case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  655|   128k|#define Py_NE 3
  |  |  ------------------
  |  |                       case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|     61|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|     61|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     61|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     61|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|   128k|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|   128k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   128k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   128k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (677:9): [True: 128k, False: 36.8M]
  |  |  |  Branch (677:25): [True: 61, False: 128k]
  |  |  ------------------
  |  |  678|  12.3M|        case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  652|  12.3M|#define Py_LT 0
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|   868k|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|   868k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   868k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   868k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|  11.4M|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|  11.4M|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  11.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  11.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (678:9): [True: 12.3M, False: 24.6M]
  |  |  |  Branch (678:25): [True: 868k, False: 11.4M]
  |  |  ------------------
  |  |  679|  12.3M|        case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  656|  2.44M|#define Py_GT 4
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|   399k|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|   399k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   399k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   399k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|  2.04M|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|  2.04M|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (679:9): [True: 2.44M, False: 34.5M]
  |  |  |  Branch (679:25): [True: 399k, False: 2.04M]
  |  |  ------------------
  |  |  680|  2.44M|        case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  653|   118k|#define Py_LE 1
  |  |  ------------------
  |  |                       case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|     97|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|     97|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     97|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     97|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|   118k|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|   118k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   118k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   118k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (680:9): [True: 118k, False: 36.8M]
  |  |  |  Branch (680:25): [True: 97, False: 118k]
  |  |  ------------------
  |  |  681|   118k|        case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  657|    153|#define Py_GE 5
  |  |  ------------------
  |  |                       case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|    136|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|    136|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    136|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    136|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|     17|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|     17|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     17|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     17|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (681:9): [True: 153, False: 36.9M]
  |  |  |  Branch (681:25): [True: 136, False: 17]
  |  |  ------------------
  |  |  682|    153|        default:                                                            \
  |  |  ------------------
  |  |  |  Branch (682:9): [True: 0, False: 36.9M]
  |  |  ------------------
  |  |  683|      0|            Py_UNREACHABLE();                                               \
  |  |  ------------------
  |  |  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|  36.9M|        }                                                                   \
  |  |  685|  36.9M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3632|  36.9M|}
longobject.c:int_bit_length_impl:
 6292|      1|{
 6293|      1|    int64_t nbits = _PyLong_NumBits(self);
 6294|      1|    assert(nbits >= 0);
  ------------------
  |  Branch (6294:5): [True: 1, False: 0]
  ------------------
 6295|      1|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (6295:5): [True: 1, False: 0]
  ------------------
 6296|      1|    return PyLong_FromInt64(nbits);
 6297|      1|}
longobject.c:int_to_bytes_impl:
 6393|      2|{
 6394|      2|    int little_endian;
 6395|      2|    if (byteorder == NULL)
  ------------------
  |  Branch (6395:9): [True: 0, False: 2]
  ------------------
 6396|      0|        little_endian = 0;
 6397|      2|    else if (_PyUnicode_Equal(byteorder, &_Py_ID(little)))
  ------------------
  |  |  920|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6397:14): [True: 2, False: 0]
  ------------------
 6398|      2|        little_endian = 1;
 6399|      0|    else if (_PyUnicode_Equal(byteorder, &_Py_ID(big)))
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6399:14): [True: 0, False: 0]
  ------------------
 6400|      0|        little_endian = 0;
 6401|      0|    else {
 6402|      0|        PyErr_SetString(PyExc_ValueError,
 6403|      0|            "byteorder must be either 'little' or 'big'");
 6404|      0|        return NULL;
 6405|      0|    }
 6406|       |
 6407|      2|    PyBytesWriter *writer = PyBytesWriter_Create(length);
 6408|      2|    if (writer == NULL) {
  ------------------
  |  Branch (6408:9): [True: 0, False: 2]
  ------------------
 6409|      0|        return NULL;
 6410|      0|    }
 6411|       |
 6412|      2|    if (_PyLong_AsByteArray((PyLongObject *)self,
  ------------------
  |  Branch (6412:9): [True: 0, False: 2]
  ------------------
 6413|      2|                            PyBytesWriter_GetData(writer),
 6414|      2|                            length, little_endian, is_signed, 1) < 0) {
 6415|      0|        PyBytesWriter_Discard(writer);
 6416|      0|        return NULL;
 6417|      0|    }
 6418|       |
 6419|      2|    return PyBytesWriter_Finish(writer);
 6420|      2|}
longobject.c:int_from_bytes_impl:
 6450|     72|{
 6451|     72|    int little_endian;
 6452|     72|    PyObject *long_obj, *bytes;
 6453|       |
 6454|     72|    if (byteorder == NULL)
  ------------------
  |  Branch (6454:9): [True: 0, False: 72]
  ------------------
 6455|      0|        little_endian = 0;
 6456|     72|    else if (_PyUnicode_Equal(byteorder, &_Py_ID(little)))
  ------------------
  |  |  920|     72|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     72|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     72|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6456:14): [True: 72, False: 0]
  ------------------
 6457|     72|        little_endian = 1;
 6458|      0|    else if (_PyUnicode_Equal(byteorder, &_Py_ID(big)))
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6458:14): [True: 0, False: 0]
  ------------------
 6459|      0|        little_endian = 0;
 6460|      0|    else {
 6461|      0|        PyErr_SetString(PyExc_ValueError,
 6462|      0|            "byteorder must be either 'little' or 'big'");
 6463|      0|        return NULL;
 6464|      0|    }
 6465|       |
 6466|       |    /* Fast-path exact bytes. */
 6467|     72|    if (PyBytes_CheckExact(bytes_obj)) {
  ------------------
  |  |   29|     72|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|     72|#  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6468|     72|        long_obj = _PyLong_FromByteArray(
 6469|     72|            (unsigned char *)PyBytes_AS_STRING(bytes_obj), Py_SIZE(bytes_obj),
  ------------------
  |  |   27|     72|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          (unsigned char *)PyBytes_AS_STRING(bytes_obj), Py_SIZE(bytes_obj),
  ------------------
  |  |  214|     72|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6470|     72|            little_endian, is_signed);
 6471|     72|    }
 6472|       |    /* Use buffer protocol to avoid copies. */
 6473|      0|    else if (PyObject_CheckBuffer(bytes_obj)) {
  ------------------
  |  Branch (6473:14): [True: 0, False: 0]
  ------------------
 6474|      0|        Py_buffer view;
 6475|      0|        if (PyObject_GetBuffer(bytes_obj, &view, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (6475:13): [True: 0, False: 0]
  ------------------
 6476|      0|            return NULL;
 6477|      0|        }
 6478|      0|        long_obj = _PyLong_FromByteArray(view.buf, view.len, little_endian,
 6479|      0|            is_signed);
 6480|      0|        PyBuffer_Release(&view);
 6481|      0|    }
 6482|      0|    else {
 6483|       |        /* fallback: Construct a bytes then convert. */
 6484|      0|        bytes = PyObject_Bytes(bytes_obj);
 6485|      0|        if (bytes == NULL) {
  ------------------
  |  Branch (6485:13): [True: 0, False: 0]
  ------------------
 6486|      0|            return NULL;
 6487|      0|        }
 6488|      0|        long_obj = _PyLong_FromByteArray(
 6489|      0|            (unsigned char *)PyBytes_AS_STRING(bytes), Py_SIZE(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          (unsigned char *)PyBytes_AS_STRING(bytes), Py_SIZE(bytes),
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6490|      0|            little_endian, is_signed);
 6491|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6492|      0|    }
 6493|       |
 6494|     72|    if (long_obj != NULL && type != &PyLong_Type) {
  ------------------
  |  Branch (6494:9): [True: 72, False: 0]
  |  Branch (6494:29): [True: 0, False: 72]
  ------------------
 6495|      0|        Py_SETREF(long_obj, PyObject_CallOneArg((PyObject *)type, long_obj));
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6496|      0|    }
 6497|       |
 6498|     72|    return long_obj;
 6499|     72|}
longobject.c:long_new_impl:
 5972|   508k|{
 5973|   508k|    Py_ssize_t base;
 5974|       |
 5975|   508k|    if (type != &PyLong_Type)
  ------------------
  |  Branch (5975:9): [True: 145, False: 508k]
  ------------------
 5976|    145|        return long_subtype_new(type, x, obase); /* Wimp out */
 5977|   508k|    if (x == NULL) {
  ------------------
  |  Branch (5977:9): [True: 1, False: 508k]
  ------------------
 5978|      1|        if (obase != NULL) {
  ------------------
  |  Branch (5978:13): [True: 0, False: 1]
  ------------------
 5979|      0|            PyErr_SetString(PyExc_TypeError,
 5980|      0|                            "int() missing string argument");
 5981|      0|            return NULL;
 5982|      0|        }
 5983|      1|        return PyLong_FromLong(0L);
 5984|      1|    }
 5985|       |    /* default base and limit, forward to standard implementation */
 5986|   508k|    if (obase == NULL)
  ------------------
  |  Branch (5986:9): [True: 144, False: 508k]
  ------------------
 5987|    144|        return PyNumber_Long(x);
 5988|       |
 5989|   508k|    base = PyNumber_AsSsize_t(obase, NULL);
 5990|   508k|    if (base == -1 && PyErr_Occurred())
  ------------------
  |  Branch (5990:9): [True: 0, False: 508k]
  |  Branch (5990:23): [True: 0, False: 0]
  ------------------
 5991|      0|        return NULL;
 5992|   508k|    if ((base != 0 && base < 2) || base > 36) {
  ------------------
  |  Branch (5992:10): [True: 508k, False: 0]
  |  Branch (5992:23): [True: 0, False: 508k]
  |  Branch (5992:36): [True: 0, False: 508k]
  ------------------
 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|   508k|    if (PyUnicode_Check(x))
  ------------------
  |  |  103|   508k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   508k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 4.34k, False: 504k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5999|  4.34k|        return PyLong_FromUnicodeObject(x, (int)base);
 6000|   504k|    else if (PyByteArray_Check(x) || PyBytes_Check(x)) {
  ------------------
  |  |   24|   504k|#define PyByteArray_Check(self) PyObject_TypeCheck((self), &PyByteArray_Type)
  |  |  ------------------
  |  |  |  |  378|  1.00M|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   504k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   504k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 504k, 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|   504k|        const char *string;
 6002|   504k|        if (PyByteArray_Check(x))
  ------------------
  |  |   24|   504k|#define PyByteArray_Check(self) PyObject_TypeCheck((self), &PyByteArray_Type)
  |  |  ------------------
  |  |  |  |  378|   504k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   504k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   504k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 504k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6003|   504k|            string = PyByteArray_AS_STRING(x);
  ------------------
  |  |   28|   504k|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|   504k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   504k|#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|   504k|        return _PyLong_FromBytes(string, Py_SIZE(x), (int)base);
  ------------------
  |  |  214|   504k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   504k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   504k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6007|   504k|    }
 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|   508k|}
longobject.c:long_subtype_new:
 6022|    145|{
 6023|    145|    PyLongObject *tmp, *newobj;
 6024|    145|    Py_ssize_t size, ndigits;
 6025|    145|    int sign;
 6026|       |
 6027|    145|    assert(PyType_IsSubtype(type, &PyLong_Type));
  ------------------
  |  Branch (6027:5): [True: 145, False: 0]
  ------------------
 6028|    145|    tmp = (PyLongObject *)long_new_impl(&PyLong_Type, x, obase);
 6029|    145|    if (tmp == NULL)
  ------------------
  |  Branch (6029:9): [True: 0, False: 145]
  ------------------
 6030|      0|        return NULL;
 6031|    145|    assert(PyLong_Check(tmp));
  ------------------
  |  Branch (6031:5): [True: 145, False: 0]
  ------------------
 6032|    145|    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|    145|    ndigits = size ? size : 1;
  ------------------
  |  Branch (6035:15): [True: 140, False: 5]
  ------------------
 6036|    145|    newobj = (PyLongObject *)type->tp_alloc(type, ndigits);
 6037|    145|    if (newobj == NULL) {
  ------------------
  |  Branch (6037:9): [True: 0, False: 145]
  ------------------
 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|    145|    assert(PyLong_Check(newobj));
  ------------------
  |  Branch (6041:5): [True: 145, False: 0]
  ------------------
 6042|    145|    if (_PyLong_IsCompact(tmp)) {
  ------------------
  |  Branch (6042:9): [True: 144, False: 1]
  ------------------
 6043|    144|        sign = _PyLong_CompactSign(tmp);
 6044|    144|    }
 6045|      1|    else {
 6046|      1|        sign = _PyLong_NonCompactSign(tmp);
 6047|      1|    }
 6048|    145|    _PyLong_InitTag(newobj);
 6049|    145|    _PyLong_SetSignAndDigitCount(newobj, sign, size);
 6050|    145|    memcpy(newobj->long_value.ob_digit, tmp->long_value.ob_digit,
 6051|    145|           ndigits * sizeof(digit));
 6052|    145|    Py_DECREF(tmp);
  ------------------
  |  |  430|    145|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    145|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    145|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6053|    145|    return (PyObject *)newobj;
 6054|    145|}
longobject.c:long_vectorcall:
 6530|   644k|{
 6531|   644k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|   644k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 6532|   644k|    if (kwnames != NULL) {
  ------------------
  |  Branch (6532:9): [True: 0, False: 644k]
  ------------------
 6533|      0|        PyThreadState *tstate = PyThreadState_GET();
  ------------------
  |  |   63|      0|#define PyThreadState_GET() PyThreadState_Get()
  ------------------
 6534|      0|        return _PyObject_MakeTpCall(tstate, type, args, nargs, kwnames);
 6535|      0|    }
 6536|   644k|    switch (nargs) {
 6537|      0|        case 0:
  ------------------
  |  Branch (6537:9): [True: 0, False: 644k]
  ------------------
 6538|      0|            return _PyLong_GetZero();
 6539|   136k|        case 1:
  ------------------
  |  Branch (6539:9): [True: 136k, False: 508k]
  ------------------
 6540|   136k|            return PyNumber_Long(args[0]);
 6541|   508k|        case 2:
  ------------------
  |  Branch (6541:9): [True: 508k, False: 136k]
  ------------------
 6542|   508k|            return long_new_impl(_PyType_CAST(type), args[0], args[1]);
  ------------------
  |  |  770|   508k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   508k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (6542:34): [True: 508k, False: 0]
  ------------------
 6543|      0|        default:
  ------------------
  |  Branch (6543:9): [True: 0, False: 644k]
  ------------------
 6544|      0|            return PyErr_Format(PyExc_TypeError,
 6545|      0|                                "int expected at most 2 arguments, got %zd",
 6546|      0|                                nargs);
 6547|   644k|    }
 6548|   644k|}

PyMemoryView_FromBuffer:
  771|   355k|{
  772|   355k|    _PyManagedBufferObject *mbuf;
  773|   355k|    PyObject *mv;
  774|       |
  775|   355k|    if (info->buf == NULL) {
  ------------------
  |  Branch (775:9): [True: 0, False: 355k]
  ------------------
  776|      0|        PyErr_SetString(PyExc_ValueError,
  777|      0|            "PyMemoryView_FromBuffer(): info->buf must not be NULL");
  778|      0|        return NULL;
  779|      0|    }
  780|       |
  781|   355k|    mbuf = mbuf_alloc();
  782|   355k|    if (mbuf == NULL)
  ------------------
  |  Branch (782:9): [True: 0, False: 355k]
  ------------------
  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|   355k|    mbuf->master = *info;
  788|   355k|    mbuf->master.obj = NULL;
  789|       |
  790|   355k|    mv = mbuf_add_view(mbuf, NULL);
  791|   355k|    Py_DECREF(mbuf);
  ------------------
  |  |  430|   355k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  792|       |
  793|   355k|    return mv;
  794|   355k|}
PyMemoryView_FromObject:
  855|     24|{
  856|     24|    return PyMemoryView_FromObjectAndFlags(v, PyBUF_FULL_RO);
  ------------------
  |  |  134|     24|#define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  122|     24|#define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|     24|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|     24|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  116|     24|#define PyBUF_FORMAT 0x0004
  |  |  ------------------
  ------------------
  857|     24|}
memoryobject.c:mbuf_dealloc:
  121|   355k|{
  122|   355k|    _PyManagedBufferObject *self = (_PyManagedBufferObject *)_self;
  123|   355k|    assert(self->exports == 0);
  ------------------
  |  Branch (123:5): [True: 355k, False: 0]
  ------------------
  124|   355k|    mbuf_release(self);
  125|   355k|    if (self->flags&_Py_MANAGED_BUFFER_FREE_FORMAT)
  ------------------
  |  |    9|   355k|#define _Py_MANAGED_BUFFER_FREE_FORMAT 0x002  /* free format */
  ------------------
  |  Branch (125:9): [True: 0, False: 355k]
  ------------------
  126|      0|        PyMem_Free(self->master.format);
  127|   355k|    PyObject_GC_Del(self);
  128|   355k|}
memoryobject.c:mbuf_release:
  108|   711k|{
  109|   711k|    if (self->flags&_Py_MANAGED_BUFFER_RELEASED)
  ------------------
  |  |    8|   711k|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  ------------------
  |  Branch (109:9): [True: 355k, False: 355k]
  ------------------
  110|   355k|        return;
  111|       |
  112|   355k|    self->flags |= _Py_MANAGED_BUFFER_RELEASED;
  ------------------
  |  |    8|   355k|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  ------------------
  113|       |
  114|       |    /* PyBuffer_Release() decrements master->obj and sets it to NULL. */
  115|   355k|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  509|   355k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  116|   355k|    PyBuffer_Release(&self->master);
  117|   355k|}
memoryobject.c:mbuf_traverse:
  132|      4|{
  133|      4|    _PyManagedBufferObject *self = (_PyManagedBufferObject *)_self;
  134|      4|    Py_VISIT(self->master.obj);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  135|      4|    return 0;
  136|      4|}
memoryobject.c:mbuf_alloc:
   73|   355k|{
   74|   355k|    _PyManagedBufferObject *mbuf;
   75|       |
   76|   355k|    mbuf = (_PyManagedBufferObject *)
   77|   355k|        PyObject_GC_New(_PyManagedBufferObject, &_PyManagedBuffer_Type);
  ------------------
  |  |  181|   355k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   78|   355k|    if (mbuf == NULL)
  ------------------
  |  Branch (78:9): [True: 0, False: 355k]
  ------------------
   79|      0|        return NULL;
   80|   355k|    mbuf->flags = 0;
   81|   355k|    mbuf->exports = 0;
   82|   355k|    mbuf->master.obj = NULL;
   83|   355k|    _PyObject_GC_TRACK(mbuf);
  ------------------
  |  |  507|   355k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   84|       |
   85|   355k|    return mbuf;
   86|   355k|}
memoryobject.c:mbuf_add_view:
  677|   355k|{
  678|   355k|    PyMemoryViewObject *mv;
  679|   355k|    Py_buffer *dest;
  680|       |
  681|   355k|    if (src == NULL)
  ------------------
  |  Branch (681:9): [True: 355k, False: 24]
  ------------------
  682|   355k|        src = &mbuf->master;
  683|       |
  684|   355k|    if (src->ndim > PyBUF_MAX_NDIM) {
  ------------------
  |  |  105|   355k|#define PyBUF_MAX_NDIM 64
  ------------------
  |  Branch (684:9): [True: 0, False: 355k]
  ------------------
  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|   355k|    mv = memory_alloc(src->ndim);
  692|   355k|    if (mv == NULL)
  ------------------
  |  Branch (692:9): [True: 0, False: 355k]
  ------------------
  693|      0|        return NULL;
  694|       |
  695|   355k|    dest = &mv->view;
  696|   355k|    init_shared_values(dest, src);
  697|   355k|    init_shape_strides(dest, src);
  698|   355k|    init_suboffsets(dest, src);
  699|   355k|    init_flags(mv);
  700|       |
  701|   355k|    mv->mbuf = (_PyManagedBufferObject*)Py_NewRef(mbuf);
  ------------------
  |  |  550|   355k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  702|   355k|    mbuf->exports++;
  703|       |
  704|   355k|    return (PyObject *)mv;
  705|   355k|}
memoryobject.c:memory_alloc:
  645|   355k|{
  646|   355k|    PyMemoryViewObject *mv;
  647|       |
  648|   355k|    mv = (PyMemoryViewObject *)
  649|   355k|        PyObject_GC_NewVar(PyMemoryViewObject, &PyMemoryView_Type, 3*ndim);
  ------------------
  |  |  183|   355k|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  650|   355k|    if (mv == NULL)
  ------------------
  |  Branch (650:9): [True: 0, False: 355k]
  ------------------
  651|      0|        return NULL;
  652|       |
  653|   355k|    mv->mbuf = NULL;
  654|   355k|    mv->hash = -1;
  655|   355k|    mv->flags = 0;
  656|   355k|    mv->exports = 0;
  657|   355k|    mv->view.ndim = ndim;
  658|   355k|    mv->view.shape = mv->ob_array;
  659|   355k|    mv->view.strides = mv->ob_array + ndim;
  660|   355k|    mv->view.suboffsets = mv->ob_array + 2 * ndim;
  661|   355k|    mv->weakreflist = NULL;
  662|       |
  663|   355k|    _PyObject_GC_TRACK(mv);
  ------------------
  |  |  507|   355k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  664|   355k|    return mv;
  665|   355k|}
memoryobject.c:init_flags:
  612|   355k|{
  613|   355k|    const Py_buffer *view = &mv->view;
  614|   355k|    int flags = 0;
  615|       |
  616|   355k|    switch (view->ndim) {
  617|      0|    case 0:
  ------------------
  |  Branch (617:5): [True: 0, False: 355k]
  ------------------
  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|   355k|    case 1:
  ------------------
  |  Branch (621:5): [True: 355k, False: 0]
  ------------------
  622|   355k|        if (MV_CONTIGUOUS_NDIM1(view))
  ------------------
  |  |  241|   355k|    ((view)->shape[0] == 1 || (view)->strides[0] == (view)->itemsize)
  |  |  ------------------
  |  |  |  Branch (241:6): [True: 0, False: 355k]
  |  |  |  Branch (241:31): [True: 355k, False: 0]
  |  |  ------------------
  ------------------
  623|   355k|            flags |= (_Py_MEMORYVIEW_C|_Py_MEMORYVIEW_FORTRAN);
  ------------------
  |  |   21|   355k|#define _Py_MEMORYVIEW_C           0x002  /* C-contiguous layout */
  ------------------
                          flags |= (_Py_MEMORYVIEW_C|_Py_MEMORYVIEW_FORTRAN);
  ------------------
  |  |   22|   355k|#define _Py_MEMORYVIEW_FORTRAN     0x004  /* Fortran contiguous layout */
  ------------------
  624|   355k|        break;
  625|      0|    default:
  ------------------
  |  Branch (625:5): [True: 0, False: 355k]
  ------------------
  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|   355k|    }
  632|       |
  633|   355k|    if (view->suboffsets) {
  ------------------
  |  Branch (633:9): [True: 0, False: 355k]
  ------------------
  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|   355k|    mv->flags = flags;
  639|   355k|}
memoryobject.c:PyMemoryView_FromObjectAndFlags:
  802|     24|{
  803|     24|    _PyManagedBufferObject *mbuf;
  804|       |
  805|     24|    if (PyMemoryView_Check(v)) {
  ------------------
  |  |   11|     24|#define PyMemoryView_Check(op) Py_IS_TYPE((op), &PyMemoryView_Type)
  |  |  ------------------
  |  |  |  |  215|     24|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  806|      0|        PyMemoryViewObject *mv = (PyMemoryViewObject *)v;
  807|      0|        CHECK_RELEASED(mv);
  ------------------
  |  |  185|      0|    if (BASE_INACCESSIBLE(mv)) {                                  \
  |  |  ------------------
  |  |  |  |  181|      0|    (((PyMemoryViewObject *)mv)->flags&_Py_MEMORYVIEW_RELEASED || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (181:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  182|      0|     ((PyMemoryViewObject *)mv)->mbuf->flags&_Py_MANAGED_BUFFER_RELEASED)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|      0|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (182:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  186|      0|        PyErr_SetString(PyExc_ValueError,                         \
  |  |  187|      0|            "operation forbidden on released memoryview object"); \
  |  |  188|      0|        return NULL;                                              \
  |  |  189|      0|    }
  ------------------
  808|      0|        CHECK_RESTRICTED(mv);
  ------------------
  |  |  199|      0|    if (((PyMemoryViewObject *)(mv))->flags & _Py_MEMORYVIEW_RESTRICTED) { \
  |  |  ------------------
  |  |  |  |   25|      0|#define _Py_MEMORYVIEW_RESTRICTED  0x020  /* Disallow new references to the memoryview's buffer */
  |  |  ------------------
  |  |  |  Branch (199:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  200|      0|        PyErr_SetString(PyExc_ValueError,                                  \
  |  |  201|      0|            "cannot create new view on restricted memoryview");            \
  |  |  202|      0|        return NULL;                                                       \
  |  |  203|      0|    }
  ------------------
  809|      0|        return mbuf_add_view(mv->mbuf, &mv->view);
  810|      0|    }
  811|     24|    else if (PyObject_CheckBuffer(v)) {
  ------------------
  |  Branch (811:14): [True: 24, False: 0]
  ------------------
  812|     24|        PyObject *ret;
  813|     24|        mbuf = (_PyManagedBufferObject *)_PyManagedBuffer_FromObject(v, flags);
  814|     24|        if (mbuf == NULL)
  ------------------
  |  Branch (814:13): [True: 0, False: 24]
  ------------------
  815|      0|            return NULL;
  816|     24|        ret = mbuf_add_view(mbuf, NULL);
  817|     24|        Py_DECREF(mbuf);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  818|     24|        return ret;
  819|     24|    }
  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|     24|}
memoryobject.c:_PyManagedBuffer_FromObject:
   90|     24|{
   91|     24|    _PyManagedBufferObject *mbuf;
   92|       |
   93|     24|    mbuf = mbuf_alloc();
   94|     24|    if (mbuf == NULL)
  ------------------
  |  Branch (94:9): [True: 0, False: 24]
  ------------------
   95|      0|        return NULL;
   96|       |
   97|     24|    if (PyObject_GetBuffer(base, &mbuf->master, flags) < 0) {
  ------------------
  |  Branch (97:9): [True: 0, False: 24]
  ------------------
   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|     24|    return (PyObject *)mbuf;
  104|     24|}
memoryobject.c:init_shared_values:
  544|   355k|{
  545|   355k|    dest->obj = src->obj;
  546|   355k|    dest->buf = src->buf;
  547|   355k|    dest->len = src->len;
  548|   355k|    dest->itemsize = src->itemsize;
  549|   355k|    dest->readonly = src->readonly;
  550|   355k|    dest->format = src->format ? src->format : "B";
  ------------------
  |  Branch (550:20): [True: 48, False: 355k]
  ------------------
  551|   355k|    dest->internal = src->internal;
  552|   355k|}
memoryobject.c:init_shape_strides:
  557|   355k|{
  558|   355k|    Py_ssize_t i;
  559|       |
  560|   355k|    if (src->ndim == 0) {
  ------------------
  |  Branch (560:9): [True: 0, False: 355k]
  ------------------
  561|      0|        dest->shape = NULL;
  562|      0|        dest->strides = NULL;
  563|      0|        return;
  564|      0|    }
  565|   355k|    if (src->ndim == 1) {
  ------------------
  |  Branch (565:9): [True: 355k, False: 0]
  ------------------
  566|   355k|        dest->shape[0] = src->shape ? src->shape[0] : src->len / src->itemsize;
  ------------------
  |  Branch (566:26): [True: 355k, False: 0]
  ------------------
  567|   355k|        dest->strides[0] = src->strides ? src->strides[0] : src->itemsize;
  ------------------
  |  Branch (567:28): [True: 48, False: 355k]
  ------------------
  568|   355k|        return;
  569|   355k|    }
  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|   355k|{
  585|   355k|    Py_ssize_t i;
  586|       |
  587|   355k|    if (src->suboffsets == NULL) {
  ------------------
  |  Branch (587:9): [True: 355k, False: 0]
  ------------------
  588|   355k|        dest->suboffsets = NULL;
  589|   355k|        return;
  590|   355k|    }
  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:memory_dealloc:
 1152|   355k|{
 1153|   355k|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 1154|   355k|    assert(get_exports(self) == 0);
  ------------------
  |  Branch (1154:5): [True: 355k, False: 0]
  ------------------
 1155|   355k|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  509|   355k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1156|   355k|    _memory_release(self);
 1157|   355k|    Py_CLEAR(self->mbuf);
  ------------------
  |  |  484|   355k|    do { \
  |  |  485|   355k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|   355k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|   355k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|   355k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|   355k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 355k, False: 0]
  |  |  ------------------
  |  |  488|   355k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|   355k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|   355k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|   355k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|   355k|        } \
  |  |  491|   355k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 355k]
  |  |  ------------------
  ------------------
 1158|   355k|    if (self->weakreflist != NULL)
  ------------------
  |  Branch (1158:9): [True: 0, False: 355k]
  ------------------
 1159|      0|        PyObject_ClearWeakRefs((PyObject *) self);
 1160|   355k|    PyObject_GC_Del(self);
 1161|   355k|}
memoryobject.c:get_exports:
 1091|   711k|{
 1092|       |#ifdef Py_GIL_DISABLED
 1093|       |    return _Py_atomic_load_ssize_relaxed(&buf->exports);
 1094|       |#else
 1095|   711k|    return buf->exports;
 1096|   711k|#endif
 1097|   711k|}
memoryobject.c:_memory_release:
 1110|   355k|{
 1111|   355k|    assert(get_exports(self) == 0);
  ------------------
  |  Branch (1111:5): [True: 355k, False: 0]
  ------------------
 1112|   355k|    if (self->flags & _Py_MEMORYVIEW_RELEASED)
  ------------------
  |  |   20|   355k|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  ------------------
  |  Branch (1112:9): [True: 0, False: 355k]
  ------------------
 1113|      0|        return;
 1114|       |
 1115|   355k|    self->flags |= _Py_MEMORYVIEW_RELEASED;
  ------------------
  |  |   20|   355k|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  ------------------
 1116|   355k|    assert(self->mbuf->exports > 0);
  ------------------
  |  Branch (1116:5): [True: 355k, False: 0]
  ------------------
 1117|   355k|    if (--self->mbuf->exports == 0) {
  ------------------
  |  Branch (1117:9): [True: 355k, False: 24]
  ------------------
 1118|   355k|        mbuf_release(self->mbuf);
 1119|   355k|    }
 1120|   355k|}
memoryobject.c:memory_subscript:
 2661|     24|{
 2662|     24|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 2663|     24|    Py_buffer *view;
 2664|     24|    view = &(self->view);
 2665|       |
 2666|     24|    CHECK_RELEASED(self);
  ------------------
  |  |  185|     24|    if (BASE_INACCESSIBLE(mv)) {                                  \
  |  |  ------------------
  |  |  |  |  181|     24|    (((PyMemoryViewObject *)mv)->flags&_Py_MEMORYVIEW_RELEASED || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|     48|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (181:6): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  182|     24|     ((PyMemoryViewObject *)mv)->mbuf->flags&_Py_MANAGED_BUFFER_RELEASED)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|     24|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (182:6): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  186|      0|        PyErr_SetString(PyExc_ValueError,                         \
  |  |  187|      0|            "operation forbidden on released memoryview object"); \
  |  |  188|      0|        return NULL;                                              \
  |  |  189|      0|    }
  ------------------
 2667|       |
 2668|     24|    if (view->ndim == 0) {
  ------------------
  |  Branch (2668:9): [True: 0, False: 24]
  ------------------
 2669|      0|        if (PyTuple_Check(key) && PyTuple_GET_SIZE(key) == 0) {
  ------------------
  |  |   27|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (PyTuple_Check(key) && PyTuple_GET_SIZE(key) == 0) {
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2669:35): [True: 0, False: 0]
  ------------------
 2670|      0|            const char *fmt = adjust_fmt(view);
 2671|      0|            if (fmt == NULL)
  ------------------
  |  Branch (2671:17): [True: 0, False: 0]
  ------------------
 2672|      0|                return NULL;
 2673|      0|            return unpack_single(self, view->buf, fmt);
 2674|      0|        }
 2675|      0|        else if (key == Py_Ellipsis) {
  ------------------
  |  |   14|      0|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
  |  Branch (2675:18): [True: 0, False: 0]
  ------------------
 2676|      0|            return Py_NewRef(self);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2677|      0|        }
 2678|      0|        else {
 2679|      0|            PyErr_SetString(PyExc_TypeError,
 2680|      0|                "invalid indexing of 0-dim memory");
 2681|      0|            return NULL;
 2682|      0|        }
 2683|      0|    }
 2684|       |
 2685|     24|    if (_PyIndex_Check(key)) {
  ------------------
  |  Branch (2685:9): [True: 0, False: 24]
  ------------------
 2686|      0|        Py_ssize_t index;
 2687|      0|        index = PyNumber_AsSsize_t(key, PyExc_IndexError);
 2688|      0|        if (index == -1 && PyErr_Occurred())
  ------------------
  |  Branch (2688:13): [True: 0, False: 0]
  |  Branch (2688:28): [True: 0, False: 0]
  ------------------
 2689|      0|            return NULL;
 2690|      0|        return memory_item((PyObject *)self, index);
 2691|      0|    }
 2692|     24|    else if (PySlice_Check(key)) {
  ------------------
  |  |   22|     24|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|     24|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 24, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2693|     24|        CHECK_RESTRICTED(self);
  ------------------
  |  |  199|     24|    if (((PyMemoryViewObject *)(mv))->flags & _Py_MEMORYVIEW_RESTRICTED) { \
  |  |  ------------------
  |  |  |  |   25|     24|#define _Py_MEMORYVIEW_RESTRICTED  0x020  /* Disallow new references to the memoryview's buffer */
  |  |  ------------------
  |  |  |  Branch (199:9): [True: 0, False: 24]
  |  |  ------------------
  |  |  200|      0|        PyErr_SetString(PyExc_ValueError,                                  \
  |  |  201|      0|            "cannot create new view on restricted memoryview");            \
  |  |  202|      0|        return NULL;                                                       \
  |  |  203|      0|    }
  ------------------
 2694|     24|        PyMemoryViewObject *sliced;
 2695|       |
 2696|     24|        sliced = (PyMemoryViewObject *)mbuf_add_view(self->mbuf, view);
 2697|     24|        if (sliced == NULL)
  ------------------
  |  Branch (2697:13): [True: 0, False: 24]
  ------------------
 2698|      0|            return NULL;
 2699|       |
 2700|     24|        if (init_slice(&sliced->view, key, 0) < 0) {
  ------------------
  |  Branch (2700:13): [True: 0, False: 24]
  ------------------
 2701|      0|            Py_DECREF(sliced);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2702|      0|            return NULL;
 2703|      0|        }
 2704|     24|        init_len(&sliced->view);
 2705|     24|        init_flags(sliced);
 2706|       |
 2707|     24|        return (PyObject *)sliced;
 2708|     24|    }
 2709|      0|    else if (is_multiindex(key)) {
  ------------------
  |  Branch (2709:14): [True: 0, False: 0]
  ------------------
 2710|      0|        return memory_item_multi(self, key);
 2711|      0|    }
 2712|      0|    else if (is_multislice(key)) {
  ------------------
  |  Branch (2712:14): [True: 0, False: 0]
  ------------------
 2713|      0|        PyErr_SetString(PyExc_NotImplementedError,
 2714|      0|            "multi-dimensional slicing is not implemented");
 2715|      0|        return NULL;
 2716|      0|    }
 2717|       |
 2718|      0|    PyErr_SetString(PyExc_TypeError, "memoryview: invalid slice key");
 2719|       |    return NULL;
 2720|     24|}
memoryobject.c:init_slice:
 2590|     24|{
 2591|     24|    Py_ssize_t start, stop, step, slicelength;
 2592|       |
 2593|     24|    if (PySlice_Unpack(key, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (2593:9): [True: 0, False: 24]
  ------------------
 2594|      0|        return -1;
 2595|      0|    }
 2596|     24|    slicelength = PySlice_AdjustIndices(base->shape[dim], &start, &stop, step);
 2597|       |
 2598|       |
 2599|     24|    if (base->suboffsets == NULL || dim == 0) {
  ------------------
  |  Branch (2599:9): [True: 24, False: 0]
  |  Branch (2599:37): [True: 0, False: 0]
  ------------------
 2600|     24|    adjust_buf:
 2601|     24|        base->buf = (char *)base->buf + base->strides[dim] * start;
 2602|     24|    }
 2603|      0|    else {
 2604|      0|        Py_ssize_t n = dim-1;
 2605|      0|        while (n >= 0 && base->suboffsets[n] < 0)
  ------------------
  |  Branch (2605:16): [True: 0, False: 0]
  |  Branch (2605:26): [True: 0, False: 0]
  ------------------
 2606|      0|            n--;
 2607|      0|        if (n < 0)
  ------------------
  |  Branch (2607:13): [True: 0, False: 0]
  ------------------
 2608|      0|            goto adjust_buf; /* all suboffsets are negative */
 2609|      0|        base->suboffsets[n] = base->suboffsets[n] + base->strides[dim] * start;
 2610|      0|    }
 2611|     24|    base->shape[dim] = slicelength;
 2612|     24|    base->strides[dim] = base->strides[dim] * step;
 2613|       |
 2614|     24|    return 0;
 2615|     24|}
memoryobject.c:init_len:
  598|     24|{
  599|     24|    Py_ssize_t i, len;
  600|       |
  601|     24|    len = 1;
  602|     48|    for (i = 0; i < view->ndim; i++)
  ------------------
  |  Branch (602:17): [True: 24, False: 24]
  ------------------
  603|     24|        len *= view->shape[i];
  604|     24|    len *= view->itemsize;
  605|       |
  606|     24|    view->len = len;
  607|     24|}
memoryobject.c:memory_getbuf:
 1559|   355k|{
 1560|   355k|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 1561|   355k|    Py_buffer *base = &self->view;
 1562|   355k|    int baseflags = self->flags;
 1563|       |
 1564|   355k|    CHECK_RELEASED_INT(self);
  ------------------
  |  |  192|   355k|    if (BASE_INACCESSIBLE(mv)) {                                  \
  |  |  ------------------
  |  |  |  |  181|   355k|    (((PyMemoryViewObject *)mv)->flags&_Py_MEMORYVIEW_RELEASED || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|   711k|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (181:6): [True: 0, False: 355k]
  |  |  |  |  ------------------
  |  |  |  |  182|   355k|     ((PyMemoryViewObject *)mv)->mbuf->flags&_Py_MANAGED_BUFFER_RELEASED)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|   355k|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (182:6): [True: 0, False: 355k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  193|      0|        PyErr_SetString(PyExc_ValueError,                         \
  |  |  194|      0|            "operation forbidden on released memoryview object"); \
  |  |  195|      0|        return -1;                                                \
  |  |  196|      0|    }
  ------------------
 1565|   355k|    CHECK_RESTRICTED_INT(self);
  ------------------
  |  |  206|   355k|    if (((PyMemoryViewObject *)(mv))->flags & _Py_MEMORYVIEW_RESTRICTED) { \
  |  |  ------------------
  |  |  |  |   25|   355k|#define _Py_MEMORYVIEW_RESTRICTED  0x020  /* Disallow new references to the memoryview's buffer */
  |  |  ------------------
  |  |  |  Branch (206:9): [True: 0, False: 355k]
  |  |  ------------------
  |  |  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|   355k|    *view = *base;
 1569|   355k|    view->obj = NULL;
 1570|       |
 1571|   355k|    if (REQ_WRITABLE(flags) && base->readonly) {
  ------------------
  |  |  250|   711k|#define REQ_WRITABLE(flags) (flags&PyBUF_WRITABLE)
  |  |  ------------------
  |  |  |  |  109|   355k|#define PyBUF_WRITABLE 0x0001
  |  |  ------------------
  |  |  |  Branch (250:29): [True: 6, False: 355k]
  |  |  ------------------
  ------------------
  |  Branch (1571:32): [True: 0, False: 6]
  ------------------
 1572|      0|        PyErr_SetString(PyExc_BufferError,
 1573|      0|            "memoryview: underlying buffer is not writable");
 1574|      0|        return -1;
 1575|      0|    }
 1576|   355k|    if (!REQ_FORMAT(flags)) {
  ------------------
  |  |  251|   355k|#define REQ_FORMAT(flags) (flags&PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  116|   355k|#define PyBUF_FORMAT 0x0004
  |  |  ------------------
  ------------------
  |  Branch (1576:9): [True: 355k, 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|   355k|        view->format = NULL;
 1583|   355k|    }
 1584|       |
 1585|   355k|    if (REQ_C_CONTIGUOUS(flags) && !MV_C_CONTIGUOUS(baseflags)) {
  ------------------
  |  |  245|   711k|#define REQ_C_CONTIGUOUS(flags) ((flags&PyBUF_C_CONTIGUOUS) == PyBUF_C_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  119|   355k|#define PyBUF_C_CONTIGUOUS (0x0020 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|   355k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|   355k|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define REQ_C_CONTIGUOUS(flags) ((flags&PyBUF_C_CONTIGUOUS) == PyBUF_C_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  119|   355k|#define PyBUF_C_CONTIGUOUS (0x0020 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|   355k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|   355k|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (245:33): [True: 0, False: 355k]
  |  |  ------------------
  ------------------
                  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|   355k|    if (REQ_F_CONTIGUOUS(flags) && !MV_F_CONTIGUOUS(baseflags)) {
  ------------------
  |  |  246|   711k|#define REQ_F_CONTIGUOUS(flags) ((flags&PyBUF_F_CONTIGUOUS) == PyBUF_F_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  120|   355k|#define PyBUF_F_CONTIGUOUS (0x0040 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|   355k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|   355k|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define REQ_F_CONTIGUOUS(flags) ((flags&PyBUF_F_CONTIGUOUS) == PyBUF_F_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  120|   355k|#define PyBUF_F_CONTIGUOUS (0x0040 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|   355k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|   355k|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (246:33): [True: 0, False: 355k]
  |  |  ------------------
  ------------------
                  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|   355k|    if (REQ_ANY_CONTIGUOUS(flags) && !MV_ANY_CONTIGUOUS(baseflags)) {
  ------------------
  |  |  247|   711k|#define REQ_ANY_CONTIGUOUS(flags) ((flags&PyBUF_ANY_CONTIGUOUS) == PyBUF_ANY_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  121|   355k|#define PyBUF_ANY_CONTIGUOUS (0x0080 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|   355k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|   355k|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define REQ_ANY_CONTIGUOUS(flags) ((flags&PyBUF_ANY_CONTIGUOUS) == PyBUF_ANY_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  121|   355k|#define PyBUF_ANY_CONTIGUOUS (0x0080 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|   355k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|   355k|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (247:35): [True: 0, False: 355k]
  |  |  ------------------
  ------------------
                  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|   355k|    if (!REQ_INDIRECT(flags) && (baseflags & _Py_MEMORYVIEW_PIL)) {
  ------------------
  |  |  244|   711k|#define REQ_INDIRECT(flags) ((flags&PyBUF_INDIRECT) == PyBUF_INDIRECT)
  |  |  ------------------
  |  |  |  |  122|   355k|#define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|   355k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|   355k|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define REQ_INDIRECT(flags) ((flags&PyBUF_INDIRECT) == PyBUF_INDIRECT)
  |  |  ------------------
  |  |  |  |  122|   355k|#define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|   355k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|   355k|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!REQ_INDIRECT(flags) && (baseflags & _Py_MEMORYVIEW_PIL)) {
  ------------------
  |  |   24|   355k|#define _Py_MEMORYVIEW_PIL         0x010  /* PIL-style layout */
  ------------------
  |  Branch (1600:9): [True: 355k, False: 0]
  |  Branch (1600:33): [True: 0, False: 355k]
  ------------------
 1601|      0|        PyErr_SetString(PyExc_BufferError,
 1602|      0|            "memoryview: underlying buffer requires suboffsets");
 1603|      0|        return -1;
 1604|      0|    }
 1605|   355k|    if (!REQ_STRIDES(flags)) {
  ------------------
  |  |  248|   355k|#define REQ_STRIDES(flags) ((flags&PyBUF_STRIDES) == PyBUF_STRIDES)
  |  |  ------------------
  |  |  |  |  118|   355k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|   355k|#define PyBUF_ND 0x0008
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define REQ_STRIDES(flags) ((flags&PyBUF_STRIDES) == PyBUF_STRIDES)
  |  |  ------------------
  |  |  |  |  118|   355k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|   355k|#define PyBUF_ND 0x0008
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1605:9): [True: 355k, False: 0]
  ------------------
 1606|   355k|        if (!MV_C_CONTIGUOUS(baseflags)) {
  ------------------
  |  |  233|   355k|#define MV_C_CONTIGUOUS(flags) (flags&(_Py_MEMORYVIEW_SCALAR|_Py_MEMORYVIEW_C))
  |  |  ------------------
  |  |  |  |   23|   355k|#define _Py_MEMORYVIEW_SCALAR      0x008  /* scalar: ndim = 0 */
  |  |  ------------------
  |  |               #define MV_C_CONTIGUOUS(flags) (flags&(_Py_MEMORYVIEW_SCALAR|_Py_MEMORYVIEW_C))
  |  |  ------------------
  |  |  |  |   21|   355k|#define _Py_MEMORYVIEW_C           0x002  /* C-contiguous layout */
  |  |  ------------------
  ------------------
  |  Branch (1606:13): [True: 0, False: 355k]
  ------------------
 1607|      0|            PyErr_SetString(PyExc_BufferError,
 1608|      0|                "memoryview: underlying buffer is not C-contiguous");
 1609|      0|            return -1;
 1610|      0|        }
 1611|   355k|        view->strides = NULL;
 1612|   355k|    }
 1613|   355k|    if (!REQ_SHAPE(flags)) {
  ------------------
  |  |  249|   355k|#define REQ_SHAPE(flags) ((flags&PyBUF_ND) == PyBUF_ND)
  |  |  ------------------
  |  |  |  |  117|   355k|#define PyBUF_ND 0x0008
  |  |  ------------------
  |  |               #define REQ_SHAPE(flags) ((flags&PyBUF_ND) == PyBUF_ND)
  |  |  ------------------
  |  |  |  |  117|   355k|#define PyBUF_ND 0x0008
  |  |  ------------------
  ------------------
  |  Branch (1613:9): [True: 355k, False: 0]
  ------------------
 1614|       |        /* PyBUF_SIMPLE or PyBUF_WRITABLE: at this point buf is C-contiguous,
 1615|       |           so base->buf = ndbuf->data. */
 1616|   355k|        if (view->format != NULL) {
  ------------------
  |  Branch (1616:13): [True: 0, False: 355k]
  ------------------
 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|   355k|        view->ndim = 1;
 1627|   355k|        view->shape = NULL;
 1628|   355k|    }
 1629|       |
 1630|       |
 1631|   355k|    view->obj = Py_NewRef(self);
  ------------------
  |  |  550|   355k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1632|   355k|    FT_ATOMIC_ADD_SSIZE(self->exports, 1);
  ------------------
  |  |  203|   355k|#define FT_ATOMIC_ADD_SSIZE(value, new_value) (void)(value += new_value)
  ------------------
 1633|       |
 1634|   355k|    return 0;
 1635|   355k|}
memoryobject.c:memory_releasebuf:
 1639|   355k|{
 1640|   355k|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 1641|   355k|    FT_ATOMIC_ADD_SSIZE(self->exports, -1);
  ------------------
  |  |  203|   355k|#define FT_ATOMIC_ADD_SSIZE(value, new_value) (void)(value += new_value)
  ------------------
 1642|   355k|    return;
 1643|       |    /* PyBuffer_Release() decrements view->obj after this function returns. */
 1644|   355k|}
memoryobject.c:memory_traverse:
 1165|      4|{
 1166|      4|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 1167|      4|    Py_VISIT(self->mbuf);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1168|      4|    return 0;
 1169|      4|}
memoryobject.c:memoryview_impl:
 1016|     24|{
 1017|     24|    return PyMemoryView_FromObject(object);
 1018|     24|}

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

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|     78|{
   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|     78|    assert(PyModuleDef_Type.tp_flags & Py_TPFLAGS_READY);
  ------------------
  |  Branch (137:5): [True: 78, False: 0]
  ------------------
  138|     78|    if (def->m_base.m_index == 0) {
  ------------------
  |  Branch (138:9): [True: 43, False: 35]
  ------------------
  139|     43|        Py_SET_REFCNT(def, 1);
  ------------------
  |  |  201|     43|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|     43|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     43|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  140|     43|        Py_SET_TYPE(def, &PyModuleDef_Type);
  ------------------
  |  |  217|     43|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|     43|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     43|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  141|     43|        def->m_base.m_index = _PyImport_GetNextModuleIndex();
  142|     43|    }
  143|     78|    return (PyObject*)def;
  144|     78|}
_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);
  ------------------
  |  Branch (222:5): [True: 2, False: 0]
  ------------------
  223|      2|    interp->dict_state.watchers[MODULE_WATCHER_ID] = &module_dict_watcher;
  ------------------
  |  |  306|      2|#define MODULE_WATCHER_ID       2
  ------------------
  224|      2|    return 0;
  225|      2|}
PyModule_NewObject:
  248|     47|{
  249|     47|    PyModuleObject *m = new_module_notrack(&PyModule_Type);
  250|     47|    if (m == NULL)
  ------------------
  |  Branch (250:9): [True: 0, False: 47]
  ------------------
  251|      0|        return NULL;
  252|     47|    if (module_init_dict(m, m->md_dict, name, NULL) != 0)
  ------------------
  |  Branch (252:9): [True: 0, False: 47]
  ------------------
  253|      0|        goto fail;
  254|     47|    track_module(m);
  255|     47|    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|     47|}
PyModule_New:
  264|      8|{
  265|      8|    PyObject *nameobj, *module;
  266|      8|    nameobj = PyUnicode_FromString(name);
  267|      8|    if (nameobj == NULL)
  ------------------
  |  Branch (267:9): [True: 0, False: 8]
  ------------------
  268|      0|        return NULL;
  269|      8|    module = PyModule_NewObject(nameobj);
  270|      8|    Py_DECREF(nameobj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  271|      8|    return module;
  272|      8|}
_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|     35|{
  672|     35|    PyModuleDef_Init(def);
  673|       |    return module_from_slots_and_spec(NULL, spec, module_api_version, def);
  674|     35|}
PyModule_Exec:
  753|     35|{
  754|     35|    if (alloc_state(module) < 0) {
  ------------------
  |  Branch (754:9): [True: 0, False: 35]
  ------------------
  755|      0|        return -1;
  756|      0|    }
  757|     35|    PyModuleObject *md = (PyModuleObject*)module;
  758|     35|    if (md->md_exec) {
  ------------------
  |  Branch (758:9): [True: 0, False: 35]
  ------------------
  759|      0|        assert(!md->md_token_is_def);
  ------------------
  |  Branch (759:9): [True: 0, False: 0]
  ------------------
  760|      0|        return run_exec_func(module, md->md_exec);
  761|      0|    }
  762|       |
  763|     35|    PyModuleDef *def = _PyModule_GetDefOrNull(module);
  764|     35|    if (def) {
  ------------------
  |  Branch (764:9): [True: 35, False: 0]
  ------------------
  765|     35|        return PyModule_ExecDef(module, def);
  766|     35|    }
  767|      0|    return 0;
  768|     35|}
PyModule_ExecDef:
  772|     35|{
  773|     35|    if (alloc_state(module) < 0) {
  ------------------
  |  Branch (773:9): [True: 0, False: 35]
  ------------------
  774|      0|        return -1;
  775|      0|    }
  776|       |
  777|     35|    assert(PyModule_Check(module));
  ------------------
  |  Branch (777:5): [True: 35, False: 0]
  ------------------
  778|       |
  779|     35|    if (def->m_slots == NULL) {
  ------------------
  |  Branch (779:9): [True: 0, False: 35]
  ------------------
  780|      0|        return 0;
  781|      0|    }
  782|       |
  783|     35|    _PySlotIterator it;
  784|     35|    _PySlotIterator_InitLegacy(&it, def->m_slots, _PySlot_KIND_MOD);
  785|    169|    while (_PySlotIterator_Next(&it)) {
  ------------------
  |  Branch (785:12): [True: 134, False: 35]
  ------------------
  786|    134|        _Py_modexecfunc func;
  787|    134|        switch (it.current.sl_id) {
  ------------------
  |  Branch (787:17): [True: 33, False: 101]
  ------------------
  788|      0|            case Py_slot_invalid:
  ------------------
  |  |   25|      0|#define Py_slot_invalid 0xffff
  ------------------
  |  Branch (788:13): [True: 0, False: 134]
  ------------------
  789|      0|                return -1;
  790|     33|            case Py_mod_exec:
  ------------------
  |  |   93|     33|#define Py_mod_exec _Py_SLOT_COMPAT_VALUE(2, 85)
  |  |  ------------------
  |  |  |  |    7|     33|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (790:13): [True: 33, False: 101]
  ------------------
  791|     33|                func = (_Py_modexecfunc)it.current.sl_func;
  792|     33|                if (run_exec_func(module, func) < 0) {
  ------------------
  |  Branch (792:21): [True: 0, False: 33]
  ------------------
  793|      0|                    return -1;
  794|      0|                }
  795|     33|                break;
  796|    134|        }
  797|    134|    }
  798|     35|    return 0;
  799|     35|}
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|     37|{
  818|     37|    PyObject *v;
  819|       |
  820|     37|    v = PyUnicode_FromString(doc);
  821|     37|    if (v == NULL || PyObject_SetAttr(m, &_Py_ID(__doc__), v) != 0) {
  ------------------
  |  |  920|     37|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     37|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     37|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (821:9): [True: 0, False: 37]
  |  Branch (821:22): [True: 0, False: 37]
  ------------------
  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|     37|    Py_DECREF(v);
  ------------------
  |  |  430|     37|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  826|     37|    return 0;
  827|     37|}
PyModule_GetDict:
  831|    752|{
  832|    752|    if (!PyModule_Check(m)) {
  ------------------
  |  |   12|    752|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|    752|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    752|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    752|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (832:9): [True: 0, False: 752]
  ------------------
  833|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  834|      0|        return NULL;
  835|      0|    }
  836|    752|    return _PyModule_GetDict(m);  // borrowed reference
  837|    752|}
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) {
  ------------------
  |  |  920|      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|      1|{
  919|       |    // We return None to indicate "not found" or "bogus".
  920|      1|    if (!PyModule_Check(mod)) {
  ------------------
  |  |   12|      1|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_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 (920:9): [True: 0, False: 1]
  ------------------
  921|      0|        PyErr_BadArgument();
  922|      0|        return NULL;
  923|      0|    }
  924|      1|    PyObject *dict = ((PyModuleObject *)mod)->md_dict;  // borrowed reference
  925|      1|    if (dict == NULL) {
  ------------------
  |  Branch (925:9): [True: 0, False: 1]
  ------------------
  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|      1|    PyObject *fileobj;
  930|      1|    int res = PyDict_GetItemRef(dict, &_Py_ID(__file__), &fileobj);
  ------------------
  |  |  920|      1|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      1|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      1|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  931|      1|    if (res < 0) {
  ------------------
  |  Branch (931:9): [True: 0, False: 1]
  ------------------
  932|      0|        return NULL;
  933|      0|    }
  934|      1|    if (res == 0) {
  ------------------
  |  Branch (934:9): [True: 1, 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|      1|        Py_RETURN_NONE;
  ------------------
  |  |  628|      1|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  942|      1|    }
  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|      1|{
  953|      1|    PyObject *fileobj = _PyModule_GetFilenameObject(mod);
  954|      1|    if (fileobj == NULL) {
  ------------------
  |  Branch (954:9): [True: 0, False: 1]
  ------------------
  955|      0|        return NULL;
  956|      0|    }
  957|      1|    if (fileobj == Py_None) {
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (957:9): [True: 1, False: 0]
  ------------------
  958|      1|        PyErr_SetString(PyExc_SystemError, "module filename missing");
  959|      1|        return NULL;
  960|      1|    }
  961|      0|    return fileobj;
  962|      1|}
PyModule_GetState:
 1029|    559|{
 1030|    559|    if (!PyModule_Check(m)) {
  ------------------
  |  |   12|    559|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|    559|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    559|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    559|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1030:9): [True: 0, False: 559]
  ------------------
 1031|      0|        PyErr_BadArgument();
 1032|      0|        return NULL;
 1033|      0|    }
 1034|    559|    return _PyModule_GetState(m);
 1035|    559|}
_PyModuleSpec_IsInitializing:
 1175|  3.10M|{
 1176|  3.10M|    if (spec == NULL) {
  ------------------
  |  Branch (1176:9): [True: 0, False: 3.10M]
  ------------------
 1177|      0|        return 0;
 1178|      0|    }
 1179|  3.10M|    PyObject *value;
 1180|  3.10M|    int rc = PyObject_GetOptionalAttr(spec, &_Py_ID(_initializing), &value);
  ------------------
  |  |  920|  3.10M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.10M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.10M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1181|  3.10M|    if (rc > 0) {
  ------------------
  |  Branch (1181:9): [True: 3.02M, False: 80.3k]
  ------------------
 1182|  3.02M|        rc = PyObject_IsTrue(value);
 1183|  3.02M|        Py_DECREF(value);
  ------------------
  |  |  430|  3.02M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.02M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.02M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1184|  3.02M|    }
 1185|  3.10M|    return rc;
 1186|  3.10M|}
_PyModuleSpec_IsUninitializedSubmodule:
 1193|     20|{
 1194|     20|    if (spec == NULL) {
  ------------------
  |  Branch (1194:9): [True: 0, False: 20]
  ------------------
 1195|      0|         return 0;
 1196|      0|    }
 1197|       |
 1198|     20|    PyObject *value;
 1199|     20|    int rc = PyObject_GetOptionalAttr(spec, &_Py_ID(_uninitialized_submodules), &value);
  ------------------
  |  |  920|     20|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     20|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     20|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1200|     20|    if (rc > 0) {
  ------------------
  |  Branch (1200:9): [True: 4, False: 16]
  ------------------
 1201|      4|        rc = PySequence_Contains(value, name);
 1202|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1203|      4|    }
 1204|     20|    return rc;
 1205|     20|}
_PyModuleSpec_GetFileOrigin:
 1209|     21|{
 1210|     21|    PyObject *has_location = NULL;
 1211|     21|    int rc = PyObject_GetOptionalAttr(spec, &_Py_ID(has_location), &has_location);
  ------------------
  |  |  920|     21|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     21|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     21|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1212|     21|    if (rc <= 0) {
  ------------------
  |  Branch (1212:9): [True: 16, False: 5]
  ------------------
 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|      5|    rc = PyObject_IsTrue(has_location);
 1219|      5|    Py_DECREF(has_location);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1220|      5|    if (rc <= 0) {
  ------------------
  |  Branch (1220:9): [True: 5, False: 0]
  ------------------
 1221|      5|        return rc;
 1222|      5|    }
 1223|       |    // has_location is true, so origin is a location
 1224|      0|    PyObject *origin = NULL;
 1225|      0|    rc = PyObject_GetOptionalAttr(spec, &_Py_ID(origin), &origin);
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1226|      0|    if (rc <= 0) {
  ------------------
  |  Branch (1226:9): [True: 0, False: 0]
  ------------------
 1227|      0|        return rc;
 1228|      0|    }
 1229|      0|    assert(origin != NULL);
  ------------------
  |  Branch (1229:5): [True: 0, False: 0]
  ------------------
 1230|      0|    if (!PyUnicode_Check(origin)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1230:9): [True: 0, False: 0]
  ------------------
 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|      0|    *p_origin = origin;
 1235|      0|    return 1;
 1236|      0|}
_PyModule_IsPossiblyShadowing:
 1240|     21|{
 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|     21|    if (origin == NULL) {
  ------------------
  |  Branch (1248:9): [True: 21, False: 0]
  ------------------
 1249|     21|        return 0;
 1250|     21|    }
 1251|       |
 1252|       |    // not sys.flags.safe_path
 1253|      0|    const PyConfig *config = _Py_GetConfig();
 1254|      0|    if (config->safe_path) {
  ------------------
  |  Branch (1254:9): [True: 0, False: 0]
  ------------------
 1255|      0|        return 0;
 1256|      0|    }
 1257|       |
 1258|       |    // root = os.path.dirname(origin.removesuffix(os.sep + "__init__.py"))
 1259|      0|    wchar_t root[MAXPATHLEN + 1];
 1260|      0|    Py_ssize_t size = PyUnicode_AsWideChar(origin, root, MAXPATHLEN);
  ------------------
  |  |   43|      0|#    define MAXPATHLEN PATH_MAX
  ------------------
 1261|      0|    if (size < 0) {
  ------------------
  |  Branch (1261:9): [True: 0, False: 0]
  ------------------
 1262|      0|        return -1;
 1263|      0|    }
 1264|      0|    assert(size <= MAXPATHLEN);
  ------------------
  |  Branch (1264:5): [True: 0, False: 0]
  ------------------
 1265|      0|    root[size] = L'\0';
 1266|       |
 1267|      0|    wchar_t *sep = wcsrchr(root, SEP);
  ------------------
  |  |   29|      0|#  define SEP L'/'
  ------------------
 1268|      0|    if (sep == NULL) {
  ------------------
  |  Branch (1268:9): [True: 0, False: 0]
  ------------------
 1269|      0|        return 0;
 1270|      0|    }
 1271|       |    // If it's a package then we need to look one directory further up
 1272|      0|    if (wcscmp(sep + 1, L"__init__.py") == 0) {
  ------------------
  |  Branch (1272:9): [True: 0, False: 0]
  ------------------
 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|      0|    *sep = L'\0';
 1280|       |
 1281|       |    // sys.path[0] or os.getcwd()
 1282|      0|    wchar_t *sys_path_0 = config->sys_path_0;
 1283|      0|    if (!sys_path_0) {
  ------------------
  |  Branch (1283:9): [True: 0, False: 0]
  ------------------
 1284|      0|        return 0;
 1285|      0|    }
 1286|       |
 1287|      0|    wchar_t sys_path_0_buf[MAXPATHLEN];
 1288|      0|    if (sys_path_0[0] == L'\0') {
  ------------------
  |  Branch (1288:9): [True: 0, False: 0]
  ------------------
 1289|       |        // if sys.path[0] == "", treat it as if it were the current directory
 1290|      0|        if (!_Py_wgetcwd(sys_path_0_buf, MAXPATHLEN)) {
  ------------------
  |  |   43|      0|#    define MAXPATHLEN PATH_MAX
  ------------------
  |  Branch (1290:13): [True: 0, False: 0]
  ------------------
 1291|       |            // If we failed to getcwd, don't raise an exception and instead
 1292|       |            // let the caller proceed assuming no shadowing
 1293|      0|            return 0;
 1294|      0|        }
 1295|      0|        sys_path_0 = sys_path_0_buf;
 1296|      0|    }
 1297|       |
 1298|      0|    int result = wcscmp(sys_path_0, root) == 0;
 1299|      0|    return result;
 1300|      0|}
_Py_module_getattro_impl:
 1331|  4.52M|{
 1332|       |    // When suppress=1, this function suppresses AttributeError.
 1333|  4.52M|    PyObject *attr, *mod_name, *getattr;
 1334|  4.52M|    attr = _PyObject_GenericGetAttrWithDict((PyObject *)m, name, NULL, suppress);
 1335|  4.52M|    if (attr) {
  ------------------
  |  Branch (1335:9): [True: 4.52M, False: 257]
  ------------------
 1336|  4.52M|        if (PyLazyImport_CheckExact(attr)) {
  ------------------
  |  |   15|  4.52M|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  ------------------
  |  |  |  |  215|  4.52M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 4.52M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1337|       |            // gh-144957: Module __getattr__ should get a chance to provide
 1338|       |            // the attribute before resolving a lazy import placeholder.
 1339|      0|            if (PyDict_GetItemRef(m->md_dict, &_Py_ID(__getattr__), &getattr) < 0) {
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1339:17): [True: 0, False: 0]
  ------------------
 1340|      0|                Py_DECREF(attr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1341|      0|                return NULL;
 1342|      0|            }
 1343|      0|            if (getattr) {
  ------------------
  |  Branch (1343:17): [True: 0, False: 0]
  ------------------
 1344|      0|                PyObject *result = PyObject_CallOneArg(getattr, name);
 1345|      0|                Py_DECREF(getattr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1346|      0|                if (result != NULL) {
  ------------------
  |  Branch (1346:21): [True: 0, False: 0]
  ------------------
 1347|      0|                    Py_DECREF(attr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1348|      0|                    return result;
 1349|      0|                }
 1350|      0|                if (!PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1350:21): [True: 0, False: 0]
  ------------------
 1351|      0|                    Py_DECREF(attr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1352|      0|                    return NULL;
 1353|      0|                }
 1354|      0|                PyErr_Clear();
 1355|      0|            }
 1356|      0|            PyObject *new_value = _PyImport_LoadLazyImportTstate(
 1357|      0|                PyThreadState_GET(), attr);
  ------------------
  |  |   63|      0|#define PyThreadState_GET() PyThreadState_Get()
  ------------------
 1358|      0|            if (new_value == NULL) {
  ------------------
  |  Branch (1358:17): [True: 0, False: 0]
  ------------------
 1359|      0|                if (suppress &&
  ------------------
  |  Branch (1359:21): [True: 0, False: 0]
  ------------------
 1360|      0|                    PyErr_ExceptionMatches(PyExc_ImportCycleError)) {
  ------------------
  |  Branch (1360:21): [True: 0, False: 0]
  ------------------
 1361|       |                    // ImportCycleError is raised when a lazy object tries
 1362|       |                    // to import itself. In this case, the error should not
 1363|       |                    // propagate to the caller and instead treated as if the
 1364|       |                    // attribute doesn't exist.
 1365|      0|                    PyErr_Clear();
 1366|      0|                }
 1367|      0|                Py_DECREF(attr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1368|      0|                return NULL;
 1369|      0|            }
 1370|       |
 1371|      0|            if (PyDict_SetItem(m->md_dict, name, new_value) < 0) {
  ------------------
  |  Branch (1371:17): [True: 0, False: 0]
  ------------------
 1372|      0|                Py_CLEAR(new_value);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1373|      0|            }
 1374|      0|            Py_DECREF(attr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1375|      0|            return new_value;
 1376|      0|        }
 1377|  4.52M|        return attr;
 1378|  4.52M|    }
 1379|    257|    if (suppress == 1) {
  ------------------
  |  Branch (1379:9): [True: 237, False: 20]
  ------------------
 1380|    237|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1380:13): [True: 0, False: 237]
  ------------------
 1381|       |            // pass up non-AttributeError exception
 1382|      0|            return NULL;
 1383|      0|        }
 1384|    237|    }
 1385|     20|    else {
 1386|     20|        if (!PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1386:13): [True: 0, False: 20]
  ------------------
 1387|       |            // pass up non-AttributeError exception
 1388|      0|            return NULL;
 1389|      0|        }
 1390|     20|        PyErr_Clear();
 1391|     20|    }
 1392|    257|    assert(m->md_dict != NULL);
  ------------------
  |  Branch (1392:5): [True: 257, False: 0]
  ------------------
 1393|    257|    attr = try_load_lazy_submodule(m, name);
 1394|    257|    if (attr != NULL) {
  ------------------
  |  Branch (1394:9): [True: 0, False: 257]
  ------------------
 1395|      0|        return attr;
 1396|      0|    }
 1397|    257|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1397:9): [True: 0, False: 257]
  ------------------
 1398|      0|        return NULL;
 1399|      0|    }
 1400|    257|    if (PyDict_GetItemRef(m->md_dict, &_Py_ID(__getattr__), &getattr) < 0) {
  ------------------
  |  |  920|    257|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    257|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    257|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1400:9): [True: 0, False: 257]
  ------------------
 1401|      0|        return NULL;
 1402|      0|    }
 1403|    257|    if (getattr) {
  ------------------
  |  Branch (1403:9): [True: 5, False: 252]
  ------------------
 1404|      5|        PyObject *result = PyObject_CallOneArg(getattr, name);
 1405|      5|        if (result == NULL && suppress == 1 && PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1405:13): [True: 5, False: 0]
  |  Branch (1405:31): [True: 5, False: 0]
  |  Branch (1405:48): [True: 5, False: 0]
  ------------------
 1406|       |            // suppress AttributeError
 1407|      5|            PyErr_Clear();
 1408|      5|        }
 1409|      5|        Py_DECREF(getattr);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1410|      5|        return result;
 1411|      5|    }
 1412|       |
 1413|       |    // The attribute was not found.  We make a best effort attempt at a useful error message,
 1414|       |    // but only if we're not suppressing AttributeError.
 1415|    252|    if (suppress == 1) {
  ------------------
  |  Branch (1415:9): [True: 232, False: 20]
  ------------------
 1416|    232|        return NULL;
 1417|    232|    }
 1418|     20|    if (PyDict_GetItemRef(m->md_dict, &_Py_ID(__name__), &mod_name) < 0) {
  ------------------
  |  |  920|     20|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     20|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     20|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1418:9): [True: 0, False: 20]
  ------------------
 1419|      0|        return NULL;
 1420|      0|    }
 1421|     20|    if (!mod_name || !PyUnicode_Check(mod_name)) {
  ------------------
  |  |  103|     20|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     20|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1421:9): [True: 0, False: 20]
  |  Branch (1421:22): [True: 0, False: 20]
  ------------------
 1422|      0|        Py_XDECREF(mod_name);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1423|      0|        PyErr_Format(PyExc_AttributeError,
 1424|      0|                    "module has no attribute '%U'", name);
 1425|      0|        return NULL;
 1426|      0|    }
 1427|     20|    PyObject *spec;
 1428|     20|    if (PyDict_GetItemRef(m->md_dict, &_Py_ID(__spec__), &spec) < 0) {
  ------------------
  |  |  920|     20|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     20|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     20|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1428:9): [True: 0, False: 20]
  ------------------
 1429|      0|        Py_DECREF(mod_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1430|      0|        return NULL;
 1431|      0|    }
 1432|     20|    if (spec == NULL) {
  ------------------
  |  Branch (1432:9): [True: 0, False: 20]
  ------------------
 1433|      0|        PyErr_Format(PyExc_AttributeError,
 1434|      0|                     "module '%U' has no attribute '%U'",
 1435|      0|                     mod_name, name);
 1436|      0|        Py_DECREF(mod_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1437|      0|        return NULL;
 1438|      0|    }
 1439|       |
 1440|     20|    PyObject *origin = NULL;
 1441|     20|    if (_PyModuleSpec_GetFileOrigin(spec, &origin) < 0) {
  ------------------
  |  Branch (1441:9): [True: 0, False: 20]
  ------------------
 1442|      0|        goto done;
 1443|      0|    }
 1444|       |
 1445|     20|    int is_possibly_shadowing = _PyModule_IsPossiblyShadowing(origin);
 1446|     20|    if (is_possibly_shadowing < 0) {
  ------------------
  |  Branch (1446:9): [True: 0, False: 20]
  ------------------
 1447|      0|        goto done;
 1448|      0|    }
 1449|     20|    int is_possibly_shadowing_stdlib = 0;
 1450|     20|    if (is_possibly_shadowing) {
  ------------------
  |  Branch (1450:9): [True: 0, False: 20]
  ------------------
 1451|      0|        PyObject *stdlib_modules;
 1452|      0|        if (PySys_GetOptionalAttrString("stdlib_module_names", &stdlib_modules) < 0) {
  ------------------
  |  Branch (1452:13): [True: 0, False: 0]
  ------------------
 1453|      0|            goto done;
 1454|      0|        }
 1455|      0|        if (stdlib_modules && PyAnySet_Check(stdlib_modules)) {
  ------------------
  |  |   31|      0|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|      0|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 0]
  |  |  ------------------
  |  |   33|      0|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1455:13): [True: 0, False: 0]
  ------------------
 1456|      0|            is_possibly_shadowing_stdlib = PySet_Contains(stdlib_modules, mod_name);
 1457|      0|            if (is_possibly_shadowing_stdlib < 0) {
  ------------------
  |  Branch (1457:17): [True: 0, False: 0]
  ------------------
 1458|      0|                Py_DECREF(stdlib_modules);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1459|      0|                goto done;
 1460|      0|            }
 1461|      0|        }
 1462|      0|        Py_XDECREF(stdlib_modules);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1463|      0|    }
 1464|       |
 1465|     20|    if (is_possibly_shadowing_stdlib) {
  ------------------
  |  Branch (1465:9): [True: 0, False: 20]
  ------------------
 1466|      0|        assert(origin);
  ------------------
  |  Branch (1466:9): [True: 0, False: 0]
  ------------------
 1467|      0|        PyErr_Format(PyExc_AttributeError,
 1468|      0|                    "module '%U' has no attribute '%U' "
 1469|      0|                    "(consider renaming '%U' since it has the same "
 1470|      0|                    "name as the standard library module named '%U' "
 1471|      0|                    "and prevents importing that standard library module)",
 1472|      0|                    mod_name, name, origin, mod_name);
 1473|      0|    }
 1474|     20|    else {
 1475|     20|        int rc = _PyModuleSpec_IsInitializing(spec);
 1476|     20|        if (rc < 0) {
  ------------------
  |  Branch (1476:13): [True: 0, False: 20]
  ------------------
 1477|      0|            goto done;
 1478|      0|        }
 1479|     20|        else if (rc > 0) {
  ------------------
  |  Branch (1479:18): [True: 0, False: 20]
  ------------------
 1480|      0|            if (is_possibly_shadowing) {
  ------------------
  |  Branch (1480:17): [True: 0, False: 0]
  ------------------
 1481|      0|                assert(origin);
  ------------------
  |  Branch (1481:17): [True: 0, False: 0]
  ------------------
 1482|       |                // For non-stdlib modules, only mention the possibility of
 1483|       |                // shadowing if the module is being initialized.
 1484|      0|                PyErr_Format(PyExc_AttributeError,
 1485|      0|                            "module '%U' has no attribute '%U' "
 1486|      0|                            "(consider renaming '%U' if it has the same name "
 1487|      0|                            "as a library you intended to import)",
 1488|      0|                            mod_name, name, origin);
 1489|      0|            }
 1490|      0|            else if (origin) {
  ------------------
  |  Branch (1490:22): [True: 0, False: 0]
  ------------------
 1491|      0|                PyErr_Format(PyExc_AttributeError,
 1492|      0|                            "partially initialized "
 1493|      0|                            "module '%U' from '%U' has no attribute '%U' "
 1494|      0|                            "(most likely due to a circular import)",
 1495|      0|                            mod_name, origin, name);
 1496|      0|            }
 1497|      0|            else {
 1498|      0|                PyErr_Format(PyExc_AttributeError,
 1499|      0|                            "partially initialized "
 1500|      0|                            "module '%U' has no attribute '%U' "
 1501|      0|                            "(most likely due to a circular import)",
 1502|      0|                            mod_name, name);
 1503|      0|            }
 1504|      0|        }
 1505|     20|        else {
 1506|     20|            assert(rc == 0);
  ------------------
  |  Branch (1506:13): [True: 20, False: 0]
  ------------------
 1507|     20|            rc = _PyModuleSpec_IsUninitializedSubmodule(spec, name);
 1508|     20|            if (rc > 0) {
  ------------------
  |  Branch (1508:17): [True: 0, False: 20]
  ------------------
 1509|      0|                PyErr_Format(PyExc_AttributeError,
 1510|      0|                            "cannot access submodule '%U' of module '%U' "
 1511|      0|                            "(most likely due to a circular import)",
 1512|      0|                            name, mod_name);
 1513|      0|            }
 1514|     20|            else if (rc == 0) {
  ------------------
  |  Branch (1514:22): [True: 20, False: 0]
  ------------------
 1515|     20|                PyErr_Format(PyExc_AttributeError,
 1516|     20|                            "module '%U' has no attribute '%U'",
 1517|     20|                            mod_name, name);
 1518|     20|            }
 1519|     20|        }
 1520|     20|    }
 1521|       |
 1522|     20|done:
 1523|     20|    Py_XDECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1524|     20|    Py_DECREF(spec);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1525|     20|    Py_DECREF(mod_name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1526|       |    return NULL;
 1527|     20|}
_Py_module_getattro:
 1532|  4.70k|{
 1533|  4.70k|    PyModuleObject *m = _PyModule_CAST(self);
  ------------------
  |  |   24|  4.70k|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  4.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1533:25): [True: 4.70k, False: 0]
  ------------------
 1534|      0|    return _Py_module_getattro_impl(m, name, 0);
 1535|  4.70k|}
moduleobject.c:module_dict_watcher:
  206|  7.60k|{
  207|  7.60k|    assert(PyDict_Check(dict));
  ------------------
  |  Branch (207:5): [True: 7.60k, False: 0]
  ------------------
  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|  7.60k|    if (event == PyDict_EVENT_MODIFIED &&
  ------------------
  |  Branch (210:9): [True: 958, False: 6.65k]
  ------------------
  211|    958|        new_value != NULL &&
  ------------------
  |  Branch (211:9): [True: 958, False: 0]
  ------------------
  212|    958|        PyLazyImport_CheckExact(new_value)) {
  ------------------
  |  |   15|    958|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  ------------------
  |  |  |  |  215|    958|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    958|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    958|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 958]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  213|      0|        _PyDict_ClearKeysVersionLockHeld(dict);
  214|      0|    }
  215|  7.60k|    return 0;
  216|  7.60k|}
moduleobject.c:new_module_notrack:
  173|    103|{
  174|    103|    PyModuleObject *m;
  175|    103|    m = (PyModuleObject *)_PyType_AllocNoTrack(mt, 0);
  176|    103|    if (m == NULL)
  ------------------
  |  Branch (176:9): [True: 0, False: 103]
  ------------------
  177|      0|        return NULL;
  178|    103|    m->md_state = NULL;
  179|    103|    m->md_weaklist = NULL;
  180|    103|    m->md_name = NULL;
  181|    103|    m->md_token_is_def = false;
  182|       |#ifdef Py_GIL_DISABLED
  183|       |    m->md_requires_gil = true;
  184|       |#endif
  185|    103|    m->md_state_size = 0;
  186|    103|    m->md_state_traverse = NULL;
  187|    103|    m->md_state_clear = NULL;
  188|    103|    m->md_state_free = NULL;
  189|    103|    m->md_exec = NULL;
  190|    103|    m->md_token = NULL;
  191|    103|    m->md_dict = PyDict_New();
  192|    103|    if (m->md_dict == NULL) {
  ------------------
  |  Branch (192:9): [True: 0, False: 103]
  ------------------
  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|    103|    return m;
  197|    103|}
moduleobject.c:module_init_dict:
  149|    103|{
  150|    103|    assert(md_dict != NULL);
  ------------------
  |  Branch (150:5): [True: 103, False: 0]
  ------------------
  151|    103|    if (doc == NULL)
  ------------------
  |  Branch (151:9): [True: 47, False: 56]
  ------------------
  152|     47|        doc = Py_None;
  ------------------
  |  |  616|     47|#  define Py_None (&_Py_NoneStruct)
  ------------------
  153|       |
  154|    103|    if (PyDict_SetItem(md_dict, &_Py_ID(__name__), name) != 0)
  ------------------
  |  |  920|    103|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    103|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    103|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (154:9): [True: 0, False: 103]
  ------------------
  155|      0|        return -1;
  156|    103|    if (PyDict_SetItem(md_dict, &_Py_ID(__doc__), doc) != 0)
  ------------------
  |  |  920|    103|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    103|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    103|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (156:9): [True: 0, False: 103]
  ------------------
  157|      0|        return -1;
  158|    103|    if (PyDict_SetItem(md_dict, &_Py_ID(__package__), Py_None) != 0)
  ------------------
  |  |  920|    103|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    103|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    103|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyDict_SetItem(md_dict, &_Py_ID(__package__), Py_None) != 0)
  ------------------
  |  |  616|    103|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (158:9): [True: 0, False: 103]
  ------------------
  159|      0|        return -1;
  160|    103|    if (PyDict_SetItem(md_dict, &_Py_ID(__loader__), Py_None) != 0)
  ------------------
  |  |  920|    103|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    103|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    103|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyDict_SetItem(md_dict, &_Py_ID(__loader__), Py_None) != 0)
  ------------------
  |  |  616|    103|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (160:9): [True: 0, False: 103]
  ------------------
  161|      0|        return -1;
  162|    103|    if (PyDict_SetItem(md_dict, &_Py_ID(__spec__), Py_None) != 0)
  ------------------
  |  |  920|    103|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    103|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    103|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyDict_SetItem(md_dict, &_Py_ID(__spec__), Py_None) != 0)
  ------------------
  |  |  616|    103|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (162:9): [True: 0, False: 103]
  ------------------
  163|      0|        return -1;
  164|    103|    if (PyUnicode_CheckExact(name)) {
  ------------------
  |  |  104|    103|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    103|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    103|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 103, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  165|    103|        Py_XSETREF(mod->md_name, Py_NewRef(name));
  ------------------
  |  |  374|    103|    do { \
  |  |  375|    103|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    103|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|    103|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    103|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|    103|        *_tmp_dst_ptr = (src); \
  |  |  378|    103|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    103|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    103|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|    103|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 103]
  |  |  ------------------
  ------------------
  166|    103|    }
  167|       |
  168|    103|    return 0;
  169|    103|}
moduleobject.c:track_module:
  229|    103|{
  230|    103|    _PyDict_EnablePerThreadRefcounting(m->md_dict);
  231|    103|    _PyObject_SetDeferredRefcount((PyObject *)m);
  232|    103|    PyDict_Watch(MODULE_WATCHER_ID, m->md_dict);
  ------------------
  |  |  306|    103|#define MODULE_WATCHER_ID       2
  ------------------
  233|    103|    PyObject_GC_Track(m);
  234|    103|}
moduleobject.c:check_api_version:
  280|     43|{
  281|     43|    if (module_api_version != PYTHON_API_VERSION && module_api_version != PYTHON_ABI_VERSION) {
  ------------------
  |  |   59|     86|#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: 43]
  |  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|     43|    return 1;
  292|     43|}
moduleobject.c:module_copy_members_from_deflike:
  338|     43|{
  339|     43|    md->md_state_size = def_like->m_size;
  340|     43|    md->md_state_traverse = def_like->m_traverse;
  341|     43|    md->md_state_clear = def_like->m_clear;
  342|     43|    md->md_state_free = def_like->m_free;
  343|     43|}
moduleobject.c:module_from_slots_and_spec:
  408|     35|{
  409|     35|    createfunc_t create = NULL;
  410|     35|    PyObject *nameobj;
  411|     35|    PyObject *m = NULL;
  412|     35|    uint64_t multiple_interpreters = (uint64_t)Py_MOD_MULTIPLE_INTERPRETERS_SUPPORTED;
  ------------------
  |  |   81|     35|#  define Py_MOD_MULTIPLE_INTERPRETERS_SUPPORTED ((void *)1)
  ------------------
  413|     35|    bool requires_gil = true;
  414|     35|    const char *name;
  415|     35|    int ret;
  416|     35|    void *token = NULL;
  417|     35|    _Py_modexecfunc m_exec = NULL;
  418|     35|    PyInterpreterState *interp = _PyInterpreterState_GET();
  419|       |
  420|     35|    nameobj = PyObject_GetAttrString(spec, "name");
  421|     35|    if (nameobj == NULL) {
  ------------------
  |  Branch (421:9): [True: 0, False: 35]
  ------------------
  422|      0|        return NULL;
  423|      0|    }
  424|     35|    name = PyUnicode_AsUTF8(nameobj);
  425|     35|    if (name == NULL) {
  ------------------
  |  Branch (425:9): [True: 0, False: 35]
  ------------------
  426|      0|        goto error;
  427|      0|    }
  428|       |
  429|     35|    if (!check_api_version(name, module_api_version)) {
  ------------------
  |  Branch (429:9): [True: 0, False: 35]
  ------------------
  430|      0|        goto error;
  431|      0|    }
  432|       |
  433|     35|    _PySlotIterator it;
  434|       |
  435|     35|    PyModuleDef _dummy_def = {0};
  436|     35|    PyModuleDef *def_like;
  437|     35|    if (slots) {
  ------------------
  |  Branch (437:9): [True: 0, False: 35]
  ------------------
  438|      0|        assert(!original_def);
  ------------------
  |  Branch (438:9): [True: 0, False: 0]
  ------------------
  439|      0|        def_like = &_dummy_def;
  440|      0|         _PySlotIterator_Init(&it, slots, _PySlot_KIND_MOD);
  441|      0|    }
  442|     35|    else {
  443|     35|        assert(original_def);
  ------------------
  |  Branch (443:9): [True: 35, False: 0]
  ------------------
  444|     35|        def_like = original_def;
  445|     35|         _PySlotIterator_InitLegacy(&it, def_like->m_slots, _PySlot_KIND_MOD);
  446|     35|    }
  447|     35|    it.name = name;
  448|       |
  449|    169|    while (_PySlotIterator_Next(&it)) {
  ------------------
  |  Branch (449:12): [True: 134, False: 35]
  ------------------
  450|    134|        switch (it.current.sl_id) {
  ------------------
  |  Branch (450:17): [True: 134, False: 0]
  ------------------
  451|      0|            case Py_slot_invalid:
  ------------------
  |  |   25|      0|#define Py_slot_invalid 0xffff
  ------------------
  |  Branch (451:13): [True: 0, False: 134]
  ------------------
  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: 134]
  ------------------
  454|      0|                create = (createfunc_t)it.current.sl_func;
  455|      0|                break;
  456|     33|            case Py_mod_exec:
  ------------------
  |  |   93|     33|#define Py_mod_exec _Py_SLOT_COMPAT_VALUE(2, 85)
  |  |  ------------------
  |  |  |  |    7|     33|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (456:13): [True: 33, False: 101]
  ------------------
  457|     33|                if (!original_def) {
  ------------------
  |  Branch (457:21): [True: 0, False: 33]
  ------------------
  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|     33|                break;
  468|     35|            case Py_mod_multiple_interpreters:
  ------------------
  |  |   94|     35|#define Py_mod_multiple_interpreters _Py_SLOT_COMPAT_VALUE(3, 86)
  |  |  ------------------
  |  |  |  |    7|     35|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (468:13): [True: 35, False: 99]
  ------------------
  469|     35|                multiple_interpreters = it.current.sl_uint64;
  470|     35|                break;
  471|     35|            case Py_mod_gil:
  ------------------
  |  |   95|     35|#define Py_mod_gil _Py_SLOT_COMPAT_VALUE(4, 87)
  |  |  ------------------
  |  |  |  |    7|     35|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (471:13): [True: 35, False: 99]
  ------------------
  472|     35|                {
  473|     35|                    uint64_t val = it.current.sl_uint64;
  474|     35|                    requires_gil = (val != (uint64_t)Py_MOD_GIL_NOT_USED);
  ------------------
  |  |   88|     35|#  define Py_MOD_GIL_NOT_USED ((void *)1)
  ------------------
  475|     35|                }
  476|     35|                break;
  477|     31|            case Py_mod_abi:
  ------------------
  |  |  117|     31|#define Py_mod_abi 109
  ------------------
  |  Branch (477:13): [True: 31, False: 103]
  ------------------
  478|     31|                if (PyABIInfo_Check(it.current.sl_ptr, name) < 0) {
  ------------------
  |  Branch (478:21): [True: 0, False: 31]
  ------------------
  479|      0|                    goto error;
  480|      0|                }
  481|     31|                break;
  482|     31|            case Py_mod_token:
  ------------------
  |  |  118|      0|#define Py_mod_token 110
  ------------------
  |  Branch (482:13): [True: 0, False: 134]
  ------------------
  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: 134]
  |  |  ------------------
  |  |  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: 134]
  |  |  ------------------
  |  |  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: 134]
  |  |  ------------------
  |  |  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: 134]
  |  |  ------------------
  |  |  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: 134]
  |  |  ------------------
  |  |  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: 134]
  |  |  ------------------
  |  |  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|    134|            DEF_SLOT_CASE(Py_mod_state_free, freefunc, sl_func, m_free)
  ------------------
  |  |  495|      0|            case SLOT:                                                      \
  |  |  ------------------
  |  |  |  Branch (495:13): [True: 0, False: 134]
  |  |  ------------------
  |  |  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|    134|#undef DEF_SLOT_CASE
  522|    134|        }
  523|    134|    }
  524|     35|    if (!original_def && !_PySlotIterator_SawSlot(&it, Py_mod_abi)) {
  ------------------
  |  |  117|      0|#define Py_mod_abi 109
  ------------------
  |  Branch (524:9): [True: 0, False: 35]
  |  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|     35|    if (def_like->m_size < 0) {
  ------------------
  |  Branch (549:9): [True: 0, False: 35]
  ------------------
  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|     35|    if (multiple_interpreters == (int64_t)(intptr_t)Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTED) {
  ------------------
  |  |   80|     35|#  define Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTED ((void *)0)
  ------------------
  |  Branch (559:9): [True: 0, False: 35]
  ------------------
  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|     35|    else if (multiple_interpreters != (int64_t)(intptr_t)Py_MOD_PER_INTERPRETER_GIL_SUPPORTED
  ------------------
  |  |   82|     70|#  define Py_MOD_PER_INTERPRETER_GIL_SUPPORTED ((void *)2)
  ------------------
  |  Branch (566:14): [True: 0, False: 35]
  ------------------
  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|     35|    if (create) {
  ------------------
  |  Branch (574:9): [True: 0, False: 35]
  ------------------
  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|     35|    } else {
  594|     35|        m = PyModule_NewObject(nameobj);
  595|     35|        if (m == NULL) {
  ------------------
  |  Branch (595:13): [True: 0, False: 35]
  ------------------
  596|      0|            goto error;
  597|      0|        }
  598|     35|    }
  599|       |
  600|     35|    if (PyModule_Check(m)) {
  ------------------
  |  |   12|     35|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|     35|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 35, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  601|     35|        PyModuleObject *mod = (PyModuleObject*)m;
  602|     35|        mod->md_state = NULL;
  603|     35|        module_copy_members_from_deflike(mod, def_like);
  604|     35|        if (original_def) {
  ------------------
  |  Branch (604:13): [True: 35, False: 0]
  ------------------
  605|     35|            assert (!token || token == original_def);
  ------------------
  |  Branch (605:13): [True: 35, False: 0]
  |  Branch (605:13): [True: 0, False: 0]
  ------------------
  606|     35|            mod->md_token = original_def;
  607|     35|            mod->md_token_is_def = 1;
  608|     35|        }
  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|     35|        (void)requires_gil;
  616|     35|#endif
  617|     35|        mod->md_exec = m_exec;
  618|     35|    } 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|     35|    if (def_like->m_methods != NULL) {
  ------------------
  |  Branch (646:9): [True: 34, False: 1]
  ------------------
  647|     34|        ret = _add_methods_to_object(m, nameobj, def_like->m_methods);
  648|     34|        if (ret != 0) {
  ------------------
  |  Branch (648:13): [True: 0, False: 34]
  ------------------
  649|      0|            goto error;
  650|      0|        }
  651|     34|    }
  652|       |
  653|     35|    if (def_like->m_doc != NULL) {
  ------------------
  |  Branch (653:9): [True: 31, False: 4]
  ------------------
  654|     31|        ret = PyModule_SetDocString(m, def_like->m_doc);
  655|     31|        if (ret != 0) {
  ------------------
  |  Branch (655:13): [True: 0, False: 31]
  ------------------
  656|      0|            goto error;
  657|      0|        }
  658|     31|    }
  659|       |
  660|     35|    Py_DECREF(nameobj);
  ------------------
  |  |  430|     35|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  661|     35|    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|     35|}
moduleobject.c:alloc_state:
  729|     70|{
  730|     70|    if (!PyModule_Check(module)) {
  ------------------
  |  |   12|     70|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_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 (730:9): [True: 0, False: 70]
  ------------------
  731|      0|        PyErr_Format(PyExc_TypeError, "expected module, got %T", module);
  732|      0|        return -1;
  733|      0|    }
  734|     70|    PyModuleObject *md = (PyModuleObject*)module;
  735|       |
  736|     70|    if (md->md_state_size >= 0) {
  ------------------
  |  Branch (736:9): [True: 70, False: 0]
  ------------------
  737|     70|        if (md->md_state == NULL) {
  ------------------
  |  Branch (737:13): [True: 35, False: 35]
  ------------------
  738|       |            /* Always set a state pointer; this serves as a marker to skip
  739|       |             * multiple initialization (importlib.reload() is no-op) */
  740|     35|            md->md_state = PyMem_Malloc(md->md_state_size);
  741|     35|            if (!md->md_state) {
  ------------------
  |  Branch (741:17): [True: 0, False: 35]
  ------------------
  742|      0|                PyErr_NoMemory();
  743|      0|                return -1;
  744|      0|            }
  745|     35|            memset(md->md_state, 0, md->md_state_size);
  746|     35|        }
  747|     70|    }
  748|     70|    return 0;
  749|     70|}
moduleobject.c:run_exec_func:
  706|     33|{
  707|     33|    int ret = exec(module);
  708|     33|    if (ret != 0) {
  ------------------
  |  Branch (708:9): [True: 0, False: 33]
  ------------------
  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|     33|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (717:9): [True: 0, False: 33]
  ------------------
  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|     33|    return 0;
  725|     33|}
moduleobject.c:_add_methods_to_object:
  296|     42|{
  297|     42|    PyObject *func;
  298|     42|    PyMethodDef *fdef;
  299|       |
  300|  1.08k|    for (fdef = functions; fdef->ml_name != NULL; fdef++) {
  ------------------
  |  Branch (300:28): [True: 1.04k, False: 42]
  ------------------
  301|  1.04k|        if ((fdef->ml_flags & METH_CLASS) ||
  ------------------
  |  |  104|  1.04k|#define METH_CLASS    0x0010
  ------------------
  |  Branch (301:13): [True: 0, False: 1.04k]
  ------------------
  302|  1.04k|            (fdef->ml_flags & METH_STATIC)) {
  ------------------
  |  |  105|  1.04k|#define METH_STATIC   0x0020
  ------------------
  |  Branch (302:13): [True: 0, False: 1.04k]
  ------------------
  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.04k|        func = PyCFunction_NewEx(fdef, (PyObject*)module, name);
  ------------------
  |  |   87|  1.04k|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  ------------------
  309|  1.04k|        if (func == NULL) {
  ------------------
  |  Branch (309:13): [True: 0, False: 1.04k]
  ------------------
  310|      0|            return -1;
  311|      0|        }
  312|  1.04k|        _PyObject_SetDeferredRefcount(func);
  313|  1.04k|        if (PyObject_SetAttrString(module, fdef->ml_name, func) != 0) {
  ------------------
  |  Branch (313:13): [True: 0, False: 1.04k]
  ------------------
  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.04k|        Py_DECREF(func);
  ------------------
  |  |  430|  1.04k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  318|  1.04k|    }
  319|       |
  320|     42|    return 0;
  321|     42|}
moduleobject.c:try_load_lazy_submodule:
 1306|    257|{
 1307|    257|    PyObject *mod_name;
 1308|    257|    int rc = PyDict_GetItemRef(m->md_dict, &_Py_ID(__name__), &mod_name);
  ------------------
  |  |  920|    257|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    257|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    257|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1309|    257|    if (rc <= 0) {
  ------------------
  |  Branch (1309:9): [True: 0, False: 257]
  ------------------
 1310|      0|        return NULL;
 1311|      0|    }
 1312|    257|    if (!PyUnicode_Check(mod_name)) {
  ------------------
  |  |  103|    257|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    257|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1312:9): [True: 0, False: 257]
  ------------------
 1313|      0|        Py_DECREF(mod_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1314|      0|        return NULL;
 1315|      0|    }
 1316|    257|    PyObject *result = _PyImport_TryLoadLazySubmodule(mod_name, name);
 1317|    257|    Py_DECREF(mod_name);
  ------------------
  |  |  430|    257|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    257|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    257|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1318|    257|    if (result == NULL) {
  ------------------
  |  Branch (1318:9): [True: 257, False: 0]
  ------------------
 1319|    257|        PyErr_Clear();
 1320|    257|        return NULL;
 1321|    257|    }
 1322|      0|    if (PyDict_SetItem(m->md_dict, name, result) < 0) {
  ------------------
  |  Branch (1322:9): [True: 0, False: 0]
  ------------------
 1323|      0|        Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1324|      0|        return NULL;
 1325|      0|    }
 1326|      0|    return result;
 1327|      0|}
moduleobject.c:module_dealloc:
 1137|      1|{
 1138|      1|    PyModuleObject *m = _PyModule_CAST(self);
  ------------------
  |  |   24|      1|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1138:25): [True: 1, False: 0]
  ------------------
 1139|       |
 1140|      0|    PyObject_GC_UnTrack(m);
 1141|       |
 1142|      1|    int verbose = _Py_GetConfig()->verbose;
 1143|      1|    if (verbose && m->md_name) {
  ------------------
  |  Branch (1143:9): [True: 0, False: 1]
  |  Branch (1143:20): [True: 0, False: 0]
  ------------------
 1144|      0|        PySys_FormatStderr("# destroy %U\n", m->md_name);
 1145|      0|    }
 1146|      1|    FT_CLEAR_WEAKREFS(self, m->md_weaklist);
  ------------------
  |  |   47|      1|    do {                                            \
  |  |   48|      1|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|      1|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 1]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
  |  Branch (1146:5): [True: 1, False: 0]
  ------------------
 1147|       |
 1148|      1|    assert_def_missing_or_redundant(m);
 1149|       |    /* bpo-39824: Don't call m_free() if m_size > 0 and md_state=NULL */
 1150|      1|    if (m->md_state_free && (m->md_state_size <= 0 || m->md_state != NULL))
  ------------------
  |  Branch (1150:9): [True: 0, False: 1]
  |  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|      1|    Py_XDECREF(m->md_dict);
  ------------------
  |  |  524|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1156|      1|    Py_XDECREF(m->md_name);
  ------------------
  |  |  524|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1157|      1|    if (m->md_state != NULL) {
  ------------------
  |  Branch (1157:9): [True: 0, False: 1]
  ------------------
 1158|      0|        PyMem_Free(m->md_state);
 1159|      0|    }
 1160|      1|    Py_TYPE(m)->tp_free((PyObject *)m);
  ------------------
  |  |  213|      1|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1161|      1|}
moduleobject.c:assert_def_missing_or_redundant:
   34|  18.4k|{
   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|  18.4k|#ifndef NDEBUG
   40|  18.4k|    if (m->md_token_is_def) {
  ------------------
  |  Branch (40:9): [True: 7.21k, False: 11.1k]
  ------------------
   41|  7.21k|        PyModuleDef *def = (PyModuleDef *)m->md_token;
   42|  7.21k|        assert(def);
  ------------------
  |  Branch (42:9): [True: 7.21k, False: 0]
  ------------------
   43|  7.21k|#define DO_ASSERT(F) assert (def->m_ ## F == m->md_state_ ## F);
   44|  7.21k|        DO_ASSERT(size);
  ------------------
  |  |   43|  7.21k|#define DO_ASSERT(F) assert (def->m_ ## F == m->md_state_ ## F);
  ------------------
  |  Branch (44:9): [True: 7.21k, False: 0]
  ------------------
   45|  7.21k|        DO_ASSERT(traverse);
  ------------------
  |  |   43|  7.21k|#define DO_ASSERT(F) assert (def->m_ ## F == m->md_state_ ## F);
  ------------------
  |  Branch (45:9): [True: 7.21k, False: 0]
  ------------------
   46|  7.21k|        DO_ASSERT(clear);
  ------------------
  |  |   43|  7.21k|#define DO_ASSERT(F) assert (def->m_ ## F == m->md_state_ ## F);
  ------------------
  |  Branch (46:9): [True: 7.21k, False: 0]
  ------------------
   47|  7.21k|        DO_ASSERT(free);
  ------------------
  |  |   43|  7.21k|#define DO_ASSERT(F) assert (def->m_ ## F == m->md_state_ ## F);
  ------------------
  |  Branch (47:9): [True: 7.21k, False: 0]
  ------------------
   48|  7.21k|#undef DO_ASSERT
   49|  7.21k|    }
   50|  18.4k|#endif // NDEBUG
   51|  18.4k|}
moduleobject.c:module_traverse:
 1539|  18.4k|{
 1540|  18.4k|    PyModuleObject *m = _PyModule_CAST(self);
  ------------------
  |  |   24|  18.4k|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  18.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1540:25): [True: 18.4k, False: 0]
  ------------------
 1541|       |
 1542|      0|    assert_def_missing_or_redundant(m);
 1543|       |    /* bpo-39824: Don't call m_traverse() if m_size > 0 and md_state=NULL */
 1544|  18.4k|    if (m->md_state_traverse && (m->md_state_size <= 0 || m->md_state != NULL))
  ------------------
  |  Branch (1544:9): [True: 3.21k, False: 15.2k]
  |  Branch (1544:34): [True: 0, False: 3.21k]
  |  Branch (1544:59): [True: 3.21k, False: 0]
  ------------------
 1545|  3.21k|    {
 1546|  3.21k|        int res = m->md_state_traverse((PyObject*)m, visit, arg);
 1547|  3.21k|        if (res)
  ------------------
  |  Branch (1547:13): [True: 0, False: 3.21k]
  ------------------
 1548|      0|            return res;
 1549|  3.21k|    }
 1550|       |
 1551|  18.4k|    Py_VISIT(m->md_dict);
  ------------------
  |  |  194|  18.4k|    do {                                                                \
  |  |  195|  18.4k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18.4k, False: 0]
  |  |  ------------------
  |  |  196|  18.4k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  18.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  18.4k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 18.4k]
  |  |  ------------------
  |  |  198|  18.4k|                return vret;                                            \
  |  |  199|  18.4k|        }                                                               \
  |  |  200|  18.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18.4k]
  |  |  ------------------
  ------------------
 1552|  18.4k|    return 0;
 1553|  18.4k|}
moduleobject.c:module_dir:
 1580|      2|{
 1581|      2|    PyObject *result = NULL;
 1582|      2|    PyObject *dict;
 1583|      2|    if (PyModule_CheckExact(self)) {
  ------------------
  |  |   13|      2|#define PyModule_CheckExact(op) Py_IS_TYPE((op), &PyModule_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1584|      2|        dict = Py_NewRef(((PyModuleObject *)self)->md_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1585|      2|    } else {
 1586|      0|        dict = PyObject_GetAttr(self, &_Py_ID(__dict__));
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1587|      0|    }
 1588|       |
 1589|      2|    if (dict != NULL) {
  ------------------
  |  Branch (1589:9): [True: 2, False: 0]
  ------------------
 1590|      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 (760:41): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1591|      2|            PyObject *dirfunc = PyDict_GetItemWithError(dict, &_Py_ID(__dir__));
  ------------------
  |  |  920|      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|            if (dirfunc) {
  ------------------
  |  Branch (1592:17): [True: 0, False: 2]
  ------------------
 1593|      0|                result = _PyObject_CallNoArgs(dirfunc);
 1594|      0|            }
 1595|      2|            else if (!PyErr_Occurred()) {
  ------------------
  |  Branch (1595:22): [True: 2, False: 0]
  ------------------
 1596|      2|                result = PyDict_Keys(dict);
 1597|      2|            }
 1598|      2|        }
 1599|      0|        else {
 1600|      0|            PyErr_Format(PyExc_TypeError, "<module>.__dict__ is not a dictionary");
 1601|      0|        }
 1602|      2|    }
 1603|       |
 1604|      2|    Py_XDECREF(dict);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1605|      2|    return result;
 1606|      2|}
moduleobject.c:module___init___impl:
 1131|     56|{
 1132|     56|    return module_init_dict(self, self->md_dict, name, doc);
 1133|     56|}
moduleobject.c:new_module:
  238|     56|{
  239|     56|    PyModuleObject *m = new_module_notrack(mt);
  240|     56|    if (m != NULL) {
  ------------------
  |  Branch (240:9): [True: 56, False: 0]
  ------------------
  241|     56|        track_module(m);
  242|     56|    }
  243|     56|    return (PyObject *)m;
  244|     56|}

_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|      2|{
   85|      2|    _PyNamespaceObject *ns = _PyNamespace_CAST(op);
  ------------------
  |  |   15|      2|#define _PyNamespace_CAST(op) _Py_CAST(_PyNamespaceObject*, (op))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   86|      2|    PyObject_GC_UnTrack(ns);
   87|      2|    Py_CLEAR(ns->ns_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: 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]
  |  |  ------------------
  ------------------
   88|      2|    Py_TYPE(ns)->tp_free((PyObject *)ns);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   89|      2|}
namespaceobject.c:namespace_traverse:
  179|  5.64k|{
  180|  5.64k|    _PyNamespaceObject *ns = _PyNamespace_CAST(op);
  ------------------
  |  |   15|  5.64k|#define _PyNamespace_CAST(op) _Py_CAST(_PyNamespaceObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  5.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  181|  5.64k|    Py_VISIT(ns->ns_dict);
  ------------------
  |  |  194|  5.64k|    do {                                                                \
  |  |  195|  5.64k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 5.64k, False: 0]
  |  |  ------------------
  |  |  196|  5.64k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  5.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  5.64k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 5.64k]
  |  |  ------------------
  |  |  198|  5.64k|                return vret;                                            \
  |  |  199|  5.64k|        }                                                               \
  |  |  200|  5.64k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 5.64k]
  |  |  ------------------
  ------------------
  182|  5.64k|    return 0;
  183|  5.64k|}
namespaceobject.c:namespace_init:
   48|     34|{
   49|     34|    _PyNamespaceObject *ns = _PyNamespace_CAST(op);
  ------------------
  |  |   15|     34|#define _PyNamespace_CAST(op) _Py_CAST(_PyNamespaceObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   50|     34|    PyObject *arg = NULL;
   51|     34|    if (!PyArg_UnpackTuple(args, _PyType_Name(Py_TYPE(ns)), 0, 1, &arg)) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (51:9): [True: 0, False: 34]
  ------------------
   52|      0|        return -1;
   53|      0|    }
   54|     34|    if (arg != NULL) {
  ------------------
  |  Branch (54:9): [True: 0, False: 34]
  ------------------
   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|     34|    if (kwds == NULL) {
  ------------------
  |  Branch (72:9): [True: 0, False: 34]
  ------------------
   73|      0|        return 0;
   74|      0|    }
   75|     34|    if (!PyArg_ValidateKeywordArguments(kwds)) {
  ------------------
  |  Branch (75:9): [True: 0, False: 34]
  ------------------
   76|      0|        return -1;
   77|      0|    }
   78|     34|    return PyDict_Update(ns->ns_dict, kwds);
   79|     34|}
namespaceobject.c:namespace_new:
   29|     42|{
   30|     42|    PyObject *self;
   31|       |
   32|     42|    assert(type != NULL && type->tp_alloc != NULL);
  ------------------
  |  Branch (32:5): [True: 42, False: 0]
  |  Branch (32:5): [True: 42, False: 0]
  ------------------
   33|     42|    self = type->tp_alloc(type, 0);
   34|     42|    if (self != NULL) {
  ------------------
  |  Branch (34:9): [True: 42, False: 0]
  ------------------
   35|     42|        _PyNamespaceObject *ns = (_PyNamespaceObject *)self;
   36|     42|        ns->ns_dict = PyDict_New();
   37|     42|        if (ns->ns_dict == NULL) {
  ------------------
  |  Branch (37:13): [True: 0, False: 42]
  ------------------
   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|     42|    }
   42|     42|    return self;
   43|     42|}

_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|   630k|{
  556|   630k|    PyObject *op = (PyObject *) PyObject_Malloc(_PyObject_SIZE(tp));
  557|   630k|    if (op == NULL) {
  ------------------
  |  Branch (557:9): [True: 0, False: 630k]
  ------------------
  558|      0|        return PyErr_NoMemory();
  559|      0|    }
  560|   630k|    _PyObject_Init(op, tp);
  561|   630k|    return op;
  562|   630k|}
_PyObject_NewVar:
  566|  2.73k|{
  567|  2.73k|    PyVarObject *op;
  568|  2.73k|    const size_t size = _PyObject_VAR_SIZE(tp, nitems);
  569|  2.73k|    op = (PyVarObject *) PyObject_Malloc(size);
  570|  2.73k|    if (op == NULL) {
  ------------------
  |  Branch (570:9): [True: 0, False: 2.73k]
  ------------------
  571|      0|        return (PyVarObject *)PyErr_NoMemory();
  572|      0|    }
  573|  2.73k|    _PyObject_InitVar(op, tp, nitems);
  574|  2.73k|    return op;
  575|  2.73k|}
PyObject_CallFinalizer:
  579|  5.23M|{
  580|  5.23M|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|  5.23M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  581|       |
  582|  5.23M|    if (tp->tp_finalize == NULL)
  ------------------
  |  Branch (582:9): [True: 0, False: 5.23M]
  ------------------
  583|      0|        return;
  584|       |    /* tp_finalize should only be called once. */
  585|  5.23M|    if (_PyType_IS_GC(tp) && _PyGC_FINALIZED(self))
  ------------------
  |  |  822|  10.4M|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  5.23M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  |  |  |  Branch (822:26): [True: 5.23M, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (585:30): [True: 0, False: 5.23M]
  ------------------
  586|      0|        return;
  587|       |
  588|  5.23M|    tp->tp_finalize(self);
  589|  5.23M|    if (_PyType_IS_GC(tp)) {
  ------------------
  |  |  822|  5.23M|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  5.23M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  |  |  |  Branch (822:26): [True: 5.23M, False: 0]
  |  |  ------------------
  ------------------
  590|  5.23M|        _PyGC_SET_FINALIZED(self);
  591|  5.23M|    }
  592|  5.23M|}
PyObject_CallFinalizerFromDealloc:
  596|  5.23M|{
  597|  5.23M|    if (Py_REFCNT(self) != 0) {
  ------------------
  |  |  119|  5.23M|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (597:9): [True: 0, False: 5.23M]
  ------------------
  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|  5.23M|    _PyObject_ResurrectStart(self);
  605|       |
  606|  5.23M|    PyObject_CallFinalizer(self);
  607|       |
  608|  5.23M|    _PyObject_ASSERT_WITH_MSG(self,
  ------------------
  |  |  421|  5.23M|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  |  414|  5.23M|    ((expr) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (414:6): [True: 5.23M, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  415|  5.23M|      ? (void)(0) \
  |  |  |  |  416|  5.23M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  ------------------
  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  |  |  ------------------
  ------------------
  609|  5.23M|                              Py_REFCNT(self) > 0,
  610|  5.23M|                              "refcount is too small");
  611|       |
  612|  5.23M|    _PyObject_ASSERT(self,
  ------------------
  |  |  423|  5.23M|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|  5.23M|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  414|  10.4M|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (414:7): [True: 0, False: 5.23M]
  |  |  |  |  |  |  |  Branch (414:7): [True: 5.23M, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  415|  5.23M|      ? (void)(0) \
  |  |  |  |  |  |  416|  5.23M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  613|  5.23M|                    (!_PyType_IS_GC(Py_TYPE(self))
  614|  5.23M|                    || _PyObject_GC_IS_TRACKED(self)));
  615|       |
  616|       |    /* Undo the temporary resurrection; can't use DECREF here, it would
  617|       |     * cause a recursive call. */
  618|  5.23M|    if (_PyObject_ResurrectEnd(self)) {
  ------------------
  |  Branch (618:9): [True: 0, False: 5.23M]
  ------------------
  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|  5.23M|    return 0;
  630|  5.23M|}
_PyObject_IsFreed:
  711|   219M|{
  712|   219M|    if (_PyMem_IsPtrFreed(op) || _PyMem_IsPtrFreed(Py_TYPE(op))) {
  ------------------
  |  |  213|   219M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   219M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   219M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (712:9): [True: 0, False: 219M]
  |  Branch (712:34): [True: 0, False: 219M]
  ------------------
  713|      0|        return 1;
  714|      0|    }
  715|   219M|    return 0;
  716|   219M|}
PyObject_Repr:
  760|    424|{
  761|    424|    PyObject *res;
  762|    424|    if (PyErr_CheckSignals())
  ------------------
  |  Branch (762:9): [True: 0, False: 424]
  ------------------
  763|      0|        return NULL;
  764|    424|    if (v == NULL)
  ------------------
  |  Branch (764:9): [True: 0, False: 424]
  ------------------
  765|      0|        return PyUnicode_FromString("<NULL>");
  766|    424|    if (Py_TYPE(v)->tp_repr == NULL)
  ------------------
  |  |  213|    424|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    424|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    424|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (766:9): [True: 0, False: 424]
  ------------------
  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|    424|    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|    424|    if (_Py_EnterRecursiveCallTstate(tstate,
  ------------------
  |  Branch (780:9): [True: 0, False: 424]
  ------------------
  781|    424|                                     " while getting the repr of an object")) {
  782|      0|        return NULL;
  783|      0|    }
  784|    424|    res = (*Py_TYPE(v)->tp_repr)(v);
  ------------------
  |  |  213|    424|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    424|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    424|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  785|    424|    _Py_LeaveRecursiveCallTstate(tstate);
  786|       |
  787|    424|    if (res == NULL) {
  ------------------
  |  Branch (787:9): [True: 0, False: 424]
  ------------------
  788|      0|        return NULL;
  789|      0|    }
  790|    424|    if (!PyUnicode_Check(res)) {
  ------------------
  |  |  103|    424|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    424|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (790:9): [True: 0, False: 424]
  ------------------
  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|    424|    return res;
  797|    424|}
PyObject_Str:
  801|  1.06M|{
  802|  1.06M|    PyObject *res;
  803|  1.06M|    if (PyErr_CheckSignals())
  ------------------
  |  Branch (803:9): [True: 0, False: 1.06M]
  ------------------
  804|      0|        return NULL;
  805|  1.06M|    if (v == NULL)
  ------------------
  |  Branch (805:9): [True: 0, False: 1.06M]
  ------------------
  806|      0|        return PyUnicode_FromString("<NULL>");
  807|  1.06M|    if (PyUnicode_CheckExact(v)) {
  ------------------
  |  |  104|  1.06M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  1.06M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.06M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.06M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 355k, False: 711k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  808|   355k|        return Py_NewRef(v);
  ------------------
  |  |  550|   355k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  809|   355k|    }
  810|   711k|    if (Py_TYPE(v)->tp_str == NULL)
  ------------------
  |  |  213|   711k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   711k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   711k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (810:9): [True: 0, False: 711k]
  ------------------
  811|      0|        return PyObject_Repr(v);
  812|       |
  813|   711k|    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|   711k|    if (_Py_EnterRecursiveCallTstate(tstate, " while getting the str of an object")) {
  ------------------
  |  Branch (823:9): [True: 0, False: 711k]
  ------------------
  824|      0|        return NULL;
  825|      0|    }
  826|   711k|    res = (*Py_TYPE(v)->tp_str)(v);
  ------------------
  |  |  213|   711k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   711k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   711k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  827|   711k|    _Py_LeaveRecursiveCallTstate(tstate);
  828|       |
  829|   711k|    if (res == NULL) {
  ------------------
  |  Branch (829:9): [True: 0, False: 711k]
  ------------------
  830|      0|        return NULL;
  831|      0|    }
  832|   711k|    if (!PyUnicode_Check(res)) {
  ------------------
  |  |  103|   711k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   711k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (832:9): [True: 0, False: 711k]
  ------------------
  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|   711k|    assert(_PyUnicode_CheckConsistency(res, 1));
  ------------------
  |  Branch (838:5): [True: 711k, False: 0]
  ------------------
  839|   711k|    return res;
  840|   711k|}
PyObject_ASCII:
  844|    271|{
  845|    271|    PyObject *repr, *ascii, *res;
  846|       |
  847|    271|    repr = PyObject_Repr(v);
  848|    271|    if (repr == NULL)
  ------------------
  |  Branch (848:9): [True: 0, False: 271]
  ------------------
  849|      0|        return NULL;
  850|       |
  851|    271|    if (PyUnicode_IS_ASCII(repr))
  ------------------
  |  |  227|    271|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    271|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    271|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 12, False: 259]
  |  |  ------------------
  ------------------
  852|     12|        return repr;
  853|       |
  854|       |    /* repr is guaranteed to be a PyUnicode object by PyObject_Repr */
  855|    259|    ascii = _PyUnicode_AsASCIIString(repr, "backslashreplace");
  856|    259|    Py_DECREF(repr);
  ------------------
  |  |  430|    259|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    259|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    259|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  857|    259|    if (ascii == NULL)
  ------------------
  |  Branch (857:9): [True: 0, False: 259]
  ------------------
  858|      0|        return NULL;
  859|       |
  860|    259|    res = PyUnicode_DecodeASCII(
  861|    259|        PyBytes_AS_STRING(ascii),
  ------------------
  |  |   27|    259|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    259|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    259|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  862|    259|        PyBytes_GET_SIZE(ascii),
  ------------------
  |  |   33|    259|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    259|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    259|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  863|    259|        NULL);
  864|       |
  865|    259|    Py_DECREF(ascii);
  ------------------
  |  |  430|    259|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    259|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    259|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  866|    259|    return res;
  867|    259|}
_PyObject_ClearFreeLists:
  927|    132|{
  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|    132|    clear_freelist(&freelists->floats, is_finalization, free_object);
  931|    132|    clear_freelist(&freelists->complexes, is_finalization, free_object);
  932|  2.77k|    for (Py_ssize_t i = 0; i < PyTuple_MAXSAVESIZE; i++) {
  ------------------
  |  |   11|  2.77k|#  define PyTuple_MAXSAVESIZE 20     // Largest tuple to save on freelist
  ------------------
  |  Branch (932:28): [True: 2.64k, False: 132]
  ------------------
  933|  2.64k|        clear_freelist(&freelists->tuples[i], is_finalization, free_object);
  934|  2.64k|    }
  935|    132|    clear_freelist(&freelists->lists, is_finalization, free_object);
  936|    132|    clear_freelist(&freelists->list_iters, is_finalization, free_object);
  937|    132|    clear_freelist(&freelists->tuple_iters, is_finalization, free_object);
  938|    132|    clear_freelist(&freelists->dicts, is_finalization, free_object);
  939|    132|    clear_freelist(&freelists->dictkeys, is_finalization, PyMem_Free);
  940|    132|    clear_freelist(&freelists->slices, is_finalization, free_object);
  941|    132|    clear_freelist(&freelists->ranges, is_finalization, free_object);
  942|    132|    clear_freelist(&freelists->range_iters, is_finalization, free_object);
  943|    132|    clear_freelist(&freelists->contexts, is_finalization, free_object);
  944|    132|    clear_freelist(&freelists->async_gens, is_finalization, free_object);
  945|    132|    clear_freelist(&freelists->async_gen_asends, is_finalization, free_object);
  946|    132|    clear_freelist(&freelists->futureiters, is_finalization, free_object);
  947|    132|    if (is_finalization) {
  ------------------
  |  Branch (947:9): [True: 0, False: 132]
  ------------------
  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|    132|    clear_freelist(&freelists->unicode_writers, is_finalization, PyMem_Free);
  953|    132|    clear_freelist(&freelists->bytes_writers, is_finalization, PyMem_Free);
  954|    132|    clear_freelist(&freelists->ints, is_finalization, free_object);
  955|    132|    clear_freelist(&freelists->pycfunctionobject, is_finalization, PyObject_GC_Del);
  956|    132|    clear_freelist(&freelists->pycmethodobject, is_finalization, PyObject_GC_Del);
  957|    132|    clear_freelist(&freelists->pymethodobjects, is_finalization, free_object);
  958|    132|}
PyObject_RichCompare:
 1100|  39.7M|{
 1101|  39.7M|    PyThreadState *tstate = _PyThreadState_GET();
 1102|       |
 1103|  39.7M|    assert(Py_LT <= op && op <= Py_GE);
  ------------------
  |  Branch (1103:5): [True: 39.7M, False: 0]
  |  Branch (1103:5): [True: 39.7M, False: 0]
  ------------------
 1104|  39.7M|    if (v == NULL || w == NULL) {
  ------------------
  |  Branch (1104:9): [True: 0, False: 39.7M]
  |  Branch (1104:22): [True: 0, False: 39.7M]
  ------------------
 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|  39.7M|    if (_Py_EnterRecursiveCallTstate(tstate, " in comparison")) {
  ------------------
  |  Branch (1110:9): [True: 0, False: 39.7M]
  ------------------
 1111|      0|        return NULL;
 1112|      0|    }
 1113|  39.7M|    PyObject *res = do_richcompare(tstate, v, w, op);
 1114|  39.7M|    _Py_LeaveRecursiveCallTstate(tstate);
 1115|  39.7M|    return res;
 1116|  39.7M|}
PyObject_RichCompareBool:
 1122|  42.3M|{
 1123|  42.3M|    PyObject *res;
 1124|  42.3M|    int ok;
 1125|       |
 1126|       |    /* Quick result when objects are the same.
 1127|       |       Guarantees that identity implies equality. */
 1128|  42.3M|    if (v == w) {
  ------------------
  |  Branch (1128:9): [True: 7.26M, False: 35.0M]
  ------------------
 1129|  7.26M|        if (op == Py_EQ)
  ------------------
  |  |  654|  7.26M|#define Py_EQ 2
  ------------------
  |  Branch (1129:13): [True: 4.47M, False: 2.78M]
  ------------------
 1130|  4.47M|            return 1;
 1131|  2.78M|        else if (op == Py_NE)
  ------------------
  |  |  655|  2.78M|#define Py_NE 3
  ------------------
  |  Branch (1131:18): [True: 0, False: 2.78M]
  ------------------
 1132|      0|            return 0;
 1133|  7.26M|    }
 1134|       |
 1135|  37.8M|    res = PyObject_RichCompare(v, w, op);
 1136|  37.8M|    if (res == NULL)
  ------------------
  |  Branch (1136:9): [True: 0, False: 37.8M]
  ------------------
 1137|      0|        return -1;
 1138|  37.8M|    if (PyBool_Check(res)) {
  ------------------
  |  |   12|  37.8M|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|  37.8M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  37.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  37.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 37.8M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1139|  37.8M|        ok = (res == Py_True);
  ------------------
  |  |   26|  37.8M|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  37.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  37.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1140|  37.8M|        assert(_Py_IsImmortal(res));
  ------------------
  |  Branch (1140:9): [True: 37.8M, False: 0]
  ------------------
 1141|  37.8M|    }
 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|  37.8M|    return ok;
 1147|  37.8M|}
PyObject_Hash:
 1159|  46.3M|{
 1160|  46.3M|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  213|  46.3M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  46.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  46.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1161|  46.3M|    if (tp->tp_hash != NULL)
  ------------------
  |  Branch (1161:9): [True: 46.3M, False: 0]
  ------------------
 1162|  46.3M|        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.03k|{
 1181|  1.03k|    PyObject *w, *res;
 1182|       |
 1183|  1.03k|    if (Py_TYPE(v)->tp_getattr != NULL)
  ------------------
  |  |  213|  1.03k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1183:9): [True: 0, False: 1.03k]
  ------------------
 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.03k|    w = PyUnicode_FromString(name);
 1186|  1.03k|    if (w == NULL)
  ------------------
  |  Branch (1186:9): [True: 0, False: 1.03k]
  ------------------
 1187|      0|        return NULL;
 1188|  1.03k|    res = PyObject_GetAttr(v, w);
 1189|  1.03k|    Py_DECREF(w);
  ------------------
  |  |  430|  1.03k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1190|  1.03k|    return res;
 1191|  1.03k|}
PyObject_SetAttrString:
 1219|  1.10k|{
 1220|  1.10k|    PyThreadState *tstate = _PyThreadState_GET();
 1221|  1.10k|    if (w == NULL && _PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1221:9): [True: 0, False: 1.10k]
  |  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|  1.10k|    if (Py_TYPE(v)->tp_setattr != NULL) {
  ------------------
  |  |  213|  1.10k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.10k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1230:9): [True: 0, False: 1.10k]
  ------------------
 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|  1.10k|    PyObject *s = PyUnicode_InternFromString(name);
 1235|  1.10k|    if (s == NULL) {
  ------------------
  |  Branch (1235:9): [True: 0, False: 1.10k]
  ------------------
 1236|      0|        return -1;
 1237|      0|    }
 1238|       |
 1239|  1.10k|    int res = PyObject_SetAttr(v, s, w);
 1240|  1.10k|    Py_DECREF(s);
  ------------------
  |  |  430|  1.10k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.10k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1241|  1.10k|    return res;
 1242|  1.10k|}
_PyObject_IsAbstract:
 1252|  1.11k|{
 1253|  1.11k|    int res;
 1254|  1.11k|    PyObject* isabstract;
 1255|       |
 1256|  1.11k|    if (obj == NULL)
  ------------------
  |  Branch (1256:9): [True: 18, False: 1.10k]
  ------------------
 1257|     18|        return 0;
 1258|       |
 1259|  1.10k|    res = PyObject_GetOptionalAttr(obj, &_Py_ID(__isabstractmethod__), &isabstract);
  ------------------
  |  |  920|  1.10k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.10k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.10k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1260|  1.10k|    if (res > 0) {
  ------------------
  |  Branch (1260:9): [True: 267, False: 833]
  ------------------
 1261|    267|        res = PyObject_IsTrue(isabstract);
 1262|    267|        Py_DECREF(isabstract);
  ------------------
  |  |  430|    267|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    267|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    267|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1263|    267|    }
 1264|  1.10k|    return res;
 1265|  1.11k|}
_PyObject_SetAttributeErrorContext:
 1283|     46|{
 1284|     46|    assert(PyErr_Occurred());
  ------------------
  |  Branch (1284:5): [True: 46, False: 0]
  ------------------
 1285|     46|    if (!PyErr_ExceptionMatches(PyExc_AttributeError)){
  ------------------
  |  Branch (1285:9): [True: 0, False: 46]
  ------------------
 1286|      0|        return 0;
 1287|      0|    }
 1288|       |    // Intercept AttributeError exceptions and augment them to offer suggestions later.
 1289|     46|    PyObject *exc = PyErr_GetRaisedException();
 1290|     46|    if (!PyErr_GivenExceptionMatches(exc, PyExc_AttributeError)) {
  ------------------
  |  Branch (1290:9): [True: 0, False: 46]
  ------------------
 1291|      0|        goto restore;
 1292|      0|    }
 1293|     46|    PyAttributeErrorObject* the_exc = (PyAttributeErrorObject*) exc;
 1294|       |    // Check if this exception was already augmented
 1295|     46|    if (the_exc->name || the_exc->obj) {
  ------------------
  |  Branch (1295:9): [True: 2, False: 44]
  |  Branch (1295:26): [True: 0, False: 44]
  ------------------
 1296|      2|        goto restore;
 1297|      2|    }
 1298|       |    // Augment the exception with the name and object
 1299|     44|    if (PyObject_SetAttr(exc, &_Py_ID(name), name) ||
  ------------------
  |  |  920|     44|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     44|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     44|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1299:9): [True: 0, False: 44]
  ------------------
 1300|     44|        PyObject_SetAttr(exc, &_Py_ID(obj), v)) {
  ------------------
  |  |  920|     44|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     44|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     44|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1300:9): [True: 0, False: 44]
  ------------------
 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|     46|restore:
 1305|     46|    PyErr_SetRaisedException(exc);
 1306|     46|    return 0;
 1307|     44|}
PyObject_GetAttr:
 1311|  1.08M|{
 1312|  1.08M|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1313|  1.08M|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  1.08M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.08M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1313:9): [True: 0, False: 1.08M]
  ------------------
 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|  1.08M|    PyObject* result = NULL;
 1321|  1.08M|    if (tp->tp_getattro != NULL) {
  ------------------
  |  Branch (1321:9): [True: 1.08M, False: 0]
  ------------------
 1322|  1.08M|        result = (*tp->tp_getattro)(v, name);
 1323|  1.08M|    }
 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|  1.08M|    if (result == NULL) {
  ------------------
  |  Branch (1337:9): [True: 4, False: 1.08M]
  ------------------
 1338|      4|        _PyObject_SetAttributeErrorContext(v, name);
 1339|      4|    }
 1340|  1.08M|    return result;
 1341|  1.08M|}
_PyObject_GetAttrStackRef:
 1348|  18.5M|{
 1349|  18.5M|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  213|  18.5M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  18.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1350|  18.5M|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  18.5M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  18.5M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1350:9): [True: 0, False: 18.5M]
  ------------------
 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|  18.5M|    if (tp->tp_getattro == _Py_type_getattro) {
  ------------------
  |  Branch (1358:9): [True: 712k, False: 17.8M]
  ------------------
 1359|   712k|        _PyStackRef result = _Py_type_getattro_stackref((PyTypeObject *)v, name, NULL);
 1360|   712k|        if (PyStackRef_IsNull(result)) {
  ------------------
  |  |  482|   712k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|   712k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   712k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 2, False: 712k]
  |  |  ------------------
  ------------------
 1361|      2|            _PyObject_SetAttributeErrorContext(v, name);
 1362|      2|        }
 1363|   712k|        return result;
 1364|   712k|    }
 1365|       |
 1366|       |    /* Fall back to regular PyObject_GetAttr and convert to stackref */
 1367|  17.8M|    PyObject *result = NULL;
 1368|  17.8M|    if (tp->tp_getattro != NULL) {
  ------------------
  |  Branch (1368:9): [True: 17.8M, False: 0]
  ------------------
 1369|  17.8M|        result = (*tp->tp_getattro)(v, name);
 1370|  17.8M|    }
 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|  17.8M|    if (result == NULL) {
  ------------------
  |  Branch (1384:9): [True: 18, False: 17.8M]
  ------------------
 1385|     18|        _PyObject_SetAttributeErrorContext(v, name);
 1386|     18|        return PyStackRef_NULL;
 1387|     18|    }
 1388|  17.8M|    return PyStackRef_FromPyObjectSteal(result);
 1389|  17.8M|}
PyObject_GetOptionalAttr:
 1393|  28.6M|{
 1394|  28.6M|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  213|  28.6M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  28.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  28.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1395|       |
 1396|  28.6M|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  28.6M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  28.6M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1396:9): [True: 0, False: 28.6M]
  ------------------
 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|  28.6M|    if (tp->tp_getattro == PyObject_GenericGetAttr) {
  ------------------
  |  Branch (1404:9): [True: 24.1M, False: 4.52M]
  ------------------
 1405|  24.1M|        *result = _PyObject_GenericGetAttrWithDict(v, name, NULL, 1);
 1406|  24.1M|        if (*result != NULL) {
  ------------------
  |  Branch (1406:13): [True: 24.0M, False: 113k]
  ------------------
 1407|  24.0M|            return 1;
 1408|  24.0M|        }
 1409|   113k|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1409:13): [True: 0, False: 113k]
  ------------------
 1410|      0|            return -1;
 1411|      0|        }
 1412|   113k|        return 0;
 1413|   113k|    }
 1414|  4.52M|    if (tp->tp_getattro == _Py_type_getattro) {
  ------------------
  |  Branch (1414:9): [True: 765, False: 4.52M]
  ------------------
 1415|    765|        int suppress_missing_attribute_exception = 0;
 1416|    765|        *result = _Py_type_getattro_impl((PyTypeObject*)v, name, &suppress_missing_attribute_exception);
 1417|    765|        if (suppress_missing_attribute_exception) {
  ------------------
  |  Branch (1417:13): [True: 29, False: 736]
  ------------------
 1418|       |            // return 0 without having to clear the exception
 1419|     29|            return 0;
 1420|     29|        }
 1421|    765|    }
 1422|  4.52M|    else if (tp->tp_getattro == (getattrofunc)_Py_module_getattro) {
  ------------------
  |  Branch (1422:14): [True: 4.52M, False: 0]
  ------------------
 1423|       |        // optimization: suppress attribute error from module getattro method
 1424|  4.52M|        *result = _Py_module_getattro_impl((PyModuleObject*)v, name, 1);
 1425|  4.52M|        if (*result != NULL) {
  ------------------
  |  Branch (1425:13): [True: 4.52M, False: 237]
  ------------------
 1426|  4.52M|            return 1;
 1427|  4.52M|        }
 1428|    237|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1428:13): [True: 0, False: 237]
  ------------------
 1429|      0|            return -1;
 1430|      0|        }
 1431|    237|        return 0;
 1432|    237|    }
 1433|      0|    else if (tp->tp_getattro != NULL) {
  ------------------
  |  Branch (1433:14): [True: 0, False: 0]
  ------------------
 1434|      0|        *result = (*tp->tp_getattro)(v, name);
 1435|      0|    }
 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|    736|    if (*result != NULL) {
  ------------------
  |  Branch (1449:9): [True: 711, False: 25]
  ------------------
 1450|    711|        return 1;
 1451|    711|    }
 1452|     25|    if (!PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1452:9): [True: 0, False: 25]
  ------------------
 1453|      0|        return -1;
 1454|      0|    }
 1455|     25|    PyErr_Clear();
 1456|     25|    return 0;
 1457|     25|}
PyObject_HasAttrWithError:
 1486|    214|{
 1487|    214|    PyObject *res;
 1488|    214|    int rc = PyObject_GetOptionalAttr(obj, name, &res);
 1489|    214|    Py_XDECREF(res);
  ------------------
  |  |  524|    214|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    214|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    214|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1490|    214|    return rc;
 1491|    214|}
PyObject_SetAttr:
 1509|  14.5k|{
 1510|  14.5k|    PyThreadState *tstate = _PyThreadState_GET();
 1511|  14.5k|    if (value == NULL && _PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1511:9): [True: 36, False: 14.5k]
  |  Branch (1511:26): [True: 0, False: 36]
  ------------------
 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|  14.5k|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  213|  14.5k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  14.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1521|  14.5k|    int err;
 1522|       |
 1523|  14.5k|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  14.5k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  14.5k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1523:9): [True: 0, False: 14.5k]
  ------------------
 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|  14.5k|    Py_INCREF(name);
  ------------------
  |  |  310|  14.5k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1530|       |
 1531|  14.5k|    _PyUnicode_InternMortal(tstate->interp, &name);
 1532|  14.5k|    if (tp->tp_setattro != NULL) {
  ------------------
  |  Branch (1532:9): [True: 14.5k, False: 0]
  ------------------
 1533|  14.5k|        err = (*tp->tp_setattro)(v, name, value);
 1534|  14.5k|        Py_DECREF(name);
  ------------------
  |  |  430|  14.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1535|  14.5k|        return err;
 1536|  14.5k|    }
 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__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  414|      0|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (414:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  415|      0|      ? (void)(0) \
  |  |  |  |  |  |  416|      0|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|     36|{
 1569|       |    return PyObject_SetAttr(v, name, NULL);
 1570|     36|}
_PyObject_ComputedDictPointer:
 1574|  11.4M|{
 1575|  11.4M|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  11.4M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  11.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1576|  11.4M|    assert((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0);
  ------------------
  |  Branch (1576:5): [True: 11.4M, False: 0]
  ------------------
 1577|       |
 1578|  11.4M|    Py_ssize_t dictoffset = tp->tp_dictoffset;
 1579|  11.4M|    if (dictoffset == 0) {
  ------------------
  |  Branch (1579:9): [True: 5.49M, False: 5.96M]
  ------------------
 1580|  5.49M|        return NULL;
 1581|  5.49M|    }
 1582|       |
 1583|  5.96M|    if (dictoffset < 0) {
  ------------------
  |  Branch (1583:9): [True: 0, False: 5.96M]
  ------------------
 1584|      0|        assert(dictoffset != -1);
  ------------------
  |  Branch (1584:9): [True: 0, False: 0]
  ------------------
 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);
  ------------------
  |  Branch (1591:9): [True: 0, False: 0]
  ------------------
 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__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  414|      0|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (414:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  415|      0|      ? (void)(0) \
  |  |  |  |  |  |  416|      0|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  414|      0|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (414:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  415|      0|      ? (void)(0) \
  |  |  |  |  |  |  416|      0|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1596|      0|    }
 1597|  5.96M|    return (PyObject **) ((char *)obj + dictoffset);
 1598|  5.96M|}
PyObject_SelfIter:
 1626|  66.3k|{
 1627|  66.3k|    return Py_NewRef(obj);
  ------------------
  |  |  550|  66.3k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  66.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  66.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1628|  66.3k|}
_PyObject_GetMethodStackRef:
 1758|  2.51M|{
 1759|  2.51M|    int meth_found = 0;
 1760|  2.51M|    PyObject *obj = PyStackRef_AsPyObjectBorrow(*self);
 1761|       |
 1762|  2.51M|    assert(PyStackRef_IsNull(*method));
  ------------------
  |  Branch (1762:5): [True: 2.51M, False: 0]
  ------------------
 1763|       |
 1764|  2.51M|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  2.51M|#  define Py_TYPE(ob) _Py_TYPE_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1765|  2.51M|    if (!_PyType_IsReady(tp)) {
  ------------------
  |  Branch (1765:9): [True: 0, False: 2.51M]
  ------------------
 1766|      0|        if (PyType_Ready(tp) < 0) {
  ------------------
  |  Branch (1766:13): [True: 0, False: 0]
  ------------------
 1767|      0|            PyStackRef_CLEAR(*self);
  ------------------
  |  |  732|      0|    do { \
  |  |  733|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1768|      0|            return -1;
 1769|      0|        }
 1770|      0|    }
 1771|       |
 1772|  2.51M|    if (tp->tp_getattro != PyObject_GenericGetAttr || !PyUnicode_CheckExact(name)) {
  ------------------
  |  |  104|  1.42M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  1.42M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.42M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.42M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1772:9): [True: 1.08M, False: 1.42M]
  |  Branch (1772:55): [True: 0, False: 1.42M]
  ------------------
 1773|  1.08M|        PyObject *res = PyObject_GetAttr(obj, name);
 1774|  1.08M|        PyStackRef_CLEAR(*self);
  ------------------
  |  |  732|  1.08M|    do { \
  |  |  733|  1.08M|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|  1.08M|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|  1.08M|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|  1.08M|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|  1.08M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 1.08M]
  |  |  ------------------
  ------------------
 1775|  1.08M|        if (res != NULL) {
  ------------------
  |  Branch (1775:13): [True: 1.08M, False: 2]
  ------------------
 1776|  1.08M|            *method = PyStackRef_FromPyObjectSteal(res);
 1777|  1.08M|            return 0;
 1778|  1.08M|        }
 1779|      2|        return -1;
 1780|  1.08M|    }
 1781|       |
 1782|  1.42M|    _PyType_LookupStackRefAndVersion(tp, name, method);
 1783|  1.42M|    PyObject *descr = PyStackRef_AsPyObjectBorrow(*method);
 1784|  1.42M|    descrgetfunc f = NULL;
 1785|  1.42M|    if (descr != NULL) {
  ------------------
  |  Branch (1785:9): [True: 1.42M, False: 8]
  ------------------
 1786|  1.42M|        if (_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  213|  1.42M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.42M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.42M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  534|  1.42M|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (1786:13): [True: 1.42M, False: 16]
  ------------------
 1787|  1.42M|            meth_found = 1;
 1788|  1.42M|        }
 1789|     16|        else {
 1790|     16|            f = Py_TYPE(descr)->tp_descr_get;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1791|     16|            if (f != NULL && PyDescr_IsData(descr)) {
  ------------------
  |  Branch (1791:17): [True: 2, False: 14]
  |  Branch (1791:30): [True: 2, False: 0]
  ------------------
 1792|      2|                PyObject *value = f(descr, obj, (PyObject *)Py_TYPE(obj));
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1793|      2|                PyStackRef_CLEAR(*method);
  ------------------
  |  |  732|      2|    do { \
  |  |  733|      2|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      2|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      2|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      2|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1794|      2|                PyStackRef_CLEAR(*self);
  ------------------
  |  |  732|      2|    do { \
  |  |  733|      2|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      2|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      2|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      2|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1795|      2|                if (value != NULL) {
  ------------------
  |  Branch (1795:21): [True: 2, False: 0]
  ------------------
 1796|      2|                    *method = PyStackRef_FromPyObjectSteal(value);
 1797|      2|                    return 0;
 1798|      2|                }
 1799|      0|                return -1;
 1800|      2|            }
 1801|     16|        }
 1802|  1.42M|    }
 1803|  1.42M|    PyObject *dict, *attr;
 1804|  1.42M|    if ((tp->tp_flags & Py_TPFLAGS_INLINE_VALUES) &&
  ------------------
  |  |  472|  1.42M|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (1804:9): [True: 201, False: 1.42M]
  ------------------
 1805|    201|         _PyObject_TryGetInstanceAttribute(obj, name, &attr)) {
  ------------------
  |  Branch (1805:10): [True: 201, False: 0]
  ------------------
 1806|    201|        if (attr != NULL) {
  ------------------
  |  Branch (1806:13): [True: 8, False: 193]
  ------------------
 1807|      8|            PyStackRef_XSETREF(*method, PyStackRef_FromPyObjectSteal(attr));
  ------------------
  |  |  855|      8|    do { \
  |  |  856|      8|        _PyStackRef _tmp_dst_ref = (dst); \
  |  |  857|      8|        (dst) = (src); \
  |  |  858|      8|        PyStackRef_XCLOSE(_tmp_dst_ref); \
  |  |  859|      8|    } while(0)
  |  |  ------------------
  |  |  |  Branch (859:13): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1808|      8|            PyStackRef_CLEAR(*self);
  ------------------
  |  |  732|      8|    do { \
  |  |  733|      8|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      8|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      8|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      8|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1809|      8|            return 0;
 1810|      8|        }
 1811|    193|        dict = NULL;
 1812|    193|    }
 1813|  1.42M|    else if ((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|  1.42M|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (1813:14): [True: 2.22k, False: 1.42M]
  ------------------
 1814|  2.22k|        dict = (PyObject *)_PyObject_GetManagedDict(obj);
 1815|  2.22k|    }
 1816|  1.42M|    else {
 1817|  1.42M|        PyObject **dictptr = _PyObject_ComputedDictPointer(obj);
 1818|  1.42M|        if (dictptr != NULL) {
  ------------------
  |  Branch (1818:13): [True: 1.42M, False: 1.56k]
  ------------------
 1819|  1.42M|            dict = FT_ATOMIC_LOAD_PTR_ACQUIRE(*dictptr);
  ------------------
  |  |  150|  1.42M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 1820|  1.42M|        }
 1821|  1.56k|        else {
 1822|  1.56k|            dict = NULL;
 1823|  1.56k|        }
 1824|  1.42M|    }
 1825|  1.42M|    if (dict != NULL) {
  ------------------
  |  Branch (1825:9): [True: 713k, False: 713k]
  ------------------
 1826|   713k|        assert(PyUnicode_CheckExact(name));
  ------------------
  |  Branch (1826:9): [True: 713k, False: 0]
  ------------------
 1827|   713k|        int found = _PyDict_GetMethodStackRef((PyDictObject *)dict, name, method);
 1828|   713k|        if (found < 0) {
  ------------------
  |  Branch (1828:13): [True: 0, False: 713k]
  ------------------
 1829|      0|            assert(PyStackRef_IsNull(*method));
  ------------------
  |  Branch (1829:13): [True: 0, False: 0]
  ------------------
 1830|      0|            PyStackRef_CLEAR(*self);
  ------------------
  |  |  732|      0|    do { \
  |  |  733|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1831|      0|            return -1;
 1832|      0|        }
 1833|   713k|        else if (found) {
  ------------------
  |  Branch (1833:18): [True: 0, False: 713k]
  ------------------
 1834|      0|            PyStackRef_CLEAR(*self);
  ------------------
  |  |  732|      0|    do { \
  |  |  733|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1835|      0|            return 0;
 1836|      0|        }
 1837|   713k|    }
 1838|       |
 1839|  1.42M|    if (meth_found) {
  ------------------
  |  Branch (1839:9): [True: 1.42M, False: 14]
  ------------------
 1840|  1.42M|        assert(!PyStackRef_IsNull(*method));
  ------------------
  |  Branch (1840:9): [True: 1.42M, False: 0]
  ------------------
 1841|  1.42M|        return 1;
 1842|  1.42M|    }
 1843|       |
 1844|     14|    if (f != NULL) {
  ------------------
  |  Branch (1844:9): [True: 0, False: 14]
  ------------------
 1845|      0|        if (Py_IS_TYPE(descr, &PyClassMethod_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]
  |  |  ------------------
  ------------------
 1846|      0|            PyObject *callable = _PyClassMethod_GetFunc(descr);
 1847|      0|            PyStackRef_XSETREF(*method, PyStackRef_FromPyObjectNew(callable));
  ------------------
  |  |  855|      0|    do { \
  |  |  856|      0|        _PyStackRef _tmp_dst_ref = (dst); \
  |  |  857|      0|        (dst) = (src); \
  |  |  858|      0|        PyStackRef_XCLOSE(_tmp_dst_ref); \
  |  |  859|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (859:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1848|      0|            PyStackRef_XSETREF(*self, PyStackRef_FromPyObjectNew((PyObject *)tp));
  ------------------
  |  |  855|      0|    do { \
  |  |  856|      0|        _PyStackRef _tmp_dst_ref = (dst); \
  |  |  857|      0|        (dst) = (src); \
  |  |  858|      0|        PyStackRef_XCLOSE(_tmp_dst_ref); \
  |  |  859|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (859:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1849|      0|            return 1;
 1850|      0|        }
 1851|      0|        else if (Py_IS_TYPE(descr, &PyStaticMethod_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]
  |  |  ------------------
  ------------------
 1852|      0|            PyObject *callable = _PyStaticMethod_GetFunc(descr);
 1853|      0|            PyStackRef_XSETREF(*method, PyStackRef_FromPyObjectNew(callable));
  ------------------
  |  |  855|      0|    do { \
  |  |  856|      0|        _PyStackRef _tmp_dst_ref = (dst); \
  |  |  857|      0|        (dst) = (src); \
  |  |  858|      0|        PyStackRef_XCLOSE(_tmp_dst_ref); \
  |  |  859|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (859:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1854|      0|            PyStackRef_CLEAR(*self);
  ------------------
  |  |  732|      0|    do { \
  |  |  733|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1855|      0|            return 0;
 1856|      0|        }
 1857|      0|        PyObject *value = f(descr, obj, (PyObject *)tp);
 1858|      0|        PyStackRef_CLEAR(*method);
  ------------------
  |  |  732|      0|    do { \
  |  |  733|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1859|      0|        PyStackRef_CLEAR(*self);
  ------------------
  |  |  732|      0|    do { \
  |  |  733|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1860|      0|        if (value) {
  ------------------
  |  Branch (1860:13): [True: 0, False: 0]
  ------------------
 1861|      0|            *method = PyStackRef_FromPyObjectSteal(value);
 1862|      0|            return 0;
 1863|      0|        }
 1864|      0|        return -1;
 1865|      0|    }
 1866|       |
 1867|     14|    if (descr != NULL) {
  ------------------
  |  Branch (1867:9): [True: 14, False: 0]
  ------------------
 1868|     14|        assert(!PyStackRef_IsNull(*method));
  ------------------
  |  Branch (1868:9): [True: 14, False: 0]
  ------------------
 1869|     14|        PyStackRef_CLEAR(*self);
  ------------------
  |  |  732|     14|    do { \
  |  |  733|     14|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|     14|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|     14|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|     14|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
 1870|     14|        return 0;
 1871|     14|    }
 1872|       |
 1873|      0|    PyErr_Format(PyExc_AttributeError,
 1874|      0|                 "'%.100s' object has no attribute '%U'",
 1875|      0|                 tp->tp_name, name);
 1876|       |
 1877|      0|    _PyObject_SetAttributeErrorContext(obj, name);
 1878|      0|    assert(PyStackRef_IsNull(*method));
  ------------------
  |  Branch (1878:5): [True: 0, False: 0]
  ------------------
 1879|      0|    PyStackRef_CLEAR(*self);
  ------------------
  |  |  732|      0|    do { \
  |  |  733|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1880|      0|    return -1;
 1881|      0|}
_PyObject_GenericGetAttrWithDict:
 1889|  46.4M|{
 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|  46.4M|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  46.4M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  46.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  46.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1897|  46.4M|    PyObject *descr = NULL;
 1898|  46.4M|    PyObject *res = NULL;
 1899|  46.4M|    descrgetfunc f;
 1900|       |
 1901|  46.4M|    if (!PyUnicode_Check(name)){
  ------------------
  |  |  103|  46.4M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  46.4M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1901:9): [True: 0, False: 46.4M]
  ------------------
 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|  46.4M|    if (!_PyType_IsReady(tp)) {
  ------------------
  |  Branch (1908:9): [True: 0, False: 46.4M]
  ------------------
 1909|      0|        if (PyType_Ready(tp) < 0)
  ------------------
  |  Branch (1909:13): [True: 0, False: 0]
  ------------------
 1910|      0|            return NULL;
 1911|      0|    }
 1912|       |
 1913|  46.4M|    Py_INCREF(name);
  ------------------
  |  |  310|  46.4M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  46.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  46.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1914|       |
 1915|  46.4M|    PyThreadState *tstate = _PyThreadState_GET();
 1916|  46.4M|    _PyCStackRef cref;
 1917|  46.4M|    _PyThreadState_PushCStackRef(tstate, &cref);
 1918|       |
 1919|  46.4M|    _PyType_LookupStackRefAndVersion(tp, name, &cref.ref);
 1920|  46.4M|    descr = PyStackRef_AsPyObjectBorrow(cref.ref);
 1921|       |
 1922|  46.4M|    f = NULL;
 1923|  46.4M|    if (descr != NULL) {
  ------------------
  |  Branch (1923:9): [True: 38.8M, False: 7.66M]
  ------------------
 1924|  38.8M|        f = Py_TYPE(descr)->tp_descr_get;
  ------------------
  |  |  213|  38.8M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  38.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  38.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1925|  38.8M|        if (f != NULL && PyDescr_IsData(descr)) {
  ------------------
  |  Branch (1925:13): [True: 38.8M, False: 4.41k]
  |  Branch (1925:26): [True: 20.9M, False: 17.8M]
  ------------------
 1926|  20.9M|            res = f(descr, obj, (PyObject *)Py_TYPE(obj));
  ------------------
  |  |  213|  20.9M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  20.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1927|  20.9M|            if (res == NULL && suppress &&
  ------------------
  |  Branch (1927:17): [True: 0, False: 20.9M]
  |  Branch (1927:32): [True: 0, False: 0]
  ------------------
 1928|      0|                    PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1928:21): [True: 0, False: 0]
  ------------------
 1929|      0|                PyErr_Clear();
 1930|      0|            }
 1931|  20.9M|            goto done;
 1932|  20.9M|        }
 1933|  38.8M|    }
 1934|  25.5M|    if (dict == NULL) {
  ------------------
  |  Branch (1934:9): [True: 25.5M, False: 0]
  ------------------
 1935|  25.5M|        if ((tp->tp_flags & Py_TPFLAGS_INLINE_VALUES)) {
  ------------------
  |  |  472|  25.5M|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (1935:13): [True: 15.4M, False: 10.0M]
  ------------------
 1936|  15.4M|            if (PyUnicode_CheckExact(name) &&
  ------------------
  |  |  104|  15.4M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  30.9M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  15.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  15.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 15.4M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1937|  15.4M|                _PyObject_TryGetInstanceAttribute(obj, name, &res)) {
  ------------------
  |  Branch (1937:17): [True: 15.4M, False: 0]
  ------------------
 1938|  15.4M|                if (res != NULL) {
  ------------------
  |  Branch (1938:21): [True: 3.02M, False: 12.4M]
  ------------------
 1939|  3.02M|                    goto done;
 1940|  3.02M|                }
 1941|  15.4M|            }
 1942|      0|            else {
 1943|      0|                dict = (PyObject *)_PyObject_MaterializeManagedDict(obj);
 1944|      0|                if (dict == NULL) {
  ------------------
  |  Branch (1944:21): [True: 0, False: 0]
  ------------------
 1945|      0|                    res = NULL;
 1946|      0|                    goto done;
 1947|      0|                }
 1948|      0|            }
 1949|  15.4M|        }
 1950|  10.0M|        else if ((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|  10.0M|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (1950:18): [True: 6.80k, False: 10.0M]
  ------------------
 1951|  6.80k|            dict = (PyObject *)_PyObject_GetManagedDict(obj);
 1952|  6.80k|        }
 1953|  10.0M|        else {
 1954|  10.0M|            PyObject **dictptr = _PyObject_ComputedDictPointer(obj);
 1955|  10.0M|            if (dictptr) {
  ------------------
  |  Branch (1955:17): [True: 4.53M, False: 5.48M]
  ------------------
 1956|       |#ifdef Py_GIL_DISABLED
 1957|       |                dict = _Py_atomic_load_ptr_acquire(dictptr);
 1958|       |#else
 1959|  4.53M|                dict = *dictptr;
 1960|  4.53M|#endif
 1961|  4.53M|            }
 1962|  10.0M|        }
 1963|  25.5M|    }
 1964|  22.4M|    if (dict != NULL) {
  ------------------
  |  Branch (1964:9): [True: 4.53M, False: 17.9M]
  ------------------
 1965|  4.53M|        Py_INCREF(dict);
  ------------------
  |  |  310|  4.53M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.53M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.53M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1966|  4.53M|        int rc = PyDict_GetItemRef(dict, name, &res);
 1967|  4.53M|        Py_DECREF(dict);
  ------------------
  |  |  430|  4.53M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.53M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.53M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1968|  4.53M|        if (res != NULL) {
  ------------------
  |  Branch (1968:13): [True: 4.53M, False: 4.78k]
  ------------------
 1969|  4.53M|            goto done;
 1970|  4.53M|        }
 1971|  4.78k|        else if (rc < 0) {
  ------------------
  |  Branch (1971:18): [True: 0, False: 4.78k]
  ------------------
 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|  4.53M|    }
 1980|       |
 1981|  17.9M|    if (f != NULL) {
  ------------------
  |  Branch (1981:9): [True: 17.8M, False: 118k]
  ------------------
 1982|  17.8M|        res = f(descr, obj, (PyObject *)Py_TYPE(obj));
  ------------------
  |  |  213|  17.8M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  17.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1983|  17.8M|        if (res == NULL && suppress &&
  ------------------
  |  Branch (1983:13): [True: 0, False: 17.8M]
  |  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|  17.8M|        goto done;
 1988|  17.8M|    }
 1989|       |
 1990|   118k|    if (descr != NULL) {
  ------------------
  |  Branch (1990:9): [True: 4.41k, False: 113k]
  ------------------
 1991|  4.41k|        res = PyStackRef_AsPyObjectSteal(cref.ref);
 1992|  4.41k|        cref.ref = PyStackRef_NULL;
 1993|  4.41k|        goto done;
 1994|  4.41k|    }
 1995|       |
 1996|   113k|    if (!suppress) {
  ------------------
  |  Branch (1996:9): [True: 22, False: 113k]
  ------------------
 1997|     22|        PyErr_Format(PyExc_AttributeError,
 1998|     22|                     "'%.100s' object has no attribute '%U'",
 1999|     22|                     tp->tp_name, name);
 2000|       |
 2001|     22|        _PyObject_SetAttributeErrorContext(obj, name);
 2002|     22|    }
 2003|  46.4M|  done:
 2004|  46.4M|    _PyThreadState_PopCStackRef(tstate, &cref);
 2005|  46.4M|    Py_DECREF(name);
  ------------------
  |  |  430|  46.4M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  46.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  46.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2006|  46.4M|    return res;
 2007|   113k|}
PyObject_GenericGetAttr:
 2011|  17.8M|{
 2012|       |    return _PyObject_GenericGetAttrWithDict(obj, name, NULL, 0);
 2013|  17.8M|}
_PyObject_GenericSetAttrWithDict:
 2018|  14.3k|{
 2019|  14.3k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2020|  14.3k|    PyObject *descr;
 2021|  14.3k|    descrsetfunc f;
 2022|  14.3k|    int res = -1;
 2023|       |
 2024|  14.3k|    assert(!PyType_IsSubtype(tp, &PyType_Type));
  ------------------
  |  Branch (2024:5): [True: 14.3k, False: 0]
  ------------------
 2025|  14.3k|    if (!PyUnicode_Check(name)){
  ------------------
  |  |  103|  14.3k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  14.3k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2025:9): [True: 0, False: 14.3k]
  ------------------
 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|  14.3k|    if (!_PyType_IsReady(tp) && PyType_Ready(tp) < 0) {
  ------------------
  |  Branch (2032:9): [True: 0, False: 14.3k]
  |  Branch (2032:33): [True: 0, False: 0]
  ------------------
 2033|      0|        return -1;
 2034|      0|    }
 2035|       |
 2036|  14.3k|    Py_INCREF(name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2037|  14.3k|    _Py_INCREF_TYPE(tp);
  ------------------
  |  |  309|  14.3k|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2038|       |
 2039|  14.3k|    PyThreadState *tstate = _PyThreadState_GET();
 2040|  14.3k|    _PyCStackRef cref;
 2041|  14.3k|    _PyThreadState_PushCStackRef(tstate, &cref);
 2042|       |
 2043|  14.3k|    _PyType_LookupStackRefAndVersion(tp, name, &cref.ref);
 2044|  14.3k|    descr = PyStackRef_AsPyObjectBorrow(cref.ref);
 2045|       |
 2046|  14.3k|    if (descr != NULL) {
  ------------------
  |  Branch (2046:9): [True: 455, False: 13.8k]
  ------------------
 2047|    455|        f = Py_TYPE(descr)->tp_descr_set;
  ------------------
  |  |  213|    455|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    455|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    455|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2048|    455|        if (f != NULL) {
  ------------------
  |  Branch (2048:13): [True: 243, False: 212]
  ------------------
 2049|    243|            res = f(descr, obj, value);
 2050|    243|            goto done;
 2051|    243|        }
 2052|    455|    }
 2053|       |
 2054|  14.0k|    if (dict == NULL) {
  ------------------
  |  Branch (2054:9): [True: 14.0k, False: 0]
  ------------------
 2055|  14.0k|        PyObject **dictptr;
 2056|       |
 2057|  14.0k|        if ((tp->tp_flags & Py_TPFLAGS_INLINE_VALUES)) {
  ------------------
  |  |  472|  14.0k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (2057:13): [True: 902, False: 13.1k]
  ------------------
 2058|    902|            res = _PyObject_StoreInstanceAttribute(obj, name, value);
 2059|    902|            goto error_check;
 2060|    902|        }
 2061|       |
 2062|  13.1k|        if ((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|  13.1k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (2062:13): [True: 189, False: 12.9k]
  ------------------
 2063|    189|            PyManagedDictPointer *managed_dict = _PyObject_ManagedDictPointer(obj);
 2064|    189|            dictptr = (PyObject **)&managed_dict->dict;
 2065|    189|        }
 2066|  12.9k|        else {
 2067|  12.9k|            dictptr = _PyObject_ComputedDictPointer(obj);
 2068|  12.9k|        }
 2069|  13.1k|        if (dictptr == NULL) {
  ------------------
  |  Branch (2069:13): [True: 0, False: 13.1k]
  ------------------
 2070|      0|            if (descr == NULL) {
  ------------------
  |  Branch (2070:17): [True: 0, False: 0]
  ------------------
 2071|      0|                if (tp->tp_setattro == PyObject_GenericSetAttr) {
  ------------------
  |  Branch (2071:21): [True: 0, False: 0]
  ------------------
 2072|      0|                    PyErr_Format(PyExc_AttributeError,
 2073|      0|                                "'%.100s' object has no attribute '%U' and no "
 2074|      0|                                "__dict__ for setting new attributes",
 2075|      0|                                tp->tp_name, name);
 2076|      0|                }
 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|      0|                _PyObject_SetAttributeErrorContext(obj, name);
 2083|      0|            }
 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|      0|            goto done;
 2090|      0|        }
 2091|  13.1k|        else {
 2092|  13.1k|            res = _PyObjectDict_SetItem(tp, obj, dictptr, name, value);
 2093|  13.1k|        }
 2094|  13.1k|    }
 2095|      0|    else {
 2096|      0|        Py_INCREF(dict);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2097|      0|        if (value == NULL)
  ------------------
  |  Branch (2097:13): [True: 0, False: 0]
  ------------------
 2098|      0|            res = PyDict_DelItem(dict, name);
 2099|      0|        else
 2100|      0|            res = PyDict_SetItem(dict, name, value);
 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|    }
 2103|  14.0k|  error_check:
 2104|  14.0k|    if (res < 0 && PyErr_ExceptionMatches(PyExc_KeyError)) {
  ------------------
  |  Branch (2104:9): [True: 0, False: 14.0k]
  |  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|  14.3k|  done:
 2111|  14.3k|    _PyThreadState_PopCStackRef(tstate, &cref);
 2112|  14.3k|    _Py_DECREF_TYPE(tp);
  ------------------
  |  |  310|  14.3k|#  define _Py_DECREF_TYPE Py_DECREF
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2113|  14.3k|    Py_DECREF(name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2114|  14.3k|    return res;
 2115|  14.0k|}
PyObject_GenericSetAttr:
 2119|  14.3k|{
 2120|       |    return _PyObject_GenericSetAttrWithDict(obj, name, value, NULL);
 2121|  14.3k|}
PyObject_IsTrue:
 2139|  13.9M|{
 2140|  13.9M|    Py_ssize_t res;
 2141|  13.9M|    if (v == Py_True)
  ------------------
  |  |   26|  13.9M|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  13.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2141:9): [True: 1.55M, False: 12.4M]
  ------------------
 2142|  1.55M|        return 1;
 2143|  12.4M|    if (v == Py_False)
  ------------------
  |  |   25|  12.4M|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|  12.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2143:9): [True: 6.12M, False: 6.30M]
  ------------------
 2144|  6.12M|        return 0;
 2145|  6.30M|    if (v == Py_None)
  ------------------
  |  |  616|  6.30M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2145:9): [True: 228k, False: 6.07M]
  ------------------
 2146|   228k|        return 0;
 2147|  6.07M|    else if (Py_TYPE(v)->tp_as_number != NULL &&
  ------------------
  |  |  213|  6.07M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.07M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.07M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2147:14): [True: 5.22M, False: 851k]
  ------------------
 2148|  5.22M|             Py_TYPE(v)->tp_as_number->nb_bool != NULL)
  ------------------
  |  |  213|  5.22M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.22M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.22M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2148:14): [True: 414k, False: 4.80M]
  ------------------
 2149|   414k|        res = (*Py_TYPE(v)->tp_as_number->nb_bool)(v);
  ------------------
  |  |  213|   414k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   414k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   414k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2150|  5.65M|    else if (Py_TYPE(v)->tp_as_mapping != NULL &&
  ------------------
  |  |  213|  5.65M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.65M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.65M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2150:14): [True: 5.04M, False: 609k]
  ------------------
 2151|  5.04M|             Py_TYPE(v)->tp_as_mapping->mp_length != NULL)
  ------------------
  |  |  213|  5.04M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2151:14): [True: 5.04M, False: 23]
  ------------------
 2152|  5.04M|        res = (*Py_TYPE(v)->tp_as_mapping->mp_length)(v);
  ------------------
  |  |  213|  5.04M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2153|   609k|    else if (Py_TYPE(v)->tp_as_sequence != NULL &&
  ------------------
  |  |  213|   609k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   609k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   609k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2153:14): [True: 10.0k, False: 599k]
  ------------------
 2154|  10.0k|             Py_TYPE(v)->tp_as_sequence->sq_length != NULL)
  ------------------
  |  |  213|  10.0k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  10.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2154:14): [True: 10.0k, False: 23]
  ------------------
 2155|  10.0k|        res = (*Py_TYPE(v)->tp_as_sequence->sq_length)(v);
  ------------------
  |  |  213|  10.0k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  10.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2156|   599k|    else
 2157|   599k|        return 1;
 2158|       |    /* if it is negative, it should be either -1 or -2 */
 2159|  5.47M|    return (res > 0) ? 1 : Py_SAFE_DOWNCAST(res, Py_ssize_t, int);
  ------------------
  |  |  247|  1.20M|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|  1.20M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (2159:12): [True: 4.26M, False: 1.20M]
  ------------------
 2160|  6.30M|}
PyCallable_Check:
 2179|  41.0M|{
 2180|  41.0M|    if (x == NULL)
  ------------------
  |  Branch (2180:9): [True: 0, False: 41.0M]
  ------------------
 2181|      0|        return 0;
 2182|  41.0M|    return Py_TYPE(x)->tp_call != NULL;
  ------------------
  |  |  213|  41.0M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  41.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2183|  41.0M|}
PyObject_Dir:
 2268|      2|{
 2269|      2|    return (obj == NULL) ? _dir_locals() : _dir_object(obj);
  ------------------
  |  Branch (2269:12): [True: 0, False: 2]
  ------------------
 2270|      2|}
_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);
  ------------------
  |  Branch (2682:13): [True: 2, False: 0]
  ------------------
 2683|      2|            assert(PyType_Type.tp_base == &PyBaseObject_Type);
  ------------------
  |  Branch (2683:13): [True: 2, False: 0]
  ------------------
 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__));
  ------------------
  |  |  920|      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|   202M|{
 2761|       |#ifdef Py_REF_DEBUG
 2762|       |    _Py_IncRefTotal(_PyThreadState_GET());
 2763|       |#endif
 2764|   202M|    new_reference(op);
 2765|   202M|}
_Py_NewReferenceNoTotal:
 2769|  6.74M|{
 2770|  6.74M|    new_reference(op);
 2771|  6.74M|}
_Py_SetImmortalUntracked:
 2775|  10.4k|{
 2776|       |    // Check if already immortal to avoid degrading from static immortal to plain immortal
 2777|  10.4k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  10.4k|#define _Py_IsImmortal(op) _Py_IsImmortal(_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 (137:28): [True: 30, False: 10.3k]
  |  |  ------------------
  ------------------
 2778|     30|        return;
 2779|     30|    }
 2780|       |#ifdef Py_GIL_DISABLED
 2781|       |    _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_UNOWNED_TID);
 2782|       |    _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, _Py_IMMORTAL_REFCNT_LOCAL);
 2783|       |    _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, 0);
 2784|       |    _Py_atomic_or_uint8(&op->ob_gc_bits, _PyGC_BITS_DEFERRED);
 2785|       |#elif SIZEOF_VOID_P > 4
 2786|  10.3k|    op->ob_flags = _Py_IMMORTAL_FLAGS;
  ------------------
  |  |  581|  10.3k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  ------------------
 2787|  10.3k|    op->ob_refcnt = _Py_IMMORTAL_INITIAL_REFCNT;
  ------------------
  |  |   47|  10.3k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
 2788|       |#else
 2789|       |    op->ob_refcnt = _Py_IMMORTAL_INITIAL_REFCNT;
 2790|       |#endif
 2791|  10.3k|}
_Py_SetImmortal:
 2795|  10.4k|{
 2796|  10.4k|    if (PyObject_IS_GC(op) && _PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|    834|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|    834|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (81:37): [True: 830, False: 4]
  |  |  ------------------
  ------------------
  |  Branch (2796:9): [True: 834, False: 9.57k]
  ------------------
 2797|    830|        _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  509|    830|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    830|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    830|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2798|    830|    }
 2799|  10.4k|    _Py_SetImmortalUntracked(op);
 2800|  10.4k|}
_PyObject_SetDeferredRefcount:
 2804|  9.08k|{
 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|  9.08k|}
PyUnstable_Object_EnableDeferredRefcount:
 2816|    386|{
 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|       |    if (!PyObject_GC_IsTracked(op)) {
 2825|       |        // When deferred refcount is enabled, the object will only be
 2826|       |        // deallocated by the tracing garbage collector. So it must be tracked
 2827|       |        // by the garbage collector.
 2828|       |        return 0;
 2829|       |    }
 2830|       |
 2831|       |    uint8_t bits = _Py_atomic_load_uint8(&op->ob_gc_bits);
 2832|       |    if ((bits & _PyGC_BITS_DEFERRED) != 0)
 2833|       |    {
 2834|       |        // Nothing to do.
 2835|       |        return 0;
 2836|       |    }
 2837|       |
 2838|       |    if (_Py_atomic_compare_exchange_uint8(&op->ob_gc_bits, &bits, bits | _PyGC_BITS_DEFERRED) == 0)
 2839|       |    {
 2840|       |        // Someone beat us to it!
 2841|       |        return 0;
 2842|       |    }
 2843|       |    _Py_atomic_add_ssize(&op->ob_ref_shared, _Py_REF_SHARED(_Py_REF_DEFERRED, 0));
 2844|       |    return 1;
 2845|       |#else
 2846|    386|    return 0;
 2847|    386|#endif
 2848|    386|}
_PyTrash_thread_deposit_object:
 3179|    348|{
 3180|    348|    _PyObject_ASSERT(op, Py_REFCNT(op) == 0);
  ------------------
  |  |  423|    348|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|    348|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  414|    348|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (414:6): [True: 348, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  415|    348|      ? (void)(0) \
  |  |  |  |  |  |  416|    348|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3181|    348|    PyTypeObject *tp = Py_TYPE(op);
  ------------------
  |  |  213|    348|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    348|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    348|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3182|    348|    assert(tp->tp_flags & Py_TPFLAGS_HAVE_GC);
  ------------------
  |  Branch (3182:5): [True: 348, False: 0]
  ------------------
 3183|    348|    int tracked = 0;
 3184|    348|    if (tp->tp_is_gc == NULL || tp->tp_is_gc(op)) {
  ------------------
  |  Branch (3184:9): [True: 348, False: 0]
  |  Branch (3184:33): [True: 0, False: 0]
  ------------------
 3185|    348|        tracked = _PyObject_GC_IS_TRACKED(op);
  ------------------
  |  |   81|    348|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|    348|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 3186|    348|        if (tracked) {
  ------------------
  |  Branch (3186:13): [True: 348, False: 0]
  ------------------
 3187|    348|            _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  509|    348|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    348|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    348|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3188|    348|        }
 3189|    348|    }
 3190|    348|    uintptr_t tagged_ptr = ((uintptr_t)tstate->delete_later) | tracked;
 3191|       |#ifdef Py_GIL_DISABLED
 3192|       |    op->ob_tid = tagged_ptr;
 3193|       |#else
 3194|    348|    _Py_AS_GC(op)->_gc_next = tagged_ptr;
 3195|    348|#endif
 3196|    348|    tstate->delete_later = op;
 3197|    348|}
_PyTrash_thread_destroy_chain:
 3203|      6|{
 3204|    354|    while (tstate->delete_later) {
  ------------------
  |  Branch (3204:12): [True: 348, False: 6]
  ------------------
 3205|    348|        PyObject *op = tstate->delete_later;
 3206|    348|        destructor dealloc = Py_TYPE(op)->tp_dealloc;
  ------------------
  |  |  213|    348|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    348|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    348|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3207|       |
 3208|       |#ifdef Py_GIL_DISABLED
 3209|       |        uintptr_t tagged_ptr = op->ob_tid;
 3210|       |        op->ob_tid = 0;
 3211|       |        _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, _Py_REF_MERGED);
 3212|       |#else
 3213|    348|        uintptr_t tagged_ptr = _Py_AS_GC(op)->_gc_next;
 3214|    348|        _Py_AS_GC(op)->_gc_next = 0;
 3215|    348|#endif
 3216|    348|        tstate->delete_later = (PyObject *)(tagged_ptr & ~1);
 3217|    348|        if (tagged_ptr & 1) {
  ------------------
  |  Branch (3217:13): [True: 348, False: 0]
  ------------------
 3218|    348|            _PyObject_GC_TRACK(op);
  ------------------
  |  |  507|    348|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    348|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    348|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3219|    348|        }
 3220|       |        /* Call the deallocator directly.  This used to try to
 3221|       |         * fool Py_DECREF into calling it indirectly, but
 3222|       |         * Py_DECREF was already called on this object, and in
 3223|       |         * assorted non-release builds calling Py_DECREF again ends
 3224|       |         * up distorting allocation statistics.
 3225|       |         */
 3226|    348|        _PyObject_ASSERT(op, Py_REFCNT(op) == 0);
  ------------------
  |  |  423|    348|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|    348|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  414|    348|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (414:6): [True: 348, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  415|    348|      ? (void)(0) \
  |  |  |  |  |  |  416|    348|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3227|    348|        (*dealloc)(op);
 3228|    348|    }
 3229|      6|}
_Py_Dealloc:
 3291|   188M|{
 3292|   188M|    PyTypeObject *type = Py_TYPE(op);
  ------------------
  |  |  213|   188M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   188M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   188M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3293|   188M|    unsigned long gc_flag = type->tp_flags & Py_TPFLAGS_HAVE_GC;
  ------------------
  |  |  524|   188M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
 3294|   188M|    destructor dealloc = type->tp_dealloc;
 3295|   188M|    PyThreadState *tstate = _PyThreadState_GET();
 3296|   188M|    intptr_t margin = _Py_RecursionLimit_GetMargin(tstate);
 3297|   188M|    if (margin < 2 && gc_flag) {
  ------------------
  |  Branch (3297:9): [True: 348, False: 188M]
  |  Branch (3297:23): [True: 348, False: 0]
  ------------------
 3298|    348|        _PyTrash_thread_deposit_object(tstate, (PyObject *)op);
 3299|    348|        return;
 3300|    348|    }
 3301|       |#ifdef Py_DEBUG
 3302|       |#if !defined(Py_GIL_DISABLED) && !defined(Py_STACKREF_DEBUG)
 3303|       |    /* This assertion doesn't hold for the free-threading build, as
 3304|       |     * PyStackRef_CLOSE_SPECIALIZED is not implemented */
 3305|       |    assert(tstate->current_frame == NULL || tstate->current_frame->stackpointer != NULL);
 3306|       |#endif
 3307|       |    PyObject *old_exc = tstate != NULL ? tstate->current_exception : NULL;
 3308|       |    // Keep the old exception type alive to prevent undefined behavior
 3309|       |    // on (tstate->curexc_type != old_exc_type) below
 3310|       |    Py_XINCREF(old_exc);
 3311|       |    // Make sure that type->tp_name remains valid
 3312|       |    Py_INCREF(type);
 3313|       |#endif
 3314|       |
 3315|       |#ifdef Py_TRACE_REFS
 3316|       |    _Py_ForgetReference(op);
 3317|       |#endif
 3318|   188M|    _PyReftracerTrack(op, PyRefTracer_DESTROY);
  ------------------
  |  |  112|   188M|    do { \
  |  |  113|   188M|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  114|   188M|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (114:13): [True: 0, False: 188M]
  |  |  ------------------
  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  117|      0|        } \
  |  |  118|   188M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (118:13): [Folded, False: 188M]
  |  |  ------------------
  ------------------
 3319|   188M|    (*dealloc)(op);
 3320|       |
 3321|       |#ifdef Py_DEBUG
 3322|       |    // gh-89373: The tp_dealloc function must leave the current exception
 3323|       |    // unchanged.
 3324|       |    if (tstate != NULL && tstate->current_exception != old_exc) {
 3325|       |        const char *err;
 3326|       |        if (old_exc == NULL) {
 3327|       |            err = "Deallocator of type '%s' raised an exception";
 3328|       |        }
 3329|       |        else if (tstate->current_exception == NULL) {
 3330|       |            err = "Deallocator of type '%s' cleared the current exception";
 3331|       |        }
 3332|       |        else {
 3333|       |            // It can happen if dealloc() normalized the current exception.
 3334|       |            // A deallocator function must not change the current exception,
 3335|       |            // not even normalize it.
 3336|       |            err = "Deallocator of type '%s' overrode the current exception";
 3337|       |        }
 3338|       |        _Py_FatalErrorFormat(__func__, err, type->tp_name);
 3339|       |    }
 3340|       |    Py_XDECREF(old_exc);
 3341|       |    Py_DECREF(type);
 3342|       |#endif
 3343|   188M|    if (tstate->delete_later && margin >= 4 && gc_flag) {
  ------------------
  |  Branch (3343:9): [True: 76.1k, False: 188M]
  |  Branch (3343:33): [True: 6, False: 76.1k]
  |  Branch (3343:48): [True: 6, False: 0]
  ------------------
 3344|      6|        _PyTrash_thread_destroy_chain(tstate);
 3345|      6|    }
 3346|   188M|}
_Py_GetConstant_Init:
 3449|      2|{
 3450|      2|    constants[Py_CONSTANT_ZERO] = _PyLong_GetZero();
  ------------------
  |  |  595|      2|#define Py_CONSTANT_ZERO 5
  ------------------
 3451|      2|    constants[Py_CONSTANT_ONE] = _PyLong_GetOne();
  ------------------
  |  |  596|      2|#define Py_CONSTANT_ONE 6
  ------------------
 3452|      2|    constants[Py_CONSTANT_EMPTY_STR] = PyUnicode_New(0, 0);
  ------------------
  |  |  597|      2|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
 3453|      2|    constants[Py_CONSTANT_EMPTY_BYTES] = PyBytes_FromStringAndSize(NULL, 0);
  ------------------
  |  |  598|      2|#define Py_CONSTANT_EMPTY_BYTES 8
  ------------------
 3454|      2|    constants[Py_CONSTANT_EMPTY_TUPLE] = PyTuple_New(0);
  ------------------
  |  |  599|      2|#define Py_CONSTANT_EMPTY_TUPLE 9
  ------------------
 3455|      2|#ifndef NDEBUG
 3456|     22|    for (size_t i=0; i < Py_ARRAY_LENGTH(constants); i++) {
  ------------------
  |  |  196|     22|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (3456:22): [True: 20, False: 2]
  ------------------
 3457|     20|        assert(constants[i] != NULL);
  ------------------
  |  Branch (3457:9): [True: 20, False: 0]
  ------------------
 3458|     20|        assert(_Py_IsImmortal(constants[i]));
  ------------------
  |  Branch (3458:9): [True: 20, False: 0]
  ------------------
 3459|     20|    }
 3460|      2|#endif
 3461|      2|}
Py_GetConstant:
 3465|   678k|{
 3466|   678k|    if (constant_id < Py_ARRAY_LENGTH(constants)) {
  ------------------
  |  |  196|   678k|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (3466:9): [True: 678k, False: 0]
  ------------------
 3467|   678k|        return constants[constant_id];
 3468|   678k|    }
 3469|      0|    else {
 3470|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3471|       |        return NULL;
 3472|      0|    }
 3473|   678k|}
Py_GetConstantBorrowed:
 3478|   161k|{
 3479|       |    // All constants are immortal
 3480|   161k|    return Py_GetConstant(constant_id);
 3481|   161k|}
PyUnstable_IsImmortal:
 3485|     31|{
 3486|       |    /* Checking a reference count requires a thread state */
 3487|     31|    _Py_AssertHoldsTstate();
  ------------------
  |  |  306|     31|#define _Py_AssertHoldsTstate() _Py_AssertHoldsTstateFunc(__func__)
  ------------------
 3488|     31|    assert(op != NULL);
  ------------------
  |  Branch (3488:5): [True: 31, False: 0]
  ------------------
 3489|     31|    return _Py_IsImmortal(op);
  ------------------
  |  |  137|     31|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3490|     31|}
PyUnstable_Object_IsUniquelyReferenced:
 3494|      3|{
 3495|      3|    _Py_AssertHoldsTstate();
  ------------------
  |  |  306|      3|#define _Py_AssertHoldsTstate() _Py_AssertHoldsTstateFunc(__func__)
  ------------------
 3496|      3|    assert(op != NULL);
  ------------------
  |  Branch (3496:5): [True: 3, False: 0]
  ------------------
 3497|      3|    return _PyObject_IsUniquelyReferenced(op);
 3498|      3|}
_PyObject_VisitType:
 3502|    568|{
 3503|    568|    assert(op != NULL);
  ------------------
  |  Branch (3503:5): [True: 568, False: 0]
  ------------------
 3504|    568|    PyTypeObject *tp = Py_TYPE(op);
  ------------------
  |  |  213|    568|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    568|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    568|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3505|    568|    _PyObject_ASSERT((PyObject *)tp, PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE));
  ------------------
  |  |  423|    568|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|    568|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  414|    568|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (414:6): [True: 568, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  415|    568|      ? (void)(0) \
  |  |  |  |  |  |  416|    568|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3506|    568|    Py_VISIT(tp);
  ------------------
  |  |  194|    568|    do {                                                                \
  |  |  195|    568|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 568, False: 0]
  |  |  ------------------
  |  |  196|    568|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    568|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    568|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    568|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 568]
  |  |  ------------------
  |  |  198|    568|                return vret;                                            \
  |  |  199|    568|        }                                                               \
  |  |  200|    568|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 568]
  |  |  ------------------
  ------------------
 3507|    568|    return 0;
 3508|    568|}
object.c:clear_freelist:
  904|  5.28k|{
  905|  5.28k|    void *ptr;
  906|   245k|    while ((ptr = _PyFreeList_PopNoStats(freelist)) != NULL) {
  ------------------
  |  Branch (906:12): [True: 240k, False: 5.28k]
  ------------------
  907|   240k|        dofree(ptr);
  908|   240k|    }
  909|  5.28k|    assert(freelist->size == 0 || freelist->size == -1);
  ------------------
  |  Branch (909:5): [True: 5.28k, False: 0]
  |  Branch (909:5): [True: 0, False: 0]
  ------------------
  910|  5.28k|    assert(freelist->freelist == NULL);
  ------------------
  |  Branch (910:5): [True: 5.28k, False: 0]
  ------------------
  911|  5.28k|    if (is_finalization) {
  ------------------
  |  Branch (911:9): [True: 0, False: 5.28k]
  ------------------
  912|      0|        freelist->size = -1;
  913|      0|    }
  914|  5.28k|}
object.c:free_object:
  918|   238k|{
  919|   238k|    PyObject *op = (PyObject *)obj;
  920|   238k|    PyTypeObject *tp = Py_TYPE(op);
  ------------------
  |  |  213|   238k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   238k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   238k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  921|   238k|    tp->tp_free(op);
  922|   238k|    Py_DECREF(tp);
  ------------------
  |  |  430|   238k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   238k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   238k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  923|   238k|}
object.c:do_richcompare:
 1049|  39.7M|{
 1050|  39.7M|    richcmpfunc f;
 1051|  39.7M|    PyObject *res;
 1052|  39.7M|    int checked_reverse_op = 0;
 1053|       |
 1054|  39.7M|    if (!Py_IS_TYPE(v, Py_TYPE(w)) &&
  ------------------
  |  |  215|  79.4M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  39.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  39.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1054:9): [True: 785k, False: 38.9M]
  ------------------
 1055|   785k|        PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v)) &&
  ------------------
  |  |  213|   785k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   785k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   785k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v)) &&
  ------------------
  |  |  213|   785k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   785k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   785k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1055:9): [True: 778k, False: 7.13k]
  ------------------
 1056|   778k|        (f = Py_TYPE(w)->tp_richcompare) != NULL) {
  ------------------
  |  |  213|   778k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   778k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   778k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1056:9): [True: 778k, False: 0]
  ------------------
 1057|   778k|        checked_reverse_op = 1;
 1058|   778k|        res = (*f)(w, v, _Py_SwappedOp[op]);
 1059|   778k|        if (res != Py_NotImplemented)
  ------------------
  |  |  640|   778k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1059:13): [True: 778k, False: 3]
  ------------------
 1060|   778k|            return res;
 1061|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1062|      3|    }
 1063|  38.9M|    if ((f = Py_TYPE(v)->tp_richcompare) != NULL) {
  ------------------
  |  |  213|  38.9M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  38.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  38.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1063:9): [True: 38.9M, False: 0]
  ------------------
 1064|  38.9M|        res = (*f)(v, w, op);
 1065|  38.9M|        if (res != Py_NotImplemented)
  ------------------
  |  |  640|  38.9M|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1065:13): [True: 38.9M, False: 9.82k]
  ------------------
 1066|  38.9M|            return res;
 1067|  9.82k|        Py_DECREF(res);
  ------------------
  |  |  430|  9.82k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1068|  9.82k|    }
 1069|  9.82k|    if (!checked_reverse_op && (f = Py_TYPE(w)->tp_richcompare) != NULL) {
  ------------------
  |  |  213|  9.82k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  9.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1069:9): [True: 9.82k, False: 3]
  |  Branch (1069:32): [True: 9.82k, False: 0]
  ------------------
 1070|  9.82k|        res = (*f)(w, v, _Py_SwappedOp[op]);
 1071|  9.82k|        if (res != Py_NotImplemented)
  ------------------
  |  |  640|  9.82k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1071:13): [True: 870, False: 8.95k]
  ------------------
 1072|    870|            return res;
 1073|  8.95k|        Py_DECREF(res);
  ------------------
  |  |  430|  8.95k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.95k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1074|  8.95k|    }
 1075|       |    /* If neither object implements it, provide a sensible default
 1076|       |       for == and !=, but raise an exception for ordering. */
 1077|  8.95k|    switch (op) {
 1078|  8.95k|    case Py_EQ:
  ------------------
  |  |  654|  8.95k|#define Py_EQ 2
  ------------------
  |  Branch (1078:5): [True: 8.95k, False: 0]
  ------------------
 1079|  8.95k|        res = (v == w) ? Py_True : Py_False;
  ------------------
  |  |   26|  8.95k|#  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|  8.95k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|  8.95k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1079:15): [True: 0, False: 8.95k]
  ------------------
 1080|  8.95k|        break;
 1081|      0|    case Py_NE:
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (1081:5): [True: 0, False: 8.95k]
  ------------------
 1082|      0|        res = (v != w) ? Py_True : Py_False;
  ------------------
  |  |   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 = (v != w) ? Py_True : 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 (1082:15): [True: 0, False: 0]
  ------------------
 1083|      0|        break;
 1084|      0|    default:
  ------------------
  |  Branch (1084:5): [True: 0, False: 8.95k]
  ------------------
 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|  8.95k|    }
 1092|  8.95k|    return Py_NewRef(res);
  ------------------
  |  |  550|  8.95k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  8.95k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1093|  8.95k|}
object.c:_dir_object:
 2235|      2|{
 2236|      2|    PyObject *result, *sorted;
 2237|      2|    PyObject *dirfunc = _PyObject_LookupSpecial(obj, &_Py_ID(__dir__));
  ------------------
  |  |  920|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2238|       |
 2239|      2|    assert(obj != NULL);
  ------------------
  |  Branch (2239:5): [True: 2, False: 0]
  ------------------
 2240|      2|    if (dirfunc == NULL) {
  ------------------
  |  Branch (2240:9): [True: 0, False: 2]
  ------------------
 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|      2|    result = _PyObject_CallNoArgs(dirfunc);
 2247|      2|    Py_DECREF(dirfunc);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2248|      2|    if (result == NULL)
  ------------------
  |  Branch (2248:9): [True: 0, False: 2]
  ------------------
 2249|      0|        return NULL;
 2250|       |    /* return sorted(result) */
 2251|      2|    sorted = PySequence_List(result);
 2252|      2|    Py_DECREF(result);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2253|      2|    if (sorted == NULL)
  ------------------
  |  Branch (2253:9): [True: 0, False: 2]
  ------------------
 2254|      0|        return NULL;
 2255|      2|    if (PyList_Sort(sorted)) {
  ------------------
  |  Branch (2255:9): [True: 0, False: 2]
  ------------------
 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|      2|    return sorted;
 2260|      2|}
object.c:none_repr:
 2281|      2|{
 2282|      2|    return PyUnicode_FromString("None");
 2283|      2|}
object.c:none_hash:
 2312|    255|{
 2313|    255|    return 0xFCA86420;
 2314|    255|}
object.c:new_reference:
 2727|   209M|{
 2728|       |    // Skip the immortal object check in Py_SET_REFCNT; always set refcnt to 1
 2729|   209M|#if !defined(Py_GIL_DISABLED)
 2730|   209M|#if SIZEOF_VOID_P > 4
 2731|   209M|    op->ob_refcnt_full = 1;
 2732|   209M|    assert(op->ob_refcnt == 1);
  ------------------
  |  Branch (2732:5): [True: 209M, False: 0]
  ------------------
 2733|   209M|    assert(op->ob_flags == 0);
  ------------------
  |  Branch (2733:5): [True: 209M, False: 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|   209M|    _PyReftracerTrack(op, PyRefTracer_CREATE);
  ------------------
  |  |  112|   209M|    do { \
  |  |  113|   209M|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  114|   209M|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (114:13): [True: 0, False: 209M]
  |  |  ------------------
  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  117|      0|        } \
  |  |  118|   209M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (118:13): [Folded, False: 209M]
  |  |  ------------------
  ------------------
 2756|   209M|}

_PyMem_RawMalloc:
   59|   587k|{
   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|   587k|    if (size == 0)
  ------------------
  |  Branch (64:9): [True: 34, False: 587k]
  ------------------
   65|     34|        size = 1;
   66|   587k|    return malloc(size);
   67|   587k|}
_PyMem_RawCalloc:
   71|     46|{
   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|     46|    if (nelem == 0 || elsize == 0) {
  ------------------
  |  Branch (76:9): [True: 0, False: 46]
  |  Branch (76:23): [True: 0, False: 46]
  ------------------
   77|      0|        nelem = 1;
   78|      0|        elsize = 1;
   79|      0|    }
   80|     46|    return calloc(nelem, elsize);
   81|     46|}
_PyMem_RawRealloc:
   85|  4.49M|{
   86|  4.49M|    if (size == 0)
  ------------------
  |  Branch (86:9): [True: 0, False: 4.49M]
  ------------------
   87|      0|        size = 1;
   88|  4.49M|    return realloc(ptr, size);
   89|  4.49M|}
_PyMem_RawFree:
   93|   583k|{
   94|   583k|    free(ptr);
   95|   583k|}
_PyMem_DefaultRawMalloc:
  472|     14|{
  473|       |#ifdef Py_DEBUG
  474|       |    return _PyMem_DebugRawMalloc(&_PyRuntime.allocators.debug.raw, size);
  475|       |#else
  476|       |    return _PyMem_RawMalloc(NULL, size);
  477|     14|#endif
  478|     14|}
_PyMem_DefaultRawFree:
  502|     16|{
  503|       |#ifdef Py_DEBUG
  504|       |    _PyMem_DebugRawFree(&_PyRuntime.allocators.debug.raw, ptr);
  505|       |#else
  506|       |    _PyMem_RawFree(NULL, ptr);
  507|     16|#endif
  508|     16|}
_PyMem_DefaultRawWcsdup:
  512|     10|{
  513|     10|    assert(str != NULL);
  ------------------
  |  Branch (513:5): [True: 10, False: 0]
  ------------------
  514|       |
  515|     10|    size_t len = wcslen(str);
  516|     10|    if (len > (size_t)PY_SSIZE_T_MAX / sizeof(wchar_t) - 1) {
  ------------------
  |  |  137|     10|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (516:9): [True: 0, False: 10]
  ------------------
  517|      0|        return NULL;
  518|      0|    }
  519|       |
  520|     10|    size_t size = (len + 1) * sizeof(wchar_t);
  521|     10|    wchar_t *str2 = _PyMem_DefaultRawMalloc(size);
  522|     10|    if (str2 == NULL) {
  ------------------
  |  Branch (522:9): [True: 0, False: 10]
  ------------------
  523|      0|        return NULL;
  524|      0|    }
  525|       |
  526|     10|    memcpy(str2, str, size);
  527|     10|    return str2;
  528|     10|}
_PyMem_ArenaAlloc:
  624|  36.7k|{
  625|       |#ifdef MS_WINDOWS
  626|       |#  ifdef PYMALLOC_USE_HUGEPAGES
  627|       |    if (_PyRuntime.allocators.use_hugepages) {
  628|       |        SIZE_T lp_size = GetLargePageMinimum();
  629|       |        if (lp_size > 0 && size % lp_size == 0) {
  630|       |            void *ptr = VirtualAlloc(NULL, size,
  631|       |                            MEM_COMMIT | MEM_RESERVE | MEM_LARGE_PAGES,
  632|       |                            PAGE_READWRITE);
  633|       |            if (ptr != NULL)
  634|       |                return ptr;
  635|       |        }
  636|       |    }
  637|       |    /* Fall back to regular pages */
  638|       |#  endif
  639|       |    return VirtualAlloc(NULL, size,
  640|       |                        MEM_COMMIT | MEM_RESERVE, PAGE_READWRITE);
  641|       |#elif defined(ARENAS_USE_MMAP)
  642|       |    void *ptr;
  643|       |#  ifdef PYMALLOC_USE_HUGEPAGES
  644|       |#    ifdef MAP_HUGETLB
  645|       |    if (_PyRuntime.allocators.use_hugepages) {
  646|       |        size_t hp_size = _pymalloc_system_hugepage_size();
  647|       |        /* Only use huge pages if the arena size is a multiple of the
  648|       |         * system's default huge page size.  When the arena is smaller
  649|       |         * than the huge page, mmap still succeeds but silently
  650|       |         * allocates an entire huge page; the subsequent munmap with
  651|       |         * the smaller arena size then fails with EINVAL, leaking
  652|       |         * all of that memory. */
  653|       |        if (hp_size > 0 && size % hp_size == 0) {
  654|       |            ptr = mmap(NULL, size, PROT_READ|PROT_WRITE,
  655|       |                       MAP_PRIVATE|MAP_ANONYMOUS|MAP_HUGETLB, -1, 0);
  656|       |            if (ptr != MAP_FAILED) {
  657|       |                assert(ptr != NULL);
  658|       |                (void)_PyAnnotateMemoryMap(ptr, size, "cpython:pymalloc:hugepage");
  659|       |                return ptr;
  660|       |            }
  661|       |        }
  662|       |    }
  663|       |    /* Fall back to regular pages */
  664|       |#    endif
  665|       |#  endif
  666|  36.7k|    ptr = mmap(NULL, size, PROT_READ|PROT_WRITE,
  667|  36.7k|               MAP_PRIVATE|MAP_ANONYMOUS, -1, 0);
  668|  36.7k|    if (ptr == MAP_FAILED)
  ------------------
  |  Branch (668:9): [True: 0, False: 36.7k]
  ------------------
  669|      0|        return NULL;
  670|  36.7k|    assert(ptr != NULL);
  ------------------
  |  Branch (670:5): [True: 36.7k, False: 0]
  ------------------
  671|  36.7k|#ifdef MADV_HUGEPAGE
  672|  36.7k|    (void)madvise(ptr, size, MADV_HUGEPAGE);
  673|  36.7k|#endif
  674|  36.7k|    (void)_PyAnnotateMemoryMap(ptr, size, "cpython:pymalloc");
  675|  36.7k|    return ptr;
  676|       |#else
  677|       |    return malloc(size);
  678|       |#endif
  679|  36.7k|}
_PyMem_ArenaFree:
  689|  36.6k|{
  690|       |#ifdef MS_WINDOWS
  691|       |    /* Unlike free(), VirtualFree() does not special-case NULL to noop. */
  692|       |    if (ptr == NULL) {
  693|       |        return;
  694|       |    }
  695|       |    VirtualFree(ptr, 0, MEM_RELEASE);
  696|       |#elif defined(ARENAS_USE_MMAP)
  697|       |    /* Unlike free(), munmap() does not special-case NULL to noop. */
  698|  36.6k|    if (ptr == NULL) {
  ------------------
  |  Branch (698:9): [True: 0, False: 36.6k]
  ------------------
  699|      0|        return;
  700|      0|    }
  701|  36.6k|    if (munmap(ptr, size) < 0) {
  ------------------
  |  Branch (701:9): [True: 0, False: 36.6k]
  ------------------
  702|      0|        _Py_FatalErrorFormat(__func__,
  703|      0|                             "munmap(%p, %zu) failed with errno %d",
  704|      0|                             ptr, size, errno);
  705|      0|    }
  706|       |#else
  707|       |    free(ptr);
  708|       |#endif
  709|  36.6k|}
PyMem_GetAllocator:
 1133|      2|{
 1134|      2|    PyMutex_Lock(&ALLOCATORS_MUTEX);
  ------------------
  |  |   59|      2|#define PyMutex_Lock _PyMutex_Lock
  ------------------
                  PyMutex_Lock(&ALLOCATORS_MUTEX);
  ------------------
  |  |  716|      2|#define ALLOCATORS_MUTEX (_PyRuntime.allocators.mutex)
  ------------------
 1135|      2|    get_allocator_unlocked(domain, allocator);
 1136|      2|    PyMutex_Unlock(&ALLOCATORS_MUTEX);
  ------------------
  |  |   70|      2|#define PyMutex_Unlock _PyMutex_Unlock
  ------------------
                  PyMutex_Unlock(&ALLOCATORS_MUTEX);
  ------------------
  |  |  716|      2|#define ALLOCATORS_MUTEX (_PyRuntime.allocators.mutex)
  ------------------
 1137|      2|}
_PyObject_VirtualAlloc:
 1184|  36.6k|{
 1185|  36.6k|    size_t alloc_size = _pymalloc_virtual_alloc_size(size);
 1186|  36.6k|    if (alloc_size == 0 && size != 0) {
  ------------------
  |  Branch (1186:9): [True: 0, False: 36.6k]
  |  Branch (1186:28): [True: 0, False: 0]
  ------------------
 1187|      0|        return NULL;
 1188|      0|    }
 1189|  36.6k|    return _PyObject_Arena.alloc(_PyObject_Arena.ctx, alloc_size);
  ------------------
  |  |  721|  36.6k|#define _PyObject_Arena (_PyRuntime.allocators.obj_arena)
  ------------------
                  return _PyObject_Arena.alloc(_PyObject_Arena.ctx, alloc_size);
  ------------------
  |  |  721|  36.6k|#define _PyObject_Arena (_PyRuntime.allocators.obj_arena)
  ------------------
 1190|  36.6k|}
_PyObject_VirtualFree:
 1194|  36.6k|{
 1195|  36.6k|    size_t alloc_size = _pymalloc_virtual_alloc_size(size);
 1196|  36.6k|    assert(alloc_size != 0 || size == 0);
  ------------------
  |  Branch (1196:5): [True: 36.6k, False: 0]
  |  Branch (1196:5): [True: 0, False: 0]
  ------------------
 1197|  36.6k|    _PyObject_Arena.free(_PyObject_Arena.ctx, obj, alloc_size);
  ------------------
  |  |  721|  36.6k|#define _PyObject_Arena (_PyRuntime.allocators.obj_arena)
  ------------------
                  _PyObject_Arena.free(_PyObject_Arena.ctx, obj, alloc_size);
  ------------------
  |  |  721|  36.6k|#define _PyObject_Arena (_PyRuntime.allocators.obj_arena)
  ------------------
 1198|  36.6k|}
PyMem_RawMalloc:
 1207|   587k|{
 1208|       |    /*
 1209|       |     * Limit ourselves to PY_SSIZE_T_MAX bytes to prevent security holes.
 1210|       |     * Most python internals blindly use a signed Py_ssize_t to track
 1211|       |     * things without checking for overflows or negatives.
 1212|       |     * As size_t is unsigned, checking for size < 0 is not required.
 1213|       |     */
 1214|   587k|    if (size > (size_t)PY_SSIZE_T_MAX)
  ------------------
  |  |  137|   587k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1214:9): [True: 0, False: 587k]
  ------------------
 1215|      0|        return NULL;
 1216|   587k|    return _PyMem_Raw.malloc(_PyMem_Raw.ctx, size);
  ------------------
  |  |  717|   587k|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
                  return _PyMem_Raw.malloc(_PyMem_Raw.ctx, size);
  ------------------
  |  |  717|   587k|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
 1217|   587k|}
PyMem_RawCalloc:
 1221|     46|{
 1222|       |    /* see PyMem_RawMalloc() */
 1223|     46|    if (elsize != 0 && nelem > (size_t)PY_SSIZE_T_MAX / elsize)
  ------------------
  |  |  137|     46|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1223:9): [True: 46, False: 0]
  |  Branch (1223:24): [True: 0, False: 46]
  ------------------
 1224|      0|        return NULL;
 1225|     46|    return _PyMem_Raw.calloc(_PyMem_Raw.ctx, nelem, elsize);
  ------------------
  |  |  717|     46|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
                  return _PyMem_Raw.calloc(_PyMem_Raw.ctx, nelem, elsize);
  ------------------
  |  |  717|     46|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
 1226|     46|}
PyMem_RawRealloc:
 1230|  4.49M|{
 1231|       |    /* see PyMem_RawMalloc() */
 1232|  4.49M|    if (new_size > (size_t)PY_SSIZE_T_MAX)
  ------------------
  |  |  137|  4.49M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1232:9): [True: 0, False: 4.49M]
  ------------------
 1233|      0|        return NULL;
 1234|  4.49M|    return _PyMem_Raw.realloc(_PyMem_Raw.ctx, ptr, new_size);
  ------------------
  |  |  717|  4.49M|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
                  return _PyMem_Raw.realloc(_PyMem_Raw.ctx, ptr, new_size);
  ------------------
  |  |  717|  4.49M|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
 1235|  4.49M|}
PyMem_RawFree:
 1238|   583k|{
 1239|   583k|    _PyMem_Raw.free(_PyMem_Raw.ctx, ptr);
  ------------------
  |  |  717|   583k|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
                  _PyMem_Raw.free(_PyMem_Raw.ctx, ptr);
  ------------------
  |  |  717|   583k|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
 1240|   583k|}
PyMem_Malloc:
 1249|  4.39M|{
 1250|       |    /* see PyMem_RawMalloc() */
 1251|  4.39M|    if (size > (size_t)PY_SSIZE_T_MAX)
  ------------------
  |  |  137|  4.39M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1251:9): [True: 0, False: 4.39M]
  ------------------
 1252|      0|        return NULL;
 1253|  4.39M|    OBJECT_STAT_INC_COND(allocations512, size < 512);
  ------------------
  |  |   78|  4.39M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1254|  4.39M|    OBJECT_STAT_INC_COND(allocations4k, size >= 512 && size < 4094);
  ------------------
  |  |   78|  4.39M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1255|  4.39M|    OBJECT_STAT_INC_COND(allocations_big, size >= 4094);
  ------------------
  |  |   78|  4.39M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1256|  4.39M|    OBJECT_STAT_INC(allocations);
  ------------------
  |  |   77|  4.39M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
 1257|  4.39M|    return _PyMem.malloc(_PyMem.ctx, size);
  ------------------
  |  |  718|  4.39M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
                  return _PyMem.malloc(_PyMem.ctx, size);
  ------------------
  |  |  718|  4.39M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
 1258|  4.39M|}
PyMem_Calloc:
 1262|  2.89M|{
 1263|       |    /* see PyMem_RawMalloc() */
 1264|  2.89M|    if (elsize != 0 && nelem > (size_t)PY_SSIZE_T_MAX / elsize)
  ------------------
  |  |  137|  2.89M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1264:9): [True: 2.89M, False: 0]
  |  Branch (1264:24): [True: 0, False: 2.89M]
  ------------------
 1265|      0|        return NULL;
 1266|  2.89M|    OBJECT_STAT_INC_COND(allocations512, elsize < 512);
  ------------------
  |  |   78|  2.89M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1267|  2.89M|    OBJECT_STAT_INC_COND(allocations4k, elsize >= 512 && elsize < 4094);
  ------------------
  |  |   78|  2.89M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1268|  2.89M|    OBJECT_STAT_INC_COND(allocations_big, elsize >= 4094);
  ------------------
  |  |   78|  2.89M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1269|  2.89M|    OBJECT_STAT_INC(allocations);
  ------------------
  |  |   77|  2.89M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
 1270|  2.89M|    return _PyMem.calloc(_PyMem.ctx, nelem, elsize);
  ------------------
  |  |  718|  2.89M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
                  return _PyMem.calloc(_PyMem.ctx, nelem, elsize);
  ------------------
  |  |  718|  2.89M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
 1271|  2.89M|}
PyMem_Realloc:
 1275|  7.48M|{
 1276|       |    /* see PyMem_RawMalloc() */
 1277|  7.48M|    if (new_size > (size_t)PY_SSIZE_T_MAX)
  ------------------
  |  |  137|  7.48M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1277:9): [True: 0, False: 7.48M]
  ------------------
 1278|      0|        return NULL;
 1279|  7.48M|    return _PyMem.realloc(_PyMem.ctx, ptr, new_size);
  ------------------
  |  |  718|  7.48M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
                  return _PyMem.realloc(_PyMem.ctx, ptr, new_size);
  ------------------
  |  |  718|  7.48M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
 1280|  7.48M|}
PyMem_Free:
 1284|  14.2M|{
 1285|  14.2M|    OBJECT_STAT_INC(frees);
  ------------------
  |  |   77|  14.2M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
 1286|  14.2M|    _PyMem.free(_PyMem.ctx, ptr);
  ------------------
  |  |  718|  14.2M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
                  _PyMem.free(_PyMem.ctx, ptr);
  ------------------
  |  |  718|  14.2M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
 1287|  14.2M|}
_PyMem_RawWcsdup:
 1296|     82|{
 1297|     82|    assert(str != NULL);
  ------------------
  |  Branch (1297:5): [True: 82, False: 0]
  ------------------
 1298|       |
 1299|     82|    size_t len = wcslen(str);
 1300|     82|    if (len > (size_t)PY_SSIZE_T_MAX / sizeof(wchar_t) - 1) {
  ------------------
  |  |  137|     82|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1300:9): [True: 0, False: 82]
  ------------------
 1301|      0|        return NULL;
 1302|      0|    }
 1303|       |
 1304|     82|    size_t size = (len + 1) * sizeof(wchar_t);
 1305|     82|    wchar_t *str2 = PyMem_RawMalloc(size);
 1306|     82|    if (str2 == NULL) {
  ------------------
  |  Branch (1306:9): [True: 0, False: 82]
  ------------------
 1307|      0|        return NULL;
 1308|      0|    }
 1309|       |
 1310|     82|    memcpy(str2, str, size);
 1311|     82|    return str2;
 1312|     82|}
_PyMem_RawStrdup:
 1316|      8|{
 1317|      8|    assert(str != NULL);
  ------------------
  |  Branch (1317:5): [True: 8, False: 0]
  ------------------
 1318|      8|    size_t size = strlen(str) + 1;
 1319|      8|    char *copy = PyMem_RawMalloc(size);
 1320|      8|    if (copy == NULL) {
  ------------------
  |  Branch (1320:9): [True: 0, False: 8]
  ------------------
 1321|      0|        return NULL;
 1322|      0|    }
 1323|      8|    memcpy(copy, str, size);
 1324|      8|    return copy;
 1325|      8|}
PyObject_Malloc:
 1701|  83.4M|{
 1702|       |    /* see PyMem_RawMalloc() */
 1703|  83.4M|    if (size > (size_t)PY_SSIZE_T_MAX)
  ------------------
  |  |  137|  83.4M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1703:9): [True: 0, False: 83.4M]
  ------------------
 1704|      0|        return NULL;
 1705|  83.4M|    OBJECT_STAT_INC_COND(allocations512, size < 512);
  ------------------
  |  |   78|  83.4M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1706|  83.4M|    OBJECT_STAT_INC_COND(allocations4k, size >= 512 && size < 4094);
  ------------------
  |  |   78|  83.4M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1707|  83.4M|    OBJECT_STAT_INC_COND(allocations_big, size >= 4094);
  ------------------
  |  |   78|  83.4M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1708|  83.4M|    OBJECT_STAT_INC(allocations);
  ------------------
  |  |   77|  83.4M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
 1709|  83.4M|    return _PyObject.malloc(_PyObject.ctx, size);
  ------------------
  |  |  719|  83.4M|#define _PyObject (_PyRuntime.allocators.standard.obj)
  ------------------
                  return _PyObject.malloc(_PyObject.ctx, size);
  ------------------
  |  |  719|  83.4M|#define _PyObject (_PyRuntime.allocators.standard.obj)
  ------------------
 1710|  83.4M|}
PyObject_Realloc:
 1727|  6.74M|{
 1728|       |    /* see PyMem_RawMalloc() */
 1729|  6.74M|    if (new_size > (size_t)PY_SSIZE_T_MAX)
  ------------------
  |  |  137|  6.74M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1729:9): [True: 0, False: 6.74M]
  ------------------
 1730|      0|        return NULL;
 1731|  6.74M|    return _PyObject.realloc(_PyObject.ctx, ptr, new_size);
  ------------------
  |  |  719|  6.74M|#define _PyObject (_PyRuntime.allocators.standard.obj)
  ------------------
                  return _PyObject.realloc(_PyObject.ctx, ptr, new_size);
  ------------------
  |  |  719|  6.74M|#define _PyObject (_PyRuntime.allocators.standard.obj)
  ------------------
 1732|  6.74M|}
PyObject_Free:
 1736|  82.6M|{
 1737|  82.6M|    OBJECT_STAT_INC(frees);
  ------------------
  |  |   77|  82.6M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
 1738|  82.6M|    _PyObject.free(_PyObject.ctx, ptr);
  ------------------
  |  |  719|  82.6M|#define _PyObject (_PyRuntime.allocators.standard.obj)
  ------------------
                  _PyObject.free(_PyObject.ctx, ptr);
  ------------------
  |  |  719|  82.6M|#define _PyObject (_PyRuntime.allocators.standard.obj)
  ------------------
 1739|  82.6M|}
_PyObject_Malloc:
 2542|  96.8M|{
 2543|  96.8M|    OMState *state = get_state();
 2544|  96.8M|    void* ptr = pymalloc_alloc(state, ctx, nbytes);
 2545|  96.8M|    if (LIKELY(ptr != NULL)) {
  ------------------
  |  | 1746|  96.8M|#  define LIKELY(value) __builtin_expect((value), 1)
  |  |  ------------------
  |  |  |  Branch (1746:25): [True: 96.2M, False: 584k]
  |  |  ------------------
  ------------------
 2546|  96.2M|        return ptr;
 2547|  96.2M|    }
 2548|       |
 2549|   584k|    ptr = PyMem_RawMalloc(nbytes);
 2550|   584k|    if (ptr != NULL) {
  ------------------
  |  Branch (2550:9): [True: 584k, False: 0]
  ------------------
 2551|   584k|        raw_allocated_blocks++;
  ------------------
  |  | 1796|   584k|#define raw_allocated_blocks (state->mgmt.raw_allocated_blocks)
  ------------------
 2552|   584k|    }
 2553|   584k|    return ptr;
 2554|  96.8M|}
_PyObject_Calloc:
 2559|  2.89M|{
 2560|  2.89M|    assert(elsize == 0 || nelem <= (size_t)PY_SSIZE_T_MAX / elsize);
  ------------------
  |  Branch (2560:5): [True: 0, False: 2.89M]
  |  Branch (2560:5): [True: 2.89M, False: 0]
  ------------------
 2561|  2.89M|    size_t nbytes = nelem * elsize;
 2562|       |
 2563|  2.89M|    OMState *state = get_state();
 2564|  2.89M|    void* ptr = pymalloc_alloc(state, ctx, nbytes);
 2565|  2.89M|    if (LIKELY(ptr != NULL)) {
  ------------------
  |  | 1746|  2.89M|#  define LIKELY(value) __builtin_expect((value), 1)
  |  |  ------------------
  |  |  |  Branch (1746:25): [True: 2.89M, False: 40]
  |  |  ------------------
  ------------------
 2566|  2.89M|        memset(ptr, 0, nbytes);
 2567|  2.89M|        return ptr;
 2568|  2.89M|    }
 2569|       |
 2570|     40|    ptr = PyMem_RawCalloc(nelem, elsize);
 2571|     40|    if (ptr != NULL) {
  ------------------
  |  Branch (2571:9): [True: 40, False: 0]
  ------------------
 2572|     40|        raw_allocated_blocks++;
  ------------------
  |  | 1796|     40|#define raw_allocated_blocks (state->mgmt.raw_allocated_blocks)
  ------------------
 2573|     40|    }
 2574|     40|    return ptr;
 2575|  2.89M|}
_PyObject_Free:
 2824|  98.9M|{
 2825|       |    /* PyObject_Free(NULL) has no effect */
 2826|  98.9M|    if (p == NULL) {
  ------------------
  |  Branch (2826:9): [True: 444, False: 98.9M]
  ------------------
 2827|    444|        return;
 2828|    444|    }
 2829|       |
 2830|  98.9M|    OMState *state = get_state();
 2831|  98.9M|    if (UNLIKELY(!pymalloc_free(state, ctx, p))) {
  ------------------
  |  | 1745|  98.9M|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1745:27): [True: 582k, False: 98.3M]
  |  |  ------------------
  ------------------
 2832|       |        /* pymalloc didn't allocate this address */
 2833|   582k|        PyMem_RawFree(p);
 2834|   582k|        raw_allocated_blocks--;
  ------------------
  |  | 1796|   582k|#define raw_allocated_blocks (state->mgmt.raw_allocated_blocks)
  ------------------
 2835|   582k|    }
 2836|  98.9M|}
_PyObject_Realloc:
 2912|  14.2M|{
 2913|  14.2M|    void *ptr2;
 2914|       |
 2915|  14.2M|    if (ptr == NULL) {
  ------------------
  |  Branch (2915:9): [True: 6.97M, False: 7.25M]
  ------------------
 2916|  6.97M|        return _PyObject_Malloc(ctx, nbytes);
 2917|  6.97M|    }
 2918|       |
 2919|  7.25M|    OMState *state = get_state();
 2920|  7.25M|    if (pymalloc_realloc(state, ctx, &ptr2, ptr, nbytes)) {
  ------------------
  |  Branch (2920:9): [True: 2.76M, False: 4.49M]
  ------------------
 2921|  2.76M|        return ptr2;
 2922|  2.76M|    }
 2923|       |
 2924|  4.49M|    return PyMem_RawRealloc(ptr, nbytes);
 2925|  7.25M|}
_PyMem_init_obmalloc:
 3564|      2|{
 3565|      2|#ifdef WITH_PYMALLOC
 3566|       |    /* Initialize obmalloc, but only for subinterpreters,
 3567|       |       since the main interpreter is initialized statically. */
 3568|      2|    if (_Py_IsMainInterpreter(interp)
  ------------------
  |  Branch (3568:9): [True: 2, False: 0]
  ------------------
 3569|      0|            || _PyInterpreterState_HasFeature(interp,
  ------------------
  |  Branch (3569:16): [True: 0, False: 0]
  ------------------
 3570|      2|                                              Py_RTFLAGS_USE_MAIN_OBMALLOC)) {
  ------------------
  |  |   79|      0|#define Py_RTFLAGS_USE_MAIN_OBMALLOC (1UL << 5)
  ------------------
 3571|      2|        interp->obmalloc = &obmalloc_state_main;
 3572|      2|        if (!obmalloc_state_initialized) {
  ------------------
  |  Branch (3572:13): [True: 2, False: 0]
  ------------------
 3573|      2|            init_obmalloc_pools(interp);
 3574|      2|            obmalloc_state_initialized = true;
 3575|      2|        }
 3576|      2|    } else {
 3577|      0|        interp->obmalloc = PyMem_RawCalloc(1, sizeof(struct _obmalloc_state));
 3578|      0|        if (interp->obmalloc == NULL) {
  ------------------
  |  Branch (3578:13): [True: 0, False: 0]
  ------------------
 3579|      0|            return -1;
 3580|      0|        }
 3581|      0|        init_obmalloc_pools(interp);
 3582|      0|    }
 3583|      2|#endif /* WITH_PYMALLOC */
 3584|      2|    return 0; // success
 3585|      2|}
obmalloc.c:get_allocator_unlocked:
 1103|      2|{
 1104|      2|    switch(domain)
 1105|      2|    {
 1106|      2|    case PYMEM_DOMAIN_RAW: *allocator = _PyMem_Raw; break;
  ------------------
  |  |  717|      2|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
  |  Branch (1106:5): [True: 2, False: 0]
  ------------------
 1107|      0|    case PYMEM_DOMAIN_MEM: *allocator = _PyMem; break;
  ------------------
  |  |  718|      0|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
  |  Branch (1107:5): [True: 0, False: 2]
  ------------------
 1108|      0|    case PYMEM_DOMAIN_OBJ: *allocator = _PyObject; break;
  ------------------
  |  |  719|      0|#define _PyObject (_PyRuntime.allocators.standard.obj)
  ------------------
  |  Branch (1108:5): [True: 0, False: 2]
  ------------------
 1109|      0|    default:
  ------------------
  |  Branch (1109:5): [True: 0, False: 2]
  ------------------
 1110|       |        /* unknown domain: set all attributes to NULL */
 1111|      0|        allocator->ctx = NULL;
 1112|      0|        allocator->malloc = NULL;
 1113|      0|        allocator->calloc = NULL;
 1114|      0|        allocator->realloc = NULL;
 1115|       |        allocator->free = NULL;
 1116|      2|    }
 1117|      2|}
obmalloc.c:_pymalloc_virtual_alloc_size:
  603|  73.2k|{
  604|       |#if defined(MS_WINDOWS) && defined(PYMALLOC_USE_HUGEPAGES)
  605|       |    if (_PyRuntime.allocators.use_hugepages) {
  606|       |        SIZE_T large_page_size = GetLargePageMinimum();
  607|       |        if (large_page_size > 0) {
  608|       |            return _pymalloc_round_up_to_multiple(size, (size_t)large_page_size);
  609|       |        }
  610|       |    }
  611|       |#elif defined(PYMALLOC_USE_HUGEPAGES) && defined(ARENAS_USE_MMAP) && defined(MAP_HUGETLB)
  612|       |    if (_PyRuntime.allocators.use_hugepages) {
  613|       |        size_t hp_size = _pymalloc_system_hugepage_size();
  614|       |        if (hp_size > 0) {
  615|       |            return _pymalloc_round_up_to_multiple(size, hp_size);
  616|       |        }
  617|       |    }
  618|       |#endif
  619|  73.2k|    return size;
  620|  73.2k|}
obmalloc.c:get_state:
 1780|   205M|{
 1781|   205M|    PyInterpreterState *interp = _PyInterpreterState_GET();
 1782|   205M|    assert(interp->obmalloc != NULL); // otherwise not initialized or freed
  ------------------
  |  Branch (1782:5): [True: 205M, False: 0]
  ------------------
 1783|   205M|    return interp->obmalloc;
 1784|   205M|}
obmalloc.c:pymalloc_alloc:
 2494|  99.7M|{
 2495|       |#ifdef WITH_VALGRIND
 2496|       |    if (UNLIKELY(running_on_valgrind == -1)) {
 2497|       |        running_on_valgrind = RUNNING_ON_VALGRIND;
 2498|       |    }
 2499|       |    if (UNLIKELY(running_on_valgrind)) {
 2500|       |        return NULL;
 2501|       |    }
 2502|       |#endif
 2503|       |
 2504|  99.7M|    if (UNLIKELY(nbytes == 0)) {
  ------------------
  |  | 1745|  99.7M|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1745:27): [True: 34, False: 99.7M]
  |  |  ------------------
  ------------------
 2505|     34|        return NULL;
 2506|     34|    }
 2507|  99.7M|    if (UNLIKELY(nbytes > SMALL_REQUEST_THRESHOLD)) {
  ------------------
  |  | 1745|  99.7M|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1745:27): [True: 585k, False: 99.1M]
  |  |  ------------------
  ------------------
 2508|   585k|        return NULL;
 2509|   585k|    }
 2510|       |
 2511|  99.1M|    uint size = (uint)(nbytes - 1) >> ALIGNMENT_SHIFT;
  ------------------
  |  |   35|  99.1M|#define uint pymem_uint
  ------------------
                  uint size = (uint)(nbytes - 1) >> ALIGNMENT_SHIFT;
  ------------------
  |  |  139|  99.1M|#define ALIGNMENT_SHIFT         4
  ------------------
 2512|  99.1M|    poolp pool = usedpools[size + size];
  ------------------
  |  | 1787|  99.1M|#define usedpools (state->pools.used)
  ------------------
 2513|  99.1M|    pymem_block *bp;
 2514|       |
 2515|  99.1M|    if (LIKELY(pool != pool->nextpool)) {
  ------------------
  |  | 1746|  99.1M|#  define LIKELY(value) __builtin_expect((value), 1)
  |  |  ------------------
  |  |  |  Branch (1746:25): [True: 98.7M, False: 393k]
  |  |  ------------------
  ------------------
 2516|       |        /*
 2517|       |         * There is a used pool for this size class.
 2518|       |         * Pick up the head block of its free list.
 2519|       |         */
 2520|  98.7M|        ++pool->ref.count;
 2521|  98.7M|        bp = pool->freeblock;
 2522|  98.7M|        assert(bp != NULL);
  ------------------
  |  Branch (2522:9): [True: 98.7M, False: 0]
  ------------------
 2523|       |
 2524|  98.7M|        if (UNLIKELY((pool->freeblock = *(pymem_block **)bp) == NULL)) {
  ------------------
  |  | 1745|  98.7M|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1745:27): [True: 28.0M, False: 70.6M]
  |  |  ------------------
  ------------------
 2525|       |            // Reached the end of the free list, try to extend it.
 2526|  28.0M|            pymalloc_pool_extend(pool, size);
 2527|  28.0M|        }
 2528|  98.7M|    }
 2529|   393k|    else {
 2530|       |        /* There isn't a pool of the right size class immediately
 2531|       |         * available:  use a free pool.
 2532|       |         */
 2533|   393k|        bp = allocate_from_new_pool(state, size);
 2534|   393k|    }
 2535|       |
 2536|  99.1M|    return (void *)bp;
 2537|  99.1M|}
obmalloc.c:pymalloc_pool_extend:
 2336|  28.0M|{
 2337|  28.0M|    if (UNLIKELY(pool->nextoffset <= pool->maxnextoffset)) {
  ------------------
  |  | 1745|  28.0M|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1745:27): [True: 19.9M, False: 8.12M]
  |  |  ------------------
  ------------------
 2338|       |        /* There is room for another block. */
 2339|  19.9M|        pool->freeblock = (pymem_block*)pool + pool->nextoffset;
 2340|  19.9M|        pool->nextoffset += INDEX2SIZE(size);
  ------------------
  |  |  146|  19.9M|#define INDEX2SIZE(I) (((pymem_uint)(I) + 1) << ALIGNMENT_SHIFT)
  |  |  ------------------
  |  |  |  |  139|  19.9M|#define ALIGNMENT_SHIFT         4
  |  |  ------------------
  ------------------
 2341|  19.9M|        *(pymem_block **)(pool->freeblock) = NULL;
 2342|  19.9M|        return;
 2343|  19.9M|    }
 2344|       |
 2345|       |    /* Pool is full, unlink from used pools. */
 2346|  8.12M|    poolp next;
 2347|  8.12M|    next = pool->nextpool;
 2348|  8.12M|    pool = pool->prevpool;
 2349|  8.12M|    next->prevpool = pool;
 2350|  8.12M|    pool->nextpool = next;
 2351|  8.12M|}
obmalloc.c:allocate_from_new_pool:
 2358|   393k|{
 2359|       |    /* There isn't a pool of the right size class immediately
 2360|       |     * available:  use a free pool.
 2361|       |     */
 2362|   393k|    if (UNLIKELY(usable_arenas == NULL)) {
  ------------------
  |  | 1745|   393k|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1745:27): [True: 132, False: 392k]
  |  |  ------------------
  ------------------
 2363|       |        /* No arena has a free pool:  allocate a new arena. */
 2364|       |#ifdef WITH_MEMORY_LIMITS
 2365|       |        if (narenas_currently_allocated >= MAX_ARENAS) {
 2366|       |            return NULL;
 2367|       |        }
 2368|       |#endif
 2369|    132|        usable_arenas = new_arena(state);
  ------------------
  |  | 1791|    132|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2370|    132|        if (usable_arenas == NULL) {
  ------------------
  |  | 1791|    132|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
  |  Branch (2370:13): [True: 0, False: 132]
  ------------------
 2371|      0|            return NULL;
 2372|      0|        }
 2373|    132|        usable_arenas->nextarena = usable_arenas->prevarena = NULL;
  ------------------
  |  | 1791|    132|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                      usable_arenas->nextarena = usable_arenas->prevarena = NULL;
  ------------------
  |  | 1791|    132|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2374|    132|        assert(nfp2lasta[usable_arenas->nfreepools] == NULL);
  ------------------
  |  Branch (2374:9): [True: 132, False: 0]
  ------------------
 2375|    132|        nfp2lasta[usable_arenas->nfreepools] = usable_arenas;
  ------------------
  |  | 1792|    132|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
                      nfp2lasta[usable_arenas->nfreepools] = usable_arenas;
  ------------------
  |  | 1791|    132|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                      nfp2lasta[usable_arenas->nfreepools] = usable_arenas;
  ------------------
  |  | 1791|    132|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2376|    132|    }
 2377|   393k|    assert(usable_arenas->address != 0);
  ------------------
  |  Branch (2377:5): [True: 393k, False: 0]
  ------------------
 2378|       |
 2379|       |    /* This arena already had the smallest nfreepools value, so decreasing
 2380|       |     * nfreepools doesn't change that, and we don't need to rearrange the
 2381|       |     * usable_arenas list.  However, if the arena becomes wholly allocated,
 2382|       |     * we need to remove its arena_object from usable_arenas.
 2383|       |     */
 2384|   393k|    assert(usable_arenas->nfreepools > 0);
  ------------------
  |  Branch (2384:5): [True: 393k, False: 0]
  ------------------
 2385|   393k|    if (nfp2lasta[usable_arenas->nfreepools] == usable_arenas) {
  ------------------
  |  | 1792|   393k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
                  if (nfp2lasta[usable_arenas->nfreepools] == usable_arenas) {
  ------------------
  |  | 1791|   393k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                  if (nfp2lasta[usable_arenas->nfreepools] == usable_arenas) {
  ------------------
  |  | 1791|   393k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
  |  Branch (2385:9): [True: 391k, False: 1.41k]
  ------------------
 2386|       |        /* It's the last of this size, so there won't be any. */
 2387|   391k|        nfp2lasta[usable_arenas->nfreepools] = NULL;
  ------------------
  |  | 1792|   391k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
                      nfp2lasta[usable_arenas->nfreepools] = NULL;
  ------------------
  |  | 1791|   391k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2388|   391k|    }
 2389|       |    /* If any free pools will remain, it will be the new smallest. */
 2390|   393k|    if (usable_arenas->nfreepools > 1) {
  ------------------
  |  | 1791|   393k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
  |  Branch (2390:9): [True: 374k, False: 18.8k]
  ------------------
 2391|   374k|        assert(nfp2lasta[usable_arenas->nfreepools - 1] == NULL);
  ------------------
  |  Branch (2391:9): [True: 374k, False: 0]
  ------------------
 2392|   374k|        nfp2lasta[usable_arenas->nfreepools - 1] = usable_arenas;
  ------------------
  |  | 1792|   374k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
                      nfp2lasta[usable_arenas->nfreepools - 1] = usable_arenas;
  ------------------
  |  | 1791|   374k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                      nfp2lasta[usable_arenas->nfreepools - 1] = usable_arenas;
  ------------------
  |  | 1791|   374k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2393|   374k|    }
 2394|       |
 2395|       |    /* Try to get a cached free pool. */
 2396|   393k|    poolp pool = usable_arenas->freepools;
  ------------------
  |  | 1791|   393k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2397|   393k|    if (LIKELY(pool != NULL)) {
  ------------------
  |  | 1746|   393k|#  define LIKELY(value) __builtin_expect((value), 1)
  |  |  ------------------
  |  |  |  Branch (1746:25): [True: 384k, False: 8.25k]
  |  |  ------------------
  ------------------
 2398|       |        /* Unlink from cached pools. */
 2399|   384k|        usable_arenas->freepools = pool->nextpool;
  ------------------
  |  | 1791|   384k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2400|   384k|        usable_arenas->nfreepools--;
  ------------------
  |  | 1791|   384k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2401|   384k|        if (UNLIKELY(usable_arenas->nfreepools == 0)) {
  ------------------
  |  | 1745|   384k|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1745:27): [True: 18.7k, False: 366k]
  |  |  ------------------
  ------------------
 2402|       |            /* Wholly allocated:  remove. */
 2403|  18.7k|            assert(usable_arenas->freepools == NULL);
  ------------------
  |  Branch (2403:13): [True: 18.7k, False: 0]
  ------------------
 2404|  18.7k|            assert(usable_arenas->nextarena == NULL ||
  ------------------
  |  Branch (2404:13): [True: 52, False: 18.6k]
  |  Branch (2404:13): [True: 18.6k, False: 0]
  ------------------
 2405|  18.7k|                   usable_arenas->nextarena->prevarena ==
 2406|  18.7k|                   usable_arenas);
 2407|  18.7k|            usable_arenas = usable_arenas->nextarena;
  ------------------
  |  | 1791|  18.7k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                          usable_arenas = usable_arenas->nextarena;
  ------------------
  |  | 1791|  18.7k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2408|  18.7k|            if (usable_arenas != NULL) {
  ------------------
  |  | 1791|  18.7k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
  |  Branch (2408:17): [True: 18.6k, False: 52]
  ------------------
 2409|  18.6k|                usable_arenas->prevarena = NULL;
  ------------------
  |  | 1791|  18.6k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2410|  18.6k|                assert(usable_arenas->address != 0);
  ------------------
  |  Branch (2410:17): [True: 18.6k, False: 0]
  ------------------
 2411|  18.6k|            }
 2412|  18.7k|        }
 2413|   366k|        else {
 2414|       |            /* nfreepools > 0:  it must be that freepools
 2415|       |             * isn't NULL, or that we haven't yet carved
 2416|       |             * off all the arena's pools for the first
 2417|       |             * time.
 2418|       |             */
 2419|   366k|            assert(usable_arenas->freepools != NULL ||
  ------------------
  |  Branch (2419:13): [True: 356k, False: 9.17k]
  |  Branch (2419:13): [True: 9.17k, False: 0]
  ------------------
 2420|   366k|                   usable_arenas->pool_address <=
 2421|   366k|                   (pymem_block*)usable_arenas->address +
 2422|   366k|                       ARENA_SIZE - POOL_SIZE);
 2423|   366k|        }
 2424|   384k|    }
 2425|  8.25k|    else {
 2426|       |        /* Carve off a new pool. */
 2427|  8.25k|        assert(usable_arenas->nfreepools > 0);
  ------------------
  |  Branch (2427:9): [True: 8.25k, False: 0]
  ------------------
 2428|  8.25k|        assert(usable_arenas->freepools == NULL);
  ------------------
  |  Branch (2428:9): [True: 8.25k, False: 0]
  ------------------
 2429|  8.25k|        pool = (poolp)usable_arenas->pool_address;
  ------------------
  |  | 1791|  8.25k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2430|  8.25k|        assert((pymem_block*)pool <= (pymem_block*)usable_arenas->address +
  ------------------
  |  Branch (2430:9): [True: 8.25k, False: 0]
  ------------------
 2431|  8.25k|                                 ARENA_SIZE - POOL_SIZE);
 2432|  8.25k|        pool->arenaindex = (uint)(usable_arenas - allarenas);
  ------------------
  |  | 1791|  8.25k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                      pool->arenaindex = (uint)(usable_arenas - allarenas);
  ------------------
  |  | 1788|  8.25k|#define allarenas (state->mgmt.arenas)
  ------------------
 2433|  8.25k|        assert(&allarenas[pool->arenaindex] == usable_arenas);
  ------------------
  |  Branch (2433:9): [True: 8.25k, False: 0]
  ------------------
 2434|  8.25k|        pool->szidx = DUMMY_SIZE_IDX;
  ------------------
  |  |  321|  8.25k|#define DUMMY_SIZE_IDX          0xffff  /* size class of newly cached pools */
  ------------------
 2435|  8.25k|        usable_arenas->pool_address += POOL_SIZE;
  ------------------
  |  | 1791|  8.25k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                      usable_arenas->pool_address += POOL_SIZE;
  ------------------
  |  |  240|  8.25k|#define POOL_SIZE               (1 << POOL_BITS)
  |  |  ------------------
  |  |  |  |  236|  8.25k|#define POOL_BITS               14                  /* 16 KiB */
  |  |  ------------------
  ------------------
 2436|  8.25k|        --usable_arenas->nfreepools;
  ------------------
  |  | 1791|  8.25k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2437|       |
 2438|  8.25k|        if (usable_arenas->nfreepools == 0) {
  ------------------
  |  | 1791|  8.25k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
  |  Branch (2438:13): [True: 129, False: 8.12k]
  ------------------
 2439|    129|            assert(usable_arenas->nextarena == NULL ||
  ------------------
  |  Branch (2439:13): [True: 94, False: 35]
  |  Branch (2439:13): [True: 35, False: 0]
  ------------------
 2440|    129|                   usable_arenas->nextarena->prevarena ==
 2441|    129|                   usable_arenas);
 2442|       |            /* Unlink the arena:  it is completely allocated. */
 2443|    129|            usable_arenas = usable_arenas->nextarena;
  ------------------
  |  | 1791|    129|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                          usable_arenas = usable_arenas->nextarena;
  ------------------
  |  | 1791|    129|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2444|    129|            if (usable_arenas != NULL) {
  ------------------
  |  | 1791|    129|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
  |  Branch (2444:17): [True: 35, False: 94]
  ------------------
 2445|     35|                usable_arenas->prevarena = NULL;
  ------------------
  |  | 1791|     35|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2446|     35|                assert(usable_arenas->address != 0);
  ------------------
  |  Branch (2446:17): [True: 35, False: 0]
  ------------------
 2447|     35|            }
 2448|    129|        }
 2449|  8.25k|    }
 2450|       |
 2451|       |    /* Frontlink to used pools. */
 2452|   393k|    pymem_block *bp;
 2453|   393k|    poolp next = usedpools[size + size]; /* == prev */
  ------------------
  |  | 1787|   393k|#define usedpools (state->pools.used)
  ------------------
 2454|   393k|    pool->nextpool = next;
 2455|   393k|    pool->prevpool = next;
 2456|   393k|    next->nextpool = pool;
 2457|   393k|    next->prevpool = pool;
 2458|   393k|    pool->ref.count = 1;
 2459|   393k|    if (pool->szidx == size) {
  ------------------
  |  Branch (2459:9): [True: 303k, False: 89.7k]
  ------------------
 2460|       |        /* Luckily, this pool last contained blocks
 2461|       |         * of the same size class, so its header
 2462|       |         * and free list are already initialized.
 2463|       |         */
 2464|   303k|        bp = pool->freeblock;
 2465|   303k|        assert(bp != NULL);
  ------------------
  |  Branch (2465:9): [True: 303k, False: 0]
  ------------------
 2466|   303k|        pool->freeblock = *(pymem_block **)bp;
 2467|   303k|        return bp;
 2468|   303k|    }
 2469|       |    /*
 2470|       |     * Initialize the pool header, set up the free list to
 2471|       |     * contain just the second block, and return the first
 2472|       |     * block.
 2473|       |     */
 2474|  89.7k|    pool->szidx = size;
 2475|  89.7k|    size = INDEX2SIZE(size);
  ------------------
  |  |  146|  89.7k|#define INDEX2SIZE(I) (((pymem_uint)(I) + 1) << ALIGNMENT_SHIFT)
  |  |  ------------------
  |  |  |  |  139|  89.7k|#define ALIGNMENT_SHIFT         4
  |  |  ------------------
  ------------------
 2476|  89.7k|    bp = (pymem_block *)pool + POOL_OVERHEAD;
  ------------------
  |  |  319|  89.7k|#define POOL_OVERHEAD   _Py_SIZE_ROUND_UP(sizeof(struct pool_header), ALIGNMENT)
  |  |  ------------------
  |  |  |  |  213|  89.7k|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  |  |  214|  89.7k|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  |  |  ------------------
  ------------------
 2477|  89.7k|    pool->nextoffset = POOL_OVERHEAD + (size << 1);
  ------------------
  |  |  319|  89.7k|#define POOL_OVERHEAD   _Py_SIZE_ROUND_UP(sizeof(struct pool_header), ALIGNMENT)
  |  |  ------------------
  |  |  |  |  213|  89.7k|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  |  |  214|  89.7k|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  |  |  ------------------
  ------------------
 2478|  89.7k|    pool->maxnextoffset = POOL_SIZE - size;
  ------------------
  |  |  240|  89.7k|#define POOL_SIZE               (1 << POOL_BITS)
  |  |  ------------------
  |  |  |  |  236|  89.7k|#define POOL_BITS               14                  /* 16 KiB */
  |  |  ------------------
  ------------------
 2479|  89.7k|    pool->freeblock = bp + size;
 2480|       |    *(pymem_block **)(pool->freeblock) = NULL;
 2481|  89.7k|    return bp;
 2482|   393k|}
obmalloc.c:new_arena:
 2124|    132|{
 2125|    132|    struct arena_object* arenaobj;
 2126|    132|    uint excess;        /* number of bytes above pool alignment */
  ------------------
  |  |   35|    132|#define uint pymem_uint
  ------------------
 2127|    132|    void *address;
 2128|       |
 2129|    132|    int debug_stats = _PyRuntime.obmalloc.dump_debug_stats;
 2130|    132|    if (debug_stats == -1) {
  ------------------
  |  Branch (2130:9): [True: 2, False: 130]
  ------------------
 2131|      2|        const char *opt = Py_GETENV("PYTHONMALLOCSTATS");
 2132|      2|        debug_stats = (opt != NULL && *opt != '\0');
  ------------------
  |  Branch (2132:24): [True: 0, False: 2]
  |  Branch (2132:39): [True: 0, False: 0]
  ------------------
 2133|      2|        _PyRuntime.obmalloc.dump_debug_stats = debug_stats;
 2134|      2|    }
 2135|    132|    if (debug_stats) {
  ------------------
  |  Branch (2135:9): [True: 0, False: 132]
  ------------------
 2136|      0|        _PyObject_DebugMallocStats(stderr);
 2137|      0|    }
 2138|       |
 2139|    132|    if (unused_arena_objects == NULL) {
  ------------------
  |  | 1790|    132|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
  |  Branch (2139:9): [True: 5, False: 127]
  ------------------
 2140|      5|        uint i;
  ------------------
  |  |   35|      5|#define uint pymem_uint
  ------------------
 2141|      5|        uint numarenas;
  ------------------
  |  |   35|      5|#define uint pymem_uint
  ------------------
 2142|      5|        size_t nbytes;
 2143|       |
 2144|       |        /* Double the number of arena objects on each allocation.
 2145|       |         * Note that it's possible for `numarenas` to overflow.
 2146|       |         */
 2147|      5|        numarenas = maxarenas ? maxarenas << 1 : INITIAL_ARENA_OBJECTS;
  ------------------
  |  | 1789|      5|#define maxarenas (state->mgmt.maxarenas)
  |  |  ------------------
  |  |  |  Branch (1789:19): [True: 3, False: 2]
  |  |  ------------------
  ------------------
                      numarenas = maxarenas ? maxarenas << 1 : INITIAL_ARENA_OBJECTS;
  ------------------
  |  | 1789|      3|#define maxarenas (state->mgmt.maxarenas)
  ------------------
                      numarenas = maxarenas ? maxarenas << 1 : INITIAL_ARENA_OBJECTS;
  ------------------
  |  |  485|      7|#define INITIAL_ARENA_OBJECTS 16
  ------------------
 2148|      5|        if (numarenas <= maxarenas)
  ------------------
  |  | 1789|      5|#define maxarenas (state->mgmt.maxarenas)
  ------------------
  |  Branch (2148:13): [True: 0, False: 5]
  ------------------
 2149|      0|            return NULL;                /* overflow */
 2150|       |#if SIZEOF_SIZE_T <= SIZEOF_INT
 2151|       |        if (numarenas > SIZE_MAX / sizeof(*allarenas))
 2152|       |            return NULL;                /* overflow */
 2153|       |#endif
 2154|      5|        nbytes = numarenas * sizeof(*allarenas);
  ------------------
  |  | 1788|      5|#define allarenas (state->mgmt.arenas)
  ------------------
 2155|      5|        arenaobj = (struct arena_object *)PyMem_RawRealloc(allarenas, nbytes);
  ------------------
  |  | 1788|      5|#define allarenas (state->mgmt.arenas)
  ------------------
 2156|      5|        if (arenaobj == NULL)
  ------------------
  |  Branch (2156:13): [True: 0, False: 5]
  ------------------
 2157|      0|            return NULL;
 2158|      5|        allarenas = arenaobj;
  ------------------
  |  | 1788|      5|#define allarenas (state->mgmt.arenas)
  ------------------
 2159|       |
 2160|       |        /* We might need to fix pointers that were copied.  However,
 2161|       |         * new_arena only gets called when all the pages in the
 2162|       |         * previous arenas are full.  Thus, there are *no* pointers
 2163|       |         * into the old array. Thus, we don't have to worry about
 2164|       |         * invalid pointers.  Just to be sure, some asserts:
 2165|       |         */
 2166|      5|        assert(usable_arenas == NULL);
  ------------------
  |  Branch (2166:9): [True: 5, False: 0]
  ------------------
 2167|      5|        assert(unused_arena_objects == NULL);
  ------------------
  |  Branch (2167:9): [True: 5, False: 0]
  ------------------
 2168|       |
 2169|       |        /* Put the new arenas on the unused_arena_objects list. */
 2170|    149|        for (i = maxarenas; i < numarenas; ++i) {
  ------------------
  |  | 1789|      5|#define maxarenas (state->mgmt.maxarenas)
  ------------------
  |  Branch (2170:29): [True: 144, False: 5]
  ------------------
 2171|    144|            allarenas[i].address = 0;              /* mark as unassociated */
  ------------------
  |  | 1788|    144|#define allarenas (state->mgmt.arenas)
  ------------------
 2172|    144|            allarenas[i].nextarena = i < numarenas - 1 ?
  ------------------
  |  | 1788|    144|#define allarenas (state->mgmt.arenas)
  ------------------
  |  Branch (2172:38): [True: 139, False: 5]
  ------------------
 2173|    144|                                        &allarenas[i+1] : NULL;
  ------------------
  |  | 1788|    139|#define allarenas (state->mgmt.arenas)
  ------------------
 2174|    144|        }
 2175|       |
 2176|       |        /* Update globals. */
 2177|      5|        unused_arena_objects = &allarenas[maxarenas];
  ------------------
  |  | 1790|      5|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
                      unused_arena_objects = &allarenas[maxarenas];
  ------------------
  |  | 1788|      5|#define allarenas (state->mgmt.arenas)
  ------------------
                      unused_arena_objects = &allarenas[maxarenas];
  ------------------
  |  | 1789|      5|#define maxarenas (state->mgmt.maxarenas)
  ------------------
 2178|      5|        maxarenas = numarenas;
  ------------------
  |  | 1789|      5|#define maxarenas (state->mgmt.maxarenas)
  ------------------
 2179|      5|    }
 2180|       |
 2181|       |    /* Take the next available arena object off the head of the list. */
 2182|    132|    assert(unused_arena_objects != NULL);
  ------------------
  |  Branch (2182:5): [True: 132, False: 0]
  ------------------
 2183|    132|    arenaobj = unused_arena_objects;
  ------------------
  |  | 1790|    132|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
 2184|    132|    unused_arena_objects = arenaobj->nextarena;
  ------------------
  |  | 1790|    132|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
 2185|    132|    assert(arenaobj->address == 0);
  ------------------
  |  Branch (2185:5): [True: 132, False: 0]
  ------------------
 2186|    132|    address = _PyObject_Arena.alloc(_PyObject_Arena.ctx, ARENA_SIZE);
  ------------------
  |  |  721|    132|#define _PyObject_Arena (_PyRuntime.allocators.obj_arena)
  ------------------
                  address = _PyObject_Arena.alloc(_PyObject_Arena.ctx, ARENA_SIZE);
  ------------------
  |  |  721|    132|#define _PyObject_Arena (_PyRuntime.allocators.obj_arena)
  ------------------
                  address = _PyObject_Arena.alloc(_PyObject_Arena.ctx, ARENA_SIZE);
  ------------------
  |  |  225|    132|#define ARENA_SIZE              (1 << ARENA_BITS)
  |  |  ------------------
  |  |  |  |  220|    132|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  ------------------
  ------------------
 2187|    132|#if WITH_PYMALLOC_RADIX_TREE
 2188|    132|    if (address != NULL) {
  ------------------
  |  Branch (2188:9): [True: 132, False: 0]
  ------------------
 2189|    132|        if (!arena_map_mark_used(state, (uintptr_t)address, 1)) {
  ------------------
  |  Branch (2189:13): [True: 0, False: 132]
  ------------------
 2190|       |            /* marking arena in radix tree failed, abort */
 2191|      0|            _PyObject_Arena.free(_PyObject_Arena.ctx, address, ARENA_SIZE);
  ------------------
  |  |  721|      0|#define _PyObject_Arena (_PyRuntime.allocators.obj_arena)
  ------------------
                          _PyObject_Arena.free(_PyObject_Arena.ctx, address, ARENA_SIZE);
  ------------------
  |  |  721|      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 */
  |  |  ------------------
  ------------------
 2192|      0|            address = NULL;
 2193|      0|        }
 2194|    132|    }
 2195|    132|#endif
 2196|    132|    if (address == NULL) {
  ------------------
  |  Branch (2196:9): [True: 0, False: 132]
  ------------------
 2197|       |        /* The allocation failed: return NULL after putting the
 2198|       |         * arenaobj back.
 2199|       |         */
 2200|      0|        arenaobj->nextarena = unused_arena_objects;
  ------------------
  |  | 1790|      0|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
 2201|      0|        unused_arena_objects = arenaobj;
  ------------------
  |  | 1790|      0|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
 2202|      0|        return NULL;
 2203|      0|    }
 2204|    132|    arenaobj->address = (uintptr_t)address;
 2205|       |
 2206|    132|    ++narenas_currently_allocated;
  ------------------
  |  | 1793|    132|#define narenas_currently_allocated (state->mgmt.narenas_currently_allocated)
  ------------------
 2207|    132|    ++ntimes_arena_allocated;
  ------------------
  |  | 1794|    132|#define ntimes_arena_allocated (state->mgmt.ntimes_arena_allocated)
  ------------------
 2208|    132|    if (narenas_currently_allocated > narenas_highwater)
  ------------------
  |  | 1793|    132|#define narenas_currently_allocated (state->mgmt.narenas_currently_allocated)
  ------------------
                  if (narenas_currently_allocated > narenas_highwater)
  ------------------
  |  | 1795|    132|#define narenas_highwater (state->mgmt.narenas_highwater)
  ------------------
  |  Branch (2208:9): [True: 90, False: 42]
  ------------------
 2209|     90|        narenas_highwater = narenas_currently_allocated;
  ------------------
  |  | 1795|     90|#define narenas_highwater (state->mgmt.narenas_highwater)
  ------------------
                      narenas_highwater = narenas_currently_allocated;
  ------------------
  |  | 1793|     90|#define narenas_currently_allocated (state->mgmt.narenas_currently_allocated)
  ------------------
 2210|    132|    arenaobj->freepools = NULL;
 2211|       |    /* pool_address <- first pool-aligned address in the arena
 2212|       |       nfreepools <- number of whole pools that fit after alignment */
 2213|    132|    arenaobj->pool_address = (pymem_block*)arenaobj->address;
 2214|    132|    arenaobj->nfreepools = MAX_POOLS_IN_ARENA;
  ------------------
  |  |  249|    132|#define MAX_POOLS_IN_ARENA  (ARENA_SIZE / POOL_SIZE)
  |  |  ------------------
  |  |  |  |  225|    132|#define ARENA_SIZE              (1 << ARENA_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  220|    132|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MAX_POOLS_IN_ARENA  (ARENA_SIZE / POOL_SIZE)
  |  |  ------------------
  |  |  |  |  240|    132|#define POOL_SIZE               (1 << POOL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  236|    132|#define POOL_BITS               14                  /* 16 KiB */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2215|    132|    excess = (uint)(arenaobj->address & POOL_SIZE_MASK);
  ------------------
  |  |  241|    132|#define POOL_SIZE_MASK          (POOL_SIZE - 1)
  |  |  ------------------
  |  |  |  |  240|    132|#define POOL_SIZE               (1 << POOL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  236|    132|#define POOL_BITS               14                  /* 16 KiB */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2216|    132|    if (excess != 0) {
  ------------------
  |  Branch (2216:9): [True: 89, False: 43]
  ------------------
 2217|     89|        --arenaobj->nfreepools;
 2218|     89|        arenaobj->pool_address += POOL_SIZE - excess;
  ------------------
  |  |  240|     89|#define POOL_SIZE               (1 << POOL_BITS)
  |  |  ------------------
  |  |  |  |  236|     89|#define POOL_BITS               14                  /* 16 KiB */
  |  |  ------------------
  ------------------
 2219|     89|    }
 2220|    132|    arenaobj->ntotalpools = arenaobj->nfreepools;
 2221|       |
 2222|    132|    return arenaobj;
 2223|    132|}
obmalloc.c:arena_map_mark_used:
 2053|    175|{
 2054|       |    /* sanity check that IGNORE_BITS is correct */
 2055|    175|    assert(HIGH_BITS(arena_base) == HIGH_BITS(&arena_map_root));
  ------------------
  |  Branch (2055:5): [True: 175, Folded]
  ------------------
 2056|    175|    arena_map_bot_t *n_hi = arena_map_get(
 2057|    175|            state, (pymem_block *)arena_base, is_used);
 2058|    175|    if (n_hi == NULL) {
  ------------------
  |  Branch (2058:9): [True: 0, False: 175]
  ------------------
 2059|      0|        assert(is_used); /* otherwise node should already exist */
  ------------------
  |  Branch (2059:9): [True: 0, False: 0]
  ------------------
 2060|      0|        return 0; /* failed to allocate space for node */
 2061|      0|    }
 2062|    175|    int i3 = MAP_BOT_INDEX((pymem_block *)arena_base);
  ------------------
  |  |  625|    175|#define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  624|    175|#define AS_UINT(p) ((uintptr_t)(p))
  |  |  ------------------
  |  |               #define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  620|    175|#define MAP_BOT_SHIFT ARENA_BITS
  |  |  |  |  ------------------
  |  |  |  |  |  |  220|    175|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  618|    175|#define MAP_BOT_MASK (MAP_BOT_LENGTH - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  617|    175|#define MAP_BOT_LENGTH (1 << MAP_BOT_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  616|    175|#define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  599|    175|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  565|    175|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  576|    175|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|    175|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  603|    175|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  599|    175|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  565|    175|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  576|    175|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  220|    175|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2063|    175|    int32_t tail = (int32_t)(arena_base & ARENA_SIZE_MASK);
  ------------------
  |  |  226|    175|#define ARENA_SIZE_MASK         (ARENA_SIZE - 1)
  |  |  ------------------
  |  |  |  |  225|    175|#define ARENA_SIZE              (1 << ARENA_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  220|    175|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2064|    175|    if (tail == 0) {
  ------------------
  |  Branch (2064:9): [True: 2, False: 173]
  ------------------
 2065|       |        /* is ideal arena address */
 2066|      2|        n_hi->arenas[i3].tail_hi = is_used ? -1 : 0;
  ------------------
  |  Branch (2066:36): [True: 2, False: 0]
  ------------------
 2067|      2|    }
 2068|    173|    else {
 2069|       |        /* arena_base address is not ideal (aligned to arena size) and
 2070|       |         * so it potentially covers two MAP_BOT nodes.  Get the MAP_BOT node
 2071|       |         * for the next arena.  Note that it might be in different MAP_TOP
 2072|       |         * and MAP_MID nodes as well so we need to call arena_map_get()
 2073|       |         * again (do the full tree traversal).
 2074|       |         */
 2075|    173|        n_hi->arenas[i3].tail_hi = is_used ? tail : 0;
  ------------------
  |  Branch (2075:36): [True: 130, False: 43]
  ------------------
 2076|    173|        uintptr_t arena_base_next = arena_base + ARENA_SIZE;
  ------------------
  |  |  225|    173|#define ARENA_SIZE              (1 << ARENA_BITS)
  |  |  ------------------
  |  |  |  |  220|    173|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  ------------------
  ------------------
 2077|       |        /* If arena_base is a legit arena address, so is arena_base_next - 1
 2078|       |         * (last address in arena).  If arena_base_next overflows then it
 2079|       |         * must overflow to 0.  However, that would mean arena_base was
 2080|       |         * "ideal" and we should not be in this case. */
 2081|    173|        assert(arena_base < arena_base_next);
  ------------------
  |  Branch (2081:9): [True: 173, False: 0]
  ------------------
 2082|    173|        arena_map_bot_t *n_lo = arena_map_get(
 2083|    173|                state, (pymem_block *)arena_base_next, is_used);
 2084|    173|        if (n_lo == NULL) {
  ------------------
  |  Branch (2084:13): [True: 0, False: 173]
  ------------------
 2085|      0|            assert(is_used); /* otherwise should already exist */
  ------------------
  |  Branch (2085:13): [True: 0, False: 0]
  ------------------
 2086|      0|            n_hi->arenas[i3].tail_hi = 0;
 2087|      0|            return 0; /* failed to allocate space for node */
 2088|      0|        }
 2089|    173|        int i3_next = MAP_BOT_INDEX(arena_base_next);
  ------------------
  |  |  625|    173|#define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  624|    173|#define AS_UINT(p) ((uintptr_t)(p))
  |  |  ------------------
  |  |               #define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  620|    173|#define MAP_BOT_SHIFT ARENA_BITS
  |  |  |  |  ------------------
  |  |  |  |  |  |  220|    173|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  618|    173|#define MAP_BOT_MASK (MAP_BOT_LENGTH - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  617|    173|#define MAP_BOT_LENGTH (1 << MAP_BOT_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  616|    173|#define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  599|    173|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  565|    173|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  576|    173|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|    173|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  603|    173|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  599|    173|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  565|    173|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  576|    173|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  220|    173|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2090|    173|        n_lo->arenas[i3_next].tail_lo = is_used ? tail : 0;
  ------------------
  |  Branch (2090:41): [True: 130, False: 43]
  ------------------
 2091|    173|    }
 2092|    175|    return 1;
 2093|    175|}
obmalloc.c:arena_map_get:
 1992|   106M|{
 1993|   106M|#ifdef USE_INTERIOR_NODES
 1994|       |    /* sanity check that IGNORE_BITS is correct */
 1995|   106M|    assert(HIGH_BITS(p) == HIGH_BITS(&arena_map_root));
  ------------------
  |  Branch (1995:5): [True: 106M, Folded]
  ------------------
 1996|   106M|    int i1 = MAP_TOP_INDEX(p);
  ------------------
  |  |  627|   106M|#define MAP_TOP_INDEX(p) ((AS_UINT(p) >> MAP_TOP_SHIFT) & MAP_TOP_MASK)
  |  |  ------------------
  |  |  |  |  624|   106M|#define AS_UINT(p) ((uintptr_t)(p))
  |  |  ------------------
  |  |               #define MAP_TOP_INDEX(p) ((AS_UINT(p) >> MAP_TOP_SHIFT) & MAP_TOP_MASK)
  |  |  ------------------
  |  |  |  |  622|   106M|#define MAP_TOP_SHIFT (MAP_MID_BITS + MAP_MID_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |  612|   106M|#define MAP_MID_BITS INTERIOR_BITS
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  603|   106M|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  599|   106M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  565|   106M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  576|   106M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|   106M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define MAP_TOP_SHIFT (MAP_MID_BITS + MAP_MID_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|   106M|#define MAP_MID_SHIFT (MAP_BOT_BITS + MAP_BOT_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  616|   106M|#define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  599|   106M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  565|   106M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  576|   106M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|   106M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  603|   106M|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  599|   106M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  565|   106M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  576|   106M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  220|   106M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define MAP_MID_SHIFT (MAP_BOT_BITS + MAP_BOT_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  620|   106M|#define MAP_BOT_SHIFT ARENA_BITS
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|   106M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MAP_TOP_INDEX(p) ((AS_UINT(p) >> MAP_TOP_SHIFT) & MAP_TOP_MASK)
  |  |  ------------------
  |  |  |  |  610|   106M|#define MAP_TOP_MASK (MAP_TOP_LENGTH - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  609|   106M|#define MAP_TOP_LENGTH (1 << MAP_TOP_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  608|   106M|#define MAP_TOP_BITS INTERIOR_BITS
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  603|   106M|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  599|   106M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  565|   106M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  576|   106M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  220|   106M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1997|   106M|    if (arena_map_root.ptrs[i1] == NULL) {
  ------------------
  |  | 1982|   106M|#define arena_map_root (state->usage.arena_map_root)
  ------------------
  |  Branch (1997:9): [True: 2, False: 106M]
  ------------------
 1998|      2|        if (!create) {
  ------------------
  |  Branch (1998:13): [True: 0, False: 2]
  ------------------
 1999|      0|            return NULL;
 2000|      0|        }
 2001|      2|        arena_map_mid_t *n = PyMem_RawCalloc(1, sizeof(arena_map_mid_t));
 2002|      2|        if (n == NULL) {
  ------------------
  |  Branch (2002:13): [True: 0, False: 2]
  ------------------
 2003|      0|            return NULL;
 2004|      0|        }
 2005|      2|        arena_map_root.ptrs[i1] = n;
  ------------------
  |  | 1982|      2|#define arena_map_root (state->usage.arena_map_root)
  ------------------
 2006|      2|        arena_map_mid_count++;
  ------------------
  |  | 1984|      2|#define arena_map_mid_count (state->usage.arena_map_mid_count)
  ------------------
 2007|      2|    }
 2008|   106M|    int i2 = MAP_MID_INDEX(p);
  ------------------
  |  |  626|   106M|#define MAP_MID_INDEX(p) ((AS_UINT(p) >> MAP_MID_SHIFT) & MAP_MID_MASK)
  |  |  ------------------
  |  |  |  |  624|   106M|#define AS_UINT(p) ((uintptr_t)(p))
  |  |  ------------------
  |  |               #define MAP_MID_INDEX(p) ((AS_UINT(p) >> MAP_MID_SHIFT) & MAP_MID_MASK)
  |  |  ------------------
  |  |  |  |  621|   106M|#define MAP_MID_SHIFT (MAP_BOT_BITS + MAP_BOT_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |  616|   106M|#define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  599|   106M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  565|   106M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  576|   106M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  220|   106M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  603|   106M|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  599|   106M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  565|   106M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  576|   106M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|   106M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define MAP_MID_SHIFT (MAP_BOT_BITS + MAP_BOT_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |  620|   106M|#define MAP_BOT_SHIFT ARENA_BITS
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  220|   106M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MAP_MID_INDEX(p) ((AS_UINT(p) >> MAP_MID_SHIFT) & MAP_MID_MASK)
  |  |  ------------------
  |  |  |  |  614|   106M|#define MAP_MID_MASK (MAP_MID_LENGTH - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  613|   106M|#define MAP_MID_LENGTH (1 << MAP_MID_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  612|   106M|#define MAP_MID_BITS INTERIOR_BITS
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  603|   106M|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  599|   106M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  565|   106M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  576|   106M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  220|   106M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2009|   106M|    if (arena_map_root.ptrs[i1]->ptrs[i2] == NULL) {
  ------------------
  |  | 1982|   106M|#define arena_map_root (state->usage.arena_map_root)
  ------------------
  |  Branch (2009:9): [True: 5.08M, False: 101M]
  ------------------
 2010|  5.08M|        if (!create) {
  ------------------
  |  Branch (2010:13): [True: 5.08M, False: 2]
  ------------------
 2011|  5.08M|            return NULL;
 2012|  5.08M|        }
 2013|      2|        arena_map_bot_t *n = PyMem_RawCalloc(1, sizeof(arena_map_bot_t));
 2014|      2|        if (n == NULL) {
  ------------------
  |  Branch (2014:13): [True: 0, False: 2]
  ------------------
 2015|      0|            return NULL;
 2016|      0|        }
 2017|      2|        arena_map_root.ptrs[i1]->ptrs[i2] = n;
  ------------------
  |  | 1982|      2|#define arena_map_root (state->usage.arena_map_root)
  ------------------
 2018|      2|        arena_map_bot_count++;
  ------------------
  |  | 1985|      2|#define arena_map_bot_count (state->usage.arena_map_bot_count)
  ------------------
 2019|      2|    }
 2020|   101M|    return arena_map_root.ptrs[i1]->ptrs[i2];
  ------------------
  |  | 1982|   101M|#define arena_map_root (state->usage.arena_map_root)
  ------------------
 2021|       |#else
 2022|       |    return &arena_map_root;
 2023|       |#endif
 2024|   106M|}
obmalloc.c:pymalloc_free:
 2766|  98.9M|{
 2767|  98.9M|    assert(p != NULL);
  ------------------
  |  Branch (2767:5): [True: 98.9M, False: 0]
  ------------------
 2768|       |
 2769|       |#ifdef WITH_VALGRIND
 2770|       |    if (UNLIKELY(running_on_valgrind > 0)) {
 2771|       |        return 0;
 2772|       |    }
 2773|       |#endif
 2774|       |
 2775|  98.9M|    poolp pool = POOL_ADDR(p);
  ------------------
  |  |  324|  98.9M|#define POOL_ADDR(P) ((poolp)_Py_ALIGN_DOWN((P), POOL_SIZE))
  |  |  ------------------
  |  |  |  |  216|  98.9M|#define _Py_ALIGN_DOWN(p, a) ((void *)((uintptr_t)(p) & ~(uintptr_t)((a) - 1)))
  |  |  ------------------
  ------------------
 2776|  98.9M|    if (UNLIKELY(!address_in_range(state, p, pool))) {
  ------------------
  |  | 1745|  98.9M|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1745:27): [True: 582k, False: 98.3M]
  |  |  ------------------
  ------------------
 2777|   582k|        return 0;
 2778|   582k|    }
 2779|       |    /* We allocated this address. */
 2780|       |
 2781|       |    /* Link p to the start of the pool's freeblock list.  Since
 2782|       |     * the pool had at least the p block outstanding, the pool
 2783|       |     * wasn't empty (so it's already in a usedpools[] list, or
 2784|       |     * was full and is in no list -- it's not in the freeblocks
 2785|       |     * list in any case).
 2786|       |     */
 2787|  98.9M|    assert(pool->ref.count > 0);            /* else it was empty */
  ------------------
  |  Branch (2787:5): [True: 98.3M, False: 0]
  ------------------
 2788|  98.3M|    pymem_block *lastfree = pool->freeblock;
 2789|  98.3M|    *(pymem_block **)p = lastfree;
 2790|  98.3M|    pool->freeblock = (pymem_block *)p;
 2791|  98.3M|    pool->ref.count--;
 2792|       |
 2793|  98.3M|    if (UNLIKELY(lastfree == NULL)) {
  ------------------
  |  | 1745|  98.3M|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1745:27): [True: 8.12M, False: 90.2M]
  |  |  ------------------
  ------------------
 2794|       |        /* Pool was full, so doesn't currently live in any list:
 2795|       |         * link it to the front of the appropriate usedpools[] list.
 2796|       |         * This mimics LRU pool usage for new allocations and
 2797|       |         * targets optimal filling when several pools contain
 2798|       |         * blocks of the same size class.
 2799|       |         */
 2800|  8.12M|        insert_to_usedpool(state, pool);
 2801|  8.12M|        return 1;
 2802|  8.12M|    }
 2803|       |
 2804|       |    /* freeblock wasn't NULL, so the pool wasn't full,
 2805|       |     * and the pool is in a usedpools[] list.
 2806|       |     */
 2807|  90.2M|    if (LIKELY(pool->ref.count != 0)) {
  ------------------
  |  | 1746|  90.2M|#  define LIKELY(value) __builtin_expect((value), 1)
  |  |  ------------------
  |  |  |  Branch (1746:25): [True: 89.8M, False: 388k]
  |  |  ------------------
  ------------------
 2808|       |        /* pool isn't empty:  leave it in usedpools */
 2809|  89.8M|        return 1;
 2810|  89.8M|    }
 2811|       |
 2812|       |    /* Pool is now empty:  unlink from usedpools, and
 2813|       |     * link to the front of freepools.  This ensures that
 2814|       |     * previously freed pools will be allocated later
 2815|       |     * (being not referenced, they are perhaps paged out).
 2816|       |     */
 2817|   388k|    insert_to_freepool(state, pool);
 2818|   388k|    return 1;
 2819|  90.2M|}
obmalloc.c:address_in_range:
 2233|   106M|{
 2234|   106M|    return arena_map_is_used(state, p);
 2235|   106M|}
obmalloc.c:arena_map_is_used:
 2099|   106M|{
 2100|   106M|    arena_map_bot_t *n = arena_map_get(state, p, 0);
 2101|   106M|    if (n == NULL) {
  ------------------
  |  Branch (2101:9): [True: 5.08M, False: 101M]
  ------------------
 2102|  5.08M|        return 0;
 2103|  5.08M|    }
 2104|   101M|    int i3 = MAP_BOT_INDEX(p);
  ------------------
  |  |  625|   101M|#define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  624|   101M|#define AS_UINT(p) ((uintptr_t)(p))
  |  |  ------------------
  |  |               #define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  620|   101M|#define MAP_BOT_SHIFT ARENA_BITS
  |  |  |  |  ------------------
  |  |  |  |  |  |  220|   101M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  618|   101M|#define MAP_BOT_MASK (MAP_BOT_LENGTH - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  617|   101M|#define MAP_BOT_LENGTH (1 << MAP_BOT_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  616|   101M|#define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  599|   101M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  565|   101M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  576|   101M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|   101M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  603|   101M|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  599|   101M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  565|   101M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  576|   101M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  220|   101M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2105|       |    /* ARENA_BITS must be < 32 so that the tail is a non-negative int32_t. */
 2106|   101M|    int32_t hi = n->arenas[i3].tail_hi;
 2107|   101M|    int32_t lo = n->arenas[i3].tail_lo;
 2108|   101M|    int32_t tail = (int32_t)(AS_UINT(p) & ARENA_SIZE_MASK);
  ------------------
  |  |  624|   101M|#define AS_UINT(p) ((uintptr_t)(p))
  ------------------
                  int32_t tail = (int32_t)(AS_UINT(p) & ARENA_SIZE_MASK);
  ------------------
  |  |  226|   101M|#define ARENA_SIZE_MASK         (ARENA_SIZE - 1)
  |  |  ------------------
  |  |  |  |  225|   101M|#define ARENA_SIZE              (1 << ARENA_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  220|   101M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2109|   101M|    return (tail < lo) || (tail >= hi && hi != 0);
  ------------------
  |  Branch (2109:12): [True: 52.1M, False: 48.9M]
  |  Branch (2109:28): [True: 48.9M, False: 4]
  |  Branch (2109:42): [True: 48.9M, False: 5]
  ------------------
 2110|   106M|}
obmalloc.c:insert_to_usedpool:
 2580|  8.12M|{
 2581|  8.12M|    assert(pool->ref.count > 0);            /* else the pool is empty */
  ------------------
  |  Branch (2581:5): [True: 8.12M, False: 0]
  ------------------
 2582|       |
 2583|  8.12M|    uint size = pool->szidx;
  ------------------
  |  |   35|  8.12M|#define uint pymem_uint
  ------------------
 2584|  8.12M|    poolp next = usedpools[size + size];
  ------------------
  |  | 1787|  8.12M|#define usedpools (state->pools.used)
  ------------------
 2585|  8.12M|    poolp prev = next->prevpool;
 2586|       |
 2587|       |    /* insert pool before next:   prev <-> pool <-> next */
 2588|  8.12M|    pool->nextpool = next;
 2589|  8.12M|    pool->prevpool = prev;
 2590|  8.12M|    next->prevpool = pool;
 2591|  8.12M|    prev->nextpool = pool;
 2592|  8.12M|}
obmalloc.c:insert_to_freepool:
 2596|   388k|{
 2597|   388k|    poolp next = pool->nextpool;
 2598|   388k|    poolp prev = pool->prevpool;
 2599|   388k|    next->prevpool = prev;
 2600|   388k|    prev->nextpool = next;
 2601|       |
 2602|       |    /* Link the pool to freepools.  This is a singly-linked
 2603|       |     * list, and pool->prevpool isn't used there.
 2604|       |     */
 2605|   388k|    struct arena_object *ao = &allarenas[pool->arenaindex];
  ------------------
  |  | 1788|   388k|#define allarenas (state->mgmt.arenas)
  ------------------
 2606|   388k|    pool->nextpool = ao->freepools;
 2607|   388k|    ao->freepools = pool;
 2608|   388k|    uint nf = ao->nfreepools;
  ------------------
  |  |   35|   388k|#define uint pymem_uint
  ------------------
 2609|       |    /* If this is the rightmost arena with this number of free pools,
 2610|       |     * nfp2lasta[nf] needs to change.  Caution:  if nf is 0, there
 2611|       |     * are no arenas in usable_arenas with that value.
 2612|       |     */
 2613|   388k|    struct arena_object* lastnf = nfp2lasta[nf];
  ------------------
  |  | 1792|   388k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
 2614|   388k|    assert((nf == 0 && lastnf == NULL) ||
  ------------------
  |  Branch (2614:5): [True: 18.8k, False: 369k]
  |  Branch (2614:5): [True: 18.8k, False: 0]
  |  Branch (2614:5): [True: 369k, False: 0]
  |  Branch (2614:5): [True: 369k, False: 0]
  |  Branch (2614:5): [True: 369k, False: 0]
  |  Branch (2614:5): [True: 135k, False: 233k]
  |  Branch (2614:5): [True: 233k, False: 0]
  ------------------
 2615|   388k|           (nf > 0 &&
 2616|   388k|            lastnf != NULL &&
 2617|   388k|            lastnf->nfreepools == nf &&
 2618|   388k|            (lastnf->nextarena == NULL ||
 2619|   388k|             nf < lastnf->nextarena->nfreepools)));
 2620|   388k|    if (lastnf == ao) {  /* it is the rightmost */
  ------------------
  |  Branch (2620:9): [True: 357k, False: 30.9k]
  ------------------
 2621|   357k|        struct arena_object* p = ao->prevarena;
 2622|   357k|        nfp2lasta[nf] = (p != NULL && p->nfreepools == nf) ? p : NULL;
  ------------------
  |  | 1792|   357k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
  |  Branch (2622:26): [True: 64.5k, False: 293k]
  |  Branch (2622:39): [True: 1.24k, False: 63.3k]
  ------------------
 2623|   357k|    }
 2624|   388k|    ao->nfreepools = ++nf;
 2625|       |
 2626|       |    /* All the rest is arena management.  We just freed
 2627|       |     * a pool, and there are 4 cases for arena mgmt:
 2628|       |     * 1. If all the pools are free, return the arena to
 2629|       |     *    the system free().  Except if this is the last
 2630|       |     *    arena in the list, keep it to avoid thrashing:
 2631|       |     *    keeping one wholly free arena in the list avoids
 2632|       |     *    pathological cases where a simple loop would
 2633|       |     *    otherwise provoke needing to allocate and free an
 2634|       |     *    arena on every iteration.  See bpo-37257.
 2635|       |     * 2. If this is the only free pool in the arena,
 2636|       |     *    add the arena back to the `usable_arenas` list.
 2637|       |     * 3. If the "next" arena has a smaller count of free
 2638|       |     *    pools, we have to "slide this arena right" to
 2639|       |     *    restore that usable_arenas is sorted in order of
 2640|       |     *    nfreepools.
 2641|       |     * 4. Else there's nothing more to do.
 2642|       |     */
 2643|   388k|    if (nf == ao->ntotalpools && ao->nextarena != NULL) {
  ------------------
  |  Branch (2643:9): [True: 316, False: 388k]
  |  Branch (2643:34): [True: 43, False: 273]
  ------------------
 2644|       |        /* Case 1.  First unlink ao from usable_arenas.
 2645|       |         */
 2646|     43|        assert(ao->prevarena == NULL ||
  ------------------
  |  Branch (2646:9): [True: 0, False: 43]
  |  Branch (2646:9): [True: 43, False: 0]
  ------------------
 2647|     43|               ao->prevarena->address != 0);
 2648|     43|        assert(ao ->nextarena == NULL ||
  ------------------
  |  Branch (2648:9): [True: 0, False: 43]
  |  Branch (2648:9): [True: 43, False: 0]
  ------------------
 2649|     43|               ao->nextarena->address != 0);
 2650|       |
 2651|       |        /* Fix the pointer in the prevarena, or the
 2652|       |         * usable_arenas pointer.
 2653|       |         */
 2654|     43|        if (ao->prevarena == NULL) {
  ------------------
  |  Branch (2654:13): [True: 0, False: 43]
  ------------------
 2655|      0|            usable_arenas = ao->nextarena;
  ------------------
  |  | 1791|      0|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2656|      0|            assert(usable_arenas == NULL ||
  ------------------
  |  Branch (2656:13): [True: 0, False: 0]
  |  Branch (2656:13): [True: 0, False: 0]
  ------------------
 2657|      0|                   usable_arenas->address != 0);
 2658|      0|        }
 2659|     43|        else {
 2660|     43|            assert(ao->prevarena->nextarena == ao);
  ------------------
  |  Branch (2660:13): [True: 43, False: 0]
  ------------------
 2661|     43|            ao->prevarena->nextarena =
 2662|     43|                ao->nextarena;
 2663|     43|        }
 2664|       |        /* Fix the pointer in the nextarena. */
 2665|     43|        if (ao->nextarena != NULL) {
  ------------------
  |  Branch (2665:13): [True: 43, False: 0]
  ------------------
 2666|     43|            assert(ao->nextarena->prevarena == ao);
  ------------------
  |  Branch (2666:13): [True: 43, False: 0]
  ------------------
 2667|     43|            ao->nextarena->prevarena =
 2668|     43|                ao->prevarena;
 2669|     43|        }
 2670|       |        /* Record that this arena_object slot is
 2671|       |         * available to be reused.
 2672|       |         */
 2673|     43|        ao->nextarena = unused_arena_objects;
  ------------------
  |  | 1790|     43|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
 2674|     43|        unused_arena_objects = ao;
  ------------------
  |  | 1790|     43|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
 2675|       |
 2676|     43|#if WITH_PYMALLOC_RADIX_TREE
 2677|       |        /* mark arena region as not under control of obmalloc */
 2678|     43|        arena_map_mark_used(state, ao->address, 0);
 2679|     43|#endif
 2680|       |
 2681|       |        /* Free the entire arena. */
 2682|     43|        _PyObject_Arena.free(_PyObject_Arena.ctx,
  ------------------
  |  |  721|     43|#define _PyObject_Arena (_PyRuntime.allocators.obj_arena)
  ------------------
                      _PyObject_Arena.free(_PyObject_Arena.ctx,
  ------------------
  |  |  721|     43|#define _PyObject_Arena (_PyRuntime.allocators.obj_arena)
  ------------------
 2683|     43|                             (void *)ao->address, ARENA_SIZE);
  ------------------
  |  |  225|     43|#define ARENA_SIZE              (1 << ARENA_BITS)
  |  |  ------------------
  |  |  |  |  220|     43|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  ------------------
  ------------------
 2684|     43|        ao->address = 0;                        /* mark unassociated */
 2685|     43|        --narenas_currently_allocated;
  ------------------
  |  | 1793|     43|#define narenas_currently_allocated (state->mgmt.narenas_currently_allocated)
  ------------------
 2686|       |
 2687|     43|        return;
 2688|     43|    }
 2689|       |
 2690|   388k|    if (nf == 1) {
  ------------------
  |  Branch (2690:9): [True: 18.8k, False: 369k]
  ------------------
 2691|       |        /* Case 2.  Put ao at the head of
 2692|       |         * usable_arenas.  Note that because
 2693|       |         * ao->nfreepools was 0 before, ao isn't
 2694|       |         * currently on the usable_arenas list.
 2695|       |         */
 2696|  18.8k|        ao->nextarena = usable_arenas;
  ------------------
  |  | 1791|  18.8k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2697|  18.8k|        ao->prevarena = NULL;
 2698|  18.8k|        if (usable_arenas)
  ------------------
  |  | 1791|  18.8k|#define usable_arenas (state->mgmt.usable_arenas)
  |  |  ------------------
  |  |  |  Branch (1791:23): [True: 18.8k, False: 16]
  |  |  ------------------
  ------------------
 2699|  18.8k|            usable_arenas->prevarena = ao;
  ------------------
  |  | 1791|  18.8k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2700|  18.8k|        usable_arenas = ao;
  ------------------
  |  | 1791|  18.8k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2701|  18.8k|        assert(usable_arenas->address != 0);
  ------------------
  |  Branch (2701:9): [True: 18.8k, False: 0]
  ------------------
 2702|  18.8k|        if (nfp2lasta[1] == NULL) {
  ------------------
  |  | 1792|  18.8k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
  |  Branch (2702:13): [True: 17.6k, False: 1.21k]
  ------------------
 2703|  17.6k|            nfp2lasta[1] = ao;
  ------------------
  |  | 1792|  17.6k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
 2704|  17.6k|        }
 2705|       |
 2706|  18.8k|        return;
 2707|  18.8k|    }
 2708|       |
 2709|       |    /* If this arena is now out of order, we need to keep
 2710|       |     * the list sorted.  The list is kept sorted so that
 2711|       |     * the "most full" arenas are used first, which allows
 2712|       |     * the nearly empty arenas to be completely freed.  In
 2713|       |     * a few un-scientific tests, it seems like this
 2714|       |     * approach allowed a lot more memory to be freed.
 2715|       |     */
 2716|       |    /* If this is the only arena with nf, record that. */
 2717|   369k|    if (nfp2lasta[nf] == NULL) {
  ------------------
  |  | 1792|   369k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
  |  Branch (2717:9): [True: 356k, False: 13.5k]
  ------------------
 2718|   356k|        nfp2lasta[nf] = ao;
  ------------------
  |  | 1792|   356k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
 2719|   356k|    } /* else the rightmost with nf doesn't change */
 2720|       |    /* If this was the rightmost of the old size, it remains in place. */
 2721|   369k|    if (ao == lastnf) {
  ------------------
  |  Branch (2721:9): [True: 357k, False: 12.1k]
  ------------------
 2722|       |        /* Case 4.  Nothing to do. */
 2723|   357k|        return;
 2724|   357k|    }
 2725|       |    /* If ao were the only arena in the list, the last block would have
 2726|       |     * gotten us out.
 2727|       |     */
 2728|   369k|    assert(ao->nextarena != NULL);
  ------------------
  |  Branch (2728:5): [True: 12.1k, False: 0]
  ------------------
 2729|       |
 2730|       |    /* Case 3:  We have to move the arena towards the end of the list,
 2731|       |     * because it has more free pools than the arena to its right.  It needs
 2732|       |     * to move to follow lastnf.
 2733|       |     * First unlink ao from usable_arenas.
 2734|       |     */
 2735|  12.1k|    if (ao->prevarena != NULL) {
  ------------------
  |  Branch (2735:9): [True: 10.2k, False: 1.89k]
  ------------------
 2736|       |        /* ao isn't at the head of the list */
 2737|  10.2k|        assert(ao->prevarena->nextarena == ao);
  ------------------
  |  Branch (2737:9): [True: 10.2k, False: 0]
  ------------------
 2738|  10.2k|        ao->prevarena->nextarena = ao->nextarena;
 2739|  10.2k|    }
 2740|  1.89k|    else {
 2741|       |        /* ao is at the head of the list */
 2742|  1.89k|        assert(usable_arenas == ao);
  ------------------
  |  Branch (2742:9): [True: 1.89k, False: 0]
  ------------------
 2743|  1.89k|        usable_arenas = ao->nextarena;
  ------------------
  |  | 1791|  1.89k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2744|  1.89k|    }
 2745|  12.1k|    ao->nextarena->prevarena = ao->prevarena;
 2746|       |    /* And insert after lastnf. */
 2747|  12.1k|    ao->prevarena = lastnf;
 2748|  12.1k|    ao->nextarena = lastnf->nextarena;
 2749|  12.1k|    if (ao->nextarena != NULL) {
  ------------------
  |  Branch (2749:9): [True: 11.8k, False: 308]
  ------------------
 2750|  11.8k|        ao->nextarena->prevarena = ao;
 2751|  11.8k|    }
 2752|  12.1k|    lastnf->nextarena = ao;
 2753|       |    /* Verify that the swaps worked. */
 2754|  12.1k|    assert(ao->nextarena == NULL || nf <= ao->nextarena->nfreepools);
  ------------------
  |  Branch (2754:5): [True: 308, False: 11.8k]
  |  Branch (2754:5): [True: 11.8k, False: 0]
  ------------------
 2755|  12.1k|    assert(ao->prevarena == NULL || nf > ao->prevarena->nfreepools);
  ------------------
  |  Branch (2755:5): [True: 0, False: 12.1k]
  |  Branch (2755:5): [True: 12.1k, False: 0]
  ------------------
 2756|  12.1k|    assert(ao->nextarena == NULL || ao->nextarena->prevarena == ao);
  ------------------
  |  Branch (2756:5): [True: 308, False: 11.8k]
  |  Branch (2756:5): [True: 11.8k, False: 0]
  ------------------
 2757|  12.1k|    assert((usable_arenas == ao && ao->prevarena == NULL)
  ------------------
  |  Branch (2757:5): [True: 0, False: 12.1k]
  |  Branch (2757:5): [True: 0, False: 0]
  |  Branch (2757:5): [True: 12.1k, False: 0]
  ------------------
 2758|  12.1k|           || ao->prevarena->nextarena == ao);
 2759|  12.1k|}
obmalloc.c:pymalloc_realloc:
 2851|  7.25M|{
 2852|  7.25M|    void *bp;
 2853|  7.25M|    poolp pool;
 2854|  7.25M|    size_t size;
 2855|       |
 2856|  7.25M|    assert(p != NULL);
  ------------------
  |  Branch (2856:5): [True: 7.25M, False: 0]
  ------------------
 2857|       |
 2858|       |#ifdef WITH_VALGRIND
 2859|       |    /* Treat running_on_valgrind == -1 the same as 0 */
 2860|       |    if (UNLIKELY(running_on_valgrind > 0)) {
 2861|       |        return 0;
 2862|       |    }
 2863|       |#endif
 2864|       |
 2865|  7.25M|    pool = POOL_ADDR(p);
  ------------------
  |  |  324|  7.25M|#define POOL_ADDR(P) ((poolp)_Py_ALIGN_DOWN((P), POOL_SIZE))
  |  |  ------------------
  |  |  |  |  216|  7.25M|#define _Py_ALIGN_DOWN(p, a) ((void *)((uintptr_t)(p) & ~(uintptr_t)((a) - 1)))
  |  |  ------------------
  ------------------
 2866|  7.25M|    if (!address_in_range(state, p, pool)) {
  ------------------
  |  Branch (2866:9): [True: 4.49M, False: 2.76M]
  ------------------
 2867|       |        /* pymalloc is not managing this block.
 2868|       |
 2869|       |           If nbytes <= SMALL_REQUEST_THRESHOLD, it's tempting to try to take
 2870|       |           over this block.  However, if we do, we need to copy the valid data
 2871|       |           from the C-managed block to one of our blocks, and there's no
 2872|       |           portable way to know how much of the memory space starting at p is
 2873|       |           valid.
 2874|       |
 2875|       |           As bug 1185883 pointed out the hard way, it's possible that the
 2876|       |           C-managed block is "at the end" of allocated VM space, so that a
 2877|       |           memory fault can occur if we try to copy nbytes bytes starting at p.
 2878|       |           Instead we punt: let C continue to manage this block. */
 2879|  4.49M|        return 0;
 2880|  4.49M|    }
 2881|       |
 2882|       |    /* pymalloc is in charge of this block */
 2883|  2.76M|    size = INDEX2SIZE(pool->szidx);
  ------------------
  |  |  146|  2.76M|#define INDEX2SIZE(I) (((pymem_uint)(I) + 1) << ALIGNMENT_SHIFT)
  |  |  ------------------
  |  |  |  |  139|  2.76M|#define ALIGNMENT_SHIFT         4
  |  |  ------------------
  ------------------
 2884|  2.76M|    if (nbytes <= size) {
  ------------------
  |  Branch (2884:9): [True: 2.05M, False: 707k]
  ------------------
 2885|       |        /* The block is staying the same or shrinking.
 2886|       |
 2887|       |           If it's shrinking, there's a tradeoff: it costs cycles to copy the
 2888|       |           block to a smaller size class, but it wastes memory not to copy it.
 2889|       |
 2890|       |           The compromise here is to copy on shrink only if at least 25% of
 2891|       |           size can be shaved off. */
 2892|  2.05M|        if (4 * nbytes > 3 * size) {
  ------------------
  |  Branch (2892:13): [True: 705k, False: 1.34M]
  ------------------
 2893|       |            /* It's the same, or shrinking and new/old > 3/4. */
 2894|   705k|            *newptr_p = p;
 2895|   705k|            return 1;
 2896|   705k|        }
 2897|  1.34M|        size = nbytes;
 2898|  1.34M|    }
 2899|       |
 2900|  2.05M|    bp = _PyObject_Malloc(ctx, nbytes);
 2901|  2.05M|    if (bp != NULL) {
  ------------------
  |  Branch (2901:9): [True: 2.05M, False: 0]
  ------------------
 2902|  2.05M|        memcpy(bp, p, size);
 2903|  2.05M|        _PyObject_Free(ctx, p);
 2904|  2.05M|    }
 2905|  2.05M|    *newptr_p = bp;
 2906|  2.05M|    return 1;
 2907|  2.76M|}
obmalloc.c:init_obmalloc_pools:
 3554|      2|{
 3555|       |    // initialize the obmalloc->pools structure.  This must be done
 3556|       |    // before the obmalloc alloc/free functions can be called.
 3557|      2|    poolp temp[OBMALLOC_USED_POOLS_SIZE] =
 3558|      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 *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3559|      2|    memcpy(&interp->obmalloc->pools.used, temp, sizeof(temp));
 3560|      2|}

rangeobject.c:range_dealloc:
  186|  5.91M|{
  187|  5.91M|    rangeobject *r = (rangeobject*)op;
  188|  5.91M|    Py_DECREF(r->start);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  189|  5.91M|    Py_DECREF(r->stop);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  190|  5.91M|    Py_DECREF(r->step);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  191|  5.91M|    Py_DECREF(r->length);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  192|  5.91M|    _Py_FREELIST_FREE(ranges, r, PyObject_Free);
  ------------------
  |  |   35|  5.91M|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  5.91M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.91M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  5.91M|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   22|  5.91M|#  define Py_ranges_MAXFREELIST 6
  |  |  ------------------
  ------------------
  193|  5.91M|}
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|  5.78M|{
  335|  5.78M|    PyObject *incr, *result;
  336|       |    /* PyLong equivalent to:
  337|       |     *    return r->start + (i * r->step)
  338|       |     */
  339|  5.78M|    if (r->step == _PyLong_GetOne()) {
  ------------------
  |  Branch (339:9): [True: 5.78M, False: 0]
  ------------------
  340|  5.78M|        result = PyNumber_Add(r->start, i);
  341|  5.78M|    }
  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|  5.78M|    return result;
  351|  5.78M|}
rangeobject.c:range_subscript:
  730|  2.89M|{
  731|  2.89M|    rangeobject *self = (rangeobject*)op;
  732|  2.89M|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (732:9): [True: 0, False: 2.89M]
  ------------------
  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|  2.89M|    if (PySlice_Check(item)) {
  ------------------
  |  |   22|  2.89M|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|  2.89M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.89M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.89M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2.89M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  742|  2.89M|        return compute_slice(self, item);
  743|  2.89M|    }
  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|  2.89M|}
rangeobject.c:compute_slice:
  420|  2.89M|{
  421|  2.89M|    PySliceObject *slice = (PySliceObject *) _slice;
  422|  2.89M|    rangeobject *result;
  423|  2.89M|    PyObject *start = NULL, *stop = NULL, *step = NULL;
  424|  2.89M|    PyObject *substart = NULL, *substop = NULL, *substep = NULL;
  425|  2.89M|    int error;
  426|       |
  427|  2.89M|    error = _PySlice_GetLongIndices(slice, r->length, &start, &stop, &step);
  428|  2.89M|    if (error == -1)
  ------------------
  |  Branch (428:9): [True: 0, False: 2.89M]
  ------------------
  429|      0|        return NULL;
  430|       |
  431|  2.89M|    substep = PyNumber_Multiply(r->step, step);
  432|  2.89M|    if (substep == NULL) goto fail;
  ------------------
  |  Branch (432:9): [True: 0, False: 2.89M]
  ------------------
  433|  2.89M|    Py_CLEAR(step);
  ------------------
  |  |  484|  2.89M|    do { \
  |  |  485|  2.89M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.89M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.89M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.89M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.89M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2.89M, False: 0]
  |  |  ------------------
  |  |  488|  2.89M|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  2.89M|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  2.89M|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  2.89M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.89M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.89M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  2.89M|        } \
  |  |  491|  2.89M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.89M]
  |  |  ------------------
  ------------------
  434|       |
  435|  2.89M|    substart = compute_item(r, start);
  436|  2.89M|    if (substart == NULL) goto fail;
  ------------------
  |  Branch (436:9): [True: 0, False: 2.89M]
  ------------------
  437|  2.89M|    Py_CLEAR(start);
  ------------------
  |  |  484|  2.89M|    do { \
  |  |  485|  2.89M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.89M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.89M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.89M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.89M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2.89M, False: 0]
  |  |  ------------------
  |  |  488|  2.89M|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  2.89M|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  2.89M|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  2.89M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.89M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.89M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  2.89M|        } \
  |  |  491|  2.89M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.89M]
  |  |  ------------------
  ------------------
  438|       |
  439|  2.89M|    substop = compute_item(r, stop);
  440|  2.89M|    if (substop == NULL) goto fail;
  ------------------
  |  Branch (440:9): [True: 0, False: 2.89M]
  ------------------
  441|  2.89M|    Py_CLEAR(stop);
  ------------------
  |  |  484|  2.89M|    do { \
  |  |  485|  2.89M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.89M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.89M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.89M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.89M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2.89M, False: 0]
  |  |  ------------------
  |  |  488|  2.89M|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  2.89M|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  2.89M|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  2.89M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.89M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.89M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  2.89M|        } \
  |  |  491|  2.89M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.89M]
  |  |  ------------------
  ------------------
  442|       |
  443|  2.89M|    result = make_range_object(Py_TYPE(r), substart, substop, substep);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  444|  2.89M|    if (result != NULL) {
  ------------------
  |  Branch (444:9): [True: 2.89M, False: 0]
  ------------------
  445|  2.89M|        return (PyObject *) result;
  446|  2.89M|    }
  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|  2.89M|}
rangeobject.c:make_range_object:
   69|  5.91M|{
   70|  5.91M|    PyObject *length;
   71|  5.91M|    length = compute_range_length(start, stop, step);
   72|  5.91M|    if (length == NULL) {
  ------------------
  |  Branch (72:9): [True: 0, False: 5.91M]
  ------------------
   73|      0|        return NULL;
   74|      0|    }
   75|  5.91M|    rangeobject *obj = _Py_FREELIST_POP(rangeobject, ranges);
  ------------------
  |  |   43|  5.91M|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  5.91M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   76|  5.91M|    if (obj == NULL) {
  ------------------
  |  Branch (76:9): [True: 267, False: 5.91M]
  ------------------
   77|    267|        obj = PyObject_New(rangeobject, type);
  ------------------
  |  |  130|    267|#define PyObject_New(type, typeobj) ((type *)_PyObject_New(typeobj))
  ------------------
   78|    267|        if (obj == NULL) {
  ------------------
  |  Branch (78:13): [True: 0, False: 267]
  ------------------
   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|    267|    }
   83|  5.91M|    obj->start = start;
   84|  5.91M|    obj->stop = stop;
   85|  5.91M|    obj->step = step;
   86|  5.91M|    obj->length = length;
   87|  5.91M|    return obj;
   88|  5.91M|}
rangeobject.c:compute_range_length:
  244|  5.91M|{
  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|  5.91M|    int cmp_result;
  250|  5.91M|    PyObject *lo, *hi;
  251|  5.91M|    PyObject *diff = NULL;
  252|  5.91M|    PyObject *tmp1 = NULL, *tmp2 = NULL, *result;
  253|       |                /* holds sub-expression evaluations */
  254|       |
  255|  5.91M|    PyObject *zero = _PyLong_GetZero();  // borrowed reference
  256|  5.91M|    PyObject *one = _PyLong_GetOne();  // borrowed reference
  257|       |
  258|  5.91M|    assert(PyLong_Check(start));
  ------------------
  |  Branch (258:5): [True: 5.91M, False: 0]
  ------------------
  259|  5.91M|    assert(PyLong_Check(stop));
  ------------------
  |  Branch (259:5): [True: 5.91M, False: 0]
  ------------------
  260|  5.91M|    assert(PyLong_Check(step));
  ------------------
  |  Branch (260:5): [True: 5.91M, False: 0]
  ------------------
  261|       |
  262|       |    /* fast path when all arguments fit into a long integer */
  263|  5.91M|    long len = compute_range_length_long(start, stop, step);
  264|  5.91M|    if (len >= 0) {
  ------------------
  |  Branch (264:9): [True: 5.91M, False: 2]
  ------------------
  265|  5.91M|        return PyLong_FromLong(len);
  266|  5.91M|    }
  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|  5.91M|    assert(len == -2);
  ------------------
  |  Branch (271:5): [True: 2, False: 0]
  ------------------
  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|  5.91M|                PyObject *stop, PyObject *step) {
  204|  5.91M|    int overflow = 0;
  205|       |
  206|  5.91M|    long long_start = PyLong_AsLongAndOverflow(start, &overflow);
  207|  5.91M|    if (overflow) {
  ------------------
  |  Branch (207:9): [True: 0, False: 5.91M]
  ------------------
  208|      0|        return -2;
  209|      0|    }
  210|  5.91M|    if (long_start == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (210:9): [True: 2.25M, False: 3.66M]
  |  Branch (210:29): [True: 0, False: 2.25M]
  ------------------
  211|      0|        return -1;
  212|      0|    }
  213|  5.91M|    long long_stop = PyLong_AsLongAndOverflow(stop, &overflow);
  214|  5.91M|    if (overflow) {
  ------------------
  |  Branch (214:9): [True: 2, False: 5.91M]
  ------------------
  215|      2|        return -2;
  216|      2|    }
  217|  5.91M|    if (long_stop == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (217:9): [True: 2.89M, False: 3.02M]
  |  Branch (217:28): [True: 0, False: 2.89M]
  ------------------
  218|      0|        return -1;
  219|      0|    }
  220|  5.91M|    long long_step = PyLong_AsLongAndOverflow(step, &overflow);
  221|  5.91M|    if (overflow) {
  ------------------
  |  Branch (221:9): [True: 0, False: 5.91M]
  ------------------
  222|      0|        return -2;
  223|      0|    }
  224|  5.91M|    if (long_step == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (224:9): [True: 2.89M, False: 3.02M]
  |  Branch (224:28): [True: 0, False: 2.89M]
  ------------------
  225|      0|        return -1;
  226|      0|    }
  227|       |
  228|  5.91M|    unsigned long ulen = get_len_of_range(long_start, long_stop, long_step);
  229|  5.91M|    if (ulen > (unsigned long)LONG_MAX) {
  ------------------
  |  Branch (229:9): [True: 0, False: 5.91M]
  ------------------
  230|       |        /* length too large for a long */
  231|      0|        return -2;
  232|      0|    }
  233|  5.91M|    else {
  234|  5.91M|        return (long)ulen;
  235|  5.91M|    }
  236|  5.91M|}
rangeobject.c:get_len_of_range:
  993|  8.99M|{
  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|  8.99M|    assert(step != 0);
  ------------------
  |  Branch (1007:5): [True: 8.99M, False: 0]
  ------------------
 1008|  8.99M|    if (step > 0 && lo < hi)
  ------------------
  |  Branch (1008:9): [True: 3.07M, False: 5.91M]
  |  Branch (1008:21): [True: 822k, False: 2.25M]
  ------------------
 1009|   822k|        return 1UL + (hi - 1UL - lo) / step;
 1010|  8.16M|    else if (step < 0 && lo > hi)
  ------------------
  |  Branch (1010:14): [True: 5.91M, False: 2.25M]
  |  Branch (1010:26): [True: 1.41M, False: 4.50M]
  ------------------
 1011|  1.41M|        return 1UL + (lo - 1UL - hi) / (0UL - step);
 1012|  6.75M|    else
 1013|  6.75M|        return 0UL;
 1014|  8.99M|}
rangeobject.c:fast_range_iter:
 1021|  3.07M|{
 1022|  3.07M|    _PyRangeIterObject *it = _Py_FREELIST_POP(_PyRangeIterObject, range_iters);
  ------------------
  |  |   43|  3.07M|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  3.07M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1023|  3.07M|    if (it == NULL) {
  ------------------
  |  Branch (1023:9): [True: 134, False: 3.07M]
  ------------------
 1024|    134|        it = PyObject_New(_PyRangeIterObject, &PyRangeIter_Type);
  ------------------
  |  |  130|    134|#define PyObject_New(type, typeobj) ((type *)_PyObject_New(typeobj))
  ------------------
 1025|    134|        if (it == NULL) {
  ------------------
  |  Branch (1025:13): [True: 0, False: 134]
  ------------------
 1026|      0|            return NULL;
 1027|      0|        }
 1028|    134|    }
 1029|  3.07M|    assert(Py_IS_TYPE(it, &PyRangeIter_Type));
  ------------------
  |  Branch (1029:5): [True: 3.07M, False: 0]
  ------------------
 1030|  3.07M|    it->start = start;
 1031|  3.07M|    it->step = step;
 1032|  3.07M|    it->len = len;
 1033|  3.07M|    return (PyObject *)it;
 1034|  3.07M|}
rangeobject.c:range_from_array:
   97|  3.02M|{
   98|  3.02M|    rangeobject *obj;
   99|  3.02M|    PyObject *start = NULL, *stop = NULL, *step = NULL;
  100|       |
  101|  3.02M|    switch (num_args) {
  102|  63.0k|        case 3:
  ------------------
  |  Branch (102:9): [True: 63.0k, False: 2.96M]
  ------------------
  103|  63.0k|            step = args[2];
  104|  63.0k|            _Py_FALLTHROUGH;
  ------------------
  |  |  644|  63.0k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  105|   125k|        case 2:
  ------------------
  |  Branch (105:9): [True: 62.4k, False: 2.96M]
  ------------------
  106|       |            /* Convert borrowed refs to owned refs */
  107|   125k|            start = PyNumber_Index(args[0]);
  108|   125k|            if (!start) {
  ------------------
  |  Branch (108:17): [True: 0, False: 125k]
  ------------------
  109|      0|                return NULL;
  110|      0|            }
  111|   125k|            stop = PyNumber_Index(args[1]);
  112|   125k|            if (!stop) {
  ------------------
  |  Branch (112:17): [True: 0, False: 125k]
  ------------------
  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|   125k|            step = validate_step(step);  /* Caution, this can clear exceptions */
  117|   125k|            if (!step) {
  ------------------
  |  Branch (117:17): [True: 0, False: 125k]
  ------------------
  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|   125k|            break;
  123|  2.89M|        case 1:
  ------------------
  |  Branch (123:9): [True: 2.89M, False: 125k]
  ------------------
  124|  2.89M|            stop = PyNumber_Index(args[0]);
  125|  2.89M|            if (!stop) {
  ------------------
  |  Branch (125:17): [True: 0, False: 2.89M]
  ------------------
  126|      0|                return NULL;
  127|      0|            }
  128|  2.89M|            start = _PyLong_GetZero();
  129|  2.89M|            step = _PyLong_GetOne();
  130|  2.89M|            break;
  131|      0|        case 0:
  ------------------
  |  Branch (131:9): [True: 0, False: 3.02M]
  ------------------
  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: 3.02M]
  ------------------
  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|  3.02M|    }
  141|  3.02M|    obj = make_range_object(type, start, stop, step);
  142|  3.02M|    if (obj != NULL) {
  ------------------
  |  Branch (142:9): [True: 3.02M, False: 0]
  ------------------
  143|  3.02M|        return (PyObject *) obj;
  144|  3.02M|    }
  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|  3.02M|}
rangeobject.c:validate_step:
   48|   125k|{
   49|       |    /* No step specified, use a step of 1. */
   50|   125k|    if (!step)
  ------------------
  |  Branch (50:9): [True: 62.4k, False: 63.0k]
  ------------------
   51|  62.4k|        return PyLong_FromLong(1);
   52|       |
   53|  63.0k|    step = PyNumber_Index(step);
   54|  63.0k|    if (step && _PyLong_IsZero((PyLongObject *)step)) {
  ------------------
  |  Branch (54:9): [True: 63.0k, False: 0]
  |  Branch (54:17): [True: 0, False: 63.0k]
  ------------------
   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|  63.0k|    return step;
   61|   125k|}
rangeobject.c:range_vectorcall:
  166|  3.02M|{
  167|  3.02M|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  3.02M|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  168|  3.02M|    if (!_PyArg_NoKwnames("range", kwnames)) {
  ------------------
  |  |   15|  3.02M|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 3.02M, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  169|      0|        return NULL;
  170|      0|    }
  171|  3.02M|    return range_from_array((PyTypeObject *)rangetype, args, nargs);
  172|  3.02M|}
rangeobject.c:rangeiter_dealloc:
  944|  3.07M|{
  945|  3.07M|    _Py_FREELIST_FREE(range_iters, (_PyRangeIterObject *)self, PyObject_Free);
  ------------------
  |  |   35|  3.07M|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  3.07M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.07M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  3.07M|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   23|  3.07M|#  define Py_range_iters_MAXFREELIST 6
  |  |  ------------------
  ------------------
  946|  3.07M|}
rangeobject.c:rangeiter_next:
  847|  10.2M|{
  848|  10.2M|    PyObject *ret = NULL;
  849|  10.2M|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  10.2M|    {
  ------------------
  850|  10.2M|    _PyRangeIterObject *r = (_PyRangeIterObject*)op;
  851|  10.2M|    if (r->len > 0) {
  ------------------
  |  Branch (851:9): [True: 10.2M, False: 56.9k]
  ------------------
  852|  10.2M|        long result = r->start;
  853|  10.2M|        r->start = result + r->step;
  854|  10.2M|        r->len--;
  855|  10.2M|        ret = PyLong_FromLong(result);
  856|  10.2M|    }
  857|  10.2M|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  10.2M|    }
  ------------------
  858|  10.2M|    return ret;
  859|  10.2M|}
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|  3.07M|{
 1229|  3.07M|    rangeobject *r = (rangeobject *)seq;
 1230|  3.07M|    longrangeiterobject *it;
 1231|  3.07M|    long lstart, lstop, lstep;
 1232|  3.07M|    unsigned long ulen;
 1233|       |
 1234|  3.07M|    assert(PyRange_Check(seq));
  ------------------
  |  Branch (1234:5): [True: 3.07M, False: 0]
  ------------------
 1235|       |
 1236|       |    /* If all three fields and the length convert to long, use the int
 1237|       |     * version */
 1238|  3.07M|    lstart = PyLong_AsLong(r->start);
 1239|  3.07M|    if (lstart == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1239:9): [True: 2.25M, False: 819k]
  |  Branch (1239:25): [True: 0, False: 2.25M]
  ------------------
 1240|      0|        PyErr_Clear();
 1241|      0|        goto long_range;
 1242|      0|    }
 1243|  3.07M|    lstop = PyLong_AsLong(r->stop);
 1244|  3.07M|    if (lstop == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1244:9): [True: 2.89M, False: 176k]
  |  Branch (1244:24): [True: 2, False: 2.89M]
  ------------------
 1245|      2|        PyErr_Clear();
 1246|      2|        goto long_range;
 1247|      2|    }
 1248|  3.07M|    lstep = PyLong_AsLong(r->step);
 1249|  3.07M|    if (lstep == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1249:9): [True: 2.89M, False: 176k]
  |  Branch (1249:24): [True: 0, False: 2.89M]
  ------------------
 1250|      0|        PyErr_Clear();
 1251|      0|        goto long_range;
 1252|      0|    }
 1253|  3.07M|    ulen = get_len_of_range(lstart, lstop, lstep);
 1254|  3.07M|    if (ulen > (unsigned long)LONG_MAX) {
  ------------------
  |  Branch (1254:9): [True: 0, False: 3.07M]
  ------------------
 1255|      0|        goto long_range;
 1256|      0|    }
 1257|       |    /* check for potential overflow of lstart + ulen * lstep */
 1258|  3.07M|    if (ulen) {
  ------------------
  |  Branch (1258:9): [True: 819k, False: 2.25M]
  ------------------
 1259|   819k|        if (lstep > 0) {
  ------------------
  |  Branch (1259:13): [True: 113k, False: 705k]
  ------------------
 1260|   113k|            if (lstop > LONG_MAX - (lstep - 1))
  ------------------
  |  Branch (1260:17): [True: 0, False: 113k]
  ------------------
 1261|      0|                goto long_range;
 1262|   113k|        }
 1263|   705k|        else {
 1264|   705k|            if (lstop < LONG_MIN + (-1 - lstep))
  ------------------
  |  Branch (1264:17): [True: 0, False: 705k]
  ------------------
 1265|      0|                goto long_range;
 1266|   705k|        }
 1267|   819k|    }
 1268|  3.07M|    return fast_range_iter(lstart, lstop, lstep, (long)ulen);
 1269|       |
 1270|      2|  long_range:
 1271|      2|    it = PyObject_New(longrangeiterobject, &PyLongRangeIter_Type);
  ------------------
  |  |  130|      2|#define PyObject_New(type, typeobj) ((type *)_PyObject_New(typeobj))
  ------------------
 1272|      2|    if (it == NULL)
  ------------------
  |  Branch (1272:9): [True: 0, False: 2]
  ------------------
 1273|      0|        return NULL;
 1274|       |
 1275|      2|    it->start = Py_NewRef(r->start);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1276|      2|    it->step = Py_NewRef(r->step);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1277|      2|    it->len = Py_NewRef(r->length);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1278|      2|    return (PyObject *)it;
 1279|      2|}

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

_PySet_AddTakeRef:
  363|    985|{
  364|    985|    Py_hash_t hash = PyObject_Hash(key);
  365|    985|    if (hash == -1) {
  ------------------
  |  Branch (365:9): [True: 0, False: 985]
  ------------------
  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|    985|    return set_add_entry_takeref(so, key, hash);
  373|    985|}
_PySet_Freeze:
 1572|      3|{
 1573|      3|    assert(set != NULL);
  ------------------
  |  Branch (1573:5): [True: 3, False: 0]
  ------------------
 1574|      3|    assert(PySet_CheckExact(set));
  ------------------
  |  Branch (1574:5): [True: 3, False: 0]
  ------------------
 1575|      3|    assert(_PyObject_IsUniquelyReferenced(set));
  ------------------
  |  Branch (1575:5): [True: 3, False: 0]
  ------------------
 1576|      3|    set->ob_type = &PyFrozenSet_Type;
 1577|      3|    return Py_NewRef(set);
  ------------------
  |  |  550|      3|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1578|      3|}
_PySet_Contains:
 2556|  26.8M|{
 2557|  26.8M|    assert(so);
  ------------------
  |  Branch (2557:5): [True: 26.8M, False: 0]
  ------------------
 2558|       |
 2559|  26.8M|    Py_hash_t hash = PyObject_Hash(key);
 2560|  26.8M|    if (hash == -1) {
  ------------------
  |  Branch (2560:9): [True: 0, False: 26.8M]
  ------------------
 2561|      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 (2561:34): [True: 0, False: 0]
  ------------------
 2562|      0|            set_unhashable_type(key);
 2563|      0|            return -1;
 2564|      0|        }
 2565|      0|        PyErr_Clear();
 2566|       |        // Note that 'key' could be a set() or frozenset() object.  Unlike most
 2567|       |        // container types, set allows membership testing with a set key, even
 2568|       |        // though it is not hashable.
 2569|      0|        Py_BEGIN_CRITICAL_SECTION(key);
  ------------------
  |  |   51|      0|    {
  ------------------
 2570|      0|        hash = frozenset_hash_impl(key);
 2571|      0|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 2572|      0|    }
 2573|  26.8M|    return set_contains_entry(so, key, hash);
 2574|  26.8M|}
PySet_New:
 3034|  1.91k|{
 3035|  1.91k|    return make_new_set(&PySet_Type, iterable);
 3036|  1.91k|}
PyFrozenSet_New:
 3040|    117|{
 3041|    117|    PyObject *result = make_new_set(&PyFrozenSet_Type, iterable);
 3042|    117|    if (result != NULL) {
  ------------------
  |  Branch (3042:9): [True: 117, False: 0]
  ------------------
 3043|    117|        _PyFrozenSet_MaybeUntrack(result);
 3044|    117|    }
 3045|    117|    return result;
 3046|    117|}
PySet_Clear:
 3060|     27|{
 3061|     27|    if (!PySet_Check(set)) {
  ------------------
  |  |   37|     27|    (Py_IS_TYPE((ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  215|     54|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 27, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   38|     27|    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]
  |  |  ------------------
  ------------------
 3062|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3063|      0|        return -1;
 3064|      0|    }
 3065|     27|    (void)set_clear(set, NULL);
 3066|     27|    return 0;
 3067|     27|}
PySet_Contains:
 3077|    111|{
 3078|    111|    if (!PyAnySet_Check(anyset)) {
  ------------------
  |  |   31|    111|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    222|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    111|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    111|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 111, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    111|#  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|    111|      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|    111|      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]
  |  |  ------------------
  ------------------
 3079|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3080|      0|        return -1;
 3081|      0|    }
 3082|       |
 3083|    111|    PySetObject *so = (PySetObject *)anyset;
 3084|    111|    Py_hash_t hash = PyObject_Hash(key);
 3085|    111|    if (hash == -1) {
  ------------------
  |  Branch (3085:9): [True: 0, False: 111]
  ------------------
 3086|      0|        set_unhashable_type(key);
 3087|      0|        return -1;
 3088|      0|    }
 3089|    111|    return set_contains_entry(so, key, hash);
 3090|    111|}
PySet_Discard:
 3094|    113|{
 3095|    113|    if (!PySet_Check(set)) {
  ------------------
  |  |   37|    113|    (Py_IS_TYPE((ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    226|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    113|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    113|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 113, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   38|    113|    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]
  |  |  ------------------
  ------------------
 3096|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3097|      0|        return -1;
 3098|      0|    }
 3099|       |
 3100|    113|    int rv;
 3101|    113|    Py_BEGIN_CRITICAL_SECTION(set);
  ------------------
  |  |   51|    113|    {
  ------------------
 3102|    113|    rv = set_discard_key((PySetObject *)set, key);
 3103|    113|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    113|    }
  ------------------
 3104|    113|    return rv;
 3105|    113|}
PySet_Add:
 3109|    472|{
 3110|    472|    if (PySet_Check(anyset)) {
  ------------------
  |  |   37|    472|    (Py_IS_TYPE((ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    944|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    472|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    472|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 227, False: 245]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   38|    472|    PyType_IsSubtype(Py_TYPE(ob), &PySet_Type))
  |  |  ------------------
  |  |  |  |  213|    245|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    245|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    245|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (38:5): [True: 0, False: 245]
  |  |  ------------------
  ------------------
 3111|    227|        int rv;
 3112|    227|        Py_BEGIN_CRITICAL_SECTION(anyset);
  ------------------
  |  |   51|    227|    {
  ------------------
 3113|    227|        rv = set_add_key((PySetObject *)anyset, key);
 3114|    227|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    227|    }
  ------------------
 3115|    227|        return rv;
 3116|    227|    }
 3117|       |
 3118|    245|    if (PyFrozenSet_Check(anyset) && _PyObject_IsUniquelyReferenced(anyset)) {
  ------------------
  |  |   25|    490|    (Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    490|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    245|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    245|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 245, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   26|    490|      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 (3118:38): [True: 245, False: 0]
  ------------------
 3119|       |        // We can only change frozensets if they are uniquely referenced. The
 3120|       |        // API limits the usage of `PySet_Add` to "fill in the values of brand
 3121|       |        // new frozensets before they are exposed to other code". In this case,
 3122|       |        // this can be done without a lock.
 3123|       |        // Since another key is added to the set, we must track the frozenset
 3124|       |        // if needed.
 3125|    245|        if (PyFrozenSet_CheckExact(anyset) && !PyObject_GC_IsTracked(anyset) && PyObject_GC_IsTracked(key)) {
  ------------------
  |  |   23|    245|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|    490|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    245|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    245|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 245, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3125:47): [True: 245, False: 0]
  |  Branch (3125:81): [True: 0, False: 245]
  ------------------
 3126|      0|            _PyObject_GC_TRACK(anyset);
  ------------------
  |  |  507|      0|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3127|      0|        }
 3128|    245|        return set_add_key((PySetObject *)anyset, key);
 3129|    245|    }
 3130|       |
 3131|      0|    PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3132|      0|    return -1;
 3133|    245|}
_PySet_NextEntry:
 3137|     77|{
 3138|     77|    setentry *entry;
 3139|       |
 3140|     77|    if (!PyAnySet_Check(set)) {
  ------------------
  |  |   31|     77|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    154|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     77|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     77|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 77]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    154|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     77|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     77|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 77, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|     77|      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|     77|      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]
  |  |  ------------------
  ------------------
 3141|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3142|      0|        return -1;
 3143|      0|    }
 3144|     77|    if (set_next((PySetObject *)set, pos, &entry) == 0)
  ------------------
  |  Branch (3144:9): [True: 27, False: 50]
  ------------------
 3145|     27|        return 0;
 3146|     50|    *key = entry->key;
 3147|     50|    *hash = entry->hash;
 3148|     50|    return 1;
 3149|     77|}
_PySet_NextEntryRef:
 3153|  3.14k|{
 3154|  3.14k|    setentry *entry;
 3155|       |
 3156|  3.14k|    if (!PyAnySet_Check(set)) {
  ------------------
  |  |   31|  3.14k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  6.28k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 3.14k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  3.14k|#  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|  3.14k|      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|  3.14k|      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]
  |  |  ------------------
  ------------------
 3157|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3158|      0|        return -1;
 3159|      0|    }
 3160|  3.14k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(set);
 3161|  3.14k|    if (set_next((PySetObject *)set, pos, &entry) == 0)
  ------------------
  |  Branch (3161:9): [True: 871, False: 2.27k]
  ------------------
 3162|    871|        return 0;
 3163|  2.27k|    *key = Py_NewRef(entry->key);
  ------------------
  |  |  550|  2.27k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3164|  2.27k|    *hash = entry->hash;
 3165|  2.27k|    return 1;
 3166|  3.14k|}
setobject.c:set_add_entry_takeref:
  254|  13.8k|{
  255|  13.8k|    setentry *table;
  256|  13.8k|    setentry *freeslot;
  257|  13.8k|    setentry *entry;
  258|  13.8k|    size_t perturb;
  259|  13.8k|    size_t mask;
  260|  13.8k|    size_t i;                       /* Unsigned for defined overflow behavior */
  261|  13.8k|    int probes;
  262|  13.8k|    int cmp;
  263|       |
  264|  13.8k|  restart:
  265|       |
  266|  13.8k|    mask = so->mask;
  267|  13.8k|    i = (size_t)hash & mask;
  268|  13.8k|    freeslot = NULL;
  269|  13.8k|    perturb = hash;
  270|       |
  271|  15.9k|    while (1) {
  ------------------
  |  Branch (271:12): [True: 15.9k, Folded]
  ------------------
  272|  15.9k|        entry = &so->table[i];
  273|  15.9k|        probes = (i + LINEAR_PROBES <= mask) ? LINEAR_PROBES: 0;
  ------------------
  |  |  214|  15.9k|#define LINEAR_PROBES 9
  ------------------
                      probes = (i + LINEAR_PROBES <= mask) ? LINEAR_PROBES: 0;
  ------------------
  |  |  214|  1.65k|#define LINEAR_PROBES 9
  ------------------
  |  Branch (273:18): [True: 1.65k, False: 14.2k]
  ------------------
  274|  16.9k|        do {
  275|  16.9k|            if (entry->hash == 0 && entry->key == NULL)
  ------------------
  |  Branch (275:17): [True: 13.1k, False: 3.79k]
  |  Branch (275:37): [True: 13.1k, False: 0]
  ------------------
  276|  13.1k|                goto found_unused_or_dummy;
  277|  3.79k|            if (entry->hash == hash) {
  ------------------
  |  Branch (277:17): [True: 728, False: 3.06k]
  ------------------
  278|    728|                PyObject *startkey = entry->key;
  279|    728|                assert(startkey != dummy);
  ------------------
  |  Branch (279:17): [True: 728, False: 0]
  ------------------
  280|    728|                if (startkey == key)
  ------------------
  |  Branch (280:21): [True: 17, False: 711]
  ------------------
  281|     17|                    goto found_active;
  282|    711|                if (PyUnicode_CheckExact(startkey)
  ------------------
  |  |  104|    711|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  1.42k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    711|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    711|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 711]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  283|    711|                    && PyUnicode_CheckExact(key)
  ------------------
  |  |  104|      0|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    711|#  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  284|      0|                    && unicode_eq(startkey, key))
  ------------------
  |  Branch (284:24): [True: 0, False: 0]
  ------------------
  285|      0|                    goto found_active;
  286|    711|                table = so->table;
  287|    711|                Py_INCREF(startkey);
  ------------------
  |  |  310|    711|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    711|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    711|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  288|    711|                cmp = PyObject_RichCompareBool(startkey, key, Py_EQ);
  ------------------
  |  |  654|    711|#define Py_EQ 2
  ------------------
  289|    711|                Py_DECREF(startkey);
  ------------------
  |  |  430|    711|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    711|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    711|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  290|    711|                if (cmp > 0)
  ------------------
  |  Branch (290:21): [True: 711, False: 0]
  ------------------
  291|    711|                    goto found_active;
  292|      0|                if (cmp < 0)
  ------------------
  |  Branch (292:21): [True: 0, False: 0]
  ------------------
  293|      0|                    goto comparison_error;
  294|      0|                if (table != so->table || entry->key != startkey)
  ------------------
  |  Branch (294:21): [True: 0, False: 0]
  |  Branch (294:43): [True: 0, False: 0]
  ------------------
  295|      0|                    goto restart;
  296|      0|                mask = so->mask;
  297|      0|            }
  298|  3.06k|            else if (entry->hash == -1) {
  ------------------
  |  Branch (298:22): [True: 801, False: 2.26k]
  ------------------
  299|    801|                assert (entry->key == dummy);
  ------------------
  |  Branch (299:17): [True: 801, False: 0]
  ------------------
  300|    801|                freeslot = entry;
  301|    801|            }
  302|  3.06k|            entry++;
  303|  3.06k|        } while (probes--);
  ------------------
  |  Branch (303:18): [True: 1.02k, False: 2.03k]
  ------------------
  304|  2.03k|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  218|  2.03k|#define PERTURB_SHIFT 5
  ------------------
  305|  2.03k|        i = (i * 5 + 1 + perturb) & mask;
  306|  2.03k|    }
  307|       |
  308|  13.1k|  found_unused_or_dummy:
  309|  13.1k|    if (freeslot == NULL)
  ------------------
  |  Branch (309:9): [True: 12.5k, False: 650]
  ------------------
  310|  12.5k|        goto found_unused;
  311|    650|    if (freeslot->hash != -1) {
  ------------------
  |  Branch (311:9): [True: 0, False: 650]
  ------------------
  312|      0|        goto restart;
  313|      0|    }
  314|    650|    FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, so->used + 1);
  ------------------
  |  |  194|    650|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  315|    650|    FT_ATOMIC_STORE_SSIZE_RELAXED(freeslot->hash, hash);
  ------------------
  |  |  194|    650|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  316|    650|    FT_ATOMIC_STORE_PTR_RELEASE(freeslot->key, key);
  ------------------
  |  |  164|    650|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  317|    650|    return 0;
  318|       |
  319|  12.5k|  found_unused:
  320|  12.5k|    so->fill++;
  321|  12.5k|    FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, so->used + 1);
  ------------------
  |  |  194|  12.5k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  322|  12.5k|    FT_ATOMIC_STORE_SSIZE_RELAXED(entry->hash, hash);
  ------------------
  |  |  194|  12.5k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  323|  12.5k|    FT_ATOMIC_STORE_PTR_RELEASE(entry->key, key);
  ------------------
  |  |  164|  12.5k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  324|  12.5k|    if ((size_t)so->fill*5 < mask*3)
  ------------------
  |  Branch (324:9): [True: 12.0k, False: 488]
  ------------------
  325|  12.0k|        return 0;
  326|    488|    return set_table_resize(so, so->used>50000 ? so->used*2 : so->used*4);
  ------------------
  |  Branch (326:33): [True: 0, False: 488]
  ------------------
  327|       |
  328|    728|  found_active:
  329|    728|    Py_DECREF(key);
  ------------------
  |  |  430|    728|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    728|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    728|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  330|    728|    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|  12.5k|}
setobject.c:set_table_resize:
  485|  1.36k|{
  486|  1.36k|    setentry *oldtable, *newtable, *entry;
  487|  1.36k|    Py_ssize_t oldmask = so->mask;
  488|  1.36k|    Py_ssize_t oldsize = (size_t)oldmask + 1;
  489|  1.36k|    size_t newmask;
  490|  1.36k|    int is_oldtable_malloced;
  491|  1.36k|    setentry small_copy[PySet_MINSIZE];
  492|       |
  493|  1.36k|    assert(minused >= 0);
  ------------------
  |  Branch (493:5): [True: 1.36k, False: 0]
  ------------------
  494|       |
  495|       |    /* Find the smallest table size > minused. */
  496|       |    /* XXX speed-up with intrinsics */
  497|  1.36k|    size_t newsize = PySet_MINSIZE;
  ------------------
  |  |   18|  1.36k|#define PySet_MINSIZE 8
  ------------------
  498|  1.97k|    while (newsize <= (size_t)minused) {
  ------------------
  |  Branch (498:12): [True: 619, False: 1.36k]
  ------------------
  499|    619|        newsize <<= 1; // The largest possible value is PY_SSIZE_T_MAX + 1.
  500|    619|    }
  501|       |
  502|       |    /* Get space for a new table. */
  503|  1.36k|    oldtable = so->table;
  504|  1.36k|    assert(oldtable != NULL);
  ------------------
  |  Branch (504:5): [True: 1.36k, False: 0]
  ------------------
  505|  1.36k|    is_oldtable_malloced = oldtable != so->smalltable;
  506|       |
  507|  1.36k|    if (newsize == PySet_MINSIZE) {
  ------------------
  |  |   18|  1.36k|#define PySet_MINSIZE 8
  ------------------
  |  Branch (507:9): [True: 870, False: 490]
  ------------------
  508|       |        /* A large table is shrinking, or we can't get any smaller. */
  509|    870|        newtable = so->smalltable;
  510|    870|        if (newtable == oldtable) {
  ------------------
  |  Branch (510:13): [True: 870, False: 0]
  ------------------
  511|    870|            if (so->fill == so->used) {
  ------------------
  |  Branch (511:17): [True: 0, False: 870]
  ------------------
  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|    870|            assert(so->fill > so->used);
  ------------------
  |  Branch (521:13): [True: 870, False: 0]
  ------------------
  522|    870|            memcpy(small_copy, oldtable, sizeof(small_copy));
  523|    870|            oldtable = small_copy;
  524|    870|        }
  525|    870|    }
  526|    490|    else {
  527|    490|        newtable = PyMem_NEW(setentry, newsize);
  ------------------
  |  |   82|    490|#define PyMem_NEW(type, n)        PyMem_New(type, (n))
  |  |  ------------------
  |  |  |  |   64|    490|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|    490|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (64:5): [True: 0, False: 490]
  |  |  |  |  ------------------
  |  |  |  |   65|    490|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  |  |  ------------------
  ------------------
  528|    490|        if (newtable == NULL) {
  ------------------
  |  Branch (528:13): [True: 0, False: 490]
  ------------------
  529|      0|            PyErr_NoMemory();
  530|      0|            return -1;
  531|      0|        }
  532|    490|    }
  533|       |
  534|       |    /* Make the set empty, using the new table. */
  535|  1.36k|    assert(newtable != oldtable);
  ------------------
  |  Branch (535:5): [True: 1.36k, False: 0]
  ------------------
  536|  1.36k|    set_zero_table(newtable, newsize);
  537|  1.36k|    FT_ATOMIC_STORE_PTR_RELEASE(so->table, NULL);
  ------------------
  |  |  164|  1.36k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  538|  1.36k|    FT_ATOMIC_STORE_SSIZE_RELEASE(so->mask, newsize - 1);
  ------------------
  |  |  169|  1.36k|#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|  1.36k|    newmask = (size_t)so->mask;
  543|  1.36k|    if (so->fill == so->used) {
  ------------------
  |  Branch (543:9): [True: 79, False: 1.28k]
  ------------------
  544|  1.62k|        for (entry = oldtable; entry <= oldtable + oldmask; entry++) {
  ------------------
  |  Branch (544:32): [True: 1.54k, False: 79]
  ------------------
  545|  1.54k|            if (entry->key != NULL) {
  ------------------
  |  Branch (545:17): [True: 925, False: 619]
  ------------------
  546|    925|                set_insert_clean(newtable, newmask, entry->key, entry->hash);
  547|    925|            }
  548|  1.54k|        }
  549|  1.28k|    } else {
  550|  1.28k|        so->fill = so->used;
  551|  11.5k|        for (entry = oldtable; entry <= oldtable + oldmask; entry++) {
  ------------------
  |  Branch (551:32): [True: 10.2k, False: 1.28k]
  ------------------
  552|  10.2k|            if (entry->key != NULL && entry->key != dummy) {
  ------------------
  |  |   64|  4.27k|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (552:17): [True: 4.27k, False: 5.97k]
  |  Branch (552:39): [True: 1.18k, False: 3.08k]
  ------------------
  553|  1.18k|                set_insert_clean(newtable, newmask, entry->key, entry->hash);
  554|  1.18k|            }
  555|  10.2k|        }
  556|  1.28k|    }
  557|       |
  558|  1.36k|    FT_ATOMIC_STORE_PTR_RELEASE(so->table, newtable);
  ------------------
  |  |  164|  1.36k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  559|       |
  560|  1.36k|    if (is_oldtable_malloced)
  ------------------
  |  Branch (560:9): [True: 22, False: 1.33k]
  ------------------
  561|     22|        free_entries(oldtable, oldsize, SET_IS_SHARED(so));
  ------------------
  |  |  132|     22|#define SET_IS_SHARED(so) 0
  ------------------
  562|  1.36k|    return 0;
  563|  1.36k|}
setobject.c:set_zero_table:
  197|  1.38k|{
  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|  1.38k|    memset(table, 0, sizeof(setentry)*size);
  206|  1.38k|#endif
  207|  1.38k|}
setobject.c:set_insert_clean:
  385|  2.12k|{
  386|  2.12k|    setentry *entry;
  387|  2.12k|    size_t perturb = hash;
  388|  2.12k|    size_t i = (size_t)hash & mask;
  389|  2.12k|    size_t j;
  390|       |
  391|  2.38k|    while (1) {
  ------------------
  |  Branch (391:12): [True: 2.38k, Folded]
  ------------------
  392|  2.38k|        entry = &table[i];
  393|  2.38k|        if (entry->key == NULL)
  ------------------
  |  Branch (393:13): [True: 2.06k, False: 320]
  ------------------
  394|  2.06k|            goto found_null;
  395|    320|        if (i + LINEAR_PROBES <= mask) {
  ------------------
  |  |  214|    320|#define LINEAR_PROBES 9
  ------------------
  |  Branch (395:13): [True: 55, False: 265]
  ------------------
  396|     63|            for (j = 0; j < LINEAR_PROBES; j++) {
  ------------------
  |  |  214|     63|#define LINEAR_PROBES 9
  ------------------
  |  Branch (396:25): [True: 63, False: 0]
  ------------------
  397|     63|                entry++;
  398|     63|                if (entry->key == NULL)
  ------------------
  |  Branch (398:21): [True: 55, False: 8]
  ------------------
  399|     55|                    goto found_null;
  400|     63|            }
  401|     55|        }
  402|    265|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  218|    265|#define PERTURB_SHIFT 5
  ------------------
  403|    265|        i = (i * 5 + 1 + perturb) & mask;
  404|    265|    }
  405|  2.12k|  found_null:
  406|  2.12k|    FT_ATOMIC_STORE_SSIZE_RELAXED(entry->hash, hash);
  ------------------
  |  |  194|  2.12k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  407|  2.12k|    FT_ATOMIC_STORE_PTR_RELEASE(entry->key, key);
  ------------------
  |  |  164|  2.12k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  408|  2.12k|}
setobject.c:free_entries:
  468|    444|{
  469|       |#ifdef Py_GIL_DISABLED
  470|       |    if (use_qsbr) {
  471|       |        _PyMem_FreeDelayed(entries, size * sizeof(setentry));
  472|       |        return;
  473|       |    }
  474|       |#endif
  475|    444|    PyMem_Free(entries);
  476|    444|}
setobject.c:setiter_dealloc:
 1041|  3.17k|{
 1042|  3.17k|    setiterobject *si = (setiterobject*)self;
 1043|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
 1044|  3.17k|    _PyObject_GC_UNTRACK(si);
  ------------------
  |  |  509|  3.17k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1045|  3.17k|    Py_XDECREF(si->si_set);
  ------------------
  |  |  524|  3.17k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1046|  3.17k|    PyObject_GC_Del(si);
 1047|  3.17k|}
setobject.c:setiter_iternext:
 1096|  9.75k|{
 1097|  9.75k|    setiterobject *si = (setiterobject*)self;
 1098|  9.75k|    PyObject *key = NULL;
 1099|  9.75k|    Py_ssize_t i, mask;
 1100|  9.75k|    setentry *entry;
 1101|  9.75k|    PySetObject *so = si->si_set;
 1102|       |
 1103|  9.75k|    if (so == NULL)
  ------------------
  |  Branch (1103:9): [True: 0, False: 9.75k]
  ------------------
 1104|      0|        return NULL;
 1105|  9.75k|    assert (PyAnySet_Check(so));
  ------------------
  |  Branch (1105:5): [True: 9.45k, False: 298]
  |  Branch (1105:5): [True: 298, False: 0]
  |  Branch (1105:5): [True: 0, False: 0]
  |  Branch (1105:5): [True: 0, False: 0]
  ------------------
 1106|       |
 1107|  9.75k|    Py_ssize_t so_used = FT_ATOMIC_LOAD_SSIZE_RELAXED(so->used);
  ------------------
  |  |  149|  9.75k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 1108|  9.75k|    Py_ssize_t si_used = FT_ATOMIC_LOAD_SSIZE_RELAXED(si->si_used);
  ------------------
  |  |  149|  9.75k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 1109|  9.75k|    if (si_used != so_used) {
  ------------------
  |  Branch (1109:9): [True: 0, False: 9.75k]
  ------------------
 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|  9.75k|    Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|  9.75k|    {
  ------------------
 1117|  9.75k|    i = si->si_pos;
 1118|  9.75k|    assert(i>=0);
  ------------------
  |  Branch (1118:5): [True: 9.75k, False: 0]
  ------------------
 1119|  9.75k|    entry = so->table;
 1120|  9.75k|    mask = so->mask;
 1121|  29.4k|    while (i <= mask && (entry[i].key == NULL || entry[i].key == dummy)) {
  ------------------
  |  |   64|  8.40k|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (1121:12): [True: 26.2k, False: 3.17k]
  |  Branch (1121:26): [True: 17.8k, False: 8.40k]
  |  Branch (1121:50): [True: 1.82k, False: 6.57k]
  ------------------
 1122|  19.6k|        i++;
 1123|  19.6k|    }
 1124|  9.75k|    if (i <= mask) {
  ------------------
  |  Branch (1124:9): [True: 6.57k, False: 3.17k]
  ------------------
 1125|  6.57k|        key = Py_NewRef(entry[i].key);
  ------------------
  |  |  550|  6.57k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  6.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1126|  6.57k|    }
 1127|  9.75k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  9.75k|    }
  ------------------
 1128|  9.75k|    si->si_pos = i+1;
 1129|  9.75k|    if (key == NULL) {
  ------------------
  |  Branch (1129:9): [True: 3.17k, False: 6.57k]
  ------------------
 1130|  3.17k|        si->si_set = NULL;
 1131|  3.17k|        Py_DECREF(so);
  ------------------
  |  |  430|  3.17k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1132|  3.17k|        return NULL;
 1133|  3.17k|    }
 1134|  6.57k|    si->len--;
 1135|  6.57k|    return key;
 1136|  9.75k|}
setobject.c:set_contains_entry:
  567|  26.8M|{
  568|       |#ifdef Py_GIL_DISABLED
  569|       |    return set_lookkey_threadsafe(so, key, hash);
  570|       |#else
  571|  26.8M|    setentry *entry; // unused
  572|  26.8M|    return set_lookkey(so, key, hash, &entry);
  573|  26.8M|#endif
  574|  26.8M|}
setobject.c:set_lookkey:
  415|  26.8M|{
  416|  26.8M|    int status;
  417|  26.8M|    if (PyFrozenSet_CheckExact(so)) {
  ------------------
  |  |   23|  26.8M|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|  26.8M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  26.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  26.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 19.7M, False: 7.03M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  418|  19.7M|        status = set_do_lookup(so, so->table, so->mask, key, hash, epp,
  419|  19.7M|                               set_compare_frozenset);
  420|  19.7M|    }
  421|  7.03M|    else {
  422|  7.03M|        Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|  7.03M|    {
  ------------------
  423|  7.03M|        do {
  424|  7.03M|            status = set_do_lookup(so, so->table, so->mask, key, hash, epp,
  425|  7.03M|                                   set_compare_entry_lock_held);
  426|  7.03M|        } while (status == SET_LOOKKEY_CHANGED);
  ------------------
  |  |   69|  7.03M|#define SET_LOOKKEY_CHANGED (-2)
  ------------------
  |  Branch (426:18): [True: 0, False: 7.03M]
  ------------------
  427|  7.03M|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  7.03M|    }
  ------------------
  428|  7.03M|    }
  429|  26.8M|    assert(status == SET_LOOKKEY_FOUND ||
  ------------------
  |  Branch (429:5): [True: 13.1M, False: 13.6M]
  |  Branch (429:5): [True: 13.6M, False: 0]
  |  Branch (429:5): [True: 0, False: 0]
  ------------------
  430|  26.8M|           status == SET_LOOKKEY_NO_MATCH ||
  431|  26.8M|           status == SET_LOOKKEY_ERROR);
  432|  26.8M|    return status;
  433|  26.8M|}
setobject.c:set_do_lookup:
  223|  26.8M|{
  224|  26.8M|    setentry *entry;
  225|  26.8M|    size_t perturb = hash;
  226|  26.8M|    size_t i = (size_t)hash & mask; /* Unsigned for defined overflow behavior */
  227|  26.8M|    int probes;
  228|  26.8M|    int status;
  229|       |
  230|  28.4M|    while (1) {
  ------------------
  |  Branch (230:12): [True: 28.4M, Folded]
  ------------------
  231|  28.4M|        entry = &table[i];
  232|  28.4M|        probes = (i + LINEAR_PROBES <= mask) ? LINEAR_PROBES: 0;
  ------------------
  |  |  214|  28.4M|#define LINEAR_PROBES 9
  ------------------
                      probes = (i + LINEAR_PROBES <= mask) ? LINEAR_PROBES: 0;
  ------------------
  |  |  214|  7.34M|#define LINEAR_PROBES 9
  ------------------
  |  Branch (232:18): [True: 7.34M, False: 21.1M]
  ------------------
  233|  28.9M|        do {
  234|  28.9M|            status = compare_entry(so, table, entry, key, hash);
  235|  28.9M|            if (status != SET_LOOKKEY_NO_MATCH) {
  ------------------
  |  |   67|  28.9M|#define SET_LOOKKEY_NO_MATCH 0
  ------------------
  |  Branch (235:17): [True: 26.8M, False: 2.08M]
  ------------------
  236|  26.8M|                if (status == SET_LOOKKEY_EMPTY) {
  ------------------
  |  |   70|  26.8M|#define SET_LOOKKEY_EMPTY (-3)
  ------------------
  |  Branch (236:21): [True: 13.6M, False: 13.1M]
  ------------------
  237|  13.6M|                    return SET_LOOKKEY_NO_MATCH;
  ------------------
  |  |   67|  13.6M|#define SET_LOOKKEY_NO_MATCH 0
  ------------------
  238|  13.6M|                }
  239|  13.1M|                *epp = entry;
  240|  13.1M|                return status;
  241|  26.8M|            }
  242|  2.08M|            entry++;
  243|  2.08M|        } while (probes--);
  ------------------
  |  Branch (243:18): [True: 440k, False: 1.64M]
  ------------------
  244|  1.64M|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  218|  1.64M|#define PERTURB_SHIFT 5
  ------------------
  245|  1.64M|        i = (i * 5 + 1 + perturb) & mask;
  246|  1.64M|    }
  247|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  248|  26.8M|}
setobject.c:set_compare_frozenset:
  174|  20.7M|{
  175|  20.7M|    assert(PyFrozenSet_Check(so));
  ------------------
  |  Branch (175:5): [True: 20.7M, False: 0]
  |  Branch (175:5): [True: 0, False: 0]
  ------------------
  176|  20.7M|    PyObject *startkey = ep->key;
  177|  20.7M|    if (startkey == NULL) {
  ------------------
  |  Branch (177:9): [True: 10.0M, False: 10.6M]
  ------------------
  178|  10.0M|        return SET_LOOKKEY_EMPTY;
  ------------------
  |  |   70|  10.0M|#define SET_LOOKKEY_EMPTY (-3)
  ------------------
  179|  10.0M|    }
  180|  10.6M|    if (startkey == key) {
  ------------------
  |  Branch (180:9): [True: 9.73M, False: 933k]
  ------------------
  181|  9.73M|        return SET_LOOKKEY_FOUND;
  ------------------
  |  |   66|  9.73M|#define SET_LOOKKEY_FOUND 1
  ------------------
  182|  9.73M|    }
  183|   933k|    Py_ssize_t ep_hash = ep->hash;
  184|   933k|    if (ep_hash == hash) {
  ------------------
  |  Branch (184:9): [True: 0, False: 933k]
  ------------------
  185|      0|        int cmp = PyObject_RichCompareBool(startkey, key, Py_EQ);
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
  186|      0|        if (cmp < 0) {
  ------------------
  |  Branch (186:13): [True: 0, False: 0]
  ------------------
  187|      0|            return SET_LOOKKEY_ERROR;
  ------------------
  |  |   68|      0|#define SET_LOOKKEY_ERROR (-1)
  ------------------
  188|      0|        }
  189|      0|        assert(cmp == SET_LOOKKEY_FOUND || cmp == SET_LOOKKEY_NO_MATCH);
  ------------------
  |  Branch (189:9): [True: 0, False: 0]
  |  Branch (189:9): [True: 0, False: 0]
  ------------------
  190|      0|        return cmp;
  191|      0|    }
  192|   933k|    return SET_LOOKKEY_NO_MATCH;
  ------------------
  |  |   67|   933k|#define SET_LOOKKEY_NO_MATCH 0
  ------------------
  193|   933k|}
setobject.c:set_compare_entry_lock_held:
  140|  8.19M|{
  141|  8.19M|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
  142|  8.19M|    if (entry->hash == 0 && entry->key == NULL)
  ------------------
  |  Branch (142:9): [True: 3.73M, False: 4.45M]
  |  Branch (142:29): [True: 3.65M, False: 84.5k]
  ------------------
  143|  3.65M|        return SET_LOOKKEY_EMPTY;
  ------------------
  |  |   70|  3.65M|#define SET_LOOKKEY_EMPTY (-3)
  ------------------
  144|  4.53M|    if (entry->hash == hash) {
  ------------------
  |  Branch (144:9): [True: 3.38M, False: 1.15M]
  ------------------
  145|  3.38M|        PyObject *startkey = entry->key;
  146|  3.38M|        assert(startkey != dummy);
  ------------------
  |  Branch (146:9): [True: 3.38M, False: 0]
  ------------------
  147|  3.38M|        if (startkey == key)
  ------------------
  |  Branch (147:13): [True: 3.38M, False: 28]
  ------------------
  148|  3.38M|            return SET_LOOKKEY_FOUND;
  ------------------
  |  |   66|  3.38M|#define SET_LOOKKEY_FOUND 1
  ------------------
  149|     28|        if (PyUnicode_CheckExact(startkey)
  ------------------
  |  |  104|     28|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  150|     28|            && PyUnicode_CheckExact(key)
  ------------------
  |  |  104|     28|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  151|     28|            && unicode_eq(startkey, key))
  ------------------
  |  Branch (151:16): [True: 28, False: 0]
  ------------------
  152|     28|            return SET_LOOKKEY_FOUND;
  ------------------
  |  |   66|     28|#define SET_LOOKKEY_FOUND 1
  ------------------
  153|      0|        table = so->table;
  154|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  155|      0|        int cmp = PyObject_RichCompareBool(startkey, key, Py_EQ);
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
  156|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  157|      0|        if (cmp < 0)
  ------------------
  |  Branch (157:13): [True: 0, False: 0]
  ------------------
  158|      0|            return SET_LOOKKEY_ERROR;
  ------------------
  |  |   68|      0|#define SET_LOOKKEY_ERROR (-1)
  ------------------
  159|      0|        if (table != so->table || entry->key != startkey)
  ------------------
  |  Branch (159:13): [True: 0, False: 0]
  |  Branch (159:35): [True: 0, False: 0]
  ------------------
  160|      0|            return SET_LOOKKEY_CHANGED;
  ------------------
  |  |   69|      0|#define SET_LOOKKEY_CHANGED (-2)
  ------------------
  161|      0|        if (cmp > 0)
  ------------------
  |  Branch (161:13): [True: 0, False: 0]
  ------------------
  162|      0|            return SET_LOOKKEY_FOUND;
  ------------------
  |  |   66|      0|#define SET_LOOKKEY_FOUND 1
  ------------------
  163|      0|    }
  164|  1.15M|    return SET_LOOKKEY_NO_MATCH;
  ------------------
  |  |   67|  1.15M|#define SET_LOOKKEY_NO_MATCH 0
  ------------------
  165|  4.53M|}
setobject.c:set_dealloc:
  735|  6.26k|{
  736|  6.26k|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|  6.26k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|  6.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (736:23): [True: 6.23k, False: 28]
  |  Branch (736:23): [True: 28, False: 0]
  |  Branch (736:23): [True: 0, False: 0]
  |  Branch (736:23): [True: 0, False: 0]
  ------------------
  737|      0|    setentry *entry;
  738|  6.26k|    Py_ssize_t used = so->used;
  739|  6.26k|    Py_ssize_t oldsize = (size_t)so->mask + 1;
  740|       |
  741|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
  742|  6.26k|    PyObject_GC_UnTrack(so);
  743|  6.26k|    FT_CLEAR_WEAKREFS(self, so->weakreflist);
  ------------------
  |  |   47|  6.26k|    do {                                            \
  |  |   48|  6.26k|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|  6.26k|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 6.26k]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|  6.26k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 6.26k]
  |  |  ------------------
  ------------------
  |  Branch (743:5): [True: 6.26k, False: 0]
  ------------------
  744|       |
  745|  24.2k|    for (entry = so->table; used > 0; entry++) {
  ------------------
  |  Branch (745:29): [True: 17.9k, False: 6.26k]
  ------------------
  746|  17.9k|        if (entry->key && entry->key != dummy) {
  ------------------
  |  |   64|  7.20k|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (746:13): [True: 7.20k, False: 10.7k]
  |  Branch (746:27): [True: 7.20k, False: 0]
  ------------------
  747|  7.20k|                used--;
  748|  7.20k|                Py_DECREF(entry->key);
  ------------------
  |  |  430|  7.20k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.20k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  749|  7.20k|        }
  750|  17.9k|    }
  751|  6.26k|    if (so->table != so->smalltable)
  ------------------
  |  Branch (751:9): [True: 422, False: 5.83k]
  ------------------
  752|    422|        free_entries(so->table, oldsize, SET_IS_SHARED(so));
  ------------------
  |  |  132|    422|#define SET_IS_SHARED(so) 0
  ------------------
  753|  6.26k|    Py_TYPE(so)->tp_free(so);
  ------------------
  |  |  213|  6.26k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  754|  6.26k|}
setobject.c:set_copy_untracked_lock_held:
 1582|  1.74k|{
 1583|  1.74k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
 1584|  1.74k|    PyObject *copy = make_new_set_basetype_untracked(Py_TYPE(so), 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1585|  1.74k|    if (copy == NULL) {
  ------------------
  |  Branch (1585:9): [True: 0, False: 1.74k]
  ------------------
 1586|      0|        return NULL;
 1587|      0|    }
 1588|  1.74k|    if (set_merge_lock_held((PySetObject *)copy, (PyObject *)so) < 0) {
  ------------------
  |  Branch (1588:9): [True: 0, False: 1.74k]
  ------------------
 1589|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1590|      0|        return NULL;
 1591|      0|    }
 1592|  1.74k|    return copy;
 1593|  1.74k|}
setobject.c:set_merge_lock_held:
  830|  2.67k|{
  831|  2.67k|    PySetObject *other;
  832|  2.67k|    PyObject *key;
  833|  2.67k|    Py_ssize_t i;
  834|  2.67k|    setentry *so_entry;
  835|  2.67k|    setentry *other_entry;
  836|       |
  837|  2.67k|    assert (PyAnySet_Check(so));
  ------------------
  |  Branch (837:5): [True: 2.64k, False: 28]
  |  Branch (837:5): [True: 28, False: 0]
  |  Branch (837:5): [True: 0, False: 0]
  |  Branch (837:5): [True: 0, False: 0]
  ------------------
  838|  2.67k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
  839|  2.67k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(otherset);
  840|       |
  841|  2.67k|    other = _PySet_CAST(otherset);
  ------------------
  |  |   62|  2.67k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|  2.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (841:13): [True: 2.67k, False: 0]
  |  Branch (841:13): [True: 0, False: 0]
  |  Branch (841:13): [True: 0, False: 0]
  |  Branch (841:13): [True: 0, False: 0]
  ------------------
  842|  2.67k|    if (other == so || other->used == 0)
  ------------------
  |  Branch (842:9): [True: 0, False: 2.67k]
  |  Branch (842:24): [True: 900, False: 1.77k]
  ------------------
  843|       |        /* a.update(a) or a.update(set()); nothing to do */
  844|    900|        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|  1.77k|    if ((so->fill + other->used)*5 >= so->mask*3) {
  ------------------
  |  Branch (849:9): [True: 2, False: 1.76k]
  ------------------
  850|      2|        if (set_table_resize(so, (so->used + other->used)*2) != 0)
  ------------------
  |  Branch (850:13): [True: 0, False: 2]
  ------------------
  851|      0|            return -1;
  852|      2|    }
  853|  1.77k|    so_entry = so->table;
  854|  1.77k|    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|  1.77k|    if (so->fill == 0 && so->mask == other->mask && other->fill == other->used) {
  ------------------
  |  Branch (858:9): [True: 1.77k, False: 0]
  |  Branch (858:26): [True: 1.76k, False: 2]
  |  Branch (858:53): [True: 1.76k, False: 0]
  ------------------
  859|  15.9k|        for (i = 0; i <= other->mask; i++, so_entry++, other_entry++) {
  ------------------
  |  Branch (859:21): [True: 14.1k, False: 1.76k]
  ------------------
  860|  14.1k|            key = other_entry->key;
  861|  14.1k|            if (key != NULL) {
  ------------------
  |  Branch (861:17): [True: 4.48k, False: 9.66k]
  ------------------
  862|  4.48k|                assert(so_entry->key == NULL);
  ------------------
  |  Branch (862:17): [True: 4.48k, False: 0]
  ------------------
  863|  4.48k|                FT_ATOMIC_STORE_SSIZE_RELAXED(so_entry->hash, other_entry->hash);
  ------------------
  |  |  194|  4.48k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  864|  4.48k|                FT_ATOMIC_STORE_PTR_RELEASE(so_entry->key, Py_NewRef(key));
  ------------------
  |  |  164|  4.48k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  865|  4.48k|            }
  866|  14.1k|        }
  867|  1.76k|        so->fill = other->fill;
  868|  1.76k|        FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, other->used);
  ------------------
  |  |  194|  1.76k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  869|  1.76k|        return 0;
  870|  1.76k|    }
  871|       |
  872|       |    /* If our table is empty, we can use set_insert_clean() */
  873|      2|    if (so->fill == 0) {
  ------------------
  |  Branch (873:9): [True: 2, False: 0]
  ------------------
  874|      2|        setentry *newtable = so->table;
  875|      2|        size_t newmask = (size_t)so->mask;
  876|      2|        so->fill = other->used;
  877|      2|        FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, other->used);
  ------------------
  |  |  194|      2|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  878|     66|        for (i = other->mask + 1; i > 0 ; i--, other_entry++) {
  ------------------
  |  Branch (878:35): [True: 64, False: 2]
  ------------------
  879|     64|            key = other_entry->key;
  880|     64|            if (key != NULL && key != dummy) {
  ------------------
  |  |   64|     11|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (880:17): [True: 11, False: 53]
  |  Branch (880:32): [True: 11, False: 0]
  ------------------
  881|     11|                set_insert_clean(newtable, newmask, Py_NewRef(key),
  ------------------
  |  |  550|     11|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  882|     11|                                 other_entry->hash);
  883|     11|            }
  884|     64|        }
  885|      2|        return 0;
  886|      2|    }
  887|       |
  888|       |    /* We can't assure there are no duplicates, so do normal insertions */
  889|      0|    for (i = 0; i <= other->mask; i++) {
  ------------------
  |  Branch (889:17): [True: 0, False: 0]
  ------------------
  890|      0|        other_entry = &other->table[i];
  891|      0|        key = other_entry->key;
  892|      0|        if (key != NULL && key != dummy) {
  ------------------
  |  |   64|      0|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (892:13): [True: 0, False: 0]
  |  Branch (892:28): [True: 0, False: 0]
  ------------------
  893|      0|            if (set_add_entry(so, key, other_entry->hash))
  ------------------
  |  Branch (893:17): [True: 0, False: 0]
  ------------------
  894|      0|                return -1;
  895|      0|        }
  896|      0|    }
  897|      0|    return 0;
  898|      0|}
setobject.c:set_difference_update_internal:
 1982|    870|{
 1983|    870|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
 1984|    870|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(other);
 1985|       |
 1986|    870|    if ((PyObject *)so == other)
  ------------------
  |  Branch (1986:9): [True: 0, False: 870]
  ------------------
 1987|      0|        return set_clear_internal((PyObject*)so);
 1988|       |
 1989|    870|    if (PyAnySet_Check(other)) {
  ------------------
  |  |   31|    870|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  1.74k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    870|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    870|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 870, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    870|#  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|    870|      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|    870|      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]
  |  |  ------------------
  ------------------
 1990|    870|        setentry *entry;
 1991|    870|        Py_ssize_t pos = 0;
 1992|       |
 1993|       |        /* Optimization:  When the other set is more than 8 times
 1994|       |           larger than the base set, replace the other set with
 1995|       |           intersection of the two sets.
 1996|       |        */
 1997|    870|        if ((PySet_GET_SIZE(other) >> 3) > PySet_GET_SIZE(so)) {
  ------------------
  |  |   71|    870|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|    870|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    870|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if ((PySet_GET_SIZE(other) >> 3) > PySet_GET_SIZE(so)) {
  ------------------
  |  |   71|    870|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|    870|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    870|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1997:13): [True: 0, False: 870]
  ------------------
 1998|      0|            other = set_intersection(so, other);
 1999|      0|            if (other == NULL)
  ------------------
  |  Branch (1999:17): [True: 0, False: 0]
  ------------------
 2000|      0|                return -1;
 2001|    870|        } else {
 2002|    870|            Py_INCREF(other);
  ------------------
  |  |  310|    870|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    870|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    870|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2003|    870|        }
 2004|       |
 2005|  3.08k|        while (set_next((PySetObject *)other, &pos, &entry)) {
  ------------------
  |  Branch (2005:16): [True: 2.21k, False: 870]
  ------------------
 2006|  2.21k|            PyObject *key = entry->key;
 2007|  2.21k|            Py_INCREF(key);
  ------------------
  |  |  310|  2.21k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2008|  2.21k|            if (set_discard_entry(so, key, entry->hash) < 0) {
  ------------------
  |  Branch (2008:17): [True: 0, False: 2.21k]
  ------------------
 2009|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2010|      0|                Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2011|      0|                return -1;
 2012|      0|            }
 2013|  2.21k|            Py_DECREF(key);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2014|  2.21k|        }
 2015|       |
 2016|    870|        Py_DECREF(other);
  ------------------
  |  |  430|    870|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    870|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    870|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2017|    870|    } else {
 2018|      0|        PyObject *key, *it;
 2019|      0|        it = PyObject_GetIter(other);
 2020|      0|        if (it == NULL)
  ------------------
  |  Branch (2020:13): [True: 0, False: 0]
  ------------------
 2021|      0|            return -1;
 2022|       |
 2023|      0|        while ((key = PyIter_Next(it)) != NULL) {
  ------------------
  |  Branch (2023:16): [True: 0, False: 0]
  ------------------
 2024|      0|            if (set_discard_key(so, key) < 0) {
  ------------------
  |  Branch (2024:17): [True: 0, False: 0]
  ------------------
 2025|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2026|      0|                Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2027|      0|                return -1;
 2028|      0|            }
 2029|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2030|      0|        }
 2031|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2032|      0|        if (PyErr_Occurred())
  ------------------
  |  Branch (2032:13): [True: 0, False: 0]
  ------------------
 2033|      0|            return -1;
 2034|      0|    }
 2035|       |    /* If more than 1/4th are dummies, then resize them away. */
 2036|    870|    if ((size_t)(so->fill - so->used) <= (size_t)so->mask / 4)
  ------------------
  |  Branch (2036:9): [True: 0, False: 870]
  ------------------
 2037|      0|        return 0;
 2038|    870|    return set_table_resize(so, so->used>50000 ? so->used*2 : so->used*4);
  ------------------
  |  Branch (2038:33): [True: 0, False: 870]
  ------------------
 2039|    870|}
setobject.c:set_intersection:
 1720|      7|{
 1721|      7|    PySetObject *result;
 1722|      7|    PyObject *key, *it, *tmp;
 1723|      7|    Py_hash_t hash;
 1724|      7|    int rv;
 1725|       |
 1726|      7|    if ((PyObject *)so == other)
  ------------------
  |  Branch (1726:9): [True: 0, False: 7]
  ------------------
 1727|      0|        return set_copy_impl(so);
 1728|       |
 1729|      7|    result = (PySetObject *)make_new_set_basetype_untracked(Py_TYPE(so), NULL);
  ------------------
  |  |  213|      7|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1730|      7|    if (result == NULL)
  ------------------
  |  Branch (1730:9): [True: 0, False: 7]
  ------------------
 1731|      0|        return NULL;
 1732|       |
 1733|      7|    if (PyAnySet_Check(other)) {
  ------------------
  |  |   31|      7|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|     14|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 7, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|      7|#  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|      7|      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|      7|      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]
  |  |  ------------------
  ------------------
 1734|      7|        Py_ssize_t pos = 0;
 1735|      7|        setentry *entry;
 1736|       |
 1737|      7|        if (PySet_GET_SIZE(other) > PySet_GET_SIZE(so)) {
  ------------------
  |  |   71|      7|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (PySet_GET_SIZE(other) > PySet_GET_SIZE(so)) {
  ------------------
  |  |   71|      7|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1737:13): [True: 6, False: 1]
  ------------------
 1738|      6|            tmp = (PyObject *)so;
 1739|      6|            so = (PySetObject *)other;
 1740|      6|            other = tmp;
 1741|      6|        }
 1742|       |
 1743|      9|        while (set_next((PySetObject *)other, &pos, &entry)) {
  ------------------
  |  Branch (1743:16): [True: 2, False: 7]
  ------------------
 1744|      2|            key = entry->key;
 1745|      2|            hash = entry->hash;
 1746|      2|            Py_INCREF(key);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1747|      2|            rv = set_contains_entry(so, key, hash);
 1748|      2|            if (rv < 0) {
  ------------------
  |  Branch (1748:17): [True: 0, False: 2]
  ------------------
 1749|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1750|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1751|      0|                return NULL;
 1752|      0|            }
 1753|      2|            if (rv) {
  ------------------
  |  Branch (1753:17): [True: 0, False: 2]
  ------------------
 1754|      0|                if (set_add_entry(result, key, hash)) {
  ------------------
  |  Branch (1754:21): [True: 0, False: 0]
  ------------------
 1755|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1756|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1757|      0|                    return NULL;
 1758|      0|                }
 1759|      0|            }
 1760|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1761|      2|        }
 1762|      7|        _PyObject_GC_TRACK(result);
  ------------------
  |  |  507|      7|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1763|      7|        return (PyObject *)result;
 1764|      7|    }
 1765|       |
 1766|      0|    it = PyObject_GetIter(other);
 1767|      0|    if (it == NULL) {
  ------------------
  |  Branch (1767:9): [True: 0, False: 0]
  ------------------
 1768|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1769|      0|        return NULL;
 1770|      0|    }
 1771|       |
 1772|      0|    while ((key = PyIter_Next(it)) != NULL) {
  ------------------
  |  Branch (1772:12): [True: 0, False: 0]
  ------------------
 1773|      0|        hash = PyObject_Hash(key);
 1774|      0|        if (hash == -1)
  ------------------
  |  Branch (1774:13): [True: 0, False: 0]
  ------------------
 1775|      0|            goto error;
 1776|      0|        rv = set_contains_entry(so, key, hash);
 1777|      0|        if (rv < 0)
  ------------------
  |  Branch (1777:13): [True: 0, False: 0]
  ------------------
 1778|      0|            goto error;
 1779|      0|        if (rv) {
  ------------------
  |  Branch (1779:13): [True: 0, False: 0]
  ------------------
 1780|      0|            if (set_add_entry(result, key, hash))
  ------------------
  |  Branch (1780:17): [True: 0, False: 0]
  ------------------
 1781|      0|                goto error;
 1782|      0|            if (PySet_GET_SIZE(result) >= PySet_GET_SIZE(so)) {
  ------------------
  |  |   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(result) >= PySet_GET_SIZE(so)) {
  ------------------
  |  |   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 (1782:17): [True: 0, False: 0]
  ------------------
 1783|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1784|      0|                break;
 1785|      0|            }
 1786|      0|        }
 1787|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1788|      0|    }
 1789|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1790|      0|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1790:9): [True: 0, False: 0]
  ------------------
 1791|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1792|      0|        return NULL;
 1793|      0|    }
 1794|      0|    _PyObject_GC_TRACK(result);
  ------------------
  |  |  507|      0|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1795|      0|    return (PyObject *)result;
 1796|      0|  error:
 1797|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1798|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1799|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1800|       |    return NULL;
 1801|      0|}
setobject.c:set_copy_impl:
 1606|  1.74k|{
 1607|  1.74k|    PyObject *copy = set_copy_untracked_lock_held(so);
 1608|  1.74k|    if (copy != NULL) {
  ------------------
  |  Branch (1608:9): [True: 1.74k, False: 0]
  ------------------
 1609|  1.74k|        _PyObject_GC_TRACK(copy);
  ------------------
  |  |  507|  1.74k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.74k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.74k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1610|  1.74k|    }
 1611|  1.74k|    return copy;
 1612|  1.74k|}
setobject.c:set_discard_entry:
  581|  4.54k|{
  582|  4.54k|    setentry *entry;
  583|  4.54k|    PyObject *old_key;
  584|  4.54k|    int status = set_lookkey(so, key, hash, &entry);
  585|  4.54k|    if (status < 0) {
  ------------------
  |  Branch (585:9): [True: 0, False: 4.54k]
  ------------------
  586|      0|        return -1;
  587|      0|    }
  588|  4.54k|    if (status == SET_LOOKKEY_NO_MATCH) {
  ------------------
  |  |   67|  4.54k|#define SET_LOOKKEY_NO_MATCH 0
  ------------------
  |  Branch (588:9): [True: 111, False: 4.43k]
  ------------------
  589|    111|        return DISCARD_NOTFOUND;
  ------------------
  |  |  576|    111|#define DISCARD_NOTFOUND 0
  ------------------
  590|    111|    }
  591|  4.54k|    assert(status == SET_LOOKKEY_FOUND);
  ------------------
  |  Branch (591:5): [True: 4.43k, False: 0]
  ------------------
  592|  4.43k|    old_key = entry->key;
  593|  4.43k|    FT_ATOMIC_STORE_SSIZE_RELAXED(entry->hash, -1);
  ------------------
  |  |  194|  4.43k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  594|  4.43k|    FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, so->used - 1);
  ------------------
  |  |  194|  4.43k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  595|  4.43k|    FT_ATOMIC_STORE_PTR_RELEASE(entry->key, dummy);
  ------------------
  |  |  164|  4.43k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  596|  4.43k|    Py_DECREF(old_key);
  ------------------
  |  |  430|  4.43k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  597|  4.43k|    return DISCARD_FOUND;
  ------------------
  |  |  577|  4.43k|#define DISCARD_FOUND 1
  ------------------
  598|  4.43k|}
setobject.c:make_new_set_basetype_untracked:
 1390|  1.74k|{
 1391|  1.74k|    if (type != &PySet_Type && type != &PyFrozenSet_Type) {
  ------------------
  |  Branch (1391:9): [True: 0, False: 1.74k]
  |  Branch (1391:32): [True: 0, False: 0]
  ------------------
 1392|      0|        if (PyType_IsSubtype(type, &PySet_Type))
  ------------------
  |  Branch (1392:13): [True: 0, False: 0]
  ------------------
 1393|      0|            type = &PySet_Type;
 1394|      0|        else
 1395|      0|            type = &PyFrozenSet_Type;
 1396|      0|    }
 1397|  1.74k|    return make_new_set_untracked(type, iterable);
 1398|  1.74k|}
setobject.c:make_new_set_untracked:
 1352|  6.47k|{
 1353|  6.47k|    assert(PyType_Check(type));
  ------------------
  |  Branch (1353:5): [True: 6.47k, False: 0]
  ------------------
 1354|  6.47k|    PySetObject *so;
 1355|       |
 1356|  6.47k|    so = (PySetObject *)_PyType_AllocNoTrack(type, 0);
 1357|  6.47k|    if (so == NULL)
  ------------------
  |  Branch (1357:9): [True: 0, False: 6.47k]
  ------------------
 1358|      0|        return NULL;
 1359|       |
 1360|  6.47k|    so->fill = 0;
 1361|  6.47k|    so->used = 0;
 1362|  6.47k|    so->mask = PySet_MINSIZE - 1;
  ------------------
  |  |   18|  6.47k|#define PySet_MINSIZE 8
  ------------------
 1363|  6.47k|    so->table = so->smalltable;
 1364|  6.47k|    so->hash = -1;
 1365|  6.47k|    so->finger = 0;
 1366|  6.47k|    so->weakreflist = NULL;
 1367|       |
 1368|  6.47k|    if (iterable != NULL) {
  ------------------
  |  Branch (1368:9): [True: 934, False: 5.54k]
  ------------------
 1369|    934|        if (set_update_local(so, iterable)) {
  ------------------
  |  Branch (1369:13): [True: 0, False: 934]
  ------------------
 1370|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1371|      0|            return NULL;
 1372|      0|        }
 1373|    934|    }
 1374|       |
 1375|  6.47k|    return (PyObject *)so;
 1376|  6.47k|}
setobject.c:set_update_local:
 1261|  1.80k|{
 1262|  1.80k|    assert(Py_REFCNT(so) == 1);
  ------------------
  |  Branch (1262:5): [True: 1.80k, False: 0]
  ------------------
 1263|  1.80k|    if (PyAnySet_Check(other)) {
  ------------------
  |  |   31|  1.80k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  3.60k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.80k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.80k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 910, False: 894]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  2.69k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    894|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    894|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 894]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|  1.80k|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|    894|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    894|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    894|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 894]
  |  |  ------------------
  |  |   33|  1.80k|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|    894|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    894|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    894|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 894]
  |  |  ------------------
  ------------------
 1264|    910|        int rv;
 1265|    910|        Py_BEGIN_CRITICAL_SECTION(other);
  ------------------
  |  |   51|    910|    {
  ------------------
 1266|    910|        rv = set_merge_lock_held(so, other);
 1267|    910|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    910|    }
  ------------------
 1268|    910|        return rv;
 1269|    910|    }
 1270|    894|    else if (PyDict_CheckExact(other)) {
  ------------------
  |  |   19|    894|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|    894|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    894|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    894|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 877, False: 17]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1271|    877|        int rv;
 1272|    877|        Py_BEGIN_CRITICAL_SECTION(other);
  ------------------
  |  |   51|    877|    {
  ------------------
 1273|    877|        rv = set_update_dict_lock_held(so, other);
 1274|    877|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    877|    }
  ------------------
 1275|    877|        return rv;
 1276|    877|    }
 1277|     17|    else if (PyFrozenDict_CheckExact(other)) {
  ------------------
  |  |   38|     17|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  215|     17|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     17|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     17|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 17]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1278|      0|        return set_update_dict_lock_held(so, other);
 1279|      0|    }
 1280|     17|    return set_update_iterable_lock_held(so, other);
 1281|  1.80k|}
setobject.c:set_update_dict_lock_held:
 1188|    877|{
 1189|    877|    assert(PyAnyDict_CheckExact(other));
  ------------------
  |  Branch (1189:5): [True: 877, False: 0]
  |  Branch (1189:5): [True: 0, False: 0]
  ------------------
 1190|       |
 1191|    877|    _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|    877|    Py_ssize_t dictsize = PyDict_GET_SIZE(other);
  ------------------
  |  |   63|    877|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    877|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    877|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1203|    877|    if ((so->fill + dictsize)*5 >= so->mask*3) {
  ------------------
  |  Branch (1203:9): [True: 0, False: 877]
  ------------------
 1204|      0|        if (set_table_resize(so, (so->used + dictsize)*2) != 0) {
  ------------------
  |  Branch (1204:13): [True: 0, False: 0]
  ------------------
 1205|      0|            return -1;
 1206|      0|        }
 1207|      0|    }
 1208|       |
 1209|    877|    Py_ssize_t pos = 0;
 1210|    877|    PyObject *key;
 1211|    877|    PyObject *value;
 1212|    877|    Py_hash_t hash;
 1213|  3.09k|    while (_PyDict_Next(other, &pos, &key, &value, &hash)) {
  ------------------
  |  Branch (1213:12): [True: 2.22k, False: 877]
  ------------------
 1214|  2.22k|        if (set_add_entry(so, key, hash)) {
  ------------------
  |  Branch (1214:13): [True: 0, False: 2.22k]
  ------------------
 1215|      0|            return -1;
 1216|      0|        }
 1217|  2.22k|    }
 1218|    877|    return 0;
 1219|    877|}
setobject.c:set_update_iterable_lock_held:
 1223|     17|{
 1224|     17|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
 1225|       |
 1226|     17|    PyObject *it = PyObject_GetIter(other);
 1227|     17|    if (it == NULL) {
  ------------------
  |  Branch (1227:9): [True: 0, False: 17]
  ------------------
 1228|      0|        return -1;
 1229|      0|    }
 1230|       |
 1231|     17|    PyObject *key;
 1232|  1.30k|    while ((key = PyIter_Next(it)) != NULL) {
  ------------------
  |  Branch (1232:12): [True: 1.29k, False: 17]
  ------------------
 1233|  1.29k|        if (set_add_key(so, key)) {
  ------------------
  |  Branch (1233:13): [True: 0, False: 1.29k]
  ------------------
 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|  1.29k|        Py_DECREF(key);
  ------------------
  |  |  430|  1.29k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.29k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1239|  1.29k|    }
 1240|     17|    Py_DECREF(it);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1241|     17|    if (PyErr_Occurred())
  ------------------
  |  Branch (1241:9): [True: 0, False: 17]
  ------------------
 1242|      0|        return -1;
 1243|     17|    return 0;
 1244|     17|}
setobject.c:set_add_entry:
  339|  12.9k|{
  340|  12.9k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
  341|       |
  342|  12.9k|    return set_add_entry_takeref(so, Py_NewRef(key), hash);
  ------------------
  |  |  550|  12.9k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  12.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  343|  12.9k|}
setobject.c:set_and:
 1878|      7|{
 1879|      7|    if (!PyAnySet_Check(self) || !PyAnySet_Check(other))
  ------------------
  |  |   31|     14|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|     14|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 7, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|      7|#  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|      7|      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|     14|      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|      7|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|     14|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 7, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|      7|#  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|      7|      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|      7|      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]
  |  |  ------------------
  ------------------
 1880|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 1881|      7|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|      7|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1881:23): [True: 7, False: 0]
  |  Branch (1881:23): [True: 0, False: 0]
  |  Branch (1881:23): [True: 0, False: 0]
  |  Branch (1881:23): [True: 0, False: 0]
  ------------------
 1882|       |
 1883|      0|    PyObject *rv;
 1884|      7|    Py_BEGIN_CRITICAL_SECTION2(so, other);
  ------------------
  |  |   57|      7|    {
  ------------------
 1885|      7|    rv = set_intersection(so, other);
 1886|      7|    Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      7|    }
  ------------------
 1887|       |
 1888|      7|    return rv;
 1889|      7|}
setobject.c:set_or:
 1685|    870|{
 1686|    870|    PySetObject *result;
 1687|       |
 1688|    870|    if (!PyAnySet_Check(self) || !PyAnySet_Check(other))
  ------------------
  |  |   31|  1.74k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  1.74k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    870|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    870|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 870, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    870|#  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|    870|      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.74k|      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|    870|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  1.74k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    870|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    870|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 870, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    870|#  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|    870|      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|    870|      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]
  |  |  ------------------
  ------------------
 1689|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 1690|       |
 1691|    870|    result = (PySetObject *)set_copy(self, NULL);
 1692|    870|    if (result == NULL) {
  ------------------
  |  Branch (1692:9): [True: 0, False: 870]
  ------------------
 1693|      0|        return NULL;
 1694|      0|    }
 1695|    870|    if (Py_Is(self, other)) {
  ------------------
  |  |  187|    870|#define Py_Is(x, y) ((x) == (y))
  |  |  ------------------
  |  |  |  Branch (187:21): [True: 0, False: 870]
  |  |  ------------------
  ------------------
 1696|      0|        return (PyObject *)result;
 1697|      0|    }
 1698|    870|    if (set_update_local(result, other)) {
  ------------------
  |  Branch (1698:9): [True: 0, False: 870]
  ------------------
 1699|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1700|      0|        return NULL;
 1701|      0|    }
 1702|    870|    return (PyObject *)result;
 1703|    870|}
setobject.c:set_ior:
 1707|     21|{
 1708|     21|    if (!PyAnySet_Check(other))
  ------------------
  |  |   31|     21|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|     42|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 21, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|     21|#  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|     21|      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|     21|      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]
  |  |  ------------------
  ------------------
 1709|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 1710|     21|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|     21|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1710:23): [True: 21, False: 0]
  |  Branch (1710:23): [True: 0, False: 0]
  |  Branch (1710:23): [True: 0, False: 0]
  |  Branch (1710:23): [True: 0, False: 0]
  ------------------
 1711|       |
 1712|     21|    if (set_update_internal(so, other)) {
  ------------------
  |  Branch (1712:9): [True: 0, False: 21]
  ------------------
 1713|      0|        return NULL;
 1714|      0|    }
 1715|     21|    return Py_NewRef(so);
  ------------------
  |  |  550|     21|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1716|     21|}
setobject.c:set_contains:
 2578|     42|{
 2579|     42|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|     42|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (2579:23): [True: 19, False: 23]
  |  Branch (2579:23): [True: 23, False: 0]
  |  Branch (2579:23): [True: 0, False: 0]
  |  Branch (2579:23): [True: 0, False: 0]
  ------------------
 2580|      0|    return _PySet_Contains(so, key);
 2581|     42|}
setobject.c:set_traverse:
  938|  19.9k|{
  939|  19.9k|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|  19.9k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|  19.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (939:23): [True: 19.1k, False: 804]
  |  Branch (939:23): [True: 804, False: 0]
  |  Branch (939:23): [True: 0, False: 0]
  |  Branch (939:23): [True: 0, False: 0]
  ------------------
  940|      0|    Py_ssize_t pos = 0;
  941|  19.9k|    setentry *entry;
  942|       |
  943|   169k|    while (set_next(so, &pos, &entry))
  ------------------
  |  Branch (943:12): [True: 149k, False: 19.9k]
  ------------------
  944|   149k|        Py_VISIT(entry->key);
  ------------------
  |  |  194|   169k|    do {                                                                \
  |  |  195|   149k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 149k, False: 0]
  |  |  ------------------
  |  |  196|   149k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   149k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   149k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   149k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 149k]
  |  |  ------------------
  |  |  198|   149k|                return vret;                                            \
  |  |  199|   149k|        }                                                               \
  |  |  200|   149k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 149k]
  |  |  ------------------
  ------------------
  945|  19.9k|    return 0;
  946|  19.9k|}
setobject.c:set_clear_internal:
  647|     27|{
  648|     27|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|     27|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (648:23): [True: 27, False: 0]
  |  Branch (648:23): [True: 0, False: 0]
  |  Branch (648:23): [True: 0, False: 0]
  |  Branch (648:23): [True: 0, False: 0]
  ------------------
  649|      0|    setentry *entry;
  650|     27|    setentry *table = so->table;
  651|     27|    Py_ssize_t fill = so->fill;
  652|     27|    Py_ssize_t used = so->used;
  653|     27|    Py_ssize_t oldsize = (size_t)so->mask + 1;
  654|     27|    int table_is_malloced = table != so->smalltable;
  655|     27|    setentry small_copy[PySet_MINSIZE];
  656|       |
  657|     27|    assert (PyAnySet_Check(so));
  ------------------
  |  Branch (657:5): [True: 27, False: 0]
  |  Branch (657:5): [True: 0, False: 0]
  |  Branch (657:5): [True: 0, False: 0]
  |  Branch (657:5): [True: 0, False: 0]
  ------------------
  658|     27|    assert(table != NULL);
  ------------------
  |  Branch (658:5): [True: 27, False: 0]
  ------------------
  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|     27|    if (table_is_malloced)
  ------------------
  |  Branch (666:9): [True: 0, False: 27]
  ------------------
  667|      0|        set_empty_to_minsize(so);
  668|       |
  669|     27|    else if (fill > 0) {
  ------------------
  |  Branch (669:14): [True: 27, 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|     27|        memcpy(small_copy, table, sizeof(small_copy));
  675|     27|        table = small_copy;
  676|     27|        set_empty_to_minsize(so);
  677|     27|    }
  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|    153|    for (entry = table; used > 0; entry++) {
  ------------------
  |  Branch (684:25): [True: 126, False: 27]
  ------------------
  685|    126|        if (entry->key && entry->key != dummy) {
  ------------------
  |  |   64|     27|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (685:13): [True: 27, False: 99]
  |  Branch (685:27): [True: 27, False: 0]
  ------------------
  686|     27|            used--;
  687|     27|            Py_DECREF(entry->key);
  ------------------
  |  |  430|     27|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  688|     27|        }
  689|    126|    }
  690|       |
  691|     27|    if (table_is_malloced)
  ------------------
  |  Branch (691:9): [True: 0, False: 27]
  ------------------
  692|      0|        free_entries(table, oldsize, SET_IS_SHARED(so));
  ------------------
  |  |  132|      0|#define SET_IS_SHARED(so) 0
  ------------------
  693|     27|    return 0;
  694|     27|}
setobject.c:set_empty_to_minsize:
  635|     27|{
  636|     27|    FT_ATOMIC_STORE_PTR_RELEASE(so->table, NULL);
  ------------------
  |  |  164|     27|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  637|     27|    set_zero_table(so->smalltable, PySet_MINSIZE);
  ------------------
  |  |   18|     27|#define PySet_MINSIZE 8
  ------------------
  638|     27|    so->fill = 0;
  639|     27|    FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, 0);
  ------------------
  |  |  194|     27|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  640|     27|    FT_ATOMIC_STORE_SSIZE_RELEASE(so->mask, PySet_MINSIZE - 1);
  ------------------
  |  |  169|     27|#define FT_ATOMIC_STORE_SSIZE_RELEASE(value, new_value) value = new_value
  ------------------
  641|     27|    FT_ATOMIC_STORE_SSIZE_RELAXED(so->hash, -1);
  ------------------
  |  |  194|     27|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  642|     27|    FT_ATOMIC_STORE_PTR_RELEASE(so->table, so->smalltable);
  ------------------
  |  |  164|     27|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  643|     27|}
setobject.c:set_richcompare:
 2491|    874|{
 2492|    874|    PySetObject *v = _PySet_CAST(self);
  ------------------
  |  |   62|    874|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|    874|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (2492:22): [True: 874, False: 0]
  |  Branch (2492:22): [True: 0, False: 0]
  |  Branch (2492:22): [True: 0, False: 0]
  |  Branch (2492:22): [True: 0, False: 0]
  ------------------
 2493|      0|    PyObject *r1;
 2494|    874|    int r2;
 2495|       |
 2496|    874|    if(!PyAnySet_Check(w))
  ------------------
  |  |   31|    874|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  1.74k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    874|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    874|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4, False: 870]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  1.74k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    870|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    870|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 870]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|    874|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|    870|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    870|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    870|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 870]
  |  |  ------------------
  |  |   33|    874|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|    870|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    870|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    870|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 870]
  |  |  ------------------
  ------------------
 2497|    870|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|    870|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|    870|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 2498|       |
 2499|      4|    switch (op) {
  ------------------
  |  Branch (2499:13): [True: 4, False: 0]
  ------------------
 2500|      0|    case Py_EQ:
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
  |  Branch (2500:5): [True: 0, False: 4]
  ------------------
 2501|      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 (2501:13): [True: 0, False: 0]
  ------------------
 2502|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2503|      0|        Py_hash_t v_hash = FT_ATOMIC_LOAD_SSIZE_RELAXED(v->hash);
  ------------------
  |  |  149|      0|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 2504|      0|        Py_hash_t w_hash = FT_ATOMIC_LOAD_SSIZE_RELAXED(((PySetObject *)w)->hash);
  ------------------
  |  |  149|      0|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 2505|      0|        if (v_hash != -1 && w_hash != -1 && v_hash != w_hash)
  ------------------
  |  Branch (2505:13): [True: 0, False: 0]
  |  Branch (2505:29): [True: 0, False: 0]
  |  Branch (2505:45): [True: 0, False: 0]
  ------------------
 2506|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2507|      0|        return set_issubset((PyObject*)v, w);
 2508|      0|    case Py_NE:
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (2508:5): [True: 0, False: 4]
  ------------------
 2509|      0|        r1 = set_richcompare((PyObject*)v, w, Py_EQ);
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
 2510|      0|        if (r1 == NULL)
  ------------------
  |  Branch (2510:13): [True: 0, False: 0]
  ------------------
 2511|      0|            return NULL;
 2512|      0|        r2 = PyObject_IsTrue(r1);
 2513|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2514|      0|        if (r2 < 0)
  ------------------
  |  Branch (2514:13): [True: 0, False: 0]
  ------------------
 2515|      0|            return NULL;
 2516|      0|        return PyBool_FromLong(!r2);
 2517|      4|    case Py_LE:
  ------------------
  |  |  653|      4|#define Py_LE 1
  ------------------
  |  Branch (2517:5): [True: 4, False: 0]
  ------------------
 2518|      4|        return set_issubset((PyObject*)v, w);
 2519|      0|    case Py_GE:
  ------------------
  |  |  657|      0|#define Py_GE 5
  ------------------
  |  Branch (2519:5): [True: 0, False: 4]
  ------------------
 2520|      0|        return set_issuperset((PyObject*)v, w);
 2521|      0|    case Py_LT:
  ------------------
  |  |  652|      0|#define Py_LT 0
  ------------------
  |  Branch (2521:5): [True: 0, False: 4]
  ------------------
 2522|      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 (2522:13): [True: 0, False: 0]
  ------------------
 2523|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2524|      0|        return set_issubset((PyObject*)v, w);
 2525|      0|    case Py_GT:
  ------------------
  |  |  656|      0|#define Py_GT 4
  ------------------
  |  Branch (2525:5): [True: 0, False: 4]
  ------------------
 2526|      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 (2526:13): [True: 0, False: 0]
  ------------------
 2527|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2528|      0|        return set_issuperset((PyObject*)v, w);
 2529|      4|    }
 2530|      0|    Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 2531|      4|}
setobject.c:set_issubset_impl:
 2416|      4|{
 2417|      4|    setentry *entry;
 2418|      4|    Py_ssize_t pos = 0;
 2419|      4|    int rv;
 2420|       |
 2421|      4|    if (!PyAnySet_Check(other)) {
  ------------------
  |  |   31|      4|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|      4|#  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|      4|      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|      4|      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]
  |  |  ------------------
  ------------------
 2422|      0|        PyObject *tmp = set_intersection(so, other);
 2423|      0|        if (tmp == NULL) {
  ------------------
  |  Branch (2423:13): [True: 0, False: 0]
  ------------------
 2424|      0|            return NULL;
 2425|      0|        }
 2426|      0|        int result = (PySet_GET_SIZE(tmp) == PySet_GET_SIZE(so));
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      int result = (PySet_GET_SIZE(tmp) == PySet_GET_SIZE(so));
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2427|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2428|      0|        return PyBool_FromLong(result);
 2429|      0|    }
 2430|      4|    if (PySet_GET_SIZE(so) > PySet_GET_SIZE(other))
  ------------------
  |  |   71|      4|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PySet_GET_SIZE(so) > PySet_GET_SIZE(other))
  ------------------
  |  |   71|      4|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2430:9): [True: 0, False: 4]
  ------------------
 2431|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2432|       |
 2433|     12|    while (set_next(so, &pos, &entry)) {
  ------------------
  |  Branch (2433:12): [True: 8, False: 4]
  ------------------
 2434|      8|        PyObject *key = entry->key;
 2435|      8|        Py_INCREF(key);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2436|      8|        rv = set_contains_entry((PySetObject *)other, key, entry->hash);
 2437|      8|        Py_DECREF(key);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2438|      8|        if (rv < 0) {
  ------------------
  |  Branch (2438:13): [True: 0, False: 8]
  ------------------
 2439|      0|            return NULL;
 2440|      0|        }
 2441|      8|        if (!rv) {
  ------------------
  |  Branch (2441:13): [True: 0, False: 8]
  ------------------
 2442|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2443|      0|        }
 2444|      8|    }
 2445|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2446|      4|}
setobject.c:set_iter:
 1173|  3.17k|{
 1174|  3.17k|    Py_ssize_t size = set_len(so);
 1175|  3.17k|    setiterobject *si = PyObject_GC_New(setiterobject, &PySetIter_Type);
  ------------------
  |  |  181|  3.17k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  3.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1176|  3.17k|    if (si == NULL)
  ------------------
  |  Branch (1176:9): [True: 0, False: 3.17k]
  ------------------
 1177|      0|        return NULL;
 1178|  3.17k|    si->si_set = (PySetObject*)Py_NewRef(so);
  ------------------
  |  |  550|  3.17k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1179|  3.17k|    si->si_used = size;
 1180|  3.17k|    si->si_pos = 0;
 1181|  3.17k|    si->len = size;
 1182|  3.17k|    _PyObject_GC_TRACK(si);
  ------------------
  |  |  507|  3.17k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1183|  3.17k|    return (PyObject *)si;
 1184|  3.17k|}
setobject.c:set_add_impl:
 2548|  8.92k|{
 2549|  8.92k|    if (set_add_key(so, key))
  ------------------
  |  Branch (2549:9): [True: 0, False: 8.92k]
  ------------------
 2550|      0|        return NULL;
 2551|  8.92k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  8.92k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  8.92k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2552|  8.92k|}
setobject.c:set_difference_update_impl:
 2053|    870|{
 2054|    870|    Py_ssize_t i;
 2055|       |
 2056|  1.74k|    for (i = 0; i < others_length; i++) {
  ------------------
  |  Branch (2056:17): [True: 870, False: 870]
  ------------------
 2057|    870|        PyObject *other = others[i];
 2058|    870|        int rv;
 2059|    870|        Py_BEGIN_CRITICAL_SECTION2(so, other);
  ------------------
  |  |   57|    870|    {
  ------------------
 2060|    870|        rv = set_difference_update_internal(so, other);
 2061|    870|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|    870|    }
  ------------------
 2062|    870|        if (rv) {
  ------------------
  |  Branch (2062:13): [True: 0, False: 870]
  ------------------
 2063|      0|            return NULL;
 2064|      0|        }
 2065|    870|    }
 2066|    870|    Py_RETURN_NONE;
  ------------------
  |  |  628|    870|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    870|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2067|    870|}
setobject.c:set_remove_impl:
 2653|  2.21k|{
 2654|  2.21k|    int rv;
 2655|       |
 2656|  2.21k|    rv = set_discard_key(so, key);
 2657|  2.21k|    if (rv < 0) {
  ------------------
  |  Branch (2657:9): [True: 0, False: 2.21k]
  ------------------
 2658|      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 (2658:34): [True: 0, False: 0]
  ------------------
 2659|      0|            return NULL;
 2660|      0|        PyErr_Clear();
 2661|      0|        Py_hash_t hash;
 2662|      0|        Py_BEGIN_CRITICAL_SECTION(key);
  ------------------
  |  |   51|      0|    {
  ------------------
 2663|      0|        hash = frozenset_hash_impl(key);
 2664|      0|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 2665|      0|        rv = set_discard_entry(so, key, hash);
 2666|      0|        if (rv < 0)
  ------------------
  |  Branch (2666:13): [True: 0, False: 0]
  ------------------
 2667|      0|            return NULL;
 2668|      0|    }
 2669|       |
 2670|  2.21k|    if (rv == DISCARD_NOTFOUND) {
  ------------------
  |  |  576|  2.21k|#define DISCARD_NOTFOUND 0
  ------------------
  |  Branch (2670:9): [True: 0, False: 2.21k]
  ------------------
 2671|      0|        _PyErr_SetKeyError(key);
 2672|      0|        return NULL;
 2673|      0|    }
 2674|  2.21k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  2.21k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  2.21k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2675|  2.21k|}
setobject.c:set_vectorcall:
 2794|  2.69k|{
 2795|  2.69k|    assert(PyType_Check(type));
  ------------------
  |  Branch (2795:5): [True: 2.69k, False: 0]
  ------------------
 2796|       |
 2797|  2.69k|    if (!_PyArg_NoKwnames("set", kwnames)) {
  ------------------
  |  |   15|  2.69k|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 2.69k, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2798|      0|        return NULL;
 2799|      0|    }
 2800|       |
 2801|  2.69k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  2.69k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 2802|  2.69k|    if (!_PyArg_CheckPositional("set", nargs, 0, 1)) {
  ------------------
  |  |   31|  2.69k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 2.69k, False: 0]
  |  |  |  Branch (31:27): [True: 2.69k, False: 0]
  |  |  ------------------
  |  |   32|  2.69k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2803|      0|        return NULL;
 2804|      0|    }
 2805|       |
 2806|  2.69k|    if (nargs) {
  ------------------
  |  Branch (2806:9): [True: 14, False: 2.67k]
  ------------------
 2807|     14|        return make_new_set(_PyType_CAST(type), args[0]);
  ------------------
  |  |  770|     14|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (2807:29): [True: 14, False: 0]
  ------------------
 2808|     14|    }
 2809|       |
 2810|  2.67k|    return make_new_set(_PyType_CAST(type), NULL);
  ------------------
  |  |  770|  2.67k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (2810:25): [True: 2.67k, False: 0]
  ------------------
 2811|  2.67k|}
setobject.c:frozenset___contains___impl:
 2618|     15|{
 2619|     15|    Py_hash_t hash = PyObject_Hash(key);
 2620|     15|    if (hash == -1) {
  ------------------
  |  Branch (2620:9): [True: 0, False: 15]
  ------------------
 2621|      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 (2621:34): [True: 0, False: 0]
  ------------------
 2622|      0|            set_unhashable_type(key);
 2623|      0|            return NULL;
 2624|      0|        }
 2625|      0|        PyErr_Clear();
 2626|      0|        Py_BEGIN_CRITICAL_SECTION(key);
  ------------------
  |  |   51|      0|    {
  ------------------
 2627|      0|        hash = frozenset_hash_impl(key);
 2628|      0|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 2629|      0|    }
 2630|     15|    setentry *entry; // unused
 2631|     15|    int status = set_do_lookup(so, so->table, so->mask, key, hash, &entry,
 2632|     15|                           set_compare_frozenset);
 2633|     15|    if (status < 0)
  ------------------
  |  Branch (2633:9): [True: 0, False: 15]
  ------------------
 2634|      0|        return NULL;
 2635|     15|    return PyBool_FromLong(status);
 2636|     15|}
setobject.c:make_new_frozenset:
 1432|     10|{
 1433|     10|    if (type != &PyFrozenSet_Type) {
  ------------------
  |  Branch (1433:9): [True: 0, False: 10]
  ------------------
 1434|      0|        return make_new_set(type, iterable);
 1435|      0|    }
 1436|       |
 1437|     10|    if (iterable != NULL && PyFrozenSet_CheckExact(iterable)) {
  ------------------
  |  |   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: 0, False: 10]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1437:9): [True: 10, False: 0]
  ------------------
 1438|       |        /* frozenset(f) is idempotent */
 1439|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1440|      0|    }
 1441|     10|    PyObject *obj = make_new_set(type, iterable);
 1442|     10|    if (obj != NULL) {
  ------------------
  |  Branch (1442:9): [True: 10, False: 0]
  ------------------
 1443|     10|        _PyFrozenSet_MaybeUntrack(obj);
 1444|     10|    }
 1445|     10|    return obj;
 1446|     10|}
setobject.c:frozenset_vectorcall:
 1469|     10|{
 1470|     10|    if (!_PyArg_NoKwnames("frozenset", kwnames)) {
  ------------------
  |  |   15|     10|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 10, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1471|      0|        return NULL;
 1472|      0|    }
 1473|       |
 1474|     10|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     10|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 1475|     10|    if (!_PyArg_CheckPositional("frozenset", nargs, 0, 1)) {
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 1476|      0|        return NULL;
 1477|      0|    }
 1478|       |
 1479|     10|    PyObject *iterable = (nargs ? args[0] : NULL);
  ------------------
  |  Branch (1479:27): [True: 10, False: 0]
  ------------------
 1480|     10|    return make_new_frozenset(_PyType_CAST(type), iterable);
  ------------------
  |  |  770|     10|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1480:31): [True: 10, False: 0]
  ------------------
 1481|     10|}
setobject.c:make_new_set:
 1380|  4.72k|{
 1381|  4.72k|    PyObject *so = make_new_set_untracked(type, iterable);
 1382|  4.72k|    if (so != NULL) {
  ------------------
  |  Branch (1382:9): [True: 4.72k, False: 0]
  ------------------
 1383|  4.72k|        _PyObject_GC_TRACK(so);
  ------------------
  |  |  507|  4.72k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.72k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.72k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1384|  4.72k|    }
 1385|  4.72k|    return so;
 1386|  4.72k|}
setobject.c:_PyFrozenSet_MaybeUntrack:
 1413|    127|{
 1414|    127|    assert(op != NULL);
  ------------------
  |  Branch (1414:5): [True: 127, False: 0]
  ------------------
 1415|       |    // subclasses of a frozenset can generate reference cycles, so do not untrack
 1416|    127|    if (!PyFrozenSet_CheckExact(op)) {
  ------------------
  |  |   23|    127|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|    127|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    127|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    127|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1416:9): [True: 0, False: 127]
  ------------------
 1417|      0|        return;
 1418|      0|    }
 1419|       |    // if no elements of a frozenset are tracked by the GC, we untrack the object
 1420|    127|    Py_ssize_t pos = 0;
 1421|    127|    setentry *entry;
 1422|    867|    while (set_next((PySetObject *)op, &pos, &entry)) {
  ------------------
  |  Branch (1422:12): [True: 767, False: 100]
  ------------------
 1423|    767|        if (_PyObject_GC_MAY_BE_TRACKED(entry->key)) {
  ------------------
  |  Branch (1423:13): [True: 27, False: 740]
  ------------------
 1424|     27|            return;
 1425|     27|        }
 1426|    767|    }
 1427|    100|    _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  509|    100|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    100|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    100|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1428|    100|}
setobject.c:set_len:
  823|  14.0k|{
  824|  14.0k|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|  14.0k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|  14.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (824:23): [True: 13.9k, False: 155]
  |  Branch (824:23): [True: 155, False: 0]
  |  Branch (824:23): [True: 0, False: 0]
  |  Branch (824:23): [True: 0, False: 0]
  ------------------
  825|  14.0k|    return FT_ATOMIC_LOAD_SSIZE_RELAXED(so->used);
  ------------------
  |  |  149|  14.0k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  826|  14.0k|}
setobject.c:set_clear_impl:
 1643|     27|{
 1644|     27|    set_clear_internal((PyObject*)so);
 1645|     27|    Py_RETURN_NONE;
  ------------------
  |  |  628|     27|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     27|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1646|     27|}
setobject.c:set_discard_key:
  624|  2.32k|{
  625|  2.32k|    Py_hash_t hash = PyObject_Hash(key);
  626|  2.32k|    if (hash == -1) {
  ------------------
  |  Branch (626:9): [True: 0, False: 2.32k]
  ------------------
  627|      0|        set_unhashable_type(key);
  628|      0|        return -1;
  629|      0|    }
  630|  2.32k|    return set_discard_entry(so, key, hash);
  631|  2.32k|}
setobject.c:set_add_key:
  602|  10.6k|{
  603|  10.6k|    Py_hash_t hash = PyObject_Hash(key);
  604|  10.6k|    if (hash == -1) {
  ------------------
  |  Branch (604:9): [True: 0, False: 10.6k]
  ------------------
  605|      0|        set_unhashable_type(key);
  606|      0|        return -1;
  607|      0|    }
  608|  10.6k|    return set_add_entry(so, key, hash);
  609|  10.6k|}
setobject.c:set_next:
  711|   177k|{
  712|   177k|    Py_ssize_t i;
  713|   177k|    Py_ssize_t mask;
  714|   177k|    setentry *entry;
  715|       |
  716|   177k|    assert (PyAnySet_Check(so));
  ------------------
  |  Branch (716:5): [True: 172k, False: 4.69k]
  |  Branch (716:5): [True: 4.69k, False: 0]
  |  Branch (716:5): [True: 0, False: 0]
  |  Branch (716:5): [True: 0, False: 0]
  ------------------
  717|   177k|    i = *pos_ptr;
  718|   177k|    assert(i >= 0);
  ------------------
  |  Branch (718:5): [True: 177k, False: 0]
  ------------------
  719|   177k|    mask = so->mask;
  720|   177k|    entry = &so->table[i];
  721|   494k|    while (i <= mask && (entry->key == NULL || entry->key == dummy)) {
  ------------------
  |  |   64|   155k|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (721:12): [True: 472k, False: 21.8k]
  |  Branch (721:26): [True: 316k, False: 155k]
  |  Branch (721:48): [True: 544, False: 155k]
  ------------------
  722|   317k|        i++;
  723|   317k|        entry++;
  724|   317k|    }
  725|   177k|    *pos_ptr = i+1;
  726|   177k|    if (i > mask)
  ------------------
  |  Branch (726:9): [True: 21.8k, False: 155k]
  ------------------
  727|  21.8k|        return 0;
  728|   177k|    assert(entry != NULL);
  ------------------
  |  Branch (728:5): [True: 155k, False: 0]
  ------------------
  729|   155k|    *entry_ptr = entry;
  730|   155k|    return 1;
  731|   155k|}
setobject.c:set_pop_impl:
  913|  4.09k|{
  914|       |    /* Make sure the search finger is in bounds */
  915|  4.09k|    setentry *entry = so->table + (so->finger & so->mask);
  916|  4.09k|    setentry *limit = so->table + so->mask;
  917|  4.09k|    PyObject *key;
  918|       |
  919|  4.09k|    if (so->used == 0) {
  ------------------
  |  Branch (919:9): [True: 0, False: 4.09k]
  ------------------
  920|      0|        PyErr_SetString(PyExc_KeyError, "pop from an empty set");
  921|      0|        return NULL;
  922|      0|    }
  923|  15.6k|    while (entry->key == NULL || entry->key==dummy) {
  ------------------
  |  |   64|  4.31k|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (923:12): [True: 11.2k, False: 4.31k]
  |  Branch (923:34): [True: 215, False: 4.09k]
  ------------------
  924|  11.5k|        entry++;
  925|  11.5k|        if (entry > limit)
  ------------------
  |  Branch (925:13): [True: 630, False: 10.8k]
  ------------------
  926|    630|            entry = so->table;
  927|  11.5k|    }
  928|  4.09k|    FT_ATOMIC_STORE_SSIZE_RELAXED(entry->hash, -1);
  ------------------
  |  |  194|  4.09k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  929|  4.09k|    FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, so->used - 1);
  ------------------
  |  |  194|  4.09k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  930|  4.09k|    key = entry->key;
  931|  4.09k|    FT_ATOMIC_STORE_PTR_RELEASE(entry->key, dummy);
  ------------------
  |  |  164|  4.09k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  932|  4.09k|    so->finger = entry - so->table + 1;   /* next place to start */
  933|  4.09k|    return key;
  934|  4.09k|}
setobject.c:set_update_internal:
 1285|     21|{
 1286|     21|    if (PyAnySet_Check(other)) {
  ------------------
  |  |   31|     21|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|     42|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 21, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|     21|#  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|     21|      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|     21|      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]
  |  |  ------------------
  ------------------
 1287|     21|        if (Py_Is((PyObject *)so, other)) {
  ------------------
  |  |  187|     21|#define Py_Is(x, y) ((x) == (y))
  |  |  ------------------
  |  |  |  Branch (187:21): [True: 0, False: 21]
  |  |  ------------------
  ------------------
 1288|      0|            return 0;
 1289|      0|        }
 1290|     21|        int rv;
 1291|     21|        Py_BEGIN_CRITICAL_SECTION2(so, other);
  ------------------
  |  |   57|     21|    {
  ------------------
 1292|     21|        rv = set_merge_lock_held(so, other);
 1293|     21|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|     21|    }
  ------------------
 1294|     21|        return rv;
 1295|     21|    }
 1296|      0|    else if (PyDict_CheckExact(other)) {
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|      0|    else if (PyFrozenDict_CheckExact(other)) {
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|      0|    else {
 1311|      0|        int rv;
 1312|      0|        Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|      0|    {
  ------------------
 1313|      0|        rv = set_update_iterable_lock_held(so, other);
 1314|      0|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 1315|      0|        return rv;
 1316|      0|    }
 1317|     21|}

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

unicodeobject.c:asciilib_utf8_decode:
   26|      4|{
   27|      4|    Py_UCS4 ch;
   28|      4|    const char *s = *inptr;
   29|      4|    STRINGLIB_CHAR *p = dest + *outpos;
  ------------------
  |  |   11|      4|#define STRINGLIB_CHAR           Py_UCS1
  ------------------
   30|       |
   31|      4|    while (s < end) {
  ------------------
  |  Branch (31:12): [True: 4, False: 0]
  ------------------
   32|      4|        ch = (unsigned char)*s;
   33|       |
   34|      4|        if (ch < 0x80) {
  ------------------
  |  Branch (34:13): [True: 0, False: 4]
  ------------------
   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) {
  ------------------
  |  | 1925|      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;
  ------------------
  |  | 1925|      0|#define SIZEOF_SIZE_T 8
  ------------------
   82|      0|                    _p += SIZEOF_SIZE_T;
  ------------------
  |  | 1925|      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|      4|        if (ch < 0xE0) {
  ------------------
  |  Branch (97:13): [True: 4, False: 0]
  ------------------
   98|       |            /* \xC2\x80-\xDF\xBF -- 0080-07FF */
   99|      4|            Py_UCS4 ch2;
  100|      4|            if (ch < 0xC2) {
  ------------------
  |  Branch (100:17): [True: 0, False: 4]
  ------------------
  101|       |                /* invalid sequence
  102|       |                \x80-\xBF -- continuation byte
  103|       |                \xC0-\xC1 -- fake 0000-007F */
  104|      0|                goto InvalidStart;
  105|      0|            }
  106|      4|            if (end - s < 2) {
  ------------------
  |  Branch (106:17): [True: 0, False: 4]
  ------------------
  107|       |                /* unexpected end of data: the caller will decide whether
  108|       |                   it's an error or not */
  109|      0|                break;
  110|      0|            }
  111|      4|            ch2 = (unsigned char)s[1];
  112|      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]
  |  |  ------------------
  ------------------
  113|       |                /* invalid continuation byte */
  114|      0|                goto InvalidContinuation1;
  115|      4|            ch = (ch << 6) + ch2 -
  116|      4|                 ((0xC0 << 6) + 0x80);
  117|      4|            assert ((ch > 0x007F) && (ch <= 0x07FF));
  ------------------
  |  Branch (117:13): [True: 4, False: 0]
  |  Branch (117:13): [True: 4, False: 0]
  ------------------
  118|      4|            s += 2;
  119|      4|            if (STRINGLIB_MAX_CHAR <= 0x007F ||
  ------------------
  |  |   10|      4|#define STRINGLIB_MAX_CHAR       0x7Fu
  ------------------
  |  Branch (119:17): [True: 4, 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|      4|                goto Return;
  123|      0|            *p++ = ch;
  124|      0|            continue;
  125|      4|        }
  126|       |
  127|      0|        if (ch < 0xF0) {
  ------------------
  |  Branch (127:13): [True: 0, False: 0]
  ------------------
  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));
  ------------------
  |  Branch (167:13): [True: 0, False: 0]
  |  Branch (167:13): [True: 0, False: 0]
  ------------------
  168|      0|            s += 3;
  169|      0|            if (STRINGLIB_MAX_CHAR <= 0x07FF ||
  ------------------
  |  |   10|      0|#define STRINGLIB_MAX_CHAR       0x7Fu
  ------------------
  |  Branch (169:17): [True: 0, 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|      0|                goto Return;
  173|      0|            *p++ = ch;
  174|      0|            continue;
  175|      0|        }
  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));
  ------------------
  |  Branch (224:13): [True: 0, False: 0]
  |  Branch (224:13): [True: 0, False: 0]
  ------------------
  225|      0|            s += 4;
  226|      0|            if (STRINGLIB_MAX_CHAR <= 0xFFFF ||
  ------------------
  |  |   10|      0|#define STRINGLIB_MAX_CHAR       0x7Fu
  ------------------
  |  Branch (226:17): [True: 0, 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|      0|                goto Return;
  230|      0|            *p++ = ch;
  231|      0|            continue;
  232|      0|        }
  233|      0|        goto InvalidStart;
  234|      0|    }
  235|      0|    ch = 0;
  236|      4|Return:
  237|      4|    *inptr = s;
  238|      4|    *outpos = p - dest;
  239|      4|    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|      4|{
   27|      4|    Py_UCS4 ch;
   28|      4|    const char *s = *inptr;
   29|      4|    STRINGLIB_CHAR *p = dest + *outpos;
  ------------------
  |  |   11|      4|#define STRINGLIB_CHAR           Py_UCS1
  ------------------
   30|       |
   31|     66|    while (s < end) {
  ------------------
  |  Branch (31:12): [True: 64, False: 2]
  ------------------
   32|     64|        ch = (unsigned char)*s;
   33|       |
   34|     64|        if (ch < 0x80) {
  ------------------
  |  Branch (34:13): [True: 4, False: 60]
  ------------------
   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|      4|            if (_Py_IS_ALIGNED(s, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  221|      4|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (221:30): [True: 0, False: 4]
  |  |  ------------------
  ------------------
   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) {
  ------------------
  |  | 1925|      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;
  ------------------
  |  | 1925|      0|#define SIZEOF_SIZE_T 8
  ------------------
   82|      0|                    _p += SIZEOF_SIZE_T;
  ------------------
  |  | 1925|      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|      4|            if (ch < 0x80) {
  ------------------
  |  Branch (90:17): [True: 4, False: 0]
  ------------------
   91|      4|                s++;
   92|      4|                *p++ = ch;
   93|      4|                continue;
   94|      4|            }
   95|      4|        }
   96|       |
   97|     60|        if (ch < 0xE0) {
  ------------------
  |  Branch (97:13): [True: 58, False: 2]
  ------------------
   98|       |            /* \xC2\x80-\xDF\xBF -- 0080-07FF */
   99|     58|            Py_UCS4 ch2;
  100|     58|            if (ch < 0xC2) {
  ------------------
  |  Branch (100:17): [True: 0, False: 58]
  ------------------
  101|       |                /* invalid sequence
  102|       |                \x80-\xBF -- continuation byte
  103|       |                \xC0-\xC1 -- fake 0000-007F */
  104|      0|                goto InvalidStart;
  105|      0|            }
  106|     58|            if (end - s < 2) {
  ------------------
  |  Branch (106:17): [True: 0, False: 58]
  ------------------
  107|       |                /* unexpected end of data: the caller will decide whether
  108|       |                   it's an error or not */
  109|      0|                break;
  110|      0|            }
  111|     58|            ch2 = (unsigned char)s[1];
  112|     58|            if (!IS_CONTINUATION_BYTE(ch2))
  ------------------
  |  |   20|     58|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 58, False: 0]
  |  |  |  Branch (20:51): [True: 58, False: 0]
  |  |  ------------------
  ------------------
  113|       |                /* invalid continuation byte */
  114|      0|                goto InvalidContinuation1;
  115|     58|            ch = (ch << 6) + ch2 -
  116|     58|                 ((0xC0 << 6) + 0x80);
  117|     58|            assert ((ch > 0x007F) && (ch <= 0x07FF));
  ------------------
  |  Branch (117:13): [True: 58, False: 0]
  |  Branch (117:13): [True: 58, False: 0]
  ------------------
  118|     58|            s += 2;
  119|     58|            if (STRINGLIB_MAX_CHAR <= 0x007F ||
  ------------------
  |  |   10|     58|#define STRINGLIB_MAX_CHAR       0xFFu
  ------------------
  |  Branch (119:17): [Folded, False: 58]
  ------------------
  120|     58|                (STRINGLIB_MAX_CHAR < 0x07FF && ch > STRINGLIB_MAX_CHAR))
  ------------------
  |  |   10|     58|#define STRINGLIB_MAX_CHAR       0xFFu
  ------------------
                              (STRINGLIB_MAX_CHAR < 0x07FF && ch > STRINGLIB_MAX_CHAR))
  ------------------
  |  |   10|     58|#define STRINGLIB_MAX_CHAR       0xFFu
  ------------------
  |  Branch (120:18): [True: 58, Folded]
  |  Branch (120:49): [True: 0, False: 58]
  ------------------
  121|       |                /* Out-of-range */
  122|      0|                goto Return;
  123|     58|            *p++ = ch;
  124|     58|            continue;
  125|     58|        }
  126|       |
  127|      2|        if (ch < 0xF0) {
  ------------------
  |  Branch (127:13): [True: 2, False: 0]
  ------------------
  128|       |            /* \xE0\xA0\x80-\xEF\xBF\xBF -- 0800-FFFF */
  129|      2|            Py_UCS4 ch2, ch3;
  130|      2|            if (end - s < 3) {
  ------------------
  |  Branch (130:17): [True: 0, False: 2]
  ------------------
  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|      2|            ch2 = (unsigned char)s[1];
  143|      2|            ch3 = (unsigned char)s[2];
  144|      2|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|      2|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 2, False: 0]
  |  |  |  Branch (20:51): [True: 2, False: 0]
  |  |  ------------------
  ------------------
  145|       |                /* invalid continuation byte */
  146|      0|                goto InvalidContinuation1;
  147|      0|            }
  148|      2|            if (ch == 0xE0) {
  ------------------
  |  Branch (148:17): [True: 0, False: 2]
  ------------------
  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|      2|            } else if (ch == 0xED && ch2 >= 0xA0) {
  ------------------
  |  Branch (153:24): [True: 0, False: 2]
  |  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|      2|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|      2|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 2, False: 0]
  |  |  |  Branch (20:51): [True: 2, False: 0]
  |  |  ------------------
  ------------------
  162|       |                /* invalid continuation byte */
  163|      0|                goto InvalidContinuation2;
  164|      0|            }
  165|      2|            ch = (ch << 12) + (ch2 << 6) + ch3 -
  166|      2|                 ((0xE0 << 12) + (0x80 << 6) + 0x80);
  167|      2|            assert ((ch > 0x07FF) && (ch <= 0xFFFF));
  ------------------
  |  Branch (167:13): [True: 2, False: 0]
  |  Branch (167:13): [True: 2, False: 0]
  ------------------
  168|      2|            s += 3;
  169|      2|            if (STRINGLIB_MAX_CHAR <= 0x07FF ||
  ------------------
  |  |   10|      2|#define STRINGLIB_MAX_CHAR       0xFFu
  ------------------
  |  Branch (169:17): [True: 2, 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|      2|                goto Return;
  173|      0|            *p++ = ch;
  174|      0|            continue;
  175|      2|        }
  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));
  ------------------
  |  Branch (224:13): [True: 0, False: 0]
  |  Branch (224:13): [True: 0, False: 0]
  ------------------
  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|      2|    ch = 0;
  236|      4|Return:
  237|      4|    *inptr = s;
  238|      4|    *outpos = p - dest;
  239|      4|    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|      2|}
unicodeobject.c:ucs2lib_utf8_decode:
   26|      2|{
   27|      2|    Py_UCS4 ch;
   28|      2|    const char *s = *inptr;
   29|      2|    STRINGLIB_CHAR *p = dest + *outpos;
  ------------------
  |  |   11|      2|#define STRINGLIB_CHAR           Py_UCS2
  ------------------
   30|       |
   31|    196|    while (s < end) {
  ------------------
  |  Branch (31:12): [True: 194, False: 2]
  ------------------
   32|    194|        ch = (unsigned char)*s;
   33|       |
   34|    194|        if (ch < 0x80) {
  ------------------
  |  Branch (34:13): [True: 0, False: 194]
  ------------------
   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_UCS2
  ------------------
   46|      0|                while (_s + SIZEOF_SIZE_T <= end) {
  ------------------
  |  | 1925|      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;
  ------------------
  |  | 1925|      0|#define SIZEOF_SIZE_T 8
  ------------------
   82|      0|                    _p += SIZEOF_SIZE_T;
  ------------------
  |  | 1925|      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|    194|        if (ch < 0xE0) {
  ------------------
  |  Branch (97:13): [True: 72, False: 122]
  ------------------
   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));
  ------------------
  |  Branch (117:13): [True: 72, False: 0]
  |  Branch (117:13): [True: 72, False: 0]
  ------------------
  118|     72|            s += 2;
  119|     72|            if (STRINGLIB_MAX_CHAR <= 0x007F ||
  ------------------
  |  |   10|     72|#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|     72|            *p++ = ch;
  124|     72|            continue;
  125|     72|        }
  126|       |
  127|    122|        if (ch < 0xF0) {
  ------------------
  |  Branch (127:13): [True: 122, False: 0]
  ------------------
  128|       |            /* \xE0\xA0\x80-\xEF\xBF\xBF -- 0800-FFFF */
  129|    122|            Py_UCS4 ch2, ch3;
  130|    122|            if (end - s < 3) {
  ------------------
  |  Branch (130:17): [True: 0, False: 122]
  ------------------
  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|    122|            ch2 = (unsigned char)s[1];
  143|    122|            ch3 = (unsigned char)s[2];
  144|    122|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|    122|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 122, False: 0]
  |  |  |  Branch (20:51): [True: 122, False: 0]
  |  |  ------------------
  ------------------
  145|       |                /* invalid continuation byte */
  146|      0|                goto InvalidContinuation1;
  147|      0|            }
  148|    122|            if (ch == 0xE0) {
  ------------------
  |  Branch (148:17): [True: 0, False: 122]
  ------------------
  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|    122|            } else if (ch == 0xED && ch2 >= 0xA0) {
  ------------------
  |  Branch (153:24): [True: 0, False: 122]
  |  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|    122|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|    122|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 122, False: 0]
  |  |  |  Branch (20:51): [True: 122, False: 0]
  |  |  ------------------
  ------------------
  162|       |                /* invalid continuation byte */
  163|      0|                goto InvalidContinuation2;
  164|      0|            }
  165|    122|            ch = (ch << 12) + (ch2 << 6) + ch3 -
  166|    122|                 ((0xE0 << 12) + (0x80 << 6) + 0x80);
  167|    122|            assert ((ch > 0x07FF) && (ch <= 0xFFFF));
  ------------------
  |  Branch (167:13): [True: 122, False: 0]
  |  Branch (167:13): [True: 122, False: 0]
  ------------------
  168|    122|            s += 3;
  169|    122|            if (STRINGLIB_MAX_CHAR <= 0x07FF ||
  ------------------
  |  |   10|    122|#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|    122|            *p++ = ch;
  174|    122|            continue;
  175|    122|        }
  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));
  ------------------
  |  Branch (224:13): [True: 0, False: 0]
  |  Branch (224:13): [True: 0, False: 0]
  ------------------
  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|      2|    ch = 0;
  236|      2|Return:
  237|      2|    *inptr = s;
  238|      2|    *outpos = p - dest;
  239|      2|    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|      2|}
unicodeobject.c:ucs4lib_utf8_decode:
   26|     14|{
   27|     14|    Py_UCS4 ch;
   28|     14|    const char *s = *inptr;
   29|     14|    STRINGLIB_CHAR *p = dest + *outpos;
  ------------------
  |  |   11|     14|#define STRINGLIB_CHAR           Py_UCS4
  ------------------
   30|       |
   31|     84|    while (s < end) {
  ------------------
  |  Branch (31:12): [True: 70, False: 14]
  ------------------
   32|     70|        ch = (unsigned char)*s;
   33|       |
   34|     70|        if (ch < 0x80) {
  ------------------
  |  Branch (34:13): [True: 70, False: 0]
  ------------------
   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|     70|            if (_Py_IS_ALIGNED(s, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  221|     70|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (221:30): [True: 12, False: 58]
  |  |  ------------------
  ------------------
   43|       |                /* Help register allocation */
   44|     12|                const char *_s = s;
   45|     12|                STRINGLIB_CHAR *_p = p;
  ------------------
  |  |   11|     12|#define STRINGLIB_CHAR           Py_UCS4
  ------------------
   46|     71|                while (_s + SIZEOF_SIZE_T <= end) {
  ------------------
  |  | 1925|     71|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (46:24): [True: 59, False: 12]
  ------------------
   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|     59|                    size_t value = *(const size_t *) _s;
   51|     59|                    if (value & ASCII_CHAR_MASK)
  ------------------
  |  |   12|     59|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
  |  Branch (51:25): [True: 0, False: 59]
  ------------------
   52|      0|                        break;
   53|     59|#if PY_LITTLE_ENDIAN
   54|     59|                    _p[0] = (STRINGLIB_CHAR)(value & 0xFFu);
   55|     59|                    _p[1] = (STRINGLIB_CHAR)((value >> 8) & 0xFFu);
   56|     59|                    _p[2] = (STRINGLIB_CHAR)((value >> 16) & 0xFFu);
   57|     59|                    _p[3] = (STRINGLIB_CHAR)((value >> 24) & 0xFFu);
   58|     59|# if SIZEOF_SIZE_T == 8
   59|     59|                    _p[4] = (STRINGLIB_CHAR)((value >> 32) & 0xFFu);
   60|     59|                    _p[5] = (STRINGLIB_CHAR)((value >> 40) & 0xFFu);
   61|     59|                    _p[6] = (STRINGLIB_CHAR)((value >> 48) & 0xFFu);
   62|     59|                    _p[7] = (STRINGLIB_CHAR)((value >> 56) & 0xFFu);
   63|     59|# 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|     59|                    _s += SIZEOF_SIZE_T;
  ------------------
  |  | 1925|     59|#define SIZEOF_SIZE_T 8
  ------------------
   82|     59|                    _p += SIZEOF_SIZE_T;
  ------------------
  |  | 1925|     59|#define SIZEOF_SIZE_T 8
  ------------------
   83|     59|                }
   84|     12|                s = _s;
   85|     12|                p = _p;
   86|     12|                if (s == end)
  ------------------
  |  Branch (86:21): [True: 0, False: 12]
  ------------------
   87|      0|                    break;
   88|     12|                ch = (unsigned char)*s;
   89|     12|            }
   90|     70|            if (ch < 0x80) {
  ------------------
  |  Branch (90:17): [True: 70, False: 0]
  ------------------
   91|     70|                s++;
   92|     70|                *p++ = ch;
   93|     70|                continue;
   94|     70|            }
   95|     70|        }
   96|       |
   97|      0|        if (ch < 0xE0) {
  ------------------
  |  Branch (97:13): [True: 0, False: 0]
  ------------------
   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));
  ------------------
  |  Branch (117:13): [True: 0, False: 0]
  |  Branch (117:13): [True: 0, False: 0]
  ------------------
  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|      0|        if (ch < 0xF0) {
  ------------------
  |  Branch (127:13): [True: 0, False: 0]
  ------------------
  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));
  ------------------
  |  Branch (167:13): [True: 0, False: 0]
  |  Branch (167:13): [True: 0, False: 0]
  ------------------
  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|      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));
  ------------------
  |  Branch (224:13): [True: 0, False: 0]
  |  Branch (224:13): [True: 0, False: 0]
  ------------------
  225|      0|            s += 4;
  226|      0|            if (STRINGLIB_MAX_CHAR <= 0xFFFF ||
  ------------------
  |  |   10|      0|#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|      0|            *p++ = ch;
  231|      0|            continue;
  232|      0|        }
  233|      0|        goto InvalidStart;
  234|      0|    }
  235|     14|    ch = 0;
  236|     14|Return:
  237|     14|    *inptr = s;
  238|     14|    *outpos = p - dest;
  239|     14|    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|     14|}

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

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

unicodeobject.c:ucs1lib_find_char:
   51|  26.7M|{
   52|  26.7M|    const STRINGLIB_CHAR *p, *e;
   53|       |
   54|  26.7M|    p = s;
   55|  26.7M|    e = s + n;
   56|  26.7M|    if (n > MEMCHR_CUT_OFF) {
  ------------------
  |  |   44|  26.7M|#  define MEMCHR_CUT_OFF 15
  ------------------
  |  Branch (56:9): [True: 355k, False: 26.3M]
  ------------------
   57|   355k|#ifdef STRINGLIB_FAST_MEMCHR
   58|   355k|        p = STRINGLIB_FAST_MEMCHR(s, ch, n);
  ------------------
  |  |   23|   355k|#define STRINGLIB_FAST_MEMCHR    memchr
  ------------------
   59|   355k|        if (p != NULL)
  ------------------
  |  Branch (59:13): [True: 355k, False: 17]
  ------------------
   60|   355k|            return (p - s);
   61|     17|        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|   355k|    }
   98|   147M|    while (p < e) {
  ------------------
  |  Branch (98:12): [True: 130M, False: 17.0M]
  ------------------
   99|   130M|        if (*p == ch)
  ------------------
  |  Branch (99:13): [True: 9.36M, False: 121M]
  ------------------
  100|  9.36M|            return (p - s);
  101|   121M|        p++;
  102|   121M|    }
  103|  17.0M|    return -1;
  104|  26.3M|}
unicodeobject.c:ucs1lib_rfind_char:
  117|     57|{
  118|     57|    const STRINGLIB_CHAR *p;
  119|     57|#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|     57|    if (n > MEMRCHR_CUT_OFF) {
  ------------------
  |  |  109|     57|#  define MEMRCHR_CUT_OFF 15
  ------------------
  |  Branch (125:9): [True: 38, False: 19]
  ------------------
  126|     38|#if STRINGLIB_SIZEOF_CHAR == 1
  127|     38|        p = memrchr(s, ch, n);
  128|     38|        if (p != NULL)
  ------------------
  |  Branch (128:13): [True: 38, False: 0]
  ------------------
  129|     38|            return (p - s);
  130|      0|        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|     38|    }
  169|     19|#endif  /* HAVE_MEMRCHR */
  170|     19|    p = s + n;
  171|    150|    while (p > s) {
  ------------------
  |  Branch (171:12): [True: 137, False: 13]
  ------------------
  172|    137|        p--;
  173|    137|        if (*p == ch)
  ------------------
  |  Branch (173:13): [True: 6, False: 131]
  ------------------
  174|      6|            return (p - s);
  175|    137|    }
  176|     13|    return -1;
  177|     19|}
unicodeobject.c:asciilib_fastsearch:
  776|    294|{
  777|    294|    if (n < m || (mode == FAST_COUNT && maxcount == 0)) {
  ------------------
  |  |   24|    588|#define FAST_COUNT 0
  ------------------
  |  Branch (777:9): [True: 0, False: 294]
  |  Branch (777:19): [True: 0, False: 294]
  |  Branch (777:41): [True: 0, False: 0]
  ------------------
  778|      0|        return -1;
  779|      0|    }
  780|       |
  781|       |    /* look for special cases */
  782|    294|    if (m <= 1) {
  ------------------
  |  Branch (782:9): [True: 294, False: 0]
  ------------------
  783|    294|        if (m <= 0) {
  ------------------
  |  Branch (783:13): [True: 0, False: 294]
  ------------------
  784|      0|            return -1;
  785|      0|        }
  786|       |        /* use special case for 1-character strings */
  787|    294|        if (mode == FAST_SEARCH)
  ------------------
  |  |   25|    294|#define FAST_SEARCH 1
  ------------------
  |  Branch (787:13): [True: 24, False: 270]
  ------------------
  788|     24|            return STRINGLIB(find_char)(s, n, p[0]);
  ------------------
  |  |    7|     24|#define STRINGLIB(F)             asciilib_##F
  ------------------
  789|    270|        else if (mode == FAST_RSEARCH)
  ------------------
  |  |   26|    270|#define FAST_RSEARCH 2
  ------------------
  |  Branch (789:18): [True: 270, False: 0]
  ------------------
  790|    270|            return STRINGLIB(rfind_char)(s, n, p[0]);
  ------------------
  |  |    7|    270|#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|    294|    }
  798|       |
  799|      0|    if (mode != FAST_RSEARCH) {
  ------------------
  |  |   26|      0|#define FAST_RSEARCH 2
  ------------------
  |  Branch (799:9): [True: 0, False: 0]
  ------------------
  800|      0|        if (n < 2500 || (m < 100 && n < 30000) || m < 6) {
  ------------------
  |  Branch (800:13): [True: 0, False: 0]
  |  Branch (800:26): [True: 0, False: 0]
  |  Branch (800:37): [True: 0, False: 0]
  |  Branch (800:51): [True: 0, False: 0]
  ------------------
  801|      0|            return STRINGLIB(default_find)(s, n, p, m, maxcount, mode);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             asciilib_##F
  ------------------
  802|      0|        }
  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|      0|    }
  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|      0|}
unicodeobject.c:asciilib_find_char:
   51|     24|{
   52|     24|    const STRINGLIB_CHAR *p, *e;
   53|       |
   54|     24|    p = s;
   55|     24|    e = s + n;
   56|     24|    if (n > MEMCHR_CUT_OFF) {
  ------------------
  |  |   44|     24|#  define MEMCHR_CUT_OFF 15
  ------------------
  |  Branch (56:9): [True: 0, False: 24]
  ------------------
   57|      0|#ifdef STRINGLIB_FAST_MEMCHR
   58|      0|        p = STRINGLIB_FAST_MEMCHR(s, ch, n);
  ------------------
  |  |   24|      0|#define STRINGLIB_FAST_MEMCHR    memchr
  ------------------
   59|      0|        if (p != NULL)
  ------------------
  |  Branch (59:13): [True: 0, False: 0]
  ------------------
   60|      0|            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|      0|    }
   98|    167|    while (p < e) {
  ------------------
  |  Branch (98:12): [True: 167, False: 0]
  ------------------
   99|    167|        if (*p == ch)
  ------------------
  |  Branch (99:13): [True: 24, False: 143]
  ------------------
  100|     24|            return (p - s);
  101|    143|        p++;
  102|    143|    }
  103|      0|    return -1;
  104|     24|}
unicodeobject.c:asciilib_rfind_char:
  117|    270|{
  118|    270|    const STRINGLIB_CHAR *p;
  119|    270|#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|    270|    if (n > MEMRCHR_CUT_OFF) {
  ------------------
  |  |  109|    270|#  define MEMRCHR_CUT_OFF 15
  ------------------
  |  Branch (125:9): [True: 22, False: 248]
  ------------------
  126|     22|#if STRINGLIB_SIZEOF_CHAR == 1
  127|     22|        p = memrchr(s, ch, n);
  128|     22|        if (p != NULL)
  ------------------
  |  Branch (128:13): [True: 12, False: 10]
  ------------------
  129|     12|            return (p - s);
  130|     10|        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|     22|    }
  169|    248|#endif  /* HAVE_MEMRCHR */
  170|    248|    p = s + n;
  171|  1.99k|    while (p > s) {
  ------------------
  |  Branch (171:12): [True: 1.80k, False: 191]
  ------------------
  172|  1.80k|        p--;
  173|  1.80k|        if (*p == ch)
  ------------------
  |  Branch (173:13): [True: 57, False: 1.74k]
  ------------------
  174|     57|            return (p - s);
  175|  1.80k|    }
  176|    191|    return -1;
  177|    248|}
unicodeobject.c:ucs1lib_fastsearch:
  776|  90.1M|{
  777|  90.1M|    if (n < m || (mode == FAST_COUNT && maxcount == 0)) {
  ------------------
  |  |   24|   180M|#define FAST_COUNT 0
  ------------------
  |  Branch (777:9): [True: 0, False: 90.1M]
  |  Branch (777:19): [True: 917, False: 90.1M]
  |  Branch (777:41): [True: 0, False: 917]
  ------------------
  778|      0|        return -1;
  779|      0|    }
  780|       |
  781|       |    /* look for special cases */
  782|  90.1M|    if (m <= 1) {
  ------------------
  |  Branch (782:9): [True: 917, False: 90.1M]
  ------------------
  783|    917|        if (m <= 0) {
  ------------------
  |  Branch (783:13): [True: 0, False: 917]
  ------------------
  784|      0|            return -1;
  785|      0|        }
  786|       |        /* use special case for 1-character strings */
  787|    917|        if (mode == FAST_SEARCH)
  ------------------
  |  |   25|    917|#define FAST_SEARCH 1
  ------------------
  |  Branch (787:13): [True: 0, False: 917]
  ------------------
  788|      0|            return STRINGLIB(find_char)(s, n, p[0]);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             ucs1lib_##F
  ------------------
  789|    917|        else if (mode == FAST_RSEARCH)
  ------------------
  |  |   26|    917|#define FAST_RSEARCH 2
  ------------------
  |  Branch (789:18): [True: 0, False: 917]
  ------------------
  790|      0|            return STRINGLIB(rfind_char)(s, n, p[0]);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             ucs1lib_##F
  ------------------
  791|    917|        else {
  792|    917|            if (maxcount == PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|    917|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (792:17): [True: 917, False: 0]
  ------------------
  793|    917|                return STRINGLIB(count_char_no_maxcount)(s, n, p[0]);
  ------------------
  |  |    7|    917|#define STRINGLIB(F)             ucs1lib_##F
  ------------------
  794|    917|            }
  795|      0|            return STRINGLIB(count_char)(s, n, p[0], maxcount);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             ucs1lib_##F
  ------------------
  796|    917|        }
  797|    917|    }
  798|       |
  799|  90.1M|    if (mode != FAST_RSEARCH) {
  ------------------
  |  |   26|  90.1M|#define FAST_RSEARCH 2
  ------------------
  |  Branch (799:9): [True: 90.1M, False: 0]
  ------------------
  800|  90.1M|        if (n < 2500 || (m < 100 && n < 30000) || m < 6) {
  ------------------
  |  Branch (800:13): [True: 90.1M, False: 0]
  |  Branch (800:26): [True: 0, False: 0]
  |  Branch (800:37): [True: 0, False: 0]
  |  Branch (800:51): [True: 0, False: 0]
  ------------------
  801|  90.1M|            return STRINGLIB(default_find)(s, n, p, m, maxcount, mode);
  ------------------
  |  |    7|  90.1M|#define STRINGLIB(F)             ucs1lib_##F
  ------------------
  802|  90.1M|        }
  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|  90.1M|    }
  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|  90.1M|}
unicodeobject.c:ucs1lib_count_char_no_maxcount:
  761|    917|{
  762|    917|    Py_ssize_t count = 0;
  763|  5.54M|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (763:28): [True: 5.54M, False: 917]
  ------------------
  764|  5.54M|        if (s[i] == p0) {
  ------------------
  |  Branch (764:13): [True: 24, False: 5.54M]
  ------------------
  765|     24|            count++;
  766|     24|        }
  767|  5.54M|    }
  768|    917|    return count;
  769|    917|}
unicodeobject.c:ucs1lib_default_find:
  560|  90.1M|{
  561|  90.1M|    const Py_ssize_t w = n - m;
  562|  90.1M|    Py_ssize_t mlast = m - 1, count = 0;
  563|  90.1M|    Py_ssize_t gap = mlast;
  564|  90.1M|    const STRINGLIB_CHAR last = p[mlast];
  565|  90.1M|    const STRINGLIB_CHAR *const ss = &s[mlast];
  566|       |
  567|  90.1M|    unsigned long mask = 0;
  568|   808M|    for (Py_ssize_t i = 0; i < mlast; i++) {
  ------------------
  |  Branch (568:28): [True: 718M, False: 90.1M]
  ------------------
  569|   718M|        STRINGLIB_BLOOM_ADD(mask, p[i]);
  ------------------
  |  |   39|   718M|    ((mask |= (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|   718M|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  570|   718M|        if (p[i] == last) {
  ------------------
  |  Branch (570:13): [True: 40.7k, False: 718M]
  ------------------
  571|  40.7k|            gap = mlast - i - 1;
  572|  40.7k|        }
  573|   718M|    }
  574|  90.1M|    STRINGLIB_BLOOM_ADD(mask, last);
  ------------------
  |  |   39|  90.1M|    ((mask |= (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  90.1M|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  575|       |
  576|  1.08G|    for (Py_ssize_t i = 0; i <= w; i++) {
  ------------------
  |  Branch (576:28): [True: 992M, False: 90.1M]
  ------------------
  577|   992M|        if (ss[i] == last) {
  ------------------
  |  Branch (577:13): [True: 89.7M, False: 902M]
  ------------------
  578|       |            /* candidate match */
  579|  89.7M|            Py_ssize_t j;
  580|  89.7M|            for (j = 0; j < mlast; j++) {
  ------------------
  |  Branch (580:25): [True: 89.7M, False: 0]
  ------------------
  581|  89.7M|                if (s[i+j] != p[j]) {
  ------------------
  |  Branch (581:21): [True: 89.7M, False: 0]
  ------------------
  582|  89.7M|                    break;
  583|  89.7M|                }
  584|  89.7M|            }
  585|  89.7M|            if (j == mlast) {
  ------------------
  |  Branch (585:17): [True: 0, False: 89.7M]
  ------------------
  586|       |                /* got a match! */
  587|      0|                if (mode != FAST_COUNT) {
  ------------------
  |  |   24|      0|#define FAST_COUNT 0
  ------------------
  |  Branch (587:21): [True: 0, False: 0]
  ------------------
  588|      0|                    return i;
  589|      0|                }
  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|  89.7M|            if (i + 1 <= w && !STRINGLIB_BLOOM(mask, ss[i+1])) {
  ------------------
  |  |   41|  89.7M|    ((mask &  (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  89.7M|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (598:17): [True: 89.7M, False: 787]
  |  Branch (598:31): [True: 6.89k, False: 89.7M]
  ------------------
  599|  6.89k|                i = i + m;
  600|  6.89k|            }
  601|  89.7M|            else {
  602|  89.7M|                i = i + gap;
  603|  89.7M|            }
  604|  89.7M|        }
  605|   902M|        else {
  606|       |            /* skip: check if next character is part of pattern */
  607|   902M|            if (i + 1 <= w && !STRINGLIB_BLOOM(mask, ss[i+1])) {
  ------------------
  |  |   41|   902M|    ((mask &  (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|   902M|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (607:17): [True: 902M, False: 273k]
  |  Branch (607:31): [True: 448M, False: 453M]
  ------------------
  608|   448M|                i = i + m;
  609|   448M|            }
  610|   902M|        }
  611|   992M|    }
  612|  90.1M|    return mode == FAST_COUNT ? count : -1;
  ------------------
  |  |   24|  90.1M|#define FAST_COUNT 0
  ------------------
  |  Branch (612:12): [True: 0, False: 90.1M]
  ------------------
  613|  90.1M|}
bytes_methods.c:stringlib_find_char:
   51|   781k|{
   52|   781k|    const STRINGLIB_CHAR *p, *e;
   53|       |
   54|   781k|    p = s;
   55|   781k|    e = s + n;
   56|   781k|    if (n > MEMCHR_CUT_OFF) {
  ------------------
  |  |   44|   781k|#  define MEMCHR_CUT_OFF 15
  ------------------
  |  Branch (56:9): [True: 711k, False: 69.9k]
  ------------------
   57|   711k|#ifdef STRINGLIB_FAST_MEMCHR
   58|   711k|        p = STRINGLIB_FAST_MEMCHR(s, ch, n);
  ------------------
  |  |  383|   711k|#define STRINGLIB_FAST_MEMCHR memchr
  ------------------
   59|   711k|        if (p != NULL)
  ------------------
  |  Branch (59:13): [True: 684k, False: 26.2k]
  ------------------
   60|   684k|            return (p - s);
   61|  26.2k|        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|   711k|    }
   98|  1.10M|    while (p < e) {
  ------------------
  |  Branch (98:12): [True: 1.03M, False: 69.3k]
  ------------------
   99|  1.03M|        if (*p == ch)
  ------------------
  |  Branch (99:13): [True: 609, False: 1.03M]
  ------------------
  100|    609|            return (p - s);
  101|  1.03M|        p++;
  102|  1.03M|    }
  103|  69.3k|    return -1;
  104|  69.9k|}
bytes_methods.c:stringlib_rfind_char:
  117|  1.84k|{
  118|  1.84k|    const STRINGLIB_CHAR *p;
  119|  1.84k|#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|  1.84k|    if (n > MEMRCHR_CUT_OFF) {
  ------------------
  |  |  109|  1.84k|#  define MEMRCHR_CUT_OFF 15
  ------------------
  |  Branch (125:9): [True: 1.14k, False: 699]
  ------------------
  126|  1.14k|#if STRINGLIB_SIZEOF_CHAR == 1
  127|  1.14k|        p = memrchr(s, ch, n);
  128|  1.14k|        if (p != NULL)
  ------------------
  |  Branch (128:13): [True: 148, False: 1.00k]
  ------------------
  129|    148|            return (p - s);
  130|  1.00k|        return -1;
  131|       |#else
  132|       |        /* use memrchr if we can choose a needle without too many likely
  133|       |           false positives */
  134|       |        const STRINGLIB_CHAR *s1;
  135|       |        Py_ssize_t n1;
  136|       |        unsigned char needle = ch & 0xff;
  137|       |        /* If looking for a multiple of 256, we'd have too
  138|       |           many false positives looking for the '\0' byte in UCS2
  139|       |           and UCS4 representations. */
  140|       |        if (needle != 0) {
  141|       |            do {
  142|       |                void *candidate = memrchr(s, needle,
  143|       |                                          n * sizeof(STRINGLIB_CHAR));
  144|       |                if (candidate == NULL)
  145|       |                    return -1;
  146|       |                n1 = n;
  147|       |                p = (const STRINGLIB_CHAR *)
  148|       |                        _Py_ALIGN_DOWN(candidate, sizeof(STRINGLIB_CHAR));
  149|       |                n = p - s;
  150|       |                if (*p == ch)
  151|       |                    return n;
  152|       |                /* False positive */
  153|       |                if (n1 - n > MEMRCHR_CUT_OFF)
  154|       |                    continue;
  155|       |                if (n <= MEMRCHR_CUT_OFF)
  156|       |                    break;
  157|       |                s1 = p - MEMRCHR_CUT_OFF;
  158|       |                while (p > s1) {
  159|       |                    p--;
  160|       |                    if (*p == ch)
  161|       |                        return (p - s);
  162|       |                }
  163|       |                n = p - s;
  164|       |            }
  165|       |            while (n > MEMRCHR_CUT_OFF);
  166|       |        }
  167|       |#endif
  168|  1.14k|    }
  169|    699|#endif  /* HAVE_MEMRCHR */
  170|    699|    p = s + n;
  171|  3.35k|    while (p > s) {
  ------------------
  |  Branch (171:12): [True: 2.66k, False: 687]
  ------------------
  172|  2.66k|        p--;
  173|  2.66k|        if (*p == ch)
  ------------------
  |  Branch (173:13): [True: 12, False: 2.65k]
  ------------------
  174|     12|            return (p - s);
  175|  2.66k|    }
  176|    687|    return -1;
  177|    699|}
bytes_methods.c:fastsearch:
  776|  4.07k|{
  777|  4.07k|    if (n < m || (mode == FAST_COUNT && maxcount == 0)) {
  ------------------
  |  |   24|  7.77k|#define FAST_COUNT 0
  ------------------
  |  Branch (777:9): [True: 191, False: 3.88k]
  |  Branch (777:19): [True: 1.84k, False: 2.03k]
  |  Branch (777:41): [True: 0, False: 1.84k]
  ------------------
  778|    191|        return -1;
  779|    191|    }
  780|       |
  781|       |    /* look for special cases */
  782|  3.88k|    if (m <= 1) {
  ------------------
  |  Branch (782:9): [True: 3.88k, False: 0]
  ------------------
  783|  3.88k|        if (m <= 0) {
  ------------------
  |  Branch (783:13): [True: 0, False: 3.88k]
  ------------------
  784|      0|            return -1;
  785|      0|        }
  786|       |        /* use special case for 1-character strings */
  787|  3.88k|        if (mode == FAST_SEARCH)
  ------------------
  |  |   25|  3.88k|#define FAST_SEARCH 1
  ------------------
  |  Branch (787:13): [True: 2.03k, False: 1.84k]
  ------------------
  788|  2.03k|            return STRINGLIB(find_char)(s, n, p[0]);
  ------------------
  |  |  380|  2.03k|#define STRINGLIB(F) stringlib_##F
  ------------------
  789|  1.84k|        else if (mode == FAST_RSEARCH)
  ------------------
  |  |   26|  1.84k|#define FAST_RSEARCH 2
  ------------------
  |  Branch (789:18): [True: 0, False: 1.84k]
  ------------------
  790|      0|            return STRINGLIB(rfind_char)(s, n, p[0]);
  ------------------
  |  |  380|      0|#define STRINGLIB(F) stringlib_##F
  ------------------
  791|  1.84k|        else {
  792|  1.84k|            if (maxcount == PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|  1.84k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (792:17): [True: 1.84k, False: 0]
  ------------------
  793|  1.84k|                return STRINGLIB(count_char_no_maxcount)(s, n, p[0]);
  ------------------
  |  |  380|  1.84k|#define STRINGLIB(F) stringlib_##F
  ------------------
  794|  1.84k|            }
  795|      0|            return STRINGLIB(count_char)(s, n, p[0], maxcount);
  ------------------
  |  |  380|      0|#define STRINGLIB(F) stringlib_##F
  ------------------
  796|  1.84k|        }
  797|  3.88k|    }
  798|       |
  799|      0|    if (mode != FAST_RSEARCH) {
  ------------------
  |  |   26|      0|#define FAST_RSEARCH 2
  ------------------
  |  Branch (799:9): [True: 0, False: 0]
  ------------------
  800|      0|        if (n < 2500 || (m < 100 && n < 30000) || m < 6) {
  ------------------
  |  Branch (800:13): [True: 0, False: 0]
  |  Branch (800:26): [True: 0, False: 0]
  |  Branch (800:37): [True: 0, False: 0]
  |  Branch (800:51): [True: 0, False: 0]
  ------------------
  801|      0|            return STRINGLIB(default_find)(s, n, p, m, maxcount, mode);
  ------------------
  |  |  380|      0|#define STRINGLIB(F) stringlib_##F
  ------------------
  802|      0|        }
  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);
  ------------------
  |  |  380|      0|#define STRINGLIB(F) stringlib_##F
  ------------------
  811|      0|            }
  812|      0|            else {
  813|      0|                return STRINGLIB(_two_way_count)(s, n, p, m, maxcount);
  ------------------
  |  |  380|      0|#define STRINGLIB(F) stringlib_##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);
  ------------------
  |  |  380|      0|#define STRINGLIB(F) stringlib_##F
  ------------------
  823|      0|        }
  824|      0|    }
  825|      0|    else {
  826|       |        /* FAST_RSEARCH */
  827|      0|        return STRINGLIB(default_rfind)(s, n, p, m, maxcount, mode);
  ------------------
  |  |  380|      0|#define STRINGLIB(F) stringlib_##F
  ------------------
  828|      0|    }
  829|      0|}
bytes_methods.c:stringlib_count_char_no_maxcount:
  761|  1.84k|{
  762|  1.84k|    Py_ssize_t count = 0;
  763|  6.99M|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (763:28): [True: 6.99M, False: 1.84k]
  ------------------
  764|  6.99M|        if (s[i] == p0) {
  ------------------
  |  Branch (764:13): [True: 25.1k, False: 6.97M]
  ------------------
  765|  25.1k|            count++;
  766|  25.1k|        }
  767|  6.99M|    }
  768|  1.84k|    return count;
  769|  1.84k|}

unicodeobject.c:asciilib_find:
   11|     24|{
   12|     24|    Py_ssize_t pos;
   13|       |
   14|     24|    assert(str_len >= 0);
  ------------------
  |  Branch (14:5): [True: 24, False: 0]
  ------------------
   15|     24|    if (sub_len == 0)
  ------------------
  |  Branch (15:9): [True: 0, False: 24]
  ------------------
   16|      0|        return offset;
   17|       |
   18|     24|    pos = FASTSEARCH(str, str_len, sub, sub_len, -1, FAST_SEARCH);
  ------------------
  |  |    6|     24|#define FASTSEARCH               asciilib_fastsearch
  ------------------
                  pos = FASTSEARCH(str, str_len, sub, sub_len, -1, FAST_SEARCH);
  ------------------
  |  |   25|     24|#define FAST_SEARCH 1
  ------------------
   19|       |
   20|     24|    if (pos >= 0)
  ------------------
  |  Branch (20:9): [True: 24, False: 0]
  ------------------
   21|     24|        pos += offset;
   22|       |
   23|     24|    return pos;
   24|     24|}
unicodeobject.c:ucs1lib_find:
   11|  90.1M|{
   12|  90.1M|    Py_ssize_t pos;
   13|       |
   14|  90.1M|    assert(str_len >= 0);
  ------------------
  |  Branch (14:5): [True: 90.1M, False: 0]
  ------------------
   15|  90.1M|    if (sub_len == 0)
  ------------------
  |  Branch (15:9): [True: 0, False: 90.1M]
  ------------------
   16|      0|        return offset;
   17|       |
   18|  90.1M|    pos = FASTSEARCH(str, str_len, sub, sub_len, -1, FAST_SEARCH);
  ------------------
  |  |    6|  90.1M|#define FASTSEARCH               ucs1lib_fastsearch
  ------------------
                  pos = FASTSEARCH(str, str_len, sub, sub_len, -1, FAST_SEARCH);
  ------------------
  |  |   25|  90.1M|#define FAST_SEARCH 1
  ------------------
   19|       |
   20|  90.1M|    if (pos >= 0)
  ------------------
  |  Branch (20:9): [True: 0, False: 90.1M]
  ------------------
   21|      0|        pos += offset;
   22|       |
   23|  90.1M|    return pos;
   24|  90.1M|}
bytes_methods.c:stringlib_find:
   11|  2.03k|{
   12|  2.03k|    Py_ssize_t pos;
   13|       |
   14|  2.03k|    assert(str_len >= 0);
  ------------------
  |  Branch (14:5): [True: 2.03k, False: 0]
  ------------------
   15|  2.03k|    if (sub_len == 0)
  ------------------
  |  Branch (15:9): [True: 0, False: 2.03k]
  ------------------
   16|      0|        return offset;
   17|       |
   18|  2.03k|    pos = FASTSEARCH(str, str_len, sub, sub_len, -1, FAST_SEARCH);
  ------------------
  |  |  379|  2.03k|#define FASTSEARCH fastsearch
  ------------------
                  pos = FASTSEARCH(str, str_len, sub, sub_len, -1, FAST_SEARCH);
  ------------------
  |  |   25|  2.03k|#define FAST_SEARCH 1
  ------------------
   19|       |
   20|  2.03k|    if (pos >= 0)
  ------------------
  |  Branch (20:9): [True: 270, False: 1.76k]
  ------------------
   21|    270|        pos += offset;
   22|       |
   23|  2.03k|    return pos;
   24|  2.03k|}

unicode_writer.c:ucs1lib_find_max_char:
   22|  19.0k|{
   23|  19.0k|    const unsigned char *p = (const unsigned char *) begin;
   24|  19.0k|    const unsigned char *_end = (const unsigned char *)end;
   25|       |
   26|   148k|    while (p < _end) {
  ------------------
  |  Branch (26:12): [True: 129k, False: 19.0k]
  ------------------
   27|   129k|        if (_Py_IS_ALIGNED(p, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  221|   129k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (221:30): [True: 18.9k, False: 110k]
  |  |  ------------------
  ------------------
   28|       |            /* Help register allocation */
   29|  18.9k|            const unsigned char *_p = p;
   30|  73.7k|            while (_p + SIZEOF_SIZE_T <= _end) {
  ------------------
  |  | 1925|  73.7k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (30:20): [True: 54.7k, False: 18.9k]
  ------------------
   31|  54.7k|                size_t value = *(const size_t *) _p;
   32|  54.7k|                if (value & UCS1_ASCII_CHAR_MASK)
  ------------------
  |  |   11|  54.7k|# define UCS1_ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
  |  Branch (32:21): [True: 0, False: 54.7k]
  ------------------
   33|      0|                    return 255;
   34|  54.7k|                _p += SIZEOF_SIZE_T;
  ------------------
  |  | 1925|  54.7k|#define SIZEOF_SIZE_T 8
  ------------------
   35|  54.7k|            }
   36|  18.9k|            p = _p;
   37|  18.9k|            if (p == _end)
  ------------------
  |  Branch (37:17): [True: 2, False: 18.9k]
  ------------------
   38|      2|                break;
   39|  18.9k|        }
   40|   129k|        if (*p++ & 0x80)
  ------------------
  |  Branch (40:13): [True: 0, False: 129k]
  ------------------
   41|      0|            return 255;
   42|   129k|    }
   43|  19.0k|    return 127;
   44|  19.0k|}
unicodeobject.c:ucs1lib_find_max_char:
   22|  38.1k|{
   23|  38.1k|    const unsigned char *p = (const unsigned char *) begin;
   24|  38.1k|    const unsigned char *_end = (const unsigned char *)end;
   25|       |
   26|   274k|    while (p < _end) {
  ------------------
  |  Branch (26:12): [True: 240k, False: 33.6k]
  ------------------
   27|   240k|        if (_Py_IS_ALIGNED(p, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  221|   240k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (221:30): [True: 35.8k, False: 204k]
  |  |  ------------------
  ------------------
   28|       |            /* Help register allocation */
   29|  35.8k|            const unsigned char *_p = p;
   30|   424k|            while (_p + SIZEOF_SIZE_T <= _end) {
  ------------------
  |  | 1925|   424k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (30:20): [True: 391k, False: 33.1k]
  ------------------
   31|   391k|                size_t value = *(const size_t *) _p;
   32|   391k|                if (value & UCS1_ASCII_CHAR_MASK)
  ------------------
  |  |   11|   391k|# define UCS1_ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
  |  Branch (32:21): [True: 2.75k, False: 388k]
  ------------------
   33|  2.75k|                    return 255;
   34|   388k|                _p += SIZEOF_SIZE_T;
  ------------------
  |  | 1925|   388k|#define SIZEOF_SIZE_T 8
  ------------------
   35|   388k|            }
   36|  33.1k|            p = _p;
   37|  33.1k|            if (p == _end)
  ------------------
  |  Branch (37:17): [True: 1.57k, False: 31.5k]
  ------------------
   38|  1.57k|                break;
   39|  33.1k|        }
   40|   236k|        if (*p++ & 0x80)
  ------------------
  |  Branch (40:13): [True: 189, False: 235k]
  ------------------
   41|    189|            return 255;
   42|   236k|    }
   43|  35.2k|    return 127;
   44|  38.1k|}

bytesobject.c:stringlib_bytes_join:
    9|      3|{
   10|      3|    const char *sepstr = STRINGLIB_STR(sep);
  ------------------
  |  |   20|      3|#define STRINGLIB_STR            PyBytes_AS_STRING
  |  |  ------------------
  |  |  |  |   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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   11|      3|    Py_ssize_t seplen = STRINGLIB_LEN(sep);
  ------------------
  |  |   21|      3|#define STRINGLIB_LEN            PyBytes_GET_SIZE
  |  |  ------------------
  |  |  |  |   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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   12|      3|    PyObject *res = NULL;
   13|      3|    char *p;
   14|      3|    Py_ssize_t seqlen = 0;
   15|      3|    Py_ssize_t sz = 0;
   16|      3|    Py_ssize_t i, nbufs;
   17|      3|    PyObject *seq, *item;
   18|      3|    Py_buffer *buffers = NULL;
   19|      3|#define NB_STATIC_BUFFERS 10
   20|      3|    Py_buffer static_buffers[NB_STATIC_BUFFERS];
   21|      3|#define GIL_THRESHOLD 1048576
   22|      3|    int drop_gil = 1;
   23|      3|    PyThreadState *save = NULL;
   24|       |
   25|      3|    seq = PySequence_Fast(iterable, "can only join an iterable");
   26|      3|    if (seq == NULL) {
  ------------------
  |  Branch (26:9): [True: 0, False: 3]
  ------------------
   27|      0|        return NULL;
   28|      0|    }
   29|       |
   30|      3|    seqlen = PySequence_Fast_GET_SIZE(seq);
  ------------------
  |  |   92|      3|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|      3|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      3|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 3, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|      3|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      3|#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|      3|    if (seqlen == 0) {
  ------------------
  |  Branch (31:9): [True: 0, False: 3]
  ------------------
   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|      3|#if !STRINGLIB_MUTABLE
   36|      3|    if (seqlen == 1) {
  ------------------
  |  Branch (36:9): [True: 3, False: 0]
  ------------------
   37|      3|        item = PySequence_Fast_GET_ITEM(seq, 0);
  ------------------
  |  |   97|      3|     (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   25|      3|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      3|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 3, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                    (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                    (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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (37:16): [True: 3, False: 0]
  |  Branch (37:16): [True: 0, False: 0]
  ------------------
   38|      3|        if (STRINGLIB_CHECK_EXACT(item)) {
  ------------------
  |  |   24|      3|#define STRINGLIB_CHECK_EXACT    PyBytes_CheckExact
  |  |  ------------------
  |  |  |  |   29|      3|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_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 (215:32): [True: 3, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   39|      3|            Py_INCREF(item);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   40|      3|            Py_DECREF(seq);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   41|      3|            return item;
   42|      3|        }
   43|      3|    }
   44|      0|#endif
   45|      0|    if (seqlen > NB_STATIC_BUFFERS) {
  ------------------
  |  |   19|      0|#define NB_STATIC_BUFFERS 10
  ------------------
  |  Branch (45:9): [True: 0, False: 0]
  ------------------
   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|      0|    else {
   54|      0|        buffers = static_buffers;
   55|      0|    }
   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|      0|    for (i = 0, nbufs = 0; i < seqlen; i++) {
  ------------------
  |  Branch (61:28): [True: 0, False: 0]
  ------------------
   62|      0|        Py_ssize_t itemlen;
   63|      0|        item = PySequence_Fast_GET_ITEM(seq, i);
  ------------------
  |  |   97|      0|     (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   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_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|      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 (63:16): [True: 0, False: 0]
  |  Branch (63:16): [True: 0, False: 0]
  ------------------
   64|      0|        if (PyBytes_CheckExact(item)) {
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   65|       |            /* Fast path. */
   66|      0|            buffers[i].obj = Py_NewRef(item);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   67|      0|            buffers[i].buf = PyBytes_AS_STRING(item);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   68|      0|            buffers[i].len = PyBytes_GET_SIZE(item);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   69|      0|        }
   70|      0|        else {
   71|       |            /* item is only borrowed; its __buffer__() may run Python that
   72|       |               drops the sequence's last reference to it. */
   73|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   74|      0|            if (PyObject_GetBuffer(item, &buffers[i], PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (74:17): [True: 0, False: 0]
  ------------------
   75|      0|                PyErr_Format(PyExc_TypeError,
   76|      0|                             "sequence item %zd: expected a bytes-like object, "
   77|      0|                             "%.80s found",
   78|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   79|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   80|      0|                goto error;
   81|      0|            }
   82|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   83|       |            /* If the backing objects are mutable, then dropping the GIL
   84|       |             * opens up race conditions where another thread tries to modify
   85|       |             * the object which we hold a buffer on it. Such code has data
   86|       |             * races anyway, but this is a conservative approach that avoids
   87|       |             * changing the behaviour of that data race.
   88|       |             */
   89|      0|            drop_gil = 0;
   90|      0|        }
   91|      0|        nbufs = i + 1;  /* for error cleanup */
   92|      0|        itemlen = buffers[i].len;
   93|      0|        if (itemlen > PY_SSIZE_T_MAX - sz) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (93:13): [True: 0, False: 0]
  ------------------
   94|      0|            PyErr_SetString(PyExc_OverflowError,
   95|      0|                            "join() result is too long");
   96|      0|            goto error;
   97|      0|        }
   98|      0|        sz += itemlen;
   99|      0|        if (i != 0) {
  ------------------
  |  Branch (99:13): [True: 0, False: 0]
  ------------------
  100|      0|            if (seplen > PY_SSIZE_T_MAX - sz) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (100:17): [True: 0, False: 0]
  ------------------
  101|      0|                PyErr_SetString(PyExc_OverflowError,
  102|      0|                                "join() result is too long");
  103|      0|                goto error;
  104|      0|            }
  105|      0|            sz += seplen;
  106|      0|        }
  107|      0|        if (seqlen != 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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (107:13): [True: 0, False: 0]
  ------------------
  108|      0|            PyErr_SetString(PyExc_RuntimeError,
  109|      0|                            "sequence changed size during iteration");
  110|      0|            goto error;
  111|      0|        }
  112|      0|    }
  113|       |
  114|       |    /* Allocate result space. */
  115|      0|    res = STRINGLIB_NEW(NULL, sz);
  ------------------
  |  |   22|      0|#define STRINGLIB_NEW            PyBytes_FromStringAndSize
  ------------------
  116|      0|    if (res == NULL)
  ------------------
  |  Branch (116:9): [True: 0, False: 0]
  ------------------
  117|      0|        goto error;
  118|       |
  119|       |    /* Catenate everything. */
  120|      0|    p = STRINGLIB_STR(res);
  ------------------
  |  |   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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  121|      0|    if (sz < GIL_THRESHOLD) {
  ------------------
  |  |   21|      0|#define GIL_THRESHOLD 1048576
  ------------------
  |  Branch (121:9): [True: 0, False: 0]
  ------------------
  122|      0|        drop_gil = 0;   /* Benefits are likely outweighed by the overheads */
  123|      0|    }
  124|      0|    if (drop_gil) {
  ------------------
  |  Branch (124:9): [True: 0, False: 0]
  ------------------
  125|      0|        save = PyEval_SaveThread();
  126|      0|    }
  127|      0|    if (!seplen) {
  ------------------
  |  Branch (127:9): [True: 0, False: 0]
  ------------------
  128|       |        /* fast path */
  129|      0|        for (i = 0; i < nbufs; i++) {
  ------------------
  |  Branch (129:21): [True: 0, False: 0]
  ------------------
  130|      0|            Py_ssize_t n = buffers[i].len;
  131|      0|            char *q = buffers[i].buf;
  132|      0|            memcpy(p, q, n);
  133|      0|            p += n;
  134|      0|        }
  135|      0|    }
  136|      0|    else {
  137|      0|        for (i = 0; i < nbufs; i++) {
  ------------------
  |  Branch (137:21): [True: 0, False: 0]
  ------------------
  138|      0|            Py_ssize_t n;
  139|      0|            char *q;
  140|      0|            if (i) {
  ------------------
  |  Branch (140:17): [True: 0, False: 0]
  ------------------
  141|      0|                memcpy(p, sepstr, seplen);
  142|      0|                p += seplen;
  143|      0|            }
  144|      0|            n = buffers[i].len;
  145|      0|            q = buffers[i].buf;
  146|      0|            memcpy(p, q, n);
  147|      0|            p += n;
  148|      0|        }
  149|      0|    }
  150|      0|    if (drop_gil) {
  ------------------
  |  Branch (150:9): [True: 0, False: 0]
  ------------------
  151|      0|        PyEval_RestoreThread(save);
  152|      0|    }
  153|      0|    goto done;
  154|       |
  155|      0|error:
  156|      0|    res = NULL;
  157|      0|done:
  158|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  159|      0|    for (i = 0; i < nbufs; i++)
  ------------------
  |  Branch (159:17): [True: 0, False: 0]
  ------------------
  160|      0|        PyBuffer_Release(&buffers[i]);
  161|      0|    if (buffers != static_buffers)
  ------------------
  |  Branch (161:9): [True: 0, False: 0]
  ------------------
  162|      0|        PyMem_Free(buffers);
  163|      0|    return res;
  164|      0|}

unicodeobject.c:asciilib_rpartition:
   74|    270|{
   75|    270|    PyObject* out;
   76|    270|    Py_ssize_t pos;
   77|       |
   78|    270|    if (sep_len == 0) {
  ------------------
  |  Branch (78:9): [True: 0, False: 270]
  ------------------
   79|      0|        PyErr_SetString(PyExc_ValueError, "empty separator");
   80|      0|        return NULL;
   81|      0|    }
   82|       |
   83|    270|    out = PyTuple_New(3);
   84|    270|    if (!out)
  ------------------
  |  Branch (84:9): [True: 0, False: 270]
  ------------------
   85|      0|        return NULL;
   86|       |
   87|    270|    pos = FASTSEARCH(str, str_len, sep, sep_len, -1, FAST_RSEARCH);
  ------------------
  |  |    6|    270|#define FASTSEARCH               asciilib_fastsearch
  ------------------
                  pos = FASTSEARCH(str, str_len, sep, sep_len, -1, FAST_RSEARCH);
  ------------------
  |  |   26|    270|#define FAST_RSEARCH 2
  ------------------
   88|       |
   89|    270|    if (pos < 0) {
  ------------------
  |  Branch (89:9): [True: 201, False: 69]
  ------------------
   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|    201|        PyObject *empty = (PyObject*)STRINGLIB_GET_EMPTY();
  ------------------
  |  |  959|    201|#define STRINGLIB_GET_EMPTY() _PyUnicode_GetEmpty()
  ------------------
  101|    201|        assert(empty != NULL);
  ------------------
  |  Branch (101:9): [True: 201, False: 0]
  ------------------
  102|    201|        Py_INCREF(empty);
  ------------------
  |  |  310|    201|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    201|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    201|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  103|    201|        PyTuple_SET_ITEM(out, 0, empty);
  ------------------
  |  |   40|    201|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    201|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    201|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    201|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    201|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  104|    201|        Py_INCREF(empty);
  ------------------
  |  |  310|    201|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    201|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    201|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  105|    201|        PyTuple_SET_ITEM(out, 1, empty);
  ------------------
  |  |   40|    201|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    201|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    201|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    201|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    201|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  106|    201|        Py_INCREF(str_obj);
  ------------------
  |  |  310|    201|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    201|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    201|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  107|    201|        PyTuple_SET_ITEM(out, 2, (PyObject*) str_obj);
  ------------------
  |  |   40|    201|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    201|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    201|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    201|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    201|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  108|    201|#endif
  109|    201|        return out;
  110|    201|    }
  111|       |
  112|     69|    PyTuple_SET_ITEM(out, 0, STRINGLIB_NEW(str, pos));
  ------------------
  |  |   40|     69|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     69|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     69|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     69|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     69|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  113|     69|    Py_INCREF(sep_obj);
  ------------------
  |  |  310|     69|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     69|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     69|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  114|     69|    PyTuple_SET_ITEM(out, 1, sep_obj);
  ------------------
  |  |   40|     69|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     69|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     69|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     69|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     69|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  115|     69|    pos += sep_len;
  116|     69|    PyTuple_SET_ITEM(out, 2, STRINGLIB_NEW(str + pos, str_len - pos));
  ------------------
  |  |   40|     69|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     69|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     69|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     69|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     69|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  117|       |
  118|     69|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (118:9): [True: 0, False: 69]
  ------------------
  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|     69|    return out;
  124|     69|}

unicodeobject.c:ucs1lib_replace_1char_inplace:
   10|      8|{
   11|      8|    *s = u2;
   12|      8|    while (--maxcount && ++s != end) {
  ------------------
  |  Branch (12:12): [True: 8, False: 0]
  |  Branch (12:26): [True: 8, 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|      8|        if (*s != u1) {
  ------------------
  |  Branch (21:13): [True: 8, False: 0]
  ------------------
   22|      8|            int attempts = 10;
   23|       |            /* search u1 in a dummy loop */
   24|     64|            while (1) {
  ------------------
  |  Branch (24:20): [True: 64, Folded]
  ------------------
   25|     64|                if (++s == end)
  ------------------
  |  Branch (25:21): [True: 4, False: 60]
  ------------------
   26|      4|                    return;
   27|     60|                if (*s == u1)
  ------------------
  |  Branch (27:21): [True: 0, False: 60]
  ------------------
   28|      0|                    break;
   29|     60|                if (!--attempts) {
  ------------------
  |  Branch (29:21): [True: 4, False: 56]
  ------------------
   30|       |                    /* if u1 was not found for attempts iterations,
   31|       |                       use FASTSEARCH() or memchr() */
   32|      4|#ifdef STRINGLIB_FAST_MEMCHR
   33|      4|                    s++;
   34|      4|                    s = STRINGLIB_FAST_MEMCHR(s, u1, end - s);
  ------------------
  |  |   23|      4|#define STRINGLIB_FAST_MEMCHR    memchr
  ------------------
   35|      4|                    if (s == NULL)
  ------------------
  |  Branch (35:25): [True: 4, False: 0]
  ------------------
   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|      0|                    break;
   48|      4|                }
   49|     60|            }
   50|      8|        }
   51|      0|        *s = u2;
   52|      0|    }
   53|      8|}

unicodeobject.c:ucs1lib_repr:
   11|    301|{
   12|    301|    Py_ssize_t isize = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|    301|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    301|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    301|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   13|    301|    const void *idata = PyUnicode_DATA(unicode);
  ------------------
  |  |  284|    301|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    301|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    301|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   14|    301|    int ikind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|    301|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    602|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 301, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   15|       |
   16|      0|    *odata++ = quote;
   17|  1.14M|    for (Py_ssize_t i = 0; i < isize; i++) {
  ------------------
  |  Branch (17:28): [True: 1.14M, False: 301]
  ------------------
   18|  1.14M|        Py_UCS4 ch = PyUnicode_READ(ikind, idata, i);
  ------------------
  |  |  354|  1.14M|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  1.14M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  1.14M|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  1.14M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  1.14M|                   (index))
  ------------------
   19|       |
   20|       |        /* Escape quotes and backslashes */
   21|  1.14M|        if ((ch == quote) || (ch == '\\')) {
  ------------------
  |  Branch (21:13): [True: 640, False: 1.14M]
  |  Branch (21:30): [True: 7.42k, False: 1.13M]
  ------------------
   22|  8.06k|            *odata++ = '\\';
   23|  8.06k|            *odata++ = ch;
   24|  8.06k|            continue;
   25|  8.06k|        }
   26|       |
   27|       |        /* Map special whitespace to '\t', \n', '\r' */
   28|  1.13M|        if (ch == '\t') {
  ------------------
  |  Branch (28:13): [True: 1.29k, False: 1.13M]
  ------------------
   29|  1.29k|            *odata++ = '\\';
   30|  1.29k|            *odata++ = 't';
   31|  1.29k|        }
   32|  1.13M|        else if (ch == '\n') {
  ------------------
  |  Branch (32:18): [True: 21.0k, False: 1.11M]
  ------------------
   33|  21.0k|            *odata++ = '\\';
   34|  21.0k|            *odata++ = 'n';
   35|  21.0k|        }
   36|  1.11M|        else if (ch == '\r') {
  ------------------
  |  Branch (36:18): [True: 838, False: 1.11M]
  ------------------
   37|    838|            *odata++ = '\\';
   38|    838|            *odata++ = 'r';
   39|    838|        }
   40|       |
   41|       |        /* Map non-printable US ASCII to '\xhh' */
   42|  1.11M|        else if (ch < ' ' || ch == 0x7F) {
  ------------------
  |  Branch (42:18): [True: 236k, False: 876k]
  |  Branch (42:30): [True: 2.83k, False: 873k]
  ------------------
   43|   239k|            *odata++ = '\\';
   44|   239k|            *odata++ = 'x';
   45|   239k|            *odata++ = Py_hexdigits[(ch >> 4) & 0x000F];
   46|   239k|            *odata++ = Py_hexdigits[ch & 0x000F];
   47|   239k|        }
   48|       |
   49|       |        /* Copy ASCII characters as-is */
   50|   873k|        else if (ch < 0x7F) {
  ------------------
  |  Branch (50:18): [True: 110k, False: 763k]
  ------------------
   51|   110k|            *odata++ = ch;
   52|   110k|        }
   53|       |
   54|       |        /* Non-ASCII characters */
   55|   763k|        else {
   56|       |            /* Map Unicode whitespace and control characters
   57|       |               (categories Z* and C* except ASCII space)
   58|       |            */
   59|   763k|            if (!Py_UNICODE_ISPRINTABLE(ch)) {
  ------------------
  |  |  761|   763k|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  ------------------
  |  Branch (59:17): [True: 626k, False: 136k]
  ------------------
   60|   626k|                *odata++ = '\\';
   61|       |                /* Map 8-bit characters to '\xhh' */
   62|   626k|                if (ch <= 0xff) {
  ------------------
  |  Branch (62:21): [True: 626k, False: 0]
  ------------------
   63|   626k|                    *odata++ = 'x';
   64|   626k|                    *odata++ = Py_hexdigits[(ch >> 4) & 0x000F];
   65|   626k|                    *odata++ = Py_hexdigits[ch & 0x000F];
   66|   626k|                }
   67|       |                /* Map 16-bit characters to '\uxxxx' */
   68|      0|                else if (ch <= 0xffff) {
  ------------------
  |  Branch (68:26): [True: 0, False: 0]
  ------------------
   69|      0|                    *odata++ = 'u';
   70|      0|                    *odata++ = Py_hexdigits[(ch >> 12) & 0xF];
   71|      0|                    *odata++ = Py_hexdigits[(ch >> 8) & 0xF];
   72|      0|                    *odata++ = Py_hexdigits[(ch >> 4) & 0xF];
   73|      0|                    *odata++ = Py_hexdigits[ch & 0xF];
   74|      0|                }
   75|       |                /* Map 21-bit characters to '\U00xxxxxx' */
   76|      0|                else {
   77|      0|                    *odata++ = 'U';
   78|      0|                    *odata++ = Py_hexdigits[(ch >> 28) & 0xF];
   79|      0|                    *odata++ = Py_hexdigits[(ch >> 24) & 0xF];
   80|      0|                    *odata++ = Py_hexdigits[(ch >> 20) & 0xF];
   81|      0|                    *odata++ = Py_hexdigits[(ch >> 16) & 0xF];
   82|      0|                    *odata++ = Py_hexdigits[(ch >> 12) & 0xF];
   83|      0|                    *odata++ = Py_hexdigits[(ch >> 8) & 0xF];
   84|      0|                    *odata++ = Py_hexdigits[(ch >> 4) & 0xF];
   85|      0|                    *odata++ = Py_hexdigits[ch & 0xF];
   86|      0|                }
   87|   626k|            }
   88|       |            /* Copy characters as-is */
   89|   136k|            else {
   90|   136k|                *odata++ = ch;
   91|   136k|            }
   92|   763k|        }
   93|  1.13M|    }
   94|    301|    *odata = quote;
   95|    301|}

unicodeobject.c:asciilib_split_whitespace:
   57|      2|{
   58|      2|    Py_ssize_t i, j, count=0;
   59|      2|    PyObject *list = PyList_New(PREALLOC_SIZE(maxcount));
  ------------------
  |  |   18|      2|    (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
  |  |  ------------------
  |  |  |  |   14|      4|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |                   (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
  |  |  ------------------
  |  |  |  |   14|      1|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (18:6): [True: 1, False: 1]
  |  |  ------------------
  ------------------
   60|      2|    PyObject *sub;
   61|       |
   62|      2|    if (list == NULL)
  ------------------
  |  Branch (62:9): [True: 0, False: 2]
  ------------------
   63|      0|        return NULL;
   64|       |
   65|      2|    i = j = 0;
   66|     10|    while (maxcount-- > 0) {
  ------------------
  |  Branch (66:12): [True: 10, False: 0]
  ------------------
   67|     16|        while (i < str_len && STRINGLIB_ISSPACE(str[i]))
  ------------------
  |  |   14|     14|#define STRINGLIB_ISSPACE        Py_UNICODE_ISSPACE
  ------------------
  |  Branch (67:16): [True: 14, False: 2]
  |  Branch (67:31): [True: 6, False: 8]
  ------------------
   68|      6|            i++;
   69|     10|        if (i == str_len) break;
  ------------------
  |  Branch (69:13): [True: 2, False: 8]
  ------------------
   70|      8|        j = i; i++;
   71|     40|        while (i < str_len && !STRINGLIB_ISSPACE(str[i]))
  ------------------
  |  |   14|     38|#define STRINGLIB_ISSPACE        Py_UNICODE_ISSPACE
  ------------------
  |  Branch (71:16): [True: 38, False: 2]
  |  Branch (71:31): [True: 32, False: 6]
  ------------------
   72|     32|            i++;
   73|      8|#if !STRINGLIB_MUTABLE
   74|      8|        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: 2, False: 6]
  |  Branch (74:23): [True: 0, False: 2]
  ------------------
   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|      8|#endif
   82|     24|        SPLIT_ADD(str, j, i);
  ------------------
  |  |   32|      8|#define SPLIT_ADD(data, left, right) {          \
  |  |   33|      8|    sub = STRINGLIB_NEW((data) + (left),        \
  |  |  ------------------
  |  |  |  |   20|      8|#define STRINGLIB_NEW(STR,LEN)   _PyUnicode_FromASCII((const char*)(STR),(LEN))
  |  |  ------------------
  |  |   34|      8|                        (right) - (left));      \
  |  |   35|      8|    if (sub == NULL)                            \
  |  |  ------------------
  |  |  |  Branch (35:9): [True: 0, False: 8]
  |  |  ------------------
  |  |   36|      8|        goto onError;                           \
  |  |   37|      8|    if (count < MAX_PREALLOC) {                 \
  |  |  ------------------
  |  |  |  |   14|      8|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (37:9): [True: 8, False: 0]
  |  |  ------------------
  |  |   38|      8|        PyList_SET_ITEM(list, count, sub);      \
  |  |  ------------------
  |  |  |  |   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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   39|      8|    } 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|      8|    count++; }
  ------------------
   83|     24|    }
   84|       |
   85|      2|    if (i < str_len) {
  ------------------
  |  Branch (85:9): [True: 0, False: 2]
  ------------------
   86|       |        /* Only occurs when maxcount was reached */
   87|       |        /* Skip any remaining whitespace and copy to end of string */
   88|      0|        while (i < str_len && STRINGLIB_ISSPACE(str[i]))
  ------------------
  |  |   14|      0|#define STRINGLIB_ISSPACE        Py_UNICODE_ISSPACE
  ------------------
  |  Branch (88:16): [True: 0, False: 0]
  |  Branch (88:31): [True: 0, False: 0]
  ------------------
   89|      0|            i++;
   90|      0|        if (i != str_len)
  ------------------
  |  Branch (90:13): [True: 0, False: 0]
  ------------------
   91|      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++; }
  ------------------
   92|      0|    }
   93|      2|    FIX_PREALLOC_SIZE(list);
  ------------------
  |  |   51|      2|#define FIX_PREALLOC_SIZE(list) Py_SET_SIZE(list, count)
  |  |  ------------------
  |  |  |  |  216|      2|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  182|      2|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   94|      2|    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|      2|}
unicodeobject.c:asciilib_split:
  149|     11|{
  150|     11|    Py_ssize_t i, j, pos, count=0;
  151|     11|    PyObject *list, *sub;
  152|       |
  153|     11|    if (sep_len == 0) {
  ------------------
  |  Branch (153:9): [True: 0, False: 11]
  ------------------
  154|      0|        PyErr_SetString(PyExc_ValueError, "empty separator");
  155|      0|        return NULL;
  156|      0|    }
  157|     11|    else if (sep_len == 1)
  ------------------
  |  Branch (157:14): [True: 11, False: 0]
  ------------------
  158|     11|        return STRINGLIB(split_char)(str_obj, str, str_len, sep[0], maxcount);
  ------------------
  |  |    7|     11|#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|     11|{
  107|     11|    Py_ssize_t i, j, count=0;
  108|     11|    PyObject *list = PyList_New(PREALLOC_SIZE(maxcount));
  ------------------
  |  |   18|     11|    (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
  |  |  ------------------
  |  |  |  |   14|     22|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |                   (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
  |  |  ------------------
  |  |  |  |   14|     10|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (18:6): [True: 10, False: 1]
  |  |  ------------------
  ------------------
  109|     11|    PyObject *sub;
  110|       |
  111|     11|    if (list == NULL)
  ------------------
  |  Branch (111:9): [True: 0, False: 11]
  ------------------
  112|      0|        return NULL;
  113|       |
  114|     11|    i = j = 0;
  115|     33|    while ((j < str_len) && (maxcount-- > 0)) {
  ------------------
  |  Branch (115:12): [True: 22, False: 11]
  |  Branch (115:29): [True: 22, False: 0]
  ------------------
  116|    180|        for(; j < str_len; j++) {
  ------------------
  |  Branch (116:15): [True: 169, False: 11]
  ------------------
  117|       |            /* I found that using memchr makes no difference */
  118|    169|            if (str[j] == ch) {
  ------------------
  |  Branch (118:17): [True: 11, False: 158]
  ------------------
  119|     11|                SPLIT_ADD(str, i, j);
  ------------------
  |  |   32|     11|#define SPLIT_ADD(data, left, right) {          \
  |  |   33|     11|    sub = STRINGLIB_NEW((data) + (left),        \
  |  |  ------------------
  |  |  |  |   20|     11|#define STRINGLIB_NEW(STR,LEN)   _PyUnicode_FromASCII((const char*)(STR),(LEN))
  |  |  ------------------
  |  |   34|     11|                        (right) - (left));      \
  |  |   35|     11|    if (sub == NULL)                            \
  |  |  ------------------
  |  |  |  Branch (35:9): [True: 0, False: 11]
  |  |  ------------------
  |  |   36|     11|        goto onError;                           \
  |  |   37|     11|    if (count < MAX_PREALLOC) {                 \
  |  |  ------------------
  |  |  |  |   14|     11|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (37:9): [True: 11, False: 0]
  |  |  ------------------
  |  |   38|     11|        PyList_SET_ITEM(list, count, sub);      \
  |  |  ------------------
  |  |  |  |   50|     11|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   39|     11|    } 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|     11|    count++; }
  ------------------
  120|     11|                i = j = j + 1;
  121|     11|                break;
  122|     11|            }
  123|    169|        }
  124|     22|    }
  125|     11|#if !STRINGLIB_MUTABLE
  126|     11|    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 (126:9): [True: 0, False: 11]
  ------------------
  127|       |        /* ch not in str_obj, so just use str_obj as list[0] */
  128|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  129|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  130|      0|        count++;
  131|      0|    } else
  132|     11|#endif
  133|     11|    if (i <= str_len) {
  ------------------
  |  Branch (133:9): [True: 11, False: 0]
  ------------------
  134|     22|        SPLIT_ADD(str, i, str_len);
  ------------------
  |  |   32|     11|#define SPLIT_ADD(data, left, right) {          \
  |  |   33|     11|    sub = STRINGLIB_NEW((data) + (left),        \
  |  |  ------------------
  |  |  |  |   20|     11|#define STRINGLIB_NEW(STR,LEN)   _PyUnicode_FromASCII((const char*)(STR),(LEN))
  |  |  ------------------
  |  |   34|     11|                        (right) - (left));      \
  |  |   35|     11|    if (sub == NULL)                            \
  |  |  ------------------
  |  |  |  Branch (35:9): [True: 0, False: 11]
  |  |  ------------------
  |  |   36|     11|        goto onError;                           \
  |  |   37|     11|    if (count < MAX_PREALLOC) {                 \
  |  |  ------------------
  |  |  |  |   14|     11|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (37:9): [True: 11, False: 0]
  |  |  ------------------
  |  |   38|     11|        PyList_SET_ITEM(list, count, sub);      \
  |  |  ------------------
  |  |  |  |   50|     11|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   39|     11|    } 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|     11|    count++; }
  ------------------
  135|     22|    }
  136|     11|    FIX_PREALLOC_SIZE(list);
  ------------------
  |  |   51|     11|#define FIX_PREALLOC_SIZE(list) Py_SET_SIZE(list, count)
  |  |  ------------------
  |  |  |  |  216|     11|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  182|     11|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  137|     11|    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|     11|}

bytesobject.c:return_self:
   17|      2|{
   18|      2|#if !STRINGLIB_MUTABLE
   19|      2|    if (STRINGLIB_CHECK_EXACT(self)) {
  ------------------
  |  |   24|      2|#define STRINGLIB_CHECK_EXACT    PyBytes_CheckExact
  |  |  ------------------
  |  |  |  |   29|      2|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   20|      2|        return Py_NewRef(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   21|      2|    }
   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|      2|}
bytesobject.c:stringlib_replace:
  682|      2|{
  683|      2|    if (STRINGLIB_LEN(self) < from_len) {
  ------------------
  |  |   21|      2|#define STRINGLIB_LEN            PyBytes_GET_SIZE
  |  |  ------------------
  |  |  |  |   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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (683:9): [True: 0, False: 2]
  ------------------
  684|       |        /* nothing to do; return the original bytes */
  685|      0|        return return_self(self);
  686|      0|    }
  687|      2|    if (maxcount < 0) {
  ------------------
  |  Branch (687:9): [True: 2, False: 0]
  ------------------
  688|      2|        maxcount = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|      2|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  689|      2|    } 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|      2|    if (from_len == 0) {
  ------------------
  |  Branch (695:9): [True: 0, False: 2]
  ------------------
  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|      2|    if (to_len == 0) {
  ------------------
  |  Branch (706:9): [True: 0, False: 2]
  ------------------
  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|      2|    if (from_len == to_len) {
  ------------------
  |  Branch (719:9): [True: 2, False: 0]
  ------------------
  720|      2|        if (from_len == 1) {
  ------------------
  |  Branch (720:13): [True: 2, False: 0]
  ------------------
  721|      2|            return stringlib_replace_single_character_in_place(
  722|      2|                self, from_s[0], to_s[0], maxcount);
  723|      2|        } else {
  724|      0|            return stringlib_replace_substring_in_place(
  725|      0|                self, from_s, from_len, to_s, to_len, maxcount);
  726|      0|        }
  727|      2|    }
  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|      2|{
  450|      2|    const char *self_s, *end;
  451|      2|    char *result_s, *start, *next;
  452|      2|    Py_ssize_t self_len;
  453|      2|    PyObject *result;
  454|       |
  455|       |    /* The result string will be the same size */
  456|      2|    self_s = STRINGLIB_STR(self);
  ------------------
  |  |   20|      2|#define STRINGLIB_STR            PyBytes_AS_STRING
  |  |  ------------------
  |  |  |  |   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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  457|      2|    self_len = STRINGLIB_LEN(self);
  ------------------
  |  |   21|      2|#define STRINGLIB_LEN            PyBytes_GET_SIZE
  |  |  ------------------
  |  |  |  |   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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  458|       |
  459|      2|    next = findchar(self_s, self_len, from_c);
  ------------------
  |  |  254|      2|  ((char *)memchr((const void *)(target), c, target_len))
  ------------------
  460|       |
  461|      2|    if (next == NULL) {
  ------------------
  |  Branch (461:9): [True: 2, False: 0]
  ------------------
  462|       |        /* No matches; return the original bytes */
  463|      2|        return return_self(self);
  464|      2|    }
  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|}

PyStructSequence_New:
   66|    131|{
   67|    131|    PyStructSequence *obj;
   68|    131|    Py_ssize_t size = REAL_SIZE_TP(type), i;
  ------------------
  |  |   48|    131|    get_type_attr_as_size(tp, &_Py_ID(n_fields))
  |  |  ------------------
  |  |  |  |  920|    131|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    131|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    131|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   69|    131|    if (size < 0) {
  ------------------
  |  Branch (69:9): [True: 0, False: 131]
  ------------------
   70|      0|        return NULL;
   71|      0|    }
   72|    131|    Py_ssize_t vsize = VISIBLE_SIZE_TP(type);
  ------------------
  |  |   46|    131|    get_type_attr_as_size(tp, &_Py_ID(n_sequence_fields))
  |  |  ------------------
  |  |  |  |  920|    131|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    131|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    131|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   73|    131|    if (vsize < 0) {
  ------------------
  |  Branch (73:9): [True: 0, False: 131]
  ------------------
   74|      0|        return NULL;
   75|      0|    }
   76|       |
   77|    131|    obj = PyObject_GC_NewVar(PyStructSequence, type, size);
  ------------------
  |  |  183|    131|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|    131|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   78|    131|    if (obj == NULL)
  ------------------
  |  Branch (78:9): [True: 0, False: 131]
  ------------------
   79|      0|        return NULL;
   80|    131|    _PyTuple_RESET_HASH_CACHE(obj);
  ------------------
  |  |   44|    131|    do {                                    \
  |  |   45|    131|        assert(op != NULL);                 \
  |  |   46|    262|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|    131|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    131|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   47|    262|    } while (0)
  |  |  ------------------
  |  |  |  Branch (47:14): [Folded, False: 131]
  |  |  ------------------
  ------------------
  |  Branch (80:5): [True: 131, False: 0]
  |  Branch (80:5): [True: 131, False: 0]
  ------------------
   81|       |    /* Hack the size of the variable object, so invisible fields don't appear
   82|       |     to Python code. */
   83|    131|    Py_SET_SIZE(obj, vsize);
  ------------------
  |  |  216|    131|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|    131|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    131|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   84|  2.50k|    for (i = 0; i < size; i++)
  ------------------
  |  Branch (84:17): [True: 2.37k, False: 131]
  ------------------
   85|  2.37k|        obj->ob_item[i] = NULL;
   86|       |
   87|    131|    return (PyObject*)obj;
   88|    131|}
PyStructSequence_SetItem:
   92|  2.37k|{
   93|  2.37k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  2.37k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (93:28): [True: 2.37k, False: 0]
  ------------------
   94|  2.37k|    assert(0 <= index);
  ------------------
  |  Branch (94:5): [True: 2.37k, False: 0]
  ------------------
   95|  2.37k|#ifndef NDEBUG
   96|  2.37k|    Py_ssize_t n_fields = REAL_SIZE(op);
  ------------------
  |  |   49|  2.37k|#define REAL_SIZE(op) get_real_size((PyObject *)op)
  ------------------
   97|  2.37k|    assert(n_fields >= 0);
  ------------------
  |  Branch (97:5): [True: 2.37k, False: 0]
  ------------------
   98|  2.37k|    assert(index < n_fields);
  ------------------
  |  Branch (98:5): [True: 2.37k, False: 0]
  ------------------
   99|  2.37k|#endif
  100|  2.37k|    tuple->ob_item[index] = value;
  101|  2.37k|}
PyStructSequence_GetItem:
  105|     88|{
  106|     88|    assert(0 <= index);
  ------------------
  |  Branch (106:5): [True: 88, False: 0]
  ------------------
  107|     88|#ifndef NDEBUG
  108|     88|    Py_ssize_t n_fields = REAL_SIZE(op);
  ------------------
  |  |   49|     88|#define REAL_SIZE(op) get_real_size((PyObject *)op)
  ------------------
  109|     88|    assert(n_fields >= 0);
  ------------------
  |  Branch (109:5): [True: 88, False: 0]
  ------------------
  110|     88|    assert(index < n_fields);
  ------------------
  |  Branch (110:5): [True: 88, False: 0]
  ------------------
  111|     88|#endif
  112|     88|    return PyTuple_GET_ITEM(op, index);
  ------------------
  |  |   29|     88|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     88|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (112:12): [True: 88, False: 0]
  ------------------
  113|     88|}
_PyStructSequence_InitBuiltinWithFlags:
  618|     16|{
  619|     16|    if (Py_TYPE(type) == NULL) {
  ------------------
  |  |  213|     16|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (619:9): [True: 16, False: 0]
  ------------------
  620|     16|        Py_SET_TYPE(type, &PyType_Type);
  ------------------
  |  |  217|     16|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  621|     16|    }
  622|     16|    Py_ssize_t n_unnamed_members;
  623|     16|    Py_ssize_t n_members = count_members(desc, &n_unnamed_members);
  624|     16|    PyMemberDef *members = NULL;
  625|       |
  626|     16|    if ((type->tp_flags & Py_TPFLAGS_READY) == 0) {
  ------------------
  |  |  518|     16|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
  |  Branch (626:9): [True: 16, False: 0]
  ------------------
  627|     16|        assert(type->tp_name == NULL);
  ------------------
  |  Branch (627:9): [True: 16, False: 0]
  ------------------
  628|     16|        assert(type->tp_members == NULL);
  ------------------
  |  Branch (628:9): [True: 16, False: 0]
  ------------------
  629|     16|        assert(type->tp_base == NULL);
  ------------------
  |  Branch (629:9): [True: 16, False: 0]
  ------------------
  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|      0|#ifndef NDEBUG
  640|      0|    else {
  641|       |        // Ensure that the type was initialized.
  642|      0|        assert(type->tp_name != NULL);
  ------------------
  |  Branch (642:9): [True: 0, False: 0]
  ------------------
  643|      0|        assert(type->tp_members != NULL);
  ------------------
  |  Branch (643:9): [True: 0, False: 0]
  ------------------
  644|      0|        assert(type->tp_base == &PyTuple_Type);
  ------------------
  |  Branch (644:9): [True: 0, False: 0]
  ------------------
  645|      0|        assert((type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN));
  ------------------
  |  Branch (645:9): [True: 0, False: 0]
  ------------------
  646|      0|        assert(_Py_IsImmortal(type));
  ------------------
  |  Branch (646:9): [True: 0, False: 0]
  ------------------
  647|      0|    }
  648|     16|#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|     18|{
  747|     18|    PyMemberDef *members;
  748|     18|    PyTypeObject *type;
  749|     18|    PyType_Slot slots[8];
  750|     18|    PyType_Spec spec;
  751|     18|    Py_ssize_t n_members, n_unnamed_members;
  752|       |
  753|       |    /* Initialize MemberDefs */
  754|     18|    n_members = count_members(desc, &n_unnamed_members);
  755|     18|    members = initialize_members(desc, n_members, n_unnamed_members);
  756|     18|    if (members == NULL) {
  ------------------
  |  Branch (756:9): [True: 0, False: 18]
  ------------------
  757|      0|        return NULL;
  758|      0|    }
  759|       |
  760|       |    /* Initialize Slots */
  761|     18|    slots[0] = (PyType_Slot){Py_tp_dealloc, structseq_dealloc};
  ------------------
  |  |   60|     18|#define Py_tp_dealloc 52
  ------------------
  762|     18|    slots[1] = (PyType_Slot){Py_tp_repr, structseq_repr};
  ------------------
  |  |   74|     18|#define Py_tp_repr 66
  ------------------
  763|     18|    slots[2] = (PyType_Slot){Py_tp_doc, (void *)desc->doc};
  ------------------
  |  |   64|     18|#define Py_tp_doc 56
  ------------------
  764|     18|    slots[3] = (PyType_Slot){Py_tp_methods, structseq_methods};
  ------------------
  |  |   72|     18|#define Py_tp_methods 64
  ------------------
  765|     18|    slots[4] = (PyType_Slot){Py_tp_new, structseq_new};
  ------------------
  |  |   73|     18|#define Py_tp_new 65
  ------------------
  766|     18|    slots[5] = (PyType_Slot){Py_tp_members, members};
  ------------------
  |  |   80|     18|#define Py_tp_members 72
  ------------------
  767|     18|    slots[6] = (PyType_Slot){Py_tp_traverse, structseq_traverse};
  ------------------
  |  |   79|     18|#define Py_tp_traverse 71
  ------------------
  768|     18|    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|     18|    spec.name = desc->name;
  774|     18|    Py_ssize_t hidden = n_members - desc->n_in_sequence;
  775|     18|    spec.basicsize = (int)(sizeof(PyStructSequence) + (hidden - 1) * sizeof(PyObject *));
  776|     18|    spec.itemsize = sizeof(PyObject *);
  777|     18|    spec.flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC | tp_flags;
  ------------------
  |  |  560|     18|#define Py_TPFLAGS_DEFAULT  ( \
  |  |  561|     18|                 Py_TPFLAGS_HAVE_STACKLESS_EXTENSION | \
  |  |  ------------------
  |  |  |  |  530|     18|#define Py_TPFLAGS_HAVE_STACKLESS_EXTENSION 0
  |  |  ------------------
  |  |  562|     18|                0)
  ------------------
                  spec.flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC | tp_flags;
  ------------------
  |  |  524|     18|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  778|     18|    spec.slots = slots;
  779|       |
  780|     18|    type = (PyTypeObject *)PyType_FromSpecWithBases(&spec, (PyObject *)&PyTuple_Type);
  781|     18|    PyMem_Free(members);
  782|     18|    if (type == NULL) {
  ------------------
  |  Branch (782:9): [True: 0, False: 18]
  ------------------
  783|      0|        return NULL;
  784|      0|    }
  785|       |
  786|     18|    if (initialize_structseq_dict(
  ------------------
  |  Branch (786:9): [True: 0, False: 18]
  ------------------
  787|     18|            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|     18|    return type;
  793|     18|}
PyStructSequence_NewType:
  798|     18|{
  799|     18|    return _PyStructSequence_NewType(desc, 0);
  800|     18|}
structseq.c:get_type_attr_as_size:
   29|    262|{
   30|    262|    PyObject *v = PyDict_GetItemWithError(_PyType_GetDict(tp), name);
   31|       |
   32|    262|    if (v == NULL) {
  ------------------
  |  Branch (32:9): [True: 0, False: 262]
  ------------------
   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|    262|    return PyLong_AsSsize_t(v);
   42|    262|}
structseq.c:get_real_size:
   57|  2.58k|{
   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|  2.58k|    Py_ssize_t hidden = Py_TYPE(op)->tp_basicsize - offsetof(PyStructSequence, ob_item);
  ------------------
  |  |  213|  2.58k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   61|  2.58k|    return Py_SIZE(op) + hidden / sizeof(PyObject *);
  ------------------
  |  |  214|  2.58k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   62|  2.58k|}
structseq.c:count_members:
  469|     34|count_members(PyStructSequence_Desc *desc, Py_ssize_t *n_unnamed_members) {
  470|     34|    Py_ssize_t i;
  471|       |
  472|     34|    *n_unnamed_members = 0;
  473|    282|    for (i = 0; desc->fields[i].name != NULL; ++i) {
  ------------------
  |  Branch (473:17): [True: 248, False: 34]
  ------------------
  474|    248|        if (desc->fields[i].name == PyStructSequence_UnnamedField) {
  ------------------
  |  Branch (474:13): [True: 6, False: 242]
  ------------------
  475|      6|            (*n_unnamed_members)++;
  476|      6|        }
  477|    248|    }
  478|     34|    return i;
  479|     34|}
structseq.c:initialize_members:
  542|     34|{
  543|     34|    PyMemberDef *members;
  544|       |
  545|     34|    members = PyMem_NEW(PyMemberDef, n_members - n_unnamed_members + 1);
  ------------------
  |  |   82|     34|#define PyMem_NEW(type, n)        PyMem_New(type, (n))
  |  |  ------------------
  |  |  |  |   64|     34|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|     34|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (64:5): [True: 0, False: 34]
  |  |  |  |  ------------------
  |  |  |  |   65|     34|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  |  |  ------------------
  ------------------
  546|     34|    if (members == NULL) {
  ------------------
  |  Branch (546:9): [True: 0, False: 34]
  ------------------
  547|      0|        PyErr_NoMemory();
  548|      0|        return NULL;
  549|      0|    }
  550|       |
  551|     34|    Py_ssize_t i, k;
  552|    282|    for (i = k = 0; i < n_members; ++i) {
  ------------------
  |  Branch (552:21): [True: 248, False: 34]
  ------------------
  553|    248|        if (desc->fields[i].name == PyStructSequence_UnnamedField) {
  ------------------
  |  Branch (553:13): [True: 6, False: 242]
  ------------------
  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|    242|        members[k].name = desc->fields[i].name;
  560|    242|        members[k].type = _Py_T_OBJECT;
  ------------------
  |  |   59|    242|#define _Py_T_OBJECT   6  // Deprecated, use Py_T_OBJECT_EX instead
  ------------------
  561|    242|        members[k].offset = offsetof(PyStructSequence, ob_item)
  562|    242|          + i * sizeof(PyObject*);
  563|    242|        members[k].flags = Py_READONLY;
  ------------------
  |  |   83|    242|#define Py_READONLY            (1 << 0)
  ------------------
  564|    242|        members[k].doc = desc->fields[i].doc;
  565|    242|        k++;
  566|    242|    }
  567|     34|    members[k].name = NULL;
  568|       |
  569|     34|    return members;
  570|     34|}
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|     34|                          Py_ssize_t n_members, Py_ssize_t n_unnamed_members) {
  484|     34|    PyObject *v;
  485|       |
  486|     34|#define SET_DICT_FROM_SIZE(key, value)                                         \
  487|     34|    do {                                                                       \
  488|     34|        v = PyLong_FromSsize_t(value);                                         \
  489|     34|        if (v == NULL) {                                                       \
  490|     34|            return -1;                                                         \
  491|     34|        }                                                                      \
  492|     34|        if (PyDict_SetItemString(dict, key, v) < 0) {                          \
  493|     34|            Py_DECREF(v);                                                      \
  494|     34|            return -1;                                                         \
  495|     34|        }                                                                      \
  496|     34|        Py_DECREF(v);                                                          \
  497|     34|    } while (0)
  498|       |
  499|     34|    SET_DICT_FROM_SIZE(visible_length_key, desc->n_in_sequence);
  ------------------
  |  |  487|     34|    do {                                                                       \
  |  |  488|     34|        v = PyLong_FromSsize_t(value);                                         \
  |  |  489|     34|        if (v == NULL) {                                                       \
  |  |  ------------------
  |  |  |  Branch (489:13): [True: 0, False: 34]
  |  |  ------------------
  |  |  490|      0|            return -1;                                                         \
  |  |  491|      0|        }                                                                      \
  |  |  492|     34|        if (PyDict_SetItemString(dict, key, v) < 0) {                          \
  |  |  ------------------
  |  |  |  Branch (492:13): [True: 0, False: 34]
  |  |  ------------------
  |  |  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|     34|        Py_DECREF(v);                                                          \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  497|     34|    } while (0)
  |  |  ------------------
  |  |  |  Branch (497:14): [Folded, False: 34]
  |  |  ------------------
  ------------------
  500|     34|    SET_DICT_FROM_SIZE(real_length_key, n_members);
  ------------------
  |  |  487|     34|    do {                                                                       \
  |  |  488|     34|        v = PyLong_FromSsize_t(value);                                         \
  |  |  489|     34|        if (v == NULL) {                                                       \
  |  |  ------------------
  |  |  |  Branch (489:13): [True: 0, False: 34]
  |  |  ------------------
  |  |  490|      0|            return -1;                                                         \
  |  |  491|      0|        }                                                                      \
  |  |  492|     34|        if (PyDict_SetItemString(dict, key, v) < 0) {                          \
  |  |  ------------------
  |  |  |  Branch (492:13): [True: 0, False: 34]
  |  |  ------------------
  |  |  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|     34|        Py_DECREF(v);                                                          \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  497|     34|    } while (0)
  |  |  ------------------
  |  |  |  Branch (497:14): [Folded, False: 34]
  |  |  ------------------
  ------------------
  501|     34|    SET_DICT_FROM_SIZE(unnamed_fields_key, n_unnamed_members);
  ------------------
  |  |  487|     34|    do {                                                                       \
  |  |  488|     34|        v = PyLong_FromSsize_t(value);                                         \
  |  |  489|     34|        if (v == NULL) {                                                       \
  |  |  ------------------
  |  |  |  Branch (489:13): [True: 0, False: 34]
  |  |  ------------------
  |  |  490|      0|            return -1;                                                         \
  |  |  491|      0|        }                                                                      \
  |  |  492|     34|        if (PyDict_SetItemString(dict, key, v) < 0) {                          \
  |  |  ------------------
  |  |  |  Branch (492:13): [True: 0, False: 34]
  |  |  ------------------
  |  |  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|     34|        Py_DECREF(v);                                                          \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  497|     34|    } while (0)
  |  |  ------------------
  |  |  |  Branch (497:14): [Folded, False: 34]
  |  |  ------------------
  ------------------
  502|       |
  503|       |    // Prepare and set __match_args__
  504|     34|    Py_ssize_t i, k;
  505|     34|    PyObject* keys = PyTuple_New(desc->n_in_sequence);
  506|     34|    if (keys == NULL) {
  ------------------
  |  Branch (506:9): [True: 0, False: 34]
  ------------------
  507|      0|        return -1;
  508|      0|    }
  509|       |
  510|    250|    for (i = k = 0; i < desc->n_in_sequence; ++i) {
  ------------------
  |  Branch (510:21): [True: 216, False: 34]
  ------------------
  511|    216|        if (desc->fields[i].name == PyStructSequence_UnnamedField) {
  ------------------
  |  Branch (511:13): [True: 6, False: 210]
  ------------------
  512|      6|            continue;
  513|      6|        }
  514|    210|        PyObject* new_member = PyUnicode_FromString(desc->fields[i].name);
  515|    210|        if (new_member == NULL) {
  ------------------
  |  Branch (515:13): [True: 0, False: 210]
  ------------------
  516|      0|            goto error;
  517|      0|        }
  518|    210|        PyTuple_SET_ITEM(keys, k, new_member);
  ------------------
  |  |   40|    210|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    210|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    210|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    210|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    210|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  519|    210|        k++;
  520|    210|    }
  521|       |
  522|     34|    if (_PyTuple_Resize(&keys, k) == -1) {
  ------------------
  |  Branch (522:9): [True: 0, False: 34]
  ------------------
  523|      0|        assert(keys == NULL);
  ------------------
  |  Branch (523:9): [True: 0, False: 0]
  ------------------
  524|      0|        return -1;
  525|      0|    }
  526|       |
  527|     34|    if (PyDict_SetItemString(dict, match_args_key, keys) < 0) {
  ------------------
  |  Branch (527:9): [True: 0, False: 34]
  ------------------
  528|      0|        goto error;
  529|      0|    }
  530|       |
  531|     34|    Py_DECREF(keys);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  532|     34|    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|     34|}
structseq.c:structseq_dealloc:
  133|    119|{
  134|    119|    PyStructSequence *obj = (PyStructSequence *)op;
  135|    119|    Py_ssize_t i, size;
  136|    119|    PyObject_GC_UnTrack(obj);
  137|       |
  138|    119|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|    119|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    119|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    119|#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|    119|    size = REAL_SIZE(obj);
  ------------------
  |  |   49|    119|#define REAL_SIZE(op) get_real_size((PyObject *)op)
  ------------------
  143|  2.38k|    for (i = 0; i < size; ++i) {
  ------------------
  |  Branch (143:17): [True: 2.26k, False: 119]
  ------------------
  144|  2.26k|        Py_XDECREF(obj->ob_item[i]);
  ------------------
  |  |  524|  2.26k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  145|  2.26k|    }
  146|    119|    PyObject_GC_Del(obj);
  147|    119|    if (_PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|    119|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (147:9): [True: 117, False: 2]
  ------------------
  148|    117|        Py_DECREF(tp);
  ------------------
  |  |  430|    117|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    117|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    117|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  149|    117|    }
  150|    119|}

PyTuple_New:
   76|   104k|{
   77|   104k|    PyTupleObject *op;
   78|   104k|    if (size == 0) {
  ------------------
  |  Branch (78:9): [True: 215, False: 104k]
  ------------------
   79|    215|        return tuple_get_empty();
   80|    215|    }
   81|   104k|    op = tuple_alloc(size);
   82|   104k|    if (op == NULL) {
  ------------------
  |  Branch (82:9): [True: 0, False: 104k]
  ------------------
   83|      0|        return NULL;
   84|      0|    }
   85|   243k|    for (Py_ssize_t i = 0; i < size; i++) {
  ------------------
  |  Branch (85:28): [True: 139k, False: 104k]
  ------------------
   86|   139k|        op->ob_item[i] = NULL;
   87|   139k|    }
   88|   104k|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  507|   104k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   104k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   104k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   89|   104k|    return (PyObject *) op;
   90|   104k|}
PyTuple_Size:
   94|  3.51k|{
   95|  3.51k|    if (!PyTuple_Check(op)) {
  ------------------
  |  |   27|  3.51k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.51k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (95:9): [True: 0, False: 3.51k]
  ------------------
   96|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
   97|      0|        return -1;
   98|      0|    }
   99|  3.51k|    else
  100|  3.51k|        return Py_SIZE(op);
  ------------------
  |  |  214|  3.51k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.51k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  101|  3.51k|}
PyTuple_GetItem:
  105|  6.15k|{
  106|  6.15k|    if (!PyTuple_Check(op)) {
  ------------------
  |  |   27|  6.15k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  6.15k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (106:9): [True: 0, False: 6.15k]
  ------------------
  107|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  108|      0|        return NULL;
  109|      0|    }
  110|  6.15k|    if (i < 0 || i >= Py_SIZE(op)) {
  ------------------
  |  |  214|  6.15k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (110:9): [True: 0, False: 6.15k]
  |  Branch (110:18): [True: 0, False: 6.15k]
  ------------------
  111|      0|        PyErr_SetString(PyExc_IndexError, "tuple index out of range");
  112|      0|        return NULL;
  113|      0|    }
  114|  6.15k|    return ((PyTupleObject *)op) -> ob_item[i];
  115|  6.15k|}
_PyTuple_MaybeUntrack:
  139|  34.5M|{
  140|  34.5M|    PyTupleObject *t;
  141|  34.5M|    Py_ssize_t i, n;
  142|       |
  143|  34.5M|    if (!PyTuple_CheckExact(op) || !_PyObject_GC_IS_TRACKED(op))
  ------------------
  |  |   28|  34.5M|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  69.1M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  34.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  34.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!PyTuple_CheckExact(op) || !_PyObject_GC_IS_TRACKED(op))
  ------------------
  |  |   81|  34.5M|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  34.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (143:9): [True: 0, False: 34.5M]
  |  Branch (143:36): [True: 0, False: 34.5M]
  ------------------
  144|      0|        return;
  145|  34.5M|    t = (PyTupleObject *) op;
  146|  34.5M|    n = Py_SIZE(t);
  ------------------
  |  |  214|  34.5M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  34.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  34.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  147|  49.8M|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (147:17): [True: 49.4M, False: 363k]
  ------------------
  148|  49.4M|        PyObject *elt = PyTuple_GET_ITEM(t, i);
  ------------------
  |  |   29|  49.4M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  49.4M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  49.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (148:25): [True: 49.4M, False: 0]
  ------------------
  149|       |        /* Tuple with NULL elements aren't
  150|       |           fully constructed, don't untrack
  151|       |           them yet. */
  152|  49.4M|        if (!elt ||
  ------------------
  |  Branch (152:13): [True: 0, False: 49.4M]
  ------------------
  153|  49.4M|            _PyObject_GC_MAY_BE_TRACKED(elt))
  ------------------
  |  Branch (153:13): [True: 34.1M, False: 15.2M]
  ------------------
  154|  34.1M|            return;
  155|  49.4M|    }
  156|   363k|    _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  509|   363k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   363k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   363k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  157|   363k|}
PyTuple_Pack:
  173|  1.08M|{
  174|  1.08M|    Py_ssize_t i;
  175|  1.08M|    PyObject *o;
  176|  1.08M|    PyObject **items;
  177|  1.08M|    va_list vargs;
  178|  1.08M|    bool track = false;
  179|       |
  180|  1.08M|    if (n == 0) {
  ------------------
  |  Branch (180:9): [True: 0, False: 1.08M]
  ------------------
  181|      0|        return tuple_get_empty();
  182|      0|    }
  183|       |
  184|  1.08M|    va_start(vargs, n);
  185|  1.08M|    PyTupleObject *result = tuple_alloc(n);
  186|  1.08M|    if (result == NULL) {
  ------------------
  |  Branch (186:9): [True: 0, False: 1.08M]
  ------------------
  187|      0|        va_end(vargs);
  188|      0|        return NULL;
  189|      0|    }
  190|  1.08M|    items = result->ob_item;
  191|  4.32M|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (191:17): [True: 3.24M, False: 1.08M]
  ------------------
  192|  3.24M|        o = va_arg(vargs, PyObject *);
  193|  3.24M|        if (!track && maybe_tracked(o)) {
  ------------------
  |  Branch (193:13): [True: 2.16M, False: 1.08M]
  |  Branch (193:23): [True: 1.08M, False: 1.08M]
  ------------------
  194|  1.08M|            track = true;
  195|  1.08M|        }
  196|  3.24M|        items[i] = Py_NewRef(o);
  ------------------
  |  |  550|  3.24M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.24M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.24M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  197|  3.24M|    }
  198|  1.08M|    va_end(vargs);
  199|  1.08M|    if (track) {
  ------------------
  |  Branch (199:9): [True: 1.08M, False: 32]
  ------------------
  200|  1.08M|        _PyObject_GC_TRACK(result);
  ------------------
  |  |  507|  1.08M|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  201|  1.08M|    }
  202|  1.08M|    return (PyObject *)result;
  203|  1.08M|}
_PyTuple_FromPair:
  207|     82|{
  208|     82|    assert(first != NULL);
  ------------------
  |  Branch (208:5): [True: 82, False: 0]
  ------------------
  209|     82|    assert(second != NULL);
  ------------------
  |  Branch (209:5): [True: 82, False: 0]
  ------------------
  210|       |
  211|     82|    return _PyTuple_FromPairSteal(Py_NewRef(first), Py_NewRef(second));
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return _PyTuple_FromPairSteal(Py_NewRef(first), Py_NewRef(second));
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  212|     82|}
_PyTuple_FromPairSteal:
  216|  3.00M|{
  217|  3.00M|    assert(first != NULL);
  ------------------
  |  Branch (217:5): [True: 3.00M, False: 0]
  ------------------
  218|  3.00M|    assert(second != NULL);
  ------------------
  |  Branch (218:5): [True: 3.00M, False: 0]
  ------------------
  219|       |
  220|  3.00M|    PyTupleObject *op = tuple_alloc(2);
  221|  3.00M|    if (op == NULL) {
  ------------------
  |  Branch (221:9): [True: 0, False: 3.00M]
  ------------------
  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|  3.00M|    PyObject **items = op->ob_item;
  227|  3.00M|    items[0] = first;
  228|  3.00M|    items[1] = second;
  229|  3.00M|    if (maybe_tracked(first) || maybe_tracked(second)) {
  ------------------
  |  Branch (229:9): [True: 38, False: 3.00M]
  |  Branch (229:33): [True: 616, False: 2.99M]
  ------------------
  230|    654|        _PyObject_GC_TRACK(op);
  ------------------
  |  |  507|    654|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    654|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    654|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  231|    654|    }
  232|  3.00M|    return (PyObject *)op;
  233|  3.00M|}
PyTuple_FromArray:
  437|  4.46M|{
  438|  4.46M|    if (n == 0) {
  ------------------
  |  Branch (438:9): [True: 32.7k, False: 4.43M]
  ------------------
  439|  32.7k|        return tuple_get_empty();
  440|  32.7k|    }
  441|       |
  442|  4.43M|    PyTupleObject *tuple = tuple_alloc(n);
  443|  4.43M|    if (tuple == NULL) {
  ------------------
  |  Branch (443:9): [True: 0, False: 4.43M]
  ------------------
  444|      0|        return NULL;
  445|      0|    }
  446|  4.43M|    PyObject **dst = tuple->ob_item;
  447|  4.43M|    bool track = false;
  448|  11.9M|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (448:28): [True: 7.47M, False: 4.43M]
  ------------------
  449|  7.47M|        PyObject *item = src[i];
  450|  7.47M|        if (!track && maybe_tracked(item)) {
  ------------------
  |  Branch (450:13): [True: 4.93M, False: 2.54M]
  |  Branch (450:23): [True: 461k, False: 4.47M]
  ------------------
  451|   461k|            track = true;
  452|   461k|        }
  453|  7.47M|        dst[i] = Py_NewRef(item);
  ------------------
  |  |  550|  7.47M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  7.47M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.47M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  454|  7.47M|    }
  455|  4.43M|    if (track) {
  ------------------
  |  Branch (455:9): [True: 461k, False: 3.97M]
  ------------------
  456|   461k|        _PyObject_GC_TRACK(tuple);
  ------------------
  |  |  507|   461k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   461k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   461k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  457|   461k|    }
  458|  4.43M|    return (PyObject *)tuple;
  459|  4.43M|}
_PyTuple_FromStackRefStealOnSuccess:
  463|  38.8M|{
  464|  38.8M|    if (n == 0) {
  ------------------
  |  Branch (464:9): [True: 0, False: 38.8M]
  ------------------
  465|      0|        return tuple_get_empty();
  466|      0|    }
  467|  38.8M|    PyTupleObject *tuple = tuple_alloc(n);
  468|  38.8M|    if (tuple == NULL) {
  ------------------
  |  Branch (468:9): [True: 0, False: 38.8M]
  ------------------
  469|      0|        return NULL;
  470|      0|    }
  471|  38.8M|    PyObject **dst = tuple->ob_item;
  472|  38.8M|    bool track = false;
  473|   125M|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (473:28): [True: 86.8M, False: 38.8M]
  ------------------
  474|  86.8M|        PyObject *item = PyStackRef_AsPyObjectSteal(src[i]);
  475|  86.8M|        if (!track && maybe_tracked(item)) {
  ------------------
  |  Branch (475:13): [True: 51.5M, False: 35.3M]
  |  Branch (475:23): [True: 33.5M, False: 17.9M]
  ------------------
  476|  33.5M|            track = true;
  477|  33.5M|        }
  478|  86.8M|        dst[i] = item;
  479|  86.8M|    }
  480|  38.8M|    if (track) {
  ------------------
  |  Branch (480:9): [True: 33.5M, False: 5.33M]
  ------------------
  481|  33.5M|        _PyObject_GC_TRACK(tuple);
  ------------------
  |  |  507|  33.5M|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  33.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  33.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  482|  33.5M|    }
  483|  38.8M|    return (PyObject *)tuple;
  484|  38.8M|}
_PyTuple_FromArraySteal:
  488|    101|{
  489|    101|    if (n == 0) {
  ------------------
  |  Branch (489:9): [True: 0, False: 101]
  ------------------
  490|      0|        return tuple_get_empty();
  491|      0|    }
  492|    101|    PyTupleObject *tuple = tuple_alloc(n);
  493|    101|    if (tuple == NULL) {
  ------------------
  |  Branch (493:9): [True: 0, False: 101]
  ------------------
  494|      0|        for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (494:32): [True: 0, False: 0]
  ------------------
  495|      0|            Py_DECREF(src[i]);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  496|      0|        }
  497|      0|        return NULL;
  498|      0|    }
  499|    101|    PyObject **dst = tuple->ob_item;
  500|    968|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (500:28): [True: 867, False: 101]
  ------------------
  501|    867|        PyObject *item = src[i];
  502|    867|        dst[i] = item;
  503|    867|    }
  504|    101|    _PyObject_GC_TRACK(tuple);
  ------------------
  |  |  507|    101|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    101|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    101|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  505|    101|    return (PyObject *)tuple;
  506|    101|}
PyTuple_GetSlice:
  545|  2.41k|{
  546|  2.41k|    if (op == NULL || !PyTuple_Check(op)) {
  ------------------
  |  |   27|  2.41k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.41k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (546:9): [True: 0, False: 2.41k]
  |  Branch (546:23): [True: 0, False: 2.41k]
  ------------------
  547|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  548|      0|        return NULL;
  549|      0|    }
  550|  2.41k|    return tuple_slice((PyTupleObject *)op, i, j);
  551|  2.41k|}
_PyTuple_Concat:
  555|      6|{
  556|      6|    PyTupleObject *a = _PyTuple_CAST(aa);
  ------------------
  |  |   19|      6|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (556:24): [True: 6, False: 0]
  ------------------
  557|      6|    if (Py_SIZE(a) == 0 && PyTuple_CheckExact(bb)) {
  ------------------
  |  |  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 (Py_SIZE(a) == 0 && PyTuple_CheckExact(bb)) {
  ------------------
  |  |   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 (557:9): [True: 0, False: 6]
  ------------------
  558|      0|        return Py_NewRef(bb);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  559|      0|    }
  560|      6|    if (!PyTuple_Check(bb)) {
  ------------------
  |  |   27|      6|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      6|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (560:9): [True: 0, False: 6]
  ------------------
  561|      0|        PyErr_Format(PyExc_TypeError,
  562|      0|             "can only concatenate tuple (not \"%.200s\") to tuple",
  563|      0|                 Py_TYPE(bb)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  564|      0|        return NULL;
  565|      0|    }
  566|      6|    PyTupleObject *b = (PyTupleObject *)bb;
  567|       |
  568|      6|    if (Py_SIZE(b) == 0 && PyTuple_CheckExact(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_SIZE(b) == 0 && 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 (568:9): [True: 0, False: 6]
  ------------------
  569|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  570|      0|    }
  571|      6|    assert((size_t)Py_SIZE(a) + (size_t)Py_SIZE(b) < PY_SSIZE_T_MAX);
  ------------------
  |  Branch (571:5): [True: 6, False: 0]
  ------------------
  572|      6|    Py_ssize_t size = Py_SIZE(a) + Py_SIZE(b);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  Py_ssize_t size = Py_SIZE(a) + Py_SIZE(b);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  573|      6|    if (size == 0) {
  ------------------
  |  Branch (573:9): [True: 0, False: 6]
  ------------------
  574|      0|        return tuple_get_empty();
  575|      0|    }
  576|       |
  577|      6|    PyTupleObject *np = tuple_alloc(size);
  578|      6|    if (np == NULL) {
  ------------------
  |  Branch (578:9): [True: 0, False: 6]
  ------------------
  579|      0|        return NULL;
  580|      0|    }
  581|       |
  582|      6|    PyObject **src = a->ob_item;
  583|      6|    PyObject **dest = np->ob_item;
  584|     20|    for (Py_ssize_t i = 0; i < Py_SIZE(a); i++) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (584:28): [True: 14, False: 6]
  ------------------
  585|     14|        PyObject *v = src[i];
  586|     14|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  587|     14|    }
  588|       |
  589|      6|    src = b->ob_item;
  590|      6|    dest = np->ob_item + 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  591|     12|    for (Py_ssize_t i = 0; i < Py_SIZE(b); i++) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (591:28): [True: 6, False: 6]
  ------------------
  592|      6|        PyObject *v = src[i];
  593|      6|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  594|      6|    }
  595|       |
  596|      6|    _PyObject_GC_TRACK(np);
  ------------------
  |  |  507|      6|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  597|      6|    return (PyObject *)np;
  598|      6|}
_PyTuple_Resize:
 1037|     34|{
 1038|     34|    PyTupleObject *v;
 1039|     34|    PyTupleObject *sv;
 1040|     34|    Py_ssize_t i;
 1041|     34|    Py_ssize_t oldsize;
 1042|       |
 1043|     34|    v = (PyTupleObject *) *pv;
 1044|     34|    if (v == NULL || !Py_IS_TYPE(v, &PyTuple_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 (1044:9): [True: 0, False: 34]
  |  Branch (1044:22): [True: 0, False: 34]
  ------------------
 1045|     34|        (Py_SIZE(v) != 0 && !_PyObject_IsUniquelyReferenced(*pv))) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1045:10): [True: 34, False: 0]
  |  Branch (1045:29): [True: 0, False: 34]
  ------------------
 1046|      0|        *pv = 0;
 1047|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1048|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1049|      0|        return -1;
 1050|      0|    }
 1051|       |
 1052|     34|    oldsize = Py_SIZE(v);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1053|     34|    if (oldsize == newsize) {
  ------------------
  |  Branch (1053:9): [True: 32, False: 2]
  ------------------
 1054|     32|        return 0;
 1055|     32|    }
 1056|      2|    if (newsize == 0) {
  ------------------
  |  Branch (1056:9): [True: 0, False: 2]
  ------------------
 1057|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1058|      0|        *pv = tuple_get_empty();
 1059|      0|        return 0;
 1060|      0|    }
 1061|      2|    if (oldsize == 0) {
  ------------------
  |  Branch (1061:9): [True: 0, False: 2]
  ------------------
 1062|       |#ifdef Py_DEBUG
 1063|       |        assert(v == &_Py_SINGLETON(tuple_empty));
 1064|       |#endif
 1065|       |        /* The empty tuple is statically allocated so we never
 1066|       |           resize it in-place. */
 1067|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1068|      0|        *pv = PyTuple_New(newsize);
 1069|      0|        return *pv == NULL ? -1 : 0;
  ------------------
  |  Branch (1069:16): [True: 0, False: 0]
  ------------------
 1070|      0|    }
 1071|       |
 1072|      2|    if (_PyObject_GC_IS_TRACKED(v)) {
  ------------------
  |  |   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 (81:37): [True: 2, False: 0]
  |  |  ------------------
  ------------------
 1073|      2|        _PyObject_GC_UNTRACK(v);
  ------------------
  |  |  509|      2|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1074|      2|    }
 1075|       |#ifdef Py_TRACE_REFS
 1076|       |    _Py_ForgetReference((PyObject *) v);
 1077|       |#endif
 1078|       |    /* DECREF items deleted by shrinkage */
 1079|      8|    for (i = newsize; i < oldsize; i++) {
  ------------------
  |  Branch (1079:23): [True: 6, False: 2]
  ------------------
 1080|      6|        Py_CLEAR(v->ob_item[i]);
  ------------------
  |  |  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: 0, False: 6]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1081|      6|    }
 1082|      2|    _PyReftracerTrack((PyObject *)v, PyRefTracer_DESTROY);
  ------------------
  |  |  112|      2|    do { \
  |  |  113|      2|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  114|      2|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (114:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  117|      0|        } \
  |  |  118|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (118:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1083|      2|    sv = PyObject_GC_Resize(PyTupleObject, v, newsize);
  ------------------
  |  |  161|      2|                ( (type *) _PyObject_GC_Resize(_PyVarObject_CAST(op), (n)) )
  |  |  ------------------
  |  |  |  |  182|      2|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1084|      2|    if (sv == NULL) {
  ------------------
  |  Branch (1084:9): [True: 0, False: 2]
  ------------------
 1085|      0|        *pv = NULL;
 1086|       |#ifdef Py_REF_DEBUG
 1087|       |        _Py_DecRefTotal(_PyThreadState_GET());
 1088|       |#endif
 1089|      0|        PyObject_GC_Del(v);
 1090|      0|        return -1;
 1091|      0|    }
 1092|      2|    _Py_NewReferenceNoTotal((PyObject *) sv);
 1093|       |    /* Zero out items added by growing */
 1094|      2|    if (newsize > oldsize)
  ------------------
  |  Branch (1094:9): [True: 0, False: 2]
  ------------------
 1095|      0|        memset(&sv->ob_item[oldsize], 0,
 1096|      0|               sizeof(*sv->ob_item) * (newsize - oldsize));
 1097|      2|    *pv = (PyObject *) sv;
 1098|      2|    _PyObject_GC_TRACK(sv);
  ------------------
  |  |  507|      2|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1099|      2|    return 0;
 1100|      2|}
tupleobject.c:tuple_get_empty:
   70|  33.0k|{
   71|  33.0k|    return (PyObject *)&_Py_SINGLETON(tuple_empty);
  ------------------
  |  |   18|  33.0k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|  33.0k|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
   72|  33.0k|}
tupleobject.c:tuple_alloc:
   38|  47.5M|{
   39|  47.5M|    if (size < 0) {
  ------------------
  |  Branch (39:9): [True: 0, False: 47.5M]
  ------------------
   40|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
   41|      0|        return NULL;
   42|      0|    }
   43|  47.5M|    assert(size != 0);    // The empty tuple is statically allocated.
  ------------------
  |  Branch (43:5): [True: 47.5M, False: 0]
  ------------------
   44|  47.5M|    Py_ssize_t index = size - 1;
   45|  47.5M|    if (index < PyTuple_MAXSAVESIZE) {
  ------------------
  |  |   11|  47.5M|#  define PyTuple_MAXSAVESIZE 20     // Largest tuple to save on freelist
  ------------------
  |  Branch (45:9): [True: 47.5M, False: 613]
  ------------------
   46|  47.5M|        PyTupleObject *op = _Py_FREELIST_POP(PyTupleObject, tuples[index]);
  ------------------
  |  |   43|  47.5M|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  47.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   47|  47.5M|        if (op != NULL) {
  ------------------
  |  Branch (47:13): [True: 27.3M, False: 20.1M]
  ------------------
   48|  27.3M|            _PyTuple_RESET_HASH_CACHE(op);
  ------------------
  |  |   44|  27.3M|    do {                                    \
  |  |   45|  27.3M|        assert(op != NULL);                 \
  |  |   46|  54.7M|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|  27.3M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   47|  54.7M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (47:14): [Folded, False: 27.3M]
  |  |  ------------------
  ------------------
  |  Branch (48:13): [True: 27.3M, False: 0]
  |  Branch (48:13): [True: 27.3M, False: 0]
  ------------------
   49|  27.3M|            return op;
   50|  27.3M|        }
   51|  47.5M|    }
   52|       |    /* Check for overflow */
   53|  20.1M|    if ((size_t)size > ((size_t)PY_SSIZE_T_MAX - (sizeof(PyTupleObject) -
  ------------------
  |  |  137|  20.1M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (53:9): [True: 0, False: 20.1M]
  ------------------
   54|  20.1M|                sizeof(PyObject *))) / sizeof(PyObject *)) {
   55|      0|        return (PyTupleObject *)PyErr_NoMemory();
   56|      0|    }
   57|  20.1M|    PyTupleObject *result = PyObject_GC_NewVar(PyTupleObject, &PyTuple_Type, size);
  ------------------
  |  |  183|  20.1M|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|  20.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   58|  20.1M|    if (result != NULL) {
  ------------------
  |  Branch (58:9): [True: 20.1M, False: 0]
  ------------------
   59|  20.1M|        _PyTuple_RESET_HASH_CACHE(result);
  ------------------
  |  |   44|  20.1M|    do {                                    \
  |  |   45|  20.1M|        assert(op != NULL);                 \
  |  |   46|  40.3M|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|  20.1M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   47|  40.3M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (47:14): [Folded, False: 20.1M]
  |  |  ------------------
  ------------------
  |  Branch (59:9): [True: 20.1M, False: 0]
  |  Branch (59:9): [True: 20.1M, False: 0]
  ------------------
   60|  20.1M|    }
   61|  20.1M|    return result;
   62|  20.1M|}
tupleobject.c:maybe_tracked:
  167|  64.6M|{
  168|  64.6M|    return _PyType_IS_GC(Py_TYPE(ob));
  ------------------
  |  |  822|  64.6M|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  64.6M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  ------------------
  169|  64.6M|}
tupleobject.c:tuple_slice:
  511|  2.41k|{
  512|  2.41k|    if (ilow < 0)
  ------------------
  |  Branch (512:9): [True: 0, False: 2.41k]
  ------------------
  513|      0|        ilow = 0;
  514|  2.41k|    if (ihigh > Py_SIZE(a))
  ------------------
  |  |  214|  2.41k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (514:9): [True: 0, False: 2.41k]
  ------------------
  515|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  516|  2.41k|    if (ihigh < ilow)
  ------------------
  |  Branch (516:9): [True: 0, False: 2.41k]
  ------------------
  517|      0|        ihigh = ilow;
  518|  2.41k|    if (ilow == 0 && ihigh == Py_SIZE(a) && PyTuple_CheckExact(a)) {
  ------------------
  |  |  214|  2.44k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (ilow == 0 && ihigh == Py_SIZE(a) && PyTuple_CheckExact(a)) {
  ------------------
  |  |   28|      0|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (518:9): [True: 28, False: 2.39k]
  |  Branch (518:22): [True: 0, False: 28]
  ------------------
  519|      0|        return Py_NewRef(a);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  520|      0|    }
  521|  2.41k|    return PyTuple_FromArray(a->ob_item + ilow, ihigh - ilow);
  522|  2.41k|}
tupleobject.c:tuple_dealloc:
  256|  47.1M|{
  257|  47.1M|    PyTupleObject *op = _PyTuple_CAST(self);
  ------------------
  |  |   19|  47.1M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  47.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (257:25): [True: 47.1M, False: 0]
  ------------------
  258|  47.1M|    if (Py_SIZE(op) == 0) {
  ------------------
  |  |  214|  47.1M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  47.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  47.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (258:9): [True: 0, False: 47.1M]
  ------------------
  259|       |        /* The empty tuple is statically allocated. */
  260|      0|        if (op == &_Py_SINGLETON(tuple_empty)) {
  ------------------
  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
  |  Branch (260:13): [True: 0, False: 0]
  ------------------
  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|      0|    }
  272|       |
  273|  47.1M|    PyObject_GC_UnTrack(op);
  274|       |
  275|  47.1M|    Py_ssize_t i = Py_SIZE(op);
  ------------------
  |  |  214|  47.1M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  47.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  47.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  276|   149M|    while (--i >= 0) {
  ------------------
  |  Branch (276:12): [True: 102M, False: 47.1M]
  ------------------
  277|   102M|        Py_XDECREF(op->ob_item[i]);
  ------------------
  |  |  524|   102M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   102M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   102M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  278|   102M|    }
  279|       |    // This will abort on the empty singleton (if there is one).
  280|  47.1M|    if (!maybe_freelist_push(op)) {
  ------------------
  |  Branch (280:9): [True: 19.5M, False: 27.5M]
  ------------------
  281|  19.5M|        Py_TYPE(op)->tp_free((PyObject *)op);
  ------------------
  |  |  213|  19.5M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  19.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  282|  19.5M|    }
  283|  47.1M|}
tupleobject.c:tuple_length:
  408|   513k|{
  409|   513k|    PyTupleObject *a = _PyTuple_CAST(self);
  ------------------
  |  |   19|   513k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   513k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (409:24): [True: 513k, False: 0]
  ------------------
  410|   513k|    return Py_SIZE(a);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  411|   513k|}
tupleobject.c:tuple_item:
  426|  1.04M|{
  427|  1.04M|    PyTupleObject *a = _PyTuple_CAST(op);
  ------------------
  |  |   19|  1.04M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (427:24): [True: 1.04M, False: 0]
  ------------------
  428|  1.04M|    if (i < 0 || i >= Py_SIZE(a)) {
  ------------------
  |  |  214|  1.04M|#  define Py_SIZE(ob) _Py_SIZE_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (428:9): [True: 0, False: 1.04M]
  |  Branch (428:18): [True: 0, False: 1.04M]
  ------------------
  429|      0|        PyErr_SetString(PyExc_IndexError, "tuple index out of range");
  430|      0|        return NULL;
  431|      0|    }
  432|  1.04M|    return Py_NewRef(a->ob_item[i]);
  ------------------
  |  |  550|  1.04M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  433|  1.04M|}
tupleobject.c:tuple_contains:
  415|  9.07M|{
  416|  9.07M|    PyTupleObject *a = _PyTuple_CAST(self);
  ------------------
  |  |   19|  9.07M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  9.07M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (416:24): [True: 9.07M, False: 0]
  ------------------
  417|      0|    int cmp = 0;
  418|  30.5M|    for (Py_ssize_t i = 0; cmp == 0 && i < Py_SIZE(a); ++i) {
  ------------------
  |  |  214|  29.5M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  29.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  29.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (418:28): [True: 29.5M, False: 948k]
  |  Branch (418:40): [True: 21.4M, False: 8.12M]
  ------------------
  419|  21.4M|        cmp = PyObject_RichCompareBool(PyTuple_GET_ITEM(a, i), el, Py_EQ);
  ------------------
  |  |   29|  21.4M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  21.4M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      cmp = PyObject_RichCompareBool(PyTuple_GET_ITEM(a, i), el, Py_EQ);
  ------------------
  |  |  654|  21.4M|#define Py_EQ 2
  ------------------
  |  Branch (419:40): [True: 21.4M, False: 0]
  ------------------
  420|  21.4M|    }
  421|  9.07M|    return cmp;
  422|  9.07M|}
tupleobject.c:tuple_subscript:
  892|  1.04M|{
  893|  1.04M|    PyTupleObject *self = _PyTuple_CAST(op);
  ------------------
  |  |   19|  1.04M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (893:27): [True: 1.04M, False: 0]
  ------------------
  894|  1.04M|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (894:9): [True: 1.04M, False: 12]
  ------------------
  895|  1.04M|        Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError);
  896|  1.04M|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (896:13): [True: 1.04M, False: 81]
  |  Branch (896:24): [True: 0, False: 1.04M]
  ------------------
  897|      0|            return NULL;
  898|  1.04M|        if (i < 0)
  ------------------
  |  Branch (898:13): [True: 1.04M, False: 81]
  ------------------
  899|  1.04M|            i += PyTuple_GET_SIZE(self);
  ------------------
  |  |   27|  1.04M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  900|  1.04M|        return tuple_item(op, i);
  901|  1.04M|    }
  902|     12|    else if (PySlice_Check(item)) {
  ------------------
  |  |   22|     12|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_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: 12, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  903|     12|        Py_ssize_t start, stop, step, slicelength, i;
  904|     12|        size_t cur;
  905|     12|        PyObject* it;
  906|     12|        PyObject **src, **dest;
  907|       |
  908|     12|        if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (908:13): [True: 0, False: 12]
  ------------------
  909|      0|            return NULL;
  910|      0|        }
  911|     12|        slicelength = PySlice_AdjustIndices(PyTuple_GET_SIZE(self), &start,
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  912|     12|                                            &stop, step);
  913|       |
  914|     12|        if (slicelength <= 0) {
  ------------------
  |  Branch (914:13): [True: 1, False: 11]
  ------------------
  915|      1|            return tuple_get_empty();
  916|      1|        }
  917|     11|        else if (start == 0 && step == 1 &&
  ------------------
  |  Branch (917:18): [True: 0, False: 11]
  |  Branch (917:32): [True: 0, False: 0]
  ------------------
  918|      0|                 slicelength == PyTuple_GET_SIZE(self) &&
  ------------------
  |  |   27|     11|#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 (918:18): [True: 0, False: 0]
  ------------------
  919|      0|                 PyTuple_CheckExact(self)) {
  ------------------
  |  |   28|      0|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  920|      0|            return Py_NewRef(self);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  921|      0|        }
  922|     11|        else {
  923|     11|            PyTupleObject* result = tuple_alloc(slicelength);
  924|     11|            if (!result) return NULL;
  ------------------
  |  Branch (924:17): [True: 0, False: 11]
  ------------------
  925|       |
  926|     11|            src = self->ob_item;
  927|     11|            dest = result->ob_item;
  928|     73|            for (cur = start, i = 0; i < slicelength;
  ------------------
  |  Branch (928:38): [True: 62, False: 11]
  ------------------
  929|     62|                 cur += step, i++) {
  930|     62|                it = Py_NewRef(src[cur]);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  931|     62|                dest[i] = it;
  932|     62|            }
  933|       |
  934|     11|            _PyObject_GC_TRACK(result);
  ------------------
  |  |  507|     11|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  935|     11|            return (PyObject *)result;
  936|     11|        }
  937|     12|    }
  938|      0|    else {
  939|      0|        PyErr_Format(PyExc_TypeError,
  940|      0|                     "tuple indices must be integers or slices, not %.200s",
  941|      0|                     Py_TYPE(item)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  942|       |        return NULL;
  943|      0|    }
  944|  1.04M|}
tupleobject.c:tuple_hash:
  373|  6.06M|{
  374|  6.06M|    PyTupleObject *v = _PyTuple_CAST(op);
  ------------------
  |  |   19|  6.06M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  6.06M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (374:24): [True: 6.06M, False: 0]
  ------------------
  375|       |
  376|  6.06M|    Py_uhash_t acc = FT_ATOMIC_LOAD_SSIZE_RELAXED(v->ob_hash);
  ------------------
  |  |  149|  6.06M|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  377|  6.06M|    if (acc != (Py_uhash_t)-1) {
  ------------------
  |  Branch (377:9): [True: 2.43M, False: 3.62M]
  ------------------
  378|  2.43M|        return acc;
  379|  2.43M|    }
  380|       |
  381|  3.62M|    Py_ssize_t len = Py_SIZE(v);
  ------------------
  |  |  214|  3.62M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.62M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.62M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  382|  3.62M|    PyObject **item = v->ob_item;
  383|  3.62M|    acc = _PyTuple_HASH_XXPRIME_5;
  ------------------
  |  |   69|  3.62M|#define _PyTuple_HASH_XXPRIME_5 ((Py_uhash_t)2870177450012600261ULL)
  ------------------
  384|  11.9M|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (384:28): [True: 8.34M, False: 3.62M]
  ------------------
  385|  8.34M|        Py_uhash_t lane = PyObject_Hash(item[i]);
  386|  8.34M|        if (lane == (Py_uhash_t)-1) {
  ------------------
  |  Branch (386:13): [True: 0, False: 8.34M]
  ------------------
  387|      0|            return -1;
  388|      0|        }
  389|  8.34M|        acc += lane * _PyTuple_HASH_XXPRIME_2;
  ------------------
  |  |   68|  8.34M|#define _PyTuple_HASH_XXPRIME_2 ((Py_uhash_t)14029467366897019727ULL)
  ------------------
  390|  8.34M|        acc = _PyTuple_HASH_XXROTATE(acc);
  ------------------
  |  |   70|  8.34M|#define _PyTuple_HASH_XXROTATE(x) ((x << 31) | (x >> 33))  /* Rotate left 31 bits */
  ------------------
  391|  8.34M|        acc *= _PyTuple_HASH_XXPRIME_1;
  ------------------
  |  |   67|  8.34M|#define _PyTuple_HASH_XXPRIME_1 ((Py_uhash_t)11400714785074694791ULL)
  ------------------
  392|  8.34M|    }
  393|       |
  394|       |    /* Add input length, mangled to keep the historical value of hash(()). */
  395|  3.62M|    acc += len ^ (_PyTuple_HASH_XXPRIME_5 ^ 3527539UL);
  ------------------
  |  |   69|  3.62M|#define _PyTuple_HASH_XXPRIME_5 ((Py_uhash_t)2870177450012600261ULL)
  ------------------
  396|       |
  397|  3.62M|    if (acc == (Py_uhash_t)-1) {
  ------------------
  |  Branch (397:9): [True: 0, False: 3.62M]
  ------------------
  398|      0|        acc = 1546275796;
  399|      0|    }
  400|       |
  401|  3.62M|    FT_ATOMIC_STORE_SSIZE_RELAXED(v->ob_hash, acc);
  ------------------
  |  |  194|  3.62M|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  402|       |
  403|  3.62M|    return acc;
  404|  3.62M|}
tupleobject.c:tuple_traverse:
  719|  69.1M|{
  720|  69.1M|    PyTupleObject *o = _PyTuple_CAST(self);
  ------------------
  |  |   19|  69.1M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  69.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (720:24): [True: 69.1M, False: 0]
  ------------------
  721|   222M|    for (Py_ssize_t i = Py_SIZE(o); --i >= 0; ) {
  ------------------
  |  |  214|  69.1M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  69.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  69.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (721:37): [True: 153M, False: 69.1M]
  ------------------
  722|   153M|        Py_VISIT(o->ob_item[i]);
  ------------------
  |  |  194|   153M|    do {                                                                \
  |  |  195|   153M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 153M, False: 0]
  |  |  ------------------
  |  |  196|   153M|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   153M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   153M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   153M|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 153M]
  |  |  ------------------
  |  |  198|   153M|                return vret;                                            \
  |  |  199|   153M|        }                                                               \
  |  |  200|   153M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 153M]
  |  |  ------------------
  ------------------
  723|   153M|    }
  724|  69.1M|    return 0;
  725|  69.1M|}
tupleobject.c:tuple_richcompare:
  729|  1.85M|{
  730|  1.85M|    PyTupleObject *vt, *wt;
  731|  1.85M|    Py_ssize_t i;
  732|  1.85M|    Py_ssize_t vlen, wlen;
  733|       |
  734|  1.85M|    if (!PyTuple_Check(v) || !PyTuple_Check(w))
  ------------------
  |  |   27|  1.85M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.70M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (!PyTuple_Check(v) || !PyTuple_Check(w))
  ------------------
  |  |   27|  1.85M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.85M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (734:9): [True: 0, False: 1.85M]
  |  Branch (734:30): [True: 0, False: 1.85M]
  ------------------
  735|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
  736|       |
  737|  1.85M|    vt = (PyTupleObject *)v;
  738|  1.85M|    wt = (PyTupleObject *)w;
  739|       |
  740|  1.85M|    vlen = Py_SIZE(vt);
  ------------------
  |  |  214|  1.85M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.85M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.85M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  741|  1.85M|    wlen = Py_SIZE(wt);
  ------------------
  |  |  214|  1.85M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.85M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.85M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  742|       |
  743|       |    /* Note:  the corresponding code for lists has an "early out" test
  744|       |     * here when op is EQ or NE and the lengths differ.  That pays there,
  745|       |     * but Tim was unable to find any real code where EQ/NE tuple
  746|       |     * compares don't have the same length, so testing for it here would
  747|       |     * have cost without benefit.
  748|       |     */
  749|       |
  750|       |    /* Search for the first index where items are different.
  751|       |     * Note that because tuples are immutable, it's safe to reuse
  752|       |     * vlen and wlen across the comparison calls.
  753|       |     */
  754|  6.12M|    for (i = 0; i < vlen && i < wlen; i++) {
  ------------------
  |  Branch (754:17): [True: 4.36M, False: 1.75M]
  |  Branch (754:29): [True: 4.36M, False: 0]
  ------------------
  755|  4.36M|        int k = PyObject_RichCompareBool(vt->ob_item[i],
  756|  4.36M|                                         wt->ob_item[i], Py_EQ);
  ------------------
  |  |  654|  4.36M|#define Py_EQ 2
  ------------------
  757|  4.36M|        if (k < 0)
  ------------------
  |  Branch (757:13): [True: 0, False: 4.36M]
  ------------------
  758|      0|            return NULL;
  759|  4.36M|        if (!k)
  ------------------
  |  Branch (759:13): [True: 92.8k, False: 4.27M]
  ------------------
  760|  92.8k|            break;
  761|  4.36M|    }
  762|       |
  763|  1.85M|    if (i >= vlen || i >= wlen) {
  ------------------
  |  Branch (763:9): [True: 1.75M, False: 92.8k]
  |  Branch (763:22): [True: 0, False: 92.8k]
  ------------------
  764|       |        /* No more items to compare -- compare sizes */
  765|  1.75M|        Py_RETURN_RICHCOMPARE(vlen, wlen, op);
  ------------------
  |  |  674|  1.75M|    do {                                                                    \
  |  |  675|  1.75M|        switch (op) {                                                       \
  |  |  676|  1.74M|        case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  654|  1.74M|#define Py_EQ 2
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|  1.74M|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|  1.74M|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.74M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.74M|#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: 1.74M, False: 8.71k]
  |  |  |  Branch (676:25): [True: 1.74M, False: 0]
  |  |  ------------------
  |  |  677|  1.74M|        case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  655|  8.71k|#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|  8.71k|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|  8.71k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  8.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  8.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (677:9): [True: 8.71k, False: 1.74M]
  |  |  |  Branch (677:25): [True: 0, False: 8.71k]
  |  |  ------------------
  |  |  678|  8.71k|        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: 1.75M]
  |  |  |  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: 1.75M]
  |  |  |  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: 1.75M]
  |  |  |  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: 1.75M]
  |  |  |  Branch (681:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  682|      0|        default:                                                            \
  |  |  ------------------
  |  |  |  Branch (682:9): [True: 0, False: 1.75M]
  |  |  ------------------
  |  |  683|      0|            Py_UNREACHABLE();                                               \
  |  |  ------------------
  |  |  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|  1.75M|        }                                                                   \
  |  |  685|  1.75M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  766|  1.75M|    }
  767|       |
  768|       |    /* We have an item that differs -- shortcuts for EQ/NE */
  769|  92.8k|    if (op == Py_EQ) {
  ------------------
  |  |  654|  92.8k|#define Py_EQ 2
  ------------------
  |  Branch (769:9): [True: 76.5k, False: 16.2k]
  ------------------
  770|  76.5k|        Py_RETURN_FALSE;
  ------------------
  |  |   45|  76.5k|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|  76.5k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  76.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  76.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  771|  76.5k|    }
  772|  16.2k|    if (op == Py_NE) {
  ------------------
  |  |  655|  16.2k|#define Py_NE 3
  ------------------
  |  Branch (772:9): [True: 16.2k, False: 0]
  ------------------
  773|  16.2k|        Py_RETURN_TRUE;
  ------------------
  |  |   44|  16.2k|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|  16.2k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  16.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  16.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  774|  16.2k|    }
  775|       |
  776|       |    /* Compare the final item again using the proper operator */
  777|      0|    return PyObject_RichCompare(vt->ob_item[i], wt->ob_item[i], op);
  778|  16.2k|}
tupleobject.c:tuple_new_impl:
  800|      8|{
  801|      8|    if (type != &PyTuple_Type)
  ------------------
  |  Branch (801:9): [True: 2, False: 6]
  ------------------
  802|      2|        return tuple_subtype_new(type, iterable);
  803|       |
  804|      6|    if (iterable == NULL) {
  ------------------
  |  Branch (804:9): [True: 0, False: 6]
  ------------------
  805|      0|        return tuple_get_empty();
  806|      0|    }
  807|      6|    else {
  808|      6|        return PySequence_Tuple(iterable);
  809|      6|    }
  810|      6|}
tupleobject.c:tuple_subtype_new:
  835|      2|{
  836|      2|    PyObject *tmp, *newobj, *item;
  837|      2|    Py_ssize_t i, n;
  838|       |
  839|      2|    assert(PyType_IsSubtype(type, &PyTuple_Type));
  ------------------
  |  Branch (839:5): [True: 2, False: 0]
  ------------------
  840|       |    // tuple subclasses must implement the GC protocol
  841|      2|    assert(_PyType_IS_GC(type));
  ------------------
  |  Branch (841:5): [True: 2, False: 0]
  ------------------
  842|       |
  843|      2|    tmp = tuple_new_impl(&PyTuple_Type, iterable);
  844|      2|    if (tmp == NULL)
  ------------------
  |  Branch (844:9): [True: 0, False: 2]
  ------------------
  845|      0|        return NULL;
  846|      2|    assert(PyTuple_Check(tmp));
  ------------------
  |  Branch (846:5): [True: 2, False: 0]
  ------------------
  847|       |    /* This may allocate an empty tuple that is not the global one. */
  848|      2|    newobj = type->tp_alloc(type, n = PyTuple_GET_SIZE(tmp));
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  849|      2|    if (newobj == NULL) {
  ------------------
  |  Branch (849:9): [True: 0, False: 2]
  ------------------
  850|      0|        Py_DECREF(tmp);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  851|      0|        return NULL;
  852|      0|    }
  853|     10|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (853:17): [True: 8, False: 2]
  ------------------
  854|      8|        item = PyTuple_GET_ITEM(tmp, 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (854:16): [True: 8, False: 0]
  ------------------
  855|      8|        PyTuple_SET_ITEM(newobj, i, Py_NewRef(item));
  ------------------
  |  |   40|      8|    PyTuple_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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  856|      8|    }
  857|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  858|       |
  859|      2|    _PyTuple_RESET_HASH_CACHE(newobj);
  ------------------
  |  |   44|      2|    do {                                    \
  |  |   45|      2|        assert(op != NULL);                 \
  |  |   46|      4|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|      2|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   47|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (47:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (859:5): [True: 2, False: 0]
  |  Branch (859:5): [True: 2, False: 0]
  ------------------
  860|       |
  861|       |    // Don't track if a subclass tp_alloc is PyType_GenericAlloc()
  862|      2|    if (!_PyObject_GC_IS_TRACKED(newobj)) {
  ------------------
  |  |   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 (862:9): [True: 0, False: 2]
  ------------------
  863|      0|        _PyObject_GC_TRACK(newobj);
  ------------------
  |  |  507|      0|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  864|      0|    }
  865|      2|    return newobj;
  866|      2|}
tupleobject.c:tuple_vectorcall:
  815|      4|{
  816|      4|    if (!_PyArg_NoKwnames("tuple", kwnames)) {
  ------------------
  |  |   15|      4|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 4, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  817|      0|        return NULL;
  818|      0|    }
  819|       |
  820|      4|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      4|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  821|      4|    if (!_PyArg_CheckPositional("tuple", 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]
  |  |  ------------------
  ------------------
  822|      0|        return NULL;
  823|      0|    }
  824|       |
  825|      4|    if (nargs) {
  ------------------
  |  Branch (825:9): [True: 4, False: 0]
  ------------------
  826|      4|        return tuple_new_impl(_PyType_CAST(type), args[0]);
  ------------------
  |  |  770|      4|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (826:31): [True: 4, False: 0]
  ------------------
  827|      4|    }
  828|      0|    else {
  829|      0|        return tuple_get_empty();
  830|      0|    }
  831|      4|}
tupleobject.c:tuple_iteritem:
  881|     51|{
  882|     51|    if (index >= PyTuple_GET_SIZE(obj)) {
  ------------------
  |  |   27|     51|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     51|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (882:9): [True: 6, False: 45]
  ------------------
  883|      6|        return (_PyObjectIndexPair) { .object = NULL, .index = index };
  884|      6|    }
  885|     45|    PyObject *result = PyTuple_GET_ITEM(obj, index);
  ------------------
  |  |   29|     45|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     45|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (885:24): [True: 45, False: 0]
  ------------------
  886|     45|    Py_INCREF(result);
  ------------------
  |  |  310|     45|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     45|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  887|     45|    return (_PyObjectIndexPair) { .object = result, .index = index + 1 };
  888|     45|}
tupleobject.c:tupleiter_dealloc:
 1108|     96|{
 1109|     96|    _PyTupleIterObject *it = _PyTupleIterObject_CAST(self);
  ------------------
  |  | 1104|     96|#define _PyTupleIterObject_CAST(op) ((_PyTupleIterObject *)(op))
  ------------------
 1110|     96|    _PyObject_GC_UNTRACK(it);
  ------------------
  |  |  509|     96|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     96|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1111|     96|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1112|     96|    assert(Py_IS_TYPE(self, &PyTupleIter_Type));
  ------------------
  |  Branch (1112:5): [True: 96, False: 0]
  ------------------
 1113|     96|    _Py_FREELIST_FREE(tuple_iters, it, PyObject_GC_Del);
  ------------------
  |  |   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)
  |  |  ------------------
  |  |  |  |   15|     96|#  define Py_tuple_iters_MAXFREELIST 10
  |  |  ------------------
  ------------------
 1114|     96|}
tupleobject.c:tupleiter_next:
 1126|  1.01k|{
 1127|  1.01k|    _PyTupleIterObject *it = _PyTupleIterObject_CAST(self);
  ------------------
  |  | 1104|  1.01k|#define _PyTupleIterObject_CAST(op) ((_PyTupleIterObject *)(op))
  ------------------
 1128|  1.01k|    PyTupleObject *seq;
 1129|  1.01k|    PyObject *item;
 1130|       |
 1131|  1.01k|    assert(it != NULL);
  ------------------
  |  Branch (1131:5): [True: 1.01k, False: 0]
  ------------------
 1132|  1.01k|    seq = it->it_seq;
 1133|  1.01k|#ifndef Py_GIL_DISABLED
 1134|  1.01k|    if (seq == NULL)
  ------------------
  |  Branch (1134:9): [True: 0, False: 1.01k]
  ------------------
 1135|      0|        return NULL;
 1136|  1.01k|#endif
 1137|  1.01k|    assert(PyTuple_Check(seq));
  ------------------
  |  Branch (1137:5): [True: 1.01k, False: 0]
  ------------------
 1138|       |
 1139|  1.01k|    Py_ssize_t index = FT_ATOMIC_LOAD_SSIZE_RELAXED(it->it_index);
  ------------------
  |  |  149|  1.01k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 1140|  1.01k|    if (index < PyTuple_GET_SIZE(seq)) {
  ------------------
  |  |   27|  1.01k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1140:9): [True: 922, False: 94]
  ------------------
 1141|    922|        FT_ATOMIC_STORE_SSIZE_RELAXED(it->it_index, index + 1);
  ------------------
  |  |  194|    922|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
 1142|    922|        item = PyTuple_GET_ITEM(seq, index);
  ------------------
  |  |   29|    922|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    922|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    922|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1142:16): [True: 922, False: 0]
  ------------------
 1143|    922|        return Py_NewRef(item);
  ------------------
  |  |  550|    922|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    922|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    922|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1144|    922|    }
 1145|       |
 1146|     94|#ifndef Py_GIL_DISABLED
 1147|     94|    it->it_seq = NULL;
 1148|     94|    Py_DECREF(seq);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1149|     94|#endif
 1150|       |    return NULL;
 1151|  1.01k|}
tupleobject.c:tuple_iter:
 1255|     96|{
 1256|     96|    if (!PyTuple_Check(seq)) {
  ------------------
  |  |   27|     96|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     96|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1256:9): [True: 0, False: 96]
  ------------------
 1257|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1258|      0|        return NULL;
 1259|      0|    }
 1260|     96|    _PyTupleIterObject *it = _Py_FREELIST_POP(_PyTupleIterObject, tuple_iters);
  ------------------
  |  |   43|     96|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1261|     96|    if (it == NULL) {
  ------------------
  |  Branch (1261:9): [True: 4, False: 92]
  ------------------
 1262|      4|        it = PyObject_GC_New(_PyTupleIterObject, &PyTupleIter_Type);
  ------------------
  |  |  181|      4|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1263|      4|        if (it == NULL)
  ------------------
  |  Branch (1263:13): [True: 0, False: 4]
  ------------------
 1264|      0|            return NULL;
 1265|      4|    }
 1266|     96|    it->it_index = 0;
 1267|     96|    it->it_seq = (PyTupleObject *)Py_NewRef(seq);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1268|     96|    _PyObject_GC_TRACK(it);
  ------------------
  |  |  507|     96|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     96|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1269|     96|    return (PyObject *)it;
 1270|     96|}
tupleobject.c:maybe_freelist_push:
 1279|  47.1M|{
 1280|  47.1M|    if (!Py_IS_TYPE(op, &PyTuple_Type)) {
  ------------------
  |  |  215|  47.1M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  47.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  47.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1280:9): [True: 0, False: 47.1M]
  ------------------
 1281|      0|        return 0;
 1282|      0|    }
 1283|  47.1M|    Py_ssize_t index = Py_SIZE(op) - 1;
  ------------------
  |  |  214|  47.1M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  47.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  47.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1284|  47.1M|    if (index < PyTuple_MAXSAVESIZE) {
  ------------------
  |  |   11|  47.1M|#  define PyTuple_MAXSAVESIZE 20     // Largest tuple to save on freelist
  ------------------
  |  Branch (1284:9): [True: 47.1M, False: 480]
  ------------------
 1285|  47.1M|        return _Py_FREELIST_PUSH(tuples[index], op, Py_tuple_MAXFREELIST);
  ------------------
  |  |   39|  47.1M|    _PyFreeList_Push(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), limit)
  |  |  ------------------
  |  |  |  |  171|  47.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  47.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1286|  47.1M|    }
 1287|    480|    return 0;
 1288|  47.1M|}

_PyStaticType_GetState:
  303|  33.9M|{
  304|  33.9M|    assert(self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN);
  ------------------
  |  Branch (304:5): [True: 33.9M, False: 0]
  ------------------
  305|  33.9M|    return managed_static_type_state_get(interp, self);
  306|  33.9M|}
_PyType_GetDict:
  540|  50.8M|{
  541|       |    /* It returns a borrowed reference. */
  542|  50.8M|    return lookup_tp_dict(self);
  543|  50.8M|}
_PyType_GetBases:
  587|     76|{
  588|     76|    PyObject *res;
  589|       |
  590|     76|    BEGIN_TYPE_LOCK();
  591|     76|    res = lookup_tp_bases(self);
  592|     76|    Py_INCREF(res);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  593|     76|    END_TYPE_LOCK();
  594|       |
  595|     76|    return res;
  596|     76|}
_PyType_GetSubclasses:
  777|     58|{
  778|     58|    PyObject *list = PyList_New(0);
  779|     58|    if (list == NULL) {
  ------------------
  |  Branch (779:9): [True: 0, False: 58]
  ------------------
  780|      0|        return NULL;
  781|      0|    }
  782|       |
  783|     58|    PyObject *subclasses = lookup_tp_subclasses(self);  // borrowed ref
  784|     58|    if (subclasses == NULL) {
  ------------------
  |  Branch (784:9): [True: 52, False: 6]
  ------------------
  785|     52|        return list;
  786|     52|    }
  787|     58|    assert(PyDict_CheckExact(subclasses));
  ------------------
  |  Branch (787:5): [True: 6, False: 0]
  ------------------
  788|       |    // The loop cannot modify tp_subclasses, there is no need
  789|       |    // to hold a strong reference (use a borrowed reference).
  790|       |
  791|      6|    Py_ssize_t i = 0;
  792|      6|    PyObject *ref;  // borrowed ref
  793|     14|    while (PyDict_Next(subclasses, &i, NULL, &ref)) {
  ------------------
  |  Branch (793:12): [True: 8, False: 6]
  ------------------
  794|      8|        PyTypeObject *subclass = type_from_ref(ref);
  795|      8|        if (subclass == NULL) {
  ------------------
  |  Branch (795:13): [True: 0, False: 8]
  ------------------
  796|      0|            continue;
  797|      0|        }
  798|       |
  799|      8|        if (PyList_Append(list, _PyObject_CAST(subclass)) < 0) {
  ------------------
  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  ------------------
  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (799:13): [True: 0, False: 8]
  ------------------
  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|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  805|      8|    }
  806|      6|    return list;
  807|      6|}
_PyType_CheckConsistency:
  867|  1.35k|{
  868|  1.35k|#define CHECK(expr) \
  869|  1.35k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  870|       |
  871|  1.35k|    CHECK(!_PyObject_IsFreed((PyObject *)type));
  ------------------
  |  |  869|  1.35k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (869:14): [True: 0, False: 1.35k]
  |  |  |  Branch (869:103): [Folded, False: 1.35k]
  |  |  ------------------
  ------------------
  872|       |
  873|  1.35k|    if (!(type->tp_flags & Py_TPFLAGS_READY)) {
  ------------------
  |  |  518|  1.35k|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
  |  Branch (873:9): [True: 0, False: 1.35k]
  ------------------
  874|       |        /* don't check static types before PyType_Ready() */
  875|      0|        return 1;
  876|      0|    }
  877|       |
  878|  1.35k|    CHECK(Py_REFCNT(type) >= 1);
  ------------------
  |  |  869|  1.35k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (869:14): [True: 0, False: 1.35k]
  |  |  |  Branch (869:103): [Folded, False: 1.35k]
  |  |  ------------------
  ------------------
  879|  1.35k|    CHECK(PyType_Check(type));
  ------------------
  |  |  869|  1.35k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (869:14): [True: 0, False: 1.35k]
  |  |  |  Branch (869:103): [Folded, False: 1.35k]
  |  |  ------------------
  ------------------
  880|       |
  881|  1.35k|    CHECK(!is_readying(type));
  ------------------
  |  |  869|  1.35k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (869:14): [True: 0, False: 1.35k]
  |  |  |  Branch (869:103): [Folded, False: 1.35k]
  |  |  ------------------
  ------------------
  882|  1.35k|    CHECK(lookup_tp_dict(type) != NULL);
  ------------------
  |  |  869|  1.35k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (869:14): [True: 0, False: 1.35k]
  |  |  |  Branch (869:103): [Folded, False: 1.35k]
  |  |  ------------------
  ------------------
  883|       |
  884|  1.35k|    if (type->tp_flags & Py_TPFLAGS_HAVE_GC) {
  ------------------
  |  |  524|  1.35k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (884:9): [True: 1.27k, False: 80]
  ------------------
  885|       |        // bpo-44263: tp_traverse is required if Py_TPFLAGS_HAVE_GC is set.
  886|       |        // Note: tp_clear is optional.
  887|  1.27k|        CHECK(type->tp_traverse != NULL);
  ------------------
  |  |  869|  1.27k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (869:14): [True: 0, False: 1.27k]
  |  |  |  Branch (869:103): [Folded, False: 1.27k]
  |  |  ------------------
  ------------------
  888|  1.27k|    }
  889|       |
  890|  1.35k|    if (type->tp_flags & Py_TPFLAGS_DISALLOW_INSTANTIATION) {
  ------------------
  |  |  497|  1.35k|#define Py_TPFLAGS_DISALLOW_INSTANTIATION (1UL << 7)
  ------------------
  |  Branch (890:9): [True: 168, False: 1.19k]
  ------------------
  891|    168|        CHECK(type->tp_new == NULL);
  ------------------
  |  |  869|    168|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (869:14): [True: 0, False: 168]
  |  |  |  Branch (869:103): [Folded, False: 168]
  |  |  ------------------
  ------------------
  892|    168|        CHECK(PyDict_Contains(lookup_tp_dict(type), &_Py_ID(__new__)) == 0);
  ------------------
  |  |  869|    168|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (869:14): [True: 0, False: 168]
  |  |  |  Branch (869:103): [Folded, False: 168]
  |  |  ------------------
  ------------------
  893|    168|    }
  894|       |
  895|  1.35k|    return 1;
  896|  1.35k|#undef CHECK
  897|  1.35k|}
_PyType_GetDocFromInternalDoc:
  914|     24|{
  915|     24|    const char *doc = _PyType_DocWithoutSignature(name, internal_doc);
  916|       |
  917|     24|    if (!doc || *doc == '\0') {
  ------------------
  |  Branch (917:9): [True: 0, False: 24]
  |  Branch (917:17): [True: 0, False: 24]
  ------------------
  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|     24|    return PyUnicode_FromString(doc);
  922|     24|}
_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++) {
  ------------------
  |  |  574|  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);
  ------------------
  |  Branch (1004:9): [True: 8.19k, False: 0]
  ------------------
 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_Unlocked:
 1167|    976|{
 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|    976|    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|    976|    if (type->tp_version_tag == 0) {
  ------------------
  |  Branch (1189:9): [True: 811, False: 165]
  ------------------
 1190|    811|        return;
 1191|    811|    }
 1192|       |    // Cannot modify static builtin types.
 1193|    976|    assert((type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) == 0);
  ------------------
  |  Branch (1193:5): [True: 165, False: 0]
  ------------------
 1194|       |
 1195|    165|    PyObject *subclasses = lookup_tp_subclasses(type);
 1196|    165|    if (subclasses != NULL) {
  ------------------
  |  Branch (1196:9): [True: 0, False: 165]
  ------------------
 1197|      0|        assert(PyDict_CheckExact(subclasses));
  ------------------
  |  Branch (1197:9): [True: 0, False: 0]
  ------------------
 1198|       |
 1199|      0|        Py_ssize_t i = 0;
 1200|      0|        PyObject *ref;
 1201|      0|        while (PyDict_Next(subclasses, &i, NULL, &ref)) {
  ------------------
  |  Branch (1201:16): [True: 0, False: 0]
  ------------------
 1202|      0|            PyTypeObject *subclass = type_from_ref(ref);
 1203|      0|            if (subclass == NULL) {
  ------------------
  |  Branch (1203:17): [True: 0, False: 0]
  ------------------
 1204|      0|                continue;
 1205|      0|            }
 1206|      0|            _PyType_Modified_Unlocked(subclass);
 1207|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1208|      0|        }
 1209|      0|    }
 1210|       |
 1211|       |    // Notify registered type watchers, if any
 1212|    165|    if (type->tp_watched) {
  ------------------
  |  Branch (1212:9): [True: 0, False: 165]
  ------------------
 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);
  ------------------
  |  Branch (1217:13): [True: 0, False: 0]
  ------------------
 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|    165|    set_version_unlocked(type, 0); /* 0 is not a valid version tag */
 1234|    165|    if (PyType_HasFeature(type, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|    165|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1234:9): [True: 165, False: 0]
  ------------------
 1235|       |        // This field *must* be invalidated if the type is modified (see the
 1236|       |        // comment on struct _specialization_cache):
 1237|    165|        FT_ATOMIC_STORE_PTR_RELAXED(
  ------------------
  |  |  163|    165|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
 1238|    165|            ((PyHeapTypeObject *)type)->_spec_cache.getitem, NULL);
 1239|    165|    }
 1240|    165|}
PyType_Modified:
 1244|     15|{
 1245|       |    // Quick check without the lock held
 1246|     15|    if (FT_ATOMIC_LOAD_UINT_RELAXED(type->tp_version_tag) == 0) {
  ------------------
  |  |  189|     15|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  ------------------
  |  Branch (1246:9): [True: 14, False: 1]
  ------------------
 1247|     14|        return;
 1248|     14|    }
 1249|       |
 1250|      1|    BEGIN_TYPE_LOCK();
 1251|      1|    _PyType_Modified_Unlocked(type);
 1252|      1|    END_TYPE_LOCK();
 1253|      1|}
_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|   711k|{
 1509|   711k|    assert(type->tp_name != NULL);
  ------------------
  |  Branch (1509:5): [True: 711k, False: 0]
  ------------------
 1510|   711k|    const char *s = strrchr(type->tp_name, '.');
 1511|   711k|    if (s == NULL) {
  ------------------
  |  Branch (1511:9): [True: 711k, False: 144]
  ------------------
 1512|   711k|        s = type->tp_name;
 1513|   711k|    }
 1514|    144|    else {
 1515|    144|        s++;
 1516|    144|    }
 1517|   711k|    return s;
 1518|   711k|}
_PyType_AllocNoTrack:
 2513|  16.2M|{
 2514|  16.2M|    PyObject *obj;
 2515|       |    /* The +1 on nitems is needed for most types but not all. We could save a
 2516|       |     * bit of space by allocating one less item in certain cases, depending on
 2517|       |     * the type. However, given the extra complexity (e.g. an additional type
 2518|       |     * flag to indicate when that is safe) it does not seem worth the memory
 2519|       |     * savings. An example type that doesn't need the +1 is a subclass of
 2520|       |     * tuple. See GH-100659 and GH-81381. */
 2521|  16.2M|    size_t size = _PyObject_VAR_SIZE(type, nitems+1);
 2522|       |
 2523|  16.2M|    const size_t presize = _PyType_PreHeaderSize(type);
 2524|  16.2M|    if (type->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|  16.2M|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (2524:9): [True: 6.92M, False: 9.27M]
  ------------------
 2525|  6.92M|        assert(type->tp_itemsize == 0);
  ------------------
  |  Branch (2525:9): [True: 6.92M, False: 0]
  ------------------
 2526|  6.92M|        size += _PyInlineValuesSize(type);
 2527|  6.92M|    }
 2528|  16.2M|    char *alloc = _PyObject_MallocWithType(type, size + presize);
 2529|  16.2M|    if (alloc  == NULL) {
  ------------------
  |  Branch (2529:9): [True: 0, False: 16.2M]
  ------------------
 2530|      0|        return PyErr_NoMemory();
 2531|      0|    }
 2532|  16.2M|    obj = (PyObject *)(alloc + presize);
 2533|  16.2M|    if (presize) {
  ------------------
  |  Branch (2533:9): [True: 16.0M, False: 161k]
  ------------------
 2534|  16.0M|        ((PyObject **)alloc)[0] = NULL;
 2535|  16.0M|        ((PyObject **)alloc)[1] = NULL;
 2536|  16.0M|    }
 2537|  16.2M|    if (PyType_IS_GC(type)) {
  ------------------
  |  |  157|  16.2M|#define PyType_IS_GC(t) PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  16.2M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  |  |  |  Branch (157:25): [True: 16.0M, False: 161k]
  |  |  ------------------
  ------------------
 2538|  16.0M|        _PyObject_GC_Link(obj);
 2539|  16.0M|    }
 2540|       |    // Zero out the object after the PyObject header. The header fields are
 2541|       |    // initialized by _PyObject_Init[Var]().
 2542|  16.2M|    memset((char *)obj + sizeof(PyObject), 0, size - sizeof(PyObject));
 2543|       |
 2544|  16.2M|    if (type->tp_itemsize == 0) {
  ------------------
  |  Branch (2544:9): [True: 16.2M, False: 533]
  ------------------
 2545|  16.2M|        _PyObject_Init(obj, type);
 2546|  16.2M|    }
 2547|    533|    else {
 2548|    533|        _PyObject_InitVar((PyVarObject *)obj, type, nitems);
 2549|    533|    }
 2550|  16.2M|    if (type->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|  16.2M|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (2550:9): [True: 6.92M, False: 9.27M]
  ------------------
 2551|  6.92M|        _PyObject_InitInlineValues(obj, type);
 2552|  6.92M|    }
 2553|  16.2M|    return obj;
 2554|  16.2M|}
PyType_GenericAlloc:
 2558|  15.1M|{
 2559|  15.1M|    PyObject *obj = _PyType_AllocNoTrack(type, nitems);
 2560|  15.1M|    if (obj == NULL) {
  ------------------
  |  Branch (2560:9): [True: 0, False: 15.1M]
  ------------------
 2561|      0|        return NULL;
 2562|      0|    }
 2563|       |
 2564|  15.1M|    if (_PyType_IS_GC(type)) {
  ------------------
  |  |  822|  15.1M|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  15.1M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  |  |  |  Branch (822:26): [True: 14.9M, False: 161k]
  |  |  ------------------
  ------------------
 2565|  14.9M|        _PyObject_GC_TRACK(obj);
  ------------------
  |  |  507|  14.9M|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2566|  14.9M|    }
 2567|  15.1M|    return obj;
 2568|  15.1M|}
PyType_GenericNew:
 2572|   161k|{
 2573|   161k|    return type->tp_alloc(type, 0);
 2574|   161k|}
PyType_IsSubtype:
 2930|  77.6M|{
 2931|  77.6M|    return is_subtype_with_mro(a->tp_mro, a, b);
 2932|  77.6M|}
_PyObject_LookupSpecial:
 2951|   384k|{
 2952|   384k|    PyObject *res;
 2953|       |
 2954|   384k|    res = _PyType_LookupRef(Py_TYPE(self), attr);
  ------------------
  |  |  213|   384k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   384k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   384k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2955|   384k|    if (res != NULL) {
  ------------------
  |  Branch (2955:9): [True: 380k, False: 3.15k]
  ------------------
 2956|   380k|        descrgetfunc f;
 2957|   380k|        if ((f = Py_TYPE(res)->tp_descr_get) != NULL) {
  ------------------
  |  |  213|   380k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   380k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   380k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2957:13): [True: 380k, False: 0]
  ------------------
 2958|   380k|            Py_SETREF(res, f(res, self, (PyObject *)(Py_TYPE(self))));
  ------------------
  |  |  352|   380k|    do { \
  |  |  353|   380k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|   380k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|   380k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|   380k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|   380k|        *_tmp_dst_ptr = (src); \
  |  |  356|   380k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|   380k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   380k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   380k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|   380k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 380k]
  |  |  ------------------
  ------------------
 2959|   380k|        }
 2960|   380k|    }
 2961|   384k|    return res;
 2962|   384k|}
_PyObject_LookupSpecialMethod:
 2971|  1.32k|{
 2972|  1.32k|    PyObject *self = PyStackRef_AsPyObjectBorrow(method_and_self[1]);
 2973|  1.32k|    _PyType_LookupStackRefAndVersion(Py_TYPE(self), attr, &method_and_self[0]);
  ------------------
  |  |  213|  1.32k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2974|  1.32k|    PyObject *method_o = PyStackRef_AsPyObjectBorrow(method_and_self[0]);
 2975|  1.32k|    if (method_o == NULL) {
  ------------------
  |  Branch (2975:9): [True: 0, False: 1.32k]
  ------------------
 2976|      0|        return 0;
 2977|      0|    }
 2978|       |
 2979|  1.32k|    if (_PyType_HasFeature(Py_TYPE(method_o), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  213|  1.32k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (_PyType_HasFeature(Py_TYPE(method_o), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  534|  1.32k|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (2979:9): [True: 1.32k, False: 0]
  ------------------
 2980|       |        /* Avoid temporary PyMethodObject */
 2981|  1.32k|        return 1;
 2982|  1.32k|    }
 2983|       |
 2984|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2985|      0|    if (f != NULL) {
  ------------------
  |  Branch (2985:9): [True: 0, False: 0]
  ------------------
 2986|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2987|      0|        if (func == NULL) {
  ------------------
  |  Branch (2987:13): [True: 0, False: 0]
  ------------------
 2988|      0|            return -1;
 2989|      0|        }
 2990|      0|        PyStackRef_CLEAR(method_and_self[0]); // clear method
  ------------------
  |  |  732|      0|    do { \
  |  |  733|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2991|      0|        method_and_self[0] = PyStackRef_FromPyObjectSteal(func);
 2992|      0|    }
 2993|      0|    PyStackRef_CLEAR(method_and_self[1]); // clear self
  ------------------
  |  |  732|      0|    do { \
  |  |  733|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2994|      0|    return 1;
 2995|      0|}
PyType_GetFlags:
 4139|  2.34k|{
 4140|  2.34k|    return type->tp_flags;
 4141|  2.34k|}
_PyType_CalculateMetaclass:
 4154|    547|{
 4155|    547|    Py_ssize_t i, nbases;
 4156|    547|    PyTypeObject *winner;
 4157|    547|    PyObject *tmp;
 4158|    547|    PyTypeObject *tmptype;
 4159|       |
 4160|       |    /* Determine the proper metatype to deal with this,
 4161|       |       and check for metatype conflicts while we're at it.
 4162|       |       Note that if some other metatype wins to contract,
 4163|       |       it's possible that its instances are not types. */
 4164|       |
 4165|    547|    nbases = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|    547|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    547|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    547|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4166|    547|    winner = metatype;
 4167|  1.06k|    for (i = 0; i < nbases; i++) {
  ------------------
  |  Branch (4167:17): [True: 520, False: 547]
  ------------------
 4168|    520|        tmp = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|    520|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    520|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    520|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4168:15): [True: 520, False: 0]
  ------------------
 4169|    520|        tmptype = Py_TYPE(tmp);
  ------------------
  |  |  213|    520|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    520|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    520|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4170|    520|        if (PyType_IsSubtype(winner, tmptype)) {
  ------------------
  |  Branch (4170:13): [True: 512, False: 8]
  ------------------
 4171|    512|            continue;
 4172|    512|        }
 4173|      8|        if (PyType_IsSubtype(tmptype, winner)) {
  ------------------
  |  Branch (4173:13): [True: 8, False: 0]
  ------------------
 4174|      8|            winner = tmptype;
 4175|      8|            continue;
 4176|      8|        }
 4177|       |        /* else: */
 4178|      0|        PyErr_SetString(PyExc_TypeError,
 4179|      0|                        "metaclass conflict: "
 4180|      0|                        "the metaclass of a derived class "
 4181|      0|                        "must be a (non-strict) subclass "
 4182|      0|                        "of the metaclasses of all its bases");
 4183|      0|        return NULL;
 4184|      8|    }
 4185|    547|    return winner;
 4186|    547|}
PyType_FromMetaclass:
 5811|      5|{
 5812|       |    return type_from_slots_or_spec(NULL, spec, metaclass, module, bases);
 5813|      5|}
PyType_FromModuleAndSpec:
 5817|     77|{
 5818|     77|    return type_from_slots_or_spec(NULL, spec, NULL, module, bases);
 5819|     77|}
PyType_FromSpecWithBases:
 5823|     18|{
 5824|     18|    return type_from_slots_or_spec(NULL, spec, NULL, NULL, bases);
 5825|     18|}
PyType_FromSpec:
 5829|     18|{
 5830|     18|    return type_from_slots_or_spec(NULL, spec, NULL, NULL, NULL);
 5831|     18|}
PyType_GetModule:
 5871|     13|{
 5872|     13|    assert(PyType_Check(type));
  ------------------
  |  Branch (5872:5): [True: 13, False: 0]
  ------------------
 5873|     13|    if (!_PyType_HasFeature(type, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|     13|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (5873:9): [True: 0, False: 13]
  ------------------
 5874|      0|        PyErr_Format(
 5875|      0|            PyExc_TypeError,
 5876|      0|            "PyType_GetModule: Type '%s' is not a heap type",
 5877|      0|            type->tp_name);
 5878|      0|        return NULL;
 5879|      0|    }
 5880|       |
 5881|     13|    PyHeapTypeObject* et = (PyHeapTypeObject*)type;
 5882|     13|    if (!et->ht_module) {
  ------------------
  |  Branch (5882:9): [True: 0, False: 13]
  ------------------
 5883|      0|        PyErr_Format(
 5884|      0|            PyExc_TypeError,
 5885|      0|            "PyType_GetModule: Type '%s' has no associated module",
 5886|      0|            type->tp_name);
 5887|      0|        return NULL;
 5888|      0|    }
 5889|     13|    return et->ht_module;
 5890|     13|}
PyType_GetModuleByToken_DuringGC:
 5917|    139|{
 5918|    139|    assert(PyType_Check(type));
  ------------------
  |  Branch (5918:5): [True: 139, False: 0]
  ------------------
 5919|       |
 5920|    139|    if (!_PyType_HasFeature(type, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|    139|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (5920:9): [True: 0, False: 139]
  ------------------
 5921|       |        // type_ready_mro() ensures that no heap type is
 5922|       |        // contained in a static type MRO.
 5923|      0|        return NULL;
 5924|      0|    }
 5925|    139|    else {
 5926|    139|        PyHeapTypeObject *ht = (PyHeapTypeObject*)type;
 5927|    139|        PyObject *module = ht->ht_module;
 5928|    139|        if (module && _PyModule_GetToken(module) == token) {
  ------------------
  |  Branch (5928:13): [True: 139, False: 0]
  |  Branch (5928:23): [True: 139, False: 0]
  ------------------
 5929|    139|            return module;
 5930|    139|        }
 5931|    139|    }
 5932|       |
 5933|      0|    PyObject *res = NULL;
 5934|      0|    BEGIN_TYPE_LOCK();
 5935|       |
 5936|      0|    PyObject *mro = lookup_tp_mro(type);
 5937|       |    // The type must be ready
 5938|      0|    assert(mro != NULL);
  ------------------
  |  Branch (5938:5): [True: 0, False: 0]
  ------------------
 5939|      0|    assert(PyTuple_Check(mro));
  ------------------
  |  Branch (5939:5): [True: 0, False: 0]
  ------------------
 5940|       |    // mro_invoke() ensures that the type MRO cannot be empty.
 5941|      0|    assert(PyTuple_GET_SIZE(mro) >= 1);
  ------------------
  |  Branch (5941:5): [True: 0, False: 0]
  ------------------
 5942|       |    // Also, the first item in the MRO is the type itself, which
 5943|       |    // we already checked above. We skip it in the loop.
 5944|      0|    assert(PyTuple_GET_ITEM(mro, 0) == (PyObject *)type);
  ------------------
  |  Branch (5944:5): [True: 0, False: 0]
  |  Branch (5944:5): [True: 0, False: 0]
  ------------------
 5945|       |
 5946|      0|    Py_ssize_t n = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5947|      0|    for (Py_ssize_t i = 1; i < n; i++) {
  ------------------
  |  Branch (5947:28): [True: 0, False: 0]
  ------------------
 5948|      0|        PyObject *super = PyTuple_GET_ITEM(mro, 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5948:27): [True: 0, False: 0]
  ------------------
 5949|      0|        if (!_PyType_HasFeature((PyTypeObject *)super, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|      0|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (5949:13): [True: 0, False: 0]
  ------------------
 5950|       |            // Static types in the MRO need to be skipped
 5951|      0|            continue;
 5952|      0|        }
 5953|       |
 5954|      0|        PyHeapTypeObject *ht = (PyHeapTypeObject*)super;
 5955|      0|        PyObject *module = ht->ht_module;
 5956|      0|        if (module && _PyModule_GetToken(module) == token) {
  ------------------
  |  Branch (5956:13): [True: 0, False: 0]
  |  Branch (5956:23): [True: 0, False: 0]
  ------------------
 5957|      0|            res = module;
 5958|      0|            break;
 5959|      0|        }
 5960|      0|    }
 5961|      0|    END_TYPE_LOCK();
 5962|       |
 5963|      0|    return res;
 5964|      0|}
PyType_GetModuleByDef:
 5974|    139|{
 5975|    139|    PyObject *mod = PyType_GetModuleByToken_DuringGC(type, def);
 5976|    139|    if (!mod) {
  ------------------
  |  Branch (5976:9): [True: 0, False: 139]
  ------------------
 5977|      0|        PyErr_Format(
 5978|      0|            PyExc_TypeError,
 5979|      0|            "PyType_GetModuleByDef: No superclass of '%s' has the given module",
 5980|      0|            type->tp_name);
 5981|      0|        return NULL;
 5982|      0|    }
 5983|    139|    return mod;
 5984|    139|}
PyObject_GetItemData:
 6136|  2.12k|{
 6137|       |    return getitemdata(obj, true);
 6138|  2.12k|}
_PyType_LookupRefAndVersion:
 6285|   392k|{
 6286|   392k|    _PyStackRef out;
 6287|   392k|    unsigned int ver = _PyType_LookupStackRefAndVersion(type, name, &out);
 6288|   392k|    if (version) {
  ------------------
  |  Branch (6288:9): [True: 8.28k, False: 384k]
  ------------------
 6289|  8.28k|        *version = ver;
 6290|  8.28k|    }
 6291|   392k|    if (PyStackRef_IsNull(out)) {
  ------------------
  |  |  482|   392k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|   392k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   392k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 4.10k, False: 388k]
  |  |  ------------------
  ------------------
 6292|  4.10k|        return NULL;
 6293|  4.10k|    }
 6294|   388k|    return PyStackRef_AsPyObjectSteal(out);
 6295|   392k|}
_PyType_LookupStackRefAndVersion:
 6307|  71.8M|{
 6308|  71.8M|    unsigned int h = MCACHE_HASH_METHOD(type, name);
  ------------------
  |  |   54|  71.8M|    MCACHE_HASH(FT_ATOMIC_LOAD_UINT_RELAXED((type)->tp_version_tag),   \
  |  |  ------------------
  |  |  |  |   50|  71.8M|        (((unsigned int)(version) ^ (unsigned int)(name_hash))          \
  |  |  |  |   51|  71.8M|         & ((1 << MCACHE_SIZE_EXP) - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  574|  71.8M|#define MCACHE_SIZE_EXP 12
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   55|  71.8M|                ((Py_ssize_t)(name)) >> 3)
  ------------------
 6309|  71.8M|    struct type_cache *cache = get_type_cache();
 6310|  71.8M|    struct type_cache_entry *entry = &cache->hashtable[h];
 6311|       |#ifdef Py_GIL_DISABLED
 6312|       |    // synchronize-with other writing threads by doing an acquire load on the sequence
 6313|       |    while (1) {
 6314|       |        uint32_t sequence = _PySeqLock_BeginRead(&entry->sequence);
 6315|       |        uint32_t entry_version = _Py_atomic_load_uint32_acquire(&entry->version);
 6316|       |        uint32_t type_version = _Py_atomic_load_uint32_acquire(&type->tp_version_tag);
 6317|       |        if (entry_version == type_version &&
 6318|       |            _Py_atomic_load_ptr_relaxed(&entry->name) == name) {
 6319|       |            OBJECT_STAT_INC_COND(type_cache_hits, !is_dunder_name(name));
 6320|       |            OBJECT_STAT_INC_COND(type_cache_dunder_hits, is_dunder_name(name));
 6321|       |            if (_Py_TryXGetStackRef(&entry->value, out)) {
 6322|       |                // If the sequence is still valid then we're done
 6323|       |                if (_PySeqLock_EndRead(&entry->sequence, sequence)) {
 6324|       |                    return entry_version;
 6325|       |                }
 6326|       |                PyStackRef_XCLOSE(*out);
 6327|       |            }
 6328|       |            else {
 6329|       |                // If we can't incref the object we need to fallback to locking
 6330|       |                break;
 6331|       |            }
 6332|       |        }
 6333|       |        else {
 6334|       |            // cache miss
 6335|       |            break;
 6336|       |        }
 6337|       |    }
 6338|       |#else
 6339|  71.8M|    if (entry->version == type->tp_version_tag && entry->name == name) {
  ------------------
  |  Branch (6339:9): [True: 71.8M, False: 3.96k]
  |  Branch (6339:51): [True: 71.8M, False: 1.88k]
  ------------------
 6340|  71.8M|        assert(type->tp_version_tag);
  ------------------
  |  Branch (6340:9): [True: 71.8M, False: 0]
  ------------------
 6341|  71.8M|        OBJECT_STAT_INC_COND(type_cache_hits, !is_dunder_name(name));
  ------------------
  |  |   78|  71.8M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 6342|  71.8M|        OBJECT_STAT_INC_COND(type_cache_dunder_hits, is_dunder_name(name));
  ------------------
  |  |   78|  71.8M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 6343|  71.8M|        *out = entry->value ? PyStackRef_FromPyObjectNew(entry->value) : PyStackRef_NULL;
  ------------------
  |  |  611|  63.0M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  63.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6343:16): [True: 63.0M, False: 8.76M]
  ------------------
 6344|  71.8M|        return entry->version;
 6345|  71.8M|    }
 6346|  5.85k|#endif
 6347|  5.85k|    OBJECT_STAT_INC_COND(type_cache_misses, !is_dunder_name(name));
  ------------------
  |  |   78|  5.85k|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 6348|  5.85k|    OBJECT_STAT_INC_COND(type_cache_dunder_misses, is_dunder_name(name));
  ------------------
  |  |   78|  5.85k|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 6349|       |
 6350|       |    /* We may end up clearing live exceptions below, so make sure it's ours. */
 6351|  5.85k|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (6351:5): [True: 5.85k, False: 0]
  ------------------
 6352|       |
 6353|  5.85k|    int res;
 6354|  5.85k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 6355|       |
 6356|  5.85k|    unsigned int version_tag = FT_ATOMIC_LOAD_UINT(type->tp_version_tag);
  ------------------
  |  |  188|  5.85k|#define FT_ATOMIC_LOAD_UINT(value) value
  ------------------
 6357|  5.85k|    if (should_assign_version_tag(type, name, version_tag)) {
  ------------------
  |  Branch (6357:9): [True: 289, False: 5.56k]
  ------------------
 6358|    289|        BEGIN_TYPE_LOCK();
 6359|    289|        assign_version_tag(interp, type);
 6360|    289|        version_tag = type->tp_version_tag;
 6361|    289|        res = find_name_in_mro(type, name, out);
 6362|    289|        END_TYPE_LOCK();
 6363|    289|    }
 6364|  5.56k|    else {
 6365|  5.56k|        res = find_name_in_mro(type, name, out);
 6366|  5.56k|    }
 6367|       |
 6368|       |    /* Only put NULL results into cache if there was no error. */
 6369|  5.85k|    if (res < 0) {
  ------------------
  |  Branch (6369:9): [True: 0, False: 5.85k]
  ------------------
 6370|      0|        *out = PyStackRef_NULL;
 6371|      0|        return 0;
 6372|      0|    }
 6373|       |
 6374|  5.85k|    if (version_tag == 0 || !MCACHE_CACHEABLE_NAME(name)) {
  ------------------
  |  |   57|  5.85k|        (PyUnicode_CheckExact(name) &&                           \
  |  |  ------------------
  |  |  |  |  104|  5.85k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  11.7k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  5.85k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  5.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 5.85k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   58|  5.85k|         (PyUnicode_GET_LENGTH(name) <= MCACHE_MAX_ATTR_SIZE))
  |  |  ------------------
  |  |  |  |  299|  5.85k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.85k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                        (PyUnicode_GET_LENGTH(name) <= MCACHE_MAX_ATTR_SIZE))
  |  |  ------------------
  |  |  |  |   48|  5.85k|#define MCACHE_MAX_ATTR_SIZE    100
  |  |  ------------------
  |  |  |  Branch (58:10): [True: 5.85k, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (6374:9): [True: 0, False: 5.85k]
  ------------------
 6375|      0|        return 0;
 6376|      0|    }
 6377|       |
 6378|  5.85k|    PyObject *res_obj = PyStackRef_AsPyObjectBorrow(*out);
 6379|       |#if Py_GIL_DISABLED
 6380|       |    update_cache_gil_disabled(entry, name, version_tag, res_obj);
 6381|       |#else
 6382|  5.85k|    PyObject *old_value = update_cache(entry, name, version_tag, res_obj);
 6383|  5.85k|    Py_DECREF(old_value);
  ------------------
  |  |  430|  5.85k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.85k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6384|  5.85k|#endif
 6385|  5.85k|    return version_tag;
 6386|  5.85k|}
_PyType_LookupRef:
 6393|   384k|{
 6394|       |    return _PyType_LookupRefAndVersion(type, name, NULL);
 6395|   384k|}
_PyType_Lookup:
 6401|      8|{
 6402|      8|    PyObject *res = _PyType_LookupRefAndVersion(type, name, NULL);
 6403|      8|    Py_XDECREF(res);
  ------------------
  |  |  524|      8|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6404|      8|    return res;
 6405|      8|}
_PyType_CacheInitForSpecialization:
 6410|  1.87k|{
 6411|  1.87k|    if (!init || !tp_version) {
  ------------------
  |  Branch (6411:9): [True: 0, False: 1.87k]
  |  Branch (6411:18): [True: 0, False: 1.87k]
  ------------------
 6412|      0|        return 0;
 6413|      0|    }
 6414|  1.87k|    int can_cache;
 6415|  1.87k|    BEGIN_TYPE_LOCK();
 6416|  1.87k|    can_cache = ((PyTypeObject*)type)->tp_version_tag == tp_version;
 6417|       |    #ifdef Py_GIL_DISABLED
 6418|       |    can_cache = can_cache && _PyObject_HasDeferredRefcount(init);
 6419|       |    #endif
 6420|  1.87k|    if (can_cache) {
  ------------------
  |  Branch (6420:9): [True: 1.87k, False: 0]
  ------------------
 6421|  1.87k|        FT_ATOMIC_STORE_PTR_RELEASE(type->_spec_cache.init, init);
  ------------------
  |  |  164|  1.87k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 6422|  1.87k|    }
 6423|  1.87k|    END_TYPE_LOCK();
 6424|  1.87k|    return can_cache;
 6425|  1.87k|}
_PyType_CacheGetItemForSpecialization:
 6429|  1.82k|{
 6430|  1.82k|    if (!descriptor || !tp_version) {
  ------------------
  |  Branch (6430:9): [True: 0, False: 1.82k]
  |  Branch (6430:24): [True: 0, False: 1.82k]
  ------------------
 6431|      0|        return 0;
 6432|      0|    }
 6433|  1.82k|    int can_cache;
 6434|  1.82k|    BEGIN_TYPE_LOCK();
 6435|  1.82k|    can_cache = ((PyTypeObject*)ht)->tp_version_tag == tp_version;
 6436|       |    // This pointer is invalidated by PyType_Modified (see the comment on
 6437|       |    // struct _specialization_cache):
 6438|  1.82k|    PyFunctionObject *func = (PyFunctionObject *)descriptor;
 6439|  1.82k|    uint32_t version = _PyFunction_GetVersionForCurrentState(func);
 6440|  1.82k|    can_cache = can_cache && _PyFunction_IsVersionValid(version);
  ------------------
  |  Branch (6440:17): [True: 1.82k, False: 0]
  |  Branch (6440:30): [True: 1.82k, False: 0]
  ------------------
 6441|       |#ifdef Py_GIL_DISABLED
 6442|       |    can_cache = can_cache && _PyObject_HasDeferredRefcount(descriptor);
 6443|       |#endif
 6444|  1.82k|    if (can_cache) {
  ------------------
  |  Branch (6444:9): [True: 1.82k, False: 0]
  ------------------
 6445|  1.82k|        FT_ATOMIC_STORE_PTR_RELEASE(ht->_spec_cache.getitem, descriptor);
  ------------------
  |  |  164|  1.82k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 6446|  1.82k|        FT_ATOMIC_STORE_UINT32_RELAXED(ht->_spec_cache.getitem_version, version);
  ------------------
  |  |  172|  1.82k|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 6447|  1.82k|    }
 6448|  1.82k|    END_TYPE_LOCK();
 6449|  1.82k|    return can_cache;
 6450|  1.82k|}
_PyType_SetFlags:
 6454|      4|{
 6455|      4|    unsigned long new_flags = (self->tp_flags & ~mask) | flags;
 6456|      4|    if (new_flags != self->tp_flags) {
  ------------------
  |  Branch (6456:9): [True: 4, False: 0]
  ------------------
 6457|      4|        types_stop_world();
 6458|       |        // can't use new_flags here since they could be out-of-date
 6459|      4|        self->tp_flags = (self->tp_flags & ~mask) | flags;
 6460|      4|        types_start_world();
 6461|      4|    }
 6462|      4|}
_PyType_Validate:
 6466|    586|{
 6467|    586|    int err;
 6468|    586|    BEGIN_TYPE_LOCK();
 6469|    586|    err = validate(ty);
 6470|    586|    if (!err) {
  ------------------
  |  Branch (6470:9): [True: 1, False: 585]
  ------------------
 6471|      1|        if(assign_version_tag(_PyInterpreterState_GET(), ty)) {
  ------------------
  |  Branch (6471:12): [True: 1, False: 0]
  ------------------
 6472|      1|            *tp_version = ty->tp_version_tag;
 6473|      1|        }
 6474|      0|        else {
 6475|      0|            err = -1;
 6476|      0|        }
 6477|      1|    }
 6478|    586|    END_TYPE_LOCK();
 6479|    586|    return err;
 6480|    586|}
_PyType_SetFlagsRecursive:
 6507|     28|{
 6508|     28|    BEGIN_TYPE_LOCK();
 6509|       |    /* Ideally, changing flags and invalidating the old version tag would
 6510|       |       happen in one step. But _PyType_Modified_Unlocked() is re-entrant and
 6511|       |       cannot run with the world stopped, so we must invalidate first.
 6512|       |       Immutable/static-builtin types are skipped because
 6513|       |       set_flags_recursive() does not modify them. */
 6514|     28|    if (!PyType_HasFeature(self, Py_TPFLAGS_IMMUTABLETYPE) &&
  ------------------
  |  |  500|     28|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (6514:9): [True: 0, False: 28]
  ------------------
 6515|      0|        (self->tp_flags & mask) != flags)
  ------------------
  |  Branch (6515:9): [True: 0, False: 0]
  ------------------
 6516|      0|    {
 6517|      0|        _PyType_Modified_Unlocked(self);
 6518|      0|    }
 6519|       |    /* Keep TYPE_LOCK held while waiting for stop-the-world so no thread
 6520|       |       can reassign a version tag before the flag update. */
 6521|     28|    type_lock_prevent_release();
 6522|     28|    types_stop_world();
 6523|     28|    set_flags_recursive(self, mask, flags);
 6524|     28|    types_start_world();
 6525|     28|    type_lock_allow_release();
 6526|     28|    END_TYPE_LOCK();
 6527|     28|}
_Py_type_getattro_impl:
 6543|  1.08M|{
 6544|  1.08M|    _PyStackRef ref = _Py_type_getattro_stackref(type, name, suppress_missing_attribute);
 6545|  1.08M|    if (PyStackRef_IsNull(ref)) {
  ------------------
  |  |  482|  1.08M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  1.08M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.08M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 54, False: 1.08M]
  |  |  ------------------
  ------------------
 6546|     54|        return NULL;
 6547|     54|    }
 6548|  1.08M|    return PyStackRef_AsPyObjectSteal(ref);
 6549|  1.08M|}
_Py_type_getattro:
 6555|  1.08M|{
 6556|  1.08M|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|  1.08M|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 6557|       |    return _Py_type_getattro_impl(type, name, NULL);
 6558|  1.08M|}
_Py_type_getattro_stackref:
 6573|  1.79M|{
 6574|  1.79M|    PyTypeObject *metatype = Py_TYPE(type);
  ------------------
  |  |  213|  1.79M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.79M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.79M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6575|  1.79M|    descrgetfunc meta_get = NULL;
 6576|       |
 6577|  1.79M|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  1.79M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.79M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (6577:9): [True: 0, False: 1.79M]
  ------------------
 6578|      0|        PyErr_Format(PyExc_TypeError,
 6579|      0|                     "attribute name must be string, not '%.200s'",
 6580|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6581|      0|        return PyStackRef_NULL;
 6582|      0|    }
 6583|       |
 6584|       |    /* Initialize this type (we'll assume the metatype is initialized) */
 6585|  1.79M|    if (!_PyType_IsReady(type)) {
  ------------------
  |  Branch (6585:9): [True: 0, False: 1.79M]
  ------------------
 6586|      0|        if (PyType_Ready(type) < 0)
  ------------------
  |  Branch (6586:13): [True: 0, False: 0]
  ------------------
 6587|      0|            return PyStackRef_NULL;
 6588|      0|    }
 6589|       |
 6590|       |    /* Set up GC-visible stack refs */
 6591|  1.79M|    _PyCStackRef result_ref, meta_attribute_ref, attribute_ref;
 6592|  1.79M|    PyThreadState *tstate = _PyThreadState_GET();
 6593|  1.79M|    _PyThreadState_PushCStackRef(tstate, &result_ref);
 6594|  1.79M|    _PyThreadState_PushCStackRef(tstate, &meta_attribute_ref);
 6595|  1.79M|    _PyThreadState_PushCStackRef(tstate, &attribute_ref);
 6596|       |
 6597|       |    /* Look for the attribute in the metatype */
 6598|  1.79M|    _PyType_LookupStackRefAndVersion(metatype, name, &meta_attribute_ref.ref);
 6599|       |
 6600|  1.79M|    if (!PyStackRef_IsNull(meta_attribute_ref.ref)) {
  ------------------
  |  |  482|  1.79M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  1.79M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.79M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6600:9): [True: 713k, False: 1.08M]
  ------------------
 6601|   713k|        PyObject *meta_attr_obj = PyStackRef_AsPyObjectBorrow(meta_attribute_ref.ref);
 6602|   713k|        meta_get = Py_TYPE(meta_attr_obj)->tp_descr_get;
  ------------------
  |  |  213|   713k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   713k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   713k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6603|       |
 6604|   713k|        if (meta_get != NULL && PyDescr_IsData(meta_attr_obj)) {
  ------------------
  |  Branch (6604:13): [True: 712k, False: 361]
  |  Branch (6604:33): [True: 712k, False: 651]
  ------------------
 6605|       |            /* Data descriptors implement tp_descr_set to intercept
 6606|       |             * writes. Assume the attribute is not overridden in
 6607|       |             * type's tp_dict (and bases): call the descriptor now.
 6608|       |             */
 6609|   712k|            PyObject *res = meta_get(meta_attr_obj, (PyObject *)type,
 6610|   712k|                                     (PyObject *)metatype);
 6611|   712k|            if (res != NULL) {
  ------------------
  |  Branch (6611:17): [True: 712k, False: 25]
  ------------------
 6612|   712k|                result_ref.ref = PyStackRef_FromPyObjectSteal(res);
 6613|   712k|            }
 6614|   712k|            goto done;
 6615|   712k|        }
 6616|   713k|    }
 6617|       |
 6618|       |    /* No data descriptor found on metatype. Look in tp_dict of this
 6619|       |     * type and its bases */
 6620|  1.08M|    _PyType_LookupStackRefAndVersion(type, name, &attribute_ref.ref);
 6621|  1.08M|    if (!PyStackRef_IsNull(attribute_ref.ref)) {
  ------------------
  |  |  482|  1.08M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  1.08M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.08M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6621:9): [True: 1.08M, False: 182]
  ------------------
 6622|       |        /* Implement descriptor functionality, if any */
 6623|  1.08M|        PyObject *attr_obj = PyStackRef_AsPyObjectBorrow(attribute_ref.ref);
 6624|  1.08M|        descrgetfunc local_get = Py_TYPE(attr_obj)->tp_descr_get;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6625|       |
 6626|       |        /* Release meta_attribute early since we found in local dict */
 6627|  1.08M|        PyStackRef_CLEAR(meta_attribute_ref.ref);
  ------------------
  |  |  732|  1.08M|    do { \
  |  |  733|  1.08M|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|  1.08M|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|  1.08M|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|  1.08M|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|  1.08M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 1.08M]
  |  |  ------------------
  ------------------
 6628|       |
 6629|  1.08M|        if (local_get != NULL) {
  ------------------
  |  Branch (6629:13): [True: 1.08M, False: 309]
  ------------------
 6630|       |            /* Special case staticmethod to avoid descriptor call overhead.
 6631|       |             * staticmethod.__get__ just returns the wrapped callable. */
 6632|  1.08M|            if (Py_TYPE(attr_obj) == &PyStaticMethod_Type) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6632:17): [True: 699, False: 1.08M]
  ------------------
 6633|    699|                PyObject *callable = _PyStaticMethod_GetFunc(attr_obj);
 6634|    699|                if (callable) {
  ------------------
  |  Branch (6634:21): [True: 699, False: 0]
  ------------------
 6635|    699|                    result_ref.ref = PyStackRef_FromPyObjectNew(callable);
  ------------------
  |  |  611|    699|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    699|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    699|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6636|    699|                    goto done;
 6637|    699|                }
 6638|    699|            }
 6639|       |            /* NULL 2nd argument indicates the descriptor was
 6640|       |             * found on the target object itself (or a base)  */
 6641|  1.08M|            PyObject *res = local_get(attr_obj, (PyObject *)NULL,
 6642|  1.08M|                                      (PyObject *)type);
 6643|  1.08M|            if (res != NULL) {
  ------------------
  |  Branch (6643:17): [True: 1.08M, False: 0]
  ------------------
 6644|  1.08M|                result_ref.ref = PyStackRef_FromPyObjectSteal(res);
 6645|  1.08M|            }
 6646|  1.08M|            goto done;
 6647|  1.08M|        }
 6648|       |
 6649|       |        /* No descriptor, return the attribute directly */
 6650|    309|        result_ref.ref = attribute_ref.ref;
 6651|    309|        attribute_ref.ref = PyStackRef_NULL;
 6652|    309|        goto done;
 6653|  1.08M|    }
 6654|       |
 6655|       |    /* No attribute found in local __dict__ (or bases): use the
 6656|       |     * descriptor from the metatype, if any */
 6657|    182|    if (meta_get != NULL) {
  ------------------
  |  Branch (6657:9): [True: 151, False: 31]
  ------------------
 6658|    151|        PyObject *meta_attr_obj = PyStackRef_AsPyObjectBorrow(meta_attribute_ref.ref);
 6659|    151|        PyObject *res = meta_get(meta_attr_obj, (PyObject *)type,
 6660|    151|                                 (PyObject *)metatype);
 6661|    151|        if (res != NULL) {
  ------------------
  |  Branch (6661:13): [True: 151, False: 0]
  ------------------
 6662|    151|            result_ref.ref = PyStackRef_FromPyObjectSteal(res);
 6663|    151|        }
 6664|    151|        goto done;
 6665|    151|    }
 6666|       |
 6667|       |    /* If an ordinary attribute was found on the metatype, return it now */
 6668|     31|    if (!PyStackRef_IsNull(meta_attribute_ref.ref)) {
  ------------------
  |  |  482|     31|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|     31|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|     31|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6668:9): [True: 0, False: 31]
  ------------------
 6669|      0|        result_ref.ref = meta_attribute_ref.ref;
 6670|      0|        meta_attribute_ref.ref = PyStackRef_NULL;
 6671|      0|        goto done;
 6672|      0|    }
 6673|       |
 6674|       |    /* Give up */
 6675|     31|    if (suppress_missing_attribute == NULL) {
  ------------------
  |  Branch (6675:9): [True: 2, False: 29]
  ------------------
 6676|      2|        PyErr_Format(PyExc_AttributeError,
 6677|      2|                     "type object '%.100s' has no attribute '%U'",
 6678|      2|                     type->tp_name, name);
 6679|      2|    }
 6680|     29|    else {
 6681|       |        // signal the caller we have not set an PyExc_AttributeError and gave up
 6682|     29|        *suppress_missing_attribute = 1;
 6683|     29|    }
 6684|       |
 6685|  1.79M|done:
 6686|  1.79M|    _PyThreadState_PopCStackRef(tstate, &attribute_ref);
 6687|  1.79M|    _PyThreadState_PopCStackRef(tstate, &meta_attribute_ref);
 6688|  1.79M|    return _PyThreadState_PopCStackRefSteal(tstate, &result_ref);
 6689|     31|}
_Py_BaseObject_RichCompare:
 7566|  6.19k|{
 7567|  6.19k|    return object_richcompare(self, other, op);
 7568|  6.19k|}
_PyType_AddMethod:
 8669|      2|{
 8670|      2|    return type_add_method(type, meth);
 8671|      2|}
PyType_Ready:
 9612|    386|{
 9613|    386|    if (type->tp_flags & Py_TPFLAGS_READY) {
  ------------------
  |  |  518|    386|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
  |  Branch (9613:9): [True: 0, False: 386]
  ------------------
 9614|      0|        assert(_PyType_CheckConsistency(type));
  ------------------
  |  Branch (9614:9): [True: 0, False: 0]
  ------------------
 9615|      0|        return 0;
 9616|      0|    }
 9617|    386|    assert(!(type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN));
  ------------------
  |  Branch (9617:5): [True: 386, False: 0]
  ------------------
 9618|       |
 9619|       |    /* Historically, all static types were immutable. See bpo-43908 */
 9620|    386|    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|    386|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9620:9): [True: 0, False: 386]
  ------------------
 9621|      0|        type_add_flags(type, Py_TPFLAGS_IMMUTABLETYPE);
  ------------------
  |  |  500|      0|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
 9622|       |        /* Static types must be immortal */
 9623|      0|        _Py_SetImmortalUntracked((PyObject *)type);
 9624|      0|    }
 9625|       |
 9626|    386|    int res;
 9627|    386|    BEGIN_TYPE_LOCK();
 9628|    386|    if (!(type->tp_flags & Py_TPFLAGS_READY)) {
  ------------------
  |  |  518|    386|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
  |  Branch (9628:9): [True: 386, False: 0]
  ------------------
 9629|    386|        res = type_ready(type, 1);
 9630|    386|    } else {
 9631|      0|        res = 0;
 9632|      0|        assert(_PyType_CheckConsistency(type));
  ------------------
  |  Branch (9632:9): [True: 0, False: 0]
  ------------------
 9633|      0|    }
 9634|    386|    END_TYPE_LOCK();
 9635|    386|    return res;
 9636|    386|}
_PyStaticType_InitForExtension:
 9681|     12|{
 9682|     12|    return init_static_type(interp, self, 0, ((self->tp_flags & Py_TPFLAGS_READY) == 0));
  ------------------
  |  |  518|     12|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
 9683|     12|}
_PyStaticType_InitBuiltin:
 9687|    402|{
 9688|    402|    return init_static_type(interp, self, 1, _Py_IsMainInterpreter(interp));
 9689|    402|}
_PyType_InitSlotDefs:
12186|      2|{
12187|      2|    if (!_Py_IsMainInterpreter(interp)) {
  ------------------
  |  Branch (12187:9): [True: 0, False: 2]
  ------------------
12188|      0|        return 0;
12189|      0|    }
12190|      2|    PyObject *bytearray = NULL;
12191|      2|    PyObject *cache = PyDict_New();
12192|      2|    if (!cache) {
  ------------------
  |  Branch (12192:9): [True: 0, False: 2]
  ------------------
12193|      0|        return -1;
12194|      0|    }
12195|       |
12196|      2|    pytype_slotdef *p;
12197|      2|    Py_ssize_t idx = 0;
12198|    190|    for (p = slotdefs; p->name_strobj; p++, idx++) {
  ------------------
  |  Branch (12198:24): [True: 188, False: 2]
  ------------------
12199|    188|        assert(idx < 255);
  ------------------
  |  Branch (12199:9): [True: 188, False: 0]
  ------------------
12200|       |
12201|    188|        if (PyDict_GetItemRef(cache, p->name_strobj, &bytearray) < 0) {
  ------------------
  |  Branch (12201:13): [True: 0, False: 188]
  ------------------
12202|      0|            goto error;
12203|      0|        }
12204|       |
12205|    188|        if (!bytearray) {
  ------------------
  |  Branch (12205:13): [True: 162, False: 26]
  ------------------
12206|    162|            Py_ssize_t size = sizeof(uint8_t) * (1 + MAX_EQUIV);
  ------------------
  |  |  741|    162|#define MAX_EQUIV 10
  ------------------
12207|    162|            bytearray = PyByteArray_FromStringAndSize(NULL, size);
12208|    162|            if (!bytearray) {
  ------------------
  |  Branch (12208:17): [True: 0, False: 162]
  ------------------
12209|      0|                goto error;
12210|      0|            }
12211|       |
12212|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12213|    162|            data[0] = 0;
12214|       |
12215|    162|            if (PyDict_SetItem(cache, p->name_strobj, bytearray) < 0) {
  ------------------
  |  Branch (12215:17): [True: 0, False: 162]
  ------------------
12216|      0|                goto error;
12217|      0|            }
12218|    162|        }
12219|       |
12220|    188|        assert(PyByteArray_CheckExact(bytearray));
  ------------------
  |  Branch (12220:9): [True: 188, False: 0]
  ------------------
12221|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12222|       |
12223|    188|        data[0] += 1;
12224|    188|        assert(data[0] < MAX_EQUIV);
  ------------------
  |  Branch (12224:9): [True: 188, False: 0]
  ------------------
12225|       |
12226|    188|        data[data[0]] = (uint8_t)idx;
12227|       |
12228|    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]
  |  |  ------------------
  ------------------
12229|    188|    }
12230|       |
12231|      2|    memset(slotdefs_dups, -1, sizeof(slotdefs_dups));
12232|       |
12233|      2|    Py_ssize_t pos = 0;
12234|      2|    PyObject *key = NULL;
12235|      2|    PyObject *value = NULL;
12236|    164|    while (PyDict_Next(cache, &pos, &key, &value)) {
  ------------------
  |  Branch (12236:12): [True: 162, False: 2]
  ------------------
12237|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12238|    162|        uint8_t n = data[0];
12239|    350|        for (uint8_t i = 0; i < n; i++) {
  ------------------
  |  Branch (12239:29): [True: 188, False: 162]
  ------------------
12240|    188|            uint8_t idx = data[i + 1];
12241|    188|            memcpy(&slotdefs_dups[idx], data, sizeof(uint8_t) * (n + 1));
12242|    188|        }
12243|    162|    }
12244|       |
12245|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12246|      2|    return 0;
12247|       |
12248|      0|error:
12249|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12250|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12251|      0|    return -1;
12252|      2|}
_PySuper_LookupDescr:
12589|  3.02k|{
12590|  3.02k|    PyObject *mro, *res;
12591|  3.02k|    Py_ssize_t i, n;
12592|       |
12593|  3.02k|    mro = lookup_tp_mro(su_obj_type);
12594|  3.02k|    if (mro == NULL)
  ------------------
  |  Branch (12594:9): [True: 0, False: 3.02k]
  ------------------
12595|      0|        return NULL;
12596|       |
12597|       |    /* Keep a strong reference to mro because su_obj_type->tp_mro can be
12598|       |       replaced during PyDict_GetItemRef(dict, name, &res). */
12599|  3.02k|    PyThreadState *tstate = _PyThreadState_GET();
12600|  3.02k|    _PyCStackRef mro_ref;
12601|  3.02k|    _PyThreadState_PushCStackRefNew(tstate, &mro_ref, mro);
12602|       |
12603|  3.02k|    assert(PyTuple_Check(mro));
  ------------------
  |  Branch (12603:5): [True: 3.02k, False: 0]
  ------------------
12604|  3.02k|    n = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   27|  3.02k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12605|       |
12606|       |    /* No need to check the last one: it's gonna be skipped anyway.  */
12607|  3.03k|    for (i = 0; i+1 < n; i++) {
  ------------------
  |  Branch (12607:17): [True: 3.03k, False: 0]
  ------------------
12608|  3.03k|        if ((PyObject *)(su_type) == PyTuple_GET_ITEM(mro, i))
  ------------------
  |  |   29|  3.03k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  3.03k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12608:13): [True: 3.02k, False: 2]
  |  Branch (12608:38): [True: 3.03k, False: 0]
  ------------------
12609|  3.02k|            break;
12610|  3.03k|    }
12611|  3.02k|    i++;  /* skip su->type (if any)  */
12612|  3.02k|    if (i >= n) {
  ------------------
  |  Branch (12612:9): [True: 0, False: 3.02k]
  ------------------
12613|      0|        _PyThreadState_PopCStackRef(tstate, &mro_ref);
12614|      0|        return NULL;
12615|      0|    }
12616|       |
12617|  5.57k|    do {
12618|  5.57k|        PyObject *obj = PyTuple_GET_ITEM(mro, i);
  ------------------
  |  |   29|  5.57k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  5.57k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12618:25): [True: 5.57k, False: 0]
  ------------------
12619|  5.57k|        PyObject *dict = lookup_tp_dict(_PyType_CAST(obj));
  ------------------
  |  |  770|  5.57k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  5.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (12619:41): [True: 5.57k, False: 0]
  ------------------
12620|  5.57k|        assert(dict != NULL && PyDict_Check(dict));
  ------------------
  |  Branch (12620:9): [True: 5.57k, False: 0]
  |  Branch (12620:9): [True: 5.57k, False: 0]
  ------------------
12621|       |
12622|  5.57k|        if (PyDict_GetItemRef(dict, name, &res) != 0) {
  ------------------
  |  Branch (12622:13): [True: 3.02k, False: 2.54k]
  ------------------
12623|       |            // found or error
12624|  3.02k|            _PyThreadState_PopCStackRef(tstate, &mro_ref);
12625|  3.02k|            return res;
12626|  3.02k|        }
12627|       |
12628|  2.54k|        i++;
12629|  2.54k|    } while (i < n);
  ------------------
  |  Branch (12629:14): [True: 2.54k, False: 0]
  ------------------
12630|      0|    _PyThreadState_PopCStackRef(tstate, &mro_ref);
12631|       |    return NULL;
12632|  3.02k|}
_PySuper_Lookup:
12770|  2.74k|{
12771|  2.74k|    PyTypeObject *su_obj_type = supercheck(su_type, su_obj);
12772|  2.74k|    if (su_obj_type == NULL) {
  ------------------
  |  Branch (12772:9): [True: 0, False: 2.74k]
  ------------------
12773|      0|        return NULL;
12774|      0|    }
12775|  2.74k|    PyObject *res = do_super_lookup(NULL, su_type, su_obj, su_obj_type, name, method);
12776|  2.74k|    Py_DECREF(su_obj_type);
  ------------------
  |  |  430|  2.74k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.74k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.74k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12777|  2.74k|    return res;
12778|  2.74k|}
typeobject.c:managed_static_type_state_get:
  286|  33.9M|{
  287|       |    // It's probably a builtin type.
  288|  33.9M|    size_t index = managed_static_type_index_get(self);
  289|  33.9M|    managed_static_type_state *state =
  290|  33.9M|            &(interp->types.builtins.initialized[index]);
  291|  33.9M|    if (state->type == self) {
  ------------------
  |  Branch (291:9): [True: 33.9M, False: 306]
  ------------------
  292|  33.9M|        return state;
  293|  33.9M|    }
  294|    306|    if (index > _Py_MAX_MANAGED_STATIC_EXT_TYPES) {
  ------------------
  |  |  544|    306|#define _Py_MAX_MANAGED_STATIC_EXT_TYPES 10
  ------------------
  |  Branch (294:9): [True: 0, False: 306]
  ------------------
  295|      0|        return state;
  296|      0|    }
  297|    306|    return &(interp->types.for_extensions.initialized[index]);
  298|    306|}
typeobject.c:managed_static_type_index_get:
  240|  33.9M|{
  241|  33.9M|    assert(managed_static_type_index_is_set(self));
  ------------------
  |  Branch (241:5): [True: 33.9M, False: 0]
  ------------------
  242|       |    /* We store a 1-based index so 0 can mean "not initialized". */
  243|  33.9M|    return (size_t)self->tp_subclasses - 1;
  244|  33.9M|}
typeobject.c:managed_static_type_index_is_set:
  233|  33.9M|{
  234|       |    return self->tp_subclasses != NULL;
  235|  33.9M|}
typeobject.c:lookup_tp_dict:
  528|  50.9M|{
  529|  50.9M|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  50.9M|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (529:9): [True: 33.9M, False: 16.9M]
  ------------------
  530|  33.9M|        PyInterpreterState *interp = _PyInterpreterState_GET();
  531|  33.9M|        managed_static_type_state *state = _PyStaticType_GetState(interp, self);
  532|  33.9M|        assert(state != NULL);
  ------------------
  |  Branch (532:9): [True: 33.9M, False: 0]
  ------------------
  533|  33.9M|        return state->tp_dict;
  534|  33.9M|    }
  535|  16.9M|    return self->tp_dict;
  536|  50.9M|}
typeobject.c:lookup_tp_bases:
  581|  4.02k|{
  582|  4.02k|    return self->tp_bases;
  583|  4.02k|}
typeobject.c:lookup_tp_subclasses:
  733|  1.09k|{
  734|  1.09k|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  1.09k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (734:9): [True: 687, False: 403]
  ------------------
  735|    687|        PyInterpreterState *interp = _PyInterpreterState_GET();
  736|    687|        managed_static_type_state *state = _PyStaticType_GetState(interp, self);
  737|    687|        assert(state != NULL);
  ------------------
  |  Branch (737:9): [True: 687, False: 0]
  ------------------
  738|    687|        return state->tp_subclasses;
  739|    687|    }
  740|    403|    return (PyObject *)self->tp_subclasses;
  741|  1.09k|}
typeobject.c:init_tp_subclasses:
  701|    154|{
  702|    154|    PyObject *subclasses = PyDict_New();
  703|    154|    if (subclasses == NULL) {
  ------------------
  |  Branch (703:9): [True: 0, False: 154]
  ------------------
  704|      0|        return NULL;
  705|      0|    }
  706|    154|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|    154|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (706:9): [True: 72, False: 82]
  ------------------
  707|     72|        PyInterpreterState *interp = _PyInterpreterState_GET();
  708|     72|        managed_static_type_state *state = _PyStaticType_GetState(interp, self);
  709|     72|        state->tp_subclasses = subclasses;
  710|     72|        return subclasses;
  711|     72|    }
  712|     82|    self->tp_subclasses = (void *)subclasses;
  713|     82|    return subclasses;
  714|    154|}
typeobject.c:type_from_ref:
  219|      8|{
  220|      8|    PyObject *obj = _PyWeakref_GET_REF(ref);
  221|      8|    if (obj == NULL) {
  ------------------
  |  Branch (221:9): [True: 0, False: 8]
  ------------------
  222|      0|        return NULL;
  223|      0|    }
  224|      8|    return _PyType_CAST(obj);
  ------------------
  |  |  770|      8|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (224:12): [True: 8, False: 0]
  ------------------
  225|      8|}
typeobject.c:is_readying:
  513|  2.15k|{
  514|  2.15k|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  2.15k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (514:9): [True: 828, False: 1.33k]
  ------------------
  515|    828|        PyInterpreterState *interp = _PyInterpreterState_GET();
  516|    828|        managed_static_type_state *state = managed_static_type_state_get(interp, type);
  517|    828|        assert(state != NULL);
  ------------------
  |  Branch (517:9): [True: 828, False: 0]
  ------------------
  518|    828|        return state->readying;
  519|    828|    }
  520|  1.33k|    return (type->tp_flags & Py_TPFLAGS_READYING) != 0;
  ------------------
  |  |  521|  1.33k|#define Py_TPFLAGS_READYING (1UL << 13)
  ------------------
  521|  2.15k|}
typeobject.c:_PyType_DocWithoutSignature:
  901|    486|{
  902|    486|    const char *doc = find_signature(name, internal_doc);
  903|       |
  904|    486|    if (doc) {
  ------------------
  |  Branch (904:9): [True: 214, False: 272]
  ------------------
  905|    214|        doc = skip_signature(doc);
  906|    214|        if (doc)
  ------------------
  |  Branch (906:13): [True: 192, False: 22]
  ------------------
  907|    192|            return doc;
  908|    214|        }
  909|    294|    return internal_doc;
  910|    486|}
typeobject.c:find_signature:
  822|    486|{
  823|    486|    const char *dot;
  824|    486|    size_t length;
  825|       |
  826|    486|    if (!doc)
  ------------------
  |  Branch (826:9): [True: 0, False: 486]
  ------------------
  827|      0|        return NULL;
  828|       |
  829|    486|    assert(name != NULL);
  ------------------
  |  Branch (829:5): [True: 486, False: 0]
  ------------------
  830|       |
  831|       |    /* for dotted names like classes, only use the last component */
  832|    486|    dot = strrchr(name, '.');
  833|    486|    if (dot)
  ------------------
  |  Branch (833:9): [True: 257, False: 229]
  ------------------
  834|    257|        name = dot + 1;
  835|       |
  836|    486|    length = strlen(name);
  837|    486|    if (strncmp(doc, name, length))
  ------------------
  |  Branch (837:9): [True: 240, False: 246]
  ------------------
  838|    240|        return NULL;
  839|    246|    doc += length;
  840|    246|    if (*doc != '(')
  ------------------
  |  Branch (840:9): [True: 32, False: 214]
  ------------------
  841|     32|        return NULL;
  842|    214|    return doc;
  843|    246|}
typeobject.c:skip_signature:
  853|    214|{
  854|  8.80k|    while (*doc) {
  ------------------
  |  Branch (854:12): [True: 8.80k, False: 6]
  ------------------
  855|  8.80k|        if ((*doc == *SIGNATURE_END_MARKER) &&
  ------------------
  |  |  845|  8.80k|#define SIGNATURE_END_MARKER         ")\n--\n\n"
  ------------------
  |  Branch (855:13): [True: 292, False: 8.50k]
  ------------------
  856|    292|            !strncmp(doc, SIGNATURE_END_MARKER, SIGNATURE_END_MARKER_LENGTH))
  ------------------
  |  |  845|    292|#define SIGNATURE_END_MARKER         ")\n--\n\n"
  ------------------
                          !strncmp(doc, SIGNATURE_END_MARKER, SIGNATURE_END_MARKER_LENGTH))
  ------------------
  |  |  846|    292|#define SIGNATURE_END_MARKER_LENGTH  6
  ------------------
  |  Branch (856:13): [True: 192, False: 100]
  ------------------
  857|    192|            return doc + SIGNATURE_END_MARKER_LENGTH;
  ------------------
  |  |  846|    192|#define SIGNATURE_END_MARKER_LENGTH  6
  ------------------
  858|  8.60k|        if ((*doc == '\n') && (doc[1] == '\n'))
  ------------------
  |  Branch (858:13): [True: 104, False: 8.50k]
  |  Branch (858:31): [True: 16, False: 88]
  ------------------
  859|     16|            return NULL;
  860|  8.59k|        doc++;
  861|  8.59k|    }
  862|      6|    return NULL;
  863|    214|}
typeobject.c:set_version_unlocked:
 1135|    888|{
 1136|    888|    assert(version == 0 || (tp->tp_versions_used != _Py_ATTR_CACHE_UNUSED));
  ------------------
  |  Branch (1136:5): [True: 165, False: 723]
  |  Branch (1136:5): [True: 723, False: 0]
  ------------------
 1137|    888|#ifndef Py_GIL_DISABLED
 1138|    888|    PyInterpreterState *interp = _PyInterpreterState_GET();
 1139|       |    // lookup the old version and set to null
 1140|    888|    if (tp->tp_version_tag != 0) {
  ------------------
  |  Branch (1140:9): [True: 165, False: 723]
  ------------------
 1141|    165|        PyTypeObject **slot =
 1142|    165|            interp->types.type_version_cache
 1143|    165|            + (tp->tp_version_tag % TYPE_VERSION_CACHE_SIZE);
  ------------------
  |  |  596|    165|#define TYPE_VERSION_CACHE_SIZE (1<<12)  /* Must be a power of 2 */
  ------------------
 1144|    165|        *slot = NULL;
 1145|    165|    }
 1146|    888|    if (version) {
  ------------------
  |  Branch (1146:9): [True: 723, False: 165]
  ------------------
 1147|    723|        tp->tp_versions_used++;
 1148|    723|    }
 1149|       |#else
 1150|       |    if (version) {
 1151|       |        _Py_atomic_add_uint16(&tp->tp_versions_used, 1);
 1152|       |    }
 1153|       |#endif
 1154|    888|    FT_ATOMIC_STORE_UINT_RELAXED(tp->tp_version_tag, version);
  ------------------
  |  |  190|    888|#define FT_ATOMIC_STORE_UINT_RELAXED(value, new_value) value = new_value
  ------------------
 1155|    888|#ifndef Py_GIL_DISABLED
 1156|    888|    if (version != 0) {
  ------------------
  |  Branch (1156:9): [True: 723, False: 165]
  ------------------
 1157|    723|        PyTypeObject **slot =
 1158|    723|            interp->types.type_version_cache
 1159|    723|            + (version % TYPE_VERSION_CACHE_SIZE);
  ------------------
  |  |  596|    723|#define TYPE_VERSION_CACHE_SIZE (1<<12)  /* Must be a power of 2 */
  ------------------
 1160|    723|        *slot = tp;
 1161|    723|    }
 1162|    888|#endif
 1163|    888|}
typeobject.c:assign_version_tag:
 1409|    681|{
 1410|    681|    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|    681|    if (type->tp_version_tag != 0) {
  ------------------
  |  Branch (1416:9): [True: 350, False: 331]
  ------------------
 1417|    350|        return 1;
 1418|    350|    }
 1419|    331|    if (!_PyType_HasFeature(type, Py_TPFLAGS_READY)) {
  ------------------
  |  |  518|    331|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
  |  Branch (1419:9): [True: 0, False: 331]
  ------------------
 1420|      0|        return 0;
 1421|      0|    }
 1422|    331|    if (type->tp_versions_used >= MAX_VERSIONS_PER_CLASS) {
  ------------------
  |  | 1389|    331|#define MAX_VERSIONS_PER_CLASS 1000
  ------------------
  |  Branch (1422:9): [True: 0, False: 331]
  ------------------
 1423|       |        /* (this includes `tp_versions_used == _Py_ATTR_CACHE_UNUSED`) */
 1424|      0|        return 0;
 1425|      0|    }
 1426|       |
 1427|    331|    PyObject *bases = lookup_tp_bases(type);
 1428|    331|    Py_ssize_t n = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|    331|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    331|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    331|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1429|    722|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (1429:28): [True: 391, False: 331]
  ------------------
 1430|    391|        PyObject *b = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|    391|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    391|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    391|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1430:23): [True: 391, False: 0]
  ------------------
 1431|    391|        if (!assign_version_tag(interp, _PyType_CAST(b))) {
  ------------------
  |  |  770|    391|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    391|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1431:13): [True: 0, False: 391]
  |  Branch (1431:41): [True: 391, False: 0]
  ------------------
 1432|      0|            return 0;
 1433|      0|        }
 1434|    391|    }
 1435|    331|    if (type->tp_flags & Py_TPFLAGS_IMMUTABLETYPE) {
  ------------------
  |  |  500|    331|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (1435:9): [True: 22, False: 309]
  ------------------
 1436|       |        /* static types */
 1437|     22|        unsigned int next_version_tag = next_global_version_tag();
 1438|     22|        if (next_version_tag == 0) {
  ------------------
  |  Branch (1438:13): [True: 0, False: 22]
  ------------------
 1439|       |            /* We have run out of version numbers */
 1440|      0|            return 0;
 1441|      0|        }
 1442|     22|        set_version_unlocked(type, next_version_tag);
 1443|     22|        assert (type->tp_version_tag <= _Py_MAX_GLOBAL_TYPE_VERSION_TAG);
  ------------------
  |  Branch (1443:9): [True: 22, False: 0]
  ------------------
 1444|     22|    }
 1445|    309|    else {
 1446|       |        /* heap types */
 1447|    309|        if (NEXT_VERSION_TAG(interp) == 0) {
  ------------------
  |  |   61|    309|    (interp)->types.next_version_tag
  ------------------
  |  Branch (1447:13): [True: 0, False: 309]
  ------------------
 1448|       |            /* We have run out of version numbers */
 1449|      0|            return 0;
 1450|      0|        }
 1451|    309|        set_version_unlocked(type, NEXT_VERSION_TAG(interp)++);
  ------------------
  |  |   61|    309|    (interp)->types.next_version_tag
  ------------------
 1452|    309|        assert (type->tp_version_tag != 0);
  ------------------
  |  Branch (1452:9): [True: 309, False: 0]
  ------------------
 1453|    309|    }
 1454|    331|    return 1;
 1455|    331|}
typeobject.c:next_global_version_tag:
 1396|    414|{
 1397|    414|    unsigned int old;
 1398|    414|    do {
 1399|    414|        old = _Py_atomic_load_uint_relaxed(&_PyRuntime.types.next_version_tag);
 1400|    414|        if (old >= _Py_MAX_GLOBAL_TYPE_VERSION_TAG) {
  ------------------
  |  |   35|    414|#define _Py_MAX_GLOBAL_TYPE_VERSION_TAG (_Py_TYPE_BASE_VERSION_TAG - 1)
  |  |  ------------------
  |  |  |  |   34|    414|#define _Py_TYPE_BASE_VERSION_TAG (2<<16)
  |  |  ------------------
  ------------------
  |  Branch (1400:13): [True: 0, False: 414]
  ------------------
 1401|      0|            return 0;
 1402|      0|        }
 1403|    414|    } while (!_Py_atomic_compare_exchange_uint(&_PyRuntime.types.next_version_tag, &old, old + 1));
  ------------------
  |  Branch (1403:14): [True: 0, False: 414]
  ------------------
 1404|    414|    return old + 1;
 1405|    414|}
typeobject.c:type_qualname:
 1535|     25|{
 1536|     25|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|     25|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1537|     25|    if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) {
  ------------------
  |  |  503|     25|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1537:9): [True: 2, False: 23]
  ------------------
 1538|      2|        PyHeapTypeObject* et = (PyHeapTypeObject*)type;
 1539|      2|        return Py_NewRef(et->ht_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1540|      2|    }
 1541|     23|    else {
 1542|     23|        return PyUnicode_FromString(_PyType_Name(type));
 1543|     23|    }
 1544|     25|}
typeobject.c:type_module:
 1608|     25|{
 1609|     25|    PyObject *mod;
 1610|     25|    if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) {
  ------------------
  |  |  503|     25|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1610:9): [True: 2, False: 23]
  ------------------
 1611|      2|        PyObject *dict = lookup_tp_dict(type);
 1612|      2|        if (PyDict_GetItemRef(dict, &_Py_ID(__module__), &mod) == 0) {
  ------------------
  |  |  920|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1612:13): [True: 0, False: 2]
  ------------------
 1613|      0|            PyErr_Format(PyExc_AttributeError, "__module__");
 1614|      0|        }
 1615|      2|    }
 1616|     23|    else {
 1617|     23|        const char *s = strrchr(type->tp_name, '.');
 1618|     23|        if (s != NULL) {
  ------------------
  |  Branch (1618:13): [True: 17, False: 6]
  ------------------
 1619|     17|            mod = PyUnicode_FromStringAndSize(
 1620|     17|                type->tp_name, (Py_ssize_t)(s - type->tp_name));
 1621|     17|            if (mod != NULL) {
  ------------------
  |  Branch (1621:17): [True: 17, False: 0]
  ------------------
 1622|     17|                PyInterpreterState *interp = _PyInterpreterState_GET();
 1623|     17|                _PyUnicode_InternMortal(interp, &mod);
 1624|     17|            }
 1625|     17|        }
 1626|      6|        else {
 1627|      6|            mod = &_Py_ID(builtins);
  ------------------
  |  |  920|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1628|      6|        }
 1629|     23|    }
 1630|     25|    return mod;
 1631|     25|}
typeobject.c:is_subtype_with_mro:
 2905|  77.6M|{
 2906|  77.6M|    int res;
 2907|  77.6M|    if (a_mro != NULL) {
  ------------------
  |  Branch (2907:9): [True: 77.6M, False: 2.08k]
  ------------------
 2908|       |        /* Deal with multiple inheritance without recursion
 2909|       |           by walking the MRO tuple */
 2910|  77.6M|        Py_ssize_t i, n;
 2911|  77.6M|        assert(PyTuple_Check(a_mro));
  ------------------
  |  Branch (2911:9): [True: 77.6M, False: 0]
  ------------------
 2912|  77.6M|        n = PyTuple_GET_SIZE(a_mro);
  ------------------
  |  |   27|  77.6M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  77.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  77.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2913|  77.6M|        res = 0;
 2914|   208M|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2914:21): [True: 157M, False: 50.5M]
  ------------------
 2915|   315M|            if (PyTuple_GET_ITEM(a_mro, i) == (PyObject *)b) {
  ------------------
  |  |   29|   157M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   157M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   157M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2915:17): [True: 157M, False: 0]
  |  Branch (2915:17): [True: 27.0M, False: 130M]
  ------------------
 2916|  27.0M|                res = 1;
 2917|  27.0M|                break;
 2918|  27.0M|            }
 2919|   157M|        }
 2920|  77.6M|    }
 2921|  2.08k|    else {
 2922|       |        /* a is not completely initialized yet; follow tp_base */
 2923|  2.08k|        res = type_is_subtype_base_chain(a, b);
 2924|  2.08k|    }
 2925|  77.6M|    return res;
 2926|  77.6M|}
typeobject.c:type_is_subtype_base_chain:
 2893|  2.08k|{
 2894|  2.09k|    do {
 2895|  2.09k|        if (a == b)
  ------------------
  |  Branch (2895:13): [True: 6, False: 2.09k]
  ------------------
 2896|      6|            return 1;
 2897|  2.09k|        a = a->tp_base;
 2898|  2.09k|    } while (a != NULL);
  ------------------
  |  Branch (2898:14): [True: 8, False: 2.08k]
  ------------------
 2899|       |
 2900|  2.08k|    return (b == &PyBaseObject_Type);
 2901|  2.08k|}
typeobject.c:maybe_call_special_no_args:
 3165|      4|{
 3166|      4|    PyThreadState *tstate = _PyThreadState_GET();
 3167|      4|    _PyCStackRef cref;
 3168|      4|    _PyThreadState_PushCStackRef(tstate, &cref);
 3169|       |
 3170|      4|    PyObject *res = NULL;
 3171|      4|    int unbound = lookup_maybe_method(self, attr, &cref.ref);
 3172|      4|    PyObject *func = PyStackRef_AsPyObjectBorrow(cref.ref);
 3173|      4|    if (attr_is_none != NULL) {
  ------------------
  |  Branch (3173:9): [True: 4, False: 0]
  ------------------
 3174|      4|        *attr_is_none = (func == Py_None);
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3175|      4|    }
 3176|      4|    if (func != NULL && (func != Py_None || attr_is_none == NULL)) {
  ------------------
  |  |  616|      8|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3176:9): [True: 4, False: 0]
  |  Branch (3176:26): [True: 4, False: 0]
  |  Branch (3176:45): [True: 0, False: 0]
  ------------------
 3177|      4|        res = call_unbound_noarg(unbound, func, self);
 3178|      4|    }
 3179|      4|    _PyThreadState_PopCStackRef(tstate, &cref);
 3180|      4|    return res;
 3181|      4|}
typeobject.c:lookup_maybe_method:
 3034|  2.21k|{
 3035|  2.21k|    return lookup_method_ex(self, attr, out, 0);
 3036|  2.21k|}
typeobject.c:lookup_method_ex:
 3000|  20.6M|{
 3001|  20.6M|    _PyType_LookupStackRefAndVersion(Py_TYPE(self), attr, out);
  ------------------
  |  |  213|  20.6M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  20.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3002|  20.6M|    if (PyStackRef_IsNull(*out)) {
  ------------------
  |  |  482|  20.6M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  20.6M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  20.6M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 20.6M]
  |  |  ------------------
  ------------------
 3003|      0|        if (raise_attribute_error) {
  ------------------
  |  Branch (3003:13): [True: 0, False: 0]
  ------------------
 3004|      0|            PyErr_SetObject(PyExc_AttributeError, attr);
 3005|      0|        }
 3006|      0|        return -1;
 3007|      0|    }
 3008|       |
 3009|  20.6M|    PyObject *value = PyStackRef_AsPyObjectBorrow(*out);
 3010|  20.6M|    if (_PyType_HasFeature(Py_TYPE(value), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  213|  20.6M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  20.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (_PyType_HasFeature(Py_TYPE(value), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  534|  20.6M|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (3010:9): [True: 20.6M, False: 0]
  ------------------
 3011|       |        /* Avoid temporary PyMethodObject */
 3012|  20.6M|        return 1;
 3013|  20.6M|    }
 3014|       |
 3015|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3016|      0|    if (f != NULL) {
  ------------------
  |  Branch (3016:9): [True: 0, False: 0]
  ------------------
 3017|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3018|      0|        PyStackRef_CLEAR(*out);
  ------------------
  |  |  732|      0|    do { \
  |  |  733|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3019|      0|        if (value == NULL) {
  ------------------
  |  Branch (3019:13): [True: 0, False: 0]
  ------------------
 3020|      0|            if (!raise_attribute_error &&
  ------------------
  |  Branch (3020:17): [True: 0, False: 0]
  ------------------
 3021|      0|                PyErr_ExceptionMatches(PyExc_AttributeError))
  ------------------
  |  Branch (3021:17): [True: 0, False: 0]
  ------------------
 3022|      0|            {
 3023|      0|                PyErr_Clear();
 3024|      0|            }
 3025|      0|            return -1;
 3026|      0|        }
 3027|      0|        *out = PyStackRef_FromPyObjectSteal(value);
 3028|      0|    }
 3029|      0|    return 0;
 3030|      0|}
typeobject.c:call_unbound_noarg:
 3062|     89|{
 3063|     89|    if (unbound) {
  ------------------
  |  Branch (3063:9): [True: 89, False: 0]
  ------------------
 3064|     89|        return PyObject_CallOneArg(func, self);
 3065|     89|    }
 3066|      0|    else {
 3067|      0|        return _PyObject_CallNoArgs(func);
 3068|      0|    }
 3069|     89|}
typeobject.c:maybe_call_special_one_arg:
 3186|      6|{
 3187|      6|    PyThreadState *tstate = _PyThreadState_GET();
 3188|      6|    _PyCStackRef cref;
 3189|      6|    _PyThreadState_PushCStackRef(tstate, &cref);
 3190|       |
 3191|      6|    PyObject *res = NULL;
 3192|      6|    int unbound = lookup_maybe_method(self, attr, &cref.ref);
 3193|      6|    PyObject *func = PyStackRef_AsPyObjectBorrow(cref.ref);
 3194|      6|    if (attr_is_none != NULL) {
  ------------------
  |  Branch (3194:9): [True: 6, False: 0]
  ------------------
 3195|      6|        *attr_is_none = (func == Py_None);
  ------------------
  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3196|      6|    }
 3197|      6|    if (func != NULL && (func != Py_None || attr_is_none == NULL)) {
  ------------------
  |  |  616|     12|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3197:9): [True: 6, False: 0]
  |  Branch (3197:26): [True: 6, False: 0]
  |  Branch (3197:45): [True: 0, False: 0]
  ------------------
 3198|      6|        PyObject *args[] = { self, arg };
 3199|      6|        res = vectorcall_unbound(tstate, unbound, func, args, 2);
 3200|      6|    }
 3201|      6|    _PyThreadState_PopCStackRef(tstate, &cref);
 3202|      6|    return res;
 3203|      6|}
typeobject.c:vectorcall_unbound:
 3048|  20.1M|{
 3049|  20.1M|    size_t nargsf = nargs;
 3050|  20.1M|    if (!unbound) {
  ------------------
  |  Branch (3050:9): [True: 0, False: 20.1M]
  ------------------
 3051|       |        /* Skip self argument, freeing up args[0] to use for
 3052|       |         * PY_VECTORCALL_ARGUMENTS_OFFSET */
 3053|      0|        args++;
 3054|      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))
  |  |  ------------------
  ------------------
 3055|      0|    }
 3056|  20.1M|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_SLOT, func);
  ------------------
  |  |   80|  20.1M|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
 3057|       |    return _PyObject_VectorcallTstate(tstate, func, args, nargsf, NULL);
 3058|  20.1M|}
typeobject.c:type_from_slots_or_spec:
 5251|    118|{
 5252|       |    /* Invariant: A non-NULL value in one of these means this function holds
 5253|       |     * a strong reference or owns allocated memory.
 5254|       |     * These get decrefed/freed/returned at the end, on both success and error.
 5255|       |     */
 5256|    118|    PyHeapTypeObject *res = NULL;
 5257|    118|    PyTypeObject *type;
 5258|    118|    PyObject *bases = NULL;
 5259|    118|    char *tp_doc = NULL;
 5260|    118|    PyObject *ht_name = NULL;
 5261|    118|    char *_ht_tpname = NULL;
 5262|       |
 5263|    118|    int r;
 5264|       |
 5265|       |    /* First pass of slots */
 5266|       |
 5267|    118|    Py_ssize_t nmembers = 0;
 5268|    118|    const PyMemberDef *weaklistoffset_member = NULL;
 5269|    118|    const PyMemberDef *dictoffset_member = NULL;
 5270|    118|    const PyMemberDef *vectorcalloffset_member = NULL;
 5271|    118|    Py_ssize_t basicsize = 0;
 5272|    118|    Py_ssize_t extra_basicsize = 0;
 5273|    118|    Py_ssize_t itemsize = 0;
 5274|    118|    int flags = 0;
 5275|    118|    void *token = NULL;
 5276|       |
 5277|    118|    bool have_relative_members = false;
 5278|    118|    Py_ssize_t max_relative_offset = 0;
 5279|       |
 5280|    118|    PyObject *bases_slot = NULL; /* borrowed from the slots */
 5281|       |
 5282|    118|    _PySlotIterator it;
 5283|       |
 5284|    118|    if (spec) {
  ------------------
  |  Branch (5284:9): [True: 118, False: 0]
  ------------------
 5285|    118|        assert(!slots);
  ------------------
  |  Branch (5285:9): [True: 118, False: 0]
  ------------------
 5286|    118|        if (spec->basicsize > 0) {
  ------------------
  |  Branch (5286:13): [True: 112, False: 6]
  ------------------
 5287|    112|            basicsize = spec->basicsize;
 5288|    112|        }
 5289|    118|        if (spec->basicsize < 0) {
  ------------------
  |  Branch (5289:13): [True: 0, False: 118]
  ------------------
 5290|      0|            extra_basicsize = -spec->basicsize;
 5291|      0|        }
 5292|    118|        itemsize = spec->itemsize;
 5293|    118|        flags = spec->flags;
 5294|    118|        _PySlotIterator_InitLegacy(&it, spec->slots, _PySlot_KIND_TYPE);
 5295|    118|        it.name = spec->name;
 5296|    118|    }
 5297|      0|    else {
 5298|      0|        assert(!spec);
  ------------------
  |  Branch (5298:9): [True: 0, False: 0]
  ------------------
 5299|      0|        assert(!metaclass);
  ------------------
  |  Branch (5299:9): [True: 0, False: 0]
  ------------------
 5300|      0|        assert(!module);
  ------------------
  |  Branch (5300:9): [True: 0, False: 0]
  ------------------
 5301|      0|        assert(!bases_in);
  ------------------
  |  Branch (5301:9): [True: 0, False: 0]
  ------------------
 5302|      0|        _PySlotIterator_Init(&it, slots, _PySlot_KIND_TYPE);
 5303|      0|    }
 5304|       |
 5305|    118|    #define NO_SPEC                                         \
 5306|    118|        if (spec) {                                         \
 5307|    118|            PyErr_Format(                                   \
 5308|    118|                PyExc_SystemError,                          \
 5309|    118|                "%s must not be used with PyType_Spec",     \
 5310|    118|                _PySlot_GetName(it.current.sl_id));         \
 5311|    118|            goto finally;                                   \
 5312|    118|        }                                                   \
 5313|       |        /////////////////////////////////////////////////////
 5314|       |
 5315|  1.04k|    while (_PySlotIterator_Next(&it)) {
  ------------------
  |  Branch (5315:12): [True: 930, False: 118]
  ------------------
 5316|    930|        switch (it.current.sl_id) {
  ------------------
  |  Branch (5316:17): [True: 165, False: 765]
  ------------------
 5317|      0|        case Py_slot_invalid:
  ------------------
  |  |   25|      0|#define Py_slot_invalid 0xffff
  ------------------
  |  Branch (5317:9): [True: 0, False: 930]
  ------------------
 5318|      0|            goto finally;
 5319|      0|        case Py_tp_name:
  ------------------
  |  |  103|      0|#define Py_tp_name 95
  ------------------
  |  Branch (5319:9): [True: 0, False: 930]
  ------------------
 5320|      0|            NO_SPEC;
  ------------------
  |  | 5306|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5306:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5307|      0|            PyErr_Format(                                   \
  |  | 5308|      0|                PyExc_SystemError,                          \
  |  | 5309|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5310|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5311|      0|            goto finally;                                   \
  |  | 5312|      0|        }                                                   \
  ------------------
 5321|      0|            it.name = it.current.sl_ptr;
 5322|      0|            break;
 5323|      0|        case Py_tp_metaclass:
  ------------------
  |  |  115|      0|#define Py_tp_metaclass 107
  ------------------
  |  Branch (5323:9): [True: 0, False: 930]
  ------------------
 5324|      0|            NO_SPEC;
  ------------------
  |  | 5306|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5306:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5307|      0|            PyErr_Format(                                   \
  |  | 5308|      0|                PyExc_SystemError,                          \
  |  | 5309|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5310|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5311|      0|            goto finally;                                   \
  |  | 5312|      0|        }                                                   \
  ------------------
 5325|      0|            metaclass = it.current.sl_ptr;
 5326|      0|            break;
 5327|      0|        case Py_tp_module:
  ------------------
  |  |  116|      0|#define Py_tp_module 108
  ------------------
  |  Branch (5327:9): [True: 0, False: 930]
  ------------------
 5328|      0|            NO_SPEC;
  ------------------
  |  | 5306|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5306:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5307|      0|            PyErr_Format(                                   \
  |  | 5308|      0|                PyExc_SystemError,                          \
  |  | 5309|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5310|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5311|      0|            goto finally;                                   \
  |  | 5312|      0|        }                                                   \
  ------------------
 5329|      0|            module = it.current.sl_ptr;
 5330|      0|            break;
 5331|      0|        case Py_tp_bases:
  ------------------
  |  |   57|      0|#define Py_tp_bases 49
  ------------------
  |  Branch (5331:9): [True: 0, False: 930]
  ------------------
 5332|      0|            bases_slot = it.current.sl_ptr;
 5333|      0|            break;
 5334|      0|        case Py_tp_base:
  ------------------
  |  |   56|      0|#define Py_tp_base 48
  ------------------
  |  Branch (5334:9): [True: 0, False: 930]
  ------------------
 5335|      0|            if (!_PySlotIterator_SawSlot(&it, Py_tp_bases)) {
  ------------------
  |  |   57|      0|#define Py_tp_bases 49
  ------------------
  |  Branch (5335:17): [True: 0, False: 0]
  ------------------
 5336|      0|                bases_slot = it.current.sl_ptr;
 5337|      0|            }
 5338|      0|            break;
 5339|      0|        case Py_tp_basicsize:
  ------------------
  |  |  104|      0|#define Py_tp_basicsize 96
  ------------------
  |  Branch (5339:9): [True: 0, False: 930]
  ------------------
 5340|      0|            NO_SPEC;
  ------------------
  |  | 5306|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5306:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5307|      0|            PyErr_Format(                                   \
  |  | 5308|      0|                PyExc_SystemError,                          \
  |  | 5309|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5310|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5311|      0|            goto finally;                                   \
  |  | 5312|      0|        }                                                   \
  ------------------
 5341|      0|            basicsize = it.current.sl_size;
 5342|      0|            if (basicsize <= 0) {
  ------------------
  |  Branch (5342:17): [True: 0, False: 0]
  ------------------
 5343|      0|                PyErr_SetString(
 5344|      0|                    PyExc_SystemError,
 5345|      0|                    "Py_tp_basicsize must be positive");
 5346|      0|                goto finally;
 5347|      0|            }
 5348|      0|            break;
 5349|      0|        case Py_tp_extra_basicsize:
  ------------------
  |  |  105|      0|#define Py_tp_extra_basicsize 97
  ------------------
  |  Branch (5349:9): [True: 0, False: 930]
  ------------------
 5350|      0|            NO_SPEC;
  ------------------
  |  | 5306|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5306:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5307|      0|            PyErr_Format(                                   \
  |  | 5308|      0|                PyExc_SystemError,                          \
  |  | 5309|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5310|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5311|      0|            goto finally;                                   \
  |  | 5312|      0|        }                                                   \
  ------------------
 5351|      0|            extra_basicsize = it.current.sl_size;
 5352|      0|            if (extra_basicsize <= 0) {
  ------------------
  |  Branch (5352:17): [True: 0, False: 0]
  ------------------
 5353|      0|                PyErr_SetString(
 5354|      0|                    PyExc_SystemError,
 5355|      0|                    "Py_tp_extra_basicsize must be positive");
 5356|      0|                goto finally;
 5357|      0|            }
 5358|      0|            break;
 5359|      0|        case Py_tp_itemsize:
  ------------------
  |  |  106|      0|#define Py_tp_itemsize 98
  ------------------
  |  Branch (5359:9): [True: 0, False: 930]
  ------------------
 5360|      0|            NO_SPEC;
  ------------------
  |  | 5306|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5306:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5307|      0|            PyErr_Format(                                   \
  |  | 5308|      0|                PyExc_SystemError,                          \
  |  | 5309|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5310|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5311|      0|            goto finally;                                   \
  |  | 5312|      0|        }                                                   \
  ------------------
 5361|      0|            itemsize = it.current.sl_size;
 5362|      0|            if (itemsize <= 0) {
  ------------------
  |  Branch (5362:17): [True: 0, False: 0]
  ------------------
 5363|      0|                PyErr_SetString(
 5364|      0|                    PyExc_SystemError,
 5365|      0|                    "Py_tp_itemsize must be positive");
 5366|      0|                goto finally;
 5367|      0|            }
 5368|      0|            break;
 5369|      0|        case Py_tp_flags:
  ------------------
  |  |  107|      0|#define Py_tp_flags 99
  ------------------
  |  Branch (5369:9): [True: 0, False: 930]
  ------------------
 5370|      0|            NO_SPEC;
  ------------------
  |  | 5306|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5306:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5307|      0|            PyErr_Format(                                   \
  |  | 5308|      0|                PyExc_SystemError,                          \
  |  | 5309|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5310|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5311|      0|            goto finally;                                   \
  |  | 5312|      0|        }                                                   \
  ------------------
 5371|      0|            flags = (int)it.current.sl_uint64;
 5372|      0|            break;
 5373|     67|        case Py_tp_members:
  ------------------
  |  |   80|     67|#define Py_tp_members 72
  ------------------
  |  Branch (5373:9): [True: 67, False: 863]
  ------------------
 5374|     67|            for (const PyMemberDef *memb = it.current.sl_ptr;
 5375|    332|                 memb->name != NULL;
  ------------------
  |  Branch (5375:18): [True: 265, False: 67]
  ------------------
 5376|    265|                 memb++)
 5377|    265|            {
 5378|    265|                nmembers++;
 5379|    265|                if (memb->flags & Py_RELATIVE_OFFSET) {
  ------------------
  |  |   86|    265|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
  |  Branch (5379:21): [True: 0, False: 265]
  ------------------
 5380|      0|                    if (memb->offset < 0) {
  ------------------
  |  Branch (5380:25): [True: 0, False: 0]
  ------------------
 5381|      0|                        PyErr_SetString(
 5382|      0|                            PyExc_SystemError,
 5383|      0|                            "Member offset must not be negative");
 5384|      0|                        goto finally;
 5385|      0|                    }
 5386|      0|                    have_relative_members = true;
 5387|      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]
  |  |  ------------------
  ------------------
 5388|      0|                                                 memb->offset);
 5389|      0|                }
 5390|    265|                if (strcmp(memb->name, "__weaklistoffset__") == 0) {
  ------------------
  |  Branch (5390:21): [True: 27, False: 238]
  ------------------
 5391|     27|                    weaklistoffset_member = memb;
 5392|     27|                }
 5393|    238|                else if (strcmp(memb->name, "__dictoffset__") == 0) {
  ------------------
  |  Branch (5393:26): [True: 20, False: 218]
  ------------------
 5394|     20|                    dictoffset_member = memb;
 5395|     20|                }
 5396|    218|                else if (strcmp(memb->name, "__vectorcalloffset__") == 0) {
  ------------------
  |  Branch (5396:26): [True: 4, False: 214]
  ------------------
 5397|      4|                    vectorcalloffset_member = memb;
 5398|      4|                }
 5399|    265|            }
 5400|     67|            break;
 5401|     67|        case Py_tp_token:
  ------------------
  |  |   91|      1|#define Py_tp_token 83
  ------------------
  |  Branch (5401:9): [True: 1, False: 929]
  ------------------
 5402|      1|            token = it.current.sl_ptr;
 5403|      1|            if (token == Py_TP_USE_SPEC) {
  ------------------
  |  |  365|      1|#define Py_TP_USE_SPEC NULL
  ------------------
  |  Branch (5403:17): [True: 1, False: 0]
  ------------------
 5404|      1|                if (!spec) {
  ------------------
  |  Branch (5404:21): [True: 0, False: 1]
  ------------------
 5405|      0|                    PyErr_SetString(
 5406|      0|                        PyExc_SystemError,
 5407|      0|                        "Py_tp_token: Py_TP_USE_SPEC (NULL) can only be "
 5408|      0|                        "used with PyType_Spec");
 5409|      0|                    goto finally;
 5410|      0|                }
 5411|      1|                token = spec;
 5412|      1|            }
 5413|      1|            break;
 5414|     97|        case Py_tp_doc:
  ------------------
  |  |   64|     97|#define Py_tp_doc 56
  ------------------
  |  Branch (5414:9): [True: 97, False: 833]
  ------------------
 5415|       |            /* For the docstring slot, which usually points to a static string
 5416|       |               literal, we need to make a copy */
 5417|     97|            if (it.current.sl_ptr == NULL) {
  ------------------
  |  Branch (5417:17): [True: 0, False: 97]
  ------------------
 5418|      0|                PyMem_Free(tp_doc);
 5419|      0|                tp_doc = NULL;
 5420|      0|            }
 5421|     97|            else {
 5422|     97|                size_t len = strlen(it.current.sl_ptr)+1;
 5423|     97|                tp_doc = PyMem_Malloc(len);
 5424|     97|                if (tp_doc == NULL) {
  ------------------
  |  Branch (5424:21): [True: 0, False: 97]
  ------------------
 5425|      0|                    PyErr_NoMemory();
 5426|      0|                    goto finally;
 5427|      0|                }
 5428|     97|                memcpy(tp_doc, it.current.sl_ptr, len);
 5429|     97|            }
 5430|     97|            break;
 5431|    930|        }
 5432|    930|    }
 5433|    118|    #undef NO_SPEC
 5434|       |
 5435|       |    /* Required slots & bad combinations */
 5436|       |
 5437|    118|    if (it.name == NULL) {
  ------------------
  |  Branch (5437:9): [True: 0, False: 118]
  ------------------
 5438|      0|        if (spec) {
  ------------------
  |  Branch (5438:13): [True: 0, False: 0]
  ------------------
 5439|      0|            PyErr_SetString(PyExc_SystemError,
 5440|      0|                            "Type spec does not define the name field.");
 5441|      0|        }
 5442|      0|        else {
 5443|      0|            PyErr_SetString(PyExc_SystemError,
 5444|      0|                            "Py_tp_name slot is required.");
 5445|      0|        }
 5446|      0|        goto finally;
 5447|      0|    }
 5448|       |
 5449|    118|    if (_PySlotIterator_SawSlot(&it, Py_tp_basicsize)
  ------------------
  |  |  104|    118|#define Py_tp_basicsize 96
  ------------------
  |  Branch (5449:9): [True: 0, False: 118]
  ------------------
 5450|      0|        && _PySlotIterator_SawSlot(&it, Py_tp_extra_basicsize))
  ------------------
  |  |  105|      0|#define Py_tp_extra_basicsize 97
  ------------------
  |  Branch (5450:12): [True: 0, False: 0]
  ------------------
 5451|      0|    {
 5452|      0|        PyErr_Format(
 5453|      0|            PyExc_SystemError,
 5454|      0|            "type %s: Py_tp_basicsize and Py_tp_extra_basicsize are "
 5455|      0|            "mutually exclusive",
 5456|      0|            it.name);
 5457|      0|        goto finally;
 5458|      0|    }
 5459|       |
 5460|    118|    if (have_relative_members) {
  ------------------
  |  Branch (5460:9): [True: 0, False: 118]
  ------------------
 5461|      0|        if (!extra_basicsize) {
  ------------------
  |  Branch (5461:13): [True: 0, False: 0]
  ------------------
 5462|      0|            PyErr_SetString(
 5463|      0|                PyExc_SystemError,
 5464|      0|                "With Py_RELATIVE_OFFSET, basicsize must be extended");
 5465|      0|            goto finally;
 5466|      0|        }
 5467|      0|        if (max_relative_offset >= extra_basicsize) {
  ------------------
  |  Branch (5467:13): [True: 0, False: 0]
  ------------------
 5468|      0|            PyErr_SetString(
 5469|      0|                PyExc_SystemError,
 5470|      0|                "Member offset out of range (0..extra_basicsize)");
 5471|      0|            goto finally;
 5472|      0|        }
 5473|      0|    }
 5474|       |
 5475|       |    /* Prepare the type name and qualname */
 5476|       |
 5477|    118|    assert(it.name);
  ------------------
  |  Branch (5477:5): [True: 118, False: 0]
  ------------------
 5478|    118|    const char *s = strrchr(it.name, '.');
 5479|    118|    if (s == NULL) {
  ------------------
  |  Branch (5479:9): [True: 0, False: 118]
  ------------------
 5480|      0|        s = it.name;
 5481|      0|    }
 5482|    118|    else {
 5483|    118|        s++;
 5484|    118|    }
 5485|       |
 5486|    118|    ht_name = PyUnicode_FromString(s);
 5487|    118|    if (!ht_name) {
  ------------------
  |  Branch (5487:9): [True: 0, False: 118]
  ------------------
 5488|      0|        goto finally;
 5489|      0|    }
 5490|       |
 5491|       |    /* Copy the name to a buffer we own.
 5492|       |    *
 5493|       |    * Unfortunately, we can't use tp_name directly (with some
 5494|       |    * flag saying that it should be deallocated with the type),
 5495|       |    * because tp_name is public API and may be set independently
 5496|       |    * of any such flag.
 5497|       |    * So, we use a separate buffer, _ht_tpname, that's always
 5498|       |    * deallocated with the type (if it's non-NULL).
 5499|       |    */
 5500|    118|    Py_ssize_t name_buf_len = strlen(it.name) + 1;
 5501|    118|    _ht_tpname = PyMem_Malloc(name_buf_len);
 5502|    118|    if (_ht_tpname == NULL) {
  ------------------
  |  Branch (5502:9): [True: 0, False: 118]
  ------------------
 5503|      0|        PyErr_NoMemory();
 5504|      0|        goto finally;
 5505|      0|    }
 5506|    118|    memcpy(_ht_tpname, it.name, name_buf_len);
 5507|       |
 5508|       |    /* Get a tuple of bases.
 5509|       |     * bases is a strong reference (unlike bases_in).
 5510|       |     * (This is convoluted for backwards compatibility -- preserving priority
 5511|       |     * of the various ways to specify bases)
 5512|       |     */
 5513|    118|    if (!bases_in) {
  ------------------
  |  Branch (5513:9): [True: 77, False: 41]
  ------------------
 5514|     77|        bases_in = bases_slot;
 5515|     77|    }
 5516|    118|    if (bases_in) {
  ------------------
  |  Branch (5516:9): [True: 41, False: 77]
  ------------------
 5517|     41|        if (PyTuple_Check(bases_in)) {
  ------------------
  |  |   27|     41|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     41|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 41]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5518|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5519|      0|        }
 5520|     41|        else {
 5521|     41|            bases = PyTuple_Pack(1, bases_in);
 5522|     41|        }
 5523|     41|    }
 5524|     77|    else {
 5525|     77|        bases = PyTuple_Pack(1, &PyBaseObject_Type);
 5526|     77|    }
 5527|    118|    if (!bases) {
  ------------------
  |  Branch (5527:9): [True: 0, False: 118]
  ------------------
 5528|      0|        goto finally;
 5529|      0|    }
 5530|       |
 5531|       |    /* If this is an immutable type, check if all bases are also immutable.
 5532|       |     * (This isn't necessary for static types: those can't have heap bases,
 5533|       |     * and only heap types can be mutable.)
 5534|       |     */
 5535|    118|    if (flags & Py_TPFLAGS_IMMUTABLETYPE) {
  ------------------
  |  |  500|    118|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (5535:9): [True: 96, False: 22]
  ------------------
 5536|     96|        if (check_immutable_bases(it.name, bases, 0) < 0) {
  ------------------
  |  Branch (5536:13): [True: 0, False: 96]
  ------------------
 5537|      0|            goto finally;
 5538|      0|        }
 5539|     96|    }
 5540|       |
 5541|       |    /* Calculate best base, and check that all bases are type objects */
 5542|    118|    PyTypeObject *base = find_best_base(bases);  // borrowed ref
 5543|    118|    if (base == NULL) {
  ------------------
  |  Branch (5543:9): [True: 0, False: 118]
  ------------------
 5544|      0|        goto finally;
 5545|      0|    }
 5546|       |
 5547|       |    /* Calculate the metaclass */
 5548|       |
 5549|    118|    if (!metaclass) {
  ------------------
  |  Branch (5549:9): [True: 118, False: 0]
  ------------------
 5550|    118|        metaclass = &PyType_Type;
 5551|    118|    }
 5552|    118|    metaclass = _PyType_CalculateMetaclass(metaclass, bases);
 5553|    118|    if (metaclass == NULL) {
  ------------------
  |  Branch (5553:9): [True: 0, False: 118]
  ------------------
 5554|      0|        goto finally;
 5555|      0|    }
 5556|    118|    if (!PyType_Check(metaclass)) {
  ------------------
  |  |  766|    118|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    118|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    118|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5556:9): [True: 0, False: 118]
  ------------------
 5557|      0|        PyErr_Format(PyExc_TypeError,
 5558|      0|                     "Metaclass '%R' is not a subclass of 'type'.",
 5559|      0|                     metaclass);
 5560|      0|        goto finally;
 5561|      0|    }
 5562|    118|    if (metaclass->tp_new && metaclass->tp_new != PyType_Type.tp_new) {
  ------------------
  |  Branch (5562:9): [True: 118, False: 0]
  |  Branch (5562:30): [True: 0, False: 118]
  ------------------
 5563|      0|        PyErr_SetString(
 5564|      0|            PyExc_TypeError,
 5565|      0|            "Metaclasses with custom tp_new are not supported.");
 5566|      0|        goto finally;
 5567|      0|    }
 5568|       |
 5569|       |    // find_best_base() should check Py_TPFLAGS_BASETYPE & raise a proper
 5570|       |    // exception, here we just check its work
 5571|    118|    assert(_PyType_HasFeature(base, Py_TPFLAGS_BASETYPE));
  ------------------
  |  Branch (5571:5): [True: 118, False: 0]
  ------------------
 5572|       |
 5573|       |    /* Calculate sizes */
 5574|       |
 5575|    118|    Py_ssize_t type_data_offset = basicsize;
 5576|    118|    if (extra_basicsize) {
  ------------------
  |  Branch (5576:9): [True: 0, False: 118]
  ------------------
 5577|       |        /* Extend */
 5578|      0|        assert(basicsize == 0);
  ------------------
  |  Branch (5578:9): [True: 0, False: 0]
  ------------------
 5579|      0|        type_data_offset = _align_up(base->tp_basicsize);
 5580|      0|        basicsize = type_data_offset + _align_up(extra_basicsize);
 5581|       |
 5582|       |        /* Inheriting variable-sized types is limited */
 5583|      0|        if (base->tp_itemsize
  ------------------
  |  Branch (5583:13): [True: 0, False: 0]
  ------------------
 5584|      0|            && !((base->tp_flags | flags) & Py_TPFLAGS_ITEMS_AT_END))
  ------------------
  |  |  548|      0|#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
  ------------------
  |  Branch (5584:16): [True: 0, False: 0]
  ------------------
 5585|      0|        {
 5586|      0|            PyErr_SetString(
 5587|      0|                PyExc_SystemError,
 5588|      0|                "Cannot extend variable-size class without Py_TPFLAGS_ITEMS_AT_END.");
 5589|      0|            goto finally;
 5590|      0|        }
 5591|      0|    }
 5592|    118|    if (basicsize == 0) {
  ------------------
  |  Branch (5592:9): [True: 6, False: 112]
  ------------------
 5593|       |        /* Inherit */
 5594|      6|        basicsize = base->tp_basicsize;
 5595|      6|    }
 5596|       |
 5597|       |    /* Compute special offsets */
 5598|       |
 5599|    118|    Py_ssize_t weaklistoffset = 0;
 5600|    118|    if (special_offset_from_member(weaklistoffset_member, type_data_offset,
  ------------------
  |  Branch (5600:9): [True: 0, False: 118]
  ------------------
 5601|    118|                                  &weaklistoffset) < 0) {
 5602|      0|        goto finally;
 5603|      0|    }
 5604|    118|    Py_ssize_t dictoffset = 0;
 5605|    118|    if (special_offset_from_member(dictoffset_member, type_data_offset,
  ------------------
  |  Branch (5605:9): [True: 0, False: 118]
  ------------------
 5606|    118|                                  &dictoffset) < 0) {
 5607|      0|        goto finally;
 5608|      0|    }
 5609|    118|    Py_ssize_t vectorcalloffset = 0;
 5610|    118|    if (special_offset_from_member(vectorcalloffset_member, type_data_offset,
  ------------------
  |  Branch (5610:9): [True: 0, False: 118]
  ------------------
 5611|    118|                                  &vectorcalloffset) < 0) {
 5612|      0|        goto finally;
 5613|      0|    }
 5614|       |
 5615|       |    /* Allocate the new type
 5616|       |     *
 5617|       |     * Between here and PyType_Ready, we should limit:
 5618|       |     * - calls to Python code
 5619|       |     * - raising exceptions
 5620|       |     * - memory allocations
 5621|       |     */
 5622|       |
 5623|    118|    res = (PyHeapTypeObject*)metaclass->tp_alloc(metaclass, nmembers);
 5624|    118|    if (res == NULL) {
  ------------------
  |  Branch (5624:9): [True: 0, False: 118]
  ------------------
 5625|      0|        goto finally;
 5626|      0|    }
 5627|       |
 5628|    118|    type = &res->ht_type;
 5629|       |    /* The flags must be initialized early, before the GC traverses us */
 5630|    118|    type_set_flags(type, flags | Py_TPFLAGS_HEAPTYPE);
  ------------------
  |  |  503|    118|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
 5631|       |
 5632|    118|    res->ht_module = Py_XNewRef(module);
  ------------------
  |  |  551|    118|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    118|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    118|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5633|       |
 5634|       |    /* Initialize essential fields */
 5635|       |
 5636|    118|    type->tp_as_async = &res->as_async;
 5637|    118|    type->tp_as_number = &res->as_number;
 5638|    118|    type->tp_as_sequence = &res->as_sequence;
 5639|    118|    type->tp_as_mapping = &res->as_mapping;
 5640|    118|    type->tp_as_buffer = &res->as_buffer;
 5641|       |
 5642|       |    /* Set slots we have prepared */
 5643|       |
 5644|    118|    type->tp_base = (PyTypeObject *)Py_NewRef(base);
  ------------------
  |  |  550|    118|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    118|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    118|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5645|    118|    set_tp_bases(type, bases, 1);
 5646|    118|    bases = NULL;  // We give our reference to bases to the type
 5647|       |
 5648|    118|    type->tp_doc = tp_doc;
 5649|    118|    tp_doc = NULL;  // Give ownership of the allocated memory to the type
 5650|       |
 5651|    118|    res->ht_qualname = Py_NewRef(ht_name);
  ------------------
  |  |  550|    118|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    118|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    118|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5652|    118|    res->ht_name = ht_name;
 5653|    118|    ht_name = NULL;  // Give our reference to the type
 5654|       |
 5655|    118|    type->tp_name = _ht_tpname;
 5656|    118|    res->_ht_tpname = _ht_tpname;
 5657|    118|    _ht_tpname = NULL;  // Give ownership to the type
 5658|       |
 5659|    118|    res->ht_token = token;
 5660|       |
 5661|       |    /* Copy the sizes */
 5662|       |
 5663|    118|    type->tp_basicsize = basicsize;
 5664|    118|    type->tp_itemsize = itemsize;
 5665|       |
 5666|       |    /* Second pass of slots: copy most of them into the type */
 5667|       |
 5668|    118|    _PySlotIterator_Rewind(&it, spec ? (void*)spec->slots : (void*)slots);
  ------------------
  |  Branch (5668:33): [True: 118, False: 0]
  ------------------
 5669|  1.04k|    while (_PySlotIterator_Next(&it)) {
  ------------------
  |  Branch (5669:12): [True: 930, False: 118]
  ------------------
 5670|    930|        switch (it.current.sl_id) {
 5671|      0|        case Py_slot_invalid:
  ------------------
  |  |   25|      0|#define Py_slot_invalid 0xffff
  ------------------
  |  Branch (5671:9): [True: 0, False: 930]
  ------------------
 5672|      0|            goto finally;
 5673|      0|        case Py_tp_base:
  ------------------
  |  |   56|      0|#define Py_tp_base 48
  ------------------
  |  Branch (5673:9): [True: 0, False: 930]
  ------------------
 5674|      0|        case Py_tp_bases:
  ------------------
  |  |   57|      0|#define Py_tp_bases 49
  ------------------
  |  Branch (5674:9): [True: 0, False: 930]
  ------------------
 5675|     97|        case Py_tp_doc:
  ------------------
  |  |   64|     97|#define Py_tp_doc 56
  ------------------
  |  Branch (5675:9): [True: 97, False: 833]
  ------------------
 5676|       |            /* Processed above */
 5677|     97|            break;
 5678|     67|        case Py_tp_members:
  ------------------
  |  |   80|     67|#define Py_tp_members 72
  ------------------
  |  Branch (5678:9): [True: 67, False: 863]
  ------------------
 5679|     67|            {
 5680|       |                /* Move the slots to the heap type itself */
 5681|     67|                size_t len = Py_TYPE(type)->tp_itemsize * nmembers;
  ------------------
  |  |  213|     67|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     67|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     67|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5682|     67|                memcpy(_PyHeapType_GET_MEMBERS(res), it.current.sl_ptr, len);
 5683|     67|                type->tp_members = _PyHeapType_GET_MEMBERS(res);
 5684|     67|                PyMemberDef *memb;
 5685|     67|                Py_ssize_t i;
 5686|     67|                for (memb = _PyHeapType_GET_MEMBERS(res), i = nmembers;
 5687|    332|                     i > 0; ++memb, --i)
  ------------------
  |  Branch (5687:22): [True: 265, False: 67]
  ------------------
 5688|    265|                {
 5689|    265|                    if (memb->flags & Py_RELATIVE_OFFSET) {
  ------------------
  |  |   86|    265|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
  |  Branch (5689:25): [True: 0, False: 265]
  ------------------
 5690|      0|                        memb->flags &= ~Py_RELATIVE_OFFSET;
  ------------------
  |  |   86|      0|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
 5691|      0|                        memb->offset += type_data_offset;
 5692|      0|                    }
 5693|    265|                }
 5694|     67|            }
 5695|     67|            break;
 5696|    766|        default:
  ------------------
  |  Branch (5696:9): [True: 766, False: 164]
  ------------------
 5697|    766|            _PySlot_heaptype_apply_field_slot(res, it.current);
 5698|    766|            break;
 5699|    930|        }
 5700|    930|    }
 5701|    118|    if (type->tp_dealloc == NULL) {
  ------------------
  |  Branch (5701:9): [True: 6, False: 112]
  ------------------
 5702|       |        /* It's a heap type, so needs the heap types' dealloc.
 5703|       |           subtype_dealloc will call the base type's tp_dealloc, if
 5704|       |           necessary. */
 5705|      6|        type->tp_dealloc = subtype_dealloc;
 5706|      6|    }
 5707|       |
 5708|       |    /* Set up offsets */
 5709|       |
 5710|    118|    type->tp_vectorcall_offset = vectorcalloffset;
 5711|    118|    type->tp_weaklistoffset = weaklistoffset;
 5712|    118|    type->tp_dictoffset = dictoffset;
 5713|       |
 5714|       |#ifdef Py_GIL_DISABLED
 5715|       |    // Assign a unique id to enable per-thread refcounting
 5716|       |    res->unique_id = _PyObject_AssignUniqueId((PyObject *)res);
 5717|       |#endif
 5718|       |
 5719|       |    /* Ready the type (which includes inheritance).
 5720|       |     *
 5721|       |     * After this call we should generally only touch up what's
 5722|       |     * accessible to Python code, like __dict__.
 5723|       |     */
 5724|       |
 5725|    118|    if (PyType_Ready(type) < 0) {
  ------------------
  |  Branch (5725:9): [True: 0, False: 118]
  ------------------
 5726|      0|        goto finally;
 5727|      0|    }
 5728|       |
 5729|    118|    if (!check_basicsize_includes_size_and_offsets(type)) {
  ------------------
  |  Branch (5729:9): [True: 0, False: 118]
  ------------------
 5730|      0|        goto finally;
 5731|      0|    }
 5732|       |
 5733|    118|    PyObject *dict = lookup_tp_dict(type);
 5734|    118|    if (type->tp_doc) {
  ------------------
  |  Branch (5734:9): [True: 97, False: 21]
  ------------------
 5735|     97|        PyObject *__doc__ = PyUnicode_FromString(_PyType_DocWithoutSignature(type->tp_name, type->tp_doc));
 5736|     97|        if (!__doc__) {
  ------------------
  |  Branch (5736:13): [True: 0, False: 97]
  ------------------
 5737|      0|            goto finally;
 5738|      0|        }
 5739|     97|        r = PyDict_SetItem(dict, &_Py_ID(__doc__), __doc__);
  ------------------
  |  |  920|     97|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     97|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     97|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5740|     97|        Py_DECREF(__doc__);
  ------------------
  |  |  430|     97|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     97|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     97|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5741|     97|        if (r < 0) {
  ------------------
  |  Branch (5741:13): [True: 0, False: 97]
  ------------------
 5742|      0|            goto finally;
 5743|      0|        }
 5744|     97|    }
 5745|       |
 5746|    118|    if (weaklistoffset) {
  ------------------
  |  Branch (5746:9): [True: 27, False: 91]
  ------------------
 5747|     27|        if (PyDict_DelItem(dict, &_Py_ID(__weaklistoffset__)) < 0) {
  ------------------
  |  |  920|     27|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     27|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     27|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5747:13): [True: 0, False: 27]
  ------------------
 5748|      0|            goto finally;
 5749|      0|        }
 5750|     27|    }
 5751|    118|    if (dictoffset) {
  ------------------
  |  Branch (5751:9): [True: 20, False: 98]
  ------------------
 5752|     20|        if (PyDict_DelItem(dict, &_Py_ID(__dictoffset__)) < 0) {
  ------------------
  |  |  920|     20|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     20|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     20|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5752:13): [True: 0, False: 20]
  ------------------
 5753|      0|            goto finally;
 5754|      0|        }
 5755|     20|    }
 5756|       |
 5757|       |    /* Set type.__module__ */
 5758|    118|    r = PyDict_Contains(dict, &_Py_ID(__module__));
  ------------------
  |  |  920|    118|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    118|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    118|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5759|    118|    if (r < 0) {
  ------------------
  |  Branch (5759:9): [True: 0, False: 118]
  ------------------
 5760|      0|        goto finally;
 5761|      0|    }
 5762|    118|    if (r == 0) {
  ------------------
  |  Branch (5762:9): [True: 118, False: 0]
  ------------------
 5763|    118|        s = strrchr(it.name, '.');
 5764|    118|        if (s != NULL) {
  ------------------
  |  Branch (5764:13): [True: 118, False: 0]
  ------------------
 5765|    118|            PyObject *modname = PyUnicode_FromStringAndSize(
 5766|    118|                    it.name, (Py_ssize_t)(s - it.name));
 5767|    118|            if (modname == NULL) {
  ------------------
  |  Branch (5767:17): [True: 0, False: 118]
  ------------------
 5768|      0|                goto finally;
 5769|      0|            }
 5770|    118|            r = PyDict_SetItem(dict, &_Py_ID(__module__), modname);
  ------------------
  |  |  920|    118|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    118|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    118|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5771|    118|            Py_DECREF(modname);
  ------------------
  |  |  430|    118|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    118|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    118|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5772|    118|            if (r != 0) {
  ------------------
  |  Branch (5772:17): [True: 0, False: 118]
  ------------------
 5773|      0|                goto finally;
 5774|      0|            }
 5775|    118|        }
 5776|      0|        else {
 5777|      0|            if (PyErr_WarnFormat(PyExc_DeprecationWarning, 1,
  ------------------
  |  Branch (5777:17): [True: 0, False: 0]
  ------------------
 5778|      0|                    "builtin type %.200s has no __module__ attribute",
 5779|      0|                    it.name))
 5780|      0|                goto finally;
 5781|      0|        }
 5782|    118|    }
 5783|       |
 5784|    118|    assert(_PyType_CheckConsistency(type));
  ------------------
  |  Branch (5784:5): [True: 118, False: 0]
  ------------------
 5785|       |#if defined(Py_GIL_DISABLED) && defined(Py_DEBUG) && SIZEOF_VOID_P > 4
 5786|       |    // After this point, other threads can potentally use this type.
 5787|       |    ((PyObject*)type)->ob_flags |= _Py_TYPE_REVEALED_FLAG;
 5788|       |#endif
 5789|       |
 5790|    118|finally:
 5791|    118|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (5791:9): [True: 0, False: 118]
  ------------------
 5792|      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]
  |  |  ------------------
  ------------------
 5793|      0|    }
 5794|    118|    Py_XDECREF(bases);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5795|    118|    PyMem_Free(tp_doc);
 5796|    118|    Py_XDECREF(ht_name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5797|    118|    PyMem_Free(_ht_tpname);
 5798|    118|    return (PyObject*)res;
 5799|    118|}
typeobject.c:find_best_base:
 3708|    289|{
 3709|    289|    Py_ssize_t i, n;
 3710|    289|    PyTypeObject *base, *winner, *candidate;
 3711|       |
 3712|    289|    assert(PyTuple_Check(bases));
  ------------------
  |  Branch (3712:5): [True: 289, False: 0]
  ------------------
 3713|    289|    n = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|    289|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    289|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    289|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3714|    289|    assert(n > 0);
  ------------------
  |  Branch (3714:5): [True: 289, False: 0]
  ------------------
 3715|    289|    base = NULL;
 3716|    289|    winner = NULL;
 3717|    615|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (3717:17): [True: 326, False: 289]
  ------------------
 3718|    326|        PyObject *base_proto = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|    326|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    326|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    326|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3718:32): [True: 326, False: 0]
  ------------------
 3719|    326|        if (!PyType_Check(base_proto)) {
  ------------------
  |  |  766|    326|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    326|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    326|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3719:13): [True: 0, False: 326]
  ------------------
 3720|      0|            PyErr_Format(
 3721|      0|                PyExc_TypeError,
 3722|      0|                "bases must be types; got '%T'", base_proto);
 3723|      0|            return NULL;
 3724|      0|        }
 3725|    326|        PyTypeObject *base_i = (PyTypeObject *)base_proto;
 3726|       |
 3727|    326|        if (!_PyType_IsReady(base_i)) {
  ------------------
  |  Branch (3727:13): [True: 0, False: 326]
  ------------------
 3728|      0|            if (PyType_Ready(base_i) < 0)
  ------------------
  |  Branch (3728:17): [True: 0, False: 0]
  ------------------
 3729|      0|                return NULL;
 3730|      0|        }
 3731|    326|        if (!_PyType_HasFeature(base_i, Py_TPFLAGS_BASETYPE)) {
  ------------------
  |  |  506|    326|#define Py_TPFLAGS_BASETYPE (1UL << 10)
  ------------------
  |  Branch (3731:13): [True: 0, False: 326]
  ------------------
 3732|      0|            PyErr_Format(PyExc_TypeError,
 3733|      0|                         "type '%.100s' is not an acceptable base type",
 3734|      0|                         base_i->tp_name);
 3735|      0|            return NULL;
 3736|      0|        }
 3737|    326|        candidate = solid_base(base_i);
 3738|    326|        if (winner == NULL) {
  ------------------
  |  Branch (3738:13): [True: 289, False: 37]
  ------------------
 3739|    289|            winner = candidate;
 3740|    289|            base = base_i;
 3741|    289|        }
 3742|     37|        else if (PyType_IsSubtype(winner, candidate))
  ------------------
  |  Branch (3742:18): [True: 37, False: 0]
  ------------------
 3743|     37|            ;
 3744|      0|        else if (PyType_IsSubtype(candidate, winner)) {
  ------------------
  |  Branch (3744:18): [True: 0, False: 0]
  ------------------
 3745|      0|            winner = candidate;
 3746|      0|            base = base_i;
 3747|      0|        }
 3748|      0|        else {
 3749|      0|            PyErr_SetString(
 3750|      0|                PyExc_TypeError,
 3751|      0|                "multiple bases have "
 3752|      0|                "instance lay-out conflict");
 3753|      0|            return NULL;
 3754|      0|        }
 3755|    326|    }
 3756|    289|    assert (base != NULL);
  ------------------
  |  Branch (3756:5): [True: 289, False: 0]
  ------------------
 3757|       |
 3758|    289|    return base;
 3759|    289|}
typeobject.c:solid_base:
 3772|  2.06k|{
 3773|  2.06k|    PyTypeObject *base;
 3774|       |
 3775|  2.06k|    if (type->tp_base) {
  ------------------
  |  Branch (3775:9): [True: 1.24k, False: 813]
  ------------------
 3776|  1.24k|        base = solid_base(type->tp_base);
 3777|  1.24k|    }
 3778|    813|    else {
 3779|    813|        base = &PyBaseObject_Type;
 3780|    813|    }
 3781|  2.06k|    if (shape_differs(type, base)) {
  ------------------
  |  Branch (3781:9): [True: 212, False: 1.84k]
  ------------------
 3782|    212|        return type;
 3783|    212|    }
 3784|  1.84k|    else {
 3785|  1.84k|        return base;
 3786|  1.84k|    }
 3787|  2.06k|}
typeobject.c:shape_differs:
 3763|  2.06k|{
 3764|  2.06k|    return (
 3765|  2.06k|        t1->tp_basicsize != t2->tp_basicsize ||
  ------------------
  |  Branch (3765:9): [True: 212, False: 1.84k]
  ------------------
 3766|  1.84k|        t1->tp_itemsize != t2->tp_itemsize
  ------------------
  |  Branch (3766:9): [True: 0, False: 1.84k]
  ------------------
 3767|  2.06k|    );
 3768|  2.06k|}
typeobject.c:special_offset_from_member:
 5219|    354|{
 5220|    354|    if (memb == NULL) {
  ------------------
  |  Branch (5220:9): [True: 303, False: 51]
  ------------------
 5221|    303|        *dest = 0;
 5222|    303|        return 0;
 5223|    303|    }
 5224|     51|    if (memb->type != Py_T_PYSSIZET) {
  ------------------
  |  |   79|     51|#define Py_T_PYSSIZET  19      /* Py_ssize_t */
  ------------------
  |  Branch (5224:9): [True: 0, False: 51]
  ------------------
 5225|      0|        PyErr_Format(
 5226|      0|            PyExc_SystemError,
 5227|      0|            "type of %s must be Py_T_PYSSIZET",
 5228|      0|            memb->name);
 5229|      0|        return -1;
 5230|      0|    }
 5231|     51|    if (memb->flags == Py_READONLY) {
  ------------------
  |  |   83|     51|#define Py_READONLY            (1 << 0)
  ------------------
  |  Branch (5231:9): [True: 51, False: 0]
  ------------------
 5232|     51|        *dest = memb->offset;
 5233|     51|        return 0;
 5234|     51|    }
 5235|      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 (5235:14): [True: 0, False: 0]
  ------------------
 5236|      0|        *dest = memb->offset + type_data_offset;
 5237|      0|        return 0;
 5238|      0|    }
 5239|      0|    PyErr_Format(
 5240|      0|        PyExc_SystemError,
 5241|      0|        "flags for %s must be Py_READONLY or (Py_READONLY | Py_RELATIVE_OFFSET)",
 5242|      0|        memb->name);
 5243|      0|    return -1;
 5244|     51|}
typeobject.c:type_set_flags:
  456|  6.55k|{
  457|  6.55k|    ASSERT_WORLD_STOPPED_OR_NEW_TYPE(tp);
  458|  6.55k|    tp->tp_flags = flags;
  459|  6.55k|}
typeobject.c:set_tp_bases:
  600|    800|{
  601|    800|    assert(PyTuple_Check(bases));
  ------------------
  |  Branch (601:5): [True: 800, False: 0]
  ------------------
  602|    800|    ASSERT_NEW_TYPE_OR_LOCKED(self);
  603|    800|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|    800|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (603:9): [True: 414, False: 386]
  ------------------
  604|       |        // XXX tp_bases can probably be statically allocated for each
  605|       |        // static builtin type.
  606|    414|        assert(PyTuple_CheckExact(bases));
  ------------------
  |  Branch (606:9): [True: 414, False: 0]
  ------------------
  607|    414|        assert(initial);
  ------------------
  |  Branch (607:9): [True: 414, False: 0]
  ------------------
  608|    414|        assert(self->tp_bases == NULL);
  ------------------
  |  Branch (608:9): [True: 414, False: 0]
  ------------------
  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);
  ------------------
  |  Branch (610:13): [True: 2, False: 0]
  ------------------
  611|      2|        }
  612|    412|        else {
  613|    412|            assert(PyTuple_GET_SIZE(bases) == 1);
  ------------------
  |  Branch (613:13): [True: 412, False: 0]
  ------------------
  614|    412|            assert(PyTuple_GET_ITEM(bases, 0) == (PyObject *)self->tp_base);
  ------------------
  |  Branch (614:13): [True: 412, False: 0]
  |  Branch (614:13): [True: 412, False: 0]
  ------------------
  615|    412|            assert(self->tp_base->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN);
  ------------------
  |  Branch (615:13): [True: 412, False: 0]
  ------------------
  616|    412|            assert(_Py_IsImmortal(self->tp_base));
  ------------------
  |  Branch (616:13): [True: 412, False: 0]
  ------------------
  617|    412|        }
  618|    414|        _Py_SetImmortal(bases);
  619|    414|    }
  620|    800|    self->tp_bases = bases;
  621|    800|}
typeobject.c:_PyHeapType_GET_MEMBERS:
 2580|  2.12k|{
 2581|  2.12k|    return PyObject_GetItemData((PyObject *)type);
 2582|  2.12k|}
typeobject.c:subtype_dealloc:
 2720|  6.92M|{
 2721|  6.92M|    PyTypeObject *type, *base;
 2722|  6.92M|    destructor basedealloc;
 2723|  6.92M|    int has_finalizer;
 2724|       |
 2725|       |    /* Extract the type; we expect it to be a heap type */
 2726|  6.92M|    type = Py_TYPE(self);
  ------------------
  |  |  213|  6.92M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.92M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.92M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2727|  6.92M|    _PyObject_ASSERT((PyObject *)type, type->tp_flags & Py_TPFLAGS_HEAPTYPE);
  ------------------
  |  |  423|  6.92M|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|  6.92M|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  414|  6.92M|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (414:6): [True: 6.92M, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  415|  6.92M|      ? (void)(0) \
  |  |  |  |  |  |  416|  6.92M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2728|       |
 2729|       |    /* Test whether the type has GC exactly once */
 2730|       |
 2731|  6.92M|    if (!_PyType_IS_GC(type)) {
  ------------------
  |  |  822|  6.92M|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  6.92M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  ------------------
  |  Branch (2731:9): [True: 0, False: 6.92M]
  ------------------
 2732|       |        /* A non GC dynamic type allows certain simplifications:
 2733|       |           there's no need to call clear_slots(), or DECREF the dict,
 2734|       |           or clear weakrefs. */
 2735|       |
 2736|       |        /* Maybe call finalizer; exit early if resurrected */
 2737|      0|        if (type->tp_finalize) {
  ------------------
  |  Branch (2737:13): [True: 0, False: 0]
  ------------------
 2738|      0|            if (PyObject_CallFinalizerFromDealloc(self) < 0)
  ------------------
  |  Branch (2738:17): [True: 0, False: 0]
  ------------------
 2739|      0|                return;
 2740|      0|        }
 2741|      0|        if (type->tp_del) {
  ------------------
  |  Branch (2741:13): [True: 0, False: 0]
  ------------------
 2742|      0|            type->tp_del(self);
 2743|      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 (2743:17): [True: 0, False: 0]
  ------------------
 2744|      0|                return;
 2745|      0|            }
 2746|      0|        }
 2747|       |
 2748|       |        /* Find the nearest base with a different tp_dealloc */
 2749|      0|        base = type;
 2750|      0|        while ((basedealloc = base->tp_dealloc) == subtype_dealloc) {
  ------------------
  |  Branch (2750:16): [True: 0, False: 0]
  ------------------
 2751|      0|            base = base->tp_base;
 2752|      0|            assert(base);
  ------------------
  |  Branch (2752:13): [True: 0, False: 0]
  ------------------
 2753|      0|        }
 2754|       |
 2755|       |        /* Extract the type again; tp_del may have changed it */
 2756|      0|        type = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2757|       |
 2758|       |        // Don't read type memory after calling basedealloc() since basedealloc()
 2759|       |        // can deallocate the type and free its memory.
 2760|      0|        int type_needs_decref = (type->tp_flags & Py_TPFLAGS_HEAPTYPE
  ------------------
  |  |  503|      0|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2760:34): [True: 0, False: 0]
  ------------------
 2761|      0|                                 && !(base->tp_flags & Py_TPFLAGS_HEAPTYPE));
  ------------------
  |  |  503|      0|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2761:37): [True: 0, False: 0]
  ------------------
 2762|       |
 2763|      0|        assert((type->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0);
  ------------------
  |  Branch (2763:9): [True: 0, False: 0]
  ------------------
 2764|       |
 2765|       |        /* Call the base tp_dealloc() */
 2766|      0|        assert(basedealloc);
  ------------------
  |  Branch (2766:9): [True: 0, False: 0]
  ------------------
 2767|      0|        basedealloc(self);
 2768|       |
 2769|       |        /* Can't reference self beyond this point. It's possible tp_del switched
 2770|       |           our type from a HEAPTYPE to a non-HEAPTYPE, so be careful about
 2771|       |           reference counting. Only decref if the base type is not already a heap
 2772|       |           allocated type. Otherwise, basedealloc should have decref'd it already */
 2773|      0|        if (type_needs_decref) {
  ------------------
  |  Branch (2773:13): [True: 0, False: 0]
  ------------------
 2774|      0|            _Py_DECREF_TYPE(type);
  ------------------
  |  |  310|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2775|      0|        }
 2776|       |
 2777|       |        /* Done */
 2778|      0|        return;
 2779|      0|    }
 2780|       |
 2781|       |    /* We get here only if the type has GC */
 2782|       |
 2783|       |    /* UnTrack and re-Track around the trashcan macro, alas */
 2784|       |    /* See explanation at end of function for full disclosure */
 2785|  6.92M|    PyObject_GC_UnTrack(self);
 2786|       |
 2787|       |    /* Find the nearest base with a different tp_dealloc */
 2788|  6.92M|    base = type;
 2789|  13.8M|    while ((/*basedealloc =*/ base->tp_dealloc) == subtype_dealloc) {
  ------------------
  |  Branch (2789:12): [True: 6.92M, False: 6.92M]
  ------------------
 2790|  6.92M|        base = base->tp_base;
 2791|  6.92M|        assert(base);
  ------------------
  |  Branch (2791:9): [True: 6.92M, False: 0]
  ------------------
 2792|  6.92M|    }
 2793|       |
 2794|  6.92M|    has_finalizer = type->tp_finalize || type->tp_del;
  ------------------
  |  Branch (2794:21): [True: 0, False: 6.92M]
  |  Branch (2794:42): [True: 0, False: 6.92M]
  ------------------
 2795|       |
 2796|  6.92M|    if (type->tp_finalize) {
  ------------------
  |  Branch (2796:9): [True: 0, False: 6.92M]
  ------------------
 2797|      0|        _PyObject_GC_TRACK(self);
  ------------------
  |  |  507|      0|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2798|      0|        if (PyObject_CallFinalizerFromDealloc(self) < 0) {
  ------------------
  |  Branch (2798:13): [True: 0, False: 0]
  ------------------
 2799|       |            /* Resurrected */
 2800|      0|            return;
 2801|      0|        }
 2802|      0|        _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  509|      0|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _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|       |      If we added a weaklist, we clear it. Do this *before* calling tp_del,
 2806|       |      clearing slots, or clearing the instance dict.
 2807|       |
 2808|       |      GC tracking must be off at this point. weakref callbacks (if any, and
 2809|       |      whether directly here or indirectly in something we call) may trigger GC,
 2810|       |      and if self is tracked at that point, it will look like trash to GC and GC
 2811|       |      will try to delete self again.
 2812|       |    */
 2813|  6.92M|    if (type->tp_weaklistoffset && !base->tp_weaklistoffset) {
  ------------------
  |  Branch (2813:9): [True: 6.92M, False: 130]
  |  Branch (2813:36): [True: 6.92M, False: 0]
  ------------------
 2814|  6.92M|        PyObject_ClearWeakRefs(self);
 2815|  6.92M|    }
 2816|       |
 2817|  6.92M|    if (type->tp_del) {
  ------------------
  |  Branch (2817:9): [True: 0, False: 6.92M]
  ------------------
 2818|      0|        _PyObject_GC_TRACK(self);
  ------------------
  |  |  507|      0|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2819|      0|        type->tp_del(self);
 2820|      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 (2820:13): [True: 0, False: 0]
  ------------------
 2821|       |            /* Resurrected */
 2822|      0|            return;
 2823|      0|        }
 2824|      0|        _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  509|      0|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2825|      0|    }
 2826|  6.92M|    if (has_finalizer) {
  ------------------
  |  Branch (2826:9): [True: 0, False: 6.92M]
  ------------------
 2827|       |        /* New weakrefs could be created during the finalizer call.
 2828|       |           If this occurs, clear them out without calling their
 2829|       |           finalizers since they might rely on part of the object
 2830|       |           being finalized that has already been destroyed. */
 2831|      0|        if (type->tp_weaklistoffset && !base->tp_weaklistoffset) {
  ------------------
  |  Branch (2831:13): [True: 0, False: 0]
  |  Branch (2831:40): [True: 0, False: 0]
  ------------------
 2832|      0|            _PyWeakref_ClearWeakRefsNoCallbacks(self);
 2833|      0|        }
 2834|      0|    }
 2835|       |
 2836|       |    /*  Clear slots up to the nearest base with a different tp_dealloc */
 2837|  6.92M|    base = type;
 2838|  13.8M|    while ((basedealloc = base->tp_dealloc) == subtype_dealloc) {
  ------------------
  |  Branch (2838:12): [True: 6.92M, False: 6.92M]
  ------------------
 2839|  6.92M|        if (Py_SIZE(base))
  ------------------
  |  |  214|  6.92M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.92M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.92M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (214:23): [True: 122, False: 6.92M]
  |  |  ------------------
  ------------------
 2840|    122|            clear_slots(base, self);
 2841|  6.92M|        base = base->tp_base;
 2842|  6.92M|        assert(base);
  ------------------
  |  Branch (2842:9): [True: 6.92M, False: 0]
  ------------------
 2843|  6.92M|    }
 2844|       |
 2845|       |    /* If we added a dict, DECREF it, or free inline values. */
 2846|  6.92M|    if (type->tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|  6.92M|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (2846:9): [True: 6.92M, False: 2.37k]
  ------------------
 2847|  6.92M|        PyObject_ClearManagedDict(self);
 2848|  6.92M|    }
 2849|  2.37k|    else if (type->tp_dictoffset && !base->tp_dictoffset) {
  ------------------
  |  Branch (2849:14): [True: 2.13k, False: 243]
  |  Branch (2849:37): [True: 0, False: 2.13k]
  ------------------
 2850|      0|        PyObject **dictptr = _PyObject_ComputedDictPointer(self);
 2851|      0|        if (dictptr != NULL) {
  ------------------
  |  Branch (2851:13): [True: 0, False: 0]
  ------------------
 2852|      0|            PyObject *dict = *dictptr;
 2853|      0|            if (dict != NULL) {
  ------------------
  |  Branch (2853:17): [True: 0, False: 0]
  ------------------
 2854|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2855|      0|                *dictptr = NULL;
 2856|      0|            }
 2857|      0|        }
 2858|      0|    }
 2859|       |
 2860|       |    /* Extract the type again; tp_del may have changed it */
 2861|  6.92M|    type = Py_TYPE(self);
  ------------------
  |  |  213|  6.92M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.92M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.92M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2862|       |
 2863|       |    /* Call the base tp_dealloc(); first retrack self if
 2864|       |     * basedealloc knows about gc.
 2865|       |     */
 2866|  6.92M|    if (_PyType_IS_GC(base)) {
  ------------------
  |  |  822|  6.92M|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  6.92M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  |  |  |  Branch (822:26): [True: 2.37k, False: 6.92M]
  |  |  ------------------
  ------------------
 2867|  2.37k|        _PyObject_GC_TRACK(self);
  ------------------
  |  |  507|  2.37k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2868|  2.37k|    }
 2869|       |
 2870|       |    // Don't read type memory after calling basedealloc() since basedealloc()
 2871|       |    // can deallocate the type and free its memory.
 2872|  6.92M|    int type_needs_decref = (type->tp_flags & Py_TPFLAGS_HEAPTYPE
  ------------------
  |  |  503|  13.8M|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2872:30): [True: 6.92M, False: 0]
  ------------------
 2873|  6.92M|                             && !(base->tp_flags & Py_TPFLAGS_HEAPTYPE));
  ------------------
  |  |  503|  6.92M|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2873:33): [True: 6.92M, False: 0]
  ------------------
 2874|       |
 2875|  6.92M|    assert(basedealloc);
  ------------------
  |  Branch (2875:5): [True: 6.92M, False: 0]
  ------------------
 2876|  6.92M|    basedealloc(self);
 2877|       |
 2878|       |    /* Can't reference self beyond this point. It's possible tp_del switched
 2879|       |       our type from a HEAPTYPE to a non-HEAPTYPE, so be careful about
 2880|       |       reference counting. Only decref if the base type is not already a heap
 2881|       |       allocated type. Otherwise, basedealloc should have decref'd it already */
 2882|  6.92M|    if (type_needs_decref) {
  ------------------
  |  Branch (2882:9): [True: 6.92M, False: 0]
  ------------------
 2883|  6.92M|        _Py_DECREF_TYPE(type);
  ------------------
  |  |  310|  6.92M|#  define _Py_DECREF_TYPE Py_DECREF
  |  |  ------------------
  |  |  |  |  430|  6.92M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.92M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.92M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2884|  6.92M|    }
 2885|  6.92M|}
typeobject.c:clear_slots:
 2661|    122|{
 2662|    122|    Py_ssize_t i, n;
 2663|    122|    PyMemberDef *mp;
 2664|       |
 2665|    122|    n = Py_SIZE(type);
  ------------------
  |  |  214|    122|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    122|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    122|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2666|    122|    mp = _PyHeapType_GET_MEMBERS((PyHeapTypeObject *)type);
 2667|    252|    for (i = 0; i < n; i++, mp++) {
  ------------------
  |  Branch (2667:17): [True: 130, False: 122]
  ------------------
 2668|    130|        if (mp->type == Py_T_OBJECT_EX && !(mp->flags & Py_READONLY)) {
  ------------------
  |  |   75|    260|#define Py_T_OBJECT_EX 16
  ------------------
                      if (mp->type == Py_T_OBJECT_EX && !(mp->flags & Py_READONLY)) {
  ------------------
  |  |   83|    130|#define Py_READONLY            (1 << 0)
  ------------------
  |  Branch (2668:13): [True: 130, False: 0]
  |  Branch (2668:43): [True: 130, False: 0]
  ------------------
 2669|    130|            void *addr = _PyMember_GetOffset(self, mp);
 2670|    130|            PyObject *obj = *(PyObject **)addr;
 2671|    130|            if (obj != NULL) {
  ------------------
  |  Branch (2671:17): [True: 130, False: 0]
  ------------------
 2672|    130|                *(PyObject **)addr = NULL;
 2673|    130|                Py_DECREF(obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2674|    130|            }
 2675|    130|        }
 2676|    130|    }
 2677|    122|}
typeobject.c:check_basicsize_includes_size_and_offsets:
 5147|    118|{
 5148|    118|    if (type->tp_alloc != PyType_GenericAlloc) {
  ------------------
  |  Branch (5148:9): [True: 0, False: 118]
  ------------------
 5149|       |        // Custom allocators can ignore tp_basicsize
 5150|      0|        return 1;
 5151|      0|    }
 5152|    118|    Py_ssize_t max = (Py_ssize_t)type->tp_basicsize;
 5153|       |
 5154|    118|    if (type->tp_base && type->tp_base->tp_basicsize > type->tp_basicsize) {
  ------------------
  |  Branch (5154:9): [True: 118, False: 0]
  |  Branch (5154:26): [True: 0, False: 118]
  ------------------
 5155|      0|        PyErr_Format(PyExc_TypeError,
 5156|      0|                     "tp_basicsize for type '%s' (%zd) is too small for base '%s' (%zd)",
 5157|      0|                     type->tp_name, type->tp_basicsize,
 5158|      0|                     type->tp_base->tp_name, type->tp_base->tp_basicsize);
 5159|      0|        return 0;
 5160|      0|    }
 5161|    118|    if (type->tp_weaklistoffset + (Py_ssize_t)sizeof(PyObject*) > max) {
  ------------------
  |  Branch (5161:9): [True: 0, False: 118]
  ------------------
 5162|      0|        PyErr_Format(PyExc_TypeError,
 5163|      0|                     "weaklist offset %zd is out of bounds for type '%s' (tp_basicsize = %zd)",
 5164|      0|                     type->tp_weaklistoffset,
 5165|      0|                     type->tp_name, type->tp_basicsize);
 5166|      0|        return 0;
 5167|      0|    }
 5168|    118|    if (type->tp_dictoffset + (Py_ssize_t)sizeof(PyObject*) > max) {
  ------------------
  |  Branch (5168:9): [True: 0, False: 118]
  ------------------
 5169|      0|        PyErr_Format(PyExc_TypeError,
 5170|      0|                     "dict offset %zd is out of bounds for type '%s' (tp_basicsize = %zd)",
 5171|      0|                     type->tp_dictoffset,
 5172|      0|                     type->tp_name, type->tp_basicsize);
 5173|      0|        return 0;
 5174|      0|    }
 5175|    118|    if (type->tp_vectorcall_offset + (Py_ssize_t)sizeof(vectorcallfunc*) > max) {
  ------------------
  |  Branch (5175:9): [True: 0, False: 118]
  ------------------
 5176|      0|        PyErr_Format(PyExc_TypeError,
 5177|      0|                     "vectorcall offset %zd is out of bounds for type '%s' (tp_basicsize = %zd)",
 5178|      0|                     type->tp_vectorcall_offset,
 5179|      0|                     type->tp_name, type->tp_basicsize);
 5180|      0|        return 0;
 5181|      0|    }
 5182|    118|    return 1;
 5183|    118|}
typeobject.c:type_name:
 1522|   711k|{
 1523|   711k|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|   711k|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1524|   711k|    if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) {
  ------------------
  |  |  503|   711k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1524:9): [True: 8, False: 711k]
  ------------------
 1525|      8|        PyHeapTypeObject* et = (PyHeapTypeObject*)type;
 1526|      8|        return Py_NewRef(et->ht_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1527|      8|    }
 1528|   711k|    else {
 1529|   711k|        return PyUnicode_FromString(_PyType_Name(type));
 1530|   711k|    }
 1531|   711k|}
typeobject.c:lookup_tp_mro:
  646|  48.3k|{
  647|  48.3k|    return self->tp_mro;
  648|  48.3k|}
typeobject.c:getitemdata:
 6116|  2.12k|{
 6117|  2.12k|    if (!_PyType_HasFeature(Py_TYPE(obj), Py_TPFLAGS_ITEMS_AT_END)) {
  ------------------
  |  |  213|  2.12k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!_PyType_HasFeature(Py_TYPE(obj), Py_TPFLAGS_ITEMS_AT_END)) {
  ------------------
  |  |  548|  2.12k|#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
  ------------------
  |  Branch (6117:9): [True: 0, False: 2.12k]
  ------------------
 6118|      0|        if (raise) {
  ------------------
  |  Branch (6118:13): [True: 0, False: 0]
  ------------------
 6119|      0|            PyErr_Format(PyExc_TypeError,
 6120|      0|                         "type '%T' does not have Py_TPFLAGS_ITEMS_AT_END",
 6121|      0|                         obj);
 6122|      0|        }
 6123|      0|        return NULL;
 6124|      0|    }
 6125|  2.12k|    return (char *)obj + Py_TYPE(obj)->tp_basicsize;
  ------------------
  |  |  213|  2.12k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6126|  2.12k|}
typeobject.c:get_type_cache:
  974|  71.8M|{
  975|  71.8M|    PyInterpreterState *interp = _PyInterpreterState_GET();
  976|  71.8M|    return &interp->types.type_cache;
  977|  71.8M|}
typeobject.c:should_assign_version_tag:
 6299|  5.85k|{
 6300|  5.85k|    return (version_tag == 0
  ------------------
  |  Branch (6300:13): [True: 289, False: 5.56k]
  ------------------
 6301|    289|        && FT_ATOMIC_LOAD_UINT16_RELAXED(type->tp_versions_used) < MAX_VERSIONS_PER_CLASS
  ------------------
  |  |  158|    289|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  ------------------
                      && FT_ATOMIC_LOAD_UINT16_RELAXED(type->tp_versions_used) < MAX_VERSIONS_PER_CLASS
  ------------------
  |  | 1389|  6.14k|#define MAX_VERSIONS_PER_CLASS 1000
  ------------------
  |  Branch (6301:12): [True: 289, False: 0]
  ------------------
 6302|    289|        && MCACHE_CACHEABLE_NAME(name));
  ------------------
  |  |   57|    289|        (PyUnicode_CheckExact(name) &&                           \
  |  |  ------------------
  |  |  |  |  104|    289|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|    578|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    289|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    289|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 289, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   58|    289|         (PyUnicode_GET_LENGTH(name) <= MCACHE_MAX_ATTR_SIZE))
  |  |  ------------------
  |  |  |  |  299|    289|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    289|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    289|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                        (PyUnicode_GET_LENGTH(name) <= MCACHE_MAX_ATTR_SIZE))
  |  |  ------------------
  |  |  |  |   48|    289|#define MCACHE_MAX_ATTR_SIZE    100
  |  |  ------------------
  |  |  |  Branch (58:10): [True: 289, False: 0]
  |  |  ------------------
  ------------------
 6303|  5.85k|}
typeobject.c:find_name_in_mro:
 6146|  31.0k|{
 6147|  31.0k|    Py_hash_t hash = _PyObject_HashDictKey(name);
 6148|  31.0k|    if (hash == -1) {
  ------------------
  |  Branch (6148:9): [True: 0, False: 31.0k]
  ------------------
 6149|      0|        PyErr_Clear();
 6150|      0|        return -1;
 6151|      0|    }
 6152|       |
 6153|       |    /* Look in tp_dict of types in MRO */
 6154|  31.0k|    PyObject *mro = lookup_tp_mro(type);
 6155|  31.0k|    if (mro == NULL) {
  ------------------
  |  Branch (6155:9): [True: 0, False: 31.0k]
  ------------------
 6156|      0|        if (!is_readying(type)) {
  ------------------
  |  Branch (6156:13): [True: 0, False: 0]
  ------------------
 6157|      0|            if (PyType_Ready(type) < 0) {
  ------------------
  |  Branch (6157:17): [True: 0, False: 0]
  ------------------
 6158|      0|                PyErr_Clear();
 6159|      0|                return -1;
 6160|      0|            }
 6161|      0|            mro = lookup_tp_mro(type);
 6162|      0|        }
 6163|      0|        if (mro == NULL) {
  ------------------
  |  Branch (6163:13): [True: 0, False: 0]
  ------------------
 6164|      0|            return -1;
 6165|      0|        }
 6166|      0|    }
 6167|       |
 6168|  31.0k|    int res = 0;
 6169|  31.0k|    PyThreadState *tstate = _PyThreadState_GET();
 6170|       |    /* Keep a strong reference to mro because type->tp_mro can be replaced
 6171|       |       during dict lookup, e.g. when comparing to non-string keys. */
 6172|  31.0k|    _PyCStackRef mro_ref;
 6173|  31.0k|    _PyThreadState_PushCStackRef(tstate, &mro_ref);
 6174|  31.0k|    mro_ref.ref = PyStackRef_FromPyObjectNew(mro);
  ------------------
  |  |  611|  31.0k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  31.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6175|  31.0k|    Py_ssize_t n = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   27|  31.0k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  31.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6176|   121k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (6176:28): [True: 97.8k, False: 23.9k]
  ------------------
 6177|  97.8k|        PyObject *base = PyTuple_GET_ITEM(mro, i);
  ------------------
  |  |   29|  97.8k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  97.8k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  97.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6177:26): [True: 97.8k, False: 0]
  ------------------
 6178|  97.8k|        PyObject *dict = lookup_tp_dict(_PyType_CAST(base));
  ------------------
  |  |  770|  97.8k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  97.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (6178:41): [True: 97.8k, False: 0]
  ------------------
 6179|  97.8k|        assert(dict && PyDict_Check(dict));
  ------------------
  |  Branch (6179:9): [True: 97.8k, False: 0]
  |  Branch (6179:9): [True: 97.8k, False: 0]
  ------------------
 6180|  97.8k|        Py_ssize_t ix = _Py_dict_lookup_threadsafe_stackref(
 6181|  97.8k|            (PyDictObject *)dict, name, hash, out);
 6182|  97.8k|        if (ix == DKIX_ERROR) {
  ------------------
  |  |  187|  97.8k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (6182:13): [True: 0, False: 97.8k]
  ------------------
 6183|      0|            PyErr_Clear();
 6184|      0|            res = -1;
 6185|      0|            goto done;
 6186|      0|        }
 6187|  97.8k|        if (!PyStackRef_IsNull(*out)) {
  ------------------
  |  |  482|  97.8k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  97.8k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  97.8k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6187:13): [True: 7.11k, False: 90.7k]
  ------------------
 6188|  7.11k|            res = 1;
 6189|  7.11k|            break;
 6190|  7.11k|        }
 6191|  97.8k|    }
 6192|  31.0k|done:
 6193|  31.0k|    _PyThreadState_PopCStackRef(tstate, &mro_ref);
 6194|  31.0k|    return res;
 6195|  31.0k|}
typeobject.c:update_cache:
 6217|  5.85k|{
 6218|  5.85k|    _Py_atomic_store_ptr_relaxed(&entry->value, value); /* borrowed */
 6219|  5.85k|    assert(PyUnstable_Unicode_GET_CACHED_HASH(name) != -1);
  ------------------
  |  Branch (6219:5): [True: 5.85k, False: 0]
  ------------------
 6220|  5.85k|    OBJECT_STAT_INC_COND(type_cache_collisions, entry->name != Py_None && entry->name != name);
  ------------------
  |  |   78|  5.85k|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 6221|       |    // We're releasing this under the lock for simplicity sake because it's always a
 6222|       |    // exact unicode object or Py_None so it's safe to do so.
 6223|  5.85k|    PyObject *old_name = entry->name;
 6224|  5.85k|    _Py_atomic_store_ptr_relaxed(&entry->name, Py_NewRef(name));
  ------------------
  |  |  550|  5.85k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  5.85k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6225|       |    // We must write the version last to avoid _Py_TryXGetStackRef()
 6226|       |    // operating on an invalid (already deallocated) value inside
 6227|       |    // _PyType_LookupRefAndVersion().  If we write the version first then a
 6228|       |    // reader could pass the "entry_version == type_version" check but could
 6229|       |    // be using the old entry value.
 6230|  5.85k|    _Py_atomic_store_uint32_release(&entry->version, version_tag);
 6231|  5.85k|    return old_name;
 6232|  5.85k|}
typeobject.c:set_flags_recursive:
 6484|     28|{
 6485|     28|    if (PyType_HasFeature(self, Py_TPFLAGS_IMMUTABLETYPE) ||
  ------------------
  |  |  500|     28|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (6485:9): [True: 28, False: 0]
  ------------------
 6486|      0|        (self->tp_flags & mask) == flags)
  ------------------
  |  Branch (6486:9): [True: 0, False: 0]
  ------------------
 6487|     28|    {
 6488|     28|        return;
 6489|     28|    }
 6490|       |
 6491|      0|    type_set_flags_with_mask(self, mask, flags);
 6492|       |
 6493|      0|    PyObject *children = _PyType_GetSubclasses(self);
 6494|      0|    if (children == NULL) {
  ------------------
  |  Branch (6494:9): [True: 0, False: 0]
  ------------------
 6495|      0|        return;
 6496|      0|    }
 6497|       |
 6498|      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 (6498:28): [True: 0, False: 0]
  ------------------
 6499|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6499:27): [True: 0, False: 0]
  ------------------
 6500|      0|        set_flags_recursive((PyTypeObject *)child, mask, flags);
 6501|      0|    }
 6502|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6503|      0|}
typeobject.c:type_dealloc_common:
 6850|      8|{
 6851|      8|    PyObject *bases = lookup_tp_bases(type);
 6852|      8|    if (bases != NULL) {
  ------------------
  |  Branch (6852:9): [True: 8, False: 0]
  ------------------
 6853|      8|        PyObject *exc = PyErr_GetRaisedException();
 6854|      8|        remove_all_subclasses(type, bases);
 6855|      8|        PyErr_SetRaisedException(exc);
 6856|      8|    }
 6857|      8|}
typeobject.c:remove_all_subclasses:
 9797|      8|{
 9798|      8|    assert(bases != NULL);
  ------------------
  |  Branch (9798:5): [True: 8, False: 0]
  ------------------
 9799|       |    // remove_subclass() can clear the current exception
 9800|      8|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (9800:5): [True: 8, False: 0]
  ------------------
 9801|       |
 9802|     16|    for (Py_ssize_t i = 0; i < PyTuple_GET_SIZE(bases); i++) {
  ------------------
  |  |   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 (9802:28): [True: 8, False: 8]
  ------------------
 9803|      8|        PyObject *base = PyTuple_GET_ITEM(bases, 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9803:26): [True: 8, False: 0]
  ------------------
 9804|      8|        if (PyType_Check(base)) {
  ------------------
  |  |  766|      8|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 8, False: 0]
  |  |  ------------------
  ------------------
 9805|      8|            remove_subclass((PyTypeObject*) base, type);
 9806|      8|        }
 9807|      8|    }
 9808|      8|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (9808:5): [True: 8, False: 0]
  ------------------
 9809|      8|}
typeobject.c:remove_subclass:
 9774|      8|{
 9775|      8|    PyObject *subclasses = lookup_tp_subclasses(base);  // borrowed ref
 9776|      8|    if (subclasses == NULL) {
  ------------------
  |  Branch (9776:9): [True: 0, False: 8]
  ------------------
 9777|      0|        return;
 9778|      0|    }
 9779|      8|    assert(PyDict_CheckExact(subclasses));
  ------------------
  |  Branch (9779:5): [True: 8, False: 0]
  ------------------
 9780|       |
 9781|      8|    PyObject *key = get_subclasses_key(type, base);
 9782|      8|    if (key != NULL && PyDict_DelItem(subclasses, key)) {
  ------------------
  |  Branch (9782:9): [True: 8, False: 0]
  |  Branch (9782:24): [True: 0, False: 8]
  ------------------
 9783|       |        /* This can happen if the type initialization errored out before
 9784|       |           the base subclasses were updated (e.g. a non-str __qualname__
 9785|       |           was passed in the type dict). */
 9786|      0|        PyErr_Clear();
 9787|      0|    }
 9788|      8|    Py_XDECREF(key);
  ------------------
  |  |  524|      8|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9789|       |
 9790|      8|    if (PyDict_Size(subclasses) == 0) {
  ------------------
  |  Branch (9790:9): [True: 0, False: 8]
  ------------------
 9791|      0|        clear_tp_subclasses(base);
 9792|      0|    }
 9793|      8|}
typeobject.c:get_subclasses_key:
 9743|      8|{
 9744|      8|    PyObject *key = PyLong_FromVoidPtr((void *) type);
 9745|      8|    if (key != NULL) {
  ------------------
  |  Branch (9745:9): [True: 8, False: 0]
  ------------------
 9746|      8|        return key;
 9747|      8|    }
 9748|      0|    PyErr_Clear();
 9749|       |
 9750|       |    /* This basically means we're out of memory.
 9751|       |       We fall back to manually traversing the values. */
 9752|      0|    Py_ssize_t i = 0;
 9753|      0|    PyObject *ref;  // borrowed ref
 9754|      0|    PyObject *subclasses = lookup_tp_subclasses(base);
 9755|      0|    if (subclasses != NULL) {
  ------------------
  |  Branch (9755:9): [True: 0, False: 0]
  ------------------
 9756|      0|        while (PyDict_Next(subclasses, &i, &key, &ref)) {
  ------------------
  |  Branch (9756:16): [True: 0, False: 0]
  ------------------
 9757|      0|            PyTypeObject *subclass = type_from_ref(ref);
 9758|      0|            if (subclass == NULL) {
  ------------------
  |  Branch (9758:17): [True: 0, False: 0]
  ------------------
 9759|      0|                continue;
 9760|      0|            }
 9761|      0|            if (subclass == type) {
  ------------------
  |  Branch (9761:17): [True: 0, False: 0]
  ------------------
 9762|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9763|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9764|      0|            }
 9765|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9766|      0|        }
 9767|      0|    }
 9768|       |    /* It wasn't found. */
 9769|      0|    return NULL;
 9770|      0|}
typeobject.c:clear_tp_subclasses:
  718|      8|{
  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|      8|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|      8|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (722:9): [True: 0, False: 8]
  ------------------
  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|      8|    Py_CLEAR(self->tp_subclasses);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  729|      8|}
typeobject.c:type_clear_flags:
  477|    426|{
  478|    426|    type_set_flags(tp, tp->tp_flags & ~flag);
  479|    426|}
typeobject.c:type_dealloc:
 6979|      8|{
 6980|      8|    PyTypeObject *type = PyTypeObject_CAST(self);
  ------------------
  |  |  200|      8|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 6981|       |
 6982|       |    // Assert this is a heap-allocated type object
 6983|      8|    _PyObject_ASSERT((PyObject *)type, type->tp_flags & Py_TPFLAGS_HEAPTYPE);
  ------------------
  |  |  423|      8|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|      8|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  414|      8|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (414:6): [True: 8, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  415|      8|      ? (void)(0) \
  |  |  |  |  |  |  416|      8|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6984|       |
 6985|       |    // Notify type watchers before teardown.  The type object is still fully
 6986|       |    // intact at this point (dict, bases, mro, name are all valid), so
 6987|       |    // callbacks can safely inspect it.
 6988|      8|    if (type->tp_watched) {
  ------------------
  |  Branch (6988:9): [True: 0, False: 8]
  ------------------
 6989|      0|        _PyObject_ResurrectStart(self);
 6990|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 6991|      0|        int bits = type->tp_watched;
 6992|      0|        int i = 0;
 6993|      0|        while (bits) {
  ------------------
  |  Branch (6993:16): [True: 0, False: 0]
  ------------------
 6994|      0|            assert(i < TYPE_MAX_WATCHERS);
  ------------------
  |  Branch (6994:13): [True: 0, False: 0]
  ------------------
 6995|      0|            if (bits & 1) {
  ------------------
  |  Branch (6995:17): [True: 0, False: 0]
  ------------------
 6996|      0|                PyType_WatchCallback cb = interp->type_watchers[i];
 6997|      0|                if (cb && (cb(type) < 0)) {
  ------------------
  |  Branch (6997:21): [True: 0, False: 0]
  |  Branch (6997:27): [True: 0, False: 0]
  ------------------
 6998|      0|                    PyErr_FormatUnraisable(
 6999|      0|                        "Exception ignored in type watcher callback #%d "
 7000|      0|                        "for %R",
 7001|      0|                        i, type);
 7002|      0|                }
 7003|      0|            }
 7004|      0|            i++;
 7005|      0|            bits >>= 1;
 7006|      0|        }
 7007|      0|        if (_PyObject_ResurrectEnd(self)) {
  ------------------
  |  Branch (7007:13): [True: 0, False: 0]
  ------------------
 7008|      0|            return;     // callback resurrected the object
 7009|      0|        }
 7010|      0|    }
 7011|       |
 7012|      8|    _PyObject_GC_UNTRACK(type);
  ------------------
  |  |  509|      8|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7013|      8|    type_dealloc_common(type);
 7014|       |
 7015|       |    // PyObject_ClearWeakRefs() raises an exception if Py_REFCNT() != 0
 7016|      8|    assert(Py_REFCNT(type) == 0);
  ------------------
  |  Branch (7016:5): [True: 8, False: 0]
  ------------------
 7017|      8|    PyObject_ClearWeakRefs((PyObject *)type);
 7018|       |
 7019|      8|    Py_XDECREF(type->tp_base);
  ------------------
  |  |  524|      8|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7020|      8|    Py_XDECREF(type->tp_dict);
  ------------------
  |  |  524|      8|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7021|      8|    Py_XDECREF(type->tp_bases);
  ------------------
  |  |  524|      8|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7022|      8|    Py_XDECREF(type->tp_mro);
  ------------------
  |  |  524|      8|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7023|      8|    Py_XDECREF(type->tp_cache);
  ------------------
  |  |  524|      8|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7024|      8|    clear_tp_subclasses(type);
 7025|       |
 7026|       |    /* A type's tp_doc is heap allocated, unlike the tp_doc slots
 7027|       |     * of most other objects.  It's okay to cast it to char *.
 7028|       |     */
 7029|      8|    PyMem_Free((char *)type->tp_doc);
 7030|       |
 7031|      8|    PyHeapTypeObject *et = (PyHeapTypeObject *)type;
 7032|      8|    Py_XDECREF(et->ht_name);
  ------------------
  |  |  524|      8|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7033|      8|    Py_XDECREF(et->ht_qualname);
  ------------------
  |  |  524|      8|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7034|      8|    Py_XDECREF(et->ht_slots);
  ------------------
  |  |  524|      8|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7035|      8|    if (et->ht_cached_keys) {
  ------------------
  |  Branch (7035:9): [True: 4, False: 4]
  ------------------
 7036|      4|        _PyDict_RemoveKeysForClass(et);
 7037|      4|    }
 7038|      8|    Py_XDECREF(et->ht_module);
  ------------------
  |  |  524|      8|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7039|      8|    PyMem_Free(et->_ht_tpname);
 7040|       |#ifdef Py_GIL_DISABLED
 7041|       |    assert(et->unique_id == _Py_INVALID_UNIQUE_ID);
 7042|       |#endif
 7043|      8|    et->ht_token = NULL;
 7044|      8|    Py_TYPE(type)->tp_free((PyObject *)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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7045|      8|}
typeobject.c:type_call:
 2432|   617k|{
 2433|   617k|    PyTypeObject *type = PyTypeObject_CAST(self);
  ------------------
  |  |  200|   617k|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 2434|   617k|    PyObject *obj;
 2435|   617k|    PyThreadState *tstate = _PyThreadState_GET();
 2436|       |
 2437|       |#ifdef Py_DEBUG
 2438|       |    /* type_call() must not be called with an exception set,
 2439|       |       because it can clear it (directly or indirectly) and so the
 2440|       |       caller loses its exception */
 2441|       |    assert(!_PyErr_Occurred(tstate));
 2442|       |#endif
 2443|       |
 2444|       |    /* Special case: type(x) should return Py_TYPE(x) */
 2445|       |    /* We only want type itself to accept the one-argument form (#27157) */
 2446|   617k|    if (type == &PyType_Type) {
  ------------------
  |  Branch (2446:9): [True: 185, False: 617k]
  ------------------
 2447|    185|        assert(args != NULL && PyTuple_Check(args));
  ------------------
  |  Branch (2447:9): [True: 185, False: 0]
  |  Branch (2447:9): [True: 185, False: 0]
  ------------------
 2448|    185|        assert(kwds == NULL || PyDict_Check(kwds));
  ------------------
  |  Branch (2448:9): [True: 183, False: 2]
  |  Branch (2448:9): [True: 2, False: 0]
  ------------------
 2449|    185|        Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|    185|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    185|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    185|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2450|       |
 2451|    185|        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 (2451:13): [True: 0, False: 185]
  |  Branch (2451:28): [True: 0, False: 0]
  |  Branch (2451:44): [True: 0, False: 0]
  ------------------
 2452|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2453|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2454|      0|        }
 2455|       |
 2456|       |        /* SF bug 475327 -- if that didn't trigger, we need 3
 2457|       |           arguments. But PyArg_ParseTuple in type_new may give
 2458|       |           a msg saying type() needs exactly 3. */
 2459|    185|        if (nargs != 3) {
  ------------------
  |  Branch (2459:13): [True: 0, False: 185]
  ------------------
 2460|      0|            PyErr_SetString(PyExc_TypeError,
 2461|      0|                            "type() takes 1 or 3 arguments");
 2462|      0|            return NULL;
 2463|      0|        }
 2464|    185|    }
 2465|       |
 2466|   617k|    if (type->tp_new == NULL) {
  ------------------
  |  Branch (2466:9): [True: 0, False: 617k]
  ------------------
 2467|      0|        _PyErr_Format(tstate, PyExc_TypeError,
 2468|      0|                      "cannot create '%s' instances", type->tp_name);
 2469|      0|        return NULL;
 2470|      0|    }
 2471|       |
 2472|   617k|    obj = type->tp_new(type, args, kwds);
 2473|   617k|    obj = _Py_CheckFunctionResult(tstate, (PyObject*)type, obj, NULL);
 2474|   617k|    if (obj == NULL)
  ------------------
  |  Branch (2474:9): [True: 0, False: 617k]
  ------------------
 2475|      0|        return NULL;
 2476|       |
 2477|       |    /* If the returned object is not an instance of type,
 2478|       |       it won't be initialized. */
 2479|   617k|    if (!PyObject_TypeCheck(obj, type))
  ------------------
  |  |  378|   617k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|   617k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   617k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2479:9): [True: 0, False: 617k]
  ------------------
 2480|      0|        return obj;
 2481|       |
 2482|   617k|    type = Py_TYPE(obj);
  ------------------
  |  |  213|   617k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   617k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   617k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2483|   617k|    if (type->tp_init != NULL) {
  ------------------
  |  Branch (2483:9): [True: 617k, False: 0]
  ------------------
 2484|   617k|        int res = type->tp_init(obj, args, kwds);
 2485|   617k|        if (res < 0) {
  ------------------
  |  Branch (2485:13): [True: 17, False: 617k]
  ------------------
 2486|     17|            assert(_PyErr_Occurred(tstate));
  ------------------
  |  Branch (2486:13): [True: 17, False: 0]
  ------------------
 2487|     17|            Py_SETREF(obj, NULL);
  ------------------
  |  |  352|     17|    do { \
  |  |  353|     17|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     17|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|     17|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     17|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|     17|        *_tmp_dst_ptr = (src); \
  |  |  356|     17|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|     17|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 17]
  |  |  ------------------
  ------------------
 2488|     17|        }
 2489|   617k|        else {
 2490|   617k|            assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (2490:13): [True: 617k, False: 0]
  ------------------
 2491|   617k|        }
 2492|   617k|    }
 2493|   617k|    return obj;
 2494|   617k|}
typeobject.c:type_setattro:
 6751|    254|{
 6752|    254|    PyTypeObject *type = PyTypeObject_CAST(self);
  ------------------
  |  |  200|    254|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 6753|    254|    int res;
 6754|    254|    if (type->tp_flags & Py_TPFLAGS_IMMUTABLETYPE) {
  ------------------
  |  |  500|    254|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (6754:9): [True: 0, False: 254]
  ------------------
 6755|      0|        PyErr_Format(
 6756|      0|            PyExc_TypeError,
 6757|      0|            "cannot set %R attribute of immutable type '%s'",
 6758|      0|            name, type->tp_name);
 6759|      0|        return -1;
 6760|      0|    }
 6761|    254|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|    254|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    254|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (6761:9): [True: 0, False: 254]
  ------------------
 6762|      0|        PyErr_Format(PyExc_TypeError,
 6763|      0|                     "attribute name must be string, not '%.200s'",
 6764|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6765|      0|        return -1;
 6766|      0|    }
 6767|       |
 6768|    254|    if (PyUnicode_CheckExact(name)) {
  ------------------
  |  |  104|    254|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    254|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    254|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    254|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 254, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6769|    254|        Py_INCREF(name);
  ------------------
  |  |  310|    254|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    254|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    254|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6770|    254|    }
 6771|      0|    else {
 6772|      0|        name = _PyUnicode_Copy(name);
 6773|      0|        if (name == NULL)
  ------------------
  |  Branch (6773:13): [True: 0, False: 0]
  ------------------
 6774|      0|            return -1;
 6775|      0|    }
 6776|    254|    if (!PyUnicode_CHECK_INTERNED(name)) {
  ------------------
  |  |  214|    254|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    254|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    254|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6776:9): [True: 0, False: 254]
  ------------------
 6777|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 6778|      0|        _PyUnicode_InternMortal(interp, &name);
 6779|      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 (6779:13): [True: 0, False: 0]
  ------------------
 6780|      0|            PyErr_SetString(PyExc_MemoryError,
 6781|      0|                            "Out of memory interning an attribute name");
 6782|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6783|      0|            return -1;
 6784|      0|        }
 6785|      0|    }
 6786|       |
 6787|    254|    PyTypeObject *metatype = Py_TYPE(type);
  ------------------
  |  |  213|    254|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    254|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    254|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6788|    254|    assert(!_PyType_HasFeature(metatype, Py_TPFLAGS_INLINE_VALUES));
  ------------------
  |  Branch (6788:5): [True: 254, False: 0]
  ------------------
 6789|    254|    assert(!_PyType_HasFeature(metatype, Py_TPFLAGS_MANAGED_DICT));
  ------------------
  |  Branch (6789:5): [True: 254, False: 0]
  ------------------
 6790|       |
 6791|       |#ifdef Py_GIL_DISABLED
 6792|       |    // gh-139103: Enable deferred refcounting for functions and descriptors
 6793|       |    // assigned to type objects.  This is important for `dataclass.__init__`,
 6794|       |    // which is generated dynamically, and for descriptor scaling on
 6795|       |    // free-threaded builds.
 6796|       |    if (value != NULL && (PyFunction_Check(value) || Py_TYPE(value)->tp_descr_get != NULL))
 6797|       |    {
 6798|       |        PyUnstable_Object_EnableDeferredRefcount(value);
 6799|       |    }
 6800|       |#endif
 6801|       |
 6802|    254|    PyObject *old_value = NULL;
 6803|    254|    PyObject *descr = _PyType_LookupRef(metatype, name);
 6804|    254|    if (descr != NULL) {
  ------------------
  |  Branch (6804:9): [True: 106, False: 148]
  ------------------
 6805|    106|        descrsetfunc f = Py_TYPE(descr)->tp_descr_set;
  ------------------
  |  |  213|    106|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    106|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    106|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6806|    106|        if (f != NULL) {
  ------------------
  |  Branch (6806:13): [True: 81, False: 25]
  ------------------
 6807|     81|            res = f(descr, (PyObject *)type, value);
 6808|     81|            goto done;
 6809|     81|        }
 6810|    106|    }
 6811|       |
 6812|    173|    PyObject *dict = type->tp_dict;
 6813|    173|    if (dict == NULL) {
  ------------------
  |  Branch (6813:9): [True: 0, False: 173]
  ------------------
 6814|       |        // This is an unlikely case.  PyType_Ready has not yet been done and
 6815|       |        // we need to initialize tp_dict.  We don't just do PyType_Ready
 6816|       |        // because we could already be readying.
 6817|      0|        BEGIN_TYPE_LOCK();
 6818|      0|        dict = type->tp_dict;
 6819|      0|        if (dict == NULL) {
  ------------------
  |  Branch (6819:13): [True: 0, False: 0]
  ------------------
 6820|      0|            dict = type->tp_dict = PyDict_New();
 6821|      0|        }
 6822|      0|        END_TYPE_LOCK();
 6823|      0|        if (dict == NULL) {
  ------------------
  |  Branch (6823:13): [True: 0, False: 0]
  ------------------
 6824|      0|            res = -1;
 6825|      0|            goto done;
 6826|      0|        }
 6827|      0|    }
 6828|       |
 6829|    173|    BEGIN_TYPE_DICT_LOCK(dict);
 6830|    173|    res = type_update_dict(type, (PyDictObject *)dict, name, value, &old_value);
 6831|    173|    assert(_PyType_CheckConsistency(type));
  ------------------
  |  Branch (6831:5): [True: 173, False: 0]
  ------------------
 6832|    173|    if (res == 0) {
  ------------------
  |  Branch (6832:9): [True: 173, False: 0]
  ------------------
 6833|    173|        if (is_dunder_name(name) && has_slotdef(name)) {
  ------------------
  |  Branch (6833:13): [True: 31, False: 142]
  |  Branch (6833:37): [True: 24, False: 7]
  ------------------
 6834|       |            // The name corresponds to a type slot.
 6835|     24|            res = update_slot_after_setattr(type, name);
 6836|     24|        }
 6837|    173|    }
 6838|    173|    END_TYPE_DICT_LOCK();
 6839|       |
 6840|    254|done:
 6841|    254|    Py_DECREF(name);
  ------------------
  |  |  430|    254|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    254|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    254|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6842|    254|    Py_XDECREF(descr);
  ------------------
  |  |  524|    254|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    254|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    254|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6843|    254|    Py_XDECREF(old_value);
  ------------------
  |  |  524|    254|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    254|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    254|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6844|    254|    return res;
 6845|    173|}
typeobject.c:type_update_dict:
 6696|    173|{
 6697|       |    // We don't want any re-entrancy between when we update the dict
 6698|       |    // and call _PyType_Modified_Unlocked, including running the destructor
 6699|       |    // of the current value as it can observe the cache in an inconsistent
 6700|       |    // state.  Because we have an exact unicode and our dict has exact
 6701|       |    // unicodes we know that this will all complete without releasing
 6702|       |    // the locks.
 6703|    173|    if (_PyDict_GetItemRef_Unicode_LockHeld(dict, name, old_value) < 0) {
  ------------------
  |  Branch (6703:9): [True: 0, False: 173]
  ------------------
 6704|      0|        return -1;
 6705|      0|    }
 6706|       |
 6707|       |    /* Clear the VALID_VERSION flag of 'type' and all its
 6708|       |        subclasses.  This could possibly be unified with the
 6709|       |        update_subclasses() recursion in update_slot(), but carefully:
 6710|       |        they each have their own conditions on which to stop
 6711|       |        recursing into subclasses. */
 6712|    173|    _PyType_Modified_Unlocked(type);
 6713|       |
 6714|    173|    if (_PyDict_SetItem_LockHeld(dict, name, value) < 0) {
  ------------------
  |  Branch (6714:9): [True: 0, False: 173]
  ------------------
 6715|      0|        PyErr_Format(PyExc_AttributeError,
 6716|      0|                     "type object '%.50s' has no attribute '%U'",
 6717|      0|                     ((PyTypeObject*)type)->tp_name, name);
 6718|      0|        _PyObject_SetAttributeErrorContext((PyObject *)type, name);
 6719|      0|        return -1;
 6720|      0|    }
 6721|       |
 6722|    173|    return 0;
 6723|    173|}
typeobject.c:is_dunder_name:
 6201|    173|{
 6202|    173|    Py_ssize_t length = PyUnicode_GET_LENGTH(name);
  ------------------
  |  |  299|    173|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    173|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    173|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6203|    173|    int kind = PyUnicode_KIND(name);
  ------------------
  |  |  258|    173|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    346|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 173, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6204|       |    /* Special names contain at least "__x__" and are always ASCII. */
 6205|    173|    if (length > 4 && kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (6205:9): [True: 162, False: 11]
  |  Branch (6205:23): [True: 162, False: 0]
  ------------------
 6206|    162|        const Py_UCS1 *characters = PyUnicode_1BYTE_DATA(name);
  ------------------
  |  |  291|    162|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    162|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 6207|    162|        return (
 6208|    162|            ((characters[length-2] == '_') && (characters[length-1] == '_')) &&
  ------------------
  |  Branch (6208:14): [True: 31, False: 131]
  |  Branch (6208:47): [True: 31, False: 0]
  ------------------
 6209|     31|            ((characters[0] == '_') && (characters[1] == '_'))
  ------------------
  |  Branch (6209:14): [True: 31, False: 0]
  |  Branch (6209:40): [True: 31, False: 0]
  ------------------
 6210|    162|        );
 6211|    162|    }
 6212|     11|    return 0;
 6213|    173|}
typeobject.c:has_slotdef:
11835|     31|{
11836|  1.30k|    for (pytype_slotdef *p = slotdefs; p->name_strobj; p++) {
  ------------------
  |  Branch (11836:40): [True: 1.29k, False: 7]
  ------------------
11837|  1.29k|        if (p->name_strobj == name) {
  ------------------
  |  Branch (11837:13): [True: 24, False: 1.27k]
  ------------------
11838|     24|            return true;
11839|     24|        }
11840|  1.29k|    }
11841|      7|    return false;
11842|     31|}
typeobject.c:update_slot_after_setattr:
 6727|     24|{
 6728|       |#ifdef Py_GIL_DISABLED
 6729|       |    // stack allocate one chunk since that's all we need
 6730|       |    assert(SLOT_UPDATE_CHUNK_SIZE >= MAX_EQUIV);
 6731|       |    slot_update_chunk_t chunk = {0};
 6732|       |    slot_update_t queued_updates = {&chunk};
 6733|       |
 6734|       |    if (update_slot(type, name, &queued_updates) < 0) {
 6735|       |        return -1;
 6736|       |    }
 6737|       |    if (queued_updates.head->n > 0) {
 6738|       |        apply_type_slot_updates(&queued_updates);
 6739|       |        ASSERT_TYPE_LOCK_HELD();
 6740|       |        // should never allocate another chunk
 6741|       |        assert(chunk.prev == NULL);
 6742|       |    }
 6743|       |#else
 6744|       |    update_slot(type, name, NULL);
 6745|     24|#endif
 6746|     24|    return 0;
 6747|     24|}
typeobject.c:update_slot:
12090|     24|{
12091|     24|    pytype_slotdef *ptrs[MAX_EQUIV];
12092|     24|    pytype_slotdef *p;
12093|     24|    pytype_slotdef **pp;
12094|     24|    int offset;
12095|       |
12096|     24|    ASSERT_TYPE_LOCK_HELD();
12097|     24|    assert(PyUnicode_CheckExact(name));
  ------------------
  |  Branch (12097:5): [True: 24, False: 0]
  ------------------
12098|     24|    assert(PyUnicode_CHECK_INTERNED(name));
  ------------------
  |  Branch (12098:5): [True: 24, False: 0]
  ------------------
12099|       |
12100|     24|    pp = ptrs;
12101|  2.28k|    for (p = slotdefs; p->name; p++) {
  ------------------
  |  Branch (12101:24): [True: 2.25k, False: 24]
  ------------------
12102|  2.25k|        assert(PyUnicode_CheckExact(p->name_strobj));
  ------------------
  |  Branch (12102:9): [True: 2.25k, False: 0]
  ------------------
12103|  2.25k|        assert(PyUnicode_CHECK_INTERNED(p->name_strobj));
  ------------------
  |  Branch (12103:9): [True: 2.25k, False: 0]
  ------------------
12104|  2.25k|        assert(PyUnicode_CheckExact(name));
  ------------------
  |  Branch (12104:9): [True: 2.25k, False: 0]
  ------------------
12105|       |        /* bpo-40521: Using interned strings. */
12106|  2.25k|        if (p->name_strobj == name) {
  ------------------
  |  Branch (12106:13): [True: 24, False: 2.23k]
  ------------------
12107|     24|            *pp++ = p;
12108|     24|        }
12109|  2.25k|    }
12110|     24|    *pp = NULL;
12111|     48|    for (pp = ptrs; *pp; pp++) {
  ------------------
  |  Branch (12111:21): [True: 24, False: 24]
  ------------------
12112|     24|        p = *pp;
12113|     24|        offset = p->offset;
12114|     27|        while (p > slotdefs && (p-1)->offset == offset)
  ------------------
  |  Branch (12114:16): [True: 27, False: 0]
  |  Branch (12114:32): [True: 3, False: 24]
  ------------------
12115|      3|            --p;
12116|     24|        *pp = p;
12117|     24|    }
12118|     24|    if (ptrs[0] == NULL)
  ------------------
  |  Branch (12118:9): [True: 0, False: 24]
  ------------------
12119|      0|        return 0; /* Not an attribute that affects any slots */
12120|       |
12121|     24|    update_callback_data_t callback_data;
12122|     24|    callback_data.defs = ptrs;
12123|     24|    callback_data.queued_updates = queued_updates;
12124|     24|    return update_subclasses(type, name,
12125|     24|                             update_slots_callback, (void *)&callback_data);
12126|     24|}
typeobject.c:update_subclasses:
12355|     24|{
12356|     24|    if (callback(type, data) < 0) {
  ------------------
  |  Branch (12356:9): [True: 0, False: 24]
  ------------------
12357|      0|        return -1;
12358|      0|    }
12359|     24|    return recurse_down_subclasses(type, attr_name, callback, data);
12360|     24|}
typeobject.c:recurse_down_subclasses:
12365|     24|{
12366|       |    // It is safe to use a borrowed reference because update_subclasses() is
12367|       |    // only used with update_slots_callback() which doesn't modify
12368|       |    // tp_subclasses.
12369|     24|    PyObject *subclasses = lookup_tp_subclasses(type);  // borrowed ref
12370|     24|    if (subclasses == NULL) {
  ------------------
  |  Branch (12370:9): [True: 24, False: 0]
  ------------------
12371|     24|        return 0;
12372|     24|    }
12373|     24|    assert(PyDict_CheckExact(subclasses));
  ------------------
  |  Branch (12373:5): [True: 0, False: 0]
  ------------------
12374|       |
12375|      0|    Py_ssize_t i = 0;
12376|      0|    PyObject *ref;
12377|      0|    while (PyDict_Next(subclasses, &i, NULL, &ref)) {
  ------------------
  |  Branch (12377:12): [True: 0, False: 0]
  ------------------
12378|      0|        PyTypeObject *subclass = type_from_ref(ref);
12379|      0|        if (subclass == NULL) {
  ------------------
  |  Branch (12379:13): [True: 0, False: 0]
  ------------------
12380|      0|            continue;
12381|      0|        }
12382|       |
12383|       |        /* Avoid recursing down into unaffected classes */
12384|      0|        PyObject *dict = lookup_tp_dict(subclass);
12385|      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 (12385:13): [True: 0, False: 0]
  ------------------
12386|      0|            int r = PyDict_Contains(dict, attr_name);
12387|      0|            if (r < 0) {
  ------------------
  |  Branch (12387:17): [True: 0, False: 0]
  ------------------
12388|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12389|      0|                return -1;
12390|      0|            }
12391|      0|            if (r > 0) {
  ------------------
  |  Branch (12391:17): [True: 0, False: 0]
  ------------------
12392|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12393|      0|                continue;
12394|      0|            }
12395|      0|        }
12396|       |
12397|      0|        if (update_subclasses(subclass, attr_name, callback, data) < 0) {
  ------------------
  |  Branch (12397:13): [True: 0, False: 0]
  ------------------
12398|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12399|      0|            return -1;
12400|      0|        }
12401|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12402|      0|    }
12403|      0|    return 0;
12404|      0|}
typeobject.c:update_slots_callback:
12074|     24|{
12075|     24|    ASSERT_NEW_TYPE_OR_LOCKED(type);
12076|       |
12077|     24|    update_callback_data_t *update_data = (update_callback_data_t *)data;
12078|     24|    pytype_slotdef **pp = update_data->defs;
12079|     48|    for (; *pp; pp++) {
  ------------------
  |  Branch (12079:12): [True: 24, False: 24]
  ------------------
12080|     24|        if (update_one_slot(type, *pp, NULL, update_data->queued_updates) < 0) {
  ------------------
  |  Branch (12080:13): [True: 0, False: 24]
  ------------------
12081|      0|            return -1;
12082|      0|        }
12083|     24|    }
12084|     24|    return 0;
12085|     24|}
typeobject.c:update_one_slot:
11909|  17.9k|{
11910|  17.9k|    ASSERT_NEW_TYPE_OR_LOCKED(type);
11911|       |
11912|  17.9k|    PyObject *descr;
11913|  17.9k|    PyWrapperDescrObject *d;
11914|       |
11915|       |    // The correct specialized C function, like "tp_repr of str" in the
11916|       |    // example above
11917|  17.9k|    void *specific = NULL;
11918|       |
11919|       |    // A generic wrapper that uses method lookup (safe but slow)
11920|  17.9k|    void *generic = NULL;
11921|       |
11922|       |    // Set to 1 if the generic wrapper is necessary
11923|  17.9k|    int use_generic = 0;
11924|       |
11925|  17.9k|    int offset = p->offset;
11926|  17.9k|    void **ptr = slotptr(type, offset);
11927|       |
11928|  17.9k|    if (ptr == NULL) {
  ------------------
  |  Branch (11928:9): [True: 0, False: 17.9k]
  ------------------
11929|      0|        do {
11930|      0|            ++p;
11931|      0|        } while (p->offset == offset);
  ------------------
  |  Branch (11931:18): [True: 0, False: 0]
  ------------------
11932|      0|        if (next_p != NULL) {
  ------------------
  |  Branch (11932:13): [True: 0, False: 0]
  ------------------
11933|      0|            *next_p = p;
11934|      0|        }
11935|      0|        return 0;
11936|      0|    }
11937|       |    /* We may end up clearing live exceptions below, so make sure it's ours. */
11938|  17.9k|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (11938:5): [True: 17.9k, False: 0]
  ------------------
11939|  25.2k|    do {
11940|       |        /* Use faster uncached lookup as we won't get any cache hits during type setup. */
11941|  25.2k|        _PyStackRef descr_ref;
11942|  25.2k|        int res = find_name_in_mro(type, p->name_strobj, &descr_ref);
11943|  25.2k|        if (res <= 0) {
  ------------------
  |  Branch (11943:13): [True: 19.5k, False: 5.64k]
  ------------------
11944|  19.5k|            if (ptr == (void**)&type->tp_iternext) {
  ------------------
  |  Branch (11944:17): [True: 251, False: 19.3k]
  ------------------
11945|    251|                specific = (void *)_PyObject_NextNotImplemented;
11946|    251|            }
11947|  19.5k|            continue;
11948|  19.5k|        }
11949|  5.64k|        descr = PyStackRef_AsPyObjectBorrow(descr_ref);
11950|  5.64k|        if (Py_IS_TYPE(descr, &PyWrapperDescr_Type) &&
  ------------------
  |  |  215|  11.2k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  5.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 4.32k, False: 1.31k]
  |  |  ------------------
  ------------------
11951|  4.32k|            ((PyWrapperDescrObject *)descr)->d_base->name_strobj == p->name_strobj) {
  ------------------
  |  Branch (11951:13): [True: 4.32k, False: 2]
  ------------------
11952|  4.32k|            void **tptr;
11953|  4.32k|            size_t index = (p - slotdefs);
11954|  4.32k|            if (slotdefs_dups[index][0] > 1) {
  ------------------
  |  Branch (11954:17): [True: 1.76k, False: 2.56k]
  ------------------
11955|  1.76k|                tptr = NULL;
11956|  5.23k|                for (size_t i = 1; i <= slotdefs_dups[index][0]; i++) {
  ------------------
  |  Branch (11956:36): [True: 3.52k, False: 1.71k]
  ------------------
11957|  3.52k|                    pytype_slotdef *q = &slotdefs[slotdefs_dups[index][i]];
11958|  3.52k|                    void **qptr = slotptr(type, q->offset);
11959|  3.52k|                    if (qptr == NULL || *qptr == NULL)
  ------------------
  |  Branch (11959:25): [True: 0, False: 3.52k]
  |  Branch (11959:41): [True: 1.71k, False: 1.81k]
  ------------------
11960|  1.71k|                        continue;
11961|  1.81k|                    if (tptr != NULL) {
  ------------------
  |  Branch (11961:25): [True: 50, False: 1.76k]
  ------------------
11962|     50|                        tptr = NULL;
11963|     50|                        break;
11964|     50|                    }
11965|  1.76k|                    tptr = qptr;
11966|  1.76k|                }
11967|  1.76k|            }
11968|  2.56k|            else {
11969|  2.56k|                tptr = slotptr(type, offset);
11970|  2.56k|            }
11971|       |
11972|  4.32k|            if (tptr == NULL || tptr == ptr)
  ------------------
  |  Branch (11972:17): [True: 50, False: 4.27k]
  |  Branch (11972:33): [True: 3.41k, False: 857]
  ------------------
11973|  3.46k|                generic = p->function;
11974|  4.32k|            d = (PyWrapperDescrObject *)descr;
11975|  4.32k|            if ((specific == NULL || specific == d->d_wrapped) &&
  ------------------
  |  Branch (11975:18): [True: 2.73k, False: 1.59k]
  |  Branch (11975:38): [True: 1.59k, False: 1]
  ------------------
11976|  4.32k|                d->d_base->wrapper == p->wrapper &&
  ------------------
  |  Branch (11976:17): [True: 3.45k, False: 865]
  ------------------
11977|  3.45k|                is_subtype_with_mro(lookup_tp_mro(type), type, PyDescr_TYPE(d)))
  ------------------
  |  |   35|  3.45k|#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
  ------------------
  |  Branch (11977:17): [True: 3.45k, False: 0]
  ------------------
11978|  3.45k|            {
11979|  3.45k|                specific = d->d_wrapped;
11980|  3.45k|            }
11981|    866|            else {
11982|       |                /* We cannot use the specific slot function because either
11983|       |                   - it is not unique: there are multiple methods for this
11984|       |                     slot and they conflict
11985|       |                   - the signature is wrong (as checked by the ->wrapper
11986|       |                     comparison above)
11987|       |                   - it's wrapping the wrong class
11988|       |                 */
11989|    866|                use_generic = 1;
11990|    866|            }
11991|  4.32k|        }
11992|  1.31k|        else if (Py_IS_TYPE(descr, &PyCFunction_Type) &&
  ------------------
  |  |  215|  2.63k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  1.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 240, False: 1.07k]
  |  |  ------------------
  ------------------
11993|    240|                 PyCFunction_GET_FUNCTION(descr) ==
  ------------------
  |  |   43|    240|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|    240|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    240|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (11993:18): [True: 240, False: 0]
  ------------------
11994|  1.31k|                 _PyCFunction_CAST(tp_new_wrapper) &&
  ------------------
  |  |   53|  1.31k|    _Py_FUNC_CAST(PyCFunction, func)
  |  |  ------------------
  |  |  |  |   47|    240|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11995|    240|                 ptr == (void**)&type->tp_new)
  ------------------
  |  Branch (11995:18): [True: 240, False: 0]
  ------------------
11996|    240|        {
11997|       |            /* The __new__ wrapper is not a wrapper descriptor,
11998|       |               so must be special-cased differently.
11999|       |               If we don't do this, creating an instance will
12000|       |               always use slot_tp_new which will look up
12001|       |               __new__ in the MRO which will call tp_new_wrapper
12002|       |               which will look through the base classes looking
12003|       |               for a static base and call its tp_new (usually
12004|       |               PyType_GenericNew), after performing various
12005|       |               sanity checks and constructing a new argument
12006|       |               list.  Cut all that nonsense short -- this speeds
12007|       |               up instance creation tremendously. */
12008|    240|            specific = (void *)type->tp_new;
12009|       |            /* XXX I'm not 100% sure that there isn't a hole
12010|       |               in this reasoning that requires additional
12011|       |               sanity checks.  I'll buy the first person to
12012|       |               point out a bug in this reasoning a beer. */
12013|    240|        }
12014|  1.07k|        else if (descr == Py_None &&
  ------------------
  |  |  616|  2.15k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (12014:18): [True: 32, False: 1.04k]
  ------------------
12015|     32|                 ptr == (void**)&type->tp_hash) {
  ------------------
  |  Branch (12015:18): [True: 32, False: 0]
  ------------------
12016|       |            /* We specifically allow __hash__ to be set to None
12017|       |               to prevent inheritance of the default
12018|       |               implementation from object.__hash__ */
12019|     32|            specific = (void *)PyObject_HashNotImplemented;
12020|     32|        }
12021|  1.04k|        else {
12022|  1.04k|            use_generic = 1;
12023|  1.04k|            if (generic == NULL && Py_IS_TYPE(descr, &PyMethodDescr_Type) &&
  ------------------
  |  |  215|  1.86k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    817|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    817|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 13, False: 804]
  |  |  ------------------
  ------------------
  |  Branch (12023:17): [True: 817, False: 228]
  ------------------
12024|     13|                *ptr == ((PyMethodDescrObject *)descr)->d_method->ml_meth)
  ------------------
  |  Branch (12024:17): [True: 5, False: 8]
  ------------------
12025|      5|            {
12026|      5|                generic = *ptr;
12027|      5|            }
12028|  1.04k|            else {
12029|  1.04k|                generic = p->function;
12030|  1.04k|            }
12031|  1.04k|            if (p->function == slot_tp_call) {
  ------------------
  |  Branch (12031:17): [True: 16, False: 1.02k]
  ------------------
12032|       |                /* A generic __call__ is incompatible with vectorcall */
12033|     16|                if (queued_updates == NULL) {
  ------------------
  |  Branch (12033:21): [True: 16, False: 0]
  ------------------
12034|     16|                    type_clear_flags(type, Py_TPFLAGS_HAVE_VECTORCALL);
  ------------------
  |  |  510|     16|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
12035|     16|                }
12036|     16|            }
12037|  1.04k|        }
12038|  5.64k|        PyStackRef_CLOSE(descr_ref);
12039|  25.2k|    } while ((++p)->offset == offset);
  ------------------
  |  Branch (12039:14): [True: 7.24k, False: 17.9k]
  ------------------
12040|       |
12041|  17.9k|    void *slot_value;
12042|  17.9k|    if (specific && !use_generic) {
  ------------------
  |  Branch (12042:9): [True: 2.38k, False: 15.5k]
  |  Branch (12042:21): [True: 2.32k, False: 59]
  ------------------
12043|  2.32k|        slot_value = specific;
12044|  15.6k|    } else {
12045|  15.6k|        slot_value = generic;
12046|  15.6k|    }
12047|       |
12048|       |#ifdef Py_GIL_DISABLED
12049|       |    if (queued_updates != NULL) {
12050|       |        // queue the update to perform later, while world is stopped
12051|       |        if (queue_slot_update(queued_updates, type, ptr, slot_value) < 0) {
12052|       |            return -1;
12053|       |        }
12054|       |    } else {
12055|       |        // do the update to the type structure now
12056|       |        *ptr = slot_value;
12057|       |    }
12058|       |#else
12059|       |    // always do the update immediately
12060|  17.9k|    assert(queued_updates == NULL);
  ------------------
  |  Branch (12060:5): [True: 17.9k, False: 0]
  ------------------
12061|  17.9k|    *ptr = slot_value;
12062|  17.9k|#endif
12063|       |
12064|  17.9k|    if (next_p != NULL) {
  ------------------
  |  Branch (12064:9): [True: 17.9k, False: 24]
  ------------------
12065|  17.9k|        *next_p = p;
12066|  17.9k|    }
12067|  17.9k|    return 0;
12068|  17.9k|}
typeobject.c:slotptr:
11796|  96.7k|{
11797|  96.7k|    char *ptr;
11798|  96.7k|    long offset = ioffset;
11799|       |
11800|       |    /* Note: this depends on the order of the members of PyHeapTypeObject! */
11801|  96.7k|    assert(offset >= 0);
  ------------------
  |  Branch (11801:5): [True: 96.7k, False: 0]
  ------------------
11802|  96.7k|    assert((size_t)offset < offsetof(PyHeapTypeObject, ht_name));
  ------------------
  |  Branch (11802:5): [True: 96.7k, False: 0]
  ------------------
11803|  96.7k|    if ((size_t)offset >= offsetof(PyHeapTypeObject, as_buffer)) {
  ------------------
  |  Branch (11803:9): [True: 2.15k, False: 94.5k]
  ------------------
11804|  2.15k|        ptr = (char *)type->tp_as_buffer;
11805|  2.15k|        offset -= offsetof(PyHeapTypeObject, as_buffer);
11806|  2.15k|    }
11807|  94.5k|    else if ((size_t)offset >= offsetof(PyHeapTypeObject, as_sequence)) {
  ------------------
  |  Branch (11807:14): [True: 10.4k, False: 84.1k]
  ------------------
11808|  10.4k|        ptr = (char *)type->tp_as_sequence;
11809|  10.4k|        offset -= offsetof(PyHeapTypeObject, as_sequence);
11810|  10.4k|    }
11811|  84.1k|    else if ((size_t)offset >= offsetof(PyHeapTypeObject, as_mapping)) {
  ------------------
  |  Branch (11811:14): [True: 4.16k, False: 79.9k]
  ------------------
11812|  4.16k|        ptr = (char *)type->tp_as_mapping;
11813|  4.16k|        offset -= offsetof(PyHeapTypeObject, as_mapping);
11814|  4.16k|    }
11815|  79.9k|    else if ((size_t)offset >= offsetof(PyHeapTypeObject, as_number)) {
  ------------------
  |  Branch (11815:14): [True: 49.4k, False: 30.5k]
  ------------------
11816|  49.4k|        ptr = (char *)type->tp_as_number;
11817|  49.4k|        offset -= offsetof(PyHeapTypeObject, as_number);
11818|  49.4k|    }
11819|  30.5k|    else if ((size_t)offset >= offsetof(PyHeapTypeObject, as_async)) {
  ------------------
  |  Branch (11819:14): [True: 3.21k, False: 27.3k]
  ------------------
11820|  3.21k|        ptr = (char *)type->tp_as_async;
11821|  3.21k|        offset -= offsetof(PyHeapTypeObject, as_async);
11822|  3.21k|    }
11823|  27.3k|    else {
11824|  27.3k|        ptr = (char *)type;
11825|  27.3k|    }
11826|  96.7k|    if (ptr != NULL)
  ------------------
  |  Branch (11826:9): [True: 71.2k, False: 25.4k]
  ------------------
11827|  71.2k|        ptr += offset;
11828|  96.7k|    return (void **)ptr;
11829|  96.7k|}
typeobject.c:tp_new_wrapper:
10414|    369|{
10415|    369|    PyTypeObject *staticbase;
10416|    369|    PyObject *arg0, *res;
10417|       |
10418|    369|    if (self == NULL || !PyType_Check(self)) {
  ------------------
  |  |  766|    369|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    369|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    369|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10418:9): [True: 0, False: 369]
  |  Branch (10418:25): [True: 0, False: 369]
  ------------------
10419|      0|        PyErr_Format(PyExc_SystemError,
10420|      0|                     "__new__() called with non-type 'self'");
10421|      0|        return NULL;
10422|      0|    }
10423|    369|    PyTypeObject *type = (PyTypeObject *)self;
10424|       |
10425|    369|    if (nargs < 1) {
  ------------------
  |  Branch (10425:9): [True: 0, False: 369]
  ------------------
10426|      0|        PyErr_Format(PyExc_TypeError,
10427|      0|                     "%s.__new__(): not enough arguments",
10428|      0|                     type->tp_name);
10429|      0|        return NULL;
10430|      0|    }
10431|    369|    arg0 = args[0];
10432|    369|    if (!PyType_Check(arg0)) {
  ------------------
  |  |  766|    369|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    369|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    369|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10432:9): [True: 0, False: 369]
  ------------------
10433|      0|        PyErr_Format(PyExc_TypeError,
10434|      0|                     "%s.__new__(X): X is not a type object (%s)",
10435|      0|                     type->tp_name,
10436|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10437|      0|        return NULL;
10438|      0|    }
10439|    369|    PyTypeObject *subtype = (PyTypeObject *)arg0;
10440|       |
10441|    369|    if (!PyType_IsSubtype(subtype, type)) {
  ------------------
  |  Branch (10441:9): [True: 0, False: 369]
  ------------------
10442|      0|        PyErr_Format(PyExc_TypeError,
10443|      0|                     "%s.__new__(%s): %s is not a subtype of %s",
10444|      0|                     type->tp_name,
10445|      0|                     subtype->tp_name,
10446|      0|                     subtype->tp_name,
10447|      0|                     type->tp_name);
10448|      0|        return NULL;
10449|      0|    }
10450|       |
10451|       |    /* Check that the use doesn't do something silly and unsafe like
10452|       |       object.__new__(dict).  To do this, we check that the
10453|       |       most derived base that's not a heap type is this type. */
10454|    369|    staticbase = subtype;
10455|    761|    while (staticbase && (staticbase->tp_new == slot_tp_new))
  ------------------
  |  Branch (10455:12): [True: 761, False: 0]
  |  Branch (10455:26): [True: 392, False: 369]
  ------------------
10456|    392|        staticbase = staticbase->tp_base;
10457|       |    /* If staticbase is NULL now, it is a really weird type.
10458|       |       In the spirit of backwards compatibility (?), just shut up. */
10459|    369|    if (staticbase && staticbase->tp_new != type->tp_new) {
  ------------------
  |  Branch (10459:9): [True: 369, False: 0]
  |  Branch (10459:23): [True: 0, False: 369]
  ------------------
10460|      0|        if (staticbase->tp_new == NULL) {
  ------------------
  |  Branch (10460:13): [True: 0, False: 0]
  ------------------
10461|      0|            PyErr_Format(PyExc_TypeError,
10462|      0|                         "cannot create '%s' instances", subtype->tp_name);
10463|      0|            return NULL;
10464|      0|        }
10465|      0|        PyErr_Format(PyExc_TypeError,
10466|      0|                     "%s.__new__(%s) is not safe, use %s.__new__()",
10467|      0|                     type->tp_name,
10468|      0|                     subtype->tp_name,
10469|      0|                     staticbase->tp_name);
10470|      0|        return NULL;
10471|      0|    }
10472|       |
10473|    369|    PyObject *args_tuple = PyTuple_FromArray(args + 1, nargs - 1);
10474|    369|    if (args_tuple == NULL) {
  ------------------
  |  Branch (10474:9): [True: 0, False: 369]
  ------------------
10475|      0|        return NULL;
10476|      0|    }
10477|    369|    PyObject *kwds = NULL;
10478|    369|    if (kwnames != NULL) {
  ------------------
  |  Branch (10478:9): [True: 0, False: 369]
  ------------------
10479|      0|        kwds = _PyStack_AsDict(args + nargs, kwnames);
10480|      0|        if (kwds == NULL) {
  ------------------
  |  Branch (10480:13): [True: 0, False: 0]
  ------------------
10481|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10482|      0|            return NULL;
10483|      0|        }
10484|      0|    }
10485|    369|    res = type->tp_new(subtype, args_tuple, kwds);
10486|    369|    Py_DECREF(args_tuple);
  ------------------
  |  |  430|    369|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    369|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    369|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10487|    369|    Py_XDECREF(kwds);
  ------------------
  |  |  524|    369|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    369|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    369|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10488|    369|    return res;
10489|    369|}
typeobject.c:slot_tp_new:
11198|    340|{
11199|    340|    PyThreadState *tstate = _PyThreadState_GET();
11200|    340|    PyObject *result;
11201|       |
11202|    340|    _PyCStackRef func_ref;
11203|    340|    _PyThreadState_PushCStackRef(tstate, &func_ref);
11204|    340|    func_ref.ref = _PyObject_GetAttrStackRef((PyObject *)type, &_Py_ID(__new__));
  ------------------
  |  |  920|    340|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    340|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    340|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11205|    340|    if (PyStackRef_IsNull(func_ref.ref)) {
  ------------------
  |  |  482|    340|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|    340|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    340|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 340]
  |  |  ------------------
  ------------------
11206|      0|        _PyThreadState_PopCStackRef(tstate, &func_ref);
11207|      0|        return NULL;
11208|      0|    }
11209|       |
11210|    340|    PyObject *func = PyStackRef_AsPyObjectBorrow(func_ref.ref);
11211|    340|    result = _PyObject_Call_Prepend(tstate, func, (PyObject *)type, args, kwds);
11212|    340|    _PyThreadState_PopCStackRef(tstate, &func_ref);
11213|    340|    return result;
11214|    340|}
typeobject.c:slot_tp_call:
10943|  2.20k|{
10944|  2.20k|    return call_method(self, &_Py_ID(__call__), args, kwds);
  ------------------
  |  |  920|  2.20k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.20k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.20k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10945|  2.20k|}
typeobject.c:call_method:
 3091|   457k|{
 3092|   457k|    PyThreadState *tstate = _PyThreadState_GET();
 3093|   457k|    _PyCStackRef cref;
 3094|   457k|    _PyThreadState_PushCStackRef(tstate, &cref);
 3095|   457k|    PyObject *res = NULL;
 3096|   457k|    int unbound = lookup_method(self, attr, &cref.ref);
 3097|   457k|    if (unbound >= 0) {
  ------------------
  |  Branch (3097:9): [True: 457k, False: 0]
  ------------------
 3098|   457k|        PyObject *meth = PyStackRef_AsPyObjectBorrow(cref.ref);
 3099|   457k|        if (unbound) {
  ------------------
  |  Branch (3099:13): [True: 457k, False: 0]
  ------------------
 3100|   457k|            res = _PyObject_Call_Prepend(tstate, meth, self, args, kwds);
 3101|   457k|        }
 3102|      0|        else {
 3103|      0|            res = _PyObject_Call(tstate, meth, args, kwds);
 3104|      0|        }
 3105|   457k|    }
 3106|   457k|    _PyThreadState_PopCStackRef(tstate, &cref);
 3107|   457k|    return res;
 3108|   457k|}
typeobject.c:lookup_method:
 3040|  20.6M|{
 3041|  20.6M|    return lookup_method_ex(self, attr, out, 1);
 3042|  20.6M|}
typeobject.c:type_traverse:
 7199|  67.3k|{
 7200|  67.3k|    PyTypeObject *type = PyTypeObject_CAST(self);
  ------------------
  |  |  200|  67.3k|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 7201|       |
 7202|       |    /* Because of type_is_gc(), the collector only calls this
 7203|       |       for heaptypes. */
 7204|  67.3k|    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|  67.3k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (7204:9): [True: 0, False: 67.3k]
  ------------------
 7205|      0|        char msg[200];
 7206|      0|        sprintf(msg, "type_traverse() called on non-heap type '%.100s'",
 7207|      0|                type->tp_name);
 7208|      0|        _PyObject_ASSERT_FAILED_MSG((PyObject *)type, msg);
  ------------------
  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  ------------------
 7209|      0|    }
 7210|       |
 7211|  67.3k|    Py_VISIT(type->tp_dict);
  ------------------
  |  |  194|  67.3k|    do {                                                                \
  |  |  195|  67.3k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 67.3k, False: 0]
  |  |  ------------------
  |  |  196|  67.3k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  67.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  67.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  67.3k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 67.3k]
  |  |  ------------------
  |  |  198|  67.3k|                return vret;                                            \
  |  |  199|  67.3k|        }                                                               \
  |  |  200|  67.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 67.3k]
  |  |  ------------------
  ------------------
 7212|  67.3k|    Py_VISIT(type->tp_cache);
  ------------------
  |  |  194|  67.3k|    do {                                                                \
  |  |  195|  67.3k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 67.3k]
  |  |  ------------------
  |  |  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|  67.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 67.3k]
  |  |  ------------------
  ------------------
 7213|  67.3k|    Py_VISIT(type->tp_mro);
  ------------------
  |  |  194|  67.3k|    do {                                                                \
  |  |  195|  67.3k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 67.3k, False: 0]
  |  |  ------------------
  |  |  196|  67.3k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  67.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  67.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  67.3k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 67.3k]
  |  |  ------------------
  |  |  198|  67.3k|                return vret;                                            \
  |  |  199|  67.3k|        }                                                               \
  |  |  200|  67.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 67.3k]
  |  |  ------------------
  ------------------
 7214|  67.3k|    Py_VISIT(type->tp_bases);
  ------------------
  |  |  194|  67.3k|    do {                                                                \
  |  |  195|  67.3k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 67.3k, False: 0]
  |  |  ------------------
  |  |  196|  67.3k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  67.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  67.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  67.3k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 67.3k]
  |  |  ------------------
  |  |  198|  67.3k|                return vret;                                            \
  |  |  199|  67.3k|        }                                                               \
  |  |  200|  67.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 67.3k]
  |  |  ------------------
  ------------------
 7215|  67.3k|    Py_VISIT(type->tp_base);
  ------------------
  |  |  194|  67.3k|    do {                                                                \
  |  |  195|  67.3k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 67.3k, False: 0]
  |  |  ------------------
  |  |  196|  67.3k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  67.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  67.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  67.3k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 67.3k]
  |  |  ------------------
  |  |  198|  67.3k|                return vret;                                            \
  |  |  199|  67.3k|        }                                                               \
  |  |  200|  67.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 67.3k]
  |  |  ------------------
  ------------------
 7216|  67.3k|    Py_VISIT(((PyHeapTypeObject *)type)->ht_module);
  ------------------
  |  |  194|  67.3k|    do {                                                                \
  |  |  195|  67.3k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16.3k, False: 50.9k]
  |  |  ------------------
  |  |  196|  16.3k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  16.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  16.3k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16.3k]
  |  |  ------------------
  |  |  198|  16.3k|                return vret;                                            \
  |  |  199|  16.3k|        }                                                               \
  |  |  200|  67.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 67.3k]
  |  |  ------------------
  ------------------
 7217|       |
 7218|       |    /* There's no need to visit others because they can't be involved
 7219|       |       in cycles:
 7220|       |       type->tp_subclasses is a list of weak references,
 7221|       |       ((PyHeapTypeObject *)type)->ht_slots is a tuple of strings,
 7222|       |       ((PyHeapTypeObject *)type)->ht_*name are strings.
 7223|       |       */
 7224|       |
 7225|  67.3k|    return 0;
 7226|  67.3k|}
typeobject.c:type_clear:
 7230|      8|{
 7231|      8|    PyTypeObject *type = PyTypeObject_CAST(self);
  ------------------
  |  |  200|      8|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 7232|       |
 7233|       |    /* Because of type_is_gc(), the collector only calls this
 7234|       |       for heaptypes. */
 7235|      8|    _PyObject_ASSERT((PyObject *)type, type->tp_flags & Py_TPFLAGS_HEAPTYPE);
  ------------------
  |  |  423|      8|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|      8|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  414|      8|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (414:6): [True: 8, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  415|      8|      ? (void)(0) \
  |  |  |  |  |  |  416|      8|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7236|       |
 7237|       |    /* We need to invalidate the method cache carefully before clearing
 7238|       |       the dict, so that other objects caught in a reference cycle
 7239|       |       don't start calling destroyed methods.
 7240|       |
 7241|       |       Otherwise, we need to clear tp_mro, which is
 7242|       |       part of a hard cycle (its first element is the class itself) that
 7243|       |       won't be broken otherwise (it's a tuple and tuples don't have a
 7244|       |       tp_clear handler).
 7245|       |       We also need to clear ht_module, if present: the module usually holds a
 7246|       |       reference to its class. None of the other fields need to be
 7247|       |
 7248|       |       cleared, and here's why:
 7249|       |
 7250|       |       tp_cache:
 7251|       |           Not used; if it were, it would be a dict.
 7252|       |
 7253|       |       tp_bases, tp_base:
 7254|       |           If these are involved in a cycle, there must be at least
 7255|       |           one other, mutable object in the cycle, e.g. a base
 7256|       |           class's dict; the cycle will be broken that way.
 7257|       |
 7258|       |       tp_subclasses:
 7259|       |           A dict of weak references can't be part of a cycle; and
 7260|       |           dicts have their own tp_clear.
 7261|       |
 7262|       |       slots (in PyHeapTypeObject):
 7263|       |           A tuple of strings can't be part of a cycle.
 7264|       |    */
 7265|       |
 7266|      8|    PyType_Modified(type);
 7267|      8|    PyObject *dict = lookup_tp_dict(type);
 7268|      8|    if (dict) {
  ------------------
  |  Branch (7268:9): [True: 8, False: 0]
  ------------------
 7269|      8|        PyDict_Clear(dict);
 7270|      8|    }
 7271|      8|    Py_CLEAR(((PyHeapTypeObject *)type)->ht_module);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 7272|       |
 7273|      8|    Py_CLEAR(type->tp_mro);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 7274|       |
 7275|      8|    return 0;
 7276|      8|}
typeobject.c:type_mro_impl:
 3537|     85|{
 3538|     85|    PyObject *seq;
 3539|     85|    seq = mro_implementation(self);
 3540|     85|    if (seq != NULL && !PyList_Check(seq)) {
  ------------------
  |  |   25|     85|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     85|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3540:9): [True: 85, False: 0]
  |  Branch (3540:24): [True: 69, False: 16]
  ------------------
 3541|     69|        Py_SETREF(seq, PySequence_List(seq));
  ------------------
  |  |  352|     69|    do { \
  |  |  353|     69|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     69|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|     69|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     69|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|     69|        *_tmp_dst_ptr = (src); \
  |  |  356|     69|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|     69|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     69|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     69|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|     69|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 69]
  |  |  ------------------
  ------------------
 3542|     69|    }
 3543|     85|    return seq;
 3544|     85|}
typeobject.c:mro_implementation:
 3520|     85|{
 3521|     85|    PyObject *mro;
 3522|     85|    BEGIN_TYPE_LOCK();
 3523|     85|    mro = mro_implementation_unlocked(type);
 3524|     85|    END_TYPE_LOCK();
 3525|     85|    return mro;
 3526|     85|}
typeobject.c:mro_implementation_unlocked:
 3432|    800|{
 3433|    800|    ASSERT_TYPE_LOCK_HELD();
 3434|       |
 3435|    800|    if (!_PyType_IsReady(type)) {
  ------------------
  |  Branch (3435:9): [True: 0, False: 800]
  ------------------
 3436|      0|        if (PyType_Ready(type) < 0)
  ------------------
  |  Branch (3436:13): [True: 0, False: 0]
  ------------------
 3437|      0|            return NULL;
 3438|      0|    }
 3439|       |
 3440|    800|    PyObject *bases = lookup_tp_bases(type);
 3441|    800|    Py_ssize_t n = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|    800|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    800|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    800|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3442|  1.63k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3442:28): [True: 835, False: 800]
  ------------------
 3443|  1.67k|        PyTypeObject *base = _PyType_CAST(PyTuple_GET_ITEM(bases, i));
  ------------------
  |  |  770|    835|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (37:38): [True: 835, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3443:30): [True: 835, False: 0]
  |  Branch (3443:30): [True: 835, False: 0]
  ------------------
 3444|    835|        if (lookup_tp_mro(base) == NULL) {
  ------------------
  |  Branch (3444:13): [True: 0, False: 835]
  ------------------
 3445|      0|            PyErr_Format(PyExc_TypeError,
 3446|      0|                         "Cannot extend an incomplete type '%.100s'",
 3447|      0|                         base->tp_name);
 3448|      0|            return NULL;
 3449|      0|        }
 3450|  1.67k|        assert(PyTuple_Check(lookup_tp_mro(base)));
  ------------------
  |  Branch (3450:9): [True: 835, False: 0]
  ------------------
 3451|    835|    }
 3452|       |
 3453|    800|    if (n == 1) {
  ------------------
  |  Branch (3453:9): [True: 765, False: 35]
  ------------------
 3454|       |        /* Fast path: if there is a single base, constructing the MRO
 3455|       |         * is trivial.
 3456|       |         */
 3457|  1.53k|        PyTypeObject *base = _PyType_CAST(PyTuple_GET_ITEM(bases, 0));
  ------------------
  |  |  770|    765|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.53k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (37:38): [True: 765, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3457:30): [True: 765, False: 0]
  |  Branch (3457:30): [True: 765, False: 0]
  ------------------
 3458|      0|        PyObject *base_mro = lookup_tp_mro(base);
 3459|  1.53k|        assert(base_mro != NULL);
  ------------------
  |  Branch (3459:9): [True: 765, False: 0]
  ------------------
 3460|    765|        Py_ssize_t k = PyTuple_GET_SIZE(base_mro);
  ------------------
  |  |   27|    765|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    765|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    765|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3461|    765|        PyObject *result = PyTuple_New(k + 1);
 3462|    765|        if (result == NULL) {
  ------------------
  |  Branch (3462:13): [True: 0, False: 765]
  ------------------
 3463|      0|            return NULL;
 3464|      0|        }
 3465|       |
 3466|    765|        ;
 3467|    765|        PyTuple_SET_ITEM(result, 0, Py_NewRef(type));
  ------------------
  |  |   40|    765|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    765|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    765|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    765|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    765|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3468|  2.28k|        for (Py_ssize_t i = 0; i < k; i++) {
  ------------------
  |  Branch (3468:32): [True: 1.52k, False: 765]
  ------------------
 3469|  1.52k|            PyObject *cls = PyTuple_GET_ITEM(base_mro, i);
  ------------------
  |  |   29|  1.52k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.52k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3469:29): [True: 1.52k, False: 0]
  ------------------
 3470|  1.52k|            PyTuple_SET_ITEM(result, i + 1, Py_NewRef(cls));
  ------------------
  |  |   40|  1.52k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3471|  1.52k|        }
 3472|    765|        return result;
 3473|    765|    }
 3474|       |
 3475|       |    /* This is just a basic sanity check. */
 3476|     35|    if (check_duplicates(bases) < 0) {
  ------------------
  |  Branch (3476:9): [True: 0, False: 35]
  ------------------
 3477|      0|        return NULL;
 3478|      0|    }
 3479|       |
 3480|       |    /* Find a superclass linearization that honors the constraints
 3481|       |       of the explicit tuples of bases and the constraints implied by
 3482|       |       each base class.
 3483|       |
 3484|       |       to_merge is an array of tuples, where each tuple is a superclass
 3485|       |       linearization implied by a base class.  The last element of
 3486|       |       to_merge is the declared tuple of bases.
 3487|       |    */
 3488|     35|    PyObject **to_merge = PyMem_New(PyObject *, n + 1);
  ------------------
  |  |   64|     35|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|     35|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 35]
  |  |  ------------------
  |  |   65|     35|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
 3489|     35|    if (to_merge == NULL) {
  ------------------
  |  Branch (3489:9): [True: 0, False: 35]
  ------------------
 3490|      0|        PyErr_NoMemory();
 3491|      0|        return NULL;
 3492|      0|    }
 3493|       |
 3494|     35|    PyObject *mro_to_merge;
 3495|    105|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3495:28): [True: 70, False: 35]
  ------------------
 3496|    140|        PyTypeObject *base = _PyType_CAST(PyTuple_GET_ITEM(bases, i));
  ------------------
  |  |  770|     70|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    140|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (37:38): [True: 70, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3496:30): [True: 70, False: 0]
  |  Branch (3496:30): [True: 70, False: 0]
  ------------------
 3497|      0|        mro_to_merge = lookup_tp_mro(base);
 3498|    140|        assert(mro_to_merge != NULL);
  ------------------
  |  Branch (3498:9): [True: 70, False: 0]
  ------------------
 3499|     70|        to_merge[i] = mro_to_merge;
 3500|     70|    }
 3501|     35|    to_merge[n] = bases;
 3502|       |
 3503|     35|    PyObject *result = PyList_New(1);
 3504|     35|    if (result == NULL) {
  ------------------
  |  Branch (3504:9): [True: 0, False: 35]
  ------------------
 3505|      0|        PyMem_Free(to_merge);
 3506|      0|        return NULL;
 3507|      0|    }
 3508|       |
 3509|     35|    PyList_SET_ITEM(result, 0, Py_NewRef(type));
  ------------------
  |  |   50|     35|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3510|     35|    if (pmerge(result, to_merge, n + 1) < 0) {
  ------------------
  |  Branch (3510:9): [True: 0, False: 35]
  ------------------
 3511|      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]
  |  |  ------------------
  ------------------
 3512|      0|    }
 3513|     35|    PyMem_Free(to_merge);
 3514|       |
 3515|     35|    return result;
 3516|     35|}
typeobject.c:check_duplicates:
 3271|     35|{
 3272|     35|    Py_ssize_t i, j, n;
 3273|       |    /* Let's use a quadratic time algorithm,
 3274|       |       assuming that the bases tuples is short.
 3275|       |    */
 3276|     35|    n = PyTuple_GET_SIZE(tuple);
  ------------------
  |  |   27|     35|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3277|    105|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (3277:17): [True: 70, False: 35]
  ------------------
 3278|     70|        PyObject *o = PyTuple_GET_ITEM(tuple, i);
  ------------------
  |  |   29|     70|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     70|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3278:23): [True: 70, False: 0]
  ------------------
 3279|    111|        for (j = i + 1; j < n; j++) {
  ------------------
  |  Branch (3279:25): [True: 41, False: 70]
  ------------------
 3280|     82|            if (PyTuple_GET_ITEM(tuple, j) == o) {
  ------------------
  |  |   29|     41|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     41|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     41|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3280:17): [True: 41, False: 0]
  |  Branch (3280:17): [True: 0, False: 41]
  ------------------
 3281|      0|                o = class_name(o);
 3282|      0|                if (o != NULL) {
  ------------------
  |  Branch (3282:21): [True: 0, False: 0]
  ------------------
 3283|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3284|      0|                        PyErr_Format(PyExc_TypeError,
 3285|      0|                                     "duplicate base class %U", o);
 3286|      0|                    }
 3287|      0|                    else {
 3288|      0|                        PyErr_SetString(PyExc_TypeError,
 3289|      0|                                        "duplicate base class");
 3290|      0|                    }
 3291|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3292|      0|                }
 3293|      0|                return -1;
 3294|      0|            }
 3295|     41|        }
 3296|     70|    }
 3297|     35|    return 0;
 3298|     35|}
typeobject.c:pmerge:
 3362|     35|{
 3363|     35|    int res = 0;
 3364|     35|    Py_ssize_t i, j, empty_cnt;
 3365|     35|    Py_ssize_t *remain;
 3366|       |
 3367|       |    /* remain stores an index into each sublist of to_merge.
 3368|       |       remain[i] is the index of the next base in to_merge[i]
 3369|       |       that is not included in acc.
 3370|       |    */
 3371|     35|    remain = PyMem_New(Py_ssize_t, to_merge_size);
  ------------------
  |  |   64|     35|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|     35|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 35]
  |  |  ------------------
  |  |   65|     35|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
 3372|     35|    if (remain == NULL) {
  ------------------
  |  Branch (3372:9): [True: 0, False: 35]
  ------------------
 3373|      0|        PyErr_NoMemory();
 3374|      0|        return -1;
 3375|      0|    }
 3376|    140|    for (i = 0; i < to_merge_size; i++)
  ------------------
  |  Branch (3376:17): [True: 105, False: 35]
  ------------------
 3377|    105|        remain[i] = 0;
 3378|       |
 3379|    202|  again:
 3380|    202|    empty_cnt = 0;
 3381|    373|    for (i = 0; i < to_merge_size; i++) {
  ------------------
  |  Branch (3381:17): [True: 338, False: 35]
  ------------------
 3382|    338|        PyObject *candidate;
 3383|       |
 3384|    338|        PyObject *cur_tuple = to_merge[i];
 3385|       |
 3386|    338|        if (remain[i] >= PyTuple_GET_SIZE(cur_tuple)) {
  ------------------
  |  |   27|    338|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    338|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    338|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3386:13): [True: 105, False: 233]
  ------------------
 3387|    105|            empty_cnt++;
 3388|    105|            continue;
 3389|    105|        }
 3390|       |
 3391|       |        /* Choose next candidate for MRO.
 3392|       |
 3393|       |           The input sequences alone can determine the choice.
 3394|       |           If not, choose the class which appears in the MRO
 3395|       |           of the earliest direct superclass of the new class.
 3396|       |        */
 3397|       |
 3398|    233|        candidate = PyTuple_GET_ITEM(cur_tuple, remain[i]);
  ------------------
  |  |   29|    233|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    233|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    233|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3398:21): [True: 233, False: 0]
  ------------------
 3399|    828|        for (j = 0; j < to_merge_size; j++) {
  ------------------
  |  Branch (3399:21): [True: 661, False: 167]
  ------------------
 3400|    661|            PyObject *j_lst = to_merge[j];
 3401|    661|            if (tail_contains(j_lst, remain[j], candidate))
  ------------------
  |  Branch (3401:17): [True: 66, False: 595]
  ------------------
 3402|     66|                goto skip; /* continue outer loop */
 3403|    661|        }
 3404|    167|        res = PyList_Append(acc, candidate);
 3405|    167|        if (res < 0)
  ------------------
  |  Branch (3405:13): [True: 0, False: 167]
  ------------------
 3406|      0|            goto out;
 3407|       |
 3408|    689|        for (j = 0; j < to_merge_size; j++) {
  ------------------
  |  Branch (3408:21): [True: 522, False: 167]
  ------------------
 3409|    522|            PyObject *j_lst = to_merge[j];
 3410|    522|            if (remain[j] < PyTuple_GET_SIZE(j_lst) &&
  ------------------
  |  |   27|  1.04k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    522|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    522|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3410:17): [True: 427, False: 95]
  ------------------
 3411|    854|                PyTuple_GET_ITEM(j_lst, remain[j]) == candidate) {
  ------------------
  |  |   29|    427|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    427|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    427|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3411:17): [True: 427, False: 0]
  |  Branch (3411:17): [True: 316, False: 111]
  ------------------
 3412|    316|                remain[j]++;
 3413|    316|            }
 3414|    522|        }
 3415|    167|        goto again;
 3416|     66|      skip: ;
 3417|     66|    }
 3418|       |
 3419|     35|    if (empty_cnt != to_merge_size) {
  ------------------
  |  Branch (3419:9): [True: 0, False: 35]
  ------------------
 3420|      0|        set_mro_error(to_merge, to_merge_size, remain);
 3421|      0|        res = -1;
 3422|      0|    }
 3423|       |
 3424|     35|  out:
 3425|     35|    PyMem_Free(remain);
 3426|       |
 3427|     35|    return res;
 3428|     35|}
typeobject.c:tail_contains:
 3247|    661|{
 3248|    661|    Py_ssize_t j, size;
 3249|    661|    size = PyTuple_GET_SIZE(tuple);
  ------------------
  |  |   27|    661|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    661|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    661|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3250|       |
 3251|  1.32k|    for (j = whence+1; j < size; j++) {
  ------------------
  |  Branch (3251:24): [True: 731, False: 595]
  ------------------
 3252|  1.46k|        if (PyTuple_GET_ITEM(tuple, j) == o)
  ------------------
  |  |   29|    731|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    731|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    731|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3252:13): [True: 731, False: 0]
  |  Branch (3252:13): [True: 66, False: 665]
  ------------------
 3253|     66|            return 1;
 3254|    731|    }
 3255|    595|    return 0;
 3256|    661|}
typeobject.c:type___subclasses___impl:
 7057|     58|{
 7058|     58|    return _PyType_GetSubclasses(self);
 7059|     58|}
typeobject.c:type_prepare:
 7064|    249|{
 7065|    249|    return PyDict_New();
 7066|    249|}
typeobject.c:type___instancecheck___impl:
 2355|  6.80k|{
 2356|  6.80k|    return _PyObject_RealIsInstance(instance, (PyObject *)self);
 2357|  6.80k|}
typeobject.c:type___subclasscheck___impl:
 2371|     10|{
 2372|     10|    return _PyObject_RealIsSubclass(subclass, (PyObject *)self);
 2373|     10|}
typeobject.c:check_set_special_type_attr:
 1484|      5|{
 1485|      5|    if (!value) {
  ------------------
  |  Branch (1485:9): [True: 0, False: 5]
  ------------------
 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|      5|    if (_PyType_HasFeature(type, Py_TPFLAGS_IMMUTABLETYPE)) {
  ------------------
  |  |  500|      5|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (1491:9): [True: 0, False: 5]
  ------------------
 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|      5|    if (PySys_Audit("object.__setattr__", "OsO",
  ------------------
  |  Branch (1498:9): [True: 0, False: 5]
  ------------------
 1499|      5|                    type, name, value) < 0) {
 1500|      0|        return 0;
 1501|      0|    }
 1502|       |
 1503|      5|    return 1;
 1504|      5|}
typeobject.c:type_get_bases:
 1759|     76|{
 1760|     76|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|     76|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1761|     76|    PyObject *bases = _PyType_GetBases(type);
 1762|     76|    if (bases == NULL) {
  ------------------
  |  Branch (1762:9): [True: 0, False: 76]
  ------------------
 1763|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1764|      0|    }
 1765|     76|    return bases;
 1766|     76|}
typeobject.c:mro_internal:
 3656|    800|{
 3657|    800|    ASSERT_TYPE_LOCK_HELD();
 3658|       |
 3659|    800|    PyObject *new_mro, *old_mro;
 3660|    800|    int reent;
 3661|       |
 3662|       |    /* Keep a reference to be able to do a reentrancy check below.
 3663|       |       Don't let old_mro be GC'ed and its address be reused for
 3664|       |       another object, like (suddenly!) a new tp_mro.  */
 3665|    800|    old_mro = Py_XNewRef(lookup_tp_mro(type));
  ------------------
  |  |  551|    800|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    800|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    800|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3666|    800|    new_mro = mro_invoke(type);  /* might cause reentrance */
 3667|    800|    reent = (lookup_tp_mro(type) != old_mro);
 3668|    800|    Py_XDECREF(old_mro);
  ------------------
  |  |  524|    800|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    800|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    800|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3669|    800|    if (new_mro == NULL) {
  ------------------
  |  Branch (3669:9): [True: 0, False: 800]
  ------------------
 3670|      0|        return -1;
 3671|      0|    }
 3672|       |
 3673|    800|    if (reent) {
  ------------------
  |  Branch (3673:9): [True: 0, False: 800]
  ------------------
 3674|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3675|      0|        return 0;
 3676|      0|    }
 3677|       |
 3678|    800|    set_tp_mro(type, new_mro, initial);
 3679|       |
 3680|    800|    type_mro_modified(type, new_mro);
 3681|       |    /* corner case: the super class might have been hidden
 3682|       |       from the custom MRO */
 3683|    800|    type_mro_modified(type, lookup_tp_bases(type));
 3684|       |
 3685|       |    // XXX Expand this to Py_TPFLAGS_IMMUTABLETYPE?
 3686|    800|    if (!(type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN)) {
  ------------------
  |  |  467|    800|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (3686:9): [True: 386, False: 414]
  ------------------
 3687|    386|        _PyType_Modified_Unlocked(type);
 3688|    386|    }
 3689|    414|    else {
 3690|       |        /* For static builtin types, this is only called during init
 3691|       |           before the method cache has been populated. */
 3692|    414|        assert(type->tp_version_tag);
  ------------------
  |  Branch (3692:9): [True: 414, False: 0]
  ------------------
 3693|    414|    }
 3694|       |
 3695|    800|    if (p_old_mro != NULL)
  ------------------
  |  Branch (3695:9): [True: 0, False: 800]
  ------------------
 3696|      0|        *p_old_mro = old_mro;  /* transfer the ownership */
 3697|    800|    else
 3698|    800|        Py_XDECREF(old_mro);
  ------------------
  |  |  524|    800|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    800|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    800|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3699|       |
 3700|    800|    return 1;
 3701|    800|}
typeobject.c:mro_invoke:
 3592|    800|{
 3593|    800|    PyObject *mro_result;
 3594|    800|    PyObject *new_mro;
 3595|       |
 3596|    800|    ASSERT_TYPE_LOCK_HELD();
 3597|       |
 3598|    800|    const int custom = !Py_IS_TYPE(type, &PyType_Type);
  ------------------
  |  |  215|    800|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    800|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    800|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3599|       |
 3600|    800|    if (custom) {
  ------------------
  |  Branch (3600:9): [True: 85, False: 715]
  ------------------
 3601|       |        // Custom mro() method on metaclass.  This is potentially re-entrant.
 3602|       |        // We are called either from type_ready() or from type_set_bases().
 3603|     85|        mro_result = call_method_noarg((PyObject *)type, &_Py_ID(mro));
  ------------------
  |  |  920|     85|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     85|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     85|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3604|     85|    }
 3605|    715|    else {
 3606|       |        // In this case, the mro() method on the type object is being used and
 3607|       |        // we know that these calls are not re-entrant.
 3608|    715|        mro_result = mro_implementation_unlocked(type);
 3609|    715|    }
 3610|    800|    if (mro_result == NULL)
  ------------------
  |  Branch (3610:9): [True: 0, False: 800]
  ------------------
 3611|      0|        return NULL;
 3612|       |
 3613|    800|    new_mro = PySequence_Tuple(mro_result);
 3614|    800|    Py_DECREF(mro_result);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3615|    800|    if (new_mro == NULL) {
  ------------------
  |  Branch (3615:9): [True: 0, False: 800]
  ------------------
 3616|      0|        return NULL;
 3617|      0|    }
 3618|       |
 3619|    800|    if (PyTuple_GET_SIZE(new_mro) == 0) {
  ------------------
  |  |   27|    800|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    800|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    800|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3619:9): [True: 0, False: 800]
  ------------------
 3620|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3621|      0|        PyErr_Format(PyExc_TypeError, "type MRO must not be empty");
 3622|      0|        return NULL;
 3623|      0|    }
 3624|       |
 3625|    800|    if (custom && mro_check(type, new_mro) < 0) {
  ------------------
  |  Branch (3625:9): [True: 85, False: 715]
  |  Branch (3625:19): [True: 0, False: 85]
  ------------------
 3626|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3627|      0|        return NULL;
 3628|      0|    }
 3629|    800|    return new_mro;
 3630|    800|}
typeobject.c:call_method_noarg:
 3075|     85|{
 3076|     85|    PyThreadState *tstate = _PyThreadState_GET();
 3077|     85|    _PyCStackRef cref;
 3078|     85|    _PyThreadState_PushCStackRef(tstate, &cref);
 3079|     85|    PyObject *res = NULL;
 3080|     85|    int unbound = lookup_method(self, attr, &cref.ref);
 3081|     85|    if (unbound >= 0) {
  ------------------
  |  Branch (3081:9): [True: 85, False: 0]
  ------------------
 3082|     85|        PyObject *func = PyStackRef_AsPyObjectBorrow(cref.ref);
 3083|     85|        res = call_unbound_noarg(unbound, func, self);
 3084|     85|    }
 3085|     85|    _PyThreadState_PopCStackRef(tstate, &cref);
 3086|     85|    return res;
 3087|     85|}
typeobject.c:mro_check:
 3548|     85|{
 3549|     85|    PyTypeObject *solid;
 3550|     85|    Py_ssize_t i, n;
 3551|       |
 3552|     85|    solid = solid_base(type);
 3553|       |
 3554|     85|    n = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   27|     85|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3555|    487|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (3555:17): [True: 402, False: 85]
  ------------------
 3556|    402|        PyObject *obj = PyTuple_GET_ITEM(mro, i);
  ------------------
  |  |   29|    402|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    402|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    402|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3556:25): [True: 402, False: 0]
  ------------------
 3557|    402|        if (!PyType_Check(obj)) {
  ------------------
  |  |  766|    402|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    402|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    402|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3557:13): [True: 0, False: 402]
  ------------------
 3558|      0|            PyErr_Format(PyExc_TypeError,
 3559|      0|                         "%N.mro() returned a non-class ('%T')", type, obj);
 3560|      0|            return -1;
 3561|      0|        }
 3562|    402|        PyTypeObject *base = (PyTypeObject*)obj;
 3563|       |
 3564|    402|        if (!is_subtype_with_mro(lookup_tp_mro(solid), solid, solid_base(base))) {
  ------------------
  |  Branch (3564:13): [True: 0, False: 402]
  ------------------
 3565|      0|            PyErr_Format(
 3566|      0|                PyExc_TypeError,
 3567|      0|                "%N.mro() returned base with unsuitable layout ('%N')",
 3568|      0|                type, base);
 3569|      0|            return -1;
 3570|      0|        }
 3571|    402|    }
 3572|       |
 3573|     85|    return 0;
 3574|     85|}
typeobject.c:type_mro_modified:
 1280|  1.60k|{
 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|  1.60k|    Py_ssize_t i, n;
 1294|       |
 1295|  1.60k|    ASSERT_TYPE_LOCK_HELD();
 1296|  1.60k|    if (!Py_IS_TYPE(type, &PyType_Type) && has_custom_mro(type)) {
  ------------------
  |  |  215|  3.20k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  1.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1296:9): [True: 170, False: 1.43k]
  |  Branch (1296:44): [True: 0, False: 170]
  ------------------
 1297|      0|        goto clear;
 1298|      0|    }
 1299|  1.60k|    n = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|  1.60k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1300|  4.92k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1300:17): [True: 3.32k, False: 1.60k]
  ------------------
 1301|  3.32k|        PyObject *b = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|  3.32k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  3.32k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1301:23): [True: 3.32k, False: 0]
  ------------------
 1302|  3.32k|        PyTypeObject *cls = _PyType_CAST(b);
  ------------------
  |  |  770|  3.32k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1302:29): [True: 3.32k, False: 0]
  ------------------
 1303|       |
 1304|  3.32k|        if (cls->tp_versions_used >= _Py_ATTR_CACHE_UNUSED) {
  ------------------
  |  |  251|  3.32k|#define _Py_ATTR_CACHE_UNUSED (30000)  // (see tp_versions_used)
  ------------------
  |  Branch (1304:13): [True: 0, False: 3.32k]
  ------------------
 1305|      0|            goto clear;
 1306|      0|        }
 1307|       |
 1308|  3.32k|        if (!is_subtype_with_mro(lookup_tp_mro(type), type, cls)) {
  ------------------
  |  Branch (1308:13): [True: 0, False: 3.32k]
  ------------------
 1309|      0|            goto clear;
 1310|      0|        }
 1311|  3.32k|    }
 1312|  1.60k|    return;
 1313|       |
 1314|  1.60k| clear:
 1315|      0|    assert(!(type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN));
  ------------------
  |  Branch (1315:5): [True: 0, False: 0]
  ------------------
 1316|      0|    set_version_unlocked(type, 0);  /* 0 is not a valid version tag */
 1317|      0|    type->tp_versions_used = _Py_ATTR_CACHE_UNUSED;
  ------------------
  |  |  251|      0|#define _Py_ATTR_CACHE_UNUSED (30000)  // (see tp_versions_used)
  ------------------
 1318|      0|    if (PyType_HasFeature(type, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|      0|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1318:9): [True: 0, False: 0]
  ------------------
 1319|       |        // This field *must* be invalidated if the type is modified (see the
 1320|       |        // comment on struct _specialization_cache):
 1321|      0|        FT_ATOMIC_STORE_PTR_RELAXED(
  ------------------
  |  |  163|      0|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
 1322|      0|            ((PyHeapTypeObject *)type)->_spec_cache.getitem, NULL);
 1323|      0|    }
 1324|      0|}
typeobject.c:has_custom_mro:
 1262|    170|{
 1263|    170|    _PyCStackRef c_ref1, c_ref2;
 1264|    170|    PyThreadState *tstate = _PyThreadState_GET();
 1265|    170|    _PyThreadState_PushCStackRef(tstate, &c_ref1);
 1266|    170|    _PyThreadState_PushCStackRef(tstate, &c_ref2);
 1267|       |
 1268|    170|    _PyType_LookupStackRefAndVersion(Py_TYPE(tp), &_Py_ID(mro), &c_ref1.ref);
  ------------------
  |  |  213|    170|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    170|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    170|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  _PyType_LookupStackRefAndVersion(Py_TYPE(tp), &_Py_ID(mro), &c_ref1.ref);
  ------------------
  |  |  920|    170|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    170|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    170|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1269|    170|    _PyType_LookupStackRefAndVersion(&PyType_Type, &_Py_ID(mro), &c_ref2.ref);
  ------------------
  |  |  920|    170|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    170|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    170|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1270|       |
 1271|    170|    int custom = !PyStackRef_Is(c_ref1.ref, c_ref2.ref);
  ------------------
  |  |  742|    170|#define PyStackRef_Is(a, b) (((a).bits & (~Py_TAG_REFCNT)) == ((b).bits & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|    170|#define Py_TAG_REFCNT 1
  |  |  ------------------
  |  |               #define PyStackRef_Is(a, b) (((a).bits & (~Py_TAG_REFCNT)) == ((b).bits & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|    170|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
 1272|       |
 1273|    170|    _PyThreadState_PopCStackRef(tstate, &c_ref2);
 1274|    170|    _PyThreadState_PopCStackRef(tstate, &c_ref1);
 1275|    170|    return custom;
 1276|    170|}
typeobject.c:add_subclass:
 9694|    835|{
 9695|    835|    PyObject *key = PyLong_FromVoidPtr((void *) type);
 9696|    835|    if (key == NULL)
  ------------------
  |  Branch (9696:9): [True: 0, False: 835]
  ------------------
 9697|      0|        return -1;
 9698|       |
 9699|    835|    PyObject *ref = PyWeakref_NewRef((PyObject *)type, NULL);
 9700|    835|    if (ref == NULL) {
  ------------------
  |  Branch (9700:9): [True: 0, False: 835]
  ------------------
 9701|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9702|      0|        return -1;
 9703|      0|    }
 9704|       |
 9705|       |    // Only get tp_subclasses after creating the key and value.
 9706|       |    // PyWeakref_NewRef() can trigger a garbage collection which can execute
 9707|       |    // arbitrary Python code and so modify base->tp_subclasses.
 9708|    835|    PyObject *subclasses = lookup_tp_subclasses(base);
 9709|    835|    if (subclasses == NULL) {
  ------------------
  |  Branch (9709:9): [True: 154, False: 681]
  ------------------
 9710|    154|        subclasses = init_tp_subclasses(base);
 9711|    154|        if (subclasses == NULL) {
  ------------------
  |  Branch (9711:13): [True: 0, False: 154]
  ------------------
 9712|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9713|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9714|      0|            return -1;
 9715|      0|        }
 9716|    154|    }
 9717|    835|    assert(PyDict_CheckExact(subclasses));
  ------------------
  |  Branch (9717:5): [True: 835, False: 0]
  ------------------
 9718|       |
 9719|    835|    int result = PyDict_SetItem(subclasses, key, ref);
 9720|    835|    Py_DECREF(ref);
  ------------------
  |  |  430|    835|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    835|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    835|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9721|    835|    Py_DECREF(key);
  ------------------
  |  |  430|    835|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    835|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    835|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9722|    835|    return result;
 9723|    835|}
typeobject.c:set_tp_mro:
  652|    800|{
  653|    800|    if (mro != NULL) {
  ------------------
  |  Branch (653:9): [True: 800, False: 0]
  ------------------
  654|    800|        assert(PyTuple_CheckExact(mro));
  ------------------
  |  Branch (654:9): [True: 800, False: 0]
  ------------------
  655|    800|        if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|    800|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (655:13): [True: 414, False: 386]
  ------------------
  656|       |            // XXX tp_mro can probably be statically allocated for each
  657|       |            // static builtin type.
  658|    414|            assert(initial);
  ------------------
  |  Branch (658:13): [True: 414, False: 0]
  ------------------
  659|    414|            assert(self->tp_mro == NULL);
  ------------------
  |  Branch (659:13): [True: 414, False: 0]
  ------------------
  660|       |            /* Other checks are done via set_tp_bases. */
  661|    414|            _Py_SetImmortal(mro);
  662|    414|        }
  663|    386|        else {
  664|    386|            PyUnstable_Object_EnableDeferredRefcount(mro);
  665|    386|        }
  666|    800|    }
  667|    800|    if (!initial) {
  ------------------
  |  Branch (667:9): [True: 0, False: 800]
  ------------------
  668|      0|        type_lock_prevent_release();
  669|      0|        types_stop_world();
  670|      0|    }
  671|    800|    self->tp_mro = mro;
  672|    800|    if (!initial) {
  ------------------
  |  Branch (672:9): [True: 0, False: 800]
  ------------------
  673|      0|        types_start_world();
  674|      0|        type_lock_allow_release();
  675|      0|    }
  676|    800|}
typeobject.c:type_get_module:
 1635|     19|{
 1636|     19|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|     19|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1637|     19|    return type_module(type);
 1638|     19|}
typeobject.c:type_set_module:
 1642|      5|{
 1643|      5|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|      5|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1644|      5|    if (!check_set_special_type_attr(type, value, "__module__"))
  ------------------
  |  Branch (1644:9): [True: 0, False: 5]
  ------------------
 1645|      0|        return -1;
 1646|       |
 1647|      5|    PyType_Modified(type);
 1648|       |
 1649|      5|    PyObject *dict = lookup_tp_dict(type);
 1650|      5|    if (PyDict_Pop(dict, &_Py_ID(__firstlineno__), NULL) < 0) {
  ------------------
  |  |  920|      5|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      5|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      5|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1650:9): [True: 0, False: 5]
  ------------------
 1651|      0|        return -1;
 1652|      0|    }
 1653|      5|    return PyDict_SetItem(dict, &_Py_ID(__module__), value);
  ------------------
  |  |  920|      5|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      5|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      5|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1654|      5|}
typeobject.c:type_abstractmethods:
 1698|     91|{
 1699|     91|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|     91|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1700|     91|    PyObject *res = NULL;
 1701|       |    /* type itself has an __abstractmethods__ descriptor (this). Don't return
 1702|       |       that. */
 1703|     91|    if (type == &PyType_Type) {
  ------------------
  |  Branch (1703:9): [True: 0, False: 91]
  ------------------
 1704|      0|        PyErr_SetObject(PyExc_AttributeError, &_Py_ID(__abstractmethods__));
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1705|      0|    }
 1706|     91|    else {
 1707|     91|        PyObject *dict = lookup_tp_dict(type);
 1708|     91|        if (PyDict_GetItemRef(dict, &_Py_ID(__abstractmethods__), &res) == 0) {
  ------------------
  |  |  920|     91|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     91|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     91|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1708:13): [True: 25, False: 66]
  ------------------
 1709|     25|            PyErr_SetObject(PyExc_AttributeError, &_Py_ID(__abstractmethods__));
  ------------------
  |  |  920|     25|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     25|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     25|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1710|     25|        }
 1711|     91|    }
 1712|     91|    return res;
 1713|     91|}
typeobject.c:type_set_abstractmethods:
 1717|     76|{
 1718|     76|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|     76|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1719|       |    /* __abstractmethods__ should only be set once on a type, in
 1720|       |       abc.ABCMeta.__new__, so this function doesn't do anything
 1721|       |       special to update subclasses.
 1722|       |    */
 1723|     76|    int abstract, res;
 1724|     76|    PyObject *dict = lookup_tp_dict(type);
 1725|     76|    if (value != NULL) {
  ------------------
  |  Branch (1725:9): [True: 76, False: 0]
  ------------------
 1726|     76|        abstract = PyObject_IsTrue(value);
 1727|     76|        if (abstract < 0)
  ------------------
  |  Branch (1727:13): [True: 0, False: 76]
  ------------------
 1728|      0|            return -1;
 1729|     76|        res = PyDict_SetItem(dict, &_Py_ID(__abstractmethods__), value);
  ------------------
  |  |  920|     76|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     76|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     76|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1730|     76|    }
 1731|      0|    else {
 1732|      0|        abstract = 0;
 1733|      0|        res = PyDict_Pop(dict, &_Py_ID(__abstractmethods__), NULL);
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1734|      0|        if (res == 0) {
  ------------------
  |  Branch (1734:13): [True: 0, False: 0]
  ------------------
 1735|      0|            PyErr_SetObject(PyExc_AttributeError, &_Py_ID(__abstractmethods__));
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1736|      0|            return -1;
 1737|      0|        }
 1738|      0|    }
 1739|     76|    if (res < 0) {
  ------------------
  |  Branch (1739:9): [True: 0, False: 76]
  ------------------
 1740|      0|        return -1;
 1741|      0|    }
 1742|       |
 1743|     76|    BEGIN_TYPE_LOCK();
 1744|     76|    _PyType_Modified_Unlocked(type);
 1745|     76|    types_stop_world();
 1746|     76|    if (abstract)
  ------------------
  |  Branch (1746:9): [True: 52, False: 24]
  ------------------
 1747|     52|        type_add_flags(type, Py_TPFLAGS_IS_ABSTRACT);
  ------------------
  |  |  540|     52|#define Py_TPFLAGS_IS_ABSTRACT (1UL << 20)
  ------------------
 1748|     24|    else
 1749|     24|        type_clear_flags(type, Py_TPFLAGS_IS_ABSTRACT);
  ------------------
  |  |  540|     24|#define Py_TPFLAGS_IS_ABSTRACT (1UL << 20)
  ------------------
 1750|     76|    types_start_world();
 1751|     76|    ASSERT_TYPE_LOCK_HELD();
 1752|     76|    END_TYPE_LOCK();
 1753|       |
 1754|     76|    return 0;
 1755|     76|}
typeobject.c:type_dict:
 2040|    386|{
 2041|    386|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|    386|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 2042|    386|    PyObject *dict = lookup_tp_dict(type);
 2043|    386|    if (dict == NULL) {
  ------------------
  |  Branch (2043:9): [True: 0, False: 386]
  ------------------
 2044|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2045|      0|    }
 2046|    386|    return PyDictProxy_New(dict);
 2047|    386|}
typeobject.c:type_get_doc:
 2051|     23|{
 2052|     23|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|     23|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 2053|     23|    PyObject *result;
 2054|     23|    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE) && type->tp_doc != NULL) {
  ------------------
  |  |  503|     23|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2054:9): [True: 17, False: 6]
  |  Branch (2054:52): [True: 17, False: 0]
  ------------------
 2055|     17|        return _PyType_GetDocFromInternalDoc(type->tp_name, type->tp_doc);
 2056|     17|    }
 2057|      6|    PyObject *dict = lookup_tp_dict(type);
 2058|      6|    if (PyDict_GetItemRef(dict, &_Py_ID(__doc__), &result) == 0) {
  ------------------
  |  |  920|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2058:9): [True: 0, False: 6]
  ------------------
 2059|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2060|      0|    }
 2061|      6|    else if (result) {
  ------------------
  |  Branch (2061:14): [True: 6, False: 0]
  ------------------
 2062|      6|        descrgetfunc descr_get = Py_TYPE(result)->tp_descr_get;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2063|      6|        if (descr_get) {
  ------------------
  |  Branch (2063:13): [True: 0, False: 6]
  ------------------
 2064|      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]
  |  |  ------------------
  ------------------
 2065|      0|        }
 2066|      6|    }
 2067|      6|    return result;
 2068|     23|}
typeobject.c:type_init:
 4116|    268|{
 4117|    268|    assert(args != NULL && PyTuple_Check(args));
  ------------------
  |  Branch (4117:5): [True: 268, False: 0]
  |  Branch (4117:5): [True: 268, False: 0]
  ------------------
 4118|    268|    assert(kwds == NULL || PyDict_Check(kwds));
  ------------------
  |  Branch (4118:5): [True: 239, False: 29]
  |  Branch (4118:5): [True: 29, False: 0]
  ------------------
 4119|       |
 4120|    268|    if (kwds != NULL && PyTuple_GET_SIZE(args) == 1 &&
  ------------------
  |  |   27|     29|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4120:9): [True: 29, False: 239]
  |  Branch (4120:25): [True: 0, False: 29]
  ------------------
 4121|      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 (4121:9): [True: 0, False: 0]
  ------------------
 4122|      0|        PyErr_SetString(PyExc_TypeError,
 4123|      0|                        "type.__init__() takes no keyword arguments");
 4124|      0|        return -1;
 4125|      0|    }
 4126|       |
 4127|    268|    if ((PyTuple_GET_SIZE(args) != 1 && PyTuple_GET_SIZE(args) != 3)) {
  ------------------
  |  |   27|    268|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if ((PyTuple_GET_SIZE(args) != 1 && PyTuple_GET_SIZE(args) != 3)) {
  ------------------
  |  |   27|    268|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4127:10): [True: 268, False: 0]
  |  Branch (4127:41): [True: 0, False: 268]
  ------------------
 4128|      0|        PyErr_SetString(PyExc_TypeError,
 4129|      0|                        "type.__init__() takes 1 or 3 arguments");
 4130|      0|        return -1;
 4131|      0|    }
 4132|       |
 4133|    268|    return 0;
 4134|    268|}
typeobject.c:type_new:
 5066|    270|{
 5067|    270|    assert(args != NULL && PyTuple_Check(args));
  ------------------
  |  Branch (5067:5): [True: 270, False: 0]
  |  Branch (5067:5): [True: 270, False: 0]
  ------------------
 5068|    270|    assert(kwds == NULL || PyDict_Check(kwds));
  ------------------
  |  Branch (5068:5): [True: 268, False: 2]
  |  Branch (5068:5): [True: 2, False: 0]
  ------------------
 5069|       |
 5070|       |    /* Parse arguments: (name, bases, dict) */
 5071|    270|    PyObject *name, *bases, *orig_dict;
 5072|    270|    if (!PyArg_ParseTuple(args, "UO!O:type.__new__",
  ------------------
  |  Branch (5072:9): [True: 0, False: 270]
  ------------------
 5073|    270|                          &name,
 5074|    270|                          &PyTuple_Type, &bases,
 5075|    270|                          &orig_dict))
 5076|      0|    {
 5077|      0|        return NULL;
 5078|      0|    }
 5079|    270|    if (!PyAnyDict_Check(orig_dict)) {
  ------------------
  |  |   43|    270|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|    270|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    540|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 270, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5080|      0|        PyErr_Format(PyExc_TypeError,
 5081|      0|                     "type.__new__() argument 3 must be dict or frozendict, not %T",
 5082|      0|                     orig_dict);
 5083|      0|        return NULL;
 5084|      0|    }
 5085|       |
 5086|    270|    type_new_ctx ctx = {
 5087|    270|        .metatype = metatype,
 5088|    270|        .args = args,
 5089|    270|        .kwds = kwds,
 5090|    270|        .orig_dict = orig_dict,
 5091|    270|        .name = name,
 5092|    270|        .bases = bases,
 5093|    270|        .base = NULL,
 5094|    270|        .slots = NULL,
 5095|    270|        .nslot = 0,
 5096|    270|        .add_dict = 0,
 5097|    270|        .add_weak = 0,
 5098|    270|        .may_add_dict = 0,
 5099|    270|        .may_add_weak = 0};
 5100|    270|    PyObject *type = NULL;
 5101|    270|    int res = type_new_get_bases(&ctx, &type);
 5102|    270|    if (res < 0) {
  ------------------
  |  Branch (5102:9): [True: 0, False: 270]
  ------------------
 5103|      0|        assert(PyErr_Occurred());
  ------------------
  |  Branch (5103:9): [True: 0, False: 0]
  ------------------
 5104|      0|        return NULL;
 5105|      0|    }
 5106|    270|    if (res == 1) {
  ------------------
  |  Branch (5106:9): [True: 2, False: 268]
  ------------------
 5107|      2|        assert(type != NULL);
  ------------------
  |  Branch (5107:9): [True: 2, False: 0]
  ------------------
 5108|      2|        return type;
 5109|      2|    }
 5110|    270|    assert(ctx.base != NULL);
  ------------------
  |  Branch (5110:5): [True: 268, False: 0]
  ------------------
 5111|    268|    assert(ctx.bases != NULL);
  ------------------
  |  Branch (5111:5): [True: 268, False: 0]
  ------------------
 5112|       |
 5113|    268|    type = type_new_impl(&ctx);
 5114|    268|    Py_DECREF(ctx.bases);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5115|    268|    return type;
 5116|    268|}
typeobject.c:type_new_get_bases:
 4995|    270|{
 4996|    270|    Py_ssize_t nbases = PyTuple_GET_SIZE(ctx->bases);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4997|    270|    if (nbases == 0) {
  ------------------
  |  Branch (4997:9): [True: 97, False: 173]
  ------------------
 4998|       |        // Adjust for empty tuple bases
 4999|     97|        ctx->base = &PyBaseObject_Type;
 5000|     97|        PyObject *new_bases = PyTuple_Pack(1, ctx->base);
 5001|     97|        if (new_bases == NULL) {
  ------------------
  |  Branch (5001:13): [True: 0, False: 97]
  ------------------
 5002|      0|            return -1;
 5003|      0|        }
 5004|     97|        ctx->bases = new_bases;
 5005|     97|        return 0;
 5006|     97|    }
 5007|       |
 5008|    383|    for (Py_ssize_t i = 0; i < nbases; i++) {
  ------------------
  |  Branch (5008:28): [True: 210, False: 173]
  ------------------
 5009|    210|        PyObject *base = PyTuple_GET_ITEM(ctx->bases, i);
  ------------------
  |  |   29|    210|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    210|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    210|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5009:26): [True: 210, False: 0]
  ------------------
 5010|    210|        if (PyType_Check(base)) {
  ------------------
  |  |  766|    210|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    210|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    210|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 210, False: 0]
  |  |  ------------------
  ------------------
 5011|    210|            continue;
 5012|    210|        }
 5013|      0|        int rc = PyObject_HasAttrWithError(base, &_Py_ID(__mro_entries__));
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5014|      0|        if (rc < 0) {
  ------------------
  |  Branch (5014:13): [True: 0, False: 0]
  ------------------
 5015|      0|            return -1;
 5016|      0|        }
 5017|      0|        if (rc) {
  ------------------
  |  Branch (5017:13): [True: 0, False: 0]
  ------------------
 5018|      0|            PyErr_SetString(PyExc_TypeError,
 5019|      0|                            "type() doesn't support MRO entry resolution; "
 5020|      0|                            "use types.new_class()");
 5021|      0|            return -1;
 5022|      0|        }
 5023|      0|    }
 5024|       |
 5025|       |    // Search the bases for the proper metatype to deal with this
 5026|    173|    PyTypeObject *winner;
 5027|    173|    winner = _PyType_CalculateMetaclass(ctx->metatype, ctx->bases);
 5028|    173|    if (winner == NULL) {
  ------------------
  |  Branch (5028:9): [True: 0, False: 173]
  ------------------
 5029|      0|        return -1;
 5030|      0|    }
 5031|       |
 5032|    173|    if (winner != ctx->metatype) {
  ------------------
  |  Branch (5032:9): [True: 2, False: 171]
  ------------------
 5033|      2|        if (winner->tp_new != type_new) {
  ------------------
  |  Branch (5033:13): [True: 2, False: 0]
  ------------------
 5034|       |            /* Check if tp_new is NULL (cannot instantiate this type) */
 5035|      2|            if (winner->tp_new == NULL) {
  ------------------
  |  Branch (5035:17): [True: 0, False: 2]
  ------------------
 5036|      0|                PyErr_Format(PyExc_TypeError,
 5037|      0|                             "cannot create '%.400s' instances",
 5038|      0|                             winner->tp_name);
 5039|      0|                return -1;
 5040|      0|            }
 5041|       |            /* Pass it to the winner */
 5042|      2|            *type = winner->tp_new(winner, ctx->args, ctx->kwds);
 5043|      2|            if (*type == NULL) {
  ------------------
  |  Branch (5043:17): [True: 0, False: 2]
  ------------------
 5044|      0|                return -1;
 5045|      0|            }
 5046|      2|            return 1;
 5047|      2|        }
 5048|       |
 5049|      0|        ctx->metatype = winner;
 5050|      0|    }
 5051|       |
 5052|       |    /* Calculate best base, and check that all bases are type objects */
 5053|    171|    PyTypeObject *base = find_best_base(ctx->bases);
 5054|    171|    if (base == NULL) {
  ------------------
  |  Branch (5054:9): [True: 0, False: 171]
  ------------------
 5055|      0|        return -1;
 5056|      0|    }
 5057|       |
 5058|    171|    ctx->base = base;
 5059|    171|    ctx->bases = Py_NewRef(ctx->bases);
  ------------------
  |  |  550|    171|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    171|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    171|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5060|    171|    return 0;
 5061|    171|}
typeobject.c:type_new_impl:
 4942|    268|{
 4943|    268|    PyTypeObject *type = type_new_init(ctx);
 4944|    268|    if (type == NULL) {
  ------------------
  |  Branch (4944:9): [True: 0, False: 268]
  ------------------
 4945|      0|        return NULL;
 4946|      0|    }
 4947|       |
 4948|    268|    if (type_new_set_attrs(ctx, type) < 0) {
  ------------------
  |  Branch (4948:9): [True: 0, False: 268]
  ------------------
 4949|      0|        goto error;
 4950|      0|    }
 4951|       |
 4952|       |    /* Initialize the rest */
 4953|    268|    if (PyType_Ready(type) < 0) {
  ------------------
  |  Branch (4953:9): [True: 0, False: 268]
  ------------------
 4954|      0|        goto error;
 4955|      0|    }
 4956|       |
 4957|       |    // Put the proper slots in place
 4958|    268|    fixup_slot_dispatchers(type);
 4959|       |
 4960|    268|    if (!_PyDict_HasOnlyStringKeys(type->tp_dict)) {
  ------------------
  |  Branch (4960:9): [True: 0, False: 268]
  ------------------
 4961|      0|        if (PyErr_WarnFormat(
  ------------------
  |  Branch (4961:13): [True: 0, False: 0]
  ------------------
 4962|      0|                PyExc_RuntimeWarning,
 4963|      0|                1,
 4964|      0|                "non-string key in the __dict__ of class %.200s",
 4965|      0|                type->tp_name) == -1)
 4966|      0|        {
 4967|      0|            goto error;
 4968|      0|        }
 4969|      0|    }
 4970|       |
 4971|    268|    if (type_new_set_names(type) < 0) {
  ------------------
  |  Branch (4971:9): [True: 0, False: 268]
  ------------------
 4972|      0|        goto error;
 4973|      0|    }
 4974|       |
 4975|    268|    if (type_new_init_subclass(type, ctx->kwds) < 0) {
  ------------------
  |  Branch (4975:9): [True: 0, False: 268]
  ------------------
 4976|      0|        goto error;
 4977|      0|    }
 4978|       |
 4979|    268|    assert(_PyType_CheckConsistency(type));
  ------------------
  |  Branch (4979:5): [True: 268, False: 0]
  ------------------
 4980|       |#if defined(Py_GIL_DISABLED) && defined(Py_DEBUG) && SIZEOF_VOID_P > 4
 4981|       |    // After this point, other threads can potentally use this type.
 4982|       |    ((PyObject*)type)->ob_flags |= _Py_TYPE_REVEALED_FLAG;
 4983|       |#endif
 4984|       |
 4985|    268|    return (PyObject *)type;
 4986|       |
 4987|      0|error:
 4988|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4989|       |    return NULL;
 4990|    268|}
typeobject.c:type_new_init:
 4899|    268|{
 4900|    268|    PyObject *dict = _PyDict_CopyAsDict(ctx->orig_dict);
 4901|    268|    if (dict == NULL) {
  ------------------
  |  Branch (4901:9): [True: 0, False: 268]
  ------------------
 4902|      0|        goto error;
 4903|      0|    }
 4904|       |
 4905|    268|    if (type_new_get_slots(ctx, dict) < 0) {
  ------------------
  |  Branch (4905:9): [True: 0, False: 268]
  ------------------
 4906|      0|        goto error;
 4907|      0|    }
 4908|    268|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (4908:5): [True: 268, False: 0]
  ------------------
 4909|       |
 4910|    268|    if (type_new_slots(ctx, dict) < 0) {
  ------------------
  |  Branch (4910:9): [True: 0, False: 268]
  ------------------
 4911|      0|        goto error;
 4912|      0|    }
 4913|       |
 4914|    268|    PyTypeObject *type = type_new_alloc(ctx);
 4915|    268|    if (type == NULL) {
  ------------------
  |  Branch (4915:9): [True: 0, False: 268]
  ------------------
 4916|      0|        goto error;
 4917|      0|    }
 4918|       |
 4919|    268|    set_tp_dict(type, dict);
 4920|       |
 4921|    268|    PyHeapTypeObject *et = (PyHeapTypeObject*)type;
 4922|    268|    if (ctx->slots && PyTuple_GET_SIZE(ctx->slots)) {
  ------------------
  |  |   27|     82|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     82|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (27:30): [True: 13, False: 69]
  |  |  ------------------
  ------------------
  |  Branch (4922:9): [True: 82, False: 186]
  ------------------
 4923|     13|        et->ht_slots = ctx->slots;
 4924|     13|        ctx->slots = NULL;
 4925|     13|    }
 4926|    255|    else {
 4927|    255|        et->ht_slots = NULL;
 4928|    255|        Py_CLEAR(ctx->slots);
  ------------------
  |  |  484|    255|    do { \
  |  |  485|    255|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    255|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    255|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    255|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    255|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 69, False: 186]
  |  |  ------------------
  |  |  488|     69|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     69|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     69|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     69|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     69|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     69|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     69|        } \
  |  |  491|    255|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 255]
  |  |  ------------------
  ------------------
 4929|    255|    }
 4930|       |
 4931|    268|    return type;
 4932|       |
 4933|      0|error:
 4934|      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]
  |  |  ------------------
  ------------------
 4935|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4936|       |    return NULL;
 4937|    268|}
typeobject.c:type_new_get_slots:
 4868|    268|{
 4869|    268|    PyObject *slots = PyDict_GetItemWithError(dict, &_Py_ID(__slots__));
  ------------------
  |  |  920|    268|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    268|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    268|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4870|    268|    if (slots == NULL) {
  ------------------
  |  Branch (4870:9): [True: 186, False: 82]
  ------------------
 4871|    186|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4871:13): [True: 0, False: 186]
  ------------------
 4872|      0|            return -1;
 4873|      0|        }
 4874|    186|        ctx->slots = NULL;
 4875|    186|        ctx->nslot = 0;
 4876|    186|        return 0;
 4877|    186|    }
 4878|       |
 4879|       |    // Make it into a tuple
 4880|     82|    PyObject *new_slots;
 4881|     82|    if (PyUnicode_Check(slots)) {
  ------------------
  |  |  103|     82|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     82|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 82]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4882|      0|        new_slots = PyTuple_Pack(1, slots);
 4883|      0|    }
 4884|     82|    else {
 4885|     82|        new_slots = PySequence_Tuple(slots);
 4886|     82|    }
 4887|     82|    if (new_slots == NULL) {
  ------------------
  |  Branch (4887:9): [True: 0, False: 82]
  ------------------
 4888|      0|        return -1;
 4889|      0|    }
 4890|     82|    assert(PyTuple_CheckExact(new_slots));
  ------------------
  |  Branch (4890:5): [True: 82, False: 0]
  ------------------
 4891|     82|    ctx->slots = new_slots;
 4892|     82|    ctx->nslot = PyTuple_GET_SIZE(new_slots);
  ------------------
  |  |   27|     82|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     82|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4893|     82|    return 0;
 4894|     82|}
typeobject.c:type_new_slots:
 4381|    268|{
 4382|       |    // Check for a __slots__ sequence variable in dict, and count it
 4383|    268|    ctx->add_dict = 0;
 4384|    268|    ctx->add_weak = 0;
 4385|    268|    ctx->may_add_dict = (ctx->base->tp_dictoffset == 0);
 4386|    268|    ctx->may_add_weak = (ctx->base->tp_weaklistoffset == 0);
 4387|       |
 4388|    268|    if (ctx->slots == NULL) {
  ------------------
  |  Branch (4388:9): [True: 186, False: 82]
  ------------------
 4389|    186|        if (ctx->may_add_dict) {
  ------------------
  |  Branch (4389:13): [True: 108, False: 78]
  ------------------
 4390|    108|            ctx->add_dict++;
 4391|    108|        }
 4392|    186|        if (ctx->may_add_weak && ctx->base->tp_itemsize == 0) {
  ------------------
  |  Branch (4392:13): [True: 130, False: 56]
  |  Branch (4392:34): [True: 122, False: 8]
  ------------------
 4393|    122|            ctx->add_weak++;
 4394|    122|        }
 4395|    186|    }
 4396|     82|    else {
 4397|       |        /* Have slots */
 4398|     82|        if (type_new_slots_impl(ctx, dict) < 0) {
  ------------------
  |  Branch (4398:13): [True: 0, False: 82]
  ------------------
 4399|      0|            return -1;
 4400|      0|        }
 4401|     82|    }
 4402|    268|    return 0;
 4403|    268|}
typeobject.c:type_new_slots_impl:
 4359|     82|{
 4360|     82|    if (type_new_visit_slots(ctx) < 0) {
  ------------------
  |  Branch (4360:9): [True: 0, False: 82]
  ------------------
 4361|      0|        return -1;
 4362|      0|    }
 4363|       |
 4364|     82|    PyObject *new_slots = type_new_copy_slots(ctx, dict);
 4365|     82|    if (new_slots == NULL) {
  ------------------
  |  Branch (4365:9): [True: 0, False: 82]
  ------------------
 4366|      0|        return -1;
 4367|      0|    }
 4368|     82|    assert(PyTuple_CheckExact(new_slots));
  ------------------
  |  Branch (4368:5): [True: 82, False: 0]
  ------------------
 4369|       |
 4370|     82|    Py_XSETREF(ctx->slots, new_slots);
  ------------------
  |  |  374|     82|    do { \
  |  |  375|     82|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     82|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|     82|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     82|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|     82|        *_tmp_dst_ptr = (src); \
  |  |  378|     82|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     82|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     82|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|     82|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 82]
  |  |  ------------------
  ------------------
 4371|     82|    ctx->nslot = PyTuple_GET_SIZE(new_slots);
  ------------------
  |  |   27|     82|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     82|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4372|       |
 4373|       |    /* Secondary bases may provide weakrefs or dict */
 4374|     82|    type_new_slots_bases(ctx);
 4375|     82|    return 0;
 4376|     82|}
typeobject.c:type_new_visit_slots:
 4213|     82|{
 4214|     82|    PyObject *slots = ctx->slots;
 4215|     82|    Py_ssize_t nslot = ctx->nslot;
 4216|    123|    for (Py_ssize_t i = 0; i < nslot; i++) {
  ------------------
  |  Branch (4216:28): [True: 41, False: 82]
  ------------------
 4217|     41|        PyObject *name = PyTuple_GET_ITEM(slots, i);
  ------------------
  |  |   29|     41|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     41|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     41|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4217:26): [True: 41, False: 0]
  ------------------
 4218|     41|        if (!valid_identifier(name)) {
  ------------------
  |  Branch (4218:13): [True: 0, False: 41]
  ------------------
 4219|      0|            return -1;
 4220|      0|        }
 4221|     41|        assert(PyUnicode_Check(name));
  ------------------
  |  Branch (4221:9): [True: 41, False: 0]
  ------------------
 4222|     41|        if (_PyUnicode_Equal(name, &_Py_ID(__dict__))) {
  ------------------
  |  |  920|     41|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     41|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     41|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4222:13): [True: 1, False: 40]
  ------------------
 4223|      1|            if (!ctx->may_add_dict || ctx->add_dict != 0) {
  ------------------
  |  Branch (4223:17): [True: 0, False: 1]
  |  Branch (4223:39): [True: 0, False: 1]
  ------------------
 4224|      0|                PyErr_SetString(PyExc_TypeError,
 4225|      0|                    "__dict__ slot disallowed: "
 4226|      0|                    "we already got one");
 4227|      0|                return -1;
 4228|      0|            }
 4229|      1|            ctx->add_dict++;
 4230|      1|        }
 4231|     41|        if (_PyUnicode_Equal(name, &_Py_ID(__weakref__))) {
  ------------------
  |  |  920|     41|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     41|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     41|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4231:13): [True: 4, False: 37]
  ------------------
 4232|      4|            if (!ctx->may_add_weak || ctx->add_weak != 0) {
  ------------------
  |  Branch (4232:17): [True: 0, False: 4]
  |  Branch (4232:39): [True: 0, False: 4]
  ------------------
 4233|      0|                PyErr_SetString(PyExc_TypeError,
 4234|      0|                    "__weakref__ slot disallowed: "
 4235|      0|                    "we already got one");
 4236|      0|                return -1;
 4237|      0|            }
 4238|      4|            ctx->add_weak++;
 4239|      4|        }
 4240|     41|    }
 4241|     82|    return 0;
 4242|     82|}
typeobject.c:valid_identifier:
 4099|     41|{
 4100|     41|    if (!PyUnicode_Check(s)) {
  ------------------
  |  |  103|     41|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     41|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4100:9): [True: 0, False: 41]
  ------------------
 4101|      0|        PyErr_Format(PyExc_TypeError,
 4102|      0|                     "__slots__ items must be strings, not '%.200s'",
 4103|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4104|      0|        return 0;
 4105|      0|    }
 4106|     41|    if (!PyUnicode_IsIdentifier(s)) {
  ------------------
  |  Branch (4106:9): [True: 0, False: 41]
  ------------------
 4107|      0|        PyErr_SetString(PyExc_TypeError,
 4108|      0|                        "__slots__ must be identifiers");
 4109|      0|        return 0;
 4110|      0|    }
 4111|     41|    return 1;
 4112|     41|}
typeobject.c:type_new_copy_slots:
 4251|     82|{
 4252|     82|    PyObject *slots = ctx->slots;
 4253|     82|    Py_ssize_t nslot = ctx->nslot;
 4254|       |
 4255|     82|    Py_ssize_t new_nslot = nslot - ctx->add_dict - ctx->add_weak;
 4256|     82|    PyObject *new_slots = PyList_New(new_nslot);
 4257|     82|    if (new_slots == NULL) {
  ------------------
  |  Branch (4257:9): [True: 0, False: 82]
  ------------------
 4258|      0|        return NULL;
 4259|      0|    }
 4260|       |
 4261|     82|    Py_ssize_t j = 0;
 4262|    123|    for (Py_ssize_t i = 0; i < nslot; i++) {
  ------------------
  |  Branch (4262:28): [True: 41, False: 82]
  ------------------
 4263|     41|        PyObject *slot = PyTuple_GET_ITEM(slots, i);
  ------------------
  |  |   29|     41|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     41|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     41|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4263:26): [True: 41, False: 0]
  ------------------
 4264|     41|        if ((ctx->add_dict && _PyUnicode_Equal(slot, &_Py_ID(__dict__))) ||
  ------------------
  |  |  920|      7|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      7|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      7|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4264:14): [True: 7, False: 34]
  |  Branch (4264:31): [True: 1, False: 6]
  ------------------
 4265|     40|            (ctx->add_weak && _PyUnicode_Equal(slot, &_Py_ID(__weakref__))))
  ------------------
  |  |  920|     12|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     12|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     12|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4265:14): [True: 12, False: 28]
  |  Branch (4265:31): [True: 4, False: 8]
  ------------------
 4266|      5|        {
 4267|      5|            continue;
 4268|      5|        }
 4269|       |
 4270|     36|        slot =_Py_Mangle(ctx->name, slot);
 4271|     36|        if (!slot) {
  ------------------
  |  Branch (4271:13): [True: 0, False: 36]
  ------------------
 4272|      0|            goto error;
 4273|      0|        }
 4274|     36|        PyList_SET_ITEM(new_slots, j, slot);
  ------------------
  |  |   50|     36|    PyList_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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4275|       |
 4276|     36|        int r = PyDict_Contains(dict, slot);
 4277|     36|        if (r < 0) {
  ------------------
  |  Branch (4277:13): [True: 0, False: 36]
  ------------------
 4278|      0|            goto error;
 4279|      0|        }
 4280|     36|        if (r > 0) {
  ------------------
  |  Branch (4280:13): [True: 0, False: 36]
  ------------------
 4281|       |            /* CPython inserts these names (when needed)
 4282|       |               into the namespace when creating a class.  They will be deleted
 4283|       |               below so won't act as class variables. */
 4284|      0|            if (!_PyUnicode_Equal(slot, &_Py_ID(__qualname__)) &&
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4284:17): [True: 0, False: 0]
  ------------------
 4285|      0|                !_PyUnicode_Equal(slot, &_Py_ID(__classcell__)) &&
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4285:17): [True: 0, False: 0]
  ------------------
 4286|      0|                !_PyUnicode_Equal(slot, &_Py_ID(__classdictcell__)))
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4286:17): [True: 0, False: 0]
  ------------------
 4287|      0|            {
 4288|      0|                PyErr_Format(PyExc_ValueError,
 4289|      0|                             "%R in __slots__ conflicts with class variable",
 4290|      0|                             slot);
 4291|      0|                goto error;
 4292|      0|            }
 4293|      0|        }
 4294|       |
 4295|     36|        j++;
 4296|     36|    }
 4297|     82|    assert(j == new_nslot);
  ------------------
  |  Branch (4297:5): [True: 82, False: 0]
  ------------------
 4298|       |
 4299|     82|    if (PyList_Sort(new_slots) == -1) {
  ------------------
  |  Branch (4299:9): [True: 0, False: 82]
  ------------------
 4300|      0|        goto error;
 4301|      0|    }
 4302|       |
 4303|     82|    PyObject *tuple = PyList_AsTuple(new_slots);
 4304|     82|    Py_DECREF(new_slots);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4305|     82|    if (tuple == NULL) {
  ------------------
  |  Branch (4305:9): [True: 0, False: 82]
  ------------------
 4306|      0|        return NULL;
 4307|      0|    }
 4308|       |
 4309|     82|    assert(PyTuple_GET_SIZE(tuple) == new_nslot);
  ------------------
  |  Branch (4309:5): [True: 82, False: 0]
  ------------------
 4310|     82|    return tuple;
 4311|       |
 4312|      0|error:
 4313|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4314|       |    return NULL;
 4315|     82|}
typeobject.c:type_new_slots_bases:
 4320|     82|{
 4321|     82|    Py_ssize_t nbases = PyTuple_GET_SIZE(ctx->bases);
  ------------------
  |  |   27|     82|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     82|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4322|     82|    if (nbases > 1 &&
  ------------------
  |  Branch (4322:9): [True: 10, False: 72]
  ------------------
 4323|     10|        ((ctx->may_add_dict && ctx->add_dict == 0) ||
  ------------------
  |  Branch (4323:11): [True: 10, False: 0]
  |  Branch (4323:32): [True: 10, False: 0]
  ------------------
 4324|      0|         (ctx->may_add_weak && ctx->add_weak == 0)))
  ------------------
  |  Branch (4324:11): [True: 0, False: 0]
  |  Branch (4324:32): [True: 0, False: 0]
  ------------------
 4325|     10|    {
 4326|     32|        for (Py_ssize_t i = 0; i < nbases; i++) {
  ------------------
  |  Branch (4326:32): [True: 22, False: 10]
  ------------------
 4327|     22|            PyObject *obj = PyTuple_GET_ITEM(ctx->bases, i);
  ------------------
  |  |   29|     22|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     22|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4327:29): [True: 22, False: 0]
  ------------------
 4328|     22|            if (obj == (PyObject *)ctx->base) {
  ------------------
  |  Branch (4328:17): [True: 10, False: 12]
  ------------------
 4329|       |                /* Skip primary base */
 4330|     10|                continue;
 4331|     10|            }
 4332|     12|            PyTypeObject *base = _PyType_CAST(obj);
  ------------------
  |  |  770|     12|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (4332:34): [True: 12, False: 0]
  ------------------
 4333|       |
 4334|     12|            if (ctx->may_add_dict && ctx->add_dict == 0 &&
  ------------------
  |  Branch (4334:17): [True: 12, False: 0]
  |  Branch (4334:38): [True: 12, False: 0]
  ------------------
 4335|     12|                base->tp_dictoffset != 0)
  ------------------
  |  Branch (4335:17): [True: 0, False: 12]
  ------------------
 4336|      0|            {
 4337|      0|                ctx->add_dict++;
 4338|      0|            }
 4339|     12|            if (ctx->may_add_weak && ctx->add_weak == 0 &&
  ------------------
  |  Branch (4339:17): [True: 12, False: 0]
  |  Branch (4339:38): [True: 12, False: 0]
  ------------------
 4340|     12|                base->tp_weaklistoffset != 0)
  ------------------
  |  Branch (4340:17): [True: 0, False: 12]
  ------------------
 4341|      0|            {
 4342|      0|                ctx->add_weak++;
 4343|      0|            }
 4344|     12|            if (ctx->may_add_dict && ctx->add_dict == 0) {
  ------------------
  |  Branch (4344:17): [True: 12, False: 0]
  |  Branch (4344:38): [True: 12, False: 0]
  ------------------
 4345|     12|                continue;
 4346|     12|            }
 4347|      0|            if (ctx->may_add_weak && ctx->add_weak == 0) {
  ------------------
  |  Branch (4347:17): [True: 0, False: 0]
  |  Branch (4347:38): [True: 0, False: 0]
  ------------------
 4348|      0|                continue;
 4349|      0|            }
 4350|       |            /* Nothing more to check */
 4351|      0|            break;
 4352|      0|        }
 4353|     10|    }
 4354|     82|}
typeobject.c:type_new_alloc:
 4408|    268|{
 4409|    268|    PyTypeObject *metatype = ctx->metatype;
 4410|    268|    PyTypeObject *type;
 4411|       |
 4412|       |    // Allocate the type object
 4413|    268|    type = (PyTypeObject *)metatype->tp_alloc(metatype, ctx->nslot);
 4414|    268|    if (type == NULL) {
  ------------------
  |  Branch (4414:9): [True: 0, False: 268]
  ------------------
 4415|      0|        return NULL;
 4416|      0|    }
 4417|    268|    PyHeapTypeObject *et = (PyHeapTypeObject *)type;
 4418|       |
 4419|       |    // Initialize tp_flags.
 4420|       |    // All heap types need GC, since we can create a reference cycle by storing
 4421|       |    // an instance on one of its parents.
 4422|    268|    type_set_flags(type, Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE |
  ------------------
  |  |  560|    268|#define Py_TPFLAGS_DEFAULT  ( \
  |  |  561|    268|                 Py_TPFLAGS_HAVE_STACKLESS_EXTENSION | \
  |  |  ------------------
  |  |  |  |  530|    268|#define Py_TPFLAGS_HAVE_STACKLESS_EXTENSION 0
  |  |  ------------------
  |  |  562|    268|                0)
  ------------------
                  type_set_flags(type, Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE |
  ------------------
  |  |  503|    268|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
 4423|    268|                   Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC);
  ------------------
  |  |  506|    268|#define Py_TPFLAGS_BASETYPE (1UL << 10)
  ------------------
                                 Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC);
  ------------------
  |  |  524|    268|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
 4424|       |
 4425|       |    // Initialize essential fields
 4426|    268|    type->tp_as_async = &et->as_async;
 4427|    268|    type->tp_as_number = &et->as_number;
 4428|    268|    type->tp_as_sequence = &et->as_sequence;
 4429|    268|    type->tp_as_mapping = &et->as_mapping;
 4430|    268|    type->tp_as_buffer = &et->as_buffer;
 4431|       |
 4432|    268|    set_tp_bases(type, Py_NewRef(ctx->bases), 1);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4433|    268|    type->tp_base = (PyTypeObject *)Py_NewRef(ctx->base);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4434|       |
 4435|    268|    type->tp_dealloc = subtype_dealloc;
 4436|       |    /* Always override allocation strategy to use regular heap */
 4437|    268|    type->tp_alloc = PyType_GenericAlloc;
 4438|    268|    type->tp_free = PyObject_GC_Del;
 4439|       |
 4440|    268|    type->tp_traverse = subtype_traverse;
 4441|    268|    type->tp_clear = subtype_clear;
 4442|       |
 4443|    268|    et->ht_name = Py_NewRef(ctx->name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4444|    268|    et->ht_module = NULL;
 4445|    268|    et->_ht_tpname = NULL;
 4446|    268|    et->ht_token = NULL;
 4447|       |
 4448|       |#ifdef Py_GIL_DISABLED
 4449|       |    et->unique_id = _PyObject_AssignUniqueId((PyObject *)et);
 4450|       |#endif
 4451|       |
 4452|    268|    return type;
 4453|    268|}
typeobject.c:subtype_traverse:
 2608|  24.6M|{
 2609|  24.6M|    PyTypeObject *type, *base;
 2610|  24.6M|    traverseproc basetraverse;
 2611|       |
 2612|       |    /* Find the nearest base with a different tp_traverse,
 2613|       |       and traverse slots while we're at it */
 2614|  24.6M|    type = Py_TYPE(self);
  ------------------
  |  |  213|  24.6M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  24.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2615|  24.6M|    base = type;
 2616|  49.4M|    while ((basetraverse = base->tp_traverse) == subtype_traverse) {
  ------------------
  |  Branch (2616:12): [True: 24.7M, False: 24.6M]
  ------------------
 2617|  24.7M|        if (Py_SIZE(base)) {
  ------------------
  |  |  214|  24.7M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  24.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (214:23): [True: 1.52k, False: 24.7M]
  |  |  ------------------
  ------------------
 2618|  1.52k|            int err = traverse_slots(base, self, visit, arg);
 2619|  1.52k|            if (err)
  ------------------
  |  Branch (2619:17): [True: 0, False: 1.52k]
  ------------------
 2620|      0|                return err;
 2621|  1.52k|        }
 2622|  24.7M|        base = base->tp_base;
 2623|  24.7M|        assert(base);
  ------------------
  |  Branch (2623:9): [True: 24.7M, False: 0]
  ------------------
 2624|  24.7M|    }
 2625|       |
 2626|  24.6M|    if (type->tp_dictoffset != base->tp_dictoffset) {
  ------------------
  |  Branch (2626:9): [True: 24.6M, False: 16.4k]
  ------------------
 2627|  24.6M|        assert(base->tp_dictoffset == 0);
  ------------------
  |  Branch (2627:9): [True: 24.6M, False: 0]
  ------------------
 2628|  24.6M|        if (type->tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|  24.6M|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (2628:13): [True: 24.6M, False: 0]
  ------------------
 2629|  24.6M|            assert(type->tp_dictoffset == -1);
  ------------------
  |  Branch (2629:13): [True: 24.6M, False: 0]
  ------------------
 2630|  24.6M|            int err = PyObject_VisitManagedDict(self, visit, arg);
 2631|  24.6M|            if (err) {
  ------------------
  |  Branch (2631:17): [True: 0, False: 24.6M]
  ------------------
 2632|      0|                return err;
 2633|      0|            }
 2634|  24.6M|        }
 2635|      0|        else {
 2636|      0|            PyObject **dictptr = _PyObject_ComputedDictPointer(self);
 2637|      0|            if (dictptr && *dictptr) {
  ------------------
  |  Branch (2637:17): [True: 0, False: 0]
  |  Branch (2637:28): [True: 0, False: 0]
  ------------------
 2638|      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]
  |  |  ------------------
  ------------------
 2639|      0|            }
 2640|      0|        }
 2641|  24.6M|    }
 2642|       |
 2643|  24.6M|    if (type->tp_flags & Py_TPFLAGS_HEAPTYPE
  ------------------
  |  |  503|  49.3M|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2643:9): [True: 24.6M, False: 0]
  ------------------
 2644|  24.6M|        && (!basetraverse || !(base->tp_flags & Py_TPFLAGS_HEAPTYPE))) {
  ------------------
  |  |  503|  15.2k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2644:13): [True: 24.6M, False: 15.2k]
  |  Branch (2644:30): [True: 15.2k, False: 0]
  ------------------
 2645|       |        /* For a heaptype, the instances count as references
 2646|       |           to the type.          Traverse the type so the collector
 2647|       |           can find cycles involving this link.
 2648|       |           Skip this visit if basetraverse belongs to a heap type: in that
 2649|       |           case, basetraverse will visit the type when we call it later.
 2650|       |           */
 2651|  24.6M|        Py_VISIT(type);
  ------------------
  |  |  194|  24.6M|    do {                                                                \
  |  |  195|  24.6M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 24.6M, False: 0]
  |  |  ------------------
  |  |  196|  24.6M|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  24.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  24.6M|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 24.6M]
  |  |  ------------------
  |  |  198|  24.6M|                return vret;                                            \
  |  |  199|  24.6M|        }                                                               \
  |  |  200|  24.6M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 24.6M]
  |  |  ------------------
  ------------------
 2652|  24.6M|    }
 2653|       |
 2654|  24.6M|    if (basetraverse)
  ------------------
  |  Branch (2654:9): [True: 15.2k, False: 24.6M]
  ------------------
 2655|  15.2k|        return basetraverse(self, visit, arg);
 2656|  24.6M|    return 0;
 2657|  24.6M|}
typeobject.c:traverse_slots:
 2586|  1.52k|{
 2587|  1.52k|    Py_ssize_t i, n;
 2588|  1.52k|    PyMemberDef *mp;
 2589|       |
 2590|  1.52k|    n = Py_SIZE(type);
  ------------------
  |  |  214|  1.52k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2591|  1.52k|    mp = _PyHeapType_GET_MEMBERS((PyHeapTypeObject *)type);
 2592|  7.62k|    for (i = 0; i < n; i++, mp++) {
  ------------------
  |  Branch (2592:17): [True: 6.09k, False: 1.52k]
  ------------------
 2593|  6.09k|        if (mp->type == Py_T_OBJECT_EX) {
  ------------------
  |  |   75|  6.09k|#define Py_T_OBJECT_EX 16
  ------------------
  |  Branch (2593:13): [True: 6.09k, False: 0]
  ------------------
 2594|  6.09k|            void *addr = _PyMember_GetOffset(self, mp);
 2595|  6.09k|            PyObject *obj = *(PyObject **)addr;
 2596|  6.09k|            if (obj != NULL) {
  ------------------
  |  Branch (2596:17): [True: 6.09k, False: 0]
  ------------------
 2597|  6.09k|                int err = visit(obj, arg);
 2598|  6.09k|                if (err)
  ------------------
  |  Branch (2598:21): [True: 0, False: 6.09k]
  ------------------
 2599|      0|                    return err;
 2600|  6.09k|            }
 2601|  6.09k|        }
 2602|  6.09k|    }
 2603|  1.52k|    return 0;
 2604|  1.52k|}
typeobject.c:set_tp_dict:
  554|    800|{
  555|    800|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|    800|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (555:9): [True: 414, False: 386]
  ------------------
  556|    414|        PyInterpreterState *interp = _PyInterpreterState_GET();
  557|    414|        managed_static_type_state *state = _PyStaticType_GetState(interp, self);
  558|    414|        assert(state != NULL);
  ------------------
  |  Branch (558:9): [True: 414, False: 0]
  ------------------
  559|    414|        state->tp_dict = dict;
  560|    414|        return;
  561|    414|    }
  562|    386|    self->tp_dict = dict;
  563|    386|}
typeobject.c:type_new_set_attrs:
 4803|    268|{
 4804|    268|    if (type_new_set_name(ctx, type) < 0) {
  ------------------
  |  Branch (4804:9): [True: 0, False: 268]
  ------------------
 4805|      0|        return -1;
 4806|      0|    }
 4807|       |
 4808|    268|    PyObject *dict = lookup_tp_dict(type);
 4809|    268|    assert(dict);
  ------------------
  |  Branch (4809:5): [True: 268, False: 0]
  ------------------
 4810|       |
 4811|    268|    if (type_new_set_module(dict) < 0) {
  ------------------
  |  Branch (4811:9): [True: 0, False: 268]
  ------------------
 4812|      0|        return -1;
 4813|      0|    }
 4814|       |
 4815|    268|    if (type_new_set_ht_name(type, dict) < 0) {
  ------------------
  |  Branch (4815:9): [True: 0, False: 268]
  ------------------
 4816|      0|        return -1;
 4817|      0|    }
 4818|       |
 4819|    268|    if (type_new_set_doc(type, dict) < 0) {
  ------------------
  |  Branch (4819:9): [True: 0, False: 268]
  ------------------
 4820|      0|        return -1;
 4821|      0|    }
 4822|       |
 4823|       |    /* Special-case __new__: if it's a plain function,
 4824|       |       make it a static function */
 4825|    268|    if (type_new_staticmethod(dict, &_Py_ID(__new__)) < 0) {
  ------------------
  |  |  920|    268|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    268|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    268|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4825:9): [True: 0, False: 268]
  ------------------
 4826|      0|        return -1;
 4827|      0|    }
 4828|       |
 4829|       |    /* Special-case __init_subclass__ and __class_getitem__:
 4830|       |       if they are plain functions, make them classmethods */
 4831|    268|    if (type_new_classmethod(dict, &_Py_ID(__init_subclass__)) < 0) {
  ------------------
  |  |  920|    268|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    268|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    268|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4831:9): [True: 0, False: 268]
  ------------------
 4832|      0|        return -1;
 4833|      0|    }
 4834|    268|    if (type_new_classmethod(dict, &_Py_ID(__class_getitem__)) < 0) {
  ------------------
  |  |  920|    268|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    268|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    268|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4834:9): [True: 0, False: 268]
  ------------------
 4835|      0|        return -1;
 4836|      0|    }
 4837|       |
 4838|    268|    if (type_new_descriptors(ctx, type, dict) < 0) {
  ------------------
  |  Branch (4838:9): [True: 0, False: 268]
  ------------------
 4839|      0|        return -1;
 4840|      0|    }
 4841|       |
 4842|    268|    type_new_set_slots(ctx, type);
 4843|       |
 4844|    268|    if (type_new_set_classcell(type, dict) < 0) {
  ------------------
  |  Branch (4844:9): [True: 0, False: 268]
  ------------------
 4845|      0|        return -1;
 4846|      0|    }
 4847|    268|    if (type_new_set_classdictcell(dict) < 0) {
  ------------------
  |  Branch (4847:9): [True: 0, False: 268]
  ------------------
 4848|      0|        return -1;
 4849|      0|    }
 4850|       |
 4851|       |#ifdef Py_GIL_DISABLED
 4852|       |    // enable deferred reference counting on functions and descriptors
 4853|       |    Py_ssize_t pos = 0;
 4854|       |    PyObject *key, *value;
 4855|       |    while (PyDict_Next(dict, &pos, &key, &value)) {
 4856|       |        if (PyFunction_Check(value) || Py_TYPE(value)->tp_descr_get != NULL) {
 4857|       |            PyUnstable_Object_EnableDeferredRefcount(value);
 4858|       |        }
 4859|       |    }
 4860|       |#endif
 4861|       |
 4862|    268|    return 0;
 4863|    268|}
typeobject.c:type_new_set_name:
 4458|    268|{
 4459|    268|    Py_ssize_t name_size;
 4460|    268|    type->tp_name = PyUnicode_AsUTF8AndSize(ctx->name, &name_size);
 4461|    268|    if (!type->tp_name) {
  ------------------
  |  Branch (4461:9): [True: 0, False: 268]
  ------------------
 4462|      0|        return -1;
 4463|      0|    }
 4464|    268|    if (strlen(type->tp_name) != (size_t)name_size) {
  ------------------
  |  Branch (4464:9): [True: 0, False: 268]
  ------------------
 4465|      0|        PyErr_SetString(PyExc_ValueError,
 4466|      0|                        "type name must not contain null characters");
 4467|      0|        return -1;
 4468|      0|    }
 4469|    268|    return 0;
 4470|    268|}
typeobject.c:type_new_set_module:
 4476|    268|{
 4477|    268|    int r = PyDict_Contains(dict, &_Py_ID(__module__));
  ------------------
  |  |  920|    268|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    268|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    268|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4478|    268|    if (r < 0) {
  ------------------
  |  Branch (4478:9): [True: 0, False: 268]
  ------------------
 4479|      0|        return -1;
 4480|      0|    }
 4481|    268|    if (r > 0) {
  ------------------
  |  Branch (4481:9): [True: 263, False: 5]
  ------------------
 4482|    263|        return 0;
 4483|    263|    }
 4484|       |
 4485|      5|    PyObject *globals = PyEval_GetGlobals();
 4486|      5|    if (globals == NULL) {
  ------------------
  |  Branch (4486:9): [True: 0, False: 5]
  ------------------
 4487|      0|        return 0;
 4488|      0|    }
 4489|       |
 4490|      5|    PyObject *module;
 4491|      5|    r = PyDict_GetItemRef(globals, &_Py_ID(__name__), &module);
  ------------------
  |  |  920|      5|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      5|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      5|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4492|      5|    if (module) {
  ------------------
  |  Branch (4492:9): [True: 5, False: 0]
  ------------------
 4493|      5|        r = PyDict_SetItem(dict, &_Py_ID(__module__), module);
  ------------------
  |  |  920|      5|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      5|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      5|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4494|      5|        Py_DECREF(module);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4495|      5|    }
 4496|      5|    return r;
 4497|      5|}
typeobject.c:type_new_set_ht_name:
 4504|    268|{
 4505|    268|    PyHeapTypeObject *et = (PyHeapTypeObject *)type;
 4506|    268|    PyObject *qualname;
 4507|    268|    if (PyDict_GetItemRef(dict, &_Py_ID(__qualname__), &qualname) < 0) {
  ------------------
  |  |  920|    268|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    268|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    268|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4507:9): [True: 0, False: 268]
  ------------------
 4508|      0|        return -1;
 4509|      0|    }
 4510|    268|    if (qualname != NULL) {
  ------------------
  |  Branch (4510:9): [True: 256, False: 12]
  ------------------
 4511|    256|        if (!PyUnicode_Check(qualname)) {
  ------------------
  |  |  103|    256|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    256|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4511:13): [True: 0, False: 256]
  ------------------
 4512|      0|            PyErr_Format(PyExc_TypeError,
 4513|      0|                    "type __qualname__ must be a str, not %s",
 4514|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4515|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4516|      0|            return -1;
 4517|      0|        }
 4518|    256|        et->ht_qualname = qualname;
 4519|    256|        if (PyDict_DelItem(dict, &_Py_ID(__qualname__)) < 0) {
  ------------------
  |  |  920|    256|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    256|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    256|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4519:13): [True: 0, False: 256]
  ------------------
 4520|      0|            return -1;
 4521|      0|        }
 4522|    256|    }
 4523|     12|    else {
 4524|     12|        et->ht_qualname = Py_NewRef(et->ht_name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4525|     12|    }
 4526|    268|    return 0;
 4527|    268|}
typeobject.c:type_new_set_doc:
 4535|    268|{
 4536|    268|    PyObject *doc = PyDict_GetItemWithError(dict, &_Py_ID(__doc__));
  ------------------
  |  |  920|    268|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    268|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    268|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4537|    268|    if (doc == NULL) {
  ------------------
  |  Branch (4537:9): [True: 110, False: 158]
  ------------------
 4538|    110|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4538:13): [True: 0, False: 110]
  ------------------
 4539|      0|            return -1;
 4540|      0|        }
 4541|       |        // no __doc__ key
 4542|    110|        return 0;
 4543|    110|    }
 4544|    158|    if (!PyUnicode_Check(doc)) {
  ------------------
  |  |  103|    158|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    158|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4544:9): [True: 0, False: 158]
  ------------------
 4545|       |        // ignore non-string __doc__
 4546|      0|        return 0;
 4547|      0|    }
 4548|       |
 4549|    158|    const char *doc_str = PyUnicode_AsUTF8(doc);
 4550|    158|    if (doc_str == NULL) {
  ------------------
  |  Branch (4550:9): [True: 0, False: 158]
  ------------------
 4551|      0|        return -1;
 4552|      0|    }
 4553|       |
 4554|       |    // Silently truncate the docstring if it contains a null byte
 4555|    158|    Py_ssize_t size = strlen(doc_str) + 1;
 4556|    158|    char *tp_doc = (char *)PyMem_Malloc(size);
 4557|    158|    if (tp_doc == NULL) {
  ------------------
  |  Branch (4557:9): [True: 0, False: 158]
  ------------------
 4558|      0|        PyErr_NoMemory();
 4559|      0|        return -1;
 4560|      0|    }
 4561|       |
 4562|    158|    memcpy(tp_doc, doc_str, size);
 4563|    158|    type->tp_doc = tp_doc;
 4564|    158|    return 0;
 4565|    158|}
typeobject.c:type_new_staticmethod:
 4570|    268|{
 4571|    268|    PyObject *func = PyDict_GetItemWithError(dict, attr);
 4572|    268|    if (func == NULL) {
  ------------------
  |  Branch (4572:9): [True: 246, False: 22]
  ------------------
 4573|    246|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4573:13): [True: 0, False: 246]
  ------------------
 4574|      0|            return -1;
 4575|      0|        }
 4576|    246|        return 0;
 4577|    246|    }
 4578|     22|    if (!PyFunction_Check(func)) {
  ------------------
  |  |   68|     22|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_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 (4578:9): [True: 0, False: 22]
  ------------------
 4579|      0|        return 0;
 4580|      0|    }
 4581|       |
 4582|     22|    PyObject *static_func = PyStaticMethod_New(func);
 4583|     22|    if (static_func == NULL) {
  ------------------
  |  Branch (4583:9): [True: 0, False: 22]
  ------------------
 4584|      0|        return -1;
 4585|      0|    }
 4586|     22|    if (PyDict_SetItem(dict, attr, static_func) < 0) {
  ------------------
  |  Branch (4586:9): [True: 0, False: 22]
  ------------------
 4587|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4588|      0|        return -1;
 4589|      0|    }
 4590|     22|    Py_DECREF(static_func);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4591|     22|    return 0;
 4592|     22|}
typeobject.c:type_new_classmethod:
 4597|    536|{
 4598|    536|    PyObject *func = PyDict_GetItemWithError(dict, attr);
 4599|    536|    if (func == NULL) {
  ------------------
  |  Branch (4599:9): [True: 516, False: 20]
  ------------------
 4600|    516|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4600:13): [True: 0, False: 516]
  ------------------
 4601|      0|            return -1;
 4602|      0|        }
 4603|    516|        return 0;
 4604|    516|    }
 4605|     20|    if (!PyFunction_Check(func)) {
  ------------------
  |  |   68|     20|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_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 (4605:9): [True: 19, False: 1]
  ------------------
 4606|     19|        return 0;
 4607|     19|    }
 4608|       |
 4609|      1|    PyObject *method = PyClassMethod_New(func);
 4610|      1|    if (method == NULL) {
  ------------------
  |  Branch (4610:9): [True: 0, False: 1]
  ------------------
 4611|      0|        return -1;
 4612|      0|    }
 4613|       |
 4614|      1|    if (PyDict_SetItem(dict, attr, method) < 0) {
  ------------------
  |  Branch (4614:9): [True: 0, False: 1]
  ------------------
 4615|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4616|      0|        return -1;
 4617|      0|    }
 4618|      1|    Py_DECREF(method);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4619|      1|    return 0;
 4620|      1|}
typeobject.c:type_new_descriptors:
 4652|    268|{
 4653|    268|    PyHeapTypeObject *et = (PyHeapTypeObject *)type;
 4654|    268|    Py_ssize_t slotoffset = ctx->base->tp_basicsize;
 4655|    268|    if (et->ht_slots != NULL) {
  ------------------
  |  Branch (4655:9): [True: 13, False: 255]
  ------------------
 4656|     13|        PyMemberDef *mp = _PyHeapType_GET_MEMBERS(et);
 4657|     13|        Py_ssize_t nslot = PyTuple_GET_SIZE(et->ht_slots);
  ------------------
  |  |   27|     13|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4658|     13|        int after_items = (ctx->base->tp_itemsize != 0 &&
  ------------------
  |  Branch (4658:28): [True: 0, False: 13]
  ------------------
 4659|      0|                           !(ctx->base->tp_flags & Py_TPFLAGS_ITEMS_AT_END));
  ------------------
  |  |  548|      0|#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
  ------------------
  |  Branch (4659:28): [True: 0, False: 0]
  ------------------
 4660|     13|        if (ctx->base->tp_itemsize != 0 &&
  ------------------
  |  Branch (4660:13): [True: 0, False: 13]
  ------------------
 4661|      0|            !(ctx->base->tp_flags & Py_TPFLAGS_TUPLE_SUBCLASS))
  ------------------
  |  |  553|      0|#define Py_TPFLAGS_TUPLE_SUBCLASS       (1UL << 26)
  ------------------
  |  Branch (4661:13): [True: 0, False: 0]
  ------------------
 4662|      0|        {
 4663|      0|            PyErr_Format(PyExc_TypeError,
 4664|      0|                         "arbitrary __slots__ not supported for subtype of '%s'",
 4665|      0|                         ctx->base->tp_name);
 4666|      0|            return -1;
 4667|      0|        }
 4668|     49|        for (Py_ssize_t i = 0; i < nslot; i++, mp++) {
  ------------------
  |  Branch (4668:32): [True: 36, False: 13]
  ------------------
 4669|     36|            mp->name = PyUnicode_AsUTF8(
 4670|     36|                PyTuple_GET_ITEM(et->ht_slots, 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4670:17): [True: 36, False: 0]
  ------------------
 4671|     36|            if (mp->name == NULL) {
  ------------------
  |  Branch (4671:17): [True: 0, False: 36]
  ------------------
 4672|      0|                return -1;
 4673|      0|            }
 4674|     36|            mp->type = Py_T_OBJECT_EX;
  ------------------
  |  |   75|     36|#define Py_T_OBJECT_EX 16
  ------------------
 4675|     36|            mp->offset = slotoffset;
 4676|     36|            if (after_items) {
  ------------------
  |  Branch (4676:17): [True: 0, False: 36]
  ------------------
 4677|      0|                mp->flags |= _Py_AFTER_ITEMS;
  ------------------
  |  |   89|      0|#  define _Py_AFTER_ITEMS      (1 << 4) // For internal use.
  ------------------
 4678|      0|            }
 4679|       |
 4680|       |            /* __dict__ and __weakref__ are already filtered out */
 4681|     36|            assert(strcmp(mp->name, "__dict__") != 0);
  ------------------
  |  Branch (4681:13): [True: 36, False: 0]
  ------------------
 4682|     36|            assert(strcmp(mp->name, "__weakref__") != 0);
  ------------------
  |  Branch (4682:13): [True: 36, False: 0]
  ------------------
 4683|       |
 4684|     36|            slotoffset += sizeof(PyObject *);
 4685|     36|        }
 4686|     13|    }
 4687|       |
 4688|    268|    if (ctx->add_weak) {
  ------------------
  |  Branch (4688:9): [True: 126, False: 142]
  ------------------
 4689|    126|        assert((type->tp_flags & Py_TPFLAGS_MANAGED_WEAKREF) == 0);
  ------------------
  |  Branch (4689:9): [True: 126, False: 0]
  ------------------
 4690|    126|        type_add_flags(type, Py_TPFLAGS_MANAGED_WEAKREF);
  ------------------
  |  |  477|    126|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  ------------------
 4691|    126|        type->tp_weaklistoffset = MANAGED_WEAKREF_OFFSET;
  ------------------
  |  |  926|    126|#  define MANAGED_WEAKREF_OFFSET (((Py_ssize_t)sizeof(PyObject *))*-4)
  ------------------
 4692|    126|    }
 4693|    268|    if (ctx->add_dict) {
  ------------------
  |  Branch (4693:9): [True: 109, False: 159]
  ------------------
 4694|    109|        assert((type->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0);
  ------------------
  |  Branch (4694:9): [True: 109, False: 0]
  ------------------
 4695|    109|        type_add_flags(type, Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  |  482|    109|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
 4696|    109|        type->tp_dictoffset = -1;
 4697|    109|    }
 4698|       |
 4699|    268|    type->tp_basicsize = slotoffset;
 4700|    268|    type->tp_itemsize = ctx->base->tp_itemsize;
 4701|    268|    type->tp_members = _PyHeapType_GET_MEMBERS(et);
 4702|       |
 4703|    268|    PyInterpreterState *interp = _PyInterpreterState_GET();
 4704|       |
 4705|    268|    if (type->tp_dictoffset) {
  ------------------
  |  Branch (4705:9): [True: 109, False: 159]
  ------------------
 4706|    109|        if (type_add_common_descriptor(
  ------------------
  |  Branch (4706:13): [True: 0, False: 109]
  ------------------
 4707|    109|            interp,
 4708|    109|            &interp->cached_objects.dict_descriptor,
 4709|    109|            &subtype_getset_dict,
 4710|    109|            dict) < 0)
 4711|      0|        {
 4712|      0|            return -1;
 4713|      0|        }
 4714|    109|    }
 4715|    268|    if (type->tp_weaklistoffset) {
  ------------------
  |  Branch (4715:9): [True: 126, False: 142]
  ------------------
 4716|    126|        if (type_add_common_descriptor(
  ------------------
  |  Branch (4716:13): [True: 0, False: 126]
  ------------------
 4717|    126|            interp,
 4718|    126|            &interp->cached_objects.weakref_descriptor,
 4719|    126|            &subtype_getset_weakref,
 4720|    126|            dict) < 0)
 4721|      0|        {
 4722|      0|            return -1;
 4723|      0|        }
 4724|    126|    }
 4725|       |
 4726|    268|    return 0;
 4727|    268|}
typeobject.c:type_add_common_descriptor:
 4628|    235|{
 4629|       |#ifdef Py_GIL_DISABLED
 4630|       |    PyMutex_Lock(&interp->cached_objects.descriptor_mutex);
 4631|       |#endif
 4632|    235|    PyObject *descr = *cache;
 4633|    235|    if (!descr) {
  ------------------
  |  Branch (4633:9): [True: 4, False: 231]
  ------------------
 4634|      4|        descr = PyDescr_NewGetSet(&PyBaseObject_Type, getset_def);
 4635|      4|        *cache = descr;
 4636|      4|    }
 4637|       |#ifdef Py_GIL_DISABLED
 4638|       |    PyMutex_Unlock(&interp->cached_objects.descriptor_mutex);
 4639|       |#endif
 4640|    235|    if (!descr) {
  ------------------
  |  Branch (4640:9): [True: 0, False: 235]
  ------------------
 4641|      0|        return -1;
 4642|      0|    }
 4643|    235|    if (PyDict_SetDefaultRef(dict, PyDescr_NAME(descr), descr, NULL) < 0) {
  ------------------
  |  |   36|    235|#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
  ------------------
  |  Branch (4643:9): [True: 0, False: 235]
  ------------------
 4644|      0|        return -1;
 4645|      0|    }
 4646|    235|    return 0;
 4647|    235|}
typeobject.c:type_new_set_slots:
 4732|    268|{
 4733|    268|    type->tp_getset = NULL;
 4734|       |
 4735|       |    /* Special case some slots */
 4736|    268|    if (type->tp_dictoffset != 0 || ctx->nslot > 0) {
  ------------------
  |  Branch (4736:9): [True: 109, False: 159]
  |  Branch (4736:37): [True: 12, False: 147]
  ------------------
 4737|    121|        PyTypeObject *base = ctx->base;
 4738|    121|        if (base->tp_getattr == NULL && base->tp_getattro == NULL) {
  ------------------
  |  Branch (4738:13): [True: 121, False: 0]
  |  Branch (4738:41): [True: 0, False: 121]
  ------------------
 4739|      0|            type->tp_getattro = PyObject_GenericGetAttr;
 4740|      0|        }
 4741|    121|        if (base->tp_setattr == NULL && base->tp_setattro == NULL) {
  ------------------
  |  Branch (4741:13): [True: 121, False: 0]
  |  Branch (4741:41): [True: 0, False: 121]
  ------------------
 4742|      0|            type->tp_setattro = PyObject_GenericSetAttr;
 4743|      0|        }
 4744|    121|    }
 4745|    268|}
typeobject.c:type_new_set_classcell:
 4751|    268|{
 4752|    268|    PyObject *cell = PyDict_GetItemWithError(dict, &_Py_ID(__classcell__));
  ------------------
  |  |  920|    268|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    268|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    268|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4753|    268|    if (cell == NULL) {
  ------------------
  |  Branch (4753:9): [True: 248, False: 20]
  ------------------
 4754|    248|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4754:13): [True: 0, False: 248]
  ------------------
 4755|      0|            return -1;
 4756|      0|        }
 4757|    248|        return 0;
 4758|    248|    }
 4759|       |
 4760|       |    /* At least one method requires a reference to its defining class */
 4761|     20|    if (!PyCell_Check(cell)) {
  ------------------
  |  |   18|     20|#define PyCell_Check(op) Py_IS_TYPE((op), &PyCell_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 (4761:9): [True: 0, False: 20]
  ------------------
 4762|      0|        PyErr_Format(PyExc_TypeError,
 4763|      0|                     "__classcell__ must be a nonlocal cell, not %.200R",
 4764|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4765|      0|        return -1;
 4766|      0|    }
 4767|       |
 4768|     20|    (void)PyCell_Set(cell, (PyObject *) type);
 4769|     20|    if (PyDict_DelItem(dict, &_Py_ID(__classcell__)) < 0) {
  ------------------
  |  |  920|     20|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     20|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     20|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4769:9): [True: 0, False: 20]
  ------------------
 4770|      0|        return -1;
 4771|      0|    }
 4772|     20|    return 0;
 4773|     20|}
typeobject.c:type_new_set_classdictcell:
 4777|    268|{
 4778|    268|    PyObject *cell = PyDict_GetItemWithError(dict, &_Py_ID(__classdictcell__));
  ------------------
  |  |  920|    268|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    268|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    268|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4779|    268|    if (cell == NULL) {
  ------------------
  |  Branch (4779:9): [True: 51, False: 217]
  ------------------
 4780|     51|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4780:13): [True: 0, False: 51]
  ------------------
 4781|      0|            return -1;
 4782|      0|        }
 4783|     51|        return 0;
 4784|     51|    }
 4785|       |
 4786|       |    /* At least one method requires a reference to the dict of its defining class */
 4787|    217|    if (!PyCell_Check(cell)) {
  ------------------
  |  |   18|    217|#define PyCell_Check(op) Py_IS_TYPE((op), &PyCell_Type)
  |  |  ------------------
  |  |  |  |  215|    217|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    217|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    217|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4787:9): [True: 0, False: 217]
  ------------------
 4788|      0|        PyErr_Format(PyExc_TypeError,
 4789|      0|                     "__classdictcell__ must be a nonlocal cell, not %.200R",
 4790|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4791|      0|        return -1;
 4792|      0|    }
 4793|       |
 4794|    217|    (void)PyCell_Set(cell, (PyObject *)dict);
 4795|    217|    if (PyDict_DelItem(dict, &_Py_ID(__classdictcell__)) < 0) {
  ------------------
  |  |  920|    217|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    217|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    217|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4795:9): [True: 0, False: 217]
  ------------------
 4796|      0|        return -1;
 4797|      0|    }
 4798|    217|    return 0;
 4799|    217|}
typeobject.c:fixup_slot_dispatchers:
12133|    268|{
12134|    268|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (12134:5): [True: 268, False: 0]
  ------------------
12135|  18.2k|    for (pytype_slotdef *p = slotdefs; p->name; ) {
  ------------------
  |  Branch (12135:40): [True: 17.9k, False: 268]
  ------------------
12136|       |        update_one_slot(type, p, &p, NULL);
12137|  17.9k|    }
12138|    268|}
typeobject.c:type_new_set_names:
12277|    268|{
12278|    268|    PyObject *dict = lookup_tp_dict(type);
12279|    268|    PyObject *names_to_set = PyDict_Copy(dict);
12280|    268|    if (names_to_set == NULL) {
  ------------------
  |  Branch (12280:9): [True: 0, False: 268]
  ------------------
12281|      0|        return -1;
12282|      0|    }
12283|       |
12284|    268|    Py_ssize_t i = 0;
12285|    268|    PyObject *key, *value;
12286|  3.41k|    while (PyDict_Next(names_to_set, &i, &key, &value)) {
  ------------------
  |  Branch (12286:12): [True: 3.14k, False: 268]
  ------------------
12287|  3.14k|        PyObject *set_name = _PyObject_LookupSpecial(value,
12288|  3.14k|                                                     &_Py_ID(__set_name__));
  ------------------
  |  |  920|  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
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12289|  3.14k|        if (set_name == NULL) {
  ------------------
  |  Branch (12289:13): [True: 3.10k, False: 46]
  ------------------
12290|  3.10k|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (12290:17): [True: 0, False: 3.10k]
  ------------------
12291|      0|                goto error;
12292|      0|            }
12293|  3.10k|            continue;
12294|  3.10k|        }
12295|       |
12296|     46|        PyObject *res = PyObject_CallFunctionObjArgs(set_name, type, key, NULL);
12297|     46|        Py_DECREF(set_name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12298|       |
12299|     46|        if (res == NULL) {
  ------------------
  |  Branch (12299:13): [True: 0, False: 46]
  ------------------
12300|      0|            _PyErr_FormatNote(
12301|      0|                "Error calling __set_name__ on '%.100s' instance %R "
12302|      0|                "in '%.100s'",
12303|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12304|      0|            goto error;
12305|      0|        }
12306|     46|        else {
12307|     46|            Py_DECREF(res);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12308|     46|        }
12309|     46|    }
12310|       |
12311|    268|    Py_DECREF(names_to_set);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12312|    268|    return 0;
12313|       |
12314|      0|error:
12315|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12316|      0|    return -1;
12317|    268|}
typeobject.c:type_new_init_subclass:
12323|    268|{
12324|    268|    PyObject *args[2] = {(PyObject *)type, (PyObject *)type};
12325|    268|    PyObject *super = PyObject_Vectorcall((PyObject *)&PySuper_Type,
12326|    268|                                          args, 2, NULL);
12327|    268|    if (super == NULL) {
  ------------------
  |  Branch (12327:9): [True: 0, False: 268]
  ------------------
12328|      0|        return -1;
12329|      0|    }
12330|       |
12331|    268|    PyObject *func = PyObject_GetAttr(super, &_Py_ID(__init_subclass__));
  ------------------
  |  |  920|    268|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    268|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    268|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12332|    268|    Py_DECREF(super);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12333|    268|    if (func == NULL) {
  ------------------
  |  Branch (12333:9): [True: 0, False: 268]
  ------------------
12334|      0|        return -1;
12335|      0|    }
12336|       |
12337|    268|    PyObject *result = PyObject_VectorcallDict(func, NULL, 0, kwds);
12338|    268|    Py_DECREF(func);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12339|    268|    if (result == NULL) {
  ------------------
  |  Branch (12339:9): [True: 0, False: 268]
  ------------------
12340|      0|        return -1;
12341|      0|    }
12342|       |
12343|    268|    Py_DECREF(result);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12344|    268|    return 0;
12345|    268|}
typeobject.c:type_is_gc:
 7280|  27.3M|{
 7281|  27.3M|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|  27.3M|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 7282|  27.3M|    return type->tp_flags & Py_TPFLAGS_HEAPTYPE;
  ------------------
  |  |  503|  27.3M|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
 7283|  27.3M|}
typeobject.c:type_vectorcall:
 5122|    258|{
 5123|    258|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    258|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 5124|    258|    if (nargs == 1 && metatype == (PyObject *)&PyType_Type){
  ------------------
  |  Branch (5124:9): [True: 73, False: 185]
  |  Branch (5124:23): [True: 73, False: 0]
  ------------------
 5125|     73|        if (!_PyArg_NoKwnames("type", kwnames)) {
  ------------------
  |  |   15|     73|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 73, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5126|      0|            return NULL;
 5127|      0|        }
 5128|     73|        return Py_NewRef(Py_TYPE(args[0]));
  ------------------
  |  |  550|     73|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     73|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     73|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5129|     73|    }
 5130|       |    /* In other (much less common) cases, fall back to
 5131|       |       more flexible calling conventions. */
 5132|    185|    PyThreadState *tstate = _PyThreadState_GET();
 5133|    185|    return _PyObject_MakeTpCall(tstate, metatype, args, nargs, kwnames);
 5134|    258|}
typeobject.c:object_richcompare:
 7522|  11.6k|{
 7523|  11.6k|    PyObject *res;
 7524|       |
 7525|  11.6k|    switch (op) {
 7526|       |
 7527|  11.6k|    case Py_EQ:
  ------------------
  |  |  654|  11.6k|#define Py_EQ 2
  ------------------
  |  Branch (7527:5): [True: 11.6k, False: 0]
  ------------------
 7528|       |        /* Return NotImplemented instead of False, so if two
 7529|       |           objects are compared, both get a chance at the
 7530|       |           comparison.  See issue #1393. */
 7531|  11.6k|        res = Py_NewRef((self == other) ? Py_True : Py_NotImplemented);
  ------------------
  |  |  550|  11.6k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  11.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 4, False: 11.6k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7532|  11.6k|        break;
 7533|       |
 7534|      0|    case Py_NE:
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (7534:5): [True: 0, False: 11.6k]
  ------------------
 7535|       |        /* By default, __ne__() delegates to __eq__() and inverts the result,
 7536|       |           unless the latter returns NotImplemented. */
 7537|      0|        if (Py_TYPE(self)->tp_richcompare == 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 (7537:13): [True: 0, False: 0]
  ------------------
 7538|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7539|      0|            break;
 7540|      0|        }
 7541|      0|        res = (*Py_TYPE(self)->tp_richcompare)(self, other, Py_EQ);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      res = (*Py_TYPE(self)->tp_richcompare)(self, other, Py_EQ);
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
 7542|      0|        if (res != NULL && res != Py_NotImplemented) {
  ------------------
  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (7542:13): [True: 0, False: 0]
  |  Branch (7542:28): [True: 0, False: 0]
  ------------------
 7543|      0|            int ok = PyObject_IsTrue(res);
 7544|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7545|      0|            if (ok < 0)
  ------------------
  |  Branch (7545:17): [True: 0, False: 0]
  ------------------
 7546|      0|                res = NULL;
 7547|      0|            else {
 7548|      0|                if (ok)
  ------------------
  |  Branch (7548:21): [True: 0, False: 0]
  ------------------
 7549|      0|                    res = Py_NewRef(Py_False);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7550|      0|                else
 7551|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7552|      0|            }
 7553|      0|        }
 7554|      0|        break;
 7555|       |
 7556|      0|    default:
  ------------------
  |  Branch (7556:5): [True: 0, False: 11.6k]
  ------------------
 7557|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7558|      0|        break;
 7559|  11.6k|    }
 7560|       |
 7561|  11.6k|    return res;
 7562|  11.6k|}
typeobject.c:object_dealloc:
 7477|  8.08M|{
 7478|  8.08M|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|  8.08M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7479|  8.08M|}
typeobject.c:object_str:
 7511|   355k|{
 7512|   355k|    unaryfunc f;
 7513|       |
 7514|   355k|    f = Py_TYPE(self)->tp_repr;
  ------------------
  |  |  213|   355k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7515|   355k|    if (f == NULL)
  ------------------
  |  Branch (7515:9): [True: 0, False: 355k]
  ------------------
 7516|      0|        f = object_repr;
 7517|   355k|    return f(self);
 7518|   355k|}
typeobject.c:object_subclasshook:
 8409|     16|{
 8410|     16|    Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|     16|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|     16|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 8411|     16|}
typeobject.c:object_init_subclass:
 8423|    268|{
 8424|    268|    Py_RETURN_NONE;
  ------------------
  |  |  628|    268|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    268|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 8425|    268|}
typeobject.c:object___format___impl:
 8447|   355k|{
 8448|       |    /* Issue 7994: If we're converting to a string, we
 8449|       |       should reject format specifications */
 8450|   355k|    if (PyUnicode_GET_LENGTH(format_spec) > 0) {
  ------------------
  |  |  299|   355k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (8450:9): [True: 0, False: 355k]
  ------------------
 8451|      0|        PyErr_Format(PyExc_TypeError,
 8452|      0|                     "unsupported format string passed to %.200s.__format__",
 8453|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8454|      0|        return NULL;
 8455|      0|    }
 8456|   355k|    return PyObject_Str(self);
 8457|   355k|}
typeobject.c:object_get_class:
 7572|  20.9M|{
 7573|  20.9M|    return Py_NewRef(Py_TYPE(self));
  ------------------
  |  |  550|  20.9M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  20.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7574|  20.9M|}
typeobject.c:object_init:
 7387|    548|{
 7388|    548|    PyTypeObject *type = Py_TYPE(self);
  ------------------
  |  |  213|    548|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    548|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    548|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7389|    548|    if (excess_args(args, kwds)) {
  ------------------
  |  Branch (7389:9): [True: 251, False: 297]
  ------------------
 7390|    251|        if (type->tp_init != object_init) {
  ------------------
  |  Branch (7390:13): [True: 0, False: 251]
  ------------------
 7391|      0|            PyErr_SetString(PyExc_TypeError,
 7392|      0|                            "object.__init__() takes exactly one argument (the instance to initialize)");
 7393|      0|            return -1;
 7394|      0|        }
 7395|    251|        if (type->tp_new == object_new) {
  ------------------
  |  Branch (7395:13): [True: 0, False: 251]
  ------------------
 7396|      0|            PyErr_Format(PyExc_TypeError,
 7397|      0|                         "%.200s.__init__() takes exactly one argument (the instance to initialize)",
 7398|      0|                         type->tp_name);
 7399|      0|            return -1;
 7400|      0|        }
 7401|    251|    }
 7402|    548|    return 0;
 7403|    548|}
typeobject.c:excess_args:
 7380|   453k|{
 7381|   453k|    return PyTuple_GET_SIZE(args) ||
  ------------------
  |  |   27|   907k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   453k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   453k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (27:30): [True: 452k, False: 526]
  |  |  ------------------
  ------------------
 7382|    526|        (kwds && PyDict_Check(kwds) && PyDict_GET_SIZE(kwds));
  ------------------
  |  |   18|      5|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    531|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 5, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      (kwds && PyDict_Check(kwds) && PyDict_GET_SIZE(kwds));
  ------------------
  |  |   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 (63:29): [True: 5, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (7382:10): [True: 5, False: 521]
  ------------------
 7383|   453k|}
typeobject.c:object_new:
 7407|   452k|{
 7408|   452k|    if (excess_args(args, kwds)) {
  ------------------
  |  Branch (7408:9): [True: 452k, False: 224]
  ------------------
 7409|   452k|        if (type->tp_new != object_new) {
  ------------------
  |  Branch (7409:13): [True: 0, False: 452k]
  ------------------
 7410|      0|            PyErr_SetString(PyExc_TypeError,
 7411|      0|                            "object.__new__() takes exactly one argument (the type to instantiate)");
 7412|      0|            return NULL;
 7413|      0|        }
 7414|   452k|        if (type->tp_init == object_init) {
  ------------------
  |  Branch (7414:13): [True: 0, False: 452k]
  ------------------
 7415|      0|            PyErr_Format(PyExc_TypeError, "%.200s() takes no arguments",
 7416|      0|                         type->tp_name);
 7417|      0|            return NULL;
 7418|      0|        }
 7419|   452k|    }
 7420|       |
 7421|   452k|    if (type->tp_flags & Py_TPFLAGS_IS_ABSTRACT) {
  ------------------
  |  |  540|   452k|#define Py_TPFLAGS_IS_ABSTRACT (1UL << 20)
  ------------------
  |  Branch (7421:9): [True: 0, False: 452k]
  ------------------
 7422|      0|        PyObject *abstract_methods;
 7423|      0|        PyObject *sorted_methods;
 7424|      0|        PyObject *joined;
 7425|      0|        PyObject* comma_w_quotes_sep;
 7426|      0|        Py_ssize_t method_count;
 7427|       |
 7428|       |        /* Compute "', '".join(sorted(type.__abstractmethods__))
 7429|       |           into joined. */
 7430|      0|        abstract_methods = type_abstractmethods((PyObject *)type, NULL);
 7431|      0|        if (abstract_methods == NULL)
  ------------------
  |  Branch (7431:13): [True: 0, False: 0]
  ------------------
 7432|      0|            return NULL;
 7433|      0|        sorted_methods = PySequence_List(abstract_methods);
 7434|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7435|      0|        if (sorted_methods == NULL)
  ------------------
  |  Branch (7435:13): [True: 0, False: 0]
  ------------------
 7436|      0|            return NULL;
 7437|      0|        if (PyList_Sort(sorted_methods)) {
  ------------------
  |  Branch (7437:13): [True: 0, False: 0]
  ------------------
 7438|      0|            Py_DECREF(sorted_methods);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7439|      0|            return NULL;
 7440|      0|        }
 7441|      0|        comma_w_quotes_sep = PyUnicode_FromString("', '");
 7442|      0|        if (!comma_w_quotes_sep) {
  ------------------
  |  Branch (7442:13): [True: 0, False: 0]
  ------------------
 7443|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7444|      0|            return NULL;
 7445|      0|        }
 7446|      0|        joined = PyUnicode_Join(comma_w_quotes_sep, sorted_methods);
 7447|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7448|      0|        if (joined == NULL)  {
  ------------------
  |  Branch (7448:13): [True: 0, False: 0]
  ------------------
 7449|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7450|      0|            return NULL;
 7451|      0|        }
 7452|      0|        method_count = PyObject_Length(sorted_methods);
  ------------------
  |  |  353|      0|#define PyObject_Length PyObject_Size
  ------------------
 7453|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7454|      0|        if (method_count == -1) {
  ------------------
  |  Branch (7454:13): [True: 0, False: 0]
  ------------------
 7455|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7456|      0|            return NULL;
 7457|      0|        }
 7458|       |
 7459|      0|        PyErr_Format(PyExc_TypeError,
 7460|      0|                     "Can't instantiate abstract class %s "
 7461|      0|                     "without an implementation for abstract method%s '%U'",
 7462|      0|                     type->tp_name,
 7463|      0|                     method_count > 1 ? "s" : "",
  ------------------
  |  Branch (7463:22): [True: 0, False: 0]
  ------------------
 7464|      0|                     joined);
 7465|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7466|      0|        return NULL;
 7467|      0|    }
 7468|   452k|    PyObject *obj = type->tp_alloc(type, 0);
 7469|   452k|    if (obj == NULL) {
  ------------------
  |  Branch (7469:9): [True: 0, False: 452k]
  ------------------
 7470|      0|        return NULL;
 7471|      0|    }
 7472|   452k|    return obj;
 7473|   452k|}
typeobject.c:type_add_method:
 8602|  1.74k|{
 8603|  1.74k|    PyObject *descr;
 8604|  1.74k|    int isdescr = 1;
 8605|  1.74k|    if (meth->ml_flags & METH_CLASS) {
  ------------------
  |  |  104|  1.74k|#define METH_CLASS    0x0010
  ------------------
  |  Branch (8605:9): [True: 115, False: 1.62k]
  ------------------
 8606|    115|        if (meth->ml_flags & METH_STATIC) {
  ------------------
  |  |  105|    115|#define METH_STATIC   0x0020
  ------------------
  |  Branch (8606:13): [True: 0, False: 115]
  ------------------
 8607|      0|            PyErr_SetString(PyExc_ValueError,
 8608|      0|                    "method cannot be both class and static");
 8609|      0|            return -1;
 8610|      0|        }
 8611|    115|        descr = PyDescr_NewClassMethod(type, meth);
 8612|    115|    }
 8613|  1.62k|    else if (meth->ml_flags & METH_STATIC) {
  ------------------
  |  |  105|  1.62k|#define METH_STATIC   0x0020
  ------------------
  |  Branch (8613:14): [True: 6, False: 1.62k]
  ------------------
 8614|      6|        PyObject *mod = type_module(type);
 8615|      6|        if (mod == NULL) {
  ------------------
  |  Branch (8615:13): [True: 0, False: 6]
  ------------------
 8616|      0|            if (!PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (8616:17): [True: 0, False: 0]
  ------------------
 8617|      0|                return -1;
 8618|      0|            }
 8619|      0|            PyErr_Clear();
 8620|      0|        }
 8621|      6|        PyObject *cfunc = PyCFunction_NewEx(meth, (PyObject*)type, mod);
  ------------------
  |  |   87|      6|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  ------------------
 8622|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8623|      6|        if (cfunc == NULL) {
  ------------------
  |  Branch (8623:13): [True: 0, False: 6]
  ------------------
 8624|      0|            return -1;
 8625|      0|        }
 8626|      6|        descr = PyStaticMethod_New(cfunc);
 8627|      6|        isdescr = 0;  // PyStaticMethod is not PyDescrObject
 8628|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8629|      6|    }
 8630|  1.62k|    else {
 8631|  1.62k|        descr = PyDescr_NewMethod(type, meth);
 8632|  1.62k|    }
 8633|  1.74k|    if (descr == NULL) {
  ------------------
  |  Branch (8633:9): [True: 0, False: 1.74k]
  ------------------
 8634|      0|        return -1;
 8635|      0|    }
 8636|       |
 8637|  1.74k|    PyObject *name;
 8638|  1.74k|    if (isdescr) {
  ------------------
  |  Branch (8638:9): [True: 1.73k, False: 6]
  ------------------
 8639|  1.73k|        name = PyDescr_NAME(descr);
  ------------------
  |  |   36|  1.73k|#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
  ------------------
 8640|  1.73k|    }
 8641|      6|    else {
 8642|      6|        name = PyUnicode_FromString(meth->ml_name);
 8643|      6|        if (name == NULL) {
  ------------------
  |  Branch (8643:13): [True: 0, False: 6]
  ------------------
 8644|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8645|      0|            return -1;
 8646|      0|        }
 8647|      6|    }
 8648|       |
 8649|  1.74k|    int err;
 8650|  1.74k|    PyObject *dict = lookup_tp_dict(type);
 8651|  1.74k|    if (!(meth->ml_flags & METH_COEXIST)) {
  ------------------
  |  |  112|  1.74k|#define METH_COEXIST   0x0040
  ------------------
  |  Branch (8651:9): [True: 1.72k, False: 20]
  ------------------
 8652|  1.72k|        err = PyDict_SetDefaultRef(dict, name, descr, NULL) < 0;
 8653|  1.72k|    }
 8654|     20|    else {
 8655|     20|        err = PyDict_SetItem(dict, name, descr) < 0;
 8656|     20|    }
 8657|  1.74k|    if (!isdescr) {
  ------------------
  |  Branch (8657:9): [True: 6, False: 1.73k]
  ------------------
 8658|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8659|      6|    }
 8660|  1.74k|    Py_DECREF(descr);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8661|  1.74k|    if (err) {
  ------------------
  |  Branch (8661:9): [True: 0, False: 1.74k]
  ------------------
 8662|      0|        return -1;
 8663|      0|    }
 8664|  1.74k|    return 0;
 8665|  1.74k|}
typeobject.c:type_add_flags:
  471|  5.74k|{
  472|  5.74k|    type_set_flags(tp, tp->tp_flags | flag);
  473|  5.74k|}
typeobject.c:type_ready:
 9529|    800|{
 9530|    800|    ASSERT_TYPE_LOCK_HELD();
 9531|       |
 9532|    800|    _PyObject_ASSERT((PyObject *)type, !is_readying(type));
  ------------------
  |  |  423|    800|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|    800|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  414|    800|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (414:6): [True: 800, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  415|    800|      ? (void)(0) \
  |  |  |  |  |  |  416|    800|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9533|    800|    start_readying(type);
 9534|       |
 9535|    800|    if (type_ready_pre_checks(type) < 0) {
  ------------------
  |  Branch (9535:9): [True: 0, False: 800]
  ------------------
 9536|      0|        goto error;
 9537|      0|    }
 9538|       |
 9539|       |#ifdef Py_TRACE_REFS
 9540|       |    /* PyType_Ready is the closest thing we have to a choke point
 9541|       |     * for type objects, so is the best place I can think of to try
 9542|       |     * to get type objects into the doubly-linked list of all objects.
 9543|       |     * Still, not all type objects go through PyType_Ready.
 9544|       |     */
 9545|       |    _Py_AddToAllObjects((PyObject *)type);
 9546|       |#endif
 9547|       |
 9548|       |    /* Initialize tp_dict: _PyType_IsReady() tests if tp_dict != NULL */
 9549|    800|    if (type_ready_set_dict(type) < 0) {
  ------------------
  |  Branch (9549:9): [True: 0, False: 800]
  ------------------
 9550|      0|        goto error;
 9551|      0|    }
 9552|    800|    if (type_ready_set_base(type) < 0) {
  ------------------
  |  Branch (9552:9): [True: 0, False: 800]
  ------------------
 9553|      0|        goto error;
 9554|      0|    }
 9555|    800|    if (type_ready_set_type(type) < 0) {
  ------------------
  |  Branch (9555:9): [True: 0, False: 800]
  ------------------
 9556|      0|        goto error;
 9557|      0|    }
 9558|    800|    if (type_ready_set_bases(type, initial) < 0) {
  ------------------
  |  Branch (9558:9): [True: 0, False: 800]
  ------------------
 9559|      0|        goto error;
 9560|      0|    }
 9561|    800|    if (type_ready_mro(type, initial) < 0) {
  ------------------
  |  Branch (9561:9): [True: 0, False: 800]
  ------------------
 9562|      0|        goto error;
 9563|      0|    }
 9564|    800|    if (type_ready_set_new(type, initial) < 0) {
  ------------------
  |  Branch (9564:9): [True: 0, False: 800]
  ------------------
 9565|      0|        goto error;
 9566|      0|    }
 9567|    800|    if (type_ready_fill_dict(type) < 0) {
  ------------------
  |  Branch (9567:9): [True: 0, False: 800]
  ------------------
 9568|      0|        goto error;
 9569|      0|    }
 9570|    800|    if (initial) {
  ------------------
  |  Branch (9570:9): [True: 800, False: 0]
  ------------------
 9571|    800|        if (type_ready_inherit(type) < 0) {
  ------------------
  |  Branch (9571:13): [True: 0, False: 800]
  ------------------
 9572|      0|            goto error;
 9573|      0|        }
 9574|    800|        if (type_ready_preheader(type) < 0) {
  ------------------
  |  Branch (9574:13): [True: 0, False: 800]
  ------------------
 9575|      0|            goto error;
 9576|      0|        }
 9577|    800|    }
 9578|    800|    if (type_ready_set_hash(type) < 0) {
  ------------------
  |  Branch (9578:9): [True: 0, False: 800]
  ------------------
 9579|      0|        goto error;
 9580|      0|    }
 9581|    800|    if (type_ready_add_subclasses(type) < 0) {
  ------------------
  |  Branch (9581:9): [True: 0, False: 800]
  ------------------
 9582|      0|        goto error;
 9583|      0|    }
 9584|    800|    if (initial) {
  ------------------
  |  Branch (9584:9): [True: 800, False: 0]
  ------------------
 9585|    800|        if (type_ready_managed_dict(type) < 0) {
  ------------------
  |  Branch (9585:13): [True: 0, False: 800]
  ------------------
 9586|      0|            goto error;
 9587|      0|        }
 9588|    800|        if (type_ready_post_checks(type) < 0) {
  ------------------
  |  Branch (9588:13): [True: 0, False: 800]
  ------------------
 9589|      0|            goto error;
 9590|      0|        }
 9591|    800|    }
 9592|       |
 9593|       |    /* All done -- set the ready flag */
 9594|    800|    if (initial) {
  ------------------
  |  Branch (9594:9): [True: 800, False: 0]
  ------------------
 9595|    800|        type_add_flags(type, Py_TPFLAGS_READY);
  ------------------
  |  |  518|    800|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
 9596|    800|    } else {
 9597|      0|        assert(type->tp_flags & Py_TPFLAGS_READY);
  ------------------
  |  Branch (9597:9): [True: 0, False: 0]
  ------------------
 9598|      0|    }
 9599|       |
 9600|    800|    stop_readying(type);
 9601|       |
 9602|    800|    assert(_PyType_CheckConsistency(type));
  ------------------
  |  Branch (9602:5): [True: 800, False: 0]
  ------------------
 9603|    800|    return 0;
 9604|       |
 9605|      0|error:
 9606|      0|    stop_readying(type);
 9607|      0|    return -1;
 9608|    800|}
typeobject.c:start_readying:
  483|    800|{
  484|    800|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|    800|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (484:9): [True: 414, False: 386]
  ------------------
  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);
  ------------------
  |  Branch (487:9): [True: 414, False: 0]
  ------------------
  488|    414|        assert(!state->readying);
  ------------------
  |  Branch (488:9): [True: 414, False: 0]
  ------------------
  489|    414|        state->readying = 1;
  490|    414|        return;
  491|    414|    }
  492|    800|    assert((type->tp_flags & Py_TPFLAGS_READYING) == 0);
  ------------------
  |  Branch (492:5): [True: 386, False: 0]
  ------------------
  493|    386|    type_add_flags(type, Py_TPFLAGS_READYING);
  ------------------
  |  |  521|    386|#define Py_TPFLAGS_READYING (1UL << 13)
  ------------------
  494|    386|}
typeobject.c:type_ready_pre_checks:
 9024|    800|{
 9025|       |    /* Consistency checks for PEP 590:
 9026|       |     * - Py_TPFLAGS_METHOD_DESCRIPTOR requires tp_descr_get
 9027|       |     * - Py_TPFLAGS_HAVE_VECTORCALL requires tp_call and
 9028|       |     *   tp_vectorcall_offset > 0
 9029|       |     * To avoid mistakes, we require this before inheriting.
 9030|       |     */
 9031|    800|    if (type->tp_flags & Py_TPFLAGS_METHOD_DESCRIPTOR) {
  ------------------
  |  |  534|    800|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (9031:9): [True: 7, False: 793]
  ------------------
 9032|      7|        _PyObject_ASSERT((PyObject *)type, type->tp_descr_get != NULL);
  ------------------
  |  |  423|      7|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|      7|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  414|      7|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (414:6): [True: 7, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  415|      7|      ? (void)(0) \
  |  |  |  |  |  |  416|      7|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9033|      7|    }
 9034|    800|    if (type->tp_flags & Py_TPFLAGS_HAVE_VECTORCALL) {
  ------------------
  |  |  510|    800|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (9034:9): [True: 20, False: 780]
  ------------------
 9035|     20|        _PyObject_ASSERT((PyObject *)type, type->tp_vectorcall_offset > 0);
  ------------------
  |  |  423|     20|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|     20|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  414|     20|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (414:6): [True: 20, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  415|     20|      ? (void)(0) \
  |  |  |  |  |  |  416|     20|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9036|     20|        _PyObject_ASSERT((PyObject *)type, type->tp_call != NULL);
  ------------------
  |  |  423|     20|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|     20|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  414|     20|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (414:6): [True: 20, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  415|     20|      ? (void)(0) \
  |  |  |  |  |  |  416|     20|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9037|     20|    }
 9038|       |
 9039|       |    /* Consistency checks for pattern matching
 9040|       |     * Py_TPFLAGS_SEQUENCE and Py_TPFLAGS_MAPPING are mutually exclusive */
 9041|    800|    _PyObject_ASSERT((PyObject *)type, (type->tp_flags & COLLECTION_FLAGS) != COLLECTION_FLAGS);
  ------------------
  |  |  423|    800|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|    800|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  414|    800|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (414:6): [True: 800, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  415|    800|      ? (void)(0) \
  |  |  |  |  |  |  416|    800|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9042|       |
 9043|    800|    if (type->tp_name == NULL) {
  ------------------
  |  Branch (9043:9): [True: 0, False: 800]
  ------------------
 9044|      0|        PyErr_Format(PyExc_SystemError,
 9045|      0|                     "Type does not define the tp_name field.");
 9046|      0|        return -1;
 9047|      0|    }
 9048|    800|    return 0;
 9049|    800|}
typeobject.c:type_ready_set_dict:
 9130|    800|{
 9131|    800|    if (lookup_tp_dict(type) != NULL) {
  ------------------
  |  Branch (9131:9): [True: 268, False: 532]
  ------------------
 9132|    268|        return 0;
 9133|    268|    }
 9134|       |
 9135|    532|    PyObject *dict = PyDict_New();
 9136|    532|    if (dict == NULL) {
  ------------------
  |  Branch (9136:9): [True: 0, False: 532]
  ------------------
 9137|      0|        return -1;
 9138|      0|    }
 9139|    532|    set_tp_dict(type, dict);
 9140|    532|    return 0;
 9141|    532|}
typeobject.c:type_ready_set_base:
 9054|    800|{
 9055|       |    /* Initialize tp_base (defaults to BaseObject unless that's us) */
 9056|    800|    PyTypeObject *base = type->tp_base;
 9057|    800|    if (base == NULL && type != &PyBaseObject_Type) {
  ------------------
  |  Branch (9057:9): [True: 242, False: 558]
  |  Branch (9057:25): [True: 240, False: 2]
  ------------------
 9058|    240|        base = &PyBaseObject_Type;
 9059|    240|        if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) {
  ------------------
  |  |  503|    240|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9059:13): [True: 0, False: 240]
  ------------------
 9060|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9061|      0|        }
 9062|    240|        else {
 9063|    240|            type->tp_base = base;
 9064|    240|        }
 9065|    240|    }
 9066|    800|    assert(type->tp_base != NULL || type == &PyBaseObject_Type);
  ------------------
  |  Branch (9066:5): [True: 798, False: 2]
  |  Branch (9066:5): [True: 2, False: 0]
  ------------------
 9067|       |
 9068|       |    /* Now the only way base can still be NULL is if type is
 9069|       |     * &PyBaseObject_Type. */
 9070|       |
 9071|       |    /* Initialize the base class */
 9072|    800|    if (base != NULL && !_PyType_IsReady(base)) {
  ------------------
  |  Branch (9072:9): [True: 798, False: 2]
  |  Branch (9072:25): [True: 0, False: 798]
  ------------------
 9073|      0|        if (PyType_Ready(base) < 0) {
  ------------------
  |  Branch (9073:13): [True: 0, False: 0]
  ------------------
 9074|      0|            return -1;
 9075|      0|        }
 9076|      0|    }
 9077|       |
 9078|    800|    return 0;
 9079|    800|}
typeobject.c:type_ready_set_type:
 9083|    800|{
 9084|       |    /* Initialize ob_type if NULL.      This means extensions that want to be
 9085|       |       compilable separately on Windows can call PyType_Ready() instead of
 9086|       |       initializing the ob_type field of their type objects. */
 9087|       |    /* The test for base != NULL is really unnecessary, since base is only
 9088|       |       NULL when type is &PyBaseObject_Type, and we know its ob_type is
 9089|       |       not NULL (it's initialized to &PyType_Type).      But coverity doesn't
 9090|       |       know that. */
 9091|    800|    PyTypeObject *base = type->tp_base;
 9092|    800|    if (Py_IS_TYPE(type, NULL) && base != NULL) {
  ------------------
  |  |  215|  1.60k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    800|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    800|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 170, False: 630]
  |  |  ------------------
  ------------------
  |  Branch (9092:35): [True: 170, False: 0]
  ------------------
 9093|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9094|    170|    }
 9095|       |
 9096|    800|    return 0;
 9097|    800|}
typeobject.c:type_ready_set_bases:
 9101|    800|{
 9102|    800|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|    800|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (9102:9): [True: 414, False: 386]
  ------------------
 9103|    414|        if (!initial) {
  ------------------
  |  Branch (9103:13): [True: 0, False: 414]
  ------------------
 9104|      0|            assert(lookup_tp_bases(type) != NULL);
  ------------------
  |  Branch (9104:13): [True: 0, False: 0]
  ------------------
 9105|      0|            return 0;
 9106|      0|        }
 9107|    414|        assert(lookup_tp_bases(type) == NULL);
  ------------------
  |  Branch (9107:9): [True: 414, False: 0]
  ------------------
 9108|    414|    }
 9109|       |
 9110|    800|    PyObject *bases = lookup_tp_bases(type);
 9111|    800|    if (bases == NULL) {
  ------------------
  |  Branch (9111:9): [True: 414, False: 386]
  ------------------
 9112|    414|        PyTypeObject *base = type->tp_base;
 9113|    414|        if (base == NULL) {
  ------------------
  |  Branch (9113:13): [True: 2, False: 412]
  ------------------
 9114|      2|            bases = PyTuple_New(0);
 9115|      2|        }
 9116|    412|        else {
 9117|    412|            bases = PyTuple_Pack(1, base);
 9118|    412|        }
 9119|    414|        if (bases == NULL) {
  ------------------
  |  Branch (9119:13): [True: 0, False: 414]
  ------------------
 9120|      0|            return -1;
 9121|      0|        }
 9122|    414|        set_tp_bases(type, bases, 1);
 9123|    414|    }
 9124|    800|    return 0;
 9125|    800|}
typeobject.c:type_ready_mro:
 9247|    800|{
 9248|    800|    ASSERT_TYPE_LOCK_HELD();
 9249|       |
 9250|    800|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|    800|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (9250:9): [True: 414, False: 386]
  ------------------
 9251|    414|        if (!initial) {
  ------------------
  |  Branch (9251:13): [True: 0, False: 414]
  ------------------
 9252|      0|            assert(lookup_tp_mro(type) != NULL);
  ------------------
  |  Branch (9252:13): [True: 0, False: 0]
  ------------------
 9253|      0|            return 0;
 9254|      0|        }
 9255|    414|        assert(lookup_tp_mro(type) == NULL);
  ------------------
  |  Branch (9255:9): [True: 414, False: 0]
  ------------------
 9256|    414|    }
 9257|       |
 9258|       |    /* Calculate method resolution order */
 9259|    800|    if (mro_internal(type, initial, NULL) < 0) {
  ------------------
  |  Branch (9259:9): [True: 0, False: 800]
  ------------------
 9260|      0|        return -1;
 9261|      0|    }
 9262|    800|    PyObject *mro = lookup_tp_mro(type);
 9263|    800|    assert(mro != NULL);
  ------------------
  |  Branch (9263:5): [True: 800, False: 0]
  ------------------
 9264|    800|    assert(PyTuple_Check(mro));
  ------------------
  |  Branch (9264:5): [True: 800, False: 0]
  ------------------
 9265|       |
 9266|       |    /* All bases of statically allocated type should be statically allocated,
 9267|       |       and static builtin types must have static builtin bases. */
 9268|    800|    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|    800|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9268:9): [True: 414, False: 386]
  ------------------
 9269|    414|        assert(type->tp_flags & Py_TPFLAGS_IMMUTABLETYPE);
  ------------------
  |  Branch (9269:9): [True: 414, False: 0]
  ------------------
 9270|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9271|  1.64k|        for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (9271:32): [True: 1.23k, False: 414]
  ------------------
 9272|  2.46k|            PyTypeObject *base = _PyType_CAST(PyTuple_GET_ITEM(mro, i));
  ------------------
  |  |  770|  1.23k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (37:38): [True: 1.23k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9272:34): [True: 1.23k, False: 0]
  |  Branch (9272:34): [True: 1.23k, False: 0]
  ------------------
 9273|  1.23k|            if (base->tp_flags & Py_TPFLAGS_HEAPTYPE) {
  ------------------
  |  |  503|  1.23k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9273:17): [True: 0, False: 1.23k]
  ------------------
 9274|      0|                PyErr_Format(PyExc_TypeError,
 9275|      0|                             "type '%.100s' is not dynamically allocated but "
 9276|      0|                             "its base type '%.100s' is dynamically allocated",
 9277|      0|                             type->tp_name, base->tp_name);
 9278|      0|                return -1;
 9279|      0|            }
 9280|  2.46k|            assert(!(type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) ||
  ------------------
  |  Branch (9280:13): [True: 0, False: 1.23k]
  |  Branch (9280:13): [True: 1.23k, False: 0]
  ------------------
 9281|  1.23k|                   (base->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN));
 9282|  1.23k|        }
 9283|    414|    }
 9284|    800|    return 0;
 9285|    800|}
typeobject.c:type_ready_set_new:
 9416|    800|{
 9417|    800|    PyTypeObject *base = type->tp_base;
 9418|       |    /* The condition below could use some explanation.
 9419|       |
 9420|       |       It appears that tp_new is not inherited for static types whose base
 9421|       |       class is 'object'; this seems to be a precaution so that old extension
 9422|       |       types don't suddenly become callable (object.__new__ wouldn't insure the
 9423|       |       invariants that the extension type's own factory function ensures).
 9424|       |
 9425|       |       Heap types, of course, are under our control, so they do inherit tp_new;
 9426|       |       static extension types that specify some other built-in type as the
 9427|       |       default also inherit object.__new__. */
 9428|    800|    if (type->tp_new == NULL
  ------------------
  |  Branch (9428:9): [True: 507, False: 293]
  ------------------
 9429|    507|        && base == &PyBaseObject_Type
  ------------------
  |  Branch (9429:12): [True: 269, False: 238]
  ------------------
 9430|    269|        && !(type->tp_flags & Py_TPFLAGS_HEAPTYPE))
  ------------------
  |  |  503|    269|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9430:12): [True: 128, False: 141]
  ------------------
 9431|    128|    {
 9432|    128|        if (initial) {
  ------------------
  |  Branch (9432:13): [True: 128, False: 0]
  ------------------
 9433|    128|            type_add_flags(type, Py_TPFLAGS_DISALLOW_INSTANTIATION);
  ------------------
  |  |  497|    128|#define Py_TPFLAGS_DISALLOW_INSTANTIATION (1UL << 7)
  ------------------
 9434|    128|        } else {
 9435|      0|            assert(type->tp_flags & Py_TPFLAGS_DISALLOW_INSTANTIATION);
  ------------------
  |  Branch (9435:13): [True: 0, False: 0]
  ------------------
 9436|      0|        }
 9437|    128|    }
 9438|       |
 9439|    800|    if (!(type->tp_flags & Py_TPFLAGS_DISALLOW_INSTANTIATION)) {
  ------------------
  |  |  497|    800|#define Py_TPFLAGS_DISALLOW_INSTANTIATION (1UL << 7)
  ------------------
  |  Branch (9439:9): [True: 650, False: 150]
  ------------------
 9440|    650|        if (type->tp_new != NULL) {
  ------------------
  |  Branch (9440:13): [True: 289, False: 361]
  ------------------
 9441|    289|            if (initial || base == NULL || type->tp_new != base->tp_new) {
  ------------------
  |  Branch (9441:17): [True: 289, False: 0]
  |  Branch (9441:28): [True: 0, False: 0]
  |  Branch (9441:44): [True: 0, False: 0]
  ------------------
 9442|       |                // If "__new__" key does not exists in the type dictionary,
 9443|       |                // set it to tp_new_wrapper().
 9444|    289|                if (add_tp_new_wrapper(type) < 0) {
  ------------------
  |  Branch (9444:21): [True: 0, False: 289]
  ------------------
 9445|      0|                    return -1;
 9446|      0|                }
 9447|    289|            }
 9448|    289|        }
 9449|    361|        else {
 9450|    361|            if (initial) {
  ------------------
  |  Branch (9450:17): [True: 361, False: 0]
  ------------------
 9451|       |                // tp_new is NULL: inherit tp_new from base
 9452|    361|                type->tp_new = base->tp_new;
 9453|    361|            }
 9454|    361|        }
 9455|    650|    }
 9456|    150|    else {
 9457|       |        // Py_TPFLAGS_DISALLOW_INSTANTIATION sets tp_new to NULL
 9458|    150|        if (initial) {
  ------------------
  |  Branch (9458:13): [True: 150, False: 0]
  ------------------
 9459|    150|            type->tp_new = NULL;
 9460|    150|        }
 9461|    150|    }
 9462|    800|    return 0;
 9463|    800|}
typeobject.c:add_tp_new_wrapper:
10501|    289|{
10502|    289|    PyObject *dict = lookup_tp_dict(type);
10503|    289|    int r = PyDict_Contains(dict, &_Py_ID(__new__));
  ------------------
  |  |  920|    289|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    289|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    289|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10504|    289|    if (r > 0) {
  ------------------
  |  Branch (10504:9): [True: 0, False: 289]
  ------------------
10505|      0|        return 0;
10506|      0|    }
10507|    289|    if (r < 0) {
  ------------------
  |  Branch (10507:9): [True: 0, False: 289]
  ------------------
10508|      0|        return -1;
10509|      0|    }
10510|       |
10511|    289|    PyObject *func = PyCFunction_NewEx(tp_new_methoddef, (PyObject *)type, NULL);
  ------------------
  |  |   87|    289|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  ------------------
10512|    289|    if (func == NULL) {
  ------------------
  |  Branch (10512:9): [True: 0, False: 289]
  ------------------
10513|      0|        return -1;
10514|      0|    }
10515|    289|    _PyObject_SetDeferredRefcount(func);
10516|    289|    r = PyDict_SetItem(dict, &_Py_ID(__new__), func);
  ------------------
  |  |  920|    289|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    289|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    289|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10517|    289|    Py_DECREF(func);
  ------------------
  |  |  430|    289|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    289|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    289|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10518|    289|    return r;
10519|    289|}
typeobject.c:type_ready_fill_dict:
 9183|    800|{
 9184|       |    /* Add type-specific descriptors to tp_dict */
 9185|    800|    if (add_operators(type) < 0) {
  ------------------
  |  Branch (9185:9): [True: 0, False: 800]
  ------------------
 9186|      0|        return -1;
 9187|      0|    }
 9188|    800|    if (type_add_methods(type) < 0) {
  ------------------
  |  Branch (9188:9): [True: 0, False: 800]
  ------------------
 9189|      0|        return -1;
 9190|      0|    }
 9191|    800|    if (type_add_members(type) < 0) {
  ------------------
  |  Branch (9191:9): [True: 0, False: 800]
  ------------------
 9192|      0|        return -1;
 9193|      0|    }
 9194|    800|    if (type_add_getset(type) < 0) {
  ------------------
  |  Branch (9194:9): [True: 0, False: 800]
  ------------------
 9195|      0|        return -1;
 9196|      0|    }
 9197|    800|    if (type_dict_set_doc(type) < 0) {
  ------------------
  |  Branch (9197:9): [True: 0, False: 800]
  ------------------
 9198|      0|        return -1;
 9199|      0|    }
 9200|    800|    return 0;
 9201|    800|}
typeobject.c:add_operators:
12458|    800|{
12459|    800|    PyObject *dict = lookup_tp_dict(type);
12460|    800|    pytype_slotdef *p;
12461|    800|    PyObject *descr;
12462|    800|    void **ptr;
12463|       |
12464|  76.0k|    for (p = slotdefs; p->name; p++) {
  ------------------
  |  Branch (12464:24): [True: 75.2k, False: 800]
  ------------------
12465|  75.2k|        if (p->wrapper == NULL)
  ------------------
  |  Branch (12465:13): [True: 4.80k, False: 70.4k]
  ------------------
12466|  4.80k|            continue;
12467|  70.4k|        ptr = slotptr(type, p->offset);
12468|  70.4k|        if (!ptr || !*ptr)
  ------------------
  |  Branch (12468:13): [True: 24.6k, False: 45.7k]
  |  Branch (12468:21): [True: 43.1k, False: 2.55k]
  ------------------
12469|  67.8k|            continue;
12470|       |        /* Also ignore when the type slot has been inherited. */
12471|  2.55k|        if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN
  ------------------
  |  |  467|  5.11k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (12471:13): [True: 2.27k, False: 278]
  ------------------
12472|  2.27k|            && type->tp_base != NULL
  ------------------
  |  Branch (12472:16): [True: 2.25k, False: 26]
  ------------------
12473|  2.25k|            && slot_inherited(type, p, ptr))
  ------------------
  |  Branch (12473:16): [True: 322, False: 1.93k]
  ------------------
12474|    322|        {
12475|    322|            continue;
12476|    322|        }
12477|  2.23k|        int r = PyDict_Contains(dict, p->name_strobj);
12478|  2.23k|        if (r > 0)
  ------------------
  |  Branch (12478:13): [True: 40, False: 2.19k]
  ------------------
12479|     40|            continue;
12480|  2.19k|        if (r < 0) {
  ------------------
  |  Branch (12480:13): [True: 0, False: 2.19k]
  ------------------
12481|      0|            return -1;
12482|      0|        }
12483|  2.19k|        if (*ptr == (void *)PyObject_HashNotImplemented) {
  ------------------
  |  Branch (12483:13): [True: 19, False: 2.17k]
  ------------------
12484|       |            /* Classes may prevent the inheritance of the tp_hash
12485|       |               slot by storing PyObject_HashNotImplemented in it. Make it
12486|       |               visible as a None value for the __hash__ attribute. */
12487|     19|            if (PyDict_SetItem(dict, p->name_strobj, Py_None) < 0)
  ------------------
  |  |  616|     19|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (12487:17): [True: 0, False: 19]
  ------------------
12488|      0|                return -1;
12489|     19|        }
12490|  2.17k|        else {
12491|  2.17k|            descr = PyDescr_NewWrapper(type, p, *ptr);
12492|  2.17k|            if (descr == NULL)
  ------------------
  |  Branch (12492:17): [True: 0, False: 2.17k]
  ------------------
12493|      0|                return -1;
12494|  2.17k|            if (PyDict_SetItem(dict, p->name_strobj, descr) < 0) {
  ------------------
  |  Branch (12494:17): [True: 0, False: 2.17k]
  ------------------
12495|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12496|      0|                return -1;
12497|      0|            }
12498|  2.17k|            Py_DECREF(descr);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12499|  2.17k|        }
12500|  2.19k|    }
12501|    800|    return 0;
12502|    800|}
typeobject.c:slot_inherited:
12408|  2.25k|{
12409|  2.25k|    void **slot_base = slotptr(type->tp_base, slotdef->offset);
12410|  2.25k|    if (slot_base == NULL || *slot != *slot_base) {
  ------------------
  |  Branch (12410:9): [True: 766, False: 1.48k]
  |  Branch (12410:30): [True: 1.16k, False: 324]
  ------------------
12411|  1.92k|        return 0;
12412|  1.92k|    }
12413|       |
12414|       |    /* Some slots are inherited in pairs. */
12415|    324|    if (slot == (void *)&type->tp_hash) {
  ------------------
  |  Branch (12415:9): [True: 2, False: 322]
  ------------------
12416|      2|        return (type->tp_richcompare == type->tp_base->tp_richcompare);
12417|      2|    }
12418|    322|    else if (slot == (void *)&type->tp_richcompare) {
  ------------------
  |  Branch (12418:14): [True: 0, False: 322]
  ------------------
12419|      0|        return (type->tp_hash == type->tp_base->tp_hash);
12420|      0|    }
12421|       |
12422|       |    /* It must be inherited (see type_ready_inherit()). */
12423|    322|    return 1;
12424|    324|}
typeobject.c:type_add_methods:
 8677|    800|{
 8678|    800|    PyMethodDef *meth = type->tp_methods;
 8679|    800|    if (meth == NULL) {
  ------------------
  |  Branch (8679:9): [True: 485, False: 315]
  ------------------
 8680|    485|        return 0;
 8681|    485|    }
 8682|       |
 8683|  2.05k|    for (; meth->ml_name != NULL; meth++) {
  ------------------
  |  Branch (8683:12): [True: 1.73k, False: 315]
  ------------------
 8684|  1.73k|        if (type_add_method(type, meth) < 0) {
  ------------------
  |  Branch (8684:13): [True: 0, False: 1.73k]
  ------------------
 8685|      0|            return -1;
 8686|      0|        }
 8687|  1.73k|    }
 8688|    315|    return 0;
 8689|    315|}
typeobject.c:type_add_members:
 8694|    800|{
 8695|    800|    PyMemberDef *memb = type->tp_members;
 8696|    800|    if (memb == NULL) {
  ------------------
  |  Branch (8696:9): [True: 351, False: 449]
  ------------------
 8697|    351|        return 0;
 8698|    351|    }
 8699|       |
 8700|    449|    PyObject *dict = lookup_tp_dict(type);
 8701|  1.13k|    for (; memb->name != NULL; memb++) {
  ------------------
  |  Branch (8701:12): [True: 689, False: 449]
  ------------------
 8702|    689|        PyObject *descr = PyDescr_NewMember(type, memb);
 8703|    689|        if (descr == NULL)
  ------------------
  |  Branch (8703:13): [True: 0, False: 689]
  ------------------
 8704|      0|            return -1;
 8705|       |
 8706|    689|        if (PyDict_SetDefaultRef(dict, PyDescr_NAME(descr), descr, NULL) < 0) {
  ------------------
  |  |   36|    689|#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
  ------------------
  |  Branch (8706:13): [True: 0, False: 689]
  ------------------
 8707|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8708|      0|            return -1;
 8709|      0|        }
 8710|    689|        Py_DECREF(descr);
  ------------------
  |  |  430|    689|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    689|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    689|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8711|    689|    }
 8712|    449|    return 0;
 8713|    449|}
typeobject.c:type_add_getset:
 8718|    800|{
 8719|    800|    PyGetSetDef *gsp = type->tp_getset;
 8720|    800|    if (gsp == NULL) {
  ------------------
  |  Branch (8720:9): [True: 675, False: 125]
  ------------------
 8721|    675|        return 0;
 8722|    675|    }
 8723|       |
 8724|    125|    PyObject *dict = lookup_tp_dict(type);
 8725|    570|    for (; gsp->name != NULL; gsp++) {
  ------------------
  |  Branch (8725:12): [True: 445, False: 125]
  ------------------
 8726|    445|        PyObject *descr = PyDescr_NewGetSet(type, gsp);
 8727|    445|        if (descr == NULL) {
  ------------------
  |  Branch (8727:13): [True: 0, False: 445]
  ------------------
 8728|      0|            return -1;
 8729|      0|        }
 8730|       |
 8731|    445|        if (PyDict_SetDefaultRef(dict, PyDescr_NAME(descr), descr, NULL) < 0) {
  ------------------
  |  |   36|    445|#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
  ------------------
  |  Branch (8731:13): [True: 0, False: 445]
  ------------------
 8732|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8733|      0|            return -1;
 8734|      0|        }
 8735|    445|        Py_DECREF(descr);
  ------------------
  |  |  430|    445|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    445|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    445|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8736|    445|    }
 8737|    125|    return 0;
 8738|    125|}
typeobject.c:type_dict_set_doc:
 9148|    800|{
 9149|    800|    PyObject *dict = lookup_tp_dict(type);
 9150|    800|    int r = PyDict_Contains(dict, &_Py_ID(__doc__));
  ------------------
  |  |  920|    800|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    800|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    800|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9151|    800|    if (r < 0) {
  ------------------
  |  Branch (9151:9): [True: 0, False: 800]
  ------------------
 9152|      0|        return -1;
 9153|      0|    }
 9154|    800|    if (r > 0) {
  ------------------
  |  Branch (9154:9): [True: 183, False: 617]
  ------------------
 9155|    183|        return 0;
 9156|    183|    }
 9157|       |
 9158|    617|    if (type->tp_doc != NULL) {
  ------------------
  |  Branch (9158:9): [True: 365, False: 252]
  ------------------
 9159|    365|        const char *doc_str;
 9160|    365|        doc_str = _PyType_DocWithoutSignature(type->tp_name, type->tp_doc);
 9161|    365|        PyObject *doc = PyUnicode_FromString(doc_str);
 9162|    365|        if (doc == NULL) {
  ------------------
  |  Branch (9162:13): [True: 0, False: 365]
  ------------------
 9163|      0|            return -1;
 9164|      0|        }
 9165|       |
 9166|    365|        if (PyDict_SetItem(dict, &_Py_ID(__doc__), doc) < 0) {
  ------------------
  |  |  920|    365|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    365|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    365|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9166:13): [True: 0, False: 365]
  ------------------
 9167|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9168|      0|            return -1;
 9169|      0|        }
 9170|    365|        Py_DECREF(doc);
  ------------------
  |  |  430|    365|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    365|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    365|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9171|    365|    }
 9172|    252|    else {
 9173|    252|        if (PyDict_SetItem(dict, &_Py_ID(__doc__), Py_None) < 0) {
  ------------------
  |  |  920|    252|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    252|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    252|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (PyDict_SetItem(dict, &_Py_ID(__doc__), Py_None) < 0) {
  ------------------
  |  |  616|    252|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (9173:13): [True: 0, False: 252]
  ------------------
 9174|      0|            return -1;
 9175|      0|        }
 9176|    252|    }
 9177|    617|    return 0;
 9178|    617|}
typeobject.c:type_ready_inherit:
 9322|    800|{
 9323|    800|    ASSERT_TYPE_LOCK_HELD();
 9324|       |
 9325|       |    /* Inherit special flags from dominant base */
 9326|    800|    PyTypeObject *base = type->tp_base;
 9327|    800|    if (base != NULL) {
  ------------------
  |  Branch (9327:9): [True: 798, False: 2]
  ------------------
 9328|    798|        inherit_special(type, base);
 9329|    798|    }
 9330|       |
 9331|       |    // Inherit slots
 9332|    800|    PyObject *mro = lookup_tp_mro(type);
 9333|    800|    assert(mro != NULL);
  ------------------
  |  Branch (9333:5): [True: 800, False: 0]
  ------------------
 9334|    800|    Py_ssize_t n = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   27|    800|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    800|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    800|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9335|  2.48k|    for (Py_ssize_t i = 1; i < n; i++) {
  ------------------
  |  Branch (9335:28): [True: 1.68k, False: 800]
  ------------------
 9336|  1.68k|        PyObject *b = PyTuple_GET_ITEM(mro, i);
  ------------------
  |  |   29|  1.68k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.68k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9336:23): [True: 1.68k, False: 0]
  ------------------
 9337|  1.68k|        if (PyType_Check(b)) {
  ------------------
  |  |  766|  1.68k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 1.68k, False: 0]
  |  |  ------------------
  ------------------
 9338|  1.68k|            if (inherit_slots(type, (PyTypeObject *)b) < 0) {
  ------------------
  |  Branch (9338:17): [True: 0, False: 1.68k]
  ------------------
 9339|      0|                return -1;
 9340|      0|            }
 9341|  1.68k|            inherit_patma_flags(type, (PyTypeObject *)b);
 9342|  1.68k|        }
 9343|  1.68k|    }
 9344|       |
 9345|    800|    if (base != NULL) {
  ------------------
  |  Branch (9345:9): [True: 798, False: 2]
  ------------------
 9346|    798|        type_ready_inherit_as_structs(type, base);
 9347|    798|    }
 9348|       |
 9349|       |    /* Sanity check for tp_free. */
 9350|    800|    if (_PyType_IS_GC(type) && (type->tp_flags & Py_TPFLAGS_BASETYPE) &&
  ------------------
  |  |  822|  1.60k|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|    800|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  |  |  |  Branch (822:26): [True: 728, False: 72]
  |  |  ------------------
  ------------------
                  if (_PyType_IS_GC(type) && (type->tp_flags & Py_TPFLAGS_BASETYPE) &&
  ------------------
  |  |  506|    728|#define Py_TPFLAGS_BASETYPE (1UL << 10)
  ------------------
  |  Branch (9350:32): [True: 506, False: 222]
  ------------------
 9351|    506|        (type->tp_free == NULL || type->tp_free == PyObject_Free))
  ------------------
  |  Branch (9351:10): [True: 0, False: 506]
  |  Branch (9351:35): [True: 0, False: 506]
  ------------------
 9352|      0|    {
 9353|       |        /* This base class needs to call tp_free, but doesn't have
 9354|       |         * one, or its tp_free is for non-gc'ed objects.
 9355|       |         */
 9356|      0|        PyErr_Format(PyExc_TypeError, "type '%.100s' participates in "
 9357|      0|                     "gc and is a base type but has inappropriate "
 9358|      0|                     "tp_free slot",
 9359|      0|                     type->tp_name);
 9360|      0|        return -1;
 9361|      0|    }
 9362|       |
 9363|    800|    return 0;
 9364|    800|}
typeobject.c:inherit_special:
 8743|    798|{
 8744|       |    /* Copying tp_traverse and tp_clear is connected to the GC flags */
 8745|    798|    if (!(type->tp_flags & Py_TPFLAGS_HAVE_GC) &&
  ------------------
  |  |  524|    798|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (8745:9): [True: 84, False: 714]
  ------------------
 8746|     84|        (base->tp_flags & Py_TPFLAGS_HAVE_GC) &&
  ------------------
  |  |  524|     84|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (8746:9): [True: 14, False: 70]
  ------------------
 8747|     14|        (!type->tp_traverse && !type->tp_clear)) {
  ------------------
  |  Branch (8747:10): [True: 14, False: 0]
  |  Branch (8747:32): [True: 14, False: 0]
  ------------------
 8748|     14|        type_add_flags(type, Py_TPFLAGS_HAVE_GC);
  ------------------
  |  |  524|     14|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
 8749|     14|        if (type->tp_traverse == NULL)
  ------------------
  |  Branch (8749:13): [True: 14, False: 0]
  ------------------
 8750|     14|            type->tp_traverse = base->tp_traverse;
 8751|     14|        if (type->tp_clear == NULL)
  ------------------
  |  Branch (8751:13): [True: 14, False: 0]
  ------------------
 8752|     14|            type->tp_clear = base->tp_clear;
 8753|     14|    }
 8754|    798|    type_add_flags(type, base->tp_flags & Py_TPFLAGS_PREHEADER);
  ------------------
  |  |  487|    798|#define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  477|    798|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  |  |  ------------------
  |  |               #define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  482|    798|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  |  |  ------------------
  ------------------
 8755|       |
 8756|    798|    if (type->tp_basicsize == 0)
  ------------------
  |  Branch (8756:9): [True: 18, False: 780]
  ------------------
 8757|     18|        type->tp_basicsize = base->tp_basicsize;
 8758|       |
 8759|       |    /* Copy other non-function slots */
 8760|       |
 8761|    798|#define COPYVAL(SLOT) \
 8762|    798|    if (type->SLOT == 0) { type->SLOT = base->SLOT; }
 8763|       |
 8764|    798|    COPYVAL(tp_itemsize);
  ------------------
  |  | 8762|    798|    if (type->SLOT == 0) { type->SLOT = base->SLOT; }
  |  |  ------------------
  |  |  |  Branch (8762:9): [True: 719, False: 79]
  |  |  ------------------
  ------------------
 8765|    798|    COPYVAL(tp_weaklistoffset);
  ------------------
  |  | 8762|    798|    if (type->SLOT == 0) { type->SLOT = base->SLOT; }
  |  |  ------------------
  |  |  |  Branch (8762:9): [True: 607, False: 191]
  |  |  ------------------
  ------------------
 8766|    798|    COPYVAL(tp_dictoffset);
  ------------------
  |  | 8762|    798|    if (type->SLOT == 0) { type->SLOT = base->SLOT; }
  |  |  ------------------
  |  |  |  Branch (8762:9): [True: 517, False: 281]
  |  |  ------------------
  ------------------
 8767|       |
 8768|    798|#undef COPYVAL
 8769|       |
 8770|       |    /* Setup fast subclass flags */
 8771|    798|    PyObject *mro = lookup_tp_mro(base);
 8772|    798|    unsigned long flags = 0;
 8773|    798|    if (is_subtype_with_mro(mro, base, (PyTypeObject*)PyExc_BaseException)) {
  ------------------
  |  Branch (8773:9): [True: 170, False: 628]
  ------------------
 8774|    170|        flags |= Py_TPFLAGS_BASE_EXC_SUBCLASS;
  ------------------
  |  |  557|    170|#define Py_TPFLAGS_BASE_EXC_SUBCLASS    (1UL << 30)
  ------------------
 8775|    170|    }
 8776|    628|    else if (is_subtype_with_mro(mro, base, &PyType_Type)) {
  ------------------
  |  Branch (8776:14): [True: 5, False: 623]
  ------------------
 8777|      5|        flags |= Py_TPFLAGS_TYPE_SUBCLASS;
  ------------------
  |  |  558|      5|#define Py_TPFLAGS_TYPE_SUBCLASS        (1UL << 31)
  ------------------
 8778|      5|    }
 8779|    623|    else if (is_subtype_with_mro(mro, base, &PyLong_Type)) {
  ------------------
  |  Branch (8779:14): [True: 7, False: 616]
  ------------------
 8780|      7|        flags |= Py_TPFLAGS_LONG_SUBCLASS;
  ------------------
  |  |  551|      7|#define Py_TPFLAGS_LONG_SUBCLASS        (1UL << 24)
  ------------------
 8781|      7|    }
 8782|    616|    else if (is_subtype_with_mro(mro, base, &PyBytes_Type)) {
  ------------------
  |  Branch (8782:14): [True: 0, False: 616]
  ------------------
 8783|      0|        flags |= Py_TPFLAGS_BYTES_SUBCLASS;
  ------------------
  |  |  554|      0|#define Py_TPFLAGS_BYTES_SUBCLASS       (1UL << 27)
  ------------------
 8784|      0|    }
 8785|    616|    else if (is_subtype_with_mro(mro, base, &PyUnicode_Type)) {
  ------------------
  |  Branch (8785:14): [True: 3, False: 613]
  ------------------
 8786|      3|        flags |= Py_TPFLAGS_UNICODE_SUBCLASS;
  ------------------
  |  |  555|      3|#define Py_TPFLAGS_UNICODE_SUBCLASS     (1UL << 28)
  ------------------
 8787|      3|    }
 8788|    613|    else if (is_subtype_with_mro(mro, base, &PyTuple_Type)) {
  ------------------
  |  Branch (8788:14): [True: 40, False: 573]
  ------------------
 8789|     40|        flags |= Py_TPFLAGS_TUPLE_SUBCLASS;
  ------------------
  |  |  553|     40|#define Py_TPFLAGS_TUPLE_SUBCLASS       (1UL << 26)
  ------------------
 8790|     40|    }
 8791|    573|    else if (is_subtype_with_mro(mro, base, &PyList_Type)) {
  ------------------
  |  Branch (8791:14): [True: 2, False: 571]
  ------------------
 8792|      2|        flags |= Py_TPFLAGS_LIST_SUBCLASS;
  ------------------
  |  |  552|      2|#define Py_TPFLAGS_LIST_SUBCLASS        (1UL << 25)
  ------------------
 8793|      2|    }
 8794|    571|    else if (is_subtype_with_mro(mro, base, &PyDict_Type)) {
  ------------------
  |  Branch (8794:14): [True: 6, False: 565]
  ------------------
 8795|      6|        flags |= Py_TPFLAGS_DICT_SUBCLASS;
  ------------------
  |  |  556|      6|#define Py_TPFLAGS_DICT_SUBCLASS        (1UL << 29)
  ------------------
 8796|      6|    }
 8797|       |
 8798|       |    /* Setup some inheritable flags */
 8799|    798|    if (PyType_HasFeature(base, _Py_TPFLAGS_MATCH_SELF)) {
  ------------------
  |  |  545|    798|#define _Py_TPFLAGS_MATCH_SELF (1UL << 22)
  ------------------
  |  Branch (8799:9): [True: 58, False: 740]
  ------------------
 8800|     58|        flags |= _Py_TPFLAGS_MATCH_SELF;
  ------------------
  |  |  545|     58|#define _Py_TPFLAGS_MATCH_SELF (1UL << 22)
  ------------------
 8801|     58|    }
 8802|    798|    if (PyType_HasFeature(base, Py_TPFLAGS_ITEMS_AT_END)) {
  ------------------
  |  |  548|    798|#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
  ------------------
  |  Branch (8802:9): [True: 5, False: 793]
  ------------------
 8803|      5|        flags |= Py_TPFLAGS_ITEMS_AT_END;
  ------------------
  |  |  548|      5|#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
  ------------------
 8804|      5|    }
 8805|    798|    type_add_flags(type, flags);
 8806|    798|}
typeobject.c:inherit_slots:
 8823|  1.68k|{
 8824|  1.68k|    PyTypeObject *basebase;
 8825|       |
 8826|  1.68k|#undef SLOTDEFINED
 8827|  1.68k|#undef COPYSLOT
 8828|  1.68k|#undef COPYNUM
 8829|  1.68k|#undef COPYSEQ
 8830|  1.68k|#undef COPYMAP
 8831|  1.68k|#undef COPYBUF
 8832|       |
 8833|  1.68k|#define SLOTDEFINED(SLOT) \
 8834|  1.68k|    (base->SLOT != 0 && \
 8835|  1.68k|     (basebase == NULL || base->SLOT != basebase->SLOT))
 8836|       |
 8837|  1.68k|#define COPYSLOT(SLOT) \
 8838|  1.68k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
 8839|       |
 8840|  1.68k|#define COPYASYNC(SLOT) COPYSLOT(tp_as_async->SLOT)
 8841|  1.68k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
 8842|  1.68k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
 8843|  1.68k|#define COPYMAP(SLOT) COPYSLOT(tp_as_mapping->SLOT)
 8844|  1.68k|#define COPYBUF(SLOT) COPYSLOT(tp_as_buffer->SLOT)
 8845|       |
 8846|       |    /* This won't inherit indirect slots (from tp_as_number etc.)
 8847|       |       if type doesn't provide the space. */
 8848|       |
 8849|  1.68k|    if (type->tp_as_number != NULL && base->tp_as_number != NULL) {
  ------------------
  |  Branch (8849:9): [True: 933, False: 756]
  |  Branch (8849:39): [True: 362, False: 571]
  ------------------
 8850|    362|        basebase = base->tp_base;
 8851|    362|        if (basebase->tp_as_number == NULL)
  ------------------
  |  Branch (8851:13): [True: 224, False: 138]
  ------------------
 8852|    224|            basebase = NULL;
 8853|    362|        COPYNUM(nb_add);
  ------------------
  |  | 8841|    362|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    362|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    349|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 14, False: 335]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    349|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 7]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 3, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 349, False: 13]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8854|    362|        COPYNUM(nb_subtract);
  ------------------
  |  | 8841|    362|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    362|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    313|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 22, False: 291]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    313|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 15]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 11, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 313, False: 49]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8855|    362|        COPYNUM(nb_multiply);
  ------------------
  |  | 8841|    362|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    362|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    351|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 14, False: 337]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    351|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 7]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 3, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 351, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8856|    362|        COPYNUM(nb_remainder);
  ------------------
  |  | 8841|    362|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    362|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    344|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 16, False: 328]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    344|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 10, False: 6]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 2, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 344, False: 18]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8857|    362|        COPYNUM(nb_divmod);
  ------------------
  |  | 8841|    362|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    362|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    350|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 11, False: 339]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    350|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 4]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 2, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 350, False: 12]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8858|    362|        COPYNUM(nb_power);
  ------------------
  |  | 8841|    362|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    362|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    351|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 14, False: 337]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    351|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 7]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 3, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 351, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8859|    362|        COPYNUM(nb_negative);
  ------------------
  |  | 8841|    362|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    362|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    351|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 14, False: 337]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    351|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 7]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 3, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 351, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8860|    362|        COPYNUM(nb_positive);
  ------------------
  |  | 8841|    362|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    362|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    351|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 14, False: 337]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    351|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 7]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 3, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 351, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8861|    362|        COPYNUM(nb_absolute);
  ------------------
  |  | 8841|    362|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    362|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    351|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 14, False: 337]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    351|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 7]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 3, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 351, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8862|    362|        COPYNUM(nb_bool);
  ------------------
  |  | 8841|    362|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    362|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    351|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 14, False: 337]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    351|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 7]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 3, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 351, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8863|    362|        COPYNUM(nb_invert);
  ------------------
  |  | 8841|    362|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    362|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    351|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 5, False: 346]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    351|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 4, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 1, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 351, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8864|    362|        COPYNUM(nb_lshift);
  ------------------
  |  | 8841|    362|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    362|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    354|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 8, False: 346]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    354|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 354, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8865|    362|        COPYNUM(nb_rshift);
  ------------------
  |  | 8841|    362|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    362|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    354|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 8, False: 346]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    354|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 354, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8866|    362|        COPYNUM(nb_and);
  ------------------
  |  | 8841|    362|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    362|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    315|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 13, False: 302]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    315|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 4, False: 9]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 9, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 315, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8867|    362|        COPYNUM(nb_xor);
  ------------------
  |  | 8841|    362|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    362|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    315|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 13, False: 302]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    315|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 4, False: 9]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 9, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 315, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8868|    362|        COPYNUM(nb_or);
  ------------------
  |  | 8841|    362|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    362|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    312|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 25, False: 287]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    312|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 14, False: 11]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 9, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 312, False: 50]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8869|    362|        COPYNUM(nb_int);
  ------------------
  |  | 8841|    362|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    362|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    354|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 8, False: 346]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    354|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 354, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8870|    362|        COPYNUM(nb_float);
  ------------------
  |  | 8841|    362|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    362|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    350|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 11, False: 339]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    350|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 4]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 2, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 350, False: 12]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8871|    362|        COPYNUM(nb_inplace_add);
  ------------------
  |  | 8841|    362|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    362|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    356|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 1, False: 355]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    356|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 1, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 356, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8872|    362|        COPYNUM(nb_inplace_subtract);
  ------------------
  |  | 8841|    362|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    362|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    362|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 362]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    362|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 362, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8873|    362|        COPYNUM(nb_inplace_multiply);
  ------------------
  |  | 8841|    362|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    362|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    362|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 362]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    362|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 362, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8874|    362|        COPYNUM(nb_inplace_remainder);
  ------------------
  |  | 8841|    362|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    362|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    362|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 362]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    362|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 362, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8875|    362|        COPYNUM(nb_inplace_power);
  ------------------
  |  | 8841|    362|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    362|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    362|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 362]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    362|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 362, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8876|    362|        COPYNUM(nb_inplace_lshift);
  ------------------
  |  | 8841|    362|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    362|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    362|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 362]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    362|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 362, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8877|    362|        COPYNUM(nb_inplace_rshift);
  ------------------
  |  | 8841|    362|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    362|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    362|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 362]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    362|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 362, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8878|    362|        COPYNUM(nb_inplace_and);
  ------------------
  |  | 8841|    362|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    362|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    362|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 362]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    362|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 362, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8879|    362|        COPYNUM(nb_inplace_xor);
  ------------------
  |  | 8841|    362|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    362|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    362|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 362]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    362|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 362, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8880|    362|        COPYNUM(nb_inplace_or);
  ------------------
  |  | 8841|    362|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    362|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    360|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 4, False: 356]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    360|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 4, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 360, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8881|    362|        COPYNUM(nb_true_divide);
  ------------------
  |  | 8841|    362|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    362|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    351|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 14, False: 337]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    351|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 7]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 3, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 351, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8882|    362|        COPYNUM(nb_floor_divide);
  ------------------
  |  | 8841|    362|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    362|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    350|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 11, False: 339]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    350|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 4]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 2, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 350, False: 12]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8883|    362|        COPYNUM(nb_inplace_true_divide);
  ------------------
  |  | 8841|    362|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    362|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    362|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 362]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    362|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 362, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8884|    362|        COPYNUM(nb_inplace_floor_divide);
  ------------------
  |  | 8841|    362|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    362|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    362|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 362]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    362|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 362, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8885|    362|        COPYNUM(nb_index);
  ------------------
  |  | 8841|    362|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    362|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    354|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 8, False: 346]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    354|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 354, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8886|    362|        COPYNUM(nb_matrix_multiply);
  ------------------
  |  | 8841|    362|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    362|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    362|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 362]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    362|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 362, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8887|    362|        COPYNUM(nb_inplace_matrix_multiply);
  ------------------
  |  | 8841|    362|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    362|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    362|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 362]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    362|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 362, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8888|    362|    }
 8889|       |
 8890|  1.68k|    if (type->tp_as_async != NULL && base->tp_as_async != NULL) {
  ------------------
  |  Branch (8890:9): [True: 881, False: 808]
  |  Branch (8890:38): [True: 337, False: 544]
  ------------------
 8891|    337|        basebase = base->tp_base;
 8892|    337|        if (basebase->tp_as_async == NULL)
  ------------------
  |  Branch (8892:13): [True: 204, False: 133]
  ------------------
 8893|    204|            basebase = NULL;
 8894|    337|        COPYASYNC(am_await);
  ------------------
  |  | 8840|    337|#define COPYASYNC(SLOT) COPYSLOT(tp_as_async->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    337|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    337|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 2, False: 335]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    337|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 2, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 337, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8895|    337|        COPYASYNC(am_aiter);
  ------------------
  |  | 8840|    337|#define COPYASYNC(SLOT) COPYSLOT(tp_as_async->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    337|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    337|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 6, False: 331]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    337|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 4, False: 2]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 337, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8896|    337|        COPYASYNC(am_anext);
  ------------------
  |  | 8840|    337|#define COPYASYNC(SLOT) COPYSLOT(tp_as_async->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    337|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    335|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 2, False: 333]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    335|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 2]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 2, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 335, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8897|    337|    }
 8898|       |
 8899|  1.68k|    if (type->tp_as_sequence != NULL && base->tp_as_sequence != NULL) {
  ------------------
  |  Branch (8899:9): [True: 911, False: 778]
  |  Branch (8899:41): [True: 370, False: 541]
  ------------------
 8900|    370|        basebase = base->tp_base;
 8901|    370|        if (basebase->tp_as_sequence == NULL)
  ------------------
  |  Branch (8901:13): [True: 234, False: 136]
  ------------------
 8902|    234|            basebase = NULL;
 8903|    370|        COPYSEQ(sq_length);
  ------------------
  |  | 8842|    370|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    370|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    280|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 121, False: 159]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    280|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 57, False: 64]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 7, False: 57]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 280, False: 90]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8904|    370|        COPYSEQ(sq_concat);
  ------------------
  |  | 8842|    370|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    370|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    364|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 32, False: 332]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    364|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 29, False: 3]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 3]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 364, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8905|    370|        COPYSEQ(sq_repeat);
  ------------------
  |  | 8842|    370|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    370|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    364|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 32, False: 332]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    364|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 29, False: 3]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 3]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 364, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8906|    370|        COPYSEQ(sq_item);
  ------------------
  |  | 8842|    370|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    370|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    307|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 46, False: 261]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    307|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 26, False: 20]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 15, False: 5]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 307, False: 63]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8907|    370|        COPYSEQ(sq_ass_item);
  ------------------
  |  | 8842|    370|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    370|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    344|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 7, False: 337]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    344|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 2, False: 5]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 5, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 344, False: 26]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8908|    370|        COPYSEQ(sq_contains);
  ------------------
  |  | 8842|    370|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    370|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    253|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 86, False: 167]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    253|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 36, False: 50]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 30, False: 20]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 253, False: 117]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8909|    370|        COPYSEQ(sq_inplace_concat);
  ------------------
  |  | 8842|    370|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    370|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    370|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 2, False: 368]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    370|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 2, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 370, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8910|    370|        COPYSEQ(sq_inplace_repeat);
  ------------------
  |  | 8842|    370|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    370|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    370|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 2, False: 368]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    370|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 2, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 370, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8911|    370|    }
 8912|       |
 8913|  1.68k|    if (type->tp_as_mapping != NULL && base->tp_as_mapping != NULL) {
  ------------------
  |  Branch (8913:9): [True: 915, False: 774]
  |  Branch (8913:40): [True: 374, False: 541]
  ------------------
 8914|    374|        basebase = base->tp_base;
 8915|    374|        if (basebase->tp_as_mapping == NULL)
  ------------------
  |  Branch (8915:13): [True: 238, False: 136]
  ------------------
 8916|    238|            basebase = NULL;
 8917|    374|        COPYMAP(mp_length);
  ------------------
  |  | 8843|    374|#define COPYMAP(SLOT) COPYSLOT(tp_as_mapping->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    374|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    284|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 127, False: 157]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    284|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 63, False: 64]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 7, False: 57]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 284, False: 90]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8918|    374|        COPYMAP(mp_subscript);
  ------------------
  |  | 8843|    374|#define COPYMAP(SLOT) COPYSLOT(tp_as_mapping->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    374|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    314|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 57, False: 257]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    314|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 37, False: 20]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 12, False: 8]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 314, False: 60]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8919|    374|        COPYMAP(mp_ass_subscript);
  ------------------
  |  | 8843|    374|#define COPYMAP(SLOT) COPYSLOT(tp_as_mapping->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    374|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    346|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 11, False: 335]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    346|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 6, False: 5]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 5, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 346, False: 28]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8920|    374|    }
 8921|       |
 8922|  1.68k|    if (type->tp_as_buffer != NULL && base->tp_as_buffer != NULL) {
  ------------------
  |  Branch (8922:9): [True: 879, False: 810]
  |  Branch (8922:39): [True: 337, False: 542]
  ------------------
 8923|    337|        basebase = base->tp_base;
 8924|    337|        if (basebase->tp_as_buffer == NULL)
  ------------------
  |  Branch (8924:13): [True: 204, False: 133]
  ------------------
 8925|    204|            basebase = NULL;
 8926|    337|        COPYBUF(bf_getbuffer);
  ------------------
  |  | 8844|    337|#define COPYBUF(SLOT) COPYSLOT(tp_as_buffer->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    337|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    337|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 337]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    337|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 337, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8927|    337|        COPYBUF(bf_releasebuffer);
  ------------------
  |  | 8844|    337|#define COPYBUF(SLOT) COPYSLOT(tp_as_buffer->SLOT)
  |  |  ------------------
  |  |  |  | 8838|    337|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|    337|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 337]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|    337|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 337, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8928|    337|    }
 8929|       |
 8930|  1.68k|    basebase = base->tp_base;
 8931|       |
 8932|  1.68k|    COPYSLOT(tp_dealloc);
  ------------------
  |  | 8838|  1.68k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|     34|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 34, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8835|     34|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 16, False: 18]
  |  |  |  |  |  Branch (8835:27): [True: 12, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 34, False: 1.65k]
  |  |  ------------------
  ------------------
 8933|  1.68k|    if (type->tp_getattr == NULL && type->tp_getattro == NULL) {
  ------------------
  |  Branch (8933:9): [True: 1.68k, False: 0]
  |  Branch (8933:37): [True: 571, False: 1.11k]
  ------------------
 8934|    571|        type->tp_getattr = base->tp_getattr;
 8935|    571|        type->tp_getattro = base->tp_getattro;
 8936|    571|    }
 8937|  1.68k|    if (type->tp_setattr == NULL && type->tp_setattro == NULL) {
  ------------------
  |  Branch (8937:9): [True: 1.68k, False: 0]
  |  Branch (8937:37): [True: 775, False: 914]
  ------------------
 8938|    775|        type->tp_setattr = base->tp_setattr;
 8939|    775|        type->tp_setattro = base->tp_setattro;
 8940|    775|    }
 8941|  1.68k|    COPYSLOT(tp_repr);
  ------------------
  |  | 8838|  1.68k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  1.10k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 1.10k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8835|  1.10k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 359, False: 746]
  |  |  |  |  |  Branch (8835:27): [True: 217, False: 529]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 1.10k, False: 584]
  |  |  ------------------
  ------------------
 8942|       |    /* tp_hash see tp_richcompare */
 8943|  1.68k|    {
 8944|       |        /* Always inherit tp_vectorcall_offset to support PyVectorcall_Call().
 8945|       |         * If Py_TPFLAGS_HAVE_VECTORCALL is not inherited, then vectorcall
 8946|       |         * won't be used automatically. */
 8947|  1.68k|        COPYSLOT(tp_vectorcall_offset);
  ------------------
  |  | 8838|  1.68k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  1.65k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 13, False: 1.64k]
  |  |  |  |  ------------------
  |  |  |  | 8835|  1.65k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 0, False: 13]
  |  |  |  |  |  Branch (8835:27): [True: 11, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 1.65k, False: 31]
  |  |  ------------------
  ------------------
 8948|       |
 8949|       |        /* Inherit Py_TPFLAGS_HAVE_VECTORCALL if tp_call is not overridden */
 8950|  1.68k|        if (!type->tp_call &&
  ------------------
  |  Branch (8950:13): [True: 1.64k, False: 49]
  ------------------
 8951|  1.64k|            _PyType_HasFeature(base, Py_TPFLAGS_HAVE_VECTORCALL))
  ------------------
  |  |  510|  1.64k|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (8951:13): [True: 13, False: 1.62k]
  ------------------
 8952|     13|        {
 8953|     13|            type_add_flags(type, Py_TPFLAGS_HAVE_VECTORCALL);
  ------------------
  |  |  510|     13|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
 8954|     13|        }
 8955|  1.68k|        COPYSLOT(tp_call);
  ------------------
  |  | 8838|  1.68k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  1.64k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 15, False: 1.62k]
  |  |  |  |  ------------------
  |  |  |  | 8835|  1.64k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 0, False: 15]
  |  |  |  |  |  Branch (8835:27): [True: 13, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 1.64k, False: 49]
  |  |  ------------------
  ------------------
 8956|  1.68k|    }
 8957|  1.68k|    COPYSLOT(tp_str);
  ------------------
  |  | 8838|  1.68k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  1.32k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 1.32k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8835|  1.32k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 596, False: 731]
  |  |  |  |  |  Branch (8835:27): [True: 158, False: 573]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 1.32k, False: 362]
  |  |  ------------------
  ------------------
 8958|  1.68k|    {
 8959|       |        /* Copy comparison-related slots only when
 8960|       |           not overriding them anywhere */
 8961|  1.68k|        if (type->tp_richcompare == NULL &&
  ------------------
  |  Branch (8961:13): [True: 745, False: 944]
  ------------------
 8962|    745|            type->tp_hash == NULL)
  ------------------
  |  Branch (8962:13): [True: 735, False: 10]
  ------------------
 8963|    735|        {
 8964|    735|            int r = overrides_hash(type);
 8965|    735|            if (r < 0) {
  ------------------
  |  Branch (8965:17): [True: 0, False: 735]
  ------------------
 8966|      0|                return -1;
 8967|      0|            }
 8968|    735|            if (!r) {
  ------------------
  |  Branch (8968:17): [True: 678, False: 57]
  ------------------
 8969|    678|                type->tp_richcompare = base->tp_richcompare;
 8970|    678|                type->tp_hash = base->tp_hash;
 8971|    678|            }
 8972|    735|        }
 8973|  1.68k|    }
 8974|  1.68k|    {
 8975|  1.68k|        COPYSLOT(tp_iter);
  ------------------
  |  | 8838|  1.68k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  1.28k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 172, False: 1.11k]
  |  |  |  |  ------------------
  |  |  |  | 8835|  1.28k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 0, False: 172]
  |  |  |  |  |  Branch (8835:27): [True: 116, False: 56]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 1.28k, False: 403]
  |  |  ------------------
  ------------------
 8976|  1.68k|        COPYSLOT(tp_iternext);
  ------------------
  |  | 8838|  1.68k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  1.29k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 234, False: 1.06k]
  |  |  |  |  ------------------
  |  |  |  | 8835|  1.29k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 0, False: 234]
  |  |  |  |  |  Branch (8835:27): [True: 121, False: 113]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 1.29k, False: 392]
  |  |  ------------------
  ------------------
 8977|  1.68k|    }
 8978|  1.68k|    {
 8979|  1.68k|        COPYSLOT(tp_descr_get);
  ------------------
  |  | 8838|  1.68k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  1.65k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 7, False: 1.64k]
  |  |  |  |  ------------------
  |  |  |  | 8835|  1.65k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 0, False: 7]
  |  |  |  |  |  Branch (8835:27): [True: 7, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 1.65k, False: 34]
  |  |  ------------------
  ------------------
 8980|       |        /* Inherit Py_TPFLAGS_METHOD_DESCRIPTOR if tp_descr_get was inherited,
 8981|       |         * but only for extension types */
 8982|  1.68k|        if (base->tp_descr_get &&
  ------------------
  |  Branch (8982:13): [True: 7, False: 1.68k]
  ------------------
 8983|      7|            type->tp_descr_get == base->tp_descr_get &&
  ------------------
  |  Branch (8983:13): [True: 7, False: 0]
  ------------------
 8984|      7|            _PyType_HasFeature(type, Py_TPFLAGS_IMMUTABLETYPE) &&
  ------------------
  |  |  500|      7|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (8984:13): [True: 0, False: 7]
  ------------------
 8985|      0|            _PyType_HasFeature(base, Py_TPFLAGS_METHOD_DESCRIPTOR))
  ------------------
  |  |  534|      0|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (8985:13): [True: 0, False: 0]
  ------------------
 8986|      0|        {
 8987|      0|            type_add_flags(type, Py_TPFLAGS_METHOD_DESCRIPTOR);
  ------------------
  |  |  534|      0|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
 8988|      0|        }
 8989|  1.68k|        COPYSLOT(tp_descr_set);
  ------------------
  |  | 8838|  1.68k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  1.67k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 3, False: 1.67k]
  |  |  |  |  ------------------
  |  |  |  | 8835|  1.67k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 0, False: 3]
  |  |  |  |  |  Branch (8835:27): [True: 3, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 1.67k, False: 10]
  |  |  ------------------
  ------------------
 8990|  1.68k|        COPYSLOT(tp_dictoffset);
  ------------------
  |  | 8838|  1.68k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|    627|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 0, False: 627]
  |  |  |  |  ------------------
  |  |  |  | 8835|    627|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 627, False: 1.06k]
  |  |  ------------------
  ------------------
 8991|  1.68k|        COPYSLOT(tp_init);
  ------------------
  |  | 8838|  1.68k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|    951|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 951, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8835|    951|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 531, False: 420]
  |  |  |  |  |  Branch (8835:27): [True: 83, False: 337]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 951, False: 738]
  |  |  ------------------
  ------------------
 8992|  1.68k|        COPYSLOT(tp_alloc);
  ------------------
  |  | 8838|  1.68k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|    906|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 906, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8835|    906|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 446, False: 460]
  |  |  |  |  |  Branch (8835:27): [True: 0, False: 460]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 906, False: 783]
  |  |  ------------------
  ------------------
 8993|  1.68k|        COPYSLOT(tp_is_gc);
  ------------------
  |  | 8838|  1.68k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  1.68k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 7, False: 1.67k]
  |  |  |  |  ------------------
  |  |  |  | 8835|  1.68k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 0, False: 7]
  |  |  |  |  |  Branch (8835:27): [True: 5, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 1.68k, False: 7]
  |  |  ------------------
  ------------------
 8994|  1.68k|        COPYSLOT(tp_finalize);
  ------------------
  |  | 8838|  1.68k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  1.64k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 48, False: 1.60k]
  |  |  |  |  ------------------
  |  |  |  | 8835|  1.64k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 0, False: 48]
  |  |  |  |  |  Branch (8835:27): [True: 26, False: 22]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 1.64k, False: 40]
  |  |  ------------------
  ------------------
 8995|  1.68k|        if ((type->tp_flags & Py_TPFLAGS_HAVE_GC) ==
  ------------------
  |  |  524|  1.68k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (8995:13): [True: 953, False: 736]
  ------------------
 8996|  1.68k|            (base->tp_flags & Py_TPFLAGS_HAVE_GC)) {
  ------------------
  |  |  524|  1.68k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
 8997|       |            /* They agree about gc. */
 8998|    953|            COPYSLOT(tp_free);
  ------------------
  |  | 8838|    953|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|    518|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 518, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8835|    518|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 54, False: 464]
  |  |  |  |  |  Branch (8835:27): [True: 206, False: 258]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 518, False: 435]
  |  |  ------------------
  ------------------
 8999|    953|        }
 9000|    736|        else if ((type->tp_flags & Py_TPFLAGS_HAVE_GC) &&
  ------------------
  |  |  524|    736|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (9000:18): [True: 736, False: 0]
  ------------------
 9001|    736|                 type->tp_free == NULL &&
  ------------------
  |  Branch (9001:18): [True: 147, False: 589]
  ------------------
 9002|    147|                 base->tp_free == PyObject_Free) {
  ------------------
  |  Branch (9002:18): [True: 147, False: 0]
  ------------------
 9003|       |            /* A bit of magic to plug in the correct default
 9004|       |             * tp_free function when a derived class adds gc,
 9005|       |             * didn't define tp_free, and the base uses the
 9006|       |             * default non-gc tp_free.
 9007|       |             */
 9008|    147|            type->tp_free = PyObject_GC_Del;
 9009|    147|        }
 9010|       |        /* else they didn't agree about gc, and there isn't something
 9011|       |         * obvious to be done -- the type is on its own.
 9012|       |         */
 9013|  1.68k|    }
 9014|  1.68k|    return 0;
 9015|  1.68k|}
typeobject.c:overrides_hash:
 8810|    735|{
 8811|    735|    PyObject *dict = lookup_tp_dict(type);
 8812|       |
 8813|    735|    assert(dict != NULL);
  ------------------
  |  Branch (8813:5): [True: 735, False: 0]
  ------------------
 8814|    735|    int r = PyDict_Contains(dict, &_Py_ID(__eq__));
  ------------------
  |  |  920|    735|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    735|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    735|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8815|    735|    if (r == 0) {
  ------------------
  |  Branch (8815:9): [True: 683, False: 52]
  ------------------
 8816|    683|        r = PyDict_Contains(dict, &_Py_ID(__hash__));
  ------------------
  |  |  920|    683|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    683|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    683|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8817|    683|    }
 8818|    735|    return r;
 8819|    735|}
typeobject.c:inherit_patma_flags:
 9314|  1.68k|inherit_patma_flags(PyTypeObject *type, PyTypeObject *base) {
 9315|  1.68k|    if ((type->tp_flags & COLLECTION_FLAGS) == 0) {
  ------------------
  |  | 9020|  1.68k|#define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  490|  1.68k|#define Py_TPFLAGS_SEQUENCE (1 << 5)
  |  |  ------------------
  |  |               #define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  492|  1.68k|#define Py_TPFLAGS_MAPPING (1 << 6)
  |  |  ------------------
  ------------------
  |  Branch (9315:9): [True: 1.55k, False: 137]
  ------------------
 9316|  1.55k|        type_add_flags(type, base->tp_flags & COLLECTION_FLAGS);
  ------------------
  |  | 9020|  1.55k|#define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  490|  1.55k|#define Py_TPFLAGS_SEQUENCE (1 << 5)
  |  |  ------------------
  |  |               #define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  492|  1.55k|#define Py_TPFLAGS_MAPPING (1 << 6)
  |  |  ------------------
  ------------------
 9317|  1.55k|    }
 9318|  1.68k|}
typeobject.c:type_ready_inherit_as_structs:
 9295|    798|{
 9296|    798|    if (type->tp_as_async == NULL) {
  ------------------
  |  Branch (9296:9): [True: 400, False: 398]
  ------------------
 9297|    400|        type->tp_as_async = base->tp_as_async;
 9298|    400|    }
 9299|    798|    if (type->tp_as_number == NULL) {
  ------------------
  |  Branch (9299:9): [True: 354, False: 444]
  ------------------
 9300|    354|        type->tp_as_number = base->tp_as_number;
 9301|    354|    }
 9302|    798|    if (type->tp_as_sequence == NULL) {
  ------------------
  |  Branch (9302:9): [True: 370, False: 428]
  ------------------
 9303|    370|        type->tp_as_sequence = base->tp_as_sequence;
 9304|    370|    }
 9305|    798|    if (type->tp_as_mapping == NULL) {
  ------------------
  |  Branch (9305:9): [True: 368, False: 430]
  ------------------
 9306|    368|        type->tp_as_mapping = base->tp_as_mapping;
 9307|    368|    }
 9308|    798|    if (type->tp_as_buffer == NULL) {
  ------------------
  |  Branch (9308:9): [True: 402, False: 396]
  ------------------
 9309|    402|        type->tp_as_buffer = base->tp_as_buffer;
 9310|    402|    }
 9311|    798|}
typeobject.c:type_ready_preheader:
 9205|    800|{
 9206|    800|    if (type->tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|    800|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (9206:9): [True: 150, False: 650]
  ------------------
 9207|    150|        if (type->tp_dictoffset > 0 || type->tp_dictoffset < -1) {
  ------------------
  |  Branch (9207:13): [True: 0, False: 150]
  |  Branch (9207:40): [True: 0, False: 150]
  ------------------
 9208|      0|            PyErr_Format(PyExc_TypeError,
 9209|      0|                        "type %s has the Py_TPFLAGS_MANAGED_DICT flag "
 9210|      0|                        "but tp_dictoffset is set",
 9211|      0|                        type->tp_name);
 9212|      0|            return -1;
 9213|      0|        }
 9214|    150|        if (!(type->tp_flags & Py_TPFLAGS_HAVE_GC)) {
  ------------------
  |  |  524|    150|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (9214:13): [True: 0, False: 150]
  ------------------
 9215|      0|            PyErr_Format(PyExc_SystemError,
 9216|      0|                        "type %s has the Py_TPFLAGS_MANAGED_DICT flag "
 9217|      0|                        "but not Py_TPFLAGS_HAVE_GC flag",
 9218|      0|                        type->tp_name);
 9219|      0|            return -1;
 9220|      0|        }
 9221|    150|        type->tp_dictoffset = -1;
 9222|    150|    }
 9223|    800|    if (type->tp_flags & Py_TPFLAGS_MANAGED_WEAKREF) {
  ------------------
  |  |  477|    800|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  ------------------
  |  Branch (9223:9): [True: 187, False: 613]
  ------------------
 9224|    187|        if (type->tp_weaklistoffset != 0 &&
  ------------------
  |  Branch (9224:13): [True: 173, False: 14]
  ------------------
 9225|    173|            type->tp_weaklistoffset != MANAGED_WEAKREF_OFFSET)
  ------------------
  |  |  926|    173|#  define MANAGED_WEAKREF_OFFSET (((Py_ssize_t)sizeof(PyObject *))*-4)
  ------------------
  |  Branch (9225:13): [True: 0, False: 173]
  ------------------
 9226|      0|        {
 9227|      0|            PyErr_Format(PyExc_TypeError,
 9228|      0|                        "type %s has the Py_TPFLAGS_MANAGED_WEAKREF flag "
 9229|      0|                        "but tp_weaklistoffset is set",
 9230|      0|                        type->tp_name);
 9231|      0|            return -1;
 9232|      0|        }
 9233|    187|        if (!(type->tp_flags & Py_TPFLAGS_HAVE_GC)) {
  ------------------
  |  |  524|    187|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (9233:13): [True: 0, False: 187]
  ------------------
 9234|      0|            PyErr_Format(PyExc_SystemError,
 9235|      0|                        "type %s has the Py_TPFLAGS_MANAGED_WEAKREF flag "
 9236|      0|                        "but not Py_TPFLAGS_HAVE_GC flag",
 9237|      0|                        type->tp_name);
 9238|      0|            return -1;
 9239|      0|        }
 9240|    187|        type->tp_weaklistoffset = MANAGED_WEAKREF_OFFSET;
  ------------------
  |  |  926|    187|#  define MANAGED_WEAKREF_OFFSET (((Py_ssize_t)sizeof(PyObject *))*-4)
  ------------------
 9241|    187|    }
 9242|    800|    return 0;
 9243|    800|}
typeobject.c:type_ready_set_hash:
 9374|    800|{
 9375|    800|    if (type->tp_hash != NULL) {
  ------------------
  |  Branch (9375:9): [True: 754, False: 46]
  ------------------
 9376|    754|        return 0;
 9377|    754|    }
 9378|       |
 9379|     46|    PyObject *dict = lookup_tp_dict(type);
 9380|     46|    int r = PyDict_Contains(dict, &_Py_ID(__hash__));
  ------------------
  |  |  920|     46|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     46|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     46|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9381|     46|    if (r < 0) {
  ------------------
  |  Branch (9381:9): [True: 0, False: 46]
  ------------------
 9382|      0|        return -1;
 9383|      0|    }
 9384|     46|    if (r > 0) {
  ------------------
  |  Branch (9384:9): [True: 11, False: 35]
  ------------------
 9385|     11|        return 0;
 9386|     11|    }
 9387|       |
 9388|     35|    if (PyDict_SetItem(dict, &_Py_ID(__hash__), Py_None) < 0) {
  ------------------
  |  |  920|     35|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     35|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     35|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyDict_SetItem(dict, &_Py_ID(__hash__), Py_None) < 0) {
  ------------------
  |  |  616|     35|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (9388:9): [True: 0, False: 35]
  ------------------
 9389|      0|        return -1;
 9390|      0|    }
 9391|     35|    type->tp_hash = PyObject_HashNotImplemented;
 9392|     35|    return 0;
 9393|     35|}
typeobject.c:type_ready_add_subclasses:
 9399|    800|{
 9400|    800|    PyObject *bases = lookup_tp_bases(type);
 9401|    800|    Py_ssize_t nbase = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|    800|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    800|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    800|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9402|  1.63k|    for (Py_ssize_t i = 0; i < nbase; i++) {
  ------------------
  |  Branch (9402:28): [True: 835, False: 800]
  ------------------
 9403|    835|        PyObject *b = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|    835|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    835|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    835|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9403:23): [True: 835, False: 0]
  ------------------
 9404|    835|        if (PyType_Check(b) && add_subclass((PyTypeObject *)b, type) < 0) {
  ------------------
  |  |  766|  1.67k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    835|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    835|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 835, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (9404:32): [True: 0, False: 835]
  ------------------
 9405|      0|            return -1;
 9406|      0|        }
 9407|    835|    }
 9408|    800|    return 0;
 9409|    800|}
typeobject.c:type_ready_managed_dict:
 9467|    800|{
 9468|    800|    if (!(type->tp_flags & Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|    800|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (9468:9): [True: 650, False: 150]
  ------------------
 9469|    650|        return 0;
 9470|    650|    }
 9471|    150|    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|    150|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9471:9): [True: 0, False: 150]
  ------------------
 9472|      0|        PyErr_Format(PyExc_SystemError,
 9473|      0|                     "type %s has the Py_TPFLAGS_MANAGED_DICT flag "
 9474|      0|                     "but not Py_TPFLAGS_HEAPTYPE flag",
 9475|      0|                     type->tp_name);
 9476|      0|        return -1;
 9477|      0|    }
 9478|    150|    PyHeapTypeObject* et = (PyHeapTypeObject*)type;
 9479|    150|    if (et->ht_cached_keys == NULL) {
  ------------------
  |  Branch (9479:9): [True: 150, False: 0]
  ------------------
 9480|    150|        et->ht_cached_keys = _PyDict_NewKeysForClass(et);
 9481|    150|        if (et->ht_cached_keys == NULL) {
  ------------------
  |  Branch (9481:13): [True: 0, False: 150]
  ------------------
 9482|      0|            PyErr_NoMemory();
 9483|      0|            return -1;
 9484|      0|        }
 9485|    150|    }
 9486|    150|    if (type->tp_itemsize == 0) {
  ------------------
  |  Branch (9486:9): [True: 142, False: 8]
  ------------------
 9487|    142|        type_add_flags(type, Py_TPFLAGS_INLINE_VALUES);
  ------------------
  |  |  472|    142|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
 9488|    142|    }
 9489|    150|    return 0;
 9490|    150|}
typeobject.c:type_ready_post_checks:
 9494|    800|{
 9495|       |    // bpo-44263: tp_traverse is required if Py_TPFLAGS_HAVE_GC is set.
 9496|       |    // Note: tp_clear is optional.
 9497|    800|    if (type->tp_flags & Py_TPFLAGS_HAVE_GC
  ------------------
  |  |  524|  1.60k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (9497:9): [True: 728, False: 72]
  ------------------
 9498|    728|        && type->tp_traverse == NULL)
  ------------------
  |  Branch (9498:12): [True: 0, False: 728]
  ------------------
 9499|      0|    {
 9500|      0|        PyErr_Format(PyExc_SystemError,
 9501|      0|                     "type %s has the Py_TPFLAGS_HAVE_GC flag "
 9502|      0|                     "but has no traverse function",
 9503|      0|                     type->tp_name);
 9504|      0|        return -1;
 9505|      0|    }
 9506|    800|    if (type->tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|    800|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (9506:9): [True: 150, False: 650]
  ------------------
 9507|    150|        if (type->tp_dictoffset != -1) {
  ------------------
  |  Branch (9507:13): [True: 0, False: 150]
  ------------------
 9508|      0|            PyErr_Format(PyExc_SystemError,
 9509|      0|                        "type %s has the Py_TPFLAGS_MANAGED_DICT flag "
 9510|      0|                        "but tp_dictoffset is set to incompatible value",
 9511|      0|                        type->tp_name);
 9512|      0|            return -1;
 9513|      0|        }
 9514|    150|    }
 9515|    650|    else if (type->tp_dictoffset < (Py_ssize_t)sizeof(PyObject)) {
  ------------------
  |  Branch (9515:14): [True: 425, False: 225]
  ------------------
 9516|    425|        if (type->tp_dictoffset + type->tp_basicsize <= 0) {
  ------------------
  |  Branch (9516:13): [True: 0, False: 425]
  ------------------
 9517|      0|            PyErr_Format(PyExc_SystemError,
 9518|      0|                         "type %s has a tp_dictoffset that is too small",
 9519|      0|                         type->tp_name);
 9520|      0|            return -1;
 9521|      0|        }
 9522|    425|    }
 9523|    800|    return 0;
 9524|    800|}
typeobject.c:stop_readying:
  498|    800|{
  499|    800|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|    800|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (499:9): [True: 414, False: 386]
  ------------------
  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);
  ------------------
  |  Branch (502:9): [True: 414, False: 0]
  ------------------
  503|    414|        assert(state->readying);
  ------------------
  |  Branch (503:9): [True: 414, False: 0]
  ------------------
  504|    414|        state->readying = 0;
  505|    414|        return;
  506|    414|    }
  507|    800|    assert(type->tp_flags & Py_TPFLAGS_READYING);
  ------------------
  |  Branch (507:5): [True: 386, False: 0]
  ------------------
  508|    386|    type_clear_flags(type, Py_TPFLAGS_READYING);
  ------------------
  |  |  521|    386|#define Py_TPFLAGS_READYING (1UL << 13)
  ------------------
  509|    386|}
typeobject.c:init_static_type:
 9642|    414|{
 9643|    414|    assert(_Py_IsImmortal((PyObject *)self));
  ------------------
  |  Branch (9643:5): [True: 414, False: 0]
  ------------------
 9644|    414|    assert(!(self->tp_flags & Py_TPFLAGS_HEAPTYPE));
  ------------------
  |  Branch (9644:5): [True: 414, False: 0]
  ------------------
 9645|    414|    assert(!(self->tp_flags & Py_TPFLAGS_MANAGED_DICT));
  ------------------
  |  Branch (9645:5): [True: 414, False: 0]
  ------------------
 9646|    414|    assert(!(self->tp_flags & Py_TPFLAGS_MANAGED_WEAKREF));
  ------------------
  |  Branch (9646:5): [True: 414, False: 0]
  ------------------
 9647|       |
 9648|    414|    if (initial) {
  ------------------
  |  Branch (9648:9): [True: 414, False: 0]
  ------------------
 9649|    414|        assert((self->tp_flags & Py_TPFLAGS_READY) == 0);
  ------------------
  |  Branch (9649:9): [True: 414, False: 0]
  ------------------
 9650|       |
 9651|    414|        type_add_flags(self, _Py_TPFLAGS_STATIC_BUILTIN);
  ------------------
  |  |  467|    414|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
 9652|    414|        type_add_flags(self, Py_TPFLAGS_IMMUTABLETYPE);
  ------------------
  |  |  500|    414|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
 9653|       |
 9654|    414|        if (self->tp_version_tag == 0) {
  ------------------
  |  Branch (9654:13): [True: 392, False: 22]
  ------------------
 9655|    392|            unsigned int next_version_tag = next_global_version_tag();
 9656|    392|            assert(next_version_tag != 0);
  ------------------
  |  Branch (9656:13): [True: 392, False: 0]
  ------------------
 9657|    392|            _PyType_SetVersion(self, next_version_tag);
 9658|    392|        }
 9659|    414|    }
 9660|      0|    else {
 9661|      0|        assert(!initial);
  ------------------
  |  Branch (9661:9): [True: 0, False: 0]
  ------------------
 9662|      0|        assert(self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN);
  ------------------
  |  Branch (9662:9): [True: 0, False: 0]
  ------------------
 9663|      0|        assert(self->tp_version_tag != 0);
  ------------------
  |  Branch (9663:9): [True: 0, False: 0]
  ------------------
 9664|      0|    }
 9665|       |
 9666|    414|    managed_static_type_state_init(interp, self, isbuiltin, initial);
 9667|       |
 9668|    414|    int res;
 9669|    414|    BEGIN_TYPE_LOCK();
 9670|    414|    res = type_ready(self, initial);
 9671|    414|    END_TYPE_LOCK();
 9672|    414|    if (res < 0) {
  ------------------
  |  Branch (9672:9): [True: 0, False: 414]
  ------------------
 9673|      0|        _PyStaticType_ClearWeakRefs(interp, self);
 9674|      0|        managed_static_type_state_clear(interp, self, isbuiltin, initial);
 9675|      0|    }
 9676|    414|    return res;
 9677|    414|}
typeobject.c:managed_static_type_state_init:
  312|    414|{
  313|    414|    assert(interp->runtime == &_PyRuntime);
  ------------------
  |  Branch (313:5): [True: 414, False: 0]
  ------------------
  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));
  ------------------
  |  Branch (317:9): [True: 414, False: 0]
  ------------------
  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);
  ------------------
  |  Branch (320:13): [True: 402, False: 0]
  ------------------
  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);
  ------------------
  |  Branch (327:13): [True: 12, False: 0]
  ------------------
  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);
  ------------------
  |  Branch (334:13): [True: 0, False: 0]
  ------------------
  335|      0|            assert(index < _Py_MAX_MANAGED_STATIC_BUILTIN_TYPES);
  ------------------
  |  Branch (335:13): [True: 0, False: 0]
  ------------------
  336|      0|        }
  337|      0|        else {
  338|      0|            assert(index < _Py_MAX_MANAGED_STATIC_EXT_TYPES);
  ------------------
  |  Branch (338:13): [True: 0, False: 0]
  ------------------
  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;
  ------------------
  |  |  543|     12|    (_Py_NUM_MANAGED_PREINITIALIZED_TYPES + 83)
  |  |  ------------------
  |  |  |  |  541|     12|#define _Py_NUM_MANAGED_PREINITIALIZED_TYPES 120
  |  |  ------------------
  ------------------
  344|       |
  345|    414|    assert((initial == 1) ==
  ------------------
  |  Branch (345:5): [True: 414, False: 0]
  ------------------
  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);
  ------------------
  |  Branch (351:9): [True: 414, False: 0]
  ------------------
  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);
  ------------------
  |  Branch (355:9): [True: 0, False: 0]
  ------------------
  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);
  ------------------
  |  Branch (363:5): [True: 414, False: 0]
  ------------------
  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);
  ------------------
  |  Branch (249:5): [True: 414, False: 0]
  ------------------
  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:
 3117|  20.1M|{
 3118|  20.1M|    assert(nargs >= 1);
  ------------------
  |  Branch (3118:5): [True: 20.1M, False: 0]
  ------------------
 3119|       |
 3120|  20.1M|    PyThreadState *tstate = _PyThreadState_GET();
 3121|  20.1M|    PyObject *retval = NULL;
 3122|  20.1M|    PyObject *self = args[0];
 3123|  20.1M|    _PyCStackRef cref;
 3124|  20.1M|    _PyThreadState_PushCStackRef(tstate, &cref);
 3125|  20.1M|    int unbound = lookup_method(self, name, &cref.ref);
 3126|  20.1M|    if (unbound >= 0) {
  ------------------
  |  Branch (3126:9): [True: 20.1M, False: 0]
  ------------------
 3127|  20.1M|        PyObject *func = PyStackRef_AsPyObjectBorrow(cref.ref);
 3128|  20.1M|        retval = vectorcall_unbound(tstate, unbound, func, args, nargs);
 3129|  20.1M|    }
 3130|  20.1M|    _PyThreadState_PopCStackRef(tstate, &cref);
 3131|  20.1M|    return retval;
 3132|  20.1M|}
typeobject.c:check_num_args:
 9813|     36|{
 9814|     36|    if (!PyTuple_CheckExact(ob)) {
  ------------------
  |  |   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 (9814:9): [True: 0, False: 36]
  ------------------
 9815|      0|        PyErr_SetString(PyExc_SystemError,
 9816|      0|            "PyArg_UnpackTuple() argument list is not a tuple");
 9817|      0|        return 0;
 9818|      0|    }
 9819|     36|    if (n == PyTuple_GET_SIZE(ob))
  ------------------
  |  |   27|     36|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9819:9): [True: 36, False: 0]
  ------------------
 9820|     36|        return 1;
 9821|      0|    PyErr_Format(
 9822|      0|        PyExc_TypeError,
 9823|      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 (9823:47): [True: 0, False: 0]
  ------------------
 9824|      0|    return 0;
 9825|     36|}
typeobject.c:slot_tp_setattro:
11043|    142|{
11044|    142|    PyObject *stack[3];
11045|    142|    PyObject *res;
11046|       |
11047|    142|    stack[0] = self;
11048|    142|    stack[1] = name;
11049|    142|    if (value == NULL) {
  ------------------
  |  Branch (11049:9): [True: 36, False: 106]
  ------------------
11050|     36|        res = vectorcall_method(&_Py_ID(__delattr__), stack, 2);
  ------------------
  |  |  920|     36|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     36|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     36|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11051|     36|    }
11052|    106|    else {
11053|    106|        stack[2] = value;
11054|    106|        res = vectorcall_method(&_Py_ID(__setattr__), stack, 3);
  ------------------
  |  |  920|    106|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    106|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    106|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11055|    106|    }
11056|    142|    if (res == NULL)
  ------------------
  |  Branch (11056:9): [True: 0, False: 142]
  ------------------
11057|      0|        return -1;
11058|    142|    Py_DECREF(res);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11059|    142|    return 0;
11060|    142|}
typeobject.c:wrap_setattr:
10185|    106|{
10186|    106|    setattrofunc func = (setattrofunc)wrapped;
10187|    106|    int res;
10188|    106|    PyObject *name, *value;
10189|       |
10190|    106|    if (!PyArg_UnpackTuple(args, "__setattr__", 2, 2, &name, &value))
  ------------------
  |  Branch (10190:9): [True: 0, False: 106]
  ------------------
10191|      0|        return NULL;
10192|    106|    if (!hackcheck(self, func, "__setattr__"))
  ------------------
  |  Branch (10192:9): [True: 0, False: 106]
  ------------------
10193|      0|        return NULL;
10194|    106|    res = (*func)(self, name, value);
10195|    106|    if (res < 0)
  ------------------
  |  Branch (10195:9): [True: 0, False: 106]
  ------------------
10196|      0|        return NULL;
10197|    106|    Py_RETURN_NONE;
  ------------------
  |  |  628|    106|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    106|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10198|    106|}
typeobject.c:hackcheck:
10171|    142|{
10172|    142|    if (!PyType_Check(self)) {
  ------------------
  |  |  766|    142|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    142|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    142|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10172:9): [True: 48, False: 94]
  ------------------
10173|     48|        return 1;
10174|     48|    }
10175|       |
10176|     94|    int res;
10177|     94|    BEGIN_TYPE_LOCK();
10178|     94|    res = hackcheck_unlocked(self, func, what);
10179|     94|    END_TYPE_LOCK();
10180|     94|    return res;
10181|    142|}
typeobject.c:hackcheck_unlocked:
10123|     94|{
10124|     94|    PyTypeObject *type = Py_TYPE(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10125|       |
10126|     94|    ASSERT_TYPE_LOCK_HELD();
10127|       |
10128|     94|    PyObject *mro = lookup_tp_mro(type);
10129|     94|    if (!mro) {
  ------------------
  |  Branch (10129:9): [True: 0, False: 94]
  ------------------
10130|       |        /* Probably ok not to check the call in this case. */
10131|      0|        return 1;
10132|      0|    }
10133|     94|    assert(PyTuple_Check(mro));
  ------------------
  |  Branch (10133:5): [True: 94, False: 0]
  ------------------
10134|       |
10135|       |    /* Find the (base) type that defined the type's slot function. */
10136|     94|    PyTypeObject *defining_type = type;
10137|     94|    Py_ssize_t i;
10138|    376|    for (i = PyTuple_GET_SIZE(mro) - 1; i >= 0; i--) {
  ------------------
  |  |   27|     94|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     94|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     94|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10138:41): [True: 282, False: 94]
  ------------------
10139|    564|        PyTypeObject *base = _PyType_CAST(PyTuple_GET_ITEM(mro, i));
  ------------------
  |  |  770|    282|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    564|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (37:38): [True: 282, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10139:30): [True: 282, False: 0]
  |  Branch (10139:30): [True: 282, False: 0]
  ------------------
10140|    282|        if (base->tp_setattro == slot_tp_setattro) {
  ------------------
  |  Branch (10140:13): [True: 94, False: 188]
  ------------------
10141|       |            /* Ignore Python classes:
10142|       |               they never define their own C-level setattro. */
10143|     94|        }
10144|    188|        else if (base->tp_setattro == type->tp_setattro) {
  ------------------
  |  Branch (10144:18): [True: 0, False: 188]
  ------------------
10145|      0|            defining_type = base;
10146|      0|            break;
10147|      0|        }
10148|    564|    }
10149|       |
10150|       |    /* Reject calls that jump over intermediate C-level overrides. */
10151|    188|    for (PyTypeObject *base = defining_type; base; base = base->tp_base) {
  ------------------
  |  Branch (10151:46): [True: 188, False: 0]
  ------------------
10152|    188|        if (base->tp_setattro == func) {
  ------------------
  |  Branch (10152:13): [True: 94, False: 94]
  ------------------
10153|       |            /* 'func' is the right slot function to call. */
10154|     94|            break;
10155|     94|        }
10156|     94|        else if (base->tp_setattro != slot_tp_setattro) {
  ------------------
  |  Branch (10156:18): [True: 0, False: 94]
  ------------------
10157|       |            /* 'base' is not a Python class and overrides 'func'.
10158|       |               Its tp_setattro should be called instead. */
10159|      0|            PyErr_Format(PyExc_TypeError,
10160|      0|                         "can't apply this %s to %s object",
10161|      0|                         what,
10162|      0|                         type->tp_name);
10163|      0|            return 0;
10164|      0|        }
10165|    188|    }
10166|     94|    return 1;
10167|     94|}
typeobject.c:wrap_delattr:
10202|     36|{
10203|     36|    setattrofunc func = (setattrofunc)wrapped;
10204|     36|    int res;
10205|     36|    PyObject *name;
10206|       |
10207|     36|    if (!check_num_args(args, 1))
  ------------------
  |  Branch (10207:9): [True: 0, False: 36]
  ------------------
10208|      0|        return NULL;
10209|     36|    name = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10209:12): [True: 36, False: 0]
  ------------------
10210|     36|    if (!hackcheck(self, func, "__delattr__"))
  ------------------
  |  Branch (10210:9): [True: 0, False: 36]
  ------------------
10211|      0|        return NULL;
10212|     36|    res = (*func)(self, name, NULL);
10213|     36|    if (res < 0)
  ------------------
  |  Branch (10213:9): [True: 0, False: 36]
  ------------------
10214|      0|        return NULL;
10215|     36|    Py_RETURN_NONE;
  ------------------
  |  |  628|     36|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     36|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10216|     36|}
typeobject.c:slot_tp_iter:
11098|      4|{
11099|      4|    int attr_is_none = 0;
11100|      4|    PyObject *res = maybe_call_special_no_args(self, &_Py_ID(__iter__),
  ------------------
  |  |  920|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11101|      4|                                               &attr_is_none);
11102|      4|    if (res != NULL) {
  ------------------
  |  Branch (11102:9): [True: 4, False: 0]
  ------------------
11103|      4|        return res;
11104|      4|    }
11105|      0|    else if (PyErr_Occurred()) {
  ------------------
  |  Branch (11105:14): [True: 0, False: 0]
  ------------------
11106|      0|        return NULL;
11107|      0|    }
11108|      0|    else if (attr_is_none || !has_dunder_getitem(self)) {
  ------------------
  |  Branch (11108:14): [True: 0, False: 0]
  |  Branch (11108:30): [True: 0, False: 0]
  ------------------
11109|      0|        PyErr_Format(PyExc_TypeError,
11110|      0|            "'%.200s' object is not iterable",
11111|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11112|      0|        return NULL;
11113|      0|    }
11114|      0|    return PySeqIter_New(self);
11115|      4|}
typeobject.c:slot_tp_descr_get:
11132|      4|{
11133|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11134|      4|    PyThreadState *tstate = _PyThreadState_GET();
11135|      4|    _PyCStackRef cref;
11136|      4|    _PyThreadState_PushCStackRef(tstate, &cref);
11137|      4|    _PyType_LookupStackRefAndVersion(tp, &_Py_ID(__get__), &cref.ref);
  ------------------
  |  |  920|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11138|      4|    if (PyStackRef_IsNull(cref.ref)) {
  ------------------
  |  |  482|      4|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|      4|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      4|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 4]
  |  |  ------------------
  ------------------
11139|      0|        _PyThreadState_PopCStackRef(tstate, &cref);
11140|      0|#ifndef Py_GIL_DISABLED
11141|       |        /* Avoid further slowdowns */
11142|      0|        if (tp->tp_descr_get == slot_tp_descr_get)
  ------------------
  |  Branch (11142:13): [True: 0, False: 0]
  ------------------
11143|      0|            tp->tp_descr_get = NULL;
11144|      0|#endif
11145|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11146|      0|    }
11147|      4|    if (obj == NULL)
  ------------------
  |  Branch (11147:9): [True: 0, False: 4]
  ------------------
11148|      0|        obj = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
11149|      4|    if (type == NULL)
  ------------------
  |  Branch (11149:9): [True: 0, False: 4]
  ------------------
11150|      0|        type = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
11151|      4|    PyObject *get = PyStackRef_AsPyObjectBorrow(cref.ref);
11152|      4|    PyObject *stack[3] = {self, obj, type};
11153|       |    PyObject *res = PyObject_Vectorcall(get, stack, 3, NULL);
11154|      4|    _PyThreadState_PopCStackRef(tstate, &cref);
11155|      4|    return res;
11156|      4|}
typeobject.c:slot_tp_init:
11181|   454k|{
11182|   454k|    PyObject *res = call_method(self, &_Py_ID(__init__), args, kwds);
  ------------------
  |  |  920|   454k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   454k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   454k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11183|   454k|    if (res == NULL)
  ------------------
  |  Branch (11183:9): [True: 17, False: 454k]
  ------------------
11184|     17|        return -1;
11185|   454k|    if (res != Py_None) {
  ------------------
  |  |  616|   454k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (11185:9): [True: 0, False: 454k]
  ------------------
11186|      0|        PyErr_Format(PyExc_TypeError,
11187|      0|                     "__init__() should return None, not '%.200s'",
11188|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11189|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11190|      0|        return -1;
11191|      0|    }
11192|   454k|    Py_DECREF(res);
  ------------------
  |  |  430|   454k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   454k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   454k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11193|   454k|    return 0;
11194|   454k|}
typeobject.c:wrap_init:
10404|  2.26k|{
10405|  2.26k|    initproc func = (initproc)wrapped;
10406|       |
10407|  2.26k|    if (func(self, args, kwds) < 0)
  ------------------
  |  Branch (10407:9): [True: 0, False: 2.26k]
  ------------------
10408|      0|        return NULL;
10409|  2.26k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  2.26k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  2.26k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10410|  2.26k|}
typeobject.c:vectorcall_maybe:
 3139|  2.20k|{
 3140|  2.20k|    assert(nargs >= 1);
  ------------------
  |  Branch (3140:5): [True: 2.20k, False: 0]
  ------------------
 3141|       |
 3142|  2.20k|    PyObject *self = args[0];
 3143|  2.20k|    _PyCStackRef cref;
 3144|  2.20k|    _PyThreadState_PushCStackRef(tstate, &cref);
 3145|  2.20k|    int unbound = lookup_maybe_method(self, name, &cref.ref);
 3146|  2.20k|    PyObject *func = PyStackRef_AsPyObjectBorrow(cref.ref);
 3147|  2.20k|    if (func == NULL) {
  ------------------
  |  Branch (3147:9): [True: 0, False: 2.20k]
  ------------------
 3148|      0|        _PyThreadState_PopCStackRef(tstate, &cref);
 3149|      0|        if (!PyErr_Occurred()) {
  ------------------
  |  Branch (3149:13): [True: 0, False: 0]
  ------------------
 3150|      0|            Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 3151|      0|        }
 3152|      0|        return NULL;
 3153|      0|    }
 3154|  2.20k|    PyObject *retval = vectorcall_unbound(tstate, unbound, func, args, nargs);
 3155|  2.20k|    _PyThreadState_PopCStackRef(tstate, &cref);
 3156|  2.20k|    return retval;
 3157|  2.20k|}
typeobject.c:slot_sq_length:
10621|  9.04M|{
10622|  9.04M|    PyObject* stack[1] = {self};
10623|  9.04M|    PyObject *res = vectorcall_method(&_Py_ID(__len__), stack, 1);
  ------------------
  |  |  920|  9.04M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  9.04M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  9.04M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10624|  9.04M|    Py_ssize_t len;
10625|       |
10626|  9.04M|    if (res == NULL)
  ------------------
  |  Branch (10626:9): [True: 0, False: 9.04M]
  ------------------
10627|      0|        return -1;
10628|       |
10629|  9.04M|    Py_SETREF(res, _PyNumber_Index(res));
  ------------------
  |  |  352|  9.04M|    do { \
  |  |  353|  9.04M|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  9.04M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|  9.04M|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  9.04M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|  9.04M|        *_tmp_dst_ptr = (src); \
  |  |  356|  9.04M|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  9.04M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  9.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  9.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|  9.04M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 9.04M]
  |  |  ------------------
  ------------------
10630|  9.04M|    if (res == NULL)
  ------------------
  |  Branch (10630:9): [True: 0, False: 9.04M]
  ------------------
10631|      0|        return -1;
10632|       |
10633|  9.04M|    assert(PyLong_Check(res));
  ------------------
  |  Branch (10633:5): [True: 9.04M, False: 0]
  ------------------
10634|  9.04M|    if (_PyLong_IsNegative((PyLongObject *)res)) {
  ------------------
  |  Branch (10634:9): [True: 0, False: 9.04M]
  ------------------
10635|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10636|      0|        PyErr_SetString(PyExc_ValueError,
10637|      0|                        "__len__() should return >= 0");
10638|      0|        return -1;
10639|      0|    }
10640|       |
10641|  9.04M|    len = PyNumber_AsSsize_t(res, PyExc_OverflowError);
10642|  9.04M|    assert(len >= 0 || PyErr_ExceptionMatches(PyExc_OverflowError));
  ------------------
  |  Branch (10642:5): [True: 9.04M, False: 0]
  |  Branch (10642:5): [True: 0, False: 0]
  ------------------
10643|  9.04M|    Py_DECREF(res);
  ------------------
  |  |  430|  9.04M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10644|  9.04M|    return len;
10645|  9.04M|}
typeobject.c:slot_mp_subscript:
10534|  1.63M|FUNCNAME(PyObject *self, ARG1TYPE arg1) \
10535|  1.63M|{ \
10536|  1.63M|    PyObject* stack[2] = {self, arg1}; \
10537|  1.63M|    return vectorcall_method(&_Py_ID(DUNDER), stack, 2); \
  ------------------
  |  |  920|  1.63M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.63M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.63M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10538|  1.63M|}
typeobject.c:slot_mp_ass_subscript:
10719|  1.57M|{
10720|  1.57M|    PyObject *stack[3];
10721|  1.57M|    PyObject *res;
10722|       |
10723|  1.57M|    stack[0] = self;
10724|  1.57M|    stack[1] = key;
10725|  1.57M|    if (value == NULL) {
  ------------------
  |  Branch (10725:9): [True: 16.0k, False: 1.56M]
  ------------------
10726|  16.0k|        res = vectorcall_method(&_Py_ID(__delitem__), stack, 2);
  ------------------
  |  |  920|  16.0k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  16.0k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  16.0k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10727|  16.0k|    }
10728|  1.56M|    else {
10729|  1.56M|        stack[2] = value;
10730|  1.56M|        res = vectorcall_method(&_Py_ID(__setitem__), stack, 3);
  ------------------
  |  |  920|  1.56M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.56M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.56M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10731|  1.56M|    }
10732|       |
10733|  1.57M|    if (res == NULL)
  ------------------
  |  Branch (10733:9): [True: 0, False: 1.57M]
  ------------------
10734|      0|        return -1;
10735|  1.57M|    Py_DECREF(res);
  ------------------
  |  |  430|  1.57M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.57M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.57M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10736|  1.57M|    return 0;
10737|  1.57M|}
typeobject.c:wrap_objobjargproc:
10088|     85|{
10089|     85|    objobjargproc func = (objobjargproc)wrapped;
10090|     85|    int res;
10091|     85|    PyObject *key, *value;
10092|       |
10093|     85|    if (!PyArg_UnpackTuple(args, "__setitem__", 2, 2, &key, &value))
  ------------------
  |  Branch (10093:9): [True: 0, False: 85]
  ------------------
10094|      0|        return NULL;
10095|     85|    res = (*func)(self, key, value);
10096|     85|    if (res == -1 && PyErr_Occurred())
  ------------------
  |  Branch (10096:9): [True: 0, False: 85]
  |  Branch (10096:22): [True: 0, False: 0]
  ------------------
10097|      0|        return NULL;
10098|     85|    Py_RETURN_NONE;
  ------------------
  |  |  628|     85|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     85|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10099|     85|}
typeobject.c:slot_sq_item:
10649|  7.89M|{
10650|  7.89M|    PyObject *ival = PyLong_FromSsize_t(i);
10651|  7.89M|    if (ival == NULL) {
  ------------------
  |  Branch (10651:9): [True: 0, False: 7.89M]
  ------------------
10652|      0|        return NULL;
10653|      0|    }
10654|  7.89M|    PyObject *stack[2] = {self, ival};
10655|  7.89M|    PyObject *retval = vectorcall_method(&_Py_ID(__getitem__), stack, 2);
  ------------------
  |  |  920|  7.89M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  7.89M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  7.89M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10656|  7.89M|    Py_DECREF(ival);
  ------------------
  |  |  430|  7.89M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.89M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.89M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10657|  7.89M|    return retval;
10658|  7.89M|}
typeobject.c:slot_sq_contains:
10692|      6|{
10693|      6|    int attr_is_none = 0;
10694|      6|    PyObject *res = maybe_call_special_one_arg(self, &_Py_ID(__contains__), value,
  ------------------
  |  |  920|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10695|      6|                                               &attr_is_none);
10696|      6|    if (attr_is_none) {
  ------------------
  |  Branch (10696:9): [True: 0, False: 6]
  ------------------
10697|      0|        PyErr_Format(PyExc_TypeError,
10698|      0|            "'%.200s' object is not a container",
10699|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10700|      0|        return -1;
10701|      0|    }
10702|      6|    else if (res == NULL && PyErr_Occurred()) {
  ------------------
  |  Branch (10702:14): [True: 0, False: 6]
  |  Branch (10702:29): [True: 0, False: 0]
  ------------------
10703|      0|        return -1;
10704|      0|    }
10705|      6|    else if (res == NULL) {
  ------------------
  |  Branch (10705:14): [True: 0, False: 6]
  ------------------
10706|      0|        return (int)_PySequence_IterSearch(self, value, PY_ITERSEARCH_CONTAINS);
  ------------------
  |  |   29|      0|#define PY_ITERSEARCH_CONTAINS 3
  ------------------
10707|      0|    }
10708|      6|    int result = PyObject_IsTrue(res);
10709|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10710|      6|    return result;
10711|      6|}
typeobject.c:type_get_mro:
 1770|     79|{
 1771|     79|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|     79|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1772|     79|    PyObject *mro = lookup_tp_mro(type);
 1773|     79|    if (mro == NULL) {
  ------------------
  |  Branch (1773:9): [True: 0, False: 79]
  ------------------
 1774|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1775|      0|    }
 1776|     79|    return Py_NewRef(mro);
  ------------------
  |  |  550|     79|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     79|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1777|     79|}
typeobject.c:check_immutable_bases:
 5187|     96|{
 5188|     96|    Py_ssize_t i = 0;
 5189|     96|    if (skip_first) {
  ------------------
  |  Branch (5189:9): [True: 0, False: 96]
  ------------------
 5190|       |        // When testing the MRO, skip the type itself
 5191|      0|        i = 1;
 5192|      0|    }
 5193|    192|    for (; i<PyTuple_GET_SIZE(bases); i++) {
  ------------------
  |  |   27|    192|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    192|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    192|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5193:12): [True: 96, False: 96]
  ------------------
 5194|     96|        PyTypeObject *b = (PyTypeObject*)PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|     96|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     96|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5194:42): [True: 96, False: 0]
  ------------------
 5195|     96|        if (!b) {
  ------------------
  |  Branch (5195:13): [True: 0, False: 96]
  ------------------
 5196|      0|            return -1;
 5197|      0|        }
 5198|     96|        if (!_PyType_HasFeature(b, Py_TPFLAGS_IMMUTABLETYPE)) {
  ------------------
  |  |  500|     96|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (5198:13): [True: 0, False: 96]
  ------------------
 5199|      0|            PyErr_Format(
 5200|      0|                PyExc_TypeError,
 5201|      0|                "Creating immutable type %s from mutable base %N",
 5202|      0|                type_name, b
 5203|      0|            );
 5204|      0|            return -1;
 5205|      0|        }
 5206|     96|    }
 5207|     96|    return 0;
 5208|     96|}
typeobject.c:supercheck:
12704|  3.02k|{
12705|       |    /* Check that a super() call makes sense.  Return a type object.
12706|       |
12707|       |       obj can be a class, or an instance of one:
12708|       |
12709|       |       - If it is a class, it must be a subclass of 'type'.      This case is
12710|       |         used for class methods; the return value is obj.
12711|       |
12712|       |       - If it is an instance, it must be an instance of 'type'.  This is
12713|       |         the normal case; the return value is obj.__class__.
12714|       |
12715|       |       But... when obj is an instance, we want to allow for the case where
12716|       |       Py_TYPE(obj) is not a subclass of type, but obj.__class__ is!
12717|       |       This will allow using super() with a proxy for obj.
12718|       |    */
12719|       |
12720|       |    /* Check for first bullet above (special case) */
12721|  3.02k|    if (PyType_Check(obj) && PyType_IsSubtype((PyTypeObject *)obj, type)) {
  ------------------
  |  |  766|  6.05k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 695, False: 2.33k]
  |  |  ------------------
  ------------------
  |  Branch (12721:30): [True: 601, False: 94]
  ------------------
12722|    601|        return (PyTypeObject *)Py_NewRef(obj);
  ------------------
  |  |  550|    601|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    601|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    601|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12723|    601|    }
12724|       |
12725|       |    /* Normal case */
12726|  2.42k|    if (PyType_IsSubtype(Py_TYPE(obj), type)) {
  ------------------
  |  |  213|  2.42k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12726:9): [True: 2.42k, False: 0]
  ------------------
12727|  2.42k|        return (PyTypeObject*)Py_NewRef(Py_TYPE(obj));
  ------------------
  |  |  550|  2.42k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12728|  2.42k|    }
12729|      0|    else {
12730|       |        /* Try the slow way */
12731|      0|        PyObject *class_attr;
12732|       |
12733|      0|        if (PyObject_GetOptionalAttr(obj, &_Py_ID(__class__), &class_attr) < 0) {
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12733:13): [True: 0, False: 0]
  ------------------
12734|      0|            return NULL;
12735|      0|        }
12736|      0|        if (class_attr != NULL &&
  ------------------
  |  Branch (12736:13): [True: 0, False: 0]
  ------------------
12737|      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]
  |  |  ------------------
  ------------------
12738|      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 (12738:13): [True: 0, False: 0]
  ------------------
12739|      0|        {
12740|      0|            int ok = PyType_IsSubtype(
12741|      0|                (PyTypeObject *)class_attr, type);
12742|      0|            if (ok) {
  ------------------
  |  Branch (12742:17): [True: 0, False: 0]
  ------------------
12743|      0|                return (PyTypeObject *)class_attr;
12744|      0|            }
12745|      0|        }
12746|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12747|      0|    }
12748|       |
12749|      0|    const char *type_or_instance, *obj_str;
12750|       |
12751|      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]
  |  |  ------------------
  ------------------
12752|      0|        type_or_instance = "type";
12753|      0|        obj_str = ((PyTypeObject*)obj)->tp_name;
12754|      0|    }
12755|      0|    else {
12756|      0|        type_or_instance = "instance of";
12757|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12758|      0|    }
12759|       |
12760|      0|    PyErr_Format(PyExc_TypeError,
12761|      0|                "super(type, obj): obj (%s %.200s) is not "
12762|      0|                "an instance or subtype of type (%.200s).",
12763|      0|                type_or_instance, obj_str, type->tp_name);
12764|       |
12765|       |    return NULL;
12766|  2.42k|}
typeobject.c:do_super_lookup:
12639|  3.02k|{
12640|  3.02k|    PyObject *res;
12641|  3.02k|    int temp_su = 0;
12642|       |
12643|  3.02k|    if (su_obj_type == NULL) {
  ------------------
  |  Branch (12643:9): [True: 0, False: 3.02k]
  ------------------
12644|      0|        goto skip;
12645|      0|    }
12646|       |
12647|  3.02k|    res = _PySuper_LookupDescr(su_type, su_obj_type, name);
12648|  3.02k|    if (res != NULL) {
  ------------------
  |  Branch (12648:9): [True: 3.02k, False: 0]
  ------------------
12649|  3.02k|        if (method && _PyType_HasFeature(Py_TYPE(res), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  213|  2.32k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (method && _PyType_HasFeature(Py_TYPE(res), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  534|  2.32k|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (12649:13): [True: 2.32k, False: 700]
  |  Branch (12649:23): [True: 2.32k, False: 0]
  ------------------
12650|  2.32k|            *method = 1;
12651|  2.32k|        }
12652|    700|        else {
12653|    700|            descrgetfunc f = Py_TYPE(res)->tp_descr_get;
  ------------------
  |  |  213|    700|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    700|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    700|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12654|    700|            if (f != NULL) {
  ------------------
  |  Branch (12654:17): [True: 369, False: 331]
  ------------------
12655|    369|                PyObject *res2;
12656|    369|                res2 = f(res,
12657|       |                    /* Only pass 'obj' param if this is instance-mode super
12658|       |                    (See SF ID #743627)  */
12659|    369|                    (su_obj == (PyObject *)su_obj_type) ? NULL : su_obj,
  ------------------
  |  Branch (12659:21): [True: 270, False: 99]
  ------------------
12660|    369|                    (PyObject *)su_obj_type);
12661|    369|                Py_SETREF(res, res2);
  ------------------
  |  |  352|    369|    do { \
  |  |  353|    369|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    369|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|    369|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    369|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|    369|        *_tmp_dst_ptr = (src); \
  |  |  356|    369|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|    369|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    369|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    369|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|    369|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 369]
  |  |  ------------------
  ------------------
12662|    369|            }
12663|    700|        }
12664|       |
12665|  3.02k|        return res;
12666|  3.02k|    }
12667|      0|    else if (PyErr_Occurred()) {
  ------------------
  |  Branch (12667:14): [True: 0, False: 0]
  ------------------
12668|      0|        return NULL;
12669|      0|    }
12670|       |
12671|      0|  skip:
12672|      0|    if (su == NULL) {
  ------------------
  |  Branch (12672:9): [True: 0, False: 0]
  ------------------
12673|      0|        PyObject *args[] = {(PyObject *)su_type, su_obj};
12674|      0|        su = (superobject *)PyObject_Vectorcall((PyObject *)&PySuper_Type, args, 2, NULL);
12675|      0|        if (su == NULL) {
  ------------------
  |  Branch (12675:13): [True: 0, False: 0]
  ------------------
12676|      0|            return NULL;
12677|      0|        }
12678|      0|        temp_su = 1;
12679|      0|    }
12680|      0|    res = PyObject_GenericGetAttr((PyObject *)su, name);
12681|      0|    if (temp_su) {
  ------------------
  |  Branch (12681:9): [True: 0, False: 0]
  ------------------
12682|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12683|      0|    }
12684|      0|    return res;
12685|      0|}
typeobject.c:super_dealloc:
12557|    284|{
12558|    284|    superobject *su = superobject_CAST(self);
  ------------------
  |  |12543|    284|#define superobject_CAST(op)    ((superobject *)(op))
  ------------------
12559|       |
12560|    284|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  509|    284|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    284|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    284|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12561|    284|    Py_XDECREF(su->obj);
  ------------------
  |  |  524|    284|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    284|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    284|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12562|    284|    Py_XDECREF(su->type);
  ------------------
  |  |  524|    284|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    284|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    284|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12563|    284|    Py_XDECREF(su->obj_type);
  ------------------
  |  |  524|    284|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    284|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    284|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12564|    284|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|    284|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    284|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    284|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12565|    284|}
typeobject.c:super_getattro:
12689|    284|{
12690|    284|    superobject *su = superobject_CAST(self);
  ------------------
  |  |12543|    284|#define superobject_CAST(op)    ((superobject *)(op))
  ------------------
12691|       |
12692|       |    /* We want __class__ to return the class of the super object
12693|       |       (i.e. super, or a subclass), not the class of su->obj. */
12694|    284|    if (PyUnicode_Check(name) &&
  ------------------
  |  |  103|    284|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    568|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 284, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12695|    284|        PyUnicode_GET_LENGTH(name) == 9 &&
  ------------------
  |  |  299|    284|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    284|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    284|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12695:9): [True: 0, False: 284]
  ------------------
12696|      0|        _PyUnicode_Equal(name, &_Py_ID(__class__)))
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12696:9): [True: 0, False: 0]
  ------------------
12697|      0|        return PyObject_GenericGetAttr(self, name);
12698|       |
12699|    284|    return do_super_lookup(su, su->type, su->obj, su->obj_type, name, NULL);
12700|    284|}
typeobject.c:super_init_impl:
12914|    284|super_init_impl(PyObject *self, PyTypeObject *type, PyObject *obj) {
12915|    284|    superobject *su = superobject_CAST(self);
  ------------------
  |  |12543|    284|#define superobject_CAST(op)    ((superobject *)(op))
  ------------------
12916|    284|    PyTypeObject *obj_type = NULL;
12917|    284|    if (type == NULL) {
  ------------------
  |  Branch (12917:9): [True: 15, False: 269]
  ------------------
12918|       |        /* Call super(), without args -- fill in from __class__
12919|       |           and first local variable on the stack. */
12920|     15|        PyThreadState *tstate = _PyThreadState_GET();
12921|     15|        _PyInterpreterFrame *frame = _PyThreadState_GetFrame(tstate);
12922|     15|        if (frame == NULL) {
  ------------------
  |  Branch (12922:13): [True: 0, False: 15]
  ------------------
12923|      0|            PyErr_SetString(PyExc_RuntimeError,
12924|      0|                            "super(): no current frame");
12925|      0|            return -1;
12926|      0|        }
12927|     15|        int res = super_init_without_args(frame, &type, &obj);
12928|       |
12929|     15|        if (res < 0) {
  ------------------
  |  Branch (12929:13): [True: 0, False: 15]
  ------------------
12930|      0|            return -1;
12931|      0|        }
12932|     15|    }
12933|    269|    else {
12934|    269|        Py_INCREF(type);
  ------------------
  |  |  310|    269|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    269|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    269|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12935|    269|        Py_XINCREF(obj);
  ------------------
  |  |  514|    269|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    269|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    269|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12936|    269|    }
12937|       |
12938|    284|    if (obj == Py_None) {
  ------------------
  |  |  616|    284|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (12938:9): [True: 0, False: 284]
  ------------------
12939|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12940|      0|        obj = NULL;
12941|      0|    }
12942|    284|    if (obj != NULL) {
  ------------------
  |  Branch (12942:9): [True: 284, False: 0]
  ------------------
12943|    284|        obj_type = supercheck(type, obj);
12944|    284|        if (obj_type == NULL) {
  ------------------
  |  Branch (12944:13): [True: 0, False: 284]
  ------------------
12945|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12946|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12947|      0|            return -1;
12948|      0|        }
12949|    284|    }
12950|    284|    Py_XSETREF(su->type, (PyTypeObject*)type);
  ------------------
  |  |  374|    284|    do { \
  |  |  375|    284|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    284|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|    284|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    284|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|    284|        *_tmp_dst_ptr = (src); \
  |  |  378|    284|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    284|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    284|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    284|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|    284|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 284]
  |  |  ------------------
  ------------------
12951|    284|    Py_XSETREF(su->obj, obj);
  ------------------
  |  |  374|    284|    do { \
  |  |  375|    284|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    284|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|    284|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    284|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|    284|        *_tmp_dst_ptr = (src); \
  |  |  378|    284|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    284|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    284|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    284|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|    284|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 284]
  |  |  ------------------
  ------------------
12952|    284|    Py_XSETREF(su->obj_type, obj_type);
  ------------------
  |  |  374|    284|    do { \
  |  |  375|    284|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    284|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|    284|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    284|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|    284|        *_tmp_dst_ptr = (src); \
  |  |  378|    284|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    284|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    284|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    284|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|    284|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 284]
  |  |  ------------------
  ------------------
12953|    284|    return 0;
12954|    284|}
typeobject.c:super_init_without_args:
12816|     15|{
12817|     15|    PyCodeObject *co = _PyFrame_GetCode(cframe);
12818|     15|    if (co->co_argcount == 0) {
  ------------------
  |  Branch (12818:9): [True: 0, False: 15]
  ------------------
12819|      0|        PyErr_SetString(PyExc_RuntimeError,
12820|      0|                        "super(): no arguments");
12821|      0|        return -1;
12822|      0|    }
12823|       |
12824|     15|    assert(_PyFrame_GetCode(cframe)->co_nlocalsplus > 0);
  ------------------
  |  Branch (12824:5): [True: 15, False: 0]
  ------------------
12825|     15|    PyObject *firstarg = PyStackRef_AsPyObjectBorrow(_PyFrame_GetLocalsArray(cframe)[0]);
12826|     15|    if (firstarg == NULL) {
  ------------------
  |  Branch (12826:9): [True: 0, False: 15]
  ------------------
12827|      0|        PyErr_SetString(PyExc_RuntimeError, "super(): arg[0] deleted");
12828|      0|        return -1;
12829|      0|    }
12830|       |    // The first argument might be a cell.
12831|       |    // "firstarg" is a cell here unless (very unlikely) super()
12832|       |    // was called from the C-API before the first MAKE_CELL op.
12833|     15|    if ((_PyLocals_GetKind(co->co_localspluskinds, 0) & CO_FAST_CELL) &&
  ------------------
  |  |  198|     15|#define CO_FAST_CELL    (0x40)
  ------------------
  |  Branch (12833:9): [True: 0, False: 15]
  ------------------
12834|      0|            (_PyInterpreterFrame_LASTI(cframe) >= 0)) {
  ------------------
  |  |   18|      0|    ((int)((IF)->instr_ptr - _PyFrame_GetBytecode((IF))))
  ------------------
  |  Branch (12834:13): [True: 0, False: 0]
  ------------------
12835|       |        // MAKE_CELL and COPY_FREE_VARS have no quickened forms, so no need
12836|       |        // to use _PyOpcode_Deopt here:
12837|      0|        assert(_PyCode_CODE(co)[0].op.code == MAKE_CELL ||
  ------------------
  |  Branch (12837:9): [True: 0, False: 0]
  |  Branch (12837:9): [True: 0, False: 0]
  ------------------
12838|      0|                _PyCode_CODE(co)[0].op.code == COPY_FREE_VARS);
12839|      0|        assert(PyCell_Check(firstarg));
  ------------------
  |  Branch (12839:9): [True: 0, False: 0]
  ------------------
12840|      0|        firstarg = PyCell_GetRef((PyCellObject *)firstarg);
12841|      0|        if (firstarg == NULL) {
  ------------------
  |  Branch (12841:13): [True: 0, False: 0]
  ------------------
12842|      0|            PyErr_SetString(PyExc_RuntimeError, "super(): arg[0] deleted");
12843|      0|            return -1;
12844|      0|        }
12845|      0|    }
12846|     15|    else {
12847|     15|        Py_INCREF(firstarg);
  ------------------
  |  |  310|     15|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12848|     15|    }
12849|       |
12850|       |    // Look for __class__ in the free vars.
12851|     15|    PyTypeObject *type = NULL;
12852|     15|    int i = PyUnstable_Code_GetFirstFree(co);
12853|     15|    for (; i < co->co_nlocalsplus; i++) {
  ------------------
  |  Branch (12853:12): [True: 15, False: 0]
  ------------------
12854|     15|        assert((_PyLocals_GetKind(co->co_localspluskinds, i) & CO_FAST_FREE) != 0);
  ------------------
  |  Branch (12854:9): [True: 15, False: 0]
  ------------------
12855|     15|        PyObject *name = PyTuple_GET_ITEM(co->co_localsplusnames, i);
  ------------------
  |  |   29|     15|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     15|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12855:26): [True: 15, False: 0]
  ------------------
12856|     15|        assert(PyUnicode_Check(name));
  ------------------
  |  Branch (12856:9): [True: 15, False: 0]
  ------------------
12857|     15|        if (_PyUnicode_Equal(name, &_Py_ID(__class__))) {
  ------------------
  |  |  920|     15|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     15|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     15|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12857:13): [True: 15, False: 0]
  ------------------
12858|     15|            PyObject *cell = PyStackRef_AsPyObjectBorrow(_PyFrame_GetLocalsArray(cframe)[i]);
12859|     15|            if (cell == NULL || !PyCell_Check(cell)) {
  ------------------
  |  |   18|     15|#define PyCell_Check(op) Py_IS_TYPE((op), &PyCell_Type)
  |  |  ------------------
  |  |  |  |  215|     15|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12859:17): [True: 0, False: 15]
  |  Branch (12859:33): [True: 0, False: 15]
  ------------------
12860|      0|                PyErr_SetString(PyExc_RuntimeError,
12861|      0|                  "super(): bad __class__ cell");
12862|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12863|      0|                return -1;
12864|      0|            }
12865|     15|            type = (PyTypeObject *) PyCell_GetRef((PyCellObject *)cell);
12866|     15|            if (type == NULL) {
  ------------------
  |  Branch (12866:17): [True: 0, False: 15]
  ------------------
12867|      0|                PyErr_SetString(PyExc_RuntimeError,
12868|      0|                  "super(): empty __class__ cell");
12869|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12870|      0|                return -1;
12871|      0|            }
12872|     15|            if (!PyType_Check(type)) {
  ------------------
  |  |  766|     15|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12872:17): [True: 0, False: 15]
  ------------------
12873|      0|                PyErr_Format(PyExc_RuntimeError,
12874|      0|                  "super(): __class__ is not a type (%s)",
12875|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12876|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12877|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12878|      0|                return -1;
12879|      0|            }
12880|     15|            break;
12881|     15|        }
12882|     15|    }
12883|     15|    if (type == NULL) {
  ------------------
  |  Branch (12883:9): [True: 0, False: 15]
  ------------------
12884|      0|        PyErr_SetString(PyExc_RuntimeError,
12885|      0|                        "super(): __class__ cell not found");
12886|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12887|      0|        return -1;
12888|      0|    }
12889|       |
12890|     15|    *type_p = type;
12891|     15|    *obj_p = firstarg;
12892|     15|    return 0;
12893|     15|}
typeobject.c:super_vectorcall:
12987|    284|{
12988|    284|    assert(PyType_Check(self));
  ------------------
  |  Branch (12988:5): [True: 284, False: 0]
  ------------------
12989|    284|    if (!_PyArg_NoKwnames("super", kwnames)) {
  ------------------
  |  |   15|    284|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 284, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
12990|      0|        return NULL;
12991|      0|    }
12992|    284|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    284|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
12993|    284|    if (!_PyArg_CheckPositional("super()", nargs, 0, 2)) {
  ------------------
  |  |   31|    284|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 284, False: 0]
  |  |  |  Branch (31:27): [True: 284, False: 0]
  |  |  ------------------
  |  |   32|    284|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
12994|      0|        return NULL;
12995|      0|    }
12996|    284|    PyTypeObject *type = NULL;
12997|    284|    PyObject *obj = NULL;
12998|    284|    PyTypeObject *self_type = (PyTypeObject *)self;
12999|    284|    PyObject *su = self_type->tp_alloc(self_type, 0);
13000|    284|    if (su == NULL) {
  ------------------
  |  Branch (13000:9): [True: 0, False: 284]
  ------------------
13001|      0|        return NULL;
13002|      0|    }
13003|       |    // 1 or 2 argument form super().
13004|    284|    if (nargs != 0) {
  ------------------
  |  Branch (13004:9): [True: 269, False: 15]
  ------------------
13005|    269|        PyObject *arg0 = args[0];
13006|    269|        if (!PyType_Check(arg0)) {
  ------------------
  |  |  766|    269|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    269|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    269|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (13006:13): [True: 0, False: 269]
  ------------------
13007|      0|            PyErr_Format(PyExc_TypeError,
13008|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13009|      0|            goto fail;
13010|      0|        }
13011|    269|        type = (PyTypeObject *)arg0;
13012|    269|    }
13013|    284|    if (nargs == 2) {
  ------------------
  |  Branch (13013:9): [True: 269, False: 15]
  ------------------
13014|    269|        obj = args[1];
13015|    269|    }
13016|    284|    if (super_init_impl(su, type, obj) < 0) {
  ------------------
  |  Branch (13016:9): [True: 0, False: 284]
  ------------------
13017|      0|        goto fail;
13018|      0|    }
13019|    284|    return su;
13020|      0|fail:
13021|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13022|       |    return NULL;
13023|    284|}

_Py_initialize_generic:
 2404|      2|{
 2405|      2|#define MAKE_TYPE(name) \
 2406|      2|    do { \
 2407|      2|        PyTypeObject *name ## _type = (PyTypeObject *)PyType_FromSpec(&name ## _spec); \
 2408|      2|        if (name ## _type == NULL) { \
 2409|      2|            return -1; \
 2410|      2|        } \
 2411|      2|        interp->cached_objects.name ## _type = name ## _type; \
 2412|      2|    } while(0)
 2413|       |
 2414|      2|    MAKE_TYPE(generic);
  ------------------
  |  | 2406|      2|    do { \
  |  | 2407|      2|        PyTypeObject *name ## _type = (PyTypeObject *)PyType_FromSpec(&name ## _spec); \
  |  | 2408|      2|        if (name ## _type == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2408:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 2409|      0|            return -1; \
  |  | 2410|      0|        } \
  |  | 2411|      2|        interp->cached_objects.name ## _type = name ## _type; \
  |  | 2412|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (2412:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2415|      2|    MAKE_TYPE(typevar);
  ------------------
  |  | 2406|      2|    do { \
  |  | 2407|      2|        PyTypeObject *name ## _type = (PyTypeObject *)PyType_FromSpec(&name ## _spec); \
  |  | 2408|      2|        if (name ## _type == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2408:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 2409|      0|            return -1; \
  |  | 2410|      0|        } \
  |  | 2411|      2|        interp->cached_objects.name ## _type = name ## _type; \
  |  | 2412|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (2412:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2416|      2|    MAKE_TYPE(typevartuple);
  ------------------
  |  | 2406|      2|    do { \
  |  | 2407|      2|        PyTypeObject *name ## _type = (PyTypeObject *)PyType_FromSpec(&name ## _spec); \
  |  | 2408|      2|        if (name ## _type == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2408:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 2409|      0|            return -1; \
  |  | 2410|      0|        } \
  |  | 2411|      2|        interp->cached_objects.name ## _type = name ## _type; \
  |  | 2412|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (2412:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2417|      2|    MAKE_TYPE(paramspec);
  ------------------
  |  | 2406|      2|    do { \
  |  | 2407|      2|        PyTypeObject *name ## _type = (PyTypeObject *)PyType_FromSpec(&name ## _spec); \
  |  | 2408|      2|        if (name ## _type == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2408:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 2409|      0|            return -1; \
  |  | 2410|      0|        } \
  |  | 2411|      2|        interp->cached_objects.name ## _type = name ## _type; \
  |  | 2412|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (2412:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2418|      2|    MAKE_TYPE(paramspecargs);
  ------------------
  |  | 2406|      2|    do { \
  |  | 2407|      2|        PyTypeObject *name ## _type = (PyTypeObject *)PyType_FromSpec(&name ## _spec); \
  |  | 2408|      2|        if (name ## _type == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2408:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 2409|      0|            return -1; \
  |  | 2410|      0|        } \
  |  | 2411|      2|        interp->cached_objects.name ## _type = name ## _type; \
  |  | 2412|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (2412:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2419|      2|    MAKE_TYPE(paramspeckwargs);
  ------------------
  |  | 2406|      2|    do { \
  |  | 2407|      2|        PyTypeObject *name ## _type = (PyTypeObject *)PyType_FromSpec(&name ## _spec); \
  |  | 2408|      2|        if (name ## _type == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2408:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 2409|      0|            return -1; \
  |  | 2410|      0|        } \
  |  | 2411|      2|        interp->cached_objects.name ## _type = name ## _type; \
  |  | 2412|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (2412:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2420|      2|    MAKE_TYPE(constevaluator);
  ------------------
  |  | 2406|      2|    do { \
  |  | 2407|      2|        PyTypeObject *name ## _type = (PyTypeObject *)PyType_FromSpec(&name ## _spec); \
  |  | 2408|      2|        if (name ## _type == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2408:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 2409|      0|            return -1; \
  |  | 2410|      0|        } \
  |  | 2411|      2|        interp->cached_objects.name ## _type = name ## _type; \
  |  | 2412|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (2412:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2421|      2|#undef MAKE_TYPE
 2422|      2|    return 0;
 2423|      2|}

PyUnicode_Format:
 1028|  1.34M|{
 1029|  1.34M|    struct unicode_formatter_t ctx;
 1030|       |
 1031|  1.34M|    if (format == NULL || args == NULL) {
  ------------------
  |  Branch (1031:9): [True: 0, False: 1.34M]
  |  Branch (1031:27): [True: 0, False: 1.34M]
  ------------------
 1032|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1033|      0|        return NULL;
 1034|      0|    }
 1035|       |
 1036|  1.34M|    if (ensure_unicode(format) < 0)
  ------------------
  |  |   52|  1.34M|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
  |  Branch (1036:9): [True: 0, False: 1.34M]
  ------------------
 1037|      0|        return NULL;
 1038|       |
 1039|  1.34M|    ctx.fmtstr = format;
 1040|  1.34M|    ctx.fmtdata = PyUnicode_DATA(ctx.fmtstr);
  ------------------
  |  |  284|  1.34M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.34M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.34M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1041|  1.34M|    ctx.fmtkind = PyUnicode_KIND(ctx.fmtstr);
  ------------------
  |  |  258|  1.34M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  2.69M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 1.34M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1042|  1.34M|    ctx.fmtcnt = PyUnicode_GET_LENGTH(ctx.fmtstr);
  ------------------
  |  |  299|  1.34M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.34M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.34M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1043|  1.34M|    ctx.fmtpos = 0;
 1044|       |
 1045|  1.34M|    _PyUnicodeWriter_Init(&ctx.writer);
 1046|  1.34M|    ctx.writer.min_length = ctx.fmtcnt + 100;
 1047|  1.34M|    ctx.writer.overallocate = 1;
 1048|       |
 1049|  1.34M|    if (PyTuple_Check(args)) {
  ------------------
  |  |   27|  1.34M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.34M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2.34k, False: 1.34M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1050|  2.34k|        ctx.arglen = PyTuple_Size(args);
 1051|  2.34k|        ctx.argidx = 0;
 1052|  2.34k|    }
 1053|  1.34M|    else {
 1054|  1.34M|        ctx.arglen = -1;
 1055|  1.34M|        ctx.argidx = -2;
 1056|  1.34M|    }
 1057|  1.34M|    ctx.args_owned = 0;
 1058|  1.34M|    if (PyMapping_Check(args) && !PyTuple_Check(args) && !PyUnicode_Check(args))
  ------------------
  |  |   27|   265k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.61M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (PyMapping_Check(args) && !PyTuple_Check(args) && !PyUnicode_Check(args))
  ------------------
  |  |  103|   262k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   262k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1058:9): [True: 265k, False: 1.08M]
  |  Branch (1058:34): [True: 262k, False: 2.34k]
  |  Branch (1058:58): [True: 0, False: 262k]
  ------------------
 1059|      0|        ctx.dict = args;
 1060|  1.34M|    else
 1061|  1.34M|        ctx.dict = NULL;
 1062|  1.34M|    ctx.args = args;
 1063|       |
 1064|  4.30M|    while (--ctx.fmtcnt >= 0) {
  ------------------
  |  Branch (1064:12): [True: 2.95M, False: 1.34M]
  ------------------
 1065|  2.95M|        if (PyUnicode_READ(ctx.fmtkind, ctx.fmtdata, ctx.fmtpos) != '%') {
  ------------------
  |  |  354|  2.95M|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  2.95M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  2.95M|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  2.95M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  2.95M|                   (index))
  ------------------
  |  Branch (1065:13): [True: 1.60M, False: 1.34M]
  ------------------
 1066|  1.60M|            Py_ssize_t nonfmtpos;
 1067|       |
 1068|  1.60M|            nonfmtpos = ctx.fmtpos++;
 1069|  48.0M|            while (ctx.fmtcnt >= 0 &&
  ------------------
  |  Branch (1069:20): [True: 47.7M, False: 262k]
  ------------------
 1070|  47.7M|                   PyUnicode_READ(ctx.fmtkind, ctx.fmtdata, ctx.fmtpos) != '%') {
  ------------------
  |  |  354|  47.7M|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  47.7M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  47.7M|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  47.7M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  47.7M|                   (index))
  ------------------
  |  Branch (1070:20): [True: 46.3M, False: 1.34M]
  ------------------
 1071|  46.3M|                ctx.fmtpos++;
 1072|  46.3M|                ctx.fmtcnt--;
 1073|  46.3M|            }
 1074|  1.60M|            if (ctx.fmtcnt < 0) {
  ------------------
  |  Branch (1074:17): [True: 262k, False: 1.34M]
  ------------------
 1075|   262k|                ctx.fmtpos--;
 1076|   262k|                ctx.writer.overallocate = 0;
 1077|   262k|            }
 1078|       |
 1079|  1.60M|            if (_PyUnicodeWriter_WriteSubstring(&ctx.writer, ctx.fmtstr,
  ------------------
  |  Branch (1079:17): [True: 0, False: 1.60M]
  ------------------
 1080|  1.60M|                                                nonfmtpos, ctx.fmtpos) < 0)
 1081|      0|                goto onError;
 1082|  1.60M|        }
 1083|  1.34M|        else {
 1084|  1.34M|            ctx.fmtpos++;
 1085|  1.34M|            if (unicode_format_arg(&ctx) == -1)
  ------------------
  |  Branch (1085:17): [True: 0, False: 1.34M]
  ------------------
 1086|      0|                goto onError;
 1087|  1.34M|        }
 1088|  2.95M|    }
 1089|       |
 1090|  1.34M|    if (ctx.argidx < ctx.arglen && !ctx.dict) {
  ------------------
  |  Branch (1090:9): [True: 0, False: 1.34M]
  |  Branch (1090:36): [True: 0, False: 0]
  ------------------
 1091|      0|        PyErr_Format(PyExc_TypeError,
 1092|      0|                     "not all arguments converted during string formatting "
 1093|      0|                     "(required %zd, got %zd)",
 1094|      0|                     ctx.arglen < 0 ? 0 : ctx.argidx,
  ------------------
  |  Branch (1094:22): [True: 0, False: 0]
  ------------------
 1095|      0|                     ctx.arglen < 0 ? 1 : ctx.arglen);
  ------------------
  |  Branch (1095:22): [True: 0, False: 0]
  ------------------
 1096|      0|        goto onError;
 1097|      0|    }
 1098|       |
 1099|  1.34M|    if (ctx.args_owned) {
  ------------------
  |  Branch (1099:9): [True: 0, False: 1.34M]
  ------------------
 1100|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1101|      0|    }
 1102|  1.34M|    return _PyUnicodeWriter_Finish(&ctx.writer);
 1103|       |
 1104|      0|  onError:
 1105|      0|    _PyUnicodeWriter_Dealloc(&ctx.writer);
 1106|      0|    if (ctx.args_owned) {
  ------------------
  |  Branch (1106:9): [True: 0, False: 0]
  ------------------
 1107|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1108|      0|    }
 1109|       |    return NULL;
 1110|  1.34M|}
unicode_format.c:unicode_format_arg:
  972|  1.34M|{
  973|  1.34M|    struct unicode_format_arg_t arg;
  974|  1.34M|    PyObject *str;
  975|  1.34M|    int ret;
  976|       |
  977|  1.34M|    arg.ch = PyUnicode_READ(ctx->fmtkind, ctx->fmtdata, ctx->fmtpos);
  ------------------
  |  |  354|  1.34M|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  1.34M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  1.34M|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  1.34M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  1.34M|                   (index))
  ------------------
  978|  1.34M|    if (arg.ch == '%') {
  ------------------
  |  Branch (978:9): [True: 0, False: 1.34M]
  ------------------
  979|      0|        ctx->fmtpos++;
  980|      0|        ctx->fmtcnt--;
  981|      0|        if (_PyUnicodeWriter_WriteCharInline(&ctx->writer, '%') < 0)
  ------------------
  |  Branch (981:13): [True: 0, False: 0]
  ------------------
  982|      0|            return -1;
  983|      0|        return 0;
  984|      0|    }
  985|  1.34M|    arg.flags = 0;
  986|  1.34M|    arg.width = -1;
  987|  1.34M|    arg.prec = -1;
  988|  1.34M|    arg.sign = 0;
  989|  1.34M|    arg.fmtstart = ctx->fmtpos - 1;
  990|  1.34M|    arg.key = NULL;
  991|  1.34M|    str = NULL;
  992|       |
  993|  1.34M|    ret = unicode_format_arg_parse(ctx, &arg);
  994|  1.34M|    if (ret == -1) {
  ------------------
  |  Branch (994:9): [True: 0, False: 1.34M]
  ------------------
  995|      0|        goto onError;
  996|      0|    }
  997|       |
  998|  1.34M|    ret = unicode_format_arg_format(ctx, &arg, &str);
  999|  1.34M|    if (ret == -1) {
  ------------------
  |  Branch (999:9): [True: 0, False: 1.34M]
  ------------------
 1000|      0|        goto onError;
 1001|      0|    }
 1002|       |
 1003|  1.34M|    if (ret != 1) {
  ------------------
  |  Branch (1003:9): [True: 265k, False: 1.08M]
  ------------------
 1004|   265k|        ret = unicode_format_arg_output(ctx, &arg, str);
 1005|   265k|        Py_DECREF(str);
  ------------------
  |  |  430|   265k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   265k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   265k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1006|   265k|        if (ret == -1) {
  ------------------
  |  Branch (1006:13): [True: 0, False: 265k]
  ------------------
 1007|      0|            goto onError;
 1008|      0|        }
 1009|   265k|    }
 1010|       |
 1011|  1.34M|    if (ctx->dict && (ctx->argidx < ctx->arglen)) {
  ------------------
  |  Branch (1011:9): [True: 0, False: 1.34M]
  |  Branch (1011:22): [True: 0, False: 0]
  ------------------
 1012|       |        // XXX: Never happens?
 1013|      0|        PyErr_SetString(PyExc_TypeError,
 1014|      0|                        "not all arguments converted during string formatting");
 1015|      0|        goto onError;
 1016|      0|    }
 1017|  1.34M|    Py_XDECREF(arg.key);
  ------------------
  |  |  524|  1.34M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.34M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.34M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1018|  1.34M|    return 0;
 1019|       |
 1020|      0|  onError:
 1021|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1022|      0|    return -1;
 1023|  1.34M|}
unicode_format.c:unicode_format_arg_parse:
  466|  1.34M|{
  467|  1.34M|#define FORMAT_READ(ctx) \
  468|  1.34M|        PyUnicode_READ((ctx)->fmtkind, (ctx)->fmtdata, (ctx)->fmtpos)
  469|       |
  470|  1.34M|    PyObject *v;
  471|       |
  472|  1.34M|    if (arg->ch == '(') {
  ------------------
  |  Branch (472:9): [True: 0, False: 1.34M]
  ------------------
  473|       |        /* Get argument value from a dictionary. Example: "%(name)s". */
  474|      0|        Py_ssize_t keystart;
  475|      0|        Py_ssize_t keylen;
  476|      0|        int pcount = 1;
  477|       |
  478|      0|        if (ctx->dict == NULL) {
  ------------------
  |  Branch (478:13): [True: 0, False: 0]
  ------------------
  479|      0|            PyErr_Format(PyExc_TypeError,
  480|      0|                         "format requires a mapping, not %T",
  481|      0|                         ctx->args);
  482|      0|            return -1;
  483|      0|        }
  484|      0|        ++ctx->fmtpos;
  485|      0|        --ctx->fmtcnt;
  486|      0|        keystart = ctx->fmtpos;
  487|       |        /* Skip over balanced parentheses */
  488|      0|        while (pcount > 0 && --ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (488:16): [True: 0, False: 0]
  |  Branch (488:30): [True: 0, False: 0]
  ------------------
  489|      0|            arg->ch = FORMAT_READ(ctx);
  ------------------
  |  |  468|      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))
  |  |  ------------------
  ------------------
  490|      0|            if (arg->ch == ')')
  ------------------
  |  Branch (490:17): [True: 0, False: 0]
  ------------------
  491|      0|                --pcount;
  492|      0|            else if (arg->ch == '(')
  ------------------
  |  Branch (492:22): [True: 0, False: 0]
  ------------------
  493|      0|                ++pcount;
  494|      0|            ctx->fmtpos++;
  495|      0|        }
  496|      0|        keylen = ctx->fmtpos - keystart - 1;
  497|      0|        if (ctx->fmtcnt < 0 || pcount > 0) {
  ------------------
  |  Branch (497:13): [True: 0, False: 0]
  |  Branch (497:32): [True: 0, False: 0]
  ------------------
  498|      0|            PyErr_Format(PyExc_ValueError,
  499|      0|                         "stray %% or incomplete format key at position %zd",
  500|      0|                         arg->fmtstart);
  501|      0|            return -1;
  502|      0|        }
  503|      0|        arg->key = PyUnicode_Substring(ctx->fmtstr,
  504|      0|                                       keystart, keystart + keylen);
  505|      0|        if (arg->key == NULL)
  ------------------
  |  Branch (505:13): [True: 0, False: 0]
  ------------------
  506|      0|            return -1;
  507|      0|        if (ctx->args_owned) {
  ------------------
  |  Branch (507:13): [True: 0, False: 0]
  ------------------
  508|      0|            ctx->args_owned = 0;
  509|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  510|      0|        }
  511|      0|        ctx->args = PyObject_GetItem(ctx->dict, arg->key);
  512|      0|        if (ctx->args == NULL)
  ------------------
  |  Branch (512:13): [True: 0, False: 0]
  ------------------
  513|      0|            return -1;
  514|      0|        ctx->args_owned = 1;
  515|      0|        ctx->arglen = -3;
  516|      0|        ctx->argidx = -4;
  517|      0|    }
  518|  1.34M|    else {
  519|  1.34M|        if (ctx->arglen < -1) {
  ------------------
  |  Branch (519:13): [True: 0, False: 1.34M]
  ------------------
  520|      0|            PyErr_Format(PyExc_ValueError,
  521|      0|                         "format requires a parenthesised mapping key "
  522|      0|                         "at position %zd",
  523|      0|                         arg->fmtstart);
  524|      0|            return -1;
  525|      0|        }
  526|  1.34M|    }
  527|       |
  528|       |    /* Parse flags. Example: "%+i" => flags=F_SIGN. */
  529|  1.34M|    while (--ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (529:12): [True: 1.34M, False: 0]
  ------------------
  530|  1.34M|        arg->ch = FORMAT_READ(ctx);
  ------------------
  |  |  468|  1.34M|        PyUnicode_READ((ctx)->fmtkind, (ctx)->fmtdata, (ctx)->fmtpos)
  |  |  ------------------
  |  |  |  |  354|  1.34M|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  1.34M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|  1.34M|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  1.34M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|  1.34M|                   (index))
  |  |  ------------------
  ------------------
  531|  1.34M|        ctx->fmtpos++;
  532|  1.34M|        switch (arg->ch) {
  ------------------
  |  Branch (532:17): [True: 0, False: 1.34M]
  ------------------
  533|      0|        case '-': arg->flags |= F_LJUST; continue;
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (533:9): [True: 0, False: 1.34M]
  ------------------
  534|      0|        case '+': arg->flags |= F_SIGN; continue;
  ------------------
  |  |   19|      0|#define F_SIGN  (1<<1)
  ------------------
  |  Branch (534:9): [True: 0, False: 1.34M]
  ------------------
  535|      0|        case ' ': arg->flags |= F_BLANK; continue;
  ------------------
  |  |   20|      0|#define F_BLANK (1<<2)
  ------------------
  |  Branch (535:9): [True: 0, False: 1.34M]
  ------------------
  536|      0|        case '#': arg->flags |= F_ALT; continue;
  ------------------
  |  |   21|      0|#define F_ALT   (1<<3)
  ------------------
  |  Branch (536:9): [True: 0, False: 1.34M]
  ------------------
  537|      0|        case '0': arg->flags |= F_ZERO; continue;
  ------------------
  |  |   22|      0|#define F_ZERO  (1<<4)
  ------------------
  |  Branch (537:9): [True: 0, False: 1.34M]
  ------------------
  538|  1.34M|        }
  539|  1.34M|        break;
  540|  1.34M|    }
  541|       |
  542|       |    /* Parse width. Example: "%10s" => width=10 */
  543|  1.34M|    if (arg->ch == '*') {
  ------------------
  |  Branch (543:9): [True: 0, False: 1.34M]
  ------------------
  544|      0|        if (ctx->arglen < -1) {
  ------------------
  |  Branch (544:13): [True: 0, False: 0]
  ------------------
  545|      0|            PyErr_Format(PyExc_ValueError,
  546|      0|                    "* cannot be used with a parenthesised mapping key "
  547|      0|                    "at position %zd",
  548|      0|                    arg->fmtstart);
  549|      0|            return -1;
  550|      0|        }
  551|      0|        v = unicode_format_getnextarg(ctx, 0);
  552|      0|        if (v == NULL)
  ------------------
  |  Branch (552:13): [True: 0, False: 0]
  ------------------
  553|      0|            return -1;
  554|      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 (554:13): [True: 0, False: 0]
  ------------------
  555|      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]
  |  |  ------------------
  ------------------
  556|      0|            return -1;
  557|      0|        }
  558|      0|        arg->width = PyLong_AsSsize_t(v);
  559|      0|        if (arg->width == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (559:13): [True: 0, False: 0]
  |  Branch (559:33): [True: 0, False: 0]
  ------------------
  560|      0|            if (PyErr_ExceptionMatches(PyExc_OverflowError)) {
  ------------------
  |  Branch (560:17): [True: 0, False: 0]
  ------------------
  561|      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]
  |  |  ------------------
  ------------------
  562|      0|                             "too big for width%s", "");
  563|      0|            }
  564|      0|            return -1;
  565|      0|        }
  566|      0|        if (arg->width < 0) {
  ------------------
  |  Branch (566:13): [True: 0, False: 0]
  ------------------
  567|      0|            arg->flags |= F_LJUST;
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  568|      0|            arg->width = -arg->width;
  569|      0|        }
  570|      0|        if (--ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (570:13): [True: 0, False: 0]
  ------------------
  571|      0|            arg->ch = FORMAT_READ(ctx);
  ------------------
  |  |  468|      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))
  |  |  ------------------
  ------------------
  572|      0|            ctx->fmtpos++;
  573|      0|        }
  574|      0|    }
  575|  1.34M|    else if (arg->ch >= '0' && arg->ch <= '9') {
  ------------------
  |  Branch (575:14): [True: 1.34M, False: 0]
  |  Branch (575:32): [True: 0, False: 1.34M]
  ------------------
  576|      0|        arg->width = arg->ch - '0';
  577|      0|        while (--ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (577:16): [True: 0, False: 0]
  ------------------
  578|      0|            arg->ch = FORMAT_READ(ctx);
  ------------------
  |  |  468|      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))
  |  |  ------------------
  ------------------
  579|      0|            ctx->fmtpos++;
  580|      0|            if (arg->ch < '0' || arg->ch > '9')
  ------------------
  |  Branch (580:17): [True: 0, False: 0]
  |  Branch (580:34): [True: 0, False: 0]
  ------------------
  581|      0|                break;
  582|       |            /* Since arg->ch is unsigned, the RHS would end up as unsigned,
  583|       |               mixing signed and unsigned comparison. Since arg->ch is between
  584|       |               '0' and '9', casting to int is safe. */
  585|      0|            if (arg->width > (PY_SSIZE_T_MAX - ((int)arg->ch - '0')) / 10) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (585:17): [True: 0, False: 0]
  ------------------
  586|      0|                PyErr_Format(PyExc_ValueError,
  587|      0|                             "width too big at position %zd",
  588|      0|                             arg->fmtstart);
  589|      0|                return -1;
  590|      0|            }
  591|      0|            arg->width = arg->width*10 + (arg->ch - '0');
  592|      0|        }
  593|      0|    }
  594|       |
  595|       |    /* Parse precision. Example: "%.3f" => prec=3 */
  596|  1.34M|    if (arg->ch == '.') {
  ------------------
  |  Branch (596:9): [True: 0, False: 1.34M]
  ------------------
  597|      0|        arg->prec = 0;
  598|      0|        if (--ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (598:13): [True: 0, False: 0]
  ------------------
  599|      0|            arg->ch = FORMAT_READ(ctx);
  ------------------
  |  |  468|      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))
  |  |  ------------------
  ------------------
  600|      0|            ctx->fmtpos++;
  601|      0|        }
  602|      0|        if (arg->ch == '*') {
  ------------------
  |  Branch (602:13): [True: 0, False: 0]
  ------------------
  603|      0|            if (ctx->arglen < -1) {
  ------------------
  |  Branch (603:17): [True: 0, False: 0]
  ------------------
  604|      0|                PyErr_Format(PyExc_ValueError,
  605|      0|                        "* cannot be used with a parenthesised mapping key "
  606|      0|                        "at position %zd",
  607|      0|                        arg->fmtstart);
  608|      0|                return -1;
  609|      0|            }
  610|      0|            v = unicode_format_getnextarg(ctx, 0);
  611|      0|            if (v == NULL)
  ------------------
  |  Branch (611:17): [True: 0, False: 0]
  ------------------
  612|      0|                return -1;
  613|      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 (613:17): [True: 0, False: 0]
  ------------------
  614|      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]
  |  |  ------------------
  ------------------
  615|      0|                return -1;
  616|      0|            }
  617|      0|            arg->prec = PyLong_AsInt(v);
  618|      0|            if (arg->prec == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (618:17): [True: 0, False: 0]
  |  Branch (618:36): [True: 0, False: 0]
  ------------------
  619|      0|                if (PyErr_ExceptionMatches(PyExc_OverflowError)) {
  ------------------
  |  Branch (619:21): [True: 0, False: 0]
  ------------------
  620|      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]
  |  |  ------------------
  ------------------
  621|      0|                                 "too big for precision%s", "");
  622|      0|                }
  623|      0|                return -1;
  624|      0|            }
  625|      0|            if (arg->prec < 0)
  ------------------
  |  Branch (625:17): [True: 0, False: 0]
  ------------------
  626|      0|                arg->prec = 0;
  627|      0|            if (--ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (627:17): [True: 0, False: 0]
  ------------------
  628|      0|                arg->ch = FORMAT_READ(ctx);
  ------------------
  |  |  468|      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))
  |  |  ------------------
  ------------------
  629|      0|                ctx->fmtpos++;
  630|      0|            }
  631|      0|        }
  632|      0|        else if (arg->ch >= '0' && arg->ch <= '9') {
  ------------------
  |  Branch (632:18): [True: 0, False: 0]
  |  Branch (632:36): [True: 0, False: 0]
  ------------------
  633|      0|            arg->prec = arg->ch - '0';
  634|      0|            while (--ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (634:20): [True: 0, False: 0]
  ------------------
  635|      0|                arg->ch = FORMAT_READ(ctx);
  ------------------
  |  |  468|      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))
  |  |  ------------------
  ------------------
  636|      0|                ctx->fmtpos++;
  637|      0|                if (arg->ch < '0' || arg->ch > '9')
  ------------------
  |  Branch (637:21): [True: 0, False: 0]
  |  Branch (637:38): [True: 0, False: 0]
  ------------------
  638|      0|                    break;
  639|      0|                if (arg->prec > (INT_MAX - ((int)arg->ch - '0')) / 10) {
  ------------------
  |  Branch (639:21): [True: 0, False: 0]
  ------------------
  640|      0|                    PyErr_Format(PyExc_ValueError,
  641|      0|                                 "precision too big at position %zd",
  642|      0|                                 arg->fmtstart);
  643|      0|                    return -1;
  644|      0|                }
  645|      0|                arg->prec = arg->prec*10 + (arg->ch - '0');
  646|      0|            }
  647|      0|        }
  648|      0|    }
  649|       |
  650|       |    /* Ignore "h", "l" and "L" format prefix (ex: "%hi" or "%ls") */
  651|  1.34M|    if (ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (651:9): [True: 1.34M, False: 0]
  ------------------
  652|  1.34M|        if (arg->ch == 'h' || arg->ch == 'l' || arg->ch == 'L') {
  ------------------
  |  Branch (652:13): [True: 0, False: 1.34M]
  |  Branch (652:31): [True: 0, False: 1.34M]
  |  Branch (652:49): [True: 0, False: 1.34M]
  ------------------
  653|      0|            if (--ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (653:17): [True: 0, False: 0]
  ------------------
  654|      0|                arg->ch = FORMAT_READ(ctx);
  ------------------
  |  |  468|      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))
  |  |  ------------------
  ------------------
  655|      0|                ctx->fmtpos++;
  656|      0|            }
  657|      0|        }
  658|  1.34M|    }
  659|  1.34M|    if (ctx->fmtcnt < 0) {
  ------------------
  |  Branch (659:9): [True: 0, False: 1.34M]
  ------------------
  660|      0|        PyErr_Format(PyExc_ValueError,
  661|      0|                     "stray %% at position %zd", arg->fmtstart);
  662|      0|        return -1;
  663|      0|    }
  664|  1.34M|    return 0;
  665|       |
  666|  1.34M|#undef FORMAT_READ
  667|  1.34M|}
unicode_format.c:unicode_format_getnextarg:
   98|  1.34M|{
   99|  1.34M|    Py_ssize_t argidx = ctx->argidx;
  100|       |
  101|  1.34M|    if (argidx < ctx->arglen && (allowone || ctx->arglen >= 0)) {
  ------------------
  |  Branch (101:9): [True: 1.34M, False: 0]
  |  Branch (101:34): [True: 1.34M, False: 0]
  |  Branch (101:46): [True: 0, False: 0]
  ------------------
  102|  1.34M|        ctx->argidx++;
  103|  1.34M|        if (ctx->arglen >= 0) {
  ------------------
  |  Branch (103:13): [True: 5.00k, False: 1.34M]
  ------------------
  104|  5.00k|            return PyTuple_GetItem(ctx->args, argidx);
  105|  5.00k|        }
  106|  1.34M|        else if (allowone) {
  ------------------
  |  Branch (106:18): [True: 1.34M, False: 0]
  ------------------
  107|  1.34M|            return ctx->args;
  108|  1.34M|        }
  109|  1.34M|    }
  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|  1.34M|}
unicode_format.c:unicode_format_arg_format:
  688|  1.34M|{
  689|  1.34M|    PyObject *v;
  690|  1.34M|    _PyUnicodeWriter *writer = &ctx->writer;
  691|       |
  692|  1.34M|    if (ctx->fmtcnt == 0)
  ------------------
  |  Branch (692:9): [True: 1.08M, False: 265k]
  ------------------
  693|  1.08M|        ctx->writer.overallocate = 0;
  694|       |
  695|  1.34M|    v = unicode_format_getnextarg(ctx, 1);
  696|  1.34M|    if (v == NULL)
  ------------------
  |  Branch (696:9): [True: 0, False: 1.34M]
  ------------------
  697|      0|        return -1;
  698|       |
  699|       |
  700|  1.34M|    switch (arg->ch) {
  701|   264k|    case 's':
  ------------------
  |  Branch (701:5): [True: 264k, False: 1.08M]
  ------------------
  702|   264k|    case 'r':
  ------------------
  |  Branch (702:5): [True: 138, False: 1.34M]
  ------------------
  703|   265k|    case 'a':
  ------------------
  |  Branch (703:5): [True: 271, False: 1.34M]
  ------------------
  704|   265k|        if (PyLong_CheckExact(v) && arg->width == -1 && arg->prec == -1) {
  ------------------
  |  |   14|   265k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|   530k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   265k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   265k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 265k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (704:37): [True: 0, False: 0]
  |  Branch (704:57): [True: 0, False: 0]
  ------------------
  705|       |            /* Fast path */
  706|      0|            if (_PyLong_FormatWriter(writer, v, 10, arg->flags & F_ALT) == -1)
  ------------------
  |  |   21|      0|#define F_ALT   (1<<3)
  ------------------
  |  Branch (706:17): [True: 0, False: 0]
  ------------------
  707|      0|                return -1;
  708|      0|            return 1;
  709|      0|        }
  710|       |
  711|   265k|        if (PyUnicode_CheckExact(v) && arg->ch == 's') {
  ------------------
  |  |  104|   265k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   530k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   265k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   265k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 265k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (711:40): [True: 264k, False: 409]
  ------------------
  712|   264k|            *p_str = Py_NewRef(v);
  ------------------
  |  |  550|   264k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   264k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   264k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  713|   264k|        }
  714|    409|        else {
  715|    409|            if (arg->ch == 's')
  ------------------
  |  Branch (715:17): [True: 0, False: 409]
  ------------------
  716|      0|                *p_str = PyObject_Str(v);
  717|    409|            else if (arg->ch == 'r')
  ------------------
  |  Branch (717:22): [True: 138, False: 271]
  ------------------
  718|    138|                *p_str = PyObject_Repr(v);
  719|    271|            else
  720|    271|                *p_str = PyObject_ASCII(v);
  721|    409|        }
  722|   265k|        break;
  723|       |
  724|      0|    case 'i':
  ------------------
  |  Branch (724:5): [True: 0, False: 1.34M]
  ------------------
  725|  1.08M|    case 'd':
  ------------------
  |  Branch (725:5): [True: 1.08M, False: 265k]
  ------------------
  726|  1.08M|    case 'u':
  ------------------
  |  Branch (726:5): [True: 0, False: 1.34M]
  ------------------
  727|  1.08M|    case 'o':
  ------------------
  |  Branch (727:5): [True: 0, False: 1.34M]
  ------------------
  728|  1.08M|    case 'x':
  ------------------
  |  Branch (728:5): [True: 0, False: 1.34M]
  ------------------
  729|  1.08M|    case 'X':
  ------------------
  |  Branch (729:5): [True: 0, False: 1.34M]
  ------------------
  730|  1.08M|    {
  731|  1.08M|        int ret = mainformatlong(v, ctx, arg, p_str, writer);
  732|  1.08M|        if (ret != 0)
  ------------------
  |  Branch (732:13): [True: 1.08M, False: 0]
  ------------------
  733|  1.08M|            return ret;
  734|      0|        arg->sign = 1;
  735|      0|        break;
  736|  1.08M|    }
  737|       |
  738|      0|    case 'e':
  ------------------
  |  Branch (738:5): [True: 0, False: 1.34M]
  ------------------
  739|      0|    case 'E':
  ------------------
  |  Branch (739:5): [True: 0, False: 1.34M]
  ------------------
  740|      0|    case 'f':
  ------------------
  |  Branch (740:5): [True: 0, False: 1.34M]
  ------------------
  741|      0|    case 'F':
  ------------------
  |  Branch (741:5): [True: 0, False: 1.34M]
  ------------------
  742|      0|    case 'g':
  ------------------
  |  Branch (742:5): [True: 0, False: 1.34M]
  ------------------
  743|      0|    case 'G':
  ------------------
  |  Branch (743:5): [True: 0, False: 1.34M]
  ------------------
  744|      0|        if (arg->width == -1 && arg->prec == -1
  ------------------
  |  Branch (744:13): [True: 0, False: 0]
  |  Branch (744:33): [True: 0, False: 0]
  ------------------
  745|      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 (745:16): [True: 0, False: 0]
  ------------------
  746|      0|        {
  747|       |            /* Fast path */
  748|      0|            if (formatfloat(v, ctx, arg, NULL, writer) == -1)
  ------------------
  |  Branch (748:17): [True: 0, False: 0]
  ------------------
  749|      0|                return -1;
  750|      0|            return 1;
  751|      0|        }
  752|       |
  753|      0|        arg->sign = 1;
  754|      0|        if (formatfloat(v, ctx, arg, p_str, NULL) == -1)
  ------------------
  |  Branch (754:13): [True: 0, False: 0]
  ------------------
  755|      0|            return -1;
  756|      0|        break;
  757|       |
  758|      0|    case 'c':
  ------------------
  |  Branch (758:5): [True: 0, False: 1.34M]
  ------------------
  759|      0|    {
  760|      0|        Py_UCS4 ch = formatchar(v, ctx, arg);
  761|      0|        if (ch == (Py_UCS4) -1)
  ------------------
  |  Branch (761:13): [True: 0, False: 0]
  ------------------
  762|      0|            return -1;
  763|      0|        if (arg->width == -1 && arg->prec == -1) {
  ------------------
  |  Branch (763:13): [True: 0, False: 0]
  |  Branch (763:33): [True: 0, False: 0]
  ------------------
  764|       |            /* Fast path */
  765|      0|            if (_PyUnicodeWriter_WriteCharInline(writer, ch) < 0)
  ------------------
  |  Branch (765:17): [True: 0, False: 0]
  ------------------
  766|      0|                return -1;
  767|      0|            return 1;
  768|      0|        }
  769|      0|        *p_str = PyUnicode_FromOrdinal(ch);
  770|      0|        break;
  771|      0|    }
  772|       |
  773|      0|    default:
  ------------------
  |  Branch (773:5): [True: 0, False: 1.34M]
  ------------------
  774|      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 (774:13): [True: 0, False: 0]
  ------------------
  775|      0|            PyErr_Format(PyExc_ValueError,
  776|      0|                         "unsupported format %%%c at position %zd",
  777|      0|                         (int)arg->ch, arg->fmtstart);
  778|      0|        }
  779|      0|        else if (arg->ch == '\'') {
  ------------------
  |  Branch (779:18): [True: 0, False: 0]
  ------------------
  780|      0|            PyErr_Format(PyExc_ValueError,
  781|      0|                         "stray %% at position %zd or unexpected "
  782|      0|                         "format character \"'\" at position %zd",
  783|      0|                         arg->fmtstart,
  784|      0|                         ctx->fmtpos - 1);
  785|      0|        }
  786|      0|        else if (arg->ch >= 32 && arg->ch < 127) {
  ------------------
  |  Branch (786:18): [True: 0, False: 0]
  |  Branch (786:35): [True: 0, False: 0]
  ------------------
  787|      0|            PyErr_Format(PyExc_ValueError,
  788|      0|                         "stray %% at position %zd or unexpected "
  789|      0|                         "format character '%c' at position %zd",
  790|      0|                         arg->fmtstart,
  791|      0|                         (int)arg->ch, ctx->fmtpos - 1);
  792|      0|        }
  793|      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]
  |  |  ------------------
  ------------------
  794|      0|            PyErr_Format(PyExc_ValueError,
  795|      0|                         "stray %% at position %zd or unexpected "
  796|      0|                         "format character '%c' (U+%04X) at position %zd",
  797|      0|                         arg->fmtstart,
  798|      0|                         (int)arg->ch, (int)arg->ch, ctx->fmtpos - 1);
  799|      0|        }
  800|      0|        else {
  801|      0|            PyErr_Format(PyExc_ValueError,
  802|      0|                         "stray %% at position %zd or unexpected "
  803|      0|                         "format character U+%04X at position %zd",
  804|      0|                         arg->fmtstart, (int)arg->ch, ctx->fmtpos - 1);
  805|      0|        }
  806|      0|        return -1;
  807|  1.34M|    }
  808|   265k|    if (*p_str == NULL)
  ------------------
  |  Branch (808:9): [True: 0, False: 265k]
  ------------------
  809|      0|        return -1;
  810|   265k|    assert (PyUnicode_Check(*p_str));
  ------------------
  |  Branch (810:5): [True: 265k, False: 0]
  ------------------
  811|   265k|    return 0;
  812|   265k|}
unicode_format.c:mainformatlong:
  328|  1.08M|{
  329|  1.08M|    PyObject *iobj, *res;
  330|  1.08M|    char type = (char)arg->ch;
  331|       |
  332|  1.08M|    if (!PyNumber_Check(v))
  ------------------
  |  Branch (332:9): [True: 0, False: 1.08M]
  ------------------
  333|      0|        goto wrongtype;
  334|       |
  335|       |    /* make sure number is a type of integer for o, x, and X */
  336|  1.08M|    if (!PyLong_Check(v)) {
  ------------------
  |  |   13|  1.08M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.08M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (336:9): [True: 0, False: 1.08M]
  ------------------
  337|      0|        if (type == 'o' || type == 'x' || type == 'X') {
  ------------------
  |  Branch (337:13): [True: 0, False: 0]
  |  Branch (337:28): [True: 0, False: 0]
  |  Branch (337:43): [True: 0, False: 0]
  ------------------
  338|      0|            iobj = _PyNumber_Index(v);
  339|      0|        }
  340|      0|        else {
  341|      0|            iobj = PyNumber_Long(v);
  342|      0|        }
  343|      0|        if (iobj == NULL ) {
  ------------------
  |  Branch (343:13): [True: 0, False: 0]
  ------------------
  344|      0|            if (PyErr_ExceptionMatches(PyExc_TypeError))
  ------------------
  |  Branch (344:17): [True: 0, False: 0]
  ------------------
  345|      0|                goto wrongtype;
  346|      0|            return -1;
  347|      0|        }
  348|      0|        assert(PyLong_Check(iobj));
  ------------------
  |  Branch (348:9): [True: 0, False: 0]
  ------------------
  349|      0|    }
  350|  1.08M|    else {
  351|  1.08M|        iobj = Py_NewRef(v);
  ------------------
  |  |  550|  1.08M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  352|  1.08M|    }
  353|       |
  354|  1.08M|    if (PyLong_CheckExact(v)
  ------------------
  |  |   14|  1.08M|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  2.16M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.08M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  355|  1.08M|        && arg->width == -1 && arg->prec == -1
  ------------------
  |  Branch (355:12): [True: 1.08M, False: 0]
  |  Branch (355:32): [True: 1.08M, False: 0]
  ------------------
  356|  1.08M|        && !(arg->flags & (F_SIGN | F_BLANK))
  ------------------
  |  |   19|  1.08M|#define F_SIGN  (1<<1)
  ------------------
                      && !(arg->flags & (F_SIGN | F_BLANK))
  ------------------
  |  |   20|  1.08M|#define F_BLANK (1<<2)
  ------------------
  |  Branch (356:12): [True: 1.08M, False: 0]
  ------------------
  357|  1.08M|        && type != 'X')
  ------------------
  |  Branch (357:12): [True: 1.08M, False: 0]
  ------------------
  358|  1.08M|    {
  359|       |        /* Fast path */
  360|  1.08M|        int alternate = arg->flags & F_ALT;
  ------------------
  |  |   21|  1.08M|#define F_ALT   (1<<3)
  ------------------
  361|  1.08M|        int base;
  362|       |
  363|  1.08M|        switch(type)
  364|  1.08M|        {
  365|      0|            default:
  ------------------
  |  Branch (365:13): [True: 0, False: 1.08M]
  ------------------
  366|      0|                Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  367|  1.08M|            case 'd':
  ------------------
  |  Branch (367:13): [True: 1.08M, False: 0]
  ------------------
  368|  1.08M|            case 'i':
  ------------------
  |  Branch (368:13): [True: 0, False: 1.08M]
  ------------------
  369|  1.08M|            case 'u':
  ------------------
  |  Branch (369:13): [True: 0, False: 1.08M]
  ------------------
  370|  1.08M|                base = 10;
  371|  1.08M|                break;
  372|      0|            case 'o':
  ------------------
  |  Branch (372:13): [True: 0, False: 1.08M]
  ------------------
  373|      0|                base = 8;
  374|      0|                break;
  375|      0|            case 'x':
  ------------------
  |  Branch (375:13): [True: 0, False: 1.08M]
  ------------------
  376|      0|            case 'X':
  ------------------
  |  Branch (376:13): [True: 0, False: 1.08M]
  ------------------
  377|      0|                base = 16;
  378|      0|                break;
  379|  1.08M|        }
  380|       |
  381|  1.08M|        if (_PyLong_FormatWriter(writer, v, base, alternate) == -1) {
  ------------------
  |  Branch (381:13): [True: 0, False: 1.08M]
  ------------------
  382|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  383|      0|            return -1;
  384|      0|        }
  385|  1.08M|        Py_DECREF(iobj);
  ------------------
  |  |  430|  1.08M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  386|  1.08M|        return 1;
  387|  1.08M|    }
  388|       |
  389|      0|    res = _PyUnicode_FormatLong(iobj, arg->flags & F_ALT, arg->prec, type);
  ------------------
  |  |   21|      0|#define F_ALT   (1<<3)
  ------------------
  390|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  391|      0|    if (res == NULL)
  ------------------
  |  Branch (391:9): [True: 0, False: 0]
  ------------------
  392|      0|        return -1;
  393|      0|    *p_output = res;
  394|      0|    return 0;
  395|       |
  396|      0|wrongtype:
  397|      0|    switch(type)
  398|      0|    {
  399|      0|        case 'o':
  ------------------
  |  Branch (399:9): [True: 0, False: 0]
  ------------------
  400|      0|        case 'x':
  ------------------
  |  Branch (400:9): [True: 0, False: 0]
  ------------------
  401|      0|        case 'X':
  ------------------
  |  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 an integer, not %T",
  404|      0|                         arg->ch, v);
  405|      0|            break;
  406|      0|        default:
  ------------------
  |  Branch (406:9): [True: 0, False: 0]
  ------------------
  407|      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]
  |  |  ------------------
  ------------------
  408|      0|                         "%%%c requires a real number, not %T",
  409|      0|                         arg->ch, v);
  410|      0|            break;
  411|      0|    }
  412|      0|    return -1;
  413|      0|}
unicode_format.c:unicode_format_arg_output:
  819|   265k|{
  820|   265k|    Py_ssize_t len;
  821|   265k|    int kind;
  822|   265k|    const void *pbuf;
  823|   265k|    Py_ssize_t pindex;
  824|   265k|    Py_UCS4 signchar;
  825|   265k|    Py_ssize_t buflen;
  826|   265k|    Py_UCS4 maxchar;
  827|   265k|    Py_ssize_t sublen;
  828|   265k|    _PyUnicodeWriter *writer = &ctx->writer;
  829|   265k|    Py_UCS4 fill;
  830|       |
  831|   265k|    fill = ' ';
  832|   265k|    if (arg->sign && arg->flags & F_ZERO)
  ------------------
  |  |   22|      0|#define F_ZERO  (1<<4)
  ------------------
  |  Branch (832:9): [True: 0, False: 265k]
  |  Branch (832:22): [True: 0, False: 0]
  ------------------
  833|      0|        fill = '0';
  834|       |
  835|   265k|    len = PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  299|   265k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   265k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   265k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  836|   265k|    if ((arg->width == -1 || arg->width <= len)
  ------------------
  |  Branch (836:10): [True: 265k, False: 0]
  |  Branch (836:30): [True: 0, False: 0]
  ------------------
  837|   265k|        && (arg->prec == -1 || arg->prec >= len)
  ------------------
  |  Branch (837:13): [True: 265k, False: 0]
  |  Branch (837:32): [True: 0, False: 0]
  ------------------
  838|   265k|        && !(arg->flags & (F_SIGN | F_BLANK)))
  ------------------
  |  |   19|   265k|#define F_SIGN  (1<<1)
  ------------------
                      && !(arg->flags & (F_SIGN | F_BLANK)))
  ------------------
  |  |   20|   265k|#define F_BLANK (1<<2)
  ------------------
  |  Branch (838:12): [True: 265k, False: 0]
  ------------------
  839|   265k|    {
  840|       |        /* Fast path */
  841|   265k|        if (_PyUnicodeWriter_WriteStr(writer, str) == -1)
  ------------------
  |  Branch (841:13): [True: 0, False: 265k]
  ------------------
  842|      0|            return -1;
  843|   265k|        return 0;
  844|   265k|    }
  845|       |
  846|       |    /* Truncate the string for "s", "r" and "a" formats
  847|       |       if the precision is set */
  848|      0|    if (arg->ch == 's' || arg->ch == 'r' || arg->ch == 'a') {
  ------------------
  |  Branch (848:9): [True: 0, False: 0]
  |  Branch (848:27): [True: 0, False: 0]
  |  Branch (848:45): [True: 0, False: 0]
  ------------------
  849|      0|        if (arg->prec >= 0 && len > arg->prec)
  ------------------
  |  Branch (849:13): [True: 0, False: 0]
  |  Branch (849:31): [True: 0, False: 0]
  ------------------
  850|      0|            len = arg->prec;
  851|      0|    }
  852|       |
  853|       |    /* Adjust sign and width */
  854|      0|    kind = 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))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  855|      0|    pbuf = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  856|      0|    pindex = 0;
  857|      0|    signchar = '\0';
  858|      0|    if (arg->sign) {
  ------------------
  |  Branch (858:9): [True: 0, False: 0]
  ------------------
  859|      0|        Py_UCS4 ch = PyUnicode_READ(kind, pbuf, pindex);
  ------------------
  |  |  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))
  ------------------
  860|      0|        if (ch == '-' || ch == '+') {
  ------------------
  |  Branch (860:13): [True: 0, False: 0]
  |  Branch (860:26): [True: 0, False: 0]
  ------------------
  861|      0|            signchar = ch;
  862|      0|            len--;
  863|      0|            pindex++;
  864|      0|        }
  865|      0|        else if (arg->flags & F_SIGN)
  ------------------
  |  |   19|      0|#define F_SIGN  (1<<1)
  ------------------
  |  Branch (865:18): [True: 0, False: 0]
  ------------------
  866|      0|            signchar = '+';
  867|      0|        else if (arg->flags & F_BLANK)
  ------------------
  |  |   20|      0|#define F_BLANK (1<<2)
  ------------------
  |  Branch (867:18): [True: 0, False: 0]
  ------------------
  868|      0|            signchar = ' ';
  869|      0|        else
  870|      0|            arg->sign = 0;
  871|      0|    }
  872|      0|    if (arg->width < len)
  ------------------
  |  Branch (872:9): [True: 0, False: 0]
  ------------------
  873|      0|        arg->width = len;
  874|       |
  875|       |    /* Prepare the writer */
  876|      0|    maxchar = writer->maxchar;
  877|      0|    if (!(arg->flags & F_LJUST)) {
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (877:9): [True: 0, False: 0]
  ------------------
  878|      0|        if (arg->sign) {
  ------------------
  |  Branch (878:13): [True: 0, False: 0]
  ------------------
  879|      0|            if ((arg->width-1) > len)
  ------------------
  |  Branch (879:17): [True: 0, False: 0]
  ------------------
  880|      0|                maxchar = Py_MAX(maxchar, fill);
  ------------------
  |  |  115|      0|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  881|      0|        }
  882|      0|        else {
  883|      0|            if (arg->width > len)
  ------------------
  |  Branch (883:17): [True: 0, False: 0]
  ------------------
  884|      0|                maxchar = Py_MAX(maxchar, fill);
  ------------------
  |  |  115|      0|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  885|      0|        }
  886|      0|    }
  887|      0|    if (PyUnicode_MAX_CHAR_VALUE(str) > 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 (887:9): [True: 0, False: 0]
  ------------------
  888|      0|        Py_UCS4 strmaxchar = _PyUnicode_FindMaxChar(str, 0, pindex+len);
  889|      0|        maxchar = Py_MAX(maxchar, strmaxchar);
  ------------------
  |  |  115|      0|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  890|      0|    }
  891|       |
  892|      0|    buflen = arg->width;
  893|      0|    if (arg->sign && len == arg->width)
  ------------------
  |  Branch (893:9): [True: 0, False: 0]
  |  Branch (893:22): [True: 0, False: 0]
  ------------------
  894|      0|        buflen++;
  895|      0|    if (_PyUnicodeWriter_Prepare(writer, buflen, 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 (895:9): [True: 0, False: 0]
  ------------------
  896|      0|        return -1;
  897|       |
  898|       |    /* Write the sign if needed */
  899|      0|    if (arg->sign) {
  ------------------
  |  Branch (899:9): [True: 0, False: 0]
  ------------------
  900|      0|        if (fill != ' ') {
  ------------------
  |  Branch (900:13): [True: 0, False: 0]
  ------------------
  901|      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))
  |  |  ------------------
  ------------------
  902|      0|            writer->pos += 1;
  903|      0|        }
  904|      0|        if (arg->width > len)
  ------------------
  |  Branch (904:13): [True: 0, False: 0]
  ------------------
  905|      0|            arg->width--;
  906|      0|    }
  907|       |
  908|       |    /* Write the numeric prefix for "x", "X" and "o" formats
  909|       |       if the alternate form is used.
  910|       |       For example, write "0x" for the "%#x" format. */
  911|      0|    if ((arg->flags & F_ALT) && (arg->ch == 'x' || arg->ch == 'X' || arg->ch == 'o')) {
  ------------------
  |  |   21|      0|#define F_ALT   (1<<3)
  ------------------
  |  Branch (911:9): [True: 0, False: 0]
  |  Branch (911:34): [True: 0, False: 0]
  |  Branch (911:52): [True: 0, False: 0]
  |  Branch (911:70): [True: 0, False: 0]
  ------------------
  912|      0|        assert(PyUnicode_READ(kind, pbuf, pindex) == '0');
  ------------------
  |  Branch (912:9): [True: 0, False: 0]
  ------------------
  913|      0|        assert(PyUnicode_READ(kind, pbuf, pindex + 1) == arg->ch);
  ------------------
  |  Branch (913:9): [True: 0, False: 0]
  ------------------
  914|      0|        if (fill != ' ') {
  ------------------
  |  Branch (914:13): [True: 0, False: 0]
  ------------------
  915|      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))
  |  |  ------------------
  ------------------
  916|      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))
  |  |  ------------------
  ------------------
  917|      0|            writer->pos += 2;
  918|      0|            pindex += 2;
  919|      0|        }
  920|      0|        arg->width -= 2;
  921|      0|        if (arg->width < 0)
  ------------------
  |  Branch (921:13): [True: 0, False: 0]
  ------------------
  922|      0|            arg->width = 0;
  923|      0|        len -= 2;
  924|      0|    }
  925|       |
  926|       |    /* Pad left with the fill character if needed */
  927|      0|    if (arg->width > len && !(arg->flags & F_LJUST)) {
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (927:9): [True: 0, False: 0]
  |  Branch (927:29): [True: 0, False: 0]
  ------------------
  928|      0|        sublen = arg->width - len;
  929|      0|        _PyUnicode_Fill(writer->kind, writer->data, fill, writer->pos, sublen);
  930|      0|        writer->pos += sublen;
  931|      0|        arg->width = len;
  932|      0|    }
  933|       |
  934|       |    /* If padding with spaces: write sign if needed and/or numeric prefix if
  935|       |       the alternate form is used */
  936|      0|    if (fill == ' ') {
  ------------------
  |  Branch (936:9): [True: 0, False: 0]
  ------------------
  937|      0|        if (arg->sign) {
  ------------------
  |  Branch (937:13): [True: 0, False: 0]
  ------------------
  938|      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))
  |  |  ------------------
  ------------------
  939|      0|            writer->pos += 1;
  940|      0|        }
  941|      0|        if ((arg->flags & F_ALT) && (arg->ch == 'x' || arg->ch == 'X' || arg->ch == 'o')) {
  ------------------
  |  |   21|      0|#define F_ALT   (1<<3)
  ------------------
  |  Branch (941:13): [True: 0, False: 0]
  |  Branch (941:38): [True: 0, False: 0]
  |  Branch (941:56): [True: 0, False: 0]
  |  Branch (941:74): [True: 0, False: 0]
  ------------------
  942|      0|            assert(PyUnicode_READ(kind, pbuf, pindex) == '0');
  ------------------
  |  Branch (942:13): [True: 0, False: 0]
  ------------------
  943|      0|            assert(PyUnicode_READ(kind, pbuf, pindex+1) == arg->ch);
  ------------------
  |  Branch (943:13): [True: 0, False: 0]
  ------------------
  944|      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))
  |  |  ------------------
  ------------------
  945|      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))
  |  |  ------------------
  ------------------
  946|      0|            writer->pos += 2;
  947|      0|            pindex += 2;
  948|      0|        }
  949|      0|    }
  950|       |
  951|       |    /* Write characters */
  952|      0|    if (len) {
  ------------------
  |  Branch (952:9): [True: 0, False: 0]
  ------------------
  953|      0|        _PyUnicode_FastCopyCharacters(writer->buffer, writer->pos,
  954|      0|                                      str, pindex, len);
  955|      0|        writer->pos += len;
  956|      0|    }
  957|       |
  958|       |    /* Pad right with the fill character if needed */
  959|      0|    if (arg->width > len) {
  ------------------
  |  Branch (959:9): [True: 0, False: 0]
  ------------------
  960|      0|        sublen = arg->width - len;
  961|      0|        _PyUnicode_Fill(writer->kind, writer->data, ' ', writer->pos, sublen);
  962|      0|        writer->pos += sublen;
  963|      0|    }
  964|      0|    return 0;
  965|      0|}

_PyUnicodeWriter_Init:
  144|  1.36M|{
  145|  1.36M|    memset(writer, 0, sizeof(*writer));
  146|       |
  147|       |    /* ASCII is the bare minimum */
  148|  1.36M|    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.36M|    assert(writer->kind == 0);
  ------------------
  |  Branch (152:5): [True: 1.36M, False: 0]
  ------------------
  153|  1.36M|    assert(writer->kind < PyUnicode_1BYTE_KIND);
  ------------------
  |  Branch (153:5): [True: 1.36M, False: 0]
  ------------------
  154|  1.36M|}
_PyUnicodeWriter_InitWithBuffer:
  201|      4|{
  202|      4|    memset(writer, 0, sizeof(*writer));
  203|      4|    writer->buffer = buffer;
  204|      4|    _PyUnicodeWriter_Update(writer);
  205|      4|    writer->min_length = writer->size;
  206|      4|}
_PyUnicodeWriter_PrepareInternal:
  212|  1.34M|{
  213|  1.34M|    Py_ssize_t newlen;
  214|  1.34M|    PyObject *newbuffer;
  215|       |
  216|  1.34M|    assert(length >= 0);
  ------------------
  |  Branch (216:5): [True: 1.34M, False: 0]
  ------------------
  217|  1.34M|    assert(maxchar <= _Py_MAX_UNICODE);
  ------------------
  |  Branch (217:5): [True: 1.34M, False: 0]
  ------------------
  218|       |
  219|       |    /* ensure that the _PyUnicodeWriter_Prepare macro was used */
  220|  1.34M|    assert((maxchar > writer->maxchar && length >= 0)
  ------------------
  |  Branch (220:5): [True: 1.34M, False: 395]
  |  Branch (220:5): [True: 1.34M, False: 0]
  |  Branch (220:5): [True: 395, False: 0]
  ------------------
  221|  1.34M|           || length > 0);
  222|       |
  223|  1.34M|    if (length > PY_SSIZE_T_MAX - writer->pos) {
  ------------------
  |  |  137|  1.34M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (223:9): [True: 0, False: 1.34M]
  ------------------
  224|      0|        PyErr_NoMemory();
  225|      0|        return -1;
  226|      0|    }
  227|  1.34M|    newlen = writer->pos + length;
  228|       |
  229|  1.34M|    maxchar = Py_MAX(maxchar, writer->min_char);
  ------------------
  |  |  115|  1.34M|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 6, False: 1.34M]
  |  |  ------------------
  ------------------
  230|       |
  231|  1.34M|    if (writer->buffer == NULL) {
  ------------------
  |  Branch (231:9): [True: 1.34M, False: 401]
  ------------------
  232|  1.34M|        assert(!writer->readonly);
  ------------------
  |  Branch (232:9): [True: 1.34M, False: 0]
  ------------------
  233|  1.34M|        if (writer->overallocate
  ------------------
  |  Branch (233:13): [True: 1.34M, False: 48]
  ------------------
  234|  1.34M|            && newlen <= (PY_SSIZE_T_MAX - newlen / OVERALLOCATE_FACTOR)) {
  ------------------
  |  |  137|  1.34M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                          && newlen <= (PY_SSIZE_T_MAX - newlen / OVERALLOCATE_FACTOR)) {
  ------------------
  |  |   52|  1.34M|#  define OVERALLOCATE_FACTOR 4
  ------------------
  |  Branch (234:16): [True: 1.34M, False: 0]
  ------------------
  235|       |            /* overallocate to limit the number of realloc() */
  236|  1.34M|            newlen += newlen / OVERALLOCATE_FACTOR;
  ------------------
  |  |   52|  1.34M|#  define OVERALLOCATE_FACTOR 4
  ------------------
  237|  1.34M|        }
  238|  1.34M|        if (newlen < writer->min_length)
  ------------------
  |  Branch (238:13): [True: 1.34M, False: 486]
  ------------------
  239|  1.34M|            newlen = writer->min_length;
  240|       |
  241|  1.34M|        writer->buffer = PyUnicode_New(newlen, maxchar);
  242|  1.34M|        if (writer->buffer == NULL)
  ------------------
  |  Branch (242:13): [True: 0, False: 1.34M]
  ------------------
  243|      0|            return -1;
  244|  1.34M|    }
  245|    401|    else if (newlen > writer->size) {
  ------------------
  |  Branch (245:14): [True: 395, False: 6]
  ------------------
  246|    395|        if (writer->overallocate
  ------------------
  |  Branch (246:13): [True: 6, False: 389]
  ------------------
  247|      6|            && newlen <= (PY_SSIZE_T_MAX - newlen / OVERALLOCATE_FACTOR)) {
  ------------------
  |  |  137|      6|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                          && newlen <= (PY_SSIZE_T_MAX - newlen / OVERALLOCATE_FACTOR)) {
  ------------------
  |  |   52|      6|#  define OVERALLOCATE_FACTOR 4
  ------------------
  |  Branch (247:16): [True: 6, False: 0]
  ------------------
  248|       |            /* overallocate to limit the number of realloc() */
  249|      6|            newlen += newlen / OVERALLOCATE_FACTOR;
  ------------------
  |  |   52|      6|#  define OVERALLOCATE_FACTOR 4
  ------------------
  250|      6|        }
  251|    395|        if (newlen < writer->min_length)
  ------------------
  |  Branch (251:13): [True: 0, False: 395]
  ------------------
  252|      0|            newlen = writer->min_length;
  253|       |
  254|    395|        if (maxchar > writer->maxchar || writer->readonly) {
  ------------------
  |  Branch (254:13): [True: 0, False: 395]
  |  Branch (254:42): [True: 0, False: 395]
  ------------------
  255|       |            /* resize + widen */
  256|      0|            maxchar = Py_MAX(maxchar, writer->maxchar);
  ------------------
  |  |  115|      0|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  257|      0|            newbuffer = PyUnicode_New(newlen, maxchar);
  258|      0|            if (newbuffer == NULL)
  ------------------
  |  Branch (258:17): [True: 0, False: 0]
  ------------------
  259|      0|                return -1;
  260|      0|            _PyUnicode_FastCopyCharacters(newbuffer, 0,
  261|      0|                                          writer->buffer, 0, writer->pos);
  262|      0|            Py_DECREF(writer->buffer);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  263|      0|            writer->readonly = 0;
  264|      0|        }
  265|    395|        else {
  266|    395|            newbuffer = _PyUnicode_ResizeCompact(writer->buffer, newlen);
  267|    395|            if (newbuffer == NULL)
  ------------------
  |  Branch (267:17): [True: 0, False: 395]
  ------------------
  268|      0|                return -1;
  269|    395|        }
  270|    395|        writer->buffer = newbuffer;
  271|    395|    }
  272|      6|    else if (maxchar > writer->maxchar) {
  ------------------
  |  Branch (272:14): [True: 6, False: 0]
  ------------------
  273|      6|        assert(!writer->readonly);
  ------------------
  |  Branch (273:9): [True: 6, False: 0]
  ------------------
  274|      6|        newbuffer = PyUnicode_New(writer->size, maxchar);
  275|      6|        if (newbuffer == NULL)
  ------------------
  |  Branch (275:13): [True: 0, False: 6]
  ------------------
  276|      0|            return -1;
  277|      6|        _PyUnicode_FastCopyCharacters(newbuffer, 0,
  278|      6|                                      writer->buffer, 0, writer->pos);
  279|      6|        Py_SETREF(writer->buffer, newbuffer);
  ------------------
  |  |  352|      6|    do { \
  |  |  353|      6|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      6|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      6|        *_tmp_dst_ptr = (src); \
  |  |  356|      6|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
  280|      6|    }
  281|  1.34M|    _PyUnicodeWriter_Update(writer);
  282|  1.34M|    return 0;
  283|       |
  284|  1.34M|#undef OVERALLOCATE_FACTOR
  285|  1.34M|}
_PyUnicodeWriter_WriteStr:
  331|   265k|{
  332|   265k|    assert(PyUnicode_Check(str));
  ------------------
  |  Branch (332:5): [True: 265k, False: 0]
  ------------------
  333|       |
  334|   265k|    Py_UCS4 maxchar;
  335|   265k|    Py_ssize_t len;
  336|       |
  337|   265k|    len = PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  299|   265k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   265k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   265k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  338|   265k|    if (len == 0)
  ------------------
  |  Branch (338:9): [True: 0, False: 265k]
  ------------------
  339|      0|        return 0;
  340|   265k|    maxchar = PyUnicode_MAX_CHAR_VALUE(str);
  ------------------
  |  |  405|   265k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   265k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   265k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  341|   265k|    if (maxchar > writer->maxchar || len > writer->size - writer->pos) {
  ------------------
  |  Branch (341:9): [True: 2.32k, False: 262k]
  |  Branch (341:38): [True: 264, False: 262k]
  ------------------
  342|  2.58k|        if (writer->buffer == NULL && !writer->overallocate) {
  ------------------
  |  Branch (342:13): [True: 2.32k, False: 264]
  |  Branch (342:39): [True: 0, False: 2.32k]
  ------------------
  343|      0|            assert(_PyUnicode_CheckConsistency(str, 1));
  ------------------
  |  Branch (343:13): [True: 0, False: 0]
  ------------------
  344|      0|            writer->readonly = 1;
  345|      0|            writer->buffer = Py_NewRef(str);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  346|      0|            _PyUnicodeWriter_Update(writer);
  347|      0|            writer->pos += len;
  348|      0|            return 0;
  349|      0|        }
  350|  2.58k|        if (_PyUnicodeWriter_PrepareInternal(writer, len, maxchar) == -1)
  ------------------
  |  Branch (350:13): [True: 0, False: 2.58k]
  ------------------
  351|      0|            return -1;
  352|  2.58k|    }
  353|   265k|    _PyUnicode_FastCopyCharacters(writer->buffer, writer->pos,
  354|   265k|                                  str, 0, len);
  355|   265k|    writer->pos += len;
  356|   265k|    return 0;
  357|   265k|}
_PyUnicodeWriter_WriteSubstring:
  408|  1.60M|{
  409|  1.60M|    assert(0 <= start);
  ------------------
  |  Branch (409:5): [True: 1.60M, False: 0]
  ------------------
  410|  1.60M|    assert(end <= PyUnicode_GET_LENGTH(str));
  ------------------
  |  Branch (410:5): [True: 1.60M, False: 0]
  ------------------
  411|  1.60M|    assert(start <= end);
  ------------------
  |  Branch (411:5): [True: 1.60M, False: 0]
  ------------------
  412|       |
  413|  1.60M|    if (start == 0 && end == PyUnicode_GET_LENGTH(str))
  ------------------
  |  |  299|  1.34M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.34M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.34M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (413:9): [True: 1.34M, False: 265k]
  |  Branch (413:23): [True: 0, False: 1.34M]
  ------------------
  414|      0|        return _PyUnicodeWriter_WriteStr(writer, str);
  415|       |
  416|  1.60M|    Py_ssize_t len = end - start;
  417|  1.60M|    if (len == 0) {
  ------------------
  |  Branch (417:9): [True: 0, False: 1.60M]
  ------------------
  418|      0|        return 0;
  419|      0|    }
  420|       |
  421|  1.60M|    Py_UCS4 maxchar;
  422|  1.60M|    if (PyUnicode_MAX_CHAR_VALUE(str) > writer->maxchar) {
  ------------------
  |  |  405|  1.60M|    PyUnicode_MAX_CHAR_VALUE(_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 (422:9): [True: 1.34M, False: 265k]
  ------------------
  423|  1.34M|        maxchar = _PyUnicode_FindMaxChar(str, start, end);
  424|  1.34M|    }
  425|   265k|    else {
  426|   265k|        maxchar = writer->maxchar;
  427|   265k|    }
  428|  1.60M|    if (_PyUnicodeWriter_Prepare(writer, len, maxchar) < 0) {
  ------------------
  |  |  562|  1.60M|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 265k, False: 1.34M]
  |  |  ------------------
  |  |  563|  1.60M|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 265k, False: 1]
  |  |  ------------------
  |  |  564|  1.60M|     ? 0                                                              \
  |  |  565|  1.60M|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 1.34M]
  |  |  ------------------
  |  |  566|  1.34M|        ? 0                                                           \
  |  |  567|  1.34M|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (428:9): [True: 0, False: 1.60M]
  ------------------
  429|      0|        return -1;
  430|      0|    }
  431|       |
  432|  1.60M|    _PyUnicode_FastCopyCharacters(writer->buffer, writer->pos,
  433|  1.60M|                                  str, start, len);
  434|  1.60M|    writer->pos += len;
  435|  1.60M|    return 0;
  436|  1.60M|}
_PyUnicodeWriter_WriteASCIIString:
  464|  19.0k|{
  465|  19.0k|    if (len == -1)
  ------------------
  |  Branch (465:9): [True: 0, False: 19.0k]
  ------------------
  466|      0|        len = strlen(ascii);
  467|       |
  468|  19.0k|    if (len == 0) {
  ------------------
  |  Branch (468:9): [True: 0, False: 19.0k]
  ------------------
  469|      0|        return 0;
  470|      0|    }
  471|       |
  472|  19.0k|    assert(ucs1lib_find_max_char((const Py_UCS1*)ascii, (const Py_UCS1*)ascii + len) < 128);
  ------------------
  |  Branch (472:5): [True: 19.0k, False: 0]
  ------------------
  473|       |
  474|  19.0k|    if (writer->buffer == NULL && !writer->overallocate) {
  ------------------
  |  Branch (474:9): [True: 16.8k, False: 2.19k]
  |  Branch (474:35): [True: 14.7k, False: 2.11k]
  ------------------
  475|  14.7k|        PyObject *str;
  476|       |
  477|  14.7k|        str = _PyUnicode_FromASCII(ascii, len);
  478|  14.7k|        if (str == NULL)
  ------------------
  |  Branch (478:13): [True: 0, False: 14.7k]
  ------------------
  479|      0|            return -1;
  480|       |
  481|  14.7k|        writer->readonly = 1;
  482|  14.7k|        writer->buffer = str;
  483|  14.7k|        _PyUnicodeWriter_Update(writer);
  484|  14.7k|        writer->pos += len;
  485|  14.7k|        return 0;
  486|  14.7k|    }
  487|       |
  488|  4.30k|    if (_PyUnicodeWriter_Prepare(writer, len, 127) == -1)
  ------------------
  |  |  562|  4.30k|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 2.19k, False: 2.11k]
  |  |  ------------------
  |  |  563|  4.30k|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 2.19k, False: 0]
  |  |  ------------------
  |  |  564|  4.30k|     ? 0                                                              \
  |  |  565|  4.30k|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 2.11k]
  |  |  ------------------
  |  |  566|  2.11k|        ? 0                                                           \
  |  |  567|  2.11k|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (488:9): [True: 0, False: 4.30k]
  ------------------
  489|      0|        return -1;
  490|       |
  491|  4.30k|    switch (writer->kind)
  492|  4.30k|    {
  493|  4.30k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (493:5): [True: 4.30k, False: 0]
  ------------------
  494|  4.30k|    {
  495|  4.30k|        const Py_UCS1 *str = (const Py_UCS1 *)ascii;
  496|  4.30k|        Py_UCS1 *data = writer->data;
  497|       |
  498|  4.30k|        memcpy(data + writer->pos, str, len);
  499|  4.30k|        break;
  500|      0|    }
  501|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (501:5): [True: 0, False: 4.30k]
  ------------------
  502|      0|    {
  503|      0|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   45|      0|    do {                                                \
  |  |   46|      0|        to_type *_to = (to_type *)(to);                 \
  |  |   47|      0|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|      0|        const from_type *_end = (const from_type *)(end);\
  |  |   49|      0|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|      0|        const from_type *_unrolled_end =                \
  |  |   51|      0|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|      0|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|      0|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   54|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   55|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   56|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   57|      0|            _iter += 4; _to += 4;                       \
  |  |   58|      0|        }                                               \
  |  |   59|      0|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   60|      0|            *_to++ = (to_type) *_iter++;                \
  |  |   61|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  504|      0|            Py_UCS1, Py_UCS2,
  505|      0|            ascii, ascii + len,
  506|      0|            (Py_UCS2 *)writer->data + writer->pos);
  507|      0|        break;
  508|      0|    }
  509|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (509:5): [True: 0, False: 4.30k]
  ------------------
  510|      0|    {
  511|      0|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   45|      0|    do {                                                \
  |  |   46|      0|        to_type *_to = (to_type *)(to);                 \
  |  |   47|      0|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|      0|        const from_type *_end = (const from_type *)(end);\
  |  |   49|      0|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|      0|        const from_type *_unrolled_end =                \
  |  |   51|      0|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|      0|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|      0|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   54|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   55|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   56|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   57|      0|            _iter += 4; _to += 4;                       \
  |  |   58|      0|        }                                               \
  |  |   59|      0|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   60|      0|            *_to++ = (to_type) *_iter++;                \
  |  |   61|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  512|      0|            Py_UCS1, Py_UCS4,
  513|      0|            ascii, ascii + len,
  514|      0|            (Py_UCS4 *)writer->data + writer->pos);
  515|      0|        break;
  516|      0|    }
  517|      0|    default:
  ------------------
  |  Branch (517:5): [True: 0, False: 4.30k]
  ------------------
  518|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  519|  4.30k|    }
  520|       |
  521|  4.30k|    writer->pos += len;
  522|  4.30k|    return 0;
  523|  4.30k|}
_PyUnicodeWriter_Finish:
  602|  1.36M|{
  603|  1.36M|    PyObject *str;
  604|       |
  605|  1.36M|    if (writer->pos == 0) {
  ------------------
  |  Branch (605:9): [True: 0, False: 1.36M]
  ------------------
  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.36M|    str = writer->buffer;
  611|  1.36M|    writer->buffer = NULL;
  612|       |
  613|  1.36M|    if (writer->readonly) {
  ------------------
  |  Branch (613:9): [True: 14.7k, False: 1.34M]
  ------------------
  614|  14.7k|        assert(PyUnicode_GET_LENGTH(str) == writer->pos);
  ------------------
  |  Branch (614:9): [True: 14.7k, False: 0]
  ------------------
  615|  14.7k|        return str;
  616|  14.7k|    }
  617|       |
  618|  1.34M|    if (PyUnicode_GET_LENGTH(str) != writer->pos) {
  ------------------
  |  |  299|  1.34M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.34M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.34M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (618:9): [True: 1.34M, False: 412]
  ------------------
  619|  1.34M|        PyObject *str2;
  620|  1.34M|        str2 = _PyUnicode_ResizeCompact(str, writer->pos);
  621|  1.34M|        if (str2 == NULL) {
  ------------------
  |  Branch (621:13): [True: 0, False: 1.34M]
  ------------------
  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.34M|        str = str2;
  626|  1.34M|    }
  627|       |
  628|  1.34M|    assert(_PyUnicode_CheckConsistency(str, 1));
  ------------------
  |  Branch (628:5): [True: 1.34M, False: 0]
  ------------------
  629|  1.34M|    return _PyUnicode_Result(str);
  630|  1.34M|}
unicode_writer.c:_PyUnicodeWriter_Update:
  120|  1.36M|{
  121|  1.36M|    writer->maxchar = PyUnicode_MAX_CHAR_VALUE(writer->buffer);
  ------------------
  |  |  405|  1.36M|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.36M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.36M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  122|  1.36M|    writer->data = PyUnicode_DATA(writer->buffer);
  ------------------
  |  |  284|  1.36M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.36M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.36M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  123|       |
  124|  1.36M|    if (!writer->readonly) {
  ------------------
  |  Branch (124:9): [True: 1.34M, False: 14.7k]
  ------------------
  125|  1.34M|        writer->kind = PyUnicode_KIND(writer->buffer);
  ------------------
  |  |  258|  1.34M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  2.69M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 1.34M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  126|  1.34M|        writer->size = PyUnicode_GET_LENGTH(writer->buffer);
  ------------------
  |  |  299|  1.34M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.34M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.34M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  127|  1.34M|    }
  128|  14.7k|    else {
  129|       |        /* use a value smaller than PyUnicode_1BYTE_KIND() so
  130|       |           _PyUnicodeWriter_PrepareKind() will copy the buffer. */
  131|  14.7k|        writer->kind = 0;
  132|  14.7k|        assert(writer->kind <= PyUnicode_1BYTE_KIND);
  ------------------
  |  Branch (132:9): [True: 14.7k, False: 0]
  ------------------
  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|  14.7k|        writer->size = 0;
  138|  14.7k|    }
  139|  1.36M|}

_PyUnicode_IsXidStart:
   86|  1.18k|{
   87|  1.18k|    const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
   88|       |
   89|  1.18k|    return (ctype->flags & XID_START_MASK) != 0;
  ------------------
  |  |   20|  1.18k|#define XID_START_MASK 0x100
  ------------------
   90|  1.18k|}
_PyUnicode_IsXidContinue:
   96|  3.99k|{
   97|  3.99k|    const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
   98|       |
   99|  3.99k|    return (ctype->flags & XID_CONTINUE_MASK) != 0;
  ------------------
  |  |   21|  3.99k|#define XID_CONTINUE_MASK 0x200
  ------------------
  100|  3.99k|}
_PyUnicode_ToDecimalDigit:
  106|   845k|{
  107|   845k|    const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
  108|       |
  109|   845k|    return (ctype->flags & DECIMAL_MASK) ? ctype->decimal : -1;
  ------------------
  |  |   15|   845k|#define DECIMAL_MASK 0x02
  ------------------
  |  Branch (109:12): [True: 844k, False: 910]
  ------------------
  110|   845k|}
_PyUnicode_IsDecimalDigit:
  113|   845k|{
  114|   845k|    if (_PyUnicode_ToDecimalDigit(ch) < 0)
  ------------------
  |  Branch (114:9): [True: 910, False: 844k]
  ------------------
  115|    910|        return 0;
  116|   844k|    return 1;
  117|   845k|}
_PyUnicode_IsPrintable:
  152|  1.52M|{
  153|  1.52M|    const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
  154|       |
  155|  1.52M|    return (ctype->flags & PRINTABLE_MASK) != 0;
  ------------------
  |  |   22|  1.52M|#define PRINTABLE_MASK 0x400
  ------------------
  156|  1.52M|}
_PyUnicode_ToUppercase:
  182|     15|{
  183|     15|    const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
  184|       |
  185|     15|    if (ctype->flags & EXTENDED_CASE_MASK)
  ------------------
  |  |   26|     15|#define EXTENDED_CASE_MASK 0x4000
  ------------------
  |  Branch (185:9): [True: 0, False: 15]
  ------------------
  186|      0|        return _PyUnicode_ExtendedCase[ctype->upper & 0xFFFF];
  187|     15|    return ch + ctype->upper;
  188|     15|}
_PyUnicode_ToLowercase:
  194|     47|{
  195|     47|    const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
  196|       |
  197|     47|    if (ctype->flags & EXTENDED_CASE_MASK)
  ------------------
  |  |   26|     47|#define EXTENDED_CASE_MASK 0x4000
  ------------------
  |  Branch (197:9): [True: 0, False: 47]
  ------------------
  198|      0|        return _PyUnicode_ExtendedCase[ctype->lower & 0xFFFF];
  199|     47|    return ch + ctype->lower;
  200|     47|}
_PyUnicode_IsAlpha:
  283|     14|{
  284|     14|    const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
  285|       |
  286|     14|    return (ctype->flags & ALPHA_MASK) != 0;
  ------------------
  |  |   14|     14|#define ALPHA_MASK 0x01
  ------------------
  287|     14|}
unicodectype.c:gettyperecord:
   46|  2.38M|{
   47|  2.38M|    int index;
   48|       |
   49|  2.38M|    if (code >= 0x110000)
  ------------------
  |  Branch (49:9): [True: 0, False: 2.38M]
  ------------------
   50|      0|        index = 0;
   51|  2.38M|    else
   52|  2.38M|    {
   53|  2.38M|        index = index1[(code>>SHIFT)];
  ------------------
  |  | 1760|  2.38M|#define SHIFT 7
  ------------------
   54|  2.38M|        index = index2[(index<<SHIFT)+(code&((1<<SHIFT)-1))];
  ------------------
  |  | 1760|  2.38M|#define SHIFT 7
  ------------------
                      index = index2[(index<<SHIFT)+(code&((1<<SHIFT)-1))];
  ------------------
  |  | 1760|  2.38M|#define SHIFT 7
  ------------------
   55|  2.38M|    }
   56|       |
   57|  2.38M|    return &_PyUnicode_TypeRecords[index];
   58|  2.38M|}

_PyUnicode_GetEmpty:
  207|  6.41M|{
  208|  6.41M|    _Py_DECLARE_STR(empty, "");
  209|  6.41M|    return &_Py_STR(empty);
  ------------------
  |  |  922|  6.41M|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  6.41M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  6.41M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  210|  6.41M|}
_Py_GetErrorHandler:
  474|    309|{
  475|    309|    if (errors == NULL || strcmp(errors, "strict") == 0) {
  ------------------
  |  Branch (475:9): [True: 0, False: 309]
  |  Branch (475:27): [True: 0, False: 309]
  ------------------
  476|      0|        return _Py_ERROR_STRICT;
  477|      0|    }
  478|    309|    if (strcmp(errors, "surrogateescape") == 0) {
  ------------------
  |  Branch (478:9): [True: 28, False: 281]
  ------------------
  479|     28|        return _Py_ERROR_SURROGATEESCAPE;
  480|     28|    }
  481|    281|    if (strcmp(errors, "replace") == 0) {
  ------------------
  |  Branch (481:9): [True: 0, False: 281]
  ------------------
  482|      0|        return _Py_ERROR_REPLACE;
  483|      0|    }
  484|    281|    if (strcmp(errors, "ignore") == 0) {
  ------------------
  |  Branch (484:9): [True: 0, False: 281]
  ------------------
  485|      0|        return _Py_ERROR_IGNORE;
  486|      0|    }
  487|    281|    if (strcmp(errors, "backslashreplace") == 0) {
  ------------------
  |  Branch (487:9): [True: 281, False: 0]
  ------------------
  488|    281|        return _Py_ERROR_BACKSLASHREPLACE;
  489|    281|    }
  490|      0|    if (strcmp(errors, "surrogatepass") == 0) {
  ------------------
  |  Branch (490:9): [True: 0, False: 0]
  ------------------
  491|      0|        return _Py_ERROR_SURROGATEPASS;
  492|      0|    }
  493|      0|    if (strcmp(errors, "xmlcharrefreplace") == 0) {
  ------------------
  |  Branch (493:9): [True: 0, False: 0]
  ------------------
  494|      0|        return _Py_ERROR_XMLCHARREFREPLACE;
  495|      0|    }
  496|      0|    return _Py_ERROR_OTHER;
  497|      0|}
_PyUnicode_CheckConsistency:
  593|  22.1M|{
  594|  22.1M|#define CHECK(expr) \
  595|  22.1M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  596|       |#ifdef Py_GIL_DISABLED
  597|       |# define CHECK_IF_GIL(expr) (void)(expr)
  598|       |# define CHECK_IF_FT(expr) CHECK(expr)
  599|       |#else
  600|  22.1M|# define CHECK_IF_GIL(expr) CHECK(expr)
  601|  22.1M|# define CHECK_IF_FT(expr) (void)(expr)
  602|  22.1M|#endif
  603|       |
  604|       |
  605|  22.1M|    assert(op != NULL);
  ------------------
  |  Branch (605:5): [True: 22.1M, False: 0]
  ------------------
  606|  22.1M|    CHECK(PyUnicode_Check(op));
  ------------------
  |  |  595|  22.1M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 22.1M]
  |  |  |  Branch (595:89): [Folded, False: 22.1M]
  |  |  ------------------
  ------------------
  607|       |
  608|  22.1M|    PyASCIIObject *ascii = _PyASCIIObject_CAST(op);
  ------------------
  |  |  186|  22.1M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  22.1M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  22.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (608:28): [True: 22.1M, False: 0]
  ------------------
  609|      0|    int kind = ascii->state.kind;
  610|       |
  611|  22.1M|    if (ascii->state.ascii == 1 && ascii->state.compact == 1) {
  ------------------
  |  Branch (611:9): [True: 19.9M, False: 2.20M]
  |  Branch (611:36): [True: 19.9M, False: 7]
  ------------------
  612|  19.9M|        CHECK(kind == PyUnicode_1BYTE_KIND);
  ------------------
  |  |  595|  19.9M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 19.9M]
  |  |  |  Branch (595:89): [Folded, False: 19.9M]
  |  |  ------------------
  ------------------
  613|  19.9M|    }
  614|  2.20M|    else {
  615|  2.20M|        PyCompactUnicodeObject *compact = _PyCompactUnicodeObject_CAST(op);
  ------------------
  |  |  189|  2.20M|    (assert(PyUnicode_Check(op)), \
  |  |  190|  2.20M|     _Py_CAST(PyCompactUnicodeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.20M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (615:43): [True: 2.20M, False: 0]
  ------------------
  616|      0|        void *data;
  617|       |
  618|  2.20M|        if (ascii->state.compact == 1) {
  ------------------
  |  Branch (618:13): [True: 2.20M, False: 7]
  ------------------
  619|  2.20M|            data = compact + 1;
  620|  2.20M|            CHECK(kind == PyUnicode_1BYTE_KIND
  ------------------
  |  |  595|  4.41M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:16): [True: 2.20M, False: 8]
  |  |  |  Branch (595:16): [True: 8, False: 0]
  |  |  |  Branch (595:16): [True: 0, False: 0]
  |  |  |  Branch (595:89): [Folded, False: 2.20M]
  |  |  ------------------
  ------------------
  621|  2.20M|                                 || kind == PyUnicode_2BYTE_KIND
  622|  2.20M|                                 || kind == PyUnicode_4BYTE_KIND);
  623|  2.20M|            CHECK(ascii->state.ascii == 0);
  ------------------
  |  |  595|  2.20M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 2.20M]
  |  |  |  Branch (595:89): [Folded, False: 2.20M]
  |  |  ------------------
  ------------------
  624|  2.20M|            CHECK(_PyUnicode_UTF8(op) != data);
  ------------------
  |  |  595|  2.20M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 2.20M]
  |  |  |  Branch (595:89): [Folded, False: 2.20M]
  |  |  ------------------
  ------------------
  625|  2.20M|        }
  626|      7|        else {
  627|      7|            PyUnicodeObject *unicode = _PyUnicodeObject_CAST(op);
  ------------------
  |  |  192|      7|    (assert(PyUnicode_Check(op)), \
  |  |  193|      7|     _Py_CAST(PyUnicodeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (627:40): [True: 7, False: 0]
  ------------------
  628|       |
  629|      0|            data = unicode->data.any;
  630|      7|            CHECK(kind == PyUnicode_1BYTE_KIND
  ------------------
  |  |  595|     14|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:16): [True: 7, False: 0]
  |  |  |  Branch (595:16): [True: 0, False: 0]
  |  |  |  Branch (595:16): [True: 0, False: 0]
  |  |  |  Branch (595:89): [Folded, False: 7]
  |  |  ------------------
  ------------------
  631|      7|                     || kind == PyUnicode_2BYTE_KIND
  632|      7|                     || kind == PyUnicode_4BYTE_KIND);
  633|      7|            CHECK(ascii->state.compact == 0);
  ------------------
  |  |  595|      7|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 7]
  |  |  |  Branch (595:89): [Folded, False: 7]
  |  |  ------------------
  ------------------
  634|      7|            CHECK(data != NULL);
  ------------------
  |  |  595|      7|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 7]
  |  |  |  Branch (595:89): [Folded, False: 7]
  |  |  ------------------
  ------------------
  635|      7|            if (ascii->state.ascii) {
  ------------------
  |  Branch (635:17): [True: 7, False: 0]
  ------------------
  636|      7|                CHECK(_PyUnicode_UTF8(op) == data);
  ------------------
  |  |  595|      7|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 7]
  |  |  |  Branch (595:89): [Folded, False: 7]
  |  |  ------------------
  ------------------
  637|      7|                CHECK(compact->utf8_length == ascii->length);
  ------------------
  |  |  595|      7|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 7]
  |  |  |  Branch (595:89): [Folded, False: 7]
  |  |  ------------------
  ------------------
  638|      7|            }
  639|      0|            else {
  640|      0|                CHECK(_PyUnicode_UTF8(op) != data);
  ------------------
  |  |  595|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 0]
  |  |  |  Branch (595:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  641|      0|            }
  642|      7|        }
  643|  2.20M|#ifndef Py_GIL_DISABLED
  644|  2.20M|        if (_PyUnicode_UTF8(op) == NULL)
  ------------------
  |  Branch (644:13): [True: 2.20M, False: 7]
  ------------------
  645|  2.20M|            CHECK(compact->utf8_length == 0);
  ------------------
  |  |  595|  2.20M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 2.20M]
  |  |  |  Branch (595:89): [Folded, False: 2.20M]
  |  |  ------------------
  ------------------
  646|  2.20M|#endif
  647|  2.20M|    }
  648|       |
  649|       |    /* check that the best kind is used: O(n) operation */
  650|  22.1M|    if (check_content) {
  ------------------
  |  Branch (650:9): [True: 10.7M, False: 11.3M]
  ------------------
  651|  10.7M|        Py_ssize_t i;
  652|  10.7M|        Py_UCS4 maxchar = 0;
  653|  10.7M|        const void *data;
  654|  10.7M|        Py_UCS4 ch;
  655|       |
  656|  10.7M|        data = PyUnicode_DATA(ascii);
  ------------------
  |  |  284|  10.7M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  657|  23.0G|        for (i=0; i < ascii->length; i++)
  ------------------
  |  Branch (657:19): [True: 22.9G, False: 10.7M]
  ------------------
  658|  22.9G|        {
  659|  22.9G|            ch = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  354|  22.9G|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  22.9G|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  22.9G|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  22.9G|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  22.9G|                   (index))
  ------------------
  660|  22.9G|            if (ch > maxchar)
  ------------------
  |  Branch (660:17): [True: 31.8M, False: 22.9G]
  ------------------
  661|  31.8M|                maxchar = ch;
  662|  22.9G|        }
  663|  10.7M|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (663:13): [True: 10.7M, False: 4]
  ------------------
  664|  10.7M|            if (ascii->state.ascii == 0) {
  ------------------
  |  Branch (664:17): [True: 1.10M, False: 9.66M]
  ------------------
  665|  1.10M|                CHECK(maxchar >= 128);
  ------------------
  |  |  595|  1.10M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 1.10M]
  |  |  |  Branch (595:89): [Folded, False: 1.10M]
  |  |  ------------------
  ------------------
  666|  1.10M|                CHECK(maxchar <= 255);
  ------------------
  |  |  595|  1.10M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 1.10M]
  |  |  |  Branch (595:89): [Folded, False: 1.10M]
  |  |  ------------------
  ------------------
  667|  1.10M|            }
  668|  9.66M|            else
  669|  9.66M|                CHECK(maxchar < 128);
  ------------------
  |  |  595|  9.66M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 9.66M]
  |  |  |  Branch (595:89): [Folded, False: 9.66M]
  |  |  ------------------
  ------------------
  670|  10.7M|        }
  671|      4|        else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (671:18): [True: 4, False: 0]
  ------------------
  672|      4|            CHECK(maxchar >= 0x100);
  ------------------
  |  |  595|      4|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 4]
  |  |  |  Branch (595:89): [Folded, False: 4]
  |  |  ------------------
  ------------------
  673|      4|            CHECK(maxchar <= 0xFFFF);
  ------------------
  |  |  595|      4|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 4]
  |  |  |  Branch (595:89): [Folded, False: 4]
  |  |  ------------------
  ------------------
  674|      4|        }
  675|      0|        else {
  676|      0|            CHECK(maxchar >= 0x10000);
  ------------------
  |  |  595|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 0]
  |  |  |  Branch (595:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  677|      0|            CHECK(maxchar <= MAX_UNICODE);
  ------------------
  |  |  595|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 0]
  |  |  |  Branch (595:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  678|      0|        }
  679|  10.7M|        CHECK(PyUnicode_READ(kind, data, ascii->length) == 0);
  ------------------
  |  |  595|  10.7M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 10.7M]
  |  |  |  Branch (595:89): [Folded, False: 10.7M]
  |  |  ------------------
  ------------------
  680|  10.7M|    }
  681|       |
  682|       |    /* Check interning state */
  683|       |#ifdef Py_DEBUG
  684|       |    // Note that we do not check `_Py_IsImmortal(op)` in the GIL-enabled build
  685|       |    // since stable ABI extensions can make immortal strings mortal (but with a
  686|       |    // high enough refcount).
  687|       |    switch (PyUnicode_CHECK_INTERNED(op)) {
  688|       |        case SSTATE_NOT_INTERNED:
  689|       |            if (ascii->state.statically_allocated) {
  690|       |                // This state is for two exceptions:
  691|       |                // - strings are currently checked before they're interned
  692|       |                // - the 256 one-latin1-character strings
  693|       |                //   are static but use SSTATE_NOT_INTERNED
  694|       |            }
  695|       |            else {
  696|       |                CHECK_IF_GIL(!_Py_IsImmortal(op));
  697|       |            }
  698|       |            break;
  699|       |        case SSTATE_INTERNED_MORTAL:
  700|       |            CHECK(!ascii->state.statically_allocated);
  701|       |            CHECK_IF_GIL(!_Py_IsImmortal(op));
  702|       |            break;
  703|       |        case SSTATE_INTERNED_IMMORTAL:
  704|       |            CHECK(!ascii->state.statically_allocated);
  705|       |            CHECK_IF_FT(_Py_IsImmortal(op));
  706|       |            break;
  707|       |        case SSTATE_INTERNED_IMMORTAL_STATIC:
  708|       |            CHECK(ascii->state.statically_allocated);
  709|       |            CHECK_IF_FT(_Py_IsImmortal(op));
  710|       |            break;
  711|       |        default:
  712|       |            Py_UNREACHABLE();
  713|       |    }
  714|       |#endif
  715|       |
  716|  22.1M|    return 1;
  717|       |
  718|  22.1M|#undef CHECK
  719|  22.1M|}
_PyUnicode_Result:
  723|  1.34M|{
  724|  1.34M|    assert(_PyUnicode_CHECK(unicode));
  ------------------
  |  Branch (724:5): [True: 1.34M, False: 0]
  ------------------
  725|       |
  726|  1.34M|    Py_ssize_t length = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|  1.34M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.34M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.34M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|  1.34M|    if (length == 0) {
  ------------------
  |  Branch (727:9): [True: 0, False: 1.34M]
  ------------------
  728|      0|        PyObject *empty = _PyUnicode_GetEmpty();
  729|      0|        if (unicode != empty) {
  ------------------
  |  Branch (729:13): [True: 0, False: 0]
  ------------------
  730|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  731|      0|        }
  732|      0|        return empty;
  733|      0|    }
  734|       |
  735|  1.34M|    if (length == 1) {
  ------------------
  |  Branch (735:9): [True: 10, False: 1.34M]
  ------------------
  736|     10|        int kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|     10|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|     20|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 10, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  737|     10|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (737:13): [True: 10, False: 0]
  ------------------
  738|     10|            const Py_UCS1 *data = PyUnicode_1BYTE_DATA(unicode);
  ------------------
  |  |  291|     10|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     10|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  739|     10|            Py_UCS1 ch = data[0];
  740|     10|            PyObject *latin1_char = LATIN1(ch);
  ------------------
  |  |  188|     10|#define LATIN1 _Py_LATIN1_CHR
  |  |  ------------------
  |  |  |  |  924|     10|    ((CH) < 128 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (924:6): [True: 10, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  925|     10|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|     10|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|     10|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  926|     10|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  741|     10|            if (unicode != latin1_char) {
  ------------------
  |  Branch (741:17): [True: 10, False: 0]
  ------------------
  742|     10|                Py_DECREF(unicode);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  743|     10|            }
  744|     10|            return latin1_char;
  745|     10|        }
  746|     10|    }
  747|       |
  748|  1.34M|    assert(_PyUnicode_CheckConsistency(unicode, 1));
  ------------------
  |  Branch (748:5): [True: 1.34M, False: 0]
  ------------------
  749|  1.34M|    return unicode;
  750|  1.34M|}
_PyUnicode_ResizeCompact:
 1073|  6.74M|{
 1074|  6.74M|    Py_ssize_t char_size;
 1075|  6.74M|    Py_ssize_t struct_size;
 1076|  6.74M|    Py_ssize_t new_size;
 1077|  6.74M|    PyObject *new_unicode;
 1078|       |#ifdef Py_DEBUG
 1079|       |    Py_ssize_t old_length = _PyUnicode_LENGTH(unicode);
 1080|       |#endif
 1081|       |
 1082|  6.74M|    if (!_PyUnicode_IsModifiable(unicode)) {
  ------------------
  |  Branch (1082:9): [True: 0, False: 6.74M]
  ------------------
 1083|      0|        PyObject *copy = resize_copy(unicode, length);
 1084|      0|        if (copy == NULL) {
  ------------------
  |  Branch (1084:13): [True: 0, False: 0]
  ------------------
 1085|      0|            return NULL;
 1086|      0|        }
 1087|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1088|      0|        return copy;
 1089|      0|    }
 1090|  6.74M|    assert(PyUnicode_IS_COMPACT(unicode));
  ------------------
  |  Branch (1090:5): [True: 6.74M, False: 0]
  ------------------
 1091|       |
 1092|  6.74M|    char_size = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|  6.74M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  13.4M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 6.74M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1093|  6.74M|    if (PyUnicode_IS_ASCII(unicode))
  ------------------
  |  |  227|  6.74M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.74M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.74M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 5.65M, False: 1.09M]
  |  |  ------------------
  ------------------
 1094|  5.65M|        struct_size = sizeof(PyASCIIObject);
 1095|  1.09M|    else
 1096|  1.09M|        struct_size = sizeof(PyCompactUnicodeObject);
 1097|       |
 1098|  6.74M|    if (length > ((PY_SSIZE_T_MAX - struct_size) / char_size - 1)) {
  ------------------
  |  |  137|  6.74M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1098:9): [True: 0, False: 6.74M]
  ------------------
 1099|      0|        PyErr_NoMemory();
 1100|      0|        return NULL;
 1101|      0|    }
 1102|  6.74M|    new_size = (struct_size + (length + 1) * char_size);
 1103|       |
 1104|  6.74M|    if (_PyUnicode_HAS_UTF8_MEMORY(unicode)) {
  ------------------
  |  Branch (1104:9): [True: 0, False: 6.74M]
  ------------------
 1105|      0|        PyMem_Free(_PyUnicode_UTF8(unicode));
 1106|      0|        PyUnicode_SET_UTF8_LENGTH(unicode, 0);
 1107|      0|        PyUnicode_SET_UTF8(unicode, NULL);
 1108|      0|    }
 1109|       |#ifdef Py_TRACE_REFS
 1110|       |    _Py_ForgetReference(unicode);
 1111|       |#endif
 1112|  6.74M|    _PyReftracerTrack(unicode, PyRefTracer_DESTROY);
  ------------------
  |  |  112|  6.74M|    do { \
  |  |  113|  6.74M|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  114|  6.74M|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (114:13): [True: 0, False: 6.74M]
  |  |  ------------------
  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  117|      0|        } \
  |  |  118|  6.74M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (118:13): [Folded, False: 6.74M]
  |  |  ------------------
  ------------------
 1113|       |
 1114|  6.74M|    new_unicode = (PyObject *)PyObject_Realloc(unicode, new_size);
 1115|  6.74M|    if (new_unicode == NULL) {
  ------------------
  |  Branch (1115:9): [True: 0, False: 6.74M]
  ------------------
 1116|      0|        _Py_NewReferenceNoTotal(unicode);
 1117|      0|        PyErr_NoMemory();
 1118|      0|        return NULL;
 1119|      0|    }
 1120|  6.74M|    unicode = new_unicode;
 1121|  6.74M|    _Py_NewReferenceNoTotal(unicode);
 1122|       |
 1123|  6.74M|    _PyUnicode_LENGTH(unicode) = length;
  ------------------
  |  |  155|  6.74M|    (_PyASCIIObject_CAST(op)->length)
  |  |  ------------------
  |  |  |  |  186|  6.74M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  6.74M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.74M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1123:5): [True: 6.74M, False: 0]
  ------------------
 1124|       |#ifdef Py_DEBUG
 1125|       |    unicode_fill_invalid(unicode, old_length);
 1126|       |#endif
 1127|  6.74M|    PyUnicode_WRITE(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode),
  ------------------
  |  |  335|  6.74M|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|  13.4M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:47): [True: 6.74M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|  6.74M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|  6.74M|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|  6.74M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1128|  6.74M|                    length, 0);
 1129|  6.74M|    assert(_PyUnicode_CheckConsistency(unicode, 0));
  ------------------
  |  Branch (1129:5): [True: 6.74M, False: 0]
  ------------------
 1130|  6.74M|    return unicode;
 1131|  6.74M|}
PyUnicode_New:
 1277|  4.60M|{
 1278|       |    /* Optimization for empty strings */
 1279|  4.60M|    if (size == 0) {
  ------------------
  |  Branch (1279:9): [True: 4, False: 4.60M]
  ------------------
 1280|      4|        return _PyUnicode_GetEmpty();
 1281|      4|    }
 1282|       |
 1283|  4.60M|    PyObject *obj;
 1284|  4.60M|    PyCompactUnicodeObject *unicode;
 1285|  4.60M|    void *data;
 1286|  4.60M|    int kind;
 1287|  4.60M|    int is_ascii;
 1288|  4.60M|    Py_ssize_t char_size;
 1289|  4.60M|    Py_ssize_t struct_size;
 1290|       |
 1291|  4.60M|    is_ascii = 0;
 1292|  4.60M|    struct_size = sizeof(PyCompactUnicodeObject);
 1293|  4.60M|    if (maxchar < 128) {
  ------------------
  |  Branch (1293:9): [True: 4.59M, False: 13.5k]
  ------------------
 1294|  4.59M|        kind = PyUnicode_1BYTE_KIND;
 1295|  4.59M|        char_size = 1;
 1296|  4.59M|        is_ascii = 1;
 1297|  4.59M|        struct_size = sizeof(PyASCIIObject);
 1298|  4.59M|    }
 1299|  13.5k|    else if (maxchar < 256) {
  ------------------
  |  Branch (1299:14): [True: 13.5k, False: 2]
  ------------------
 1300|  13.5k|        kind = PyUnicode_1BYTE_KIND;
 1301|  13.5k|        char_size = 1;
 1302|  13.5k|    }
 1303|      2|    else if (maxchar < 65536) {
  ------------------
  |  Branch (1303:14): [True: 2, False: 0]
  ------------------
 1304|      2|        kind = PyUnicode_2BYTE_KIND;
 1305|      2|        char_size = 2;
 1306|      2|    }
 1307|      0|    else {
 1308|      0|        if (maxchar > MAX_UNICODE) {
  ------------------
  |  |  108|      0|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   16|      0|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (1308:13): [True: 0, False: 0]
  ------------------
 1309|      0|            PyErr_SetString(PyExc_SystemError,
 1310|      0|                            "invalid maximum character passed to PyUnicode_New");
 1311|      0|            return NULL;
 1312|      0|        }
 1313|      0|        kind = PyUnicode_4BYTE_KIND;
 1314|      0|        char_size = 4;
 1315|      0|    }
 1316|       |
 1317|       |    /* Ensure we won't overflow the size. */
 1318|  4.60M|    if (size < 0) {
  ------------------
  |  Branch (1318:9): [True: 0, False: 4.60M]
  ------------------
 1319|      0|        PyErr_SetString(PyExc_SystemError,
 1320|      0|                        "Negative size passed to PyUnicode_New");
 1321|      0|        return NULL;
 1322|      0|    }
 1323|  4.60M|    if (size > ((PY_SSIZE_T_MAX - struct_size) / char_size - 1))
  ------------------
  |  |  137|  4.60M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1323:9): [True: 0, False: 4.60M]
  ------------------
 1324|      0|        return PyErr_NoMemory();
 1325|       |
 1326|       |    /* Duplicated allocation code from _PyObject_New() instead of a call to
 1327|       |     * PyObject_New() so we are able to allocate space for the object and
 1328|       |     * it's data buffer.
 1329|       |     */
 1330|  4.60M|    obj = (PyObject *) PyObject_Malloc(struct_size + (size + 1) * char_size);
 1331|  4.60M|    if (obj == NULL) {
  ------------------
  |  Branch (1331:9): [True: 0, False: 4.60M]
  ------------------
 1332|      0|        return PyErr_NoMemory();
 1333|      0|    }
 1334|  4.60M|    _PyObject_Init(obj, &PyUnicode_Type);
 1335|       |
 1336|  4.60M|    unicode = (PyCompactUnicodeObject *)obj;
 1337|  4.60M|    if (is_ascii)
  ------------------
  |  Branch (1337:9): [True: 4.59M, False: 13.5k]
  ------------------
 1338|  4.59M|        data = ((PyASCIIObject*)obj) + 1;
 1339|  13.5k|    else
 1340|  13.5k|        data = unicode + 1;
 1341|  4.60M|    _PyUnicode_LENGTH(unicode) = size;
  ------------------
  |  |  155|  4.60M|    (_PyASCIIObject_CAST(op)->length)
  |  |  ------------------
  |  |  |  |  186|  4.60M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  4.60M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.60M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1341:5): [True: 4.60M, False: 0]
  ------------------
 1342|  4.60M|    _PyUnicode_HASH(unicode) = -1;
  ------------------
  |  |  159|  4.60M|    (_PyASCIIObject_CAST(op)->hash)
  |  |  ------------------
  |  |  |  |  186|  4.60M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  4.60M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.60M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1342:5): [True: 4.60M, False: 0]
  ------------------
 1343|  4.60M|    _PyUnicode_STATE(unicode).interned = 0;
  ------------------
  |  |  157|  4.60M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  4.60M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  4.60M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.60M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1343:5): [True: 4.60M, False: 0]
  ------------------
 1344|  4.60M|    _PyUnicode_STATE(unicode).kind = kind;
  ------------------
  |  |  157|  4.60M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  4.60M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  4.60M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.60M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1344:5): [True: 4.60M, False: 0]
  ------------------
 1345|  4.60M|    _PyUnicode_STATE(unicode).compact = 1;
  ------------------
  |  |  157|  4.60M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  4.60M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  4.60M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.60M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1345:5): [True: 4.60M, False: 0]
  ------------------
 1346|  4.60M|    _PyUnicode_STATE(unicode).ascii = is_ascii;
  ------------------
  |  |  157|  4.60M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  4.60M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  4.60M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.60M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1346:5): [True: 4.60M, False: 0]
  ------------------
 1347|  4.60M|    _PyUnicode_STATE(unicode).statically_allocated = 0;
  ------------------
  |  |  157|  4.60M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  4.60M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  4.60M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.60M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1347:5): [True: 4.60M, False: 0]
  ------------------
 1348|  4.60M|    if (is_ascii) {
  ------------------
  |  Branch (1348:9): [True: 4.59M, False: 13.5k]
  ------------------
 1349|  4.59M|        ((char*)data)[size] = 0;
 1350|  4.59M|    }
 1351|  13.5k|    else if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (1351:14): [True: 13.5k, False: 2]
  ------------------
 1352|  13.5k|        ((char*)data)[size] = 0;
 1353|  13.5k|        unicode->utf8 = NULL;
 1354|  13.5k|        unicode->utf8_length = 0;
 1355|  13.5k|    }
 1356|      2|    else {
 1357|      2|        unicode->utf8 = NULL;
 1358|      2|        unicode->utf8_length = 0;
 1359|      2|        if (kind == PyUnicode_2BYTE_KIND)
  ------------------
  |  Branch (1359:13): [True: 2, False: 0]
  ------------------
 1360|      2|            ((Py_UCS2*)data)[size] = 0;
 1361|      0|        else /* kind == PyUnicode_4BYTE_KIND */
 1362|      0|            ((Py_UCS4*)data)[size] = 0;
 1363|      2|    }
 1364|       |#ifdef Py_DEBUG
 1365|       |    unicode_fill_invalid((PyObject*)unicode, 0);
 1366|       |#endif
 1367|  4.60M|    assert(_PyUnicode_CheckConsistency((PyObject*)unicode, 0));
  ------------------
  |  Branch (1367:5): [True: 4.60M, False: 0]
  ------------------
 1368|  4.60M|    return obj;
 1369|  4.60M|}
_PyUnicode_FastCopyCharacters:
 1529|  9.15M|{
 1530|  9.15M|    (void)_copy_characters(to, to_start, from, from_start, how_many, 0);
 1531|  9.15M|}
_PyUnicode_IsModifiable:
 1738|  17.9M|{
 1739|  17.9M|    assert(_PyUnicode_CHECK(unicode));
  ------------------
  |  Branch (1739:5): [True: 17.9M, False: 0]
  ------------------
 1740|  17.9M|    if (!_PyObject_IsUniquelyReferenced(unicode))
  ------------------
  |  Branch (1740:9): [True: 430k, False: 17.5M]
  ------------------
 1741|   430k|        return 0;
 1742|  17.5M|    if (PyUnicode_HASH(unicode) != -1)
  ------------------
  |  |  161|  17.5M|#define PyUnicode_HASH PyUnstable_Unicode_GET_CACHED_HASH
  ------------------
  |  Branch (1742:9): [True: 0, False: 17.5M]
  ------------------
 1743|      0|        return 0;
 1744|  17.5M|    if (PyUnicode_CHECK_INTERNED(unicode))
  ------------------
  |  |  214|  17.5M|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (214:38): [True: 0, False: 17.5M]
  |  |  ------------------
  ------------------
 1745|      0|        return 0;
 1746|  17.5M|    if (!PyUnicode_CheckExact(unicode))
  ------------------
  |  |  104|  17.5M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  17.5M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  17.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  17.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1746:9): [True: 0, False: 17.5M]
  ------------------
 1747|      0|        return 0;
 1748|       |#ifdef Py_DEBUG
 1749|       |    /* singleton refcount is greater than 1 */
 1750|       |    assert(!unicode_is_singleton(unicode));
 1751|       |#endif
 1752|  17.5M|    return 1;
 1753|  17.5M|}
PyUnicode_FromWideChar:
 1904|    132|{
 1905|    132|    PyObject *unicode;
 1906|    132|    Py_UCS4 maxchar = 0;
 1907|    132|    Py_ssize_t num_surrogates;
 1908|       |
 1909|    132|    if (u == NULL && size != 0) {
  ------------------
  |  Branch (1909:9): [True: 0, False: 132]
  |  Branch (1909:22): [True: 0, False: 0]
  ------------------
 1910|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1911|      0|        return NULL;
 1912|      0|    }
 1913|       |
 1914|    132|    if (size == -1) {
  ------------------
  |  Branch (1914:9): [True: 82, False: 50]
  ------------------
 1915|     82|        size = wcslen(u);
 1916|     82|    }
 1917|       |
 1918|       |    /* If the Unicode data is known at construction time, we can apply
 1919|       |       some optimizations which share commonly used objects. */
 1920|       |
 1921|       |    /* Optimization for empty strings */
 1922|    132|    if (size == 0)
  ------------------
  |  Branch (1922:9): [True: 4, False: 128]
  ------------------
 1923|      4|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  379|      4|    do {                             \
  |  |  380|      4|        return _PyUnicode_GetEmpty();\
  |  |  381|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1924|       |
 1925|       |#ifdef HAVE_NON_UNICODE_WCHAR_T_REPRESENTATION
 1926|       |    /* Oracle Solaris uses non-Unicode internal wchar_t form for
 1927|       |       non-Unicode locales and hence needs conversion to UCS-4 first. */
 1928|       |    if (_Py_LocaleUsesNonUnicodeWchar()) {
 1929|       |        wchar_t* converted = _Py_DecodeNonUnicodeWchar(u, size);
 1930|       |        if (!converted) {
 1931|       |            return NULL;
 1932|       |        }
 1933|       |        PyObject *unicode = _PyUnicode_FromUCS4(converted, size);
 1934|       |        PyMem_Free(converted);
 1935|       |        return unicode;
 1936|       |    }
 1937|       |#endif
 1938|       |
 1939|       |    /* Single character Unicode objects in the Latin-1 range are
 1940|       |       shared when using this constructor */
 1941|    128|    if (size == 1 && (Py_UCS4)*u < 256)
  ------------------
  |  Branch (1941:9): [True: 0, False: 128]
  |  Branch (1941:22): [True: 0, False: 0]
  ------------------
 1942|      0|        return get_latin1_char((unsigned char)*u);
 1943|       |
 1944|       |    /* If not empty and not single character, copy the Unicode data
 1945|       |       into the new object */
 1946|    128|    if (find_maxchar_surrogates(u, u + size,
  ------------------
  |  Branch (1946:9): [True: 0, False: 128]
  ------------------
 1947|    128|                                &maxchar, &num_surrogates) == -1)
 1948|      0|        return NULL;
 1949|       |
 1950|    128|    unicode = PyUnicode_New(size - num_surrogates, maxchar);
 1951|    128|    if (!unicode)
  ------------------
  |  Branch (1951:9): [True: 0, False: 128]
  ------------------
 1952|      0|        return NULL;
 1953|       |
 1954|    128|    unicode_write_widechar(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode),
  ------------------
  |  |  258|    128|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    256|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 128, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  unicode_write_widechar(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode),
  ------------------
  |  |  284|    128|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    128|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    128|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1955|    128|                           u, size, num_surrogates);
 1956|       |
 1957|    128|    return unicode_result(unicode);
  ------------------
  |  |  751|    128|#define unicode_result _PyUnicode_Result
  ------------------
 1958|    128|}
PyUnicode_FromStringAndSize:
 2013|  1.11k|{
 2014|  1.11k|    if (size < 0) {
  ------------------
  |  Branch (2014:9): [True: 0, False: 1.11k]
  ------------------
 2015|      0|        PyErr_SetString(PyExc_SystemError,
 2016|      0|                        "Negative size passed to PyUnicode_FromStringAndSize");
 2017|      0|        return NULL;
 2018|      0|    }
 2019|  1.11k|    if (u != NULL) {
  ------------------
  |  Branch (2019:9): [True: 1.11k, False: 0]
  ------------------
 2020|  1.11k|        return PyUnicode_DecodeUTF8Stateful(u, size, NULL, NULL);
 2021|  1.11k|    }
 2022|      0|    if (size > 0) {
  ------------------
  |  Branch (2022:9): [True: 0, False: 0]
  ------------------
 2023|      0|        PyErr_SetString(PyExc_SystemError,
 2024|      0|            "NULL string with positive size with NULL passed to PyUnicode_FromStringAndSize");
 2025|      0|        return NULL;
 2026|      0|    }
 2027|      0|    return _PyUnicode_GetEmpty();
 2028|      0|}
PyUnicode_FromString:
 2032|  1.29M|{
 2033|  1.29M|    size_t size = strlen(u);
 2034|  1.29M|    if (size > PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|  1.29M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2034:9): [True: 0, False: 1.29M]
  ------------------
 2035|      0|        PyErr_SetString(PyExc_OverflowError, "input too long");
 2036|      0|        return NULL;
 2037|      0|    }
 2038|  1.29M|    return PyUnicode_DecodeUTF8Stateful(u, (Py_ssize_t)size, NULL, NULL);
 2039|  1.29M|}
_PyUnicode_FromASCII:
 2127|   396k|{
 2128|   396k|    const unsigned char *s = (const unsigned char *)buffer;
 2129|   396k|    PyObject *unicode;
 2130|   396k|    if (size == 1) {
  ------------------
  |  Branch (2130:9): [True: 111k, False: 285k]
  ------------------
 2131|       |#ifdef Py_DEBUG
 2132|       |        assert((unsigned char)s[0] < 128);
 2133|       |#endif
 2134|   111k|        return get_latin1_char(s[0]);
 2135|   111k|    }
 2136|   285k|    unicode = PyUnicode_New(size, 127);
 2137|   285k|    if (!unicode)
  ------------------
  |  Branch (2137:9): [True: 0, False: 285k]
  ------------------
 2138|      0|        return NULL;
 2139|   285k|    memcpy(PyUnicode_1BYTE_DATA(unicode), s, size);
  ------------------
  |  |  291|   285k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   285k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2140|   285k|    assert(_PyUnicode_CheckConsistency(unicode, 1));
  ------------------
  |  Branch (2140:5): [True: 285k, False: 0]
  ------------------
 2141|   285k|    return unicode;
 2142|   285k|}
PyUnicode_FromKindAndData:
 2283|  22.5k|{
 2284|  22.5k|    if (size < 0) {
  ------------------
  |  Branch (2284:9): [True: 0, False: 22.5k]
  ------------------
 2285|      0|        PyErr_SetString(PyExc_ValueError, "size must be positive");
 2286|      0|        return NULL;
 2287|      0|    }
 2288|  22.5k|    switch (kind) {
 2289|  22.5k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (2289:5): [True: 22.5k, False: 0]
  ------------------
 2290|  22.5k|        return _PyUnicode_FromUCS1(buffer, size);
 2291|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (2291:5): [True: 0, False: 22.5k]
  ------------------
 2292|      0|        return _PyUnicode_FromUCS2(buffer, size);
 2293|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (2293:5): [True: 0, False: 22.5k]
  ------------------
 2294|      0|        return _PyUnicode_FromUCS4(buffer, size);
 2295|      0|    default:
  ------------------
  |  Branch (2295:5): [True: 0, False: 22.5k]
  ------------------
 2296|      0|        PyErr_SetString(PyExc_SystemError, "invalid kind");
 2297|       |        return NULL;
 2298|  22.5k|    }
 2299|  22.5k|}
_PyUnicode_FindMaxChar:
 2303|  1.34M|{
 2304|  1.34M|    int kind;
 2305|  1.34M|    const void *startptr, *endptr;
 2306|       |
 2307|  1.34M|    assert(0 <= start);
  ------------------
  |  Branch (2307:5): [True: 1.34M, False: 0]
  ------------------
 2308|  1.34M|    assert(end <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (2308:5): [True: 1.34M, False: 0]
  ------------------
 2309|  1.34M|    assert(start <= end);
  ------------------
  |  Branch (2309:5): [True: 1.34M, False: 0]
  ------------------
 2310|       |
 2311|  1.34M|    if (start == 0 && end == PyUnicode_GET_LENGTH(unicode))
  ------------------
  |  |  299|  1.34M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.34M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.34M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2311:9): [True: 1.34M, False: 0]
  |  Branch (2311:23): [True: 0, False: 1.34M]
  ------------------
 2312|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2313|       |
 2314|  1.34M|    if (start == end)
  ------------------
  |  Branch (2314:9): [True: 0, False: 1.34M]
  ------------------
 2315|      0|        return 127;
 2316|       |
 2317|  1.34M|    if (PyUnicode_IS_ASCII(unicode))
  ------------------
  |  |  227|  1.34M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.34M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.34M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 1.34M, False: 0]
  |  |  ------------------
  ------------------
 2318|  1.34M|        return 127;
 2319|       |
 2320|      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))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2321|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2322|      0|    endptr = (char *)startptr + end * kind;
 2323|      0|    startptr = (char *)startptr + start * kind;
 2324|      0|    switch(kind) {
 2325|      0|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (2325:5): [True: 0, False: 0]
  ------------------
 2326|      0|        return ucs1lib_find_max_char(startptr, endptr);
 2327|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (2327:5): [True: 0, False: 0]
  ------------------
 2328|      0|        return ucs2lib_find_max_char(startptr, endptr);
 2329|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (2329:5): [True: 0, False: 0]
  ------------------
 2330|      0|        return ucs4lib_find_max_char(startptr, endptr);
 2331|      0|    default:
  ------------------
  |  Branch (2331:5): [True: 0, False: 0]
  ------------------
 2332|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 2333|      0|    }
 2334|      0|}
PyUnicode_FromFormatV:
 3115|  16.8k|{
 3116|  16.8k|    _PyUnicodeWriter writer;
 3117|  16.8k|    _PyUnicodeWriter_Init(&writer);
 3118|       |
 3119|  16.8k|    if (unicode_from_format(&writer, format, vargs) < 0) {
  ------------------
  |  Branch (3119:9): [True: 0, False: 16.8k]
  ------------------
 3120|      0|        _PyUnicodeWriter_Dealloc(&writer);
 3121|      0|        return NULL;
 3122|      0|    }
 3123|  16.8k|    return _PyUnicodeWriter_Finish(&writer);
 3124|  16.8k|}
PyUnicode_FromFormat:
 3128|     17|{
 3129|     17|    PyObject* ret;
 3130|     17|    va_list vargs;
 3131|       |
 3132|     17|    va_start(vargs, format);
 3133|     17|    ret = PyUnicode_FromFormatV(format, vargs);
 3134|       |    va_end(vargs);
 3135|     17|    return ret;
 3136|     17|}
PyUnicode_AsWideCharString:
 3286|    130|{
 3287|    130|    wchar_t *buffer;
 3288|    130|    Py_ssize_t buflen;
 3289|       |
 3290|    130|    if (unicode == NULL) {
  ------------------
  |  Branch (3290:9): [True: 0, False: 130]
  ------------------
 3291|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3292|      0|        return NULL;
 3293|      0|    }
 3294|    130|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|    130|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    130|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3294:9): [True: 0, False: 130]
  ------------------
 3295|      0|        PyErr_BadArgument();
 3296|      0|        return NULL;
 3297|      0|    }
 3298|       |
 3299|    130|    buflen = unicode_get_widechar_size(unicode);
 3300|    130|    buffer = (wchar_t *) PyMem_New(wchar_t, (buflen + 1));
  ------------------
  |  |   64|    130|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|    130|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 130]
  |  |  ------------------
  |  |   65|    130|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
 3301|    130|    if (buffer == NULL) {
  ------------------
  |  Branch (3301:9): [True: 0, False: 130]
  ------------------
 3302|      0|        PyErr_NoMemory();
 3303|      0|        return NULL;
 3304|      0|    }
 3305|    130|    unicode_copy_as_widechar(unicode, buffer, buflen + 1);
 3306|       |
 3307|       |#ifdef HAVE_NON_UNICODE_WCHAR_T_REPRESENTATION
 3308|       |    /* Oracle Solaris uses non-Unicode internal wchar_t form for
 3309|       |       non-Unicode locales and hence needs conversion first. */
 3310|       |    if (_Py_LocaleUsesNonUnicodeWchar()) {
 3311|       |        if (_Py_EncodeNonUnicodeWchar_InPlace(buffer, (buflen + 1)) < 0) {
 3312|       |            return NULL;
 3313|       |        }
 3314|       |    }
 3315|       |#endif
 3316|       |
 3317|    130|    if (size != NULL) {
  ------------------
  |  Branch (3317:9): [True: 80, False: 50]
  ------------------
 3318|     80|        *size = buflen;
 3319|     80|    }
 3320|     50|    else if (wcslen(buffer) != (size_t)buflen) {
  ------------------
  |  Branch (3320:14): [True: 0, False: 50]
  ------------------
 3321|      0|        PyMem_Free(buffer);
 3322|      0|        PyErr_SetString(PyExc_ValueError,
 3323|      0|                        "embedded null character");
 3324|      0|        return NULL;
 3325|      0|    }
 3326|    130|    return buffer;
 3327|    130|}
PyUnicode_FromOrdinal:
 3381|     24|{
 3382|     24|    if (ordinal < 0 || ordinal > MAX_UNICODE) {
  ------------------
  |  |  108|     24|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   16|     24|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (3382:9): [True: 0, False: 24]
  |  Branch (3382:24): [True: 0, False: 24]
  ------------------
 3383|      0|        PyErr_SetString(PyExc_ValueError,
 3384|      0|                        "chr() arg not in range(0x110000)");
 3385|      0|        return NULL;
 3386|      0|    }
 3387|       |
 3388|     24|    return unicode_char((Py_UCS4)ordinal);
 3389|     24|}
PyUnicode_FromObject:
 3393|     15|{
 3394|       |    /* XXX Perhaps we should make this API an alias of
 3395|       |       PyObject_Str() instead ?! */
 3396|     15|    if (PyUnicode_CheckExact(obj)) {
  ------------------
  |  |  104|     15|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|     15|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 15, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3397|     15|        return Py_NewRef(obj);
  ------------------
  |  |  550|     15|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3398|     15|    }
 3399|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3400|       |        /* For a Unicode subtype that's not a Unicode object,
 3401|       |           return a true Unicode object with the same data. */
 3402|      0|        return _PyUnicode_Copy(obj);
 3403|      0|    }
 3404|      0|    PyErr_Format(PyExc_TypeError,
 3405|      0|                 "Can't convert '%.100s' object to str implicitly",
 3406|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3407|       |    return NULL;
 3408|      0|}
PyUnicode_FromEncodedObject:
 3414|  6.55k|{
 3415|  6.55k|    Py_buffer buffer;
 3416|  6.55k|    PyObject *v;
 3417|       |
 3418|  6.55k|    if (obj == NULL) {
  ------------------
  |  Branch (3418:9): [True: 0, False: 6.55k]
  ------------------
 3419|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3420|      0|        return NULL;
 3421|      0|    }
 3422|       |
 3423|       |    /* Decoding bytes objects is the most common case and should be fast */
 3424|  6.55k|    if (PyBytes_Check(obj)) {
  ------------------
  |  |   28|  6.55k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  6.55k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 6.55k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3425|  6.55k|        if (PyBytes_GET_SIZE(obj) == 0) {
  ------------------
  |  |   33|  6.55k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  6.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3425:13): [True: 34, False: 6.52k]
  ------------------
 3426|     34|            if (unicode_check_encoding_errors(encoding, errors) < 0) {
  ------------------
  |  Branch (3426:17): [True: 0, False: 34]
  ------------------
 3427|      0|                return NULL;
 3428|      0|            }
 3429|     34|            _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  379|     34|    do {                             \
  |  |  380|     34|        return _PyUnicode_GetEmpty();\
  |  |  381|     34|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3430|     34|        }
 3431|  6.52k|        return PyUnicode_Decode(
 3432|  6.52k|                PyBytes_AS_STRING(obj), PyBytes_GET_SIZE(obj),
  ------------------
  |  |   27|  6.52k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                              PyBytes_AS_STRING(obj), PyBytes_GET_SIZE(obj),
  ------------------
  |  |   33|  6.52k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  6.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3433|  6.52k|                encoding, errors);
 3434|  6.55k|    }
 3435|       |
 3436|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3437|      0|        PyErr_SetString(PyExc_TypeError,
 3438|      0|                        "decoding str is not supported");
 3439|      0|        return NULL;
 3440|      0|    }
 3441|       |
 3442|       |    /* Retrieve a bytes buffer view through the PEP 3118 buffer interface */
 3443|      0|    if (PyObject_GetBuffer(obj, &buffer, PyBUF_SIMPLE) < 0) {
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (3443:9): [True: 0, False: 0]
  ------------------
 3444|      0|        PyErr_Format(PyExc_TypeError,
 3445|      0|                     "decoding to str: need a bytes-like object, %.80s found",
 3446|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3447|      0|        return NULL;
 3448|      0|    }
 3449|       |
 3450|      0|    if (buffer.len == 0) {
  ------------------
  |  Branch (3450:9): [True: 0, False: 0]
  ------------------
 3451|      0|        PyBuffer_Release(&buffer);
 3452|      0|        if (unicode_check_encoding_errors(encoding, errors) < 0) {
  ------------------
  |  Branch (3452:13): [True: 0, False: 0]
  ------------------
 3453|      0|            return NULL;
 3454|      0|        }
 3455|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  379|      0|    do {                             \
  |  |  380|      0|        return _PyUnicode_GetEmpty();\
  |  |  381|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3456|      0|    }
 3457|       |
 3458|      0|    v = PyUnicode_Decode((char*) buffer.buf, buffer.len, encoding, errors);
 3459|      0|    PyBuffer_Release(&buffer);
 3460|      0|    return v;
 3461|      0|}
_Py_normalize_encoding:
 3471|  8.51k|{
 3472|  8.51k|    const char *e;
 3473|  8.51k|    char *l;
 3474|  8.51k|    char *l_end;
 3475|  8.51k|    int punct;
 3476|       |
 3477|  8.51k|    assert(encoding != NULL);
  ------------------
  |  Branch (3477:5): [True: 8.51k, False: 0]
  ------------------
 3478|       |
 3479|  8.51k|    e = encoding;
 3480|  8.51k|    l = lower;
 3481|  8.51k|    l_end = &lower[lower_len - 1];
 3482|  8.51k|    punct = 0;
 3483|  55.6k|    while (1) {
  ------------------
  |  Branch (3483:12): [True: 55.6k, Folded]
  ------------------
 3484|  55.6k|        char c = *e;
 3485|  55.6k|        if (c == 0) {
  ------------------
  |  Branch (3485:13): [True: 8.51k, False: 47.1k]
  ------------------
 3486|  8.51k|            break;
 3487|  8.51k|        }
 3488|       |
 3489|  47.1k|        if (Py_ISALNUM(c) || c == '.') {
  ------------------
  |  |   26|  94.2k|#define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |  138|  47.1k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |   12|  47.1k|#define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   10|  47.1k|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    8|  47.1k|#define PY_CTF_LOWER  0x01
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    9|  47.1k|#define PY_CTF_UPPER  0x02
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|  47.1k|#define PY_CTF_DIGIT  0x04
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (26:24): [True: 47.1k, False: 15]
  |  |  ------------------
  ------------------
  |  Branch (3489:30): [True: 0, False: 15]
  ------------------
 3490|  47.1k|            if (punct && l != lower) {
  ------------------
  |  Branch (3490:17): [True: 15, False: 47.1k]
  |  Branch (3490:26): [True: 15, False: 0]
  ------------------
 3491|     15|                if (l == l_end) {
  ------------------
  |  Branch (3491:21): [True: 0, False: 15]
  ------------------
 3492|      0|                    return 0;
 3493|      0|                }
 3494|     15|                *l++ = '_';
 3495|     15|            }
 3496|  47.1k|            punct = 0;
 3497|       |
 3498|  47.1k|            if (l == l_end) {
  ------------------
  |  Branch (3498:17): [True: 0, False: 47.1k]
  ------------------
 3499|      0|                return 0;
 3500|      0|            }
 3501|  47.1k|            *l++ = to_lower ? Py_TOLOWER(c) : c;
  ------------------
  |  |   32|  47.1k|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  138|  47.1k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  |  Branch (3501:20): [True: 47.1k, False: 8]
  ------------------
 3502|  47.1k|        }
 3503|     15|        else {
 3504|     15|            punct = 1;
 3505|     15|        }
 3506|       |
 3507|  47.1k|        e++;
 3508|  47.1k|    }
 3509|  8.51k|    *l = '\0';
 3510|  8.51k|    return 1;
 3511|  8.51k|}
PyUnicode_Decode:
 3518|  6.52k|{
 3519|  6.52k|    PyObject *buffer = NULL, *unicode;
 3520|  6.52k|    Py_buffer info;
 3521|  6.52k|    char buflower[11];   /* strlen("iso-8859-1\0") == 11, longest shortcut */
 3522|       |
 3523|  6.52k|    if (unicode_check_encoding_errors(encoding, errors) < 0) {
  ------------------
  |  Branch (3523:9): [True: 0, False: 6.52k]
  ------------------
 3524|      0|        return NULL;
 3525|      0|    }
 3526|       |
 3527|  6.52k|    if (size == 0) {
  ------------------
  |  Branch (3527:9): [True: 0, False: 6.52k]
  ------------------
 3528|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  379|      0|    do {                             \
  |  |  380|      0|        return _PyUnicode_GetEmpty();\
  |  |  381|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3529|      0|    }
 3530|       |
 3531|  6.52k|    if (encoding == NULL) {
  ------------------
  |  Branch (3531:9): [True: 0, False: 6.52k]
  ------------------
 3532|      0|        return PyUnicode_DecodeUTF8Stateful(s, size, errors, NULL);
 3533|      0|    }
 3534|       |
 3535|       |    /* Shortcuts for common default encodings */
 3536|  6.52k|    if (_Py_normalize_encoding(encoding, buflower, sizeof(buflower), 1)) {
  ------------------
  |  Branch (3536:9): [True: 6.52k, False: 0]
  ------------------
 3537|  6.52k|        char *lower = buflower;
 3538|       |
 3539|       |        /* Fast paths */
 3540|  6.52k|        if (lower[0] == 'u' && lower[1] == 't' && lower[2] == 'f') {
  ------------------
  |  Branch (3540:13): [True: 7, False: 6.51k]
  |  Branch (3540:32): [True: 7, False: 0]
  |  Branch (3540:51): [True: 7, False: 0]
  ------------------
 3541|      7|            lower += 3;
 3542|      7|            if (*lower == '_') {
  ------------------
  |  Branch (3542:17): [True: 7, False: 0]
  ------------------
 3543|       |                /* Match "utf8" and "utf_8" */
 3544|      7|                lower++;
 3545|      7|            }
 3546|       |
 3547|      7|            if (lower[0] == '8' && lower[1] == 0) {
  ------------------
  |  Branch (3547:17): [True: 7, False: 0]
  |  Branch (3547:36): [True: 7, False: 0]
  ------------------
 3548|      7|                return PyUnicode_DecodeUTF8Stateful(s, size, errors, NULL);
 3549|      7|            }
 3550|      0|            else if (lower[0] == '1' && lower[1] == '6' && lower[2] == 0) {
  ------------------
  |  Branch (3550:22): [True: 0, False: 0]
  |  Branch (3550:41): [True: 0, False: 0]
  |  Branch (3550:60): [True: 0, False: 0]
  ------------------
 3551|      0|                return PyUnicode_DecodeUTF16(s, size, errors, 0);
 3552|      0|            }
 3553|      0|            else if (lower[0] == '3' && lower[1] == '2' && lower[2] == 0) {
  ------------------
  |  Branch (3553:22): [True: 0, False: 0]
  |  Branch (3553:41): [True: 0, False: 0]
  |  Branch (3553:60): [True: 0, False: 0]
  ------------------
 3554|      0|                return PyUnicode_DecodeUTF32(s, size, errors, 0);
 3555|      0|            }
 3556|      7|        }
 3557|  6.51k|        else {
 3558|  6.51k|            if (strcmp(lower, "ascii") == 0
  ------------------
  |  Branch (3558:17): [True: 1.94k, False: 4.56k]
  ------------------
 3559|  4.56k|                || strcmp(lower, "us_ascii") == 0) {
  ------------------
  |  Branch (3559:20): [True: 0, False: 4.56k]
  ------------------
 3560|  1.94k|                return PyUnicode_DecodeASCII(s, size, errors);
 3561|  1.94k|            }
 3562|       |    #ifdef MS_WINDOWS
 3563|       |            else if (strcmp(lower, "mbcs") == 0) {
 3564|       |                return PyUnicode_DecodeMBCS(s, size, errors);
 3565|       |            }
 3566|       |    #endif
 3567|  4.56k|            else if (strcmp(lower, "latin1") == 0
  ------------------
  |  Branch (3567:22): [True: 4.56k, False: 0]
  ------------------
 3568|      0|                     || strcmp(lower, "latin_1") == 0
  ------------------
  |  Branch (3568:25): [True: 0, False: 0]
  ------------------
 3569|      0|                     || strcmp(lower, "iso_8859_1") == 0
  ------------------
  |  Branch (3569:25): [True: 0, False: 0]
  ------------------
 3570|  4.56k|                     || strcmp(lower, "iso8859_1") == 0) {
  ------------------
  |  Branch (3570:25): [True: 0, False: 0]
  ------------------
 3571|  4.56k|                return PyUnicode_DecodeLatin1(s, size, errors);
 3572|  4.56k|            }
 3573|  6.51k|        }
 3574|  6.52k|    }
 3575|       |
 3576|       |    /* Decode via the codec registry */
 3577|      0|    buffer = NULL;
 3578|      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 (3578:9): [True: 0, False: 0]
  ------------------
 3579|      0|        goto onError;
 3580|      0|    buffer = PyMemoryView_FromBuffer(&info);
 3581|      0|    if (buffer == NULL)
  ------------------
  |  Branch (3581:9): [True: 0, False: 0]
  ------------------
 3582|      0|        goto onError;
 3583|      0|    unicode = _PyCodec_DecodeText(buffer, encoding, errors);
 3584|      0|    if (unicode == NULL)
  ------------------
  |  Branch (3584:9): [True: 0, False: 0]
  ------------------
 3585|      0|        goto onError;
 3586|      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 (3586:9): [True: 0, False: 0]
  ------------------
 3587|      0|        PyErr_Format(PyExc_TypeError,
 3588|      0|                     "'%.400s' decoder returned '%.400s' instead of 'str'; "
 3589|      0|                     "use codecs.decode() to decode to arbitrary types",
 3590|      0|                     encoding,
 3591|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3592|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3593|      0|        goto onError;
 3594|      0|    }
 3595|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3596|      0|    return unicode_result(unicode);
  ------------------
  |  |  751|      0|#define unicode_result _PyUnicode_Result
  ------------------
 3597|       |
 3598|      0|  onError:
 3599|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3600|       |    return NULL;
 3601|      0|}
PyUnicode_EncodeFSDefault:
 3739|    193|{
 3740|    193|    PyInterpreterState *interp = _PyInterpreterState_GET();
 3741|    193|    struct _Py_unicode_fs_codec *fs_codec = &interp->unicode.fs_codec;
 3742|    193|    if (fs_codec->utf8) {
  ------------------
  |  Branch (3742:9): [True: 173, False: 20]
  ------------------
 3743|    173|        return unicode_encode_utf8(unicode,
 3744|    173|                                   fs_codec->error_handler,
 3745|    173|                                   fs_codec->errors);
 3746|    173|    }
 3747|     20|#ifndef _Py_FORCE_UTF8_FS_ENCODING
 3748|     20|    else if (fs_codec->encoding) {
  ------------------
  |  Branch (3748:14): [True: 0, False: 20]
  ------------------
 3749|      0|        return PyUnicode_AsEncodedString(unicode,
 3750|      0|                                         fs_codec->encoding,
 3751|      0|                                         fs_codec->errors);
 3752|      0|    }
 3753|     20|#endif
 3754|     20|    else {
 3755|       |        /* Before _PyUnicode_InitEncodings() is called, the Python codec
 3756|       |           machinery is not ready and so cannot be used:
 3757|       |           use wcstombs() in this case. */
 3758|     20|        const PyConfig *config = _PyInterpreterState_GetConfig(interp);
 3759|     20|        const wchar_t *filesystem_errors = config->filesystem_errors;
 3760|     20|        assert(filesystem_errors != NULL);
  ------------------
  |  Branch (3760:9): [True: 20, False: 0]
  ------------------
 3761|     20|        _Py_error_handler errors = get_error_handler_wide(filesystem_errors);
 3762|     20|        assert(errors != _Py_ERROR_UNKNOWN);
  ------------------
  |  Branch (3762:9): [True: 20, False: 0]
  ------------------
 3763|       |#ifdef _Py_FORCE_UTF8_FS_ENCODING
 3764|       |        return unicode_encode_utf8(unicode, errors, NULL);
 3765|       |#else
 3766|     20|        return unicode_encode_locale(unicode, errors, 0);
 3767|     20|#endif
 3768|     20|    }
 3769|    193|}
PyUnicode_AsEncodedString:
 3775|  1.99k|{
 3776|  1.99k|    PyObject *v;
 3777|  1.99k|    char buflower[11];   /* strlen("iso_8859_1\0") == 11, longest shortcut */
 3778|       |
 3779|  1.99k|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  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 (3779:9): [True: 0, False: 1.99k]
  ------------------
 3780|      0|        PyErr_BadArgument();
 3781|      0|        return NULL;
 3782|      0|    }
 3783|       |
 3784|  1.99k|    if (unicode_check_encoding_errors(encoding, errors) < 0) {
  ------------------
  |  Branch (3784:9): [True: 0, False: 1.99k]
  ------------------
 3785|      0|        return NULL;
 3786|      0|    }
 3787|       |
 3788|  1.99k|    if (encoding == NULL) {
  ------------------
  |  Branch (3788:9): [True: 0, False: 1.99k]
  ------------------
 3789|      0|        return _PyUnicode_AsUTF8String(unicode, errors);
 3790|      0|    }
 3791|       |
 3792|       |    /* Shortcuts for common default encodings */
 3793|  1.99k|    if (_Py_normalize_encoding(encoding, buflower, sizeof(buflower), 1)) {
  ------------------
  |  Branch (3793:9): [True: 1.99k, False: 0]
  ------------------
 3794|  1.99k|        char *lower = buflower;
 3795|       |
 3796|       |        /* Fast paths */
 3797|  1.99k|        if (lower[0] == 'u' && lower[1] == 't' && lower[2] == 'f') {
  ------------------
  |  Branch (3797:13): [True: 6, False: 1.98k]
  |  Branch (3797:32): [True: 6, False: 0]
  |  Branch (3797:51): [True: 6, False: 0]
  ------------------
 3798|      6|            lower += 3;
 3799|      6|            if (*lower == '_') {
  ------------------
  |  Branch (3799:17): [True: 6, False: 0]
  ------------------
 3800|       |                /* Match "utf8" and "utf_8" */
 3801|      6|                lower++;
 3802|      6|            }
 3803|       |
 3804|      6|            if (lower[0] == '8' && lower[1] == 0) {
  ------------------
  |  Branch (3804:17): [True: 6, False: 0]
  |  Branch (3804:36): [True: 6, False: 0]
  ------------------
 3805|      6|                return _PyUnicode_AsUTF8String(unicode, errors);
 3806|      6|            }
 3807|      0|            else if (lower[0] == '1' && lower[1] == '6' && lower[2] == 0) {
  ------------------
  |  Branch (3807:22): [True: 0, False: 0]
  |  Branch (3807:41): [True: 0, False: 0]
  |  Branch (3807:60): [True: 0, False: 0]
  ------------------
 3808|      0|                return _PyUnicode_EncodeUTF16(unicode, errors, 0);
 3809|      0|            }
 3810|      0|            else if (lower[0] == '3' && lower[1] == '2' && lower[2] == 0) {
  ------------------
  |  Branch (3810:22): [True: 0, False: 0]
  |  Branch (3810:41): [True: 0, False: 0]
  |  Branch (3810:60): [True: 0, False: 0]
  ------------------
 3811|      0|                return _PyUnicode_EncodeUTF32(unicode, errors, 0);
 3812|      0|            }
 3813|      6|        }
 3814|  1.98k|        else {
 3815|  1.98k|            if (strcmp(lower, "ascii") == 0
  ------------------
  |  Branch (3815:17): [True: 1.98k, False: 0]
  ------------------
 3816|  1.98k|                || strcmp(lower, "us_ascii") == 0) {
  ------------------
  |  Branch (3816:20): [True: 0, False: 0]
  ------------------
 3817|  1.98k|                return _PyUnicode_AsASCIIString(unicode, errors);
 3818|  1.98k|            }
 3819|       |#ifdef MS_WINDOWS
 3820|       |            else if (strcmp(lower, "mbcs") == 0) {
 3821|       |                return PyUnicode_EncodeCodePage(CP_ACP, unicode, errors);
 3822|       |            }
 3823|       |#endif
 3824|      0|            else if (strcmp(lower, "latin1") == 0 ||
  ------------------
  |  Branch (3824:22): [True: 0, False: 0]
  ------------------
 3825|      0|                     strcmp(lower, "latin_1") == 0 ||
  ------------------
  |  Branch (3825:22): [True: 0, False: 0]
  ------------------
 3826|      0|                     strcmp(lower, "iso_8859_1") == 0 ||
  ------------------
  |  Branch (3826:22): [True: 0, False: 0]
  ------------------
 3827|      0|                     strcmp(lower, "iso8859_1") == 0) {
  ------------------
  |  Branch (3827:22): [True: 0, False: 0]
  ------------------
 3828|      0|                return _PyUnicode_AsLatin1String(unicode, errors);
 3829|      0|            }
 3830|  1.98k|        }
 3831|  1.99k|    }
 3832|       |
 3833|       |    /* Encode via the codec registry */
 3834|      0|    v = _PyCodec_EncodeText(unicode, encoding, errors);
 3835|      0|    if (v == NULL)
  ------------------
  |  Branch (3835:9): [True: 0, False: 0]
  ------------------
 3836|      0|        return NULL;
 3837|       |
 3838|       |    /* The normal path */
 3839|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3840|      0|        return v;
 3841|       |
 3842|       |    /* If the codec returns a buffer, raise a warning and convert to bytes */
 3843|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3844|      0|        int error;
 3845|      0|        PyObject *b;
 3846|       |
 3847|      0|        error = PyErr_WarnFormat(PyExc_RuntimeWarning, 1,
 3848|      0|            "encoder %s returned bytearray instead of bytes; "
 3849|      0|            "use codecs.encode() to encode to arbitrary types",
 3850|      0|            encoding);
 3851|      0|        if (error) {
  ------------------
  |  Branch (3851:13): [True: 0, False: 0]
  ------------------
 3852|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3853|      0|            return NULL;
 3854|      0|        }
 3855|       |
 3856|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3857|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3858|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3859|      0|        return b;
 3860|      0|    }
 3861|       |
 3862|      0|    PyErr_Format(PyExc_TypeError,
 3863|      0|                 "'%.400s' encoder returned '%.400s' instead of 'bytes'; "
 3864|      0|                 "use codecs.encode() to encode to arbitrary types",
 3865|      0|                 encoding,
 3866|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3867|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3868|       |    return NULL;
 3869|      0|}
PyUnicode_DecodeLocale:
 3956|     28|{
 3957|     28|    Py_ssize_t size = (Py_ssize_t)strlen(str);
 3958|     28|    _Py_error_handler error_handler = _Py_GetErrorHandler(errors);
 3959|     28|    return unicode_decode_locale(str, size, error_handler, 1);
 3960|     28|}
PyUnicode_DecodeFSDefaultAndSize:
 3971|    562|{
 3972|    562|    PyInterpreterState *interp = _PyInterpreterState_GET();
 3973|    562|    struct _Py_unicode_fs_codec *fs_codec = &interp->unicode.fs_codec;
 3974|    562|    if (fs_codec->utf8) {
  ------------------
  |  Branch (3974:9): [True: 560, False: 2]
  ------------------
 3975|    560|        return unicode_decode_utf8(s, size,
 3976|    560|                                   fs_codec->error_handler,
 3977|    560|                                   fs_codec->errors,
 3978|    560|                                   NULL);
 3979|    560|    }
 3980|      2|#ifndef _Py_FORCE_UTF8_FS_ENCODING
 3981|      2|    else if (fs_codec->encoding) {
  ------------------
  |  Branch (3981:14): [True: 0, False: 2]
  ------------------
 3982|      0|        return PyUnicode_Decode(s, size,
 3983|      0|                                fs_codec->encoding,
 3984|      0|                                fs_codec->errors);
 3985|      0|    }
 3986|      2|#endif
 3987|      2|    else {
 3988|       |        /* Before _PyUnicode_InitEncodings() is called, the Python codec
 3989|       |           machinery is not ready and so cannot be used:
 3990|       |           use mbstowcs() in this case. */
 3991|      2|        const PyConfig *config = _PyInterpreterState_GetConfig(interp);
 3992|      2|        const wchar_t *filesystem_errors = config->filesystem_errors;
 3993|      2|        assert(filesystem_errors != NULL);
  ------------------
  |  Branch (3993:9): [True: 2, False: 0]
  ------------------
 3994|      2|        _Py_error_handler errors = get_error_handler_wide(filesystem_errors);
 3995|      2|        assert(errors != _Py_ERROR_UNKNOWN);
  ------------------
  |  Branch (3995:9): [True: 2, False: 0]
  ------------------
 3996|       |#ifdef _Py_FORCE_UTF8_FS_ENCODING
 3997|       |        return unicode_decode_utf8(s, size, errors, NULL, NULL);
 3998|       |#else
 3999|      2|        return unicode_decode_locale(s, size, errors, 0);
 4000|      2|#endif
 4001|      2|    }
 4002|    562|}
PyUnicode_FSConverter:
 4007|     37|{
 4008|     37|    PyObject *path = NULL;
 4009|     37|    PyObject *output = NULL;
 4010|     37|    Py_ssize_t size;
 4011|     37|    const char *data;
 4012|     37|    if (arg == NULL) {
  ------------------
  |  Branch (4012:9): [True: 0, False: 37]
  ------------------
 4013|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4014|      0|        *(PyObject**)addr = NULL;
 4015|      0|        return 1;
 4016|      0|    }
 4017|     37|    path = PyOS_FSPath(arg);
 4018|     37|    if (path == NULL) {
  ------------------
  |  Branch (4018:9): [True: 0, False: 37]
  ------------------
 4019|      0|        return 0;
 4020|      0|    }
 4021|     37|    if (PyBytes_Check(path)) {
  ------------------
  |  |   28|     37|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     37|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 37]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4022|      0|        output = path;
 4023|      0|    }
 4024|     37|    else {  // PyOS_FSPath() guarantees its returned value is bytes or str.
 4025|     37|        output = PyUnicode_EncodeFSDefault(path);
 4026|     37|        Py_DECREF(path);
  ------------------
  |  |  430|     37|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4027|     37|        if (!output) {
  ------------------
  |  Branch (4027:13): [True: 0, False: 37]
  ------------------
 4028|      0|            return 0;
 4029|      0|        }
 4030|     37|        assert(PyBytes_Check(output));
  ------------------
  |  Branch (4030:9): [True: 37, False: 0]
  ------------------
 4031|     37|    }
 4032|       |
 4033|     37|    size = PyBytes_GET_SIZE(output);
  ------------------
  |  |   33|     37|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4034|     37|    data = PyBytes_AS_STRING(output);
  ------------------
  |  |   27|     37|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4035|     37|    if ((size_t)size != strlen(data)) {
  ------------------
  |  Branch (4035:9): [True: 0, False: 37]
  ------------------
 4036|      0|        PyErr_SetString(PyExc_ValueError, "embedded null byte");
 4037|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4038|      0|        return 0;
 4039|      0|    }
 4040|     37|    *(PyObject**)addr = output;
 4041|     37|    return Py_CLEANUP_SUPPORTED;
  ------------------
  |  |   57|     37|#define Py_CLEANUP_SUPPORTED 0x20000
  ------------------
 4042|     37|}
PyUnicode_AsUTF8AndSize:
 4109|   151k|{
 4110|   151k|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|   151k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   151k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4110:9): [True: 0, False: 151k]
  ------------------
 4111|      0|        PyErr_BadArgument();
 4112|      0|        if (psize) {
  ------------------
  |  Branch (4112:13): [True: 0, False: 0]
  ------------------
 4113|      0|            *psize = -1;
 4114|      0|        }
 4115|      0|        return NULL;
 4116|      0|    }
 4117|       |
 4118|   151k|    if (unicode_ensure_utf8(unicode) == -1) {
  ------------------
  |  Branch (4118:9): [True: 0, False: 151k]
  ------------------
 4119|      0|        if (psize) {
  ------------------
  |  Branch (4119:13): [True: 0, False: 0]
  ------------------
 4120|      0|            *psize = -1;
 4121|      0|        }
 4122|      0|        return NULL;
 4123|      0|    }
 4124|       |
 4125|   151k|    if (psize) {
  ------------------
  |  Branch (4125:9): [True: 151k, False: 234]
  ------------------
 4126|   151k|        *psize = PyUnicode_UTF8_LENGTH(unicode);
 4127|   151k|    }
 4128|   151k|    return PyUnicode_UTF8(unicode);
 4129|   151k|}
PyUnicode_AsUTF8:
 4133|    234|{
 4134|       |    return PyUnicode_AsUTF8AndSize(unicode, NULL);
 4135|    234|}
_PyUnicode_AsUTF8NoNUL:
 4139|  4.79k|{
 4140|  4.79k|    Py_ssize_t size;
 4141|  4.79k|    const char *s = PyUnicode_AsUTF8AndSize(unicode, &size);
 4142|  4.79k|    if (s && strlen(s) != (size_t)size) {
  ------------------
  |  Branch (4142:9): [True: 4.79k, False: 0]
  |  Branch (4142:14): [True: 0, False: 4.79k]
  ------------------
 4143|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
 4144|      0|        return NULL;
 4145|      0|    }
 4146|  4.79k|    return s;
 4147|  4.79k|}
PyUnicode_GetLength:
 4167|     68|{
 4168|     68|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|     68|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     68|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4168:9): [True: 0, False: 68]
  ------------------
 4169|      0|        PyErr_BadArgument();
 4170|      0|        return -1;
 4171|      0|    }
 4172|     68|    return PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4173|     68|}
PyUnicode_DecodeUTF8:
 4868|    166|{
 4869|       |    return PyUnicode_DecodeUTF8Stateful(s, size, errors, NULL);
 4870|    166|}
_PyUnicode_DecodeUTF8Writer:
 5352|  2.09k|{
 5353|  2.09k|    if (size == 0) {
  ------------------
  |  Branch (5353:9): [True: 0, False: 2.09k]
  ------------------
 5354|      0|        if (consumed) {
  ------------------
  |  Branch (5354:13): [True: 0, False: 0]
  ------------------
 5355|      0|            *consumed = 0;
 5356|      0|        }
 5357|      0|        return 0;
 5358|      0|    }
 5359|       |
 5360|       |    // fast path: try ASCII string.
 5361|  2.09k|    if (_PyUnicodeWriter_Prepare(writer, size, 127) < 0) {
  ------------------
  |  |  562|  2.09k|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 2.09k, False: 0]
  |  |  ------------------
  |  |  563|  2.09k|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 2.09k, False: 0]
  |  |  ------------------
  |  |  564|  2.09k|     ? 0                                                              \
  |  |  565|  2.09k|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  566|      0|        ? 0                                                           \
  |  |  567|      0|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (5361:9): [True: 0, False: 2.09k]
  ------------------
 5362|      0|        return -1;
 5363|      0|    }
 5364|       |
 5365|  2.09k|    const char *starts = s;
 5366|  2.09k|    const char *end = s + size;
 5367|  2.09k|    Py_ssize_t decoded = 0;
 5368|  2.09k|    Py_UCS1 *dest = (Py_UCS1*)writer->data + writer->pos * writer->kind;
 5369|  2.09k|    if (writer->kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (5369:9): [True: 2.09k, False: 0]
  ------------------
 5370|  2.09k|        decoded = ascii_decode(s, end, dest);
 5371|  2.09k|        writer->pos += decoded;
 5372|       |
 5373|  2.09k|        if (decoded == size) {
  ------------------
  |  Branch (5373:13): [True: 2.09k, False: 0]
  ------------------
 5374|  2.09k|            if (consumed) {
  ------------------
  |  Branch (5374:17): [True: 0, False: 2.09k]
  ------------------
 5375|      0|                *consumed = size;
 5376|      0|            }
 5377|  2.09k|            return 0;
 5378|  2.09k|        }
 5379|      0|        s += decoded;
 5380|      0|    }
 5381|       |
 5382|      0|    return unicode_decode_utf8_impl(writer, starts, s, end,
 5383|      0|                                    error_handler, errors, consumed);
 5384|  2.09k|}
PyUnicode_DecodeUTF8Stateful:
 5392|  1.29M|{
 5393|  1.29M|    return unicode_decode_utf8(s, size,
 5394|  1.29M|                               errors ? _Py_ERROR_UNKNOWN : _Py_ERROR_STRICT,
  ------------------
  |  Branch (5394:32): [True: 22, False: 1.29M]
  ------------------
 5395|  1.29M|                               errors, consumed);
 5396|  1.29M|}
_Py_DecodeUTF8Ex:
 5414|     14|{
 5415|     14|    const char *orig_s = s;
 5416|     14|    const char *e;
 5417|     14|    wchar_t *unicode;
 5418|     14|    Py_ssize_t outpos;
 5419|       |
 5420|     14|    int surrogateescape = 0;
 5421|     14|    int surrogatepass = 0;
 5422|     14|    switch (errors)
 5423|     14|    {
 5424|      0|    case _Py_ERROR_STRICT:
  ------------------
  |  Branch (5424:5): [True: 0, False: 14]
  ------------------
 5425|      0|        break;
 5426|     14|    case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (5426:5): [True: 14, False: 0]
  ------------------
 5427|     14|        surrogateescape = 1;
 5428|     14|        break;
 5429|      0|    case _Py_ERROR_SURROGATEPASS:
  ------------------
  |  Branch (5429:5): [True: 0, False: 14]
  ------------------
 5430|      0|        surrogatepass = 1;
 5431|      0|        break;
 5432|      0|    default:
  ------------------
  |  Branch (5432:5): [True: 0, False: 14]
  ------------------
 5433|      0|        return -3;
 5434|     14|    }
 5435|       |
 5436|       |    /* Note: size will always be longer than the resulting Unicode
 5437|       |       character count */
 5438|     14|    if (PY_SSIZE_T_MAX / (Py_ssize_t)sizeof(wchar_t) - 1 < size) {
  ------------------
  |  |  137|     14|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (5438:9): [True: 0, False: 14]
  ------------------
 5439|      0|        return -1;
 5440|      0|    }
 5441|       |
 5442|     14|    unicode = PyMem_RawMalloc((size + 1) * sizeof(wchar_t));
 5443|     14|    if (!unicode) {
  ------------------
  |  Branch (5443:9): [True: 0, False: 14]
  ------------------
 5444|      0|        return -1;
 5445|      0|    }
 5446|       |
 5447|       |    /* Unpack UTF-8 encoded data */
 5448|     14|    e = s + size;
 5449|     14|    outpos = 0;
 5450|     14|    while (s < e) {
  ------------------
  |  Branch (5450:12): [True: 14, False: 0]
  ------------------
 5451|     14|        Py_UCS4 ch;
 5452|     14|#if SIZEOF_WCHAR_T == 4
 5453|     14|        ch = ucs4lib_utf8_decode(&s, e, (Py_UCS4 *)unicode, &outpos);
 5454|       |#else
 5455|       |        ch = ucs2lib_utf8_decode(&s, e, (Py_UCS2 *)unicode, &outpos);
 5456|       |#endif
 5457|     14|        if (ch > 0xFF) {
  ------------------
  |  Branch (5457:13): [True: 0, False: 14]
  ------------------
 5458|      0|#if SIZEOF_WCHAR_T == 4
 5459|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 5460|       |#else
 5461|       |            assert(ch > 0xFFFF && ch <= MAX_UNICODE);
 5462|       |            /* write a surrogate pair */
 5463|       |            unicode[outpos++] = (wchar_t)Py_UNICODE_HIGH_SURROGATE(ch);
 5464|       |            unicode[outpos++] = (wchar_t)Py_UNICODE_LOW_SURROGATE(ch);
 5465|       |#endif
 5466|      0|        }
 5467|     14|        else {
 5468|     14|            if (!ch && s == e) {
  ------------------
  |  Branch (5468:17): [True: 14, False: 0]
  |  Branch (5468:24): [True: 14, False: 0]
  ------------------
 5469|     14|                break;
 5470|     14|            }
 5471|       |
 5472|      0|            if (surrogateescape) {
  ------------------
  |  Branch (5472:17): [True: 0, False: 0]
  ------------------
 5473|      0|                unicode[outpos++] = 0xDC00 + (unsigned char)*s++;
 5474|      0|            }
 5475|      0|            else {
 5476|       |                /* Is it a valid three-byte code? */
 5477|      0|                if (surrogatepass
  ------------------
  |  Branch (5477:21): [True: 0, False: 0]
  ------------------
 5478|      0|                    && (e - s) >= 3
  ------------------
  |  Branch (5478:24): [True: 0, False: 0]
  ------------------
 5479|      0|                    && (s[0] & 0xf0) == 0xe0
  ------------------
  |  Branch (5479:24): [True: 0, False: 0]
  ------------------
 5480|      0|                    && (s[1] & 0xc0) == 0x80
  ------------------
  |  Branch (5480:24): [True: 0, False: 0]
  ------------------
 5481|      0|                    && (s[2] & 0xc0) == 0x80)
  ------------------
  |  Branch (5481:24): [True: 0, False: 0]
  ------------------
 5482|      0|                {
 5483|      0|                    ch = ((s[0] & 0x0f) << 12) + ((s[1] & 0x3f) << 6) + (s[2] & 0x3f);
 5484|      0|                    s += 3;
 5485|      0|                    unicode[outpos++] = ch;
 5486|      0|                }
 5487|      0|                else {
 5488|      0|                    PyMem_RawFree(unicode );
 5489|      0|                    if (reason != NULL) {
  ------------------
  |  Branch (5489:25): [True: 0, False: 0]
  ------------------
 5490|      0|                        switch (ch) {
 5491|      0|                        case 0:
  ------------------
  |  Branch (5491:25): [True: 0, False: 0]
  ------------------
 5492|      0|                            *reason = "unexpected end of data";
 5493|      0|                            break;
 5494|      0|                        case 1:
  ------------------
  |  Branch (5494:25): [True: 0, False: 0]
  ------------------
 5495|      0|                            *reason = "invalid start byte";
 5496|      0|                            break;
 5497|       |                        /* 2, 3, 4 */
 5498|      0|                        default:
  ------------------
  |  Branch (5498:25): [True: 0, False: 0]
  ------------------
 5499|      0|                            *reason = "invalid continuation byte";
 5500|      0|                            break;
 5501|      0|                        }
 5502|      0|                    }
 5503|      0|                    if (wlen != NULL) {
  ------------------
  |  Branch (5503:25): [True: 0, False: 0]
  ------------------
 5504|      0|                        *wlen = s - orig_s;
 5505|      0|                    }
 5506|      0|                    return -2;
 5507|      0|                }
 5508|      0|            }
 5509|      0|        }
 5510|     14|    }
 5511|     14|    unicode[outpos] = L'\0';
 5512|     14|    if (wlen) {
  ------------------
  |  Branch (5512:9): [True: 14, False: 0]
  ------------------
 5513|     14|        *wlen = outpos;
 5514|     14|    }
 5515|     14|    *wstr = unicode;
 5516|     14|    return 0;
 5517|     14|}
_Py_EncodeUTF8Ex:
 5553|     38|{
 5554|     38|    const Py_ssize_t max_char_size = 4;
 5555|     38|    Py_ssize_t len = wcslen(text);
 5556|       |
 5557|     38|    assert(len >= 0);
  ------------------
  |  Branch (5557:5): [True: 38, False: 0]
  ------------------
 5558|       |
 5559|     38|    int surrogateescape = 0;
 5560|     38|    int surrogatepass = 0;
 5561|     38|    switch (errors)
 5562|     38|    {
 5563|      8|    case _Py_ERROR_STRICT:
  ------------------
  |  Branch (5563:5): [True: 8, False: 30]
  ------------------
 5564|      8|        break;
 5565|     30|    case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (5565:5): [True: 30, False: 8]
  ------------------
 5566|     30|        surrogateescape = 1;
 5567|     30|        break;
 5568|      0|    case _Py_ERROR_SURROGATEPASS:
  ------------------
  |  Branch (5568:5): [True: 0, False: 38]
  ------------------
 5569|      0|        surrogatepass = 1;
 5570|      0|        break;
 5571|      0|    default:
  ------------------
  |  Branch (5571:5): [True: 0, False: 38]
  ------------------
 5572|      0|        return -3;
 5573|     38|    }
 5574|       |
 5575|     38|    if (len > PY_SSIZE_T_MAX / max_char_size - 1) {
  ------------------
  |  |  137|     38|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (5575:9): [True: 0, False: 38]
  ------------------
 5576|      0|        return -1;
 5577|      0|    }
 5578|     38|    char *bytes;
 5579|     38|    if (raw_malloc) {
  ------------------
  |  Branch (5579:9): [True: 38, False: 0]
  ------------------
 5580|     38|        bytes = PyMem_RawMalloc((len + 1) * max_char_size);
 5581|     38|    }
 5582|      0|    else {
 5583|      0|        bytes = PyMem_Malloc((len + 1) * max_char_size);
 5584|      0|    }
 5585|     38|    if (bytes == NULL) {
  ------------------
  |  Branch (5585:9): [True: 0, False: 38]
  ------------------
 5586|      0|        return -1;
 5587|      0|    }
 5588|       |
 5589|     38|    char *p = bytes;
 5590|     38|    Py_ssize_t i;
 5591|  1.70k|    for (i = 0; i < len; ) {
  ------------------
  |  Branch (5591:17): [True: 1.67k, False: 38]
  ------------------
 5592|  1.67k|        Py_ssize_t ch_pos = i;
 5593|  1.67k|        Py_UCS4 ch = text[i];
 5594|  1.67k|        i++;
 5595|  1.67k|        if (sizeof(wchar_t) == 2
  ------------------
  |  Branch (5595:13): [Folded, False: 1.67k]
  ------------------
 5596|      0|            && Py_UNICODE_IS_HIGH_SURROGATE(ch)
  ------------------
  |  Branch (5596:16): [True: 0, False: 0]
  ------------------
 5597|      0|            && i < len
  ------------------
  |  Branch (5597:16): [True: 0, False: 0]
  ------------------
 5598|      0|            && Py_UNICODE_IS_LOW_SURROGATE(text[i]))
  ------------------
  |  Branch (5598:16): [True: 0, False: 0]
  ------------------
 5599|      0|        {
 5600|      0|            ch = Py_UNICODE_JOIN_SURROGATES(ch, text[i]);
 5601|      0|            i++;
 5602|      0|        }
 5603|       |
 5604|  1.67k|        if (ch < 0x80) {
  ------------------
  |  Branch (5604:13): [True: 1.67k, False: 0]
  ------------------
 5605|       |            /* Encode ASCII */
 5606|  1.67k|            *p++ = (char) ch;
 5607|       |
 5608|  1.67k|        }
 5609|      0|        else if (ch < 0x0800) {
  ------------------
  |  Branch (5609:18): [True: 0, False: 0]
  ------------------
 5610|       |            /* Encode Latin-1 */
 5611|      0|            *p++ = (char)(0xc0 | (ch >> 6));
 5612|      0|            *p++ = (char)(0x80 | (ch & 0x3f));
 5613|      0|        }
 5614|      0|        else if (Py_UNICODE_IS_SURROGATE(ch) && !surrogatepass) {
  ------------------
  |  Branch (5614:18): [True: 0, False: 0]
  |  Branch (5614:49): [True: 0, False: 0]
  ------------------
 5615|       |            /* surrogateescape error handler */
 5616|      0|            if (!surrogateescape || !(0xDC80 <= ch && ch <= 0xDCFF)) {
  ------------------
  |  Branch (5616:17): [True: 0, False: 0]
  |  Branch (5616:39): [True: 0, False: 0]
  |  Branch (5616:55): [True: 0, False: 0]
  ------------------
 5617|      0|                if (error_pos != NULL) {
  ------------------
  |  Branch (5617:21): [True: 0, False: 0]
  ------------------
 5618|      0|                    *error_pos = (size_t)ch_pos;
 5619|      0|                }
 5620|      0|                if (reason != NULL) {
  ------------------
  |  Branch (5620:21): [True: 0, False: 0]
  ------------------
 5621|      0|                    *reason = "encoding error";
 5622|      0|                }
 5623|      0|                if (raw_malloc) {
  ------------------
  |  Branch (5623:21): [True: 0, False: 0]
  ------------------
 5624|      0|                    PyMem_RawFree(bytes);
 5625|      0|                }
 5626|      0|                else {
 5627|      0|                    PyMem_Free(bytes);
 5628|      0|                }
 5629|      0|                return -2;
 5630|      0|            }
 5631|      0|            *p++ = (char)(ch & 0xff);
 5632|      0|        }
 5633|      0|        else if (ch < 0x10000) {
  ------------------
  |  Branch (5633:18): [True: 0, False: 0]
  ------------------
 5634|      0|            *p++ = (char)(0xe0 | (ch >> 12));
 5635|      0|            *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
 5636|      0|            *p++ = (char)(0x80 | (ch & 0x3f));
 5637|      0|        }
 5638|      0|        else {  /* ch >= 0x10000 */
 5639|      0|            assert(ch <= MAX_UNICODE);
  ------------------
  |  Branch (5639:13): [True: 0, False: 0]
  ------------------
 5640|       |            /* Encode UCS4 Unicode ordinals */
 5641|      0|            *p++ = (char)(0xf0 | (ch >> 18));
 5642|      0|            *p++ = (char)(0x80 | ((ch >> 12) & 0x3f));
 5643|      0|            *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
 5644|      0|            *p++ = (char)(0x80 | (ch & 0x3f));
 5645|      0|        }
 5646|  1.67k|    }
 5647|     38|    *p++ = '\0';
 5648|       |
 5649|     38|    size_t final_size = (p - bytes);
 5650|     38|    char *bytes2;
 5651|     38|    if (raw_malloc) {
  ------------------
  |  Branch (5651:9): [True: 38, False: 0]
  ------------------
 5652|     38|        bytes2 = PyMem_RawRealloc(bytes, final_size);
 5653|     38|    }
 5654|      0|    else {
 5655|      0|        bytes2 = PyMem_Realloc(bytes, final_size);
 5656|      0|    }
 5657|     38|    if (bytes2 == NULL) {
  ------------------
  |  Branch (5657:9): [True: 0, False: 38]
  ------------------
 5658|      0|        if (error_pos != NULL) {
  ------------------
  |  Branch (5658:13): [True: 0, False: 0]
  ------------------
 5659|      0|            *error_pos = (size_t)-1;
 5660|      0|        }
 5661|      0|        if (raw_malloc) {
  ------------------
  |  Branch (5661:13): [True: 0, False: 0]
  ------------------
 5662|      0|            PyMem_RawFree(bytes);
 5663|      0|        }
 5664|      0|        else {
 5665|      0|            PyMem_Free(bytes);
 5666|      0|        }
 5667|      0|        return -1;
 5668|      0|    }
 5669|     38|    *str = bytes2;
 5670|     38|    return 0;
 5671|     38|}
_PyUnicode_AsUTF8String:
 5780|      6|{
 5781|      6|    return unicode_encode_utf8(unicode, _Py_ERROR_UNKNOWN, errors);
 5782|      6|}
PyUnicode_DecodeLatin1:
 7082|  4.56k|{
 7083|       |    /* Latin-1 is equivalent to the first 256 ordinals in Unicode. */
 7084|  4.56k|    return _PyUnicode_FromUCS1((const unsigned char*)s, size);
 7085|  4.56k|}
PyUnicode_DecodeASCII:
 7399|  2.27k|{
 7400|  2.27k|    const char *starts = s;
 7401|  2.27k|    const char *e = s + size;
 7402|  2.27k|    PyObject *error_handler_obj = NULL;
 7403|  2.27k|    PyObject *exc = NULL;
 7404|  2.27k|    _Py_error_handler error_handler = _Py_ERROR_UNKNOWN;
 7405|       |
 7406|  2.27k|    if (size == 0)
  ------------------
  |  Branch (7406:9): [True: 0, False: 2.27k]
  ------------------
 7407|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  379|      0|    do {                             \
  |  |  380|      0|        return _PyUnicode_GetEmpty();\
  |  |  381|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 7408|       |
 7409|       |    /* ASCII is equivalent to the first 128 ordinals in Unicode. */
 7410|  2.27k|    if (size == 1 && (unsigned char)s[0] < 128) {
  ------------------
  |  Branch (7410:9): [True: 0, False: 2.27k]
  |  Branch (7410:22): [True: 0, False: 0]
  ------------------
 7411|      0|        return get_latin1_char((unsigned char)s[0]);
 7412|      0|    }
 7413|       |
 7414|       |    // Shortcut for simple case
 7415|  2.27k|    PyObject *u = PyUnicode_New(size, 127);
 7416|  2.27k|    if (u == NULL) {
  ------------------
  |  Branch (7416:9): [True: 0, False: 2.27k]
  ------------------
 7417|      0|        return NULL;
 7418|      0|    }
 7419|  2.27k|    Py_ssize_t outpos = ascii_decode(s, e, PyUnicode_1BYTE_DATA(u));
  ------------------
  |  |  291|  2.27k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  2.27k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 7420|  2.27k|    if (outpos == size) {
  ------------------
  |  Branch (7420:9): [True: 2.27k, False: 0]
  ------------------
 7421|  2.27k|        return u;
 7422|  2.27k|    }
 7423|       |
 7424|      0|    _PyUnicodeWriter writer;
 7425|      0|    _PyUnicodeWriter_InitWithBuffer(&writer, u);
 7426|      0|    writer.pos = outpos;
 7427|       |
 7428|      0|    s += outpos;
 7429|      0|    int kind = writer.kind;
 7430|      0|    void *data = writer.data;
 7431|      0|    Py_ssize_t startinpos, endinpos;
 7432|       |
 7433|      0|    while (s < e) {
  ------------------
  |  Branch (7433:12): [True: 0, False: 0]
  ------------------
 7434|      0|        unsigned char c = (unsigned char)*s;
 7435|      0|        if (c < 128) {
  ------------------
  |  Branch (7435:13): [True: 0, False: 0]
  ------------------
 7436|      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))
  |  |  ------------------
  ------------------
 7437|      0|            writer.pos++;
 7438|      0|            ++s;
 7439|      0|            continue;
 7440|      0|        }
 7441|       |
 7442|       |        /* byte outsize range 0x00..0x7f: call the error handler */
 7443|       |
 7444|      0|        if (error_handler == _Py_ERROR_UNKNOWN)
  ------------------
  |  Branch (7444:13): [True: 0, False: 0]
  ------------------
 7445|      0|            error_handler = _Py_GetErrorHandler(errors);
 7446|       |
 7447|      0|        switch (error_handler)
 7448|      0|        {
 7449|      0|        case _Py_ERROR_REPLACE:
  ------------------
  |  Branch (7449:9): [True: 0, False: 0]
  ------------------
 7450|      0|        case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (7450:9): [True: 0, False: 0]
  ------------------
 7451|       |            /* Fast-path: the error handler only writes one character,
 7452|       |               but we may switch to UCS2 at the first write */
 7453|      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 (7453:17): [True: 0, False: 0]
  ------------------
 7454|      0|                goto onError;
 7455|      0|            kind = writer.kind;
 7456|      0|            data = writer.data;
 7457|       |
 7458|      0|            if (error_handler == _Py_ERROR_REPLACE)
  ------------------
  |  Branch (7458:17): [True: 0, False: 0]
  ------------------
 7459|      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))
  |  |  ------------------
  ------------------
 7460|      0|            else
 7461|      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))
  |  |  ------------------
  ------------------
 7462|      0|            writer.pos++;
 7463|      0|            ++s;
 7464|      0|            break;
 7465|       |
 7466|      0|        case _Py_ERROR_IGNORE:
  ------------------
  |  Branch (7466:9): [True: 0, False: 0]
  ------------------
 7467|      0|            ++s;
 7468|      0|            break;
 7469|       |
 7470|      0|        default:
  ------------------
  |  Branch (7470:9): [True: 0, False: 0]
  ------------------
 7471|      0|            startinpos = s-starts;
 7472|      0|            endinpos = startinpos + 1;
 7473|      0|            if (unicode_decode_call_errorhandler_writer(
  ------------------
  |  Branch (7473:17): [True: 0, False: 0]
  ------------------
 7474|      0|                    errors, &error_handler_obj,
 7475|      0|                    "ascii", "ordinal not in range(128)",
 7476|      0|                    &starts, &e, &startinpos, &endinpos, &exc, &s,
 7477|      0|                    &writer))
 7478|      0|                goto onError;
 7479|      0|            kind = writer.kind;
 7480|      0|            data = writer.data;
 7481|      0|        }
 7482|      0|    }
 7483|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7484|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7485|      0|    return _PyUnicodeWriter_Finish(&writer);
 7486|       |
 7487|      0|  onError:
 7488|      0|    _PyUnicodeWriter_Dealloc(&writer);
 7489|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7490|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7491|       |    return NULL;
 7492|      0|}
_PyUnicode_AsASCIIString:
 7496|  2.24k|{
 7497|  2.24k|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|  2.24k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.24k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (7497:9): [True: 0, False: 2.24k]
  ------------------
 7498|      0|        PyErr_BadArgument();
 7499|      0|        return NULL;
 7500|      0|    }
 7501|       |    /* Fast path: if it is an ASCII-only string, construct bytes object
 7502|       |       directly. Else defer to above function to raise the exception. */
 7503|  2.24k|    if (PyUnicode_IS_ASCII(unicode))
  ------------------
  |  |  227|  2.24k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.24k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 1.96k, False: 281]
  |  |  ------------------
  ------------------
 7504|  1.96k|        return PyBytes_FromStringAndSize(PyUnicode_DATA(unicode),
  ------------------
  |  |  284|  1.96k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7505|  1.96k|                                         PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  |  299|  1.96k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7506|    281|    return unicode_encode_ucs1(unicode, errors, 128);
 7507|  2.24k|}
_PyUnicode_TransformDecimalAndSpaceToASCII:
 9833|   140k|{
 9834|   140k|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|   140k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   140k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (9834:9): [True: 0, False: 140k]
  ------------------
 9835|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 9836|      0|        return NULL;
 9837|      0|    }
 9838|   140k|    if (PyUnicode_IS_ASCII(unicode)) {
  ------------------
  |  |  227|   140k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   140k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   140k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 140k, False: 0]
  |  |  ------------------
  ------------------
 9839|       |        /* If the string is already ASCII, just return the same string */
 9840|   140k|        return Py_NewRef(unicode);
  ------------------
  |  |  550|   140k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   140k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   140k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9841|   140k|    }
 9842|       |
 9843|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9844|      0|    PyObject *result = PyUnicode_New(len, 127);
 9845|      0|    if (result == NULL) {
  ------------------
  |  Branch (9845:9): [True: 0, False: 0]
  ------------------
 9846|      0|        return NULL;
 9847|      0|    }
 9848|       |
 9849|      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))
  |  |  ------------------
  ------------------
 9850|      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))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9851|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9852|      0|    Py_ssize_t i;
 9853|      0|    for (i = 0; i < len; ++i) {
  ------------------
  |  Branch (9853:17): [True: 0, False: 0]
  ------------------
 9854|      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))
  ------------------
 9855|      0|        if (ch < 127) {
  ------------------
  |  Branch (9855:13): [True: 0, False: 0]
  ------------------
 9856|      0|            out[i] = ch;
 9857|      0|        }
 9858|      0|        else if (Py_UNICODE_ISSPACE(ch)) {
  ------------------
  |  Branch (9858:18): [True: 0, False: 0]
  ------------------
 9859|      0|            out[i] = ' ';
 9860|      0|        }
 9861|      0|        else {
 9862|      0|            int decimal = Py_UNICODE_TODECIMAL(ch);
  ------------------
  |  |  763|      0|#define Py_UNICODE_TODECIMAL(ch) _PyUnicode_ToDecimalDigit(ch)
  ------------------
 9863|      0|            if (decimal < 0) {
  ------------------
  |  Branch (9863:17): [True: 0, False: 0]
  ------------------
 9864|      0|                out[i] = '?';
 9865|      0|                out[i+1] = '\0';
 9866|      0|                _PyUnicode_LENGTH(result) = i + 1;
  ------------------
  |  |  155|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9866:17): [True: 0, False: 0]
  ------------------
 9867|      0|                break;
 9868|      0|            }
 9869|      0|            out[i] = '0' + decimal;
 9870|      0|        }
 9871|      0|    }
 9872|       |
 9873|      0|    assert(_PyUnicode_CheckConsistency(result, 1));
  ------------------
  |  Branch (9873:5): [True: 0, False: 0]
  ------------------
 9874|      0|    return result;
 9875|      0|}
PyUnicode_FindChar:
10012|  2.39M|{
10013|  2.39M|    int kind;
10014|  2.39M|    Py_ssize_t len, result;
10015|  2.39M|    len = PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  299|  2.39M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.39M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.39M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10016|  2.39M|    ADJUST_INDICES(start, end, len);
  ------------------
  |  | 9881|  2.39M|    do {                                \
  |  | 9882|  2.39M|        if (end > len) {                \
  |  |  ------------------
  |  |  |  Branch (9882:13): [True: 0, False: 2.39M]
  |  |  ------------------
  |  | 9883|      0|            end = len;                  \
  |  | 9884|      0|        }                               \
  |  | 9885|  2.39M|        else if (end < 0) {             \
  |  |  ------------------
  |  |  |  Branch (9885:18): [True: 0, False: 2.39M]
  |  |  ------------------
  |  | 9886|      0|            end += len;                 \
  |  | 9887|      0|            if (end < 0) {              \
  |  |  ------------------
  |  |  |  Branch (9887:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9888|      0|                end = 0;                \
  |  | 9889|      0|            }                           \
  |  | 9890|      0|        }                               \
  |  | 9891|  2.39M|        if (start < 0) {                \
  |  |  ------------------
  |  |  |  Branch (9891:13): [True: 0, False: 2.39M]
  |  |  ------------------
  |  | 9892|      0|            start += len;               \
  |  | 9893|      0|            if (start < 0) {            \
  |  |  ------------------
  |  |  |  Branch (9893:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9894|      0|                start = 0;              \
  |  | 9895|      0|            }                           \
  |  | 9896|      0|        }                               \
  |  | 9897|  2.39M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (9897:14): [Folded, False: 2.39M]
  |  |  ------------------
  ------------------
10017|  2.39M|    if (end - start < 1)
  ------------------
  |  Branch (10017:9): [True: 0, False: 2.39M]
  ------------------
10018|      0|        return -1;
10019|  2.39M|    kind = PyUnicode_KIND(str);
  ------------------
  |  |  258|  2.39M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  4.78M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 2.39M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10020|  2.39M|    result = findchar(PyUnicode_1BYTE_DATA(str) + kind*start,
  ------------------
  |  |  291|  2.39M|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  2.39M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10021|  2.39M|                      kind, end-start, ch, direction);
10022|  2.39M|    if (result == -1)
  ------------------
  |  Branch (10022:9): [True: 2.03M, False: 355k]
  ------------------
10023|  2.03M|        return -1;
10024|   355k|    else
10025|   355k|        return start + result;
10026|  2.39M|}
PyUnicode_Join:
10338|    452|{
10339|    452|    PyObject *res;
10340|    452|    PyObject *fseq;
10341|    452|    Py_ssize_t seqlen;
10342|    452|    PyObject **items;
10343|       |
10344|    452|    fseq = PySequence_Fast(seq, "can only join an iterable");
10345|    452|    if (fseq == NULL) {
  ------------------
  |  Branch (10345:9): [True: 0, False: 452]
  ------------------
10346|      0|        return NULL;
10347|      0|    }
10348|       |
10349|    452|    Py_BEGIN_CRITICAL_SECTION_SEQUENCE_FAST(seq);
  ------------------
  |  |   77|    452|# define Py_BEGIN_CRITICAL_SECTION_SEQUENCE_FAST(original) {
  ------------------
10350|       |
10351|    452|    items = PySequence_Fast_ITEMS(fseq);
  ------------------
  |  |  102|    452|    (PyList_Check(sf) ? ((PyListObject *)(sf))->ob_item \
  |  |  ------------------
  |  |  |  |   25|    452|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    452|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 328, False: 124]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  103|    452|                      : ((PyTupleObject *)(sf))->ob_item)
  ------------------
10352|    452|    seqlen = PySequence_Fast_GET_SIZE(fseq);
  ------------------
  |  |   92|    452|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|    452|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    452|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 328, False: 124]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|    328|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    328|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    328|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   27|    124|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    124|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    124|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10353|    452|    res = _PyUnicode_JoinArray(separator, items, seqlen);
10354|       |
10355|    452|    Py_END_CRITICAL_SECTION_SEQUENCE_FAST();
  ------------------
  |  |   78|    452|# define Py_END_CRITICAL_SECTION_SEQUENCE_FAST() }
  ------------------
10356|       |
10357|    452|    Py_DECREF(fseq);
  ------------------
  |  |  430|    452|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    452|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    452|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10358|    452|    return res;
10359|    452|}
_PyUnicode_JoinArray:
10363|   356k|{
10364|   356k|    PyObject *res = NULL; /* the result */
10365|   356k|    PyObject *sep = NULL;
10366|   356k|    Py_ssize_t seplen;
10367|   356k|    PyObject *item;
10368|   356k|    Py_ssize_t sz, i, res_offset;
10369|   356k|    Py_UCS4 maxchar;
10370|   356k|    Py_UCS4 item_maxchar;
10371|   356k|    int use_memcpy;
10372|   356k|    unsigned char *res_data = NULL, *sep_data = NULL;
10373|   356k|    PyObject *last_obj;
10374|   356k|    int kind = 0;
10375|       |
10376|       |    /* If empty sequence, return u"". */
10377|   356k|    if (seqlen == 0) {
  ------------------
  |  Branch (10377:9): [True: 0, False: 356k]
  ------------------
10378|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  379|      0|    do {                             \
  |  |  380|      0|        return _PyUnicode_GetEmpty();\
  |  |  381|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
10379|      0|    }
10380|       |
10381|       |    /* If singleton sequence with an exact Unicode, return that. */
10382|   356k|    last_obj = NULL;
10383|   356k|    if (seqlen == 1) {
  ------------------
  |  Branch (10383:9): [True: 46, False: 356k]
  ------------------
10384|     46|        if (PyUnicode_CheckExact(items[0])) {
  ------------------
  |  |  104|     46|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|     46|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 46, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10385|     46|            res = items[0];
10386|     46|            return Py_NewRef(res);
  ------------------
  |  |  550|     46|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10387|     46|        }
10388|      0|        seplen = 0;
10389|      0|        maxchar = 0;
10390|      0|    }
10391|   356k|    else {
10392|       |        /* Set up sep and seplen */
10393|   356k|        if (separator == NULL) {
  ------------------
  |  Branch (10393:13): [True: 0, False: 356k]
  ------------------
10394|       |            /* fall back to a blank space separator */
10395|      0|            sep = PyUnicode_FromOrdinal(' ');
10396|      0|            if (!sep)
  ------------------
  |  Branch (10396:17): [True: 0, False: 0]
  ------------------
10397|      0|                goto onError;
10398|      0|            seplen = 1;
10399|      0|            maxchar = 32;
10400|      0|        }
10401|   356k|        else {
10402|   356k|            if (!PyUnicode_Check(separator)) {
  ------------------
  |  |  103|   356k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   356k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (10402:17): [True: 0, False: 356k]
  ------------------
10403|      0|                PyErr_Format(PyExc_TypeError,
10404|      0|                             "separator: expected str instance,"
10405|      0|                             " %.80s found",
10406|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10407|      0|                goto onError;
10408|      0|            }
10409|   356k|            sep = separator;
10410|   356k|            seplen = PyUnicode_GET_LENGTH(separator);
  ------------------
  |  |  299|   356k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   356k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   356k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10411|   356k|            maxchar = PyUnicode_MAX_CHAR_VALUE(separator);
  ------------------
  |  |  405|   356k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   356k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   356k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10412|       |            /* inc refcount to keep this code path symmetric with the
10413|       |               above case of a blank separator */
10414|   356k|            Py_INCREF(sep);
  ------------------
  |  |  310|   356k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   356k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   356k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10415|   356k|        }
10416|   356k|        last_obj = sep;
10417|   356k|    }
10418|       |
10419|       |    /* There are at least two things to join, or else we have a subclass
10420|       |     * of str in the sequence.
10421|       |     * Do a pre-pass to figure out the total amount of space we'll
10422|       |     * need (sz), and see whether all argument are strings.
10423|       |     */
10424|   356k|    sz = 0;
10425|       |#ifdef Py_DEBUG
10426|       |    use_memcpy = 0;
10427|       |#else
10428|   356k|    use_memcpy = 1;
10429|   356k|#endif
10430|  3.20M|    for (i = 0; i < seqlen; i++) {
  ------------------
  |  Branch (10430:17): [True: 2.84M, False: 356k]
  ------------------
10431|  2.84M|        size_t add_sz;
10432|  2.84M|        item = items[i];
10433|  2.84M|        if (!PyUnicode_Check(item)) {
  ------------------
  |  |  103|  2.84M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.84M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (10433:13): [True: 0, False: 2.84M]
  ------------------
10434|      0|            PyErr_Format(PyExc_TypeError,
10435|      0|                         "sequence item %zd: expected str instance,"
10436|      0|                         " %.80s found",
10437|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10438|      0|            goto onError;
10439|      0|        }
10440|  2.84M|        add_sz = PyUnicode_GET_LENGTH(item);
  ------------------
  |  |  299|  2.84M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.84M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.84M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10441|  2.84M|        item_maxchar = PyUnicode_MAX_CHAR_VALUE(item);
  ------------------
  |  |  405|  2.84M|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.84M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.84M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10442|  2.84M|        maxchar = Py_MAX(maxchar, item_maxchar);
  ------------------
  |  |  115|  2.84M|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 31, False: 2.84M]
  |  |  ------------------
  ------------------
10443|  2.84M|        if (i != 0) {
  ------------------
  |  Branch (10443:13): [True: 2.49M, False: 356k]
  ------------------
10444|  2.49M|            add_sz += seplen;
10445|  2.49M|        }
10446|  2.84M|        if (add_sz > (size_t)(PY_SSIZE_T_MAX - sz)) {
  ------------------
  |  |  137|  2.84M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (10446:13): [True: 0, False: 2.84M]
  ------------------
10447|      0|            PyErr_SetString(PyExc_OverflowError,
10448|      0|                            "join() result is too long for a Python string");
10449|      0|            goto onError;
10450|      0|        }
10451|  2.84M|        sz += add_sz;
10452|  2.84M|        if (use_memcpy && last_obj != NULL) {
  ------------------
  |  Branch (10452:13): [True: 2.84M, False: 0]
  |  Branch (10452:27): [True: 2.84M, False: 0]
  ------------------
10453|  5.69M|            if (PyUnicode_KIND(last_obj) != PyUnicode_KIND(item))
  ------------------
  |  |  258|  2.84M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  5.69M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 2.84M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (PyUnicode_KIND(last_obj) != PyUnicode_KIND(item))
  ------------------
  |  |  258|  2.84M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  5.69M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 2.84M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10453:17): [True: 0, False: 2.84M]
  ------------------
10454|      0|                use_memcpy = 0;
10455|  2.84M|        }
10456|      0|        last_obj = item;
10457|  2.84M|    }
10458|       |
10459|   356k|    res = PyUnicode_New(sz, maxchar);
10460|   356k|    if (res == NULL)
  ------------------
  |  Branch (10460:9): [True: 0, False: 356k]
  ------------------
10461|      0|        goto onError;
10462|       |
10463|       |    /* Catenate everything. */
10464|       |#ifdef Py_DEBUG
10465|       |    use_memcpy = 0;
10466|       |#else
10467|   356k|    if (use_memcpy) {
  ------------------
  |  Branch (10467:9): [True: 356k, False: 0]
  ------------------
10468|   356k|        res_data = PyUnicode_1BYTE_DATA(res);
  ------------------
  |  |  291|   356k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   356k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10469|   356k|        kind = PyUnicode_KIND(res);
  ------------------
  |  |  258|   356k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   712k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 356k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10470|   356k|        if (seplen != 0)
  ------------------
  |  Branch (10470:13): [True: 303, False: 356k]
  ------------------
10471|    303|            sep_data = PyUnicode_1BYTE_DATA(sep);
  ------------------
  |  |  291|    303|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    303|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10472|   356k|    }
10473|   356k|#endif
10474|   356k|    if (use_memcpy) {
  ------------------
  |  Branch (10474:9): [True: 356k, False: 0]
  ------------------
10475|  3.20M|        for (i = 0; i < seqlen; ++i) {
  ------------------
  |  Branch (10475:21): [True: 2.84M, False: 356k]
  ------------------
10476|  2.84M|            Py_ssize_t itemlen;
10477|  2.84M|            item = items[i];
10478|       |
10479|       |            /* Copy item, and maybe the separator. */
10480|  2.84M|            if (i && seplen != 0) {
  ------------------
  |  Branch (10480:17): [True: 2.49M, False: 356k]
  |  Branch (10480:22): [True: 427, False: 2.49M]
  ------------------
10481|    427|                memcpy(res_data,
10482|    427|                          sep_data,
10483|    427|                          kind * seplen);
10484|    427|                res_data += kind * seplen;
10485|    427|            }
10486|       |
10487|  2.84M|            itemlen = PyUnicode_GET_LENGTH(item);
  ------------------
  |  |  299|  2.84M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.84M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.84M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10488|  2.84M|            if (itemlen != 0) {
  ------------------
  |  Branch (10488:17): [True: 2.84M, False: 11]
  ------------------
10489|  2.84M|                memcpy(res_data,
10490|  2.84M|                          PyUnicode_DATA(item),
  ------------------
  |  |  284|  2.84M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.84M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.84M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10491|  2.84M|                          kind * itemlen);
10492|  2.84M|                res_data += kind * itemlen;
10493|  2.84M|            }
10494|  2.84M|        }
10495|   356k|        assert(res_data == PyUnicode_1BYTE_DATA(res)
  ------------------
  |  Branch (10495:9): [True: 356k, False: 0]
  ------------------
10496|   356k|                           + kind * PyUnicode_GET_LENGTH(res));
10497|   356k|    }
10498|      0|    else {
10499|      0|        for (i = 0, res_offset = 0; i < seqlen; ++i) {
  ------------------
  |  Branch (10499:37): [True: 0, False: 0]
  ------------------
10500|      0|            Py_ssize_t itemlen;
10501|      0|            item = items[i];
10502|       |
10503|       |            /* Copy item, and maybe the separator. */
10504|      0|            if (i && seplen != 0) {
  ------------------
  |  Branch (10504:17): [True: 0, False: 0]
  |  Branch (10504:22): [True: 0, False: 0]
  ------------------
10505|      0|                _PyUnicode_FastCopyCharacters(res, res_offset, sep, 0, seplen);
10506|      0|                res_offset += seplen;
10507|      0|            }
10508|       |
10509|      0|            itemlen = PyUnicode_GET_LENGTH(item);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10510|      0|            if (itemlen != 0) {
  ------------------
  |  Branch (10510:17): [True: 0, False: 0]
  ------------------
10511|      0|                _PyUnicode_FastCopyCharacters(res, res_offset, item, 0, itemlen);
10512|      0|                res_offset += itemlen;
10513|      0|            }
10514|      0|        }
10515|      0|        assert(res_offset == PyUnicode_GET_LENGTH(res));
  ------------------
  |  Branch (10515:9): [True: 0, False: 0]
  ------------------
10516|      0|    }
10517|       |
10518|   356k|    Py_XDECREF(sep);
  ------------------
  |  |  524|   356k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   356k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   356k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10519|   356k|    assert(_PyUnicode_CheckConsistency(res, 1));
  ------------------
  |  Branch (10519:5): [True: 356k, False: 0]
  ------------------
10520|   356k|    return res;
10521|       |
10522|      0|  onError:
10523|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10524|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10525|       |    return NULL;
10526|   356k|}
_PyUnicode_Equal:
11395|  66.7M|{
11396|  66.7M|    assert(PyUnicode_Check(str1));
  ------------------
  |  Branch (11396:5): [True: 66.7M, False: 0]
  ------------------
11397|  66.7M|    assert(PyUnicode_Check(str2));
  ------------------
  |  Branch (11397:5): [True: 66.7M, False: 0]
  ------------------
11398|  66.7M|    if (str1 == str2) {
  ------------------
  |  Branch (11398:9): [True: 10.4M, False: 56.2M]
  ------------------
11399|  10.4M|        return 1;
11400|  10.4M|    }
11401|  56.2M|    return unicode_eq(str1, str2);
11402|  66.7M|}
PyUnicode_Compare:
11425|   355k|{
11426|   355k|    if (PyUnicode_Check(left) && PyUnicode_Check(right)) {
  ------------------
  |  |  103|   355k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   711k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 355k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyUnicode_Check(left) && PyUnicode_Check(right)) {
  ------------------
  |  |  103|   355k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   355k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 355k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11427|       |        /* a string is equal to itself */
11428|   355k|        if (left == right)
  ------------------
  |  Branch (11428:13): [True: 0, False: 355k]
  ------------------
11429|      0|            return 0;
11430|       |
11431|   355k|        return unicode_compare(left, right);
11432|   355k|    }
11433|      0|    PyErr_Format(PyExc_TypeError,
11434|      0|                 "Can't compare %.100s and %.100s",
11435|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11436|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11437|      0|    return -1;
11438|   355k|}
PyUnicode_CompareWithASCIIString:
11442|  3.65k|{
11443|  3.65k|    Py_ssize_t i;
11444|  3.65k|    int kind;
11445|  3.65k|    Py_UCS4 chr;
11446|       |
11447|  3.65k|    assert(_PyUnicode_CHECK(uni));
  ------------------
  |  Branch (11447:5): [True: 3.65k, False: 0]
  ------------------
11448|  3.65k|    kind = PyUnicode_KIND(uni);
  ------------------
  |  |  258|  3.65k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  7.31k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 3.65k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11449|  3.65k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (11449:9): [True: 3.65k, False: 0]
  ------------------
11450|  3.65k|        const void *data = PyUnicode_1BYTE_DATA(uni);
  ------------------
  |  |  291|  3.65k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  3.65k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
11451|  3.65k|        size_t len1 = (size_t)PyUnicode_GET_LENGTH(uni);
  ------------------
  |  |  299|  3.65k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.65k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.65k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11452|  3.65k|        size_t len, len2 = strlen(str);
11453|  3.65k|        int cmp;
11454|       |
11455|  3.65k|        len = Py_MIN(len1, len2);
  ------------------
  |  |  112|  3.65k|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 343, False: 3.31k]
  |  |  ------------------
  ------------------
11456|  3.65k|        cmp = memcmp(data, str, len);
11457|  3.65k|        if (cmp != 0) {
  ------------------
  |  Branch (11457:13): [True: 3.64k, False: 12]
  ------------------
11458|  3.64k|            if (cmp < 0)
  ------------------
  |  Branch (11458:17): [True: 84, False: 3.56k]
  ------------------
11459|     84|                return -1;
11460|  3.56k|            else
11461|  3.56k|                return 1;
11462|  3.64k|        }
11463|     12|        if (len1 > len2)
  ------------------
  |  Branch (11463:13): [True: 0, False: 12]
  ------------------
11464|      0|            return 1; /* uni is longer */
11465|     12|        if (len1 < len2)
  ------------------
  |  Branch (11465:13): [True: 0, False: 12]
  ------------------
11466|      0|            return -1; /* str is longer */
11467|     12|        return 0;
11468|     12|    }
11469|      0|    else {
11470|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11471|       |        /* Compare Unicode string and source character set string */
11472|      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 (11472:21): [True: 0, False: 0]
  |  Branch (11472:62): [True: 0, False: 0]
  ------------------
11473|      0|            if (chr != (unsigned char)str[i])
  ------------------
  |  Branch (11473:17): [True: 0, False: 0]
  ------------------
11474|      0|                return (chr < (unsigned char)(str[i])) ? -1 : 1;
  ------------------
  |  Branch (11474:24): [True: 0, False: 0]
  ------------------
11475|       |        /* This check keeps Python strings that end in '\0' from comparing equal
11476|       |         to C strings identical up to that point. */
11477|      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 (11477:13): [True: 0, False: 0]
  |  Branch (11477:47): [True: 0, False: 0]
  ------------------
11478|      0|            return 1; /* uni is longer */
11479|      0|        if (str[i])
  ------------------
  |  Branch (11479:13): [True: 0, False: 0]
  ------------------
11480|      0|            return -1; /* str is longer */
11481|      0|        return 0;
11482|      0|    }
11483|  3.65k|}
_PyUnicode_EqualToASCIIString:
11563|  2.49M|{
11564|  2.49M|    size_t len;
11565|  2.49M|    assert(_PyUnicode_CHECK(unicode));
  ------------------
  |  Branch (11565:5): [True: 2.49M, False: 0]
  ------------------
11566|  2.49M|    assert(str);
  ------------------
  |  Branch (11566:5): [True: 2.49M, False: 0]
  ------------------
11567|  2.49M|#ifndef NDEBUG
11568|  15.6M|    for (const char *p = str; *p; p++) {
  ------------------
  |  Branch (11568:31): [True: 13.1M, False: 2.49M]
  ------------------
11569|  13.1M|        assert((unsigned char)*p < 128);
  ------------------
  |  Branch (11569:9): [True: 13.1M, False: 0]
  ------------------
11570|  13.1M|    }
11571|  2.49M|#endif
11572|  2.49M|    if (!PyUnicode_IS_ASCII(unicode))
  ------------------
  |  |  227|  2.49M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.49M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.49M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (11572:9): [True: 0, False: 2.49M]
  ------------------
11573|      0|        return 0;
11574|  2.49M|    len = (size_t)PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|  2.49M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.49M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.49M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11575|  2.49M|    return strlen(str) == len &&
  ------------------
  |  Branch (11575:12): [True: 356k, False: 2.13M]
  ------------------
11576|   356k|           memcmp(PyUnicode_1BYTE_DATA(unicode), str, len) == 0;
  ------------------
  |  |  291|   356k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   356k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (11576:12): [True: 355k, False: 484]
  ------------------
11577|  2.49M|}
PyUnicode_RichCompare:
11581|   740k|{
11582|   740k|    int result;
11583|       |
11584|   740k|    if (!PyUnicode_Check(left) || !PyUnicode_Check(right))
  ------------------
  |  |  103|   740k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.48M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (!PyUnicode_Check(left) || !PyUnicode_Check(right))
  ------------------
  |  |  103|   740k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   740k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (11584:9): [True: 0, False: 740k]
  |  Branch (11584:35): [True: 5.77k, False: 735k]
  ------------------
11585|  5.77k|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|  5.77k|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|  5.77k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
11586|       |
11587|   735k|    if (left == right) {
  ------------------
  |  Branch (11587:9): [True: 320, False: 734k]
  ------------------
11588|    320|        switch (op) {
11589|    315|        case Py_EQ:
  ------------------
  |  |  654|    315|#define Py_EQ 2
  ------------------
  |  Branch (11589:9): [True: 315, False: 5]
  ------------------
11590|    315|        case Py_LE:
  ------------------
  |  |  653|    315|#define Py_LE 1
  ------------------
  |  Branch (11590:9): [True: 0, False: 320]
  ------------------
11591|    315|        case Py_GE:
  ------------------
  |  |  657|    315|#define Py_GE 5
  ------------------
  |  Branch (11591:9): [True: 0, False: 320]
  ------------------
11592|       |            /* a string is equal to itself */
11593|    315|            Py_RETURN_TRUE;
  ------------------
  |  |   44|    315|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|    315|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    315|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    315|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11594|      5|        case Py_NE:
  ------------------
  |  |  655|      5|#define Py_NE 3
  ------------------
  |  Branch (11594:9): [True: 5, False: 315]
  ------------------
11595|      5|        case Py_LT:
  ------------------
  |  |  652|      5|#define Py_LT 0
  ------------------
  |  Branch (11595:9): [True: 0, False: 320]
  ------------------
11596|      5|        case Py_GT:
  ------------------
  |  |  656|      5|#define Py_GT 4
  ------------------
  |  Branch (11596:9): [True: 0, False: 320]
  ------------------
11597|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11598|      0|        default:
  ------------------
  |  Branch (11598:9): [True: 0, False: 320]
  ------------------
11599|      0|            PyErr_BadArgument();
11600|      0|            return NULL;
11601|    320|        }
11602|    320|    }
11603|   734k|    else if (op == Py_EQ || op == Py_NE) {
  ------------------
  |  |  654|  1.46M|#define Py_EQ 2
  ------------------
                  else if (op == Py_EQ || op == Py_NE) {
  ------------------
  |  |  655|  5.47k|#define Py_NE 3
  ------------------
  |  Branch (11603:14): [True: 729k, False: 5.47k]
  |  Branch (11603:29): [True: 19, False: 5.45k]
  ------------------
11604|   729k|        result = unicode_eq(left, right);
11605|   729k|        result ^= (op == Py_NE);
  ------------------
  |  |  655|   729k|#define Py_NE 3
  ------------------
11606|   729k|        return PyBool_FromLong(result);
11607|   729k|    }
11608|  5.45k|    else {
11609|  5.45k|        result = unicode_compare(left, right);
11610|  5.45k|        Py_RETURN_RICHCOMPARE(result, 0, op);
  ------------------
  |  |  674|  5.45k|    do {                                                                    \
  |  |  675|  5.45k|        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: 5.45k]
  |  |  |  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: 5.45k]
  |  |  |  Branch (677:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  678|  5.45k|        case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  652|  5.45k|#define Py_LT 0
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|  2.76k|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|  2.76k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.76k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|  2.69k|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|  2.69k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.69k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (678:9): [True: 5.45k, False: 0]
  |  |  |  Branch (678:25): [True: 2.76k, False: 2.69k]
  |  |  ------------------
  |  |  679|  5.45k|        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: 5.45k]
  |  |  |  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: 5.45k]
  |  |  |  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: 5.45k]
  |  |  |  Branch (681:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  682|      0|        default:                                                            \
  |  |  ------------------
  |  |  |  Branch (682:9): [True: 0, False: 5.45k]
  |  |  ------------------
  |  |  683|      0|            Py_UNREACHABLE();                                               \
  |  |  ------------------
  |  |  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|  5.45k|        }                                                                   \
  |  |  685|  5.45k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
11611|  5.45k|    }
11612|   735k|}
PyUnicode_Contains:
11616|   114M|{
11617|   114M|    int kind1, kind2;
11618|   114M|    const void *buf1, *buf2;
11619|   114M|    Py_ssize_t len1, len2;
11620|   114M|    int result;
11621|       |
11622|   114M|    if (!PyUnicode_Check(substr)) {
  ------------------
  |  |  103|   114M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   114M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (11622:9): [True: 0, False: 114M]
  ------------------
11623|      0|        PyErr_Format(PyExc_TypeError,
11624|      0|                     "'in <string>' requires string as left operand, not %.100s",
11625|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11626|      0|        return -1;
11627|      0|    }
11628|   114M|    if (ensure_unicode(str) < 0)
  ------------------
  |  |  109|   114M|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
  |  Branch (11628:9): [True: 0, False: 114M]
  ------------------
11629|      0|        return -1;
11630|       |
11631|   114M|    kind1 = PyUnicode_KIND(str);
  ------------------
  |  |  258|   114M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   228M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 114M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11632|   114M|    kind2 = PyUnicode_KIND(substr);
  ------------------
  |  |  258|   114M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   228M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 114M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11633|   114M|    if (kind1 < kind2)
  ------------------
  |  Branch (11633:9): [True: 0, False: 114M]
  ------------------
11634|      0|        return 0;
11635|   114M|    len1 = PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  299|   114M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   114M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   114M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11636|   114M|    len2 = PyUnicode_GET_LENGTH(substr);
  ------------------
  |  |  299|   114M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   114M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   114M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11637|   114M|    if (len1 < len2)
  ------------------
  |  Branch (11637:9): [True: 4, False: 114M]
  ------------------
11638|      4|        return 0;
11639|   114M|    buf1 = PyUnicode_DATA(str);
  ------------------
  |  |  284|   114M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   114M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   114M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11640|   114M|    buf2 = PyUnicode_DATA(substr);
  ------------------
  |  |  284|   114M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   114M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   114M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11641|   114M|    if (len2 == 1) {
  ------------------
  |  Branch (11641:9): [True: 24.3M, False: 90.1M]
  ------------------
11642|  24.3M|        Py_UCS4 ch = PyUnicode_READ(kind2, buf2, 0);
  ------------------
  |  |  354|  24.3M|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  24.3M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  24.3M|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  24.3M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  24.3M|                   (index))
  ------------------
11643|  24.3M|        result = findchar((const char *)buf1, kind1, len1, ch, 1) != -1;
11644|  24.3M|        return result;
11645|  24.3M|    }
11646|  90.1M|    if (kind2 != kind1) {
  ------------------
  |  Branch (11646:9): [True: 0, False: 90.1M]
  ------------------
11647|      0|        buf2 = unicode_askind(kind2, buf2, len2, kind1);
11648|      0|        if (!buf2)
  ------------------
  |  Branch (11648:13): [True: 0, False: 0]
  ------------------
11649|      0|            return -1;
11650|      0|    }
11651|       |
11652|  90.1M|    switch (kind1) {
11653|  90.1M|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (11653:5): [True: 90.1M, False: 0]
  ------------------
11654|  90.1M|        result = ucs1lib_find(buf1, len1, buf2, len2, 0) != -1;
11655|  90.1M|        break;
11656|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (11656:5): [True: 0, False: 90.1M]
  ------------------
11657|      0|        result = ucs2lib_find(buf1, len1, buf2, len2, 0) != -1;
11658|      0|        break;
11659|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (11659:5): [True: 0, False: 90.1M]
  ------------------
11660|      0|        result = ucs4lib_find(buf1, len1, buf2, len2, 0) != -1;
11661|      0|        break;
11662|      0|    default:
  ------------------
  |  Branch (11662:5): [True: 0, False: 90.1M]
  ------------------
11663|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
11664|  90.1M|    }
11665|       |
11666|  90.1M|    assert((kind2 == kind1) == (buf2 == PyUnicode_DATA(substr)));
  ------------------
  |  Branch (11666:5): [True: 90.1M, False: 0]
  ------------------
11667|  90.1M|    if (kind2 != kind1)
  ------------------
  |  Branch (11667:9): [True: 0, False: 90.1M]
  ------------------
11668|      0|        PyMem_Free((void *)buf2);
11669|       |
11670|  90.1M|    return result;
11671|  90.1M|}
PyUnicode_Concat:
11677|   509k|{
11678|   509k|    PyObject *result;
11679|   509k|    Py_UCS4 maxchar, maxchar2;
11680|   509k|    Py_ssize_t left_len, right_len, new_len;
11681|       |
11682|   509k|    if (ensure_unicode(left) < 0)
  ------------------
  |  |  109|   509k|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
  |  Branch (11682:9): [True: 0, False: 509k]
  ------------------
11683|      0|        return NULL;
11684|       |
11685|   509k|    if (!PyUnicode_Check(right)) {
  ------------------
  |  |  103|   509k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   509k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (11685:9): [True: 0, False: 509k]
  ------------------
11686|      0|        PyErr_Format(PyExc_TypeError,
11687|      0|            "can only concatenate str (not \"%.200s\") to str",
11688|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11689|      0|        return NULL;
11690|      0|    }
11691|       |
11692|       |    /* Shortcuts */
11693|   509k|    PyObject *empty = _PyUnicode_GetEmpty();  // Borrowed reference
11694|   509k|    if (left == empty) {
  ------------------
  |  Branch (11694:9): [True: 12, False: 509k]
  ------------------
11695|     12|        return PyUnicode_FromObject(right);
11696|     12|    }
11697|   509k|    if (right == empty) {
  ------------------
  |  Branch (11697:9): [True: 3, False: 509k]
  ------------------
11698|      3|        return PyUnicode_FromObject(left);
11699|      3|    }
11700|       |
11701|   509k|    left_len = PyUnicode_GET_LENGTH(left);
  ------------------
  |  |  299|   509k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   509k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   509k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11702|   509k|    right_len = PyUnicode_GET_LENGTH(right);
  ------------------
  |  |  299|   509k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   509k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   509k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11703|   509k|    if (left_len > PY_SSIZE_T_MAX - right_len) {
  ------------------
  |  |  137|   509k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (11703:9): [True: 0, False: 509k]
  ------------------
11704|      0|        PyErr_SetString(PyExc_OverflowError,
11705|      0|                        "strings are too large to concat");
11706|      0|        return NULL;
11707|      0|    }
11708|   509k|    new_len = left_len + right_len;
11709|       |
11710|   509k|    maxchar = PyUnicode_MAX_CHAR_VALUE(left);
  ------------------
  |  |  405|   509k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   509k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   509k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11711|   509k|    maxchar2 = PyUnicode_MAX_CHAR_VALUE(right);
  ------------------
  |  |  405|   509k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   509k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   509k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11712|   509k|    maxchar = Py_MAX(maxchar, maxchar2);
  ------------------
  |  |  115|   509k|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 509k]
  |  |  ------------------
  ------------------
11713|       |
11714|       |    /* Concat the two Unicode strings */
11715|   509k|    result = PyUnicode_New(new_len, maxchar);
11716|   509k|    if (result == NULL)
  ------------------
  |  Branch (11716:9): [True: 0, False: 509k]
  ------------------
11717|      0|        return NULL;
11718|   509k|    _PyUnicode_FastCopyCharacters(result, 0, left, 0, left_len);
11719|   509k|    _PyUnicode_FastCopyCharacters(result, left_len, right, 0, right_len);
11720|   509k|    assert(_PyUnicode_CheckConsistency(result, 1));
  ------------------
  |  Branch (11720:5): [True: 509k, False: 0]
  ------------------
11721|   509k|    return result;
11722|   509k|}
PyUnicode_Append:
11726|  5.90M|{
11727|  5.90M|    PyObject *left, *res;
11728|  5.90M|    Py_UCS4 maxchar, maxchar2;
11729|  5.90M|    Py_ssize_t left_len, right_len, new_len;
11730|       |
11731|  5.90M|    if (p_left == NULL) {
  ------------------
  |  Branch (11731:9): [True: 0, False: 5.90M]
  ------------------
11732|      0|        if (!PyErr_Occurred())
  ------------------
  |  Branch (11732:13): [True: 0, False: 0]
  ------------------
11733|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
11734|      0|        return;
11735|      0|    }
11736|  5.90M|    left = *p_left;
11737|  5.90M|    if (right == NULL || left == NULL
  ------------------
  |  Branch (11737:9): [True: 0, False: 5.90M]
  |  Branch (11737:26): [True: 0, False: 5.90M]
  ------------------
11738|  5.90M|        || !PyUnicode_Check(left) || !PyUnicode_Check(right)) {
  ------------------
  |  |  103|  5.90M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  11.8M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                      || !PyUnicode_Check(left) || !PyUnicode_Check(right)) {
  ------------------
  |  |  103|  5.90M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  5.90M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (11738:12): [True: 0, False: 5.90M]
  |  Branch (11738:38): [True: 0, False: 5.90M]
  ------------------
11739|      0|        if (!PyErr_Occurred())
  ------------------
  |  Branch (11739:13): [True: 0, False: 0]
  ------------------
11740|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
11741|      0|        goto error;
11742|      0|    }
11743|       |
11744|       |    /* Shortcuts */
11745|  5.90M|    PyObject *empty = _PyUnicode_GetEmpty();  // Borrowed reference
11746|  5.90M|    if (left == empty) {
  ------------------
  |  Branch (11746:9): [True: 72.8k, False: 5.82M]
  ------------------
11747|  72.8k|        Py_DECREF(left);
  ------------------
  |  |  430|  72.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  72.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  72.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11748|  72.8k|        *p_left = Py_NewRef(right);
  ------------------
  |  |  550|  72.8k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  72.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  72.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11749|  72.8k|        return;
11750|  72.8k|    }
11751|  5.82M|    if (right == empty) {
  ------------------
  |  Branch (11751:9): [True: 2.28k, False: 5.82M]
  ------------------
11752|  2.28k|        return;
11753|  2.28k|    }
11754|       |
11755|  5.82M|    left_len = PyUnicode_GET_LENGTH(left);
  ------------------
  |  |  299|  5.82M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.82M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.82M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11756|  5.82M|    right_len = PyUnicode_GET_LENGTH(right);
  ------------------
  |  |  299|  5.82M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.82M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.82M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11757|  5.82M|    if (left_len > PY_SSIZE_T_MAX - right_len) {
  ------------------
  |  |  137|  5.82M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (11757:9): [True: 0, False: 5.82M]
  ------------------
11758|      0|        PyErr_SetString(PyExc_OverflowError,
11759|      0|                        "strings are too large to concat");
11760|      0|        goto error;
11761|      0|    }
11762|  5.82M|    new_len = left_len + right_len;
11763|       |
11764|  5.82M|    if (_PyUnicode_IsModifiable(left)
  ------------------
  |  Branch (11764:9): [True: 5.39M, False: 430k]
  ------------------
11765|  5.82M|        && PyUnicode_CheckExact(right)
  ------------------
  |  |  104|  5.39M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  11.2M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.39M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.39M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 5.39M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11766|  10.7M|        && PyUnicode_KIND(right) <= PyUnicode_KIND(left)
  ------------------
  |  |  258|  5.39M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  10.7M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 5.39M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      && PyUnicode_KIND(right) <= PyUnicode_KIND(left)
  ------------------
  |  |  258|  5.39M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  11.2M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 5.39M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (11766:12): [True: 5.39M, False: 0]
  ------------------
11767|       |        /* Don't resize for ascii += latin1. Convert ascii to latin1 requires
11768|       |           to change the structure size, but characters are stored just after
11769|       |           the structure, and so it requires to move all characters which is
11770|       |           not so different than duplicating the string. */
11771|  5.39M|        && !(PyUnicode_IS_ASCII(left) && !PyUnicode_IS_ASCII(right)))
  ------------------
  |  |  227|  10.7M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.39M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.39M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 4.30M, False: 1.09M]
  |  |  ------------------
  ------------------
                      && !(PyUnicode_IS_ASCII(left) && !PyUnicode_IS_ASCII(right)))
  ------------------
  |  |  227|  4.30M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (11771:42): [True: 65, False: 4.30M]
  ------------------
11772|  5.39M|    {
11773|       |        /* append inplace */
11774|  5.39M|        if (unicode_resize(p_left, new_len) != 0)
  ------------------
  |  Branch (11774:13): [True: 0, False: 5.39M]
  ------------------
11775|      0|            goto error;
11776|       |
11777|       |        /* copy 'right' into the newly allocated area of 'left' */
11778|  5.39M|        _PyUnicode_FastCopyCharacters(*p_left, left_len, right, 0, right_len);
11779|  5.39M|    }
11780|   430k|    else {
11781|   430k|        maxchar = PyUnicode_MAX_CHAR_VALUE(left);
  ------------------
  |  |  405|   430k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   430k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   430k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11782|   430k|        maxchar2 = PyUnicode_MAX_CHAR_VALUE(right);
  ------------------
  |  |  405|   430k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   430k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   430k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11783|   430k|        maxchar = Py_MAX(maxchar, maxchar2);
  ------------------
  |  |  115|   430k|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 38, False: 430k]
  |  |  ------------------
  ------------------
11784|       |
11785|       |        /* Concat the two Unicode strings */
11786|   430k|        res = PyUnicode_New(new_len, maxchar);
11787|   430k|        if (res == NULL)
  ------------------
  |  Branch (11787:13): [True: 0, False: 430k]
  ------------------
11788|      0|            goto error;
11789|   430k|        _PyUnicode_FastCopyCharacters(res, 0, left, 0, left_len);
11790|   430k|        _PyUnicode_FastCopyCharacters(res, left_len, right, 0, right_len);
11791|   430k|        Py_DECREF(left);
  ------------------
  |  |  430|   430k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   430k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   430k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11792|   430k|        *p_left = res;
11793|   430k|    }
11794|  5.82M|    assert(_PyUnicode_CheckConsistency(*p_left, 1));
  ------------------
  |  Branch (11794:5): [True: 5.82M, False: 0]
  ------------------
11795|  5.82M|    return;
11796|       |
11797|  5.82M|error:
11798|       |    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]
  |  |  ------------------
  ------------------
11799|      0|}
_PyUnicode_ScanIdentifier:
12478|  1.18k|{
12479|  1.18k|    Py_ssize_t i;
12480|  1.18k|    Py_ssize_t len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|  1.18k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12481|  1.18k|    if (len == 0) {
  ------------------
  |  Branch (12481:9): [True: 0, False: 1.18k]
  ------------------
12482|       |        /* an empty string is not a valid identifier */
12483|      0|        return 0;
12484|      0|    }
12485|       |
12486|  1.18k|    int kind = PyUnicode_KIND(self);
  ------------------
  |  |  258|  1.18k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  2.37k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 1.18k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12487|  1.18k|    const void *data = PyUnicode_DATA(self);
  ------------------
  |  |  284|  1.18k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12488|  1.18k|    Py_UCS4 ch = PyUnicode_READ(kind, data, 0);
  ------------------
  |  |  354|  1.18k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  1.18k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  1.18k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  1.18k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  1.18k|                   (index))
  ------------------
12489|       |    /* PEP 3131 says that the first character must be in
12490|       |       XID_Start and subsequent characters in XID_Continue,
12491|       |       and for the ASCII range, the 2.x rules apply (i.e
12492|       |       start with letters and underscore, continue with
12493|       |       letters, digits, underscore). However, given the current
12494|       |       definition of XID_Start and XID_Continue, it is sufficient
12495|       |       to check just for these, except that _ must be allowed
12496|       |       as starting an identifier.  */
12497|  1.18k|    if (!_PyUnicode_IsXidStart(ch) && ch != 0x5F /* LOW LINE */) {
  ------------------
  |  Branch (12497:9): [True: 121, False: 1.06k]
  |  Branch (12497:39): [True: 85, False: 36]
  ------------------
12498|     85|        return 0;
12499|     85|    }
12500|       |
12501|  5.08k|    for (i = 1; i < len; i++) {
  ------------------
  |  Branch (12501:17): [True: 3.99k, False: 1.09k]
  ------------------
12502|  3.99k|        ch = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  354|  3.99k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  3.99k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  3.99k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  3.99k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  3.99k|                   (index))
  ------------------
12503|  3.99k|        if (!_PyUnicode_IsXidContinue(ch)) {
  ------------------
  |  Branch (12503:13): [True: 9, False: 3.98k]
  ------------------
12504|      9|            return i;
12505|      9|        }
12506|  3.99k|    }
12507|  1.09k|    return i;
12508|  1.10k|}
PyUnicode_IsIdentifier:
12512|  1.18k|{
12513|  1.18k|    Py_ssize_t i = _PyUnicode_ScanIdentifier(self);
12514|  1.18k|    Py_ssize_t len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|  1.18k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12515|       |    /* an empty string is not a valid identifier */
12516|  1.18k|    return len && i == len;
  ------------------
  |  Branch (12516:12): [True: 1.18k, False: 0]
  |  Branch (12516:19): [True: 1.09k, False: 94]
  ------------------
12517|  1.18k|}
_PyUnicode_XStrip:
12647|    567|{
12648|    567|    const void *data;
12649|    567|    int kind;
12650|    567|    Py_ssize_t i, j, len;
12651|    567|    BLOOM_MASK sepmask;
  ------------------
  |  |  909|    567|#define BLOOM_MASK unsigned long
  ------------------
12652|    567|    Py_ssize_t seplen;
12653|       |
12654|    567|    kind = PyUnicode_KIND(self);
  ------------------
  |  |  258|    567|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  1.13k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 567, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12655|    567|    data = PyUnicode_DATA(self);
  ------------------
  |  |  284|    567|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    567|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    567|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12656|    567|    len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|    567|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    567|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    567|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12657|    567|    seplen = PyUnicode_GET_LENGTH(sepobj);
  ------------------
  |  |  299|    567|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    567|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    567|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12658|    567|    sepmask = make_bloom_mask(PyUnicode_KIND(sepobj),
  ------------------
  |  |  258|    567|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  1.13k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 567, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12659|    567|                              PyUnicode_DATA(sepobj),
  ------------------
  |  |  284|    567|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    567|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    567|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12660|    567|                              seplen);
12661|       |
12662|      0|    i = 0;
12663|    567|    if (striptype != RIGHTSTRIP) {
  ------------------
  |  |12636|    567|#define RIGHTSTRIP 1
  ------------------
  |  Branch (12663:9): [True: 1, False: 566]
  ------------------
12664|      2|        while (i < len) {
  ------------------
  |  Branch (12664:16): [True: 1, False: 1]
  ------------------
12665|      1|            Py_UCS4 ch = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  354|      1|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      1|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      1|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      1|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      1|                   (index))
  ------------------
12666|      1|            if (!BLOOM(sepmask, ch))
  ------------------
  |  |  913|      1|#define BLOOM(mask, ch)     ((mask &  (1UL << ((ch) & (BLOOM_WIDTH - 1)))))
  |  |  ------------------
  |  |  |  |  902|      1|#define BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (12666:17): [True: 0, False: 1]
  ------------------
12667|      0|                break;
12668|      1|            if (PyUnicode_FindChar(sepobj, ch, 0, seplen, 1) < 0)
  ------------------
  |  Branch (12668:17): [True: 0, False: 1]
  ------------------
12669|      0|                break;
12670|      1|            i++;
12671|      1|        }
12672|      1|    }
12673|       |
12674|    567|    j = len;
12675|    567|    if (striptype != LEFTSTRIP) {
  ------------------
  |  |12635|    567|#define LEFTSTRIP 0
  ------------------
  |  Branch (12675:9): [True: 566, False: 1]
  ------------------
12676|    566|        j--;
12677|    570|        while (j >= i) {
  ------------------
  |  Branch (12677:16): [True: 570, False: 0]
  ------------------
12678|    570|            Py_UCS4 ch = PyUnicode_READ(kind, data, j);
  ------------------
  |  |  354|    570|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|    570|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|    570|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|    570|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|    570|                   (index))
  ------------------
12679|    570|            if (!BLOOM(sepmask, ch))
  ------------------
  |  |  913|    570|#define BLOOM(mask, ch)     ((mask &  (1UL << ((ch) & (BLOOM_WIDTH - 1)))))
  |  |  ------------------
  |  |  |  |  902|    570|#define BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (12679:17): [True: 388, False: 182]
  ------------------
12680|    388|                break;
12681|    182|            if (PyUnicode_FindChar(sepobj, ch, 0, seplen, 1) < 0)
  ------------------
  |  Branch (12681:17): [True: 178, False: 4]
  ------------------
12682|    178|                break;
12683|      4|            j--;
12684|      4|        }
12685|       |
12686|    566|        j++;
12687|    566|    }
12688|       |
12689|    567|    return PyUnicode_Substring(self, i, j);
12690|    567|}
_PyUnicode_BinarySlice:
12694|  3.61k|{
12695|  3.61k|    assert(PyUnicode_CheckExact(container));
  ------------------
  |  Branch (12695:5): [True: 3.61k, False: 0]
  ------------------
12696|  3.61k|    Py_ssize_t len = PyUnicode_GET_LENGTH(container);
  ------------------
  |  |  299|  3.61k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.61k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.61k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12697|  3.61k|    Py_ssize_t istart, istop;
12698|  3.61k|    if (!_PyEval_UnpackIndices(start_o, stop_o, len, &istart, &istop)) {
  ------------------
  |  Branch (12698:9): [True: 0, False: 3.61k]
  ------------------
12699|      0|        return NULL;
12700|      0|    }
12701|  3.61k|    return PyUnicode_Substring(container, istart, istop);
12702|  3.61k|}
PyUnicode_Substring:
12706|   387k|{
12707|   387k|    const unsigned char *data;
12708|   387k|    int kind;
12709|   387k|    Py_ssize_t length;
12710|       |
12711|   387k|    length = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|   387k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   387k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   387k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12712|   387k|    end = Py_MIN(end, length);
  ------------------
  |  |  112|   387k|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 0, False: 387k]
  |  |  ------------------
  ------------------
12713|       |
12714|   387k|    if (start == 0 && end == length)
  ------------------
  |  Branch (12714:9): [True: 2.46k, False: 385k]
  |  Branch (12714:23): [True: 1.44k, False: 1.02k]
  ------------------
12715|  1.44k|        return unicode_result_unchanged(self);
12716|       |
12717|   386k|    if (start < 0 || end < 0) {
  ------------------
  |  Branch (12717:9): [True: 0, False: 386k]
  |  Branch (12717:22): [True: 0, False: 386k]
  ------------------
12718|      0|        PyErr_SetString(PyExc_IndexError, "string index out of range");
12719|      0|        return NULL;
12720|      0|    }
12721|   386k|    if (start >= length || end < start)
  ------------------
  |  Branch (12721:9): [True: 2, False: 386k]
  |  Branch (12721:28): [True: 0, False: 386k]
  ------------------
12722|      2|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  379|      2|    do {                             \
  |  |  380|      2|        return _PyUnicode_GetEmpty();\
  |  |  381|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
12723|       |
12724|   386k|    length = end - start;
12725|   386k|    if (PyUnicode_IS_ASCII(self)) {
  ------------------
  |  |  227|   386k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   386k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   386k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 381k, False: 5.12k]
  |  |  ------------------
  ------------------
12726|   381k|        data = PyUnicode_1BYTE_DATA(self);
  ------------------
  |  |  291|   381k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   381k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
12727|   381k|        return _PyUnicode_FromASCII((const char*)(data + start), length);
12728|   381k|    }
12729|  5.12k|    else {
12730|  5.12k|        kind = PyUnicode_KIND(self);
  ------------------
  |  |  258|  5.12k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  10.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 5.12k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12731|  5.12k|        data = PyUnicode_1BYTE_DATA(self);
  ------------------
  |  |  291|  5.12k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  5.12k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
12732|  5.12k|        return PyUnicode_FromKindAndData(kind,
12733|  5.12k|                                         data + kind * start,
12734|  5.12k|                                         length);
12735|  5.12k|    }
12736|   386k|}
_PyUnicode_Repeat:
12879|      4|{
12880|      4|    PyObject *u;
12881|      4|    Py_ssize_t nchars, n;
12882|       |
12883|      4|    if (len < 1)
  ------------------
  |  Branch (12883:9): [True: 0, False: 4]
  ------------------
12884|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  379|      0|    do {                             \
  |  |  380|      0|        return _PyUnicode_GetEmpty();\
  |  |  381|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
12885|       |
12886|       |    /* no repeat, return original string */
12887|      4|    if (len == 1)
  ------------------
  |  Branch (12887:9): [True: 0, False: 4]
  ------------------
12888|      0|        return unicode_result_unchanged(str);
12889|       |
12890|      4|    if (PyUnicode_GET_LENGTH(str) > PY_SSIZE_T_MAX / len) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyUnicode_GET_LENGTH(str) > PY_SSIZE_T_MAX / len) {
  ------------------
  |  |  137|      4|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (12890:9): [True: 0, False: 4]
  ------------------
12891|      0|        PyErr_SetString(PyExc_OverflowError,
12892|      0|                        "repeated string is too long");
12893|      0|        return NULL;
12894|      0|    }
12895|      4|    nchars = len * PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  299|      4|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12896|       |
12897|      4|    u = PyUnicode_New(nchars, PyUnicode_MAX_CHAR_VALUE(str));
  ------------------
  |  |  405|      4|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12898|      4|    if (!u)
  ------------------
  |  Branch (12898:9): [True: 0, False: 4]
  ------------------
12899|      0|        return NULL;
12900|      4|    assert(PyUnicode_KIND(u) == PyUnicode_KIND(str));
  ------------------
  |  Branch (12900:5): [True: 4, False: 0]
  |  Branch (12900:5): [True: 4, False: 0]
  |  Branch (12900:5): [True: 4, False: 0]
  ------------------
12901|       |
12902|      4|    if (PyUnicode_GET_LENGTH(str) == 1) {
  ------------------
  |  |  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 (12902:9): [True: 4, False: 0]
  ------------------
12903|      4|        int kind = PyUnicode_KIND(str);
  ------------------
  |  |  258|      4|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|      8|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12904|      4|        Py_UCS4 fill_char = PyUnicode_READ(kind, PyUnicode_DATA(str), 0);
  ------------------
  |  |  354|      4|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      4|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      4|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      4|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      4|                   (index))
  ------------------
12905|      4|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (12905:13): [True: 4, False: 0]
  ------------------
12906|      4|            void *to = PyUnicode_DATA(u);
  ------------------
  |  |  284|      4|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12907|      4|            memset(to, (unsigned char)fill_char, len);
12908|      4|        }
12909|      0|        else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (12909:18): [True: 0, False: 0]
  ------------------
12910|      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))
  |  |  ------------------
  ------------------
12911|      0|            for (n = 0; n < len; ++n)
  ------------------
  |  Branch (12911:25): [True: 0, False: 0]
  ------------------
12912|      0|                ucs2[n] = fill_char;
12913|      0|        } else {
12914|      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))
  |  |  ------------------
  ------------------
12915|      0|            assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (12915:13): [True: 0, False: 0]
  ------------------
12916|      0|            for (n = 0; n < len; ++n)
  ------------------
  |  Branch (12916:25): [True: 0, False: 0]
  ------------------
12917|      0|                ucs4[n] = fill_char;
12918|      0|        }
12919|      4|    }
12920|      0|    else {
12921|      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))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12922|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12923|      0|        _PyBytes_RepeatBuffer(to, nchars * char_size, PyUnicode_DATA(str),
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12924|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12925|      0|    }
12926|       |
12927|      4|    assert(_PyUnicode_CheckConsistency(u, 1));
  ------------------
  |  Branch (12927:5): [True: 4, False: 0]
  ------------------
12928|      4|    return u;
12929|      4|}
PyUnicode_RPartition:
13286|    270|{
13287|    270|    PyObject* out;
13288|    270|    int kind1, kind2;
13289|    270|    const void *buf1, *buf2;
13290|    270|    Py_ssize_t len1, len2;
13291|       |
13292|    270|    if (ensure_unicode(str_obj) < 0 || ensure_unicode(sep_obj) < 0)
  ------------------
  |  |  109|    270|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
                  if (ensure_unicode(str_obj) < 0 || ensure_unicode(sep_obj) < 0)
  ------------------
  |  |  109|    270|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
  |  Branch (13292:9): [True: 0, False: 270]
  |  Branch (13292:40): [True: 0, False: 270]
  ------------------
13293|      0|        return NULL;
13294|       |
13295|    270|    kind1 = PyUnicode_KIND(str_obj);
  ------------------
  |  |  258|    270|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    540|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 270, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13296|    270|    kind2 = PyUnicode_KIND(sep_obj);
  ------------------
  |  |  258|    270|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    540|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 270, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13297|    270|    len1 = PyUnicode_GET_LENGTH(str_obj);
  ------------------
  |  |  299|    270|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    270|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    270|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13298|    270|    len2 = PyUnicode_GET_LENGTH(sep_obj);
  ------------------
  |  |  299|    270|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    270|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    270|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13299|    270|    if (kind1 < kind2 || len1 < len2) {
  ------------------
  |  Branch (13299:9): [True: 0, False: 270]
  |  Branch (13299:26): [True: 0, False: 270]
  ------------------
13300|      0|        PyObject *empty = _PyUnicode_GetEmpty();  // Borrowed reference
13301|      0|        return PyTuple_Pack(3, empty, empty, str_obj);
13302|      0|    }
13303|    270|    buf1 = PyUnicode_DATA(str_obj);
  ------------------
  |  |  284|    270|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    270|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    270|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13304|    270|    buf2 = PyUnicode_DATA(sep_obj);
  ------------------
  |  |  284|    270|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    270|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    270|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13305|    270|    if (kind2 != kind1) {
  ------------------
  |  Branch (13305:9): [True: 0, False: 270]
  ------------------
13306|      0|        buf2 = unicode_askind(kind2, buf2, len2, kind1);
13307|      0|        if (!buf2)
  ------------------
  |  Branch (13307:13): [True: 0, False: 0]
  ------------------
13308|      0|            return NULL;
13309|      0|    }
13310|       |
13311|    270|    switch (kind1) {
13312|    270|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (13312:5): [True: 270, False: 0]
  ------------------
13313|    270|        if (PyUnicode_IS_ASCII(str_obj) && PyUnicode_IS_ASCII(sep_obj))
  ------------------
  |  |  227|    540|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    270|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    270|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 270, False: 0]
  |  |  ------------------
  ------------------
                      if (PyUnicode_IS_ASCII(str_obj) && PyUnicode_IS_ASCII(sep_obj))
  ------------------
  |  |  227|    270|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    270|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    270|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 270, False: 0]
  |  |  ------------------
  ------------------
13314|    270|            out = asciilib_rpartition(str_obj, buf1, len1, sep_obj, buf2, len2);
13315|      0|        else
13316|      0|            out = ucs1lib_rpartition(str_obj, buf1, len1, sep_obj, buf2, len2);
13317|    270|        break;
13318|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (13318:5): [True: 0, False: 270]
  ------------------
13319|      0|        out = ucs2lib_rpartition(str_obj, buf1, len1, sep_obj, buf2, len2);
13320|      0|        break;
13321|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (13321:5): [True: 0, False: 270]
  ------------------
13322|      0|        out = ucs4lib_rpartition(str_obj, buf1, len1, sep_obj, buf2, len2);
13323|      0|        break;
13324|      0|    default:
  ------------------
  |  Branch (13324:5): [True: 0, False: 270]
  ------------------
13325|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
13326|    270|    }
13327|       |
13328|    270|    assert((kind2 == kind1) == (buf2 == PyUnicode_DATA(sep_obj)));
  ------------------
  |  Branch (13328:5): [True: 270, False: 0]
  ------------------
13329|    270|    if (kind2 != kind1)
  ------------------
  |  Branch (13329:9): [True: 0, False: 270]
  ------------------
13330|      0|        PyMem_Free((void *)buf2);
13331|       |
13332|    270|    return out;
13333|    270|}
_PyUnicode_ExactDealloc:
14384|   263k|{
14385|   263k|    assert(PyUnicode_CheckExact(op));
  ------------------
  |  Branch (14385:5): [True: 263k, False: 0]
  ------------------
14386|   263k|    unicode_dealloc(op);
14387|   263k|}
_PyUnicode_InitState:
14479|      2|{
14480|      2|    if (!_Py_IsMainInterpreter(interp)) {
  ------------------
  |  Branch (14480:9): [True: 0, False: 2]
  ------------------
14481|      0|        return;
14482|      0|    }
14483|      2|    _init_global_state();
14484|      2|}
_PyUnicode_InitGlobalObjects:
14489|      2|{
14490|      2|    if (_Py_IsMainInterpreter(interp)) {
  ------------------
  |  Branch (14490:9): [True: 2, False: 0]
  ------------------
14491|      2|        PyStatus status = init_global_interned_strings(interp);
14492|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
14493|      0|            return status;
14494|      0|        }
14495|      2|    }
14496|      2|    assert(INTERNED_STRINGS);
  ------------------
  |  Branch (14496:5): [True: 2, False: 0]
  ------------------
14497|       |
14498|      2|    if (init_interned_dict(interp)) {
  ------------------
  |  Branch (14498:9): [True: 0, False: 2]
  ------------------
14499|      0|        PyErr_Clear();
14500|      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)}
  ------------------
14501|      0|    }
14502|       |
14503|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
14504|      2|}
_PyUnicode_InitTypes:
14509|      2|{
14510|      2|    if (_PyStaticType_InitBuiltin(interp, &EncodingMapType) < 0) {
  ------------------
  |  Branch (14510:9): [True: 0, False: 2]
  ------------------
14511|      0|        goto error;
14512|      0|    }
14513|      2|    if (_PyStaticType_InitBuiltin(interp, &PyFieldNameIter_Type) < 0) {
  ------------------
  |  Branch (14513:9): [True: 0, False: 2]
  ------------------
14514|      0|        goto error;
14515|      0|    }
14516|      2|    if (_PyStaticType_InitBuiltin(interp, &PyFormatterIter_Type) < 0) {
  ------------------
  |  Branch (14516:9): [True: 0, False: 2]
  ------------------
14517|      0|        goto error;
14518|      0|    }
14519|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
14520|       |
14521|      0|error:
14522|      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)}
  ------------------
14523|      2|}
_PyUnicode_InternStatic:
14566|  2.24k|{
14567|       |    // This should only be called as part of runtime initialization
14568|  2.24k|    assert(!Py_IsInitialized());
  ------------------
  |  Branch (14568:5): [True: 2.24k, False: 0]
  ------------------
14569|       |
14570|  2.24k|    *p = intern_static(interp, *p);
14571|       |    assert(*p);
  ------------------
  |  Branch (14571:5): [True: 2.24k, False: 0]
  ------------------
14572|  2.24k|}
_PyUnicode_InternImmortal:
14780|  42.7k|{
14781|  42.7k|    *p = intern_common(interp, *p, 1);
14782|       |    assert(*p);
  ------------------
  |  Branch (14782:5): [True: 42.7k, False: 0]
  ------------------
14783|  42.7k|}
_PyUnicode_InternMortal:
14787|  34.8k|{
14788|  34.8k|    *p = intern_common(interp, *p, 0);
14789|       |    assert(*p);
  ------------------
  |  Branch (14789:5): [True: 34.8k, False: 0]
  ------------------
14790|  34.8k|}
PyUnicode_InternFromString:
14818|  6.17k|{
14819|  6.17k|    PyObject *s = PyUnicode_FromString(cp);
14820|  6.17k|    if (s == NULL) {
  ------------------
  |  Branch (14820:9): [True: 0, False: 6.17k]
  ------------------
14821|      0|        return NULL;
14822|      0|    }
14823|  6.17k|    PyInterpreterState *interp = _PyInterpreterState_GET();
14824|  6.17k|    _PyUnicode_InternMortal(interp, &s);
14825|  6.17k|    return s;
14826|  6.17k|}
_PyUnicode_InitEncodings:
15280|      2|{
15281|      2|    PyStatus status = _PyCodec_InitRegistry(tstate->interp);
15282|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
15283|      0|        return status;
15284|      0|    }
15285|      2|    status = init_fs_encoding(tstate);
15286|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
15287|      0|        return status;
15288|      0|    }
15289|       |
15290|      2|    return init_stdio_encoding(tstate->interp);
15291|      2|}
unicodeobject.c:get_interned_dict:
  216|  14.7k|{
  217|  14.7k|    return _Py_INTERP_CACHED_OBJECT(interp, interned_strings);
  ------------------
  |  |   22|  14.7k|    (interp)->cached_objects.NAME
  ------------------
  218|  14.7k|}
unicodeobject.c:_PyUnicode_UTF8:
  118|  5.52M|{
  119|  5.52M|    return FT_ATOMIC_LOAD_PTR_ACQUIRE(_PyCompactUnicodeObject_CAST(op)->utf8);
  ------------------
  |  |  150|  16.5M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  |  |  Branch (150:43): [True: 5.52M, False: 0]
  |  |  ------------------
  ------------------
  120|  5.52M|}
unicodeobject.c:_PyUnicode_HAS_UTF8_MEMORY:
  181|  10.9M|{
  182|  10.9M|    return (!PyUnicode_IS_COMPACT_ASCII(op)
  ------------------
  |  |  241|  21.9M|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_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 (182:13): [True: 1.10M, False: 9.87M]
  ------------------
  183|  1.10M|            && _PyUnicode_UTF8(op) != NULL
  ------------------
  |  Branch (183:16): [True: 0, False: 1.10M]
  ------------------
  184|      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 (184:16): [True: 0, False: 0]
  ------------------
  185|  10.9M|}
unicodeobject.c:PyUnicode_SET_UTF8_LENGTH:
  150|     14|{
  151|     14|    _PyCompactUnicodeObject_CAST(op)->utf8_length = length;
  ------------------
  |  |  189|     14|    (assert(PyUnicode_Check(op)), \
  |  |  190|     14|     _Py_CAST(PyCompactUnicodeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (151:5): [True: 14, False: 0]
  ------------------
  152|     14|}
unicodeobject.c:PyUnicode_SET_UTF8:
  134|     14|{
  135|     14|    FT_ATOMIC_STORE_PTR_RELEASE(_PyCompactUnicodeObject_CAST(op)->utf8, utf8);
  ------------------
  |  |  164|     28|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  |  |  Branch (164:55): [True: 14, False: 0]
  |  |  ------------------
  ------------------
  136|     14|}
unicodeobject.c:_copy_characters:
 1386|  9.15M|{
 1387|  9.15M|    int from_kind, to_kind;
 1388|  9.15M|    const void *from_data;
 1389|  9.15M|    void *to_data;
 1390|       |
 1391|  9.15M|    assert(0 <= how_many);
  ------------------
  |  Branch (1391:5): [True: 9.15M, False: 0]
  ------------------
 1392|  9.15M|    assert(0 <= from_start);
  ------------------
  |  Branch (1392:5): [True: 9.15M, False: 0]
  ------------------
 1393|  9.15M|    assert(0 <= to_start);
  ------------------
  |  Branch (1393:5): [True: 9.15M, False: 0]
  ------------------
 1394|  9.15M|    assert(PyUnicode_Check(from));
  ------------------
  |  Branch (1394:5): [True: 9.15M, False: 0]
  ------------------
 1395|  9.15M|    assert(from_start + how_many <= PyUnicode_GET_LENGTH(from));
  ------------------
  |  Branch (1395:5): [True: 9.15M, False: 0]
  ------------------
 1396|       |
 1397|  9.15M|    assert(to == NULL || PyUnicode_Check(to));
  ------------------
  |  Branch (1397:5): [True: 0, False: 9.15M]
  |  Branch (1397:5): [True: 9.15M, False: 0]
  ------------------
 1398|       |
 1399|  9.15M|    if (how_many == 0) {
  ------------------
  |  Branch (1399:9): [True: 0, False: 9.15M]
  ------------------
 1400|      0|        return 0;
 1401|      0|    }
 1402|       |
 1403|  9.15M|    assert(to != NULL);
  ------------------
  |  Branch (1403:5): [True: 9.15M, False: 0]
  ------------------
 1404|  9.15M|    assert(to_start + how_many <= PyUnicode_GET_LENGTH(to));
  ------------------
  |  Branch (1404:5): [True: 9.15M, False: 0]
  ------------------
 1405|       |
 1406|  9.15M|    from_kind = PyUnicode_KIND(from);
  ------------------
  |  |  258|  9.15M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  18.3M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 9.15M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1407|  9.15M|    from_data = PyUnicode_DATA(from);
  ------------------
  |  |  284|  9.15M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.15M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.15M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1408|  9.15M|    to_kind = PyUnicode_KIND(to);
  ------------------
  |  |  258|  9.15M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  18.3M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 9.15M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1409|  9.15M|    to_data = PyUnicode_DATA(to);
  ------------------
  |  |  284|  9.15M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.15M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.15M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1410|       |
 1411|       |#ifdef Py_DEBUG
 1412|       |    if (!check_maxchar
 1413|       |        && PyUnicode_MAX_CHAR_VALUE(from) > PyUnicode_MAX_CHAR_VALUE(to))
 1414|       |    {
 1415|       |        Py_UCS4 to_maxchar = PyUnicode_MAX_CHAR_VALUE(to);
 1416|       |        Py_UCS4 ch;
 1417|       |        Py_ssize_t i;
 1418|       |        for (i=0; i < how_many; i++) {
 1419|       |            ch = PyUnicode_READ(from_kind, from_data, from_start + i);
 1420|       |            assert(ch <= to_maxchar);
 1421|       |        }
 1422|       |    }
 1423|       |#endif
 1424|       |
 1425|  9.15M|    if (from_kind == to_kind) {
  ------------------
  |  Branch (1425:9): [True: 9.15M, False: 2]
  ------------------
 1426|  9.15M|        if (check_maxchar
  ------------------
  |  Branch (1426:13): [True: 0, False: 9.15M]
  ------------------
 1427|      0|            && !PyUnicode_IS_ASCII(from) && PyUnicode_IS_ASCII(to))
  ------------------
  |  |  227|  9.15M|#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 (1427:16): [True: 0, False: 0]
  ------------------
 1428|      0|        {
 1429|       |            /* Writing Latin-1 characters into an ASCII string requires to
 1430|       |               check that all written characters are pure ASCII */
 1431|      0|            Py_UCS4 max_char;
 1432|      0|            max_char = ucs1lib_find_max_char(from_data,
 1433|      0|                                             (const Py_UCS1*)from_data + how_many);
 1434|      0|            if (max_char >= 128)
  ------------------
  |  Branch (1434:17): [True: 0, False: 0]
  ------------------
 1435|      0|                return -1;
 1436|      0|        }
 1437|  9.15M|        memcpy((char*)to_data + to_kind * to_start,
 1438|  9.15M|                  (const char*)from_data + from_kind * from_start,
 1439|  9.15M|                  to_kind * how_many);
 1440|  9.15M|    }
 1441|      2|    else if (from_kind == PyUnicode_1BYTE_KIND
  ------------------
  |  Branch (1441:14): [True: 2, False: 0]
  ------------------
 1442|      2|             && to_kind == PyUnicode_2BYTE_KIND)
  ------------------
  |  Branch (1442:17): [True: 2, False: 0]
  ------------------
 1443|      2|    {
 1444|      2|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   45|      2|    do {                                                \
  |  |   46|      2|        to_type *_to = (to_type *)(to);                 \
  |  |   47|      2|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|      2|        const from_type *_end = (const from_type *)(end);\
  |  |   49|      2|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|      2|        const from_type *_unrolled_end =                \
  |  |   51|      2|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|      2|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|     80|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 78, False: 2]
  |  |  ------------------
  |  |   53|     78|            _to[0] = (to_type) _iter[0];                \
  |  |   54|     78|            _to[1] = (to_type) _iter[1];                \
  |  |   55|     78|            _to[2] = (to_type) _iter[2];                \
  |  |   56|     78|            _to[3] = (to_type) _iter[3];                \
  |  |   57|     78|            _iter += 4; _to += 4;                       \
  |  |   58|     78|        }                                               \
  |  |   59|      6|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 4, False: 2]
  |  |  ------------------
  |  |   60|      4|            *_to++ = (to_type) *_iter++;                \
  |  |   61|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1445|      2|            Py_UCS1, Py_UCS2,
 1446|      2|            PyUnicode_1BYTE_DATA(from) + from_start,
 1447|      2|            PyUnicode_1BYTE_DATA(from) + from_start + how_many,
 1448|      2|            PyUnicode_2BYTE_DATA(to) + to_start
 1449|      2|            );
 1450|      2|    }
 1451|      0|    else if (from_kind == PyUnicode_1BYTE_KIND
  ------------------
  |  Branch (1451:14): [True: 0, False: 0]
  ------------------
 1452|      0|             && to_kind == PyUnicode_4BYTE_KIND)
  ------------------
  |  Branch (1452:17): [True: 0, False: 0]
  ------------------
 1453|      0|    {
 1454|      0|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   45|      0|    do {                                                \
  |  |   46|      0|        to_type *_to = (to_type *)(to);                 \
  |  |   47|      0|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|      0|        const from_type *_end = (const from_type *)(end);\
  |  |   49|      0|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|      0|        const from_type *_unrolled_end =                \
  |  |   51|      0|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|      0|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|      0|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   54|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   55|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   56|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   57|      0|            _iter += 4; _to += 4;                       \
  |  |   58|      0|        }                                               \
  |  |   59|      0|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   60|      0|            *_to++ = (to_type) *_iter++;                \
  |  |   61|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1455|      0|            Py_UCS1, Py_UCS4,
 1456|      0|            PyUnicode_1BYTE_DATA(from) + from_start,
 1457|      0|            PyUnicode_1BYTE_DATA(from) + from_start + how_many,
 1458|      0|            PyUnicode_4BYTE_DATA(to) + to_start
 1459|      0|            );
 1460|      0|    }
 1461|      0|    else if (from_kind == PyUnicode_2BYTE_KIND
  ------------------
  |  Branch (1461:14): [True: 0, False: 0]
  ------------------
 1462|      0|             && to_kind == PyUnicode_4BYTE_KIND)
  ------------------
  |  Branch (1462:17): [True: 0, False: 0]
  ------------------
 1463|      0|    {
 1464|      0|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   45|      0|    do {                                                \
  |  |   46|      0|        to_type *_to = (to_type *)(to);                 \
  |  |   47|      0|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|      0|        const from_type *_end = (const from_type *)(end);\
  |  |   49|      0|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|      0|        const from_type *_unrolled_end =                \
  |  |   51|      0|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|      0|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|      0|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   54|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   55|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   56|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   57|      0|            _iter += 4; _to += 4;                       \
  |  |   58|      0|        }                                               \
  |  |   59|      0|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   60|      0|            *_to++ = (to_type) *_iter++;                \
  |  |   61|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1465|      0|            Py_UCS2, Py_UCS4,
 1466|      0|            PyUnicode_2BYTE_DATA(from) + from_start,
 1467|      0|            PyUnicode_2BYTE_DATA(from) + from_start + how_many,
 1468|      0|            PyUnicode_4BYTE_DATA(to) + to_start
 1469|      0|            );
 1470|      0|    }
 1471|      0|    else {
 1472|      0|        assert (PyUnicode_MAX_CHAR_VALUE(from) > PyUnicode_MAX_CHAR_VALUE(to));
  ------------------
  |  Branch (1472:9): [True: 0, False: 0]
  ------------------
 1473|       |
 1474|      0|        if (!check_maxchar) {
  ------------------
  |  Branch (1474:13): [True: 0, False: 0]
  ------------------
 1475|      0|            if (from_kind == PyUnicode_2BYTE_KIND
  ------------------
  |  Branch (1475:17): [True: 0, False: 0]
  ------------------
 1476|      0|                && to_kind == PyUnicode_1BYTE_KIND)
  ------------------
  |  Branch (1476:20): [True: 0, False: 0]
  ------------------
 1477|      0|            {
 1478|      0|                _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   45|      0|    do {                                                \
  |  |   46|      0|        to_type *_to = (to_type *)(to);                 \
  |  |   47|      0|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|      0|        const from_type *_end = (const from_type *)(end);\
  |  |   49|      0|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|      0|        const from_type *_unrolled_end =                \
  |  |   51|      0|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|      0|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|      0|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   54|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   55|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   56|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   57|      0|            _iter += 4; _to += 4;                       \
  |  |   58|      0|        }                                               \
  |  |   59|      0|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   60|      0|            *_to++ = (to_type) *_iter++;                \
  |  |   61|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1479|      0|                    Py_UCS2, Py_UCS1,
 1480|      0|                    PyUnicode_2BYTE_DATA(from) + from_start,
 1481|      0|                    PyUnicode_2BYTE_DATA(from) + from_start + how_many,
 1482|      0|                    PyUnicode_1BYTE_DATA(to) + to_start
 1483|      0|                    );
 1484|      0|            }
 1485|      0|            else if (from_kind == PyUnicode_4BYTE_KIND
  ------------------
  |  Branch (1485:22): [True: 0, False: 0]
  ------------------
 1486|      0|                     && to_kind == PyUnicode_1BYTE_KIND)
  ------------------
  |  Branch (1486:25): [True: 0, False: 0]
  ------------------
 1487|      0|            {
 1488|      0|                _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   45|      0|    do {                                                \
  |  |   46|      0|        to_type *_to = (to_type *)(to);                 \
  |  |   47|      0|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|      0|        const from_type *_end = (const from_type *)(end);\
  |  |   49|      0|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|      0|        const from_type *_unrolled_end =                \
  |  |   51|      0|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|      0|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|      0|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   54|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   55|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   56|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   57|      0|            _iter += 4; _to += 4;                       \
  |  |   58|      0|        }                                               \
  |  |   59|      0|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   60|      0|            *_to++ = (to_type) *_iter++;                \
  |  |   61|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1489|      0|                    Py_UCS4, Py_UCS1,
 1490|      0|                    PyUnicode_4BYTE_DATA(from) + from_start,
 1491|      0|                    PyUnicode_4BYTE_DATA(from) + from_start + how_many,
 1492|      0|                    PyUnicode_1BYTE_DATA(to) + to_start
 1493|      0|                    );
 1494|      0|            }
 1495|      0|            else if (from_kind == PyUnicode_4BYTE_KIND
  ------------------
  |  Branch (1495:22): [True: 0, False: 0]
  ------------------
 1496|      0|                     && to_kind == PyUnicode_2BYTE_KIND)
  ------------------
  |  Branch (1496:25): [True: 0, False: 0]
  ------------------
 1497|      0|            {
 1498|      0|                _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   45|      0|    do {                                                \
  |  |   46|      0|        to_type *_to = (to_type *)(to);                 \
  |  |   47|      0|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|      0|        const from_type *_end = (const from_type *)(end);\
  |  |   49|      0|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|      0|        const from_type *_unrolled_end =                \
  |  |   51|      0|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|      0|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|      0|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   54|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   55|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   56|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   57|      0|            _iter += 4; _to += 4;                       \
  |  |   58|      0|        }                                               \
  |  |   59|      0|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   60|      0|            *_to++ = (to_type) *_iter++;                \
  |  |   61|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1499|      0|                    Py_UCS4, Py_UCS2,
 1500|      0|                    PyUnicode_4BYTE_DATA(from) + from_start,
 1501|      0|                    PyUnicode_4BYTE_DATA(from) + from_start + how_many,
 1502|      0|                    PyUnicode_2BYTE_DATA(to) + to_start
 1503|      0|                    );
 1504|      0|            }
 1505|      0|            else {
 1506|      0|                Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1507|      0|            }
 1508|      0|        }
 1509|      0|        else {
 1510|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1511|      0|            Py_UCS4 ch;
 1512|      0|            Py_ssize_t i;
 1513|       |
 1514|      0|            for (i=0; i < how_many; i++) {
  ------------------
  |  Branch (1514:23): [True: 0, False: 0]
  ------------------
 1515|      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))
  ------------------
 1516|      0|                if (ch > to_maxchar)
  ------------------
  |  Branch (1516:21): [True: 0, False: 0]
  ------------------
 1517|      0|                    return -1;
 1518|      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))
  |  |  ------------------
  ------------------
 1519|      0|            }
 1520|      0|        }
 1521|      0|    }
 1522|  9.15M|    return 0;
 1523|  9.15M|}
unicodeobject.c:unicode_resize:
 1757|  5.39M|{
 1758|  5.39M|    PyObject *unicode;
 1759|  5.39M|    Py_ssize_t old_length;
 1760|       |
 1761|  5.39M|    assert(p_unicode != NULL);
  ------------------
  |  Branch (1761:5): [True: 5.39M, False: 0]
  ------------------
 1762|  5.39M|    unicode = *p_unicode;
 1763|       |
 1764|  5.39M|    assert(unicode != NULL);
  ------------------
  |  Branch (1764:5): [True: 5.39M, False: 0]
  ------------------
 1765|  5.39M|    assert(PyUnicode_Check(unicode));
  ------------------
  |  Branch (1765:5): [True: 5.39M, False: 0]
  ------------------
 1766|  5.39M|    assert(0 <= length);
  ------------------
  |  Branch (1766:5): [True: 5.39M, False: 0]
  ------------------
 1767|       |
 1768|  5.39M|    old_length = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|  5.39M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.39M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.39M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1769|  5.39M|    if (old_length == length)
  ------------------
  |  Branch (1769:9): [True: 0, False: 5.39M]
  ------------------
 1770|      0|        return 0;
 1771|       |
 1772|  5.39M|    if (length == 0) {
  ------------------
  |  Branch (1772:9): [True: 0, False: 5.39M]
  ------------------
 1773|      0|        PyObject *empty = _PyUnicode_GetEmpty();
 1774|      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]
  |  |  ------------------
  ------------------
 1775|      0|        return 0;
 1776|      0|    }
 1777|       |
 1778|  5.39M|    if (!_PyUnicode_IsModifiable(unicode)) {
  ------------------
  |  Branch (1778:9): [True: 0, False: 5.39M]
  ------------------
 1779|      0|        PyObject *copy = resize_copy(unicode, length);
 1780|      0|        if (copy == NULL)
  ------------------
  |  Branch (1780:13): [True: 0, False: 0]
  ------------------
 1781|      0|            return -1;
 1782|      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]
  |  |  ------------------
  ------------------
 1783|      0|        return 0;
 1784|      0|    }
 1785|       |
 1786|  5.39M|    if (PyUnicode_IS_COMPACT(unicode)) {
  ------------------
  |  |  234|  5.39M|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.39M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.39M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 5.39M, False: 0]
  |  |  ------------------
  ------------------
 1787|  5.39M|        PyObject *new_unicode = _PyUnicode_ResizeCompact(unicode, length);
 1788|  5.39M|        if (new_unicode == NULL)
  ------------------
  |  Branch (1788:13): [True: 0, False: 5.39M]
  ------------------
 1789|      0|            return -1;
 1790|  5.39M|        *p_unicode = new_unicode;
 1791|  5.39M|        return 0;
 1792|  5.39M|    }
 1793|      0|    return resize_inplace(unicode, length);
 1794|  5.39M|}
unicodeobject.c:get_latin1_char:
 1815|  3.25M|{
 1816|  3.25M|    PyObject *o = LATIN1(ch);
  ------------------
  |  |  188|  3.25M|#define LATIN1 _Py_LATIN1_CHR
  |  |  ------------------
  |  |  |  |  924|  3.25M|    ((CH) < 128 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (924:6): [True: 113k, False: 3.14M]
  |  |  |  |  ------------------
  |  |  |  |  925|  3.25M|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|   113k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|   113k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  926|  3.25M|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  3.14M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  3.14M|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1817|  3.25M|    return o;
 1818|  3.25M|}
unicodeobject.c:find_maxchar_surrogates:
 1592|    128|{
 1593|    128|    const wchar_t *iter;
 1594|    128|    Py_UCS4 ch;
 1595|       |
 1596|    128|    assert(num_surrogates != NULL && maxchar != NULL);
  ------------------
  |  Branch (1596:5): [True: 128, False: 0]
  |  Branch (1596:5): [True: 128, False: 0]
  ------------------
 1597|    128|    *num_surrogates = 0;
 1598|    128|    *maxchar = 0;
 1599|       |
 1600|  4.74k|    for (iter = begin; iter < end; ) {
  ------------------
  |  Branch (1600:24): [True: 4.61k, False: 128]
  ------------------
 1601|       |#if SIZEOF_WCHAR_T == 2
 1602|       |        if (Py_UNICODE_IS_HIGH_SURROGATE(iter[0])
 1603|       |            && (iter+1) < end
 1604|       |            && Py_UNICODE_IS_LOW_SURROGATE(iter[1]))
 1605|       |        {
 1606|       |            ch = Py_UNICODE_JOIN_SURROGATES(iter[0], iter[1]);
 1607|       |            ++(*num_surrogates);
 1608|       |            iter += 2;
 1609|       |        }
 1610|       |        else
 1611|       |#endif
 1612|  4.61k|        {
 1613|  4.61k|            ch = *iter;
 1614|  4.61k|            iter++;
 1615|  4.61k|        }
 1616|  4.61k|        if (ch > *maxchar) {
  ------------------
  |  Branch (1616:13): [True: 412, False: 4.20k]
  ------------------
 1617|    412|            *maxchar = ch;
 1618|    412|            if (*maxchar > MAX_UNICODE) {
  ------------------
  |  |  108|    412|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   16|    412|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (1618:17): [True: 0, False: 412]
  ------------------
 1619|      0|                PyErr_Format(PyExc_ValueError,
 1620|      0|                             "character U+%x is not in range [U+0000; U+%x]",
 1621|      0|                             ch, MAX_UNICODE);
  ------------------
  |  |  108|      0|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   16|      0|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
 1622|      0|                return -1;
 1623|      0|            }
 1624|    412|        }
 1625|  4.61k|    }
 1626|    128|    return 0;
 1627|    128|}
unicodeobject.c:unicode_write_widechar:
 1851|    128|{
 1852|    128|    switch (kind) {
 1853|    128|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (1853:5): [True: 128, False: 0]
  ------------------
 1854|    128|        _PyUnicode_CONVERT_BYTES(wchar_t, unsigned char, u, u + size, data);
  ------------------
  |  |   45|    128|    do {                                                \
  |  |   46|    128|        to_type *_to = (to_type *)(to);                 \
  |  |   47|    128|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|    128|        const from_type *_end = (const from_type *)(end);\
  |  |   49|    128|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|    128|        const from_type *_unrolled_end =                \
  |  |   51|    128|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|    128|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|  1.23k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 1.10k, False: 128]
  |  |  ------------------
  |  |   53|  1.10k|            _to[0] = (to_type) _iter[0];                \
  |  |   54|  1.10k|            _to[1] = (to_type) _iter[1];                \
  |  |   55|  1.10k|            _to[2] = (to_type) _iter[2];                \
  |  |   56|  1.10k|            _to[3] = (to_type) _iter[3];                \
  |  |   57|  1.10k|            _iter += 4; _to += 4;                       \
  |  |   58|  1.10k|        }                                               \
  |  |   59|    326|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 198, False: 128]
  |  |  ------------------
  |  |   60|    198|            *_to++ = (to_type) *_iter++;                \
  |  |   61|    128|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 128]
  |  |  ------------------
  ------------------
 1855|    128|        break;
 1856|       |
 1857|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (1857:5): [True: 0, False: 128]
  ------------------
 1858|       |#if SIZEOF_WCHAR_T == 2
 1859|       |        memcpy(data, u, size * 2);
 1860|       |#else
 1861|      0|        _PyUnicode_CONVERT_BYTES(wchar_t, Py_UCS2, u, u + size, data);
  ------------------
  |  |   45|      0|    do {                                                \
  |  |   46|      0|        to_type *_to = (to_type *)(to);                 \
  |  |   47|      0|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|      0|        const from_type *_end = (const from_type *)(end);\
  |  |   49|      0|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|      0|        const from_type *_unrolled_end =                \
  |  |   51|      0|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|      0|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|      0|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   54|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   55|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   56|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   57|      0|            _iter += 4; _to += 4;                       \
  |  |   58|      0|        }                                               \
  |  |   59|      0|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   60|      0|            *_to++ = (to_type) *_iter++;                \
  |  |   61|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1862|      0|#endif
 1863|      0|        break;
 1864|       |
 1865|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (1865:5): [True: 0, False: 128]
  ------------------
 1866|      0|    {
 1867|       |#if SIZEOF_WCHAR_T == 2
 1868|       |        // Convert a 16-bits wchar_t representation to UCS4, this will decode
 1869|       |        // surrogate pairs.
 1870|       |        const wchar_t *end = u + size;
 1871|       |        Py_UCS4 *ucs4_out = (Py_UCS4*)data;
 1872|       |#  ifndef NDEBUG
 1873|       |        Py_UCS4 *ucs4_end = (Py_UCS4*)data + (size - num_surrogates);
 1874|       |#  endif
 1875|       |        for (const wchar_t *iter = u; iter < end; ) {
 1876|       |            assert(ucs4_out < ucs4_end);
 1877|       |            if (Py_UNICODE_IS_HIGH_SURROGATE(iter[0])
 1878|       |                && (iter+1) < end
 1879|       |                && Py_UNICODE_IS_LOW_SURROGATE(iter[1]))
 1880|       |            {
 1881|       |                *ucs4_out++ = Py_UNICODE_JOIN_SURROGATES(iter[0], iter[1]);
 1882|       |                iter += 2;
 1883|       |            }
 1884|       |            else {
 1885|       |                *ucs4_out++ = *iter;
 1886|       |                iter++;
 1887|       |            }
 1888|       |        }
 1889|       |        assert(ucs4_out == ucs4_end);
 1890|       |#else
 1891|      0|        assert(num_surrogates == 0);
  ------------------
  |  Branch (1891:9): [True: 0, False: 0]
  ------------------
 1892|      0|        memcpy(data, u, size * 4);
 1893|      0|#endif
 1894|      0|        break;
 1895|      0|    }
 1896|      0|    default:
  ------------------
  |  Branch (1896:5): [True: 0, False: 128]
  ------------------
 1897|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1898|    128|    }
 1899|    128|}
unicodeobject.c:_PyUnicode_FromUCS1:
 2161|  27.1k|{
 2162|  27.1k|    PyObject *res;
 2163|  27.1k|    unsigned char max_char;
 2164|       |
 2165|  27.1k|    if (size == 0) {
  ------------------
  |  Branch (2165:9): [True: 12, False: 27.0k]
  ------------------
 2166|     12|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  379|     12|    do {                             \
  |  |  380|     12|        return _PyUnicode_GetEmpty();\
  |  |  381|     12|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2167|     12|    }
 2168|  27.1k|    assert(size > 0);
  ------------------
  |  Branch (2168:5): [True: 27.0k, False: 0]
  ------------------
 2169|  27.0k|    if (size == 1) {
  ------------------
  |  Branch (2169:9): [True: 5.80k, False: 21.2k]
  ------------------
 2170|  5.80k|        return get_latin1_char(u[0]);
 2171|  5.80k|    }
 2172|       |
 2173|  21.2k|    max_char = ucs1lib_find_max_char(u, u + size);
 2174|  21.2k|    res = PyUnicode_New(size, max_char);
 2175|  21.2k|    if (!res)
  ------------------
  |  Branch (2175:9): [True: 0, False: 21.2k]
  ------------------
 2176|      0|        return NULL;
 2177|  21.2k|    memcpy(PyUnicode_1BYTE_DATA(res), u, size);
  ------------------
  |  |  291|  21.2k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  21.2k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2178|  21.2k|    assert(_PyUnicode_CheckConsistency(res, 1));
  ------------------
  |  Branch (2178:5): [True: 21.2k, False: 0]
  ------------------
 2179|  21.2k|    return res;
 2180|  21.2k|}
unicodeobject.c:unicode_from_format:
 3061|  16.8k|{
 3062|  16.8k|    Py_ssize_t len = strlen(format);
 3063|  16.8k|    writer->min_length += len + 100;
 3064|  16.8k|    writer->overallocate = 1;
 3065|       |
 3066|       |    // Copy varags to be able to pass a reference to a subfunction.
 3067|  16.8k|    va_list vargs2;
 3068|  16.8k|    va_copy(vargs2, vargs);
 3069|       |
 3070|       |    // _PyUnicodeWriter_WriteASCIIString() below requires the format string
 3071|       |    // to be encoded to ASCII.
 3072|  16.8k|    int is_ascii = (ucs1lib_find_max_char((Py_UCS1*)format, (Py_UCS1*)format + len) < 128);
 3073|  16.8k|    if (!is_ascii) {
  ------------------
  |  Branch (3073:9): [True: 0, False: 16.8k]
  ------------------
 3074|      0|        Py_ssize_t i;
 3075|      0|        for (i=0; i < len && (unsigned char)format[i] <= 127; i++);
  ------------------
  |  Branch (3075:19): [True: 0, False: 0]
  |  Branch (3075:30): [True: 0, False: 0]
  ------------------
 3076|      0|        PyErr_Format(PyExc_ValueError,
 3077|      0|            "PyUnicode_FromFormatV() expects an ASCII-encoded format "
 3078|      0|            "string, got a non-ASCII byte: 0x%02x",
 3079|      0|            (unsigned char)format[i]);
 3080|      0|        goto fail;
 3081|      0|    }
 3082|       |
 3083|  38.1k|    for (const char *f = format; *f; ) {
  ------------------
  |  Branch (3083:34): [True: 21.2k, False: 16.8k]
  ------------------
 3084|  21.2k|        if (*f == '%') {
  ------------------
  |  Branch (3084:13): [True: 2.19k, False: 19.0k]
  ------------------
 3085|  2.19k|            f = unicode_fromformat_arg(writer, f, &vargs2);
 3086|  2.19k|            if (f == NULL)
  ------------------
  |  Branch (3086:17): [True: 0, False: 2.19k]
  ------------------
 3087|      0|                goto fail;
 3088|  2.19k|        }
 3089|  19.0k|        else {
 3090|  19.0k|            const char *p = strchr(f, '%');
 3091|  19.0k|            if (p != NULL) {
  ------------------
  |  Branch (3091:17): [True: 2.18k, False: 16.8k]
  ------------------
 3092|  2.18k|                len = p - f;
 3093|  2.18k|            }
 3094|  16.8k|            else {
 3095|  16.8k|                len = strlen(f);
 3096|  16.8k|                writer->overallocate = 0;
 3097|  16.8k|            }
 3098|       |
 3099|  19.0k|            if (_PyUnicodeWriter_WriteASCIIString(writer, f, len) < 0) {
  ------------------
  |  Branch (3099:17): [True: 0, False: 19.0k]
  ------------------
 3100|      0|                goto fail;
 3101|      0|            }
 3102|  19.0k|            f += len;
 3103|  19.0k|        }
 3104|  21.2k|    }
 3105|  16.8k|    va_end(vargs2);
 3106|  16.8k|    return 0;
 3107|       |
 3108|      0|  fail:
 3109|       |    va_end(vargs2);
 3110|      0|    return -1;
 3111|  16.8k|}
unicodeobject.c:unicode_fromformat_arg:
 2647|  2.19k|{
 2648|  2.19k|    const char *p;
 2649|  2.19k|    Py_ssize_t len;
 2650|  2.19k|    int flags = 0;
 2651|  2.19k|    Py_ssize_t width;
 2652|  2.19k|    Py_ssize_t precision;
 2653|       |
 2654|  2.19k|    p = f;
 2655|  2.19k|    f++;
 2656|  2.19k|    if (*f == '%') {
  ------------------
  |  Branch (2656:9): [True: 0, False: 2.19k]
  ------------------
 2657|      0|        if (_PyUnicodeWriter_WriteCharInline(writer, '%') < 0)
  ------------------
  |  Branch (2657:13): [True: 0, False: 0]
  ------------------
 2658|      0|            return NULL;
 2659|      0|        f++;
 2660|      0|        return f;
 2661|      0|    }
 2662|       |
 2663|       |    /* Parse flags. Example: "%-i" => flags=F_LJUST. */
 2664|       |    /* Flags '+', ' ' and '#' are not particularly useful.
 2665|       |     * They are not worth the implementation and maintenance costs.
 2666|       |     * In addition, '#' should add "0" for "o" conversions for compatibility
 2667|       |     * with printf, but it would confuse Python users. */
 2668|  2.19k|    while (1) {
  ------------------
  |  Branch (2668:12): [True: 2.19k, Folded]
  ------------------
 2669|  2.19k|        switch (*f++) {
  ------------------
  |  Branch (2669:17): [True: 0, False: 2.19k]
  ------------------
 2670|      0|        case '-': flags |= F_LJUST; continue;
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2670:9): [True: 0, False: 2.19k]
  ------------------
 2671|      0|        case '0': flags |= F_ZERO; continue;
  ------------------
  |  |   22|      0|#define F_ZERO  (1<<4)
  ------------------
  |  Branch (2671:9): [True: 0, False: 2.19k]
  ------------------
 2672|      0|        case '#': flags |= F_ALT; continue;
  ------------------
  |  |   21|      0|#define F_ALT   (1<<3)
  ------------------
  |  Branch (2672:9): [True: 0, False: 2.19k]
  ------------------
 2673|  2.19k|        }
 2674|  2.19k|        f--;
 2675|  2.19k|        break;
 2676|  2.19k|    }
 2677|       |
 2678|       |    /* parse the width.precision part, e.g. "%2.5s" => width=2, precision=5 */
 2679|  2.19k|    width = -1;
 2680|  2.19k|    if (*f == '*') {
  ------------------
  |  Branch (2680:9): [True: 0, False: 2.19k]
  ------------------
 2681|      0|        width = va_arg(*vargs, int);
 2682|      0|        if (width < 0) {
  ------------------
  |  Branch (2682:13): [True: 0, False: 0]
  ------------------
 2683|      0|            flags |= F_LJUST;
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
 2684|      0|            width = -width;
 2685|      0|        }
 2686|      0|        f++;
 2687|      0|    }
 2688|  2.19k|    else if (Py_ISDIGIT((unsigned)*f)) {
  ------------------
  |  |   24|  2.19k|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|  2.19k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|  2.19k|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 0, False: 2.19k]
  |  |  ------------------
  ------------------
 2689|      0|        width = *f - '0';
 2690|      0|        f++;
 2691|      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]
  |  |  ------------------
  ------------------
 2692|      0|            if (width > (PY_SSIZE_T_MAX - ((int)*f - '0')) / 10) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2692:17): [True: 0, False: 0]
  ------------------
 2693|      0|                PyErr_SetString(PyExc_ValueError,
 2694|      0|                                "width too big");
 2695|      0|                return NULL;
 2696|      0|            }
 2697|      0|            width = (width * 10) + (*f - '0');
 2698|      0|            f++;
 2699|      0|        }
 2700|      0|    }
 2701|  2.19k|    precision = -1;
 2702|  2.19k|    if (*f == '.') {
  ------------------
  |  Branch (2702:9): [True: 2.09k, False: 108]
  ------------------
 2703|  2.09k|        f++;
 2704|  2.09k|        if (*f == '*') {
  ------------------
  |  Branch (2704:13): [True: 0, False: 2.09k]
  ------------------
 2705|      0|            precision = va_arg(*vargs, int);
 2706|      0|            if (precision < 0) {
  ------------------
  |  Branch (2706:17): [True: 0, False: 0]
  ------------------
 2707|      0|                precision = -2;
 2708|      0|            }
 2709|      0|            f++;
 2710|      0|        }
 2711|  2.09k|        else if (Py_ISDIGIT((unsigned)*f)) {
  ------------------
  |  |   24|  2.09k|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|  2.09k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|  2.09k|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 2.09k, False: 0]
  |  |  ------------------
  ------------------
 2712|  2.09k|            precision = (*f - '0');
 2713|  2.09k|            f++;
 2714|  6.27k|            while (Py_ISDIGIT((unsigned)*f)) {
  ------------------
  |  |   24|  6.27k|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|  6.27k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|  6.27k|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 4.18k, False: 2.09k]
  |  |  ------------------
  ------------------
 2715|  4.18k|                if (precision > (PY_SSIZE_T_MAX - ((int)*f - '0')) / 10) {
  ------------------
  |  |  137|  4.18k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2715:21): [True: 0, False: 4.18k]
  ------------------
 2716|      0|                    PyErr_SetString(PyExc_ValueError,
 2717|      0|                                    "precision too big");
 2718|      0|                    return NULL;
 2719|      0|                }
 2720|  4.18k|                precision = (precision * 10) + (*f - '0');
 2721|  4.18k|                f++;
 2722|  4.18k|            }
 2723|  2.09k|        }
 2724|  2.09k|    }
 2725|       |
 2726|  2.19k|    int sizemod = 0;
 2727|  2.19k|    if (*f == 'l') {
  ------------------
  |  Branch (2727:9): [True: 0, False: 2.19k]
  ------------------
 2728|      0|        if (f[1] == 'l') {
  ------------------
  |  Branch (2728:13): [True: 0, False: 0]
  ------------------
 2729|      0|            sizemod = F_LONGLONG;
  ------------------
  |  | 2639|      0|#define F_LONGLONG 2
  ------------------
 2730|      0|            f += 2;
 2731|      0|        }
 2732|      0|        else {
 2733|      0|            sizemod = F_LONG;
  ------------------
  |  | 2638|      0|#define F_LONG 1
  ------------------
 2734|      0|            ++f;
 2735|      0|        }
 2736|      0|    }
 2737|  2.19k|    else if (*f == 'z') {
  ------------------
  |  Branch (2737:14): [True: 5, False: 2.19k]
  ------------------
 2738|      5|        sizemod = F_SIZE;
  ------------------
  |  | 2640|      5|#define F_SIZE 3
  ------------------
 2739|      5|        ++f;
 2740|      5|    }
 2741|  2.19k|    else if (*f == 't') {
  ------------------
  |  Branch (2741:14): [True: 0, False: 2.19k]
  ------------------
 2742|      0|        sizemod = F_PTRDIFF;
  ------------------
  |  | 2641|      0|#define F_PTRDIFF 4
  ------------------
 2743|      0|        ++f;
 2744|      0|    }
 2745|  2.19k|    else if (*f == 'j') {
  ------------------
  |  Branch (2745:14): [True: 0, False: 2.19k]
  ------------------
 2746|      0|        sizemod = F_INTMAX;
  ------------------
  |  | 2642|      0|#define F_INTMAX 5
  ------------------
 2747|      0|        ++f;
 2748|      0|    }
 2749|  2.19k|    if (f[0] != '\0' && f[1] == '\0')
  ------------------
  |  Branch (2749:9): [True: 2.19k, False: 0]
  |  Branch (2749:25): [True: 16, False: 2.18k]
  ------------------
 2750|     16|        writer->overallocate = 0;
 2751|       |
 2752|  2.19k|    switch (*f) {
 2753|     10|    case 'd': case 'i': case 'o': case 'u': case 'x': case 'X':
  ------------------
  |  Branch (2753:5): [True: 10, False: 2.18k]
  |  Branch (2753:15): [True: 0, False: 2.19k]
  |  Branch (2753:25): [True: 0, False: 2.19k]
  |  Branch (2753:35): [True: 0, False: 2.19k]
  |  Branch (2753:45): [True: 0, False: 2.19k]
  |  Branch (2753:55): [True: 0, False: 2.19k]
  ------------------
 2754|     10|        break;
 2755|      0|    case 'c': case 'p':
  ------------------
  |  Branch (2755:5): [True: 0, False: 2.19k]
  |  Branch (2755:15): [True: 0, False: 2.19k]
  ------------------
 2756|      0|        if (sizemod || width >= 0 || precision >= 0) goto invalid_format;
  ------------------
  |  Branch (2756:13): [True: 0, False: 0]
  |  Branch (2756:24): [True: 0, False: 0]
  |  Branch (2756:38): [True: 0, False: 0]
  ------------------
 2757|      0|        break;
 2758|  2.09k|    case 's':
  ------------------
  |  Branch (2758:5): [True: 2.09k, False: 102]
  ------------------
 2759|  2.09k|    case 'V':
  ------------------
  |  Branch (2759:5): [True: 0, False: 2.19k]
  ------------------
 2760|  2.09k|        if (sizemod && sizemod != F_LONG) goto invalid_format;
  ------------------
  |  | 2638|      0|#define F_LONG 1
  ------------------
  |  Branch (2760:13): [True: 0, False: 2.09k]
  |  Branch (2760:24): [True: 0, False: 0]
  ------------------
 2761|  2.09k|        break;
 2762|  2.09k|    default:
  ------------------
  |  Branch (2762:5): [True: 92, False: 2.10k]
  ------------------
 2763|     92|        if (sizemod) goto invalid_format;
  ------------------
  |  Branch (2763:13): [True: 0, False: 92]
  ------------------
 2764|     92|        break;
 2765|  2.19k|    }
 2766|       |
 2767|  2.19k|    switch (*f) {
 2768|      0|    case 'c':
  ------------------
  |  Branch (2768:5): [True: 0, False: 2.19k]
  ------------------
 2769|      0|    {
 2770|      0|        int ordinal = va_arg(*vargs, int);
 2771|      0|        if (ordinal < 0 || ordinal > MAX_UNICODE) {
  ------------------
  |  |  108|      0|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   16|      0|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (2771:13): [True: 0, False: 0]
  |  Branch (2771:28): [True: 0, False: 0]
  ------------------
 2772|      0|            PyErr_SetString(PyExc_OverflowError,
 2773|      0|                            "character argument not in range(0x110000)");
 2774|      0|            return NULL;
 2775|      0|        }
 2776|      0|        if (_PyUnicodeWriter_WriteCharInline(writer, ordinal) < 0)
  ------------------
  |  Branch (2776:13): [True: 0, False: 0]
  ------------------
 2777|      0|            return NULL;
 2778|      0|        break;
 2779|      0|    }
 2780|       |
 2781|     10|    case 'd': case 'i':
  ------------------
  |  Branch (2781:5): [True: 10, False: 2.18k]
  |  Branch (2781:15): [True: 0, False: 2.19k]
  ------------------
 2782|     10|    case 'o': case 'u': case 'x': case 'X':
  ------------------
  |  Branch (2782:5): [True: 0, False: 2.19k]
  |  Branch (2782:15): [True: 0, False: 2.19k]
  |  Branch (2782:25): [True: 0, False: 2.19k]
  |  Branch (2782:35): [True: 0, False: 2.19k]
  ------------------
 2783|     10|    {
 2784|     10|        char buffer[MAX_INTMAX_CHARS];
 2785|       |
 2786|       |        // Fill buffer using sprinf, with one of many possible format
 2787|       |        // strings, like "%llX" for `long long` in hexadecimal.
 2788|       |        // The type/size is in `sizemod`; the format is in `*f`.
 2789|       |
 2790|       |        // Use macros with nested switches to keep the sprintf format strings
 2791|       |        // as compile-time literals, avoiding warnings and maybe allowing
 2792|       |        // optimizations.
 2793|       |
 2794|       |        // `SPRINT` macro does one sprintf
 2795|       |        // Example usage: SPRINT("l", "X", unsigned long) expands to
 2796|       |        // sprintf(buffer, "%" "l" "X", va_arg(*vargs, unsigned long))
 2797|     10|        #define SPRINT(SIZE_SPEC, FMT_CHAR, TYPE) \
 2798|     10|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
 2799|       |
 2800|       |        // One inner switch to handle all format variants
 2801|     10|        #define DO_SPRINTS(SIZE_SPEC, SIGNED_TYPE, UNSIGNED_TYPE)             \
 2802|     10|            switch (*f) {                                                     \
 2803|     10|                case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
 2804|     10|                case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
 2805|     10|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
 2806|     10|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
 2807|     10|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
 2808|     10|            }
 2809|       |
 2810|       |        // Outer switch to handle all the sizes/types
 2811|     10|        switch (sizemod) {
 2812|      0|            case F_LONG:     DO_SPRINTS("l", long, unsigned long); break;
  ------------------
  |  | 2638|      0|#define F_LONG 1
  ------------------
                          case F_LONG:     DO_SPRINTS("l", long, unsigned long); break;
  ------------------
  |  | 2802|      0|            switch (*f) {                                                     \
  |  | 2803|      0|                case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2798|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2803:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2804|      0|                case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2798|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2804:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2805|      0|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2798|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2805:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2806|      0|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2798|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2806:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2807|      0|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
  |  |  ------------------
  |  |  |  | 2798|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2807:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2808|      0|            }
  ------------------
  |  Branch (2812:13): [True: 0, False: 10]
  ------------------
 2813|      0|            case F_LONGLONG: DO_SPRINTS("ll", long long, unsigned long long); break;
  ------------------
  |  | 2639|      0|#define F_LONGLONG 2
  ------------------
                          case F_LONGLONG: DO_SPRINTS("ll", long long, unsigned long long); break;
  ------------------
  |  | 2802|      0|            switch (*f) {                                                     \
  |  | 2803|      0|                case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2798|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2803:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2804|      0|                case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2798|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2804:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2805|      0|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2798|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2805:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2806|      0|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2798|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2806:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2807|      0|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
  |  |  ------------------
  |  |  |  | 2798|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2807:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2808|      0|            }
  ------------------
  |  Branch (2813:13): [True: 0, False: 10]
  ------------------
 2814|      5|            case F_SIZE:     DO_SPRINTS("z", Py_ssize_t, size_t); break;
  ------------------
  |  | 2640|      5|#define F_SIZE 3
  ------------------
                          case F_SIZE:     DO_SPRINTS("z", Py_ssize_t, size_t); break;
  ------------------
  |  | 2802|      5|            switch (*f) {                                                     \
  |  | 2803|      0|                case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2798|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2803:17): [True: 0, False: 5]
  |  |  ------------------
  |  | 2804|      0|                case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2798|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2804:17): [True: 0, False: 5]
  |  |  ------------------
  |  | 2805|      0|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2798|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2805:17): [True: 0, False: 5]
  |  |  ------------------
  |  | 2806|      0|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2798|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2806:17): [True: 0, False: 5]
  |  |  ------------------
  |  | 2807|      5|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
  |  |  ------------------
  |  |  |  | 2798|      5|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2807:17): [True: 5, False: 0]
  |  |  ------------------
  |  | 2808|      5|            }
  ------------------
  |  Branch (2814:13): [True: 5, False: 5]
  ------------------
 2815|      0|            case F_PTRDIFF:  DO_SPRINTS("t", ptrdiff_t, ptrdiff_t); break;
  ------------------
  |  | 2641|      0|#define F_PTRDIFF 4
  ------------------
                          case F_PTRDIFF:  DO_SPRINTS("t", ptrdiff_t, ptrdiff_t); break;
  ------------------
  |  | 2802|      0|            switch (*f) {                                                     \
  |  | 2803|      0|                case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2798|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2803:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2804|      0|                case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2798|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2804:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2805|      0|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2798|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2805:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2806|      0|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2798|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2806:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2807|      0|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
  |  |  ------------------
  |  |  |  | 2798|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2807:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2808|      0|            }
  ------------------
  |  Branch (2815:13): [True: 0, False: 10]
  ------------------
 2816|      0|            case F_INTMAX:   DO_SPRINTS("j", intmax_t, uintmax_t); break;
  ------------------
  |  | 2642|      0|#define F_INTMAX 5
  ------------------
                          case F_INTMAX:   DO_SPRINTS("j", intmax_t, uintmax_t); break;
  ------------------
  |  | 2802|      0|            switch (*f) {                                                     \
  |  | 2803|      0|                case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2798|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2803:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2804|      0|                case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2798|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2804:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2805|      0|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2798|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2805:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2806|      0|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2798|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2806:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2807|      0|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
  |  |  ------------------
  |  |  |  | 2798|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2807:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2808|      0|            }
  ------------------
  |  Branch (2816:13): [True: 0, False: 10]
  ------------------
 2817|      5|            default:         DO_SPRINTS("", int, unsigned int); break;
  ------------------
  |  | 2802|      5|            switch (*f) {                                                     \
  |  | 2803|      0|                case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2798|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2803:17): [True: 0, False: 5]
  |  |  ------------------
  |  | 2804|      0|                case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2798|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2804:17): [True: 0, False: 5]
  |  |  ------------------
  |  | 2805|      0|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2798|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2805:17): [True: 0, False: 5]
  |  |  ------------------
  |  | 2806|      0|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2798|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2806:17): [True: 0, False: 5]
  |  |  ------------------
  |  | 2807|      5|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
  |  |  ------------------
  |  |  |  | 2798|      5|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2807:17): [True: 5, False: 0]
  |  |  ------------------
  |  | 2808|      5|            }
  ------------------
  |  Branch (2817:13): [True: 5, False: 5]
  ------------------
 2818|     10|        }
 2819|     10|        #undef SPRINT
 2820|     10|        #undef DO_SPRINTS
 2821|       |
 2822|     10|        assert(len >= 0);
  ------------------
  |  Branch (2822:9): [True: 10, False: 0]
  ------------------
 2823|       |
 2824|     10|        int sign = (buffer[0] == '-');
 2825|     10|        len -= sign;
 2826|       |
 2827|     10|        precision = Py_MAX(precision, len);
  ------------------
  |  |  115|     10|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 10]
  |  |  ------------------
  ------------------
 2828|     10|        width = Py_MAX(width, precision + sign);
  ------------------
  |  |  115|     10|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 10]
  |  |  ------------------
  ------------------
 2829|     10|        if ((flags & F_ZERO) && !(flags & F_LJUST)) {
  ------------------
  |  |   22|     10|#define F_ZERO  (1<<4)
  ------------------
                      if ((flags & F_ZERO) && !(flags & F_LJUST)) {
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2829:13): [True: 0, False: 10]
  |  Branch (2829:33): [True: 0, False: 0]
  ------------------
 2830|      0|            precision = width - sign;
 2831|      0|        }
 2832|       |
 2833|     10|        Py_ssize_t spacepad = Py_MAX(width - precision - sign, 0);
  ------------------
  |  |  115|     10|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 10]
  |  |  ------------------
  ------------------
 2834|     10|        Py_ssize_t zeropad = Py_MAX(precision - len, 0);
  ------------------
  |  |  115|     10|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 10]
  |  |  ------------------
  ------------------
 2835|       |
 2836|     10|        if (_PyUnicodeWriter_Prepare(writer, width, 127) == -1)
  ------------------
  |  |  562|     10|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 10, False: 0]
  |  |  ------------------
  |  |  563|     10|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 10, False: 0]
  |  |  ------------------
  |  |  564|     10|     ? 0                                                              \
  |  |  565|     10|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  566|      0|        ? 0                                                           \
  |  |  567|      0|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (2836:13): [True: 0, False: 10]
  ------------------
 2837|      0|            return NULL;
 2838|       |
 2839|     10|        if (spacepad && !(flags & F_LJUST)) {
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2839:13): [True: 0, False: 10]
  |  Branch (2839:25): [True: 0, False: 0]
  ------------------
 2840|      0|            if (PyUnicode_Fill(writer->buffer, writer->pos, spacepad, ' ') == -1)
  ------------------
  |  Branch (2840:17): [True: 0, False: 0]
  ------------------
 2841|      0|                return NULL;
 2842|      0|            writer->pos += spacepad;
 2843|      0|        }
 2844|       |
 2845|     10|        if (sign) {
  ------------------
  |  Branch (2845:13): [True: 0, False: 10]
  ------------------
 2846|      0|            if (_PyUnicodeWriter_WriteChar(writer, '-') == -1)
  ------------------
  |  Branch (2846:17): [True: 0, False: 0]
  ------------------
 2847|      0|                return NULL;
 2848|      0|        }
 2849|       |
 2850|     10|        if (zeropad) {
  ------------------
  |  Branch (2850:13): [True: 0, False: 10]
  ------------------
 2851|      0|            if (PyUnicode_Fill(writer->buffer, writer->pos, zeropad, '0') == -1)
  ------------------
  |  Branch (2851:17): [True: 0, False: 0]
  ------------------
 2852|      0|                return NULL;
 2853|      0|            writer->pos += zeropad;
 2854|      0|        }
 2855|       |
 2856|     10|        if (_PyUnicodeWriter_WriteASCIIString(writer, &buffer[sign], len) < 0)
  ------------------
  |  Branch (2856:13): [True: 0, False: 10]
  ------------------
 2857|      0|            return NULL;
 2858|       |
 2859|     10|        if (spacepad && (flags & F_LJUST)) {
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2859:13): [True: 0, False: 10]
  |  Branch (2859:25): [True: 0, False: 0]
  ------------------
 2860|      0|            if (PyUnicode_Fill(writer->buffer, writer->pos, spacepad, ' ') == -1)
  ------------------
  |  Branch (2860:17): [True: 0, False: 0]
  ------------------
 2861|      0|                return NULL;
 2862|      0|            writer->pos += spacepad;
 2863|      0|        }
 2864|     10|        break;
 2865|     10|    }
 2866|       |
 2867|     10|    case 'p':
  ------------------
  |  Branch (2867:5): [True: 0, False: 2.19k]
  ------------------
 2868|      0|    {
 2869|      0|        char number[MAX_INTMAX_CHARS];
 2870|       |
 2871|      0|        len = sprintf(number, "%p", va_arg(*vargs, void*));
 2872|      0|        assert(len >= 0);
  ------------------
  |  Branch (2872:9): [True: 0, False: 0]
  ------------------
 2873|       |
 2874|       |        /* %p is ill-defined:  ensure leading 0x. */
 2875|      0|        if (number[1] == 'X')
  ------------------
  |  Branch (2875:13): [True: 0, False: 0]
  ------------------
 2876|      0|            number[1] = 'x';
 2877|      0|        else if (number[1] != 'x') {
  ------------------
  |  Branch (2877:18): [True: 0, False: 0]
  ------------------
 2878|      0|            memmove(number + 2, number,
 2879|      0|                    strlen(number) + 1);
 2880|      0|            number[0] = '0';
 2881|      0|            number[1] = 'x';
 2882|      0|            len += 2;
 2883|      0|        }
 2884|       |
 2885|      0|        if (_PyUnicodeWriter_WriteASCIIString(writer, number, len) < 0)
  ------------------
  |  Branch (2885:13): [True: 0, False: 0]
  ------------------
 2886|      0|            return NULL;
 2887|      0|        break;
 2888|      0|    }
 2889|       |
 2890|  2.09k|    case 's':
  ------------------
  |  Branch (2890:5): [True: 2.09k, False: 102]
  ------------------
 2891|  2.09k|    {
 2892|  2.09k|        if (sizemod) {
  ------------------
  |  Branch (2892:13): [True: 0, False: 2.09k]
  ------------------
 2893|      0|            const wchar_t *s = va_arg(*vargs, const wchar_t*);
 2894|      0|            if (unicode_fromformat_write_wcstr(writer, s, width, precision, flags) < 0)
  ------------------
  |  Branch (2894:17): [True: 0, False: 0]
  ------------------
 2895|      0|                return NULL;
 2896|      0|        }
 2897|  2.09k|        else {
 2898|       |            /* UTF-8 */
 2899|  2.09k|            const char *s = va_arg(*vargs, const char*);
 2900|  2.09k|            if (unicode_fromformat_write_utf8(writer, s, width, precision, flags) < 0)
  ------------------
  |  Branch (2900:17): [True: 0, False: 2.09k]
  ------------------
 2901|      0|                return NULL;
 2902|  2.09k|        }
 2903|  2.09k|        break;
 2904|  2.09k|    }
 2905|       |
 2906|  2.09k|    case 'U':
  ------------------
  |  Branch (2906:5): [True: 84, False: 2.11k]
  ------------------
 2907|     84|    {
 2908|     84|        PyObject *obj = va_arg(*vargs, PyObject *);
 2909|     84|        assert(obj && _PyUnicode_CHECK(obj));
  ------------------
  |  Branch (2909:9): [True: 84, False: 0]
  |  Branch (2909:9): [True: 84, False: 0]
  ------------------
 2910|       |
 2911|     84|        if (unicode_fromformat_write_str(writer, obj, width, precision, flags) == -1)
  ------------------
  |  Branch (2911:13): [True: 0, False: 84]
  ------------------
 2912|      0|            return NULL;
 2913|     84|        break;
 2914|     84|    }
 2915|       |
 2916|     84|    case 'V':
  ------------------
  |  Branch (2916:5): [True: 0, False: 2.19k]
  ------------------
 2917|      0|    {
 2918|      0|        PyObject *obj = va_arg(*vargs, PyObject *);
 2919|      0|        const char *str;
 2920|      0|        const wchar_t *wstr;
 2921|      0|        if (sizemod) {
  ------------------
  |  Branch (2921:13): [True: 0, False: 0]
  ------------------
 2922|      0|            wstr = va_arg(*vargs, const wchar_t*);
 2923|      0|        }
 2924|      0|        else {
 2925|      0|            str = va_arg(*vargs, const char *);
 2926|      0|        }
 2927|      0|        if (obj) {
  ------------------
  |  Branch (2927:13): [True: 0, False: 0]
  ------------------
 2928|      0|            assert(_PyUnicode_CHECK(obj));
  ------------------
  |  Branch (2928:13): [True: 0, False: 0]
  ------------------
 2929|      0|            if (unicode_fromformat_write_str(writer, obj, width, precision, flags) == -1)
  ------------------
  |  Branch (2929:17): [True: 0, False: 0]
  ------------------
 2930|      0|                return NULL;
 2931|      0|        }
 2932|      0|        else if (sizemod) {
  ------------------
  |  Branch (2932:18): [True: 0, False: 0]
  ------------------
 2933|      0|            assert(wstr != NULL);
  ------------------
  |  Branch (2933:13): [True: 0, False: 0]
  ------------------
 2934|      0|            if (unicode_fromformat_write_wcstr(writer, wstr, width, precision, flags) < 0)
  ------------------
  |  Branch (2934:17): [True: 0, False: 0]
  ------------------
 2935|      0|                return NULL;
 2936|      0|        }
 2937|      0|        else {
 2938|      0|            assert(str != NULL);
  ------------------
  |  Branch (2938:13): [True: 0, False: 0]
  ------------------
 2939|      0|            if (unicode_fromformat_write_utf8(writer, str, width, precision, flags) < 0)
  ------------------
  |  Branch (2939:17): [True: 0, False: 0]
  ------------------
 2940|      0|                return NULL;
 2941|      0|        }
 2942|      0|        break;
 2943|      0|    }
 2944|       |
 2945|      6|    case 'S':
  ------------------
  |  Branch (2945:5): [True: 6, False: 2.19k]
  ------------------
 2946|      6|    {
 2947|      6|        PyObject *obj = va_arg(*vargs, PyObject *);
 2948|      6|        PyObject *str;
 2949|      6|        assert(obj);
  ------------------
  |  Branch (2949:9): [True: 6, False: 0]
  ------------------
 2950|      6|        str = PyObject_Str(obj);
 2951|      6|        if (!str)
  ------------------
  |  Branch (2951:13): [True: 0, False: 6]
  ------------------
 2952|      0|            return NULL;
 2953|      6|        if (unicode_fromformat_write_str(writer, str, width, precision, flags) == -1) {
  ------------------
  |  Branch (2953:13): [True: 0, False: 6]
  ------------------
 2954|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2955|      0|            return NULL;
 2956|      0|        }
 2957|      6|        Py_DECREF(str);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2958|      6|        break;
 2959|      6|    }
 2960|       |
 2961|      2|    case 'R':
  ------------------
  |  Branch (2961:5): [True: 2, False: 2.19k]
  ------------------
 2962|      2|    {
 2963|      2|        PyObject *obj = va_arg(*vargs, PyObject *);
 2964|      2|        PyObject *repr;
 2965|      2|        assert(obj);
  ------------------
  |  Branch (2965:9): [True: 2, False: 0]
  ------------------
 2966|      2|        repr = PyObject_Repr(obj);
 2967|      2|        if (!repr)
  ------------------
  |  Branch (2967:13): [True: 0, False: 2]
  ------------------
 2968|      0|            return NULL;
 2969|      2|        if (unicode_fromformat_write_str(writer, repr, width, precision, flags) == -1) {
  ------------------
  |  Branch (2969:13): [True: 0, False: 2]
  ------------------
 2970|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2971|      0|            return NULL;
 2972|      0|        }
 2973|      2|        Py_DECREF(repr);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2974|      2|        break;
 2975|      2|    }
 2976|       |
 2977|      0|    case 'A':
  ------------------
  |  Branch (2977:5): [True: 0, False: 2.19k]
  ------------------
 2978|      0|    {
 2979|      0|        PyObject *obj = va_arg(*vargs, PyObject *);
 2980|      0|        PyObject *ascii;
 2981|      0|        assert(obj);
  ------------------
  |  Branch (2981:9): [True: 0, False: 0]
  ------------------
 2982|      0|        ascii = PyObject_ASCII(obj);
 2983|      0|        if (!ascii)
  ------------------
  |  Branch (2983:13): [True: 0, False: 0]
  ------------------
 2984|      0|            return NULL;
 2985|      0|        if (unicode_fromformat_write_str(writer, ascii, width, precision, flags) == -1) {
  ------------------
  |  Branch (2985:13): [True: 0, False: 0]
  ------------------
 2986|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2987|      0|            return NULL;
 2988|      0|        }
 2989|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2990|      0|        break;
 2991|      0|    }
 2992|       |
 2993|      0|    case 'T':
  ------------------
  |  Branch (2993:5): [True: 0, False: 2.19k]
  ------------------
 2994|      0|    {
 2995|      0|        PyObject *obj = va_arg(*vargs, PyObject *);
 2996|      0|        PyTypeObject *type = (PyTypeObject *)Py_NewRef(Py_TYPE(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2997|       |
 2998|      0|        PyObject *type_name;
 2999|      0|        if (flags & F_ALT) {
  ------------------
  |  |   21|      0|#define F_ALT   (1<<3)
  ------------------
  |  Branch (2999:13): [True: 0, False: 0]
  ------------------
 3000|      0|            type_name = _PyType_GetFullyQualifiedName(type, ':');
 3001|      0|        }
 3002|      0|        else {
 3003|      0|            type_name = PyType_GetFullyQualifiedName(type);
 3004|      0|        }
 3005|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3006|      0|        if (!type_name) {
  ------------------
  |  Branch (3006:13): [True: 0, False: 0]
  ------------------
 3007|      0|            return NULL;
 3008|      0|        }
 3009|       |
 3010|      0|        if (unicode_fromformat_write_str(writer, type_name,
  ------------------
  |  Branch (3010:13): [True: 0, False: 0]
  ------------------
 3011|      0|                                         width, precision, flags) == -1) {
 3012|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3013|      0|            return NULL;
 3014|      0|        }
 3015|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3016|      0|        break;
 3017|      0|    }
 3018|       |
 3019|      0|    case 'N':
  ------------------
  |  Branch (3019:5): [True: 0, False: 2.19k]
  ------------------
 3020|      0|    {
 3021|      0|        PyObject *type_raw = va_arg(*vargs, PyObject *);
 3022|      0|        assert(type_raw != NULL);
  ------------------
  |  Branch (3022:9): [True: 0, False: 0]
  ------------------
 3023|       |
 3024|      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 (3024:13): [True: 0, False: 0]
  ------------------
 3025|      0|            PyErr_SetString(PyExc_TypeError, "%N argument must be a type");
 3026|      0|            return NULL;
 3027|      0|        }
 3028|      0|        PyTypeObject *type = (PyTypeObject*)type_raw;
 3029|       |
 3030|      0|        PyObject *type_name;
 3031|      0|        if (flags & F_ALT) {
  ------------------
  |  |   21|      0|#define F_ALT   (1<<3)
  ------------------
  |  Branch (3031:13): [True: 0, False: 0]
  ------------------
 3032|      0|            type_name = _PyType_GetFullyQualifiedName(type, ':');
 3033|      0|        }
 3034|      0|        else {
 3035|      0|            type_name = PyType_GetFullyQualifiedName(type);
 3036|      0|        }
 3037|      0|        if (!type_name) {
  ------------------
  |  Branch (3037:13): [True: 0, False: 0]
  ------------------
 3038|      0|            return NULL;
 3039|      0|        }
 3040|      0|        if (unicode_fromformat_write_str(writer, type_name,
  ------------------
  |  Branch (3040:13): [True: 0, False: 0]
  ------------------
 3041|      0|                                         width, precision, flags) == -1) {
 3042|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3043|      0|            return NULL;
 3044|      0|        }
 3045|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3046|      0|        break;
 3047|      0|    }
 3048|       |
 3049|      0|    default:
  ------------------
  |  Branch (3049:5): [True: 0, False: 2.19k]
  ------------------
 3050|      0|    invalid_format:
 3051|      0|        PyErr_Format(PyExc_SystemError, "invalid format string: %s", p);
 3052|      0|        return NULL;
 3053|  2.19k|    }
 3054|       |
 3055|  2.19k|    f++;
 3056|  2.19k|    return f;
 3057|  2.19k|}
unicodeobject.c:unicode_fromformat_write_utf8:
 2571|  2.09k|{
 2572|       |    /* UTF-8 */
 2573|  2.09k|    Py_ssize_t *pconsumed = NULL;
 2574|  2.09k|    Py_ssize_t length;
 2575|  2.09k|    if (precision == -1) {
  ------------------
  |  Branch (2575:9): [True: 6, False: 2.09k]
  ------------------
 2576|      6|        length = strlen(str);
 2577|      6|    }
 2578|  2.09k|    else {
 2579|  2.09k|        length = 0;
 2580|  12.5k|        while (length < precision && str[length]) {
  ------------------
  |  Branch (2580:16): [True: 12.5k, False: 0]
  |  Branch (2580:38): [True: 10.4k, False: 2.09k]
  ------------------
 2581|  10.4k|            length++;
 2582|  10.4k|        }
 2583|  2.09k|        if (length == precision) {
  ------------------
  |  Branch (2583:13): [True: 0, False: 2.09k]
  ------------------
 2584|       |            /* The input string is not NUL-terminated.  If it ends with an
 2585|       |             * incomplete UTF-8 sequence, truncate the string just before it.
 2586|       |             * Incomplete sequences in the middle and sequences which cannot
 2587|       |             * be valid prefixes are still treated as errors and replaced
 2588|       |             * with \xfffd. */
 2589|      0|            pconsumed = &length;
 2590|      0|        }
 2591|  2.09k|    }
 2592|       |
 2593|  2.09k|    if (width < 0) {
  ------------------
  |  Branch (2593:9): [True: 2.09k, False: 0]
  ------------------
 2594|  2.09k|        return _PyUnicode_DecodeUTF8Writer(writer, str, length,
 2595|  2.09k|                                           _Py_ERROR_REPLACE, "replace", pconsumed);
 2596|  2.09k|    }
 2597|       |
 2598|      0|    PyObject *unicode = PyUnicode_DecodeUTF8Stateful(str, length,
 2599|      0|                                                     "replace", pconsumed);
 2600|      0|    if (unicode == NULL)
  ------------------
  |  Branch (2600:9): [True: 0, False: 0]
  ------------------
 2601|      0|        return -1;
 2602|       |
 2603|      0|    int res = unicode_fromformat_write_str(writer, unicode,
 2604|      0|                                           width, -1, flags);
 2605|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2606|      0|    return res;
 2607|      0|}
unicodeobject.c:unicode_fromformat_write_str:
 2527|     92|{
 2528|     92|    Py_ssize_t length, fill, arglen;
 2529|     92|    Py_UCS4 maxchar;
 2530|       |
 2531|     92|    length = PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  299|     92|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     92|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2532|     92|    if ((precision == -1 || precision >= length)
  ------------------
  |  Branch (2532:10): [True: 92, False: 0]
  |  Branch (2532:29): [True: 0, False: 0]
  ------------------
 2533|     92|        && width <= length)
  ------------------
  |  Branch (2533:12): [True: 92, False: 0]
  ------------------
 2534|     92|        return _PyUnicodeWriter_WriteStr(writer, str);
 2535|       |
 2536|      0|    if (precision != -1)
  ------------------
  |  Branch (2536:9): [True: 0, False: 0]
  ------------------
 2537|      0|        length = Py_MIN(precision, length);
  ------------------
  |  |  112|      0|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2538|       |
 2539|      0|    arglen = Py_MAX(length, width);
  ------------------
  |  |  115|      0|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2540|      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 (2540:9): [True: 0, False: 0]
  ------------------
 2541|      0|        maxchar = _PyUnicode_FindMaxChar(str, 0, length);
 2542|      0|    else
 2543|      0|        maxchar = writer->maxchar;
 2544|       |
 2545|      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 (2545:9): [True: 0, False: 0]
  ------------------
 2546|      0|        return -1;
 2547|       |
 2548|      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]
  |  |  ------------------
  ------------------
 2549|      0|    if (fill && !(flags & F_LJUST)) {
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2549:9): [True: 0, False: 0]
  |  Branch (2549:17): [True: 0, False: 0]
  ------------------
 2550|      0|        if (PyUnicode_Fill(writer->buffer, writer->pos, fill, ' ') == -1)
  ------------------
  |  Branch (2550:13): [True: 0, False: 0]
  ------------------
 2551|      0|            return -1;
 2552|      0|        writer->pos += fill;
 2553|      0|    }
 2554|       |
 2555|      0|    _PyUnicode_FastCopyCharacters(writer->buffer, writer->pos,
 2556|      0|                                  str, 0, length);
 2557|      0|    writer->pos += length;
 2558|       |
 2559|      0|    if (fill && (flags & F_LJUST)) {
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2559:9): [True: 0, False: 0]
  |  Branch (2559:17): [True: 0, False: 0]
  ------------------
 2560|      0|        if (PyUnicode_Fill(writer->buffer, writer->pos, fill, ' ') == -1)
  ------------------
  |  Branch (2560:13): [True: 0, False: 0]
  ------------------
 2561|      0|            return -1;
 2562|      0|        writer->pos += fill;
 2563|      0|    }
 2564|       |
 2565|      0|    return 0;
 2566|      0|}
unicodeobject.c:unicode_get_widechar_size:
 3165|    130|{
 3166|    130|    Py_ssize_t res;
 3167|       |
 3168|    130|    assert(unicode != NULL);
  ------------------
  |  Branch (3168:5): [True: 130, False: 0]
  ------------------
 3169|    130|    assert(_PyUnicode_CHECK(unicode));
  ------------------
  |  Branch (3169:5): [True: 130, False: 0]
  ------------------
 3170|       |
 3171|    130|    res = _PyUnicode_LENGTH(unicode);
  ------------------
  |  |  155|    130|    (_PyASCIIObject_CAST(op)->length)
  |  |  ------------------
  |  |  |  |  186|    130|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|    130|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    130|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3171:11): [True: 130, False: 0]
  ------------------
 3172|       |#if SIZEOF_WCHAR_T == 2
 3173|       |    if (PyUnicode_KIND(unicode) == PyUnicode_4BYTE_KIND) {
 3174|       |        const Py_UCS4 *s = PyUnicode_4BYTE_DATA(unicode);
 3175|       |        const Py_UCS4 *end = s + res;
 3176|       |        for (; s < end; ++s) {
 3177|       |            if (*s > 0xFFFF) {
 3178|       |                ++res;
 3179|       |            }
 3180|       |        }
 3181|       |    }
 3182|       |#endif
 3183|      0|    return res;
 3184|    130|}
unicodeobject.c:unicode_copy_as_widechar:
 3188|    130|{
 3189|    130|    assert(unicode != NULL);
  ------------------
  |  Branch (3189:5): [True: 130, False: 0]
  ------------------
 3190|    130|    assert(_PyUnicode_CHECK(unicode));
  ------------------
  |  Branch (3190:5): [True: 130, False: 0]
  ------------------
 3191|       |
 3192|    260|    if (PyUnicode_KIND(unicode) == sizeof(wchar_t)) {
  ------------------
  |  |  258|    130|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    260|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 130, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3192:9): [True: 0, False: 130]
  ------------------
 3193|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3194|      0|        return;
 3195|      0|    }
 3196|       |
 3197|    260|    if (PyUnicode_KIND(unicode) == PyUnicode_1BYTE_KIND) {
  ------------------
  |  |  258|    130|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    260|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 130, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3197:9): [True: 130, False: 0]
  ------------------
 3198|    130|        const Py_UCS1 *s = PyUnicode_1BYTE_DATA(unicode);
  ------------------
  |  |  291|    130|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    130|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 3199|  5.07k|        for (; size--; ++s, ++w) {
  ------------------
  |  Branch (3199:16): [True: 4.94k, False: 130]
  ------------------
 3200|  4.94k|            *w = *s;
 3201|  4.94k|        }
 3202|    130|    }
 3203|      0|    else {
 3204|      0|#if SIZEOF_WCHAR_T == 4
 3205|      0|        assert(PyUnicode_KIND(unicode) == PyUnicode_2BYTE_KIND);
  ------------------
  |  Branch (3205:9): [True: 0, False: 0]
  |  Branch (3205:9): [True: 0, False: 0]
  ------------------
 3206|      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))
  |  |  ------------------
  ------------------
 3207|      0|        for (; size--; ++s, ++w) {
  ------------------
  |  Branch (3207:16): [True: 0, False: 0]
  ------------------
 3208|      0|            *w = *s;
 3209|      0|        }
 3210|       |#else
 3211|       |        assert(PyUnicode_KIND(unicode) == PyUnicode_4BYTE_KIND);
 3212|       |        const Py_UCS4 *s = PyUnicode_4BYTE_DATA(unicode);
 3213|       |        for (; size--; ++s, ++w) {
 3214|       |            Py_UCS4 ch = *s;
 3215|       |            if (ch > 0xFFFF) {
 3216|       |                assert(ch <= MAX_UNICODE);
 3217|       |                /* encode surrogate pair in this case */
 3218|       |                *w++ = Py_UNICODE_HIGH_SURROGATE(ch);
 3219|       |                if (!size--)
 3220|       |                    break;
 3221|       |                *w = Py_UNICODE_LOW_SURROGATE(ch);
 3222|       |            }
 3223|       |            else {
 3224|       |                *w = ch;
 3225|       |            }
 3226|       |        }
 3227|       |#endif
 3228|      0|    }
 3229|    130|}
unicodeobject.c:unicode_char:
 1822|  3.13M|{
 1823|  3.13M|    PyObject *unicode;
 1824|       |
 1825|  3.13M|    assert(ch <= MAX_UNICODE);
  ------------------
  |  Branch (1825:5): [True: 3.13M, False: 0]
  ------------------
 1826|       |
 1827|  3.13M|    if (ch < 256) {
  ------------------
  |  Branch (1827:9): [True: 3.13M, False: 0]
  ------------------
 1828|  3.13M|        return get_latin1_char(ch);
 1829|  3.13M|    }
 1830|       |
 1831|      0|    unicode = PyUnicode_New(1, ch);
 1832|      0|    if (unicode == NULL)
  ------------------
  |  Branch (1832:9): [True: 0, False: 0]
  ------------------
 1833|      0|        return NULL;
 1834|       |
 1835|      0|    assert(PyUnicode_KIND(unicode) != PyUnicode_1BYTE_KIND);
  ------------------
  |  Branch (1835:5): [True: 0, False: 0]
  |  Branch (1835:5): [True: 0, False: 0]
  ------------------
 1836|      0|    if (PyUnicode_KIND(unicode) == PyUnicode_2BYTE_KIND) {
  ------------------
  |  |  258|      0|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1836:9): [True: 0, False: 0]
  ------------------
 1837|      0|        PyUnicode_2BYTE_DATA(unicode)[0] = (Py_UCS2)ch;
  ------------------
  |  |  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))
  |  |  ------------------
  ------------------
 1838|      0|    } else {
 1839|      0|        assert(PyUnicode_KIND(unicode) == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (1839:9): [True: 0, False: 0]
  |  Branch (1839:9): [True: 0, False: 0]
  ------------------
 1840|      0|        PyUnicode_4BYTE_DATA(unicode)[0] = ch;
  ------------------
  |  |  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))
  |  |  ------------------
  ------------------
 1841|      0|    }
 1842|      0|    assert(_PyUnicode_CheckConsistency(unicode, 1));
  ------------------
  |  Branch (1842:5): [True: 0, False: 0]
  ------------------
 1843|      0|    return unicode;
 1844|      0|}
unicodeobject.c:unicode_check_encoding_errors:
  530|  8.54k|{
  531|  8.54k|    if (encoding == NULL && errors == NULL) {
  ------------------
  |  Branch (531:9): [True: 0, False: 8.54k]
  |  Branch (531:29): [True: 0, False: 0]
  ------------------
  532|      0|        return 0;
  533|      0|    }
  534|       |
  535|  8.54k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  536|  8.54k|#ifndef Py_DEBUG
  537|       |    /* In release mode, only check in development mode (-X dev) */
  538|  8.54k|    if (!_PyInterpreterState_GetConfig(interp)->dev_mode) {
  ------------------
  |  Branch (538:9): [True: 8.54k, False: 0]
  ------------------
  539|  8.54k|        return 0;
  540|  8.54k|    }
  541|       |#else
  542|       |    /* Always check in debug mode */
  543|       |#endif
  544|       |
  545|       |    /* Avoid calling _PyCodec_Lookup() and PyCodec_LookupError() before the
  546|       |       codec registry is ready: before_PyUnicode_InitEncodings() is called. */
  547|      0|    if (!interp->unicode.fs_codec.encoding) {
  ------------------
  |  Branch (547:9): [True: 0, False: 0]
  ------------------
  548|      0|        return 0;
  549|      0|    }
  550|       |
  551|       |    /* Disable checks during Python finalization. For example, it allows to
  552|       |     * call PyObject_Dump() during finalization for debugging purpose.
  553|       |     */
  554|      0|    if (_PyInterpreterState_GetFinalizing(interp) != NULL) {
  ------------------
  |  Branch (554:9): [True: 0, False: 0]
  ------------------
  555|      0|        return 0;
  556|      0|    }
  557|       |
  558|      0|    if (encoding != NULL
  ------------------
  |  Branch (558:9): [True: 0, False: 0]
  ------------------
  559|       |        // Fast path for the most common built-in encodings. Even if the codec
  560|       |        // is cached, _PyCodec_Lookup() decodes the bytes string from UTF-8 to
  561|       |        // create a temporary Unicode string (the key in the cache).
  562|      0|        && strcmp(encoding, "utf-8") != 0
  ------------------
  |  Branch (562:12): [True: 0, False: 0]
  ------------------
  563|      0|        && strcmp(encoding, "utf8") != 0
  ------------------
  |  Branch (563:12): [True: 0, False: 0]
  ------------------
  564|      0|        && strcmp(encoding, "ascii") != 0)
  ------------------
  |  Branch (564:12): [True: 0, False: 0]
  ------------------
  565|      0|    {
  566|      0|        PyObject *handler = _PyCodec_Lookup(encoding);
  567|      0|        if (handler == NULL) {
  ------------------
  |  Branch (567:13): [True: 0, False: 0]
  ------------------
  568|      0|            return -1;
  569|      0|        }
  570|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  571|      0|    }
  572|       |
  573|      0|    if (errors != NULL
  ------------------
  |  Branch (573:9): [True: 0, False: 0]
  ------------------
  574|       |        // Fast path for the most common built-in error handlers.
  575|      0|        && strcmp(errors, "strict") != 0
  ------------------
  |  Branch (575:12): [True: 0, False: 0]
  ------------------
  576|      0|        && strcmp(errors, "ignore") != 0
  ------------------
  |  Branch (576:12): [True: 0, False: 0]
  ------------------
  577|      0|        && strcmp(errors, "replace") != 0
  ------------------
  |  Branch (577:12): [True: 0, False: 0]
  ------------------
  578|      0|        && strcmp(errors, "surrogateescape") != 0
  ------------------
  |  Branch (578:12): [True: 0, False: 0]
  ------------------
  579|      0|        && strcmp(errors, "surrogatepass") != 0)
  ------------------
  |  Branch (579:12): [True: 0, False: 0]
  ------------------
  580|      0|    {
  581|      0|        PyObject *handler = PyCodec_LookupError(errors);
  582|      0|        if (handler == NULL) {
  ------------------
  |  Branch (582:13): [True: 0, False: 0]
  ------------------
  583|      0|            return -1;
  584|      0|        }
  585|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  586|      0|    }
  587|      0|    return 0;
  588|      0|}
unicodeobject.c:unicode_encode_locale:
 3683|     20|{
 3684|     20|    Py_ssize_t wlen;
 3685|     20|    wchar_t *wstr = PyUnicode_AsWideCharString(unicode, &wlen);
 3686|     20|    if (wstr == NULL) {
  ------------------
  |  Branch (3686:9): [True: 0, False: 20]
  ------------------
 3687|      0|        return NULL;
 3688|      0|    }
 3689|       |
 3690|     20|    if ((size_t)wlen != wcslen(wstr)) {
  ------------------
  |  Branch (3690:9): [True: 0, False: 20]
  ------------------
 3691|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
 3692|      0|        PyMem_Free(wstr);
 3693|      0|        return NULL;
 3694|      0|    }
 3695|       |
 3696|     20|    char *str;
 3697|     20|    size_t error_pos;
 3698|     20|    const char *reason;
 3699|     20|    int res = _Py_EncodeLocaleEx(wstr, &str, &error_pos, &reason,
 3700|     20|                                 current_locale, error_handler);
 3701|     20|    PyMem_Free(wstr);
 3702|       |
 3703|     20|    if (res != 0) {
  ------------------
  |  Branch (3703:9): [True: 0, False: 20]
  ------------------
 3704|      0|        if (res == -2) {
  ------------------
  |  Branch (3704:13): [True: 0, False: 0]
  ------------------
 3705|      0|            PyObject *exc;
 3706|      0|            exc = PyObject_CallFunction(PyExc_UnicodeEncodeError, "sOnns",
 3707|      0|                    "locale", unicode,
 3708|      0|                    (Py_ssize_t)error_pos,
 3709|      0|                    (Py_ssize_t)(error_pos+1),
 3710|      0|                    reason);
 3711|      0|            if (exc != NULL) {
  ------------------
  |  Branch (3711:17): [True: 0, False: 0]
  ------------------
 3712|      0|                PyCodec_StrictErrors(exc);
 3713|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3714|      0|            }
 3715|      0|        }
 3716|      0|        else if (res == -3) {
  ------------------
  |  Branch (3716:18): [True: 0, False: 0]
  ------------------
 3717|      0|            PyErr_SetString(PyExc_ValueError, "unsupported error handler");
 3718|      0|        }
 3719|      0|        else {
 3720|      0|            PyErr_NoMemory();
 3721|      0|        }
 3722|      0|        return NULL;
 3723|      0|    }
 3724|       |
 3725|     20|    PyObject *bytes = PyBytes_FromString(str);
 3726|     20|    PyMem_RawFree(str);
 3727|     20|    return bytes;
 3728|     20|}
unicodeobject.c:get_error_handler_wide:
  502|     24|{
  503|     24|    if (errors == NULL || wcscmp(errors, L"strict") == 0) {
  ------------------
  |  Branch (503:9): [True: 0, False: 24]
  |  Branch (503:27): [True: 0, False: 24]
  ------------------
  504|      0|        return _Py_ERROR_STRICT;
  505|      0|    }
  506|     24|    if (wcscmp(errors, L"surrogateescape") == 0) {
  ------------------
  |  Branch (506:9): [True: 24, False: 0]
  ------------------
  507|     24|        return _Py_ERROR_SURROGATEESCAPE;
  508|     24|    }
  509|      0|    if (wcscmp(errors, L"replace") == 0) {
  ------------------
  |  Branch (509:9): [True: 0, False: 0]
  ------------------
  510|      0|        return _Py_ERROR_REPLACE;
  511|      0|    }
  512|      0|    if (wcscmp(errors, L"ignore") == 0) {
  ------------------
  |  Branch (512:9): [True: 0, False: 0]
  ------------------
  513|      0|        return _Py_ERROR_IGNORE;
  514|      0|    }
  515|      0|    if (wcscmp(errors, L"backslashreplace") == 0) {
  ------------------
  |  Branch (515:9): [True: 0, False: 0]
  ------------------
  516|      0|        return _Py_ERROR_BACKSLASHREPLACE;
  517|      0|    }
  518|      0|    if (wcscmp(errors, L"surrogatepass") == 0) {
  ------------------
  |  Branch (518:9): [True: 0, False: 0]
  ------------------
  519|      0|        return _Py_ERROR_SURROGATEPASS;
  520|      0|    }
  521|      0|    if (wcscmp(errors, L"xmlcharrefreplace") == 0) {
  ------------------
  |  Branch (521:9): [True: 0, False: 0]
  ------------------
  522|      0|        return _Py_ERROR_XMLCHARREFREPLACE;
  523|      0|    }
  524|      0|    return _Py_ERROR_OTHER;
  525|      0|}
unicodeobject.c:unicode_decode_locale:
 3908|     30|{
 3909|     30|    if (str[len] != '\0' || (size_t)len != strlen(str))  {
  ------------------
  |  Branch (3909:9): [True: 0, False: 30]
  |  Branch (3909:29): [True: 0, False: 30]
  ------------------
 3910|      0|        PyErr_SetString(PyExc_ValueError, "embedded null byte");
 3911|      0|        return NULL;
 3912|      0|    }
 3913|       |
 3914|     30|    wchar_t *wstr;
 3915|     30|    size_t wlen;
 3916|     30|    const char *reason;
 3917|     30|    int res = _Py_DecodeLocaleEx(str, &wstr, &wlen, &reason,
 3918|     30|                                 current_locale, errors);
 3919|     30|    if (res != 0) {
  ------------------
  |  Branch (3919:9): [True: 0, False: 30]
  ------------------
 3920|      0|        if (res == -2) {
  ------------------
  |  Branch (3920:13): [True: 0, False: 0]
  ------------------
 3921|      0|            PyObject *exc;
 3922|      0|            exc = PyObject_CallFunction(PyExc_UnicodeDecodeError, "sy#nns",
 3923|      0|                                        "locale", str, len,
 3924|      0|                                        (Py_ssize_t)wlen,
 3925|      0|                                        (Py_ssize_t)(wlen + 1),
 3926|      0|                                        reason);
 3927|      0|            if (exc != NULL) {
  ------------------
  |  Branch (3927:17): [True: 0, False: 0]
  ------------------
 3928|      0|                PyCodec_StrictErrors(exc);
 3929|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3930|      0|            }
 3931|      0|        }
 3932|      0|        else if (res == -3) {
  ------------------
  |  Branch (3932:18): [True: 0, False: 0]
  ------------------
 3933|      0|            PyErr_SetString(PyExc_ValueError, "unsupported error handler");
 3934|      0|        }
 3935|      0|        else {
 3936|      0|            PyErr_NoMemory();
 3937|      0|        }
 3938|      0|        return NULL;
 3939|      0|    }
 3940|       |
 3941|     30|    PyObject *unicode = PyUnicode_FromWideChar(wstr, wlen);
 3942|     30|    PyMem_RawFree(wstr);
 3943|     30|    return unicode;
 3944|     30|}
unicodeobject.c:findchar:
 1011|  26.7M|{
 1012|  26.7M|    switch (kind) {
 1013|  26.7M|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (1013:5): [True: 26.7M, False: 0]
  ------------------
 1014|  26.7M|        if ((Py_UCS1) ch != ch)
  ------------------
  |  Branch (1014:13): [True: 0, False: 26.7M]
  ------------------
 1015|      0|            return -1;
 1016|  26.7M|        if (direction > 0)
  ------------------
  |  Branch (1016:13): [True: 26.7M, False: 57]
  ------------------
 1017|  26.7M|            return ucs1lib_find_char((const Py_UCS1 *) s, size, (Py_UCS1) ch);
 1018|     57|        else
 1019|     57|            return ucs1lib_rfind_char((const Py_UCS1 *) s, size, (Py_UCS1) ch);
 1020|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (1020:5): [True: 0, False: 26.7M]
  ------------------
 1021|      0|        if ((Py_UCS2) ch != ch)
  ------------------
  |  Branch (1021:13): [True: 0, False: 0]
  ------------------
 1022|      0|            return -1;
 1023|      0|        if (direction > 0)
  ------------------
  |  Branch (1023:13): [True: 0, False: 0]
  ------------------
 1024|      0|            return ucs2lib_find_char((const Py_UCS2 *) s, size, (Py_UCS2) ch);
 1025|      0|        else
 1026|      0|            return ucs2lib_rfind_char((const Py_UCS2 *) s, size, (Py_UCS2) ch);
 1027|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (1027:5): [True: 0, False: 26.7M]
  ------------------
 1028|      0|        if (direction > 0)
  ------------------
  |  Branch (1028:13): [True: 0, False: 0]
  ------------------
 1029|      0|            return ucs4lib_find_char((const Py_UCS4 *) s, size, ch);
 1030|      0|        else
 1031|      0|            return ucs4lib_rfind_char((const Py_UCS4 *) s, size, ch);
 1032|      0|    default:
  ------------------
  |  Branch (1032:5): [True: 0, False: 26.7M]
  ------------------
 1033|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1034|  26.7M|    }
 1035|  26.7M|}
unicodeobject.c:unicode_ensure_utf8:
 4095|   151k|{
 4096|   151k|    int err = 0;
 4097|   151k|    if (PyUnicode_UTF8(unicode) == NULL) {
  ------------------
  |  Branch (4097:9): [True: 0, False: 151k]
  ------------------
 4098|      0|        Py_BEGIN_CRITICAL_SECTION(unicode);
  ------------------
  |  |   51|      0|    {
  ------------------
 4099|      0|        if (PyUnicode_UTF8(unicode) == NULL) {
  ------------------
  |  Branch (4099:13): [True: 0, False: 0]
  ------------------
 4100|      0|            err = unicode_fill_utf8(unicode);
 4101|      0|        }
 4102|      0|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 4103|      0|    }
 4104|   151k|    return err;
 4105|   151k|}
unicodeobject.c:backslashreplace:
  769|  15.7k|{
  770|  15.7k|    Py_ssize_t size, i;
  771|  15.7k|    Py_UCS4 ch;
  772|  15.7k|    int kind;
  773|  15.7k|    const void *data;
  774|       |
  775|  15.7k|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|  15.7k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  31.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 15.7k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  776|  15.7k|    data = PyUnicode_DATA(unicode);
  ------------------
  |  |  284|  15.7k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  777|       |
  778|  15.7k|    size = 0;
  779|       |    /* determine replacement size */
  780|   156k|    for (i = collstart; i < collend; ++i) {
  ------------------
  |  Branch (780:25): [True: 140k, False: 15.7k]
  ------------------
  781|   140k|        Py_ssize_t incr;
  782|       |
  783|   140k|        ch = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  354|   140k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   140k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|   140k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   140k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   140k|                   (index))
  ------------------
  784|   140k|        if (ch < 0x100)
  ------------------
  |  Branch (784:13): [True: 140k, False: 0]
  ------------------
  785|   140k|            incr = 2+2;
  786|      0|        else if (ch < 0x10000)
  ------------------
  |  Branch (786:18): [True: 0, False: 0]
  ------------------
  787|      0|            incr = 2+4;
  788|      0|        else {
  789|      0|            assert(ch <= MAX_UNICODE);
  ------------------
  |  Branch (789:13): [True: 0, False: 0]
  ------------------
  790|      0|            incr = 2+8;
  791|      0|        }
  792|   140k|        if (size > PY_SSIZE_T_MAX - incr) {
  ------------------
  |  |  137|   140k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (792:13): [True: 0, False: 140k]
  ------------------
  793|      0|            PyErr_SetString(PyExc_OverflowError,
  794|      0|                            "encoded result is too long for a Python string");
  795|      0|            return NULL;
  796|      0|        }
  797|   140k|        size += incr;
  798|   140k|    }
  799|       |
  800|  15.7k|    str = PyBytesWriter_GrowAndUpdatePointer(writer, size, str);
  801|  15.7k|    if (str == NULL) {
  ------------------
  |  Branch (801:9): [True: 0, False: 15.7k]
  ------------------
  802|      0|        return NULL;
  803|      0|    }
  804|       |
  805|       |    /* generate replacement */
  806|   156k|    for (i = collstart; i < collend; ++i) {
  ------------------
  |  Branch (806:25): [True: 140k, False: 15.7k]
  ------------------
  807|   140k|        ch = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  354|   140k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   140k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|   140k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   140k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   140k|                   (index))
  ------------------
  808|   140k|        *str++ = '\\';
  809|   140k|        if (ch >= 0x00010000) {
  ------------------
  |  Branch (809:13): [True: 0, False: 140k]
  ------------------
  810|      0|            *str++ = 'U';
  811|      0|            *str++ = Py_hexdigits[(ch>>28)&0xf];
  812|      0|            *str++ = Py_hexdigits[(ch>>24)&0xf];
  813|      0|            *str++ = Py_hexdigits[(ch>>20)&0xf];
  814|      0|            *str++ = Py_hexdigits[(ch>>16)&0xf];
  815|      0|            *str++ = Py_hexdigits[(ch>>12)&0xf];
  816|      0|            *str++ = Py_hexdigits[(ch>>8)&0xf];
  817|      0|        }
  818|   140k|        else if (ch >= 0x100) {
  ------------------
  |  Branch (818:18): [True: 0, False: 140k]
  ------------------
  819|      0|            *str++ = 'u';
  820|      0|            *str++ = Py_hexdigits[(ch>>12)&0xf];
  821|      0|            *str++ = Py_hexdigits[(ch>>8)&0xf];
  822|      0|        }
  823|   140k|        else
  824|   140k|            *str++ = 'x';
  825|   140k|        *str++ = Py_hexdigits[(ch>>4)&0xf];
  826|   140k|        *str++ = Py_hexdigits[ch&0xf];
  827|   140k|    }
  828|  15.7k|    return str;
  829|  15.7k|}
unicodeobject.c:PyUnicode_UTF8_LENGTH:
  139|   151k|{
  140|   151k|    assert(_PyUnicode_CHECK(op));
  ------------------
  |  Branch (140:5): [True: 151k, False: 0]
  ------------------
  141|   151k|    if (PyUnicode_IS_COMPACT_ASCII(op)) {
  ------------------
  |  |  241|   151k|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   151k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   151k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (241:40): [True: 151k, False: 0]
  |  |  ------------------
  ------------------
  142|   151k|         return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|   151k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   151k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   151k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (142:17): [True: 151k, False: 0]
  ------------------
  143|   151k|    }
  144|      0|    else {
  145|      0|         return _PyCompactUnicodeObject_CAST(op)->utf8_length;
  ------------------
  |  |  189|      0|    (assert(PyUnicode_Check(op)), \
  |  |  190|      0|     _Py_CAST(PyCompactUnicodeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (145:17): [True: 0, False: 0]
  ------------------
  146|      0|    }
  147|   151k|}
unicodeobject.c:PyUnicode_UTF8:
  123|   304k|{
  124|   304k|    assert(_PyUnicode_CHECK(op));
  ------------------
  |  Branch (124:5): [True: 304k, False: 0]
  ------------------
  125|   304k|    if (PyUnicode_IS_COMPACT_ASCII(op)) {
  ------------------
  |  |  241|   304k|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   304k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   304k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (241:40): [True: 304k, False: 0]
  |  |  ------------------
  ------------------
  126|   304k|        return ((char*)(_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |  186|   304k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   304k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   304k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (126:25): [True: 304k, False: 0]
  ------------------
  127|   304k|    }
  128|      0|    else {
  129|      0|         return _PyUnicode_UTF8(op);
  130|      0|    }
  131|   304k|}
unicodeobject.c:unicode_decode_utf8:
 5257|  1.29M|{
 5258|  1.29M|    if (size == 0) {
  ------------------
  |  Branch (5258:9): [True: 7, False: 1.29M]
  ------------------
 5259|      7|        if (consumed) {
  ------------------
  |  Branch (5259:13): [True: 0, False: 7]
  ------------------
 5260|      0|            *consumed = 0;
 5261|      0|        }
 5262|      7|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  379|      7|    do {                             \
  |  |  380|      7|        return _PyUnicode_GetEmpty();\
  |  |  381|      7|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5263|      7|    }
 5264|       |
 5265|       |    /* ASCII is equivalent to the first 128 ordinals in Unicode. */
 5266|  1.29M|    if (size == 1 && (unsigned char)s[0] < 128) {
  ------------------
  |  Branch (5266:9): [True: 52, False: 1.29M]
  |  Branch (5266:22): [True: 52, False: 0]
  ------------------
 5267|     52|        if (consumed) {
  ------------------
  |  Branch (5267:13): [True: 0, False: 52]
  ------------------
 5268|      0|            *consumed = 1;
 5269|      0|        }
 5270|     52|        return get_latin1_char((unsigned char)s[0]);
 5271|     52|    }
 5272|       |
 5273|       |    // I don't know this check is necessary or not. But there is a test
 5274|       |    // case that requires size=PY_SSIZE_T_MAX cause MemoryError.
 5275|  1.29M|    if (PY_SSIZE_T_MAX - sizeof(PyCompactUnicodeObject) < (size_t)size) {
  ------------------
  |  |  137|  1.29M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (5275:9): [True: 0, False: 1.29M]
  ------------------
 5276|      0|        PyErr_NoMemory();
 5277|      0|        return NULL;
 5278|      0|    }
 5279|       |
 5280|  1.29M|    const char *starts = s;
 5281|  1.29M|    const char *end = s + size;
 5282|       |
 5283|  1.29M|    Py_ssize_t pos = find_first_nonascii((const unsigned char*)starts, (const unsigned char*)end);
 5284|  1.29M|    if (pos == size) {  // fast path: ASCII string.
  ------------------
  |  Branch (5284:9): [True: 1.29M, False: 4]
  ------------------
 5285|  1.29M|        PyObject *u = PyUnicode_New(size, 127);
 5286|  1.29M|        if (u == NULL) {
  ------------------
  |  Branch (5286:13): [True: 0, False: 1.29M]
  ------------------
 5287|      0|            return NULL;
 5288|      0|        }
 5289|  1.29M|        memcpy(PyUnicode_1BYTE_DATA(u), s, size);
  ------------------
  |  |  291|  1.29M|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  1.29M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5290|  1.29M|        if (consumed) {
  ------------------
  |  Branch (5290:13): [True: 11, False: 1.29M]
  ------------------
 5291|     11|            *consumed = size;
 5292|     11|        }
 5293|  1.29M|        return u;
 5294|  1.29M|    }
 5295|       |
 5296|      4|    int maxchr = 127;
 5297|      4|    Py_ssize_t maxsize = size;
 5298|       |
 5299|      4|    unsigned char ch = (unsigned char)(s[pos]);
 5300|       |    // error handler other than strict may remove/replace the invalid byte.
 5301|       |    // consumed != NULL allows 1~3 bytes remainings.
 5302|       |    // 0x80 <= ch < 0xc2 is invalid start byte that cause UnicodeDecodeError.
 5303|       |    // otherwise: check the input and decide the maxchr and maxsize to reduce
 5304|       |    // reallocation and copy.
 5305|      4|    if (error_handler == _Py_ERROR_STRICT && !consumed && ch >= 0xc2) {
  ------------------
  |  Branch (5305:9): [True: 0, False: 4]
  |  Branch (5305:46): [True: 0, False: 0]
  |  Branch (5305:59): [True: 0, False: 0]
  ------------------
 5306|       |        // we only calculate the number of codepoints and don't determine the exact maxchr.
 5307|       |        // This is because writing fast and portable SIMD code to find maxchr is difficult.
 5308|       |        // If reallocation occurs for a larger maxchar, knowing the exact number of codepoints
 5309|       |        // means that it is no longer necessary to allocate several times the required amount
 5310|       |        // of memory.
 5311|      0|        maxsize = utf8_count_codepoints((const unsigned char *)s, (const unsigned char *)end);
 5312|      0|        if (ch < 0xc4) { // latin1
  ------------------
  |  Branch (5312:13): [True: 0, False: 0]
  ------------------
 5313|      0|            maxchr = 0xff;
 5314|      0|        }
 5315|      0|        else if (ch < 0xf0) { // ucs2
  ------------------
  |  Branch (5315:18): [True: 0, False: 0]
  ------------------
 5316|      0|            maxchr = 0xffff;
 5317|      0|        }
 5318|      0|        else { // ucs4
 5319|      0|            maxchr = 0x10ffff;
 5320|      0|        }
 5321|      0|    }
 5322|      4|    PyObject *u = PyUnicode_New(maxsize, maxchr);
 5323|      4|    if (!u) {
  ------------------
  |  Branch (5323:9): [True: 0, False: 4]
  ------------------
 5324|      0|        return NULL;
 5325|      0|    }
 5326|       |
 5327|       |    // Use _PyUnicodeWriter after fast path is failed.
 5328|      4|    _PyUnicodeWriter writer;
 5329|      4|    _PyUnicodeWriter_InitWithBuffer(&writer, u);
 5330|      4|    if (maxchr <= 255) {
  ------------------
  |  Branch (5330:9): [True: 4, False: 0]
  ------------------
 5331|      4|        memcpy(PyUnicode_1BYTE_DATA(u), s, pos);
  ------------------
  |  |  291|      4|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      4|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5332|      4|        s += pos;
 5333|      4|        writer.pos = pos;
 5334|      4|    }
 5335|       |
 5336|      4|    if (unicode_decode_utf8_impl(&writer, starts, s, end,
  ------------------
  |  Branch (5336:9): [True: 0, False: 4]
  ------------------
 5337|      4|                                 error_handler, errors,
 5338|      4|                                 consumed) < 0) {
 5339|      0|        _PyUnicodeWriter_Dealloc(&writer);
 5340|      0|        return NULL;
 5341|      0|    }
 5342|      4|    return _PyUnicodeWriter_Finish(&writer);
 5343|      4|}
unicodeobject.c:find_first_nonascii:
 4985|  1.29M|{
 4986|       |    // The search is done in `size_t` chunks.
 4987|       |    // The start and end might not be aligned at `size_t` boundaries,
 4988|       |    // so they're handled specially.
 4989|       |
 4990|  1.29M|    const unsigned char *p = start;
 4991|       |
 4992|  1.29M|    if (end - start >= SIZEOF_SIZE_T) {
  ------------------
  |  | 1925|  1.29M|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (4992:9): [True: 725k, False: 574k]
  ------------------
 4993|       |        // Avoid unaligned read.
 4994|   725k|#if PY_LITTLE_ENDIAN && HAVE_CTZ
 4995|   725k|        size_t u;
 4996|   725k|        memcpy(&u, p, sizeof(size_t));
 4997|   725k|        u &= ASCII_CHAR_MASK;
  ------------------
  |  | 4891|   725k|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
 4998|   725k|        if (u) {
  ------------------
  |  Branch (4998:13): [True: 1, False: 725k]
  ------------------
 4999|      1|            return (ctz(u) - 7) / 8;
 5000|      1|        }
 5001|   725k|        p = _Py_ALIGN_DOWN(p + SIZEOF_SIZE_T, SIZEOF_SIZE_T);
  ------------------
  |  |  216|   725k|#define _Py_ALIGN_DOWN(p, a) ((void *)((uintptr_t)(p) & ~(uintptr_t)((a) - 1)))
  ------------------
 5002|       |#else /* PY_LITTLE_ENDIAN && HAVE_CTZ */
 5003|       |        const unsigned char *p2 = _Py_ALIGN_UP(p, SIZEOF_SIZE_T);
 5004|       |        while (p < p2) {
 5005|       |            if (*p & 0x80) {
 5006|       |                return p - start;
 5007|       |            }
 5008|       |            p++;
 5009|       |        }
 5010|       |#endif
 5011|       |
 5012|   725k|        const unsigned char *e = end - SIZEOF_SIZE_T;
  ------------------
  |  | 1925|   725k|#define SIZEOF_SIZE_T 8
  ------------------
 5013|  1.45M|        while (p <= e) {
  ------------------
  |  Branch (5013:16): [True: 730k, False: 725k]
  ------------------
 5014|   730k|            size_t u = (*(const size_t *)p) & ASCII_CHAR_MASK;
  ------------------
  |  | 4891|   730k|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
 5015|   730k|            if (u) {
  ------------------
  |  Branch (5015:17): [True: 2, False: 730k]
  ------------------
 5016|      2|#if PY_LITTLE_ENDIAN && HAVE_CTZ
 5017|      2|                return p - start + (ctz(u) - 7) / 8;
 5018|       |#else
 5019|       |                // big endian and minor compilers are difficult to test.
 5020|       |                // fallback to per byte check.
 5021|       |                break;
 5022|       |#endif
 5023|      2|            }
 5024|   730k|            p += SIZEOF_SIZE_T;
  ------------------
  |  | 1925|   730k|#define SIZEOF_SIZE_T 8
  ------------------
 5025|   730k|        }
 5026|   725k|    }
 5027|  1.29M|#if PY_LITTLE_ENDIAN && HAVE_CTZ
 5028|  1.29M|    assert((end - p) < SIZEOF_SIZE_T);
  ------------------
  |  Branch (5028:5): [True: 1.29M, False: 0]
  ------------------
 5029|       |    // we can not use *(const size_t*)p to avoid buffer overrun.
 5030|  1.29M|    size_t u = load_unaligned(p, end - p) & ASCII_CHAR_MASK;
  ------------------
  |  | 4891|  1.29M|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
 5031|  1.29M|    if (u) {
  ------------------
  |  Branch (5031:9): [True: 1, False: 1.29M]
  ------------------
 5032|      1|        return p - start + (ctz(u) - 7) / 8;
 5033|      1|    }
 5034|  1.29M|    return end - start;
 5035|       |#else
 5036|       |    while (p < end) {
 5037|       |        if (*p & 0x80) {
 5038|       |            break;
 5039|       |        }
 5040|       |        p++;
 5041|       |    }
 5042|       |    return p - start;
 5043|       |#endif
 5044|  1.29M|}
unicodeobject.c:ctz:
 4907|      4|{
 4908|      4|    return __builtin_ctzll((unsigned long long)v);
 4909|      4|}
unicodeobject.c:load_unaligned:
 4931|  1.29M|{
 4932|  1.29M|    union {
 4933|  1.29M|        size_t s;
 4934|  1.29M|        unsigned char b[SIZEOF_SIZE_T];
 4935|  1.29M|    } u;
 4936|  1.29M|    u.s = 0;
 4937|       |    // This switch statement assumes little endian because:
 4938|       |    // * union is faster than bitwise or and shift.
 4939|       |    // * big endian machine is rare and hard to maintain.
 4940|  1.29M|    switch (size) {
 4941|      0|    default:
  ------------------
  |  Branch (4941:5): [True: 0, False: 1.29M]
  ------------------
 4942|      0|#if SIZEOF_SIZE_T == 8
 4943|      0|    case 8:
  ------------------
  |  Branch (4943:5): [True: 0, False: 1.29M]
  ------------------
 4944|      0|        u.b[7] = p[7];
 4945|      0|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 4946|   714k|    case 7:
  ------------------
  |  Branch (4946:5): [True: 714k, False: 585k]
  ------------------
 4947|   714k|        u.b[6] = p[6];
 4948|   714k|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|   714k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 4949|   716k|    case 6:
  ------------------
  |  Branch (4949:5): [True: 2.14k, False: 1.29M]
  ------------------
 4950|   716k|        u.b[5] = p[5];
 4951|   716k|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|   716k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 4952|  1.26M|    case 5:
  ------------------
  |  Branch (4952:5): [True: 553k, False: 746k]
  ------------------
 4953|  1.26M|        u.b[4] = p[4];
 4954|  1.26M|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|  1.26M|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 4955|  1.26M|#endif
 4956|  1.28M|    case 4:
  ------------------
  |  Branch (4956:5): [True: 20.0k, False: 1.27M]
  ------------------
 4957|  1.28M|        u.b[3] = p[3];
 4958|  1.28M|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|  1.28M|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 4959|  1.29M|    case 3:
  ------------------
  |  Branch (4959:5): [True: 6.63k, False: 1.29M]
  ------------------
 4960|  1.29M|        u.b[2] = p[2];
 4961|  1.29M|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|  1.29M|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 4962|  1.29M|    case 2:
  ------------------
  |  Branch (4962:5): [True: 1.16k, False: 1.29M]
  ------------------
 4963|  1.29M|        u.b[1] = p[1];
 4964|  1.29M|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|  1.29M|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 4965|  1.29M|    case 1:
  ------------------
  |  Branch (4965:5): [True: 988, False: 1.29M]
  ------------------
 4966|  1.29M|        u.b[0] = p[0];
 4967|  1.29M|        break;
 4968|  1.17k|    case 0:
  ------------------
  |  Branch (4968:5): [True: 1.17k, False: 1.29M]
  ------------------
 4969|  1.17k|        break;
 4970|  1.29M|    }
 4971|  1.29M|    return u.s;
 4972|  1.29M|}
unicodeobject.c:ascii_decode:
 5099|  4.36k|{
 5100|  4.36k|#if SIZEOF_SIZE_T <= SIZEOF_VOID_P
 5101|  4.36k|    if (_Py_IS_ALIGNED(start, ALIGNOF_SIZE_T)
  ------------------
  |  |  221|  8.73k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (221:30): [True: 2.21k, False: 2.14k]
  |  |  ------------------
  ------------------
 5102|  2.21k|        && _Py_IS_ALIGNED(dest, ALIGNOF_SIZE_T))
  ------------------
  |  |  221|  2.21k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (221:30): [True: 2.21k, False: 3]
  |  |  ------------------
  ------------------
 5103|  2.21k|    {
 5104|       |        /* Fast path, see in STRINGLIB(utf8_decode) for
 5105|       |           an explanation. */
 5106|  2.21k|        const char *p = start;
 5107|  2.21k|        Py_UCS1 *q = dest;
 5108|  1.12M|        while (p + SIZEOF_SIZE_T <= end) {
  ------------------
  |  | 1925|  1.12M|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (5108:16): [True: 1.12M, False: 2.21k]
  ------------------
 5109|  1.12M|            size_t value = *(const size_t *) p;
 5110|  1.12M|            if (value & ASCII_CHAR_MASK)
  ------------------
  |  | 4891|  1.12M|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
  |  Branch (5110:17): [True: 0, False: 1.12M]
  ------------------
 5111|      0|                break;
 5112|  1.12M|            *((size_t *)q) = value;
 5113|  1.12M|            p += SIZEOF_SIZE_T;
  ------------------
  |  | 1925|  1.12M|#define SIZEOF_SIZE_T 8
  ------------------
 5114|  1.12M|            q += SIZEOF_SIZE_T;
  ------------------
  |  | 1925|  1.12M|#define SIZEOF_SIZE_T 8
  ------------------
 5115|  1.12M|        }
 5116|  8.55k|        while (p < end) {
  ------------------
  |  Branch (5116:16): [True: 6.33k, False: 2.21k]
  ------------------
 5117|  6.33k|            if ((unsigned char)*p & 0x80)
  ------------------
  |  Branch (5117:17): [True: 0, False: 6.33k]
  ------------------
 5118|      0|                break;
 5119|  6.33k|            *q++ = *p++;
 5120|  6.33k|        }
 5121|  2.21k|        return p - start;
 5122|  2.21k|    }
 5123|  2.15k|#endif
 5124|  2.15k|    Py_ssize_t pos = find_first_nonascii((const unsigned char*)start,
 5125|  2.15k|                                         (const unsigned char*)end);
 5126|  2.15k|    memcpy(dest, start, pos);
 5127|  2.15k|    return pos;
 5128|  4.36k|}
unicodeobject.c:unicode_decode_utf8_impl:
 5136|      4|{
 5137|      4|    Py_ssize_t startinpos, endinpos;
 5138|      4|    const char *errmsg = "";
 5139|      4|    PyObject *error_handler_obj = NULL;
 5140|      4|    PyObject *exc = NULL;
 5141|       |
 5142|     10|    while (s < end) {
  ------------------
  |  Branch (5142:12): [True: 10, False: 0]
  ------------------
 5143|     10|        Py_UCS4 ch;
 5144|     10|        int kind = writer->kind;
 5145|       |
 5146|     10|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (5146:13): [True: 8, False: 2]
  ------------------
 5147|      8|            if (PyUnicode_IS_ASCII(writer->buffer))
  ------------------
  |  |  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: 4, False: 4]
  |  |  ------------------
  ------------------
 5148|      4|                ch = asciilib_utf8_decode(&s, end, writer->data, &writer->pos);
 5149|      4|            else
 5150|      4|                ch = ucs1lib_utf8_decode(&s, end, writer->data, &writer->pos);
 5151|      8|        } else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (5151:20): [True: 2, False: 0]
  ------------------
 5152|      2|            ch = ucs2lib_utf8_decode(&s, end, writer->data, &writer->pos);
 5153|      2|        } else {
 5154|      0|            assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (5154:13): [True: 0, False: 0]
  ------------------
 5155|      0|            ch = ucs4lib_utf8_decode(&s, end, writer->data, &writer->pos);
 5156|      0|        }
 5157|       |
 5158|     10|        switch (ch) {
 5159|      4|        case 0:
  ------------------
  |  Branch (5159:9): [True: 4, False: 6]
  ------------------
 5160|      4|            if (s == end || consumed)
  ------------------
  |  Branch (5160:17): [True: 4, False: 0]
  |  Branch (5160:29): [True: 0, False: 0]
  ------------------
 5161|      4|                goto End;
 5162|      0|            errmsg = "unexpected end of data";
 5163|      0|            startinpos = s - starts;
 5164|      0|            endinpos = end - starts;
 5165|      0|            break;
 5166|      0|        case 1:
  ------------------
  |  Branch (5166:9): [True: 0, False: 10]
  ------------------
 5167|      0|            errmsg = "invalid start byte";
 5168|      0|            startinpos = s - starts;
 5169|      0|            endinpos = startinpos + 1;
 5170|      0|            break;
 5171|      0|        case 2:
  ------------------
  |  Branch (5171:9): [True: 0, False: 10]
  ------------------
 5172|      0|            if (consumed && (unsigned char)s[0] == 0xED && end - s == 2
  ------------------
  |  Branch (5172:17): [True: 0, False: 0]
  |  Branch (5172:29): [True: 0, False: 0]
  |  Branch (5172:60): [True: 0, False: 0]
  ------------------
 5173|      0|                && (unsigned char)s[1] >= 0xA0 && (unsigned char)s[1] <= 0xBF)
  ------------------
  |  Branch (5173:20): [True: 0, False: 0]
  |  Branch (5173:51): [True: 0, False: 0]
  ------------------
 5174|      0|            {
 5175|       |                /* Truncated surrogate code in range D800-DFFF */
 5176|      0|                goto End;
 5177|      0|            }
 5178|      0|            _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 5179|      0|        case 3:
  ------------------
  |  Branch (5179:9): [True: 0, False: 10]
  ------------------
 5180|      0|        case 4:
  ------------------
  |  Branch (5180:9): [True: 0, False: 10]
  ------------------
 5181|      0|            errmsg = "invalid continuation byte";
 5182|      0|            startinpos = s - starts;
 5183|      0|            endinpos = startinpos + ch - 1;
 5184|      0|            break;
 5185|      6|        default:
  ------------------
  |  Branch (5185:9): [True: 6, False: 4]
  ------------------
 5186|       |            // ch doesn't fit into kind, so change the buffer kind to write
 5187|       |            // the character
 5188|      6|            if (_PyUnicodeWriter_WriteCharInline(writer, ch) < 0)
  ------------------
  |  Branch (5188:17): [True: 0, False: 6]
  ------------------
 5189|      0|                goto onError;
 5190|      6|            continue;
 5191|     10|        }
 5192|       |
 5193|      0|        if (error_handler == _Py_ERROR_UNKNOWN)
  ------------------
  |  Branch (5193:13): [True: 0, False: 0]
  ------------------
 5194|      0|            error_handler = _Py_GetErrorHandler(errors);
 5195|       |
 5196|      0|        switch (error_handler) {
 5197|      0|        case _Py_ERROR_IGNORE:
  ------------------
  |  Branch (5197:9): [True: 0, False: 0]
  ------------------
 5198|      0|            s += (endinpos - startinpos);
 5199|      0|            break;
 5200|       |
 5201|      0|        case _Py_ERROR_REPLACE:
  ------------------
  |  Branch (5201:9): [True: 0, False: 0]
  ------------------
 5202|      0|            if (_PyUnicodeWriter_WriteCharInline(writer, 0xfffd) < 0)
  ------------------
  |  Branch (5202:17): [True: 0, False: 0]
  ------------------
 5203|      0|                goto onError;
 5204|      0|            s += (endinpos - startinpos);
 5205|      0|            break;
 5206|       |
 5207|      0|        case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (5207:9): [True: 0, False: 0]
  ------------------
 5208|      0|        {
 5209|      0|            Py_ssize_t i;
 5210|       |
 5211|      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 (5211:17): [True: 0, False: 0]
  ------------------
 5212|      0|                goto onError;
 5213|      0|            for (i=startinpos; i<endinpos; i++) {
  ------------------
  |  Branch (5213:32): [True: 0, False: 0]
  ------------------
 5214|      0|                ch = (Py_UCS4)(unsigned char)(starts[i]);
 5215|      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))
  |  |  ------------------
  ------------------
 5216|      0|                                ch + 0xdc00);
 5217|      0|                writer->pos++;
 5218|      0|            }
 5219|      0|            s += (endinpos - startinpos);
 5220|      0|            break;
 5221|      0|        }
 5222|       |
 5223|      0|        default:
  ------------------
  |  Branch (5223:9): [True: 0, False: 0]
  ------------------
 5224|      0|            if (unicode_decode_call_errorhandler_writer(
  ------------------
  |  Branch (5224:17): [True: 0, False: 0]
  ------------------
 5225|      0|                    errors, &error_handler_obj,
 5226|      0|                    "utf-8", errmsg,
 5227|      0|                    &starts, &end, &startinpos, &endinpos, &exc, &s,
 5228|      0|                    writer)) {
 5229|      0|                goto onError;
 5230|      0|            }
 5231|       |
 5232|      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 (5232:17): [True: 0, False: 0]
  ------------------
 5233|      0|                goto onError;
 5234|      0|            }
 5235|      0|        }
 5236|      0|    }
 5237|       |
 5238|      4|End:
 5239|      4|    if (consumed)
  ------------------
  |  Branch (5239:9): [True: 0, False: 4]
  ------------------
 5240|      0|        *consumed = s - starts;
 5241|       |
 5242|      4|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5243|      4|    Py_XDECREF(exc);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5244|      4|    return 0;
 5245|       |
 5246|      0|onError:
 5247|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5248|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5249|      0|    return -1;
 5250|      4|}
unicodeobject.c:unicode_encode_utf8:
 5684|    179|{
 5685|    179|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|    179|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    179|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (5685:9): [True: 0, False: 179]
  ------------------
 5686|      0|        PyErr_BadArgument();
 5687|      0|        return NULL;
 5688|      0|    }
 5689|       |
 5690|    179|    if (PyUnicode_UTF8(unicode))
  ------------------
  |  Branch (5690:9): [True: 179, False: 0]
  ------------------
 5691|    179|        return PyBytes_FromStringAndSize(PyUnicode_UTF8(unicode),
 5692|    179|                                         PyUnicode_UTF8_LENGTH(unicode));
 5693|       |
 5694|      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))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5695|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5696|      0|    Py_ssize_t size = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5697|       |
 5698|      0|    PyBytesWriter *writer;
 5699|      0|    char *end;
 5700|       |
 5701|      0|    switch (kind) {
 5702|      0|    default:
  ------------------
  |  Branch (5702:5): [True: 0, False: 0]
  ------------------
 5703|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 5704|      0|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (5704:5): [True: 0, False: 0]
  ------------------
 5705|       |        /* the string cannot be ASCII, or PyUnicode_UTF8() would be set */
 5706|      0|        assert(!PyUnicode_IS_ASCII(unicode));
  ------------------
  |  Branch (5706:9): [True: 0, False: 0]
  ------------------
 5707|      0|        writer = ucs1lib_utf8_encoder(unicode, data, size,
 5708|      0|                                      error_handler, errors, &end);
 5709|      0|        break;
 5710|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (5710:5): [True: 0, False: 0]
  ------------------
 5711|      0|        writer = ucs2lib_utf8_encoder(unicode, data, size,
 5712|      0|                                      error_handler, errors, &end);
 5713|      0|        break;
 5714|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (5714:5): [True: 0, False: 0]
  ------------------
 5715|      0|        writer = ucs4lib_utf8_encoder(unicode, data, size,
 5716|      0|                                      error_handler, errors, &end);
 5717|      0|        break;
 5718|      0|    }
 5719|       |
 5720|      0|    if (writer == NULL) {
  ------------------
  |  Branch (5720:9): [True: 0, False: 0]
  ------------------
 5721|      0|        PyBytesWriter_Discard(writer);
 5722|      0|        return NULL;
 5723|      0|    }
 5724|      0|    return PyBytesWriter_FinishWithPointer(writer, end);
 5725|      0|}
unicodeobject.c:unicode_encode_ucs1:
 7191|    281|{
 7192|       |    /* input state */
 7193|    281|    Py_ssize_t pos=0, size;
 7194|    281|    int kind;
 7195|    281|    const void *data;
 7196|    281|    const char *encoding = (limit == 256) ? "latin-1" : "ascii";
  ------------------
  |  Branch (7196:28): [True: 0, False: 281]
  ------------------
 7197|    281|    const char *reason = (limit == 256) ? "ordinal not in range(256)" : "ordinal not in range(128)";
  ------------------
  |  Branch (7197:26): [True: 0, False: 281]
  ------------------
 7198|    281|    PyObject *error_handler_obj = NULL;
 7199|    281|    PyObject *exc = NULL;
 7200|    281|    _Py_error_handler error_handler = _Py_ERROR_UNKNOWN;
 7201|    281|    PyObject *rep = NULL;
 7202|       |
 7203|    281|    size = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|    281|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    281|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    281|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7204|    281|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|    281|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    562|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 281, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7205|    281|    data = PyUnicode_DATA(unicode);
  ------------------
  |  |  284|    281|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    281|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    281|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7206|       |    /* allocate enough for a simple encoding without
 7207|       |       replacements, if we need more, we'll resize */
 7208|    281|    if (size == 0)
  ------------------
  |  Branch (7208:9): [True: 0, False: 281]
  ------------------
 7209|      0|        return Py_GetConstant(Py_CONSTANT_EMPTY_BYTES);
  ------------------
  |  |  598|      0|#define Py_CONSTANT_EMPTY_BYTES 8
  ------------------
 7210|       |
 7211|       |    /* output object */
 7212|    281|    PyBytesWriter *writer = PyBytesWriter_Create(size);
 7213|    281|    if (writer == NULL) {
  ------------------
  |  Branch (7213:9): [True: 0, False: 281]
  ------------------
 7214|      0|        return NULL;
 7215|      0|    }
 7216|       |    /* pointer into the output */
 7217|    281|    char *str = PyBytesWriter_GetData(writer);
 7218|       |
 7219|  3.61M|    while (pos < size) {
  ------------------
  |  Branch (7219:12): [True: 3.61M, False: 281]
  ------------------
 7220|  3.61M|        Py_UCS4 ch = PyUnicode_READ(kind, data, pos);
  ------------------
  |  |  354|  3.61M|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  3.61M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  3.61M|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  3.61M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  3.61M|                   (index))
  ------------------
 7221|       |
 7222|       |        /* can we encode this? */
 7223|  3.61M|        if (ch < limit) {
  ------------------
  |  Branch (7223:13): [True: 3.59M, False: 15.7k]
  ------------------
 7224|       |            /* no overflow check, because we know that the space is enough */
 7225|  3.59M|            *str++ = (char)ch;
 7226|  3.59M|            ++pos;
 7227|  3.59M|        }
 7228|  15.7k|        else {
 7229|  15.7k|            Py_ssize_t newpos, i;
 7230|       |            /* startpos for collecting unencodable chars */
 7231|  15.7k|            Py_ssize_t collstart = pos;
 7232|  15.7k|            Py_ssize_t collend = collstart + 1;
 7233|       |            /* find all unecodable characters */
 7234|       |
 7235|   140k|            while ((collend < size) && (PyUnicode_READ(kind, data, collend) >= limit))
  ------------------
  |  |  354|   140k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   140k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|   140k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   140k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   140k|                   (index))
  ------------------
  |  Branch (7235:20): [True: 140k, False: 7]
  |  Branch (7235:40): [True: 124k, False: 15.7k]
  ------------------
 7236|   124k|                ++collend;
 7237|       |
 7238|       |            /* Only overallocate the buffer if it's not the last write */
 7239|  15.7k|            writer->overallocate = (collend < size);
 7240|       |
 7241|       |            /* cache callback name lookup (if not done yet, i.e. it's the first error) */
 7242|  15.7k|            if (error_handler == _Py_ERROR_UNKNOWN)
  ------------------
  |  Branch (7242:17): [True: 281, False: 15.5k]
  ------------------
 7243|    281|                error_handler = _Py_GetErrorHandler(errors);
 7244|       |
 7245|  15.7k|            switch (error_handler) {
 7246|      0|            case _Py_ERROR_STRICT:
  ------------------
  |  Branch (7246:13): [True: 0, False: 15.7k]
  ------------------
 7247|      0|                raise_encode_exception(&exc, encoding, unicode, collstart, collend, reason);
 7248|      0|                goto onError;
 7249|       |
 7250|      0|            case _Py_ERROR_REPLACE:
  ------------------
  |  Branch (7250:13): [True: 0, False: 15.7k]
  ------------------
 7251|      0|                memset(str, '?', collend - collstart);
 7252|      0|                str += (collend - collstart);
 7253|      0|                _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 7254|      0|            case _Py_ERROR_IGNORE:
  ------------------
  |  Branch (7254:13): [True: 0, False: 15.7k]
  ------------------
 7255|      0|                pos = collend;
 7256|      0|                break;
 7257|       |
 7258|  15.7k|            case _Py_ERROR_BACKSLASHREPLACE:
  ------------------
  |  Branch (7258:13): [True: 15.7k, False: 0]
  ------------------
 7259|       |                /* subtract preallocated bytes */
 7260|  15.7k|                writer->size -= (collend - collstart);
 7261|  15.7k|                str = backslashreplace(writer, str,
 7262|  15.7k|                                       unicode, collstart, collend);
 7263|  15.7k|                if (str == NULL)
  ------------------
  |  Branch (7263:21): [True: 0, False: 15.7k]
  ------------------
 7264|      0|                    goto onError;
 7265|  15.7k|                pos = collend;
 7266|  15.7k|                break;
 7267|       |
 7268|      0|            case _Py_ERROR_XMLCHARREFREPLACE:
  ------------------
  |  Branch (7268:13): [True: 0, False: 15.7k]
  ------------------
 7269|       |                /* subtract preallocated bytes */
 7270|      0|                writer->size -= (collend - collstart);
 7271|      0|                str = xmlcharrefreplace(writer, str,
 7272|      0|                                        unicode, collstart, collend);
 7273|      0|                if (str == NULL)
  ------------------
  |  Branch (7273:21): [True: 0, False: 0]
  ------------------
 7274|      0|                    goto onError;
 7275|      0|                pos = collend;
 7276|      0|                break;
 7277|       |
 7278|      0|            case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (7278:13): [True: 0, False: 15.7k]
  ------------------
 7279|      0|                for (i = collstart; i < collend; ++i) {
  ------------------
  |  Branch (7279:37): [True: 0, False: 0]
  ------------------
 7280|      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))
  ------------------
 7281|      0|                    if (ch < 0xdc80 || 0xdcff < ch) {
  ------------------
  |  Branch (7281:25): [True: 0, False: 0]
  |  Branch (7281:40): [True: 0, False: 0]
  ------------------
 7282|       |                        /* Not a UTF-8b surrogate */
 7283|      0|                        break;
 7284|      0|                    }
 7285|      0|                    *str++ = (char)(ch - 0xdc00);
 7286|      0|                    ++pos;
 7287|      0|                }
 7288|      0|                if (i >= collend)
  ------------------
  |  Branch (7288:21): [True: 0, False: 0]
  ------------------
 7289|      0|                    break;
 7290|      0|                collstart = pos;
 7291|      0|                assert(collstart != collend);
  ------------------
  |  Branch (7291:17): [True: 0, False: 0]
  ------------------
 7292|      0|                _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 7293|       |
 7294|      0|            default:
  ------------------
  |  Branch (7294:13): [True: 0, False: 15.7k]
  ------------------
 7295|      0|                rep = unicode_encode_call_errorhandler(errors, &error_handler_obj,
 7296|      0|                                                       encoding, reason, unicode, &exc,
 7297|      0|                                                       collstart, collend, &newpos);
 7298|      0|                if (rep == NULL)
  ------------------
  |  Branch (7298:21): [True: 0, False: 0]
  ------------------
 7299|      0|                    goto onError;
 7300|       |
 7301|      0|                if (newpos < collstart) {
  ------------------
  |  Branch (7301:21): [True: 0, False: 0]
  ------------------
 7302|      0|                    writer->overallocate = 1;
 7303|      0|                    str = PyBytesWriter_GrowAndUpdatePointer(writer,
 7304|      0|                                                             collstart - newpos,
 7305|      0|                                                             str);
 7306|      0|                    if (str == NULL) {
  ------------------
  |  Branch (7306:25): [True: 0, False: 0]
  ------------------
 7307|      0|                        goto onError;
 7308|      0|                    }
 7309|      0|                }
 7310|      0|                else {
 7311|       |                    /* subtract preallocated bytes */
 7312|      0|                    writer->size -= newpos - collstart;
 7313|       |                    /* Only overallocate the buffer if it's not the last write */
 7314|      0|                    writer->overallocate = (newpos < size);
 7315|      0|                }
 7316|       |
 7317|      0|                char *rep_str;
 7318|      0|                Py_ssize_t rep_len;
 7319|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7320|       |                    /* Directly copy bytes result to output. */
 7321|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7322|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7323|      0|                }
 7324|      0|                else {
 7325|      0|                    assert(PyUnicode_Check(rep));
  ------------------
  |  Branch (7325:21): [True: 0, False: 0]
  ------------------
 7326|       |
 7327|      0|                    if (limit == 256 ?
  ------------------
  |  Branch (7327:25): [True: 0, False: 0]
  |  Branch (7327:25): [True: 0, False: 0]
  ------------------
 7328|      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))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7329|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7330|      0|                    {
 7331|       |                        /* Not all characters are smaller than limit */
 7332|      0|                        raise_encode_exception(&exc, encoding, unicode,
 7333|      0|                                               collstart, collend, reason);
 7334|      0|                        goto onError;
 7335|      0|                    }
 7336|      0|                    assert(PyUnicode_KIND(rep) == PyUnicode_1BYTE_KIND);
  ------------------
  |  Branch (7336:21): [True: 0, False: 0]
  |  Branch (7336:21): [True: 0, False: 0]
  ------------------
 7337|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7338|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7339|      0|                }
 7340|       |
 7341|      0|                str = PyBytesWriter_GrowAndUpdatePointer(writer, rep_len, str);
 7342|      0|                if (str == NULL) {
  ------------------
  |  Branch (7342:21): [True: 0, False: 0]
  ------------------
 7343|      0|                    goto onError;
 7344|      0|                }
 7345|      0|                memcpy(str, rep_str, rep_len);
 7346|      0|                str += rep_len;
 7347|       |
 7348|      0|                pos = newpos;
 7349|      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]
  |  |  ------------------
  ------------------
 7350|  15.7k|            }
 7351|       |
 7352|       |            /* If overallocation was disabled, ensure that it was the last
 7353|       |               write. Otherwise, we missed an optimization */
 7354|  15.7k|            assert(writer->overallocate || pos == size);
  ------------------
  |  Branch (7354:13): [True: 15.7k, False: 7]
  |  Branch (7354:13): [True: 7, False: 0]
  ------------------
 7355|  15.7k|        }
 7356|  3.61M|    }
 7357|       |
 7358|    281|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  524|    281|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    281|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    281|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7359|    281|    Py_XDECREF(exc);
  ------------------
  |  |  524|    281|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    281|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    281|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7360|    281|    return PyBytesWriter_FinishWithPointer(writer, str);
 7361|       |
 7362|      0|  onError:
 7363|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7364|      0|    PyBytesWriter_Discard(writer);
 7365|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7366|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7367|       |    return NULL;
 7368|    281|}
unicodeobject.c:_PyUnicode_TranslateCharmap:
 9708|     48|{
 9709|       |    /* input object */
 9710|     48|    const void *data;
 9711|     48|    Py_ssize_t size, i;
 9712|     48|    int kind;
 9713|       |    /* output buffer */
 9714|     48|    _PyUnicodeWriter writer;
 9715|       |    /* error handler */
 9716|     48|    const char *reason = "character maps to <undefined>";
 9717|     48|    PyObject *errorHandler = NULL;
 9718|     48|    PyObject *exc = NULL;
 9719|     48|    int ignore;
 9720|     48|    int res;
 9721|       |
 9722|     48|    if (mapping == NULL) {
  ------------------
  |  Branch (9722:9): [True: 0, False: 48]
  ------------------
 9723|      0|        PyErr_BadArgument();
 9724|      0|        return NULL;
 9725|      0|    }
 9726|       |
 9727|     48|    data = PyUnicode_DATA(input);
  ------------------
  |  |  284|     48|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9728|     48|    kind = PyUnicode_KIND(input);
  ------------------
  |  |  258|     48|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|     96|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 48, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9729|     48|    size = PyUnicode_GET_LENGTH(input);
  ------------------
  |  |  299|     48|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9730|       |
 9731|     48|    if (size == 0)
  ------------------
  |  Branch (9731:9): [True: 0, False: 48]
  ------------------
 9732|      0|        return PyUnicode_FromObject(input);
 9733|       |
 9734|       |    /* allocate enough for a simple 1:1 translation without
 9735|       |       replacements, if we need more, we'll resize */
 9736|     48|    _PyUnicodeWriter_Init(&writer);
 9737|     48|    if (_PyUnicodeWriter_Prepare(&writer, size, 127) == -1)
  ------------------
  |  |  562|     48|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 0, False: 48]
  |  |  ------------------
  |  |  563|     48|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  564|     48|     ? 0                                                              \
  |  |  565|     48|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 48]
  |  |  ------------------
  |  |  566|     48|        ? 0                                                           \
  |  |  567|     48|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (9737:9): [True: 0, False: 48]
  ------------------
 9738|      0|        goto onError;
 9739|       |
 9740|     48|    ignore = (errors != NULL && strcmp(errors, "ignore") == 0);
  ------------------
  |  Branch (9740:15): [True: 48, False: 0]
  |  Branch (9740:33): [True: 48, False: 0]
  ------------------
 9741|       |
 9742|     48|    if (PyUnicode_IS_ASCII(input)) {
  ------------------
  |  |  227|     48|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 48, False: 0]
  |  |  ------------------
  ------------------
 9743|     48|        res = unicode_fast_translate(input, mapping, &writer, ignore, &i);
 9744|     48|        if (res < 0) {
  ------------------
  |  Branch (9744:13): [True: 0, False: 48]
  ------------------
 9745|      0|            _PyUnicodeWriter_Dealloc(&writer);
 9746|      0|            return NULL;
 9747|      0|        }
 9748|     48|        if (res == 1)
  ------------------
  |  Branch (9748:13): [True: 24, False: 24]
  ------------------
 9749|     24|            return _PyUnicodeWriter_Finish(&writer);
 9750|     48|    }
 9751|      0|    else {
 9752|      0|        i = 0;
 9753|      0|    }
 9754|       |
 9755|     60|    while (i<size) {
  ------------------
  |  Branch (9755:12): [True: 36, False: 24]
  ------------------
 9756|       |        /* try to encode it */
 9757|     36|        int translate;
 9758|     36|        PyObject *repunicode = NULL; /* initialize to prevent gcc warning */
 9759|     36|        Py_ssize_t newpos;
 9760|       |        /* startpos for collecting untranslatable chars */
 9761|     36|        Py_ssize_t collstart;
 9762|     36|        Py_ssize_t collend;
 9763|     36|        Py_UCS4 ch;
 9764|       |
 9765|     36|        ch = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  354|     36|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     36|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|     36|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     36|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     36|                   (index))
  ------------------
 9766|     36|        translate = charmaptranslate_output(ch, mapping, &writer);
 9767|     36|        if (translate < 0)
  ------------------
  |  Branch (9767:13): [True: 0, False: 36]
  ------------------
 9768|      0|            goto onError;
 9769|       |
 9770|     36|        if (translate != 0) {
  ------------------
  |  Branch (9770:13): [True: 36, False: 0]
  ------------------
 9771|       |            /* it worked => adjust input pointer */
 9772|     36|            ++i;
 9773|     36|            continue;
 9774|     36|        }
 9775|       |
 9776|       |        /* untranslatable character */
 9777|      0|        collstart = i;
 9778|      0|        collend = i+1;
 9779|       |
 9780|       |        /* find all untranslatable characters */
 9781|      0|        while (collend < size) {
  ------------------
  |  Branch (9781:16): [True: 0, False: 0]
  ------------------
 9782|      0|            PyObject *x;
 9783|      0|            Py_UCS4 replace;
 9784|      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))
  ------------------
 9785|      0|            if (charmaptranslate_lookup(ch, mapping, &x, &replace))
  ------------------
  |  Branch (9785:17): [True: 0, False: 0]
  ------------------
 9786|      0|                goto onError;
 9787|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9788|      0|            if (x != Py_None)
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (9788:17): [True: 0, False: 0]
  ------------------
 9789|      0|                break;
 9790|      0|            ++collend;
 9791|      0|        }
 9792|       |
 9793|      0|        if (ignore) {
  ------------------
  |  Branch (9793:13): [True: 0, False: 0]
  ------------------
 9794|      0|            i = collend;
 9795|      0|        }
 9796|      0|        else {
 9797|      0|            repunicode = unicode_translate_call_errorhandler(errors, &errorHandler,
 9798|      0|                                                             reason, input, &exc,
 9799|      0|                                                             collstart, collend, &newpos);
 9800|      0|            if (repunicode == NULL)
  ------------------
  |  Branch (9800:17): [True: 0, False: 0]
  ------------------
 9801|      0|                goto onError;
 9802|      0|            if (_PyUnicodeWriter_WriteStr(&writer, repunicode) < 0) {
  ------------------
  |  Branch (9802:17): [True: 0, False: 0]
  ------------------
 9803|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9804|      0|                goto onError;
 9805|      0|            }
 9806|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9807|      0|            i = newpos;
 9808|      0|        }
 9809|      0|    }
 9810|     24|    Py_XDECREF(exc);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9811|     24|    Py_XDECREF(errorHandler);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9812|     24|    return _PyUnicodeWriter_Finish(&writer);
 9813|       |
 9814|      0|  onError:
 9815|      0|    _PyUnicodeWriter_Dealloc(&writer);
 9816|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9817|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9818|       |    return NULL;
 9819|     24|}
unicodeobject.c:unicode_fast_translate:
 9657|     48|{
 9658|     48|    Py_UCS1 ascii_table[128], ch, ch2;
 9659|     48|    Py_ssize_t len;
 9660|     48|    const Py_UCS1 *in, *end;
 9661|     48|    Py_UCS1 *out;
 9662|     48|    int res = 0;
 9663|       |
 9664|     48|    len = PyUnicode_GET_LENGTH(input);
  ------------------
  |  |  299|     48|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9665|       |
 9666|     48|    memset(ascii_table, 0xff, 128);
 9667|       |
 9668|     48|    in = PyUnicode_1BYTE_DATA(input);
  ------------------
  |  |  291|     48|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     48|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 9669|     48|    end = in + len;
 9670|       |
 9671|     48|    assert(PyUnicode_IS_ASCII(writer->buffer));
  ------------------
  |  Branch (9671:5): [True: 48, False: 0]
  ------------------
 9672|     48|    assert(PyUnicode_GET_LENGTH(writer->buffer) == len);
  ------------------
  |  Branch (9672:5): [True: 48, False: 0]
  ------------------
 9673|     48|    out = PyUnicode_1BYTE_DATA(writer->buffer);
  ------------------
  |  |  291|     48|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     48|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 9674|       |
 9675|     89|    for (; in < end; in++) {
  ------------------
  |  Branch (9675:12): [True: 65, False: 24]
  ------------------
 9676|     65|        ch = *in;
 9677|     65|        ch2 = ascii_table[ch];
 9678|     65|        if (ch2 == 0xff) {
  ------------------
  |  Branch (9678:13): [True: 58, False: 7]
  ------------------
 9679|     58|            int translate = unicode_fast_translate_lookup(mapping, ch,
 9680|     58|                                                          ascii_table);
 9681|     58|            if (translate < 0)
  ------------------
  |  Branch (9681:17): [True: 0, False: 58]
  ------------------
 9682|      0|                return -1;
 9683|     58|            if (translate == 0)
  ------------------
  |  Branch (9683:17): [True: 24, False: 34]
  ------------------
 9684|     24|                goto exit;
 9685|     34|            ch2 = ascii_table[ch];
 9686|     34|        }
 9687|     41|        if (ch2 == 0xfe) {
  ------------------
  |  Branch (9687:13): [True: 0, False: 41]
  ------------------
 9688|      0|            if (ignore)
  ------------------
  |  Branch (9688:17): [True: 0, False: 0]
  ------------------
 9689|      0|                continue;
 9690|      0|            goto exit;
 9691|      0|        }
 9692|     41|        assert(ch2 < 128);
  ------------------
  |  Branch (9692:9): [True: 41, False: 0]
  ------------------
 9693|     41|        *out = ch2;
 9694|     41|        out++;
 9695|     41|    }
 9696|     24|    res = 1;
 9697|       |
 9698|     48|exit:
 9699|     48|    writer->pos = out - PyUnicode_1BYTE_DATA(writer->buffer);
  ------------------
  |  |  291|     48|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     48|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 9700|     48|    *input_pos = in - PyUnicode_1BYTE_DATA(input);
  ------------------
  |  |  291|     48|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     48|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 9701|     48|    return res;
 9702|     24|}
unicodeobject.c:unicode_fast_translate_lookup:
 9604|     58|{
 9605|     58|    PyObject *item = NULL;
 9606|     58|    Py_UCS4 replace;
 9607|     58|    int ret = 0;
 9608|       |
 9609|     58|    if (charmaptranslate_lookup(ch, mapping, &item, &replace)) {
  ------------------
  |  Branch (9609:9): [True: 0, False: 58]
  ------------------
 9610|      0|        return -1;
 9611|      0|    }
 9612|       |
 9613|     58|    if (item == Py_None) {
  ------------------
  |  |  616|     58|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (9613:9): [True: 0, False: 58]
  ------------------
 9614|       |        /* deletion */
 9615|      0|        translate[ch] = 0xfe;
 9616|      0|    }
 9617|     58|    else if (item == NULL) {
  ------------------
  |  Branch (9617:14): [True: 34, False: 24]
  ------------------
 9618|       |        /* not found => default to 1:1 mapping */
 9619|     34|        translate[ch] = ch;
 9620|     34|        return 1;
 9621|     34|    }
 9622|     24|    else if (PyLong_Check(item)) {
  ------------------
  |  |   13|     24|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     24|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9623|      0|        if (replace > 127) {
  ------------------
  |  Branch (9623:13): [True: 0, False: 0]
  ------------------
 9624|       |            /* invalid character or character outside ASCII:
 9625|       |               skip the fast translate */
 9626|      0|            goto exit;
 9627|      0|        }
 9628|      0|        translate[ch] = (Py_UCS1)replace;
 9629|      0|    }
 9630|     24|    else if (PyUnicode_Check(item)) {
  ------------------
  |  |  103|     24|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     24|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 24, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9631|     24|        if (PyUnicode_GET_LENGTH(item) != 1)
  ------------------
  |  |  299|     24|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9631:13): [True: 24, False: 0]
  ------------------
 9632|     24|            goto exit;
 9633|       |
 9634|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9635|      0|        if (replace > 127)
  ------------------
  |  Branch (9635:13): [True: 0, False: 0]
  ------------------
 9636|      0|            goto exit;
 9637|      0|        translate[ch] = (Py_UCS1)replace;
 9638|      0|    }
 9639|      0|    else {
 9640|       |        /* not None, NULL, long or unicode */
 9641|      0|        goto exit;
 9642|      0|    }
 9643|      0|    ret = 1;
 9644|       |
 9645|     24|  exit:
 9646|     24|    Py_DECREF(item);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9647|     24|    return ret;
 9648|      0|}
unicodeobject.c:charmaptranslate_output:
 9558|     36|{
 9559|     36|    PyObject *item;
 9560|     36|    Py_UCS4 replace;
 9561|       |
 9562|     36|    if (charmaptranslate_lookup(ch, mapping, &item, &replace))
  ------------------
  |  Branch (9562:9): [True: 0, False: 36]
  ------------------
 9563|      0|        return -1;
 9564|       |
 9565|     36|    if (item == NULL) {
  ------------------
  |  Branch (9565:9): [True: 8, False: 28]
  ------------------
 9566|       |        /* not found => default to 1:1 mapping */
 9567|      8|        if (_PyUnicodeWriter_WriteCharInline(writer, ch) < 0) {
  ------------------
  |  Branch (9567:13): [True: 0, False: 8]
  ------------------
 9568|      0|            return -1;
 9569|      0|        }
 9570|      8|        return 1;
 9571|      8|    }
 9572|       |
 9573|     28|    if (item == Py_None) {
  ------------------
  |  |  616|     28|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (9573:9): [True: 0, False: 28]
  ------------------
 9574|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9575|      0|        return 0;
 9576|      0|    }
 9577|       |
 9578|     28|    if (PyLong_Check(item)) {
  ------------------
  |  |   13|     28|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     28|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 28]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9579|      0|        if (_PyUnicodeWriter_WriteCharInline(writer, replace) < 0) {
  ------------------
  |  Branch (9579:13): [True: 0, False: 0]
  ------------------
 9580|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9581|      0|            return -1;
 9582|      0|        }
 9583|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9584|      0|        return 1;
 9585|      0|    }
 9586|       |
 9587|     28|    if (!PyUnicode_Check(item)) {
  ------------------
  |  |  103|     28|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     28|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (9587:9): [True: 0, False: 28]
  ------------------
 9588|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9589|      0|        return -1;
 9590|      0|    }
 9591|       |
 9592|     28|    if (_PyUnicodeWriter_WriteStr(writer, item) < 0) {
  ------------------
  |  Branch (9592:9): [True: 0, False: 28]
  ------------------
 9593|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9594|      0|        return -1;
 9595|      0|    }
 9596|       |
 9597|     28|    Py_DECREF(item);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9598|     28|    return 1;
 9599|     28|}
unicodeobject.c:charmaptranslate_lookup:
 9500|     94|{
 9501|     94|    PyObject *w = PyLong_FromLong((long)c);
 9502|     94|    PyObject *x;
 9503|       |
 9504|     94|    if (w == NULL)
  ------------------
  |  Branch (9504:9): [True: 0, False: 94]
  ------------------
 9505|      0|        return -1;
 9506|     94|    int rc = PyMapping_GetOptionalItem(mapping, w, &x);
 9507|     94|    Py_DECREF(w);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9508|     94|    if (rc == 0) {
  ------------------
  |  Branch (9508:9): [True: 42, False: 52]
  ------------------
 9509|       |        /* No mapping found means: use 1:1 mapping. */
 9510|     42|        *result = NULL;
 9511|     42|        return 0;
 9512|     42|    }
 9513|     52|    if (x == NULL) {
  ------------------
  |  Branch (9513:9): [True: 0, False: 52]
  ------------------
 9514|      0|        if (PyErr_ExceptionMatches(PyExc_LookupError)) {
  ------------------
  |  Branch (9514:13): [True: 0, False: 0]
  ------------------
 9515|       |            /* No mapping found means: use 1:1 mapping. */
 9516|      0|            PyErr_Clear();
 9517|      0|            *result = NULL;
 9518|      0|            return 0;
 9519|      0|        } else
 9520|      0|            return -1;
 9521|      0|    }
 9522|     52|    else if (x == Py_None) {
  ------------------
  |  |  616|     52|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (9522:14): [True: 0, False: 52]
  ------------------
 9523|      0|        *result = x;
 9524|      0|        return 0;
 9525|      0|    }
 9526|     52|    else if (PyLong_Check(x)) {
  ------------------
  |  |   13|     52|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     52|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 52]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9527|      0|        long value = PyLong_AsLong(x);
 9528|      0|        if (value < 0 || value > MAX_UNICODE) {
  ------------------
  |  |  108|      0|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   16|      0|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (9528:13): [True: 0, False: 0]
  |  Branch (9528:26): [True: 0, False: 0]
  ------------------
 9529|      0|            PyErr_Format(PyExc_ValueError,
 9530|      0|                         "character mapping must be in range(0x%lx)",
 9531|      0|                         (unsigned long)MAX_UNICODE + 1);
  ------------------
  |  |  108|      0|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   16|      0|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
 9532|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9533|      0|            return -1;
 9534|      0|        }
 9535|      0|        *result = x;
 9536|      0|        *replace = (Py_UCS4)value;
 9537|      0|        return 0;
 9538|      0|    }
 9539|     52|    else if (PyUnicode_Check(x)) {
  ------------------
  |  |  103|     52|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     52|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 52, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9540|     52|        *result = x;
 9541|     52|        return 0;
 9542|     52|    }
 9543|      0|    else {
 9544|       |        /* wrong return value */
 9545|      0|        PyErr_SetString(PyExc_TypeError,
 9546|      0|                        "character mapping must return integer, None or str");
 9547|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9548|      0|        return -1;
 9549|      0|    }
 9550|     52|}
unicodeobject.c:any_find_slice:
 9904|     32|{
 9905|     32|    int kind1, kind2;
 9906|     32|    const void *buf1, *buf2;
 9907|     32|    Py_ssize_t len1, len2, result;
 9908|       |
 9909|     32|    kind1 = PyUnicode_KIND(s1);
  ------------------
  |  |  258|     32|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|     64|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 32, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9910|     32|    kind2 = PyUnicode_KIND(s2);
  ------------------
  |  |  258|     32|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|     64|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 32, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9911|     32|    if (kind1 < kind2)
  ------------------
  |  Branch (9911:9): [True: 0, False: 32]
  ------------------
 9912|      0|        return -1;
 9913|       |
 9914|     32|    len1 = PyUnicode_GET_LENGTH(s1);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9915|     32|    len2 = PyUnicode_GET_LENGTH(s2);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9916|     32|    ADJUST_INDICES(start, end, len1);
  ------------------
  |  | 9881|     32|    do {                                \
  |  | 9882|     32|        if (end > len) {                \
  |  |  ------------------
  |  |  |  Branch (9882:13): [True: 32, False: 0]
  |  |  ------------------
  |  | 9883|     32|            end = len;                  \
  |  | 9884|     32|        }                               \
  |  | 9885|     32|        else if (end < 0) {             \
  |  |  ------------------
  |  |  |  Branch (9885:18): [True: 0, False: 0]
  |  |  ------------------
  |  | 9886|      0|            end += len;                 \
  |  | 9887|      0|            if (end < 0) {              \
  |  |  ------------------
  |  |  |  Branch (9887:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9888|      0|                end = 0;                \
  |  | 9889|      0|            }                           \
  |  | 9890|      0|        }                               \
  |  | 9891|     32|        if (start < 0) {                \
  |  |  ------------------
  |  |  |  Branch (9891:13): [True: 0, False: 32]
  |  |  ------------------
  |  | 9892|      0|            start += len;               \
  |  | 9893|      0|            if (start < 0) {            \
  |  |  ------------------
  |  |  |  Branch (9893:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9894|      0|                start = 0;              \
  |  | 9895|      0|            }                           \
  |  | 9896|      0|        }                               \
  |  | 9897|     32|    } while (0)
  |  |  ------------------
  |  |  |  Branch (9897:14): [Folded, False: 32]
  |  |  ------------------
  ------------------
 9917|     32|    if (end - start < len2)
  ------------------
  |  Branch (9917:9): [True: 0, False: 32]
  ------------------
 9918|      0|        return -1;
 9919|       |
 9920|     32|    buf1 = PyUnicode_DATA(s1);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9921|     32|    buf2 = PyUnicode_DATA(s2);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9922|     32|    if (len2 == 1) {
  ------------------
  |  Branch (9922:9): [True: 32, False: 0]
  ------------------
 9923|     32|        Py_UCS4 ch = PyUnicode_READ(kind2, buf2, 0);
  ------------------
  |  |  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))
  ------------------
 9924|     32|        result = findchar((const char *)buf1 + kind1*start,
 9925|     32|                          kind1, end - start, ch, direction);
 9926|     32|        if (result == -1)
  ------------------
  |  Branch (9926:13): [True: 0, False: 32]
  ------------------
 9927|      0|            return -1;
 9928|     32|        else
 9929|     32|            return start + result;
 9930|     32|    }
 9931|       |
 9932|      0|    if (kind2 != kind1) {
  ------------------
  |  Branch (9932:9): [True: 0, False: 0]
  ------------------
 9933|      0|        buf2 = unicode_askind(kind2, buf2, len2, kind1);
 9934|      0|        if (!buf2)
  ------------------
  |  Branch (9934:13): [True: 0, False: 0]
  ------------------
 9935|      0|            return -2;
 9936|      0|    }
 9937|       |
 9938|      0|    if (direction > 0) {
  ------------------
  |  Branch (9938:9): [True: 0, False: 0]
  ------------------
 9939|      0|        switch (kind1) {
 9940|      0|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (9940:9): [True: 0, False: 0]
  ------------------
 9941|      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]
  |  |  ------------------
  ------------------
 9942|      0|                result = asciilib_find_slice(buf1, len1, buf2, len2, start, end);
 9943|      0|            else
 9944|      0|                result = ucs1lib_find_slice(buf1, len1, buf2, len2, start, end);
 9945|      0|            break;
 9946|      0|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (9946:9): [True: 0, False: 0]
  ------------------
 9947|      0|            result = ucs2lib_find_slice(buf1, len1, buf2, len2, start, end);
 9948|      0|            break;
 9949|      0|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (9949:9): [True: 0, False: 0]
  ------------------
 9950|      0|            result = ucs4lib_find_slice(buf1, len1, buf2, len2, start, end);
 9951|      0|            break;
 9952|      0|        default:
  ------------------
  |  Branch (9952:9): [True: 0, False: 0]
  ------------------
 9953|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 9954|      0|        }
 9955|      0|    }
 9956|      0|    else {
 9957|      0|        switch (kind1) {
 9958|      0|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (9958:9): [True: 0, False: 0]
  ------------------
 9959|      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]
  |  |  ------------------
  ------------------
 9960|      0|                result = asciilib_rfind_slice(buf1, len1, buf2, len2, start, end);
 9961|      0|            else
 9962|      0|                result = ucs1lib_rfind_slice(buf1, len1, buf2, len2, start, end);
 9963|      0|            break;
 9964|      0|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (9964:9): [True: 0, False: 0]
  ------------------
 9965|      0|            result = ucs2lib_rfind_slice(buf1, len1, buf2, len2, start, end);
 9966|      0|            break;
 9967|      0|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (9967:9): [True: 0, False: 0]
  ------------------
 9968|      0|            result = ucs4lib_rfind_slice(buf1, len1, buf2, len2, start, end);
 9969|      0|            break;
 9970|      0|        default:
  ------------------
  |  Branch (9970:9): [True: 0, False: 0]
  ------------------
 9971|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 9972|      0|        }
 9973|      0|    }
 9974|       |
 9975|      0|    assert((kind2 != kind1) == (buf2 != PyUnicode_DATA(s2)));
  ------------------
  |  Branch (9975:5): [True: 0, False: 0]
  ------------------
 9976|      0|    if (kind2 != kind1)
  ------------------
  |  Branch (9976:9): [True: 0, False: 0]
  ------------------
 9977|      0|        PyMem_Free((void *)buf2);
 9978|       |
 9979|      0|    return result;
 9980|      0|}
unicodeobject.c:tailmatch:
10034|   236k|{
10035|   236k|    int kind_self;
10036|   236k|    int kind_sub;
10037|   236k|    const void *data_self;
10038|   236k|    const void *data_sub;
10039|   236k|    Py_ssize_t offset;
10040|   236k|    Py_ssize_t i;
10041|   236k|    Py_ssize_t end_sub;
10042|       |
10043|   236k|    ADJUST_INDICES(start, end, PyUnicode_GET_LENGTH(self));
  ------------------
  |  | 9881|   236k|    do {                                \
  |  | 9882|   236k|        if (end > len) {                \
  |  |  ------------------
  |  |  |  Branch (9882:13): [True: 236k, False: 0]
  |  |  ------------------
  |  | 9883|   236k|            end = len;                  \
  |  | 9884|   236k|        }                               \
  |  | 9885|   236k|        else if (end < 0) {             \
  |  |  ------------------
  |  |  |  Branch (9885:18): [True: 0, False: 0]
  |  |  ------------------
  |  | 9886|      0|            end += len;                 \
  |  | 9887|      0|            if (end < 0) {              \
  |  |  ------------------
  |  |  |  Branch (9887:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9888|      0|                end = 0;                \
  |  | 9889|      0|            }                           \
  |  | 9890|      0|        }                               \
  |  | 9891|   236k|        if (start < 0) {                \
  |  |  ------------------
  |  |  |  Branch (9891:13): [True: 0, False: 236k]
  |  |  ------------------
  |  | 9892|      0|            start += len;               \
  |  | 9893|      0|            if (start < 0) {            \
  |  |  ------------------
  |  |  |  Branch (9893:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9894|      0|                start = 0;              \
  |  | 9895|      0|            }                           \
  |  | 9896|      0|        }                               \
  |  | 9897|   236k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (9897:14): [Folded, False: 236k]
  |  |  ------------------
  ------------------
10044|   236k|    end -= PyUnicode_GET_LENGTH(substring);
  ------------------
  |  |  299|   236k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   236k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   236k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10045|   236k|    if (end < start)
  ------------------
  |  Branch (10045:9): [True: 78.6k, False: 157k]
  ------------------
10046|  78.6k|        return 0;
10047|       |
10048|   157k|    if (PyUnicode_GET_LENGTH(substring) == 0)
  ------------------
  |  |  299|   157k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   157k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   157k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10048:9): [True: 0, False: 157k]
  ------------------
10049|      0|        return 1;
10050|       |
10051|   157k|    kind_self = PyUnicode_KIND(self);
  ------------------
  |  |  258|   157k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   315k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 157k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10052|   157k|    data_self = PyUnicode_DATA(self);
  ------------------
  |  |  284|   157k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   157k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   157k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10053|   157k|    kind_sub = PyUnicode_KIND(substring);
  ------------------
  |  |  258|   157k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   315k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 157k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10054|   157k|    data_sub = PyUnicode_DATA(substring);
  ------------------
  |  |  284|   157k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   157k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   157k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10055|   157k|    end_sub = PyUnicode_GET_LENGTH(substring) - 1;
  ------------------
  |  |  299|   157k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   157k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   157k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10056|       |
10057|   157k|    if (direction > 0)
  ------------------
  |  Branch (10057:9): [True: 78.6k, False: 78.9k]
  ------------------
10058|  78.6k|        offset = end;
10059|  78.9k|    else
10060|  78.9k|        offset = start;
10061|       |
10062|   157k|    if (PyUnicode_READ(kind_self, data_self, offset) ==
  ------------------
  |  |  354|   157k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   157k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|   157k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   157k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   157k|                   (index))
  ------------------
  |  Branch (10062:9): [True: 157k, False: 218]
  ------------------
10063|   157k|        PyUnicode_READ(kind_sub, data_sub, 0) &&
  ------------------
  |  |  354|   315k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   157k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|   315k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   157k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   315k|                   (index))
  ------------------
10064|   157k|        PyUnicode_READ(kind_self, data_self, offset + end_sub) ==
  ------------------
  |  |  354|   157k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   157k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|   157k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   157k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   157k|                   (index))
  ------------------
  |  Branch (10064:9): [True: 157k, False: 44]
  ------------------
10065|   157k|        PyUnicode_READ(kind_sub, data_sub, end_sub)) {
  ------------------
  |  |  354|   157k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   157k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|   157k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   157k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   157k|                   (index))
  ------------------
10066|       |        /* If both are of the same kind, memcmp is sufficient */
10067|   157k|        if (kind_self == kind_sub) {
  ------------------
  |  Branch (10067:13): [True: 157k, False: 0]
  ------------------
10068|   157k|            return ! memcmp((char *)data_self +
10069|   157k|                                (offset * PyUnicode_KIND(substring)),
  ------------------
  |  |  258|   157k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   314k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 157k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10070|      0|                            data_sub,
10071|   157k|                            PyUnicode_GET_LENGTH(substring) *
  ------------------
  |  |  299|   157k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   157k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   157k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10072|   157k|                                PyUnicode_KIND(substring));
  ------------------
  |  |  258|   157k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   314k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 157k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10073|   157k|        }
10074|       |        /* otherwise we have to compare each character by first accessing it */
10075|      0|        else {
10076|       |            /* We do not need to compare 0 and len(substring)-1 because
10077|       |               the if statement above ensured already that they are equal
10078|       |               when we end up here. */
10079|      0|            for (i = 1; i < end_sub; ++i) {
  ------------------
  |  Branch (10079:25): [True: 0, False: 0]
  ------------------
10080|      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 (10080:21): [True: 0, False: 0]
  ------------------
10081|      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))
  ------------------
10082|      0|                    return 0;
10083|      0|            }
10084|      0|            return 1;
10085|      0|        }
10086|   157k|    }
10087|       |
10088|    262|    return 0;
10089|   157k|}
unicodeobject.c:unicode_compare:
11278|   361k|{
11279|   361k|#define COMPARE(TYPE1, TYPE2) \
11280|   361k|    do { \
11281|   361k|        TYPE1* p1 = (TYPE1 *)data1; \
11282|   361k|        TYPE2* p2 = (TYPE2 *)data2; \
11283|   361k|        TYPE1* end = p1 + len; \
11284|   361k|        Py_UCS4 c1, c2; \
11285|   361k|        for (; p1 != end; p1++, p2++) { \
11286|   361k|            c1 = *p1; \
11287|   361k|            c2 = *p2; \
11288|   361k|            if (c1 != c2) \
11289|   361k|                return (c1 < c2) ? -1 : 1; \
11290|   361k|        } \
11291|   361k|    } \
11292|   361k|    while (0)
11293|       |
11294|   361k|    int kind1, kind2;
11295|   361k|    const void *data1, *data2;
11296|   361k|    Py_ssize_t len1, len2, len;
11297|       |
11298|   361k|    kind1 = PyUnicode_KIND(str1);
  ------------------
  |  |  258|   361k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   722k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 361k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11299|   361k|    kind2 = PyUnicode_KIND(str2);
  ------------------
  |  |  258|   361k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   722k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 361k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11300|   361k|    data1 = PyUnicode_DATA(str1);
  ------------------
  |  |  284|   361k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   361k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   361k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11301|   361k|    data2 = PyUnicode_DATA(str2);
  ------------------
  |  |  284|   361k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   361k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   361k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11302|   361k|    len1 = PyUnicode_GET_LENGTH(str1);
  ------------------
  |  |  299|   361k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   361k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   361k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11303|   361k|    len2 = PyUnicode_GET_LENGTH(str2);
  ------------------
  |  |  299|   361k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   361k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   361k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11304|   361k|    len = Py_MIN(len1, len2);
  ------------------
  |  |  112|   361k|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 188k, False: 172k]
  |  |  ------------------
  ------------------
11305|       |
11306|   361k|    switch(kind1) {
11307|   361k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (11307:5): [True: 361k, False: 0]
  ------------------
11308|   361k|    {
11309|   361k|        switch(kind2) {
11310|   361k|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (11310:9): [True: 361k, False: 0]
  ------------------
11311|   361k|        {
11312|   361k|            int cmp = memcmp(data1, data2, len);
11313|       |            /* normalize result of memcmp() into the range [-1; 1] */
11314|   361k|            if (cmp < 0)
  ------------------
  |  Branch (11314:17): [True: 358k, False: 2.73k]
  ------------------
11315|   358k|                return -1;
11316|  2.73k|            if (cmp > 0)
  ------------------
  |  Branch (11316:17): [True: 2.61k, False: 121]
  ------------------
11317|  2.61k|                return 1;
11318|    121|            break;
11319|  2.73k|        }
11320|    121|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (11320:9): [True: 0, False: 361k]
  ------------------
11321|      0|            COMPARE(Py_UCS1, Py_UCS2);
  ------------------
  |  |11280|      0|    do { \
  |  |11281|      0|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11282|      0|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11283|      0|        TYPE1* end = p1 + len; \
  |  |11284|      0|        Py_UCS4 c1, c2; \
  |  |11285|      0|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11285:16): [True: 0, False: 0]
  |  |  ------------------
  |  |11286|      0|            c1 = *p1; \
  |  |11287|      0|            c2 = *p2; \
  |  |11288|      0|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11288:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11289|      0|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11289:24): [True: 0, False: 0]
  |  |  ------------------
  |  |11290|      0|        } \
  |  |11291|      0|    } \
  |  |11292|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (11292:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
11322|      0|            break;
11323|      0|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (11323:9): [True: 0, False: 361k]
  ------------------
11324|      0|            COMPARE(Py_UCS1, Py_UCS4);
  ------------------
  |  |11280|      0|    do { \
  |  |11281|      0|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11282|      0|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11283|      0|        TYPE1* end = p1 + len; \
  |  |11284|      0|        Py_UCS4 c1, c2; \
  |  |11285|      0|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11285:16): [True: 0, False: 0]
  |  |  ------------------
  |  |11286|      0|            c1 = *p1; \
  |  |11287|      0|            c2 = *p2; \
  |  |11288|      0|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11288:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11289|      0|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11289:24): [True: 0, False: 0]
  |  |  ------------------
  |  |11290|      0|        } \
  |  |11291|      0|    } \
  |  |11292|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (11292:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
11325|      0|            break;
11326|      0|        default:
  ------------------
  |  Branch (11326:9): [True: 0, False: 361k]
  ------------------
11327|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
11328|   361k|        }
11329|    121|        break;
11330|   361k|    }
11331|    121|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (11331:5): [True: 0, False: 361k]
  ------------------
11332|      0|    {
11333|      0|        switch(kind2) {
11334|      0|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (11334:9): [True: 0, False: 0]
  ------------------
11335|      0|            COMPARE(Py_UCS2, Py_UCS1);
  ------------------
  |  |11280|      0|    do { \
  |  |11281|      0|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11282|      0|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11283|      0|        TYPE1* end = p1 + len; \
  |  |11284|      0|        Py_UCS4 c1, c2; \
  |  |11285|      0|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11285:16): [True: 0, False: 0]
  |  |  ------------------
  |  |11286|      0|            c1 = *p1; \
  |  |11287|      0|            c2 = *p2; \
  |  |11288|      0|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11288:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11289|      0|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11289:24): [True: 0, False: 0]
  |  |  ------------------
  |  |11290|      0|        } \
  |  |11291|      0|    } \
  |  |11292|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (11292:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
11336|      0|            break;
11337|      0|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (11337:9): [True: 0, False: 0]
  ------------------
11338|      0|        {
11339|      0|            COMPARE(Py_UCS2, Py_UCS2);
  ------------------
  |  |11280|      0|    do { \
  |  |11281|      0|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11282|      0|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11283|      0|        TYPE1* end = p1 + len; \
  |  |11284|      0|        Py_UCS4 c1, c2; \
  |  |11285|      0|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11285:16): [True: 0, False: 0]
  |  |  ------------------
  |  |11286|      0|            c1 = *p1; \
  |  |11287|      0|            c2 = *p2; \
  |  |11288|      0|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11288:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11289|      0|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11289:24): [True: 0, False: 0]
  |  |  ------------------
  |  |11290|      0|        } \
  |  |11291|      0|    } \
  |  |11292|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (11292:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
11340|      0|            break;
11341|      0|        }
11342|      0|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (11342:9): [True: 0, False: 0]
  ------------------
11343|      0|            COMPARE(Py_UCS2, Py_UCS4);
  ------------------
  |  |11280|      0|    do { \
  |  |11281|      0|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11282|      0|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11283|      0|        TYPE1* end = p1 + len; \
  |  |11284|      0|        Py_UCS4 c1, c2; \
  |  |11285|      0|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11285:16): [True: 0, False: 0]
  |  |  ------------------
  |  |11286|      0|            c1 = *p1; \
  |  |11287|      0|            c2 = *p2; \
  |  |11288|      0|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11288:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11289|      0|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11289:24): [True: 0, False: 0]
  |  |  ------------------
  |  |11290|      0|        } \
  |  |11291|      0|    } \
  |  |11292|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (11292:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
11344|      0|            break;
11345|      0|        default:
  ------------------
  |  Branch (11345:9): [True: 0, False: 0]
  ------------------
11346|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
11347|      0|        }
11348|      0|        break;
11349|      0|    }
11350|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (11350:5): [True: 0, False: 361k]
  ------------------
11351|      0|    {
11352|      0|        switch(kind2) {
11353|      0|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (11353:9): [True: 0, False: 0]
  ------------------
11354|      0|            COMPARE(Py_UCS4, Py_UCS1);
  ------------------
  |  |11280|      0|    do { \
  |  |11281|      0|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11282|      0|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11283|      0|        TYPE1* end = p1 + len; \
  |  |11284|      0|        Py_UCS4 c1, c2; \
  |  |11285|      0|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11285:16): [True: 0, False: 0]
  |  |  ------------------
  |  |11286|      0|            c1 = *p1; \
  |  |11287|      0|            c2 = *p2; \
  |  |11288|      0|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11288:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11289|      0|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11289:24): [True: 0, False: 0]
  |  |  ------------------
  |  |11290|      0|        } \
  |  |11291|      0|    } \
  |  |11292|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (11292:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
11355|      0|            break;
11356|      0|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (11356:9): [True: 0, False: 0]
  ------------------
11357|      0|            COMPARE(Py_UCS4, Py_UCS2);
  ------------------
  |  |11280|      0|    do { \
  |  |11281|      0|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11282|      0|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11283|      0|        TYPE1* end = p1 + len; \
  |  |11284|      0|        Py_UCS4 c1, c2; \
  |  |11285|      0|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11285:16): [True: 0, False: 0]
  |  |  ------------------
  |  |11286|      0|            c1 = *p1; \
  |  |11287|      0|            c2 = *p2; \
  |  |11288|      0|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11288:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11289|      0|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11289:24): [True: 0, False: 0]
  |  |  ------------------
  |  |11290|      0|        } \
  |  |11291|      0|    } \
  |  |11292|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (11292:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
11358|      0|            break;
11359|      0|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (11359:9): [True: 0, False: 0]
  ------------------
11360|      0|        {
11361|      0|#if defined(HAVE_WMEMCMP) && SIZEOF_WCHAR_T == 4
11362|      0|            int cmp = wmemcmp((wchar_t *)data1, (wchar_t *)data2, len);
11363|       |            /* normalize result of wmemcmp() into the range [-1; 1] */
11364|      0|            if (cmp < 0)
  ------------------
  |  Branch (11364:17): [True: 0, False: 0]
  ------------------
11365|      0|                return -1;
11366|      0|            if (cmp > 0)
  ------------------
  |  Branch (11366:17): [True: 0, False: 0]
  ------------------
11367|      0|                return 1;
11368|       |#else
11369|       |            COMPARE(Py_UCS4, Py_UCS4);
11370|       |#endif
11371|      0|            break;
11372|      0|        }
11373|      0|        default:
  ------------------
  |  Branch (11373:9): [True: 0, False: 0]
  ------------------
11374|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
11375|      0|        }
11376|      0|        break;
11377|      0|    }
11378|      0|    default:
  ------------------
  |  Branch (11378:5): [True: 0, False: 361k]
  ------------------
11379|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
11380|   361k|    }
11381|       |
11382|    121|    if (len1 == len2)
  ------------------
  |  Branch (11382:9): [True: 24, False: 97]
  ------------------
11383|     24|        return 0;
11384|     97|    if (len1 < len2)
  ------------------
  |  Branch (11384:9): [True: 21, False: 76]
  ------------------
11385|     21|        return -1;
11386|     76|    else
11387|     76|        return 1;
11388|       |
11389|     97|#undef COMPARE
11390|     97|}
unicodeobject.c:make_bloom_mask:
  921|    569|{
  922|    569|#define BLOOM_UPDATE(TYPE, MASK, PTR, LEN)             \
  923|    569|    do {                                               \
  924|    569|        TYPE *data = (TYPE *)PTR;                      \
  925|    569|        TYPE *end = data + LEN;                        \
  926|    569|        Py_UCS4 ch;                                    \
  927|    569|        for (; data != end; data++) {                  \
  928|    569|            ch = *data;                                \
  929|    569|            MASK |= (1UL << (ch & (BLOOM_WIDTH - 1))); \
  930|    569|        }                                              \
  931|    569|        break;                                         \
  932|    569|    } while (0)
  933|       |
  934|       |    /* calculate simple bloom-style bitmask for a given unicode string */
  935|       |
  936|    569|    BLOOM_MASK mask;
  ------------------
  |  |  909|    569|#define BLOOM_MASK unsigned long
  ------------------
  937|       |
  938|    569|    mask = 0;
  939|    569|    switch (kind) {
  940|    567|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (940:5): [True: 567, False: 2]
  ------------------
  941|    567|        BLOOM_UPDATE(Py_UCS1, mask, ptr, len);
  ------------------
  |  |  923|    567|    do {                                               \
  |  |  924|    567|        TYPE *data = (TYPE *)PTR;                      \
  |  |  925|    567|        TYPE *end = data + LEN;                        \
  |  |  926|    567|        Py_UCS4 ch;                                    \
  |  |  927|  1.13k|        for (; data != end; data++) {                  \
  |  |  ------------------
  |  |  |  Branch (927:16): [True: 567, False: 567]
  |  |  ------------------
  |  |  928|    567|            ch = *data;                                \
  |  |  929|    567|            MASK |= (1UL << (ch & (BLOOM_WIDTH - 1))); \
  |  |  ------------------
  |  |  |  |  902|    567|#define BLOOM_WIDTH 64
  |  |  ------------------
  |  |  930|    567|        }                                              \
  |  |  931|    567|        break;                                         \
  |  |  932|    567|    } while (0)
  |  |  ------------------
  |  |  |  Branch (932:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  942|    567|        break;
  943|      2|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (943:5): [True: 2, False: 567]
  ------------------
  944|      2|        BLOOM_UPDATE(Py_UCS2, mask, ptr, len);
  ------------------
  |  |  923|      2|    do {                                               \
  |  |  924|      2|        TYPE *data = (TYPE *)PTR;                      \
  |  |  925|      2|        TYPE *end = data + LEN;                        \
  |  |  926|      2|        Py_UCS4 ch;                                    \
  |  |  927|     18|        for (; data != end; data++) {                  \
  |  |  ------------------
  |  |  |  Branch (927:16): [True: 16, False: 2]
  |  |  ------------------
  |  |  928|     16|            ch = *data;                                \
  |  |  929|     16|            MASK |= (1UL << (ch & (BLOOM_WIDTH - 1))); \
  |  |  ------------------
  |  |  |  |  902|     16|#define BLOOM_WIDTH 64
  |  |  ------------------
  |  |  930|     16|        }                                              \
  |  |  931|      2|        break;                                         \
  |  |  932|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (932:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  945|      2|        break;
  946|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (946:5): [True: 0, False: 569]
  ------------------
  947|      0|        BLOOM_UPDATE(Py_UCS4, mask, ptr, len);
  ------------------
  |  |  923|      0|    do {                                               \
  |  |  924|      0|        TYPE *data = (TYPE *)PTR;                      \
  |  |  925|      0|        TYPE *end = data + LEN;                        \
  |  |  926|      0|        Py_UCS4 ch;                                    \
  |  |  927|      0|        for (; data != end; data++) {                  \
  |  |  ------------------
  |  |  |  Branch (927:16): [True: 0, False: 0]
  |  |  ------------------
  |  |  928|      0|            ch = *data;                                \
  |  |  929|      0|            MASK |= (1UL << (ch & (BLOOM_WIDTH - 1))); \
  |  |  ------------------
  |  |  |  |  902|      0|#define BLOOM_WIDTH 64
  |  |  ------------------
  |  |  930|      0|        }                                              \
  |  |  931|      0|        break;                                         \
  |  |  932|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (932:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  948|      0|        break;
  949|      0|    default:
  ------------------
  |  Branch (949:5): [True: 0, False: 569]
  ------------------
  950|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  951|    569|    }
  952|    569|    return mask;
  953|       |
  954|    569|#undef BLOOM_UPDATE
  955|    569|}
unicodeobject.c:unicode_result_unchanged:
  755|  2.36k|{
  756|  2.36k|    if (PyUnicode_CheckExact(unicode)) {
  ------------------
  |  |  104|  2.36k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  2.36k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.36k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.36k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2.36k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  757|  2.36k|        return Py_NewRef(unicode);
  ------------------
  |  |  550|  2.36k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.36k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.36k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  758|  2.36k|    }
  759|      0|    else
  760|       |        /* Subtype -- return genuine unicode string with the same value. */
  761|      0|        return _PyUnicode_Copy(unicode);
  762|  2.36k|}
unicodeobject.c:replace:
10896|    953|{
10897|    953|    PyObject *u;
10898|    953|    const char *sbuf = PyUnicode_DATA(self);
  ------------------
  |  |  284|    953|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    953|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    953|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10899|    953|    const void *buf1 = PyUnicode_DATA(str1);
  ------------------
  |  |  284|    953|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    953|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    953|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10900|    953|    const void *buf2 = PyUnicode_DATA(str2);
  ------------------
  |  |  284|    953|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    953|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    953|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10901|    953|    int srelease = 0, release1 = 0, release2 = 0;
10902|    953|    int skind = PyUnicode_KIND(self);
  ------------------
  |  |  258|    953|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  1.90k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 953, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10903|    953|    int kind1 = PyUnicode_KIND(str1);
  ------------------
  |  |  258|    953|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  1.90k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 953, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10904|    953|    int kind2 = PyUnicode_KIND(str2);
  ------------------
  |  |  258|    953|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  1.90k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 953, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10905|    953|    Py_ssize_t slen = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|    953|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    953|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    953|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10906|    953|    Py_ssize_t len1 = PyUnicode_GET_LENGTH(str1);
  ------------------
  |  |  299|    953|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    953|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    953|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10907|    953|    Py_ssize_t len2 = PyUnicode_GET_LENGTH(str2);
  ------------------
  |  |  299|    953|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    953|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    953|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10908|    953|    int mayshrink;
10909|    953|    Py_UCS4 maxchar, maxchar_str1, maxchar_str2;
10910|       |
10911|    953|    if (slen < len1)
  ------------------
  |  Branch (10911:9): [True: 0, False: 953]
  ------------------
10912|      0|        goto nothing;
10913|       |
10914|    953|    if (maxcount < 0)
  ------------------
  |  Branch (10914:9): [True: 953, False: 0]
  ------------------
10915|    953|        maxcount = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|    953|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
10916|      0|    else if (maxcount == 0)
  ------------------
  |  Branch (10916:14): [True: 0, False: 0]
  ------------------
10917|      0|        goto nothing;
10918|       |
10919|    953|    if (str1 == str2)
  ------------------
  |  Branch (10919:9): [True: 0, False: 953]
  ------------------
10920|      0|        goto nothing;
10921|       |
10922|    953|    maxchar = PyUnicode_MAX_CHAR_VALUE(self);
  ------------------
  |  |  405|    953|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    953|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    953|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10923|    953|    maxchar_str1 = PyUnicode_MAX_CHAR_VALUE(str1);
  ------------------
  |  |  405|    953|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    953|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    953|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10924|    953|    if (maxchar < maxchar_str1)
  ------------------
  |  Branch (10924:9): [True: 0, False: 953]
  ------------------
10925|       |        /* substring too wide to be present */
10926|      0|        goto nothing;
10927|    953|    maxchar_str2 = PyUnicode_MAX_CHAR_VALUE(str2);
  ------------------
  |  |  405|    953|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    953|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    953|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10928|       |    /* Replacing str1 with str2 may cause a maxchar reduction in the
10929|       |       result string. */
10930|    953|    mayshrink = (maxchar_str2 < maxchar_str1) && (maxchar == maxchar_str1);
  ------------------
  |  Branch (10930:17): [True: 0, False: 953]
  |  Branch (10930:50): [True: 0, False: 0]
  ------------------
10931|    953|    maxchar = Py_MAX(maxchar, maxchar_str2);
  ------------------
  |  |  115|    953|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 953]
  |  |  ------------------
  ------------------
10932|       |
10933|    953|    if (len1 == len2) {
  ------------------
  |  Branch (10933:9): [True: 36, False: 917]
  ------------------
10934|       |        /* same length */
10935|     36|        if (len1 == 0)
  ------------------
  |  Branch (10935:13): [True: 0, False: 36]
  ------------------
10936|      0|            goto nothing;
10937|     36|        if (len1 == 1) {
  ------------------
  |  Branch (10937:13): [True: 36, False: 0]
  ------------------
10938|       |            /* replace characters */
10939|     36|            Py_UCS4 u1, u2;
10940|     36|            Py_ssize_t pos;
10941|       |
10942|     36|            u1 = PyUnicode_READ(kind1, buf1, 0);
  ------------------
  |  |  354|     36|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     36|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|     36|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     36|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     36|                   (index))
  ------------------
10943|     36|            pos = findchar(sbuf, skind, slen, u1, 1);
10944|     36|            if (pos < 0)
  ------------------
  |  Branch (10944:17): [True: 28, False: 8]
  ------------------
10945|     28|                goto nothing;
10946|      8|            u2 = PyUnicode_READ(kind2, buf2, 0);
  ------------------
  |  |  354|      8|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      8|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      8|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      8|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      8|                   (index))
  ------------------
10947|      8|            u = PyUnicode_New(slen, maxchar);
10948|      8|            if (!u)
  ------------------
  |  Branch (10948:17): [True: 0, False: 8]
  ------------------
10949|      0|                goto error;
10950|       |
10951|      8|            _PyUnicode_FastCopyCharacters(u, 0, self, 0, slen);
10952|      8|            replace_1char_inplace(u, pos, u1, u2, maxcount);
10953|      8|        }
10954|      0|        else {
10955|      0|            int rkind = skind;
10956|      0|            char *res;
10957|      0|            Py_ssize_t i;
10958|       |
10959|      0|            if (kind1 < rkind) {
  ------------------
  |  Branch (10959:17): [True: 0, False: 0]
  ------------------
10960|       |                /* widen substring */
10961|      0|                buf1 = unicode_askind(kind1, buf1, len1, rkind);
10962|      0|                if (!buf1) goto error;
  ------------------
  |  Branch (10962:21): [True: 0, False: 0]
  ------------------
10963|      0|                release1 = 1;
10964|      0|            }
10965|      0|            i = anylib_find(rkind, self, sbuf, slen, str1, buf1, len1, 0);
10966|      0|            if (i < 0)
  ------------------
  |  Branch (10966:17): [True: 0, False: 0]
  ------------------
10967|      0|                goto nothing;
10968|      0|            if (rkind > kind2) {
  ------------------
  |  Branch (10968:17): [True: 0, False: 0]
  ------------------
10969|       |                /* widen replacement */
10970|      0|                buf2 = unicode_askind(kind2, buf2, len2, rkind);
10971|      0|                if (!buf2) goto error;
  ------------------
  |  Branch (10971:21): [True: 0, False: 0]
  ------------------
10972|      0|                release2 = 1;
10973|      0|            }
10974|      0|            else if (rkind < kind2) {
  ------------------
  |  Branch (10974:22): [True: 0, False: 0]
  ------------------
10975|       |                /* widen self and buf1 */
10976|      0|                rkind = kind2;
10977|      0|                if (release1) {
  ------------------
  |  Branch (10977:21): [True: 0, False: 0]
  ------------------
10978|      0|                    assert(buf1 != PyUnicode_DATA(str1));
  ------------------
  |  Branch (10978:21): [True: 0, False: 0]
  ------------------
10979|      0|                    PyMem_Free((void *)buf1);
10980|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10981|      0|                    release1 = 0;
10982|      0|                }
10983|      0|                sbuf = unicode_askind(skind, sbuf, slen, rkind);
10984|      0|                if (!sbuf) goto error;
  ------------------
  |  Branch (10984:21): [True: 0, False: 0]
  ------------------
10985|      0|                srelease = 1;
10986|      0|                buf1 = unicode_askind(kind1, buf1, len1, rkind);
10987|      0|                if (!buf1) goto error;
  ------------------
  |  Branch (10987:21): [True: 0, False: 0]
  ------------------
10988|      0|                release1 = 1;
10989|      0|            }
10990|      0|            u = PyUnicode_New(slen, maxchar);
10991|      0|            if (!u)
  ------------------
  |  Branch (10991:17): [True: 0, False: 0]
  ------------------
10992|      0|                goto error;
10993|      0|            assert(PyUnicode_KIND(u) == rkind);
  ------------------
  |  Branch (10993:13): [True: 0, False: 0]
  |  Branch (10993:13): [True: 0, False: 0]
  ------------------
10994|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10995|       |
10996|      0|            memcpy(res, sbuf, rkind * slen);
10997|       |            /* change everything in-place, starting with this one */
10998|      0|            memcpy(res + rkind * i,
10999|      0|                   buf2,
11000|      0|                   rkind * len2);
11001|      0|            i += len1;
11002|       |
11003|      0|            while ( --maxcount > 0) {
  ------------------
  |  Branch (11003:21): [True: 0, False: 0]
  ------------------
11004|      0|                i = anylib_find(rkind, self,
11005|      0|                                sbuf+rkind*i, slen-i,
11006|      0|                                str1, buf1, len1, i);
11007|      0|                if (i == -1)
  ------------------
  |  Branch (11007:21): [True: 0, False: 0]
  ------------------
11008|      0|                    break;
11009|      0|                memcpy(res + rkind * i,
11010|      0|                       buf2,
11011|      0|                       rkind * len2);
11012|      0|                i += len1;
11013|      0|            }
11014|      0|        }
11015|     36|    }
11016|    917|    else {
11017|    917|        Py_ssize_t n, i, j, ires;
11018|    917|        Py_ssize_t new_size;
11019|    917|        int rkind = skind;
11020|    917|        char *res;
11021|       |
11022|    917|        if (kind1 < rkind) {
  ------------------
  |  Branch (11022:13): [True: 0, False: 917]
  ------------------
11023|       |            /* widen substring */
11024|      0|            buf1 = unicode_askind(kind1, buf1, len1, rkind);
11025|      0|            if (!buf1) goto error;
  ------------------
  |  Branch (11025:17): [True: 0, False: 0]
  ------------------
11026|      0|            release1 = 1;
11027|      0|        }
11028|    917|        n = anylib_count(rkind, self, sbuf, slen, str1, buf1, len1, maxcount);
11029|    917|        if (n == 0)
  ------------------
  |  Branch (11029:13): [True: 893, False: 24]
  ------------------
11030|    893|            goto nothing;
11031|     24|        if (kind2 < rkind) {
  ------------------
  |  Branch (11031:13): [True: 0, False: 24]
  ------------------
11032|       |            /* widen replacement */
11033|      0|            buf2 = unicode_askind(kind2, buf2, len2, rkind);
11034|      0|            if (!buf2) goto error;
  ------------------
  |  Branch (11034:17): [True: 0, False: 0]
  ------------------
11035|      0|            release2 = 1;
11036|      0|        }
11037|     24|        else if (kind2 > rkind) {
  ------------------
  |  Branch (11037:18): [True: 0, False: 24]
  ------------------
11038|       |            /* widen self and buf1 */
11039|      0|            rkind = kind2;
11040|      0|            sbuf = unicode_askind(skind, sbuf, slen, rkind);
11041|      0|            if (!sbuf) goto error;
  ------------------
  |  Branch (11041:17): [True: 0, False: 0]
  ------------------
11042|      0|            srelease = 1;
11043|      0|            if (release1) {
  ------------------
  |  Branch (11043:17): [True: 0, False: 0]
  ------------------
11044|      0|                assert(buf1 != PyUnicode_DATA(str1));
  ------------------
  |  Branch (11044:17): [True: 0, False: 0]
  ------------------
11045|      0|                PyMem_Free((void *)buf1);
11046|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11047|      0|                release1 = 0;
11048|      0|            }
11049|      0|            buf1 = unicode_askind(kind1, buf1, len1, rkind);
11050|      0|            if (!buf1) goto error;
  ------------------
  |  Branch (11050:17): [True: 0, False: 0]
  ------------------
11051|      0|            release1 = 1;
11052|      0|        }
11053|       |        /* new_size = PyUnicode_GET_LENGTH(self) + n * (PyUnicode_GET_LENGTH(str2) -
11054|       |           PyUnicode_GET_LENGTH(str1)); */
11055|     24|        if (len1 < len2 && len2 - len1 > (PY_SSIZE_T_MAX - slen) / n) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (11055:13): [True: 0, False: 24]
  |  Branch (11055:28): [True: 0, False: 0]
  ------------------
11056|      0|                PyErr_SetString(PyExc_OverflowError,
11057|      0|                                "replace string is too long");
11058|      0|                goto error;
11059|      0|        }
11060|     24|        new_size = slen + n * (len2 - len1);
11061|     24|        if (new_size == 0) {
  ------------------
  |  Branch (11061:13): [True: 0, False: 24]
  ------------------
11062|      0|            u = _PyUnicode_GetEmpty();
11063|      0|            goto done;
11064|      0|        }
11065|     24|        if (new_size > (PY_SSIZE_T_MAX / rkind)) {
  ------------------
  |  |  137|     24|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (11065:13): [True: 0, False: 24]
  ------------------
11066|      0|            PyErr_SetString(PyExc_OverflowError,
11067|      0|                            "replace string is too long");
11068|      0|            goto error;
11069|      0|        }
11070|     24|        u = PyUnicode_New(new_size, maxchar);
11071|     24|        if (!u)
  ------------------
  |  Branch (11071:13): [True: 0, False: 24]
  ------------------
11072|      0|            goto error;
11073|     24|        assert(PyUnicode_KIND(u) == rkind);
  ------------------
  |  Branch (11073:9): [True: 24, False: 0]
  |  Branch (11073:9): [True: 24, False: 0]
  ------------------
11074|     24|        res = PyUnicode_DATA(u);
  ------------------
  |  |  284|     24|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11075|     24|        ires = i = 0;
11076|     24|        if (len1 > 0) {
  ------------------
  |  Branch (11076:13): [True: 24, False: 0]
  ------------------
11077|     48|            while (n-- > 0) {
  ------------------
  |  Branch (11077:20): [True: 24, False: 24]
  ------------------
11078|       |                /* look for next match */
11079|     24|                j = anylib_find(rkind, self,
11080|     24|                                sbuf + rkind * i, slen-i,
11081|     24|                                str1, buf1, len1, i);
11082|     24|                if (j == -1)
  ------------------
  |  Branch (11082:21): [True: 0, False: 24]
  ------------------
11083|      0|                    break;
11084|     24|                else if (j > i) {
  ------------------
  |  Branch (11084:26): [True: 24, False: 0]
  ------------------
11085|       |                    /* copy unchanged part [i:j] */
11086|     24|                    memcpy(res + rkind * ires,
11087|     24|                           sbuf + rkind * i,
11088|     24|                           rkind * (j-i));
11089|     24|                    ires += j - i;
11090|     24|                }
11091|       |                /* copy substitution string */
11092|     24|                if (len2 > 0) {
  ------------------
  |  Branch (11092:21): [True: 0, False: 24]
  ------------------
11093|      0|                    memcpy(res + rkind * ires,
11094|      0|                           buf2,
11095|      0|                           rkind * len2);
11096|      0|                    ires += len2;
11097|      0|                }
11098|     24|                i = j + len1;
11099|     24|            }
11100|     24|            if (i < slen)
  ------------------
  |  Branch (11100:17): [True: 24, False: 0]
  ------------------
11101|       |                /* copy tail [i:] */
11102|     24|                memcpy(res + rkind * ires,
11103|     24|                       sbuf + rkind * i,
11104|     24|                       rkind * (slen-i));
11105|     24|        }
11106|      0|        else {
11107|       |            /* interleave */
11108|      0|            while (n > 0) {
  ------------------
  |  Branch (11108:20): [True: 0, False: 0]
  ------------------
11109|      0|                memcpy(res + rkind * ires,
11110|      0|                       buf2,
11111|      0|                       rkind * len2);
11112|      0|                ires += len2;
11113|      0|                if (--n <= 0)
  ------------------
  |  Branch (11113:21): [True: 0, False: 0]
  ------------------
11114|      0|                    break;
11115|      0|                memcpy(res + rkind * ires,
11116|      0|                       sbuf + rkind * i,
11117|      0|                       rkind);
11118|      0|                ires++;
11119|      0|                i++;
11120|      0|            }
11121|      0|            memcpy(res + rkind * ires,
11122|      0|                   sbuf + rkind * i,
11123|      0|                   rkind * (slen-i));
11124|      0|        }
11125|     24|    }
11126|       |
11127|     32|    if (mayshrink) {
  ------------------
  |  Branch (11127:9): [True: 0, False: 32]
  ------------------
11128|      0|        unicode_adjust_maxchar(&u);
11129|      0|        if (u == NULL)
  ------------------
  |  Branch (11129:13): [True: 0, False: 0]
  ------------------
11130|      0|            goto error;
11131|      0|    }
11132|       |
11133|     32|  done:
11134|     32|    assert(srelease == (sbuf != NULL && sbuf != PyUnicode_DATA(self)));
  ------------------
  |  Branch (11134:5): [True: 32, False: 0]
  |  Branch (11134:5): [True: 0, False: 32]
  |  Branch (11134:5): [True: 32, False: 0]
  ------------------
11135|     32|    assert(release1 == (buf1 != NULL && buf1 != PyUnicode_DATA(str1)));
  ------------------
  |  Branch (11135:5): [True: 32, False: 0]
  |  Branch (11135:5): [True: 0, False: 32]
  |  Branch (11135:5): [True: 32, False: 0]
  ------------------
11136|     32|    assert(release2 == (buf2 != NULL && buf2 != PyUnicode_DATA(str2)));
  ------------------
  |  Branch (11136:5): [True: 32, False: 0]
  |  Branch (11136:5): [True: 0, False: 32]
  |  Branch (11136:5): [True: 32, False: 0]
  ------------------
11137|     32|    if (srelease)
  ------------------
  |  Branch (11137:9): [True: 0, False: 32]
  ------------------
11138|      0|        PyMem_Free((void *)sbuf);
11139|     32|    if (release1)
  ------------------
  |  Branch (11139:9): [True: 0, False: 32]
  ------------------
11140|      0|        PyMem_Free((void *)buf1);
11141|     32|    if (release2)
  ------------------
  |  Branch (11141:9): [True: 0, False: 32]
  ------------------
11142|      0|        PyMem_Free((void *)buf2);
11143|     32|    assert(_PyUnicode_CheckConsistency(u, 1));
  ------------------
  |  Branch (11143:5): [True: 32, False: 0]
  ------------------
11144|     32|    return u;
11145|       |
11146|    921|  nothing:
11147|       |    /* nothing to replace; return original string (when possible) */
11148|    921|    assert(srelease == (sbuf != NULL && sbuf != PyUnicode_DATA(self)));
  ------------------
  |  Branch (11148:5): [True: 921, False: 0]
  |  Branch (11148:5): [True: 0, False: 921]
  |  Branch (11148:5): [True: 921, False: 0]
  ------------------
11149|    921|    assert(release1 == (buf1 != NULL && buf1 != PyUnicode_DATA(str1)));
  ------------------
  |  Branch (11149:5): [True: 921, False: 0]
  |  Branch (11149:5): [True: 0, False: 921]
  |  Branch (11149:5): [True: 921, False: 0]
  ------------------
11150|    921|    assert(release2 == (buf2 != NULL && buf2 != PyUnicode_DATA(str2)));
  ------------------
  |  Branch (11150:5): [True: 921, False: 0]
  |  Branch (11150:5): [True: 0, False: 921]
  |  Branch (11150:5): [True: 921, False: 0]
  ------------------
11151|    921|    if (srelease)
  ------------------
  |  Branch (11151:9): [True: 0, False: 921]
  ------------------
11152|      0|        PyMem_Free((void *)sbuf);
11153|    921|    if (release1)
  ------------------
  |  Branch (11153:9): [True: 0, False: 921]
  ------------------
11154|      0|        PyMem_Free((void *)buf1);
11155|    921|    if (release2)
  ------------------
  |  Branch (11155:9): [True: 0, False: 921]
  ------------------
11156|      0|        PyMem_Free((void *)buf2);
11157|    921|    return unicode_result_unchanged(self);
11158|       |
11159|      0|  error:
11160|      0|    assert(srelease == (sbuf != NULL && sbuf != PyUnicode_DATA(self)));
  ------------------
  |  Branch (11160:5): [True: 0, False: 0]
  |  Branch (11160:5): [True: 0, False: 0]
  |  Branch (11160:5): [True: 0, False: 0]
  ------------------
11161|      0|    assert(release1 == (buf1 != NULL && buf1 != PyUnicode_DATA(str1)));
  ------------------
  |  Branch (11161:5): [True: 0, False: 0]
  |  Branch (11161:5): [True: 0, False: 0]
  |  Branch (11161:5): [True: 0, False: 0]
  ------------------
11162|      0|    assert(release2 == (buf2 != NULL && buf2 != PyUnicode_DATA(str2)));
  ------------------
  |  Branch (11162:5): [True: 0, False: 0]
  |  Branch (11162:5): [True: 0, False: 0]
  |  Branch (11162:5): [True: 0, False: 0]
  ------------------
11163|      0|    if (srelease)
  ------------------
  |  Branch (11163:9): [True: 0, False: 0]
  ------------------
11164|      0|        PyMem_Free((void *)sbuf);
11165|      0|    if (release1)
  ------------------
  |  Branch (11165:9): [True: 0, False: 0]
  ------------------
11166|      0|        PyMem_Free((void *)buf1);
11167|      0|    if (release2)
  ------------------
  |  Branch (11167:9): [True: 0, False: 0]
  ------------------
11168|      0|        PyMem_Free((void *)buf2);
11169|       |    return NULL;
11170|      0|}
unicodeobject.c:replace_1char_inplace:
10871|      8|{
10872|      8|    int kind = PyUnicode_KIND(u);
  ------------------
  |  |  258|      8|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|     16|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 8, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10873|      8|    void *data = PyUnicode_DATA(u);
  ------------------
  |  |  284|      8|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10874|      8|    Py_ssize_t len = PyUnicode_GET_LENGTH(u);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10875|      8|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (10875:9): [True: 8, False: 0]
  ------------------
10876|      8|        ucs1lib_replace_1char_inplace((Py_UCS1 *)data + pos,
10877|      8|                                      (Py_UCS1 *)data + len,
10878|      8|                                      u1, u2, maxcount);
10879|      8|    }
10880|      0|    else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (10880:14): [True: 0, False: 0]
  ------------------
10881|      0|        ucs2lib_replace_1char_inplace((Py_UCS2 *)data + pos,
10882|      0|                                      (Py_UCS2 *)data + len,
10883|      0|                                      u1, u2, maxcount);
10884|      0|    }
10885|      0|    else {
10886|      0|        assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (10886:9): [True: 0, False: 0]
  ------------------
10887|      0|        ucs4lib_replace_1char_inplace((Py_UCS4 *)data + pos,
10888|      0|                                      (Py_UCS4 *)data + len,
10889|      0|                                      u1, u2, maxcount);
10890|      0|    }
10891|      8|}
unicodeobject.c:anylib_find:
10838|     24|{
10839|     24|    switch (kind) {
  ------------------
  |  Branch (10839:13): [True: 24, False: 0]
  ------------------
10840|     24|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10840:5): [True: 24, False: 0]
  ------------------
10841|     24|        if (PyUnicode_IS_ASCII(str1) && PyUnicode_IS_ASCII(str2))
  ------------------
  |  |  227|     48|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 24, False: 0]
  |  |  ------------------
  ------------------
                      if (PyUnicode_IS_ASCII(str1) && PyUnicode_IS_ASCII(str2))
  ------------------
  |  |  227|     24|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 24, False: 0]
  |  |  ------------------
  ------------------
10842|     24|            return asciilib_find(buf1, len1, buf2, len2, offset);
10843|      0|        else
10844|      0|            return ucs1lib_find(buf1, len1, buf2, len2, offset);
10845|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (10845:5): [True: 0, False: 24]
  ------------------
10846|      0|        return ucs2lib_find(buf1, len1, buf2, len2, offset);
10847|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (10847:5): [True: 0, False: 24]
  ------------------
10848|      0|        return ucs4lib_find(buf1, len1, buf2, len2, offset);
10849|     24|    }
10850|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10851|     24|}
unicodeobject.c:anylib_count:
10856|    917|{
10857|    917|    switch (kind) {
  ------------------
  |  Branch (10857:13): [True: 917, False: 0]
  ------------------
10858|    917|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10858:5): [True: 917, False: 0]
  ------------------
10859|    917|        return ucs1lib_count(sbuf, slen, buf1, len1, maxcount);
10860|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (10860:5): [True: 0, False: 917]
  ------------------
10861|      0|        return ucs2lib_count(sbuf, slen, buf1, len1, maxcount);
10862|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (10862:5): [True: 0, False: 917]
  ------------------
10863|      0|        return ucs4lib_count(sbuf, slen, buf1, len1, maxcount);
10864|    917|    }
10865|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10866|    917|}
unicodeobject.c:split:
10655|     13|{
10656|     13|    int kind1, kind2;
10657|     13|    const void *buf1, *buf2;
10658|     13|    Py_ssize_t len1, len2;
10659|     13|    PyObject* out;
10660|     13|    len1 = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|     13|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10661|     13|    kind1 = PyUnicode_KIND(self);
  ------------------
  |  |  258|     13|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|     26|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 13, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10662|       |
10663|     13|    if (substring == NULL) {
  ------------------
  |  Branch (10663:9): [True: 2, False: 11]
  ------------------
10664|      2|        if (maxcount < 0) {
  ------------------
  |  Branch (10664:13): [True: 2, False: 0]
  ------------------
10665|      2|            maxcount = (len1 - 1) / 2 + 1;
10666|      2|        }
10667|      2|        switch (kind1) {
10668|      2|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10668:9): [True: 2, False: 0]
  ------------------
10669|      2|            if (PyUnicode_IS_ASCII(self))
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
10670|      2|                return asciilib_split_whitespace(
10671|      2|                    self,  PyUnicode_1BYTE_DATA(self),
  ------------------
  |  |  291|      2|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      2|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10672|      2|                    len1, maxcount
10673|      2|                    );
10674|      0|            else
10675|      0|                return ucs1lib_split_whitespace(
10676|      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))
  |  |  ------------------
  ------------------
10677|      0|                    len1, maxcount
10678|      0|                    );
10679|      0|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (10679:9): [True: 0, False: 2]
  ------------------
10680|      0|            return ucs2lib_split_whitespace(
10681|      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))
  |  |  ------------------
  ------------------
10682|      0|                len1, maxcount
10683|      0|                );
10684|      0|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (10684:9): [True: 0, False: 2]
  ------------------
10685|      0|            return ucs4lib_split_whitespace(
10686|      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))
  |  |  ------------------
  ------------------
10687|      0|                len1, maxcount
10688|      0|                );
10689|      0|        default:
  ------------------
  |  Branch (10689:9): [True: 0, False: 2]
  ------------------
10690|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10691|      2|        }
10692|      2|    }
10693|       |
10694|     11|    kind2 = PyUnicode_KIND(substring);
  ------------------
  |  |  258|     11|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|     22|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 11, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10695|     11|    len2 = PyUnicode_GET_LENGTH(substring);
  ------------------
  |  |  299|     11|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10696|     11|    if (maxcount < 0) {
  ------------------
  |  Branch (10696:9): [True: 11, False: 0]
  ------------------
10697|       |        // if len2 == 0, it will raise ValueError.
10698|     11|        maxcount = len2 == 0 ? 0 : (len1 / len2) + 1;
  ------------------
  |  Branch (10698:20): [True: 0, False: 11]
  ------------------
10699|       |        // handle expected overflow case: (Py_SSIZE_T_MAX / 1) + 1
10700|     11|        maxcount = maxcount < 0 ? len1 : maxcount;
  ------------------
  |  Branch (10700:20): [True: 0, False: 11]
  ------------------
10701|     11|    }
10702|     11|    if (kind1 < kind2 || len1 < len2) {
  ------------------
  |  Branch (10702:9): [True: 0, False: 11]
  |  Branch (10702:26): [True: 0, False: 11]
  ------------------
10703|      0|        out = PyList_New(1);
10704|      0|        if (out == NULL)
  ------------------
  |  Branch (10704:13): [True: 0, False: 0]
  ------------------
10705|      0|            return NULL;
10706|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10707|      0|        return out;
10708|      0|    }
10709|     11|    buf1 = PyUnicode_DATA(self);
  ------------------
  |  |  284|     11|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10710|     11|    buf2 = PyUnicode_DATA(substring);
  ------------------
  |  |  284|     11|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10711|     11|    if (kind2 != kind1) {
  ------------------
  |  Branch (10711:9): [True: 0, False: 11]
  ------------------
10712|      0|        buf2 = unicode_askind(kind2, buf2, len2, kind1);
10713|      0|        if (!buf2)
  ------------------
  |  Branch (10713:13): [True: 0, False: 0]
  ------------------
10714|      0|            return NULL;
10715|      0|    }
10716|       |
10717|     11|    switch (kind1) {
10718|     11|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10718:5): [True: 11, False: 0]
  ------------------
10719|     11|        if (PyUnicode_IS_ASCII(self) && PyUnicode_IS_ASCII(substring))
  ------------------
  |  |  227|     22|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 11, False: 0]
  |  |  ------------------
  ------------------
                      if (PyUnicode_IS_ASCII(self) && PyUnicode_IS_ASCII(substring))
  ------------------
  |  |  227|     11|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 11, False: 0]
  |  |  ------------------
  ------------------
10720|     11|            out = asciilib_split(
10721|     11|                self,  buf1, len1, buf2, len2, maxcount);
10722|      0|        else
10723|      0|            out = ucs1lib_split(
10724|      0|                self,  buf1, len1, buf2, len2, maxcount);
10725|     11|        break;
10726|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (10726:5): [True: 0, False: 11]
  ------------------
10727|      0|        out = ucs2lib_split(
10728|      0|            self,  buf1, len1, buf2, len2, maxcount);
10729|      0|        break;
10730|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (10730:5): [True: 0, False: 11]
  ------------------
10731|      0|        out = ucs4lib_split(
10732|      0|            self,  buf1, len1, buf2, len2, maxcount);
10733|      0|        break;
10734|      0|    default:
  ------------------
  |  Branch (10734:5): [True: 0, False: 11]
  ------------------
10735|      0|        out = NULL;
10736|     11|    }
10737|     11|    assert((kind2 != kind1) == (buf2 != PyUnicode_DATA(substring)));
  ------------------
  |  Branch (10737:5): [True: 11, False: 0]
  ------------------
10738|     11|    if (kind2 != kind1)
  ------------------
  |  Branch (10738:9): [True: 0, False: 11]
  ------------------
10739|      0|        PyMem_Free((void *)buf2);
10740|     11|    return out;
10741|     11|}
unicodeobject.c:unicode_dealloc:
 1631|  4.23M|{
 1632|       |#ifdef Py_DEBUG
 1633|       |    if (!unicode_is_finalizing() && unicode_is_singleton(unicode)) {
 1634|       |        _Py_FatalRefcountError("deallocating an Unicode singleton");
 1635|       |    }
 1636|       |#endif
 1637|  8.46M|    if (_PyUnicode_STATE(unicode).statically_allocated) {
  ------------------
  |  |  157|  4.23M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  4.23M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  4.23M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1637:9): [True: 4.23M, False: 0]
  |  Branch (1637:9): [True: 0, False: 4.23M]
  ------------------
 1638|       |        /* This should never get called, but we also don't want to SEGV if
 1639|       |        * we accidentally decref an immortal string out of existence. Since
 1640|       |        * the string is an immortal object, just re-set the reference count.
 1641|       |        */
 1642|       |#ifdef Py_DEBUG
 1643|       |        Py_UNREACHABLE();
 1644|       |#endif
 1645|      0|        _Py_SetImmortal(unicode);
 1646|      0|        return;
 1647|      0|    }
 1648|  4.23M|    switch (_PyUnicode_STATE(unicode).interned) {
  ------------------
  |  |  157|  4.23M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  4.23M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  4.23M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1648:13): [True: 4.23M, False: 0]
  ------------------
 1649|  4.23M|        case SSTATE_NOT_INTERNED:
  ------------------
  |  |  201|  4.23M|#define SSTATE_NOT_INTERNED 0
  ------------------
  |  Branch (1649:9): [True: 4.23M, False: 3]
  ------------------
 1650|  4.23M|            break;
 1651|      3|        case SSTATE_INTERNED_MORTAL:
  ------------------
  |  |  202|      3|#define SSTATE_INTERNED_MORTAL 1
  ------------------
  |  Branch (1651:9): [True: 3, False: 4.23M]
  ------------------
 1652|       |            /* Remove the object from the intern dict.
 1653|       |             * Before doing so, we set the refcount to 2: the key and value
 1654|       |             * in the interned_dict.
 1655|       |             */
 1656|      3|            assert(Py_REFCNT(unicode) == 0);
  ------------------
  |  Branch (1656:13): [True: 3, False: 0]
  ------------------
 1657|      3|            Py_SET_REFCNT(unicode, 2);
  ------------------
  |  |  201|      3|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1658|       |#ifdef Py_REF_DEBUG
 1659|       |            /* let's be pedantic with the ref total */
 1660|       |            _Py_IncRefTotal(_PyThreadState_GET());
 1661|       |            _Py_IncRefTotal(_PyThreadState_GET());
 1662|       |#endif
 1663|      3|            PyInterpreterState *interp = _PyInterpreterState_GET();
 1664|      3|            PyObject *interned = get_interned_dict(interp);
 1665|      3|            assert(interned != NULL);
  ------------------
  |  Branch (1665:13): [True: 3, False: 0]
  ------------------
 1666|      3|            PyObject *popped;
 1667|      3|            int r = PyDict_Pop(interned, unicode, &popped);
 1668|      3|            if (r == -1) {
  ------------------
  |  Branch (1668:17): [True: 0, False: 3]
  ------------------
 1669|      0|                PyErr_FormatUnraisable("Exception ignored while "
 1670|      0|                                       "removing an interned string %R",
 1671|      0|                                       unicode);
 1672|       |                // We don't know what happened to the string. It's probably
 1673|       |                // best to leak it:
 1674|       |                // - if it was popped, there are no more references to it
 1675|       |                //   so it can't cause trouble (except wasted memory)
 1676|       |                // - if it wasn't popped, it'll remain interned
 1677|      0|                _Py_SetImmortal(unicode);
 1678|      0|                _PyUnicode_STATE(unicode).interned = SSTATE_INTERNED_IMMORTAL;
  ------------------
  |  |  157|      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
  ------------------
  |  Branch (1678:17): [True: 0, False: 0]
  ------------------
 1679|      0|                return;
 1680|      0|            }
 1681|      3|            if (r == 0) {
  ------------------
  |  Branch (1681:17): [True: 0, False: 3]
  ------------------
 1682|       |                // The interned string was not found in the interned_dict.
 1683|       |#ifdef Py_DEBUG
 1684|       |                Py_UNREACHABLE();
 1685|       |#endif
 1686|      0|                _Py_SetImmortal(unicode);
 1687|      0|                return;
 1688|      0|            }
 1689|       |            // Successfully popped.
 1690|      3|            assert(popped == unicode);
  ------------------
  |  Branch (1690:13): [True: 3, False: 0]
  ------------------
 1691|       |            // Only our `popped` reference should be left; remove it too.
 1692|      3|            assert(Py_REFCNT(unicode) == 1);
  ------------------
  |  Branch (1692:13): [True: 3, False: 0]
  ------------------
 1693|      3|            Py_SET_REFCNT(unicode, 0);
  ------------------
  |  |  201|      3|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1694|       |#ifdef Py_REF_DEBUG
 1695|       |            /* let's be pedantic with the ref total */
 1696|       |            _Py_DecRefTotal(_PyThreadState_GET());
 1697|       |#endif
 1698|      3|            break;
 1699|      0|        default:
  ------------------
  |  Branch (1699:9): [True: 0, False: 4.23M]
  ------------------
 1700|       |            // As with `statically_allocated` above.
 1701|       |#ifdef Py_REF_DEBUG
 1702|       |            Py_UNREACHABLE();
 1703|       |#endif
 1704|      0|            _Py_SetImmortal(unicode);
 1705|      0|            return;
 1706|  4.23M|    }
 1707|  4.23M|    if (_PyUnicode_HAS_UTF8_MEMORY(unicode)) {
  ------------------
  |  Branch (1707:9): [True: 0, False: 4.23M]
  ------------------
 1708|      0|        PyMem_Free(_PyUnicode_UTF8(unicode));
 1709|      0|    }
 1710|  4.23M|    if (!PyUnicode_IS_COMPACT(unicode) && _PyUnicode_DATA_ANY(unicode)) {
  ------------------
  |  |  234|  8.46M|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!PyUnicode_IS_COMPACT(unicode) && _PyUnicode_DATA_ANY(unicode)) {
  ------------------
  |  |  169|      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 (169:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1710:9): [True: 0, False: 4.23M]
  |  Branch (1710:43): [True: 0, False: 0]
  ------------------
 1711|      0|        PyMem_Free(_PyUnicode_DATA_ANY(unicode));
  ------------------
  |  |  169|      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 (1711:20): [True: 0, False: 0]
  ------------------
 1712|      0|    }
 1713|       |
 1714|  4.23M|    Py_TYPE(unicode)->tp_free(unicode);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1715|  4.23M|}
unicodeobject.c:unicode_repr:
13025|    422|{
13026|    422|    Py_ssize_t isize = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|    422|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    422|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    422|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13027|    422|    const void *idata = PyUnicode_DATA(unicode);
  ------------------
  |  |  284|    422|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    422|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    422|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13028|       |
13029|       |    /* Compute length of output, quote characters, and
13030|       |       maximum character */
13031|    422|    Py_ssize_t osize = 0;
13032|    422|    Py_UCS4 maxch = 127;
13033|    422|    Py_ssize_t squote = 0;
13034|    422|    Py_ssize_t dquote = 0;
13035|    422|    int ikind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|    422|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    844|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 422, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13036|  1.19M|    for (Py_ssize_t i = 0; i < isize; i++) {
  ------------------
  |  Branch (13036:28): [True: 1.19M, False: 422]
  ------------------
13037|  1.19M|        Py_UCS4 ch = PyUnicode_READ(ikind, idata, i);
  ------------------
  |  |  354|  1.19M|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  1.19M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  1.19M|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  1.19M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  1.19M|                   (index))
  ------------------
13038|  1.19M|        Py_ssize_t incr = 1;
13039|  1.19M|        switch (ch) {
13040|    761|        case '\'': squote++; break;
  ------------------
  |  Branch (13040:9): [True: 761, False: 1.19M]
  ------------------
13041|    340|        case '"':  dquote++; break;
  ------------------
  |  Branch (13041:9): [True: 340, False: 1.19M]
  ------------------
13042|  30.6k|        case '\\': case '\t': case '\r': case '\n':
  ------------------
  |  Branch (13042:9): [True: 7.42k, False: 1.18M]
  |  Branch (13042:20): [True: 1.29k, False: 1.19M]
  |  Branch (13042:31): [True: 838, False: 1.19M]
  |  Branch (13042:42): [True: 21.0k, False: 1.17M]
  ------------------
13043|  30.6k|            incr = 2;
13044|  30.6k|            break;
13045|  1.16M|        default:
  ------------------
  |  Branch (13045:9): [True: 1.16M, False: 31.7k]
  ------------------
13046|       |            /* Fast-path ASCII */
13047|  1.16M|            if (ch < ' ' || ch == 0x7f)
  ------------------
  |  Branch (13047:17): [True: 236k, False: 925k]
  |  Branch (13047:29): [True: 2.83k, False: 922k]
  ------------------
13048|   239k|                incr = 4; /* \xHH */
13049|   922k|            else if (ch < 0x7f)
  ------------------
  |  Branch (13049:22): [True: 156k, False: 766k]
  ------------------
13050|   156k|                ;
13051|   766k|            else if (Py_UNICODE_ISPRINTABLE(ch))
  ------------------
  |  |  761|   766k|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  ------------------
  |  |  |  Branch (761:36): [True: 140k, False: 626k]
  |  |  ------------------
  ------------------
13052|   140k|                maxch = (ch > maxch) ? ch : maxch;
  ------------------
  |  Branch (13052:25): [True: 538, False: 139k]
  ------------------
13053|   626k|            else if (ch < 0x100)
  ------------------
  |  Branch (13053:22): [True: 626k, False: 0]
  ------------------
13054|   626k|                incr = 4; /* \xHH */
13055|      0|            else if (ch < 0x10000)
  ------------------
  |  Branch (13055:22): [True: 0, False: 0]
  ------------------
13056|      0|                incr = 6; /* \uHHHH */
13057|      0|            else
13058|      0|                incr = 10; /* \uHHHHHHHH */
13059|  1.19M|        }
13060|  1.19M|        if (osize > PY_SSIZE_T_MAX - incr) {
  ------------------
  |  |  137|  1.19M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (13060:13): [True: 0, False: 1.19M]
  ------------------
13061|      0|            PyErr_SetString(PyExc_OverflowError,
13062|      0|                            "string is too long to generate repr");
13063|      0|            return NULL;
13064|      0|        }
13065|  1.19M|        osize += incr;
13066|  1.19M|    }
13067|       |
13068|    422|    Py_UCS4 quote = '\'';
13069|    422|    int changed = (osize != isize);
13070|    422|    if (squote) {
  ------------------
  |  Branch (13070:9): [True: 51, False: 371]
  ------------------
13071|     51|        changed = 1;
13072|     51|        if (dquote)
  ------------------
  |  Branch (13072:13): [True: 13, False: 38]
  ------------------
13073|       |            /* Both squote and dquote present. Use squote,
13074|       |               and escape them */
13075|     13|            osize += squote;
13076|     38|        else
13077|     38|            quote = '"';
13078|     51|    }
13079|    422|    osize += 2;   /* quotes */
13080|       |
13081|    422|    PyObject *repr = PyUnicode_New(osize, maxch);
13082|    422|    if (repr == NULL)
  ------------------
  |  Branch (13082:9): [True: 0, False: 422]
  ------------------
13083|      0|        return NULL;
13084|    422|    int okind = PyUnicode_KIND(repr);
  ------------------
  |  |  258|    422|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    844|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 422, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13085|    422|    void *odata = PyUnicode_DATA(repr);
  ------------------
  |  |  284|    422|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    422|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    422|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13086|       |
13087|    422|    if (!changed) {
  ------------------
  |  Branch (13087:9): [True: 121, False: 301]
  ------------------
13088|    121|        PyUnicode_WRITE(okind, odata, 0, quote);
  ------------------
  |  |  335|    121|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|    121|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|    121|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|    121|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|    121|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
13089|       |
13090|    121|        _PyUnicode_FastCopyCharacters(repr, 1,
13091|    121|                                      unicode, 0,
13092|    121|                                      isize);
13093|       |
13094|    121|        PyUnicode_WRITE(okind, odata, osize-1, quote);
  ------------------
  |  |  335|    121|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|    121|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|    121|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|    121|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|    121|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
13095|    121|    }
13096|    301|    else {
13097|    301|        switch (okind) {
13098|    301|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (13098:9): [True: 301, False: 0]
  ------------------
13099|    301|            ucs1lib_repr(unicode, quote, odata);
13100|    301|            break;
13101|      0|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (13101:9): [True: 0, False: 301]
  ------------------
13102|      0|            ucs2lib_repr(unicode, quote, odata);
13103|      0|            break;
13104|      0|        default:
  ------------------
  |  Branch (13104:9): [True: 0, False: 301]
  ------------------
13105|      0|            assert(okind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (13105:13): [True: 0, False: 0]
  ------------------
13106|      0|            ucs4lib_repr(unicode, quote, odata);
13107|    301|        }
13108|    301|    }
13109|       |
13110|    422|    assert(_PyUnicode_CheckConsistency(repr, 1));
  ------------------
  |  Branch (13110:5): [True: 422, False: 0]
  ------------------
13111|    422|    return repr;
13112|    422|}
unicodeobject.c:unicode_mod:
14096|  1.34M|{
14097|  1.34M|    if (!PyUnicode_Check(v))
  ------------------
  |  |  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 (14097:9): [True: 0, False: 1.34M]
  ------------------
14098|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
14099|  1.34M|    return PyUnicode_Format(v, w);
14100|  1.34M|}
unicodeobject.c:unicode_length:
12593|  4.37M|{
12594|  4.37M|    return PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|  4.37M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.37M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.37M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12595|  4.37M|}
unicodeobject.c:unicode_getitem:
12025|  3.14M|{
12026|  3.14M|    const void *data;
12027|  3.14M|    int kind;
12028|  3.14M|    Py_UCS4 ch;
12029|       |
12030|  3.14M|    if (!PyUnicode_Check(self)) {
  ------------------
  |  |  103|  3.14M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.14M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (12030:9): [True: 0, False: 3.14M]
  ------------------
12031|      0|        PyErr_BadArgument();
12032|      0|        return NULL;
12033|      0|    }
12034|  3.14M|    if (index < 0 || index >= PyUnicode_GET_LENGTH(self)) {
  ------------------
  |  |  299|  3.14M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.14M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.14M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12034:9): [True: 0, False: 3.14M]
  |  Branch (12034:22): [True: 4.83k, False: 3.13M]
  ------------------
12035|  4.83k|        PyErr_SetString(PyExc_IndexError, "string index out of range");
12036|  4.83k|        return NULL;
12037|  4.83k|    }
12038|  3.13M|    kind = PyUnicode_KIND(self);
  ------------------
  |  |  258|  3.13M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  6.27M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 3.13M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12039|  3.13M|    data = PyUnicode_DATA(self);
  ------------------
  |  |  284|  3.13M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.13M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.13M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12040|  3.13M|    ch = PyUnicode_READ(kind, data, index);
  ------------------
  |  |  354|  3.13M|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  3.13M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  3.13M|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  3.13M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  3.13M|                   (index))
  ------------------
12041|  3.13M|    return unicode_char(ch);
12042|  3.13M|}
unicodeobject.c:unicode_subscript:
14122|  3.26M|{
14123|  3.26M|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (14123:9): [True: 3.14M, False: 118k]
  ------------------
14124|  3.14M|        Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError);
14125|  3.14M|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (14125:13): [True: 98, False: 3.14M]
  |  Branch (14125:24): [True: 0, False: 98]
  ------------------
14126|      0|            return NULL;
14127|  3.14M|        if (i < 0)
  ------------------
  |  Branch (14127:13): [True: 186, False: 3.14M]
  ------------------
14128|    186|            i += PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|    186|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    186|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    186|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14129|  3.14M|        return unicode_getitem(self, i);
14130|  3.14M|    } else if (PySlice_Check(item)) {
  ------------------
  |  |   22|   118k|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|   118k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   118k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   118k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 118k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14131|   118k|        Py_ssize_t start, stop, step, slicelength, i;
14132|   118k|        size_t cur;
14133|   118k|        PyObject *result;
14134|   118k|        const void *src_data;
14135|   118k|        void *dest_data;
14136|   118k|        int src_kind, dest_kind;
14137|   118k|        Py_UCS4 ch, max_char, kind_limit;
14138|       |
14139|   118k|        if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (14139:13): [True: 0, False: 118k]
  ------------------
14140|      0|            return NULL;
14141|      0|        }
14142|   118k|        slicelength = PySlice_AdjustIndices(PyUnicode_GET_LENGTH(self),
  ------------------
  |  |  299|   118k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   118k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   118k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14143|   118k|                                            &start, &stop, step);
14144|       |
14145|   118k|        if (slicelength <= 0) {
  ------------------
  |  Branch (14145:13): [True: 2, False: 118k]
  ------------------
14146|      2|            _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  379|      2|    do {                             \
  |  |  380|      2|        return _PyUnicode_GetEmpty();\
  |  |  381|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
14147|   118k|        } else if (start == 0 && step == 1 &&
  ------------------
  |  Branch (14147:20): [True: 88, False: 118k]
  |  Branch (14147:34): [True: 88, False: 0]
  ------------------
14148|     88|                   slicelength == PyUnicode_GET_LENGTH(self)) {
  ------------------
  |  |  299|     88|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14148:20): [True: 0, False: 88]
  ------------------
14149|      0|            return unicode_result_unchanged(self);
14150|   118k|        } else if (step == 1) {
  ------------------
  |  Branch (14150:20): [True: 118k, False: 0]
  ------------------
14151|   118k|            return PyUnicode_Substring(self,
14152|   118k|                                       start, start + slicelength);
14153|   118k|        }
14154|       |        /* General case */
14155|      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))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14156|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14157|      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 (14157:13): [True: 0, False: 0]
  ------------------
14158|      0|            kind_limit = kind_maxchar_limit(src_kind);
14159|      0|            max_char = 0;
14160|      0|            for (cur = start, i = 0; i < slicelength; cur += step, i++) {
  ------------------
  |  Branch (14160:38): [True: 0, False: 0]
  ------------------
14161|      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))
  ------------------
14162|      0|                if (ch > max_char) {
  ------------------
  |  Branch (14162:21): [True: 0, False: 0]
  ------------------
14163|      0|                    max_char = ch;
14164|      0|                    if (max_char >= kind_limit)
  ------------------
  |  Branch (14164:25): [True: 0, False: 0]
  ------------------
14165|      0|                        break;
14166|      0|                }
14167|      0|            }
14168|      0|        }
14169|      0|        else
14170|      0|            max_char = 127;
14171|      0|        result = PyUnicode_New(slicelength, max_char);
14172|      0|        if (result == NULL)
  ------------------
  |  Branch (14172:13): [True: 0, False: 0]
  ------------------
14173|      0|            return NULL;
14174|      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))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14175|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14176|       |
14177|      0|        for (cur = start, i = 0; i < slicelength; cur += step, i++) {
  ------------------
  |  Branch (14177:34): [True: 0, False: 0]
  ------------------
14178|      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))
  ------------------
14179|      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))
  |  |  ------------------
  ------------------
14180|      0|        }
14181|      0|        assert(_PyUnicode_CheckConsistency(result, 1));
  ------------------
  |  Branch (14181:9): [True: 0, False: 0]
  ------------------
14182|      0|        return result;
14183|      0|    } else {
14184|      0|        PyErr_Format(PyExc_TypeError, "string indices must be integers, not '%.200s'",
14185|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14186|       |        return NULL;
14187|      0|    }
14188|  3.26M|}
unicodeobject.c:unicode_hash:
12048|  8.13M|{
12049|  8.13M|    Py_uhash_t x;  /* Unsigned for defined overflow behavior. */
12050|       |
12051|       |#ifdef Py_DEBUG
12052|       |    assert(_Py_HashSecret_Initialized);
12053|       |#endif
12054|  8.13M|    Py_hash_t hash = PyUnicode_HASH(self);
  ------------------
  |  |  161|  8.13M|#define PyUnicode_HASH PyUnstable_Unicode_GET_CACHED_HASH
  ------------------
12055|  8.13M|    if (hash != -1) {
  ------------------
  |  Branch (12055:9): [True: 6.08M, False: 2.05M]
  ------------------
12056|  6.08M|        return hash;
12057|  6.08M|    }
12058|  2.05M|    x = Py_HashBuffer(PyUnicode_DATA(self),
  ------------------
  |  |  284|  2.05M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12059|  2.05M|                      PyUnicode_GET_LENGTH(self) * PyUnicode_KIND(self));
  ------------------
  |  |  299|  2.05M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                    PyUnicode_GET_LENGTH(self) * PyUnicode_KIND(self));
  ------------------
  |  |  258|  2.05M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  4.10M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 2.05M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12060|       |
12061|      0|    PyUnicode_SET_HASH(self, x);
12062|  2.05M|    return x;
12063|  2.05M|}
unicodeobject.c:PyUnicode_SET_HASH:
  164|  2.05M|{
  165|  2.05M|    FT_ATOMIC_STORE_SSIZE_RELAXED(_PyASCIIObject_CAST(op)->hash, hash);
  ------------------
  |  |  194|  4.10M|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  |  |  |  Branch (194:57): [True: 2.05M, False: 0]
  |  |  ------------------
  ------------------
  166|  2.05M|}
unicodeobject.c:unicode_encode_impl:
11911|  1.95k|{
11912|  1.95k|    return PyUnicode_AsEncodedString(self, encoding, errors);
11913|  1.95k|}
unicodeobject.c:unicode_replace_impl:
12963|    953|{
12964|    953|    return replace(self, old, new, count);
12965|    953|}
unicodeobject.c:unicode_split_impl:
13220|     13|{
13221|     13|    if (sep == Py_None)
  ------------------
  |  |  616|     13|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (13221:9): [True: 2, False: 11]
  ------------------
13222|      2|        return split(self, NULL, maxsplit);
13223|     11|    if (PyUnicode_Check(sep))
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13224|     11|        return split(self, sep, maxsplit);
13225|       |
13226|      0|    PyErr_Format(PyExc_TypeError,
13227|      0|                 "must be str or None, not %.100s",
13228|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13229|       |    return NULL;
13230|     11|}
unicodeobject.c:unicode_join:
12587|    445|{
12588|    445|    return PyUnicode_Join(self, iterable);
12589|    445|}
unicodeobject.c:ascii_upper_or_lower:
10106|     59|{
10107|     59|    Py_ssize_t len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10108|     59|    const char *data = PyUnicode_DATA(self);
  ------------------
  |  |  284|     59|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     59|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10109|     59|    char *resdata;
10110|     59|    PyObject *res;
10111|       |
10112|     59|    res = PyUnicode_New(len, 127);
10113|     59|    if (res == NULL)
  ------------------
  |  Branch (10113:9): [True: 0, False: 59]
  ------------------
10114|      0|        return NULL;
10115|     59|    resdata = PyUnicode_DATA(res);
  ------------------
  |  |  284|     59|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     59|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10116|     59|    if (lower)
  ------------------
  |  Branch (10116:9): [True: 8, False: 51]
  ------------------
10117|      8|        _Py_bytes_lower(resdata, data, len);
10118|     51|    else
10119|     51|        _Py_bytes_upper(resdata, data, len);
10120|     59|    return res;
10121|     59|}
unicodeobject.c:unicode_find_impl:
12015|      2|{
12016|      2|    Py_ssize_t result = any_find_slice(str, substr, start, end, 1);
12017|      2|    if (result < 0) {
  ------------------
  |  Branch (12017:9): [True: 0, False: 2]
  ------------------
12018|      0|        return -1;
12019|      0|    }
12020|      2|    return result;
12021|      2|}
unicodeobject.c:unicode_lower_impl:
12629|      8|{
12630|      8|    if (PyUnicode_IS_ASCII(self))
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
12631|      8|        return ascii_upper_or_lower(self, 1);
12632|      0|    return case_operation(self, do_lower);
12633|      8|}
unicodeobject.c:unicode_lstrip_impl:
12853|      1|{
12854|      1|    return do_argstrip(self, LEFTSTRIP, chars);
  ------------------
  |  |12635|      1|#define LEFTSTRIP 0
  ------------------
12855|      1|}
unicodeobject.c:do_argstrip:
12803|   263k|{
12804|   263k|    if (sep != Py_None) {
  ------------------
  |  |  616|   263k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (12804:9): [True: 567, False: 263k]
  ------------------
12805|    567|        if (PyUnicode_Check(sep))
  ------------------
  |  |  103|    567|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    567|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 567, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12806|    567|            return _PyUnicode_XStrip(self, striptype, sep);
12807|      0|        else {
12808|      0|            PyErr_Format(PyExc_TypeError,
12809|      0|                         "%s arg must be None or str",
12810|      0|                         STRIPNAME(striptype));
  ------------------
  |  |12642|      0|#define STRIPNAME(i) (stripfuncnames[i])
  ------------------
12811|      0|            return NULL;
12812|      0|        }
12813|    567|    }
12814|       |
12815|   263k|    return do_strip(self, striptype);
12816|   263k|}
unicodeobject.c:do_strip:
12740|   263k|{
12741|   263k|    Py_ssize_t len, i, j;
12742|       |
12743|   263k|    len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|   263k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   263k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   263k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12744|       |
12745|   263k|    if (PyUnicode_IS_ASCII(self)) {
  ------------------
  |  |  227|   263k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   263k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   263k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 263k, False: 0]
  |  |  ------------------
  ------------------
12746|   263k|        const Py_UCS1 *data = PyUnicode_1BYTE_DATA(self);
  ------------------
  |  |  291|   263k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   263k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
12747|       |
12748|   263k|        i = 0;
12749|   263k|        if (striptype != RIGHTSTRIP) {
  ------------------
  |  |12636|   263k|#define RIGHTSTRIP 1
  ------------------
  |  Branch (12749:13): [True: 262k, False: 870]
  ------------------
12750|  2.30M|            while (i < len) {
  ------------------
  |  Branch (12750:20): [True: 2.30M, False: 0]
  ------------------
12751|  2.30M|                Py_UCS1 ch = data[i];
12752|  2.30M|                if (!_Py_ascii_whitespace[ch])
  ------------------
  |  Branch (12752:21): [True: 262k, False: 2.04M]
  ------------------
12753|   262k|                    break;
12754|  2.04M|                i++;
12755|  2.04M|            }
12756|   262k|        }
12757|       |
12758|   263k|        j = len;
12759|   263k|        if (striptype != LEFTSTRIP) {
  ------------------
  |  |12635|   263k|#define LEFTSTRIP 0
  ------------------
  |  Branch (12759:13): [True: 263k, False: 0]
  ------------------
12760|   263k|            j--;
12761|   525k|            while (j >= i) {
  ------------------
  |  Branch (12761:20): [True: 525k, False: 0]
  ------------------
12762|   525k|                Py_UCS1 ch = data[j];
12763|   525k|                if (!_Py_ascii_whitespace[ch])
  ------------------
  |  Branch (12763:21): [True: 263k, False: 262k]
  ------------------
12764|   263k|                    break;
12765|   262k|                j--;
12766|   262k|            }
12767|   263k|            j++;
12768|   263k|        }
12769|   263k|    }
12770|      0|    else {
12771|      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))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12772|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12773|       |
12774|      0|        i = 0;
12775|      0|        if (striptype != RIGHTSTRIP) {
  ------------------
  |  |12636|      0|#define RIGHTSTRIP 1
  ------------------
  |  Branch (12775:13): [True: 0, False: 0]
  ------------------
12776|      0|            while (i < len) {
  ------------------
  |  Branch (12776:20): [True: 0, False: 0]
  ------------------
12777|      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))
  ------------------
12778|      0|                if (!Py_UNICODE_ISSPACE(ch))
  ------------------
  |  Branch (12778:21): [True: 0, False: 0]
  ------------------
12779|      0|                    break;
12780|      0|                i++;
12781|      0|            }
12782|      0|        }
12783|       |
12784|      0|        j = len;
12785|      0|        if (striptype != LEFTSTRIP) {
  ------------------
  |  |12635|      0|#define LEFTSTRIP 0
  ------------------
  |  Branch (12785:13): [True: 0, False: 0]
  ------------------
12786|      0|            j--;
12787|      0|            while (j >= i) {
  ------------------
  |  Branch (12787:20): [True: 0, False: 0]
  ------------------
12788|      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))
  ------------------
12789|      0|                if (!Py_UNICODE_ISSPACE(ch))
  ------------------
  |  Branch (12789:21): [True: 0, False: 0]
  ------------------
12790|      0|                    break;
12791|      0|                j--;
12792|      0|            }
12793|      0|            j++;
12794|      0|        }
12795|      0|    }
12796|       |
12797|   263k|    return PyUnicode_Substring(self, i, j);
12798|   263k|}
unicodeobject.c:unicode_rfind_impl:
13128|     30|{
13129|     30|    Py_ssize_t result = any_find_slice(str, substr, start, end, -1);
13130|     30|    if (result < 0) {
  ------------------
  |  Branch (13130:9): [True: 0, False: 30]
  ------------------
13131|      0|        return -1;
13132|      0|    }
13133|     30|    return result;
13134|     30|}
unicodeobject.c:unicode_rstrip_impl:
12872|  1.43k|{
12873|  1.43k|    return do_argstrip(self, RIGHTSTRIP, chars);
  ------------------
  |  |12636|  1.43k|#define RIGHTSTRIP 1
  ------------------
12874|  1.43k|}
unicodeobject.c:unicode_rpartition:
13375|    270|{
13376|    270|    return PyUnicode_RPartition(self, sep);
13377|    270|}
unicodeobject.c:unicode_strip_impl:
12834|   262k|{
12835|   262k|    return do_argstrip(self, BOTHSTRIP, chars);
  ------------------
  |  |12637|   262k|#define BOTHSTRIP 2
  ------------------
12836|   262k|}
unicodeobject.c:unicode_translate:
13616|     48|{
13617|     48|    return _PyUnicode_TranslateCharmap(self, table, "ignore");
13618|     48|}
unicodeobject.c:unicode_upper_impl:
13629|     51|{
13630|     51|    if (PyUnicode_IS_ASCII(self))
  ------------------
  |  |  227|     51|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     51|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 51, False: 0]
  |  |  ------------------
  ------------------
13631|     51|        return ascii_upper_or_lower(self, 0);
13632|      0|    return case_operation(self, do_upper);
13633|     51|}
unicodeobject.c:unicode_startswith_impl:
13701|   157k|{
13702|   157k|    if (PyTuple_Check(subobj)) {
  ------------------
  |  |   27|   157k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   157k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 9, False: 157k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13703|      9|        Py_ssize_t i;
13704|     63|        for (i = 0; i < PyTuple_GET_SIZE(subobj); i++) {
  ------------------
  |  |   27|     63|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     63|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     63|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (13704:21): [True: 54, False: 9]
  ------------------
13705|     54|            PyObject *substring = PyTuple_GET_ITEM(subobj, i);
  ------------------
  |  |   29|     54|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     54|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     54|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (13705:35): [True: 54, False: 0]
  ------------------
13706|     54|            if (!PyUnicode_Check(substring)) {
  ------------------
  |  |  103|     54|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     54|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (13706:17): [True: 0, False: 54]
  ------------------
13707|      0|                PyErr_Format(PyExc_TypeError,
13708|      0|                             "tuple for startswith must only contain str, "
13709|      0|                             "not %.100s",
13710|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13711|      0|                return NULL;
13712|      0|            }
13713|     54|            int result = tailmatch(self, substring, start, end, -1);
13714|     54|            if (result < 0) {
  ------------------
  |  Branch (13714:17): [True: 0, False: 54]
  ------------------
13715|      0|                return NULL;
13716|      0|            }
13717|     54|            if (result) {
  ------------------
  |  Branch (13717:17): [True: 0, False: 54]
  ------------------
13718|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13719|      0|            }
13720|     54|        }
13721|       |        /* nothing matched */
13722|      9|        Py_RETURN_FALSE;
  ------------------
  |  |   45|      9|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      9|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13723|      9|    }
13724|   157k|    if (!PyUnicode_Check(subobj)) {
  ------------------
  |  |  103|   157k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   157k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (13724:9): [True: 0, False: 157k]
  ------------------
13725|      0|        PyErr_Format(PyExc_TypeError,
13726|      0|                     "startswith first arg must be str or "
13727|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13728|      0|        return NULL;
13729|      0|    }
13730|   157k|    int result = tailmatch(self, subobj, start, end, -1);
13731|   157k|    if (result < 0) {
  ------------------
  |  Branch (13731:9): [True: 0, False: 157k]
  ------------------
13732|      0|        return NULL;
13733|      0|    }
13734|   157k|    return PyBool_FromLong(result);
13735|   157k|}
unicodeobject.c:unicode_endswith_impl:
13758|  78.6k|{
13759|  78.6k|    if (PyTuple_Check(subobj)) {
  ------------------
  |  |   27|  78.6k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  78.6k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 78.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13760|      0|        Py_ssize_t i;
13761|      0|        for (i = 0; i < PyTuple_GET_SIZE(subobj); i++) {
  ------------------
  |  |   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 (13761:21): [True: 0, False: 0]
  ------------------
13762|      0|            PyObject *substring = PyTuple_GET_ITEM(subobj, 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (13762:35): [True: 0, False: 0]
  ------------------
13763|      0|            if (!PyUnicode_Check(substring)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (13763:17): [True: 0, False: 0]
  ------------------
13764|      0|                PyErr_Format(PyExc_TypeError,
13765|      0|                             "tuple for endswith must only contain str, "
13766|      0|                             "not %.100s",
13767|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13768|      0|                return NULL;
13769|      0|            }
13770|      0|            int result = tailmatch(self, substring, start, end, +1);
13771|      0|            if (result < 0) {
  ------------------
  |  Branch (13771:17): [True: 0, False: 0]
  ------------------
13772|      0|                return NULL;
13773|      0|            }
13774|      0|            if (result) {
  ------------------
  |  Branch (13774:17): [True: 0, False: 0]
  ------------------
13775|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13776|      0|            }
13777|      0|        }
13778|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13779|      0|    }
13780|  78.6k|    if (!PyUnicode_Check(subobj)) {
  ------------------
  |  |  103|  78.6k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  78.6k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (13780:9): [True: 0, False: 78.6k]
  ------------------
13781|      0|        PyErr_Format(PyExc_TypeError,
13782|      0|                     "endswith first arg must be str or "
13783|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13784|      0|        return NULL;
13785|      0|    }
13786|  78.6k|    int result = tailmatch(self, subobj, start, end, +1);
13787|  78.6k|    if (result < 0) {
  ------------------
  |  Branch (13787:9): [True: 0, False: 78.6k]
  ------------------
13788|      0|        return NULL;
13789|      0|    }
13790|  78.6k|    return PyBool_FromLong(result);
13791|  78.6k|}
unicodeobject.c:unicode_isascii_impl:
12103|  5.36k|{
12104|  5.36k|    return PyBool_FromLong(PyUnicode_IS_ASCII(self));
  ------------------
  |  |  227|  5.36k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.36k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.36k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12105|  5.36k|}
unicodeobject.c:unicode_isdecimal_impl:
12376|  4.88k|{
12377|  4.88k|    Py_ssize_t i, length;
12378|  4.88k|    int kind;
12379|  4.88k|    const void *data;
12380|       |
12381|  4.88k|    length = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|  4.88k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.88k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12382|  4.88k|    kind = PyUnicode_KIND(self);
  ------------------
  |  |  258|  4.88k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  9.77k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 4.88k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12383|  4.88k|    data = PyUnicode_DATA(self);
  ------------------
  |  |  284|  4.88k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.88k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12384|       |
12385|       |    /* Shortcut for single character strings */
12386|  4.88k|    if (length == 1)
  ------------------
  |  Branch (12386:9): [True: 3.67k, False: 1.21k]
  ------------------
12387|  3.67k|        return PyBool_FromLong(
12388|  3.67k|            Py_UNICODE_ISDECIMAL(PyUnicode_READ(kind, data, 0)));
  ------------------
  |  |  758|  3.67k|#define Py_UNICODE_ISDECIMAL(ch) _PyUnicode_IsDecimalDigit(ch)
  ------------------
12389|       |
12390|       |    /* Special case for empty strings */
12391|  1.21k|    if (length == 0)
  ------------------
  |  Branch (12391:9): [True: 0, False: 1.21k]
  ------------------
12392|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12393|       |
12394|   842k|    for (i = 0; i < length; i++) {
  ------------------
  |  Branch (12394:17): [True: 842k, False: 868]
  ------------------
12395|   842k|        if (!Py_UNICODE_ISDECIMAL(PyUnicode_READ(kind, data, i)))
  ------------------
  |  |  758|   842k|#define Py_UNICODE_ISDECIMAL(ch) _PyUnicode_IsDecimalDigit(ch)
  ------------------
  |  Branch (12395:13): [True: 349, False: 841k]
  ------------------
12396|    349|            Py_RETURN_FALSE;
  ------------------
  |  |   45|    349|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|    349|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    349|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    349|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12397|   842k|    }
12398|    868|    Py_RETURN_TRUE;
  ------------------
  |  |   44|    868|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|    868|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    868|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    868|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12399|  1.21k|}
unicodeobject.c:unicode_isalpha_impl:
12299|     14|{
12300|     14|    Py_ssize_t i, length;
12301|     14|    int kind;
12302|     14|    const void *data;
12303|       |
12304|     14|    length = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12305|     14|    kind = PyUnicode_KIND(self);
  ------------------
  |  |  258|     14|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|     28|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 14, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12306|     14|    data = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12307|       |
12308|       |    /* Shortcut for single character strings */
12309|     14|    if (length == 1)
  ------------------
  |  Branch (12309:9): [True: 8, False: 6]
  ------------------
12310|      8|        return PyBool_FromLong(
12311|      8|            Py_UNICODE_ISALPHA(PyUnicode_READ(kind, data, 0)));
  ------------------
  |  |  767|      8|#define Py_UNICODE_ISALPHA(ch) _PyUnicode_IsAlpha(ch)
  ------------------
12312|       |
12313|       |    /* Special case for empty strings */
12314|      6|    if (length == 0)
  ------------------
  |  Branch (12314:9): [True: 0, False: 6]
  ------------------
12315|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12316|       |
12317|      6|    for (i = 0; i < length; i++) {
  ------------------
  |  Branch (12317:17): [True: 6, False: 0]
  ------------------
12318|      6|        if (!Py_UNICODE_ISALPHA(PyUnicode_READ(kind, data, i)))
  ------------------
  |  |  767|      6|#define Py_UNICODE_ISALPHA(ch) _PyUnicode_IsAlpha(ch)
  ------------------
  |  Branch (12318:13): [True: 6, False: 0]
  ------------------
12319|      6|            Py_RETURN_FALSE;
  ------------------
  |  |   45|      6|#  define Py_RETURN_FALSE return 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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12320|      6|    }
12321|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12322|      6|}
unicodeobject.c:unicode_isidentifier_impl:
12532|  1.14k|{
12533|  1.14k|    return PyBool_FromLong(PyUnicode_IsIdentifier(self));
12534|  1.14k|}
unicodeobject.c:unicode_new_impl:
14214|      7|{
14215|      7|    PyObject *unicode;
14216|      7|    if (x == NULL) {
  ------------------
  |  Branch (14216:9): [True: 0, False: 7]
  ------------------
14217|      0|        unicode = _PyUnicode_GetEmpty();
14218|      0|    }
14219|      7|    else if (encoding == NULL && errors == NULL) {
  ------------------
  |  Branch (14219:14): [True: 7, False: 0]
  |  Branch (14219:34): [True: 7, False: 0]
  ------------------
14220|      7|        unicode = PyObject_Str(x);
14221|      7|    }
14222|      0|    else {
14223|      0|        unicode = PyUnicode_FromEncodedObject(x, encoding, errors);
14224|      0|    }
14225|       |
14226|      7|    if (unicode != NULL && type != &PyUnicode_Type) {
  ------------------
  |  Branch (14226:9): [True: 7, False: 0]
  |  Branch (14226:28): [True: 7, False: 0]
  ------------------
14227|      7|        Py_SETREF(unicode, unicode_subtype_new(type, unicode));
  ------------------
  |  |  352|      7|    do { \
  |  |  353|      7|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      7|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      7|        *_tmp_dst_ptr = (src); \
  |  |  356|      7|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      7|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
14228|      7|    }
14229|      7|    return unicode;
14230|      7|}
unicodeobject.c:unicode_subtype_new:
14293|      7|{
14294|      7|    PyObject *self;
14295|      7|    Py_ssize_t length, char_size;
14296|      7|    int share_utf8;
14297|      7|    int kind;
14298|      7|    void *data;
14299|       |
14300|      7|    assert(PyType_IsSubtype(type, &PyUnicode_Type));
  ------------------
  |  Branch (14300:5): [True: 7, False: 0]
  ------------------
14301|      7|    assert(_PyUnicode_CHECK(unicode));
  ------------------
  |  Branch (14301:5): [True: 7, False: 0]
  ------------------
14302|       |
14303|      7|    self = type->tp_alloc(type, 0);
14304|      7|    if (self == NULL) {
  ------------------
  |  Branch (14304:9): [True: 0, False: 7]
  ------------------
14305|      0|        return NULL;
14306|      0|    }
14307|      7|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|      7|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|     14|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 7, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14308|      7|    length = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|      7|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14309|       |
14310|      7|    _PyUnicode_LENGTH(self) = length;
  ------------------
  |  |  155|      7|    (_PyASCIIObject_CAST(op)->length)
  |  |  ------------------
  |  |  |  |  186|      7|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|      7|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14310:5): [True: 7, False: 0]
  ------------------
14311|       |#ifdef Py_DEBUG
14312|       |    _PyUnicode_HASH(self) = -1;
14313|       |#else
14314|      7|    _PyUnicode_HASH(self) = _PyUnicode_HASH(unicode);
  ------------------
  |  |  159|      7|    (_PyASCIIObject_CAST(op)->hash)
  |  |  ------------------
  |  |  |  |  186|      7|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|      7|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  _PyUnicode_HASH(self) = _PyUnicode_HASH(unicode);
  ------------------
  |  |  159|      7|    (_PyASCIIObject_CAST(op)->hash)
  |  |  ------------------
  |  |  |  |  186|      7|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|      7|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14314:5): [True: 7, False: 0]
  |  Branch (14314:29): [True: 7, False: 0]
  ------------------
14315|      0|#endif
14316|      7|    _PyUnicode_STATE(self).interned = 0;
  ------------------
  |  |  157|      7|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|      7|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|      7|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14316:5): [True: 7, False: 0]
  ------------------
14317|      7|    _PyUnicode_STATE(self).kind = kind;
  ------------------
  |  |  157|      7|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|      7|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|      7|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14317:5): [True: 7, False: 0]
  ------------------
14318|      7|    _PyUnicode_STATE(self).compact = 0;
  ------------------
  |  |  157|      7|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|      7|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|      7|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14318:5): [True: 7, False: 0]
  ------------------
14319|      7|    _PyUnicode_STATE(self).ascii = _PyUnicode_STATE(unicode).ascii;
  ------------------
  |  |  157|      7|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|      7|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|      7|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  _PyUnicode_STATE(self).ascii = _PyUnicode_STATE(unicode).ascii;
  ------------------
  |  |  157|      7|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|      7|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|      7|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14319:5): [True: 7, False: 0]
  |  Branch (14319:36): [True: 7, False: 0]
  ------------------
14320|      7|    _PyUnicode_STATE(self).statically_allocated = 0;
  ------------------
  |  |  157|      7|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|      7|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|      7|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14320:5): [True: 7, False: 0]
  ------------------
14321|      0|    PyUnicode_SET_UTF8_LENGTH(self, 0);
14322|      7|    PyUnicode_SET_UTF8(self, NULL);
14323|      7|    _PyUnicode_DATA_ANY(self) = NULL;
  ------------------
  |  |  169|      7|    (_PyUnicodeObject_CAST(op)->data.any)
  |  |  ------------------
  |  |  |  |  192|      7|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  193|      7|     _Py_CAST(PyUnicodeObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14323:5): [True: 7, False: 0]
  ------------------
14324|       |
14325|      0|    share_utf8 = 0;
14326|      7|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (14326:9): [True: 7, False: 0]
  ------------------
14327|      7|        char_size = 1;
14328|      7|        if (PyUnicode_MAX_CHAR_VALUE(unicode) < 128)
  ------------------
  |  |  405|      7|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14328:13): [True: 7, False: 0]
  ------------------
14329|      7|            share_utf8 = 1;
14330|      7|    }
14331|      0|    else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (14331:14): [True: 0, False: 0]
  ------------------
14332|      0|        char_size = 2;
14333|      0|    }
14334|      0|    else {
14335|      0|        assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (14335:9): [True: 0, False: 0]
  ------------------
14336|      0|        char_size = 4;
14337|      0|    }
14338|       |
14339|       |    /* Ensure we won't overflow the length. */
14340|      7|    if (length > (PY_SSIZE_T_MAX / char_size - 1)) {
  ------------------
  |  |  137|      7|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (14340:9): [True: 0, False: 7]
  ------------------
14341|      0|        PyErr_NoMemory();
14342|      0|        goto onError;
14343|      0|    }
14344|      7|    data = PyMem_Malloc((length + 1) * char_size);
14345|      7|    if (data == NULL) {
  ------------------
  |  Branch (14345:9): [True: 0, False: 7]
  ------------------
14346|      0|        PyErr_NoMemory();
14347|      0|        goto onError;
14348|      0|    }
14349|       |
14350|     14|    _PyUnicode_DATA_ANY(self) = data;
  ------------------
  |  |  169|      7|    (_PyUnicodeObject_CAST(op)->data.any)
  |  |  ------------------
  |  |  |  |  192|      7|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  193|      7|     _Py_CAST(PyUnicodeObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14350:5): [True: 7, False: 0]
  ------------------
14351|      7|    if (share_utf8) {
  ------------------
  |  Branch (14351:9): [True: 7, False: 0]
  ------------------
14352|      7|        PyUnicode_SET_UTF8_LENGTH(self, length);
14353|      7|        PyUnicode_SET_UTF8(self, data);
14354|      7|    }
14355|       |
14356|     14|    memcpy(data, PyUnicode_DATA(unicode), kind * (length + 1));
  ------------------
  |  |  284|      7|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14357|     14|    assert(_PyUnicode_CheckConsistency(self, 1));
  ------------------
  |  Branch (14357:5): [True: 7, False: 0]
  ------------------
14358|       |#ifdef Py_DEBUG
14359|       |    _PyUnicode_HASH(self) = _PyUnicode_HASH(unicode);
14360|       |#endif
14361|      7|    return self;
14362|       |
14363|      0|onError:
14364|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14365|       |    return NULL;
14366|     14|}
unicodeobject.c:unicode_vectorcall:
14247|  4.62k|{
14248|  4.62k|    assert(Py_Is(_PyType_CAST(type), &PyUnicode_Type));
  ------------------
  |  Branch (14248:5): [True: 4.62k, False: 0]
  |  Branch (14248:5): [True: 4.62k, False: 0]
  ------------------
14249|       |
14250|  4.62k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  4.62k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
14251|  4.62k|    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 (14251:9): [True: 0, False: 4.62k]
  |  Branch (14251:28): [True: 0, False: 0]
  ------------------
14252|       |        // Fallback to unicode_new()
14253|      0|        PyObject *tuple = PyTuple_FromArray(args, nargs);
14254|      0|        if (tuple == NULL) {
  ------------------
  |  Branch (14254:13): [True: 0, False: 0]
  ------------------
14255|      0|            return NULL;
14256|      0|        }
14257|      0|        PyObject *dict = _PyStack_AsDict(args + nargs, kwnames);
14258|      0|        if (dict == NULL) {
  ------------------
  |  Branch (14258:13): [True: 0, False: 0]
  ------------------
14259|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14260|      0|            return NULL;
14261|      0|        }
14262|      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))
  |  |  ------------------
  ------------------
  |  Branch (14262:37): [True: 0, False: 0]
  ------------------
14263|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14264|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14265|      0|        return ret;
14266|      0|    }
14267|  4.62k|    if (!_PyArg_CheckPositional("str", nargs, 0, 3)) {
  ------------------
  |  |   31|  4.62k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 4.62k, False: 0]
  |  |  |  Branch (31:27): [True: 4.62k, False: 0]
  |  |  ------------------
  |  |   32|  4.62k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
14268|      0|        return NULL;
14269|      0|    }
14270|  4.62k|    if (nargs == 0) {
  ------------------
  |  Branch (14270:9): [True: 0, False: 4.62k]
  ------------------
14271|      0|        return _PyUnicode_GetEmpty();
14272|      0|    }
14273|  4.62k|    PyObject *object = args[0];
14274|  4.62k|    if (nargs == 1) {
  ------------------
  |  Branch (14274:9): [True: 21, False: 4.60k]
  ------------------
14275|     21|        return PyObject_Str(object);
14276|     21|    }
14277|  4.60k|    const char *encoding = arg_as_utf8(args[1], "encoding");
14278|  4.60k|    if (encoding == NULL) {
  ------------------
  |  Branch (14278:9): [True: 0, False: 4.60k]
  ------------------
14279|      0|        return NULL;
14280|      0|    }
14281|  4.60k|    const char *errors = NULL;
14282|  4.60k|    if (nargs == 3) {
  ------------------
  |  Branch (14282:9): [True: 0, False: 4.60k]
  ------------------
14283|      0|        errors = arg_as_utf8(args[2], "errors");
14284|      0|        if (errors == NULL) {
  ------------------
  |  Branch (14284:13): [True: 0, False: 0]
  ------------------
14285|      0|            return NULL;
14286|      0|        }
14287|      0|    }
14288|  4.60k|    return PyUnicode_FromEncodedObject(object, encoding, errors);
14289|  4.60k|}
unicodeobject.c:arg_as_utf8:
14234|  4.60k|{
14235|  4.60k|    if (!PyUnicode_Check(obj)) {
  ------------------
  |  |  103|  4.60k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.60k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (14235:9): [True: 0, False: 4.60k]
  ------------------
14236|      0|        PyErr_Format(PyExc_TypeError,
14237|      0|                     "str() argument '%s' must be str, not %T",
14238|      0|                     name, obj);
14239|      0|        return NULL;
14240|      0|    }
14241|  4.60k|    return _PyUnicode_AsUTF8NoNUL(obj);
14242|  4.60k|}
unicodeobject.c:unicode_iteritem:
14370|     56|{
14371|     56|    if (index >= PyUnicode_GET_LENGTH(obj)) {
  ------------------
  |  |  299|     56|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14371:9): [True: 28, False: 28]
  ------------------
14372|     28|        return (_PyObjectIndexPair) { .object = NULL, .index = index };
14373|     28|    }
14374|     28|    const void *data = PyUnicode_DATA(obj);
  ------------------
  |  |  284|     28|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14375|     28|    int kind = PyUnicode_KIND(obj);
  ------------------
  |  |  258|     28|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|     56|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 28, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14376|     28|    Py_UCS4 ch = PyUnicode_READ(kind, data, index);
  ------------------
  |  |  354|     28|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     28|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|     28|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     28|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     28|                   (index))
  ------------------
14377|     28|    PyObject *result = unicode_char(ch);
14378|     28|    index = (result == NULL) ? -1 : index + 1;
  ------------------
  |  Branch (14378:13): [True: 0, False: 28]
  ------------------
14379|     28|    return (_PyObjectIndexPair) { .object = result, .index = index };
14380|     28|}
unicodeobject.c:_init_global_state:
14454|      2|{
14455|      2|    static int initialized = 0;
14456|      2|    if (initialized) {
  ------------------
  |  Branch (14456:9): [True: 0, False: 2]
  ------------------
14457|      0|        return;
14458|      0|    }
14459|      2|    initialized = 1;
14460|       |
14461|       |    /* initialize the linebreak bloom filter */
14462|      2|    const Py_UCS2 linebreak[] = {
14463|      2|        0x000A, /* LINE FEED */
14464|      2|        0x000D, /* CARRIAGE RETURN */
14465|      2|        0x001C, /* FILE SEPARATOR */
14466|      2|        0x001D, /* GROUP SEPARATOR */
14467|      2|        0x001E, /* RECORD SEPARATOR */
14468|      2|        0x0085, /* NEXT LINE */
14469|      2|        0x2028, /* LINE SEPARATOR */
14470|      2|        0x2029, /* PARAGRAPH SEPARATOR */
14471|      2|    };
14472|      2|    bloom_linebreak = make_bloom_mask(
14473|      2|        PyUnicode_2BYTE_KIND, linebreak,
14474|      2|        Py_ARRAY_LENGTH(linebreak));
  ------------------
  |  |  196|      2|    (sizeof(array) / sizeof((array)[0]))
  ------------------
14475|      2|}
unicodeobject.c:init_global_interned_strings:
  328|      2|{
  329|      2|    assert(INTERNED_STRINGS == NULL);
  ------------------
  |  Branch (329:5): [True: 2, False: 0]
  ------------------
  330|      2|    _Py_hashtable_allocator_t hashtable_alloc = {PyMem_RawMalloc, PyMem_RawFree};
  331|       |
  332|      2|    INTERNED_STRINGS = _Py_hashtable_new_full(
  ------------------
  |  |  223|      2|#define INTERNED_STRINGS _PyRuntime.cached_objects.interned_strings
  ------------------
  333|      2|        hashtable_unicode_hash,
  334|      2|        hashtable_unicode_compare,
  335|       |        // Objects stored here are immortal and statically allocated,
  336|       |        // so we don't need key_destroy_func & value_destroy_func:
  337|      2|        NULL,
  338|      2|        NULL,
  339|      2|        &hashtable_alloc
  340|      2|    );
  341|      2|    if (INTERNED_STRINGS == NULL) {
  ------------------
  |  |  223|      2|#define INTERNED_STRINGS _PyRuntime.cached_objects.interned_strings
  ------------------
  |  Branch (341:9): [True: 0, False: 2]
  ------------------
  342|      0|        PyErr_Clear();
  343|      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)}
  ------------------
  344|      0|    }
  345|       |
  346|       |    /* Intern statically allocated string identifiers, deepfreeze strings,
  347|       |        * and one-byte latin-1 strings.
  348|       |        * This must be done before any module initialization so that statically
  349|       |        * allocated string identifiers are used instead of heap allocated strings.
  350|       |        * Deepfreeze uses the interned identifiers if present to save space
  351|       |        * else generates them and they are interned to speed up dict lookups.
  352|       |    */
  353|      2|    _PyUnicode_InitStaticStrings(interp);
  354|       |
  355|    514|    for (int i = 0; i < 256; i++) {
  ------------------
  |  Branch (355:21): [True: 512, False: 2]
  ------------------
  356|    512|        PyObject *s = LATIN1(i);
  ------------------
  |  |  188|    512|#define LATIN1 _Py_LATIN1_CHR
  |  |  ------------------
  |  |  |  |  924|    512|    ((CH) < 128 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (924:6): [True: 256, False: 256]
  |  |  |  |  ------------------
  |  |  |  |  925|    512|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    256|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    256|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  926|    512|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    256|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    256|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  357|    512|        _PyUnicode_InternStatic(interp, &s);
  358|    512|        assert(s == LATIN1(i));
  ------------------
  |  Branch (358:9): [True: 256, False: 256]
  |  Branch (358:9): [True: 512, False: 0]
  ------------------
  359|    512|    }
  360|       |#ifdef Py_DEBUG
  361|       |    assert(_PyUnicode_CheckConsistency(&_Py_STR(empty), 1));
  362|       |
  363|       |    for (int i = 0; i < 256; i++) {
  364|       |        assert(_PyUnicode_CheckConsistency(LATIN1(i), 1));
  365|       |    }
  366|       |#endif
  367|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  368|      2|}
unicodeobject.c:hashtable_unicode_hash:
  259|  32.6k|{
  260|  32.6k|    return unicode_hash((PyObject *)key);
  261|  32.6k|}
unicodeobject.c:hashtable_unicode_compare:
  265|  7.08k|{
  266|  7.08k|    PyObject *obj1 = (PyObject *)key1;
  267|  7.08k|    PyObject *obj2 = (PyObject *)key2;
  268|  7.08k|    if (obj1 != NULL && obj2 != NULL) {
  ------------------
  |  Branch (268:9): [True: 7.08k, False: 0]
  |  Branch (268:25): [True: 7.08k, False: 0]
  ------------------
  269|  7.08k|        return unicode_eq(obj1, obj2);
  270|  7.08k|    }
  271|      0|    else {
  272|      0|        return obj1 == obj2;
  273|      0|    }
  274|  7.08k|}
unicodeobject.c:init_interned_dict:
  295|      2|{
  296|      2|    assert(get_interned_dict(interp) == NULL);
  ------------------
  |  Branch (296:5): [True: 2, False: 0]
  ------------------
  297|      2|    PyObject *interned;
  298|      2|    if (has_shared_intern_dict(interp)) {
  ------------------
  |  Branch (298:9): [True: 0, False: 2]
  ------------------
  299|      0|        interned = get_interned_dict(_PyInterpreterState_Main());
  300|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  301|      0|    }
  302|      2|    else {
  303|      2|        interned = PyDict_New();
  304|      2|        if (interned == NULL) {
  ------------------
  |  Branch (304:13): [True: 0, False: 2]
  ------------------
  305|      0|            return -1;
  306|      0|        }
  307|      2|    }
  308|      2|    _Py_INTERP_CACHED_OBJECT(interp, interned_strings) = interned;
  ------------------
  |  |   22|      2|    (interp)->cached_objects.NAME
  ------------------
  309|      2|    return 0;
  310|      2|}
unicodeobject.c:intern_static:
14527|  2.24k|{
14528|       |    // Note that this steals a reference to `s`, but in many cases that
14529|       |    // stolen ref is returned, requiring no decref/incref.
14530|       |
14531|  2.24k|    assert(s != NULL);
  ------------------
  |  Branch (14531:5): [True: 2.24k, False: 0]
  ------------------
14532|  2.24k|    assert(_PyUnicode_CHECK(s));
  ------------------
  |  Branch (14532:5): [True: 2.24k, False: 0]
  ------------------
14533|  2.24k|    assert(_PyUnicode_STATE(s).statically_allocated);
  ------------------
  |  Branch (14533:5): [True: 2.24k, False: 0]
  |  Branch (14533:5): [True: 2.24k, False: 0]
  ------------------
14534|  2.24k|    assert(!PyUnicode_CHECK_INTERNED(s));
  ------------------
  |  Branch (14534:5): [True: 2.24k, False: 0]
  ------------------
14535|       |
14536|       |#ifdef Py_DEBUG
14537|       |    /* We must not add process-global interned string if there's already a
14538|       |     * per-interpreter interned_dict, which might contain duplicates.
14539|       |     */
14540|       |    PyObject *interned = get_interned_dict(interp);
14541|       |    assert(interned == NULL);
14542|       |#endif
14543|       |
14544|       |    /* Look in the global cache first. */
14545|  2.24k|    PyObject *r = (PyObject *)_Py_hashtable_get(INTERNED_STRINGS, s);
  ------------------
  |  |  223|  2.24k|#define INTERNED_STRINGS _PyRuntime.cached_objects.interned_strings
  ------------------
14546|       |    /* We should only init each string once */
14547|  2.24k|    assert(r == NULL);
  ------------------
  |  Branch (14547:5): [True: 2.24k, False: 0]
  ------------------
14548|       |    /* but just in case (for the non-debug build), handle this */
14549|  2.24k|    if (r != NULL && r != s) {
  ------------------
  |  Branch (14549:9): [True: 0, False: 2.24k]
  |  Branch (14549:22): [True: 0, False: 0]
  ------------------
14550|      0|        assert(_PyUnicode_STATE(r).interned == SSTATE_INTERNED_IMMORTAL_STATIC);
  ------------------
  |  Branch (14550:9): [True: 0, False: 0]
  |  Branch (14550:9): [True: 0, False: 0]
  ------------------
14551|      0|        assert(_PyUnicode_CHECK(r));
  ------------------
  |  Branch (14551:9): [True: 0, False: 0]
  ------------------
14552|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14553|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14554|      0|    }
14555|       |
14556|  2.24k|    if (_Py_hashtable_set(INTERNED_STRINGS, s, s) < -1) {
  ------------------
  |  |  223|  2.24k|#define INTERNED_STRINGS _PyRuntime.cached_objects.interned_strings
  ------------------
  |  Branch (14556:9): [True: 0, False: 2.24k]
  ------------------
14557|      0|        Py_FatalError("failed to intern static string");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
14558|      0|    }
14559|       |
14560|  2.24k|    _PyUnicode_STATE(s).interned = SSTATE_INTERNED_IMMORTAL_STATIC;
  ------------------
  |  |  157|  2.24k|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  2.24k|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  2.24k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  _PyUnicode_STATE(s).interned = SSTATE_INTERNED_IMMORTAL_STATIC;
  ------------------
  |  |  204|  2.24k|#define SSTATE_INTERNED_IMMORTAL_STATIC 3
  ------------------
  |  Branch (14560:5): [True: 2.24k, False: 0]
  ------------------
14561|      0|    return s;
14562|  2.24k|}
unicodeobject.c:intern_common:
14609|  77.6k|{
14610|       |    // Note that this steals a reference to `s`, but in many cases that
14611|       |    // stolen ref is returned, requiring no decref/incref.
14612|       |
14613|       |#ifdef Py_DEBUG
14614|       |    assert(s != NULL);
14615|       |    assert(_PyUnicode_CHECK(s));
14616|       |#else
14617|  77.6k|    if (s == NULL || !PyUnicode_Check(s)) {
  ------------------
  |  |  103|  77.6k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  77.6k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (14617:9): [True: 0, False: 77.6k]
  |  Branch (14617:22): [True: 0, False: 77.6k]
  ------------------
14618|      0|        return s;
14619|      0|    }
14620|  77.6k|#endif
14621|       |
14622|       |    /* If it's a subclass, we don't really know what putting
14623|       |       it in the interned dict might do. */
14624|  77.6k|    if (!PyUnicode_CheckExact(s)) {
  ------------------
  |  |  104|  77.6k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  77.6k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  77.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  77.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14624:9): [True: 0, False: 77.6k]
  ------------------
14625|      0|        return s;
14626|      0|    }
14627|       |
14628|       |    /* Is it already interned? */
14629|  77.6k|    switch (PyUnicode_CHECK_INTERNED(s)) {
  ------------------
  |  |  214|  77.6k|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  77.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  77.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14630|  21.8k|        case SSTATE_NOT_INTERNED:
  ------------------
  |  |  201|  21.8k|#define SSTATE_NOT_INTERNED 0
  ------------------
  |  Branch (14630:9): [True: 21.8k, False: 55.7k]
  ------------------
14631|       |            // no, go on
14632|  21.8k|            break;
14633|    817|        case SSTATE_INTERNED_MORTAL:
  ------------------
  |  |  202|    817|#define SSTATE_INTERNED_MORTAL 1
  ------------------
  |  Branch (14633:9): [True: 817, False: 76.7k]
  ------------------
14634|    817|#ifndef Py_GIL_DISABLED
14635|       |            // yes but we might need to make it immortal
14636|    817|            if (immortalize) {
  ------------------
  |  Branch (14636:17): [True: 0, False: 817]
  ------------------
14637|      0|                immortalize_interned(s);
14638|      0|            }
14639|    817|            return s;
14640|       |#else
14641|       |            // not fully interned yet; fall through to the locking path
14642|       |            break;
14643|       |#endif
14644|  54.9k|        default:
  ------------------
  |  Branch (14644:9): [True: 54.9k, False: 22.6k]
  ------------------
14645|       |            // all done
14646|  54.9k|            return s;
14647|  77.6k|    }
14648|       |
14649|       |    /* Statically allocated strings must be already interned. */
14650|  77.6k|    assert(!_PyUnicode_STATE(s).statically_allocated);
  ------------------
  |  Branch (14650:5): [True: 21.8k, False: 0]
  |  Branch (14650:5): [True: 21.8k, False: 0]
  ------------------
14651|       |
14652|       |#if Py_GIL_DISABLED
14653|       |    /* In the free-threaded build, all interned strings are immortal */
14654|       |    immortalize = 1;
14655|       |#endif
14656|       |
14657|       |    /* If it's already immortal, intern it as such */
14658|  21.8k|    if (_Py_IsImmortal(s)) {
  ------------------
  |  |  137|  21.8k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  21.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 21.8k]
  |  |  ------------------
  ------------------
14659|      0|        immortalize = 1;
14660|      0|    }
14661|       |
14662|       |    /* if it's a short string, get the singleton */
14663|  21.8k|    if (PyUnicode_GET_LENGTH(s) == 1 &&
  ------------------
  |  |  299|  21.8k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  21.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14663:9): [True: 0, False: 21.8k]
  ------------------
14664|      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 (277:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14664:17): [True: 0, False: 0]
  ------------------
14665|      0|        PyObject *r = LATIN1(*(unsigned char*)PyUnicode_DATA(s));
  ------------------
  |  |  188|      0|#define LATIN1 _Py_LATIN1_CHR
  |  |  ------------------
  |  |  |  |  924|      0|    ((CH) < 128 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (924:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  925|      0|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  926|      0|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14666|      0|        assert(PyUnicode_CHECK_INTERNED(r));
  ------------------
  |  Branch (14666:9): [True: 0, False: 0]
  ------------------
14667|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14668|      0|        return r;
14669|      0|    }
14670|       |#ifdef Py_DEBUG
14671|       |    assert(!unicode_is_singleton(s));
14672|       |#endif
14673|       |
14674|       |    /* Look in the global cache now. */
14675|  21.8k|    {
14676|  21.8k|        PyObject *r = (PyObject *)_Py_hashtable_get(INTERNED_STRINGS, s);
  ------------------
  |  |  223|  21.8k|#define INTERNED_STRINGS _PyRuntime.cached_objects.interned_strings
  ------------------
14677|  21.8k|        if (r != NULL) {
  ------------------
  |  Branch (14677:13): [True: 7.08k, False: 14.7k]
  ------------------
14678|  7.08k|            assert(_PyUnicode_STATE(r).statically_allocated);
  ------------------
  |  Branch (14678:13): [True: 7.08k, False: 0]
  |  Branch (14678:13): [True: 7.08k, False: 0]
  ------------------
14679|  7.08k|            assert(r != s);  // r must be statically_allocated; s is not
  ------------------
  |  Branch (14679:13): [True: 7.08k, False: 0]
  ------------------
14680|  7.08k|            Py_DECREF(s);
  ------------------
  |  |  430|  7.08k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14681|  7.08k|            return Py_NewRef(r);
  ------------------
  |  |  550|  7.08k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  7.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14682|  7.08k|        }
14683|  21.8k|    }
14684|       |
14685|       |    /* Do a setdefault on the per-interpreter cache. */
14686|  14.7k|    PyObject *interned = get_interned_dict(interp);
14687|  14.7k|    assert(interned != NULL);
  ------------------
  |  Branch (14687:5): [True: 14.7k, False: 0]
  ------------------
14688|       |#ifdef Py_GIL_DISABLED
14689|       |#  define INTERN_MUTEX &_Py_INTERP_CACHED_OBJECT(interp, interned_mutex)
14690|       |    // Lock-free fast path: check if there's already an interned copy that
14691|       |    // is in its final immortal state.
14692|       |    PyObject *r;
14693|       |    int res = PyDict_GetItemRef(interned, s, &r);
14694|       |    if (res < 0) {
14695|       |        PyErr_Clear();
14696|       |        return s;
14697|       |    }
14698|       |    if (res > 0) {
14699|       |        unsigned int state = _Py_atomic_load_uint8(&_PyUnicode_STATE(r).interned);
14700|       |        if (state == SSTATE_INTERNED_IMMORTAL) {
14701|       |            Py_DECREF(s);
14702|       |            return r;
14703|       |        }
14704|       |        // Not yet fully interned; fall through to the locking path.
14705|       |        Py_DECREF(r);
14706|       |    }
14707|       |#endif
14708|       |
14709|       |#ifdef Py_GIL_DISABLED
14710|       |    // Immortalization writes to the refcount fields non-atomically. That
14711|       |    // races with Py_INCREF / Py_DECREF on the thread that owns `s`. If we
14712|       |    // don't own it (and its refcount hasn't been merged), intern a copy
14713|       |    // we own instead.
14714|       |    if (!can_immortalize_safely(s)) {
14715|       |        PyObject *copy = _PyUnicode_Copy(s);
14716|       |        if (copy == NULL) {
14717|       |            PyErr_Clear();
14718|       |            return s;
14719|       |        }
14720|       |        Py_DECREF(s);
14721|       |        s = copy;
14722|       |    }
14723|       |#endif
14724|       |
14725|  14.7k|    FT_MUTEX_LOCK(INTERN_MUTEX);
  ------------------
  |  |  204|  14.7k|#define FT_MUTEX_LOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (204:42): [Folded, False: 14.7k]
  |  |  ------------------
  ------------------
14726|  14.7k|    PyObject *t;
14727|  14.7k|    {
14728|  14.7k|        int res = PyDict_SetDefaultRef(interned, s, s, &t);
14729|  14.7k|        if (res < 0) {
  ------------------
  |  Branch (14729:13): [True: 0, False: 14.7k]
  ------------------
14730|      0|            PyErr_Clear();
14731|      0|            FT_MUTEX_UNLOCK(INTERN_MUTEX);
  ------------------
  |  |  206|      0|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (206:44): [Folded, False: 0]
  |  |  ------------------
  ------------------
14732|      0|            return s;
14733|      0|        }
14734|  14.7k|        else if (res == 1) {
  ------------------
  |  Branch (14734:18): [True: 4.08k, False: 10.7k]
  ------------------
14735|       |            // value was already present (not inserted)
14736|  4.08k|            Py_DECREF(s);
  ------------------
  |  |  430|  4.08k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14737|  4.08k|            if (immortalize &&
  ------------------
  |  Branch (14737:17): [True: 3.41k, False: 673]
  ------------------
14738|  3.41k|                    PyUnicode_CHECK_INTERNED(t) == SSTATE_INTERNED_MORTAL) {
  ------------------
  |  |  214|  3.41k|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                  PyUnicode_CHECK_INTERNED(t) == SSTATE_INTERNED_MORTAL) {
  ------------------
  |  |  202|  3.41k|#define SSTATE_INTERNED_MORTAL 1
  ------------------
  |  Branch (14738:21): [True: 381, False: 3.02k]
  ------------------
14739|    381|                immortalize_interned(t);
14740|    381|            }
14741|  4.08k|            FT_MUTEX_UNLOCK(INTERN_MUTEX);
  ------------------
  |  |  206|  4.08k|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (206:44): [Folded, False: 4.08k]
  |  |  ------------------
  ------------------
14742|  4.08k|            return t;
14743|  4.08k|        }
14744|  10.7k|        else {
14745|       |            // value was newly inserted
14746|  10.7k|            assert (s == t);
  ------------------
  |  Branch (14746:13): [True: 10.7k, False: 0]
  ------------------
14747|  10.7k|            Py_DECREF(t);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14748|  10.7k|        }
14749|  14.7k|    }
14750|       |
14751|       |    /* NOT_INTERNED -> INTERNED_MORTAL */
14752|       |
14753|  14.7k|    assert(_PyUnicode_STATE(s).interned == SSTATE_NOT_INTERNED);
  ------------------
  |  Branch (14753:5): [True: 10.7k, False: 0]
  |  Branch (14753:5): [True: 10.7k, False: 0]
  ------------------
14754|       |
14755|  10.7k|    if (!_Py_IsImmortal(s)) {
  ------------------
  |  |  137|  10.7k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14755:9): [True: 10.7k, False: 0]
  ------------------
14756|       |        /* The two references in interned dict (key and value) are not counted.
14757|       |        unicode_dealloc() and _PyUnicode_ClearInterned() take care of this. */
14758|  10.7k|        Py_DECREF(s);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14759|  10.7k|        Py_DECREF(s);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14760|  10.7k|    }
14761|  10.7k|    FT_ATOMIC_STORE_UINT8(_PyUnicode_STATE(s).interned, SSTATE_INTERNED_MORTAL);
  ------------------
  |  |  155|  21.4k|#define FT_ATOMIC_STORE_UINT8(value, new_value) value = new_value
  |  |  ------------------
  |  |  |  Branch (155:49): [True: 10.7k, False: 0]
  |  |  ------------------
  ------------------
14762|       |
14763|       |    /* INTERNED_MORTAL -> INTERNED_IMMORTAL (if needed) */
14764|       |
14765|       |#ifdef Py_DEBUG
14766|       |    if (_Py_IsImmortal(s)) {
14767|       |        assert(immortalize);
14768|       |    }
14769|       |#endif
14770|  10.7k|    if (immortalize) {
  ------------------
  |  Branch (14770:9): [True: 9.15k, False: 1.54k]
  ------------------
14771|  9.15k|        immortalize_interned(s);
14772|  9.15k|    }
14773|       |
14774|  10.7k|    FT_MUTEX_UNLOCK(INTERN_MUTEX);
  ------------------
  |  |  206|  10.7k|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (206:44): [Folded, False: 10.7k]
  |  |  ------------------
  ------------------
14775|  10.7k|    return s;
14776|  10.7k|}
unicodeobject.c:immortalize_interned:
14576|  9.53k|{
14577|  9.53k|    assert(PyUnicode_CHECK_INTERNED(s) == SSTATE_INTERNED_MORTAL);
  ------------------
  |  Branch (14577:5): [True: 9.53k, False: 0]
  ------------------
14578|  9.53k|    assert(!_Py_IsImmortal(s));
  ------------------
  |  Branch (14578:5): [True: 9.53k, False: 0]
  ------------------
14579|       |#ifdef Py_REF_DEBUG
14580|       |    /* The reference count value should be excluded from the RefTotal.
14581|       |       The decrements to these objects will not be registered so they
14582|       |       need to be accounted for in here. */
14583|       |    for (Py_ssize_t i = 0; i < Py_REFCNT(s); i++) {
14584|       |        _Py_DecRefTotal(_PyThreadState_GET());
14585|       |    }
14586|       |#endif
14587|  9.53k|    _Py_SetImmortal(s);
14588|       |    // The switch to SSTATE_INTERNED_IMMORTAL must be the last thing done here
14589|       |    // to synchronize with the check in intern_common() that avoids locking if
14590|       |    // the string is already immortal.
14591|  9.53k|    FT_ATOMIC_STORE_UINT8(_PyUnicode_STATE(s).interned, SSTATE_INTERNED_IMMORTAL);
  ------------------
  |  |  155|  19.0k|#define FT_ATOMIC_STORE_UINT8(value, new_value) value = new_value
  |  |  ------------------
  |  |  |  Branch (155:49): [True: 9.53k, False: 0]
  |  |  ------------------
  ------------------
14592|  9.53k|}
unicodeobject.c:has_shared_intern_dict:
  288|      2|{
  289|      2|    PyInterpreterState *main_interp = _PyInterpreterState_Main();
  290|      2|    return interp != main_interp  && interp->feature_flags & Py_RTFLAGS_USE_MAIN_OBMALLOC;
  ------------------
  |  |   79|      2|#define Py_RTFLAGS_USE_MAIN_OBMALLOC (1UL << 5)
  ------------------
  |  Branch (290:12): [True: 0, False: 2]
  |  Branch (290:38): [True: 0, False: 0]
  ------------------
  291|      2|}
unicodeobject.c:unicodeiter_dealloc:
14928|     31|{
14929|     31|    unicodeiterobject *it = (unicodeiterobject *)op;
14930|     31|    _PyObject_GC_UNTRACK(it);
  ------------------
  |  |  509|     31|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14931|     31|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  524|     31|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14932|     31|    PyObject_GC_Del(it);
14933|     31|}
unicodeobject.c:unicode_ascii_iter_next:
14970|    160|{
14971|    160|    unicodeiterobject *it = (unicodeiterobject *)op;
14972|    160|    assert(it != NULL);
  ------------------
  |  Branch (14972:5): [True: 160, False: 0]
  ------------------
14973|    160|    PyObject *seq = it->it_seq;
14974|    160|    if (seq == NULL) {
  ------------------
  |  Branch (14974:9): [True: 0, False: 160]
  ------------------
14975|      0|        return NULL;
14976|      0|    }
14977|    160|    assert(_PyUnicode_CHECK(seq));
  ------------------
  |  Branch (14977:5): [True: 160, False: 0]
  ------------------
14978|    160|    assert(PyUnicode_IS_COMPACT_ASCII(seq));
  ------------------
  |  Branch (14978:5): [True: 160, False: 0]
  ------------------
14979|    160|    if (it->it_index < PyUnicode_GET_LENGTH(seq)) {
  ------------------
  |  |  299|    160|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    160|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    160|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14979:9): [True: 131, False: 29]
  ------------------
14980|    131|        const void *data = ((void*)(_PyASCIIObject_CAST(seq) + 1));
  ------------------
  |  |  186|    131|    (assert(PyUnicode_Check(op)), \
  |  |  187|    131|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    131|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (14980:37): [True: 131, False: 0]
  ------------------
14981|    131|        Py_UCS1 chr = (Py_UCS1)PyUnicode_READ(PyUnicode_1BYTE_KIND,
  ------------------
  |  |  354|    131|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|    131|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|    131|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|    131|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|    131|                   (index))
  ------------------
14982|    131|                                              data, it->it_index);
14983|    131|        it->it_index++;
14984|    131|        return (PyObject*)&_Py_SINGLETON(strings).ascii[chr];
  ------------------
  |  |   18|    131|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|    131|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
14985|    131|    }
14986|     29|    it->it_seq = NULL;
14987|     29|    Py_DECREF(seq);
  ------------------
  |  |  430|     29|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14988|       |    return NULL;
14989|    160|}
unicodeobject.c:unicode_iter:
15101|     31|{
15102|     31|    unicodeiterobject *it;
15103|       |
15104|     31|    if (!PyUnicode_Check(seq)) {
  ------------------
  |  |  103|     31|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     31|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (15104:9): [True: 0, False: 31]
  ------------------
15105|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
15106|      0|        return NULL;
15107|      0|    }
15108|     31|    if (PyUnicode_IS_COMPACT_ASCII(seq)) {
  ------------------
  |  |  241|     31|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (241:40): [True: 31, False: 0]
  |  |  ------------------
  ------------------
15109|     31|        it = PyObject_GC_New(unicodeiterobject, &_PyUnicodeASCIIIter_Type);
  ------------------
  |  |  181|     31|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
15110|     31|    }
15111|      0|    else {
15112|      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))
  |  |  ------------------
  ------------------
15113|      0|    }
15114|     31|    if (it == NULL)
  ------------------
  |  Branch (15114:9): [True: 0, False: 31]
  ------------------
15115|      0|        return NULL;
15116|     31|    it->it_index = 0;
15117|     31|    it->it_seq = Py_NewRef(seq);
  ------------------
  |  |  550|     31|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15118|     31|    _PyObject_GC_TRACK(it);
  ------------------
  |  |  507|     31|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15119|     31|    return (PyObject *)it;
15120|     31|}
unicodeobject.c:init_fs_encoding:
15258|      2|{
15259|      2|    PyInterpreterState *interp = tstate->interp;
15260|       |
15261|       |    /* Update the filesystem encoding to the normalized Python codec name.
15262|       |       For example, replace "ANSI_X3.4-1968" (locale encoding) with "ascii"
15263|       |       (Python codec name). */
15264|      2|    PyConfig *config = (PyConfig*)_PyInterpreterState_GetConfig(interp);
15265|      2|    if (config_get_codec_name(&config->filesystem_encoding) < 0) {
  ------------------
  |  Branch (15265:9): [True: 0, False: 2]
  ------------------
15266|      0|        _Py_DumpPathConfig(tstate);
15267|      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)}
  ------------------
15268|      0|                             "of the filesystem encoding");
15269|      0|    }
15270|       |
15271|      2|    if (init_fs_codec(interp) < 0) {
  ------------------
  |  Branch (15271:9): [True: 0, False: 2]
  ------------------
15272|      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)}
  ------------------
15273|      0|    }
15274|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
15275|      2|}
unicodeobject.c:config_get_codec_name:
15141|      4|{
15142|      4|    char *encoding;
15143|      4|    if (encode_wstr_utf8(*config_encoding, &encoding, "stdio_encoding") < 0) {
  ------------------
  |  Branch (15143:9): [True: 0, False: 4]
  ------------------
15144|      0|        return -1;
15145|      0|    }
15146|       |
15147|      4|    PyObject *name_obj = NULL;
15148|      4|    PyObject *codec = _PyCodec_Lookup(encoding);
15149|      4|    PyMem_RawFree(encoding);
15150|       |
15151|      4|    if (!codec)
  ------------------
  |  Branch (15151:9): [True: 0, False: 4]
  ------------------
15152|      0|        goto error;
15153|       |
15154|      4|    name_obj = PyObject_GetAttrString(codec, "name");
15155|      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]
  |  |  ------------------
  ------------------
15156|      4|    if (!name_obj) {
  ------------------
  |  Branch (15156:9): [True: 0, False: 4]
  ------------------
15157|      0|        goto error;
15158|      0|    }
15159|       |
15160|      4|    wchar_t *wname = PyUnicode_AsWideCharString(name_obj, NULL);
15161|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15162|      4|    if (wname == NULL) {
  ------------------
  |  Branch (15162:9): [True: 0, False: 4]
  ------------------
15163|      0|        goto error;
15164|      0|    }
15165|       |
15166|      4|    wchar_t *raw_wname = _PyMem_RawWcsdup(wname);
15167|      4|    if (raw_wname == NULL) {
  ------------------
  |  Branch (15167:9): [True: 0, False: 4]
  ------------------
15168|      0|        PyMem_Free(wname);
15169|      0|        PyErr_NoMemory();
15170|      0|        goto error;
15171|      0|    }
15172|       |
15173|      4|    PyMem_RawFree(*config_encoding);
15174|      4|    *config_encoding = raw_wname;
15175|       |
15176|      4|    PyMem_Free(wname);
15177|      4|    return 0;
15178|       |
15179|      0|error:
15180|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15181|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15182|      0|    return -1;
15183|      4|}
unicodeobject.c:encode_wstr_utf8:
15124|      8|{
15125|      8|    int res;
15126|      8|    res = _Py_EncodeUTF8Ex(wstr, str, NULL, NULL, 1, _Py_ERROR_STRICT);
15127|      8|    if (res == -2) {
  ------------------
  |  Branch (15127:9): [True: 0, False: 8]
  ------------------
15128|      0|        PyErr_Format(PyExc_RuntimeError, "cannot encode %s", name);
15129|      0|        return -1;
15130|      0|    }
15131|      8|    if (res < 0) {
  ------------------
  |  Branch (15131:9): [True: 0, False: 8]
  ------------------
15132|      0|        PyErr_NoMemory();
15133|      0|        return -1;
15134|      0|    }
15135|      8|    return 0;
15136|      8|}
unicodeobject.c:init_fs_codec:
15201|      2|{
15202|      2|    const PyConfig *config = _PyInterpreterState_GetConfig(interp);
15203|       |
15204|      2|    _Py_error_handler error_handler;
15205|      2|    error_handler = get_error_handler_wide(config->filesystem_errors);
15206|      2|    if (error_handler == _Py_ERROR_UNKNOWN) {
  ------------------
  |  Branch (15206:9): [True: 0, False: 2]
  ------------------
15207|      0|        PyErr_SetString(PyExc_RuntimeError, "unknown filesystem error handler");
15208|      0|        return -1;
15209|      0|    }
15210|       |
15211|      2|    char *encoding, *errors;
15212|      2|    if (encode_wstr_utf8(config->filesystem_encoding,
  ------------------
  |  Branch (15212:9): [True: 0, False: 2]
  ------------------
15213|      2|                         &encoding,
15214|      2|                         "filesystem_encoding") < 0) {
15215|      0|        return -1;
15216|      0|    }
15217|       |
15218|      2|    if (encode_wstr_utf8(config->filesystem_errors,
  ------------------
  |  Branch (15218:9): [True: 0, False: 2]
  ------------------
15219|      2|                         &errors,
15220|      2|                         "filesystem_errors") < 0) {
15221|      0|        PyMem_RawFree(encoding);
15222|      0|        return -1;
15223|      0|    }
15224|       |
15225|      2|    struct _Py_unicode_fs_codec *fs_codec = &interp->unicode.fs_codec;
15226|      2|    PyMem_RawFree(fs_codec->encoding);
15227|      2|    fs_codec->encoding = encoding;
15228|       |    /* encoding has been normalized by init_fs_encoding() */
15229|      2|    fs_codec->utf8 = (strcmp(encoding, "utf-8") == 0);
15230|      2|    PyMem_RawFree(fs_codec->errors);
15231|      2|    fs_codec->errors = errors;
15232|      2|    fs_codec->error_handler = error_handler;
15233|       |
15234|       |#ifdef _Py_FORCE_UTF8_FS_ENCODING
15235|       |    assert(fs_codec->utf8 == 1);
15236|       |#endif
15237|       |
15238|       |    /* At this point, PyUnicode_EncodeFSDefault() and
15239|       |       PyUnicode_DecodeFSDefault() can now use the Python codec rather than
15240|       |       the C implementation of the filesystem encoding. */
15241|       |
15242|       |    /* Set Py_FileSystemDefaultEncoding and Py_FileSystemDefaultEncodeErrors
15243|       |       global configuration variables. */
15244|      2|    if (_Py_IsMainInterpreter(interp)) {
  ------------------
  |  Branch (15244:9): [True: 2, False: 0]
  ------------------
15245|       |
15246|      2|        if (_Py_SetFileSystemEncoding(fs_codec->encoding,
  ------------------
  |  Branch (15246:13): [True: 0, False: 2]
  ------------------
15247|      2|                                      fs_codec->errors) < 0) {
15248|      0|            PyErr_NoMemory();
15249|      0|            return -1;
15250|      0|        }
15251|      2|    }
15252|      2|    return 0;
15253|      2|}
unicodeobject.c:init_stdio_encoding:
15188|      2|{
15189|       |    /* Update the stdio encoding to the normalized Python codec name. */
15190|      2|    PyConfig *config = (PyConfig*)_PyInterpreterState_GetConfig(interp);
15191|      2|    if (config_get_codec_name(&config->stdio_encoding) < 0) {
  ------------------
  |  Branch (15191:9): [True: 0, False: 2]
  ------------------
15192|      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)}
  ------------------
15193|      0|                             "of the stdio encoding");
15194|      0|    }
15195|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
15196|      2|}

_Py_union_type_or:
  259|      1|{
  260|      1|    if (!is_unionable(self) || !is_unionable(other)) {
  ------------------
  |  Branch (260:9): [True: 0, False: 1]
  |  Branch (260:32): [True: 0, False: 1]
  ------------------
  261|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
  262|      0|    }
  263|       |
  264|      1|    unionbuilder ub;
  265|       |    // unchecked because we already checked is_unionable()
  266|      1|    if (!unionbuilder_init(&ub, false)) {
  ------------------
  |  Branch (266:9): [True: 0, False: 1]
  ------------------
  267|      0|        return NULL;
  268|      0|    }
  269|      1|    if (!unionbuilder_add_single(&ub, self) ||
  ------------------
  |  Branch (269:9): [True: 0, False: 1]
  ------------------
  270|      1|        !unionbuilder_add_single(&ub, other)) {
  ------------------
  |  Branch (270:9): [True: 0, False: 1]
  ------------------
  271|      0|        unionbuilder_finalize(&ub);
  272|      0|        return NULL;
  273|      0|    }
  274|       |
  275|      1|    PyObject *new_union = make_union(&ub);
  276|      1|    return new_union;
  277|      1|}
unionobject.c:is_unionable:
  245|      2|{
  246|      2|    if (obj == Py_None ||
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (246:9): [True: 0, False: 2]
  ------------------
  247|      2|        PyType_Check(obj) ||
  ------------------
  |  |  766|      4|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 2, False: 0]
  |  |  ------------------
  ------------------
  248|      2|        PySentinel_Check(obj) ||
  ------------------
  |  |   15|      2|#define PySentinel_Check(op) PySentinel_CheckExact(op)
  |  |  ------------------
  |  |  |  |   12|      0|#define PySentinel_CheckExact(op) Py_IS_TYPE((op), &PySentinel_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|      2|#  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|      2|        _PyGenericAlias_Check(obj) ||
  ------------------
  |  |   17|      0|#define _PyGenericAlias_Check(op) PyObject_TypeCheck((op), &Py_GenericAliasType)
  |  |  ------------------
  |  |  |  |  378|      2|#  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|      2|        _PyUnion_Check(obj) ||
  ------------------
  |  |   15|      0|#define _PyUnion_Check(op) Py_IS_TYPE((op), &_PyUnion_Type)
  |  |  ------------------
  |  |  |  |  215|      2|#  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  251|      2|        Py_IS_TYPE(obj, &_PyTypeAlias_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]
  |  |  ------------------
  ------------------
  252|      2|        return 1;
  253|      2|    }
  254|      0|    return 0;
  255|      2|}
unionobject.c:unionbuilder_init:
  144|      1|{
  145|      1|    ub->args = PyList_New(0);
  146|      1|    if (ub->args == NULL) {
  ------------------
  |  Branch (146:9): [True: 0, False: 1]
  ------------------
  147|      0|        return false;
  148|      0|    }
  149|      1|    ub->hashable_args = PySet_New(NULL);
  150|      1|    if (ub->hashable_args == NULL) {
  ------------------
  |  Branch (150:9): [True: 0, False: 1]
  ------------------
  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|      1|    ub->unhashable_args = NULL;
  155|      1|    ub->is_checked = is_checked;
  156|       |    return true;
  157|      1|}
unionobject.c:unionbuilder_add_single:
  209|      2|{
  210|      2|    if (Py_IsNone(arg)) {
  ------------------
  |  |  621|      2|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|      2|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  211|      0|        arg = (PyObject *)&_PyNone_Type;  // immortal, so no refcounting needed
  212|      0|    }
  213|      2|    else if (_PyUnion_Check(arg)) {
  ------------------
  |  |   15|      2|#define _PyUnion_Check(op) Py_IS_TYPE((op), &_PyUnion_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  214|      0|        PyObject *args = ((unionobject *)arg)->args;
  215|      0|        return unionbuilder_add_tuple(ub, args);
  216|      0|    }
  217|      2|    if (ub->is_checked) {
  ------------------
  |  Branch (217:9): [True: 0, False: 2]
  ------------------
  218|      0|        PyObject *type = type_check(arg, "Union[arg, ...]: each arg must be a type.");
  219|      0|        if (type == NULL) {
  ------------------
  |  Branch (219:13): [True: 0, False: 0]
  ------------------
  220|      0|            return false;
  221|      0|        }
  222|      0|        bool result = unionbuilder_add_single_unchecked(ub, type);
  223|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  224|      0|        return result;
  225|      0|    }
  226|      2|    else {
  227|      2|        return unionbuilder_add_single_unchecked(ub, arg);
  228|      2|    }
  229|      2|}
unionobject.c:unionbuilder_add_single_unchecked:
  169|      2|{
  170|      2|    Py_hash_t hash = PyObject_Hash(arg);
  171|      2|    if (hash == -1) {
  ------------------
  |  Branch (171:9): [True: 0, False: 2]
  ------------------
  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|      2|    else {
  193|      2|        int contains = PySet_Contains(ub->hashable_args, arg);
  194|      2|        if (contains < 0) {
  ------------------
  |  Branch (194:13): [True: 0, False: 2]
  ------------------
  195|      0|            return false;
  196|      0|        }
  197|      2|        if (contains == 1) {
  ------------------
  |  Branch (197:13): [True: 0, False: 2]
  ------------------
  198|      0|            return true;
  199|      0|        }
  200|      2|        if (PySet_Add(ub->hashable_args, arg) < 0) {
  ------------------
  |  Branch (200:13): [True: 0, False: 2]
  ------------------
  201|      0|            return false;
  202|      0|        }
  203|      2|    }
  204|      2|    return PyList_Append(ub->args, arg) == 0;
  205|      2|}
unionobject.c:unionbuilder_finalize:
  161|      1|{
  162|      1|    Py_DECREF(ub->args);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  163|      1|    Py_DECREF(ub->hashable_args);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  164|      1|    Py_XDECREF(ub->unhashable_args);
  ------------------
  |  |  524|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  165|      1|}
unionobject.c:unionobject_dealloc:
   21|      1|{
   22|      1|    unionobject *alias = (unionobject *)self;
   23|       |
   24|      1|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  509|      1|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   25|      1|    FT_CLEAR_WEAKREFS(self, alias->weakreflist);
  ------------------
  |  |   47|      1|    do {                                            \
  |  |   48|      1|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|      1|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 1]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
  |  Branch (25:5): [True: 1, False: 0]
  ------------------
   26|       |
   27|      1|    Py_XDECREF(alias->args);
  ------------------
  |  |  524|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   28|      1|    Py_XDECREF(alias->hashable_args);
  ------------------
  |  |  524|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   29|      1|    Py_XDECREF(alias->unhashable_args);
  ------------------
  |  |  524|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   30|      1|    Py_XDECREF(alias->parameters);
  ------------------
  |  |  524|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   31|      1|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|      1|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|      1|}
unionobject.c:make_union:
  552|      1|{
  553|      1|    Py_ssize_t n = PyList_GET_SIZE(ub->args);
  ------------------
  |  |   38|      1|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  554|      1|    if (n == 0) {
  ------------------
  |  Branch (554:9): [True: 0, False: 1]
  ------------------
  555|      0|        PyErr_SetString(PyExc_TypeError, "Cannot take a Union of no types.");
  556|      0|        unionbuilder_finalize(ub);
  557|      0|        return NULL;
  558|      0|    }
  559|      1|    if (n == 1) {
  ------------------
  |  Branch (559:9): [True: 0, False: 1]
  ------------------
  560|      0|        PyObject *result = PyList_GET_ITEM(ub->args, 0);
  ------------------
  |  |   40|      0|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|      0|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (560:28): [True: 0, False: 0]
  ------------------
  561|      0|        Py_INCREF(result);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|      0|        unionbuilder_finalize(ub);
  563|      0|        return result;
  564|      0|    }
  565|       |
  566|      1|    PyObject *args = NULL, *hashable_args = NULL, *unhashable_args = NULL;
  567|      1|    args = PyList_AsTuple(ub->args);
  568|      1|    if (args == NULL) {
  ------------------
  |  Branch (568:9): [True: 0, False: 1]
  ------------------
  569|      0|        goto error;
  570|      0|    }
  571|      1|    hashable_args = PyFrozenSet_New(ub->hashable_args);
  572|      1|    if (hashable_args == NULL) {
  ------------------
  |  Branch (572:9): [True: 0, False: 1]
  ------------------
  573|      0|        goto error;
  574|      0|    }
  575|      1|    if (ub->unhashable_args != NULL) {
  ------------------
  |  Branch (575:9): [True: 0, False: 1]
  ------------------
  576|      0|        unhashable_args = PyList_AsTuple(ub->unhashable_args);
  577|      0|        if (unhashable_args == NULL) {
  ------------------
  |  Branch (577:13): [True: 0, False: 0]
  ------------------
  578|      0|            goto error;
  579|      0|        }
  580|      0|    }
  581|       |
  582|      1|    unionobject *result = PyObject_GC_New(unionobject, &_PyUnion_Type);
  ------------------
  |  |  181|      1|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  583|      1|    if (result == NULL) {
  ------------------
  |  Branch (583:9): [True: 0, False: 1]
  ------------------
  584|      0|        goto error;
  585|      0|    }
  586|      1|    unionbuilder_finalize(ub);
  587|       |
  588|      1|    result->parameters = NULL;
  589|      1|    result->args = args;
  590|      1|    result->hashable_args = hashable_args;
  591|      1|    result->unhashable_args = unhashable_args;
  592|      1|    result->weakreflist = NULL;
  593|      1|    _PyObject_GC_TRACK(result);
  ------------------
  |  |  507|      1|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  594|      1|    return (PyObject*)result;
  595|      0|error:
  596|      0|    Py_XDECREF(args);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  597|      0|    Py_XDECREF(hashable_args);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  598|      0|    Py_XDECREF(unhashable_args);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  599|      0|    unionbuilder_finalize(ub);
  600|       |    return NULL;
  601|      1|}

_PyWeakref_GetWeakrefCount:
   43|    209|{
   44|    209|    if (!_PyType_SUPPORTS_WEAKREFS(Py_TYPE(obj))) {
  ------------------
  |  |  213|    209|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    209|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    209|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (44:9): [True: 0, False: 209]
  ------------------
   45|      0|        return 0;
   46|      0|    }
   47|       |
   48|    209|    LOCK_WEAKREFS(obj);
   49|    209|    Py_ssize_t count = 0;
   50|    209|    PyWeakReference *head = *GET_WEAKREFS_LISTPTR(obj);
  ------------------
  |  |   38|    209|        ((PyWeakReference **) _PyObject_GET_WEAKREFS_LISTPTR(o))
  ------------------
   51|    418|    while (head != NULL) {
  ------------------
  |  Branch (51:12): [True: 209, False: 209]
  ------------------
   52|    209|        ++count;
   53|    209|        head = head->wr_next;
   54|    209|    }
   55|    209|    UNLOCK_WEAKREFS(obj);
   56|    209|    return count;
   57|    209|}
_PyWeakref_ClearRef:
  134|      8|{
  135|      8|    assert(self != NULL);
  ------------------
  |  Branch (135:5): [True: 8, False: 0]
  ------------------
  136|      8|    assert(PyWeakref_Check(self));
  ------------------
  |  Branch (136:5): [True: 0, False: 0]
  |  Branch (136:5): [True: 0, False: 0]
  |  Branch (136:5): [True: 8, False: 0]
  ------------------
  137|      8|    clear_weakref_lock_held(self, NULL);
  138|      8|}
PyWeakref_NewRef:
  928|  1.16k|{
  929|  1.16k|    return (PyObject *)get_or_create_weakref(&_PyWeakref_RefType, ob,
  930|  1.16k|                                             callback);
  931|  1.16k|}
PyWeakref_GetRef:
  959|     50|{
  960|     50|    if (ref == NULL) {
  ------------------
  |  Branch (960:9): [True: 0, False: 50]
  ------------------
  961|      0|        *pobj = NULL;
  962|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  963|      0|        return -1;
  964|      0|    }
  965|     50|    if (!PyWeakref_Check(ref)) {
  ------------------
  |  |   23|     50|        (PyWeakref_CheckRef(op) || PyWeakref_CheckProxy(op))
  |  |  ------------------
  |  |  |  |   15|     50|#define PyWeakref_CheckRef(op) PyObject_TypeCheck((op), &_PyWeakref_RefType)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|    100|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 50, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  966|      0|        *pobj = NULL;
  967|      0|        PyErr_SetString(PyExc_TypeError, "expected a weakref");
  968|      0|        return -1;
  969|      0|    }
  970|     50|    *pobj = _PyWeakref_GET_REF(ref);
  971|       |    return (*pobj != NULL);
  972|     50|}
PyObject_ClearWeakRefs:
 1016|  6.92M|{
 1017|  6.92M|    PyWeakReference **list;
 1018|       |
 1019|  6.92M|    if (object == NULL
  ------------------
  |  Branch (1019:9): [True: 0, False: 6.92M]
  ------------------
 1020|  6.92M|        || !_PyType_SUPPORTS_WEAKREFS(Py_TYPE(object))
  ------------------
  |  |  213|  6.92M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.92M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.92M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1020:12): [True: 0, False: 6.92M]
  ------------------
 1021|  6.92M|        || Py_REFCNT(object) != 0)
  ------------------
  |  |  119|  6.92M|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.92M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.92M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1021:12): [True: 0, False: 6.92M]
  ------------------
 1022|      0|    {
 1023|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1024|      0|        return;
 1025|      0|    }
 1026|       |
 1027|  6.92M|    list = GET_WEAKREFS_LISTPTR(object);
  ------------------
  |  |   38|  6.92M|        ((PyWeakReference **) _PyObject_GET_WEAKREFS_LISTPTR(o))
  ------------------
 1028|  6.92M|    if (FT_ATOMIC_LOAD_PTR(*list) == NULL) {
  ------------------
  |  |  145|  6.92M|#define FT_ATOMIC_LOAD_PTR(value) value
  ------------------
  |  Branch (1028:9): [True: 6.92M, False: 209]
  ------------------
 1029|       |        // Fast path for the common case
 1030|  6.92M|        return;
 1031|  6.92M|    }
 1032|       |
 1033|       |    /* Remove the callback-less basic and proxy references, which always appear
 1034|       |       at the head of the list.
 1035|       |    */
 1036|    418|    for (int done = 0; !done;) {
  ------------------
  |  Branch (1036:24): [True: 209, False: 209]
  ------------------
 1037|    209|        LOCK_WEAKREFS(object);
 1038|    209|        if (*list != NULL && is_basic_ref_or_proxy(*list)) {
  ------------------
  |  Branch (1038:13): [True: 209, False: 0]
  |  Branch (1038:30): [True: 0, False: 209]
  ------------------
 1039|      0|            PyObject *callback;
 1040|      0|            clear_weakref_lock_held(*list, &callback);
 1041|      0|            assert(callback == NULL);
  ------------------
  |  Branch (1041:13): [True: 0, False: 0]
  ------------------
 1042|      0|        }
 1043|    209|        done = (*list == NULL) || !is_basic_ref_or_proxy(*list);
  ------------------
  |  Branch (1043:16): [True: 0, False: 209]
  |  Branch (1043:35): [True: 209, False: 0]
  ------------------
 1044|    209|        UNLOCK_WEAKREFS(object);
 1045|    209|    }
 1046|       |
 1047|       |    /* Deal with non-canonical (subtypes or refs with callbacks) references. */
 1048|    209|    Py_ssize_t num_weakrefs = _PyWeakref_GetWeakrefCount(object);
 1049|    209|    if (num_weakrefs == 0) {
  ------------------
  |  Branch (1049:9): [True: 0, False: 209]
  ------------------
 1050|      0|        return;
 1051|      0|    }
 1052|       |
 1053|    209|    PyObject *exc = PyErr_GetRaisedException();
 1054|    209|    PyObject *tuple = PyTuple_New(num_weakrefs * 2);
 1055|    209|    if (tuple == NULL) {
  ------------------
  |  Branch (1055:9): [True: 0, False: 209]
  ------------------
 1056|      0|        _PyWeakref_ClearWeakRefsNoCallbacks(object);
 1057|      0|        PyErr_FormatUnraisable("Exception ignored while "
 1058|      0|                               "clearing object weakrefs");
 1059|      0|        PyErr_SetRaisedException(exc);
 1060|      0|        return;
 1061|      0|    }
 1062|       |
 1063|    209|    Py_ssize_t num_items = 0;
 1064|    418|    for (int done = 0; !done;) {
  ------------------
  |  Branch (1064:24): [True: 209, False: 209]
  ------------------
 1065|    209|        PyObject *callback = NULL;
 1066|    209|        LOCK_WEAKREFS(object);
 1067|    209|        PyWeakReference *cur = *list;
 1068|    209|        if (cur != NULL) {
  ------------------
  |  Branch (1068:13): [True: 209, False: 0]
  ------------------
 1069|    209|            clear_weakref_lock_held(cur, &callback);
 1070|    209|            if (_Py_TryIncref((PyObject *) cur)) {
  ------------------
  |  Branch (1070:17): [True: 209, False: 0]
  ------------------
 1071|    209|                assert(num_items / 2 < num_weakrefs);
  ------------------
  |  Branch (1071:17): [True: 209, False: 0]
  ------------------
 1072|    209|                PyTuple_SET_ITEM(tuple, num_items, (PyObject *) cur);
  ------------------
  |  |   40|    209|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    209|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    209|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    209|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    209|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1073|    209|                PyTuple_SET_ITEM(tuple, num_items + 1, callback);
  ------------------
  |  |   40|    209|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    209|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    209|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    209|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    209|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1074|    209|                num_items += 2;
 1075|    209|                callback = NULL;
 1076|    209|            }
 1077|    209|        }
 1078|    209|        done = (*list == NULL);
 1079|    209|        UNLOCK_WEAKREFS(object);
 1080|       |
 1081|    209|        Py_XDECREF(callback);
  ------------------
  |  |  524|    209|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    209|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    209|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1082|    209|    }
 1083|       |
 1084|    418|    for (Py_ssize_t i = 0; i < num_items; i += 2) {
  ------------------
  |  Branch (1084:28): [True: 209, False: 209]
  ------------------
 1085|    209|        PyObject *callback = PyTuple_GET_ITEM(tuple, i + 1);
  ------------------
  |  |   29|    209|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    209|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    209|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1085:30): [True: 209, False: 0]
  ------------------
 1086|    209|        if (callback != NULL) {
  ------------------
  |  Branch (1086:13): [True: 209, False: 0]
  ------------------
 1087|    209|            PyObject *weakref = PyTuple_GET_ITEM(tuple, i);
  ------------------
  |  |   29|    209|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    209|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    209|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1087:33): [True: 209, False: 0]
  ------------------
 1088|      0|            handle_callback((PyWeakReference *)weakref, callback);
 1089|    209|        }
 1090|    209|    }
 1091|       |
 1092|    209|    Py_DECREF(tuple);
  ------------------
  |  |  430|    209|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    209|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    209|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1093|       |
 1094|    209|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (1094:5): [True: 209, False: 0]
  ------------------
 1095|    209|    PyErr_SetRaisedException(exc);
 1096|    209|}
weakrefobject.c:clear_weakref_lock_held:
   80|    490|{
   81|    490|    if (self->wr_object != Py_None) {
  ------------------
  |  |  616|    490|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (81:9): [True: 273, False: 217]
  ------------------
   82|    273|        PyWeakReference **list = GET_WEAKREFS_LISTPTR(self->wr_object);
  ------------------
  |  |   38|    273|        ((PyWeakReference **) _PyObject_GET_WEAKREFS_LISTPTR(o))
  ------------------
   83|    273|        if (*list == self) {
  ------------------
  |  Branch (83:13): [True: 246, False: 27]
  ------------------
   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|    246|            FT_ATOMIC_STORE_PTR(*list, self->wr_next);
  ------------------
  |  |  146|    246|#define FT_ATOMIC_STORE_PTR(value, new_value) value = new_value
  ------------------
   88|    246|        }
   89|    273|        FT_ATOMIC_STORE_PTR(self->wr_object, Py_None);
  ------------------
  |  |  146|    273|#define FT_ATOMIC_STORE_PTR(value, new_value) value = new_value
  ------------------
   90|    273|        if (self->wr_prev != NULL) {
  ------------------
  |  Branch (90:13): [True: 27, False: 246]
  ------------------
   91|     27|            self->wr_prev->wr_next = self->wr_next;
   92|     27|        }
   93|    273|        if (self->wr_next != NULL) {
  ------------------
  |  Branch (93:13): [True: 3, False: 270]
  ------------------
   94|      3|            self->wr_next->wr_prev = self->wr_prev;
   95|      3|        }
   96|    273|        self->wr_prev = NULL;
   97|    273|        self->wr_next = NULL;
   98|    273|    }
   99|    490|    if (callback != NULL) {
  ------------------
  |  Branch (99:9): [True: 482, False: 8]
  ------------------
  100|    482|        *callback = self->wr_callback;
  101|       |        self->wr_callback = NULL;
  102|    482|    }
  103|    490|}
weakrefobject.c:weakref_dealloc:
  142|    273|{
  143|    273|    PyObject_GC_UnTrack(self);
  144|    273|    clear_weakref(self);
  145|    273|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|    273|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    273|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    273|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  146|    273|}
weakrefobject.c:clear_weakref:
  108|    273|{
  109|    273|    PyWeakReference *self = _PyWeakref_CAST(op);
  ------------------
  |  |   46|    273|    (assert(PyWeakref_Check(op)), _Py_CAST(PyWeakReference*, (op)))
  |  |  ------------------
  |  |  |  |   37|    273|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (109:29): [True: 0, False: 0]
  |  Branch (109:29): [True: 0, False: 0]
  |  Branch (109:29): [True: 273, False: 0]
  ------------------
  110|    273|    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|    273|    LOCK_WEAKREFS_FOR_WR(self);
  115|    273|    clear_weakref_lock_held(self, &callback);
  116|    273|    UNLOCK_WEAKREFS_FOR_WR(self);
  117|    273|    Py_XDECREF(callback);
  ------------------
  |  |  524|    273|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    273|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    273|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  118|    273|}
weakrefobject.c:weakref_hash:
  206|    191|{
  207|    191|    PyWeakReference *self = _PyWeakref_CAST(op);
  ------------------
  |  |   46|    191|    (assert(PyWeakref_Check(op)), _Py_CAST(PyWeakReference*, (op)))
  |  |  ------------------
  |  |  |  |   37|    191|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (207:29): [True: 0, False: 0]
  |  Branch (207:29): [True: 0, False: 0]
  |  Branch (207:29): [True: 191, False: 0]
  ------------------
  208|      0|    Py_hash_t hash;
  209|    191|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    191|    {
  ------------------
  210|    191|    hash = weakref_hash_lock_held(self);
  211|    191|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    191|    }
  ------------------
  212|    191|    return hash;
  213|    191|}
weakrefobject.c:weakref_hash_lock_held:
  191|    191|{
  192|    191|    if (self->hash != -1)
  ------------------
  |  Branch (192:9): [True: 5, False: 186]
  ------------------
  193|      5|        return self->hash;
  194|    186|    PyObject* obj = _PyWeakref_GET_REF((PyObject*)self);
  195|    186|    if (obj == NULL) {
  ------------------
  |  Branch (195:9): [True: 0, False: 186]
  ------------------
  196|      0|        PyErr_SetString(PyExc_TypeError, "weak object has gone away");
  197|      0|        return -1;
  198|      0|    }
  199|    186|    self->hash = PyObject_Hash(obj);
  200|    186|    Py_DECREF(obj);
  ------------------
  |  |  430|    186|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    186|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    186|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  201|    186|    return self->hash;
  202|    186|}
weakrefobject.c:gc_traverse:
  151|   152k|{
  152|   152k|    PyWeakReference *self = _PyWeakref_CAST(op);
  ------------------
  |  |   46|   152k|    (assert(PyWeakref_Check(op)), _Py_CAST(PyWeakReference*, (op)))
  |  |  ------------------
  |  |  |  |   37|   152k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (152:29): [True: 0, False: 0]
  |  Branch (152:29): [True: 0, False: 0]
  |  Branch (152:29): [True: 152k, False: 0]
  ------------------
  153|   152k|    Py_VISIT(self->wr_callback);
  ------------------
  |  |  194|   152k|    do {                                                                \
  |  |  195|   152k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18.3k, False: 134k]
  |  |  ------------------
  |  |  196|  18.3k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  18.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  18.3k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 18.3k]
  |  |  ------------------
  |  |  198|  18.3k|                return vret;                                            \
  |  |  199|  18.3k|        }                                                               \
  |  |  200|   152k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 152k]
  |  |  ------------------
  ------------------
  154|   152k|    return 0;
  155|   152k|}
weakrefobject.c:weakref___init__:
  481|    211|{
  482|    211|    PyObject *tmp;
  483|       |
  484|    211|    if (!_PyArg_NoKeywords("ref", kwargs))
  ------------------
  |  |   25|    211|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 211, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  485|      0|        return -1;
  486|       |
  487|    211|    if (parse_weakref_init_args("__init__", args, kwargs, &tmp, &tmp))
  ------------------
  |  Branch (487:9): [True: 211, False: 0]
  ------------------
  488|    211|        return 0;
  489|      0|    else
  490|      0|        return -1;
  491|    211|}
weakrefobject.c:parse_weakref_init_args:
  465|    422|{
  466|    422|    return PyArg_UnpackTuple(args, funcname, 1, 2, obp, callbackp);
  467|    422|}
weakrefobject.c:weakref___new__:
  471|    211|{
  472|    211|    PyObject *ob, *callback = NULL;
  473|    211|    if (parse_weakref_init_args("__new__", args, kwargs, &ob, &callback)) {
  ------------------
  |  Branch (473:9): [True: 211, False: 0]
  ------------------
  474|    211|        return (PyObject *)get_or_create_weakref(type, ob, callback);
  475|    211|    }
  476|      0|    return NULL;
  477|    211|}
weakrefobject.c:get_or_create_weakref:
  412|  1.37k|{
  413|  1.37k|    if (!_PyType_SUPPORTS_WEAKREFS(Py_TYPE(obj))) {
  ------------------
  |  |  213|  1.37k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (413:9): [True: 0, False: 1.37k]
  ------------------
  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|  1.37k|    if (callback == Py_None) {
  ------------------
  |  |  616|  1.37k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (419:9): [True: 0, False: 1.37k]
  ------------------
  420|      0|        callback = NULL;
  421|      0|    }
  422|  1.37k|    if (callback != NULL && !PyCallable_Check(callback)) {
  ------------------
  |  Branch (422:9): [True: 349, False: 1.03k]
  |  Branch (422:29): [True: 0, False: 349]
  ------------------
  423|      0|        PyErr_Format(PyExc_TypeError,
  424|      0|                     "callback must be callable or None, not '%T'",
  425|      0|                     callback);
  426|      0|        return NULL;
  427|      0|    }
  428|       |
  429|  1.37k|    PyWeakReference **list = GET_WEAKREFS_LISTPTR(obj);
  ------------------
  |  |   38|  1.37k|        ((PyWeakReference **) _PyObject_GET_WEAKREFS_LISTPTR(o))
  ------------------
  430|  1.37k|    if ((type == &_PyWeakref_RefType) ||
  ------------------
  |  Branch (430:9): [True: 1.25k, False: 120]
  ------------------
  431|    120|        (type == &_PyWeakref_ProxyType) ||
  ------------------
  |  Branch (431:9): [True: 0, False: 120]
  ------------------
  432|    120|        (type == &_PyWeakref_CallableProxyType))
  ------------------
  |  Branch (432:9): [True: 0, False: 120]
  ------------------
  433|  1.25k|    {
  434|  1.25k|        LOCK_WEAKREFS(obj);
  435|  1.25k|        PyWeakReference *basic_ref = try_reuse_basic_ref(*list, type, callback);
  436|  1.25k|        if (basic_ref != NULL) {
  ------------------
  |  Branch (436:13): [True: 135, False: 1.12k]
  ------------------
  437|    135|            UNLOCK_WEAKREFS(obj);
  438|    135|            return basic_ref;
  439|    135|        }
  440|  1.12k|        PyWeakReference *newref = allocate_weakref(type, obj, callback);
  441|  1.12k|        if (newref == NULL) {
  ------------------
  |  Branch (441:13): [True: 0, False: 1.12k]
  ------------------
  442|      0|            UNLOCK_WEAKREFS(obj);
  443|      0|            return NULL;
  444|      0|        }
  445|  1.12k|        insert_weakref(newref, list);
  446|  1.12k|        UNLOCK_WEAKREFS(obj);
  447|  1.12k|        return newref;
  448|  1.12k|    }
  449|    120|    else {
  450|       |        // We may not be able to safely allocate inside the lock
  451|    120|        PyWeakReference *newref = allocate_weakref(type, obj, callback);
  452|    120|        if (newref == NULL) {
  ------------------
  |  Branch (452:13): [True: 0, False: 120]
  ------------------
  453|      0|            return NULL;
  454|      0|        }
  455|    120|        LOCK_WEAKREFS(obj);
  456|    120|        insert_weakref(newref, list);
  457|    120|        UNLOCK_WEAKREFS(obj);
  458|    120|        return newref;
  459|    120|    }
  460|  1.37k|}
weakrefobject.c:try_reuse_basic_ref:
  332|  1.25k|{
  333|  1.25k|    if (callback != NULL) {
  ------------------
  |  Branch (333:9): [True: 229, False: 1.03k]
  ------------------
  334|    229|        return NULL;
  335|    229|    }
  336|       |
  337|  1.03k|    PyWeakReference *ref, *proxy;
  338|  1.03k|    get_basic_refs(list, &ref, &proxy);
  339|       |
  340|  1.03k|    PyWeakReference *cand = NULL;
  341|  1.03k|    if (type == &_PyWeakref_RefType) {
  ------------------
  |  Branch (341:9): [True: 1.03k, False: 0]
  ------------------
  342|  1.03k|        cand = ref;
  343|  1.03k|    }
  344|  1.03k|    if ((type == &_PyWeakref_ProxyType) ||
  ------------------
  |  Branch (344:9): [True: 0, False: 1.03k]
  ------------------
  345|  1.03k|        (type == &_PyWeakref_CallableProxyType)) {
  ------------------
  |  Branch (345:9): [True: 0, False: 1.03k]
  ------------------
  346|      0|        cand = proxy;
  347|      0|    }
  348|       |
  349|  1.03k|    if (cand != NULL && _Py_TryIncref((PyObject *) cand)) {
  ------------------
  |  Branch (349:9): [True: 135, False: 895]
  |  Branch (349:25): [True: 135, False: 0]
  ------------------
  350|    135|        return cand;
  351|    135|    }
  352|    895|    return NULL;
  353|  1.03k|}
weakrefobject.c:get_basic_refs:
  279|  2.27k|{
  280|  2.27k|    *refp = NULL;
  281|  2.27k|    *proxyp = NULL;
  282|       |
  283|  2.27k|    if (head != NULL && head->wr_callback == NULL) {
  ------------------
  |  Branch (283:9): [True: 275, False: 1.99k]
  |  Branch (283:25): [True: 275, False: 0]
  ------------------
  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|    275|        if (PyWeakref_CheckRefExact(head)) {
  ------------------
  |  |   17|    275|        Py_IS_TYPE((op), &_PyWeakref_RefType)
  |  |  ------------------
  |  |  |  |  215|    275|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    275|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    275|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 275, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  288|    275|            *refp = head;
  289|    275|            head = head->wr_next;
  290|    275|        }
  291|    275|        if (head != NULL
  ------------------
  |  Branch (291:13): [True: 64, False: 211]
  ------------------
  292|     64|            && head->wr_callback == NULL
  ------------------
  |  Branch (292:16): [True: 0, False: 64]
  ------------------
  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|    275|    }
  298|  2.27k|}
weakrefobject.c:allocate_weakref:
  401|  1.24k|{
  402|  1.24k|    PyWeakReference *newref = (PyWeakReference *) type->tp_alloc(type, 0);
  403|  1.24k|    if (newref == NULL) {
  ------------------
  |  Branch (403:9): [True: 0, False: 1.24k]
  ------------------
  404|      0|        return NULL;
  405|      0|    }
  406|  1.24k|    init_weakref(newref, obj, callback);
  407|  1.24k|    return newref;
  408|  1.24k|}
weakrefobject.c:init_weakref:
   63|  1.24k|{
   64|  1.24k|    self->hash = -1;
   65|  1.24k|    self->wr_object = ob;
   66|  1.24k|    self->wr_prev = NULL;
   67|  1.24k|    self->wr_next = NULL;
   68|  1.24k|    self->wr_callback = Py_XNewRef(callback);
  ------------------
  |  |  551|  1.24k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.24k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   69|  1.24k|    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|  1.24k|}
weakrefobject.c:weakref_vectorcall:
  174|    151|{
  175|    151|    if (!_PyArg_NoKwnames("weakref", kwnames)) {
  ------------------
  |  |   15|    151|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 151, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  176|      0|        return NULL;
  177|      0|    }
  178|    151|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    151|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  179|    151|    if (!_PyArg_CheckPositional("weakref", nargs, 0, 0)) {
  ------------------
  |  |   31|    151|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 151, False: 0]
  |  |  |  Branch (31:27): [True: 151, False: 0]
  |  |  ------------------
  |  |   32|    151|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  180|      0|        return NULL;
  181|      0|    }
  182|    151|    PyObject *obj = _PyWeakref_GET_REF(self);
  183|    151|    if (obj == NULL) {
  ------------------
  |  Branch (183:9): [True: 0, False: 151]
  ------------------
  184|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  185|      0|    }
  186|    151|    return obj;
  187|    151|}
weakrefobject.c:insert_weakref:
  376|  1.24k|{
  377|  1.24k|    PyWeakReference *ref, *proxy;
  378|  1.24k|    get_basic_refs(*list, &ref, &proxy);
  379|       |
  380|  1.24k|    PyWeakReference *prev;
  381|  1.24k|    if (is_basic_ref(newref)) {
  ------------------
  |  Branch (381:9): [True: 895, False: 349]
  ------------------
  382|    895|        prev = NULL;
  383|    895|    }
  384|    349|    else if (is_basic_proxy(newref)) {
  ------------------
  |  Branch (384:14): [True: 0, False: 349]
  ------------------
  385|      0|        prev = ref;
  386|      0|    }
  387|    349|    else {
  388|    349|        prev = (proxy == NULL) ? ref : proxy;
  ------------------
  |  Branch (388:16): [True: 349, False: 0]
  ------------------
  389|    349|    }
  390|       |
  391|  1.24k|    if (prev == NULL) {
  ------------------
  |  Branch (391:9): [True: 1.10k, False: 140]
  ------------------
  392|  1.10k|        insert_head(newref, list);
  393|  1.10k|    }
  394|    140|    else {
  395|    140|        insert_after(newref, prev);
  396|    140|    }
  397|  1.24k|}
weakrefobject.c:is_basic_ref:
  357|  1.66k|{
  358|  1.66k|    return (ref->wr_callback == NULL) && PyWeakref_CheckRefExact(ref);
  ------------------
  |  |   17|    895|        Py_IS_TYPE((op), &_PyWeakref_RefType)
  |  |  ------------------
  |  |  |  |  215|    895|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    895|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    895|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 895, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (358:12): [True: 895, False: 767]
  ------------------
  359|  1.66k|}
weakrefobject.c:is_basic_proxy:
  363|    767|{
  364|    767|    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: 767]
  ------------------
  365|    767|}
weakrefobject.c:insert_head:
  316|  1.10k|{
  317|  1.10k|    PyWeakReference *next = *list;
  318|       |
  319|  1.10k|    newref->wr_prev = NULL;
  320|  1.10k|    newref->wr_next = next;
  321|  1.10k|    if (next != NULL)
  ------------------
  |  Branch (321:9): [True: 0, False: 1.10k]
  ------------------
  322|      0|        next->wr_prev = newref;
  323|  1.10k|    *list = newref;
  324|  1.10k|}
weakrefobject.c:insert_after:
  303|    140|{
  304|    140|    newref->wr_prev = prev;
  305|    140|    newref->wr_next = prev->wr_next;
  306|    140|    if (prev->wr_next != NULL)
  ------------------
  |  Branch (306:9): [True: 62, False: 78]
  ------------------
  307|     62|        prev->wr_next->wr_prev = newref;
  308|    140|    prev->wr_next = newref;
  309|    140|}
weakrefobject.c:is_basic_ref_or_proxy:
  369|    418|{
  370|    418|    return is_basic_ref(wr) || is_basic_proxy(wr);
  ------------------
  |  Branch (370:12): [True: 0, False: 418]
  |  Branch (370:32): [True: 0, False: 418]
  ------------------
  371|    418|}
weakrefobject.c:handle_callback:
  996|    209|{
  997|    209|    PyObject *cbresult = PyObject_CallOneArg(callback, (PyObject *)ref);
  998|       |
  999|    209|    if (cbresult == NULL) {
  ------------------
  |  Branch (999:9): [True: 0, False: 209]
  ------------------
 1000|      0|        PyErr_FormatUnraisable("Exception ignored while "
 1001|      0|                               "calling weakref callback %R", callback);
 1002|      0|    }
 1003|    209|    else {
 1004|    209|        Py_DECREF(cbresult);
  ------------------
  |  |  430|    209|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    209|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    209|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1005|    209|    }
 1006|    209|}

_PyPegen_dummy_name:
   13|      3|{
   14|      3|    return &_PyRuntime.parser.dummy_name;
   15|      3|}
_PyPegen_seq_insert_in_front:
   33|     15|{
   34|     15|    assert(a != NULL);
  ------------------
  |  Branch (34:5): [True: 15, False: 0]
  ------------------
   35|     15|    if (!seq) {
  ------------------
  |  Branch (35:9): [True: 0, False: 15]
  ------------------
   36|      0|        return _PyPegen_singleton_seq(p, a);
   37|      0|    }
   38|       |
   39|     15|    asdl_seq *new_seq = (asdl_seq*)_Py_asdl_generic_seq_new(asdl_seq_LEN(seq) + 1, p->arena);
  ------------------
  |  |   83|     15|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|     30|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 15]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   40|     15|    if (!new_seq) {
  ------------------
  |  Branch (40:9): [True: 0, False: 15]
  ------------------
   41|      0|        return NULL;
   42|      0|    }
   43|       |
   44|     15|    asdl_seq_SET_UNTYPED(new_seq, 0, a);
  ------------------
  |  |  106|     15|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|     15|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   45|     48|    for (Py_ssize_t i = 1, l = asdl_seq_LEN(new_seq); i < l; i++) {
  ------------------
  |  |   83|     15|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|     30|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 15]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (45:55): [True: 33, False: 15]
  ------------------
   46|     33|        asdl_seq_SET_UNTYPED(new_seq, i, asdl_seq_GET_UNTYPED(seq, i - 1));
  ------------------
  |  |  106|     33|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|     33|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   47|     33|    }
   48|     15|    return new_seq;
   49|     15|}
_PyPegen_join_sequences:
  484|      3|{
  485|      3|    Py_ssize_t first_len = asdl_seq_LEN(a);
  ------------------
  |  |   83|      3|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  486|      3|    Py_ssize_t second_len = asdl_seq_LEN(b);
  ------------------
  |  |   83|      3|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  487|      3|    asdl_seq *new_seq = (asdl_seq*)_Py_asdl_generic_seq_new(first_len + second_len, p->arena);
  488|      3|    if (!new_seq) {
  ------------------
  |  Branch (488:9): [True: 0, False: 3]
  ------------------
  489|      0|        return NULL;
  490|      0|    }
  491|       |
  492|      3|    int k = 0;
  493|     18|    for (Py_ssize_t i = 0; i < first_len; i++) {
  ------------------
  |  Branch (493:28): [True: 15, False: 3]
  ------------------
  494|     15|        asdl_seq_SET_UNTYPED(new_seq, k++, asdl_seq_GET_UNTYPED(a, i));
  ------------------
  |  |  106|     15|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|     15|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  495|     15|    }
  496|      3|    for (Py_ssize_t i = 0; i < second_len; i++) {
  ------------------
  |  Branch (496:28): [True: 0, False: 3]
  ------------------
  497|      0|        asdl_seq_SET_UNTYPED(new_seq, k++, asdl_seq_GET_UNTYPED(b, 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))
  |  |  ------------------
  ------------------
  498|      0|    }
  499|       |
  500|      3|    return new_seq;
  501|      3|}
_PyPegen_make_arguments:
  657|      3|{
  658|      3|    asdl_arg_seq *posonlyargs;
  659|      3|    if (_make_posonlyargs(p, slash_without_default, slash_with_default, &posonlyargs) == -1) {
  ------------------
  |  Branch (659:9): [True: 0, False: 3]
  ------------------
  660|      0|        return NULL;
  661|      0|    }
  662|       |
  663|      3|    asdl_arg_seq *posargs;
  664|      3|    if (_make_posargs(p, plain_names, names_with_default, &posargs) == -1) {
  ------------------
  |  Branch (664:9): [True: 0, False: 3]
  ------------------
  665|      0|        return NULL;
  666|      0|    }
  667|       |
  668|      3|    asdl_expr_seq *posdefaults;
  669|      3|    if (_make_posdefaults(p,slash_with_default, names_with_default, &posdefaults) == -1) {
  ------------------
  |  Branch (669:9): [True: 0, False: 3]
  ------------------
  670|      0|        return NULL;
  671|      0|    }
  672|       |
  673|      3|    arg_ty vararg = NULL;
  674|      3|    if (star_etc != NULL && star_etc->vararg != NULL) {
  ------------------
  |  Branch (674:9): [True: 0, False: 3]
  |  Branch (674:29): [True: 0, False: 0]
  ------------------
  675|      0|        vararg = star_etc->vararg;
  676|      0|    }
  677|       |
  678|      3|    asdl_arg_seq *kwonlyargs;
  679|      3|    asdl_expr_seq *kwdefaults;
  680|      3|    if (_make_kwargs(p, star_etc, &kwonlyargs, &kwdefaults) == -1) {
  ------------------
  |  Branch (680:9): [True: 0, False: 3]
  ------------------
  681|      0|        return NULL;
  682|      0|    }
  683|       |
  684|      3|    arg_ty kwarg = NULL;
  685|      3|    if (star_etc != NULL && star_etc->kwarg != NULL) {
  ------------------
  |  Branch (685:9): [True: 0, False: 3]
  |  Branch (685:29): [True: 0, False: 0]
  ------------------
  686|      0|        kwarg = star_etc->kwarg;
  687|      0|    }
  688|       |
  689|      3|    return _PyAST_arguments(posonlyargs, posargs, vararg, kwonlyargs,
  690|      3|                            kwdefaults, kwarg, posdefaults, p->arena);
  691|      3|}
_PyPegen_collect_call_seqs:
 1170|      3|                     int end_col_offset, PyArena *arena) {
 1171|      3|    Py_ssize_t args_len = asdl_seq_LEN(a);
  ------------------
  |  |   83|      3|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1172|      3|    Py_ssize_t total_len = args_len;
 1173|       |
 1174|      3|    if (b == NULL) {
  ------------------
  |  Branch (1174:9): [True: 3, False: 0]
  ------------------
 1175|      3|        return _PyAST_Call(_PyPegen_dummy_name(p), a, NULL, lineno, col_offset,
 1176|      3|                        end_lineno, end_col_offset, arena);
 1177|       |
 1178|      3|    }
 1179|       |
 1180|      0|    asdl_expr_seq *starreds = _PyPegen_seq_extract_starred_exprs(p, b);
 1181|      0|    if (!starreds && PyErr_Occurred()) {
  ------------------
  |  Branch (1181:9): [True: 0, False: 0]
  |  Branch (1181:22): [True: 0, False: 0]
  ------------------
 1182|      0|        return NULL;
 1183|      0|    }
 1184|       |
 1185|      0|    asdl_keyword_seq *keywords = _PyPegen_seq_delete_starred_exprs(p, b);
 1186|      0|    if (!keywords && PyErr_Occurred()) {
  ------------------
  |  Branch (1186:9): [True: 0, False: 0]
  |  Branch (1186:22): [True: 0, False: 0]
  ------------------
 1187|      0|        return NULL;
 1188|      0|    }
 1189|       |
 1190|      0|    if (starreds) {
  ------------------
  |  Branch (1190:9): [True: 0, False: 0]
  ------------------
 1191|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1192|      0|    }
 1193|       |
 1194|      0|    asdl_expr_seq *args = _Py_asdl_expr_seq_new(total_len, arena);
 1195|      0|    if (args == NULL) {
  ------------------
  |  Branch (1195:9): [True: 0, False: 0]
  ------------------
 1196|      0|        return NULL;
 1197|      0|    }
 1198|       |
 1199|      0|    Py_ssize_t i = 0;
 1200|      0|    for (i = 0; i < args_len; i++) {
  ------------------
  |  Branch (1200:17): [True: 0, False: 0]
  ------------------
 1201|      0|        asdl_seq_SET(args, i, asdl_seq_GET(a, 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))
  |  |  ------------------
  ------------------
 1202|      0|    }
 1203|      0|    for (; i < total_len; i++) {
  ------------------
  |  Branch (1203:12): [True: 0, False: 0]
  ------------------
 1204|      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))
  |  |  ------------------
  ------------------
 1205|      0|    }
 1206|       |
 1207|      0|    return _PyAST_Call(_PyPegen_dummy_name(p), args, keywords, lineno,
 1208|      0|                       col_offset, end_lineno, end_col_offset, arena);
 1209|      0|}
action_helpers.c:_make_posonlyargs:
  537|      3|                  asdl_arg_seq **posonlyargs) {
  538|      3|    if (slash_without_default != NULL) {
  ------------------
  |  Branch (538:9): [True: 0, False: 3]
  ------------------
  539|      0|        *posonlyargs = slash_without_default;
  540|      0|    }
  541|      3|    else if (slash_with_default != NULL) {
  ------------------
  |  Branch (541:14): [True: 0, False: 3]
  ------------------
  542|      0|        asdl_arg_seq *slash_with_default_names =
  543|      0|                _get_names(p, slash_with_default->names_with_defaults);
  544|      0|        if (!slash_with_default_names) {
  ------------------
  |  Branch (544:13): [True: 0, False: 0]
  ------------------
  545|      0|            return -1;
  546|      0|        }
  547|      0|        *posonlyargs = (asdl_arg_seq*)_PyPegen_join_sequences(
  548|      0|                p,
  549|      0|                (asdl_seq*)slash_with_default->plain_names,
  550|      0|                (asdl_seq*)slash_with_default_names);
  551|      0|    }
  552|      3|    else {
  553|      3|        *posonlyargs = _Py_asdl_arg_seq_new(0, p->arena);
  554|      3|    }
  555|      3|    return *posonlyargs == NULL ? -1 : 0;
  ------------------
  |  Branch (555:12): [True: 0, False: 3]
  ------------------
  556|      3|}
action_helpers.c:_get_names:
  505|      3|{
  506|      3|    Py_ssize_t len = asdl_seq_LEN(names_with_defaults);
  ------------------
  |  |   83|      3|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  507|      3|    asdl_arg_seq *seq = _Py_asdl_arg_seq_new(len, p->arena);
  508|      3|    if (!seq) {
  ------------------
  |  Branch (508:9): [True: 0, False: 3]
  ------------------
  509|      0|        return NULL;
  510|      0|    }
  511|      3|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (511:28): [True: 0, False: 3]
  ------------------
  512|      0|        NameDefaultPair *pair = asdl_seq_GET_UNTYPED(names_with_defaults, i);
  ------------------
  |  |   81|      0|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  513|      0|        asdl_seq_SET(seq, i, pair->arg);
  ------------------
  |  |   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))
  |  |  ------------------
  ------------------
  514|      0|    }
  515|      3|    return seq;
  516|      3|}
action_helpers.c:_make_posargs:
  562|      3|              asdl_arg_seq **posargs) {
  563|       |
  564|      3|    if (names_with_default != NULL) {
  ------------------
  |  Branch (564:9): [True: 3, False: 0]
  ------------------
  565|      3|        if (plain_names != NULL) {
  ------------------
  |  Branch (565:13): [True: 3, False: 0]
  ------------------
  566|      3|            asdl_arg_seq *names_with_default_names = _get_names(p, names_with_default);
  567|      3|            if (!names_with_default_names) {
  ------------------
  |  Branch (567:17): [True: 0, False: 3]
  ------------------
  568|      0|                return -1;
  569|      0|            }
  570|      3|            *posargs = (asdl_arg_seq*)_PyPegen_join_sequences(
  571|      3|                    p,(asdl_seq*)plain_names, (asdl_seq*)names_with_default_names);
  572|      3|        }
  573|      0|        else {
  574|      0|            *posargs = _get_names(p, names_with_default);
  575|      0|        }
  576|      3|    }
  577|      0|    else {
  578|      0|        if (plain_names != NULL) {
  ------------------
  |  Branch (578:13): [True: 0, False: 0]
  ------------------
  579|       |            // With the current grammar, we never get here.
  580|       |            // If that has changed, remove the assert, and test thoroughly.
  581|      0|            assert(0);
  ------------------
  |  Branch (581:13): [Folded, False: 0]
  ------------------
  582|      0|            *posargs = plain_names;
  583|      0|        }
  584|      0|        else {
  585|      0|            *posargs = _Py_asdl_arg_seq_new(0, p->arena);
  586|      0|        }
  587|      0|    }
  588|      3|    return *posargs == NULL ? -1 : 0;
  ------------------
  |  Branch (588:12): [True: 0, False: 3]
  ------------------
  589|      3|}
action_helpers.c:_make_posdefaults:
  595|      3|                  asdl_expr_seq **posdefaults) {
  596|      3|    if (slash_with_default != NULL && names_with_default != NULL) {
  ------------------
  |  Branch (596:9): [True: 0, False: 3]
  |  Branch (596:39): [True: 0, False: 0]
  ------------------
  597|      0|        asdl_expr_seq *slash_with_default_values =
  598|      0|                _get_defaults(p, slash_with_default->names_with_defaults);
  599|      0|        if (!slash_with_default_values) {
  ------------------
  |  Branch (599:13): [True: 0, False: 0]
  ------------------
  600|      0|            return -1;
  601|      0|        }
  602|      0|        asdl_expr_seq *names_with_default_values = _get_defaults(p, names_with_default);
  603|      0|        if (!names_with_default_values) {
  ------------------
  |  Branch (603:13): [True: 0, False: 0]
  ------------------
  604|      0|            return -1;
  605|      0|        }
  606|      0|        *posdefaults = (asdl_expr_seq*)_PyPegen_join_sequences(
  607|      0|                p,
  608|      0|                (asdl_seq*)slash_with_default_values,
  609|      0|                (asdl_seq*)names_with_default_values);
  610|      0|    }
  611|      3|    else if (slash_with_default == NULL && names_with_default != NULL) {
  ------------------
  |  Branch (611:14): [True: 3, False: 0]
  |  Branch (611:44): [True: 3, False: 0]
  ------------------
  612|      3|        *posdefaults = _get_defaults(p, names_with_default);
  613|      3|    }
  614|      0|    else if (slash_with_default != NULL && names_with_default == NULL) {
  ------------------
  |  Branch (614:14): [True: 0, False: 0]
  |  Branch (614:44): [True: 0, False: 0]
  ------------------
  615|      0|        *posdefaults = _get_defaults(p, slash_with_default->names_with_defaults);
  616|      0|    }
  617|      0|    else {
  618|      0|        *posdefaults = _Py_asdl_expr_seq_new(0, p->arena);
  619|      0|    }
  620|      3|    return *posdefaults == NULL ? -1 : 0;
  ------------------
  |  Branch (620:12): [True: 0, False: 3]
  ------------------
  621|      3|}
action_helpers.c:_get_defaults:
  520|      3|{
  521|      3|    Py_ssize_t len = asdl_seq_LEN(names_with_defaults);
  ------------------
  |  |   83|      3|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  522|      3|    asdl_expr_seq *seq = _Py_asdl_expr_seq_new(len, p->arena);
  523|      3|    if (!seq) {
  ------------------
  |  Branch (523:9): [True: 0, False: 3]
  ------------------
  524|      0|        return NULL;
  525|      0|    }
  526|      3|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (526:28): [True: 0, False: 3]
  ------------------
  527|      0|        NameDefaultPair *pair = asdl_seq_GET_UNTYPED(names_with_defaults, i);
  ------------------
  |  |   81|      0|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  528|      0|        asdl_seq_SET(seq, i, pair->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))
  |  |  ------------------
  ------------------
  529|      0|    }
  530|      3|    return seq;
  531|      3|}
action_helpers.c:_make_kwargs:
  626|      3|             asdl_expr_seq **kwdefaults) {
  627|      3|    if (star_etc != NULL && star_etc->kwonlyargs != NULL) {
  ------------------
  |  Branch (627:9): [True: 0, False: 3]
  |  Branch (627:29): [True: 0, False: 0]
  ------------------
  628|      0|        *kwonlyargs = _get_names(p, star_etc->kwonlyargs);
  629|      0|    }
  630|      3|    else {
  631|      3|        *kwonlyargs = _Py_asdl_arg_seq_new(0, p->arena);
  632|      3|    }
  633|       |
  634|      3|    if (*kwonlyargs == NULL) {
  ------------------
  |  Branch (634:9): [True: 0, False: 3]
  ------------------
  635|      0|        return -1;
  636|      0|    }
  637|       |
  638|      3|    if (star_etc != NULL && star_etc->kwonlyargs != NULL) {
  ------------------
  |  Branch (638:9): [True: 0, False: 3]
  |  Branch (638:29): [True: 0, False: 0]
  ------------------
  639|      0|        *kwdefaults = _get_defaults(p, star_etc->kwonlyargs);
  640|      0|    }
  641|      3|    else {
  642|      3|        *kwdefaults = _Py_asdl_expr_seq_new(0, p->arena);
  643|      3|    }
  644|       |
  645|      3|    if (*kwdefaults == NULL) {
  ------------------
  |  Branch (645:9): [True: 0, False: 3]
  ------------------
  646|      0|        return -1;
  647|      0|    }
  648|       |
  649|      3|    return 0;
  650|      3|}

_PyLexer_nextc:
   30|    430|{
   31|    430|    int rc;
   32|    433|    for (;;) {
   33|    433|        if (tok->cur != tok->inp) {
  ------------------
  |  Branch (33:13): [True: 421, False: 12]
  ------------------
   34|    421|            if ((unsigned int) tok->col_offset >= (unsigned int) INT_MAX) {
  ------------------
  |  Branch (34:17): [True: 0, False: 421]
  ------------------
   35|      0|                tok->done = E_COLUMNOVERFLOW;
  ------------------
  |  |   40|      0|#define E_COLUMNOVERFLOW 29      /* Column offset overflow */
  ------------------
   36|      0|                return EOF;
   37|      0|            }
   38|    421|            tok->col_offset++;
   39|    421|            return Py_CHARMASK(*tok->cur++); /* Fast path */
  ------------------
  |  |  138|    421|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
   40|    421|        }
   41|     12|        if (tok->done != E_OK) {
  ------------------
  |  |   22|     12|#define E_OK             10      /* No error */
  ------------------
  |  Branch (41:13): [True: 6, False: 6]
  ------------------
   42|      6|            return EOF;
   43|      6|        }
   44|      6|        rc = tok->underflow(tok);
   45|       |#if defined(Py_DEBUG)
   46|       |        if (tok->debug) {
   47|       |            fprintf(stderr, "line[%d] = ", tok->lineno);
   48|       |            _PyTokenizer_print_escape(stderr, tok->cur, tok->inp - tok->cur);
   49|       |            fprintf(stderr, "  tok->done = %d\n", tok->done);
   50|       |        }
   51|       |#endif
   52|      6|        if (!rc) {
  ------------------
  |  Branch (52:13): [True: 3, False: 3]
  ------------------
   53|      3|            tok->cur = tok->inp;
   54|      3|            return EOF;
   55|      3|        }
   56|      3|        tok->line_start = tok->cur;
   57|       |
   58|      3|        if (contains_null_bytes(tok->line_start, tok->inp - tok->line_start)) {
  ------------------
  |  Branch (58:13): [True: 0, False: 3]
  ------------------
   59|      0|            _PyTokenizer_syntaxerror(tok, "source code cannot contain null bytes");
   60|      0|            tok->cur = tok->inp;
   61|      0|            return EOF;
   62|      0|        }
   63|      3|    }
   64|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
   65|    430|}
_PyLexer_backup:
   70|    156|{
   71|    156|    if (c != EOF) {
  ------------------
  |  Branch (71:9): [True: 150, False: 6]
  ------------------
   72|    150|        if (--tok->cur < tok->buf) {
  ------------------
  |  Branch (72:13): [True: 0, False: 150]
  ------------------
   73|      0|            Py_FatalError("tokenizer beginning of buffer");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
   74|      0|        }
   75|    150|        if ((int)(unsigned char)*tok->cur != Py_CHARMASK(c)) {
  ------------------
  |  |  138|    150|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
  |  Branch (75:13): [True: 0, False: 150]
  ------------------
   76|      0|            Py_FatalError("tok_backup: wrong character");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
   77|      0|        }
   78|    150|        tok->col_offset--;
   79|    150|    }
   80|    156|}
_PyLexer_get_normal_mode:
  161|     78|{
  162|     78|    int c;
  163|     78|    int blankline, nonascii;
  164|       |
  165|     78|    const char *p_start = NULL;
  166|     78|    const char *p_end = NULL;
  167|     78|  nextline:
  168|     78|    tok->start = NULL;
  169|     78|    tok->starting_col_offset = -1;
  170|     78|    blankline = 0;
  171|       |
  172|       |
  173|       |    /* Get indentation level */
  174|     78|    if (tok->atbol) {
  ------------------
  |  Branch (174:9): [True: 3, False: 75]
  ------------------
  175|      3|        int col = 0;
  176|      3|        int altcol = 0;
  177|      3|        tok->atbol = 0;
  178|      3|        int cont_line_col = 0;
  179|      3|        for (;;) {
  180|      3|            c = tok_nextc(tok);
  ------------------
  |  |   44|      3|#define tok_nextc _PyLexer_nextc
  ------------------
  181|      3|            if (c == ' ') {
  ------------------
  |  Branch (181:17): [True: 0, False: 3]
  ------------------
  182|      0|                col++, altcol++;
  183|      0|            }
  184|      3|            else if (c == '\t') {
  ------------------
  |  Branch (184:22): [True: 0, False: 3]
  ------------------
  185|      0|                col = (col / tok->tabsize + 1) * tok->tabsize;
  186|      0|                altcol = (altcol / ALTTABSIZE + 1) * ALTTABSIZE;
  ------------------
  |  |   10|      0|#define ALTTABSIZE 1
  ------------------
                              altcol = (altcol / ALTTABSIZE + 1) * ALTTABSIZE;
  ------------------
  |  |   10|      0|#define ALTTABSIZE 1
  ------------------
  187|      0|            }
  188|      3|            else if (c == '\014')  {/* Control-L (formfeed) */
  ------------------
  |  Branch (188:22): [True: 0, False: 3]
  ------------------
  189|      0|                col = altcol = 0; /* For Emacs users */
  190|      0|            }
  191|      3|            else if (c == '\\') {
  ------------------
  |  Branch (191:22): [True: 0, False: 3]
  ------------------
  192|       |                // Indentation cannot be split over multiple physical lines
  193|       |                // using backslashes. This means that if we found a backslash
  194|       |                // preceded by whitespace, **the first one we find** determines
  195|       |                // the level of indentation of whatever comes next.
  196|      0|                cont_line_col = cont_line_col ? cont_line_col : col;
  ------------------
  |  Branch (196:33): [True: 0, False: 0]
  ------------------
  197|      0|                if ((c = tok_continuation_line(tok)) == -1) {
  ------------------
  |  Branch (197:21): [True: 0, False: 0]
  ------------------
  198|      0|                    return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   13|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  199|      0|                }
  200|      0|            }
  201|      3|            else if (c == EOF && PyErr_Occurred()) {
  ------------------
  |  Branch (201:22): [True: 0, False: 3]
  |  Branch (201:34): [True: 0, False: 0]
  ------------------
  202|      0|                return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   13|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  203|      0|            }
  204|      3|            else {
  205|      3|                break;
  206|      3|            }
  207|      3|        }
  208|      3|        tok_backup(tok, c);
  ------------------
  |  |   45|      3|#define tok_backup _PyLexer_backup
  ------------------
  209|      3|        if (c == '#' || c == '\n' || c == '\r') {
  ------------------
  |  Branch (209:13): [True: 0, False: 3]
  |  Branch (209:25): [True: 0, False: 3]
  |  Branch (209:38): [True: 0, False: 3]
  ------------------
  210|       |            /* Lines with only whitespace and/or comments
  211|       |               shouldn't affect the indentation and are
  212|       |               not passed to the parser as NEWLINE tokens,
  213|       |               except *totally* empty lines in interactive
  214|       |               mode, which signal the end of a command group. */
  215|      0|            if (col == 0 && c == '\n' && tok->prompt != NULL) {
  ------------------
  |  Branch (215:17): [True: 0, False: 0]
  |  Branch (215:29): [True: 0, False: 0]
  |  Branch (215:42): [True: 0, False: 0]
  ------------------
  216|      0|                blankline = 0; /* Let it through */
  217|      0|            }
  218|      0|            else if (tok->prompt != NULL && tok->lineno == 1) {
  ------------------
  |  Branch (218:22): [True: 0, False: 0]
  |  Branch (218:45): [True: 0, False: 0]
  ------------------
  219|       |                /* In interactive mode, if the first line contains
  220|       |                   only spaces and/or a comment, let it through. */
  221|      0|                blankline = 0;
  222|      0|                col = altcol = 0;
  223|      0|            }
  224|      0|            else {
  225|      0|                blankline = 1; /* Ignore completely */
  226|      0|            }
  227|       |            /* We can't jump back right here since we still
  228|       |               may need to skip to the end of a comment */
  229|      0|        }
  230|      3|        if (!blankline && tok->level == 0) {
  ------------------
  |  Branch (230:13): [True: 3, False: 0]
  |  Branch (230:27): [True: 3, False: 0]
  ------------------
  231|      3|            col = cont_line_col ? cont_line_col : col;
  ------------------
  |  Branch (231:19): [True: 0, False: 3]
  ------------------
  232|      3|            altcol = cont_line_col ? cont_line_col : altcol;
  ------------------
  |  Branch (232:22): [True: 0, False: 3]
  ------------------
  233|      3|            if (col == tok->indstack[tok->indent]) {
  ------------------
  |  Branch (233:17): [True: 3, False: 0]
  ------------------
  234|       |                /* No change */
  235|      3|                if (altcol != tok->altindstack[tok->indent]) {
  ------------------
  |  Branch (235:21): [True: 0, False: 3]
  ------------------
  236|      0|                    return MAKE_TOKEN(_PyTokenizer_indenterror(tok));
  ------------------
  |  |   13|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  237|      0|                }
  238|      3|            }
  239|      0|            else if (col > tok->indstack[tok->indent]) {
  ------------------
  |  Branch (239:22): [True: 0, False: 0]
  ------------------
  240|       |                /* Indent -- always one */
  241|      0|                if (tok->indent+1 >= MAXINDENT) {
  ------------------
  |  |    6|      0|#define MAXINDENT 100       /* Max indentation level */
  ------------------
  |  Branch (241:21): [True: 0, False: 0]
  ------------------
  242|      0|                    tok->done = E_TOODEEP;
  ------------------
  |  |   32|      0|#define E_TOODEEP        20      /* Too many indentation levels */
  ------------------
  243|      0|                    tok->cur = tok->inp;
  244|      0|                    return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   13|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  245|      0|                }
  246|      0|                if (altcol <= tok->altindstack[tok->indent]) {
  ------------------
  |  Branch (246:21): [True: 0, False: 0]
  ------------------
  247|      0|                    return MAKE_TOKEN(_PyTokenizer_indenterror(tok));
  ------------------
  |  |   13|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  248|      0|                }
  249|      0|                tok->pendin++;
  250|      0|                tok->indstack[++tok->indent] = col;
  251|      0|                tok->altindstack[tok->indent] = altcol;
  252|      0|            }
  253|      0|            else /* col < tok->indstack[tok->indent] */ {
  254|       |                /* Dedent -- any number, must be consistent */
  255|      0|                while (tok->indent > 0 &&
  ------------------
  |  Branch (255:24): [True: 0, False: 0]
  ------------------
  256|      0|                    col < tok->indstack[tok->indent]) {
  ------------------
  |  Branch (256:21): [True: 0, False: 0]
  ------------------
  257|      0|                    tok->pendin--;
  258|      0|                    tok->indent--;
  259|      0|                }
  260|      0|                if (col != tok->indstack[tok->indent]) {
  ------------------
  |  Branch (260:21): [True: 0, False: 0]
  ------------------
  261|      0|                    tok->done = E_DEDENT;
  ------------------
  |  |   33|      0|#define E_DEDENT         21      /* No matching outer block for dedent */
  ------------------
  262|      0|                    tok->cur = tok->inp;
  263|      0|                    return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   13|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  264|      0|                }
  265|      0|                if (altcol != tok->altindstack[tok->indent]) {
  ------------------
  |  Branch (265:21): [True: 0, False: 0]
  ------------------
  266|      0|                    return MAKE_TOKEN(_PyTokenizer_indenterror(tok));
  ------------------
  |  |   13|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  267|      0|                }
  268|      0|            }
  269|      3|        }
  270|      3|    }
  271|       |
  272|     78|    tok->start = tok->cur;
  273|     78|    tok->starting_col_offset = tok->col_offset;
  274|       |
  275|       |    /* Return pending indents/dedents */
  276|     78|    if (tok->pendin != 0) {
  ------------------
  |  Branch (276:9): [True: 0, False: 78]
  ------------------
  277|      0|        if (tok->pendin < 0) {
  ------------------
  |  Branch (277:13): [True: 0, False: 0]
  ------------------
  278|      0|            if (tok->tok_extra_tokens) {
  ------------------
  |  Branch (278:17): [True: 0, False: 0]
  ------------------
  279|      0|                p_start = tok->cur;
  280|      0|                p_end = tok->cur;
  281|      0|            }
  282|      0|            tok->pendin++;
  283|      0|            return MAKE_TOKEN(DEDENT);
  ------------------
  |  |   13|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  284|      0|        }
  285|      0|        else {
  286|      0|            if (tok->tok_extra_tokens) {
  ------------------
  |  Branch (286:17): [True: 0, False: 0]
  ------------------
  287|      0|                p_start = tok->buf;
  288|      0|                p_end = tok->cur;
  289|      0|            }
  290|      0|            tok->pendin--;
  291|      0|            return MAKE_TOKEN(INDENT);
  ------------------
  |  |   13|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  292|      0|        }
  293|      0|    }
  294|       |
  295|       |    /* Peek ahead at the next character */
  296|     78|    c = tok_nextc(tok);
  ------------------
  |  |   44|     78|#define tok_nextc _PyLexer_nextc
  ------------------
  297|     78|    tok_backup(tok, c);
  ------------------
  |  |   45|     78|#define tok_backup _PyLexer_backup
  ------------------
  298|       |
  299|     78| again:
  300|     78|    tok->start = NULL;
  301|       |    /* Skip spaces */
  302|    108|    do {
  303|    108|        c = tok_nextc(tok);
  ------------------
  |  |   44|    108|#define tok_nextc _PyLexer_nextc
  ------------------
  304|    108|    } while (c == ' ' || c == '\t' || c == '\014');
  ------------------
  |  Branch (304:14): [True: 30, False: 78]
  |  Branch (304:26): [True: 0, False: 78]
  |  Branch (304:39): [True: 0, False: 78]
  ------------------
  305|       |
  306|       |    /* Set start of current token */
  307|     78|    tok->start = tok->cur == NULL ? NULL : tok->cur - 1;
  ------------------
  |  Branch (307:18): [True: 0, False: 78]
  ------------------
  308|     78|    tok->starting_col_offset = tok->col_offset - 1;
  309|       |
  310|       |    /* Skip comment, unless it's a type comment */
  311|     78|    if (c == '#') {
  ------------------
  |  Branch (311:9): [True: 0, False: 78]
  ------------------
  312|       |
  313|      0|        const char* p = NULL;
  314|      0|        const char *prefix, *type_start;
  315|      0|        int current_starting_col_offset;
  316|       |
  317|      0|        while (c != EOF && c != '\n' && c != '\r') {
  ------------------
  |  Branch (317:16): [True: 0, False: 0]
  |  Branch (317:28): [True: 0, False: 0]
  |  Branch (317:41): [True: 0, False: 0]
  ------------------
  318|      0|            c = tok_nextc(tok);
  ------------------
  |  |   44|      0|#define tok_nextc _PyLexer_nextc
  ------------------
  319|      0|        }
  320|       |
  321|      0|        if (tok->tok_extra_tokens) {
  ------------------
  |  Branch (321:13): [True: 0, False: 0]
  ------------------
  322|      0|            p = tok->start;
  323|      0|        }
  324|       |
  325|      0|        if (tok->type_comments) {
  ------------------
  |  Branch (325:13): [True: 0, False: 0]
  ------------------
  326|      0|            p = tok->start;
  327|      0|            current_starting_col_offset = tok->starting_col_offset;
  328|      0|            prefix = type_comment_prefix;
  329|      0|            while (*prefix && p < tok->cur) {
  ------------------
  |  Branch (329:20): [True: 0, False: 0]
  |  Branch (329:31): [True: 0, False: 0]
  ------------------
  330|      0|                if (*prefix == ' ') {
  ------------------
  |  Branch (330:21): [True: 0, False: 0]
  ------------------
  331|      0|                    while (*p == ' ' || *p == '\t') {
  ------------------
  |  Branch (331:28): [True: 0, False: 0]
  |  Branch (331:41): [True: 0, False: 0]
  ------------------
  332|      0|                        p++;
  333|      0|                        current_starting_col_offset++;
  334|      0|                    }
  335|      0|                } else if (*prefix == *p) {
  ------------------
  |  Branch (335:28): [True: 0, False: 0]
  ------------------
  336|      0|                    p++;
  337|      0|                    current_starting_col_offset++;
  338|      0|                } else {
  339|      0|                    break;
  340|      0|                }
  341|       |
  342|      0|                prefix++;
  343|      0|            }
  344|       |
  345|       |            /* This is a type comment if we matched all of type_comment_prefix. */
  346|      0|            if (!*prefix) {
  ------------------
  |  Branch (346:17): [True: 0, False: 0]
  ------------------
  347|      0|                int is_type_ignore = 1;
  348|       |                // +6 in order to skip the word 'ignore'
  349|      0|                const char *ignore_end = p + 6;
  350|      0|                const int ignore_end_col_offset = current_starting_col_offset + 6;
  351|      0|                tok_backup(tok, c);  /* don't eat the newline or EOF */
  ------------------
  |  |   45|      0|#define tok_backup _PyLexer_backup
  ------------------
  352|       |
  353|      0|                type_start = p;
  354|       |
  355|       |                /* A TYPE_IGNORE is "type: ignore" followed by the end of the token
  356|       |                 * or anything ASCII and non-alphanumeric. */
  357|      0|                is_type_ignore = (
  358|      0|                    tok->cur >= ignore_end && memcmp(p, "ignore", 6) == 0
  ------------------
  |  Branch (358:21): [True: 0, False: 0]
  |  Branch (358:47): [True: 0, False: 0]
  ------------------
  359|      0|                    && !(tok->cur > ignore_end
  ------------------
  |  Branch (359:26): [True: 0, False: 0]
  ------------------
  360|      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 (360:30): [True: 0, False: 0]
  ------------------
  361|       |
  362|      0|                if (is_type_ignore) {
  ------------------
  |  Branch (362:21): [True: 0, False: 0]
  ------------------
  363|      0|                    p_start = ignore_end;
  364|      0|                    p_end = tok->cur;
  365|       |
  366|       |                    /* If this type ignore is the only thing on the line, consume the newline also. */
  367|      0|                    if (blankline) {
  ------------------
  |  Branch (367:25): [True: 0, False: 0]
  ------------------
  368|      0|                        tok_nextc(tok);
  ------------------
  |  |   44|      0|#define tok_nextc _PyLexer_nextc
  ------------------
  369|      0|                        tok->atbol = 1;
  370|      0|                    }
  371|      0|                    return MAKE_TYPE_COMMENT_TOKEN(TYPE_IGNORE, ignore_end_col_offset, tok->col_offset);
  ------------------
  |  |   14|      0|#define MAKE_TYPE_COMMENT_TOKEN(token_type, col_offset, end_col_offset) (\
  |  |   15|      0|                _PyLexer_type_comment_token_setup(tok, token, token_type, col_offset, end_col_offset, p_start, p_end))
  ------------------
  372|      0|                } else {
  373|      0|                    p_start = type_start;
  374|      0|                    p_end = tok->cur;
  375|      0|                    return MAKE_TYPE_COMMENT_TOKEN(TYPE_COMMENT, current_starting_col_offset, tok->col_offset);
  ------------------
  |  |   14|      0|#define MAKE_TYPE_COMMENT_TOKEN(token_type, col_offset, end_col_offset) (\
  |  |   15|      0|                _PyLexer_type_comment_token_setup(tok, token, token_type, col_offset, end_col_offset, p_start, p_end))
  ------------------
  376|      0|                }
  377|      0|            }
  378|      0|        }
  379|      0|        if (tok->tok_extra_tokens) {
  ------------------
  |  Branch (379:13): [True: 0, False: 0]
  ------------------
  380|      0|            tok_backup(tok, c);  /* don't eat the newline or EOF */
  ------------------
  |  |   45|      0|#define tok_backup _PyLexer_backup
  ------------------
  381|      0|            p_start = p;
  382|      0|            p_end = tok->cur;
  383|      0|            tok->comment_newline = blankline;
  384|      0|            return MAKE_TOKEN(COMMENT);
  ------------------
  |  |   13|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  385|      0|        }
  386|      0|    }
  387|       |
  388|     78|    if (tok->done == E_INTERACT_STOP) {
  ------------------
  |  |   39|     78|#define E_INTERACT_STOP  28      /* Interactive mode stopped tokenization */
  ------------------
  |  Branch (388:9): [True: 0, False: 78]
  ------------------
  389|      0|        return MAKE_TOKEN(ENDMARKER);
  ------------------
  |  |   13|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  390|      0|    }
  391|       |
  392|       |    /* Check for EOF and errors now */
  393|     78|    if (c == EOF) {
  ------------------
  |  Branch (393:9): [True: 3, False: 75]
  ------------------
  394|      3|        if (tok->level) {
  ------------------
  |  Branch (394:13): [True: 0, False: 3]
  ------------------
  395|      0|            return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   13|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  396|      0|        }
  397|      3|        return MAKE_TOKEN(tok->done == E_EOF ? ENDMARKER : ERRORTOKEN);
  ------------------
  |  |   13|      6|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (13:65): [True: 3, False: 0]
  |  |  ------------------
  ------------------
  398|      3|    }
  399|       |
  400|       |    /* Identifier (most frequent token!) */
  401|     75|    nonascii = 0;
  402|     75|    if (is_potential_identifier_start(c)) {
  ------------------
  |  |    6|     75|#define is_potential_identifier_start(c) (\
  |  |    7|     75|              (c >= 'a' && c <= 'z')\
  |  |  ------------------
  |  |  |  Branch (7:16): [True: 27, False: 48]
  |  |  |  Branch (7:28): [True: 27, False: 0]
  |  |  ------------------
  |  |    8|     75|               || (c >= 'A' && c <= 'Z')\
  |  |  ------------------
  |  |  |  Branch (8:20): [True: 9, False: 39]
  |  |  |  Branch (8:32): [True: 0, False: 9]
  |  |  ------------------
  |  |    9|     75|               || c == '_'\
  |  |  ------------------
  |  |  |  Branch (9:19): [True: 9, False: 39]
  |  |  ------------------
  |  |   10|     75|               || (c >= 128))
  |  |  ------------------
  |  |  |  Branch (10:19): [True: 0, False: 39]
  |  |  ------------------
  ------------------
  403|       |        /* Process the various legal combinations of b"", r"", u"", and f"". */
  404|     36|        int saw_b = 0, saw_r = 0, saw_u = 0, saw_f = 0, saw_t = 0;
  405|     38|        while (1) {
  ------------------
  |  Branch (405:16): [True: 38, Folded]
  ------------------
  406|     38|            if (!saw_b && (c == 'b' || c == 'B')) {
  ------------------
  |  Branch (406:17): [True: 38, False: 0]
  |  Branch (406:28): [True: 0, False: 38]
  |  Branch (406:40): [True: 0, False: 38]
  ------------------
  407|      0|                saw_b = 1;
  408|      0|            }
  409|       |            /* Since this is a backwards compatibility support literal we don't
  410|       |               want to support it in arbitrary order like byte literals. */
  411|     38|            else if (!saw_u && (c == 'u'|| c == 'U')) {
  ------------------
  |  Branch (411:22): [True: 38, False: 0]
  |  Branch (411:33): [True: 0, False: 38]
  |  Branch (411:44): [True: 0, False: 38]
  ------------------
  412|      0|                saw_u = 1;
  413|      0|            }
  414|       |            /* ur"" and ru"" are not supported */
  415|     38|            else if (!saw_r && (c == 'r' || c == 'R')) {
  ------------------
  |  Branch (415:22): [True: 38, False: 0]
  |  Branch (415:33): [True: 0, False: 38]
  |  Branch (415:45): [True: 0, False: 38]
  ------------------
  416|      0|                saw_r = 1;
  417|      0|            }
  418|     38|            else if (!saw_f && (c == 'f' || c == 'F')) {
  ------------------
  |  Branch (418:22): [True: 38, False: 0]
  |  Branch (418:33): [True: 0, False: 38]
  |  Branch (418:45): [True: 0, False: 38]
  ------------------
  419|      0|                saw_f = 1;
  420|      0|            }
  421|     38|            else if (!saw_t && (c == 't' || c == 'T')) {
  ------------------
  |  Branch (421:22): [True: 36, False: 2]
  |  Branch (421:33): [True: 2, False: 34]
  |  Branch (421:45): [True: 0, False: 34]
  ------------------
  422|      2|                saw_t = 1;
  423|      2|            }
  424|     36|            else {
  425|     36|                break;
  426|     36|            }
  427|      2|            c = tok_nextc(tok);
  ------------------
  |  |   44|      2|#define tok_nextc _PyLexer_nextc
  ------------------
  428|      2|            if (c == '"' || c == '\'') {
  ------------------
  |  Branch (428:17): [True: 0, False: 2]
  |  Branch (428:29): [True: 0, False: 2]
  ------------------
  429|       |                // Raise error on incompatible string prefixes:
  430|      0|                int status = _PyLexer_check_string_prefixes(
  431|      0|                    tok, saw_b, saw_r, saw_u, saw_f, saw_t);
  432|      0|                if (status < 0) {
  ------------------
  |  Branch (432:21): [True: 0, False: 0]
  ------------------
  433|      0|                    return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   13|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  434|      0|                }
  435|       |
  436|       |                // Handle valid f or t string creation:
  437|      0|                if (saw_f || saw_t) {
  ------------------
  |  Branch (437:21): [True: 0, False: 0]
  |  Branch (437:30): [True: 0, False: 0]
  ------------------
  438|      0|                    return _PyLexer_scan_fstring_start(tok, token, c);
  439|      0|                }
  440|      0|                return _PyLexer_scan_string(tok, token, c);
  441|      0|            }
  442|      2|        }
  443|    236|        while (is_potential_identifier_char(c)) {
  ------------------
  |  |   12|    236|#define is_potential_identifier_char(c) (\
  |  |   13|    236|              (c >= 'a' && c <= 'z')\
  |  |  ------------------
  |  |  |  Branch (13:16): [True: 188, False: 48]
  |  |  |  Branch (13:28): [True: 188, False: 0]
  |  |  ------------------
  |  |   14|    236|               || (c >= 'A' && c <= 'Z')\
  |  |  ------------------
  |  |  |  Branch (14:20): [True: 12, False: 36]
  |  |  |  Branch (14:32): [True: 0, False: 12]
  |  |  ------------------
  |  |   15|    236|               || (c >= '0' && c <= '9')\
  |  |  ------------------
  |  |  |  Branch (15:20): [True: 15, False: 33]
  |  |  |  Branch (15:32): [True: 0, False: 15]
  |  |  ------------------
  |  |   16|    236|               || c == '_'\
  |  |  ------------------
  |  |  |  Branch (16:19): [True: 12, False: 36]
  |  |  ------------------
  |  |   17|    236|               || (c >= 128))
  |  |  ------------------
  |  |  |  Branch (17:19): [True: 0, False: 36]
  |  |  ------------------
  ------------------
  444|    200|            if (c >= 128) {
  ------------------
  |  Branch (444:17): [True: 0, False: 200]
  ------------------
  445|      0|                nonascii = 1;
  446|      0|            }
  447|    200|            c = tok_nextc(tok);
  ------------------
  |  |   44|    200|#define tok_nextc _PyLexer_nextc
  ------------------
  448|    200|        }
  449|     36|        tok_backup(tok, c);
  ------------------
  |  |   45|     36|#define tok_backup _PyLexer_backup
  ------------------
  450|     36|        if (nonascii && !verify_identifier(tok)) {
  ------------------
  |  Branch (450:13): [True: 0, False: 36]
  |  Branch (450:25): [True: 0, False: 0]
  ------------------
  451|      0|            return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   13|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  452|      0|        }
  453|       |
  454|     36|        p_start = tok->start;
  455|     36|        p_end = tok->cur;
  456|       |
  457|     36|        return MAKE_TOKEN(NAME);
  ------------------
  |  |   13|     36|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  458|     36|    }
  459|       |
  460|     39|    if (c == '\r') {
  ------------------
  |  Branch (460:9): [True: 0, False: 39]
  ------------------
  461|      0|        c = tok_nextc(tok);
  ------------------
  |  |   44|      0|#define tok_nextc _PyLexer_nextc
  ------------------
  462|      0|    }
  463|       |
  464|       |    /* Newline */
  465|     39|    if (c == '\n') {
  ------------------
  |  Branch (465:9): [True: 0, False: 39]
  ------------------
  466|      0|        tok->atbol = 1;
  467|      0|        if (blankline || tok->level > 0) {
  ------------------
  |  Branch (467:13): [True: 0, False: 0]
  |  Branch (467:26): [True: 0, False: 0]
  ------------------
  468|      0|            if (tok->tok_extra_tokens) {
  ------------------
  |  Branch (468:17): [True: 0, False: 0]
  ------------------
  469|      0|                if (tok->comment_newline) {
  ------------------
  |  Branch (469:21): [True: 0, False: 0]
  ------------------
  470|      0|                    tok->comment_newline = 0;
  471|      0|                }
  472|      0|                p_start = tok->start;
  473|      0|                p_end = tok->cur;
  474|      0|                return MAKE_TOKEN(NL);
  ------------------
  |  |   13|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  475|      0|            }
  476|      0|            goto nextline;
  477|      0|        }
  478|      0|        if (tok->comment_newline && tok->tok_extra_tokens) {
  ------------------
  |  Branch (478:13): [True: 0, False: 0]
  |  Branch (478:37): [True: 0, False: 0]
  ------------------
  479|      0|            tok->comment_newline = 0;
  480|      0|            p_start = tok->start;
  481|      0|            p_end = tok->cur;
  482|      0|            return MAKE_TOKEN(NL);
  ------------------
  |  |   13|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  483|      0|        }
  484|      0|        p_start = tok->start;
  485|      0|        p_end = tok->cur - 1; /* Leave '\n' out of the string */
  486|      0|        tok->cont_line = 0;
  487|      0|        return MAKE_TOKEN(NEWLINE);
  ------------------
  |  |   13|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  488|      0|    }
  489|       |
  490|       |    /* Period or number starting with period? */
  491|     39|    if (c == '.') {
  ------------------
  |  Branch (491:9): [True: 0, False: 39]
  ------------------
  492|      0|        c = tok_nextc(tok);
  ------------------
  |  |   44|      0|#define tok_nextc _PyLexer_nextc
  ------------------
  493|      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]
  |  |  ------------------
  ------------------
  494|      0|            return _PyLexer_scan_number(tok, token, c, 1);
  495|      0|        } else if (c == '.') {
  ------------------
  |  Branch (495:20): [True: 0, False: 0]
  ------------------
  496|      0|            c = tok_nextc(tok);
  ------------------
  |  |   44|      0|#define tok_nextc _PyLexer_nextc
  ------------------
  497|      0|            if (c == '.') {
  ------------------
  |  Branch (497:17): [True: 0, False: 0]
  ------------------
  498|      0|                p_start = tok->start;
  499|      0|                p_end = tok->cur;
  500|      0|                return MAKE_TOKEN(ELLIPSIS);
  ------------------
  |  |   13|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  501|      0|            }
  502|      0|            else {
  503|      0|                tok_backup(tok, c);
  ------------------
  |  |   45|      0|#define tok_backup _PyLexer_backup
  ------------------
  504|      0|            }
  505|      0|            tok_backup(tok, '.');
  ------------------
  |  |   45|      0|#define tok_backup _PyLexer_backup
  ------------------
  506|      0|        }
  507|      0|        else {
  508|      0|            tok_backup(tok, c);
  ------------------
  |  |   45|      0|#define tok_backup _PyLexer_backup
  ------------------
  509|      0|        }
  510|      0|        p_start = tok->start;
  511|      0|        p_end = tok->cur;
  512|      0|        return MAKE_TOKEN(DOT);
  ------------------
  |  |   13|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  513|      0|    }
  514|       |
  515|       |
  516|       |    /* Number */
  517|     39|    if (Py_ISDIGIT(c)) {
  ------------------
  |  |   24|     39|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|     39|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|     39|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 0, False: 39]
  |  |  ------------------
  ------------------
  518|      0|        return _PyLexer_scan_number(tok, token, c, 0);
  519|      0|    }
  520|       |
  521|       |    /* String */
  522|     39|    if (c == '\'' || c == '"') {
  ------------------
  |  Branch (522:9): [True: 0, False: 39]
  |  Branch (522:22): [True: 0, False: 39]
  ------------------
  523|      0|        return _PyLexer_scan_string(tok, token, c);
  524|      0|    }
  525|       |
  526|       |    /* Line continuation */
  527|     39|    if (c == '\\') {
  ------------------
  |  Branch (527:9): [True: 0, False: 39]
  ------------------
  528|      0|        if ((c = tok_continuation_line(tok)) == -1) {
  ------------------
  |  Branch (528:13): [True: 0, False: 0]
  ------------------
  529|      0|            return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   13|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  530|      0|        }
  531|      0|        tok->cont_line = 1;
  532|      0|        goto again; /* Read next line */
  533|      0|    }
  534|       |
  535|       |    /* Punctuation character */
  536|     39|    int is_punctuation = (c == ':' || c == '}' || c == '!' || c == '{');
  ------------------
  |  Branch (536:27): [True: 3, False: 36]
  |  Branch (536:39): [True: 0, False: 36]
  |  Branch (536:51): [True: 0, False: 36]
  |  Branch (536:63): [True: 0, False: 36]
  ------------------
  537|     39|    if (is_punctuation && INSIDE_FSTRING(tok) && INSIDE_FSTRING_EXPR(current_tok)) {
  ------------------
  |  |   10|     42|#define INSIDE_FSTRING(tok) (tok->tok_mode_stack_index > 0)
  |  |  ------------------
  |  |  |  Branch (10:29): [True: 0, False: 3]
  |  |  ------------------
  ------------------
                  if (is_punctuation && INSIDE_FSTRING(tok) && INSIDE_FSTRING_EXPR(current_tok)) {
  ------------------
  |  |   11|      0|#define INSIDE_FSTRING_EXPR(tok) (tok->curly_bracket_expr_start_depth >= 0)
  |  |  ------------------
  |  |  |  Branch (11:34): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (537:9): [True: 3, False: 36]
  ------------------
  538|       |        /* This code block gets executed before the curly_bracket_depth is incremented
  539|       |         * by the `{` case, so for ensuring that we are on the 0th level, we need
  540|       |         * to adjust it manually */
  541|      0|        int cursor = current_tok->curly_bracket_depth - (c != '{');
  542|      0|        int in_format_spec = current_tok->in_format_spec;
  543|      0|         int cursor_in_format_with_debug =
  544|      0|             cursor == 1 && (current_tok->in_debug || in_format_spec);
  ------------------
  |  Branch (544:14): [True: 0, False: 0]
  |  Branch (544:30): [True: 0, False: 0]
  |  Branch (544:55): [True: 0, False: 0]
  ------------------
  545|      0|         int cursor_valid = cursor == 0 || cursor_in_format_with_debug;
  ------------------
  |  Branch (545:29): [True: 0, False: 0]
  |  Branch (545:44): [True: 0, False: 0]
  ------------------
  546|      0|        if ((cursor_valid) && !_PyLexer_update_ftstring_expr(tok, c)) {
  ------------------
  |  Branch (546:13): [True: 0, False: 0]
  |  Branch (546:31): [True: 0, False: 0]
  ------------------
  547|      0|            return MAKE_TOKEN(ENDMARKER);
  ------------------
  |  |   13|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  548|      0|        }
  549|      0|        if ((cursor_valid) && c != '{' && _PyLexer_set_ftstring_expr(tok, token, c)) {
  ------------------
  |  Branch (549:13): [True: 0, False: 0]
  |  Branch (549:31): [True: 0, False: 0]
  |  Branch (549:43): [True: 0, False: 0]
  ------------------
  550|      0|            return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   13|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  551|      0|        }
  552|       |
  553|      0|        if (c == ':' && cursor == current_tok->curly_bracket_expr_start_depth) {
  ------------------
  |  Branch (553:13): [True: 0, False: 0]
  |  Branch (553:25): [True: 0, False: 0]
  ------------------
  554|      0|            current_tok->kind = TOK_FSTRING_MODE;
  555|      0|            current_tok->in_format_spec = 1;
  556|      0|            p_start = tok->start;
  557|      0|            p_end = tok->cur;
  558|      0|            return MAKE_TOKEN(_PyToken_OneChar(c));
  ------------------
  |  |   13|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  559|      0|        }
  560|      0|    }
  561|       |
  562|       |    /* Check for two-character token */
  563|     39|    {
  564|     39|        int c2 = tok_nextc(tok);
  ------------------
  |  |   44|     39|#define tok_nextc _PyLexer_nextc
  ------------------
  565|     39|        int current_token = _PyToken_TwoChars(c, c2);
  566|     39|        if (current_token != OP) {
  ------------------
  |  |   71|     39|#define OP              55
  ------------------
  |  Branch (566:13): [True: 0, False: 39]
  ------------------
  567|      0|            int c3 = tok_nextc(tok);
  ------------------
  |  |   44|      0|#define tok_nextc _PyLexer_nextc
  ------------------
  568|      0|            int current_token3 = _PyToken_ThreeChars(c, c2, c3);
  569|      0|            if (current_token3 != OP) {
  ------------------
  |  |   71|      0|#define OP              55
  ------------------
  |  Branch (569:17): [True: 0, False: 0]
  ------------------
  570|      0|                current_token = current_token3;
  571|      0|            }
  572|      0|            else {
  573|      0|                tok_backup(tok, c3);
  ------------------
  |  |   45|      0|#define tok_backup _PyLexer_backup
  ------------------
  574|      0|            }
  575|      0|            p_start = tok->start;
  576|      0|            p_end = tok->cur;
  577|      0|            return MAKE_TOKEN(current_token);
  ------------------
  |  |   13|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  578|      0|        }
  579|     39|        tok_backup(tok, c2);
  ------------------
  |  |   45|     39|#define tok_backup _PyLexer_backup
  ------------------
  580|     39|    }
  581|       |
  582|       |    /* Keep track of parentheses nesting level */
  583|      0|    switch (c) {
  584|      6|    case '(':
  ------------------
  |  Branch (584:5): [True: 6, False: 33]
  ------------------
  585|      6|    case '[':
  ------------------
  |  Branch (585:5): [True: 0, False: 39]
  ------------------
  586|      6|    case '{':
  ------------------
  |  Branch (586:5): [True: 0, False: 39]
  ------------------
  587|      6|        if (tok->level >= MAXLEVEL) {
  ------------------
  |  |    7|      6|#define MAXLEVEL 200        /* Max parentheses level */
  ------------------
  |  Branch (587:13): [True: 0, False: 6]
  ------------------
  588|      0|            return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "too many nested parentheses"));
  ------------------
  |  |   13|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  589|      0|        }
  590|      6|        tok->parenstack[tok->level] = c;
  591|      6|        tok->parenlinenostack[tok->level] = tok->lineno;
  592|      6|        tok->parencolstack[tok->level] = (int)(tok->start - tok->line_start);
  593|      6|        tok->level++;
  594|      6|        if (INSIDE_FSTRING(tok)) {
  ------------------
  |  |   10|      6|#define INSIDE_FSTRING(tok) (tok->tok_mode_stack_index > 0)
  |  |  ------------------
  |  |  |  Branch (10:29): [True: 0, False: 6]
  |  |  ------------------
  ------------------
  595|      0|            current_tok->curly_bracket_depth++;
  596|      0|        }
  597|      6|        break;
  598|      6|    case ')':
  ------------------
  |  Branch (598:5): [True: 6, False: 33]
  ------------------
  599|      6|    case ']':
  ------------------
  |  Branch (599:5): [True: 0, False: 39]
  ------------------
  600|      6|    case '}':
  ------------------
  |  Branch (600:5): [True: 0, False: 39]
  ------------------
  601|      6|        if (INSIDE_FSTRING(tok) && !current_tok->curly_bracket_depth && c == '}') {
  ------------------
  |  |   10|     12|#define INSIDE_FSTRING(tok) (tok->tok_mode_stack_index > 0)
  |  |  ------------------
  |  |  |  Branch (10:29): [True: 0, False: 6]
  |  |  ------------------
  ------------------
  |  Branch (601:36): [True: 0, False: 0]
  |  Branch (601:73): [True: 0, False: 0]
  ------------------
  602|      0|            return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok,
  ------------------
  |  |   13|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (13:65): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  603|      0|                "%c-string: single '}' is not allowed", TOK_GET_STRING_PREFIX(tok)));
  604|      0|        }
  605|      6|        if (!tok->tok_extra_tokens && !tok->level) {
  ------------------
  |  Branch (605:13): [True: 6, False: 0]
  |  Branch (605:39): [True: 0, False: 6]
  ------------------
  606|      0|            return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "unmatched '%c'", c));
  ------------------
  |  |   13|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  607|      0|        }
  608|      6|        if (tok->level > 0) {
  ------------------
  |  Branch (608:13): [True: 6, False: 0]
  ------------------
  609|      6|            tok->level--;
  610|      6|            int opening = tok->parenstack[tok->level];
  611|      6|            if (!tok->tok_extra_tokens && !((opening == '(' && c == ')') ||
  ------------------
  |  Branch (611:17): [True: 6, False: 0]
  |  Branch (611:46): [True: 6, False: 0]
  |  Branch (611:64): [True: 6, False: 0]
  ------------------
  612|      0|                                            (opening == '[' && c == ']') ||
  ------------------
  |  Branch (612:46): [True: 0, False: 0]
  |  Branch (612:64): [True: 0, False: 0]
  ------------------
  613|      0|                                            (opening == '{' && c == '}'))) {
  ------------------
  |  Branch (613:46): [True: 0, False: 0]
  |  Branch (613:64): [True: 0, False: 0]
  ------------------
  614|       |                /* If the opening bracket belongs to an f-string's expression
  615|       |                part (e.g. f"{)}") and the closing bracket is an arbitrary
  616|       |                nested expression, then instead of matching a different
  617|       |                syntactical construct with it; we'll throw an unmatched
  618|       |                parentheses error. */
  619|      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 (619:44): [True: 0, False: 0]
  ------------------
  620|      0|                    assert(current_tok->curly_bracket_depth >= 0);
  ------------------
  |  Branch (620:21): [True: 0, False: 0]
  ------------------
  621|      0|                    int previous_bracket = current_tok->curly_bracket_depth - 1;
  622|      0|                    if (previous_bracket == current_tok->curly_bracket_expr_start_depth) {
  ------------------
  |  Branch (622:25): [True: 0, False: 0]
  ------------------
  623|      0|                        return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok,
  ------------------
  |  |   13|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (13:65): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  624|      0|                            "%c-string: unmatched '%c'", TOK_GET_STRING_PREFIX(tok), c));
  625|      0|                    }
  626|      0|                }
  627|      0|                if (tok->parenlinenostack[tok->level] != tok->lineno) {
  ------------------
  |  Branch (627:21): [True: 0, False: 0]
  ------------------
  628|      0|                    return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok,
  ------------------
  |  |   13|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  629|      0|                            "closing parenthesis '%c' does not match "
  630|      0|                            "opening parenthesis '%c' on line %d",
  631|      0|                            c, opening, tok->parenlinenostack[tok->level]));
  632|      0|                }
  633|      0|                else {
  634|      0|                    return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok,
  ------------------
  |  |   13|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  635|      0|                            "closing parenthesis '%c' does not match "
  636|      0|                            "opening parenthesis '%c'",
  637|      0|                            c, opening));
  638|      0|                }
  639|      0|            }
  640|      6|        }
  641|       |
  642|      6|        if (INSIDE_FSTRING(tok)) {
  ------------------
  |  |   10|      6|#define INSIDE_FSTRING(tok) (tok->tok_mode_stack_index > 0)
  |  |  ------------------
  |  |  |  Branch (10:29): [True: 0, False: 6]
  |  |  ------------------
  ------------------
  643|      0|            current_tok->curly_bracket_depth--;
  644|      0|            if (current_tok->curly_bracket_depth < 0) {
  ------------------
  |  Branch (644:17): [True: 0, False: 0]
  ------------------
  645|      0|                return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "%c-string: unmatched '%c'",
  ------------------
  |  |   13|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (13:65): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  646|      0|                    TOK_GET_STRING_PREFIX(tok), c));
  647|      0|            }
  648|      0|            if (c == '}' && current_tok->curly_bracket_depth == current_tok->curly_bracket_expr_start_depth) {
  ------------------
  |  Branch (648:17): [True: 0, False: 0]
  |  Branch (648:29): [True: 0, False: 0]
  ------------------
  649|      0|                current_tok->curly_bracket_expr_start_depth--;
  650|      0|                current_tok->kind = TOK_FSTRING_MODE;
  651|      0|                current_tok->in_format_spec = 0;
  652|      0|                current_tok->in_debug = 0;
  653|      0|            }
  654|      0|        }
  655|      6|        break;
  656|     27|    default:
  ------------------
  |  Branch (656:5): [True: 27, False: 12]
  ------------------
  657|     27|        break;
  658|     39|    }
  659|       |
  660|     39|    if (!Py_UNICODE_ISPRINTABLE(c)) {
  ------------------
  |  |  761|     39|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  ------------------
  |  Branch (660:9): [True: 0, False: 39]
  ------------------
  661|      0|        return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "invalid non-printable character U+%04X", c));
  ------------------
  |  |   13|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  662|      0|    }
  663|       |
  664|     39|    if( c == '=' && INSIDE_FSTRING_EXPR_AT_TOP(current_tok)) {
  ------------------
  |  |   13|      0|    (tok->curly_bracket_depth - tok->curly_bracket_expr_start_depth == 1)
  |  |  ------------------
  |  |  |  Branch (13:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (664:9): [True: 0, False: 39]
  ------------------
  665|      0|        current_tok->in_debug = 1;
  666|      0|    }
  667|       |
  668|       |    /* Punctuation character */
  669|     39|    p_start = tok->start;
  670|     39|    p_end = tok->cur;
  671|     39|    return MAKE_TOKEN(_PyToken_OneChar(c));
  ------------------
  |  |   13|     39|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  672|     39|}
_PyTokenizer_Get:
  688|     78|{
  689|     78|    int result = tok_get(tok, token);
  690|     78|    if (tok->decoding_erred) {
  ------------------
  |  Branch (690:9): [True: 0, False: 78]
  ------------------
  691|      0|        result = ERRORTOKEN;
  ------------------
  |  |   83|      0|#define ERRORTOKEN      67
  ------------------
  692|      0|        tok->done = E_DECODE;
  ------------------
  |  |   34|      0|#define E_DECODE         22      /* Error in decoding into Unicode */
  ------------------
  693|      0|    }
  694|     78|    return result;
  695|     78|}
lexer.c:contains_null_bytes:
   23|      3|{
   24|       |    return memchr(str, 0, size) != NULL;
   25|      3|}
lexer.c:tok_get:
  677|     78|{
  678|     78|    tokenizer_mode *current_tok = TOK_GET_MODE(tok);
  ------------------
  |  |   36|     78|#define TOK_GET_MODE(tok) (&(tok)->tok_mode_stack[(tok)->tok_mode_stack_index])
  ------------------
  679|     78|    if (current_tok->kind == TOK_REGULAR_MODE) {
  ------------------
  |  Branch (679:9): [True: 78, False: 0]
  ------------------
  680|     78|        return _PyLexer_get_normal_mode(tok, current_tok, token);
  681|     78|    } else {
  682|      0|        return _PyLexer_get_fstring_mode(tok, current_tok, token);
  683|      0|    }
  684|     78|}

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

_PyPegen_parse:
39636|      3|{
39637|       |    // Initialize keywords
39638|      3|    p->keywords = reserved_keywords;
39639|      3|    p->n_keyword_lists = n_keyword_lists;
39640|      3|    p->soft_keywords = soft_keywords;
39641|       |
39642|       |    // Run parser
39643|      3|    void *result = NULL;
39644|      3|    if (p->start_rule == Py_file_input) {
  ------------------
  |  |    9|      3|#define Py_file_input 257
  ------------------
  |  Branch (39644:9): [True: 0, False: 3]
  ------------------
39645|      0|        result = file_rule(p);
39646|      3|    } else if (p->start_rule == Py_single_input) {
  ------------------
  |  |    8|      3|#define Py_single_input 256
  ------------------
  |  Branch (39646:16): [True: 0, False: 3]
  ------------------
39647|      0|        result = interactive_rule(p);
39648|      3|    } else if (p->start_rule == Py_eval_input) {
  ------------------
  |  |   10|      3|#define Py_eval_input 258
  ------------------
  |  Branch (39648:16): [True: 3, False: 0]
  ------------------
39649|      3|        result = eval_rule(p);
39650|      3|    } else if (p->start_rule == Py_func_type_input) {
  ------------------
  |  |   11|      0|#define Py_func_type_input 345
  ------------------
  |  Branch (39650:16): [True: 0, False: 0]
  ------------------
39651|      0|        result = func_type_rule(p);
39652|      0|    }
39653|       |
39654|      3|    return result;
39655|      3|}
parser.c:named_expression_rule:
12424|     24|{
12425|     24|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     48|#  define MAXSTACK 6000
  ------------------
  |  Branch (12425:9): [True: 0, False: 24]
  |  Branch (12425:35): [True: 0, False: 24]
  ------------------
12426|      0|        _Pypegen_stack_overflow(p);
12427|      0|    }
12428|     24|    if (p->error_indicator) {
  ------------------
  |  Branch (12428:9): [True: 0, False: 24]
  ------------------
12429|      0|        p->level--;
12430|      0|        return NULL;
12431|      0|    }
12432|     24|    expr_ty _res = NULL;
12433|     24|    int _mark = p->mark;
12434|     24|    { // assignment_expression
12435|     24|        if (p->error_indicator) {
  ------------------
  |  Branch (12435:13): [True: 0, False: 24]
  ------------------
12436|      0|            p->level--;
12437|      0|            return NULL;
12438|      0|        }
12439|     24|        D(fprintf(stderr, "%*c> named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
12440|     24|        expr_ty assignment_expression_var;
12441|     24|        if (
12442|     24|            (assignment_expression_var = assignment_expression_rule(p))  // assignment_expression
  ------------------
  |  Branch (12442:13): [True: 0, False: 24]
  ------------------
12443|     24|        )
12444|      0|        {
12445|      0|            D(fprintf(stderr, "%*c+ named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
12446|      0|            _res = assignment_expression_var;
12447|      0|            goto done;
12448|      0|        }
12449|     24|        p->mark = _mark;
12450|     24|        D(fprintf(stderr, "%*c%s named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12451|     24|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "assignment_expression"));
12452|     24|    }
12453|     24|    if (p->call_invalid_rules) { // invalid_named_expression
  ------------------
  |  Branch (12453:9): [True: 0, False: 24]
  ------------------
12454|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (12454:13): [True: 0, False: 0]
  ------------------
12455|      0|            p->level--;
12456|      0|            return NULL;
12457|      0|        }
12458|      0|        D(fprintf(stderr, "%*c> named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_named_expression"));
12459|      0|        void *invalid_named_expression_var;
12460|      0|        if (
12461|      0|            (invalid_named_expression_var = invalid_named_expression_rule(p))  // invalid_named_expression
  ------------------
  |  Branch (12461:13): [True: 0, False: 0]
  ------------------
12462|      0|        )
12463|      0|        {
12464|      0|            D(fprintf(stderr, "%*c+ named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_named_expression"));
12465|      0|            _res = invalid_named_expression_var;
12466|      0|            goto done;
12467|      0|        }
12468|      0|        p->mark = _mark;
12469|      0|        D(fprintf(stderr, "%*c%s named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12470|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_named_expression"));
12471|      0|    }
12472|     24|    { // expression !':='
12473|     24|        if (p->error_indicator) {
  ------------------
  |  Branch (12473:13): [True: 0, False: 24]
  ------------------
12474|      0|            p->level--;
12475|      0|            return NULL;
12476|      0|        }
12477|     24|        D(fprintf(stderr, "%*c> named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression !':='"));
12478|     24|        expr_ty expression_var;
12479|     24|        if (
12480|     24|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (12480:13): [True: 24, False: 0]
  ------------------
12481|     24|            &&
12482|     24|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 53)  // token=':='
  ------------------
  |  Branch (12482:13): [True: 24, False: 0]
  ------------------
12483|     24|        )
12484|     24|        {
12485|     24|            D(fprintf(stderr, "%*c+ named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression !':='"));
12486|     24|            _res = expression_var;
12487|     24|            goto done;
12488|     24|        }
12489|      0|        p->mark = _mark;
12490|      0|        D(fprintf(stderr, "%*c%s named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12491|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression !':='"));
12492|      0|    }
12493|      0|    _res = NULL;
12494|     24|  done:
12495|     24|    p->level--;
12496|     24|    return _res;
12497|      0|}
parser.c:assignment_expression_rule:
12350|     39|{
12351|     39|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     78|#  define MAXSTACK 6000
  ------------------
  |  Branch (12351:9): [True: 0, False: 39]
  |  Branch (12351:35): [True: 0, False: 39]
  ------------------
12352|      0|        _Pypegen_stack_overflow(p);
12353|      0|    }
12354|     39|    if (p->error_indicator) {
  ------------------
  |  Branch (12354:9): [True: 0, False: 39]
  ------------------
12355|      0|        p->level--;
12356|      0|        return NULL;
12357|      0|    }
12358|     39|    expr_ty _res = NULL;
12359|     39|    int _mark = p->mark;
12360|     39|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12360:9): [True: 6, False: 33]
  |  Branch (12360:31): [True: 0, False: 6]
  ------------------
12361|      0|        p->error_indicator = 1;
12362|      0|        p->level--;
12363|      0|        return NULL;
12364|      0|    }
12365|     39|    int _start_lineno = p->tokens[_mark]->lineno;
12366|     39|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|     39|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 39]
  |  |  ------------------
  ------------------
12367|     39|    int _start_col_offset = p->tokens[_mark]->col_offset;
12368|     39|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|     39|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 39]
  |  |  ------------------
  ------------------
12369|     39|    { // NAME ':=' ~ expression
12370|     39|        if (p->error_indicator) {
  ------------------
  |  Branch (12370:13): [True: 0, False: 39]
  ------------------
12371|      0|            p->level--;
12372|      0|            return NULL;
12373|      0|        }
12374|     39|        D(fprintf(stderr, "%*c> assignment_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME ':=' ~ expression"));
12375|     39|        int _cut_var = 0;
12376|     39|        Token * _literal;
12377|     39|        expr_ty a;
12378|     39|        expr_ty b;
12379|     39|        if (
12380|     39|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (12380:13): [True: 36, False: 3]
  ------------------
12381|     36|            &&
12382|     36|            (_literal = _PyPegen_expect_token(p, 53))  // token=':='
  ------------------
  |  Branch (12382:13): [True: 0, False: 36]
  ------------------
12383|      0|            &&
12384|      0|            (_cut_var = 1)
  ------------------
  |  Branch (12384:13): [True: 0, False: 0]
  ------------------
12385|      0|            &&
12386|      0|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (12386:13): [True: 0, False: 0]
  ------------------
12387|     39|        )
12388|      0|        {
12389|      0|            D(fprintf(stderr, "%*c+ assignment_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME ':=' ~ expression"));
12390|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12391|      0|            if (_token == NULL) {
  ------------------
  |  Branch (12391:17): [True: 0, False: 0]
  ------------------
12392|      0|                p->level--;
12393|      0|                return NULL;
12394|      0|            }
12395|      0|            int _end_lineno = _token->end_lineno;
12396|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12397|      0|            int _end_col_offset = _token->end_col_offset;
12398|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12399|      0|            _res = CHECK_VERSION ( expr_ty , 8 , "Assignment expressions are" , _PyAST_NamedExpr ( CHECK ( expr_ty , _PyPegen_set_expr_context ( p , a , Store ) ) , b , EXTRA ) );
  ------------------
  |  |  312|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
12400|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12400:18): [True: 0, False: 0]
  |  Branch (12400:34): [True: 0, False: 0]
  |  Branch (12400:57): [True: 0, False: 0]
  ------------------
12401|      0|                p->error_indicator = 1;
12402|      0|                p->level--;
12403|      0|                return NULL;
12404|      0|            }
12405|      0|            goto done;
12406|      0|        }
12407|     39|        p->mark = _mark;
12408|     39|        D(fprintf(stderr, "%*c%s assignment_expression[%d-%d]: %s failed!\n", p->level, ' ',
12409|     39|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME ':=' ~ expression"));
12410|     39|        if (_cut_var) {
  ------------------
  |  Branch (12410:13): [True: 0, False: 39]
  ------------------
12411|      0|            p->level--;
12412|      0|            return NULL;
12413|      0|        }
12414|     39|    }
12415|     39|    _res = NULL;
12416|     39|  done:
12417|     39|    p->level--;
12418|     39|    return _res;
12419|     39|}
parser.c:bitwise_or_rule:
13536|     93|{
13537|     93|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    186|#  define MAXSTACK 6000
  ------------------
  |  Branch (13537:9): [True: 0, False: 93]
  |  Branch (13537:35): [True: 0, False: 93]
  ------------------
13538|      0|        _Pypegen_stack_overflow(p);
13539|      0|    }
13540|     93|    expr_ty _res = NULL;
13541|     93|    if (_PyPegen_is_memoized(p, bitwise_or_type, &_res)) {
  ------------------
  |  |  224|     93|#define bitwise_or_type 1135  // Left-recursive
  ------------------
  |  Branch (13541:9): [True: 69, False: 24]
  ------------------
13542|     69|        p->level--;
13543|     69|        return _res;
13544|     69|    }
13545|     24|    int _mark = p->mark;
13546|     24|    int _resmark = p->mark;
13547|     45|    while (1) {
  ------------------
  |  Branch (13547:12): [True: 45, Folded]
  ------------------
13548|     45|        int tmpvar_2 = _PyPegen_update_memo(p, _mark, bitwise_or_type, _res);
  ------------------
  |  |  224|     45|#define bitwise_or_type 1135  // Left-recursive
  ------------------
13549|     45|        if (tmpvar_2) {
  ------------------
  |  Branch (13549:13): [True: 0, False: 45]
  ------------------
13550|      0|            p->level--;
13551|      0|            return _res;
13552|      0|        }
13553|     45|        p->mark = _mark;
13554|     45|        void *_raw = bitwise_or_raw(p);
13555|     45|        if (p->error_indicator) {
  ------------------
  |  Branch (13555:13): [True: 0, False: 45]
  ------------------
13556|      0|            p->level--;
13557|      0|            return NULL;
13558|      0|        }
13559|     45|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13559:13): [True: 3, False: 42]
  |  Branch (13559:29): [True: 21, False: 21]
  ------------------
13560|     24|            break;
13561|     21|        _resmark = p->mark;
13562|     21|        _res = _raw;
13563|     21|    }
13564|     24|    p->mark = _resmark;
13565|     24|    p->level--;
13566|     24|    return _res;
13567|     24|}
parser.c:bitwise_or_raw:
13570|     45|{
13571|     45|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     90|#  define MAXSTACK 6000
  ------------------
  |  Branch (13571:9): [True: 0, False: 45]
  |  Branch (13571:35): [True: 0, False: 45]
  ------------------
13572|      0|        _Pypegen_stack_overflow(p);
13573|      0|    }
13574|     45|    if (p->error_indicator) {
  ------------------
  |  Branch (13574:9): [True: 0, False: 45]
  ------------------
13575|      0|        p->level--;
13576|      0|        return NULL;
13577|      0|    }
13578|     45|    expr_ty _res = NULL;
13579|     45|    int _mark = p->mark;
13580|     45|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13580:9): [True: 0, False: 45]
  |  Branch (13580:31): [True: 0, False: 0]
  ------------------
13581|      0|        p->error_indicator = 1;
13582|      0|        p->level--;
13583|      0|        return NULL;
13584|      0|    }
13585|     45|    int _start_lineno = p->tokens[_mark]->lineno;
13586|     45|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|     45|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 45]
  |  |  ------------------
  ------------------
13587|     45|    int _start_col_offset = p->tokens[_mark]->col_offset;
13588|     45|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|     45|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 45]
  |  |  ------------------
  ------------------
13589|     45|    { // bitwise_or '|' bitwise_xor
13590|     45|        if (p->error_indicator) {
  ------------------
  |  Branch (13590:13): [True: 0, False: 45]
  ------------------
13591|      0|            p->level--;
13592|      0|            return NULL;
13593|      0|        }
13594|     45|        D(fprintf(stderr, "%*c> bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_or '|' bitwise_xor"));
13595|     45|        Token * _literal;
13596|     45|        expr_ty a;
13597|     45|        expr_ty b;
13598|     45|        if (
13599|     45|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13599:13): [True: 21, False: 24]
  ------------------
13600|     21|            &&
13601|     21|            (_literal = _PyPegen_expect_token(p, 18))  // token='|'
  ------------------
  |  Branch (13601:13): [True: 0, False: 21]
  ------------------
13602|      0|            &&
13603|      0|            (b = bitwise_xor_rule(p))  // bitwise_xor
  ------------------
  |  Branch (13603:13): [True: 0, False: 0]
  ------------------
13604|     45|        )
13605|      0|        {
13606|      0|            D(fprintf(stderr, "%*c+ bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_or '|' bitwise_xor"));
13607|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13608|      0|            if (_token == NULL) {
  ------------------
  |  Branch (13608:17): [True: 0, False: 0]
  ------------------
13609|      0|                p->level--;
13610|      0|                return NULL;
13611|      0|            }
13612|      0|            int _end_lineno = _token->end_lineno;
13613|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13614|      0|            int _end_col_offset = _token->end_col_offset;
13615|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13616|      0|            _res = _PyAST_BinOp ( a , BitOr , b , EXTRA );
  ------------------
  |  |  274|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13617|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13617:18): [True: 0, False: 0]
  |  Branch (13617:34): [True: 0, False: 0]
  |  Branch (13617:57): [True: 0, False: 0]
  ------------------
13618|      0|                p->error_indicator = 1;
13619|      0|                p->level--;
13620|      0|                return NULL;
13621|      0|            }
13622|      0|            goto done;
13623|      0|        }
13624|     45|        p->mark = _mark;
13625|     45|        D(fprintf(stderr, "%*c%s bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13626|     45|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_or '|' bitwise_xor"));
13627|     45|    }
13628|     45|    if (p->call_invalid_rules) { // invalid_bitwise_or
  ------------------
  |  Branch (13628:9): [True: 0, False: 45]
  ------------------
13629|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (13629:13): [True: 0, False: 0]
  ------------------
13630|      0|            p->level--;
13631|      0|            return NULL;
13632|      0|        }
13633|      0|        D(fprintf(stderr, "%*c> bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_bitwise_or"));
13634|      0|        void *invalid_bitwise_or_var;
13635|      0|        if (
13636|      0|            (invalid_bitwise_or_var = invalid_bitwise_or_rule(p))  // invalid_bitwise_or
  ------------------
  |  Branch (13636:13): [True: 0, False: 0]
  ------------------
13637|      0|        )
13638|      0|        {
13639|      0|            D(fprintf(stderr, "%*c+ bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_bitwise_or"));
13640|      0|            _res = invalid_bitwise_or_var;
13641|      0|            goto done;
13642|      0|        }
13643|      0|        p->mark = _mark;
13644|      0|        D(fprintf(stderr, "%*c%s bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13645|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_bitwise_or"));
13646|      0|    }
13647|     45|    { // bitwise_xor
13648|     45|        if (p->error_indicator) {
  ------------------
  |  Branch (13648:13): [True: 0, False: 45]
  ------------------
13649|      0|            p->level--;
13650|      0|            return NULL;
13651|      0|        }
13652|     45|        D(fprintf(stderr, "%*c> bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_xor"));
13653|     45|        expr_ty bitwise_xor_var;
13654|     45|        if (
13655|     45|            (bitwise_xor_var = bitwise_xor_rule(p))  // bitwise_xor
  ------------------
  |  Branch (13655:13): [True: 42, False: 3]
  ------------------
13656|     45|        )
13657|     42|        {
13658|     42|            D(fprintf(stderr, "%*c+ bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_xor"));
13659|     42|            _res = bitwise_xor_var;
13660|     42|            goto done;
13661|     42|        }
13662|      3|        p->mark = _mark;
13663|      3|        D(fprintf(stderr, "%*c%s bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13664|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_xor"));
13665|      3|    }
13666|      3|    _res = NULL;
13667|     45|  done:
13668|     45|    p->level--;
13669|     45|    return _res;
13670|      3|}
parser.c:bitwise_xor_rule:
13677|     90|{
13678|     90|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    180|#  define MAXSTACK 6000
  ------------------
  |  Branch (13678:9): [True: 0, False: 90]
  |  Branch (13678:35): [True: 0, False: 90]
  ------------------
13679|      0|        _Pypegen_stack_overflow(p);
13680|      0|    }
13681|     90|    expr_ty _res = NULL;
13682|     90|    if (_PyPegen_is_memoized(p, bitwise_xor_type, &_res)) {
  ------------------
  |  |  225|     90|#define bitwise_xor_type 1136  // Left-recursive
  ------------------
  |  Branch (13682:9): [True: 66, False: 24]
  ------------------
13683|     66|        p->level--;
13684|     66|        return _res;
13685|     66|    }
13686|     24|    int _mark = p->mark;
13687|     24|    int _resmark = p->mark;
13688|     45|    while (1) {
  ------------------
  |  Branch (13688:12): [True: 45, Folded]
  ------------------
13689|     45|        int tmpvar_3 = _PyPegen_update_memo(p, _mark, bitwise_xor_type, _res);
  ------------------
  |  |  225|     45|#define bitwise_xor_type 1136  // Left-recursive
  ------------------
13690|     45|        if (tmpvar_3) {
  ------------------
  |  Branch (13690:13): [True: 0, False: 45]
  ------------------
13691|      0|            p->level--;
13692|      0|            return _res;
13693|      0|        }
13694|     45|        p->mark = _mark;
13695|     45|        void *_raw = bitwise_xor_raw(p);
13696|     45|        if (p->error_indicator) {
  ------------------
  |  Branch (13696:13): [True: 0, False: 45]
  ------------------
13697|      0|            p->level--;
13698|      0|            return NULL;
13699|      0|        }
13700|     45|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13700:13): [True: 3, False: 42]
  |  Branch (13700:29): [True: 21, False: 21]
  ------------------
13701|     24|            break;
13702|     21|        _resmark = p->mark;
13703|     21|        _res = _raw;
13704|     21|    }
13705|     24|    p->mark = _resmark;
13706|     24|    p->level--;
13707|     24|    return _res;
13708|     24|}
parser.c:bitwise_xor_raw:
13711|     45|{
13712|     45|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     90|#  define MAXSTACK 6000
  ------------------
  |  Branch (13712:9): [True: 0, False: 45]
  |  Branch (13712:35): [True: 0, False: 45]
  ------------------
13713|      0|        _Pypegen_stack_overflow(p);
13714|      0|    }
13715|     45|    if (p->error_indicator) {
  ------------------
  |  Branch (13715:9): [True: 0, False: 45]
  ------------------
13716|      0|        p->level--;
13717|      0|        return NULL;
13718|      0|    }
13719|     45|    expr_ty _res = NULL;
13720|     45|    int _mark = p->mark;
13721|     45|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13721:9): [True: 0, False: 45]
  |  Branch (13721:31): [True: 0, False: 0]
  ------------------
13722|      0|        p->error_indicator = 1;
13723|      0|        p->level--;
13724|      0|        return NULL;
13725|      0|    }
13726|     45|    int _start_lineno = p->tokens[_mark]->lineno;
13727|     45|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|     45|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 45]
  |  |  ------------------
  ------------------
13728|     45|    int _start_col_offset = p->tokens[_mark]->col_offset;
13729|     45|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|     45|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 45]
  |  |  ------------------
  ------------------
13730|     45|    { // bitwise_xor '^' bitwise_and
13731|     45|        if (p->error_indicator) {
  ------------------
  |  Branch (13731:13): [True: 0, False: 45]
  ------------------
13732|      0|            p->level--;
13733|      0|            return NULL;
13734|      0|        }
13735|     45|        D(fprintf(stderr, "%*c> bitwise_xor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_xor '^' bitwise_and"));
13736|     45|        Token * _literal;
13737|     45|        expr_ty a;
13738|     45|        expr_ty b;
13739|     45|        if (
13740|     45|            (a = bitwise_xor_rule(p))  // bitwise_xor
  ------------------
  |  Branch (13740:13): [True: 21, False: 24]
  ------------------
13741|     21|            &&
13742|     21|            (_literal = _PyPegen_expect_token(p, 32))  // token='^'
  ------------------
  |  Branch (13742:13): [True: 0, False: 21]
  ------------------
13743|      0|            &&
13744|      0|            (b = bitwise_and_rule(p))  // bitwise_and
  ------------------
  |  Branch (13744:13): [True: 0, False: 0]
  ------------------
13745|     45|        )
13746|      0|        {
13747|      0|            D(fprintf(stderr, "%*c+ bitwise_xor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_xor '^' bitwise_and"));
13748|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13749|      0|            if (_token == NULL) {
  ------------------
  |  Branch (13749:17): [True: 0, False: 0]
  ------------------
13750|      0|                p->level--;
13751|      0|                return NULL;
13752|      0|            }
13753|      0|            int _end_lineno = _token->end_lineno;
13754|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13755|      0|            int _end_col_offset = _token->end_col_offset;
13756|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13757|      0|            _res = _PyAST_BinOp ( a , BitXor , b , EXTRA );
  ------------------
  |  |  274|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13758|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13758:18): [True: 0, False: 0]
  |  Branch (13758:34): [True: 0, False: 0]
  |  Branch (13758:57): [True: 0, False: 0]
  ------------------
13759|      0|                p->error_indicator = 1;
13760|      0|                p->level--;
13761|      0|                return NULL;
13762|      0|            }
13763|      0|            goto done;
13764|      0|        }
13765|     45|        p->mark = _mark;
13766|     45|        D(fprintf(stderr, "%*c%s bitwise_xor[%d-%d]: %s failed!\n", p->level, ' ',
13767|     45|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_xor '^' bitwise_and"));
13768|     45|    }
13769|      0|    { // bitwise_and
13770|     45|        if (p->error_indicator) {
  ------------------
  |  Branch (13770:13): [True: 0, False: 45]
  ------------------
13771|      0|            p->level--;
13772|      0|            return NULL;
13773|      0|        }
13774|     45|        D(fprintf(stderr, "%*c> bitwise_xor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_and"));
13775|     45|        expr_ty bitwise_and_var;
13776|     45|        if (
13777|     45|            (bitwise_and_var = bitwise_and_rule(p))  // bitwise_and
  ------------------
  |  Branch (13777:13): [True: 42, False: 3]
  ------------------
13778|     45|        )
13779|     42|        {
13780|     42|            D(fprintf(stderr, "%*c+ bitwise_xor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_and"));
13781|     42|            _res = bitwise_and_var;
13782|     42|            goto done;
13783|     42|        }
13784|      3|        p->mark = _mark;
13785|      3|        D(fprintf(stderr, "%*c%s bitwise_xor[%d-%d]: %s failed!\n", p->level, ' ',
13786|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_and"));
13787|      3|    }
13788|      3|    _res = NULL;
13789|     45|  done:
13790|     45|    p->level--;
13791|     45|    return _res;
13792|      3|}
parser.c:bitwise_and_rule:
13799|     90|{
13800|     90|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    180|#  define MAXSTACK 6000
  ------------------
  |  Branch (13800:9): [True: 0, False: 90]
  |  Branch (13800:35): [True: 0, False: 90]
  ------------------
13801|      0|        _Pypegen_stack_overflow(p);
13802|      0|    }
13803|     90|    expr_ty _res = NULL;
13804|     90|    if (_PyPegen_is_memoized(p, bitwise_and_type, &_res)) {
  ------------------
  |  |  226|     90|#define bitwise_and_type 1137  // Left-recursive
  ------------------
  |  Branch (13804:9): [True: 66, False: 24]
  ------------------
13805|     66|        p->level--;
13806|     66|        return _res;
13807|     66|    }
13808|     24|    int _mark = p->mark;
13809|     24|    int _resmark = p->mark;
13810|     45|    while (1) {
  ------------------
  |  Branch (13810:12): [True: 45, Folded]
  ------------------
13811|     45|        int tmpvar_4 = _PyPegen_update_memo(p, _mark, bitwise_and_type, _res);
  ------------------
  |  |  226|     45|#define bitwise_and_type 1137  // Left-recursive
  ------------------
13812|     45|        if (tmpvar_4) {
  ------------------
  |  Branch (13812:13): [True: 0, False: 45]
  ------------------
13813|      0|            p->level--;
13814|      0|            return _res;
13815|      0|        }
13816|     45|        p->mark = _mark;
13817|     45|        void *_raw = bitwise_and_raw(p);
13818|     45|        if (p->error_indicator) {
  ------------------
  |  Branch (13818:13): [True: 0, False: 45]
  ------------------
13819|      0|            p->level--;
13820|      0|            return NULL;
13821|      0|        }
13822|     45|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13822:13): [True: 3, False: 42]
  |  Branch (13822:29): [True: 21, False: 21]
  ------------------
13823|     24|            break;
13824|     21|        _resmark = p->mark;
13825|     21|        _res = _raw;
13826|     21|    }
13827|     24|    p->mark = _resmark;
13828|     24|    p->level--;
13829|     24|    return _res;
13830|     24|}
parser.c:bitwise_and_raw:
13833|     45|{
13834|     45|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     90|#  define MAXSTACK 6000
  ------------------
  |  Branch (13834:9): [True: 0, False: 45]
  |  Branch (13834:35): [True: 0, False: 45]
  ------------------
13835|      0|        _Pypegen_stack_overflow(p);
13836|      0|    }
13837|     45|    if (p->error_indicator) {
  ------------------
  |  Branch (13837:9): [True: 0, False: 45]
  ------------------
13838|      0|        p->level--;
13839|      0|        return NULL;
13840|      0|    }
13841|     45|    expr_ty _res = NULL;
13842|     45|    int _mark = p->mark;
13843|     45|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13843:9): [True: 0, False: 45]
  |  Branch (13843:31): [True: 0, False: 0]
  ------------------
13844|      0|        p->error_indicator = 1;
13845|      0|        p->level--;
13846|      0|        return NULL;
13847|      0|    }
13848|     45|    int _start_lineno = p->tokens[_mark]->lineno;
13849|     45|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|     45|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 45]
  |  |  ------------------
  ------------------
13850|     45|    int _start_col_offset = p->tokens[_mark]->col_offset;
13851|     45|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|     45|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 45]
  |  |  ------------------
  ------------------
13852|     45|    { // bitwise_and '&' shift_expr
13853|     45|        if (p->error_indicator) {
  ------------------
  |  Branch (13853:13): [True: 0, False: 45]
  ------------------
13854|      0|            p->level--;
13855|      0|            return NULL;
13856|      0|        }
13857|     45|        D(fprintf(stderr, "%*c> bitwise_and[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_and '&' shift_expr"));
13858|     45|        Token * _literal;
13859|     45|        expr_ty a;
13860|     45|        expr_ty b;
13861|     45|        if (
13862|     45|            (a = bitwise_and_rule(p))  // bitwise_and
  ------------------
  |  Branch (13862:13): [True: 21, False: 24]
  ------------------
13863|     21|            &&
13864|     21|            (_literal = _PyPegen_expect_token(p, 19))  // token='&'
  ------------------
  |  Branch (13864:13): [True: 0, False: 21]
  ------------------
13865|      0|            &&
13866|      0|            (b = shift_expr_rule(p))  // shift_expr
  ------------------
  |  Branch (13866:13): [True: 0, False: 0]
  ------------------
13867|     45|        )
13868|      0|        {
13869|      0|            D(fprintf(stderr, "%*c+ bitwise_and[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_and '&' shift_expr"));
13870|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13871|      0|            if (_token == NULL) {
  ------------------
  |  Branch (13871:17): [True: 0, False: 0]
  ------------------
13872|      0|                p->level--;
13873|      0|                return NULL;
13874|      0|            }
13875|      0|            int _end_lineno = _token->end_lineno;
13876|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13877|      0|            int _end_col_offset = _token->end_col_offset;
13878|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13879|      0|            _res = _PyAST_BinOp ( a , BitAnd , b , EXTRA );
  ------------------
  |  |  274|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13880|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13880:18): [True: 0, False: 0]
  |  Branch (13880:34): [True: 0, False: 0]
  |  Branch (13880:57): [True: 0, False: 0]
  ------------------
13881|      0|                p->error_indicator = 1;
13882|      0|                p->level--;
13883|      0|                return NULL;
13884|      0|            }
13885|      0|            goto done;
13886|      0|        }
13887|     45|        p->mark = _mark;
13888|     45|        D(fprintf(stderr, "%*c%s bitwise_and[%d-%d]: %s failed!\n", p->level, ' ',
13889|     45|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_and '&' shift_expr"));
13890|     45|    }
13891|     45|    if (p->call_invalid_rules) { // invalid_bitwise_and
  ------------------
  |  Branch (13891:9): [True: 0, False: 45]
  ------------------
13892|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (13892:13): [True: 0, False: 0]
  ------------------
13893|      0|            p->level--;
13894|      0|            return NULL;
13895|      0|        }
13896|      0|        D(fprintf(stderr, "%*c> bitwise_and[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_bitwise_and"));
13897|      0|        void *invalid_bitwise_and_var;
13898|      0|        if (
13899|      0|            (invalid_bitwise_and_var = invalid_bitwise_and_rule(p))  // invalid_bitwise_and
  ------------------
  |  Branch (13899:13): [True: 0, False: 0]
  ------------------
13900|      0|        )
13901|      0|        {
13902|      0|            D(fprintf(stderr, "%*c+ bitwise_and[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_bitwise_and"));
13903|      0|            _res = invalid_bitwise_and_var;
13904|      0|            goto done;
13905|      0|        }
13906|      0|        p->mark = _mark;
13907|      0|        D(fprintf(stderr, "%*c%s bitwise_and[%d-%d]: %s failed!\n", p->level, ' ',
13908|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_bitwise_and"));
13909|      0|    }
13910|     45|    { // shift_expr
13911|     45|        if (p->error_indicator) {
  ------------------
  |  Branch (13911:13): [True: 0, False: 45]
  ------------------
13912|      0|            p->level--;
13913|      0|            return NULL;
13914|      0|        }
13915|     45|        D(fprintf(stderr, "%*c> bitwise_and[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "shift_expr"));
13916|     45|        expr_ty shift_expr_var;
13917|     45|        if (
13918|     45|            (shift_expr_var = shift_expr_rule(p))  // shift_expr
  ------------------
  |  Branch (13918:13): [True: 42, False: 3]
  ------------------
13919|     45|        )
13920|     42|        {
13921|     42|            D(fprintf(stderr, "%*c+ bitwise_and[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "shift_expr"));
13922|     42|            _res = shift_expr_var;
13923|     42|            goto done;
13924|     42|        }
13925|      3|        p->mark = _mark;
13926|      3|        D(fprintf(stderr, "%*c%s bitwise_and[%d-%d]: %s failed!\n", p->level, ' ',
13927|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "shift_expr"));
13928|      3|    }
13929|      3|    _res = NULL;
13930|     45|  done:
13931|     45|    p->level--;
13932|     45|    return _res;
13933|      3|}
parser.c:shift_expr_rule:
13940|    135|{
13941|    135|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    270|#  define MAXSTACK 6000
  ------------------
  |  Branch (13941:9): [True: 0, False: 135]
  |  Branch (13941:35): [True: 0, False: 135]
  ------------------
13942|      0|        _Pypegen_stack_overflow(p);
13943|      0|    }
13944|    135|    expr_ty _res = NULL;
13945|    135|    if (_PyPegen_is_memoized(p, shift_expr_type, &_res)) {
  ------------------
  |  |  227|    135|#define shift_expr_type 1138  // Left-recursive
  ------------------
  |  Branch (13945:9): [True: 111, False: 24]
  ------------------
13946|    111|        p->level--;
13947|    111|        return _res;
13948|    111|    }
13949|     24|    int _mark = p->mark;
13950|     24|    int _resmark = p->mark;
13951|     45|    while (1) {
  ------------------
  |  Branch (13951:12): [True: 45, Folded]
  ------------------
13952|     45|        int tmpvar_5 = _PyPegen_update_memo(p, _mark, shift_expr_type, _res);
  ------------------
  |  |  227|     45|#define shift_expr_type 1138  // Left-recursive
  ------------------
13953|     45|        if (tmpvar_5) {
  ------------------
  |  Branch (13953:13): [True: 0, False: 45]
  ------------------
13954|      0|            p->level--;
13955|      0|            return _res;
13956|      0|        }
13957|     45|        p->mark = _mark;
13958|     45|        void *_raw = shift_expr_raw(p);
13959|     45|        if (p->error_indicator) {
  ------------------
  |  Branch (13959:13): [True: 0, False: 45]
  ------------------
13960|      0|            p->level--;
13961|      0|            return NULL;
13962|      0|        }
13963|     45|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13963:13): [True: 3, False: 42]
  |  Branch (13963:29): [True: 21, False: 21]
  ------------------
13964|     24|            break;
13965|     21|        _resmark = p->mark;
13966|     21|        _res = _raw;
13967|     21|    }
13968|     24|    p->mark = _resmark;
13969|     24|    p->level--;
13970|     24|    return _res;
13971|     24|}
parser.c:shift_expr_raw:
13974|     45|{
13975|     45|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     90|#  define MAXSTACK 6000
  ------------------
  |  Branch (13975:9): [True: 0, False: 45]
  |  Branch (13975:35): [True: 0, False: 45]
  ------------------
13976|      0|        _Pypegen_stack_overflow(p);
13977|      0|    }
13978|     45|    if (p->error_indicator) {
  ------------------
  |  Branch (13978:9): [True: 0, False: 45]
  ------------------
13979|      0|        p->level--;
13980|      0|        return NULL;
13981|      0|    }
13982|     45|    expr_ty _res = NULL;
13983|     45|    int _mark = p->mark;
13984|     45|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13984:9): [True: 0, False: 45]
  |  Branch (13984:31): [True: 0, False: 0]
  ------------------
13985|      0|        p->error_indicator = 1;
13986|      0|        p->level--;
13987|      0|        return NULL;
13988|      0|    }
13989|     45|    int _start_lineno = p->tokens[_mark]->lineno;
13990|     45|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|     45|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 45]
  |  |  ------------------
  ------------------
13991|     45|    int _start_col_offset = p->tokens[_mark]->col_offset;
13992|     45|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|     45|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 45]
  |  |  ------------------
  ------------------
13993|     45|    { // shift_expr '<<' sum
13994|     45|        if (p->error_indicator) {
  ------------------
  |  Branch (13994:13): [True: 0, False: 45]
  ------------------
13995|      0|            p->level--;
13996|      0|            return NULL;
13997|      0|        }
13998|     45|        D(fprintf(stderr, "%*c> shift_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "shift_expr '<<' sum"));
13999|     45|        Token * _literal;
14000|     45|        expr_ty a;
14001|     45|        expr_ty b;
14002|     45|        if (
14003|     45|            (a = shift_expr_rule(p))  // shift_expr
  ------------------
  |  Branch (14003:13): [True: 21, False: 24]
  ------------------
14004|     21|            &&
14005|     21|            (_literal = _PyPegen_expect_token(p, 33))  // token='<<'
  ------------------
  |  Branch (14005:13): [True: 0, False: 21]
  ------------------
14006|      0|            &&
14007|      0|            (b = sum_rule(p))  // sum
  ------------------
  |  Branch (14007:13): [True: 0, False: 0]
  ------------------
14008|     45|        )
14009|      0|        {
14010|      0|            D(fprintf(stderr, "%*c+ shift_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "shift_expr '<<' sum"));
14011|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14012|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14012:17): [True: 0, False: 0]
  ------------------
14013|      0|                p->level--;
14014|      0|                return NULL;
14015|      0|            }
14016|      0|            int _end_lineno = _token->end_lineno;
14017|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14018|      0|            int _end_col_offset = _token->end_col_offset;
14019|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14020|      0|            _res = _PyAST_BinOp ( a , LShift , b , EXTRA );
  ------------------
  |  |  274|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14021|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14021:18): [True: 0, False: 0]
  |  Branch (14021:34): [True: 0, False: 0]
  |  Branch (14021:57): [True: 0, False: 0]
  ------------------
14022|      0|                p->error_indicator = 1;
14023|      0|                p->level--;
14024|      0|                return NULL;
14025|      0|            }
14026|      0|            goto done;
14027|      0|        }
14028|     45|        p->mark = _mark;
14029|     45|        D(fprintf(stderr, "%*c%s shift_expr[%d-%d]: %s failed!\n", p->level, ' ',
14030|     45|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "shift_expr '<<' sum"));
14031|     45|    }
14032|      0|    { // shift_expr '>>' sum
14033|     45|        if (p->error_indicator) {
  ------------------
  |  Branch (14033:13): [True: 0, False: 45]
  ------------------
14034|      0|            p->level--;
14035|      0|            return NULL;
14036|      0|        }
14037|     45|        D(fprintf(stderr, "%*c> shift_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "shift_expr '>>' sum"));
14038|     45|        Token * _literal;
14039|     45|        expr_ty a;
14040|     45|        expr_ty b;
14041|     45|        if (
14042|     45|            (a = shift_expr_rule(p))  // shift_expr
  ------------------
  |  Branch (14042:13): [True: 21, False: 24]
  ------------------
14043|     21|            &&
14044|     21|            (_literal = _PyPegen_expect_token(p, 34))  // token='>>'
  ------------------
  |  Branch (14044:13): [True: 0, False: 21]
  ------------------
14045|      0|            &&
14046|      0|            (b = sum_rule(p))  // sum
  ------------------
  |  Branch (14046:13): [True: 0, False: 0]
  ------------------
14047|     45|        )
14048|      0|        {
14049|      0|            D(fprintf(stderr, "%*c+ shift_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "shift_expr '>>' sum"));
14050|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14051|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14051:17): [True: 0, False: 0]
  ------------------
14052|      0|                p->level--;
14053|      0|                return NULL;
14054|      0|            }
14055|      0|            int _end_lineno = _token->end_lineno;
14056|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14057|      0|            int _end_col_offset = _token->end_col_offset;
14058|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14059|      0|            _res = _PyAST_BinOp ( a , RShift , b , EXTRA );
  ------------------
  |  |  274|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14060|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14060:18): [True: 0, False: 0]
  |  Branch (14060:34): [True: 0, False: 0]
  |  Branch (14060:57): [True: 0, False: 0]
  ------------------
14061|      0|                p->error_indicator = 1;
14062|      0|                p->level--;
14063|      0|                return NULL;
14064|      0|            }
14065|      0|            goto done;
14066|      0|        }
14067|     45|        p->mark = _mark;
14068|     45|        D(fprintf(stderr, "%*c%s shift_expr[%d-%d]: %s failed!\n", p->level, ' ',
14069|     45|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "shift_expr '>>' sum"));
14070|     45|    }
14071|      0|    { // sum
14072|     45|        if (p->error_indicator) {
  ------------------
  |  Branch (14072:13): [True: 0, False: 45]
  ------------------
14073|      0|            p->level--;
14074|      0|            return NULL;
14075|      0|        }
14076|     45|        D(fprintf(stderr, "%*c> shift_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "sum"));
14077|     45|        expr_ty sum_var;
14078|     45|        if (
14079|     45|            (sum_var = sum_rule(p))  // sum
  ------------------
  |  Branch (14079:13): [True: 42, False: 3]
  ------------------
14080|     45|        )
14081|     42|        {
14082|     42|            D(fprintf(stderr, "%*c+ shift_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "sum"));
14083|     42|            _res = sum_var;
14084|     42|            goto done;
14085|     42|        }
14086|      3|        p->mark = _mark;
14087|      3|        D(fprintf(stderr, "%*c%s shift_expr[%d-%d]: %s failed!\n", p->level, ' ',
14088|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "sum"));
14089|      3|    }
14090|      3|    _res = NULL;
14091|     45|  done:
14092|     45|    p->level--;
14093|     45|    return _res;
14094|      3|}
parser.c:sum_rule:
14101|    135|{
14102|    135|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    270|#  define MAXSTACK 6000
  ------------------
  |  Branch (14102:9): [True: 0, False: 135]
  |  Branch (14102:35): [True: 0, False: 135]
  ------------------
14103|      0|        _Pypegen_stack_overflow(p);
14104|      0|    }
14105|    135|    expr_ty _res = NULL;
14106|    135|    if (_PyPegen_is_memoized(p, sum_type, &_res)) {
  ------------------
  |  |  228|    135|#define sum_type 1139  // Left-recursive
  ------------------
  |  Branch (14106:9): [True: 111, False: 24]
  ------------------
14107|    111|        p->level--;
14108|    111|        return _res;
14109|    111|    }
14110|     24|    int _mark = p->mark;
14111|     24|    int _resmark = p->mark;
14112|     45|    while (1) {
  ------------------
  |  Branch (14112:12): [True: 45, Folded]
  ------------------
14113|     45|        int tmpvar_6 = _PyPegen_update_memo(p, _mark, sum_type, _res);
  ------------------
  |  |  228|     45|#define sum_type 1139  // Left-recursive
  ------------------
14114|     45|        if (tmpvar_6) {
  ------------------
  |  Branch (14114:13): [True: 0, False: 45]
  ------------------
14115|      0|            p->level--;
14116|      0|            return _res;
14117|      0|        }
14118|     45|        p->mark = _mark;
14119|     45|        void *_raw = sum_raw(p);
14120|     45|        if (p->error_indicator) {
  ------------------
  |  Branch (14120:13): [True: 0, False: 45]
  ------------------
14121|      0|            p->level--;
14122|      0|            return NULL;
14123|      0|        }
14124|     45|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (14124:13): [True: 3, False: 42]
  |  Branch (14124:29): [True: 21, False: 21]
  ------------------
14125|     24|            break;
14126|     21|        _resmark = p->mark;
14127|     21|        _res = _raw;
14128|     21|    }
14129|     24|    p->mark = _resmark;
14130|     24|    p->level--;
14131|     24|    return _res;
14132|     24|}
parser.c:sum_raw:
14135|     45|{
14136|     45|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     90|#  define MAXSTACK 6000
  ------------------
  |  Branch (14136:9): [True: 0, False: 45]
  |  Branch (14136:35): [True: 0, False: 45]
  ------------------
14137|      0|        _Pypegen_stack_overflow(p);
14138|      0|    }
14139|     45|    if (p->error_indicator) {
  ------------------
  |  Branch (14139:9): [True: 0, False: 45]
  ------------------
14140|      0|        p->level--;
14141|      0|        return NULL;
14142|      0|    }
14143|     45|    expr_ty _res = NULL;
14144|     45|    int _mark = p->mark;
14145|     45|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14145:9): [True: 0, False: 45]
  |  Branch (14145:31): [True: 0, False: 0]
  ------------------
14146|      0|        p->error_indicator = 1;
14147|      0|        p->level--;
14148|      0|        return NULL;
14149|      0|    }
14150|     45|    int _start_lineno = p->tokens[_mark]->lineno;
14151|     45|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|     45|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 45]
  |  |  ------------------
  ------------------
14152|     45|    int _start_col_offset = p->tokens[_mark]->col_offset;
14153|     45|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|     45|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 45]
  |  |  ------------------
  ------------------
14154|     45|    { // sum '+' term
14155|     45|        if (p->error_indicator) {
  ------------------
  |  Branch (14155:13): [True: 0, False: 45]
  ------------------
14156|      0|            p->level--;
14157|      0|            return NULL;
14158|      0|        }
14159|     45|        D(fprintf(stderr, "%*c> sum[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "sum '+' term"));
14160|     45|        Token * _literal;
14161|     45|        expr_ty a;
14162|     45|        expr_ty b;
14163|     45|        if (
14164|     45|            (a = sum_rule(p))  // sum
  ------------------
  |  Branch (14164:13): [True: 21, False: 24]
  ------------------
14165|     21|            &&
14166|     21|            (_literal = _PyPegen_expect_token(p, 14))  // token='+'
  ------------------
  |  Branch (14166:13): [True: 0, False: 21]
  ------------------
14167|      0|            &&
14168|      0|            (b = term_rule(p))  // term
  ------------------
  |  Branch (14168:13): [True: 0, False: 0]
  ------------------
14169|     45|        )
14170|      0|        {
14171|      0|            D(fprintf(stderr, "%*c+ sum[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "sum '+' term"));
14172|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14173|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14173:17): [True: 0, False: 0]
  ------------------
14174|      0|                p->level--;
14175|      0|                return NULL;
14176|      0|            }
14177|      0|            int _end_lineno = _token->end_lineno;
14178|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14179|      0|            int _end_col_offset = _token->end_col_offset;
14180|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14181|      0|            _res = _PyAST_BinOp ( a , Add , b , EXTRA );
  ------------------
  |  |  274|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14182|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14182:18): [True: 0, False: 0]
  |  Branch (14182:34): [True: 0, False: 0]
  |  Branch (14182:57): [True: 0, False: 0]
  ------------------
14183|      0|                p->error_indicator = 1;
14184|      0|                p->level--;
14185|      0|                return NULL;
14186|      0|            }
14187|      0|            goto done;
14188|      0|        }
14189|     45|        p->mark = _mark;
14190|     45|        D(fprintf(stderr, "%*c%s sum[%d-%d]: %s failed!\n", p->level, ' ',
14191|     45|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "sum '+' term"));
14192|     45|    }
14193|      0|    { // sum '-' term
14194|     45|        if (p->error_indicator) {
  ------------------
  |  Branch (14194:13): [True: 0, False: 45]
  ------------------
14195|      0|            p->level--;
14196|      0|            return NULL;
14197|      0|        }
14198|     45|        D(fprintf(stderr, "%*c> sum[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "sum '-' term"));
14199|     45|        Token * _literal;
14200|     45|        expr_ty a;
14201|     45|        expr_ty b;
14202|     45|        if (
14203|     45|            (a = sum_rule(p))  // sum
  ------------------
  |  Branch (14203:13): [True: 21, False: 24]
  ------------------
14204|     21|            &&
14205|     21|            (_literal = _PyPegen_expect_token(p, 15))  // token='-'
  ------------------
  |  Branch (14205:13): [True: 0, False: 21]
  ------------------
14206|      0|            &&
14207|      0|            (b = term_rule(p))  // term
  ------------------
  |  Branch (14207:13): [True: 0, False: 0]
  ------------------
14208|     45|        )
14209|      0|        {
14210|      0|            D(fprintf(stderr, "%*c+ sum[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "sum '-' term"));
14211|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14212|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14212:17): [True: 0, False: 0]
  ------------------
14213|      0|                p->level--;
14214|      0|                return NULL;
14215|      0|            }
14216|      0|            int _end_lineno = _token->end_lineno;
14217|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14218|      0|            int _end_col_offset = _token->end_col_offset;
14219|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14220|      0|            _res = _PyAST_BinOp ( a , Sub , b , EXTRA );
  ------------------
  |  |  274|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14221|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14221:18): [True: 0, False: 0]
  |  Branch (14221:34): [True: 0, False: 0]
  |  Branch (14221:57): [True: 0, False: 0]
  ------------------
14222|      0|                p->error_indicator = 1;
14223|      0|                p->level--;
14224|      0|                return NULL;
14225|      0|            }
14226|      0|            goto done;
14227|      0|        }
14228|     45|        p->mark = _mark;
14229|     45|        D(fprintf(stderr, "%*c%s sum[%d-%d]: %s failed!\n", p->level, ' ',
14230|     45|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "sum '-' term"));
14231|     45|    }
14232|     45|    if (p->call_invalid_rules) { // invalid_arithmetic
  ------------------
  |  Branch (14232:9): [True: 0, False: 45]
  ------------------
14233|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (14233:13): [True: 0, False: 0]
  ------------------
14234|      0|            p->level--;
14235|      0|            return NULL;
14236|      0|        }
14237|      0|        D(fprintf(stderr, "%*c> sum[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_arithmetic"));
14238|      0|        void *invalid_arithmetic_var;
14239|      0|        if (
14240|      0|            (invalid_arithmetic_var = invalid_arithmetic_rule(p))  // invalid_arithmetic
  ------------------
  |  Branch (14240:13): [True: 0, False: 0]
  ------------------
14241|      0|        )
14242|      0|        {
14243|      0|            D(fprintf(stderr, "%*c+ sum[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_arithmetic"));
14244|      0|            _res = invalid_arithmetic_var;
14245|      0|            goto done;
14246|      0|        }
14247|      0|        p->mark = _mark;
14248|      0|        D(fprintf(stderr, "%*c%s sum[%d-%d]: %s failed!\n", p->level, ' ',
14249|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_arithmetic"));
14250|      0|    }
14251|     45|    { // term
14252|     45|        if (p->error_indicator) {
  ------------------
  |  Branch (14252:13): [True: 0, False: 45]
  ------------------
14253|      0|            p->level--;
14254|      0|            return NULL;
14255|      0|        }
14256|     45|        D(fprintf(stderr, "%*c> sum[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term"));
14257|     45|        expr_ty term_var;
14258|     45|        if (
14259|     45|            (term_var = term_rule(p))  // term
  ------------------
  |  Branch (14259:13): [True: 42, False: 3]
  ------------------
14260|     45|        )
14261|     42|        {
14262|     42|            D(fprintf(stderr, "%*c+ sum[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term"));
14263|     42|            _res = term_var;
14264|     42|            goto done;
14265|     42|        }
14266|      3|        p->mark = _mark;
14267|      3|        D(fprintf(stderr, "%*c%s sum[%d-%d]: %s failed!\n", p->level, ' ',
14268|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term"));
14269|      3|    }
14270|      3|    _res = NULL;
14271|     45|  done:
14272|     45|    p->level--;
14273|     45|    return _res;
14274|      3|}
parser.c:term_rule:
14287|    270|{
14288|    270|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    540|#  define MAXSTACK 6000
  ------------------
  |  Branch (14288:9): [True: 0, False: 270]
  |  Branch (14288:35): [True: 0, False: 270]
  ------------------
14289|      0|        _Pypegen_stack_overflow(p);
14290|      0|    }
14291|    270|    expr_ty _res = NULL;
14292|    270|    if (_PyPegen_is_memoized(p, term_type, &_res)) {
  ------------------
  |  |  229|    270|#define term_type 1140  // Left-recursive
  ------------------
  |  Branch (14292:9): [True: 246, False: 24]
  ------------------
14293|    246|        p->level--;
14294|    246|        return _res;
14295|    246|    }
14296|     24|    int _mark = p->mark;
14297|     24|    int _resmark = p->mark;
14298|     45|    while (1) {
  ------------------
  |  Branch (14298:12): [True: 45, Folded]
  ------------------
14299|     45|        int tmpvar_7 = _PyPegen_update_memo(p, _mark, term_type, _res);
  ------------------
  |  |  229|     45|#define term_type 1140  // Left-recursive
  ------------------
14300|     45|        if (tmpvar_7) {
  ------------------
  |  Branch (14300:13): [True: 0, False: 45]
  ------------------
14301|      0|            p->level--;
14302|      0|            return _res;
14303|      0|        }
14304|     45|        p->mark = _mark;
14305|     45|        void *_raw = term_raw(p);
14306|     45|        if (p->error_indicator) {
  ------------------
  |  Branch (14306:13): [True: 0, False: 45]
  ------------------
14307|      0|            p->level--;
14308|      0|            return NULL;
14309|      0|        }
14310|     45|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (14310:13): [True: 3, False: 42]
  |  Branch (14310:29): [True: 21, False: 21]
  ------------------
14311|     24|            break;
14312|     21|        _resmark = p->mark;
14313|     21|        _res = _raw;
14314|     21|    }
14315|     24|    p->mark = _resmark;
14316|     24|    p->level--;
14317|     24|    return _res;
14318|     24|}
parser.c:term_raw:
14321|     45|{
14322|     45|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     90|#  define MAXSTACK 6000
  ------------------
  |  Branch (14322:9): [True: 0, False: 45]
  |  Branch (14322:35): [True: 0, False: 45]
  ------------------
14323|      0|        _Pypegen_stack_overflow(p);
14324|      0|    }
14325|     45|    if (p->error_indicator) {
  ------------------
  |  Branch (14325:9): [True: 0, False: 45]
  ------------------
14326|      0|        p->level--;
14327|      0|        return NULL;
14328|      0|    }
14329|     45|    expr_ty _res = NULL;
14330|     45|    int _mark = p->mark;
14331|     45|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14331:9): [True: 0, False: 45]
  |  Branch (14331:31): [True: 0, False: 0]
  ------------------
14332|      0|        p->error_indicator = 1;
14333|      0|        p->level--;
14334|      0|        return NULL;
14335|      0|    }
14336|     45|    int _start_lineno = p->tokens[_mark]->lineno;
14337|     45|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|     45|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 45]
  |  |  ------------------
  ------------------
14338|     45|    int _start_col_offset = p->tokens[_mark]->col_offset;
14339|     45|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|     45|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 45]
  |  |  ------------------
  ------------------
14340|     45|    { // term '*' factor
14341|     45|        if (p->error_indicator) {
  ------------------
  |  Branch (14341:13): [True: 0, False: 45]
  ------------------
14342|      0|            p->level--;
14343|      0|            return NULL;
14344|      0|        }
14345|     45|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '*' factor"));
14346|     45|        Token * _literal;
14347|     45|        expr_ty a;
14348|     45|        expr_ty b;
14349|     45|        if (
14350|     45|            (a = term_rule(p))  // term
  ------------------
  |  Branch (14350:13): [True: 21, False: 24]
  ------------------
14351|     21|            &&
14352|     21|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (14352:13): [True: 0, False: 21]
  ------------------
14353|      0|            &&
14354|      0|            (b = factor_rule(p))  // factor
  ------------------
  |  Branch (14354:13): [True: 0, False: 0]
  ------------------
14355|     45|        )
14356|      0|        {
14357|      0|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term '*' factor"));
14358|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14359|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14359:17): [True: 0, False: 0]
  ------------------
14360|      0|                p->level--;
14361|      0|                return NULL;
14362|      0|            }
14363|      0|            int _end_lineno = _token->end_lineno;
14364|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14365|      0|            int _end_col_offset = _token->end_col_offset;
14366|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14367|      0|            _res = _PyAST_BinOp ( a , Mult , b , EXTRA );
  ------------------
  |  |  274|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14368|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14368:18): [True: 0, False: 0]
  |  Branch (14368:34): [True: 0, False: 0]
  |  Branch (14368:57): [True: 0, False: 0]
  ------------------
14369|      0|                p->error_indicator = 1;
14370|      0|                p->level--;
14371|      0|                return NULL;
14372|      0|            }
14373|      0|            goto done;
14374|      0|        }
14375|     45|        p->mark = _mark;
14376|     45|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14377|     45|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '*' factor"));
14378|     45|    }
14379|      0|    { // term '/' factor
14380|     45|        if (p->error_indicator) {
  ------------------
  |  Branch (14380:13): [True: 0, False: 45]
  ------------------
14381|      0|            p->level--;
14382|      0|            return NULL;
14383|      0|        }
14384|     45|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '/' factor"));
14385|     45|        Token * _literal;
14386|     45|        expr_ty a;
14387|     45|        expr_ty b;
14388|     45|        if (
14389|     45|            (a = term_rule(p))  // term
  ------------------
  |  Branch (14389:13): [True: 21, False: 24]
  ------------------
14390|     21|            &&
14391|     21|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (14391:13): [True: 0, False: 21]
  ------------------
14392|      0|            &&
14393|      0|            (b = factor_rule(p))  // factor
  ------------------
  |  Branch (14393:13): [True: 0, False: 0]
  ------------------
14394|     45|        )
14395|      0|        {
14396|      0|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term '/' factor"));
14397|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14398|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14398:17): [True: 0, False: 0]
  ------------------
14399|      0|                p->level--;
14400|      0|                return NULL;
14401|      0|            }
14402|      0|            int _end_lineno = _token->end_lineno;
14403|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14404|      0|            int _end_col_offset = _token->end_col_offset;
14405|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14406|      0|            _res = _PyAST_BinOp ( a , Div , b , EXTRA );
  ------------------
  |  |  274|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14407|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14407:18): [True: 0, False: 0]
  |  Branch (14407:34): [True: 0, False: 0]
  |  Branch (14407:57): [True: 0, False: 0]
  ------------------
14408|      0|                p->error_indicator = 1;
14409|      0|                p->level--;
14410|      0|                return NULL;
14411|      0|            }
14412|      0|            goto done;
14413|      0|        }
14414|     45|        p->mark = _mark;
14415|     45|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14416|     45|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '/' factor"));
14417|     45|    }
14418|      0|    { // term '//' factor
14419|     45|        if (p->error_indicator) {
  ------------------
  |  Branch (14419:13): [True: 0, False: 45]
  ------------------
14420|      0|            p->level--;
14421|      0|            return NULL;
14422|      0|        }
14423|     45|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '//' factor"));
14424|     45|        Token * _literal;
14425|     45|        expr_ty a;
14426|     45|        expr_ty b;
14427|     45|        if (
14428|     45|            (a = term_rule(p))  // term
  ------------------
  |  Branch (14428:13): [True: 21, False: 24]
  ------------------
14429|     21|            &&
14430|     21|            (_literal = _PyPegen_expect_token(p, 47))  // token='//'
  ------------------
  |  Branch (14430:13): [True: 0, False: 21]
  ------------------
14431|      0|            &&
14432|      0|            (b = factor_rule(p))  // factor
  ------------------
  |  Branch (14432:13): [True: 0, False: 0]
  ------------------
14433|     45|        )
14434|      0|        {
14435|      0|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term '//' factor"));
14436|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14437|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14437:17): [True: 0, False: 0]
  ------------------
14438|      0|                p->level--;
14439|      0|                return NULL;
14440|      0|            }
14441|      0|            int _end_lineno = _token->end_lineno;
14442|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14443|      0|            int _end_col_offset = _token->end_col_offset;
14444|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14445|      0|            _res = _PyAST_BinOp ( a , FloorDiv , b , EXTRA );
  ------------------
  |  |  274|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14446|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14446:18): [True: 0, False: 0]
  |  Branch (14446:34): [True: 0, False: 0]
  |  Branch (14446:57): [True: 0, False: 0]
  ------------------
14447|      0|                p->error_indicator = 1;
14448|      0|                p->level--;
14449|      0|                return NULL;
14450|      0|            }
14451|      0|            goto done;
14452|      0|        }
14453|     45|        p->mark = _mark;
14454|     45|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14455|     45|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '//' factor"));
14456|     45|    }
14457|      0|    { // term '%' factor
14458|     45|        if (p->error_indicator) {
  ------------------
  |  Branch (14458:13): [True: 0, False: 45]
  ------------------
14459|      0|            p->level--;
14460|      0|            return NULL;
14461|      0|        }
14462|     45|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '%' factor"));
14463|     45|        Token * _literal;
14464|     45|        expr_ty a;
14465|     45|        expr_ty b;
14466|     45|        if (
14467|     45|            (a = term_rule(p))  // term
  ------------------
  |  Branch (14467:13): [True: 21, False: 24]
  ------------------
14468|     21|            &&
14469|     21|            (_literal = _PyPegen_expect_token(p, 24))  // token='%'
  ------------------
  |  Branch (14469:13): [True: 0, False: 21]
  ------------------
14470|      0|            &&
14471|      0|            (b = factor_rule(p))  // factor
  ------------------
  |  Branch (14471:13): [True: 0, False: 0]
  ------------------
14472|     45|        )
14473|      0|        {
14474|      0|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term '%' factor"));
14475|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14476|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14476:17): [True: 0, False: 0]
  ------------------
14477|      0|                p->level--;
14478|      0|                return NULL;
14479|      0|            }
14480|      0|            int _end_lineno = _token->end_lineno;
14481|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14482|      0|            int _end_col_offset = _token->end_col_offset;
14483|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14484|      0|            _res = _PyAST_BinOp ( a , Mod , b , EXTRA );
  ------------------
  |  |  274|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14485|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14485:18): [True: 0, False: 0]
  |  Branch (14485:34): [True: 0, False: 0]
  |  Branch (14485:57): [True: 0, False: 0]
  ------------------
14486|      0|                p->error_indicator = 1;
14487|      0|                p->level--;
14488|      0|                return NULL;
14489|      0|            }
14490|      0|            goto done;
14491|      0|        }
14492|     45|        p->mark = _mark;
14493|     45|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14494|     45|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '%' factor"));
14495|     45|    }
14496|      0|    { // term '@' factor
14497|     45|        if (p->error_indicator) {
  ------------------
  |  Branch (14497:13): [True: 0, False: 45]
  ------------------
14498|      0|            p->level--;
14499|      0|            return NULL;
14500|      0|        }
14501|     45|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '@' factor"));
14502|     45|        Token * _literal;
14503|     45|        expr_ty a;
14504|     45|        expr_ty b;
14505|     45|        if (
14506|     45|            (a = term_rule(p))  // term
  ------------------
  |  Branch (14506:13): [True: 21, False: 24]
  ------------------
14507|     21|            &&
14508|     21|            (_literal = _PyPegen_expect_token(p, 49))  // token='@'
  ------------------
  |  Branch (14508:13): [True: 0, False: 21]
  ------------------
14509|      0|            &&
14510|      0|            (b = factor_rule(p))  // factor
  ------------------
  |  Branch (14510:13): [True: 0, False: 0]
  ------------------
14511|     45|        )
14512|      0|        {
14513|      0|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term '@' factor"));
14514|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14515|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14515:17): [True: 0, False: 0]
  ------------------
14516|      0|                p->level--;
14517|      0|                return NULL;
14518|      0|            }
14519|      0|            int _end_lineno = _token->end_lineno;
14520|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14521|      0|            int _end_col_offset = _token->end_col_offset;
14522|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14523|      0|            _res = CHECK_VERSION ( expr_ty , 5 , "The '@' operator is" , _PyAST_BinOp ( a , MatMult , b , EXTRA ) );
  ------------------
  |  |  312|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
14524|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14524:18): [True: 0, False: 0]
  |  Branch (14524:34): [True: 0, False: 0]
  |  Branch (14524:57): [True: 0, False: 0]
  ------------------
14525|      0|                p->error_indicator = 1;
14526|      0|                p->level--;
14527|      0|                return NULL;
14528|      0|            }
14529|      0|            goto done;
14530|      0|        }
14531|     45|        p->mark = _mark;
14532|     45|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14533|     45|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '@' factor"));
14534|     45|    }
14535|      0|    { // factor
14536|     45|        if (p->error_indicator) {
  ------------------
  |  Branch (14536:13): [True: 0, False: 45]
  ------------------
14537|      0|            p->level--;
14538|      0|            return NULL;
14539|      0|        }
14540|     45|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "factor"));
14541|     45|        expr_ty factor_var;
14542|     45|        if (
14543|     45|            (factor_var = factor_rule(p))  // factor
  ------------------
  |  Branch (14543:13): [True: 42, False: 3]
  ------------------
14544|     45|        )
14545|     42|        {
14546|     42|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "factor"));
14547|     42|            _res = factor_var;
14548|     42|            goto done;
14549|     42|        }
14550|      3|        p->mark = _mark;
14551|      3|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14552|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "factor"));
14553|      3|    }
14554|      3|    _res = NULL;
14555|     45|  done:
14556|     45|    p->level--;
14557|     45|    return _res;
14558|      3|}
parser.c:factor_rule:
14563|     45|{
14564|     45|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     90|#  define MAXSTACK 6000
  ------------------
  |  Branch (14564:9): [True: 0, False: 45]
  |  Branch (14564:35): [True: 0, False: 45]
  ------------------
14565|      0|        _Pypegen_stack_overflow(p);
14566|      0|    }
14567|     45|    if (p->error_indicator) {
  ------------------
  |  Branch (14567:9): [True: 0, False: 45]
  ------------------
14568|      0|        p->level--;
14569|      0|        return NULL;
14570|      0|    }
14571|     45|    expr_ty _res = NULL;
14572|     45|    if (_PyPegen_is_memoized(p, factor_type, &_res)) {
  ------------------
  |  |  230|     45|#define factor_type 1141
  ------------------
  |  Branch (14572:9): [True: 21, False: 24]
  ------------------
14573|     21|        p->level--;
14574|     21|        return _res;
14575|     21|    }
14576|     24|    int _mark = p->mark;
14577|     24|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14577:9): [True: 0, False: 24]
  |  Branch (14577:31): [True: 0, False: 0]
  ------------------
14578|      0|        p->error_indicator = 1;
14579|      0|        p->level--;
14580|      0|        return NULL;
14581|      0|    }
14582|     24|    int _start_lineno = p->tokens[_mark]->lineno;
14583|     24|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|     24|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 24]
  |  |  ------------------
  ------------------
14584|     24|    int _start_col_offset = p->tokens[_mark]->col_offset;
14585|     24|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|     24|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 24]
  |  |  ------------------
  ------------------
14586|     24|    { // '+' factor
14587|     24|        if (p->error_indicator) {
  ------------------
  |  Branch (14587:13): [True: 0, False: 24]
  ------------------
14588|      0|            p->level--;
14589|      0|            return NULL;
14590|      0|        }
14591|     24|        D(fprintf(stderr, "%*c> factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'+' factor"));
14592|     24|        Token * _literal;
14593|     24|        expr_ty a;
14594|     24|        if (
14595|     24|            (_literal = _PyPegen_expect_token(p, 14))  // token='+'
  ------------------
  |  Branch (14595:13): [True: 0, False: 24]
  ------------------
14596|      0|            &&
14597|      0|            (a = factor_rule(p))  // factor
  ------------------
  |  Branch (14597:13): [True: 0, False: 0]
  ------------------
14598|     24|        )
14599|      0|        {
14600|      0|            D(fprintf(stderr, "%*c+ factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'+' factor"));
14601|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14602|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14602:17): [True: 0, False: 0]
  ------------------
14603|      0|                p->level--;
14604|      0|                return NULL;
14605|      0|            }
14606|      0|            int _end_lineno = _token->end_lineno;
14607|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14608|      0|            int _end_col_offset = _token->end_col_offset;
14609|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14610|      0|            _res = _PyAST_UnaryOp ( UAdd , a , EXTRA );
  ------------------
  |  |  274|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14611|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14611:18): [True: 0, False: 0]
  |  Branch (14611:34): [True: 0, False: 0]
  |  Branch (14611:57): [True: 0, False: 0]
  ------------------
14612|      0|                p->error_indicator = 1;
14613|      0|                p->level--;
14614|      0|                return NULL;
14615|      0|            }
14616|      0|            goto done;
14617|      0|        }
14618|     24|        p->mark = _mark;
14619|     24|        D(fprintf(stderr, "%*c%s factor[%d-%d]: %s failed!\n", p->level, ' ',
14620|     24|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'+' factor"));
14621|     24|    }
14622|      0|    { // '-' factor
14623|     24|        if (p->error_indicator) {
  ------------------
  |  Branch (14623:13): [True: 0, False: 24]
  ------------------
14624|      0|            p->level--;
14625|      0|            return NULL;
14626|      0|        }
14627|     24|        D(fprintf(stderr, "%*c> factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'-' factor"));
14628|     24|        Token * _literal;
14629|     24|        expr_ty a;
14630|     24|        if (
14631|     24|            (_literal = _PyPegen_expect_token(p, 15))  // token='-'
  ------------------
  |  Branch (14631:13): [True: 0, False: 24]
  ------------------
14632|      0|            &&
14633|      0|            (a = factor_rule(p))  // factor
  ------------------
  |  Branch (14633:13): [True: 0, False: 0]
  ------------------
14634|     24|        )
14635|      0|        {
14636|      0|            D(fprintf(stderr, "%*c+ factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'-' factor"));
14637|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14638|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14638:17): [True: 0, False: 0]
  ------------------
14639|      0|                p->level--;
14640|      0|                return NULL;
14641|      0|            }
14642|      0|            int _end_lineno = _token->end_lineno;
14643|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14644|      0|            int _end_col_offset = _token->end_col_offset;
14645|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14646|      0|            _res = _PyAST_UnaryOp ( USub , a , EXTRA );
  ------------------
  |  |  274|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14647|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14647:18): [True: 0, False: 0]
  |  Branch (14647:34): [True: 0, False: 0]
  |  Branch (14647:57): [True: 0, False: 0]
  ------------------
14648|      0|                p->error_indicator = 1;
14649|      0|                p->level--;
14650|      0|                return NULL;
14651|      0|            }
14652|      0|            goto done;
14653|      0|        }
14654|     24|        p->mark = _mark;
14655|     24|        D(fprintf(stderr, "%*c%s factor[%d-%d]: %s failed!\n", p->level, ' ',
14656|     24|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'-' factor"));
14657|     24|    }
14658|      0|    { // '~' factor
14659|     24|        if (p->error_indicator) {
  ------------------
  |  Branch (14659:13): [True: 0, False: 24]
  ------------------
14660|      0|            p->level--;
14661|      0|            return NULL;
14662|      0|        }
14663|     24|        D(fprintf(stderr, "%*c> factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'~' factor"));
14664|     24|        Token * _literal;
14665|     24|        expr_ty a;
14666|     24|        if (
14667|     24|            (_literal = _PyPegen_expect_token(p, 31))  // token='~'
  ------------------
  |  Branch (14667:13): [True: 0, False: 24]
  ------------------
14668|      0|            &&
14669|      0|            (a = factor_rule(p))  // factor
  ------------------
  |  Branch (14669:13): [True: 0, False: 0]
  ------------------
14670|     24|        )
14671|      0|        {
14672|      0|            D(fprintf(stderr, "%*c+ factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'~' factor"));
14673|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14674|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14674:17): [True: 0, False: 0]
  ------------------
14675|      0|                p->level--;
14676|      0|                return NULL;
14677|      0|            }
14678|      0|            int _end_lineno = _token->end_lineno;
14679|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14680|      0|            int _end_col_offset = _token->end_col_offset;
14681|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14682|      0|            _res = _PyAST_UnaryOp ( Invert , a , EXTRA );
  ------------------
  |  |  274|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14683|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14683:18): [True: 0, False: 0]
  |  Branch (14683:34): [True: 0, False: 0]
  |  Branch (14683:57): [True: 0, False: 0]
  ------------------
14684|      0|                p->error_indicator = 1;
14685|      0|                p->level--;
14686|      0|                return NULL;
14687|      0|            }
14688|      0|            goto done;
14689|      0|        }
14690|     24|        p->mark = _mark;
14691|     24|        D(fprintf(stderr, "%*c%s factor[%d-%d]: %s failed!\n", p->level, ' ',
14692|     24|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'~' factor"));
14693|     24|    }
14694|      0|    { // power
14695|     24|        if (p->error_indicator) {
  ------------------
  |  Branch (14695:13): [True: 0, False: 24]
  ------------------
14696|      0|            p->level--;
14697|      0|            return NULL;
14698|      0|        }
14699|     24|        D(fprintf(stderr, "%*c> factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "power"));
14700|     24|        expr_ty power_var;
14701|     24|        if (
14702|     24|            (power_var = power_rule(p))  // power
  ------------------
  |  Branch (14702:13): [True: 21, False: 3]
  ------------------
14703|     24|        )
14704|     21|        {
14705|     21|            D(fprintf(stderr, "%*c+ factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "power"));
14706|     21|            _res = power_var;
14707|     21|            goto done;
14708|     21|        }
14709|      3|        p->mark = _mark;
14710|      3|        D(fprintf(stderr, "%*c%s factor[%d-%d]: %s failed!\n", p->level, ' ',
14711|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "power"));
14712|      3|    }
14713|      3|    if (p->call_invalid_rules) { // invalid_factor
  ------------------
  |  Branch (14713:9): [True: 0, False: 3]
  ------------------
14714|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (14714:13): [True: 0, False: 0]
  ------------------
14715|      0|            p->level--;
14716|      0|            return NULL;
14717|      0|        }
14718|      0|        D(fprintf(stderr, "%*c> factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_factor"));
14719|      0|        void *invalid_factor_var;
14720|      0|        if (
14721|      0|            (invalid_factor_var = invalid_factor_rule(p))  // invalid_factor
  ------------------
  |  Branch (14721:13): [True: 0, False: 0]
  ------------------
14722|      0|        )
14723|      0|        {
14724|      0|            D(fprintf(stderr, "%*c+ factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_factor"));
14725|      0|            _res = invalid_factor_var;
14726|      0|            goto done;
14727|      0|        }
14728|      0|        p->mark = _mark;
14729|      0|        D(fprintf(stderr, "%*c%s factor[%d-%d]: %s failed!\n", p->level, ' ',
14730|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_factor"));
14731|      0|    }
14732|      3|    _res = NULL;
14733|     24|  done:
14734|     24|    _PyPegen_insert_memo(p, _mark, factor_type, _res);
  ------------------
  |  |  230|     24|#define factor_type 1141
  ------------------
14735|     24|    p->level--;
14736|     24|    return _res;
14737|      3|}
parser.c:power_rule:
14742|     24|{
14743|     24|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     48|#  define MAXSTACK 6000
  ------------------
  |  Branch (14743:9): [True: 0, False: 24]
  |  Branch (14743:35): [True: 0, False: 24]
  ------------------
14744|      0|        _Pypegen_stack_overflow(p);
14745|      0|    }
14746|     24|    if (p->error_indicator) {
  ------------------
  |  Branch (14746:9): [True: 0, False: 24]
  ------------------
14747|      0|        p->level--;
14748|      0|        return NULL;
14749|      0|    }
14750|     24|    expr_ty _res = NULL;
14751|     24|    int _mark = p->mark;
14752|     24|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14752:9): [True: 0, False: 24]
  |  Branch (14752:31): [True: 0, False: 0]
  ------------------
14753|      0|        p->error_indicator = 1;
14754|      0|        p->level--;
14755|      0|        return NULL;
14756|      0|    }
14757|     24|    int _start_lineno = p->tokens[_mark]->lineno;
14758|     24|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|     24|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 24]
  |  |  ------------------
  ------------------
14759|     24|    int _start_col_offset = p->tokens[_mark]->col_offset;
14760|     24|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|     24|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 24]
  |  |  ------------------
  ------------------
14761|     24|    { // await_primary '**' factor
14762|     24|        if (p->error_indicator) {
  ------------------
  |  Branch (14762:13): [True: 0, False: 24]
  ------------------
14763|      0|            p->level--;
14764|      0|            return NULL;
14765|      0|        }
14766|     24|        D(fprintf(stderr, "%*c> power[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "await_primary '**' factor"));
14767|     24|        Token * _literal;
14768|     24|        expr_ty a;
14769|     24|        expr_ty b;
14770|     24|        if (
14771|     24|            (a = await_primary_rule(p))  // await_primary
  ------------------
  |  Branch (14771:13): [True: 21, False: 3]
  ------------------
14772|     21|            &&
14773|     21|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (14773:13): [True: 0, False: 21]
  ------------------
14774|      0|            &&
14775|      0|            (b = factor_rule(p))  // factor
  ------------------
  |  Branch (14775:13): [True: 0, False: 0]
  ------------------
14776|     24|        )
14777|      0|        {
14778|      0|            D(fprintf(stderr, "%*c+ power[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "await_primary '**' factor"));
14779|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14780|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14780:17): [True: 0, False: 0]
  ------------------
14781|      0|                p->level--;
14782|      0|                return NULL;
14783|      0|            }
14784|      0|            int _end_lineno = _token->end_lineno;
14785|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14786|      0|            int _end_col_offset = _token->end_col_offset;
14787|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14788|      0|            _res = _PyAST_BinOp ( a , Pow , b , EXTRA );
  ------------------
  |  |  274|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14789|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14789:18): [True: 0, False: 0]
  |  Branch (14789:34): [True: 0, False: 0]
  |  Branch (14789:57): [True: 0, False: 0]
  ------------------
14790|      0|                p->error_indicator = 1;
14791|      0|                p->level--;
14792|      0|                return NULL;
14793|      0|            }
14794|      0|            goto done;
14795|      0|        }
14796|     24|        p->mark = _mark;
14797|     24|        D(fprintf(stderr, "%*c%s power[%d-%d]: %s failed!\n", p->level, ' ',
14798|     24|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "await_primary '**' factor"));
14799|     24|    }
14800|      0|    { // await_primary
14801|     24|        if (p->error_indicator) {
  ------------------
  |  Branch (14801:13): [True: 0, False: 24]
  ------------------
14802|      0|            p->level--;
14803|      0|            return NULL;
14804|      0|        }
14805|     24|        D(fprintf(stderr, "%*c> power[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "await_primary"));
14806|     24|        expr_ty await_primary_var;
14807|     24|        if (
14808|     24|            (await_primary_var = await_primary_rule(p))  // await_primary
  ------------------
  |  Branch (14808:13): [True: 21, False: 3]
  ------------------
14809|     24|        )
14810|     21|        {
14811|     21|            D(fprintf(stderr, "%*c+ power[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "await_primary"));
14812|     21|            _res = await_primary_var;
14813|     21|            goto done;
14814|     21|        }
14815|      3|        p->mark = _mark;
14816|      3|        D(fprintf(stderr, "%*c%s power[%d-%d]: %s failed!\n", p->level, ' ',
14817|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "await_primary"));
14818|      3|    }
14819|      3|    _res = NULL;
14820|     24|  done:
14821|     24|    p->level--;
14822|     24|    return _res;
14823|      3|}
parser.c:await_primary_rule:
14828|     48|{
14829|     48|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     96|#  define MAXSTACK 6000
  ------------------
  |  Branch (14829:9): [True: 0, False: 48]
  |  Branch (14829:35): [True: 0, False: 48]
  ------------------
14830|      0|        _Pypegen_stack_overflow(p);
14831|      0|    }
14832|     48|    if (p->error_indicator) {
  ------------------
  |  Branch (14832:9): [True: 0, False: 48]
  ------------------
14833|      0|        p->level--;
14834|      0|        return NULL;
14835|      0|    }
14836|     48|    expr_ty _res = NULL;
14837|     48|    if (_PyPegen_is_memoized(p, await_primary_type, &_res)) {
  ------------------
  |  |  232|     48|#define await_primary_type 1143
  ------------------
  |  Branch (14837:9): [True: 24, False: 24]
  ------------------
14838|     24|        p->level--;
14839|     24|        return _res;
14840|     24|    }
14841|     24|    int _mark = p->mark;
14842|     24|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14842:9): [True: 0, False: 24]
  |  Branch (14842:31): [True: 0, False: 0]
  ------------------
14843|      0|        p->error_indicator = 1;
14844|      0|        p->level--;
14845|      0|        return NULL;
14846|      0|    }
14847|     24|    int _start_lineno = p->tokens[_mark]->lineno;
14848|     24|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|     24|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 24]
  |  |  ------------------
  ------------------
14849|     24|    int _start_col_offset = p->tokens[_mark]->col_offset;
14850|     24|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|     24|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 24]
  |  |  ------------------
  ------------------
14851|     24|    { // 'await' primary
14852|     24|        if (p->error_indicator) {
  ------------------
  |  Branch (14852:13): [True: 0, False: 24]
  ------------------
14853|      0|            p->level--;
14854|      0|            return NULL;
14855|      0|        }
14856|     24|        D(fprintf(stderr, "%*c> await_primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'await' primary"));
14857|     24|        Token * _keyword;
14858|     24|        expr_ty a;
14859|     24|        if (
14860|     24|            (_keyword = _PyPegen_expect_token(p, 598))  // token='await'
  ------------------
  |  Branch (14860:13): [True: 0, False: 24]
  ------------------
14861|      0|            &&
14862|      0|            (a = primary_rule(p))  // primary
  ------------------
  |  Branch (14862:13): [True: 0, False: 0]
  ------------------
14863|     24|        )
14864|      0|        {
14865|      0|            D(fprintf(stderr, "%*c+ await_primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'await' primary"));
14866|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14867|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14867:17): [True: 0, False: 0]
  ------------------
14868|      0|                p->level--;
14869|      0|                return NULL;
14870|      0|            }
14871|      0|            int _end_lineno = _token->end_lineno;
14872|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14873|      0|            int _end_col_offset = _token->end_col_offset;
14874|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14875|      0|            _res = CHECK_VERSION ( expr_ty , 5 , "Await expressions are" , _PyAST_Await ( a , EXTRA ) );
  ------------------
  |  |  312|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
14876|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14876:18): [True: 0, False: 0]
  |  Branch (14876:34): [True: 0, False: 0]
  |  Branch (14876:57): [True: 0, False: 0]
  ------------------
14877|      0|                p->error_indicator = 1;
14878|      0|                p->level--;
14879|      0|                return NULL;
14880|      0|            }
14881|      0|            goto done;
14882|      0|        }
14883|     24|        p->mark = _mark;
14884|     24|        D(fprintf(stderr, "%*c%s await_primary[%d-%d]: %s failed!\n", p->level, ' ',
14885|     24|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'await' primary"));
14886|     24|    }
14887|      0|    { // primary
14888|     24|        if (p->error_indicator) {
  ------------------
  |  Branch (14888:13): [True: 0, False: 24]
  ------------------
14889|      0|            p->level--;
14890|      0|            return NULL;
14891|      0|        }
14892|     24|        D(fprintf(stderr, "%*c> await_primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary"));
14893|     24|        expr_ty primary_var;
14894|     24|        if (
14895|     24|            (primary_var = primary_rule(p))  // primary
  ------------------
  |  Branch (14895:13): [True: 21, False: 3]
  ------------------
14896|     24|        )
14897|     21|        {
14898|     21|            D(fprintf(stderr, "%*c+ await_primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary"));
14899|     21|            _res = primary_var;
14900|     21|            goto done;
14901|     21|        }
14902|      3|        p->mark = _mark;
14903|      3|        D(fprintf(stderr, "%*c%s await_primary[%d-%d]: %s failed!\n", p->level, ' ',
14904|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary"));
14905|      3|    }
14906|      3|    _res = NULL;
14907|     24|  done:
14908|     24|    _PyPegen_insert_memo(p, _mark, await_primary_type, _res);
  ------------------
  |  |  232|     24|#define await_primary_type 1143
  ------------------
14909|     24|    p->level--;
14910|     24|    return _res;
14911|      3|}
parser.c:primary_rule:
14923|    213|{
14924|    213|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    426|#  define MAXSTACK 6000
  ------------------
  |  Branch (14924:9): [True: 0, False: 213]
  |  Branch (14924:35): [True: 0, False: 213]
  ------------------
14925|      0|        _Pypegen_stack_overflow(p);
14926|      0|    }
14927|    213|    expr_ty _res = NULL;
14928|    213|    if (_PyPegen_is_memoized(p, primary_type, &_res)) {
  ------------------
  |  |  233|    213|#define primary_type 1144  // Left-recursive
  ------------------
  |  Branch (14928:9): [True: 189, False: 24]
  ------------------
14929|    189|        p->level--;
14930|    189|        return _res;
14931|    189|    }
14932|     24|    int _mark = p->mark;
14933|     24|    int _resmark = p->mark;
14934|     48|    while (1) {
  ------------------
  |  Branch (14934:12): [True: 48, Folded]
  ------------------
14935|     48|        int tmpvar_8 = _PyPegen_update_memo(p, _mark, primary_type, _res);
  ------------------
  |  |  233|     48|#define primary_type 1144  // Left-recursive
  ------------------
14936|     48|        if (tmpvar_8) {
  ------------------
  |  Branch (14936:13): [True: 0, False: 48]
  ------------------
14937|      0|            p->level--;
14938|      0|            return _res;
14939|      0|        }
14940|     48|        p->mark = _mark;
14941|     48|        void *_raw = primary_raw(p);
14942|     48|        if (p->error_indicator) {
  ------------------
  |  Branch (14942:13): [True: 0, False: 48]
  ------------------
14943|      0|            p->level--;
14944|      0|            return NULL;
14945|      0|        }
14946|     48|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (14946:13): [True: 3, False: 45]
  |  Branch (14946:29): [True: 21, False: 24]
  ------------------
14947|     24|            break;
14948|     24|        _resmark = p->mark;
14949|     24|        _res = _raw;
14950|     24|    }
14951|     24|    p->mark = _resmark;
14952|     24|    p->level--;
14953|     24|    return _res;
14954|     24|}
parser.c:primary_raw:
14957|     48|{
14958|     48|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     96|#  define MAXSTACK 6000
  ------------------
  |  Branch (14958:9): [True: 0, False: 48]
  |  Branch (14958:35): [True: 0, False: 48]
  ------------------
14959|      0|        _Pypegen_stack_overflow(p);
14960|      0|    }
14961|     48|    if (p->error_indicator) {
  ------------------
  |  Branch (14961:9): [True: 0, False: 48]
  ------------------
14962|      0|        p->level--;
14963|      0|        return NULL;
14964|      0|    }
14965|     48|    expr_ty _res = NULL;
14966|     48|    int _mark = p->mark;
14967|     48|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14967:9): [True: 0, False: 48]
  |  Branch (14967:31): [True: 0, False: 0]
  ------------------
14968|      0|        p->error_indicator = 1;
14969|      0|        p->level--;
14970|      0|        return NULL;
14971|      0|    }
14972|     48|    int _start_lineno = p->tokens[_mark]->lineno;
14973|     48|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|     48|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 48]
  |  |  ------------------
  ------------------
14974|     48|    int _start_col_offset = p->tokens[_mark]->col_offset;
14975|     48|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|     48|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 48]
  |  |  ------------------
  ------------------
14976|     48|    { // primary '.' NAME
14977|     48|        if (p->error_indicator) {
  ------------------
  |  Branch (14977:13): [True: 0, False: 48]
  ------------------
14978|      0|            p->level--;
14979|      0|            return NULL;
14980|      0|        }
14981|     48|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary '.' NAME"));
14982|     48|        Token * _literal;
14983|     48|        expr_ty a;
14984|     48|        expr_ty b;
14985|     48|        if (
14986|     48|            (a = primary_rule(p))  // primary
  ------------------
  |  Branch (14986:13): [True: 24, False: 24]
  ------------------
14987|     24|            &&
14988|     24|            (_literal = _PyPegen_expect_token(p, 23))  // token='.'
  ------------------
  |  Branch (14988:13): [True: 0, False: 24]
  ------------------
14989|      0|            &&
14990|      0|            (b = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (14990:13): [True: 0, False: 0]
  ------------------
14991|     48|        )
14992|      0|        {
14993|      0|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary '.' NAME"));
14994|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14995|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14995:17): [True: 0, False: 0]
  ------------------
14996|      0|                p->level--;
14997|      0|                return NULL;
14998|      0|            }
14999|      0|            int _end_lineno = _token->end_lineno;
15000|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
15001|      0|            int _end_col_offset = _token->end_col_offset;
15002|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
15003|      0|            _res = _PyAST_Attribute ( a , b -> v . Name . id , Load , EXTRA );
  ------------------
  |  |  274|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15004|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15004:18): [True: 0, False: 0]
  |  Branch (15004:34): [True: 0, False: 0]
  |  Branch (15004:57): [True: 0, False: 0]
  ------------------
15005|      0|                p->error_indicator = 1;
15006|      0|                p->level--;
15007|      0|                return NULL;
15008|      0|            }
15009|      0|            goto done;
15010|      0|        }
15011|     48|        p->mark = _mark;
15012|     48|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
15013|     48|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary '.' NAME"));
15014|     48|    }
15015|      0|    { // primary genexp
15016|     48|        if (p->error_indicator) {
  ------------------
  |  Branch (15016:13): [True: 0, False: 48]
  ------------------
15017|      0|            p->level--;
15018|      0|            return NULL;
15019|      0|        }
15020|     48|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary genexp"));
15021|     48|        expr_ty a;
15022|     48|        expr_ty b;
15023|     48|        if (
15024|     48|            (a = primary_rule(p))  // primary
  ------------------
  |  Branch (15024:13): [True: 24, False: 24]
  ------------------
15025|     24|            &&
15026|     24|            (b = genexp_rule(p))  // genexp
  ------------------
  |  Branch (15026:13): [True: 0, False: 24]
  ------------------
15027|     48|        )
15028|      0|        {
15029|      0|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary genexp"));
15030|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15031|      0|            if (_token == NULL) {
  ------------------
  |  Branch (15031:17): [True: 0, False: 0]
  ------------------
15032|      0|                p->level--;
15033|      0|                return NULL;
15034|      0|            }
15035|      0|            int _end_lineno = _token->end_lineno;
15036|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
15037|      0|            int _end_col_offset = _token->end_col_offset;
15038|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
15039|      0|            _res = _PyAST_Call ( a , CHECK ( asdl_expr_seq* , ( asdl_expr_seq* ) _PyPegen_singleton_seq ( p , b ) ) , NULL , EXTRA );
  ------------------
  |  |  238|      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 );
  ------------------
  |  |  274|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15040|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15040:18): [True: 0, False: 0]
  |  Branch (15040:34): [True: 0, False: 0]
  |  Branch (15040:57): [True: 0, False: 0]
  ------------------
15041|      0|                p->error_indicator = 1;
15042|      0|                p->level--;
15043|      0|                return NULL;
15044|      0|            }
15045|      0|            goto done;
15046|      0|        }
15047|     48|        p->mark = _mark;
15048|     48|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
15049|     48|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary genexp"));
15050|     48|    }
15051|      0|    { // primary '(' arguments? ')'
15052|     48|        if (p->error_indicator) {
  ------------------
  |  Branch (15052:13): [True: 0, False: 48]
  ------------------
15053|      0|            p->level--;
15054|      0|            return NULL;
15055|      0|        }
15056|     48|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary '(' arguments? ')'"));
15057|     48|        Token * _literal;
15058|     48|        Token * _literal_1;
15059|     48|        expr_ty a;
15060|     48|        void *b;
15061|     48|        if (
15062|     48|            (a = primary_rule(p))  // primary
  ------------------
  |  Branch (15062:13): [True: 24, False: 24]
  ------------------
15063|     24|            &&
15064|     24|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (15064:13): [True: 3, False: 21]
  ------------------
15065|      3|            &&
15066|      3|            (b = arguments_rule(p), !p->error_indicator)  // arguments?
  ------------------
  |  Branch (15066:13): [True: 3, False: 0]
  ------------------
15067|      3|            &&
15068|      3|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (15068:13): [True: 3, False: 0]
  ------------------
15069|     48|        )
15070|      3|        {
15071|      3|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary '(' arguments? ')'"));
15072|      3|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15073|      3|            if (_token == NULL) {
  ------------------
  |  Branch (15073:17): [True: 0, False: 3]
  ------------------
15074|      0|                p->level--;
15075|      0|                return NULL;
15076|      0|            }
15077|      3|            int _end_lineno = _token->end_lineno;
15078|      3|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      3|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 3]
  |  |  ------------------
  ------------------
15079|      3|            int _end_col_offset = _token->end_col_offset;
15080|      3|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      3|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 3]
  |  |  ------------------
  ------------------
15081|      3|            _res = _PyAST_Call ( a , ( b ) ? ( ( expr_ty ) b ) -> v . Call . args : NULL , ( b ) ? ( ( expr_ty ) b ) -> v . Call . keywords : NULL , EXTRA );
  ------------------
  |  |  274|      3|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (15081:38): [True: 3, False: 0]
  |  Branch (15081:92): [True: 3, False: 0]
  ------------------
15082|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15082:18): [True: 0, False: 3]
  |  Branch (15082:34): [True: 0, False: 3]
  |  Branch (15082:57): [True: 0, False: 0]
  ------------------
15083|      0|                p->error_indicator = 1;
15084|      0|                p->level--;
15085|      0|                return NULL;
15086|      0|            }
15087|      3|            goto done;
15088|      3|        }
15089|     45|        p->mark = _mark;
15090|     45|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
15091|     45|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary '(' arguments? ')'"));
15092|     45|    }
15093|      0|    { // primary '[' slices ']'
15094|     45|        if (p->error_indicator) {
  ------------------
  |  Branch (15094:13): [True: 0, False: 45]
  ------------------
15095|      0|            p->level--;
15096|      0|            return NULL;
15097|      0|        }
15098|     45|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary '[' slices ']'"));
15099|     45|        Token * _literal;
15100|     45|        Token * _literal_1;
15101|     45|        expr_ty a;
15102|     45|        expr_ty b;
15103|     45|        if (
15104|     45|            (a = primary_rule(p))  // primary
  ------------------
  |  Branch (15104:13): [True: 21, False: 24]
  ------------------
15105|     21|            &&
15106|     21|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (15106:13): [True: 0, False: 21]
  ------------------
15107|      0|            &&
15108|      0|            (b = slices_rule(p))  // slices
  ------------------
  |  Branch (15108:13): [True: 0, False: 0]
  ------------------
15109|      0|            &&
15110|      0|            (_literal_1 = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (15110:13): [True: 0, False: 0]
  ------------------
15111|     45|        )
15112|      0|        {
15113|      0|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary '[' slices ']'"));
15114|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15115|      0|            if (_token == NULL) {
  ------------------
  |  Branch (15115:17): [True: 0, False: 0]
  ------------------
15116|      0|                p->level--;
15117|      0|                return NULL;
15118|      0|            }
15119|      0|            int _end_lineno = _token->end_lineno;
15120|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
15121|      0|            int _end_col_offset = _token->end_col_offset;
15122|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
15123|      0|            _res = _PyAST_Subscript ( a , b , Load , EXTRA );
  ------------------
  |  |  274|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15124|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15124:18): [True: 0, False: 0]
  |  Branch (15124:34): [True: 0, False: 0]
  |  Branch (15124:57): [True: 0, False: 0]
  ------------------
15125|      0|                p->error_indicator = 1;
15126|      0|                p->level--;
15127|      0|                return NULL;
15128|      0|            }
15129|      0|            goto done;
15130|      0|        }
15131|     45|        p->mark = _mark;
15132|     45|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
15133|     45|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary '[' slices ']'"));
15134|     45|    }
15135|      0|    { // atom
15136|     45|        if (p->error_indicator) {
  ------------------
  |  Branch (15136:13): [True: 0, False: 45]
  ------------------
15137|      0|            p->level--;
15138|      0|            return NULL;
15139|      0|        }
15140|     45|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "atom"));
15141|     45|        expr_ty atom_var;
15142|     45|        if (
15143|     45|            (atom_var = atom_rule(p))  // atom
  ------------------
  |  Branch (15143:13): [True: 42, False: 3]
  ------------------
15144|     45|        )
15145|     42|        {
15146|     42|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "atom"));
15147|     42|            _res = atom_var;
15148|     42|            goto done;
15149|     42|        }
15150|      3|        p->mark = _mark;
15151|      3|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
15152|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "atom"));
15153|      3|    }
15154|      3|    _res = NULL;
15155|     48|  done:
15156|     48|    p->level--;
15157|     48|    return _res;
15158|      3|}
parser.c:genexp_rule:
18459|     30|{
18460|     30|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     60|#  define MAXSTACK 6000
  ------------------
  |  Branch (18460:9): [True: 0, False: 30]
  |  Branch (18460:35): [True: 0, False: 30]
  ------------------
18461|      0|        _Pypegen_stack_overflow(p);
18462|      0|    }
18463|     30|    if (p->error_indicator) {
  ------------------
  |  Branch (18463:9): [True: 0, False: 30]
  ------------------
18464|      0|        p->level--;
18465|      0|        return NULL;
18466|      0|    }
18467|     30|    expr_ty _res = NULL;
18468|     30|    int _mark = p->mark;
18469|     30|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18469:9): [True: 0, False: 30]
  |  Branch (18469:31): [True: 0, False: 0]
  ------------------
18470|      0|        p->error_indicator = 1;
18471|      0|        p->level--;
18472|      0|        return NULL;
18473|      0|    }
18474|     30|    int _start_lineno = p->tokens[_mark]->lineno;
18475|     30|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|     30|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 30]
  |  |  ------------------
  ------------------
18476|     30|    int _start_col_offset = p->tokens[_mark]->col_offset;
18477|     30|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|     30|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 30]
  |  |  ------------------
  ------------------
18478|     30|    { // '(' (assignment_expression | expression !':=' | starred_expression) for_if_clauses ')'
18479|     30|        if (p->error_indicator) {
  ------------------
  |  Branch (18479:13): [True: 0, False: 30]
  ------------------
18480|      0|            p->level--;
18481|      0|            return NULL;
18482|      0|        }
18483|     30|        D(fprintf(stderr, "%*c> genexp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' (assignment_expression | expression !':=' | starred_expression) for_if_clauses ')'"));
18484|     30|        Token * _literal;
18485|     30|        Token * _literal_1;
18486|     30|        void *a;
18487|     30|        asdl_comprehension_seq* b;
18488|     30|        if (
18489|     30|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (18489:13): [True: 9, False: 21]
  ------------------
18490|      9|            &&
18491|      9|            (a = _tmp_89_rule(p))  // assignment_expression | expression !':=' | starred_expression
  ------------------
  |  Branch (18491:13): [True: 9, False: 0]
  ------------------
18492|      9|            &&
18493|      9|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (18493:13): [True: 0, False: 9]
  ------------------
18494|      0|            &&
18495|      0|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (18495:13): [True: 0, False: 0]
  ------------------
18496|     30|        )
18497|      0|        {
18498|      0|            D(fprintf(stderr, "%*c+ genexp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' (assignment_expression | expression !':=' | starred_expression) for_if_clauses ')'"));
18499|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18500|      0|            if (_token == NULL) {
  ------------------
  |  Branch (18500:17): [True: 0, False: 0]
  ------------------
18501|      0|                p->level--;
18502|      0|                return NULL;
18503|      0|            }
18504|      0|            int _end_lineno = _token->end_lineno;
18505|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18506|      0|            int _end_col_offset = _token->end_col_offset;
18507|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18508|      0|            _res = _PyAST_GeneratorExp ( a , b , EXTRA );
  ------------------
  |  |  274|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18509|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18509:18): [True: 0, False: 0]
  |  Branch (18509:34): [True: 0, False: 0]
  |  Branch (18509:57): [True: 0, False: 0]
  ------------------
18510|      0|                p->error_indicator = 1;
18511|      0|                p->level--;
18512|      0|                return NULL;
18513|      0|            }
18514|      0|            goto done;
18515|      0|        }
18516|     30|        p->mark = _mark;
18517|     30|        D(fprintf(stderr, "%*c%s genexp[%d-%d]: %s failed!\n", p->level, ' ',
18518|     30|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' (assignment_expression | expression !':=' | starred_expression) for_if_clauses ')'"));
18519|     30|    }
18520|     30|    if (p->call_invalid_rules) { // invalid_comprehension
  ------------------
  |  Branch (18520:9): [True: 0, False: 30]
  ------------------
18521|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (18521:13): [True: 0, False: 0]
  ------------------
18522|      0|            p->level--;
18523|      0|            return NULL;
18524|      0|        }
18525|      0|        D(fprintf(stderr, "%*c> genexp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_comprehension"));
18526|      0|        void *invalid_comprehension_var;
18527|      0|        if (
18528|      0|            (invalid_comprehension_var = invalid_comprehension_rule(p))  // invalid_comprehension
  ------------------
  |  Branch (18528:13): [True: 0, False: 0]
  ------------------
18529|      0|        )
18530|      0|        {
18531|      0|            D(fprintf(stderr, "%*c+ genexp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_comprehension"));
18532|      0|            _res = invalid_comprehension_var;
18533|      0|            goto done;
18534|      0|        }
18535|      0|        p->mark = _mark;
18536|      0|        D(fprintf(stderr, "%*c%s genexp[%d-%d]: %s failed!\n", p->level, ' ',
18537|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_comprehension"));
18538|      0|    }
18539|     30|    _res = NULL;
18540|     30|  done:
18541|     30|    p->level--;
18542|     30|    return _res;
18543|     30|}
parser.c:_tmp_89_rule:
34247|      9|{
34248|      9|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     18|#  define MAXSTACK 6000
  ------------------
  |  Branch (34248:9): [True: 0, False: 9]
  |  Branch (34248:35): [True: 0, False: 9]
  ------------------
34249|      0|        _Pypegen_stack_overflow(p);
34250|      0|    }
34251|      9|    if (p->error_indicator) {
  ------------------
  |  Branch (34251:9): [True: 0, False: 9]
  ------------------
34252|      0|        p->level--;
34253|      0|        return NULL;
34254|      0|    }
34255|      9|    void * _res = NULL;
34256|      9|    int _mark = p->mark;
34257|      9|    { // assignment_expression
34258|      9|        if (p->error_indicator) {
  ------------------
  |  Branch (34258:13): [True: 0, False: 9]
  ------------------
34259|      0|            p->level--;
34260|      0|            return NULL;
34261|      0|        }
34262|      9|        D(fprintf(stderr, "%*c> _tmp_89[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
34263|      9|        expr_ty assignment_expression_var;
34264|      9|        if (
34265|      9|            (assignment_expression_var = assignment_expression_rule(p))  // assignment_expression
  ------------------
  |  Branch (34265:13): [True: 0, False: 9]
  ------------------
34266|      9|        )
34267|      0|        {
34268|      0|            D(fprintf(stderr, "%*c+ _tmp_89[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
34269|      0|            _res = assignment_expression_var;
34270|      0|            goto done;
34271|      0|        }
34272|      9|        p->mark = _mark;
34273|      9|        D(fprintf(stderr, "%*c%s _tmp_89[%d-%d]: %s failed!\n", p->level, ' ',
34274|      9|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "assignment_expression"));
34275|      9|    }
34276|      0|    { // expression !':='
34277|      9|        if (p->error_indicator) {
  ------------------
  |  Branch (34277:13): [True: 0, False: 9]
  ------------------
34278|      0|            p->level--;
34279|      0|            return NULL;
34280|      0|        }
34281|      9|        D(fprintf(stderr, "%*c> _tmp_89[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression !':='"));
34282|      9|        expr_ty expression_var;
34283|      9|        if (
34284|      9|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (34284:13): [True: 9, False: 0]
  ------------------
34285|      9|            &&
34286|      9|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 53)  // token=':='
  ------------------
  |  Branch (34286:13): [True: 9, False: 0]
  ------------------
34287|      9|        )
34288|      9|        {
34289|      9|            D(fprintf(stderr, "%*c+ _tmp_89[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression !':='"));
34290|      9|            _res = expression_var;
34291|      9|            goto done;
34292|      9|        }
34293|      0|        p->mark = _mark;
34294|      0|        D(fprintf(stderr, "%*c%s _tmp_89[%d-%d]: %s failed!\n", p->level, ' ',
34295|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression !':='"));
34296|      0|    }
34297|      0|    { // starred_expression
34298|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (34298:13): [True: 0, False: 0]
  ------------------
34299|      0|            p->level--;
34300|      0|            return NULL;
34301|      0|        }
34302|      0|        D(fprintf(stderr, "%*c> _tmp_89[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "starred_expression"));
34303|      0|        expr_ty starred_expression_var;
34304|      0|        if (
34305|      0|            (starred_expression_var = starred_expression_rule(p))  // starred_expression
  ------------------
  |  Branch (34305:13): [True: 0, False: 0]
  ------------------
34306|      0|        )
34307|      0|        {
34308|      0|            D(fprintf(stderr, "%*c+ _tmp_89[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "starred_expression"));
34309|      0|            _res = starred_expression_var;
34310|      0|            goto done;
34311|      0|        }
34312|      0|        p->mark = _mark;
34313|      0|        D(fprintf(stderr, "%*c%s _tmp_89[%d-%d]: %s failed!\n", p->level, ' ',
34314|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "starred_expression"));
34315|      0|    }
34316|      0|    _res = NULL;
34317|      9|  done:
34318|      9|    p->level--;
34319|      9|    return _res;
34320|      0|}
parser.c:starred_expression_rule:
18928|      6|{
18929|      6|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     12|#  define MAXSTACK 6000
  ------------------
  |  Branch (18929:9): [True: 0, False: 6]
  |  Branch (18929:35): [True: 0, False: 6]
  ------------------
18930|      0|        _Pypegen_stack_overflow(p);
18931|      0|    }
18932|      6|    if (p->error_indicator) {
  ------------------
  |  Branch (18932:9): [True: 0, False: 6]
  ------------------
18933|      0|        p->level--;
18934|      0|        return NULL;
18935|      0|    }
18936|      6|    expr_ty _res = NULL;
18937|      6|    int _mark = p->mark;
18938|      6|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18938:9): [True: 3, False: 3]
  |  Branch (18938:31): [True: 0, False: 3]
  ------------------
18939|      0|        p->error_indicator = 1;
18940|      0|        p->level--;
18941|      0|        return NULL;
18942|      0|    }
18943|      6|    int _start_lineno = p->tokens[_mark]->lineno;
18944|      6|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      6|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 6]
  |  |  ------------------
  ------------------
18945|      6|    int _start_col_offset = p->tokens[_mark]->col_offset;
18946|      6|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      6|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 6]
  |  |  ------------------
  ------------------
18947|      6|    if (p->call_invalid_rules) { // invalid_starred_expression_unpacking
  ------------------
  |  Branch (18947:9): [True: 0, False: 6]
  ------------------
18948|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (18948:13): [True: 0, False: 0]
  ------------------
18949|      0|            p->level--;
18950|      0|            return NULL;
18951|      0|        }
18952|      0|        D(fprintf(stderr, "%*c> starred_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression_unpacking"));
18953|      0|        void *invalid_starred_expression_unpacking_var;
18954|      0|        if (
18955|      0|            (invalid_starred_expression_unpacking_var = invalid_starred_expression_unpacking_rule(p))  // invalid_starred_expression_unpacking
  ------------------
  |  Branch (18955:13): [True: 0, False: 0]
  ------------------
18956|      0|        )
18957|      0|        {
18958|      0|            D(fprintf(stderr, "%*c+ starred_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression_unpacking"));
18959|      0|            _res = invalid_starred_expression_unpacking_var;
18960|      0|            goto done;
18961|      0|        }
18962|      0|        p->mark = _mark;
18963|      0|        D(fprintf(stderr, "%*c%s starred_expression[%d-%d]: %s failed!\n", p->level, ' ',
18964|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_starred_expression_unpacking"));
18965|      0|    }
18966|      6|    { // '*' expression
18967|      6|        if (p->error_indicator) {
  ------------------
  |  Branch (18967:13): [True: 0, False: 6]
  ------------------
18968|      0|            p->level--;
18969|      0|            return NULL;
18970|      0|        }
18971|      6|        D(fprintf(stderr, "%*c> starred_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' expression"));
18972|      6|        Token * _literal;
18973|      6|        expr_ty a;
18974|      6|        if (
18975|      6|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (18975:13): [True: 0, False: 6]
  ------------------
18976|      0|            &&
18977|      0|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (18977:13): [True: 0, False: 0]
  ------------------
18978|      6|        )
18979|      0|        {
18980|      0|            D(fprintf(stderr, "%*c+ starred_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' expression"));
18981|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18982|      0|            if (_token == NULL) {
  ------------------
  |  Branch (18982:17): [True: 0, False: 0]
  ------------------
18983|      0|                p->level--;
18984|      0|                return NULL;
18985|      0|            }
18986|      0|            int _end_lineno = _token->end_lineno;
18987|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18988|      0|            int _end_col_offset = _token->end_col_offset;
18989|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18990|      0|            _res = _PyAST_Starred ( a , Load , EXTRA );
  ------------------
  |  |  274|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18991|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18991:18): [True: 0, False: 0]
  |  Branch (18991:34): [True: 0, False: 0]
  |  Branch (18991:57): [True: 0, False: 0]
  ------------------
18992|      0|                p->error_indicator = 1;
18993|      0|                p->level--;
18994|      0|                return NULL;
18995|      0|            }
18996|      0|            goto done;
18997|      0|        }
18998|      6|        p->mark = _mark;
18999|      6|        D(fprintf(stderr, "%*c%s starred_expression[%d-%d]: %s failed!\n", p->level, ' ',
19000|      6|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' expression"));
19001|      6|    }
19002|      6|    if (p->call_invalid_rules) { // invalid_starred_expression
  ------------------
  |  Branch (19002:9): [True: 0, False: 6]
  ------------------
19003|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (19003:13): [True: 0, False: 0]
  ------------------
19004|      0|            p->level--;
19005|      0|            return NULL;
19006|      0|        }
19007|      0|        D(fprintf(stderr, "%*c> starred_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression"));
19008|      0|        void *invalid_starred_expression_var;
19009|      0|        if (
19010|      0|            (invalid_starred_expression_var = invalid_starred_expression_rule(p))  // invalid_starred_expression
  ------------------
  |  Branch (19010:13): [True: 0, False: 0]
  ------------------
19011|      0|        )
19012|      0|        {
19013|      0|            D(fprintf(stderr, "%*c+ starred_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression"));
19014|      0|            _res = invalid_starred_expression_var;
19015|      0|            goto done;
19016|      0|        }
19017|      0|        p->mark = _mark;
19018|      0|        D(fprintf(stderr, "%*c%s starred_expression[%d-%d]: %s failed!\n", p->level, ' ',
19019|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_starred_expression"));
19020|      0|    }
19021|      6|    _res = NULL;
19022|      6|  done:
19023|      6|    p->level--;
19024|      6|    return _res;
19025|      6|}
parser.c:if_expression_rule:
11724|     24|{
11725|     24|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     48|#  define MAXSTACK 6000
  ------------------
  |  Branch (11725:9): [True: 0, False: 24]
  |  Branch (11725:35): [True: 0, False: 24]
  ------------------
11726|      0|        _Pypegen_stack_overflow(p);
11727|      0|    }
11728|     24|    if (p->error_indicator) {
  ------------------
  |  Branch (11728:9): [True: 0, False: 24]
  ------------------
11729|      0|        p->level--;
11730|      0|        return NULL;
11731|      0|    }
11732|     24|    expr_ty _res = NULL;
11733|     24|    int _mark = p->mark;
11734|     24|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (11734:9): [True: 0, False: 24]
  |  Branch (11734:31): [True: 0, False: 0]
  ------------------
11735|      0|        p->error_indicator = 1;
11736|      0|        p->level--;
11737|      0|        return NULL;
11738|      0|    }
11739|     24|    int _start_lineno = p->tokens[_mark]->lineno;
11740|     24|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|     24|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 24]
  |  |  ------------------
  ------------------
11741|     24|    int _start_col_offset = p->tokens[_mark]->col_offset;
11742|     24|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|     24|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 24]
  |  |  ------------------
  ------------------
11743|     24|    { // disjunction 'if' disjunction 'else' expression
11744|     24|        if (p->error_indicator) {
  ------------------
  |  Branch (11744:13): [True: 0, False: 24]
  ------------------
11745|      0|            p->level--;
11746|      0|            return NULL;
11747|      0|        }
11748|     24|        D(fprintf(stderr, "%*c> if_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' expression"));
11749|     24|        Token * _keyword;
11750|     24|        Token * _keyword_1;
11751|     24|        expr_ty a;
11752|     24|        expr_ty b;
11753|     24|        expr_ty c;
11754|     24|        if (
11755|     24|            (a = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (11755:13): [True: 21, False: 3]
  ------------------
11756|     21|            &&
11757|     21|            (_keyword = _PyPegen_expect_token(p, 700))  // token='if'
  ------------------
  |  Branch (11757:13): [True: 0, False: 21]
  ------------------
11758|      0|            &&
11759|      0|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (11759:13): [True: 0, False: 0]
  ------------------
11760|      0|            &&
11761|      0|            (_keyword_1 = _PyPegen_expect_token(p, 704))  // token='else'
  ------------------
  |  Branch (11761:13): [True: 0, False: 0]
  ------------------
11762|      0|            &&
11763|      0|            (c = expression_rule(p))  // expression
  ------------------
  |  Branch (11763:13): [True: 0, False: 0]
  ------------------
11764|     24|        )
11765|      0|        {
11766|      0|            D(fprintf(stderr, "%*c+ if_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' expression"));
11767|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11768|      0|            if (_token == NULL) {
  ------------------
  |  Branch (11768:17): [True: 0, False: 0]
  ------------------
11769|      0|                p->level--;
11770|      0|                return NULL;
11771|      0|            }
11772|      0|            int _end_lineno = _token->end_lineno;
11773|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11774|      0|            int _end_col_offset = _token->end_col_offset;
11775|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11776|      0|            _res = _PyAST_IfExp ( b , a , c , EXTRA );
  ------------------
  |  |  274|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11777|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11777:18): [True: 0, False: 0]
  |  Branch (11777:34): [True: 0, False: 0]
  |  Branch (11777:57): [True: 0, False: 0]
  ------------------
11778|      0|                p->error_indicator = 1;
11779|      0|                p->level--;
11780|      0|                return NULL;
11781|      0|            }
11782|      0|            goto done;
11783|      0|        }
11784|     24|        p->mark = _mark;
11785|     24|        D(fprintf(stderr, "%*c%s if_expression[%d-%d]: %s failed!\n", p->level, ' ',
11786|     24|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction 'if' disjunction 'else' expression"));
11787|     24|    }
11788|     24|    _res = NULL;
11789|     24|  done:
11790|     24|    p->level--;
11791|     24|    return _res;
11792|     24|}
parser.c:disjunction_rule:
12502|     48|{
12503|     48|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     96|#  define MAXSTACK 6000
  ------------------
  |  Branch (12503:9): [True: 0, False: 48]
  |  Branch (12503:35): [True: 0, False: 48]
  ------------------
12504|      0|        _Pypegen_stack_overflow(p);
12505|      0|    }
12506|     48|    if (p->error_indicator) {
  ------------------
  |  Branch (12506:9): [True: 0, False: 48]
  ------------------
12507|      0|        p->level--;
12508|      0|        return NULL;
12509|      0|    }
12510|     48|    expr_ty _res = NULL;
12511|     48|    if (_PyPegen_is_memoized(p, disjunction_type, &_res)) {
  ------------------
  |  |  209|     48|#define disjunction_type 1120
  ------------------
  |  Branch (12511:9): [True: 24, False: 24]
  ------------------
12512|     24|        p->level--;
12513|     24|        return _res;
12514|     24|    }
12515|     24|    int _mark = p->mark;
12516|     24|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12516:9): [True: 0, False: 24]
  |  Branch (12516:31): [True: 0, False: 0]
  ------------------
12517|      0|        p->error_indicator = 1;
12518|      0|        p->level--;
12519|      0|        return NULL;
12520|      0|    }
12521|     24|    int _start_lineno = p->tokens[_mark]->lineno;
12522|     24|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|     24|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 24]
  |  |  ------------------
  ------------------
12523|     24|    int _start_col_offset = p->tokens[_mark]->col_offset;
12524|     24|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|     24|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 24]
  |  |  ------------------
  ------------------
12525|     24|    { // conjunction (('or' conjunction))+
12526|     24|        if (p->error_indicator) {
  ------------------
  |  Branch (12526:13): [True: 0, False: 24]
  ------------------
12527|      0|            p->level--;
12528|      0|            return NULL;
12529|      0|        }
12530|     24|        D(fprintf(stderr, "%*c> disjunction[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "conjunction (('or' conjunction))+"));
12531|     24|        expr_ty a;
12532|     24|        asdl_seq * b;
12533|     24|        if (
12534|     24|            (a = conjunction_rule(p))  // conjunction
  ------------------
  |  Branch (12534:13): [True: 21, False: 3]
  ------------------
12535|     21|            &&
12536|     21|            (b = _loop1_61_rule(p))  // (('or' conjunction))+
  ------------------
  |  Branch (12536:13): [True: 0, False: 21]
  ------------------
12537|     24|        )
12538|      0|        {
12539|      0|            D(fprintf(stderr, "%*c+ disjunction[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "conjunction (('or' conjunction))+"));
12540|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12541|      0|            if (_token == NULL) {
  ------------------
  |  Branch (12541:17): [True: 0, False: 0]
  ------------------
12542|      0|                p->level--;
12543|      0|                return NULL;
12544|      0|            }
12545|      0|            int _end_lineno = _token->end_lineno;
12546|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12547|      0|            int _end_col_offset = _token->end_col_offset;
12548|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12549|      0|            _res = _PyAST_BoolOp ( Or , CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , EXTRA );
  ------------------
  |  |  238|      0|#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 );
  ------------------
  |  |  274|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12550|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12550:18): [True: 0, False: 0]
  |  Branch (12550:34): [True: 0, False: 0]
  |  Branch (12550:57): [True: 0, False: 0]
  ------------------
12551|      0|                p->error_indicator = 1;
12552|      0|                p->level--;
12553|      0|                return NULL;
12554|      0|            }
12555|      0|            goto done;
12556|      0|        }
12557|     24|        p->mark = _mark;
12558|     24|        D(fprintf(stderr, "%*c%s disjunction[%d-%d]: %s failed!\n", p->level, ' ',
12559|     24|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "conjunction (('or' conjunction))+"));
12560|     24|    }
12561|      0|    { // conjunction
12562|     24|        if (p->error_indicator) {
  ------------------
  |  Branch (12562:13): [True: 0, False: 24]
  ------------------
12563|      0|            p->level--;
12564|      0|            return NULL;
12565|      0|        }
12566|     24|        D(fprintf(stderr, "%*c> disjunction[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "conjunction"));
12567|     24|        expr_ty conjunction_var;
12568|     24|        if (
12569|     24|            (conjunction_var = conjunction_rule(p))  // conjunction
  ------------------
  |  Branch (12569:13): [True: 21, False: 3]
  ------------------
12570|     24|        )
12571|     21|        {
12572|     21|            D(fprintf(stderr, "%*c+ disjunction[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "conjunction"));
12573|     21|            _res = conjunction_var;
12574|     21|            goto done;
12575|     21|        }
12576|      3|        p->mark = _mark;
12577|      3|        D(fprintf(stderr, "%*c%s disjunction[%d-%d]: %s failed!\n", p->level, ' ',
12578|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "conjunction"));
12579|      3|    }
12580|      3|    _res = NULL;
12581|     24|  done:
12582|     24|    _PyPegen_insert_memo(p, _mark, disjunction_type, _res);
  ------------------
  |  |  209|     24|#define disjunction_type 1120
  ------------------
12583|     24|    p->level--;
12584|     24|    return _res;
12585|      3|}
parser.c:conjunction_rule:
12590|     48|{
12591|     48|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     96|#  define MAXSTACK 6000
  ------------------
  |  Branch (12591:9): [True: 0, False: 48]
  |  Branch (12591:35): [True: 0, False: 48]
  ------------------
12592|      0|        _Pypegen_stack_overflow(p);
12593|      0|    }
12594|     48|    if (p->error_indicator) {
  ------------------
  |  Branch (12594:9): [True: 0, False: 48]
  ------------------
12595|      0|        p->level--;
12596|      0|        return NULL;
12597|      0|    }
12598|     48|    expr_ty _res = NULL;
12599|     48|    if (_PyPegen_is_memoized(p, conjunction_type, &_res)) {
  ------------------
  |  |  210|     48|#define conjunction_type 1121
  ------------------
  |  Branch (12599:9): [True: 24, False: 24]
  ------------------
12600|     24|        p->level--;
12601|     24|        return _res;
12602|     24|    }
12603|     24|    int _mark = p->mark;
12604|     24|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12604:9): [True: 0, False: 24]
  |  Branch (12604:31): [True: 0, False: 0]
  ------------------
12605|      0|        p->error_indicator = 1;
12606|      0|        p->level--;
12607|      0|        return NULL;
12608|      0|    }
12609|     24|    int _start_lineno = p->tokens[_mark]->lineno;
12610|     24|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|     24|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 24]
  |  |  ------------------
  ------------------
12611|     24|    int _start_col_offset = p->tokens[_mark]->col_offset;
12612|     24|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|     24|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 24]
  |  |  ------------------
  ------------------
12613|     24|    { // inversion (('and' inversion))+
12614|     24|        if (p->error_indicator) {
  ------------------
  |  Branch (12614:13): [True: 0, False: 24]
  ------------------
12615|      0|            p->level--;
12616|      0|            return NULL;
12617|      0|        }
12618|     24|        D(fprintf(stderr, "%*c> conjunction[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "inversion (('and' inversion))+"));
12619|     24|        expr_ty a;
12620|     24|        asdl_seq * b;
12621|     24|        if (
12622|     24|            (a = inversion_rule(p))  // inversion
  ------------------
  |  Branch (12622:13): [True: 21, False: 3]
  ------------------
12623|     21|            &&
12624|     21|            (b = _loop1_62_rule(p))  // (('and' inversion))+
  ------------------
  |  Branch (12624:13): [True: 0, False: 21]
  ------------------
12625|     24|        )
12626|      0|        {
12627|      0|            D(fprintf(stderr, "%*c+ conjunction[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "inversion (('and' inversion))+"));
12628|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12629|      0|            if (_token == NULL) {
  ------------------
  |  Branch (12629:17): [True: 0, False: 0]
  ------------------
12630|      0|                p->level--;
12631|      0|                return NULL;
12632|      0|            }
12633|      0|            int _end_lineno = _token->end_lineno;
12634|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12635|      0|            int _end_col_offset = _token->end_col_offset;
12636|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12637|      0|            _res = _PyAST_BoolOp ( And , CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , EXTRA );
  ------------------
  |  |  238|      0|#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 );
  ------------------
  |  |  274|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12638|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12638:18): [True: 0, False: 0]
  |  Branch (12638:34): [True: 0, False: 0]
  |  Branch (12638:57): [True: 0, False: 0]
  ------------------
12639|      0|                p->error_indicator = 1;
12640|      0|                p->level--;
12641|      0|                return NULL;
12642|      0|            }
12643|      0|            goto done;
12644|      0|        }
12645|     24|        p->mark = _mark;
12646|     24|        D(fprintf(stderr, "%*c%s conjunction[%d-%d]: %s failed!\n", p->level, ' ',
12647|     24|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "inversion (('and' inversion))+"));
12648|     24|    }
12649|      0|    { // inversion
12650|     24|        if (p->error_indicator) {
  ------------------
  |  Branch (12650:13): [True: 0, False: 24]
  ------------------
12651|      0|            p->level--;
12652|      0|            return NULL;
12653|      0|        }
12654|     24|        D(fprintf(stderr, "%*c> conjunction[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "inversion"));
12655|     24|        expr_ty inversion_var;
12656|     24|        if (
12657|     24|            (inversion_var = inversion_rule(p))  // inversion
  ------------------
  |  Branch (12657:13): [True: 21, False: 3]
  ------------------
12658|     24|        )
12659|     21|        {
12660|     21|            D(fprintf(stderr, "%*c+ conjunction[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "inversion"));
12661|     21|            _res = inversion_var;
12662|     21|            goto done;
12663|     21|        }
12664|      3|        p->mark = _mark;
12665|      3|        D(fprintf(stderr, "%*c%s conjunction[%d-%d]: %s failed!\n", p->level, ' ',
12666|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "inversion"));
12667|      3|    }
12668|      3|    _res = NULL;
12669|     24|  done:
12670|     24|    _PyPegen_insert_memo(p, _mark, conjunction_type, _res);
  ------------------
  |  |  210|     24|#define conjunction_type 1121
  ------------------
12671|     24|    p->level--;
12672|     24|    return _res;
12673|      3|}
parser.c:inversion_rule:
12678|     48|{
12679|     48|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     96|#  define MAXSTACK 6000
  ------------------
  |  Branch (12679:9): [True: 0, False: 48]
  |  Branch (12679:35): [True: 0, False: 48]
  ------------------
12680|      0|        _Pypegen_stack_overflow(p);
12681|      0|    }
12682|     48|    if (p->error_indicator) {
  ------------------
  |  Branch (12682:9): [True: 0, False: 48]
  ------------------
12683|      0|        p->level--;
12684|      0|        return NULL;
12685|      0|    }
12686|     48|    expr_ty _res = NULL;
12687|     48|    if (_PyPegen_is_memoized(p, inversion_type, &_res)) {
  ------------------
  |  |  211|     48|#define inversion_type 1122
  ------------------
  |  Branch (12687:9): [True: 24, False: 24]
  ------------------
12688|     24|        p->level--;
12689|     24|        return _res;
12690|     24|    }
12691|     24|    int _mark = p->mark;
12692|     24|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12692:9): [True: 0, False: 24]
  |  Branch (12692:31): [True: 0, False: 0]
  ------------------
12693|      0|        p->error_indicator = 1;
12694|      0|        p->level--;
12695|      0|        return NULL;
12696|      0|    }
12697|     24|    int _start_lineno = p->tokens[_mark]->lineno;
12698|     24|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|     24|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 24]
  |  |  ------------------
  ------------------
12699|     24|    int _start_col_offset = p->tokens[_mark]->col_offset;
12700|     24|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|     24|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 24]
  |  |  ------------------
  ------------------
12701|     24|    { // 'not' inversion
12702|     24|        if (p->error_indicator) {
  ------------------
  |  Branch (12702:13): [True: 0, False: 24]
  ------------------
12703|      0|            p->level--;
12704|      0|            return NULL;
12705|      0|        }
12706|     24|        D(fprintf(stderr, "%*c> inversion[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'not' inversion"));
12707|     24|        Token * _keyword;
12708|     24|        expr_ty a;
12709|     24|        if (
12710|     24|            (_keyword = _PyPegen_expect_token(p, 721))  // token='not'
  ------------------
  |  Branch (12710:13): [True: 0, False: 24]
  ------------------
12711|      0|            &&
12712|      0|            (a = inversion_rule(p))  // inversion
  ------------------
  |  Branch (12712:13): [True: 0, False: 0]
  ------------------
12713|     24|        )
12714|      0|        {
12715|      0|            D(fprintf(stderr, "%*c+ inversion[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'not' inversion"));
12716|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12717|      0|            if (_token == NULL) {
  ------------------
  |  Branch (12717:17): [True: 0, False: 0]
  ------------------
12718|      0|                p->level--;
12719|      0|                return NULL;
12720|      0|            }
12721|      0|            int _end_lineno = _token->end_lineno;
12722|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12723|      0|            int _end_col_offset = _token->end_col_offset;
12724|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12725|      0|            _res = _PyAST_UnaryOp ( Not , a , EXTRA );
  ------------------
  |  |  274|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12726|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12726:18): [True: 0, False: 0]
  |  Branch (12726:34): [True: 0, False: 0]
  |  Branch (12726:57): [True: 0, False: 0]
  ------------------
12727|      0|                p->error_indicator = 1;
12728|      0|                p->level--;
12729|      0|                return NULL;
12730|      0|            }
12731|      0|            goto done;
12732|      0|        }
12733|     24|        p->mark = _mark;
12734|     24|        D(fprintf(stderr, "%*c%s inversion[%d-%d]: %s failed!\n", p->level, ' ',
12735|     24|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'not' inversion"));
12736|     24|    }
12737|      0|    { // comparison
12738|     24|        if (p->error_indicator) {
  ------------------
  |  Branch (12738:13): [True: 0, False: 24]
  ------------------
12739|      0|            p->level--;
12740|      0|            return NULL;
12741|      0|        }
12742|     24|        D(fprintf(stderr, "%*c> inversion[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "comparison"));
12743|     24|        expr_ty comparison_var;
12744|     24|        if (
12745|     24|            (comparison_var = comparison_rule(p))  // comparison
  ------------------
  |  Branch (12745:13): [True: 21, False: 3]
  ------------------
12746|     24|        )
12747|     21|        {
12748|     21|            D(fprintf(stderr, "%*c+ inversion[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "comparison"));
12749|     21|            _res = comparison_var;
12750|     21|            goto done;
12751|     21|        }
12752|      3|        p->mark = _mark;
12753|      3|        D(fprintf(stderr, "%*c%s inversion[%d-%d]: %s failed!\n", p->level, ' ',
12754|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "comparison"));
12755|      3|    }
12756|      3|    _res = NULL;
12757|     24|  done:
12758|     24|    _PyPegen_insert_memo(p, _mark, inversion_type, _res);
  ------------------
  |  |  211|     24|#define inversion_type 1122
  ------------------
12759|     24|    p->level--;
12760|     24|    return _res;
12761|      3|}
parser.c:comparison_rule:
12766|     24|{
12767|     24|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     48|#  define MAXSTACK 6000
  ------------------
  |  Branch (12767:9): [True: 0, False: 24]
  |  Branch (12767:35): [True: 0, False: 24]
  ------------------
12768|      0|        _Pypegen_stack_overflow(p);
12769|      0|    }
12770|     24|    if (p->error_indicator) {
  ------------------
  |  Branch (12770:9): [True: 0, False: 24]
  ------------------
12771|      0|        p->level--;
12772|      0|        return NULL;
12773|      0|    }
12774|     24|    expr_ty _res = NULL;
12775|     24|    int _mark = p->mark;
12776|     24|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12776:9): [True: 0, False: 24]
  |  Branch (12776:31): [True: 0, False: 0]
  ------------------
12777|      0|        p->error_indicator = 1;
12778|      0|        p->level--;
12779|      0|        return NULL;
12780|      0|    }
12781|     24|    int _start_lineno = p->tokens[_mark]->lineno;
12782|     24|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|     24|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 24]
  |  |  ------------------
  ------------------
12783|     24|    int _start_col_offset = p->tokens[_mark]->col_offset;
12784|     24|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|     24|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 24]
  |  |  ------------------
  ------------------
12785|     24|    { // bitwise_or compare_op_bitwise_or_pair+
12786|     24|        if (p->error_indicator) {
  ------------------
  |  Branch (12786:13): [True: 0, False: 24]
  ------------------
12787|      0|            p->level--;
12788|      0|            return NULL;
12789|      0|        }
12790|     24|        D(fprintf(stderr, "%*c> comparison[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_or compare_op_bitwise_or_pair+"));
12791|     24|        expr_ty a;
12792|     24|        asdl_seq * b;
12793|     24|        if (
12794|     24|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (12794:13): [True: 21, False: 3]
  ------------------
12795|     21|            &&
12796|     21|            (b = _loop1_63_rule(p))  // compare_op_bitwise_or_pair+
  ------------------
  |  Branch (12796:13): [True: 0, False: 21]
  ------------------
12797|     24|        )
12798|      0|        {
12799|      0|            D(fprintf(stderr, "%*c+ comparison[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_or compare_op_bitwise_or_pair+"));
12800|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12801|      0|            if (_token == NULL) {
  ------------------
  |  Branch (12801:17): [True: 0, False: 0]
  ------------------
12802|      0|                p->level--;
12803|      0|                return NULL;
12804|      0|            }
12805|      0|            int _end_lineno = _token->end_lineno;
12806|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12807|      0|            int _end_col_offset = _token->end_col_offset;
12808|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12809|      0|            _res = _PyAST_Compare ( a , CHECK ( asdl_int_seq* , _PyPegen_get_cmpops ( p , b ) ) , CHECK ( asdl_expr_seq* , _PyPegen_get_exprs ( p , b ) ) , EXTRA );
  ------------------
  |  |  238|      0|#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 );
  ------------------
  |  |  238|      0|#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 );
  ------------------
  |  |  274|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12810|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12810:18): [True: 0, False: 0]
  |  Branch (12810:34): [True: 0, False: 0]
  |  Branch (12810:57): [True: 0, False: 0]
  ------------------
12811|      0|                p->error_indicator = 1;
12812|      0|                p->level--;
12813|      0|                return NULL;
12814|      0|            }
12815|      0|            goto done;
12816|      0|        }
12817|     24|        p->mark = _mark;
12818|     24|        D(fprintf(stderr, "%*c%s comparison[%d-%d]: %s failed!\n", p->level, ' ',
12819|     24|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_or compare_op_bitwise_or_pair+"));
12820|     24|    }
12821|      0|    { // bitwise_or
12822|     24|        if (p->error_indicator) {
  ------------------
  |  Branch (12822:13): [True: 0, False: 24]
  ------------------
12823|      0|            p->level--;
12824|      0|            return NULL;
12825|      0|        }
12826|     24|        D(fprintf(stderr, "%*c> comparison[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_or"));
12827|     24|        expr_ty bitwise_or_var;
12828|     24|        if (
12829|     24|            (bitwise_or_var = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (12829:13): [True: 21, False: 3]
  ------------------
12830|     24|        )
12831|     21|        {
12832|     21|            D(fprintf(stderr, "%*c+ comparison[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_or"));
12833|     21|            _res = bitwise_or_var;
12834|     21|            goto done;
12835|     21|        }
12836|      3|        p->mark = _mark;
12837|      3|        D(fprintf(stderr, "%*c%s comparison[%d-%d]: %s failed!\n", p->level, ' ',
12838|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_or"));
12839|      3|    }
12840|      3|    _res = NULL;
12841|     24|  done:
12842|     24|    p->level--;
12843|     24|    return _res;
12844|      3|}
parser.c:_loop1_63_rule:
32550|     21|{
32551|     21|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     42|#  define MAXSTACK 6000
  ------------------
  |  Branch (32551:9): [True: 0, False: 21]
  |  Branch (32551:35): [True: 0, False: 21]
  ------------------
32552|      0|        _Pypegen_stack_overflow(p);
32553|      0|    }
32554|     21|    if (p->error_indicator) {
  ------------------
  |  Branch (32554:9): [True: 0, False: 21]
  ------------------
32555|      0|        p->level--;
32556|      0|        return NULL;
32557|      0|    }
32558|     21|    void *_res = NULL;
32559|     21|    int _mark = p->mark;
32560|     21|    void **_children = PyMem_Malloc(sizeof(void *));
32561|     21|    if (!_children) {
  ------------------
  |  Branch (32561:9): [True: 0, False: 21]
  ------------------
32562|      0|        p->error_indicator = 1;
32563|      0|        PyErr_NoMemory();
32564|      0|        p->level--;
32565|      0|        return NULL;
32566|      0|    }
32567|     21|    Py_ssize_t _children_capacity = 1;
32568|     21|    Py_ssize_t _n = 0;
32569|     21|    { // compare_op_bitwise_or_pair
32570|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (32570:13): [True: 0, False: 21]
  ------------------
32571|      0|            p->level--;
32572|      0|            return NULL;
32573|      0|        }
32574|     21|        D(fprintf(stderr, "%*c> _loop1_63[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "compare_op_bitwise_or_pair"));
32575|     21|        CmpopExprPair* compare_op_bitwise_or_pair_var;
32576|     21|        while (
32577|     21|            (compare_op_bitwise_or_pair_var = compare_op_bitwise_or_pair_rule(p))  // compare_op_bitwise_or_pair
  ------------------
  |  Branch (32577:13): [True: 0, False: 21]
  ------------------
32578|     21|        )
32579|      0|        {
32580|      0|            _res = compare_op_bitwise_or_pair_var;
32581|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (32581:17): [True: 0, False: 0]
  ------------------
32582|      0|                _children_capacity *= 2;
32583|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
32584|      0|                if (!_new_children) {
  ------------------
  |  Branch (32584:21): [True: 0, False: 0]
  ------------------
32585|      0|                    PyMem_Free(_children);
32586|      0|                    p->error_indicator = 1;
32587|      0|                    PyErr_NoMemory();
32588|      0|                    p->level--;
32589|      0|                    return NULL;
32590|      0|                }
32591|      0|                _children = _new_children;
32592|      0|            }
32593|      0|            _children[_n++] = _res;
32594|      0|            _mark = p->mark;
32595|      0|        }
32596|     21|        p->mark = _mark;
32597|     21|        D(fprintf(stderr, "%*c%s _loop1_63[%d-%d]: %s failed!\n", p->level, ' ',
32598|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "compare_op_bitwise_or_pair"));
32599|     21|    }
32600|     21|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (32600:9): [True: 21, False: 0]
  |  Branch (32600:20): [True: 0, False: 0]
  ------------------
32601|     21|        PyMem_Free(_children);
32602|     21|        p->level--;
32603|     21|        return NULL;
32604|     21|    }
32605|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
32606|      0|    if (!_seq) {
  ------------------
  |  Branch (32606:9): [True: 0, False: 0]
  ------------------
32607|      0|        PyMem_Free(_children);
32608|      0|        p->error_indicator = 1;
32609|      0|        PyErr_NoMemory();
32610|      0|        p->level--;
32611|      0|        return NULL;
32612|      0|    }
32613|      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 (32613:28): [True: 0, False: 0]
  ------------------
32614|      0|    PyMem_Free(_children);
32615|      0|    p->level--;
32616|      0|    return _seq;
32617|      0|}
parser.c:compare_op_bitwise_or_pair_rule:
12859|     21|{
12860|     21|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     42|#  define MAXSTACK 6000
  ------------------
  |  Branch (12860:9): [True: 0, False: 21]
  |  Branch (12860:35): [True: 0, False: 21]
  ------------------
12861|      0|        _Pypegen_stack_overflow(p);
12862|      0|    }
12863|     21|    if (p->error_indicator) {
  ------------------
  |  Branch (12863:9): [True: 0, False: 21]
  ------------------
12864|      0|        p->level--;
12865|      0|        return NULL;
12866|      0|    }
12867|     21|    CmpopExprPair* _res = NULL;
12868|     21|    int _mark = p->mark;
12869|     21|    { // eq_bitwise_or
12870|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (12870:13): [True: 0, False: 21]
  ------------------
12871|      0|            p->level--;
12872|      0|            return NULL;
12873|      0|        }
12874|     21|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "eq_bitwise_or"));
12875|     21|        CmpopExprPair* eq_bitwise_or_var;
12876|     21|        if (
12877|     21|            (eq_bitwise_or_var = eq_bitwise_or_rule(p))  // eq_bitwise_or
  ------------------
  |  Branch (12877:13): [True: 0, False: 21]
  ------------------
12878|     21|        )
12879|      0|        {
12880|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "eq_bitwise_or"));
12881|      0|            _res = eq_bitwise_or_var;
12882|      0|            goto done;
12883|      0|        }
12884|     21|        p->mark = _mark;
12885|     21|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12886|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "eq_bitwise_or"));
12887|     21|    }
12888|      0|    { // noteq_bitwise_or
12889|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (12889:13): [True: 0, False: 21]
  ------------------
12890|      0|            p->level--;
12891|      0|            return NULL;
12892|      0|        }
12893|     21|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "noteq_bitwise_or"));
12894|     21|        CmpopExprPair* noteq_bitwise_or_var;
12895|     21|        if (
12896|     21|            (noteq_bitwise_or_var = noteq_bitwise_or_rule(p))  // noteq_bitwise_or
  ------------------
  |  Branch (12896:13): [True: 0, False: 21]
  ------------------
12897|     21|        )
12898|      0|        {
12899|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "noteq_bitwise_or"));
12900|      0|            _res = noteq_bitwise_or_var;
12901|      0|            goto done;
12902|      0|        }
12903|     21|        p->mark = _mark;
12904|     21|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12905|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "noteq_bitwise_or"));
12906|     21|    }
12907|      0|    { // lte_bitwise_or
12908|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (12908:13): [True: 0, False: 21]
  ------------------
12909|      0|            p->level--;
12910|      0|            return NULL;
12911|      0|        }
12912|     21|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lte_bitwise_or"));
12913|     21|        CmpopExprPair* lte_bitwise_or_var;
12914|     21|        if (
12915|     21|            (lte_bitwise_or_var = lte_bitwise_or_rule(p))  // lte_bitwise_or
  ------------------
  |  Branch (12915:13): [True: 0, False: 21]
  ------------------
12916|     21|        )
12917|      0|        {
12918|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lte_bitwise_or"));
12919|      0|            _res = lte_bitwise_or_var;
12920|      0|            goto done;
12921|      0|        }
12922|     21|        p->mark = _mark;
12923|     21|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12924|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lte_bitwise_or"));
12925|     21|    }
12926|      0|    { // lt_bitwise_or
12927|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (12927:13): [True: 0, False: 21]
  ------------------
12928|      0|            p->level--;
12929|      0|            return NULL;
12930|      0|        }
12931|     21|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lt_bitwise_or"));
12932|     21|        CmpopExprPair* lt_bitwise_or_var;
12933|     21|        if (
12934|     21|            (lt_bitwise_or_var = lt_bitwise_or_rule(p))  // lt_bitwise_or
  ------------------
  |  Branch (12934:13): [True: 0, False: 21]
  ------------------
12935|     21|        )
12936|      0|        {
12937|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lt_bitwise_or"));
12938|      0|            _res = lt_bitwise_or_var;
12939|      0|            goto done;
12940|      0|        }
12941|     21|        p->mark = _mark;
12942|     21|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12943|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lt_bitwise_or"));
12944|     21|    }
12945|      0|    { // gte_bitwise_or
12946|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (12946:13): [True: 0, False: 21]
  ------------------
12947|      0|            p->level--;
12948|      0|            return NULL;
12949|      0|        }
12950|     21|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "gte_bitwise_or"));
12951|     21|        CmpopExprPair* gte_bitwise_or_var;
12952|     21|        if (
12953|     21|            (gte_bitwise_or_var = gte_bitwise_or_rule(p))  // gte_bitwise_or
  ------------------
  |  Branch (12953:13): [True: 0, False: 21]
  ------------------
12954|     21|        )
12955|      0|        {
12956|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "gte_bitwise_or"));
12957|      0|            _res = gte_bitwise_or_var;
12958|      0|            goto done;
12959|      0|        }
12960|     21|        p->mark = _mark;
12961|     21|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12962|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "gte_bitwise_or"));
12963|     21|    }
12964|      0|    { // gt_bitwise_or
12965|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (12965:13): [True: 0, False: 21]
  ------------------
12966|      0|            p->level--;
12967|      0|            return NULL;
12968|      0|        }
12969|     21|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "gt_bitwise_or"));
12970|     21|        CmpopExprPair* gt_bitwise_or_var;
12971|     21|        if (
12972|     21|            (gt_bitwise_or_var = gt_bitwise_or_rule(p))  // gt_bitwise_or
  ------------------
  |  Branch (12972:13): [True: 0, False: 21]
  ------------------
12973|     21|        )
12974|      0|        {
12975|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "gt_bitwise_or"));
12976|      0|            _res = gt_bitwise_or_var;
12977|      0|            goto done;
12978|      0|        }
12979|     21|        p->mark = _mark;
12980|     21|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12981|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "gt_bitwise_or"));
12982|     21|    }
12983|      0|    { // notin_bitwise_or
12984|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (12984:13): [True: 0, False: 21]
  ------------------
12985|      0|            p->level--;
12986|      0|            return NULL;
12987|      0|        }
12988|     21|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "notin_bitwise_or"));
12989|     21|        CmpopExprPair* notin_bitwise_or_var;
12990|     21|        if (
12991|     21|            (notin_bitwise_or_var = notin_bitwise_or_rule(p))  // notin_bitwise_or
  ------------------
  |  Branch (12991:13): [True: 0, False: 21]
  ------------------
12992|     21|        )
12993|      0|        {
12994|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "notin_bitwise_or"));
12995|      0|            _res = notin_bitwise_or_var;
12996|      0|            goto done;
12997|      0|        }
12998|     21|        p->mark = _mark;
12999|     21|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
13000|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "notin_bitwise_or"));
13001|     21|    }
13002|      0|    { // in_bitwise_or
13003|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (13003:13): [True: 0, False: 21]
  ------------------
13004|      0|            p->level--;
13005|      0|            return NULL;
13006|      0|        }
13007|     21|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "in_bitwise_or"));
13008|     21|        CmpopExprPair* in_bitwise_or_var;
13009|     21|        if (
13010|     21|            (in_bitwise_or_var = in_bitwise_or_rule(p))  // in_bitwise_or
  ------------------
  |  Branch (13010:13): [True: 0, False: 21]
  ------------------
13011|     21|        )
13012|      0|        {
13013|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "in_bitwise_or"));
13014|      0|            _res = in_bitwise_or_var;
13015|      0|            goto done;
13016|      0|        }
13017|     21|        p->mark = _mark;
13018|     21|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
13019|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "in_bitwise_or"));
13020|     21|    }
13021|      0|    { // isnot_bitwise_or
13022|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (13022:13): [True: 0, False: 21]
  ------------------
13023|      0|            p->level--;
13024|      0|            return NULL;
13025|      0|        }
13026|     21|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "isnot_bitwise_or"));
13027|     21|        CmpopExprPair* isnot_bitwise_or_var;
13028|     21|        if (
13029|     21|            (isnot_bitwise_or_var = isnot_bitwise_or_rule(p))  // isnot_bitwise_or
  ------------------
  |  Branch (13029:13): [True: 0, False: 21]
  ------------------
13030|     21|        )
13031|      0|        {
13032|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "isnot_bitwise_or"));
13033|      0|            _res = isnot_bitwise_or_var;
13034|      0|            goto done;
13035|      0|        }
13036|     21|        p->mark = _mark;
13037|     21|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
13038|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "isnot_bitwise_or"));
13039|     21|    }
13040|      0|    { // is_bitwise_or
13041|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (13041:13): [True: 0, False: 21]
  ------------------
13042|      0|            p->level--;
13043|      0|            return NULL;
13044|      0|        }
13045|     21|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "is_bitwise_or"));
13046|     21|        CmpopExprPair* is_bitwise_or_var;
13047|     21|        if (
13048|     21|            (is_bitwise_or_var = is_bitwise_or_rule(p))  // is_bitwise_or
  ------------------
  |  Branch (13048:13): [True: 0, False: 21]
  ------------------
13049|     21|        )
13050|      0|        {
13051|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "is_bitwise_or"));
13052|      0|            _res = is_bitwise_or_var;
13053|      0|            goto done;
13054|      0|        }
13055|     21|        p->mark = _mark;
13056|     21|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
13057|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "is_bitwise_or"));
13058|     21|    }
13059|     21|    _res = NULL;
13060|     21|  done:
13061|     21|    p->level--;
13062|     21|    return _res;
13063|     21|}
parser.c:eq_bitwise_or_rule:
13068|     21|{
13069|     21|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     42|#  define MAXSTACK 6000
  ------------------
  |  Branch (13069:9): [True: 0, False: 21]
  |  Branch (13069:35): [True: 0, False: 21]
  ------------------
13070|      0|        _Pypegen_stack_overflow(p);
13071|      0|    }
13072|     21|    if (p->error_indicator) {
  ------------------
  |  Branch (13072:9): [True: 0, False: 21]
  ------------------
13073|      0|        p->level--;
13074|      0|        return NULL;
13075|      0|    }
13076|     21|    CmpopExprPair* _res = NULL;
13077|     21|    int _mark = p->mark;
13078|     21|    { // '==' bitwise_or
13079|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (13079:13): [True: 0, False: 21]
  ------------------
13080|      0|            p->level--;
13081|      0|            return NULL;
13082|      0|        }
13083|     21|        D(fprintf(stderr, "%*c> eq_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'==' bitwise_or"));
13084|     21|        Token * _literal;
13085|     21|        expr_ty a;
13086|     21|        if (
13087|     21|            (_literal = _PyPegen_expect_token(p, 27))  // token='=='
  ------------------
  |  Branch (13087:13): [True: 0, False: 21]
  ------------------
13088|      0|            &&
13089|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13089:13): [True: 0, False: 0]
  ------------------
13090|     21|        )
13091|      0|        {
13092|      0|            D(fprintf(stderr, "%*c+ eq_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'==' bitwise_or"));
13093|      0|            _res = _PyPegen_cmpop_expr_pair ( p , Eq , a );
13094|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13094:18): [True: 0, False: 0]
  |  Branch (13094:34): [True: 0, False: 0]
  |  Branch (13094:57): [True: 0, False: 0]
  ------------------
13095|      0|                p->error_indicator = 1;
13096|      0|                p->level--;
13097|      0|                return NULL;
13098|      0|            }
13099|      0|            goto done;
13100|      0|        }
13101|     21|        p->mark = _mark;
13102|     21|        D(fprintf(stderr, "%*c%s eq_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13103|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'==' bitwise_or"));
13104|     21|    }
13105|     21|    _res = NULL;
13106|     21|  done:
13107|     21|    p->level--;
13108|     21|    return _res;
13109|     21|}
parser.c:noteq_bitwise_or_rule:
13114|     21|{
13115|     21|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     42|#  define MAXSTACK 6000
  ------------------
  |  Branch (13115:9): [True: 0, False: 21]
  |  Branch (13115:35): [True: 0, False: 21]
  ------------------
13116|      0|        _Pypegen_stack_overflow(p);
13117|      0|    }
13118|     21|    if (p->error_indicator) {
  ------------------
  |  Branch (13118:9): [True: 0, False: 21]
  ------------------
13119|      0|        p->level--;
13120|      0|        return NULL;
13121|      0|    }
13122|     21|    CmpopExprPair* _res = NULL;
13123|     21|    int _mark = p->mark;
13124|     21|    { // ('!=') bitwise_or
13125|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (13125:13): [True: 0, False: 21]
  ------------------
13126|      0|            p->level--;
13127|      0|            return NULL;
13128|      0|        }
13129|     21|        D(fprintf(stderr, "%*c> noteq_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('!=') bitwise_or"));
13130|     21|        void *_tmp_64_var;
13131|     21|        expr_ty a;
13132|     21|        if (
13133|     21|            (_tmp_64_var = _tmp_64_rule(p))  // '!='
  ------------------
  |  Branch (13133:13): [True: 0, False: 21]
  ------------------
13134|      0|            &&
13135|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13135:13): [True: 0, False: 0]
  ------------------
13136|     21|        )
13137|      0|        {
13138|      0|            D(fprintf(stderr, "%*c+ noteq_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "('!=') bitwise_or"));
13139|      0|            _res = _PyPegen_cmpop_expr_pair ( p , NotEq , a );
13140|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13140:18): [True: 0, False: 0]
  |  Branch (13140:34): [True: 0, False: 0]
  |  Branch (13140:57): [True: 0, False: 0]
  ------------------
13141|      0|                p->error_indicator = 1;
13142|      0|                p->level--;
13143|      0|                return NULL;
13144|      0|            }
13145|      0|            goto done;
13146|      0|        }
13147|     21|        p->mark = _mark;
13148|     21|        D(fprintf(stderr, "%*c%s noteq_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13149|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('!=') bitwise_or"));
13150|     21|    }
13151|     21|    _res = NULL;
13152|     21|  done:
13153|     21|    p->level--;
13154|     21|    return _res;
13155|     21|}
parser.c:_tmp_64_rule:
32622|     21|{
32623|     21|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     42|#  define MAXSTACK 6000
  ------------------
  |  Branch (32623:9): [True: 0, False: 21]
  |  Branch (32623:35): [True: 0, False: 21]
  ------------------
32624|      0|        _Pypegen_stack_overflow(p);
32625|      0|    }
32626|     21|    if (p->error_indicator) {
  ------------------
  |  Branch (32626:9): [True: 0, False: 21]
  ------------------
32627|      0|        p->level--;
32628|      0|        return NULL;
32629|      0|    }
32630|     21|    void * _res = NULL;
32631|     21|    int _mark = p->mark;
32632|     21|    { // '!='
32633|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (32633:13): [True: 0, False: 21]
  ------------------
32634|      0|            p->level--;
32635|      0|            return NULL;
32636|      0|        }
32637|     21|        D(fprintf(stderr, "%*c> _tmp_64[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'!='"));
32638|     21|        Token * tok;
32639|     21|        if (
32640|     21|            (tok = _PyPegen_expect_token(p, 28))  // token='!='
  ------------------
  |  Branch (32640:13): [True: 0, False: 21]
  ------------------
32641|     21|        )
32642|      0|        {
32643|      0|            D(fprintf(stderr, "%*c+ _tmp_64[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'!='"));
32644|      0|            _res = _PyPegen_check_barry_as_flufl ( p , tok ) ? NULL : tok;
  ------------------
  |  Branch (32644:20): [True: 0, False: 0]
  ------------------
32645|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (32645:18): [True: 0, False: 0]
  |  Branch (32645:34): [True: 0, False: 0]
  |  Branch (32645:57): [True: 0, False: 0]
  ------------------
32646|      0|                p->error_indicator = 1;
32647|      0|                p->level--;
32648|      0|                return NULL;
32649|      0|            }
32650|      0|            goto done;
32651|      0|        }
32652|     21|        p->mark = _mark;
32653|     21|        D(fprintf(stderr, "%*c%s _tmp_64[%d-%d]: %s failed!\n", p->level, ' ',
32654|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'!='"));
32655|     21|    }
32656|     21|    _res = NULL;
32657|     21|  done:
32658|     21|    p->level--;
32659|     21|    return _res;
32660|     21|}
parser.c:lte_bitwise_or_rule:
13160|     21|{
13161|     21|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     42|#  define MAXSTACK 6000
  ------------------
  |  Branch (13161:9): [True: 0, False: 21]
  |  Branch (13161:35): [True: 0, False: 21]
  ------------------
13162|      0|        _Pypegen_stack_overflow(p);
13163|      0|    }
13164|     21|    if (p->error_indicator) {
  ------------------
  |  Branch (13164:9): [True: 0, False: 21]
  ------------------
13165|      0|        p->level--;
13166|      0|        return NULL;
13167|      0|    }
13168|     21|    CmpopExprPair* _res = NULL;
13169|     21|    int _mark = p->mark;
13170|     21|    { // '<=' bitwise_or
13171|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (13171:13): [True: 0, False: 21]
  ------------------
13172|      0|            p->level--;
13173|      0|            return NULL;
13174|      0|        }
13175|     21|        D(fprintf(stderr, "%*c> lte_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'<=' bitwise_or"));
13176|     21|        Token * _literal;
13177|     21|        expr_ty a;
13178|     21|        if (
13179|     21|            (_literal = _PyPegen_expect_token(p, 29))  // token='<='
  ------------------
  |  Branch (13179:13): [True: 0, False: 21]
  ------------------
13180|      0|            &&
13181|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13181:13): [True: 0, False: 0]
  ------------------
13182|     21|        )
13183|      0|        {
13184|      0|            D(fprintf(stderr, "%*c+ lte_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'<=' bitwise_or"));
13185|      0|            _res = _PyPegen_cmpop_expr_pair ( p , LtE , a );
13186|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13186:18): [True: 0, False: 0]
  |  Branch (13186:34): [True: 0, False: 0]
  |  Branch (13186:57): [True: 0, False: 0]
  ------------------
13187|      0|                p->error_indicator = 1;
13188|      0|                p->level--;
13189|      0|                return NULL;
13190|      0|            }
13191|      0|            goto done;
13192|      0|        }
13193|     21|        p->mark = _mark;
13194|     21|        D(fprintf(stderr, "%*c%s lte_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13195|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'<=' bitwise_or"));
13196|     21|    }
13197|     21|    _res = NULL;
13198|     21|  done:
13199|     21|    p->level--;
13200|     21|    return _res;
13201|     21|}
parser.c:lt_bitwise_or_rule:
13206|     21|{
13207|     21|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     42|#  define MAXSTACK 6000
  ------------------
  |  Branch (13207:9): [True: 0, False: 21]
  |  Branch (13207:35): [True: 0, False: 21]
  ------------------
13208|      0|        _Pypegen_stack_overflow(p);
13209|      0|    }
13210|     21|    if (p->error_indicator) {
  ------------------
  |  Branch (13210:9): [True: 0, False: 21]
  ------------------
13211|      0|        p->level--;
13212|      0|        return NULL;
13213|      0|    }
13214|     21|    CmpopExprPair* _res = NULL;
13215|     21|    int _mark = p->mark;
13216|     21|    { // '<' bitwise_or
13217|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (13217:13): [True: 0, False: 21]
  ------------------
13218|      0|            p->level--;
13219|      0|            return NULL;
13220|      0|        }
13221|     21|        D(fprintf(stderr, "%*c> lt_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'<' bitwise_or"));
13222|     21|        Token * _literal;
13223|     21|        expr_ty a;
13224|     21|        if (
13225|     21|            (_literal = _PyPegen_expect_token(p, 20))  // token='<'
  ------------------
  |  Branch (13225:13): [True: 0, False: 21]
  ------------------
13226|      0|            &&
13227|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13227:13): [True: 0, False: 0]
  ------------------
13228|     21|        )
13229|      0|        {
13230|      0|            D(fprintf(stderr, "%*c+ lt_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'<' bitwise_or"));
13231|      0|            _res = _PyPegen_cmpop_expr_pair ( p , Lt , a );
13232|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13232:18): [True: 0, False: 0]
  |  Branch (13232:34): [True: 0, False: 0]
  |  Branch (13232:57): [True: 0, False: 0]
  ------------------
13233|      0|                p->error_indicator = 1;
13234|      0|                p->level--;
13235|      0|                return NULL;
13236|      0|            }
13237|      0|            goto done;
13238|      0|        }
13239|     21|        p->mark = _mark;
13240|     21|        D(fprintf(stderr, "%*c%s lt_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13241|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'<' bitwise_or"));
13242|     21|    }
13243|     21|    _res = NULL;
13244|     21|  done:
13245|     21|    p->level--;
13246|     21|    return _res;
13247|     21|}
parser.c:gte_bitwise_or_rule:
13252|     21|{
13253|     21|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     42|#  define MAXSTACK 6000
  ------------------
  |  Branch (13253:9): [True: 0, False: 21]
  |  Branch (13253:35): [True: 0, False: 21]
  ------------------
13254|      0|        _Pypegen_stack_overflow(p);
13255|      0|    }
13256|     21|    if (p->error_indicator) {
  ------------------
  |  Branch (13256:9): [True: 0, False: 21]
  ------------------
13257|      0|        p->level--;
13258|      0|        return NULL;
13259|      0|    }
13260|     21|    CmpopExprPair* _res = NULL;
13261|     21|    int _mark = p->mark;
13262|     21|    { // '>=' bitwise_or
13263|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (13263:13): [True: 0, False: 21]
  ------------------
13264|      0|            p->level--;
13265|      0|            return NULL;
13266|      0|        }
13267|     21|        D(fprintf(stderr, "%*c> gte_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'>=' bitwise_or"));
13268|     21|        Token * _literal;
13269|     21|        expr_ty a;
13270|     21|        if (
13271|     21|            (_literal = _PyPegen_expect_token(p, 30))  // token='>='
  ------------------
  |  Branch (13271:13): [True: 0, False: 21]
  ------------------
13272|      0|            &&
13273|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13273:13): [True: 0, False: 0]
  ------------------
13274|     21|        )
13275|      0|        {
13276|      0|            D(fprintf(stderr, "%*c+ gte_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'>=' bitwise_or"));
13277|      0|            _res = _PyPegen_cmpop_expr_pair ( p , GtE , a );
13278|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13278:18): [True: 0, False: 0]
  |  Branch (13278:34): [True: 0, False: 0]
  |  Branch (13278:57): [True: 0, False: 0]
  ------------------
13279|      0|                p->error_indicator = 1;
13280|      0|                p->level--;
13281|      0|                return NULL;
13282|      0|            }
13283|      0|            goto done;
13284|      0|        }
13285|     21|        p->mark = _mark;
13286|     21|        D(fprintf(stderr, "%*c%s gte_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13287|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'>=' bitwise_or"));
13288|     21|    }
13289|     21|    _res = NULL;
13290|     21|  done:
13291|     21|    p->level--;
13292|     21|    return _res;
13293|     21|}
parser.c:gt_bitwise_or_rule:
13298|     21|{
13299|     21|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     42|#  define MAXSTACK 6000
  ------------------
  |  Branch (13299:9): [True: 0, False: 21]
  |  Branch (13299:35): [True: 0, False: 21]
  ------------------
13300|      0|        _Pypegen_stack_overflow(p);
13301|      0|    }
13302|     21|    if (p->error_indicator) {
  ------------------
  |  Branch (13302:9): [True: 0, False: 21]
  ------------------
13303|      0|        p->level--;
13304|      0|        return NULL;
13305|      0|    }
13306|     21|    CmpopExprPair* _res = NULL;
13307|     21|    int _mark = p->mark;
13308|     21|    { // '>' bitwise_or
13309|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (13309:13): [True: 0, False: 21]
  ------------------
13310|      0|            p->level--;
13311|      0|            return NULL;
13312|      0|        }
13313|     21|        D(fprintf(stderr, "%*c> gt_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'>' bitwise_or"));
13314|     21|        Token * _literal;
13315|     21|        expr_ty a;
13316|     21|        if (
13317|     21|            (_literal = _PyPegen_expect_token(p, 21))  // token='>'
  ------------------
  |  Branch (13317:13): [True: 0, False: 21]
  ------------------
13318|      0|            &&
13319|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13319:13): [True: 0, False: 0]
  ------------------
13320|     21|        )
13321|      0|        {
13322|      0|            D(fprintf(stderr, "%*c+ gt_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'>' bitwise_or"));
13323|      0|            _res = _PyPegen_cmpop_expr_pair ( p , Gt , a );
13324|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13324:18): [True: 0, False: 0]
  |  Branch (13324:34): [True: 0, False: 0]
  |  Branch (13324:57): [True: 0, False: 0]
  ------------------
13325|      0|                p->error_indicator = 1;
13326|      0|                p->level--;
13327|      0|                return NULL;
13328|      0|            }
13329|      0|            goto done;
13330|      0|        }
13331|     21|        p->mark = _mark;
13332|     21|        D(fprintf(stderr, "%*c%s gt_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13333|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'>' bitwise_or"));
13334|     21|    }
13335|     21|    _res = NULL;
13336|     21|  done:
13337|     21|    p->level--;
13338|     21|    return _res;
13339|     21|}
parser.c:notin_bitwise_or_rule:
13344|     21|{
13345|     21|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     42|#  define MAXSTACK 6000
  ------------------
  |  Branch (13345:9): [True: 0, False: 21]
  |  Branch (13345:35): [True: 0, False: 21]
  ------------------
13346|      0|        _Pypegen_stack_overflow(p);
13347|      0|    }
13348|     21|    if (p->error_indicator) {
  ------------------
  |  Branch (13348:9): [True: 0, False: 21]
  ------------------
13349|      0|        p->level--;
13350|      0|        return NULL;
13351|      0|    }
13352|     21|    CmpopExprPair* _res = NULL;
13353|     21|    int _mark = p->mark;
13354|     21|    { // 'not' 'in' bitwise_or
13355|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (13355:13): [True: 0, False: 21]
  ------------------
13356|      0|            p->level--;
13357|      0|            return NULL;
13358|      0|        }
13359|     21|        D(fprintf(stderr, "%*c> notin_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'not' 'in' bitwise_or"));
13360|     21|        Token * _keyword;
13361|     21|        Token * _keyword_1;
13362|     21|        expr_ty a;
13363|     21|        if (
13364|     21|            (_keyword = _PyPegen_expect_token(p, 721))  // token='not'
  ------------------
  |  Branch (13364:13): [True: 0, False: 21]
  ------------------
13365|      0|            &&
13366|      0|            (_keyword_1 = _PyPegen_expect_token(p, 713))  // token='in'
  ------------------
  |  Branch (13366:13): [True: 0, False: 0]
  ------------------
13367|      0|            &&
13368|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13368:13): [True: 0, False: 0]
  ------------------
13369|     21|        )
13370|      0|        {
13371|      0|            D(fprintf(stderr, "%*c+ notin_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'not' 'in' bitwise_or"));
13372|      0|            _res = _PyPegen_cmpop_expr_pair ( p , NotIn , a );
13373|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13373:18): [True: 0, False: 0]
  |  Branch (13373:34): [True: 0, False: 0]
  |  Branch (13373:57): [True: 0, False: 0]
  ------------------
13374|      0|                p->error_indicator = 1;
13375|      0|                p->level--;
13376|      0|                return NULL;
13377|      0|            }
13378|      0|            goto done;
13379|      0|        }
13380|     21|        p->mark = _mark;
13381|     21|        D(fprintf(stderr, "%*c%s notin_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13382|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'not' 'in' bitwise_or"));
13383|     21|    }
13384|     21|    _res = NULL;
13385|     21|  done:
13386|     21|    p->level--;
13387|     21|    return _res;
13388|     21|}
parser.c:in_bitwise_or_rule:
13393|     21|{
13394|     21|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     42|#  define MAXSTACK 6000
  ------------------
  |  Branch (13394:9): [True: 0, False: 21]
  |  Branch (13394:35): [True: 0, False: 21]
  ------------------
13395|      0|        _Pypegen_stack_overflow(p);
13396|      0|    }
13397|     21|    if (p->error_indicator) {
  ------------------
  |  Branch (13397:9): [True: 0, False: 21]
  ------------------
13398|      0|        p->level--;
13399|      0|        return NULL;
13400|      0|    }
13401|     21|    CmpopExprPair* _res = NULL;
13402|     21|    int _mark = p->mark;
13403|     21|    { // 'in' bitwise_or
13404|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (13404:13): [True: 0, False: 21]
  ------------------
13405|      0|            p->level--;
13406|      0|            return NULL;
13407|      0|        }
13408|     21|        D(fprintf(stderr, "%*c> in_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'in' bitwise_or"));
13409|     21|        Token * _keyword;
13410|     21|        expr_ty a;
13411|     21|        if (
13412|     21|            (_keyword = _PyPegen_expect_token(p, 713))  // token='in'
  ------------------
  |  Branch (13412:13): [True: 0, False: 21]
  ------------------
13413|      0|            &&
13414|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13414:13): [True: 0, False: 0]
  ------------------
13415|     21|        )
13416|      0|        {
13417|      0|            D(fprintf(stderr, "%*c+ in_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'in' bitwise_or"));
13418|      0|            _res = _PyPegen_cmpop_expr_pair ( p , In , a );
13419|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13419:18): [True: 0, False: 0]
  |  Branch (13419:34): [True: 0, False: 0]
  |  Branch (13419:57): [True: 0, False: 0]
  ------------------
13420|      0|                p->error_indicator = 1;
13421|      0|                p->level--;
13422|      0|                return NULL;
13423|      0|            }
13424|      0|            goto done;
13425|      0|        }
13426|     21|        p->mark = _mark;
13427|     21|        D(fprintf(stderr, "%*c%s in_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13428|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'in' bitwise_or"));
13429|     21|    }
13430|     21|    _res = NULL;
13431|     21|  done:
13432|     21|    p->level--;
13433|     21|    return _res;
13434|     21|}
parser.c:isnot_bitwise_or_rule:
13439|     21|{
13440|     21|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     42|#  define MAXSTACK 6000
  ------------------
  |  Branch (13440:9): [True: 0, False: 21]
  |  Branch (13440:35): [True: 0, False: 21]
  ------------------
13441|      0|        _Pypegen_stack_overflow(p);
13442|      0|    }
13443|     21|    if (p->error_indicator) {
  ------------------
  |  Branch (13443:9): [True: 0, False: 21]
  ------------------
13444|      0|        p->level--;
13445|      0|        return NULL;
13446|      0|    }
13447|     21|    CmpopExprPair* _res = NULL;
13448|     21|    int _mark = p->mark;
13449|     21|    { // 'is' 'not' bitwise_or
13450|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (13450:13): [True: 0, False: 21]
  ------------------
13451|      0|            p->level--;
13452|      0|            return NULL;
13453|      0|        }
13454|     21|        D(fprintf(stderr, "%*c> isnot_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'is' 'not' bitwise_or"));
13455|     21|        Token * _keyword;
13456|     21|        Token * _keyword_1;
13457|     21|        expr_ty a;
13458|     21|        if (
13459|     21|            (_keyword = _PyPegen_expect_token(p, 597))  // token='is'
  ------------------
  |  Branch (13459:13): [True: 0, False: 21]
  ------------------
13460|      0|            &&
13461|      0|            (_keyword_1 = _PyPegen_expect_token(p, 721))  // token='not'
  ------------------
  |  Branch (13461:13): [True: 0, False: 0]
  ------------------
13462|      0|            &&
13463|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13463:13): [True: 0, False: 0]
  ------------------
13464|     21|        )
13465|      0|        {
13466|      0|            D(fprintf(stderr, "%*c+ isnot_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'is' 'not' bitwise_or"));
13467|      0|            _res = _PyPegen_cmpop_expr_pair ( p , IsNot , a );
13468|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13468:18): [True: 0, False: 0]
  |  Branch (13468:34): [True: 0, False: 0]
  |  Branch (13468:57): [True: 0, False: 0]
  ------------------
13469|      0|                p->error_indicator = 1;
13470|      0|                p->level--;
13471|      0|                return NULL;
13472|      0|            }
13473|      0|            goto done;
13474|      0|        }
13475|     21|        p->mark = _mark;
13476|     21|        D(fprintf(stderr, "%*c%s isnot_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13477|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'is' 'not' bitwise_or"));
13478|     21|    }
13479|     21|    _res = NULL;
13480|     21|  done:
13481|     21|    p->level--;
13482|     21|    return _res;
13483|     21|}
parser.c:is_bitwise_or_rule:
13488|     21|{
13489|     21|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     42|#  define MAXSTACK 6000
  ------------------
  |  Branch (13489:9): [True: 0, False: 21]
  |  Branch (13489:35): [True: 0, False: 21]
  ------------------
13490|      0|        _Pypegen_stack_overflow(p);
13491|      0|    }
13492|     21|    if (p->error_indicator) {
  ------------------
  |  Branch (13492:9): [True: 0, False: 21]
  ------------------
13493|      0|        p->level--;
13494|      0|        return NULL;
13495|      0|    }
13496|     21|    CmpopExprPair* _res = NULL;
13497|     21|    int _mark = p->mark;
13498|     21|    { // 'is' bitwise_or
13499|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (13499:13): [True: 0, False: 21]
  ------------------
13500|      0|            p->level--;
13501|      0|            return NULL;
13502|      0|        }
13503|     21|        D(fprintf(stderr, "%*c> is_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'is' bitwise_or"));
13504|     21|        Token * _keyword;
13505|     21|        expr_ty a;
13506|     21|        if (
13507|     21|            (_keyword = _PyPegen_expect_token(p, 597))  // token='is'
  ------------------
  |  Branch (13507:13): [True: 0, False: 21]
  ------------------
13508|      0|            &&
13509|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13509:13): [True: 0, False: 0]
  ------------------
13510|     21|        )
13511|      0|        {
13512|      0|            D(fprintf(stderr, "%*c+ is_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'is' bitwise_or"));
13513|      0|            _res = _PyPegen_cmpop_expr_pair ( p , Is , a );
13514|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13514:18): [True: 0, False: 0]
  |  Branch (13514:34): [True: 0, False: 0]
  |  Branch (13514:57): [True: 0, False: 0]
  ------------------
13515|      0|                p->error_indicator = 1;
13516|      0|                p->level--;
13517|      0|                return NULL;
13518|      0|            }
13519|      0|            goto done;
13520|      0|        }
13521|     21|        p->mark = _mark;
13522|     21|        D(fprintf(stderr, "%*c%s is_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13523|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'is' bitwise_or"));
13524|     21|    }
13525|     21|    _res = NULL;
13526|     21|  done:
13527|     21|    p->level--;
13528|     21|    return _res;
13529|     21|}
parser.c:_loop1_62_rule:
32478|     21|{
32479|     21|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     42|#  define MAXSTACK 6000
  ------------------
  |  Branch (32479:9): [True: 0, False: 21]
  |  Branch (32479:35): [True: 0, False: 21]
  ------------------
32480|      0|        _Pypegen_stack_overflow(p);
32481|      0|    }
32482|     21|    if (p->error_indicator) {
  ------------------
  |  Branch (32482:9): [True: 0, False: 21]
  ------------------
32483|      0|        p->level--;
32484|      0|        return NULL;
32485|      0|    }
32486|     21|    void *_res = NULL;
32487|     21|    int _mark = p->mark;
32488|     21|    void **_children = PyMem_Malloc(sizeof(void *));
32489|     21|    if (!_children) {
  ------------------
  |  Branch (32489:9): [True: 0, False: 21]
  ------------------
32490|      0|        p->error_indicator = 1;
32491|      0|        PyErr_NoMemory();
32492|      0|        p->level--;
32493|      0|        return NULL;
32494|      0|    }
32495|     21|    Py_ssize_t _children_capacity = 1;
32496|     21|    Py_ssize_t _n = 0;
32497|     21|    { // ('and' inversion)
32498|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (32498:13): [True: 0, False: 21]
  ------------------
32499|      0|            p->level--;
32500|      0|            return NULL;
32501|      0|        }
32502|     21|        D(fprintf(stderr, "%*c> _loop1_62[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('and' inversion)"));
32503|     21|        void *_tmp_164_var;
32504|     21|        while (
32505|     21|            (_tmp_164_var = _tmp_164_rule(p))  // 'and' inversion
  ------------------
  |  Branch (32505:13): [True: 0, False: 21]
  ------------------
32506|     21|        )
32507|      0|        {
32508|      0|            _res = _tmp_164_var;
32509|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (32509:17): [True: 0, False: 0]
  ------------------
32510|      0|                _children_capacity *= 2;
32511|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
32512|      0|                if (!_new_children) {
  ------------------
  |  Branch (32512:21): [True: 0, False: 0]
  ------------------
32513|      0|                    PyMem_Free(_children);
32514|      0|                    p->error_indicator = 1;
32515|      0|                    PyErr_NoMemory();
32516|      0|                    p->level--;
32517|      0|                    return NULL;
32518|      0|                }
32519|      0|                _children = _new_children;
32520|      0|            }
32521|      0|            _children[_n++] = _res;
32522|      0|            _mark = p->mark;
32523|      0|        }
32524|     21|        p->mark = _mark;
32525|     21|        D(fprintf(stderr, "%*c%s _loop1_62[%d-%d]: %s failed!\n", p->level, ' ',
32526|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('and' inversion)"));
32527|     21|    }
32528|     21|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (32528:9): [True: 21, False: 0]
  |  Branch (32528:20): [True: 0, False: 0]
  ------------------
32529|     21|        PyMem_Free(_children);
32530|     21|        p->level--;
32531|     21|        return NULL;
32532|     21|    }
32533|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
32534|      0|    if (!_seq) {
  ------------------
  |  Branch (32534:9): [True: 0, False: 0]
  ------------------
32535|      0|        PyMem_Free(_children);
32536|      0|        p->error_indicator = 1;
32537|      0|        PyErr_NoMemory();
32538|      0|        p->level--;
32539|      0|        return NULL;
32540|      0|    }
32541|      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 (32541:28): [True: 0, False: 0]
  ------------------
32542|      0|    PyMem_Free(_children);
32543|      0|    p->level--;
32544|      0|    return _seq;
32545|      0|}
parser.c:_tmp_164_rule:
38757|     21|{
38758|     21|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     42|#  define MAXSTACK 6000
  ------------------
  |  Branch (38758:9): [True: 0, False: 21]
  |  Branch (38758:35): [True: 0, False: 21]
  ------------------
38759|      0|        _Pypegen_stack_overflow(p);
38760|      0|    }
38761|     21|    if (p->error_indicator) {
  ------------------
  |  Branch (38761:9): [True: 0, False: 21]
  ------------------
38762|      0|        p->level--;
38763|      0|        return NULL;
38764|      0|    }
38765|     21|    void * _res = NULL;
38766|     21|    int _mark = p->mark;
38767|     21|    { // 'and' inversion
38768|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (38768:13): [True: 0, False: 21]
  ------------------
38769|      0|            p->level--;
38770|      0|            return NULL;
38771|      0|        }
38772|     21|        D(fprintf(stderr, "%*c> _tmp_164[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'and' inversion"));
38773|     21|        Token * _keyword;
38774|     21|        expr_ty c;
38775|     21|        if (
38776|     21|            (_keyword = _PyPegen_expect_token(p, 590))  // token='and'
  ------------------
  |  Branch (38776:13): [True: 0, False: 21]
  ------------------
38777|      0|            &&
38778|      0|            (c = inversion_rule(p))  // inversion
  ------------------
  |  Branch (38778:13): [True: 0, False: 0]
  ------------------
38779|     21|        )
38780|      0|        {
38781|      0|            D(fprintf(stderr, "%*c+ _tmp_164[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'and' inversion"));
38782|      0|            _res = c;
38783|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (38783:18): [True: 0, False: 0]
  |  Branch (38783:34): [True: 0, False: 0]
  |  Branch (38783:57): [True: 0, False: 0]
  ------------------
38784|      0|                p->error_indicator = 1;
38785|      0|                p->level--;
38786|      0|                return NULL;
38787|      0|            }
38788|      0|            goto done;
38789|      0|        }
38790|     21|        p->mark = _mark;
38791|     21|        D(fprintf(stderr, "%*c%s _tmp_164[%d-%d]: %s failed!\n", p->level, ' ',
38792|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'and' inversion"));
38793|     21|    }
38794|     21|    _res = NULL;
38795|     21|  done:
38796|     21|    p->level--;
38797|     21|    return _res;
38798|     21|}
parser.c:_loop1_61_rule:
32406|     21|{
32407|     21|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     42|#  define MAXSTACK 6000
  ------------------
  |  Branch (32407:9): [True: 0, False: 21]
  |  Branch (32407:35): [True: 0, False: 21]
  ------------------
32408|      0|        _Pypegen_stack_overflow(p);
32409|      0|    }
32410|     21|    if (p->error_indicator) {
  ------------------
  |  Branch (32410:9): [True: 0, False: 21]
  ------------------
32411|      0|        p->level--;
32412|      0|        return NULL;
32413|      0|    }
32414|     21|    void *_res = NULL;
32415|     21|    int _mark = p->mark;
32416|     21|    void **_children = PyMem_Malloc(sizeof(void *));
32417|     21|    if (!_children) {
  ------------------
  |  Branch (32417:9): [True: 0, False: 21]
  ------------------
32418|      0|        p->error_indicator = 1;
32419|      0|        PyErr_NoMemory();
32420|      0|        p->level--;
32421|      0|        return NULL;
32422|      0|    }
32423|     21|    Py_ssize_t _children_capacity = 1;
32424|     21|    Py_ssize_t _n = 0;
32425|     21|    { // ('or' conjunction)
32426|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (32426:13): [True: 0, False: 21]
  ------------------
32427|      0|            p->level--;
32428|      0|            return NULL;
32429|      0|        }
32430|     21|        D(fprintf(stderr, "%*c> _loop1_61[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('or' conjunction)"));
32431|     21|        void *_tmp_163_var;
32432|     21|        while (
32433|     21|            (_tmp_163_var = _tmp_163_rule(p))  // 'or' conjunction
  ------------------
  |  Branch (32433:13): [True: 0, False: 21]
  ------------------
32434|     21|        )
32435|      0|        {
32436|      0|            _res = _tmp_163_var;
32437|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (32437:17): [True: 0, False: 0]
  ------------------
32438|      0|                _children_capacity *= 2;
32439|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
32440|      0|                if (!_new_children) {
  ------------------
  |  Branch (32440:21): [True: 0, False: 0]
  ------------------
32441|      0|                    PyMem_Free(_children);
32442|      0|                    p->error_indicator = 1;
32443|      0|                    PyErr_NoMemory();
32444|      0|                    p->level--;
32445|      0|                    return NULL;
32446|      0|                }
32447|      0|                _children = _new_children;
32448|      0|            }
32449|      0|            _children[_n++] = _res;
32450|      0|            _mark = p->mark;
32451|      0|        }
32452|     21|        p->mark = _mark;
32453|     21|        D(fprintf(stderr, "%*c%s _loop1_61[%d-%d]: %s failed!\n", p->level, ' ',
32454|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('or' conjunction)"));
32455|     21|    }
32456|     21|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (32456:9): [True: 21, False: 0]
  |  Branch (32456:20): [True: 0, False: 0]
  ------------------
32457|     21|        PyMem_Free(_children);
32458|     21|        p->level--;
32459|     21|        return NULL;
32460|     21|    }
32461|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
32462|      0|    if (!_seq) {
  ------------------
  |  Branch (32462:9): [True: 0, False: 0]
  ------------------
32463|      0|        PyMem_Free(_children);
32464|      0|        p->error_indicator = 1;
32465|      0|        PyErr_NoMemory();
32466|      0|        p->level--;
32467|      0|        return NULL;
32468|      0|    }
32469|      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 (32469:28): [True: 0, False: 0]
  ------------------
32470|      0|    PyMem_Free(_children);
32471|      0|    p->level--;
32472|      0|    return _seq;
32473|      0|}
parser.c:_tmp_163_rule:
38711|     21|{
38712|     21|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     42|#  define MAXSTACK 6000
  ------------------
  |  Branch (38712:9): [True: 0, False: 21]
  |  Branch (38712:35): [True: 0, False: 21]
  ------------------
38713|      0|        _Pypegen_stack_overflow(p);
38714|      0|    }
38715|     21|    if (p->error_indicator) {
  ------------------
  |  Branch (38715:9): [True: 0, False: 21]
  ------------------
38716|      0|        p->level--;
38717|      0|        return NULL;
38718|      0|    }
38719|     21|    void * _res = NULL;
38720|     21|    int _mark = p->mark;
38721|     21|    { // 'or' conjunction
38722|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (38722:13): [True: 0, False: 21]
  ------------------
38723|      0|            p->level--;
38724|      0|            return NULL;
38725|      0|        }
38726|     21|        D(fprintf(stderr, "%*c> _tmp_163[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'or' conjunction"));
38727|     21|        Token * _keyword;
38728|     21|        expr_ty c;
38729|     21|        if (
38730|     21|            (_keyword = _PyPegen_expect_token(p, 589))  // token='or'
  ------------------
  |  Branch (38730:13): [True: 0, False: 21]
  ------------------
38731|      0|            &&
38732|      0|            (c = conjunction_rule(p))  // conjunction
  ------------------
  |  Branch (38732:13): [True: 0, False: 0]
  ------------------
38733|     21|        )
38734|      0|        {
38735|      0|            D(fprintf(stderr, "%*c+ _tmp_163[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'or' conjunction"));
38736|      0|            _res = c;
38737|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (38737:18): [True: 0, False: 0]
  |  Branch (38737:34): [True: 0, False: 0]
  |  Branch (38737:57): [True: 0, False: 0]
  ------------------
38738|      0|                p->error_indicator = 1;
38739|      0|                p->level--;
38740|      0|                return NULL;
38741|      0|            }
38742|      0|            goto done;
38743|      0|        }
38744|     21|        p->mark = _mark;
38745|     21|        D(fprintf(stderr, "%*c%s _tmp_163[%d-%d]: %s failed!\n", p->level, ' ',
38746|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'or' conjunction"));
38747|     21|    }
38748|     21|    _res = NULL;
38749|     21|  done:
38750|     21|    p->level--;
38751|     21|    return _res;
38752|     21|}
parser.c:for_if_clauses_rule:
18086|      9|{
18087|      9|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     18|#  define MAXSTACK 6000
  ------------------
  |  Branch (18087:9): [True: 0, False: 9]
  |  Branch (18087:35): [True: 0, False: 9]
  ------------------
18088|      0|        _Pypegen_stack_overflow(p);
18089|      0|    }
18090|      9|    if (p->error_indicator) {
  ------------------
  |  Branch (18090:9): [True: 0, False: 9]
  ------------------
18091|      0|        p->level--;
18092|      0|        return NULL;
18093|      0|    }
18094|      9|    asdl_comprehension_seq* _res = NULL;
18095|      9|    int _mark = p->mark;
18096|      9|    { // for_if_clause+
18097|      9|        if (p->error_indicator) {
  ------------------
  |  Branch (18097:13): [True: 0, False: 9]
  ------------------
18098|      0|            p->level--;
18099|      0|            return NULL;
18100|      0|        }
18101|      9|        D(fprintf(stderr, "%*c> for_if_clauses[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "for_if_clause+"));
18102|      9|        asdl_comprehension_seq* a;
18103|      9|        if (
18104|      9|            (a = (asdl_comprehension_seq*)_loop1_87_rule(p))  // for_if_clause+
  ------------------
  |  Branch (18104:13): [True: 0, False: 9]
  ------------------
18105|      9|        )
18106|      0|        {
18107|      0|            D(fprintf(stderr, "%*c+ for_if_clauses[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "for_if_clause+"));
18108|      0|            _res = a;
18109|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18109:18): [True: 0, False: 0]
  |  Branch (18109:34): [True: 0, False: 0]
  |  Branch (18109:57): [True: 0, False: 0]
  ------------------
18110|      0|                p->error_indicator = 1;
18111|      0|                p->level--;
18112|      0|                return NULL;
18113|      0|            }
18114|      0|            goto done;
18115|      0|        }
18116|      9|        p->mark = _mark;
18117|      9|        D(fprintf(stderr, "%*c%s for_if_clauses[%d-%d]: %s failed!\n", p->level, ' ',
18118|      9|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "for_if_clause+"));
18119|      9|    }
18120|      9|    _res = NULL;
18121|      9|  done:
18122|      9|    p->level--;
18123|      9|    return _res;
18124|      9|}
parser.c:_loop1_87_rule:
34108|      9|{
34109|      9|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     18|#  define MAXSTACK 6000
  ------------------
  |  Branch (34109:9): [True: 0, False: 9]
  |  Branch (34109:35): [True: 0, False: 9]
  ------------------
34110|      0|        _Pypegen_stack_overflow(p);
34111|      0|    }
34112|      9|    if (p->error_indicator) {
  ------------------
  |  Branch (34112:9): [True: 0, False: 9]
  ------------------
34113|      0|        p->level--;
34114|      0|        return NULL;
34115|      0|    }
34116|      9|    void *_res = NULL;
34117|      9|    int _mark = p->mark;
34118|      9|    void **_children = PyMem_Malloc(sizeof(void *));
34119|      9|    if (!_children) {
  ------------------
  |  Branch (34119:9): [True: 0, False: 9]
  ------------------
34120|      0|        p->error_indicator = 1;
34121|      0|        PyErr_NoMemory();
34122|      0|        p->level--;
34123|      0|        return NULL;
34124|      0|    }
34125|      9|    Py_ssize_t _children_capacity = 1;
34126|      9|    Py_ssize_t _n = 0;
34127|      9|    { // for_if_clause
34128|      9|        if (p->error_indicator) {
  ------------------
  |  Branch (34128:13): [True: 0, False: 9]
  ------------------
34129|      0|            p->level--;
34130|      0|            return NULL;
34131|      0|        }
34132|      9|        D(fprintf(stderr, "%*c> _loop1_87[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "for_if_clause"));
34133|      9|        comprehension_ty for_if_clause_var;
34134|      9|        while (
34135|      9|            (for_if_clause_var = for_if_clause_rule(p))  // for_if_clause
  ------------------
  |  Branch (34135:13): [True: 0, False: 9]
  ------------------
34136|      9|        )
34137|      0|        {
34138|      0|            _res = for_if_clause_var;
34139|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (34139:17): [True: 0, False: 0]
  ------------------
34140|      0|                _children_capacity *= 2;
34141|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
34142|      0|                if (!_new_children) {
  ------------------
  |  Branch (34142:21): [True: 0, False: 0]
  ------------------
34143|      0|                    PyMem_Free(_children);
34144|      0|                    p->error_indicator = 1;
34145|      0|                    PyErr_NoMemory();
34146|      0|                    p->level--;
34147|      0|                    return NULL;
34148|      0|                }
34149|      0|                _children = _new_children;
34150|      0|            }
34151|      0|            _children[_n++] = _res;
34152|      0|            _mark = p->mark;
34153|      0|        }
34154|      9|        p->mark = _mark;
34155|      9|        D(fprintf(stderr, "%*c%s _loop1_87[%d-%d]: %s failed!\n", p->level, ' ',
34156|      9|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "for_if_clause"));
34157|      9|    }
34158|      9|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (34158:9): [True: 9, False: 0]
  |  Branch (34158:20): [True: 0, False: 0]
  ------------------
34159|      9|        PyMem_Free(_children);
34160|      9|        p->level--;
34161|      9|        return NULL;
34162|      9|    }
34163|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
34164|      0|    if (!_seq) {
  ------------------
  |  Branch (34164:9): [True: 0, False: 0]
  ------------------
34165|      0|        PyMem_Free(_children);
34166|      0|        p->error_indicator = 1;
34167|      0|        PyErr_NoMemory();
34168|      0|        p->level--;
34169|      0|        return NULL;
34170|      0|    }
34171|      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 (34171:28): [True: 0, False: 0]
  ------------------
34172|      0|    PyMem_Free(_children);
34173|      0|    p->level--;
34174|      0|    return _seq;
34175|      0|}
parser.c:for_if_clause_rule:
18133|      9|{
18134|      9|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     18|#  define MAXSTACK 6000
  ------------------
  |  Branch (18134:9): [True: 0, False: 9]
  |  Branch (18134:35): [True: 0, False: 9]
  ------------------
18135|      0|        _Pypegen_stack_overflow(p);
18136|      0|    }
18137|      9|    if (p->error_indicator) {
  ------------------
  |  Branch (18137:9): [True: 0, False: 9]
  ------------------
18138|      0|        p->level--;
18139|      0|        return NULL;
18140|      0|    }
18141|      9|    comprehension_ty _res = NULL;
18142|      9|    int _mark = p->mark;
18143|      9|    { // 'async' 'for' star_targets 'in' ~ disjunction (('if' disjunction))*
18144|      9|        if (p->error_indicator) {
  ------------------
  |  Branch (18144:13): [True: 0, False: 9]
  ------------------
18145|      0|            p->level--;
18146|      0|            return NULL;
18147|      0|        }
18148|      9|        D(fprintf(stderr, "%*c> for_if_clause[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async' 'for' star_targets 'in' ~ disjunction (('if' disjunction))*"));
18149|      9|        int _cut_var = 0;
18150|      9|        Token * _keyword;
18151|      9|        Token * _keyword_1;
18152|      9|        Token * _keyword_2;
18153|      9|        expr_ty a;
18154|      9|        expr_ty b;
18155|      9|        asdl_expr_seq* c;
18156|      9|        if (
18157|      9|            (_keyword = _PyPegen_expect_token(p, 716))  // token='async'
  ------------------
  |  Branch (18157:13): [True: 0, False: 9]
  ------------------
18158|      0|            &&
18159|      0|            (_keyword_1 = _PyPegen_expect_token(p, 712))  // token='for'
  ------------------
  |  Branch (18159:13): [True: 0, False: 0]
  ------------------
18160|      0|            &&
18161|      0|            (a = star_targets_rule(p))  // star_targets
  ------------------
  |  Branch (18161:13): [True: 0, False: 0]
  ------------------
18162|      0|            &&
18163|      0|            (_keyword_2 = _PyPegen_expect_token(p, 713))  // token='in'
  ------------------
  |  Branch (18163:13): [True: 0, False: 0]
  ------------------
18164|      0|            &&
18165|      0|            (_cut_var = 1)
  ------------------
  |  Branch (18165:13): [True: 0, False: 0]
  ------------------
18166|      0|            &&
18167|      0|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (18167:13): [True: 0, False: 0]
  ------------------
18168|      0|            &&
18169|      0|            (c = (asdl_expr_seq*)_loop0_88_rule(p))  // (('if' disjunction))*
  ------------------
  |  Branch (18169:13): [True: 0, False: 0]
  ------------------
18170|      9|        )
18171|      0|        {
18172|      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))*"));
18173|      0|            _res = CHECK_VERSION ( comprehension_ty , 6 , "Async comprehensions are" , _PyAST_comprehension ( a , b , c , 1 , p -> arena ) );
  ------------------
  |  |  312|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
18174|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18174:18): [True: 0, False: 0]
  |  Branch (18174:34): [True: 0, False: 0]
  |  Branch (18174:57): [True: 0, False: 0]
  ------------------
18175|      0|                p->error_indicator = 1;
18176|      0|                p->level--;
18177|      0|                return NULL;
18178|      0|            }
18179|      0|            goto done;
18180|      0|        }
18181|      9|        p->mark = _mark;
18182|      9|        D(fprintf(stderr, "%*c%s for_if_clause[%d-%d]: %s failed!\n", p->level, ' ',
18183|      9|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async' 'for' star_targets 'in' ~ disjunction (('if' disjunction))*"));
18184|      9|        if (_cut_var) {
  ------------------
  |  Branch (18184:13): [True: 0, False: 9]
  ------------------
18185|      0|            p->level--;
18186|      0|            return NULL;
18187|      0|        }
18188|      9|    }
18189|      9|    { // 'for' star_targets 'in' ~ disjunction (('if' disjunction))*
18190|      9|        if (p->error_indicator) {
  ------------------
  |  Branch (18190:13): [True: 0, False: 9]
  ------------------
18191|      0|            p->level--;
18192|      0|            return NULL;
18193|      0|        }
18194|      9|        D(fprintf(stderr, "%*c> for_if_clause[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'for' star_targets 'in' ~ disjunction (('if' disjunction))*"));
18195|      9|        int _cut_var = 0;
18196|      9|        Token * _keyword;
18197|      9|        Token * _keyword_1;
18198|      9|        expr_ty a;
18199|      9|        expr_ty b;
18200|      9|        asdl_expr_seq* c;
18201|      9|        if (
18202|      9|            (_keyword = _PyPegen_expect_token(p, 712))  // token='for'
  ------------------
  |  Branch (18202:13): [True: 0, False: 9]
  ------------------
18203|      0|            &&
18204|      0|            (a = star_targets_rule(p))  // star_targets
  ------------------
  |  Branch (18204:13): [True: 0, False: 0]
  ------------------
18205|      0|            &&
18206|      0|            (_keyword_1 = _PyPegen_expect_token(p, 713))  // token='in'
  ------------------
  |  Branch (18206:13): [True: 0, False: 0]
  ------------------
18207|      0|            &&
18208|      0|            (_cut_var = 1)
  ------------------
  |  Branch (18208:13): [True: 0, False: 0]
  ------------------
18209|      0|            &&
18210|      0|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (18210:13): [True: 0, False: 0]
  ------------------
18211|      0|            &&
18212|      0|            (c = (asdl_expr_seq*)_loop0_88_rule(p))  // (('if' disjunction))*
  ------------------
  |  Branch (18212:13): [True: 0, False: 0]
  ------------------
18213|      9|        )
18214|      0|        {
18215|      0|            D(fprintf(stderr, "%*c+ for_if_clause[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'for' star_targets 'in' ~ disjunction (('if' disjunction))*"));
18216|      0|            _res = _PyAST_comprehension ( a , b , c , 0 , p -> arena );
18217|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18217:18): [True: 0, False: 0]
  |  Branch (18217:34): [True: 0, False: 0]
  |  Branch (18217:57): [True: 0, False: 0]
  ------------------
18218|      0|                p->error_indicator = 1;
18219|      0|                p->level--;
18220|      0|                return NULL;
18221|      0|            }
18222|      0|            goto done;
18223|      0|        }
18224|      9|        p->mark = _mark;
18225|      9|        D(fprintf(stderr, "%*c%s for_if_clause[%d-%d]: %s failed!\n", p->level, ' ',
18226|      9|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'for' star_targets 'in' ~ disjunction (('if' disjunction))*"));
18227|      9|        if (_cut_var) {
  ------------------
  |  Branch (18227:13): [True: 0, False: 9]
  ------------------
18228|      0|            p->level--;
18229|      0|            return NULL;
18230|      0|        }
18231|      9|    }
18232|      9|    if (p->call_invalid_rules) { // invalid_for_if_clause
  ------------------
  |  Branch (18232:9): [True: 0, False: 9]
  ------------------
18233|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (18233:13): [True: 0, False: 0]
  ------------------
18234|      0|            p->level--;
18235|      0|            return NULL;
18236|      0|        }
18237|      0|        D(fprintf(stderr, "%*c> for_if_clause[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_for_if_clause"));
18238|      0|        void *invalid_for_if_clause_var;
18239|      0|        if (
18240|      0|            (invalid_for_if_clause_var = invalid_for_if_clause_rule(p))  // invalid_for_if_clause
  ------------------
  |  Branch (18240:13): [True: 0, False: 0]
  ------------------
18241|      0|        )
18242|      0|        {
18243|      0|            D(fprintf(stderr, "%*c+ for_if_clause[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_for_if_clause"));
18244|      0|            _res = invalid_for_if_clause_var;
18245|      0|            goto done;
18246|      0|        }
18247|      0|        p->mark = _mark;
18248|      0|        D(fprintf(stderr, "%*c%s for_if_clause[%d-%d]: %s failed!\n", p->level, ' ',
18249|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_for_if_clause"));
18250|      0|    }
18251|      9|    if (p->call_invalid_rules) { // invalid_for_target
  ------------------
  |  Branch (18251:9): [True: 0, False: 9]
  ------------------
18252|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (18252:13): [True: 0, False: 0]
  ------------------
18253|      0|            p->level--;
18254|      0|            return NULL;
18255|      0|        }
18256|      0|        D(fprintf(stderr, "%*c> for_if_clause[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_for_target"));
18257|      0|        void *invalid_for_target_var;
18258|      0|        if (
18259|      0|            (invalid_for_target_var = invalid_for_target_rule(p))  // invalid_for_target
  ------------------
  |  Branch (18259:13): [True: 0, False: 0]
  ------------------
18260|      0|        )
18261|      0|        {
18262|      0|            D(fprintf(stderr, "%*c+ for_if_clause[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_for_target"));
18263|      0|            _res = invalid_for_target_var;
18264|      0|            goto done;
18265|      0|        }
18266|      0|        p->mark = _mark;
18267|      0|        D(fprintf(stderr, "%*c%s for_if_clause[%d-%d]: %s failed!\n", p->level, ' ',
18268|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_for_target"));
18269|      0|    }
18270|      9|    _res = NULL;
18271|      9|  done:
18272|      9|    p->level--;
18273|      9|    return _res;
18274|      9|}
parser.c:star_named_expression_rule:
12208|     24|{
12209|     24|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     48|#  define MAXSTACK 6000
  ------------------
  |  Branch (12209:9): [True: 0, False: 24]
  |  Branch (12209:35): [True: 0, False: 24]
  ------------------
12210|      0|        _Pypegen_stack_overflow(p);
12211|      0|    }
12212|     24|    if (p->error_indicator) {
  ------------------
  |  Branch (12212:9): [True: 0, False: 24]
  ------------------
12213|      0|        p->level--;
12214|      0|        return NULL;
12215|      0|    }
12216|     24|    expr_ty _res = NULL;
12217|     24|    int _mark = p->mark;
12218|     24|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12218:9): [True: 9, False: 15]
  |  Branch (12218:31): [True: 0, False: 9]
  ------------------
12219|      0|        p->error_indicator = 1;
12220|      0|        p->level--;
12221|      0|        return NULL;
12222|      0|    }
12223|     24|    int _start_lineno = p->tokens[_mark]->lineno;
12224|     24|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|     24|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 24]
  |  |  ------------------
  ------------------
12225|     24|    int _start_col_offset = p->tokens[_mark]->col_offset;
12226|     24|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|     24|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 24]
  |  |  ------------------
  ------------------
12227|     24|    { // '*' bitwise_or
12228|     24|        if (p->error_indicator) {
  ------------------
  |  Branch (12228:13): [True: 0, False: 24]
  ------------------
12229|      0|            p->level--;
12230|      0|            return NULL;
12231|      0|        }
12232|     24|        D(fprintf(stderr, "%*c> star_named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' bitwise_or"));
12233|     24|        Token * _literal;
12234|     24|        expr_ty a;
12235|     24|        if (
12236|     24|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (12236:13): [True: 0, False: 24]
  ------------------
12237|      0|            &&
12238|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (12238:13): [True: 0, False: 0]
  ------------------
12239|     24|        )
12240|      0|        {
12241|      0|            D(fprintf(stderr, "%*c+ star_named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' bitwise_or"));
12242|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12243|      0|            if (_token == NULL) {
  ------------------
  |  Branch (12243:17): [True: 0, False: 0]
  ------------------
12244|      0|                p->level--;
12245|      0|                return NULL;
12246|      0|            }
12247|      0|            int _end_lineno = _token->end_lineno;
12248|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12249|      0|            int _end_col_offset = _token->end_col_offset;
12250|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12251|      0|            _res = _PyAST_Starred ( a , Load , EXTRA );
  ------------------
  |  |  274|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12252|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12252:18): [True: 0, False: 0]
  |  Branch (12252:34): [True: 0, False: 0]
  |  Branch (12252:57): [True: 0, False: 0]
  ------------------
12253|      0|                p->error_indicator = 1;
12254|      0|                p->level--;
12255|      0|                return NULL;
12256|      0|            }
12257|      0|            goto done;
12258|      0|        }
12259|     24|        p->mark = _mark;
12260|     24|        D(fprintf(stderr, "%*c%s star_named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12261|     24|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' bitwise_or"));
12262|     24|    }
12263|      0|    { // named_expression
12264|     24|        if (p->error_indicator) {
  ------------------
  |  Branch (12264:13): [True: 0, False: 24]
  ------------------
12265|      0|            p->level--;
12266|      0|            return NULL;
12267|      0|        }
12268|     24|        D(fprintf(stderr, "%*c> star_named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "named_expression"));
12269|     24|        expr_ty named_expression_var;
12270|     24|        if (
12271|     24|            (named_expression_var = named_expression_rule(p))  // named_expression
  ------------------
  |  Branch (12271:13): [True: 24, False: 0]
  ------------------
12272|     24|        )
12273|     24|        {
12274|     24|            D(fprintf(stderr, "%*c+ star_named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "named_expression"));
12275|     24|            _res = named_expression_var;
12276|     24|            goto done;
12277|     24|        }
12278|      0|        p->mark = _mark;
12279|      0|        D(fprintf(stderr, "%*c%s star_named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12280|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "named_expression"));
12281|      0|    }
12282|      0|    _res = NULL;
12283|     24|  done:
12284|     24|    p->level--;
12285|     24|    return _res;
12286|      0|}
parser.c:arguments_rule:
18663|      3|{
18664|      3|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      6|#  define MAXSTACK 6000
  ------------------
  |  Branch (18664:9): [True: 0, False: 3]
  |  Branch (18664:35): [True: 0, False: 3]
  ------------------
18665|      0|        _Pypegen_stack_overflow(p);
18666|      0|    }
18667|      3|    if (p->error_indicator) {
  ------------------
  |  Branch (18667:9): [True: 0, False: 3]
  ------------------
18668|      0|        p->level--;
18669|      0|        return NULL;
18670|      0|    }
18671|      3|    expr_ty _res = NULL;
18672|      3|    if (_PyPegen_is_memoized(p, arguments_type, &_res)) {
  ------------------
  |  |  276|      3|#define arguments_type 1187
  ------------------
  |  Branch (18672:9): [True: 0, False: 3]
  ------------------
18673|      0|        p->level--;
18674|      0|        return _res;
18675|      0|    }
18676|      3|    int _mark = p->mark;
18677|      3|    { // args ','? &')'
18678|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (18678:13): [True: 0, False: 3]
  ------------------
18679|      0|            p->level--;
18680|      0|            return NULL;
18681|      0|        }
18682|      3|        D(fprintf(stderr, "%*c> arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "args ','? &')'"));
18683|      3|        void *_opt_var;
18684|      3|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  272|      3|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 3]
  |  |  ------------------
  ------------------
18685|      3|        expr_ty a;
18686|      3|        if (
18687|      3|            (a = args_rule(p))  // args
  ------------------
  |  Branch (18687:13): [True: 3, False: 0]
  ------------------
18688|      3|            &&
18689|      3|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (18689:13): [True: 3, False: 0]
  ------------------
18690|      3|            &&
18691|      3|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 8)  // token=')'
  ------------------
  |  Branch (18691:13): [True: 3, False: 0]
  ------------------
18692|      3|        )
18693|      3|        {
18694|      3|            D(fprintf(stderr, "%*c+ arguments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "args ','? &')'"));
18695|      3|            _res = a;
18696|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18696:18): [True: 0, False: 3]
  |  Branch (18696:34): [True: 0, False: 3]
  |  Branch (18696:57): [True: 0, False: 0]
  ------------------
18697|      0|                p->error_indicator = 1;
18698|      0|                p->level--;
18699|      0|                return NULL;
18700|      0|            }
18701|      3|            goto done;
18702|      3|        }
18703|      0|        p->mark = _mark;
18704|      0|        D(fprintf(stderr, "%*c%s arguments[%d-%d]: %s failed!\n", p->level, ' ',
18705|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "args ','? &')'"));
18706|      0|    }
18707|      0|    if (p->call_invalid_rules) { // invalid_arguments
  ------------------
  |  Branch (18707:9): [True: 0, False: 0]
  ------------------
18708|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (18708:13): [True: 0, False: 0]
  ------------------
18709|      0|            p->level--;
18710|      0|            return NULL;
18711|      0|        }
18712|      0|        D(fprintf(stderr, "%*c> arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_arguments"));
18713|      0|        void *invalid_arguments_var;
18714|      0|        if (
18715|      0|            (invalid_arguments_var = invalid_arguments_rule(p))  // invalid_arguments
  ------------------
  |  Branch (18715:13): [True: 0, False: 0]
  ------------------
18716|      0|        )
18717|      0|        {
18718|      0|            D(fprintf(stderr, "%*c+ arguments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_arguments"));
18719|      0|            _res = invalid_arguments_var;
18720|      0|            goto done;
18721|      0|        }
18722|      0|        p->mark = _mark;
18723|      0|        D(fprintf(stderr, "%*c%s arguments[%d-%d]: %s failed!\n", p->level, ' ',
18724|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_arguments"));
18725|      0|    }
18726|      0|    _res = NULL;
18727|      3|  done:
18728|      3|    _PyPegen_insert_memo(p, _mark, arguments_type, _res);
  ------------------
  |  |  276|      3|#define arguments_type 1187
  ------------------
18729|      3|    p->level--;
18730|      3|    return _res;
18731|      0|}
parser.c:args_rule:
18738|      3|{
18739|      3|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      6|#  define MAXSTACK 6000
  ------------------
  |  Branch (18739:9): [True: 0, False: 3]
  |  Branch (18739:35): [True: 0, False: 3]
  ------------------
18740|      0|        _Pypegen_stack_overflow(p);
18741|      0|    }
18742|      3|    if (p->error_indicator) {
  ------------------
  |  Branch (18742:9): [True: 0, False: 3]
  ------------------
18743|      0|        p->level--;
18744|      0|        return NULL;
18745|      0|    }
18746|      3|    expr_ty _res = NULL;
18747|      3|    int _mark = p->mark;
18748|      3|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18748:9): [True: 0, False: 3]
  |  Branch (18748:31): [True: 0, False: 0]
  ------------------
18749|      0|        p->error_indicator = 1;
18750|      0|        p->level--;
18751|      0|        return NULL;
18752|      0|    }
18753|      3|    int _start_lineno = p->tokens[_mark]->lineno;
18754|      3|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      3|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 3]
  |  |  ------------------
  ------------------
18755|      3|    int _start_col_offset = p->tokens[_mark]->col_offset;
18756|      3|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      3|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 3]
  |  |  ------------------
  ------------------
18757|      3|    { // ','.(starred_expression | (assignment_expression | expression !':=') !'=')+ [',' kwargs]
18758|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (18758:13): [True: 0, False: 3]
  ------------------
18759|      0|            p->level--;
18760|      0|            return NULL;
18761|      0|        }
18762|      3|        D(fprintf(stderr, "%*c> args[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.(starred_expression | (assignment_expression | expression !':=') !'=')+ [',' kwargs]"));
18763|      3|        asdl_expr_seq* a;
18764|      3|        void *b;
18765|      3|        if (
18766|      3|            (a = (asdl_expr_seq*)_gather_91_rule(p))  // ','.(starred_expression | (assignment_expression | expression !':=') !'=')+
  ------------------
  |  Branch (18766:13): [True: 3, False: 0]
  ------------------
18767|      3|            &&
18768|      3|            (b = _tmp_92_rule(p), !p->error_indicator)  // [',' kwargs]
  ------------------
  |  Branch (18768:13): [True: 3, False: 0]
  ------------------
18769|      3|        )
18770|      3|        {
18771|      3|            D(fprintf(stderr, "%*c+ args[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.(starred_expression | (assignment_expression | expression !':=') !'=')+ [',' kwargs]"));
18772|      3|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18773|      3|            if (_token == NULL) {
  ------------------
  |  Branch (18773:17): [True: 0, False: 3]
  ------------------
18774|      0|                p->level--;
18775|      0|                return NULL;
18776|      0|            }
18777|      3|            int _end_lineno = _token->end_lineno;
18778|      3|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      3|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 3]
  |  |  ------------------
  ------------------
18779|      3|            int _end_col_offset = _token->end_col_offset;
18780|      3|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      3|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 3]
  |  |  ------------------
  ------------------
18781|      3|            _res = _PyPegen_collect_call_seqs ( p , a , b , EXTRA );
  ------------------
  |  |  274|      3|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18782|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18782:18): [True: 0, False: 3]
  |  Branch (18782:34): [True: 0, False: 3]
  |  Branch (18782:57): [True: 0, False: 0]
  ------------------
18783|      0|                p->error_indicator = 1;
18784|      0|                p->level--;
18785|      0|                return NULL;
18786|      0|            }
18787|      3|            goto done;
18788|      3|        }
18789|      0|        p->mark = _mark;
18790|      0|        D(fprintf(stderr, "%*c%s args[%d-%d]: %s failed!\n", p->level, ' ',
18791|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.(starred_expression | (assignment_expression | expression !':=') !'=')+ [',' kwargs]"));
18792|      0|    }
18793|      0|    { // kwargs
18794|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (18794:13): [True: 0, False: 0]
  ------------------
18795|      0|            p->level--;
18796|      0|            return NULL;
18797|      0|        }
18798|      0|        D(fprintf(stderr, "%*c> args[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "kwargs"));
18799|      0|        asdl_seq* a;
18800|      0|        if (
18801|      0|            (a = kwargs_rule(p))  // kwargs
  ------------------
  |  Branch (18801:13): [True: 0, False: 0]
  ------------------
18802|      0|        )
18803|      0|        {
18804|      0|            D(fprintf(stderr, "%*c+ args[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "kwargs"));
18805|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18806|      0|            if (_token == NULL) {
  ------------------
  |  Branch (18806:17): [True: 0, False: 0]
  ------------------
18807|      0|                p->level--;
18808|      0|                return NULL;
18809|      0|            }
18810|      0|            int _end_lineno = _token->end_lineno;
18811|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18812|      0|            int _end_col_offset = _token->end_col_offset;
18813|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18814|      0|            _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 );
  ------------------
  |  |  239|      0|#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 );
  ------------------
  |  |  239|      0|#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 );
  ------------------
  |  |  274|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18815|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18815:18): [True: 0, False: 0]
  |  Branch (18815:34): [True: 0, False: 0]
  |  Branch (18815:57): [True: 0, False: 0]
  ------------------
18816|      0|                p->error_indicator = 1;
18817|      0|                p->level--;
18818|      0|                return NULL;
18819|      0|            }
18820|      0|            goto done;
18821|      0|        }
18822|      0|        p->mark = _mark;
18823|      0|        D(fprintf(stderr, "%*c%s args[%d-%d]: %s failed!\n", p->level, ' ',
18824|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "kwargs"));
18825|      0|    }
18826|      0|    _res = NULL;
18827|      3|  done:
18828|      3|    p->level--;
18829|      3|    return _res;
18830|      0|}
parser.c:_gather_91_rule:
34402|      3|{
34403|      3|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      6|#  define MAXSTACK 6000
  ------------------
  |  Branch (34403:9): [True: 0, False: 3]
  |  Branch (34403:35): [True: 0, False: 3]
  ------------------
34404|      0|        _Pypegen_stack_overflow(p);
34405|      0|    }
34406|      3|    if (p->error_indicator) {
  ------------------
  |  Branch (34406:9): [True: 0, False: 3]
  ------------------
34407|      0|        p->level--;
34408|      0|        return NULL;
34409|      0|    }
34410|      3|    asdl_seq * _res = NULL;
34411|      3|    int _mark = p->mark;
34412|      3|    { // (starred_expression | (assignment_expression | expression !':=') !'=') _loop0_90
34413|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (34413:13): [True: 0, False: 3]
  ------------------
34414|      0|            p->level--;
34415|      0|            return NULL;
34416|      0|        }
34417|      3|        D(fprintf(stderr, "%*c> _gather_91[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(starred_expression | (assignment_expression | expression !':=') !'=') _loop0_90"));
34418|      3|        void *elem;
34419|      3|        asdl_seq * seq;
34420|      3|        if (
34421|      3|            (elem = _tmp_167_rule(p))  // starred_expression | (assignment_expression | expression !':=') !'='
  ------------------
  |  Branch (34421:13): [True: 3, False: 0]
  ------------------
34422|      3|            &&
34423|      3|            (seq = _loop0_90_rule(p))  // _loop0_90
  ------------------
  |  Branch (34423:13): [True: 3, False: 0]
  ------------------
34424|      3|        )
34425|      3|        {
34426|      3|            D(fprintf(stderr, "%*c+ _gather_91[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(starred_expression | (assignment_expression | expression !':=') !'=') _loop0_90"));
34427|      3|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
34428|      3|            goto done;
34429|      3|        }
34430|      0|        p->mark = _mark;
34431|      0|        D(fprintf(stderr, "%*c%s _gather_91[%d-%d]: %s failed!\n", p->level, ' ',
34432|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(starred_expression | (assignment_expression | expression !':=') !'=') _loop0_90"));
34433|      0|    }
34434|      0|    _res = NULL;
34435|      3|  done:
34436|      3|    p->level--;
34437|      3|    return _res;
34438|      0|}
parser.c:_tmp_167_rule:
38906|      6|{
38907|      6|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     12|#  define MAXSTACK 6000
  ------------------
  |  Branch (38907:9): [True: 0, False: 6]
  |  Branch (38907:35): [True: 0, False: 6]
  ------------------
38908|      0|        _Pypegen_stack_overflow(p);
38909|      0|    }
38910|      6|    if (p->error_indicator) {
  ------------------
  |  Branch (38910:9): [True: 0, False: 6]
  ------------------
38911|      0|        p->level--;
38912|      0|        return NULL;
38913|      0|    }
38914|      6|    void * _res = NULL;
38915|      6|    int _mark = p->mark;
38916|      6|    { // starred_expression
38917|      6|        if (p->error_indicator) {
  ------------------
  |  Branch (38917:13): [True: 0, False: 6]
  ------------------
38918|      0|            p->level--;
38919|      0|            return NULL;
38920|      0|        }
38921|      6|        D(fprintf(stderr, "%*c> _tmp_167[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "starred_expression"));
38922|      6|        expr_ty starred_expression_var;
38923|      6|        if (
38924|      6|            (starred_expression_var = starred_expression_rule(p))  // starred_expression
  ------------------
  |  Branch (38924:13): [True: 0, False: 6]
  ------------------
38925|      6|        )
38926|      0|        {
38927|      0|            D(fprintf(stderr, "%*c+ _tmp_167[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "starred_expression"));
38928|      0|            _res = starred_expression_var;
38929|      0|            goto done;
38930|      0|        }
38931|      6|        p->mark = _mark;
38932|      6|        D(fprintf(stderr, "%*c%s _tmp_167[%d-%d]: %s failed!\n", p->level, ' ',
38933|      6|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "starred_expression"));
38934|      6|    }
38935|      0|    { // (assignment_expression | expression !':=') !'='
38936|      6|        if (p->error_indicator) {
  ------------------
  |  Branch (38936:13): [True: 0, False: 6]
  ------------------
38937|      0|            p->level--;
38938|      0|            return NULL;
38939|      0|        }
38940|      6|        D(fprintf(stderr, "%*c> _tmp_167[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(assignment_expression | expression !':=') !'='"));
38941|      6|        void *_tmp_178_var;
38942|      6|        if (
38943|      6|            (_tmp_178_var = _tmp_178_rule(p))  // assignment_expression | expression !':='
  ------------------
  |  Branch (38943:13): [True: 6, False: 0]
  ------------------
38944|      6|            &&
38945|      6|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 22)  // token='='
  ------------------
  |  Branch (38945:13): [True: 6, False: 0]
  ------------------
38946|      6|        )
38947|      6|        {
38948|      6|            D(fprintf(stderr, "%*c+ _tmp_167[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(assignment_expression | expression !':=') !'='"));
38949|      6|            _res = _tmp_178_var;
38950|      6|            goto done;
38951|      6|        }
38952|      0|        p->mark = _mark;
38953|      0|        D(fprintf(stderr, "%*c%s _tmp_167[%d-%d]: %s failed!\n", p->level, ' ',
38954|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(assignment_expression | expression !':=') !'='"));
38955|      0|    }
38956|      0|    _res = NULL;
38957|      6|  done:
38958|      6|    p->level--;
38959|      6|    return _res;
38960|      0|}
parser.c:_tmp_178_rule:
39496|      6|{
39497|      6|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     12|#  define MAXSTACK 6000
  ------------------
  |  Branch (39497:9): [True: 0, False: 6]
  |  Branch (39497:35): [True: 0, False: 6]
  ------------------
39498|      0|        _Pypegen_stack_overflow(p);
39499|      0|    }
39500|      6|    if (p->error_indicator) {
  ------------------
  |  Branch (39500:9): [True: 0, False: 6]
  ------------------
39501|      0|        p->level--;
39502|      0|        return NULL;
39503|      0|    }
39504|      6|    void * _res = NULL;
39505|      6|    int _mark = p->mark;
39506|      6|    { // assignment_expression
39507|      6|        if (p->error_indicator) {
  ------------------
  |  Branch (39507:13): [True: 0, False: 6]
  ------------------
39508|      0|            p->level--;
39509|      0|            return NULL;
39510|      0|        }
39511|      6|        D(fprintf(stderr, "%*c> _tmp_178[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
39512|      6|        expr_ty assignment_expression_var;
39513|      6|        if (
39514|      6|            (assignment_expression_var = assignment_expression_rule(p))  // assignment_expression
  ------------------
  |  Branch (39514:13): [True: 0, False: 6]
  ------------------
39515|      6|        )
39516|      0|        {
39517|      0|            D(fprintf(stderr, "%*c+ _tmp_178[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
39518|      0|            _res = assignment_expression_var;
39519|      0|            goto done;
39520|      0|        }
39521|      6|        p->mark = _mark;
39522|      6|        D(fprintf(stderr, "%*c%s _tmp_178[%d-%d]: %s failed!\n", p->level, ' ',
39523|      6|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "assignment_expression"));
39524|      6|    }
39525|      0|    { // expression !':='
39526|      6|        if (p->error_indicator) {
  ------------------
  |  Branch (39526:13): [True: 0, False: 6]
  ------------------
39527|      0|            p->level--;
39528|      0|            return NULL;
39529|      0|        }
39530|      6|        D(fprintf(stderr, "%*c> _tmp_178[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression !':='"));
39531|      6|        expr_ty expression_var;
39532|      6|        if (
39533|      6|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (39533:13): [True: 6, False: 0]
  ------------------
39534|      6|            &&
39535|      6|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 53)  // token=':='
  ------------------
  |  Branch (39535:13): [True: 6, False: 0]
  ------------------
39536|      6|        )
39537|      6|        {
39538|      6|            D(fprintf(stderr, "%*c+ _tmp_178[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression !':='"));
39539|      6|            _res = expression_var;
39540|      6|            goto done;
39541|      6|        }
39542|      0|        p->mark = _mark;
39543|      0|        D(fprintf(stderr, "%*c%s _tmp_178[%d-%d]: %s failed!\n", p->level, ' ',
39544|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression !':='"));
39545|      0|    }
39546|      0|    _res = NULL;
39547|      6|  done:
39548|      6|    p->level--;
39549|      6|    return _res;
39550|      0|}
parser.c:_loop0_90_rule:
34325|      3|{
34326|      3|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      6|#  define MAXSTACK 6000
  ------------------
  |  Branch (34326:9): [True: 0, False: 3]
  |  Branch (34326:35): [True: 0, False: 3]
  ------------------
34327|      0|        _Pypegen_stack_overflow(p);
34328|      0|    }
34329|      3|    if (p->error_indicator) {
  ------------------
  |  Branch (34329:9): [True: 0, False: 3]
  ------------------
34330|      0|        p->level--;
34331|      0|        return NULL;
34332|      0|    }
34333|      3|    void *_res = NULL;
34334|      3|    int _mark = p->mark;
34335|      3|    void **_children = PyMem_Malloc(sizeof(void *));
34336|      3|    if (!_children) {
  ------------------
  |  Branch (34336:9): [True: 0, False: 3]
  ------------------
34337|      0|        p->error_indicator = 1;
34338|      0|        PyErr_NoMemory();
34339|      0|        p->level--;
34340|      0|        return NULL;
34341|      0|    }
34342|      3|    Py_ssize_t _children_capacity = 1;
34343|      3|    Py_ssize_t _n = 0;
34344|      3|    { // ',' (starred_expression | (assignment_expression | expression !':=') !'=')
34345|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (34345:13): [True: 0, False: 3]
  ------------------
34346|      0|            p->level--;
34347|      0|            return NULL;
34348|      0|        }
34349|      3|        D(fprintf(stderr, "%*c> _loop0_90[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' (starred_expression | (assignment_expression | expression !':=') !'=')"));
34350|      3|        Token * _literal;
34351|      3|        void *elem;
34352|      3|        while (
34353|      6|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (34353:13): [True: 3, False: 3]
  ------------------
34354|      3|            &&
34355|      3|            (elem = _tmp_167_rule(p))  // starred_expression | (assignment_expression | expression !':=') !'='
  ------------------
  |  Branch (34355:13): [True: 3, False: 0]
  ------------------
34356|      3|        )
34357|      3|        {
34358|      3|            _res = elem;
34359|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (34359:18): [True: 0, False: 3]
  |  Branch (34359:34): [True: 0, False: 3]
  |  Branch (34359:57): [True: 0, False: 0]
  ------------------
34360|      0|                p->error_indicator = 1;
34361|      0|                PyMem_Free(_children);
34362|      0|                p->level--;
34363|      0|                return NULL;
34364|      0|            }
34365|      3|            if (_n == _children_capacity) {
  ------------------
  |  Branch (34365:17): [True: 0, False: 3]
  ------------------
34366|      0|                _children_capacity *= 2;
34367|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
34368|      0|                if (!_new_children) {
  ------------------
  |  Branch (34368:21): [True: 0, False: 0]
  ------------------
34369|      0|                    PyMem_Free(_children);
34370|      0|                    p->error_indicator = 1;
34371|      0|                    PyErr_NoMemory();
34372|      0|                    p->level--;
34373|      0|                    return NULL;
34374|      0|                }
34375|      0|                _children = _new_children;
34376|      0|            }
34377|      3|            _children[_n++] = _res;
34378|      3|            _mark = p->mark;
34379|      3|        }
34380|      3|        p->mark = _mark;
34381|      3|        D(fprintf(stderr, "%*c%s _loop0_90[%d-%d]: %s failed!\n", p->level, ' ',
34382|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' (starred_expression | (assignment_expression | expression !':=') !'=')"));
34383|      3|    }
34384|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
34385|      3|    if (!_seq) {
  ------------------
  |  Branch (34385:9): [True: 0, False: 3]
  ------------------
34386|      0|        PyMem_Free(_children);
34387|      0|        p->error_indicator = 1;
34388|      0|        PyErr_NoMemory();
34389|      0|        p->level--;
34390|      0|        return NULL;
34391|      0|    }
34392|      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 (34392:28): [True: 3, False: 3]
  ------------------
34393|      3|    PyMem_Free(_children);
34394|      3|    p->level--;
34395|      3|    return _seq;
34396|      3|}
parser.c:_tmp_92_rule:
34443|      3|{
34444|      3|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      6|#  define MAXSTACK 6000
  ------------------
  |  Branch (34444:9): [True: 0, False: 3]
  |  Branch (34444:35): [True: 0, False: 3]
  ------------------
34445|      0|        _Pypegen_stack_overflow(p);
34446|      0|    }
34447|      3|    if (p->error_indicator) {
  ------------------
  |  Branch (34447:9): [True: 0, False: 3]
  ------------------
34448|      0|        p->level--;
34449|      0|        return NULL;
34450|      0|    }
34451|      3|    void * _res = NULL;
34452|      3|    int _mark = p->mark;
34453|      3|    { // ',' kwargs
34454|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (34454:13): [True: 0, False: 3]
  ------------------
34455|      0|            p->level--;
34456|      0|            return NULL;
34457|      0|        }
34458|      3|        D(fprintf(stderr, "%*c> _tmp_92[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' kwargs"));
34459|      3|        Token * _literal;
34460|      3|        asdl_seq* k;
34461|      3|        if (
34462|      3|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (34462:13): [True: 0, False: 3]
  ------------------
34463|      0|            &&
34464|      0|            (k = kwargs_rule(p))  // kwargs
  ------------------
  |  Branch (34464:13): [True: 0, False: 0]
  ------------------
34465|      3|        )
34466|      0|        {
34467|      0|            D(fprintf(stderr, "%*c+ _tmp_92[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "',' kwargs"));
34468|      0|            _res = k;
34469|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (34469:18): [True: 0, False: 0]
  |  Branch (34469:34): [True: 0, False: 0]
  |  Branch (34469:57): [True: 0, False: 0]
  ------------------
34470|      0|                p->error_indicator = 1;
34471|      0|                p->level--;
34472|      0|                return NULL;
34473|      0|            }
34474|      0|            goto done;
34475|      0|        }
34476|      3|        p->mark = _mark;
34477|      3|        D(fprintf(stderr, "%*c%s _tmp_92[%d-%d]: %s failed!\n", p->level, ' ',
34478|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' kwargs"));
34479|      3|    }
34480|      3|    _res = NULL;
34481|      3|  done:
34482|      3|    p->level--;
34483|      3|    return _res;
34484|      3|}
parser.c:atom_rule:
15358|     45|{
15359|     45|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     90|#  define MAXSTACK 6000
  ------------------
  |  Branch (15359:9): [True: 0, False: 45]
  |  Branch (15359:35): [True: 0, False: 45]
  ------------------
15360|      0|        _Pypegen_stack_overflow(p);
15361|      0|    }
15362|     45|    if (p->error_indicator) {
  ------------------
  |  Branch (15362:9): [True: 0, False: 45]
  ------------------
15363|      0|        p->level--;
15364|      0|        return NULL;
15365|      0|    }
15366|     45|    expr_ty _res = NULL;
15367|     45|    int _mark = p->mark;
15368|     45|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (15368:9): [True: 0, False: 45]
  |  Branch (15368:31): [True: 0, False: 0]
  ------------------
15369|      0|        p->error_indicator = 1;
15370|      0|        p->level--;
15371|      0|        return NULL;
15372|      0|    }
15373|     45|    int _start_lineno = p->tokens[_mark]->lineno;
15374|     45|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|     45|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 45]
  |  |  ------------------
  ------------------
15375|     45|    int _start_col_offset = p->tokens[_mark]->col_offset;
15376|     45|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|     45|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 45]
  |  |  ------------------
  ------------------
15377|     45|    { // NAME
15378|     45|        if (p->error_indicator) {
  ------------------
  |  Branch (15378:13): [True: 0, False: 45]
  ------------------
15379|      0|            p->level--;
15380|      0|            return NULL;
15381|      0|        }
15382|     45|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME"));
15383|     45|        expr_ty name_var;
15384|     45|        if (
15385|     45|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (15385:13): [True: 36, False: 9]
  ------------------
15386|     45|        )
15387|     36|        {
15388|     36|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME"));
15389|     36|            _res = name_var;
15390|     36|            goto done;
15391|     36|        }
15392|      9|        p->mark = _mark;
15393|      9|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15394|      9|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME"));
15395|      9|    }
15396|      0|    { // 'True'
15397|      9|        if (p->error_indicator) {
  ------------------
  |  Branch (15397:13): [True: 0, False: 9]
  ------------------
15398|      0|            p->level--;
15399|      0|            return NULL;
15400|      0|        }
15401|      9|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'True'"));
15402|      9|        Token * _keyword;
15403|      9|        if (
15404|      9|            (_keyword = _PyPegen_expect_token(p, 627))  // token='True'
  ------------------
  |  Branch (15404:13): [True: 0, False: 9]
  ------------------
15405|      9|        )
15406|      0|        {
15407|      0|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'True'"));
15408|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15409|      0|            if (_token == NULL) {
  ------------------
  |  Branch (15409:17): [True: 0, False: 0]
  ------------------
15410|      0|                p->level--;
15411|      0|                return NULL;
15412|      0|            }
15413|      0|            int _end_lineno = _token->end_lineno;
15414|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
15415|      0|            int _end_col_offset = _token->end_col_offset;
15416|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
15417|      0|            _res = _PyAST_Constant ( Py_True , NULL , 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_Constant ( Py_True , NULL , EXTRA );
  ------------------
  |  |  274|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15418|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15418:18): [True: 0, False: 0]
  |  Branch (15418:34): [True: 0, False: 0]
  |  Branch (15418:57): [True: 0, False: 0]
  ------------------
15419|      0|                p->error_indicator = 1;
15420|      0|                p->level--;
15421|      0|                return NULL;
15422|      0|            }
15423|      0|            goto done;
15424|      0|        }
15425|      9|        p->mark = _mark;
15426|      9|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15427|      9|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'True'"));
15428|      9|    }
15429|      0|    { // 'False'
15430|      9|        if (p->error_indicator) {
  ------------------
  |  Branch (15430:13): [True: 0, False: 9]
  ------------------
15431|      0|            p->level--;
15432|      0|            return NULL;
15433|      0|        }
15434|      9|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'False'"));
15435|      9|        Token * _keyword;
15436|      9|        if (
15437|      9|            (_keyword = _PyPegen_expect_token(p, 629))  // token='False'
  ------------------
  |  Branch (15437:13): [True: 0, False: 9]
  ------------------
15438|      9|        )
15439|      0|        {
15440|      0|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'False'"));
15441|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15442|      0|            if (_token == NULL) {
  ------------------
  |  Branch (15442:17): [True: 0, False: 0]
  ------------------
15443|      0|                p->level--;
15444|      0|                return NULL;
15445|      0|            }
15446|      0|            int _end_lineno = _token->end_lineno;
15447|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
15448|      0|            int _end_col_offset = _token->end_col_offset;
15449|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
15450|      0|            _res = _PyAST_Constant ( Py_False , NULL , 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_Constant ( Py_False , NULL , EXTRA );
  ------------------
  |  |  274|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15451|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15451:18): [True: 0, False: 0]
  |  Branch (15451:34): [True: 0, False: 0]
  |  Branch (15451:57): [True: 0, False: 0]
  ------------------
15452|      0|                p->error_indicator = 1;
15453|      0|                p->level--;
15454|      0|                return NULL;
15455|      0|            }
15456|      0|            goto done;
15457|      0|        }
15458|      9|        p->mark = _mark;
15459|      9|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15460|      9|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'False'"));
15461|      9|    }
15462|      0|    { // 'None'
15463|      9|        if (p->error_indicator) {
  ------------------
  |  Branch (15463:13): [True: 0, False: 9]
  ------------------
15464|      0|            p->level--;
15465|      0|            return NULL;
15466|      0|        }
15467|      9|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'None'"));
15468|      9|        Token * _keyword;
15469|      9|        if (
15470|      9|            (_keyword = _PyPegen_expect_token(p, 628))  // token='None'
  ------------------
  |  Branch (15470:13): [True: 0, False: 9]
  ------------------
15471|      9|        )
15472|      0|        {
15473|      0|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'None'"));
15474|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15475|      0|            if (_token == NULL) {
  ------------------
  |  Branch (15475:17): [True: 0, False: 0]
  ------------------
15476|      0|                p->level--;
15477|      0|                return NULL;
15478|      0|            }
15479|      0|            int _end_lineno = _token->end_lineno;
15480|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
15481|      0|            int _end_col_offset = _token->end_col_offset;
15482|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
15483|      0|            _res = _PyAST_Constant ( Py_None , NULL , EXTRA );
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
                          _res = _PyAST_Constant ( Py_None , NULL , EXTRA );
  ------------------
  |  |  274|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15484|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15484:18): [True: 0, False: 0]
  |  Branch (15484:34): [True: 0, False: 0]
  |  Branch (15484:57): [True: 0, False: 0]
  ------------------
15485|      0|                p->error_indicator = 1;
15486|      0|                p->level--;
15487|      0|                return NULL;
15488|      0|            }
15489|      0|            goto done;
15490|      0|        }
15491|      9|        p->mark = _mark;
15492|      9|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15493|      9|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'None'"));
15494|      9|    }
15495|      0|    { // &(STRING | FSTRING_START | TSTRING_START) strings
15496|      9|        if (p->error_indicator) {
  ------------------
  |  Branch (15496:13): [True: 0, False: 9]
  ------------------
15497|      0|            p->level--;
15498|      0|            return NULL;
15499|      0|        }
15500|      9|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&(STRING | FSTRING_START | TSTRING_START) strings"));
15501|      9|        expr_ty strings_var;
15502|      9|        if (
15503|      9|            _PyPegen_lookahead(1, _tmp_42_rule, p)
  ------------------
  |  Branch (15503:13): [True: 0, False: 9]
  ------------------
15504|      0|            &&
15505|      0|            (strings_var = strings_rule(p))  // strings
  ------------------
  |  Branch (15505:13): [True: 0, False: 0]
  ------------------
15506|      9|        )
15507|      0|        {
15508|      0|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&(STRING | FSTRING_START | TSTRING_START) strings"));
15509|      0|            _res = strings_var;
15510|      0|            goto done;
15511|      0|        }
15512|      9|        p->mark = _mark;
15513|      9|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15514|      9|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&(STRING | FSTRING_START | TSTRING_START) strings"));
15515|      9|    }
15516|      0|    { // NUMBER
15517|      9|        if (p->error_indicator) {
  ------------------
  |  Branch (15517:13): [True: 0, False: 9]
  ------------------
15518|      0|            p->level--;
15519|      0|            return NULL;
15520|      0|        }
15521|      9|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NUMBER"));
15522|      9|        expr_ty number_var;
15523|      9|        if (
15524|      9|            (number_var = _PyPegen_number_token(p))  // NUMBER
  ------------------
  |  Branch (15524:13): [True: 0, False: 9]
  ------------------
15525|      9|        )
15526|      0|        {
15527|      0|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NUMBER"));
15528|      0|            _res = number_var;
15529|      0|            goto done;
15530|      0|        }
15531|      9|        p->mark = _mark;
15532|      9|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15533|      9|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NUMBER"));
15534|      9|    }
15535|      0|    { // &'(' (genexp | tuple | group)
15536|      9|        if (p->error_indicator) {
  ------------------
  |  Branch (15536:13): [True: 0, False: 9]
  ------------------
15537|      0|            p->level--;
15538|      0|            return NULL;
15539|      0|        }
15540|      9|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'(' (genexp | tuple | group)"));
15541|      9|        void *_tmp_68_var;
15542|      9|        if (
15543|      9|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 7)  // token='('
  ------------------
  |  Branch (15543:13): [True: 6, False: 3]
  ------------------
15544|      6|            &&
15545|      6|            (_tmp_68_var = _tmp_68_rule(p))  // genexp | tuple | group
  ------------------
  |  Branch (15545:13): [True: 6, False: 0]
  ------------------
15546|      9|        )
15547|      6|        {
15548|      6|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'(' (genexp | tuple | group)"));
15549|      6|            _res = _tmp_68_var;
15550|      6|            goto done;
15551|      6|        }
15552|      3|        p->mark = _mark;
15553|      3|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15554|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'(' (genexp | tuple | group)"));
15555|      3|    }
15556|      0|    { // &'[' (listcomp | list)
15557|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (15557:13): [True: 0, False: 3]
  ------------------
15558|      0|            p->level--;
15559|      0|            return NULL;
15560|      0|        }
15561|      3|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'[' (listcomp | list)"));
15562|      3|        void *_tmp_69_var;
15563|      3|        if (
15564|      3|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 9)  // token='['
  ------------------
  |  Branch (15564:13): [True: 0, False: 3]
  ------------------
15565|      0|            &&
15566|      0|            (_tmp_69_var = _tmp_69_rule(p))  // listcomp | list
  ------------------
  |  Branch (15566:13): [True: 0, False: 0]
  ------------------
15567|      3|        )
15568|      0|        {
15569|      0|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'[' (listcomp | list)"));
15570|      0|            _res = _tmp_69_var;
15571|      0|            goto done;
15572|      0|        }
15573|      3|        p->mark = _mark;
15574|      3|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15575|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'[' (listcomp | list)"));
15576|      3|    }
15577|      0|    { // &'{' (dictcomp | setcomp | dict | set)
15578|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (15578:13): [True: 0, False: 3]
  ------------------
15579|      0|            p->level--;
15580|      0|            return NULL;
15581|      0|        }
15582|      3|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'{' (dictcomp | setcomp | dict | set)"));
15583|      3|        void *_tmp_70_var;
15584|      3|        if (
15585|      3|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 25)  // token='{'
  ------------------
  |  Branch (15585:13): [True: 0, False: 3]
  ------------------
15586|      0|            &&
15587|      0|            (_tmp_70_var = _tmp_70_rule(p))  // dictcomp | setcomp | dict | set
  ------------------
  |  Branch (15587:13): [True: 0, False: 0]
  ------------------
15588|      3|        )
15589|      0|        {
15590|      0|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'{' (dictcomp | setcomp | dict | set)"));
15591|      0|            _res = _tmp_70_var;
15592|      0|            goto done;
15593|      0|        }
15594|      3|        p->mark = _mark;
15595|      3|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15596|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'{' (dictcomp | setcomp | dict | set)"));
15597|      3|    }
15598|      0|    { // '...'
15599|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (15599:13): [True: 0, False: 3]
  ------------------
15600|      0|            p->level--;
15601|      0|            return NULL;
15602|      0|        }
15603|      3|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'...'"));
15604|      3|        Token * _literal;
15605|      3|        if (
15606|      3|            (_literal = _PyPegen_expect_token(p, 52))  // token='...'
  ------------------
  |  Branch (15606:13): [True: 0, False: 3]
  ------------------
15607|      3|        )
15608|      0|        {
15609|      0|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'...'"));
15610|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15611|      0|            if (_token == NULL) {
  ------------------
  |  Branch (15611:17): [True: 0, False: 0]
  ------------------
15612|      0|                p->level--;
15613|      0|                return NULL;
15614|      0|            }
15615|      0|            int _end_lineno = _token->end_lineno;
15616|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
15617|      0|            int _end_col_offset = _token->end_col_offset;
15618|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
15619|      0|            _res = _PyAST_Constant ( Py_Ellipsis , NULL , EXTRA );
  ------------------
  |  |   14|      0|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
                          _res = _PyAST_Constant ( Py_Ellipsis , NULL , EXTRA );
  ------------------
  |  |  274|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15620|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15620:18): [True: 0, False: 0]
  |  Branch (15620:34): [True: 0, False: 0]
  |  Branch (15620:57): [True: 0, False: 0]
  ------------------
15621|      0|                p->error_indicator = 1;
15622|      0|                p->level--;
15623|      0|                return NULL;
15624|      0|            }
15625|      0|            goto done;
15626|      0|        }
15627|      3|        p->mark = _mark;
15628|      3|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15629|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'...'"));
15630|      3|    }
15631|      3|    _res = NULL;
15632|     45|  done:
15633|     45|    p->level--;
15634|     45|    return _res;
15635|      3|}
parser.c:_tmp_42_rule:
31234|      9|{
31235|      9|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     18|#  define MAXSTACK 6000
  ------------------
  |  Branch (31235:9): [True: 0, False: 9]
  |  Branch (31235:35): [True: 0, False: 9]
  ------------------
31236|      0|        _Pypegen_stack_overflow(p);
31237|      0|    }
31238|      9|    if (p->error_indicator) {
  ------------------
  |  Branch (31238:9): [True: 0, False: 9]
  ------------------
31239|      0|        p->level--;
31240|      0|        return NULL;
31241|      0|    }
31242|      9|    void * _res = NULL;
31243|      9|    int _mark = p->mark;
31244|      9|    { // STRING
31245|      9|        if (p->error_indicator) {
  ------------------
  |  Branch (31245:13): [True: 0, False: 9]
  ------------------
31246|      0|            p->level--;
31247|      0|            return NULL;
31248|      0|        }
31249|      9|        D(fprintf(stderr, "%*c> _tmp_42[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "STRING"));
31250|      9|        expr_ty string_var;
31251|      9|        if (
31252|      9|            (string_var = _PyPegen_string_token(p))  // STRING
  ------------------
  |  Branch (31252:13): [True: 0, False: 9]
  ------------------
31253|      9|        )
31254|      0|        {
31255|      0|            D(fprintf(stderr, "%*c+ _tmp_42[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "STRING"));
31256|      0|            _res = string_var;
31257|      0|            goto done;
31258|      0|        }
31259|      9|        p->mark = _mark;
31260|      9|        D(fprintf(stderr, "%*c%s _tmp_42[%d-%d]: %s failed!\n", p->level, ' ',
31261|      9|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "STRING"));
31262|      9|    }
31263|      0|    { // FSTRING_START
31264|      9|        if (p->error_indicator) {
  ------------------
  |  Branch (31264:13): [True: 0, False: 9]
  ------------------
31265|      0|            p->level--;
31266|      0|            return NULL;
31267|      0|        }
31268|      9|        D(fprintf(stderr, "%*c> _tmp_42[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "FSTRING_START"));
31269|      9|        Token * fstring_start_var;
31270|      9|        if (
31271|      9|            (fstring_start_var = _PyPegen_expect_token(p, FSTRING_START))  // token='FSTRING_START'
  ------------------
  |  |   75|      9|#define FSTRING_START   59
  ------------------
  |  Branch (31271:13): [True: 0, False: 9]
  ------------------
31272|      9|        )
31273|      0|        {
31274|      0|            D(fprintf(stderr, "%*c+ _tmp_42[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "FSTRING_START"));
31275|      0|            _res = fstring_start_var;
31276|      0|            goto done;
31277|      0|        }
31278|      9|        p->mark = _mark;
31279|      9|        D(fprintf(stderr, "%*c%s _tmp_42[%d-%d]: %s failed!\n", p->level, ' ',
31280|      9|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "FSTRING_START"));
31281|      9|    }
31282|      0|    { // TSTRING_START
31283|      9|        if (p->error_indicator) {
  ------------------
  |  Branch (31283:13): [True: 0, False: 9]
  ------------------
31284|      0|            p->level--;
31285|      0|            return NULL;
31286|      0|        }
31287|      9|        D(fprintf(stderr, "%*c> _tmp_42[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "TSTRING_START"));
31288|      9|        Token * tstring_start_var;
31289|      9|        if (
31290|      9|            (tstring_start_var = _PyPegen_expect_token(p, TSTRING_START))  // token='TSTRING_START'
  ------------------
  |  |   78|      9|#define TSTRING_START   62
  ------------------
  |  Branch (31290:13): [True: 0, False: 9]
  ------------------
31291|      9|        )
31292|      0|        {
31293|      0|            D(fprintf(stderr, "%*c+ _tmp_42[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "TSTRING_START"));
31294|      0|            _res = tstring_start_var;
31295|      0|            goto done;
31296|      0|        }
31297|      9|        p->mark = _mark;
31298|      9|        D(fprintf(stderr, "%*c%s _tmp_42[%d-%d]: %s failed!\n", p->level, ' ',
31299|      9|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "TSTRING_START"));
31300|      9|    }
31301|      9|    _res = NULL;
31302|      9|  done:
31303|      9|    p->level--;
31304|      9|    return _res;
31305|      9|}
parser.c:_tmp_68_rule:
32828|      6|{
32829|      6|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     12|#  define MAXSTACK 6000
  ------------------
  |  Branch (32829:9): [True: 0, False: 6]
  |  Branch (32829:35): [True: 0, False: 6]
  ------------------
32830|      0|        _Pypegen_stack_overflow(p);
32831|      0|    }
32832|      6|    if (p->error_indicator) {
  ------------------
  |  Branch (32832:9): [True: 0, False: 6]
  ------------------
32833|      0|        p->level--;
32834|      0|        return NULL;
32835|      0|    }
32836|      6|    void * _res = NULL;
32837|      6|    int _mark = p->mark;
32838|      6|    { // genexp
32839|      6|        if (p->error_indicator) {
  ------------------
  |  Branch (32839:13): [True: 0, False: 6]
  ------------------
32840|      0|            p->level--;
32841|      0|            return NULL;
32842|      0|        }
32843|      6|        D(fprintf(stderr, "%*c> _tmp_68[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "genexp"));
32844|      6|        expr_ty genexp_var;
32845|      6|        if (
32846|      6|            (genexp_var = genexp_rule(p))  // genexp
  ------------------
  |  Branch (32846:13): [True: 0, False: 6]
  ------------------
32847|      6|        )
32848|      0|        {
32849|      0|            D(fprintf(stderr, "%*c+ _tmp_68[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "genexp"));
32850|      0|            _res = genexp_var;
32851|      0|            goto done;
32852|      0|        }
32853|      6|        p->mark = _mark;
32854|      6|        D(fprintf(stderr, "%*c%s _tmp_68[%d-%d]: %s failed!\n", p->level, ' ',
32855|      6|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "genexp"));
32856|      6|    }
32857|      0|    { // tuple
32858|      6|        if (p->error_indicator) {
  ------------------
  |  Branch (32858:13): [True: 0, False: 6]
  ------------------
32859|      0|            p->level--;
32860|      0|            return NULL;
32861|      0|        }
32862|      6|        D(fprintf(stderr, "%*c> _tmp_68[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tuple"));
32863|      6|        expr_ty tuple_var;
32864|      6|        if (
32865|      6|            (tuple_var = tuple_rule(p))  // tuple
  ------------------
  |  Branch (32865:13): [True: 6, False: 0]
  ------------------
32866|      6|        )
32867|      6|        {
32868|      6|            D(fprintf(stderr, "%*c+ _tmp_68[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "tuple"));
32869|      6|            _res = tuple_var;
32870|      6|            goto done;
32871|      6|        }
32872|      0|        p->mark = _mark;
32873|      0|        D(fprintf(stderr, "%*c%s _tmp_68[%d-%d]: %s failed!\n", p->level, ' ',
32874|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tuple"));
32875|      0|    }
32876|      0|    { // group
32877|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (32877:13): [True: 0, False: 0]
  ------------------
32878|      0|            p->level--;
32879|      0|            return NULL;
32880|      0|        }
32881|      0|        D(fprintf(stderr, "%*c> _tmp_68[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "group"));
32882|      0|        expr_ty group_var;
32883|      0|        if (
32884|      0|            (group_var = group_rule(p))  // group
  ------------------
  |  Branch (32884:13): [True: 0, False: 0]
  ------------------
32885|      0|        )
32886|      0|        {
32887|      0|            D(fprintf(stderr, "%*c+ _tmp_68[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "group"));
32888|      0|            _res = group_var;
32889|      0|            goto done;
32890|      0|        }
32891|      0|        p->mark = _mark;
32892|      0|        D(fprintf(stderr, "%*c%s _tmp_68[%d-%d]: %s failed!\n", p->level, ' ',
32893|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "group"));
32894|      0|    }
32895|      0|    _res = NULL;
32896|      6|  done:
32897|      6|    p->level--;
32898|      6|    return _res;
32899|      0|}
parser.c:tuple_rule:
17699|      6|{
17700|      6|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     12|#  define MAXSTACK 6000
  ------------------
  |  Branch (17700:9): [True: 0, False: 6]
  |  Branch (17700:35): [True: 0, False: 6]
  ------------------
17701|      0|        _Pypegen_stack_overflow(p);
17702|      0|    }
17703|      6|    if (p->error_indicator) {
  ------------------
  |  Branch (17703:9): [True: 0, False: 6]
  ------------------
17704|      0|        p->level--;
17705|      0|        return NULL;
17706|      0|    }
17707|      6|    expr_ty _res = NULL;
17708|      6|    int _mark = p->mark;
17709|      6|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (17709:9): [True: 0, False: 6]
  |  Branch (17709:31): [True: 0, False: 0]
  ------------------
17710|      0|        p->error_indicator = 1;
17711|      0|        p->level--;
17712|      0|        return NULL;
17713|      0|    }
17714|      6|    int _start_lineno = p->tokens[_mark]->lineno;
17715|      6|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      6|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 6]
  |  |  ------------------
  ------------------
17716|      6|    int _start_col_offset = p->tokens[_mark]->col_offset;
17717|      6|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      6|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 6]
  |  |  ------------------
  ------------------
17718|      6|    { // '(' [star_named_expression_sequence ',' star_named_expressions_sequence?] ')'
17719|      6|        if (p->error_indicator) {
  ------------------
  |  Branch (17719:13): [True: 0, False: 6]
  ------------------
17720|      0|            p->level--;
17721|      0|            return NULL;
17722|      0|        }
17723|      6|        D(fprintf(stderr, "%*c> tuple[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' [star_named_expression_sequence ',' star_named_expressions_sequence?] ')'"));
17724|      6|        Token * _literal;
17725|      6|        Token * _literal_1;
17726|      6|        void *a;
17727|      6|        if (
17728|      6|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (17728:13): [True: 6, False: 0]
  ------------------
17729|      6|            &&
17730|      6|            (a = _tmp_84_rule(p), !p->error_indicator)  // [star_named_expression_sequence ',' star_named_expressions_sequence?]
  ------------------
  |  Branch (17730:13): [True: 6, False: 0]
  ------------------
17731|      6|            &&
17732|      6|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (17732:13): [True: 6, False: 0]
  ------------------
17733|      6|        )
17734|      6|        {
17735|      6|            D(fprintf(stderr, "%*c+ tuple[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' [star_named_expression_sequence ',' star_named_expressions_sequence?] ')'"));
17736|      6|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17737|      6|            if (_token == NULL) {
  ------------------
  |  Branch (17737:17): [True: 0, False: 6]
  ------------------
17738|      0|                p->level--;
17739|      0|                return NULL;
17740|      0|            }
17741|      6|            int _end_lineno = _token->end_lineno;
17742|      6|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      6|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 6]
  |  |  ------------------
  ------------------
17743|      6|            int _end_col_offset = _token->end_col_offset;
17744|      6|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      6|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 6]
  |  |  ------------------
  ------------------
17745|      6|            _res = _PyAST_Tuple ( a , Load , EXTRA );
  ------------------
  |  |  274|      6|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17746|      6|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17746:18): [True: 0, False: 6]
  |  Branch (17746:34): [True: 0, False: 6]
  |  Branch (17746:57): [True: 0, False: 0]
  ------------------
17747|      0|                p->error_indicator = 1;
17748|      0|                p->level--;
17749|      0|                return NULL;
17750|      0|            }
17751|      6|            goto done;
17752|      6|        }
17753|      0|        p->mark = _mark;
17754|      0|        D(fprintf(stderr, "%*c%s tuple[%d-%d]: %s failed!\n", p->level, ' ',
17755|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' [star_named_expression_sequence ',' star_named_expressions_sequence?] ')'"));
17756|      0|    }
17757|      0|    _res = NULL;
17758|      6|  done:
17759|      6|    p->level--;
17760|      6|    return _res;
17761|      0|}
parser.c:_tmp_84_rule:
33942|      6|{
33943|      6|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     12|#  define MAXSTACK 6000
  ------------------
  |  Branch (33943:9): [True: 0, False: 6]
  |  Branch (33943:35): [True: 0, False: 6]
  ------------------
33944|      0|        _Pypegen_stack_overflow(p);
33945|      0|    }
33946|      6|    if (p->error_indicator) {
  ------------------
  |  Branch (33946:9): [True: 0, False: 6]
  ------------------
33947|      0|        p->level--;
33948|      0|        return NULL;
33949|      0|    }
33950|      6|    void * _res = NULL;
33951|      6|    int _mark = p->mark;
33952|      6|    { // star_named_expression_sequence ',' star_named_expressions_sequence?
33953|      6|        if (p->error_indicator) {
  ------------------
  |  Branch (33953:13): [True: 0, False: 6]
  ------------------
33954|      0|            p->level--;
33955|      0|            return NULL;
33956|      0|        }
33957|      6|        D(fprintf(stderr, "%*c> _tmp_84[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_named_expression_sequence ',' star_named_expressions_sequence?"));
33958|      6|        Token * _literal;
33959|      6|        expr_ty y;
33960|      6|        void *z;
33961|      6|        if (
33962|      6|            (y = star_named_expression_sequence_rule(p))  // star_named_expression_sequence
  ------------------
  |  Branch (33962:13): [True: 6, False: 0]
  ------------------
33963|      6|            &&
33964|      6|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (33964:13): [True: 6, False: 0]
  ------------------
33965|      6|            &&
33966|      6|            (z = star_named_expressions_sequence_rule(p), !p->error_indicator)  // star_named_expressions_sequence?
  ------------------
  |  Branch (33966:13): [True: 6, False: 0]
  ------------------
33967|      6|        )
33968|      6|        {
33969|      6|            D(fprintf(stderr, "%*c+ _tmp_84[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_named_expression_sequence ',' star_named_expressions_sequence?"));
33970|      6|            _res = _PyPegen_seq_insert_in_front ( p , y , z );
33971|      6|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (33971:18): [True: 0, False: 6]
  |  Branch (33971:34): [True: 0, False: 6]
  |  Branch (33971:57): [True: 0, False: 0]
  ------------------
33972|      0|                p->error_indicator = 1;
33973|      0|                p->level--;
33974|      0|                return NULL;
33975|      0|            }
33976|      6|            goto done;
33977|      6|        }
33978|      0|        p->mark = _mark;
33979|      0|        D(fprintf(stderr, "%*c%s _tmp_84[%d-%d]: %s failed!\n", p->level, ' ',
33980|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_named_expression_sequence ',' star_named_expressions_sequence?"));
33981|      0|    }
33982|      0|    _res = NULL;
33983|      6|  done:
33984|      6|    p->level--;
33985|      6|    return _res;
33986|      0|}
parser.c:star_named_expression_sequence_rule:
12293|     24|{
12294|     24|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     48|#  define MAXSTACK 6000
  ------------------
  |  Branch (12294:9): [True: 0, False: 24]
  |  Branch (12294:35): [True: 0, False: 24]
  ------------------
12295|      0|        _Pypegen_stack_overflow(p);
12296|      0|    }
12297|     24|    if (p->error_indicator) {
  ------------------
  |  Branch (12297:9): [True: 0, False: 24]
  ------------------
12298|      0|        p->level--;
12299|      0|        return NULL;
12300|      0|    }
12301|     24|    expr_ty _res = NULL;
12302|     24|    int _mark = p->mark;
12303|     24|    if (p->call_invalid_rules) { // invalid_starred_expression_unpacking_sequence
  ------------------
  |  Branch (12303:9): [True: 0, False: 24]
  ------------------
12304|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (12304:13): [True: 0, False: 0]
  ------------------
12305|      0|            p->level--;
12306|      0|            return NULL;
12307|      0|        }
12308|      0|        D(fprintf(stderr, "%*c> star_named_expression_sequence[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression_unpacking_sequence"));
12309|      0|        void *invalid_starred_expression_unpacking_sequence_var;
12310|      0|        if (
12311|      0|            (invalid_starred_expression_unpacking_sequence_var = invalid_starred_expression_unpacking_sequence_rule(p))  // invalid_starred_expression_unpacking_sequence
  ------------------
  |  Branch (12311:13): [True: 0, False: 0]
  ------------------
12312|      0|        )
12313|      0|        {
12314|      0|            D(fprintf(stderr, "%*c+ star_named_expression_sequence[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression_unpacking_sequence"));
12315|      0|            _res = invalid_starred_expression_unpacking_sequence_var;
12316|      0|            goto done;
12317|      0|        }
12318|      0|        p->mark = _mark;
12319|      0|        D(fprintf(stderr, "%*c%s star_named_expression_sequence[%d-%d]: %s failed!\n", p->level, ' ',
12320|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_starred_expression_unpacking_sequence"));
12321|      0|    }
12322|     24|    { // star_named_expression
12323|     24|        if (p->error_indicator) {
  ------------------
  |  Branch (12323:13): [True: 0, False: 24]
  ------------------
12324|      0|            p->level--;
12325|      0|            return NULL;
12326|      0|        }
12327|     24|        D(fprintf(stderr, "%*c> star_named_expression_sequence[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_named_expression"));
12328|     24|        expr_ty star_named_expression_var;
12329|     24|        if (
12330|     24|            (star_named_expression_var = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  Branch (12330:13): [True: 24, False: 0]
  ------------------
12331|     24|        )
12332|     24|        {
12333|     24|            D(fprintf(stderr, "%*c+ star_named_expression_sequence[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_named_expression"));
12334|     24|            _res = star_named_expression_var;
12335|     24|            goto done;
12336|     24|        }
12337|      0|        p->mark = _mark;
12338|      0|        D(fprintf(stderr, "%*c%s star_named_expression_sequence[%d-%d]: %s failed!\n", p->level, ' ',
12339|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_named_expression"));
12340|      0|    }
12341|      0|    _res = NULL;
12342|     24|  done:
12343|     24|    p->level--;
12344|     24|    return _res;
12345|      0|}
parser.c:star_named_expressions_sequence_rule:
12161|      6|{
12162|      6|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     12|#  define MAXSTACK 6000
  ------------------
  |  Branch (12162:9): [True: 0, False: 6]
  |  Branch (12162:35): [True: 0, False: 6]
  ------------------
12163|      0|        _Pypegen_stack_overflow(p);
12164|      0|    }
12165|      6|    if (p->error_indicator) {
  ------------------
  |  Branch (12165:9): [True: 0, False: 6]
  ------------------
12166|      0|        p->level--;
12167|      0|        return NULL;
12168|      0|    }
12169|      6|    asdl_expr_seq* _res = NULL;
12170|      6|    int _mark = p->mark;
12171|      6|    { // ','.star_named_expression_sequence+ ','?
12172|      6|        if (p->error_indicator) {
  ------------------
  |  Branch (12172:13): [True: 0, False: 6]
  ------------------
12173|      0|            p->level--;
12174|      0|            return NULL;
12175|      0|        }
12176|      6|        D(fprintf(stderr, "%*c> star_named_expressions_sequence[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.star_named_expression_sequence+ ','?"));
12177|      6|        void *_opt_var;
12178|      6|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  272|      6|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 6]
  |  |  ------------------
  ------------------
12179|      6|        asdl_expr_seq* a;
12180|      6|        if (
12181|      6|            (a = (asdl_expr_seq*)_gather_60_rule(p))  // ','.star_named_expression_sequence+
  ------------------
  |  Branch (12181:13): [True: 6, False: 0]
  ------------------
12182|      6|            &&
12183|      6|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (12183:13): [True: 6, False: 0]
  ------------------
12184|      6|        )
12185|      6|        {
12186|      6|            D(fprintf(stderr, "%*c+ star_named_expressions_sequence[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.star_named_expression_sequence+ ','?"));
12187|      6|            _res = a;
12188|      6|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12188:18): [True: 0, False: 6]
  |  Branch (12188:34): [True: 0, False: 6]
  |  Branch (12188:57): [True: 0, False: 0]
  ------------------
12189|      0|                p->error_indicator = 1;
12190|      0|                p->level--;
12191|      0|                return NULL;
12192|      0|            }
12193|      6|            goto done;
12194|      6|        }
12195|      0|        p->mark = _mark;
12196|      0|        D(fprintf(stderr, "%*c%s star_named_expressions_sequence[%d-%d]: %s failed!\n", p->level, ' ',
12197|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.star_named_expression_sequence+ ','?"));
12198|      0|    }
12199|      0|    _res = NULL;
12200|      6|  done:
12201|      6|    p->level--;
12202|      6|    return _res;
12203|      0|}
parser.c:_gather_60_rule:
32365|      6|{
32366|      6|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     12|#  define MAXSTACK 6000
  ------------------
  |  Branch (32366:9): [True: 0, False: 6]
  |  Branch (32366:35): [True: 0, False: 6]
  ------------------
32367|      0|        _Pypegen_stack_overflow(p);
32368|      0|    }
32369|      6|    if (p->error_indicator) {
  ------------------
  |  Branch (32369:9): [True: 0, False: 6]
  ------------------
32370|      0|        p->level--;
32371|      0|        return NULL;
32372|      0|    }
32373|      6|    asdl_seq * _res = NULL;
32374|      6|    int _mark = p->mark;
32375|      6|    { // star_named_expression_sequence _loop0_59
32376|      6|        if (p->error_indicator) {
  ------------------
  |  Branch (32376:13): [True: 0, False: 6]
  ------------------
32377|      0|            p->level--;
32378|      0|            return NULL;
32379|      0|        }
32380|      6|        D(fprintf(stderr, "%*c> _gather_60[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_named_expression_sequence _loop0_59"));
32381|      6|        expr_ty elem;
32382|      6|        asdl_seq * seq;
32383|      6|        if (
32384|      6|            (elem = star_named_expression_sequence_rule(p))  // star_named_expression_sequence
  ------------------
  |  Branch (32384:13): [True: 6, False: 0]
  ------------------
32385|      6|            &&
32386|      6|            (seq = _loop0_59_rule(p))  // _loop0_59
  ------------------
  |  Branch (32386:13): [True: 6, False: 0]
  ------------------
32387|      6|        )
32388|      6|        {
32389|      6|            D(fprintf(stderr, "%*c+ _gather_60[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_named_expression_sequence _loop0_59"));
32390|      6|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
32391|      6|            goto done;
32392|      6|        }
32393|      0|        p->mark = _mark;
32394|      0|        D(fprintf(stderr, "%*c%s _gather_60[%d-%d]: %s failed!\n", p->level, ' ',
32395|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_named_expression_sequence _loop0_59"));
32396|      0|    }
32397|      0|    _res = NULL;
32398|      6|  done:
32399|      6|    p->level--;
32400|      6|    return _res;
32401|      0|}
parser.c:_loop0_59_rule:
32289|      6|{
32290|      6|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     12|#  define MAXSTACK 6000
  ------------------
  |  Branch (32290:9): [True: 0, False: 6]
  |  Branch (32290:35): [True: 0, False: 6]
  ------------------
32291|      0|        _Pypegen_stack_overflow(p);
32292|      0|    }
32293|      6|    if (p->error_indicator) {
  ------------------
  |  Branch (32293:9): [True: 0, False: 6]
  ------------------
32294|      0|        p->level--;
32295|      0|        return NULL;
32296|      0|    }
32297|      6|    void *_res = NULL;
32298|      6|    int _mark = p->mark;
32299|      6|    void **_children = PyMem_Malloc(sizeof(void *));
32300|      6|    if (!_children) {
  ------------------
  |  Branch (32300:9): [True: 0, False: 6]
  ------------------
32301|      0|        p->error_indicator = 1;
32302|      0|        PyErr_NoMemory();
32303|      0|        p->level--;
32304|      0|        return NULL;
32305|      0|    }
32306|      6|    Py_ssize_t _children_capacity = 1;
32307|      6|    Py_ssize_t _n = 0;
32308|      6|    { // ',' star_named_expression_sequence
32309|      6|        if (p->error_indicator) {
  ------------------
  |  Branch (32309:13): [True: 0, False: 6]
  ------------------
32310|      0|            p->level--;
32311|      0|            return NULL;
32312|      0|        }
32313|      6|        D(fprintf(stderr, "%*c> _loop0_59[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' star_named_expression_sequence"));
32314|      6|        Token * _literal;
32315|      6|        expr_ty elem;
32316|      6|        while (
32317|     18|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (32317:13): [True: 12, False: 6]
  ------------------
32318|     12|            &&
32319|     12|            (elem = star_named_expression_sequence_rule(p))  // star_named_expression_sequence
  ------------------
  |  Branch (32319:13): [True: 12, False: 0]
  ------------------
32320|      6|        )
32321|     12|        {
32322|     12|            _res = elem;
32323|     12|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (32323:18): [True: 0, False: 12]
  |  Branch (32323:34): [True: 0, False: 12]
  |  Branch (32323:57): [True: 0, False: 0]
  ------------------
32324|      0|                p->error_indicator = 1;
32325|      0|                PyMem_Free(_children);
32326|      0|                p->level--;
32327|      0|                return NULL;
32328|      0|            }
32329|     12|            if (_n == _children_capacity) {
  ------------------
  |  Branch (32329:17): [True: 6, False: 6]
  ------------------
32330|      6|                _children_capacity *= 2;
32331|      6|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
32332|      6|                if (!_new_children) {
  ------------------
  |  Branch (32332:21): [True: 0, False: 6]
  ------------------
32333|      0|                    PyMem_Free(_children);
32334|      0|                    p->error_indicator = 1;
32335|      0|                    PyErr_NoMemory();
32336|      0|                    p->level--;
32337|      0|                    return NULL;
32338|      0|                }
32339|      6|                _children = _new_children;
32340|      6|            }
32341|     12|            _children[_n++] = _res;
32342|     12|            _mark = p->mark;
32343|     12|        }
32344|      6|        p->mark = _mark;
32345|      6|        D(fprintf(stderr, "%*c%s _loop0_59[%d-%d]: %s failed!\n", p->level, ' ',
32346|      6|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' star_named_expression_sequence"));
32347|      6|    }
32348|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
32349|      6|    if (!_seq) {
  ------------------
  |  Branch (32349:9): [True: 0, False: 6]
  ------------------
32350|      0|        PyMem_Free(_children);
32351|      0|        p->error_indicator = 1;
32352|      0|        PyErr_NoMemory();
32353|      0|        p->level--;
32354|      0|        return NULL;
32355|      0|    }
32356|     18|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|     12|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|     18|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (32356:28): [True: 12, False: 6]
  ------------------
32357|      6|    PyMem_Free(_children);
32358|      6|    p->level--;
32359|      6|    return _seq;
32360|      6|}
parser.c:expression_rule:
11586|     51|{
11587|     51|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    102|#  define MAXSTACK 6000
  ------------------
  |  Branch (11587:9): [True: 0, False: 51]
  |  Branch (11587:35): [True: 0, False: 51]
  ------------------
11588|      0|        _Pypegen_stack_overflow(p);
11589|      0|    }
11590|     51|    if (p->error_indicator) {
  ------------------
  |  Branch (11590:9): [True: 0, False: 51]
  ------------------
11591|      0|        p->level--;
11592|      0|        return NULL;
11593|      0|    }
11594|     51|    expr_ty _res = NULL;
11595|     51|    if (_PyPegen_is_memoized(p, expression_type, &_res)) {
  ------------------
  |  |  198|     51|#define expression_type 1109
  ------------------
  |  Branch (11595:9): [True: 27, False: 24]
  ------------------
11596|     27|        p->level--;
11597|     27|        return _res;
11598|     27|    }
11599|     24|    int _mark = p->mark;
11600|     24|    if (p->call_invalid_rules) { // invalid_if_expression
  ------------------
  |  Branch (11600:9): [True: 0, False: 24]
  ------------------
11601|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (11601:13): [True: 0, False: 0]
  ------------------
11602|      0|            p->level--;
11603|      0|            return NULL;
11604|      0|        }
11605|      0|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_if_expression"));
11606|      0|        void *invalid_if_expression_var;
11607|      0|        if (
11608|      0|            (invalid_if_expression_var = invalid_if_expression_rule(p))  // invalid_if_expression
  ------------------
  |  Branch (11608:13): [True: 0, False: 0]
  ------------------
11609|      0|        )
11610|      0|        {
11611|      0|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_if_expression"));
11612|      0|            _res = invalid_if_expression_var;
11613|      0|            goto done;
11614|      0|        }
11615|      0|        p->mark = _mark;
11616|      0|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11617|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_if_expression"));
11618|      0|    }
11619|     24|    if (p->call_invalid_rules) { // invalid_expression
  ------------------
  |  Branch (11619:9): [True: 0, False: 24]
  ------------------
11620|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (11620:13): [True: 0, False: 0]
  ------------------
11621|      0|            p->level--;
11622|      0|            return NULL;
11623|      0|        }
11624|      0|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_expression"));
11625|      0|        void *invalid_expression_var;
11626|      0|        if (
11627|      0|            (invalid_expression_var = invalid_expression_rule(p))  // invalid_expression
  ------------------
  |  Branch (11627:13): [True: 0, False: 0]
  ------------------
11628|      0|        )
11629|      0|        {
11630|      0|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_expression"));
11631|      0|            _res = invalid_expression_var;
11632|      0|            goto done;
11633|      0|        }
11634|      0|        p->mark = _mark;
11635|      0|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11636|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_expression"));
11637|      0|    }
11638|     24|    if (p->call_invalid_rules) { // invalid_legacy_expression
  ------------------
  |  Branch (11638:9): [True: 0, False: 24]
  ------------------
11639|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (11639:13): [True: 0, False: 0]
  ------------------
11640|      0|            p->level--;
11641|      0|            return NULL;
11642|      0|        }
11643|      0|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_legacy_expression"));
11644|      0|        void *invalid_legacy_expression_var;
11645|      0|        if (
11646|      0|            (invalid_legacy_expression_var = invalid_legacy_expression_rule(p))  // invalid_legacy_expression
  ------------------
  |  Branch (11646:13): [True: 0, False: 0]
  ------------------
11647|      0|        )
11648|      0|        {
11649|      0|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_legacy_expression"));
11650|      0|            _res = invalid_legacy_expression_var;
11651|      0|            goto done;
11652|      0|        }
11653|      0|        p->mark = _mark;
11654|      0|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11655|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_legacy_expression"));
11656|      0|    }
11657|     24|    { // if_expression
11658|     24|        if (p->error_indicator) {
  ------------------
  |  Branch (11658:13): [True: 0, False: 24]
  ------------------
11659|      0|            p->level--;
11660|      0|            return NULL;
11661|      0|        }
11662|     24|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "if_expression"));
11663|     24|        expr_ty if_expression_var;
11664|     24|        if (
11665|     24|            (if_expression_var = if_expression_rule(p))  // if_expression
  ------------------
  |  Branch (11665:13): [True: 0, False: 24]
  ------------------
11666|     24|        )
11667|      0|        {
11668|      0|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "if_expression"));
11669|      0|            _res = if_expression_var;
11670|      0|            goto done;
11671|      0|        }
11672|     24|        p->mark = _mark;
11673|     24|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11674|     24|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "if_expression"));
11675|     24|    }
11676|      0|    { // disjunction
11677|     24|        if (p->error_indicator) {
  ------------------
  |  Branch (11677:13): [True: 0, False: 24]
  ------------------
11678|      0|            p->level--;
11679|      0|            return NULL;
11680|      0|        }
11681|     24|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction"));
11682|     24|        expr_ty disjunction_var;
11683|     24|        if (
11684|     24|            (disjunction_var = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (11684:13): [True: 21, False: 3]
  ------------------
11685|     24|        )
11686|     21|        {
11687|     21|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction"));
11688|     21|            _res = disjunction_var;
11689|     21|            goto done;
11690|     21|        }
11691|      3|        p->mark = _mark;
11692|      3|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11693|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction"));
11694|      3|    }
11695|      0|    { // lambdef
11696|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (11696:13): [True: 0, False: 3]
  ------------------
11697|      0|            p->level--;
11698|      0|            return NULL;
11699|      0|        }
11700|      3|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambdef"));
11701|      3|        expr_ty lambdef_var;
11702|      3|        if (
11703|      3|            (lambdef_var = lambdef_rule(p))  // lambdef
  ------------------
  |  Branch (11703:13): [True: 3, False: 0]
  ------------------
11704|      3|        )
11705|      3|        {
11706|      3|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambdef"));
11707|      3|            _res = lambdef_var;
11708|      3|            goto done;
11709|      3|        }
11710|      0|        p->mark = _mark;
11711|      0|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11712|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambdef"));
11713|      0|    }
11714|      0|    _res = NULL;
11715|     24|  done:
11716|     24|    _PyPegen_insert_memo(p, _mark, expression_type, _res);
  ------------------
  |  |  198|     24|#define expression_type 1109
  ------------------
11717|     24|    p->level--;
11718|     24|    return _res;
11719|      0|}
parser.c:_tmp_16_rule:
29602|      3|{
29603|      3|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      6|#  define MAXSTACK 6000
  ------------------
  |  Branch (29603:9): [True: 0, False: 3]
  |  Branch (29603:35): [True: 0, False: 3]
  ------------------
29604|      0|        _Pypegen_stack_overflow(p);
29605|      0|    }
29606|      3|    if (p->error_indicator) {
  ------------------
  |  Branch (29606:9): [True: 0, False: 3]
  ------------------
29607|      0|        p->level--;
29608|      0|        return NULL;
29609|      0|    }
29610|      3|    void * _res = NULL;
29611|      3|    int _mark = p->mark;
29612|      3|    { // ',' expression
29613|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (29613:13): [True: 0, False: 3]
  ------------------
29614|      0|            p->level--;
29615|      0|            return NULL;
29616|      0|        }
29617|      3|        D(fprintf(stderr, "%*c> _tmp_16[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' expression"));
29618|      3|        Token * _literal;
29619|      3|        expr_ty z;
29620|      3|        if (
29621|      3|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (29621:13): [True: 0, False: 3]
  ------------------
29622|      0|            &&
29623|      0|            (z = expression_rule(p))  // expression
  ------------------
  |  Branch (29623:13): [True: 0, False: 0]
  ------------------
29624|      3|        )
29625|      0|        {
29626|      0|            D(fprintf(stderr, "%*c+ _tmp_16[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "',' expression"));
29627|      0|            _res = z;
29628|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (29628:18): [True: 0, False: 0]
  |  Branch (29628:34): [True: 0, False: 0]
  |  Branch (29628:57): [True: 0, False: 0]
  ------------------
29629|      0|                p->error_indicator = 1;
29630|      0|                p->level--;
29631|      0|                return NULL;
29632|      0|            }
29633|      0|            goto done;
29634|      0|        }
29635|      3|        p->mark = _mark;
29636|      3|        D(fprintf(stderr, "%*c%s _tmp_16[%d-%d]: %s failed!\n", p->level, ' ',
29637|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' expression"));
29638|      3|    }
29639|      3|    _res = NULL;
29640|      3|  done:
29641|      3|    p->level--;
29642|      3|    return _res;
29643|      3|}
parser.c:lambda_params_rule:
15778|      3|{
15779|      3|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      6|#  define MAXSTACK 6000
  ------------------
  |  Branch (15779:9): [True: 0, False: 3]
  |  Branch (15779:35): [True: 0, False: 3]
  ------------------
15780|      0|        _Pypegen_stack_overflow(p);
15781|      0|    }
15782|      3|    if (p->error_indicator) {
  ------------------
  |  Branch (15782:9): [True: 0, False: 3]
  ------------------
15783|      0|        p->level--;
15784|      0|        return NULL;
15785|      0|    }
15786|      3|    arguments_ty _res = NULL;
15787|      3|    int _mark = p->mark;
15788|      3|    if (p->call_invalid_rules) { // invalid_lambda_parameters
  ------------------
  |  Branch (15788:9): [True: 0, False: 3]
  ------------------
15789|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (15789:13): [True: 0, False: 0]
  ------------------
15790|      0|            p->level--;
15791|      0|            return NULL;
15792|      0|        }
15793|      0|        D(fprintf(stderr, "%*c> lambda_params[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_lambda_parameters"));
15794|      0|        void *invalid_lambda_parameters_var;
15795|      0|        if (
15796|      0|            (invalid_lambda_parameters_var = invalid_lambda_parameters_rule(p))  // invalid_lambda_parameters
  ------------------
  |  Branch (15796:13): [True: 0, False: 0]
  ------------------
15797|      0|        )
15798|      0|        {
15799|      0|            D(fprintf(stderr, "%*c+ lambda_params[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_lambda_parameters"));
15800|      0|            _res = invalid_lambda_parameters_var;
15801|      0|            goto done;
15802|      0|        }
15803|      0|        p->mark = _mark;
15804|      0|        D(fprintf(stderr, "%*c%s lambda_params[%d-%d]: %s failed!\n", p->level, ' ',
15805|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_lambda_parameters"));
15806|      0|    }
15807|      3|    { // lambda_parameters
15808|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (15808:13): [True: 0, False: 3]
  ------------------
15809|      0|            p->level--;
15810|      0|            return NULL;
15811|      0|        }
15812|      3|        D(fprintf(stderr, "%*c> lambda_params[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_parameters"));
15813|      3|        arguments_ty lambda_parameters_var;
15814|      3|        if (
15815|      3|            (lambda_parameters_var = lambda_parameters_rule(p))  // lambda_parameters
  ------------------
  |  Branch (15815:13): [True: 3, False: 0]
  ------------------
15816|      3|        )
15817|      3|        {
15818|      3|            D(fprintf(stderr, "%*c+ lambda_params[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_parameters"));
15819|      3|            _res = lambda_parameters_var;
15820|      3|            goto done;
15821|      3|        }
15822|      0|        p->mark = _mark;
15823|      0|        D(fprintf(stderr, "%*c%s lambda_params[%d-%d]: %s failed!\n", p->level, ' ',
15824|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_parameters"));
15825|      0|    }
15826|      0|    _res = NULL;
15827|      3|  done:
15828|      3|    p->level--;
15829|      3|    return _res;
15830|      0|}
parser.c:lambda_slash_with_default_rule:
16085|      3|{
16086|      3|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      6|#  define MAXSTACK 6000
  ------------------
  |  Branch (16086:9): [True: 0, False: 3]
  |  Branch (16086:35): [True: 0, False: 3]
  ------------------
16087|      0|        _Pypegen_stack_overflow(p);
16088|      0|    }
16089|      3|    if (p->error_indicator) {
  ------------------
  |  Branch (16089:9): [True: 0, False: 3]
  ------------------
16090|      0|        p->level--;
16091|      0|        return NULL;
16092|      0|    }
16093|      3|    SlashWithDefault* _res = NULL;
16094|      3|    int _mark = p->mark;
16095|      3|    { // lambda_param_no_default* lambda_param_with_default+ '/' ','
16096|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (16096:13): [True: 0, False: 3]
  ------------------
16097|      0|            p->level--;
16098|      0|            return NULL;
16099|      0|        }
16100|      3|        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+ '/' ','"));
16101|      3|        Token * _literal;
16102|      3|        Token * _literal_1;
16103|      3|        asdl_seq * a;
16104|      3|        asdl_seq * b;
16105|      3|        if (
16106|      3|            (a = _loop0_72_rule(p))  // lambda_param_no_default*
  ------------------
  |  Branch (16106:13): [True: 3, False: 0]
  ------------------
16107|      3|            &&
16108|      3|            (b = _loop1_75_rule(p))  // lambda_param_with_default+
  ------------------
  |  Branch (16108:13): [True: 0, False: 3]
  ------------------
16109|      0|            &&
16110|      0|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (16110:13): [True: 0, False: 0]
  ------------------
16111|      0|            &&
16112|      0|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (16112:13): [True: 0, False: 0]
  ------------------
16113|      3|        )
16114|      0|        {
16115|      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+ '/' ','"));
16116|      0|            _res = _PyPegen_slash_with_default ( p , ( asdl_arg_seq* ) a , b );
16117|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16117:18): [True: 0, False: 0]
  |  Branch (16117:34): [True: 0, False: 0]
  |  Branch (16117:57): [True: 0, False: 0]
  ------------------
16118|      0|                p->error_indicator = 1;
16119|      0|                p->level--;
16120|      0|                return NULL;
16121|      0|            }
16122|      0|            goto done;
16123|      0|        }
16124|      3|        p->mark = _mark;
16125|      3|        D(fprintf(stderr, "%*c%s lambda_slash_with_default[%d-%d]: %s failed!\n", p->level, ' ',
16126|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default* lambda_param_with_default+ '/' ','"));
16127|      3|    }
16128|      0|    { // lambda_param_no_default* lambda_param_with_default+ '/' &':'
16129|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (16129:13): [True: 0, False: 3]
  ------------------
16130|      0|            p->level--;
16131|      0|            return NULL;
16132|      0|        }
16133|      3|        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+ '/' &':'"));
16134|      3|        Token * _literal;
16135|      3|        asdl_seq * a;
16136|      3|        asdl_seq * b;
16137|      3|        if (
16138|      3|            (a = _loop0_72_rule(p))  // lambda_param_no_default*
  ------------------
  |  Branch (16138:13): [True: 3, False: 0]
  ------------------
16139|      3|            &&
16140|      3|            (b = _loop1_75_rule(p))  // lambda_param_with_default+
  ------------------
  |  Branch (16140:13): [True: 0, False: 3]
  ------------------
16141|      0|            &&
16142|      0|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (16142:13): [True: 0, False: 0]
  ------------------
16143|      0|            &&
16144|      0|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 11)  // token=':'
  ------------------
  |  Branch (16144:13): [True: 0, False: 0]
  ------------------
16145|      3|        )
16146|      0|        {
16147|      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+ '/' &':'"));
16148|      0|            _res = _PyPegen_slash_with_default ( p , ( asdl_arg_seq* ) a , b );
16149|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16149:18): [True: 0, False: 0]
  |  Branch (16149:34): [True: 0, False: 0]
  |  Branch (16149:57): [True: 0, False: 0]
  ------------------
16150|      0|                p->error_indicator = 1;
16151|      0|                p->level--;
16152|      0|                return NULL;
16153|      0|            }
16154|      0|            goto done;
16155|      0|        }
16156|      3|        p->mark = _mark;
16157|      3|        D(fprintf(stderr, "%*c%s lambda_slash_with_default[%d-%d]: %s failed!\n", p->level, ' ',
16158|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default* lambda_param_with_default+ '/' &':'"));
16159|      3|    }
16160|      3|    _res = NULL;
16161|      3|  done:
16162|      3|    p->level--;
16163|      3|    return _res;
16164|      3|}
parser.c:_loop1_75_rule:
33319|      6|{
33320|      6|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     12|#  define MAXSTACK 6000
  ------------------
  |  Branch (33320:9): [True: 0, False: 6]
  |  Branch (33320:35): [True: 0, False: 6]
  ------------------
33321|      0|        _Pypegen_stack_overflow(p);
33322|      0|    }
33323|      6|    if (p->error_indicator) {
  ------------------
  |  Branch (33323:9): [True: 0, False: 6]
  ------------------
33324|      0|        p->level--;
33325|      0|        return NULL;
33326|      0|    }
33327|      6|    void *_res = NULL;
33328|      6|    int _mark = p->mark;
33329|      6|    void **_children = PyMem_Malloc(sizeof(void *));
33330|      6|    if (!_children) {
  ------------------
  |  Branch (33330:9): [True: 0, False: 6]
  ------------------
33331|      0|        p->error_indicator = 1;
33332|      0|        PyErr_NoMemory();
33333|      0|        p->level--;
33334|      0|        return NULL;
33335|      0|    }
33336|      6|    Py_ssize_t _children_capacity = 1;
33337|      6|    Py_ssize_t _n = 0;
33338|      6|    { // lambda_param_with_default
33339|      6|        if (p->error_indicator) {
  ------------------
  |  Branch (33339:13): [True: 0, False: 6]
  ------------------
33340|      0|            p->level--;
33341|      0|            return NULL;
33342|      0|        }
33343|      6|        D(fprintf(stderr, "%*c> _loop1_75[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default"));
33344|      6|        NameDefaultPair* lambda_param_with_default_var;
33345|      6|        while (
33346|      6|            (lambda_param_with_default_var = lambda_param_with_default_rule(p))  // lambda_param_with_default
  ------------------
  |  Branch (33346:13): [True: 0, False: 6]
  ------------------
33347|      6|        )
33348|      0|        {
33349|      0|            _res = lambda_param_with_default_var;
33350|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (33350:17): [True: 0, False: 0]
  ------------------
33351|      0|                _children_capacity *= 2;
33352|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
33353|      0|                if (!_new_children) {
  ------------------
  |  Branch (33353:21): [True: 0, False: 0]
  ------------------
33354|      0|                    PyMem_Free(_children);
33355|      0|                    p->error_indicator = 1;
33356|      0|                    PyErr_NoMemory();
33357|      0|                    p->level--;
33358|      0|                    return NULL;
33359|      0|                }
33360|      0|                _children = _new_children;
33361|      0|            }
33362|      0|            _children[_n++] = _res;
33363|      0|            _mark = p->mark;
33364|      0|        }
33365|      6|        p->mark = _mark;
33366|      6|        D(fprintf(stderr, "%*c%s _loop1_75[%d-%d]: %s failed!\n", p->level, ' ',
33367|      6|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_with_default"));
33368|      6|    }
33369|      6|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (33369:9): [True: 6, False: 0]
  |  Branch (33369:20): [True: 0, False: 0]
  ------------------
33370|      6|        PyMem_Free(_children);
33371|      6|        p->level--;
33372|      6|        return NULL;
33373|      6|    }
33374|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
33375|      0|    if (!_seq) {
  ------------------
  |  Branch (33375:9): [True: 0, False: 0]
  ------------------
33376|      0|        PyMem_Free(_children);
33377|      0|        p->error_indicator = 1;
33378|      0|        PyErr_NoMemory();
33379|      0|        p->level--;
33380|      0|        return NULL;
33381|      0|    }
33382|      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 (33382:28): [True: 0, False: 0]
  ------------------
33383|      0|    PyMem_Free(_children);
33384|      0|    p->level--;
33385|      0|    return _seq;
33386|      0|}
parser.c:lambda_param_with_default_rule:
16438|      9|{
16439|      9|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     18|#  define MAXSTACK 6000
  ------------------
  |  Branch (16439:9): [True: 0, False: 9]
  |  Branch (16439:35): [True: 0, False: 9]
  ------------------
16440|      0|        _Pypegen_stack_overflow(p);
16441|      0|    }
16442|      9|    if (p->error_indicator) {
  ------------------
  |  Branch (16442:9): [True: 0, False: 9]
  ------------------
16443|      0|        p->level--;
16444|      0|        return NULL;
16445|      0|    }
16446|      9|    NameDefaultPair* _res = NULL;
16447|      9|    int _mark = p->mark;
16448|      9|    { // lambda_param default ','
16449|      9|        if (p->error_indicator) {
  ------------------
  |  Branch (16449:13): [True: 0, False: 9]
  ------------------
16450|      0|            p->level--;
16451|      0|            return NULL;
16452|      0|        }
16453|      9|        D(fprintf(stderr, "%*c> lambda_param_with_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param default ','"));
16454|      9|        Token * _literal;
16455|      9|        arg_ty a;
16456|      9|        expr_ty c;
16457|      9|        if (
16458|      9|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  Branch (16458:13): [True: 0, False: 9]
  ------------------
16459|      0|            &&
16460|      0|            (c = default_rule(p))  // default
  ------------------
  |  Branch (16460:13): [True: 0, False: 0]
  ------------------
16461|      0|            &&
16462|      0|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (16462:13): [True: 0, False: 0]
  ------------------
16463|      9|        )
16464|      0|        {
16465|      0|            D(fprintf(stderr, "%*c+ lambda_param_with_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param default ','"));
16466|      0|            _res = _PyPegen_name_default_pair ( p , a , c , NULL );
16467|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16467:18): [True: 0, False: 0]
  |  Branch (16467:34): [True: 0, False: 0]
  |  Branch (16467:57): [True: 0, False: 0]
  ------------------
16468|      0|                p->error_indicator = 1;
16469|      0|                p->level--;
16470|      0|                return NULL;
16471|      0|            }
16472|      0|            goto done;
16473|      0|        }
16474|      9|        p->mark = _mark;
16475|      9|        D(fprintf(stderr, "%*c%s lambda_param_with_default[%d-%d]: %s failed!\n", p->level, ' ',
16476|      9|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param default ','"));
16477|      9|    }
16478|      0|    { // lambda_param default &':'
16479|      9|        if (p->error_indicator) {
  ------------------
  |  Branch (16479:13): [True: 0, False: 9]
  ------------------
16480|      0|            p->level--;
16481|      0|            return NULL;
16482|      0|        }
16483|      9|        D(fprintf(stderr, "%*c> lambda_param_with_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param default &':'"));
16484|      9|        arg_ty a;
16485|      9|        expr_ty c;
16486|      9|        if (
16487|      9|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  Branch (16487:13): [True: 0, False: 9]
  ------------------
16488|      0|            &&
16489|      0|            (c = default_rule(p))  // default
  ------------------
  |  Branch (16489:13): [True: 0, False: 0]
  ------------------
16490|      0|            &&
16491|      0|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 11)  // token=':'
  ------------------
  |  Branch (16491:13): [True: 0, False: 0]
  ------------------
16492|      9|        )
16493|      0|        {
16494|      0|            D(fprintf(stderr, "%*c+ lambda_param_with_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param default &':'"));
16495|      0|            _res = _PyPegen_name_default_pair ( p , a , c , NULL );
16496|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16496:18): [True: 0, False: 0]
  |  Branch (16496:34): [True: 0, False: 0]
  |  Branch (16496:57): [True: 0, False: 0]
  ------------------
16497|      0|                p->error_indicator = 1;
16498|      0|                p->level--;
16499|      0|                return NULL;
16500|      0|            }
16501|      0|            goto done;
16502|      0|        }
16503|      9|        p->mark = _mark;
16504|      9|        D(fprintf(stderr, "%*c%s lambda_param_with_default[%d-%d]: %s failed!\n", p->level, ' ',
16505|      9|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param default &':'"));
16506|      9|    }
16507|      9|    _res = NULL;
16508|      9|  done:
16509|      9|    p->level--;
16510|      9|    return _res;
16511|      9|}
parser.c:lambda_param_rule:
16594|    138|{
16595|    138|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    276|#  define MAXSTACK 6000
  ------------------
  |  Branch (16595:9): [True: 0, False: 138]
  |  Branch (16595:35): [True: 0, False: 138]
  ------------------
16596|      0|        _Pypegen_stack_overflow(p);
16597|      0|    }
16598|    138|    if (p->error_indicator) {
  ------------------
  |  Branch (16598:9): [True: 0, False: 138]
  ------------------
16599|      0|        p->level--;
16600|      0|        return NULL;
16601|      0|    }
16602|    138|    arg_ty _res = NULL;
16603|    138|    int _mark = p->mark;
16604|    138|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (16604:9): [True: 15, False: 123]
  |  Branch (16604:31): [True: 0, False: 15]
  ------------------
16605|      0|        p->error_indicator = 1;
16606|      0|        p->level--;
16607|      0|        return NULL;
16608|      0|    }
16609|    138|    int _start_lineno = p->tokens[_mark]->lineno;
16610|    138|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|    138|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 138]
  |  |  ------------------
  ------------------
16611|    138|    int _start_col_offset = p->tokens[_mark]->col_offset;
16612|    138|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|    138|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 138]
  |  |  ------------------
  ------------------
16613|    138|    { // NAME
16614|    138|        if (p->error_indicator) {
  ------------------
  |  Branch (16614:13): [True: 0, False: 138]
  ------------------
16615|      0|            p->level--;
16616|      0|            return NULL;
16617|      0|        }
16618|    138|        D(fprintf(stderr, "%*c> lambda_param[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME"));
16619|    138|        expr_ty a;
16620|    138|        if (
16621|    138|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (16621:13): [True: 90, False: 48]
  ------------------
16622|    138|        )
16623|     90|        {
16624|     90|            D(fprintf(stderr, "%*c+ lambda_param[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME"));
16625|     90|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
16626|     90|            if (_token == NULL) {
  ------------------
  |  Branch (16626:17): [True: 0, False: 90]
  ------------------
16627|      0|                p->level--;
16628|      0|                return NULL;
16629|      0|            }
16630|     90|            int _end_lineno = _token->end_lineno;
16631|     90|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|     90|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 90]
  |  |  ------------------
  ------------------
16632|     90|            int _end_col_offset = _token->end_col_offset;
16633|     90|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|     90|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 90]
  |  |  ------------------
  ------------------
16634|     90|            _res = _PyAST_arg ( a -> v . Name . id , NULL , NULL , EXTRA );
  ------------------
  |  |  274|     90|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
16635|     90|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16635:18): [True: 0, False: 90]
  |  Branch (16635:34): [True: 0, False: 90]
  |  Branch (16635:57): [True: 0, False: 0]
  ------------------
16636|      0|                p->error_indicator = 1;
16637|      0|                p->level--;
16638|      0|                return NULL;
16639|      0|            }
16640|     90|            goto done;
16641|     90|        }
16642|     48|        p->mark = _mark;
16643|     48|        D(fprintf(stderr, "%*c%s lambda_param[%d-%d]: %s failed!\n", p->level, ' ',
16644|     48|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME"));
16645|     48|    }
16646|     48|    _res = NULL;
16647|    138|  done:
16648|    138|    p->level--;
16649|    138|    return _res;
16650|     48|}
parser.c:lambda_slash_no_default_rule:
16005|      3|{
16006|      3|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      6|#  define MAXSTACK 6000
  ------------------
  |  Branch (16006:9): [True: 0, False: 3]
  |  Branch (16006:35): [True: 0, False: 3]
  ------------------
16007|      0|        _Pypegen_stack_overflow(p);
16008|      0|    }
16009|      3|    if (p->error_indicator) {
  ------------------
  |  Branch (16009:9): [True: 0, False: 3]
  ------------------
16010|      0|        p->level--;
16011|      0|        return NULL;
16012|      0|    }
16013|      3|    asdl_arg_seq* _res = NULL;
16014|      3|    int _mark = p->mark;
16015|      3|    { // lambda_param_no_default+ '/' ','
16016|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (16016:13): [True: 0, False: 3]
  ------------------
16017|      0|            p->level--;
16018|      0|            return NULL;
16019|      0|        }
16020|      3|        D(fprintf(stderr, "%*c> lambda_slash_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default+ '/' ','"));
16021|      3|        Token * _literal;
16022|      3|        Token * _literal_1;
16023|      3|        asdl_arg_seq* a;
16024|      3|        if (
16025|      3|            (a = (asdl_arg_seq*)_loop1_74_rule(p))  // lambda_param_no_default+
  ------------------
  |  Branch (16025:13): [True: 3, False: 0]
  ------------------
16026|      3|            &&
16027|      3|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (16027:13): [True: 0, False: 3]
  ------------------
16028|      0|            &&
16029|      0|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (16029:13): [True: 0, False: 0]
  ------------------
16030|      3|        )
16031|      0|        {
16032|      0|            D(fprintf(stderr, "%*c+ lambda_slash_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default+ '/' ','"));
16033|      0|            _res = a;
16034|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16034:18): [True: 0, False: 0]
  |  Branch (16034:34): [True: 0, False: 0]
  |  Branch (16034:57): [True: 0, False: 0]
  ------------------
16035|      0|                p->error_indicator = 1;
16036|      0|                p->level--;
16037|      0|                return NULL;
16038|      0|            }
16039|      0|            goto done;
16040|      0|        }
16041|      3|        p->mark = _mark;
16042|      3|        D(fprintf(stderr, "%*c%s lambda_slash_no_default[%d-%d]: %s failed!\n", p->level, ' ',
16043|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default+ '/' ','"));
16044|      3|    }
16045|      0|    { // lambda_param_no_default+ '/' &':'
16046|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (16046:13): [True: 0, False: 3]
  ------------------
16047|      0|            p->level--;
16048|      0|            return NULL;
16049|      0|        }
16050|      3|        D(fprintf(stderr, "%*c> lambda_slash_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default+ '/' &':'"));
16051|      3|        Token * _literal;
16052|      3|        asdl_arg_seq* a;
16053|      3|        if (
16054|      3|            (a = (asdl_arg_seq*)_loop1_74_rule(p))  // lambda_param_no_default+
  ------------------
  |  Branch (16054:13): [True: 3, False: 0]
  ------------------
16055|      3|            &&
16056|      3|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (16056:13): [True: 0, False: 3]
  ------------------
16057|      0|            &&
16058|      0|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 11)  // token=':'
  ------------------
  |  Branch (16058:13): [True: 0, False: 0]
  ------------------
16059|      3|        )
16060|      0|        {
16061|      0|            D(fprintf(stderr, "%*c+ lambda_slash_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default+ '/' &':'"));
16062|      0|            _res = a;
16063|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16063:18): [True: 0, False: 0]
  |  Branch (16063:34): [True: 0, False: 0]
  |  Branch (16063:57): [True: 0, False: 0]
  ------------------
16064|      0|                p->error_indicator = 1;
16065|      0|                p->level--;
16066|      0|                return NULL;
16067|      0|            }
16068|      0|            goto done;
16069|      0|        }
16070|      3|        p->mark = _mark;
16071|      3|        D(fprintf(stderr, "%*c%s lambda_slash_no_default[%d-%d]: %s failed!\n", p->level, ' ',
16072|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default+ '/' &':'"));
16073|      3|    }
16074|      3|    _res = NULL;
16075|      3|  done:
16076|      3|    p->level--;
16077|      3|    return _res;
16078|      3|}
parser.c:_loop1_74_rule:
33247|      9|{
33248|      9|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     18|#  define MAXSTACK 6000
  ------------------
  |  Branch (33248:9): [True: 0, False: 9]
  |  Branch (33248:35): [True: 0, False: 9]
  ------------------
33249|      0|        _Pypegen_stack_overflow(p);
33250|      0|    }
33251|      9|    if (p->error_indicator) {
  ------------------
  |  Branch (33251:9): [True: 0, False: 9]
  ------------------
33252|      0|        p->level--;
33253|      0|        return NULL;
33254|      0|    }
33255|      9|    void *_res = NULL;
33256|      9|    int _mark = p->mark;
33257|      9|    void **_children = PyMem_Malloc(sizeof(void *));
33258|      9|    if (!_children) {
  ------------------
  |  Branch (33258:9): [True: 0, False: 9]
  ------------------
33259|      0|        p->error_indicator = 1;
33260|      0|        PyErr_NoMemory();
33261|      0|        p->level--;
33262|      0|        return NULL;
33263|      0|    }
33264|      9|    Py_ssize_t _children_capacity = 1;
33265|      9|    Py_ssize_t _n = 0;
33266|      9|    { // lambda_param_no_default
33267|      9|        if (p->error_indicator) {
  ------------------
  |  Branch (33267:13): [True: 0, False: 9]
  ------------------
33268|      0|            p->level--;
33269|      0|            return NULL;
33270|      0|        }
33271|      9|        D(fprintf(stderr, "%*c> _loop1_74[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default"));
33272|      9|        arg_ty lambda_param_no_default_var;
33273|      9|        while (
33274|     54|            (lambda_param_no_default_var = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  Branch (33274:13): [True: 45, False: 9]
  ------------------
33275|      9|        )
33276|     45|        {
33277|     45|            _res = lambda_param_no_default_var;
33278|     45|            if (_n == _children_capacity) {
  ------------------
  |  Branch (33278:17): [True: 24, False: 21]
  ------------------
33279|     24|                _children_capacity *= 2;
33280|     24|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
33281|     24|                if (!_new_children) {
  ------------------
  |  Branch (33281:21): [True: 0, False: 24]
  ------------------
33282|      0|                    PyMem_Free(_children);
33283|      0|                    p->error_indicator = 1;
33284|      0|                    PyErr_NoMemory();
33285|      0|                    p->level--;
33286|      0|                    return NULL;
33287|      0|                }
33288|     24|                _children = _new_children;
33289|     24|            }
33290|     45|            _children[_n++] = _res;
33291|     45|            _mark = p->mark;
33292|     45|        }
33293|      9|        p->mark = _mark;
33294|      9|        D(fprintf(stderr, "%*c%s _loop1_74[%d-%d]: %s failed!\n", p->level, ' ',
33295|      9|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default"));
33296|      9|    }
33297|      9|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (33297:9): [True: 0, False: 9]
  |  Branch (33297:20): [True: 0, False: 9]
  ------------------
33298|      0|        PyMem_Free(_children);
33299|      0|        p->level--;
33300|      0|        return NULL;
33301|      0|    }
33302|      9|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
33303|      9|    if (!_seq) {
  ------------------
  |  Branch (33303:9): [True: 0, False: 9]
  ------------------
33304|      0|        PyMem_Free(_children);
33305|      0|        p->error_indicator = 1;
33306|      0|        PyErr_NoMemory();
33307|      0|        p->level--;
33308|      0|        return NULL;
33309|      0|    }
33310|     54|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|     45|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|     54|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (33310:28): [True: 45, False: 9]
  ------------------
33311|      9|    PyMem_Free(_children);
33312|      9|    p->level--;
33313|      9|    return _seq;
33314|      9|}
parser.c:_loop0_72_rule:
33113|      6|{
33114|      6|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     12|#  define MAXSTACK 6000
  ------------------
  |  Branch (33114:9): [True: 0, False: 6]
  |  Branch (33114:35): [True: 0, False: 6]
  ------------------
33115|      0|        _Pypegen_stack_overflow(p);
33116|      0|    }
33117|      6|    if (p->error_indicator) {
  ------------------
  |  Branch (33117:9): [True: 0, False: 6]
  ------------------
33118|      0|        p->level--;
33119|      0|        return NULL;
33120|      0|    }
33121|      6|    void *_res = NULL;
33122|      6|    int _mark = p->mark;
33123|      6|    void **_children = PyMem_Malloc(sizeof(void *));
33124|      6|    if (!_children) {
  ------------------
  |  Branch (33124:9): [True: 0, False: 6]
  ------------------
33125|      0|        p->error_indicator = 1;
33126|      0|        PyErr_NoMemory();
33127|      0|        p->level--;
33128|      0|        return NULL;
33129|      0|    }
33130|      6|    Py_ssize_t _children_capacity = 1;
33131|      6|    Py_ssize_t _n = 0;
33132|      6|    { // lambda_param_no_default
33133|      6|        if (p->error_indicator) {
  ------------------
  |  Branch (33133:13): [True: 0, False: 6]
  ------------------
33134|      0|            p->level--;
33135|      0|            return NULL;
33136|      0|        }
33137|      6|        D(fprintf(stderr, "%*c> _loop0_72[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default"));
33138|      6|        arg_ty lambda_param_no_default_var;
33139|      6|        while (
33140|     36|            (lambda_param_no_default_var = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  Branch (33140:13): [True: 30, False: 6]
  ------------------
33141|      6|        )
33142|     30|        {
33143|     30|            _res = lambda_param_no_default_var;
33144|     30|            if (_n == _children_capacity) {
  ------------------
  |  Branch (33144:17): [True: 16, False: 14]
  ------------------
33145|     16|                _children_capacity *= 2;
33146|     16|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
33147|     16|                if (!_new_children) {
  ------------------
  |  Branch (33147:21): [True: 0, False: 16]
  ------------------
33148|      0|                    PyMem_Free(_children);
33149|      0|                    p->error_indicator = 1;
33150|      0|                    PyErr_NoMemory();
33151|      0|                    p->level--;
33152|      0|                    return NULL;
33153|      0|                }
33154|     16|                _children = _new_children;
33155|     16|            }
33156|     30|            _children[_n++] = _res;
33157|     30|            _mark = p->mark;
33158|     30|        }
33159|      6|        p->mark = _mark;
33160|      6|        D(fprintf(stderr, "%*c%s _loop0_72[%d-%d]: %s failed!\n", p->level, ' ',
33161|      6|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default"));
33162|      6|    }
33163|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
33164|      6|    if (!_seq) {
  ------------------
  |  Branch (33164:9): [True: 0, False: 6]
  ------------------
33165|      0|        PyMem_Free(_children);
33166|      0|        p->error_indicator = 1;
33167|      0|        PyErr_NoMemory();
33168|      0|        p->level--;
33169|      0|        return NULL;
33170|      0|    }
33171|     36|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|     30|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|     36|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (33171:28): [True: 30, False: 6]
  ------------------
33172|      6|    PyMem_Free(_children);
33173|      6|    p->level--;
33174|      6|    return _seq;
33175|      6|}
parser.c:lambda_param_no_default_rule:
16366|     90|{
16367|     90|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    180|#  define MAXSTACK 6000
  ------------------
  |  Branch (16367:9): [True: 0, False: 90]
  |  Branch (16367:35): [True: 0, False: 90]
  ------------------
16368|      0|        _Pypegen_stack_overflow(p);
16369|      0|    }
16370|     90|    if (p->error_indicator) {
  ------------------
  |  Branch (16370:9): [True: 0, False: 90]
  ------------------
16371|      0|        p->level--;
16372|      0|        return NULL;
16373|      0|    }
16374|     90|    arg_ty _res = NULL;
16375|     90|    int _mark = p->mark;
16376|     90|    { // lambda_param ','
16377|     90|        if (p->error_indicator) {
  ------------------
  |  Branch (16377:13): [True: 0, False: 90]
  ------------------
16378|      0|            p->level--;
16379|      0|            return NULL;
16380|      0|        }
16381|     90|        D(fprintf(stderr, "%*c> lambda_param_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param ','"));
16382|     90|        Token * _literal;
16383|     90|        arg_ty a;
16384|     90|        if (
16385|     90|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  Branch (16385:13): [True: 75, False: 15]
  ------------------
16386|     75|            &&
16387|     75|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (16387:13): [True: 60, False: 15]
  ------------------
16388|     90|        )
16389|     60|        {
16390|     60|            D(fprintf(stderr, "%*c+ lambda_param_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param ','"));
16391|     60|            _res = a;
16392|     60|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16392:18): [True: 0, False: 60]
  |  Branch (16392:34): [True: 0, False: 60]
  |  Branch (16392:57): [True: 0, False: 0]
  ------------------
16393|      0|                p->error_indicator = 1;
16394|      0|                p->level--;
16395|      0|                return NULL;
16396|      0|            }
16397|     60|            goto done;
16398|     60|        }
16399|     30|        p->mark = _mark;
16400|     30|        D(fprintf(stderr, "%*c%s lambda_param_no_default[%d-%d]: %s failed!\n", p->level, ' ',
16401|     30|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param ','"));
16402|     30|    }
16403|      0|    { // lambda_param &':'
16404|     30|        if (p->error_indicator) {
  ------------------
  |  Branch (16404:13): [True: 0, False: 30]
  ------------------
16405|      0|            p->level--;
16406|      0|            return NULL;
16407|      0|        }
16408|     30|        D(fprintf(stderr, "%*c> lambda_param_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param &':'"));
16409|     30|        arg_ty a;
16410|     30|        if (
16411|     30|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  Branch (16411:13): [True: 15, False: 15]
  ------------------
16412|     15|            &&
16413|     15|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 11)  // token=':'
  ------------------
  |  Branch (16413:13): [True: 15, False: 0]
  ------------------
16414|     30|        )
16415|     15|        {
16416|     15|            D(fprintf(stderr, "%*c+ lambda_param_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param &':'"));
16417|     15|            _res = a;
16418|     15|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16418:18): [True: 0, False: 15]
  |  Branch (16418:34): [True: 0, False: 15]
  |  Branch (16418:57): [True: 0, False: 0]
  ------------------
16419|      0|                p->error_indicator = 1;
16420|      0|                p->level--;
16421|      0|                return NULL;
16422|      0|            }
16423|     15|            goto done;
16424|     15|        }
16425|     15|        p->mark = _mark;
16426|     15|        D(fprintf(stderr, "%*c%s lambda_param_no_default[%d-%d]: %s failed!\n", p->level, ' ',
16427|     15|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param &':'"));
16428|     15|    }
16429|     15|    _res = NULL;
16430|     90|  done:
16431|     90|    p->level--;
16432|     90|    return _res;
16433|     15|}
parser.c:lambda_parameters_rule:
15840|      3|{
15841|      3|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      6|#  define MAXSTACK 6000
  ------------------
  |  Branch (15841:9): [True: 0, False: 3]
  |  Branch (15841:35): [True: 0, False: 3]
  ------------------
15842|      0|        _Pypegen_stack_overflow(p);
15843|      0|    }
15844|      3|    if (p->error_indicator) {
  ------------------
  |  Branch (15844:9): [True: 0, False: 3]
  ------------------
15845|      0|        p->level--;
15846|      0|        return NULL;
15847|      0|    }
15848|      3|    arguments_ty _res = NULL;
15849|      3|    int _mark = p->mark;
15850|      3|    { // lambda_slash_no_default lambda_param_no_default* lambda_param_with_default* lambda_star_etc?
15851|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (15851:13): [True: 0, False: 3]
  ------------------
15852|      0|            p->level--;
15853|      0|            return NULL;
15854|      0|        }
15855|      3|        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?"));
15856|      3|        asdl_arg_seq* a;
15857|      3|        asdl_arg_seq* b;
15858|      3|        asdl_seq * c;
15859|      3|        void *d;
15860|      3|        if (
15861|      3|            (a = lambda_slash_no_default_rule(p))  // lambda_slash_no_default
  ------------------
  |  Branch (15861:13): [True: 0, False: 3]
  ------------------
15862|      0|            &&
15863|      0|            (b = (asdl_arg_seq*)_loop0_72_rule(p))  // lambda_param_no_default*
  ------------------
  |  Branch (15863:13): [True: 0, False: 0]
  ------------------
15864|      0|            &&
15865|      0|            (c = _loop0_73_rule(p))  // lambda_param_with_default*
  ------------------
  |  Branch (15865:13): [True: 0, False: 0]
  ------------------
15866|      0|            &&
15867|      0|            (d = lambda_star_etc_rule(p), !p->error_indicator)  // lambda_star_etc?
  ------------------
  |  Branch (15867:13): [True: 0, False: 0]
  ------------------
15868|      3|        )
15869|      0|        {
15870|      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?"));
15871|      0|            _res = CHECK_VERSION ( arguments_ty , 8 , "Positional-only parameters are" , _PyPegen_make_arguments ( p , a , NULL , b , c , d ) );
  ------------------
  |  |  312|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
15872|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15872:18): [True: 0, False: 0]
  |  Branch (15872:34): [True: 0, False: 0]
  |  Branch (15872:57): [True: 0, False: 0]
  ------------------
15873|      0|                p->error_indicator = 1;
15874|      0|                p->level--;
15875|      0|                return NULL;
15876|      0|            }
15877|      0|            goto done;
15878|      0|        }
15879|      3|        p->mark = _mark;
15880|      3|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15881|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_slash_no_default lambda_param_no_default* lambda_param_with_default* lambda_star_etc?"));
15882|      3|    }
15883|      0|    { // lambda_slash_with_default lambda_param_with_default* lambda_star_etc?
15884|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (15884:13): [True: 0, False: 3]
  ------------------
15885|      0|            p->level--;
15886|      0|            return NULL;
15887|      0|        }
15888|      3|        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?"));
15889|      3|        SlashWithDefault* a;
15890|      3|        asdl_seq * b;
15891|      3|        void *c;
15892|      3|        if (
15893|      3|            (a = lambda_slash_with_default_rule(p))  // lambda_slash_with_default
  ------------------
  |  Branch (15893:13): [True: 0, False: 3]
  ------------------
15894|      0|            &&
15895|      0|            (b = _loop0_73_rule(p))  // lambda_param_with_default*
  ------------------
  |  Branch (15895:13): [True: 0, False: 0]
  ------------------
15896|      0|            &&
15897|      0|            (c = lambda_star_etc_rule(p), !p->error_indicator)  // lambda_star_etc?
  ------------------
  |  Branch (15897:13): [True: 0, False: 0]
  ------------------
15898|      3|        )
15899|      0|        {
15900|      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?"));
15901|      0|            _res = CHECK_VERSION ( arguments_ty , 8 , "Positional-only parameters are" , _PyPegen_make_arguments ( p , NULL , a , NULL , b , c ) );
  ------------------
  |  |  312|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
15902|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15902:18): [True: 0, False: 0]
  |  Branch (15902:34): [True: 0, False: 0]
  |  Branch (15902:57): [True: 0, False: 0]
  ------------------
15903|      0|                p->error_indicator = 1;
15904|      0|                p->level--;
15905|      0|                return NULL;
15906|      0|            }
15907|      0|            goto done;
15908|      0|        }
15909|      3|        p->mark = _mark;
15910|      3|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15911|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_slash_with_default lambda_param_with_default* lambda_star_etc?"));
15912|      3|    }
15913|      0|    { // lambda_param_no_default+ lambda_param_with_default* lambda_star_etc?
15914|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (15914:13): [True: 0, False: 3]
  ------------------
15915|      0|            p->level--;
15916|      0|            return NULL;
15917|      0|        }
15918|      3|        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?"));
15919|      3|        asdl_arg_seq* a;
15920|      3|        asdl_seq * b;
15921|      3|        void *c;
15922|      3|        if (
15923|      3|            (a = (asdl_arg_seq*)_loop1_74_rule(p))  // lambda_param_no_default+
  ------------------
  |  Branch (15923:13): [True: 3, False: 0]
  ------------------
15924|      3|            &&
15925|      3|            (b = _loop0_73_rule(p))  // lambda_param_with_default*
  ------------------
  |  Branch (15925:13): [True: 3, False: 0]
  ------------------
15926|      3|            &&
15927|      3|            (c = lambda_star_etc_rule(p), !p->error_indicator)  // lambda_star_etc?
  ------------------
  |  Branch (15927:13): [True: 3, False: 0]
  ------------------
15928|      3|        )
15929|      3|        {
15930|      3|            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?"));
15931|      3|            _res = _PyPegen_make_arguments ( p , NULL , NULL , a , b , c );
15932|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15932:18): [True: 0, False: 3]
  |  Branch (15932:34): [True: 0, False: 3]
  |  Branch (15932:57): [True: 0, False: 0]
  ------------------
15933|      0|                p->error_indicator = 1;
15934|      0|                p->level--;
15935|      0|                return NULL;
15936|      0|            }
15937|      3|            goto done;
15938|      3|        }
15939|      0|        p->mark = _mark;
15940|      0|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15941|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default+ lambda_param_with_default* lambda_star_etc?"));
15942|      0|    }
15943|      0|    { // lambda_param_with_default+ lambda_star_etc?
15944|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (15944:13): [True: 0, False: 0]
  ------------------
15945|      0|            p->level--;
15946|      0|            return NULL;
15947|      0|        }
15948|      0|        D(fprintf(stderr, "%*c> lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default+ lambda_star_etc?"));
15949|      0|        asdl_seq * a;
15950|      0|        void *b;
15951|      0|        if (
15952|      0|            (a = _loop1_75_rule(p))  // lambda_param_with_default+
  ------------------
  |  Branch (15952:13): [True: 0, False: 0]
  ------------------
15953|      0|            &&
15954|      0|            (b = lambda_star_etc_rule(p), !p->error_indicator)  // lambda_star_etc?
  ------------------
  |  Branch (15954:13): [True: 0, False: 0]
  ------------------
15955|      0|        )
15956|      0|        {
15957|      0|            D(fprintf(stderr, "%*c+ lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default+ lambda_star_etc?"));
15958|      0|            _res = _PyPegen_make_arguments ( p , NULL , NULL , NULL , a , b );
15959|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15959:18): [True: 0, False: 0]
  |  Branch (15959:34): [True: 0, False: 0]
  |  Branch (15959:57): [True: 0, False: 0]
  ------------------
15960|      0|                p->error_indicator = 1;
15961|      0|                p->level--;
15962|      0|                return NULL;
15963|      0|            }
15964|      0|            goto done;
15965|      0|        }
15966|      0|        p->mark = _mark;
15967|      0|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15968|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_with_default+ lambda_star_etc?"));
15969|      0|    }
15970|      0|    { // lambda_star_etc
15971|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (15971:13): [True: 0, False: 0]
  ------------------
15972|      0|            p->level--;
15973|      0|            return NULL;
15974|      0|        }
15975|      0|        D(fprintf(stderr, "%*c> lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_star_etc"));
15976|      0|        StarEtc* a;
15977|      0|        if (
15978|      0|            (a = lambda_star_etc_rule(p))  // lambda_star_etc
  ------------------
  |  Branch (15978:13): [True: 0, False: 0]
  ------------------
15979|      0|        )
15980|      0|        {
15981|      0|            D(fprintf(stderr, "%*c+ lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_star_etc"));
15982|      0|            _res = _PyPegen_make_arguments ( p , NULL , NULL , NULL , NULL , a );
15983|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15983:18): [True: 0, False: 0]
  |  Branch (15983:34): [True: 0, False: 0]
  |  Branch (15983:57): [True: 0, False: 0]
  ------------------
15984|      0|                p->error_indicator = 1;
15985|      0|                p->level--;
15986|      0|                return NULL;
15987|      0|            }
15988|      0|            goto done;
15989|      0|        }
15990|      0|        p->mark = _mark;
15991|      0|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15992|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_star_etc"));
15993|      0|    }
15994|      0|    _res = NULL;
15995|      3|  done:
15996|      3|    p->level--;
15997|      3|    return _res;
15998|      0|}
parser.c:_loop0_73_rule:
33180|      3|{
33181|      3|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      6|#  define MAXSTACK 6000
  ------------------
  |  Branch (33181:9): [True: 0, False: 3]
  |  Branch (33181:35): [True: 0, False: 3]
  ------------------
33182|      0|        _Pypegen_stack_overflow(p);
33183|      0|    }
33184|      3|    if (p->error_indicator) {
  ------------------
  |  Branch (33184:9): [True: 0, False: 3]
  ------------------
33185|      0|        p->level--;
33186|      0|        return NULL;
33187|      0|    }
33188|      3|    void *_res = NULL;
33189|      3|    int _mark = p->mark;
33190|      3|    void **_children = PyMem_Malloc(sizeof(void *));
33191|      3|    if (!_children) {
  ------------------
  |  Branch (33191:9): [True: 0, False: 3]
  ------------------
33192|      0|        p->error_indicator = 1;
33193|      0|        PyErr_NoMemory();
33194|      0|        p->level--;
33195|      0|        return NULL;
33196|      0|    }
33197|      3|    Py_ssize_t _children_capacity = 1;
33198|      3|    Py_ssize_t _n = 0;
33199|      3|    { // lambda_param_with_default
33200|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (33200:13): [True: 0, False: 3]
  ------------------
33201|      0|            p->level--;
33202|      0|            return NULL;
33203|      0|        }
33204|      3|        D(fprintf(stderr, "%*c> _loop0_73[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default"));
33205|      3|        NameDefaultPair* lambda_param_with_default_var;
33206|      3|        while (
33207|      3|            (lambda_param_with_default_var = lambda_param_with_default_rule(p))  // lambda_param_with_default
  ------------------
  |  Branch (33207:13): [True: 0, False: 3]
  ------------------
33208|      3|        )
33209|      0|        {
33210|      0|            _res = lambda_param_with_default_var;
33211|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (33211:17): [True: 0, False: 0]
  ------------------
33212|      0|                _children_capacity *= 2;
33213|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
33214|      0|                if (!_new_children) {
  ------------------
  |  Branch (33214:21): [True: 0, False: 0]
  ------------------
33215|      0|                    PyMem_Free(_children);
33216|      0|                    p->error_indicator = 1;
33217|      0|                    PyErr_NoMemory();
33218|      0|                    p->level--;
33219|      0|                    return NULL;
33220|      0|                }
33221|      0|                _children = _new_children;
33222|      0|            }
33223|      0|            _children[_n++] = _res;
33224|      0|            _mark = p->mark;
33225|      0|        }
33226|      3|        p->mark = _mark;
33227|      3|        D(fprintf(stderr, "%*c%s _loop0_73[%d-%d]: %s failed!\n", p->level, ' ',
33228|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_with_default"));
33229|      3|    }
33230|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
33231|      3|    if (!_seq) {
  ------------------
  |  Branch (33231:9): [True: 0, False: 3]
  ------------------
33232|      0|        PyMem_Free(_children);
33233|      0|        p->error_indicator = 1;
33234|      0|        PyErr_NoMemory();
33235|      0|        p->level--;
33236|      0|        return NULL;
33237|      0|    }
33238|      3|    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|      3|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (33238:28): [True: 0, False: 3]
  ------------------
33239|      3|    PyMem_Free(_children);
33240|      3|    p->level--;
33241|      3|    return _seq;
33242|      3|}
parser.c:lambda_star_etc_rule:
16173|      3|{
16174|      3|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      6|#  define MAXSTACK 6000
  ------------------
  |  Branch (16174:9): [True: 0, False: 3]
  |  Branch (16174:35): [True: 0, False: 3]
  ------------------
16175|      0|        _Pypegen_stack_overflow(p);
16176|      0|    }
16177|      3|    if (p->error_indicator) {
  ------------------
  |  Branch (16177:9): [True: 0, False: 3]
  ------------------
16178|      0|        p->level--;
16179|      0|        return NULL;
16180|      0|    }
16181|      3|    StarEtc* _res = NULL;
16182|      3|    int _mark = p->mark;
16183|      3|    if (p->call_invalid_rules) { // invalid_lambda_star_etc
  ------------------
  |  Branch (16183:9): [True: 0, False: 3]
  ------------------
16184|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (16184:13): [True: 0, False: 0]
  ------------------
16185|      0|            p->level--;
16186|      0|            return NULL;
16187|      0|        }
16188|      0|        D(fprintf(stderr, "%*c> lambda_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_lambda_star_etc"));
16189|      0|        void *invalid_lambda_star_etc_var;
16190|      0|        if (
16191|      0|            (invalid_lambda_star_etc_var = invalid_lambda_star_etc_rule(p))  // invalid_lambda_star_etc
  ------------------
  |  Branch (16191:13): [True: 0, False: 0]
  ------------------
16192|      0|        )
16193|      0|        {
16194|      0|            D(fprintf(stderr, "%*c+ lambda_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_lambda_star_etc"));
16195|      0|            _res = invalid_lambda_star_etc_var;
16196|      0|            goto done;
16197|      0|        }
16198|      0|        p->mark = _mark;
16199|      0|        D(fprintf(stderr, "%*c%s lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
16200|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_lambda_star_etc"));
16201|      0|    }
16202|      3|    { // '*' lambda_param_no_default lambda_param_maybe_default* lambda_kwds?
16203|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (16203:13): [True: 0, False: 3]
  ------------------
16204|      0|            p->level--;
16205|      0|            return NULL;
16206|      0|        }
16207|      3|        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?"));
16208|      3|        Token * _literal;
16209|      3|        arg_ty a;
16210|      3|        asdl_seq * b;
16211|      3|        void *c;
16212|      3|        if (
16213|      3|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (16213:13): [True: 0, False: 3]
  ------------------
16214|      0|            &&
16215|      0|            (a = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  Branch (16215:13): [True: 0, False: 0]
  ------------------
16216|      0|            &&
16217|      0|            (b = _loop0_76_rule(p))  // lambda_param_maybe_default*
  ------------------
  |  Branch (16217:13): [True: 0, False: 0]
  ------------------
16218|      0|            &&
16219|      0|            (c = lambda_kwds_rule(p), !p->error_indicator)  // lambda_kwds?
  ------------------
  |  Branch (16219:13): [True: 0, False: 0]
  ------------------
16220|      3|        )
16221|      0|        {
16222|      0|            D(fprintf(stderr, "%*c+ lambda_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' lambda_param_no_default lambda_param_maybe_default* lambda_kwds?"));
16223|      0|            _res = _PyPegen_star_etc ( p , a , b , c );
16224|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16224:18): [True: 0, False: 0]
  |  Branch (16224:34): [True: 0, False: 0]
  |  Branch (16224:57): [True: 0, False: 0]
  ------------------
16225|      0|                p->error_indicator = 1;
16226|      0|                p->level--;
16227|      0|                return NULL;
16228|      0|            }
16229|      0|            goto done;
16230|      0|        }
16231|      3|        p->mark = _mark;
16232|      3|        D(fprintf(stderr, "%*c%s lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
16233|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' lambda_param_no_default lambda_param_maybe_default* lambda_kwds?"));
16234|      3|    }
16235|      0|    { // '*' ',' lambda_param_maybe_default+ lambda_kwds?
16236|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (16236:13): [True: 0, False: 3]
  ------------------
16237|      0|            p->level--;
16238|      0|            return NULL;
16239|      0|        }
16240|      3|        D(fprintf(stderr, "%*c> lambda_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' ',' lambda_param_maybe_default+ lambda_kwds?"));
16241|      3|        Token * _literal;
16242|      3|        Token * _literal_1;
16243|      3|        asdl_seq * b;
16244|      3|        void *c;
16245|      3|        if (
16246|      3|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (16246:13): [True: 0, False: 3]
  ------------------
16247|      0|            &&
16248|      0|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (16248:13): [True: 0, False: 0]
  ------------------
16249|      0|            &&
16250|      0|            (b = _loop1_77_rule(p))  // lambda_param_maybe_default+
  ------------------
  |  Branch (16250:13): [True: 0, False: 0]
  ------------------
16251|      0|            &&
16252|      0|            (c = lambda_kwds_rule(p), !p->error_indicator)  // lambda_kwds?
  ------------------
  |  Branch (16252:13): [True: 0, False: 0]
  ------------------
16253|      3|        )
16254|      0|        {
16255|      0|            D(fprintf(stderr, "%*c+ lambda_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' ',' lambda_param_maybe_default+ lambda_kwds?"));
16256|      0|            _res = _PyPegen_star_etc ( p , NULL , b , c );
16257|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16257:18): [True: 0, False: 0]
  |  Branch (16257:34): [True: 0, False: 0]
  |  Branch (16257:57): [True: 0, False: 0]
  ------------------
16258|      0|                p->error_indicator = 1;
16259|      0|                p->level--;
16260|      0|                return NULL;
16261|      0|            }
16262|      0|            goto done;
16263|      0|        }
16264|      3|        p->mark = _mark;
16265|      3|        D(fprintf(stderr, "%*c%s lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
16266|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' ',' lambda_param_maybe_default+ lambda_kwds?"));
16267|      3|    }
16268|      0|    { // lambda_kwds
16269|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (16269:13): [True: 0, False: 3]
  ------------------
16270|      0|            p->level--;
16271|      0|            return NULL;
16272|      0|        }
16273|      3|        D(fprintf(stderr, "%*c> lambda_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_kwds"));
16274|      3|        arg_ty a;
16275|      3|        if (
16276|      3|            (a = lambda_kwds_rule(p))  // lambda_kwds
  ------------------
  |  Branch (16276:13): [True: 0, False: 3]
  ------------------
16277|      3|        )
16278|      0|        {
16279|      0|            D(fprintf(stderr, "%*c+ lambda_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_kwds"));
16280|      0|            _res = _PyPegen_star_etc ( p , NULL , NULL , a );
16281|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16281:18): [True: 0, False: 0]
  |  Branch (16281:34): [True: 0, False: 0]
  |  Branch (16281:57): [True: 0, False: 0]
  ------------------
16282|      0|                p->error_indicator = 1;
16283|      0|                p->level--;
16284|      0|                return NULL;
16285|      0|            }
16286|      0|            goto done;
16287|      0|        }
16288|      3|        p->mark = _mark;
16289|      3|        D(fprintf(stderr, "%*c%s lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
16290|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_kwds"));
16291|      3|    }
16292|      3|    _res = NULL;
16293|      3|  done:
16294|      3|    p->level--;
16295|      3|    return _res;
16296|      3|}
parser.c:lambda_kwds_rule:
16301|      3|{
16302|      3|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      6|#  define MAXSTACK 6000
  ------------------
  |  Branch (16302:9): [True: 0, False: 3]
  |  Branch (16302:35): [True: 0, False: 3]
  ------------------
16303|      0|        _Pypegen_stack_overflow(p);
16304|      0|    }
16305|      3|    if (p->error_indicator) {
  ------------------
  |  Branch (16305:9): [True: 0, False: 3]
  ------------------
16306|      0|        p->level--;
16307|      0|        return NULL;
16308|      0|    }
16309|      3|    arg_ty _res = NULL;
16310|      3|    int _mark = p->mark;
16311|      3|    if (p->call_invalid_rules) { // invalid_lambda_kwds
  ------------------
  |  Branch (16311:9): [True: 0, False: 3]
  ------------------
16312|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (16312:13): [True: 0, False: 0]
  ------------------
16313|      0|            p->level--;
16314|      0|            return NULL;
16315|      0|        }
16316|      0|        D(fprintf(stderr, "%*c> lambda_kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_lambda_kwds"));
16317|      0|        void *invalid_lambda_kwds_var;
16318|      0|        if (
16319|      0|            (invalid_lambda_kwds_var = invalid_lambda_kwds_rule(p))  // invalid_lambda_kwds
  ------------------
  |  Branch (16319:13): [True: 0, False: 0]
  ------------------
16320|      0|        )
16321|      0|        {
16322|      0|            D(fprintf(stderr, "%*c+ lambda_kwds[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_lambda_kwds"));
16323|      0|            _res = invalid_lambda_kwds_var;
16324|      0|            goto done;
16325|      0|        }
16326|      0|        p->mark = _mark;
16327|      0|        D(fprintf(stderr, "%*c%s lambda_kwds[%d-%d]: %s failed!\n", p->level, ' ',
16328|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_lambda_kwds"));
16329|      0|    }
16330|      3|    { // '**' lambda_param_no_default
16331|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (16331:13): [True: 0, False: 3]
  ------------------
16332|      0|            p->level--;
16333|      0|            return NULL;
16334|      0|        }
16335|      3|        D(fprintf(stderr, "%*c> lambda_kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' lambda_param_no_default"));
16336|      3|        Token * _literal;
16337|      3|        arg_ty a;
16338|      3|        if (
16339|      3|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (16339:13): [True: 0, False: 3]
  ------------------
16340|      0|            &&
16341|      0|            (a = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  Branch (16341:13): [True: 0, False: 0]
  ------------------
16342|      3|        )
16343|      0|        {
16344|      0|            D(fprintf(stderr, "%*c+ lambda_kwds[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' lambda_param_no_default"));
16345|      0|            _res = a;
16346|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16346:18): [True: 0, False: 0]
  |  Branch (16346:34): [True: 0, False: 0]
  |  Branch (16346:57): [True: 0, False: 0]
  ------------------
16347|      0|                p->error_indicator = 1;
16348|      0|                p->level--;
16349|      0|                return NULL;
16350|      0|            }
16351|      0|            goto done;
16352|      0|        }
16353|      3|        p->mark = _mark;
16354|      3|        D(fprintf(stderr, "%*c%s lambda_kwds[%d-%d]: %s failed!\n", p->level, ' ',
16355|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' lambda_param_no_default"));
16356|      3|    }
16357|      3|    _res = NULL;
16358|      3|  done:
16359|      3|    p->level--;
16360|      3|    return _res;
16361|      3|}
parser.c:lambdef_rule:
15708|      3|{
15709|      3|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      6|#  define MAXSTACK 6000
  ------------------
  |  Branch (15709:9): [True: 0, False: 3]
  |  Branch (15709:35): [True: 0, False: 3]
  ------------------
15710|      0|        _Pypegen_stack_overflow(p);
15711|      0|    }
15712|      3|    if (p->error_indicator) {
  ------------------
  |  Branch (15712:9): [True: 0, False: 3]
  ------------------
15713|      0|        p->level--;
15714|      0|        return NULL;
15715|      0|    }
15716|      3|    expr_ty _res = NULL;
15717|      3|    int _mark = p->mark;
15718|      3|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (15718:9): [True: 0, False: 3]
  |  Branch (15718:31): [True: 0, False: 0]
  ------------------
15719|      0|        p->error_indicator = 1;
15720|      0|        p->level--;
15721|      0|        return NULL;
15722|      0|    }
15723|      3|    int _start_lineno = p->tokens[_mark]->lineno;
15724|      3|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      3|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 3]
  |  |  ------------------
  ------------------
15725|      3|    int _start_col_offset = p->tokens[_mark]->col_offset;
15726|      3|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      3|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 3]
  |  |  ------------------
  ------------------
15727|      3|    { // 'lambda' lambda_params? ':' expression
15728|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (15728:13): [True: 0, False: 3]
  ------------------
15729|      0|            p->level--;
15730|      0|            return NULL;
15731|      0|        }
15732|      3|        D(fprintf(stderr, "%*c> lambdef[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'lambda' lambda_params? ':' expression"));
15733|      3|        Token * _keyword;
15734|      3|        Token * _literal;
15735|      3|        void *a;
15736|      3|        expr_ty b;
15737|      3|        if (
15738|      3|            (_keyword = _PyPegen_expect_token(p, 622))  // token='lambda'
  ------------------
  |  Branch (15738:13): [True: 3, False: 0]
  ------------------
15739|      3|            &&
15740|      3|            (a = lambda_params_rule(p), !p->error_indicator)  // lambda_params?
  ------------------
  |  Branch (15740:13): [True: 3, False: 0]
  ------------------
15741|      3|            &&
15742|      3|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (15742:13): [True: 3, False: 0]
  ------------------
15743|      3|            &&
15744|      3|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (15744:13): [True: 3, False: 0]
  ------------------
15745|      3|        )
15746|      3|        {
15747|      3|            D(fprintf(stderr, "%*c+ lambdef[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'lambda' lambda_params? ':' expression"));
15748|      3|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15749|      3|            if (_token == NULL) {
  ------------------
  |  Branch (15749:17): [True: 0, False: 3]
  ------------------
15750|      0|                p->level--;
15751|      0|                return NULL;
15752|      0|            }
15753|      3|            int _end_lineno = _token->end_lineno;
15754|      3|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      3|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 3]
  |  |  ------------------
  ------------------
15755|      3|            int _end_col_offset = _token->end_col_offset;
15756|      3|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      3|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 3]
  |  |  ------------------
  ------------------
15757|      3|            _res = _PyAST_Lambda ( ( a ) ? a : CHECK ( arguments_ty , _PyPegen_empty_arguments ( p ) ) , b , EXTRA );
  ------------------
  |  |  238|      3|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Lambda ( ( a ) ? a : CHECK ( arguments_ty , _PyPegen_empty_arguments ( p ) ) , b , EXTRA );
  ------------------
  |  |  274|      3|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (15757:36): [True: 3, False: 0]
  ------------------
15758|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15758:18): [True: 0, False: 3]
  |  Branch (15758:34): [True: 0, False: 3]
  |  Branch (15758:57): [True: 0, False: 0]
  ------------------
15759|      0|                p->error_indicator = 1;
15760|      0|                p->level--;
15761|      0|                return NULL;
15762|      0|            }
15763|      3|            goto done;
15764|      3|        }
15765|      0|        p->mark = _mark;
15766|      0|        D(fprintf(stderr, "%*c%s lambdef[%d-%d]: %s failed!\n", p->level, ' ',
15767|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'lambda' lambda_params? ':' expression"));
15768|      0|    }
15769|      0|    _res = NULL;
15770|      3|  done:
15771|      3|    p->level--;
15772|      3|    return _res;
15773|      0|}
parser.c:expressions_rule:
11457|      3|{
11458|      3|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      6|#  define MAXSTACK 6000
  ------------------
  |  Branch (11458:9): [True: 0, False: 3]
  |  Branch (11458:35): [True: 0, False: 3]
  ------------------
11459|      0|        _Pypegen_stack_overflow(p);
11460|      0|    }
11461|      3|    if (p->error_indicator) {
  ------------------
  |  Branch (11461:9): [True: 0, False: 3]
  ------------------
11462|      0|        p->level--;
11463|      0|        return NULL;
11464|      0|    }
11465|      3|    expr_ty _res = NULL;
11466|      3|    int _mark = p->mark;
11467|      3|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (11467:9): [True: 3, False: 0]
  |  Branch (11467:31): [True: 0, False: 3]
  ------------------
11468|      0|        p->error_indicator = 1;
11469|      0|        p->level--;
11470|      0|        return NULL;
11471|      0|    }
11472|      3|    int _start_lineno = p->tokens[_mark]->lineno;
11473|      3|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      3|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 3]
  |  |  ------------------
  ------------------
11474|      3|    int _start_col_offset = p->tokens[_mark]->col_offset;
11475|      3|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      3|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 3]
  |  |  ------------------
  ------------------
11476|      3|    { // expression ((',' expression))+ ','?
11477|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (11477:13): [True: 0, False: 3]
  ------------------
11478|      0|            p->level--;
11479|      0|            return NULL;
11480|      0|        }
11481|      3|        D(fprintf(stderr, "%*c> expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ((',' expression))+ ','?"));
11482|      3|        void *_opt_var;
11483|      3|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  272|      3|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 3]
  |  |  ------------------
  ------------------
11484|      3|        expr_ty a;
11485|      3|        asdl_seq * b;
11486|      3|        if (
11487|      3|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (11487:13): [True: 3, False: 0]
  ------------------
11488|      3|            &&
11489|      3|            (b = _loop1_55_rule(p))  // ((',' expression))+
  ------------------
  |  Branch (11489:13): [True: 0, False: 3]
  ------------------
11490|      0|            &&
11491|      0|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (11491:13): [True: 0, False: 0]
  ------------------
11492|      3|        )
11493|      0|        {
11494|      0|            D(fprintf(stderr, "%*c+ expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ((',' expression))+ ','?"));
11495|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11496|      0|            if (_token == NULL) {
  ------------------
  |  Branch (11496:17): [True: 0, False: 0]
  ------------------
11497|      0|                p->level--;
11498|      0|                return NULL;
11499|      0|            }
11500|      0|            int _end_lineno = _token->end_lineno;
11501|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11502|      0|            int _end_col_offset = _token->end_col_offset;
11503|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11504|      0|            _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , Load , EXTRA );
  ------------------
  |  |  238|      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 );
  ------------------
  |  |  274|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11505|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11505:18): [True: 0, False: 0]
  |  Branch (11505:34): [True: 0, False: 0]
  |  Branch (11505:57): [True: 0, False: 0]
  ------------------
11506|      0|                p->error_indicator = 1;
11507|      0|                p->level--;
11508|      0|                return NULL;
11509|      0|            }
11510|      0|            goto done;
11511|      0|        }
11512|      3|        p->mark = _mark;
11513|      3|        D(fprintf(stderr, "%*c%s expressions[%d-%d]: %s failed!\n", p->level, ' ',
11514|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ((',' expression))+ ','?"));
11515|      3|    }
11516|      0|    { // expression ','
11517|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (11517:13): [True: 0, False: 3]
  ------------------
11518|      0|            p->level--;
11519|      0|            return NULL;
11520|      0|        }
11521|      3|        D(fprintf(stderr, "%*c> expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ','"));
11522|      3|        Token * _literal;
11523|      3|        expr_ty a;
11524|      3|        if (
11525|      3|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (11525:13): [True: 3, False: 0]
  ------------------
11526|      3|            &&
11527|      3|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (11527:13): [True: 0, False: 3]
  ------------------
11528|      3|        )
11529|      0|        {
11530|      0|            D(fprintf(stderr, "%*c+ expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ','"));
11531|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11532|      0|            if (_token == NULL) {
  ------------------
  |  Branch (11532:17): [True: 0, False: 0]
  ------------------
11533|      0|                p->level--;
11534|      0|                return NULL;
11535|      0|            }
11536|      0|            int _end_lineno = _token->end_lineno;
11537|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11538|      0|            int _end_col_offset = _token->end_col_offset;
11539|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  272|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (272:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11540|      0|            _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_singleton_seq ( p , a ) ) , Load , EXTRA );
  ------------------
  |  |  238|      0|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_singleton_seq ( p , a ) ) , Load , EXTRA );
  ------------------
  |  |  274|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11541|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11541:18): [True: 0, False: 0]
  |  Branch (11541:34): [True: 0, False: 0]
  |  Branch (11541:57): [True: 0, False: 0]
  ------------------
11542|      0|                p->error_indicator = 1;
11543|      0|                p->level--;
11544|      0|                return NULL;
11545|      0|            }
11546|      0|            goto done;
11547|      0|        }
11548|      3|        p->mark = _mark;
11549|      3|        D(fprintf(stderr, "%*c%s expressions[%d-%d]: %s failed!\n", p->level, ' ',
11550|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ','"));
11551|      3|    }
11552|      0|    { // expression
11553|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (11553:13): [True: 0, False: 3]
  ------------------
11554|      0|            p->level--;
11555|      0|            return NULL;
11556|      0|        }
11557|      3|        D(fprintf(stderr, "%*c> expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression"));
11558|      3|        expr_ty expression_var;
11559|      3|        if (
11560|      3|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (11560:13): [True: 3, False: 0]
  ------------------
11561|      3|        )
11562|      3|        {
11563|      3|            D(fprintf(stderr, "%*c+ expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression"));
11564|      3|            _res = expression_var;
11565|      3|            goto done;
11566|      3|        }
11567|      0|        p->mark = _mark;
11568|      0|        D(fprintf(stderr, "%*c%s expressions[%d-%d]: %s failed!\n", p->level, ' ',
11569|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression"));
11570|      0|    }
11571|      0|    _res = NULL;
11572|      3|  done:
11573|      3|    p->level--;
11574|      3|    return _res;
11575|      0|}
parser.c:_loop1_55_rule:
32028|      3|{
32029|      3|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      6|#  define MAXSTACK 6000
  ------------------
  |  Branch (32029:9): [True: 0, False: 3]
  |  Branch (32029:35): [True: 0, False: 3]
  ------------------
32030|      0|        _Pypegen_stack_overflow(p);
32031|      0|    }
32032|      3|    if (p->error_indicator) {
  ------------------
  |  Branch (32032:9): [True: 0, False: 3]
  ------------------
32033|      0|        p->level--;
32034|      0|        return NULL;
32035|      0|    }
32036|      3|    void *_res = NULL;
32037|      3|    int _mark = p->mark;
32038|      3|    void **_children = PyMem_Malloc(sizeof(void *));
32039|      3|    if (!_children) {
  ------------------
  |  Branch (32039:9): [True: 0, False: 3]
  ------------------
32040|      0|        p->error_indicator = 1;
32041|      0|        PyErr_NoMemory();
32042|      0|        p->level--;
32043|      0|        return NULL;
32044|      0|    }
32045|      3|    Py_ssize_t _children_capacity = 1;
32046|      3|    Py_ssize_t _n = 0;
32047|      3|    { // (',' expression)
32048|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (32048:13): [True: 0, False: 3]
  ------------------
32049|      0|            p->level--;
32050|      0|            return NULL;
32051|      0|        }
32052|      3|        D(fprintf(stderr, "%*c> _loop1_55[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(',' expression)"));
32053|      3|        void *_tmp_16_var;
32054|      3|        while (
32055|      3|            (_tmp_16_var = _tmp_16_rule(p))  // ',' expression
  ------------------
  |  Branch (32055:13): [True: 0, False: 3]
  ------------------
32056|      3|        )
32057|      0|        {
32058|      0|            _res = _tmp_16_var;
32059|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (32059:17): [True: 0, False: 0]
  ------------------
32060|      0|                _children_capacity *= 2;
32061|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
32062|      0|                if (!_new_children) {
  ------------------
  |  Branch (32062:21): [True: 0, False: 0]
  ------------------
32063|      0|                    PyMem_Free(_children);
32064|      0|                    p->error_indicator = 1;
32065|      0|                    PyErr_NoMemory();
32066|      0|                    p->level--;
32067|      0|                    return NULL;
32068|      0|                }
32069|      0|                _children = _new_children;
32070|      0|            }
32071|      0|            _children[_n++] = _res;
32072|      0|            _mark = p->mark;
32073|      0|        }
32074|      3|        p->mark = _mark;
32075|      3|        D(fprintf(stderr, "%*c%s _loop1_55[%d-%d]: %s failed!\n", p->level, ' ',
32076|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(',' expression)"));
32077|      3|    }
32078|      3|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (32078:9): [True: 3, False: 0]
  |  Branch (32078:20): [True: 0, False: 0]
  ------------------
32079|      3|        PyMem_Free(_children);
32080|      3|        p->level--;
32081|      3|        return NULL;
32082|      3|    }
32083|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
32084|      0|    if (!_seq) {
  ------------------
  |  Branch (32084:9): [True: 0, False: 0]
  ------------------
32085|      0|        PyMem_Free(_children);
32086|      0|        p->error_indicator = 1;
32087|      0|        PyErr_NoMemory();
32088|      0|        p->level--;
32089|      0|        return NULL;
32090|      0|    }
32091|      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 (32091:28): [True: 0, False: 0]
  ------------------
32092|      0|    PyMem_Free(_children);
32093|      0|    p->level--;
32094|      0|    return _seq;
32095|      0|}
parser.c:eval_rule:
 1102|      3|{
 1103|      3|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      6|#  define MAXSTACK 6000
  ------------------
  |  Branch (1103:9): [True: 0, False: 3]
  |  Branch (1103:35): [True: 0, False: 3]
  ------------------
 1104|      0|        _Pypegen_stack_overflow(p);
 1105|      0|    }
 1106|      3|    if (p->error_indicator) {
  ------------------
  |  Branch (1106:9): [True: 0, False: 3]
  ------------------
 1107|      0|        p->level--;
 1108|      0|        return NULL;
 1109|      0|    }
 1110|      3|    mod_ty _res = NULL;
 1111|      3|    int _mark = p->mark;
 1112|      3|    { // expressions NEWLINE* $
 1113|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (1113:13): [True: 0, False: 3]
  ------------------
 1114|      0|            p->level--;
 1115|      0|            return NULL;
 1116|      0|        }
 1117|      3|        D(fprintf(stderr, "%*c> eval[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expressions NEWLINE* $"));
 1118|      3|        asdl_seq * _loop0_1_var;
 1119|      3|        expr_ty a;
 1120|      3|        Token * endmarker_var;
 1121|      3|        if (
 1122|      3|            (a = expressions_rule(p))  // expressions
  ------------------
  |  Branch (1122:13): [True: 3, False: 0]
  ------------------
 1123|      3|            &&
 1124|      3|            (_loop0_1_var = _loop0_1_rule(p))  // NEWLINE*
  ------------------
  |  Branch (1124:13): [True: 3, False: 0]
  ------------------
 1125|      3|            &&
 1126|      3|            (endmarker_var = _PyPegen_expect_token(p, ENDMARKER))  // token='ENDMARKER'
  ------------------
  |  |   16|      3|#define ENDMARKER       0
  ------------------
  |  Branch (1126:13): [True: 3, False: 0]
  ------------------
 1127|      3|        )
 1128|      3|        {
 1129|      3|            D(fprintf(stderr, "%*c+ eval[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expressions NEWLINE* $"));
 1130|      3|            _res = _PyAST_Expression ( a , p -> arena );
 1131|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1131:18): [True: 0, False: 3]
  |  Branch (1131:34): [True: 0, False: 3]
  |  Branch (1131:57): [True: 0, False: 0]
  ------------------
 1132|      0|                p->error_indicator = 1;
 1133|      0|                p->level--;
 1134|      0|                return NULL;
 1135|      0|            }
 1136|      3|            goto done;
 1137|      3|        }
 1138|      0|        p->mark = _mark;
 1139|      0|        D(fprintf(stderr, "%*c%s eval[%d-%d]: %s failed!\n", p->level, ' ',
 1140|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expressions NEWLINE* $"));
 1141|      0|    }
 1142|      0|    _res = NULL;
 1143|      3|  done:
 1144|      3|    p->level--;
 1145|      3|    return _res;
 1146|      0|}
parser.c:_loop0_1_rule:
28663|      3|{
28664|      3|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      6|#  define MAXSTACK 6000
  ------------------
  |  Branch (28664:9): [True: 0, False: 3]
  |  Branch (28664:35): [True: 0, False: 3]
  ------------------
28665|      0|        _Pypegen_stack_overflow(p);
28666|      0|    }
28667|      3|    if (p->error_indicator) {
  ------------------
  |  Branch (28667:9): [True: 0, False: 3]
  ------------------
28668|      0|        p->level--;
28669|      0|        return NULL;
28670|      0|    }
28671|      3|    void *_res = NULL;
28672|      3|    int _mark = p->mark;
28673|      3|    void **_children = PyMem_Malloc(sizeof(void *));
28674|      3|    if (!_children) {
  ------------------
  |  Branch (28674:9): [True: 0, False: 3]
  ------------------
28675|      0|        p->error_indicator = 1;
28676|      0|        PyErr_NoMemory();
28677|      0|        p->level--;
28678|      0|        return NULL;
28679|      0|    }
28680|      3|    Py_ssize_t _children_capacity = 1;
28681|      3|    Py_ssize_t _n = 0;
28682|      3|    { // NEWLINE
28683|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (28683:13): [True: 0, False: 3]
  ------------------
28684|      0|            p->level--;
28685|      0|            return NULL;
28686|      0|        }
28687|      3|        D(fprintf(stderr, "%*c> _loop0_1[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NEWLINE"));
28688|      3|        Token * newline_var;
28689|      3|        while (
28690|      3|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|      3|#define NEWLINE         4
  ------------------
  |  Branch (28690:13): [True: 0, False: 3]
  ------------------
28691|      3|        )
28692|      0|        {
28693|      0|            _res = newline_var;
28694|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (28694:17): [True: 0, False: 0]
  ------------------
28695|      0|                _children_capacity *= 2;
28696|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
28697|      0|                if (!_new_children) {
  ------------------
  |  Branch (28697:21): [True: 0, False: 0]
  ------------------
28698|      0|                    PyMem_Free(_children);
28699|      0|                    p->error_indicator = 1;
28700|      0|                    PyErr_NoMemory();
28701|      0|                    p->level--;
28702|      0|                    return NULL;
28703|      0|                }
28704|      0|                _children = _new_children;
28705|      0|            }
28706|      0|            _children[_n++] = _res;
28707|      0|            _mark = p->mark;
28708|      0|        }
28709|      3|        p->mark = _mark;
28710|      3|        D(fprintf(stderr, "%*c%s _loop0_1[%d-%d]: %s failed!\n", p->level, ' ',
28711|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NEWLINE"));
28712|      3|    }
28713|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
28714|      3|    if (!_seq) {
  ------------------
  |  Branch (28714:9): [True: 0, False: 3]
  ------------------
28715|      0|        PyMem_Free(_children);
28716|      0|        p->error_indicator = 1;
28717|      0|        PyErr_NoMemory();
28718|      0|        p->level--;
28719|      0|        return NULL;
28720|      0|    }
28721|      3|    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|      3|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (28721:28): [True: 0, False: 3]
  ------------------
28722|      3|    PyMem_Free(_children);
28723|      3|    p->level--;
28724|      3|    return _seq;
28725|      3|}

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

_PyPegen_insert_memo:
   82|    315|{
   83|       |    // Insert in front
   84|    315|    Memo *m = _PyArena_Malloc(p->arena, sizeof(Memo));
   85|    315|    if (m == NULL) {
  ------------------
  |  Branch (85:9): [True: 0, False: 315]
  ------------------
   86|      0|        return -1;
   87|      0|    }
   88|    315|    m->type = type;
   89|    315|    m->node = node;
   90|    315|    m->mark = p->mark;
   91|    315|    m->next = p->tokens[mark]->memo;
   92|    315|    p->tokens[mark]->memo = m;
   93|    315|    return 0;
   94|    315|}
_PyPegen_update_memo:
   99|    318|{
  100|  1.51k|    for (Memo *m = p->tokens[mark]->memo; m != NULL; m = m->next) {
  ------------------
  |  Branch (100:43): [True: 1.34k, False: 168]
  ------------------
  101|  1.34k|        if (m->type == type) {
  ------------------
  |  Branch (101:13): [True: 150, False: 1.19k]
  ------------------
  102|       |            // Update existing node.
  103|    150|            m->node = node;
  104|    150|            m->mark = p->mark;
  105|    150|            return 0;
  106|    150|        }
  107|  1.34k|    }
  108|       |    // Insert new node.
  109|    168|    return _PyPegen_insert_memo(p, mark, type, node);
  110|    318|}
_PyPegen_fill_token:
  246|     78|{
  247|     78|    struct token new_token;
  248|     78|    _PyToken_Init(&new_token);
  249|     78|    int type = _PyTokenizer_Get(p->tok, &new_token);
  250|       |
  251|       |    // Record and skip '# type: ignore' comments
  252|     78|    while (type == TYPE_IGNORE) {
  ------------------
  |  |   72|     78|#define TYPE_IGNORE     56
  ------------------
  |  Branch (252:12): [True: 0, False: 78]
  ------------------
  253|      0|        Py_ssize_t len = new_token.end_col_offset - new_token.col_offset;
  254|      0|        char *tag = PyMem_Malloc((size_t)len + 1);
  255|      0|        if (tag == NULL) {
  ------------------
  |  Branch (255:13): [True: 0, False: 0]
  ------------------
  256|      0|            PyErr_NoMemory();
  257|      0|            goto error;
  258|      0|        }
  259|      0|        strncpy(tag, new_token.start, (size_t)len);
  260|      0|        tag[len] = '\0';
  261|       |        // Ownership of tag passes to the growable array
  262|      0|        if (!growable_comment_array_add(&p->type_ignore_comments, p->tok->lineno, tag)) {
  ------------------
  |  Branch (262:13): [True: 0, False: 0]
  ------------------
  263|      0|            PyErr_NoMemory();
  264|      0|            goto error;
  265|      0|        }
  266|      0|        type = _PyTokenizer_Get(p->tok, &new_token);
  267|      0|    }
  268|       |
  269|       |    // If we have reached the end and we are in single input mode we need to insert a newline and reset the parsing
  270|     78|    if (p->start_rule == Py_single_input && type == ENDMARKER && p->parsing_started) {
  ------------------
  |  |    8|    156|#define Py_single_input 256
  ------------------
                  if (p->start_rule == Py_single_input && type == ENDMARKER && p->parsing_started) {
  ------------------
  |  |   16|     78|#define ENDMARKER       0
  ------------------
  |  Branch (270:9): [True: 0, False: 78]
  |  Branch (270:45): [True: 0, False: 0]
  |  Branch (270:66): [True: 0, False: 0]
  ------------------
  271|      0|        type = NEWLINE; /* Add an extra newline */
  ------------------
  |  |   20|      0|#define NEWLINE         4
  ------------------
  272|      0|        p->parsing_started = 0;
  273|       |
  274|      0|        if (p->tok->indent && !(p->flags & PyPARSE_DONT_IMPLY_DEDENT)) {
  ------------------
  |  |   14|      0|#define PyPARSE_DONT_IMPLY_DEDENT       0x0002
  ------------------
  |  Branch (274:13): [True: 0, False: 0]
  |  Branch (274:31): [True: 0, False: 0]
  ------------------
  275|      0|            p->tok->pendin = -p->tok->indent;
  276|      0|            p->tok->indent = 0;
  277|      0|        }
  278|      0|    }
  279|     78|    else {
  280|     78|        p->parsing_started = 1;
  281|     78|    }
  282|       |
  283|       |    // Check if we are at the limit of the token array capacity and resize if needed
  284|     78|    if ((p->fill == p->size) && (_resize_tokens_array(p) != 0)) {
  ------------------
  |  Branch (284:9): [True: 15, False: 63]
  |  Branch (284:33): [True: 0, False: 15]
  ------------------
  285|      0|        goto error;
  286|      0|    }
  287|       |
  288|     78|    Token *t = p->tokens[p->fill];
  289|     78|    return initialize_token(p, t, &new_token, type);
  290|      0|error:
  291|      0|    _PyToken_Free(&new_token);
  292|      0|    return -1;
  293|     78|}
_PyPegen_is_memoized:
  343|  1.31k|{
  344|  1.31k|    if (p->mark == p->fill) {
  ------------------
  |  Branch (344:9): [True: 3, False: 1.31k]
  ------------------
  345|      3|        if (_PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (345:13): [True: 0, False: 3]
  ------------------
  346|      0|            p->error_indicator = 1;
  347|      0|            return -1;
  348|      0|        }
  349|      3|    }
  350|       |
  351|  1.31k|    Token *t = p->tokens[p->mark];
  352|       |
  353|  3.99k|    for (Memo *m = t->memo; m != NULL; m = m->next) {
  ------------------
  |  Branch (353:29): [True: 3.68k, False: 315]
  ------------------
  354|  3.68k|        if (m->type == type) {
  ------------------
  |  Branch (354:13): [True: 1.00k, False: 2.68k]
  ------------------
  355|       |#if defined(Py_DEBUG)
  356|       |            if (0 <= type && type < NSTATISTICS) {
  357|       |                long count = m->mark - p->mark;
  358|       |                // A memoized negative result counts for one.
  359|       |                if (count <= 0) {
  360|       |                    count = 1;
  361|       |                }
  362|       |                PyMutex_Lock(&_PyRuntime.parser.mutex);
  363|       |                memo_statistics[type] += count;
  364|       |                PyMutex_Unlock(&_PyRuntime.parser.mutex);
  365|       |            }
  366|       |#endif
  367|  1.00k|            p->mark = m->mark;
  368|  1.00k|            *(void **)(pres) = m->node;
  369|  1.00k|            return 1;
  370|  1.00k|        }
  371|  3.68k|    }
  372|    315|    return 0;
  373|  1.31k|}
_PyPegen_expect_token:
  406|  1.38k|{
  407|  1.38k|    if (p->mark == p->fill) {
  ------------------
  |  Branch (407:9): [True: 39, False: 1.34k]
  ------------------
  408|     39|        if (_PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (408:13): [True: 0, False: 39]
  ------------------
  409|      0|            p->error_indicator = 1;
  410|      0|            return NULL;
  411|      0|        }
  412|     39|    }
  413|  1.38k|    Token *t = p->tokens[p->mark];
  414|  1.38k|    if (t->type != type) {
  ------------------
  |  Branch (414:9): [True: 1.07k, False: 303]
  ------------------
  415|  1.07k|       return NULL;
  416|  1.07k|    }
  417|    303|    p->mark += 1;
  418|    303|    return t;
  419|  1.38k|}
_PyPegen_get_last_nonnwhitespace_token:
  482|    105|{
  483|    105|    assert(p->mark >= 0);
  ------------------
  |  Branch (483:5): [True: 105, False: 0]
  ------------------
  484|    105|    Token *token = NULL;
  485|    105|    for (int m = p->mark - 1; m >= 0; m--) {
  ------------------
  |  Branch (485:31): [True: 105, False: 0]
  ------------------
  486|    105|        token = p->tokens[m];
  487|    105|        if (token->type != ENDMARKER && (token->type < NEWLINE || token->type > DEDENT)) {
  ------------------
  |  |   16|    210|#define ENDMARKER       0
  ------------------
                      if (token->type != ENDMARKER && (token->type < NEWLINE || token->type > DEDENT)) {
  ------------------
  |  |   20|    210|#define NEWLINE         4
  ------------------
                      if (token->type != ENDMARKER && (token->type < NEWLINE || token->type > DEDENT)) {
  ------------------
  |  |   22|     15|#define DEDENT          6
  ------------------
  |  Branch (487:13): [True: 105, False: 0]
  |  Branch (487:42): [True: 90, False: 15]
  |  Branch (487:67): [True: 15, False: 0]
  ------------------
  488|    105|            break;
  489|    105|        }
  490|    105|    }
  491|    105|    return token;
  492|    105|}
_PyPegen_new_identifier:
  496|    162|{
  497|    162|    PyObject *id = PyUnicode_DecodeUTF8(n, (Py_ssize_t)strlen(n), NULL);
  498|    162|    if (!id) {
  ------------------
  |  Branch (498:9): [True: 0, False: 162]
  ------------------
  499|      0|        goto error;
  500|      0|    }
  501|       |    /* Check whether there are non-ASCII characters in the
  502|       |       identifier; if so, normalize to NFKC. */
  503|    162|    if (!PyUnicode_IS_ASCII(id))
  ------------------
  |  |  227|    162|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    162|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    162|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (503:9): [True: 0, False: 162]
  ------------------
  504|      0|    {
  505|      0|        if (!init_normalization(p))
  ------------------
  |  Branch (505:13): [True: 0, False: 0]
  ------------------
  506|      0|        {
  507|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  508|      0|            goto error;
  509|      0|        }
  510|      0|        PyObject *form = PyUnicode_InternFromString("NFKC");
  511|      0|        if (form == NULL)
  ------------------
  |  Branch (511:13): [True: 0, False: 0]
  ------------------
  512|      0|        {
  513|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  514|      0|            goto error;
  515|      0|        }
  516|      0|        PyObject *args[2] = {form, id};
  517|      0|        PyObject *id2 = PyObject_Vectorcall(p->normalize, args, 2, NULL);
  518|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  519|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  520|      0|        if (!id2) {
  ------------------
  |  Branch (520:13): [True: 0, False: 0]
  ------------------
  521|      0|            goto error;
  522|      0|        }
  523|       |
  524|      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 (524:13): [True: 0, False: 0]
  ------------------
  525|      0|        {
  526|      0|            PyErr_Format(PyExc_TypeError,
  527|      0|                         "unicodedata.normalize() must return a string, not "
  528|      0|                         "%.200s",
  529|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  530|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  531|      0|            goto error;
  532|      0|        }
  533|      0|        id = id2;
  534|      0|    }
  535|    162|    static const char * const forbidden[] = {
  536|    162|        "None",
  537|    162|        "True",
  538|    162|        "False",
  539|    162|        NULL
  540|    162|    };
  541|    648|    for (int i = 0; forbidden[i] != NULL; i++) {
  ------------------
  |  Branch (541:21): [True: 486, False: 162]
  ------------------
  542|    486|        if (_PyUnicode_EqualToASCIIString(id, forbidden[i])) {
  ------------------
  |  Branch (542:13): [True: 0, False: 486]
  ------------------
  543|      0|            PyErr_Format(PyExc_ValueError,
  544|      0|                         "identifier field can't represent '%s' constant",
  545|      0|                         forbidden[i]);
  546|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  547|      0|            goto error;
  548|      0|        }
  549|    486|    }
  550|    162|    PyInterpreterState *interp = _PyInterpreterState_GET();
  551|    162|    _PyUnicode_InternImmortal(interp, &id);
  552|    162|    if (_PyArena_AddPyObject(p->arena, id) < 0)
  ------------------
  |  Branch (552:9): [True: 0, False: 162]
  ------------------
  553|      0|    {
  554|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  555|      0|        goto error;
  556|      0|    }
  557|    162|    return id;
  558|       |
  559|      0|error:
  560|      0|    p->error_indicator = 1;
  561|       |    return NULL;
  562|    162|}
_PyPegen_name_token:
  586|    222|{
  587|    222|    Token *t = _PyPegen_expect_token(p, NAME);
  ------------------
  |  |   17|    222|#define NAME            1
  ------------------
  588|    222|    return _PyPegen_name_from_token(p, t);
  589|    222|}
_PyPegen_string_token:
  593|      9|{
  594|      9|    return _PyPegen_expect_token(p, STRING);
  ------------------
  |  |   19|      9|#define STRING          3
  ------------------
  595|      9|}
_PyPegen_number_token:
  689|      9|{
  690|      9|    Token *t = _PyPegen_expect_token(p, NUMBER);
  ------------------
  |  |   18|      9|#define NUMBER          2
  ------------------
  691|      9|    if (t == NULL) {
  ------------------
  |  Branch (691:9): [True: 9, False: 0]
  ------------------
  692|      9|        return NULL;
  693|      9|    }
  694|       |
  695|      0|    const char *num_raw = PyBytes_AsString(t->bytes);
  696|      0|    if (num_raw == NULL) {
  ------------------
  |  Branch (696:9): [True: 0, False: 0]
  ------------------
  697|      0|        p->error_indicator = 1;
  698|      0|        return NULL;
  699|      0|    }
  700|       |
  701|      0|    if (p->feature_version < 6 && strchr(num_raw, '_') != NULL) {
  ------------------
  |  Branch (701:9): [True: 0, False: 0]
  |  Branch (701:35): [True: 0, False: 0]
  ------------------
  702|      0|        p->error_indicator = 1;
  703|      0|        return RAISE_SYNTAX_ERROR("Underscores in numeric literals are only supported "
  ------------------
  |  |  200|      0|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
  704|      0|                                  "in Python 3.6 and greater");
  705|      0|    }
  706|       |
  707|      0|    PyObject *c = parsenumber(num_raw);
  708|       |
  709|      0|    if (c == NULL) {
  ------------------
  |  Branch (709:9): [True: 0, False: 0]
  ------------------
  710|      0|        p->error_indicator = 1;
  711|      0|        PyThreadState *tstate = _PyThreadState_GET();
  712|       |        // The only way a ValueError should happen in _this_ code is via
  713|       |        // PyLong_FromString hitting a length limit.
  714|      0|        if (tstate->current_exception != NULL &&
  ------------------
  |  Branch (714:13): [True: 0, False: 0]
  ------------------
  715|      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 (715:13): [True: 0, False: 0]
  ------------------
  716|      0|        ) {
  717|      0|            PyObject *exc = PyErr_GetRaisedException();
  718|       |            /* Intentionally omitting columns to avoid a wall of 1000s of '^'s
  719|       |             * on the error message. Nobody is going to overlook their huge
  720|       |             * numeric literal once given the line. */
  721|      0|            RAISE_ERROR_KNOWN_LOCATION(
  722|      0|                p, PyExc_SyntaxError,
  723|      0|                t->lineno, -1 /* col_offset */,
  724|      0|                t->end_lineno, -1 /* end_col_offset */,
  725|      0|                "%S - Consider hexadecimal for huge integer literals "
  726|      0|                "to avoid decimal conversion limits.",
  727|      0|                exc);
  728|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  729|      0|        }
  730|      0|        return NULL;
  731|      0|    }
  732|       |
  733|      0|    if (_PyArena_AddPyObject(p->arena, c) < 0) {
  ------------------
  |  Branch (733:9): [True: 0, False: 0]
  ------------------
  734|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  735|      0|        p->error_indicator = 1;
  736|      0|        return NULL;
  737|      0|    }
  738|       |
  739|      0|    return _PyAST_Constant(c, NULL, t->lineno, t->col_offset, t->end_lineno,
  740|      0|                           t->end_col_offset, p->arena);
  741|      0|}
_PyPegen_Parser_New:
  802|      3|{
  803|      3|    Parser *p = PyMem_Malloc(sizeof(Parser));
  804|      3|    if (p == NULL) {
  ------------------
  |  Branch (804:9): [True: 0, False: 3]
  ------------------
  805|      0|        return (Parser *) PyErr_NoMemory();
  806|      0|    }
  807|      3|    assert(tok != NULL);
  ------------------
  |  Branch (807:5): [True: 3, False: 0]
  ------------------
  808|      3|    tok->type_comments = (flags & PyPARSE_TYPE_COMMENTS) > 0;
  ------------------
  |  |   24|      3|#define PyPARSE_TYPE_COMMENTS 0x0040
  ------------------
  809|      3|    p->tok = tok;
  810|      3|    p->keywords = NULL;
  811|      3|    p->n_keyword_lists = -1;
  812|      3|    p->soft_keywords = NULL;
  813|      3|    p->tokens = PyMem_Malloc(sizeof(Token *));
  814|      3|    if (!p->tokens) {
  ------------------
  |  Branch (814:9): [True: 0, False: 3]
  ------------------
  815|      0|        PyMem_Free(p);
  816|      0|        return (Parser *) PyErr_NoMemory();
  817|      0|    }
  818|      3|    p->tokens[0] = PyMem_Calloc(1, sizeof(Token));
  819|      3|    if (!p->tokens[0]) {
  ------------------
  |  Branch (819:9): [True: 0, False: 3]
  ------------------
  820|      0|        PyMem_Free(p->tokens);
  821|      0|        PyMem_Free(p);
  822|      0|        return (Parser *) PyErr_NoMemory();
  823|      0|    }
  824|      3|    if (!growable_comment_array_init(&p->type_ignore_comments, 10)) {
  ------------------
  |  Branch (824:9): [True: 0, False: 3]
  ------------------
  825|      0|        PyMem_Free(p->tokens[0]);
  826|      0|        PyMem_Free(p->tokens);
  827|      0|        PyMem_Free(p);
  828|      0|        return (Parser *) PyErr_NoMemory();
  829|      0|    }
  830|       |
  831|      3|    p->mark = 0;
  832|      3|    p->fill = 0;
  833|      3|    p->size = 1;
  834|       |
  835|      3|    p->errcode = errcode;
  836|      3|    p->arena = arena;
  837|      3|    p->start_rule = start_rule;
  838|      3|    p->parsing_started = 0;
  839|      3|    p->normalize = NULL;
  840|      3|    p->error_indicator = 0;
  841|       |
  842|      3|    p->starting_lineno = 0;
  843|      3|    p->starting_col_offset = 0;
  844|      3|    p->flags = flags;
  845|      3|    p->feature_version = feature_version;
  846|      3|    p->known_err_token = NULL;
  847|      3|    p->level = 0;
  848|      3|    p->call_invalid_rules = 0;
  849|      3|    p->last_stmt_location.lineno = 0;
  850|      3|    p->last_stmt_location.col_offset = 0;
  851|      3|    p->last_stmt_location.end_lineno = 0;
  852|      3|    p->last_stmt_location.end_col_offset = 0;
  853|       |#ifdef Py_DEBUG
  854|       |    p->debug = _Py_GetConfig()->parser_debug;
  855|       |#endif
  856|      3|    return p;
  857|      3|}
_PyPegen_Parser_Free:
  861|      3|{
  862|      3|    Py_XDECREF(p->normalize);
  ------------------
  |  |  524|      3|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  863|     99|    for (int i = 0; i < p->size; i++) {
  ------------------
  |  Branch (863:21): [True: 96, False: 3]
  ------------------
  864|     96|        PyMem_Free(p->tokens[i]);
  865|     96|    }
  866|      3|    PyMem_Free(p->tokens);
  867|      3|    growable_comment_array_deallocate(&p->type_ignore_comments);
  868|      3|    PyMem_Free(p);
  869|      3|}
_PyPegen_run_parser:
  940|      3|{
  941|      3|    void *res = _PyPegen_parse(p);
  942|      3|    assert(p->level == 0);
  ------------------
  |  Branch (942:5): [True: 3, False: 0]
  ------------------
  943|      3|    if (res != NULL && PyErr_Occurred()) {
  ------------------
  |  Branch (943:9): [True: 3, False: 0]
  |  Branch (943:24): [True: 0, False: 3]
  ------------------
  944|       |        // Discard a result returned with an exception still pending
  945|       |        // (e.g. a MemoryError from a recovered-from allocation failure).
  946|      0|        return NULL;
  947|      0|    }
  948|      3|    if (res == NULL) {
  ------------------
  |  Branch (948:9): [True: 0, False: 3]
  ------------------
  949|      0|        if ((p->flags & PyPARSE_ALLOW_INCOMPLETE_INPUT) &&  _is_end_of_source(p)) {
  ------------------
  |  |   25|      0|#define PyPARSE_ALLOW_INCOMPLETE_INPUT 0x0100
  ------------------
  |  Branch (949:13): [True: 0, False: 0]
  |  Branch (949:61): [True: 0, False: 0]
  ------------------
  950|      0|            PyErr_Clear();
  951|      0|            return _PyPegen_raise_error(p, PyExc_IncompleteInputError, 0, "incomplete input");
  ------------------
  |  |  205|      0|#define PyExc_IncompleteInputError ((PyObject *)(&_PyExc_IncompleteInputError))
  ------------------
  952|      0|        }
  953|      0|        if (PyErr_Occurred() && !PyErr_ExceptionMatches(PyExc_SyntaxError)) {
  ------------------
  |  Branch (953:13): [True: 0, False: 0]
  |  Branch (953:33): [True: 0, False: 0]
  ------------------
  954|      0|            return NULL;
  955|      0|        }
  956|       |       // Make a second parser pass. In this pass we activate heavier and slower checks
  957|       |        // to produce better error messages and more complete diagnostics. Extra "invalid_*"
  958|       |        // rules will be active during parsing.
  959|      0|        Token *last_token = p->tokens[p->fill - 1];
  960|      0|        reset_parser_state_for_error_pass(p);
  961|      0|        _PyPegen_parse(p);
  962|       |
  963|       |        // Set SyntaxErrors accordingly depending on the parser/tokenizer status at the failure
  964|       |        // point.
  965|      0|        _Pypegen_set_syntax_error(p, last_token);
  966|       |
  967|       |        // Set the metadata in the exception from p->last_stmt_location
  968|      0|        if (PyErr_ExceptionMatches(PyExc_SyntaxError)) {
  ------------------
  |  Branch (968:13): [True: 0, False: 0]
  ------------------
  969|      0|            _PyPegen_set_syntax_error_metadata(p);
  970|      0|        }
  971|      0|       return NULL;
  972|      0|    }
  973|       |
  974|      3|    if (p->start_rule == Py_single_input && bad_single_statement(p)) {
  ------------------
  |  |    8|      6|#define Py_single_input 256
  ------------------
  |  Branch (974:9): [True: 0, False: 3]
  |  Branch (974:45): [True: 0, False: 0]
  ------------------
  975|      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 */
  ------------------
  976|      0|        return RAISE_SYNTAX_ERROR("multiple statements found while compiling a single statement");
  ------------------
  |  |  200|      0|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
  977|      0|    }
  978|       |
  979|       |    // test_peg_generator defines _Py_TEST_PEGEN to not call PyAST_Validate()
  980|       |#if defined(Py_DEBUG) && !defined(_Py_TEST_PEGEN)
  981|       |    if (p->start_rule == Py_single_input ||
  982|       |        p->start_rule == Py_file_input ||
  983|       |        p->start_rule == Py_eval_input)
  984|       |    {
  985|       |        if (!_PyAST_Validate(res)) {
  986|       |            return NULL;
  987|       |        }
  988|       |    }
  989|       |#endif
  990|      3|    return res;
  991|      3|}
_PyPegen_run_parser_from_string:
 1052|      3|{
 1053|      3|    int exec_input = start_rule == Py_file_input;
  ------------------
  |  |    9|      3|#define Py_file_input 257
  ------------------
 1054|       |
 1055|      3|    struct tok_state *tok;
 1056|      3|    if (flags != NULL && flags->cf_flags & PyCF_IGNORE_COOKIE) {
  ------------------
  |  |   18|      3|#define PyCF_IGNORE_COOKIE 0x0800
  ------------------
  |  Branch (1056:9): [True: 3, False: 0]
  |  Branch (1056:26): [True: 3, False: 0]
  ------------------
 1057|      3|        tok = _PyTokenizer_FromUTF8(str, exec_input, 0);
 1058|      3|    } else {
 1059|      0|        tok = _PyTokenizer_FromString(str, exec_input, 0);
 1060|      0|    }
 1061|      3|    if (tok == NULL) {
  ------------------
  |  Branch (1061:9): [True: 0, False: 3]
  ------------------
 1062|      0|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1062:13): [True: 0, False: 0]
  ------------------
 1063|      0|            _PyTokenizer_raise_init_error(filename_ob);
 1064|      0|        }
 1065|      0|        else {
 1066|       |            // The only silent tokenizer init failure is a failed allocation.
 1067|      0|            PyErr_NoMemory();
 1068|      0|        }
 1069|      0|        return NULL;
 1070|      0|    }
 1071|       |    // This transfers the ownership to the tokenizer
 1072|      3|    tok->filename = Py_NewRef(filename_ob);
  ------------------
  |  |  550|      3|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1073|      3|    tok->module = Py_XNewRef(module);
  ------------------
  |  |  551|      3|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1074|       |
 1075|       |    // We need to clear up from here on
 1076|      3|    mod_ty result = NULL;
 1077|       |
 1078|      3|    int parser_flags = compute_parser_flags(flags);
 1079|      3|    int feature_version = flags && (flags->cf_flags & PyCF_ONLY_AST) ?
  ------------------
  |  |   17|      3|#define PyCF_ONLY_AST 0x0400
  ------------------
  |  Branch (1079:27): [True: 3, False: 0]
  |  Branch (1079:36): [True: 0, False: 3]
  ------------------
 1080|      3|        flags->cf_feature_version : PY_MINOR_VERSION;
  ------------------
  |  |   24|      3|#define PY_MINOR_VERSION        16
  ------------------
 1081|      3|    Parser *p = _PyPegen_Parser_New(tok, start_rule, parser_flags, feature_version,
 1082|      3|                                    NULL, str, arena);
 1083|      3|    if (p == NULL) {
  ------------------
  |  Branch (1083:9): [True: 0, False: 3]
  ------------------
 1084|      0|        goto error;
 1085|      0|    }
 1086|       |
 1087|      3|    result = _PyPegen_run_parser(p);
 1088|      3|    _PyPegen_Parser_Free(p);
 1089|       |
 1090|      3|error:
 1091|      3|    _PyTokenizer_Free(tok);
 1092|      3|    return result;
 1093|      3|}
pegen.c:_resize_tokens_array:
  223|     15|_resize_tokens_array(Parser *p) {
  224|     15|    int newsize = p->size * 2;
  225|     15|    Token **new_tokens = PyMem_Realloc(p->tokens, (size_t)newsize * sizeof(Token *));
  226|     15|    if (new_tokens == NULL) {
  ------------------
  |  Branch (226:9): [True: 0, False: 15]
  ------------------
  227|      0|        PyErr_NoMemory();
  228|      0|        return -1;
  229|      0|    }
  230|     15|    p->tokens = new_tokens;
  231|       |
  232|    108|    for (int i = p->size; i < newsize; i++) {
  ------------------
  |  Branch (232:27): [True: 93, False: 15]
  ------------------
  233|     93|        p->tokens[i] = PyMem_Calloc(1, sizeof(Token));
  234|     93|        if (p->tokens[i] == NULL) {
  ------------------
  |  Branch (234:13): [True: 0, False: 93]
  ------------------
  235|      0|            p->size = i; // Needed, in order to cleanup correctly after parser fails
  236|      0|            PyErr_NoMemory();
  237|      0|            return -1;
  238|      0|        }
  239|     93|    }
  240|     15|    p->size = newsize;
  241|     15|    return 0;
  242|     15|}
pegen.c:initialize_token:
  182|     78|initialize_token(Parser *p, Token *parser_token, struct token *new_token, int token_type) {
  183|     78|    assert(parser_token != NULL);
  ------------------
  |  Branch (183:5): [True: 78, False: 0]
  ------------------
  184|       |
  185|     78|    parser_token->type = (token_type == NAME) ? _get_keyword_or_name_type(p, new_token) : token_type;
  ------------------
  |  |   17|     78|#define NAME            1
  ------------------
  |  Branch (185:26): [True: 36, False: 42]
  ------------------
  186|     78|    parser_token->bytes = PyBytes_FromStringAndSize(new_token->start, new_token->end - new_token->start);
  187|     78|    if (parser_token->bytes == NULL) {
  ------------------
  |  Branch (187:9): [True: 0, False: 78]
  ------------------
  188|      0|        return -1;
  189|      0|    }
  190|     78|    if (_PyArena_AddPyObject(p->arena, parser_token->bytes) < 0) {
  ------------------
  |  Branch (190:9): [True: 0, False: 78]
  ------------------
  191|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  192|      0|        return -1;
  193|      0|    }
  194|       |
  195|     78|    parser_token->metadata = NULL;
  196|     78|    if (new_token->metadata != NULL) {
  ------------------
  |  Branch (196:9): [True: 0, False: 78]
  ------------------
  197|      0|        if (_PyArena_AddPyObject(p->arena, new_token->metadata) < 0) {
  ------------------
  |  Branch (197:13): [True: 0, False: 0]
  ------------------
  198|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  199|      0|            return -1;
  200|      0|        }
  201|      0|        parser_token->metadata = new_token->metadata;
  202|      0|        new_token->metadata = NULL;
  203|      0|    }
  204|       |
  205|     78|    parser_token->level = new_token->level;
  206|     78|    parser_token->lineno = new_token->lineno;
  207|     78|    parser_token->col_offset = p->tok->lineno == p->starting_lineno ? p->starting_col_offset + new_token->col_offset
  ------------------
  |  Branch (207:32): [True: 0, False: 78]
  ------------------
  208|     78|                                                                    : new_token->col_offset;
  209|     78|    parser_token->end_lineno = new_token->end_lineno;
  210|     78|    parser_token->end_col_offset = p->tok->lineno == p->starting_lineno ? p->starting_col_offset + new_token->end_col_offset
  ------------------
  |  Branch (210:36): [True: 0, False: 78]
  ------------------
  211|     78|                                                                 : new_token->end_col_offset;
  212|       |
  213|     78|    p->fill += 1;
  214|       |
  215|     78|    if (token_type == ERRORTOKEN && p->tok->done == E_DECODE) {
  ------------------
  |  |   83|    156|#define ERRORTOKEN      67
  ------------------
                  if (token_type == ERRORTOKEN && p->tok->done == E_DECODE) {
  ------------------
  |  |   34|      0|#define E_DECODE         22      /* Error in decoding into Unicode */
  ------------------
  |  Branch (215:9): [True: 0, False: 78]
  |  Branch (215:37): [True: 0, False: 0]
  ------------------
  216|      0|        return _Pypegen_raise_decode_error(p);
  217|      0|    }
  218|       |
  219|     78|    return (token_type == ERRORTOKEN ? _Pypegen_tokenizer_error(p) : 0);
  ------------------
  |  |   83|     78|#define ERRORTOKEN      67
  ------------------
  |  Branch (219:13): [True: 0, False: 78]
  ------------------
  220|     78|}
pegen.c:_get_keyword_or_name_type:
  164|     36|{
  165|     36|    Py_ssize_t name_len = new_token->end_col_offset - new_token->col_offset;
  166|     36|    assert(name_len > 0);
  ------------------
  |  Branch (166:5): [True: 36, False: 0]
  ------------------
  167|       |
  168|     36|    if (name_len >= p->n_keyword_lists ||
  ------------------
  |  Branch (168:9): [True: 3, False: 33]
  ------------------
  169|     33|        p->keywords[name_len] == NULL ||
  ------------------
  |  Branch (169:9): [True: 0, False: 33]
  ------------------
  170|     33|        p->keywords[name_len]->type == -1) {
  ------------------
  |  Branch (170:9): [True: 0, False: 33]
  ------------------
  171|      3|        return NAME;
  ------------------
  |  |   17|      3|#define NAME            1
  ------------------
  172|      3|    }
  173|    220|    for (KeywordToken *k = p->keywords[name_len]; k != NULL && k->type != -1; k++) {
  ------------------
  |  Branch (173:51): [True: 220, False: 0]
  |  Branch (173:64): [True: 190, False: 30]
  ------------------
  174|    190|        if (strncmp(k->str, new_token->start, (size_t)name_len) == 0) {
  ------------------
  |  Branch (174:13): [True: 3, False: 187]
  ------------------
  175|      3|            return k->type;
  176|      3|        }
  177|    190|    }
  178|     30|    return NAME;
  ------------------
  |  |   17|     30|#define NAME            1
  ------------------
  179|     33|}
pegen.c:_PyPegen_name_from_token:
  566|    222|{
  567|    222|    if (t == NULL) {
  ------------------
  |  Branch (567:9): [True: 60, False: 162]
  ------------------
  568|     60|        return NULL;
  569|     60|    }
  570|    162|    const char *s = PyBytes_AsString(t->bytes);
  571|    162|    if (!s) {
  ------------------
  |  Branch (571:9): [True: 0, False: 162]
  ------------------
  572|      0|        p->error_indicator = 1;
  573|      0|        return NULL;
  574|      0|    }
  575|    162|    PyObject *id = _PyPegen_new_identifier(p, s);
  576|    162|    if (id == NULL) {
  ------------------
  |  Branch (576:9): [True: 0, False: 162]
  ------------------
  577|      0|        p->error_indicator = 1;
  578|      0|        return NULL;
  579|      0|    }
  580|    162|    return _PyAST_Name(id, Load, t->lineno, t->col_offset, t->end_lineno,
  581|    162|                       t->end_col_offset, p->arena);
  582|    162|}
pegen.c:growable_comment_array_init:
  127|      3|growable_comment_array_init(growable_comment_array *arr, size_t initial_size) {
  128|      3|    assert(initial_size > 0);
  ------------------
  |  Branch (128:5): [True: 3, False: 0]
  ------------------
  129|      3|    arr->items = PyMem_Malloc(initial_size * sizeof(*arr->items));
  130|      3|    arr->size = initial_size;
  131|      3|    arr->num_items = 0;
  132|       |
  133|       |    return arr->items != NULL;
  134|      3|}
pegen.c:growable_comment_array_deallocate:
  155|      3|growable_comment_array_deallocate(growable_comment_array *arr) {
  156|      3|    for (unsigned i = 0; i < arr->num_items; i++) {
  ------------------
  |  Branch (156:26): [True: 0, False: 3]
  ------------------
  157|      0|        PyMem_Free(arr->items[i].comment);
  158|      0|    }
  159|      3|    PyMem_Free(arr->items);
  160|      3|}
pegen.c:compute_parser_flags:
  774|      3|{
  775|      3|    int parser_flags = 0;
  776|      3|    if (!flags) {
  ------------------
  |  Branch (776:9): [True: 0, False: 3]
  ------------------
  777|      0|        return 0;
  778|      0|    }
  779|      3|    if (flags->cf_flags & PyCF_DONT_IMPLY_DEDENT) {
  ------------------
  |  |   16|      3|#define PyCF_DONT_IMPLY_DEDENT 0x0200
  ------------------
  |  Branch (779:9): [True: 0, False: 3]
  ------------------
  780|      0|        parser_flags |= PyPARSE_DONT_IMPLY_DEDENT;
  ------------------
  |  |   14|      0|#define PyPARSE_DONT_IMPLY_DEDENT       0x0002
  ------------------
  781|      0|    }
  782|      3|    if (flags->cf_flags & PyCF_IGNORE_COOKIE) {
  ------------------
  |  |   18|      3|#define PyCF_IGNORE_COOKIE 0x0800
  ------------------
  |  Branch (782:9): [True: 3, False: 0]
  ------------------
  783|      3|        parser_flags |= PyPARSE_IGNORE_COOKIE;
  ------------------
  |  |   22|      3|#define PyPARSE_IGNORE_COOKIE 0x0010
  ------------------
  784|      3|    }
  785|      3|    if (flags->cf_flags & CO_FUTURE_BARRY_AS_BDFL) {
  ------------------
  |  |  145|      3|#define CO_FUTURE_BARRY_AS_BDFL  0x400000
  ------------------
  |  Branch (785:9): [True: 0, False: 3]
  ------------------
  786|      0|        parser_flags |= PyPARSE_BARRY_AS_BDFL;
  ------------------
  |  |   23|      0|#define PyPARSE_BARRY_AS_BDFL 0x0020
  ------------------
  787|      0|    }
  788|      3|    if (flags->cf_flags & PyCF_TYPE_COMMENTS) {
  ------------------
  |  |   19|      3|#define PyCF_TYPE_COMMENTS 0x1000
  ------------------
  |  Branch (788:9): [True: 0, False: 3]
  ------------------
  789|      0|        parser_flags |= PyPARSE_TYPE_COMMENTS;
  ------------------
  |  |   24|      0|#define PyPARSE_TYPE_COMMENTS 0x0040
  ------------------
  790|      0|    }
  791|      3|    if (flags->cf_flags & PyCF_ALLOW_INCOMPLETE_INPUT) {
  ------------------
  |  |   21|      3|#define PyCF_ALLOW_INCOMPLETE_INPUT 0x4000
  ------------------
  |  Branch (791:9): [True: 0, False: 3]
  ------------------
  792|      0|        parser_flags |= PyPARSE_ALLOW_INCOMPLETE_INPUT;
  ------------------
  |  |   25|      0|#define PyPARSE_ALLOW_INCOMPLETE_INPUT 0x0100
  ------------------
  793|      0|    }
  794|      3|    return parser_flags;
  795|      3|}

_PyToken_OneChar:
   85|     39|{
   86|     39|    switch (c1) {
  ------------------
  |  Branch (86:13): [True: 39, False: 0]
  ------------------
   87|      0|    case '!': return EXCLAMATION;
  ------------------
  |  |   70|      0|#define EXCLAMATION     54
  ------------------
  |  Branch (87:5): [True: 0, False: 39]
  ------------------
   88|      0|    case '%': return PERCENT;
  ------------------
  |  |   40|      0|#define PERCENT         24
  ------------------
  |  Branch (88:5): [True: 0, False: 39]
  ------------------
   89|      0|    case '&': return AMPER;
  ------------------
  |  |   35|      0|#define AMPER           19
  ------------------
  |  Branch (89:5): [True: 0, False: 39]
  ------------------
   90|      6|    case '(': return LPAR;
  ------------------
  |  |   23|      6|#define LPAR            7
  ------------------
  |  Branch (90:5): [True: 6, False: 33]
  ------------------
   91|      6|    case ')': return RPAR;
  ------------------
  |  |   24|      6|#define RPAR            8
  ------------------
  |  Branch (91:5): [True: 6, False: 33]
  ------------------
   92|      0|    case '*': return STAR;
  ------------------
  |  |   32|      0|#define STAR            16
  ------------------
  |  Branch (92:5): [True: 0, False: 39]
  ------------------
   93|      0|    case '+': return PLUS;
  ------------------
  |  |   30|      0|#define PLUS            14
  ------------------
  |  Branch (93:5): [True: 0, False: 39]
  ------------------
   94|     24|    case ',': return COMMA;
  ------------------
  |  |   28|     24|#define COMMA           12
  ------------------
  |  Branch (94:5): [True: 24, False: 15]
  ------------------
   95|      0|    case '-': return MINUS;
  ------------------
  |  |   31|      0|#define MINUS           15
  ------------------
  |  Branch (95:5): [True: 0, False: 39]
  ------------------
   96|      0|    case '.': return DOT;
  ------------------
  |  |   39|      0|#define DOT             23
  ------------------
  |  Branch (96:5): [True: 0, False: 39]
  ------------------
   97|      0|    case '/': return SLASH;
  ------------------
  |  |   33|      0|#define SLASH           17
  ------------------
  |  Branch (97:5): [True: 0, False: 39]
  ------------------
   98|      3|    case ':': return COLON;
  ------------------
  |  |   27|      3|#define COLON           11
  ------------------
  |  Branch (98:5): [True: 3, False: 36]
  ------------------
   99|      0|    case ';': return SEMI;
  ------------------
  |  |   29|      0|#define SEMI            13
  ------------------
  |  Branch (99:5): [True: 0, False: 39]
  ------------------
  100|      0|    case '<': return LESS;
  ------------------
  |  |   36|      0|#define LESS            20
  ------------------
  |  Branch (100:5): [True: 0, False: 39]
  ------------------
  101|      0|    case '=': return EQUAL;
  ------------------
  |  |   38|      0|#define EQUAL           22
  ------------------
  |  Branch (101:5): [True: 0, False: 39]
  ------------------
  102|      0|    case '>': return GREATER;
  ------------------
  |  |   37|      0|#define GREATER         21
  ------------------
  |  Branch (102:5): [True: 0, False: 39]
  ------------------
  103|      0|    case '@': return AT;
  ------------------
  |  |   65|      0|#define AT              49
  ------------------
  |  Branch (103:5): [True: 0, False: 39]
  ------------------
  104|      0|    case '[': return LSQB;
  ------------------
  |  |   25|      0|#define LSQB            9
  ------------------
  |  Branch (104:5): [True: 0, False: 39]
  ------------------
  105|      0|    case ']': return RSQB;
  ------------------
  |  |   26|      0|#define RSQB            10
  ------------------
  |  Branch (105:5): [True: 0, False: 39]
  ------------------
  106|      0|    case '^': return CIRCUMFLEX;
  ------------------
  |  |   48|      0|#define CIRCUMFLEX      32
  ------------------
  |  Branch (106:5): [True: 0, False: 39]
  ------------------
  107|      0|    case '{': return LBRACE;
  ------------------
  |  |   41|      0|#define LBRACE          25
  ------------------
  |  Branch (107:5): [True: 0, False: 39]
  ------------------
  108|      0|    case '|': return VBAR;
  ------------------
  |  |   34|      0|#define VBAR            18
  ------------------
  |  Branch (108:5): [True: 0, False: 39]
  ------------------
  109|      0|    case '}': return RBRACE;
  ------------------
  |  |   42|      0|#define RBRACE          26
  ------------------
  |  Branch (109:5): [True: 0, False: 39]
  ------------------
  110|      0|    case '~': return TILDE;
  ------------------
  |  |   47|      0|#define TILDE           31
  ------------------
  |  Branch (110:5): [True: 0, False: 39]
  ------------------
  111|     39|    }
  112|      0|    return OP;
  ------------------
  |  |   71|      0|#define OP              55
  ------------------
  113|     39|}
_PyToken_TwoChars:
  117|     39|{
  118|     39|    switch (c1) {
  ------------------
  |  Branch (118:13): [True: 3, False: 36]
  ------------------
  119|      0|    case '!':
  ------------------
  |  Branch (119:5): [True: 0, False: 39]
  ------------------
  120|      0|        switch (c2) {
  ------------------
  |  Branch (120:17): [True: 0, False: 0]
  ------------------
  121|      0|        case '=': return NOTEQUAL;
  ------------------
  |  |   44|      0|#define NOTEQUAL        28
  ------------------
  |  Branch (121:9): [True: 0, False: 0]
  ------------------
  122|      0|        }
  123|      0|        break;
  124|      0|    case '%':
  ------------------
  |  Branch (124:5): [True: 0, False: 39]
  ------------------
  125|      0|        switch (c2) {
  ------------------
  |  Branch (125:17): [True: 0, False: 0]
  ------------------
  126|      0|        case '=': return PERCENTEQUAL;
  ------------------
  |  |   56|      0|#define PERCENTEQUAL    40
  ------------------
  |  Branch (126:9): [True: 0, False: 0]
  ------------------
  127|      0|        }
  128|      0|        break;
  129|      0|    case '&':
  ------------------
  |  Branch (129:5): [True: 0, False: 39]
  ------------------
  130|      0|        switch (c2) {
  ------------------
  |  Branch (130:17): [True: 0, False: 0]
  ------------------
  131|      0|        case '=': return AMPEREQUAL;
  ------------------
  |  |   57|      0|#define AMPEREQUAL      41
  ------------------
  |  Branch (131:9): [True: 0, False: 0]
  ------------------
  132|      0|        }
  133|      0|        break;
  134|      0|    case '*':
  ------------------
  |  Branch (134:5): [True: 0, False: 39]
  ------------------
  135|      0|        switch (c2) {
  ------------------
  |  Branch (135:17): [True: 0, False: 0]
  ------------------
  136|      0|        case '*': return DOUBLESTAR;
  ------------------
  |  |   51|      0|#define DOUBLESTAR      35
  ------------------
  |  Branch (136:9): [True: 0, False: 0]
  ------------------
  137|      0|        case '=': return STAREQUAL;
  ------------------
  |  |   54|      0|#define STAREQUAL       38
  ------------------
  |  Branch (137:9): [True: 0, False: 0]
  ------------------
  138|      0|        }
  139|      0|        break;
  140|      0|    case '+':
  ------------------
  |  Branch (140:5): [True: 0, False: 39]
  ------------------
  141|      0|        switch (c2) {
  ------------------
  |  Branch (141:17): [True: 0, False: 0]
  ------------------
  142|      0|        case '=': return PLUSEQUAL;
  ------------------
  |  |   52|      0|#define PLUSEQUAL       36
  ------------------
  |  Branch (142:9): [True: 0, False: 0]
  ------------------
  143|      0|        }
  144|      0|        break;
  145|      0|    case '-':
  ------------------
  |  Branch (145:5): [True: 0, False: 39]
  ------------------
  146|      0|        switch (c2) {
  ------------------
  |  Branch (146:17): [True: 0, False: 0]
  ------------------
  147|      0|        case '=': return MINEQUAL;
  ------------------
  |  |   53|      0|#define MINEQUAL        37
  ------------------
  |  Branch (147:9): [True: 0, False: 0]
  ------------------
  148|      0|        case '>': return RARROW;
  ------------------
  |  |   67|      0|#define RARROW          51
  ------------------
  |  Branch (148:9): [True: 0, False: 0]
  ------------------
  149|      0|        }
  150|      0|        break;
  151|      0|    case '/':
  ------------------
  |  Branch (151:5): [True: 0, False: 39]
  ------------------
  152|      0|        switch (c2) {
  ------------------
  |  Branch (152:17): [True: 0, False: 0]
  ------------------
  153|      0|        case '/': return DOUBLESLASH;
  ------------------
  |  |   63|      0|#define DOUBLESLASH     47
  ------------------
  |  Branch (153:9): [True: 0, False: 0]
  ------------------
  154|      0|        case '=': return SLASHEQUAL;
  ------------------
  |  |   55|      0|#define SLASHEQUAL      39
  ------------------
  |  Branch (154:9): [True: 0, False: 0]
  ------------------
  155|      0|        }
  156|      0|        break;
  157|      3|    case ':':
  ------------------
  |  Branch (157:5): [True: 3, False: 36]
  ------------------
  158|      3|        switch (c2) {
  ------------------
  |  Branch (158:17): [True: 0, False: 3]
  ------------------
  159|      0|        case '=': return COLONEQUAL;
  ------------------
  |  |   69|      0|#define COLONEQUAL      53
  ------------------
  |  Branch (159:9): [True: 0, False: 3]
  ------------------
  160|      3|        }
  161|      3|        break;
  162|      3|    case '<':
  ------------------
  |  Branch (162:5): [True: 0, False: 39]
  ------------------
  163|      0|        switch (c2) {
  ------------------
  |  Branch (163:17): [True: 0, False: 0]
  ------------------
  164|      0|        case '<': return LEFTSHIFT;
  ------------------
  |  |   49|      0|#define LEFTSHIFT       33
  ------------------
  |  Branch (164:9): [True: 0, False: 0]
  ------------------
  165|      0|        case '=': return LESSEQUAL;
  ------------------
  |  |   45|      0|#define LESSEQUAL       29
  ------------------
  |  Branch (165:9): [True: 0, False: 0]
  ------------------
  166|      0|        case '>': return NOTEQUAL;
  ------------------
  |  |   44|      0|#define NOTEQUAL        28
  ------------------
  |  Branch (166:9): [True: 0, False: 0]
  ------------------
  167|      0|        }
  168|      0|        break;
  169|      0|    case '=':
  ------------------
  |  Branch (169:5): [True: 0, False: 39]
  ------------------
  170|      0|        switch (c2) {
  ------------------
  |  Branch (170:17): [True: 0, False: 0]
  ------------------
  171|      0|        case '=': return EQEQUAL;
  ------------------
  |  |   43|      0|#define EQEQUAL         27
  ------------------
  |  Branch (171:9): [True: 0, False: 0]
  ------------------
  172|      0|        }
  173|      0|        break;
  174|      0|    case '>':
  ------------------
  |  Branch (174:5): [True: 0, False: 39]
  ------------------
  175|      0|        switch (c2) {
  ------------------
  |  Branch (175:17): [True: 0, False: 0]
  ------------------
  176|      0|        case '=': return GREATEREQUAL;
  ------------------
  |  |   46|      0|#define GREATEREQUAL    30
  ------------------
  |  Branch (176:9): [True: 0, False: 0]
  ------------------
  177|      0|        case '>': return RIGHTSHIFT;
  ------------------
  |  |   50|      0|#define RIGHTSHIFT      34
  ------------------
  |  Branch (177:9): [True: 0, False: 0]
  ------------------
  178|      0|        }
  179|      0|        break;
  180|      0|    case '@':
  ------------------
  |  Branch (180:5): [True: 0, False: 39]
  ------------------
  181|      0|        switch (c2) {
  ------------------
  |  Branch (181:17): [True: 0, False: 0]
  ------------------
  182|      0|        case '=': return ATEQUAL;
  ------------------
  |  |   66|      0|#define ATEQUAL         50
  ------------------
  |  Branch (182:9): [True: 0, False: 0]
  ------------------
  183|      0|        }
  184|      0|        break;
  185|      0|    case '^':
  ------------------
  |  Branch (185:5): [True: 0, False: 39]
  ------------------
  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|      0|    case '|':
  ------------------
  |  Branch (190:5): [True: 0, False: 39]
  ------------------
  191|      0|        switch (c2) {
  ------------------
  |  Branch (191:17): [True: 0, False: 0]
  ------------------
  192|      0|        case '=': return VBAREQUAL;
  ------------------
  |  |   58|      0|#define VBAREQUAL       42
  ------------------
  |  Branch (192:9): [True: 0, False: 0]
  ------------------
  193|      0|        }
  194|      0|        break;
  195|     39|    }
  196|     39|    return OP;
  ------------------
  |  |   71|     39|#define OP              55
  ------------------
  197|     39|}

_PyTokenizer_new_string:
  241|      3|{
  242|      3|    char* result = (char *)PyMem_Malloc(len + 1);
  243|      3|    if (!result) {
  ------------------
  |  Branch (243:9): [True: 0, False: 3]
  ------------------
  244|      0|        tok->done = E_NOMEM;
  ------------------
  |  |   27|      0|#define E_NOMEM          15      /* Ran out of memory */
  ------------------
  245|      0|        PyErr_NoMemory();
  246|      0|        return NULL;
  247|      0|    }
  248|      3|    memcpy(result, s, len);
  249|      3|    result[len] = '\0';
  250|      3|    return result;
  251|      3|}
_PyTokenizer_translate_newlines:
  266|      3|                   struct tok_state *tok) {
  267|      3|    int skip_next_lf = 0;
  268|      3|    size_t needed_length = strlen(s) + 2, final_length;
  269|      3|    char *buf, *current;
  270|      3|    char c = '\0';
  271|      3|    buf = PyMem_Malloc(needed_length);
  272|      3|    if (buf == NULL) {
  ------------------
  |  Branch (272:9): [True: 0, False: 3]
  ------------------
  273|      0|        tok->done = E_NOMEM;
  ------------------
  |  |   27|      0|#define E_NOMEM          15      /* Ran out of memory */
  ------------------
  274|      0|        PyErr_NoMemory();
  275|      0|        return NULL;
  276|      0|    }
  277|    274|    for (current = buf; *s; s++, current++) {
  ------------------
  |  Branch (277:25): [True: 271, False: 3]
  ------------------
  278|    271|        c = *s;
  279|    271|        if (skip_next_lf) {
  ------------------
  |  Branch (279:13): [True: 0, False: 271]
  ------------------
  280|      0|            skip_next_lf = 0;
  281|      0|            if (c == '\n') {
  ------------------
  |  Branch (281:17): [True: 0, False: 0]
  ------------------
  282|      0|                c = *++s;
  283|      0|                if (!c)
  ------------------
  |  Branch (283:21): [True: 0, False: 0]
  ------------------
  284|      0|                    break;
  285|      0|            }
  286|      0|        }
  287|    271|        if (!preserve_crlf && c == '\r') {
  ------------------
  |  Branch (287:13): [True: 271, False: 0]
  |  Branch (287:31): [True: 0, False: 271]
  ------------------
  288|      0|            skip_next_lf = 1;
  289|      0|            c = '\n';
  290|      0|        }
  291|    271|        *current = c;
  292|    271|    }
  293|       |    /* If this is exec input, add a newline to the end of the string if
  294|       |       there isn't one already. */
  295|      3|    if (exec_input && c != '\n' && c != '\0') {
  ------------------
  |  Branch (295:9): [True: 0, False: 3]
  |  Branch (295:23): [True: 0, False: 0]
  |  Branch (295:36): [True: 0, False: 0]
  ------------------
  296|      0|        *current = '\n';
  297|      0|        current++;
  298|      0|    }
  299|      3|    *current = '\0';
  300|      3|    final_length = current - buf + 1;
  301|      3|    if (final_length < needed_length && final_length) {
  ------------------
  |  Branch (301:9): [True: 3, False: 0]
  |  Branch (301:41): [True: 3, False: 0]
  ------------------
  302|       |        /* should never fail */
  303|      3|        char* result = PyMem_Realloc(buf, final_length);
  304|      3|        if (result == NULL) {
  ------------------
  |  Branch (304:13): [True: 0, False: 3]
  ------------------
  305|      0|            PyMem_Free(buf);
  306|      0|        }
  307|      3|        buf = result;
  308|      3|    }
  309|      3|    return buf;
  310|      3|}

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

_PyAST_Expression:
 7035|      3|{
 7036|      3|    mod_ty p;
 7037|      3|    if (!body) {
  ------------------
  |  Branch (7037:9): [True: 0, False: 3]
  ------------------
 7038|      0|        PyErr_SetString(PyExc_ValueError,
 7039|      0|                        "field 'body' is required for Expression");
 7040|      0|        return NULL;
 7041|      0|    }
 7042|      3|    p = (mod_ty)_PyArena_Malloc(arena, sizeof(*p));
 7043|      3|    if (!p)
  ------------------
  |  Branch (7043:9): [True: 0, False: 3]
  ------------------
 7044|      0|        return NULL;
 7045|      3|    p->kind = Expression_kind;
 7046|      3|    p->v.Expression.body = body;
 7047|      3|    return p;
 7048|      3|}
_PyAST_Lambda:
 7843|      3|{
 7844|      3|    expr_ty p;
 7845|      3|    if (!args) {
  ------------------
  |  Branch (7845:9): [True: 0, False: 3]
  ------------------
 7846|      0|        PyErr_SetString(PyExc_ValueError,
 7847|      0|                        "field 'args' is required for Lambda");
 7848|      0|        return NULL;
 7849|      0|    }
 7850|      3|    if (!body) {
  ------------------
  |  Branch (7850:9): [True: 0, False: 3]
  ------------------
 7851|      0|        PyErr_SetString(PyExc_ValueError,
 7852|      0|                        "field 'body' is required for Lambda");
 7853|      0|        return NULL;
 7854|      0|    }
 7855|      3|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 7856|      3|    if (!p)
  ------------------
  |  Branch (7856:9): [True: 0, False: 3]
  ------------------
 7857|      0|        return NULL;
 7858|      3|    p->kind = Lambda_kind;
 7859|      3|    p->v.Lambda.args = args;
 7860|      3|    p->v.Lambda.body = body;
 7861|      3|    p->lineno = lineno;
 7862|      3|    p->col_offset = col_offset;
 7863|      3|    p->end_lineno = end_lineno;
 7864|      3|    p->end_col_offset = end_col_offset;
 7865|      3|    return p;
 7866|      3|}
_PyAST_Call:
 8124|      6|{
 8125|      6|    expr_ty p;
 8126|      6|    if (!func) {
  ------------------
  |  Branch (8126:9): [True: 0, False: 6]
  ------------------
 8127|      0|        PyErr_SetString(PyExc_ValueError,
 8128|      0|                        "field 'func' is required for Call");
 8129|      0|        return NULL;
 8130|      0|    }
 8131|      6|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8132|      6|    if (!p)
  ------------------
  |  Branch (8132:9): [True: 0, False: 6]
  ------------------
 8133|      0|        return NULL;
 8134|      6|    p->kind = Call_kind;
 8135|      6|    p->v.Call.func = func;
 8136|      6|    p->v.Call.args = args;
 8137|      6|    p->v.Call.keywords = keywords;
 8138|      6|    p->lineno = lineno;
 8139|      6|    p->col_offset = col_offset;
 8140|      6|    p->end_lineno = end_lineno;
 8141|      6|    p->end_col_offset = end_col_offset;
 8142|      6|    return p;
 8143|      6|}
_PyAST_Name:
 8359|    162|{
 8360|    162|    expr_ty p;
 8361|    162|    if (!id) {
  ------------------
  |  Branch (8361:9): [True: 0, False: 162]
  ------------------
 8362|      0|        PyErr_SetString(PyExc_ValueError,
 8363|      0|                        "field 'id' is required for Name");
 8364|      0|        return NULL;
 8365|      0|    }
 8366|    162|    if (!ctx) {
  ------------------
  |  Branch (8366:9): [True: 0, False: 162]
  ------------------
 8367|      0|        PyErr_SetString(PyExc_ValueError,
 8368|      0|                        "field 'ctx' is required for Name");
 8369|      0|        return NULL;
 8370|      0|    }
 8371|    162|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8372|    162|    if (!p)
  ------------------
  |  Branch (8372:9): [True: 0, False: 162]
  ------------------
 8373|      0|        return NULL;
 8374|    162|    p->kind = Name_kind;
 8375|    162|    p->v.Name.id = id;
 8376|    162|    p->v.Name.ctx = ctx;
 8377|    162|    p->lineno = lineno;
 8378|    162|    p->col_offset = col_offset;
 8379|    162|    p->end_lineno = end_lineno;
 8380|    162|    p->end_col_offset = end_col_offset;
 8381|    162|    return p;
 8382|    162|}
_PyAST_Tuple:
 8410|      6|{
 8411|      6|    expr_ty p;
 8412|      6|    if (!ctx) {
  ------------------
  |  Branch (8412:9): [True: 0, False: 6]
  ------------------
 8413|      0|        PyErr_SetString(PyExc_ValueError,
 8414|      0|                        "field 'ctx' is required for Tuple");
 8415|      0|        return NULL;
 8416|      0|    }
 8417|      6|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8418|      6|    if (!p)
  ------------------
  |  Branch (8418:9): [True: 0, False: 6]
  ------------------
 8419|      0|        return NULL;
 8420|      6|    p->kind = Tuple_kind;
 8421|      6|    p->v.Tuple.elts = elts;
 8422|      6|    p->v.Tuple.ctx = ctx;
 8423|      6|    p->lineno = lineno;
 8424|      6|    p->col_offset = col_offset;
 8425|      6|    p->end_lineno = end_lineno;
 8426|      6|    p->end_col_offset = end_col_offset;
 8427|      6|    return p;
 8428|      6|}
_PyAST_arguments:
 8499|      3|{
 8500|      3|    arguments_ty p;
 8501|      3|    p = (arguments_ty)_PyArena_Malloc(arena, sizeof(*p));
 8502|      3|    if (!p)
  ------------------
  |  Branch (8502:9): [True: 0, False: 3]
  ------------------
 8503|      0|        return NULL;
 8504|      3|    p->posonlyargs = posonlyargs;
 8505|      3|    p->args = args;
 8506|      3|    p->vararg = vararg;
 8507|      3|    p->kwonlyargs = kwonlyargs;
 8508|      3|    p->kw_defaults = kw_defaults;
 8509|      3|    p->kwarg = kwarg;
 8510|      3|    p->defaults = defaults;
 8511|      3|    return p;
 8512|      3|}
_PyAST_arg:
 8517|     90|{
 8518|     90|    arg_ty p;
 8519|     90|    if (!arg) {
  ------------------
  |  Branch (8519:9): [True: 0, False: 90]
  ------------------
 8520|      0|        PyErr_SetString(PyExc_ValueError,
 8521|      0|                        "field 'arg' is required for arg");
 8522|      0|        return NULL;
 8523|      0|    }
 8524|     90|    p = (arg_ty)_PyArena_Malloc(arena, sizeof(*p));
 8525|     90|    if (!p)
  ------------------
  |  Branch (8525:9): [True: 0, False: 90]
  ------------------
 8526|      0|        return NULL;
 8527|     90|    p->arg = arg;
 8528|     90|    p->annotation = annotation;
 8529|     90|    p->type_comment = type_comment;
 8530|     90|    p->lineno = lineno;
 8531|     90|    p->col_offset = col_offset;
 8532|     90|    p->end_lineno = end_lineno;
 8533|     90|    p->end_col_offset = end_col_offset;
 8534|     90|    return p;
 8535|     90|}

PyInit__tokenize:
  445|      1|{
  446|      1|    return PyModuleDef_Init(&_tokenizemodule);
  447|      1|}
Python-tokenize.c:tokenizemodule_exec:
  381|      1|{
  382|      1|    tokenize_state *state = get_tokenize_state(m);
  383|      1|    if (state == NULL) {
  ------------------
  |  Branch (383:9): [True: 0, False: 1]
  ------------------
  384|      0|        return -1;
  385|      0|    }
  386|       |
  387|      1|    state->TokenizerIter = (PyTypeObject *)PyType_FromModuleAndSpec(m, &tokenizeriter_spec, NULL);
  388|      1|    if (state->TokenizerIter == NULL) {
  ------------------
  |  Branch (388:9): [True: 0, False: 1]
  ------------------
  389|      0|        return -1;
  390|      0|    }
  391|      1|    if (PyModule_AddType(m, state->TokenizerIter) < 0) {
  ------------------
  |  Branch (391:9): [True: 0, False: 1]
  ------------------
  392|      0|        return -1;
  393|      0|    }
  394|       |
  395|      1|    return 0;
  396|      1|}
Python-tokenize.c:get_tokenize_state:
   17|    269|get_tokenize_state(PyObject *module) {
   18|    269|    return (tokenize_state *)PyModule_GetState(module);
   19|    269|}
Python-tokenize.c:tokenizemodule_traverse:
  412|    268|{
  413|    268|    tokenize_state *state = get_tokenize_state(m);
  414|    268|    Py_VISIT(state->TokenizerIter);
  ------------------
  |  |  194|    268|    do {                                                                \
  |  |  195|    268|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 268, False: 0]
  |  |  ------------------
  |  |  196|    268|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    268|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 268]
  |  |  ------------------
  |  |  198|    268|                return vret;                                            \
  |  |  199|    268|        }                                                               \
  |  |  200|    268|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 268]
  |  |  ------------------
  ------------------
  415|    268|    return 0;
  416|    268|}

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

_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|     20|        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: 10, False: 0]
  |  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|  1.08M|{
 1123|  1.08M|    PyObject *filename, *module, *registry, *res;
 1124|  1.08M|    int lineno;
 1125|       |
 1126|  1.08M|    PyThreadState *tstate = get_current_tstate();
 1127|  1.08M|    if (tstate == NULL) {
  ------------------
  |  Branch (1127:9): [True: 0, False: 1.08M]
  ------------------
 1128|      0|        return NULL;
 1129|      0|    }
 1130|       |
 1131|  1.08M|    if (!setup_context(stack_level, skip_file_prefixes,
  ------------------
  |  Branch (1131:9): [True: 0, False: 1.08M]
  ------------------
 1132|  1.08M|                       &filename, &lineno, &module, &registry))
 1133|      0|        return NULL;
 1134|       |
 1135|  1.08M|    warnings_lock(tstate->interp);
 1136|  1.08M|    res = warn_explicit(tstate, category, message, filename, lineno, module, registry,
 1137|  1.08M|                        NULL, source);
 1138|  1.08M|    warnings_unlock(tstate->interp);
 1139|  1.08M|    Py_DECREF(filename);
  ------------------
  |  |  430|  1.08M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1140|  1.08M|    Py_DECREF(registry);
  ------------------
  |  |  430|  1.08M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1141|  1.08M|    Py_DECREF(module);
  ------------------
  |  |  430|  1.08M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1142|  1.08M|    return res;
 1143|  1.08M|}
_warnings.c:setup_context:
  995|  1.08M|{
  996|  1.08M|    PyObject *globals;
  997|       |
  998|       |    /* Setup globals, filename and lineno. */
  999|  1.08M|    PyThreadState *tstate = get_current_tstate();
 1000|  1.08M|    if (tstate == NULL) {
  ------------------
  |  Branch (1000:9): [True: 0, False: 1.08M]
  ------------------
 1001|      0|        return 0;
 1002|      0|    }
 1003|  1.08M|    if (skip_file_prefixes) {
  ------------------
  |  Branch (1003:9): [True: 0, False: 1.08M]
  ------------------
 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1009:32): [True: 0, False: 0]
  ------------------
 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|  1.08M|    PyInterpreterState *interp = tstate->interp;
 1019|  1.08M|    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|  1.08M|    if (stack_level <= 0 || is_internal_frame(f)) {
  ------------------
  |  Branch (1022:9): [True: 0, False: 1.08M]
  |  Branch (1022:29): [True: 0, False: 1.08M]
  ------------------
 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|  1.08M|    else {
 1029|  90.2M|        while (--stack_level > 0 && f != NULL) {
  ------------------
  |  Branch (1029:16): [True: 89.2M, False: 1.08M]
  |  Branch (1029:37): [True: 89.2M, False: 0]
  ------------------
 1030|  89.2M|            f = next_external_frame(f, skip_file_prefixes);
 1031|  89.2M|        }
 1032|  1.08M|    }
 1033|       |
 1034|  1.08M|    if (f == NULL) {
  ------------------
  |  Branch (1034:9): [True: 531k, False: 549k]
  ------------------
 1035|   531k|        globals = interp->sysdict;
 1036|   531k|        *filename = PyUnicode_FromString("<sys>");
 1037|   531k|        *lineno = 0;
 1038|   531k|    }
 1039|   549k|    else {
 1040|   549k|        globals = f->f_frame->f_globals;
 1041|   549k|        *filename = Py_NewRef(_PyFrame_GetCode(f->f_frame)->co_filename);
  ------------------
  |  |  550|   549k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   549k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   549k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1042|   549k|        *lineno = PyFrame_GetLineNumber(f);
 1043|   549k|        Py_DECREF(f);
  ------------------
  |  |  430|   549k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   549k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   549k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1044|   549k|    }
 1045|       |
 1046|  1.08M|    *module = NULL;
 1047|       |
 1048|       |    /* Setup registry. */
 1049|  1.08M|    assert(globals != NULL);
  ------------------
  |  Branch (1049:5): [True: 1.08M, False: 0]
  ------------------
 1050|  1.08M|    assert(PyAnyDict_Check(globals));
  ------------------
  |  Branch (1050:5): [True: 1.08M, False: 0]
  |  Branch (1050:5): [True: 0, False: 0]
  ------------------
 1051|  1.08M|    int rc = PyDict_GetItemRef(globals, &_Py_ID(__warningregistry__),
  ------------------
  |  |  920|  1.08M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.08M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.08M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1052|  1.08M|                               registry);
 1053|  1.08M|    if (rc < 0) {
  ------------------
  |  Branch (1053:9): [True: 0, False: 1.08M]
  ------------------
 1054|      0|        goto handle_error;
 1055|      0|    }
 1056|  1.08M|    if (*registry == NULL) {
  ------------------
  |  Branch (1056:9): [True: 4, False: 1.08M]
  ------------------
 1057|      4|        *registry = PyDict_New();
 1058|      4|        if (*registry == NULL)
  ------------------
  |  Branch (1058:13): [True: 0, False: 4]
  ------------------
 1059|      0|            goto handle_error;
 1060|       |
 1061|      4|         rc = PyDict_SetItem(globals, &_Py_ID(__warningregistry__), *registry);
  ------------------
  |  |  920|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1062|      4|         if (rc < 0)
  ------------------
  |  Branch (1062:14): [True: 0, False: 4]
  ------------------
 1063|      0|            goto handle_error;
 1064|      4|    }
 1065|       |
 1066|       |    /* Setup module. */
 1067|  1.08M|    rc = PyDict_GetItemRef(globals, &_Py_ID(__name__), module);
  ------------------
  |  |  920|  1.08M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.08M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.08M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1068|  1.08M|    if (rc < 0) {
  ------------------
  |  Branch (1068:9): [True: 0, False: 1.08M]
  ------------------
 1069|      0|        goto handle_error;
 1070|      0|    }
 1071|  1.08M|    if (rc > 0) {
  ------------------
  |  Branch (1071:9): [True: 1.08M, False: 0]
  ------------------
 1072|  1.08M|        if (Py_IsNone(*module) || PyUnicode_Check(*module)) {
  ------------------
  |  |  621|  1.08M|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|  2.16M|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 0, False: 1.08M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (Py_IsNone(*module) || PyUnicode_Check(*module)) {
  ------------------
  |  |  103|  1.08M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.08M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 1.08M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1073|  1.08M|            return 1;
 1074|  1.08M|        }
 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|  1.08M|{
  961|  1.08M|    if (frame == NULL) {
  ------------------
  |  Branch (961:9): [True: 0, False: 1.08M]
  ------------------
  962|      0|        return false;
  963|      0|    }
  964|       |
  965|  1.08M|    PyObject *filename = get_frame_filename(frame);
  966|  1.08M|    if (filename == NULL) {
  ------------------
  |  Branch (966:9): [True: 0, False: 1.08M]
  ------------------
  967|      0|        return false;
  968|      0|    }
  969|       |
  970|  1.08M|    return is_internal_filename(filename);
  971|  1.08M|}
_warnings.c:get_frame_filename:
  902|  89.7M|{
  903|  89.7M|    PyCodeObject *code = PyFrame_GetCode(frame);
  904|  89.7M|    PyObject *filename = code->co_filename;
  905|  89.7M|    Py_DECREF(code);
  ------------------
  |  |  430|  89.7M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  89.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  89.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  906|  89.7M|    return filename;
  907|  89.7M|}
_warnings.c:is_internal_filename:
  911|  89.7M|{
  912|  89.7M|    if (!PyUnicode_Check(filename)) {
  ------------------
  |  |  103|  89.7M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  89.7M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (912:9): [True: 0, False: 89.7M]
  ------------------
  913|      0|        return false;
  914|      0|    }
  915|       |
  916|  89.7M|    int contains = PyUnicode_Contains(filename, &_Py_ID(importlib));
  ------------------
  |  |  920|  89.7M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  89.7M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  89.7M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  917|  89.7M|    if (contains < 0) {
  ------------------
  |  Branch (917:9): [True: 0, False: 89.7M]
  ------------------
  918|      0|        return false;
  919|      0|    }
  920|  89.7M|    else if (contains > 0) {
  ------------------
  |  Branch (920:14): [True: 0, False: 89.7M]
  ------------------
  921|      0|        contains = PyUnicode_Contains(filename, &_Py_ID(_bootstrap));
  ------------------
  |  |  920|      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|  89.7M|    return false;
  931|  89.7M|}
_warnings.c:next_external_frame:
  975|  89.2M|{
  976|  89.2M|    PyObject *frame_filename;
  977|  89.2M|    do {
  978|  89.2M|        PyFrameObject *back = PyFrame_GetBack(frame);
  979|  89.2M|        Py_SETREF(frame, back);
  ------------------
  |  |  352|  89.2M|    do { \
  |  |  353|  89.2M|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  89.2M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|  89.2M|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  89.2M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|  89.2M|        *_tmp_dst_ptr = (src); \
  |  |  356|  89.2M|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  89.2M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  89.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  89.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|  89.2M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 89.2M]
  |  |  ------------------
  ------------------
  980|  89.2M|    } while (frame != NULL && (frame_filename = get_frame_filename(frame)) &&
  ------------------
  |  Branch (980:14): [True: 88.6M, False: 531k]
  |  Branch (980:31): [True: 88.6M, False: 0]
  ------------------
  981|  88.6M|             (is_internal_filename(frame_filename) ||
  ------------------
  |  Branch (981:15): [True: 0, False: 88.6M]
  ------------------
  982|  88.6M|              is_filename_to_skip(frame_filename, skip_file_prefixes)));
  ------------------
  |  Branch (982:15): [True: 0, False: 88.6M]
  ------------------
  983|       |
  984|  89.2M|    return frame;
  985|  89.2M|}
_warnings.c:is_filename_to_skip:
  935|  88.6M|{
  936|  88.6M|    if (skip_file_prefixes) {
  ------------------
  |  Branch (936:9): [True: 0, False: 88.6M]
  ------------------
  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (944:32): [True: 0, False: 0]
  ------------------
  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|  88.6M|    return false;
  956|  88.6M|}
_warnings.c:get_current_tstate:
   49|  2.16M|{
   50|  2.16M|    PyThreadState *tstate = _PyThreadState_GET();
   51|  2.16M|    if (tstate == NULL) {
  ------------------
  |  Branch (51:9): [True: 0, False: 2.16M]
  ------------------
   52|      0|        (void)check_interp(NULL);
   53|      0|        return NULL;
   54|      0|    }
   55|  2.16M|    return check_interp(tstate->interp) ? tstate : NULL;
  ------------------
  |  Branch (55:12): [True: 2.16M, False: 0]
  ------------------
   56|  2.16M|}
_warnings.c:check_interp:
   30|  2.16M|{
   31|  2.16M|    if (interp == NULL) {
  ------------------
  |  Branch (31:9): [True: 0, False: 2.16M]
  ------------------
   32|      0|        PyErr_SetString(PyExc_RuntimeError,
   33|      0|                        "warnings_get_state: could not identify "
   34|      0|                        "current interpreter");
   35|      0|        return 0;
   36|      0|    }
   37|  2.16M|    return 1;
   38|  2.16M|}
_warnings.c:warnings_lock:
  259|  1.08M|{
  260|  1.08M|    WarningsState *st = warnings_get_state(interp);
  261|  1.08M|    assert(st != NULL);
  ------------------
  |  Branch (261:5): [True: 1.08M, False: 0]
  ------------------
  262|  1.08M|    _PyRecursiveMutex_Lock(&st->lock);
  263|  1.08M|}
_warnings.c:warnings_get_state:
   61|  4.30M|{
   62|  4.30M|    return &interp->warnings;
   63|  4.30M|}
_warnings.c:warn_explicit:
  777|  1.08M|{
  778|  1.08M|    PyObject *key = NULL, *text = NULL, *result = NULL, *lineno_obj = NULL;
  779|  1.08M|    PyObject *item = NULL;
  780|  1.08M|    PyObject *action;
  781|  1.08M|    int rc;
  782|  1.08M|    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|  1.08M|    if (module == Py_None)
  ------------------
  |  |  616|  1.08M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (788:9): [True: 0, False: 1.08M]
  ------------------
  789|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  790|       |
  791|  1.08M|    if (registry && !PyDict_Check(registry) && (registry != Py_None)) {
  ------------------
  |  |   18|  1.08M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.16M|#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: 1.08M, False: 0]
  |  Branch (791:21): [True: 0, False: 1.08M]
  |  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|  1.08M|    Py_INCREF(message);  /* DECREF'ed in cleanup. */
  ------------------
  |  |  310|  1.08M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  798|  1.08M|    if (PyObject_TypeCheck(message, (PyTypeObject *)PyExc_Warning)) {
  ------------------
  |  |  378|  1.08M|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (378:40): [True: 0, False: 1.08M]
  |  |  ------------------
  ------------------
  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|  1.08M|    else {
  805|  1.08M|        text = message;
  806|  1.08M|        message = PyObject_CallOneArg(category, message);
  807|  1.08M|        if (message == NULL)
  ------------------
  |  Branch (807:13): [True: 0, False: 1.08M]
  ------------------
  808|      0|            goto cleanup;
  809|  1.08M|    }
  810|       |
  811|  1.08M|    lineno_obj = PyLong_FromLong(lineno);
  812|  1.08M|    if (lineno_obj == NULL)
  ------------------
  |  Branch (812:9): [True: 0, False: 1.08M]
  ------------------
  813|      0|        goto cleanup;
  814|       |
  815|  1.08M|    if (source == Py_None) {
  ------------------
  |  |  616|  1.08M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (815:9): [True: 1.08M, False: 0]
  ------------------
  816|  1.08M|        source = NULL;
  817|  1.08M|    }
  818|       |
  819|       |    /* Create key. */
  820|  1.08M|    key = PyTuple_Pack(3, text, category, lineno_obj);
  821|  1.08M|    if (key == NULL)
  ------------------
  |  Branch (821:9): [True: 0, False: 1.08M]
  ------------------
  822|      0|        goto cleanup;
  823|       |
  824|  1.08M|    if ((registry != NULL) && (registry != Py_None)) {
  ------------------
  |  |  616|  1.08M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (824:9): [True: 1.08M, False: 0]
  |  Branch (824:31): [True: 1.08M, False: 0]
  ------------------
  825|  1.08M|        rc = already_warned(interp, registry, key, 0);
  826|  1.08M|        if (rc == -1)
  ------------------
  |  Branch (826:13): [True: 0, False: 1.08M]
  ------------------
  827|      0|            goto cleanup;
  828|  1.08M|        else if (rc == 1)
  ------------------
  |  Branch (828:18): [True: 725k, False: 355k]
  ------------------
  829|   725k|            goto return_none;
  830|       |        /* Else this warning hasn't been generated before. */
  831|  1.08M|    }
  832|       |
  833|   355k|    action = get_filter(interp, category, text, lineno, module, filename, &item);
  834|   355k|    if (action == NULL)
  ------------------
  |  Branch (834:9): [True: 0, False: 355k]
  ------------------
  835|      0|        goto cleanup;
  836|       |
  837|   355k|    if (_PyUnicode_EqualToASCIIString(action, "error")) {
  ------------------
  |  Branch (837:9): [True: 0, False: 355k]
  ------------------
  838|      0|        PyErr_SetObject(category, message);
  839|      0|        goto cleanup;
  840|      0|    }
  841|       |
  842|   355k|    if (_PyUnicode_EqualToASCIIString(action, "ignore")) {
  ------------------
  |  Branch (842:9): [True: 0, False: 355k]
  ------------------
  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|   355k|    rc = 0;
  849|   355k|    if (!_PyUnicode_EqualToASCIIString(action, "always") && !_PyUnicode_EqualToASCIIString(action, "all")) {
  ------------------
  |  Branch (849:9): [True: 355k, False: 0]
  |  Branch (849:61): [True: 355k, False: 0]
  ------------------
  850|   355k|        if (registry != NULL && registry != Py_None &&
  ------------------
  |  |  616|   711k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (850:13): [True: 355k, False: 0]
  |  Branch (850:33): [True: 355k, False: 0]
  ------------------
  851|   355k|            PyDict_SetItem(registry, key, Py_True) < 0)
  ------------------
  |  |   26|   355k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (851:13): [True: 0, False: 355k]
  ------------------
  852|      0|        {
  853|      0|            goto cleanup;
  854|      0|        }
  855|       |
  856|   355k|        if (_PyUnicode_EqualToASCIIString(action, "once")) {
  ------------------
  |  Branch (856:13): [True: 0, False: 355k]
  ------------------
  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|   355k|        else if (_PyUnicode_EqualToASCIIString(action, "module")) {
  ------------------
  |  Branch (865:18): [True: 0, False: 355k]
  ------------------
  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|   355k|        else if (!_PyUnicode_EqualToASCIIString(action, "default")) {
  ------------------
  |  Branch (870:18): [True: 0, False: 355k]
  ------------------
  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|   355k|    }
  877|       |
  878|   355k|    if (rc == 1)  /* Already warned for this module. */
  ------------------
  |  Branch (878:9): [True: 0, False: 355k]
  ------------------
  879|      0|        goto return_none;
  880|   355k|    if (rc == 0) {
  ------------------
  |  Branch (880:9): [True: 355k, False: 0]
  ------------------
  881|   355k|        if (call_show_warning(tstate, category, text, message, filename,
  ------------------
  |  Branch (881:13): [True: 7, False: 355k]
  ------------------
  882|   355k|                              lineno, lineno_obj, sourceline, source, module) < 0)
  883|      7|            goto cleanup;
  884|   355k|    }
  885|      0|    else /* if (rc == -1) */
  886|      0|        goto cleanup;
  887|       |
  888|  1.08M| return_none:
  889|  1.08M|    result = Py_NewRef(Py_None);
  ------------------
  |  |  550|  1.08M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  890|       |
  891|  1.08M| cleanup:
  892|  1.08M|    Py_XDECREF(item);
  ------------------
  |  |  524|  1.08M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  893|  1.08M|    Py_XDECREF(key);
  ------------------
  |  |  524|  1.08M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  894|  1.08M|    Py_XDECREF(text);
  ------------------
  |  |  524|  1.08M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  895|  1.08M|    Py_XDECREF(lineno_obj);
  ------------------
  |  |  524|  1.08M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  896|  1.08M|    Py_XDECREF(message);
  ------------------
  |  |  524|  1.08M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  897|  1.08M|    return result;  /* Py_None or NULL. */
  898|  1.08M|}
_warnings.c:already_warned:
  579|  1.08M|{
  580|  1.08M|    PyObject *already_warned;
  581|       |
  582|  1.08M|    if (key == NULL)
  ------------------
  |  Branch (582:9): [True: 0, False: 1.08M]
  ------------------
  583|      0|        return -1;
  584|       |
  585|  1.08M|    WarningsState *st = warnings_get_state(interp);
  586|  1.08M|    assert(st != NULL);
  ------------------
  |  Branch (586:5): [True: 1.08M, False: 0]
  ------------------
  587|  1.08M|    assert(warnings_lock_held(st));
  ------------------
  |  Branch (587:5): [True: 1.08M, False: 0]
  ------------------
  588|       |
  589|  1.08M|    PyObject *version_obj;
  590|  1.08M|    if (PyDict_GetItemRef(registry, &_Py_ID(version), &version_obj) < 0) {
  ------------------
  |  |  920|  1.08M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.08M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.08M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (590:9): [True: 0, False: 1.08M]
  ------------------
  591|      0|        return -1;
  592|      0|    }
  593|  1.08M|    bool should_update_version = (
  594|  1.08M|        version_obj == NULL
  ------------------
  |  Branch (594:9): [True: 4, False: 1.08M]
  ------------------
  595|  1.08M|        || !PyLong_CheckExact(version_obj)
  ------------------
  |  |   14|  1.08M|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  2.16M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (595:12): [True: 0, False: 1.08M]
  ------------------
  596|  1.08M|        || PyLong_AsLong(version_obj) != st->filters_version
  ------------------
  |  Branch (596:12): [True: 0, False: 1.08M]
  ------------------
  597|  1.08M|    );
  598|  1.08M|    Py_XDECREF(version_obj);
  ------------------
  |  |  524|  1.08M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  599|  1.08M|    if (should_update_version) {
  ------------------
  |  Branch (599:9): [True: 4, False: 1.08M]
  ------------------
  600|      4|        PyDict_Clear(registry);
  601|      4|        version_obj = PyLong_FromLong(st->filters_version);
  602|      4|        if (version_obj == NULL)
  ------------------
  |  Branch (602:13): [True: 0, False: 4]
  ------------------
  603|      0|            return -1;
  604|      4|        if (PyDict_SetItem(registry, &_Py_ID(version), version_obj) < 0) {
  ------------------
  |  |  920|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (604:13): [True: 0, False: 4]
  ------------------
  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|        Py_DECREF(version_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  609|      4|    }
  610|  1.08M|    else {
  611|  1.08M|        if (PyDict_GetItemRef(registry, key, &already_warned) < 0) {
  ------------------
  |  Branch (611:13): [True: 0, False: 1.08M]
  ------------------
  612|      0|            return -1;
  613|      0|        }
  614|  1.08M|        if (already_warned != NULL) {
  ------------------
  |  Branch (614:13): [True: 725k, False: 355k]
  ------------------
  615|   725k|            int rc = PyObject_IsTrue(already_warned);
  616|   725k|            Py_DECREF(already_warned);
  ------------------
  |  |  430|   725k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   725k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   725k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  617|   725k|            if (rc != 0)
  ------------------
  |  Branch (617:17): [True: 725k, False: 0]
  ------------------
  618|   725k|                return rc;
  619|   725k|        }
  620|  1.08M|    }
  621|       |
  622|       |    /* This warning wasn't found in the registry, set it. */
  623|   355k|    if (should_set)
  ------------------
  |  Branch (623:9): [True: 0, False: 355k]
  ------------------
  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|   355k|    return 0;
  626|   355k|}
_warnings.c:warnings_lock_held:
  275|  1.43M|{
  276|  1.43M|    return PyMutex_IsLocked(&st->lock.mutex);
  ------------------
  |  |   78|  1.43M|#define PyMutex_IsLocked _PyMutex_IsLocked
  ------------------
  277|  1.43M|}
_warnings.c:get_filter:
  521|   355k|{
  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|   355k|    PyObject *context_filters = get_warnings_context_filters(interp);
  530|   355k|    if (context_filters == NULL) {
  ------------------
  |  Branch (530:9): [True: 0, False: 355k]
  ------------------
  531|      0|        return NULL;
  532|      0|    }
  533|   355k|    bool use_global_filters = false;
  534|   355k|    if (context_filters == Py_None) {
  ------------------
  |  |  616|   355k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (534:9): [True: 355k, False: 0]
  ------------------
  535|   355k|        use_global_filters = true;
  536|   355k|    } 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|   355k|    PyObject *action;
  550|       |
  551|   355k|    if (use_global_filters) {
  ------------------
  |  Branch (551:9): [True: 355k, False: 0]
  ------------------
  552|       |        /* check warnings.filters list */
  553|   355k|        PyObject *filters = get_warnings_filters(interp);
  554|   355k|        if (filters == NULL) {
  ------------------
  |  Branch (554:13): [True: 0, False: 355k]
  ------------------
  555|      0|            return NULL;
  556|      0|        }
  557|   355k|        if (!filter_search(interp, category, text, lineno, module, filename, "filters",
  ------------------
  |  Branch (557:13): [True: 0, False: 355k]
  ------------------
  558|   355k|                           filters, item, &action)) {
  559|      0|            return NULL;
  560|      0|        }
  561|   355k|        if (action != NULL) {
  ------------------
  |  Branch (561:13): [True: 0, False: 355k]
  ------------------
  562|      0|            return action;
  563|      0|        }
  564|   355k|    }
  565|       |
  566|   355k|    action = get_default_action(interp);
  567|   355k|    if (action != NULL) {
  ------------------
  |  Branch (567:9): [True: 355k, False: 0]
  ------------------
  568|   355k|        *item = Py_NewRef(Py_None);
  ------------------
  |  |  550|   355k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  569|   355k|        return action;
  570|   355k|    }
  571|       |
  572|      0|    return NULL;
  573|   355k|}
_warnings.c:get_warnings_context_filters:
  296|   355k|{
  297|   355k|    PyObject *ctx = get_warnings_context(interp);
  298|   355k|    if (ctx == NULL) {
  ------------------
  |  Branch (298:9): [True: 0, False: 355k]
  ------------------
  299|      0|        return NULL;
  300|      0|    }
  301|   355k|    if (ctx == Py_None) {
  ------------------
  |  |  616|   355k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (301:9): [True: 355k, False: 0]
  ------------------
  302|   355k|        Py_RETURN_NONE;
  ------------------
  |  |  628|   355k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|   355k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  303|   355k|    }
  304|      0|    PyObject *context_filters = PyObject_GetAttr(ctx, &_Py_ID(_filters));
  ------------------
  |  |  920|      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|   355k|{
  282|   355k|    WarningsState *st = warnings_get_state(interp);
  283|   355k|    assert(PyContextVar_CheckExact(st->context));
  ------------------
  |  Branch (283:5): [True: 355k, False: 0]
  ------------------
  284|   355k|    PyObject *ctx;
  285|   355k|    if (PyContextVar_Get(st->context, NULL, &ctx) < 0) {
  ------------------
  |  Branch (285:9): [True: 0, False: 355k]
  ------------------
  286|      0|        return NULL;
  287|      0|    }
  288|   355k|    if (ctx == NULL) {
  ------------------
  |  Branch (288:9): [True: 355k, False: 0]
  ------------------
  289|   355k|        Py_RETURN_NONE;
  ------------------
  |  |  628|   355k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|   355k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  290|   355k|    }
  291|      0|    return ctx;
  292|   355k|}
_warnings.c:filter_search:
  440|   355k|              PyObject **item, PyObject **matched_action) {
  441|   355k|    bool result = true;
  442|   355k|    *matched_action = NULL;
  443|       |    /* Avoid the filters list changing while we iterate over it. */
  444|   355k|    Py_BEGIN_CRITICAL_SECTION(filters);
  ------------------
  |  |   51|   355k|    {
  ------------------
  445|  2.13M|    for (Py_ssize_t i = 0; i < PyList_GET_SIZE(filters); i++) {
  ------------------
  |  |   38|  2.13M|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.13M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.13M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (445:28): [True: 1.77M, False: 355k]
  ------------------
  446|  1.77M|        PyObject *tmp_item, *action, *msg, *cat, *mod, *ln_obj;
  447|  1.77M|        Py_ssize_t ln;
  448|  1.77M|        int is_subclass, good_msg, good_mod;
  449|       |
  450|  1.77M|        tmp_item = PyList_GET_ITEM(filters, i);
  ------------------
  |  |   40|  1.77M|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  1.77M|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.77M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (450:20): [True: 1.77M, False: 0]
  ------------------
  451|  1.77M|        if (!PyTuple_Check(tmp_item) || PyTuple_GET_SIZE(tmp_item) != 5) {
  ------------------
  |  |   27|  1.77M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.55M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                      if (!PyTuple_Check(tmp_item) || PyTuple_GET_SIZE(tmp_item) != 5) {
  ------------------
  |  |   27|  1.77M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.77M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.77M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (451:13): [True: 0, False: 1.77M]
  |  Branch (451:41): [True: 0, False: 1.77M]
  ------------------
  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|  1.77M|        Py_INCREF(tmp_item);
  ------------------
  |  |  310|  1.77M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.77M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.77M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  460|  1.77M|        action = PyTuple_GET_ITEM(tmp_item, 0);
  ------------------
  |  |   29|  1.77M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.77M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.77M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (460:18): [True: 1.77M, False: 0]
  ------------------
  461|  1.77M|        msg = PyTuple_GET_ITEM(tmp_item, 1);
  ------------------
  |  |   29|  1.77M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.77M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.77M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (461:15): [True: 1.77M, False: 0]
  ------------------
  462|  1.77M|        cat = PyTuple_GET_ITEM(tmp_item, 2);
  ------------------
  |  |   29|  1.77M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.77M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.77M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (462:15): [True: 1.77M, False: 0]
  ------------------
  463|  1.77M|        mod = PyTuple_GET_ITEM(tmp_item, 3);
  ------------------
  |  |   29|  1.77M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.77M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.77M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (463:15): [True: 1.77M, False: 0]
  ------------------
  464|  1.77M|        ln_obj = PyTuple_GET_ITEM(tmp_item, 4);
  ------------------
  |  |   29|  1.77M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.77M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.77M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (464:18): [True: 1.77M, False: 0]
  ------------------
  465|       |
  466|  1.77M|        if (!PyUnicode_Check(action)) {
  ------------------
  |  |  103|  1.77M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.77M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (466:13): [True: 0, False: 1.77M]
  ------------------
  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|  1.77M|        good_msg = check_matched(interp, msg, text, NULL);
  476|  1.77M|        if (good_msg == -1) {
  ------------------
  |  Branch (476:13): [True: 0, False: 1.77M]
  ------------------
  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|  1.77M|        good_mod = check_matched(interp, mod, module, filename);
  483|  1.77M|        if (good_mod == -1) {
  ------------------
  |  Branch (483:13): [True: 0, False: 1.77M]
  ------------------
  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|  1.77M|        is_subclass = PyObject_IsSubclass(category, cat);
  490|  1.77M|        if (is_subclass == -1) {
  ------------------
  |  Branch (490:13): [True: 0, False: 1.77M]
  ------------------
  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|  1.77M|        ln = PyLong_AsSsize_t(ln_obj);
  497|  1.77M|        if (ln == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (497:13): [True: 0, False: 1.77M]
  |  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|  1.77M|        if (good_msg && is_subclass && good_mod && (ln == 0 || lineno == ln)) {
  ------------------
  |  Branch (503:13): [True: 1.77M, False: 0]
  |  Branch (503:25): [True: 0, False: 1.77M]
  |  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|  1.77M|        Py_DECREF(tmp_item);
  ------------------
  |  |  430|  1.77M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.77M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.77M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  1.77M|    }
  512|   355k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   355k|    }
  ------------------
  513|   355k|    return result;
  514|   355k|}
_warnings.c:check_matched:
  176|  3.55M|{
  177|  3.55M|    PyObject *result;
  178|  3.55M|    int rc;
  179|       |
  180|       |    /* A 'None' filter always matches */
  181|  3.55M|    if (obj == Py_None)
  ------------------
  |  |  616|  3.55M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (181:9): [True: 3.20M, False: 355k]
  ------------------
  182|  3.20M|        return 1;
  183|       |
  184|       |    /* An internal plain text default filter must match exactly */
  185|   355k|    if (PyUnicode_CheckExact(obj)) {
  ------------------
  |  |  104|   355k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   355k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 355k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  186|   355k|        if (arg == NULL) {
  ------------------
  |  Branch (186:13): [True: 0, False: 355k]
  ------------------
  187|      0|            return 0;
  188|      0|        }
  189|   355k|        int cmp_result = PyUnicode_Compare(obj, arg);
  190|   355k|        if (cmp_result == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (190:13): [True: 355k, False: 0]
  |  Branch (190:33): [True: 0, False: 355k]
  ------------------
  191|      0|            return -1;
  192|      0|        }
  193|   355k|        return !cmp_result;
  194|   355k|    }
  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);
  ------------------
  |  |  920|      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|   355k|{
  322|   355k|    WarningsState *st = warnings_get_state(interp);
  323|   355k|    PyObject *warnings_filters = GET_WARNINGS_ATTR(interp, filters, 0);
  ------------------
  |  |  216|   355k|    get_warnings_attr(interp, &_Py_ID(ATTR), try_import)
  |  |  ------------------
  |  |  |  |  920|   355k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|   355k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|   355k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  324|   355k|    if (warnings_filters == NULL) {
  ------------------
  |  Branch (324:9): [True: 0, False: 355k]
  ------------------
  325|      0|        if (PyErr_Occurred())
  ------------------
  |  Branch (325:13): [True: 0, False: 0]
  ------------------
  326|      0|            return NULL;
  327|      0|    }
  328|   355k|    else {
  329|   355k|        Py_SETREF(st->filters, warnings_filters);
  ------------------
  |  |  352|   355k|    do { \
  |  |  353|   355k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|   355k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|   355k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|   355k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|   355k|        *_tmp_dst_ptr = (src); \
  |  |  356|   355k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|   355k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|   355k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 355k]
  |  |  ------------------
  ------------------
  330|   355k|    }
  331|       |
  332|   355k|    PyObject *filters = st->filters;
  333|   355k|    if (filters == NULL || !PyList_Check(filters)) {
  ------------------
  |  |   25|   355k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   355k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (333:9): [True: 0, False: 355k]
  |  Branch (333:28): [True: 0, False: 355k]
  ------------------
  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|   355k|    return filters;
  339|   355k|}
_warnings.c:get_default_action:
  408|   355k|{
  409|   355k|    WarningsState *st = warnings_get_state(interp);
  410|   355k|    assert(st != NULL);
  ------------------
  |  Branch (410:5): [True: 355k, False: 0]
  ------------------
  411|       |
  412|   355k|    assert(warnings_lock_held(st));
  ------------------
  |  Branch (412:5): [True: 355k, False: 0]
  ------------------
  413|       |
  414|   355k|    PyObject *default_action = GET_WARNINGS_ATTR(interp, defaultaction, 0);
  ------------------
  |  |  216|   355k|    get_warnings_attr(interp, &_Py_ID(ATTR), try_import)
  |  |  ------------------
  |  |  |  |  920|   355k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|   355k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|   355k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  415|   355k|    if (default_action == NULL) {
  ------------------
  |  Branch (415:9): [True: 0, False: 355k]
  ------------------
  416|      0|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (416:13): [True: 0, False: 0]
  ------------------
  417|      0|            return NULL;
  418|      0|        }
  419|      0|        assert(st->default_action);
  ------------------
  |  Branch (419:9): [True: 0, False: 0]
  ------------------
  420|      0|        return st->default_action;
  421|      0|    }
  422|   355k|    if (!PyUnicode_Check(default_action)) {
  ------------------
  |  |  103|   355k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   355k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (422:9): [True: 0, False: 355k]
  ------------------
  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|   355k|    Py_SETREF(st->default_action, default_action);
  ------------------
  |  |  352|   355k|    do { \
  |  |  353|   355k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|   355k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|   355k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|   355k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|   355k|        *_tmp_dst_ptr = (src); \
  |  |  356|   355k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|   355k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|   355k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 355k]
  |  |  ------------------
  ------------------
  431|   355k|    return default_action;
  432|   355k|}
_warnings.c:call_show_warning:
  720|   355k|{
  721|   355k|    PyObject *show_fn, *msg, *res, *warnmsg_cls = NULL;
  722|   355k|    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|   355k|    show_fn = GET_WARNINGS_ATTR(interp, _showwarnmsg, 1);
  ------------------
  |  |  216|   355k|    get_warnings_attr(interp, &_Py_ID(ATTR), try_import)
  |  |  ------------------
  |  |  |  |  920|   355k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|   355k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|   355k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|   355k|    if (show_fn == NULL) {
  ------------------
  |  Branch (727:9): [True: 0, False: 355k]
  ------------------
  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|   355k|    if (!PyCallable_Check(show_fn)) {
  ------------------
  |  Branch (734:9): [True: 0, False: 355k]
  ------------------
  735|      0|        PyErr_SetString(PyExc_TypeError,
  736|      0|                "warnings._showwarnmsg() must be set to a callable");
  737|      0|        goto error;
  738|      0|    }
  739|       |
  740|   355k|    warnmsg_cls = GET_WARNINGS_ATTR(interp, WarningMessage, 0);
  ------------------
  |  |  216|   355k|    get_warnings_attr(interp, &_Py_ID(ATTR), try_import)
  |  |  ------------------
  |  |  |  |  920|   355k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|   355k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|   355k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  741|   355k|    if (warnmsg_cls == NULL) {
  ------------------
  |  Branch (741:9): [True: 0, False: 355k]
  ------------------
  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|   355k|    msg = PyObject_CallFunctionObjArgs(warnmsg_cls, message, category,
  750|   355k|            filename, lineno_obj, Py_None, Py_None,
  ------------------
  |  |  616|   355k|#  define Py_None (&_Py_NoneStruct)
  ------------------
                          filename, lineno_obj, Py_None, Py_None,
  ------------------
  |  |  616|   355k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  751|   355k|            source ? source : Py_None, module,
  ------------------
  |  |  616|   355k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (751:13): [True: 0, False: 355k]
  ------------------
  752|   355k|            NULL);
  753|   355k|    Py_DECREF(warnmsg_cls);
  ------------------
  |  |  430|   355k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  754|   355k|    if (msg == NULL)
  ------------------
  |  Branch (754:9): [True: 0, False: 355k]
  ------------------
  755|      0|        goto error;
  756|       |
  757|   355k|    res = PyObject_CallOneArg(show_fn, msg);
  758|   355k|    Py_DECREF(show_fn);
  ------------------
  |  |  430|   355k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  759|   355k|    Py_DECREF(msg);
  ------------------
  |  |  430|   355k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  760|       |
  761|   355k|    if (res == NULL)
  ------------------
  |  Branch (761:9): [True: 7, False: 355k]
  ------------------
  762|      7|        return -1;
  763|       |
  764|   355k|    Py_DECREF(res);
  ------------------
  |  |  430|   355k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  765|   355k|    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|   355k|}
_warnings.c:warnings_unlock:
  267|  1.08M|{
  268|  1.08M|    WarningsState *st = warnings_get_state(interp);
  269|  1.08M|    assert(st != NULL);
  ------------------
  |  Branch (269:5): [True: 1.08M, False: 0]
  ------------------
  270|  1.08M|    return _PyRecursiveMutex_TryUnlock(&st->lock);
  271|  1.08M|}
_warnings.c:get_warnings_attr:
  224|  1.42M|{
  225|  1.42M|    PyObject *warnings_module, *obj;
  226|       |
  227|       |    /* don't try to import after the start of the Python finallization */
  228|  1.42M|    if (try_import && !_Py_IsInterpreterFinalizing(interp)) {
  ------------------
  |  Branch (228:9): [True: 355k, False: 1.06M]
  |  Branch (228:23): [True: 355k, False: 0]
  ------------------
  229|   355k|        warnings_module = PyImport_Import(&_Py_ID(warnings));
  ------------------
  |  |  920|   355k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   355k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   355k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  230|   355k|        if (warnings_module == NULL) {
  ------------------
  |  Branch (230:13): [True: 0, False: 355k]
  ------------------
  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|   355k|    }
  239|  1.06M|    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|  1.06M|        if (!_PyImport_GetModules(interp)) {
  ------------------
  |  Branch (244:13): [True: 0, False: 1.06M]
  ------------------
  245|      0|            return NULL;
  246|      0|        }
  247|  1.06M|        warnings_module = PyImport_GetModule(&_Py_ID(warnings));
  ------------------
  |  |  920|  1.06M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.06M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.06M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  248|  1.06M|        if (warnings_module == NULL)
  ------------------
  |  Branch (248:13): [True: 0, False: 1.06M]
  ------------------
  249|      0|            return NULL;
  250|  1.06M|    }
  251|       |
  252|  1.42M|    (void)PyObject_GetOptionalAttr(warnings_module, attr, &obj);
  253|  1.42M|    Py_DECREF(warnings_module);
  ------------------
  |  |  430|  1.42M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.42M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.42M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  254|  1.42M|    return obj;
  255|  1.42M|}
_warnings.c:warnings_warn_impl:
 1170|  1.08M|{
 1171|  1.08M|    category = get_category(message, category);
 1172|  1.08M|    if (category == NULL)
  ------------------
  |  Branch (1172:9): [True: 0, False: 1.08M]
  ------------------
 1173|      0|        return NULL;
 1174|  1.08M|    if (skip_file_prefixes) {
  ------------------
  |  Branch (1174:9): [True: 0, False: 1.08M]
  ------------------
 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|  1.08M|    return do_warn(message, category, stacklevel, source, skip_file_prefixes);
 1185|  1.08M|}
_warnings.c:get_category:
 1093|  1.08M|{
 1094|  1.08M|    if (PyObject_TypeCheck(message, (PyTypeObject *)PyExc_Warning)) {
  ------------------
  |  |  378|  1.08M|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (378:40): [True: 0, False: 1.08M]
  |  |  ------------------
  ------------------
 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|  1.08M|    if (category == NULL || category == Py_None) {
  ------------------
  |  |  616|  1.08M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1098:9): [True: 0, False: 1.08M]
  |  Branch (1098:29): [True: 0, False: 1.08M]
  ------------------
 1099|      0|        return PyExc_UserWarning;
 1100|      0|    }
 1101|       |
 1102|       |    /* Validate category. */
 1103|  1.08M|    if (!PyType_Check(category)) {
  ------------------
  |  |  766|  1.08M|#  define PyType_Check(op) PyType_Check(_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 (1103:9): [True: 0, False: 1.08M]
  ------------------
 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|  1.08M|    if (!PyType_IsSubtype((PyTypeObject *)category, (PyTypeObject *)PyExc_Warning)) {
  ------------------
  |  Branch (1109:9): [True: 0, False: 1.08M]
  ------------------
 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|  1.08M|    return category;
 1117|  1.08M|}
_warnings.c:get_current_interp:
   42|      2|{
   43|      2|    PyInterpreterState *interp = _PyInterpreterState_GET();
   44|      2|    return check_interp(interp) ? interp : NULL;
  ------------------
  |  Branch (44:12): [True: 2, False: 0]
  ------------------
   45|      2|}
_warnings.c:warnings_module_exec:
 1604|      2|{
 1605|      2|    PyInterpreterState *interp = get_current_interp();
 1606|      2|    if (interp == NULL) {
  ------------------
  |  Branch (1606:9): [True: 0, False: 2]
  ------------------
 1607|      0|        return -1;
 1608|      0|    }
 1609|      2|    WarningsState *st = warnings_get_state(interp);
 1610|      2|    if (st == NULL) {
  ------------------
  |  Branch (1610:9): [True: 0, False: 2]
  ------------------
 1611|      0|        return -1;
 1612|      0|    }
 1613|      2|    if (PyModule_AddObjectRef(module, "filters", st->filters) < 0) {
  ------------------
  |  Branch (1613:9): [True: 0, False: 2]
  ------------------
 1614|      0|        return -1;
 1615|      0|    }
 1616|      2|    if (PyModule_AddObjectRef(module, "_onceregistry", st->once_registry) < 0) {
  ------------------
  |  Branch (1616:9): [True: 0, False: 2]
  ------------------
 1617|      0|        return -1;
 1618|      0|    }
 1619|      2|    if (PyModule_AddObjectRef(module, "_defaultaction", st->default_action) < 0) {
  ------------------
  |  Branch (1619:9): [True: 0, False: 2]
  ------------------
 1620|      0|        return -1;
 1621|      0|    }
 1622|      2|    if (PyModule_AddObjectRef(module, "_warnings_context", st->context) < 0) {
  ------------------
  |  Branch (1622:9): [True: 0, False: 2]
  ------------------
 1623|      0|        return -1;
 1624|      0|    }
 1625|      2|    return 0;
 1626|      2|}

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

_PyAST_Preprocess:
  978|      3|{
  979|      3|    _PyASTPreprocessState state;
  980|      3|    memset(&state, 0, sizeof(_PyASTPreprocessState));
  981|      3|    state.filename = filename;
  982|      3|    state.module = module;
  983|      3|    state.optimize = optimize;
  984|      3|    state.ff_features = ff_features;
  985|      3|    state.syntax_check_only = syntax_check_only;
  986|      3|    state.enable_warnings = enable_warnings;
  987|      3|    if (_Py_CArray_Init(&state.cf_finally, sizeof(ControlFlowInFinallyContext), 20) < 0) {
  ------------------
  |  Branch (987:9): [True: 0, False: 3]
  ------------------
  988|      0|        return -1;
  989|      0|    }
  990|       |
  991|      3|    int ret = astfold_mod(mod, arena, &state);
  992|      3|    assert(ret || PyErr_Occurred());
  ------------------
  |  Branch (992:5): [True: 3, False: 0]
  |  Branch (992:5): [True: 0, False: 0]
  ------------------
  993|       |
  994|      3|    _Py_CArray_Fini(&state.cf_finally);
  995|      3|    return ret;
  996|      3|}
ast_preprocess.c:astfold_mod:
  498|      3|{
  499|      3|    switch (node_->kind) {
  ------------------
  |  Branch (499:13): [True: 3, False: 0]
  ------------------
  500|      0|    case Module_kind:
  ------------------
  |  Branch (500:5): [True: 0, False: 3]
  ------------------
  501|      0|        CALL(astfold_body, asdl_seq, node_->v.Module.body);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  502|      0|        break;
  503|      0|    case Interactive_kind:
  ------------------
  |  Branch (503:5): [True: 0, False: 3]
  ------------------
  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|      3|    case Expression_kind:
  ------------------
  |  Branch (506:5): [True: 3, False: 0]
  ------------------
  507|      3|        CALL(astfold_expr, expr_ty, node_->v.Expression.body);
  ------------------
  |  |  409|      3|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 3]
  |  |  ------------------
  |  |  410|      3|        return 0;
  ------------------
  508|      3|        break;
  509|       |    // The following top level nodes don't participate in constant folding
  510|      0|    case FunctionType_kind:
  ------------------
  |  Branch (510:5): [True: 0, False: 3]
  ------------------
  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|      3|    }
  515|      3|    return 1;
  516|      3|}
ast_preprocess.c:astfold_arguments:
  663|      3|{
  664|      3|    CALL_SEQ(astfold_arg, arg, node_->posonlyargs);
  ------------------
  |  |  416|      3|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      3|    Py_ssize_t i; \
  |  |  418|      3|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      3|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      3|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 3]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 3]
  |  |  ------------------
  |  |  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|      3|}
  ------------------
  665|      3|    CALL_SEQ(astfold_arg, arg, node_->args);
  ------------------
  |  |  416|      3|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      3|    Py_ssize_t i; \
  |  |  418|      3|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|     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 (419:17): [True: 15, False: 3]
  |  |  ------------------
  |  |  420|     15|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|     15|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     15|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|     15|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 15, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 15]
  |  |  ------------------
  |  |  422|     15|            return 0; \
  |  |  423|     15|    } \
  |  |  424|      3|}
  ------------------
  666|      3|    CALL_OPT(astfold_arg, arg_ty, node_->vararg);
  ------------------
  |  |  413|      3|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 0, False: 3]
  |  |  |  Branch (413:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  414|      3|        return 0;
  ------------------
  667|      3|    CALL_SEQ(astfold_arg, arg, node_->kwonlyargs);
  ------------------
  |  |  416|      3|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      3|    Py_ssize_t i; \
  |  |  418|      3|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      3|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      3|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 3]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 3]
  |  |  ------------------
  |  |  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|      3|}
  ------------------
  668|      3|    CALL_SEQ(astfold_expr, expr, node_->kw_defaults);
  ------------------
  |  |  416|      3|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      3|    Py_ssize_t i; \
  |  |  418|      3|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      3|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      3|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 3]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 3]
  |  |  ------------------
  |  |  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|      3|}
  ------------------
  669|      3|    CALL_OPT(astfold_arg, arg_ty, node_->kwarg);
  ------------------
  |  |  413|      3|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 0, False: 3]
  |  |  |  Branch (413:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  414|      3|        return 0;
  ------------------
  670|      3|    CALL_SEQ(astfold_expr, expr, node_->defaults);
  ------------------
  |  |  416|      3|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      3|    Py_ssize_t i; \
  |  |  418|      3|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      3|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      3|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 3]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 3]
  |  |  ------------------
  |  |  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|      3|}
  ------------------
  671|      3|    return 1;
  672|      3|}
ast_preprocess.c:astfold_arg:
  676|     15|{
  677|     15|    if (!(state->ff_features & CO_FUTURE_ANNOTATIONS)) {
  ------------------
  |  |  147|     15|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
  |  Branch (677:9): [True: 15, False: 0]
  ------------------
  678|     15|        CALL_OPT(astfold_expr, expr_ty, node_->annotation);
  ------------------
  |  |  413|     15|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 0, False: 15]
  |  |  |  Branch (413:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  414|     15|        return 0;
  ------------------
  679|     15|    }
  680|     15|    return 1;
  681|     15|}
ast_preprocess.c:astfold_expr:
  520|     27|{
  521|     27|    ENTER_RECURSIVE();
  ------------------
  |  |   29|     27|#define ENTER_RECURSIVE() \
  |  |   30|     27|if (Py_EnterRecursiveCall(" during compilation")) { \
  |  |  ------------------
  |  |  |  Branch (30:5): [True: 0, False: 27]
  |  |  ------------------
  |  |   31|      0|    return 0; \
  |  |   32|      0|}
  ------------------
  522|     27|    switch (node_->kind) {
  ------------------
  |  Branch (522:13): [True: 27, False: 0]
  ------------------
  523|      0|    case BoolOp_kind:
  ------------------
  |  Branch (523:5): [True: 0, False: 27]
  ------------------
  524|      0|        CALL_SEQ(astfold_expr, expr, node_->v.BoolOp.values);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  525|      0|        break;
  526|      0|    case BinOp_kind:
  ------------------
  |  Branch (526:5): [True: 0, False: 27]
  ------------------
  527|      0|        CALL(astfold_expr, expr_ty, node_->v.BinOp.left);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  528|      0|        CALL(astfold_expr, expr_ty, node_->v.BinOp.right);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  529|      0|        CALL(fold_binop, expr_ty, node_);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  530|      0|        break;
  531|      0|    case UnaryOp_kind:
  ------------------
  |  Branch (531:5): [True: 0, False: 27]
  ------------------
  532|      0|        CALL(astfold_expr, expr_ty, node_->v.UnaryOp.operand);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  533|      0|        break;
  534|      3|    case Lambda_kind:
  ------------------
  |  Branch (534:5): [True: 3, False: 24]
  ------------------
  535|      3|        CALL(astfold_arguments, arguments_ty, node_->v.Lambda.args);
  ------------------
  |  |  409|      3|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 3]
  |  |  ------------------
  |  |  410|      3|        return 0;
  ------------------
  536|      3|        CALL(astfold_expr, expr_ty, node_->v.Lambda.body);
  ------------------
  |  |  409|      3|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 3]
  |  |  ------------------
  |  |  410|      3|        return 0;
  ------------------
  537|      3|        break;
  538|      0|    case IfExp_kind:
  ------------------
  |  Branch (538:5): [True: 0, False: 27]
  ------------------
  539|      0|        CALL(astfold_expr, expr_ty, node_->v.IfExp.test);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  540|      0|        CALL(astfold_expr, expr_ty, node_->v.IfExp.body);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  541|      0|        CALL(astfold_expr, expr_ty, node_->v.IfExp.orelse);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  542|      0|        break;
  543|      0|    case Dict_kind:
  ------------------
  |  Branch (543:5): [True: 0, False: 27]
  ------------------
  544|      0|        CALL_SEQ(astfold_expr, expr, node_->v.Dict.keys);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  545|      0|        CALL_SEQ(astfold_expr, expr, node_->v.Dict.values);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  546|      0|        break;
  547|      0|    case Set_kind:
  ------------------
  |  Branch (547:5): [True: 0, False: 27]
  ------------------
  548|      0|        CALL_SEQ(astfold_expr, expr, node_->v.Set.elts);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  549|      0|        break;
  550|      0|    case ListComp_kind:
  ------------------
  |  Branch (550:5): [True: 0, False: 27]
  ------------------
  551|      0|        CALL(astfold_expr, expr_ty, node_->v.ListComp.elt);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  552|      0|        CALL_SEQ(astfold_comprehension, comprehension, node_->v.ListComp.generators);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  553|      0|        break;
  554|      0|    case SetComp_kind:
  ------------------
  |  Branch (554:5): [True: 0, False: 27]
  ------------------
  555|      0|        CALL(astfold_expr, expr_ty, node_->v.SetComp.elt);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  556|      0|        CALL_SEQ(astfold_comprehension, comprehension, node_->v.SetComp.generators);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  557|      0|        break;
  558|      0|    case DictComp_kind:
  ------------------
  |  Branch (558:5): [True: 0, False: 27]
  ------------------
  559|      0|        CALL(astfold_expr, expr_ty, node_->v.DictComp.key);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  560|      0|        if (node_->v.DictComp.value != NULL){
  ------------------
  |  Branch (560:13): [True: 0, False: 0]
  ------------------
  561|      0|            CALL(astfold_expr, expr_ty, node_->v.DictComp.value);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  562|      0|        }
  563|      0|        CALL_SEQ(astfold_comprehension, comprehension, node_->v.DictComp.generators);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  564|      0|        break;
  565|      0|    case GeneratorExp_kind:
  ------------------
  |  Branch (565:5): [True: 0, False: 27]
  ------------------
  566|      0|        CALL(astfold_expr, expr_ty, node_->v.GeneratorExp.elt);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  567|      0|        CALL_SEQ(astfold_comprehension, comprehension, node_->v.GeneratorExp.generators);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  568|      0|        break;
  569|      0|    case Await_kind:
  ------------------
  |  Branch (569:5): [True: 0, False: 27]
  ------------------
  570|      0|        CALL(astfold_expr, expr_ty, node_->v.Await.value);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  571|      0|        break;
  572|      0|    case Yield_kind:
  ------------------
  |  Branch (572:5): [True: 0, False: 27]
  ------------------
  573|      0|        CALL_OPT(astfold_expr, expr_ty, node_->v.Yield.value);
  ------------------
  |  |  413|      0|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  Branch (413:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  414|      0|        return 0;
  ------------------
  574|      0|        break;
  575|      0|    case YieldFrom_kind:
  ------------------
  |  Branch (575:5): [True: 0, False: 27]
  ------------------
  576|      0|        CALL(astfold_expr, expr_ty, node_->v.YieldFrom.value);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  577|      0|        break;
  578|      0|    case Compare_kind:
  ------------------
  |  Branch (578:5): [True: 0, False: 27]
  ------------------
  579|      0|        CALL(astfold_expr, expr_ty, node_->v.Compare.left);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  580|      0|        CALL_SEQ(astfold_expr, expr, node_->v.Compare.comparators);
  ------------------
  |  |  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|}
  ------------------
  581|      0|        break;
  582|      3|    case Call_kind:
  ------------------
  |  Branch (582:5): [True: 3, False: 24]
  ------------------
  583|      3|        CALL(astfold_expr, expr_ty, node_->v.Call.func);
  ------------------
  |  |  409|      3|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 3]
  |  |  ------------------
  |  |  410|      3|        return 0;
  ------------------
  584|      3|        CALL_SEQ(astfold_expr, expr, node_->v.Call.args);
  ------------------
  |  |  416|      3|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      3|    Py_ssize_t i; \
  |  |  418|      3|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      9|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   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:37): [True: 0, False: 9]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 6, False: 3]
  |  |  ------------------
  |  |  420|      6|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      6|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      6|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 6, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 6]
  |  |  ------------------
  |  |  422|      6|            return 0; \
  |  |  423|      6|    } \
  |  |  424|      3|}
  ------------------
  585|      3|        CALL_SEQ(astfold_keyword, keyword, node_->v.Call.keywords);
  ------------------
  |  |  416|      3|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      3|    Py_ssize_t i; \
  |  |  418|      3|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      3|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      3|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 3, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 3]
  |  |  ------------------
  |  |  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|      3|}
  ------------------
  586|      3|        break;
  587|      0|    case FormattedValue_kind:
  ------------------
  |  Branch (587:5): [True: 0, False: 27]
  ------------------
  588|      0|        CALL(astfold_expr, expr_ty, node_->v.FormattedValue.value);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  589|      0|        CALL_OPT(astfold_expr, expr_ty, node_->v.FormattedValue.format_spec);
  ------------------
  |  |  413|      0|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  Branch (413:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  414|      0|        return 0;
  ------------------
  590|      0|        break;
  591|      0|    case Interpolation_kind:
  ------------------
  |  Branch (591:5): [True: 0, False: 27]
  ------------------
  592|      0|        CALL(astfold_expr, expr_ty, node_->v.Interpolation.value);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  593|      0|        CALL_OPT(astfold_expr, expr_ty, node_->v.Interpolation.format_spec);
  ------------------
  |  |  413|      0|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  Branch (413:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  414|      0|        return 0;
  ------------------
  594|      0|        break;
  595|      0|    case JoinedStr_kind:
  ------------------
  |  Branch (595:5): [True: 0, False: 27]
  ------------------
  596|      0|        CALL_SEQ(astfold_expr, expr, node_->v.JoinedStr.values);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  597|      0|        break;
  598|      0|    case TemplateStr_kind:
  ------------------
  |  Branch (598:5): [True: 0, False: 27]
  ------------------
  599|      0|        CALL_SEQ(astfold_expr, expr, node_->v.TemplateStr.values);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  600|      0|        break;
  601|      0|    case Attribute_kind:
  ------------------
  |  Branch (601:5): [True: 0, False: 27]
  ------------------
  602|      0|        CALL(astfold_expr, expr_ty, node_->v.Attribute.value);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  603|      0|        break;
  604|      0|    case Subscript_kind:
  ------------------
  |  Branch (604:5): [True: 0, False: 27]
  ------------------
  605|      0|        CALL(astfold_expr, expr_ty, node_->v.Subscript.value);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  606|      0|        CALL(astfold_expr, expr_ty, node_->v.Subscript.slice);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  607|      0|        break;
  608|      0|    case Starred_kind:
  ------------------
  |  Branch (608:5): [True: 0, False: 27]
  ------------------
  609|      0|        CALL(astfold_expr, expr_ty, node_->v.Starred.value);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  610|      0|        break;
  611|      0|    case Slice_kind:
  ------------------
  |  Branch (611:5): [True: 0, False: 27]
  ------------------
  612|      0|        CALL_OPT(astfold_expr, expr_ty, node_->v.Slice.lower);
  ------------------
  |  |  413|      0|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  Branch (413:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  414|      0|        return 0;
  ------------------
  613|      0|        CALL_OPT(astfold_expr, expr_ty, node_->v.Slice.upper);
  ------------------
  |  |  413|      0|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  Branch (413:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  414|      0|        return 0;
  ------------------
  614|      0|        CALL_OPT(astfold_expr, expr_ty, node_->v.Slice.step);
  ------------------
  |  |  413|      0|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  Branch (413:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  414|      0|        return 0;
  ------------------
  615|      0|        break;
  616|      0|    case List_kind:
  ------------------
  |  Branch (616:5): [True: 0, False: 27]
  ------------------
  617|      0|        CALL_SEQ(astfold_expr, expr, node_->v.List.elts);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  618|      0|        break;
  619|      3|    case Tuple_kind:
  ------------------
  |  Branch (619:5): [True: 3, False: 24]
  ------------------
  620|      3|        CALL_SEQ(astfold_expr, expr, node_->v.Tuple.elts);
  ------------------
  |  |  416|      3|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      3|    Py_ssize_t i; \
  |  |  418|      3|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|     15|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|     15|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     30|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 15]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 12, False: 3]
  |  |  ------------------
  |  |  420|     12|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|     12|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     12|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|     12|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 12, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 12]
  |  |  ------------------
  |  |  422|     12|            return 0; \
  |  |  423|     12|    } \
  |  |  424|      3|}
  ------------------
  621|      3|        break;
  622|     18|    case Name_kind:
  ------------------
  |  Branch (622:5): [True: 18, False: 9]
  ------------------
  623|     18|        if (state->syntax_check_only) {
  ------------------
  |  Branch (623:13): [True: 0, False: 18]
  ------------------
  624|      0|            break;
  625|      0|        }
  626|     18|        if (node_->v.Name.ctx == Load &&
  ------------------
  |  Branch (626:13): [True: 18, False: 0]
  ------------------
  627|     18|                _PyUnicode_EqualToASCIIString(node_->v.Name.id, "__debug__")) {
  ------------------
  |  Branch (627:17): [True: 0, False: 18]
  ------------------
  628|      0|            LEAVE_RECURSIVE();
  ------------------
  |  |   34|      0|#define LEAVE_RECURSIVE() Py_LeaveRecursiveCall();
  ------------------
  629|      0|            return make_const(node_, PyBool_FromLong(!state->optimize), ctx_);
  630|      0|        }
  631|     18|        break;
  632|     18|    case NamedExpr_kind:
  ------------------
  |  Branch (632:5): [True: 0, False: 27]
  ------------------
  633|      0|        CALL(astfold_expr, expr_ty, node_->v.NamedExpr.value);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  634|      0|        break;
  635|      0|    case Constant_kind:
  ------------------
  |  Branch (635:5): [True: 0, False: 27]
  ------------------
  636|       |        // Already a constant, nothing further to do
  637|      0|        break;
  638|       |    // No default case, so the compiler will emit a warning if new expression
  639|       |    // kinds are added without being handled here
  640|     27|    }
  641|     27|    LEAVE_RECURSIVE();
  ------------------
  |  |   34|     27|#define LEAVE_RECURSIVE() Py_LeaveRecursiveCall();
  ------------------
  642|     27|    return 1;
  643|     27|}

_PyBuiltin_Init:
 3523|      2|{
 3524|      2|    PyObject *mod, *dict, *debug;
 3525|       |
 3526|      2|    const PyConfig *config = _PyInterpreterState_GetConfig(interp);
 3527|       |
 3528|      2|    mod = _PyModule_CreateInitialized(&builtinsmodule, PYTHON_API_VERSION);
  ------------------
  |  |   59|      2|#define PYTHON_API_VERSION 1013
  ------------------
 3529|      2|    if (mod == NULL)
  ------------------
  |  Branch (3529:9): [True: 0, False: 2]
  ------------------
 3530|      0|        return NULL;
 3531|       |#ifdef Py_GIL_DISABLED
 3532|       |    PyUnstable_Module_SetGIL(mod, Py_MOD_GIL_NOT_USED);
 3533|       |#endif
 3534|      2|    dict = PyModule_GetDict(mod);
 3535|       |
 3536|       |#ifdef Py_TRACE_REFS
 3537|       |    /* "builtins" exposes a number of statically allocated objects
 3538|       |     * that, before this code was added in 2.3, never showed up in
 3539|       |     * the list of "all objects" maintained by Py_TRACE_REFS.  As a
 3540|       |     * result, programs leaking references to None and False (etc)
 3541|       |     * couldn't be diagnosed by examining sys.getobjects(0).
 3542|       |     */
 3543|       |#define ADD_TO_ALL(OBJECT) _Py_AddToAllObjects((PyObject *)(OBJECT))
 3544|       |#else
 3545|      2|#define ADD_TO_ALL(OBJECT) (void)0
 3546|      2|#endif
 3547|       |
 3548|      2|#define SETBUILTIN(NAME, OBJECT) \
 3549|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
 3550|      2|        return NULL;                                                    \
 3551|      2|    ADD_TO_ALL(OBJECT)
 3552|       |
 3553|      2|    SETBUILTIN("None",                  Py_None);
  ------------------
  |  | 3549|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3549:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3550|      2|        return NULL;                                                    \
  |  | 3551|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3545|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3554|      2|    SETBUILTIN("Ellipsis",              Py_Ellipsis);
  ------------------
  |  | 3549|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3549:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3550|      2|        return NULL;                                                    \
  |  | 3551|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3545|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3555|      2|    SETBUILTIN("NotImplemented",        Py_NotImplemented);
  ------------------
  |  | 3549|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3549:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3550|      2|        return NULL;                                                    \
  |  | 3551|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3545|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3556|      2|    SETBUILTIN("False",                 Py_False);
  ------------------
  |  | 3549|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3549:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3550|      2|        return NULL;                                                    \
  |  | 3551|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3545|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3557|      2|    SETBUILTIN("True",                  Py_True);
  ------------------
  |  | 3549|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3549:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3550|      2|        return NULL;                                                    \
  |  | 3551|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3545|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3558|      2|    SETBUILTIN("bool",                  &PyBool_Type);
  ------------------
  |  | 3549|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3549:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3550|      2|        return NULL;                                                    \
  |  | 3551|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3545|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3559|      2|    SETBUILTIN("memoryview",            &PyMemoryView_Type);
  ------------------
  |  | 3549|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3549:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3550|      2|        return NULL;                                                    \
  |  | 3551|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3545|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3560|      2|    SETBUILTIN("bytearray",             &PyByteArray_Type);
  ------------------
  |  | 3549|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3549:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3550|      2|        return NULL;                                                    \
  |  | 3551|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3545|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3561|      2|    SETBUILTIN("bytes",                 &PyBytes_Type);
  ------------------
  |  | 3549|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3549:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3550|      2|        return NULL;                                                    \
  |  | 3551|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3545|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3562|      2|    SETBUILTIN("classmethod",           &PyClassMethod_Type);
  ------------------
  |  | 3549|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3549:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3550|      2|        return NULL;                                                    \
  |  | 3551|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3545|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3563|      2|    SETBUILTIN("complex",               &PyComplex_Type);
  ------------------
  |  | 3549|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3549:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3550|      2|        return NULL;                                                    \
  |  | 3551|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3545|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3564|      2|    SETBUILTIN("dict",                  &PyDict_Type);
  ------------------
  |  | 3549|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3549:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3550|      2|        return NULL;                                                    \
  |  | 3551|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3545|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3565|      2|    SETBUILTIN("enumerate",             &PyEnum_Type);
  ------------------
  |  | 3549|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3549:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3550|      2|        return NULL;                                                    \
  |  | 3551|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3545|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3566|      2|    SETBUILTIN("filter",                &PyFilter_Type);
  ------------------
  |  | 3549|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3549:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3550|      2|        return NULL;                                                    \
  |  | 3551|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3545|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3567|      2|    SETBUILTIN("float",                 &PyFloat_Type);
  ------------------
  |  | 3549|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3549:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3550|      2|        return NULL;                                                    \
  |  | 3551|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3545|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3568|      2|    SETBUILTIN("frozendict",            &PyFrozenDict_Type);
  ------------------
  |  | 3549|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3549:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3550|      2|        return NULL;                                                    \
  |  | 3551|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3545|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3569|      2|    SETBUILTIN("frozenset",             &PyFrozenSet_Type);
  ------------------
  |  | 3549|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3549:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3550|      2|        return NULL;                                                    \
  |  | 3551|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3545|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3570|      2|    SETBUILTIN("property",              &PyProperty_Type);
  ------------------
  |  | 3549|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3549:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3550|      2|        return NULL;                                                    \
  |  | 3551|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3545|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3571|      2|    SETBUILTIN("int",                   &PyLong_Type);
  ------------------
  |  | 3549|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3549:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3550|      2|        return NULL;                                                    \
  |  | 3551|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3545|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3572|      2|    SETBUILTIN("list",                  &PyList_Type);
  ------------------
  |  | 3549|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3549:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3550|      2|        return NULL;                                                    \
  |  | 3551|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3545|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3573|      2|    SETBUILTIN("map",                   &PyMap_Type);
  ------------------
  |  | 3549|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3549:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3550|      2|        return NULL;                                                    \
  |  | 3551|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3545|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3574|      2|    SETBUILTIN("object",                &PyBaseObject_Type);
  ------------------
  |  | 3549|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3549:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3550|      2|        return NULL;                                                    \
  |  | 3551|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3545|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3575|      2|    SETBUILTIN("range",                 &PyRange_Type);
  ------------------
  |  | 3549|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3549:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3550|      2|        return NULL;                                                    \
  |  | 3551|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3545|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3576|      2|    SETBUILTIN("reversed",              &PyReversed_Type);
  ------------------
  |  | 3549|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3549:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3550|      2|        return NULL;                                                    \
  |  | 3551|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3545|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3577|      2|    SETBUILTIN("sentinel",              &PySentinel_Type);
  ------------------
  |  | 3549|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3549:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3550|      2|        return NULL;                                                    \
  |  | 3551|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3545|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3578|      2|    SETBUILTIN("set",                   &PySet_Type);
  ------------------
  |  | 3549|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3549:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3550|      2|        return NULL;                                                    \
  |  | 3551|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3545|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3579|      2|    SETBUILTIN("slice",                 &PySlice_Type);
  ------------------
  |  | 3549|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3549:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3550|      2|        return NULL;                                                    \
  |  | 3551|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3545|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3580|      2|    SETBUILTIN("staticmethod",          &PyStaticMethod_Type);
  ------------------
  |  | 3549|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3549:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3550|      2|        return NULL;                                                    \
  |  | 3551|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3545|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3581|      2|    SETBUILTIN("str",                   &PyUnicode_Type);
  ------------------
  |  | 3549|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3549:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3550|      2|        return NULL;                                                    \
  |  | 3551|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3545|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3582|      2|    SETBUILTIN("super",                 &PySuper_Type);
  ------------------
  |  | 3549|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3549:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3550|      2|        return NULL;                                                    \
  |  | 3551|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3545|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3583|      2|    SETBUILTIN("tuple",                 &PyTuple_Type);
  ------------------
  |  | 3549|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3549:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3550|      2|        return NULL;                                                    \
  |  | 3551|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3545|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3584|      2|    SETBUILTIN("type",                  &PyType_Type);
  ------------------
  |  | 3549|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3549:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3550|      2|        return NULL;                                                    \
  |  | 3551|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3545|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3585|      2|    SETBUILTIN("zip",                   &PyZip_Type);
  ------------------
  |  | 3549|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3549:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3550|      2|        return NULL;                                                    \
  |  | 3551|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3545|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3586|      2|    debug = PyBool_FromLong(config->optimization_level == 0);
 3587|      2|    if (PyDict_SetItemString(dict, "__debug__", debug) < 0) {
  ------------------
  |  Branch (3587:9): [True: 0, False: 2]
  ------------------
 3588|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3589|      0|        return NULL;
 3590|      0|    }
 3591|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3592|       |
 3593|      2|    return mod;
 3594|      2|#undef ADD_TO_ALL
 3595|      2|#undef SETBUILTIN
 3596|      2|}
bltinmodule.c:map_dealloc:
 1553|  96.4k|{
 1554|  96.4k|    mapobject *lz = _mapobject_CAST(self);
  ------------------
  |  | 1447|  96.4k|#define _mapobject_CAST(op)     ((mapobject *)(op))
  ------------------
 1555|  96.4k|    PyObject_GC_UnTrack(lz);
 1556|  96.4k|    Py_XDECREF(lz->iters);
  ------------------
  |  |  524|  96.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  96.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  96.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1557|  96.4k|    Py_XDECREF(lz->func);
  ------------------
  |  |  524|  96.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  96.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  96.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1558|  96.4k|    Py_TYPE(lz)->tp_free(lz);
  ------------------
  |  |  213|  96.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  96.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  96.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1559|  96.4k|}
bltinmodule.c:map_next:
 1572|  10.2M|{
 1573|  10.2M|    mapobject *lz = _mapobject_CAST(self);
  ------------------
  |  | 1447|  10.2M|#define _mapobject_CAST(op)     ((mapobject *)(op))
  ------------------
 1574|  10.2M|    Py_ssize_t i;
 1575|  10.2M|    PyObject *small_stack[_PY_FASTCALL_SMALL_STACK];
 1576|  10.2M|    PyObject **stack;
 1577|  10.2M|    PyObject *result = NULL;
 1578|  10.2M|    PyThreadState *tstate = _PyThreadState_GET();
 1579|       |
 1580|  10.2M|    const Py_ssize_t niters = PyTuple_GET_SIZE(lz->iters);
  ------------------
  |  |   27|  10.2M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1581|  10.2M|    if (niters <= (Py_ssize_t)Py_ARRAY_LENGTH(small_stack)) {
  ------------------
  |  |  196|  10.2M|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (1581:9): [True: 10.2M, False: 0]
  ------------------
 1582|  10.2M|        stack = small_stack;
 1583|  10.2M|    }
 1584|      0|    else {
 1585|      0|        stack = PyMem_Malloc(niters * sizeof(stack[0]));
 1586|      0|        if (stack == NULL) {
  ------------------
  |  Branch (1586:13): [True: 0, False: 0]
  ------------------
 1587|      0|            _PyErr_NoMemory(tstate);
 1588|      0|            return NULL;
 1589|      0|        }
 1590|      0|    }
 1591|       |
 1592|  10.2M|    Py_ssize_t nargs = 0;
 1593|  20.4M|    for (i = 0; i < niters; i++) {
  ------------------
  |  Branch (1593:17): [True: 10.2M, False: 10.2M]
  ------------------
 1594|  10.2M|        PyObject *it = PyTuple_GET_ITEM(lz->iters, i);
  ------------------
  |  |   29|  10.2M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  10.2M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1594:24): [True: 10.2M, False: 0]
  ------------------
 1595|  10.2M|        PyObject *val = Py_TYPE(it)->tp_iternext(it);
  ------------------
  |  |  213|  10.2M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  10.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1596|  10.2M|        if (val == NULL) {
  ------------------
  |  Branch (1596:13): [True: 56.9k, False: 10.2M]
  ------------------
 1597|  56.9k|            if (lz->strict) {
  ------------------
  |  Branch (1597:17): [True: 0, False: 56.9k]
  ------------------
 1598|      0|                goto check;
 1599|      0|            }
 1600|  56.9k|            goto exit_no_result;
 1601|  56.9k|        }
 1602|  10.2M|        stack[i] = val;
 1603|  10.2M|        nargs++;
 1604|  10.2M|    }
 1605|       |
 1606|  10.2M|    result = _PyObject_VectorcallTstate(tstate, lz->func, stack, nargs, NULL);
 1607|  10.2M|    goto exit;
 1608|       |
 1609|      0|check:
 1610|      0|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1610:9): [True: 0, False: 0]
  ------------------
 1611|      0|        if (!PyErr_ExceptionMatches(PyExc_StopIteration)) {
  ------------------
  |  Branch (1611:13): [True: 0, False: 0]
  ------------------
 1612|       |            // next() on argument i raised an exception (not StopIteration)
 1613|      0|            goto exit_no_result;
 1614|      0|        }
 1615|      0|        PyErr_Clear();
 1616|      0|    }
 1617|      0|    if (i) {
  ------------------
  |  Branch (1617:9): [True: 0, False: 0]
  ------------------
 1618|       |        // ValueError: map() argument 2 is shorter than argument 1
 1619|       |        // ValueError: map() argument 3 is shorter than arguments 1-2
 1620|      0|        const char* plural = i == 1 ? " " : "s 1-";
  ------------------
  |  Branch (1620:30): [True: 0, False: 0]
  ------------------
 1621|      0|        PyErr_Format(PyExc_ValueError,
 1622|      0|                     "map() argument %zd is shorter than argument%s%zd",
 1623|      0|                     i + 1, plural, i);
 1624|      0|        goto exit_no_result;
 1625|      0|    }
 1626|      0|    for (i = 1; i < niters; i++) {
  ------------------
  |  Branch (1626:17): [True: 0, False: 0]
  ------------------
 1627|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1627:24): [True: 0, False: 0]
  ------------------
 1628|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1629|      0|        if (val) {
  ------------------
  |  Branch (1629:13): [True: 0, False: 0]
  ------------------
 1630|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1631|      0|            const char* plural = i == 1 ? " " : "s 1-";
  ------------------
  |  Branch (1631:34): [True: 0, False: 0]
  ------------------
 1632|      0|            PyErr_Format(PyExc_ValueError,
 1633|      0|                         "map() argument %zd is longer than argument%s%zd",
 1634|      0|                         i + 1, plural, i);
 1635|      0|            goto exit_no_result;
 1636|      0|        }
 1637|      0|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1637:13): [True: 0, False: 0]
  ------------------
 1638|      0|            if (!PyErr_ExceptionMatches(PyExc_StopIteration)) {
  ------------------
  |  Branch (1638:17): [True: 0, False: 0]
  ------------------
 1639|       |                // next() on argument i raised an exception (not StopIteration)
 1640|      0|                goto exit_no_result;
 1641|      0|            }
 1642|      0|            PyErr_Clear();
 1643|      0|        }
 1644|       |        // Argument i is exhausted. So far so good...
 1645|      0|    }
 1646|       |    // All arguments are exhausted. Success!
 1647|       |
 1648|  56.9k|exit_no_result:
 1649|  56.9k|    assert(result == NULL);
  ------------------
  |  Branch (1649:5): [True: 56.9k, False: 0]
  ------------------
 1650|       |
 1651|  10.2M|exit:
 1652|  20.4M|    for (i = 0; i < nargs; i++) {
  ------------------
  |  Branch (1652:17): [True: 10.2M, False: 10.2M]
  ------------------
 1653|  10.2M|        Py_DECREF(stack[i]);
  ------------------
  |  |  430|  10.2M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1654|  10.2M|    }
 1655|  10.2M|    if (stack != small_stack) {
  ------------------
  |  Branch (1655:9): [True: 0, False: 10.2M]
  ------------------
 1656|      0|        PyMem_Free(stack);
 1657|      0|    }
 1658|  10.2M|    return result;
 1659|  56.9k|}
bltinmodule.c:map_vectorcall:
 1509|  96.4k|{
 1510|  96.4k|    PyTypeObject *tp = _PyType_CAST(type);
  ------------------
  |  |  770|  96.4k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  96.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1510:24): [True: 96.4k, False: 0]
  ------------------
 1511|       |
 1512|  96.4k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  96.4k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 1513|  96.4k|    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 (1513:9): [True: 0, False: 96.4k]
  |  Branch (1513:28): [True: 0, False: 0]
  ------------------
 1514|       |        // Fallback to map_new()
 1515|      0|        PyThreadState *tstate = _PyThreadState_GET();
 1516|      0|        return _PyObject_MakeTpCall(tstate, type, args, nargs, kwnames);
 1517|      0|    }
 1518|       |
 1519|  96.4k|    if (nargs < 2) {
  ------------------
  |  Branch (1519:9): [True: 0, False: 96.4k]
  ------------------
 1520|      0|        PyErr_SetString(PyExc_TypeError,
 1521|      0|           "map() must have at least two arguments.");
 1522|      0|        return NULL;
 1523|      0|    }
 1524|       |
 1525|  96.4k|    PyObject *iters = PyTuple_New(nargs-1);
 1526|  96.4k|    if (iters == NULL) {
  ------------------
  |  Branch (1526:9): [True: 0, False: 96.4k]
  ------------------
 1527|      0|        return NULL;
 1528|      0|    }
 1529|       |
 1530|   192k|    for (int i=1; i<nargs; i++) {
  ------------------
  |  Branch (1530:19): [True: 96.4k, False: 96.4k]
  ------------------
 1531|  96.4k|        PyObject *it = PyObject_GetIter(args[i]);
 1532|  96.4k|        if (it == NULL) {
  ------------------
  |  Branch (1532:13): [True: 0, False: 96.4k]
  ------------------
 1533|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1534|      0|            return NULL;
 1535|      0|        }
 1536|  96.4k|        PyTuple_SET_ITEM(iters, i-1, it);
  ------------------
  |  |   40|  96.4k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  96.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  96.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  96.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  96.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1537|  96.4k|    }
 1538|       |
 1539|  96.4k|    mapobject *lz = (mapobject *)tp->tp_alloc(tp, 0);
 1540|  96.4k|    if (lz == NULL) {
  ------------------
  |  Branch (1540:9): [True: 0, False: 96.4k]
  ------------------
 1541|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1542|      0|        return NULL;
 1543|      0|    }
 1544|  96.4k|    lz->iters = iters;
 1545|  96.4k|    lz->func = Py_NewRef(args[0]);
  ------------------
  |  |  550|  96.4k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  96.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  96.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1546|  96.4k|    lz->strict = 0;
 1547|       |
 1548|  96.4k|    return (PyObject *)lz;
 1549|  96.4k|}
bltinmodule.c:zip_dealloc:
 3249|      3|{
 3250|      3|    zipobject *lz = _zipobject_CAST(self);
  ------------------
  |  | 3178|      3|#define _zipobject_CAST(op)     ((zipobject *)(op))
  ------------------
 3251|      3|    PyObject_GC_UnTrack(lz);
 3252|      3|    Py_XDECREF(lz->ittuple);
  ------------------
  |  |  524|      3|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3253|      3|    Py_XDECREF(lz->result);
  ------------------
  |  |  524|      3|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3254|      3|    Py_TYPE(lz)->tp_free(lz);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3255|      3|}
bltinmodule.c:zip_next:
 3268|     69|{
 3269|     69|    zipobject *lz = _zipobject_CAST(self);
  ------------------
  |  | 3178|     69|#define _zipobject_CAST(op)     ((zipobject *)(op))
  ------------------
 3270|       |
 3271|     69|    Py_ssize_t i;
 3272|     69|    Py_ssize_t tuplesize = lz->tuplesize;
 3273|     69|    PyObject *result = lz->result;
 3274|     69|    PyObject *it;
 3275|     69|    PyObject *item;
 3276|     69|    PyObject *olditem;
 3277|       |
 3278|     69|    if (tuplesize == 0)
  ------------------
  |  Branch (3278:9): [True: 0, False: 69]
  ------------------
 3279|      0|        return NULL;
 3280|       |
 3281|     69|    if (_PyObject_IsUniquelyReferenced(result)) {
  ------------------
  |  Branch (3281:9): [True: 69, False: 0]
  ------------------
 3282|     69|        Py_INCREF(result);
  ------------------
  |  |  310|     69|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     69|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     69|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3283|    205|        for (i=0 ; i < tuplesize ; i++) {
  ------------------
  |  Branch (3283:20): [True: 137, False: 68]
  ------------------
 3284|    137|            it = PyTuple_GET_ITEM(lz->ittuple, i);
  ------------------
  |  |   29|    137|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    137|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    137|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3284:18): [True: 137, False: 0]
  ------------------
 3285|    137|            item = (*Py_TYPE(it)->tp_iternext)(it);
  ------------------
  |  |  213|    137|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    137|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    137|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3286|    137|            if (item == NULL) {
  ------------------
  |  Branch (3286:17): [True: 1, False: 136]
  ------------------
 3287|      1|                Py_DECREF(result);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3288|      1|                if (lz->strict) {
  ------------------
  |  Branch (3288:21): [True: 0, False: 1]
  ------------------
 3289|      0|                    goto check;
 3290|      0|                }
 3291|      1|                return NULL;
 3292|      1|            }
 3293|    136|            olditem = PyTuple_GET_ITEM(result, i);
  ------------------
  |  |   29|    136|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    136|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    136|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3293:23): [True: 136, False: 0]
  ------------------
 3294|    136|            PyTuple_SET_ITEM(result, i, item);
  ------------------
  |  |   40|    136|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    136|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    136|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    136|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    136|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3295|    136|            Py_DECREF(olditem);
  ------------------
  |  |  430|    136|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    136|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    136|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3296|    136|        }
 3297|       |        // bpo-42536: The GC may have untracked this result tuple. Since we're
 3298|       |        // recycling it, make sure it's tracked again:
 3299|     68|        _PyTuple_Recycle(result);
 3300|     68|    } else {
 3301|      0|        result = PyTuple_New(tuplesize);
 3302|      0|        if (result == NULL)
  ------------------
  |  Branch (3302:13): [True: 0, False: 0]
  ------------------
 3303|      0|            return NULL;
 3304|      0|        for (i=0 ; i < tuplesize ; i++) {
  ------------------
  |  Branch (3304:20): [True: 0, False: 0]
  ------------------
 3305|      0|            it = PyTuple_GET_ITEM(lz->ittuple, 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3305:18): [True: 0, False: 0]
  ------------------
 3306|      0|            item = (*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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3307|      0|            if (item == NULL) {
  ------------------
  |  Branch (3307:17): [True: 0, False: 0]
  ------------------
 3308|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3309|      0|                if (lz->strict) {
  ------------------
  |  Branch (3309:21): [True: 0, False: 0]
  ------------------
 3310|      0|                    goto check;
 3311|      0|                }
 3312|      0|                return NULL;
 3313|      0|            }
 3314|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3315|      0|        }
 3316|      0|    }
 3317|     68|    return result;
 3318|      0|check:
 3319|      0|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (3319:9): [True: 0, False: 0]
  ------------------
 3320|      0|        if (!PyErr_ExceptionMatches(PyExc_StopIteration)) {
  ------------------
  |  Branch (3320:13): [True: 0, False: 0]
  ------------------
 3321|       |            // next() on argument i raised an exception (not StopIteration)
 3322|      0|            return NULL;
 3323|      0|        }
 3324|      0|        PyErr_Clear();
 3325|      0|    }
 3326|      0|    if (i) {
  ------------------
  |  Branch (3326:9): [True: 0, False: 0]
  ------------------
 3327|       |        // ValueError: zip() argument 2 is shorter than argument 1
 3328|       |        // ValueError: zip() argument 3 is shorter than arguments 1-2
 3329|      0|        const char* plural = i == 1 ? " " : "s 1-";
  ------------------
  |  Branch (3329:30): [True: 0, False: 0]
  ------------------
 3330|      0|        return PyErr_Format(PyExc_ValueError,
 3331|      0|                            "zip() argument %zd is shorter than argument%s%zd",
 3332|      0|                            i + 1, plural, i);
 3333|      0|    }
 3334|      0|    for (i = 1; i < tuplesize; i++) {
  ------------------
  |  Branch (3334:17): [True: 0, False: 0]
  ------------------
 3335|      0|        it = PyTuple_GET_ITEM(lz->ittuple, 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3335:14): [True: 0, False: 0]
  ------------------
 3336|      0|        item = (*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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3337|      0|        if (item) {
  ------------------
  |  Branch (3337:13): [True: 0, False: 0]
  ------------------
 3338|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3339|      0|            const char* plural = i == 1 ? " " : "s 1-";
  ------------------
  |  Branch (3339:34): [True: 0, False: 0]
  ------------------
 3340|      0|            return PyErr_Format(PyExc_ValueError,
 3341|      0|                                "zip() argument %zd is longer than argument%s%zd",
 3342|      0|                                i + 1, plural, i);
 3343|      0|        }
 3344|      0|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (3344:13): [True: 0, False: 0]
  ------------------
 3345|      0|            if (!PyErr_ExceptionMatches(PyExc_StopIteration)) {
  ------------------
  |  Branch (3345:17): [True: 0, False: 0]
  ------------------
 3346|       |                // next() on argument i raised an exception (not StopIteration)
 3347|      0|                return NULL;
 3348|      0|            }
 3349|      0|            PyErr_Clear();
 3350|      0|        }
 3351|       |        // Argument i is exhausted. So far so good...
 3352|      0|    }
 3353|       |    // All arguments are exhausted. Success!
 3354|      0|    return NULL;
 3355|      0|}
bltinmodule.c:zip_new:
 3182|      3|{
 3183|      3|    zipobject *lz;
 3184|      3|    Py_ssize_t i;
 3185|      3|    PyObject *ittuple;  /* tuple of iterators */
 3186|      3|    PyObject *result;
 3187|      3|    Py_ssize_t tuplesize;
 3188|      3|    int strict = 0;
 3189|       |
 3190|      3|    if (kwds) {
  ------------------
  |  Branch (3190:9): [True: 0, False: 3]
  ------------------
 3191|      0|        PyObject *empty = PyTuple_New(0);
 3192|      0|        if (empty == NULL) {
  ------------------
  |  Branch (3192:13): [True: 0, False: 0]
  ------------------
 3193|      0|            return NULL;
 3194|      0|        }
 3195|      0|        static char *kwlist[] = {"strict", NULL};
 3196|      0|        int parsed = PyArg_ParseTupleAndKeywords(
 3197|      0|                empty, kwds, "|$p:zip", kwlist, &strict);
 3198|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3199|      0|        if (!parsed) {
  ------------------
  |  Branch (3199:13): [True: 0, False: 0]
  ------------------
 3200|      0|            return NULL;
 3201|      0|        }
 3202|      0|    }
 3203|       |
 3204|       |    /* args must be a tuple */
 3205|      3|    assert(PyTuple_Check(args));
  ------------------
  |  Branch (3205:5): [True: 3, False: 0]
  ------------------
 3206|      3|    tuplesize = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|      3|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3207|       |
 3208|       |    /* obtain iterators */
 3209|      3|    ittuple = PyTuple_New(tuplesize);
 3210|      3|    if (ittuple == NULL)
  ------------------
  |  Branch (3210:9): [True: 0, False: 3]
  ------------------
 3211|      0|        return NULL;
 3212|      5|    for (i=0; i < tuplesize; ++i) {
  ------------------
  |  Branch (3212:15): [True: 2, False: 3]
  ------------------
 3213|      2|        PyObject *item = PyTuple_GET_ITEM(args, 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 (3213:26): [True: 2, False: 0]
  ------------------
 3214|      0|        PyObject *it = PyObject_GetIter(item);
 3215|      2|        if (it == NULL) {
  ------------------
  |  Branch (3215:13): [True: 0, False: 2]
  ------------------
 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|            return NULL;
 3218|      0|        }
 3219|      2|        PyTuple_SET_ITEM(ittuple, i, it);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3220|      2|    }
 3221|       |
 3222|       |    /* create a result holder */
 3223|      3|    result = PyTuple_New(tuplesize);
 3224|      3|    if (result == NULL) {
  ------------------
  |  Branch (3224:9): [True: 0, False: 3]
  ------------------
 3225|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3226|      0|        return NULL;
 3227|      0|    }
 3228|      5|    for (i=0 ; i < tuplesize ; i++) {
  ------------------
  |  Branch (3228:16): [True: 2, False: 3]
  ------------------
 3229|      2|        PyTuple_SET_ITEM(result, i, Py_NewRef(Py_None));
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3230|      2|    }
 3231|       |
 3232|       |    /* create zipobject structure */
 3233|      3|    lz = (zipobject *)type->tp_alloc(type, 0);
 3234|      3|    if (lz == NULL) {
  ------------------
  |  Branch (3234:9): [True: 0, False: 3]
  ------------------
 3235|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3236|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3237|      0|        return NULL;
 3238|      0|    }
 3239|      3|    lz->ittuple = ittuple;
 3240|      3|    lz->tuplesize = tuplesize;
 3241|      3|    lz->result = result;
 3242|      3|    lz->strict = strict;
 3243|       |
 3244|      3|    return (PyObject *)lz;
 3245|      3|}
bltinmodule.c:builtin___build_class__:
  104|    256|{
  105|    256|    PyObject *func, *name, *winner, *prep;
  106|    256|    PyObject *cls = NULL, *cell = NULL, *ns = NULL, *meta = NULL, *orig_bases = NULL;
  107|    256|    PyObject *mkw = NULL, *bases = NULL;
  108|    256|    int isclass = 0;   /* initialize to prevent gcc warning */
  109|       |
  110|    256|    if (nargs < 2) {
  ------------------
  |  Branch (110:9): [True: 0, False: 256]
  ------------------
  111|      0|        PyErr_SetString(PyExc_TypeError,
  112|      0|                        "__build_class__: not enough arguments");
  113|      0|        return NULL;
  114|      0|    }
  115|    256|    func = args[0];   /* Better be callable */
  116|    256|    if (!PyFunction_Check(func)) {
  ------------------
  |  |   68|    256|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  ------------------
  |  |  |  |  215|    256|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    256|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    256|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (116:9): [True: 0, False: 256]
  ------------------
  117|      0|        PyErr_SetString(PyExc_TypeError,
  118|      0|                        "__build_class__: func must be a function");
  119|      0|        return NULL;
  120|      0|    }
  121|    256|    name = args[1];
  122|    256|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|    256|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    256|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (122:9): [True: 0, False: 256]
  ------------------
  123|      0|        PyErr_SetString(PyExc_TypeError,
  124|      0|                        "__build_class__: name is not a string");
  125|      0|        return NULL;
  126|      0|    }
  127|    256|    orig_bases = PyTuple_FromArray(args + 2, nargs - 2);
  128|    256|    if (orig_bases == NULL)
  ------------------
  |  Branch (128:9): [True: 0, False: 256]
  ------------------
  129|      0|        return NULL;
  130|       |
  131|    256|    bases = update_bases(orig_bases, args + 2, nargs - 2);
  132|    256|    if (bases == NULL) {
  ------------------
  |  Branch (132:9): [True: 0, False: 256]
  ------------------
  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|    256|    if (kwnames == NULL) {
  ------------------
  |  Branch (137:9): [True: 229, False: 27]
  ------------------
  138|    229|        meta = NULL;
  139|    229|        mkw = NULL;
  140|    229|    }
  141|     27|    else {
  142|     27|        mkw = _PyStack_AsDict(args + nargs, kwnames);
  143|     27|        if (mkw == NULL) {
  ------------------
  |  Branch (143:13): [True: 0, False: 27]
  ------------------
  144|      0|            goto error;
  145|      0|        }
  146|       |
  147|     27|        if (PyDict_Pop(mkw, &_Py_ID(metaclass), &meta) < 0) {
  ------------------
  |  |  920|     27|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     27|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     27|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (147:13): [True: 0, False: 27]
  ------------------
  148|      0|            goto error;
  149|      0|        }
  150|     27|        if (meta != NULL) {
  ------------------
  |  Branch (150:13): [True: 25, False: 2]
  ------------------
  151|       |            /* metaclass is explicitly given, check if it's indeed a class */
  152|     25|            isclass = PyType_Check(meta);
  ------------------
  |  |  766|     25|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     25|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  153|     25|        }
  154|     27|    }
  155|    256|    if (meta == NULL) {
  ------------------
  |  Branch (155:9): [True: 231, False: 25]
  ------------------
  156|       |        /* if there are no bases, use type: */
  157|    231|        if (PyTuple_GET_SIZE(bases) == 0) {
  ------------------
  |  |   27|    231|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    231|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    231|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (157:13): [True: 75, False: 156]
  ------------------
  158|     75|            meta = (PyObject *) (&PyType_Type);
  159|     75|        }
  160|       |        /* else get the type of the first base */
  161|    156|        else {
  162|    156|            PyObject *base0 = PyTuple_GET_ITEM(bases, 0);
  ------------------
  |  |   29|    156|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    156|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    156|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (162:31): [True: 156, False: 0]
  ------------------
  163|    156|            meta = (PyObject *)Py_TYPE(base0);
  ------------------
  |  |  213|    156|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    156|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    156|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  164|    156|        }
  165|    231|        Py_INCREF(meta);
  ------------------
  |  |  310|    231|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    231|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    231|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  166|    231|        isclass = 1;  /* meta is really a class */
  167|    231|    }
  168|       |
  169|    256|    if (isclass) {
  ------------------
  |  Branch (169:9): [True: 256, False: 0]
  ------------------
  170|       |        /* meta is really a class, so check for a more derived
  171|       |           metaclass, or possible metaclass conflicts: */
  172|    256|        winner = (PyObject *)_PyType_CalculateMetaclass((PyTypeObject *)meta,
  173|    256|                                                        bases);
  174|    256|        if (winner == NULL) {
  ------------------
  |  Branch (174:13): [True: 0, False: 256]
  ------------------
  175|      0|            goto error;
  176|      0|        }
  177|    256|        if (winner != meta) {
  ------------------
  |  Branch (177:13): [True: 6, False: 250]
  ------------------
  178|      6|            Py_SETREF(meta, Py_NewRef(winner));
  ------------------
  |  |  352|      6|    do { \
  |  |  353|      6|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      6|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      6|        *_tmp_dst_ptr = (src); \
  |  |  356|      6|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
  179|      6|        }
  180|    256|    }
  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|    256|    if (PyObject_GetOptionalAttr(meta, &_Py_ID(__prepare__), &prep) < 0) {
  ------------------
  |  |  920|    256|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    256|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    256|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (183:9): [True: 0, False: 256]
  ------------------
  184|      0|        ns = NULL;
  185|      0|    }
  186|    256|    else if (prep == NULL) {
  ------------------
  |  Branch (186:14): [True: 0, False: 256]
  ------------------
  187|      0|        ns = PyDict_New();
  188|      0|    }
  189|    256|    else {
  190|    256|        PyObject *pargs[2] = {name, bases};
  191|    256|        ns = PyObject_VectorcallDict(prep, pargs, 2, mkw);
  192|    256|        Py_DECREF(prep);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  193|    256|    }
  194|    256|    if (ns == NULL) {
  ------------------
  |  Branch (194:9): [True: 0, False: 256]
  ------------------
  195|      0|        goto error;
  196|      0|    }
  197|    256|    if (!PyMapping_Check(ns)) {
  ------------------
  |  Branch (197:9): [True: 0, False: 256]
  ------------------
  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|    256|    PyThreadState *tstate = _PyThreadState_GET();
  205|    256|    EVAL_CALL_STAT_INC(EVAL_CALL_BUILD_CLASS);
  ------------------
  |  |   79|    256|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
  206|    256|    cell = _PyEval_Vector(tstate, (PyFunctionObject *)func, ns, NULL, 0, NULL);
  207|    256|    if (cell != NULL) {
  ------------------
  |  Branch (207:9): [True: 256, False: 0]
  ------------------
  208|    256|        if (bases != orig_bases) {
  ------------------
  |  Branch (208:13): [True: 0, False: 256]
  ------------------
  209|      0|            if (PyMapping_SetItemString(ns, "__orig_bases__", orig_bases) < 0) {
  ------------------
  |  Branch (209:17): [True: 0, False: 0]
  ------------------
  210|      0|                goto error;
  211|      0|            }
  212|      0|        }
  213|    256|        PyObject *margs[3] = {name, bases, ns};
  214|    256|        cls = PyObject_VectorcallDict(meta, margs, 3, mkw);
  215|    256|        if (cls != NULL && PyType_Check(cls) && PyCell_Check(cell)) {
  ------------------
  |  |  766|    512|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    256|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    256|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 256, False: 0]
  |  |  ------------------
  ------------------
                      if (cls != NULL && PyType_Check(cls) && PyCell_Check(cell)) {
  ------------------
  |  |   18|    256|#define PyCell_Check(op) Py_IS_TYPE((op), &PyCell_Type)
  |  |  ------------------
  |  |  |  |  215|    256|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    256|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    256|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 20, False: 236]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (215:13): [True: 256, False: 0]
  ------------------
  216|     20|            PyObject *cell_cls = PyCell_GetRef((PyCellObject *)cell);
  217|     20|            if (cell_cls != cls) {
  ------------------
  |  Branch (217:17): [True: 0, False: 20]
  ------------------
  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|     20|            else {
  233|     20|                Py_DECREF(cell_cls);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  234|     20|            }
  235|     20|        }
  236|    256|    }
  237|    256|error:
  238|    256|    Py_XDECREF(cell);
  ------------------
  |  |  524|    256|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    256|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    256|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  239|    256|    Py_XDECREF(ns);
  ------------------
  |  |  524|    256|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    256|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    256|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  240|    256|    Py_XDECREF(meta);
  ------------------
  |  |  524|    256|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    256|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    256|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  241|    256|    Py_XDECREF(mkw);
  ------------------
  |  |  524|    256|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    256|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    256|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  242|    256|    if (bases != orig_bases) {
  ------------------
  |  Branch (242:9): [True: 0, False: 256]
  ------------------
  243|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  244|      0|    }
  245|    256|    Py_DECREF(bases);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  246|    256|    return cls;
  247|    256|}
bltinmodule.c:update_bases:
   30|    256|{
   31|    256|    Py_ssize_t i, j;
   32|    256|    PyObject *base, *meth, *new_base, *result, *new_bases = NULL;
   33|    256|    assert(PyTuple_Check(bases));
  ------------------
  |  Branch (33:5): [True: 256, False: 0]
  ------------------
   34|       |
   35|    448|    for (i = 0; i < nargs; i++) {
  ------------------
  |  Branch (35:17): [True: 192, False: 256]
  ------------------
   36|    192|        base  = args[i];
   37|    192|        if (PyType_Check(base)) {
  ------------------
  |  |  766|    192|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    192|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    192|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 192, False: 0]
  |  |  ------------------
  ------------------
   38|    192|            if (new_bases) {
  ------------------
  |  Branch (38:17): [True: 0, False: 192]
  ------------------
   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|    192|            continue;
   46|    192|        }
   47|      0|        if (PyObject_GetOptionalAttr(base, &_Py_ID(__mro_entries__), &meth) < 0) {
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (47:13): [True: 0, False: 0]
  ------------------
   48|      0|            goto error;
   49|      0|        }
   50|      0|        if (!meth) {
  ------------------
  |  Branch (50:13): [True: 0, False: 0]
  ------------------
   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|      0|        new_base = PyObject_CallOneArg(meth, bases);
   59|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   60|      0|        if (!new_base) {
  ------------------
  |  Branch (60:13): [True: 0, False: 0]
  ------------------
   61|      0|            goto error;
   62|      0|        }
   63|      0|        if (!PyTuple_Check(new_base)) {
  ------------------
  |  |   27|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (63:13): [True: 0, False: 0]
  ------------------
   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|      0|        if (!new_bases) {
  ------------------
  |  Branch (69:13): [True: 0, False: 0]
  ------------------
   70|       |            /* If this is a first successful replacement, create new_bases list and
   71|       |               copy previously encountered bases. */
   72|      0|            if (!(new_bases = PyList_New(i))) {
  ------------------
  |  Branch (72:17): [True: 0, False: 0]
  ------------------
   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|      0|            for (j = 0; j < i; j++) {
  ------------------
  |  Branch (76:25): [True: 0, False: 0]
  ------------------
   77|      0|                base = args[j];
   78|      0|                PyList_SET_ITEM(new_bases, j, Py_NewRef(base));
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   79|      0|            }
   80|      0|        }
   81|      0|        j = PyList_GET_SIZE(new_bases);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|      0|        if (PyList_SetSlice(new_bases, j, j, new_base) < 0) {
  ------------------
  |  Branch (82:13): [True: 0, False: 0]
  ------------------
   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|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   87|      0|    }
   88|    256|    if (!new_bases) {
  ------------------
  |  Branch (88:9): [True: 256, False: 0]
  ------------------
   89|    256|        return bases;
   90|    256|    }
   91|      0|    result = PyList_AsTuple(new_bases);
   92|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   93|      0|    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|    256|}
bltinmodule.c:builtin___import___impl:
  285|   356k|{
  286|   356k|    return PyImport_ImportModuleLevelObject(name, globals, locals,
  287|   356k|                                            fromlist, level);
  288|   356k|}
bltinmodule.c:builtin_abs:
  370|      3|{
  371|      3|    return PyNumber_Absolute(number);
  372|      3|}
bltinmodule.c:builtin_any:
  437|  47.9k|{
  438|  47.9k|    PyObject *it, *item;
  439|  47.9k|    PyObject *(*iternext)(PyObject *);
  440|  47.9k|    int cmp;
  441|       |
  442|  47.9k|    it = PyObject_GetIter(iterable);
  443|  47.9k|    if (it == NULL)
  ------------------
  |  Branch (443:9): [True: 0, False: 47.9k]
  ------------------
  444|      0|        return NULL;
  445|  47.9k|    iternext = *Py_TYPE(it)->tp_iternext;
  ------------------
  |  |  213|  47.9k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  47.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  47.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  446|       |
  447|  1.97M|    for (;;) {
  448|  1.97M|        item = iternext(it);
  449|  1.97M|        if (item == NULL)
  ------------------
  |  Branch (449:13): [True: 8.55k, False: 1.96M]
  ------------------
  450|  8.55k|            break;
  451|  1.96M|        cmp = PyObject_IsTrue(item);
  452|  1.96M|        Py_DECREF(item);
  ------------------
  |  |  430|  1.96M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.96M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.96M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  453|  1.96M|        if (cmp < 0) {
  ------------------
  |  Branch (453:13): [True: 0, False: 1.96M]
  ------------------
  454|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  455|      0|            return NULL;
  456|      0|        }
  457|  1.96M|        if (cmp > 0) {
  ------------------
  |  Branch (457:13): [True: 39.4k, False: 1.92M]
  ------------------
  458|  39.4k|            Py_DECREF(it);
  ------------------
  |  |  430|  39.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  39.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  39.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  459|  39.4k|            Py_RETURN_TRUE;
  ------------------
  |  |   44|  39.4k|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|  39.4k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  39.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  39.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  460|  39.4k|        }
  461|  1.96M|    }
  462|  8.55k|    Py_DECREF(it);
  ------------------
  |  |  430|  8.55k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  463|  8.55k|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (463:9): [True: 0, False: 8.55k]
  ------------------
  464|      0|        if (PyErr_ExceptionMatches(PyExc_StopIteration))
  ------------------
  |  Branch (464:13): [True: 0, False: 0]
  ------------------
  465|      0|            PyErr_Clear();
  466|      0|        else
  467|      0|            return NULL;
  468|      0|    }
  469|  8.55k|    Py_RETURN_FALSE;
  ------------------
  |  |   45|  8.55k|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|  8.55k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  470|  8.55k|}
bltinmodule.c:builtin_callable:
  529|      7|{
  530|      7|    return PyBool_FromLong((long)PyCallable_Check(obj));
  531|      7|}
bltinmodule.c:builtin_chr:
  792|     24|{
  793|     24|    int overflow;
  794|     24|    long v = PyLong_AsLongAndOverflow(i, &overflow);
  795|     24|    if (v == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (795:9): [True: 0, False: 24]
  |  Branch (795:20): [True: 0, False: 0]
  ------------------
  796|      0|        return NULL;
  797|      0|    }
  798|     24|    if (overflow) {
  ------------------
  |  Branch (798:9): [True: 0, False: 24]
  ------------------
  799|      0|        v = overflow < 0 ? INT_MIN : INT_MAX;
  ------------------
  |  Branch (799:13): [True: 0, False: 0]
  ------------------
  800|       |        /* Allow PyUnicode_FromOrdinal() to raise an exception */
  801|      0|    }
  802|     24|#if SIZEOF_INT < SIZEOF_LONG
  803|     24|    else if (v < INT_MIN) {
  ------------------
  |  Branch (803:14): [True: 0, False: 24]
  ------------------
  804|      0|        v = INT_MIN;
  805|      0|    }
  806|     24|    else if (v > INT_MAX) {
  ------------------
  |  Branch (806:14): [True: 0, False: 24]
  ------------------
  807|       |        v = INT_MAX;
  808|      0|    }
  809|     24|#endif
  810|     24|    return PyUnicode_FromOrdinal(v);
  811|     24|}
bltinmodule.c:builtin_delattr_impl:
 1841|     36|{
 1842|     36|    if (PyObject_DelAttr(obj, name) < 0) {
  ------------------
  |  Branch (1842:9): [True: 0, False: 36]
  ------------------
 1843|      0|        return NULL;
 1844|      0|    }
 1845|     36|    Py_RETURN_NONE;
  ------------------
  |  |  628|     36|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     36|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1846|     36|}
bltinmodule.c:builtin_dir:
  983|      2|{
  984|      2|    PyObject *arg = NULL;
  985|       |
  986|      2|    if (!PyArg_UnpackTuple(args, "dir", 0, 1, &arg))
  ------------------
  |  Branch (986:9): [True: 0, False: 2]
  ------------------
  987|      0|        return NULL;
  988|      2|    return PyObject_Dir(arg);
  989|      2|}
bltinmodule.c:builtin_eval_impl:
 1044|      3|{
 1045|      3|    PyThreadState *tstate = _PyThreadState_GET();
 1046|      3|    PyObject *result = NULL, *source_copy;
 1047|      3|    const char *str;
 1048|       |
 1049|      3|    if (locals != Py_None && !PyMapping_Check(locals)) {
  ------------------
  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1049:9): [True: 0, False: 3]
  |  Branch (1049:30): [True: 0, False: 0]
  ------------------
 1050|      0|        PyErr_SetString(PyExc_TypeError, "locals must be a mapping");
 1051|      0|        return NULL;
 1052|      0|    }
 1053|      3|    if (globals != Py_None && !PyAnyDict_Check(globals)) {
  ------------------
  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  ------------------
                  if (globals != Py_None && !PyAnyDict_Check(globals)) {
  ------------------
  |  |   43|      3|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|      3|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      6|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 3, 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 (1053:9): [True: 3, False: 0]
  ------------------
 1054|      0|        PyErr_SetString(PyExc_TypeError, PyMapping_Check(globals) ?
  ------------------
  |  Branch (1054:42): [True: 0, False: 0]
  ------------------
 1055|      0|            "globals must be a real dict or a frozendict; "
 1056|      0|            "try eval(expr, {}, mapping)"
 1057|      0|            : "globals must be a dict or a frozendict");
 1058|      0|        return NULL;
 1059|      0|    }
 1060|       |
 1061|      3|    int fromframe = 0;
 1062|      3|    if (globals != Py_None) {
  ------------------
  |  |  616|      3|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1062:9): [True: 3, False: 0]
  ------------------
 1063|      3|        Py_INCREF(globals);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1064|      3|    }
 1065|      0|    else if (_PyEval_GetFrame() != NULL) {
  ------------------
  |  Branch (1065:14): [True: 0, False: 0]
  ------------------
 1066|      0|        fromframe = 1;
 1067|      0|        globals = PyEval_GetGlobals();
 1068|      0|        assert(globals != NULL);
  ------------------
  |  Branch (1068:9): [True: 0, False: 0]
  ------------------
 1069|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1070|      0|    }
 1071|      0|    else {
 1072|      0|        globals = _PyEval_GetGlobalsFromRunningMain(tstate);
 1073|      0|        if (globals == NULL) {
  ------------------
  |  Branch (1073:13): [True: 0, False: 0]
  ------------------
 1074|      0|            if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1074:17): [True: 0, False: 0]
  ------------------
 1075|      0|                PyErr_SetString(PyExc_TypeError,
 1076|      0|                    "eval must be given globals and locals "
 1077|      0|                    "when called without a frame");
 1078|      0|            }
 1079|      0|            return NULL;
 1080|      0|        }
 1081|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1082|      0|    }
 1083|       |
 1084|      3|    if (locals != Py_None) {
  ------------------
  |  |  616|      3|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1084:9): [True: 0, False: 3]
  ------------------
 1085|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1086|      0|    }
 1087|      3|    else if (fromframe) {
  ------------------
  |  Branch (1087:14): [True: 0, False: 3]
  ------------------
 1088|      0|        locals = _PyEval_GetFrameLocals();
 1089|      0|        if (locals == NULL) {
  ------------------
  |  Branch (1089:13): [True: 0, False: 0]
  ------------------
 1090|      0|            assert(PyErr_Occurred());
  ------------------
  |  Branch (1090:13): [True: 0, False: 0]
  ------------------
 1091|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1092|      0|            return NULL;
 1093|      0|        }
 1094|      0|    }
 1095|      3|    else {
 1096|      3|        locals = Py_NewRef(globals);
  ------------------
  |  |  550|      3|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1097|      3|    }
 1098|       |
 1099|      3|    if (_PyEval_EnsureBuiltins(tstate, globals, NULL) < 0) {
  ------------------
  |  Branch (1099:9): [True: 0, False: 3]
  ------------------
 1100|      0|        goto error;
 1101|      0|    }
 1102|       |
 1103|      3|    if (PyCode_Check(source)) {
  ------------------
  |  |  168|      3|#define PyCode_Check(op) Py_IS_TYPE((op), &PyCode_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 (215:32): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1104|      0|        if (PySys_Audit("exec", "O", source) < 0) {
  ------------------
  |  Branch (1104:13): [True: 0, False: 0]
  ------------------
 1105|      0|            goto error;
 1106|      0|        }
 1107|       |
 1108|      0|        if (PyCode_GetNumFree((PyCodeObject *)source) > 0) {
  ------------------
  |  Branch (1108:13): [True: 0, False: 0]
  ------------------
 1109|      0|            PyErr_SetString(PyExc_TypeError,
 1110|      0|                "code object passed to eval() may not contain free variables");
 1111|      0|            goto error;
 1112|      0|        }
 1113|      0|        result = PyEval_EvalCode(source, globals, locals);
 1114|      0|    }
 1115|      3|    else {
 1116|      3|        PyCompilerFlags cf = _PyCompilerFlags_INIT;
  ------------------
  |  |   33|      3|    (PyCompilerFlags){.cf_flags = 0, .cf_feature_version = PY_MINOR_VERSION}
  |  |  ------------------
  |  |  |  |   24|      3|#define PY_MINOR_VERSION        16
  |  |  ------------------
  ------------------
 1117|      3|        cf.cf_flags = PyCF_SOURCE_IS_UTF8;
  ------------------
  |  |   15|      3|#define PyCF_SOURCE_IS_UTF8  0x0100
  ------------------
 1118|      3|        str = _Py_SourceAsString(source, "eval", "string, bytes or code", &cf, &source_copy);
 1119|      3|        if (str == NULL)
  ------------------
  |  Branch (1119:13): [True: 0, False: 3]
  ------------------
 1120|      0|            goto error;
 1121|       |
 1122|      3|        while (*str == ' ' || *str == '\t')
  ------------------
  |  Branch (1122:16): [True: 0, False: 3]
  |  Branch (1122:31): [True: 0, False: 3]
  ------------------
 1123|      0|            str++;
 1124|       |
 1125|      3|        (void)PyEval_MergeCompilerFlags(&cf);
 1126|       |#ifdef Py_GIL_DISABLED
 1127|       |        // Don't immortalize code constants for explicit eval() calls
 1128|       |        // to avoid memory leaks.
 1129|       |        _PyThreadStateImpl *tstate = (_PyThreadStateImpl *)_PyThreadState_GET();
 1130|       |        tstate->suppress_co_const_immortalization++;
 1131|       |#endif
 1132|      3|        result = PyRun_StringFlags(str, Py_eval_input, globals, locals, &cf);
  ------------------
  |  |   10|      3|#define Py_eval_input 258
  ------------------
 1133|       |#ifdef Py_GIL_DISABLED
 1134|       |        tstate->suppress_co_const_immortalization--;
 1135|       |#endif
 1136|      3|        Py_XDECREF(source_copy);
  ------------------
  |  |  524|      3|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1137|      3|    }
 1138|       |
 1139|      3|  error:
 1140|      3|    Py_XDECREF(globals);
  ------------------
  |  |  524|      3|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1141|      3|    Py_XDECREF(locals);
  ------------------
  |  |  524|      3|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1142|      3|    return result;
 1143|      3|}
bltinmodule.c:builtin_exec_impl:
 1170|     56|{
 1171|     56|    PyThreadState *tstate = _PyThreadState_GET();
 1172|     56|    PyObject *v;
 1173|       |
 1174|     56|    int fromframe = 0;
 1175|     56|    if (globals != Py_None) {
  ------------------
  |  |  616|     56|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1175:9): [True: 56, False: 0]
  ------------------
 1176|     56|        Py_INCREF(globals);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1177|     56|    }
 1178|      0|    else if (_PyEval_GetFrame() != NULL) {
  ------------------
  |  Branch (1178:14): [True: 0, False: 0]
  ------------------
 1179|      0|        fromframe = 1;
 1180|      0|        globals = PyEval_GetGlobals();
 1181|      0|        assert(globals != NULL);
  ------------------
  |  Branch (1181:9): [True: 0, False: 0]
  ------------------
 1182|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1183|      0|    }
 1184|      0|    else {
 1185|      0|        globals = _PyEval_GetGlobalsFromRunningMain(tstate);
 1186|      0|        if (globals == NULL) {
  ------------------
  |  Branch (1186:13): [True: 0, False: 0]
  ------------------
 1187|      0|            if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1187:17): [True: 0, False: 0]
  ------------------
 1188|      0|                PyErr_SetString(PyExc_SystemError,
 1189|      0|                                "globals and locals cannot be NULL");
 1190|      0|            }
 1191|      0|            goto error;
 1192|      0|        }
 1193|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1194|      0|    }
 1195|       |
 1196|     56|    if (locals != Py_None) {
  ------------------
  |  |  616|     56|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1196:9): [True: 0, False: 56]
  ------------------
 1197|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1198|      0|    }
 1199|     56|    else if (fromframe) {
  ------------------
  |  Branch (1199:14): [True: 0, False: 56]
  ------------------
 1200|      0|        locals = _PyEval_GetFrameLocals();
 1201|      0|        if (locals == NULL) {
  ------------------
  |  Branch (1201:13): [True: 0, False: 0]
  ------------------
 1202|      0|            assert(PyErr_Occurred());
  ------------------
  |  Branch (1202:13): [True: 0, False: 0]
  ------------------
 1203|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1204|      0|            return NULL;
 1205|      0|        }
 1206|      0|    }
 1207|     56|    else {
 1208|     56|        locals = Py_NewRef(globals);
  ------------------
  |  |  550|     56|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1209|     56|    }
 1210|       |
 1211|     56|    if (!PyAnyDict_Check(globals)) {
  ------------------
  |  |   43|     56|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|     56|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    112|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 56, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1212|      0|        PyErr_Format(PyExc_TypeError,
 1213|      0|                     "exec() globals must be a dict or a frozendict, not %T",
 1214|      0|                     globals);
 1215|      0|        goto error;
 1216|      0|    }
 1217|     56|    if (!PyMapping_Check(locals)) {
  ------------------
  |  Branch (1217:9): [True: 0, False: 56]
  ------------------
 1218|      0|        PyErr_Format(PyExc_TypeError,
 1219|      0|            "locals must be a mapping or None, not %.100s",
 1220|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1221|      0|        goto error;
 1222|      0|    }
 1223|       |
 1224|     56|    if (_PyEval_EnsureBuiltins(tstate, globals, NULL) < 0) {
  ------------------
  |  Branch (1224:9): [True: 0, False: 56]
  ------------------
 1225|      0|        goto error;
 1226|      0|    }
 1227|       |
 1228|     56|    if (closure == Py_None) {
  ------------------
  |  |  616|     56|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1228:9): [True: 0, False: 56]
  ------------------
 1229|      0|        closure = NULL;
 1230|      0|    }
 1231|       |
 1232|     56|    if (PyCode_Check(source)) {
  ------------------
  |  |  168|     56|#define PyCode_Check(op) Py_IS_TYPE((op), &PyCode_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: 56, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1233|     56|        Py_ssize_t num_free = PyCode_GetNumFree((PyCodeObject *)source);
 1234|     56|        if (num_free == 0) {
  ------------------
  |  Branch (1234:13): [True: 56, False: 0]
  ------------------
 1235|     56|            if (closure) {
  ------------------
  |  Branch (1235:17): [True: 0, False: 56]
  ------------------
 1236|      0|                PyErr_SetString(PyExc_TypeError,
 1237|      0|                    "cannot use a closure with this code object");
 1238|      0|                goto error;
 1239|      0|            }
 1240|     56|        } else {
 1241|      0|            int closure_is_ok =
 1242|      0|                closure
  ------------------
  |  Branch (1242:17): [True: 0, False: 0]
  ------------------
 1243|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1244|      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 (1244:20): [True: 0, False: 0]
  ------------------
 1245|      0|            if (closure_is_ok) {
  ------------------
  |  Branch (1245:17): [True: 0, False: 0]
  ------------------
 1246|      0|                for (Py_ssize_t i = 0; i < num_free; i++) {
  ------------------
  |  Branch (1246:40): [True: 0, False: 0]
  ------------------
 1247|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1247:38): [True: 0, False: 0]
  ------------------
 1248|      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 (1248:25): [True: 0, False: 0]
  ------------------
 1249|      0|                        closure_is_ok = 0;
 1250|      0|                        break;
 1251|      0|                    }
 1252|      0|                }
 1253|      0|            }
 1254|      0|            if (!closure_is_ok) {
  ------------------
  |  Branch (1254:17): [True: 0, False: 0]
  ------------------
 1255|      0|                PyErr_Format(PyExc_TypeError,
 1256|      0|                    "code object requires a closure of exactly length %zd",
 1257|      0|                    num_free);
 1258|      0|                goto error;
 1259|      0|            }
 1260|      0|        }
 1261|       |
 1262|     56|        if (PySys_Audit("exec", "O", source) < 0) {
  ------------------
  |  Branch (1262:13): [True: 0, False: 56]
  ------------------
 1263|      0|            goto error;
 1264|      0|        }
 1265|       |
 1266|     56|        if (!closure) {
  ------------------
  |  Branch (1266:13): [True: 56, False: 0]
  ------------------
 1267|     56|            v = PyEval_EvalCode(source, globals, locals);
 1268|     56|        } else {
 1269|      0|            v = PyEval_EvalCodeEx(source, globals, locals,
 1270|      0|                NULL, 0,
 1271|      0|                NULL, 0,
 1272|      0|                NULL, 0,
 1273|      0|                NULL,
 1274|      0|                closure);
 1275|      0|        }
 1276|     56|    }
 1277|      0|    else {
 1278|      0|        if (closure != NULL) {
  ------------------
  |  Branch (1278:13): [True: 0, False: 0]
  ------------------
 1279|      0|            PyErr_SetString(PyExc_TypeError,
 1280|      0|                "closure can only be used when source is a code object");
 1281|      0|            goto error;
 1282|      0|        }
 1283|      0|        PyObject *source_copy;
 1284|      0|        const char *str;
 1285|      0|        PyCompilerFlags cf = _PyCompilerFlags_INIT;
  ------------------
  |  |   33|      0|    (PyCompilerFlags){.cf_flags = 0, .cf_feature_version = PY_MINOR_VERSION}
  |  |  ------------------
  |  |  |  |   24|      0|#define PY_MINOR_VERSION        16
  |  |  ------------------
  ------------------
 1286|      0|        cf.cf_flags = PyCF_SOURCE_IS_UTF8;
  ------------------
  |  |   15|      0|#define PyCF_SOURCE_IS_UTF8  0x0100
  ------------------
 1287|      0|        str = _Py_SourceAsString(source, "exec",
 1288|      0|                                       "string, bytes or code", &cf,
 1289|      0|                                       &source_copy);
 1290|      0|        if (str == NULL)
  ------------------
  |  Branch (1290:13): [True: 0, False: 0]
  ------------------
 1291|      0|            goto error;
 1292|      0|        if (PyEval_MergeCompilerFlags(&cf))
  ------------------
  |  Branch (1292:13): [True: 0, False: 0]
  ------------------
 1293|      0|            v = PyRun_StringFlags(str, Py_file_input, globals,
  ------------------
  |  |    9|      0|#define Py_file_input 257
  ------------------
 1294|      0|                                  locals, &cf);
 1295|      0|        else
 1296|      0|            v = PyRun_String(str, Py_file_input, globals, locals);
  ------------------
  |  |   81|      0|#define PyRun_String(str, s, g, l) PyRun_StringFlags((str), (s), (g), (l), NULL)
  ------------------
 1297|      0|        Py_XDECREF(source_copy);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1298|      0|    }
 1299|     56|    if (v == NULL)
  ------------------
  |  Branch (1299:9): [True: 0, False: 56]
  ------------------
 1300|      0|        goto error;
 1301|     56|    Py_DECREF(globals);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1302|     56|    Py_DECREF(locals);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1303|     56|    Py_DECREF(v);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1304|     56|    Py_RETURN_NONE;
  ------------------
  |  |  628|     56|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     56|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1305|       |
 1306|      0|  error:
 1307|      0|    Py_XDECREF(globals);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1308|      0|    Py_XDECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1309|       |    return NULL;
 1310|     56|}
bltinmodule.c:builtin_getattr:
 1316|  1.00k|{
 1317|  1.00k|    PyObject *v, *name, *result;
 1318|       |
 1319|  1.00k|    if (!_PyArg_CheckPositional("getattr", nargs, 2, 3))
  ------------------
  |  |   31|  1.00k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 1.00k, False: 0]
  |  |  |  Branch (31:27): [True: 1.00k, False: 0]
  |  |  ------------------
  |  |   32|  1.00k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1320|      0|        return NULL;
 1321|       |
 1322|  1.00k|    v = args[0];
 1323|  1.00k|    name = args[1];
 1324|  1.00k|    if (nargs > 2) {
  ------------------
  |  Branch (1324:9): [True: 798, False: 204]
  ------------------
 1325|    798|        if (PyObject_GetOptionalAttr(v, name, &result) == 0) {
  ------------------
  |  Branch (1325:13): [True: 144, False: 654]
  ------------------
 1326|    144|            PyObject *dflt = args[2];
 1327|    144|            return Py_NewRef(dflt);
  ------------------
  |  |  550|    144|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    144|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    144|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1328|    144|        }
 1329|    798|    }
 1330|    204|    else {
 1331|    204|        result = PyObject_GetAttr(v, name);
 1332|    204|    }
 1333|    858|    return result;
 1334|  1.00k|}
bltinmodule.c:builtin_globals_impl:
 1358|     43|{
 1359|     43|    PyObject *globals;
 1360|     43|    if (_PyEval_GetFrame() != NULL) {
  ------------------
  |  Branch (1360:9): [True: 43, False: 0]
  ------------------
 1361|     43|        globals = PyEval_GetGlobals();
 1362|     43|        assert(globals != NULL);
  ------------------
  |  Branch (1362:9): [True: 43, False: 0]
  ------------------
 1363|     43|        return Py_NewRef(globals);
  ------------------
  |  |  550|     43|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     43|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     43|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1364|     43|    }
 1365|      0|    PyThreadState *tstate = _PyThreadState_GET();
 1366|      0|    globals = _PyEval_GetGlobalsFromRunningMain(tstate);
 1367|      0|    if (globals == NULL) {
  ------------------
  |  Branch (1367:9): [True: 0, False: 0]
  ------------------
 1368|      0|        if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1368:13): [True: 0, False: 0]
  ------------------
 1369|      0|            return NULL;
 1370|      0|        }
 1371|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1372|      0|    }
 1373|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1374|      0|}
bltinmodule.c:builtin_hasattr_impl:
 1392|    297|{
 1393|    297|    PyObject *v;
 1394|       |
 1395|    297|    if (PyObject_GetOptionalAttr(obj, name, &v) < 0) {
  ------------------
  |  Branch (1395:9): [True: 0, False: 297]
  ------------------
 1396|      0|        return NULL;
 1397|      0|    }
 1398|    297|    if (v == NULL) {
  ------------------
  |  Branch (1398:9): [True: 79, False: 218]
  ------------------
 1399|     79|        Py_RETURN_FALSE;
  ------------------
  |  |   45|     79|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|     79|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     79|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1400|     79|    }
 1401|    218|    Py_DECREF(v);
  ------------------
  |  |  430|    218|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    218|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    218|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1402|    218|    Py_RETURN_TRUE;
  ------------------
  |  |   44|    218|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|    218|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    218|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    218|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1403|    297|}
bltinmodule.c:builtin_isinstance_impl:
 3133|     65|{
 3134|     65|    int retval;
 3135|       |
 3136|     65|    retval = PyObject_IsInstance(obj, class_or_tuple);
 3137|     65|    if (retval < 0)
  ------------------
  |  Branch (3137:9): [True: 0, False: 65]
  ------------------
 3138|      0|        return NULL;
 3139|     65|    return PyBool_FromLong(retval);
 3140|     65|}
bltinmodule.c:builtin_issubclass_impl:
 3161|     10|{
 3162|     10|    int retval;
 3163|       |
 3164|     10|    retval = PyObject_IsSubclass(cls, class_or_tuple);
 3165|     10|    if (retval < 0)
  ------------------
  |  Branch (3165:9): [True: 0, False: 10]
  ------------------
 3166|      0|        return NULL;
 3167|     10|    return PyBool_FromLong(retval);
 3168|     10|}
bltinmodule.c:builtin_iter:
 1899|  3.66k|{
 1900|  3.66k|    PyObject *v;
 1901|       |
 1902|  3.66k|    if (!_PyArg_CheckPositional("iter", nargs, 1, 2))
  ------------------
  |  |   31|  3.66k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 3.66k, False: 0]
  |  |  |  Branch (31:27): [True: 3.66k, False: 0]
  |  |  ------------------
  |  |   32|  3.66k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1903|      0|        return NULL;
 1904|  3.66k|    v = args[0];
 1905|  3.66k|    if (nargs == 1)
  ------------------
  |  Branch (1905:9): [True: 3.66k, False: 0]
  ------------------
 1906|  3.66k|        return PyObject_GetIter(v);
 1907|      0|    if (!PyCallable_Check(v)) {
  ------------------
  |  Branch (1907:9): [True: 0, False: 0]
  ------------------
 1908|      0|        PyErr_SetString(PyExc_TypeError,
 1909|      0|                        "iter(v, w): v must be callable");
 1910|      0|        return NULL;
 1911|      0|    }
 1912|      0|    PyObject *sentinel = args[1];
 1913|      0|    return PyCallIter_New(v, sentinel);
 1914|      0|}
bltinmodule.c:builtin_len:
 2000|    116|{
 2001|    116|    Py_ssize_t res;
 2002|       |
 2003|    116|    res = PyObject_Size(obj);
 2004|    116|    if (res < 0) {
  ------------------
  |  Branch (2004:9): [True: 0, False: 116]
  ------------------
 2005|      0|        assert(PyErr_Occurred());
  ------------------
  |  Branch (2005:9): [True: 0, False: 0]
  ------------------
 2006|      0|        return NULL;
 2007|      0|    }
 2008|    116|    return PyLong_FromSsize_t(res);
 2009|    116|}
bltinmodule.c:builtin_max:
 2183|  2.37M|{
 2184|  2.37M|    return min_max(args, nargs, kwnames, Py_GT);
  ------------------
  |  |  656|  2.37M|#define Py_GT 4
  ------------------
 2185|  2.37M|}
bltinmodule.c:min_max:
 2047|  14.6M|{
 2048|  14.6M|    PyObject *it = NULL, *item, *val, *maxitem, *maxval, *keyfunc=NULL;
 2049|  14.6M|    PyObject *defaultval = NULL;
 2050|  14.6M|    static const char * const keywords[] = {"key", "default", NULL};
 2051|  14.6M|    static _PyArg_Parser _parser_min = {"|$OO:min", keywords, 0};
 2052|  14.6M|    static _PyArg_Parser _parser_max = {"|$OO:max", keywords, 0};
 2053|  14.6M|    const char *name = (op == Py_LT) ? "min" : "max";
  ------------------
  |  |  652|  14.6M|#define Py_LT 0
  ------------------
  |  Branch (2053:24): [True: 12.2M, False: 2.37M]
  ------------------
 2054|  14.6M|    _PyArg_Parser *_parser = (op == Py_LT) ? &_parser_min : &_parser_max;
  ------------------
  |  |  652|  14.6M|#define Py_LT 0
  ------------------
  |  Branch (2054:30): [True: 12.2M, False: 2.37M]
  ------------------
 2055|       |
 2056|  14.6M|    if (nargs == 0) {
  ------------------
  |  Branch (2056:9): [True: 0, False: 14.6M]
  ------------------
 2057|      0|        PyErr_Format(PyExc_TypeError, "%s expected at least 1 argument, got 0", name);
 2058|      0|        return NULL;
 2059|      0|    }
 2060|       |
 2061|  14.6M|    if (kwnames != NULL && !_PyArg_ParseStackAndKeywords(args + nargs, 0, kwnames, _parser,
  ------------------
  |  Branch (2061:9): [True: 0, False: 14.6M]
  |  Branch (2061:28): [True: 0, False: 0]
  ------------------
 2062|      0|                                                         &keyfunc, &defaultval)) {
 2063|      0|        return NULL;
 2064|      0|    }
 2065|       |
 2066|  14.6M|    const int positional = nargs > 1; // False iff nargs == 1
 2067|  14.6M|    if (positional && defaultval != NULL) {
  ------------------
  |  Branch (2067:9): [True: 14.6M, False: 2.24k]
  |  Branch (2067:23): [True: 0, False: 14.6M]
  ------------------
 2068|      0|        PyErr_Format(PyExc_TypeError,
 2069|      0|                        "Cannot specify a default for %s() with multiple "
 2070|      0|                        "positional arguments", name);
 2071|      0|        return NULL;
 2072|      0|    }
 2073|       |
 2074|  14.6M|    if (!positional) {
  ------------------
  |  Branch (2074:9): [True: 2.24k, False: 14.6M]
  ------------------
 2075|  2.24k|        it = PyObject_GetIter(args[0]);
 2076|  2.24k|        if (it == NULL) {
  ------------------
  |  Branch (2076:13): [True: 0, False: 2.24k]
  ------------------
 2077|      0|            return NULL;
 2078|      0|        }
 2079|  2.24k|    }
 2080|       |
 2081|  14.6M|    if (keyfunc == Py_None) {
  ------------------
  |  |  616|  14.6M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2081:9): [True: 0, False: 14.6M]
  ------------------
 2082|      0|        keyfunc = NULL;
 2083|      0|    }
 2084|       |
 2085|  14.6M|    maxitem = NULL; /* the result */
 2086|  14.6M|    maxval = NULL;  /* the value associated with the result */
 2087|  43.9M|    while (1) {
  ------------------
  |  Branch (2087:12): [True: 43.9M, Folded]
  ------------------
 2088|  43.9M|        if (it == NULL) {
  ------------------
  |  Branch (2088:13): [True: 43.9M, False: 6.30k]
  ------------------
 2089|  43.9M|            if (nargs-- <= 0) {
  ------------------
  |  Branch (2089:17): [True: 14.6M, False: 29.2M]
  ------------------
 2090|  14.6M|                break;
 2091|  14.6M|            }
 2092|  29.2M|            item = *args++;
 2093|  29.2M|            Py_INCREF(item);
  ------------------
  |  |  310|  29.2M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  29.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  29.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2094|  29.2M|        }
 2095|  6.30k|        else {
 2096|  6.30k|            item = PyIter_Next(it);
 2097|  6.30k|            if (item == NULL) {
  ------------------
  |  Branch (2097:17): [True: 2.24k, False: 4.06k]
  ------------------
 2098|  2.24k|                if (PyErr_Occurred()) {
  ------------------
  |  Branch (2098:21): [True: 0, False: 2.24k]
  ------------------
 2099|      0|                    goto Fail_it;
 2100|      0|                }
 2101|  2.24k|                break;
 2102|  2.24k|            }
 2103|  6.30k|        }
 2104|       |
 2105|       |        /* get the value from the key function */
 2106|  29.2M|        if (keyfunc != NULL) {
  ------------------
  |  Branch (2106:13): [True: 0, False: 29.2M]
  ------------------
 2107|      0|            val = PyObject_CallOneArg(keyfunc, item);
 2108|      0|            if (val == NULL)
  ------------------
  |  Branch (2108:17): [True: 0, False: 0]
  ------------------
 2109|      0|                goto Fail_it_item;
 2110|      0|        }
 2111|       |        /* no key function; the value is the item */
 2112|  29.2M|        else {
 2113|  29.2M|            val = Py_NewRef(item);
  ------------------
  |  |  550|  29.2M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  29.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  29.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2114|  29.2M|        }
 2115|       |
 2116|       |        /* maximum value and item are unset; set them */
 2117|  29.2M|        if (maxval == NULL) {
  ------------------
  |  Branch (2117:13): [True: 14.6M, False: 14.6M]
  ------------------
 2118|  14.6M|            maxitem = item;
 2119|  14.6M|            maxval = val;
 2120|  14.6M|        }
 2121|       |        /* maximum value and item are set; update them as necessary */
 2122|  14.6M|        else {
 2123|  14.6M|            int cmp = PyObject_RichCompareBool(val, maxval, op);
 2124|  14.6M|            if (cmp < 0)
  ------------------
  |  Branch (2124:17): [True: 0, False: 14.6M]
  ------------------
 2125|      0|                goto Fail_it_item_and_val;
 2126|  14.6M|            else if (cmp > 0) {
  ------------------
  |  Branch (2126:22): [True: 1.26M, False: 13.3M]
  ------------------
 2127|  1.26M|                Py_DECREF(maxval);
  ------------------
  |  |  430|  1.26M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.26M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.26M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2128|  1.26M|                Py_DECREF(maxitem);
  ------------------
  |  |  430|  1.26M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.26M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.26M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2129|  1.26M|                maxval = val;
 2130|  1.26M|                maxitem = item;
 2131|  1.26M|            }
 2132|  13.3M|            else {
 2133|  13.3M|                Py_DECREF(item);
  ------------------
  |  |  430|  13.3M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2134|  13.3M|                Py_DECREF(val);
  ------------------
  |  |  430|  13.3M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2135|  13.3M|            }
 2136|  14.6M|        }
 2137|  29.2M|    }
 2138|  14.6M|    if (maxval == NULL) {
  ------------------
  |  Branch (2138:9): [True: 0, False: 14.6M]
  ------------------
 2139|      0|        assert(maxitem == NULL);
  ------------------
  |  Branch (2139:9): [True: 0, False: 0]
  ------------------
 2140|      0|        if (defaultval != NULL) {
  ------------------
  |  Branch (2140:13): [True: 0, False: 0]
  ------------------
 2141|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2142|      0|        } else {
 2143|      0|            PyErr_Format(PyExc_ValueError,
 2144|      0|                         "%s() iterable argument is empty", name);
 2145|      0|        }
 2146|      0|    }
 2147|  14.6M|    else
 2148|  14.6M|        Py_DECREF(maxval);
  ------------------
  |  |  430|  14.6M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2149|  14.6M|    Py_XDECREF(it);
  ------------------
  |  |  524|  14.6M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2150|  14.6M|    return maxitem;
 2151|       |
 2152|      0|Fail_it_item_and_val:
 2153|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2154|      0|Fail_it_item:
 2155|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2156|      0|Fail_it:
 2157|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2158|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2159|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2160|       |    return NULL;
 2161|      0|}
bltinmodule.c:builtin_min:
 2166|  12.2M|{
 2167|  12.2M|    return min_max(args, nargs, kwnames, Py_LT);
  ------------------
  |  |  652|  12.2M|#define Py_LT 0
  ------------------
 2168|  12.2M|}
bltinmodule.c:builtin_next:
 1762|  3.64k|{
 1763|  3.64k|    PyObject *it, *res;
 1764|       |
 1765|  3.64k|    if (!_PyArg_CheckPositional("next", nargs, 1, 2))
  ------------------
  |  |   31|  3.64k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 3.64k, False: 0]
  |  |  |  Branch (31:27): [True: 3.64k, False: 0]
  |  |  ------------------
  |  |   32|  3.64k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1766|      0|        return NULL;
 1767|       |
 1768|  3.64k|    it = args[0];
 1769|  3.64k|    if (!PyIter_Check(it)) {
  ------------------
  |  Branch (1769:9): [True: 0, False: 3.64k]
  ------------------
 1770|      0|        PyErr_Format(PyExc_TypeError,
 1771|      0|            "'%.200s' object is not an iterator",
 1772|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1773|      0|        return NULL;
 1774|      0|    }
 1775|       |
 1776|  3.64k|    res = (*Py_TYPE(it)->tp_iternext)(it);
  ------------------
  |  |  213|  3.64k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1777|  3.64k|    if (res != NULL) {
  ------------------
  |  Branch (1777:9): [True: 3.63k, False: 2]
  ------------------
 1778|  3.63k|        return res;
 1779|  3.63k|    } else if (nargs > 1) {
  ------------------
  |  Branch (1779:16): [True: 2, False: 0]
  ------------------
 1780|      2|        PyObject *def = args[1];
 1781|      2|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1781:13): [True: 0, False: 2]
  ------------------
 1782|      0|            if(!PyErr_ExceptionMatches(PyExc_StopIteration))
  ------------------
  |  Branch (1782:16): [True: 0, False: 0]
  ------------------
 1783|      0|                return NULL;
 1784|      0|            PyErr_Clear();
 1785|      0|        }
 1786|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1787|      2|    } else if (PyErr_Occurred()) {
  ------------------
  |  Branch (1787:16): [True: 0, False: 0]
  ------------------
 1788|      0|        return NULL;
 1789|      0|    } else {
 1790|      0|        PyErr_SetNone(PyExc_StopIteration);
 1791|       |        return NULL;
 1792|      0|    }
 1793|  3.64k|}
bltinmodule.c:builtin_ord:
 2235|  7.47M|{
 2236|  7.47M|    long ord;
 2237|  7.47M|    Py_ssize_t size;
 2238|       |
 2239|  7.47M|    if (PyBytes_Check(c)) {
  ------------------
  |  |   28|  7.47M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  7.47M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 7.47M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2240|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2241|      0|        if (size == 1) {
  ------------------
  |  Branch (2241:13): [True: 0, False: 0]
  ------------------
 2242|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2243|      0|            return PyLong_FromLong(ord);
 2244|      0|        }
 2245|      0|    }
 2246|  7.47M|    else if (PyUnicode_Check(c)) {
  ------------------
  |  |  103|  7.47M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  7.47M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 7.47M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2247|  7.47M|        size = PyUnicode_GET_LENGTH(c);
  ------------------
  |  |  299|  7.47M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.47M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.47M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2248|  7.47M|        if (size == 1) {
  ------------------
  |  Branch (2248:13): [True: 7.47M, False: 0]
  ------------------
 2249|  7.47M|            ord = (long)PyUnicode_READ_CHAR(c, 0);
  ------------------
  |  |  381|  7.47M|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|  7.47M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.47M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2250|  7.47M|            return PyLong_FromLong(ord);
 2251|  7.47M|        }
 2252|  7.47M|    }
 2253|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2254|       |        /* XXX Hopefully this is temporary */
 2255|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2256|      0|        if (size == 1) {
  ------------------
  |  Branch (2256:13): [True: 0, False: 0]
  ------------------
 2257|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2258|      0|            return PyLong_FromLong(ord);
 2259|      0|        }
 2260|      0|    }
 2261|      0|    else {
 2262|      0|        PyErr_Format(PyExc_TypeError,
 2263|      0|                     "ord() expected string of length 1, but " \
 2264|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2265|      0|        return NULL;
 2266|      0|    }
 2267|       |
 2268|      0|    PyErr_Format(PyExc_TypeError,
 2269|      0|                 "ord() expected a character, "
 2270|      0|                 "but string of length %zd found",
 2271|      0|                 size);
 2272|       |    return NULL;
 2273|  7.47M|}
bltinmodule.c:builtin_pow_impl:
 2294|      1|{
 2295|      1|    return PyNumber_Power(base, exp, mod);
 2296|      1|}
bltinmodule.c:builtin_setattr_impl:
 1819|    152|{
 1820|    152|    if (PyObject_SetAttr(obj, name, value) != 0)
  ------------------
  |  Branch (1820:9): [True: 0, False: 152]
  ------------------
 1821|      0|        return NULL;
 1822|    152|    Py_RETURN_NONE;
  ------------------
  |  |  628|    152|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    152|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1823|    152|}
bltinmodule.c:builtin_sorted:
 2746|    880|{
 2747|    880|    PyObject *newlist, *v, *seq, *callable;
 2748|       |
 2749|       |    /* Keyword arguments are passed through list.sort() which will check
 2750|       |       them. */
 2751|    880|    if (!_PyArg_UnpackStack(args, nargs, "sorted", 1, 1, &seq))
  ------------------
  |  Branch (2751:9): [True: 0, False: 880]
  ------------------
 2752|      0|        return NULL;
 2753|       |
 2754|    880|    newlist = PySequence_List(seq);
 2755|    880|    if (newlist == NULL)
  ------------------
  |  Branch (2755:9): [True: 0, False: 880]
  ------------------
 2756|      0|        return NULL;
 2757|       |
 2758|    880|    callable = PyObject_GetAttr(newlist, &_Py_ID(sort));
  ------------------
  |  |  920|    880|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    880|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    880|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2759|    880|    if (callable == NULL) {
  ------------------
  |  Branch (2759:9): [True: 0, False: 880]
  ------------------
 2760|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2761|      0|        return NULL;
 2762|      0|    }
 2763|       |
 2764|    880|    assert(nargs >= 1);
  ------------------
  |  Branch (2764:5): [True: 880, False: 0]
  ------------------
 2765|    880|    v = PyObject_Vectorcall(callable, args + 1, nargs - 1, kwnames);
 2766|    880|    Py_DECREF(callable);
  ------------------
  |  |  430|    880|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    880|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    880|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2767|    880|    if (v == NULL) {
  ------------------
  |  Branch (2767:9): [True: 0, False: 880]
  ------------------
 2768|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2769|      0|        return NULL;
 2770|      0|    }
 2771|    880|    Py_DECREF(v);
  ------------------
  |  |  430|    880|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    880|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    880|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2772|    880|    return newlist;
 2773|    880|}
bltinmodule.c:builtin_vars:
 2779|      3|{
 2780|      3|    PyObject *v = NULL;
 2781|      3|    PyObject *d;
 2782|       |
 2783|      3|    if (!PyArg_UnpackTuple(args, "vars", 0, 1, &v))
  ------------------
  |  Branch (2783:9): [True: 0, False: 3]
  ------------------
 2784|      0|        return NULL;
 2785|      3|    if (v == NULL) {
  ------------------
  |  Branch (2785:9): [True: 1, False: 2]
  ------------------
 2786|      1|        if (_PyEval_GetFrame() != NULL) {
  ------------------
  |  Branch (2786:13): [True: 1, False: 0]
  ------------------
 2787|      1|            d = _PyEval_GetFrameLocals();
 2788|      1|        }
 2789|      0|        else {
 2790|      0|            PyThreadState *tstate = _PyThreadState_GET();
 2791|      0|            d = _PyEval_GetGlobalsFromRunningMain(tstate);
 2792|      0|            if (d == NULL) {
  ------------------
  |  Branch (2792:17): [True: 0, False: 0]
  ------------------
 2793|      0|                if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2793:21): [True: 0, False: 0]
  ------------------
 2794|      0|                    d = _PyEval_GetFrameLocals();
 2795|      0|                    assert(_PyErr_Occurred(tstate));
  ------------------
  |  Branch (2795:21): [True: 0, False: 0]
  ------------------
 2796|      0|                }
 2797|      0|            }
 2798|      0|            else {
 2799|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2800|      0|            }
 2801|      0|        }
 2802|      1|    }
 2803|      2|    else {
 2804|      2|        if (PyObject_GetOptionalAttr(v, &_Py_ID(__dict__), &d) == 0) {
  ------------------
  |  |  920|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2804:13): [True: 0, False: 2]
  ------------------
 2805|      0|            PyErr_SetString(PyExc_TypeError,
 2806|      0|                "vars() argument must have __dict__ attribute");
 2807|      0|        }
 2808|      2|    }
 2809|      3|    return d;
 2810|      3|}

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

_Py_ReachedRecursionLimitWithMargin:
   30|  2.65k|{
   31|  2.65k|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
   32|  2.65k|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
   33|  2.65k|#if _Py_STACK_GROWS_DOWN
   34|  2.65k|    if (here_addr > _tstate->c_stack_soft_limit + margin_count * _PyOS_STACK_MARGIN_BYTES) {
  ------------------
  |  |   57|  2.65k|#define _PyOS_STACK_MARGIN_BYTES (_PyOS_STACK_MARGIN * sizeof(void *))
  |  |  ------------------
  |  |  |  |   56|  2.65k|#define _PyOS_STACK_MARGIN (1 << _PyOS_LOG2_STACK_MARGIN)
  |  |  |  |  ------------------
  |  |  |  |  |  |   54|  2.65k|#  define _PyOS_LOG2_STACK_MARGIN 11
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (34:9): [True: 2.65k, False: 0]
  ------------------
   35|       |#else
   36|       |    if (here_addr <= _tstate->c_stack_soft_limit - margin_count * _PyOS_STACK_MARGIN_BYTES) {
   37|       |#endif
   38|  2.65k|        return 0;
   39|  2.65k|    }
   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 &&
  ------------------
  |  |   57|      0|#define _PyOS_STACK_MARGIN_BYTES (_PyOS_STACK_MARGIN * sizeof(void *))
  |  |  ------------------
  |  |  |  |   56|      0|#define _PyOS_STACK_MARGIN (1 << _PyOS_LOG2_STACK_MARGIN)
  |  |  |  |  ------------------
  |  |  |  |  |  |   54|      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;
  ------------------
  |  |   57|      0|#define _PyOS_STACK_MARGIN_BYTES (_PyOS_STACK_MARGIN * sizeof(void *))
  |  |  ------------------
  |  |  |  |   56|      0|#define _PyOS_STACK_MARGIN (1 << _PyOS_LOG2_STACK_MARGIN)
  |  |  |  |  ------------------
  |  |  |  |  |  |   54|      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|  2.65k|}
_Py_InitializeRecursionLimits:
  222|      2|{
  223|      2|    uintptr_t base, top;
  224|      2|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  225|      2|    hardware_stack_limits(&base, &top, here_addr);
  226|      2|    assert(top != 0);
  ------------------
  |  Branch (226:5): [True: 2, False: 0]
  ------------------
  227|       |
  228|      2|    tstate_set_stack(tstate, base, top);
  229|      2|    _PyThreadStateImpl *ts = (_PyThreadStateImpl *)tstate;
  230|      2|    ts->c_stack_init_base = base;
  231|      2|    ts->c_stack_init_top = top;
  232|      2|}
PyEval_EvalCode:
  654|     63|{
  655|     63|    PyThreadState *tstate = _PyThreadState_GET();
  656|     63|    if (locals == NULL) {
  ------------------
  |  Branch (656:9): [True: 0, False: 63]
  ------------------
  657|      0|        locals = globals;
  658|      0|    }
  659|     63|    PyObject *builtins = _PyDict_LoadBuiltinsFromGlobals(globals);
  660|     63|    if (builtins == NULL) {
  ------------------
  |  Branch (660:9): [True: 0, False: 63]
  ------------------
  661|      0|        return NULL;
  662|      0|    }
  663|     63|    PyFrameConstructor desc = {
  664|     63|        .fc_globals = globals,
  665|     63|        .fc_builtins = builtins,
  666|     63|        .fc_name = ((PyCodeObject *)co)->co_name,
  667|     63|        .fc_qualname = ((PyCodeObject *)co)->co_name,
  668|     63|        .fc_code = co,
  669|     63|        .fc_defaults = NULL,
  670|     63|        .fc_kwdefaults = NULL,
  671|     63|        .fc_closure = NULL
  672|     63|    };
  673|     63|    PyFunctionObject *func = _PyFunction_FromConstructor(&desc);
  674|     63|    _Py_DECREF_BUILTINS(builtins);
  ------------------
  |  |  399|     63|#  define _Py_DECREF_BUILTINS Py_DECREF
  |  |  ------------------
  |  |  |  |   80|     63|    do { \
  |  |  |  |   81|     63|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     63|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     63|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|     63|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|     63|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     63|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     63|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 63]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|     63|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|     63|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|     63|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 63]
  |  |  |  |  ------------------
  |  |  |  |   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|     63|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 63]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  675|     63|    if (func == NULL) {
  ------------------
  |  Branch (675:9): [True: 0, False: 63]
  ------------------
  676|      0|        return NULL;
  677|      0|    }
  678|     63|    EVAL_CALL_STAT_INC(EVAL_CALL_LEGACY);
  ------------------
  |  |   79|     63|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
  679|     63|    PyObject *res = _PyEval_Vector(tstate, func, locals, NULL, 0, NULL);
  680|       |    Py_DECREF(func);
  ------------------
  |  |   80|     63|    do { \
  |  |   81|     63|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|     63|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     63|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|     63|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|     63|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     63|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     63|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 63]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|     63|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|     63|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|     63|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 63, False: 0]
  |  |  ------------------
  |  |   88|     63|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|     63|    do { \
  |  |  |  |  113|     63|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|     63|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 63]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|     63|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 63]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|     63|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|     63|            (*dealloc)(op); \
  |  |   91|     63|        } \
  |  |   92|     63|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 63]
  |  |  ------------------
  ------------------
  681|     63|    return res;
  682|     63|}
_Py_VectorCall_StackRefSteal:
  713|  1.25M|{
  714|  1.25M|    PyObject *res;
  715|  1.25M|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  502|  1.25M|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  503|  1.25M|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  716|  1.25M|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  509|  1.25M|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (509:33): [True: 0, False: 1.25M]
  |  |  ------------------
  ------------------
  717|      0|        res = NULL;
  718|      0|        goto cleanup;
  719|      0|    }
  720|  1.25M|    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  721|  1.25M|    PyObject *kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  722|  1.25M|    int positional_args = total_args;
  723|  1.25M|    if (kwnames_o != NULL) {
  ------------------
  |  Branch (723:9): [True: 1.08M, False: 170k]
  ------------------
  724|  1.08M|        positional_args -= (int)PyTuple_GET_SIZE(kwnames_o);
  ------------------
  |  |   27|  1.08M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  725|  1.08M|    }
  726|  1.25M|    res = PyObject_Vectorcall(
  727|  1.25M|        callable_o, args_o,
  728|  1.25M|        positional_args | PY_VECTORCALL_ARGUMENTS_OFFSET,
  ------------------
  |  |  287|  1.25M|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  1.25M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  729|  1.25M|        kwnames_o);
  730|  1.25M|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  507|  1.25M|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  731|  1.25M|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (731:5): [True: 1.25M, False: 0]
  ------------------
  732|  1.25M|cleanup:
  733|  1.25M|    PyStackRef_XCLOSE(kwnames);
  734|       |    // arguments is a pointer into the GC visible stack,
  735|       |    // so we must NULL out values as we clear them.
  736|  4.67M|    for (int i = total_args-1; i >= 0; i--) {
  ------------------
  |  Branch (736:32): [True: 3.41M, False: 1.25M]
  ------------------
  737|  3.41M|        _PyStackRef tmp = arguments[i];
  738|  3.41M|        arguments[i] = PyStackRef_NULL;
  739|  3.41M|        PyStackRef_CLOSE(tmp);
  740|  3.41M|    }
  741|  1.25M|    PyStackRef_CLOSE(callable);
  742|  1.25M|    return res;
  743|  1.25M|}
_Py_VectorCallInstrumentation_StackRefSteal:
  755|  1.18M|{
  756|  1.18M|    PyObject* res;
  757|  1.18M|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  502|  1.18M|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  503|  1.18M|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  758|  1.18M|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  509|  1.18M|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (509:33): [True: 0, False: 1.18M]
  |  |  ------------------
  ------------------
  759|      0|        res = NULL;
  760|      0|        goto cleanup;
  761|      0|    }
  762|  1.18M|    PyObject* callable_o = PyStackRef_AsPyObjectBorrow(callable);
  763|  1.18M|    PyObject* kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  764|  1.18M|    int positional_args = total_args;
  765|  1.18M|    if (kwnames_o != NULL) {
  ------------------
  |  Branch (765:9): [True: 57, False: 1.18M]
  ------------------
  766|     57|        positional_args -= (int)PyTuple_GET_SIZE(kwnames_o);
  ------------------
  |  |   27|     57|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     57|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     57|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  767|     57|    }
  768|  1.18M|    res = PyObject_Vectorcall(
  769|  1.18M|        callable_o, args_o,
  770|  1.18M|        positional_args | PY_VECTORCALL_ARGUMENTS_OFFSET,
  ------------------
  |  |  287|  1.18M|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  1.18M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  771|  1.18M|        kwnames_o);
  772|  1.18M|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  507|  1.18M|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  773|  1.18M|    if (call_instrumentation) {
  ------------------
  |  Branch (773:9): [True: 0, False: 1.18M]
  ------------------
  774|      0|        PyObject* arg = total_args == 0 ?
  ------------------
  |  Branch (774:25): [True: 0, False: 0]
  ------------------
  775|      0|            &_PyInstrumentation_MISSING : PyStackRef_AsPyObjectBorrow(arguments[0]);
  776|      0|        if (res == NULL) {
  ------------------
  |  Branch (776:13): [True: 0, False: 0]
  ------------------
  777|      0|            _Py_call_instrumentation_exc2(
  778|      0|                tstate, PY_MONITORING_EVENT_C_RAISE,
  ------------------
  |  |   45|      0|#define PY_MONITORING_EVENT_C_RAISE 17
  ------------------
  779|      0|                frame, this_instr, callable_o, arg);
  780|      0|        }
  781|      0|        else {
  782|      0|            int err = _Py_call_instrumentation_2args(
  783|      0|                tstate, PY_MONITORING_EVENT_C_RETURN,
  ------------------
  |  |   44|      0|#define PY_MONITORING_EVENT_C_RETURN 16
  ------------------
  784|      0|                frame, this_instr, callable_o, arg);
  785|      0|            if (err < 0) {
  ------------------
  |  Branch (785:17): [True: 0, False: 0]
  ------------------
  786|      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]
  |  |  ------------------
  ------------------
  787|      0|            }
  788|      0|        }
  789|      0|    }
  790|  1.18M|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (790:5): [True: 1.18M, False: 0]
  ------------------
  791|  1.18M|cleanup:
  792|  1.18M|    PyStackRef_XCLOSE(kwnames);
  793|       |    // arguments is a pointer into the GC visible stack,
  794|       |    // so we must NULL out values as we clear them.
  795|  2.41M|    for (int i = total_args - 1; i >= 0; i--) {
  ------------------
  |  Branch (795:34): [True: 1.23M, False: 1.18M]
  ------------------
  796|  1.23M|        _PyStackRef tmp = arguments[i];
  797|  1.23M|        arguments[i] = PyStackRef_NULL;
  798|  1.23M|        PyStackRef_CLOSE(tmp);
  799|  1.23M|    }
  800|  1.18M|    PyStackRef_CLOSE(callable);
  801|  1.18M|    return res;
  802|  1.18M|}
_Py_BuiltinCallFast_StackRef:
  809|  9.14k|{
  810|  9.14k|    PyObject *res;
  811|  9.14k|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  502|  9.14k|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  503|  9.14k|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  812|  9.14k|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  509|  9.14k|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (509:33): [True: 0, False: 9.14k]
  |  |  ------------------
  ------------------
  813|      0|        return NULL;
  814|      0|    }
  815|  9.14k|    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  816|  9.14k|    PyCFunction cfunc = PyCFunction_GET_FUNCTION(callable_o);
  ------------------
  |  |   43|  9.14k|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  9.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  817|  9.14k|    res = _PyCFunctionFast_CAST(cfunc)(
  ------------------
  |  |   58|  9.14k|    _Py_FUNC_CAST(PyCFunctionFast, func)
  |  |  ------------------
  |  |  |  |   47|  9.14k|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  818|  9.14k|        PyCFunction_GET_SELF(callable_o),
  ------------------
  |  |   52|  9.14k|#define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  9.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  819|  9.14k|        args_o,
  820|  9.14k|        total_args
  821|  9.14k|    );
  822|  9.14k|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  507|  9.14k|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  823|  9.14k|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (823:5): [True: 9.14k, False: 0]
  ------------------
  824|  9.14k|    return res;
  825|  9.14k|}
_Py_BuiltinCallFastWithKeywords_StackRef:
  832|  14.6M|{
  833|  14.6M|    PyObject *res;
  834|  14.6M|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  502|  14.6M|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  503|  14.6M|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  835|  14.6M|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  509|  14.6M|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (509:33): [True: 0, False: 14.6M]
  |  |  ------------------
  ------------------
  836|      0|        return NULL;
  837|      0|    }
  838|  14.6M|    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  839|  14.6M|    PyCFunctionFastWithKeywords cfunc =
  840|  14.6M|        _PyCFunctionFastWithKeywords_CAST(PyCFunction_GET_FUNCTION(callable_o));
  ------------------
  |  |   62|  14.6M|    _Py_FUNC_CAST(PyCFunctionFastWithKeywords, func)
  |  |  ------------------
  |  |  |  |   47|  14.6M|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  841|  14.6M|    res = cfunc(PyCFunction_GET_SELF(callable_o), args_o, total_args, NULL);
  ------------------
  |  |   52|  14.6M|#define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  14.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  842|  14.6M|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  507|  14.6M|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  843|  14.6M|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (843:5): [True: 14.6M, False: 0]
  ------------------
  844|  14.6M|    return res;
  845|  14.6M|}
_PyCallMethodDescriptorFast_StackRef:
  854|  2.52M|{
  855|  2.52M|    PyObject *res;
  856|  2.52M|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  502|  2.52M|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  503|  2.52M|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  857|  2.52M|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  509|  2.52M|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (509:33): [True: 0, False: 2.52M]
  |  |  ------------------
  ------------------
  858|      0|        return NULL;
  859|      0|    }
  860|  2.52M|    assert(self == PyStackRef_AsPyObjectBorrow(arguments[0]));
  ------------------
  |  Branch (860:5): [True: 2.52M, False: 0]
  ------------------
  861|       |
  862|  2.52M|    res = cfunc(self, (args_o + 1), total_args - 1);
  863|  2.52M|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  507|  2.52M|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  864|  2.52M|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (864:5): [True: 2.52M, False: 0]
  ------------------
  865|  2.52M|    return res;
  866|  2.52M|}
_PyCallMethodDescriptorFastWithKeywords_StackRef:
  875|  67.8k|{
  876|  67.8k|    PyObject *res;
  877|  67.8k|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  502|  67.8k|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  503|  67.8k|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  878|  67.8k|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  509|  67.8k|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (509:33): [True: 0, False: 67.8k]
  |  |  ------------------
  ------------------
  879|      0|        return NULL;
  880|      0|    }
  881|  67.8k|    assert(self == PyStackRef_AsPyObjectBorrow(arguments[0]));
  ------------------
  |  Branch (881:5): [True: 67.8k, False: 0]
  ------------------
  882|       |
  883|  67.8k|    res = cfunc(self, (args_o + 1), total_args-1, NULL);
  884|  67.8k|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  507|  67.8k|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  885|  67.8k|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (885:5): [True: 67.8k, False: 0]
  ------------------
  886|  67.8k|    return res;
  887|  67.8k|}
_Py_CallBuiltinClass_StackRef:
  894|  7.85M|{
  895|  7.85M|    PyObject *res;
  896|  7.85M|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  502|  7.85M|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  503|  7.85M|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  897|  7.85M|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  509|  7.85M|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (509:33): [True: 0, False: 7.85M]
  |  |  ------------------
  ------------------
  898|      0|        return NULL;
  899|      0|    }
  900|  7.85M|    PyTypeObject *tp = (PyTypeObject *)PyStackRef_AsPyObjectBorrow(callable);
  901|  7.85M|    res = tp->tp_vectorcall((PyObject *)tp, args_o, total_args | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
  ------------------
  |  |  287|  7.85M|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  7.85M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  902|  7.85M|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  507|  7.85M|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  903|  7.85M|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (903:5): [True: 7.85M, False: 0]
  ------------------
  904|  7.85M|    return res;
  905|  7.85M|}
_Py_BuildString_StackRefSteal:
  911|   355k|{
  912|   355k|    PyObject *res;
  913|   355k|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  502|   355k|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  503|   355k|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  914|   355k|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  509|   355k|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (509:33): [True: 0, False: 355k]
  |  |  ------------------
  ------------------
  915|      0|        res = NULL;
  916|      0|        goto cleanup;
  917|      0|    }
  918|   355k|    res = _PyUnicode_JoinArray(&_Py_STR(empty), args_o, total_args);
  ------------------
  |  |  922|   355k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   355k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   355k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  919|   355k|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  507|   355k|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  920|   355k|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (920:5): [True: 355k, False: 0]
  ------------------
  921|   355k|cleanup:
  922|       |    // arguments is a pointer into the GC visible stack,
  923|       |    // so we must NULL out values as we clear them.
  924|  3.20M|    for (int i = total_args-1; i >= 0; i--) {
  ------------------
  |  Branch (924:32): [True: 2.84M, False: 355k]
  ------------------
  925|  2.84M|        _PyStackRef tmp = arguments[i];
  926|  2.84M|        arguments[i] = PyStackRef_NULL;
  927|  2.84M|        PyStackRef_CLOSE(tmp);
  928|  2.84M|    }
  929|   355k|    return res;
  930|   355k|}
_Py_BuildMap_StackRefSteal:
  936|  10.7k|{
  937|  10.7k|    PyObject *res;
  938|  10.7k|    STACKREFS_TO_PYOBJECTS(arguments, half_args*2, args_o);
  ------------------
  |  |  502|  10.7k|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  503|  10.7k|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  939|  10.7k|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  509|  10.7k|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (509:33): [True: 0, False: 10.7k]
  |  |  ------------------
  ------------------
  940|      0|        res = NULL;
  941|      0|        goto cleanup;
  942|      0|    }
  943|  10.7k|    res = _PyDict_FromItems(
  944|  10.7k|        args_o, 2,
  945|  10.7k|        args_o+1, 2,
  946|  10.7k|        half_args
  947|  10.7k|    );
  948|  10.7k|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  507|  10.7k|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  949|  10.7k|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (949:5): [True: 10.7k, False: 0]
  ------------------
  950|  10.7k|cleanup:
  951|       |    // arguments is a pointer into the GC visible stack,
  952|       |    // so we must NULL out values as we clear them.
  953|  11.5k|    for (int i = half_args*2-1; i >= 0; i--) {
  ------------------
  |  Branch (953:33): [True: 762, False: 10.7k]
  ------------------
  954|    762|        _PyStackRef tmp = arguments[i];
  955|    762|        arguments[i] = PyStackRef_NULL;
  956|    762|        PyStackRef_CLOSE(tmp);
  957|    762|    }
  958|  10.7k|    return res;
  959|  10.7k|}
_Py_LoadAttr_StackRefSteal:
  965|  1.44M|{
  966|       |    // Use _PyCStackRefs to ensure that both method and self are visible to
  967|       |    // the GC. Even though self_or_null is on the evaluation stack, it may be
  968|       |    // after the stackpointer and therefore not visible to the GC.
  969|  1.44M|    _PyCStackRef method, self;
  970|  1.44M|    _PyThreadState_PushCStackRef(tstate, &method);
  971|  1.44M|    _PyThreadState_PushCStackRef(tstate, &self);
  972|  1.44M|    self.ref = owner;  // steal reference to owner
  973|       |    // NOTE: method.ref is initialized to PyStackRef_NULL and remains null on
  974|       |    // error, so we don't need to explicitly use the return code from the call.
  975|  1.44M|    _PyObject_GetMethodStackRef(tstate, &self.ref, name, &method.ref);
  976|  1.44M|    *self_or_null = _PyThreadState_PopCStackRefSteal(tstate, &self);
  977|  1.44M|    return _PyThreadState_PopCStackRefSteal(tstate, &method);
  978|  1.44M|}
_Py_CheckRecursiveCallPy:
 1014|  14.7k|{
 1015|  14.7k|    if (tstate->recursion_headroom) {
  ------------------
  |  Branch (1015:9): [True: 0, False: 14.7k]
  ------------------
 1016|      0|        if (tstate->py_recursion_remaining < -50) {
  ------------------
  |  Branch (1016:13): [True: 0, False: 0]
  ------------------
 1017|       |            /* Overflowing while handling an overflow. Give up. */
 1018|      0|            Py_FatalError("Cannot recover from Python stack overflow.");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
 1019|      0|        }
 1020|      0|    }
 1021|  14.7k|    else {
 1022|  14.7k|        if (tstate->py_recursion_remaining <= 0) {
  ------------------
  |  Branch (1022:13): [True: 14.7k, False: 0]
  ------------------
 1023|  14.7k|            tstate->recursion_headroom++;
 1024|  14.7k|            _PyErr_Format(tstate, PyExc_RecursionError,
 1025|  14.7k|                        "maximum recursion depth exceeded");
 1026|  14.7k|            tstate->recursion_headroom--;
 1027|  14.7k|            return -1;
 1028|  14.7k|        }
 1029|  14.7k|    }
 1030|      0|    return 0;
 1031|  14.7k|}
_PyObjectArray_FromStackRefArray:
 1053|  27.9M|{
 1054|  27.9M|    PyObject **result;
 1055|  27.9M|    if (nargs > MAX_STACKREF_SCRATCH) {
  ------------------
  |  |  498|  27.9M|#define MAX_STACKREF_SCRATCH 10
  ------------------
  |  Branch (1055:9): [True: 17, False: 27.9M]
  ------------------
 1056|       |        // +1 in case PY_VECTORCALL_ARGUMENTS_OFFSET is set.
 1057|     17|        result = PyMem_Malloc((nargs + 1) * sizeof(PyObject *));
 1058|     17|        if (result == NULL) {
  ------------------
  |  Branch (1058:13): [True: 0, False: 17]
  ------------------
 1059|      0|            PyErr_NoMemory();
 1060|      0|            return NULL;
 1061|      0|        }
 1062|     17|    }
 1063|  27.9M|    else {
 1064|  27.9M|        result = scratch;
 1065|  27.9M|    }
 1066|  27.9M|    result++;
 1067|  27.9M|    result[0] = NULL; /* Keep GCC happy */
 1068|  79.7M|    for (int i = 0; i < nargs; i++) {
  ------------------
  |  Branch (1068:21): [True: 51.8M, False: 27.9M]
  ------------------
 1069|  51.8M|        result[i] = PyStackRef_AsPyObjectBorrow(input[i]);
 1070|  51.8M|    }
 1071|  27.9M|    return result;
 1072|  27.9M|}
_PyObjectArray_Free:
 1076|  27.9M|{
 1077|  27.9M|    if (array != scratch) {
  ------------------
  |  Branch (1077:9): [True: 17, False: 27.9M]
  ------------------
 1078|     17|        PyMem_Free(array);
 1079|     17|    }
 1080|  27.9M|}
_PyEval_GetIter:
 1118|  5.66M|{
 1119|  5.66M|    PyTypeObject *tp = PyStackRef_TYPE(iterable);
 1120|  5.66M|    if (tp->_tp_iteritem != NULL) {
  ------------------
  |  Branch (1120:9): [True: 1.90k, False: 5.66M]
  ------------------
 1121|       |        /* Leave iterable on stack and pushed tagged 0 */
 1122|  1.90k|        *index_or_null = PyStackRef_TagInt(0);
 1123|  1.90k|        return iterable;
 1124|  1.90k|    }
 1125|  5.66M|    *index_or_null = PyStackRef_NULL;
 1126|  5.66M|    if (tp->tp_iter == PyObject_SelfIter) {
  ------------------
  |  Branch (1126:9): [True: 12, False: 5.66M]
  ------------------
 1127|     12|        return iterable;
 1128|     12|    }
 1129|  5.66M|    if (yield_from && tp == &PyCoro_Type) {
  ------------------
  |  Branch (1129:9): [True: 0, False: 5.66M]
  |  Branch (1129:23): [True: 0, False: 0]
  ------------------
 1130|      0|        assert(yield_from != GET_ITER_YIELD_FROM);
  ------------------
  |  Branch (1130:9): [True: 0, False: 0]
  ------------------
 1131|      0|        if (yield_from == GET_ITER_YIELD_FROM_CORO_CHECK) {
  ------------------
  |  |   99|      0|#define GET_ITER_YIELD_FROM_CORO_CHECK 3
  ------------------
  |  Branch (1131:13): [True: 0, False: 0]
  ------------------
 1132|       |            /* `iterable` is a coroutine and it is used in a 'yield from'
 1133|       |            * expression of a regular generator. */
 1134|      0|            PyErr_SetString(PyExc_TypeError,
 1135|      0|                            "cannot 'yield from' a coroutine object "
 1136|      0|                            "in a non-coroutine generator");
 1137|      0|            PyStackRef_CLOSE(iterable);
 1138|      0|            return PyStackRef_ERROR;
 1139|      0|        }
 1140|      0|        return iterable;
 1141|      0|    }
 1142|       |    /* Pop iterable, and push iterator then NULL */
 1143|  5.66M|    PyObject *iter_o = PyObject_GetIter(PyStackRef_AsPyObjectBorrow(iterable));
 1144|  5.66M|    PyStackRef_CLOSE(iterable);
 1145|  5.66M|    if (iter_o == NULL) {
  ------------------
  |  Branch (1145:9): [True: 0, False: 5.66M]
  ------------------
 1146|      0|        return PyStackRef_ERROR;
 1147|      0|    }
 1148|  5.66M|    return PyStackRef_FromPyObjectSteal(iter_o);
 1149|  5.66M|}
_PyEval_StoreName:
 1152|  5.80k|{
 1153|  5.80k|    int deletion = PyStackRef_IsNull(v);
  ------------------
  |  |  482|  5.80k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  5.80k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  5.80k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1154|       |
 1155|  5.80k|    if (ns == NULL) {
  ------------------
  |  Branch (1155:9): [True: 0, False: 5.80k]
  ------------------
 1156|      0|        const char *msg = deletion
  ------------------
  |  Branch (1156:27): [True: 0, False: 0]
  ------------------
 1157|      0|            ? "no locals found when deleting %R"
 1158|      0|            : "no locals found when storing %R";
 1159|      0|        _PyErr_Format(tstate, PyExc_SystemError, msg, name);
 1160|      0|        return 1;
 1161|      0|    }
 1162|       |
 1163|  5.80k|    if (deletion) {
  ------------------
  |  Branch (1163:9): [True: 40, False: 5.76k]
  ------------------
 1164|     40|        int error = PyObject_DelItem(ns, name);
 1165|     40|        if (error) {
  ------------------
  |  Branch (1165:13): [True: 0, False: 40]
  ------------------
 1166|      0|            _PyEval_FormatExcCheckArg(tstate, PyExc_NameError,
 1167|      0|                                    NAME_ERROR_MSG,
  ------------------
  |  |  385|      0|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  ------------------
 1168|      0|                                    name);
 1169|      0|        }
 1170|     40|        return error;
 1171|     40|    }
 1172|       |
 1173|  5.76k|    PyObject *v_o = PyStackRef_AsPyObjectBorrow(v);
 1174|  5.76k|    if (PyDict_CheckExact(ns)) {
  ------------------
  |  |   19|  5.76k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |   65|  5.76k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.76k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 5.69k, False: 79]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1175|  5.69k|        return PyDict_SetItem(ns, name, v_o);
 1176|  5.69k|    }
 1177|       |
 1178|     79|    return PyObject_SetItem(ns, name, v_o);
 1179|  5.76k|}
_PyEval_EvalFrameDefault:
 1230|  21.0M|{
 1231|  21.0M|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  196|  21.0M|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
 1232|  21.0M|    check_invalid_reentrancy();
 1233|  21.0M|    CALL_STAT_INC(pyeval_calls);
  ------------------
  |  |   76|  21.0M|#define CALL_STAT_INC(name) ((void)0)
  ------------------
 1234|       |
 1235|  21.0M|#if USE_COMPUTED_GOTOS && !_Py_TAIL_CALL_INTERP
 1236|       |/* Import the static jump table */
 1237|  21.0M|#include "opcode_targets.h"
  ------------------
  |  |    1|  21.0M|#if !_Py_TAIL_CALL_INTERP
  |  |    2|  21.0M|static void *opcode_targets_table[256] = {
  |  |    3|  21.0M|    &&TARGET_CACHE,
  |  |    4|  21.0M|    &&TARGET_BINARY_SLICE,
  |  |    5|  21.0M|    &&TARGET_BUILD_TEMPLATE,
  |  |    6|  21.0M|    &&TARGET_BINARY_OP_INPLACE_ADD_UNICODE,
  |  |    7|  21.0M|    &&TARGET_CALL_FUNCTION_EX,
  |  |    8|  21.0M|    &&TARGET_CHECK_EG_MATCH,
  |  |    9|  21.0M|    &&TARGET_CHECK_EXC_MATCH,
  |  |   10|  21.0M|    &&TARGET_CLEANUP_THROW,
  |  |   11|  21.0M|    &&TARGET_DELETE_SUBSCR,
  |  |   12|  21.0M|    &&TARGET_END_FOR,
  |  |   13|  21.0M|    &&TARGET_END_SEND,
  |  |   14|  21.0M|    &&TARGET_EXIT_INIT_CHECK,
  |  |   15|  21.0M|    &&TARGET_FORMAT_SIMPLE,
  |  |   16|  21.0M|    &&TARGET_FORMAT_WITH_SPEC,
  |  |   17|  21.0M|    &&TARGET_GET_AITER,
  |  |   18|  21.0M|    &&TARGET_GET_ANEXT,
  |  |   19|  21.0M|    &&TARGET_GET_LEN,
  |  |   20|  21.0M|    &&TARGET_RESERVED,
  |  |   21|  21.0M|    &&TARGET_INTERPRETER_EXIT,
  |  |   22|  21.0M|    &&TARGET_LOAD_BUILD_CLASS,
  |  |   23|  21.0M|    &&TARGET_LOAD_LOCALS,
  |  |   24|  21.0M|    &&TARGET_MAKE_FUNCTION,
  |  |   25|  21.0M|    &&TARGET_MATCH_KEYS,
  |  |   26|  21.0M|    &&TARGET_MATCH_MAPPING,
  |  |   27|  21.0M|    &&TARGET_MATCH_SEQUENCE,
  |  |   28|  21.0M|    &&TARGET_NOP,
  |  |   29|  21.0M|    &&TARGET_NOT_TAKEN,
  |  |   30|  21.0M|    &&TARGET_POP_EXCEPT,
  |  |   31|  21.0M|    &&TARGET_POP_ITER,
  |  |   32|  21.0M|    &&TARGET_POP_TOP,
  |  |   33|  21.0M|    &&TARGET_PUSH_EXC_INFO,
  |  |   34|  21.0M|    &&TARGET_PUSH_NULL,
  |  |   35|  21.0M|    &&TARGET_RETURN_GENERATOR,
  |  |   36|  21.0M|    &&TARGET_RETURN_VALUE,
  |  |   37|  21.0M|    &&TARGET_SETUP_ANNOTATIONS,
  |  |   38|  21.0M|    &&TARGET_STORE_SLICE,
  |  |   39|  21.0M|    &&TARGET_STORE_SUBSCR,
  |  |   40|  21.0M|    &&TARGET_TO_BOOL,
  |  |   41|  21.0M|    &&TARGET_UNARY_INVERT,
  |  |   42|  21.0M|    &&TARGET_UNARY_NEGATIVE,
  |  |   43|  21.0M|    &&TARGET_UNARY_NOT,
  |  |   44|  21.0M|    &&TARGET_WITH_EXCEPT_START,
  |  |   45|  21.0M|    &&TARGET_BINARY_OP,
  |  |   46|  21.0M|    &&TARGET_BUILD_INTERPOLATION,
  |  |   47|  21.0M|    &&TARGET_BUILD_LIST,
  |  |   48|  21.0M|    &&TARGET_BUILD_MAP,
  |  |   49|  21.0M|    &&TARGET_BUILD_SET,
  |  |   50|  21.0M|    &&TARGET_BUILD_SLICE,
  |  |   51|  21.0M|    &&TARGET_BUILD_STRING,
  |  |   52|  21.0M|    &&TARGET_BUILD_TUPLE,
  |  |   53|  21.0M|    &&TARGET_CALL,
  |  |   54|  21.0M|    &&TARGET_CALL_INTRINSIC_1,
  |  |   55|  21.0M|    &&TARGET_CALL_INTRINSIC_2,
  |  |   56|  21.0M|    &&TARGET_CALL_KW,
  |  |   57|  21.0M|    &&TARGET_COMPARE_OP,
  |  |   58|  21.0M|    &&TARGET_CONTAINS_OP,
  |  |   59|  21.0M|    &&TARGET_CONVERT_VALUE,
  |  |   60|  21.0M|    &&TARGET_COPY,
  |  |   61|  21.0M|    &&TARGET_COPY_FREE_VARS,
  |  |   62|  21.0M|    &&TARGET_DELETE_DEREF,
  |  |   63|  21.0M|    &&TARGET_DELETE_FAST,
  |  |   64|  21.0M|    &&TARGET_DICT_MERGE,
  |  |   65|  21.0M|    &&TARGET_DICT_UPDATE,
  |  |   66|  21.0M|    &&TARGET_END_ASYNC_FOR,
  |  |   67|  21.0M|    &&TARGET_EXTENDED_ARG,
  |  |   68|  21.0M|    &&TARGET_FOR_ITER,
  |  |   69|  21.0M|    &&TARGET_GET_AWAITABLE,
  |  |   70|  21.0M|    &&TARGET_GET_ITER,
  |  |   71|  21.0M|    &&TARGET_IMPORT_FROM,
  |  |   72|  21.0M|    &&TARGET_IMPORT_NAME,
  |  |   73|  21.0M|    &&TARGET_IS_OP,
  |  |   74|  21.0M|    &&TARGET_JUMP_BACKWARD,
  |  |   75|  21.0M|    &&TARGET_JUMP_BACKWARD_NO_INTERRUPT,
  |  |   76|  21.0M|    &&TARGET_JUMP_FORWARD,
  |  |   77|  21.0M|    &&TARGET_LIST_APPEND,
  |  |   78|  21.0M|    &&TARGET_LIST_EXTEND,
  |  |   79|  21.0M|    &&TARGET_LOAD_ATTR,
  |  |   80|  21.0M|    &&TARGET_LOAD_COMMON_CONSTANT,
  |  |   81|  21.0M|    &&TARGET_LOAD_CONST,
  |  |   82|  21.0M|    &&TARGET_LOAD_DEREF,
  |  |   83|  21.0M|    &&TARGET_LOAD_FAST,
  |  |   84|  21.0M|    &&TARGET_LOAD_FAST_AND_CLEAR,
  |  |   85|  21.0M|    &&TARGET_LOAD_FAST_BORROW,
  |  |   86|  21.0M|    &&TARGET_LOAD_FAST_BORROW_LOAD_FAST_BORROW,
  |  |   87|  21.0M|    &&TARGET_LOAD_FAST_CHECK,
  |  |   88|  21.0M|    &&TARGET_LOAD_FAST_LOAD_FAST,
  |  |   89|  21.0M|    &&TARGET_LOAD_FROM_DICT_OR_DEREF,
  |  |   90|  21.0M|    &&TARGET_LOAD_FROM_DICT_OR_GLOBALS,
  |  |   91|  21.0M|    &&TARGET_LOAD_GLOBAL,
  |  |   92|  21.0M|    &&TARGET_LOAD_NAME,
  |  |   93|  21.0M|    &&TARGET_LOAD_SMALL_INT,
  |  |   94|  21.0M|    &&TARGET_LOAD_SPECIAL,
  |  |   95|  21.0M|    &&TARGET_LOAD_SUPER_ATTR,
  |  |   96|  21.0M|    &&TARGET_MAKE_CELL,
  |  |   97|  21.0M|    &&TARGET_MAP_ADD,
  |  |   98|  21.0M|    &&TARGET_MATCH_CLASS,
  |  |   99|  21.0M|    &&TARGET_POP_JUMP_IF_FALSE,
  |  |  100|  21.0M|    &&TARGET_POP_JUMP_IF_NONE,
  |  |  101|  21.0M|    &&TARGET_POP_JUMP_IF_NOT_NONE,
  |  |  102|  21.0M|    &&TARGET_POP_JUMP_IF_TRUE,
  |  |  103|  21.0M|    &&TARGET_RAISE_VARARGS,
  |  |  104|  21.0M|    &&TARGET_RERAISE,
  |  |  105|  21.0M|    &&TARGET_SEND,
  |  |  106|  21.0M|    &&TARGET_SET_ADD,
  |  |  107|  21.0M|    &&TARGET_SET_FUNCTION_ATTRIBUTE,
  |  |  108|  21.0M|    &&TARGET_SET_UPDATE,
  |  |  109|  21.0M|    &&TARGET_STORE_ATTR,
  |  |  110|  21.0M|    &&TARGET_STORE_DEREF,
  |  |  111|  21.0M|    &&TARGET_STORE_FAST,
  |  |  112|  21.0M|    &&TARGET_STORE_FAST_LOAD_FAST,
  |  |  113|  21.0M|    &&TARGET_STORE_FAST_STORE_FAST,
  |  |  114|  21.0M|    &&TARGET_STORE_GLOBAL,
  |  |  115|  21.0M|    &&TARGET_STORE_NAME,
  |  |  116|  21.0M|    &&TARGET_SWAP,
  |  |  117|  21.0M|    &&TARGET_UNPACK_EX,
  |  |  118|  21.0M|    &&TARGET_UNPACK_SEQUENCE,
  |  |  119|  21.0M|    &&TARGET_YIELD_VALUE,
  |  |  120|  21.0M|    &&_unknown_opcode,
  |  |  121|  21.0M|    &&_unknown_opcode,
  |  |  122|  21.0M|    &&_unknown_opcode,
  |  |  123|  21.0M|    &&_unknown_opcode,
  |  |  124|  21.0M|    &&_unknown_opcode,
  |  |  125|  21.0M|    &&_unknown_opcode,
  |  |  126|  21.0M|    &&_unknown_opcode,
  |  |  127|  21.0M|    &&_unknown_opcode,
  |  |  128|  21.0M|    &&_unknown_opcode,
  |  |  129|  21.0M|    &&_unknown_opcode,
  |  |  130|  21.0M|    &&_unknown_opcode,
  |  |  131|  21.0M|    &&TARGET_RESUME,
  |  |  132|  21.0M|    &&TARGET_BINARY_OP_ADD_FLOAT,
  |  |  133|  21.0M|    &&TARGET_BINARY_OP_ADD_INT,
  |  |  134|  21.0M|    &&TARGET_BINARY_OP_ADD_UNICODE,
  |  |  135|  21.0M|    &&TARGET_BINARY_OP_EXTEND,
  |  |  136|  21.0M|    &&TARGET_BINARY_OP_MULTIPLY_FLOAT,
  |  |  137|  21.0M|    &&TARGET_BINARY_OP_MULTIPLY_INT,
  |  |  138|  21.0M|    &&TARGET_BINARY_OP_SUBSCR_DICT,
  |  |  139|  21.0M|    &&TARGET_BINARY_OP_SUBSCR_GETITEM,
  |  |  140|  21.0M|    &&TARGET_BINARY_OP_SUBSCR_LIST_INT,
  |  |  141|  21.0M|    &&TARGET_BINARY_OP_SUBSCR_LIST_SLICE,
  |  |  142|  21.0M|    &&TARGET_BINARY_OP_SUBSCR_STR_INT,
  |  |  143|  21.0M|    &&TARGET_BINARY_OP_SUBSCR_TUPLE_INT,
  |  |  144|  21.0M|    &&TARGET_BINARY_OP_SUBSCR_USTR_INT,
  |  |  145|  21.0M|    &&TARGET_BINARY_OP_SUBTRACT_FLOAT,
  |  |  146|  21.0M|    &&TARGET_BINARY_OP_SUBTRACT_INT,
  |  |  147|  21.0M|    &&TARGET_CALL_ALLOC_AND_ENTER_INIT,
  |  |  148|  21.0M|    &&TARGET_CALL_BOUND_METHOD_EXACT_ARGS,
  |  |  149|  21.0M|    &&TARGET_CALL_BOUND_METHOD_GENERAL,
  |  |  150|  21.0M|    &&TARGET_CALL_BUILTIN_CLASS,
  |  |  151|  21.0M|    &&TARGET_CALL_BUILTIN_FAST,
  |  |  152|  21.0M|    &&TARGET_CALL_BUILTIN_FAST_WITH_KEYWORDS,
  |  |  153|  21.0M|    &&TARGET_CALL_BUILTIN_O,
  |  |  154|  21.0M|    &&TARGET_CALL_EX_NON_PY_GENERAL,
  |  |  155|  21.0M|    &&TARGET_CALL_EX_PY,
  |  |  156|  21.0M|    &&TARGET_CALL_ISINSTANCE,
  |  |  157|  21.0M|    &&TARGET_CALL_KW_BOUND_METHOD,
  |  |  158|  21.0M|    &&TARGET_CALL_KW_NON_PY,
  |  |  159|  21.0M|    &&TARGET_CALL_KW_PY,
  |  |  160|  21.0M|    &&TARGET_CALL_LEN,
  |  |  161|  21.0M|    &&TARGET_CALL_LIST_APPEND,
  |  |  162|  21.0M|    &&TARGET_CALL_METHOD_DESCRIPTOR_FAST,
  |  |  163|  21.0M|    &&TARGET_CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS,
  |  |  164|  21.0M|    &&TARGET_CALL_METHOD_DESCRIPTOR_NOARGS,
  |  |  165|  21.0M|    &&TARGET_CALL_METHOD_DESCRIPTOR_O,
  |  |  166|  21.0M|    &&TARGET_CALL_NON_PY_GENERAL,
  |  |  167|  21.0M|    &&TARGET_CALL_PY_EXACT_ARGS,
  |  |  168|  21.0M|    &&TARGET_CALL_PY_GENERAL,
  |  |  169|  21.0M|    &&TARGET_CALL_STR_1,
  |  |  170|  21.0M|    &&TARGET_CALL_TUPLE_1,
  |  |  171|  21.0M|    &&TARGET_CALL_TYPE_1,
  |  |  172|  21.0M|    &&TARGET_COMPARE_OP_FLOAT,
  |  |  173|  21.0M|    &&TARGET_COMPARE_OP_INT,
  |  |  174|  21.0M|    &&TARGET_COMPARE_OP_STR,
  |  |  175|  21.0M|    &&TARGET_CONTAINS_OP_DICT,
  |  |  176|  21.0M|    &&TARGET_CONTAINS_OP_SET,
  |  |  177|  21.0M|    &&TARGET_FOR_ITER_GEN,
  |  |  178|  21.0M|    &&TARGET_FOR_ITER_LIST,
  |  |  179|  21.0M|    &&TARGET_FOR_ITER_RANGE,
  |  |  180|  21.0M|    &&TARGET_FOR_ITER_TUPLE,
  |  |  181|  21.0M|    &&TARGET_FOR_ITER_VIRTUAL,
  |  |  182|  21.0M|    &&TARGET_GET_ITER_SELF,
  |  |  183|  21.0M|    &&TARGET_GET_ITER_VIRTUAL,
  |  |  184|  21.0M|    &&TARGET_JUMP_BACKWARD_JIT,
  |  |  185|  21.0M|    &&TARGET_JUMP_BACKWARD_NO_JIT,
  |  |  186|  21.0M|    &&TARGET_LOAD_ATTR_CLASS,
  |  |  187|  21.0M|    &&TARGET_LOAD_ATTR_CLASS_WITH_METACLASS_CHECK,
  |  |  188|  21.0M|    &&TARGET_LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN,
  |  |  189|  21.0M|    &&TARGET_LOAD_ATTR_INSTANCE_VALUE,
  |  |  190|  21.0M|    &&TARGET_LOAD_ATTR_METHOD_LAZY_DICT,
  |  |  191|  21.0M|    &&TARGET_LOAD_ATTR_METHOD_NO_DICT,
  |  |  192|  21.0M|    &&TARGET_LOAD_ATTR_METHOD_WITH_VALUES,
  |  |  193|  21.0M|    &&TARGET_LOAD_ATTR_MODULE,
  |  |  194|  21.0M|    &&TARGET_LOAD_ATTR_NONDESCRIPTOR_NO_DICT,
  |  |  195|  21.0M|    &&TARGET_LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES,
  |  |  196|  21.0M|    &&TARGET_LOAD_ATTR_PROPERTY,
  |  |  197|  21.0M|    &&TARGET_LOAD_ATTR_SLOT,
  |  |  198|  21.0M|    &&TARGET_LOAD_ATTR_WITH_HINT,
  |  |  199|  21.0M|    &&TARGET_LOAD_GLOBAL_BUILTIN,
  |  |  200|  21.0M|    &&TARGET_LOAD_GLOBAL_MODULE,
  |  |  201|  21.0M|    &&TARGET_LOAD_SUPER_ATTR_ATTR,
  |  |  202|  21.0M|    &&TARGET_LOAD_SUPER_ATTR_METHOD,
  |  |  203|  21.0M|    &&TARGET_RESUME_CHECK,
  |  |  204|  21.0M|    &&TARGET_RESUME_CHECK_JIT,
  |  |  205|  21.0M|    &&TARGET_SEND_ASYNC_GEN,
  |  |  206|  21.0M|    &&TARGET_SEND_GEN,
  |  |  207|  21.0M|    &&TARGET_SEND_VIRTUAL,
  |  |  208|  21.0M|    &&TARGET_STORE_ATTR_INSTANCE_VALUE,
  |  |  209|  21.0M|    &&TARGET_STORE_ATTR_SLOT,
  |  |  210|  21.0M|    &&TARGET_STORE_ATTR_WITH_HINT,
  |  |  211|  21.0M|    &&TARGET_STORE_SUBSCR_DICT,
  |  |  212|  21.0M|    &&TARGET_STORE_SUBSCR_LIST_INT,
  |  |  213|  21.0M|    &&TARGET_TO_BOOL_ALWAYS_TRUE,
  |  |  214|  21.0M|    &&TARGET_TO_BOOL_BOOL,
  |  |  215|  21.0M|    &&TARGET_TO_BOOL_INT,
  |  |  216|  21.0M|    &&TARGET_TO_BOOL_LIST,
  |  |  217|  21.0M|    &&TARGET_TO_BOOL_NONE,
  |  |  218|  21.0M|    &&TARGET_TO_BOOL_STR,
  |  |  219|  21.0M|    &&TARGET_UNPACK_SEQUENCE_LIST,
  |  |  220|  21.0M|    &&TARGET_UNPACK_SEQUENCE_TUPLE,
  |  |  221|  21.0M|    &&TARGET_UNPACK_SEQUENCE_TWO_TUPLE,
  |  |  222|  21.0M|    &&_unknown_opcode,
  |  |  223|  21.0M|    &&_unknown_opcode,
  |  |  224|  21.0M|    &&_unknown_opcode,
  |  |  225|  21.0M|    &&_unknown_opcode,
  |  |  226|  21.0M|    &&_unknown_opcode,
  |  |  227|  21.0M|    &&_unknown_opcode,
  |  |  228|  21.0M|    &&_unknown_opcode,
  |  |  229|  21.0M|    &&_unknown_opcode,
  |  |  230|  21.0M|    &&_unknown_opcode,
  |  |  231|  21.0M|    &&_unknown_opcode,
  |  |  232|  21.0M|    &&_unknown_opcode,
  |  |  233|  21.0M|    &&_unknown_opcode,
  |  |  234|  21.0M|    &&_unknown_opcode,
  |  |  235|  21.0M|    &&_unknown_opcode,
  |  |  236|  21.0M|    &&TARGET_INSTRUMENTED_END_FOR,
  |  |  237|  21.0M|    &&TARGET_INSTRUMENTED_POP_ITER,
  |  |  238|  21.0M|    &&TARGET_INSTRUMENTED_END_SEND,
  |  |  239|  21.0M|    &&TARGET_INSTRUMENTED_FOR_ITER,
  |  |  240|  21.0M|    &&TARGET_INSTRUMENTED_INSTRUCTION,
  |  |  241|  21.0M|    &&TARGET_INSTRUMENTED_JUMP_FORWARD,
  |  |  242|  21.0M|    &&TARGET_INSTRUMENTED_NOT_TAKEN,
  |  |  243|  21.0M|    &&TARGET_INSTRUMENTED_POP_JUMP_IF_TRUE,
  |  |  244|  21.0M|    &&TARGET_INSTRUMENTED_POP_JUMP_IF_FALSE,
  |  |  245|  21.0M|    &&TARGET_INSTRUMENTED_POP_JUMP_IF_NONE,
  |  |  246|  21.0M|    &&TARGET_INSTRUMENTED_POP_JUMP_IF_NOT_NONE,
  |  |  247|  21.0M|    &&TARGET_INSTRUMENTED_RESUME,
  |  |  248|  21.0M|    &&TARGET_INSTRUMENTED_RETURN_VALUE,
  |  |  249|  21.0M|    &&TARGET_INSTRUMENTED_YIELD_VALUE,
  |  |  250|  21.0M|    &&TARGET_INSTRUMENTED_END_ASYNC_FOR,
  |  |  251|  21.0M|    &&TARGET_INSTRUMENTED_LOAD_SUPER_ATTR,
  |  |  252|  21.0M|    &&TARGET_INSTRUMENTED_CALL,
  |  |  253|  21.0M|    &&TARGET_INSTRUMENTED_CALL_KW,
  |  |  254|  21.0M|    &&TARGET_INSTRUMENTED_CALL_FUNCTION_EX,
  |  |  255|  21.0M|    &&TARGET_INSTRUMENTED_JUMP_BACKWARD,
  |  |  256|  21.0M|    &&TARGET_INSTRUMENTED_LINE,
  |  |  257|  21.0M|    &&TARGET_ENTER_EXECUTOR,
  |  |  258|  21.0M|    &&TARGET_TRACE_RECORD,
  |  |  259|  21.0M|};
  |  |  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|       |    &&_unknown_opcode,
  |  |  380|       |    &&_unknown_opcode,
  |  |  381|       |    &&_unknown_opcode,
  |  |  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_DEREF(TAIL_CALL_PARAMS);
  |  |  605|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_DELETE_FAST(TAIL_CALL_PARAMS);
  |  |  606|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_DELETE_SUBSCR(TAIL_CALL_PARAMS);
  |  |  607|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_DICT_MERGE(TAIL_CALL_PARAMS);
  |  |  608|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_DICT_UPDATE(TAIL_CALL_PARAMS);
  |  |  609|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_END_ASYNC_FOR(TAIL_CALL_PARAMS);
  |  |  610|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_END_FOR(TAIL_CALL_PARAMS);
  |  |  611|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_END_SEND(TAIL_CALL_PARAMS);
  |  |  612|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_ENTER_EXECUTOR(TAIL_CALL_PARAMS);
  |  |  613|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_EXIT_INIT_CHECK(TAIL_CALL_PARAMS);
  |  |  614|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_EXTENDED_ARG(TAIL_CALL_PARAMS);
  |  |  615|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_FORMAT_SIMPLE(TAIL_CALL_PARAMS);
  |  |  616|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_FORMAT_WITH_SPEC(TAIL_CALL_PARAMS);
  |  |  617|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_FOR_ITER(TAIL_CALL_PARAMS);
  |  |  618|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_FOR_ITER_GEN(TAIL_CALL_PARAMS);
  |  |  619|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_FOR_ITER_LIST(TAIL_CALL_PARAMS);
  |  |  620|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_FOR_ITER_RANGE(TAIL_CALL_PARAMS);
  |  |  621|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_FOR_ITER_TUPLE(TAIL_CALL_PARAMS);
  |  |  622|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_FOR_ITER_VIRTUAL(TAIL_CALL_PARAMS);
  |  |  623|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_GET_AITER(TAIL_CALL_PARAMS);
  |  |  624|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_GET_ANEXT(TAIL_CALL_PARAMS);
  |  |  625|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_GET_AWAITABLE(TAIL_CALL_PARAMS);
  |  |  626|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_GET_ITER(TAIL_CALL_PARAMS);
  |  |  627|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_GET_ITER_SELF(TAIL_CALL_PARAMS);
  |  |  628|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_GET_ITER_VIRTUAL(TAIL_CALL_PARAMS);
  |  |  629|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_GET_LEN(TAIL_CALL_PARAMS);
  |  |  630|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_IMPORT_FROM(TAIL_CALL_PARAMS);
  |  |  631|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_IMPORT_NAME(TAIL_CALL_PARAMS);
  |  |  632|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_CALL(TAIL_CALL_PARAMS);
  |  |  633|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_CALL_FUNCTION_EX(TAIL_CALL_PARAMS);
  |  |  634|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_CALL_KW(TAIL_CALL_PARAMS);
  |  |  635|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_END_ASYNC_FOR(TAIL_CALL_PARAMS);
  |  |  636|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_END_FOR(TAIL_CALL_PARAMS);
  |  |  637|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_END_SEND(TAIL_CALL_PARAMS);
  |  |  638|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_FOR_ITER(TAIL_CALL_PARAMS);
  |  |  639|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_INSTRUCTION(TAIL_CALL_PARAMS);
  |  |  640|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_JUMP_BACKWARD(TAIL_CALL_PARAMS);
  |  |  641|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_JUMP_FORWARD(TAIL_CALL_PARAMS);
  |  |  642|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_LINE(TAIL_CALL_PARAMS);
  |  |  643|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_LOAD_SUPER_ATTR(TAIL_CALL_PARAMS);
  |  |  644|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_NOT_TAKEN(TAIL_CALL_PARAMS);
  |  |  645|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_POP_ITER(TAIL_CALL_PARAMS);
  |  |  646|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_POP_JUMP_IF_FALSE(TAIL_CALL_PARAMS);
  |  |  647|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_POP_JUMP_IF_NONE(TAIL_CALL_PARAMS);
  |  |  648|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_POP_JUMP_IF_NOT_NONE(TAIL_CALL_PARAMS);
  |  |  649|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_POP_JUMP_IF_TRUE(TAIL_CALL_PARAMS);
  |  |  650|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_RESUME(TAIL_CALL_PARAMS);
  |  |  651|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_RETURN_VALUE(TAIL_CALL_PARAMS);
  |  |  652|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_YIELD_VALUE(TAIL_CALL_PARAMS);
  |  |  653|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INTERPRETER_EXIT(TAIL_CALL_PARAMS);
  |  |  654|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_IS_OP(TAIL_CALL_PARAMS);
  |  |  655|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_JUMP_BACKWARD(TAIL_CALL_PARAMS);
  |  |  656|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_JUMP_BACKWARD_JIT(TAIL_CALL_PARAMS);
  |  |  657|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_JUMP_BACKWARD_NO_INTERRUPT(TAIL_CALL_PARAMS);
  |  |  658|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_JUMP_BACKWARD_NO_JIT(TAIL_CALL_PARAMS);
  |  |  659|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_JUMP_FORWARD(TAIL_CALL_PARAMS);
  |  |  660|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LIST_APPEND(TAIL_CALL_PARAMS);
  |  |  661|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LIST_EXTEND(TAIL_CALL_PARAMS);
  |  |  662|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR(TAIL_CALL_PARAMS);
  |  |  663|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR_CLASS(TAIL_CALL_PARAMS);
  |  |  664|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR_CLASS_WITH_METACLASS_CHECK(TAIL_CALL_PARAMS);
  |  |  665|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN(TAIL_CALL_PARAMS);
  |  |  666|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR_INSTANCE_VALUE(TAIL_CALL_PARAMS);
  |  |  667|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR_METHOD_LAZY_DICT(TAIL_CALL_PARAMS);
  |  |  668|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR_METHOD_NO_DICT(TAIL_CALL_PARAMS);
  |  |  669|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR_METHOD_WITH_VALUES(TAIL_CALL_PARAMS);
  |  |  670|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR_MODULE(TAIL_CALL_PARAMS);
  |  |  671|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR_NONDESCRIPTOR_NO_DICT(TAIL_CALL_PARAMS);
  |  |  672|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES(TAIL_CALL_PARAMS);
  |  |  673|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR_PROPERTY(TAIL_CALL_PARAMS);
  |  |  674|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR_SLOT(TAIL_CALL_PARAMS);
  |  |  675|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR_WITH_HINT(TAIL_CALL_PARAMS);
  |  |  676|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_BUILD_CLASS(TAIL_CALL_PARAMS);
  |  |  677|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_COMMON_CONSTANT(TAIL_CALL_PARAMS);
  |  |  678|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_CONST(TAIL_CALL_PARAMS);
  |  |  679|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_DEREF(TAIL_CALL_PARAMS);
  |  |  680|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_FAST(TAIL_CALL_PARAMS);
  |  |  681|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_FAST_AND_CLEAR(TAIL_CALL_PARAMS);
  |  |  682|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_FAST_BORROW(TAIL_CALL_PARAMS);
  |  |  683|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_FAST_BORROW_LOAD_FAST_BORROW(TAIL_CALL_PARAMS);
  |  |  684|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_FAST_CHECK(TAIL_CALL_PARAMS);
  |  |  685|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_FAST_LOAD_FAST(TAIL_CALL_PARAMS);
  |  |  686|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_FROM_DICT_OR_DEREF(TAIL_CALL_PARAMS);
  |  |  687|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_FROM_DICT_OR_GLOBALS(TAIL_CALL_PARAMS);
  |  |  688|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_GLOBAL(TAIL_CALL_PARAMS);
  |  |  689|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_GLOBAL_BUILTIN(TAIL_CALL_PARAMS);
  |  |  690|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_GLOBAL_MODULE(TAIL_CALL_PARAMS);
  |  |  691|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_LOCALS(TAIL_CALL_PARAMS);
  |  |  692|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_NAME(TAIL_CALL_PARAMS);
  |  |  693|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_SMALL_INT(TAIL_CALL_PARAMS);
  |  |  694|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_SPECIAL(TAIL_CALL_PARAMS);
  |  |  695|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_SUPER_ATTR(TAIL_CALL_PARAMS);
  |  |  696|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_SUPER_ATTR_ATTR(TAIL_CALL_PARAMS);
  |  |  697|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_SUPER_ATTR_METHOD(TAIL_CALL_PARAMS);
  |  |  698|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_MAKE_CELL(TAIL_CALL_PARAMS);
  |  |  699|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_MAKE_FUNCTION(TAIL_CALL_PARAMS);
  |  |  700|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_MAP_ADD(TAIL_CALL_PARAMS);
  |  |  701|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_MATCH_CLASS(TAIL_CALL_PARAMS);
  |  |  702|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_MATCH_KEYS(TAIL_CALL_PARAMS);
  |  |  703|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_MATCH_MAPPING(TAIL_CALL_PARAMS);
  |  |  704|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_MATCH_SEQUENCE(TAIL_CALL_PARAMS);
  |  |  705|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_NOP(TAIL_CALL_PARAMS);
  |  |  706|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_NOT_TAKEN(TAIL_CALL_PARAMS);
  |  |  707|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_POP_EXCEPT(TAIL_CALL_PARAMS);
  |  |  708|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_POP_ITER(TAIL_CALL_PARAMS);
  |  |  709|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_POP_JUMP_IF_FALSE(TAIL_CALL_PARAMS);
  |  |  710|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_POP_JUMP_IF_NONE(TAIL_CALL_PARAMS);
  |  |  711|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_POP_JUMP_IF_NOT_NONE(TAIL_CALL_PARAMS);
  |  |  712|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_POP_JUMP_IF_TRUE(TAIL_CALL_PARAMS);
  |  |  713|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_POP_TOP(TAIL_CALL_PARAMS);
  |  |  714|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_PUSH_EXC_INFO(TAIL_CALL_PARAMS);
  |  |  715|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_PUSH_NULL(TAIL_CALL_PARAMS);
  |  |  716|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_RAISE_VARARGS(TAIL_CALL_PARAMS);
  |  |  717|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_RERAISE(TAIL_CALL_PARAMS);
  |  |  718|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_RESERVED(TAIL_CALL_PARAMS);
  |  |  719|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_RESUME(TAIL_CALL_PARAMS);
  |  |  720|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_RESUME_CHECK(TAIL_CALL_PARAMS);
  |  |  721|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_RESUME_CHECK_JIT(TAIL_CALL_PARAMS);
  |  |  722|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_RETURN_GENERATOR(TAIL_CALL_PARAMS);
  |  |  723|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_RETURN_VALUE(TAIL_CALL_PARAMS);
  |  |  724|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_SEND(TAIL_CALL_PARAMS);
  |  |  725|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_SEND_ASYNC_GEN(TAIL_CALL_PARAMS);
  |  |  726|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_SEND_GEN(TAIL_CALL_PARAMS);
  |  |  727|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_SEND_VIRTUAL(TAIL_CALL_PARAMS);
  |  |  728|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_SETUP_ANNOTATIONS(TAIL_CALL_PARAMS);
  |  |  729|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_SET_ADD(TAIL_CALL_PARAMS);
  |  |  730|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_SET_FUNCTION_ATTRIBUTE(TAIL_CALL_PARAMS);
  |  |  731|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_SET_UPDATE(TAIL_CALL_PARAMS);
  |  |  732|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_ATTR(TAIL_CALL_PARAMS);
  |  |  733|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_ATTR_INSTANCE_VALUE(TAIL_CALL_PARAMS);
  |  |  734|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_ATTR_SLOT(TAIL_CALL_PARAMS);
  |  |  735|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_ATTR_WITH_HINT(TAIL_CALL_PARAMS);
  |  |  736|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_DEREF(TAIL_CALL_PARAMS);
  |  |  737|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_FAST(TAIL_CALL_PARAMS);
  |  |  738|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_FAST_LOAD_FAST(TAIL_CALL_PARAMS);
  |  |  739|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_FAST_STORE_FAST(TAIL_CALL_PARAMS);
  |  |  740|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_GLOBAL(TAIL_CALL_PARAMS);
  |  |  741|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_NAME(TAIL_CALL_PARAMS);
  |  |  742|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_SLICE(TAIL_CALL_PARAMS);
  |  |  743|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_SUBSCR(TAIL_CALL_PARAMS);
  |  |  744|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_SUBSCR_DICT(TAIL_CALL_PARAMS);
  |  |  745|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_SUBSCR_LIST_INT(TAIL_CALL_PARAMS);
  |  |  746|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_SWAP(TAIL_CALL_PARAMS);
  |  |  747|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_TO_BOOL(TAIL_CALL_PARAMS);
  |  |  748|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_TO_BOOL_ALWAYS_TRUE(TAIL_CALL_PARAMS);
  |  |  749|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_TO_BOOL_BOOL(TAIL_CALL_PARAMS);
  |  |  750|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_TO_BOOL_INT(TAIL_CALL_PARAMS);
  |  |  751|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_TO_BOOL_LIST(TAIL_CALL_PARAMS);
  |  |  752|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_TO_BOOL_NONE(TAIL_CALL_PARAMS);
  |  |  753|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_TO_BOOL_STR(TAIL_CALL_PARAMS);
  |  |  754|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_TRACE_RECORD(TAIL_CALL_PARAMS);
  |  |  755|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_UNARY_INVERT(TAIL_CALL_PARAMS);
  |  |  756|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_UNARY_NEGATIVE(TAIL_CALL_PARAMS);
  |  |  757|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_UNARY_NOT(TAIL_CALL_PARAMS);
  |  |  758|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_UNPACK_EX(TAIL_CALL_PARAMS);
  |  |  759|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_UNPACK_SEQUENCE(TAIL_CALL_PARAMS);
  |  |  760|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_UNPACK_SEQUENCE_LIST(TAIL_CALL_PARAMS);
  |  |  761|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_UNPACK_SEQUENCE_TUPLE(TAIL_CALL_PARAMS);
  |  |  762|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_UNPACK_SEQUENCE_TWO_TUPLE(TAIL_CALL_PARAMS);
  |  |  763|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_WITH_EXCEPT_START(TAIL_CALL_PARAMS);
  |  |  764|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_YIELD_VALUE(TAIL_CALL_PARAMS);
  |  |  765|       |
  |  |  766|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_UNKNOWN_OPCODE(TAIL_CALL_PARAMS) {
  |  |  767|       |    int opcode = next_instr->op.code;
  |  |  768|       |    _PyErr_Format(tstate, PyExc_SystemError,
  |  |  769|       |              "%U:%d: unknown opcode %d",
  |  |  770|       |              _PyFrame_GetCode(frame)->co_filename,
  |  |  771|       |              PyUnstable_InterpreterFrame_GetLine(frame),
  |  |  772|       |              opcode);
  |  |  773|       |JUMP_TO_LABEL(error);
  |  |  774|       |}
  |  |  775|       |
  |  |  776|       |static py_tail_call_funcptr instruction_funcptr_handler_table[256] = {
  |  |  777|       |    [BINARY_OP] = _TAIL_CALL_BINARY_OP,
  |  |  778|       |    [BINARY_OP_ADD_FLOAT] = _TAIL_CALL_BINARY_OP_ADD_FLOAT,
  |  |  779|       |    [BINARY_OP_ADD_INT] = _TAIL_CALL_BINARY_OP_ADD_INT,
  |  |  780|       |    [BINARY_OP_ADD_UNICODE] = _TAIL_CALL_BINARY_OP_ADD_UNICODE,
  |  |  781|       |    [BINARY_OP_EXTEND] = _TAIL_CALL_BINARY_OP_EXTEND,
  |  |  782|       |    [BINARY_OP_INPLACE_ADD_UNICODE] = _TAIL_CALL_BINARY_OP_INPLACE_ADD_UNICODE,
  |  |  783|       |    [BINARY_OP_MULTIPLY_FLOAT] = _TAIL_CALL_BINARY_OP_MULTIPLY_FLOAT,
  |  |  784|       |    [BINARY_OP_MULTIPLY_INT] = _TAIL_CALL_BINARY_OP_MULTIPLY_INT,
  |  |  785|       |    [BINARY_OP_SUBSCR_DICT] = _TAIL_CALL_BINARY_OP_SUBSCR_DICT,
  |  |  786|       |    [BINARY_OP_SUBSCR_GETITEM] = _TAIL_CALL_BINARY_OP_SUBSCR_GETITEM,
  |  |  787|       |    [BINARY_OP_SUBSCR_LIST_INT] = _TAIL_CALL_BINARY_OP_SUBSCR_LIST_INT,
  |  |  788|       |    [BINARY_OP_SUBSCR_LIST_SLICE] = _TAIL_CALL_BINARY_OP_SUBSCR_LIST_SLICE,
  |  |  789|       |    [BINARY_OP_SUBSCR_STR_INT] = _TAIL_CALL_BINARY_OP_SUBSCR_STR_INT,
  |  |  790|       |    [BINARY_OP_SUBSCR_TUPLE_INT] = _TAIL_CALL_BINARY_OP_SUBSCR_TUPLE_INT,
  |  |  791|       |    [BINARY_OP_SUBSCR_USTR_INT] = _TAIL_CALL_BINARY_OP_SUBSCR_USTR_INT,
  |  |  792|       |    [BINARY_OP_SUBTRACT_FLOAT] = _TAIL_CALL_BINARY_OP_SUBTRACT_FLOAT,
  |  |  793|       |    [BINARY_OP_SUBTRACT_INT] = _TAIL_CALL_BINARY_OP_SUBTRACT_INT,
  |  |  794|       |    [BINARY_SLICE] = _TAIL_CALL_BINARY_SLICE,
  |  |  795|       |    [BUILD_INTERPOLATION] = _TAIL_CALL_BUILD_INTERPOLATION,
  |  |  796|       |    [BUILD_LIST] = _TAIL_CALL_BUILD_LIST,
  |  |  797|       |    [BUILD_MAP] = _TAIL_CALL_BUILD_MAP,
  |  |  798|       |    [BUILD_SET] = _TAIL_CALL_BUILD_SET,
  |  |  799|       |    [BUILD_SLICE] = _TAIL_CALL_BUILD_SLICE,
  |  |  800|       |    [BUILD_STRING] = _TAIL_CALL_BUILD_STRING,
  |  |  801|       |    [BUILD_TEMPLATE] = _TAIL_CALL_BUILD_TEMPLATE,
  |  |  802|       |    [BUILD_TUPLE] = _TAIL_CALL_BUILD_TUPLE,
  |  |  803|       |    [CACHE] = _TAIL_CALL_CACHE,
  |  |  804|       |    [CALL] = _TAIL_CALL_CALL,
  |  |  805|       |    [CALL_ALLOC_AND_ENTER_INIT] = _TAIL_CALL_CALL_ALLOC_AND_ENTER_INIT,
  |  |  806|       |    [CALL_BOUND_METHOD_EXACT_ARGS] = _TAIL_CALL_CALL_BOUND_METHOD_EXACT_ARGS,
  |  |  807|       |    [CALL_BOUND_METHOD_GENERAL] = _TAIL_CALL_CALL_BOUND_METHOD_GENERAL,
  |  |  808|       |    [CALL_BUILTIN_CLASS] = _TAIL_CALL_CALL_BUILTIN_CLASS,
  |  |  809|       |    [CALL_BUILTIN_FAST] = _TAIL_CALL_CALL_BUILTIN_FAST,
  |  |  810|       |    [CALL_BUILTIN_FAST_WITH_KEYWORDS] = _TAIL_CALL_CALL_BUILTIN_FAST_WITH_KEYWORDS,
  |  |  811|       |    [CALL_BUILTIN_O] = _TAIL_CALL_CALL_BUILTIN_O,
  |  |  812|       |    [CALL_EX_NON_PY_GENERAL] = _TAIL_CALL_CALL_EX_NON_PY_GENERAL,
  |  |  813|       |    [CALL_EX_PY] = _TAIL_CALL_CALL_EX_PY,
  |  |  814|       |    [CALL_FUNCTION_EX] = _TAIL_CALL_CALL_FUNCTION_EX,
  |  |  815|       |    [CALL_INTRINSIC_1] = _TAIL_CALL_CALL_INTRINSIC_1,
  |  |  816|       |    [CALL_INTRINSIC_2] = _TAIL_CALL_CALL_INTRINSIC_2,
  |  |  817|       |    [CALL_ISINSTANCE] = _TAIL_CALL_CALL_ISINSTANCE,
  |  |  818|       |    [CALL_KW] = _TAIL_CALL_CALL_KW,
  |  |  819|       |    [CALL_KW_BOUND_METHOD] = _TAIL_CALL_CALL_KW_BOUND_METHOD,
  |  |  820|       |    [CALL_KW_NON_PY] = _TAIL_CALL_CALL_KW_NON_PY,
  |  |  821|       |    [CALL_KW_PY] = _TAIL_CALL_CALL_KW_PY,
  |  |  822|       |    [CALL_LEN] = _TAIL_CALL_CALL_LEN,
  |  |  823|       |    [CALL_LIST_APPEND] = _TAIL_CALL_CALL_LIST_APPEND,
  |  |  824|       |    [CALL_METHOD_DESCRIPTOR_FAST] = _TAIL_CALL_CALL_METHOD_DESCRIPTOR_FAST,
  |  |  825|       |    [CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS] = _TAIL_CALL_CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS,
  |  |  826|       |    [CALL_METHOD_DESCRIPTOR_NOARGS] = _TAIL_CALL_CALL_METHOD_DESCRIPTOR_NOARGS,
  |  |  827|       |    [CALL_METHOD_DESCRIPTOR_O] = _TAIL_CALL_CALL_METHOD_DESCRIPTOR_O,
  |  |  828|       |    [CALL_NON_PY_GENERAL] = _TAIL_CALL_CALL_NON_PY_GENERAL,
  |  |  829|       |    [CALL_PY_EXACT_ARGS] = _TAIL_CALL_CALL_PY_EXACT_ARGS,
  |  |  830|       |    [CALL_PY_GENERAL] = _TAIL_CALL_CALL_PY_GENERAL,
  |  |  831|       |    [CALL_STR_1] = _TAIL_CALL_CALL_STR_1,
  |  |  832|       |    [CALL_TUPLE_1] = _TAIL_CALL_CALL_TUPLE_1,
  |  |  833|       |    [CALL_TYPE_1] = _TAIL_CALL_CALL_TYPE_1,
  |  |  834|       |    [CHECK_EG_MATCH] = _TAIL_CALL_CHECK_EG_MATCH,
  |  |  835|       |    [CHECK_EXC_MATCH] = _TAIL_CALL_CHECK_EXC_MATCH,
  |  |  836|       |    [CLEANUP_THROW] = _TAIL_CALL_CLEANUP_THROW,
  |  |  837|       |    [COMPARE_OP] = _TAIL_CALL_COMPARE_OP,
  |  |  838|       |    [COMPARE_OP_FLOAT] = _TAIL_CALL_COMPARE_OP_FLOAT,
  |  |  839|       |    [COMPARE_OP_INT] = _TAIL_CALL_COMPARE_OP_INT,
  |  |  840|       |    [COMPARE_OP_STR] = _TAIL_CALL_COMPARE_OP_STR,
  |  |  841|       |    [CONTAINS_OP] = _TAIL_CALL_CONTAINS_OP,
  |  |  842|       |    [CONTAINS_OP_DICT] = _TAIL_CALL_CONTAINS_OP_DICT,
  |  |  843|       |    [CONTAINS_OP_SET] = _TAIL_CALL_CONTAINS_OP_SET,
  |  |  844|       |    [CONVERT_VALUE] = _TAIL_CALL_CONVERT_VALUE,
  |  |  845|       |    [COPY] = _TAIL_CALL_COPY,
  |  |  846|       |    [COPY_FREE_VARS] = _TAIL_CALL_COPY_FREE_VARS,
  |  |  847|       |    [DELETE_DEREF] = _TAIL_CALL_DELETE_DEREF,
  |  |  848|       |    [DELETE_FAST] = _TAIL_CALL_DELETE_FAST,
  |  |  849|       |    [DELETE_SUBSCR] = _TAIL_CALL_DELETE_SUBSCR,
  |  |  850|       |    [DICT_MERGE] = _TAIL_CALL_DICT_MERGE,
  |  |  851|       |    [DICT_UPDATE] = _TAIL_CALL_DICT_UPDATE,
  |  |  852|       |    [END_ASYNC_FOR] = _TAIL_CALL_END_ASYNC_FOR,
  |  |  853|       |    [END_FOR] = _TAIL_CALL_END_FOR,
  |  |  854|       |    [END_SEND] = _TAIL_CALL_END_SEND,
  |  |  855|       |    [ENTER_EXECUTOR] = _TAIL_CALL_ENTER_EXECUTOR,
  |  |  856|       |    [EXIT_INIT_CHECK] = _TAIL_CALL_EXIT_INIT_CHECK,
  |  |  857|       |    [EXTENDED_ARG] = _TAIL_CALL_EXTENDED_ARG,
  |  |  858|       |    [FORMAT_SIMPLE] = _TAIL_CALL_FORMAT_SIMPLE,
  |  |  859|       |    [FORMAT_WITH_SPEC] = _TAIL_CALL_FORMAT_WITH_SPEC,
  |  |  860|       |    [FOR_ITER] = _TAIL_CALL_FOR_ITER,
  |  |  861|       |    [FOR_ITER_GEN] = _TAIL_CALL_FOR_ITER_GEN,
  |  |  862|       |    [FOR_ITER_LIST] = _TAIL_CALL_FOR_ITER_LIST,
  |  |  863|       |    [FOR_ITER_RANGE] = _TAIL_CALL_FOR_ITER_RANGE,
  |  |  864|       |    [FOR_ITER_TUPLE] = _TAIL_CALL_FOR_ITER_TUPLE,
  |  |  865|       |    [FOR_ITER_VIRTUAL] = _TAIL_CALL_FOR_ITER_VIRTUAL,
  |  |  866|       |    [GET_AITER] = _TAIL_CALL_GET_AITER,
  |  |  867|       |    [GET_ANEXT] = _TAIL_CALL_GET_ANEXT,
  |  |  868|       |    [GET_AWAITABLE] = _TAIL_CALL_GET_AWAITABLE,
  |  |  869|       |    [GET_ITER] = _TAIL_CALL_GET_ITER,
  |  |  870|       |    [GET_ITER_SELF] = _TAIL_CALL_GET_ITER_SELF,
  |  |  871|       |    [GET_ITER_VIRTUAL] = _TAIL_CALL_GET_ITER_VIRTUAL,
  |  |  872|       |    [GET_LEN] = _TAIL_CALL_GET_LEN,
  |  |  873|       |    [IMPORT_FROM] = _TAIL_CALL_IMPORT_FROM,
  |  |  874|       |    [IMPORT_NAME] = _TAIL_CALL_IMPORT_NAME,
  |  |  875|       |    [INSTRUMENTED_CALL] = _TAIL_CALL_INSTRUMENTED_CALL,
  |  |  876|       |    [INSTRUMENTED_CALL_FUNCTION_EX] = _TAIL_CALL_INSTRUMENTED_CALL_FUNCTION_EX,
  |  |  877|       |    [INSTRUMENTED_CALL_KW] = _TAIL_CALL_INSTRUMENTED_CALL_KW,
  |  |  878|       |    [INSTRUMENTED_END_ASYNC_FOR] = _TAIL_CALL_INSTRUMENTED_END_ASYNC_FOR,
  |  |  879|       |    [INSTRUMENTED_END_FOR] = _TAIL_CALL_INSTRUMENTED_END_FOR,
  |  |  880|       |    [INSTRUMENTED_END_SEND] = _TAIL_CALL_INSTRUMENTED_END_SEND,
  |  |  881|       |    [INSTRUMENTED_FOR_ITER] = _TAIL_CALL_INSTRUMENTED_FOR_ITER,
  |  |  882|       |    [INSTRUMENTED_INSTRUCTION] = _TAIL_CALL_INSTRUMENTED_INSTRUCTION,
  |  |  883|       |    [INSTRUMENTED_JUMP_BACKWARD] = _TAIL_CALL_INSTRUMENTED_JUMP_BACKWARD,
  |  |  884|       |    [INSTRUMENTED_JUMP_FORWARD] = _TAIL_CALL_INSTRUMENTED_JUMP_FORWARD,
  |  |  885|       |    [INSTRUMENTED_LINE] = _TAIL_CALL_INSTRUMENTED_LINE,
  |  |  886|       |    [INSTRUMENTED_LOAD_SUPER_ATTR] = _TAIL_CALL_INSTRUMENTED_LOAD_SUPER_ATTR,
  |  |  887|       |    [INSTRUMENTED_NOT_TAKEN] = _TAIL_CALL_INSTRUMENTED_NOT_TAKEN,
  |  |  888|       |    [INSTRUMENTED_POP_ITER] = _TAIL_CALL_INSTRUMENTED_POP_ITER,
  |  |  889|       |    [INSTRUMENTED_POP_JUMP_IF_FALSE] = _TAIL_CALL_INSTRUMENTED_POP_JUMP_IF_FALSE,
  |  |  890|       |    [INSTRUMENTED_POP_JUMP_IF_NONE] = _TAIL_CALL_INSTRUMENTED_POP_JUMP_IF_NONE,
  |  |  891|       |    [INSTRUMENTED_POP_JUMP_IF_NOT_NONE] = _TAIL_CALL_INSTRUMENTED_POP_JUMP_IF_NOT_NONE,
  |  |  892|       |    [INSTRUMENTED_POP_JUMP_IF_TRUE] = _TAIL_CALL_INSTRUMENTED_POP_JUMP_IF_TRUE,
  |  |  893|       |    [INSTRUMENTED_RESUME] = _TAIL_CALL_INSTRUMENTED_RESUME,
  |  |  894|       |    [INSTRUMENTED_RETURN_VALUE] = _TAIL_CALL_INSTRUMENTED_RETURN_VALUE,
  |  |  895|       |    [INSTRUMENTED_YIELD_VALUE] = _TAIL_CALL_INSTRUMENTED_YIELD_VALUE,
  |  |  896|       |    [INTERPRETER_EXIT] = _TAIL_CALL_INTERPRETER_EXIT,
  |  |  897|       |    [IS_OP] = _TAIL_CALL_IS_OP,
  |  |  898|       |    [JUMP_BACKWARD] = _TAIL_CALL_JUMP_BACKWARD,
  |  |  899|       |    [JUMP_BACKWARD_JIT] = _TAIL_CALL_JUMP_BACKWARD_JIT,
  |  |  900|       |    [JUMP_BACKWARD_NO_INTERRUPT] = _TAIL_CALL_JUMP_BACKWARD_NO_INTERRUPT,
  |  |  901|       |    [JUMP_BACKWARD_NO_JIT] = _TAIL_CALL_JUMP_BACKWARD_NO_JIT,
  |  |  902|       |    [JUMP_FORWARD] = _TAIL_CALL_JUMP_FORWARD,
  |  |  903|       |    [LIST_APPEND] = _TAIL_CALL_LIST_APPEND,
  |  |  904|       |    [LIST_EXTEND] = _TAIL_CALL_LIST_EXTEND,
  |  |  905|       |    [LOAD_ATTR] = _TAIL_CALL_LOAD_ATTR,
  |  |  906|       |    [LOAD_ATTR_CLASS] = _TAIL_CALL_LOAD_ATTR_CLASS,
  |  |  907|       |    [LOAD_ATTR_CLASS_WITH_METACLASS_CHECK] = _TAIL_CALL_LOAD_ATTR_CLASS_WITH_METACLASS_CHECK,
  |  |  908|       |    [LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN] = _TAIL_CALL_LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN,
  |  |  909|       |    [LOAD_ATTR_INSTANCE_VALUE] = _TAIL_CALL_LOAD_ATTR_INSTANCE_VALUE,
  |  |  910|       |    [LOAD_ATTR_METHOD_LAZY_DICT] = _TAIL_CALL_LOAD_ATTR_METHOD_LAZY_DICT,
  |  |  911|       |    [LOAD_ATTR_METHOD_NO_DICT] = _TAIL_CALL_LOAD_ATTR_METHOD_NO_DICT,
  |  |  912|       |    [LOAD_ATTR_METHOD_WITH_VALUES] = _TAIL_CALL_LOAD_ATTR_METHOD_WITH_VALUES,
  |  |  913|       |    [LOAD_ATTR_MODULE] = _TAIL_CALL_LOAD_ATTR_MODULE,
  |  |  914|       |    [LOAD_ATTR_NONDESCRIPTOR_NO_DICT] = _TAIL_CALL_LOAD_ATTR_NONDESCRIPTOR_NO_DICT,
  |  |  915|       |    [LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES] = _TAIL_CALL_LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES,
  |  |  916|       |    [LOAD_ATTR_PROPERTY] = _TAIL_CALL_LOAD_ATTR_PROPERTY,
  |  |  917|       |    [LOAD_ATTR_SLOT] = _TAIL_CALL_LOAD_ATTR_SLOT,
  |  |  918|       |    [LOAD_ATTR_WITH_HINT] = _TAIL_CALL_LOAD_ATTR_WITH_HINT,
  |  |  919|       |    [LOAD_BUILD_CLASS] = _TAIL_CALL_LOAD_BUILD_CLASS,
  |  |  920|       |    [LOAD_COMMON_CONSTANT] = _TAIL_CALL_LOAD_COMMON_CONSTANT,
  |  |  921|       |    [LOAD_CONST] = _TAIL_CALL_LOAD_CONST,
  |  |  922|       |    [LOAD_DEREF] = _TAIL_CALL_LOAD_DEREF,
  |  |  923|       |    [LOAD_FAST] = _TAIL_CALL_LOAD_FAST,
  |  |  924|       |    [LOAD_FAST_AND_CLEAR] = _TAIL_CALL_LOAD_FAST_AND_CLEAR,
  |  |  925|       |    [LOAD_FAST_BORROW] = _TAIL_CALL_LOAD_FAST_BORROW,
  |  |  926|       |    [LOAD_FAST_BORROW_LOAD_FAST_BORROW] = _TAIL_CALL_LOAD_FAST_BORROW_LOAD_FAST_BORROW,
  |  |  927|       |    [LOAD_FAST_CHECK] = _TAIL_CALL_LOAD_FAST_CHECK,
  |  |  928|       |    [LOAD_FAST_LOAD_FAST] = _TAIL_CALL_LOAD_FAST_LOAD_FAST,
  |  |  929|       |    [LOAD_FROM_DICT_OR_DEREF] = _TAIL_CALL_LOAD_FROM_DICT_OR_DEREF,
  |  |  930|       |    [LOAD_FROM_DICT_OR_GLOBALS] = _TAIL_CALL_LOAD_FROM_DICT_OR_GLOBALS,
  |  |  931|       |    [LOAD_GLOBAL] = _TAIL_CALL_LOAD_GLOBAL,
  |  |  932|       |    [LOAD_GLOBAL_BUILTIN] = _TAIL_CALL_LOAD_GLOBAL_BUILTIN,
  |  |  933|       |    [LOAD_GLOBAL_MODULE] = _TAIL_CALL_LOAD_GLOBAL_MODULE,
  |  |  934|       |    [LOAD_LOCALS] = _TAIL_CALL_LOAD_LOCALS,
  |  |  935|       |    [LOAD_NAME] = _TAIL_CALL_LOAD_NAME,
  |  |  936|       |    [LOAD_SMALL_INT] = _TAIL_CALL_LOAD_SMALL_INT,
  |  |  937|       |    [LOAD_SPECIAL] = _TAIL_CALL_LOAD_SPECIAL,
  |  |  938|       |    [LOAD_SUPER_ATTR] = _TAIL_CALL_LOAD_SUPER_ATTR,
  |  |  939|       |    [LOAD_SUPER_ATTR_ATTR] = _TAIL_CALL_LOAD_SUPER_ATTR_ATTR,
  |  |  940|       |    [LOAD_SUPER_ATTR_METHOD] = _TAIL_CALL_LOAD_SUPER_ATTR_METHOD,
  |  |  941|       |    [MAKE_CELL] = _TAIL_CALL_MAKE_CELL,
  |  |  942|       |    [MAKE_FUNCTION] = _TAIL_CALL_MAKE_FUNCTION,
  |  |  943|       |    [MAP_ADD] = _TAIL_CALL_MAP_ADD,
  |  |  944|       |    [MATCH_CLASS] = _TAIL_CALL_MATCH_CLASS,
  |  |  945|       |    [MATCH_KEYS] = _TAIL_CALL_MATCH_KEYS,
  |  |  946|       |    [MATCH_MAPPING] = _TAIL_CALL_MATCH_MAPPING,
  |  |  947|       |    [MATCH_SEQUENCE] = _TAIL_CALL_MATCH_SEQUENCE,
  |  |  948|       |    [NOP] = _TAIL_CALL_NOP,
  |  |  949|       |    [NOT_TAKEN] = _TAIL_CALL_NOT_TAKEN,
  |  |  950|       |    [POP_EXCEPT] = _TAIL_CALL_POP_EXCEPT,
  |  |  951|       |    [POP_ITER] = _TAIL_CALL_POP_ITER,
  |  |  952|       |    [POP_JUMP_IF_FALSE] = _TAIL_CALL_POP_JUMP_IF_FALSE,
  |  |  953|       |    [POP_JUMP_IF_NONE] = _TAIL_CALL_POP_JUMP_IF_NONE,
  |  |  954|       |    [POP_JUMP_IF_NOT_NONE] = _TAIL_CALL_POP_JUMP_IF_NOT_NONE,
  |  |  955|       |    [POP_JUMP_IF_TRUE] = _TAIL_CALL_POP_JUMP_IF_TRUE,
  |  |  956|       |    [POP_TOP] = _TAIL_CALL_POP_TOP,
  |  |  957|       |    [PUSH_EXC_INFO] = _TAIL_CALL_PUSH_EXC_INFO,
  |  |  958|       |    [PUSH_NULL] = _TAIL_CALL_PUSH_NULL,
  |  |  959|       |    [RAISE_VARARGS] = _TAIL_CALL_RAISE_VARARGS,
  |  |  960|       |    [RERAISE] = _TAIL_CALL_RERAISE,
  |  |  961|       |    [RESERVED] = _TAIL_CALL_RESERVED,
  |  |  962|       |    [RESUME] = _TAIL_CALL_RESUME,
  |  |  963|       |    [RESUME_CHECK] = _TAIL_CALL_RESUME_CHECK,
  |  |  964|       |    [RESUME_CHECK_JIT] = _TAIL_CALL_RESUME_CHECK_JIT,
  |  |  965|       |    [RETURN_GENERATOR] = _TAIL_CALL_RETURN_GENERATOR,
  |  |  966|       |    [RETURN_VALUE] = _TAIL_CALL_RETURN_VALUE,
  |  |  967|       |    [SEND] = _TAIL_CALL_SEND,
  |  |  968|       |    [SEND_ASYNC_GEN] = _TAIL_CALL_SEND_ASYNC_GEN,
  |  |  969|       |    [SEND_GEN] = _TAIL_CALL_SEND_GEN,
  |  |  970|       |    [SEND_VIRTUAL] = _TAIL_CALL_SEND_VIRTUAL,
  |  |  971|       |    [SETUP_ANNOTATIONS] = _TAIL_CALL_SETUP_ANNOTATIONS,
  |  |  972|       |    [SET_ADD] = _TAIL_CALL_SET_ADD,
  |  |  973|       |    [SET_FUNCTION_ATTRIBUTE] = _TAIL_CALL_SET_FUNCTION_ATTRIBUTE,
  |  |  974|       |    [SET_UPDATE] = _TAIL_CALL_SET_UPDATE,
  |  |  975|       |    [STORE_ATTR] = _TAIL_CALL_STORE_ATTR,
  |  |  976|       |    [STORE_ATTR_INSTANCE_VALUE] = _TAIL_CALL_STORE_ATTR_INSTANCE_VALUE,
  |  |  977|       |    [STORE_ATTR_SLOT] = _TAIL_CALL_STORE_ATTR_SLOT,
  |  |  978|       |    [STORE_ATTR_WITH_HINT] = _TAIL_CALL_STORE_ATTR_WITH_HINT,
  |  |  979|       |    [STORE_DEREF] = _TAIL_CALL_STORE_DEREF,
  |  |  980|       |    [STORE_FAST] = _TAIL_CALL_STORE_FAST,
  |  |  981|       |    [STORE_FAST_LOAD_FAST] = _TAIL_CALL_STORE_FAST_LOAD_FAST,
  |  |  982|       |    [STORE_FAST_STORE_FAST] = _TAIL_CALL_STORE_FAST_STORE_FAST,
  |  |  983|       |    [STORE_GLOBAL] = _TAIL_CALL_STORE_GLOBAL,
  |  |  984|       |    [STORE_NAME] = _TAIL_CALL_STORE_NAME,
  |  |  985|       |    [STORE_SLICE] = _TAIL_CALL_STORE_SLICE,
  |  |  986|       |    [STORE_SUBSCR] = _TAIL_CALL_STORE_SUBSCR,
  |  |  987|       |    [STORE_SUBSCR_DICT] = _TAIL_CALL_STORE_SUBSCR_DICT,
  |  |  988|       |    [STORE_SUBSCR_LIST_INT] = _TAIL_CALL_STORE_SUBSCR_LIST_INT,
  |  |  989|       |    [SWAP] = _TAIL_CALL_SWAP,
  |  |  990|       |    [TO_BOOL] = _TAIL_CALL_TO_BOOL,
  |  |  991|       |    [TO_BOOL_ALWAYS_TRUE] = _TAIL_CALL_TO_BOOL_ALWAYS_TRUE,
  |  |  992|       |    [TO_BOOL_BOOL] = _TAIL_CALL_TO_BOOL_BOOL,
  |  |  993|       |    [TO_BOOL_INT] = _TAIL_CALL_TO_BOOL_INT,
  |  |  994|       |    [TO_BOOL_LIST] = _TAIL_CALL_TO_BOOL_LIST,
  |  |  995|       |    [TO_BOOL_NONE] = _TAIL_CALL_TO_BOOL_NONE,
  |  |  996|       |    [TO_BOOL_STR] = _TAIL_CALL_TO_BOOL_STR,
  |  |  997|       |    [TRACE_RECORD] = _TAIL_CALL_TRACE_RECORD,
  |  |  998|       |    [UNARY_INVERT] = _TAIL_CALL_UNARY_INVERT,
  |  |  999|       |    [UNARY_NEGATIVE] = _TAIL_CALL_UNARY_NEGATIVE,
  |  | 1000|       |    [UNARY_NOT] = _TAIL_CALL_UNARY_NOT,
  |  | 1001|       |    [UNPACK_EX] = _TAIL_CALL_UNPACK_EX,
  |  | 1002|       |    [UNPACK_SEQUENCE] = _TAIL_CALL_UNPACK_SEQUENCE,
  |  | 1003|       |    [UNPACK_SEQUENCE_LIST] = _TAIL_CALL_UNPACK_SEQUENCE_LIST,
  |  | 1004|       |    [UNPACK_SEQUENCE_TUPLE] = _TAIL_CALL_UNPACK_SEQUENCE_TUPLE,
  |  | 1005|       |    [UNPACK_SEQUENCE_TWO_TUPLE] = _TAIL_CALL_UNPACK_SEQUENCE_TWO_TUPLE,
  |  | 1006|       |    [WITH_EXCEPT_START] = _TAIL_CALL_WITH_EXCEPT_START,
  |  | 1007|       |    [YIELD_VALUE] = _TAIL_CALL_YIELD_VALUE,
  |  | 1008|       |    [117] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1009|       |    [118] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1010|       |    [119] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1011|       |    [120] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1012|       |    [121] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1013|       |    [122] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1014|       |    [123] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1015|       |    [124] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1016|       |    [125] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1017|       |    [126] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1018|       |    [127] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1019|       |    [219] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1020|       |    [220] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1021|       |    [221] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1022|       |    [222] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1023|       |    [223] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1024|       |    [224] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1025|       |    [225] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1026|       |    [226] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1027|       |    [227] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1028|       |    [228] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1029|       |    [229] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1030|       |    [230] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1031|       |    [231] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1032|       |    [232] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1033|       |};
  |  | 1034|       |static py_tail_call_funcptr instruction_funcptr_tracing_table[256] = {
  |  | 1035|       |    [BINARY_OP] = _TAIL_CALL_TRACE_RECORD,
  |  | 1036|       |    [BINARY_OP_ADD_FLOAT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1037|       |    [BINARY_OP_ADD_INT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1038|       |    [BINARY_OP_ADD_UNICODE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1039|       |    [BINARY_OP_EXTEND] = _TAIL_CALL_TRACE_RECORD,
  |  | 1040|       |    [BINARY_OP_INPLACE_ADD_UNICODE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1041|       |    [BINARY_OP_MULTIPLY_FLOAT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1042|       |    [BINARY_OP_MULTIPLY_INT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1043|       |    [BINARY_OP_SUBSCR_DICT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1044|       |    [BINARY_OP_SUBSCR_GETITEM] = _TAIL_CALL_TRACE_RECORD,
  |  | 1045|       |    [BINARY_OP_SUBSCR_LIST_INT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1046|       |    [BINARY_OP_SUBSCR_LIST_SLICE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1047|       |    [BINARY_OP_SUBSCR_STR_INT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1048|       |    [BINARY_OP_SUBSCR_TUPLE_INT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1049|       |    [BINARY_OP_SUBSCR_USTR_INT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1050|       |    [BINARY_OP_SUBTRACT_FLOAT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1051|       |    [BINARY_OP_SUBTRACT_INT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1052|       |    [BINARY_SLICE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1053|       |    [BUILD_INTERPOLATION] = _TAIL_CALL_TRACE_RECORD,
  |  | 1054|       |    [BUILD_LIST] = _TAIL_CALL_TRACE_RECORD,
  |  | 1055|       |    [BUILD_MAP] = _TAIL_CALL_TRACE_RECORD,
  |  | 1056|       |    [BUILD_SET] = _TAIL_CALL_TRACE_RECORD,
  |  | 1057|       |    [BUILD_SLICE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1058|       |    [BUILD_STRING] = _TAIL_CALL_TRACE_RECORD,
  |  | 1059|       |    [BUILD_TEMPLATE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1060|       |    [BUILD_TUPLE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1061|       |    [CACHE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1062|       |    [CALL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1063|       |    [CALL_ALLOC_AND_ENTER_INIT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1064|       |    [CALL_BOUND_METHOD_EXACT_ARGS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1065|       |    [CALL_BOUND_METHOD_GENERAL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1066|       |    [CALL_BUILTIN_CLASS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1067|       |    [CALL_BUILTIN_FAST] = _TAIL_CALL_TRACE_RECORD,
  |  | 1068|       |    [CALL_BUILTIN_FAST_WITH_KEYWORDS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1069|       |    [CALL_BUILTIN_O] = _TAIL_CALL_TRACE_RECORD,
  |  | 1070|       |    [CALL_EX_NON_PY_GENERAL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1071|       |    [CALL_EX_PY] = _TAIL_CALL_TRACE_RECORD,
  |  | 1072|       |    [CALL_FUNCTION_EX] = _TAIL_CALL_TRACE_RECORD,
  |  | 1073|       |    [CALL_INTRINSIC_1] = _TAIL_CALL_TRACE_RECORD,
  |  | 1074|       |    [CALL_INTRINSIC_2] = _TAIL_CALL_TRACE_RECORD,
  |  | 1075|       |    [CALL_ISINSTANCE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1076|       |    [CALL_KW] = _TAIL_CALL_TRACE_RECORD,
  |  | 1077|       |    [CALL_KW_BOUND_METHOD] = _TAIL_CALL_TRACE_RECORD,
  |  | 1078|       |    [CALL_KW_NON_PY] = _TAIL_CALL_TRACE_RECORD,
  |  | 1079|       |    [CALL_KW_PY] = _TAIL_CALL_TRACE_RECORD,
  |  | 1080|       |    [CALL_LEN] = _TAIL_CALL_TRACE_RECORD,
  |  | 1081|       |    [CALL_LIST_APPEND] = _TAIL_CALL_TRACE_RECORD,
  |  | 1082|       |    [CALL_METHOD_DESCRIPTOR_FAST] = _TAIL_CALL_TRACE_RECORD,
  |  | 1083|       |    [CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1084|       |    [CALL_METHOD_DESCRIPTOR_NOARGS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1085|       |    [CALL_METHOD_DESCRIPTOR_O] = _TAIL_CALL_TRACE_RECORD,
  |  | 1086|       |    [CALL_NON_PY_GENERAL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1087|       |    [CALL_PY_EXACT_ARGS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1088|       |    [CALL_PY_GENERAL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1089|       |    [CALL_STR_1] = _TAIL_CALL_TRACE_RECORD,
  |  | 1090|       |    [CALL_TUPLE_1] = _TAIL_CALL_TRACE_RECORD,
  |  | 1091|       |    [CALL_TYPE_1] = _TAIL_CALL_TRACE_RECORD,
  |  | 1092|       |    [CHECK_EG_MATCH] = _TAIL_CALL_TRACE_RECORD,
  |  | 1093|       |    [CHECK_EXC_MATCH] = _TAIL_CALL_TRACE_RECORD,
  |  | 1094|       |    [CLEANUP_THROW] = _TAIL_CALL_TRACE_RECORD,
  |  | 1095|       |    [COMPARE_OP] = _TAIL_CALL_TRACE_RECORD,
  |  | 1096|       |    [COMPARE_OP_FLOAT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1097|       |    [COMPARE_OP_INT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1098|       |    [COMPARE_OP_STR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1099|       |    [CONTAINS_OP] = _TAIL_CALL_TRACE_RECORD,
  |  | 1100|       |    [CONTAINS_OP_DICT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1101|       |    [CONTAINS_OP_SET] = _TAIL_CALL_TRACE_RECORD,
  |  | 1102|       |    [CONVERT_VALUE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1103|       |    [COPY] = _TAIL_CALL_TRACE_RECORD,
  |  | 1104|       |    [COPY_FREE_VARS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1105|       |    [DELETE_DEREF] = _TAIL_CALL_TRACE_RECORD,
  |  | 1106|       |    [DELETE_FAST] = _TAIL_CALL_TRACE_RECORD,
  |  | 1107|       |    [DELETE_SUBSCR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1108|       |    [DICT_MERGE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1109|       |    [DICT_UPDATE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1110|       |    [END_ASYNC_FOR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1111|       |    [END_FOR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1112|       |    [END_SEND] = _TAIL_CALL_TRACE_RECORD,
  |  | 1113|       |    [ENTER_EXECUTOR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1114|       |    [EXIT_INIT_CHECK] = _TAIL_CALL_TRACE_RECORD,
  |  | 1115|       |    [EXTENDED_ARG] = _TAIL_CALL_TRACE_RECORD,
  |  | 1116|       |    [FORMAT_SIMPLE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1117|       |    [FORMAT_WITH_SPEC] = _TAIL_CALL_TRACE_RECORD,
  |  | 1118|       |    [FOR_ITER] = _TAIL_CALL_TRACE_RECORD,
  |  | 1119|       |    [FOR_ITER_GEN] = _TAIL_CALL_TRACE_RECORD,
  |  | 1120|       |    [FOR_ITER_LIST] = _TAIL_CALL_TRACE_RECORD,
  |  | 1121|       |    [FOR_ITER_RANGE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1122|       |    [FOR_ITER_TUPLE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1123|       |    [FOR_ITER_VIRTUAL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1124|       |    [GET_AITER] = _TAIL_CALL_TRACE_RECORD,
  |  | 1125|       |    [GET_ANEXT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1126|       |    [GET_AWAITABLE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1127|       |    [GET_ITER] = _TAIL_CALL_TRACE_RECORD,
  |  | 1128|       |    [GET_ITER_SELF] = _TAIL_CALL_TRACE_RECORD,
  |  | 1129|       |    [GET_ITER_VIRTUAL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1130|       |    [GET_LEN] = _TAIL_CALL_TRACE_RECORD,
  |  | 1131|       |    [IMPORT_FROM] = _TAIL_CALL_TRACE_RECORD,
  |  | 1132|       |    [IMPORT_NAME] = _TAIL_CALL_TRACE_RECORD,
  |  | 1133|       |    [INSTRUMENTED_CALL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1134|       |    [INSTRUMENTED_CALL_FUNCTION_EX] = _TAIL_CALL_TRACE_RECORD,
  |  | 1135|       |    [INSTRUMENTED_CALL_KW] = _TAIL_CALL_TRACE_RECORD,
  |  | 1136|       |    [INSTRUMENTED_END_ASYNC_FOR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1137|       |    [INSTRUMENTED_END_FOR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1138|       |    [INSTRUMENTED_END_SEND] = _TAIL_CALL_TRACE_RECORD,
  |  | 1139|       |    [INSTRUMENTED_FOR_ITER] = _TAIL_CALL_TRACE_RECORD,
  |  | 1140|       |    [INSTRUMENTED_INSTRUCTION] = _TAIL_CALL_TRACE_RECORD,
  |  | 1141|       |    [INSTRUMENTED_JUMP_BACKWARD] = _TAIL_CALL_TRACE_RECORD,
  |  | 1142|       |    [INSTRUMENTED_JUMP_FORWARD] = _TAIL_CALL_TRACE_RECORD,
  |  | 1143|       |    [INSTRUMENTED_LINE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1144|       |    [INSTRUMENTED_LOAD_SUPER_ATTR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1145|       |    [INSTRUMENTED_NOT_TAKEN] = _TAIL_CALL_TRACE_RECORD,
  |  | 1146|       |    [INSTRUMENTED_POP_ITER] = _TAIL_CALL_TRACE_RECORD,
  |  | 1147|       |    [INSTRUMENTED_POP_JUMP_IF_FALSE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1148|       |    [INSTRUMENTED_POP_JUMP_IF_NONE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1149|       |    [INSTRUMENTED_POP_JUMP_IF_NOT_NONE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1150|       |    [INSTRUMENTED_POP_JUMP_IF_TRUE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1151|       |    [INSTRUMENTED_RESUME] = _TAIL_CALL_TRACE_RECORD,
  |  | 1152|       |    [INSTRUMENTED_RETURN_VALUE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1153|       |    [INSTRUMENTED_YIELD_VALUE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1154|       |    [INTERPRETER_EXIT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1155|       |    [IS_OP] = _TAIL_CALL_TRACE_RECORD,
  |  | 1156|       |    [JUMP_BACKWARD] = _TAIL_CALL_TRACE_RECORD,
  |  | 1157|       |    [JUMP_BACKWARD_JIT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1158|       |    [JUMP_BACKWARD_NO_INTERRUPT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1159|       |    [JUMP_BACKWARD_NO_JIT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1160|       |    [JUMP_FORWARD] = _TAIL_CALL_TRACE_RECORD,
  |  | 1161|       |    [LIST_APPEND] = _TAIL_CALL_TRACE_RECORD,
  |  | 1162|       |    [LIST_EXTEND] = _TAIL_CALL_TRACE_RECORD,
  |  | 1163|       |    [LOAD_ATTR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1164|       |    [LOAD_ATTR_CLASS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1165|       |    [LOAD_ATTR_CLASS_WITH_METACLASS_CHECK] = _TAIL_CALL_TRACE_RECORD,
  |  | 1166|       |    [LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN] = _TAIL_CALL_TRACE_RECORD,
  |  | 1167|       |    [LOAD_ATTR_INSTANCE_VALUE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1168|       |    [LOAD_ATTR_METHOD_LAZY_DICT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1169|       |    [LOAD_ATTR_METHOD_NO_DICT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1170|       |    [LOAD_ATTR_METHOD_WITH_VALUES] = _TAIL_CALL_TRACE_RECORD,
  |  | 1171|       |    [LOAD_ATTR_MODULE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1172|       |    [LOAD_ATTR_NONDESCRIPTOR_NO_DICT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1173|       |    [LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES] = _TAIL_CALL_TRACE_RECORD,
  |  | 1174|       |    [LOAD_ATTR_PROPERTY] = _TAIL_CALL_TRACE_RECORD,
  |  | 1175|       |    [LOAD_ATTR_SLOT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1176|       |    [LOAD_ATTR_WITH_HINT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1177|       |    [LOAD_BUILD_CLASS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1178|       |    [LOAD_COMMON_CONSTANT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1179|       |    [LOAD_CONST] = _TAIL_CALL_TRACE_RECORD,
  |  | 1180|       |    [LOAD_DEREF] = _TAIL_CALL_TRACE_RECORD,
  |  | 1181|       |    [LOAD_FAST] = _TAIL_CALL_TRACE_RECORD,
  |  | 1182|       |    [LOAD_FAST_AND_CLEAR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1183|       |    [LOAD_FAST_BORROW] = _TAIL_CALL_TRACE_RECORD,
  |  | 1184|       |    [LOAD_FAST_BORROW_LOAD_FAST_BORROW] = _TAIL_CALL_TRACE_RECORD,
  |  | 1185|       |    [LOAD_FAST_CHECK] = _TAIL_CALL_TRACE_RECORD,
  |  | 1186|       |    [LOAD_FAST_LOAD_FAST] = _TAIL_CALL_TRACE_RECORD,
  |  | 1187|       |    [LOAD_FROM_DICT_OR_DEREF] = _TAIL_CALL_TRACE_RECORD,
  |  | 1188|       |    [LOAD_FROM_DICT_OR_GLOBALS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1189|       |    [LOAD_GLOBAL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1190|       |    [LOAD_GLOBAL_BUILTIN] = _TAIL_CALL_TRACE_RECORD,
  |  | 1191|       |    [LOAD_GLOBAL_MODULE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1192|       |    [LOAD_LOCALS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1193|       |    [LOAD_NAME] = _TAIL_CALL_TRACE_RECORD,
  |  | 1194|       |    [LOAD_SMALL_INT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1195|       |    [LOAD_SPECIAL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1196|       |    [LOAD_SUPER_ATTR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1197|       |    [LOAD_SUPER_ATTR_ATTR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1198|       |    [LOAD_SUPER_ATTR_METHOD] = _TAIL_CALL_TRACE_RECORD,
  |  | 1199|       |    [MAKE_CELL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1200|       |    [MAKE_FUNCTION] = _TAIL_CALL_TRACE_RECORD,
  |  | 1201|       |    [MAP_ADD] = _TAIL_CALL_TRACE_RECORD,
  |  | 1202|       |    [MATCH_CLASS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1203|       |    [MATCH_KEYS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1204|       |    [MATCH_MAPPING] = _TAIL_CALL_TRACE_RECORD,
  |  | 1205|       |    [MATCH_SEQUENCE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1206|       |    [NOP] = _TAIL_CALL_TRACE_RECORD,
  |  | 1207|       |    [NOT_TAKEN] = _TAIL_CALL_TRACE_RECORD,
  |  | 1208|       |    [POP_EXCEPT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1209|       |    [POP_ITER] = _TAIL_CALL_TRACE_RECORD,
  |  | 1210|       |    [POP_JUMP_IF_FALSE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1211|       |    [POP_JUMP_IF_NONE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1212|       |    [POP_JUMP_IF_NOT_NONE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1213|       |    [POP_JUMP_IF_TRUE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1214|       |    [POP_TOP] = _TAIL_CALL_TRACE_RECORD,
  |  | 1215|       |    [PUSH_EXC_INFO] = _TAIL_CALL_TRACE_RECORD,
  |  | 1216|       |    [PUSH_NULL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1217|       |    [RAISE_VARARGS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1218|       |    [RERAISE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1219|       |    [RESERVED] = _TAIL_CALL_TRACE_RECORD,
  |  | 1220|       |    [RESUME] = _TAIL_CALL_TRACE_RECORD,
  |  | 1221|       |    [RESUME_CHECK] = _TAIL_CALL_TRACE_RECORD,
  |  | 1222|       |    [RESUME_CHECK_JIT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1223|       |    [RETURN_GENERATOR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1224|       |    [RETURN_VALUE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1225|       |    [SEND] = _TAIL_CALL_TRACE_RECORD,
  |  | 1226|       |    [SEND_ASYNC_GEN] = _TAIL_CALL_TRACE_RECORD,
  |  | 1227|       |    [SEND_GEN] = _TAIL_CALL_TRACE_RECORD,
  |  | 1228|       |    [SEND_VIRTUAL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1229|       |    [SETUP_ANNOTATIONS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1230|       |    [SET_ADD] = _TAIL_CALL_TRACE_RECORD,
  |  | 1231|       |    [SET_FUNCTION_ATTRIBUTE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1232|       |    [SET_UPDATE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1233|       |    [STORE_ATTR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1234|       |    [STORE_ATTR_INSTANCE_VALUE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1235|       |    [STORE_ATTR_SLOT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1236|       |    [STORE_ATTR_WITH_HINT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1237|       |    [STORE_DEREF] = _TAIL_CALL_TRACE_RECORD,
  |  | 1238|       |    [STORE_FAST] = _TAIL_CALL_TRACE_RECORD,
  |  | 1239|       |    [STORE_FAST_LOAD_FAST] = _TAIL_CALL_TRACE_RECORD,
  |  | 1240|       |    [STORE_FAST_STORE_FAST] = _TAIL_CALL_TRACE_RECORD,
  |  | 1241|       |    [STORE_GLOBAL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1242|       |    [STORE_NAME] = _TAIL_CALL_TRACE_RECORD,
  |  | 1243|       |    [STORE_SLICE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1244|       |    [STORE_SUBSCR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1245|       |    [STORE_SUBSCR_DICT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1246|       |    [STORE_SUBSCR_LIST_INT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1247|       |    [SWAP] = _TAIL_CALL_TRACE_RECORD,
  |  | 1248|       |    [TO_BOOL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1249|       |    [TO_BOOL_ALWAYS_TRUE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1250|       |    [TO_BOOL_BOOL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1251|       |    [TO_BOOL_INT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1252|       |    [TO_BOOL_LIST] = _TAIL_CALL_TRACE_RECORD,
  |  | 1253|       |    [TO_BOOL_NONE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1254|       |    [TO_BOOL_STR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1255|       |    [TRACE_RECORD] = _TAIL_CALL_TRACE_RECORD,
  |  | 1256|       |    [UNARY_INVERT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1257|       |    [UNARY_NEGATIVE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1258|       |    [UNARY_NOT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1259|       |    [UNPACK_EX] = _TAIL_CALL_TRACE_RECORD,
  |  | 1260|       |    [UNPACK_SEQUENCE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1261|       |    [UNPACK_SEQUENCE_LIST] = _TAIL_CALL_TRACE_RECORD,
  |  | 1262|       |    [UNPACK_SEQUENCE_TUPLE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1263|       |    [UNPACK_SEQUENCE_TWO_TUPLE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1264|       |    [WITH_EXCEPT_START] = _TAIL_CALL_TRACE_RECORD,
  |  | 1265|       |    [YIELD_VALUE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1266|       |    [117] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1267|       |    [118] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1268|       |    [119] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1269|       |    [120] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1270|       |    [121] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1271|       |    [122] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1272|       |    [123] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1273|       |    [124] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1274|       |    [125] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1275|       |    [126] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1276|       |    [127] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1277|       |    [219] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1278|       |    [220] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1279|       |    [221] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1280|       |    [222] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1281|       |    [223] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1282|       |    [224] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1283|       |    [225] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1284|       |    [226] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1285|       |    [227] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1286|       |    [228] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1287|       |    [229] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1288|       |    [230] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1289|       |    [231] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1290|       |    [232] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1291|       |};
  |  | 1292|       |#endif /* _Py_TAIL_CALL_INTERP */
  ------------------
 1238|  21.0M|    void **opcode_targets = opcode_targets_table;
 1239|  21.0M|#endif
 1240|       |
 1241|       |#ifdef Py_STATS
 1242|       |    int lastopcode = 0;
 1243|       |#endif
 1244|  21.0M|#if !_Py_TAIL_CALL_INTERP
 1245|  21.0M|    uint8_t opcode;    /* Current opcode */
 1246|  21.0M|    int oparg;         /* Current opcode argument, if any */
 1247|  21.0M|    assert(tstate->current_frame == NULL || tstate->current_frame->stackpointer != NULL);
  ------------------
  |  Branch (1247:5): [True: 0, False: 21.0M]
  |  Branch (1247:5): [True: 21.0M, False: 0]
  ------------------
 1248|       |#if !USE_COMPUTED_GOTOS
 1249|       |    uint8_t tracing_mode = 0;
 1250|       |    uint8_t dispatch_code;
 1251|       |#endif
 1252|  21.0M|#endif
 1253|  21.0M|    _PyEntryFrame entry;
 1254|       |
 1255|  21.0M|    if (_Py_EnterRecursiveCallTstate(tstate, "")) {
  ------------------
  |  Branch (1255:9): [True: 0, False: 21.0M]
  ------------------
 1256|      0|        assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  ------------------
  |  Branch (1256:9): [True: 0, False: 0]
  ------------------
 1257|      0|        _PyEval_FrameClearAndPop(tstate, frame);
 1258|      0|        return NULL;
 1259|      0|    }
 1260|       |
 1261|       |    /* Local "register" variables.
 1262|       |     * These are cached values from the frame and code object.  */
 1263|  21.0M|    _Py_CODEUNIT *next_instr;
 1264|  21.0M|    _PyStackRef *stack_pointer;
 1265|  21.0M|    entry.stack[0] = PyStackRef_NULL;
 1266|       |#ifdef Py_STACKREF_DEBUG
 1267|       |    entry.frame.f_funcobj = PyStackRef_None;
 1268|       |#elif defined(Py_DEBUG)
 1269|       |    /* Set these to invalid but identifiable values for debugging. */
 1270|       |    entry.frame.f_funcobj = (_PyStackRef){.bits = 0xaaa0};
 1271|       |    entry.frame.f_locals = (PyObject*)0xaaa1;
 1272|       |    entry.frame.frame_obj = (PyFrameObject*)0xaaa2;
 1273|       |    entry.frame.f_globals = (PyObject*)0xaaa3;
 1274|       |    entry.frame.f_builtins = (PyObject*)0xaaa4;
 1275|       |#endif
 1276|  21.0M|    entry.frame.f_executable = PyStackRef_None;
  ------------------
  |  |  485|  21.0M|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  ------------------
  |  |  |  |   55|  21.0M|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
 1277|  21.0M|    entry.frame.instr_ptr = (_Py_CODEUNIT *)_Py_INTERPRETER_TRAMPOLINE_INSTRUCTIONS + 1;
 1278|  21.0M|    entry.frame.stackpointer = entry.stack;
 1279|  21.0M|    entry.frame.owner = FRAME_OWNED_BY_INTERPRETER;
 1280|  21.0M|    entry.frame.visited = 0;
 1281|  21.0M|    entry.frame.return_offset = 0;
 1282|       |#ifdef Py_DEBUG
 1283|       |    entry.frame.lltrace = 0;
 1284|       |    entry.frame.stackpointer_valid = 1;
 1285|       |#endif
 1286|       |    /* Push frame */
 1287|  21.0M|    entry.frame.previous = tstate->current_frame;
 1288|  21.0M|    frame->previous = &entry.frame;
 1289|  21.0M|    tstate->current_frame = frame;
 1290|  21.0M|    entry.frame.localsplus[0] = PyStackRef_NULL;
 1291|       |#ifdef _Py_TIER2
 1292|       |    if (tstate->current_executor != NULL) {
 1293|       |        assert(Py_TYPE(tstate->current_executor) == &_PyUOpExecutor_Type);
 1294|       |        entry.frame.localsplus[0] = PyStackRef_FromPyObjectNew(tstate->current_executor);
 1295|       |        tstate->current_executor = NULL;
 1296|       |    }
 1297|       |#endif
 1298|       |
 1299|       |    /* support for generator.throw() */
 1300|  21.0M|    if (throwflag) {
  ------------------
  |  Branch (1300:9): [True: 32.1k, False: 20.9M]
  ------------------
 1301|  32.1k|        if (_Py_EnterRecursivePy(tstate)) {
  ------------------
  |  Branch (1301:13): [True: 0, False: 32.1k]
  ------------------
 1302|      0|            goto early_exit;
 1303|      0|        }
 1304|       |#ifdef Py_GIL_DISABLED
 1305|       |        /* Load thread-local bytecode */
 1306|       |        if (frame->tlbc_index != ((_PyThreadStateImpl *)tstate)->tlbc_index) {
 1307|       |            _Py_CODEUNIT *bytecode =
 1308|       |                _PyEval_GetExecutableCode(tstate, _PyFrame_GetCode(frame));
 1309|       |            if (bytecode == NULL) {
 1310|       |                goto early_exit;
 1311|       |            }
 1312|       |            ptrdiff_t off = frame->instr_ptr - _PyFrame_GetBytecode(frame);
 1313|       |            frame->tlbc_index = ((_PyThreadStateImpl *)tstate)->tlbc_index;
 1314|       |            frame->instr_ptr = bytecode + off;
 1315|       |        }
 1316|       |#endif
 1317|       |        /* Because this avoids the RESUME, we need to update instrumentation */
 1318|  32.1k|        _Py_Instrument(_PyFrame_GetCode(frame), tstate->interp);
 1319|  32.1k|        next_instr = frame->instr_ptr;
 1320|  32.1k|        monitor_throw(tstate, frame, next_instr);
 1321|  32.1k|        stack_pointer = _PyFrame_GetStackPointer(frame);
 1322|  32.1k|        _PyFrame_StackPointerInvalidate(frame);
 1323|       |#if _Py_TAIL_CALL_INTERP
 1324|       |#   if Py_STATS
 1325|       |        return _TAIL_CALL_error(frame, stack_pointer, tstate, next_instr, instruction_funcptr_handler_table, 0, lastopcode);
 1326|       |#   else
 1327|       |        return _TAIL_CALL_error(frame, stack_pointer, tstate, next_instr, instruction_funcptr_handler_table, 0);
 1328|       |#   endif
 1329|       |#else
 1330|  32.1k|        goto error;
 1331|  32.1k|#endif
 1332|  32.1k|    }
 1333|       |
 1334|       |#if _Py_TAIL_CALL_INTERP
 1335|       |#   if Py_STATS
 1336|       |        return _TAIL_CALL_start_frame(frame, NULL, tstate, NULL, instruction_funcptr_handler_table, 0, lastopcode);
 1337|       |#   else
 1338|       |        return _TAIL_CALL_start_frame(frame, NULL, tstate, NULL, instruction_funcptr_handler_table, 0);
 1339|       |#   endif
 1340|       |#else
 1341|  20.9M|    goto start_frame;
 1342|  20.9M|#   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|  9.62M|        TARGET(BINARY_OP) {
  |  |  ------------------
  |  |  |  |  132|  9.62M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |   22|       |            #if _Py_TAIL_CALL_INTERP
  |  |   23|       |            int opcode = BINARY_OP;
  |  |   24|       |            (void)(opcode);
  |  |   25|       |            #endif
  |  |   26|  9.62M|            frame->instr_ptr = next_instr;
  |  |   27|  9.62M|            next_instr += 6;
  |  |   28|  9.62M|            INSTRUCTION_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |   71|  9.62M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |   29|  15.9M|            PREDICTED_BINARY_OP:;
  |  |   30|  15.9M|            _Py_CODEUNIT* const this_instr = next_instr - 6;
  |  |   31|  15.9M|            (void)this_instr;
  |  |   32|  15.9M|            _PyStackRef lhs;
  |  |   33|  15.9M|            _PyStackRef rhs;
  |  |   34|  15.9M|            _PyStackRef res;
  |  |   35|  15.9M|            _PyStackRef l;
  |  |   36|  15.9M|            _PyStackRef r;
  |  |   37|  15.9M|            _PyStackRef value;
  |  |   38|       |            // _SPECIALIZE_BINARY_OP
  |  |   39|  15.9M|            {
  |  |   40|  15.9M|                rhs = stack_pointer[-1];
  |  |   41|  15.9M|                lhs = stack_pointer[-2];
  |  |   42|  15.9M|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |   43|  15.9M|                (void)counter;
  |  |   44|  15.9M|                #if ENABLE_SPECIALIZATION
  |  |   45|  15.9M|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  15.9M|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 133k, False: 15.7M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   46|   133k|                    next_instr = this_instr;
  |  |   47|   133k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |   48|   133k|                    _PyFrame_StackPointerValidate(frame);
  |  |   49|   133k|                    _Py_Specialize_BinaryOp(lhs, rhs, next_instr, oparg, LOCALS_ARRAY);
  |  |  ------------------
  |  |  |  |  284|   133k|#define LOCALS_ARRAY    (frame->localsplus)
  |  |  ------------------
  |  |   50|   133k|                    _PyFrame_StackPointerInvalidate(frame);
  |  |   51|   133k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|   133k|    { \
  |  |  |  |  217|   133k|        opcode = next_instr->op.code; \
  |  |  |  |  218|   133k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   133k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|   133k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|   133k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|   133k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|   133k|    }
  |  |  ------------------
  |  |   52|   133k|                }
  |  |   53|  15.9M|                OPCODE_DEFERRED_INC(BINARY_OP);
  |  |  ------------------
  |  |  |  |   90|  15.9M|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |   54|  15.9M|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  358|  15.9M|    do { \
  |  |  |  |  359|  15.9M|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  360|  15.9M|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (360:14): [Folded, False: 15.9M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   55|  15.9M|                #endif  /* ENABLE_SPECIALIZATION */
  |  |   56|  15.9M|                assert(NB_ADD <= oparg);
  |  |  ------------------
  |  |  |  Branch (56:17): [True: 15.7M, False: 133k]
  |  |  ------------------
  |  |   57|  15.9M|                assert(oparg <= NB_OPARG_LAST);
  |  |  ------------------
  |  |  |  Branch (57:17): [True: 15.7M, False: 0]
  |  |  ------------------
  |  |   58|  15.7M|            }
  |  |   59|       |            /* Skip 4 cache entries */
  |  |   60|       |            // _BINARY_OP
  |  |   61|  15.7M|            {
  |  |   62|  15.7M|                PyObject *lhs_o = PyStackRef_AsPyObjectBorrow(lhs);
  |  |   63|  15.7M|                PyObject *rhs_o = PyStackRef_AsPyObjectBorrow(rhs);
  |  |   64|  15.7M|                assert(_PyEval_BinaryOps[oparg]);
  |  |  ------------------
  |  |  |  Branch (64:17): [True: 15.7M, False: 0]
  |  |  ------------------
  |  |   65|  15.7M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |   66|  15.7M|                _PyFrame_StackPointerValidate(frame);
  |  |   67|  15.7M|                PyObject *res_o = _PyEval_BinaryOps[oparg](lhs_o, rhs_o);
  |  |   68|  15.7M|                _PyFrame_StackPointerInvalidate(frame);
  |  |   69|  15.7M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (69:21): [True: 2.70M, False: 13.0M]
  |  |  ------------------
  |  |   70|  2.70M|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|  2.70M|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |   71|      0|                }
  |  |   72|  13.0M|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |   73|  13.0M|                l = lhs;
  |  |   74|  13.0M|                r = rhs;
  |  |   75|  13.0M|            }
  |  |   76|       |            // _POP_TOP
  |  |   77|      0|            {
  |  |   78|  13.0M|                value = r;
  |  |   79|  13.0M|                stack_pointer[-2] = res;
  |  |   80|  13.0M|                stack_pointer[-1] = l;
  |  |   81|  13.0M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (81:17): [True: 13.0M, False: 0]
  |  |  ------------------
  |  |   82|  13.0M|                _PyFrame_StackPointerValidate(frame);
  |  |   83|  13.0M|                PyStackRef_XCLOSE(value);
  |  |   84|  13.0M|                _PyFrame_StackPointerInvalidate(frame);
  |  |   85|  13.0M|            }
  |  |   86|       |            // _POP_TOP
  |  |   87|      0|            {
  |  |   88|  13.0M|                value = l;
  |  |   89|  13.0M|                stack_pointer += -1;
  |  |   90|  13.0M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  13.0M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |   91|  13.0M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |   92|  13.0M|                _PyFrame_StackPointerValidate(frame);
  |  |   93|  13.0M|                PyStackRef_XCLOSE(value);
  |  |   94|  13.0M|                _PyFrame_StackPointerInvalidate(frame);
  |  |   95|  13.0M|            }
  |  |   96|  13.0M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  13.0M|    { \
  |  |  |  |  201|  13.0M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  13.0M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  13.0M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  13.0M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  13.0M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  13.0M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  13.0M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  13.0M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 13.0M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  13.0M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  13.0M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  13.0M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  13.0M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  13.0M|    }
  |  |  ------------------
  |  |   97|  13.0M|        }
  |  |   98|       |
  |  |   99|      0|        TARGET(BINARY_OP_ADD_FLOAT) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  100|       |            #if _Py_TAIL_CALL_INTERP
  |  |  101|       |            int opcode = BINARY_OP_ADD_FLOAT;
  |  |  102|       |            (void)(opcode);
  |  |  103|       |            #endif
  |  |  104|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  105|      0|            (void)this_instr;
  |  |  106|      0|            frame->instr_ptr = next_instr;
  |  |  107|      0|            next_instr += 6;
  |  |  108|      0|            INSTRUCTION_STATS(BINARY_OP_ADD_FLOAT);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  109|      0|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  110|      0|            _PyStackRef value;
  |  |  111|      0|            _PyStackRef left;
  |  |  112|      0|            _PyStackRef right;
  |  |  113|      0|            _PyStackRef res;
  |  |  114|      0|            _PyStackRef l;
  |  |  115|      0|            _PyStackRef r;
  |  |  116|       |            // _GUARD_TOS_FLOAT
  |  |  117|      0|            {
  |  |  118|      0|                value = stack_pointer[-1];
  |  |  119|      0|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  120|      0|                if (!PyFloat_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |   17|      0|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_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 (120:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  121|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  122|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (122:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  123|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  124|      0|                }
  |  |  125|      0|            }
  |  |  126|       |            // _GUARD_NOS_FLOAT
  |  |  127|      0|            {
  |  |  128|      0|                left = stack_pointer[-2];
  |  |  129|      0|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  130|      0|                if (!PyFloat_CheckExact(left_o)) {
  |  |  ------------------
  |  |  |  |   17|      0|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_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 (130:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  131|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  132|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (132:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  133|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  134|      0|                }
  |  |  135|      0|            }
  |  |  136|       |            /* Skip 5 cache entries */
  |  |  137|       |            // _BINARY_OP_ADD_FLOAT
  |  |  138|      0|            {
  |  |  139|      0|                right = value;
  |  |  140|      0|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  141|      0|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  142|      0|                assert(PyFloat_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (142:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  143|      0|                assert(PyFloat_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (143:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  144|      0|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|      0|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  145|      0|                double dres =
  |  |  146|      0|                ((PyFloatObject *)left_o)->ob_fval +
  |  |  147|      0|                ((PyFloatObject *)right_o)->ob_fval;
  |  |  148|      0|                PyObject *d = PyFloat_FromDouble(dres);
  |  |  149|      0|                if (d == NULL) {
  |  |  ------------------
  |  |  |  Branch (149:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  150|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  151|      0|                }
  |  |  152|      0|                res = PyStackRef_FromPyObjectSteal(d);
  |  |  153|      0|                l = left;
  |  |  154|      0|                r = right;
  |  |  155|      0|            }
  |  |  156|       |            // _POP_TOP_FLOAT
  |  |  157|      0|            {
  |  |  158|      0|                value = r;
  |  |  159|      0|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (159:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  160|      0|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  |  161|      0|            }
  |  |  162|       |            // _POP_TOP_FLOAT
  |  |  163|      0|            {
  |  |  164|      0|                value = l;
  |  |  165|      0|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (165:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  166|      0|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  |  167|      0|            }
  |  |  168|      0|            stack_pointer[-2] = res;
  |  |  169|      0|            stack_pointer += -1;
  |  |  170|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  171|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  |  172|      0|        }
  |  |  173|       |
  |  |  174|  37.8M|        TARGET(BINARY_OP_ADD_INT) {
  |  |  ------------------
  |  |  |  |  132|  37.8M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  175|       |            #if _Py_TAIL_CALL_INTERP
  |  |  176|       |            int opcode = BINARY_OP_ADD_INT;
  |  |  177|       |            (void)(opcode);
  |  |  178|       |            #endif
  |  |  179|  37.8M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  180|  37.8M|            (void)this_instr;
  |  |  181|  37.8M|            frame->instr_ptr = next_instr;
  |  |  182|  37.8M|            next_instr += 6;
  |  |  183|  37.8M|            INSTRUCTION_STATS(BINARY_OP_ADD_INT);
  |  |  ------------------
  |  |  |  |   71|  37.8M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  184|  37.8M|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  185|  37.8M|            _PyStackRef value;
  |  |  186|  37.8M|            _PyStackRef left;
  |  |  187|  37.8M|            _PyStackRef right;
  |  |  188|  37.8M|            _PyStackRef res;
  |  |  189|  37.8M|            _PyStackRef l;
  |  |  190|  37.8M|            _PyStackRef r;
  |  |  191|       |            // _GUARD_TOS_INT
  |  |  192|  37.8M|            {
  |  |  193|  37.8M|                value = stack_pointer[-1];
  |  |  194|  37.8M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  195|  37.8M|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (195:21): [True: 33.4k, False: 37.7M]
  |  |  ------------------
  |  |  196|  33.4k|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|  33.4k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  197|  33.4k|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (197:21): [True: 33.4k, False: 0]
  |  |  ------------------
  |  |  198|  33.4k|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|  33.4k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  199|      0|                }
  |  |  200|  37.8M|            }
  |  |  201|       |            // _GUARD_NOS_INT
  |  |  202|  37.7M|            {
  |  |  203|  37.7M|                left = stack_pointer[-2];
  |  |  204|  37.7M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  205|  37.7M|                if (!_PyLong_CheckExactAndCompact(left_o)) {
  |  |  ------------------
  |  |  |  Branch (205:21): [True: 169k, False: 37.6M]
  |  |  ------------------
  |  |  206|   169k|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|   169k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  207|   169k|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (207:21): [True: 169k, False: 0]
  |  |  ------------------
  |  |  208|   169k|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|   169k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  209|      0|                }
  |  |  210|  37.7M|            }
  |  |  211|       |            /* Skip 5 cache entries */
  |  |  212|       |            // _BINARY_OP_ADD_INT
  |  |  213|  37.6M|            {
  |  |  214|  37.6M|                right = value;
  |  |  215|  37.6M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  216|  37.6M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  217|  37.6M|                assert(PyLong_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (217:17): [True: 37.6M, False: 0]
  |  |  ------------------
  |  |  218|  37.6M|                assert(PyLong_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (218:17): [True: 37.6M, False: 0]
  |  |  ------------------
  |  |  219|  37.6M|                assert(_PyLong_BothAreCompact((PyLongObject *)left_o, (PyLongObject *)right_o));
  |  |  ------------------
  |  |  |  Branch (219:17): [True: 37.6M, False: 0]
  |  |  ------------------
  |  |  220|  37.6M|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  37.6M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  221|  37.6M|                res = _PyCompactLong_Add((PyLongObject *)left_o, (PyLongObject *)right_o);
  |  |  222|  37.6M|                if (PyStackRef_IsNull(res)) {
  |  |  ------------------
  |  |  |  |  482|  37.6M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  37.6M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  37.6M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 1.37k, False: 37.6M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  223|  1.37k|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|  1.37k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  224|  1.37k|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (224:21): [True: 1.37k, False: 0]
  |  |  ------------------
  |  |  225|  1.37k|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|  1.37k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  226|      0|                }
  |  |  227|  37.6M|                l = left;
  |  |  228|  37.6M|                r = right;
  |  |  229|  37.6M|            }
  |  |  230|       |            // _POP_TOP_INT
  |  |  231|      0|            {
  |  |  232|  37.6M|                value = r;
  |  |  233|  37.6M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (233:17): [True: 37.6M, False: 0]
  |  |  ------------------
  |  |  234|  37.6M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |  235|  37.6M|            }
  |  |  236|       |            // _POP_TOP_INT
  |  |  237|      0|            {
  |  |  238|  37.6M|                value = l;
  |  |  239|  37.6M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (239:17): [True: 37.6M, False: 0]
  |  |  ------------------
  |  |  240|  37.6M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |  241|  37.6M|            }
  |  |  242|      0|            stack_pointer[-2] = res;
  |  |  243|  37.6M|            stack_pointer += -1;
  |  |  244|  37.6M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  37.6M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  245|  37.6M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  37.6M|    { \
  |  |  |  |  201|  37.6M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  37.6M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  37.6M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  37.6M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  37.6M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  37.6M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  37.6M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  37.6M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 37.6M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  37.6M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  37.6M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  37.6M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  37.6M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  37.6M|    }
  |  |  ------------------
  |  |  246|  37.6M|        }
  |  |  247|       |
  |  |  248|   509k|        TARGET(BINARY_OP_ADD_UNICODE) {
  |  |  ------------------
  |  |  |  |  132|   509k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  249|       |            #if _Py_TAIL_CALL_INTERP
  |  |  250|       |            int opcode = BINARY_OP_ADD_UNICODE;
  |  |  251|       |            (void)(opcode);
  |  |  252|       |            #endif
  |  |  253|   509k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  254|   509k|            (void)this_instr;
  |  |  255|   509k|            frame->instr_ptr = next_instr;
  |  |  256|   509k|            next_instr += 6;
  |  |  257|   509k|            INSTRUCTION_STATS(BINARY_OP_ADD_UNICODE);
  |  |  ------------------
  |  |  |  |   71|   509k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  258|   509k|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  259|   509k|            _PyStackRef value;
  |  |  260|   509k|            _PyStackRef nos;
  |  |  261|   509k|            _PyStackRef left;
  |  |  262|   509k|            _PyStackRef right;
  |  |  263|   509k|            _PyStackRef res;
  |  |  264|   509k|            _PyStackRef l;
  |  |  265|   509k|            _PyStackRef r;
  |  |  266|       |            // _GUARD_TOS_UNICODE
  |  |  267|   509k|            {
  |  |  268|   509k|                value = stack_pointer[-1];
  |  |  269|   509k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  270|   509k|                if (!PyUnicode_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |  104|   509k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   509k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   509k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   509k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (270:21): [True: 0, False: 509k]
  |  |  ------------------
  |  |  271|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  272|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (272:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  273|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  274|      0|                }
  |  |  275|   509k|            }
  |  |  276|       |            // _GUARD_NOS_UNICODE
  |  |  277|   509k|            {
  |  |  278|   509k|                nos = stack_pointer[-2];
  |  |  279|   509k|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |  280|   509k|                if (!PyUnicode_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |  104|   509k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   509k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   509k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   509k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (280:21): [True: 0, False: 509k]
  |  |  ------------------
  |  |  281|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  282|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (282:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  283|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  284|      0|                }
  |  |  285|   509k|            }
  |  |  286|       |            /* Skip 5 cache entries */
  |  |  287|       |            // _BINARY_OP_ADD_UNICODE
  |  |  288|   509k|            {
  |  |  289|   509k|                right = value;
  |  |  290|   509k|                left = nos;
  |  |  291|   509k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  292|   509k|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  293|   509k|                assert(PyUnicode_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (293:17): [True: 509k, False: 0]
  |  |  ------------------
  |  |  294|   509k|                assert(PyUnicode_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (294:17): [True: 509k, False: 0]
  |  |  ------------------
  |  |  295|   509k|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|   509k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  296|   509k|                PyObject *res_o = PyUnicode_Concat(left_o, right_o);
  |  |  297|   509k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (297:21): [True: 0, False: 509k]
  |  |  ------------------
  |  |  298|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  299|      0|                }
  |  |  300|   509k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |  301|   509k|                l = left;
  |  |  302|   509k|                r = right;
  |  |  303|   509k|            }
  |  |  304|       |            // _POP_TOP_UNICODE
  |  |  305|      0|            {
  |  |  306|   509k|                value = r;
  |  |  307|   509k|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (307:17): [True: 509k, False: 0]
  |  |  ------------------
  |  |  308|   509k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  |  309|   509k|            }
  |  |  310|       |            // _POP_TOP_UNICODE
  |  |  311|      0|            {
  |  |  312|   509k|                value = l;
  |  |  313|   509k|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (313:17): [True: 509k, False: 0]
  |  |  ------------------
  |  |  314|   509k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  |  315|   509k|            }
  |  |  316|      0|            stack_pointer[-2] = res;
  |  |  317|   509k|            stack_pointer += -1;
  |  |  318|   509k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   509k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  319|   509k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   509k|    { \
  |  |  |  |  201|   509k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   509k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   509k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   509k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   509k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   509k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   509k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   509k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 509k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   509k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   509k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   509k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   509k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   509k|    }
  |  |  ------------------
  |  |  320|   509k|        }
  |  |  321|       |
  |  |  322|  14.4M|        TARGET(BINARY_OP_EXTEND) {
  |  |  ------------------
  |  |  |  |  132|  14.4M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  323|       |            #if _Py_TAIL_CALL_INTERP
  |  |  324|       |            int opcode = BINARY_OP_EXTEND;
  |  |  325|       |            (void)(opcode);
  |  |  326|       |            #endif
  |  |  327|  14.4M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  328|  14.4M|            (void)this_instr;
  |  |  329|  14.4M|            frame->instr_ptr = next_instr;
  |  |  330|  14.4M|            next_instr += 6;
  |  |  331|  14.4M|            INSTRUCTION_STATS(BINARY_OP_EXTEND);
  |  |  ------------------
  |  |  |  |   71|  14.4M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  332|  14.4M|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  333|  14.4M|            _PyStackRef left;
  |  |  334|  14.4M|            _PyStackRef right;
  |  |  335|  14.4M|            _PyStackRef res;
  |  |  336|  14.4M|            _PyStackRef l;
  |  |  337|  14.4M|            _PyStackRef r;
  |  |  338|  14.4M|            _PyStackRef value;
  |  |  339|       |            /* Skip 1 cache entry */
  |  |  340|       |            // _GUARD_BINARY_OP_EXTEND
  |  |  341|  14.4M|            {
  |  |  342|  14.4M|                right = stack_pointer[-1];
  |  |  343|  14.4M|                left = stack_pointer[-2];
  |  |  344|  14.4M|                PyObject *descr = read_obj(&this_instr[2].cache);
  |  |  345|  14.4M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  346|  14.4M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  347|  14.4M|                _PyBinaryOpSpecializationDescr *d = (_PyBinaryOpSpecializationDescr*)descr;
  |  |  348|  14.4M|                assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5);
  |  |  ------------------
  |  |  |  Branch (348:17): [True: 14.4M, Folded]
  |  |  ------------------
  |  |  349|  14.4M|                assert(d != NULL);
  |  |  ------------------
  |  |  |  Branch (349:17): [True: 14.4M, False: 0]
  |  |  ------------------
  |  |  350|  14.4M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  351|  14.4M|                _PyFrame_StackPointerValidate(frame);
  |  |  352|  14.4M|                int match = (d->guard != NULL)
  |  |  ------------------
  |  |  |  Branch (352:29): [True: 14.0M, False: 429k]
  |  |  ------------------
  |  |  353|  14.4M|                ? d->guard(left_o, right_o)
  |  |  354|  14.4M|            : (Py_TYPE(left_o) == d->lhs_type && Py_TYPE(right_o) == d->rhs_type);
  |  |  ------------------
  |  |  |  |  213|   429k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   429k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   429k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           : (Py_TYPE(left_o) == d->lhs_type && Py_TYPE(right_o) == d->rhs_type);
  |  |  ------------------
  |  |  |  |  213|   429k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   429k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   429k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (354:16): [True: 429k, False: 0]
  |  |  |  Branch (354:50): [True: 429k, False: 0]
  |  |  ------------------
  |  |  355|  14.4M|                _PyFrame_StackPointerInvalidate(frame);
  |  |  356|  14.4M|                if (!match) {
  |  |  ------------------
  |  |  |  Branch (356:21): [True: 0, False: 14.4M]
  |  |  ------------------
  |  |  357|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  358|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (358:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  359|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  360|      0|                }
  |  |  361|  14.4M|            }
  |  |  362|       |            /* Skip -4 cache entry */
  |  |  363|       |            // _BINARY_OP_EXTEND
  |  |  364|  14.4M|            {
  |  |  365|  14.4M|                PyObject *descr = read_obj(&this_instr[2].cache);
  |  |  366|  14.4M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  367|  14.4M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  368|  14.4M|                assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5);
  |  |  ------------------
  |  |  |  Branch (368:17): [True: 14.4M, Folded]
  |  |  ------------------
  |  |  369|  14.4M|                _PyBinaryOpSpecializationDescr *d = (_PyBinaryOpSpecializationDescr*)descr;
  |  |  370|  14.4M|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  14.4M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  371|  14.4M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (371:17): [True: 14.4M, False: 0]
  |  |  ------------------
  |  |  372|  14.4M|                _PyFrame_StackPointerValidate(frame);
  |  |  373|  14.4M|                PyObject *res_o = d->action(left_o, right_o);
  |  |  374|  14.4M|                _PyFrame_StackPointerInvalidate(frame);
  |  |  375|  14.4M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (375:21): [True: 0, False: 14.4M]
  |  |  ------------------
  |  |  376|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  377|      0|                }
  |  |  378|  14.4M|                assert(d->result_type == NULL || Py_TYPE(res_o) == d->result_type);
  |  |  ------------------
  |  |  |  Branch (378:17): [True: 0, False: 14.4M]
  |  |  |  Branch (378:17): [True: 14.4M, False: 0]
  |  |  ------------------
  |  |  379|  14.4M|                assert(!d->result_unique || Py_REFCNT(res_o) == 1 || _Py_IsImmortal(res_o));
  |  |  ------------------
  |  |  |  Branch (379:17): [True: 20, False: 14.4M]
  |  |  |  Branch (379:17): [True: 1.42M, False: 13.0M]
  |  |  |  Branch (379:17): [True: 13.0M, False: 0]
  |  |  ------------------
  |  |  380|  14.4M|                assert(!PyFloat_CheckExact(res_o) || Py_REFCNT(res_o) == 1);
  |  |  ------------------
  |  |  |  Branch (380:17): [True: 14.4M, False: 0]
  |  |  |  Branch (380:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  381|  14.4M|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |  382|  14.4M|                l = left;
  |  |  383|  14.4M|                r = right;
  |  |  384|  14.4M|            }
  |  |  385|       |            // _POP_TOP
  |  |  386|      0|            {
  |  |  387|  14.4M|                value = r;
  |  |  388|  14.4M|                stack_pointer[-2] = res;
  |  |  389|  14.4M|                stack_pointer[-1] = l;
  |  |  390|  14.4M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (390:17): [True: 14.4M, False: 0]
  |  |  ------------------
  |  |  391|  14.4M|                _PyFrame_StackPointerValidate(frame);
  |  |  392|  14.4M|                PyStackRef_XCLOSE(value);
  |  |  393|  14.4M|                _PyFrame_StackPointerInvalidate(frame);
  |  |  394|  14.4M|            }
  |  |  395|       |            // _POP_TOP
  |  |  396|      0|            {
  |  |  397|  14.4M|                value = l;
  |  |  398|  14.4M|                stack_pointer += -1;
  |  |  399|  14.4M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  14.4M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  400|  14.4M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  401|  14.4M|                _PyFrame_StackPointerValidate(frame);
  |  |  402|  14.4M|                PyStackRef_XCLOSE(value);
  |  |  403|  14.4M|                _PyFrame_StackPointerInvalidate(frame);
  |  |  404|  14.4M|            }
  |  |  405|  14.4M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  14.4M|    { \
  |  |  |  |  201|  14.4M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  14.4M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  14.4M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  14.4M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  14.4M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  14.4M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  14.4M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  14.4M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 14.4M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  14.4M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  14.4M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  14.4M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  14.4M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  14.4M|    }
  |  |  ------------------
  |  |  406|  14.4M|        }
  |  |  407|       |
  |  |  408|  5.90M|        TARGET(BINARY_OP_INPLACE_ADD_UNICODE) {
  |  |  ------------------
  |  |  |  |  132|  5.90M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  409|       |            #if _Py_TAIL_CALL_INTERP
  |  |  410|       |            int opcode = BINARY_OP_INPLACE_ADD_UNICODE;
  |  |  411|       |            (void)(opcode);
  |  |  412|       |            #endif
  |  |  413|  5.90M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  414|  5.90M|            (void)this_instr;
  |  |  415|  5.90M|            frame->instr_ptr = next_instr;
  |  |  416|  5.90M|            next_instr += 6;
  |  |  417|  5.90M|            INSTRUCTION_STATS(BINARY_OP_INPLACE_ADD_UNICODE);
  |  |  ------------------
  |  |  |  |   71|  5.90M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  418|  5.90M|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  419|  5.90M|            _PyStackRef value;
  |  |  420|  5.90M|            _PyStackRef nos;
  |  |  421|  5.90M|            _PyStackRef left;
  |  |  422|  5.90M|            _PyStackRef right;
  |  |  423|  5.90M|            _PyStackRef res;
  |  |  424|       |            // _GUARD_TOS_UNICODE
  |  |  425|  5.90M|            {
  |  |  426|  5.90M|                value = stack_pointer[-1];
  |  |  427|  5.90M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  428|  5.90M|                if (!PyUnicode_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |  104|  5.90M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  5.90M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  5.90M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  5.90M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (428:21): [True: 0, False: 5.90M]
  |  |  ------------------
  |  |  429|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  430|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (430:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  431|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  432|      0|                }
  |  |  433|  5.90M|            }
  |  |  434|       |            // _GUARD_NOS_UNICODE
  |  |  435|  5.90M|            {
  |  |  436|  5.90M|                nos = stack_pointer[-2];
  |  |  437|  5.90M|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |  438|  5.90M|                if (!PyUnicode_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |  104|  5.90M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  5.90M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  5.90M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  5.90M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (438:21): [True: 0, False: 5.90M]
  |  |  ------------------
  |  |  439|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  440|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (440:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  441|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  442|      0|                }
  |  |  443|  5.90M|            }
  |  |  444|       |            /* Skip 5 cache entries */
  |  |  445|       |            // _BINARY_OP_INPLACE_ADD_UNICODE
  |  |  446|  5.90M|            {
  |  |  447|  5.90M|                right = value;
  |  |  448|  5.90M|                left = nos;
  |  |  449|  5.90M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  450|  5.90M|                assert(PyUnicode_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (450:17): [True: 5.90M, False: 0]
  |  |  ------------------
  |  |  451|  5.90M|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(right)));
  |  |  ------------------
  |  |  |  Branch (451:17): [True: 5.90M, False: 0]
  |  |  ------------------
  |  |  452|  5.90M|                int next_oparg;
  |  |  453|  5.90M|                #if TIER_ONE
  |  |  454|  5.90M|                assert(next_instr->op.code == STORE_FAST);
  |  |  ------------------
  |  |  |  Branch (454:17): [True: 5.90M, False: 0]
  |  |  ------------------
  |  |  455|  5.90M|                next_oparg = next_instr->op.arg;
  |  |  456|       |                #else
  |  |  457|       |                next_oparg = (int)CURRENT_OPERAND0_16();
  |  |  458|       |                #endif
  |  |  459|  5.90M|                _PyStackRef *target_local = &GETLOCAL(next_oparg);
  |  |  ------------------
  |  |  |  |  285|  5.90M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |  460|  5.90M|                assert(PyUnicode_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (460:17): [True: 5.90M, False: 0]
  |  |  ------------------
  |  |  461|  5.90M|                if (PyStackRef_AsPyObjectBorrow(*target_local) != left_o) {
  |  |  ------------------
  |  |  |  Branch (461:21): [True: 0, False: 5.90M]
  |  |  ------------------
  |  |  462|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  463|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (463:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  464|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  465|      0|                }
  |  |  466|  5.90M|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  5.90M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  467|  5.90M|                assert(Py_REFCNT(left_o) >= 2 || !PyStackRef_IsHeapSafe(left));
  |  |  ------------------
  |  |  |  Branch (467:17): [True: 501k, False: 5.40M]
  |  |  |  Branch (467:17): [True: 5.40M, False: 0]
  |  |  ------------------
  |  |  468|  5.90M|                PyObject *temp = PyStackRef_AsPyObjectSteal(*target_local);
  |  |  469|  5.90M|                PyObject *right_o = PyStackRef_AsPyObjectSteal(right);
  |  |  470|  5.90M|                PyStackRef_CLOSE_SPECIALIZED(left, _PyUnicode_ExactDealloc);
  |  |  471|  5.90M|                stack_pointer += -2;
  |  |  472|  5.90M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  5.90M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  473|  5.90M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  474|  5.90M|                _PyFrame_StackPointerValidate(frame);
  |  |  475|  5.90M|                PyUnicode_Append(&temp, right_o);
  |  |  476|  5.90M|                _PyFrame_StackPointerInvalidate(frame);
  |  |  477|  5.90M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (477:17): [True: 5.90M, False: 0]
  |  |  ------------------
  |  |  478|  5.90M|                _PyFrame_StackPointerValidate(frame);
  |  |  479|  5.90M|                _Py_DECREF_SPECIALIZED(right_o, _PyUnicode_ExactDealloc);
  |  |  ------------------
  |  |  |  |   96|  5.90M|    do { \
  |  |  |  |   97|  5.90M|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.90M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.90M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   98|  5.90M|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|  5.90M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  5.90M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  5.90M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 5.63M, False: 270k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   99|  5.63M|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|  5.63M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  100|  5.63M|            break; \
  |  |  |  |  101|  5.63M|        } \
  |  |  |  |  102|  5.90M|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|   270k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  103|   270k|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (103:13): [True: 263k, False: 6.75k]
  |  |  |  |  ------------------
  |  |  |  |  104|   263k|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|   263k|    do { \
  |  |  |  |  |  |  113|   263k|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|   263k|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 263k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|   263k|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 263k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  105|   263k|            destructor d = (destructor)(dealloc); \
  |  |  |  |  106|   263k|            d(op); \
  |  |  |  |  107|   263k|        } \
  |  |  |  |  108|   270k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (108:14): [Folded, False: 270k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  480|  5.90M|                _PyFrame_StackPointerInvalidate(frame);
  |  |  481|  5.90M|                *target_local = PyStackRef_NULL;
  |  |  482|  5.90M|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (482:21): [True: 0, False: 5.90M]
  |  |  ------------------
  |  |  483|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  484|      0|                }
  |  |  485|  5.90M|                res = PyStackRef_FromPyObjectSteal(temp);
  |  |  486|  5.90M|            }
  |  |  487|      0|            stack_pointer[0] = res;
  |  |  488|  5.90M|            stack_pointer += 1;
  |  |  489|  5.90M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  5.90M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  490|  5.90M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  5.90M|    { \
  |  |  |  |  201|  5.90M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  5.90M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  5.90M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  5.90M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  5.90M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  5.90M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  5.90M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  5.90M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 5.90M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  5.90M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  5.90M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  5.90M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  5.90M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  5.90M|    }
  |  |  ------------------
  |  |  491|  5.90M|        }
  |  |  492|       |
  |  |  493|      0|        TARGET(BINARY_OP_MULTIPLY_FLOAT) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  494|       |            #if _Py_TAIL_CALL_INTERP
  |  |  495|       |            int opcode = BINARY_OP_MULTIPLY_FLOAT;
  |  |  496|       |            (void)(opcode);
  |  |  497|       |            #endif
  |  |  498|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  499|      0|            (void)this_instr;
  |  |  500|      0|            frame->instr_ptr = next_instr;
  |  |  501|      0|            next_instr += 6;
  |  |  502|      0|            INSTRUCTION_STATS(BINARY_OP_MULTIPLY_FLOAT);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  503|      0|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  504|      0|            _PyStackRef value;
  |  |  505|      0|            _PyStackRef left;
  |  |  506|      0|            _PyStackRef right;
  |  |  507|      0|            _PyStackRef res;
  |  |  508|      0|            _PyStackRef l;
  |  |  509|      0|            _PyStackRef r;
  |  |  510|       |            // _GUARD_TOS_FLOAT
  |  |  511|      0|            {
  |  |  512|      0|                value = stack_pointer[-1];
  |  |  513|      0|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  514|      0|                if (!PyFloat_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |   17|      0|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_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 (514:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  515|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  516|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (516:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  517|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  518|      0|                }
  |  |  519|      0|            }
  |  |  520|       |            // _GUARD_NOS_FLOAT
  |  |  521|      0|            {
  |  |  522|      0|                left = stack_pointer[-2];
  |  |  523|      0|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  524|      0|                if (!PyFloat_CheckExact(left_o)) {
  |  |  ------------------
  |  |  |  |   17|      0|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_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 (524:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  525|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  526|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (526:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  527|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  528|      0|                }
  |  |  529|      0|            }
  |  |  530|       |            /* Skip 5 cache entries */
  |  |  531|       |            // _BINARY_OP_MULTIPLY_FLOAT
  |  |  532|      0|            {
  |  |  533|      0|                right = value;
  |  |  534|      0|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  535|      0|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  536|      0|                assert(PyFloat_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (536:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  537|      0|                assert(PyFloat_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (537:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  538|      0|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|      0|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  539|      0|                double dres =
  |  |  540|      0|                ((PyFloatObject *)left_o)->ob_fval *
  |  |  541|      0|                ((PyFloatObject *)right_o)->ob_fval;
  |  |  542|      0|                PyObject *d = PyFloat_FromDouble(dres);
  |  |  543|      0|                if (d == NULL) {
  |  |  ------------------
  |  |  |  Branch (543:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  544|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  545|      0|                }
  |  |  546|      0|                res = PyStackRef_FromPyObjectSteal(d);
  |  |  547|      0|                l = left;
  |  |  548|      0|                r = right;
  |  |  549|      0|            }
  |  |  550|       |            // _POP_TOP_FLOAT
  |  |  551|      0|            {
  |  |  552|      0|                value = r;
  |  |  553|      0|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (553:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  554|      0|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  |  555|      0|            }
  |  |  556|       |            // _POP_TOP_FLOAT
  |  |  557|      0|            {
  |  |  558|      0|                value = l;
  |  |  559|      0|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (559:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  560|      0|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  |  561|      0|            }
  |  |  562|      0|            stack_pointer[-2] = res;
  |  |  563|      0|            stack_pointer += -1;
  |  |  564|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  565|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  |  566|      0|        }
  |  |  567|       |
  |  |  568|  2.89M|        TARGET(BINARY_OP_MULTIPLY_INT) {
  |  |  ------------------
  |  |  |  |  132|  2.89M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  569|       |            #if _Py_TAIL_CALL_INTERP
  |  |  570|       |            int opcode = BINARY_OP_MULTIPLY_INT;
  |  |  571|       |            (void)(opcode);
  |  |  572|       |            #endif
  |  |  573|  2.89M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  574|  2.89M|            (void)this_instr;
  |  |  575|  2.89M|            frame->instr_ptr = next_instr;
  |  |  576|  2.89M|            next_instr += 6;
  |  |  577|  2.89M|            INSTRUCTION_STATS(BINARY_OP_MULTIPLY_INT);
  |  |  ------------------
  |  |  |  |   71|  2.89M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  578|  2.89M|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  579|  2.89M|            _PyStackRef value;
  |  |  580|  2.89M|            _PyStackRef left;
  |  |  581|  2.89M|            _PyStackRef right;
  |  |  582|  2.89M|            _PyStackRef res;
  |  |  583|  2.89M|            _PyStackRef l;
  |  |  584|  2.89M|            _PyStackRef r;
  |  |  585|       |            // _GUARD_TOS_INT
  |  |  586|  2.89M|            {
  |  |  587|  2.89M|                value = stack_pointer[-1];
  |  |  588|  2.89M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  589|  2.89M|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (589:21): [True: 36.4k, False: 2.85M]
  |  |  ------------------
  |  |  590|  36.4k|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|  36.4k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  591|  36.4k|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (591:21): [True: 36.4k, False: 0]
  |  |  ------------------
  |  |  592|  36.4k|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|  36.4k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  593|      0|                }
  |  |  594|  2.89M|            }
  |  |  595|       |            // _GUARD_NOS_INT
  |  |  596|  2.85M|            {
  |  |  597|  2.85M|                left = stack_pointer[-2];
  |  |  598|  2.85M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  599|  2.85M|                if (!_PyLong_CheckExactAndCompact(left_o)) {
  |  |  ------------------
  |  |  |  Branch (599:21): [True: 7.48k, False: 2.84M]
  |  |  ------------------
  |  |  600|  7.48k|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|  7.48k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  601|  7.48k|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (601:21): [True: 7.48k, False: 0]
  |  |  ------------------
  |  |  602|  7.48k|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|  7.48k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  603|      0|                }
  |  |  604|  2.85M|            }
  |  |  605|       |            /* Skip 5 cache entries */
  |  |  606|       |            // _BINARY_OP_MULTIPLY_INT
  |  |  607|  2.84M|            {
  |  |  608|  2.84M|                right = value;
  |  |  609|  2.84M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  610|  2.84M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  611|  2.84M|                assert(PyLong_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (611:17): [True: 2.84M, False: 0]
  |  |  ------------------
  |  |  612|  2.84M|                assert(PyLong_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (612:17): [True: 2.84M, False: 0]
  |  |  ------------------
  |  |  613|  2.84M|                assert(_PyLong_BothAreCompact((PyLongObject *)left_o, (PyLongObject *)right_o));
  |  |  ------------------
  |  |  |  Branch (613:17): [True: 2.84M, False: 0]
  |  |  ------------------
  |  |  614|  2.84M|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  2.84M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  615|  2.84M|                res = _PyCompactLong_Multiply((PyLongObject *)left_o, (PyLongObject *)right_o);
  |  |  616|  2.84M|                if (PyStackRef_IsNull(res)) {
  |  |  ------------------
  |  |  |  |  482|  2.84M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  2.84M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.84M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 1.41k, False: 2.84M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  617|  1.41k|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|  1.41k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  618|  1.41k|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (618:21): [True: 1.41k, False: 0]
  |  |  ------------------
  |  |  619|  1.41k|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|  1.41k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  620|      0|                }
  |  |  621|  2.84M|                l = left;
  |  |  622|  2.84M|                r = right;
  |  |  623|  2.84M|            }
  |  |  624|       |            // _POP_TOP_INT
  |  |  625|      0|            {
  |  |  626|  2.84M|                value = r;
  |  |  627|  2.84M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (627:17): [True: 2.84M, False: 0]
  |  |  ------------------
  |  |  628|  2.84M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |  629|  2.84M|            }
  |  |  630|       |            // _POP_TOP_INT
  |  |  631|      0|            {
  |  |  632|  2.84M|                value = l;
  |  |  633|  2.84M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (633:17): [True: 2.84M, False: 0]
  |  |  ------------------
  |  |  634|  2.84M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |  635|  2.84M|            }
  |  |  636|      0|            stack_pointer[-2] = res;
  |  |  637|  2.84M|            stack_pointer += -1;
  |  |  638|  2.84M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.84M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  639|  2.84M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.84M|    { \
  |  |  |  |  201|  2.84M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.84M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.84M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.84M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.84M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.84M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.84M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.84M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.84M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.84M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.84M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.84M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.84M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.84M|    }
  |  |  ------------------
  |  |  640|  2.84M|        }
  |  |  641|       |
  |  |  642|  2.28M|        TARGET(BINARY_OP_SUBSCR_DICT) {
  |  |  ------------------
  |  |  |  |  132|  2.28M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  643|       |            #if _Py_TAIL_CALL_INTERP
  |  |  644|       |            int opcode = BINARY_OP_SUBSCR_DICT;
  |  |  645|       |            (void)(opcode);
  |  |  646|       |            #endif
  |  |  647|  2.28M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  648|  2.28M|            (void)this_instr;
  |  |  649|  2.28M|            frame->instr_ptr = next_instr;
  |  |  650|  2.28M|            next_instr += 6;
  |  |  651|  2.28M|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_DICT);
  |  |  ------------------
  |  |  |  |   71|  2.28M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  652|  2.28M|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  653|  2.28M|            _PyStackRef nos;
  |  |  654|  2.28M|            _PyStackRef dict_st;
  |  |  655|  2.28M|            _PyStackRef sub_st;
  |  |  656|  2.28M|            _PyStackRef res;
  |  |  657|  2.28M|            _PyStackRef ds;
  |  |  658|  2.28M|            _PyStackRef ss;
  |  |  659|  2.28M|            _PyStackRef value;
  |  |  660|       |            // _GUARD_NOS_DICT_SUBSCRIPT
  |  |  661|  2.28M|            {
  |  |  662|  2.28M|                nos = stack_pointer[-2];
  |  |  663|  2.28M|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |  664|  2.28M|                if (!Py_TYPE(o)->tp_as_mapping) {
  |  |  ------------------
  |  |  |  |  213|  2.28M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.28M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.28M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (664:21): [True: 0, False: 2.28M]
  |  |  ------------------
  |  |  665|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  666|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (666:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  667|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  668|      0|                }
  |  |  669|  2.28M|                if (Py_TYPE(o)->tp_as_mapping->mp_subscript != _PyDict_Subscript) {
  |  |  ------------------
  |  |  |  |  213|  2.28M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.28M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.28M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (669:21): [True: 0, False: 2.28M]
  |  |  ------------------
  |  |  670|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  671|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (671:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  672|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  673|      0|                }
  |  |  674|  2.28M|            }
  |  |  675|       |            /* Skip 5 cache entries */
  |  |  676|       |            // _BINARY_OP_SUBSCR_DICT
  |  |  677|  2.28M|            {
  |  |  678|  2.28M|                sub_st = stack_pointer[-1];
  |  |  679|  2.28M|                dict_st = nos;
  |  |  680|  2.28M|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  |  681|  2.28M|                PyObject *dict = PyStackRef_AsPyObjectBorrow(dict_st);
  |  |  682|  2.28M|                assert(Py_TYPE(dict)->tp_as_mapping->mp_subscript == _PyDict_Subscript);
  |  |  ------------------
  |  |  |  Branch (682:17): [True: 2.28M, False: 0]
  |  |  ------------------
  |  |  683|  2.28M|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  2.28M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  684|  2.28M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  685|  2.28M|                _PyFrame_StackPointerValidate(frame);
  |  |  686|  2.28M|                PyObject *res_o = _PyDict_Subscript(dict, sub);
  |  |  687|  2.28M|                _PyFrame_StackPointerInvalidate(frame);
  |  |  688|  2.28M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (688:21): [True: 4.82k, False: 2.28M]
  |  |  ------------------
  |  |  689|  4.82k|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|  4.82k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  690|      0|                }
  |  |  691|  2.28M|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |  692|  2.28M|                ds = dict_st;
  |  |  693|  2.28M|                ss = sub_st;
  |  |  694|  2.28M|            }
  |  |  695|       |            // _POP_TOP
  |  |  696|      0|            {
  |  |  697|  2.28M|                value = ss;
  |  |  698|  2.28M|                stack_pointer[-2] = res;
  |  |  699|  2.28M|                stack_pointer[-1] = ds;
  |  |  700|  2.28M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (700:17): [True: 2.28M, False: 0]
  |  |  ------------------
  |  |  701|  2.28M|                _PyFrame_StackPointerValidate(frame);
  |  |  702|  2.28M|                PyStackRef_XCLOSE(value);
  |  |  703|  2.28M|                _PyFrame_StackPointerInvalidate(frame);
  |  |  704|  2.28M|            }
  |  |  705|       |            // _POP_TOP
  |  |  706|      0|            {
  |  |  707|  2.28M|                value = ds;
  |  |  708|  2.28M|                stack_pointer += -1;
  |  |  709|  2.28M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.28M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  710|  2.28M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  711|  2.28M|                _PyFrame_StackPointerValidate(frame);
  |  |  712|  2.28M|                PyStackRef_XCLOSE(value);
  |  |  713|  2.28M|                _PyFrame_StackPointerInvalidate(frame);
  |  |  714|  2.28M|            }
  |  |  715|  2.28M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.28M|    { \
  |  |  |  |  201|  2.28M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.28M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.28M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.28M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.28M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.28M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.28M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.28M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.28M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.28M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.28M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.28M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.28M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.28M|    }
  |  |  ------------------
  |  |  716|  2.28M|        }
  |  |  717|       |
  |  |  718|  13.0M|        TARGET(BINARY_OP_SUBSCR_GETITEM) {
  |  |  ------------------
  |  |  |  |  132|  13.0M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  719|       |            #if _Py_TAIL_CALL_INTERP
  |  |  720|       |            int opcode = BINARY_OP_SUBSCR_GETITEM;
  |  |  721|       |            (void)(opcode);
  |  |  722|       |            #endif
  |  |  723|  13.0M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  724|  13.0M|            (void)this_instr;
  |  |  725|  13.0M|            frame->instr_ptr = next_instr;
  |  |  726|  13.0M|            next_instr += 6;
  |  |  727|  13.0M|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_GETITEM);
  |  |  ------------------
  |  |  |  |   71|  13.0M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  728|  13.0M|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  729|  13.0M|            _PyStackRef container;
  |  |  730|  13.0M|            _PyStackRef getitem;
  |  |  731|  13.0M|            _PyStackRef sub;
  |  |  732|  13.0M|            _PyStackRef new_frame;
  |  |  733|       |            /* Skip 5 cache entries */
  |  |  734|       |            // _CHECK_PEP_523
  |  |  735|  13.0M|            {
  |  |  736|  13.0M|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  519|  13.0M|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (519:34): [True: 0, False: 13.0M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  737|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  738|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (738:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  739|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  740|      0|                }
  |  |  741|  13.0M|            }
  |  |  742|       |            // _BINARY_OP_SUBSCR_CHECK_FUNC
  |  |  743|  13.0M|            {
  |  |  744|  13.0M|                container = stack_pointer[-2];
  |  |  745|  13.0M|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(container));
  |  |  ------------------
  |  |  |  |  213|  13.0M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  13.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  13.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  746|  13.0M|                if (!PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE)) {
  |  |  ------------------
  |  |  |  |  503|  13.0M|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  |  |  ------------------
  |  |  |  Branch (746:21): [True: 0, False: 13.0M]
  |  |  ------------------
  |  |  747|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  748|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (748:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  749|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  750|      0|                }
  |  |  751|  13.0M|                PyHeapTypeObject *ht = (PyHeapTypeObject *)tp;
  |  |  752|  13.0M|                PyObject *getitem_o = FT_ATOMIC_LOAD_PTR_ACQUIRE(ht->_spec_cache.getitem);
  |  |  ------------------
  |  |  |  |  150|  13.0M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  |  753|  13.0M|                if (getitem_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (753:21): [True: 0, False: 13.0M]
  |  |  ------------------
  |  |  754|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  755|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (755:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  756|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  757|      0|                }
  |  |  758|  13.0M|                assert(PyFunction_Check(getitem_o));
  |  |  ------------------
  |  |  |  Branch (758:17): [True: 13.0M, False: 0]
  |  |  ------------------
  |  |  759|  13.0M|                uint32_t cached_version = FT_ATOMIC_LOAD_UINT32_RELAXED(ht->_spec_cache.getitem_version);
  |  |  ------------------
  |  |  |  |  159|  13.0M|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  760|  13.0M|                if (((PyFunctionObject *)getitem_o)->func_version != cached_version) {
  |  |  ------------------
  |  |  |  Branch (760:21): [True: 0, False: 13.0M]
  |  |  ------------------
  |  |  761|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  762|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (762:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  763|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  764|      0|                }
  |  |  765|  13.0M|                PyCodeObject *code = (PyCodeObject *)PyFunction_GET_CODE(getitem_o);
  |  |  ------------------
  |  |  |  |   93|  13.0M|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  13.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  13.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  766|  13.0M|                assert(code->co_argcount == 2);
  |  |  ------------------
  |  |  |  Branch (766:17): [True: 13.0M, False: 0]
  |  |  ------------------
  |  |  767|  13.0M|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (767:21): [True: 96.4k, False: 12.9M]
  |  |  ------------------
  |  |  768|  96.4k|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|  96.4k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  769|  96.4k|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (769:21): [True: 96.4k, False: 0]
  |  |  ------------------
  |  |  770|  96.4k|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|  96.4k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  771|      0|                }
  |  |  772|  12.9M|                getitem = PyStackRef_FromPyObjectNew(getitem_o);
  |  |  ------------------
  |  |  |  |  611|  12.9M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  12.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  12.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  773|  12.9M|            }
  |  |  774|       |            // _BINARY_OP_SUBSCR_INIT_CALL
  |  |  775|      0|            {
  |  |  776|  12.9M|                sub = stack_pointer[-1];
  |  |  777|  12.9M|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  12.9M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  778|  12.9M|                _PyInterpreterFrame* pushed_frame = _PyFrame_PushUnchecked(tstate, getitem, 2, frame);
  |  |  779|  12.9M|                pushed_frame->localsplus[0] = container;
  |  |  780|  12.9M|                pushed_frame->localsplus[1] = sub;
  |  |  781|  12.9M|                frame->return_offset = 6u ;
  |  |  782|  12.9M|                new_frame = PyStackRef_Wrap(pushed_frame);
  |  |  783|  12.9M|            }
  |  |  784|       |            // _PUSH_FRAME
  |  |  785|  12.9M|            {
  |  |  786|  12.9M|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (786:17): [True: 12.9M, False: 0]
  |  |  ------------------
  |  |  787|  12.9M|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  |  788|  12.9M|                stack_pointer += -2;
  |  |  789|  12.9M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  12.9M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  790|  12.9M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  791|  12.9M|                _PyFrame_StackPointerValidate(frame);
  |  |  792|  12.9M|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (792:17): [True: 12.9M, False: 0]
  |  |  |  Branch (792:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  793|  12.9M|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  12.9M|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  |  794|  12.9M|                frame = tstate->current_frame = temp;
  |  |  795|  12.9M|                tstate->py_recursion_remaining--;
  |  |  796|  12.9M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |  797|  12.9M|                _PyFrame_StackPointerInvalidate(frame);
  |  |  798|  12.9M|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  421|  12.9M|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  422|  12.9M|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  423|  12.9M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:14): [Folded, False: 12.9M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|       |                #ifdef Py_DEBUG
  |  |  800|       |                assert(frame->previous->stackpointer_valid == 1);
  |  |  801|       |                #endif
  |  |  802|  12.9M|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|  12.9M|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  |  803|  12.9M|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  12.9M|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  |  804|  12.9M|            }
  |  |  805|  12.9M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  12.9M|    { \
  |  |  |  |  201|  12.9M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  12.9M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  12.9M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  12.9M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  12.9M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  12.9M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  12.9M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  12.9M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 12.9M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  12.9M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  12.9M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  12.9M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  12.9M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  12.9M|    }
  |  |  ------------------
  |  |  806|  12.9M|        }
  |  |  807|       |
  |  |  808|  28.2M|        TARGET(BINARY_OP_SUBSCR_LIST_INT) {
  |  |  ------------------
  |  |  |  |  132|  28.2M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  809|       |            #if _Py_TAIL_CALL_INTERP
  |  |  810|       |            int opcode = BINARY_OP_SUBSCR_LIST_INT;
  |  |  811|       |            (void)(opcode);
  |  |  812|       |            #endif
  |  |  813|  28.2M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  814|  28.2M|            (void)this_instr;
  |  |  815|  28.2M|            frame->instr_ptr = next_instr;
  |  |  816|  28.2M|            next_instr += 6;
  |  |  817|  28.2M|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_LIST_INT);
  |  |  ------------------
  |  |  |  |   71|  28.2M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  818|  28.2M|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  819|  28.2M|            _PyStackRef value;
  |  |  820|  28.2M|            _PyStackRef nos;
  |  |  821|  28.2M|            _PyStackRef list_st;
  |  |  822|  28.2M|            _PyStackRef sub_st;
  |  |  823|  28.2M|            _PyStackRef res;
  |  |  824|  28.2M|            _PyStackRef ls;
  |  |  825|  28.2M|            _PyStackRef ss;
  |  |  826|       |            // _GUARD_TOS_INT
  |  |  827|  28.2M|            {
  |  |  828|  28.2M|                value = stack_pointer[-1];
  |  |  829|  28.2M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  830|  28.2M|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (830:21): [True: 0, False: 28.2M]
  |  |  ------------------
  |  |  831|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  832|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (832:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  833|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  834|      0|                }
  |  |  835|  28.2M|            }
  |  |  836|       |            // _GUARD_NOS_LIST
  |  |  837|  28.2M|            {
  |  |  838|  28.2M|                nos = stack_pointer[-2];
  |  |  839|  28.2M|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |  840|  28.2M|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   26|  28.2M|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  28.2M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  28.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  28.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (840:21): [True: 0, False: 28.2M]
  |  |  ------------------
  |  |  841|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  842|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (842:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  843|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  844|      0|                }
  |  |  845|  28.2M|            }
  |  |  846|       |            /* Skip 5 cache entries */
  |  |  847|       |            // _BINARY_OP_SUBSCR_LIST_INT
  |  |  848|  28.2M|            {
  |  |  849|  28.2M|                sub_st = value;
  |  |  850|  28.2M|                list_st = nos;
  |  |  851|  28.2M|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  |  852|  28.2M|                PyObject *list = PyStackRef_AsPyObjectBorrow(list_st);
  |  |  853|  28.2M|                assert(PyLong_CheckExact(sub));
  |  |  ------------------
  |  |  |  Branch (853:17): [True: 28.2M, False: 0]
  |  |  ------------------
  |  |  854|  28.2M|                assert(PyList_CheckExact(list));
  |  |  ------------------
  |  |  |  Branch (854:17): [True: 28.2M, False: 0]
  |  |  ------------------
  |  |  855|  28.2M|                Py_ssize_t index = _PyLong_CompactValue((PyLongObject *)sub);
  |  |  856|  28.2M|                if (index < 0) {
  |  |  ------------------
  |  |  |  Branch (856:21): [True: 0, False: 28.2M]
  |  |  ------------------
  |  |  857|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  858|      0|                }
  |  |  859|       |                #ifdef Py_GIL_DISABLED
  |  |  860|       |                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  861|       |                _PyFrame_StackPointerValidate(frame);
  |  |  862|       |                PyObject *res_o = _PyList_GetItemRef((PyListObject*)list, index);
  |  |  863|       |                _PyFrame_StackPointerInvalidate(frame);
  |  |  864|       |                if (res_o == NULL) {
  |  |  865|       |                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  866|       |                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  867|       |                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  868|       |                }
  |  |  869|       |                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |  870|       |                #else
  |  |  871|  28.2M|                if (index < 0 || index >= PyList_GET_SIZE(list)) {
  |  |  ------------------
  |  |  |  |   38|  28.2M|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  28.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  28.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (871:21): [True: 0, False: 28.2M]
  |  |  |  Branch (871:34): [True: 2.75M, False: 25.5M]
  |  |  ------------------
  |  |  872|  2.75M|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|  2.75M|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  873|  2.75M|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (873:21): [True: 2.75M, False: 0]
  |  |  ------------------
  |  |  874|  2.75M|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|  2.75M|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  875|      0|                }
  |  |  876|  25.5M|                PyObject *res_o = PyList_GET_ITEM(list, index);
  |  |  ------------------
  |  |  |  |   40|  25.5M|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|  25.5M|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  25.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (876:35): [True: 25.5M, False: 0]
  |  |  ------------------
  |  |  877|  25.5M|                assert(res_o != NULL);
  |  |  ------------------
  |  |  |  Branch (877:17): [True: 25.5M, False: 0]
  |  |  ------------------
  |  |  878|  25.5M|                res = PyStackRef_FromPyObjectNew(res_o);
  |  |  ------------------
  |  |  |  |  611|  25.5M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  25.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  25.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  879|  25.5M|                #endif
  |  |  880|  25.5M|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  25.5M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  881|  25.5M|                ls = list_st;
  |  |  882|  25.5M|                ss = sub_st;
  |  |  883|  25.5M|            }
  |  |  884|       |            // _POP_TOP_INT
  |  |  885|      0|            {
  |  |  886|  25.5M|                value = ss;
  |  |  887|  25.5M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (887:17): [True: 25.5M, False: 0]
  |  |  ------------------
  |  |  888|  25.5M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |  889|  25.5M|            }
  |  |  890|       |            // _POP_TOP
  |  |  891|      0|            {
  |  |  892|  25.5M|                value = ls;
  |  |  893|  25.5M|                stack_pointer[-2] = res;
  |  |  894|  25.5M|                stack_pointer += -1;
  |  |  895|  25.5M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  25.5M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  896|  25.5M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  897|  25.5M|                _PyFrame_StackPointerValidate(frame);
  |  |  898|  25.5M|                PyStackRef_XCLOSE(value);
  |  |  899|  25.5M|                _PyFrame_StackPointerInvalidate(frame);
  |  |  900|  25.5M|            }
  |  |  901|  25.5M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  25.5M|    { \
  |  |  |  |  201|  25.5M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  25.5M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  25.5M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  25.5M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  25.5M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  25.5M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  25.5M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  25.5M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 25.5M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  25.5M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  25.5M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  25.5M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  25.5M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  25.5M|    }
  |  |  ------------------
  |  |  902|  25.5M|        }
  |  |  903|       |
  |  |  904|  1.58M|        TARGET(BINARY_OP_SUBSCR_LIST_SLICE) {
  |  |  ------------------
  |  |  |  |  132|  1.58M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  905|       |            #if _Py_TAIL_CALL_INTERP
  |  |  906|       |            int opcode = BINARY_OP_SUBSCR_LIST_SLICE;
  |  |  907|       |            (void)(opcode);
  |  |  908|       |            #endif
  |  |  909|  1.58M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  910|  1.58M|            (void)this_instr;
  |  |  911|  1.58M|            frame->instr_ptr = next_instr;
  |  |  912|  1.58M|            next_instr += 6;
  |  |  913|  1.58M|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_LIST_SLICE);
  |  |  ------------------
  |  |  |  |   71|  1.58M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  914|  1.58M|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  915|  1.58M|            _PyStackRef tos;
  |  |  916|  1.58M|            _PyStackRef nos;
  |  |  917|  1.58M|            _PyStackRef list_st;
  |  |  918|  1.58M|            _PyStackRef sub_st;
  |  |  919|  1.58M|            _PyStackRef res;
  |  |  920|  1.58M|            _PyStackRef ls;
  |  |  921|  1.58M|            _PyStackRef ss;
  |  |  922|  1.58M|            _PyStackRef value;
  |  |  923|       |            // _GUARD_TOS_SLICE
  |  |  924|  1.58M|            {
  |  |  925|  1.58M|                tos = stack_pointer[-1];
  |  |  926|  1.58M|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  |  927|  1.58M|                if (!PySlice_Check(o)) {
  |  |  ------------------
  |  |  |  |   22|  1.58M|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.58M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.58M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.58M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (927:21): [True: 0, False: 1.58M]
  |  |  ------------------
  |  |  928|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  929|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (929:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  930|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  931|      0|                }
  |  |  932|  1.58M|            }
  |  |  933|       |            // _GUARD_NOS_LIST
  |  |  934|  1.58M|            {
  |  |  935|  1.58M|                nos = stack_pointer[-2];
  |  |  936|  1.58M|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |  937|  1.58M|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   26|  1.58M|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.58M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.58M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.58M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (937:21): [True: 0, False: 1.58M]
  |  |  ------------------
  |  |  938|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  939|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (939:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  940|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  941|      0|                }
  |  |  942|  1.58M|            }
  |  |  943|       |            /* Skip 5 cache entries */
  |  |  944|       |            // _BINARY_OP_SUBSCR_LIST_SLICE
  |  |  945|  1.58M|            {
  |  |  946|  1.58M|                sub_st = tos;
  |  |  947|  1.58M|                list_st = nos;
  |  |  948|  1.58M|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  |  949|  1.58M|                PyObject *list = PyStackRef_AsPyObjectBorrow(list_st);
  |  |  950|  1.58M|                assert(PySlice_Check(sub));
  |  |  ------------------
  |  |  |  Branch (950:17): [True: 1.58M, False: 0]
  |  |  ------------------
  |  |  951|  1.58M|                assert(PyList_CheckExact(list));
  |  |  ------------------
  |  |  |  Branch (951:17): [True: 1.58M, False: 0]
  |  |  ------------------
  |  |  952|  1.58M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  953|  1.58M|                _PyFrame_StackPointerValidate(frame);
  |  |  954|  1.58M|                PyObject *res_o = _PyList_SliceSubscript(list, sub);
  |  |  955|  1.58M|                _PyFrame_StackPointerInvalidate(frame);
  |  |  956|  1.58M|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  1.58M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  957|  1.58M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (957:21): [True: 0, False: 1.58M]
  |  |  ------------------
  |  |  958|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  959|      0|                }
  |  |  960|  1.58M|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |  961|  1.58M|                ls = list_st;
  |  |  962|  1.58M|                ss = sub_st;
  |  |  963|  1.58M|            }
  |  |  964|       |            // _POP_TOP
  |  |  965|      0|            {
  |  |  966|  1.58M|                value = ss;
  |  |  967|  1.58M|                stack_pointer[-2] = res;
  |  |  968|  1.58M|                stack_pointer[-1] = ls;
  |  |  969|  1.58M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (969:17): [True: 1.58M, False: 0]
  |  |  ------------------
  |  |  970|  1.58M|                _PyFrame_StackPointerValidate(frame);
  |  |  971|  1.58M|                PyStackRef_XCLOSE(value);
  |  |  972|  1.58M|                _PyFrame_StackPointerInvalidate(frame);
  |  |  973|  1.58M|            }
  |  |  974|       |            // _POP_TOP
  |  |  975|      0|            {
  |  |  976|  1.58M|                value = ls;
  |  |  977|  1.58M|                stack_pointer += -1;
  |  |  978|  1.58M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.58M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  979|  1.58M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  980|  1.58M|                _PyFrame_StackPointerValidate(frame);
  |  |  981|  1.58M|                PyStackRef_XCLOSE(value);
  |  |  982|  1.58M|                _PyFrame_StackPointerInvalidate(frame);
  |  |  983|  1.58M|            }
  |  |  984|  1.58M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.58M|    { \
  |  |  |  |  201|  1.58M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.58M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.58M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.58M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.58M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.58M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.58M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.58M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.58M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.58M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.58M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.58M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.58M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.58M|    }
  |  |  ------------------
  |  |  985|  1.58M|        }
  |  |  986|       |
  |  |  987|  17.4k|        TARGET(BINARY_OP_SUBSCR_STR_INT) {
  |  |  ------------------
  |  |  |  |  132|  17.4k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  988|       |            #if _Py_TAIL_CALL_INTERP
  |  |  989|       |            int opcode = BINARY_OP_SUBSCR_STR_INT;
  |  |  990|       |            (void)(opcode);
  |  |  991|       |            #endif
  |  |  992|  17.4k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  993|  17.4k|            (void)this_instr;
  |  |  994|  17.4k|            frame->instr_ptr = next_instr;
  |  |  995|  17.4k|            next_instr += 6;
  |  |  996|  17.4k|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_STR_INT);
  |  |  ------------------
  |  |  |  |   71|  17.4k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  997|  17.4k|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  998|  17.4k|            _PyStackRef value;
  |  |  999|  17.4k|            _PyStackRef nos;
  |  | 1000|  17.4k|            _PyStackRef str_st;
  |  | 1001|  17.4k|            _PyStackRef sub_st;
  |  | 1002|  17.4k|            _PyStackRef res;
  |  | 1003|  17.4k|            _PyStackRef s;
  |  | 1004|  17.4k|            _PyStackRef i;
  |  | 1005|       |            // _GUARD_TOS_INT
  |  | 1006|  17.4k|            {
  |  | 1007|  17.4k|                value = stack_pointer[-1];
  |  | 1008|  17.4k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 1009|  17.4k|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (1009:21): [True: 0, False: 17.4k]
  |  |  ------------------
  |  | 1010|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1011|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1011:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1012|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1013|      0|                }
  |  | 1014|  17.4k|            }
  |  | 1015|       |            // _GUARD_NOS_COMPACT_ASCII
  |  | 1016|  17.4k|            {
  |  | 1017|  17.4k|                nos = stack_pointer[-2];
  |  | 1018|  17.4k|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  | 1019|  17.4k|                if (!PyUnicode_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |  104|  17.4k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  17.4k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  17.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  17.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1019:21): [True: 0, False: 17.4k]
  |  |  ------------------
  |  | 1020|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1021|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1021:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1022|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1023|      0|                }
  |  | 1024|  17.4k|                if (!PyUnicode_IS_COMPACT_ASCII(o)) {
  |  |  ------------------
  |  |  |  |  241|  17.4k|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  17.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  17.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1024:21): [True: 2.22k, False: 15.1k]
  |  |  ------------------
  |  | 1025|  2.22k|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|  2.22k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1026|  2.22k|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1026:21): [True: 2.22k, False: 0]
  |  |  ------------------
  |  | 1027|  2.22k|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|  2.22k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1028|      0|                }
  |  | 1029|  17.4k|            }
  |  | 1030|       |            /* Skip 5 cache entries */
  |  | 1031|       |            // _BINARY_OP_SUBSCR_STR_INT
  |  | 1032|  15.1k|            {
  |  | 1033|  15.1k|                sub_st = value;
  |  | 1034|  15.1k|                str_st = nos;
  |  | 1035|  15.1k|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  | 1036|  15.1k|                PyObject *str = PyStackRef_AsPyObjectBorrow(str_st);
  |  | 1037|  15.1k|                assert(PyLong_CheckExact(sub));
  |  |  ------------------
  |  |  |  Branch (1037:17): [True: 15.1k, False: 0]
  |  |  ------------------
  |  | 1038|  15.1k|                assert(PyUnicode_CheckExact(str));
  |  |  ------------------
  |  |  |  Branch (1038:17): [True: 15.1k, False: 0]
  |  |  ------------------
  |  | 1039|  15.1k|                if (!_PyLong_IsNonNegativeCompact((PyLongObject*)sub)) {
  |  |  ------------------
  |  |  |  Branch (1039:21): [True: 0, False: 15.1k]
  |  |  ------------------
  |  | 1040|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1041|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1041:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1042|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1043|      0|                }
  |  | 1044|  15.1k|                Py_ssize_t index = ((PyLongObject*)sub)->long_value.ob_digit[0];
  |  | 1045|  15.1k|                if (PyUnicode_GET_LENGTH(str) <= index) {
  |  |  ------------------
  |  |  |  |  299|  15.1k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  15.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  15.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1045:21): [True: 377, False: 14.8k]
  |  |  ------------------
  |  | 1046|    377|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|    377|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1047|    377|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1047:21): [True: 377, False: 0]
  |  |  ------------------
  |  | 1048|    377|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|    377|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1049|      0|                }
  |  | 1050|  14.8k|                uint8_t c = PyUnicode_1BYTE_DATA(str)[index];
  |  |  ------------------
  |  |  |  |  291|  14.8k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  14.8k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1051|  14.8k|                assert(c < 128);
  |  |  ------------------
  |  |  |  Branch (1051:17): [True: 14.8k, False: 0]
  |  |  ------------------
  |  | 1052|  14.8k|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  14.8k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 1053|  14.8k|                PyObject *res_o = (PyObject*)&_Py_SINGLETON(strings).ascii[c];
  |  |  ------------------
  |  |  |  |   18|  14.8k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  14.8k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1054|  14.8k|                s = str_st;
  |  | 1055|  14.8k|                i = sub_st;
  |  | 1056|  14.8k|                res = PyStackRef_FromPyObjectBorrow(res_o);
  |  | 1057|  14.8k|            }
  |  | 1058|       |            // _POP_TOP_INT
  |  | 1059|      0|            {
  |  | 1060|  14.8k|                value = i;
  |  | 1061|  14.8k|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1061:17): [True: 14.8k, False: 0]
  |  |  ------------------
  |  | 1062|  14.8k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 1063|  14.8k|            }
  |  | 1064|       |            // _POP_TOP_UNICODE
  |  | 1065|      0|            {
  |  | 1066|  14.8k|                value = s;
  |  | 1067|  14.8k|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1067:17): [True: 14.8k, False: 0]
  |  |  ------------------
  |  | 1068|  14.8k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  | 1069|  14.8k|            }
  |  | 1070|      0|            stack_pointer[-2] = res;
  |  | 1071|  14.8k|            stack_pointer += -1;
  |  | 1072|  14.8k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  14.8k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1073|  14.8k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  14.8k|    { \
  |  |  |  |  201|  14.8k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  14.8k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  14.8k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  14.8k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  14.8k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  14.8k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  14.8k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  14.8k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 14.8k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  14.8k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  14.8k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  14.8k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  14.8k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  14.8k|    }
  |  |  ------------------
  |  | 1074|  14.8k|        }
  |  | 1075|       |
  |  | 1076|  23.2M|        TARGET(BINARY_OP_SUBSCR_TUPLE_INT) {
  |  |  ------------------
  |  |  |  |  132|  23.2M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1077|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1078|       |            int opcode = BINARY_OP_SUBSCR_TUPLE_INT;
  |  | 1079|       |            (void)(opcode);
  |  | 1080|       |            #endif
  |  | 1081|  23.2M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 1082|  23.2M|            (void)this_instr;
  |  | 1083|  23.2M|            frame->instr_ptr = next_instr;
  |  | 1084|  23.2M|            next_instr += 6;
  |  | 1085|  23.2M|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_TUPLE_INT);
  |  |  ------------------
  |  |  |  |   71|  23.2M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1086|  23.2M|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  | 1087|  23.2M|            _PyStackRef value;
  |  | 1088|  23.2M|            _PyStackRef nos;
  |  | 1089|  23.2M|            _PyStackRef tuple_st;
  |  | 1090|  23.2M|            _PyStackRef sub_st;
  |  | 1091|  23.2M|            _PyStackRef res;
  |  | 1092|  23.2M|            _PyStackRef ts;
  |  | 1093|  23.2M|            _PyStackRef ss;
  |  | 1094|       |            // _GUARD_TOS_INT
  |  | 1095|  23.2M|            {
  |  | 1096|  23.2M|                value = stack_pointer[-1];
  |  | 1097|  23.2M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 1098|  23.2M|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (1098:21): [True: 0, False: 23.2M]
  |  |  ------------------
  |  | 1099|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1100|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1100:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1101|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1102|      0|                }
  |  | 1103|  23.2M|            }
  |  | 1104|       |            // _GUARD_NOS_TUPLE
  |  | 1105|  23.2M|            {
  |  | 1106|  23.2M|                nos = stack_pointer[-2];
  |  | 1107|  23.2M|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  | 1108|  23.2M|                if (!PyTuple_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   28|  23.2M|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  23.2M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  23.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  23.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1108:21): [True: 0, False: 23.2M]
  |  |  ------------------
  |  | 1109|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1110|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1110:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1111|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1112|      0|                }
  |  | 1113|  23.2M|            }
  |  | 1114|       |            // _GUARD_BINARY_OP_SUBSCR_TUPLE_INT_BOUNDS
  |  | 1115|  23.2M|            {
  |  | 1116|  23.2M|                sub_st = value;
  |  | 1117|  23.2M|                tuple_st = nos;
  |  | 1118|  23.2M|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  | 1119|  23.2M|                PyObject *tuple = PyStackRef_AsPyObjectBorrow(tuple_st);
  |  | 1120|  23.2M|                assert(PyLong_CheckExact(sub));
  |  |  ------------------
  |  |  |  Branch (1120:17): [True: 23.2M, False: 0]
  |  |  ------------------
  |  | 1121|  23.2M|                assert(PyTuple_CheckExact(tuple));
  |  |  ------------------
  |  |  |  Branch (1121:17): [True: 23.2M, False: 0]
  |  |  ------------------
  |  | 1122|  23.2M|                if (!_PyLong_IsNonNegativeCompact((PyLongObject *)sub)) {
  |  |  ------------------
  |  |  |  Branch (1122:21): [True: 0, False: 23.2M]
  |  |  ------------------
  |  | 1123|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1124|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1124:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1125|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1126|      0|                }
  |  | 1127|  23.2M|                Py_ssize_t index = ((PyLongObject*)sub)->long_value.ob_digit[0];
  |  | 1128|  23.2M|                if (index >= PyTuple_GET_SIZE(tuple)) {
  |  |  ------------------
  |  |  |  |   27|  23.2M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  23.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  23.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1128:21): [True: 0, False: 23.2M]
  |  |  ------------------
  |  | 1129|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1130|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1130:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1131|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1132|      0|                }
  |  | 1133|  23.2M|            }
  |  | 1134|       |            /* Skip 5 cache entries */
  |  | 1135|       |            // _BINARY_OP_SUBSCR_TUPLE_INT
  |  | 1136|  23.2M|            {
  |  | 1137|  23.2M|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  | 1138|  23.2M|                PyObject *tuple = PyStackRef_AsPyObjectBorrow(tuple_st);
  |  | 1139|  23.2M|                assert(PyLong_CheckExact(sub));
  |  |  ------------------
  |  |  |  Branch (1139:17): [True: 23.2M, False: 0]
  |  |  ------------------
  |  | 1140|  23.2M|                assert(PyTuple_CheckExact(tuple));
  |  |  ------------------
  |  |  |  Branch (1140:17): [True: 23.2M, False: 0]
  |  |  ------------------
  |  | 1141|  23.2M|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  23.2M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 1142|  23.2M|                Py_ssize_t index = ((PyLongObject*)sub)->long_value.ob_digit[0];
  |  | 1143|  23.2M|                PyObject *res_o = PyTuple_GET_ITEM(tuple, index);
  |  |  ------------------
  |  |  |  |   29|  23.2M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|  23.2M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  23.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1143:35): [True: 23.2M, False: 0]
  |  |  ------------------
  |  | 1144|  23.2M|                assert(res_o != NULL);
  |  |  ------------------
  |  |  |  Branch (1144:17): [True: 23.2M, False: 0]
  |  |  ------------------
  |  | 1145|  23.2M|                res = PyStackRef_FromPyObjectNew(res_o);
  |  |  ------------------
  |  |  |  |  611|  23.2M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  23.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  23.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1146|  23.2M|                ts = tuple_st;
  |  | 1147|  23.2M|                ss = sub_st;
  |  | 1148|  23.2M|            }
  |  | 1149|       |            // _POP_TOP_INT
  |  | 1150|      0|            {
  |  | 1151|  23.2M|                value = ss;
  |  | 1152|  23.2M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1152:17): [True: 23.2M, False: 0]
  |  |  ------------------
  |  | 1153|  23.2M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 1154|  23.2M|            }
  |  | 1155|       |            // _POP_TOP
  |  | 1156|      0|            {
  |  | 1157|  23.2M|                value = ts;
  |  | 1158|  23.2M|                stack_pointer[-2] = res;
  |  | 1159|  23.2M|                stack_pointer += -1;
  |  | 1160|  23.2M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  23.2M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1161|  23.2M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1162|  23.2M|                _PyFrame_StackPointerValidate(frame);
  |  | 1163|  23.2M|                PyStackRef_XCLOSE(value);
  |  | 1164|  23.2M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1165|  23.2M|            }
  |  | 1166|  23.2M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  23.2M|    { \
  |  |  |  |  201|  23.2M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  23.2M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  23.2M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  23.2M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  23.2M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  23.2M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  23.2M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  23.2M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 23.2M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  23.2M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  23.2M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  23.2M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  23.2M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  23.2M|    }
  |  |  ------------------
  |  | 1167|  23.2M|        }
  |  | 1168|       |
  |  | 1169|  32.9M|        TARGET(BINARY_OP_SUBSCR_USTR_INT) {
  |  |  ------------------
  |  |  |  |  132|  32.9M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1170|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1171|       |            int opcode = BINARY_OP_SUBSCR_USTR_INT;
  |  | 1172|       |            (void)(opcode);
  |  | 1173|       |            #endif
  |  | 1174|  32.9M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 1175|  32.9M|            (void)this_instr;
  |  | 1176|  32.9M|            frame->instr_ptr = next_instr;
  |  | 1177|  32.9M|            next_instr += 6;
  |  | 1178|  32.9M|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_USTR_INT);
  |  |  ------------------
  |  |  |  |   71|  32.9M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1179|  32.9M|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  | 1180|  32.9M|            _PyStackRef value;
  |  | 1181|  32.9M|            _PyStackRef nos;
  |  | 1182|  32.9M|            _PyStackRef str_st;
  |  | 1183|  32.9M|            _PyStackRef sub_st;
  |  | 1184|  32.9M|            _PyStackRef res;
  |  | 1185|  32.9M|            _PyStackRef s;
  |  | 1186|  32.9M|            _PyStackRef i;
  |  | 1187|       |            // _GUARD_TOS_INT
  |  | 1188|  32.9M|            {
  |  | 1189|  32.9M|                value = stack_pointer[-1];
  |  | 1190|  32.9M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 1191|  32.9M|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (1191:21): [True: 0, False: 32.9M]
  |  |  ------------------
  |  | 1192|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1193|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1193:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1194|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1195|      0|                }
  |  | 1196|  32.9M|            }
  |  | 1197|       |            // _GUARD_NOS_UNICODE
  |  | 1198|  32.9M|            {
  |  | 1199|  32.9M|                nos = stack_pointer[-2];
  |  | 1200|  32.9M|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  | 1201|  32.9M|                if (!PyUnicode_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |  104|  32.9M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  32.9M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  32.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  32.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1201:21): [True: 0, False: 32.9M]
  |  |  ------------------
  |  | 1202|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1203|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1203:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1204|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1205|      0|                }
  |  | 1206|  32.9M|            }
  |  | 1207|       |            /* Skip 5 cache entries */
  |  | 1208|       |            // _BINARY_OP_SUBSCR_USTR_INT
  |  | 1209|  32.9M|            {
  |  | 1210|  32.9M|                sub_st = value;
  |  | 1211|  32.9M|                str_st = nos;
  |  | 1212|  32.9M|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  | 1213|  32.9M|                PyObject *str = PyStackRef_AsPyObjectBorrow(str_st);
  |  | 1214|  32.9M|                assert(PyLong_CheckExact(sub));
  |  |  ------------------
  |  |  |  Branch (1214:17): [True: 32.9M, False: 0]
  |  |  ------------------
  |  | 1215|  32.9M|                assert(PyUnicode_CheckExact(str));
  |  |  ------------------
  |  |  |  Branch (1215:17): [True: 32.9M, False: 0]
  |  |  ------------------
  |  | 1216|  32.9M|                if (!_PyLong_IsNonNegativeCompact((PyLongObject*)sub)) {
  |  |  ------------------
  |  |  |  Branch (1216:21): [True: 0, False: 32.9M]
  |  |  ------------------
  |  | 1217|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1218|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1218:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1219|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1220|      0|                }
  |  | 1221|  32.9M|                Py_ssize_t index = ((PyLongObject*)sub)->long_value.ob_digit[0];
  |  | 1222|  32.9M|                if (PyUnicode_GET_LENGTH(str) <= index) {
  |  |  ------------------
  |  |  |  |  299|  32.9M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  32.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  32.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1222:21): [True: 4.46k, False: 32.9M]
  |  |  ------------------
  |  | 1223|  4.46k|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|  4.46k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1224|  4.46k|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1224:21): [True: 4.46k, False: 0]
  |  |  ------------------
  |  | 1225|  4.46k|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|  4.46k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1226|      0|                }
  |  | 1227|  32.9M|                Py_UCS4 c = PyUnicode_READ_CHAR(str, index);
  |  |  ------------------
  |  |  |  |  381|  32.9M|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  32.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  32.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1228|  32.9M|                if (Py_ARRAY_LENGTH(_Py_SINGLETON(strings).ascii) <= c) {
  |  |  ------------------
  |  |  |  |  196|  32.9M|    (sizeof(array) / sizeof((array)[0]))
  |  |  ------------------
  |  |  |  Branch (1228:21): [True: 3.19M, False: 29.7M]
  |  |  ------------------
  |  | 1229|  3.19M|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|  3.19M|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1230|  3.19M|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1230:21): [True: 3.19M, False: 0]
  |  |  ------------------
  |  | 1231|  3.19M|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|  3.19M|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1232|      0|                }
  |  | 1233|  29.7M|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  29.7M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 1234|  29.7M|                PyObject *res_o = (PyObject*)&_Py_SINGLETON(strings).ascii[c];
  |  |  ------------------
  |  |  |  |   18|  29.7M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  29.7M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1235|  29.7M|                s = str_st;
  |  | 1236|  29.7M|                i = sub_st;
  |  | 1237|  29.7M|                res = PyStackRef_FromPyObjectBorrow(res_o);
  |  | 1238|  29.7M|            }
  |  | 1239|       |            // _POP_TOP_INT
  |  | 1240|      0|            {
  |  | 1241|  29.7M|                value = i;
  |  | 1242|  29.7M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1242:17): [True: 29.7M, False: 0]
  |  |  ------------------
  |  | 1243|  29.7M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 1244|  29.7M|            }
  |  | 1245|       |            // _POP_TOP_UNICODE
  |  | 1246|      0|            {
  |  | 1247|  29.7M|                value = s;
  |  | 1248|  29.7M|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1248:17): [True: 29.7M, False: 0]
  |  |  ------------------
  |  | 1249|  29.7M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  | 1250|  29.7M|            }
  |  | 1251|      0|            stack_pointer[-2] = res;
  |  | 1252|  29.7M|            stack_pointer += -1;
  |  | 1253|  29.7M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  29.7M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1254|  29.7M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  29.7M|    { \
  |  |  |  |  201|  29.7M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  29.7M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  29.7M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  29.7M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  29.7M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  29.7M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  29.7M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  29.7M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 29.7M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  29.7M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  29.7M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  29.7M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  29.7M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  29.7M|    }
  |  |  ------------------
  |  | 1255|  29.7M|        }
  |  | 1256|       |
  |  | 1257|      0|        TARGET(BINARY_OP_SUBTRACT_FLOAT) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1258|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1259|       |            int opcode = BINARY_OP_SUBTRACT_FLOAT;
  |  | 1260|       |            (void)(opcode);
  |  | 1261|       |            #endif
  |  | 1262|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 1263|      0|            (void)this_instr;
  |  | 1264|      0|            frame->instr_ptr = next_instr;
  |  | 1265|      0|            next_instr += 6;
  |  | 1266|      0|            INSTRUCTION_STATS(BINARY_OP_SUBTRACT_FLOAT);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1267|      0|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  | 1268|      0|            _PyStackRef value;
  |  | 1269|      0|            _PyStackRef left;
  |  | 1270|      0|            _PyStackRef right;
  |  | 1271|      0|            _PyStackRef res;
  |  | 1272|      0|            _PyStackRef l;
  |  | 1273|      0|            _PyStackRef r;
  |  | 1274|       |            // _GUARD_TOS_FLOAT
  |  | 1275|      0|            {
  |  | 1276|      0|                value = stack_pointer[-1];
  |  | 1277|      0|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 1278|      0|                if (!PyFloat_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |   17|      0|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_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 (1278:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1279|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1280|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1280:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1281|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1282|      0|                }
  |  | 1283|      0|            }
  |  | 1284|       |            // _GUARD_NOS_FLOAT
  |  | 1285|      0|            {
  |  | 1286|      0|                left = stack_pointer[-2];
  |  | 1287|      0|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 1288|      0|                if (!PyFloat_CheckExact(left_o)) {
  |  |  ------------------
  |  |  |  |   17|      0|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_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 (1288:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1289|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1290|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1290:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1291|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1292|      0|                }
  |  | 1293|      0|            }
  |  | 1294|       |            /* Skip 5 cache entries */
  |  | 1295|       |            // _BINARY_OP_SUBTRACT_FLOAT
  |  | 1296|      0|            {
  |  | 1297|      0|                right = value;
  |  | 1298|      0|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 1299|      0|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 1300|      0|                assert(PyFloat_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (1300:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1301|      0|                assert(PyFloat_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (1301:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1302|      0|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|      0|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 1303|      0|                double dres =
  |  | 1304|      0|                ((PyFloatObject *)left_o)->ob_fval -
  |  | 1305|      0|                ((PyFloatObject *)right_o)->ob_fval;
  |  | 1306|      0|                PyObject *d = PyFloat_FromDouble(dres);
  |  | 1307|      0|                if (d == NULL) {
  |  |  ------------------
  |  |  |  Branch (1307:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1308|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1309|      0|                }
  |  | 1310|      0|                res = PyStackRef_FromPyObjectSteal(d);
  |  | 1311|      0|                l = left;
  |  | 1312|      0|                r = right;
  |  | 1313|      0|            }
  |  | 1314|       |            // _POP_TOP_FLOAT
  |  | 1315|      0|            {
  |  | 1316|      0|                value = r;
  |  | 1317|      0|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1317:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1318|      0|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  | 1319|      0|            }
  |  | 1320|       |            // _POP_TOP_FLOAT
  |  | 1321|      0|            {
  |  | 1322|      0|                value = l;
  |  | 1323|      0|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1323:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1324|      0|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  | 1325|      0|            }
  |  | 1326|      0|            stack_pointer[-2] = res;
  |  | 1327|      0|            stack_pointer += -1;
  |  | 1328|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1329|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 1330|      0|        }
  |  | 1331|       |
  |  | 1332|  13.4M|        TARGET(BINARY_OP_SUBTRACT_INT) {
  |  |  ------------------
  |  |  |  |  132|  13.4M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1333|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1334|       |            int opcode = BINARY_OP_SUBTRACT_INT;
  |  | 1335|       |            (void)(opcode);
  |  | 1336|       |            #endif
  |  | 1337|  13.4M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 1338|  13.4M|            (void)this_instr;
  |  | 1339|  13.4M|            frame->instr_ptr = next_instr;
  |  | 1340|  13.4M|            next_instr += 6;
  |  | 1341|  13.4M|            INSTRUCTION_STATS(BINARY_OP_SUBTRACT_INT);
  |  |  ------------------
  |  |  |  |   71|  13.4M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1342|  13.4M|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  | 1343|  13.4M|            _PyStackRef value;
  |  | 1344|  13.4M|            _PyStackRef left;
  |  | 1345|  13.4M|            _PyStackRef right;
  |  | 1346|  13.4M|            _PyStackRef res;
  |  | 1347|  13.4M|            _PyStackRef l;
  |  | 1348|  13.4M|            _PyStackRef r;
  |  | 1349|       |            // _GUARD_TOS_INT
  |  | 1350|  13.4M|            {
  |  | 1351|  13.4M|                value = stack_pointer[-1];
  |  | 1352|  13.4M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 1353|  13.4M|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (1353:21): [True: 0, False: 13.4M]
  |  |  ------------------
  |  | 1354|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1355|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1355:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1356|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1357|      0|                }
  |  | 1358|  13.4M|            }
  |  | 1359|       |            // _GUARD_NOS_INT
  |  | 1360|  13.4M|            {
  |  | 1361|  13.4M|                left = stack_pointer[-2];
  |  | 1362|  13.4M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 1363|  13.4M|                if (!_PyLong_CheckExactAndCompact(left_o)) {
  |  |  ------------------
  |  |  |  Branch (1363:21): [True: 0, False: 13.4M]
  |  |  ------------------
  |  | 1364|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1365|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1365:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1366|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1367|      0|                }
  |  | 1368|  13.4M|            }
  |  | 1369|       |            /* Skip 5 cache entries */
  |  | 1370|       |            // _BINARY_OP_SUBTRACT_INT
  |  | 1371|  13.4M|            {
  |  | 1372|  13.4M|                right = value;
  |  | 1373|  13.4M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 1374|  13.4M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 1375|  13.4M|                assert(PyLong_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (1375:17): [True: 13.4M, False: 0]
  |  |  ------------------
  |  | 1376|  13.4M|                assert(PyLong_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (1376:17): [True: 13.4M, False: 0]
  |  |  ------------------
  |  | 1377|  13.4M|                assert(_PyLong_BothAreCompact((PyLongObject *)left_o, (PyLongObject *)right_o));
  |  |  ------------------
  |  |  |  Branch (1377:17): [True: 13.4M, False: 0]
  |  |  ------------------
  |  | 1378|  13.4M|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  13.4M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 1379|  13.4M|                res = _PyCompactLong_Subtract((PyLongObject *)left_o, (PyLongObject *)right_o);
  |  | 1380|  13.4M|                if (PyStackRef_IsNull(res)) {
  |  |  ------------------
  |  |  |  |  482|  13.4M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  13.4M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  13.4M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 13.4M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1381|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1382|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1382:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1383|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1384|      0|                }
  |  | 1385|  13.4M|                l = left;
  |  | 1386|  13.4M|                r = right;
  |  | 1387|  13.4M|            }
  |  | 1388|       |            // _POP_TOP_INT
  |  | 1389|      0|            {
  |  | 1390|  13.4M|                value = r;
  |  | 1391|  13.4M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1391:17): [True: 13.4M, False: 0]
  |  |  ------------------
  |  | 1392|  13.4M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 1393|  13.4M|            }
  |  | 1394|       |            // _POP_TOP_INT
  |  | 1395|      0|            {
  |  | 1396|  13.4M|                value = l;
  |  | 1397|  13.4M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1397:17): [True: 13.4M, False: 0]
  |  |  ------------------
  |  | 1398|  13.4M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 1399|  13.4M|            }
  |  | 1400|      0|            stack_pointer[-2] = res;
  |  | 1401|  13.4M|            stack_pointer += -1;
  |  | 1402|  13.4M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  13.4M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1403|  13.4M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  13.4M|    { \
  |  |  |  |  201|  13.4M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  13.4M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  13.4M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  13.4M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  13.4M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  13.4M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  13.4M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  13.4M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 1404|  13.4M|        }
  |  | 1405|       |
  |  | 1406|  2.05M|        TARGET(BINARY_SLICE) {
  |  |  ------------------
  |  |  |  |  132|  2.05M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1407|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1408|       |            int opcode = BINARY_SLICE;
  |  | 1409|       |            (void)(opcode);
  |  | 1410|       |            #endif
  |  | 1411|  2.05M|            frame->instr_ptr = next_instr;
  |  | 1412|  2.05M|            next_instr += 1;
  |  | 1413|  2.05M|            INSTRUCTION_STATS(BINARY_SLICE);
  |  |  ------------------
  |  |  |  |   71|  2.05M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1414|  2.05M|            _PyStackRef container;
  |  | 1415|  2.05M|            _PyStackRef start;
  |  | 1416|  2.05M|            _PyStackRef stop;
  |  | 1417|  2.05M|            _PyStackRef res;
  |  | 1418|       |            // _SPECIALIZE_BINARY_SLICE
  |  | 1419|  2.05M|            {
  |  | 1420|  2.05M|                #if ENABLE_SPECIALIZATION
  |  | 1421|  2.05M|                OPCODE_DEFERRED_INC(BINARY_SLICE);
  |  |  ------------------
  |  |  |  |   90|  2.05M|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 1422|  2.05M|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 1423|  2.05M|            }
  |  | 1424|       |            // _BINARY_SLICE
  |  | 1425|  2.05M|            {
  |  | 1426|  2.05M|                stop = stack_pointer[-1];
  |  | 1427|  2.05M|                start = stack_pointer[-2];
  |  | 1428|  2.05M|                container = stack_pointer[-3];
  |  | 1429|  2.05M|                PyObject *container_o = PyStackRef_AsPyObjectBorrow(container);
  |  | 1430|  2.05M|                PyObject *start_o = PyStackRef_AsPyObjectBorrow(start);
  |  | 1431|  2.05M|                PyObject *stop_o = PyStackRef_AsPyObjectBorrow(stop);
  |  | 1432|  2.05M|                PyObject *res_o;
  |  | 1433|  2.05M|                if (PyList_CheckExact(container_o)) {
  |  |  ------------------
  |  |  |  |   26|  2.05M|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_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 (65:5): [True: 3.82k, False: 2.05M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1434|  3.82k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1435|  3.82k|                    _PyFrame_StackPointerValidate(frame);
  |  | 1436|  3.82k|                    res_o = _PyList_BinarySlice(container_o, start_o, stop_o);
  |  | 1437|  3.82k|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 1438|  3.82k|                }
  |  | 1439|  2.05M|                else if (PyTuple_CheckExact(container_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 (65:5): [True: 0, False: 2.05M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1440|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1441|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 1442|      0|                    res_o = _PyTuple_BinarySlice(container_o, start_o, stop_o);
  |  | 1443|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 1444|      0|                }
  |  | 1445|  2.05M|                else if (PyUnicode_CheckExact(container_o)) {
  |  |  ------------------
  |  |  |  |  104|  2.05M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_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 (65:5): [True: 3.61k, False: 2.04M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1446|  3.61k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1447|  3.61k|                    _PyFrame_StackPointerValidate(frame);
  |  | 1448|  3.61k|                    res_o = _PyUnicode_BinarySlice(container_o, start_o, stop_o);
  |  | 1449|  3.61k|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 1450|  3.61k|                }
  |  | 1451|  2.04M|                else {
  |  | 1452|  2.04M|                    PyObject *slice = PySlice_New(start_o, stop_o, NULL);
  |  | 1453|  2.04M|                    if (slice == NULL) {
  |  |  ------------------
  |  |  |  Branch (1453:25): [True: 0, False: 2.04M]
  |  |  ------------------
  |  | 1454|      0|                        res_o = NULL;
  |  | 1455|      0|                    }
  |  | 1456|  2.04M|                    else {
  |  | 1457|  2.04M|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1458|  2.04M|                        _PyFrame_StackPointerValidate(frame);
  |  | 1459|  2.04M|                        res_o = PyObject_GetItem(container_o, slice);
  |  | 1460|  2.04M|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 1461|  2.04M|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (1461:25): [True: 2.04M, False: 0]
  |  |  ------------------
  |  | 1462|  2.04M|                        _PyFrame_StackPointerValidate(frame);
  |  | 1463|  2.04M|                        Py_DECREF(slice);
  |  |  ------------------
  |  |  |  |   80|  2.04M|    do { \
  |  |  |  |   81|  2.04M|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|  2.04M|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|  2.04M|#define _Py_IsImmortal(op) _Py_IsImmortal(_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 (137:28): [True: 0, False: 2.04M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|  2.04M|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|  2.04M|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|  2.04M|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 2.04M, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|  2.04M|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|  2.04M|    do { \
  |  |  |  |  |  |  113|  2.04M|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|  2.04M|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 2.04M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|  2.04M|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 2.04M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|  2.04M|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|  2.04M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|  2.04M|            (*dealloc)(op); \
  |  |  |  |   91|  2.04M|        } \
  |  |  |  |   92|  2.04M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 2.04M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1464|  2.04M|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 1465|  2.04M|                    }
  |  | 1466|  2.04M|                }
  |  | 1467|  2.05M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1468|  2.05M|                _PyFrame_StackPointerValidate(frame);
  |  | 1469|  2.05M|                _PyStackRef tmp = stop;
  |  | 1470|  2.05M|                stop = PyStackRef_NULL;
  |  | 1471|  2.05M|                stack_pointer[-1] = stop;
  |  | 1472|  2.05M|                PyStackRef_CLOSE(tmp);
  |  | 1473|  2.05M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1474|  2.05M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (1474:17): [True: 2.05M, False: 0]
  |  |  ------------------
  |  | 1475|  2.05M|                _PyFrame_StackPointerValidate(frame);
  |  | 1476|  2.05M|                tmp = start;
  |  | 1477|  2.05M|                start = PyStackRef_NULL;
  |  | 1478|  2.05M|                stack_pointer[-2] = start;
  |  | 1479|  2.05M|                PyStackRef_CLOSE(tmp);
  |  | 1480|  2.05M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1481|  2.05M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (1481:17): [True: 2.05M, False: 0]
  |  |  ------------------
  |  | 1482|  2.05M|                _PyFrame_StackPointerValidate(frame);
  |  | 1483|  2.05M|                tmp = container;
  |  | 1484|  2.05M|                container = PyStackRef_NULL;
  |  | 1485|  2.05M|                stack_pointer[-3] = container;
  |  | 1486|  2.05M|                PyStackRef_CLOSE(tmp);
  |  | 1487|  2.05M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1488|  2.05M|                stack_pointer += -3;
  |  | 1489|  2.05M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.05M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1490|  2.05M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1490:21): [True: 0, False: 2.05M]
  |  |  ------------------
  |  | 1491|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1492|      0|                }
  |  | 1493|  2.05M|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 1494|  2.05M|            }
  |  | 1495|      0|            stack_pointer[0] = res;
  |  | 1496|  2.05M|            stack_pointer += 1;
  |  | 1497|  2.05M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.05M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1498|  2.05M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.05M|    { \
  |  |  |  |  201|  2.05M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.05M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.05M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.05M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.05M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.05M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.05M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.05M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.05M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.05M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.05M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.05M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.05M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.05M|    }
  |  |  ------------------
  |  | 1499|  2.05M|        }
  |  | 1500|       |
  |  | 1501|      0|        TARGET(BUILD_INTERPOLATION) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1502|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1503|       |            int opcode = BUILD_INTERPOLATION;
  |  | 1504|       |            (void)(opcode);
  |  | 1505|       |            #endif
  |  | 1506|      0|            frame->instr_ptr = next_instr;
  |  | 1507|      0|            next_instr += 1;
  |  | 1508|      0|            INSTRUCTION_STATS(BUILD_INTERPOLATION);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1509|      0|            _PyStackRef value;
  |  | 1510|      0|            _PyStackRef str;
  |  | 1511|      0|            _PyStackRef *format;
  |  | 1512|      0|            _PyStackRef interpolation;
  |  | 1513|      0|            format = &stack_pointer[-(oparg & 1)];
  |  | 1514|      0|            str = stack_pointer[-1 - (oparg & 1)];
  |  | 1515|      0|            value = stack_pointer[-2 - (oparg & 1)];
  |  | 1516|      0|            PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 1517|      0|            PyObject *str_o = PyStackRef_AsPyObjectBorrow(str);
  |  | 1518|      0|            int conversion = oparg >> 2;
  |  | 1519|      0|            PyObject *format_o;
  |  | 1520|      0|            if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (1520:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1521|      0|                format_o = PyStackRef_AsPyObjectBorrow(format[0]);
  |  | 1522|      0|            }
  |  | 1523|      0|            else {
  |  | 1524|      0|                format_o = &_Py_STR(empty);
  |  |  ------------------
  |  |  |  |  922|      0|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1525|      0|            }
  |  | 1526|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1527|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 1528|      0|            PyObject *interpolation_o = _PyInterpolation_Build(value_o, str_o, conversion, format_o);
  |  | 1529|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1530|      0|            if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (1530:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1531|      0|                stack_pointer += -(oparg & 1);
  |  | 1532|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1533|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1534|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 1535|      0|                PyStackRef_CLOSE(format[0]);
  |  | 1536|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1537|      0|            }
  |  | 1538|      0|            else {
  |  | 1539|      0|                stack_pointer += -(oparg & 1);
  |  | 1540|      0|            }
  |  | 1541|      0|            stack_pointer += -1;
  |  | 1542|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1543|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1544|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 1545|      0|            PyStackRef_CLOSE(str);
  |  | 1546|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1547|      0|            stack_pointer += -1;
  |  | 1548|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1549|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1550|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 1551|      0|            PyStackRef_CLOSE(value);
  |  | 1552|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1553|      0|            if (interpolation_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1553:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1554|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1555|      0|            }
  |  | 1556|      0|            interpolation = PyStackRef_FromPyObjectSteal(interpolation_o);
  |  | 1557|      0|            stack_pointer[0] = interpolation;
  |  | 1558|      0|            stack_pointer += 1;
  |  | 1559|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1560|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 1561|      0|        }
  |  | 1562|       |
  |  | 1563|  15.1M|        TARGET(BUILD_LIST) {
  |  |  ------------------
  |  |  |  |  132|  15.1M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1564|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1565|       |            int opcode = BUILD_LIST;
  |  | 1566|       |            (void)(opcode);
  |  | 1567|       |            #endif
  |  | 1568|  15.1M|            frame->instr_ptr = next_instr;
  |  | 1569|  15.1M|            next_instr += 1;
  |  | 1570|  15.1M|            INSTRUCTION_STATS(BUILD_LIST);
  |  |  ------------------
  |  |  |  |   71|  15.1M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1571|  15.1M|            _PyStackRef *values;
  |  | 1572|  15.1M|            _PyStackRef list;
  |  | 1573|  15.1M|            values = &stack_pointer[-oparg];
  |  | 1574|  15.1M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1575|  15.1M|            _PyFrame_StackPointerValidate(frame);
  |  | 1576|  15.1M|            PyObject *list_o = _PyList_FromStackRefStealOnSuccess(values, oparg);
  |  | 1577|  15.1M|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1578|  15.1M|            if (list_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1578:17): [True: 0, False: 15.1M]
  |  |  ------------------
  |  | 1579|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1580|      0|            }
  |  | 1581|  15.1M|            list = PyStackRef_FromPyObjectStealMortal(list_o);
  |  | 1582|  15.1M|            stack_pointer[-oparg] = list;
  |  | 1583|  15.1M|            stack_pointer += 1 - oparg;
  |  | 1584|  15.1M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  15.1M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1585|  15.1M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  15.1M|    { \
  |  |  |  |  201|  15.1M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  15.1M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  15.1M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  15.1M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  15.1M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  15.1M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  15.1M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  15.1M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 15.1M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  15.1M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  15.1M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  15.1M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  15.1M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  15.1M|    }
  |  |  ------------------
  |  | 1586|  15.1M|        }
  |  | 1587|       |
  |  | 1588|  10.7k|        TARGET(BUILD_MAP) {
  |  |  ------------------
  |  |  |  |  132|  10.7k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1589|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1590|       |            int opcode = BUILD_MAP;
  |  | 1591|       |            (void)(opcode);
  |  | 1592|       |            #endif
  |  | 1593|  10.7k|            frame->instr_ptr = next_instr;
  |  | 1594|  10.7k|            next_instr += 1;
  |  | 1595|  10.7k|            INSTRUCTION_STATS(BUILD_MAP);
  |  |  ------------------
  |  |  |  |   71|  10.7k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1596|  10.7k|            _PyStackRef *values;
  |  | 1597|  10.7k|            _PyStackRef map;
  |  | 1598|  10.7k|            values = &stack_pointer[-oparg*2];
  |  | 1599|  10.7k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1600|  10.7k|            _PyFrame_StackPointerValidate(frame);
  |  | 1601|  10.7k|            PyObject *map_o = _Py_BuildMap_StackRefSteal(values, oparg);
  |  | 1602|  10.7k|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1603|  10.7k|            if (map_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1603:17): [True: 0, False: 10.7k]
  |  |  ------------------
  |  | 1604|      0|                stack_pointer += -oparg*2;
  |  | 1605|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1606|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1607|      0|            }
  |  | 1608|  10.7k|            map = PyStackRef_FromPyObjectStealMortal(map_o);
  |  | 1609|  10.7k|            stack_pointer[-oparg*2] = map;
  |  | 1610|  10.7k|            stack_pointer += 1 - oparg*2;
  |  | 1611|  10.7k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  10.7k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1612|  10.7k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  10.7k|    { \
  |  |  |  |  201|  10.7k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  10.7k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  10.7k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  10.7k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  10.7k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  10.7k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  10.7k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  10.7k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 10.7k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  10.7k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  10.7k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  10.7k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  10.7k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  10.7k|    }
  |  |  ------------------
  |  | 1613|  10.7k|        }
  |  | 1614|       |
  |  | 1615|    910|        TARGET(BUILD_SET) {
  |  |  ------------------
  |  |  |  |  132|    910|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1616|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1617|       |            int opcode = BUILD_SET;
  |  | 1618|       |            (void)(opcode);
  |  | 1619|       |            #endif
  |  | 1620|    910|            frame->instr_ptr = next_instr;
  |  | 1621|    910|            next_instr += 1;
  |  | 1622|    910|            INSTRUCTION_STATS(BUILD_SET);
  |  |  ------------------
  |  |  |  |   71|    910|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1623|    910|            _PyStackRef *values;
  |  | 1624|    910|            _PyStackRef set;
  |  | 1625|    910|            values = &stack_pointer[-oparg];
  |  | 1626|    910|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1627|    910|            _PyFrame_StackPointerValidate(frame);
  |  | 1628|    910|            PyObject *set_o = PySet_New(NULL);
  |  | 1629|    910|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1630|    910|            if (set_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1630:17): [True: 0, False: 910]
  |  |  ------------------
  |  | 1631|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (1631:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1632|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 1633|      0|                _PyStackRef tmp;
  |  | 1634|      0|                for (int _i = oparg; --_i >= 0;) {
  |  |  ------------------
  |  |  |  Branch (1634:38): [True: 0, False: 0]
  |  |  ------------------
  |  | 1635|      0|                    tmp = values[_i];
  |  | 1636|      0|                    values[_i] = PyStackRef_NULL;
  |  | 1637|      0|                    PyStackRef_CLOSE(tmp);
  |  | 1638|      0|                }
  |  | 1639|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1640|      0|                stack_pointer += -oparg;
  |  | 1641|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1642|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1643|      0|            }
  |  | 1644|    910|            int err = 0;
  |  | 1645|  1.89k|            for (Py_ssize_t i = 0; i < oparg; i++) {
  |  |  ------------------
  |  |  |  Branch (1645:36): [True: 983, False: 910]
  |  |  ------------------
  |  | 1646|    983|                _PyStackRef value = values[i];
  |  | 1647|    983|                values[i] = PyStackRef_NULL;
  |  | 1648|    983|                if (err == 0) {
  |  |  ------------------
  |  |  |  Branch (1648:21): [True: 983, False: 0]
  |  |  ------------------
  |  | 1649|    983|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (1649:21): [True: 983, False: 0]
  |  |  ------------------
  |  | 1650|    983|                    _PyFrame_StackPointerValidate(frame);
  |  | 1651|    983|                    err = _PySet_AddTakeRef((PySetObject *)set_o, PyStackRef_AsPyObjectSteal(value));
  |  | 1652|    983|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 1653|    983|                }
  |  | 1654|      0|                else {
  |  | 1655|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (1655:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1656|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 1657|      0|                    PyStackRef_CLOSE(value);
  |  | 1658|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 1659|      0|                }
  |  | 1660|    983|            }
  |  | 1661|    910|            if (err) {
  |  |  ------------------
  |  |  |  Branch (1661:17): [True: 0, False: 910]
  |  |  ------------------
  |  | 1662|      0|                stack_pointer += -oparg;
  |  | 1663|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1664|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1665|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 1666|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1667|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1668|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1669|      0|            }
  |  | 1670|    910|            set = PyStackRef_FromPyObjectStealMortal(set_o);
  |  | 1671|    910|            stack_pointer[-oparg] = set;
  |  | 1672|    910|            stack_pointer += 1 - oparg;
  |  | 1673|    910|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    910|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1674|    910|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    910|    { \
  |  |  |  |  201|    910|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    910|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    910|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    910|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    910|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    910|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    910|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    910|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 910]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    910|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    910|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    910|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    910|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    910|    }
  |  |  ------------------
  |  | 1675|    910|        }
  |  | 1676|       |
  |  | 1677|  2.95M|        TARGET(BUILD_SLICE) {
  |  |  ------------------
  |  |  |  |  132|  2.95M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1678|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1679|       |            int opcode = BUILD_SLICE;
  |  | 1680|       |            (void)(opcode);
  |  | 1681|       |            #endif
  |  | 1682|  2.95M|            frame->instr_ptr = next_instr;
  |  | 1683|  2.95M|            next_instr += 1;
  |  | 1684|  2.95M|            INSTRUCTION_STATS(BUILD_SLICE);
  |  |  ------------------
  |  |  |  |   71|  2.95M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1685|  2.95M|            _PyStackRef *args;
  |  | 1686|  2.95M|            _PyStackRef slice;
  |  | 1687|  2.95M|            args = &stack_pointer[-oparg];
  |  | 1688|  2.95M|            PyObject *start_o = PyStackRef_AsPyObjectBorrow(args[0]);
  |  | 1689|  2.95M|            PyObject *stop_o = PyStackRef_AsPyObjectBorrow(args[1]);
  |  | 1690|  2.95M|            PyObject *step_o = oparg == 3 ? PyStackRef_AsPyObjectBorrow(args[2]) : NULL;
  |  |  ------------------
  |  |  |  Branch (1690:32): [True: 2.95M, False: 1]
  |  |  ------------------
  |  | 1691|  2.95M|            PyObject *slice_o = PySlice_New(start_o, stop_o, step_o);
  |  | 1692|  2.95M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1693|  2.95M|            _PyFrame_StackPointerValidate(frame);
  |  | 1694|  2.95M|            _PyStackRef tmp;
  |  | 1695|  11.8M|            for (int _i = oparg; --_i >= 0;) {
  |  |  ------------------
  |  |  |  Branch (1695:34): [True: 8.87M, False: 2.95M]
  |  |  ------------------
  |  | 1696|  8.87M|                tmp = args[_i];
  |  | 1697|  8.87M|                args[_i] = PyStackRef_NULL;
  |  | 1698|  8.87M|                PyStackRef_CLOSE(tmp);
  |  | 1699|  8.87M|            }
  |  | 1700|  2.95M|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1701|  2.95M|            stack_pointer += -oparg;
  |  | 1702|  2.95M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.95M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1703|  2.95M|            if (slice_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1703:17): [True: 0, False: 2.95M]
  |  |  ------------------
  |  | 1704|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1705|      0|            }
  |  | 1706|  2.95M|            slice = PyStackRef_FromPyObjectStealMortal(slice_o);
  |  | 1707|  2.95M|            stack_pointer[0] = slice;
  |  | 1708|  2.95M|            stack_pointer += 1;
  |  | 1709|  2.95M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.95M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1710|  2.95M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.95M|    { \
  |  |  |  |  201|  2.95M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.95M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.95M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.95M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.95M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.95M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.95M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.95M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.95M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.95M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.95M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.95M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.95M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.95M|    }
  |  |  ------------------
  |  | 1711|  2.95M|        }
  |  | 1712|       |
  |  | 1713|   355k|        TARGET(BUILD_STRING) {
  |  |  ------------------
  |  |  |  |  132|   355k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1714|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1715|       |            int opcode = BUILD_STRING;
  |  | 1716|       |            (void)(opcode);
  |  | 1717|       |            #endif
  |  | 1718|   355k|            frame->instr_ptr = next_instr;
  |  | 1719|   355k|            next_instr += 1;
  |  | 1720|   355k|            INSTRUCTION_STATS(BUILD_STRING);
  |  |  ------------------
  |  |  |  |   71|   355k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1721|   355k|            _PyStackRef *pieces;
  |  | 1722|   355k|            _PyStackRef str;
  |  | 1723|   355k|            pieces = &stack_pointer[-oparg];
  |  | 1724|   355k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1725|   355k|            _PyFrame_StackPointerValidate(frame);
  |  | 1726|   355k|            PyObject *str_o = _Py_BuildString_StackRefSteal(pieces, oparg);
  |  | 1727|   355k|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1728|   355k|            if (str_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1728:17): [True: 0, False: 355k]
  |  |  ------------------
  |  | 1729|      0|                stack_pointer += -oparg;
  |  | 1730|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1731|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1732|      0|            }
  |  | 1733|   355k|            str = PyStackRef_FromPyObjectSteal(str_o);
  |  | 1734|   355k|            stack_pointer[-oparg] = str;
  |  | 1735|   355k|            stack_pointer += 1 - oparg;
  |  | 1736|   355k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   355k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1737|   355k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   355k|    { \
  |  |  |  |  201|   355k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   355k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   355k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   355k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   355k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   355k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   355k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   355k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 355k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   355k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   355k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   355k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   355k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   355k|    }
  |  |  ------------------
  |  | 1738|   355k|        }
  |  | 1739|       |
  |  | 1740|      0|        TARGET(BUILD_TEMPLATE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1741|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1742|       |            int opcode = BUILD_TEMPLATE;
  |  | 1743|       |            (void)(opcode);
  |  | 1744|       |            #endif
  |  | 1745|      0|            frame->instr_ptr = next_instr;
  |  | 1746|      0|            next_instr += 1;
  |  | 1747|      0|            INSTRUCTION_STATS(BUILD_TEMPLATE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1748|      0|            _PyStackRef strings;
  |  | 1749|      0|            _PyStackRef interpolations;
  |  | 1750|      0|            _PyStackRef template;
  |  | 1751|      0|            interpolations = stack_pointer[-1];
  |  | 1752|      0|            strings = stack_pointer[-2];
  |  | 1753|      0|            PyObject *strings_o = PyStackRef_AsPyObjectBorrow(strings);
  |  | 1754|      0|            PyObject *interpolations_o = PyStackRef_AsPyObjectBorrow(interpolations);
  |  | 1755|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1756|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 1757|      0|            PyObject *template_o = _PyTemplate_Build(strings_o, interpolations_o);
  |  | 1758|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1759|      0|            stack_pointer += -1;
  |  | 1760|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1761|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1762|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 1763|      0|            PyStackRef_CLOSE(interpolations);
  |  | 1764|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1765|      0|            stack_pointer += -1;
  |  | 1766|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1767|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1768|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 1769|      0|            PyStackRef_CLOSE(strings);
  |  | 1770|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1771|      0|            if (template_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1771:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1772|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1773|      0|            }
  |  | 1774|      0|            template = PyStackRef_FromPyObjectSteal(template_o);
  |  | 1775|      0|            stack_pointer[0] = template;
  |  | 1776|      0|            stack_pointer += 1;
  |  | 1777|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1778|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 1779|      0|        }
  |  | 1780|       |
  |  | 1781|  38.8M|        TARGET(BUILD_TUPLE) {
  |  |  ------------------
  |  |  |  |  132|  38.8M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1782|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1783|       |            int opcode = BUILD_TUPLE;
  |  | 1784|       |            (void)(opcode);
  |  | 1785|       |            #endif
  |  | 1786|  38.8M|            frame->instr_ptr = next_instr;
  |  | 1787|  38.8M|            next_instr += 1;
  |  | 1788|  38.8M|            INSTRUCTION_STATS(BUILD_TUPLE);
  |  |  ------------------
  |  |  |  |   71|  38.8M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1789|  38.8M|            _PyStackRef *values;
  |  | 1790|  38.8M|            _PyStackRef tup;
  |  | 1791|  38.8M|            values = &stack_pointer[-oparg];
  |  | 1792|  38.8M|            PyObject *tup_o = _PyTuple_FromStackRefStealOnSuccess(values, oparg);
  |  | 1793|  38.8M|            if (tup_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1793:17): [True: 0, False: 38.8M]
  |  |  ------------------
  |  | 1794|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1795|      0|            }
  |  | 1796|  38.8M|            tup = PyStackRef_FromPyObjectStealMortal(tup_o);
  |  | 1797|  38.8M|            stack_pointer[-oparg] = tup;
  |  | 1798|  38.8M|            stack_pointer += 1 - oparg;
  |  | 1799|  38.8M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  38.8M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1800|  38.8M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  38.8M|    { \
  |  |  |  |  201|  38.8M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  38.8M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  38.8M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  38.8M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  38.8M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  38.8M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  38.8M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  38.8M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 1801|  38.8M|        }
  |  | 1802|       |
  |  | 1803|      0|        TARGET(CACHE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1804|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1805|       |            int opcode = CACHE;
  |  | 1806|       |            (void)(opcode);
  |  | 1807|       |            #endif
  |  | 1808|      0|            frame->instr_ptr = next_instr;
  |  | 1809|      0|            next_instr += 1;
  |  | 1810|      0|            INSTRUCTION_STATS(CACHE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1811|      0|            assert(0 && "Executing a cache.");
  |  |  ------------------
  |  |  |  Branch (1811:13): [Folded, False: 0]
  |  |  |  Branch (1811:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1812|      0|            Py_FatalError("Executing a cache.");
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  |  | 1813|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 1814|      0|        }
  |  | 1815|       |
  |  | 1816|  4.02k|        TARGET(CALL) {
  |  |  ------------------
  |  |  |  |  132|  4.02k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1817|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1818|       |            int opcode = CALL;
  |  | 1819|       |            (void)(opcode);
  |  | 1820|       |            #endif
  |  | 1821|  4.02k|            frame->instr_ptr = next_instr;
  |  | 1822|  4.02k|            next_instr += 4;
  |  | 1823|  4.02k|            INSTRUCTION_STATS(CALL);
  |  |  ------------------
  |  |  |  |   71|  4.02k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1824|  2.01M|            PREDICTED_CALL:;
  |  | 1825|  2.01M|            _Py_CODEUNIT* const this_instr = next_instr - 4;
  |  | 1826|  2.01M|            (void)this_instr;
  |  | 1827|  2.01M|            opcode = CALL;
  |  |  ------------------
  |  |  |  |   63|  2.01M|#define CALL                                    50
  |  |  ------------------
  |  | 1828|  2.01M|            _PyStackRef callable;
  |  | 1829|  2.01M|            _PyStackRef self_or_null;
  |  | 1830|  2.01M|            _PyStackRef *args;
  |  | 1831|  2.01M|            _PyStackRef res;
  |  | 1832|       |            // _SPECIALIZE_CALL
  |  | 1833|  2.01M|            {
  |  | 1834|  2.01M|                self_or_null = stack_pointer[-1 - oparg];
  |  | 1835|  2.01M|                callable = stack_pointer[-2 - oparg];
  |  | 1836|  2.01M|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 1837|  2.01M|                (void)counter;
  |  | 1838|  2.01M|                #if ENABLE_SPECIALIZATION
  |  | 1839|  2.01M|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  2.01M|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 39.1k, False: 1.97M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1840|  39.1k|                    next_instr = this_instr;
  |  | 1841|  39.1k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1842|  39.1k|                    _PyFrame_StackPointerValidate(frame);
  |  | 1843|  39.1k|                    _Py_Specialize_Call(callable, self_or_null, next_instr, oparg + !PyStackRef_IsNull(self_or_null));
  |  |  ------------------
  |  |  |  |  482|  39.1k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  39.1k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  39.1k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1844|  39.1k|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 1845|  39.1k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|  39.1k|    { \
  |  |  |  |  217|  39.1k|        opcode = next_instr->op.code; \
  |  |  |  |  218|  39.1k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  39.1k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|  39.1k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  39.1k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|  39.1k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|  39.1k|    }
  |  |  ------------------
  |  | 1846|  39.1k|                }
  |  | 1847|  2.01M|                OPCODE_DEFERRED_INC(CALL);
  |  |  ------------------
  |  |  |  |   90|  2.01M|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 1848|  2.01M|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  358|  2.01M|    do { \
  |  |  |  |  359|  2.01M|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  360|  2.01M|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (360:14): [Folded, False: 2.01M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1849|  2.01M|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 1850|  2.01M|            }
  |  | 1851|       |            /* Skip 2 cache entries */
  |  | 1852|       |            // _MAYBE_EXPAND_METHOD
  |  | 1853|  2.01M|            {
  |  | 1854|  2.01M|                if (PyStackRef_TYPE(callable) == &PyMethod_Type && PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|   191k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   191k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   191k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 191k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1854:21): [True: 191k, False: 1.81M]
  |  |  ------------------
  |  | 1855|   191k|                    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 1856|   191k|                    PyObject *self = ((PyMethodObject *)callable_o)->im_self;
  |  | 1857|   191k|                    self_or_null = PyStackRef_FromPyObjectNew(self);
  |  |  ------------------
  |  |  |  |  611|   191k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   191k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   191k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1858|   191k|                    PyObject *method = ((PyMethodObject *)callable_o)->im_func;
  |  | 1859|   191k|                    _PyStackRef temp = callable;
  |  | 1860|   191k|                    callable = PyStackRef_FromPyObjectNew(method);
  |  |  ------------------
  |  |  |  |  611|   191k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   191k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   191k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1861|   191k|                    stack_pointer[-2 - oparg] = callable;
  |  | 1862|   191k|                    stack_pointer[-1 - oparg] = self_or_null;
  |  | 1863|   191k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1864|   191k|                    _PyFrame_StackPointerValidate(frame);
  |  | 1865|   191k|                    PyStackRef_CLOSE(temp);
  |  | 1866|   191k|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 1867|   191k|                }
  |  | 1868|  2.01M|            }
  |  | 1869|       |            // _DO_CALL
  |  | 1870|  2.01M|            {
  |  | 1871|  2.01M|                args = &stack_pointer[-oparg];
  |  | 1872|  2.01M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 1873|  2.01M|                int total_args = oparg;
  |  | 1874|  2.01M|                _PyStackRef *arguments = args;
  |  | 1875|  2.01M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  2.01M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  2.01M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.01M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1875:21): [True: 558k, False: 1.45M]
  |  |  ------------------
  |  | 1876|   558k|                    arguments--;
  |  | 1877|   558k|                    total_args++;
  |  | 1878|   558k|                }
  |  | 1879|  2.01M|                if (Py_TYPE(callable_o) == &PyFunction_Type &&
  |  |  ------------------
  |  |  |  |  213|  2.01M|#  define Py_TYPE(ob) _Py_TYPE_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1879:21): [True: 789k, False: 1.22M]
  |  |  ------------------
  |  | 1880|   789k|                    !IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  519|  2.80M|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (1880:21): [True: 789k, False: 0]
  |  |  ------------------
  |  | 1881|   789k|                    ((PyFunctionObject *)callable_o)->vectorcall == _PyFunction_Vectorcall)
  |  |  ------------------
  |  |  |  Branch (1881:21): [True: 789k, False: 0]
  |  |  ------------------
  |  | 1882|   789k|                {
  |  | 1883|   789k|                    int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|   789k|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   789k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   789k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1884|   789k|                    PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  122|   789k|#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 (1884:40): [True: 789k, False: 0]
  |  |  ------------------
  |  | 1885|   789k|                    stack_pointer[-2 - oparg] = callable;
  |  | 1886|   789k|                    stack_pointer[-1 - oparg] = self_or_null;
  |  | 1887|   789k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1888|   789k|                    _PyFrame_StackPointerValidate(frame);
  |  | 1889|   789k|                    _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit(
  |  | 1890|   789k|                        tstate, callable, locals,
  |  | 1891|   789k|                        arguments, total_args, NULL, frame
  |  | 1892|   789k|                    );
  |  | 1893|   789k|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 1894|   789k|                    stack_pointer += -2 - oparg;
  |  | 1895|   789k|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   789k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1896|   789k|                    if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (1896:25): [True: 0, False: 789k]
  |  |  ------------------
  |  | 1897|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1898|      0|                    }
  |  | 1899|   789k|                    frame->return_offset = 4u ;
  |  | 1900|   789k|                    DISPATCH_INLINED(new_frame);
  |  |  ------------------
  |  |  |  |  223|   789k|    do {                                                         \
  |  |  |  |  224|   789k|        assert(!IS_PEP523_HOOKED(tstate));                       \
  |  |  |  |  225|   789k|        _PyFrame_SetStackPointer(frame, stack_pointer);          \
  |  |  |  |  226|   789k|        _PyFrame_StackPointerValidate(frame);                    \
  |  |  |  |  227|   789k|        assert((NEW_FRAME)->previous == frame);                  \
  |  |  |  |  228|   789k|        frame = tstate->current_frame = (NEW_FRAME);             \
  |  |  |  |  229|   789k|        CALL_STAT_INC(inlined_py_calls);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  |   76|   789k|#define CALL_STAT_INC(name) ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  230|   789k|        JUMP_TO_LABEL(start_frame);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|   789k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  231|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1900:21): [True: 789k, False: 0]
  |  |  |  Branch (1900:21): [True: 789k, False: 0]
  |  |  ------------------
  |  | 1901|   789k|                }
  |  | 1902|  1.22M|                stack_pointer[-2 - oparg] = callable;
  |  | 1903|  1.22M|                stack_pointer[-1 - oparg] = self_or_null;
  |  | 1904|  1.22M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1905|  1.22M|                _PyFrame_StackPointerValidate(frame);
  |  | 1906|  1.22M|                PyObject* res_o = _Py_VectorCallInstrumentation_StackRefSteal(
  |  | 1907|  1.22M|                    callable,
  |  | 1908|  1.22M|                    arguments,
  |  | 1909|  1.22M|                    total_args,
  |  | 1910|  1.22M|                    PyStackRef_NULL,
  |  | 1911|  1.22M|                    opcode == INSTRUMENTED_CALL,
  |  |  ------------------
  |  |  |  |  237|  1.22M|#define INSTRUMENTED_CALL                      249
  |  |  ------------------
  |  | 1912|  1.22M|                    frame,
  |  | 1913|  1.22M|                    this_instr,
  |  | 1914|  1.22M|                    tstate);
  |  | 1915|  1.22M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1916|  1.22M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1916:21): [True: 31, False: 1.22M]
  |  |  ------------------
  |  | 1917|     31|                    stack_pointer += -2 - oparg;
  |  | 1918|     31|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     31|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1919|     31|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|     31|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1920|      0|                }
  |  | 1921|  1.22M|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 1922|  1.22M|            }
  |  | 1923|       |            // _CHECK_PERIODIC_AT_END
  |  | 1924|      0|            {
  |  | 1925|  1.22M|                stack_pointer[-2 - oparg] = res;
  |  | 1926|  1.22M|                stack_pointer += -1 - oparg;
  |  | 1927|  1.22M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.22M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1928|  1.22M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1929|  1.22M|                _PyFrame_StackPointerValidate(frame);
  |  | 1930|  1.22M|                int err = check_periodics_at_end(tstate, frame);
  |  | 1931|  1.22M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1932|  1.22M|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (1932:21): [True: 0, False: 1.22M]
  |  |  ------------------
  |  | 1933|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1934|      0|                }
  |  | 1935|  1.22M|            }
  |  | 1936|  1.22M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.22M|    { \
  |  |  |  |  201|  1.22M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.22M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.22M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.22M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.22M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.22M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.22M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.22M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.22M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.22M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.22M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.22M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.22M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.22M|    }
  |  |  ------------------
  |  | 1937|  1.22M|        }
  |  | 1938|       |
  |  | 1939|  6.57M|        TARGET(CALL_ALLOC_AND_ENTER_INIT) {
  |  |  ------------------
  |  |  |  |  132|  6.57M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1940|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1941|       |            int opcode = CALL_ALLOC_AND_ENTER_INIT;
  |  | 1942|       |            (void)(opcode);
  |  | 1943|       |            #endif
  |  | 1944|  6.57M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 1945|  6.57M|            (void)this_instr;
  |  | 1946|  6.57M|            frame->instr_ptr = next_instr;
  |  | 1947|  6.57M|            next_instr += 4;
  |  | 1948|  6.57M|            INSTRUCTION_STATS(CALL_ALLOC_AND_ENTER_INIT);
  |  |  ------------------
  |  |  |  |   71|  6.57M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1949|  6.57M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 1950|  6.57M|            _PyStackRef callable;
  |  | 1951|  6.57M|            _PyStackRef self_or_null;
  |  | 1952|  6.57M|            _PyStackRef init;
  |  | 1953|  6.57M|            _PyStackRef self;
  |  | 1954|  6.57M|            _PyStackRef *args;
  |  | 1955|  6.57M|            _PyStackRef init_frame;
  |  | 1956|  6.57M|            _PyStackRef new_frame;
  |  | 1957|       |            /* Skip 1 cache entry */
  |  | 1958|       |            // _CHECK_PEP_523
  |  | 1959|  6.57M|            {
  |  | 1960|  6.57M|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  519|  6.57M|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (519:34): [True: 0, False: 6.57M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1961|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1962|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (1962:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1963|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1964|      0|                }
  |  | 1965|  6.57M|            }
  |  | 1966|       |            // _CHECK_OBJECT
  |  | 1967|  6.57M|            {
  |  | 1968|  6.57M|                self_or_null = stack_pointer[-1 - oparg];
  |  | 1969|  6.57M|                callable = stack_pointer[-2 - oparg];
  |  | 1970|  6.57M|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 1971|  6.57M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 1972|  6.57M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  6.57M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  6.57M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  6.57M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1972:21): [True: 0, False: 6.57M]
  |  |  ------------------
  |  | 1973|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1974|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (1974:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1975|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1976|      0|                }
  |  | 1977|  6.57M|                if (!PyType_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |  766|  6.57M|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.57M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.57M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1977:21): [True: 0, False: 6.57M]
  |  |  ------------------
  |  | 1978|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1979|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (1979:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1980|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1981|      0|                }
  |  | 1982|  6.57M|                PyTypeObject *tp = (PyTypeObject *)callable_o;
  |  | 1983|  6.57M|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  159|  6.57M|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (1983:21): [True: 2, False: 6.57M]
  |  |  ------------------
  |  | 1984|      2|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      2|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1985|      2|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (1985:21): [True: 2, False: 0]
  |  |  ------------------
  |  | 1986|      2|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      2|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1987|      0|                }
  |  | 1988|  6.57M|            }
  |  | 1989|       |            // _CHECK_RECURSION_REMAINING
  |  | 1990|  6.57M|            {
  |  | 1991|  6.57M|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (1991:21): [True: 341, False: 6.57M]
  |  |  ------------------
  |  | 1992|    341|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|    341|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1993|    341|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (1993:21): [True: 341, False: 0]
  |  |  ------------------
  |  | 1994|    341|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|    341|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1995|      0|                }
  |  | 1996|  6.57M|            }
  |  | 1997|       |            // _ALLOCATE_OBJECT
  |  | 1998|  6.57M|            {
  |  | 1999|  6.57M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2000|  6.57M|                assert(PyStackRef_IsNull(self_or_null));
  |  |  ------------------
  |  |  |  Branch (2000:17): [True: 6.57M, False: 0]
  |  |  ------------------
  |  | 2001|  6.57M|                assert(PyType_Check(callable_o));
  |  |  ------------------
  |  |  |  Branch (2001:17): [True: 6.57M, False: 0]
  |  |  ------------------
  |  | 2002|  6.57M|                PyTypeObject *tp = (PyTypeObject *)callable_o;
  |  | 2003|  6.57M|                assert(tp->tp_new == PyBaseObject_Type.tp_new);
  |  |  ------------------
  |  |  |  Branch (2003:17): [True: 6.57M, False: 0]
  |  |  ------------------
  |  | 2004|  6.57M|                assert(tp->tp_flags & Py_TPFLAGS_HEAPTYPE);
  |  |  ------------------
  |  |  |  Branch (2004:17): [True: 6.57M, False: 0]
  |  |  ------------------
  |  | 2005|  6.57M|                assert(tp->tp_alloc == PyType_GenericAlloc);
  |  |  ------------------
  |  |  |  Branch (2005:17): [True: 6.57M, False: 0]
  |  |  ------------------
  |  | 2006|  6.57M|                PyHeapTypeObject *cls = (PyHeapTypeObject *)callable_o;
  |  | 2007|  6.57M|                PyFunctionObject *init_func = (PyFunctionObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(cls->_spec_cache.init);
  |  |  ------------------
  |  |  |  |  150|  6.57M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 2008|  6.57M|                PyCodeObject *code = (PyCodeObject *)init_func->func_code;
  |  | 2009|  6.57M|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize + _Py_InitCleanup.co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (2009:21): [True: 98.3k, False: 6.47M]
  |  |  ------------------
  |  | 2010|  98.3k|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|  98.3k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2011|  98.3k|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2011:21): [True: 98.3k, False: 0]
  |  |  ------------------
  |  | 2012|  98.3k|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|  98.3k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2013|      0|                }
  |  | 2014|  6.47M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  6.47M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2015|  6.47M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2016|  6.47M|                _PyFrame_StackPointerValidate(frame);
  |  | 2017|  6.47M|                PyObject *self_o = PyType_GenericAlloc(tp, 0);
  |  | 2018|  6.47M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2019|  6.47M|                if (self_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2019:21): [True: 0, False: 6.47M]
  |  |  ------------------
  |  | 2020|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2021|      0|                }
  |  | 2022|  6.47M|                self_or_null = PyStackRef_FromPyObjectSteal(self_o);
  |  | 2023|  6.47M|                _PyStackRef temp = callable;
  |  | 2024|  6.47M|                callable = PyStackRef_FromPyObjectNew(init_func);
  |  |  ------------------
  |  |  |  |  611|  6.47M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.47M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.47M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2025|  6.47M|                stack_pointer[-2 - oparg] = callable;
  |  | 2026|  6.47M|                stack_pointer[-1 - oparg] = self_or_null;
  |  | 2027|  6.47M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2027:17): [True: 6.47M, False: 0]
  |  |  ------------------
  |  | 2028|  6.47M|                _PyFrame_StackPointerValidate(frame);
  |  | 2029|  6.47M|                PyStackRef_CLOSE(temp);
  |  | 2030|  6.47M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2031|  6.47M|            }
  |  | 2032|       |            // _CREATE_INIT_FRAME
  |  | 2033|      0|            {
  |  | 2034|  6.47M|                args = &stack_pointer[-oparg];
  |  | 2035|  6.47M|                self = self_or_null;
  |  | 2036|  6.47M|                init = callable;
  |  | 2037|  6.47M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2037:17): [True: 6.47M, False: 0]
  |  |  ------------------
  |  | 2038|  6.47M|                _PyFrame_StackPointerValidate(frame);
  |  | 2039|  6.47M|                _PyInterpreterFrame *shim = _PyFrame_PushTrampolineUnchecked(
  |  | 2040|  6.47M|                    tstate, (PyCodeObject *)&_Py_InitCleanup, 1, frame);
  |  | 2041|  6.47M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2042|  6.47M|                assert(_PyFrame_GetBytecode(shim)[0].op.code == EXIT_INIT_CHECK);
  |  |  ------------------
  |  |  |  Branch (2042:17): [True: 6.47M, False: 0]
  |  |  ------------------
  |  | 2043|  6.47M|                assert(_PyFrame_GetBytecode(shim)[1].op.code == RETURN_VALUE);
  |  |  ------------------
  |  |  |  Branch (2043:17): [True: 6.47M, False: 0]
  |  |  ------------------
  |  | 2044|  6.47M|                shim->localsplus[0] = PyStackRef_DUP(self);
  |  | 2045|  6.47M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2045:17): [True: 6.47M, False: 0]
  |  |  ------------------
  |  | 2046|  6.47M|                _PyFrame_StackPointerValidate(frame);
  |  | 2047|  6.47M|                _PyInterpreterFrame *temp = _PyEvalFramePushAndInit(
  |  | 2048|  6.47M|                    tstate, init, NULL, args-1, oparg+1, NULL, shim);
  |  | 2049|  6.47M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2050|  6.47M|                stack_pointer += -2 - oparg;
  |  | 2051|  6.47M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  6.47M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2052|  6.47M|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (2052:21): [True: 0, False: 6.47M]
  |  |  ------------------
  |  | 2053|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2054|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 2055|      0|                    _PyEval_FrameClearAndPop(tstate, shim);
  |  | 2056|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 2057|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2058|      0|                }
  |  | 2059|  6.47M|                frame->return_offset = 1 + INLINE_CACHE_ENTRIES_CALL;
  |  |  ------------------
  |  |  |  |  129|  6.47M|#define INLINE_CACHE_ENTRIES_CALL CACHE_ENTRIES(_PyCallCache)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  6.47M|#define CACHE_ENTRIES(cache) (sizeof(cache)/sizeof(_Py_CODEUNIT))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2060|  6.47M|                tstate->py_recursion_remaining--;
  |  | 2061|  6.47M|                init_frame = PyStackRef_Wrap(temp);
  |  | 2062|  6.47M|            }
  |  | 2063|       |            // _PUSH_FRAME
  |  | 2064|      0|            {
  |  | 2065|  6.47M|                new_frame = init_frame;
  |  | 2066|  6.47M|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (2066:17): [True: 6.47M, False: 0]
  |  |  ------------------
  |  | 2067|  6.47M|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 2068|  6.47M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2069|  6.47M|                _PyFrame_StackPointerValidate(frame);
  |  | 2070|  6.47M|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (2070:17): [True: 0, False: 6.47M]
  |  |  |  Branch (2070:17): [True: 6.47M, False: 0]
  |  |  ------------------
  |  | 2071|  6.47M|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  6.47M|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 2072|  6.47M|                frame = tstate->current_frame = temp;
  |  | 2073|  6.47M|                tstate->py_recursion_remaining--;
  |  | 2074|  6.47M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2075|  6.47M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2076|  6.47M|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  421|  6.47M|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  422|  6.47M|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  423|  6.47M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:14): [Folded, False: 6.47M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2077|       |                #ifdef Py_DEBUG
  |  | 2078|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 2079|       |                #endif
  |  | 2080|  6.47M|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|  6.47M|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 2081|  6.47M|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  6.47M|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 2082|  6.47M|            }
  |  | 2083|  6.47M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  6.47M|    { \
  |  |  |  |  201|  6.47M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  6.47M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  6.47M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  6.47M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  6.47M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  6.47M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  6.47M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  6.47M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 6.47M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  6.47M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  6.47M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  6.47M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  6.47M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  6.47M|    }
  |  |  ------------------
  |  | 2084|  6.47M|        }
  |  | 2085|       |
  |  | 2086|  33.3M|        TARGET(CALL_BOUND_METHOD_EXACT_ARGS) {
  |  |  ------------------
  |  |  |  |  132|  33.3M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2087|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2088|       |            int opcode = CALL_BOUND_METHOD_EXACT_ARGS;
  |  | 2089|       |            (void)(opcode);
  |  | 2090|       |            #endif
  |  | 2091|  33.3M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2092|  33.3M|            (void)this_instr;
  |  | 2093|  33.3M|            frame->instr_ptr = next_instr;
  |  | 2094|  33.3M|            next_instr += 4;
  |  | 2095|  33.3M|            INSTRUCTION_STATS(CALL_BOUND_METHOD_EXACT_ARGS);
  |  |  ------------------
  |  |  |  |   71|  33.3M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2096|  33.3M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2097|  33.3M|            _PyStackRef callable;
  |  | 2098|  33.3M|            _PyStackRef null;
  |  | 2099|  33.3M|            _PyStackRef self_or_null;
  |  | 2100|  33.3M|            _PyStackRef *args;
  |  | 2101|  33.3M|            _PyStackRef new_frame;
  |  | 2102|       |            /* Skip 1 cache entry */
  |  | 2103|       |            // _CHECK_PEP_523
  |  | 2104|  33.3M|            {
  |  | 2105|  33.3M|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  519|  33.3M|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (519:34): [True: 0, False: 33.3M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2106|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2107|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2107:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2108|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2109|      0|                }
  |  | 2110|  33.3M|            }
  |  | 2111|       |            // _CHECK_CALL_BOUND_METHOD_EXACT_ARGS
  |  | 2112|  33.3M|            {
  |  | 2113|  33.3M|                null = stack_pointer[-1 - oparg];
  |  | 2114|  33.3M|                callable = stack_pointer[-2 - oparg];
  |  | 2115|  33.3M|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|  33.3M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  33.3M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  33.3M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2115:21): [True: 0, False: 33.3M]
  |  |  ------------------
  |  | 2116|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2117|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2117:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2118|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2119|      0|                }
  |  | 2120|  33.3M|                if (Py_TYPE(PyStackRef_AsPyObjectBorrow(callable)) != &PyMethod_Type) {
  |  |  ------------------
  |  |  |  |  213|  33.3M|#  define Py_TYPE(ob) _Py_TYPE_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 (2120:21): [True: 0, False: 33.3M]
  |  |  ------------------
  |  | 2121|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2122|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2122:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2123|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2124|      0|                }
  |  | 2125|  33.3M|            }
  |  | 2126|       |            // _INIT_CALL_BOUND_METHOD_EXACT_ARGS
  |  | 2127|  33.3M|            {
  |  | 2128|  33.3M|                self_or_null = null;
  |  | 2129|  33.3M|                assert(PyStackRef_IsNull(self_or_null));
  |  |  ------------------
  |  |  |  Branch (2129:17): [True: 33.3M, False: 0]
  |  |  ------------------
  |  | 2130|  33.3M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2131|  33.3M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  33.3M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2132|  33.3M|                self_or_null = PyStackRef_FromPyObjectNew(((PyMethodObject *)callable_o)->im_self);
  |  |  ------------------
  |  |  |  |  611|  33.3M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  33.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  33.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2133|  33.3M|                _PyStackRef temp = callable;
  |  | 2134|  33.3M|                callable = PyStackRef_FromPyObjectNew(((PyMethodObject *)callable_o)->im_func);
  |  |  ------------------
  |  |  |  |  611|  33.3M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  33.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  33.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2135|  33.3M|                stack_pointer[-2 - oparg] = callable;
  |  | 2136|  33.3M|                stack_pointer[-1 - oparg] = self_or_null;
  |  | 2137|  33.3M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2138|  33.3M|                _PyFrame_StackPointerValidate(frame);
  |  | 2139|  33.3M|                PyStackRef_CLOSE(temp);
  |  | 2140|  33.3M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2141|  33.3M|            }
  |  | 2142|       |            // flush
  |  | 2143|       |            // _CHECK_FUNCTION_VERSION
  |  | 2144|      0|            {
  |  | 2145|  33.3M|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 2146|  33.3M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2147|  33.3M|                if (!PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|  33.3M|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  33.3M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  33.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  33.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2147:21): [True: 0, False: 33.3M]
  |  |  ------------------
  |  | 2148|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2149|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2149:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2150|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2151|      0|                }
  |  | 2152|  33.3M|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 2153|  33.3M|                if (func->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (2153:21): [True: 83, False: 33.3M]
  |  |  ------------------
  |  | 2154|     83|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|     83|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2155|     83|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2155:21): [True: 83, False: 0]
  |  |  ------------------
  |  | 2156|     83|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|     83|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2157|      0|                }
  |  | 2158|  33.3M|            }
  |  | 2159|       |            // _CHECK_FUNCTION_EXACT_ARGS
  |  | 2160|  33.3M|            {
  |  | 2161|  33.3M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2162|  33.3M|                assert(PyFunction_Check(callable_o));
  |  |  ------------------
  |  |  |  Branch (2162:17): [True: 33.3M, False: 0]
  |  |  ------------------
  |  | 2163|  33.3M|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 2164|  33.3M|                PyCodeObject *code = (PyCodeObject *)func->func_code;
  |  | 2165|  33.3M|                if (code->co_argcount != oparg + (!PyStackRef_IsNull(self_or_null))) {
  |  |  ------------------
  |  |  |  |  482|  33.3M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  33.3M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  33.3M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2165:21): [True: 0, False: 33.3M]
  |  |  ------------------
  |  | 2166|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2167|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2167:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2168|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2169|      0|                }
  |  | 2170|  33.3M|            }
  |  | 2171|       |            // _CHECK_STACK_SPACE
  |  | 2172|  33.3M|            {
  |  | 2173|  33.3M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2174|  33.3M|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 2175|  33.3M|                PyCodeObject *code = (PyCodeObject *)func->func_code;
  |  | 2176|  33.3M|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (2176:21): [True: 199k, False: 33.1M]
  |  |  ------------------
  |  | 2177|   199k|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|   199k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2178|   199k|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2178:21): [True: 199k, False: 0]
  |  |  ------------------
  |  | 2179|   199k|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|   199k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2180|      0|                }
  |  | 2181|  33.3M|            }
  |  | 2182|       |            // _CHECK_RECURSION_REMAINING
  |  | 2183|  33.1M|            {
  |  | 2184|  33.1M|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (2184:21): [True: 7, False: 33.1M]
  |  |  ------------------
  |  | 2185|      7|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      7|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2186|      7|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2186:21): [True: 7, False: 0]
  |  |  ------------------
  |  | 2187|      7|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      7|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2188|      0|                }
  |  | 2189|  33.1M|            }
  |  | 2190|       |            // _INIT_CALL_PY_EXACT_ARGS
  |  | 2191|  33.1M|            {
  |  | 2192|  33.1M|                args = &stack_pointer[-oparg];
  |  | 2193|  33.1M|                int has_self = !PyStackRef_IsNull(self_or_null);
  |  |  ------------------
  |  |  |  |  482|  33.1M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  33.1M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  33.1M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2194|  33.1M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  33.1M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2195|  33.1M|                _PyInterpreterFrame *pushed_frame = _PyFrame_PushUnchecked(tstate, callable, oparg + has_self, frame);
  |  | 2196|  33.1M|                _PyStackRef *first_non_self_local = pushed_frame->localsplus + has_self;
  |  | 2197|  33.1M|                pushed_frame->localsplus[0] = self_or_null;
  |  | 2198|  50.4M|                for (int i = 0; i < oparg; i++) {
  |  |  ------------------
  |  |  |  Branch (2198:33): [True: 17.3M, False: 33.1M]
  |  |  ------------------
  |  | 2199|  17.3M|                    first_non_self_local[i] = args[i];
  |  | 2200|  17.3M|                }
  |  | 2201|  33.1M|                new_frame = PyStackRef_Wrap(pushed_frame);
  |  | 2202|  33.1M|            }
  |  | 2203|       |            // _SAVE_RETURN_OFFSET
  |  | 2204|  33.1M|            {
  |  | 2205|  33.1M|                #if TIER_ONE
  |  | 2206|  33.1M|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 2207|  33.1M|                #endif
  |  | 2208|       |                #if TIER_TWO
  |  | 2209|       |                frame->return_offset = oparg;
  |  | 2210|       |                #endif
  |  | 2211|  33.1M|            }
  |  | 2212|       |            // _PUSH_FRAME
  |  | 2213|  33.1M|            {
  |  | 2214|  33.1M|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (2214:17): [True: 33.1M, False: 0]
  |  |  ------------------
  |  | 2215|  33.1M|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 2216|  33.1M|                stack_pointer += -2 - oparg;
  |  | 2217|  33.1M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  33.1M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2218|  33.1M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2219|  33.1M|                _PyFrame_StackPointerValidate(frame);
  |  | 2220|  33.1M|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (2220:17): [True: 33.1M, False: 0]
  |  |  |  Branch (2220:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2221|  33.1M|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  33.1M|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 2222|  33.1M|                frame = tstate->current_frame = temp;
  |  | 2223|  33.1M|                tstate->py_recursion_remaining--;
  |  | 2224|  33.1M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2225|  33.1M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2226|  33.1M|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  421|  33.1M|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  422|  33.1M|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  423|  33.1M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:14): [Folded, False: 33.1M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2227|       |                #ifdef Py_DEBUG
  |  | 2228|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 2229|       |                #endif
  |  | 2230|  33.1M|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|  33.1M|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 2231|  33.1M|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  33.1M|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 2232|  33.1M|            }
  |  | 2233|  33.1M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  33.1M|    { \
  |  |  |  |  201|  33.1M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  33.1M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  33.1M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  33.1M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  33.1M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  33.1M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  33.1M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  33.1M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 33.1M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  33.1M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  33.1M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  33.1M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  33.1M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  33.1M|    }
  |  |  ------------------
  |  | 2234|  33.1M|        }
  |  | 2235|       |
  |  | 2236|      4|        TARGET(CALL_BOUND_METHOD_GENERAL) {
  |  |  ------------------
  |  |  |  |  132|      4|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2237|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2238|       |            int opcode = CALL_BOUND_METHOD_GENERAL;
  |  | 2239|       |            (void)(opcode);
  |  | 2240|       |            #endif
  |  | 2241|      4|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2242|      4|            (void)this_instr;
  |  | 2243|      4|            frame->instr_ptr = next_instr;
  |  | 2244|      4|            next_instr += 4;
  |  | 2245|      4|            INSTRUCTION_STATS(CALL_BOUND_METHOD_GENERAL);
  |  |  ------------------
  |  |  |  |   71|      4|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2246|      4|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2247|      4|            _PyStackRef callable;
  |  | 2248|      4|            _PyStackRef null;
  |  | 2249|      4|            _PyStackRef self_or_null;
  |  | 2250|      4|            _PyStackRef *args;
  |  | 2251|      4|            _PyStackRef new_frame;
  |  | 2252|       |            /* Skip 1 cache entry */
  |  | 2253|       |            // _CHECK_PEP_523
  |  | 2254|      4|            {
  |  | 2255|      4|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  519|      4|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (519:34): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2256|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2257|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2257:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2258|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2259|      0|                }
  |  | 2260|      4|            }
  |  | 2261|       |            // _CHECK_METHOD_VERSION
  |  | 2262|      4|            {
  |  | 2263|      4|                null = stack_pointer[-1 - oparg];
  |  | 2264|      4|                callable = stack_pointer[-2 - oparg];
  |  | 2265|      4|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 2266|      4|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2267|      4|                if (Py_TYPE(callable_o) != &PyMethod_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2267:21): [True: 0, False: 4]
  |  |  ------------------
  |  | 2268|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2269|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2269:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2270|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2271|      0|                }
  |  | 2272|      4|                PyObject *func = ((PyMethodObject *)callable_o)->im_func;
  |  | 2273|      4|                if (!PyFunction_Check(func)) {
  |  |  ------------------
  |  |  |  |   68|      4|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      4|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2273:21): [True: 0, False: 4]
  |  |  ------------------
  |  | 2274|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2275|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2275:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2276|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2277|      0|                }
  |  | 2278|      4|                if (((PyFunctionObject *)func)->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (2278:21): [True: 0, False: 4]
  |  |  ------------------
  |  | 2279|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2280|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2280:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2281|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2282|      0|                }
  |  | 2283|      4|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|      4|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      4|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      4|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2283:21): [True: 0, False: 4]
  |  |  ------------------
  |  | 2284|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2285|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2285:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2286|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2287|      0|                }
  |  | 2288|      4|            }
  |  | 2289|       |            // _EXPAND_METHOD
  |  | 2290|      4|            {
  |  | 2291|      4|                self_or_null = null;
  |  | 2292|      4|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2293|      4|                assert(PyStackRef_IsNull(self_or_null));
  |  |  ------------------
  |  |  |  Branch (2293:17): [True: 4, False: 0]
  |  |  ------------------
  |  | 2294|      4|                assert(Py_TYPE(callable_o) == &PyMethod_Type);
  |  |  ------------------
  |  |  |  Branch (2294:17): [True: 4, False: 0]
  |  |  ------------------
  |  | 2295|      4|                self_or_null = PyStackRef_FromPyObjectNew(((PyMethodObject *)callable_o)->im_self);
  |  |  ------------------
  |  |  |  |  611|      4|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2296|      4|                _PyStackRef temp = callable;
  |  | 2297|      4|                callable = PyStackRef_FromPyObjectNew(((PyMethodObject *)callable_o)->im_func);
  |  |  ------------------
  |  |  |  |  611|      4|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2298|      4|                assert(PyStackRef_FunctionCheck(callable));
  |  |  ------------------
  |  |  |  Branch (2298:17): [True: 4, False: 0]
  |  |  ------------------
  |  | 2299|      4|                stack_pointer[-2 - oparg] = callable;
  |  | 2300|      4|                stack_pointer[-1 - oparg] = self_or_null;
  |  | 2301|      4|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2302|      4|                _PyFrame_StackPointerValidate(frame);
  |  | 2303|      4|                PyStackRef_CLOSE(temp);
  |  | 2304|      4|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2305|      4|            }
  |  | 2306|       |            // flush
  |  | 2307|       |            // _CHECK_RECURSION_REMAINING
  |  | 2308|      0|            {
  |  | 2309|      4|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (2309:21): [True: 0, False: 4]
  |  |  ------------------
  |  | 2310|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2311|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2311:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2312|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2313|      0|                }
  |  | 2314|      4|            }
  |  | 2315|       |            // _PY_FRAME_GENERAL
  |  | 2316|      4|            {
  |  | 2317|      4|                args = &stack_pointer[-oparg];
  |  | 2318|      4|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2319|      4|                int total_args = oparg;
  |  | 2320|      4|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|      4|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      4|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      4|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2320:21): [True: 4, False: 0]
  |  |  ------------------
  |  | 2321|      4|                    args--;
  |  | 2322|      4|                    total_args++;
  |  | 2323|      4|                }
  |  | 2324|      4|                assert(Py_TYPE(callable_o) == &PyFunction_Type);
  |  |  ------------------
  |  |  |  Branch (2324:17): [True: 4, False: 0]
  |  |  ------------------
  |  | 2325|      4|                int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|      4|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2326|      4|                PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  122|      4|#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 (2326:36): [True: 4, False: 0]
  |  |  ------------------
  |  | 2327|      4|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2327:17): [True: 4, False: 0]
  |  |  ------------------
  |  | 2328|      4|                _PyFrame_StackPointerValidate(frame);
  |  | 2329|      4|                _PyInterpreterFrame *temp = _PyEvalFramePushAndInit(
  |  | 2330|      4|                    tstate, callable, locals,
  |  | 2331|      4|                    args, total_args, NULL, frame
  |  | 2332|      4|                );
  |  | 2333|      4|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2334|      4|                stack_pointer += -2 - oparg;
  |  | 2335|      4|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      4|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2336|      4|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (2336:21): [True: 0, False: 4]
  |  |  ------------------
  |  | 2337|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2338|      0|                }
  |  | 2339|      4|                new_frame = PyStackRef_Wrap(temp);
  |  | 2340|      4|            }
  |  | 2341|       |            // _SAVE_RETURN_OFFSET
  |  | 2342|      0|            {
  |  | 2343|      4|                #if TIER_ONE
  |  | 2344|      4|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 2345|      4|                #endif
  |  | 2346|       |                #if TIER_TWO
  |  | 2347|       |                frame->return_offset = oparg;
  |  | 2348|       |                #endif
  |  | 2349|      4|            }
  |  | 2350|       |            // _PUSH_FRAME
  |  | 2351|      4|            {
  |  | 2352|      4|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (2352:17): [True: 4, False: 0]
  |  |  ------------------
  |  | 2353|      4|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 2354|      4|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2355|      4|                _PyFrame_StackPointerValidate(frame);
  |  | 2356|      4|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (2356:17): [True: 4, False: 0]
  |  |  |  Branch (2356:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2357|      4|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|      4|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 2358|      4|                frame = tstate->current_frame = temp;
  |  | 2359|      4|                tstate->py_recursion_remaining--;
  |  | 2360|      4|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2361|      4|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2362|      4|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  421|      4|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  422|      4|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  423|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2363|       |                #ifdef Py_DEBUG
  |  | 2364|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 2365|       |                #endif
  |  | 2366|      4|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|      4|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 2367|      4|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|      4|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 2368|      4|            }
  |  | 2369|      4|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      4|    { \
  |  |  |  |  201|      4|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      4|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      4|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      4|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      4|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      4|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      4|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      4|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 2370|      4|        }
  |  | 2371|       |
  |  | 2372|  7.85M|        TARGET(CALL_BUILTIN_CLASS) {
  |  |  ------------------
  |  |  |  |  132|  7.85M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2373|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2374|       |            int opcode = CALL_BUILTIN_CLASS;
  |  | 2375|       |            (void)(opcode);
  |  | 2376|       |            #endif
  |  | 2377|  7.85M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2378|  7.85M|            (void)this_instr;
  |  | 2379|  7.85M|            frame->instr_ptr = next_instr;
  |  | 2380|  7.85M|            next_instr += 4;
  |  | 2381|  7.85M|            INSTRUCTION_STATS(CALL_BUILTIN_CLASS);
  |  |  ------------------
  |  |  |  |   71|  7.85M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2382|  7.85M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2383|  7.85M|            _PyStackRef callable;
  |  | 2384|  7.85M|            _PyStackRef self_or_null;
  |  | 2385|  7.85M|            _PyStackRef *args;
  |  | 2386|  7.85M|            _PyStackRef value;
  |  | 2387|       |            /* Skip 1 cache entry */
  |  | 2388|       |            /* Skip 2 cache entries */
  |  | 2389|       |            // _GUARD_CALLABLE_BUILTIN_CLASS
  |  | 2390|  7.85M|            {
  |  | 2391|  7.85M|                callable = stack_pointer[-2 - oparg];
  |  | 2392|  7.85M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2393|  7.85M|                if (!PyType_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |  766|  7.85M|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.85M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.85M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2393:21): [True: 0, False: 7.85M]
  |  |  ------------------
  |  | 2394|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2395|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2395:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2396|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2397|      0|                }
  |  | 2398|  7.85M|                PyTypeObject *tp = (PyTypeObject *)callable_o;
  |  | 2399|  7.85M|                if (tp->tp_vectorcall == NULL) {
  |  |  ------------------
  |  |  |  Branch (2399:21): [True: 0, False: 7.85M]
  |  |  ------------------
  |  | 2400|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2401|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2401:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2402|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2403|      0|                }
  |  | 2404|  7.85M|            }
  |  | 2405|       |            // _CALL_BUILTIN_CLASS
  |  | 2406|  7.85M|            {
  |  | 2407|  7.85M|                args = &stack_pointer[-oparg];
  |  | 2408|  7.85M|                self_or_null = stack_pointer[-1 - oparg];
  |  | 2409|  7.85M|                int total_args = oparg;
  |  | 2410|  7.85M|                _PyStackRef *arguments = args;
  |  | 2411|  7.85M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  7.85M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  7.85M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  7.85M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2411:21): [True: 0, False: 7.85M]
  |  |  ------------------
  |  | 2412|      0|                    arguments--;
  |  | 2413|      0|                    total_args++;
  |  | 2414|      0|                }
  |  | 2415|  7.85M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  7.85M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2416|  7.85M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2417|  7.85M|                _PyFrame_StackPointerValidate(frame);
  |  | 2418|  7.85M|                PyObject *res_o = _Py_CallBuiltinClass_StackRef(
  |  | 2419|  7.85M|                    callable,
  |  | 2420|  7.85M|                    arguments,
  |  | 2421|  7.85M|                    total_args);
  |  | 2422|  7.85M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2423|  7.85M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2423:21): [True: 7, False: 7.85M]
  |  |  ------------------
  |  | 2424|      7|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      7|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2425|      0|                }
  |  | 2426|  7.85M|                _PyStackRef temp = callable;
  |  | 2427|  7.85M|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 2428|  7.85M|                stack_pointer[-2 - oparg] = callable;
  |  | 2429|  7.85M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2429:17): [True: 7.85M, False: 0]
  |  |  ------------------
  |  | 2430|  7.85M|                _PyFrame_StackPointerValidate(frame);
  |  | 2431|  7.85M|                PyStackRef_CLOSE(temp);
  |  | 2432|  7.85M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2433|  7.85M|            }
  |  | 2434|       |            // _POP_TOP_OPARG
  |  | 2435|      0|            {
  |  | 2436|  7.85M|                args = &stack_pointer[-oparg];
  |  | 2437|  7.85M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2437:17): [True: 7.85M, False: 0]
  |  |  ------------------
  |  | 2438|  7.85M|                _PyFrame_StackPointerValidate(frame);
  |  | 2439|  7.85M|                _PyStackRef_CloseStack(args, oparg);
  |  | 2440|  7.85M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2441|  7.85M|            }
  |  | 2442|       |            // _POP_TOP
  |  | 2443|      0|            {
  |  | 2444|  7.85M|                value = self_or_null;
  |  | 2445|  7.85M|                stack_pointer += -1 - oparg;
  |  | 2446|  7.85M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  7.85M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2447|  7.85M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2448|  7.85M|                _PyFrame_StackPointerValidate(frame);
  |  | 2449|  7.85M|                PyStackRef_XCLOSE(value);
  |  | 2450|  7.85M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2451|  7.85M|            }
  |  | 2452|       |            // _CHECK_PERIODIC_AT_END
  |  | 2453|  7.85M|            {
  |  | 2454|  7.85M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2454:17): [True: 7.85M, False: 0]
  |  |  ------------------
  |  | 2455|  7.85M|                _PyFrame_StackPointerValidate(frame);
  |  | 2456|  7.85M|                int err = check_periodics_at_end(tstate, frame);
  |  | 2457|  7.85M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2458|  7.85M|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2458:21): [True: 0, False: 7.85M]
  |  |  ------------------
  |  | 2459|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2460|      0|                }
  |  | 2461|  7.85M|            }
  |  | 2462|  7.85M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  7.85M|    { \
  |  |  |  |  201|  7.85M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  7.85M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  7.85M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  7.85M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  7.85M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  7.85M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  7.85M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  7.85M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 7.85M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  7.85M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  7.85M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  7.85M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  7.85M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  7.85M|    }
  |  |  ------------------
  |  | 2463|  7.85M|        }
  |  | 2464|       |
  |  | 2465|  1.11M|        TARGET(CALL_BUILTIN_FAST) {
  |  |  ------------------
  |  |  |  |  132|  1.11M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2466|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2467|       |            int opcode = CALL_BUILTIN_FAST;
  |  | 2468|       |            (void)(opcode);
  |  | 2469|       |            #endif
  |  | 2470|  1.11M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2471|  1.11M|            (void)this_instr;
  |  | 2472|  1.11M|            frame->instr_ptr = next_instr;
  |  | 2473|  1.11M|            next_instr += 4;
  |  | 2474|  1.11M|            INSTRUCTION_STATS(CALL_BUILTIN_FAST);
  |  |  ------------------
  |  |  |  |   71|  1.11M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2475|  1.11M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2476|  1.11M|            _PyStackRef callable;
  |  | 2477|  1.11M|            _PyStackRef self_or_null;
  |  | 2478|  1.11M|            _PyStackRef *args;
  |  | 2479|  1.11M|            _PyStackRef value;
  |  | 2480|       |            /* Skip 1 cache entry */
  |  | 2481|       |            /* Skip 2 cache entries */
  |  | 2482|       |            // _GUARD_CALLABLE_BUILTIN_FAST
  |  | 2483|  1.11M|            {
  |  | 2484|  1.11M|                callable = stack_pointer[-2 - oparg];
  |  | 2485|  1.11M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2486|  1.11M|                if (!PyCFunction_CheckExact(callable_o)) {
  |  |  ------------------
  |  |  |  |   16|  1.11M|#define PyCFunction_CheckExact(op) Py_IS_TYPE((op), &PyCFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.11M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.11M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.11M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2486:21): [True: 0, False: 1.11M]
  |  |  ------------------
  |  | 2487|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2488|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2488:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2489|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2490|      0|                }
  |  | 2491|  1.11M|                if (PyCFunction_GET_FLAGS(callable_o) != METH_FASTCALL) {
  |  |  ------------------
  |  |  |  |   57|  1.11M|#define PyCFunction_GET_FLAGS(func) PyCFunction_GET_FLAGS(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.11M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.11M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               if (PyCFunction_GET_FLAGS(callable_o) != METH_FASTCALL) {
  |  |  ------------------
  |  |  |  |  115|  1.11M|#  define METH_FASTCALL  0x0080
  |  |  ------------------
  |  |  |  Branch (2491:21): [True: 1.10M, False: 9.14k]
  |  |  ------------------
  |  | 2492|  1.10M|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|  1.10M|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2493|  1.10M|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2493:21): [True: 1.10M, False: 0]
  |  |  ------------------
  |  | 2494|  1.10M|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|  1.10M|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2495|      0|                }
  |  | 2496|  1.11M|            }
  |  | 2497|       |            // _CALL_BUILTIN_FAST
  |  | 2498|  9.14k|            {
  |  | 2499|  9.14k|                args = &stack_pointer[-oparg];
  |  | 2500|  9.14k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 2501|  9.14k|                int total_args = oparg;
  |  | 2502|  9.14k|                _PyStackRef *arguments = args;
  |  | 2503|  9.14k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  9.14k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  9.14k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  9.14k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2503:21): [True: 0, False: 9.14k]
  |  |  ------------------
  |  | 2504|      0|                    arguments--;
  |  | 2505|      0|                    total_args++;
  |  | 2506|      0|                }
  |  | 2507|  9.14k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  9.14k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2508|  9.14k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2509|  9.14k|                _PyFrame_StackPointerValidate(frame);
  |  | 2510|  9.14k|                PyObject *res_o = _Py_BuiltinCallFast_StackRef(
  |  | 2511|  9.14k|                    callable,
  |  | 2512|  9.14k|                    arguments,
  |  | 2513|  9.14k|                    total_args
  |  | 2514|  9.14k|                );
  |  | 2515|  9.14k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2516|  9.14k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2516:21): [True: 2, False: 9.14k]
  |  |  ------------------
  |  | 2517|      2|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      2|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2518|      0|                }
  |  | 2519|  9.14k|                _PyStackRef temp = callable;
  |  | 2520|  9.14k|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 2521|  9.14k|                stack_pointer[-2 - oparg] = callable;
  |  | 2522|  9.14k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2522:17): [True: 9.14k, False: 0]
  |  |  ------------------
  |  | 2523|  9.14k|                _PyFrame_StackPointerValidate(frame);
  |  | 2524|  9.14k|                PyStackRef_CLOSE(temp);
  |  | 2525|  9.14k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2526|  9.14k|            }
  |  | 2527|       |            // _POP_TOP_OPARG
  |  | 2528|      0|            {
  |  | 2529|  9.14k|                args = &stack_pointer[-oparg];
  |  | 2530|  9.14k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2530:17): [True: 9.14k, False: 0]
  |  |  ------------------
  |  | 2531|  9.14k|                _PyFrame_StackPointerValidate(frame);
  |  | 2532|  9.14k|                _PyStackRef_CloseStack(args, oparg);
  |  | 2533|  9.14k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2534|  9.14k|            }
  |  | 2535|       |            // _POP_TOP
  |  | 2536|      0|            {
  |  | 2537|  9.14k|                value = self_or_null;
  |  | 2538|  9.14k|                stack_pointer += -1 - oparg;
  |  | 2539|  9.14k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  9.14k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2540|  9.14k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2541|  9.14k|                _PyFrame_StackPointerValidate(frame);
  |  | 2542|  9.14k|                PyStackRef_XCLOSE(value);
  |  | 2543|  9.14k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2544|  9.14k|            }
  |  | 2545|       |            // _CHECK_PERIODIC_AT_END
  |  | 2546|  9.14k|            {
  |  | 2547|  9.14k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2547:17): [True: 9.14k, False: 0]
  |  |  ------------------
  |  | 2548|  9.14k|                _PyFrame_StackPointerValidate(frame);
  |  | 2549|  9.14k|                int err = check_periodics_at_end(tstate, frame);
  |  | 2550|  9.14k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2551|  9.14k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2551:21): [True: 0, False: 9.14k]
  |  |  ------------------
  |  | 2552|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2553|      0|                }
  |  | 2554|  9.14k|            }
  |  | 2555|  9.14k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  9.14k|    { \
  |  |  |  |  201|  9.14k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  9.14k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  9.14k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  9.14k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  9.14k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  9.14k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  9.14k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  9.14k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 9.14k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  9.14k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  9.14k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  9.14k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  9.14k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  9.14k|    }
  |  |  ------------------
  |  | 2556|  9.14k|        }
  |  | 2557|       |
  |  | 2558|  14.6M|        TARGET(CALL_BUILTIN_FAST_WITH_KEYWORDS) {
  |  |  ------------------
  |  |  |  |  132|  14.6M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2559|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2560|       |            int opcode = CALL_BUILTIN_FAST_WITH_KEYWORDS;
  |  | 2561|       |            (void)(opcode);
  |  | 2562|       |            #endif
  |  | 2563|  14.6M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2564|  14.6M|            (void)this_instr;
  |  | 2565|  14.6M|            frame->instr_ptr = next_instr;
  |  | 2566|  14.6M|            next_instr += 4;
  |  | 2567|  14.6M|            INSTRUCTION_STATS(CALL_BUILTIN_FAST_WITH_KEYWORDS);
  |  |  ------------------
  |  |  |  |   71|  14.6M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2568|  14.6M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2569|  14.6M|            _PyStackRef callable;
  |  | 2570|  14.6M|            _PyStackRef self_or_null;
  |  | 2571|  14.6M|            _PyStackRef *args;
  |  | 2572|  14.6M|            _PyStackRef value;
  |  | 2573|       |            /* Skip 1 cache entry */
  |  | 2574|       |            /* Skip 2 cache entries */
  |  | 2575|       |            // _GUARD_CALLABLE_BUILTIN_FAST_WITH_KEYWORDS
  |  | 2576|  14.6M|            {
  |  | 2577|  14.6M|                callable = stack_pointer[-2 - oparg];
  |  | 2578|  14.6M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2579|  14.6M|                if (!PyCFunction_CheckExact(callable_o)) {
  |  |  ------------------
  |  |  |  |   16|  14.6M|#define PyCFunction_CheckExact(op) Py_IS_TYPE((op), &PyCFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  14.6M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  14.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  14.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2579:21): [True: 0, False: 14.6M]
  |  |  ------------------
  |  | 2580|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2581|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2581:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2582|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2583|      0|                }
  |  | 2584|  14.6M|                if (PyCFunction_GET_FLAGS(callable_o) != (METH_FASTCALL | METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |   57|  14.6M|#define PyCFunction_GET_FLAGS(func) PyCFunction_GET_FLAGS(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  14.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  14.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               if (PyCFunction_GET_FLAGS(callable_o) != (METH_FASTCALL | METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |  115|  14.6M|#  define METH_FASTCALL  0x0080
  |  |  ------------------
  |  |                               if (PyCFunction_GET_FLAGS(callable_o) != (METH_FASTCALL | METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |   96|  14.6M|#define METH_KEYWORDS 0x0002
  |  |  ------------------
  |  |  |  Branch (2584:21): [True: 72, False: 14.6M]
  |  |  ------------------
  |  | 2585|     72|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|     72|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2586|     72|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2586:21): [True: 72, False: 0]
  |  |  ------------------
  |  | 2587|     72|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|     72|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2588|      0|                }
  |  | 2589|  14.6M|            }
  |  | 2590|       |            // _CALL_BUILTIN_FAST_WITH_KEYWORDS
  |  | 2591|  14.6M|            {
  |  | 2592|  14.6M|                args = &stack_pointer[-oparg];
  |  | 2593|  14.6M|                self_or_null = stack_pointer[-1 - oparg];
  |  | 2594|  14.6M|                int total_args = oparg;
  |  | 2595|  14.6M|                _PyStackRef *arguments = args;
  |  | 2596|  14.6M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  14.6M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  14.6M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  14.6M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2596:21): [True: 0, False: 14.6M]
  |  |  ------------------
  |  | 2597|      0|                    arguments--;
  |  | 2598|      0|                    total_args++;
  |  | 2599|      0|                }
  |  | 2600|  14.6M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  14.6M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2601|  14.6M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2602|  14.6M|                _PyFrame_StackPointerValidate(frame);
  |  | 2603|  14.6M|                PyObject *res_o = _Py_BuiltinCallFastWithKeywords_StackRef(callable, arguments, total_args);
  |  | 2604|  14.6M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2605|  14.6M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2605:21): [True: 12, False: 14.6M]
  |  |  ------------------
  |  | 2606|     12|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|     12|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2607|      0|                }
  |  | 2608|  14.6M|                _PyStackRef temp = callable;
  |  | 2609|  14.6M|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 2610|  14.6M|                stack_pointer[-2 - oparg] = callable;
  |  | 2611|  14.6M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2611:17): [True: 14.6M, False: 0]
  |  |  ------------------
  |  | 2612|  14.6M|                _PyFrame_StackPointerValidate(frame);
  |  | 2613|  14.6M|                PyStackRef_CLOSE(temp);
  |  | 2614|  14.6M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2615|  14.6M|            }
  |  | 2616|       |            // _POP_TOP_OPARG
  |  | 2617|      0|            {
  |  | 2618|  14.6M|                args = &stack_pointer[-oparg];
  |  | 2619|  14.6M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2619:17): [True: 14.6M, False: 0]
  |  |  ------------------
  |  | 2620|  14.6M|                _PyFrame_StackPointerValidate(frame);
  |  | 2621|  14.6M|                _PyStackRef_CloseStack(args, oparg);
  |  | 2622|  14.6M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2623|  14.6M|            }
  |  | 2624|       |            // _POP_TOP
  |  | 2625|      0|            {
  |  | 2626|  14.6M|                value = self_or_null;
  |  | 2627|  14.6M|                stack_pointer += -1 - oparg;
  |  | 2628|  14.6M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  14.6M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2629|  14.6M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2630|  14.6M|                _PyFrame_StackPointerValidate(frame);
  |  | 2631|  14.6M|                PyStackRef_XCLOSE(value);
  |  | 2632|  14.6M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2633|  14.6M|            }
  |  | 2634|       |            // _CHECK_PERIODIC_AT_END
  |  | 2635|  14.6M|            {
  |  | 2636|  14.6M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2636:17): [True: 14.6M, False: 0]
  |  |  ------------------
  |  | 2637|  14.6M|                _PyFrame_StackPointerValidate(frame);
  |  | 2638|  14.6M|                int err = check_periodics_at_end(tstate, frame);
  |  | 2639|  14.6M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2640|  14.6M|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2640:21): [True: 0, False: 14.6M]
  |  |  ------------------
  |  | 2641|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2642|      0|                }
  |  | 2643|  14.6M|            }
  |  | 2644|  14.6M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  14.6M|    { \
  |  |  |  |  201|  14.6M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  14.6M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  14.6M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  14.6M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  14.6M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  14.6M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  14.6M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  14.6M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 14.6M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  14.6M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  14.6M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  14.6M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  14.6M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  14.6M|    }
  |  |  ------------------
  |  | 2645|  14.6M|        }
  |  | 2646|       |
  |  | 2647|  35.1M|        TARGET(CALL_BUILTIN_O) {
  |  |  ------------------
  |  |  |  |  132|  35.1M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2648|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2649|       |            int opcode = CALL_BUILTIN_O;
  |  | 2650|       |            (void)(opcode);
  |  | 2651|       |            #endif
  |  | 2652|  35.1M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2653|  35.1M|            (void)this_instr;
  |  | 2654|  35.1M|            frame->instr_ptr = next_instr;
  |  | 2655|  35.1M|            next_instr += 4;
  |  | 2656|  35.1M|            INSTRUCTION_STATS(CALL_BUILTIN_O);
  |  |  ------------------
  |  |  |  |   71|  35.1M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2657|  35.1M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2658|  35.1M|            _PyStackRef callable;
  |  | 2659|  35.1M|            _PyStackRef self_or_null;
  |  | 2660|  35.1M|            _PyStackRef *args;
  |  | 2661|  35.1M|            _PyStackRef res;
  |  | 2662|  35.1M|            _PyStackRef c;
  |  | 2663|  35.1M|            _PyStackRef s;
  |  | 2664|  35.1M|            _PyStackRef value;
  |  | 2665|       |            /* Skip 1 cache entry */
  |  | 2666|       |            /* Skip 2 cache entries */
  |  | 2667|       |            // _GUARD_CALLABLE_BUILTIN_O
  |  | 2668|  35.1M|            {
  |  | 2669|  35.1M|                self_or_null = stack_pointer[-1 - oparg];
  |  | 2670|  35.1M|                callable = stack_pointer[-2 - oparg];
  |  | 2671|  35.1M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2672|  35.1M|                if (!PyCFunction_CheckExact(callable_o)) {
  |  |  ------------------
  |  |  |  |   16|  35.1M|#define PyCFunction_CheckExact(op) Py_IS_TYPE((op), &PyCFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  35.1M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  35.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  35.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2672:21): [True: 0, False: 35.1M]
  |  |  ------------------
  |  | 2673|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2674|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2674:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2675|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2676|      0|                }
  |  | 2677|  35.1M|                if (PyCFunction_GET_FLAGS(callable_o) != METH_O) {
  |  |  ------------------
  |  |  |  |   57|  35.1M|#define PyCFunction_GET_FLAGS(func) PyCFunction_GET_FLAGS(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  35.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  35.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               if (PyCFunction_GET_FLAGS(callable_o) != METH_O) {
  |  |  ------------------
  |  |  |  |   99|  35.1M|#define METH_O        0x0008
  |  |  ------------------
  |  |  |  Branch (2677:21): [True: 14, False: 35.1M]
  |  |  ------------------
  |  | 2678|     14|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|     14|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2679|     14|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2679:21): [True: 14, False: 0]
  |  |  ------------------
  |  | 2680|     14|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|     14|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2681|      0|                }
  |  | 2682|  35.1M|                int total_args = oparg;
  |  | 2683|  35.1M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  35.1M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  35.1M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  35.1M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2683:21): [True: 0, False: 35.1M]
  |  |  ------------------
  |  | 2684|      0|                    total_args++;
  |  | 2685|      0|                }
  |  | 2686|  35.1M|                if (total_args != 1) {
  |  |  ------------------
  |  |  |  Branch (2686:21): [True: 0, False: 35.1M]
  |  |  ------------------
  |  | 2687|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2688|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2688:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2689|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2690|      0|                }
  |  | 2691|  35.1M|            }
  |  | 2692|       |            // _CHECK_RECURSION_LIMIT
  |  | 2693|  35.1M|            {
  |  | 2694|  35.1M|                if (_Py_ReachedRecursionLimit(tstate)) {
  |  |  ------------------
  |  |  |  Branch (2694:21): [True: 0, False: 35.1M]
  |  |  ------------------
  |  | 2695|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2696|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2696:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2697|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2698|      0|                }
  |  | 2699|  35.1M|            }
  |  | 2700|       |            // _CALL_BUILTIN_O
  |  | 2701|  35.1M|            {
  |  | 2702|  35.1M|                args = &stack_pointer[-oparg];
  |  | 2703|  35.1M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2704|  35.1M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  35.1M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  35.1M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  35.1M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2704:21): [True: 0, False: 35.1M]
  |  |  ------------------
  |  | 2705|      0|                    args--;
  |  | 2706|      0|                }
  |  | 2707|  35.1M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  35.1M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2708|  35.1M|                PyCFunction cfunc = PyCFunction_GET_FUNCTION(callable_o);
  |  |  ------------------
  |  |  |  |   43|  35.1M|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  35.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  35.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2709|  35.1M|                _PyStackRef arg = args[0];
  |  | 2710|  35.1M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2711|  35.1M|                _PyFrame_StackPointerValidate(frame);
  |  | 2712|  35.1M|                PyObject *res_o = _PyCFunction_TrampolineCall(cfunc, PyCFunction_GET_SELF(callable_o), PyStackRef_AsPyObjectBorrow(arg));
  |  |  ------------------
  |  |  |  |  997|  35.1M|    (meth)((self), (args))
  |  |  ------------------
  |  | 2713|  35.1M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2714|  35.1M|                _Py_LeaveRecursiveCallTstate(tstate);
  |  | 2715|  35.1M|                assert((res_o != NULL) ^ (_PyErr_Occurred(tstate) != NULL));
  |  |  ------------------
  |  |  |  Branch (2715:17): [True: 35.1M, False: 0]
  |  |  ------------------
  |  | 2716|  35.1M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2716:21): [True: 0, False: 35.1M]
  |  |  ------------------
  |  | 2717|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2718|      0|                }
  |  | 2719|  35.1M|                c = callable;
  |  | 2720|  35.1M|                s = args[0];
  |  | 2721|  35.1M|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 2722|  35.1M|            }
  |  | 2723|       |            // _POP_TOP
  |  | 2724|      0|            {
  |  | 2725|  35.1M|                value = s;
  |  | 2726|  35.1M|                stack_pointer[-2 - oparg] = res;
  |  | 2727|  35.1M|                stack_pointer[-1 - oparg] = c;
  |  | 2728|  35.1M|                stack_pointer += -oparg;
  |  | 2729|  35.1M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  35.1M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2730|  35.1M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2731|  35.1M|                _PyFrame_StackPointerValidate(frame);
  |  | 2732|  35.1M|                PyStackRef_XCLOSE(value);
  |  | 2733|  35.1M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2734|  35.1M|            }
  |  | 2735|       |            // _POP_TOP
  |  | 2736|  35.1M|            {
  |  | 2737|  35.1M|                value = c;
  |  | 2738|  35.1M|                stack_pointer += -1;
  |  | 2739|  35.1M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  35.1M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2740|  35.1M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2741|  35.1M|                _PyFrame_StackPointerValidate(frame);
  |  | 2742|  35.1M|                PyStackRef_XCLOSE(value);
  |  | 2743|  35.1M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2744|  35.1M|            }
  |  | 2745|       |            // _CHECK_PERIODIC_AT_END
  |  | 2746|  35.1M|            {
  |  | 2747|  35.1M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2747:17): [True: 35.1M, False: 0]
  |  |  ------------------
  |  | 2748|  35.1M|                _PyFrame_StackPointerValidate(frame);
  |  | 2749|  35.1M|                int err = check_periodics_at_end(tstate, frame);
  |  | 2750|  35.1M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2751|  35.1M|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2751:21): [True: 0, False: 35.1M]
  |  |  ------------------
  |  | 2752|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2753|      0|                }
  |  | 2754|  35.1M|            }
  |  | 2755|  35.1M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  35.1M|    { \
  |  |  |  |  201|  35.1M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  35.1M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  35.1M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  35.1M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  35.1M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  35.1M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  35.1M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  35.1M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 35.1M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  35.1M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  35.1M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  35.1M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  35.1M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  35.1M|    }
  |  |  ------------------
  |  | 2756|  35.1M|        }
  |  | 2757|       |
  |  | 2758|    338|        TARGET(CALL_EX_NON_PY_GENERAL) {
  |  |  ------------------
  |  |  |  |  132|    338|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2759|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2760|       |            int opcode = CALL_EX_NON_PY_GENERAL;
  |  | 2761|       |            (void)(opcode);
  |  | 2762|       |            #endif
  |  | 2763|    338|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2764|    338|            (void)this_instr;
  |  | 2765|    338|            frame->instr_ptr = next_instr;
  |  | 2766|    338|            next_instr += 2;
  |  | 2767|    338|            INSTRUCTION_STATS(CALL_EX_NON_PY_GENERAL);
  |  |  ------------------
  |  |  |  |   71|    338|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2768|    338|            static_assert(INLINE_CACHE_ENTRIES_CALL_FUNCTION_EX == 1, "incorrect cache size");
  |  | 2769|    338|            _PyStackRef func_st;
  |  | 2770|    338|            _PyStackRef func;
  |  | 2771|    338|            _PyStackRef callargs;
  |  | 2772|    338|            _PyStackRef null;
  |  | 2773|    338|            _PyStackRef callargs_st;
  |  | 2774|    338|            _PyStackRef kwargs_st;
  |  | 2775|    338|            _PyStackRef result;
  |  | 2776|       |            /* Skip 1 cache entry */
  |  | 2777|       |            // _CHECK_IS_NOT_PY_CALLABLE_EX
  |  | 2778|    338|            {
  |  | 2779|    338|                func_st = stack_pointer[-4];
  |  | 2780|    338|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 2781|    338|                if (Py_TYPE(func) == &PyFunction_Type && ((PyFunctionObject *)func)->vectorcall == _PyFunction_Vectorcall) {
  |  |  ------------------
  |  |  |  |  213|    338|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    338|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    338|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2781:21): [True: 0, False: 338]
  |  |  |  Branch (2781:58): [True: 0, False: 0]
  |  |  ------------------
  |  | 2782|      0|                    UPDATE_MISS_STATS(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2783|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_FUNCTION_EX));
  |  |  ------------------
  |  |  |  Branch (2783:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2784|      0|                    JUMP_TO_PREDICTED(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2785|      0|                }
  |  | 2786|    338|            }
  |  | 2787|       |            // _MAKE_CALLARGS_A_TUPLE
  |  | 2788|    338|            {
  |  | 2789|    338|                callargs = stack_pointer[-2];
  |  | 2790|    338|                func = func_st;
  |  | 2791|    338|                PyObject *callargs_o = PyStackRef_AsPyObjectBorrow(callargs);
  |  | 2792|    338|                if (!PyTuple_CheckExact(callargs_o)) {
  |  |  ------------------
  |  |  |  |   28|    338|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    338|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    338|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    338|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2792:21): [True: 32, False: 306]
  |  |  ------------------
  |  | 2793|     32|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2794|     32|                    _PyFrame_StackPointerValidate(frame);
  |  | 2795|     32|                    int err = _Py_Check_ArgsIterable(tstate, PyStackRef_AsPyObjectBorrow(func), callargs_o);
  |  | 2796|     32|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 2797|     32|                    if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (2797:25): [True: 0, False: 32]
  |  |  ------------------
  |  | 2798|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2799|      0|                    }
  |  | 2800|     32|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2800:21): [True: 32, False: 0]
  |  |  ------------------
  |  | 2801|     32|                    _PyFrame_StackPointerValidate(frame);
  |  | 2802|     32|                    PyObject *tuple_o = PySequence_Tuple(callargs_o);
  |  | 2803|     32|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 2804|     32|                    if (tuple_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2804:25): [True: 0, False: 32]
  |  |  ------------------
  |  | 2805|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2806|      0|                    }
  |  | 2807|     32|                    _PyStackRef temp = callargs;
  |  | 2808|     32|                    callargs = PyStackRef_FromPyObjectSteal(tuple_o);
  |  | 2809|     32|                    stack_pointer[-2] = callargs;
  |  | 2810|     32|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2810:21): [True: 32, False: 0]
  |  |  ------------------
  |  | 2811|     32|                    _PyFrame_StackPointerValidate(frame);
  |  | 2812|     32|                    PyStackRef_CLOSE(temp);
  |  | 2813|     32|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 2814|     32|                }
  |  | 2815|    338|            }
  |  | 2816|       |            // _CALL_FUNCTION_EX_NON_PY_GENERAL
  |  | 2817|    338|            {
  |  | 2818|    338|                kwargs_st = stack_pointer[-1];
  |  | 2819|    338|                callargs_st = callargs;
  |  | 2820|    338|                null = stack_pointer[-3];
  |  | 2821|    338|                func_st = func;
  |  | 2822|    338|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 2823|    338|                PyObject *callargs = PyStackRef_AsPyObjectBorrow(callargs_st);
  |  | 2824|    338|                (void)null;
  |  | 2825|    338|                assert(PyTuple_CheckExact(callargs));
  |  |  ------------------
  |  |  |  Branch (2825:17): [True: 338, False: 0]
  |  |  ------------------
  |  | 2826|    338|                PyObject *kwargs = PyStackRef_AsPyObjectBorrow(kwargs_st);
  |  | 2827|    338|                assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  |  ------------------
  |  |  |  Branch (2827:17): [True: 60, False: 278]
  |  |  |  Branch (2827:17): [True: 278, False: 0]
  |  |  ------------------
  |  | 2828|    338|                stack_pointer[-2] = callargs_st;
  |  | 2829|    338|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2830|    338|                _PyFrame_StackPointerValidate(frame);
  |  | 2831|    338|                PyObject *result_o = PyObject_Call(func, callargs, kwargs);
  |  | 2832|    338|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2833|    338|                stack_pointer += -1;
  |  | 2834|    338|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    338|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2835|    338|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2836|    338|                _PyFrame_StackPointerValidate(frame);
  |  | 2837|    338|                PyStackRef_XCLOSE(kwargs_st);
  |  | 2838|    338|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2839|    338|                stack_pointer += -1;
  |  | 2840|    338|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    338|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2841|    338|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2842|    338|                _PyFrame_StackPointerValidate(frame);
  |  | 2843|    338|                PyStackRef_CLOSE(callargs_st);
  |  | 2844|    338|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2845|    338|                stack_pointer += -2;
  |  | 2846|    338|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    338|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2847|    338|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2848|    338|                _PyFrame_StackPointerValidate(frame);
  |  | 2849|    338|                PyStackRef_CLOSE(func_st);
  |  | 2850|    338|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2851|    338|                if (result_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2851:21): [True: 0, False: 338]
  |  |  ------------------
  |  | 2852|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2853|      0|                }
  |  | 2854|    338|                result = PyStackRef_FromPyObjectSteal(result_o);
  |  | 2855|    338|            }
  |  | 2856|       |            // _CHECK_PERIODIC_AT_END
  |  | 2857|      0|            {
  |  | 2858|    338|                stack_pointer[0] = result;
  |  | 2859|    338|                stack_pointer += 1;
  |  | 2860|    338|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    338|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2861|    338|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2862|    338|                _PyFrame_StackPointerValidate(frame);
  |  | 2863|    338|                int err = check_periodics_at_end(tstate, frame);
  |  | 2864|    338|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2865|    338|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2865:21): [True: 0, False: 338]
  |  |  ------------------
  |  | 2866|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2867|      0|                }
  |  | 2868|    338|            }
  |  | 2869|    338|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    338|    { \
  |  |  |  |  201|    338|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    338|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    338|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    338|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    338|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    338|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    338|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    338|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 338]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    338|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    338|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    338|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    338|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    338|    }
  |  |  ------------------
  |  | 2870|    338|        }
  |  | 2871|       |
  |  | 2872|     33|        TARGET(CALL_EX_PY) {
  |  |  ------------------
  |  |  |  |  132|     33|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2873|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2874|       |            int opcode = CALL_EX_PY;
  |  | 2875|       |            (void)(opcode);
  |  | 2876|       |            #endif
  |  | 2877|     33|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2878|     33|            (void)this_instr;
  |  | 2879|     33|            frame->instr_ptr = next_instr;
  |  | 2880|     33|            next_instr += 2;
  |  | 2881|     33|            INSTRUCTION_STATS(CALL_EX_PY);
  |  |  ------------------
  |  |  |  |   71|     33|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2882|     33|            static_assert(INLINE_CACHE_ENTRIES_CALL_FUNCTION_EX == 1, "incorrect cache size");
  |  | 2883|     33|            _PyStackRef func;
  |  | 2884|     33|            _PyStackRef callargs;
  |  | 2885|     33|            _PyStackRef func_st;
  |  | 2886|     33|            _PyStackRef callargs_st;
  |  | 2887|     33|            _PyStackRef kwargs_st;
  |  | 2888|     33|            _PyStackRef ex_frame;
  |  | 2889|     33|            _PyStackRef new_frame;
  |  | 2890|       |            /* Skip 1 cache entry */
  |  | 2891|       |            // _CHECK_PEP_523
  |  | 2892|     33|            {
  |  | 2893|     33|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  519|     33|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (519:34): [True: 0, False: 33]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2894|      0|                    UPDATE_MISS_STATS(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2895|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_FUNCTION_EX));
  |  |  ------------------
  |  |  |  Branch (2895:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2896|      0|                    JUMP_TO_PREDICTED(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2897|      0|                }
  |  | 2898|     33|            }
  |  | 2899|       |            // _MAKE_CALLARGS_A_TUPLE
  |  | 2900|     33|            {
  |  | 2901|     33|                callargs = stack_pointer[-2];
  |  | 2902|     33|                func = stack_pointer[-4];
  |  | 2903|     33|                PyObject *callargs_o = PyStackRef_AsPyObjectBorrow(callargs);
  |  | 2904|     33|                if (!PyTuple_CheckExact(callargs_o)) {
  |  |  ------------------
  |  |  |  |   28|     33|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|     33|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2904:21): [True: 0, False: 33]
  |  |  ------------------
  |  | 2905|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2906|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 2907|      0|                    int err = _Py_Check_ArgsIterable(tstate, PyStackRef_AsPyObjectBorrow(func), callargs_o);
  |  | 2908|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 2909|      0|                    if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (2909:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 2910|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2911|      0|                    }
  |  | 2912|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2912:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2913|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 2914|      0|                    PyObject *tuple_o = PySequence_Tuple(callargs_o);
  |  | 2915|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 2916|      0|                    if (tuple_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2916:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 2917|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2918|      0|                    }
  |  | 2919|      0|                    _PyStackRef temp = callargs;
  |  | 2920|      0|                    callargs = PyStackRef_FromPyObjectSteal(tuple_o);
  |  | 2921|      0|                    stack_pointer[-2] = callargs;
  |  | 2922|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2922:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2923|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 2924|      0|                    PyStackRef_CLOSE(temp);
  |  | 2925|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 2926|      0|                }
  |  | 2927|     33|            }
  |  | 2928|       |            // _CHECK_IS_PY_CALLABLE_EX
  |  | 2929|     33|            {
  |  | 2930|     33|                func_st = func;
  |  | 2931|     33|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 2932|     33|                if (Py_TYPE(func) != &PyFunction_Type) {
  |  |  ------------------
  |  |  |  |  213|     33|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2932:21): [True: 0, False: 33]
  |  |  ------------------
  |  | 2933|      0|                    UPDATE_MISS_STATS(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2934|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_FUNCTION_EX));
  |  |  ------------------
  |  |  |  Branch (2934:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2935|      0|                    JUMP_TO_PREDICTED(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2936|      0|                }
  |  | 2937|     33|                if (((PyFunctionObject *)func)->vectorcall != _PyFunction_Vectorcall) {
  |  |  ------------------
  |  |  |  Branch (2937:21): [True: 0, False: 33]
  |  |  ------------------
  |  | 2938|      0|                    UPDATE_MISS_STATS(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2939|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_FUNCTION_EX));
  |  |  ------------------
  |  |  |  Branch (2939:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2940|      0|                    JUMP_TO_PREDICTED(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2941|      0|                }
  |  | 2942|     33|            }
  |  | 2943|       |            // _PY_FRAME_EX
  |  | 2944|     33|            {
  |  | 2945|     33|                kwargs_st = stack_pointer[-1];
  |  | 2946|     33|                callargs_st = callargs;
  |  | 2947|     33|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 2948|     33|                PyObject *callargs = PyStackRef_AsPyObjectSteal(callargs_st);
  |  | 2949|     33|                assert(PyTuple_CheckExact(callargs));
  |  |  ------------------
  |  |  |  Branch (2949:17): [True: 33, False: 0]
  |  |  ------------------
  |  | 2950|     33|                assert(Py_TYPE(func) == &PyFunction_Type);
  |  |  ------------------
  |  |  |  Branch (2950:17): [True: 33, False: 0]
  |  |  ------------------
  |  | 2951|     33|                assert(((PyFunctionObject *)func)->vectorcall == _PyFunction_Vectorcall);
  |  |  ------------------
  |  |  |  Branch (2951:17): [True: 33, False: 0]
  |  |  ------------------
  |  | 2952|     33|                PyObject *kwargs = PyStackRef_IsNull(kwargs_st) ? NULL : PyStackRef_AsPyObjectSteal(kwargs_st);
  |  |  ------------------
  |  |  |  |  482|     33|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|     33|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|     33|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 10, False: 23]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2953|     33|                assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  |  ------------------
  |  |  |  Branch (2953:17): [True: 10, False: 23]
  |  |  |  Branch (2953:17): [True: 23, False: 0]
  |  |  ------------------
  |  | 2954|     33|                Py_ssize_t nargs = PyTuple_GET_SIZE(callargs);
  |  |  ------------------
  |  |  |  |   27|     33|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2955|     33|                int code_flags = ((PyCodeObject *)PyFunction_GET_CODE(func))->co_flags;
  |  |  ------------------
  |  |  |  |   93|     33|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2956|     33|                PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(func));
  |  |  ------------------
  |  |  |  |  122|     33|#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 (2956:36): [True: 33, False: 0]
  |  |  ------------------
  |  | 2957|     33|                stack_pointer += -3;
  |  | 2958|     33|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     33|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2959|     33|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2960|     33|                _PyFrame_StackPointerValidate(frame);
  |  | 2961|     33|                _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit_Ex(
  |  | 2962|     33|                    tstate, func_st, locals,
  |  | 2963|     33|                    nargs, callargs, kwargs, frame);
  |  | 2964|     33|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2965|     33|                stack_pointer += -1;
  |  | 2966|     33|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     33|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2967|     33|                if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (2967:21): [True: 0, False: 33]
  |  |  ------------------
  |  | 2968|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2969|      0|                }
  |  | 2970|     33|                ex_frame = PyStackRef_Wrap(new_frame);
  |  | 2971|     33|            }
  |  | 2972|       |            // _SAVE_RETURN_OFFSET
  |  | 2973|      0|            {
  |  | 2974|     33|                #if TIER_ONE
  |  | 2975|     33|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 2976|     33|                #endif
  |  | 2977|       |                #if TIER_TWO
  |  | 2978|       |                frame->return_offset = oparg;
  |  | 2979|       |                #endif
  |  | 2980|     33|            }
  |  | 2981|       |            // _PUSH_FRAME
  |  | 2982|     33|            {
  |  | 2983|     33|                new_frame = ex_frame;
  |  | 2984|     33|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (2984:17): [True: 33, False: 0]
  |  |  ------------------
  |  | 2985|     33|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 2986|     33|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2987|     33|                _PyFrame_StackPointerValidate(frame);
  |  | 2988|     33|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (2988:17): [True: 33, False: 0]
  |  |  |  Branch (2988:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2989|     33|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|     33|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 2990|     33|                frame = tstate->current_frame = temp;
  |  | 2991|     33|                tstate->py_recursion_remaining--;
  |  | 2992|     33|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2993|     33|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2994|     33|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  421|     33|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  422|     33|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  423|     33|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:14): [Folded, False: 33]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2995|       |                #ifdef Py_DEBUG
  |  | 2996|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 2997|       |                #endif
  |  | 2998|     33|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|     33|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 2999|     33|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|     33|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 3000|     33|            }
  |  | 3001|     33|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     33|    { \
  |  |  |  |  201|     33|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     33|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     33|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     33|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     33|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     33|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     33|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     33|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 33]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     33|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     33|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     33|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     33|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     33|    }
  |  |  ------------------
  |  | 3002|     33|        }
  |  | 3003|       |
  |  | 3004|     49|        TARGET(CALL_FUNCTION_EX) {
  |  |  ------------------
  |  |  |  |  132|     49|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3005|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3006|       |            int opcode = CALL_FUNCTION_EX;
  |  | 3007|       |            (void)(opcode);
  |  | 3008|       |            #endif
  |  | 3009|     49|            frame->instr_ptr = next_instr;
  |  | 3010|     49|            next_instr += 2;
  |  | 3011|     49|            INSTRUCTION_STATS(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |   71|     49|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3012|     49|            PREDICTED_CALL_FUNCTION_EX:;
  |  | 3013|     49|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 3014|     49|            (void)this_instr;
  |  | 3015|     49|            opcode = CALL_FUNCTION_EX;
  |  |  ------------------
  |  |  |  |   17|     49|#define CALL_FUNCTION_EX                         4
  |  |  ------------------
  |  | 3016|     49|            _PyStackRef func;
  |  | 3017|     49|            _PyStackRef callargs;
  |  | 3018|     49|            _PyStackRef func_st;
  |  | 3019|     49|            _PyStackRef null;
  |  | 3020|     49|            _PyStackRef callargs_st;
  |  | 3021|     49|            _PyStackRef kwargs_st;
  |  | 3022|     49|            _PyStackRef result;
  |  | 3023|       |            // _SPECIALIZE_CALL_FUNCTION_EX
  |  | 3024|     49|            {
  |  | 3025|     49|                func = stack_pointer[-4];
  |  | 3026|     49|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 3027|     49|                (void)counter;
  |  | 3028|     49|                #if ENABLE_SPECIALIZATION
  |  | 3029|     49|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|     49|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 18, False: 31]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3030|     18|                    next_instr = this_instr;
  |  | 3031|     18|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3032|     18|                    _PyFrame_StackPointerValidate(frame);
  |  | 3033|     18|                    _Py_Specialize_CallFunctionEx(func, next_instr);
  |  | 3034|     18|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3035|     18|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|     18|    { \
  |  |  |  |  217|     18|        opcode = next_instr->op.code; \
  |  |  |  |  218|     18|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     18|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|     18|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|     18|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|     18|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|     18|    }
  |  |  ------------------
  |  | 3036|     18|                }
  |  | 3037|     49|                OPCODE_DEFERRED_INC(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |   90|     49|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 3038|     49|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  358|     49|    do { \
  |  |  |  |  359|     49|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  360|     49|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (360:14): [Folded, False: 49]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3039|     49|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 3040|     49|            }
  |  | 3041|       |            // _MAKE_CALLARGS_A_TUPLE
  |  | 3042|     49|            {
  |  | 3043|     49|                callargs = stack_pointer[-2];
  |  | 3044|     49|                PyObject *callargs_o = PyStackRef_AsPyObjectBorrow(callargs);
  |  | 3045|     49|                if (!PyTuple_CheckExact(callargs_o)) {
  |  |  ------------------
  |  |  |  |   28|     49|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|     49|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     49|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     49|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3045:21): [True: 5, False: 44]
  |  |  ------------------
  |  | 3046|      5|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3047|      5|                    _PyFrame_StackPointerValidate(frame);
  |  | 3048|      5|                    int err = _Py_Check_ArgsIterable(tstate, PyStackRef_AsPyObjectBorrow(func), callargs_o);
  |  | 3049|      5|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3050|      5|                    if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (3050:25): [True: 0, False: 5]
  |  |  ------------------
  |  | 3051|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3052|      0|                    }
  |  | 3053|      5|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3053:21): [True: 5, False: 0]
  |  |  ------------------
  |  | 3054|      5|                    _PyFrame_StackPointerValidate(frame);
  |  | 3055|      5|                    PyObject *tuple_o = PySequence_Tuple(callargs_o);
  |  | 3056|      5|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3057|      5|                    if (tuple_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3057:25): [True: 0, False: 5]
  |  |  ------------------
  |  | 3058|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3059|      0|                    }
  |  | 3060|      5|                    _PyStackRef temp = callargs;
  |  | 3061|      5|                    callargs = PyStackRef_FromPyObjectSteal(tuple_o);
  |  | 3062|      5|                    stack_pointer[-2] = callargs;
  |  | 3063|      5|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3063:21): [True: 5, False: 0]
  |  |  ------------------
  |  | 3064|      5|                    _PyFrame_StackPointerValidate(frame);
  |  | 3065|      5|                    PyStackRef_CLOSE(temp);
  |  | 3066|      5|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3067|      5|                }
  |  | 3068|     49|            }
  |  | 3069|       |            // _DO_CALL_FUNCTION_EX
  |  | 3070|     49|            {
  |  | 3071|     49|                kwargs_st = stack_pointer[-1];
  |  | 3072|     49|                callargs_st = callargs;
  |  | 3073|     49|                null = stack_pointer[-3];
  |  | 3074|     49|                func_st = func;
  |  | 3075|     49|                (void)null;
  |  | 3076|     49|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 3077|     49|                EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_FUNCTION_EX, func);
  |  |  ------------------
  |  |  |  |   80|     49|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  |  |  ------------------
  |  | 3078|     49|                PyObject *result_o;
  |  | 3079|     49|                assert(!_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (3079:17): [True: 31, False: 18]
  |  |  ------------------
  |  | 3080|     31|                if (opcode == INSTRUMENTED_CALL_FUNCTION_EX) {
  |  |  ------------------
  |  |  |  |  239|     31|#define INSTRUMENTED_CALL_FUNCTION_EX          251
  |  |  ------------------
  |  |  |  Branch (3080:21): [True: 0, False: 31]
  |  |  ------------------
  |  | 3081|      0|                    PyObject *callargs = PyStackRef_AsPyObjectBorrow(callargs_st);
  |  | 3082|      0|                    PyObject *kwargs = PyStackRef_AsPyObjectBorrow(kwargs_st);
  |  | 3083|      0|                    assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  |  ------------------
  |  |  |  Branch (3083:21): [True: 0, False: 0]
  |  |  |  Branch (3083:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3084|      0|                    assert(PyTuple_CheckExact(callargs));
  |  |  ------------------
  |  |  |  Branch (3084:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3085|      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 (3085:37): [True: 0, False: 0]
  |  |  ------------------
  |  | 3086|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3086:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3087|      0|                    stack_pointer[-2] = callargs_st;
  |  | 3088|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3089|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 3090|      0|                    int err = _Py_call_instrumentation_2args(
  |  | 3091|      0|                        tstate, PY_MONITORING_EVENT_CALL,
  |  |  ------------------
  |  |  |  |   18|      0|#define PY_MONITORING_EVENT_CALL 4
  |  |  ------------------
  |  | 3092|      0|                        frame, this_instr, func, arg);
  |  | 3093|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3094|      0|                    if (err) {
  |  |  ------------------
  |  |  |  Branch (3094:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 3095|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3096|      0|                    }
  |  | 3097|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3097:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3098|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 3099|      0|                    result_o = PyObject_Call(func, callargs, kwargs);
  |  | 3100|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3101|      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 (3101:25): [True: 0, False: 0]
  |  |  |  Branch (3101:52): [True: 0, False: 0]
  |  |  ------------------
  |  | 3102|      0|                        if (result_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3102:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 3103|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3103:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 3104|      0|                            _PyFrame_StackPointerValidate(frame);
  |  | 3105|      0|                            _Py_call_instrumentation_exc2(
  |  | 3106|      0|                                tstate, PY_MONITORING_EVENT_C_RAISE,
  |  |  ------------------
  |  |  |  |   45|      0|#define PY_MONITORING_EVENT_C_RAISE 17
  |  |  ------------------
  |  | 3107|      0|                                frame, this_instr, func, arg);
  |  | 3108|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  | 3109|      0|                        }
  |  | 3110|      0|                        else {
  |  | 3111|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3111:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 3112|      0|                            _PyFrame_StackPointerValidate(frame);
  |  | 3113|      0|                            int err = _Py_call_instrumentation_2args(
  |  | 3114|      0|                                tstate, PY_MONITORING_EVENT_C_RETURN,
  |  |  ------------------
  |  |  |  |   44|      0|#define PY_MONITORING_EVENT_C_RETURN 16
  |  |  ------------------
  |  | 3115|      0|                                frame, this_instr, func, arg);
  |  | 3116|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  | 3117|      0|                            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (3117:33): [True: 0, False: 0]
  |  |  ------------------
  |  | 3118|      0|                                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3118:33): [True: 0, False: 0]
  |  |  ------------------
  |  | 3119|      0|                                _PyFrame_StackPointerValidate(frame);
  |  | 3120|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3121|      0|                                _PyFrame_StackPointerInvalidate(frame);
  |  | 3122|      0|                            }
  |  | 3123|      0|                        }
  |  | 3124|      0|                    }
  |  | 3125|      0|                }
  |  | 3126|     31|                else {
  |  | 3127|     31|                    if (Py_TYPE(func) == &PyFunction_Type &&
  |  |  ------------------
  |  |  |  |  213|     31|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3127:25): [True: 16, False: 15]
  |  |  ------------------
  |  | 3128|     16|                        !IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  519|     47|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (3128:25): [True: 16, False: 0]
  |  |  ------------------
  |  | 3129|     16|                        ((PyFunctionObject *)func)->vectorcall == _PyFunction_Vectorcall) {
  |  |  ------------------
  |  |  |  Branch (3129:25): [True: 16, False: 0]
  |  |  ------------------
  |  | 3130|     16|                        PyObject *callargs = PyStackRef_AsPyObjectSteal(callargs_st);
  |  | 3131|     16|                        assert(PyTuple_CheckExact(callargs));
  |  |  ------------------
  |  |  |  Branch (3131:25): [True: 16, False: 0]
  |  |  ------------------
  |  | 3132|     16|                        PyObject *kwargs = PyStackRef_IsNull(kwargs_st) ? NULL : PyStackRef_AsPyObjectSteal(kwargs_st);
  |  |  ------------------
  |  |  |  |  482|     16|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|     16|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|     16|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 13, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3133|     16|                        assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  |  ------------------
  |  |  |  Branch (3133:25): [True: 13, False: 3]
  |  |  |  Branch (3133:25): [True: 3, False: 0]
  |  |  ------------------
  |  | 3134|     16|                        Py_ssize_t nargs = PyTuple_GET_SIZE(callargs);
  |  |  ------------------
  |  |  |  |   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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3135|     16|                        int code_flags = ((PyCodeObject *)PyFunction_GET_CODE(func))->co_flags;
  |  |  ------------------
  |  |  |  |   93|     16|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3136|     16|                        PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(func));
  |  |  ------------------
  |  |  |  |  122|     16|#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 (3136:44): [True: 16, False: 0]
  |  |  ------------------
  |  | 3137|     16|                        stack_pointer += -2;
  |  | 3138|     16|                        ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     16|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3139|     16|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3140|     16|                        _PyFrame_StackPointerValidate(frame);
  |  | 3141|     16|                        _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit_Ex(
  |  | 3142|     16|                            tstate, func_st, locals,
  |  | 3143|     16|                            nargs, callargs, kwargs, frame);
  |  | 3144|     16|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 3145|     16|                        stack_pointer += -2;
  |  | 3146|     16|                        ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     16|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3147|     16|                        if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (3147:29): [True: 0, False: 16]
  |  |  ------------------
  |  | 3148|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3149|      0|                        }
  |  | 3150|     16|                        assert( 2u == 1 + INLINE_CACHE_ENTRIES_CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  Branch (3150:25): [True: 16, Folded]
  |  |  ------------------
  |  | 3151|     16|                        frame->return_offset = 2u ;
  |  | 3152|     16|                        DISPATCH_INLINED(new_frame);
  |  |  ------------------
  |  |  |  |  223|     16|    do {                                                         \
  |  |  |  |  224|     16|        assert(!IS_PEP523_HOOKED(tstate));                       \
  |  |  |  |  225|     16|        _PyFrame_SetStackPointer(frame, stack_pointer);          \
  |  |  |  |  226|     16|        _PyFrame_StackPointerValidate(frame);                    \
  |  |  |  |  227|     16|        assert((NEW_FRAME)->previous == frame);                  \
  |  |  |  |  228|     16|        frame = tstate->current_frame = (NEW_FRAME);             \
  |  |  |  |  229|     16|        CALL_STAT_INC(inlined_py_calls);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  |   76|     16|#define CALL_STAT_INC(name) ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  230|     16|        JUMP_TO_LABEL(start_frame);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|     16|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  231|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3152:25): [True: 16, False: 0]
  |  |  |  Branch (3152:25): [True: 16, False: 0]
  |  |  ------------------
  |  | 3153|     16|                    }
  |  | 3154|     15|                    PyObject *callargs = PyStackRef_AsPyObjectBorrow(callargs_st);
  |  | 3155|     15|                    assert(PyTuple_CheckExact(callargs));
  |  |  ------------------
  |  |  |  Branch (3155:21): [True: 15, False: 0]
  |  |  ------------------
  |  | 3156|     15|                    PyObject *kwargs = PyStackRef_AsPyObjectBorrow(kwargs_st);
  |  | 3157|     15|                    assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  |  ------------------
  |  |  |  Branch (3157:21): [True: 9, False: 6]
  |  |  |  Branch (3157:21): [True: 6, False: 0]
  |  |  ------------------
  |  | 3158|     15|                    stack_pointer[-2] = callargs_st;
  |  | 3159|     15|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3160|     15|                    _PyFrame_StackPointerValidate(frame);
  |  | 3161|     15|                    result_o = PyObject_Call(func, callargs, kwargs);
  |  | 3162|     15|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3163|     15|                }
  |  | 3164|     15|                stack_pointer += -1;
  |  | 3165|     15|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     15|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3166|     15|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3167|     15|                _PyFrame_StackPointerValidate(frame);
  |  | 3168|     15|                PyStackRef_XCLOSE(kwargs_st);
  |  | 3169|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3170|     15|                stack_pointer += -1;
  |  | 3171|     15|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     15|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3172|     15|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3173|     15|                _PyFrame_StackPointerValidate(frame);
  |  | 3174|     15|                PyStackRef_CLOSE(callargs_st);
  |  | 3175|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3176|     15|                stack_pointer += -2;
  |  | 3177|     15|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     15|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3178|     15|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3179|     15|                _PyFrame_StackPointerValidate(frame);
  |  | 3180|     15|                PyStackRef_CLOSE(func_st);
  |  | 3181|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3182|     15|                if (result_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3182:21): [True: 0, False: 15]
  |  |  ------------------
  |  | 3183|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3184|      0|                }
  |  | 3185|     15|                result = PyStackRef_FromPyObjectSteal(result_o);
  |  | 3186|     15|            }
  |  | 3187|       |            // _CHECK_PERIODIC_AT_END
  |  | 3188|      0|            {
  |  | 3189|     15|                stack_pointer[0] = result;
  |  | 3190|     15|                stack_pointer += 1;
  |  | 3191|     15|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     15|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3192|     15|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3193|     15|                _PyFrame_StackPointerValidate(frame);
  |  | 3194|     15|                int err = check_periodics_at_end(tstate, frame);
  |  | 3195|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3196|     15|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (3196:21): [True: 0, False: 15]
  |  |  ------------------
  |  | 3197|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3198|      0|                }
  |  | 3199|     15|            }
  |  | 3200|     15|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     15|    { \
  |  |  |  |  201|     15|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     15|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     15|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     15|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     15|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     15|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     15|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     15|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 15]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     15|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     15|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     15|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     15|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     15|    }
  |  |  ------------------
  |  | 3201|     15|        }
  |  | 3202|       |
  |  | 3203|  32.2k|        TARGET(CALL_INTRINSIC_1) {
  |  |  ------------------
  |  |  |  |  132|  32.2k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3204|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3205|       |            int opcode = CALL_INTRINSIC_1;
  |  | 3206|       |            (void)(opcode);
  |  | 3207|       |            #endif
  |  | 3208|  32.2k|            frame->instr_ptr = next_instr;
  |  | 3209|  32.2k|            next_instr += 1;
  |  | 3210|  32.2k|            INSTRUCTION_STATS(CALL_INTRINSIC_1);
  |  |  ------------------
  |  |  |  |   71|  32.2k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3211|  32.2k|            _PyStackRef value;
  |  | 3212|  32.2k|            _PyStackRef res;
  |  | 3213|  32.2k|            _PyStackRef v;
  |  | 3214|       |            // _CALL_INTRINSIC_1
  |  | 3215|  32.2k|            {
  |  | 3216|  32.2k|                value = stack_pointer[-1];
  |  | 3217|  32.2k|                assert(oparg <= MAX_INTRINSIC_1);
  |  |  ------------------
  |  |  |  Branch (3217:17): [True: 32.2k, False: 0]
  |  |  ------------------
  |  | 3218|  32.2k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3219|  32.2k|                _PyFrame_StackPointerValidate(frame);
  |  | 3220|  32.2k|                PyObject *res_o = _PyIntrinsics_UnaryFunctions[oparg].func(tstate, PyStackRef_AsPyObjectBorrow(value));
  |  | 3221|  32.2k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3222|  32.2k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3222:21): [True: 0, False: 32.2k]
  |  |  ------------------
  |  | 3223|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3224|      0|                }
  |  | 3225|  32.2k|                v = value;
  |  | 3226|  32.2k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 3227|  32.2k|            }
  |  | 3228|       |            // _POP_TOP
  |  | 3229|      0|            {
  |  | 3230|  32.2k|                value = v;
  |  | 3231|  32.2k|                stack_pointer[-1] = res;
  |  | 3232|  32.2k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3232:17): [True: 32.2k, False: 0]
  |  |  ------------------
  |  | 3233|  32.2k|                _PyFrame_StackPointerValidate(frame);
  |  | 3234|  32.2k|                PyStackRef_XCLOSE(value);
  |  | 3235|  32.2k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3236|  32.2k|            }
  |  | 3237|  32.2k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  32.2k|    { \
  |  |  |  |  201|  32.2k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  32.2k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  32.2k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  32.2k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  32.2k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  32.2k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  32.2k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  32.2k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 32.2k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  32.2k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  32.2k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  32.2k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  32.2k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  32.2k|    }
  |  |  ------------------
  |  | 3238|  32.2k|        }
  |  | 3239|       |
  |  | 3240|      0|        TARGET(CALL_INTRINSIC_2) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3241|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3242|       |            int opcode = CALL_INTRINSIC_2;
  |  | 3243|       |            (void)(opcode);
  |  | 3244|       |            #endif
  |  | 3245|      0|            frame->instr_ptr = next_instr;
  |  | 3246|      0|            next_instr += 1;
  |  | 3247|      0|            INSTRUCTION_STATS(CALL_INTRINSIC_2);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3248|      0|            _PyStackRef value2_st;
  |  | 3249|      0|            _PyStackRef value1_st;
  |  | 3250|      0|            _PyStackRef res;
  |  | 3251|      0|            _PyStackRef vs1;
  |  | 3252|      0|            _PyStackRef vs2;
  |  | 3253|      0|            _PyStackRef value;
  |  | 3254|       |            // _CALL_INTRINSIC_2
  |  | 3255|      0|            {
  |  | 3256|      0|                value1_st = stack_pointer[-1];
  |  | 3257|      0|                value2_st = stack_pointer[-2];
  |  | 3258|      0|                assert(oparg <= MAX_INTRINSIC_2);
  |  |  ------------------
  |  |  |  Branch (3258:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3259|      0|                PyObject *value1 = PyStackRef_AsPyObjectBorrow(value1_st);
  |  | 3260|      0|                PyObject *value2 = PyStackRef_AsPyObjectBorrow(value2_st);
  |  | 3261|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3262|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 3263|      0|                PyObject *res_o = _PyIntrinsics_BinaryFunctions[oparg].func(tstate, value2, value1);
  |  | 3264|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3265|      0|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3265:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3266|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3267|      0|                }
  |  | 3268|      0|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 3269|      0|                vs1 = value1_st;
  |  | 3270|      0|                vs2 = value2_st;
  |  | 3271|      0|            }
  |  | 3272|       |            // _POP_TOP
  |  | 3273|      0|            {
  |  | 3274|      0|                value = vs2;
  |  | 3275|      0|                stack_pointer[-2] = res;
  |  | 3276|      0|                stack_pointer[-1] = vs1;
  |  | 3277|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3277:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3278|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 3279|      0|                PyStackRef_XCLOSE(value);
  |  | 3280|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3281|      0|            }
  |  | 3282|       |            // _POP_TOP
  |  | 3283|      0|            {
  |  | 3284|      0|                value = vs1;
  |  | 3285|      0|                stack_pointer += -1;
  |  | 3286|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3287|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3288|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 3289|      0|                PyStackRef_XCLOSE(value);
  |  | 3290|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3291|      0|            }
  |  | 3292|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 3293|      0|        }
  |  | 3294|       |
  |  | 3295|  22.5M|        TARGET(CALL_ISINSTANCE) {
  |  |  ------------------
  |  |  |  |  132|  22.5M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3296|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3297|       |            int opcode = CALL_ISINSTANCE;
  |  | 3298|       |            (void)(opcode);
  |  | 3299|       |            #endif
  |  | 3300|  22.5M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3301|  22.5M|            (void)this_instr;
  |  | 3302|  22.5M|            frame->instr_ptr = next_instr;
  |  | 3303|  22.5M|            next_instr += 4;
  |  | 3304|  22.5M|            INSTRUCTION_STATS(CALL_ISINSTANCE);
  |  |  ------------------
  |  |  |  |   71|  22.5M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3305|  22.5M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 3306|  22.5M|            _PyStackRef null;
  |  | 3307|  22.5M|            _PyStackRef callable;
  |  | 3308|  22.5M|            _PyStackRef instance;
  |  | 3309|  22.5M|            _PyStackRef cls;
  |  | 3310|  22.5M|            _PyStackRef res;
  |  | 3311|       |            /* Skip 1 cache entry */
  |  | 3312|       |            /* Skip 2 cache entries */
  |  | 3313|       |            // _GUARD_THIRD_NULL
  |  | 3314|  22.5M|            {
  |  | 3315|  22.5M|                null = stack_pointer[-3];
  |  | 3316|  22.5M|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|  22.5M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  22.5M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  22.5M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3316:21): [True: 0, False: 22.5M]
  |  |  ------------------
  |  | 3317|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3318|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (3318:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3319|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3320|      0|                }
  |  | 3321|  22.5M|            }
  |  | 3322|       |            // _GUARD_CALLABLE_ISINSTANCE
  |  | 3323|  22.5M|            {
  |  | 3324|  22.5M|                callable = stack_pointer[-4];
  |  | 3325|  22.5M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3326|  22.5M|                PyInterpreterState *interp = tstate->interp;
  |  | 3327|  22.5M|                if (callable_o != interp->callable_cache.isinstance) {
  |  |  ------------------
  |  |  |  Branch (3327:21): [True: 0, False: 22.5M]
  |  |  ------------------
  |  | 3328|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3329|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (3329:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3330|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3331|      0|                }
  |  | 3332|  22.5M|            }
  |  | 3333|       |            // _CALL_ISINSTANCE
  |  | 3334|  22.5M|            {
  |  | 3335|  22.5M|                cls = stack_pointer[-1];
  |  | 3336|  22.5M|                instance = stack_pointer[-2];
  |  | 3337|  22.5M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  22.5M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 3338|  22.5M|                PyObject *inst_o = PyStackRef_AsPyObjectBorrow(instance);
  |  | 3339|  22.5M|                PyObject *cls_o = PyStackRef_AsPyObjectBorrow(cls);
  |  | 3340|  22.5M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3341|  22.5M|                _PyFrame_StackPointerValidate(frame);
  |  | 3342|  22.5M|                int retval = PyObject_IsInstance(inst_o, cls_o);
  |  | 3343|  22.5M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3344|  22.5M|                if (retval < 0) {
  |  |  ------------------
  |  |  |  Branch (3344:21): [True: 0, False: 22.5M]
  |  |  ------------------
  |  | 3345|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3346|      0|                }
  |  | 3347|  22.5M|                (void)null;
  |  | 3348|  22.5M|                stack_pointer += -1;
  |  | 3349|  22.5M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  22.5M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3350|  22.5M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3351|  22.5M|                _PyFrame_StackPointerValidate(frame);
  |  | 3352|  22.5M|                PyStackRef_CLOSE(cls);
  |  | 3353|  22.5M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3354|  22.5M|                stack_pointer += -1;
  |  | 3355|  22.5M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  22.5M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3356|  22.5M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3357|  22.5M|                _PyFrame_StackPointerValidate(frame);
  |  | 3358|  22.5M|                PyStackRef_CLOSE(instance);
  |  | 3359|  22.5M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3360|  22.5M|                stack_pointer += -2;
  |  | 3361|  22.5M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  22.5M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3362|  22.5M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3363|  22.5M|                _PyFrame_StackPointerValidate(frame);
  |  | 3364|  22.5M|                PyStackRef_CLOSE(callable);
  |  | 3365|  22.5M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3366|  22.5M|                res = retval ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  1.55M|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.55M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = retval ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  43.5M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  20.9M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3366:23): [True: 1.55M, False: 20.9M]
  |  |  ------------------
  |  | 3367|  22.5M|                assert((!PyStackRef_IsNull(res)) ^ (_PyErr_Occurred(tstate) != NULL));
  |  |  ------------------
  |  |  |  Branch (3367:17): [True: 22.5M, False: 0]
  |  |  ------------------
  |  | 3368|  22.5M|            }
  |  | 3369|  22.5M|            stack_pointer[0] = res;
  |  | 3370|  22.5M|            stack_pointer += 1;
  |  | 3371|  22.5M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  22.5M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3372|  22.5M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  22.5M|    { \
  |  |  |  |  201|  22.5M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  22.5M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  22.5M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  22.5M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  22.5M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  22.5M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  22.5M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  22.5M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 22.5M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  22.5M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  22.5M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  22.5M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  22.5M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  22.5M|    }
  |  |  ------------------
  |  | 3373|  22.5M|        }
  |  | 3374|       |
  |  | 3375|     97|        TARGET(CALL_KW) {
  |  |  ------------------
  |  |  |  |  132|     97|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3376|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3377|       |            int opcode = CALL_KW;
  |  | 3378|       |            (void)(opcode);
  |  | 3379|       |            #endif
  |  | 3380|     97|            frame->instr_ptr = next_instr;
  |  | 3381|     97|            next_instr += 4;
  |  | 3382|     97|            INSTRUCTION_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |   71|     97|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3383|     97|            PREDICTED_CALL_KW:;
  |  | 3384|     97|            _Py_CODEUNIT* const this_instr = next_instr - 4;
  |  | 3385|     97|            (void)this_instr;
  |  | 3386|     97|            opcode = CALL_KW;
  |  |  ------------------
  |  |  |  |   66|     97|#define CALL_KW                                 53
  |  |  ------------------
  |  | 3387|     97|            _PyStackRef callable;
  |  | 3388|     97|            _PyStackRef self_or_null;
  |  | 3389|     97|            _PyStackRef *args;
  |  | 3390|     97|            _PyStackRef kwnames;
  |  | 3391|     97|            _PyStackRef res;
  |  | 3392|       |            // _SPECIALIZE_CALL_KW
  |  | 3393|     97|            {
  |  | 3394|     97|                self_or_null = stack_pointer[-2 - oparg];
  |  | 3395|     97|                callable = stack_pointer[-3 - oparg];
  |  | 3396|     97|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 3397|     97|                (void)counter;
  |  | 3398|     97|                #if ENABLE_SPECIALIZATION
  |  | 3399|     97|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|     97|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 25, False: 72]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3400|     25|                    next_instr = this_instr;
  |  | 3401|     25|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3402|     25|                    _PyFrame_StackPointerValidate(frame);
  |  | 3403|     25|                    _Py_Specialize_CallKw(callable, next_instr, oparg + !PyStackRef_IsNull(self_or_null));
  |  |  ------------------
  |  |  |  |  482|     25|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|     25|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|     25|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3404|     25|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3405|     25|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|     25|    { \
  |  |  |  |  217|     25|        opcode = next_instr->op.code; \
  |  |  |  |  218|     25|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     25|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|     25|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|     25|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|     25|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|     25|    }
  |  |  ------------------
  |  | 3406|     25|                }
  |  | 3407|     97|                OPCODE_DEFERRED_INC(CALL_KW);
  |  |  ------------------
  |  |  |  |   90|     97|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 3408|     97|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  358|     97|    do { \
  |  |  |  |  359|     97|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  360|     97|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (360:14): [Folded, False: 97]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3409|     97|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 3410|     97|            }
  |  | 3411|       |            /* Skip 2 cache entries */
  |  | 3412|       |            // _MAYBE_EXPAND_METHOD_KW
  |  | 3413|     97|            {
  |  | 3414|     97|                if (PyStackRef_TYPE(callable) == &PyMethod_Type && PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3414:21): [True: 0, False: 97]
  |  |  ------------------
  |  | 3415|      0|                    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3416|      0|                    PyObject *self = ((PyMethodObject *)callable_o)->im_self;
  |  | 3417|      0|                    self_or_null = PyStackRef_FromPyObjectNew(self);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3418|      0|                    PyObject *method = ((PyMethodObject *)callable_o)->im_func;
  |  | 3419|      0|                    _PyStackRef temp = callable;
  |  | 3420|      0|                    callable = PyStackRef_FromPyObjectNew(method);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3421|      0|                    stack_pointer[-3 - oparg] = callable;
  |  | 3422|      0|                    stack_pointer[-2 - oparg] = self_or_null;
  |  | 3423|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3424|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 3425|      0|                    PyStackRef_CLOSE(temp);
  |  | 3426|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3427|      0|                }
  |  | 3428|     97|            }
  |  | 3429|       |            // _DO_CALL_KW
  |  | 3430|     97|            {
  |  | 3431|     97|                kwnames = stack_pointer[-1];
  |  | 3432|     97|                args = &stack_pointer[-1 - oparg];
  |  | 3433|     97|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3434|     97|                PyObject *kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  |  | 3435|     97|                int total_args = oparg;
  |  | 3436|     97|                _PyStackRef *arguments = args;
  |  | 3437|     97|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|     97|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|     97|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|     97|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3437:21): [True: 4, False: 93]
  |  |  ------------------
  |  | 3438|      4|                    arguments--;
  |  | 3439|      4|                    total_args++;
  |  | 3440|      4|                }
  |  | 3441|     97|                int positional_args = total_args - (int)PyTuple_GET_SIZE(kwnames_o);
  |  |  ------------------
  |  |  |  |   27|     97|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     97|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     97|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3442|     97|                if (Py_TYPE(callable_o) == &PyFunction_Type &&
  |  |  ------------------
  |  |  |  |  213|     97|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     97|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     97|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3442:21): [True: 15, False: 82]
  |  |  ------------------
  |  | 3443|     15|                    !IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  519|    112|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (3443:21): [True: 15, False: 0]
  |  |  ------------------
  |  | 3444|     15|                    ((PyFunctionObject *)callable_o)->vectorcall == _PyFunction_Vectorcall)
  |  |  ------------------
  |  |  |  Branch (3444:21): [True: 15, False: 0]
  |  |  ------------------
  |  | 3445|     15|                {
  |  | 3446|     15|                    int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|     15|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3447|     15|                    PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  122|     15|#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 (3447:40): [True: 15, False: 0]
  |  |  ------------------
  |  | 3448|     15|                    stack_pointer[-3 - oparg] = callable;
  |  | 3449|     15|                    stack_pointer[-2 - oparg] = self_or_null;
  |  | 3450|     15|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3451|     15|                    _PyFrame_StackPointerValidate(frame);
  |  | 3452|     15|                    _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit(
  |  | 3453|     15|                        tstate, callable, locals,
  |  | 3454|     15|                        arguments, positional_args, kwnames_o, frame
  |  | 3455|     15|                    );
  |  | 3456|     15|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3457|     15|                    stack_pointer += -3 - oparg;
  |  | 3458|     15|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     15|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3459|     15|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3460|     15|                    _PyFrame_StackPointerValidate(frame);
  |  | 3461|     15|                    PyStackRef_CLOSE(kwnames);
  |  | 3462|     15|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3463|     15|                    if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (3463:25): [True: 0, False: 15]
  |  |  ------------------
  |  | 3464|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3465|      0|                    }
  |  | 3466|     15|                    assert( 4u == 1 + INLINE_CACHE_ENTRIES_CALL_KW);
  |  |  ------------------
  |  |  |  Branch (3466:21): [True: 15, Folded]
  |  |  ------------------
  |  | 3467|     15|                    frame->return_offset = 4u ;
  |  | 3468|     15|                    DISPATCH_INLINED(new_frame);
  |  |  ------------------
  |  |  |  |  223|     15|    do {                                                         \
  |  |  |  |  224|     15|        assert(!IS_PEP523_HOOKED(tstate));                       \
  |  |  |  |  225|     15|        _PyFrame_SetStackPointer(frame, stack_pointer);          \
  |  |  |  |  226|     15|        _PyFrame_StackPointerValidate(frame);                    \
  |  |  |  |  227|     15|        assert((NEW_FRAME)->previous == frame);                  \
  |  |  |  |  228|     15|        frame = tstate->current_frame = (NEW_FRAME);             \
  |  |  |  |  229|     15|        CALL_STAT_INC(inlined_py_calls);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  |   76|     15|#define CALL_STAT_INC(name) ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  230|     15|        JUMP_TO_LABEL(start_frame);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|     15|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  231|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3468:21): [True: 15, False: 0]
  |  |  |  Branch (3468:21): [True: 15, False: 0]
  |  |  ------------------
  |  | 3469|     15|                }
  |  | 3470|     82|                stack_pointer[-3 - oparg] = callable;
  |  | 3471|     82|                stack_pointer[-2 - oparg] = self_or_null;
  |  | 3472|     82|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3473|     82|                _PyFrame_StackPointerValidate(frame);
  |  | 3474|     82|                PyObject* res_o = _Py_VectorCallInstrumentation_StackRefSteal(
  |  | 3475|     82|                    callable,
  |  | 3476|     82|                    arguments,
  |  | 3477|     82|                    total_args,
  |  | 3478|     82|                    kwnames,
  |  | 3479|     82|                    opcode == INSTRUMENTED_CALL_KW,
  |  |  ------------------
  |  |  |  |  238|     82|#define INSTRUMENTED_CALL_KW                   250
  |  |  ------------------
  |  | 3480|     82|                    frame,
  |  | 3481|     82|                    this_instr,
  |  | 3482|     82|                    tstate);
  |  | 3483|     82|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3484|     82|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3484:21): [True: 0, False: 82]
  |  |  ------------------
  |  | 3485|      0|                    stack_pointer += -3 - oparg;
  |  | 3486|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3487|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3488|      0|                }
  |  | 3489|     82|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 3490|     82|            }
  |  | 3491|      0|            stack_pointer[-3 - oparg] = res;
  |  | 3492|     82|            stack_pointer += -2 - oparg;
  |  | 3493|     82|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     82|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3494|     82|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     82|    { \
  |  |  |  |  201|     82|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     82|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     82|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     82|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     82|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     82|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     82|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     82|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 82]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     82|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     82|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     82|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     82|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     82|    }
  |  |  ------------------
  |  | 3495|     82|        }
  |  | 3496|       |
  |  | 3497|      0|        TARGET(CALL_KW_BOUND_METHOD) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3498|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3499|       |            int opcode = CALL_KW_BOUND_METHOD;
  |  | 3500|       |            (void)(opcode);
  |  | 3501|       |            #endif
  |  | 3502|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3503|      0|            (void)this_instr;
  |  | 3504|      0|            frame->instr_ptr = next_instr;
  |  | 3505|      0|            next_instr += 4;
  |  | 3506|      0|            INSTRUCTION_STATS(CALL_KW_BOUND_METHOD);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3507|      0|            static_assert(INLINE_CACHE_ENTRIES_CALL_KW == 3, "incorrect cache size");
  |  | 3508|      0|            _PyStackRef callable;
  |  | 3509|      0|            _PyStackRef null;
  |  | 3510|      0|            _PyStackRef self_or_null;
  |  | 3511|      0|            _PyStackRef *args;
  |  | 3512|      0|            _PyStackRef kwnames;
  |  | 3513|      0|            _PyStackRef new_frame;
  |  | 3514|       |            /* Skip 1 cache entry */
  |  | 3515|       |            // _CHECK_PEP_523
  |  | 3516|      0|            {
  |  | 3517|      0|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  519|      0|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (519:34): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3518|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3519|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3519:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3520|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3521|      0|                }
  |  | 3522|      0|            }
  |  | 3523|       |            // _CHECK_METHOD_VERSION_KW
  |  | 3524|      0|            {
  |  | 3525|      0|                null = stack_pointer[-2 - oparg];
  |  | 3526|      0|                callable = stack_pointer[-3 - oparg];
  |  | 3527|      0|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 3528|      0|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3529|      0|                if (Py_TYPE(callable_o) != &PyMethod_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 (3529:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3530|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3531|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3531:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3532|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3533|      0|                }
  |  | 3534|      0|                PyObject *func = ((PyMethodObject *)callable_o)->im_func;
  |  | 3535|      0|                if (!PyFunction_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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3535:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3536|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3537|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3537:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3538|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3539|      0|                }
  |  | 3540|      0|                if (((PyFunctionObject *)func)->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (3540:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3541|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3542|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3542:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3543|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3544|      0|                }
  |  | 3545|      0|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3545:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3546|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3547|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3547:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3548|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3549|      0|                }
  |  | 3550|      0|            }
  |  | 3551|       |            // _EXPAND_METHOD_KW
  |  | 3552|      0|            {
  |  | 3553|      0|                self_or_null = null;
  |  | 3554|      0|                assert(PyStackRef_IsNull(self_or_null));
  |  |  ------------------
  |  |  |  Branch (3554:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3555|      0|                _PyStackRef callable_s = callable;
  |  | 3556|      0|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3557|      0|                assert(Py_TYPE(callable_o) == &PyMethod_Type);
  |  |  ------------------
  |  |  |  Branch (3557:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3558|      0|                self_or_null = PyStackRef_FromPyObjectNew(((PyMethodObject *)callable_o)->im_self);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3559|      0|                callable = PyStackRef_FromPyObjectNew(((PyMethodObject *)callable_o)->im_func);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3560|      0|                assert(PyStackRef_FunctionCheck(callable));
  |  |  ------------------
  |  |  |  Branch (3560:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3561|      0|                stack_pointer[-3 - oparg] = callable;
  |  | 3562|      0|                stack_pointer[-2 - oparg] = self_or_null;
  |  | 3563|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3564|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 3565|      0|                PyStackRef_CLOSE(callable_s);
  |  | 3566|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3567|      0|            }
  |  | 3568|       |            // flush
  |  | 3569|       |            // _PY_FRAME_KW
  |  | 3570|      0|            {
  |  | 3571|      0|                kwnames = stack_pointer[-1];
  |  | 3572|      0|                args = &stack_pointer[-1 - oparg];
  |  | 3573|      0|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3574|      0|                int total_args = oparg;
  |  | 3575|      0|                _PyStackRef *arguments = args;
  |  | 3576|      0|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3576:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3577|      0|                    arguments--;
  |  | 3578|      0|                    total_args++;
  |  | 3579|      0|                }
  |  | 3580|      0|                PyObject *kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  |  | 3581|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3582|      0|                assert(Py_TYPE(callable_o) == &PyFunction_Type);
  |  |  ------------------
  |  |  |  Branch (3582:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3583|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3584|      0|                PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  122|      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 (3584:36): [True: 0, False: 0]
  |  |  ------------------
  |  | 3585|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3585:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3586|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 3587|      0|                _PyInterpreterFrame *temp = _PyEvalFramePushAndInit(
  |  | 3588|      0|                    tstate, callable, locals,
  |  | 3589|      0|                    arguments, positional_args, kwnames_o, frame
  |  | 3590|      0|                );
  |  | 3591|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3592|      0|                stack_pointer += -1;
  |  | 3593|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3594|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3595|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 3596|      0|                PyStackRef_CLOSE(kwnames);
  |  | 3597|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3598|      0|                stack_pointer += -2 - oparg;
  |  | 3599|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3600|      0|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (3600:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3601|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3602|      0|                }
  |  | 3603|      0|                new_frame = PyStackRef_Wrap(temp);
  |  | 3604|      0|            }
  |  | 3605|       |            // _SAVE_RETURN_OFFSET
  |  | 3606|      0|            {
  |  | 3607|      0|                #if TIER_ONE
  |  | 3608|      0|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 3609|      0|                #endif
  |  | 3610|       |                #if TIER_TWO
  |  | 3611|       |                frame->return_offset = oparg;
  |  | 3612|       |                #endif
  |  | 3613|      0|            }
  |  | 3614|       |            // _PUSH_FRAME
  |  | 3615|      0|            {
  |  | 3616|      0|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (3616:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3617|      0|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 3618|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3619|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 3620|      0|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (3620:17): [True: 0, False: 0]
  |  |  |  Branch (3620:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3621|      0|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|      0|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 3622|      0|                frame = tstate->current_frame = temp;
  |  | 3623|      0|                tstate->py_recursion_remaining--;
  |  | 3624|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3625|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3626|      0|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  421|      0|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  422|      0|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  423|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3627|       |                #ifdef Py_DEBUG
  |  | 3628|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 3629|       |                #endif
  |  | 3630|      0|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|      0|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 3631|      0|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|      0|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 3632|      0|            }
  |  | 3633|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 3634|      0|        }
  |  | 3635|       |
  |  | 3636|  1.08M|        TARGET(CALL_KW_NON_PY) {
  |  |  ------------------
  |  |  |  |  132|  1.08M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3637|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3638|       |            int opcode = CALL_KW_NON_PY;
  |  | 3639|       |            (void)(opcode);
  |  | 3640|       |            #endif
  |  | 3641|  1.08M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3642|  1.08M|            (void)this_instr;
  |  | 3643|  1.08M|            frame->instr_ptr = next_instr;
  |  | 3644|  1.08M|            next_instr += 4;
  |  | 3645|  1.08M|            INSTRUCTION_STATS(CALL_KW_NON_PY);
  |  |  ------------------
  |  |  |  |   71|  1.08M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3646|  1.08M|            opcode = CALL_KW_NON_PY;
  |  |  ------------------
  |  |  |  |  157|  1.08M|#define CALL_KW_NON_PY                         155
  |  |  ------------------
  |  | 3647|  1.08M|            static_assert(INLINE_CACHE_ENTRIES_CALL_KW == 3, "incorrect cache size");
  |  | 3648|  1.08M|            _PyStackRef callable;
  |  | 3649|  1.08M|            _PyStackRef self_or_null;
  |  | 3650|  1.08M|            _PyStackRef *args;
  |  | 3651|  1.08M|            _PyStackRef kwnames;
  |  | 3652|  1.08M|            _PyStackRef res;
  |  | 3653|       |            /* Skip 1 cache entry */
  |  | 3654|       |            /* Skip 2 cache entries */
  |  | 3655|       |            // _CHECK_IS_NOT_PY_CALLABLE_KW
  |  | 3656|  1.08M|            {
  |  | 3657|  1.08M|                callable = stack_pointer[-3 - oparg];
  |  | 3658|  1.08M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3659|  1.08M|                if (PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|  1.08M|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.08M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 1.08M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3660|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3661|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3661:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3662|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3663|      0|                }
  |  | 3664|  1.08M|                if (Py_TYPE(callable_o) == &PyMethod_Type) {
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3664:21): [True: 0, False: 1.08M]
  |  |  ------------------
  |  | 3665|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3666|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3666:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3667|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3668|      0|                }
  |  | 3669|  1.08M|            }
  |  | 3670|       |            // _CALL_KW_NON_PY
  |  | 3671|  1.08M|            {
  |  | 3672|  1.08M|                kwnames = stack_pointer[-1];
  |  | 3673|  1.08M|                args = &stack_pointer[-1 - oparg];
  |  | 3674|  1.08M|                self_or_null = stack_pointer[-2 - oparg];
  |  | 3675|  1.08M|                #if TIER_ONE
  |  | 3676|  1.08M|                assert(opcode != INSTRUMENTED_CALL);
  |  |  ------------------
  |  |  |  Branch (3676:17): [True: 1.08M, False: 0]
  |  |  ------------------
  |  | 3677|  1.08M|                #endif
  |  | 3678|  1.08M|                int total_args = oparg;
  |  | 3679|  1.08M|                _PyStackRef *arguments = args;
  |  | 3680|  1.08M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  1.08M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.08M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.08M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3680:21): [True: 0, False: 1.08M]
  |  |  ------------------
  |  | 3681|      0|                    arguments--;
  |  | 3682|      0|                    total_args++;
  |  | 3683|      0|                }
  |  | 3684|  1.08M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3685|  1.08M|                _PyFrame_StackPointerValidate(frame);
  |  | 3686|  1.08M|                PyObject *res_o = _Py_VectorCall_StackRefSteal(
  |  | 3687|  1.08M|                    callable,
  |  | 3688|  1.08M|                    arguments,
  |  | 3689|  1.08M|                    total_args,
  |  | 3690|  1.08M|                    kwnames);
  |  | 3691|  1.08M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3692|  1.08M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3692:21): [True: 7, False: 1.08M]
  |  |  ------------------
  |  | 3693|      7|                    stack_pointer += -3 - oparg;
  |  | 3694|      7|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      7|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3695|      7|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      7|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3696|      0|                }
  |  | 3697|  1.08M|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 3698|  1.08M|            }
  |  | 3699|       |            // _CHECK_PERIODIC_AT_END
  |  | 3700|      0|            {
  |  | 3701|  1.08M|                stack_pointer[-3 - oparg] = res;
  |  | 3702|  1.08M|                stack_pointer += -2 - oparg;
  |  | 3703|  1.08M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.08M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3704|  1.08M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3705|  1.08M|                _PyFrame_StackPointerValidate(frame);
  |  | 3706|  1.08M|                int err = check_periodics_at_end(tstate, frame);
  |  | 3707|  1.08M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3708|  1.08M|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (3708:21): [True: 0, False: 1.08M]
  |  |  ------------------
  |  | 3709|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3710|      0|                }
  |  | 3711|  1.08M|            }
  |  | 3712|  1.08M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.08M|    { \
  |  |  |  |  201|  1.08M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.08M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.08M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.08M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.08M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.08M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.08M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.08M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.08M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.08M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.08M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.08M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.08M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.08M|    }
  |  |  ------------------
  |  | 3713|  1.08M|        }
  |  | 3714|       |
  |  | 3715|  3.98k|        TARGET(CALL_KW_PY) {
  |  |  ------------------
  |  |  |  |  132|  3.98k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3716|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3717|       |            int opcode = CALL_KW_PY;
  |  | 3718|       |            (void)(opcode);
  |  | 3719|       |            #endif
  |  | 3720|  3.98k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3721|  3.98k|            (void)this_instr;
  |  | 3722|  3.98k|            frame->instr_ptr = next_instr;
  |  | 3723|  3.98k|            next_instr += 4;
  |  | 3724|  3.98k|            INSTRUCTION_STATS(CALL_KW_PY);
  |  |  ------------------
  |  |  |  |   71|  3.98k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3725|  3.98k|            static_assert(INLINE_CACHE_ENTRIES_CALL_KW == 3, "incorrect cache size");
  |  | 3726|  3.98k|            _PyStackRef callable;
  |  | 3727|  3.98k|            _PyStackRef self_or_null;
  |  | 3728|  3.98k|            _PyStackRef *args;
  |  | 3729|  3.98k|            _PyStackRef kwnames;
  |  | 3730|  3.98k|            _PyStackRef new_frame;
  |  | 3731|       |            /* Skip 1 cache entry */
  |  | 3732|       |            // _CHECK_PEP_523
  |  | 3733|  3.98k|            {
  |  | 3734|  3.98k|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  519|  3.98k|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (519:34): [True: 0, False: 3.98k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3735|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3736|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3736:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3737|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3738|      0|                }
  |  | 3739|  3.98k|            }
  |  | 3740|       |            // _CHECK_FUNCTION_VERSION_KW
  |  | 3741|  3.98k|            {
  |  | 3742|  3.98k|                callable = stack_pointer[-3 - oparg];
  |  | 3743|  3.98k|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 3744|  3.98k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3745|  3.98k|                if (!PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|  3.98k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  3.98k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  3.98k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  3.98k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3745:21): [True: 0, False: 3.98k]
  |  |  ------------------
  |  | 3746|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3747|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3747:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3748|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3749|      0|                }
  |  | 3750|  3.98k|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 3751|  3.98k|                if (func->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (3751:21): [True: 0, False: 3.98k]
  |  |  ------------------
  |  | 3752|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3753|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3753:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3754|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3755|      0|                }
  |  | 3756|  3.98k|            }
  |  | 3757|       |            // _CHECK_RECURSION_REMAINING
  |  | 3758|  3.98k|            {
  |  | 3759|  3.98k|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (3759:21): [True: 0, False: 3.98k]
  |  |  ------------------
  |  | 3760|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3761|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3761:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3762|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3763|      0|                }
  |  | 3764|  3.98k|            }
  |  | 3765|       |            // _PY_FRAME_KW
  |  | 3766|  3.98k|            {
  |  | 3767|  3.98k|                kwnames = stack_pointer[-1];
  |  | 3768|  3.98k|                args = &stack_pointer[-1 - oparg];
  |  | 3769|  3.98k|                self_or_null = stack_pointer[-2 - oparg];
  |  | 3770|  3.98k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3771|  3.98k|                int total_args = oparg;
  |  | 3772|  3.98k|                _PyStackRef *arguments = args;
  |  | 3773|  3.98k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  3.98k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  3.98k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  3.98k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3773:21): [True: 0, False: 3.98k]
  |  |  ------------------
  |  | 3774|      0|                    arguments--;
  |  | 3775|      0|                    total_args++;
  |  | 3776|      0|                }
  |  | 3777|  3.98k|                PyObject *kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  |  | 3778|  3.98k|                int positional_args = total_args - (int)PyTuple_GET_SIZE(kwnames_o);
  |  |  ------------------
  |  |  |  |   27|  3.98k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.98k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.98k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3779|  3.98k|                assert(Py_TYPE(callable_o) == &PyFunction_Type);
  |  |  ------------------
  |  |  |  Branch (3779:17): [True: 3.98k, False: 0]
  |  |  ------------------
  |  | 3780|  3.98k|                int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|  3.98k|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.98k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.98k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3781|  3.98k|                PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  122|  3.98k|#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 (3781:36): [True: 3.98k, False: 0]
  |  |  ------------------
  |  | 3782|  3.98k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3783|  3.98k|                _PyFrame_StackPointerValidate(frame);
  |  | 3784|  3.98k|                _PyInterpreterFrame *temp = _PyEvalFramePushAndInit(
  |  | 3785|  3.98k|                    tstate, callable, locals,
  |  | 3786|  3.98k|                    arguments, positional_args, kwnames_o, frame
  |  | 3787|  3.98k|                );
  |  | 3788|  3.98k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3789|  3.98k|                stack_pointer += -1;
  |  | 3790|  3.98k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.98k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3791|  3.98k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3792|  3.98k|                _PyFrame_StackPointerValidate(frame);
  |  | 3793|  3.98k|                PyStackRef_CLOSE(kwnames);
  |  | 3794|  3.98k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3795|  3.98k|                stack_pointer += -2 - oparg;
  |  | 3796|  3.98k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.98k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3797|  3.98k|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (3797:21): [True: 0, False: 3.98k]
  |  |  ------------------
  |  | 3798|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3799|      0|                }
  |  | 3800|  3.98k|                new_frame = PyStackRef_Wrap(temp);
  |  | 3801|  3.98k|            }
  |  | 3802|       |            // _SAVE_RETURN_OFFSET
  |  | 3803|      0|            {
  |  | 3804|  3.98k|                #if TIER_ONE
  |  | 3805|  3.98k|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 3806|  3.98k|                #endif
  |  | 3807|       |                #if TIER_TWO
  |  | 3808|       |                frame->return_offset = oparg;
  |  | 3809|       |                #endif
  |  | 3810|  3.98k|            }
  |  | 3811|       |            // _PUSH_FRAME
  |  | 3812|  3.98k|            {
  |  | 3813|  3.98k|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (3813:17): [True: 3.98k, False: 0]
  |  |  ------------------
  |  | 3814|  3.98k|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 3815|  3.98k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3816|  3.98k|                _PyFrame_StackPointerValidate(frame);
  |  | 3817|  3.98k|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (3817:17): [True: 3.98k, False: 0]
  |  |  |  Branch (3817:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3818|  3.98k|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  3.98k|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 3819|  3.98k|                frame = tstate->current_frame = temp;
  |  | 3820|  3.98k|                tstate->py_recursion_remaining--;
  |  | 3821|  3.98k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3822|  3.98k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3823|  3.98k|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  421|  3.98k|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  422|  3.98k|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  423|  3.98k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:14): [Folded, False: 3.98k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3824|       |                #ifdef Py_DEBUG
  |  | 3825|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 3826|       |                #endif
  |  | 3827|  3.98k|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|  3.98k|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 3828|  3.98k|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  3.98k|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 3829|  3.98k|            }
  |  | 3830|  3.98k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.98k|    { \
  |  |  |  |  201|  3.98k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.98k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.98k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.98k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  3.98k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.98k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.98k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.98k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.98k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.98k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.98k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.98k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.98k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.98k|    }
  |  |  ------------------
  |  | 3831|  3.98k|        }
  |  | 3832|       |
  |  | 3833|  33.0M|        TARGET(CALL_LEN) {
  |  |  ------------------
  |  |  |  |  132|  33.0M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3834|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3835|       |            int opcode = CALL_LEN;
  |  | 3836|       |            (void)(opcode);
  |  | 3837|       |            #endif
  |  | 3838|  33.0M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3839|  33.0M|            (void)this_instr;
  |  | 3840|  33.0M|            frame->instr_ptr = next_instr;
  |  | 3841|  33.0M|            next_instr += 4;
  |  | 3842|  33.0M|            INSTRUCTION_STATS(CALL_LEN);
  |  |  ------------------
  |  |  |  |   71|  33.0M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3843|  33.0M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 3844|  33.0M|            _PyStackRef null;
  |  | 3845|  33.0M|            _PyStackRef callable;
  |  | 3846|  33.0M|            _PyStackRef arg;
  |  | 3847|  33.0M|            _PyStackRef res;
  |  | 3848|  33.0M|            _PyStackRef a;
  |  | 3849|  33.0M|            _PyStackRef c;
  |  | 3850|  33.0M|            _PyStackRef value;
  |  | 3851|       |            /* Skip 1 cache entry */
  |  | 3852|       |            /* Skip 2 cache entries */
  |  | 3853|       |            // _GUARD_NOS_NULL
  |  | 3854|  33.0M|            {
  |  | 3855|  33.0M|                null = stack_pointer[-2];
  |  | 3856|  33.0M|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|  33.0M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  33.0M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  33.0M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3856:21): [True: 0, False: 33.0M]
  |  |  ------------------
  |  | 3857|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3858|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (3858:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3859|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3860|      0|                }
  |  | 3861|  33.0M|            }
  |  | 3862|       |            // _GUARD_CALLABLE_LEN
  |  | 3863|  33.0M|            {
  |  | 3864|  33.0M|                callable = stack_pointer[-3];
  |  | 3865|  33.0M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3866|  33.0M|                PyInterpreterState *interp = tstate->interp;
  |  | 3867|  33.0M|                if (callable_o != interp->callable_cache.len) {
  |  |  ------------------
  |  |  |  Branch (3867:21): [True: 0, False: 33.0M]
  |  |  ------------------
  |  | 3868|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3869|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (3869:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3870|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3871|      0|                }
  |  | 3872|  33.0M|            }
  |  | 3873|       |            // _CALL_LEN
  |  | 3874|  33.0M|            {
  |  | 3875|  33.0M|                arg = stack_pointer[-1];
  |  | 3876|  33.0M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  33.0M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 3877|  33.0M|                PyObject *arg_o = PyStackRef_AsPyObjectBorrow(arg);
  |  | 3878|  33.0M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3879|  33.0M|                _PyFrame_StackPointerValidate(frame);
  |  | 3880|  33.0M|                Py_ssize_t len_i = PyObject_Length(arg_o);
  |  |  ------------------
  |  |  |  |  353|  33.0M|#define PyObject_Length PyObject_Size
  |  |  ------------------
  |  | 3881|  33.0M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3882|  33.0M|                if (len_i < 0) {
  |  |  ------------------
  |  |  |  Branch (3882:21): [True: 0, False: 33.0M]
  |  |  ------------------
  |  | 3883|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3884|      0|                }
  |  | 3885|  33.0M|                PyObject *res_o = PyLong_FromSsize_t(len_i);
  |  | 3886|  33.0M|                assert((res_o != NULL) ^ (_PyErr_Occurred(tstate) != NULL));
  |  |  ------------------
  |  |  |  Branch (3886:17): [True: 33.0M, False: 0]
  |  |  ------------------
  |  | 3887|  33.0M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3887:21): [True: 0, False: 33.0M]
  |  |  ------------------
  |  | 3888|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3889|      0|                }
  |  | 3890|  33.0M|                a = arg;
  |  | 3891|  33.0M|                c = callable;
  |  | 3892|  33.0M|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 3893|  33.0M|            }
  |  | 3894|       |            // _POP_TOP
  |  | 3895|      0|            {
  |  | 3896|  33.0M|                value = c;
  |  | 3897|  33.0M|                stack_pointer[-3] = res;
  |  | 3898|  33.0M|                stack_pointer[-2] = a;
  |  | 3899|  33.0M|                stack_pointer += -1;
  |  | 3900|  33.0M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  33.0M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3901|  33.0M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3902|  33.0M|                _PyFrame_StackPointerValidate(frame);
  |  | 3903|  33.0M|                PyStackRef_XCLOSE(value);
  |  | 3904|  33.0M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3905|  33.0M|            }
  |  | 3906|       |            // _POP_TOP
  |  | 3907|  33.0M|            {
  |  | 3908|  33.0M|                value = a;
  |  | 3909|  33.0M|                stack_pointer += -1;
  |  | 3910|  33.0M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  33.0M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3911|  33.0M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3912|  33.0M|                _PyFrame_StackPointerValidate(frame);
  |  | 3913|  33.0M|                PyStackRef_XCLOSE(value);
  |  | 3914|  33.0M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3915|  33.0M|            }
  |  | 3916|  33.0M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  33.0M|    { \
  |  |  |  |  201|  33.0M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  33.0M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  33.0M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  33.0M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  33.0M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  33.0M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  33.0M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  33.0M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 33.0M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  33.0M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  33.0M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  33.0M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  33.0M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  33.0M|    }
  |  |  ------------------
  |  | 3917|  33.0M|        }
  |  | 3918|       |
  |  | 3919|  14.3M|        TARGET(CALL_LIST_APPEND) {
  |  |  ------------------
  |  |  |  |  132|  14.3M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3920|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3921|       |            int opcode = CALL_LIST_APPEND;
  |  | 3922|       |            (void)(opcode);
  |  | 3923|       |            #endif
  |  | 3924|  14.3M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3925|  14.3M|            (void)this_instr;
  |  | 3926|  14.3M|            frame->instr_ptr = next_instr;
  |  | 3927|  14.3M|            next_instr += 4;
  |  | 3928|  14.3M|            INSTRUCTION_STATS(CALL_LIST_APPEND);
  |  |  ------------------
  |  |  |  |   71|  14.3M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3929|  14.3M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 3930|  14.3M|            _PyStackRef callable;
  |  | 3931|  14.3M|            _PyStackRef nos;
  |  | 3932|  14.3M|            _PyStackRef self;
  |  | 3933|  14.3M|            _PyStackRef arg;
  |  | 3934|  14.3M|            _PyStackRef none;
  |  | 3935|  14.3M|            _PyStackRef c;
  |  | 3936|  14.3M|            _PyStackRef s;
  |  | 3937|  14.3M|            _PyStackRef value;
  |  | 3938|       |            /* Skip 1 cache entry */
  |  | 3939|       |            /* Skip 2 cache entries */
  |  | 3940|       |            // _GUARD_CALLABLE_LIST_APPEND
  |  | 3941|  14.3M|            {
  |  | 3942|  14.3M|                callable = stack_pointer[-3];
  |  | 3943|  14.3M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3944|  14.3M|                PyInterpreterState *interp = tstate->interp;
  |  | 3945|  14.3M|                if (callable_o != interp->callable_cache.list_append) {
  |  |  ------------------
  |  |  |  Branch (3945:21): [True: 0, False: 14.3M]
  |  |  ------------------
  |  | 3946|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3947|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (3947:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3948|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3949|      0|                }
  |  | 3950|  14.3M|            }
  |  | 3951|       |            // _GUARD_NOS_NOT_NULL
  |  | 3952|  14.3M|            {
  |  | 3953|  14.3M|                nos = stack_pointer[-2];
  |  | 3954|  14.3M|                if (PyStackRef_IsNull(nos)) {
  |  |  ------------------
  |  |  |  |  482|  14.3M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  14.3M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  14.3M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 14.3M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3955|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3956|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (3956:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3957|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3958|      0|                }
  |  | 3959|  14.3M|            }
  |  | 3960|       |            // _GUARD_NOS_LIST
  |  | 3961|  14.3M|            {
  |  | 3962|  14.3M|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  | 3963|  14.3M|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   26|  14.3M|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  14.3M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  14.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  14.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3963:21): [True: 0, False: 14.3M]
  |  |  ------------------
  |  | 3964|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3965|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (3965:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3966|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3967|      0|                }
  |  | 3968|  14.3M|            }
  |  | 3969|       |            // _CALL_LIST_APPEND
  |  | 3970|  14.3M|            {
  |  | 3971|  14.3M|                arg = stack_pointer[-1];
  |  | 3972|  14.3M|                self = nos;
  |  | 3973|  14.3M|                assert(oparg == 1);
  |  |  ------------------
  |  |  |  Branch (3973:17): [True: 14.3M, False: 0]
  |  |  ------------------
  |  | 3974|  14.3M|                PyObject *self_o = PyStackRef_AsPyObjectBorrow(self);
  |  | 3975|  14.3M|                if (!LOCK_OBJECT(self_o)) {
  |  |  ------------------
  |  |  |  |  322|  14.3M|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (3975:21): [Folded, False: 14.3M]
  |  |  ------------------
  |  | 3976|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3977|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (3977:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3978|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3979|      0|                }
  |  | 3980|  14.3M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  14.3M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 3981|  14.3M|                int err = _PyList_AppendTakeRef((PyListObject *)self_o, PyStackRef_AsPyObjectSteal(arg));
  |  | 3982|  14.3M|                UNLOCK_OBJECT(self_o);
  |  |  ------------------
  |  |  |  |  323|  14.3M|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  | 3983|  14.3M|                if (err) {
  |  |  ------------------
  |  |  |  Branch (3983:21): [True: 0, False: 14.3M]
  |  |  ------------------
  |  | 3984|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3985|      0|                }
  |  | 3986|  14.3M|                c = callable;
  |  | 3987|  14.3M|                s = self;
  |  | 3988|  14.3M|                none = PyStackRef_None;
  |  |  ------------------
  |  |  |  |  485|  14.3M|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  14.3M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3989|  14.3M|            }
  |  | 3990|       |            // _POP_TOP
  |  | 3991|      0|            {
  |  | 3992|  14.3M|                value = s;
  |  | 3993|  14.3M|                stack_pointer[-3] = none;
  |  | 3994|  14.3M|                stack_pointer[-2] = c;
  |  | 3995|  14.3M|                stack_pointer += -1;
  |  | 3996|  14.3M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  14.3M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3997|  14.3M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3998|  14.3M|                _PyFrame_StackPointerValidate(frame);
  |  | 3999|  14.3M|                PyStackRef_XCLOSE(value);
  |  | 4000|  14.3M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4001|  14.3M|            }
  |  | 4002|       |            // _POP_TOP
  |  | 4003|  14.3M|            {
  |  | 4004|  14.3M|                value = c;
  |  | 4005|  14.3M|                stack_pointer += -1;
  |  | 4006|  14.3M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  14.3M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4007|  14.3M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4008|  14.3M|                _PyFrame_StackPointerValidate(frame);
  |  | 4009|  14.3M|                PyStackRef_XCLOSE(value);
  |  | 4010|  14.3M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4011|  14.3M|            }
  |  | 4012|  14.3M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  14.3M|    { \
  |  |  |  |  201|  14.3M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  14.3M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  14.3M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  14.3M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  14.3M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  14.3M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  14.3M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  14.3M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 4013|  14.3M|        }
  |  | 4014|       |
  |  | 4015|  2.52M|        TARGET(CALL_METHOD_DESCRIPTOR_FAST) {
  |  |  ------------------
  |  |  |  |  132|  2.52M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4016|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4017|       |            int opcode = CALL_METHOD_DESCRIPTOR_FAST;
  |  | 4018|       |            (void)(opcode);
  |  | 4019|       |            #endif
  |  | 4020|  2.52M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4021|  2.52M|            (void)this_instr;
  |  | 4022|  2.52M|            frame->instr_ptr = next_instr;
  |  | 4023|  2.52M|            next_instr += 4;
  |  | 4024|  2.52M|            INSTRUCTION_STATS(CALL_METHOD_DESCRIPTOR_FAST);
  |  |  ------------------
  |  |  |  |   71|  2.52M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4025|  2.52M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4026|  2.52M|            _PyStackRef callable;
  |  | 4027|  2.52M|            _PyStackRef self_or_null;
  |  | 4028|  2.52M|            _PyStackRef *args;
  |  | 4029|  2.52M|            _PyStackRef value;
  |  | 4030|       |            /* Skip 1 cache entry */
  |  | 4031|       |            /* Skip 2 cache entries */
  |  | 4032|       |            // _GUARD_CALLABLE_METHOD_DESCRIPTOR_FAST
  |  | 4033|  2.52M|            {
  |  | 4034|  2.52M|                args = &stack_pointer[-oparg];
  |  | 4035|  2.52M|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4036|  2.52M|                callable = stack_pointer[-2 - oparg];
  |  | 4037|  2.52M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4038|  2.52M|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4039|  2.52M|                if (!Py_IS_TYPE(method, &PyMethodDescr_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 (4039:21): [True: 0, False: 2.52M]
  |  |  ------------------
  |  | 4040|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4041|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4041:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4042|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4043|      0|                }
  |  | 4044|  2.52M|                if (method->d_method->ml_flags != METH_FASTCALL) {
  |  |  ------------------
  |  |  |  |  115|  2.52M|#  define METH_FASTCALL  0x0080
  |  |  ------------------
  |  |  |  Branch (4044:21): [True: 0, False: 2.52M]
  |  |  ------------------
  |  | 4045|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4046|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4046:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4047|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4048|      0|                }
  |  | 4049|  2.52M|                int total_args = oparg;
  |  | 4050|  2.52M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  2.52M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  2.52M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.52M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4050:21): [True: 2.52M, False: 0]
  |  |  ------------------
  |  | 4051|  2.52M|                    total_args++;
  |  | 4052|  2.52M|                }
  |  | 4053|  2.52M|                if (total_args == 0) {
  |  |  ------------------
  |  |  |  Branch (4053:21): [True: 0, False: 2.52M]
  |  |  ------------------
  |  | 4054|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4055|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4055:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4056|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4057|      0|                }
  |  | 4058|  2.52M|                PyObject *self = PyStackRef_AsPyObjectBorrow(
  |  | 4059|  2.52M|                    PyStackRef_IsNull(self_or_null) ? args[0] : self_or_null);
  |  |  ------------------
  |  |  |  |  482|  2.52M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  2.52M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.52M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 2.52M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4060|  2.52M|                if (!Py_IS_TYPE(self, method->d_common.d_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 (4060:21): [True: 26, False: 2.52M]
  |  |  ------------------
  |  | 4061|     26|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|     26|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4062|     26|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4062:21): [True: 26, False: 0]
  |  |  ------------------
  |  | 4063|     26|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|     26|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4064|      0|                }
  |  | 4065|  2.52M|            }
  |  | 4066|       |            // _CALL_METHOD_DESCRIPTOR_FAST
  |  | 4067|  2.52M|            {
  |  | 4068|  2.52M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4069|  2.52M|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4070|  2.52M|                int total_args = oparg;
  |  | 4071|  2.52M|                _PyStackRef *arguments = args;
  |  | 4072|  2.52M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  2.52M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  2.52M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.52M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4072:21): [True: 2.52M, False: 0]
  |  |  ------------------
  |  | 4073|  2.52M|                    arguments--;
  |  | 4074|  2.52M|                    total_args++;
  |  | 4075|  2.52M|                }
  |  | 4076|  2.52M|                PyObject *self = PyStackRef_AsPyObjectBorrow(arguments[0]);
  |  | 4077|  2.52M|                assert(self != NULL);
  |  |  ------------------
  |  |  |  Branch (4077:17): [True: 2.52M, False: 0]
  |  |  ------------------
  |  | 4078|  2.52M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  2.52M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4079|  2.52M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4080|  2.52M|                _PyFrame_StackPointerValidate(frame);
  |  | 4081|  2.52M|                PyCFunctionFast cfunc = _PyCFunctionFast_CAST(method->d_method->ml_meth);
  |  |  ------------------
  |  |  |  |   58|  2.52M|    _Py_FUNC_CAST(PyCFunctionFast, func)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  2.52M|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4082|  2.52M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4083|  2.52M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4083:17): [True: 2.52M, False: 0]
  |  |  ------------------
  |  | 4084|  2.52M|                _PyFrame_StackPointerValidate(frame);
  |  | 4085|  2.52M|                PyObject *res_o = _PyCallMethodDescriptorFast_StackRef(
  |  | 4086|  2.52M|                    callable,
  |  | 4087|  2.52M|                    cfunc,
  |  | 4088|  2.52M|                    self,
  |  | 4089|  2.52M|                    arguments,
  |  | 4090|  2.52M|                    total_args
  |  | 4091|  2.52M|                );
  |  | 4092|  2.52M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4093|  2.52M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4093:21): [True: 0, False: 2.52M]
  |  |  ------------------
  |  | 4094|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4095|      0|                }
  |  | 4096|  2.52M|                _PyStackRef temp = callable;
  |  | 4097|  2.52M|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4098|  2.52M|                stack_pointer[-2 - oparg] = callable;
  |  | 4099|  2.52M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4099:17): [True: 2.52M, False: 0]
  |  |  ------------------
  |  | 4100|  2.52M|                _PyFrame_StackPointerValidate(frame);
  |  | 4101|  2.52M|                PyStackRef_CLOSE(temp);
  |  | 4102|  2.52M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4103|  2.52M|            }
  |  | 4104|       |            // _POP_TOP_OPARG
  |  | 4105|      0|            {
  |  | 4106|  2.52M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4106:17): [True: 2.52M, False: 0]
  |  |  ------------------
  |  | 4107|  2.52M|                _PyFrame_StackPointerValidate(frame);
  |  | 4108|  2.52M|                _PyStackRef_CloseStack(args, oparg);
  |  | 4109|  2.52M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4110|  2.52M|            }
  |  | 4111|       |            // _POP_TOP
  |  | 4112|      0|            {
  |  | 4113|  2.52M|                value = self_or_null;
  |  | 4114|  2.52M|                stack_pointer += -1 - oparg;
  |  | 4115|  2.52M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.52M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4116|  2.52M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4117|  2.52M|                _PyFrame_StackPointerValidate(frame);
  |  | 4118|  2.52M|                PyStackRef_XCLOSE(value);
  |  | 4119|  2.52M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4120|  2.52M|            }
  |  | 4121|       |            // _CHECK_PERIODIC_AT_END
  |  | 4122|  2.52M|            {
  |  | 4123|  2.52M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4123:17): [True: 2.52M, False: 0]
  |  |  ------------------
  |  | 4124|  2.52M|                _PyFrame_StackPointerValidate(frame);
  |  | 4125|  2.52M|                int err = check_periodics_at_end(tstate, frame);
  |  | 4126|  2.52M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4127|  2.52M|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4127:21): [True: 0, False: 2.52M]
  |  |  ------------------
  |  | 4128|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4129|      0|                }
  |  | 4130|  2.52M|            }
  |  | 4131|  2.52M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.52M|    { \
  |  |  |  |  201|  2.52M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.52M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.52M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.52M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.52M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.52M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.52M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.52M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 4132|  2.52M|        }
  |  | 4133|       |
  |  | 4134|  67.8k|        TARGET(CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS) {
  |  |  ------------------
  |  |  |  |  132|  67.8k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4135|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4136|       |            int opcode = CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS;
  |  | 4137|       |            (void)(opcode);
  |  | 4138|       |            #endif
  |  | 4139|  67.8k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4140|  67.8k|            (void)this_instr;
  |  | 4141|  67.8k|            frame->instr_ptr = next_instr;
  |  | 4142|  67.8k|            next_instr += 4;
  |  | 4143|  67.8k|            INSTRUCTION_STATS(CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS);
  |  |  ------------------
  |  |  |  |   71|  67.8k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4144|  67.8k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4145|  67.8k|            _PyStackRef callable;
  |  | 4146|  67.8k|            _PyStackRef self_or_null;
  |  | 4147|  67.8k|            _PyStackRef *args;
  |  | 4148|  67.8k|            _PyStackRef value;
  |  | 4149|       |            /* Skip 1 cache entry */
  |  | 4150|       |            /* Skip 2 cache entries */
  |  | 4151|       |            // _GUARD_CALLABLE_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS
  |  | 4152|  67.8k|            {
  |  | 4153|  67.8k|                args = &stack_pointer[-oparg];
  |  | 4154|  67.8k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4155|  67.8k|                callable = stack_pointer[-2 - oparg];
  |  | 4156|  67.8k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4157|  67.8k|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4158|  67.8k|                if (!Py_IS_TYPE(method, &PyMethodDescr_Type)) {
  |  |  ------------------
  |  |  |  |   65|  67.8k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  67.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  67.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4158:21): [True: 0, False: 67.8k]
  |  |  ------------------
  |  | 4159|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4160|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4160:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4161|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4162|      0|                }
  |  | 4163|  67.8k|                if (method->d_method->ml_flags != (METH_FASTCALL|METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |  115|  67.8k|#  define METH_FASTCALL  0x0080
  |  |  ------------------
  |  |                               if (method->d_method->ml_flags != (METH_FASTCALL|METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |   96|  67.8k|#define METH_KEYWORDS 0x0002
  |  |  ------------------
  |  |  |  Branch (4163:21): [True: 0, False: 67.8k]
  |  |  ------------------
  |  | 4164|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4165|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4165:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4166|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4167|      0|                }
  |  | 4168|  67.8k|                int total_args = oparg;
  |  | 4169|  67.8k|                _PyStackRef *arguments = args;
  |  | 4170|  67.8k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  67.8k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  67.8k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  67.8k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4170:21): [True: 67.8k, False: 0]
  |  |  ------------------
  |  | 4171|  67.8k|                    arguments--;
  |  | 4172|  67.8k|                    total_args++;
  |  | 4173|  67.8k|                }
  |  | 4174|  67.8k|                if (total_args == 0) {
  |  |  ------------------
  |  |  |  Branch (4174:21): [True: 0, False: 67.8k]
  |  |  ------------------
  |  | 4175|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4176|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4176:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4177|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4178|      0|                }
  |  | 4179|  67.8k|                PyObject *self = PyStackRef_AsPyObjectBorrow(arguments[0]);
  |  | 4180|  67.8k|                if (!Py_IS_TYPE(self, method->d_common.d_type)) {
  |  |  ------------------
  |  |  |  |   65|  67.8k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  67.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  67.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4180:21): [True: 0, False: 67.8k]
  |  |  ------------------
  |  | 4181|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4182|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4182:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4183|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4184|      0|                }
  |  | 4185|  67.8k|            }
  |  | 4186|       |            // _CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS
  |  | 4187|  67.8k|            {
  |  | 4188|  67.8k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4189|  67.8k|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4190|  67.8k|                int total_args = oparg;
  |  | 4191|  67.8k|                _PyStackRef *arguments = args;
  |  | 4192|  67.8k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  67.8k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  67.8k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  67.8k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4192:21): [True: 67.8k, False: 0]
  |  |  ------------------
  |  | 4193|  67.8k|                    arguments--;
  |  | 4194|  67.8k|                    total_args++;
  |  | 4195|  67.8k|                }
  |  | 4196|  67.8k|                PyObject *self = PyStackRef_AsPyObjectBorrow(arguments[0]);
  |  | 4197|  67.8k|                assert(self != NULL);
  |  |  ------------------
  |  |  |  Branch (4197:17): [True: 67.8k, False: 0]
  |  |  ------------------
  |  | 4198|  67.8k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  67.8k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4199|  67.8k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4200|  67.8k|                _PyFrame_StackPointerValidate(frame);
  |  | 4201|  67.8k|                PyCFunctionFastWithKeywords cfunc = _PyCFunctionFastWithKeywords_CAST(method->d_method->ml_meth);
  |  |  ------------------
  |  |  |  |   62|  67.8k|    _Py_FUNC_CAST(PyCFunctionFastWithKeywords, func)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  67.8k|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  67.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4202|  67.8k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4203|  67.8k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4203:17): [True: 67.8k, False: 0]
  |  |  ------------------
  |  | 4204|  67.8k|                _PyFrame_StackPointerValidate(frame);
  |  | 4205|  67.8k|                PyObject *res_o = _PyCallMethodDescriptorFastWithKeywords_StackRef(
  |  | 4206|  67.8k|                    callable,
  |  | 4207|  67.8k|                    cfunc,
  |  | 4208|  67.8k|                    self,
  |  | 4209|  67.8k|                    arguments,
  |  | 4210|  67.8k|                    total_args
  |  | 4211|  67.8k|                );
  |  | 4212|  67.8k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4213|  67.8k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4213:21): [True: 0, False: 67.8k]
  |  |  ------------------
  |  | 4214|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4215|      0|                }
  |  | 4216|  67.8k|                _PyStackRef temp = callable;
  |  | 4217|  67.8k|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4218|  67.8k|                stack_pointer[-2 - oparg] = callable;
  |  | 4219|  67.8k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4219:17): [True: 67.8k, False: 0]
  |  |  ------------------
  |  | 4220|  67.8k|                _PyFrame_StackPointerValidate(frame);
  |  | 4221|  67.8k|                PyStackRef_CLOSE(temp);
  |  | 4222|  67.8k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4223|  67.8k|            }
  |  | 4224|       |            // _POP_TOP_OPARG
  |  | 4225|      0|            {
  |  | 4226|  67.8k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4226:17): [True: 67.8k, False: 0]
  |  |  ------------------
  |  | 4227|  67.8k|                _PyFrame_StackPointerValidate(frame);
  |  | 4228|  67.8k|                _PyStackRef_CloseStack(args, oparg);
  |  | 4229|  67.8k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4230|  67.8k|            }
  |  | 4231|       |            // _POP_TOP
  |  | 4232|      0|            {
  |  | 4233|  67.8k|                value = self_or_null;
  |  | 4234|  67.8k|                stack_pointer += -1 - oparg;
  |  | 4235|  67.8k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  67.8k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4236|  67.8k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4237|  67.8k|                _PyFrame_StackPointerValidate(frame);
  |  | 4238|  67.8k|                PyStackRef_XCLOSE(value);
  |  | 4239|  67.8k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4240|  67.8k|            }
  |  | 4241|       |            // _CHECK_PERIODIC_AT_END
  |  | 4242|  67.8k|            {
  |  | 4243|  67.8k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4243:17): [True: 67.8k, False: 0]
  |  |  ------------------
  |  | 4244|  67.8k|                _PyFrame_StackPointerValidate(frame);
  |  | 4245|  67.8k|                int err = check_periodics_at_end(tstate, frame);
  |  | 4246|  67.8k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4247|  67.8k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4247:21): [True: 0, False: 67.8k]
  |  |  ------------------
  |  | 4248|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4249|      0|                }
  |  | 4250|  67.8k|            }
  |  | 4251|  67.8k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  67.8k|    { \
  |  |  |  |  201|  67.8k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  67.8k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  67.8k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  67.8k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  67.8k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  67.8k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  67.8k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  67.8k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 67.8k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  67.8k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  67.8k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  67.8k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  67.8k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  67.8k|    }
  |  |  ------------------
  |  | 4252|  67.8k|        }
  |  | 4253|       |
  |  | 4254|  20.6k|        TARGET(CALL_METHOD_DESCRIPTOR_NOARGS) {
  |  |  ------------------
  |  |  |  |  132|  20.6k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4255|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4256|       |            int opcode = CALL_METHOD_DESCRIPTOR_NOARGS;
  |  | 4257|       |            (void)(opcode);
  |  | 4258|       |            #endif
  |  | 4259|  20.6k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4260|  20.6k|            (void)this_instr;
  |  | 4261|  20.6k|            frame->instr_ptr = next_instr;
  |  | 4262|  20.6k|            next_instr += 4;
  |  | 4263|  20.6k|            INSTRUCTION_STATS(CALL_METHOD_DESCRIPTOR_NOARGS);
  |  |  ------------------
  |  |  |  |   71|  20.6k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4264|  20.6k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4265|  20.6k|            _PyStackRef callable;
  |  | 4266|  20.6k|            _PyStackRef self_or_null;
  |  | 4267|  20.6k|            _PyStackRef *args;
  |  | 4268|  20.6k|            _PyStackRef res;
  |  | 4269|  20.6k|            _PyStackRef c;
  |  | 4270|  20.6k|            _PyStackRef s;
  |  | 4271|  20.6k|            _PyStackRef value;
  |  | 4272|       |            /* Skip 1 cache entry */
  |  | 4273|       |            /* Skip 2 cache entries */
  |  | 4274|       |            // _GUARD_CALLABLE_METHOD_DESCRIPTOR_NOARGS
  |  | 4275|  20.6k|            {
  |  | 4276|  20.6k|                args = &stack_pointer[-oparg];
  |  | 4277|  20.6k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4278|  20.6k|                callable = stack_pointer[-2 - oparg];
  |  | 4279|  20.6k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4280|  20.6k|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4281|  20.6k|                if (!Py_IS_TYPE(method, &PyMethodDescr_Type)) {
  |  |  ------------------
  |  |  |  |   65|  20.6k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  20.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  20.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4281:21): [True: 0, False: 20.6k]
  |  |  ------------------
  |  | 4282|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4283|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4283:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4284|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4285|      0|                }
  |  | 4286|  20.6k|                if (method->d_method->ml_flags != METH_NOARGS) {
  |  |  ------------------
  |  |  |  |   98|  20.6k|#define METH_NOARGS   0x0004
  |  |  ------------------
  |  |  |  Branch (4286:21): [True: 0, False: 20.6k]
  |  |  ------------------
  |  | 4287|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4288|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4288:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4289|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4290|      0|                }
  |  | 4291|  20.6k|                int total_args = oparg;
  |  | 4292|  20.6k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  20.6k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  20.6k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  20.6k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4292:21): [True: 20.6k, False: 0]
  |  |  ------------------
  |  | 4293|  20.6k|                    total_args++;
  |  | 4294|  20.6k|                }
  |  | 4295|  20.6k|                if (total_args != 1) {
  |  |  ------------------
  |  |  |  Branch (4295:21): [True: 0, False: 20.6k]
  |  |  ------------------
  |  | 4296|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4297|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4297:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4298|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4299|      0|                }
  |  | 4300|  20.6k|                PyObject *self = PyStackRef_AsPyObjectBorrow(
  |  | 4301|  20.6k|                    PyStackRef_IsNull(self_or_null) ? args[0] : self_or_null);
  |  |  ------------------
  |  |  |  |  482|  20.6k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  20.6k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  20.6k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 20.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4302|  20.6k|                if (!Py_IS_TYPE(self, method->d_common.d_type)) {
  |  |  ------------------
  |  |  |  |   65|  20.6k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  20.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  20.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4302:21): [True: 31, False: 20.6k]
  |  |  ------------------
  |  | 4303|     31|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|     31|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4304|     31|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4304:21): [True: 31, False: 0]
  |  |  ------------------
  |  | 4305|     31|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|     31|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4306|      0|                }
  |  | 4307|  20.6k|            }
  |  | 4308|       |            // _CHECK_RECURSION_LIMIT
  |  | 4309|  20.6k|            {
  |  | 4310|  20.6k|                if (_Py_ReachedRecursionLimit(tstate)) {
  |  |  ------------------
  |  |  |  Branch (4310:21): [True: 0, False: 20.6k]
  |  |  ------------------
  |  | 4311|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4312|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4312:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4313|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4314|      0|                }
  |  | 4315|  20.6k|            }
  |  | 4316|       |            // _CALL_METHOD_DESCRIPTOR_NOARGS
  |  | 4317|  20.6k|            {
  |  | 4318|  20.6k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4319|  20.6k|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4320|  20.6k|                assert(oparg == 1 || !PyStackRef_IsNull(self_or_null));
  |  |  ------------------
  |  |  |  Branch (4320:17): [True: 0, False: 20.6k]
  |  |  |  Branch (4320:17): [True: 20.6k, False: 0]
  |  |  ------------------
  |  | 4321|  20.6k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  20.6k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  20.6k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  20.6k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4321:21): [True: 20.6k, False: 0]
  |  |  ------------------
  |  | 4322|  20.6k|                    args--;
  |  | 4323|  20.6k|                }
  |  | 4324|  20.6k|                _PyStackRef self_stackref = args[0];
  |  | 4325|  20.6k|                PyObject *self = PyStackRef_AsPyObjectBorrow(self_stackref);
  |  | 4326|  20.6k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  20.6k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4327|  20.6k|                PyCFunction cfunc = method->d_method->ml_meth;
  |  | 4328|  20.6k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4329|  20.6k|                _PyFrame_StackPointerValidate(frame);
  |  | 4330|  20.6k|                PyObject *res_o = _PyCFunction_TrampolineCall(cfunc, self, NULL);
  |  |  ------------------
  |  |  |  |  997|  20.6k|    (meth)((self), (args))
  |  |  ------------------
  |  | 4331|  20.6k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4332|  20.6k|                _Py_LeaveRecursiveCallTstate(tstate);
  |  | 4333|  20.6k|                assert((res_o != NULL) ^ (_PyErr_Occurred(tstate) != NULL));
  |  |  ------------------
  |  |  |  Branch (4333:17): [True: 20.6k, False: 0]
  |  |  ------------------
  |  | 4334|  20.6k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4334:21): [True: 0, False: 20.6k]
  |  |  ------------------
  |  | 4335|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4336|      0|                }
  |  | 4337|  20.6k|                c = callable;
  |  | 4338|  20.6k|                s = args[0];
  |  | 4339|  20.6k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4340|  20.6k|            }
  |  | 4341|       |            // _POP_TOP
  |  | 4342|      0|            {
  |  | 4343|  20.6k|                value = s;
  |  | 4344|  20.6k|                stack_pointer[-2 - oparg] = res;
  |  | 4345|  20.6k|                stack_pointer[-1 - oparg] = c;
  |  | 4346|  20.6k|                stack_pointer += -oparg;
  |  | 4347|  20.6k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  20.6k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4348|  20.6k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4349|  20.6k|                _PyFrame_StackPointerValidate(frame);
  |  | 4350|  20.6k|                PyStackRef_XCLOSE(value);
  |  | 4351|  20.6k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4352|  20.6k|            }
  |  | 4353|       |            // _POP_TOP
  |  | 4354|  20.6k|            {
  |  | 4355|  20.6k|                value = c;
  |  | 4356|  20.6k|                stack_pointer += -1;
  |  | 4357|  20.6k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  20.6k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4358|  20.6k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4359|  20.6k|                _PyFrame_StackPointerValidate(frame);
  |  | 4360|  20.6k|                PyStackRef_XCLOSE(value);
  |  | 4361|  20.6k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4362|  20.6k|            }
  |  | 4363|       |            // _CHECK_PERIODIC_AT_END
  |  | 4364|  20.6k|            {
  |  | 4365|  20.6k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4365:17): [True: 20.6k, False: 0]
  |  |  ------------------
  |  | 4366|  20.6k|                _PyFrame_StackPointerValidate(frame);
  |  | 4367|  20.6k|                int err = check_periodics_at_end(tstate, frame);
  |  | 4368|  20.6k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4369|  20.6k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4369:21): [True: 0, False: 20.6k]
  |  |  ------------------
  |  | 4370|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4371|      0|                }
  |  | 4372|  20.6k|            }
  |  | 4373|  20.6k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  20.6k|    { \
  |  |  |  |  201|  20.6k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  20.6k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  20.6k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  20.6k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  20.6k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  20.6k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  20.6k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  20.6k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 20.6k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  20.6k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  20.6k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  20.6k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  20.6k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  20.6k|    }
  |  |  ------------------
  |  | 4374|  20.6k|        }
  |  | 4375|       |
  |  | 4376|   448k|        TARGET(CALL_METHOD_DESCRIPTOR_O) {
  |  |  ------------------
  |  |  |  |  132|   448k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4377|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4378|       |            int opcode = CALL_METHOD_DESCRIPTOR_O;
  |  | 4379|       |            (void)(opcode);
  |  | 4380|       |            #endif
  |  | 4381|   448k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4382|   448k|            (void)this_instr;
  |  | 4383|   448k|            frame->instr_ptr = next_instr;
  |  | 4384|   448k|            next_instr += 4;
  |  | 4385|   448k|            INSTRUCTION_STATS(CALL_METHOD_DESCRIPTOR_O);
  |  |  ------------------
  |  |  |  |   71|   448k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4386|   448k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4387|   448k|            _PyStackRef callable;
  |  | 4388|   448k|            _PyStackRef self_or_null;
  |  | 4389|   448k|            _PyStackRef *args;
  |  | 4390|   448k|            _PyStackRef res;
  |  | 4391|   448k|            _PyStackRef c;
  |  | 4392|   448k|            _PyStackRef s;
  |  | 4393|   448k|            _PyStackRef a;
  |  | 4394|   448k|            _PyStackRef value;
  |  | 4395|       |            /* Skip 1 cache entry */
  |  | 4396|       |            /* Skip 2 cache entries */
  |  | 4397|       |            // _GUARD_CALLABLE_METHOD_DESCRIPTOR_O
  |  | 4398|   448k|            {
  |  | 4399|   448k|                args = &stack_pointer[-oparg];
  |  | 4400|   448k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4401|   448k|                callable = stack_pointer[-2 - oparg];
  |  | 4402|   448k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4403|   448k|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4404|   448k|                if (!Py_IS_TYPE(method, &PyMethodDescr_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 (4404:21): [True: 0, False: 448k]
  |  |  ------------------
  |  | 4405|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4406|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4406:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4407|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4408|      0|                }
  |  | 4409|   448k|                if (method->d_method->ml_flags != METH_O) {
  |  |  ------------------
  |  |  |  |   99|   448k|#define METH_O        0x0008
  |  |  ------------------
  |  |  |  Branch (4409:21): [True: 0, False: 448k]
  |  |  ------------------
  |  | 4410|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4411|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4411:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4412|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4413|      0|                }
  |  | 4414|   448k|                int total_args = oparg;
  |  | 4415|   448k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|   448k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   448k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   448k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4415:21): [True: 448k, False: 0]
  |  |  ------------------
  |  | 4416|   448k|                    total_args++;
  |  | 4417|   448k|                }
  |  | 4418|   448k|                if (total_args != 2) {
  |  |  ------------------
  |  |  |  Branch (4418:21): [True: 0, False: 448k]
  |  |  ------------------
  |  | 4419|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4420|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4420:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4421|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4422|      0|                }
  |  | 4423|   448k|                PyObject *self = PyStackRef_AsPyObjectBorrow(
  |  | 4424|   448k|                    PyStackRef_IsNull(self_or_null) ? args[0] : self_or_null);
  |  |  ------------------
  |  |  |  |  482|   448k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   448k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   448k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 448k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4425|   448k|                if (!Py_IS_TYPE(self, method->d_common.d_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 (4425:21): [True: 238, False: 447k]
  |  |  ------------------
  |  | 4426|    238|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|    238|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4427|    238|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4427:21): [True: 238, False: 0]
  |  |  ------------------
  |  | 4428|    238|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|    238|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4429|      0|                }
  |  | 4430|   448k|            }
  |  | 4431|       |            // _CHECK_RECURSION_LIMIT
  |  | 4432|   447k|            {
  |  | 4433|   447k|                if (_Py_ReachedRecursionLimit(tstate)) {
  |  |  ------------------
  |  |  |  Branch (4433:21): [True: 0, False: 447k]
  |  |  ------------------
  |  | 4434|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4435|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4435:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4436|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4437|      0|                }
  |  | 4438|   447k|            }
  |  | 4439|       |            // _CALL_METHOD_DESCRIPTOR_O
  |  | 4440|   447k|            {
  |  | 4441|   447k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4442|   447k|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4443|   447k|                _PyStackRef *arguments = args;
  |  | 4444|   447k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|   447k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   447k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   447k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4444:21): [True: 447k, False: 0]
  |  |  ------------------
  |  | 4445|   447k|                    arguments--;
  |  | 4446|   447k|                }
  |  | 4447|   447k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|   447k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4448|   447k|                PyCFunction cfunc = method->d_method->ml_meth;
  |  | 4449|   447k|                PyObject *self = PyStackRef_AsPyObjectBorrow(arguments[0]);
  |  | 4450|   447k|                PyObject *arg = PyStackRef_AsPyObjectBorrow(arguments[1]);
  |  | 4451|   447k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4452|   447k|                _PyFrame_StackPointerValidate(frame);
  |  | 4453|   447k|                PyObject *res_o = _PyCFunction_TrampolineCall(cfunc, self, arg);
  |  |  ------------------
  |  |  |  |  997|   447k|    (meth)((self), (args))
  |  |  ------------------
  |  | 4454|   447k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4455|   447k|                _Py_LeaveRecursiveCallTstate(tstate);
  |  | 4456|   447k|                assert((res_o != NULL) ^ (_PyErr_Occurred(tstate) != NULL));
  |  |  ------------------
  |  |  |  Branch (4456:17): [True: 447k, False: 0]
  |  |  ------------------
  |  | 4457|   447k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4457:21): [True: 0, False: 447k]
  |  |  ------------------
  |  | 4458|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4459|      0|                }
  |  | 4460|   447k|                c = callable;
  |  | 4461|   447k|                s = arguments[0];
  |  | 4462|   447k|                a = arguments[1];
  |  | 4463|   447k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4464|   447k|            }
  |  | 4465|       |            // _POP_TOP
  |  | 4466|      0|            {
  |  | 4467|   447k|                value = a;
  |  | 4468|   447k|                stack_pointer[-2 - oparg] = res;
  |  | 4469|   447k|                stack_pointer[-1 - oparg] = c;
  |  | 4470|   447k|                stack_pointer[-oparg] = s;
  |  | 4471|   447k|                stack_pointer += 1 - oparg;
  |  | 4472|   447k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   447k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4473|   447k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4474|   447k|                _PyFrame_StackPointerValidate(frame);
  |  | 4475|   447k|                PyStackRef_XCLOSE(value);
  |  | 4476|   447k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4477|   447k|            }
  |  | 4478|       |            // _POP_TOP
  |  | 4479|   447k|            {
  |  | 4480|   447k|                value = s;
  |  | 4481|   447k|                stack_pointer += -1;
  |  | 4482|   447k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   447k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4483|   447k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4484|   447k|                _PyFrame_StackPointerValidate(frame);
  |  | 4485|   447k|                PyStackRef_XCLOSE(value);
  |  | 4486|   447k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4487|   447k|            }
  |  | 4488|       |            // _POP_TOP
  |  | 4489|   447k|            {
  |  | 4490|   447k|                value = c;
  |  | 4491|   447k|                stack_pointer += -1;
  |  | 4492|   447k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   447k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4493|   447k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4494|   447k|                _PyFrame_StackPointerValidate(frame);
  |  | 4495|   447k|                PyStackRef_XCLOSE(value);
  |  | 4496|   447k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4497|   447k|            }
  |  | 4498|       |            // _CHECK_PERIODIC_AT_END
  |  | 4499|   447k|            {
  |  | 4500|   447k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4500:17): [True: 447k, False: 0]
  |  |  ------------------
  |  | 4501|   447k|                _PyFrame_StackPointerValidate(frame);
  |  | 4502|   447k|                int err = check_periodics_at_end(tstate, frame);
  |  | 4503|   447k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4504|   447k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4504:21): [True: 0, False: 447k]
  |  |  ------------------
  |  | 4505|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4506|      0|                }
  |  | 4507|   447k|            }
  |  | 4508|   447k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   447k|    { \
  |  |  |  |  201|   447k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   447k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   447k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   447k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   447k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   447k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   447k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   447k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 447k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   447k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   447k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   447k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   447k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   447k|    }
  |  |  ------------------
  |  | 4509|   447k|        }
  |  | 4510|       |
  |  | 4511|   170k|        TARGET(CALL_NON_PY_GENERAL) {
  |  |  ------------------
  |  |  |  |  132|   170k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4512|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4513|       |            int opcode = CALL_NON_PY_GENERAL;
  |  | 4514|       |            (void)(opcode);
  |  | 4515|       |            #endif
  |  | 4516|   170k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4517|   170k|            (void)this_instr;
  |  | 4518|   170k|            frame->instr_ptr = next_instr;
  |  | 4519|   170k|            next_instr += 4;
  |  | 4520|   170k|            INSTRUCTION_STATS(CALL_NON_PY_GENERAL);
  |  |  ------------------
  |  |  |  |   71|   170k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4521|   170k|            opcode = CALL_NON_PY_GENERAL;
  |  |  ------------------
  |  |  |  |  165|   170k|#define CALL_NON_PY_GENERAL                    163
  |  |  ------------------
  |  | 4522|   170k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4523|   170k|            _PyStackRef callable;
  |  | 4524|   170k|            _PyStackRef self_or_null;
  |  | 4525|   170k|            _PyStackRef *args;
  |  | 4526|   170k|            _PyStackRef res;
  |  | 4527|       |            /* Skip 1 cache entry */
  |  | 4528|       |            /* Skip 2 cache entries */
  |  | 4529|       |            // _CHECK_IS_NOT_PY_CALLABLE
  |  | 4530|   170k|            {
  |  | 4531|   170k|                callable = stack_pointer[-2 - oparg];
  |  | 4532|   170k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4533|   170k|                if (PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|   170k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   170k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   170k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   170k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 170k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4534|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4535|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4535:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4536|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4537|      0|                }
  |  | 4538|   170k|                if (Py_TYPE(callable_o) == &PyMethod_Type) {
  |  |  ------------------
  |  |  |  |  213|   170k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   170k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   170k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4538:21): [True: 0, False: 170k]
  |  |  ------------------
  |  | 4539|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4540|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4540:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4541|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4542|      0|                }
  |  | 4543|   170k|            }
  |  | 4544|       |            // _CALL_NON_PY_GENERAL
  |  | 4545|   170k|            {
  |  | 4546|   170k|                args = &stack_pointer[-oparg];
  |  | 4547|   170k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4548|   170k|                #if TIER_ONE
  |  | 4549|   170k|                assert(opcode != INSTRUMENTED_CALL);
  |  |  ------------------
  |  |  |  Branch (4549:17): [True: 170k, False: 0]
  |  |  ------------------
  |  | 4550|   170k|                #endif
  |  | 4551|   170k|                int total_args = oparg;
  |  | 4552|   170k|                _PyStackRef *arguments = args;
  |  | 4553|   170k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|   170k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   170k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   170k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4553:21): [True: 2.40k, False: 167k]
  |  |  ------------------
  |  | 4554|  2.40k|                    arguments--;
  |  | 4555|  2.40k|                    total_args++;
  |  | 4556|  2.40k|                }
  |  | 4557|   170k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4558|   170k|                _PyFrame_StackPointerValidate(frame);
  |  | 4559|   170k|                PyObject *res_o = _Py_VectorCall_StackRefSteal(
  |  | 4560|   170k|                    callable,
  |  | 4561|   170k|                    arguments,
  |  | 4562|   170k|                    total_args,
  |  | 4563|   170k|                    PyStackRef_NULL);
  |  | 4564|   170k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4565|   170k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4565:21): [True: 3, False: 170k]
  |  |  ------------------
  |  | 4566|      3|                    stack_pointer += -2 - oparg;
  |  | 4567|      3|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      3|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4568|      3|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      3|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4569|      0|                }
  |  | 4570|   170k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4571|   170k|            }
  |  | 4572|       |            // _CHECK_PERIODIC_AT_END
  |  | 4573|      0|            {
  |  | 4574|   170k|                stack_pointer[-2 - oparg] = res;
  |  | 4575|   170k|                stack_pointer += -1 - oparg;
  |  | 4576|   170k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   170k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4577|   170k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4578|   170k|                _PyFrame_StackPointerValidate(frame);
  |  | 4579|   170k|                int err = check_periodics_at_end(tstate, frame);
  |  | 4580|   170k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4581|   170k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4581:21): [True: 0, False: 170k]
  |  |  ------------------
  |  | 4582|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4583|      0|                }
  |  | 4584|   170k|            }
  |  | 4585|   170k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   170k|    { \
  |  |  |  |  201|   170k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   170k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   170k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   170k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   170k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   170k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   170k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   170k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 170k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   170k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   170k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   170k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   170k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   170k|    }
  |  |  ------------------
  |  | 4586|   170k|        }
  |  | 4587|       |
  |  | 4588|  66.8M|        TARGET(CALL_PY_EXACT_ARGS) {
  |  |  ------------------
  |  |  |  |  132|  66.8M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4589|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4590|       |            int opcode = CALL_PY_EXACT_ARGS;
  |  | 4591|       |            (void)(opcode);
  |  | 4592|       |            #endif
  |  | 4593|  66.8M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4594|  66.8M|            (void)this_instr;
  |  | 4595|  66.8M|            frame->instr_ptr = next_instr;
  |  | 4596|  66.8M|            next_instr += 4;
  |  | 4597|  66.8M|            INSTRUCTION_STATS(CALL_PY_EXACT_ARGS);
  |  |  ------------------
  |  |  |  |   71|  66.8M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4598|  66.8M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4599|  66.8M|            _PyStackRef callable;
  |  | 4600|  66.8M|            _PyStackRef self_or_null;
  |  | 4601|  66.8M|            _PyStackRef *args;
  |  | 4602|  66.8M|            _PyStackRef new_frame;
  |  | 4603|       |            /* Skip 1 cache entry */
  |  | 4604|       |            // _CHECK_PEP_523
  |  | 4605|  66.8M|            {
  |  | 4606|  66.8M|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  519|  66.8M|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (519:34): [True: 0, False: 66.8M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4608|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4608:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4609|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4610|      0|                }
  |  | 4611|  66.8M|            }
  |  | 4612|       |            // _CHECK_FUNCTION_VERSION
  |  | 4613|  66.8M|            {
  |  | 4614|  66.8M|                callable = stack_pointer[-2 - oparg];
  |  | 4615|  66.8M|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 4616|  66.8M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4617|  66.8M|                if (!PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|  66.8M|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  66.8M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  66.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  66.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4617:21): [True: 195k, False: 66.6M]
  |  |  ------------------
  |  | 4618|   195k|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|   195k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4619|   195k|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4619:21): [True: 195k, False: 0]
  |  |  ------------------
  |  | 4620|   195k|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|   195k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4621|      0|                }
  |  | 4622|  66.6M|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 4623|  66.6M|                if (func->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (4623:21): [True: 9.51k, False: 66.6M]
  |  |  ------------------
  |  | 4624|  9.51k|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|  9.51k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4625|  9.51k|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4625:21): [True: 9.51k, False: 0]
  |  |  ------------------
  |  | 4626|  9.51k|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|  9.51k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4627|      0|                }
  |  | 4628|  66.6M|            }
  |  | 4629|       |            // _CHECK_FUNCTION_EXACT_ARGS
  |  | 4630|  66.6M|            {
  |  | 4631|  66.6M|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4632|  66.6M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4633|  66.6M|                assert(PyFunction_Check(callable_o));
  |  |  ------------------
  |  |  |  Branch (4633:17): [True: 66.6M, False: 0]
  |  |  ------------------
  |  | 4634|  66.6M|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 4635|  66.6M|                PyCodeObject *code = (PyCodeObject *)func->func_code;
  |  | 4636|  66.6M|                if (code->co_argcount != oparg + (!PyStackRef_IsNull(self_or_null))) {
  |  |  ------------------
  |  |  |  |  482|  66.6M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  66.6M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  66.6M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4636:21): [True: 0, False: 66.6M]
  |  |  ------------------
  |  | 4637|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4638|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4638:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4639|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4640|      0|                }
  |  | 4641|  66.6M|            }
  |  | 4642|       |            // _CHECK_STACK_SPACE
  |  | 4643|  66.6M|            {
  |  | 4644|  66.6M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4645|  66.6M|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 4646|  66.6M|                PyCodeObject *code = (PyCodeObject *)func->func_code;
  |  | 4647|  66.6M|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (4647:21): [True: 366k, False: 66.2M]
  |  |  ------------------
  |  | 4648|   366k|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|   366k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4649|   366k|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4649:21): [True: 366k, False: 0]
  |  |  ------------------
  |  | 4650|   366k|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|   366k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4651|      0|                }
  |  | 4652|  66.6M|            }
  |  | 4653|       |            // _CHECK_RECURSION_REMAINING
  |  | 4654|  66.2M|            {
  |  | 4655|  66.2M|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (4655:21): [True: 19.0k, False: 66.2M]
  |  |  ------------------
  |  | 4656|  19.0k|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|  19.0k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4657|  19.0k|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4657:21): [True: 19.0k, False: 0]
  |  |  ------------------
  |  | 4658|  19.0k|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|  19.0k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4659|      0|                }
  |  | 4660|  66.2M|            }
  |  | 4661|       |            // _INIT_CALL_PY_EXACT_ARGS
  |  | 4662|  66.2M|            {
  |  | 4663|  66.2M|                args = &stack_pointer[-oparg];
  |  | 4664|  66.2M|                int has_self = !PyStackRef_IsNull(self_or_null);
  |  |  ------------------
  |  |  |  |  482|  66.2M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  66.2M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  66.2M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4665|  66.2M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  66.2M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4666|  66.2M|                _PyInterpreterFrame *pushed_frame = _PyFrame_PushUnchecked(tstate, callable, oparg + has_self, frame);
  |  | 4667|  66.2M|                _PyStackRef *first_non_self_local = pushed_frame->localsplus + has_self;
  |  | 4668|  66.2M|                pushed_frame->localsplus[0] = self_or_null;
  |  | 4669|   139M|                for (int i = 0; i < oparg; i++) {
  |  |  ------------------
  |  |  |  Branch (4669:33): [True: 73.2M, False: 66.2M]
  |  |  ------------------
  |  | 4670|  73.2M|                    first_non_self_local[i] = args[i];
  |  | 4671|  73.2M|                }
  |  | 4672|  66.2M|                new_frame = PyStackRef_Wrap(pushed_frame);
  |  | 4673|  66.2M|            }
  |  | 4674|       |            // _SAVE_RETURN_OFFSET
  |  | 4675|  66.2M|            {
  |  | 4676|  66.2M|                #if TIER_ONE
  |  | 4677|  66.2M|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 4678|  66.2M|                #endif
  |  | 4679|       |                #if TIER_TWO
  |  | 4680|       |                frame->return_offset = oparg;
  |  | 4681|       |                #endif
  |  | 4682|  66.2M|            }
  |  | 4683|       |            // _PUSH_FRAME
  |  | 4684|  66.2M|            {
  |  | 4685|  66.2M|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (4685:17): [True: 66.2M, False: 0]
  |  |  ------------------
  |  | 4686|  66.2M|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 4687|  66.2M|                stack_pointer += -2 - oparg;
  |  | 4688|  66.2M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  66.2M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4689|  66.2M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4690|  66.2M|                _PyFrame_StackPointerValidate(frame);
  |  | 4691|  66.2M|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (4691:17): [True: 66.2M, False: 0]
  |  |  |  Branch (4691:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 4692|  66.2M|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  66.2M|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 4693|  66.2M|                frame = tstate->current_frame = temp;
  |  | 4694|  66.2M|                tstate->py_recursion_remaining--;
  |  | 4695|  66.2M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4696|  66.2M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4697|  66.2M|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  421|  66.2M|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  422|  66.2M|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  423|  66.2M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:14): [Folded, False: 66.2M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4698|       |                #ifdef Py_DEBUG
  |  | 4699|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 4700|       |                #endif
  |  | 4701|  66.2M|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|  66.2M|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 4702|  66.2M|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  66.2M|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 4703|  66.2M|            }
  |  | 4704|  66.2M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  66.2M|    { \
  |  |  |  |  201|  66.2M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  66.2M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  66.2M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  66.2M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  66.2M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  66.2M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  66.2M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  66.2M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 66.2M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  66.2M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  66.2M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  66.2M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  66.2M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  66.2M|    }
  |  |  ------------------
  |  | 4705|  66.2M|        }
  |  | 4706|       |
  |  | 4707|  2.22M|        TARGET(CALL_PY_GENERAL) {
  |  |  ------------------
  |  |  |  |  132|  2.22M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4708|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4709|       |            int opcode = CALL_PY_GENERAL;
  |  | 4710|       |            (void)(opcode);
  |  | 4711|       |            #endif
  |  | 4712|  2.22M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4713|  2.22M|            (void)this_instr;
  |  | 4714|  2.22M|            frame->instr_ptr = next_instr;
  |  | 4715|  2.22M|            next_instr += 4;
  |  | 4716|  2.22M|            INSTRUCTION_STATS(CALL_PY_GENERAL);
  |  |  ------------------
  |  |  |  |   71|  2.22M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4717|  2.22M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4718|  2.22M|            _PyStackRef callable;
  |  | 4719|  2.22M|            _PyStackRef self_or_null;
  |  | 4720|  2.22M|            _PyStackRef *args;
  |  | 4721|  2.22M|            _PyStackRef new_frame;
  |  | 4722|       |            /* Skip 1 cache entry */
  |  | 4723|       |            // _CHECK_PEP_523
  |  | 4724|  2.22M|            {
  |  | 4725|  2.22M|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  519|  2.22M|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (519:34): [True: 0, False: 2.22M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4726|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4727|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4727:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4728|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4729|      0|                }
  |  | 4730|  2.22M|            }
  |  | 4731|       |            // _CHECK_FUNCTION_VERSION
  |  | 4732|  2.22M|            {
  |  | 4733|  2.22M|                callable = stack_pointer[-2 - oparg];
  |  | 4734|  2.22M|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 4735|  2.22M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4736|  2.22M|                if (!PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|  2.22M|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  2.22M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.22M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.22M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4736:21): [True: 0, False: 2.22M]
  |  |  ------------------
  |  | 4737|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4738|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4738:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4739|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4740|      0|                }
  |  | 4741|  2.22M|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 4742|  2.22M|                if (func->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (4742:21): [True: 11, False: 2.22M]
  |  |  ------------------
  |  | 4743|     11|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|     11|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4744|     11|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4744:21): [True: 11, False: 0]
  |  |  ------------------
  |  | 4745|     11|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|     11|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4746|      0|                }
  |  | 4747|  2.22M|            }
  |  | 4748|       |            // _CHECK_RECURSION_REMAINING
  |  | 4749|  2.22M|            {
  |  | 4750|  2.22M|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (4750:21): [True: 12.6k, False: 2.21M]
  |  |  ------------------
  |  | 4751|  12.6k|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|  12.6k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4752|  12.6k|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4752:21): [True: 12.6k, False: 0]
  |  |  ------------------
  |  | 4753|  12.6k|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|  12.6k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4754|      0|                }
  |  | 4755|  2.22M|            }
  |  | 4756|       |            // _PY_FRAME_GENERAL
  |  | 4757|  2.21M|            {
  |  | 4758|  2.21M|                args = &stack_pointer[-oparg];
  |  | 4759|  2.21M|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4760|  2.21M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4761|  2.21M|                int total_args = oparg;
  |  | 4762|  2.21M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  2.21M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  2.21M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.21M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4762:21): [True: 266, False: 2.21M]
  |  |  ------------------
  |  | 4763|    266|                    args--;
  |  | 4764|    266|                    total_args++;
  |  | 4765|    266|                }
  |  | 4766|  2.21M|                assert(Py_TYPE(callable_o) == &PyFunction_Type);
  |  |  ------------------
  |  |  |  Branch (4766:17): [True: 2.21M, False: 0]
  |  |  ------------------
  |  | 4767|  2.21M|                int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|  2.21M|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.21M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.21M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4768|  2.21M|                PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  122|  2.21M|#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 (4768:36): [True: 2.21M, False: 0]
  |  |  ------------------
  |  | 4769|  2.21M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4770|  2.21M|                _PyFrame_StackPointerValidate(frame);
  |  | 4771|  2.21M|                _PyInterpreterFrame *temp = _PyEvalFramePushAndInit(
  |  | 4772|  2.21M|                    tstate, callable, locals,
  |  | 4773|  2.21M|                    args, total_args, NULL, frame
  |  | 4774|  2.21M|                );
  |  | 4775|  2.21M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4776|  2.21M|                stack_pointer += -2 - oparg;
  |  | 4777|  2.21M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.21M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4778|  2.21M|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (4778:21): [True: 0, False: 2.21M]
  |  |  ------------------
  |  | 4779|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4780|      0|                }
  |  | 4781|  2.21M|                new_frame = PyStackRef_Wrap(temp);
  |  | 4782|  2.21M|            }
  |  | 4783|       |            // _SAVE_RETURN_OFFSET
  |  | 4784|      0|            {
  |  | 4785|  2.21M|                #if TIER_ONE
  |  | 4786|  2.21M|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 4787|  2.21M|                #endif
  |  | 4788|       |                #if TIER_TWO
  |  | 4789|       |                frame->return_offset = oparg;
  |  | 4790|       |                #endif
  |  | 4791|  2.21M|            }
  |  | 4792|       |            // _PUSH_FRAME
  |  | 4793|  2.21M|            {
  |  | 4794|  2.21M|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (4794:17): [True: 2.21M, False: 0]
  |  |  ------------------
  |  | 4795|  2.21M|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 4796|  2.21M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4797|  2.21M|                _PyFrame_StackPointerValidate(frame);
  |  | 4798|  2.21M|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (4798:17): [True: 2.21M, False: 0]
  |  |  |  Branch (4798:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 4799|  2.21M|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  2.21M|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 4800|  2.21M|                frame = tstate->current_frame = temp;
  |  | 4801|  2.21M|                tstate->py_recursion_remaining--;
  |  | 4802|  2.21M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4803|  2.21M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4804|  2.21M|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  421|  2.21M|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  422|  2.21M|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  423|  2.21M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:14): [Folded, False: 2.21M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4805|       |                #ifdef Py_DEBUG
  |  | 4806|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 4807|       |                #endif
  |  | 4808|  2.21M|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|  2.21M|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 4809|  2.21M|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  2.21M|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 4810|  2.21M|            }
  |  | 4811|  2.21M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.21M|    { \
  |  |  |  |  201|  2.21M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.21M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.21M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.21M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.21M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.21M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.21M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.21M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 4812|  2.21M|        }
  |  | 4813|       |
  |  | 4814|     50|        TARGET(CALL_STR_1) {
  |  |  ------------------
  |  |  |  |  132|     50|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4815|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4816|       |            int opcode = CALL_STR_1;
  |  | 4817|       |            (void)(opcode);
  |  | 4818|       |            #endif
  |  | 4819|     50|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4820|     50|            (void)this_instr;
  |  | 4821|     50|            frame->instr_ptr = next_instr;
  |  | 4822|     50|            next_instr += 4;
  |  | 4823|     50|            INSTRUCTION_STATS(CALL_STR_1);
  |  |  ------------------
  |  |  |  |   71|     50|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4824|     50|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4825|     50|            _PyStackRef null;
  |  | 4826|     50|            _PyStackRef callable;
  |  | 4827|     50|            _PyStackRef arg;
  |  | 4828|     50|            _PyStackRef res;
  |  | 4829|     50|            _PyStackRef a;
  |  | 4830|     50|            _PyStackRef value;
  |  | 4831|       |            /* Skip 1 cache entry */
  |  | 4832|       |            /* Skip 2 cache entries */
  |  | 4833|       |            // _GUARD_NOS_NULL
  |  | 4834|     50|            {
  |  | 4835|     50|                null = stack_pointer[-2];
  |  | 4836|     50|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|     50|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|     50|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|     50|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4836:21): [True: 0, False: 50]
  |  |  ------------------
  |  | 4837|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4838|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4838:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4839|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4840|      0|                }
  |  | 4841|     50|            }
  |  | 4842|       |            // _GUARD_CALLABLE_STR_1
  |  | 4843|     50|            {
  |  | 4844|     50|                callable = stack_pointer[-3];
  |  | 4845|     50|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4846|     50|                if (callable_o != (PyObject *)&PyUnicode_Type) {
  |  |  ------------------
  |  |  |  Branch (4846:21): [True: 0, False: 50]
  |  |  ------------------
  |  | 4847|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4848|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4848:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4849|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4850|      0|                }
  |  | 4851|     50|            }
  |  | 4852|       |            // _CALL_STR_1
  |  | 4853|     50|            {
  |  | 4854|     50|                arg = stack_pointer[-1];
  |  | 4855|     50|                PyObject *arg_o = PyStackRef_AsPyObjectBorrow(arg);
  |  | 4856|     50|                assert(oparg == 1);
  |  |  ------------------
  |  |  |  Branch (4856:17): [True: 50, False: 0]
  |  |  ------------------
  |  | 4857|     50|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|     50|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4858|     50|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4859|     50|                _PyFrame_StackPointerValidate(frame);
  |  | 4860|     50|                PyObject *res_o = PyObject_Str(arg_o);
  |  | 4861|     50|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4862|     50|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4862:21): [True: 0, False: 50]
  |  |  ------------------
  |  | 4863|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4864|      0|                }
  |  | 4865|     50|                a = arg;
  |  | 4866|     50|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4867|     50|            }
  |  | 4868|       |            // _POP_TOP
  |  | 4869|      0|            {
  |  | 4870|     50|                value = a;
  |  | 4871|     50|                stack_pointer[-3] = res;
  |  | 4872|     50|                stack_pointer += -2;
  |  | 4873|     50|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     50|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4874|     50|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4875|     50|                _PyFrame_StackPointerValidate(frame);
  |  | 4876|     50|                PyStackRef_XCLOSE(value);
  |  | 4877|     50|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4878|     50|            }
  |  | 4879|       |            // _CHECK_PERIODIC_AT_END
  |  | 4880|     50|            {
  |  | 4881|     50|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4881:17): [True: 50, False: 0]
  |  |  ------------------
  |  | 4882|     50|                _PyFrame_StackPointerValidate(frame);
  |  | 4883|     50|                int err = check_periodics_at_end(tstate, frame);
  |  | 4884|     50|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4885|     50|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4885:21): [True: 0, False: 50]
  |  |  ------------------
  |  | 4886|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4887|      0|                }
  |  | 4888|     50|            }
  |  | 4889|     50|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     50|    { \
  |  |  |  |  201|     50|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     50|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     50|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     50|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     50|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     50|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     50|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     50|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 50]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     50|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     50|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     50|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     50|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     50|    }
  |  |  ------------------
  |  | 4890|     50|        }
  |  | 4891|       |
  |  | 4892|  2.20k|        TARGET(CALL_TUPLE_1) {
  |  |  ------------------
  |  |  |  |  132|  2.20k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4893|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4894|       |            int opcode = CALL_TUPLE_1;
  |  | 4895|       |            (void)(opcode);
  |  | 4896|       |            #endif
  |  | 4897|  2.20k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4898|  2.20k|            (void)this_instr;
  |  | 4899|  2.20k|            frame->instr_ptr = next_instr;
  |  | 4900|  2.20k|            next_instr += 4;
  |  | 4901|  2.20k|            INSTRUCTION_STATS(CALL_TUPLE_1);
  |  |  ------------------
  |  |  |  |   71|  2.20k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4902|  2.20k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4903|  2.20k|            _PyStackRef null;
  |  | 4904|  2.20k|            _PyStackRef callable;
  |  | 4905|  2.20k|            _PyStackRef arg;
  |  | 4906|  2.20k|            _PyStackRef res;
  |  | 4907|  2.20k|            _PyStackRef a;
  |  | 4908|  2.20k|            _PyStackRef value;
  |  | 4909|       |            /* Skip 1 cache entry */
  |  | 4910|       |            /* Skip 2 cache entries */
  |  | 4911|       |            // _GUARD_NOS_NULL
  |  | 4912|  2.20k|            {
  |  | 4913|  2.20k|                null = stack_pointer[-2];
  |  | 4914|  2.20k|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|  2.20k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  2.20k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.20k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4914:21): [True: 0, False: 2.20k]
  |  |  ------------------
  |  | 4915|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4916|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4916:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4917|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4918|      0|                }
  |  | 4919|  2.20k|            }
  |  | 4920|       |            // _GUARD_CALLABLE_TUPLE_1
  |  | 4921|  2.20k|            {
  |  | 4922|  2.20k|                callable = stack_pointer[-3];
  |  | 4923|  2.20k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4924|  2.20k|                if (callable_o != (PyObject *)&PyTuple_Type) {
  |  |  ------------------
  |  |  |  Branch (4924:21): [True: 0, False: 2.20k]
  |  |  ------------------
  |  | 4925|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4926|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4926:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4927|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4928|      0|                }
  |  | 4929|  2.20k|            }
  |  | 4930|       |            // _CALL_TUPLE_1
  |  | 4931|  2.20k|            {
  |  | 4932|  2.20k|                arg = stack_pointer[-1];
  |  | 4933|  2.20k|                PyObject *arg_o = PyStackRef_AsPyObjectBorrow(arg);
  |  | 4934|  2.20k|                assert(oparg == 1);
  |  |  ------------------
  |  |  |  Branch (4934:17): [True: 2.20k, False: 0]
  |  |  ------------------
  |  | 4935|  2.20k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  2.20k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4936|  2.20k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4937|  2.20k|                _PyFrame_StackPointerValidate(frame);
  |  | 4938|  2.20k|                PyObject *res_o = PySequence_Tuple(arg_o);
  |  | 4939|  2.20k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4940|  2.20k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4940:21): [True: 0, False: 2.20k]
  |  |  ------------------
  |  | 4941|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4942|      0|                }
  |  | 4943|  2.20k|                a = arg;
  |  | 4944|  2.20k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4945|  2.20k|            }
  |  | 4946|       |            // _POP_TOP
  |  | 4947|      0|            {
  |  | 4948|  2.20k|                value = a;
  |  | 4949|  2.20k|                stack_pointer[-3] = res;
  |  | 4950|  2.20k|                stack_pointer += -2;
  |  | 4951|  2.20k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.20k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4952|  2.20k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4953|  2.20k|                _PyFrame_StackPointerValidate(frame);
  |  | 4954|  2.20k|                PyStackRef_XCLOSE(value);
  |  | 4955|  2.20k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4956|  2.20k|            }
  |  | 4957|       |            // _CHECK_PERIODIC_AT_END
  |  | 4958|  2.20k|            {
  |  | 4959|  2.20k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4959:17): [True: 2.20k, False: 0]
  |  |  ------------------
  |  | 4960|  2.20k|                _PyFrame_StackPointerValidate(frame);
  |  | 4961|  2.20k|                int err = check_periodics_at_end(tstate, frame);
  |  | 4962|  2.20k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4963|  2.20k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4963:21): [True: 0, False: 2.20k]
  |  |  ------------------
  |  | 4964|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4965|      0|                }
  |  | 4966|  2.20k|            }
  |  | 4967|  2.20k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.20k|    { \
  |  |  |  |  201|  2.20k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.20k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.20k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.20k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.20k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.20k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.20k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.20k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.20k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.20k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.20k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.20k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.20k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.20k|    }
  |  |  ------------------
  |  | 4968|  2.20k|        }
  |  | 4969|       |
  |  | 4970|  11.5k|        TARGET(CALL_TYPE_1) {
  |  |  ------------------
  |  |  |  |  132|  11.5k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4971|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4972|       |            int opcode = CALL_TYPE_1;
  |  | 4973|       |            (void)(opcode);
  |  | 4974|       |            #endif
  |  | 4975|  11.5k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4976|  11.5k|            (void)this_instr;
  |  | 4977|  11.5k|            frame->instr_ptr = next_instr;
  |  | 4978|  11.5k|            next_instr += 4;
  |  | 4979|  11.5k|            INSTRUCTION_STATS(CALL_TYPE_1);
  |  |  ------------------
  |  |  |  |   71|  11.5k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4980|  11.5k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4981|  11.5k|            _PyStackRef null;
  |  | 4982|  11.5k|            _PyStackRef callable;
  |  | 4983|  11.5k|            _PyStackRef arg;
  |  | 4984|  11.5k|            _PyStackRef res;
  |  | 4985|  11.5k|            _PyStackRef a;
  |  | 4986|  11.5k|            _PyStackRef value;
  |  | 4987|       |            /* Skip 1 cache entry */
  |  | 4988|       |            /* Skip 2 cache entries */
  |  | 4989|       |            // _GUARD_NOS_NULL
  |  | 4990|  11.5k|            {
  |  | 4991|  11.5k|                null = stack_pointer[-2];
  |  | 4992|  11.5k|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|  11.5k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  11.5k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  11.5k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4992:21): [True: 0, False: 11.5k]
  |  |  ------------------
  |  | 4993|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4994|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4994:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4995|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4996|      0|                }
  |  | 4997|  11.5k|            }
  |  | 4998|       |            // _GUARD_CALLABLE_TYPE_1
  |  | 4999|  11.5k|            {
  |  | 5000|  11.5k|                callable = stack_pointer[-3];
  |  | 5001|  11.5k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 5002|  11.5k|                if (callable_o != (PyObject *)&PyType_Type) {
  |  |  ------------------
  |  |  |  Branch (5002:21): [True: 0, False: 11.5k]
  |  |  ------------------
  |  | 5003|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5004|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (5004:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 5005|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5006|      0|                }
  |  | 5007|  11.5k|            }
  |  | 5008|       |            // _CALL_TYPE_1
  |  | 5009|  11.5k|            {
  |  | 5010|  11.5k|                arg = stack_pointer[-1];
  |  | 5011|  11.5k|                PyObject *arg_o = PyStackRef_AsPyObjectBorrow(arg);
  |  | 5012|  11.5k|                assert(oparg == 1);
  |  |  ------------------
  |  |  |  Branch (5012:17): [True: 11.5k, False: 0]
  |  |  ------------------
  |  | 5013|  11.5k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  11.5k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5014|  11.5k|                a = arg;
  |  | 5015|  11.5k|                res = PyStackRef_FromPyObjectNew(Py_TYPE(arg_o));
  |  |  ------------------
  |  |  |  |  611|  11.5k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  11.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  11.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5016|  11.5k|            }
  |  | 5017|       |            // _POP_TOP
  |  | 5018|      0|            {
  |  | 5019|  11.5k|                value = a;
  |  | 5020|  11.5k|                stack_pointer[-3] = res;
  |  | 5021|  11.5k|                stack_pointer += -2;
  |  | 5022|  11.5k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  11.5k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5023|  11.5k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5024|  11.5k|                _PyFrame_StackPointerValidate(frame);
  |  | 5025|  11.5k|                PyStackRef_XCLOSE(value);
  |  | 5026|  11.5k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5027|  11.5k|            }
  |  | 5028|  11.5k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  11.5k|    { \
  |  |  |  |  201|  11.5k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  11.5k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  11.5k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  11.5k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  11.5k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  11.5k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  11.5k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  11.5k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 5029|  11.5k|        }
  |  | 5030|       |
  |  | 5031|      0|        TARGET(CHECK_EG_MATCH) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5032|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5033|       |            int opcode = CHECK_EG_MATCH;
  |  | 5034|       |            (void)(opcode);
  |  | 5035|       |            #endif
  |  | 5036|      0|            frame->instr_ptr = next_instr;
  |  | 5037|      0|            next_instr += 1;
  |  | 5038|      0|            INSTRUCTION_STATS(CHECK_EG_MATCH);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5039|      0|            _PyStackRef exc_value_st;
  |  | 5040|      0|            _PyStackRef match_type_st;
  |  | 5041|      0|            _PyStackRef rest;
  |  | 5042|      0|            _PyStackRef match;
  |  | 5043|      0|            match_type_st = stack_pointer[-1];
  |  | 5044|      0|            exc_value_st = stack_pointer[-2];
  |  | 5045|      0|            PyObject *exc_value = PyStackRef_AsPyObjectBorrow(exc_value_st);
  |  | 5046|      0|            PyObject *match_type = PyStackRef_AsPyObjectBorrow(match_type_st);
  |  | 5047|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5048|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 5049|      0|            int err = _PyEval_CheckExceptStarTypeValid(tstate, match_type);
  |  | 5050|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5051|      0|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (5051:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5052|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5052:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5053|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5054|      0|                _PyStackRef tmp = match_type_st;
  |  | 5055|      0|                match_type_st = PyStackRef_NULL;
  |  | 5056|      0|                stack_pointer[-1] = match_type_st;
  |  | 5057|      0|                PyStackRef_CLOSE(tmp);
  |  | 5058|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5059|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5059:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5060|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5061|      0|                tmp = exc_value_st;
  |  | 5062|      0|                exc_value_st = PyStackRef_NULL;
  |  | 5063|      0|                stack_pointer[-2] = exc_value_st;
  |  | 5064|      0|                PyStackRef_CLOSE(tmp);
  |  | 5065|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5066|      0|                stack_pointer += -2;
  |  | 5067|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5068|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5069|      0|            }
  |  | 5070|      0|            PyObject *match_o = NULL;
  |  | 5071|      0|            PyObject *rest_o = NULL;
  |  | 5072|      0|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5072:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5073|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 5074|      0|            int res = _PyEval_ExceptionGroupMatch(frame, exc_value, match_type,
  |  | 5075|      0|                &match_o, &rest_o);
  |  | 5076|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5077|      0|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5077:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5078|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 5079|      0|            _PyStackRef tmp = match_type_st;
  |  | 5080|      0|            match_type_st = PyStackRef_NULL;
  |  | 5081|      0|            stack_pointer[-1] = match_type_st;
  |  | 5082|      0|            PyStackRef_CLOSE(tmp);
  |  | 5083|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5084|      0|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5084:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5085|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 5086|      0|            tmp = exc_value_st;
  |  | 5087|      0|            exc_value_st = PyStackRef_NULL;
  |  | 5088|      0|            stack_pointer[-2] = exc_value_st;
  |  | 5089|      0|            PyStackRef_CLOSE(tmp);
  |  | 5090|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5091|      0|            stack_pointer += -2;
  |  | 5092|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5093|      0|            if (res < 0) {
  |  |  ------------------
  |  |  |  Branch (5093:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5094|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5095|      0|            }
  |  | 5096|      0|            assert((match_o == NULL) == (rest_o == NULL));
  |  |  ------------------
  |  |  |  Branch (5096:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5097|      0|            if (match_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (5097:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5098|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5099|      0|            }
  |  | 5100|      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 (5100:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5101|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5102|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5103|      0|                PyErr_SetHandledException(match_o);
  |  | 5104|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5105|      0|            }
  |  | 5106|      0|            rest = PyStackRef_FromPyObjectSteal(rest_o);
  |  | 5107|      0|            match = PyStackRef_FromPyObjectSteal(match_o);
  |  | 5108|      0|            stack_pointer[0] = rest;
  |  | 5109|      0|            stack_pointer[1] = match;
  |  | 5110|      0|            stack_pointer += 2;
  |  | 5111|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5112|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 5113|      0|        }
  |  | 5114|       |
  |  | 5115|  26.8k|        TARGET(CHECK_EXC_MATCH) {
  |  |  ------------------
  |  |  |  |  132|  26.8k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5116|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5117|       |            int opcode = CHECK_EXC_MATCH;
  |  | 5118|       |            (void)(opcode);
  |  | 5119|       |            #endif
  |  | 5120|  26.8k|            frame->instr_ptr = next_instr;
  |  | 5121|  26.8k|            next_instr += 1;
  |  | 5122|  26.8k|            INSTRUCTION_STATS(CHECK_EXC_MATCH);
  |  |  ------------------
  |  |  |  |   71|  26.8k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5123|  26.8k|            _PyStackRef left;
  |  | 5124|  26.8k|            _PyStackRef right;
  |  | 5125|  26.8k|            _PyStackRef b;
  |  | 5126|  26.8k|            right = stack_pointer[-1];
  |  | 5127|  26.8k|            left = stack_pointer[-2];
  |  | 5128|  26.8k|            PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5129|  26.8k|            PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5130|  26.8k|            assert(PyExceptionInstance_Check(left_o));
  |  |  ------------------
  |  |  |  Branch (5130:13): [True: 26.8k, False: 0]
  |  |  ------------------
  |  | 5131|  26.8k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5132|  26.8k|            _PyFrame_StackPointerValidate(frame);
  |  | 5133|  26.8k|            int err = _PyEval_CheckExceptTypeValid(tstate, right_o);
  |  | 5134|  26.8k|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5135|  26.8k|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (5135:17): [True: 0, False: 26.8k]
  |  |  ------------------
  |  | 5136|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5137|      0|            }
  |  | 5138|  26.8k|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5138:13): [True: 26.8k, False: 0]
  |  |  ------------------
  |  | 5139|  26.8k|            _PyFrame_StackPointerValidate(frame);
  |  | 5140|  26.8k|            int res = PyErr_GivenExceptionMatches(left_o, right_o);
  |  | 5141|  26.8k|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5142|  26.8k|            stack_pointer += -1;
  |  | 5143|  26.8k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  26.8k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5144|  26.8k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5145|  26.8k|            _PyFrame_StackPointerValidate(frame);
  |  | 5146|  26.8k|            PyStackRef_CLOSE(right);
  |  | 5147|  26.8k|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5148|  26.8k|            b = res ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  24.4k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  24.4k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           b = res ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  29.2k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  2.39k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5148:17): [True: 24.4k, False: 2.39k]
  |  |  ------------------
  |  | 5149|  26.8k|            stack_pointer[0] = b;
  |  | 5150|  26.8k|            stack_pointer += 1;
  |  | 5151|  26.8k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  26.8k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5152|  26.8k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  26.8k|    { \
  |  |  |  |  201|  26.8k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  26.8k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  26.8k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  26.8k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  26.8k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  26.8k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  26.8k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  26.8k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 26.8k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  26.8k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  26.8k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  26.8k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  26.8k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  26.8k|    }
  |  |  ------------------
  |  | 5153|  26.8k|        }
  |  | 5154|       |
  |  | 5155|  32.1k|        TARGET(CLEANUP_THROW) {
  |  |  ------------------
  |  |  |  |  132|  32.1k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5156|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5157|       |            int opcode = CLEANUP_THROW;
  |  | 5158|       |            (void)(opcode);
  |  | 5159|       |            #endif
  |  | 5160|  32.1k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5161|  32.1k|            (void)this_instr;
  |  | 5162|  32.1k|            frame->instr_ptr = next_instr;
  |  | 5163|  32.1k|            next_instr += 1;
  |  | 5164|  32.1k|            INSTRUCTION_STATS(CLEANUP_THROW);
  |  |  ------------------
  |  |  |  |   71|  32.1k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5165|  32.1k|            _PyStackRef sub_iter;
  |  | 5166|  32.1k|            _PyStackRef null_in;
  |  | 5167|  32.1k|            _PyStackRef last_sent_val;
  |  | 5168|  32.1k|            _PyStackRef exc_value_st;
  |  | 5169|  32.1k|            _PyStackRef none;
  |  | 5170|  32.1k|            _PyStackRef null_out;
  |  | 5171|  32.1k|            _PyStackRef value;
  |  | 5172|  32.1k|            exc_value_st = stack_pointer[-1];
  |  | 5173|  32.1k|            last_sent_val = stack_pointer[-2];
  |  | 5174|  32.1k|            null_in = stack_pointer[-3];
  |  | 5175|  32.1k|            sub_iter = stack_pointer[-4];
  |  | 5176|  32.1k|            PyObject *exc_value = PyStackRef_AsPyObjectBorrow(exc_value_st);
  |  | 5177|  32.1k|            #if !_Py_TAIL_CALL_INTERP
  |  | 5178|  32.1k|            assert(throwflag);
  |  |  ------------------
  |  |  |  Branch (5178:13): [True: 32.1k, False: 0]
  |  |  ------------------
  |  | 5179|  32.1k|            #endif
  |  | 5180|  32.1k|            assert(exc_value && PyExceptionInstance_Check(exc_value));
  |  |  ------------------
  |  |  |  Branch (5180:13): [True: 32.1k, False: 0]
  |  |  |  Branch (5180:13): [True: 32.1k, False: 0]
  |  |  ------------------
  |  | 5181|  32.1k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5182|  32.1k|            _PyFrame_StackPointerValidate(frame);
  |  | 5183|  32.1k|            int matches = PyErr_GivenExceptionMatches(exc_value, PyExc_StopIteration);
  |  | 5184|  32.1k|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5185|  32.1k|            if (matches) {
  |  |  ------------------
  |  |  |  Branch (5185:17): [True: 0, False: 32.1k]
  |  |  ------------------
  |  | 5186|      0|                value = PyStackRef_FromPyObjectNew(((PyStopIterationObject *)exc_value)->value);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5187|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5187:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5188|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5189|      0|                _PyStackRef tmp = sub_iter;
  |  | 5190|      0|                sub_iter = value;
  |  | 5191|      0|                stack_pointer[-4] = sub_iter;
  |  | 5192|      0|                PyStackRef_CLOSE(tmp);
  |  | 5193|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5194|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5194:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5195|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5196|      0|                tmp = exc_value_st;
  |  | 5197|      0|                exc_value_st = PyStackRef_NULL;
  |  | 5198|      0|                stack_pointer[-1] = exc_value_st;
  |  | 5199|      0|                PyStackRef_CLOSE(tmp);
  |  | 5200|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5201|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5201:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5202|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5203|      0|                tmp = last_sent_val;
  |  | 5204|      0|                last_sent_val = PyStackRef_NULL;
  |  | 5205|      0|                stack_pointer[-2] = last_sent_val;
  |  | 5206|      0|                PyStackRef_CLOSE(tmp);
  |  | 5207|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5208|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5208:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5209|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5210|      0|                tmp = null_in;
  |  | 5211|      0|                null_in = PyStackRef_NULL;
  |  | 5212|      0|                stack_pointer[-3] = null_in;
  |  | 5213|      0|                PyStackRef_XCLOSE(tmp);
  |  | 5214|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5215|      0|                stack_pointer += -4;
  |  | 5216|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5217|      0|                null_out = null_in;
  |  | 5218|      0|                none = PyStackRef_None;
  |  |  ------------------
  |  |  |  |  485|      0|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5219|      0|            }
  |  | 5220|  32.1k|            else {
  |  | 5221|  32.1k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5221:17): [True: 32.1k, False: 0]
  |  |  ------------------
  |  | 5222|  32.1k|                _PyFrame_StackPointerValidate(frame);
  |  | 5223|  32.1k|                _PyErr_SetRaisedException(tstate, Py_NewRef(exc_value));
  |  |  ------------------
  |  |  |  |  550|  32.1k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  32.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  32.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5224|  32.1k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5225|  32.1k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5225:17): [True: 32.1k, False: 0]
  |  |  ------------------
  |  | 5226|  32.1k|                _PyFrame_StackPointerValidate(frame);
  |  | 5227|  32.1k|                monitor_reraise(tstate, frame, this_instr);
  |  | 5228|  32.1k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5229|  32.1k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5229:17): [True: 32.1k, False: 0]
  |  |  ------------------
  |  | 5230|  32.1k|                _PyFrame_StackPointerValidate(frame);
  |  | 5231|  32.1k|                JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|  32.1k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5232|      0|            }
  |  | 5233|      0|            stack_pointer[0] = none;
  |  | 5234|      0|            stack_pointer[1] = null_out;
  |  | 5235|      0|            stack_pointer[2] = value;
  |  | 5236|      0|            stack_pointer += 3;
  |  | 5237|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5238|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 5239|      0|        }
  |  | 5240|       |
  |  | 5241|  1.88M|        TARGET(COMPARE_OP) {
  |  |  ------------------
  |  |  |  |  132|  1.88M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5242|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5243|       |            int opcode = COMPARE_OP;
  |  | 5244|       |            (void)(opcode);
  |  | 5245|       |            #endif
  |  | 5246|  1.88M|            frame->instr_ptr = next_instr;
  |  | 5247|  1.88M|            next_instr += 2;
  |  | 5248|  1.88M|            INSTRUCTION_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |   71|  1.88M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5249|  1.91M|            PREDICTED_COMPARE_OP:;
  |  | 5250|  1.91M|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 5251|  1.91M|            (void)this_instr;
  |  | 5252|  1.91M|            _PyStackRef left;
  |  | 5253|  1.91M|            _PyStackRef right;
  |  | 5254|  1.91M|            _PyStackRef res;
  |  | 5255|       |            // _SPECIALIZE_COMPARE_OP
  |  | 5256|  1.91M|            {
  |  | 5257|  1.91M|                right = stack_pointer[-1];
  |  | 5258|  1.91M|                left = stack_pointer[-2];
  |  | 5259|  1.91M|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 5260|  1.91M|                (void)counter;
  |  | 5261|  1.91M|                #if ENABLE_SPECIALIZATION
  |  | 5262|  1.91M|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  1.91M|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 1.66k, False: 1.91M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5263|  1.66k|                    next_instr = this_instr;
  |  | 5264|  1.66k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5265|  1.66k|                    _PyFrame_StackPointerValidate(frame);
  |  | 5266|  1.66k|                    _Py_Specialize_CompareOp(left, right, next_instr, oparg);
  |  | 5267|  1.66k|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 5268|  1.66k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|  1.66k|    { \
  |  |  |  |  217|  1.66k|        opcode = next_instr->op.code; \
  |  |  |  |  218|  1.66k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.66k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|  1.66k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  1.66k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|  1.66k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|  1.66k|    }
  |  |  ------------------
  |  | 5269|  1.66k|                }
  |  | 5270|  1.91M|                OPCODE_DEFERRED_INC(COMPARE_OP);
  |  |  ------------------
  |  |  |  |   90|  1.91M|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 5271|  1.91M|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  358|  1.91M|    do { \
  |  |  |  |  359|  1.91M|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  360|  1.91M|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (360:14): [Folded, False: 1.91M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5272|  1.91M|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 5273|  1.91M|            }
  |  | 5274|       |            // _COMPARE_OP
  |  | 5275|  1.91M|            {
  |  | 5276|  1.91M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5277|  1.91M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5278|  1.91M|                assert((oparg >> 5) <= Py_GE);
  |  |  ------------------
  |  |  |  Branch (5278:17): [True: 1.91M, False: 1.66k]
  |  |  ------------------
  |  | 5279|  1.91M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5280|  1.91M|                _PyFrame_StackPointerValidate(frame);
  |  | 5281|  1.91M|                PyObject *res_o = PyObject_RichCompare(left_o, right_o, oparg >> 5);
  |  | 5282|  1.91M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5283|  1.91M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5283:17): [True: 1.91M, False: 0]
  |  |  ------------------
  |  | 5284|  1.91M|                _PyFrame_StackPointerValidate(frame);
  |  | 5285|  1.91M|                _PyStackRef tmp = right;
  |  | 5286|  1.91M|                right = PyStackRef_NULL;
  |  | 5287|  1.91M|                stack_pointer[-1] = right;
  |  | 5288|  1.91M|                PyStackRef_CLOSE(tmp);
  |  | 5289|  1.91M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5290|  1.91M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5290:17): [True: 1.91M, False: 0]
  |  |  ------------------
  |  | 5291|  1.91M|                _PyFrame_StackPointerValidate(frame);
  |  | 5292|  1.91M|                tmp = left;
  |  | 5293|  1.91M|                left = PyStackRef_NULL;
  |  | 5294|  1.91M|                stack_pointer[-2] = left;
  |  | 5295|  1.91M|                PyStackRef_CLOSE(tmp);
  |  | 5296|  1.91M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5297|  1.91M|                stack_pointer += -2;
  |  | 5298|  1.91M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.91M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5299|  1.91M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (5299:21): [True: 0, False: 1.91M]
  |  |  ------------------
  |  | 5300|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5301|      0|                }
  |  | 5302|  1.91M|                if (oparg & 16) {
  |  |  ------------------
  |  |  |  Branch (5302:21): [True: 1.91M, False: 24]
  |  |  ------------------
  |  | 5303|  1.91M|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5304|  1.91M|                    _PyFrame_StackPointerValidate(frame);
  |  | 5305|  1.91M|                    int res_bool = PyObject_IsTrue(res_o);
  |  | 5306|  1.91M|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 5307|  1.91M|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5307:21): [True: 1.91M, False: 0]
  |  |  ------------------
  |  | 5308|  1.91M|                    _PyFrame_StackPointerValidate(frame);
  |  | 5309|  1.91M|                    Py_DECREF(res_o);
  |  |  ------------------
  |  |  |  |   80|  1.91M|    do { \
  |  |  |  |   81|  1.91M|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.91M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.91M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|  1.91M|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|  1.91M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.91M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.91M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 1.91M, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|  1.91M|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|  1.91M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|  1.91M|            break; \
  |  |  |  |   85|  1.91M|        } \
  |  |  |  |   86|  1.91M|        _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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5310|  1.91M|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 5311|  1.91M|                    if (res_bool < 0) {
  |  |  ------------------
  |  |  |  Branch (5311:25): [True: 0, False: 1.91M]
  |  |  ------------------
  |  | 5312|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5313|      0|                    }
  |  | 5314|  1.91M|                    res = res_bool ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|   738k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   738k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                                   res = res_bool ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  3.08M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.17M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5314:27): [True: 738k, False: 1.17M]
  |  |  ------------------
  |  | 5315|  1.91M|                }
  |  | 5316|     24|                else {
  |  | 5317|     24|                    res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 5318|     24|                }
  |  | 5319|  1.91M|            }
  |  | 5320|  1.91M|            stack_pointer[0] = res;
  |  | 5321|  1.91M|            stack_pointer += 1;
  |  | 5322|  1.91M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.91M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5323|  1.91M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.91M|    { \
  |  |  |  |  201|  1.91M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.91M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.91M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.91M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.91M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.91M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.91M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.91M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.91M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.91M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.91M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.91M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.91M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.91M|    }
  |  |  ------------------
  |  | 5324|  1.91M|        }
  |  | 5325|       |
  |  | 5326|     33|        TARGET(COMPARE_OP_FLOAT) {
  |  |  ------------------
  |  |  |  |  132|     33|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5327|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5328|       |            int opcode = COMPARE_OP_FLOAT;
  |  | 5329|       |            (void)(opcode);
  |  | 5330|       |            #endif
  |  | 5331|     33|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5332|     33|            (void)this_instr;
  |  | 5333|     33|            frame->instr_ptr = next_instr;
  |  | 5334|     33|            next_instr += 2;
  |  | 5335|     33|            INSTRUCTION_STATS(COMPARE_OP_FLOAT);
  |  |  ------------------
  |  |  |  |   71|     33|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5336|     33|            static_assert(INLINE_CACHE_ENTRIES_COMPARE_OP == 1, "incorrect cache size");
  |  | 5337|     33|            _PyStackRef value;
  |  | 5338|     33|            _PyStackRef left;
  |  | 5339|     33|            _PyStackRef right;
  |  | 5340|     33|            _PyStackRef res;
  |  | 5341|     33|            _PyStackRef l;
  |  | 5342|     33|            _PyStackRef r;
  |  | 5343|       |            // _GUARD_TOS_FLOAT
  |  | 5344|     33|            {
  |  | 5345|     33|                value = stack_pointer[-1];
  |  | 5346|     33|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 5347|     33|                if (!PyFloat_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |   17|     33|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|     33|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5347:21): [True: 1, False: 32]
  |  |  ------------------
  |  | 5348|      1|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  299|      1|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5349|      1|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  |  ------------------
  |  |  |  Branch (5349:21): [True: 1, False: 0]
  |  |  ------------------
  |  | 5350|      1|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|      1|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5351|      0|                }
  |  | 5352|     33|            }
  |  | 5353|       |            // _GUARD_NOS_FLOAT
  |  | 5354|     32|            {
  |  | 5355|     32|                left = stack_pointer[-2];
  |  | 5356|     32|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5357|     32|                if (!PyFloat_CheckExact(left_o)) {
  |  |  ------------------
  |  |  |  |   17|     32|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|     32|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5357:21): [True: 0, False: 32]
  |  |  ------------------
  |  | 5358|      0|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5359|      0|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  |  ------------------
  |  |  |  Branch (5359:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 5360|      0|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5361|      0|                }
  |  | 5362|     32|            }
  |  | 5363|       |            /* Skip 1 cache entry */
  |  | 5364|       |            // _COMPARE_OP_FLOAT
  |  | 5365|     32|            {
  |  | 5366|     32|                right = value;
  |  | 5367|     32|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5368|     32|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5369|     32|                STAT_INC(COMPARE_OP, hit);
  |  |  ------------------
  |  |  |  |   73|     32|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5370|     32|                double dleft = PyFloat_AS_DOUBLE(left_o);
  |  |  ------------------
  |  |  |  |   18|     32|#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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5371|     32|                double dright = PyFloat_AS_DOUBLE(right_o);
  |  |  ------------------
  |  |  |  |   18|     32|#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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5372|     32|                int sign_ish = COMPARISON_BIT(dleft, dright);
  |  |  ------------------
  |  |  |  |  523|     32|#define COMPARISON_BIT(x, y) (1 << (2 * ((x) >= (y)) + ((x) <= (y))))
  |  |  ------------------
  |  | 5373|     32|                l = left;
  |  | 5374|     32|                r = right;
  |  | 5375|     32|                res = (sign_ish & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|      0|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = (sign_ish & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|     64|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|     32|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5375:23): [True: 0, False: 32]
  |  |  ------------------
  |  | 5376|     32|            }
  |  | 5377|       |            // _POP_TOP_FLOAT
  |  | 5378|     32|            {
  |  | 5379|     32|                value = r;
  |  | 5380|     32|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (5380:17): [True: 32, False: 0]
  |  |  ------------------
  |  | 5381|     32|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  | 5382|     32|            }
  |  | 5383|       |            // _POP_TOP_FLOAT
  |  | 5384|      0|            {
  |  | 5385|     32|                value = l;
  |  | 5386|     32|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (5386:17): [True: 32, False: 0]
  |  |  ------------------
  |  | 5387|     32|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  | 5388|     32|            }
  |  | 5389|      0|            stack_pointer[-2] = res;
  |  | 5390|     32|            stack_pointer += -1;
  |  | 5391|     32|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     32|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5392|     32|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     32|    { \
  |  |  |  |  201|     32|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     32|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     32|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     32|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     32|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     32|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     32|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     32|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 32]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     32|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     32|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     32|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     32|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     32|    }
  |  |  ------------------
  |  | 5393|     32|        }
  |  | 5394|       |
  |  | 5395|  11.6M|        TARGET(COMPARE_OP_INT) {
  |  |  ------------------
  |  |  |  |  132|  11.6M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5396|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5397|       |            int opcode = COMPARE_OP_INT;
  |  | 5398|       |            (void)(opcode);
  |  | 5399|       |            #endif
  |  | 5400|  11.6M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5401|  11.6M|            (void)this_instr;
  |  | 5402|  11.6M|            frame->instr_ptr = next_instr;
  |  | 5403|  11.6M|            next_instr += 2;
  |  | 5404|  11.6M|            INSTRUCTION_STATS(COMPARE_OP_INT);
  |  |  ------------------
  |  |  |  |   71|  11.6M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5405|  11.6M|            static_assert(INLINE_CACHE_ENTRIES_COMPARE_OP == 1, "incorrect cache size");
  |  | 5406|  11.6M|            _PyStackRef value;
  |  | 5407|  11.6M|            _PyStackRef left;
  |  | 5408|  11.6M|            _PyStackRef right;
  |  | 5409|  11.6M|            _PyStackRef res;
  |  | 5410|  11.6M|            _PyStackRef l;
  |  | 5411|  11.6M|            _PyStackRef r;
  |  | 5412|       |            // _GUARD_TOS_INT
  |  | 5413|  11.6M|            {
  |  | 5414|  11.6M|                value = stack_pointer[-1];
  |  | 5415|  11.6M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 5416|  11.6M|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (5416:21): [True: 19.5k, False: 11.6M]
  |  |  ------------------
  |  | 5417|  19.5k|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  299|  19.5k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5418|  19.5k|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  |  ------------------
  |  |  |  Branch (5418:21): [True: 19.5k, False: 0]
  |  |  ------------------
  |  | 5419|  19.5k|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|  19.5k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5420|      0|                }
  |  | 5421|  11.6M|            }
  |  | 5422|       |            // _GUARD_NOS_INT
  |  | 5423|  11.6M|            {
  |  | 5424|  11.6M|                left = stack_pointer[-2];
  |  | 5425|  11.6M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5426|  11.6M|                if (!_PyLong_CheckExactAndCompact(left_o)) {
  |  |  ------------------
  |  |  |  Branch (5426:21): [True: 433, False: 11.6M]
  |  |  ------------------
  |  | 5427|    433|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  299|    433|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5428|    433|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  |  ------------------
  |  |  |  Branch (5428:21): [True: 433, False: 0]
  |  |  ------------------
  |  | 5429|    433|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|    433|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5430|      0|                }
  |  | 5431|  11.6M|            }
  |  | 5432|       |            /* Skip 1 cache entry */
  |  | 5433|       |            // _COMPARE_OP_INT
  |  | 5434|  11.6M|            {
  |  | 5435|  11.6M|                right = value;
  |  | 5436|  11.6M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5437|  11.6M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5438|  11.6M|                assert(_PyLong_IsCompact((PyLongObject *)left_o));
  |  |  ------------------
  |  |  |  Branch (5438:17): [True: 11.6M, False: 0]
  |  |  ------------------
  |  | 5439|  11.6M|                assert(_PyLong_IsCompact((PyLongObject *)right_o));
  |  |  ------------------
  |  |  |  Branch (5439:17): [True: 11.6M, False: 0]
  |  |  ------------------
  |  | 5440|  11.6M|                STAT_INC(COMPARE_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  11.6M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5441|  11.6M|                assert(_PyLong_DigitCount((PyLongObject *)left_o) <= 1 &&
  |  |  ------------------
  |  |  |  Branch (5441:17): [True: 11.6M, False: 0]
  |  |  |  Branch (5441:17): [True: 11.6M, False: 0]
  |  |  ------------------
  |  | 5442|  11.6M|                   _PyLong_DigitCount((PyLongObject *)right_o) <= 1);
  |  | 5443|  11.6M|                Py_ssize_t ileft = _PyLong_CompactValue((PyLongObject *)left_o);
  |  | 5444|  11.6M|                Py_ssize_t iright = _PyLong_CompactValue((PyLongObject *)right_o);
  |  | 5445|  11.6M|                int sign_ish = COMPARISON_BIT(ileft, iright);
  |  |  ------------------
  |  |  |  |  523|  11.6M|#define COMPARISON_BIT(x, y) (1 << (2 * ((x) >= (y)) + ((x) <= (y))))
  |  |  ------------------
  |  | 5446|  11.6M|                l = left;
  |  | 5447|  11.6M|                r = right;
  |  | 5448|  11.6M|                res =  (sign_ish & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  5.91M|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  5.91M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res =  (sign_ish & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  17.4M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  5.75M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5448:24): [True: 5.91M, False: 5.75M]
  |  |  ------------------
  |  | 5449|  11.6M|            }
  |  | 5450|       |            // _POP_TOP_INT
  |  | 5451|      0|            {
  |  | 5452|  11.6M|                value = r;
  |  | 5453|  11.6M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (5453:17): [True: 11.6M, False: 0]
  |  |  ------------------
  |  | 5454|  11.6M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 5455|  11.6M|            }
  |  | 5456|       |            // _POP_TOP_INT
  |  | 5457|      0|            {
  |  | 5458|  11.6M|                value = l;
  |  | 5459|  11.6M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (5459:17): [True: 11.6M, False: 0]
  |  |  ------------------
  |  | 5460|  11.6M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 5461|  11.6M|            }
  |  | 5462|      0|            stack_pointer[-2] = res;
  |  | 5463|  11.6M|            stack_pointer += -1;
  |  | 5464|  11.6M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  11.6M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5465|  11.6M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  11.6M|    { \
  |  |  |  |  201|  11.6M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  11.6M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  11.6M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  11.6M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  11.6M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  11.6M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  11.6M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  11.6M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 11.6M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  11.6M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  11.6M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  11.6M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  11.6M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  11.6M|    }
  |  |  ------------------
  |  | 5466|  11.6M|        }
  |  | 5467|       |
  |  | 5468|  66.7M|        TARGET(COMPARE_OP_STR) {
  |  |  ------------------
  |  |  |  |  132|  66.7M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5469|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5470|       |            int opcode = COMPARE_OP_STR;
  |  | 5471|       |            (void)(opcode);
  |  | 5472|       |            #endif
  |  | 5473|  66.7M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5474|  66.7M|            (void)this_instr;
  |  | 5475|  66.7M|            frame->instr_ptr = next_instr;
  |  | 5476|  66.7M|            next_instr += 2;
  |  | 5477|  66.7M|            INSTRUCTION_STATS(COMPARE_OP_STR);
  |  |  ------------------
  |  |  |  |   71|  66.7M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5478|  66.7M|            static_assert(INLINE_CACHE_ENTRIES_COMPARE_OP == 1, "incorrect cache size");
  |  | 5479|  66.7M|            _PyStackRef value;
  |  | 5480|  66.7M|            _PyStackRef nos;
  |  | 5481|  66.7M|            _PyStackRef left;
  |  | 5482|  66.7M|            _PyStackRef right;
  |  | 5483|  66.7M|            _PyStackRef res;
  |  | 5484|  66.7M|            _PyStackRef l;
  |  | 5485|  66.7M|            _PyStackRef r;
  |  | 5486|       |            // _GUARD_TOS_UNICODE
  |  | 5487|  66.7M|            {
  |  | 5488|  66.7M|                value = stack_pointer[-1];
  |  | 5489|  66.7M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 5490|  66.7M|                if (!PyUnicode_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |  104|  66.7M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  66.7M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  66.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  66.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5490:21): [True: 4.99k, False: 66.7M]
  |  |  ------------------
  |  | 5491|  4.99k|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  299|  4.99k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5492|  4.99k|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  |  ------------------
  |  |  |  Branch (5492:21): [True: 4.99k, False: 0]
  |  |  ------------------
  |  | 5493|  4.99k|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|  4.99k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5494|      0|                }
  |  | 5495|  66.7M|            }
  |  | 5496|       |            // _GUARD_NOS_UNICODE
  |  | 5497|  66.7M|            {
  |  | 5498|  66.7M|                nos = stack_pointer[-2];
  |  | 5499|  66.7M|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  | 5500|  66.7M|                if (!PyUnicode_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |  104|  66.7M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  66.7M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  66.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  66.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5500:21): [True: 280, False: 66.7M]
  |  |  ------------------
  |  | 5501|    280|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  299|    280|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5502|    280|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  |  ------------------
  |  |  |  Branch (5502:21): [True: 280, False: 0]
  |  |  ------------------
  |  | 5503|    280|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|    280|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5504|      0|                }
  |  | 5505|  66.7M|            }
  |  | 5506|       |            /* Skip 1 cache entry */
  |  | 5507|       |            // _COMPARE_OP_STR
  |  | 5508|  66.7M|            {
  |  | 5509|  66.7M|                right = value;
  |  | 5510|  66.7M|                left = nos;
  |  | 5511|  66.7M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5512|  66.7M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5513|  66.7M|                STAT_INC(COMPARE_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  66.7M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5514|  66.7M|                int eq = _PyUnicode_Equal(left_o, right_o);
  |  | 5515|  66.7M|                assert((oparg >> 5) == Py_EQ || (oparg >> 5) == Py_NE);
  |  |  ------------------
  |  |  |  Branch (5515:17): [True: 66.7M, False: 2.52k]
  |  |  |  Branch (5515:17): [True: 2.52k, False: 0]
  |  |  ------------------
  |  | 5516|  66.7M|                l = left;
  |  | 5517|  66.7M|                r = right;
  |  | 5518|  66.7M|                assert(eq == 0 || eq == 1);
  |  |  ------------------
  |  |  |  Branch (5518:17): [True: 56.2M, False: 10.4M]
  |  |  |  Branch (5518:17): [True: 10.4M, False: 0]
  |  |  ------------------
  |  | 5519|  66.7M|                assert((oparg & 0xf) == COMPARISON_NOT_EQUALS || (oparg & 0xf) == COMPARISON_EQUALS);
  |  |  ------------------
  |  |  |  Branch (5519:17): [True: 2.52k, False: 66.7M]
  |  |  |  Branch (5519:17): [True: 66.7M, False: 0]
  |  |  ------------------
  |  | 5520|  66.7M|                assert(COMPARISON_NOT_EQUALS + 1 == COMPARISON_EQUALS);
  |  |  ------------------
  |  |  |  Branch (5520:17): [True: 66.7M, Folded]
  |  |  ------------------
  |  | 5521|  66.7M|                res = ((COMPARISON_NOT_EQUALS + eq) & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  538|  66.7M|#define COMPARISON_NOT_EQUALS (COMPARISON_UNORDERED | COMPARISON_LESS_THAN | COMPARISON_GREATER_THAN)
  |  |  |  |  ------------------
  |  |  |  |  |  |  532|  66.7M|#define COMPARISON_UNORDERED 1
  |  |  |  |  ------------------
  |  |  |  |               #define COMPARISON_NOT_EQUALS (COMPARISON_UNORDERED | COMPARISON_LESS_THAN | COMPARISON_GREATER_THAN)
  |  |  |  |  ------------------
  |  |  |  |  |  |  534|  66.7M|#define COMPARISON_LESS_THAN 2
  |  |  |  |  ------------------
  |  |  |  |               #define COMPARISON_NOT_EQUALS (COMPARISON_UNORDERED | COMPARISON_LESS_THAN | COMPARISON_GREATER_THAN)
  |  |  |  |  ------------------
  |  |  |  |  |  |  535|  66.7M|#define COMPARISON_GREATER_THAN 4
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = ((COMPARISON_NOT_EQUALS + eq) & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  10.4M|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  10.4M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = ((COMPARISON_NOT_EQUALS + eq) & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|   123M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  56.2M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5521:23): [True: 10.4M, False: 56.2M]
  |  |  ------------------
  |  | 5522|  66.7M|            }
  |  | 5523|       |            // _POP_TOP_UNICODE
  |  | 5524|      0|            {
  |  | 5525|  66.7M|                value = r;
  |  | 5526|  66.7M|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (5526:17): [True: 66.7M, False: 0]
  |  |  ------------------
  |  | 5527|  66.7M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  | 5528|  66.7M|            }
  |  | 5529|       |            // _POP_TOP_UNICODE
  |  | 5530|      0|            {
  |  | 5531|  66.7M|                value = l;
  |  | 5532|  66.7M|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (5532:17): [True: 66.7M, False: 0]
  |  |  ------------------
  |  | 5533|  66.7M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  | 5534|  66.7M|            }
  |  | 5535|      0|            stack_pointer[-2] = res;
  |  | 5536|  66.7M|            stack_pointer += -1;
  |  | 5537|  66.7M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  66.7M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5538|  66.7M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  66.7M|    { \
  |  |  |  |  201|  66.7M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  66.7M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  66.7M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  66.7M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  66.7M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  66.7M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  66.7M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  66.7M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 66.7M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  66.7M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  66.7M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  66.7M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  66.7M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  66.7M|    }
  |  |  ------------------
  |  | 5539|  66.7M|        }
  |  | 5540|       |
  |  | 5541|  33.7M|        TARGET(CONTAINS_OP) {
  |  |  ------------------
  |  |  |  |  132|  33.7M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5542|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5543|       |            int opcode = CONTAINS_OP;
  |  | 5544|       |            (void)(opcode);
  |  | 5545|       |            #endif
  |  | 5546|  33.7M|            frame->instr_ptr = next_instr;
  |  | 5547|  33.7M|            next_instr += 2;
  |  | 5548|  33.7M|            INSTRUCTION_STATS(CONTAINS_OP);
  |  |  ------------------
  |  |  |  |   71|  33.7M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5549|  33.7M|            PREDICTED_CONTAINS_OP:;
  |  | 5550|  33.7M|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 5551|  33.7M|            (void)this_instr;
  |  | 5552|  33.7M|            _PyStackRef right;
  |  | 5553|  33.7M|            _PyStackRef left;
  |  | 5554|  33.7M|            _PyStackRef b;
  |  | 5555|  33.7M|            _PyStackRef l;
  |  | 5556|  33.7M|            _PyStackRef r;
  |  | 5557|  33.7M|            _PyStackRef value;
  |  | 5558|       |            // _SPECIALIZE_CONTAINS_OP
  |  | 5559|  33.7M|            {
  |  | 5560|  33.7M|                right = stack_pointer[-1];
  |  | 5561|  33.7M|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 5562|  33.7M|                (void)counter;
  |  | 5563|  33.7M|                #if ENABLE_SPECIALIZATION
  |  | 5564|  33.7M|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  33.7M|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 4.31k, False: 33.7M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5565|  4.31k|                    next_instr = this_instr;
  |  | 5566|  4.31k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5567|  4.31k|                    _PyFrame_StackPointerValidate(frame);
  |  | 5568|  4.31k|                    _Py_Specialize_ContainsOp(right, next_instr);
  |  | 5569|  4.31k|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 5570|  4.31k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|  4.31k|    { \
  |  |  |  |  217|  4.31k|        opcode = next_instr->op.code; \
  |  |  |  |  218|  4.31k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.31k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|  4.31k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  4.31k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|  4.31k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|  4.31k|    }
  |  |  ------------------
  |  | 5571|  4.31k|                }
  |  | 5572|  33.7M|                OPCODE_DEFERRED_INC(CONTAINS_OP);
  |  |  ------------------
  |  |  |  |   90|  33.7M|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 5573|  33.7M|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  358|  33.7M|    do { \
  |  |  |  |  359|  33.7M|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  360|  33.7M|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (360:14): [Folded, False: 33.7M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5574|  33.7M|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 5575|  33.7M|            }
  |  | 5576|       |            // _CONTAINS_OP
  |  | 5577|  33.7M|            {
  |  | 5578|  33.7M|                left = stack_pointer[-2];
  |  | 5579|  33.7M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5580|  33.7M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5581|  33.7M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5582|  33.7M|                _PyFrame_StackPointerValidate(frame);
  |  | 5583|  33.7M|                int res = PySequence_Contains(right_o, left_o);
  |  | 5584|  33.7M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5585|  33.7M|                if (res < 0) {
  |  |  ------------------
  |  |  |  Branch (5585:21): [True: 0, False: 33.7M]
  |  |  ------------------
  |  | 5586|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5587|      0|                }
  |  | 5588|  33.7M|                b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  11.2M|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  11.2M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  56.3M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  22.5M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5588:21): [True: 11.2M, False: 22.5M]
  |  |  ------------------
  |  | 5589|  33.7M|                l = left;
  |  | 5590|  33.7M|                r = right;
  |  | 5591|  33.7M|            }
  |  | 5592|       |            // _POP_TOP
  |  | 5593|      0|            {
  |  | 5594|  33.7M|                value = r;
  |  | 5595|  33.7M|                stack_pointer[-2] = b;
  |  | 5596|  33.7M|                stack_pointer[-1] = l;
  |  | 5597|  33.7M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5597:17): [True: 33.7M, False: 4.31k]
  |  |  ------------------
  |  | 5598|  33.7M|                _PyFrame_StackPointerValidate(frame);
  |  | 5599|  33.7M|                PyStackRef_XCLOSE(value);
  |  | 5600|  33.7M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5601|  33.7M|            }
  |  | 5602|       |            // _POP_TOP
  |  | 5603|      0|            {
  |  | 5604|  33.7M|                value = l;
  |  | 5605|  33.7M|                stack_pointer += -1;
  |  | 5606|  33.7M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  33.7M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5607|  33.7M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5608|  33.7M|                _PyFrame_StackPointerValidate(frame);
  |  | 5609|  33.7M|                PyStackRef_XCLOSE(value);
  |  | 5610|  33.7M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5611|  33.7M|            }
  |  | 5612|  33.7M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  33.7M|    { \
  |  |  |  |  201|  33.7M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  33.7M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  33.7M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  33.7M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  33.7M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  33.7M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  33.7M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  33.7M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 33.7M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  33.7M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  33.7M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  33.7M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  33.7M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  33.7M|    }
  |  |  ------------------
  |  | 5613|  33.7M|        }
  |  | 5614|       |
  |  | 5615|  2.08M|        TARGET(CONTAINS_OP_DICT) {
  |  |  ------------------
  |  |  |  |  132|  2.08M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5616|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5617|       |            int opcode = CONTAINS_OP_DICT;
  |  | 5618|       |            (void)(opcode);
  |  | 5619|       |            #endif
  |  | 5620|  2.08M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5621|  2.08M|            (void)this_instr;
  |  | 5622|  2.08M|            frame->instr_ptr = next_instr;
  |  | 5623|  2.08M|            next_instr += 2;
  |  | 5624|  2.08M|            INSTRUCTION_STATS(CONTAINS_OP_DICT);
  |  |  ------------------
  |  |  |  |   71|  2.08M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5625|  2.08M|            static_assert(INLINE_CACHE_ENTRIES_CONTAINS_OP == 1, "incorrect cache size");
  |  | 5626|  2.08M|            _PyStackRef tos;
  |  | 5627|  2.08M|            _PyStackRef left;
  |  | 5628|  2.08M|            _PyStackRef right;
  |  | 5629|  2.08M|            _PyStackRef b;
  |  | 5630|  2.08M|            _PyStackRef l;
  |  | 5631|  2.08M|            _PyStackRef r;
  |  | 5632|  2.08M|            _PyStackRef value;
  |  | 5633|       |            // _GUARD_TOS_ANY_DICT
  |  | 5634|  2.08M|            {
  |  | 5635|  2.08M|                tos = stack_pointer[-1];
  |  | 5636|  2.08M|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  | 5637|  2.08M|                if (!PyAnyDict_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   41|  2.08M|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|  2.08M|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   65|  4.16M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|  2.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|  2.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (65:5): [True: 2.08M, 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]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5638|      0|                    UPDATE_MISS_STATS(CONTAINS_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5639|      0|                    assert(_PyOpcode_Deopt[opcode] == (CONTAINS_OP));
  |  |  ------------------
  |  |  |  Branch (5639:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 5640|      0|                    JUMP_TO_PREDICTED(CONTAINS_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5641|      0|                }
  |  | 5642|  2.08M|            }
  |  | 5643|       |            /* Skip 1 cache entry */
  |  | 5644|       |            // _CONTAINS_OP_DICT
  |  | 5645|  2.08M|            {
  |  | 5646|  2.08M|                right = tos;
  |  | 5647|  2.08M|                left = stack_pointer[-2];
  |  | 5648|  2.08M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5649|  2.08M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5650|  2.08M|                assert(PyAnyDict_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (5650:17): [True: 2.08M, False: 0]
  |  |  |  Branch (5650:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5651|  2.08M|                STAT_INC(CONTAINS_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  2.08M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5652|  2.08M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5653|  2.08M|                _PyFrame_StackPointerValidate(frame);
  |  | 5654|  2.08M|                int res = PyDict_Contains(right_o, left_o);
  |  | 5655|  2.08M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5656|  2.08M|                if (res < 0) {
  |  |  ------------------
  |  |  |  Branch (5656:21): [True: 0, False: 2.08M]
  |  |  ------------------
  |  | 5657|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5658|      0|                }
  |  | 5659|  2.08M|                b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|   844k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   844k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  3.32M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.23M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5659:21): [True: 844k, False: 1.23M]
  |  |  ------------------
  |  | 5660|  2.08M|                l = left;
  |  | 5661|  2.08M|                r = right;
  |  | 5662|  2.08M|            }
  |  | 5663|       |            // _POP_TOP
  |  | 5664|      0|            {
  |  | 5665|  2.08M|                value = r;
  |  | 5666|  2.08M|                stack_pointer[-2] = b;
  |  | 5667|  2.08M|                stack_pointer[-1] = l;
  |  | 5668|  2.08M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5668:17): [True: 2.08M, False: 0]
  |  |  ------------------
  |  | 5669|  2.08M|                _PyFrame_StackPointerValidate(frame);
  |  | 5670|  2.08M|                PyStackRef_XCLOSE(value);
  |  | 5671|  2.08M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5672|  2.08M|            }
  |  | 5673|       |            // _POP_TOP
  |  | 5674|      0|            {
  |  | 5675|  2.08M|                value = l;
  |  | 5676|  2.08M|                stack_pointer += -1;
  |  | 5677|  2.08M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.08M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5678|  2.08M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5679|  2.08M|                _PyFrame_StackPointerValidate(frame);
  |  | 5680|  2.08M|                PyStackRef_XCLOSE(value);
  |  | 5681|  2.08M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5682|  2.08M|            }
  |  | 5683|  2.08M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.08M|    { \
  |  |  |  |  201|  2.08M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.08M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.08M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.08M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.08M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.08M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.08M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.08M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 5684|  2.08M|        }
  |  | 5685|       |
  |  | 5686|  26.8M|        TARGET(CONTAINS_OP_SET) {
  |  |  ------------------
  |  |  |  |  132|  26.8M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5687|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5688|       |            int opcode = CONTAINS_OP_SET;
  |  | 5689|       |            (void)(opcode);
  |  | 5690|       |            #endif
  |  | 5691|  26.8M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5692|  26.8M|            (void)this_instr;
  |  | 5693|  26.8M|            frame->instr_ptr = next_instr;
  |  | 5694|  26.8M|            next_instr += 2;
  |  | 5695|  26.8M|            INSTRUCTION_STATS(CONTAINS_OP_SET);
  |  |  ------------------
  |  |  |  |   71|  26.8M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5696|  26.8M|            static_assert(INLINE_CACHE_ENTRIES_CONTAINS_OP == 1, "incorrect cache size");
  |  | 5697|  26.8M|            _PyStackRef tos;
  |  | 5698|  26.8M|            _PyStackRef left;
  |  | 5699|  26.8M|            _PyStackRef right;
  |  | 5700|  26.8M|            _PyStackRef b;
  |  | 5701|  26.8M|            _PyStackRef l;
  |  | 5702|  26.8M|            _PyStackRef r;
  |  | 5703|  26.8M|            _PyStackRef value;
  |  | 5704|       |            // _GUARD_TOS_ANY_SET
  |  | 5705|  26.8M|            {
  |  | 5706|  26.8M|                tos = stack_pointer[-1];
  |  | 5707|  26.8M|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  | 5708|  26.8M|                if (!PyAnySet_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   29|  26.8M|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  53.6M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  26.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  26.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 7.03M, False: 19.7M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  19.7M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  19.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  19.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 19.7M, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5709|      0|                    UPDATE_MISS_STATS(CONTAINS_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5710|      0|                    assert(_PyOpcode_Deopt[opcode] == (CONTAINS_OP));
  |  |  ------------------
  |  |  |  Branch (5710:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 5711|      0|                    JUMP_TO_PREDICTED(CONTAINS_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5712|      0|                }
  |  | 5713|  26.8M|            }
  |  | 5714|       |            /* Skip 1 cache entry */
  |  | 5715|       |            // _CONTAINS_OP_SET
  |  | 5716|  26.8M|            {
  |  | 5717|  26.8M|                right = tos;
  |  | 5718|  26.8M|                left = stack_pointer[-2];
  |  | 5719|  26.8M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5720|  26.8M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5721|  26.8M|                assert(PyAnySet_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (5721:17): [True: 7.03M, False: 19.7M]
  |  |  |  Branch (5721:17): [True: 19.7M, False: 0]
  |  |  ------------------
  |  | 5722|  26.8M|                STAT_INC(CONTAINS_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  26.8M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5723|  26.8M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5724|  26.8M|                _PyFrame_StackPointerValidate(frame);
  |  | 5725|  26.8M|                int res = _PySet_Contains((PySetObject *)right_o, left_o);
  |  | 5726|  26.8M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5727|  26.8M|                if (res < 0) {
  |  |  ------------------
  |  |  |  Branch (5727:21): [True: 0, False: 26.8M]
  |  |  ------------------
  |  | 5728|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5729|      0|                }
  |  | 5730|  26.8M|                b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  13.1M|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  13.1M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  40.5M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  13.6M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5730:21): [True: 13.1M, False: 13.6M]
  |  |  ------------------
  |  | 5731|  26.8M|                l = left;
  |  | 5732|  26.8M|                r = right;
  |  | 5733|  26.8M|            }
  |  | 5734|       |            // _POP_TOP
  |  | 5735|      0|            {
  |  | 5736|  26.8M|                value = r;
  |  | 5737|  26.8M|                stack_pointer[-2] = b;
  |  | 5738|  26.8M|                stack_pointer[-1] = l;
  |  | 5739|  26.8M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5739:17): [True: 26.8M, False: 0]
  |  |  ------------------
  |  | 5740|  26.8M|                _PyFrame_StackPointerValidate(frame);
  |  | 5741|  26.8M|                PyStackRef_XCLOSE(value);
  |  | 5742|  26.8M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5743|  26.8M|            }
  |  | 5744|       |            // _POP_TOP
  |  | 5745|      0|            {
  |  | 5746|  26.8M|                value = l;
  |  | 5747|  26.8M|                stack_pointer += -1;
  |  | 5748|  26.8M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  26.8M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5749|  26.8M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5750|  26.8M|                _PyFrame_StackPointerValidate(frame);
  |  | 5751|  26.8M|                PyStackRef_XCLOSE(value);
  |  | 5752|  26.8M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5753|  26.8M|            }
  |  | 5754|  26.8M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  26.8M|    { \
  |  |  |  |  201|  26.8M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  26.8M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  26.8M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  26.8M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  26.8M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  26.8M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  26.8M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  26.8M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 26.8M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  26.8M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  26.8M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  26.8M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  26.8M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  26.8M|    }
  |  |  ------------------
  |  | 5755|  26.8M|        }
  |  | 5756|       |
  |  | 5757|    178|        TARGET(CONVERT_VALUE) {
  |  |  ------------------
  |  |  |  |  132|    178|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5758|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5759|       |            int opcode = CONVERT_VALUE;
  |  | 5760|       |            (void)(opcode);
  |  | 5761|       |            #endif
  |  | 5762|    178|            frame->instr_ptr = next_instr;
  |  | 5763|    178|            next_instr += 1;
  |  | 5764|    178|            INSTRUCTION_STATS(CONVERT_VALUE);
  |  |  ------------------
  |  |  |  |   71|    178|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5765|    178|            _PyStackRef value;
  |  | 5766|    178|            _PyStackRef result;
  |  | 5767|    178|            value = stack_pointer[-1];
  |  | 5768|    178|            conversion_func conv_fn;
  |  | 5769|    178|            assert(oparg >= FVC_STR && oparg <= FVC_ASCII);
  |  |  ------------------
  |  |  |  Branch (5769:13): [True: 178, False: 0]
  |  |  |  Branch (5769:13): [True: 178, False: 0]
  |  |  ------------------
  |  | 5770|    178|            conv_fn = _PyEval_ConversionFuncs[oparg];
  |  | 5771|    178|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5772|    178|            _PyFrame_StackPointerValidate(frame);
  |  | 5773|    178|            PyObject *result_o = conv_fn(PyStackRef_AsPyObjectBorrow(value));
  |  | 5774|    178|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5775|    178|            stack_pointer += -1;
  |  | 5776|    178|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    178|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5777|    178|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5778|    178|            _PyFrame_StackPointerValidate(frame);
  |  | 5779|    178|            PyStackRef_CLOSE(value);
  |  | 5780|    178|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5781|    178|            if (result_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (5781:17): [True: 0, False: 178]
  |  |  ------------------
  |  | 5782|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5783|      0|            }
  |  | 5784|    178|            result = PyStackRef_FromPyObjectSteal(result_o);
  |  | 5785|    178|            stack_pointer[0] = result;
  |  | 5786|    178|            stack_pointer += 1;
  |  | 5787|    178|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    178|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5788|    178|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    178|    { \
  |  |  |  |  201|    178|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    178|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    178|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    178|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    178|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    178|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    178|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    178|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 5789|    178|        }
  |  | 5790|       |
  |  | 5791|  20.3M|        TARGET(COPY) {
  |  |  ------------------
  |  |  |  |  132|  20.3M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5792|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5793|       |            int opcode = COPY;
  |  | 5794|       |            (void)(opcode);
  |  | 5795|       |            #endif
  |  | 5796|  20.3M|            frame->instr_ptr = next_instr;
  |  | 5797|  20.3M|            next_instr += 1;
  |  | 5798|  20.3M|            INSTRUCTION_STATS(COPY);
  |  |  ------------------
  |  |  |  |   71|  20.3M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5799|  20.3M|            _PyStackRef bottom;
  |  | 5800|  20.3M|            _PyStackRef top;
  |  | 5801|  20.3M|            bottom = stack_pointer[-1 - (oparg-1)];
  |  | 5802|  20.3M|            top = PyStackRef_DUP(bottom);
  |  | 5803|  20.3M|            stack_pointer[0] = top;
  |  | 5804|  20.3M|            stack_pointer += 1;
  |  | 5805|  20.3M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  20.3M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5806|  20.3M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  20.3M|    { \
  |  |  |  |  201|  20.3M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  20.3M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  20.3M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  20.3M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  20.3M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  20.3M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  20.3M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  20.3M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 20.3M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  20.3M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  20.3M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  20.3M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  20.3M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  20.3M|    }
  |  |  ------------------
  |  | 5807|  20.3M|        }
  |  | 5808|       |
  |  | 5809|  20.3M|        TARGET(COPY_FREE_VARS) {
  |  |  ------------------
  |  |  |  |  132|  2.95M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5810|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5811|       |            int opcode = COPY_FREE_VARS;
  |  | 5812|       |            (void)(opcode);
  |  | 5813|       |            #endif
  |  | 5814|  2.95M|            frame->instr_ptr = next_instr;
  |  | 5815|  2.95M|            next_instr += 1;
  |  | 5816|  2.95M|            INSTRUCTION_STATS(COPY_FREE_VARS);
  |  |  ------------------
  |  |  |  |   71|  2.95M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5817|  2.95M|            PyCodeObject *co = _PyFrame_GetCode(frame);
  |  | 5818|  2.95M|            assert(PyStackRef_FunctionCheck(frame->f_funcobj));
  |  |  ------------------
  |  |  |  Branch (5818:13): [True: 2.95M, False: 0]
  |  |  ------------------
  |  | 5819|  2.95M|            PyFunctionObject *func = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(frame->f_funcobj);
  |  | 5820|  2.95M|            PyObject *closure = func->func_closure;
  |  | 5821|  2.95M|            assert(oparg == co->co_nfreevars);
  |  |  ------------------
  |  |  |  Branch (5821:13): [True: 2.95M, False: 0]
  |  |  ------------------
  |  | 5822|  2.95M|            int offset = co->co_nlocalsplus - oparg;
  |  | 5823|  11.8M|            for (int i = 0; i < oparg; ++i) {
  |  |  ------------------
  |  |  |  Branch (5823:29): [True: 8.85M, False: 2.95M]
  |  |  ------------------
  |  | 5824|  8.85M|                PyObject *o = PyTuple_GET_ITEM(closure, i);
  |  |  ------------------
  |  |  |  |   29|  8.85M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|  8.85M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.85M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5824:31): [True: 8.85M, False: 0]
  |  |  ------------------
  |  | 5825|  8.85M|                frame->localsplus[offset + i] = PyStackRef_FromPyObjectNew(o);
  |  |  ------------------
  |  |  |  |  611|  8.85M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.85M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.85M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5826|  8.85M|            }
  |  | 5827|  2.95M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.95M|    { \
  |  |  |  |  201|  2.95M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.95M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.95M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.95M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.95M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.95M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.95M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.95M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.95M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.95M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.95M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.95M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.95M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.95M|    }
  |  |  ------------------
  |  | 5828|  2.95M|        }
  |  | 5829|       |
  |  | 5830|      0|        TARGET(DELETE_DEREF) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5831|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5832|       |            int opcode = DELETE_DEREF;
  |  | 5833|       |            (void)(opcode);
  |  | 5834|       |            #endif
  |  | 5835|      0|            frame->instr_ptr = next_instr;
  |  | 5836|      0|            next_instr += 1;
  |  | 5837|      0|            INSTRUCTION_STATS(DELETE_DEREF);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5838|      0|            PyObject *cell = PyStackRef_AsPyObjectBorrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  285|      0|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 5839|      0|            PyObject *oldobj = PyCell_SwapTakeRef((PyCellObject *)cell, NULL);
  |  | 5840|      0|            if (oldobj == NULL) {
  |  |  ------------------
  |  |  |  Branch (5840:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5841|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5842|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5843|      0|                _PyEval_FormatExcUnbound(tstate, _PyFrame_GetCode(frame), oparg);
  |  | 5844|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5845|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5846|      0|            }
  |  | 5847|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5848|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 5849|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5850|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5851|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 5852|      0|        }
  |  | 5853|       |
  |  | 5854|     43|        TARGET(DELETE_FAST) {
  |  |  ------------------
  |  |  |  |  132|     43|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5855|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5856|       |            int opcode = DELETE_FAST;
  |  | 5857|       |            (void)(opcode);
  |  | 5858|       |            #endif
  |  | 5859|     43|            frame->instr_ptr = next_instr;
  |  | 5860|     43|            next_instr += 1;
  |  | 5861|     43|            INSTRUCTION_STATS(DELETE_FAST);
  |  |  ------------------
  |  |  |  |   71|     43|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5862|     43|            _PyStackRef v = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  285|     43|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 5863|     43|            if (PyStackRef_IsNull(v)) {
  |  |  ------------------
  |  |  |  |  482|     43|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|     43|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|     43|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 43]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5864|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5865|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5866|      0|                _PyEval_FormatExcCheckArg(tstate, PyExc_UnboundLocalError,
  |  | 5867|      0|                    UNBOUNDLOCAL_ERROR_MSG,
  |  |  ------------------
  |  |  |  |  381|      0|    "cannot access local variable '%s' where it is not associated with a value"
  |  |  ------------------
  |  | 5868|      0|                    PyTuple_GetItem(_PyFrame_GetCode(frame)->co_localsplusnames, oparg)
  |  | 5869|      0|                );
  |  | 5870|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5871|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5872|      0|            }
  |  | 5873|     43|            _PyStackRef tmp = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  285|     43|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 5874|     43|            GETLOCAL(oparg) = PyStackRef_NULL;
  |  |  ------------------
  |  |  |  |  285|     43|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 5875|     43|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5876|     43|            _PyFrame_StackPointerValidate(frame);
  |  | 5877|     43|            PyStackRef_XCLOSE(tmp);
  |  | 5878|     43|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5879|     43|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     43|    { \
  |  |  |  |  201|     43|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     43|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     43|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     43|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     43|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     43|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     43|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     43|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 43]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     43|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     43|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     43|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     43|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     43|    }
  |  |  ------------------
  |  | 5880|     43|        }
  |  | 5881|       |
  |  | 5882|  35.7k|        TARGET(DELETE_SUBSCR) {
  |  |  ------------------
  |  |  |  |  132|  35.7k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5883|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5884|       |            int opcode = DELETE_SUBSCR;
  |  | 5885|       |            (void)(opcode);
  |  | 5886|       |            #endif
  |  | 5887|  35.7k|            frame->instr_ptr = next_instr;
  |  | 5888|  35.7k|            next_instr += 1;
  |  | 5889|  35.7k|            INSTRUCTION_STATS(DELETE_SUBSCR);
  |  |  ------------------
  |  |  |  |   71|  35.7k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5890|  35.7k|            _PyStackRef container;
  |  | 5891|  35.7k|            _PyStackRef sub;
  |  | 5892|  35.7k|            sub = stack_pointer[-1];
  |  | 5893|  35.7k|            container = stack_pointer[-2];
  |  | 5894|  35.7k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5895|  35.7k|            _PyFrame_StackPointerValidate(frame);
  |  | 5896|  35.7k|            int err = PyObject_DelItem(PyStackRef_AsPyObjectBorrow(container),
  |  | 5897|  35.7k|                                       PyStackRef_AsPyObjectBorrow(sub));
  |  | 5898|  35.7k|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5899|  35.7k|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5899:13): [True: 35.7k, False: 0]
  |  |  ------------------
  |  | 5900|  35.7k|            _PyFrame_StackPointerValidate(frame);
  |  | 5901|  35.7k|            _PyStackRef tmp = sub;
  |  | 5902|  35.7k|            sub = PyStackRef_NULL;
  |  | 5903|  35.7k|            stack_pointer[-1] = sub;
  |  | 5904|  35.7k|            PyStackRef_CLOSE(tmp);
  |  | 5905|  35.7k|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5906|  35.7k|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5906:13): [True: 35.7k, False: 0]
  |  |  ------------------
  |  | 5907|  35.7k|            _PyFrame_StackPointerValidate(frame);
  |  | 5908|  35.7k|            tmp = container;
  |  | 5909|  35.7k|            container = PyStackRef_NULL;
  |  | 5910|  35.7k|            stack_pointer[-2] = container;
  |  | 5911|  35.7k|            PyStackRef_CLOSE(tmp);
  |  | 5912|  35.7k|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5913|  35.7k|            stack_pointer += -2;
  |  | 5914|  35.7k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  35.7k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5915|  35.7k|            if (err) {
  |  |  ------------------
  |  |  |  Branch (5915:17): [True: 0, False: 35.7k]
  |  |  ------------------
  |  | 5916|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5917|      0|            }
  |  | 5918|  35.7k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  35.7k|    { \
  |  |  |  |  201|  35.7k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  35.7k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  35.7k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  35.7k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  35.7k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  35.7k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  35.7k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  35.7k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 35.7k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  35.7k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  35.7k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  35.7k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  35.7k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  35.7k|    }
  |  |  ------------------
  |  | 5919|  35.7k|        }
  |  | 5920|       |
  |  | 5921|    310|        TARGET(DICT_MERGE) {
  |  |  ------------------
  |  |  |  |  132|    310|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5922|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5923|       |            int opcode = DICT_MERGE;
  |  | 5924|       |            (void)(opcode);
  |  | 5925|       |            #endif
  |  | 5926|    310|            frame->instr_ptr = next_instr;
  |  | 5927|    310|            next_instr += 1;
  |  | 5928|    310|            INSTRUCTION_STATS(DICT_MERGE);
  |  |  ------------------
  |  |  |  |   71|    310|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5929|    310|            _PyStackRef callable;
  |  | 5930|    310|            _PyStackRef dict;
  |  | 5931|    310|            _PyStackRef update;
  |  | 5932|    310|            _PyStackRef u;
  |  | 5933|    310|            _PyStackRef value;
  |  | 5934|       |            // _DICT_MERGE
  |  | 5935|    310|            {
  |  | 5936|    310|                update = stack_pointer[-1];
  |  | 5937|    310|                dict = stack_pointer[-2 - (oparg - 1)];
  |  | 5938|    310|                callable = stack_pointer[-5 - (oparg - 1)];
  |  | 5939|    310|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 5940|    310|                PyObject *dict_o = PyStackRef_AsPyObjectBorrow(dict);
  |  | 5941|    310|                PyObject *update_o = PyStackRef_AsPyObjectBorrow(update);
  |  | 5942|    310|                PyObject *dupkey = NULL;
  |  | 5943|    310|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5944|    310|                _PyFrame_StackPointerValidate(frame);
  |  | 5945|    310|                int err = _PyDict_MergeUniq(dict_o, update_o, &dupkey);
  |  | 5946|    310|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5947|    310|                if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (5947:21): [True: 0, False: 310]
  |  |  ------------------
  |  | 5948|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5948:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 5949|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 5950|      0|                    _PyEval_FormatKwargsError(tstate, callable_o, update_o, dupkey);
  |  | 5951|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 5952|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5952:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 5953|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 5954|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5955|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 5956|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5957|      0|                }
  |  | 5958|    310|                u = update;
  |  | 5959|    310|            }
  |  | 5960|       |            // _POP_TOP
  |  | 5961|      0|            {
  |  | 5962|    310|                value = u;
  |  | 5963|    310|                stack_pointer += -1;
  |  | 5964|    310|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    310|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5965|    310|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5966|    310|                _PyFrame_StackPointerValidate(frame);
  |  | 5967|    310|                PyStackRef_XCLOSE(value);
  |  | 5968|    310|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5969|    310|            }
  |  | 5970|    310|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    310|    { \
  |  |  |  |  201|    310|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    310|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    310|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    310|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    310|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    310|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    310|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    310|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 5971|    310|        }
  |  | 5972|       |
  |  | 5973|    111|        TARGET(DICT_UPDATE) {
  |  |  ------------------
  |  |  |  |  132|    111|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5974|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5975|       |            int opcode = DICT_UPDATE;
  |  | 5976|       |            (void)(opcode);
  |  | 5977|       |            #endif
  |  | 5978|    111|            frame->instr_ptr = next_instr;
  |  | 5979|    111|            next_instr += 1;
  |  | 5980|    111|            INSTRUCTION_STATS(DICT_UPDATE);
  |  |  ------------------
  |  |  |  |   71|    111|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5981|    111|            _PyStackRef dict;
  |  | 5982|    111|            _PyStackRef update;
  |  | 5983|    111|            _PyStackRef upd;
  |  | 5984|    111|            _PyStackRef value;
  |  | 5985|       |            // _DICT_UPDATE
  |  | 5986|    111|            {
  |  | 5987|    111|                update = stack_pointer[-1];
  |  | 5988|    111|                dict = stack_pointer[-2 - (oparg - 1)];
  |  | 5989|    111|                PyObject *dict_o = PyStackRef_AsPyObjectBorrow(dict);
  |  | 5990|    111|                PyObject *update_o = PyStackRef_AsPyObjectBorrow(update);
  |  | 5991|    111|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5992|    111|                _PyFrame_StackPointerValidate(frame);
  |  | 5993|    111|                int err = PyDict_Update(dict_o, update_o);
  |  | 5994|    111|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5995|    111|                if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (5995:21): [True: 0, False: 111]
  |  |  ------------------
  |  | 5996|      0|                    int matches = _PyErr_ExceptionMatches(tstate, PyExc_AttributeError);
  |  | 5997|      0|                    if (matches) {
  |  |  ------------------
  |  |  |  Branch (5997:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 5998|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5998:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 5999|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 6000|      0|                        PyObject *exc = _PyErr_GetRaisedException(tstate);
  |  | 6001|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 6002|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6002:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 6003|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 6004|      0|                        int has_keys = PyObject_HasAttrWithError(update_o, &_Py_ID(keys));
  |  |  ------------------
  |  |  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6005|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 6006|      0|                        if (has_keys == 0) {
  |  |  ------------------
  |  |  |  Branch (6006:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 6007|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6007:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 6008|      0|                            _PyFrame_StackPointerValidate(frame);
  |  | 6009|      0|                            _PyErr_Format(tstate, PyExc_TypeError,
  |  | 6010|      0|                                      "'%T' object is not a mapping",
  |  | 6011|      0|                                      update_o);
  |  | 6012|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  | 6013|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6013:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 6014|      0|                            _PyFrame_StackPointerValidate(frame);
  |  | 6015|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6016|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  | 6017|      0|                        }
  |  | 6018|      0|                        else {
  |  | 6019|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6019:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 6020|      0|                            _PyFrame_StackPointerValidate(frame);
  |  | 6021|      0|                            _PyErr_ChainExceptions1(exc);
  |  | 6022|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  | 6023|      0|                        }
  |  | 6024|      0|                    }
  |  | 6025|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6026|      0|                }
  |  | 6027|    111|                upd = update;
  |  | 6028|    111|            }
  |  | 6029|       |            // _POP_TOP
  |  | 6030|      0|            {
  |  | 6031|    111|                value = upd;
  |  | 6032|    111|                stack_pointer += -1;
  |  | 6033|    111|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    111|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6034|    111|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6035|    111|                _PyFrame_StackPointerValidate(frame);
  |  | 6036|    111|                PyStackRef_XCLOSE(value);
  |  | 6037|    111|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6038|    111|            }
  |  | 6039|    111|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    111|    { \
  |  |  |  |  201|    111|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    111|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    111|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    111|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    111|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    111|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    111|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    111|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 111]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    111|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    111|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    111|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    111|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    111|    }
  |  |  ------------------
  |  | 6040|    111|        }
  |  | 6041|       |
  |  | 6042|      0|        TARGET(END_ASYNC_FOR) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6043|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6044|       |            int opcode = END_ASYNC_FOR;
  |  | 6045|       |            (void)(opcode);
  |  | 6046|       |            #endif
  |  | 6047|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6048|      0|            (void)this_instr;
  |  | 6049|      0|            frame->instr_ptr = next_instr;
  |  | 6050|      0|            next_instr += 1;
  |  | 6051|      0|            INSTRUCTION_STATS(END_ASYNC_FOR);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6052|      0|            _PyStackRef awaitable_st;
  |  | 6053|      0|            _PyStackRef exc_st;
  |  | 6054|      0|            exc_st = stack_pointer[-1];
  |  | 6055|      0|            awaitable_st = stack_pointer[-2];
  |  | 6056|      0|            JUMPBY(0);
  |  |  ------------------
  |  |  |  |  261|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6057|      0|            (void)oparg;
  |  | 6058|      0|            PyObject *exc = PyStackRef_AsPyObjectBorrow(exc_st);
  |  | 6059|      0|            assert(exc && PyExceptionInstance_Check(exc));
  |  |  ------------------
  |  |  |  Branch (6059:13): [True: 0, False: 0]
  |  |  |  Branch (6059:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 6060|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6061|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6062|      0|            int matches = PyErr_GivenExceptionMatches(exc, PyExc_StopAsyncIteration);
  |  | 6063|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6064|      0|            if (matches) {
  |  |  ------------------
  |  |  |  Branch (6064:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6065|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6065:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6066|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6067|      0|                _PyStackRef tmp = exc_st;
  |  | 6068|      0|                exc_st = PyStackRef_NULL;
  |  | 6069|      0|                stack_pointer[-1] = exc_st;
  |  | 6070|      0|                PyStackRef_CLOSE(tmp);
  |  | 6071|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6072|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6072:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6073|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6074|      0|                tmp = awaitable_st;
  |  | 6075|      0|                awaitable_st = PyStackRef_NULL;
  |  | 6076|      0|                stack_pointer[-2] = awaitable_st;
  |  | 6077|      0|                PyStackRef_CLOSE(tmp);
  |  | 6078|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6079|      0|                stack_pointer += -2;
  |  | 6080|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6081|      0|            }
  |  | 6082|      0|            else {
  |  | 6083|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6084|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6084:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6085|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6086|      0|                _PyErr_SetRaisedException(tstate, exc);
  |  | 6087|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6088|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6088:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6089|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6090|      0|                monitor_reraise(tstate, frame, this_instr);
  |  | 6091|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6092|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6092:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6093|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6094|      0|                JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6095|      0|            }
  |  | 6096|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 6097|      0|        }
  |  | 6098|       |
  |  | 6099|  5.18M|        TARGET(END_FOR) {
  |  |  ------------------
  |  |  |  |  132|  5.18M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6100|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6101|       |            int opcode = END_FOR;
  |  | 6102|       |            (void)(opcode);
  |  | 6103|       |            #endif
  |  | 6104|  5.18M|            next_instr += 1;
  |  | 6105|  5.18M|            INSTRUCTION_STATS(END_FOR);
  |  |  ------------------
  |  |  |  |   71|  5.18M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6106|  5.18M|            _PyStackRef value;
  |  | 6107|  5.18M|            value = stack_pointer[-1];
  |  | 6108|  5.18M|            stack_pointer += -1;
  |  | 6109|  5.18M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  5.18M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6110|  5.18M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6111|  5.18M|            _PyFrame_StackPointerValidate(frame);
  |  | 6112|  5.18M|            PyStackRef_CLOSE(value);
  |  | 6113|  5.18M|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6114|  5.18M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  5.18M|    { \
  |  |  |  |  201|  5.18M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  5.18M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  5.18M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  5.18M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  5.18M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  5.18M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  5.18M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  5.18M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 5.18M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  5.18M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  5.18M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  5.18M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  5.18M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  5.18M|    }
  |  |  ------------------
  |  | 6115|  5.18M|        }
  |  | 6116|       |
  |  | 6117|  5.18M|        TARGET(END_SEND) {
  |  |  ------------------
  |  |  |  |  132|   341k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6118|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6119|       |            int opcode = END_SEND;
  |  | 6120|       |            (void)(opcode);
  |  | 6121|       |            #endif
  |  | 6122|   341k|            frame->instr_ptr = next_instr;
  |  | 6123|   341k|            next_instr += 1;
  |  | 6124|   341k|            INSTRUCTION_STATS(END_SEND);
  |  |  ------------------
  |  |  |  |   71|   341k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6125|   341k|            _PyStackRef receiver;
  |  | 6126|   341k|            _PyStackRef index_or_null;
  |  | 6127|   341k|            _PyStackRef value;
  |  | 6128|   341k|            _PyStackRef val;
  |  | 6129|   341k|            value = stack_pointer[-1];
  |  | 6130|   341k|            index_or_null = stack_pointer[-2];
  |  | 6131|   341k|            receiver = stack_pointer[-3];
  |  | 6132|   341k|            val = value;
  |  | 6133|   341k|            (void)index_or_null;
  |  | 6134|   341k|            stack_pointer[-3] = val;
  |  | 6135|   341k|            stack_pointer += -2;
  |  | 6136|   341k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   341k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6137|   341k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6138|   341k|            _PyFrame_StackPointerValidate(frame);
  |  | 6139|   341k|            PyStackRef_CLOSE(receiver);
  |  | 6140|   341k|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6141|   341k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   341k|    { \
  |  |  |  |  201|   341k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   341k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   341k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   341k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   341k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   341k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   341k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   341k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 341k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   341k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   341k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   341k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   341k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   341k|    }
  |  |  ------------------
  |  | 6142|   341k|        }
  |  | 6143|       |
  |  | 6144|   341k|        TARGET(ENTER_EXECUTOR) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6145|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6146|       |            int opcode = ENTER_EXECUTOR;
  |  | 6147|       |            (void)(opcode);
  |  | 6148|       |            #endif
  |  | 6149|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6150|      0|            (void)this_instr;
  |  | 6151|      0|            frame->instr_ptr = next_instr;
  |  | 6152|      0|            next_instr += 1;
  |  | 6153|      0|            INSTRUCTION_STATS(ENTER_EXECUTOR);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6154|      0|            opcode = ENTER_EXECUTOR;
  |  |  ------------------
  |  |  |  |  242|      0|#define ENTER_EXECUTOR                         254
  |  |  ------------------
  |  | 6155|       |            #ifdef _Py_TIER2
  |  | 6156|       |            PyCodeObject *code = _PyFrame_GetCode(frame);
  |  | 6157|       |            _PyExecutorObject *executor = code->co_executors->executors[oparg & 255];
  |  | 6158|       |            if (IS_JIT_TRACING()) {
  |  | 6159|       |                int og_opcode = executor->vm_data.opcode;
  |  | 6160|       |                int og_oparg = (oparg & ~255) | executor->vm_data.oparg;
  |  | 6161|       |                next_instr = this_instr;
  |  | 6162|       |                if (_PyJit_EnterExecutorShouldStopTracing(og_opcode)) {
  |  | 6163|       |                    if (_PyOpcode_Caches[_PyOpcode_Deopt[og_opcode]]) {
  |  | 6164|       |                        PAUSE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  | 6165|       |                    }
  |  | 6166|       |                    opcode = og_opcode;
  |  | 6167|       |                    oparg = og_oparg;
  |  | 6168|       |                    DISPATCH_GOTO_NON_TRACING();
  |  | 6169|       |                }
  |  | 6170|       |                JUMP_TO_LABEL(stop_tracing);
  |  | 6171|       |            }
  |  | 6172|       |            assert(executor->vm_data.index == INSTR_OFFSET() - 1);
  |  | 6173|       |            assert(executor->vm_data.code == code);
  |  | 6174|       |            assert(executor->vm_data.valid);
  |  | 6175|       |            assert(tstate->current_executor == NULL);
  |  | 6176|       |            uintptr_t iversion = FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(code->_co_instrumentation_version);
  |  | 6177|       |            if (_Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker) != iversion) {
  |  | 6178|       |                opcode = executor->vm_data.opcode;
  |  | 6179|       |                oparg = (oparg & ~255) | executor->vm_data.oparg;
  |  | 6180|       |                next_instr = this_instr;
  |  | 6181|       |                if (_PyOpcode_Caches[_PyOpcode_Deopt[opcode]]) {
  |  | 6182|       |                    PAUSE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  | 6183|       |                }
  |  | 6184|       |                DISPATCH_GOTO();
  |  | 6185|       |            }
  |  | 6186|       |            assert(executor != tstate->interp->cold_executor);
  |  | 6187|       |            tstate->jit_exit = NULL;
  |  | 6188|       |            TIER1_TO_TIER2(executor);
  |  | 6189|       |            #else
  |  | 6190|      0|            Py_FatalError("ENTER_EXECUTOR is not supported in this build");
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  |  | 6191|      0|            #endif /* _Py_TIER2 */
  |  | 6192|      0|        }
  |  | 6193|       |
  |  | 6194|  6.47M|        TARGET(EXIT_INIT_CHECK) {
  |  |  ------------------
  |  |  |  |  132|  6.47M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6195|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6196|       |            int opcode = EXIT_INIT_CHECK;
  |  | 6197|       |            (void)(opcode);
  |  | 6198|       |            #endif
  |  | 6199|  6.47M|            frame->instr_ptr = next_instr;
  |  | 6200|  6.47M|            next_instr += 1;
  |  | 6201|  6.47M|            INSTRUCTION_STATS(EXIT_INIT_CHECK);
  |  |  ------------------
  |  |  |  |   71|  6.47M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6202|  6.47M|            _PyStackRef should_be_none;
  |  | 6203|  6.47M|            should_be_none = stack_pointer[-1];
  |  | 6204|  6.47M|            if (!PyStackRef_IsNone(should_be_none)) {
  |  |  ------------------
  |  |  |  |  495|  6.47M|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  6.47M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6204:17): [True: 0, False: 6.47M]
  |  |  ------------------
  |  | 6205|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6206|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6207|      0|                PyErr_Format(PyExc_TypeError,
  |  | 6208|      0|                             "__init__() should return None, not '%.200s'",
  |  | 6209|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6210|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6211|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6212|      0|            }
  |  | 6213|  6.47M|            stack_pointer += -1;
  |  | 6214|  6.47M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  6.47M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6215|  6.47M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  6.47M|    { \
  |  |  |  |  201|  6.47M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  6.47M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  6.47M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  6.47M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  6.47M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  6.47M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  6.47M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  6.47M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 6.47M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  6.47M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  6.47M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  6.47M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  6.47M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  6.47M|    }
  |  |  ------------------
  |  | 6216|  6.47M|        }
  |  | 6217|       |
  |  | 6218|  56.3M|        TARGET(EXTENDED_ARG) {
  |  |  ------------------
  |  |  |  |  132|  56.3M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6219|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6220|       |            int opcode = EXTENDED_ARG;
  |  | 6221|       |            (void)(opcode);
  |  | 6222|       |            #endif
  |  | 6223|  56.3M|            frame->instr_ptr = next_instr;
  |  | 6224|  56.3M|            next_instr += 1;
  |  | 6225|  56.3M|            INSTRUCTION_STATS(EXTENDED_ARG);
  |  |  ------------------
  |  |  |  |   71|  56.3M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6226|  56.3M|            opcode = EXTENDED_ARG;
  |  |  ------------------
  |  |  |  |   77|  56.3M|#define EXTENDED_ARG                            64
  |  |  ------------------
  |  | 6227|  56.3M|            assert(oparg);
  |  |  ------------------
  |  |  |  Branch (6227:13): [True: 56.3M, False: 0]
  |  |  ------------------
  |  | 6228|  56.3M|            opcode = next_instr->op.code;
  |  | 6229|  56.3M|            oparg = oparg << 8 | next_instr->op.arg;
  |  | 6230|  56.3M|            PRE_DISPATCH_GOTO();
  |  |  ------------------
  |  |  |  |  176|  56.3M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  ------------------
  |  | 6231|  56.3M|            DISPATCH_GOTO();
  |  |  ------------------
  |  |  |  |  133|  56.3M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  ------------------
  |  | 6232|  56.3M|        }
  |  | 6233|       |
  |  | 6234|  1.42M|        TARGET(FORMAT_SIMPLE) {
  |  |  ------------------
  |  |  |  |  132|  1.42M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6235|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6236|       |            int opcode = FORMAT_SIMPLE;
  |  | 6237|       |            (void)(opcode);
  |  | 6238|       |            #endif
  |  | 6239|  1.42M|            frame->instr_ptr = next_instr;
  |  | 6240|  1.42M|            next_instr += 1;
  |  | 6241|  1.42M|            INSTRUCTION_STATS(FORMAT_SIMPLE);
  |  |  ------------------
  |  |  |  |   71|  1.42M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6242|  1.42M|            _PyStackRef value;
  |  | 6243|  1.42M|            _PyStackRef res;
  |  | 6244|  1.42M|            value = stack_pointer[-1];
  |  | 6245|  1.42M|            PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 6246|  1.42M|            if (!PyUnicode_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |  104|  1.42M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.42M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.42M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.42M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6246:17): [True: 711k, False: 711k]
  |  |  ------------------
  |  | 6247|   711k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6248|   711k|                _PyFrame_StackPointerValidate(frame);
  |  | 6249|   711k|                PyObject *res_o = PyObject_Format(value_o, NULL);
  |  | 6250|   711k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6251|   711k|                stack_pointer += -1;
  |  | 6252|   711k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   711k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6253|   711k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6254|   711k|                _PyFrame_StackPointerValidate(frame);
  |  | 6255|   711k|                PyStackRef_CLOSE(value);
  |  | 6256|   711k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6257|   711k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6257:21): [True: 0, False: 711k]
  |  |  ------------------
  |  | 6258|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6259|      0|                }
  |  | 6260|   711k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 6261|   711k|            }
  |  | 6262|   711k|            else {
  |  | 6263|   711k|                res = value;
  |  | 6264|   711k|                stack_pointer += -1;
  |  | 6265|   711k|            }
  |  | 6266|  1.42M|            stack_pointer[0] = res;
  |  | 6267|  1.42M|            stack_pointer += 1;
  |  | 6268|  1.42M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.42M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6269|  1.42M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.42M|    { \
  |  |  |  |  201|  1.42M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.42M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.42M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.42M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.42M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.42M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.42M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.42M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.42M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.42M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.42M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.42M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.42M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.42M|    }
  |  |  ------------------
  |  | 6270|  1.42M|        }
  |  | 6271|       |
  |  | 6272|      0|        TARGET(FORMAT_WITH_SPEC) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6273|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6274|       |            int opcode = FORMAT_WITH_SPEC;
  |  | 6275|       |            (void)(opcode);
  |  | 6276|       |            #endif
  |  | 6277|      0|            frame->instr_ptr = next_instr;
  |  | 6278|      0|            next_instr += 1;
  |  | 6279|      0|            INSTRUCTION_STATS(FORMAT_WITH_SPEC);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6280|      0|            _PyStackRef value;
  |  | 6281|      0|            _PyStackRef fmt_spec;
  |  | 6282|      0|            _PyStackRef res;
  |  | 6283|      0|            fmt_spec = stack_pointer[-1];
  |  | 6284|      0|            value = stack_pointer[-2];
  |  | 6285|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6286|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6287|      0|            PyObject *res_o = PyObject_Format(PyStackRef_AsPyObjectBorrow(value), PyStackRef_AsPyObjectBorrow(fmt_spec));
  |  | 6288|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6289|      0|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6289:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 6290|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6291|      0|            _PyStackRef tmp = fmt_spec;
  |  | 6292|      0|            fmt_spec = PyStackRef_NULL;
  |  | 6293|      0|            stack_pointer[-1] = fmt_spec;
  |  | 6294|      0|            PyStackRef_CLOSE(tmp);
  |  | 6295|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6296|      0|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6296:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 6297|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6298|      0|            tmp = value;
  |  | 6299|      0|            value = PyStackRef_NULL;
  |  | 6300|      0|            stack_pointer[-2] = value;
  |  | 6301|      0|            PyStackRef_CLOSE(tmp);
  |  | 6302|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6303|      0|            stack_pointer += -2;
  |  | 6304|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6305|      0|            if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6305:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6306|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6307|      0|            }
  |  | 6308|      0|            res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 6309|      0|            stack_pointer[0] = res;
  |  | 6310|      0|            stack_pointer += 1;
  |  | 6311|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6312|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 6313|      0|        }
  |  | 6314|       |
  |  | 6315|  23.2M|        TARGET(FOR_ITER) {
  |  |  ------------------
  |  |  |  |  132|  23.2M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6316|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6317|       |            int opcode = FOR_ITER;
  |  | 6318|       |            (void)(opcode);
  |  | 6319|       |            #endif
  |  | 6320|  23.2M|            frame->instr_ptr = next_instr;
  |  | 6321|  23.2M|            next_instr += 2;
  |  | 6322|  23.2M|            INSTRUCTION_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |   71|  23.2M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6323|  23.2M|            PREDICTED_FOR_ITER:;
  |  | 6324|  23.2M|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 6325|  23.2M|            (void)this_instr;
  |  | 6326|  23.2M|            _PyStackRef iter;
  |  | 6327|  23.2M|            _PyStackRef null_or_index;
  |  | 6328|  23.2M|            _PyStackRef next;
  |  | 6329|       |            // _SPECIALIZE_FOR_ITER
  |  | 6330|  23.2M|            {
  |  | 6331|  23.2M|                null_or_index = stack_pointer[-1];
  |  | 6332|  23.2M|                iter = stack_pointer[-2];
  |  | 6333|  23.2M|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 6334|  23.2M|                (void)counter;
  |  | 6335|  23.2M|                #if ENABLE_SPECIALIZATION
  |  | 6336|  23.2M|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  23.2M|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 6.99k, False: 23.2M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6337|  6.99k|                    next_instr = this_instr;
  |  | 6338|  6.99k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6339|  6.99k|                    _PyFrame_StackPointerValidate(frame);
  |  | 6340|  6.99k|                    _Py_Specialize_ForIter(iter, null_or_index, next_instr, oparg);
  |  | 6341|  6.99k|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 6342|  6.99k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|  6.99k|    { \
  |  |  |  |  217|  6.99k|        opcode = next_instr->op.code; \
  |  |  |  |  218|  6.99k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  6.99k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|  6.99k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  6.99k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|  6.99k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|  6.99k|    }
  |  |  ------------------
  |  | 6343|  6.99k|                }
  |  | 6344|  23.2M|                OPCODE_DEFERRED_INC(FOR_ITER);
  |  |  ------------------
  |  |  |  |   90|  23.2M|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 6345|  23.2M|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  358|  23.2M|    do { \
  |  |  |  |  359|  23.2M|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  360|  23.2M|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (360:14): [Folded, False: 23.2M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6346|  23.2M|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 6347|  23.2M|            }
  |  | 6348|       |            // _FOR_ITER
  |  | 6349|  23.2M|            {
  |  | 6350|  23.2M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6351|  23.2M|                _PyFrame_StackPointerValidate(frame);
  |  | 6352|  23.2M|                _PyStackRef item = _PyForIter_VirtualIteratorNext(tstate, frame, iter, &null_or_index);
  |  | 6353|  23.2M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6354|  23.2M|                if (!PyStackRef_IsValid(item)) {
  |  |  ------------------
  |  |  |  Branch (6354:21): [True: 5.69M, False: 17.5M]
  |  |  ------------------
  |  | 6355|  5.69M|                    if (PyStackRef_IsError(item)) {
  |  |  ------------------
  |  |  |  Branch (6355:25): [True: 0, False: 5.69M]
  |  |  ------------------
  |  | 6356|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6357|      0|                    }
  |  | 6358|  5.69M|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  261|  5.69M|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6359|  5.69M|                    stack_pointer[-1] = null_or_index;
  |  | 6360|  5.69M|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  5.69M|    { \
  |  |  |  |  201|  5.69M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  5.69M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  5.69M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  5.69M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  5.69M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  5.69M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  5.69M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  5.69M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 5.69M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  5.69M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  5.69M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  5.69M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  5.69M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  5.69M|    }
  |  |  ------------------
  |  | 6361|  5.69M|                }
  |  | 6362|  23.2M|                next = item;
  |  | 6363|  23.2M|            }
  |  | 6364|      0|            stack_pointer[-1] = null_or_index;
  |  | 6365|  23.2M|            stack_pointer[0] = next;
  |  | 6366|  23.2M|            stack_pointer += 1;
  |  | 6367|  23.2M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  23.2M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6368|  23.2M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  23.2M|    { \
  |  |  |  |  201|  23.2M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  23.2M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  23.2M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  23.2M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  23.2M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  23.2M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  23.2M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  23.2M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 23.2M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  23.2M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  23.2M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  23.2M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  23.2M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  23.2M|    }
  |  |  ------------------
  |  | 6369|  23.2M|        }
  |  | 6370|       |
  |  | 6371|  11.4M|        TARGET(FOR_ITER_GEN) {
  |  |  ------------------
  |  |  |  |  132|  11.4M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6372|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6373|       |            int opcode = FOR_ITER_GEN;
  |  | 6374|       |            (void)(opcode);
  |  | 6375|       |            #endif
  |  | 6376|  11.4M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6377|  11.4M|            (void)this_instr;
  |  | 6378|  11.4M|            frame->instr_ptr = next_instr;
  |  | 6379|  11.4M|            next_instr += 2;
  |  | 6380|  11.4M|            INSTRUCTION_STATS(FOR_ITER_GEN);
  |  |  ------------------
  |  |  |  |   71|  11.4M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6381|  11.4M|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6382|  11.4M|            _PyStackRef iter;
  |  | 6383|  11.4M|            _PyStackRef gen_frame;
  |  | 6384|  11.4M|            _PyStackRef new_frame;
  |  | 6385|       |            /* Skip 1 cache entry */
  |  | 6386|       |            // _CHECK_PEP_523
  |  | 6387|  11.4M|            {
  |  | 6388|  11.4M|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  519|  11.4M|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (519:34): [True: 0, False: 11.4M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6389|      0|                    UPDATE_MISS_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6390|      0|                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  |  ------------------
  |  |  |  Branch (6390:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6391|      0|                    JUMP_TO_PREDICTED(FOR_ITER);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6392|      0|                }
  |  | 6393|  11.4M|            }
  |  | 6394|       |            // _FOR_ITER_GEN_FRAME
  |  | 6395|  11.4M|            {
  |  | 6396|  11.4M|                iter = stack_pointer[-2];
  |  | 6397|  11.4M|                PyGenObject *gen = (PyGenObject *)PyStackRef_AsPyObjectBorrow(iter);
  |  | 6398|  11.4M|                if (Py_TYPE(gen) != &PyGen_Type) {
  |  |  ------------------
  |  |  |  |  213|  11.4M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  11.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  11.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6398:21): [True: 0, False: 11.4M]
  |  |  ------------------
  |  | 6399|      0|                    UPDATE_MISS_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6400|      0|                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  |  ------------------
  |  |  |  Branch (6400:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6401|      0|                    JUMP_TO_PREDICTED(FOR_ITER);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6402|      0|                }
  |  | 6403|  11.4M|                if (!gen_try_set_executing((PyGenObject *)gen)) {
  |  |  ------------------
  |  |  |  Branch (6403:21): [True: 0, False: 11.4M]
  |  |  ------------------
  |  | 6404|      0|                    UPDATE_MISS_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6405|      0|                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  |  ------------------
  |  |  |  Branch (6405:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6406|      0|                    JUMP_TO_PREDICTED(FOR_ITER);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6407|      0|                }
  |  | 6408|  11.4M|                STAT_INC(FOR_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|  11.4M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6409|  11.4M|                _PyInterpreterFrame *pushed_frame = &gen->gi_iframe;
  |  | 6410|  11.4M|                _PyFrame_StackPush(pushed_frame, PyStackRef_None);
  |  |  ------------------
  |  |  |  |  485|  11.4M|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  11.4M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6411|  11.4M|                gen->gi_exc_state.previous_item = tstate->exc_info;
  |  | 6412|  11.4M|                tstate->exc_info = &gen->gi_exc_state;
  |  | 6413|  11.4M|                pushed_frame->previous = frame;
  |  | 6414|  11.4M|                frame->return_offset = (uint16_t)( 2u + oparg);
  |  | 6415|  11.4M|                gen_frame = PyStackRef_Wrap(pushed_frame);
  |  | 6416|  11.4M|            }
  |  | 6417|       |            // _PUSH_FRAME
  |  | 6418|      0|            {
  |  | 6419|  11.4M|                new_frame = gen_frame;
  |  | 6420|  11.4M|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (6420:17): [True: 11.4M, False: 0]
  |  |  ------------------
  |  | 6421|  11.4M|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 6422|  11.4M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6423|  11.4M|                _PyFrame_StackPointerValidate(frame);
  |  | 6424|  11.4M|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (6424:17): [True: 11.4M, False: 0]
  |  |  |  Branch (6424:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6425|  11.4M|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  11.4M|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 6426|  11.4M|                frame = tstate->current_frame = temp;
  |  | 6427|  11.4M|                tstate->py_recursion_remaining--;
  |  | 6428|  11.4M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6429|  11.4M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6430|  11.4M|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  421|  11.4M|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  422|  11.4M|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  423|  11.4M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:14): [Folded, False: 11.4M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6431|       |                #ifdef Py_DEBUG
  |  | 6432|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 6433|       |                #endif
  |  | 6434|  11.4M|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|  11.4M|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 6435|  11.4M|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  11.4M|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 6436|  11.4M|            }
  |  | 6437|  11.4M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  11.4M|    { \
  |  |  |  |  201|  11.4M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  11.4M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  11.4M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  11.4M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  11.4M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  11.4M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  11.4M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  11.4M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 11.4M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  11.4M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  11.4M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  11.4M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  11.4M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  11.4M|    }
  |  |  ------------------
  |  | 6438|  11.4M|        }
  |  | 6439|       |
  |  | 6440|  39.7M|        TARGET(FOR_ITER_LIST) {
  |  |  ------------------
  |  |  |  |  132|  39.7M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6441|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6442|       |            int opcode = FOR_ITER_LIST;
  |  | 6443|       |            (void)(opcode);
  |  | 6444|       |            #endif
  |  | 6445|  39.7M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6446|  39.7M|            (void)this_instr;
  |  | 6447|  39.7M|            frame->instr_ptr = next_instr;
  |  | 6448|  39.7M|            next_instr += 2;
  |  | 6449|  39.7M|            INSTRUCTION_STATS(FOR_ITER_LIST);
  |  |  ------------------
  |  |  |  |   71|  39.7M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6450|  39.7M|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6451|  39.7M|            _PyStackRef iter;
  |  | 6452|  39.7M|            _PyStackRef null_or_index;
  |  | 6453|  39.7M|            _PyStackRef next;
  |  | 6454|       |            /* Skip 1 cache entry */
  |  | 6455|       |            // _ITER_CHECK_LIST
  |  | 6456|  39.7M|            {
  |  | 6457|  39.7M|                null_or_index = stack_pointer[-1];
  |  | 6458|  39.7M|                iter = stack_pointer[-2];
  |  | 6459|  39.7M|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6460|  39.7M|                if (Py_TYPE(iter_o) != &PyList_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6460:21): [True: 56.8k, False: 39.6M]
  |  |  ------------------
  |  | 6461|  56.8k|                    UPDATE_MISS_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |  299|  56.8k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6462|  56.8k|                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  |  ------------------
  |  |  |  Branch (6462:21): [True: 56.8k, False: 0]
  |  |  ------------------
  |  | 6463|  56.8k|                    JUMP_TO_PREDICTED(FOR_ITER);
  |  |  ------------------
  |  |  |  |  136|  56.8k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6464|      0|                }
  |  | 6465|  39.7M|                assert(PyStackRef_IsTaggedInt(null_or_index));
  |  |  ------------------
  |  |  |  Branch (6465:17): [True: 39.6M, False: 0]
  |  |  ------------------
  |  | 6466|       |                #ifdef Py_GIL_DISABLED
  |  | 6467|       |                if (!_Py_IsOwnedByCurrentThread(iter_o) && !_PyObject_GC_IS_SHARED(iter_o)) {
  |  | 6468|       |                    UPDATE_MISS_STATS(FOR_ITER);
  |  | 6469|       |                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  | 6470|       |                    JUMP_TO_PREDICTED(FOR_ITER);
  |  | 6471|       |                }
  |  | 6472|       |                #endif
  |  | 6473|  39.6M|            }
  |  | 6474|       |            // _ITER_JUMP_LIST
  |  | 6475|  39.6M|            {
  |  | 6476|       |                #ifdef Py_GIL_DISABLED
  |  | 6477|       |
  |  | 6478|       |                #else
  |  | 6479|  39.6M|                PyObject *list_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6480|  39.6M|                assert(Py_TYPE(list_o) == &PyList_Type);
  |  |  ------------------
  |  |  |  Branch (6480:17): [True: 39.6M, False: 0]
  |  |  ------------------
  |  | 6481|  39.6M|                STAT_INC(FOR_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|  39.6M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6482|  39.6M|                if ((size_t)PyStackRef_UntagInt(null_or_index) >= (size_t)PyList_GET_SIZE(list_o)) {
  |  |  ------------------
  |  |  |  |   38|  39.6M|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  39.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  39.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6482:21): [True: 10.8M, False: 28.8M]
  |  |  ------------------
  |  | 6483|  10.8M|                    null_or_index = PyStackRef_TagInt(-1);
  |  | 6484|  10.8M|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  261|  10.8M|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6485|  10.8M|                    stack_pointer[-1] = null_or_index;
  |  | 6486|  10.8M|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  10.8M|    { \
  |  |  |  |  201|  10.8M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  10.8M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  10.8M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  10.8M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  10.8M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  10.8M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  10.8M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  10.8M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 10.8M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  10.8M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  10.8M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  10.8M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  10.8M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  10.8M|    }
  |  |  ------------------
  |  | 6487|  10.8M|                }
  |  | 6488|  39.6M|                #endif
  |  | 6489|  39.6M|            }
  |  | 6490|       |            // _ITER_NEXT_LIST
  |  | 6491|      0|            {
  |  | 6492|  39.6M|                PyObject *list_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6493|  39.6M|                assert(PyList_CheckExact(list_o));
  |  |  ------------------
  |  |  |  Branch (6493:17): [True: 28.8M, False: 10.8M]
  |  |  ------------------
  |  | 6494|       |                #ifdef Py_GIL_DISABLED
  |  | 6495|       |                assert(_Py_IsOwnedByCurrentThread(list_o) ||
  |  | 6496|       |                  _PyObject_GC_IS_SHARED(list_o));
  |  | 6497|       |                STAT_INC(FOR_ITER, hit);
  |  | 6498|       |                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6499|       |                _PyFrame_StackPointerValidate(frame);
  |  | 6500|       |                int result = _PyList_GetItemRefNoLock((PyListObject *)list_o, PyStackRef_UntagInt(null_or_index), &next);
  |  | 6501|       |                _PyFrame_StackPointerInvalidate(frame);
  |  | 6502|       |                if (result < 0) {
  |  | 6503|       |                    UPDATE_MISS_STATS(FOR_ITER);
  |  | 6504|       |                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  | 6505|       |                    JUMP_TO_PREDICTED(FOR_ITER);
  |  | 6506|       |                }
  |  | 6507|       |                if (result == 0) {
  |  | 6508|       |                    null_or_index = PyStackRef_TagInt(-1);
  |  | 6509|       |                    JUMPBY(oparg + 1);
  |  | 6510|       |                    stack_pointer[-1] = null_or_index;
  |  | 6511|       |                    DISPATCH();
  |  | 6512|       |                }
  |  | 6513|       |                #else
  |  | 6514|  28.8M|                next = PyStackRef_FromPyObjectNew(PyList_GET_ITEM(list_o, PyStackRef_UntagInt(null_or_index)));
  |  |  ------------------
  |  |  |  |  611|  28.8M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  28.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  57.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (37:38): [True: 28.8M, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6515|      0|                #endif
  |  | 6516|      0|                null_or_index = PyStackRef_IncrementTaggedIntNoOverflow(null_or_index);
  |  | 6517|  28.8M|            }
  |  | 6518|      0|            stack_pointer[-1] = null_or_index;
  |  | 6519|  28.8M|            stack_pointer[0] = next;
  |  | 6520|  28.8M|            stack_pointer += 1;
  |  | 6521|  28.8M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  28.8M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6522|  28.8M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  28.8M|    { \
  |  |  |  |  201|  28.8M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  28.8M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  28.8M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  28.8M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  28.8M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  28.8M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  28.8M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  28.8M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 28.8M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  28.8M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  28.8M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  28.8M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  28.8M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  28.8M|    }
  |  |  ------------------
  |  | 6523|  28.8M|        }
  |  | 6524|       |
  |  | 6525|  12.4M|        TARGET(FOR_ITER_RANGE) {
  |  |  ------------------
  |  |  |  |  132|  12.4M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6526|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6527|       |            int opcode = FOR_ITER_RANGE;
  |  | 6528|       |            (void)(opcode);
  |  | 6529|       |            #endif
  |  | 6530|  12.4M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6531|  12.4M|            (void)this_instr;
  |  | 6532|  12.4M|            frame->instr_ptr = next_instr;
  |  | 6533|  12.4M|            next_instr += 2;
  |  | 6534|  12.4M|            INSTRUCTION_STATS(FOR_ITER_RANGE);
  |  |  ------------------
  |  |  |  |   71|  12.4M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6535|  12.4M|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6536|  12.4M|            _PyStackRef iter;
  |  | 6537|  12.4M|            _PyStackRef next;
  |  | 6538|       |            /* Skip 1 cache entry */
  |  | 6539|       |            // _ITER_CHECK_RANGE
  |  | 6540|  12.4M|            {
  |  | 6541|  12.4M|                iter = stack_pointer[-2];
  |  | 6542|  12.4M|                _PyRangeIterObject *r = (_PyRangeIterObject *)PyStackRef_AsPyObjectBorrow(iter);
  |  | 6543|  12.4M|                if (Py_TYPE(r) != &PyRangeIter_Type) {
  |  |  ------------------
  |  |  |  |  213|  12.4M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  12.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  12.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6543:21): [True: 0, False: 12.4M]
  |  |  ------------------
  |  | 6544|      0|                    UPDATE_MISS_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6545|      0|                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  |  ------------------
  |  |  |  Branch (6545:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6546|      0|                    JUMP_TO_PREDICTED(FOR_ITER);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6547|      0|                }
  |  | 6548|       |                #ifdef Py_GIL_DISABLED
  |  | 6549|       |                if (!_PyObject_IsUniquelyReferenced((PyObject *)r)) {
  |  | 6550|       |                    UPDATE_MISS_STATS(FOR_ITER);
  |  | 6551|       |                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  | 6552|       |                    JUMP_TO_PREDICTED(FOR_ITER);
  |  | 6553|       |                }
  |  | 6554|       |                #endif
  |  | 6555|  12.4M|            }
  |  | 6556|       |            // _ITER_JUMP_RANGE
  |  | 6557|  12.4M|            {
  |  | 6558|  12.4M|                _PyRangeIterObject *r = (_PyRangeIterObject *)PyStackRef_AsPyObjectBorrow(iter);
  |  | 6559|  12.4M|                assert(Py_TYPE(r) == &PyRangeIter_Type);
  |  |  ------------------
  |  |  |  Branch (6559:17): [True: 12.4M, False: 0]
  |  |  ------------------
  |  | 6560|       |                #ifdef Py_GIL_DISABLED
  |  | 6561|       |                assert(_PyObject_IsUniquelyReferenced((PyObject *)r));
  |  | 6562|       |                #endif
  |  | 6563|  12.4M|                STAT_INC(FOR_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|  12.4M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6564|  12.4M|                if (r->len <= 0) {
  |  |  ------------------
  |  |  |  Branch (6564:21): [True: 2.97M, False: 9.51M]
  |  |  ------------------
  |  | 6565|  2.97M|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  261|  2.97M|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6566|  2.97M|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.97M|    { \
  |  |  |  |  201|  2.97M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.97M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.97M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.97M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.97M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.97M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.97M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.97M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.97M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.97M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.97M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.97M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.97M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.97M|    }
  |  |  ------------------
  |  | 6567|  2.97M|                }
  |  | 6568|  12.4M|            }
  |  | 6569|       |            // _ITER_NEXT_RANGE
  |  | 6570|      0|            {
  |  | 6571|  12.4M|                _PyRangeIterObject *r = (_PyRangeIterObject *)PyStackRef_AsPyObjectBorrow(iter);
  |  | 6572|  12.4M|                assert(Py_TYPE(r) == &PyRangeIter_Type);
  |  |  ------------------
  |  |  |  Branch (6572:17): [True: 9.51M, False: 2.97M]
  |  |  ------------------
  |  | 6573|       |                #ifdef Py_GIL_DISABLED
  |  | 6574|       |                assert(_PyObject_IsUniquelyReferenced((PyObject *)r));
  |  | 6575|       |                #endif
  |  | 6576|  12.4M|                assert(r->len > 0);
  |  |  ------------------
  |  |  |  Branch (6576:17): [True: 9.51M, False: 0]
  |  |  ------------------
  |  | 6577|  9.51M|                long value = r->start;
  |  | 6578|  9.51M|                r->start = value + r->step;
  |  | 6579|  9.51M|                r->len--;
  |  | 6580|  9.51M|                PyObject *res = PyLong_FromLong(value);
  |  | 6581|  9.51M|                if (res == NULL) {
  |  |  ------------------
  |  |  |  Branch (6581:21): [True: 0, False: 9.51M]
  |  |  ------------------
  |  | 6582|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6583|      0|                }
  |  | 6584|  9.51M|                next = PyStackRef_FromPyObjectSteal(res);
  |  | 6585|  9.51M|            }
  |  | 6586|      0|            stack_pointer[0] = next;
  |  | 6587|  9.51M|            stack_pointer += 1;
  |  | 6588|  9.51M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  9.51M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6589|  9.51M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  9.51M|    { \
  |  |  |  |  201|  9.51M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  9.51M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  9.51M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  9.51M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  9.51M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  9.51M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  9.51M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  9.51M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 9.51M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  9.51M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  9.51M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  9.51M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  9.51M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  9.51M|    }
  |  |  ------------------
  |  | 6590|  9.51M|        }
  |  | 6591|       |
  |  | 6592|  1.95k|        TARGET(FOR_ITER_TUPLE) {
  |  |  ------------------
  |  |  |  |  132|  1.95k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6593|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6594|       |            int opcode = FOR_ITER_TUPLE;
  |  | 6595|       |            (void)(opcode);
  |  | 6596|       |            #endif
  |  | 6597|  1.95k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6598|  1.95k|            (void)this_instr;
  |  | 6599|  1.95k|            frame->instr_ptr = next_instr;
  |  | 6600|  1.95k|            next_instr += 2;
  |  | 6601|  1.95k|            INSTRUCTION_STATS(FOR_ITER_TUPLE);
  |  |  ------------------
  |  |  |  |   71|  1.95k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6602|  1.95k|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6603|  1.95k|            _PyStackRef iter;
  |  | 6604|  1.95k|            _PyStackRef null_or_index;
  |  | 6605|  1.95k|            _PyStackRef next;
  |  | 6606|       |            /* Skip 1 cache entry */
  |  | 6607|       |            // _ITER_CHECK_TUPLE
  |  | 6608|  1.95k|            {
  |  | 6609|  1.95k|                null_or_index = stack_pointer[-1];
  |  | 6610|  1.95k|                iter = stack_pointer[-2];
  |  | 6611|  1.95k|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6612|  1.95k|                if (Py_TYPE(iter_o) != &PyTuple_Type) {
  |  |  ------------------
  |  |  |  |  213|  1.95k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.95k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6612:21): [True: 8, False: 1.95k]
  |  |  ------------------
  |  | 6613|      8|                    UPDATE_MISS_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |  299|      8|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6614|      8|                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  |  ------------------
  |  |  |  Branch (6614:21): [True: 8, False: 0]
  |  |  ------------------
  |  | 6615|      8|                    JUMP_TO_PREDICTED(FOR_ITER);
  |  |  ------------------
  |  |  |  |  136|      8|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6616|      0|                }
  |  | 6617|  1.95k|                assert(PyStackRef_IsTaggedInt(null_or_index));
  |  |  ------------------
  |  |  |  Branch (6617:17): [True: 1.95k, False: 0]
  |  |  ------------------
  |  | 6618|  1.95k|            }
  |  | 6619|       |            // _ITER_JUMP_TUPLE
  |  | 6620|  1.95k|            {
  |  | 6621|  1.95k|                PyObject *tuple_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6622|  1.95k|                (void)tuple_o;
  |  | 6623|  1.95k|                assert(Py_TYPE(tuple_o) == &PyTuple_Type);
  |  |  ------------------
  |  |  |  Branch (6623:17): [True: 1.95k, False: 0]
  |  |  ------------------
  |  | 6624|  1.95k|                STAT_INC(FOR_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|  1.95k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6625|  1.95k|                if ((size_t)PyStackRef_UntagInt(null_or_index) >= (size_t)PyTuple_GET_SIZE(tuple_o)) {
  |  |  ------------------
  |  |  |  |   27|  1.95k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.95k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6625:21): [True: 570, False: 1.38k]
  |  |  ------------------
  |  | 6626|    570|                    null_or_index = PyStackRef_TagInt(-1);
  |  | 6627|    570|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  261|    570|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6628|    570|                    stack_pointer[-1] = null_or_index;
  |  | 6629|    570|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    570|    { \
  |  |  |  |  201|    570|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    570|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    570|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    570|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    570|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    570|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    570|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    570|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 570]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    570|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    570|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    570|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    570|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    570|    }
  |  |  ------------------
  |  | 6630|    570|                }
  |  | 6631|  1.95k|            }
  |  | 6632|       |            // _ITER_NEXT_TUPLE
  |  | 6633|      0|            {
  |  | 6634|  1.95k|                PyObject *tuple_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6635|  1.95k|                assert(Py_TYPE(tuple_o) == &PyTuple_Type);
  |  |  ------------------
  |  |  |  Branch (6635:17): [True: 1.38k, False: 570]
  |  |  ------------------
  |  | 6636|  1.38k|                uintptr_t i = PyStackRef_UntagInt(null_or_index);
  |  | 6637|  1.38k|                assert((size_t)i < (size_t)PyTuple_GET_SIZE(tuple_o));
  |  |  ------------------
  |  |  |  Branch (6637:17): [True: 1.38k, False: 0]
  |  |  ------------------
  |  | 6638|  1.38k|                next = PyStackRef_FromPyObjectNew(PyTuple_GET_ITEM(tuple_o, i));
  |  |  ------------------
  |  |  |  |  611|  1.38k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (37:38): [True: 1.38k, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6639|      0|                null_or_index = PyStackRef_IncrementTaggedIntNoOverflow(null_or_index);
  |  | 6640|  1.38k|            }
  |  | 6641|      0|            stack_pointer[-1] = null_or_index;
  |  | 6642|  1.38k|            stack_pointer[0] = next;
  |  | 6643|  1.38k|            stack_pointer += 1;
  |  | 6644|  1.38k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.38k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6645|  1.38k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.38k|    { \
  |  |  |  |  201|  1.38k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.38k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.38k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.38k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.38k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.38k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.38k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.38k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.38k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.38k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.38k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.38k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.38k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.38k|    }
  |  |  ------------------
  |  | 6646|  1.38k|        }
  |  | 6647|       |
  |  | 6648|     76|        TARGET(FOR_ITER_VIRTUAL) {
  |  |  ------------------
  |  |  |  |  132|     76|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6649|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6650|       |            int opcode = FOR_ITER_VIRTUAL;
  |  | 6651|       |            (void)(opcode);
  |  | 6652|       |            #endif
  |  | 6653|     76|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6654|     76|            (void)this_instr;
  |  | 6655|     76|            frame->instr_ptr = next_instr;
  |  | 6656|     76|            next_instr += 2;
  |  | 6657|     76|            INSTRUCTION_STATS(FOR_ITER_VIRTUAL);
  |  |  ------------------
  |  |  |  |   71|     76|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6658|     76|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6659|     76|            _PyStackRef null_or_index;
  |  | 6660|     76|            _PyStackRef iter;
  |  | 6661|     76|            _PyStackRef next;
  |  | 6662|       |            /* Skip 1 cache entry */
  |  | 6663|       |            // _GUARD_TOS_NOT_NULL
  |  | 6664|     76|            {
  |  | 6665|     76|                null_or_index = stack_pointer[-1];
  |  | 6666|     76|                if (PyStackRef_IsNull(null_or_index)) {
  |  |  ------------------
  |  |  |  |  482|     76|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|     76|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|     76|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 76]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6667|      0|                    UPDATE_MISS_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6668|      0|                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  |  ------------------
  |  |  |  Branch (6668:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6669|      0|                    JUMP_TO_PREDICTED(FOR_ITER);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6670|      0|                }
  |  | 6671|     76|            }
  |  | 6672|       |            // _FOR_ITER_VIRTUAL
  |  | 6673|     76|            {
  |  | 6674|     76|                iter = stack_pointer[-2];
  |  | 6675|     76|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6676|     76|                Py_ssize_t index = PyStackRef_UntagInt(null_or_index);
  |  | 6677|     76|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6678|     76|                _PyFrame_StackPointerValidate(frame);
  |  | 6679|     76|                _PyObjectIndexPair next_index = Py_TYPE(iter_o)->_tp_iteritem(iter_o, index);
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6680|     76|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6681|     76|                PyObject *next_o = next_index.object;
  |  | 6682|     76|                index = next_index.index;
  |  | 6683|     76|                if (next_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6683:21): [True: 29, False: 47]
  |  |  ------------------
  |  | 6684|     29|                    if (index < 0) {
  |  |  ------------------
  |  |  |  Branch (6684:25): [True: 0, False: 29]
  |  |  ------------------
  |  | 6685|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6686|      0|                    }
  |  | 6687|     29|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  261|     29|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6688|     29|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     29|    { \
  |  |  |  |  201|     29|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     29|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     29|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     29|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     29|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     29|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     29|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     29|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 29]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     29|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     29|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     29|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     29|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     29|    }
  |  |  ------------------
  |  | 6689|     29|                }
  |  | 6690|     76|                null_or_index = PyStackRef_TagInt(index);
  |  | 6691|     76|                next = PyStackRef_FromPyObjectSteal(next_o);
  |  | 6692|     76|            }
  |  | 6693|      0|            stack_pointer[-1] = null_or_index;
  |  | 6694|     76|            stack_pointer[0] = next;
  |  | 6695|     76|            stack_pointer += 1;
  |  | 6696|     76|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     76|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6697|     76|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     76|    { \
  |  |  |  |  201|     76|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     76|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     76|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     76|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     76|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     76|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     76|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     76|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 76]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     76|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     76|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     76|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     76|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     76|    }
  |  |  ------------------
  |  | 6698|     76|        }
  |  | 6699|       |
  |  | 6700|      0|        TARGET(GET_AITER) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6701|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6702|       |            int opcode = GET_AITER;
  |  | 6703|       |            (void)(opcode);
  |  | 6704|       |            #endif
  |  | 6705|      0|            frame->instr_ptr = next_instr;
  |  | 6706|      0|            next_instr += 1;
  |  | 6707|      0|            INSTRUCTION_STATS(GET_AITER);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6708|      0|            _PyStackRef obj;
  |  | 6709|      0|            _PyStackRef iter;
  |  | 6710|      0|            obj = stack_pointer[-1];
  |  | 6711|      0|            unaryfunc getter = NULL;
  |  | 6712|      0|            PyObject *obj_o = PyStackRef_AsPyObjectBorrow(obj);
  |  | 6713|      0|            PyObject *iter_o;
  |  | 6714|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6715|      0|            if (type->tp_as_async != NULL) {
  |  |  ------------------
  |  |  |  Branch (6715:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6716|      0|                getter = type->tp_as_async->am_aiter;
  |  | 6717|      0|            }
  |  | 6718|      0|            if (getter == NULL) {
  |  |  ------------------
  |  |  |  Branch (6718:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6719|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6720|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6721|      0|                _PyErr_Format(tstate, PyExc_TypeError,
  |  | 6722|      0|                              "'async for' requires an object with "
  |  | 6723|      0|                              "__aiter__ method, got %.100s",
  |  | 6724|      0|                              type->tp_name);
  |  | 6725|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6726|      0|                stack_pointer += -1;
  |  | 6727|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6728|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6729|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6730|      0|                PyStackRef_CLOSE(obj);
  |  | 6731|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6732|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6733|      0|            }
  |  | 6734|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6735|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6736|      0|            iter_o = (*getter)(obj_o);
  |  | 6737|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6738|      0|            stack_pointer += -1;
  |  | 6739|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6740|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6741|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6742|      0|            PyStackRef_CLOSE(obj);
  |  | 6743|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6744|      0|            if (iter_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6744:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6745|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6746|      0|            }
  |  | 6747|      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 (6747:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6748|      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 (6748:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6749|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6749:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6750|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6751|      0|                _PyErr_Format(tstate, PyExc_TypeError,
  |  | 6752|      0|                              "'async for' received an object from __aiter__ "
  |  | 6753|      0|                              "that does not implement __anext__: %.100s",
  |  | 6754|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6755|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6756|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6756:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6757|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6758|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6759|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6760|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6761|      0|            }
  |  | 6762|      0|            iter = PyStackRef_FromPyObjectSteal(iter_o);
  |  | 6763|      0|            stack_pointer[0] = iter;
  |  | 6764|      0|            stack_pointer += 1;
  |  | 6765|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6766|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 6767|      0|        }
  |  | 6768|       |
  |  | 6769|      0|        TARGET(GET_ANEXT) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6770|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6771|       |            int opcode = GET_ANEXT;
  |  | 6772|       |            (void)(opcode);
  |  | 6773|       |            #endif
  |  | 6774|      0|            frame->instr_ptr = next_instr;
  |  | 6775|      0|            next_instr += 1;
  |  | 6776|      0|            INSTRUCTION_STATS(GET_ANEXT);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6777|      0|            _PyStackRef aiter;
  |  | 6778|      0|            _PyStackRef awaitable;
  |  | 6779|      0|            aiter = stack_pointer[-1];
  |  | 6780|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6781|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6782|      0|            PyObject *awaitable_o = _PyEval_GetANext(PyStackRef_AsPyObjectBorrow(aiter));
  |  | 6783|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6784|      0|            if (awaitable_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6784:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6785|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6786|      0|            }
  |  | 6787|      0|            awaitable = PyStackRef_FromPyObjectSteal(awaitable_o);
  |  | 6788|      0|            stack_pointer[0] = awaitable;
  |  | 6789|      0|            stack_pointer += 1;
  |  | 6790|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6791|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 6792|      0|        }
  |  | 6793|       |
  |  | 6794|      0|        TARGET(GET_AWAITABLE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6795|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6796|       |            int opcode = GET_AWAITABLE;
  |  | 6797|       |            (void)(opcode);
  |  | 6798|       |            #endif
  |  | 6799|      0|            frame->instr_ptr = next_instr;
  |  | 6800|      0|            next_instr += 1;
  |  | 6801|      0|            INSTRUCTION_STATS(GET_AWAITABLE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6802|      0|            _PyStackRef iterable;
  |  | 6803|      0|            _PyStackRef iter;
  |  | 6804|      0|            iterable = stack_pointer[-1];
  |  | 6805|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6806|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6807|      0|            PyObject *iter_o = _PyEval_GetAwaitable(PyStackRef_AsPyObjectBorrow(iterable), oparg);
  |  | 6808|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6809|      0|            stack_pointer += -1;
  |  | 6810|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6811|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6812|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6813|      0|            PyStackRef_CLOSE(iterable);
  |  | 6814|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6815|      0|            if (iter_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6815:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6816|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6817|      0|            }
  |  | 6818|      0|            iter = PyStackRef_FromPyObjectSteal(iter_o);
  |  | 6819|      0|            stack_pointer[0] = iter;
  |  | 6820|      0|            stack_pointer += 1;
  |  | 6821|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6822|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 6823|      0|        }
  |  | 6824|       |
  |  | 6825|  5.66M|        TARGET(GET_ITER) {
  |  |  ------------------
  |  |  |  |  132|  5.66M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6826|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6827|       |            int opcode = GET_ITER;
  |  | 6828|       |            (void)(opcode);
  |  | 6829|       |            #endif
  |  | 6830|  5.66M|            frame->instr_ptr = next_instr;
  |  | 6831|  5.66M|            next_instr += 2;
  |  | 6832|  5.66M|            INSTRUCTION_STATS(GET_ITER);
  |  |  ------------------
  |  |  |  |   71|  5.66M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6833|  5.66M|            PREDICTED_GET_ITER:;
  |  | 6834|  5.66M|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 6835|  5.66M|            (void)this_instr;
  |  | 6836|  5.66M|            _PyStackRef iterable;
  |  | 6837|  5.66M|            _PyStackRef iter;
  |  | 6838|  5.66M|            _PyStackRef index_or_null;
  |  | 6839|       |            // _SPECIALIZE_GET_ITER
  |  | 6840|  5.66M|            {
  |  | 6841|  5.66M|                iterable = stack_pointer[-1];
  |  | 6842|  5.66M|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 6843|  5.66M|                (void)counter;
  |  | 6844|  5.66M|                #if ENABLE_SPECIALIZATION
  |  | 6845|  5.66M|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  5.66M|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 871, False: 5.66M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6846|    871|                    next_instr = this_instr;
  |  | 6847|    871|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6848|    871|                    _PyFrame_StackPointerValidate(frame);
  |  | 6849|    871|                    _Py_Specialize_GetIter(iterable, next_instr);
  |  | 6850|    871|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 6851|    871|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    871|    { \
  |  |  |  |  217|    871|        opcode = next_instr->op.code; \
  |  |  |  |  218|    871|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    871|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    871|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    871|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    871|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    871|    }
  |  |  ------------------
  |  | 6852|    871|                }
  |  | 6853|  5.66M|                OPCODE_DEFERRED_INC(GET_ITER);
  |  |  ------------------
  |  |  |  |   90|  5.66M|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 6854|  5.66M|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  358|  5.66M|    do { \
  |  |  |  |  359|  5.66M|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  360|  5.66M|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (360:14): [Folded, False: 5.66M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6855|  5.66M|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 6856|  5.66M|            }
  |  | 6857|       |            // _GET_ITER
  |  | 6858|  5.66M|            {
  |  | 6859|  5.66M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6860|  5.66M|                _PyFrame_StackPointerValidate(frame);
  |  | 6861|  5.66M|                _PyStackRef result = _PyEval_GetIter(iterable, &index_or_null, oparg);
  |  | 6862|  5.66M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6863|  5.66M|                if (PyStackRef_IsError(result)) {
  |  |  ------------------
  |  |  |  Branch (6863:21): [True: 0, False: 5.66M]
  |  |  ------------------
  |  | 6864|      0|                    JUMP_TO_LABEL(pop_1_error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6865|      0|                }
  |  | 6866|  5.66M|                iter = result;
  |  | 6867|  5.66M|            }
  |  | 6868|      0|            stack_pointer[-1] = iter;
  |  | 6869|  5.66M|            stack_pointer[0] = index_or_null;
  |  | 6870|  5.66M|            stack_pointer += 1;
  |  | 6871|  5.66M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  5.66M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6872|  5.66M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  5.66M|    { \
  |  |  |  |  201|  5.66M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  5.66M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  5.66M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  5.66M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  5.66M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  5.66M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  5.66M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  5.66M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 5.66M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  5.66M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  5.66M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  5.66M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  5.66M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  5.66M|    }
  |  |  ------------------
  |  | 6873|  5.66M|        }
  |  | 6874|       |
  |  | 6875|  8.25M|        TARGET(GET_ITER_SELF) {
  |  |  ------------------
  |  |  |  |  132|  8.25M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6876|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6877|       |            int opcode = GET_ITER_SELF;
  |  | 6878|       |            (void)(opcode);
  |  | 6879|       |            #endif
  |  | 6880|  8.25M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6881|  8.25M|            (void)this_instr;
  |  | 6882|  8.25M|            frame->instr_ptr = next_instr;
  |  | 6883|  8.25M|            next_instr += 2;
  |  | 6884|  8.25M|            INSTRUCTION_STATS(GET_ITER_SELF);
  |  |  ------------------
  |  |  |  |   71|  8.25M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6885|  8.25M|            static_assert(INLINE_CACHE_ENTRIES_GET_ITER == 1, "incorrect cache size");
  |  | 6886|  8.25M|            _PyStackRef iterable;
  |  | 6887|  8.25M|            _PyStackRef res;
  |  | 6888|       |            /* Skip 1 cache entry */
  |  | 6889|       |            // _GUARD_ITERATOR
  |  | 6890|  8.25M|            {
  |  | 6891|  8.25M|                iterable = stack_pointer[-1];
  |  | 6892|  8.25M|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(iterable));
  |  |  ------------------
  |  |  |  |  213|  8.25M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.25M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.25M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6893|  8.25M|                if (tp->tp_iter != PyObject_SelfIter) {
  |  |  ------------------
  |  |  |  Branch (6893:21): [True: 0, False: 8.25M]
  |  |  ------------------
  |  | 6894|      0|                    UPDATE_MISS_STATS(GET_ITER);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6895|      0|                    assert(_PyOpcode_Deopt[opcode] == (GET_ITER));
  |  |  ------------------
  |  |  |  Branch (6895:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6896|      0|                    JUMP_TO_PREDICTED(GET_ITER);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6897|      0|                }
  |  | 6898|  8.25M|                STAT_INC(GET_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|  8.25M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6899|  8.25M|            }
  |  | 6900|       |            // _PUSH_NULL
  |  | 6901|      0|            {
  |  | 6902|  8.25M|                res = PyStackRef_NULL;
  |  | 6903|  8.25M|            }
  |  | 6904|  8.25M|            stack_pointer[0] = res;
  |  | 6905|  8.25M|            stack_pointer += 1;
  |  | 6906|  8.25M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  8.25M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6907|  8.25M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  8.25M|    { \
  |  |  |  |  201|  8.25M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  8.25M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  8.25M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  8.25M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  8.25M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  8.25M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  8.25M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  8.25M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 8.25M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  8.25M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  8.25M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  8.25M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  8.25M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  8.25M|    }
  |  |  ------------------
  |  | 6908|  8.25M|        }
  |  | 6909|       |
  |  | 6910|  13.2M|        TARGET(GET_ITER_VIRTUAL) {
  |  |  ------------------
  |  |  |  |  132|  13.2M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6911|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6912|       |            int opcode = GET_ITER_VIRTUAL;
  |  | 6913|       |            (void)(opcode);
  |  | 6914|       |            #endif
  |  | 6915|  13.2M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6916|  13.2M|            (void)this_instr;
  |  | 6917|  13.2M|            frame->instr_ptr = next_instr;
  |  | 6918|  13.2M|            next_instr += 2;
  |  | 6919|  13.2M|            INSTRUCTION_STATS(GET_ITER_VIRTUAL);
  |  |  ------------------
  |  |  |  |   71|  13.2M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6920|  13.2M|            static_assert(INLINE_CACHE_ENTRIES_GET_ITER == 1, "incorrect cache size");
  |  | 6921|  13.2M|            _PyStackRef iterable;
  |  | 6922|  13.2M|            _PyStackRef zero;
  |  | 6923|       |            /* Skip 1 cache entry */
  |  | 6924|       |            // _GUARD_ITER_VIRTUAL
  |  | 6925|  13.2M|            {
  |  | 6926|  13.2M|                iterable = stack_pointer[-1];
  |  | 6927|  13.2M|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(iterable));
  |  |  ------------------
  |  |  |  |  213|  13.2M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  13.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  13.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6928|  13.2M|                if (tp->_tp_iteritem == NULL) {
  |  |  ------------------
  |  |  |  Branch (6928:21): [True: 583, False: 13.2M]
  |  |  ------------------
  |  | 6929|    583|                    UPDATE_MISS_STATS(GET_ITER);
  |  |  ------------------
  |  |  |  |  299|    583|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6930|    583|                    assert(_PyOpcode_Deopt[opcode] == (GET_ITER));
  |  |  ------------------
  |  |  |  Branch (6930:21): [True: 583, False: 0]
  |  |  ------------------
  |  | 6931|    583|                    JUMP_TO_PREDICTED(GET_ITER);
  |  |  ------------------
  |  |  |  |  136|    583|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6932|      0|                }
  |  | 6933|  13.2M|                STAT_INC(GET_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|  13.2M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6934|  13.2M|            }
  |  | 6935|       |            // _PUSH_TAGGED_ZERO
  |  | 6936|      0|            {
  |  | 6937|  13.2M|                zero = PyStackRef_TagInt(0);
  |  | 6938|  13.2M|            }
  |  | 6939|  13.2M|            stack_pointer[0] = zero;
  |  | 6940|  13.2M|            stack_pointer += 1;
  |  | 6941|  13.2M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  13.2M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6942|  13.2M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  13.2M|    { \
  |  |  |  |  201|  13.2M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  13.2M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  13.2M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  13.2M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  13.2M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  13.2M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  13.2M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  13.2M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 13.2M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  13.2M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  13.2M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  13.2M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  13.2M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  13.2M|    }
  |  |  ------------------
  |  | 6943|  13.2M|        }
  |  | 6944|       |
  |  | 6945|      0|        TARGET(GET_LEN) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6946|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6947|       |            int opcode = GET_LEN;
  |  | 6948|       |            (void)(opcode);
  |  | 6949|       |            #endif
  |  | 6950|      0|            frame->instr_ptr = next_instr;
  |  | 6951|      0|            next_instr += 1;
  |  | 6952|      0|            INSTRUCTION_STATS(GET_LEN);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6953|      0|            _PyStackRef obj;
  |  | 6954|      0|            _PyStackRef len;
  |  | 6955|      0|            obj = stack_pointer[-1];
  |  | 6956|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6957|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6958|      0|            Py_ssize_t len_i = PyObject_Length(PyStackRef_AsPyObjectBorrow(obj));
  |  |  ------------------
  |  |  |  |  353|      0|#define PyObject_Length PyObject_Size
  |  |  ------------------
  |  | 6959|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6960|      0|            if (len_i < 0) {
  |  |  ------------------
  |  |  |  Branch (6960:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6961|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6962|      0|            }
  |  | 6963|      0|            PyObject *len_o = PyLong_FromSsize_t(len_i);
  |  | 6964|      0|            if (len_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6964:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6965|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6966|      0|            }
  |  | 6967|      0|            len = PyStackRef_FromPyObjectSteal(len_o);
  |  | 6968|      0|            stack_pointer[0] = len;
  |  | 6969|      0|            stack_pointer += 1;
  |  | 6970|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6971|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 6972|      0|        }
  |  | 6973|       |
  |  | 6974|    207|        TARGET(IMPORT_FROM) {
  |  |  ------------------
  |  |  |  |  132|    207|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6975|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6976|       |            int opcode = IMPORT_FROM;
  |  | 6977|       |            (void)(opcode);
  |  | 6978|       |            #endif
  |  | 6979|    207|            frame->instr_ptr = next_instr;
  |  | 6980|    207|            next_instr += 1;
  |  | 6981|    207|            INSTRUCTION_STATS(IMPORT_FROM);
  |  |  ------------------
  |  |  |  |   71|    207|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6982|    207|            _PyStackRef from;
  |  | 6983|    207|            _PyStackRef res;
  |  | 6984|    207|            from = stack_pointer[-1];
  |  | 6985|    207|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  236|    207|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|    207|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|    207|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    207|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6985:30): [True: 207, False: 0]
  |  |  ------------------
  |  | 6986|      0|            PyObject *res_o;
  |  | 6987|    207|            if (PyLazyImport_CheckExact(PyStackRef_AsPyObjectBorrow(from))) {
  |  |  ------------------
  |  |  |  |   15|    207|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    207|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    207|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    207|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 2, False: 205]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6988|      2|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6989|      2|                _PyFrame_StackPointerValidate(frame);
  |  | 6990|      2|                res_o = _PyEval_LazyImportFrom(
  |  | 6991|      2|                    tstate, frame, PyStackRef_AsPyObjectBorrow(from), name);
  |  | 6992|      2|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6993|      2|            }
  |  | 6994|    205|            else {
  |  | 6995|    205|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6996|    205|                _PyFrame_StackPointerValidate(frame);
  |  | 6997|    205|                res_o = _PyEval_ImportFrom(
  |  | 6998|    205|                    tstate, PyStackRef_AsPyObjectBorrow(from), name);
  |  | 6999|    205|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7000|    205|            }
  |  | 7001|    207|            if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7001:17): [True: 1, False: 206]
  |  |  ------------------
  |  | 7002|      1|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      1|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7003|      0|            }
  |  | 7004|    206|            res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 7005|    206|            stack_pointer[0] = res;
  |  | 7006|    206|            stack_pointer += 1;
  |  | 7007|    206|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    206|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7008|    206|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    206|    { \
  |  |  |  |  201|    206|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    206|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    206|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    206|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    206|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    206|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    206|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    206|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 206]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    206|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    206|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    206|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    206|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    206|    }
  |  |  ------------------
  |  | 7009|    206|        }
  |  | 7010|       |
  |  | 7011|  1.67M|        TARGET(IMPORT_NAME) {
  |  |  ------------------
  |  |  |  |  132|  1.67M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7012|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7013|       |            int opcode = IMPORT_NAME;
  |  | 7014|       |            (void)(opcode);
  |  | 7015|       |            #endif
  |  | 7016|  1.67M|            frame->instr_ptr = next_instr;
  |  | 7017|  1.67M|            next_instr += 1;
  |  | 7018|  1.67M|            INSTRUCTION_STATS(IMPORT_NAME);
  |  |  ------------------
  |  |  |  |   71|  1.67M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7019|  1.67M|            _PyStackRef level;
  |  | 7020|  1.67M|            _PyStackRef fromlist;
  |  | 7021|  1.67M|            _PyStackRef res;
  |  | 7022|  1.67M|            fromlist = stack_pointer[-1];
  |  | 7023|  1.67M|            level = stack_pointer[-2];
  |  | 7024|  1.67M|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 2);
  |  |  ------------------
  |  |  |  |  236|  1.67M|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  1.67M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  1.67M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.67M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7024:30): [True: 1.67M, False: 0]
  |  |  ------------------
  |  | 7025|      0|            PyObject *res_o;
  |  | 7026|  1.67M|            if (!(oparg & 0x02)) {
  |  |  ------------------
  |  |  |  Branch (7026:17): [True: 178, False: 1.67M]
  |  |  ------------------
  |  | 7027|    178|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7028|    178|                _PyFrame_StackPointerValidate(frame);
  |  | 7029|    178|                res_o = _PyEval_LazyImportName(tstate, BUILTINS(), GLOBALS(),
  |  |  ------------------
  |  |  |  |  327|    178|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |                               res_o = _PyEval_LazyImportName(tstate, BUILTINS(), GLOBALS(),
  |  |  ------------------
  |  |  |  |  326|    178|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  | 7030|    178|                    LOCALS(), name,
  |  |  ------------------
  |  |  |  |  328|    178|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  | 7031|    178|                    PyStackRef_AsPyObjectBorrow(fromlist),
  |  | 7032|    178|                    PyStackRef_AsPyObjectBorrow(level),
  |  | 7033|    178|                    oparg & 0x01);
  |  | 7034|    178|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7035|    178|            }
  |  | 7036|  1.67M|            else {
  |  | 7037|  1.67M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7038|  1.67M|                _PyFrame_StackPointerValidate(frame);
  |  | 7039|  1.67M|                res_o = _PyEval_ImportName(tstate, BUILTINS(), GLOBALS(),
  |  |  ------------------
  |  |  |  |  327|  1.67M|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |                               res_o = _PyEval_ImportName(tstate, BUILTINS(), GLOBALS(),
  |  |  ------------------
  |  |  |  |  326|  1.67M|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  | 7040|  1.67M|                    LOCALS(), name,
  |  |  ------------------
  |  |  |  |  328|  1.67M|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  | 7041|  1.67M|                    PyStackRef_AsPyObjectBorrow(fromlist),
  |  | 7042|  1.67M|                    PyStackRef_AsPyObjectBorrow(level));
  |  | 7043|  1.67M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7044|  1.67M|            }
  |  | 7045|  1.67M|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7045:13): [True: 1.67M, False: 0]
  |  |  ------------------
  |  | 7046|  1.67M|            _PyFrame_StackPointerValidate(frame);
  |  | 7047|  1.67M|            _PyStackRef tmp = fromlist;
  |  | 7048|  1.67M|            fromlist = PyStackRef_NULL;
  |  | 7049|  1.67M|            stack_pointer[-1] = fromlist;
  |  | 7050|  1.67M|            PyStackRef_CLOSE(tmp);
  |  | 7051|  1.67M|            _PyFrame_StackPointerInvalidate(frame);
  |  | 7052|  1.67M|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7052:13): [True: 1.67M, False: 0]
  |  |  ------------------
  |  | 7053|  1.67M|            _PyFrame_StackPointerValidate(frame);
  |  | 7054|  1.67M|            tmp = level;
  |  | 7055|  1.67M|            level = PyStackRef_NULL;
  |  | 7056|  1.67M|            stack_pointer[-2] = level;
  |  | 7057|  1.67M|            PyStackRef_CLOSE(tmp);
  |  | 7058|  1.67M|            _PyFrame_StackPointerInvalidate(frame);
  |  | 7059|  1.67M|            stack_pointer += -2;
  |  | 7060|  1.67M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.67M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7061|  1.67M|            if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7061:17): [True: 6, False: 1.67M]
  |  |  ------------------
  |  | 7062|      6|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      6|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7063|      0|            }
  |  | 7064|  1.67M|            res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 7065|  1.67M|            stack_pointer[0] = res;
  |  | 7066|  1.67M|            stack_pointer += 1;
  |  | 7067|  1.67M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.67M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7068|  1.67M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.67M|    { \
  |  |  |  |  201|  1.67M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.67M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.67M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.67M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.67M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.67M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.67M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.67M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.67M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.67M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.67M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.67M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.67M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.67M|    }
  |  |  ------------------
  |  | 7069|  1.67M|        }
  |  | 7070|       |
  |  | 7071|      0|        TARGET(INSTRUMENTED_CALL) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7072|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7073|       |            int opcode = INSTRUMENTED_CALL;
  |  | 7074|       |            (void)(opcode);
  |  | 7075|       |            #endif
  |  | 7076|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7077|      0|            (void)this_instr;
  |  | 7078|      0|            frame->instr_ptr = next_instr;
  |  | 7079|      0|            next_instr += 4;
  |  | 7080|      0|            INSTRUCTION_STATS(INSTRUMENTED_CALL);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7081|      0|            opcode = INSTRUMENTED_CALL;
  |  |  ------------------
  |  |  |  |  237|      0|#define INSTRUMENTED_CALL                      249
  |  |  ------------------
  |  | 7082|      0|            _PyStackRef callable;
  |  | 7083|      0|            _PyStackRef self_or_null;
  |  | 7084|      0|            _PyStackRef func;
  |  | 7085|      0|            _PyStackRef maybe_self;
  |  | 7086|      0|            _PyStackRef *args;
  |  | 7087|      0|            _PyStackRef res;
  |  | 7088|       |            /* Skip 3 cache entries */
  |  | 7089|       |            // _MAYBE_EXPAND_METHOD
  |  | 7090|      0|            {
  |  | 7091|      0|                self_or_null = stack_pointer[-1 - oparg];
  |  | 7092|      0|                callable = stack_pointer[-2 - oparg];
  |  | 7093|      0|                if (PyStackRef_TYPE(callable) == &PyMethod_Type && PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7093:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7094|      0|                    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 7095|      0|                    PyObject *self = ((PyMethodObject *)callable_o)->im_self;
  |  | 7096|      0|                    self_or_null = PyStackRef_FromPyObjectNew(self);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7097|      0|                    PyObject *method = ((PyMethodObject *)callable_o)->im_func;
  |  | 7098|      0|                    _PyStackRef temp = callable;
  |  | 7099|      0|                    callable = PyStackRef_FromPyObjectNew(method);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7100|      0|                    stack_pointer[-2 - oparg] = callable;
  |  | 7101|      0|                    stack_pointer[-1 - oparg] = self_or_null;
  |  | 7102|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7103|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7104|      0|                    PyStackRef_CLOSE(temp);
  |  | 7105|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7106|      0|                }
  |  | 7107|      0|            }
  |  | 7108|       |            // _MONITOR_CALL
  |  | 7109|      0|            {
  |  | 7110|      0|                args = &stack_pointer[-oparg];
  |  | 7111|      0|                maybe_self = self_or_null;
  |  | 7112|      0|                func = callable;
  |  | 7113|      0|                int is_meth = !PyStackRef_IsNull(maybe_self);
  |  |  ------------------
  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7114|      0|                PyObject *function = PyStackRef_AsPyObjectBorrow(func);
  |  | 7115|      0|                PyObject *arg0;
  |  | 7116|      0|                if (is_meth) {
  |  |  ------------------
  |  |  |  Branch (7116:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7117|      0|                    arg0 = PyStackRef_AsPyObjectBorrow(maybe_self);
  |  | 7118|      0|                }
  |  | 7119|      0|                else if (oparg) {
  |  |  ------------------
  |  |  |  Branch (7119:26): [True: 0, False: 0]
  |  |  ------------------
  |  | 7120|      0|                    arg0 = PyStackRef_AsPyObjectBorrow(args[0]);
  |  | 7121|      0|                }
  |  | 7122|      0|                else {
  |  | 7123|      0|                    arg0 = &_PyInstrumentation_MISSING;
  |  | 7124|      0|                }
  |  | 7125|      0|                stack_pointer[-2 - oparg] = func;
  |  | 7126|      0|                stack_pointer[-1 - oparg] = maybe_self;
  |  | 7127|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7128|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7129|      0|                int err = _Py_call_instrumentation_2args(
  |  | 7130|      0|                    tstate, PY_MONITORING_EVENT_CALL,
  |  |  ------------------
  |  |  |  |   18|      0|#define PY_MONITORING_EVENT_CALL 4
  |  |  ------------------
  |  | 7131|      0|                    frame, this_instr, function, arg0
  |  | 7132|      0|                );
  |  | 7133|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7134|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (7134:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7135|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7136|      0|                }
  |  | 7137|      0|            }
  |  | 7138|       |            // _DO_CALL
  |  | 7139|      0|            {
  |  | 7140|      0|                args = &stack_pointer[-oparg];
  |  | 7141|      0|                self_or_null = stack_pointer[-1 - oparg];
  |  | 7142|      0|                callable = stack_pointer[-2 - oparg];
  |  | 7143|      0|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 7144|      0|                int total_args = oparg;
  |  | 7145|      0|                _PyStackRef *arguments = args;
  |  | 7146|      0|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7146:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7147|      0|                    arguments--;
  |  | 7148|      0|                    total_args++;
  |  | 7149|      0|                }
  |  | 7150|      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 (7150:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7151|      0|                    !IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  519|      0|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (7151:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7152|      0|                    ((PyFunctionObject *)callable_o)->vectorcall == _PyFunction_Vectorcall)
  |  |  ------------------
  |  |  |  Branch (7152:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7153|      0|                {
  |  | 7154|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7155|      0|                    PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  122|      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 (7155:40): [True: 0, False: 0]
  |  |  ------------------
  |  | 7156|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7156:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7157|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7158|      0|                    _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit(
  |  | 7159|      0|                        tstate, callable, locals,
  |  | 7160|      0|                        arguments, total_args, NULL, frame
  |  | 7161|      0|                    );
  |  | 7162|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7163|      0|                    stack_pointer += -2 - oparg;
  |  | 7164|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7165|      0|                    if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (7165:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7166|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7167|      0|                    }
  |  | 7168|      0|                    frame->return_offset = 4u ;
  |  | 7169|      0|                    DISPATCH_INLINED(new_frame);
  |  |  ------------------
  |  |  |  |  223|      0|    do {                                                         \
  |  |  |  |  224|      0|        assert(!IS_PEP523_HOOKED(tstate));                       \
  |  |  |  |  225|      0|        _PyFrame_SetStackPointer(frame, stack_pointer);          \
  |  |  |  |  226|      0|        _PyFrame_StackPointerValidate(frame);                    \
  |  |  |  |  227|      0|        assert((NEW_FRAME)->previous == frame);                  \
  |  |  |  |  228|      0|        frame = tstate->current_frame = (NEW_FRAME);             \
  |  |  |  |  229|      0|        CALL_STAT_INC(inlined_py_calls);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  |   76|      0|#define CALL_STAT_INC(name) ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  230|      0|        JUMP_TO_LABEL(start_frame);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  231|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7169:21): [True: 0, False: 0]
  |  |  |  Branch (7169:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7170|      0|                }
  |  | 7171|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7171:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7172|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7173|      0|                PyObject* res_o = _Py_VectorCallInstrumentation_StackRefSteal(
  |  | 7174|      0|                    callable,
  |  | 7175|      0|                    arguments,
  |  | 7176|      0|                    total_args,
  |  | 7177|      0|                    PyStackRef_NULL,
  |  | 7178|      0|                    opcode == INSTRUMENTED_CALL,
  |  |  ------------------
  |  |  |  |  237|      0|#define INSTRUMENTED_CALL                      249
  |  |  ------------------
  |  | 7179|      0|                    frame,
  |  | 7180|      0|                    this_instr,
  |  | 7181|      0|                    tstate);
  |  | 7182|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7183|      0|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7183:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7184|      0|                    stack_pointer += -2 - oparg;
  |  | 7185|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7186|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7187|      0|                }
  |  | 7188|      0|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 7189|      0|            }
  |  | 7190|       |            // _CHECK_PERIODIC_AT_END
  |  | 7191|      0|            {
  |  | 7192|      0|                stack_pointer[-2 - oparg] = res;
  |  | 7193|      0|                stack_pointer += -1 - oparg;
  |  | 7194|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7195|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7196|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7197|      0|                int err = check_periodics_at_end(tstate, frame);
  |  | 7198|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7199|      0|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (7199:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7200|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7201|      0|                }
  |  | 7202|      0|            }
  |  | 7203|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 7204|      0|        }
  |  | 7205|       |
  |  | 7206|      0|        TARGET(INSTRUMENTED_CALL_FUNCTION_EX) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7207|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7208|       |            int opcode = INSTRUMENTED_CALL_FUNCTION_EX;
  |  | 7209|       |            (void)(opcode);
  |  | 7210|       |            #endif
  |  | 7211|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7212|      0|            (void)this_instr;
  |  | 7213|      0|            frame->instr_ptr = next_instr;
  |  | 7214|      0|            next_instr += 2;
  |  | 7215|      0|            INSTRUCTION_STATS(INSTRUMENTED_CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7216|      0|            opcode = INSTRUMENTED_CALL_FUNCTION_EX;
  |  |  ------------------
  |  |  |  |  239|      0|#define INSTRUMENTED_CALL_FUNCTION_EX          251
  |  |  ------------------
  |  | 7217|      0|            _PyStackRef func;
  |  | 7218|      0|            _PyStackRef callargs;
  |  | 7219|      0|            _PyStackRef func_st;
  |  | 7220|      0|            _PyStackRef null;
  |  | 7221|      0|            _PyStackRef callargs_st;
  |  | 7222|      0|            _PyStackRef kwargs_st;
  |  | 7223|      0|            _PyStackRef result;
  |  | 7224|       |            /* Skip 1 cache entry */
  |  | 7225|       |            // _MAKE_CALLARGS_A_TUPLE
  |  | 7226|      0|            {
  |  | 7227|      0|                callargs = stack_pointer[-2];
  |  | 7228|      0|                func = stack_pointer[-4];
  |  | 7229|      0|                PyObject *callargs_o = PyStackRef_AsPyObjectBorrow(callargs);
  |  | 7230|      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 (7230:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7231|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7232|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7233|      0|                    int err = _Py_Check_ArgsIterable(tstate, PyStackRef_AsPyObjectBorrow(func), callargs_o);
  |  | 7234|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7235|      0|                    if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (7235:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7236|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7237|      0|                    }
  |  | 7238|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7238:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7239|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7240|      0|                    PyObject *tuple_o = PySequence_Tuple(callargs_o);
  |  | 7241|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7242|      0|                    if (tuple_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7242:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7243|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7244|      0|                    }
  |  | 7245|      0|                    _PyStackRef temp = callargs;
  |  | 7246|      0|                    callargs = PyStackRef_FromPyObjectSteal(tuple_o);
  |  | 7247|      0|                    stack_pointer[-2] = callargs;
  |  | 7248|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7248:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7249|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7250|      0|                    PyStackRef_CLOSE(temp);
  |  | 7251|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7252|      0|                }
  |  | 7253|      0|            }
  |  | 7254|       |            // _DO_CALL_FUNCTION_EX
  |  | 7255|      0|            {
  |  | 7256|      0|                kwargs_st = stack_pointer[-1];
  |  | 7257|      0|                callargs_st = callargs;
  |  | 7258|      0|                null = stack_pointer[-3];
  |  | 7259|      0|                func_st = func;
  |  | 7260|      0|                (void)null;
  |  | 7261|      0|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 7262|      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)
  |  |  ------------------
  |  | 7263|      0|                PyObject *result_o;
  |  | 7264|      0|                assert(!_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (7264:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7265|      0|                if (opcode == INSTRUMENTED_CALL_FUNCTION_EX) {
  |  |  ------------------
  |  |  |  |  239|      0|#define INSTRUMENTED_CALL_FUNCTION_EX          251
  |  |  ------------------
  |  |  |  Branch (7265:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7266|      0|                    PyObject *callargs = PyStackRef_AsPyObjectBorrow(callargs_st);
  |  | 7267|      0|                    PyObject *kwargs = PyStackRef_AsPyObjectBorrow(kwargs_st);
  |  | 7268|      0|                    assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  |  ------------------
  |  |  |  Branch (7268:21): [True: 0, False: 0]
  |  |  |  Branch (7268:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7269|      0|                    assert(PyTuple_CheckExact(callargs));
  |  |  ------------------
  |  |  |  Branch (7269:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7270|      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 (7270:37): [True: 0, False: 0]
  |  |  ------------------
  |  | 7271|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7271:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7272|      0|                    stack_pointer[-2] = callargs_st;
  |  | 7273|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7274|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7275|      0|                    int err = _Py_call_instrumentation_2args(
  |  | 7276|      0|                        tstate, PY_MONITORING_EVENT_CALL,
  |  |  ------------------
  |  |  |  |   18|      0|#define PY_MONITORING_EVENT_CALL 4
  |  |  ------------------
  |  | 7277|      0|                        frame, this_instr, func, arg);
  |  | 7278|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7279|      0|                    if (err) {
  |  |  ------------------
  |  |  |  Branch (7279:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7280|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7281|      0|                    }
  |  | 7282|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7282:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7283|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7284|      0|                    result_o = PyObject_Call(func, callargs, kwargs);
  |  | 7285|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7286|      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 (7286:25): [True: 0, False: 0]
  |  |  |  Branch (7286:52): [True: 0, False: 0]
  |  |  ------------------
  |  | 7287|      0|                        if (result_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7287:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 7288|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7288:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 7289|      0|                            _PyFrame_StackPointerValidate(frame);
  |  | 7290|      0|                            _Py_call_instrumentation_exc2(
  |  | 7291|      0|                                tstate, PY_MONITORING_EVENT_C_RAISE,
  |  |  ------------------
  |  |  |  |   45|      0|#define PY_MONITORING_EVENT_C_RAISE 17
  |  |  ------------------
  |  | 7292|      0|                                frame, this_instr, func, arg);
  |  | 7293|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  | 7294|      0|                        }
  |  | 7295|      0|                        else {
  |  | 7296|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7296:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 7297|      0|                            _PyFrame_StackPointerValidate(frame);
  |  | 7298|      0|                            int err = _Py_call_instrumentation_2args(
  |  | 7299|      0|                                tstate, PY_MONITORING_EVENT_C_RETURN,
  |  |  ------------------
  |  |  |  |   44|      0|#define PY_MONITORING_EVENT_C_RETURN 16
  |  |  ------------------
  |  | 7300|      0|                                frame, this_instr, func, arg);
  |  | 7301|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  | 7302|      0|                            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (7302:33): [True: 0, False: 0]
  |  |  ------------------
  |  | 7303|      0|                                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7303:33): [True: 0, False: 0]
  |  |  ------------------
  |  | 7304|      0|                                _PyFrame_StackPointerValidate(frame);
  |  | 7305|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7306|      0|                                _PyFrame_StackPointerInvalidate(frame);
  |  | 7307|      0|                            }
  |  | 7308|      0|                        }
  |  | 7309|      0|                    }
  |  | 7310|      0|                }
  |  | 7311|      0|                else {
  |  | 7312|      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 (7312:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7313|      0|                        !IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  519|      0|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (7313:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7314|      0|                        ((PyFunctionObject *)func)->vectorcall == _PyFunction_Vectorcall) {
  |  |  ------------------
  |  |  |  Branch (7314:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7315|      0|                        PyObject *callargs = PyStackRef_AsPyObjectSteal(callargs_st);
  |  | 7316|      0|                        assert(PyTuple_CheckExact(callargs));
  |  |  ------------------
  |  |  |  Branch (7316:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7317|      0|                        PyObject *kwargs = PyStackRef_IsNull(kwargs_st) ? NULL : PyStackRef_AsPyObjectSteal(kwargs_st);
  |  |  ------------------
  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7318|      0|                        assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  |  ------------------
  |  |  |  Branch (7318:25): [True: 0, False: 0]
  |  |  |  Branch (7318:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7319|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7320|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7321|      0|                        PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(func));
  |  |  ------------------
  |  |  |  |  122|      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 (7321:44): [True: 0, False: 0]
  |  |  ------------------
  |  | 7322|      0|                        stack_pointer += -2;
  |  | 7323|      0|                        ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7324|      0|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7325|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 7326|      0|                        _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit_Ex(
  |  | 7327|      0|                            tstate, func_st, locals,
  |  | 7328|      0|                            nargs, callargs, kwargs, frame);
  |  | 7329|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 7330|      0|                        stack_pointer += -2;
  |  | 7331|      0|                        ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7332|      0|                        if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (7332:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 7333|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7334|      0|                        }
  |  | 7335|      0|                        assert( 2u == 1 + INLINE_CACHE_ENTRIES_CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  Branch (7335:25): [True: 0, Folded]
  |  |  ------------------
  |  | 7336|      0|                        frame->return_offset = 2u ;
  |  | 7337|      0|                        DISPATCH_INLINED(new_frame);
  |  |  ------------------
  |  |  |  |  223|      0|    do {                                                         \
  |  |  |  |  224|      0|        assert(!IS_PEP523_HOOKED(tstate));                       \
  |  |  |  |  225|      0|        _PyFrame_SetStackPointer(frame, stack_pointer);          \
  |  |  |  |  226|      0|        _PyFrame_StackPointerValidate(frame);                    \
  |  |  |  |  227|      0|        assert((NEW_FRAME)->previous == frame);                  \
  |  |  |  |  228|      0|        frame = tstate->current_frame = (NEW_FRAME);             \
  |  |  |  |  229|      0|        CALL_STAT_INC(inlined_py_calls);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  |   76|      0|#define CALL_STAT_INC(name) ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  230|      0|        JUMP_TO_LABEL(start_frame);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  231|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7337:25): [True: 0, False: 0]
  |  |  |  Branch (7337:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7338|      0|                    }
  |  | 7339|      0|                    PyObject *callargs = PyStackRef_AsPyObjectBorrow(callargs_st);
  |  | 7340|      0|                    assert(PyTuple_CheckExact(callargs));
  |  |  ------------------
  |  |  |  Branch (7340:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7341|      0|                    PyObject *kwargs = PyStackRef_AsPyObjectBorrow(kwargs_st);
  |  | 7342|      0|                    assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  |  ------------------
  |  |  |  Branch (7342:21): [True: 0, False: 0]
  |  |  |  Branch (7342:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7343|      0|                    stack_pointer[-2] = callargs_st;
  |  | 7344|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7345|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7346|      0|                    result_o = PyObject_Call(func, callargs, kwargs);
  |  | 7347|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7348|      0|                }
  |  | 7349|      0|                stack_pointer += -1;
  |  | 7350|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7351|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7352|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7353|      0|                PyStackRef_XCLOSE(kwargs_st);
  |  | 7354|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7355|      0|                stack_pointer += -1;
  |  | 7356|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7357|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7358|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7359|      0|                PyStackRef_CLOSE(callargs_st);
  |  | 7360|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7361|      0|                stack_pointer += -2;
  |  | 7362|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7363|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7364|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7365|      0|                PyStackRef_CLOSE(func_st);
  |  | 7366|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7367|      0|                if (result_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7367:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7368|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7369|      0|                }
  |  | 7370|      0|                result = PyStackRef_FromPyObjectSteal(result_o);
  |  | 7371|      0|            }
  |  | 7372|       |            // _CHECK_PERIODIC_AT_END
  |  | 7373|      0|            {
  |  | 7374|      0|                stack_pointer[0] = result;
  |  | 7375|      0|                stack_pointer += 1;
  |  | 7376|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7377|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7378|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7379|      0|                int err = check_periodics_at_end(tstate, frame);
  |  | 7380|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7381|      0|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (7381:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7382|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7383|      0|                }
  |  | 7384|      0|            }
  |  | 7385|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 7386|      0|        }
  |  | 7387|       |
  |  | 7388|      0|        TARGET(INSTRUMENTED_CALL_KW) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7389|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7390|       |            int opcode = INSTRUMENTED_CALL_KW;
  |  | 7391|       |            (void)(opcode);
  |  | 7392|       |            #endif
  |  | 7393|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7394|      0|            (void)this_instr;
  |  | 7395|      0|            frame->instr_ptr = next_instr;
  |  | 7396|      0|            next_instr += 4;
  |  | 7397|      0|            INSTRUCTION_STATS(INSTRUMENTED_CALL_KW);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7398|      0|            opcode = INSTRUMENTED_CALL_KW;
  |  |  ------------------
  |  |  |  |  238|      0|#define INSTRUMENTED_CALL_KW                   250
  |  |  ------------------
  |  | 7399|      0|            _PyStackRef callable;
  |  | 7400|      0|            _PyStackRef self_or_null;
  |  | 7401|      0|            _PyStackRef *args;
  |  | 7402|      0|            _PyStackRef kwnames;
  |  | 7403|      0|            _PyStackRef res;
  |  | 7404|       |            /* Skip 1 cache entry */
  |  | 7405|       |            /* Skip 2 cache entries */
  |  | 7406|       |            // _MAYBE_EXPAND_METHOD_KW
  |  | 7407|      0|            {
  |  | 7408|      0|                self_or_null = stack_pointer[-2 - oparg];
  |  | 7409|      0|                callable = stack_pointer[-3 - oparg];
  |  | 7410|      0|                if (PyStackRef_TYPE(callable) == &PyMethod_Type && PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7410:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7411|      0|                    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 7412|      0|                    PyObject *self = ((PyMethodObject *)callable_o)->im_self;
  |  | 7413|      0|                    self_or_null = PyStackRef_FromPyObjectNew(self);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7414|      0|                    PyObject *method = ((PyMethodObject *)callable_o)->im_func;
  |  | 7415|      0|                    _PyStackRef temp = callable;
  |  | 7416|      0|                    callable = PyStackRef_FromPyObjectNew(method);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7417|      0|                    stack_pointer[-3 - oparg] = callable;
  |  | 7418|      0|                    stack_pointer[-2 - oparg] = self_or_null;
  |  | 7419|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7420|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7421|      0|                    PyStackRef_CLOSE(temp);
  |  | 7422|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7423|      0|                }
  |  | 7424|      0|            }
  |  | 7425|       |            // _MONITOR_CALL_KW
  |  | 7426|      0|            {
  |  | 7427|      0|                args = &stack_pointer[-1 - oparg];
  |  | 7428|      0|                int is_meth = !PyStackRef_IsNull(self_or_null);
  |  |  ------------------
  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7429|      0|                PyObject *arg;
  |  | 7430|      0|                if (is_meth) {
  |  |  ------------------
  |  |  |  Branch (7430:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7431|      0|                    arg = PyStackRef_AsPyObjectBorrow(self_or_null);
  |  | 7432|      0|                }
  |  | 7433|      0|                else if (args) {
  |  |  ------------------
  |  |  |  Branch (7433:26): [True: 0, False: 0]
  |  |  ------------------
  |  | 7434|      0|                    arg = PyStackRef_AsPyObjectBorrow(args[0]);
  |  | 7435|      0|                }
  |  | 7436|      0|                else {
  |  | 7437|      0|                    arg = &_PyInstrumentation_MISSING;
  |  | 7438|      0|                }
  |  | 7439|      0|                PyObject *function = PyStackRef_AsPyObjectBorrow(callable);
  |  | 7440|      0|                stack_pointer[-3 - oparg] = callable;
  |  | 7441|      0|                stack_pointer[-2 - oparg] = self_or_null;
  |  | 7442|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7443|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7444|      0|                int err = _Py_call_instrumentation_2args(
  |  | 7445|      0|                    tstate, PY_MONITORING_EVENT_CALL,
  |  |  ------------------
  |  |  |  |   18|      0|#define PY_MONITORING_EVENT_CALL 4
  |  |  ------------------
  |  | 7446|      0|                    frame, this_instr, function, arg);
  |  | 7447|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7448|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (7448:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7449|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7450|      0|                }
  |  | 7451|      0|            }
  |  | 7452|       |            // _DO_CALL_KW
  |  | 7453|      0|            {
  |  | 7454|      0|                kwnames = stack_pointer[-1];
  |  | 7455|      0|                args = &stack_pointer[-1 - oparg];
  |  | 7456|      0|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 7457|      0|                PyObject *kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  |  | 7458|      0|                int total_args = oparg;
  |  | 7459|      0|                _PyStackRef *arguments = args;
  |  | 7460|      0|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7460:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7461|      0|                    arguments--;
  |  | 7462|      0|                    total_args++;
  |  | 7463|      0|                }
  |  | 7464|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7465|      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 (7465:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7466|      0|                    !IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  519|      0|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (7466:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7467|      0|                    ((PyFunctionObject *)callable_o)->vectorcall == _PyFunction_Vectorcall)
  |  |  ------------------
  |  |  |  Branch (7467:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7468|      0|                {
  |  | 7469|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7470|      0|                    PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  122|      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 (7470:40): [True: 0, False: 0]
  |  |  ------------------
  |  | 7471|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7471:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7472|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7473|      0|                    _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit(
  |  | 7474|      0|                        tstate, callable, locals,
  |  | 7475|      0|                        arguments, positional_args, kwnames_o, frame
  |  | 7476|      0|                    );
  |  | 7477|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7478|      0|                    stack_pointer += -3 - oparg;
  |  | 7479|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7480|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7481|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7482|      0|                    PyStackRef_CLOSE(kwnames);
  |  | 7483|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7484|      0|                    if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (7484:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7485|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7486|      0|                    }
  |  | 7487|      0|                    assert( 4u == 1 + INLINE_CACHE_ENTRIES_CALL_KW);
  |  |  ------------------
  |  |  |  Branch (7487:21): [True: 0, Folded]
  |  |  ------------------
  |  | 7488|      0|                    frame->return_offset = 4u ;
  |  | 7489|      0|                    DISPATCH_INLINED(new_frame);
  |  |  ------------------
  |  |  |  |  223|      0|    do {                                                         \
  |  |  |  |  224|      0|        assert(!IS_PEP523_HOOKED(tstate));                       \
  |  |  |  |  225|      0|        _PyFrame_SetStackPointer(frame, stack_pointer);          \
  |  |  |  |  226|      0|        _PyFrame_StackPointerValidate(frame);                    \
  |  |  |  |  227|      0|        assert((NEW_FRAME)->previous == frame);                  \
  |  |  |  |  228|      0|        frame = tstate->current_frame = (NEW_FRAME);             \
  |  |  |  |  229|      0|        CALL_STAT_INC(inlined_py_calls);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  |   76|      0|#define CALL_STAT_INC(name) ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  230|      0|        JUMP_TO_LABEL(start_frame);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  231|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7489:21): [True: 0, False: 0]
  |  |  |  Branch (7489:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7490|      0|                }
  |  | 7491|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7491:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7492|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7493|      0|                PyObject* res_o = _Py_VectorCallInstrumentation_StackRefSteal(
  |  | 7494|      0|                    callable,
  |  | 7495|      0|                    arguments,
  |  | 7496|      0|                    total_args,
  |  | 7497|      0|                    kwnames,
  |  | 7498|      0|                    opcode == INSTRUMENTED_CALL_KW,
  |  |  ------------------
  |  |  |  |  238|      0|#define INSTRUMENTED_CALL_KW                   250
  |  |  ------------------
  |  | 7499|      0|                    frame,
  |  | 7500|      0|                    this_instr,
  |  | 7501|      0|                    tstate);
  |  | 7502|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7503|      0|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7503:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7504|      0|                    stack_pointer += -3 - oparg;
  |  | 7505|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7506|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7507|      0|                }
  |  | 7508|      0|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 7509|      0|            }
  |  | 7510|      0|            stack_pointer[-3 - oparg] = res;
  |  | 7511|      0|            stack_pointer += -2 - oparg;
  |  | 7512|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7513|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 7514|      0|        }
  |  | 7515|       |
  |  | 7516|      0|        TARGET(INSTRUMENTED_END_ASYNC_FOR) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7517|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7518|       |            int opcode = INSTRUMENTED_END_ASYNC_FOR;
  |  | 7519|       |            (void)(opcode);
  |  | 7520|       |            #endif
  |  | 7521|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7522|      0|            (void)this_instr;
  |  | 7523|      0|            frame->instr_ptr = next_instr;
  |  | 7524|      0|            next_instr += 1;
  |  | 7525|      0|            INSTRUCTION_STATS(INSTRUMENTED_END_ASYNC_FOR);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7526|      0|            _PyStackRef awaitable_st;
  |  | 7527|      0|            _PyStackRef exc_st;
  |  | 7528|       |            // _MONITOR_END_ASYNC_FOR
  |  | 7529|      0|            {
  |  | 7530|      0|                assert((next_instr-oparg)->op.code == END_SEND || (next_instr-oparg)->op.code >= MIN_INSTRUMENTED_OPCODE);
  |  |  ------------------
  |  |  |  Branch (7530:17): [True: 0, False: 0]
  |  |  |  Branch (7530:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7531|      0|                INSTRUMENTED_JUMP(next_instr-oparg, this_instr+1, PY_MONITORING_EVENT_BRANCH_RIGHT);
  |  |  ------------------
  |  |  |  |  390|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  391|      0|do { \
  |  |  |  |  392|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  393|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (393:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  394|      0|        next_instr = _dest; \
  |  |  |  |  395|      0|    } else { \
  |  |  |  |  396|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  397|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  398|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  399|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (399:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  400|      0|            next_instr = _dest + 1; \
  |  |  |  |  401|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  402|      0|        } \
  |  |  |  |  403|      0|    } \
  |  |  |  |  404|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (404:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7532|      0|            }
  |  | 7533|       |            // _END_ASYNC_FOR
  |  | 7534|      0|            {
  |  | 7535|      0|                exc_st = stack_pointer[-1];
  |  | 7536|      0|                awaitable_st = stack_pointer[-2];
  |  | 7537|      0|                JUMPBY(0);
  |  |  ------------------
  |  |  |  |  261|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 7538|      0|                (void)oparg;
  |  | 7539|      0|                PyObject *exc = PyStackRef_AsPyObjectBorrow(exc_st);
  |  | 7540|      0|                assert(exc && PyExceptionInstance_Check(exc));
  |  |  ------------------
  |  |  |  Branch (7540:17): [True: 0, False: 0]
  |  |  |  Branch (7540:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7541|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7542|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7543|      0|                int matches = PyErr_GivenExceptionMatches(exc, PyExc_StopAsyncIteration);
  |  | 7544|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7545|      0|                if (matches) {
  |  |  ------------------
  |  |  |  Branch (7545:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7546|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7546:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7547|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7548|      0|                    _PyStackRef tmp = exc_st;
  |  | 7549|      0|                    exc_st = PyStackRef_NULL;
  |  | 7550|      0|                    stack_pointer[-1] = exc_st;
  |  | 7551|      0|                    PyStackRef_CLOSE(tmp);
  |  | 7552|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7553|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7553:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7554|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7555|      0|                    tmp = awaitable_st;
  |  | 7556|      0|                    awaitable_st = PyStackRef_NULL;
  |  | 7557|      0|                    stack_pointer[-2] = awaitable_st;
  |  | 7558|      0|                    PyStackRef_CLOSE(tmp);
  |  | 7559|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7560|      0|                    stack_pointer += -2;
  |  | 7561|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7562|      0|                }
  |  | 7563|      0|                else {
  |  | 7564|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7565|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7565:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7566|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7567|      0|                    _PyErr_SetRaisedException(tstate, exc);
  |  | 7568|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7569|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7569:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7570|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7571|      0|                    monitor_reraise(tstate, frame, this_instr);
  |  | 7572|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7573|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7573:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7574|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7575|      0|                    JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7576|      0|                }
  |  | 7577|      0|            }
  |  | 7578|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 7579|      0|        }
  |  | 7580|       |
  |  | 7581|      0|        TARGET(INSTRUMENTED_END_FOR) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7582|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7583|       |            int opcode = INSTRUMENTED_END_FOR;
  |  | 7584|       |            (void)(opcode);
  |  | 7585|       |            #endif
  |  | 7586|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7587|      0|            (void)this_instr;
  |  | 7588|      0|            next_instr += 1;
  |  | 7589|      0|            INSTRUCTION_STATS(INSTRUMENTED_END_FOR);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7590|      0|            _PyStackRef receiver;
  |  | 7591|      0|            _PyStackRef value;
  |  | 7592|      0|            value = stack_pointer[-1];
  |  | 7593|      0|            receiver = stack_pointer[-3];
  |  | 7594|      0|            if (PyStackRef_GenCheck(receiver)) {
  |  |  ------------------
  |  |  |  Branch (7594:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7595|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7596|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7597|      0|                int err = monitor_stop_iteration(tstate, frame, this_instr, PyStackRef_AsPyObjectBorrow(value));
  |  | 7598|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7599|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (7599:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7600|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7601|      0|                }
  |  | 7602|      0|            }
  |  | 7603|      0|            stack_pointer += -1;
  |  | 7604|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7605|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7606|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 7607|      0|            PyStackRef_CLOSE(value);
  |  | 7608|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 7609|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 7610|      0|        }
  |  | 7611|       |
  |  | 7612|      0|        TARGET(INSTRUMENTED_END_SEND) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7613|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7614|       |            int opcode = INSTRUMENTED_END_SEND;
  |  | 7615|       |            (void)(opcode);
  |  | 7616|       |            #endif
  |  | 7617|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7618|      0|            (void)this_instr;
  |  | 7619|      0|            frame->instr_ptr = next_instr;
  |  | 7620|      0|            next_instr += 1;
  |  | 7621|      0|            INSTRUCTION_STATS(INSTRUMENTED_END_SEND);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7622|      0|            _PyStackRef receiver;
  |  | 7623|      0|            _PyStackRef index_or_null;
  |  | 7624|      0|            _PyStackRef value;
  |  | 7625|      0|            _PyStackRef val;
  |  | 7626|      0|            value = stack_pointer[-1];
  |  | 7627|      0|            index_or_null = stack_pointer[-2];
  |  | 7628|      0|            receiver = stack_pointer[-3];
  |  | 7629|      0|            PyObject *receiver_o = PyStackRef_AsPyObjectBorrow(receiver);
  |  | 7630|      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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7631|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7632|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7633|      0|                int err = monitor_stop_iteration(tstate, frame, this_instr, PyStackRef_AsPyObjectBorrow(value));
  |  | 7634|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7635|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (7635:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7636|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7637|      0|                }
  |  | 7638|      0|            }
  |  | 7639|      0|            val = value;
  |  | 7640|      0|            (void)index_or_null;
  |  | 7641|      0|            stack_pointer[-3] = val;
  |  | 7642|      0|            stack_pointer += -2;
  |  | 7643|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7644|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7645|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 7646|      0|            PyStackRef_CLOSE(receiver);
  |  | 7647|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 7648|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 7649|      0|        }
  |  | 7650|       |
  |  | 7651|      0|        TARGET(INSTRUMENTED_FOR_ITER) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7652|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7653|       |            int opcode = INSTRUMENTED_FOR_ITER;
  |  | 7654|       |            (void)(opcode);
  |  | 7655|       |            #endif
  |  | 7656|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7657|      0|            (void)this_instr;
  |  | 7658|      0|            frame->instr_ptr = next_instr;
  |  | 7659|      0|            next_instr += 2;
  |  | 7660|      0|            INSTRUCTION_STATS(INSTRUMENTED_FOR_ITER);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7661|      0|            _PyStackRef iter;
  |  | 7662|      0|            _PyStackRef null_or_index;
  |  | 7663|      0|            _PyStackRef next;
  |  | 7664|       |            /* Skip 1 cache entry */
  |  | 7665|      0|            null_or_index = stack_pointer[-1];
  |  | 7666|      0|            iter = stack_pointer[-2];
  |  | 7667|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7668|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 7669|      0|            _PyStackRef item = _PyForIter_VirtualIteratorNext(tstate, frame, iter, &null_or_index);
  |  | 7670|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 7671|      0|            if (!PyStackRef_IsValid(item)) {
  |  |  ------------------
  |  |  |  Branch (7671:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7672|      0|                if (PyStackRef_IsError(item)) {
  |  |  ------------------
  |  |  |  Branch (7672:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7673|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7674|      0|                }
  |  | 7675|      0|                JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  261|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 7676|      0|                stack_pointer[-1] = null_or_index;
  |  | 7677|      0|                DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 7678|      0|            }
  |  | 7679|      0|            next = item;
  |  | 7680|      0|            INSTRUMENTED_JUMP(this_instr, next_instr, PY_MONITORING_EVENT_BRANCH_LEFT);
  |  |  ------------------
  |  |  |  |  390|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  391|      0|do { \
  |  |  |  |  392|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  393|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (393:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  394|      0|        next_instr = _dest; \
  |  |  |  |  395|      0|    } else { \
  |  |  |  |  396|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  397|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  398|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  399|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (399:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  400|      0|            next_instr = _dest + 1; \
  |  |  |  |  401|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  402|      0|        } \
  |  |  |  |  403|      0|    } \
  |  |  |  |  404|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (404:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7681|      0|            stack_pointer[-1] = null_or_index;
  |  | 7682|      0|            stack_pointer[0] = next;
  |  | 7683|      0|            stack_pointer += 1;
  |  | 7684|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7685|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 7686|      0|        }
  |  | 7687|       |
  |  | 7688|      0|        TARGET(INSTRUMENTED_INSTRUCTION) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7689|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7690|       |            int opcode = INSTRUMENTED_INSTRUCTION;
  |  | 7691|       |            (void)(opcode);
  |  | 7692|       |            #endif
  |  | 7693|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7694|      0|            (void)this_instr;
  |  | 7695|      0|            frame->instr_ptr = next_instr;
  |  | 7696|      0|            next_instr += 1;
  |  | 7697|      0|            INSTRUCTION_STATS(INSTRUMENTED_INSTRUCTION);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7698|      0|            opcode = INSTRUMENTED_INSTRUCTION;
  |  |  ------------------
  |  |  |  |  225|      0|#define INSTRUMENTED_INSTRUCTION               237
  |  |  ------------------
  |  | 7699|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7700|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 7701|      0|            int next_opcode = _Py_call_instrumentation_instruction(
  |  | 7702|      0|                tstate, frame, this_instr);
  |  | 7703|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 7704|      0|            if (next_opcode < 0) {
  |  |  ------------------
  |  |  |  Branch (7704:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7705|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7706|      0|            }
  |  | 7707|      0|            next_instr = this_instr;
  |  | 7708|      0|            if (_PyOpcode_Caches[next_opcode]) {
  |  |  ------------------
  |  |  |  Branch (7708:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7709|      0|                PAUSE_ADAPTIVE_COUNTER(next_instr[1].counter);
  |  |  ------------------
  |  |  |  |  363|      0|    do { \
  |  |  |  |  364|      0|        (COUNTER) = pause_backoff_counter((COUNTER)); \
  |  |  |  |  365|      0|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (365:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7710|      0|            }
  |  | 7711|      0|            assert(next_opcode > 0 && next_opcode < 256);
  |  |  ------------------
  |  |  |  Branch (7711:13): [True: 0, False: 0]
  |  |  |  Branch (7711:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 7712|      0|            opcode = next_opcode;
  |  | 7713|      0|            DISPATCH_GOTO();
  |  |  ------------------
  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  ------------------
  |  | 7714|      0|        }
  |  | 7715|       |
  |  | 7716|      0|        TARGET(INSTRUMENTED_JUMP_BACKWARD) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7717|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7718|       |            int opcode = INSTRUMENTED_JUMP_BACKWARD;
  |  | 7719|       |            (void)(opcode);
  |  | 7720|       |            #endif
  |  | 7721|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7722|      0|            (void)this_instr;
  |  | 7723|      0|            frame->instr_ptr = next_instr;
  |  | 7724|      0|            next_instr += 2;
  |  | 7725|      0|            INSTRUCTION_STATS(INSTRUMENTED_JUMP_BACKWARD);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7726|       |            /* Skip 1 cache entry */
  |  | 7727|       |            // _CHECK_PERIODIC
  |  | 7728|      0|            {
  |  | 7729|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7730|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7731|      0|                int err = check_periodics(tstate);
  |  | 7732|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7733|      0|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (7733:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7734|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7735|      0|                }
  |  | 7736|      0|            }
  |  | 7737|       |            // _MONITOR_JUMP_BACKWARD
  |  | 7738|      0|            {
  |  | 7739|      0|                INSTRUMENTED_JUMP(this_instr, next_instr - oparg, PY_MONITORING_EVENT_JUMP);
  |  |  ------------------
  |  |  |  |  390|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  391|      0|do { \
  |  |  |  |  392|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  393|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (393:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  394|      0|        next_instr = _dest; \
  |  |  |  |  395|      0|    } else { \
  |  |  |  |  396|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  397|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  398|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  399|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (399:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  400|      0|            next_instr = _dest + 1; \
  |  |  |  |  401|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  402|      0|        } \
  |  |  |  |  403|      0|    } \
  |  |  |  |  404|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (404:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7740|      0|            }
  |  | 7741|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 7742|      0|        }
  |  | 7743|       |
  |  | 7744|      0|        TARGET(INSTRUMENTED_JUMP_FORWARD) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7745|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7746|       |            int opcode = INSTRUMENTED_JUMP_FORWARD;
  |  | 7747|       |            (void)(opcode);
  |  | 7748|       |            #endif
  |  | 7749|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7750|      0|            (void)this_instr;
  |  | 7751|      0|            frame->instr_ptr = next_instr;
  |  | 7752|      0|            next_instr += 1;
  |  | 7753|      0|            INSTRUCTION_STATS(INSTRUMENTED_JUMP_FORWARD);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7754|      0|            INSTRUMENTED_JUMP(this_instr, next_instr + oparg, PY_MONITORING_EVENT_JUMP);
  |  |  ------------------
  |  |  |  |  390|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  391|      0|do { \
  |  |  |  |  392|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  393|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (393:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  394|      0|        next_instr = _dest; \
  |  |  |  |  395|      0|    } else { \
  |  |  |  |  396|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  397|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  398|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  399|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (399:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  400|      0|            next_instr = _dest + 1; \
  |  |  |  |  401|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  402|      0|        } \
  |  |  |  |  403|      0|    } \
  |  |  |  |  404|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (404:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7755|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 7756|      0|        }
  |  | 7757|       |
  |  | 7758|      0|        TARGET(INSTRUMENTED_LINE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7759|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7760|       |            int opcode = INSTRUMENTED_LINE;
  |  | 7761|       |            (void)(opcode);
  |  | 7762|       |            #endif
  |  | 7763|      0|            _Py_CODEUNIT* const prev_instr = frame->instr_ptr;
  |  | 7764|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7765|      0|            (void)this_instr;
  |  | 7766|      0|            frame->instr_ptr = next_instr;
  |  | 7767|      0|            next_instr += 1;
  |  | 7768|      0|            INSTRUCTION_STATS(INSTRUMENTED_LINE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7769|      0|            opcode = INSTRUMENTED_LINE;
  |  |  ------------------
  |  |  |  |  241|      0|#define INSTRUMENTED_LINE                      253
  |  |  ------------------
  |  | 7770|      0|            int original_opcode = 0;
  |  | 7771|      0|            if (tstate->tracing) {
  |  |  ------------------
  |  |  |  Branch (7771:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7772|      0|                PyCodeObject *code = _PyFrame_GetCode(frame);
  |  | 7773|      0|                int index = (int)(this_instr - _PyFrame_GetBytecode(frame));
  |  | 7774|      0|                original_opcode = code->_co_monitoring->lines->data[index*code->_co_monitoring->lines->bytes_per_entry];
  |  | 7775|      0|                next_instr = this_instr;
  |  | 7776|      0|            } else {
  |  | 7777|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7778|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7779|      0|                original_opcode = _Py_call_instrumentation_line(
  |  | 7780|      0|                    tstate, frame, this_instr, prev_instr);
  |  | 7781|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7782|       |                // Explicit stack reload
  |  | 7783|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7784|      0|                _PyFrame_StackAssertInvalid(frame);
  |  | 7785|      0|                if (original_opcode < 0) {
  |  |  ------------------
  |  |  |  Branch (7785:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7786|      0|                    next_instr = this_instr+1;
  |  | 7787|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7788|      0|                }
  |  | 7789|      0|                next_instr = frame->instr_ptr;
  |  | 7790|      0|                if (next_instr != this_instr) {
  |  |  ------------------
  |  |  |  Branch (7790:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7791|      0|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 7792|      0|                }
  |  | 7793|      0|            }
  |  | 7794|      0|            if (_PyOpcode_Caches[original_opcode]) {
  |  |  ------------------
  |  |  |  Branch (7794:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7795|      0|                _PyBinaryOpCache *cache = (_PyBinaryOpCache *)(next_instr+1);
  |  | 7796|      0|                PAUSE_ADAPTIVE_COUNTER(cache->counter);
  |  |  ------------------
  |  |  |  |  363|      0|    do { \
  |  |  |  |  364|      0|        (COUNTER) = pause_backoff_counter((COUNTER)); \
  |  |  |  |  365|      0|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (365:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7797|      0|            }
  |  | 7798|      0|            opcode = original_opcode;
  |  | 7799|      0|            PRE_DISPATCH_GOTO();
  |  |  ------------------
  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  ------------------
  |  | 7800|      0|            DISPATCH_GOTO();
  |  |  ------------------
  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  ------------------
  |  | 7801|      0|        }
  |  | 7802|       |
  |  | 7803|      0|        TARGET(INSTRUMENTED_LOAD_SUPER_ATTR) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7804|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7805|       |            int opcode = INSTRUMENTED_LOAD_SUPER_ATTR;
  |  | 7806|       |            (void)(opcode);
  |  | 7807|       |            #endif
  |  | 7808|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7809|      0|            (void)this_instr;
  |  | 7810|      0|            frame->instr_ptr = next_instr;
  |  | 7811|      0|            next_instr += 2;
  |  | 7812|      0|            INSTRUCTION_STATS(INSTRUMENTED_LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7813|      0|            opcode = INSTRUMENTED_LOAD_SUPER_ATTR;
  |  |  ------------------
  |  |  |  |  236|      0|#define INSTRUMENTED_LOAD_SUPER_ATTR           248
  |  |  ------------------
  |  | 7814|      0|            _PyStackRef global_super_st;
  |  | 7815|      0|            _PyStackRef class_st;
  |  | 7816|      0|            _PyStackRef self_st;
  |  | 7817|      0|            _PyStackRef attr;
  |  | 7818|      0|            _PyStackRef *null;
  |  | 7819|       |            /* Skip 1 cache entry */
  |  | 7820|       |            // _LOAD_SUPER_ATTR
  |  | 7821|      0|            {
  |  | 7822|      0|                self_st = stack_pointer[-1];
  |  | 7823|      0|                class_st = stack_pointer[-2];
  |  | 7824|      0|                global_super_st = stack_pointer[-3];
  |  | 7825|      0|                PyObject *global_super = PyStackRef_AsPyObjectBorrow(global_super_st);
  |  | 7826|      0|                PyObject *class = PyStackRef_AsPyObjectBorrow(class_st);
  |  | 7827|      0|                PyObject *self = PyStackRef_AsPyObjectBorrow(self_st);
  |  | 7828|      0|                if (opcode == INSTRUMENTED_LOAD_SUPER_ATTR) {
  |  |  ------------------
  |  |  |  |  236|      0|#define INSTRUMENTED_LOAD_SUPER_ATTR           248
  |  |  ------------------
  |  |  |  Branch (7828:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7829|      0|                    PyObject *arg = oparg & 2 ? class : &_PyInstrumentation_MISSING;
  |  |  ------------------
  |  |  |  Branch (7829:37): [True: 0, False: 0]
  |  |  ------------------
  |  | 7830|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7831|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7832|      0|                    int err = _Py_call_instrumentation_2args(
  |  | 7833|      0|                        tstate, PY_MONITORING_EVENT_CALL,
  |  |  ------------------
  |  |  |  |   18|      0|#define PY_MONITORING_EVENT_CALL 4
  |  |  ------------------
  |  | 7834|      0|                        frame, this_instr, global_super, arg);
  |  | 7835|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7836|      0|                    if (err) {
  |  |  ------------------
  |  |  |  Branch (7836:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7837|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7837:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7838|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 7839|      0|                        _PyStackRef tmp = self_st;
  |  | 7840|      0|                        self_st = PyStackRef_NULL;
  |  | 7841|      0|                        stack_pointer[-1] = self_st;
  |  | 7842|      0|                        PyStackRef_CLOSE(tmp);
  |  | 7843|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 7844|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7844:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7845|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 7846|      0|                        tmp = class_st;
  |  | 7847|      0|                        class_st = PyStackRef_NULL;
  |  | 7848|      0|                        stack_pointer[-2] = class_st;
  |  | 7849|      0|                        PyStackRef_CLOSE(tmp);
  |  | 7850|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 7851|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7851:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7852|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 7853|      0|                        tmp = global_super_st;
  |  | 7854|      0|                        global_super_st = PyStackRef_NULL;
  |  | 7855|      0|                        stack_pointer[-3] = global_super_st;
  |  | 7856|      0|                        PyStackRef_CLOSE(tmp);
  |  | 7857|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 7858|      0|                        stack_pointer += -3;
  |  | 7859|      0|                        ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7860|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7861|      0|                    }
  |  | 7862|      0|                }
  |  | 7863|      0|                PyObject *super;
  |  | 7864|      0|                {
  |  | 7865|      0|                    PyObject *stack[] = {class, self};
  |  | 7866|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7867|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7868|      0|                    super = PyObject_Vectorcall(global_super, stack, oparg & 2, NULL);
  |  | 7869|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7870|      0|                }
  |  | 7871|      0|                if (opcode == INSTRUMENTED_LOAD_SUPER_ATTR) {
  |  |  ------------------
  |  |  |  |  236|      0|#define INSTRUMENTED_LOAD_SUPER_ATTR           248
  |  |  ------------------
  |  |  |  Branch (7871:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7872|      0|                    PyObject *arg = oparg & 2 ? class : &_PyInstrumentation_MISSING;
  |  |  ------------------
  |  |  |  Branch (7872:37): [True: 0, False: 0]
  |  |  ------------------
  |  | 7873|      0|                    if (super == NULL) {
  |  |  ------------------
  |  |  |  Branch (7873:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7874|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7874:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7875|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 7876|      0|                        _Py_call_instrumentation_exc2(
  |  | 7877|      0|                            tstate, PY_MONITORING_EVENT_C_RAISE,
  |  |  ------------------
  |  |  |  |   45|      0|#define PY_MONITORING_EVENT_C_RAISE 17
  |  |  ------------------
  |  | 7878|      0|                            frame, this_instr, global_super, arg);
  |  | 7879|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 7880|      0|                    }
  |  | 7881|      0|                    else {
  |  | 7882|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7882:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7883|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 7884|      0|                        int err = _Py_call_instrumentation_2args(
  |  | 7885|      0|                            tstate, PY_MONITORING_EVENT_C_RETURN,
  |  |  ------------------
  |  |  |  |   44|      0|#define PY_MONITORING_EVENT_C_RETURN 16
  |  |  ------------------
  |  | 7886|      0|                            frame, this_instr, global_super, arg);
  |  | 7887|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 7888|      0|                        if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (7888:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 7889|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7889:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 7890|      0|                            _PyFrame_StackPointerValidate(frame);
  |  | 7891|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7892|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  | 7893|      0|                        }
  |  | 7894|      0|                    }
  |  | 7895|      0|                }
  |  | 7896|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7896:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7897|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7898|      0|                _PyStackRef tmp = self_st;
  |  | 7899|      0|                self_st = PyStackRef_NULL;
  |  | 7900|      0|                stack_pointer[-1] = self_st;
  |  | 7901|      0|                PyStackRef_CLOSE(tmp);
  |  | 7902|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7903|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7903:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7904|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7905|      0|                tmp = class_st;
  |  | 7906|      0|                class_st = PyStackRef_NULL;
  |  | 7907|      0|                stack_pointer[-2] = class_st;
  |  | 7908|      0|                PyStackRef_CLOSE(tmp);
  |  | 7909|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7910|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7910:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7911|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7912|      0|                tmp = global_super_st;
  |  | 7913|      0|                global_super_st = PyStackRef_NULL;
  |  | 7914|      0|                stack_pointer[-3] = global_super_st;
  |  | 7915|      0|                PyStackRef_CLOSE(tmp);
  |  | 7916|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7917|      0|                stack_pointer += -3;
  |  | 7918|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7919|      0|                if (super == NULL) {
  |  |  ------------------
  |  |  |  Branch (7919:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7920|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7921|      0|                }
  |  | 7922|      0|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 2);
  |  |  ------------------
  |  |  |  |  236|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7922:34): [True: 0, False: 0]
  |  |  ------------------
  |  | 7923|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7924|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7925|      0|                PyObject *attr_o = PyObject_GetAttr(super, name);
  |  | 7926|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7927|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7927:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7928|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7929|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7930|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7931|      0|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7931:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7932|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7933|      0|                }
  |  | 7934|      0|                attr = PyStackRef_FromPyObjectSteal(attr_o);
  |  | 7935|      0|            }
  |  | 7936|       |            // _PUSH_NULL_CONDITIONAL
  |  | 7937|      0|            {
  |  | 7938|      0|                null = &stack_pointer[1];
  |  | 7939|      0|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (7939:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7940|      0|                    null[0] = PyStackRef_NULL;
  |  | 7941|      0|                }
  |  | 7942|      0|            }
  |  | 7943|      0|            stack_pointer[0] = attr;
  |  | 7944|      0|            stack_pointer += 1 + (oparg & 1);
  |  | 7945|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7946|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 7947|      0|        }
  |  | 7948|       |
  |  | 7949|      0|        TARGET(INSTRUMENTED_NOT_TAKEN) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7950|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7951|       |            int opcode = INSTRUMENTED_NOT_TAKEN;
  |  | 7952|       |            (void)(opcode);
  |  | 7953|       |            #endif
  |  | 7954|      0|            _Py_CODEUNIT* const prev_instr = frame->instr_ptr;
  |  | 7955|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7956|      0|            (void)this_instr;
  |  | 7957|      0|            frame->instr_ptr = next_instr;
  |  | 7958|      0|            next_instr += 1;
  |  | 7959|      0|            INSTRUCTION_STATS(INSTRUMENTED_NOT_TAKEN);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7960|      0|            (void)this_instr;
  |  | 7961|      0|            INSTRUMENTED_JUMP(prev_instr, next_instr, PY_MONITORING_EVENT_BRANCH_LEFT);
  |  |  ------------------
  |  |  |  |  390|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  391|      0|do { \
  |  |  |  |  392|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  393|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (393:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  394|      0|        next_instr = _dest; \
  |  |  |  |  395|      0|    } else { \
  |  |  |  |  396|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  397|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  398|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  399|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (399:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  400|      0|            next_instr = _dest + 1; \
  |  |  |  |  401|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  402|      0|        } \
  |  |  |  |  403|      0|    } \
  |  |  |  |  404|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (404:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7962|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7963|      0|        }
  |  | 7964|       |
  |  | 7965|      0|        TARGET(INSTRUMENTED_POP_ITER) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7966|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7967|       |            int opcode = INSTRUMENTED_POP_ITER;
  |  | 7968|       |            (void)(opcode);
  |  | 7969|       |            #endif
  |  | 7970|      0|            _Py_CODEUNIT* const prev_instr = frame->instr_ptr;
  |  | 7971|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7972|      0|            (void)this_instr;
  |  | 7973|      0|            frame->instr_ptr = next_instr;
  |  | 7974|      0|            next_instr += 1;
  |  | 7975|      0|            INSTRUCTION_STATS(INSTRUMENTED_POP_ITER);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7976|      0|            _PyStackRef iter;
  |  | 7977|      0|            _PyStackRef index_or_null;
  |  | 7978|      0|            index_or_null = stack_pointer[-1];
  |  | 7979|      0|            iter = stack_pointer[-2];
  |  | 7980|      0|            (void)index_or_null;
  |  | 7981|      0|            INSTRUMENTED_JUMP(prev_instr, this_instr+1, PY_MONITORING_EVENT_BRANCH_RIGHT);
  |  |  ------------------
  |  |  |  |  390|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  391|      0|do { \
  |  |  |  |  392|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  393|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (393:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  394|      0|        next_instr = _dest; \
  |  |  |  |  395|      0|    } else { \
  |  |  |  |  396|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  397|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  398|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  399|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (399:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  400|      0|            next_instr = _dest + 1; \
  |  |  |  |  401|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  402|      0|        } \
  |  |  |  |  403|      0|    } \
  |  |  |  |  404|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (404:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7982|      0|            stack_pointer += -2;
  |  | 7983|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7984|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7985|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 7986|      0|            PyStackRef_CLOSE(iter);
  |  | 7987|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 7988|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 7989|      0|        }
  |  | 7990|       |
  |  | 7991|      0|        TARGET(INSTRUMENTED_POP_JUMP_IF_FALSE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7992|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7993|       |            int opcode = INSTRUMENTED_POP_JUMP_IF_FALSE;
  |  | 7994|       |            (void)(opcode);
  |  | 7995|       |            #endif
  |  | 7996|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7997|      0|            (void)this_instr;
  |  | 7998|      0|            frame->instr_ptr = next_instr;
  |  | 7999|      0|            next_instr += 2;
  |  | 8000|      0|            INSTRUCTION_STATS(INSTRUMENTED_POP_JUMP_IF_FALSE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8001|      0|            _PyStackRef cond;
  |  | 8002|       |            /* Skip 1 cache entry */
  |  | 8003|      0|            cond = stack_pointer[-1];
  |  | 8004|      0|            assert(PyStackRef_BoolCheck(cond));
  |  |  ------------------
  |  |  |  Branch (8004:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 8005|      0|            int jump = PyStackRef_IsFalse(cond);
  |  |  ------------------
  |  |  |  |  494|      0|#define PyStackRef_IsFalse(REF) ((REF).bits == (((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8006|      0|            RECORD_BRANCH_TAKEN(this_instr[1].cache, jump);
  |  |  ------------------
  |  |  |  |  374|      0|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  375|      0|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  | 8007|      0|            if (jump) {
  |  |  ------------------
  |  |  |  Branch (8007:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8008|      0|                INSTRUMENTED_JUMP(this_instr, next_instr + oparg, PY_MONITORING_EVENT_BRANCH_RIGHT);
  |  |  ------------------
  |  |  |  |  390|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  391|      0|do { \
  |  |  |  |  392|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  393|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (393:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  394|      0|        next_instr = _dest; \
  |  |  |  |  395|      0|    } else { \
  |  |  |  |  396|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  397|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  398|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  399|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (399:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  400|      0|            next_instr = _dest + 1; \
  |  |  |  |  401|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  402|      0|        } \
  |  |  |  |  403|      0|    } \
  |  |  |  |  404|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (404:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8009|      0|            }
  |  | 8010|      0|            stack_pointer += -1;
  |  | 8011|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8012|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 8013|      0|        }
  |  | 8014|       |
  |  | 8015|      0|        TARGET(INSTRUMENTED_POP_JUMP_IF_NONE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8016|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8017|       |            int opcode = INSTRUMENTED_POP_JUMP_IF_NONE;
  |  | 8018|       |            (void)(opcode);
  |  | 8019|       |            #endif
  |  | 8020|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8021|      0|            (void)this_instr;
  |  | 8022|      0|            frame->instr_ptr = next_instr;
  |  | 8023|      0|            next_instr += 2;
  |  | 8024|      0|            INSTRUCTION_STATS(INSTRUMENTED_POP_JUMP_IF_NONE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8025|      0|            _PyStackRef value;
  |  | 8026|       |            /* Skip 1 cache entry */
  |  | 8027|      0|            value = stack_pointer[-1];
  |  | 8028|      0|            int jump = PyStackRef_IsNone(value);
  |  |  ------------------
  |  |  |  |  495|      0|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8029|      0|            RECORD_BRANCH_TAKEN(this_instr[1].cache, jump);
  |  |  ------------------
  |  |  |  |  374|      0|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  375|      0|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  | 8030|      0|            if (jump) {
  |  |  ------------------
  |  |  |  Branch (8030:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8031|      0|                INSTRUMENTED_JUMP(this_instr, next_instr + oparg, PY_MONITORING_EVENT_BRANCH_RIGHT);
  |  |  ------------------
  |  |  |  |  390|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  391|      0|do { \
  |  |  |  |  392|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  393|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (393:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  394|      0|        next_instr = _dest; \
  |  |  |  |  395|      0|    } else { \
  |  |  |  |  396|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  397|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  398|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  399|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (399:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  400|      0|            next_instr = _dest + 1; \
  |  |  |  |  401|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  402|      0|        } \
  |  |  |  |  403|      0|    } \
  |  |  |  |  404|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (404:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8032|      0|            }
  |  | 8033|      0|            else {
  |  | 8034|      0|                stack_pointer += -1;
  |  | 8035|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8036|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8037|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 8038|      0|                PyStackRef_CLOSE(value);
  |  | 8039|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8040|      0|                stack_pointer += 1;
  |  | 8041|      0|            }
  |  | 8042|      0|            stack_pointer += -1;
  |  | 8043|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8044|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 8045|      0|        }
  |  | 8046|       |
  |  | 8047|      0|        TARGET(INSTRUMENTED_POP_JUMP_IF_NOT_NONE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8048|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8049|       |            int opcode = INSTRUMENTED_POP_JUMP_IF_NOT_NONE;
  |  | 8050|       |            (void)(opcode);
  |  | 8051|       |            #endif
  |  | 8052|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8053|      0|            (void)this_instr;
  |  | 8054|      0|            frame->instr_ptr = next_instr;
  |  | 8055|      0|            next_instr += 2;
  |  | 8056|      0|            INSTRUCTION_STATS(INSTRUMENTED_POP_JUMP_IF_NOT_NONE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8057|      0|            _PyStackRef value;
  |  | 8058|       |            /* Skip 1 cache entry */
  |  | 8059|      0|            value = stack_pointer[-1];
  |  | 8060|      0|            int jump = !PyStackRef_IsNone(value);
  |  |  ------------------
  |  |  |  |  495|      0|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8061|      0|            RECORD_BRANCH_TAKEN(this_instr[1].cache, jump);
  |  |  ------------------
  |  |  |  |  374|      0|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  375|      0|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  | 8062|      0|            if (jump) {
  |  |  ------------------
  |  |  |  Branch (8062:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8063|      0|                stack_pointer += -1;
  |  | 8064|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8065|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8066|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 8067|      0|                PyStackRef_CLOSE(value);
  |  | 8068|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8069|      0|                INSTRUMENTED_JUMP(this_instr, next_instr + oparg, PY_MONITORING_EVENT_BRANCH_RIGHT);
  |  |  ------------------
  |  |  |  |  390|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  391|      0|do { \
  |  |  |  |  392|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  393|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (393:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  394|      0|        next_instr = _dest; \
  |  |  |  |  395|      0|    } else { \
  |  |  |  |  396|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  397|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  398|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  399|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (399:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  400|      0|            next_instr = _dest + 1; \
  |  |  |  |  401|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  402|      0|        } \
  |  |  |  |  403|      0|    } \
  |  |  |  |  404|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (404:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8070|      0|            }
  |  | 8071|      0|            else {
  |  | 8072|      0|                stack_pointer += -1;
  |  | 8073|      0|            }
  |  | 8074|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 8075|      0|        }
  |  | 8076|       |
  |  | 8077|      0|        TARGET(INSTRUMENTED_POP_JUMP_IF_TRUE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8078|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8079|       |            int opcode = INSTRUMENTED_POP_JUMP_IF_TRUE;
  |  | 8080|       |            (void)(opcode);
  |  | 8081|       |            #endif
  |  | 8082|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8083|      0|            (void)this_instr;
  |  | 8084|      0|            frame->instr_ptr = next_instr;
  |  | 8085|      0|            next_instr += 2;
  |  | 8086|      0|            INSTRUCTION_STATS(INSTRUMENTED_POP_JUMP_IF_TRUE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8087|      0|            _PyStackRef cond;
  |  | 8088|       |            /* Skip 1 cache entry */
  |  | 8089|      0|            cond = stack_pointer[-1];
  |  | 8090|      0|            assert(PyStackRef_BoolCheck(cond));
  |  |  ------------------
  |  |  |  Branch (8090:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 8091|      0|            int jump = PyStackRef_IsTrue(cond);
  |  |  ------------------
  |  |  |  |  493|      0|#define PyStackRef_IsTrue(REF) ((REF).bits == (((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8092|      0|            RECORD_BRANCH_TAKEN(this_instr[1].cache, jump);
  |  |  ------------------
  |  |  |  |  374|      0|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  375|      0|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  | 8093|      0|            if (jump) {
  |  |  ------------------
  |  |  |  Branch (8093:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8094|      0|                INSTRUMENTED_JUMP(this_instr, next_instr + oparg, PY_MONITORING_EVENT_BRANCH_RIGHT);
  |  |  ------------------
  |  |  |  |  390|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  391|      0|do { \
  |  |  |  |  392|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  393|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (393:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  394|      0|        next_instr = _dest; \
  |  |  |  |  395|      0|    } else { \
  |  |  |  |  396|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  397|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  398|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  399|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (399:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  400|      0|            next_instr = _dest + 1; \
  |  |  |  |  401|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  402|      0|        } \
  |  |  |  |  403|      0|    } \
  |  |  |  |  404|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (404:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8095|      0|            }
  |  | 8096|      0|            stack_pointer += -1;
  |  | 8097|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8098|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 8099|      0|        }
  |  | 8100|       |
  |  | 8101|      0|        TARGET(INSTRUMENTED_RESUME) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8102|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8103|       |            int opcode = INSTRUMENTED_RESUME;
  |  | 8104|       |            (void)(opcode);
  |  | 8105|       |            #endif
  |  | 8106|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8107|      0|            (void)this_instr;
  |  | 8108|      0|            frame->instr_ptr = next_instr;
  |  | 8109|      0|            next_instr += 2;
  |  | 8110|      0|            INSTRUCTION_STATS(INSTRUMENTED_RESUME);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8111|       |            /* Skip 1 cache entry */
  |  | 8112|       |            // _LOAD_BYTECODE
  |  | 8113|      0|            {
  |  | 8114|       |                #ifdef Py_GIL_DISABLED
  |  | 8115|       |                if (frame->tlbc_index !=
  |  | 8116|       |                    ((_PyThreadStateImpl *)tstate)->tlbc_index) {
  |  | 8117|       |                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8118|       |                    _PyFrame_StackPointerValidate(frame);
  |  | 8119|       |                    _Py_CODEUNIT *bytecode =
  |  | 8120|       |                    _PyEval_GetExecutableCode(tstate, _PyFrame_GetCode(frame));
  |  | 8121|       |                    _PyFrame_StackPointerInvalidate(frame);
  |  | 8122|       |                    if (bytecode == NULL) {
  |  | 8123|       |                        JUMP_TO_LABEL(error);
  |  | 8124|       |                    }
  |  | 8125|       |                    ptrdiff_t off = this_instr - _PyFrame_GetBytecode(frame);
  |  | 8126|       |                    frame->tlbc_index = ((_PyThreadStateImpl *)tstate)->tlbc_index;
  |  | 8127|       |                    frame->instr_ptr = bytecode + off;
  |  | 8128|       |                    next_instr = frame->instr_ptr;
  |  | 8129|       |                    DISPATCH();
  |  | 8130|       |                }
  |  | 8131|       |                #endif
  |  | 8132|      0|            }
  |  | 8133|       |            // _MAYBE_INSTRUMENT
  |  | 8134|      0|            {
  |  | 8135|       |                #ifdef Py_GIL_DISABLED
  |  | 8136|       |
  |  | 8137|       |                int check_instrumentation = 1;
  |  | 8138|       |                #else
  |  | 8139|      0|                int check_instrumentation = (tstate->tracing == 0);
  |  | 8140|      0|                #endif
  |  | 8141|      0|                if (check_instrumentation) {
  |  |  ------------------
  |  |  |  Branch (8141:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8142|      0|                    uintptr_t global_version = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker) & ~_PY_EVAL_EVENTS_MASK;
  |  |  ------------------
  |  |  |  |  356|      0|#define _PY_EVAL_EVENTS_MASK ((1 << _PY_EVAL_EVENTS_BITS)-1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  355|      0|#define _PY_EVAL_EVENTS_BITS 8
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8143|      0|                    uintptr_t code_version = FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(_PyFrame_GetCode(frame)->_co_instrumentation_version);
  |  |  ------------------
  |  |  |  |  152|      0|#define FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 8144|      0|                    if (code_version != global_version) {
  |  |  ------------------
  |  |  |  Branch (8144:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 8145|      0|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8146|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 8147|      0|                        int err = _Py_Instrument(_PyFrame_GetCode(frame), tstate->interp);
  |  | 8148|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 8149|      0|                        if (err) {
  |  |  ------------------
  |  |  |  Branch (8149:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 8150|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8151|      0|                        }
  |  | 8152|      0|                        next_instr = this_instr;
  |  | 8153|      0|                        DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 8154|      0|                    }
  |  | 8155|      0|                }
  |  | 8156|      0|            }
  |  | 8157|       |            // _CHECK_PERIODIC_IF_NOT_YIELD_FROM
  |  | 8158|      0|            {
  |  | 8159|      0|                if ((oparg & RESUME_OPARG_LOCATION_MASK) < RESUME_AFTER_YIELD_FROM) {
  |  |  ------------------
  |  |  |  |   94|      0|#define RESUME_OPARG_LOCATION_MASK 0x7
  |  |  ------------------
  |  |                               if ((oparg & RESUME_OPARG_LOCATION_MASK) < RESUME_AFTER_YIELD_FROM) {
  |  |  ------------------
  |  |  |  |   90|      0|#define RESUME_AFTER_YIELD_FROM 2
  |  |  ------------------
  |  |  |  Branch (8159:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8160|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8161|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 8162|      0|                    int err = check_periodics(tstate);
  |  | 8163|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 8164|      0|                    if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (8164:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 8165|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8166|      0|                    }
  |  | 8167|      0|                }
  |  | 8168|      0|            }
  |  | 8169|       |            // _MONITOR_RESUME
  |  | 8170|      0|            {
  |  | 8171|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8172|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 8173|      0|                int err = _Py_call_instrumentation(
  |  | 8174|      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 (8174:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 8175|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8176|       |                // Explicit stack reload
  |  | 8177|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8178|      0|                _PyFrame_StackAssertInvalid(frame);
  |  | 8179|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (8179:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8180|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8181|      0|                }
  |  | 8182|      0|                if (frame->instr_ptr != this_instr) {
  |  |  ------------------
  |  |  |  Branch (8182:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8183|      0|                    next_instr = frame->instr_ptr;
  |  | 8184|      0|                }
  |  | 8185|      0|            }
  |  | 8186|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 8187|      0|        }
  |  | 8188|       |
  |  | 8189|      0|        TARGET(INSTRUMENTED_RETURN_VALUE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8190|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8191|       |            int opcode = INSTRUMENTED_RETURN_VALUE;
  |  | 8192|       |            (void)(opcode);
  |  | 8193|       |            #endif
  |  | 8194|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8195|      0|            (void)this_instr;
  |  | 8196|      0|            frame->instr_ptr = next_instr;
  |  | 8197|      0|            next_instr += 1;
  |  | 8198|      0|            INSTRUCTION_STATS(INSTRUMENTED_RETURN_VALUE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8199|      0|            _PyStackRef val;
  |  | 8200|      0|            _PyStackRef value;
  |  | 8201|      0|            _PyStackRef retval;
  |  | 8202|      0|            _PyStackRef res;
  |  | 8203|       |            // _RETURN_VALUE_EVENT
  |  | 8204|      0|            {
  |  | 8205|      0|                val = stack_pointer[-1];
  |  | 8206|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8207|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 8208|      0|                int err = _Py_call_instrumentation_arg(
  |  | 8209|      0|                    tstate, PY_MONITORING_EVENT_PY_RETURN,
  |  |  ------------------
  |  |  |  |   16|      0|#define PY_MONITORING_EVENT_PY_RETURN 2
  |  |  ------------------
  |  | 8210|      0|                    frame, this_instr, PyStackRef_AsPyObjectBorrow(val));
  |  | 8211|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8212|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (8212:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8213|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8214|      0|                }
  |  | 8215|      0|            }
  |  | 8216|       |            // _MAKE_HEAP_SAFE
  |  | 8217|      0|            {
  |  | 8218|      0|                value = val;
  |  | 8219|      0|                value = PyStackRef_MakeHeapSafe(value);
  |  | 8220|      0|            }
  |  | 8221|       |            // _RETURN_VALUE
  |  | 8222|      0|            {
  |  | 8223|      0|                retval = value;
  |  | 8224|      0|                assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (8224:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8225|      0|                _PyStackRef temp = retval;
  |  | 8226|      0|                stack_pointer += -1;
  |  | 8227|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8228|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8229|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 8230|      0|                assert(STACK_LEVEL() == 0);
  |  |  ------------------
  |  |  |  Branch (8230:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8231|      0|                DTRACE_FUNCTION_RETURN();
  |  |  ------------------
  |  |  |  |  347|      0|#define DTRACE_FUNCTION_RETURN() ((void)0)
  |  |  ------------------
  |  | 8232|      0|                _Py_LeaveRecursiveCallPy(tstate);
  |  | 8233|      0|                _PyInterpreterFrame *dying = frame;
  |  | 8234|      0|                frame = tstate->current_frame = dying->previous;
  |  | 8235|      0|                _PyEval_FrameClearAndPop(tstate, dying);
  |  | 8236|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8237|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8238|      0|                LOAD_IP(frame->return_offset);
  |  |  ------------------
  |  |  |  |  421|      0|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  422|      0|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  423|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8239|      0|                res = temp;
  |  | 8240|      0|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|      0|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 8241|      0|            }
  |  | 8242|      0|            stack_pointer[0] = res;
  |  | 8243|      0|            stack_pointer += 1;
  |  | 8244|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8245|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 8246|      0|        }
  |  | 8247|       |
  |  | 8248|      0|        TARGET(INSTRUMENTED_YIELD_VALUE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8249|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8250|       |            int opcode = INSTRUMENTED_YIELD_VALUE;
  |  | 8251|       |            (void)(opcode);
  |  | 8252|       |            #endif
  |  | 8253|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8254|      0|            (void)this_instr;
  |  | 8255|      0|            frame->instr_ptr = next_instr;
  |  | 8256|      0|            next_instr += 1;
  |  | 8257|      0|            INSTRUCTION_STATS(INSTRUMENTED_YIELD_VALUE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8258|      0|            opcode = INSTRUMENTED_YIELD_VALUE;
  |  |  ------------------
  |  |  |  |  234|      0|#define INSTRUMENTED_YIELD_VALUE               246
  |  |  ------------------
  |  | 8259|      0|            _PyStackRef val;
  |  | 8260|      0|            _PyStackRef value;
  |  | 8261|      0|            _PyStackRef retval;
  |  | 8262|       |            // _YIELD_VALUE_EVENT
  |  | 8263|      0|            {
  |  | 8264|      0|                val = stack_pointer[-1];
  |  | 8265|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8266|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 8267|      0|                int err = _Py_call_instrumentation_arg(
  |  | 8268|      0|                    tstate, PY_MONITORING_EVENT_PY_YIELD,
  |  |  ------------------
  |  |  |  |   17|      0|#define PY_MONITORING_EVENT_PY_YIELD 3
  |  |  ------------------
  |  | 8269|      0|                    frame, this_instr, PyStackRef_AsPyObjectBorrow(val));
  |  | 8270|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8271|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (8271:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8272|       |                    // Explicit stack reload
  |  | 8273|      0|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8274|      0|                    _PyFrame_StackAssertInvalid(frame);
  |  | 8275|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8276|      0|                }
  |  | 8277|      0|                if (frame->instr_ptr != this_instr) {
  |  |  ------------------
  |  |  |  Branch (8277:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8278|       |                    // Explicit stack reload
  |  | 8279|      0|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8280|      0|                    _PyFrame_StackAssertInvalid(frame);
  |  | 8281|      0|                    next_instr = frame->instr_ptr;
  |  | 8282|      0|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 8283|      0|                }
  |  | 8284|      0|            }
  |  | 8285|       |            // _MAKE_HEAP_SAFE
  |  | 8286|      0|            {
  |  | 8287|      0|                value = val;
  |  | 8288|      0|                value = PyStackRef_MakeHeapSafe(value);
  |  | 8289|      0|            }
  |  | 8290|       |            // _YIELD_VALUE
  |  | 8291|      0|            {
  |  | 8292|      0|                retval = value;
  |  | 8293|      0|                assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (8293:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8294|      0|                frame->instr_ptr++;
  |  | 8295|      0|                PyGenObject *gen = _PyGen_GetGeneratorFromFrame(frame);
  |  | 8296|      0|                assert(FRAME_SUSPENDED_YIELD_FROM == FRAME_SUSPENDED + 1);
  |  |  ------------------
  |  |  |  Branch (8296:17): [True: 0, Folded]
  |  |  ------------------
  |  | 8297|      0|                assert(oparg == 0 || oparg == 1);
  |  |  ------------------
  |  |  |  Branch (8297:17): [True: 0, False: 0]
  |  |  |  Branch (8297:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8298|      0|                _PyStackRef temp = retval;
  |  | 8299|      0|                stack_pointer += -1;
  |  | 8300|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8301|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8302|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 8303|      0|                DTRACE_FUNCTION_RETURN();
  |  |  ------------------
  |  |  |  |  347|      0|#define DTRACE_FUNCTION_RETURN() ((void)0)
  |  |  ------------------
  |  | 8304|      0|                tstate->exc_info = gen->gi_exc_state.previous_item;
  |  | 8305|      0|                gen->gi_exc_state.previous_item = NULL;
  |  | 8306|      0|                _Py_LeaveRecursiveCallPy(tstate);
  |  | 8307|      0|                _PyInterpreterFrame *gen_frame = frame;
  |  | 8308|      0|                _PyThreadState_UpdateLastProfiledFrame(tstate, gen_frame, gen_frame->previous);
  |  |  ------------------
  |  |  |  |  325|      0|    do { \
  |  |  |  |  326|      0|        PyThreadState *tstate_ = (tstate); \
  |  |  |  |  327|      0|        _PyInterpreterFrame *frame_ = (frame); \
  |  |  |  |  328|      0|        if (tstate_->last_profiled_frame == frame_) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (328:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  329|      0|            tstate_->last_profiled_frame = (previous); \
  |  |  |  |  330|      0|            tstate_->last_profiled_frame_seq++; \
  |  |  |  |  331|      0|        } \
  |  |  |  |  332|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (332:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8309|      0|                frame = tstate->current_frame = frame->previous;
  |  | 8310|      0|                gen_frame->previous = NULL;
  |  | 8311|      0|                ((_PyThreadStateImpl *)tstate)->generator_return_kind = GENERATOR_YIELD;
  |  | 8312|      0|                FT_ATOMIC_STORE_INT8_RELEASE(gen->gi_frame_state, FRAME_SUSPENDED + oparg);
  |  |  ------------------
  |  |  |  |  167|      0|#define FT_ATOMIC_STORE_INT8_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  | 8313|      0|                assert(INLINE_CACHE_ENTRIES_SEND == INLINE_CACHE_ENTRIES_FOR_ITER);
  |  |  ------------------
  |  |  |  Branch (8313:17): [True: 0, Folded]
  |  |  ------------------
  |  | 8314|       |                #if TIER_ONE && defined(Py_DEBUG)
  |  | 8315|       |                if (!PyStackRef_IsNone(frame->f_executable)) {
  |  | 8316|       |                    Py_ssize_t i = frame->instr_ptr - _PyFrame_GetBytecode(frame);
  |  | 8317|       |                    assert(i >= 0 && i <= INT_MAX);
  |  | 8318|       |                    int opcode = _Py_GetBaseCodeUnit(_PyFrame_GetCode(frame), (int)i).op.code;
  |  | 8319|       |                    assert(opcode == SEND || opcode == FOR_ITER);
  |  | 8320|       |                }
  |  | 8321|       |                #endif
  |  | 8322|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8323|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8324|      0|                LOAD_IP(1 + INLINE_CACHE_ENTRIES_SEND);
  |  |  ------------------
  |  |  |  |  421|      0|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  422|      0|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  423|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8325|      0|                value = temp;
  |  | 8326|      0|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|      0|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 8327|      0|            }
  |  | 8328|      0|            stack_pointer[0] = value;
  |  | 8329|      0|            stack_pointer += 1;
  |  | 8330|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8331|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 8332|      0|        }
  |  | 8333|       |
  |  | 8334|  18.2M|        TARGET(INTERPRETER_EXIT) {
  |  |  ------------------
  |  |  |  |  132|  18.2M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8335|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8336|       |            int opcode = INTERPRETER_EXIT;
  |  | 8337|       |            (void)(opcode);
  |  | 8338|       |            #endif
  |  | 8339|  18.2M|            frame->instr_ptr = next_instr;
  |  | 8340|  18.2M|            next_instr += 1;
  |  | 8341|  18.2M|            INSTRUCTION_STATS(INTERPRETER_EXIT);
  |  |  ------------------
  |  |  |  |   71|  18.2M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8342|  18.2M|            _PyStackRef retval;
  |  | 8343|  18.2M|            retval = stack_pointer[-1];
  |  | 8344|  18.2M|            assert(frame->owner == FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (8344:13): [True: 18.2M, False: 0]
  |  |  ------------------
  |  | 8345|  18.2M|            assert(_PyFrame_IsIncomplete(frame));
  |  |  ------------------
  |  |  |  Branch (8345:13): [True: 18.2M, False: 0]
  |  |  ------------------
  |  | 8346|  18.2M|            tstate->current_frame = frame->previous;
  |  | 8347|  18.2M|            assert(!_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (8347:13): [True: 18.2M, False: 0]
  |  |  ------------------
  |  | 8348|  18.2M|            PyObject *result = PyStackRef_AsPyObjectSteal(retval);
  |  | 8349|  18.2M|            #if !_Py_TAIL_CALL_INTERP
  |  | 8350|  18.2M|            assert(frame == &entry.frame);
  |  |  ------------------
  |  |  |  Branch (8350:13): [True: 18.2M, False: 0]
  |  |  ------------------
  |  | 8351|  18.2M|            #endif
  |  | 8352|       |            #ifdef _Py_TIER2
  |  | 8353|       |            _PyStackRef executor = frame->localsplus[0];
  |  | 8354|       |            assert(tstate->current_executor == NULL);
  |  | 8355|       |            if (!PyStackRef_IsNull(executor)) {
  |  | 8356|       |                assert(PyStackRef_TYPE(executor) == &_PyUOpExecutor_Type);
  |  | 8357|       |                tstate->current_executor = PyStackRef_AsPyObjectBorrow(executor);
  |  | 8358|       |                stack_pointer += -1;
  |  | 8359|       |                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  | 8360|       |                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8361|       |                _PyFrame_StackPointerValidate(frame);
  |  | 8362|       |                PyStackRef_CLOSE(executor);
  |  | 8363|       |                _PyFrame_StackPointerInvalidate(frame);
  |  | 8364|       |                stack_pointer += 1;
  |  | 8365|       |            }
  |  | 8366|       |            #endif
  |  | 8367|  18.2M|            LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  18.2M|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 8368|  18.2M|            return result;
  |  | 8369|  18.2M|        }
  |  | 8370|       |
  |  | 8371|  80.3M|        TARGET(IS_OP) {
  |  |  ------------------
  |  |  |  |  132|  80.3M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8372|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8373|       |            int opcode = IS_OP;
  |  | 8374|       |            (void)(opcode);
  |  | 8375|       |            #endif
  |  | 8376|  80.3M|            frame->instr_ptr = next_instr;
  |  | 8377|  80.3M|            next_instr += 1;
  |  | 8378|  80.3M|            INSTRUCTION_STATS(IS_OP);
  |  |  ------------------
  |  |  |  |   71|  80.3M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8379|  80.3M|            _PyStackRef left;
  |  | 8380|  80.3M|            _PyStackRef right;
  |  | 8381|  80.3M|            _PyStackRef b;
  |  | 8382|  80.3M|            _PyStackRef l;
  |  | 8383|  80.3M|            _PyStackRef r;
  |  | 8384|  80.3M|            _PyStackRef value;
  |  | 8385|       |            // _IS_OP
  |  | 8386|  80.3M|            {
  |  | 8387|  80.3M|                right = stack_pointer[-1];
  |  | 8388|  80.3M|                left = stack_pointer[-2];
  |  | 8389|  80.3M|                int res = Py_Is(PyStackRef_AsPyObjectBorrow(left), PyStackRef_AsPyObjectBorrow(right)) ^ oparg;
  |  |  ------------------
  |  |  |  |  187|  80.3M|#define Py_Is(x, y) ((x) == (y))
  |  |  ------------------
  |  | 8390|  80.3M|                b = res ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  7.99M|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  7.99M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               b = res ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|   152M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  72.3M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8390:21): [True: 7.99M, False: 72.3M]
  |  |  ------------------
  |  | 8391|  80.3M|                l = left;
  |  | 8392|  80.3M|                r = right;
  |  | 8393|  80.3M|            }
  |  | 8394|       |            // _POP_TOP
  |  | 8395|  80.3M|            {
  |  | 8396|  80.3M|                value = r;
  |  | 8397|  80.3M|                stack_pointer[-2] = b;
  |  | 8398|  80.3M|                stack_pointer[-1] = l;
  |  | 8399|  80.3M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8400|  80.3M|                _PyFrame_StackPointerValidate(frame);
  |  | 8401|  80.3M|                PyStackRef_XCLOSE(value);
  |  | 8402|  80.3M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8403|  80.3M|            }
  |  | 8404|       |            // _POP_TOP
  |  | 8405|  80.3M|            {
  |  | 8406|  80.3M|                value = l;
  |  | 8407|  80.3M|                stack_pointer += -1;
  |  | 8408|  80.3M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  80.3M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8409|  80.3M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8410|  80.3M|                _PyFrame_StackPointerValidate(frame);
  |  | 8411|  80.3M|                PyStackRef_XCLOSE(value);
  |  | 8412|  80.3M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8413|  80.3M|            }
  |  | 8414|  80.3M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  80.3M|    { \
  |  |  |  |  201|  80.3M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  80.3M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  80.3M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  80.3M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  80.3M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  80.3M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  80.3M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  80.3M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 80.3M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  80.3M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  80.3M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  80.3M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  80.3M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  80.3M|    }
  |  |  ------------------
  |  | 8415|  80.3M|        }
  |  | 8416|       |
  |  | 8417|  80.3M|        TARGET(JUMP_BACKWARD) {
  |  |  ------------------
  |  |  |  |  132|    280|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8418|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8419|       |            int opcode = JUMP_BACKWARD;
  |  | 8420|       |            (void)(opcode);
  |  | 8421|       |            #endif
  |  | 8422|    280|            frame->instr_ptr = next_instr;
  |  | 8423|    280|            next_instr += 2;
  |  | 8424|    280|            INSTRUCTION_STATS(JUMP_BACKWARD);
  |  |  ------------------
  |  |  |  |   71|    280|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8425|    280|            PREDICTED_JUMP_BACKWARD:;
  |  | 8426|    280|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 8427|    280|            (void)this_instr;
  |  | 8428|       |            /* Skip 1 cache entry */
  |  | 8429|       |            // _SPECIALIZE_JUMP_BACKWARD
  |  | 8430|    280|            {
  |  | 8431|    280|                #if ENABLE_SPECIALIZATION
  |  | 8432|    280|                if (this_instr->op.code == JUMP_BACKWARD) {
  |  |  ------------------
  |  |  |  |   84|    280|#define JUMP_BACKWARD                           71
  |  |  ------------------
  |  |  |  Branch (8432:21): [True: 280, False: 0]
  |  |  ------------------
  |  | 8433|    280|                    uint8_t desired = tstate->interp->jit ? JUMP_BACKWARD_JIT : JUMP_BACKWARD_NO_JIT;
  |  |  ------------------
  |  |  |  |  183|      0|#define JUMP_BACKWARD_JIT                      181
  |  |  ------------------
  |  |                                   uint8_t desired = tstate->interp->jit ? JUMP_BACKWARD_JIT : JUMP_BACKWARD_NO_JIT;
  |  |  ------------------
  |  |  |  |  184|    560|#define JUMP_BACKWARD_NO_JIT                   182
  |  |  ------------------
  |  |  |  Branch (8433:39): [True: 0, False: 280]
  |  |  ------------------
  |  | 8434|    280|                    FT_ATOMIC_STORE_UINT8_RELAXED(this_instr->op.code, desired);
  |  |  ------------------
  |  |  |  |  170|    280|#define FT_ATOMIC_STORE_UINT8_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  |  | 8435|    280|                    next_instr = this_instr;
  |  | 8436|    280|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    280|    { \
  |  |  |  |  217|    280|        opcode = next_instr->op.code; \
  |  |  |  |  218|    280|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    280|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    280|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    280|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    280|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    280|    }
  |  |  ------------------
  |  | 8437|    280|                }
  |  | 8438|    280|                #endif
  |  | 8439|    280|            }
  |  | 8440|       |            // _CHECK_PERIODIC
  |  | 8441|    280|            {
  |  | 8442|    280|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8443|    280|                _PyFrame_StackPointerValidate(frame);
  |  | 8444|    280|                int err = check_periodics(tstate);
  |  | 8445|    280|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8446|    280|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (8446:21): [True: 0, False: 280]
  |  |  ------------------
  |  | 8447|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8448|      0|                }
  |  | 8449|    280|            }
  |  | 8450|       |            // _JUMP_BACKWARD_NO_INTERRUPT
  |  | 8451|    280|            {
  |  | 8452|    280|                assert(oparg <= INSTR_OFFSET());
  |  |  ------------------
  |  |  |  Branch (8452:17): [True: 0, False: 280]
  |  |  ------------------
  |  | 8453|      0|                JUMPBY(-oparg);
  |  |  ------------------
  |  |  |  |  261|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 8454|      0|            }
  |  | 8455|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 8456|      0|        }
  |  | 8457|       |
  |  | 8458|      0|        TARGET(JUMP_BACKWARD_JIT) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8459|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8460|       |            int opcode = JUMP_BACKWARD_JIT;
  |  | 8461|       |            (void)(opcode);
  |  | 8462|       |            #endif
  |  | 8463|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8464|      0|            (void)this_instr;
  |  | 8465|      0|            frame->instr_ptr = next_instr;
  |  | 8466|      0|            next_instr += 2;
  |  | 8467|      0|            INSTRUCTION_STATS(JUMP_BACKWARD_JIT);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8468|      0|            static_assert(1 == 1, "incorrect cache size");
  |  | 8469|       |            /* Skip 1 cache entry */
  |  | 8470|       |            // _CHECK_PERIODIC
  |  | 8471|      0|            {
  |  | 8472|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8473|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 8474|      0|                int err = check_periodics(tstate);
  |  | 8475|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8476|      0|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (8476:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8477|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8478|      0|                }
  |  | 8479|      0|            }
  |  | 8480|       |            // _JUMP_BACKWARD_NO_INTERRUPT
  |  | 8481|      0|            {
  |  | 8482|      0|                assert(oparg <= INSTR_OFFSET());
  |  |  ------------------
  |  |  |  Branch (8482:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8483|      0|                JUMPBY(-oparg);
  |  |  ------------------
  |  |  |  |  261|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 8484|      0|            }
  |  | 8485|       |            // _JIT
  |  | 8486|      0|            {
  |  | 8487|       |                #ifdef _Py_TIER2
  |  | 8488|       |                bool is_resume = this_instr->op.code == RESUME_CHECK_JIT;
  |  | 8489|       |                _Py_BackoffCounter counter = this_instr[1].counter;
  |  | 8490|       |                if ((backoff_counter_triggers(counter) &&
  |  | 8491|       |                        !IS_JIT_TRACING() &&
  |  | 8492|       |                        (this_instr->op.code == JUMP_BACKWARD_JIT || is_resume)) &&
  |  | 8493|       |                    next_instr->op.code != ENTER_EXECUTOR) {
  |  | 8494|       |                    _Py_CODEUNIT *insert_exec_at = this_instr;
  |  | 8495|       |                    for (int tmp = oparg; tmp > 255; tmp >>= 8) {
  |  | 8496|       |                        insert_exec_at--;
  |  | 8497|       |                    }
  |  | 8498|       |                    int succ = _PyJit_TryInitializeTracing(tstate, frame, this_instr, insert_exec_at,
  |  | 8499|       |                        is_resume ? insert_exec_at : next_instr, stack_pointer, 0, NULL, oparg, NULL);
  |  | 8500|       |                    if (succ) {
  |  | 8501|       |                        ENTER_TRACING();
  |  | 8502|       |                    }
  |  | 8503|       |                    else {
  |  | 8504|       |                        this_instr[1].counter = restart_backoff_counter(counter);
  |  | 8505|       |                    }
  |  | 8506|       |                }
  |  | 8507|       |                else {
  |  | 8508|       |                    ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  | 8509|       |                }
  |  | 8510|       |                #endif
  |  | 8511|      0|            }
  |  | 8512|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 8513|      0|        }
  |  | 8514|       |
  |  | 8515|  1.34M|        TARGET(JUMP_BACKWARD_NO_INTERRUPT) {
  |  |  ------------------
  |  |  |  |  132|  1.34M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8516|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8517|       |            int opcode = JUMP_BACKWARD_NO_INTERRUPT;
  |  | 8518|       |            (void)(opcode);
  |  | 8519|       |            #endif
  |  | 8520|  1.34M|            frame->instr_ptr = next_instr;
  |  | 8521|  1.34M|            next_instr += 1;
  |  | 8522|  1.34M|            INSTRUCTION_STATS(JUMP_BACKWARD_NO_INTERRUPT);
  |  |  ------------------
  |  |  |  |   71|  1.34M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8523|  1.34M|            assert(oparg <= INSTR_OFFSET());
  |  |  ------------------
  |  |  |  Branch (8523:13): [True: 1.34M, False: 0]
  |  |  ------------------
  |  | 8524|  1.34M|            JUMPBY(-oparg);
  |  |  ------------------
  |  |  |  |  261|  1.34M|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 8525|  1.34M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.34M|    { \
  |  |  |  |  201|  1.34M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.34M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.34M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.34M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.34M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.34M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.34M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.34M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.34M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.34M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.34M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.34M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.34M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.34M|    }
  |  |  ------------------
  |  | 8526|  1.34M|        }
  |  | 8527|       |
  |  | 8528|  79.0M|        TARGET(JUMP_BACKWARD_NO_JIT) {
  |  |  ------------------
  |  |  |  |  132|  79.0M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8529|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8530|       |            int opcode = JUMP_BACKWARD_NO_JIT;
  |  | 8531|       |            (void)(opcode);
  |  | 8532|       |            #endif
  |  | 8533|  79.0M|            frame->instr_ptr = next_instr;
  |  | 8534|  79.0M|            next_instr += 2;
  |  | 8535|  79.0M|            INSTRUCTION_STATS(JUMP_BACKWARD_NO_JIT);
  |  |  ------------------
  |  |  |  |   71|  79.0M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8536|  79.0M|            static_assert(1 == 1, "incorrect cache size");
  |  | 8537|       |            /* Skip 1 cache entry */
  |  | 8538|       |            // _CHECK_PERIODIC
  |  | 8539|  79.0M|            {
  |  | 8540|  79.0M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8541|  79.0M|                _PyFrame_StackPointerValidate(frame);
  |  | 8542|  79.0M|                int err = check_periodics(tstate);
  |  | 8543|  79.0M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8544|  79.0M|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (8544:21): [True: 0, False: 79.0M]
  |  |  ------------------
  |  | 8545|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8546|      0|                }
  |  | 8547|  79.0M|            }
  |  | 8548|       |            // _JUMP_BACKWARD_NO_INTERRUPT
  |  | 8549|  79.0M|            {
  |  | 8550|  79.0M|                assert(oparg <= INSTR_OFFSET());
  |  |  ------------------
  |  |  |  Branch (8550:17): [True: 79.0M, False: 0]
  |  |  ------------------
  |  | 8551|  79.0M|                JUMPBY(-oparg);
  |  |  ------------------
  |  |  |  |  261|  79.0M|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 8552|  79.0M|            }
  |  | 8553|  79.0M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  79.0M|    { \
  |  |  |  |  201|  79.0M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  79.0M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  79.0M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  79.0M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  79.0M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  79.0M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  79.0M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  79.0M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 79.0M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  79.0M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  79.0M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  79.0M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  79.0M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  79.0M|    }
  |  |  ------------------
  |  | 8554|  79.0M|        }
  |  | 8555|       |
  |  | 8556|  14.0M|        TARGET(JUMP_FORWARD) {
  |  |  ------------------
  |  |  |  |  132|  14.0M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8557|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8558|       |            int opcode = JUMP_FORWARD;
  |  | 8559|       |            (void)(opcode);
  |  | 8560|       |            #endif
  |  | 8561|  14.0M|            frame->instr_ptr = next_instr;
  |  | 8562|  14.0M|            next_instr += 1;
  |  | 8563|  14.0M|            INSTRUCTION_STATS(JUMP_FORWARD);
  |  |  ------------------
  |  |  |  |   71|  14.0M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8564|  14.0M|            JUMPBY(oparg);
  |  |  ------------------
  |  |  |  |  261|  14.0M|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 8565|  14.0M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  14.0M|    { \
  |  |  |  |  201|  14.0M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  14.0M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  14.0M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  14.0M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  14.0M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  14.0M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  14.0M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  14.0M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 14.0M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  14.0M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  14.0M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  14.0M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  14.0M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  14.0M|    }
  |  |  ------------------
  |  | 8566|  14.0M|        }
  |  | 8567|       |
  |  | 8568|  14.0M|        TARGET(LIST_APPEND) {
  |  |  ------------------
  |  |  |  |  132|   519k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8569|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8570|       |            int opcode = LIST_APPEND;
  |  | 8571|       |            (void)(opcode);
  |  | 8572|       |            #endif
  |  | 8573|   519k|            frame->instr_ptr = next_instr;
  |  | 8574|   519k|            next_instr += 1;
  |  | 8575|   519k|            INSTRUCTION_STATS(LIST_APPEND);
  |  |  ------------------
  |  |  |  |   71|   519k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8576|   519k|            _PyStackRef list;
  |  | 8577|   519k|            _PyStackRef v;
  |  | 8578|   519k|            v = stack_pointer[-1];
  |  | 8579|   519k|            list = stack_pointer[-2 - (oparg-1)];
  |  | 8580|   519k|            int err = _PyList_AppendTakeRef((PyListObject *)PyStackRef_AsPyObjectBorrow(list),
  |  | 8581|   519k|                PyStackRef_AsPyObjectSteal(v));
  |  | 8582|   519k|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (8582:17): [True: 0, False: 519k]
  |  |  ------------------
  |  | 8583|      0|                JUMP_TO_LABEL(pop_1_error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8584|      0|            }
  |  | 8585|   519k|            stack_pointer += -1;
  |  | 8586|   519k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   519k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8587|   519k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   519k|    { \
  |  |  |  |  201|   519k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   519k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   519k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   519k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   519k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   519k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   519k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   519k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 519k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   519k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   519k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   519k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   519k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   519k|    }
  |  |  ------------------
  |  | 8588|   519k|        }
  |  | 8589|       |
  |  | 8590|     90|        TARGET(LIST_EXTEND) {
  |  |  ------------------
  |  |  |  |  132|     90|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8591|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8592|       |            int opcode = LIST_EXTEND;
  |  | 8593|       |            (void)(opcode);
  |  | 8594|       |            #endif
  |  | 8595|     90|            frame->instr_ptr = next_instr;
  |  | 8596|     90|            next_instr += 1;
  |  | 8597|     90|            INSTRUCTION_STATS(LIST_EXTEND);
  |  |  ------------------
  |  |  |  |   71|     90|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8598|     90|            _PyStackRef list_st;
  |  | 8599|     90|            _PyStackRef iterable_st;
  |  | 8600|     90|            _PyStackRef i;
  |  | 8601|     90|            _PyStackRef value;
  |  | 8602|       |            // _LIST_EXTEND
  |  | 8603|     90|            {
  |  | 8604|     90|                iterable_st = stack_pointer[-1];
  |  | 8605|     90|                list_st = stack_pointer[-2 - (oparg-1)];
  |  | 8606|     90|                PyObject *list = PyStackRef_AsPyObjectBorrow(list_st);
  |  | 8607|     90|                PyObject *iterable = PyStackRef_AsPyObjectBorrow(iterable_st);
  |  | 8608|     90|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8609|     90|                _PyFrame_StackPointerValidate(frame);
  |  | 8610|     90|                PyObject *none_val = _PyList_Extend((PyListObject *)list, iterable);
  |  | 8611|     90|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8612|     90|                if (none_val == NULL) {
  |  |  ------------------
  |  |  |  Branch (8612:21): [True: 0, False: 90]
  |  |  ------------------
  |  | 8613|      0|                    int matches = _PyErr_ExceptionMatches(tstate, PyExc_TypeError);
  |  | 8614|      0|                    if (matches &&
  |  |  ------------------
  |  |  |  Branch (8614:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 8615|      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 (8615:26): [True: 0, False: 0]
  |  |  |  Branch (8615:64): [True: 0, False: 0]
  |  |  ------------------
  |  | 8616|      0|                    {
  |  | 8617|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (8617:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 8618|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 8619|      0|                        _PyErr_Clear(tstate);
  |  | 8620|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 8621|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (8621:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 8622|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 8623|      0|                        _PyErr_Format(tstate, PyExc_TypeError,
  |  | 8624|      0|                                  "Value after * must be an iterable, not %.200s",
  |  | 8625|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8626|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 8627|      0|                    }
  |  | 8628|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8629|      0|                }
  |  | 8630|     90|                assert(Py_IsNone(none_val));
  |  |  ------------------
  |  |  |  Branch (8630:17): [True: 90, False: 0]
  |  |  ------------------
  |  | 8631|     90|                i = iterable_st;
  |  | 8632|     90|            }
  |  | 8633|       |            // _POP_TOP
  |  | 8634|      0|            {
  |  | 8635|     90|                value = i;
  |  | 8636|     90|                stack_pointer += -1;
  |  | 8637|     90|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     90|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8638|     90|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8639|     90|                _PyFrame_StackPointerValidate(frame);
  |  | 8640|     90|                PyStackRef_XCLOSE(value);
  |  | 8641|     90|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8642|     90|            }
  |  | 8643|     90|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     90|    { \
  |  |  |  |  201|     90|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     90|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     90|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     90|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     90|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     90|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     90|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     90|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 90]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     90|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     90|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     90|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     90|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     90|    }
  |  |  ------------------
  |  | 8644|     90|        }
  |  | 8645|       |
  |  | 8646|  19.9M|        TARGET(LOAD_ATTR) {
  |  |  ------------------
  |  |  |  |  132|  19.9M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8647|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8648|       |            int opcode = LOAD_ATTR;
  |  | 8649|       |            (void)(opcode);
  |  | 8650|       |            #endif
  |  | 8651|  19.9M|            frame->instr_ptr = next_instr;
  |  | 8652|  19.9M|            next_instr += 10;
  |  | 8653|  19.9M|            INSTRUCTION_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |   71|  19.9M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8654|  20.0M|            PREDICTED_LOAD_ATTR:;
  |  | 8655|  20.0M|            _Py_CODEUNIT* const this_instr = next_instr - 10;
  |  | 8656|  20.0M|            (void)this_instr;
  |  | 8657|  20.0M|            _PyStackRef owner;
  |  | 8658|  20.0M|            _PyStackRef attr;
  |  | 8659|  20.0M|            _PyStackRef *self_or_null;
  |  | 8660|       |            // _SPECIALIZE_LOAD_ATTR
  |  | 8661|  20.0M|            {
  |  | 8662|  20.0M|                owner = stack_pointer[-1];
  |  | 8663|  20.0M|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 8664|  20.0M|                (void)counter;
  |  | 8665|  20.0M|                #if ENABLE_SPECIALIZATION
  |  | 8666|  20.0M|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  20.0M|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 3.69k, False: 19.9M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8667|  3.69k|                    PyObject *name = GETITEM(FRAME_CO_NAMES, oparg>>1);
  |  |  ------------------
  |  |  |  |  236|  3.69k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  3.69k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  3.69k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  3.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8667:38): [True: 3.69k, False: 0]
  |  |  ------------------
  |  | 8668|      0|                    next_instr = this_instr;
  |  | 8669|  3.69k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8670|  3.69k|                    _PyFrame_StackPointerValidate(frame);
  |  | 8671|  3.69k|                    _Py_Specialize_LoadAttr(owner, next_instr, name);
  |  | 8672|  3.69k|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 8673|  3.69k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|  3.69k|    { \
  |  |  |  |  217|  3.69k|        opcode = next_instr->op.code; \
  |  |  |  |  218|  3.69k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.69k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|  3.69k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  3.69k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|  3.69k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|  3.69k|    }
  |  |  ------------------
  |  | 8674|  3.69k|                }
  |  | 8675|  20.0M|                OPCODE_DEFERRED_INC(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |   90|  20.0M|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 8676|  20.0M|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  358|  20.0M|    do { \
  |  |  |  |  359|  20.0M|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  360|  20.0M|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (360:14): [Folded, False: 20.0M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8677|  20.0M|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 8678|  20.0M|            }
  |  | 8679|       |            /* Skip 8 cache entries */
  |  | 8680|       |            // _LOAD_ATTR
  |  | 8681|      0|            {
  |  | 8682|  20.0M|                self_or_null = &stack_pointer[0];
  |  | 8683|  20.0M|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 1);
  |  |  ------------------
  |  |  |  |  236|  20.0M|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  20.0M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  20.0M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  19.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8683:34): [True: 19.9M, False: 3.69k]
  |  |  ------------------
  |  | 8684|  19.9M|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (8684:21): [True: 1.44M, False: 18.5M]
  |  |  ------------------
  |  | 8685|  1.44M|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8686|  1.44M|                    _PyFrame_StackPointerValidate(frame);
  |  | 8687|  1.44M|                    attr = _Py_LoadAttr_StackRefSteal(tstate, owner, name, self_or_null);
  |  | 8688|  1.44M|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 8689|  1.44M|                    if (PyStackRef_IsNull(attr)) {
  |  |  ------------------
  |  |  |  |  482|  1.44M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.44M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.44M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 2, False: 1.44M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8690|      2|                        JUMP_TO_LABEL(pop_1_error);
  |  |  ------------------
  |  |  |  |  135|      2|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8691|      0|                    }
  |  | 8692|  1.44M|                }
  |  | 8693|  18.5M|                else {
  |  | 8694|  18.5M|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8695|  18.5M|                    _PyFrame_StackPointerValidate(frame);
  |  | 8696|  18.5M|                    attr = _PyObject_GetAttrStackRef(PyStackRef_AsPyObjectBorrow(owner), name);
  |  | 8697|  18.5M|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 8698|  18.5M|                    stack_pointer[-1] = attr;
  |  | 8699|  18.5M|                    stack_pointer += (oparg&1);
  |  | 8700|  18.5M|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  18.5M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8701|  18.5M|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8702|  18.5M|                    _PyFrame_StackPointerValidate(frame);
  |  | 8703|  18.5M|                    PyStackRef_CLOSE(owner);
  |  | 8704|  18.5M|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 8705|  18.5M|                    if (PyStackRef_IsNull(attr)) {
  |  |  ------------------
  |  |  |  |  482|  18.5M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  18.5M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  18.5M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 20, False: 18.5M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8706|     20|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|     20|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8707|      0|                    }
  |  | 8708|  18.5M|                    stack_pointer += -(oparg&1);
  |  | 8709|  18.5M|                }
  |  | 8710|  19.9M|            }
  |  | 8711|  19.9M|            stack_pointer[-1] = attr;
  |  | 8712|  19.9M|            stack_pointer += (oparg&1);
  |  | 8713|  19.9M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  19.9M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8714|  19.9M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  19.9M|    { \
  |  |  |  |  201|  19.9M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  19.9M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  19.9M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  19.9M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  19.9M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  19.9M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  19.9M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  19.9M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 19.9M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  19.9M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  19.9M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  19.9M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  19.9M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  19.9M|    }
  |  |  ------------------
  |  | 8715|  19.9M|        }
  |  | 8716|       |
  |  | 8717|    176|        TARGET(LOAD_ATTR_CLASS) {
  |  |  ------------------
  |  |  |  |  132|    176|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8718|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8719|       |            int opcode = LOAD_ATTR_CLASS;
  |  | 8720|       |            (void)(opcode);
  |  | 8721|       |            #endif
  |  | 8722|    176|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8723|    176|            (void)this_instr;
  |  | 8724|    176|            frame->instr_ptr = next_instr;
  |  | 8725|    176|            next_instr += 10;
  |  | 8726|    176|            INSTRUCTION_STATS(LOAD_ATTR_CLASS);
  |  |  ------------------
  |  |  |  |   71|    176|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8727|    176|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8728|    176|            _PyStackRef owner;
  |  | 8729|    176|            _PyStackRef attr;
  |  | 8730|    176|            _PyStackRef *null;
  |  | 8731|       |            /* Skip 1 cache entry */
  |  | 8732|       |            // _CHECK_ATTR_CLASS
  |  | 8733|    176|            {
  |  | 8734|    176|                owner = stack_pointer[-1];
  |  | 8735|    176|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8736|    176|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 8737|    176|                if (!PyType_Check(owner_o)) {
  |  |  ------------------
  |  |  |  |  766|    176|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    176|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    176|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8737:21): [True: 0, False: 176]
  |  |  ------------------
  |  | 8738|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8739|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8739:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8740|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8741|      0|                }
  |  | 8742|    176|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (8742:17): [True: 176, False: 0]
  |  |  ------------------
  |  | 8743|    176|                if (FT_ATOMIC_LOAD_UINT_RELAXED(((PyTypeObject *)owner_o)->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|    176|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8743:21): [True: 2, False: 174]
  |  |  ------------------
  |  | 8744|      2|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      2|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8745|      2|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8745:21): [True: 2, False: 0]
  |  |  ------------------
  |  | 8746|      2|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      2|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8747|      0|                }
  |  | 8748|    176|            }
  |  | 8749|       |            /* Skip 2 cache entries */
  |  | 8750|       |            // _LOAD_ATTR_CLASS
  |  | 8751|    174|            {
  |  | 8752|    174|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 8753|    174|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|    174|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 8754|    174|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (8754:17): [True: 174, False: 0]
  |  |  ------------------
  |  | 8755|    174|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|    174|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    174|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    174|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8756|    174|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8757|    174|                _PyFrame_StackPointerValidate(frame);
  |  | 8758|    174|                _PyStackRef tmp = owner;
  |  | 8759|    174|                owner = attr;
  |  | 8760|    174|                stack_pointer[-1] = owner;
  |  | 8761|    174|                PyStackRef_CLOSE(tmp);
  |  | 8762|    174|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8763|    174|            }
  |  | 8764|       |            // _PUSH_NULL_CONDITIONAL
  |  | 8765|      0|            {
  |  | 8766|    174|                null = &stack_pointer[0];
  |  | 8767|    174|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (8767:21): [True: 56, False: 118]
  |  |  ------------------
  |  | 8768|     56|                    null[0] = PyStackRef_NULL;
  |  | 8769|     56|                }
  |  | 8770|    174|            }
  |  | 8771|    174|            stack_pointer += (oparg & 1);
  |  | 8772|    174|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    174|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8773|    174|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    174|    { \
  |  |  |  |  201|    174|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    174|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    174|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    174|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    174|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    174|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    174|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    174|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 174]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    174|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    174|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    174|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    174|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    174|    }
  |  |  ------------------
  |  | 8774|    174|        }
  |  | 8775|       |
  |  | 8776|  6.76k|        TARGET(LOAD_ATTR_CLASS_WITH_METACLASS_CHECK) {
  |  |  ------------------
  |  |  |  |  132|  6.76k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8777|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8778|       |            int opcode = LOAD_ATTR_CLASS_WITH_METACLASS_CHECK;
  |  | 8779|       |            (void)(opcode);
  |  | 8780|       |            #endif
  |  | 8781|  6.76k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8782|  6.76k|            (void)this_instr;
  |  | 8783|  6.76k|            frame->instr_ptr = next_instr;
  |  | 8784|  6.76k|            next_instr += 10;
  |  | 8785|  6.76k|            INSTRUCTION_STATS(LOAD_ATTR_CLASS_WITH_METACLASS_CHECK);
  |  |  ------------------
  |  |  |  |   71|  6.76k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8786|  6.76k|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8787|  6.76k|            _PyStackRef owner;
  |  | 8788|  6.76k|            _PyStackRef attr;
  |  | 8789|  6.76k|            _PyStackRef *null;
  |  | 8790|       |            /* Skip 1 cache entry */
  |  | 8791|       |            // _GUARD_TYPE_VERSION
  |  | 8792|  6.76k|            {
  |  | 8793|  6.76k|                owner = stack_pointer[-1];
  |  | 8794|  6.76k|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8795|  6.76k|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  6.76k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.76k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8796|  6.76k|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (8796:17): [True: 6.76k, False: 0]
  |  |  ------------------
  |  | 8797|  6.76k|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|  6.76k|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8797:21): [True: 0, False: 6.76k]
  |  |  ------------------
  |  | 8798|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8799|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8799:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8800|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8801|      0|                }
  |  | 8802|  6.76k|            }
  |  | 8803|       |            // _CHECK_ATTR_CLASS
  |  | 8804|  6.76k|            {
  |  | 8805|  6.76k|                uint32_t type_version = read_u32(&this_instr[4].cache);
  |  | 8806|  6.76k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 8807|  6.76k|                if (!PyType_Check(owner_o)) {
  |  |  ------------------
  |  |  |  |  766|  6.76k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.76k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8807:21): [True: 0, False: 6.76k]
  |  |  ------------------
  |  | 8808|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8809|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8809:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8810|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8811|      0|                }
  |  | 8812|  6.76k|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (8812:17): [True: 6.76k, False: 0]
  |  |  ------------------
  |  | 8813|  6.76k|                if (FT_ATOMIC_LOAD_UINT_RELAXED(((PyTypeObject *)owner_o)->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|  6.76k|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8813:21): [True: 105, False: 6.66k]
  |  |  ------------------
  |  | 8814|    105|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|    105|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8815|    105|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8815:21): [True: 105, False: 0]
  |  |  ------------------
  |  | 8816|    105|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|    105|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8817|      0|                }
  |  | 8818|  6.76k|            }
  |  | 8819|       |            // _LOAD_ATTR_CLASS
  |  | 8820|  6.66k|            {
  |  | 8821|  6.66k|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 8822|  6.66k|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  6.66k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 8823|  6.66k|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (8823:17): [True: 6.66k, False: 0]
  |  |  ------------------
  |  | 8824|  6.66k|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|  6.66k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.66k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.66k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8825|  6.66k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8826|  6.66k|                _PyFrame_StackPointerValidate(frame);
  |  | 8827|  6.66k|                _PyStackRef tmp = owner;
  |  | 8828|  6.66k|                owner = attr;
  |  | 8829|  6.66k|                stack_pointer[-1] = owner;
  |  | 8830|  6.66k|                PyStackRef_CLOSE(tmp);
  |  | 8831|  6.66k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8832|  6.66k|            }
  |  | 8833|       |            // _PUSH_NULL_CONDITIONAL
  |  | 8834|      0|            {
  |  | 8835|  6.66k|                null = &stack_pointer[0];
  |  | 8836|  6.66k|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (8836:21): [True: 2.20k, False: 4.45k]
  |  |  ------------------
  |  | 8837|  2.20k|                    null[0] = PyStackRef_NULL;
  |  | 8838|  2.20k|                }
  |  | 8839|  6.66k|            }
  |  | 8840|  6.66k|            stack_pointer += (oparg & 1);
  |  | 8841|  6.66k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  6.66k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8842|  6.66k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  6.66k|    { \
  |  |  |  |  201|  6.66k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  6.66k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  6.66k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  6.66k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  6.66k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  6.66k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  6.66k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  6.66k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 6.66k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  6.66k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  6.66k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  6.66k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  6.66k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  6.66k|    }
  |  |  ------------------
  |  | 8843|  6.66k|        }
  |  | 8844|       |
  |  | 8845|      0|        TARGET(LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8846|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8847|       |            int opcode = LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN;
  |  | 8848|       |            (void)(opcode);
  |  | 8849|       |            #endif
  |  | 8850|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8851|      0|            (void)this_instr;
  |  | 8852|      0|            frame->instr_ptr = next_instr;
  |  | 8853|      0|            next_instr += 10;
  |  | 8854|      0|            INSTRUCTION_STATS(LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8855|      0|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8856|      0|            _PyStackRef owner;
  |  | 8857|      0|            _PyStackRef new_frame;
  |  | 8858|       |            /* Skip 1 cache entry */
  |  | 8859|       |            // _GUARD_TYPE_VERSION
  |  | 8860|      0|            {
  |  | 8861|      0|                owner = stack_pointer[-1];
  |  | 8862|      0|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8863|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8864|      0|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (8864:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8865|      0|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|      0|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8865:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8866|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8867|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8867:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8868|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8869|      0|                }
  |  | 8870|      0|            }
  |  | 8871|       |            // _CHECK_PEP_523
  |  | 8872|      0|            {
  |  | 8873|      0|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  519|      0|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (519:34): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8874|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8875|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8875:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8876|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8877|      0|                }
  |  | 8878|      0|            }
  |  | 8879|       |            // _LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN_FRAME
  |  | 8880|      0|            {
  |  | 8881|      0|                uint32_t func_version = read_u32(&this_instr[4].cache);
  |  | 8882|      0|                PyObject *getattribute = read_obj(&this_instr[6].cache);
  |  | 8883|      0|                assert((oparg & 1) == 0);
  |  |  ------------------
  |  |  |  Branch (8883:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8884|      0|                assert(Py_IS_TYPE(getattribute, &PyFunction_Type));
  |  |  ------------------
  |  |  |  Branch (8884:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8885|      0|                PyFunctionObject *f = (PyFunctionObject *)getattribute;
  |  | 8886|      0|                assert(func_version != 0);
  |  |  ------------------
  |  |  |  Branch (8886:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8887|      0|                if (f->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (8887:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8888|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8889|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8889:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8890|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8891|      0|                }
  |  | 8892|      0|                PyCodeObject *code = (PyCodeObject *)f->func_code;
  |  | 8893|      0|                assert(code->co_argcount == 2);
  |  |  ------------------
  |  |  |  Branch (8893:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8894|      0|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (8894:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8895|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8896|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8896:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8897|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8898|      0|                }
  |  | 8899|      0|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|      0|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 8900|      0|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 1);
  |  |  ------------------
  |  |  |  |  236|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8900:34): [True: 0, False: 0]
  |  |  ------------------
  |  | 8901|      0|                _PyInterpreterFrame *pushed_frame = _PyFrame_PushUnchecked(
  |  | 8902|      0|                    tstate, PyStackRef_FromPyObjectNew(f), 2, frame);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8903|      0|                pushed_frame->localsplus[0] = owner;
  |  | 8904|      0|                pushed_frame->localsplus[1] = PyStackRef_FromPyObjectNew(name);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8905|      0|                new_frame = PyStackRef_Wrap(pushed_frame);
  |  | 8906|      0|            }
  |  | 8907|       |            // _SAVE_RETURN_OFFSET
  |  | 8908|      0|            {
  |  | 8909|      0|                #if TIER_ONE
  |  | 8910|      0|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 8911|      0|                #endif
  |  | 8912|       |                #if TIER_TWO
  |  | 8913|       |                frame->return_offset = oparg;
  |  | 8914|       |                #endif
  |  | 8915|      0|            }
  |  | 8916|       |            // _PUSH_FRAME
  |  | 8917|      0|            {
  |  | 8918|      0|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (8918:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8919|      0|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 8920|      0|                stack_pointer += -1;
  |  | 8921|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8922|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8923|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 8924|      0|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (8924:17): [True: 0, False: 0]
  |  |  |  Branch (8924:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8925|      0|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|      0|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 8926|      0|                frame = tstate->current_frame = temp;
  |  | 8927|      0|                tstate->py_recursion_remaining--;
  |  | 8928|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8929|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8930|      0|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  421|      0|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  422|      0|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  423|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8931|       |                #ifdef Py_DEBUG
  |  | 8932|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 8933|       |                #endif
  |  | 8934|      0|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|      0|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 8935|      0|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|      0|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 8936|      0|            }
  |  | 8937|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 8938|      0|        }
  |  | 8939|       |
  |  | 8940|   169M|        TARGET(LOAD_ATTR_INSTANCE_VALUE) {
  |  |  ------------------
  |  |  |  |  132|   169M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8941|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8942|       |            int opcode = LOAD_ATTR_INSTANCE_VALUE;
  |  | 8943|       |            (void)(opcode);
  |  | 8944|       |            #endif
  |  | 8945|   169M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8946|   169M|            (void)this_instr;
  |  | 8947|   169M|            frame->instr_ptr = next_instr;
  |  | 8948|   169M|            next_instr += 10;
  |  | 8949|   169M|            INSTRUCTION_STATS(LOAD_ATTR_INSTANCE_VALUE);
  |  |  ------------------
  |  |  |  |   71|   169M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8950|   169M|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8951|   169M|            _PyStackRef owner;
  |  | 8952|   169M|            _PyStackRef attr;
  |  | 8953|   169M|            _PyStackRef o;
  |  | 8954|   169M|            _PyStackRef value;
  |  | 8955|   169M|            _PyStackRef *null;
  |  | 8956|       |            /* Skip 1 cache entry */
  |  | 8957|       |            // _GUARD_TYPE_VERSION
  |  | 8958|   169M|            {
  |  | 8959|   169M|                owner = stack_pointer[-1];
  |  | 8960|   169M|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8961|   169M|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|   169M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   169M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   169M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8962|   169M|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (8962:17): [True: 169M, False: 0]
  |  |  ------------------
  |  | 8963|   169M|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|   169M|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8963:21): [True: 502, False: 169M]
  |  |  ------------------
  |  | 8964|    502|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|    502|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8965|    502|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8965:21): [True: 502, False: 0]
  |  |  ------------------
  |  | 8966|    502|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|    502|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8967|      0|                }
  |  | 8968|   169M|            }
  |  | 8969|       |            // _CHECK_MANAGED_OBJECT_HAS_VALUES
  |  | 8970|   169M|            {
  |  | 8971|   169M|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 8972|   169M|                assert(Py_TYPE(owner_o)->tp_dictoffset < 0);
  |  |  ------------------
  |  |  |  Branch (8972:17): [True: 169M, False: 0]
  |  |  ------------------
  |  | 8973|   169M|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  |  |  ------------------
  |  |  |  Branch (8973:17): [True: 169M, False: 0]
  |  |  ------------------
  |  | 8974|   169M|                if (!FT_ATOMIC_LOAD_UINT8(_PyObject_InlineValues(owner_o)->valid)) {
  |  |  ------------------
  |  |  |  |  154|   169M|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (8974:21): [True: 0, False: 169M]
  |  |  ------------------
  |  | 8975|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8976|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8976:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8977|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8978|      0|                }
  |  | 8979|   169M|            }
  |  | 8980|       |            // _LOAD_ATTR_INSTANCE_VALUE
  |  | 8981|   169M|            {
  |  | 8982|   169M|                uint16_t offset = read_u16(&this_instr[4].cache);
  |  | 8983|   169M|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 8984|   169M|                PyObject **value_ptr = (PyObject**)(((char *)owner_o) + offset);
  |  | 8985|   169M|                PyObject *attr_o = FT_ATOMIC_LOAD_PTR_ACQUIRE(*value_ptr);
  |  |  ------------------
  |  |  |  |  150|   169M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 8986|   169M|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (8986:21): [True: 0, False: 169M]
  |  |  ------------------
  |  | 8987|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8988|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8988:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8989|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8990|      0|                }
  |  | 8991|       |                #ifdef Py_GIL_DISABLED
  |  | 8992|       |                int increfed = _Py_TryIncrefCompareStackRef(value_ptr, attr_o, &attr);
  |  | 8993|       |                if (!increfed) {
  |  | 8994|       |                    if (true) {
  |  | 8995|       |                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  | 8996|       |                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8997|       |                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  | 8998|       |                    }
  |  | 8999|       |                }
  |  | 9000|       |                #else
  |  | 9001|   169M|                attr = PyStackRef_FromPyObjectNew(attr_o);
  |  |  ------------------
  |  |  |  |  611|   169M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   169M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   169M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9002|   169M|                #endif
  |  | 9003|   169M|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|   169M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9004|   169M|                o = owner;
  |  | 9005|   169M|            }
  |  | 9006|       |            // _POP_TOP
  |  | 9007|      0|            {
  |  | 9008|   169M|                value = o;
  |  | 9009|   169M|                stack_pointer[-1] = attr;
  |  | 9010|   169M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9011|   169M|                _PyFrame_StackPointerValidate(frame);
  |  | 9012|   169M|                PyStackRef_XCLOSE(value);
  |  | 9013|   169M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9014|   169M|            }
  |  | 9015|       |            /* Skip 5 cache entries */
  |  | 9016|       |            // _PUSH_NULL_CONDITIONAL
  |  | 9017|   169M|            {
  |  | 9018|   169M|                null = &stack_pointer[0];
  |  | 9019|   169M|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (9019:21): [True: 130, False: 169M]
  |  |  ------------------
  |  | 9020|    130|                    null[0] = PyStackRef_NULL;
  |  | 9021|    130|                }
  |  | 9022|   169M|            }
  |  | 9023|   169M|            stack_pointer += (oparg & 1);
  |  | 9024|   169M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   169M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9025|   169M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   169M|    { \
  |  |  |  |  201|   169M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   169M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   169M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   169M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   169M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   169M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   169M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   169M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 169M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   169M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   169M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   169M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   169M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   169M|    }
  |  |  ------------------
  |  | 9026|   169M|        }
  |  | 9027|       |
  |  | 9028|     25|        TARGET(LOAD_ATTR_METHOD_LAZY_DICT) {
  |  |  ------------------
  |  |  |  |  132|     25|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9029|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9030|       |            int opcode = LOAD_ATTR_METHOD_LAZY_DICT;
  |  | 9031|       |            (void)(opcode);
  |  | 9032|       |            #endif
  |  | 9033|     25|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9034|     25|            (void)this_instr;
  |  | 9035|     25|            frame->instr_ptr = next_instr;
  |  | 9036|     25|            next_instr += 10;
  |  | 9037|     25|            INSTRUCTION_STATS(LOAD_ATTR_METHOD_LAZY_DICT);
  |  |  ------------------
  |  |  |  |   71|     25|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9038|     25|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9039|     25|            _PyStackRef owner;
  |  | 9040|     25|            _PyStackRef attr;
  |  | 9041|     25|            _PyStackRef self;
  |  | 9042|       |            /* Skip 1 cache entry */
  |  | 9043|       |            // _GUARD_TYPE_VERSION
  |  | 9044|     25|            {
  |  | 9045|     25|                owner = stack_pointer[-1];
  |  | 9046|     25|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9047|     25|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|     25|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     25|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9048|     25|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9048:17): [True: 25, False: 0]
  |  |  ------------------
  |  | 9049|     25|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|     25|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9049:21): [True: 0, False: 25]
  |  |  ------------------
  |  | 9050|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9051|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9051:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9052|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9053|      0|                }
  |  | 9054|     25|            }
  |  | 9055|       |            // _CHECK_ATTR_METHOD_LAZY_DICT
  |  | 9056|     25|            {
  |  | 9057|     25|                uint16_t dictoffset = read_u16(&this_instr[4].cache);
  |  | 9058|     25|                char *ptr = ((char *)PyStackRef_AsPyObjectBorrow(owner)) + MANAGED_DICT_OFFSET + dictoffset;
  |  |  ------------------
  |  |  |  |  925|     25|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  |  |  ------------------
  |  | 9059|     25|                PyObject *dict = FT_ATOMIC_LOAD_PTR_ACQUIRE(*(PyObject **)ptr);
  |  |  ------------------
  |  |  |  |  150|     25|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 9060|     25|                if (dict != NULL) {
  |  |  ------------------
  |  |  |  Branch (9060:21): [True: 0, False: 25]
  |  |  ------------------
  |  | 9061|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9062|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9062:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9063|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9064|      0|                }
  |  | 9065|     25|            }
  |  | 9066|       |            /* Skip 1 cache entry */
  |  | 9067|       |            // _LOAD_ATTR_METHOD_LAZY_DICT
  |  | 9068|     25|            {
  |  | 9069|     25|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 9070|     25|                assert(oparg & 1);
  |  |  ------------------
  |  |  |  Branch (9070:17): [True: 25, False: 0]
  |  |  ------------------
  |  | 9071|     25|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|     25|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9072|     25|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (9072:17): [True: 25, False: 0]
  |  |  ------------------
  |  | 9073|     25|                assert(_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR));
  |  |  ------------------
  |  |  |  Branch (9073:17): [True: 25, False: 0]
  |  |  ------------------
  |  | 9074|     25|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|     25|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     25|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9075|     25|                self = owner;
  |  | 9076|     25|            }
  |  | 9077|      0|            stack_pointer[-1] = attr;
  |  | 9078|     25|            stack_pointer[0] = self;
  |  | 9079|     25|            stack_pointer += 1;
  |  | 9080|     25|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     25|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9081|     25|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     25|    { \
  |  |  |  |  201|     25|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     25|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     25|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     25|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     25|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     25|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     25|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     25|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 25]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     25|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     25|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     25|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     25|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     25|    }
  |  |  ------------------
  |  | 9082|     25|        }
  |  | 9083|       |
  |  | 9084|  17.0M|        TARGET(LOAD_ATTR_METHOD_NO_DICT) {
  |  |  ------------------
  |  |  |  |  132|  17.0M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9085|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9086|       |            int opcode = LOAD_ATTR_METHOD_NO_DICT;
  |  | 9087|       |            (void)(opcode);
  |  | 9088|       |            #endif
  |  | 9089|  17.0M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9090|  17.0M|            (void)this_instr;
  |  | 9091|  17.0M|            frame->instr_ptr = next_instr;
  |  | 9092|  17.0M|            next_instr += 10;
  |  | 9093|  17.0M|            INSTRUCTION_STATS(LOAD_ATTR_METHOD_NO_DICT);
  |  |  ------------------
  |  |  |  |   71|  17.0M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9094|  17.0M|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9095|  17.0M|            _PyStackRef owner;
  |  | 9096|  17.0M|            _PyStackRef attr;
  |  | 9097|  17.0M|            _PyStackRef self;
  |  | 9098|       |            /* Skip 1 cache entry */
  |  | 9099|       |            // _GUARD_TYPE_VERSION
  |  | 9100|  17.0M|            {
  |  | 9101|  17.0M|                owner = stack_pointer[-1];
  |  | 9102|  17.0M|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9103|  17.0M|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  17.0M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  17.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  17.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9104|  17.0M|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9104:17): [True: 17.0M, False: 0]
  |  |  ------------------
  |  | 9105|  17.0M|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|  17.0M|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9105:21): [True: 0, False: 17.0M]
  |  |  ------------------
  |  | 9106|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9107|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9107:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9108|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9109|      0|                }
  |  | 9110|  17.0M|            }
  |  | 9111|       |            /* Skip 2 cache entries */
  |  | 9112|       |            // _LOAD_ATTR_METHOD_NO_DICT
  |  | 9113|  17.0M|            {
  |  | 9114|  17.0M|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 9115|  17.0M|                assert(oparg & 1);
  |  |  ------------------
  |  |  |  Branch (9115:17): [True: 17.0M, False: 0]
  |  |  ------------------
  |  | 9116|  17.0M|                assert(Py_TYPE(PyStackRef_AsPyObjectBorrow(owner))->tp_dictoffset == 0);
  |  |  ------------------
  |  |  |  Branch (9116:17): [True: 17.0M, False: 0]
  |  |  ------------------
  |  | 9117|  17.0M|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  17.0M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9118|  17.0M|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (9118:17): [True: 17.0M, False: 0]
  |  |  ------------------
  |  | 9119|  17.0M|                assert(_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR));
  |  |  ------------------
  |  |  |  Branch (9119:17): [True: 17.0M, False: 0]
  |  |  ------------------
  |  | 9120|  17.0M|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|  17.0M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  17.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  17.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9121|  17.0M|                self = owner;
  |  | 9122|  17.0M|            }
  |  | 9123|      0|            stack_pointer[-1] = attr;
  |  | 9124|  17.0M|            stack_pointer[0] = self;
  |  | 9125|  17.0M|            stack_pointer += 1;
  |  | 9126|  17.0M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  17.0M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9127|  17.0M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  17.0M|    { \
  |  |  |  |  201|  17.0M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  17.0M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  17.0M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  17.0M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  17.0M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  17.0M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  17.0M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  17.0M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 17.0M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  17.0M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  17.0M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  17.0M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  17.0M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  17.0M|    }
  |  |  ------------------
  |  | 9128|  17.0M|        }
  |  | 9129|       |
  |  | 9130|  36.3M|        TARGET(LOAD_ATTR_METHOD_WITH_VALUES) {
  |  |  ------------------
  |  |  |  |  132|  36.3M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9131|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9132|       |            int opcode = LOAD_ATTR_METHOD_WITH_VALUES;
  |  | 9133|       |            (void)(opcode);
  |  | 9134|       |            #endif
  |  | 9135|  36.3M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9136|  36.3M|            (void)this_instr;
  |  | 9137|  36.3M|            frame->instr_ptr = next_instr;
  |  | 9138|  36.3M|            next_instr += 10;
  |  | 9139|  36.3M|            INSTRUCTION_STATS(LOAD_ATTR_METHOD_WITH_VALUES);
  |  |  ------------------
  |  |  |  |   71|  36.3M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9140|  36.3M|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9141|  36.3M|            _PyStackRef owner;
  |  | 9142|  36.3M|            _PyStackRef attr;
  |  | 9143|  36.3M|            _PyStackRef self;
  |  | 9144|       |            /* Skip 1 cache entry */
  |  | 9145|       |            // _GUARD_TYPE_VERSION
  |  | 9146|  36.3M|            {
  |  | 9147|  36.3M|                owner = stack_pointer[-1];
  |  | 9148|  36.3M|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9149|  36.3M|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  36.3M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  36.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  36.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9150|  36.3M|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9150:17): [True: 36.3M, False: 0]
  |  |  ------------------
  |  | 9151|  36.3M|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|  36.3M|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9151:21): [True: 23, False: 36.3M]
  |  |  ------------------
  |  | 9152|     23|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|     23|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9153|     23|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9153:21): [True: 23, False: 0]
  |  |  ------------------
  |  | 9154|     23|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|     23|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9155|      0|                }
  |  | 9156|  36.3M|            }
  |  | 9157|       |            // _CHECK_MANAGED_OBJECT_HAS_VALUES
  |  | 9158|  36.3M|            {
  |  | 9159|  36.3M|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 9160|  36.3M|                assert(Py_TYPE(owner_o)->tp_dictoffset < 0);
  |  |  ------------------
  |  |  |  Branch (9160:17): [True: 36.3M, False: 0]
  |  |  ------------------
  |  | 9161|  36.3M|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  |  |  ------------------
  |  |  |  Branch (9161:17): [True: 36.3M, False: 0]
  |  |  ------------------
  |  | 9162|  36.3M|                if (!FT_ATOMIC_LOAD_UINT8(_PyObject_InlineValues(owner_o)->valid)) {
  |  |  ------------------
  |  |  |  |  154|  36.3M|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (9162:21): [True: 0, False: 36.3M]
  |  |  ------------------
  |  | 9163|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9164|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9164:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9165|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9166|      0|                }
  |  | 9167|  36.3M|            }
  |  | 9168|       |            /* Skip 2 cache entries */
  |  | 9169|       |            // _LOAD_ATTR_METHOD_WITH_VALUES
  |  | 9170|  36.3M|            {
  |  | 9171|  36.3M|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 9172|  36.3M|                assert(oparg & 1);
  |  |  ------------------
  |  |  |  Branch (9172:17): [True: 36.3M, False: 0]
  |  |  ------------------
  |  | 9173|  36.3M|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  36.3M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9174|  36.3M|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (9174:17): [True: 36.3M, False: 0]
  |  |  ------------------
  |  | 9175|  36.3M|                assert(_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR));
  |  |  ------------------
  |  |  |  Branch (9175:17): [True: 36.3M, False: 0]
  |  |  ------------------
  |  | 9176|  36.3M|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|  36.3M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  36.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  36.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9177|  36.3M|                self = owner;
  |  | 9178|  36.3M|            }
  |  | 9179|      0|            stack_pointer[-1] = attr;
  |  | 9180|  36.3M|            stack_pointer[0] = self;
  |  | 9181|  36.3M|            stack_pointer += 1;
  |  | 9182|  36.3M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  36.3M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9183|  36.3M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  36.3M|    { \
  |  |  |  |  201|  36.3M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  36.3M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  36.3M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  36.3M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  36.3M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  36.3M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  36.3M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  36.3M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 36.3M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  36.3M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  36.3M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  36.3M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  36.3M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  36.3M|    }
  |  |  ------------------
  |  | 9184|  36.3M|        }
  |  | 9185|       |
  |  | 9186|  7.04M|        TARGET(LOAD_ATTR_MODULE) {
  |  |  ------------------
  |  |  |  |  132|  7.04M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9187|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9188|       |            int opcode = LOAD_ATTR_MODULE;
  |  | 9189|       |            (void)(opcode);
  |  | 9190|       |            #endif
  |  | 9191|  7.04M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9192|  7.04M|            (void)this_instr;
  |  | 9193|  7.04M|            frame->instr_ptr = next_instr;
  |  | 9194|  7.04M|            next_instr += 10;
  |  | 9195|  7.04M|            INSTRUCTION_STATS(LOAD_ATTR_MODULE);
  |  |  ------------------
  |  |  |  |   71|  7.04M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9196|  7.04M|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9197|  7.04M|            _PyStackRef owner;
  |  | 9198|  7.04M|            _PyStackRef attr;
  |  | 9199|  7.04M|            _PyStackRef o;
  |  | 9200|  7.04M|            _PyStackRef value;
  |  | 9201|  7.04M|            _PyStackRef *null;
  |  | 9202|       |            /* Skip 1 cache entry */
  |  | 9203|       |            // _LOAD_ATTR_MODULE
  |  | 9204|  7.04M|            {
  |  | 9205|  7.04M|                owner = stack_pointer[-1];
  |  | 9206|  7.04M|                uint32_t dict_version = read_u32(&this_instr[2].cache);
  |  | 9207|  7.04M|                uint16_t index = read_u16(&this_instr[4].cache);
  |  | 9208|  7.04M|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 9209|  7.04M|                if (Py_TYPE(owner_o)->tp_getattro != PyModule_Type.tp_getattro) {
  |  |  ------------------
  |  |  |  |  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 (9209:21): [True: 0, False: 7.04M]
  |  |  ------------------
  |  | 9210|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9211|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9211:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9212|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9213|      0|                }
  |  | 9214|  7.04M|                PyDictObject *dict = (PyDictObject *)((PyModuleObject *)owner_o)->md_dict;
  |  | 9215|  7.04M|                assert(dict != NULL);
  |  |  ------------------
  |  |  |  Branch (9215:17): [True: 7.04M, False: 0]
  |  |  ------------------
  |  | 9216|  7.04M|                PyDictKeysObject *keys = FT_ATOMIC_LOAD_PTR_ACQUIRE(dict->ma_keys);
  |  |  ------------------
  |  |  |  |  150|  7.04M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 9217|  7.04M|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(keys->dk_version) != dict_version) {
  |  |  ------------------
  |  |  |  |  159|  7.04M|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9217:21): [True: 1.35k, False: 7.04M]
  |  |  ------------------
  |  | 9218|  1.35k|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|  1.35k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9219|  1.35k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9219:21): [True: 1.35k, False: 0]
  |  |  ------------------
  |  | 9220|  1.35k|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|  1.35k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9221|      0|                }
  |  | 9222|  7.04M|                assert(keys->dk_kind == DICT_KEYS_UNICODE);
  |  |  ------------------
  |  |  |  Branch (9222:17): [True: 7.04M, False: 0]
  |  |  ------------------
  |  | 9223|  7.04M|                assert(index < FT_ATOMIC_LOAD_SSIZE_RELAXED(keys->dk_nentries));
  |  |  ------------------
  |  |  |  Branch (9223:17): [True: 7.04M, False: 0]
  |  |  ------------------
  |  | 9224|  7.04M|                PyDictUnicodeEntry *ep = DK_UNICODE_ENTRIES(keys) + index;
  |  | 9225|  7.04M|                PyObject *attr_o = FT_ATOMIC_LOAD_PTR_CONSUME(ep->me_value);
  |  |  ------------------
  |  |  |  |  151|  7.04M|#define FT_ATOMIC_LOAD_PTR_CONSUME(value) value
  |  |  ------------------
  |  | 9226|  7.04M|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9226:21): [True: 0, False: 7.04M]
  |  |  ------------------
  |  | 9227|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9228|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9228:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9229|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9230|      0|                }
  |  | 9231|       |                #ifdef Py_GIL_DISABLED
  |  | 9232|       |                int increfed = _Py_TryIncrefCompareStackRef(&ep->me_value, attr_o, &attr);
  |  | 9233|       |                if (!increfed) {
  |  | 9234|       |                    if (true) {
  |  | 9235|       |                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  | 9236|       |                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9237|       |                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  | 9238|       |                    }
  |  | 9239|       |                }
  |  | 9240|       |                #else
  |  | 9241|  7.04M|                attr = PyStackRef_FromPyObjectNew(attr_o);
  |  |  ------------------
  |  |  |  |  611|  7.04M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9242|  7.04M|                #endif
  |  | 9243|  7.04M|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  7.04M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9244|  7.04M|                o = owner;
  |  | 9245|  7.04M|            }
  |  | 9246|       |            // _POP_TOP
  |  | 9247|      0|            {
  |  | 9248|  7.04M|                value = o;
  |  | 9249|  7.04M|                stack_pointer[-1] = attr;
  |  | 9250|  7.04M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9251|  7.04M|                _PyFrame_StackPointerValidate(frame);
  |  | 9252|  7.04M|                PyStackRef_XCLOSE(value);
  |  | 9253|  7.04M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9254|  7.04M|            }
  |  | 9255|       |            /* Skip 5 cache entries */
  |  | 9256|       |            // _PUSH_NULL_CONDITIONAL
  |  | 9257|  7.04M|            {
  |  | 9258|  7.04M|                null = &stack_pointer[0];
  |  | 9259|  7.04M|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (9259:21): [True: 2.86M, False: 4.18M]
  |  |  ------------------
  |  | 9260|  2.86M|                    null[0] = PyStackRef_NULL;
  |  | 9261|  2.86M|                }
  |  | 9262|  7.04M|            }
  |  | 9263|  7.04M|            stack_pointer += (oparg & 1);
  |  | 9264|  7.04M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  7.04M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9265|  7.04M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  7.04M|    { \
  |  |  |  |  201|  7.04M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  7.04M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  7.04M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  7.04M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  7.04M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  7.04M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  7.04M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  7.04M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 7.04M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  7.04M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  7.04M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  7.04M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  7.04M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  7.04M|    }
  |  |  ------------------
  |  | 9266|  7.04M|        }
  |  | 9267|       |
  |  | 9268|     15|        TARGET(LOAD_ATTR_NONDESCRIPTOR_NO_DICT) {
  |  |  ------------------
  |  |  |  |  132|     15|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9269|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9270|       |            int opcode = LOAD_ATTR_NONDESCRIPTOR_NO_DICT;
  |  | 9271|       |            (void)(opcode);
  |  | 9272|       |            #endif
  |  | 9273|     15|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9274|     15|            (void)this_instr;
  |  | 9275|     15|            frame->instr_ptr = next_instr;
  |  | 9276|     15|            next_instr += 10;
  |  | 9277|     15|            INSTRUCTION_STATS(LOAD_ATTR_NONDESCRIPTOR_NO_DICT);
  |  |  ------------------
  |  |  |  |   71|     15|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9278|     15|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9279|     15|            _PyStackRef owner;
  |  | 9280|     15|            _PyStackRef attr;
  |  | 9281|       |            /* Skip 1 cache entry */
  |  | 9282|       |            // _GUARD_TYPE_VERSION
  |  | 9283|     15|            {
  |  | 9284|     15|                owner = stack_pointer[-1];
  |  | 9285|     15|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9286|     15|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|     15|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9287|     15|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9287:17): [True: 15, False: 0]
  |  |  ------------------
  |  | 9288|     15|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|     15|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9288:21): [True: 0, False: 15]
  |  |  ------------------
  |  | 9289|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9290|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9290:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9291|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9292|      0|                }
  |  | 9293|     15|            }
  |  | 9294|       |            /* Skip 2 cache entries */
  |  | 9295|       |            // _LOAD_ATTR_NONDESCRIPTOR_NO_DICT
  |  | 9296|     15|            {
  |  | 9297|     15|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 9298|     15|                assert((oparg & 1) == 0);
  |  |  ------------------
  |  |  |  Branch (9298:17): [True: 15, False: 0]
  |  |  ------------------
  |  | 9299|     15|                assert(Py_TYPE(PyStackRef_AsPyObjectBorrow(owner))->tp_dictoffset == 0);
  |  |  ------------------
  |  |  |  Branch (9299:17): [True: 15, False: 0]
  |  |  ------------------
  |  | 9300|     15|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|     15|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9301|     15|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (9301:17): [True: 15, False: 0]
  |  |  ------------------
  |  | 9302|     15|                stack_pointer += -1;
  |  | 9303|     15|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     15|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9304|     15|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9305|     15|                _PyFrame_StackPointerValidate(frame);
  |  | 9306|     15|                PyStackRef_CLOSE(owner);
  |  | 9307|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9308|     15|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|     15|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9309|     15|            }
  |  | 9310|      0|            stack_pointer[0] = attr;
  |  | 9311|     15|            stack_pointer += 1;
  |  | 9312|     15|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     15|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9313|     15|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     15|    { \
  |  |  |  |  201|     15|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     15|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     15|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     15|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     15|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     15|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     15|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     15|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 15]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     15|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     15|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     15|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     15|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     15|    }
  |  |  ------------------
  |  | 9314|     15|        }
  |  | 9315|       |
  |  | 9316|      0|        TARGET(LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9317|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9318|       |            int opcode = LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES;
  |  | 9319|       |            (void)(opcode);
  |  | 9320|       |            #endif
  |  | 9321|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9322|      0|            (void)this_instr;
  |  | 9323|      0|            frame->instr_ptr = next_instr;
  |  | 9324|      0|            next_instr += 10;
  |  | 9325|      0|            INSTRUCTION_STATS(LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9326|      0|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9327|      0|            _PyStackRef owner;
  |  | 9328|      0|            _PyStackRef attr;
  |  | 9329|       |            /* Skip 1 cache entry */
  |  | 9330|       |            // _GUARD_TYPE_VERSION
  |  | 9331|      0|            {
  |  | 9332|      0|                owner = stack_pointer[-1];
  |  | 9333|      0|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9334|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9335|      0|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9335:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9336|      0|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|      0|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9336:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9337|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9338|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9338:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9339|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9340|      0|                }
  |  | 9341|      0|            }
  |  | 9342|       |            // _CHECK_MANAGED_OBJECT_HAS_VALUES
  |  | 9343|      0|            {
  |  | 9344|      0|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 9345|      0|                assert(Py_TYPE(owner_o)->tp_dictoffset < 0);
  |  |  ------------------
  |  |  |  Branch (9345:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9346|      0|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  |  |  ------------------
  |  |  |  Branch (9346:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9347|      0|                if (!FT_ATOMIC_LOAD_UINT8(_PyObject_InlineValues(owner_o)->valid)) {
  |  |  ------------------
  |  |  |  |  154|      0|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (9347:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9348|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9349|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9349:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9350|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9351|      0|                }
  |  | 9352|      0|            }
  |  | 9353|       |            /* Skip 2 cache entries */
  |  | 9354|       |            // _LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES
  |  | 9355|      0|            {
  |  | 9356|      0|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 9357|      0|                assert((oparg & 1) == 0);
  |  |  ------------------
  |  |  |  Branch (9357:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9358|      0|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|      0|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9359|      0|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (9359:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9360|      0|                stack_pointer += -1;
  |  | 9361|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9362|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9363|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 9364|      0|                PyStackRef_CLOSE(owner);
  |  | 9365|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9366|      0|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9367|      0|            }
  |  | 9368|      0|            stack_pointer[0] = attr;
  |  | 9369|      0|            stack_pointer += 1;
  |  | 9370|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9371|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 9372|      0|        }
  |  | 9373|       |
  |  | 9374|  2.55M|        TARGET(LOAD_ATTR_PROPERTY) {
  |  |  ------------------
  |  |  |  |  132|  2.55M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9375|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9376|       |            int opcode = LOAD_ATTR_PROPERTY;
  |  | 9377|       |            (void)(opcode);
  |  | 9378|       |            #endif
  |  | 9379|  2.55M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9380|  2.55M|            (void)this_instr;
  |  | 9381|  2.55M|            frame->instr_ptr = next_instr;
  |  | 9382|  2.55M|            next_instr += 10;
  |  | 9383|  2.55M|            INSTRUCTION_STATS(LOAD_ATTR_PROPERTY);
  |  |  ------------------
  |  |  |  |   71|  2.55M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9384|  2.55M|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9385|  2.55M|            _PyStackRef owner;
  |  | 9386|  2.55M|            _PyStackRef new_frame;
  |  | 9387|       |            /* Skip 1 cache entry */
  |  | 9388|       |            // _GUARD_TYPE_VERSION
  |  | 9389|  2.55M|            {
  |  | 9390|  2.55M|                owner = stack_pointer[-1];
  |  | 9391|  2.55M|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9392|  2.55M|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  2.55M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9393|  2.55M|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9393:17): [True: 2.55M, False: 0]
  |  |  ------------------
  |  | 9394|  2.55M|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|  2.55M|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9394:21): [True: 156, False: 2.55M]
  |  |  ------------------
  |  | 9395|    156|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|    156|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9396|    156|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9396:21): [True: 156, False: 0]
  |  |  ------------------
  |  | 9397|    156|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|    156|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9398|      0|                }
  |  | 9399|  2.55M|            }
  |  | 9400|       |            // _CHECK_PEP_523
  |  | 9401|  2.55M|            {
  |  | 9402|  2.55M|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  519|  2.55M|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (519:34): [True: 0, False: 2.55M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9403|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9404|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9404:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9405|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9406|      0|                }
  |  | 9407|  2.55M|            }
  |  | 9408|       |            // _LOAD_ATTR_PROPERTY_FRAME
  |  | 9409|  2.55M|            {
  |  | 9410|  2.55M|                uint32_t func_version = read_u32(&this_instr[4].cache);
  |  | 9411|  2.55M|                PyObject *fget = read_obj(&this_instr[6].cache);
  |  | 9412|  2.55M|                assert((oparg & 1) == 0);
  |  |  ------------------
  |  |  |  Branch (9412:17): [True: 2.55M, False: 0]
  |  |  ------------------
  |  | 9413|  2.55M|                assert(Py_IS_TYPE(fget, &PyFunction_Type));
  |  |  ------------------
  |  |  |  Branch (9413:17): [True: 2.55M, False: 0]
  |  |  ------------------
  |  | 9414|  2.55M|                PyFunctionObject *f = (PyFunctionObject *)fget;
  |  | 9415|  2.55M|                if (f->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (9415:21): [True: 0, False: 2.55M]
  |  |  ------------------
  |  | 9416|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9417|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9417:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9418|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9419|      0|                }
  |  | 9420|  2.55M|                PyCodeObject *code = (PyCodeObject *)f->func_code;
  |  | 9421|  2.55M|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (9421:21): [True: 973, False: 2.55M]
  |  |  ------------------
  |  | 9422|    973|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|    973|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9423|    973|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9423:21): [True: 973, False: 0]
  |  |  ------------------
  |  | 9424|    973|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|    973|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9425|      0|                }
  |  | 9426|  2.55M|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  2.55M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9427|  2.55M|                _PyInterpreterFrame *pushed_frame = _PyFrame_PushUnchecked(tstate, PyStackRef_FromPyObjectNew(fget), 1, frame);
  |  |  ------------------
  |  |  |  |  611|  2.55M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9428|  2.55M|                pushed_frame->localsplus[0] = owner;
  |  | 9429|  2.55M|                new_frame = PyStackRef_Wrap(pushed_frame);
  |  | 9430|  2.55M|            }
  |  | 9431|       |            // _SAVE_RETURN_OFFSET
  |  | 9432|      0|            {
  |  | 9433|  2.55M|                #if TIER_ONE
  |  | 9434|  2.55M|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 9435|  2.55M|                #endif
  |  | 9436|       |                #if TIER_TWO
  |  | 9437|       |                frame->return_offset = oparg;
  |  | 9438|       |                #endif
  |  | 9439|  2.55M|            }
  |  | 9440|       |            // _PUSH_FRAME
  |  | 9441|  2.55M|            {
  |  | 9442|  2.55M|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (9442:17): [True: 2.55M, False: 0]
  |  |  ------------------
  |  | 9443|  2.55M|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 9444|  2.55M|                stack_pointer += -1;
  |  | 9445|  2.55M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.55M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9446|  2.55M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9447|  2.55M|                _PyFrame_StackPointerValidate(frame);
  |  | 9448|  2.55M|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (9448:17): [True: 2.55M, False: 0]
  |  |  |  Branch (9448:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9449|  2.55M|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  2.55M|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 9450|  2.55M|                frame = tstate->current_frame = temp;
  |  | 9451|  2.55M|                tstate->py_recursion_remaining--;
  |  | 9452|  2.55M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9453|  2.55M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9454|  2.55M|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  421|  2.55M|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  422|  2.55M|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  423|  2.55M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:14): [Folded, False: 2.55M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9455|       |                #ifdef Py_DEBUG
  |  | 9456|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 9457|       |                #endif
  |  | 9458|  2.55M|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|  2.55M|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 9459|  2.55M|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  2.55M|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 9460|  2.55M|            }
  |  | 9461|  2.55M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.55M|    { \
  |  |  |  |  201|  2.55M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.55M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.55M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.55M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.55M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.55M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.55M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.55M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 9462|  2.55M|        }
  |  | 9463|       |
  |  | 9464|  5.06k|        TARGET(LOAD_ATTR_SLOT) {
  |  |  ------------------
  |  |  |  |  132|  5.06k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9465|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9466|       |            int opcode = LOAD_ATTR_SLOT;
  |  | 9467|       |            (void)(opcode);
  |  | 9468|       |            #endif
  |  | 9469|  5.06k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9470|  5.06k|            (void)this_instr;
  |  | 9471|  5.06k|            frame->instr_ptr = next_instr;
  |  | 9472|  5.06k|            next_instr += 10;
  |  | 9473|  5.06k|            INSTRUCTION_STATS(LOAD_ATTR_SLOT);
  |  |  ------------------
  |  |  |  |   71|  5.06k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9474|  5.06k|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9475|  5.06k|            _PyStackRef owner;
  |  | 9476|  5.06k|            _PyStackRef attr;
  |  | 9477|  5.06k|            _PyStackRef o;
  |  | 9478|  5.06k|            _PyStackRef value;
  |  | 9479|  5.06k|            _PyStackRef *null;
  |  | 9480|       |            /* Skip 1 cache entry */
  |  | 9481|       |            // _GUARD_TYPE_VERSION
  |  | 9482|  5.06k|            {
  |  | 9483|  5.06k|                owner = stack_pointer[-1];
  |  | 9484|  5.06k|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9485|  5.06k|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  5.06k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9486|  5.06k|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9486:17): [True: 5.06k, False: 0]
  |  |  ------------------
  |  | 9487|  5.06k|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|  5.06k|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9487:21): [True: 5, False: 5.06k]
  |  |  ------------------
  |  | 9488|      5|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      5|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9489|      5|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9489:21): [True: 5, False: 0]
  |  |  ------------------
  |  | 9490|      5|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      5|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9491|      0|                }
  |  | 9492|  5.06k|            }
  |  | 9493|       |            // _LOAD_ATTR_SLOT
  |  | 9494|  5.06k|            {
  |  | 9495|  5.06k|                uint16_t index = read_u16(&this_instr[4].cache);
  |  | 9496|  5.06k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 9497|  5.06k|                PyObject **addr = (PyObject **)((char *)owner_o + index);
  |  | 9498|  5.06k|                PyObject *attr_o = FT_ATOMIC_LOAD_PTR(*addr);
  |  |  ------------------
  |  |  |  |  145|  5.06k|#define FT_ATOMIC_LOAD_PTR(value) value
  |  |  ------------------
  |  | 9499|  5.06k|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9499:21): [True: 0, False: 5.06k]
  |  |  ------------------
  |  | 9500|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9501|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9501:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9502|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9503|      0|                }
  |  | 9504|       |                #ifdef Py_GIL_DISABLED
  |  | 9505|       |                int increfed = _Py_TryIncrefCompareStackRef(addr, attr_o, &attr);
  |  | 9506|       |                if (!increfed) {
  |  | 9507|       |                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  | 9508|       |                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9509|       |                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  | 9510|       |                }
  |  | 9511|       |                #else
  |  | 9512|  5.06k|                attr = PyStackRef_FromPyObjectNew(attr_o);
  |  |  ------------------
  |  |  |  |  611|  5.06k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9513|  5.06k|                #endif
  |  | 9514|  5.06k|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  5.06k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9515|  5.06k|                o = owner;
  |  | 9516|  5.06k|            }
  |  | 9517|       |            // _POP_TOP
  |  | 9518|      0|            {
  |  | 9519|  5.06k|                value = o;
  |  | 9520|  5.06k|                stack_pointer[-1] = attr;
  |  | 9521|  5.06k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9522|  5.06k|                _PyFrame_StackPointerValidate(frame);
  |  | 9523|  5.06k|                PyStackRef_XCLOSE(value);
  |  | 9524|  5.06k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9525|  5.06k|            }
  |  | 9526|       |            /* Skip 5 cache entries */
  |  | 9527|       |            // _PUSH_NULL_CONDITIONAL
  |  | 9528|  5.06k|            {
  |  | 9529|  5.06k|                null = &stack_pointer[0];
  |  | 9530|  5.06k|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (9530:21): [True: 2.20k, False: 2.86k]
  |  |  ------------------
  |  | 9531|  2.20k|                    null[0] = PyStackRef_NULL;
  |  | 9532|  2.20k|                }
  |  | 9533|  5.06k|            }
  |  | 9534|  5.06k|            stack_pointer += (oparg & 1);
  |  | 9535|  5.06k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  5.06k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9536|  5.06k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  5.06k|    { \
  |  |  |  |  201|  5.06k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  5.06k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  5.06k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  5.06k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  5.06k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  5.06k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  5.06k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  5.06k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 5.06k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  5.06k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  5.06k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  5.06k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  5.06k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  5.06k|    }
  |  |  ------------------
  |  | 9537|  5.06k|        }
  |  | 9538|       |
  |  | 9539|      0|        TARGET(LOAD_ATTR_WITH_HINT) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9540|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9541|       |            int opcode = LOAD_ATTR_WITH_HINT;
  |  | 9542|       |            (void)(opcode);
  |  | 9543|       |            #endif
  |  | 9544|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9545|      0|            (void)this_instr;
  |  | 9546|      0|            frame->instr_ptr = next_instr;
  |  | 9547|      0|            next_instr += 10;
  |  | 9548|      0|            INSTRUCTION_STATS(LOAD_ATTR_WITH_HINT);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9549|      0|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9550|      0|            _PyStackRef owner;
  |  | 9551|      0|            _PyStackRef attr;
  |  | 9552|      0|            _PyStackRef o;
  |  | 9553|      0|            _PyStackRef value;
  |  | 9554|      0|            _PyStackRef *null;
  |  | 9555|       |            /* Skip 1 cache entry */
  |  | 9556|       |            // _GUARD_TYPE_VERSION
  |  | 9557|      0|            {
  |  | 9558|      0|                owner = stack_pointer[-1];
  |  | 9559|      0|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9560|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9561|      0|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9561:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9562|      0|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|      0|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9562:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9563|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9564|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9564:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9565|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9566|      0|                }
  |  | 9567|      0|            }
  |  | 9568|       |            // _LOAD_ATTR_WITH_HINT
  |  | 9569|      0|            {
  |  | 9570|      0|                uint16_t hint = read_u16(&this_instr[4].cache);
  |  | 9571|      0|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 9572|      0|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  |  |  ------------------
  |  |  |  Branch (9572:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9573|      0|                PyDictObject *dict = _PyObject_GetManagedDict(owner_o);
  |  | 9574|      0|                if (dict == NULL) {
  |  |  ------------------
  |  |  |  Branch (9574:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9575|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9576|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9576:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9577|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9578|      0|                }
  |  | 9579|      0|                PyDictKeysObject *dk = FT_ATOMIC_LOAD_PTR(dict->ma_keys);
  |  |  ------------------
  |  |  |  |  145|      0|#define FT_ATOMIC_LOAD_PTR(value) value
  |  |  ------------------
  |  | 9580|      0|                assert(PyDict_CheckExact((PyObject *)dict));
  |  |  ------------------
  |  |  |  Branch (9580:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9581|       |                #ifdef Py_GIL_DISABLED
  |  | 9582|       |                if (!_Py_IsOwnedByCurrentThread((PyObject *)dict) && !_PyObject_GC_IS_SHARED(dict)) {
  |  | 9583|       |                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  | 9584|       |                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9585|       |                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  | 9586|       |                }
  |  | 9587|       |                #endif
  |  | 9588|      0|                PyObject *attr_o;
  |  | 9589|      0|                if (hint >= (size_t)FT_ATOMIC_LOAD_SSIZE_RELAXED(dk->dk_nentries)) {
  |  |  ------------------
  |  |  |  |  149|      0|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9589:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9590|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (9590:25): [True: 0, Folded]
  |  |  ------------------
  |  | 9591|      0|                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9592|      0|                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9592:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 9593|      0|                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9594|      0|                    }
  |  | 9595|      0|                }
  |  | 9596|      0|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg>>1);
  |  |  ------------------
  |  |  |  |  236|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (9596:34): [True: 0, False: 0]
  |  |  ------------------
  |  | 9597|      0|                if (dk->dk_kind != DICT_KEYS_UNICODE) {
  |  |  ------------------
  |  |  |  Branch (9597:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9598|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (9598:25): [True: 0, Folded]
  |  |  ------------------
  |  | 9599|      0|                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9600|      0|                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9600:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 9601|      0|                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9602|      0|                    }
  |  | 9603|      0|                }
  |  | 9604|      0|                PyDictUnicodeEntry *ep = DK_UNICODE_ENTRIES(dk) + hint;
  |  | 9605|      0|                if (FT_ATOMIC_LOAD_PTR_RELAXED(ep->me_key) != name) {
  |  |  ------------------
  |  |  |  |  153|      0|#define FT_ATOMIC_LOAD_PTR_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9605:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9606|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (9606:25): [True: 0, Folded]
  |  |  ------------------
  |  | 9607|      0|                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9608|      0|                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9608:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 9609|      0|                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9610|      0|                    }
  |  | 9611|      0|                }
  |  | 9612|      0|                attr_o = FT_ATOMIC_LOAD_PTR(ep->me_value);
  |  |  ------------------
  |  |  |  |  145|      0|#define FT_ATOMIC_LOAD_PTR(value) value
  |  |  ------------------
  |  | 9613|      0|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9613:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9614|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (9614:25): [True: 0, Folded]
  |  |  ------------------
  |  | 9615|      0|                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9616|      0|                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9616:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 9617|      0|                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9618|      0|                    }
  |  | 9619|      0|                }
  |  | 9620|      0|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|      0|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9621|       |                #ifdef Py_GIL_DISABLED
  |  | 9622|       |                int increfed = _Py_TryIncrefCompareStackRef(&ep->me_value, attr_o, &attr);
  |  | 9623|       |                if (!increfed) {
  |  | 9624|       |                    if (true) {
  |  | 9625|       |                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  | 9626|       |                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9627|       |                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  | 9628|       |                    }
  |  | 9629|       |                }
  |  | 9630|       |                #else
  |  | 9631|      0|                attr = PyStackRef_FromPyObjectNew(attr_o);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9632|      0|                #endif
  |  | 9633|      0|                o = owner;
  |  | 9634|      0|            }
  |  | 9635|       |            // _POP_TOP
  |  | 9636|      0|            {
  |  | 9637|      0|                value = o;
  |  | 9638|      0|                stack_pointer[-1] = attr;
  |  | 9639|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9640|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 9641|      0|                PyStackRef_XCLOSE(value);
  |  | 9642|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9643|      0|            }
  |  | 9644|       |            /* Skip 5 cache entries */
  |  | 9645|       |            // _PUSH_NULL_CONDITIONAL
  |  | 9646|      0|            {
  |  | 9647|      0|                null = &stack_pointer[0];
  |  | 9648|      0|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (9648:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9649|      0|                    null[0] = PyStackRef_NULL;
  |  | 9650|      0|                }
  |  | 9651|      0|            }
  |  | 9652|      0|            stack_pointer += (oparg & 1);
  |  | 9653|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9654|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 9655|      0|        }
  |  | 9656|       |
  |  | 9657|    256|        TARGET(LOAD_BUILD_CLASS) {
  |  |  ------------------
  |  |  |  |  132|    256|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9658|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9659|       |            int opcode = LOAD_BUILD_CLASS;
  |  | 9660|       |            (void)(opcode);
  |  | 9661|       |            #endif
  |  | 9662|    256|            frame->instr_ptr = next_instr;
  |  | 9663|    256|            next_instr += 1;
  |  | 9664|    256|            INSTRUCTION_STATS(LOAD_BUILD_CLASS);
  |  |  ------------------
  |  |  |  |   71|    256|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9665|    256|            _PyStackRef bc;
  |  | 9666|    256|            int err;
  |  | 9667|    256|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9668|    256|            _PyFrame_StackPointerValidate(frame);
  |  | 9669|    256|            PyObject *bc_o = _PyMapping_GetOptionalItem2(BUILTINS(), &_Py_ID(__build_class__), &err);
  |  |  ------------------
  |  |  |  |  327|    256|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |                           PyObject *bc_o = _PyMapping_GetOptionalItem2(BUILTINS(), &_Py_ID(__build_class__), &err);
  |  |  ------------------
  |  |  |  |  920|    256|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    256|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    256|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9670|    256|            _PyFrame_StackPointerInvalidate(frame);
  |  | 9671|    256|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (9671:17): [True: 0, False: 256]
  |  |  ------------------
  |  | 9672|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9673|      0|            }
  |  | 9674|    256|            if (bc_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9674:17): [True: 0, False: 256]
  |  |  ------------------
  |  | 9675|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (9675:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9676|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 9677|      0|                _PyErr_SetString(tstate, PyExc_NameError,
  |  | 9678|      0|                                 "__build_class__ not found");
  |  | 9679|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9680|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9681|      0|            }
  |  | 9682|    256|            bc = PyStackRef_FromPyObjectSteal(bc_o);
  |  | 9683|    256|            stack_pointer[0] = bc;
  |  | 9684|    256|            stack_pointer += 1;
  |  | 9685|    256|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    256|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9686|    256|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    256|    { \
  |  |  |  |  201|    256|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    256|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    256|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    256|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    256|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    256|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    256|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    256|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 256]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    256|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    256|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    256|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    256|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    256|    }
  |  |  ------------------
  |  | 9687|    256|        }
  |  | 9688|       |
  |  | 9689|   123M|        TARGET(LOAD_COMMON_CONSTANT) {
  |  |  ------------------
  |  |  |  |  132|   123M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9690|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9691|       |            int opcode = LOAD_COMMON_CONSTANT;
  |  | 9692|       |            (void)(opcode);
  |  | 9693|       |            #endif
  |  | 9694|   123M|            frame->instr_ptr = next_instr;
  |  | 9695|   123M|            next_instr += 1;
  |  | 9696|   123M|            INSTRUCTION_STATS(LOAD_COMMON_CONSTANT);
  |  |  ------------------
  |  |  |  |   71|   123M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9697|   123M|            _PyStackRef value;
  |  | 9698|   123M|            assert(oparg < NUM_COMMON_CONSTANTS);
  |  |  ------------------
  |  |  |  Branch (9698:13): [True: 123M, False: 0]
  |  |  ------------------
  |  | 9699|   123M|            value = PyStackRef_DupImmortal(tstate->interp->common_consts[oparg]);
  |  | 9700|   123M|            stack_pointer[0] = value;
  |  | 9701|   123M|            stack_pointer += 1;
  |  | 9702|   123M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   123M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9703|   123M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   123M|    { \
  |  |  |  |  201|   123M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   123M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   123M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   123M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   123M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   123M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   123M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   123M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 123M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   123M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   123M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   123M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   123M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   123M|    }
  |  |  ------------------
  |  | 9704|   123M|        }
  |  | 9705|       |
  |  | 9706|  85.4M|        TARGET(LOAD_CONST) {
  |  |  ------------------
  |  |  |  |  132|  85.4M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9707|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9708|       |            int opcode = LOAD_CONST;
  |  | 9709|       |            (void)(opcode);
  |  | 9710|       |            #endif
  |  | 9711|  85.4M|            frame->instr_ptr = next_instr;
  |  | 9712|  85.4M|            next_instr += 1;
  |  | 9713|  85.4M|            INSTRUCTION_STATS(LOAD_CONST);
  |  |  ------------------
  |  |  |  |   71|  85.4M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9714|  85.4M|            _PyStackRef value;
  |  | 9715|  85.4M|            PyObject *obj = GETITEM(FRAME_CO_CONSTS, oparg);
  |  |  ------------------
  |  |  |  |  236|  85.4M|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  85.4M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  85.4M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  85.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (9715:29): [True: 85.4M, False: 0]
  |  |  ------------------
  |  | 9716|      0|            value = PyStackRef_FromPyObjectBorrow(obj);
  |  | 9717|  85.4M|            stack_pointer[0] = value;
  |  | 9718|  85.4M|            stack_pointer += 1;
  |  | 9719|  85.4M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  85.4M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9720|  85.4M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  85.4M|    { \
  |  |  |  |  201|  85.4M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  85.4M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  85.4M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  85.4M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  85.4M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  85.4M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  85.4M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  85.4M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 85.4M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  85.4M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  85.4M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  85.4M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  85.4M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  85.4M|    }
  |  |  ------------------
  |  | 9721|  85.4M|        }
  |  | 9722|       |
  |  | 9723|  10.7M|        TARGET(LOAD_DEREF) {
  |  |  ------------------
  |  |  |  |  132|  10.7M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9724|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9725|       |            int opcode = LOAD_DEREF;
  |  | 9726|       |            (void)(opcode);
  |  | 9727|       |            #endif
  |  | 9728|  10.7M|            frame->instr_ptr = next_instr;
  |  | 9729|  10.7M|            next_instr += 1;
  |  | 9730|  10.7M|            INSTRUCTION_STATS(LOAD_DEREF);
  |  |  ------------------
  |  |  |  |   71|  10.7M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9731|  10.7M|            _PyStackRef value;
  |  | 9732|  10.7M|            PyCellObject *cell = (PyCellObject *)PyStackRef_AsPyObjectBorrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  285|  10.7M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9733|  10.7M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9734|  10.7M|            _PyFrame_StackPointerValidate(frame);
  |  | 9735|  10.7M|            value = _PyCell_GetStackRef(cell);
  |  | 9736|  10.7M|            _PyFrame_StackPointerInvalidate(frame);
  |  | 9737|  10.7M|            if (PyStackRef_IsNull(value)) {
  |  |  ------------------
  |  |  |  |  482|  10.7M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  10.7M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  10.7M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 10.7M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9738|      0|                stack_pointer[0] = value;
  |  | 9739|      0|                stack_pointer += 1;
  |  | 9740|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9741|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9742|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 9743|      0|                _PyEval_FormatExcUnbound(tstate, _PyFrame_GetCode(frame), oparg);
  |  | 9744|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9745|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9746|      0|            }
  |  | 9747|  10.7M|            stack_pointer[0] = value;
  |  | 9748|  10.7M|            stack_pointer += 1;
  |  | 9749|  10.7M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  10.7M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9750|  10.7M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  10.7M|    { \
  |  |  |  |  201|  10.7M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  10.7M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  10.7M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  10.7M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  10.7M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  10.7M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  10.7M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  10.7M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 10.7M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  10.7M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  10.7M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  10.7M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  10.7M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  10.7M|    }
  |  |  ------------------
  |  | 9751|  10.7M|        }
  |  | 9752|       |
  |  | 9753|  13.8M|        TARGET(LOAD_FAST) {
  |  |  ------------------
  |  |  |  |  132|  13.8M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9754|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9755|       |            int opcode = LOAD_FAST;
  |  | 9756|       |            (void)(opcode);
  |  | 9757|       |            #endif
  |  | 9758|  13.8M|            frame->instr_ptr = next_instr;
  |  | 9759|  13.8M|            next_instr += 1;
  |  | 9760|  13.8M|            INSTRUCTION_STATS(LOAD_FAST);
  |  |  ------------------
  |  |  |  |   71|  13.8M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9761|  13.8M|            _PyStackRef value;
  |  | 9762|  13.8M|            assert(!PyStackRef_IsNull(GETLOCAL(oparg)));
  |  |  ------------------
  |  |  |  Branch (9762:13): [True: 13.8M, False: 0]
  |  |  ------------------
  |  | 9763|  13.8M|            value = PyStackRef_DUP(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  285|  13.8M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9764|  13.8M|            stack_pointer[0] = value;
  |  | 9765|  13.8M|            stack_pointer += 1;
  |  | 9766|  13.8M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  13.8M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9767|  13.8M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  13.8M|    { \
  |  |  |  |  201|  13.8M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  13.8M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  13.8M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  13.8M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  13.8M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  13.8M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  13.8M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  13.8M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 13.8M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  13.8M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  13.8M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  13.8M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  13.8M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  13.8M|    }
  |  |  ------------------
  |  | 9768|  13.8M|        }
  |  | 9769|       |
  |  | 9770|   541k|        TARGET(LOAD_FAST_AND_CLEAR) {
  |  |  ------------------
  |  |  |  |  132|   541k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9771|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9772|       |            int opcode = LOAD_FAST_AND_CLEAR;
  |  | 9773|       |            (void)(opcode);
  |  | 9774|       |            #endif
  |  | 9775|   541k|            frame->instr_ptr = next_instr;
  |  | 9776|   541k|            next_instr += 1;
  |  | 9777|   541k|            INSTRUCTION_STATS(LOAD_FAST_AND_CLEAR);
  |  |  ------------------
  |  |  |  |   71|   541k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9778|   541k|            _PyStackRef value;
  |  | 9779|   541k|            value = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  285|   541k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9780|   541k|            GETLOCAL(oparg) = PyStackRef_NULL;
  |  |  ------------------
  |  |  |  |  285|   541k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9781|   541k|            stack_pointer[0] = value;
  |  | 9782|   541k|            stack_pointer += 1;
  |  | 9783|   541k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   541k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9784|   541k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   541k|    { \
  |  |  |  |  201|   541k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   541k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   541k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   541k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   541k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   541k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   541k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   541k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 541k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   541k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   541k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   541k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   541k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   541k|    }
  |  |  ------------------
  |  | 9785|   541k|        }
  |  | 9786|       |
  |  | 9787|   859M|        TARGET(LOAD_FAST_BORROW) {
  |  |  ------------------
  |  |  |  |  132|   859M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9788|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9789|       |            int opcode = LOAD_FAST_BORROW;
  |  | 9790|       |            (void)(opcode);
  |  | 9791|       |            #endif
  |  | 9792|   859M|            frame->instr_ptr = next_instr;
  |  | 9793|   859M|            next_instr += 1;
  |  | 9794|   859M|            INSTRUCTION_STATS(LOAD_FAST_BORROW);
  |  |  ------------------
  |  |  |  |   71|   859M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9795|   859M|            _PyStackRef value;
  |  | 9796|   859M|            assert(!PyStackRef_IsNull(GETLOCAL(oparg)));
  |  |  ------------------
  |  |  |  Branch (9796:13): [True: 859M, False: 0]
  |  |  ------------------
  |  | 9797|   859M|            value = PyStackRef_Borrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  285|   859M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9798|   859M|            stack_pointer[0] = value;
  |  | 9799|   859M|            stack_pointer += 1;
  |  | 9800|   859M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   859M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9801|   859M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   859M|    { \
  |  |  |  |  201|   859M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   859M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   859M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   859M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   859M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   859M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   859M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   859M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 859M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   859M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   859M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   859M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   859M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   859M|    }
  |  |  ------------------
  |  | 9802|   859M|        }
  |  | 9803|       |
  |  | 9804|   119M|        TARGET(LOAD_FAST_BORROW_LOAD_FAST_BORROW) {
  |  |  ------------------
  |  |  |  |  132|   119M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9805|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9806|       |            int opcode = LOAD_FAST_BORROW_LOAD_FAST_BORROW;
  |  | 9807|       |            (void)(opcode);
  |  | 9808|       |            #endif
  |  | 9809|   119M|            frame->instr_ptr = next_instr;
  |  | 9810|   119M|            next_instr += 1;
  |  | 9811|   119M|            INSTRUCTION_STATS(LOAD_FAST_BORROW_LOAD_FAST_BORROW);
  |  |  ------------------
  |  |  |  |   71|   119M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9812|   119M|            _PyStackRef value1;
  |  | 9813|   119M|            _PyStackRef value2;
  |  | 9814|   119M|            uint32_t oparg1 = oparg >> 4;
  |  | 9815|   119M|            uint32_t oparg2 = oparg & 15;
  |  | 9816|   119M|            value1 = PyStackRef_Borrow(GETLOCAL(oparg1));
  |  |  ------------------
  |  |  |  |  285|   119M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9817|   119M|            value2 = PyStackRef_Borrow(GETLOCAL(oparg2));
  |  |  ------------------
  |  |  |  |  285|   119M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9818|   119M|            stack_pointer[0] = value1;
  |  | 9819|   119M|            stack_pointer[1] = value2;
  |  | 9820|   119M|            stack_pointer += 2;
  |  | 9821|   119M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   119M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9822|   119M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   119M|    { \
  |  |  |  |  201|   119M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   119M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   119M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   119M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   119M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   119M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   119M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   119M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 119M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   119M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   119M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   119M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   119M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   119M|    }
  |  |  ------------------
  |  | 9823|   119M|        }
  |  | 9824|       |
  |  | 9825|   119M|        TARGET(LOAD_FAST_CHECK) {
  |  |  ------------------
  |  |  |  |  132|  2.73k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9826|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9827|       |            int opcode = LOAD_FAST_CHECK;
  |  | 9828|       |            (void)(opcode);
  |  | 9829|       |            #endif
  |  | 9830|  2.73k|            frame->instr_ptr = next_instr;
  |  | 9831|  2.73k|            next_instr += 1;
  |  | 9832|  2.73k|            INSTRUCTION_STATS(LOAD_FAST_CHECK);
  |  |  ------------------
  |  |  |  |   71|  2.73k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9833|  2.73k|            _PyStackRef value;
  |  | 9834|  2.73k|            _PyStackRef value_s = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  285|  2.73k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9835|  2.73k|            if (PyStackRef_IsNull(value_s)) {
  |  |  ------------------
  |  |  |  |  482|  2.73k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  2.73k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.73k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 2.73k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9836|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9837|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 9838|      0|                _PyEval_FormatExcCheckArg(tstate, PyExc_UnboundLocalError,
  |  | 9839|      0|                    UNBOUNDLOCAL_ERROR_MSG,
  |  |  ------------------
  |  |  |  |  381|      0|    "cannot access local variable '%s' where it is not associated with a value"
  |  |  ------------------
  |  | 9840|      0|                    PyTuple_GetItem(_PyFrame_GetCode(frame)->co_localsplusnames, oparg)
  |  | 9841|      0|                );
  |  | 9842|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9843|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9844|      0|            }
  |  | 9845|  2.73k|            value = PyStackRef_DUP(value_s);
  |  | 9846|  2.73k|            stack_pointer[0] = value;
  |  | 9847|  2.73k|            stack_pointer += 1;
  |  | 9848|  2.73k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.73k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9849|  2.73k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.73k|    { \
  |  |  |  |  201|  2.73k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.73k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.73k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.73k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.73k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.73k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.73k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.73k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.73k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.73k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.73k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.73k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.73k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.73k|    }
  |  |  ------------------
  |  | 9850|  2.73k|        }
  |  | 9851|       |
  |  | 9852|  6.05M|        TARGET(LOAD_FAST_LOAD_FAST) {
  |  |  ------------------
  |  |  |  |  132|  6.05M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9853|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9854|       |            int opcode = LOAD_FAST_LOAD_FAST;
  |  | 9855|       |            (void)(opcode);
  |  | 9856|       |            #endif
  |  | 9857|  6.05M|            frame->instr_ptr = next_instr;
  |  | 9858|  6.05M|            next_instr += 1;
  |  | 9859|  6.05M|            INSTRUCTION_STATS(LOAD_FAST_LOAD_FAST);
  |  |  ------------------
  |  |  |  |   71|  6.05M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9860|  6.05M|            _PyStackRef value1;
  |  | 9861|  6.05M|            _PyStackRef value2;
  |  | 9862|  6.05M|            uint32_t oparg1 = oparg >> 4;
  |  | 9863|  6.05M|            uint32_t oparg2 = oparg & 15;
  |  | 9864|  6.05M|            value1 = PyStackRef_DUP(GETLOCAL(oparg1));
  |  |  ------------------
  |  |  |  |  285|  6.05M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9865|  6.05M|            value2 = PyStackRef_DUP(GETLOCAL(oparg2));
  |  |  ------------------
  |  |  |  |  285|  6.05M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9866|  6.05M|            stack_pointer[0] = value1;
  |  | 9867|  6.05M|            stack_pointer[1] = value2;
  |  | 9868|  6.05M|            stack_pointer += 2;
  |  | 9869|  6.05M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  6.05M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9870|  6.05M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  6.05M|    { \
  |  |  |  |  201|  6.05M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  6.05M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  6.05M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  6.05M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  6.05M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  6.05M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  6.05M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  6.05M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 6.05M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  6.05M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  6.05M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  6.05M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  6.05M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  6.05M|    }
  |  |  ------------------
  |  | 9871|  6.05M|        }
  |  | 9872|       |
  |  | 9873|  6.05M|        TARGET(LOAD_FROM_DICT_OR_DEREF) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9874|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9875|       |            int opcode = LOAD_FROM_DICT_OR_DEREF;
  |  | 9876|       |            (void)(opcode);
  |  | 9877|       |            #endif
  |  | 9878|      0|            frame->instr_ptr = next_instr;
  |  | 9879|      0|            next_instr += 1;
  |  | 9880|      0|            INSTRUCTION_STATS(LOAD_FROM_DICT_OR_DEREF);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9881|      0|            _PyStackRef class_dict_st;
  |  | 9882|      0|            _PyStackRef value;
  |  | 9883|      0|            class_dict_st = stack_pointer[-1];
  |  | 9884|      0|            PyObject *name;
  |  | 9885|      0|            PyObject *class_dict = PyStackRef_AsPyObjectBorrow(class_dict_st);
  |  | 9886|      0|            assert(class_dict);
  |  |  ------------------
  |  |  |  Branch (9886:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 9887|      0|            assert(oparg >= 0 && oparg < _PyFrame_GetCode(frame)->co_nlocalsplus);
  |  |  ------------------
  |  |  |  Branch (9887:13): [True: 0, False: 0]
  |  |  |  Branch (9887:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 9888|      0|            name = PyTuple_GET_ITEM(_PyFrame_GetCode(frame)->co_localsplusnames, oparg);
  |  |  ------------------
  |  |  |  |   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 (9888:20): [True: 0, False: 0]
  |  |  ------------------
  |  | 9889|      0|            int err;
  |  | 9890|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9891|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 9892|      0|            PyObject* value_o = _PyMapping_GetOptionalItem2(class_dict, name, &err);
  |  | 9893|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 9894|      0|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (9894:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9895|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9896|      0|            }
  |  | 9897|      0|            if (!value_o) {
  |  |  ------------------
  |  |  |  Branch (9897:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9898|      0|                PyCellObject *cell = (PyCellObject *)PyStackRef_AsPyObjectBorrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  285|      0|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9899|      0|                value_o = PyCell_GetRef(cell);
  |  | 9900|      0|                if (value_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9900:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9901|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (9901:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9902|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 9903|      0|                    _PyEval_FormatExcUnbound(tstate, _PyFrame_GetCode(frame), oparg);
  |  | 9904|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 9905|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9906|      0|                }
  |  | 9907|      0|            }
  |  | 9908|      0|            stack_pointer += -1;
  |  | 9909|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9910|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9911|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 9912|      0|            PyStackRef_CLOSE(class_dict_st);
  |  | 9913|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 9914|      0|            value = PyStackRef_FromPyObjectSteal(value_o);
  |  | 9915|      0|            stack_pointer[0] = value;
  |  | 9916|      0|            stack_pointer += 1;
  |  | 9917|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9918|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  | 9919|      0|        }
  |  | 9920|       |
  |  | 9921|      0|        TARGET(LOAD_FROM_DICT_OR_GLOBALS) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9922|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9923|       |            int opcode = LOAD_FROM_DICT_OR_GLOBALS;
  |  | 9924|       |            (void)(opcode);
  |  | 9925|       |            #endif
  |  | 9926|      0|            frame->instr_ptr = next_instr;
  |  | 9927|      0|            next_instr += 1;
  |  | 9928|      0|            INSTRUCTION_STATS(LOAD_FROM_DICT_OR_GLOBALS);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9929|      0|            _PyStackRef mod_or_class_dict;
  |  | 9930|      0|            _PyStackRef v;
  |  | 9931|      0|            mod_or_class_dict = stack_pointer[-1];
  |  | 9932|      0|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  236|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (9932:30): [True: 0, False: 0]
  |  |  ------------------
  |  | 9933|      0|            int err;
  |  | 9934|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9935|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 9936|      0|            PyObject *v_o = _PyMapping_GetOptionalItem2(PyStackRef_AsPyObjectBorrow(mod_or_class_dict), name, &err);
  |  | 9937|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 9938|      0|            stack_pointer += -1;
  |  | 9939|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9940|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9941|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 9942|      0|            PyStackRef_CLOSE(mod_or_class_dict);
  |  | 9943|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 9944|      0|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (9944:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9945|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9946|      0|            }
  |  | 9947|      0|            if (v_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9947:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9948|      0|                if (PyDict_CheckExact(GLOBALS())
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9949|      0|                    && PyDict_CheckExact(BUILTINS()))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9950|      0|                {
  |  | 9951|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (9951:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9952|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 9953|      0|                    v_o = _PyDict_LoadGlobal((PyDictObject *)GLOBALS(),
  |  |  ------------------
  |  |  |  |  326|      0|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  | 9954|      0|                        (PyDictObject *)BUILTINS(),
  |  |  ------------------
  |  |  |  |  327|      0|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  | 9955|      0|                        name);
  |  | 9956|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 9957|      0|                    if (v_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9957:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 9958|      0|                        if (!_PyErr_Occurred(tstate)) {
  |  |  ------------------
  |  |  |  Branch (9958:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 9959|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (9959:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 9960|      0|                            _PyFrame_StackPointerValidate(frame);
  |  | 9961|      0|                            _PyEval_FormatExcCheckArg(tstate, PyExc_NameError,
  |  | 9962|      0|                                NAME_ERROR_MSG, name);
  |  |  ------------------
  |  |  |  |  385|      0|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  |  |  ------------------
  |  | 9963|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  | 9964|      0|                        }
  |  | 9965|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9966|      0|                    }
  |  | 9967|      0|                    if (PyLazyImport_CheckExact(v_o)) {
  |  |  ------------------
  |  |  |  |   15|      0|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9968|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (9968:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 9969|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 9970|      0|                        PyObject *l_v = _PyImport_LoadLazyImportTstate(tstate, v_o);
  |  | 9971|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 9972|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (9972:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 9973|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 9974|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9975|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 9976|      0|                        if (v_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9976:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 9977|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9978|      0|                        }
  |  | 9979|      0|                    }
  |  | 9980|      0|                }
  |  | 9981|      0|                else {
  |  | 9982|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (9982:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9983|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 9984|      0|                    v_o = _PyMapping_GetOptionalItem2(GLOBALS(), name, &err);
  |  |  ------------------
  |  |  |  |  326|      0|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  | 9985|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 9986|      0|                    if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (9986:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 9987|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9988|      0|                    }
  |  | 9989|      0|                    if (v_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9989:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 9990|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (9990:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 9991|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 9992|      0|                        v_o = _PyMapping_GetOptionalItem2(BUILTINS(), name, &err);
  |  |  ------------------
  |  |  |  |  327|      0|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  | 9993|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 9994|      0|                        if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (9994:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 9995|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9996|      0|                        }
  |  | 9997|      0|                        if (v_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9997:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 9998|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (9998:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 9999|      0|                            _PyFrame_StackPointerValidate(frame);
  |  |10000|      0|                            _PyEval_FormatExcCheckArg(
  |  |10001|      0|                                tstate, PyExc_NameError,
  |  |10002|      0|                                NAME_ERROR_MSG, name);
  |  |  ------------------
  |  |  |  |  385|      0|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  |  |  ------------------
  |  |10003|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  |10004|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10005|      0|                        }
  |  |10006|      0|                    }
  |  |10007|      0|                    if (PyLazyImport_CheckExact(v_o)) {
  |  |  ------------------
  |  |  |  |   15|      0|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10008|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10008:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10009|      0|                        _PyFrame_StackPointerValidate(frame);
  |  |10010|      0|                        PyObject *l_v = _PyImport_LoadLazyImportTstate(tstate, v_o);
  |  |10011|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  |10012|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10012:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10013|      0|                        _PyFrame_StackPointerValidate(frame);
  |  |10014|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10015|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  |10016|      0|                        if (v_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10016:29): [True: 0, False: 0]
  |  |  ------------------
  |  |10017|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10018|      0|                        }
  |  |10019|      0|                    }
  |  |10020|      0|                }
  |  |10021|      0|            }
  |  |10022|      0|            v = PyStackRef_FromPyObjectSteal(v_o);
  |  |10023|      0|            stack_pointer[0] = v;
  |  |10024|      0|            stack_pointer += 1;
  |  |10025|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10026|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  |10027|      0|        }
  |  |10028|       |
  |  |10029|  3.05k|        TARGET(LOAD_GLOBAL) {
  |  |  ------------------
  |  |  |  |  132|  3.05k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10030|       |            #if _Py_TAIL_CALL_INTERP
  |  |10031|       |            int opcode = LOAD_GLOBAL;
  |  |10032|       |            (void)(opcode);
  |  |10033|       |            #endif
  |  |10034|  3.05k|            frame->instr_ptr = next_instr;
  |  |10035|  3.05k|            next_instr += 5;
  |  |10036|  3.05k|            INSTRUCTION_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |   71|  3.05k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10037|  23.0k|            PREDICTED_LOAD_GLOBAL:;
  |  |10038|  23.0k|            _Py_CODEUNIT* const this_instr = next_instr - 5;
  |  |10039|  23.0k|            (void)this_instr;
  |  |10040|  23.0k|            _PyStackRef *res;
  |  |10041|  23.0k|            _PyStackRef *null;
  |  |10042|       |            // _SPECIALIZE_LOAD_GLOBAL
  |  |10043|  23.0k|            {
  |  |10044|  23.0k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |10045|  23.0k|                (void)counter;
  |  |10046|  23.0k|                #if ENABLE_SPECIALIZATION
  |  |10047|  23.0k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  23.0k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 1.60k, False: 21.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10048|  1.60k|                    PyObject *name = GETITEM(FRAME_CO_NAMES, oparg>>1);
  |  |  ------------------
  |  |  |  |  236|  1.60k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  1.60k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  1.60k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10048:38): [True: 1.60k, False: 0]
  |  |  ------------------
  |  |10049|      0|                    next_instr = this_instr;
  |  |10050|  1.60k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10051|  1.60k|                    _PyFrame_StackPointerValidate(frame);
  |  |10052|  1.60k|                    _Py_Specialize_LoadGlobal(GLOBALS(), BUILTINS(), next_instr, name);
  |  |  ------------------
  |  |  |  |  326|  1.60k|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |                                   _Py_Specialize_LoadGlobal(GLOBALS(), BUILTINS(), next_instr, name);
  |  |  ------------------
  |  |  |  |  327|  1.60k|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |10053|  1.60k|                    _PyFrame_StackPointerInvalidate(frame);
  |  |10054|  1.60k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|  1.60k|    { \
  |  |  |  |  217|  1.60k|        opcode = next_instr->op.code; \
  |  |  |  |  218|  1.60k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.60k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|  1.60k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  1.60k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|  1.60k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|  1.60k|    }
  |  |  ------------------
  |  |10055|  1.60k|                }
  |  |10056|  23.0k|                OPCODE_DEFERRED_INC(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |   90|  23.0k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |10057|  23.0k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  358|  23.0k|    do { \
  |  |  |  |  359|  23.0k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  360|  23.0k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (360:14): [Folded, False: 23.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10058|  23.0k|                #endif  /* ENABLE_SPECIALIZATION */
  |  |10059|  23.0k|            }
  |  |10060|       |            /* Skip 1 cache entry */
  |  |10061|       |            /* Skip 1 cache entry */
  |  |10062|       |            /* Skip 1 cache entry */
  |  |10063|       |            // _LOAD_GLOBAL
  |  |10064|      0|            {
  |  |10065|  23.0k|                res = &stack_pointer[0];
  |  |10066|  23.0k|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg>>1);
  |  |  ------------------
  |  |  |  |  236|  23.0k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  23.0k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  23.0k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  21.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10066:34): [True: 21.4k, False: 1.60k]
  |  |  ------------------
  |  |10067|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10068|  21.4k|                _PyFrame_StackPointerValidate(frame);
  |  |10069|  21.4k|                _PyEval_LoadGlobalStackRef(GLOBALS(), BUILTINS(), name, res);
  |  |  ------------------
  |  |  |  |  326|  21.4k|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |                               _PyEval_LoadGlobalStackRef(GLOBALS(), BUILTINS(), name, res);
  |  |  ------------------
  |  |  |  |  327|  21.4k|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |10070|  21.4k|                _PyFrame_StackPointerInvalidate(frame);
  |  |10071|  21.4k|                if (PyStackRef_IsNull(*res)) {
  |  |  ------------------
  |  |  |  |  482|  21.4k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  21.4k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  21.4k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 1, False: 21.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10072|      1|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      1|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10073|      0|                }
  |  |10074|  21.4k|            }
  |  |10075|       |            // _PUSH_NULL_CONDITIONAL
  |  |10076|  21.4k|            {
  |  |10077|  21.4k|                null = &stack_pointer[1];
  |  |10078|  21.4k|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (10078:21): [True: 8.64k, False: 12.8k]
  |  |  ------------------
  |  |10079|  8.64k|                    null[0] = PyStackRef_NULL;
  |  |10080|  8.64k|                }
  |  |10081|  21.4k|            }
  |  |10082|  21.4k|            stack_pointer += 1 + (oparg & 1);
  |  |10083|  21.4k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  21.4k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10084|  21.4k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  21.4k|    { \
  |  |  |  |  201|  21.4k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  21.4k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  21.4k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  21.4k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  21.4k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  21.4k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  21.4k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  21.4k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 21.4k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  21.4k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  21.4k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  21.4k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  21.4k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  21.4k|    }
  |  |  ------------------
  |  |10085|  21.4k|        }
  |  |10086|       |
  |  |10087|   105M|        TARGET(LOAD_GLOBAL_BUILTIN) {
  |  |  ------------------
  |  |  |  |  132|   105M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10088|       |            #if _Py_TAIL_CALL_INTERP
  |  |10089|       |            int opcode = LOAD_GLOBAL_BUILTIN;
  |  |10090|       |            (void)(opcode);
  |  |10091|       |            #endif
  |  |10092|   105M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10093|   105M|            (void)this_instr;
  |  |10094|   105M|            frame->instr_ptr = next_instr;
  |  |10095|   105M|            next_instr += 5;
  |  |10096|   105M|            INSTRUCTION_STATS(LOAD_GLOBAL_BUILTIN);
  |  |  ------------------
  |  |  |  |   71|   105M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10097|   105M|            static_assert(INLINE_CACHE_ENTRIES_LOAD_GLOBAL == 4, "incorrect cache size");
  |  |10098|   105M|            _PyStackRef res;
  |  |10099|   105M|            _PyStackRef *null;
  |  |10100|       |            /* Skip 1 cache entry */
  |  |10101|       |            // _GUARD_GLOBALS_VERSION
  |  |10102|   105M|            {
  |  |10103|   105M|                uint16_t version = read_u16(&this_instr[2].cache);
  |  |10104|   105M|                PyDictObject *dict = (PyDictObject *)GLOBALS();
  |  |  ------------------
  |  |  |  |  326|   105M|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |10105|   105M|                if (!PyDict_CheckExact(dict)) {
  |  |  ------------------
  |  |  |  |   19|   105M|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   105M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   105M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   105M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10105:21): [True: 0, False: 105M]
  |  |  ------------------
  |  |10106|      0|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10107|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |  ------------------
  |  |  |  Branch (10107:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10108|      0|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10109|      0|                }
  |  |10110|   105M|                PyDictKeysObject *keys = FT_ATOMIC_LOAD_PTR_ACQUIRE(dict->ma_keys);
  |  |  ------------------
  |  |  |  |  150|   105M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  |10111|   105M|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(keys->dk_version) != version) {
  |  |  ------------------
  |  |  |  |  159|   105M|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (10111:21): [True: 5.27k, False: 105M]
  |  |  ------------------
  |  |10112|  5.27k|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  299|  5.27k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10113|  5.27k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |  ------------------
  |  |  |  Branch (10113:21): [True: 5.27k, False: 0]
  |  |  ------------------
  |  |10114|  5.27k|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|  5.27k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10115|      0|                }
  |  |10116|   105M|                assert(keys->dk_kind == DICT_KEYS_UNICODE);
  |  |  ------------------
  |  |  |  Branch (10116:17): [True: 105M, False: 0]
  |  |  ------------------
  |  |10117|   105M|            }
  |  |10118|       |            // _LOAD_GLOBAL_BUILTINS
  |  |10119|   105M|            {
  |  |10120|   105M|                uint16_t version = read_u16(&this_instr[3].cache);
  |  |10121|   105M|                uint16_t index = read_u16(&this_instr[4].cache);
  |  |10122|   105M|                PyDictObject *dict = (PyDictObject *)BUILTINS();
  |  |  ------------------
  |  |  |  |  327|   105M|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |10123|   105M|                if (!PyDict_CheckExact(dict)) {
  |  |  ------------------
  |  |  |  |   19|   105M|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   105M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   105M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   105M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10123:21): [True: 0, False: 105M]
  |  |  ------------------
  |  |10124|      0|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10125|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |  ------------------
  |  |  |  Branch (10125:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10126|      0|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10127|      0|                }
  |  |10128|   105M|                PyDictKeysObject *keys = FT_ATOMIC_LOAD_PTR_ACQUIRE(dict->ma_keys);
  |  |  ------------------
  |  |  |  |  150|   105M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  |10129|   105M|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(keys->dk_version) != version) {
  |  |  ------------------
  |  |  |  |  159|   105M|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (10129:21): [True: 982, False: 105M]
  |  |  ------------------
  |  |10130|    982|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  299|    982|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10131|    982|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |  ------------------
  |  |  |  Branch (10131:21): [True: 982, False: 0]
  |  |  ------------------
  |  |10132|    982|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|    982|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10133|      0|                }
  |  |10134|   105M|                assert(keys->dk_kind == DICT_KEYS_UNICODE);
  |  |  ------------------
  |  |  |  Branch (10134:17): [True: 105M, False: 0]
  |  |  ------------------
  |  |10135|   105M|                PyDictUnicodeEntry *entries = DK_UNICODE_ENTRIES(keys);
  |  |10136|   105M|                PyObject *res_o = FT_ATOMIC_LOAD_PTR_CONSUME(entries[index].me_value);
  |  |  ------------------
  |  |  |  |  151|   105M|#define FT_ATOMIC_LOAD_PTR_CONSUME(value) value
  |  |  ------------------
  |  |10137|   105M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10137:21): [True: 0, False: 105M]
  |  |  ------------------
  |  |10138|      0|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10139|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |  ------------------
  |  |  |  Branch (10139:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10140|      0|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10141|      0|                }
  |  |10142|       |                #if Py_GIL_DISABLED
  |  |10143|       |                int increfed = _Py_TryIncrefCompareStackRef(&entries[index].me_value, res_o, &res);
  |  |10144|       |                if (!increfed) {
  |  |10145|       |                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |10146|       |                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |10147|       |                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |10148|       |                }
  |  |10149|       |                #else
  |  |10150|   105M|                res = PyStackRef_FromPyObjectNew(res_o);
  |  |  ------------------
  |  |  |  |  611|   105M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   105M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   105M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10151|   105M|                #endif
  |  |10152|   105M|                STAT_INC(LOAD_GLOBAL, hit);
  |  |  ------------------
  |  |  |  |   73|   105M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |10153|   105M|            }
  |  |10154|       |            // _PUSH_NULL_CONDITIONAL
  |  |10155|      0|            {
  |  |10156|   105M|                null = &stack_pointer[1];
  |  |10157|   105M|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (10157:21): [True: 70.6M, False: 34.4M]
  |  |  ------------------
  |  |10158|  70.6M|                    null[0] = PyStackRef_NULL;
  |  |10159|  70.6M|                }
  |  |10160|   105M|            }
  |  |10161|   105M|            stack_pointer[0] = res;
  |  |10162|   105M|            stack_pointer += 1 + (oparg & 1);
  |  |10163|   105M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   105M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10164|   105M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   105M|    { \
  |  |  |  |  201|   105M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   105M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   105M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   105M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   105M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   105M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   105M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   105M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 105M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   105M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   105M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   105M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   105M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   105M|    }
  |  |  ------------------
  |  |10165|   105M|        }
  |  |10166|       |
  |  |10167|   230M|        TARGET(LOAD_GLOBAL_MODULE) {
  |  |  ------------------
  |  |  |  |  132|   230M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10168|       |            #if _Py_TAIL_CALL_INTERP
  |  |10169|       |            int opcode = LOAD_GLOBAL_MODULE;
  |  |10170|       |            (void)(opcode);
  |  |10171|       |            #endif
  |  |10172|   230M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10173|   230M|            (void)this_instr;
  |  |10174|   230M|            frame->instr_ptr = next_instr;
  |  |10175|   230M|            next_instr += 5;
  |  |10176|   230M|            INSTRUCTION_STATS(LOAD_GLOBAL_MODULE);
  |  |  ------------------
  |  |  |  |   71|   230M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10177|   230M|            static_assert(INLINE_CACHE_ENTRIES_LOAD_GLOBAL == 4, "incorrect cache size");
  |  |10178|   230M|            _PyStackRef res;
  |  |10179|   230M|            _PyStackRef *null;
  |  |10180|       |            /* Skip 1 cache entry */
  |  |10181|       |            // _NOP
  |  |10182|   230M|            {
  |  |10183|   230M|            }
  |  |10184|       |            // _LOAD_GLOBAL_MODULE
  |  |10185|   230M|            {
  |  |10186|   230M|                uint16_t version = read_u16(&this_instr[2].cache);
  |  |10187|   230M|                uint16_t index = read_u16(&this_instr[4].cache);
  |  |10188|   230M|                PyDictObject *dict = (PyDictObject *)GLOBALS();
  |  |  ------------------
  |  |  |  |  326|   230M|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |10189|   230M|                if (!PyDict_CheckExact(dict)) {
  |  |  ------------------
  |  |  |  |   19|   230M|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   230M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   230M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   230M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10189:21): [True: 0, False: 230M]
  |  |  ------------------
  |  |10190|      0|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10191|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |  ------------------
  |  |  |  Branch (10191:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10192|      0|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10193|      0|                }
  |  |10194|   230M|                PyDictKeysObject *keys = FT_ATOMIC_LOAD_PTR_ACQUIRE(dict->ma_keys);
  |  |  ------------------
  |  |  |  |  150|   230M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  |10195|   230M|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(keys->dk_version) != version) {
  |  |  ------------------
  |  |  |  |  159|   230M|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (10195:21): [True: 13.7k, False: 230M]
  |  |  ------------------
  |  |10196|  13.7k|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  299|  13.7k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10197|  13.7k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |  ------------------
  |  |  |  Branch (10197:21): [True: 13.7k, False: 0]
  |  |  ------------------
  |  |10198|  13.7k|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|  13.7k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10199|      0|                }
  |  |10200|   230M|                assert(keys->dk_kind == DICT_KEYS_UNICODE);
  |  |  ------------------
  |  |  |  Branch (10200:17): [True: 230M, False: 0]
  |  |  ------------------
  |  |10201|   230M|                PyDictUnicodeEntry *entries = DK_UNICODE_ENTRIES(keys);
  |  |10202|   230M|                assert(index < DK_SIZE(keys));
  |  |  ------------------
  |  |  |  Branch (10202:17): [True: 230M, False: 0]
  |  |  ------------------
  |  |10203|   230M|                PyObject *res_o = FT_ATOMIC_LOAD_PTR_CONSUME(entries[index].me_value);
  |  |  ------------------
  |  |  |  |  151|   230M|#define FT_ATOMIC_LOAD_PTR_CONSUME(value) value
  |  |  ------------------
  |  |10204|   230M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10204:21): [True: 0, False: 230M]
  |  |  ------------------
  |  |10205|      0|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10206|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |  ------------------
  |  |  |  Branch (10206:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10207|      0|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10208|      0|                }
  |  |10209|       |                #if Py_GIL_DISABLED
  |  |10210|       |                int increfed = _Py_TryIncrefCompareStackRef(&entries[index].me_value, res_o, &res);
  |  |10211|       |                if (!increfed) {
  |  |10212|       |                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |10213|       |                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |10214|       |                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |10215|       |                }
  |  |10216|       |                #else
  |  |10217|   230M|                res = PyStackRef_FromPyObjectNew(res_o);
  |  |  ------------------
  |  |  |  |  611|   230M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   230M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   230M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10218|   230M|                #endif
  |  |10219|   230M|                STAT_INC(LOAD_GLOBAL, hit);
  |  |  ------------------
  |  |  |  |   73|   230M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |10220|   230M|            }
  |  |10221|       |            // _PUSH_NULL_CONDITIONAL
  |  |10222|      0|            {
  |  |10223|   230M|                null = &stack_pointer[1];
  |  |10224|   230M|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (10224:21): [True: 33.3M, False: 197M]
  |  |  ------------------
  |  |10225|  33.3M|                    null[0] = PyStackRef_NULL;
  |  |10226|  33.3M|                }
  |  |10227|   230M|            }
  |  |10228|   230M|            stack_pointer[0] = res;
  |  |10229|   230M|            stack_pointer += 1 + (oparg & 1);
  |  |10230|   230M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   230M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10231|   230M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   230M|    { \
  |  |  |  |  201|   230M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   230M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   230M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   230M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   230M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   230M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   230M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   230M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 230M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   230M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   230M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   230M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   230M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   230M|    }
  |  |  ------------------
  |  |10232|   230M|        }
  |  |10233|       |
  |  |10234|    217|        TARGET(LOAD_LOCALS) {
  |  |  ------------------
  |  |  |  |  132|    217|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10235|       |            #if _Py_TAIL_CALL_INTERP
  |  |10236|       |            int opcode = LOAD_LOCALS;
  |  |10237|       |            (void)(opcode);
  |  |10238|       |            #endif
  |  |10239|    217|            frame->instr_ptr = next_instr;
  |  |10240|    217|            next_instr += 1;
  |  |10241|    217|            INSTRUCTION_STATS(LOAD_LOCALS);
  |  |  ------------------
  |  |  |  |   71|    217|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10242|    217|            _PyStackRef locals;
  |  |10243|    217|            PyObject *l = LOCALS();
  |  |  ------------------
  |  |  |  |  328|    217|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  |10244|    217|            if (l == NULL) {
  |  |  ------------------
  |  |  |  Branch (10244:17): [True: 0, False: 217]
  |  |  ------------------
  |  |10245|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10246|      0|                _PyFrame_StackPointerValidate(frame);
  |  |10247|      0|                _PyErr_SetString(tstate, PyExc_SystemError,
  |  |10248|      0|                                 "no locals found");
  |  |10249|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |10250|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10251|      0|            }
  |  |10252|    217|            locals = PyStackRef_FromPyObjectNew(l);
  |  |  ------------------
  |  |  |  |  611|    217|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    217|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    217|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10253|    217|            stack_pointer[0] = locals;
  |  |10254|    217|            stack_pointer += 1;
  |  |10255|    217|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    217|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10256|    217|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    217|    { \
  |  |  |  |  201|    217|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    217|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    217|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    217|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    217|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    217|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    217|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    217|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 217]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    217|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    217|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    217|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    217|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    217|    }
  |  |  ------------------
  |  |10257|    217|        }
  |  |10258|       |
  |  |10259|  4.15k|        TARGET(LOAD_NAME) {
  |  |  ------------------
  |  |  |  |  132|  4.15k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10260|       |            #if _Py_TAIL_CALL_INTERP
  |  |10261|       |            int opcode = LOAD_NAME;
  |  |10262|       |            (void)(opcode);
  |  |10263|       |            #endif
  |  |10264|  4.15k|            frame->instr_ptr = next_instr;
  |  |10265|  4.15k|            next_instr += 1;
  |  |10266|  4.15k|            INSTRUCTION_STATS(LOAD_NAME);
  |  |  ------------------
  |  |  |  |   71|  4.15k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10267|  4.15k|            _PyStackRef v;
  |  |10268|  4.15k|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  236|  4.15k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  4.15k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  4.15k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  4.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10268:30): [True: 4.15k, False: 0]
  |  |  ------------------
  |  |10269|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10270|  4.15k|            _PyFrame_StackPointerValidate(frame);
  |  |10271|  4.15k|            PyObject *v_o = _PyEval_LoadName(tstate, frame, name);
  |  |10272|  4.15k|            _PyFrame_StackPointerInvalidate(frame);
  |  |10273|  4.15k|            if (v_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10273:17): [True: 0, False: 4.15k]
  |  |  ------------------
  |  |10274|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10275|      0|            }
  |  |10276|  4.15k|            if (PyLazyImport_CheckExact(v_o)) {
  |  |  ------------------
  |  |  |  |   15|  4.15k|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  4.15k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  4.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  4.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 4.15k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10277|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10277:17): [True: 0, False: 0]
  |  |  ------------------
  |  |10278|      0|                _PyFrame_StackPointerValidate(frame);
  |  |10279|      0|                PyObject *l_v = _PyImport_LoadLazyImportTstate(tstate, v_o);
  |  |10280|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |10281|      0|                if (l_v == NULL) {
  |  |  ------------------
  |  |  |  Branch (10281:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10282|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10282:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10283|      0|                    _PyFrame_StackPointerValidate(frame);
  |  |10284|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10285|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  |10286|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10287|      0|                }
  |  |10288|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10288:17): [True: 0, False: 0]
  |  |  ------------------
  |  |10289|      0|                _PyFrame_StackPointerValidate(frame);
  |  |10290|      0|                int err = PyDict_SetItem(GLOBALS(), name, l_v);
  |  |  ------------------
  |  |  |  |  326|      0|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |10291|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |10292|      0|                if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (10292:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10293|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10293:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10294|      0|                    _PyFrame_StackPointerValidate(frame);
  |  |10295|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10296|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  |10297|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10297:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10298|      0|                    _PyFrame_StackPointerValidate(frame);
  |  |10299|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10300|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  |10301|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10302|      0|                }
  |  |10303|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10303:17): [True: 0, False: 0]
  |  |  ------------------
  |  |10304|      0|                _PyFrame_StackPointerValidate(frame);
  |  |10305|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10306|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |10307|      0|            }
  |  |10308|  4.15k|            v = PyStackRef_FromPyObjectSteal(v_o);
  |  |10309|  4.15k|            stack_pointer[0] = v;
  |  |10310|  4.15k|            stack_pointer += 1;
  |  |10311|  4.15k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  4.15k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10312|  4.15k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.15k|    { \
  |  |  |  |  201|  4.15k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  4.15k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  4.15k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  4.15k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  4.15k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  4.15k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  4.15k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  4.15k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 4.15k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.15k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.15k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.15k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.15k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.15k|    }
  |  |  ------------------
  |  |10313|  4.15k|        }
  |  |10314|       |
  |  |10315|   124M|        TARGET(LOAD_SMALL_INT) {
  |  |  ------------------
  |  |  |  |  132|   124M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10316|       |            #if _Py_TAIL_CALL_INTERP
  |  |10317|       |            int opcode = LOAD_SMALL_INT;
  |  |10318|       |            (void)(opcode);
  |  |10319|       |            #endif
  |  |10320|   124M|            frame->instr_ptr = next_instr;
  |  |10321|   124M|            next_instr += 1;
  |  |10322|   124M|            INSTRUCTION_STATS(LOAD_SMALL_INT);
  |  |  ------------------
  |  |  |  |   71|   124M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10323|   124M|            _PyStackRef value;
  |  |10324|   124M|            assert(oparg < _PY_NSMALLPOSINTS);
  |  |  ------------------
  |  |  |  Branch (10324:13): [True: 124M, False: 0]
  |  |  ------------------
  |  |10325|   124M|            PyObject *obj = (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS + oparg];
  |  |  ------------------
  |  |  |  |   59|   124M|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|   124M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|   124M|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           PyObject *obj = (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS + oparg];
  |  |  ------------------
  |  |  |  |   98|   124M|#define _PY_NSMALLNEGINTS           5
  |  |  ------------------
  |  |10326|   124M|            value = PyStackRef_FromPyObjectBorrow(obj);
  |  |10327|   124M|            stack_pointer[0] = value;
  |  |10328|   124M|            stack_pointer += 1;
  |  |10329|   124M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   124M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10330|   124M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   124M|    { \
  |  |  |  |  201|   124M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   124M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   124M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   124M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   124M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   124M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   124M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   124M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 124M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   124M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   124M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   124M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   124M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   124M|    }
  |  |  ------------------
  |  |10331|   124M|        }
  |  |10332|       |
  |  |10333|  1.32k|        TARGET(LOAD_SPECIAL) {
  |  |  ------------------
  |  |  |  |  132|  1.32k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10334|       |            #if _Py_TAIL_CALL_INTERP
  |  |10335|       |            int opcode = LOAD_SPECIAL;
  |  |10336|       |            (void)(opcode);
  |  |10337|       |            #endif
  |  |10338|  1.32k|            frame->instr_ptr = next_instr;
  |  |10339|  1.32k|            next_instr += 1;
  |  |10340|  1.32k|            INSTRUCTION_STATS(LOAD_SPECIAL);
  |  |  ------------------
  |  |  |  |   71|  1.32k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10341|  1.32k|            _PyStackRef self;
  |  |10342|  1.32k|            _PyStackRef *method_and_self;
  |  |10343|       |            // _INSERT_NULL
  |  |10344|  1.32k|            {
  |  |10345|  1.32k|                self = stack_pointer[-1];
  |  |10346|  1.32k|                method_and_self = &stack_pointer[-1];
  |  |10347|  1.32k|                method_and_self[1] = self;
  |  |10348|  1.32k|                method_and_self[0] = PyStackRef_NULL;
  |  |10349|  1.32k|            }
  |  |10350|       |            // _LOAD_SPECIAL
  |  |10351|  1.32k|            {
  |  |10352|  1.32k|                method_and_self = &stack_pointer[-1];
  |  |10353|  1.32k|                PyObject *name = _Py_SpecialMethods[oparg].name;
  |  |10354|  1.32k|                stack_pointer += 1;
  |  |10355|  1.32k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.32k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10356|  1.32k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10357|  1.32k|                _PyFrame_StackPointerValidate(frame);
  |  |10358|  1.32k|                int err = _PyObject_LookupSpecialMethod(name, method_and_self);
  |  |10359|  1.32k|                _PyFrame_StackPointerInvalidate(frame);
  |  |10360|  1.32k|                if (err <= 0) {
  |  |  ------------------
  |  |  |  Branch (10360:21): [True: 0, False: 1.32k]
  |  |  ------------------
  |  |10361|      0|                    if (err == 0) {
  |  |  ------------------
  |  |  |  Branch (10361:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10362|      0|                        PyObject *owner = PyStackRef_AsPyObjectBorrow(method_and_self[1]);
  |  |10363|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10363:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10364|      0|                        _PyFrame_StackPointerValidate(frame);
  |  |10365|      0|                        const char *errfmt = _PyEval_SpecialMethodCanSuggest(owner, oparg)
  |  |  ------------------
  |  |  |  Branch (10365:46): [True: 0, False: 0]
  |  |  ------------------
  |  |10366|      0|                        ? _Py_SpecialMethods[oparg].error_suggestion
  |  |10367|      0|                    : _Py_SpecialMethods[oparg].error;
  |  |10368|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  |10369|      0|                        assert(!_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (10369:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10370|      0|                        assert(errfmt != NULL);
  |  |  ------------------
  |  |  |  Branch (10370:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10371|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10371:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10372|      0|                        _PyFrame_StackPointerValidate(frame);
  |  |10373|      0|                        _PyErr_Format(tstate, PyExc_TypeError, errfmt, owner);
  |  |10374|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  |10375|      0|                    }
  |  |10376|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10377|      0|                }
  |  |10378|  1.32k|            }
  |  |10379|  1.32k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.32k|    { \
  |  |  |  |  201|  1.32k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.32k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.32k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.32k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.32k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.32k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.32k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.32k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.32k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.32k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.32k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.32k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.32k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.32k|    }
  |  |  ------------------
  |  |10380|  1.32k|        }
  |  |10381|       |
  |  |10382|     30|        TARGET(LOAD_SUPER_ATTR) {
  |  |  ------------------
  |  |  |  |  132|     30|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10383|       |            #if _Py_TAIL_CALL_INTERP
  |  |10384|       |            int opcode = LOAD_SUPER_ATTR;
  |  |10385|       |            (void)(opcode);
  |  |10386|       |            #endif
  |  |10387|     30|            frame->instr_ptr = next_instr;
  |  |10388|     30|            next_instr += 2;
  |  |10389|     30|            INSTRUCTION_STATS(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |   71|     30|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10390|     30|            PREDICTED_LOAD_SUPER_ATTR:;
  |  |10391|     30|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  |10392|     30|            (void)this_instr;
  |  |10393|     30|            opcode = LOAD_SUPER_ATTR;
  |  |  ------------------
  |  |  |  |  105|     30|#define LOAD_SUPER_ATTR                         92
  |  |  ------------------
  |  |10394|     30|            _PyStackRef global_super_st;
  |  |10395|     30|            _PyStackRef class_st;
  |  |10396|     30|            _PyStackRef self_st;
  |  |10397|     30|            _PyStackRef attr;
  |  |10398|     30|            _PyStackRef *null;
  |  |10399|       |            // _SPECIALIZE_LOAD_SUPER_ATTR
  |  |10400|     30|            {
  |  |10401|     30|                class_st = stack_pointer[-2];
  |  |10402|     30|                global_super_st = stack_pointer[-3];
  |  |10403|     30|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |10404|     30|                (void)counter;
  |  |10405|     30|                #if ENABLE_SPECIALIZATION
  |  |10406|     30|                int load_method = oparg & 1;
  |  |10407|     30|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|     30|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 14, False: 16]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10408|     14|                    next_instr = this_instr;
  |  |10409|     14|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10410|     14|                    _PyFrame_StackPointerValidate(frame);
  |  |10411|     14|                    _Py_Specialize_LoadSuperAttr(global_super_st, class_st, next_instr, load_method);
  |  |10412|     14|                    _PyFrame_StackPointerInvalidate(frame);
  |  |10413|     14|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|     14|    { \
  |  |  |  |  217|     14|        opcode = next_instr->op.code; \
  |  |  |  |  218|     14|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     14|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|     14|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|     14|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|     14|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|     14|    }
  |  |  ------------------
  |  |10414|     14|                }
  |  |10415|     30|                OPCODE_DEFERRED_INC(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |   90|     30|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |10416|     30|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  358|     30|    do { \
  |  |  |  |  359|     30|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  360|     30|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (360:14): [Folded, False: 30]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10417|     30|                #endif  /* ENABLE_SPECIALIZATION */
  |  |10418|     30|            }
  |  |10419|       |            // _LOAD_SUPER_ATTR
  |  |10420|     30|            {
  |  |10421|     30|                self_st = stack_pointer[-1];
  |  |10422|     30|                PyObject *global_super = PyStackRef_AsPyObjectBorrow(global_super_st);
  |  |10423|     30|                PyObject *class = PyStackRef_AsPyObjectBorrow(class_st);
  |  |10424|     30|                PyObject *self = PyStackRef_AsPyObjectBorrow(self_st);
  |  |10425|     30|                if (opcode == INSTRUMENTED_LOAD_SUPER_ATTR) {
  |  |  ------------------
  |  |  |  |  236|     30|#define INSTRUMENTED_LOAD_SUPER_ATTR           248
  |  |  ------------------
  |  |  |  Branch (10425:21): [True: 0, False: 30]
  |  |  ------------------
  |  |10426|      0|                    PyObject *arg = oparg & 2 ? class : &_PyInstrumentation_MISSING;
  |  |  ------------------
  |  |  |  Branch (10426:37): [True: 0, False: 0]
  |  |  ------------------
  |  |10427|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10428|      0|                    _PyFrame_StackPointerValidate(frame);
  |  |10429|      0|                    int err = _Py_call_instrumentation_2args(
  |  |10430|      0|                        tstate, PY_MONITORING_EVENT_CALL,
  |  |  ------------------
  |  |  |  |   18|      0|#define PY_MONITORING_EVENT_CALL 4
  |  |  ------------------
  |  |10431|      0|                        frame, this_instr, global_super, arg);
  |  |10432|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  |10433|      0|                    if (err) {
  |  |  ------------------
  |  |  |  Branch (10433:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10434|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10434:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10435|      0|                        _PyFrame_StackPointerValidate(frame);
  |  |10436|      0|                        _PyStackRef tmp = self_st;
  |  |10437|      0|                        self_st = PyStackRef_NULL;
  |  |10438|      0|                        stack_pointer[-1] = self_st;
  |  |10439|      0|                        PyStackRef_CLOSE(tmp);
  |  |10440|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  |10441|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10441:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10442|      0|                        _PyFrame_StackPointerValidate(frame);
  |  |10443|      0|                        tmp = class_st;
  |  |10444|      0|                        class_st = PyStackRef_NULL;
  |  |10445|      0|                        stack_pointer[-2] = class_st;
  |  |10446|      0|                        PyStackRef_CLOSE(tmp);
  |  |10447|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  |10448|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10448:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10449|      0|                        _PyFrame_StackPointerValidate(frame);
  |  |10450|      0|                        tmp = global_super_st;
  |  |10451|      0|                        global_super_st = PyStackRef_NULL;
  |  |10452|      0|                        stack_pointer[-3] = global_super_st;
  |  |10453|      0|                        PyStackRef_CLOSE(tmp);
  |  |10454|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  |10455|      0|                        stack_pointer += -3;
  |  |10456|      0|                        ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10457|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10458|      0|                    }
  |  |10459|      0|                }
  |  |10460|     30|                PyObject *super;
  |  |10461|     30|                {
  |  |10462|     30|                    PyObject *stack[] = {class, self};
  |  |10463|     30|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10464|     30|                    _PyFrame_StackPointerValidate(frame);
  |  |10465|     30|                    super = PyObject_Vectorcall(global_super, stack, oparg & 2, NULL);
  |  |10466|     30|                    _PyFrame_StackPointerInvalidate(frame);
  |  |10467|     30|                }
  |  |10468|     30|                if (opcode == INSTRUMENTED_LOAD_SUPER_ATTR) {
  |  |  ------------------
  |  |  |  |  236|     30|#define INSTRUMENTED_LOAD_SUPER_ATTR           248
  |  |  ------------------
  |  |  |  Branch (10468:21): [True: 0, False: 30]
  |  |  ------------------
  |  |10469|      0|                    PyObject *arg = oparg & 2 ? class : &_PyInstrumentation_MISSING;
  |  |  ------------------
  |  |  |  Branch (10469:37): [True: 0, False: 0]
  |  |  ------------------
  |  |10470|      0|                    if (super == NULL) {
  |  |  ------------------
  |  |  |  Branch (10470:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10471|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10471:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10472|      0|                        _PyFrame_StackPointerValidate(frame);
  |  |10473|      0|                        _Py_call_instrumentation_exc2(
  |  |10474|      0|                            tstate, PY_MONITORING_EVENT_C_RAISE,
  |  |  ------------------
  |  |  |  |   45|      0|#define PY_MONITORING_EVENT_C_RAISE 17
  |  |  ------------------
  |  |10475|      0|                            frame, this_instr, global_super, arg);
  |  |10476|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  |10477|      0|                    }
  |  |10478|      0|                    else {
  |  |10479|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10479:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10480|      0|                        _PyFrame_StackPointerValidate(frame);
  |  |10481|      0|                        int err = _Py_call_instrumentation_2args(
  |  |10482|      0|                            tstate, PY_MONITORING_EVENT_C_RETURN,
  |  |  ------------------
  |  |  |  |   44|      0|#define PY_MONITORING_EVENT_C_RETURN 16
  |  |  ------------------
  |  |10483|      0|                            frame, this_instr, global_super, arg);
  |  |10484|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  |10485|      0|                        if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (10485:29): [True: 0, False: 0]
  |  |  ------------------
  |  |10486|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10486:29): [True: 0, False: 0]
  |  |  ------------------
  |  |10487|      0|                            _PyFrame_StackPointerValidate(frame);
  |  |10488|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10489|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  |10490|      0|                        }
  |  |10491|      0|                    }
  |  |10492|      0|                }
  |  |10493|     30|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10493:17): [True: 16, False: 14]
  |  |  ------------------
  |  |10494|     16|                _PyFrame_StackPointerValidate(frame);
  |  |10495|     16|                _PyStackRef tmp = self_st;
  |  |10496|     16|                self_st = PyStackRef_NULL;
  |  |10497|     16|                stack_pointer[-1] = self_st;
  |  |10498|     16|                PyStackRef_CLOSE(tmp);
  |  |10499|     16|                _PyFrame_StackPointerInvalidate(frame);
  |  |10500|     16|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10500:17): [True: 16, False: 0]
  |  |  ------------------
  |  |10501|     16|                _PyFrame_StackPointerValidate(frame);
  |  |10502|     16|                tmp = class_st;
  |  |10503|     16|                class_st = PyStackRef_NULL;
  |  |10504|     16|                stack_pointer[-2] = class_st;
  |  |10505|     16|                PyStackRef_CLOSE(tmp);
  |  |10506|     16|                _PyFrame_StackPointerInvalidate(frame);
  |  |10507|     16|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10507:17): [True: 16, False: 0]
  |  |  ------------------
  |  |10508|     16|                _PyFrame_StackPointerValidate(frame);
  |  |10509|     16|                tmp = global_super_st;
  |  |10510|     16|                global_super_st = PyStackRef_NULL;
  |  |10511|     16|                stack_pointer[-3] = global_super_st;
  |  |10512|     16|                PyStackRef_CLOSE(tmp);
  |  |10513|     16|                _PyFrame_StackPointerInvalidate(frame);
  |  |10514|     16|                stack_pointer += -3;
  |  |10515|     16|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     16|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10516|     16|                if (super == NULL) {
  |  |  ------------------
  |  |  |  Branch (10516:21): [True: 0, False: 16]
  |  |  ------------------
  |  |10517|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10518|      0|                }
  |  |10519|     16|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 2);
  |  |  ------------------
  |  |  |  |  236|     16|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|     16|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|     16|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10519:34): [True: 16, False: 0]
  |  |  ------------------
  |  |10520|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10521|     16|                _PyFrame_StackPointerValidate(frame);
  |  |10522|     16|                PyObject *attr_o = PyObject_GetAttr(super, name);
  |  |10523|     16|                _PyFrame_StackPointerInvalidate(frame);
  |  |10524|     16|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10524:17): [True: 16, False: 0]
  |  |  ------------------
  |  |10525|     16|                _PyFrame_StackPointerValidate(frame);
  |  |10526|     16|                Py_DECREF(super);
  |  |  ------------------
  |  |  |  |   80|     16|    do { \
  |  |  |  |   81|     16|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|     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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|     16|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|     16|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|     16|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 16, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|     16|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|     16|    do { \
  |  |  |  |  |  |  113|     16|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|     16|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 16]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|     16|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 16]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|     16|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|     16|            (*dealloc)(op); \
  |  |  |  |   91|     16|        } \
  |  |  |  |   92|     16|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 16]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10527|     16|                _PyFrame_StackPointerInvalidate(frame);
  |  |10528|     16|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10528:21): [True: 0, False: 16]
  |  |  ------------------
  |  |10529|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10530|      0|                }
  |  |10531|     16|                attr = PyStackRef_FromPyObjectSteal(attr_o);
  |  |10532|     16|            }
  |  |10533|       |            // _PUSH_NULL_CONDITIONAL
  |  |10534|      0|            {
  |  |10535|     16|                null = &stack_pointer[1];
  |  |10536|     16|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (10536:21): [True: 10, False: 6]
  |  |  ------------------
  |  |10537|     10|                    null[0] = PyStackRef_NULL;
  |  |10538|     10|                }
  |  |10539|     16|            }
  |  |10540|     16|            stack_pointer[0] = attr;
  |  |10541|     16|            stack_pointer += 1 + (oparg & 1);
  |  |10542|     16|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     16|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10543|     16|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     16|    { \
  |  |  |  |  201|     16|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     16|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     16|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     16|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     16|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     16|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     16|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     16|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  |10544|     16|        }
  |  |10545|       |
  |  |10546|     81|        TARGET(LOAD_SUPER_ATTR_ATTR) {
  |  |  ------------------
  |  |  |  |  132|     81|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10547|       |            #if _Py_TAIL_CALL_INTERP
  |  |10548|       |            int opcode = LOAD_SUPER_ATTR_ATTR;
  |  |10549|       |            (void)(opcode);
  |  |10550|       |            #endif
  |  |10551|     81|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10552|     81|            (void)this_instr;
  |  |10553|     81|            frame->instr_ptr = next_instr;
  |  |10554|     81|            next_instr += 2;
  |  |10555|     81|            INSTRUCTION_STATS(LOAD_SUPER_ATTR_ATTR);
  |  |  ------------------
  |  |  |  |   71|     81|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10556|     81|            static_assert(INLINE_CACHE_ENTRIES_LOAD_SUPER_ATTR == 1, "incorrect cache size");
  |  |10557|     81|            _PyStackRef global_super_st;
  |  |10558|     81|            _PyStackRef class_st;
  |  |10559|     81|            _PyStackRef self_st;
  |  |10560|     81|            _PyStackRef attr_st;
  |  |10561|       |            /* Skip 1 cache entry */
  |  |10562|     81|            self_st = stack_pointer[-1];
  |  |10563|     81|            class_st = stack_pointer[-2];
  |  |10564|     81|            global_super_st = stack_pointer[-3];
  |  |10565|     81|            PyObject *global_super = PyStackRef_AsPyObjectBorrow(global_super_st);
  |  |10566|     81|            PyObject *class = PyStackRef_AsPyObjectBorrow(class_st);
  |  |10567|     81|            PyObject *self = PyStackRef_AsPyObjectBorrow(self_st);
  |  |10568|     81|            assert(!(oparg & 1));
  |  |  ------------------
  |  |  |  Branch (10568:13): [True: 81, False: 0]
  |  |  ------------------
  |  |10569|     81|            if (global_super != (PyObject *)&PySuper_Type) {
  |  |  ------------------
  |  |  |  Branch (10569:17): [True: 0, False: 81]
  |  |  ------------------
  |  |10570|      0|                UPDATE_MISS_STATS(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10571|      0|                assert(_PyOpcode_Deopt[opcode] == (LOAD_SUPER_ATTR));
  |  |  ------------------
  |  |  |  Branch (10571:17): [True: 0, False: 0]
  |  |  ------------------
  |  |10572|      0|                JUMP_TO_PREDICTED(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10573|      0|            }
  |  |10574|     81|            if (!PyType_Check(class)) {
  |  |  ------------------
  |  |  |  |  766|     81|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     81|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     81|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10574:17): [True: 0, False: 81]
  |  |  ------------------
  |  |10575|      0|                UPDATE_MISS_STATS(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10576|      0|                assert(_PyOpcode_Deopt[opcode] == (LOAD_SUPER_ATTR));
  |  |  ------------------
  |  |  |  Branch (10576:17): [True: 0, False: 0]
  |  |  ------------------
  |  |10577|      0|                JUMP_TO_PREDICTED(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10578|      0|            }
  |  |10579|     81|            STAT_INC(LOAD_SUPER_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|     81|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |10580|     81|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 2);
  |  |  ------------------
  |  |  |  |  236|     81|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10580:30): [True: 81, False: 0]
  |  |  ------------------
  |  |10581|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10582|     81|            _PyFrame_StackPointerValidate(frame);
  |  |10583|     81|            PyObject *attr = _PySuper_Lookup((PyTypeObject *)class, self, name, NULL);
  |  |10584|     81|            _PyFrame_StackPointerInvalidate(frame);
  |  |10585|     81|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10585:13): [True: 81, False: 0]
  |  |  ------------------
  |  |10586|     81|            _PyFrame_StackPointerValidate(frame);
  |  |10587|     81|            _PyStackRef tmp = self_st;
  |  |10588|     81|            self_st = PyStackRef_NULL;
  |  |10589|     81|            stack_pointer[-1] = self_st;
  |  |10590|     81|            PyStackRef_CLOSE(tmp);
  |  |10591|     81|            _PyFrame_StackPointerInvalidate(frame);
  |  |10592|     81|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10592:13): [True: 81, False: 0]
  |  |  ------------------
  |  |10593|     81|            _PyFrame_StackPointerValidate(frame);
  |  |10594|     81|            tmp = class_st;
  |  |10595|     81|            class_st = PyStackRef_NULL;
  |  |10596|     81|            stack_pointer[-2] = class_st;
  |  |10597|     81|            PyStackRef_CLOSE(tmp);
  |  |10598|     81|            _PyFrame_StackPointerInvalidate(frame);
  |  |10599|     81|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10599:13): [True: 81, False: 0]
  |  |  ------------------
  |  |10600|     81|            _PyFrame_StackPointerValidate(frame);
  |  |10601|     81|            tmp = global_super_st;
  |  |10602|     81|            global_super_st = PyStackRef_NULL;
  |  |10603|     81|            stack_pointer[-3] = global_super_st;
  |  |10604|     81|            PyStackRef_CLOSE(tmp);
  |  |10605|     81|            _PyFrame_StackPointerInvalidate(frame);
  |  |10606|     81|            stack_pointer += -3;
  |  |10607|     81|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     81|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10608|     81|            if (attr == NULL) {
  |  |  ------------------
  |  |  |  Branch (10608:17): [True: 0, False: 81]
  |  |  ------------------
  |  |10609|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10610|      0|            }
  |  |10611|     81|            attr_st = PyStackRef_FromPyObjectSteal(attr);
  |  |10612|     81|            stack_pointer[0] = attr_st;
  |  |10613|     81|            stack_pointer += 1;
  |  |10614|     81|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     81|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10615|     81|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     81|    { \
  |  |  |  |  201|     81|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     81|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     81|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     81|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     81|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     81|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     81|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     81|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 81]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     81|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     81|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     81|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     81|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     81|    }
  |  |  ------------------
  |  |10616|     81|        }
  |  |10617|       |
  |  |10618|  2.66k|        TARGET(LOAD_SUPER_ATTR_METHOD) {
  |  |  ------------------
  |  |  |  |  132|  2.66k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10619|       |            #if _Py_TAIL_CALL_INTERP
  |  |10620|       |            int opcode = LOAD_SUPER_ATTR_METHOD;
  |  |10621|       |            (void)(opcode);
  |  |10622|       |            #endif
  |  |10623|  2.66k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10624|  2.66k|            (void)this_instr;
  |  |10625|  2.66k|            frame->instr_ptr = next_instr;
  |  |10626|  2.66k|            next_instr += 2;
  |  |10627|  2.66k|            INSTRUCTION_STATS(LOAD_SUPER_ATTR_METHOD);
  |  |  ------------------
  |  |  |  |   71|  2.66k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10628|  2.66k|            static_assert(INLINE_CACHE_ENTRIES_LOAD_SUPER_ATTR == 1, "incorrect cache size");
  |  |10629|  2.66k|            _PyStackRef global_super_st;
  |  |10630|  2.66k|            _PyStackRef class_st;
  |  |10631|  2.66k|            _PyStackRef self_st;
  |  |10632|  2.66k|            _PyStackRef attr;
  |  |10633|  2.66k|            _PyStackRef self_or_null;
  |  |10634|       |            /* Skip 1 cache entry */
  |  |10635|       |            // _GUARD_LOAD_SUPER_ATTR_METHOD
  |  |10636|  2.66k|            {
  |  |10637|  2.66k|                class_st = stack_pointer[-2];
  |  |10638|  2.66k|                global_super_st = stack_pointer[-3];
  |  |10639|  2.66k|                PyObject *global_super = PyStackRef_AsPyObjectBorrow(global_super_st);
  |  |10640|  2.66k|                PyObject *class = PyStackRef_AsPyObjectBorrow(class_st);
  |  |10641|  2.66k|                assert(oparg & 1);
  |  |  ------------------
  |  |  |  Branch (10641:17): [True: 2.66k, False: 0]
  |  |  ------------------
  |  |10642|  2.66k|                if (global_super != (PyObject *)&PySuper_Type) {
  |  |  ------------------
  |  |  |  Branch (10642:21): [True: 0, False: 2.66k]
  |  |  ------------------
  |  |10643|      0|                    UPDATE_MISS_STATS(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10644|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_SUPER_ATTR));
  |  |  ------------------
  |  |  |  Branch (10644:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10645|      0|                    JUMP_TO_PREDICTED(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10646|      0|                }
  |  |10647|  2.66k|                if (!PyType_Check(class)) {
  |  |  ------------------
  |  |  |  |  766|  2.66k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.66k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.66k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10647:21): [True: 0, False: 2.66k]
  |  |  ------------------
  |  |10648|      0|                    UPDATE_MISS_STATS(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10649|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_SUPER_ATTR));
  |  |  ------------------
  |  |  |  Branch (10649:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10650|      0|                    JUMP_TO_PREDICTED(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10651|      0|                }
  |  |10652|  2.66k|            }
  |  |10653|       |            // _LOAD_SUPER_ATTR_METHOD
  |  |10654|  2.66k|            {
  |  |10655|  2.66k|                self_st = stack_pointer[-1];
  |  |10656|  2.66k|                PyObject *class = PyStackRef_AsPyObjectBorrow(class_st);
  |  |10657|  2.66k|                PyObject *self = PyStackRef_AsPyObjectBorrow(self_st);
  |  |10658|  2.66k|                STAT_INC(LOAD_SUPER_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  2.66k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |10659|  2.66k|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 2);
  |  |  ------------------
  |  |  |  |  236|  2.66k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  2.66k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  2.66k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.66k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10659:34): [True: 2.66k, False: 0]
  |  |  ------------------
  |  |10660|      0|                PyTypeObject *cls = (PyTypeObject *)class;
  |  |10661|  2.66k|                int method_found = 0;
  |  |10662|  2.66k|                PyObject *attr_o;
  |  |10663|  2.66k|                {
  |  |10664|  2.66k|                    int *method_found_ptr = &method_found;
  |  |10665|  2.66k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10666|  2.66k|                    _PyFrame_StackPointerValidate(frame);
  |  |10667|  2.66k|                    attr_o = _PySuper_Lookup(cls, self, name,
  |  |10668|  2.66k|                        Py_TYPE(self)->tp_getattro == PyObject_GenericGetAttr ? method_found_ptr : NULL);
  |  |  ------------------
  |  |  |  |  213|  2.66k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.66k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.66k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10668:25): [True: 2.32k, False: 335]
  |  |  ------------------
  |  |10669|  2.66k|                    _PyFrame_StackPointerInvalidate(frame);
  |  |10670|  2.66k|                }
  |  |10671|  2.66k|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10671:21): [True: 0, False: 2.66k]
  |  |  ------------------
  |  |10672|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10673|      0|                }
  |  |10674|  2.66k|                if (method_found) {
  |  |  ------------------
  |  |  |  Branch (10674:21): [True: 2.32k, False: 335]
  |  |  ------------------
  |  |10675|  2.32k|                    self_or_null = self_st;
  |  |10676|  2.32k|                } else {
  |  |10677|    335|                    stack_pointer += -1;
  |  |10678|    335|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    335|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10679|    335|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10680|    335|                    _PyFrame_StackPointerValidate(frame);
  |  |10681|    335|                    PyStackRef_CLOSE(self_st);
  |  |10682|    335|                    _PyFrame_StackPointerInvalidate(frame);
  |  |10683|    335|                    self_or_null = PyStackRef_NULL;
  |  |10684|    335|                    stack_pointer += 1;
  |  |10685|    335|                }
  |  |10686|  2.66k|                stack_pointer += -1;
  |  |10687|  2.66k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.66k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10688|  2.66k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10689|  2.66k|                _PyFrame_StackPointerValidate(frame);
  |  |10690|  2.66k|                _PyStackRef tmp = global_super_st;
  |  |10691|  2.66k|                global_super_st = self_or_null;
  |  |10692|  2.66k|                stack_pointer[-2] = global_super_st;
  |  |10693|  2.66k|                PyStackRef_CLOSE(tmp);
  |  |10694|  2.66k|                _PyFrame_StackPointerInvalidate(frame);
  |  |10695|  2.66k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10695:17): [True: 2.66k, False: 0]
  |  |  ------------------
  |  |10696|  2.66k|                _PyFrame_StackPointerValidate(frame);
  |  |10697|  2.66k|                tmp = class_st;
  |  |10698|  2.66k|                class_st = PyStackRef_NULL;
  |  |10699|  2.66k|                stack_pointer[-1] = class_st;
  |  |10700|  2.66k|                PyStackRef_CLOSE(tmp);
  |  |10701|  2.66k|                _PyFrame_StackPointerInvalidate(frame);
  |  |10702|  2.66k|                stack_pointer += -2;
  |  |10703|  2.66k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.66k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10704|  2.66k|                attr = PyStackRef_FromPyObjectSteal(attr_o);
  |  |10705|  2.66k|            }
  |  |10706|      0|            stack_pointer[0] = attr;
  |  |10707|  2.66k|            stack_pointer[1] = self_or_null;
  |  |10708|  2.66k|            stack_pointer += 2;
  |  |10709|  2.66k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.66k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10710|  2.66k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.66k|    { \
  |  |  |  |  201|  2.66k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.66k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.66k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.66k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.66k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.66k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.66k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.66k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.66k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.66k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.66k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.66k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.66k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.66k|    }
  |  |  ------------------
  |  |10711|  2.66k|        }
  |  |10712|       |
  |  |10713|  2.96M|        TARGET(MAKE_CELL) {
  |  |  ------------------
  |  |  |  |  132|  2.96M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10714|       |            #if _Py_TAIL_CALL_INTERP
  |  |10715|       |            int opcode = MAKE_CELL;
  |  |10716|       |            (void)(opcode);
  |  |10717|       |            #endif
  |  |10718|  2.96M|            frame->instr_ptr = next_instr;
  |  |10719|  2.96M|            next_instr += 1;
  |  |10720|  2.96M|            INSTRUCTION_STATS(MAKE_CELL);
  |  |  ------------------
  |  |  |  |   71|  2.96M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10721|  2.96M|            PyObject *initial = PyStackRef_AsPyObjectBorrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  285|  2.96M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |10722|  2.96M|            PyObject *cell = PyCell_New(initial);
  |  |10723|  2.96M|            if (cell == NULL) {
  |  |  ------------------
  |  |  |  Branch (10723:17): [True: 0, False: 2.96M]
  |  |  ------------------
  |  |10724|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10725|      0|            }
  |  |10726|  2.96M|            _PyStackRef tmp = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  285|  2.96M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |10727|  2.96M|            GETLOCAL(oparg) = PyStackRef_FromPyObjectSteal(cell);
  |  |  ------------------
  |  |  |  |  285|  2.96M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |10728|  2.96M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10729|  2.96M|            _PyFrame_StackPointerValidate(frame);
  |  |10730|  2.96M|            PyStackRef_XCLOSE(tmp);
  |  |10731|  2.96M|            _PyFrame_StackPointerInvalidate(frame);
  |  |10732|  2.96M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.96M|    { \
  |  |  |  |  201|  2.96M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.96M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.96M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.96M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.96M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.96M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.96M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.96M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.96M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.96M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.96M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.96M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.96M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.96M|    }
  |  |  ------------------
  |  |10733|  2.96M|        }
  |  |10734|       |
  |  |10735|  1.01M|        TARGET(MAKE_FUNCTION) {
  |  |  ------------------
  |  |  |  |  132|  1.01M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10736|       |            #if _Py_TAIL_CALL_INTERP
  |  |10737|       |            int opcode = MAKE_FUNCTION;
  |  |10738|       |            (void)(opcode);
  |  |10739|       |            #endif
  |  |10740|  1.01M|            frame->instr_ptr = next_instr;
  |  |10741|  1.01M|            next_instr += 1;
  |  |10742|  1.01M|            INSTRUCTION_STATS(MAKE_FUNCTION);
  |  |  ------------------
  |  |  |  |   71|  1.01M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10743|  1.01M|            _PyStackRef codeobj_st;
  |  |10744|  1.01M|            _PyStackRef func;
  |  |10745|  1.01M|            _PyStackRef co;
  |  |10746|  1.01M|            _PyStackRef value;
  |  |10747|       |            // _MAKE_FUNCTION
  |  |10748|  1.01M|            {
  |  |10749|  1.01M|                codeobj_st = stack_pointer[-1];
  |  |10750|  1.01M|                PyObject *codeobj = PyStackRef_AsPyObjectBorrow(codeobj_st);
  |  |10751|  1.01M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10752|  1.01M|                _PyFrame_StackPointerValidate(frame);
  |  |10753|  1.01M|                PyFunctionObject *func_obj = (PyFunctionObject *)
  |  |10754|  1.01M|                PyFunction_New(codeobj, GLOBALS());
  |  |  ------------------
  |  |  |  |  326|  1.01M|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |10755|  1.01M|                _PyFrame_StackPointerInvalidate(frame);
  |  |10756|  1.01M|                if (func_obj == NULL) {
  |  |  ------------------
  |  |  |  Branch (10756:21): [True: 0, False: 1.01M]
  |  |  ------------------
  |  |10757|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10758|      0|                }
  |  |10759|  1.01M|                co = codeobj_st;
  |  |10760|  1.01M|                _PyFunction_SetVersion(
  |  |10761|  1.01M|                                   func_obj, ((PyCodeObject *)codeobj)->co_version);
  |  |10762|  1.01M|                func = PyStackRef_FromPyObjectSteal((PyObject *)func_obj);
  |  |10763|  1.01M|            }
  |  |10764|       |            // _POP_TOP
  |  |10765|      0|            {
  |  |10766|  1.01M|                value = co;
  |  |10767|  1.01M|                stack_pointer[-1] = func;
  |  |10768|  1.01M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10768:17): [True: 1.01M, False: 0]
  |  |  ------------------
  |  |10769|  1.01M|                _PyFrame_StackPointerValidate(frame);
  |  |10770|  1.01M|                PyStackRef_XCLOSE(value);
  |  |10771|  1.01M|                _PyFrame_StackPointerInvalidate(frame);
  |  |10772|  1.01M|            }
  |  |10773|  1.01M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.01M|    { \
  |  |  |  |  201|  1.01M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.01M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.01M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.01M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.01M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.01M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.01M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.01M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.01M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.01M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.01M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.01M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.01M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.01M|    }
  |  |  ------------------
  |  |10774|  1.01M|        }
  |  |10775|       |
  |  |10776|  2.12k|        TARGET(MAP_ADD) {
  |  |  ------------------
  |  |  |  |  132|  2.12k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10777|       |            #if _Py_TAIL_CALL_INTERP
  |  |10778|       |            int opcode = MAP_ADD;
  |  |10779|       |            (void)(opcode);
  |  |10780|       |            #endif
  |  |10781|  2.12k|            frame->instr_ptr = next_instr;
  |  |10782|  2.12k|            next_instr += 1;
  |  |10783|  2.12k|            INSTRUCTION_STATS(MAP_ADD);
  |  |  ------------------
  |  |  |  |   71|  2.12k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10784|  2.12k|            _PyStackRef dict_st;
  |  |10785|  2.12k|            _PyStackRef key;
  |  |10786|  2.12k|            _PyStackRef value;
  |  |10787|  2.12k|            value = stack_pointer[-1];
  |  |10788|  2.12k|            key = stack_pointer[-2];
  |  |10789|  2.12k|            dict_st = stack_pointer[-3 - (oparg - 1)];
  |  |10790|  2.12k|            PyObject *dict = PyStackRef_AsPyObjectBorrow(dict_st);
  |  |10791|  2.12k|            assert(PyDict_CheckExact(dict));
  |  |  ------------------
  |  |  |  Branch (10791:13): [True: 2.12k, False: 0]
  |  |  ------------------
  |  |10792|  2.12k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10793|  2.12k|            _PyFrame_StackPointerValidate(frame);
  |  |10794|  2.12k|            int err = _PyDict_SetItem_Take2(
  |  |10795|  2.12k|                (PyDictObject *)dict,
  |  |10796|  2.12k|                PyStackRef_AsPyObjectSteal(key),
  |  |10797|  2.12k|                PyStackRef_AsPyObjectSteal(value)
  |  |10798|  2.12k|            );
  |  |10799|  2.12k|            _PyFrame_StackPointerInvalidate(frame);
  |  |10800|  2.12k|            if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (10800:17): [True: 0, False: 2.12k]
  |  |  ------------------
  |  |10801|      0|                JUMP_TO_LABEL(pop_2_error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10802|      0|            }
  |  |10803|  2.12k|            stack_pointer += -2;
  |  |10804|  2.12k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.12k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10805|  2.12k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.12k|    { \
  |  |  |  |  201|  2.12k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.12k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.12k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.12k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.12k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.12k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.12k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.12k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.12k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.12k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.12k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.12k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.12k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.12k|    }
  |  |  ------------------
  |  |10806|  2.12k|        }
  |  |10807|       |
  |  |10808|      0|        TARGET(MATCH_CLASS) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10809|       |            #if _Py_TAIL_CALL_INTERP
  |  |10810|       |            int opcode = MATCH_CLASS;
  |  |10811|       |            (void)(opcode);
  |  |10812|       |            #endif
  |  |10813|      0|            frame->instr_ptr = next_instr;
  |  |10814|      0|            next_instr += 1;
  |  |10815|      0|            INSTRUCTION_STATS(MATCH_CLASS);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10816|      0|            _PyStackRef subject;
  |  |10817|      0|            _PyStackRef type;
  |  |10818|      0|            _PyStackRef names;
  |  |10819|      0|            _PyStackRef attrs;
  |  |10820|      0|            _PyStackRef s;
  |  |10821|      0|            _PyStackRef tp;
  |  |10822|      0|            _PyStackRef n;
  |  |10823|      0|            _PyStackRef value;
  |  |10824|       |            // _MATCH_CLASS
  |  |10825|      0|            {
  |  |10826|      0|                names = stack_pointer[-1];
  |  |10827|      0|                type = stack_pointer[-2];
  |  |10828|      0|                subject = stack_pointer[-3];
  |  |10829|      0|                assert(PyTuple_CheckExact(PyStackRef_AsPyObjectBorrow(names)));
  |  |  ------------------
  |  |  |  Branch (10829:17): [True: 0, False: 0]
  |  |  ------------------
  |  |10830|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10831|      0|                _PyFrame_StackPointerValidate(frame);
  |  |10832|      0|                PyObject *attrs_o = _PyEval_MatchClass(tstate,
  |  |10833|      0|                    PyStackRef_AsPyObjectBorrow(subject),
  |  |10834|      0|                    PyStackRef_AsPyObjectBorrow(type), oparg,
  |  |10835|      0|                    PyStackRef_AsPyObjectBorrow(names));
  |  |10836|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |10837|      0|                if (attrs_o) {
  |  |  ------------------
  |  |  |  Branch (10837:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10838|      0|                    assert(PyTuple_CheckExact(attrs_o));
  |  |  ------------------
  |  |  |  Branch (10838:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10839|      0|                    attrs = PyStackRef_FromPyObjectSteal(attrs_o);
  |  |10840|      0|                }
  |  |10841|      0|                else {
  |  |10842|      0|                    if (_PyErr_Occurred(tstate)) {
  |  |  ------------------
  |  |  |  Branch (10842:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10843|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10844|      0|                    }
  |  |10845|      0|                    attrs = PyStackRef_None;
  |  |  ------------------
  |  |  |  |  485|      0|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10846|      0|                }
  |  |10847|      0|                s = subject;
  |  |10848|      0|                tp = type;
  |  |10849|      0|                n = names;
  |  |10850|      0|            }
  |  |10851|       |            // _POP_TOP
  |  |10852|      0|            {
  |  |10853|      0|                value = n;
  |  |10854|      0|                stack_pointer[-3] = attrs;
  |  |10855|      0|                stack_pointer[-2] = s;
  |  |10856|      0|                stack_pointer[-1] = tp;
  |  |10857|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10857:17): [True: 0, False: 0]
  |  |  ------------------
  |  |10858|      0|                _PyFrame_StackPointerValidate(frame);
  |  |10859|      0|                PyStackRef_XCLOSE(value);
  |  |10860|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |10861|      0|            }
  |  |10862|       |            // _POP_TOP
  |  |10863|      0|            {
  |  |10864|      0|                value = tp;
  |  |10865|      0|                stack_pointer += -1;
  |  |10866|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10867|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10868|      0|                _PyFrame_StackPointerValidate(frame);
  |  |10869|      0|                PyStackRef_XCLOSE(value);
  |  |10870|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |10871|      0|            }
  |  |10872|       |            // _POP_TOP
  |  |10873|      0|            {
  |  |10874|      0|                value = s;
  |  |10875|      0|                stack_pointer += -1;
  |  |10876|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10877|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10878|      0|                _PyFrame_StackPointerValidate(frame);
  |  |10879|      0|                PyStackRef_XCLOSE(value);
  |  |10880|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |10881|      0|            }
  |  |10882|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  |10883|      0|        }
  |  |10884|       |
  |  |10885|      0|        TARGET(MATCH_KEYS) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10886|       |            #if _Py_TAIL_CALL_INTERP
  |  |10887|       |            int opcode = MATCH_KEYS;
  |  |10888|       |            (void)(opcode);
  |  |10889|       |            #endif
  |  |10890|      0|            frame->instr_ptr = next_instr;
  |  |10891|      0|            next_instr += 1;
  |  |10892|      0|            INSTRUCTION_STATS(MATCH_KEYS);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10893|      0|            _PyStackRef subject;
  |  |10894|      0|            _PyStackRef keys;
  |  |10895|      0|            _PyStackRef values_or_none;
  |  |10896|      0|            keys = stack_pointer[-1];
  |  |10897|      0|            subject = stack_pointer[-2];
  |  |10898|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10899|      0|            _PyFrame_StackPointerValidate(frame);
  |  |10900|      0|            PyObject *values_or_none_o = _PyEval_MatchKeys(tstate,
  |  |10901|      0|                PyStackRef_AsPyObjectBorrow(subject), PyStackRef_AsPyObjectBorrow(keys));
  |  |10902|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  |10903|      0|            if (values_or_none_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10903:17): [True: 0, False: 0]
  |  |  ------------------
  |  |10904|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10905|      0|            }
  |  |10906|      0|            values_or_none = PyStackRef_FromPyObjectSteal(values_or_none_o);
  |  |10907|      0|            stack_pointer[0] = values_or_none;
  |  |10908|      0|            stack_pointer += 1;
  |  |10909|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10910|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  |10911|      0|        }
  |  |10912|       |
  |  |10913|      0|        TARGET(MATCH_MAPPING) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10914|       |            #if _Py_TAIL_CALL_INTERP
  |  |10915|       |            int opcode = MATCH_MAPPING;
  |  |10916|       |            (void)(opcode);
  |  |10917|       |            #endif
  |  |10918|      0|            frame->instr_ptr = next_instr;
  |  |10919|      0|            next_instr += 1;
  |  |10920|      0|            INSTRUCTION_STATS(MATCH_MAPPING);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10921|      0|            _PyStackRef subject;
  |  |10922|      0|            _PyStackRef res;
  |  |10923|      0|            subject = stack_pointer[-1];
  |  |10924|      0|            int match = PyStackRef_TYPE(subject)->tp_flags & Py_TPFLAGS_MAPPING;
  |  |  ------------------
  |  |  |  |  492|      0|#define Py_TPFLAGS_MAPPING (1 << 6)
  |  |  ------------------
  |  |10925|      0|            res = match ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|      0|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           res = match ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|      0|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10925:19): [True: 0, False: 0]
  |  |  ------------------
  |  |10926|      0|            stack_pointer[0] = res;
  |  |10927|      0|            stack_pointer += 1;
  |  |10928|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10929|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  |10930|      0|        }
  |  |10931|       |
  |  |10932|      0|        TARGET(MATCH_SEQUENCE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10933|       |            #if _Py_TAIL_CALL_INTERP
  |  |10934|       |            int opcode = MATCH_SEQUENCE;
  |  |10935|       |            (void)(opcode);
  |  |10936|       |            #endif
  |  |10937|      0|            frame->instr_ptr = next_instr;
  |  |10938|      0|            next_instr += 1;
  |  |10939|      0|            INSTRUCTION_STATS(MATCH_SEQUENCE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10940|      0|            _PyStackRef subject;
  |  |10941|      0|            _PyStackRef res;
  |  |10942|      0|            subject = stack_pointer[-1];
  |  |10943|      0|            int match = PyStackRef_TYPE(subject)->tp_flags & Py_TPFLAGS_SEQUENCE;
  |  |  ------------------
  |  |  |  |  490|      0|#define Py_TPFLAGS_SEQUENCE (1 << 5)
  |  |  ------------------
  |  |10944|      0|            res = match ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|      0|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           res = match ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|      0|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10944:19): [True: 0, False: 0]
  |  |  ------------------
  |  |10945|      0|            stack_pointer[0] = res;
  |  |10946|      0|            stack_pointer += 1;
  |  |10947|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10948|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  |10949|      0|        }
  |  |10950|       |
  |  |10951|  48.3M|        TARGET(NOP) {
  |  |  ------------------
  |  |  |  |  132|  48.3M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10952|       |            #if _Py_TAIL_CALL_INTERP
  |  |10953|       |            int opcode = NOP;
  |  |10954|       |            (void)(opcode);
  |  |10955|       |            #endif
  |  |10956|  48.3M|            frame->instr_ptr = next_instr;
  |  |10957|  48.3M|            next_instr += 1;
  |  |10958|  48.3M|            INSTRUCTION_STATS(NOP);
  |  |  ------------------
  |  |  |  |   71|  48.3M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10959|  48.3M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  48.3M|    { \
  |  |  |  |  201|  48.3M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  48.3M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  48.3M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  48.3M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  48.3M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  48.3M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  48.3M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  48.3M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 48.3M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  48.3M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  48.3M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  48.3M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  48.3M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  48.3M|    }
  |  |  ------------------
  |  |10960|  48.3M|        }
  |  |10961|       |
  |  |10962|  48.3M|        TARGET(NOT_TAKEN) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10963|       |            #if _Py_TAIL_CALL_INTERP
  |  |10964|       |            int opcode = NOT_TAKEN;
  |  |10965|       |            (void)(opcode);
  |  |10966|       |            #endif
  |  |10967|      0|            frame->instr_ptr = next_instr;
  |  |10968|      0|            next_instr += 1;
  |  |10969|      0|            INSTRUCTION_STATS(NOT_TAKEN);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10970|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  |10971|      0|        }
  |  |10972|       |
  |  |10973|  26.8k|        TARGET(POP_EXCEPT) {
  |  |  ------------------
  |  |  |  |  132|  26.8k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10974|       |            #if _Py_TAIL_CALL_INTERP
  |  |10975|       |            int opcode = POP_EXCEPT;
  |  |10976|       |            (void)(opcode);
  |  |10977|       |            #endif
  |  |10978|  26.8k|            frame->instr_ptr = next_instr;
  |  |10979|  26.8k|            next_instr += 1;
  |  |10980|  26.8k|            INSTRUCTION_STATS(POP_EXCEPT);
  |  |  ------------------
  |  |  |  |   71|  26.8k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10981|  26.8k|            _PyStackRef exc_value;
  |  |10982|  26.8k|            exc_value = stack_pointer[-1];
  |  |10983|  26.8k|            _PyErr_StackItem *exc_info = tstate->exc_info;
  |  |10984|  26.8k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10985|  26.8k|            _PyFrame_StackPointerValidate(frame);
  |  |10986|  26.8k|            Py_XSETREF(exc_info->exc_value,
  |  |  ------------------
  |  |  |  |  374|  26.8k|    do { \
  |  |  |  |  375|  26.8k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|  26.8k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  376|  26.8k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|  26.8k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  377|  53.7k|        *_tmp_dst_ptr = (src); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (377:26): [True: 26.8k, False: 42]
  |  |  |  |  ------------------
  |  |  |  |  378|  26.8k|        Py_XDECREF(_tmp_old_dst); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|  26.8k|    do { \
  |  |  |  |  |  |   70|  26.8k|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  26.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  26.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   71|  26.8k|        if (xop != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (71:13): [True: 26.8k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   72|  26.8k|            Py_DECREF(xop); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|  26.8k|    do { \
  |  |  |  |  |  |  |  |   81|  26.8k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|  26.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|  26.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|  26.8k|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  137|  26.8k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  171|  26.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   37|  26.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 26.8k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |  |  |   86|  26.8k|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   20|  26.8k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   87|  26.8k|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (87:13): [True: 24.3k, False: 2.50k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   88|  24.3k|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  112|  24.3k|    do { \
  |  |  |  |  |  |  |  |  |  |  113|  24.3k|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  |  |  114|  24.3k|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 24.3k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  |  |  |  |  118|  24.3k|    } while(0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 24.3k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   89|  24.3k|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  213|  24.3k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  171|  24.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   37|  24.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   90|  24.3k|            (*dealloc)(op); \
  |  |  |  |  |  |  |  |   91|  24.3k|        } \
  |  |  |  |  |  |  |  |   92|  26.8k|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 26.8k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   73|  26.8k|        } \
  |  |  |  |  |  |   74|  26.8k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (74:14): [Folded, False: 26.8k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  379|  26.8k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 26.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10987|  26.8k|                       PyStackRef_IsNone(exc_value)
  |  |10988|  26.8k|                       ? NULL : PyStackRef_AsPyObjectSteal(exc_value));
  |  |10989|  26.8k|            _PyFrame_StackPointerInvalidate(frame);
  |  |10990|  26.8k|            stack_pointer += -1;
  |  |10991|  26.8k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  26.8k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10992|  26.8k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  26.8k|    { \
  |  |  |  |  201|  26.8k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  26.8k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  26.8k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  26.8k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  26.8k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  26.8k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  26.8k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  26.8k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 26.8k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  26.8k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  26.8k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  26.8k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  26.8k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  26.8k|    }
  |  |  ------------------
  |  |10993|  26.8k|        }
  |  |10994|       |
  |  |10995|  24.6M|        TARGET(POP_ITER) {
  |  |  ------------------
  |  |  |  |  132|  24.6M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10996|       |            #if _Py_TAIL_CALL_INTERP
  |  |10997|       |            int opcode = POP_ITER;
  |  |10998|       |            (void)(opcode);
  |  |10999|       |            #endif
  |  |11000|  24.6M|            frame->instr_ptr = next_instr;
  |  |11001|  24.6M|            next_instr += 1;
  |  |11002|  24.6M|            INSTRUCTION_STATS(POP_ITER);
  |  |  ------------------
  |  |  |  |   71|  24.6M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11003|  24.6M|            _PyStackRef iter;
  |  |11004|  24.6M|            _PyStackRef index_or_null;
  |  |11005|  24.6M|            index_or_null = stack_pointer[-1];
  |  |11006|  24.6M|            iter = stack_pointer[-2];
  |  |11007|  24.6M|            (void)index_or_null;
  |  |11008|  24.6M|            stack_pointer += -2;
  |  |11009|  24.6M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  24.6M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11010|  24.6M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11011|  24.6M|            _PyFrame_StackPointerValidate(frame);
  |  |11012|  24.6M|            PyStackRef_CLOSE(iter);
  |  |11013|  24.6M|            _PyFrame_StackPointerInvalidate(frame);
  |  |11014|  24.6M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  24.6M|    { \
  |  |  |  |  201|  24.6M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  24.6M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  24.6M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  24.6M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  24.6M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  24.6M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  24.6M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  24.6M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 24.6M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  24.6M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  24.6M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  24.6M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  24.6M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  24.6M|    }
  |  |  ------------------
  |  |11015|  24.6M|        }
  |  |11016|       |
  |  |11017|   270M|        TARGET(POP_JUMP_IF_FALSE) {
  |  |  ------------------
  |  |  |  |  132|   270M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11018|       |            #if _Py_TAIL_CALL_INTERP
  |  |11019|       |            int opcode = POP_JUMP_IF_FALSE;
  |  |11020|       |            (void)(opcode);
  |  |11021|       |            #endif
  |  |11022|   270M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11023|   270M|            (void)this_instr;
  |  |11024|   270M|            frame->instr_ptr = next_instr;
  |  |11025|   270M|            next_instr += 2;
  |  |11026|   270M|            INSTRUCTION_STATS(POP_JUMP_IF_FALSE);
  |  |  ------------------
  |  |  |  |   71|   270M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11027|   270M|            _PyStackRef cond;
  |  |11028|       |            /* Skip 1 cache entry */
  |  |11029|   270M|            cond = stack_pointer[-1];
  |  |11030|   270M|            assert(PyStackRef_BoolCheck(cond));
  |  |  ------------------
  |  |  |  Branch (11030:13): [True: 270M, False: 0]
  |  |  ------------------
  |  |11031|   270M|            int flag = PyStackRef_IsFalse(cond);
  |  |  ------------------
  |  |  |  |  494|   270M|#define PyStackRef_IsFalse(REF) ((REF).bits == (((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   270M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11032|   270M|            RECORD_BRANCH_TAKEN(this_instr[1].cache, flag);
  |  |  ------------------
  |  |  |  |  374|   270M|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   270M|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  375|   270M|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  |11033|   270M|            JUMPBY(flag ? oparg : next_instr->op.code == NOT_TAKEN);
  |  |  ------------------
  |  |  |  |  261|   540M|#define JUMPBY(x)       (next_instr += (x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (261:41): [True: 204M, False: 66.2M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11034|   270M|            stack_pointer += -1;
  |  |11035|   270M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   270M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11036|   270M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   270M|    { \
  |  |  |  |  201|   270M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   270M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   270M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   270M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   270M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   270M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   270M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   270M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 270M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   270M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   270M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   270M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   270M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   270M|    }
  |  |  ------------------
  |  |11037|   270M|        }
  |  |11038|       |
  |  |11039|  15.6M|        TARGET(POP_JUMP_IF_NONE) {
  |  |  ------------------
  |  |  |  |  132|  15.6M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11040|       |            #if _Py_TAIL_CALL_INTERP
  |  |11041|       |            int opcode = POP_JUMP_IF_NONE;
  |  |11042|       |            (void)(opcode);
  |  |11043|       |            #endif
  |  |11044|  15.6M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11045|  15.6M|            (void)this_instr;
  |  |11046|  15.6M|            frame->instr_ptr = next_instr;
  |  |11047|  15.6M|            next_instr += 2;
  |  |11048|  15.6M|            INSTRUCTION_STATS(POP_JUMP_IF_NONE);
  |  |  ------------------
  |  |  |  |   71|  15.6M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11049|  15.6M|            _PyStackRef value;
  |  |11050|  15.6M|            _PyStackRef b;
  |  |11051|  15.6M|            _PyStackRef cond;
  |  |11052|       |            /* Skip 1 cache entry */
  |  |11053|       |            // _IS_NONE
  |  |11054|  15.6M|            {
  |  |11055|  15.6M|                value = stack_pointer[-1];
  |  |11056|  15.6M|                if (PyStackRef_IsNone(value)) {
  |  |  ------------------
  |  |  |  |  495|  15.6M|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  15.6M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (495:32): [True: 11.9M, False: 3.77M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11057|  11.9M|                    b = PyStackRef_True;
  |  |  ------------------
  |  |  |  |  483|  11.9M|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  11.9M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11058|  11.9M|                }
  |  |11059|  3.77M|                else {
  |  |11060|  3.77M|                    b = PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  3.77M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  3.77M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11061|  3.77M|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11062|  3.77M|                    _PyFrame_StackPointerValidate(frame);
  |  |11063|  3.77M|                    _PyStackRef tmp = value;
  |  |11064|  3.77M|                    value = b;
  |  |11065|  3.77M|                    stack_pointer[-1] = value;
  |  |11066|  3.77M|                    PyStackRef_CLOSE(tmp);
  |  |11067|  3.77M|                    _PyFrame_StackPointerInvalidate(frame);
  |  |11068|  3.77M|                }
  |  |11069|  15.6M|            }
  |  |11070|       |            // _POP_JUMP_IF_TRUE
  |  |11071|  15.6M|            {
  |  |11072|  15.6M|                cond = b;
  |  |11073|  15.6M|                assert(PyStackRef_BoolCheck(cond));
  |  |  ------------------
  |  |  |  Branch (11073:17): [True: 15.6M, False: 0]
  |  |  ------------------
  |  |11074|  15.6M|                int flag = PyStackRef_IsTrue(cond);
  |  |  ------------------
  |  |  |  |  493|  15.6M|#define PyStackRef_IsTrue(REF) ((REF).bits == (((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  15.6M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11075|  15.6M|                RECORD_BRANCH_TAKEN(this_instr[1].cache, flag);
  |  |  ------------------
  |  |  |  |  374|  15.6M|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  15.6M|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  375|  15.6M|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  |11076|  15.6M|                JUMPBY(flag ? oparg : next_instr->op.code == NOT_TAKEN);
  |  |  ------------------
  |  |  |  |  261|  31.3M|#define JUMPBY(x)       (next_instr += (x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (261:41): [True: 11.9M, False: 3.77M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11077|  15.6M|            }
  |  |11078|      0|            stack_pointer += -1;
  |  |11079|  15.6M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  15.6M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11080|  15.6M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  15.6M|    { \
  |  |  |  |  201|  15.6M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  15.6M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  15.6M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  15.6M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  15.6M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  15.6M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  15.6M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  15.6M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 15.6M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  15.6M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  15.6M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  15.6M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  15.6M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  15.6M|    }
  |  |  ------------------
  |  |11081|  15.6M|        }
  |  |11082|       |
  |  |11083|  27.7M|        TARGET(POP_JUMP_IF_NOT_NONE) {
  |  |  ------------------
  |  |  |  |  132|  27.7M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11084|       |            #if _Py_TAIL_CALL_INTERP
  |  |11085|       |            int opcode = POP_JUMP_IF_NOT_NONE;
  |  |11086|       |            (void)(opcode);
  |  |11087|       |            #endif
  |  |11088|  27.7M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11089|  27.7M|            (void)this_instr;
  |  |11090|  27.7M|            frame->instr_ptr = next_instr;
  |  |11091|  27.7M|            next_instr += 2;
  |  |11092|  27.7M|            INSTRUCTION_STATS(POP_JUMP_IF_NOT_NONE);
  |  |  ------------------
  |  |  |  |   71|  27.7M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11093|  27.7M|            _PyStackRef value;
  |  |11094|  27.7M|            _PyStackRef b;
  |  |11095|  27.7M|            _PyStackRef cond;
  |  |11096|       |            /* Skip 1 cache entry */
  |  |11097|       |            // _IS_NONE
  |  |11098|  27.7M|            {
  |  |11099|  27.7M|                value = stack_pointer[-1];
  |  |11100|  27.7M|                if (PyStackRef_IsNone(value)) {
  |  |  ------------------
  |  |  |  |  495|  27.7M|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  27.7M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (495:32): [True: 6.74M, False: 21.0M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11101|  6.74M|                    b = PyStackRef_True;
  |  |  ------------------
  |  |  |  |  483|  6.74M|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  6.74M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11102|  6.74M|                }
  |  |11103|  21.0M|                else {
  |  |11104|  21.0M|                    b = PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  21.0M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  21.0M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11105|  21.0M|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11106|  21.0M|                    _PyFrame_StackPointerValidate(frame);
  |  |11107|  21.0M|                    _PyStackRef tmp = value;
  |  |11108|  21.0M|                    value = b;
  |  |11109|  21.0M|                    stack_pointer[-1] = value;
  |  |11110|  21.0M|                    PyStackRef_CLOSE(tmp);
  |  |11111|  21.0M|                    _PyFrame_StackPointerInvalidate(frame);
  |  |11112|  21.0M|                }
  |  |11113|  27.7M|            }
  |  |11114|       |            // _POP_JUMP_IF_FALSE
  |  |11115|  27.7M|            {
  |  |11116|  27.7M|                cond = b;
  |  |11117|  27.7M|                assert(PyStackRef_BoolCheck(cond));
  |  |  ------------------
  |  |  |  Branch (11117:17): [True: 27.7M, False: 0]
  |  |  ------------------
  |  |11118|  27.7M|                int flag = PyStackRef_IsFalse(cond);
  |  |  ------------------
  |  |  |  |  494|  27.7M|#define PyStackRef_IsFalse(REF) ((REF).bits == (((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  27.7M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11119|  27.7M|                RECORD_BRANCH_TAKEN(this_instr[1].cache, flag);
  |  |  ------------------
  |  |  |  |  374|  27.7M|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  27.7M|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  375|  27.7M|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  |11120|  27.7M|                JUMPBY(flag ? oparg : next_instr->op.code == NOT_TAKEN);
  |  |  ------------------
  |  |  |  |  261|  55.5M|#define JUMPBY(x)       (next_instr += (x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (261:41): [True: 21.0M, False: 6.74M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11121|  27.7M|            }
  |  |11122|      0|            stack_pointer += -1;
  |  |11123|  27.7M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  27.7M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11124|  27.7M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  27.7M|    { \
  |  |  |  |  201|  27.7M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  27.7M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  27.7M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  27.7M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  27.7M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  27.7M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  27.7M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  27.7M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 27.7M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  27.7M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  27.7M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  27.7M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  27.7M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  27.7M|    }
  |  |  ------------------
  |  |11125|  27.7M|        }
  |  |11126|       |
  |  |11127|  40.1M|        TARGET(POP_JUMP_IF_TRUE) {
  |  |  ------------------
  |  |  |  |  132|  40.1M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11128|       |            #if _Py_TAIL_CALL_INTERP
  |  |11129|       |            int opcode = POP_JUMP_IF_TRUE;
  |  |11130|       |            (void)(opcode);
  |  |11131|       |            #endif
  |  |11132|  40.1M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11133|  40.1M|            (void)this_instr;
  |  |11134|  40.1M|            frame->instr_ptr = next_instr;
  |  |11135|  40.1M|            next_instr += 2;
  |  |11136|  40.1M|            INSTRUCTION_STATS(POP_JUMP_IF_TRUE);
  |  |  ------------------
  |  |  |  |   71|  40.1M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11137|  40.1M|            _PyStackRef cond;
  |  |11138|       |            /* Skip 1 cache entry */
  |  |11139|  40.1M|            cond = stack_pointer[-1];
  |  |11140|  40.1M|            assert(PyStackRef_BoolCheck(cond));
  |  |  ------------------
  |  |  |  Branch (11140:13): [True: 40.1M, False: 0]
  |  |  ------------------
  |  |11141|  40.1M|            int flag = PyStackRef_IsTrue(cond);
  |  |  ------------------
  |  |  |  |  493|  40.1M|#define PyStackRef_IsTrue(REF) ((REF).bits == (((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  40.1M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11142|  40.1M|            RECORD_BRANCH_TAKEN(this_instr[1].cache, flag);
  |  |  ------------------
  |  |  |  |  374|  40.1M|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  40.1M|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  375|  40.1M|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  |11143|  40.1M|            JUMPBY(flag ? oparg : next_instr->op.code == NOT_TAKEN);
  |  |  ------------------
  |  |  |  |  261|  80.3M|#define JUMPBY(x)       (next_instr += (x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (261:41): [True: 15.0M, False: 25.1M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11144|  40.1M|            stack_pointer += -1;
  |  |11145|  40.1M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  40.1M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11146|  40.1M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  40.1M|    { \
  |  |  |  |  201|  40.1M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  40.1M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  40.1M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  40.1M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  40.1M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  40.1M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  40.1M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  40.1M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 40.1M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  40.1M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  40.1M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  40.1M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  40.1M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  40.1M|    }
  |  |  ------------------
  |  |11147|  40.1M|        }
  |  |11148|       |
  |  |11149|   108M|        TARGET(POP_TOP) {
  |  |  ------------------
  |  |  |  |  132|   108M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11150|       |            #if _Py_TAIL_CALL_INTERP
  |  |11151|       |            int opcode = POP_TOP;
  |  |11152|       |            (void)(opcode);
  |  |11153|       |            #endif
  |  |11154|   108M|            frame->instr_ptr = next_instr;
  |  |11155|   108M|            next_instr += 1;
  |  |11156|   108M|            INSTRUCTION_STATS(POP_TOP);
  |  |  ------------------
  |  |  |  |   71|   108M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11157|   108M|            _PyStackRef value;
  |  |11158|   108M|            value = stack_pointer[-1];
  |  |11159|   108M|            stack_pointer += -1;
  |  |11160|   108M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   108M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11161|   108M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11162|   108M|            _PyFrame_StackPointerValidate(frame);
  |  |11163|   108M|            PyStackRef_XCLOSE(value);
  |  |11164|   108M|            _PyFrame_StackPointerInvalidate(frame);
  |  |11165|   108M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   108M|    { \
  |  |  |  |  201|   108M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   108M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   108M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   108M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   108M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   108M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   108M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   108M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 108M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   108M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   108M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   108M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   108M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   108M|    }
  |  |  ------------------
  |  |11166|   108M|        }
  |  |11167|       |
  |  |11168|   108M|        TARGET(PUSH_EXC_INFO) {
  |  |  ------------------
  |  |  |  |  132|  26.8k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11169|       |            #if _Py_TAIL_CALL_INTERP
  |  |11170|       |            int opcode = PUSH_EXC_INFO;
  |  |11171|       |            (void)(opcode);
  |  |11172|       |            #endif
  |  |11173|  26.8k|            frame->instr_ptr = next_instr;
  |  |11174|  26.8k|            next_instr += 1;
  |  |11175|  26.8k|            INSTRUCTION_STATS(PUSH_EXC_INFO);
  |  |  ------------------
  |  |  |  |   71|  26.8k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11176|  26.8k|            _PyStackRef exc;
  |  |11177|  26.8k|            _PyStackRef prev_exc;
  |  |11178|  26.8k|            _PyStackRef new_exc;
  |  |11179|  26.8k|            exc = stack_pointer[-1];
  |  |11180|  26.8k|            _PyErr_StackItem *exc_info = tstate->exc_info;
  |  |11181|  26.8k|            if (exc_info->exc_value != NULL) {
  |  |  ------------------
  |  |  |  Branch (11181:17): [True: 42, False: 26.8k]
  |  |  ------------------
  |  |11182|     42|                prev_exc = PyStackRef_FromPyObjectSteal(exc_info->exc_value);
  |  |11183|     42|            }
  |  |11184|  26.8k|            else {
  |  |11185|  26.8k|                prev_exc = PyStackRef_None;
  |  |  ------------------
  |  |  |  |  485|  26.8k|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  26.8k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11186|  26.8k|            }
  |  |11187|  26.8k|            assert(PyStackRef_ExceptionInstanceCheck(exc));
  |  |  ------------------
  |  |  |  Branch (11187:13): [True: 26.8k, False: 0]
  |  |  ------------------
  |  |11188|  26.8k|            exc_info->exc_value = PyStackRef_AsPyObjectNew(exc);
  |  |  ------------------
  |  |  |  |  757|  26.8k|#define PyStackRef_AsPyObjectNew(stackref) Py_NewRef(PyStackRef_AsPyObjectBorrow(stackref))
  |  |  |  |  ------------------
  |  |  |  |  |  |  550|  26.8k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  26.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  26.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11189|  26.8k|            new_exc = exc;
  |  |11190|  26.8k|            stack_pointer[-1] = prev_exc;
  |  |11191|  26.8k|            stack_pointer[0] = new_exc;
  |  |11192|  26.8k|            stack_pointer += 1;
  |  |11193|  26.8k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  26.8k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11194|  26.8k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  26.8k|    { \
  |  |  |  |  201|  26.8k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  26.8k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  26.8k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  26.8k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  26.8k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  26.8k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  26.8k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  26.8k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 26.8k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  26.8k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  26.8k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  26.8k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  26.8k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  26.8k|    }
  |  |  ------------------
  |  |11195|  26.8k|        }
  |  |11196|       |
  |  |11197|  80.4M|        TARGET(PUSH_NULL) {
  |  |  ------------------
  |  |  |  |  132|  80.4M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11198|       |            #if _Py_TAIL_CALL_INTERP
  |  |11199|       |            int opcode = PUSH_NULL;
  |  |11200|       |            (void)(opcode);
  |  |11201|       |            #endif
  |  |11202|  80.4M|            frame->instr_ptr = next_instr;
  |  |11203|  80.4M|            next_instr += 1;
  |  |11204|  80.4M|            INSTRUCTION_STATS(PUSH_NULL);
  |  |  ------------------
  |  |  |  |   71|  80.4M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11205|  80.4M|            _PyStackRef res;
  |  |11206|  80.4M|            res = PyStackRef_NULL;
  |  |11207|  80.4M|            stack_pointer[0] = res;
  |  |11208|  80.4M|            stack_pointer += 1;
  |  |11209|  80.4M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  80.4M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11210|  80.4M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  80.4M|    { \
  |  |  |  |  201|  80.4M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  80.4M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  80.4M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  80.4M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  80.4M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  80.4M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  80.4M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  80.4M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 80.4M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  80.4M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  80.4M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  80.4M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  80.4M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  80.4M|    }
  |  |  ------------------
  |  |11211|  80.4M|        }
  |  |11212|       |
  |  |11213|  80.4M|        TARGET(RAISE_VARARGS) {
  |  |  ------------------
  |  |  |  |  132|  2.39k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11214|       |            #if _Py_TAIL_CALL_INTERP
  |  |11215|       |            int opcode = RAISE_VARARGS;
  |  |11216|       |            (void)(opcode);
  |  |11217|       |            #endif
  |  |11218|  2.39k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11219|  2.39k|            (void)this_instr;
  |  |11220|  2.39k|            frame->instr_ptr = next_instr;
  |  |11221|  2.39k|            next_instr += 1;
  |  |11222|  2.39k|            INSTRUCTION_STATS(RAISE_VARARGS);
  |  |  ------------------
  |  |  |  |   71|  2.39k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11223|  2.39k|            _PyStackRef *args;
  |  |11224|  2.39k|            args = &stack_pointer[-oparg];
  |  |11225|  2.39k|            assert(oparg < 3);
  |  |  ------------------
  |  |  |  Branch (11225:13): [True: 2.39k, False: 0]
  |  |  ------------------
  |  |11226|  2.39k|            PyObject *cause = oparg == 2 ? PyStackRef_AsPyObjectSteal(args[1]) : NULL;
  |  |  ------------------
  |  |  |  Branch (11226:31): [True: 101, False: 2.29k]
  |  |  ------------------
  |  |11227|  2.39k|            PyObject *exc = oparg > 0 ? PyStackRef_AsPyObjectSteal(args[0]) : NULL;
  |  |  ------------------
  |  |  |  Branch (11227:29): [True: 2.39k, False: 0]
  |  |  ------------------
  |  |11228|  2.39k|            stack_pointer += -oparg;
  |  |11229|  2.39k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.39k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11230|  2.39k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11231|  2.39k|            _PyFrame_StackPointerValidate(frame);
  |  |11232|  2.39k|            int err = do_raise(tstate, exc, cause);
  |  |11233|  2.39k|            _PyFrame_StackPointerInvalidate(frame);
  |  |11234|  2.39k|            if (err) {
  |  |  ------------------
  |  |  |  Branch (11234:17): [True: 0, False: 2.39k]
  |  |  ------------------
  |  |11235|      0|                assert(oparg == 0);
  |  |  ------------------
  |  |  |  Branch (11235:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11236|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11236:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11237|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11238|      0|                monitor_reraise(tstate, frame, this_instr);
  |  |11239|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11240|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11240:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11241|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11242|      0|                JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11243|      0|            }
  |  |11244|  2.39k|            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|  2.39k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11245|      0|        }
  |  |11246|       |
  |  |11247|  37.0k|        TARGET(RERAISE) {
  |  |  ------------------
  |  |  |  |  132|  37.0k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11248|       |            #if _Py_TAIL_CALL_INTERP
  |  |11249|       |            int opcode = RERAISE;
  |  |11250|       |            (void)(opcode);
  |  |11251|       |            #endif
  |  |11252|  37.0k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11253|  37.0k|            (void)this_instr;
  |  |11254|  37.0k|            frame->instr_ptr = next_instr;
  |  |11255|  37.0k|            next_instr += 1;
  |  |11256|  37.0k|            INSTRUCTION_STATS(RERAISE);
  |  |  ------------------
  |  |  |  |   71|  37.0k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11257|  37.0k|            _PyStackRef *values;
  |  |11258|  37.0k|            _PyStackRef exc_st;
  |  |11259|  37.0k|            exc_st = stack_pointer[-1];
  |  |11260|  37.0k|            values = &stack_pointer[-1 - oparg];
  |  |11261|  37.0k|            PyObject *exc = PyStackRef_AsPyObjectSteal(exc_st);
  |  |11262|  37.0k|            assert(oparg >= 0 && oparg <= 2);
  |  |  ------------------
  |  |  |  Branch (11262:13): [True: 37.0k, False: 0]
  |  |  |  Branch (11262:13): [True: 37.0k, False: 0]
  |  |  ------------------
  |  |11263|  37.0k|            if (oparg) {
  |  |  ------------------
  |  |  |  Branch (11263:17): [True: 34.6k, False: 2.39k]
  |  |  ------------------
  |  |11264|  34.6k|                frame->instr_ptr = _PyFrame_GetBytecode(frame) + PyStackRef_UntagInt(values[0]);
  |  |11265|  34.6k|            }
  |  |11266|  37.0k|            assert(exc && PyExceptionInstance_Check(exc));
  |  |  ------------------
  |  |  |  Branch (11266:13): [True: 37.0k, False: 0]
  |  |  |  Branch (11266:13): [True: 37.0k, False: 0]
  |  |  ------------------
  |  |11267|  37.0k|            stack_pointer += -1;
  |  |11268|  37.0k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  37.0k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11269|  37.0k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11270|  37.0k|            _PyFrame_StackPointerValidate(frame);
  |  |11271|  37.0k|            _PyErr_SetRaisedException(tstate, exc);
  |  |11272|  37.0k|            _PyFrame_StackPointerInvalidate(frame);
  |  |11273|  37.0k|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11273:13): [True: 37.0k, False: 0]
  |  |  ------------------
  |  |11274|  37.0k|            _PyFrame_StackPointerValidate(frame);
  |  |11275|  37.0k|            monitor_reraise(tstate, frame, this_instr);
  |  |11276|  37.0k|            _PyFrame_StackPointerInvalidate(frame);
  |  |11277|  37.0k|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11277:13): [True: 37.0k, False: 0]
  |  |  ------------------
  |  |11278|  37.0k|            _PyFrame_StackPointerValidate(frame);
  |  |11279|  37.0k|            JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|  37.0k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11280|      0|        }
  |  |11281|       |
  |  |11282|      0|        TARGET(RESERVED) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11283|       |            #if _Py_TAIL_CALL_INTERP
  |  |11284|       |            int opcode = RESERVED;
  |  |11285|       |            (void)(opcode);
  |  |11286|       |            #endif
  |  |11287|      0|            frame->instr_ptr = next_instr;
  |  |11288|      0|            next_instr += 1;
  |  |11289|      0|            INSTRUCTION_STATS(RESERVED);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11290|      0|            assert(0 && "Executing RESERVED instruction.");
  |  |  ------------------
  |  |  |  Branch (11290:13): [Folded, False: 0]
  |  |  |  Branch (11290:13): [True: 0, False: 0]
  |  |  ------------------
  |  |11291|      0|            Py_FatalError("Executing RESERVED instruction.");
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  |  |11292|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  |11293|      0|        }
  |  |11294|       |
  |  |11295|  14.9k|        TARGET(RESUME) {
  |  |  ------------------
  |  |  |  |  132|  14.9k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11296|       |            #if _Py_TAIL_CALL_INTERP
  |  |11297|       |            int opcode = RESUME;
  |  |11298|       |            (void)(opcode);
  |  |11299|       |            #endif
  |  |11300|  14.9k|            frame->instr_ptr = next_instr;
  |  |11301|  14.9k|            next_instr += 2;
  |  |11302|  14.9k|            INSTRUCTION_STATS(RESUME);
  |  |  ------------------
  |  |  |  |   71|  14.9k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11303|  28.9k|            PREDICTED_RESUME:;
  |  |11304|  28.9k|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  |11305|  28.9k|            (void)this_instr;
  |  |11306|       |            // _LOAD_BYTECODE
  |  |11307|  28.9k|            {
  |  |11308|       |                #ifdef Py_GIL_DISABLED
  |  |11309|       |                if (frame->tlbc_index !=
  |  |11310|       |                    ((_PyThreadStateImpl *)tstate)->tlbc_index) {
  |  |11311|       |                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11312|       |                    _PyFrame_StackPointerValidate(frame);
  |  |11313|       |                    _Py_CODEUNIT *bytecode =
  |  |11314|       |                    _PyEval_GetExecutableCode(tstate, _PyFrame_GetCode(frame));
  |  |11315|       |                    _PyFrame_StackPointerInvalidate(frame);
  |  |11316|       |                    if (bytecode == NULL) {
  |  |11317|       |                        JUMP_TO_LABEL(error);
  |  |11318|       |                    }
  |  |11319|       |                    ptrdiff_t off = this_instr - _PyFrame_GetBytecode(frame);
  |  |11320|       |                    frame->tlbc_index = ((_PyThreadStateImpl *)tstate)->tlbc_index;
  |  |11321|       |                    frame->instr_ptr = bytecode + off;
  |  |11322|       |                    next_instr = frame->instr_ptr;
  |  |11323|       |                    DISPATCH();
  |  |11324|       |                }
  |  |11325|       |                #endif
  |  |11326|  28.9k|            }
  |  |11327|       |            // _MAYBE_INSTRUMENT
  |  |11328|  28.9k|            {
  |  |11329|       |                #ifdef Py_GIL_DISABLED
  |  |11330|       |
  |  |11331|       |                int check_instrumentation = 1;
  |  |11332|       |                #else
  |  |11333|  28.9k|                int check_instrumentation = (tstate->tracing == 0);
  |  |11334|  28.9k|                #endif
  |  |11335|  28.9k|                if (check_instrumentation) {
  |  |  ------------------
  |  |  |  Branch (11335:21): [True: 28.9k, False: 0]
  |  |  ------------------
  |  |11336|  28.9k|                    uintptr_t global_version = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker) & ~_PY_EVAL_EVENTS_MASK;
  |  |  ------------------
  |  |  |  |  356|  28.9k|#define _PY_EVAL_EVENTS_MASK ((1 << _PY_EVAL_EVENTS_BITS)-1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  355|  28.9k|#define _PY_EVAL_EVENTS_BITS 8
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11337|  28.9k|                    uintptr_t code_version = FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(_PyFrame_GetCode(frame)->_co_instrumentation_version);
  |  |  ------------------
  |  |  |  |  152|  28.9k|#define FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(value) value
  |  |  ------------------
  |  |11338|  28.9k|                    if (code_version != global_version) {
  |  |  ------------------
  |  |  |  Branch (11338:25): [True: 0, False: 28.9k]
  |  |  ------------------
  |  |11339|      0|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11340|      0|                        _PyFrame_StackPointerValidate(frame);
  |  |11341|      0|                        int err = _Py_Instrument(_PyFrame_GetCode(frame), tstate->interp);
  |  |11342|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  |11343|      0|                        if (err) {
  |  |  ------------------
  |  |  |  Branch (11343:29): [True: 0, False: 0]
  |  |  ------------------
  |  |11344|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11345|      0|                        }
  |  |11346|      0|                        next_instr = this_instr;
  |  |11347|      0|                        DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  |11348|      0|                    }
  |  |11349|  28.9k|                }
  |  |11350|  28.9k|            }
  |  |11351|       |            // _QUICKEN_RESUME
  |  |11352|  28.9k|            {
  |  |11353|  28.9k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |11354|  28.9k|                (void)counter;
  |  |11355|  28.9k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11356|  28.9k|                _PyFrame_StackPointerValidate(frame);
  |  |11357|  28.9k|                _Py_Specialize_Resume(this_instr, tstate, frame);
  |  |11358|  28.9k|                _PyFrame_StackPointerInvalidate(frame);
  |  |11359|  28.9k|            }
  |  |11360|       |            // _CHECK_PERIODIC_IF_NOT_YIELD_FROM
  |  |11361|  28.9k|            {
  |  |11362|  28.9k|                if ((oparg & RESUME_OPARG_LOCATION_MASK) < RESUME_AFTER_YIELD_FROM) {
  |  |  ------------------
  |  |  |  |   94|  28.9k|#define RESUME_OPARG_LOCATION_MASK 0x7
  |  |  ------------------
  |  |                               if ((oparg & RESUME_OPARG_LOCATION_MASK) < RESUME_AFTER_YIELD_FROM) {
  |  |  ------------------
  |  |  |  |   90|  28.9k|#define RESUME_AFTER_YIELD_FROM 2
  |  |  ------------------
  |  |  |  Branch (11362:21): [True: 28.9k, False: 22]
  |  |  ------------------
  |  |11363|  28.9k|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11363:21): [True: 28.9k, False: 0]
  |  |  ------------------
  |  |11364|  28.9k|                    _PyFrame_StackPointerValidate(frame);
  |  |11365|  28.9k|                    int err = check_periodics(tstate);
  |  |11366|  28.9k|                    _PyFrame_StackPointerInvalidate(frame);
  |  |11367|  28.9k|                    if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (11367:25): [True: 0, False: 28.9k]
  |  |  ------------------
  |  |11368|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11369|      0|                    }
  |  |11370|  28.9k|                }
  |  |11371|  28.9k|            }
  |  |11372|  28.9k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  28.9k|    { \
  |  |  |  |  201|  28.9k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  28.9k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  28.9k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  28.9k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  28.9k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  28.9k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  28.9k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  28.9k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 28.9k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  28.9k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  28.9k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  28.9k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  28.9k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  28.9k|    }
  |  |  ------------------
  |  |11373|  28.9k|        }
  |  |11374|       |
  |  |11375|   151M|        TARGET(RESUME_CHECK) {
  |  |  ------------------
  |  |  |  |  132|   151M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11376|       |            #if _Py_TAIL_CALL_INTERP
  |  |11377|       |            int opcode = RESUME_CHECK;
  |  |11378|       |            (void)(opcode);
  |  |11379|       |            #endif
  |  |11380|   151M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11381|   151M|            (void)this_instr;
  |  |11382|   151M|            frame->instr_ptr = next_instr;
  |  |11383|   151M|            next_instr += 2;
  |  |11384|   151M|            INSTRUCTION_STATS(RESUME_CHECK);
  |  |  ------------------
  |  |  |  |   71|   151M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11385|   151M|            static_assert(1 == 1, "incorrect cache size");
  |  |11386|       |            /* Skip 1 cache entry */
  |  |11387|       |            #if defined(__EMSCRIPTEN__)
  |  |11388|       |            if (_Py_emscripten_signal_clock == 0) {
  |  |11389|       |                UPDATE_MISS_STATS(RESUME);
  |  |11390|       |                assert(_PyOpcode_Deopt[opcode] == (RESUME));
  |  |11391|       |                JUMP_TO_PREDICTED(RESUME);
  |  |11392|       |            }
  |  |11393|       |            _Py_emscripten_signal_clock -= Py_EMSCRIPTEN_SIGNAL_HANDLING;
  |  |11394|       |            #endif
  |  |11395|   151M|            uintptr_t eval_breaker = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker);
  |  |11396|   151M|            uintptr_t version = FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(_PyFrame_GetCode(frame)->_co_instrumentation_version);
  |  |  ------------------
  |  |  |  |  152|   151M|#define FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(value) value
  |  |  ------------------
  |  |11397|   151M|            assert((version & _PY_EVAL_EVENTS_MASK) == 0);
  |  |  ------------------
  |  |  |  Branch (11397:13): [True: 151M, False: 0]
  |  |  ------------------
  |  |11398|   151M|            if (eval_breaker != version) {
  |  |  ------------------
  |  |  |  Branch (11398:17): [True: 14.0k, False: 151M]
  |  |  ------------------
  |  |11399|  14.0k|                UPDATE_MISS_STATS(RESUME);
  |  |  ------------------
  |  |  |  |  299|  14.0k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11400|  14.0k|                assert(_PyOpcode_Deopt[opcode] == (RESUME));
  |  |  ------------------
  |  |  |  Branch (11400:17): [True: 14.0k, False: 0]
  |  |  ------------------
  |  |11401|  14.0k|                JUMP_TO_PREDICTED(RESUME);
  |  |  ------------------
  |  |  |  |  136|  14.0k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11402|      0|            }
  |  |11403|       |            #ifdef Py_GIL_DISABLED
  |  |11404|       |            if (frame->tlbc_index !=
  |  |11405|       |                ((_PyThreadStateImpl *)tstate)->tlbc_index) {
  |  |11406|       |                UPDATE_MISS_STATS(RESUME);
  |  |11407|       |                assert(_PyOpcode_Deopt[opcode] == (RESUME));
  |  |11408|       |                JUMP_TO_PREDICTED(RESUME);
  |  |11409|       |            }
  |  |11410|       |            #endif
  |  |11411|   151M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   151M|    { \
  |  |  |  |  201|   151M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   151M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   151M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   151M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   151M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   151M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   151M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   151M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 151M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   151M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   151M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   151M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   151M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   151M|    }
  |  |  ------------------
  |  |11412|   151M|        }
  |  |11413|       |
  |  |11414|      0|        TARGET(RESUME_CHECK_JIT) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11415|       |            #if _Py_TAIL_CALL_INTERP
  |  |11416|       |            int opcode = RESUME_CHECK_JIT;
  |  |11417|       |            (void)(opcode);
  |  |11418|       |            #endif
  |  |11419|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11420|      0|            (void)this_instr;
  |  |11421|      0|            frame->instr_ptr = next_instr;
  |  |11422|      0|            next_instr += 2;
  |  |11423|      0|            INSTRUCTION_STATS(RESUME_CHECK_JIT);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11424|      0|            static_assert(1 == 1, "incorrect cache size");
  |  |11425|       |            /* Skip 1 cache entry */
  |  |11426|       |            // _RESUME_CHECK
  |  |11427|      0|            {
  |  |11428|       |                #if defined(__EMSCRIPTEN__)
  |  |11429|       |                if (_Py_emscripten_signal_clock == 0) {
  |  |11430|       |                    UPDATE_MISS_STATS(RESUME);
  |  |11431|       |                    assert(_PyOpcode_Deopt[opcode] == (RESUME));
  |  |11432|       |                    JUMP_TO_PREDICTED(RESUME);
  |  |11433|       |                }
  |  |11434|       |                _Py_emscripten_signal_clock -= Py_EMSCRIPTEN_SIGNAL_HANDLING;
  |  |11435|       |                #endif
  |  |11436|      0|                uintptr_t eval_breaker = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker);
  |  |11437|      0|                uintptr_t version = FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(_PyFrame_GetCode(frame)->_co_instrumentation_version);
  |  |  ------------------
  |  |  |  |  152|      0|#define FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(value) value
  |  |  ------------------
  |  |11438|      0|                assert((version & _PY_EVAL_EVENTS_MASK) == 0);
  |  |  ------------------
  |  |  |  Branch (11438:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11439|      0|                if (eval_breaker != version) {
  |  |  ------------------
  |  |  |  Branch (11439:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11440|      0|                    UPDATE_MISS_STATS(RESUME);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11441|      0|                    assert(_PyOpcode_Deopt[opcode] == (RESUME));
  |  |  ------------------
  |  |  |  Branch (11441:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11442|      0|                    JUMP_TO_PREDICTED(RESUME);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11443|      0|                }
  |  |11444|       |                #ifdef Py_GIL_DISABLED
  |  |11445|       |                if (frame->tlbc_index !=
  |  |11446|       |                    ((_PyThreadStateImpl *)tstate)->tlbc_index) {
  |  |11447|       |                    UPDATE_MISS_STATS(RESUME);
  |  |11448|       |                    assert(_PyOpcode_Deopt[opcode] == (RESUME));
  |  |11449|       |                    JUMP_TO_PREDICTED(RESUME);
  |  |11450|       |                }
  |  |11451|       |                #endif
  |  |11452|      0|            }
  |  |11453|       |            // _JIT
  |  |11454|      0|            {
  |  |11455|       |                #ifdef _Py_TIER2
  |  |11456|       |                bool is_resume = this_instr->op.code == RESUME_CHECK_JIT;
  |  |11457|       |                _Py_BackoffCounter counter = this_instr[1].counter;
  |  |11458|       |                if ((backoff_counter_triggers(counter) &&
  |  |11459|       |                        !IS_JIT_TRACING() &&
  |  |11460|       |                        (this_instr->op.code == JUMP_BACKWARD_JIT || is_resume)) &&
  |  |11461|       |                    next_instr->op.code != ENTER_EXECUTOR) {
  |  |11462|       |                    _Py_CODEUNIT *insert_exec_at = this_instr;
  |  |11463|       |                    for (int tmp = oparg; tmp > 255; tmp >>= 8) {
  |  |11464|       |                        insert_exec_at--;
  |  |11465|       |                    }
  |  |11466|       |                    int succ = _PyJit_TryInitializeTracing(tstate, frame, this_instr, insert_exec_at,
  |  |11467|       |                        is_resume ? insert_exec_at : next_instr, stack_pointer, 0, NULL, oparg, NULL);
  |  |11468|       |                    if (succ) {
  |  |11469|       |                        ENTER_TRACING();
  |  |11470|       |                    }
  |  |11471|       |                    else {
  |  |11472|       |                        this_instr[1].counter = restart_backoff_counter(counter);
  |  |11473|       |                    }
  |  |11474|       |                }
  |  |11475|       |                else {
  |  |11476|       |                    ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |11477|       |                }
  |  |11478|       |                #endif
  |  |11479|      0|            }
  |  |11480|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  |11481|      0|        }
  |  |11482|       |
  |  |11483|  5.23M|        TARGET(RETURN_GENERATOR) {
  |  |  ------------------
  |  |  |  |  132|  5.23M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11484|       |            #if _Py_TAIL_CALL_INTERP
  |  |11485|       |            int opcode = RETURN_GENERATOR;
  |  |11486|       |            (void)(opcode);
  |  |11487|       |            #endif
  |  |11488|  5.23M|            frame->instr_ptr = next_instr;
  |  |11489|  5.23M|            next_instr += 1;
  |  |11490|  5.23M|            INSTRUCTION_STATS(RETURN_GENERATOR);
  |  |  ------------------
  |  |  |  |   71|  5.23M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11491|  5.23M|            _PyStackRef res;
  |  |11492|  5.23M|            assert(PyStackRef_FunctionCheck(frame->f_funcobj));
  |  |  ------------------
  |  |  |  Branch (11492:13): [True: 5.23M, False: 0]
  |  |  ------------------
  |  |11493|  5.23M|            PyFunctionObject *func = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(frame->f_funcobj);
  |  |11494|  5.23M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11495|  5.23M|            _PyFrame_StackPointerValidate(frame);
  |  |11496|  5.23M|            PyGenObject *gen = (PyGenObject *)_Py_MakeCoro(func);
  |  |11497|  5.23M|            _PyFrame_StackPointerInvalidate(frame);
  |  |11498|  5.23M|            if (gen == NULL) {
  |  |  ------------------
  |  |  |  Branch (11498:17): [True: 0, False: 5.23M]
  |  |  ------------------
  |  |11499|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11500|      0|            }
  |  |11501|  5.23M|            assert(STACK_LEVEL() <= 2);
  |  |  ------------------
  |  |  |  Branch (11501:13): [True: 5.23M, False: 0]
  |  |  ------------------
  |  |11502|  5.23M|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11502:13): [True: 5.23M, False: 0]
  |  |  ------------------
  |  |11503|  5.23M|            _PyFrame_StackPointerValidate(frame);
  |  |11504|  5.23M|            _PyInterpreterFrame *gen_frame = &gen->gi_iframe;
  |  |11505|  5.23M|            frame->instr_ptr++;
  |  |11506|  5.23M|            _PyFrame_Copy(frame, gen_frame);
  |  |11507|  5.23M|            assert(frame->frame_obj == NULL);
  |  |  ------------------
  |  |  |  Branch (11507:13): [True: 5.23M, False: 0]
  |  |  ------------------
  |  |11508|  5.23M|            gen->gi_frame_state = FRAME_CREATED;
  |  |11509|  5.23M|            gen_frame->owner = FRAME_OWNED_BY_GENERATOR;
  |  |11510|  5.23M|            _Py_LeaveRecursiveCallPy(tstate);
  |  |11511|  5.23M|            _PyInterpreterFrame *prev = frame->previous;
  |  |11512|  5.23M|            _PyThreadState_UpdateLastProfiledFrame(tstate, frame, prev);
  |  |  ------------------
  |  |  |  |  325|  5.23M|    do { \
  |  |  |  |  326|  5.23M|        PyThreadState *tstate_ = (tstate); \
  |  |  |  |  327|  5.23M|        _PyInterpreterFrame *frame_ = (frame); \
  |  |  |  |  328|  5.23M|        if (tstate_->last_profiled_frame == frame_) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (328:13): [True: 0, False: 5.23M]
  |  |  |  |  ------------------
  |  |  |  |  329|      0|            tstate_->last_profiled_frame = (previous); \
  |  |  |  |  330|      0|            tstate_->last_profiled_frame_seq++; \
  |  |  |  |  331|      0|        } \
  |  |  |  |  332|  5.23M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (332:14): [Folded, False: 5.23M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11513|  5.23M|            _PyThreadState_PopFrame(tstate, frame);
  |  |11514|  5.23M|            frame = tstate->current_frame = prev;
  |  |11515|  5.23M|            LOAD_IP(frame->return_offset);
  |  |  ------------------
  |  |  |  |  421|  5.23M|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  422|  5.23M|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  423|  5.23M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:14): [Folded, False: 5.23M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11516|  5.23M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11517|  5.23M|            _PyFrame_StackPointerInvalidate(frame);
  |  |11518|  5.23M|            res = PyStackRef_FromPyObjectStealMortal((PyObject *)gen);
  |  |11519|  5.23M|            LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  5.23M|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  |11520|  5.23M|            stack_pointer[0] = res;
  |  |11521|  5.23M|            stack_pointer += 1;
  |  |11522|  5.23M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  5.23M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11523|  5.23M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  5.23M|    { \
  |  |  |  |  201|  5.23M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  5.23M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  5.23M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  5.23M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  5.23M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  5.23M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  5.23M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  5.23M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 5.23M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  5.23M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  5.23M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  5.23M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  5.23M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  5.23M|    }
  |  |  ------------------
  |  |11524|  5.23M|        }
  |  |11525|       |
  |  |11526|   148M|        TARGET(RETURN_VALUE) {
  |  |  ------------------
  |  |  |  |  132|   148M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11527|       |            #if _Py_TAIL_CALL_INTERP
  |  |11528|       |            int opcode = RETURN_VALUE;
  |  |11529|       |            (void)(opcode);
  |  |11530|       |            #endif
  |  |11531|   148M|            frame->instr_ptr = next_instr;
  |  |11532|   148M|            next_instr += 1;
  |  |11533|   148M|            INSTRUCTION_STATS(RETURN_VALUE);
  |  |  ------------------
  |  |  |  |   71|   148M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11534|   148M|            _PyStackRef value;
  |  |11535|   148M|            _PyStackRef retval;
  |  |11536|   148M|            _PyStackRef res;
  |  |11537|       |            // _MAKE_HEAP_SAFE
  |  |11538|   148M|            {
  |  |11539|   148M|                value = stack_pointer[-1];
  |  |11540|   148M|                value = PyStackRef_MakeHeapSafe(value);
  |  |11541|   148M|            }
  |  |11542|       |            // _RETURN_VALUE
  |  |11543|   148M|            {
  |  |11544|   148M|                retval = value;
  |  |11545|   148M|                assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (11545:17): [True: 148M, False: 0]
  |  |  ------------------
  |  |11546|   148M|                _PyStackRef temp = retval;
  |  |11547|   148M|                stack_pointer += -1;
  |  |11548|   148M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   148M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11549|   148M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11550|   148M|                _PyFrame_StackPointerValidate(frame);
  |  |11551|   148M|                assert(STACK_LEVEL() == 0);
  |  |  ------------------
  |  |  |  Branch (11551:17): [True: 148M, False: 0]
  |  |  ------------------
  |  |11552|   148M|                DTRACE_FUNCTION_RETURN();
  |  |  ------------------
  |  |  |  |  347|   148M|#define DTRACE_FUNCTION_RETURN() ((void)0)
  |  |  ------------------
  |  |11553|   148M|                _Py_LeaveRecursiveCallPy(tstate);
  |  |11554|   148M|                _PyInterpreterFrame *dying = frame;
  |  |11555|   148M|                frame = tstate->current_frame = dying->previous;
  |  |11556|   148M|                _PyEval_FrameClearAndPop(tstate, dying);
  |  |11557|   148M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11558|   148M|                _PyFrame_StackPointerInvalidate(frame);
  |  |11559|   148M|                LOAD_IP(frame->return_offset);
  |  |  ------------------
  |  |  |  |  421|   148M|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  422|   148M|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  423|   148M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:14): [Folded, False: 148M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11560|   148M|                res = temp;
  |  |11561|   148M|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|   148M|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  |11562|   148M|            }
  |  |11563|      0|            stack_pointer[0] = res;
  |  |11564|   148M|            stack_pointer += 1;
  |  |11565|   148M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   148M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11566|   148M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   148M|    { \
  |  |  |  |  201|   148M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   148M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   148M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   148M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   148M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   148M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   148M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   148M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 148M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   148M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   148M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   148M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   148M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   148M|    }
  |  |  ------------------
  |  |11567|   148M|        }
  |  |11568|       |
  |  |11569|      4|        TARGET(SEND) {
  |  |  ------------------
  |  |  |  |  132|      4|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11570|       |            #if _Py_TAIL_CALL_INTERP
  |  |11571|       |            int opcode = SEND;
  |  |11572|       |            (void)(opcode);
  |  |11573|       |            #endif
  |  |11574|      4|            frame->instr_ptr = next_instr;
  |  |11575|      4|            next_instr += 2;
  |  |11576|      4|            INSTRUCTION_STATS(SEND);
  |  |  ------------------
  |  |  |  |   71|      4|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11577|      4|            PREDICTED_SEND:;
  |  |11578|      4|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  |11579|      4|            (void)this_instr;
  |  |11580|      4|            _PyStackRef receiver;
  |  |11581|      4|            _PyStackRef null_or_index;
  |  |11582|      4|            _PyStackRef v;
  |  |11583|      4|            _PyStackRef retval;
  |  |11584|       |            // _SPECIALIZE_SEND
  |  |11585|      4|            {
  |  |11586|      4|                receiver = stack_pointer[-3];
  |  |11587|      4|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |11588|      4|                (void)counter;
  |  |11589|      4|                #if ENABLE_SPECIALIZATION
  |  |11590|      4|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|      4|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 2, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11591|      2|                    next_instr = this_instr;
  |  |11592|      2|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11593|      2|                    _PyFrame_StackPointerValidate(frame);
  |  |11594|      2|                    _Py_Specialize_Send(receiver, next_instr);
  |  |11595|      2|                    _PyFrame_StackPointerInvalidate(frame);
  |  |11596|      2|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|      2|    { \
  |  |  |  |  217|      2|        opcode = next_instr->op.code; \
  |  |  |  |  218|      2|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      2|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|      2|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|      2|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|      2|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|      2|    }
  |  |  ------------------
  |  |11597|      2|                }
  |  |11598|      4|                OPCODE_DEFERRED_INC(SEND);
  |  |  ------------------
  |  |  |  |   90|      4|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |11599|      4|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  358|      4|    do { \
  |  |  |  |  359|      4|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  360|      4|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (360:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11600|      4|                #endif  /* ENABLE_SPECIALIZATION */
  |  |11601|      4|            }
  |  |11602|       |            // _SEND
  |  |11603|      4|            {
  |  |11604|      4|                v = stack_pointer[-1];
  |  |11605|      4|                null_or_index = stack_pointer[-2];
  |  |11606|      4|                PyObject *receiver_o = PyStackRef_AsPyObjectBorrow(receiver);
  |  |11607|      4|                assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (11607:17): [True: 2, False: 2]
  |  |  ------------------
  |  |11608|      2|                if (!IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  519|      4|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (11608:21): [True: 2, False: 0]
  |  |  ------------------
  |  |11609|      2|                    (Py_TYPE(receiver_o) == &PyGen_Type || Py_TYPE(receiver_o) == &PyCoro_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                                   (Py_TYPE(receiver_o) == &PyGen_Type || Py_TYPE(receiver_o) == &PyCoro_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 (11609:22): [True: 0, False: 2]
  |  |  |  Branch (11609:60): [True: 0, False: 2]
  |  |  ------------------
  |  |11610|      0|                    gen_try_set_executing((PyGenObject *)receiver_o))
  |  |  ------------------
  |  |  |  Branch (11610:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11611|      0|                {
  |  |11612|      0|                    PyGenObject *gen = (PyGenObject *)receiver_o;
  |  |11613|      0|                    _PyInterpreterFrame *gen_frame = &gen->gi_iframe;
  |  |11614|      0|                    _PyFrame_StackPush(gen_frame, PyStackRef_MakeHeapSafe(v));
  |  |11615|      0|                    stack_pointer += -1;
  |  |11616|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11617|      0|                    gen->gi_exc_state.previous_item = tstate->exc_info;
  |  |11618|      0|                    tstate->exc_info = &gen->gi_exc_state;
  |  |11619|      0|                    assert( 2u + oparg <= UINT16_MAX);
  |  |  ------------------
  |  |  |  Branch (11619:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11620|      0|                    frame->return_offset = (uint16_t)( 2u + oparg);
  |  |11621|      0|                    assert(gen_frame->previous == NULL);
  |  |  ------------------
  |  |  |  Branch (11621:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11622|      0|                    gen_frame->previous = frame;
  |  |11623|      0|                    DISPATCH_INLINED(gen_frame);
  |  |  ------------------
  |  |  |  |  223|      0|    do {                                                         \
  |  |  |  |  224|      0|        assert(!IS_PEP523_HOOKED(tstate));                       \
  |  |  |  |  225|      0|        _PyFrame_SetStackPointer(frame, stack_pointer);          \
  |  |  |  |  226|      0|        _PyFrame_StackPointerValidate(frame);                    \
  |  |  |  |  227|      0|        assert((NEW_FRAME)->previous == frame);                  \
  |  |  |  |  228|      0|        frame = tstate->current_frame = (NEW_FRAME);             \
  |  |  |  |  229|      0|        CALL_STAT_INC(inlined_py_calls);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  |   76|      0|#define CALL_STAT_INC(name) ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  230|      0|        JUMP_TO_LABEL(start_frame);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  231|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (11623:21): [True: 0, False: 0]
  |  |  |  Branch (11623:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11624|      0|                }
  |  |11625|      2|                if (!PyStackRef_IsNull(null_or_index) && PyStackRef_IsNone(v)) {
  |  |  ------------------
  |  |  |  |  482|      4|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      2|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      2|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               if (!PyStackRef_IsNull(null_or_index) && PyStackRef_IsNone(v)) {
  |  |  ------------------
  |  |  |  |  495|      2|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      2|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (495:32): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (11625:21): [True: 2, False: 0]
  |  |  ------------------
  |  |11626|      2|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11627|      2|                    _PyFrame_StackPointerValidate(frame);
  |  |11628|      2|                    _PyStackRef item = _PyForIter_VirtualIteratorNext(tstate, frame, receiver, &null_or_index);
  |  |11629|      2|                    _PyFrame_StackPointerInvalidate(frame);
  |  |11630|      2|                    if (!PyStackRef_IsValid(item)) {
  |  |  ------------------
  |  |  |  Branch (11630:25): [True: 0, False: 2]
  |  |  ------------------
  |  |11631|      0|                        if (PyStackRef_IsError(item)) {
  |  |  ------------------
  |  |  |  Branch (11631:29): [True: 0, False: 0]
  |  |  ------------------
  |  |11632|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11633|      0|                        }
  |  |11634|      0|                        JUMPBY(oparg);
  |  |  ------------------
  |  |  |  |  261|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  |11635|      0|                        stack_pointer[-2] = null_or_index;
  |  |11636|      0|                        DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  |11637|      0|                    }
  |  |11638|      2|                    retval = item;
  |  |11639|      2|                }
  |  |11640|      0|                else {
  |  |11641|      0|                    PyObject *v_o = PyStackRef_AsPyObjectBorrow(v);
  |  |11642|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11643|      0|                    _PyFrame_StackPointerValidate(frame);
  |  |11644|      0|                    PySendResultPair res = _PyIter_Send(receiver_o, v_o);
  |  |11645|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  |11646|      0|                    if (res.kind == PYGEN_ERROR) {
  |  |  ------------------
  |  |  |  Branch (11646:25): [True: 0, False: 0]
  |  |  ------------------
  |  |11647|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11648|      0|                    }
  |  |11649|      0|                    stack_pointer += -1;
  |  |11650|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11651|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11652|      0|                    _PyFrame_StackPointerValidate(frame);
  |  |11653|      0|                    PyStackRef_CLOSE(v);
  |  |11654|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  |11655|      0|                    retval = PyStackRef_FromPyObjectSteal(res.object);
  |  |11656|      0|                    if (res.kind == PYGEN_RETURN) {
  |  |  ------------------
  |  |  |  Branch (11656:25): [True: 0, False: 0]
  |  |  ------------------
  |  |11657|      0|                        JUMPBY(oparg);
  |  |  ------------------
  |  |  |  |  261|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  |11658|      0|                    }
  |  |11659|      0|                    stack_pointer += 1;
  |  |11660|      0|                }
  |  |11661|      2|            }
  |  |11662|      2|            stack_pointer[-2] = null_or_index;
  |  |11663|      2|            stack_pointer[-1] = retval;
  |  |11664|      2|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      2|    { \
  |  |  |  |  201|      2|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      2|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      2|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      2|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      2|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      2|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      2|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  |11665|      2|        }
  |  |11666|       |
  |  |11667|      0|        TARGET(SEND_ASYNC_GEN) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11668|       |            #if _Py_TAIL_CALL_INTERP
  |  |11669|       |            int opcode = SEND_ASYNC_GEN;
  |  |11670|       |            (void)(opcode);
  |  |11671|       |            #endif
  |  |11672|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11673|      0|            (void)this_instr;
  |  |11674|      0|            frame->instr_ptr = next_instr;
  |  |11675|      0|            next_instr += 2;
  |  |11676|      0|            INSTRUCTION_STATS(SEND_ASYNC_GEN);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11677|      0|            static_assert(INLINE_CACHE_ENTRIES_SEND == 1, "incorrect cache size");
  |  |11678|      0|            _PyStackRef iter;
  |  |11679|      0|            _PyStackRef null_in;
  |  |11680|      0|            _PyStackRef v;
  |  |11681|      0|            _PyStackRef asend;
  |  |11682|      0|            _PyStackRef null_out;
  |  |11683|      0|            _PyStackRef retval;
  |  |11684|       |            /* Skip 1 cache entry */
  |  |11685|       |            // _GUARD_3OS_ASYNC_GEN_ASEND
  |  |11686|      0|            {
  |  |11687|      0|                iter = stack_pointer[-3];
  |  |11688|      0|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  |11689|      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 (11689:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11690|      0|                    UPDATE_MISS_STATS(SEND);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11691|      0|                    assert(_PyOpcode_Deopt[opcode] == (SEND));
  |  |  ------------------
  |  |  |  Branch (11691:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11692|      0|                    JUMP_TO_PREDICTED(SEND);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11693|      0|                }
  |  |11694|      0|            }
  |  |11695|       |            // _SEND_ASYNC_GEN
  |  |11696|      0|            {
  |  |11697|      0|                v = stack_pointer[-1];
  |  |11698|      0|                null_in = stack_pointer[-2];
  |  |11699|      0|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  |11700|      0|                assert(PyAsyncGenASend_CheckExact(iter_o));
  |  |  ------------------
  |  |  |  Branch (11700:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11701|      0|                PyObject *val = PyStackRef_AsPyObjectBorrow(v);
  |  |11702|      0|                PyObject *retval_o;
  |  |11703|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11704|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11705|      0|                PySendResult what = _PyAsyncGenASend_Send(iter_o, val, &retval_o);
  |  |11706|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11707|      0|                if (what == PYGEN_ERROR) {
  |  |  ------------------
  |  |  |  Branch (11707:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11708|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11709|      0|                }
  |  |11710|      0|                stack_pointer += -1;
  |  |11711|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11712|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11713|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11714|      0|                PyStackRef_CLOSE(v);
  |  |11715|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11716|      0|                asend = iter;
  |  |11717|      0|                null_out = null_in;
  |  |11718|      0|                retval = PyStackRef_FromPyObjectSteal(retval_o);
  |  |11719|      0|                if (what == PYGEN_RETURN) {
  |  |  ------------------
  |  |  |  Branch (11719:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11720|      0|                    JUMPBY(oparg);
  |  |  ------------------
  |  |  |  |  261|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  |11721|      0|                }
  |  |11722|      0|            }
  |  |11723|      0|            stack_pointer[-2] = asend;
  |  |11724|      0|            stack_pointer[-1] = null_out;
  |  |11725|      0|            stack_pointer[0] = retval;
  |  |11726|      0|            stack_pointer += 1;
  |  |11727|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11728|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  |11729|      0|        }
  |  |11730|       |
  |  |11731|      0|        TARGET(SEND_GEN) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11732|       |            #if _Py_TAIL_CALL_INTERP
  |  |11733|       |            int opcode = SEND_GEN;
  |  |11734|       |            (void)(opcode);
  |  |11735|       |            #endif
  |  |11736|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11737|      0|            (void)this_instr;
  |  |11738|      0|            frame->instr_ptr = next_instr;
  |  |11739|      0|            next_instr += 2;
  |  |11740|      0|            INSTRUCTION_STATS(SEND_GEN);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11741|      0|            static_assert(INLINE_CACHE_ENTRIES_SEND == 1, "incorrect cache size");
  |  |11742|      0|            _PyStackRef receiver;
  |  |11743|      0|            _PyStackRef v;
  |  |11744|      0|            _PyStackRef gen_frame;
  |  |11745|      0|            _PyStackRef new_frame;
  |  |11746|       |            /* Skip 1 cache entry */
  |  |11747|       |            // _CHECK_PEP_523
  |  |11748|      0|            {
  |  |11749|      0|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  519|      0|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (519:34): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11750|      0|                    UPDATE_MISS_STATS(SEND);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11751|      0|                    assert(_PyOpcode_Deopt[opcode] == (SEND));
  |  |  ------------------
  |  |  |  Branch (11751:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11752|      0|                    JUMP_TO_PREDICTED(SEND);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11753|      0|                }
  |  |11754|      0|            }
  |  |11755|       |            // _SEND_GEN_FRAME
  |  |11756|      0|            {
  |  |11757|      0|                v = stack_pointer[-1];
  |  |11758|      0|                receiver = stack_pointer[-3];
  |  |11759|      0|                PyGenObject *gen = (PyGenObject *)PyStackRef_AsPyObjectBorrow(receiver);
  |  |11760|      0|                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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               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 (11760:21): [True: 0, False: 0]
  |  |  |  Branch (11760:52): [True: 0, False: 0]
  |  |  ------------------
  |  |11761|      0|                    UPDATE_MISS_STATS(SEND);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11762|      0|                    assert(_PyOpcode_Deopt[opcode] == (SEND));
  |  |  ------------------
  |  |  |  Branch (11762:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11763|      0|                    JUMP_TO_PREDICTED(SEND);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11764|      0|                }
  |  |11765|      0|                if (!gen_try_set_executing((PyGenObject *)gen)) {
  |  |  ------------------
  |  |  |  Branch (11765:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11766|      0|                    UPDATE_MISS_STATS(SEND);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11767|      0|                    assert(_PyOpcode_Deopt[opcode] == (SEND));
  |  |  ------------------
  |  |  |  Branch (11767:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11768|      0|                    JUMP_TO_PREDICTED(SEND);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11769|      0|                }
  |  |11770|      0|                STAT_INC(SEND, hit);
  |  |  ------------------
  |  |  |  |   73|      0|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |11771|      0|                _PyInterpreterFrame *pushed_frame = &gen->gi_iframe;
  |  |11772|      0|                _PyFrame_StackPush(pushed_frame, PyStackRef_MakeHeapSafe(v));
  |  |11773|      0|                gen->gi_exc_state.previous_item = tstate->exc_info;
  |  |11774|      0|                tstate->exc_info = &gen->gi_exc_state;
  |  |11775|      0|                assert( 2u + oparg <= UINT16_MAX);
  |  |  ------------------
  |  |  |  Branch (11775:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11776|      0|                frame->return_offset = (uint16_t)( 2u + oparg);
  |  |11777|      0|                pushed_frame->previous = frame;
  |  |11778|      0|                gen_frame = PyStackRef_Wrap(pushed_frame);
  |  |11779|      0|            }
  |  |11780|       |            // _PUSH_FRAME
  |  |11781|      0|            {
  |  |11782|      0|                new_frame = gen_frame;
  |  |11783|      0|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (11783:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11784|      0|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  |11785|      0|                stack_pointer += -1;
  |  |11786|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11787|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11788|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11789|      0|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (11789:17): [True: 0, False: 0]
  |  |  |  Branch (11789:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11790|      0|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|      0|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  |11791|      0|                frame = tstate->current_frame = temp;
  |  |11792|      0|                tstate->py_recursion_remaining--;
  |  |11793|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11794|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11795|      0|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  421|      0|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  422|      0|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  423|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11796|       |                #ifdef Py_DEBUG
  |  |11797|       |                assert(frame->previous->stackpointer_valid == 1);
  |  |11798|       |                #endif
  |  |11799|      0|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|      0|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  |11800|      0|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|      0|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  |11801|      0|            }
  |  |11802|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  |11803|      0|        }
  |  |11804|       |
  |  |11805|  1.70M|        TARGET(SEND_VIRTUAL) {
  |  |  ------------------
  |  |  |  |  132|  1.70M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11806|       |            #if _Py_TAIL_CALL_INTERP
  |  |11807|       |            int opcode = SEND_VIRTUAL;
  |  |11808|       |            (void)(opcode);
  |  |11809|       |            #endif
  |  |11810|  1.70M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11811|  1.70M|            (void)this_instr;
  |  |11812|  1.70M|            frame->instr_ptr = next_instr;
  |  |11813|  1.70M|            next_instr += 2;
  |  |11814|  1.70M|            INSTRUCTION_STATS(SEND_VIRTUAL);
  |  |  ------------------
  |  |  |  |   71|  1.70M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11815|  1.70M|            static_assert(INLINE_CACHE_ENTRIES_SEND == 1, "incorrect cache size");
  |  |11816|  1.70M|            _PyStackRef val;
  |  |11817|  1.70M|            _PyStackRef nos;
  |  |11818|  1.70M|            _PyStackRef iter;
  |  |11819|  1.70M|            _PyStackRef null_or_index;
  |  |11820|  1.70M|            _PyStackRef none;
  |  |11821|  1.70M|            _PyStackRef next;
  |  |11822|       |            /* Skip 1 cache entry */
  |  |11823|       |            // _GUARD_TOS_IS_NONE
  |  |11824|  1.70M|            {
  |  |11825|  1.70M|                val = stack_pointer[-1];
  |  |11826|  1.70M|                if (!PyStackRef_IsNone(val)) {
  |  |  ------------------
  |  |  |  |  495|  1.70M|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.70M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (11826:21): [True: 0, False: 1.70M]
  |  |  ------------------
  |  |11827|      0|                    UPDATE_MISS_STATS(SEND);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11828|      0|                    assert(_PyOpcode_Deopt[opcode] == (SEND));
  |  |  ------------------
  |  |  |  Branch (11828:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11829|      0|                    JUMP_TO_PREDICTED(SEND);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11830|      0|                }
  |  |11831|  1.70M|            }
  |  |11832|       |            // _GUARD_NOS_NOT_NULL
  |  |11833|  1.70M|            {
  |  |11834|  1.70M|                nos = stack_pointer[-2];
  |  |11835|  1.70M|                if (PyStackRef_IsNull(nos)) {
  |  |  ------------------
  |  |  |  |  482|  1.70M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.70M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.70M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 1.70M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11836|      0|                    UPDATE_MISS_STATS(SEND);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11837|      0|                    assert(_PyOpcode_Deopt[opcode] == (SEND));
  |  |  ------------------
  |  |  |  Branch (11837:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11838|      0|                    JUMP_TO_PREDICTED(SEND);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11839|      0|                }
  |  |11840|  1.70M|            }
  |  |11841|       |            // _SEND_VIRTUAL
  |  |11842|  1.70M|            {
  |  |11843|  1.70M|                none = val;
  |  |11844|  1.70M|                null_or_index = nos;
  |  |11845|  1.70M|                iter = stack_pointer[-3];
  |  |11846|  1.70M|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  |11847|  1.70M|                Py_ssize_t index = PyStackRef_UntagInt(null_or_index);
  |  |11848|  1.70M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11849|  1.70M|                _PyFrame_StackPointerValidate(frame);
  |  |11850|  1.70M|                _PyObjectIndexPair next_index = Py_TYPE(iter_o)->_tp_iteritem(iter_o, index);
  |  |  ------------------
  |  |  |  |  213|  1.70M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.70M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.70M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11851|  1.70M|                _PyFrame_StackPointerInvalidate(frame);
  |  |11852|  1.70M|                PyObject *next_o = next_index.object;
  |  |11853|  1.70M|                index = next_index.index;
  |  |11854|  1.70M|                if (next_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (11854:21): [True: 341k, False: 1.36M]
  |  |  ------------------
  |  |11855|   341k|                    if (index < 0) {
  |  |  ------------------
  |  |  |  Branch (11855:25): [True: 0, False: 341k]
  |  |  ------------------
  |  |11856|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11857|      0|                    }
  |  |11858|   341k|                    next = none;
  |  |11859|   341k|                    JUMPBY(oparg);
  |  |  ------------------
  |  |  |  |  261|   341k|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  |11860|   341k|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   341k|    { \
  |  |  |  |  201|   341k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   341k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   341k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   341k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   341k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   341k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   341k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   341k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 341k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   341k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   341k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   341k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   341k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   341k|    }
  |  |  ------------------
  |  |11861|   341k|                }
  |  |11862|  1.70M|                next = PyStackRef_FromPyObjectSteal(next_o);
  |  |11863|  1.70M|                null_or_index = PyStackRef_TagInt(index);
  |  |11864|  1.70M|            }
  |  |11865|      0|            stack_pointer[-2] = null_or_index;
  |  |11866|  1.70M|            stack_pointer[-1] = next;
  |  |11867|  1.70M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.70M|    { \
  |  |  |  |  201|  1.70M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.70M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.70M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.70M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.70M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.70M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.70M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.70M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.70M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.70M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.70M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.70M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.70M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.70M|    }
  |  |  ------------------
  |  |11868|  1.70M|        }
  |  |11869|       |
  |  |11870|      0|        TARGET(SETUP_ANNOTATIONS) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11871|       |            #if _Py_TAIL_CALL_INTERP
  |  |11872|       |            int opcode = SETUP_ANNOTATIONS;
  |  |11873|       |            (void)(opcode);
  |  |11874|       |            #endif
  |  |11875|      0|            frame->instr_ptr = next_instr;
  |  |11876|      0|            next_instr += 1;
  |  |11877|      0|            INSTRUCTION_STATS(SETUP_ANNOTATIONS);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11878|      0|            if (LOCALS() == NULL) {
  |  |  ------------------
  |  |  |  |  328|      0|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  |  |  Branch (11878:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11879|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11880|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11881|      0|                _PyErr_Format(tstate, PyExc_SystemError,
  |  |11882|      0|                              "no locals found when setting up annotations");
  |  |11883|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11884|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11885|      0|            }
  |  |11886|      0|            int err;
  |  |11887|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11888|      0|            _PyFrame_StackPointerValidate(frame);
  |  |11889|      0|            PyObject* ann_dict = _PyMapping_GetOptionalItem2(LOCALS(), &_Py_ID(__annotations__), &err);
  |  |  ------------------
  |  |  |  |  328|      0|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  |                           PyObject* ann_dict = _PyMapping_GetOptionalItem2(LOCALS(), &_Py_ID(__annotations__), &err);
  |  |  ------------------
  |  |  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11890|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  |11891|      0|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (11891:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11892|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11893|      0|            }
  |  |11894|      0|            if (ann_dict == NULL) {
  |  |  ------------------
  |  |  |  Branch (11894:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11895|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11895:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11896|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11897|      0|                ann_dict = PyDict_New();
  |  |11898|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11899|      0|                if (ann_dict == NULL) {
  |  |  ------------------
  |  |  |  Branch (11899:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11900|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11901|      0|                }
  |  |11902|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11902:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11903|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11904|      0|                err = PyObject_SetItem(LOCALS(), &_Py_ID(__annotations__),
  |  |  ------------------
  |  |  |  |  328|      0|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  |                               err = PyObject_SetItem(LOCALS(), &_Py_ID(__annotations__),
  |  |  ------------------
  |  |  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11905|      0|                                       ann_dict);
  |  |11906|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11907|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11907:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11908|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11909|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11910|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11911|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (11911:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11912|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11913|      0|                }
  |  |11914|      0|            }
  |  |11915|      0|            else {
  |  |11916|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11916:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11917|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11918|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11919|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11920|      0|            }
  |  |11921|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  |11922|      0|        }
  |  |11923|       |
  |  |11924|      2|        TARGET(SET_ADD) {
  |  |  ------------------
  |  |  |  |  132|      2|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11925|       |            #if _Py_TAIL_CALL_INTERP
  |  |11926|       |            int opcode = SET_ADD;
  |  |11927|       |            (void)(opcode);
  |  |11928|       |            #endif
  |  |11929|      2|            frame->instr_ptr = next_instr;
  |  |11930|      2|            next_instr += 1;
  |  |11931|      2|            INSTRUCTION_STATS(SET_ADD);
  |  |  ------------------
  |  |  |  |   71|      2|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11932|      2|            _PyStackRef set;
  |  |11933|      2|            _PyStackRef v;
  |  |11934|      2|            v = stack_pointer[-1];
  |  |11935|      2|            set = stack_pointer[-2 - (oparg-1)];
  |  |11936|      2|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11937|      2|            _PyFrame_StackPointerValidate(frame);
  |  |11938|      2|            int err = _PySet_AddTakeRef((PySetObject *)PyStackRef_AsPyObjectBorrow(set),
  |  |11939|      2|                                        PyStackRef_AsPyObjectSteal(v));
  |  |11940|      2|            _PyFrame_StackPointerInvalidate(frame);
  |  |11941|      2|            if (err) {
  |  |  ------------------
  |  |  |  Branch (11941:17): [True: 0, False: 2]
  |  |  ------------------
  |  |11942|      0|                JUMP_TO_LABEL(pop_1_error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11943|      0|            }
  |  |11944|      2|            stack_pointer += -1;
  |  |11945|      2|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      2|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11946|      2|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      2|    { \
  |  |  |  |  201|      2|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      2|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      2|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      2|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      2|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      2|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      2|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  |11947|      2|        }
  |  |11948|       |
  |  |11949|   990k|        TARGET(SET_FUNCTION_ATTRIBUTE) {
  |  |  ------------------
  |  |  |  |  132|   990k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11950|       |            #if _Py_TAIL_CALL_INTERP
  |  |11951|       |            int opcode = SET_FUNCTION_ATTRIBUTE;
  |  |11952|       |            (void)(opcode);
  |  |11953|       |            #endif
  |  |11954|   990k|            frame->instr_ptr = next_instr;
  |  |11955|   990k|            next_instr += 1;
  |  |11956|   990k|            INSTRUCTION_STATS(SET_FUNCTION_ATTRIBUTE);
  |  |  ------------------
  |  |  |  |   71|   990k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11957|   990k|            _PyStackRef attr_st;
  |  |11958|   990k|            _PyStackRef func_in;
  |  |11959|   990k|            _PyStackRef func_out;
  |  |11960|   990k|            func_in = stack_pointer[-1];
  |  |11961|   990k|            attr_st = stack_pointer[-2];
  |  |11962|   990k|            PyObject *func = PyStackRef_AsPyObjectBorrow(func_in);
  |  |11963|   990k|            PyObject *attr = PyStackRef_AsPyObjectSteal(attr_st);
  |  |11964|   990k|            func_out = func_in;
  |  |11965|   990k|            assert(PyFunction_Check(func));
  |  |  ------------------
  |  |  |  Branch (11965:13): [True: 990k, False: 0]
  |  |  ------------------
  |  |11966|   990k|            size_t offset = _Py_FunctionAttributeOffsets[oparg];
  |  |11967|   990k|            assert(offset != 0);
  |  |  ------------------
  |  |  |  Branch (11967:13): [True: 990k, False: 0]
  |  |  ------------------
  |  |11968|   990k|            PyObject **ptr = (PyObject **)(((char *)func) + offset);
  |  |11969|   990k|            assert(*ptr == NULL);
  |  |  ------------------
  |  |  |  Branch (11969:13): [True: 990k, False: 0]
  |  |  ------------------
  |  |11970|   990k|            *ptr = attr;
  |  |11971|   990k|            stack_pointer[-2] = func_out;
  |  |11972|   990k|            stack_pointer += -1;
  |  |11973|   990k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   990k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11974|   990k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   990k|    { \
  |  |  |  |  201|   990k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   990k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   990k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   990k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   990k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   990k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   990k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   990k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 990k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   990k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   990k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   990k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   990k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   990k|    }
  |  |  ------------------
  |  |11975|   990k|        }
  |  |11976|       |
  |  |11977|      0|        TARGET(SET_UPDATE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11978|       |            #if _Py_TAIL_CALL_INTERP
  |  |11979|       |            int opcode = SET_UPDATE;
  |  |11980|       |            (void)(opcode);
  |  |11981|       |            #endif
  |  |11982|      0|            frame->instr_ptr = next_instr;
  |  |11983|      0|            next_instr += 1;
  |  |11984|      0|            INSTRUCTION_STATS(SET_UPDATE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11985|      0|            _PyStackRef set;
  |  |11986|      0|            _PyStackRef iterable;
  |  |11987|      0|            _PyStackRef i;
  |  |11988|      0|            _PyStackRef value;
  |  |11989|       |            // _SET_UPDATE
  |  |11990|      0|            {
  |  |11991|      0|                iterable = stack_pointer[-1];
  |  |11992|      0|                set = stack_pointer[-2 - (oparg-1)];
  |  |11993|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11994|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11995|      0|                int err = _PySet_Update(PyStackRef_AsPyObjectBorrow(set),
  |  |11996|      0|                                    PyStackRef_AsPyObjectBorrow(iterable));
  |  |11997|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11998|      0|                if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (11998:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11999|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12000|      0|                }
  |  |12001|      0|                i = iterable;
  |  |12002|      0|            }
  |  |12003|       |            // _POP_TOP
  |  |12004|      0|            {
  |  |12005|      0|                value = i;
  |  |12006|      0|                stack_pointer += -1;
  |  |12007|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12008|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12009|      0|                _PyFrame_StackPointerValidate(frame);
  |  |12010|      0|                PyStackRef_XCLOSE(value);
  |  |12011|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |12012|      0|            }
  |  |12013|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  |12014|      0|        }
  |  |12015|       |
  |  |12016|  11.9k|        TARGET(STORE_ATTR) {
  |  |  ------------------
  |  |  |  |  132|  11.9k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12017|       |            #if _Py_TAIL_CALL_INTERP
  |  |12018|       |            int opcode = STORE_ATTR;
  |  |12019|       |            (void)(opcode);
  |  |12020|       |            #endif
  |  |12021|  11.9k|            frame->instr_ptr = next_instr;
  |  |12022|  11.9k|            next_instr += 5;
  |  |12023|  11.9k|            INSTRUCTION_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |   71|  11.9k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12024|  12.5k|            PREDICTED_STORE_ATTR:;
  |  |12025|  12.5k|            _Py_CODEUNIT* const this_instr = next_instr - 5;
  |  |12026|  12.5k|            (void)this_instr;
  |  |12027|  12.5k|            _PyStackRef v;
  |  |12028|  12.5k|            _PyStackRef owner;
  |  |12029|       |            // _SPECIALIZE_STORE_ATTR
  |  |12030|  12.5k|            {
  |  |12031|  12.5k|                owner = stack_pointer[-1];
  |  |12032|  12.5k|                v = stack_pointer[-2];
  |  |12033|  12.5k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |12034|  12.5k|                (void)counter;
  |  |12035|  12.5k|                #if ENABLE_SPECIALIZATION
  |  |12036|  12.5k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  12.5k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 291, False: 12.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12037|    291|                    if (!PyStackRef_IsNull(v)) {
  |  |  ------------------
  |  |  |  |  482|    291|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    291|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    291|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12037:25): [True: 291, False: 0]
  |  |  ------------------
  |  |12038|    291|                        PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  236|    291|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|    291|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|    291|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    291|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12038:42): [True: 291, False: 0]
  |  |  ------------------
  |  |12039|      0|                        next_instr = this_instr;
  |  |12040|    291|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12041|    291|                        _PyFrame_StackPointerValidate(frame);
  |  |12042|    291|                        _Py_Specialize_StoreAttr(owner, next_instr, name);
  |  |12043|    291|                        _PyFrame_StackPointerInvalidate(frame);
  |  |12044|    291|                        DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    291|    { \
  |  |  |  |  217|    291|        opcode = next_instr->op.code; \
  |  |  |  |  218|    291|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    291|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    291|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    291|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    291|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    291|    }
  |  |  ------------------
  |  |12045|    291|                    }
  |  |12046|    291|                }
  |  |12047|  12.5k|                OPCODE_DEFERRED_INC(STORE_ATTR);
  |  |  ------------------
  |  |  |  |   90|  12.5k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |12048|  12.5k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  358|  12.5k|    do { \
  |  |  |  |  359|  12.5k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  360|  12.5k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (360:14): [Folded, False: 12.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12049|  12.5k|                #endif  /* ENABLE_SPECIALIZATION */
  |  |12050|  12.5k|            }
  |  |12051|       |            /* Skip 3 cache entries */
  |  |12052|       |            // _STORE_ATTR
  |  |12053|      0|            {
  |  |12054|  12.5k|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  236|  12.5k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  12.5k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  12.5k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  12.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12054:34): [True: 12.2k, False: 291]
  |  |  ------------------
  |  |12055|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12056|  12.2k|                _PyFrame_StackPointerValidate(frame);
  |  |12057|  12.2k|                int err = PyObject_SetAttr(PyStackRef_AsPyObjectBorrow(owner),
  |  |12058|  12.2k|                                       name, PyStackRef_AsPyObjectBorrow(v));
  |  |12059|  12.2k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12060|  12.2k|                stack_pointer += -1;
  |  |12061|  12.2k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  12.2k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12062|  12.2k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12063|  12.2k|                _PyFrame_StackPointerValidate(frame);
  |  |12064|  12.2k|                PyStackRef_CLOSE(owner);
  |  |12065|  12.2k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12066|  12.2k|                stack_pointer += -1;
  |  |12067|  12.2k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  12.2k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12068|  12.2k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12069|  12.2k|                _PyFrame_StackPointerValidate(frame);
  |  |12070|  12.2k|                PyStackRef_XCLOSE(v);
  |  |12071|  12.2k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12072|  12.2k|                if (err) {
  |  |  ------------------
  |  |  |  Branch (12072:21): [True: 0, False: 12.2k]
  |  |  ------------------
  |  |12073|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12074|      0|                }
  |  |12075|  12.2k|            }
  |  |12076|  12.2k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  12.2k|    { \
  |  |  |  |  201|  12.2k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  12.2k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  12.2k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  12.2k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  12.2k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  12.2k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  12.2k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  12.2k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 12.2k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  12.2k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  12.2k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  12.2k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  12.2k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  12.2k|    }
  |  |  ------------------
  |  |12077|  12.2k|        }
  |  |12078|       |
  |  |12079|  70.4M|        TARGET(STORE_ATTR_INSTANCE_VALUE) {
  |  |  ------------------
  |  |  |  |  132|  70.4M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12080|       |            #if _Py_TAIL_CALL_INTERP
  |  |12081|       |            int opcode = STORE_ATTR_INSTANCE_VALUE;
  |  |12082|       |            (void)(opcode);
  |  |12083|       |            #endif
  |  |12084|  70.4M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12085|  70.4M|            (void)this_instr;
  |  |12086|  70.4M|            frame->instr_ptr = next_instr;
  |  |12087|  70.4M|            next_instr += 5;
  |  |12088|  70.4M|            INSTRUCTION_STATS(STORE_ATTR_INSTANCE_VALUE);
  |  |  ------------------
  |  |  |  |   71|  70.4M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12089|  70.4M|            static_assert(INLINE_CACHE_ENTRIES_STORE_ATTR == 4, "incorrect cache size");
  |  |12090|  70.4M|            _PyStackRef value;
  |  |12091|  70.4M|            _PyStackRef owner;
  |  |12092|  70.4M|            _PyStackRef o;
  |  |12093|       |            /* Skip 1 cache entry */
  |  |12094|       |            // _LOCK_OBJECT
  |  |12095|  70.4M|            {
  |  |12096|  70.4M|                value = stack_pointer[-1];
  |  |12097|  70.4M|                if (!LOCK_OBJECT(PyStackRef_AsPyObjectBorrow(value))) {
  |  |  ------------------
  |  |  |  |  322|  70.4M|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (12097:21): [Folded, False: 70.4M]
  |  |  ------------------
  |  |12098|      0|                    UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12099|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12099:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12100|      0|                    JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12101|      0|                }
  |  |12102|  70.4M|            }
  |  |12103|       |            // _GUARD_TYPE_VERSION_LOCKED
  |  |12104|  70.4M|            {
  |  |12105|  70.4M|                owner = value;
  |  |12106|  70.4M|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  |12107|  70.4M|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  |12108|  70.4M|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (12108:17): [True: 70.4M, False: 0]
  |  |  ------------------
  |  |12109|  70.4M|                PyTypeObject *tp = Py_TYPE(owner_o);
  |  |  ------------------
  |  |  |  |  213|  70.4M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  70.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  70.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12110|  70.4M|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|  70.4M|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (12110:21): [True: 652, False: 70.4M]
  |  |  ------------------
  |  |12111|    652|                    UNLOCK_OBJECT(owner_o);
  |  |  ------------------
  |  |  |  |  323|    652|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12112|    652|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (12112:25): [True: 652, Folded]
  |  |  ------------------
  |  |12113|    652|                        UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|    652|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12114|    652|                        assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12114:25): [True: 652, False: 0]
  |  |  ------------------
  |  |12115|    652|                        JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|    652|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12116|      0|                    }
  |  |12117|    652|                }
  |  |12118|  70.4M|            }
  |  |12119|       |            // _GUARD_DORV_NO_DICT
  |  |12120|  70.4M|            {
  |  |12121|  70.4M|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  |12122|  70.4M|                assert(Py_TYPE(owner_o)->tp_dictoffset < 0);
  |  |  ------------------
  |  |  |  Branch (12122:17): [True: 70.4M, False: 0]
  |  |  ------------------
  |  |12123|  70.4M|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  |  |  ------------------
  |  |  |  Branch (12123:17): [True: 70.4M, False: 0]
  |  |  ------------------
  |  |12124|  70.4M|                if (_PyObject_GetManagedDict(owner_o) ||
  |  |  ------------------
  |  |  |  Branch (12124:21): [True: 0, False: 70.4M]
  |  |  ------------------
  |  |12125|  70.4M|                    !FT_ATOMIC_LOAD_UINT8(_PyObject_InlineValues(owner_o)->valid)) {
  |  |  ------------------
  |  |  |  |  154|  70.4M|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (12125:21): [True: 0, False: 70.4M]
  |  |  ------------------
  |  |12126|      0|                    UNLOCK_OBJECT(owner_o);
  |  |  ------------------
  |  |  |  |  323|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12127|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (12127:25): [True: 0, Folded]
  |  |  ------------------
  |  |12128|      0|                        UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12129|      0|                        assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12129:25): [True: 0, False: 0]
  |  |  ------------------
  |  |12130|      0|                        JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12131|      0|                    }
  |  |12132|      0|                }
  |  |12133|  70.4M|            }
  |  |12134|       |            // _STORE_ATTR_INSTANCE_VALUE
  |  |12135|  70.4M|            {
  |  |12136|  70.4M|                value = stack_pointer[-2];
  |  |12137|  70.4M|                uint16_t offset = read_u16(&this_instr[4].cache);
  |  |12138|  70.4M|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  |12139|  70.4M|                STAT_INC(STORE_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  70.4M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12140|  70.4M|                assert(_PyObject_GetManagedDict(owner_o) == NULL);
  |  |  ------------------
  |  |  |  Branch (12140:17): [True: 70.4M, False: 0]
  |  |  ------------------
  |  |12141|  70.4M|                PyObject **value_ptr = (PyObject**)(((char *)owner_o) + offset);
  |  |12142|  70.4M|                PyObject *old_value = *value_ptr;
  |  |12143|  70.4M|                FT_ATOMIC_STORE_PTR_RELEASE(*value_ptr, PyStackRef_AsPyObjectSteal(value));
  |  |  ------------------
  |  |  |  |  164|  70.4M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  |12144|  70.4M|                if (old_value == NULL) {
  |  |  ------------------
  |  |  |  Branch (12144:21): [True: 22.9M, False: 47.5M]
  |  |  ------------------
  |  |12145|  22.9M|                    PyDictValues *values = _PyObject_InlineValues(owner_o);
  |  |12146|  22.9M|                    Py_ssize_t index = value_ptr - values->values;
  |  |12147|  22.9M|                    _PyDictValues_AddToInsertionOrder(values, index);
  |  |12148|  22.9M|                }
  |  |12149|  70.4M|                UNLOCK_OBJECT(owner_o);
  |  |  ------------------
  |  |  |  |  323|  70.4M|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12150|  70.4M|                o = owner;
  |  |12151|  70.4M|                stack_pointer[-2] = o;
  |  |12152|  70.4M|                stack_pointer += -1;
  |  |12153|  70.4M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  70.4M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12154|  70.4M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12155|  70.4M|                _PyFrame_StackPointerValidate(frame);
  |  |12156|  70.4M|                Py_XDECREF(old_value);
  |  |  ------------------
  |  |  |  |   69|  70.4M|    do { \
  |  |  |  |   70|  70.4M|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  70.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  70.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   71|  70.4M|        if (xop != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (71:13): [True: 47.5M, False: 22.9M]
  |  |  |  |  ------------------
  |  |  |  |   72|  47.5M|            Py_DECREF(xop); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|  47.5M|    do { \
  |  |  |  |  |  |   81|  47.5M|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  47.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  47.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|  47.5M|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|  47.5M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|  47.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|  47.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 27.9M, False: 19.5M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|  27.9M|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|  27.9M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|  27.9M|            break; \
  |  |  |  |  |  |   85|  27.9M|        } \
  |  |  |  |  |  |   86|  47.5M|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|  19.5M|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|  19.5M|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 323k, False: 19.2M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|   323k|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|   323k|    do { \
  |  |  |  |  |  |  |  |  113|   323k|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  114|   323k|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 323k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  |  |  118|   323k|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 323k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|   323k|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|   323k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|   323k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|   323k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|   323k|            (*dealloc)(op); \
  |  |  |  |  |  |   91|   323k|        } \
  |  |  |  |  |  |   92|  19.5M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 19.5M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   73|  47.5M|        } \
  |  |  |  |   74|  70.4M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (74:14): [Folded, False: 70.4M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12157|  70.4M|                _PyFrame_StackPointerInvalidate(frame);
  |  |12158|  70.4M|            }
  |  |12159|       |            // _POP_TOP
  |  |12160|      0|            {
  |  |12161|  70.4M|                value = o;
  |  |12162|  70.4M|                stack_pointer += -1;
  |  |12163|  70.4M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  70.4M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12164|  70.4M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12165|  70.4M|                _PyFrame_StackPointerValidate(frame);
  |  |12166|  70.4M|                PyStackRef_XCLOSE(value);
  |  |12167|  70.4M|                _PyFrame_StackPointerInvalidate(frame);
  |  |12168|  70.4M|            }
  |  |12169|  70.4M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  70.4M|    { \
  |  |  |  |  201|  70.4M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  70.4M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  70.4M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  70.4M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  70.4M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  70.4M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  70.4M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  70.4M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 70.4M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  70.4M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  70.4M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  70.4M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  70.4M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  70.4M|    }
  |  |  ------------------
  |  |12170|  70.4M|        }
  |  |12171|       |
  |  |12172|    140|        TARGET(STORE_ATTR_SLOT) {
  |  |  ------------------
  |  |  |  |  132|    140|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12173|       |            #if _Py_TAIL_CALL_INTERP
  |  |12174|       |            int opcode = STORE_ATTR_SLOT;
  |  |12175|       |            (void)(opcode);
  |  |12176|       |            #endif
  |  |12177|    140|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12178|    140|            (void)this_instr;
  |  |12179|    140|            frame->instr_ptr = next_instr;
  |  |12180|    140|            next_instr += 5;
  |  |12181|    140|            INSTRUCTION_STATS(STORE_ATTR_SLOT);
  |  |  ------------------
  |  |  |  |   71|    140|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12182|    140|            static_assert(INLINE_CACHE_ENTRIES_STORE_ATTR == 4, "incorrect cache size");
  |  |12183|    140|            _PyStackRef owner;
  |  |12184|    140|            _PyStackRef value;
  |  |12185|    140|            _PyStackRef o;
  |  |12186|       |            /* Skip 1 cache entry */
  |  |12187|       |            // _GUARD_TYPE_VERSION
  |  |12188|    140|            {
  |  |12189|    140|                owner = stack_pointer[-1];
  |  |12190|    140|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  |12191|    140|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12192|    140|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (12192:17): [True: 140, False: 0]
  |  |  ------------------
  |  |12193|    140|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|    140|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (12193:21): [True: 0, False: 140]
  |  |  ------------------
  |  |12194|      0|                    UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12195|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12195:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12196|      0|                    JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12197|      0|                }
  |  |12198|    140|            }
  |  |12199|       |            // _STORE_ATTR_SLOT
  |  |12200|    140|            {
  |  |12201|    140|                value = stack_pointer[-2];
  |  |12202|    140|                uint16_t index = read_u16(&this_instr[4].cache);
  |  |12203|    140|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  |12204|    140|                if (!LOCK_OBJECT(owner_o)) {
  |  |  ------------------
  |  |  |  |  322|    140|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (12204:21): [Folded, False: 140]
  |  |  ------------------
  |  |12205|      0|                    UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12206|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12206:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12207|      0|                    JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12208|      0|                }
  |  |12209|    140|                char *addr = (char *)owner_o + index;
  |  |12210|    140|                STAT_INC(STORE_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|    140|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12211|    140|                PyObject *old_value = *(PyObject **)addr;
  |  |12212|    140|                FT_ATOMIC_STORE_PTR_RELEASE(*(PyObject **)addr, PyStackRef_AsPyObjectSteal(value));
  |  |  ------------------
  |  |  |  |  164|    140|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  |12213|    140|                UNLOCK_OBJECT(owner_o);
  |  |  ------------------
  |  |  |  |  323|    140|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12214|    140|                o = owner;
  |  |12215|    140|                stack_pointer[-2] = o;
  |  |12216|    140|                stack_pointer += -1;
  |  |12217|    140|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    140|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12218|    140|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12219|    140|                _PyFrame_StackPointerValidate(frame);
  |  |12220|    140|                Py_XDECREF(old_value);
  |  |  ------------------
  |  |  |  |   69|    140|    do { \
  |  |  |  |   70|    140|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    140|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    140|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   71|    140|        if (xop != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (71:13): [True: 10, False: 130]
  |  |  |  |  ------------------
  |  |  |  |   72|     10|            Py_DECREF(xop); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|     10|    do { \
  |  |  |  |  |  |   81|     10|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|     10|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|     10|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 10, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|     10|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|     10|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|     10|            break; \
  |  |  |  |  |  |   85|     10|        } \
  |  |  |  |  |  |   86|     10|        _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|     10|        } \
  |  |  |  |   74|    140|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (74:14): [Folded, False: 140]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12221|    140|                _PyFrame_StackPointerInvalidate(frame);
  |  |12222|    140|            }
  |  |12223|       |            // _POP_TOP
  |  |12224|      0|            {
  |  |12225|    140|                value = o;
  |  |12226|    140|                stack_pointer += -1;
  |  |12227|    140|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    140|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12228|    140|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12229|    140|                _PyFrame_StackPointerValidate(frame);
  |  |12230|    140|                PyStackRef_XCLOSE(value);
  |  |12231|    140|                _PyFrame_StackPointerInvalidate(frame);
  |  |12232|    140|            }
  |  |12233|    140|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    140|    { \
  |  |  |  |  201|    140|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    140|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    140|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    140|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    140|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    140|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    140|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    140|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 140]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    140|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    140|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    140|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    140|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    140|    }
  |  |  ------------------
  |  |12234|    140|        }
  |  |12235|       |
  |  |12236|      0|        TARGET(STORE_ATTR_WITH_HINT) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12237|       |            #if _Py_TAIL_CALL_INTERP
  |  |12238|       |            int opcode = STORE_ATTR_WITH_HINT;
  |  |12239|       |            (void)(opcode);
  |  |12240|       |            #endif
  |  |12241|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12242|      0|            (void)this_instr;
  |  |12243|      0|            frame->instr_ptr = next_instr;
  |  |12244|      0|            next_instr += 5;
  |  |12245|      0|            INSTRUCTION_STATS(STORE_ATTR_WITH_HINT);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12246|      0|            static_assert(INLINE_CACHE_ENTRIES_STORE_ATTR == 4, "incorrect cache size");
  |  |12247|      0|            _PyStackRef owner;
  |  |12248|      0|            _PyStackRef value;
  |  |12249|      0|            _PyStackRef o;
  |  |12250|       |            /* Skip 1 cache entry */
  |  |12251|       |            // _GUARD_TYPE_VERSION
  |  |12252|      0|            {
  |  |12253|      0|                owner = stack_pointer[-1];
  |  |12254|      0|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  |12255|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12256|      0|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (12256:17): [True: 0, False: 0]
  |  |  ------------------
  |  |12257|      0|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|      0|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (12257:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12258|      0|                    UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12259|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12259:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12260|      0|                    JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12261|      0|                }
  |  |12262|      0|            }
  |  |12263|       |            // _STORE_ATTR_WITH_HINT
  |  |12264|      0|            {
  |  |12265|      0|                value = stack_pointer[-2];
  |  |12266|      0|                uint16_t hint = read_u16(&this_instr[4].cache);
  |  |12267|      0|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  |12268|      0|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  |  |  ------------------
  |  |  |  Branch (12268:17): [True: 0, False: 0]
  |  |  ------------------
  |  |12269|      0|                PyDictObject *dict = _PyObject_GetManagedDict(owner_o);
  |  |12270|      0|                if (dict == NULL) {
  |  |  ------------------
  |  |  |  Branch (12270:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12271|      0|                    UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12272|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12272:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12273|      0|                    JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12274|      0|                }
  |  |12275|      0|                if (!LOCK_OBJECT(dict)) {
  |  |  ------------------
  |  |  |  |  322|      0|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (12275:21): [Folded, False: 0]
  |  |  ------------------
  |  |12276|      0|                    UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12277|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12277:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12278|      0|                    JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12279|      0|                }
  |  |12280|      0|                assert(PyDict_CheckExact((PyObject *)dict));
  |  |  ------------------
  |  |  |  Branch (12280:17): [True: 0, False: 0]
  |  |  ------------------
  |  |12281|      0|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  236|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12281:34): [True: 0, False: 0]
  |  |  ------------------
  |  |12282|      0|                if (hint >= (size_t)dict->ma_keys->dk_nentries ||
  |  |  ------------------
  |  |  |  Branch (12282:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12283|      0|                    dict->ma_keys->dk_kind != DICT_KEYS_UNICODE) {
  |  |  ------------------
  |  |  |  Branch (12283:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12284|      0|                    UNLOCK_OBJECT(dict);
  |  |  ------------------
  |  |  |  |  323|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12285|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (12285:25): [True: 0, Folded]
  |  |  ------------------
  |  |12286|      0|                        UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12287|      0|                        assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12287:25): [True: 0, False: 0]
  |  |  ------------------
  |  |12288|      0|                        JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12289|      0|                    }
  |  |12290|      0|                }
  |  |12291|      0|                PyDictUnicodeEntry *ep = DK_UNICODE_ENTRIES(dict->ma_keys) + hint;
  |  |12292|      0|                if (ep->me_key != name) {
  |  |  ------------------
  |  |  |  Branch (12292:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12293|      0|                    UNLOCK_OBJECT(dict);
  |  |  ------------------
  |  |  |  |  323|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12294|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (12294:25): [True: 0, Folded]
  |  |  ------------------
  |  |12295|      0|                        UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12296|      0|                        assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12296:25): [True: 0, False: 0]
  |  |  ------------------
  |  |12297|      0|                        JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12298|      0|                    }
  |  |12299|      0|                }
  |  |12300|      0|                PyObject *old_value = ep->me_value;
  |  |12301|      0|                if (old_value == NULL) {
  |  |  ------------------
  |  |  |  Branch (12301:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12302|      0|                    UNLOCK_OBJECT(dict);
  |  |  ------------------
  |  |  |  |  323|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12303|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (12303:25): [True: 0, Folded]
  |  |  ------------------
  |  |12304|      0|                        UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12305|      0|                        assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12305:25): [True: 0, False: 0]
  |  |  ------------------
  |  |12306|      0|                        JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12307|      0|                    }
  |  |12308|      0|                }
  |  |12309|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12310|      0|                _PyFrame_StackPointerValidate(frame);
  |  |12311|      0|                _PyDict_NotifyEvent(PyDict_EVENT_MODIFIED, dict, name, PyStackRef_AsPyObjectBorrow(value));
  |  |12312|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |12313|      0|                FT_ATOMIC_STORE_PTR_RELEASE(ep->me_value, PyStackRef_AsPyObjectSteal(value));
  |  |  ------------------
  |  |  |  |  164|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  |12314|      0|                UNLOCK_OBJECT(dict);
  |  |  ------------------
  |  |  |  |  323|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12315|      0|                STAT_INC(STORE_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|      0|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12316|      0|                o = owner;
  |  |12317|      0|                stack_pointer[-2] = o;
  |  |12318|      0|                stack_pointer += -1;
  |  |12319|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12320|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12321|      0|                _PyFrame_StackPointerValidate(frame);
  |  |12322|      0|                Py_XDECREF(old_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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12323|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |12324|      0|            }
  |  |12325|       |            // _POP_TOP
  |  |12326|      0|            {
  |  |12327|      0|                value = o;
  |  |12328|      0|                stack_pointer += -1;
  |  |12329|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12330|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12331|      0|                _PyFrame_StackPointerValidate(frame);
  |  |12332|      0|                PyStackRef_XCLOSE(value);
  |  |12333|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |12334|      0|            }
  |  |12335|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  |12336|      0|        }
  |  |12337|       |
  |  |12338|  2.96M|        TARGET(STORE_DEREF) {
  |  |  ------------------
  |  |  |  |  132|  2.96M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12339|       |            #if _Py_TAIL_CALL_INTERP
  |  |12340|       |            int opcode = STORE_DEREF;
  |  |12341|       |            (void)(opcode);
  |  |12342|       |            #endif
  |  |12343|  2.96M|            frame->instr_ptr = next_instr;
  |  |12344|  2.96M|            next_instr += 1;
  |  |12345|  2.96M|            INSTRUCTION_STATS(STORE_DEREF);
  |  |  ------------------
  |  |  |  |   71|  2.96M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12346|  2.96M|            _PyStackRef v;
  |  |12347|  2.96M|            v = stack_pointer[-1];
  |  |12348|  2.96M|            PyCellObject *cell = (PyCellObject *)PyStackRef_AsPyObjectBorrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  285|  2.96M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12349|  2.96M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12350|  2.96M|            _PyFrame_StackPointerValidate(frame);
  |  |12351|  2.96M|            PyCell_SetTakeRef(cell, PyStackRef_AsPyObjectSteal(v));
  |  |12352|  2.96M|            _PyFrame_StackPointerInvalidate(frame);
  |  |12353|  2.96M|            stack_pointer += -1;
  |  |12354|  2.96M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.96M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12355|  2.96M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.96M|    { \
  |  |  |  |  201|  2.96M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.96M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.96M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.96M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.96M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.96M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.96M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.96M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.96M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.96M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.96M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.96M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.96M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.96M|    }
  |  |  ------------------
  |  |12356|  2.96M|        }
  |  |12357|       |
  |  |12358|   266M|        TARGET(STORE_FAST) {
  |  |  ------------------
  |  |  |  |  132|   266M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12359|       |            #if _Py_TAIL_CALL_INTERP
  |  |12360|       |            int opcode = STORE_FAST;
  |  |12361|       |            (void)(opcode);
  |  |12362|       |            #endif
  |  |12363|   266M|            frame->instr_ptr = next_instr;
  |  |12364|   266M|            next_instr += 1;
  |  |12365|   266M|            INSTRUCTION_STATS(STORE_FAST);
  |  |  ------------------
  |  |  |  |   71|   266M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12366|   266M|            _PyStackRef value;
  |  |12367|   266M|            _PyStackRef trash;
  |  |12368|       |            // _SWAP_FAST
  |  |12369|   266M|            {
  |  |12370|   266M|                value = stack_pointer[-1];
  |  |12371|   266M|                _PyStackRef tmp = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  285|   266M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12372|   266M|                GETLOCAL(oparg) = value;
  |  |  ------------------
  |  |  |  |  285|   266M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12373|   266M|                trash = tmp;
  |  |12374|   266M|            }
  |  |12375|       |            // _POP_TOP
  |  |12376|   266M|            {
  |  |12377|   266M|                value = trash;
  |  |12378|   266M|                stack_pointer += -1;
  |  |12379|   266M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   266M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12380|   266M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12381|   266M|                _PyFrame_StackPointerValidate(frame);
  |  |12382|   266M|                PyStackRef_XCLOSE(value);
  |  |12383|   266M|                _PyFrame_StackPointerInvalidate(frame);
  |  |12384|   266M|            }
  |  |12385|   266M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   266M|    { \
  |  |  |  |  201|   266M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   266M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   266M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   266M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   266M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   266M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   266M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   266M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 266M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   266M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   266M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   266M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   266M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   266M|    }
  |  |  ------------------
  |  |12386|   266M|        }
  |  |12387|       |
  |  |12388|   266M|        TARGET(STORE_FAST_LOAD_FAST) {
  |  |  ------------------
  |  |  |  |  132|  2.33M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12389|       |            #if _Py_TAIL_CALL_INTERP
  |  |12390|       |            int opcode = STORE_FAST_LOAD_FAST;
  |  |12391|       |            (void)(opcode);
  |  |12392|       |            #endif
  |  |12393|  2.33M|            frame->instr_ptr = next_instr;
  |  |12394|  2.33M|            next_instr += 1;
  |  |12395|  2.33M|            INSTRUCTION_STATS(STORE_FAST_LOAD_FAST);
  |  |  ------------------
  |  |  |  |   71|  2.33M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12396|  2.33M|            _PyStackRef value1;
  |  |12397|  2.33M|            _PyStackRef value2;
  |  |12398|  2.33M|            value1 = stack_pointer[-1];
  |  |12399|  2.33M|            uint32_t oparg1 = oparg >> 4;
  |  |12400|  2.33M|            uint32_t oparg2 = oparg & 15;
  |  |12401|  2.33M|            _PyStackRef tmp = GETLOCAL(oparg1);
  |  |  ------------------
  |  |  |  |  285|  2.33M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12402|  2.33M|            GETLOCAL(oparg1) = value1;
  |  |  ------------------
  |  |  |  |  285|  2.33M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12403|  2.33M|            value2 = PyStackRef_DUP(GETLOCAL(oparg2));
  |  |  ------------------
  |  |  |  |  285|  2.33M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12404|  2.33M|            stack_pointer[-1] = value2;
  |  |12405|  2.33M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12406|  2.33M|            _PyFrame_StackPointerValidate(frame);
  |  |12407|  2.33M|            PyStackRef_XCLOSE(tmp);
  |  |12408|  2.33M|            _PyFrame_StackPointerInvalidate(frame);
  |  |12409|  2.33M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.33M|    { \
  |  |  |  |  201|  2.33M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.33M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.33M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.33M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.33M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.33M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.33M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.33M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.33M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.33M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.33M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.33M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.33M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.33M|    }
  |  |  ------------------
  |  |12410|  2.33M|        }
  |  |12411|       |
  |  |12412|  49.0M|        TARGET(STORE_FAST_STORE_FAST) {
  |  |  ------------------
  |  |  |  |  132|  49.0M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12413|       |            #if _Py_TAIL_CALL_INTERP
  |  |12414|       |            int opcode = STORE_FAST_STORE_FAST;
  |  |12415|       |            (void)(opcode);
  |  |12416|       |            #endif
  |  |12417|  49.0M|            frame->instr_ptr = next_instr;
  |  |12418|  49.0M|            next_instr += 1;
  |  |12419|  49.0M|            INSTRUCTION_STATS(STORE_FAST_STORE_FAST);
  |  |  ------------------
  |  |  |  |   71|  49.0M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12420|  49.0M|            _PyStackRef value2;
  |  |12421|  49.0M|            _PyStackRef value1;
  |  |12422|  49.0M|            value1 = stack_pointer[-1];
  |  |12423|  49.0M|            value2 = stack_pointer[-2];
  |  |12424|  49.0M|            uint32_t oparg1 = oparg >> 4;
  |  |12425|  49.0M|            uint32_t oparg2 = oparg & 15;
  |  |12426|  49.0M|            _PyStackRef tmp = GETLOCAL(oparg1);
  |  |  ------------------
  |  |  |  |  285|  49.0M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12427|  49.0M|            GETLOCAL(oparg1) = value1;
  |  |  ------------------
  |  |  |  |  285|  49.0M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12428|  49.0M|            stack_pointer += -1;
  |  |12429|  49.0M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  49.0M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12430|  49.0M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12431|  49.0M|            _PyFrame_StackPointerValidate(frame);
  |  |12432|  49.0M|            PyStackRef_XCLOSE(tmp);
  |  |12433|  49.0M|            _PyFrame_StackPointerInvalidate(frame);
  |  |12434|  49.0M|            tmp = GETLOCAL(oparg2);
  |  |  ------------------
  |  |  |  |  285|  49.0M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12435|  49.0M|            GETLOCAL(oparg2) = value2;
  |  |  ------------------
  |  |  |  |  285|  49.0M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12436|  49.0M|            stack_pointer += -1;
  |  |12437|  49.0M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  49.0M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12438|  49.0M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12439|  49.0M|            _PyFrame_StackPointerValidate(frame);
  |  |12440|  49.0M|            PyStackRef_XCLOSE(tmp);
  |  |12441|  49.0M|            _PyFrame_StackPointerInvalidate(frame);
  |  |12442|  49.0M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  49.0M|    { \
  |  |  |  |  201|  49.0M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  49.0M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  49.0M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  49.0M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  49.0M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  49.0M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  49.0M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  49.0M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 49.0M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  49.0M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  49.0M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  49.0M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  49.0M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  49.0M|    }
  |  |  ------------------
  |  |12443|  49.0M|        }
  |  |12444|       |
  |  |12445|  49.0M|        TARGET(STORE_GLOBAL) {
  |  |  ------------------
  |  |  |  |  132|     45|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12446|       |            #if _Py_TAIL_CALL_INTERP
  |  |12447|       |            int opcode = STORE_GLOBAL;
  |  |12448|       |            (void)(opcode);
  |  |12449|       |            #endif
  |  |12450|     45|            frame->instr_ptr = next_instr;
  |  |12451|     45|            next_instr += 1;
  |  |12452|     45|            INSTRUCTION_STATS(STORE_GLOBAL);
  |  |  ------------------
  |  |  |  |   71|     45|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12453|     45|            _PyStackRef v;
  |  |12454|     45|            v = stack_pointer[-1];
  |  |12455|     45|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  236|     45|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|     45|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|     45|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12455:30): [True: 45, False: 0]
  |  |  ------------------
  |  |12456|      0|            int err;
  |  |12457|     45|            if (PyStackRef_IsNull(v)) {
  |  |  ------------------
  |  |  |  |  482|     45|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|     45|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|     45|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 45]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12458|      0|                stack_pointer += -1;
  |  |12459|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12460|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12461|      0|                _PyFrame_StackPointerValidate(frame);
  |  |12462|      0|                err = PyDict_Pop(GLOBALS(), name, NULL);
  |  |  ------------------
  |  |  |  |  326|      0|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |12463|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |12464|      0|                if (err == 0) {
  |  |  ------------------
  |  |  |  Branch (12464:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12465|      0|                    err = -1;
  |  |12466|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (12466:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12467|      0|                    _PyFrame_StackPointerValidate(frame);
  |  |12468|      0|                    _PyEval_FormatExcCheckArg(tstate, PyExc_NameError,
  |  |12469|      0|                        NAME_ERROR_MSG, name);
  |  |  ------------------
  |  |  |  |  385|      0|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  |  |  ------------------
  |  |12470|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  |12471|      0|                }
  |  |12472|      0|            }
  |  |12473|     45|            else {
  |  |12474|     45|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12475|     45|                _PyFrame_StackPointerValidate(frame);
  |  |12476|     45|                err = PyDict_SetItem(GLOBALS(), name, PyStackRef_AsPyObjectBorrow(v));
  |  |  ------------------
  |  |  |  |  326|     45|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |12477|     45|                _PyFrame_StackPointerInvalidate(frame);
  |  |12478|     45|                stack_pointer += -1;
  |  |12479|     45|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     45|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12480|     45|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12481|     45|                _PyFrame_StackPointerValidate(frame);
  |  |12482|     45|                PyStackRef_CLOSE(v);
  |  |12483|     45|                _PyFrame_StackPointerInvalidate(frame);
  |  |12484|     45|            }
  |  |12485|     45|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (12485:17): [True: 0, False: 45]
  |  |  ------------------
  |  |12486|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12487|      0|            }
  |  |12488|     45|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     45|    { \
  |  |  |  |  201|     45|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     45|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     45|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     45|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     45|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     45|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     45|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     45|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 45]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     45|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     45|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     45|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     45|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     45|    }
  |  |  ------------------
  |  |12489|     45|        }
  |  |12490|       |
  |  |12491|  5.80k|        TARGET(STORE_NAME) {
  |  |  ------------------
  |  |  |  |  132|  5.80k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12492|       |            #if _Py_TAIL_CALL_INTERP
  |  |12493|       |            int opcode = STORE_NAME;
  |  |12494|       |            (void)(opcode);
  |  |12495|       |            #endif
  |  |12496|  5.80k|            frame->instr_ptr = next_instr;
  |  |12497|  5.80k|            next_instr += 1;
  |  |12498|  5.80k|            INSTRUCTION_STATS(STORE_NAME);
  |  |  ------------------
  |  |  |  |   71|  5.80k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12499|  5.80k|            _PyStackRef v;
  |  |12500|  5.80k|            v = stack_pointer[-1];
  |  |12501|  5.80k|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  236|  5.80k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  5.80k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  5.80k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  5.80k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12501:30): [True: 5.80k, False: 0]
  |  |  ------------------
  |  |12502|  5.80k|            PyObject *ns = LOCALS();
  |  |  ------------------
  |  |  |  |  328|  5.80k|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  |12503|  5.80k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12504|  5.80k|            _PyFrame_StackPointerValidate(frame);
  |  |12505|  5.80k|            int error = _PyEval_StoreName(tstate, v, name, ns);
  |  |12506|  5.80k|            _PyFrame_StackPointerInvalidate(frame);
  |  |12507|  5.80k|            if (PyStackRef_IsNull(v)) {
  |  |  ------------------
  |  |  |  |  482|  5.80k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  5.80k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  5.80k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 40, False: 5.76k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12508|     40|            }
  |  |12509|  5.76k|            else {
  |  |12510|  5.76k|                stack_pointer += -1;
  |  |12511|  5.76k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  5.76k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12512|  5.76k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12513|  5.76k|                _PyFrame_StackPointerValidate(frame);
  |  |12514|  5.76k|                PyStackRef_CLOSE(v);
  |  |12515|  5.76k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12516|  5.76k|                stack_pointer += 1;
  |  |12517|  5.76k|            }
  |  |12518|  5.80k|            if (error) {
  |  |  ------------------
  |  |  |  Branch (12518:17): [True: 0, False: 5.80k]
  |  |  ------------------
  |  |12519|      0|                JUMP_TO_LABEL(pop_1_error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12520|      0|            }
  |  |12521|  5.80k|            stack_pointer += -1;
  |  |12522|  5.80k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  5.80k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12523|  5.80k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  5.80k|    { \
  |  |  |  |  201|  5.80k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  5.80k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  5.80k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  5.80k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  5.80k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  5.80k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  5.80k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  5.80k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 5.80k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  5.80k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  5.80k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  5.80k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  5.80k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  5.80k|    }
  |  |  ------------------
  |  |12524|  5.80k|        }
  |  |12525|       |
  |  |12526|  18.2k|        TARGET(STORE_SLICE) {
  |  |  ------------------
  |  |  |  |  132|  18.2k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12527|       |            #if _Py_TAIL_CALL_INTERP
  |  |12528|       |            int opcode = STORE_SLICE;
  |  |12529|       |            (void)(opcode);
  |  |12530|       |            #endif
  |  |12531|  18.2k|            frame->instr_ptr = next_instr;
  |  |12532|  18.2k|            next_instr += 1;
  |  |12533|  18.2k|            INSTRUCTION_STATS(STORE_SLICE);
  |  |  ------------------
  |  |  |  |   71|  18.2k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12534|  18.2k|            _PyStackRef v;
  |  |12535|  18.2k|            _PyStackRef container;
  |  |12536|  18.2k|            _PyStackRef start;
  |  |12537|  18.2k|            _PyStackRef stop;
  |  |12538|       |            // _SPECIALIZE_STORE_SLICE
  |  |12539|  18.2k|            {
  |  |12540|  18.2k|                #if ENABLE_SPECIALIZATION
  |  |12541|  18.2k|                OPCODE_DEFERRED_INC(STORE_SLICE);
  |  |  ------------------
  |  |  |  |   90|  18.2k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |12542|  18.2k|                #endif  /* ENABLE_SPECIALIZATION */
  |  |12543|  18.2k|            }
  |  |12544|       |            // _STORE_SLICE
  |  |12545|  18.2k|            {
  |  |12546|  18.2k|                stop = stack_pointer[-1];
  |  |12547|  18.2k|                start = stack_pointer[-2];
  |  |12548|  18.2k|                container = stack_pointer[-3];
  |  |12549|  18.2k|                v = stack_pointer[-4];
  |  |12550|  18.2k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12551|  18.2k|                _PyFrame_StackPointerValidate(frame);
  |  |12552|  18.2k|                PyObject *slice = _PyBuildSlice_ConsumeRefs(PyStackRef_AsPyObjectSteal(start),
  |  |12553|  18.2k|                    PyStackRef_AsPyObjectSteal(stop),
  |  |12554|  18.2k|                    Py_None);
  |  |  ------------------
  |  |  |  |  616|  18.2k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  |  |12555|  18.2k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12556|  18.2k|                int err;
  |  |12557|  18.2k|                if (slice == NULL) {
  |  |  ------------------
  |  |  |  Branch (12557:21): [True: 0, False: 18.2k]
  |  |  ------------------
  |  |12558|      0|                    err = 1;
  |  |12559|      0|                }
  |  |12560|  18.2k|                else {
  |  |12561|  18.2k|                    stack_pointer += -2;
  |  |12562|  18.2k|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  18.2k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12563|  18.2k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12564|  18.2k|                    _PyFrame_StackPointerValidate(frame);
  |  |12565|  18.2k|                    err = PyObject_SetItem(PyStackRef_AsPyObjectBorrow(container), slice, PyStackRef_AsPyObjectBorrow(v));
  |  |12566|  18.2k|                    _PyFrame_StackPointerInvalidate(frame);
  |  |12567|  18.2k|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (12567:21): [True: 18.2k, False: 0]
  |  |  ------------------
  |  |12568|  18.2k|                    _PyFrame_StackPointerValidate(frame);
  |  |12569|  18.2k|                    Py_DECREF(slice);
  |  |  ------------------
  |  |  |  |   80|  18.2k|    do { \
  |  |  |  |   81|  18.2k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  18.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  18.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|  18.2k|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|  18.2k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  18.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  18.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 18.2k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|  18.2k|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|  18.2k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|  18.2k|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 18.2k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|  18.2k|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|  18.2k|    do { \
  |  |  |  |  |  |  113|  18.2k|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|  18.2k|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 18.2k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|  18.2k|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 18.2k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|  18.2k|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|  18.2k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  18.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  18.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|  18.2k|            (*dealloc)(op); \
  |  |  |  |   91|  18.2k|        } \
  |  |  |  |   92|  18.2k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 18.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12570|  18.2k|                    _PyFrame_StackPointerInvalidate(frame);
  |  |12571|  18.2k|                    stack_pointer += 2;
  |  |12572|  18.2k|                }
  |  |12573|  18.2k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12574|  18.2k|                _PyFrame_StackPointerValidate(frame);
  |  |12575|  18.2k|                _PyStackRef tmp = container;
  |  |12576|  18.2k|                container = PyStackRef_NULL;
  |  |12577|  18.2k|                stack_pointer[-3] = container;
  |  |12578|  18.2k|                PyStackRef_CLOSE(tmp);
  |  |12579|  18.2k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12580|  18.2k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (12580:17): [True: 18.2k, False: 0]
  |  |  ------------------
  |  |12581|  18.2k|                _PyFrame_StackPointerValidate(frame);
  |  |12582|  18.2k|                tmp = v;
  |  |12583|  18.2k|                v = PyStackRef_NULL;
  |  |12584|  18.2k|                stack_pointer[-4] = v;
  |  |12585|  18.2k|                PyStackRef_CLOSE(tmp);
  |  |12586|  18.2k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12587|  18.2k|                stack_pointer += -4;
  |  |12588|  18.2k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  18.2k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12589|  18.2k|                if (err) {
  |  |  ------------------
  |  |  |  Branch (12589:21): [True: 0, False: 18.2k]
  |  |  ------------------
  |  |12590|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12591|      0|                }
  |  |12592|  18.2k|            }
  |  |12593|  18.2k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  18.2k|    { \
  |  |  |  |  201|  18.2k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  18.2k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  18.2k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  18.2k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  18.2k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  18.2k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  18.2k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  18.2k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  |12594|  18.2k|        }
  |  |12595|       |
  |  |12596|  16.8M|        TARGET(STORE_SUBSCR) {
  |  |  ------------------
  |  |  |  |  132|  16.8M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12597|       |            #if _Py_TAIL_CALL_INTERP
  |  |12598|       |            int opcode = STORE_SUBSCR;
  |  |12599|       |            (void)(opcode);
  |  |12600|       |            #endif
  |  |12601|  16.8M|            frame->instr_ptr = next_instr;
  |  |12602|  16.8M|            next_instr += 2;
  |  |12603|  16.8M|            INSTRUCTION_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |   71|  16.8M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12604|  16.8M|            PREDICTED_STORE_SUBSCR:;
  |  |12605|  16.8M|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  |12606|  16.8M|            (void)this_instr;
  |  |12607|  16.8M|            _PyStackRef container;
  |  |12608|  16.8M|            _PyStackRef sub;
  |  |12609|  16.8M|            _PyStackRef v;
  |  |12610|       |            // _SPECIALIZE_STORE_SUBSCR
  |  |12611|  16.8M|            {
  |  |12612|  16.8M|                sub = stack_pointer[-1];
  |  |12613|  16.8M|                container = stack_pointer[-2];
  |  |12614|  16.8M|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |12615|  16.8M|                (void)counter;
  |  |12616|  16.8M|                #if ENABLE_SPECIALIZATION
  |  |12617|  16.8M|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  16.8M|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 2.19k, False: 16.8M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12618|  2.19k|                    next_instr = this_instr;
  |  |12619|  2.19k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12620|  2.19k|                    _PyFrame_StackPointerValidate(frame);
  |  |12621|  2.19k|                    _Py_Specialize_StoreSubscr(container, sub, next_instr);
  |  |12622|  2.19k|                    _PyFrame_StackPointerInvalidate(frame);
  |  |12623|  2.19k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|  2.19k|    { \
  |  |  |  |  217|  2.19k|        opcode = next_instr->op.code; \
  |  |  |  |  218|  2.19k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.19k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|  2.19k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  2.19k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|  2.19k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|  2.19k|    }
  |  |  ------------------
  |  |12624|  2.19k|                }
  |  |12625|  16.8M|                OPCODE_DEFERRED_INC(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |   90|  16.8M|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |12626|  16.8M|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  358|  16.8M|    do { \
  |  |  |  |  359|  16.8M|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  360|  16.8M|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (360:14): [Folded, False: 16.8M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12627|  16.8M|                #endif  /* ENABLE_SPECIALIZATION */
  |  |12628|  16.8M|            }
  |  |12629|       |            // _STORE_SUBSCR
  |  |12630|  16.8M|            {
  |  |12631|  16.8M|                v = stack_pointer[-3];
  |  |12632|  16.8M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12633|  16.8M|                _PyFrame_StackPointerValidate(frame);
  |  |12634|  16.8M|                int err = PyObject_SetItem(PyStackRef_AsPyObjectBorrow(container), PyStackRef_AsPyObjectBorrow(sub), PyStackRef_AsPyObjectBorrow(v));
  |  |12635|  16.8M|                _PyFrame_StackPointerInvalidate(frame);
  |  |12636|  16.8M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (12636:17): [True: 16.8M, False: 2.19k]
  |  |  ------------------
  |  |12637|  16.8M|                _PyFrame_StackPointerValidate(frame);
  |  |12638|  16.8M|                _PyStackRef tmp = sub;
  |  |12639|  16.8M|                sub = PyStackRef_NULL;
  |  |12640|  16.8M|                stack_pointer[-1] = sub;
  |  |12641|  16.8M|                PyStackRef_CLOSE(tmp);
  |  |12642|  16.8M|                _PyFrame_StackPointerInvalidate(frame);
  |  |12643|  16.8M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (12643:17): [True: 16.8M, False: 0]
  |  |  ------------------
  |  |12644|  16.8M|                _PyFrame_StackPointerValidate(frame);
  |  |12645|  16.8M|                tmp = container;
  |  |12646|  16.8M|                container = PyStackRef_NULL;
  |  |12647|  16.8M|                stack_pointer[-2] = container;
  |  |12648|  16.8M|                PyStackRef_CLOSE(tmp);
  |  |12649|  16.8M|                _PyFrame_StackPointerInvalidate(frame);
  |  |12650|  16.8M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (12650:17): [True: 16.8M, False: 0]
  |  |  ------------------
  |  |12651|  16.8M|                _PyFrame_StackPointerValidate(frame);
  |  |12652|  16.8M|                tmp = v;
  |  |12653|  16.8M|                v = PyStackRef_NULL;
  |  |12654|  16.8M|                stack_pointer[-3] = v;
  |  |12655|  16.8M|                PyStackRef_CLOSE(tmp);
  |  |12656|  16.8M|                _PyFrame_StackPointerInvalidate(frame);
  |  |12657|  16.8M|                stack_pointer += -3;
  |  |12658|  16.8M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  16.8M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12659|  16.8M|                if (err) {
  |  |  ------------------
  |  |  |  Branch (12659:21): [True: 0, False: 16.8M]
  |  |  ------------------
  |  |12660|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12661|      0|                }
  |  |12662|  16.8M|            }
  |  |12663|  16.8M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  16.8M|    { \
  |  |  |  |  201|  16.8M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  16.8M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  16.8M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  16.8M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  16.8M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  16.8M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  16.8M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  16.8M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  |12664|  16.8M|        }
  |  |12665|       |
  |  |12666|  8.72k|        TARGET(STORE_SUBSCR_DICT) {
  |  |  ------------------
  |  |  |  |  132|  8.72k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12667|       |            #if _Py_TAIL_CALL_INTERP
  |  |12668|       |            int opcode = STORE_SUBSCR_DICT;
  |  |12669|       |            (void)(opcode);
  |  |12670|       |            #endif
  |  |12671|  8.72k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12672|  8.72k|            (void)this_instr;
  |  |12673|  8.72k|            frame->instr_ptr = next_instr;
  |  |12674|  8.72k|            next_instr += 2;
  |  |12675|  8.72k|            INSTRUCTION_STATS(STORE_SUBSCR_DICT);
  |  |  ------------------
  |  |  |  |   71|  8.72k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12676|  8.72k|            static_assert(INLINE_CACHE_ENTRIES_STORE_SUBSCR == 1, "incorrect cache size");
  |  |12677|  8.72k|            _PyStackRef nos;
  |  |12678|  8.72k|            _PyStackRef value;
  |  |12679|  8.72k|            _PyStackRef dict_st;
  |  |12680|  8.72k|            _PyStackRef sub;
  |  |12681|  8.72k|            _PyStackRef st;
  |  |12682|       |            // _GUARD_NOS_DICT_STORE_SUBSCRIPT
  |  |12683|  8.72k|            {
  |  |12684|  8.72k|                nos = stack_pointer[-2];
  |  |12685|  8.72k|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |12686|  8.72k|                if (!Py_TYPE(o)->tp_as_mapping) {
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12686:21): [True: 0, False: 8.72k]
  |  |  ------------------
  |  |12687|      0|                    UPDATE_MISS_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12688|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_SUBSCR));
  |  |  ------------------
  |  |  |  Branch (12688:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12689|      0|                    JUMP_TO_PREDICTED(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12690|      0|                }
  |  |12691|  8.72k|                if (Py_TYPE(o)->tp_as_mapping->mp_ass_subscript != _PyDict_StoreSubscript) {
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12691:21): [True: 0, False: 8.72k]
  |  |  ------------------
  |  |12692|      0|                    UPDATE_MISS_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12693|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_SUBSCR));
  |  |  ------------------
  |  |  |  Branch (12693:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12694|      0|                    JUMP_TO_PREDICTED(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12695|      0|                }
  |  |12696|  8.72k|            }
  |  |12697|       |            /* Skip 1 cache entry */
  |  |12698|       |            // _STORE_SUBSCR_DICT
  |  |12699|  8.72k|            {
  |  |12700|  8.72k|                sub = stack_pointer[-1];
  |  |12701|  8.72k|                dict_st = nos;
  |  |12702|  8.72k|                value = stack_pointer[-3];
  |  |12703|  8.72k|                PyObject *dict = PyStackRef_AsPyObjectBorrow(dict_st);
  |  |12704|  8.72k|                assert(Py_TYPE(dict)->tp_as_mapping->mp_ass_subscript == _PyDict_StoreSubscript);
  |  |  ------------------
  |  |  |  Branch (12704:17): [True: 8.72k, False: 0]
  |  |  ------------------
  |  |12705|  8.72k|                STAT_INC(STORE_SUBSCR, hit);
  |  |  ------------------
  |  |  |  |   73|  8.72k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12706|  8.72k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12707|  8.72k|                _PyFrame_StackPointerValidate(frame);
  |  |12708|  8.72k|                int err = _PyDict_SetItem_Take2((PyDictObject *)dict,
  |  |12709|  8.72k|                    PyStackRef_AsPyObjectSteal(sub),
  |  |12710|  8.72k|                    PyStackRef_AsPyObjectSteal(value));
  |  |12711|  8.72k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12712|  8.72k|                if (err) {
  |  |  ------------------
  |  |  |  Branch (12712:21): [True: 0, False: 8.72k]
  |  |  ------------------
  |  |12713|      0|                    stack_pointer += -3;
  |  |12714|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12715|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12716|      0|                    _PyFrame_StackPointerValidate(frame);
  |  |12717|      0|                    PyStackRef_CLOSE(dict_st);
  |  |12718|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  |12719|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12720|      0|                }
  |  |12721|  8.72k|                st = dict_st;
  |  |12722|  8.72k|            }
  |  |12723|       |            // _POP_TOP
  |  |12724|      0|            {
  |  |12725|  8.72k|                value = st;
  |  |12726|  8.72k|                stack_pointer += -3;
  |  |12727|  8.72k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  8.72k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12728|  8.72k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12729|  8.72k|                _PyFrame_StackPointerValidate(frame);
  |  |12730|  8.72k|                PyStackRef_XCLOSE(value);
  |  |12731|  8.72k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12732|  8.72k|            }
  |  |12733|  8.72k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  8.72k|    { \
  |  |  |  |  201|  8.72k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  8.72k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  8.72k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  8.72k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  8.72k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  8.72k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  8.72k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  8.72k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 8.72k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  8.72k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  8.72k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  8.72k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  8.72k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  8.72k|    }
  |  |  ------------------
  |  |12734|  8.72k|        }
  |  |12735|       |
  |  |12736|  5.66M|        TARGET(STORE_SUBSCR_LIST_INT) {
  |  |  ------------------
  |  |  |  |  132|  5.66M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12737|       |            #if _Py_TAIL_CALL_INTERP
  |  |12738|       |            int opcode = STORE_SUBSCR_LIST_INT;
  |  |12739|       |            (void)(opcode);
  |  |12740|       |            #endif
  |  |12741|  5.66M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12742|  5.66M|            (void)this_instr;
  |  |12743|  5.66M|            frame->instr_ptr = next_instr;
  |  |12744|  5.66M|            next_instr += 2;
  |  |12745|  5.66M|            INSTRUCTION_STATS(STORE_SUBSCR_LIST_INT);
  |  |  ------------------
  |  |  |  |   71|  5.66M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12746|  5.66M|            static_assert(INLINE_CACHE_ENTRIES_STORE_SUBSCR == 1, "incorrect cache size");
  |  |12747|  5.66M|            _PyStackRef value;
  |  |12748|  5.66M|            _PyStackRef nos;
  |  |12749|  5.66M|            _PyStackRef list_st;
  |  |12750|  5.66M|            _PyStackRef sub_st;
  |  |12751|  5.66M|            _PyStackRef ls;
  |  |12752|  5.66M|            _PyStackRef ss;
  |  |12753|       |            // _GUARD_TOS_INT
  |  |12754|  5.66M|            {
  |  |12755|  5.66M|                value = stack_pointer[-1];
  |  |12756|  5.66M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |12757|  5.66M|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (12757:21): [True: 0, False: 5.66M]
  |  |  ------------------
  |  |12758|      0|                    UPDATE_MISS_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12759|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_SUBSCR));
  |  |  ------------------
  |  |  |  Branch (12759:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12760|      0|                    JUMP_TO_PREDICTED(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12761|      0|                }
  |  |12762|  5.66M|            }
  |  |12763|       |            // _GUARD_NOS_LIST
  |  |12764|  5.66M|            {
  |  |12765|  5.66M|                nos = stack_pointer[-2];
  |  |12766|  5.66M|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |12767|  5.66M|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   26|  5.66M|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  5.66M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  5.66M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  5.66M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12767:21): [True: 0, False: 5.66M]
  |  |  ------------------
  |  |12768|      0|                    UPDATE_MISS_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12769|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_SUBSCR));
  |  |  ------------------
  |  |  |  Branch (12769:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12770|      0|                    JUMP_TO_PREDICTED(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12771|      0|                }
  |  |12772|  5.66M|            }
  |  |12773|       |            /* Skip 1 cache entry */
  |  |12774|       |            // _STORE_SUBSCR_LIST_INT
  |  |12775|  5.66M|            {
  |  |12776|  5.66M|                sub_st = value;
  |  |12777|  5.66M|                list_st = nos;
  |  |12778|  5.66M|                value = stack_pointer[-3];
  |  |12779|  5.66M|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  |12780|  5.66M|                PyObject *list = PyStackRef_AsPyObjectBorrow(list_st);
  |  |12781|  5.66M|                assert(PyLong_CheckExact(sub));
  |  |  ------------------
  |  |  |  Branch (12781:17): [True: 5.66M, False: 0]
  |  |  ------------------
  |  |12782|  5.66M|                assert(PyList_CheckExact(list));
  |  |  ------------------
  |  |  |  Branch (12782:17): [True: 5.66M, False: 0]
  |  |  ------------------
  |  |12783|  5.66M|                Py_ssize_t index = _PyLong_CompactValue((PyLongObject *)sub);
  |  |12784|  5.66M|                if (!LOCK_OBJECT(list)) {
  |  |  ------------------
  |  |  |  |  322|  5.66M|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (12784:21): [Folded, False: 5.66M]
  |  |  ------------------
  |  |12785|      0|                    UPDATE_MISS_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12786|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_SUBSCR));
  |  |  ------------------
  |  |  |  Branch (12786:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12787|      0|                    JUMP_TO_PREDICTED(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12788|      0|                }
  |  |12789|  5.66M|                Py_ssize_t len = PyList_GET_SIZE(list);
  |  |  ------------------
  |  |  |  |   38|  5.66M|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.66M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.66M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12790|  5.66M|                if (index < 0) {
  |  |  ------------------
  |  |  |  Branch (12790:21): [True: 0, False: 5.66M]
  |  |  ------------------
  |  |12791|      0|                    index += len;
  |  |12792|      0|                }
  |  |12793|  5.66M|                if (index < 0 || index >= len) {
  |  |  ------------------
  |  |  |  Branch (12793:21): [True: 0, False: 5.66M]
  |  |  |  Branch (12793:34): [True: 0, False: 5.66M]
  |  |  ------------------
  |  |12794|      0|                    UNLOCK_OBJECT(list);
  |  |  ------------------
  |  |  |  |  323|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12795|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (12795:25): [True: 0, Folded]
  |  |  ------------------
  |  |12796|      0|                        UPDATE_MISS_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12797|      0|                        assert(_PyOpcode_Deopt[opcode] == (STORE_SUBSCR));
  |  |  ------------------
  |  |  |  Branch (12797:25): [True: 0, False: 0]
  |  |  ------------------
  |  |12798|      0|                        JUMP_TO_PREDICTED(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12799|      0|                    }
  |  |12800|      0|                }
  |  |12801|  5.66M|                STAT_INC(STORE_SUBSCR, hit);
  |  |  ------------------
  |  |  |  |   73|  5.66M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12802|  5.66M|                PyObject *old_value = PyList_GET_ITEM(list, index);
  |  |  ------------------
  |  |  |  |   40|  5.66M|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|  5.66M|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.66M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12802:39): [True: 5.66M, False: 0]
  |  |  ------------------
  |  |12803|  5.66M|                FT_ATOMIC_STORE_PTR_RELEASE(_PyList_ITEMS(list)[index],
  |  |  ------------------
  |  |  |  |  164|  11.3M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:55): [True: 5.66M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12804|  5.66M|                                        PyStackRef_AsPyObjectSteal(value));
  |  |12805|  5.66M|                assert(old_value != NULL);
  |  |  ------------------
  |  |  |  Branch (12805:17): [True: 5.66M, False: 0]
  |  |  ------------------
  |  |12806|  5.66M|                UNLOCK_OBJECT(list);
  |  |  ------------------
  |  |  |  |  323|  5.66M|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12807|  5.66M|                ls = list_st;
  |  |12808|  5.66M|                ss = sub_st;
  |  |12809|  5.66M|                stack_pointer[-3] = ls;
  |  |12810|  5.66M|                stack_pointer[-2] = ss;
  |  |12811|  5.66M|                stack_pointer += -1;
  |  |12812|  5.66M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  5.66M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12813|  5.66M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12814|  5.66M|                _PyFrame_StackPointerValidate(frame);
  |  |12815|  5.66M|                Py_DECREF(old_value);
  |  |  ------------------
  |  |  |  |   80|  5.66M|    do { \
  |  |  |  |   81|  5.66M|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.66M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.66M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|  5.66M|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|  5.66M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  5.66M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  5.66M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 5.66M, False: 9.54k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|  5.66M|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|  5.66M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|  5.66M|            break; \
  |  |  |  |   85|  5.66M|        } \
  |  |  |  |   86|  5.66M|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|  9.54k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|  9.54k|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 9.54k]
  |  |  |  |  ------------------
  |  |  |  |   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|  9.54k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 9.54k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12816|  5.66M|                _PyFrame_StackPointerInvalidate(frame);
  |  |12817|  5.66M|            }
  |  |12818|       |            // _POP_TOP_INT
  |  |12819|      0|            {
  |  |12820|  5.66M|                value = ss;
  |  |12821|  5.66M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (12821:17): [True: 5.66M, False: 0]
  |  |  ------------------
  |  |12822|  5.66M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |12823|  5.66M|            }
  |  |12824|       |            // _POP_TOP
  |  |12825|      0|            {
  |  |12826|  5.66M|                value = ls;
  |  |12827|  5.66M|                stack_pointer += -2;
  |  |12828|  5.66M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  5.66M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12829|  5.66M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12830|  5.66M|                _PyFrame_StackPointerValidate(frame);
  |  |12831|  5.66M|                PyStackRef_XCLOSE(value);
  |  |12832|  5.66M|                _PyFrame_StackPointerInvalidate(frame);
  |  |12833|  5.66M|            }
  |  |12834|  5.66M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  5.66M|    { \
  |  |  |  |  201|  5.66M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  5.66M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  5.66M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  5.66M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  5.66M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  5.66M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  5.66M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  5.66M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 5.66M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  5.66M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  5.66M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  5.66M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  5.66M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  5.66M|    }
  |  |  ------------------
  |  |12835|  5.66M|        }
  |  |12836|       |
  |  |12837|   856k|        TARGET(SWAP) {
  |  |  ------------------
  |  |  |  |  132|   856k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12838|       |            #if _Py_TAIL_CALL_INTERP
  |  |12839|       |            int opcode = SWAP;
  |  |12840|       |            (void)(opcode);
  |  |12841|       |            #endif
  |  |12842|   856k|            frame->instr_ptr = next_instr;
  |  |12843|   856k|            next_instr += 1;
  |  |12844|   856k|            INSTRUCTION_STATS(SWAP);
  |  |  ------------------
  |  |  |  |   71|   856k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12845|   856k|            _PyStackRef bottom;
  |  |12846|   856k|            _PyStackRef top;
  |  |12847|   856k|            top = stack_pointer[-1];
  |  |12848|   856k|            bottom = stack_pointer[-2 - (oparg-2)];
  |  |12849|   856k|            _PyStackRef temp = bottom;
  |  |12850|   856k|            bottom = top;
  |  |12851|   856k|            top = temp;
  |  |12852|   856k|            stack_pointer[-2 - (oparg-2)] = bottom;
  |  |12853|   856k|            stack_pointer[-1] = top;
  |  |12854|   856k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   856k|    { \
  |  |  |  |  201|   856k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   856k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   856k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   856k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   856k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   856k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   856k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   856k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 856k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   856k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   856k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   856k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   856k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   856k|    }
  |  |  ------------------
  |  |12855|   856k|        }
  |  |12856|       |
  |  |12857|  5.50M|        TARGET(TO_BOOL) {
  |  |  ------------------
  |  |  |  |  132|  5.50M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12858|       |            #if _Py_TAIL_CALL_INTERP
  |  |12859|       |            int opcode = TO_BOOL;
  |  |12860|       |            (void)(opcode);
  |  |12861|       |            #endif
  |  |12862|  5.50M|            frame->instr_ptr = next_instr;
  |  |12863|  5.50M|            next_instr += 4;
  |  |12864|  5.50M|            INSTRUCTION_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |   71|  5.50M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12865|  6.01M|            PREDICTED_TO_BOOL:;
  |  |12866|  6.01M|            _Py_CODEUNIT* const this_instr = next_instr - 4;
  |  |12867|  6.01M|            (void)this_instr;
  |  |12868|  6.01M|            _PyStackRef value;
  |  |12869|  6.01M|            _PyStackRef res;
  |  |12870|       |            // _SPECIALIZE_TO_BOOL
  |  |12871|  6.01M|            {
  |  |12872|  6.01M|                value = stack_pointer[-1];
  |  |12873|  6.01M|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |12874|  6.01M|                (void)counter;
  |  |12875|  6.01M|                #if ENABLE_SPECIALIZATION
  |  |12876|  6.01M|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  6.01M|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 11.8k, False: 6.00M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12877|  11.8k|                    next_instr = this_instr;
  |  |12878|  11.8k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12879|  11.8k|                    _PyFrame_StackPointerValidate(frame);
  |  |12880|  11.8k|                    _Py_Specialize_ToBool(value, next_instr);
  |  |12881|  11.8k|                    _PyFrame_StackPointerInvalidate(frame);
  |  |12882|  11.8k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|  11.8k|    { \
  |  |  |  |  217|  11.8k|        opcode = next_instr->op.code; \
  |  |  |  |  218|  11.8k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  11.8k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|  11.8k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  11.8k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|  11.8k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|  11.8k|    }
  |  |  ------------------
  |  |12883|  11.8k|                }
  |  |12884|  6.01M|                OPCODE_DEFERRED_INC(TO_BOOL);
  |  |  ------------------
  |  |  |  |   90|  6.01M|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |12885|  6.01M|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  358|  6.01M|    do { \
  |  |  |  |  359|  6.01M|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  360|  6.01M|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (360:14): [Folded, False: 6.01M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12886|  6.01M|                #endif  /* ENABLE_SPECIALIZATION */
  |  |12887|  6.01M|            }
  |  |12888|       |            /* Skip 2 cache entries */
  |  |12889|       |            // _TO_BOOL
  |  |12890|  6.01M|            {
  |  |12891|  6.01M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12892|  6.01M|                _PyFrame_StackPointerValidate(frame);
  |  |12893|  6.01M|                int err = PyObject_IsTrue(PyStackRef_AsPyObjectBorrow(value));
  |  |12894|  6.01M|                _PyFrame_StackPointerInvalidate(frame);
  |  |12895|  6.01M|                stack_pointer += -1;
  |  |12896|  6.01M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  6.01M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12897|  6.01M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12898|  6.01M|                _PyFrame_StackPointerValidate(frame);
  |  |12899|  6.01M|                PyStackRef_CLOSE(value);
  |  |12900|  6.01M|                _PyFrame_StackPointerInvalidate(frame);
  |  |12901|  6.01M|                if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (12901:21): [True: 0, False: 6.01M]
  |  |  ------------------
  |  |12902|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12903|      0|                }
  |  |12904|  6.01M|                res = err ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  4.92M|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  4.92M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = err ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  7.10M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.09M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12904:23): [True: 4.92M, False: 1.09M]
  |  |  ------------------
  |  |12905|  6.01M|            }
  |  |12906|      0|            stack_pointer[0] = res;
  |  |12907|  6.01M|            stack_pointer += 1;
  |  |12908|  6.01M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  6.01M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12909|  6.01M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  6.01M|    { \
  |  |  |  |  201|  6.01M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  6.01M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  6.01M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  6.01M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  6.01M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  6.01M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  6.01M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  6.01M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  |12910|  6.01M|        }
  |  |12911|       |
  |  |12912|      2|        TARGET(TO_BOOL_ALWAYS_TRUE) {
  |  |  ------------------
  |  |  |  |  132|      2|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12913|       |            #if _Py_TAIL_CALL_INTERP
  |  |12914|       |            int opcode = TO_BOOL_ALWAYS_TRUE;
  |  |12915|       |            (void)(opcode);
  |  |12916|       |            #endif
  |  |12917|      2|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12918|      2|            (void)this_instr;
  |  |12919|      2|            frame->instr_ptr = next_instr;
  |  |12920|      2|            next_instr += 4;
  |  |12921|      2|            INSTRUCTION_STATS(TO_BOOL_ALWAYS_TRUE);
  |  |  ------------------
  |  |  |  |   71|      2|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12922|      2|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |12923|      2|            _PyStackRef owner;
  |  |12924|      2|            _PyStackRef value;
  |  |12925|      2|            _PyStackRef res;
  |  |12926|      2|            _PyStackRef v;
  |  |12927|       |            /* Skip 1 cache entry */
  |  |12928|       |            // _GUARD_TYPE_VERSION
  |  |12929|      2|            {
  |  |12930|      2|                owner = stack_pointer[-1];
  |  |12931|      2|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  |12932|      2|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12933|      2|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (12933:17): [True: 2, False: 0]
  |  |  ------------------
  |  |12934|      2|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|      2|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (12934:21): [True: 0, False: 2]
  |  |  ------------------
  |  |12935|      0|                    UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12936|      0|                    assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |  ------------------
  |  |  |  Branch (12936:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12937|      0|                    JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12938|      0|                }
  |  |12939|      2|            }
  |  |12940|       |            // _REPLACE_WITH_TRUE
  |  |12941|      2|            {
  |  |12942|      2|                value = owner;
  |  |12943|      2|                res = PyStackRef_True;
  |  |  ------------------
  |  |  |  |  483|      2|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      2|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12944|      2|                v = value;
  |  |12945|      2|            }
  |  |12946|       |            // _POP_TOP
  |  |12947|      2|            {
  |  |12948|      2|                value = v;
  |  |12949|      2|                stack_pointer[-1] = res;
  |  |12950|      2|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12951|      2|                _PyFrame_StackPointerValidate(frame);
  |  |12952|      2|                PyStackRef_XCLOSE(value);
  |  |12953|      2|                _PyFrame_StackPointerInvalidate(frame);
  |  |12954|      2|            }
  |  |12955|      2|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      2|    { \
  |  |  |  |  201|      2|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      2|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      2|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      2|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      2|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      2|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      2|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  |12956|      2|        }
  |  |12957|       |
  |  |12958|  50.2M|        TARGET(TO_BOOL_BOOL) {
  |  |  ------------------
  |  |  |  |  132|  50.2M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12959|       |            #if _Py_TAIL_CALL_INTERP
  |  |12960|       |            int opcode = TO_BOOL_BOOL;
  |  |12961|       |            (void)(opcode);
  |  |12962|       |            #endif
  |  |12963|  50.2M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12964|  50.2M|            (void)this_instr;
  |  |12965|  50.2M|            frame->instr_ptr = next_instr;
  |  |12966|  50.2M|            next_instr += 4;
  |  |12967|  50.2M|            INSTRUCTION_STATS(TO_BOOL_BOOL);
  |  |  ------------------
  |  |  |  |   71|  50.2M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12968|  50.2M|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |12969|  50.2M|            _PyStackRef value;
  |  |12970|       |            /* Skip 1 cache entry */
  |  |12971|       |            /* Skip 2 cache entries */
  |  |12972|  50.2M|            value = stack_pointer[-1];
  |  |12973|  50.2M|            if (!PyStackRef_BoolCheck(value)) {
  |  |  ------------------
  |  |  |  Branch (12973:17): [True: 56.0k, False: 50.1M]
  |  |  ------------------
  |  |12974|  56.0k|                UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  299|  56.0k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12975|  56.0k|                assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |  ------------------
  |  |  |  Branch (12975:17): [True: 56.0k, False: 0]
  |  |  ------------------
  |  |12976|  56.0k|                JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|  56.0k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12977|      0|            }
  |  |12978|  50.1M|            STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|  50.1M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12979|  50.1M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  50.1M|    { \
  |  |  |  |  201|  50.1M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  50.1M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  50.1M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  50.1M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  50.1M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  50.1M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  50.1M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  50.1M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 50.1M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  50.1M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  50.1M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  50.1M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  50.1M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  50.1M|    }
  |  |  ------------------
  |  |12980|  50.1M|        }
  |  |12981|       |
  |  |12982|  26.8M|        TARGET(TO_BOOL_INT) {
  |  |  ------------------
  |  |  |  |  132|  26.8M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12983|       |            #if _Py_TAIL_CALL_INTERP
  |  |12984|       |            int opcode = TO_BOOL_INT;
  |  |12985|       |            (void)(opcode);
  |  |12986|       |            #endif
  |  |12987|  26.8M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12988|  26.8M|            (void)this_instr;
  |  |12989|  26.8M|            frame->instr_ptr = next_instr;
  |  |12990|  26.8M|            next_instr += 4;
  |  |12991|  26.8M|            INSTRUCTION_STATS(TO_BOOL_INT);
  |  |  ------------------
  |  |  |  |   71|  26.8M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12992|  26.8M|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |12993|  26.8M|            _PyStackRef value;
  |  |12994|  26.8M|            _PyStackRef res;
  |  |12995|  26.8M|            _PyStackRef v;
  |  |12996|       |            // _GUARD_TOS_INT
  |  |12997|  26.8M|            {
  |  |12998|  26.8M|                value = stack_pointer[-1];
  |  |12999|  26.8M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |13000|  26.8M|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (13000:21): [True: 420k, False: 26.3M]
  |  |  ------------------
  |  |13001|   420k|                    UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  299|   420k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13002|   420k|                    assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |  ------------------
  |  |  |  Branch (13002:21): [True: 420k, False: 0]
  |  |  ------------------
  |  |13003|   420k|                    JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|   420k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13004|      0|                }
  |  |13005|  26.8M|            }
  |  |13006|       |            /* Skip 1 cache entry */
  |  |13007|       |            /* Skip 2 cache entries */
  |  |13008|       |            // _TO_BOOL_INT
  |  |13009|  26.3M|            {
  |  |13010|  26.3M|                STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|  26.3M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |13011|  26.3M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |13012|  26.3M|                res = (_PyLong_IsZero((PyLongObject *)value_o)) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  484|  16.1M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  16.1M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = (_PyLong_IsZero((PyLongObject *)value_o)) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  483|  36.6M|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  10.2M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13012:23): [True: 16.1M, False: 10.2M]
  |  |  ------------------
  |  |13013|  26.3M|                v = value;
  |  |13014|  26.3M|            }
  |  |13015|       |            // _POP_TOP_INT
  |  |13016|  26.3M|            {
  |  |13017|  26.3M|                value = v;
  |  |13018|  26.3M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (13018:17): [True: 26.3M, False: 0]
  |  |  ------------------
  |  |13019|  26.3M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |13020|  26.3M|            }
  |  |13021|      0|            stack_pointer[-1] = res;
  |  |13022|  26.3M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  26.3M|    { \
  |  |  |  |  201|  26.3M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  26.3M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  26.3M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  26.3M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  26.3M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  26.3M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  26.3M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  26.3M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 26.3M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  26.3M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  26.3M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  26.3M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  26.3M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  26.3M|    }
  |  |  ------------------
  |  |13023|  26.3M|        }
  |  |13024|       |
  |  |13025|  6.52M|        TARGET(TO_BOOL_LIST) {
  |  |  ------------------
  |  |  |  |  132|  6.52M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13026|       |            #if _Py_TAIL_CALL_INTERP
  |  |13027|       |            int opcode = TO_BOOL_LIST;
  |  |13028|       |            (void)(opcode);
  |  |13029|       |            #endif
  |  |13030|  6.52M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |13031|  6.52M|            (void)this_instr;
  |  |13032|  6.52M|            frame->instr_ptr = next_instr;
  |  |13033|  6.52M|            next_instr += 4;
  |  |13034|  6.52M|            INSTRUCTION_STATS(TO_BOOL_LIST);
  |  |  ------------------
  |  |  |  |   71|  6.52M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13035|  6.52M|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |13036|  6.52M|            _PyStackRef tos;
  |  |13037|  6.52M|            _PyStackRef value;
  |  |13038|  6.52M|            _PyStackRef res;
  |  |13039|  6.52M|            _PyStackRef v;
  |  |13040|       |            // _GUARD_TOS_LIST
  |  |13041|  6.52M|            {
  |  |13042|  6.52M|                tos = stack_pointer[-1];
  |  |13043|  6.52M|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  |13044|  6.52M|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   26|  6.52M|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_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 (13044:21): [True: 470, False: 6.52M]
  |  |  ------------------
  |  |13045|    470|                    UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  299|    470|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13046|    470|                    assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |  ------------------
  |  |  |  Branch (13046:21): [True: 470, False: 0]
  |  |  ------------------
  |  |13047|    470|                    JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|    470|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13048|      0|                }
  |  |13049|  6.52M|            }
  |  |13050|       |            /* Skip 1 cache entry */
  |  |13051|       |            /* Skip 2 cache entries */
  |  |13052|       |            // _TO_BOOL_LIST
  |  |13053|  6.52M|            {
  |  |13054|  6.52M|                value = tos;
  |  |13055|  6.52M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |13056|  6.52M|                assert(PyList_CheckExact(value_o));
  |  |  ------------------
  |  |  |  Branch (13056:17): [True: 6.52M, False: 0]
  |  |  ------------------
  |  |13057|  6.52M|                STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|  6.52M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |13058|  6.52M|                res = PyList_GET_SIZE(value_o) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |   38|  6.52M|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (38:29): [True: 4.39M, False: 2.12M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = PyList_GET_SIZE(value_o) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  4.39M|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  4.39M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = PyList_GET_SIZE(value_o) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  8.65M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  2.12M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13059|  6.52M|                v = value;
  |  |13060|  6.52M|            }
  |  |13061|       |            // _POP_TOP
  |  |13062|      0|            {
  |  |13063|  6.52M|                value = v;
  |  |13064|  6.52M|                stack_pointer[-1] = res;
  |  |13065|  6.52M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13066|  6.52M|                _PyFrame_StackPointerValidate(frame);
  |  |13067|  6.52M|                PyStackRef_XCLOSE(value);
  |  |13068|  6.52M|                _PyFrame_StackPointerInvalidate(frame);
  |  |13069|  6.52M|            }
  |  |13070|  6.52M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  6.52M|    { \
  |  |  |  |  201|  6.52M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  6.52M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  6.52M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  6.52M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  6.52M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  6.52M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  6.52M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  6.52M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  |13071|  6.52M|        }
  |  |13072|       |
  |  |13073|  1.66M|        TARGET(TO_BOOL_NONE) {
  |  |  ------------------
  |  |  |  |  132|  1.66M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13074|       |            #if _Py_TAIL_CALL_INTERP
  |  |13075|       |            int opcode = TO_BOOL_NONE;
  |  |13076|       |            (void)(opcode);
  |  |13077|       |            #endif
  |  |13078|  1.66M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |13079|  1.66M|            (void)this_instr;
  |  |13080|  1.66M|            frame->instr_ptr = next_instr;
  |  |13081|  1.66M|            next_instr += 4;
  |  |13082|  1.66M|            INSTRUCTION_STATS(TO_BOOL_NONE);
  |  |  ------------------
  |  |  |  |   71|  1.66M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13083|  1.66M|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |13084|  1.66M|            _PyStackRef value;
  |  |13085|  1.66M|            _PyStackRef res;
  |  |13086|       |            /* Skip 1 cache entry */
  |  |13087|       |            /* Skip 2 cache entries */
  |  |13088|  1.66M|            value = stack_pointer[-1];
  |  |13089|  1.66M|            if (!PyStackRef_IsNone(value)) {
  |  |  ------------------
  |  |  |  |  495|  1.66M|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.66M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13089:17): [True: 30.6k, False: 1.63M]
  |  |  ------------------
  |  |13090|  30.6k|                UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  299|  30.6k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13091|  30.6k|                assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |  ------------------
  |  |  |  Branch (13091:17): [True: 30.6k, False: 0]
  |  |  ------------------
  |  |13092|  30.6k|                JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|  30.6k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13093|      0|            }
  |  |13094|  1.63M|            STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|  1.63M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |13095|  1.63M|            res = PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  1.63M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.63M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13096|  1.63M|            stack_pointer[-1] = res;
  |  |13097|  1.63M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.63M|    { \
  |  |  |  |  201|  1.63M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.63M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.63M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.63M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.63M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.63M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.63M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.63M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.63M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.63M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.63M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.63M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.63M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.63M|    }
  |  |  ------------------
  |  |13098|  1.63M|        }
  |  |13099|       |
  |  |13100|  4.81M|        TARGET(TO_BOOL_STR) {
  |  |  ------------------
  |  |  |  |  132|  4.81M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13101|       |            #if _Py_TAIL_CALL_INTERP
  |  |13102|       |            int opcode = TO_BOOL_STR;
  |  |13103|       |            (void)(opcode);
  |  |13104|       |            #endif
  |  |13105|  4.81M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |13106|  4.81M|            (void)this_instr;
  |  |13107|  4.81M|            frame->instr_ptr = next_instr;
  |  |13108|  4.81M|            next_instr += 4;
  |  |13109|  4.81M|            INSTRUCTION_STATS(TO_BOOL_STR);
  |  |  ------------------
  |  |  |  |   71|  4.81M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13110|  4.81M|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |13111|  4.81M|            _PyStackRef value;
  |  |13112|  4.81M|            _PyStackRef res;
  |  |13113|  4.81M|            _PyStackRef v;
  |  |13114|       |            // _GUARD_TOS_UNICODE
  |  |13115|  4.81M|            {
  |  |13116|  4.81M|                value = stack_pointer[-1];
  |  |13117|  4.81M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |13118|  4.81M|                if (!PyUnicode_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |  104|  4.81M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  4.81M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  4.81M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  4.81M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13118:21): [True: 3.83k, False: 4.81M]
  |  |  ------------------
  |  |13119|  3.83k|                    UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  299|  3.83k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13120|  3.83k|                    assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |  ------------------
  |  |  |  Branch (13120:21): [True: 3.83k, False: 0]
  |  |  ------------------
  |  |13121|  3.83k|                    JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|  3.83k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13122|      0|                }
  |  |13123|  4.81M|            }
  |  |13124|       |            /* Skip 1 cache entry */
  |  |13125|       |            /* Skip 2 cache entries */
  |  |13126|       |            // _TO_BOOL_STR
  |  |13127|  4.81M|            {
  |  |13128|  4.81M|                STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|  4.81M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |13129|  4.81M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |13130|  4.81M|                res = value_o == &_Py_STR(empty) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  922|  4.81M|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  4.81M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  4.81M|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = value_o == &_Py_STR(empty) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  484|  79.2k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  79.2k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = value_o == &_Py_STR(empty) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  483|  9.54M|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  4.73M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13130:23): [True: 79.2k, False: 4.73M]
  |  |  ------------------
  |  |13131|  4.81M|                v = value;
  |  |13132|  4.81M|            }
  |  |13133|       |            // _POP_TOP_UNICODE
  |  |13134|  4.81M|            {
  |  |13135|  4.81M|                value = v;
  |  |13136|  4.81M|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (13136:17): [True: 4.81M, False: 0]
  |  |  ------------------
  |  |13137|  4.81M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  |13138|  4.81M|            }
  |  |13139|      0|            stack_pointer[-1] = res;
  |  |13140|  4.81M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.81M|    { \
  |  |  |  |  201|  4.81M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  4.81M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  4.81M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  4.81M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  4.81M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  4.81M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  4.81M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  4.81M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  |13141|  4.81M|        }
  |  |13142|       |
  |  |13143|      0|        TARGET(TRACE_RECORD) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13144|       |            #if _Py_TAIL_CALL_INTERP
  |  |13145|       |            int opcode = TRACE_RECORD;
  |  |13146|       |            (void)(opcode);
  |  |13147|       |            #endif
  |  |13148|      0|            _Py_CODEUNIT* const prev_instr = frame->instr_ptr;
  |  |13149|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |13150|      0|            (void)this_instr;
  |  |13151|      0|            frame->instr_ptr = next_instr;
  |  |13152|      0|            next_instr += 1;
  |  |13153|      0|            INSTRUCTION_STATS(TRACE_RECORD);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13154|      0|            opcode = TRACE_RECORD;
  |  |  ------------------
  |  |  |  |  243|      0|#define TRACE_RECORD                           255
  |  |  ------------------
  |  |13155|       |            #if _Py_TIER2
  |  |13156|       |            assert(IS_JIT_TRACING());
  |  |13157|       |            next_instr = this_instr;
  |  |13158|       |            frame->instr_ptr = prev_instr;
  |  |13159|       |            opcode = next_instr->op.code;
  |  |13160|       |            bool stop_tracing = (
  |  |13161|       |                                 opcode == WITH_EXCEPT_START ||
  |  |13162|       |                                 opcode == RERAISE ||
  |  |13163|       |                                 opcode == CLEANUP_THROW ||
  |  |13164|       |                                 opcode == PUSH_EXC_INFO ||
  |  |13165|       |                                 opcode == INTERPRETER_EXIT ||
  |  |13166|       |                                 (opcode >= MIN_INSTRUMENTED_OPCODE && opcode != ENTER_EXECUTOR)
  |  |13167|       |            );
  |  |13168|       |            _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  |  |13169|       |            _PyJitTracerState *tracer = _tstate->jit_tracer_state;
  |  |13170|       |            assert(tracer != NULL);
  |  |13171|       |            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13172|       |            _PyFrame_StackPointerValidate(frame);
  |  |13173|       |            int full = !_PyJit_translate_single_bytecode_to_trace(tstate, frame, next_instr, stop_tracing ? _DEOPT : 0);
  |  |13174|       |            _PyFrame_StackPointerInvalidate(frame);
  |  |13175|       |            if (full) {
  |  |13176|       |                LEAVE_TRACING();
  |  |13177|       |                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |13178|       |                _PyFrame_StackPointerValidate(frame);
  |  |13179|       |                int err = stop_tracing_and_jit(tstate, frame);
  |  |13180|       |                _PyFrame_StackPointerInvalidate(frame);
  |  |13181|       |                if (err < 0) {
  |  |13182|       |                    JUMP_TO_LABEL(error);
  |  |13183|       |                }
  |  |13184|       |                DISPATCH();
  |  |13185|       |            }
  |  |13186|       |            for (int i = 0; i < tracer->prev_state.recorded_count; i++) {
  |  |13187|       |                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |13188|       |                _PyFrame_StackPointerValidate(frame);
  |  |13189|       |                Py_CLEAR(tracer->prev_state.recorded_values[i]);
  |  |13190|       |                _PyFrame_StackPointerInvalidate(frame);
  |  |13191|       |            }
  |  |13192|       |            tracer->prev_state.recorded_count = 0;
  |  |13193|       |            tracer->prev_state.instr = next_instr;
  |  |13194|       |            PyObject *prev_code = PyStackRef_AsPyObjectBorrow(frame->f_executable);
  |  |13195|       |            if (tracer->prev_state.instr_code != (PyCodeObject *)prev_code) {
  |  |13196|       |                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |13197|       |                _PyFrame_StackPointerValidate(frame);
  |  |13198|       |                Py_SETREF(tracer->prev_state.instr_code, (PyCodeObject*)Py_NewRef((prev_code)));
  |  |13199|       |                _PyFrame_StackPointerInvalidate(frame);
  |  |13200|       |            }
  |  |13201|       |            tracer->prev_state.instr_frame = frame;
  |  |13202|       |            tracer->prev_state.instr_oparg = oparg;
  |  |13203|       |            tracer->prev_state.instr_stacklevel = PyStackRef_IsNone(frame->f_executable) ? 2 : STACK_LEVEL();
  |  |13204|       |            if (_PyOpcode_Caches[_PyOpcode_Deopt[opcode]]
  |  |13205|       |                // Branch opcodes use the cache for branch history, not
  |  |13206|       |                // specialization counters.  Don't reset it.
  |  |13207|       |                && !IS_CONDITIONAL_JUMP_OPCODE(opcode)) {
  |  |13208|       |                (&next_instr[1])->counter = trigger_backoff_counter();
  |  |13209|       |            }
  |  |13210|       |            const _PyOpcodeRecordEntry *record_entry = &_PyOpcode_RecordEntries[opcode];
  |  |13211|       |            for (int i = 0; i < record_entry->count; i++) {
  |  |13212|       |                _Py_RecordFuncPtr doesnt_escape = _PyOpcode_RecordFunctions[record_entry->indices[i]];
  |  |13213|       |                doesnt_escape(frame, stack_pointer, oparg, &tracer->prev_state.recorded_values[i]);
  |  |13214|       |            }
  |  |13215|       |            tracer->prev_state.recorded_count = record_entry->count;
  |  |13216|       |            DISPATCH_GOTO_NON_TRACING();
  |  |13217|       |            #else
  |  |13218|      0|            (void)prev_instr;
  |  |13219|      0|            Py_FatalError("JIT instruction executed in non-jit build.");
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  |  |13220|      0|            #endif
  |  |13221|      0|        }
  |  |13222|       |
  |  |13223|   509k|        TARGET(UNARY_INVERT) {
  |  |  ------------------
  |  |  |  |  132|   509k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13224|       |            #if _Py_TAIL_CALL_INTERP
  |  |13225|       |            int opcode = UNARY_INVERT;
  |  |13226|       |            (void)(opcode);
  |  |13227|       |            #endif
  |  |13228|   509k|            frame->instr_ptr = next_instr;
  |  |13229|   509k|            next_instr += 1;
  |  |13230|   509k|            INSTRUCTION_STATS(UNARY_INVERT);
  |  |  ------------------
  |  |  |  |   71|   509k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13231|   509k|            _PyStackRef value;
  |  |13232|   509k|            _PyStackRef res;
  |  |13233|   509k|            _PyStackRef v;
  |  |13234|       |            // _UNARY_INVERT
  |  |13235|   509k|            {
  |  |13236|   509k|                value = stack_pointer[-1];
  |  |13237|   509k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13238|   509k|                _PyFrame_StackPointerValidate(frame);
  |  |13239|   509k|                PyObject *res_o = PyNumber_Invert(PyStackRef_AsPyObjectBorrow(value));
  |  |13240|   509k|                _PyFrame_StackPointerInvalidate(frame);
  |  |13241|   509k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (13241:21): [True: 0, False: 509k]
  |  |  ------------------
  |  |13242|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13243|      0|                }
  |  |13244|   509k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |13245|   509k|                v = value;
  |  |13246|   509k|            }
  |  |13247|       |            // _POP_TOP
  |  |13248|      0|            {
  |  |13249|   509k|                value = v;
  |  |13250|   509k|                stack_pointer[-1] = res;
  |  |13251|   509k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13251:17): [True: 509k, False: 0]
  |  |  ------------------
  |  |13252|   509k|                _PyFrame_StackPointerValidate(frame);
  |  |13253|   509k|                PyStackRef_XCLOSE(value);
  |  |13254|   509k|                _PyFrame_StackPointerInvalidate(frame);
  |  |13255|   509k|            }
  |  |13256|   509k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   509k|    { \
  |  |  |  |  201|   509k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   509k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   509k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   509k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   509k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   509k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   509k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   509k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 509k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   509k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   509k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   509k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   509k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   509k|    }
  |  |  ------------------
  |  |13257|   509k|        }
  |  |13258|       |
  |  |13259|  63.0k|        TARGET(UNARY_NEGATIVE) {
  |  |  ------------------
  |  |  |  |  132|  63.0k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13260|       |            #if _Py_TAIL_CALL_INTERP
  |  |13261|       |            int opcode = UNARY_NEGATIVE;
  |  |13262|       |            (void)(opcode);
  |  |13263|       |            #endif
  |  |13264|  63.0k|            frame->instr_ptr = next_instr;
  |  |13265|  63.0k|            next_instr += 1;
  |  |13266|  63.0k|            INSTRUCTION_STATS(UNARY_NEGATIVE);
  |  |  ------------------
  |  |  |  |   71|  63.0k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13267|  63.0k|            _PyStackRef value;
  |  |13268|  63.0k|            _PyStackRef res;
  |  |13269|  63.0k|            _PyStackRef v;
  |  |13270|       |            // _UNARY_NEGATIVE
  |  |13271|  63.0k|            {
  |  |13272|  63.0k|                value = stack_pointer[-1];
  |  |13273|  63.0k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13274|  63.0k|                _PyFrame_StackPointerValidate(frame);
  |  |13275|  63.0k|                PyObject *res_o = PyNumber_Negative(PyStackRef_AsPyObjectBorrow(value));
  |  |13276|  63.0k|                _PyFrame_StackPointerInvalidate(frame);
  |  |13277|  63.0k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (13277:21): [True: 0, False: 63.0k]
  |  |  ------------------
  |  |13278|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13279|      0|                }
  |  |13280|  63.0k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |13281|  63.0k|                v = value;
  |  |13282|  63.0k|            }
  |  |13283|       |            // _POP_TOP
  |  |13284|      0|            {
  |  |13285|  63.0k|                value = v;
  |  |13286|  63.0k|                stack_pointer[-1] = res;
  |  |13287|  63.0k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13287:17): [True: 63.0k, False: 0]
  |  |  ------------------
  |  |13288|  63.0k|                _PyFrame_StackPointerValidate(frame);
  |  |13289|  63.0k|                PyStackRef_XCLOSE(value);
  |  |13290|  63.0k|                _PyFrame_StackPointerInvalidate(frame);
  |  |13291|  63.0k|            }
  |  |13292|  63.0k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  63.0k|    { \
  |  |  |  |  201|  63.0k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  63.0k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  63.0k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  63.0k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  63.0k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  63.0k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  63.0k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  63.0k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 63.0k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  63.0k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  63.0k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  63.0k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  63.0k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  63.0k|    }
  |  |  ------------------
  |  |13293|  63.0k|        }
  |  |13294|       |
  |  |13295|  4.18M|        TARGET(UNARY_NOT) {
  |  |  ------------------
  |  |  |  |  132|  4.18M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13296|       |            #if _Py_TAIL_CALL_INTERP
  |  |13297|       |            int opcode = UNARY_NOT;
  |  |13298|       |            (void)(opcode);
  |  |13299|       |            #endif
  |  |13300|  4.18M|            frame->instr_ptr = next_instr;
  |  |13301|  4.18M|            next_instr += 1;
  |  |13302|  4.18M|            INSTRUCTION_STATS(UNARY_NOT);
  |  |  ------------------
  |  |  |  |   71|  4.18M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13303|  4.18M|            _PyStackRef value;
  |  |13304|  4.18M|            _PyStackRef res;
  |  |13305|  4.18M|            value = stack_pointer[-1];
  |  |13306|  4.18M|            assert(PyStackRef_BoolCheck(value));
  |  |  ------------------
  |  |  |  Branch (13306:13): [True: 4.18M, False: 0]
  |  |  ------------------
  |  |13307|  4.18M|            res = PyStackRef_IsFalse(value)
  |  |  ------------------
  |  |  |  |  494|  4.18M|#define PyStackRef_IsFalse(REF) ((REF).bits == (((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  4.18M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:33): [True: 1.08M, False: 3.09M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13308|  4.18M|            ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  1.08M|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.08M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  7.27M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  3.09M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13309|  4.18M|            stack_pointer[-1] = res;
  |  |13310|  4.18M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.18M|    { \
  |  |  |  |  201|  4.18M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  4.18M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  4.18M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  4.18M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  4.18M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  4.18M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  4.18M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  4.18M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 4.18M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.18M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.18M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.18M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.18M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.18M|    }
  |  |  ------------------
  |  |13311|  4.18M|        }
  |  |13312|       |
  |  |13313|      0|        TARGET(UNPACK_EX) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13314|       |            #if _Py_TAIL_CALL_INTERP
  |  |13315|       |            int opcode = UNPACK_EX;
  |  |13316|       |            (void)(opcode);
  |  |13317|       |            #endif
  |  |13318|      0|            frame->instr_ptr = next_instr;
  |  |13319|      0|            next_instr += 1;
  |  |13320|      0|            INSTRUCTION_STATS(UNPACK_EX);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13321|      0|            _PyStackRef seq;
  |  |13322|      0|            _PyStackRef *top;
  |  |13323|      0|            seq = stack_pointer[-1];
  |  |13324|      0|            top = &stack_pointer[(oparg & 0xFF) + (oparg >> 8)];
  |  |13325|      0|            PyObject *seq_o = PyStackRef_AsPyObjectSteal(seq);
  |  |13326|      0|            stack_pointer += -1;
  |  |13327|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13328|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13329|      0|            _PyFrame_StackPointerValidate(frame);
  |  |13330|      0|            int res = _PyEval_UnpackIterableStackRef(tstate, seq_o, oparg & 0xFF, oparg >> 8, top);
  |  |13331|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  |13332|      0|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13332:13): [True: 0, False: 0]
  |  |  ------------------
  |  |13333|      0|            _PyFrame_StackPointerValidate(frame);
  |  |13334|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13335|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  |13336|      0|            if (res == 0) {
  |  |  ------------------
  |  |  |  Branch (13336:17): [True: 0, False: 0]
  |  |  ------------------
  |  |13337|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13338|      0|            }
  |  |13339|      0|            stack_pointer += 1 + (oparg & 0xFF) + (oparg >> 8);
  |  |13340|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13341|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  |13342|      0|        }
  |  |13343|       |
  |  |13344|    162|        TARGET(UNPACK_SEQUENCE) {
  |  |  ------------------
  |  |  |  |  132|    162|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13345|       |            #if _Py_TAIL_CALL_INTERP
  |  |13346|       |            int opcode = UNPACK_SEQUENCE;
  |  |13347|       |            (void)(opcode);
  |  |13348|       |            #endif
  |  |13349|    162|            frame->instr_ptr = next_instr;
  |  |13350|    162|            next_instr += 2;
  |  |13351|    162|            INSTRUCTION_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |   71|    162|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13352|    162|            PREDICTED_UNPACK_SEQUENCE:;
  |  |13353|    162|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  |13354|    162|            (void)this_instr;
  |  |13355|    162|            _PyStackRef seq;
  |  |13356|    162|            _PyStackRef *top;
  |  |13357|       |            // _SPECIALIZE_UNPACK_SEQUENCE
  |  |13358|    162|            {
  |  |13359|    162|                seq = stack_pointer[-1];
  |  |13360|    162|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |13361|    162|                (void)counter;
  |  |13362|    162|                #if ENABLE_SPECIALIZATION
  |  |13363|    162|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|    162|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 75, False: 87]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13364|     75|                    next_instr = this_instr;
  |  |13365|     75|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13366|     75|                    _PyFrame_StackPointerValidate(frame);
  |  |13367|     75|                    _Py_Specialize_UnpackSequence(seq, next_instr, oparg);
  |  |13368|     75|                    _PyFrame_StackPointerInvalidate(frame);
  |  |13369|     75|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|     75|    { \
  |  |  |  |  217|     75|        opcode = next_instr->op.code; \
  |  |  |  |  218|     75|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     75|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|     75|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|     75|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|     75|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|     75|    }
  |  |  ------------------
  |  |13370|     75|                }
  |  |13371|    162|                OPCODE_DEFERRED_INC(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |   90|    162|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |13372|    162|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  358|    162|    do { \
  |  |  |  |  359|    162|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  360|    162|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (360:14): [Folded, False: 162]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13373|    162|                #endif  /* ENABLE_SPECIALIZATION */
  |  |13374|    162|                (void)seq;
  |  |13375|    162|                (void)counter;
  |  |13376|    162|            }
  |  |13377|       |            // _UNPACK_SEQUENCE
  |  |13378|    162|            {
  |  |13379|    162|                top = &stack_pointer[-1 + oparg];
  |  |13380|    162|                PyObject *seq_o = PyStackRef_AsPyObjectSteal(seq);
  |  |13381|    162|                stack_pointer += -1;
  |  |13382|    162|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    162|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13383|    162|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13384|    162|                _PyFrame_StackPointerValidate(frame);
  |  |13385|    162|                int res = _PyEval_UnpackIterableStackRef(tstate, seq_o, oparg, -1, top);
  |  |13386|    162|                _PyFrame_StackPointerInvalidate(frame);
  |  |13387|    162|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13387:17): [True: 87, False: 75]
  |  |  ------------------
  |  |13388|     87|                _PyFrame_StackPointerValidate(frame);
  |  |13389|     87|                Py_DECREF(seq_o);
  |  |  ------------------
  |  |  |  |   80|     87|    do { \
  |  |  |  |   81|     87|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     87|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     87|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|     87|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|     87|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     87|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     87|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 87]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|     87|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|     87|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|     87|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 25, False: 62]
  |  |  |  |  ------------------
  |  |  |  |   88|     25|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|     25|    do { \
  |  |  |  |  |  |  113|     25|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|     25|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 25]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|     25|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 25]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|     25|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|     25|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     25|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|     25|            (*dealloc)(op); \
  |  |  |  |   91|     25|        } \
  |  |  |  |   92|     87|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 87]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13390|     87|                _PyFrame_StackPointerInvalidate(frame);
  |  |13391|     87|                if (res == 0) {
  |  |  ------------------
  |  |  |  Branch (13391:21): [True: 0, False: 87]
  |  |  ------------------
  |  |13392|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13393|      0|                }
  |  |13394|     87|            }
  |  |13395|     87|            stack_pointer += oparg;
  |  |13396|     87|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     87|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13397|     87|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     87|    { \
  |  |  |  |  201|     87|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     87|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     87|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     87|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     87|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     87|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     87|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     87|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 87]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     87|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     87|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     87|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     87|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     87|    }
  |  |  ------------------
  |  |13398|     87|        }
  |  |13399|       |
  |  |13400|      0|        TARGET(UNPACK_SEQUENCE_LIST) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13401|       |            #if _Py_TAIL_CALL_INTERP
  |  |13402|       |            int opcode = UNPACK_SEQUENCE_LIST;
  |  |13403|       |            (void)(opcode);
  |  |13404|       |            #endif
  |  |13405|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |13406|      0|            (void)this_instr;
  |  |13407|      0|            frame->instr_ptr = next_instr;
  |  |13408|      0|            next_instr += 2;
  |  |13409|      0|            INSTRUCTION_STATS(UNPACK_SEQUENCE_LIST);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13410|      0|            static_assert(INLINE_CACHE_ENTRIES_UNPACK_SEQUENCE == 1, "incorrect cache size");
  |  |13411|      0|            _PyStackRef tos;
  |  |13412|      0|            _PyStackRef seq;
  |  |13413|      0|            _PyStackRef *values;
  |  |13414|       |            // _GUARD_TOS_LIST
  |  |13415|      0|            {
  |  |13416|      0|                tos = stack_pointer[-1];
  |  |13417|      0|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  |13418|      0|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   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 (13418:21): [True: 0, False: 0]
  |  |  ------------------
  |  |13419|      0|                    UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13420|      0|                    assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |  ------------------
  |  |  |  Branch (13420:21): [True: 0, False: 0]
  |  |  ------------------
  |  |13421|      0|                    JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13422|      0|                }
  |  |13423|      0|            }
  |  |13424|       |            /* Skip 1 cache entry */
  |  |13425|       |            // _UNPACK_SEQUENCE_LIST
  |  |13426|      0|            {
  |  |13427|      0|                seq = tos;
  |  |13428|      0|                values = &stack_pointer[-1];
  |  |13429|      0|                PyObject *seq_o = PyStackRef_AsPyObjectBorrow(seq);
  |  |13430|      0|                assert(PyList_CheckExact(seq_o));
  |  |  ------------------
  |  |  |  Branch (13430:17): [True: 0, False: 0]
  |  |  ------------------
  |  |13431|      0|                if (!LOCK_OBJECT(seq_o)) {
  |  |  ------------------
  |  |  |  |  322|      0|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (13431:21): [Folded, False: 0]
  |  |  ------------------
  |  |13432|      0|                    UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13433|      0|                    assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |  ------------------
  |  |  |  Branch (13433:21): [True: 0, False: 0]
  |  |  ------------------
  |  |13434|      0|                    JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13435|      0|                }
  |  |13436|      0|                if (PyList_GET_SIZE(seq_o) != oparg) {
  |  |  ------------------
  |  |  |  |   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 (13436:21): [True: 0, False: 0]
  |  |  ------------------
  |  |13437|      0|                    UNLOCK_OBJECT(seq_o);
  |  |  ------------------
  |  |  |  |  323|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |13438|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (13438:25): [True: 0, Folded]
  |  |  ------------------
  |  |13439|      0|                        UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13440|      0|                        assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |  ------------------
  |  |  |  Branch (13440:25): [True: 0, False: 0]
  |  |  ------------------
  |  |13441|      0|                        JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13442|      0|                    }
  |  |13443|      0|                }
  |  |13444|      0|                STAT_INC(UNPACK_SEQUENCE, hit);
  |  |  ------------------
  |  |  |  |   73|      0|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |13445|      0|                PyObject **items = _PyList_ITEMS(seq_o);
  |  |  ------------------
  |  |  |  |   30|      0|#define _PyList_ITEMS(op) _Py_RVALUE(_PyList_CAST(op)->ob_item)
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13446|      0|                for (int i = oparg; --i >= 0; ) {
  |  |  ------------------
  |  |  |  Branch (13446:37): [True: 0, False: 0]
  |  |  ------------------
  |  |13447|      0|                    *values++ = PyStackRef_FromPyObjectNew(items[i]);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13448|      0|                }
  |  |13449|      0|                UNLOCK_OBJECT(seq_o);
  |  |  ------------------
  |  |  |  |  323|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |13450|      0|                stack_pointer += -1 + oparg;
  |  |13451|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13452|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13453|      0|                _PyFrame_StackPointerValidate(frame);
  |  |13454|      0|                PyStackRef_CLOSE(seq);
  |  |13455|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |13456|      0|            }
  |  |13457|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  |13458|      0|        }
  |  |13459|       |
  |  |13460|  1.64M|        TARGET(UNPACK_SEQUENCE_TUPLE) {
  |  |  ------------------
  |  |  |  |  132|  1.64M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13461|       |            #if _Py_TAIL_CALL_INTERP
  |  |13462|       |            int opcode = UNPACK_SEQUENCE_TUPLE;
  |  |13463|       |            (void)(opcode);
  |  |13464|       |            #endif
  |  |13465|  1.64M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |13466|  1.64M|            (void)this_instr;
  |  |13467|  1.64M|            frame->instr_ptr = next_instr;
  |  |13468|  1.64M|            next_instr += 2;
  |  |13469|  1.64M|            INSTRUCTION_STATS(UNPACK_SEQUENCE_TUPLE);
  |  |  ------------------
  |  |  |  |   71|  1.64M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13470|  1.64M|            static_assert(INLINE_CACHE_ENTRIES_UNPACK_SEQUENCE == 1, "incorrect cache size");
  |  |13471|  1.64M|            _PyStackRef tos;
  |  |13472|  1.64M|            _PyStackRef seq;
  |  |13473|  1.64M|            _PyStackRef *values;
  |  |13474|       |            // _GUARD_TOS_TUPLE
  |  |13475|  1.64M|            {
  |  |13476|  1.64M|                tos = stack_pointer[-1];
  |  |13477|  1.64M|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  |13478|  1.64M|                if (!PyTuple_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   28|  1.64M|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.64M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.64M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.64M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13478:21): [True: 0, False: 1.64M]
  |  |  ------------------
  |  |13479|      0|                    UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13480|      0|                    assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |  ------------------
  |  |  |  Branch (13480:21): [True: 0, False: 0]
  |  |  ------------------
  |  |13481|      0|                    JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13482|      0|                }
  |  |13483|  1.64M|            }
  |  |13484|       |            /* Skip 1 cache entry */
  |  |13485|       |            // _UNPACK_SEQUENCE_TUPLE
  |  |13486|  1.64M|            {
  |  |13487|  1.64M|                seq = tos;
  |  |13488|  1.64M|                values = &stack_pointer[-1];
  |  |13489|  1.64M|                PyObject *seq_o = PyStackRef_AsPyObjectBorrow(seq);
  |  |13490|  1.64M|                assert(PyTuple_CheckExact(seq_o));
  |  |  ------------------
  |  |  |  Branch (13490:17): [True: 1.64M, False: 0]
  |  |  ------------------
  |  |13491|  1.64M|                if (PyTuple_GET_SIZE(seq_o) != oparg) {
  |  |  ------------------
  |  |  |  |   27|  1.64M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.64M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.64M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13491:21): [True: 0, False: 1.64M]
  |  |  ------------------
  |  |13492|      0|                    UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13493|      0|                    assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |  ------------------
  |  |  |  Branch (13493:21): [True: 0, False: 0]
  |  |  ------------------
  |  |13494|      0|                    JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13495|      0|                }
  |  |13496|  1.64M|                STAT_INC(UNPACK_SEQUENCE, hit);
  |  |  ------------------
  |  |  |  |   73|  1.64M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |13497|  1.64M|                PyObject **items = _PyTuple_ITEMS(seq_o);
  |  |  ------------------
  |  |  |  |   26|  1.64M|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.28M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 1.64M, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13498|  8.19M|                for (int i = oparg; --i >= 0; ) {
  |  |  ------------------
  |  |  |  Branch (13498:37): [True: 6.55M, False: 1.64M]
  |  |  ------------------
  |  |13499|  6.55M|                    *values++ = PyStackRef_FromPyObjectNew(items[i]);
  |  |  ------------------
  |  |  |  |  611|  6.55M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13500|  6.55M|                }
  |  |13501|  1.64M|                stack_pointer += -1 + oparg;
  |  |13502|  1.64M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.64M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13503|  1.64M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13504|  1.64M|                _PyFrame_StackPointerValidate(frame);
  |  |13505|  1.64M|                PyStackRef_CLOSE(seq);
  |  |13506|  1.64M|                _PyFrame_StackPointerInvalidate(frame);
  |  |13507|  1.64M|            }
  |  |13508|  1.64M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.64M|    { \
  |  |  |  |  201|  1.64M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.64M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.64M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.64M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.64M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.64M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.64M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.64M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.64M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.64M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.64M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.64M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.64M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.64M|    }
  |  |  ------------------
  |  |13509|  1.64M|        }
  |  |13510|       |
  |  |13511|  50.8M|        TARGET(UNPACK_SEQUENCE_TWO_TUPLE) {
  |  |  ------------------
  |  |  |  |  132|  50.8M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13512|       |            #if _Py_TAIL_CALL_INTERP
  |  |13513|       |            int opcode = UNPACK_SEQUENCE_TWO_TUPLE;
  |  |13514|       |            (void)(opcode);
  |  |13515|       |            #endif
  |  |13516|  50.8M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |13517|  50.8M|            (void)this_instr;
  |  |13518|  50.8M|            frame->instr_ptr = next_instr;
  |  |13519|  50.8M|            next_instr += 2;
  |  |13520|  50.8M|            INSTRUCTION_STATS(UNPACK_SEQUENCE_TWO_TUPLE);
  |  |  ------------------
  |  |  |  |   71|  50.8M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13521|  50.8M|            static_assert(INLINE_CACHE_ENTRIES_UNPACK_SEQUENCE == 1, "incorrect cache size");
  |  |13522|  50.8M|            _PyStackRef tos;
  |  |13523|  50.8M|            _PyStackRef seq;
  |  |13524|  50.8M|            _PyStackRef val1;
  |  |13525|  50.8M|            _PyStackRef val0;
  |  |13526|       |            // _GUARD_TOS_TUPLE
  |  |13527|  50.8M|            {
  |  |13528|  50.8M|                tos = stack_pointer[-1];
  |  |13529|  50.8M|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  |13530|  50.8M|                if (!PyTuple_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   28|  50.8M|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  50.8M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  50.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  50.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13530:21): [True: 0, False: 50.8M]
  |  |  ------------------
  |  |13531|      0|                    UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13532|      0|                    assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |  ------------------
  |  |  |  Branch (13532:21): [True: 0, False: 0]
  |  |  ------------------
  |  |13533|      0|                    JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13534|      0|                }
  |  |13535|  50.8M|            }
  |  |13536|       |            /* Skip 1 cache entry */
  |  |13537|       |            // _UNPACK_SEQUENCE_TWO_TUPLE
  |  |13538|  50.8M|            {
  |  |13539|  50.8M|                seq = tos;
  |  |13540|  50.8M|                assert(oparg == 2);
  |  |  ------------------
  |  |  |  Branch (13540:17): [True: 50.8M, False: 0]
  |  |  ------------------
  |  |13541|  50.8M|                PyObject *seq_o = PyStackRef_AsPyObjectBorrow(seq);
  |  |13542|  50.8M|                assert(PyTuple_CheckExact(seq_o));
  |  |  ------------------
  |  |  |  Branch (13542:17): [True: 50.8M, False: 0]
  |  |  ------------------
  |  |13543|  50.8M|                if (PyTuple_GET_SIZE(seq_o) != 2) {
  |  |  ------------------
  |  |  |  |   27|  50.8M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  50.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  50.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13543:21): [True: 0, False: 50.8M]
  |  |  ------------------
  |  |13544|      0|                    UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13545|      0|                    assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |  ------------------
  |  |  |  Branch (13545:21): [True: 0, False: 0]
  |  |  ------------------
  |  |13546|      0|                    JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13547|      0|                }
  |  |13548|  50.8M|                STAT_INC(UNPACK_SEQUENCE, hit);
  |  |  ------------------
  |  |  |  |   73|  50.8M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |13549|  50.8M|                val0 = PyStackRef_FromPyObjectNew(PyTuple_GET_ITEM(seq_o, 0));
  |  |  ------------------
  |  |  |  |  611|  50.8M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  50.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   101M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (37:38): [True: 50.8M, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13550|  50.8M|                val1 = PyStackRef_FromPyObjectNew(PyTuple_GET_ITEM(seq_o, 1));
  |  |  ------------------
  |  |  |  |  611|  50.8M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  50.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   101M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (37:38): [True: 50.8M, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13551|      0|                stack_pointer[-1] = val1;
  |  |13552|  50.8M|                stack_pointer[0] = val0;
  |  |13553|  50.8M|                stack_pointer += 1;
  |  |13554|  50.8M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  50.8M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13555|  50.8M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13556|  50.8M|                _PyFrame_StackPointerValidate(frame);
  |  |13557|  50.8M|                PyStackRef_CLOSE(seq);
  |  |13558|  50.8M|                _PyFrame_StackPointerInvalidate(frame);
  |  |13559|  50.8M|            }
  |  |13560|  50.8M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  50.8M|    { \
  |  |  |  |  201|  50.8M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  50.8M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  50.8M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  50.8M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  50.8M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  50.8M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  50.8M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  50.8M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 50.8M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  50.8M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  50.8M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  50.8M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  50.8M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  50.8M|    }
  |  |  ------------------
  |  |13561|  50.8M|        }
  |  |13562|       |
  |  |13563|      6|        TARGET(WITH_EXCEPT_START) {
  |  |  ------------------
  |  |  |  |  132|      6|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13564|       |            #if _Py_TAIL_CALL_INTERP
  |  |13565|       |            int opcode = WITH_EXCEPT_START;
  |  |13566|       |            (void)(opcode);
  |  |13567|       |            #endif
  |  |13568|      6|            frame->instr_ptr = next_instr;
  |  |13569|      6|            next_instr += 1;
  |  |13570|      6|            INSTRUCTION_STATS(WITH_EXCEPT_START);
  |  |  ------------------
  |  |  |  |   71|      6|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13571|      6|            _PyStackRef exit_func;
  |  |13572|      6|            _PyStackRef exit_self;
  |  |13573|      6|            _PyStackRef lasti;
  |  |13574|      6|            _PyStackRef val;
  |  |13575|      6|            _PyStackRef res;
  |  |13576|      6|            val = stack_pointer[-1];
  |  |13577|      6|            lasti = stack_pointer[-3];
  |  |13578|      6|            exit_self = stack_pointer[-4];
  |  |13579|      6|            exit_func = stack_pointer[-5];
  |  |13580|      6|            PyObject *exc, *tb;
  |  |13581|      6|            PyObject *val_o = PyStackRef_AsPyObjectBorrow(val);
  |  |13582|      6|            PyObject *exit_func_o = PyStackRef_AsPyObjectBorrow(exit_func);
  |  |13583|      6|            assert(val_o && PyExceptionInstance_Check(val_o));
  |  |  ------------------
  |  |  |  Branch (13583:13): [True: 6, False: 0]
  |  |  |  Branch (13583:13): [True: 6, False: 0]
  |  |  ------------------
  |  |13584|      6|            exc = PyExceptionInstance_Class(val_o);
  |  |  ------------------
  |  |  |  |   69|      6|#define PyExceptionInstance_Class(x) _PyObject_CAST(Py_TYPE(x))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13585|      6|            PyObject *original_tb = tb = PyException_GetTraceback(val_o);
  |  |13586|      6|            if (tb == NULL) {
  |  |  ------------------
  |  |  |  Branch (13586:17): [True: 0, False: 6]
  |  |  ------------------
  |  |13587|      0|                tb = Py_None;
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  |  |13588|      0|            }
  |  |13589|      6|            assert(PyStackRef_IsTaggedInt(lasti));
  |  |  ------------------
  |  |  |  Branch (13589:13): [True: 6, False: 0]
  |  |  ------------------
  |  |13590|      6|            (void)lasti;
  |  |13591|      6|            PyObject* res_o;
  |  |13592|      6|            {
  |  |13593|      6|                PyObject *stack[5] = {NULL, PyStackRef_AsPyObjectBorrow(exit_self), exc, val_o, tb};
  |  |13594|      6|                int has_self = !PyStackRef_IsNull(exit_self);
  |  |  ------------------
  |  |  |  |  482|      6|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      6|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      6|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13595|      6|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13596|      6|                _PyFrame_StackPointerValidate(frame);
  |  |13597|      6|                res_o = PyObject_Vectorcall(exit_func_o, stack + 2 - has_self,
  |  |13598|      6|                    (3 + has_self) | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
  |  |  ------------------
  |  |  |  |  287|      6|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      6|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13599|      6|                _PyFrame_StackPointerInvalidate(frame);
  |  |13600|      6|            }
  |  |13601|      6|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13601:13): [True: 6, False: 0]
  |  |  ------------------
  |  |13602|      6|            _PyFrame_StackPointerValidate(frame);
  |  |13603|      6|            Py_XDECREF(original_tb);
  |  |  ------------------
  |  |  |  |   69|      6|    do { \
  |  |  |  |   70|      6|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   71|      6|        if (xop != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (71:13): [True: 6, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   72|      6|            Py_DECREF(xop); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   73|      6|        } \
  |  |  |  |   74|      6|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (74:14): [Folded, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13604|      6|            _PyFrame_StackPointerInvalidate(frame);
  |  |13605|      6|            if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (13605:17): [True: 0, False: 6]
  |  |  ------------------
  |  |13606|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13607|      0|            }
  |  |13608|      6|            res = PyStackRef_FromPyObjectSteal(res_o);
  |  |13609|      6|            stack_pointer[0] = res;
  |  |13610|      6|            stack_pointer += 1;
  |  |13611|      6|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      6|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13612|      6|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      6|    { \
  |  |  |  |  201|      6|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      6|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      6|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      6|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      6|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      6|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      6|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      6|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255: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|    }
  |  |  ------------------
  |  |13613|      6|        }
  |  |13614|       |
  |  |13615|  6.26M|        TARGET(YIELD_VALUE) {
  |  |  ------------------
  |  |  |  |  132|  6.26M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13616|       |            #if _Py_TAIL_CALL_INTERP
  |  |13617|       |            int opcode = YIELD_VALUE;
  |  |13618|       |            (void)(opcode);
  |  |13619|       |            #endif
  |  |13620|  6.26M|            frame->instr_ptr = next_instr;
  |  |13621|  6.26M|            next_instr += 1;
  |  |13622|  6.26M|            INSTRUCTION_STATS(YIELD_VALUE);
  |  |  ------------------
  |  |  |  |   71|  6.26M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13623|  6.26M|            opcode = YIELD_VALUE;
  |  |  ------------------
  |  |  |  |  129|  6.26M|#define YIELD_VALUE                            116
  |  |  ------------------
  |  |13624|  6.26M|            _PyStackRef value;
  |  |13625|  6.26M|            _PyStackRef retval;
  |  |13626|       |            // _MAKE_HEAP_SAFE
  |  |13627|  6.26M|            {
  |  |13628|  6.26M|                value = stack_pointer[-1];
  |  |13629|  6.26M|                value = PyStackRef_MakeHeapSafe(value);
  |  |13630|  6.26M|            }
  |  |13631|       |            // _YIELD_VALUE
  |  |13632|  6.26M|            {
  |  |13633|  6.26M|                retval = value;
  |  |13634|  6.26M|                assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (13634:17): [True: 6.26M, False: 0]
  |  |  ------------------
  |  |13635|  6.26M|                frame->instr_ptr++;
  |  |13636|  6.26M|                PyGenObject *gen = _PyGen_GetGeneratorFromFrame(frame);
  |  |13637|  6.26M|                assert(FRAME_SUSPENDED_YIELD_FROM == FRAME_SUSPENDED + 1);
  |  |  ------------------
  |  |  |  Branch (13637:17): [True: 6.26M, Folded]
  |  |  ------------------
  |  |13638|  6.26M|                assert(oparg == 0 || oparg == 1);
  |  |  ------------------
  |  |  |  Branch (13638:17): [True: 4.89M, False: 1.36M]
  |  |  |  Branch (13638:17): [True: 1.36M, False: 0]
  |  |  ------------------
  |  |13639|  6.26M|                _PyStackRef temp = retval;
  |  |13640|  6.26M|                stack_pointer += -1;
  |  |13641|  6.26M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  6.26M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13642|  6.26M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13643|  6.26M|                _PyFrame_StackPointerValidate(frame);
  |  |13644|  6.26M|                DTRACE_FUNCTION_RETURN();
  |  |  ------------------
  |  |  |  |  347|  6.26M|#define DTRACE_FUNCTION_RETURN() ((void)0)
  |  |  ------------------
  |  |13645|  6.26M|                tstate->exc_info = gen->gi_exc_state.previous_item;
  |  |13646|  6.26M|                gen->gi_exc_state.previous_item = NULL;
  |  |13647|  6.26M|                _Py_LeaveRecursiveCallPy(tstate);
  |  |13648|  6.26M|                _PyInterpreterFrame *gen_frame = frame;
  |  |13649|  6.26M|                _PyThreadState_UpdateLastProfiledFrame(tstate, gen_frame, gen_frame->previous);
  |  |  ------------------
  |  |  |  |  325|  6.26M|    do { \
  |  |  |  |  326|  6.26M|        PyThreadState *tstate_ = (tstate); \
  |  |  |  |  327|  6.26M|        _PyInterpreterFrame *frame_ = (frame); \
  |  |  |  |  328|  6.26M|        if (tstate_->last_profiled_frame == frame_) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (328:13): [True: 0, False: 6.26M]
  |  |  |  |  ------------------
  |  |  |  |  329|      0|            tstate_->last_profiled_frame = (previous); \
  |  |  |  |  330|      0|            tstate_->last_profiled_frame_seq++; \
  |  |  |  |  331|      0|        } \
  |  |  |  |  332|  6.26M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (332:14): [Folded, False: 6.26M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13650|  6.26M|                frame = tstate->current_frame = frame->previous;
  |  |13651|  6.26M|                gen_frame->previous = NULL;
  |  |13652|  6.26M|                ((_PyThreadStateImpl *)tstate)->generator_return_kind = GENERATOR_YIELD;
  |  |13653|  6.26M|                FT_ATOMIC_STORE_INT8_RELEASE(gen->gi_frame_state, FRAME_SUSPENDED + oparg);
  |  |  ------------------
  |  |  |  |  167|  6.26M|#define FT_ATOMIC_STORE_INT8_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  |13654|  6.26M|                assert(INLINE_CACHE_ENTRIES_SEND == INLINE_CACHE_ENTRIES_FOR_ITER);
  |  |  ------------------
  |  |  |  Branch (13654:17): [True: 6.26M, Folded]
  |  |  ------------------
  |  |13655|       |                #if TIER_ONE && defined(Py_DEBUG)
  |  |13656|       |                if (!PyStackRef_IsNone(frame->f_executable)) {
  |  |13657|       |                    Py_ssize_t i = frame->instr_ptr - _PyFrame_GetBytecode(frame);
  |  |13658|       |                    assert(i >= 0 && i <= INT_MAX);
  |  |13659|       |                    int opcode = _Py_GetBaseCodeUnit(_PyFrame_GetCode(frame), (int)i).op.code;
  |  |13660|       |                    assert(opcode == SEND || opcode == FOR_ITER);
  |  |13661|       |                }
  |  |13662|       |                #endif
  |  |13663|  6.26M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13664|  6.26M|                _PyFrame_StackPointerInvalidate(frame);
  |  |13665|  6.26M|                LOAD_IP(1 + INLINE_CACHE_ENTRIES_SEND);
  |  |  ------------------
  |  |  |  |  421|  6.26M|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  422|  6.26M|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  423|  6.26M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:14): [Folded, False: 6.26M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13666|  6.26M|                value = temp;
  |  |13667|  6.26M|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  6.26M|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  |13668|  6.26M|            }
  |  |13669|      0|            stack_pointer[0] = value;
  |  |13670|  6.26M|            stack_pointer += 1;
  |  |13671|  6.26M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  6.26M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13672|  6.26M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  6.26M|    { \
  |  |  |  |  201|  6.26M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  6.26M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  6.26M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  6.26M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  6.26M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  6.26M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  6.26M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  6.26M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 6.26M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  6.26M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  6.26M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  6.26M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  6.26M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  6.26M|    }
  |  |  ------------------
  |  |13673|  6.26M|        }
  |  |13674|       |
  |  |13675|       |            /* END INSTRUCTIONS */
  |  |13676|      0|#if !_Py_TAIL_CALL_INTERP
  |  |13677|      0|#if USE_COMPUTED_GOTOS
  |  |13678|      0|        _unknown_opcode:
  |  |13679|       |#else
  |  |13680|       |        EXTRA_CASES  // From pycore_opcode_metadata.h, a 'case' for each unused opcode
  |  |13681|       |#endif
  |  |13682|       |            /* Tell C compilers not to hold the opcode variable in the loop.
  |  |13683|       |               next_instr points the current instruction without TARGET(). */
  |  |13684|      0|            opcode = next_instr->op.code;
  |  |13685|      0|            _PyErr_Format(tstate, PyExc_SystemError,
  |  |13686|      0|              "%U:%d: unknown opcode %d",
  |  |13687|      0|              _PyFrame_GetCode(frame)->co_filename,
  |  |13688|      0|              PyUnstable_InterpreterFrame_GetLine(frame),
  |  |13689|      0|              opcode);
  |  |13690|      0|JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13691|       |
  |  |13692|       |
  |  |13693|      0|        }
  |  |13694|       |
  |  |13695|       |        /* This should never be reached. Every opcode should end with DISPATCH()
  |  |13696|       |           or goto error. */
  |  |13697|      0|        Py_UNREACHABLE();
  |  |  ------------------
  |  |  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |13698|      0|#endif /* _Py_TAIL_CALL_INTERP */
  |  |13699|       |        /* BEGIN LABELS */
  |  |13700|       |
  |  |13701|      0|        LABEL(pop_2_error)
  |  |  ------------------
  |  |  |  |  137|      0|#  define LABEL(name) name:
  |  |  ------------------
  |  |13702|      0|        {
  |  |13703|      0|            stack_pointer -= 2;
  |  |13704|      0|            assert(WITHIN_STACK_BOUNDS());
  |  |  ------------------
  |  |  |  Branch (13704:13): [True: 0, False: 0]
  |  |  |  Branch (13704:13): [True: 0, False: 0]
  |  |  |  Branch (13704:13): [True: 0, False: 0]
  |  |  ------------------
  |  |13705|      0|            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13706|      0|        }
  |  |13707|       |
  |  |13708|      2|        LABEL(pop_1_error)
  |  |  ------------------
  |  |  |  |  137|      2|#  define LABEL(name) name:
  |  |  ------------------
  |  |13709|      2|        {
  |  |13710|      2|            stack_pointer -= 1;
  |  |13711|      2|            assert(WITHIN_STACK_BOUNDS());
  |  |  ------------------
  |  |  |  Branch (13711:13): [True: 2, False: 0]
  |  |  |  Branch (13711:13): [True: 2, False: 0]
  |  |  |  Branch (13711:13): [True: 0, False: 2]
  |  |  ------------------
  |  |13712|      2|            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      2|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13713|      0|        }
  |  |13714|       |
  |  |13715|  3.11M|        LABEL(error)
  |  |  ------------------
  |  |  |  |  137|  3.11M|#  define LABEL(name) name:
  |  |  ------------------
  |  |13716|  3.11M|        {
  |  |13717|  3.11M|            _PyFrame_StackAssertInvalid(frame);
  |  |13718|       |            #ifdef NDEBUG
  |  |13719|       |            if (!_PyErr_Occurred(tstate)) {
  |  |13720|       |                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13721|       |                _PyFrame_StackPointerValidate(frame);
  |  |13722|       |                _PyErr_SetString(tstate, PyExc_SystemError,
  |  |13723|       |                             "error return without exception set");
  |  |13724|       |                _PyFrame_StackPointerInvalidate(frame);
  |  |13725|       |            }
  |  |13726|       |            #else
  |  |13727|  3.11M|            assert(_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (13727:13): [True: 3.11M, False: 0]
  |  |  ------------------
  |  |13728|  3.11M|            #endif
  |  |13729|  3.11M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13730|  3.11M|            _PyFrame_StackPointerValidate(frame);
  |  |13731|  3.11M|            STOP_TRACING();
  |  |  ------------------
  |  |  |  |  168|  3.11M|#define STOP_TRACING() ((void)(0));
  |  |  ------------------
  |  |13732|  3.11M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13733|  3.11M|            _PyFrame_StackPointerInvalidate(frame);
  |  |13734|  3.11M|            assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (13734:13): [True: 3.11M, False: 0]
  |  |  ------------------
  |  |13735|  3.11M|            if (!_PyFrame_IsIncomplete(frame)) {
  |  |  ------------------
  |  |  |  Branch (13735:17): [True: 3.11M, False: 6]
  |  |  ------------------
  |  |13736|  3.11M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13736:17): [True: 3.11M, False: 0]
  |  |  ------------------
  |  |13737|  3.11M|                _PyFrame_StackPointerValidate(frame);
  |  |13738|  3.11M|                PyFrameObject *f = _PyFrame_GetFrameObject(frame);
  |  |13739|  3.11M|                _PyFrame_StackPointerInvalidate(frame);
  |  |13740|  3.11M|                if (f != NULL) {
  |  |  ------------------
  |  |  |  Branch (13740:21): [True: 3.11M, False: 0]
  |  |  ------------------
  |  |13741|  3.11M|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13741:21): [True: 3.11M, False: 0]
  |  |  ------------------
  |  |13742|  3.11M|                    _PyFrame_StackPointerValidate(frame);
  |  |13743|  3.11M|                    PyTraceBack_Here(f);
  |  |13744|  3.11M|                    _PyFrame_StackPointerInvalidate(frame);
  |  |13745|  3.11M|                }
  |  |13746|  3.11M|            }
  |  |13747|  3.11M|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13747:13): [True: 3.11M, False: 0]
  |  |  ------------------
  |  |13748|  3.11M|            _PyFrame_StackPointerValidate(frame);
  |  |13749|  3.11M|            _PyEval_MonitorRaise(tstate, frame, next_instr-1);
  |  |13750|  3.11M|            _PyFrame_StackPointerInvalidate(frame);
  |  |13751|  3.11M|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13751:13): [True: 3.11M, False: 0]
  |  |  ------------------
  |  |13752|  3.11M|            _PyFrame_StackPointerValidate(frame);
  |  |13753|  3.11M|            JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|  3.11M|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13754|      0|        }
  |  |13755|       |
  |  |13756|  3.18M|        LABEL(exception_unwind)
  |  |  ------------------
  |  |  |  |  137|  3.18M|#  define LABEL(name) name:
  |  |  ------------------
  |  |13757|  3.18M|        {
  |  |13758|  3.18M|            STOP_TRACING();
  |  |  ------------------
  |  |  |  |  168|  3.18M|#define STOP_TRACING() ((void)(0));
  |  |  ------------------
  |  |13759|  3.18M|            int offset = INSTR_OFFSET()-1;
  |  |  ------------------
  |  |  |  |  250|  3.18M|#define INSTR_OFFSET() ((int)(next_instr - _PyFrame_GetBytecode(frame)))
  |  |  ------------------
  |  |13760|  3.18M|            int level, handler, lasti;
  |  |13761|  3.18M|            int handled = get_exception_handler(_PyFrame_GetCode(frame), offset, &level, &handler, &lasti);
  |  |13762|  3.18M|            if (handled == 0) {
  |  |  ------------------
  |  |  |  Branch (13762:17): [True: 3.09M, False: 93.6k]
  |  |  ------------------
  |  |13763|  3.09M|                assert(_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (13763:17): [True: 3.09M, False: 0]
  |  |  ------------------
  |  |13764|  3.09M|                _PyStackRef *stackbase = _PyFrame_Stackbase(frame);
  |  |13765|  8.96M|                while (frame->stackpointer > stackbase) {
  |  |  ------------------
  |  |  |  Branch (13765:24): [True: 5.87M, False: 3.09M]
  |  |  ------------------
  |  |13766|  5.87M|                    _PyStackRef ref = _PyFrame_StackPop(frame);
  |  |13767|  5.87M|                    PyStackRef_XCLOSE(ref);
  |  |13768|  5.87M|                }
  |  |13769|  3.09M|                monitor_unwind(tstate, frame, next_instr-1);
  |  |13770|  3.09M|                JUMP_TO_LABEL(exit_unwind);
  |  |  ------------------
  |  |  |  |  135|  3.09M|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13771|      0|            }
  |  |13772|  3.18M|            assert(STACK_LEVEL() >= level);
  |  |  ------------------
  |  |  |  Branch (13772:13): [True: 93.6k, False: 0]
  |  |  ------------------
  |  |13773|  93.6k|            _PyStackRef *new_top = _PyFrame_Stackbase(frame) + level;
  |  |13774|  93.6k|            assert(frame->stackpointer >= new_top);
  |  |  ------------------
  |  |  |  Branch (13774:13): [True: 93.6k, False: 0]
  |  |  ------------------
  |  |13775|   241k|            while (frame->stackpointer > new_top) {
  |  |  ------------------
  |  |  |  Branch (13775:20): [True: 148k, False: 93.6k]
  |  |  ------------------
  |  |13776|   148k|                _PyStackRef ref = _PyFrame_StackPop(frame);
  |  |13777|   148k|                PyStackRef_XCLOSE(ref);
  |  |13778|   148k|            }
  |  |13779|  93.6k|            if (lasti) {
  |  |  ------------------
  |  |  |  Branch (13779:17): [True: 34.6k, False: 59.0k]
  |  |  ------------------
  |  |13780|  34.6k|                int frame_lasti = _PyInterpreterFrame_LASTI(frame);
  |  |  ------------------
  |  |  |  |   18|  34.6k|    ((int)((IF)->instr_ptr - _PyFrame_GetBytecode((IF))))
  |  |  ------------------
  |  |13781|  34.6k|                _PyStackRef lasti = PyStackRef_TagInt(frame_lasti);
  |  |13782|  34.6k|                _PyFrame_StackPush(frame, lasti);
  |  |13783|  34.6k|            }
  |  |13784|  93.6k|            PyObject *exc = _PyErr_GetRaisedException(tstate);
  |  |13785|  93.6k|            _PyFrame_StackPush(frame, PyStackRef_FromPyObjectSteal(exc));
  |  |13786|  93.6k|            next_instr = _PyFrame_GetBytecode(frame) + handler;
  |  |13787|  93.6k|            int err = monitor_handled(tstate, frame, next_instr, exc);
  |  |13788|  93.6k|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (13788:17): [True: 0, False: 93.6k]
  |  |  ------------------
  |  |13789|      0|                JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13790|      0|            }
  |  |13791|       |            #ifdef Py_DEBUG
  |  |13792|       |            if (frame->lltrace >= 5) {
  |  |13793|       |                lltrace_resume_frame(frame);
  |  |13794|       |            }
  |  |13795|       |            #endif
  |  |13796|  93.6k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13797|  93.6k|            _PyFrame_StackPointerInvalidate(frame);
  |  |13798|       |            #if _Py_TAIL_CALL_INTERP
  |  |13799|       |            int opcode;
  |  |13800|       |            #endif
  |  |13801|  93.6k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  93.6k|    { \
  |  |  |  |  201|  93.6k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  93.6k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  93.6k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  93.6k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  93.6k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  93.6k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  93.6k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  93.6k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 93.6k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  93.6k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  93.6k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  93.6k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  93.6k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  93.6k|    }
  |  |  ------------------
  |  |13802|  93.6k|        }
  |  |13803|       |
  |  |13804|  3.09M|        LABEL(exit_unwind)
  |  |  ------------------
  |  |  |  |  137|  3.09M|#  define LABEL(name) name:
  |  |  ------------------
  |  |13805|  3.09M|        {
  |  |13806|  3.09M|            assert(_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (13806:13): [True: 3.09M, False: 0]
  |  |  ------------------
  |  |13807|  3.09M|            DTRACE_FUNCTION_RETURN();
  |  |  ------------------
  |  |  |  |  347|  3.09M|#define DTRACE_FUNCTION_RETURN() ((void)0)
  |  |  ------------------
  |  |13808|  3.09M|            JUMP_TO_LABEL(exit_unwind_notrace);
  |  |  ------------------
  |  |  |  |  135|  3.09M|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13809|      0|        }
  |  |13810|       |
  |  |13811|  3.10M|        LABEL(exit_unwind_notrace)
  |  |  ------------------
  |  |  |  |  137|  3.10M|#  define LABEL(name) name:
  |  |  ------------------
  |  |13812|  3.10M|        {
  |  |13813|  3.10M|            assert(_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (13813:13): [True: 3.10M, False: 0]
  |  |  ------------------
  |  |13814|  3.10M|            _Py_LeaveRecursiveCallPy(tstate);
  |  |13815|  3.10M|            assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (13815:13): [True: 3.10M, False: 0]
  |  |  ------------------
  |  |13816|  3.10M|            _PyInterpreterFrame *dying = frame;
  |  |13817|  3.10M|            frame = tstate->current_frame = dying->previous;
  |  |13818|  3.10M|            _PyEval_FrameClearAndPop(tstate, dying);
  |  |13819|  3.10M|            frame->return_offset = 0;
  |  |13820|  3.10M|            if (frame->owner == FRAME_OWNED_BY_INTERPRETER) {
  |  |  ------------------
  |  |  |  Branch (13820:17): [True: 2.73M, False: 373k]
  |  |  ------------------
  |  |13821|  2.73M|                tstate->current_frame = frame->previous;
  |  |13822|  2.73M|                #if !_Py_TAIL_CALL_INTERP
  |  |13823|  2.73M|                assert(frame == &entry.frame);
  |  |  ------------------
  |  |  |  Branch (13823:17): [True: 2.73M, False: 0]
  |  |  ------------------
  |  |13824|  2.73M|                #endif
  |  |13825|       |                #ifdef _Py_TIER2
  |  |13826|       |                _PyStackRef executor = frame->localsplus[0];
  |  |13827|       |                assert(tstate->current_executor == NULL);
  |  |13828|       |                if (!PyStackRef_IsNull(executor)) {
  |  |13829|       |                    tstate->current_executor = PyStackRef_AsPyObjectBorrow(executor);
  |  |13830|       |                    PyStackRef_CLOSE(executor);
  |  |13831|       |                }
  |  |13832|       |                #endif
  |  |13833|  2.73M|                return NULL;
  |  |13834|  2.73M|            }
  |  |13835|   373k|            next_instr = frame->instr_ptr;
  |  |13836|   373k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13837|   373k|            _PyFrame_StackPointerInvalidate(frame);
  |  |13838|   373k|            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|   373k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13839|      0|        }
  |  |13840|       |
  |  |13841|  21.7M|        LABEL(start_frame)
  |  |  ------------------
  |  |  |  |  137|  21.7M|#  define LABEL(name) name:
  |  |  ------------------
  |  |13842|  21.7M|        {
  |  |13843|       |            #ifdef Py_DEBUG
  |  |13844|       |            assert(frame->stackpointer_valid == 1);
  |  |13845|       |            #endif
  |  |13846|  21.7M|            int too_deep = _Py_EnterRecursivePy(tstate);
  |  |13847|  21.7M|            if (too_deep) {
  |  |  ------------------
  |  |  |  Branch (13847:17): [True: 14.7k, False: 21.7M]
  |  |  ------------------
  |  |13848|  14.7k|                JUMP_TO_LABEL(exit_unwind_notrace);
  |  |  ------------------
  |  |  |  |  135|  14.7k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13849|      0|            }
  |  |13850|  21.7M|            DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|  21.7M|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  |13851|  21.7M|            next_instr = frame->instr_ptr;
  |  |13852|       |            #ifdef Py_DEBUG
  |  |13853|       |            int lltrace = maybe_lltrace_resume_frame(frame, GLOBALS());
  |  |13854|       |            if (lltrace < 0) {
  |  |13855|       |                JUMP_TO_LABEL(exit_unwind);
  |  |13856|       |            }
  |  |13857|       |            frame->lltrace = lltrace;
  |  |13858|       |            assert(!_PyErr_Occurred(tstate));
  |  |13859|       |            #endif
  |  |13860|  21.7M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13861|  21.7M|            _PyFrame_StackPointerInvalidate(frame);
  |  |13862|       |            #if _Py_TAIL_CALL_INTERP
  |  |13863|       |            int opcode;
  |  |13864|       |            #endif
  |  |13865|  21.7M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  21.7M|    { \
  |  |  |  |  201|  21.7M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  21.7M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  21.7M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  21.7M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  21.7M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  21.7M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  21.7M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  21.7M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 21.7M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  21.7M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  21.7M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  21.7M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  21.7M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  21.7M|    }
  |  |  ------------------
  |  |13866|  21.7M|        }
  |  |13867|       |
  |  |13868|       |        #if _Py_TAIL_CALL_INTERP && !defined(_Py_TIER2)
  |  |13869|       |        Py_GCC_ATTRIBUTE((unused))
  |  |13870|       |        #endif
  |  |13871|      0|        LABEL(stop_tracing)
  |  |  ------------------
  |  |  |  |  137|      0|#  define LABEL(name) name:
  |  |  ------------------
  |  |13872|      0|        {
  |  |13873|       |            #if _Py_TIER2
  |  |13874|       |            assert(IS_JIT_TRACING());
  |  |13875|       |            int opcode = next_instr->op.code;
  |  |13876|       |            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13877|       |            _PyFrame_StackPointerValidate(frame);
  |  |13878|       |            _PyJit_translate_single_bytecode_to_trace(tstate, frame, NULL, _EXIT_TRACE);
  |  |13879|       |            _PyFrame_StackPointerInvalidate(frame);
  |  |13880|       |            LEAVE_TRACING();
  |  |13881|       |            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |13882|       |            _PyFrame_StackPointerValidate(frame);
  |  |13883|       |            int err = stop_tracing_and_jit(tstate, frame);
  |  |13884|       |            _PyFrame_StackPointerInvalidate(frame);
  |  |13885|       |            if (err < 0) {
  |  |13886|       |                JUMP_TO_LABEL(error);
  |  |13887|       |            }
  |  |13888|       |            DISPATCH_GOTO_NON_TRACING();
  |  |13889|       |            #else
  |  |13890|      0|            Py_FatalError("JIT label executed in non-jit build.");
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  |  |13891|      0|            #endif
  |  |13892|      0|        }
  |  |13893|       |
  |  |13894|       |/* END LABELS */
  |  |13895|      0|#undef TIER_ONE
  ------------------
 1343|      0|#endif
 1344|       |
 1345|       |
 1346|      0|early_exit:
 1347|      0|    assert(_PyErr_Occurred(tstate));
  ------------------
  |  Branch (1347:5): [True: 0, False: 0]
  ------------------
 1348|      0|    _Py_LeaveRecursiveCallPy(tstate);
 1349|      0|    assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  ------------------
  |  Branch (1349:5): [True: 0, False: 0]
  ------------------
 1350|       |    // GH-99729: We need to unlink the frame *before* clearing it:
 1351|      0|    _PyInterpreterFrame *dying = frame;
 1352|      0|    frame = tstate->current_frame = dying->previous;
 1353|      0|    _PyEval_FrameClearAndPop(tstate, dying);
 1354|      0|    frame->return_offset = 0;
 1355|      0|    assert(frame->owner == FRAME_OWNED_BY_INTERPRETER);
  ------------------
  |  Branch (1355:5): [True: 0, False: 0]
  ------------------
 1356|       |    /* Restore previous frame and exit */
 1357|      0|    tstate->current_frame = frame->previous;
 1358|       |    return NULL;
 1359|      0|}
_PyEval_FrameClearAndPop:
 2010|   151M|{
 2011|       |    // By this point, tstate->current_frame is already set to the parent frame.
 2012|   151M|    _PyThreadState_UpdateLastProfiledFrame(tstate, frame, tstate->current_frame);
  ------------------
  |  |  325|   151M|    do { \
  |  |  326|   151M|        PyThreadState *tstate_ = (tstate); \
  |  |  327|   151M|        _PyInterpreterFrame *frame_ = (frame); \
  |  |  328|   151M|        if (tstate_->last_profiled_frame == frame_) { \
  |  |  ------------------
  |  |  |  Branch (328:13): [True: 0, False: 151M]
  |  |  ------------------
  |  |  329|      0|            tstate_->last_profiled_frame = (previous); \
  |  |  330|      0|            tstate_->last_profiled_frame_seq++; \
  |  |  331|      0|        } \
  |  |  332|   151M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (332:14): [Folded, False: 151M]
  |  |  ------------------
  ------------------
 2013|       |
 2014|   151M|    if (frame->owner == FRAME_OWNED_BY_THREAD) {
  ------------------
  |  Branch (2014:9): [True: 146M, False: 5.21M]
  ------------------
 2015|   146M|        clear_thread_frame(tstate, frame);
 2016|   146M|    }
 2017|  5.21M|    else {
 2018|  5.21M|        clear_gen_frame(tstate, frame);
 2019|  5.21M|    }
 2020|   151M|}
_PyEvalFramePushAndInit:
 2027|  30.4M|{
 2028|  30.4M|    PyFunctionObject *func_obj = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(func);
 2029|  30.4M|    PyCodeObject * code = (PyCodeObject *)func_obj->func_code;
 2030|  30.4M|    CALL_STAT_INC(frames_pushed);
  ------------------
  |  |   76|  30.4M|#define CALL_STAT_INC(name) ((void)0)
  ------------------
 2031|  30.4M|    _PyInterpreterFrame *frame = _PyThreadState_PushFrame(tstate, code->co_framesize);
 2032|  30.4M|    if (frame == NULL) {
  ------------------
  |  Branch (2032:9): [True: 0, False: 30.4M]
  ------------------
 2033|      0|        goto fail;
 2034|      0|    }
 2035|  30.4M|    _PyFrame_Initialize(tstate, frame, func, locals, code, 0, previous);
 2036|  30.4M|    if (initialize_locals(tstate, func_obj, frame->localsplus, args, argcount, kwnames)) {
  ------------------
  |  Branch (2036:9): [True: 0, False: 30.4M]
  ------------------
 2037|      0|        assert(frame->owner == FRAME_OWNED_BY_THREAD);
  ------------------
  |  Branch (2037:9): [True: 0, False: 0]
  ------------------
 2038|      0|        _PyThreadState_UpdateLastProfiledFrame(tstate, frame, tstate->current_frame);
  ------------------
  |  |  325|      0|    do { \
  |  |  326|      0|        PyThreadState *tstate_ = (tstate); \
  |  |  327|      0|        _PyInterpreterFrame *frame_ = (frame); \
  |  |  328|      0|        if (tstate_->last_profiled_frame == frame_) { \
  |  |  ------------------
  |  |  |  Branch (328:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  329|      0|            tstate_->last_profiled_frame = (previous); \
  |  |  330|      0|            tstate_->last_profiled_frame_seq++; \
  |  |  331|      0|        } \
  |  |  332|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (332:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2039|      0|        clear_thread_frame(tstate, frame);
 2040|      0|        return NULL;
 2041|      0|    }
 2042|  30.4M|    return frame;
 2043|      0|fail:
 2044|       |    /* Consume the references */
 2045|      0|    PyStackRef_CLOSE(func);
 2046|      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]
  |  |  ------------------
  ------------------
 2047|      0|    for (size_t i = 0; i < argcount; i++) {
  ------------------
  |  Branch (2047:24): [True: 0, False: 0]
  ------------------
 2048|      0|        PyStackRef_CLOSE(args[i]);
 2049|      0|    }
 2050|      0|    if (kwnames) {
  ------------------
  |  Branch (2050:9): [True: 0, False: 0]
  ------------------
 2051|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2052|      0|        for (Py_ssize_t i = 0; i < kwcount; i++) {
  ------------------
  |  Branch (2052:32): [True: 0, False: 0]
  ------------------
 2053|      0|            PyStackRef_CLOSE(args[i+argcount]);
 2054|      0|        }
 2055|      0|    }
 2056|      0|    PyErr_NoMemory();
 2057|       |    return NULL;
 2058|  30.4M|}
_PyEvalFramePushAndInit_Ex:
 2066|     49|{
 2067|     49|    bool has_dict = (kwargs != NULL && PyDict_GET_SIZE(kwargs) > 0);
  ------------------
  |  |   63|     26|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     26|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2067:22): [True: 26, False: 23]
  |  Branch (2067:40): [True: 0, False: 26]
  ------------------
 2068|     49|    PyObject *kwnames = NULL;
 2069|     49|    _PyStackRef *newargs;
 2070|     49|    PyObject *const *object_array = NULL;
 2071|     49|    _PyStackRef stack_array[8] = {0};
 2072|     49|    if (has_dict) {
  ------------------
  |  Branch (2072:9): [True: 0, False: 49]
  ------------------
 2073|      0|        object_array = _PyStack_UnpackDict(tstate, _PyTuple_ITEMS(callargs), nargs, kwargs, &kwnames);
  ------------------
  |  |   26|      0|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2074|      0|        if (object_array == NULL) {
  ------------------
  |  Branch (2074:13): [True: 0, False: 0]
  ------------------
 2075|      0|            PyStackRef_CLOSE(func);
 2076|      0|            goto error;
 2077|      0|        }
 2078|      0|        size_t 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2079|      0|        assert(sizeof(PyObject *) == sizeof(_PyStackRef));
  ------------------
  |  Branch (2079:9): [True: 0, Folded]
  ------------------
 2080|      0|        newargs = (_PyStackRef *)object_array;
 2081|       |        /* Positional args are borrowed from callargs tuple, need new reference */
 2082|      0|        for (Py_ssize_t i = 0; i < nargs; i++) {
  ------------------
  |  Branch (2082:32): [True: 0, False: 0]
  ------------------
 2083|      0|            newargs[i] = PyStackRef_FromPyObjectNew(object_array[i]);
  ------------------
  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2084|      0|        }
 2085|       |        /* Keyword args are owned by _PyStack_UnpackDict, steal them */
 2086|      0|        for (size_t i = 0; i < nkwargs; i++) {
  ------------------
  |  Branch (2086:28): [True: 0, False: 0]
  ------------------
 2087|      0|            newargs[nargs + i] = PyStackRef_FromPyObjectSteal(object_array[nargs + i]);
 2088|      0|        }
 2089|      0|    }
 2090|     49|    else {
 2091|     49|        if (nargs <= 8) {
  ------------------
  |  Branch (2091:13): [True: 45, False: 4]
  ------------------
 2092|     45|            newargs = stack_array;
 2093|     45|        }
 2094|      4|        else {
 2095|      4|            newargs = PyMem_Malloc(sizeof(_PyStackRef) *nargs);
 2096|      4|            if (newargs == NULL) {
  ------------------
  |  Branch (2096:17): [True: 0, False: 4]
  ------------------
 2097|      0|                PyErr_NoMemory();
 2098|      0|                PyStackRef_CLOSE(func);
 2099|      0|                goto error;
 2100|      0|            }
 2101|      4|        }
 2102|       |        /* We need to create a new reference for all our args since the new frame steals them. */
 2103|    330|        for (Py_ssize_t i = 0; i < nargs; i++) {
  ------------------
  |  Branch (2103:32): [True: 281, False: 49]
  ------------------
 2104|    281|            newargs[i] = PyStackRef_FromPyObjectNew(PyTuple_GET_ITEM(callargs, i));
  ------------------
  |  |  611|    281|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    281|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    562|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 281, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2105|    281|        }
 2106|     49|    }
 2107|     49|    _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit(
 2108|     49|        tstate, func, locals,
 2109|     49|        newargs, nargs, kwnames, previous
 2110|     49|    );
 2111|     49|    if (has_dict) {
  ------------------
  |  Branch (2111:9): [True: 0, False: 49]
  ------------------
 2112|      0|        _PyStack_UnpackDict_FreeNoDecRef(object_array, kwnames);
 2113|      0|    }
 2114|     49|    else if (nargs > 8) {
  ------------------
  |  Branch (2114:14): [True: 4, False: 45]
  ------------------
 2115|      4|       PyMem_Free((void *)newargs);
 2116|      4|    }
 2117|       |    /* No need to decref func here because the reference has been stolen by
 2118|       |       _PyEvalFramePushAndInit.
 2119|       |    */
 2120|     49|    Py_DECREF(callargs);
  ------------------
  |  |   80|     49|    do { \
  |  |   81|     49|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|     49|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     49|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|     49|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|     49|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     49|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     49|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 49]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|     49|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|     49|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|     49|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 34, False: 15]
  |  |  ------------------
  |  |   88|     34|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|     34|    do { \
  |  |  |  |  113|     34|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|     34|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 34]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|     34|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 34]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|     34|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|     34|            (*dealloc)(op); \
  |  |   91|     34|        } \
  |  |   92|     49|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 49]
  |  |  ------------------
  ------------------
 2121|     49|    Py_XDECREF(kwargs);
  ------------------
  |  |   69|     49|    do { \
  |  |   70|     49|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|     49|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     49|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|     49|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 26, False: 23]
  |  |  ------------------
  |  |   72|     26|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|     26|    do { \
  |  |  |  |   81|     26|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     26|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|     26|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|     26|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     26|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 26]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|     26|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|     26|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|     26|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 26, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|     26|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|     26|    do { \
  |  |  |  |  |  |  113|     26|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|     26|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 26]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|     26|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 26]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|     26|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|     26|            (*dealloc)(op); \
  |  |  |  |   91|     26|        } \
  |  |  |  |   92|     26|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 26]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|     26|        } \
  |  |   74|     49|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 49]
  |  |  ------------------
  ------------------
 2122|     49|    return new_frame;
 2123|      0|error:
 2124|      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]
  |  |  ------------------
  ------------------
 2125|      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]
  |  |  ------------------
  ------------------
 2126|       |    return NULL;
 2127|     49|}
_PyEval_Vector:
 2134|  20.9M|{
 2135|  20.9M|    size_t total_args = argcount;
 2136|  20.9M|    if (kwnames) {
  ------------------
  |  Branch (2136:9): [True: 109, False: 20.9M]
  ------------------
 2137|    109|        total_args += PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|    109|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    109|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    109|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2138|    109|    }
 2139|  20.9M|    _PyStackRef stack_array[8] = {0};
 2140|  20.9M|    _PyStackRef *arguments;
 2141|  20.9M|    if (total_args <= 8) {
  ------------------
  |  Branch (2141:9): [True: 20.6M, False: 355k]
  ------------------
 2142|  20.6M|        arguments = stack_array;
 2143|  20.6M|    }
 2144|   355k|    else {
 2145|   355k|        arguments = PyMem_Malloc(sizeof(_PyStackRef) * total_args);
 2146|   355k|        if (arguments == NULL) {
  ------------------
  |  Branch (2146:13): [True: 0, False: 355k]
  ------------------
 2147|      0|            return PyErr_NoMemory();
 2148|      0|        }
 2149|   355k|    }
 2150|       |    /* _PyEvalFramePushAndInit consumes the references
 2151|       |     * to func, locals and all its arguments */
 2152|  20.9M|    Py_XINCREF(locals);
  ------------------
  |  |  514|  20.9M|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2153|  57.6M|    for (size_t i = 0; i < argcount; i++) {
  ------------------
  |  Branch (2153:24): [True: 36.6M, False: 20.9M]
  ------------------
 2154|  36.6M|        arguments[i] = PyStackRef_FromPyObjectNew(args[i]);
  ------------------
  |  |  611|  36.6M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  36.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2155|  36.6M|    }
 2156|  20.9M|    if (kwnames) {
  ------------------
  |  Branch (2156:9): [True: 109, False: 20.9M]
  ------------------
 2157|    109|        Py_ssize_t kwcount = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|    109|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    109|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    109|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2158|    312|        for (Py_ssize_t i = 0; i < kwcount; i++) {
  ------------------
  |  Branch (2158:32): [True: 203, False: 109]
  ------------------
 2159|    203|            arguments[i+argcount] = PyStackRef_FromPyObjectNew(args[i+argcount]);
  ------------------
  |  |  611|    203|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    203|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    203|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2160|    203|        }
 2161|    109|    }
 2162|  20.9M|    _PyInterpreterFrame *frame = _PyEvalFramePushAndInit(
 2163|  20.9M|        tstate, PyStackRef_FromPyObjectNew(func), locals,
  ------------------
  |  |  611|  20.9M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  20.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2164|  20.9M|        arguments, argcount, kwnames, NULL);
 2165|  20.9M|    if (total_args > 8) {
  ------------------
  |  Branch (2165:9): [True: 355k, False: 20.6M]
  ------------------
 2166|   355k|        PyMem_Free(arguments);
 2167|   355k|    }
 2168|  20.9M|    if (frame == NULL) {
  ------------------
  |  Branch (2168:9): [True: 0, False: 20.9M]
  ------------------
 2169|      0|        return NULL;
 2170|      0|    }
 2171|  20.9M|    EVAL_CALL_STAT_INC(EVAL_CALL_VECTOR);
  ------------------
  |  |   79|  20.9M|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
 2172|  20.9M|    return _PyEval_EvalFrame(tstate, frame, 0);
 2173|  20.9M|}
_PyEval_UnpackIterableStackRef:
 2350|     87|{
 2351|     87|    int i = 0, j = 0;
 2352|     87|    Py_ssize_t ll = 0;
 2353|     87|    PyObject *it;  /* iter(v) */
 2354|     87|    PyObject *w;
 2355|     87|    PyObject *l = NULL; /* variable list */
 2356|     87|    assert(v != NULL);
  ------------------
  |  Branch (2356:5): [True: 87, False: 0]
  ------------------
 2357|       |
 2358|     87|    it = PyObject_GetIter(v);
 2359|     87|    if (it == NULL) {
  ------------------
  |  Branch (2359:9): [True: 0, False: 87]
  ------------------
 2360|      0|        if (_PyErr_ExceptionMatches(tstate, PyExc_TypeError) &&
  ------------------
  |  Branch (2360:13): [True: 0, False: 0]
  ------------------
 2361|      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 (2361:13): [True: 0, False: 0]
  |  Branch (2361:44): [True: 0, False: 0]
  ------------------
 2362|      0|        {
 2363|      0|            _PyErr_Format(tstate, PyExc_TypeError,
 2364|      0|                          "cannot unpack non-iterable %.200s object",
 2365|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2366|      0|        }
 2367|      0|        return 0;
 2368|      0|    }
 2369|       |
 2370|    283|    for (; i < argcnt; i++) {
  ------------------
  |  Branch (2370:12): [True: 196, False: 87]
  ------------------
 2371|    196|        w = PyIter_Next(it);
 2372|    196|        if (w == NULL) {
  ------------------
  |  Branch (2372:13): [True: 0, False: 196]
  ------------------
 2373|       |            /* Iterator done, via error or exhaustion. */
 2374|      0|            if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2374:17): [True: 0, False: 0]
  ------------------
 2375|      0|                if (argcntafter == -1) {
  ------------------
  |  Branch (2375:21): [True: 0, False: 0]
  ------------------
 2376|      0|                    _PyErr_Format(tstate, PyExc_ValueError,
 2377|      0|                                  "not enough values to unpack "
 2378|      0|                                  "(expected %d, got %d)",
 2379|      0|                                  argcnt, i);
 2380|      0|                }
 2381|      0|                else {
 2382|      0|                    _PyErr_Format(tstate, PyExc_ValueError,
 2383|      0|                                  "not enough values to unpack "
 2384|      0|                                  "(expected at least %d, got %d)",
 2385|      0|                                  argcnt + argcntafter, i);
 2386|      0|                }
 2387|      0|            }
 2388|      0|            goto Error;
 2389|      0|        }
 2390|    196|        *--sp = PyStackRef_FromPyObjectSteal(w);
 2391|    196|    }
 2392|       |
 2393|     87|    if (argcntafter == -1) {
  ------------------
  |  Branch (2393:9): [True: 87, False: 0]
  ------------------
 2394|       |        /* We better have exhausted the iterator now. */
 2395|     87|        w = PyIter_Next(it);
 2396|     87|        if (w == NULL) {
  ------------------
  |  Branch (2396:13): [True: 87, False: 0]
  ------------------
 2397|     87|            if (_PyErr_Occurred(tstate))
  ------------------
  |  Branch (2397:17): [True: 0, False: 87]
  ------------------
 2398|      0|                goto Error;
 2399|     87|            Py_DECREF(it);
  ------------------
  |  |   80|     87|    do { \
  |  |   81|     87|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|     87|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     87|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|     87|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|     87|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     87|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     87|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 87]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|     87|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|     87|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|     87|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 87, False: 0]
  |  |  ------------------
  |  |   88|     87|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|     87|    do { \
  |  |  |  |  113|     87|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|     87|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 87]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|     87|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 87]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|     87|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|     87|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     87|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     87|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|     87|            (*dealloc)(op); \
  |  |   91|     87|        } \
  |  |   92|     87|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 87]
  |  |  ------------------
  ------------------
 2400|     87|            return 1;
 2401|     87|        }
 2402|      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]
  |  |  ------------------
  ------------------
 2403|       |
 2404|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2405|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2406|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2407|      0|            if (ll > argcnt) {
  ------------------
  |  Branch (2407:17): [True: 0, False: 0]
  ------------------
 2408|      0|                _PyErr_Format(tstate, PyExc_ValueError,
 2409|      0|                              "too many values to unpack (expected %d, got %zd)",
 2410|      0|                              argcnt, ll);
 2411|      0|                goto Error;
 2412|      0|            }
 2413|      0|        }
 2414|      0|        _PyErr_Format(tstate, PyExc_ValueError,
 2415|      0|                      "too many values to unpack (expected %d)",
 2416|      0|                      argcnt);
 2417|      0|        goto Error;
 2418|      0|    }
 2419|       |
 2420|      0|    l = PySequence_List(it);
 2421|      0|    if (l == NULL)
  ------------------
  |  Branch (2421:9): [True: 0, False: 0]
  ------------------
 2422|      0|        goto Error;
 2423|      0|    *--sp = PyStackRef_FromPyObjectSteal(l);
 2424|      0|    i++;
 2425|       |
 2426|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2427|      0|    if (ll < argcntafter) {
  ------------------
  |  Branch (2427:9): [True: 0, False: 0]
  ------------------
 2428|      0|        _PyErr_Format(tstate, PyExc_ValueError,
 2429|      0|            "not enough values to unpack (expected at least %d, got %zd)",
 2430|      0|            argcnt + argcntafter, argcnt + ll);
 2431|      0|        goto Error;
 2432|      0|    }
 2433|       |
 2434|       |    /* Pop the "after-variable" args off the list. */
 2435|      0|    for (j = argcntafter; j > 0; j--, i++) {
  ------------------
  |  Branch (2435:27): [True: 0, False: 0]
  ------------------
 2436|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2436:46): [True: 0, False: 0]
  ------------------
 2437|      0|    }
 2438|       |    /* Resize the list. */
 2439|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2440|      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]
  |  |  ------------------
  ------------------
 2441|      0|    return 1;
 2442|       |
 2443|      0|Error:
 2444|      0|    for (; i > 0; i--, sp++) {
  ------------------
  |  Branch (2444:12): [True: 0, False: 0]
  ------------------
 2445|      0|        PyStackRef_CLOSE(*sp);
 2446|      0|    }
 2447|       |    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]
  |  |  ------------------
  ------------------
 2448|      0|    return 0;
 2449|      0|}
_PyEval_MonitorRaise:
 2456|  3.11M|{
 2457|  3.11M|    if (no_tools_for_local_event(tstate, frame, PY_MONITORING_EVENT_RAISE)) {
  ------------------
  |  |   32|  3.11M|#define PY_MONITORING_EVENT_RAISE 11
  ------------------
  |  Branch (2457:9): [True: 3.11M, False: 0]
  ------------------
 2458|  3.11M|        return;
 2459|  3.11M|    }
 2460|      0|    do_monitor_exc(tstate, frame, instr, PY_MONITORING_EVENT_RAISE);
  ------------------
  |  |   32|      0|#define PY_MONITORING_EVENT_RAISE 11
  ------------------
 2461|      0|}
_PyEval_NoToolsForUnwind:
 2465|  50.3k|{
 2466|  50.3k|    return no_tools_for_local_event(tstate, frame, PY_MONITORING_EVENT_PY_UNWIND);
  ------------------
  |  |   34|  50.3k|#define PY_MONITORING_EVENT_PY_UNWIND 13
  ------------------
 2467|  50.3k|}
_PyEval_GetFrame:
 2603|    222|{
 2604|    222|    PyThreadState *tstate = _PyThreadState_GET();
 2605|    222|    return _PyThreadState_GetFrame(tstate);
 2606|    222|}
_PyEval_GetBuiltins:
 2624|     60|{
 2625|     60|    _PyInterpreterFrame *frame = _PyThreadState_GetFrame(tstate);
 2626|     60|    if (frame != NULL) {
  ------------------
  |  Branch (2626:9): [True: 56, False: 4]
  ------------------
 2627|     56|        return frame->f_builtins;
 2628|     56|    }
 2629|      4|    return tstate->interp->builtins;
 2630|     60|}
PyEval_GetBuiltins:
 2634|     60|{
 2635|     60|    PyThreadState *tstate = _PyThreadState_GET();
 2636|     60|    return _PyEval_GetBuiltins(tstate);
 2637|     60|}
_PyEval_GetFrameLocals:
 2702|      1|{
 2703|      1|    PyThreadState *tstate = _PyThreadState_GET();
 2704|      1|     _PyInterpreterFrame *current_frame = _PyThreadState_GetFrame(tstate);
 2705|      1|    if (current_frame == NULL) {
  ------------------
  |  Branch (2705:9): [True: 0, False: 1]
  ------------------
 2706|      0|        _PyErr_SetString(tstate, PyExc_SystemError, "frame does not exist");
 2707|      0|        return NULL;
 2708|      0|    }
 2709|       |
 2710|      1|    PyObject *locals = _PyFrame_GetLocals(current_frame);
 2711|      1|    if (locals == NULL) {
  ------------------
  |  Branch (2711:9): [True: 0, False: 1]
  ------------------
 2712|      0|        return NULL;
 2713|      0|    }
 2714|       |
 2715|      1|    if (PyFrameLocalsProxy_Check(locals)) {
  ------------------
  |  |    9|      1|#define PyFrameLocalsProxy_Check(op) Py_IS_TYPE((op), &PyFrameLocalsProxy_Type)
  |  |  ------------------
  |  |  |  |   65|      1|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2716|      0|        PyObject* ret = PyDict_New();
 2717|      0|        if (ret == NULL) {
  ------------------
  |  Branch (2717:13): [True: 0, False: 0]
  ------------------
 2718|      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]
  |  |  ------------------
  ------------------
 2719|      0|            return NULL;
 2720|      0|        }
 2721|      0|        if (PyDict_Update(ret, locals) < 0) {
  ------------------
  |  Branch (2721:13): [True: 0, False: 0]
  ------------------
 2722|      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]
  |  |  ------------------
  ------------------
 2723|      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]
  |  |  ------------------
  ------------------
 2724|      0|            return NULL;
 2725|      0|        }
 2726|      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]
  |  |  ------------------
  ------------------
 2727|      0|        return ret;
 2728|      0|    }
 2729|       |
 2730|      1|    assert(PyMapping_Check(locals));
  ------------------
  |  Branch (2730:5): [True: 1, False: 0]
  ------------------
 2731|      1|    return locals;
 2732|      1|}
PyEval_GetGlobals:
 2746|   356k|{
 2747|   356k|    PyThreadState *tstate = _PyThreadState_GET();
 2748|   356k|    return _PyEval_GetGlobals(tstate);
 2749|   356k|}
_PyEval_EnsureBuiltins:
 2809|     59|{
 2810|     59|    PyObject *builtins = get_globals_builtins(globals);
 2811|     59|    if (builtins == NULL) {
  ------------------
  |  Branch (2811:9): [True: 56, False: 3]
  ------------------
 2812|     56|        if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2812:13): [True: 0, False: 56]
  ------------------
 2813|      0|            return -1;
 2814|      0|        }
 2815|     56|        builtins = PyEval_GetBuiltins();  // borrowed
 2816|     56|        if (builtins == NULL) {
  ------------------
  |  Branch (2816:13): [True: 0, False: 56]
  ------------------
 2817|      0|            assert(_PyErr_Occurred(tstate));
  ------------------
  |  Branch (2817:13): [True: 0, False: 0]
  ------------------
 2818|      0|            return -1;
 2819|      0|        }
 2820|     56|        Py_INCREF(builtins);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2821|     56|        if (set_globals_builtins(globals, builtins) < 0) {
  ------------------
  |  Branch (2821:13): [True: 0, False: 56]
  ------------------
 2822|      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]
  |  |  ------------------
  ------------------
 2823|      0|            return -1;
 2824|      0|        }
 2825|     56|    }
 2826|     59|    if (p_builtins != NULL) {
  ------------------
  |  Branch (2826:9): [True: 0, False: 59]
  ------------------
 2827|      0|        *p_builtins = builtins;
 2828|      0|    }
 2829|     59|    else {
 2830|       |        Py_DECREF(builtins);
  ------------------
  |  |   80|     59|    do { \
  |  |   81|     59|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|     59|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|     59|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|     59|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     59|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 59]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|     59|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|     59|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|     59|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 59]
  |  |  ------------------
  |  |   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|     59|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 59]
  |  |  ------------------
  ------------------
 2831|     59|    }
 2832|     59|    return 0;
 2833|     59|}
_PyEval_EnsureBuiltinsWithModule:
 2838|     15|{
 2839|     15|    PyObject *builtins = get_globals_builtins(globals);
 2840|     15|    if (builtins == NULL) {
  ------------------
  |  Branch (2840:9): [True: 15, False: 0]
  ------------------
 2841|     15|        if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2841:13): [True: 0, False: 15]
  ------------------
 2842|      0|            return -1;
 2843|      0|        }
 2844|     15|        builtins = PyImport_ImportModuleLevel("builtins", NULL, NULL, NULL, 0);
 2845|     15|        if (builtins == NULL) {
  ------------------
  |  Branch (2845:13): [True: 0, False: 15]
  ------------------
 2846|      0|            return -1;
 2847|      0|        }
 2848|     15|        if (set_globals_builtins(globals, builtins) < 0) {
  ------------------
  |  Branch (2848:13): [True: 0, False: 15]
  ------------------
 2849|      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]
  |  |  ------------------
  ------------------
 2850|      0|            return -1;
 2851|      0|        }
 2852|     15|    }
 2853|     15|    if (p_builtins != NULL) {
  ------------------
  |  Branch (2853:9): [True: 15, False: 0]
  ------------------
 2854|     15|        *p_builtins = builtins;
 2855|     15|    }
 2856|      0|    else {
 2857|       |        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]
  |  |  ------------------
  ------------------
 2858|      0|    }
 2859|     15|    return 0;
 2860|     15|}
PyEval_MergeCompilerFlags:
 2886|      3|{
 2887|      3|    PyThreadState *tstate = _PyThreadState_GET();
 2888|      3|    _PyInterpreterFrame *current_frame = tstate->current_frame;
 2889|      3|    if (current_frame == tstate->base_frame) {
  ------------------
  |  Branch (2889:9): [True: 0, False: 3]
  ------------------
 2890|      0|        current_frame = NULL;
 2891|      0|    }
 2892|      3|    int result = cf->cf_flags != 0;
 2893|       |
 2894|      3|    if (current_frame != NULL) {
  ------------------
  |  Branch (2894:9): [True: 3, False: 0]
  ------------------
 2895|      3|        const int codeflags = _PyFrame_GetCode(current_frame)->co_flags;
 2896|      3|        const int compilerflags = codeflags & PyCF_MASK;
  ------------------
  |  |    6|      3|#define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
  |  |  ------------------
  |  |  |  |  139|      3|#define CO_FUTURE_DIVISION      0x20000
  |  |  ------------------
  |  |               #define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
  |  |  ------------------
  |  |  |  |  140|      3|#define CO_FUTURE_ABSOLUTE_IMPORT 0x40000 /* do absolute imports by default */
  |  |  ------------------
  |  |    7|      3|                   CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
  |  |  ------------------
  |  |  |  |  141|      3|#define CO_FUTURE_WITH_STATEMENT  0x80000
  |  |  ------------------
  |  |                                  CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
  |  |  ------------------
  |  |  |  |  142|      3|#define CO_FUTURE_PRINT_FUNCTION  0x100000
  |  |  ------------------
  |  |    8|      3|                   CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL | \
  |  |  ------------------
  |  |  |  |  143|      3|#define CO_FUTURE_UNICODE_LITERALS 0x200000
  |  |  ------------------
  |  |                                  CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL | \
  |  |  ------------------
  |  |  |  |  145|      3|#define CO_FUTURE_BARRY_AS_BDFL  0x400000
  |  |  ------------------
  |  |    9|      3|                   CO_FUTURE_GENERATOR_STOP | CO_FUTURE_ANNOTATIONS)
  |  |  ------------------
  |  |  |  |  146|      3|#define CO_FUTURE_GENERATOR_STOP  0x800000
  |  |  ------------------
  |  |                                  CO_FUTURE_GENERATOR_STOP | CO_FUTURE_ANNOTATIONS)
  |  |  ------------------
  |  |  |  |  147|      3|#define CO_FUTURE_ANNOTATIONS    0x1000000
  |  |  ------------------
  ------------------
 2897|      3|        if (compilerflags) {
  ------------------
  |  Branch (2897:13): [True: 0, False: 3]
  ------------------
 2898|      0|            result = 1;
 2899|      0|            cf->cf_flags |= compilerflags;
 2900|      0|        }
 2901|      3|    }
 2902|      3|    return result;
 2903|      3|}
_PyEval_SliceIndex:
 2940|  3.72M|{
 2941|  3.72M|    if (Py_IsNone(v)) {
  ------------------
  |  |  621|  3.72M|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|  3.72M|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 325, False: 3.72M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2942|    325|        return 1;
 2943|    325|    }
 2944|  3.72M|    return _PyEval_SliceIndexNotNone(v, pi);
 2945|  3.72M|}
_PyEval_SliceIndexNotNone:
 2949|  3.72M|{
 2950|  3.72M|    PyThreadState *tstate = _PyThreadState_GET();
 2951|  3.72M|    Py_ssize_t x;
 2952|  3.72M|    if (PyLong_CheckExact(v) && _PyLong_IsCompact((PyLongObject *)v)) {
  ------------------
  |  |   14|  3.72M|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |   65|  7.44M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.72M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.72M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 3.72M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2952:33): [True: 3.72M, False: 157]
  ------------------
 2953|  3.72M|        *pi = _PyLong_CompactValue((PyLongObject *)v);
 2954|  3.72M|        return 1;
 2955|  3.72M|    }
 2956|    157|    if (_PyIndex_Check(v)) {
  ------------------
  |  Branch (2956:9): [True: 157, False: 0]
  ------------------
 2957|    157|        x = PyNumber_AsSsize_t(v, NULL);
 2958|    157|        if (x == -1 && _PyErr_Occurred(tstate))
  ------------------
  |  Branch (2958:13): [True: 0, False: 157]
  |  Branch (2958:24): [True: 0, False: 0]
  ------------------
 2959|      0|            return 0;
 2960|    157|    }
 2961|      0|    else {
 2962|      0|        _PyErr_SetString(tstate, PyExc_TypeError,
 2963|      0|                         "slice indices must be integers or "
 2964|      0|                         "have an __index__ method");
 2965|      0|        return 0;
 2966|      0|    }
 2967|    157|    *pi = x;
 2968|    157|    return 1;
 2969|    157|}
_PyEval_UnpackIndices:
 2975|  3.61k|{
 2976|  3.61k|    if (len < 0) {
  ------------------
  |  Branch (2976:9): [True: 0, False: 3.61k]
  ------------------
 2977|      0|        return 0;
 2978|      0|    }
 2979|  3.61k|    *istart = 0;
 2980|  3.61k|    *istop = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|  3.61k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 2981|  3.61k|    if (!_PyEval_SliceIndex(start, istart)) {
  ------------------
  |  Branch (2981:9): [True: 0, False: 3.61k]
  ------------------
 2982|      0|        return 0;
 2983|      0|    }
 2984|  3.61k|    if (!_PyEval_SliceIndex(stop, istop)) {
  ------------------
  |  Branch (2984:9): [True: 0, False: 3.61k]
  ------------------
 2985|      0|        return 0;
 2986|      0|    }
 2987|  3.61k|    PySlice_AdjustIndices(len, istart, istop, 1);
 2988|  3.61k|    return 1;
 2989|  3.61k|}
_PyEval_ImportName:
 2995|  1.67M|{
 2996|  1.67M|    PyObject *import_func;
 2997|  1.67M|    if (PyMapping_GetOptionalItem(builtins, &_Py_ID(__import__),
  ------------------
  |  |  920|  1.67M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.67M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.67M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2997:9): [True: 0, False: 1.67M]
  ------------------
 2998|  1.67M|                                  &import_func) < 0) {
 2999|      0|        return NULL;
 3000|      0|    }
 3001|  1.67M|    if (import_func == NULL) {
  ------------------
  |  Branch (3001:9): [True: 0, False: 1.67M]
  ------------------
 3002|      0|        _PyErr_SetString(tstate, PyExc_ImportError, "__import__ not found");
 3003|      0|        return NULL;
 3004|      0|    }
 3005|       |
 3006|  1.67M|    PyObject *res = _PyEval_ImportNameWithImport(
 3007|  1.67M|        tstate, import_func, globals, locals, name, fromlist, level);
 3008|       |    Py_DECREF(import_func);
  ------------------
  |  |   80|  1.67M|    do { \
  |  |   81|  1.67M|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|  1.67M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.67M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|  1.67M|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|  1.67M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.67M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.67M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 1.67M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|  1.67M|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|  1.67M|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|  1.67M|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 1.67M]
  |  |  ------------------
  |  |   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|  1.67M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 1.67M]
  |  |  ------------------
  ------------------
 3009|  1.67M|    return res;
 3010|  1.67M|}
_PyEval_ImportNameWithImport:
 3016|  1.67M|{
 3017|  1.67M|    if (locals == NULL) {
  ------------------
  |  Branch (3017:9): [True: 1.67M, False: 217]
  ------------------
 3018|  1.67M|        locals = Py_None;
  ------------------
  |  |  616|  1.67M|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3019|  1.67M|    }
 3020|       |
 3021|       |    /* Fast path for not overloaded __import__. */
 3022|  1.67M|    if (_PyImport_IsDefaultImportFunc(tstate->interp, import_func)) {
  ------------------
  |  Branch (3022:9): [True: 1.67M, False: 0]
  ------------------
 3023|  1.67M|        int ilevel = PyLong_AsInt(level);
 3024|  1.67M|        if (ilevel == -1 && _PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (3024:13): [True: 0, False: 1.67M]
  |  Branch (3024:29): [True: 0, False: 0]
  ------------------
 3025|      0|            return NULL;
 3026|      0|        }
 3027|  1.67M|        return PyImport_ImportModuleLevelObject(
 3028|  1.67M|                        name,
 3029|  1.67M|                        globals,
 3030|  1.67M|                        locals,
 3031|  1.67M|                        fromlist,
 3032|  1.67M|                        ilevel);
 3033|  1.67M|    }
 3034|       |
 3035|      0|    PyObject *args[5] = {name, globals, locals, fromlist, level};
 3036|       |    PyObject *res = PyObject_Vectorcall(import_func, args, 5, NULL);
 3037|      0|    return res;
 3038|  1.67M|}
_PyEval_LazyImportName:
 3089|    178|{
 3090|    178|    PyObject *res = NULL;
 3091|       |    // Check if global policy overrides the local syntax
 3092|    178|    switch (PyImport_GetLazyImportsMode()) {
  ------------------
  |  Branch (3092:13): [True: 178, False: 0]
  ------------------
 3093|      0|        case PyImport_LAZY_ALL:
  ------------------
  |  Branch (3093:9): [True: 0, False: 178]
  ------------------
 3094|      0|            if (!lazy) {
  ------------------
  |  Branch (3094:17): [True: 0, False: 0]
  ------------------
 3095|      0|                lazy = is_lazy_import_module_level();
 3096|      0|            }
 3097|      0|            break;
 3098|    178|        case PyImport_LAZY_NORMAL:
  ------------------
  |  Branch (3098:9): [True: 178, False: 0]
  ------------------
 3099|    178|            break;
 3100|    178|    }
 3101|       |
 3102|    178|    if (!lazy) {
  ------------------
  |  Branch (3102:9): [True: 167, False: 11]
  ------------------
 3103|       |        // See if __lazy_modules__ forces this to be lazy.
 3104|       |        // __lazy_modules__ only applies at module level; exec() inside
 3105|       |        // functions or classes should remain eager.
 3106|    167|        if (is_lazy_import_module_level()) {
  ------------------
  |  Branch (3106:13): [True: 167, False: 0]
  ------------------
 3107|    167|            lazy = check_lazy_import_compatibility(tstate, globals, name, level);
 3108|    167|            if (lazy < 0) {
  ------------------
  |  Branch (3108:17): [True: 0, False: 167]
  ------------------
 3109|      0|                return NULL;
 3110|      0|            }
 3111|    167|        }
 3112|    167|    }
 3113|       |
 3114|    178|    if (!lazy) {
  ------------------
  |  Branch (3114:9): [True: 167, False: 11]
  ------------------
 3115|       |        // Not a lazy import or lazy imports are disabled, fallback to the
 3116|       |        // regular import.
 3117|    167|        return _PyEval_ImportName(tstate, builtins, globals, locals,
 3118|    167|                                  name, fromlist, level);
 3119|    167|    }
 3120|       |
 3121|     11|    PyObject *lazy_import_func;
 3122|     11|    if (PyMapping_GetOptionalItem(builtins, &_Py_ID(__lazy_import__),
  ------------------
  |  |  920|     11|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     11|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     11|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3122:9): [True: 0, False: 11]
  ------------------
 3123|     11|                                  &lazy_import_func) < 0) {
 3124|      0|        goto error;
 3125|      0|    }
 3126|     11|    if (lazy_import_func == NULL) {
  ------------------
  |  Branch (3126:9): [True: 0, False: 11]
  ------------------
 3127|      0|        assert(!PyErr_Occurred());
  ------------------
  |  Branch (3127:9): [True: 0, False: 0]
  ------------------
 3128|      0|        _PyErr_SetString(tstate, PyExc_ImportError,
 3129|      0|                         "__lazy_import__ not found");
 3130|      0|        goto error;
 3131|      0|    }
 3132|       |
 3133|     11|    if (locals == NULL) {
  ------------------
  |  Branch (3133:9): [True: 0, False: 11]
  ------------------
 3134|      0|        locals = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3135|      0|    }
 3136|       |
 3137|     11|    if (_PyImport_IsDefaultLazyImportFunc(tstate->interp, lazy_import_func)) {
  ------------------
  |  Branch (3137:9): [True: 11, False: 0]
  ------------------
 3138|     11|        int ilevel = PyLong_AsInt(level);
 3139|     11|        if (ilevel == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (3139:13): [True: 0, False: 11]
  |  Branch (3139:29): [True: 0, False: 0]
  ------------------
 3140|      0|            goto error;
 3141|      0|        }
 3142|       |
 3143|     11|        res = _PyImport_LazyImportModuleLevelObject(
 3144|     11|            tstate, name, builtins, globals, locals, fromlist, ilevel
 3145|     11|        );
 3146|     11|        goto error;
 3147|     11|    }
 3148|       |
 3149|      0|    PyObject *args[6] = {name, globals, locals, fromlist, level, builtins};
 3150|      0|    res = PyObject_Vectorcall(lazy_import_func, args, 6, NULL);
 3151|     11|error:
 3152|       |    Py_XDECREF(lazy_import_func);
  ------------------
  |  |   69|     11|    do { \
  |  |   70|     11|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|     11|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 11, False: 0]
  |  |  ------------------
  |  |   72|     11|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|     11|    do { \
  |  |  |  |   81|     11|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|     11|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|     11|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 11]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|     11|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|     11|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|     11|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 11]
  |  |  |  |  ------------------
  |  |  |  |   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|     11|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|     11|        } \
  |  |   74|     11|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 11]
  |  |  ------------------
  ------------------
 3153|     11|    return res;
 3154|      0|}
_PyEval_ImportFrom:
 3158|    205|{
 3159|    205|    PyObject *x;
 3160|    205|    PyObject *fullmodname, *mod_name, *origin, *mod_name_or_unknown, *errmsg, *spec;
 3161|       |
 3162|    205|    if (PyObject_GetOptionalAttr(v, name, &x) != 0) {
  ------------------
  |  Branch (3162:9): [True: 204, False: 1]
  ------------------
 3163|    204|        return x;
 3164|    204|    }
 3165|       |    /* Issue #17636: in case this failed because of a circular relative
 3166|       |       import, try to fallback on reading the module directly from
 3167|       |       sys.modules. */
 3168|      1|    if (PyObject_GetOptionalAttr(v, &_Py_ID(__name__), &mod_name) < 0) {
  ------------------
  |  |  920|      1|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      1|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      1|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3168:9): [True: 0, False: 1]
  ------------------
 3169|      0|        return NULL;
 3170|      0|    }
 3171|      1|    if (mod_name == NULL || !PyUnicode_Check(mod_name)) {
  ------------------
  |  |  103|      1|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      1|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3171:9): [True: 0, False: 1]
  |  Branch (3171:29): [True: 0, False: 1]
  ------------------
 3172|      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]
  |  |  ------------------
  ------------------
 3173|      0|        goto error;
 3174|      0|    }
 3175|      1|    fullmodname = PyUnicode_FromFormat("%U.%U", mod_name, name);
 3176|      1|    if (fullmodname == NULL) {
  ------------------
  |  Branch (3176:9): [True: 0, False: 1]
  ------------------
 3177|      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]
  |  |  ------------------
  ------------------
 3178|      0|        return NULL;
 3179|      0|    }
 3180|      1|    x = PyImport_GetModule(fullmodname);
 3181|      1|    Py_DECREF(fullmodname);
  ------------------
  |  |   80|      1|    do { \
  |  |   81|      1|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      1|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      1|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      1|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      1|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      1|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 1, False: 0]
  |  |  ------------------
  |  |   88|      1|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      1|    do { \
  |  |  |  |  113|      1|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      1|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      1|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      1|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      1|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      1|            (*dealloc)(op); \
  |  |   91|      1|        } \
  |  |   92|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 3182|      1|    if (x == NULL && !_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (3182:9): [True: 1, False: 0]
  |  Branch (3182:22): [True: 1, False: 0]
  ------------------
 3183|      1|        goto error;
 3184|      1|    }
 3185|      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]
  |  |  ------------------
  ------------------
 3186|      0|    return x;
 3187|       |
 3188|      1| error:
 3189|      1|    if (mod_name == NULL) {
  ------------------
  |  Branch (3189:9): [True: 0, False: 1]
  ------------------
 3190|      0|        mod_name_or_unknown = PyUnicode_FromString("<unknown module name>");
 3191|      0|        if (mod_name_or_unknown == NULL) {
  ------------------
  |  Branch (3191:13): [True: 0, False: 0]
  ------------------
 3192|      0|            return NULL;
 3193|      0|        }
 3194|      1|    } else {
 3195|      1|        mod_name_or_unknown = mod_name;
 3196|      1|    }
 3197|       |    // mod_name is no longer an owned reference
 3198|      1|    assert(mod_name_or_unknown);
  ------------------
  |  Branch (3198:5): [True: 1, False: 0]
  ------------------
 3199|      1|    assert(mod_name == NULL || mod_name == mod_name_or_unknown);
  ------------------
  |  Branch (3199:5): [True: 0, False: 1]
  |  Branch (3199:5): [True: 1, False: 0]
  ------------------
 3200|       |
 3201|      1|    origin = NULL;
 3202|      1|    if (PyObject_GetOptionalAttr(v, &_Py_ID(__spec__), &spec) < 0) {
  ------------------
  |  |  920|      1|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      1|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      1|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3202:9): [True: 0, False: 1]
  ------------------
 3203|      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]
  |  |  ------------------
  ------------------
 3204|      0|        return NULL;
 3205|      0|    }
 3206|      1|    if (spec == NULL) {
  ------------------
  |  Branch (3206:9): [True: 0, False: 1]
  ------------------
 3207|      0|        errmsg = PyUnicode_FromFormat(
 3208|      0|            "cannot import name %R from %R (unknown location)",
 3209|      0|            name, mod_name_or_unknown
 3210|      0|        );
 3211|      0|        goto done_with_errmsg;
 3212|      0|    }
 3213|      1|    if (_PyModuleSpec_GetFileOrigin(spec, &origin) < 0) {
  ------------------
  |  Branch (3213:9): [True: 0, False: 1]
  ------------------
 3214|      0|        goto done;
 3215|      0|    }
 3216|       |
 3217|      1|    int is_possibly_shadowing = _PyModule_IsPossiblyShadowing(origin);
 3218|      1|    if (is_possibly_shadowing < 0) {
  ------------------
  |  Branch (3218:9): [True: 0, False: 1]
  ------------------
 3219|      0|        goto done;
 3220|      0|    }
 3221|      1|    int is_possibly_shadowing_stdlib = 0;
 3222|      1|    if (is_possibly_shadowing) {
  ------------------
  |  Branch (3222:9): [True: 0, False: 1]
  ------------------
 3223|      0|        PyObject *stdlib_modules;
 3224|      0|        if (PySys_GetOptionalAttrString("stdlib_module_names", &stdlib_modules) < 0) {
  ------------------
  |  Branch (3224:13): [True: 0, False: 0]
  ------------------
 3225|      0|            goto done;
 3226|      0|        }
 3227|      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 (3227:13): [True: 0, False: 0]
  ------------------
 3228|      0|            is_possibly_shadowing_stdlib = PySet_Contains(stdlib_modules, mod_name_or_unknown);
 3229|      0|            if (is_possibly_shadowing_stdlib < 0) {
  ------------------
  |  Branch (3229:17): [True: 0, False: 0]
  ------------------
 3230|      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]
  |  |  ------------------
  ------------------
 3231|      0|                goto done;
 3232|      0|            }
 3233|      0|        }
 3234|      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]
  |  |  ------------------
  ------------------
 3235|      0|    }
 3236|       |
 3237|      1|    if (origin == NULL && PyModule_Check(v)) {
  ------------------
  |  |   12|      1|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3237:9): [True: 1, False: 0]
  ------------------
 3238|       |        // Fall back to __file__ for diagnostics if we don't have
 3239|       |        // an origin that is a location
 3240|      1|        origin = PyModule_GetFilenameObject(v);
 3241|      1|        if (origin == NULL) {
  ------------------
  |  Branch (3241:13): [True: 1, False: 0]
  ------------------
 3242|      1|            if (!PyErr_ExceptionMatches(PyExc_SystemError)) {
  ------------------
  |  Branch (3242:17): [True: 0, False: 1]
  ------------------
 3243|      0|                goto done;
 3244|      0|            }
 3245|       |            // PyModule_GetFilenameObject raised "module filename missing"
 3246|      1|            _PyErr_Clear(tstate);
 3247|      1|        }
 3248|      1|        assert(origin == NULL || PyUnicode_Check(origin));
  ------------------
  |  Branch (3248:9): [True: 1, False: 0]
  |  Branch (3248:9): [True: 0, False: 0]
  ------------------
 3249|      1|    }
 3250|       |
 3251|      1|    if (is_possibly_shadowing_stdlib) {
  ------------------
  |  Branch (3251:9): [True: 0, False: 1]
  ------------------
 3252|      0|        assert(origin);
  ------------------
  |  Branch (3252:9): [True: 0, False: 0]
  ------------------
 3253|      0|        errmsg = PyUnicode_FromFormat(
 3254|      0|            "cannot import name %R from %R "
 3255|      0|            "(consider renaming %R since it has the same "
 3256|      0|            "name as the standard library module named %R "
 3257|      0|            "and prevents importing that standard library module)",
 3258|      0|            name, mod_name_or_unknown, origin, mod_name_or_unknown
 3259|      0|        );
 3260|      0|    }
 3261|      1|    else {
 3262|      1|        int rc = _PyModuleSpec_IsInitializing(spec);
 3263|      1|        if (rc < 0) {
  ------------------
  |  Branch (3263:13): [True: 0, False: 1]
  ------------------
 3264|      0|            goto done;
 3265|      0|        }
 3266|      1|        else if (rc > 0) {
  ------------------
  |  Branch (3266:18): [True: 0, False: 1]
  ------------------
 3267|      0|            if (is_possibly_shadowing) {
  ------------------
  |  Branch (3267:17): [True: 0, False: 0]
  ------------------
 3268|      0|                assert(origin);
  ------------------
  |  Branch (3268:17): [True: 0, False: 0]
  ------------------
 3269|       |                // For non-stdlib modules, only mention the possibility of
 3270|       |                // shadowing if the module is being initialized.
 3271|      0|                errmsg = PyUnicode_FromFormat(
 3272|      0|                    "cannot import name %R from %R "
 3273|      0|                    "(consider renaming %R if it has the same name "
 3274|      0|                    "as a library you intended to import)",
 3275|      0|                    name, mod_name_or_unknown, origin
 3276|      0|                );
 3277|      0|            }
 3278|      0|            else if (origin) {
  ------------------
  |  Branch (3278:22): [True: 0, False: 0]
  ------------------
 3279|      0|                errmsg = PyUnicode_FromFormat(
 3280|      0|                    "cannot import name %R from partially initialized module %R "
 3281|      0|                    "(most likely due to a circular import) (%S)",
 3282|      0|                    name, mod_name_or_unknown, origin
 3283|      0|                );
 3284|      0|            }
 3285|      0|            else {
 3286|      0|                errmsg = PyUnicode_FromFormat(
 3287|      0|                    "cannot import name %R from partially initialized module %R "
 3288|      0|                    "(most likely due to a circular import)",
 3289|      0|                    name, mod_name_or_unknown
 3290|      0|                );
 3291|      0|            }
 3292|      0|        }
 3293|      1|        else {
 3294|      1|            assert(rc == 0);
  ------------------
  |  Branch (3294:13): [True: 1, False: 0]
  ------------------
 3295|      1|            if (origin) {
  ------------------
  |  Branch (3295:17): [True: 0, False: 1]
  ------------------
 3296|      0|                errmsg = PyUnicode_FromFormat(
 3297|      0|                    "cannot import name %R from %R (%S)",
 3298|      0|                    name, mod_name_or_unknown, origin
 3299|      0|                );
 3300|      0|            }
 3301|      1|            else {
 3302|      1|                errmsg = PyUnicode_FromFormat(
 3303|      1|                    "cannot import name %R from %R (unknown location)",
 3304|      1|                    name, mod_name_or_unknown
 3305|      1|                );
 3306|      1|            }
 3307|      1|        }
 3308|      1|    }
 3309|       |
 3310|      1|done_with_errmsg:
 3311|      1|    if (errmsg != NULL) {
  ------------------
  |  Branch (3311:9): [True: 1, False: 0]
  ------------------
 3312|       |        /* NULL checks for mod_name and origin done by _PyErr_SetImportErrorWithNameFrom */
 3313|      1|        _PyErr_SetImportErrorWithNameFrom(errmsg, mod_name, origin, name);
 3314|      1|        Py_DECREF(errmsg);
  ------------------
  |  |   80|      1|    do { \
  |  |   81|      1|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      1|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      1|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      1|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      1|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      1|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 1]
  |  |  ------------------
  |  |   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|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 3315|      1|    }
 3316|       |
 3317|      1|done:
 3318|      1|    Py_XDECREF(origin);
  ------------------
  |  |   69|      1|    do { \
  |  |   70|      1|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|      1|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 0, False: 1]
  |  |  ------------------
  |  |   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|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 3319|      1|    Py_XDECREF(spec);
  ------------------
  |  |   69|      1|    do { \
  |  |   70|      1|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|      1|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 1, False: 0]
  |  |  ------------------
  |  |   72|      1|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|      1|    do { \
  |  |  |  |   81|      1|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      1|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      1|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      1|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      1|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      1|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   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|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|      1|        } \
  |  |   74|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 3320|      1|    Py_DECREF(mod_name_or_unknown);
  ------------------
  |  |   80|      1|    do { \
  |  |   81|      1|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      1|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      1|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 1, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      1|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      1|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      1|            break; \
  |  |   85|      1|        } \
  |  |   86|      1|        _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]
  |  |  ------------------
  ------------------
 3321|       |    return NULL;
 3322|      1|}
_PyEval_LazyImportFrom:
 3326|      2|{
 3327|      2|    assert(PyLazyImport_CheckExact(v));
  ------------------
  |  Branch (3327:5): [True: 2, False: 0]
  ------------------
 3328|      2|    assert(name);
  ------------------
  |  Branch (3328:5): [True: 2, False: 0]
  ------------------
 3329|      2|    assert(PyUnicode_Check(name));
  ------------------
  |  Branch (3329:5): [True: 2, False: 0]
  ------------------
 3330|      2|    PyObject *ret;
 3331|      2|    PyLazyImportObject *d = (PyLazyImportObject *)v;
 3332|      2|    PyObject *mod = PyImport_GetModule(d->lz_from);
 3333|      2|    if (mod != NULL) {
  ------------------
  |  Branch (3333:9): [True: 0, False: 2]
  ------------------
 3334|       |        // Check if the module already has the attribute, if so, resolve it
 3335|       |        // eagerly.
 3336|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3337|      0|            PyObject *mod_dict = PyModule_GetDict(mod);
 3338|      0|            if (mod_dict != NULL) {
  ------------------
  |  Branch (3338:17): [True: 0, False: 0]
  ------------------
 3339|      0|                if (PyDict_GetItemRef(mod_dict, name, &ret) < 0) {
  ------------------
  |  Branch (3339:21): [True: 0, False: 0]
  ------------------
 3340|      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]
  |  |  ------------------
  ------------------
 3341|      0|                    return NULL;
 3342|      0|                }
 3343|      0|                if (ret != NULL) {
  ------------------
  |  Branch (3343:21): [True: 0, False: 0]
  ------------------
 3344|      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]
  |  |  ------------------
  ------------------
 3345|      0|                    return ret;
 3346|      0|                }
 3347|      0|            }
 3348|      0|        }
 3349|      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]
  |  |  ------------------
  ------------------
 3350|      0|    }
 3351|       |
 3352|      2|    if (d->lz_attr != NULL) {
  ------------------
  |  Branch (3352:9): [True: 2, False: 0]
  ------------------
 3353|      2|        if (PyUnicode_Check(d->lz_attr)) {
  ------------------
  |  |  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: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3354|      0|            PyObject *from = PyUnicode_FromFormat(
 3355|      0|                "%U.%U", d->lz_from, d->lz_attr);
 3356|      0|            if (from == NULL) {
  ------------------
  |  Branch (3356:17): [True: 0, False: 0]
  ------------------
 3357|      0|                return NULL;
 3358|      0|            }
 3359|      0|            ret = _PyLazyImport_New(frame, d->lz_builtins, from, name);
 3360|      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]
  |  |  ------------------
  ------------------
 3361|      0|            return ret;
 3362|      0|        }
 3363|      2|    }
 3364|      0|    else {
 3365|      0|        Py_ssize_t dot = PyUnicode_FindChar(
 3366|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3367|      0|        );
 3368|      0|        if (dot >= 0) {
  ------------------
  |  Branch (3368:13): [True: 0, False: 0]
  ------------------
 3369|      0|            PyObject *from = PyUnicode_Substring(d->lz_from, 0, dot);
 3370|      0|            if (from == NULL) {
  ------------------
  |  Branch (3370:17): [True: 0, False: 0]
  ------------------
 3371|      0|                return NULL;
 3372|      0|            }
 3373|      0|            ret = _PyLazyImport_New(frame, d->lz_builtins, from, name);
 3374|      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]
  |  |  ------------------
  ------------------
 3375|      0|            return ret;
 3376|      0|        }
 3377|      0|    }
 3378|      2|    ret = _PyLazyImport_New(frame, d->lz_builtins, d->lz_from, name);
 3379|      2|    return ret;
 3380|      2|}
_PyEval_CheckExceptTypeValid:
 3390|  26.8k|{
 3391|  26.8k|    if (PyTuple_Check(right)) {
  ------------------
  |  |   27|  26.8k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  26.8k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 14, False: 26.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3392|     14|        Py_ssize_t i, length;
 3393|     14|        length = PyTuple_GET_SIZE(right);
  ------------------
  |  |   27|     14|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3394|     42|        for (i = 0; i < length; i++) {
  ------------------
  |  Branch (3394:21): [True: 28, False: 14]
  ------------------
 3395|     28|            PyObject *exc = PyTuple_GET_ITEM(right, i);
  ------------------
  |  |   29|     28|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     28|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3395:29): [True: 28, False: 0]
  ------------------
 3396|     28|            if (!PyExceptionClass_Check(exc)) {
  ------------------
  |  |   61|     28|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|     56|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 28, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|     28|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|     28|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 28, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3397|      0|                _PyErr_SetString(tstate, PyExc_TypeError,
 3398|      0|                    CANNOT_CATCH_MSG);
  ------------------
  |  | 3382|      0|#define CANNOT_CATCH_MSG "catching classes that do not inherit from "\
  |  | 3383|      0|                         "BaseException is not allowed"
  ------------------
 3399|      0|                return -1;
 3400|      0|            }
 3401|     28|        }
 3402|     14|    }
 3403|  26.8k|    else {
 3404|  26.8k|        if (!PyExceptionClass_Check(right)) {
  ------------------
  |  |   61|  26.8k|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|  53.7k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  26.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  26.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 26.8k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|  26.8k|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|  26.8k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 26.8k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3405|      0|            _PyErr_SetString(tstate, PyExc_TypeError,
 3406|      0|                CANNOT_CATCH_MSG);
  ------------------
  |  | 3382|      0|#define CANNOT_CATCH_MSG "catching classes that do not inherit from "\
  |  | 3383|      0|                         "BaseException is not allowed"
  ------------------
 3407|      0|            return -1;
 3408|      0|        }
 3409|  26.8k|    }
 3410|  26.8k|    return 0;
 3411|  26.8k|}
_Py_Check_ArgsIterable:
 3452|     37|{
 3453|     37|    if (Py_TYPE(args)->tp_iter == NULL && !PySequence_Check(args)) {
  ------------------
  |  |  213|     37|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3453:9): [True: 0, False: 37]
  |  Branch (3453:43): [True: 0, False: 0]
  ------------------
 3454|      0|        _PyErr_Format(tstate, PyExc_TypeError,
 3455|      0|                      "Value after * must be an iterable, not %.200s",
 3456|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3457|      0|        return -1;
 3458|      0|    }
 3459|     37|    return 0;
 3460|     37|}
_PyEval_FormatExcCheckArg:
 3499|      1|{
 3500|      1|    const char *obj_str;
 3501|       |
 3502|      1|    if (!obj)
  ------------------
  |  Branch (3502:9): [True: 0, False: 1]
  ------------------
 3503|      0|        return;
 3504|       |
 3505|      1|    obj_str = PyUnicode_AsUTF8(obj);
 3506|      1|    if (!obj_str)
  ------------------
  |  Branch (3506:9): [True: 0, False: 1]
  ------------------
 3507|      0|        return;
 3508|       |
 3509|      1|    _PyErr_Format(tstate, exc, format_str, obj_str);
 3510|       |
 3511|      1|    if (exc == PyExc_NameError) {
  ------------------
  |  Branch (3511:9): [True: 1, False: 0]
  ------------------
 3512|       |        // Include the name in the NameError exceptions to offer suggestions later.
 3513|      1|        PyObject *exc = PyErr_GetRaisedException();
 3514|      1|        if (PyErr_GivenExceptionMatches(exc, PyExc_NameError)) {
  ------------------
  |  Branch (3514:13): [True: 1, False: 0]
  ------------------
 3515|      1|            if (((PyNameErrorObject*)exc)->name == NULL) {
  ------------------
  |  Branch (3515:17): [True: 1, False: 0]
  ------------------
 3516|       |                // We do not care if this fails because we are going to restore the
 3517|       |                // NameError anyway.
 3518|      1|                (void)PyObject_SetAttr(exc, &_Py_ID(name), obj);
  ------------------
  |  |  920|      1|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      1|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      1|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3519|      1|            }
 3520|      1|        }
 3521|      1|        PyErr_SetRaisedException(exc);
 3522|      1|    }
 3523|      1|}
Py_EnterRecursiveCall:
 3596|     81|{
 3597|     81|    return _Py_EnterRecursiveCall(where);
 3598|     81|}
Py_LeaveRecursiveCall:
 3601|     54|{
 3602|     54|    _Py_LeaveRecursiveCall();
 3603|     54|}
_PyEval_LoadGlobalStackRef:
 3646|  21.4k|{
 3647|  21.4k|    if (PyAnyDict_CheckExact(globals) && PyAnyDict_CheckExact(builtins)) {
  ------------------
  |  |   41|  42.9k|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|  21.4k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  42.9k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  21.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  21.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 21.4k, 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|  21.4k|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|  21.4k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  42.9k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  21.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  21.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 21.4k, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3648|  21.4k|        _PyDict_LoadGlobalStackRef((PyDictObject *)globals,
 3649|  21.4k|                                    (PyDictObject *)builtins,
 3650|  21.4k|                                    name, writeto);
 3651|  21.4k|        if (PyStackRef_IsNull(*writeto) && !PyErr_Occurred()) {
  ------------------
  |  |  482|  42.9k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  21.4k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  21.4k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 1, False: 21.4k]
  |  |  ------------------
  ------------------
  |  Branch (3651:44): [True: 1, False: 0]
  ------------------
 3652|       |            /* _PyDict_LoadGlobal() returns NULL without raising
 3653|       |                * an exception if the key doesn't exist */
 3654|      1|            _PyEval_FormatExcCheckArg(PyThreadState_GET(), PyExc_NameError,
  ------------------
  |  |   63|      1|#define PyThreadState_GET() PyThreadState_Get()
  ------------------
 3655|      1|                                        NAME_ERROR_MSG, name);
  ------------------
  |  |  385|      1|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  ------------------
 3656|      1|        }
 3657|  21.4k|    }
 3658|      0|    else {
 3659|       |        /* Slow-path if globals or builtins is not a dict */
 3660|       |        /* namespace 1: globals */
 3661|      0|        PyObject *res;
 3662|      0|        if (PyMapping_GetOptionalItem(globals, name, &res) < 0) {
  ------------------
  |  Branch (3662:13): [True: 0, False: 0]
  ------------------
 3663|      0|            *writeto = PyStackRef_NULL;
 3664|      0|            return;
 3665|      0|        }
 3666|      0|        if (res == NULL) {
  ------------------
  |  Branch (3666:13): [True: 0, False: 0]
  ------------------
 3667|       |            /* namespace 2: builtins */
 3668|      0|            if (PyMapping_GetOptionalItem(builtins, name, &res) < 0) {
  ------------------
  |  Branch (3668:17): [True: 0, False: 0]
  ------------------
 3669|      0|                *writeto = PyStackRef_NULL;
 3670|      0|                return;
 3671|      0|            }
 3672|      0|            if (res == NULL) {
  ------------------
  |  Branch (3672:17): [True: 0, False: 0]
  ------------------
 3673|      0|                _PyEval_FormatExcCheckArg(
 3674|      0|                            PyThreadState_GET(), PyExc_NameError,
  ------------------
  |  |   63|      0|#define PyThreadState_GET() PyThreadState_Get()
  ------------------
 3675|      0|                            NAME_ERROR_MSG, name);
  ------------------
  |  |  385|      0|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  ------------------
 3676|      0|                *writeto = PyStackRef_NULL;
 3677|      0|                return;
 3678|      0|            }
 3679|      0|        }
 3680|      0|        *writeto = PyStackRef_FromPyObjectSteal(res);
 3681|      0|    }
 3682|       |
 3683|  21.4k|    PyObject *res_o = PyStackRef_AsPyObjectBorrow(*writeto);
 3684|  21.4k|    if (res_o != NULL && PyLazyImport_CheckExact(res_o)) {
  ------------------
  |  |   15|  21.4k|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  ------------------
  |  |  |  |   65|  21.4k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  21.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  21.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 0, False: 21.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3684:9): [True: 21.4k, False: 1]
  ------------------
 3685|      0|        PyObject *l_v = _PyImport_LoadLazyImportTstate(PyThreadState_GET(), res_o);
  ------------------
  |  |   63|      0|#define PyThreadState_GET() PyThreadState_Get()
  ------------------
 3686|      0|        PyStackRef_CLOSE(writeto[0]);
 3687|      0|        if (l_v == NULL) {
  ------------------
  |  Branch (3687:13): [True: 0, False: 0]
  ------------------
 3688|      0|            assert(PyErr_Occurred());
  ------------------
  |  Branch (3688:13): [True: 0, False: 0]
  ------------------
 3689|      0|            *writeto = PyStackRef_NULL;
 3690|      0|            return;
 3691|      0|        }
 3692|      0|        int err = PyDict_SetItem(globals, name, l_v);
 3693|      0|        if (err < 0) {
  ------------------
  |  Branch (3693:13): [True: 0, False: 0]
  ------------------
 3694|      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]
  |  |  ------------------
  ------------------
 3695|      0|            *writeto = PyStackRef_NULL;
 3696|      0|            return;
 3697|      0|        }
 3698|      0|        *writeto = PyStackRef_FromPyObjectSteal(l_v);
 3699|      0|    }
 3700|  21.4k|}
_PyEval_LoadName:
 3728|  4.15k|{
 3729|       |
 3730|  4.15k|    PyObject *value;
 3731|  4.15k|    if (frame->f_locals == NULL) {
  ------------------
  |  Branch (3731:9): [True: 0, False: 4.15k]
  ------------------
 3732|      0|        _PyErr_SetString(tstate, PyExc_SystemError,
 3733|      0|                            "no locals found");
 3734|      0|        return NULL;
 3735|      0|    }
 3736|  4.15k|    if (PyMapping_GetOptionalItem(frame->f_locals, name, &value) < 0) {
  ------------------
  |  Branch (3736:9): [True: 0, False: 4.15k]
  ------------------
 3737|      0|        return NULL;
 3738|      0|    }
 3739|  4.15k|    if (value != NULL) {
  ------------------
  |  Branch (3739:9): [True: 3.04k, False: 1.10k]
  ------------------
 3740|  3.04k|        return value;
 3741|  3.04k|    }
 3742|  1.10k|    if (PyDict_GetItemRef(frame->f_globals, name, &value) < 0) {
  ------------------
  |  Branch (3742:9): [True: 0, False: 1.10k]
  ------------------
 3743|      0|        return NULL;
 3744|      0|    }
 3745|  1.10k|    if (value != NULL) {
  ------------------
  |  Branch (3745:9): [True: 442, False: 665]
  ------------------
 3746|    442|        return value;
 3747|    442|    }
 3748|    665|    if (PyMapping_GetOptionalItem(frame->f_builtins, name, &value) < 0) {
  ------------------
  |  Branch (3748:9): [True: 0, False: 665]
  ------------------
 3749|      0|        return NULL;
 3750|      0|    }
 3751|    665|    if (value == NULL) {
  ------------------
  |  Branch (3751:9): [True: 0, False: 665]
  ------------------
 3752|      0|        _PyEval_FormatExcCheckArg(
 3753|      0|                    tstate, PyExc_NameError,
 3754|      0|                    NAME_ERROR_MSG, name);
  ------------------
  |  |  385|      0|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  ------------------
 3755|      0|    }
 3756|    665|    return value;
 3757|    665|}
_PyForIter_VirtualIteratorNext:
 3760|  23.2M|{
 3761|  23.2M|    PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
 3762|  23.2M|    _PyStackRef index = *index_ptr;
 3763|  23.2M|    if (PyStackRef_IsTaggedInt(index)) {
  ------------------
  |  Branch (3763:9): [True: 630k, False: 22.6M]
  ------------------
 3764|   630k|        intptr_t i = PyStackRef_UntagInt(index);
 3765|   630k|        assert(i >= 0);
  ------------------
  |  Branch (3765:9): [True: 630k, False: 0]
  ------------------
 3766|   630k|        _PyObjectIndexPair next_index = Py_TYPE(iter_o)->_tp_iteritem(iter_o, i);
  ------------------
  |  |  213|   630k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   630k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   630k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3767|   630k|        i = next_index.index;
 3768|   630k|        PyObject *next = next_index.object;
 3769|   630k|        if (next == NULL) {
  ------------------
  |  Branch (3769:13): [True: 1.58k, False: 629k]
  ------------------
 3770|  1.58k|            return i < 0 ? PyStackRef_ERROR : PyStackRef_NULL;
  ------------------
  |  Branch (3770:20): [True: 0, False: 1.58k]
  ------------------
 3771|  1.58k|        }
 3772|   629k|        *index_ptr = PyStackRef_TagInt(i);
 3773|   629k|        return PyStackRef_FromPyObjectSteal(next);
 3774|   630k|    }
 3775|  22.6M|    PyObject *next = (*Py_TYPE(iter_o)->tp_iternext)(iter_o);
  ------------------
  |  |  213|  22.6M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  22.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3776|  22.6M|    if (next == NULL) {
  ------------------
  |  Branch (3776:9): [True: 5.69M, False: 16.9M]
  ------------------
 3777|  5.69M|        if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (3777:13): [True: 0, False: 5.69M]
  ------------------
 3778|      0|            if (_PyErr_ExceptionMatches(tstate, PyExc_StopIteration)) {
  ------------------
  |  Branch (3778:17): [True: 0, False: 0]
  ------------------
 3779|      0|                _PyEval_MonitorRaise(tstate, frame, frame->instr_ptr);
 3780|      0|                _PyErr_Clear(tstate);
 3781|      0|            }
 3782|      0|            else {
 3783|      0|                return PyStackRef_ERROR;
 3784|      0|            }
 3785|      0|        }
 3786|  5.69M|        return PyStackRef_NULL;
 3787|  5.69M|    }
 3788|  16.9M|    return PyStackRef_FromPyObjectSteal(next);
 3789|  22.6M|}
ceval.c:hardware_stack_limits:
  128|      2|{
  129|       |#ifdef WIN32
  130|       |    ULONG_PTR low, high;
  131|       |    GetCurrentThreadStackLimits(&low, &high);
  132|       |    *top = (uintptr_t)high;
  133|       |    ULONG guarantee = 0;
  134|       |    SetThreadStackGuarantee(&guarantee);
  135|       |    *base = (uintptr_t)low + guarantee;
  136|       |#elif defined(__APPLE__)
  137|       |    pthread_t this_thread = pthread_self();
  138|       |    void *stack_addr = pthread_get_stackaddr_np(this_thread); // top of the stack
  139|       |    size_t stack_size = pthread_get_stacksize_np(this_thread);
  140|       |    *top = (uintptr_t)stack_addr;
  141|       |    *base = ((uintptr_t)stack_addr) - stack_size;
  142|       |#else
  143|       |    /// XXX musl supports HAVE_PTHRED_GETATTR_NP, but the resulting stack size
  144|       |    /// (on alpine at least) is much smaller than expected and imposes undue limits
  145|       |    /// compared to the old stack size estimation.  (We assume musl is not glibc.)
  146|      2|#  if defined(HAVE_PTHREAD_GETATTR_NP) && !defined(_AIX) && \
  147|      2|        !defined(__NetBSD__) && (defined(__GLIBC__) || !defined(__linux__))
  148|      2|    size_t stack_size, guard_size;
  149|      2|    void *stack_addr;
  150|      2|    pthread_attr_t attr;
  151|      2|    int err = pthread_getattr_np(pthread_self(), &attr);
  152|      2|    if (err == 0) {
  ------------------
  |  Branch (152:9): [True: 2, False: 0]
  ------------------
  153|      2|        err = pthread_attr_getguardsize(&attr, &guard_size);
  154|      2|        err |= pthread_attr_getstack(&attr, &stack_addr, &stack_size);
  155|      2|        err |= pthread_attr_destroy(&attr);
  156|      2|    }
  157|      2|    if (err == 0) {
  ------------------
  |  Branch (157:9): [True: 2, False: 0]
  ------------------
  158|      2|        *base = ((uintptr_t)stack_addr) + guard_size;
  159|      2|        *top = (uintptr_t)stack_addr + stack_size;
  160|      2|        return;
  161|      2|    }
  162|      0|#  endif
  163|       |    // Add some space for caller function then round to minimum page size
  164|       |    // This is a guess at the top of the stack, but should be a reasonably
  165|       |    // good guess if called from _PyThreadState_Attach when creating a thread.
  166|       |    // If the thread is attached deep in a call stack, then the guess will be poor.
  167|      0|#if _Py_STACK_GROWS_DOWN
  168|      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))
  ------------------
  169|      0|    *top = top_addr;
  170|      0|    *base = top_addr - Py_C_STACK_SIZE;
  ------------------
  |  |   65|      0|#  define Py_C_STACK_SIZE 4000000
  ------------------
  171|       |#  else
  172|       |    uintptr_t base_addr = _Py_SIZE_ROUND_DOWN(sp - 8*sizeof(void*), SYSTEM_PAGE_SIZE);
  173|       |    *base = base_addr;
  174|       |    *top = base_addr + Py_C_STACK_SIZE;
  175|       |#endif
  176|      0|#endif
  177|      0|}
ceval.c:tstate_set_stack:
  182|      2|{
  183|      2|    assert(base < top);
  ------------------
  |  Branch (183:5): [True: 2, False: 0]
  ------------------
  184|      2|    assert((top - base) >= _PyOS_MIN_STACK_SIZE);
  ------------------
  |  Branch (184:5): [True: 2, False: 0]
  ------------------
  185|       |
  186|       |#ifdef _Py_THREAD_SANITIZER
  187|       |    // Thread sanitizer crashes if we use more than half the stack.
  188|       |    uintptr_t stacksize = top - base;
  189|       |#  if _Py_STACK_GROWS_DOWN
  190|       |    base += stacksize/2;
  191|       |#  else
  192|       |    top -= stacksize/2;
  193|       |#  endif
  194|       |#endif
  195|      2|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  196|      2|#if _Py_STACK_GROWS_DOWN
  197|      2|    _tstate->c_stack_top = top;
  198|      2|    _tstate->c_stack_hard_limit = base + _PyOS_STACK_MARGIN_BYTES;
  ------------------
  |  |   57|      2|#define _PyOS_STACK_MARGIN_BYTES (_PyOS_STACK_MARGIN * sizeof(void *))
  |  |  ------------------
  |  |  |  |   56|      2|#define _PyOS_STACK_MARGIN (1 << _PyOS_LOG2_STACK_MARGIN)
  |  |  |  |  ------------------
  |  |  |  |  |  |   54|      2|#  define _PyOS_LOG2_STACK_MARGIN 11
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  199|      2|    _tstate->c_stack_soft_limit = base + _PyOS_STACK_MARGIN_BYTES * 2;
  ------------------
  |  |   57|      2|#define _PyOS_STACK_MARGIN_BYTES (_PyOS_STACK_MARGIN * sizeof(void *))
  |  |  ------------------
  |  |  |  |   56|      2|#define _PyOS_STACK_MARGIN (1 << _PyOS_LOG2_STACK_MARGIN)
  |  |  |  |  ------------------
  |  |  |  |  |  |   54|      2|#  define _PyOS_LOG2_STACK_MARGIN 11
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  200|      2|#  ifndef NDEBUG
  201|       |    // Sanity checks
  202|      2|    _PyThreadStateImpl *ts = (_PyThreadStateImpl *)tstate;
  203|      2|    assert(ts->c_stack_hard_limit <= ts->c_stack_soft_limit);
  ------------------
  |  Branch (203:5): [True: 2, False: 0]
  ------------------
  204|      2|    assert(ts->c_stack_soft_limit < ts->c_stack_top);
  ------------------
  |  Branch (204:5): [True: 2, False: 0]
  ------------------
  205|      2|#  endif
  206|       |#else
  207|       |    _tstate->c_stack_top = base;
  208|       |    _tstate->c_stack_hard_limit = top - _PyOS_STACK_MARGIN_BYTES;
  209|       |    _tstate->c_stack_soft_limit = top - _PyOS_STACK_MARGIN_BYTES * 2;
  210|       |#  ifndef NDEBUG
  211|       |    // Sanity checks
  212|       |    _PyThreadStateImpl *ts = (_PyThreadStateImpl *)tstate;
  213|       |    assert(ts->c_stack_hard_limit >= ts->c_stack_soft_limit);
  214|       |    assert(ts->c_stack_soft_limit > ts->c_stack_top);
  215|       |#  endif
  216|       |#endif
  217|      2|}
ceval.c:clear_thread_frame:
 1978|   146M|{
 1979|   146M|    assert(frame->owner == FRAME_OWNED_BY_THREAD);
  ------------------
  |  Branch (1979:5): [True: 146M, False: 0]
  ------------------
 1980|       |    // Make sure that this is, indeed, the top frame. We can't check this in
 1981|       |    // _PyThreadState_PopFrame, since f_code is already cleared at that point:
 1982|   146M|    assert((PyObject **)frame + _PyFrame_GetCode(frame)->co_framesize ==
  ------------------
  |  Branch (1982:5): [True: 146M, False: 0]
  ------------------
 1983|   146M|        tstate->datastack_top);
 1984|   146M|    assert(frame->frame_obj == NULL || frame->frame_obj->f_frame == frame);
  ------------------
  |  Branch (1984:5): [True: 140M, False: 5.99M]
  |  Branch (1984:5): [True: 5.99M, False: 0]
  ------------------
 1985|   146M|    _PyFrame_ClearExceptCode(frame);
 1986|   146M|    PyStackRef_CLEAR(frame->f_executable);
  ------------------
  |  |  732|   146M|    do { \
  |  |  733|   146M|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|   146M|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|   146M|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|   146M|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|   146M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 146M]
  |  |  ------------------
  ------------------
 1987|   146M|    _PyThreadState_PopFrame(tstate, frame);
 1988|   146M|}
ceval.c:clear_gen_frame:
 1992|  5.21M|{
 1993|  5.21M|    assert(frame->owner == FRAME_OWNED_BY_GENERATOR);
  ------------------
  |  Branch (1993:5): [True: 5.21M, False: 0]
  ------------------
 1994|  5.21M|    PyGenObject *gen = _PyGen_GetGeneratorFromFrame(frame);
 1995|  5.21M|    FT_ATOMIC_STORE_INT8_RELEASE(gen->gi_frame_state, FRAME_CLEARED);
  ------------------
  |  |  167|  5.21M|#define FT_ATOMIC_STORE_INT8_RELEASE(value, new_value) value = new_value
  ------------------
 1996|  5.21M|    assert(tstate->exc_info == &gen->gi_exc_state);
  ------------------
  |  Branch (1996:5): [True: 5.21M, False: 0]
  ------------------
 1997|  5.21M|    tstate->exc_info = gen->gi_exc_state.previous_item;
 1998|  5.21M|    gen->gi_exc_state.previous_item = NULL;
 1999|  5.21M|    assert(frame->frame_obj == NULL || frame->frame_obj->f_frame == frame);
  ------------------
  |  Branch (1999:5): [True: 5.18M, False: 32.1k]
  |  Branch (1999:5): [True: 32.1k, False: 0]
  ------------------
 2000|  5.21M|    frame->previous = NULL;
 2001|  5.21M|    _PyFrame_ClearExceptCode(frame);
 2002|  5.21M|    _PyErr_ClearExcState(&gen->gi_exc_state);
 2003|       |    // gh-143939: There must not be any escaping calls between setting
 2004|       |    // the generator return kind and returning from _PyEval_EvalFrame.
 2005|  5.21M|    ((_PyThreadStateImpl *)tstate)->generator_return_kind = GENERATOR_RETURN;
 2006|  5.21M|}
ceval.c:initialize_locals:
 1731|  30.4M|{
 1732|  30.4M|    PyCodeObject *co = (PyCodeObject*)func->func_code;
 1733|  30.4M|    const Py_ssize_t total_args = co->co_argcount + co->co_kwonlyargcount;
 1734|       |    /* Create a dictionary for keyword parameters (**kwags) */
 1735|  30.4M|    PyObject *kwdict;
 1736|  30.4M|    Py_ssize_t i;
 1737|  30.4M|    if (co->co_flags & CO_VARKEYWORDS) {
  ------------------
  |  |  125|  30.4M|#define CO_VARKEYWORDS  0x0008
  ------------------
  |  Branch (1737:9): [True: 526, False: 30.4M]
  ------------------
 1738|    526|        kwdict = PyDict_New();
 1739|    526|        if (kwdict == NULL) {
  ------------------
  |  Branch (1739:13): [True: 0, False: 526]
  ------------------
 1740|      0|            goto fail_pre_positional;
 1741|      0|        }
 1742|    526|        i = total_args;
 1743|    526|        if (co->co_flags & CO_VARARGS) {
  ------------------
  |  |  124|    526|#define CO_VARARGS      0x0004
  ------------------
  |  Branch (1743:13): [True: 432, False: 94]
  ------------------
 1744|    432|            i++;
 1745|    432|        }
 1746|    526|        assert(PyStackRef_IsNull(localsplus[i]));
  ------------------
  |  Branch (1746:9): [True: 526, False: 0]
  ------------------
 1747|    526|        localsplus[i] = PyStackRef_FromPyObjectSteal(kwdict);
 1748|    526|    }
 1749|  30.4M|    else {
 1750|  30.4M|        kwdict = NULL;
 1751|  30.4M|    }
 1752|       |
 1753|       |    /* Copy all positional arguments into local variables */
 1754|  30.4M|    Py_ssize_t j, n;
 1755|  30.4M|    if (argcount > co->co_argcount) {
  ------------------
  |  Branch (1755:9): [True: 1.15k, False: 30.4M]
  ------------------
 1756|  1.15k|        n = co->co_argcount;
 1757|  1.15k|    }
 1758|  30.4M|    else {
 1759|  30.4M|        n = argcount;
 1760|  30.4M|    }
 1761|  88.2M|    for (j = 0; j < n; j++) {
  ------------------
  |  Branch (1761:17): [True: 57.7M, False: 30.4M]
  ------------------
 1762|  57.7M|        assert(PyStackRef_IsNull(localsplus[j]));
  ------------------
  |  Branch (1762:9): [True: 57.7M, False: 0]
  ------------------
 1763|  57.7M|        localsplus[j] = args[j];
 1764|  57.7M|    }
 1765|       |
 1766|       |    /* Pack other positional arguments into the *args argument */
 1767|  30.4M|    if (co->co_flags & CO_VARARGS) {
  ------------------
  |  |  124|  30.4M|#define CO_VARARGS      0x0004
  ------------------
  |  Branch (1767:9): [True: 3.39k, False: 30.4M]
  ------------------
 1768|  3.39k|        PyObject *u = NULL;
 1769|  3.39k|        if (argcount == n) {
  ------------------
  |  Branch (1769:13): [True: 2.23k, False: 1.15k]
  ------------------
 1770|  2.23k|            u = (PyObject *)&_Py_SINGLETON(tuple_empty);
  ------------------
  |  |   18|  2.23k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|  2.23k|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
 1771|  2.23k|        }
 1772|  1.15k|        else {
 1773|  1.15k|            u = _PyTuple_FromStackRefStealOnSuccess(args + n, argcount - n);
 1774|  1.15k|            if (u == NULL) {
  ------------------
  |  Branch (1774:17): [True: 0, False: 1.15k]
  ------------------
 1775|      0|                for (Py_ssize_t i = n; i < argcount; i++) {
  ------------------
  |  Branch (1775:40): [True: 0, False: 0]
  ------------------
 1776|      0|                    PyStackRef_CLOSE(args[i]);
 1777|      0|                }
 1778|      0|            }
 1779|  1.15k|        }
 1780|  3.39k|        if (u == NULL) {
  ------------------
  |  Branch (1780:13): [True: 0, False: 3.39k]
  ------------------
 1781|      0|            goto fail_post_positional;
 1782|      0|        }
 1783|  3.39k|        assert(PyStackRef_AsPyObjectBorrow(localsplus[total_args]) == NULL);
  ------------------
  |  Branch (1783:9): [True: 3.39k, False: 0]
  ------------------
 1784|  3.39k|        localsplus[total_args] = PyStackRef_FromPyObjectSteal(u);
 1785|  3.39k|    }
 1786|  30.4M|    else if (argcount > n) {
  ------------------
  |  Branch (1786:14): [True: 0, False: 30.4M]
  ------------------
 1787|       |        /* Too many positional args. Error is reported later */
 1788|      0|        for (j = n; j < argcount; j++) {
  ------------------
  |  Branch (1788:21): [True: 0, False: 0]
  ------------------
 1789|      0|            PyStackRef_CLOSE(args[j]);
 1790|      0|        }
 1791|      0|    }
 1792|       |
 1793|       |    /* Handle keyword arguments */
 1794|  30.4M|    if (kwnames != NULL) {
  ------------------
  |  Branch (1794:9): [True: 4.10k, False: 30.4M]
  ------------------
 1795|  4.10k|        Py_ssize_t kwcount = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|  4.10k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.10k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1796|  8.41k|        for (i = 0; i < kwcount; i++) {
  ------------------
  |  Branch (1796:21): [True: 4.30k, False: 4.10k]
  ------------------
 1797|  4.30k|            PyObject **co_varnames;
 1798|  4.30k|            PyObject *keyword = PyTuple_GET_ITEM(kwnames, i);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1798:33): [True: 4.30k, False: 0]
  ------------------
 1799|      0|            _PyStackRef value_stackref = args[i+argcount];
 1800|  4.30k|            Py_ssize_t j;
 1801|       |
 1802|  4.30k|            if (keyword == NULL || !PyUnicode_Check(keyword)) {
  ------------------
  |  |  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 (1802:17): [True: 0, False: 4.30k]
  |  Branch (1802:36): [True: 0, False: 4.30k]
  ------------------
 1803|      0|                _PyErr_Format(tstate, PyExc_TypeError,
 1804|      0|                            "%U() keywords must be strings",
 1805|      0|                          func->func_qualname);
 1806|      0|                goto kw_fail;
 1807|      0|            }
 1808|       |
 1809|       |            /* Speed hack: do raw pointer compares. As names are
 1810|       |            normally interned this should almost always hit. */
 1811|  4.30k|            co_varnames = ((PyTupleObject *)(co->co_localsplusnames))->ob_item;
 1812|  20.4k|            for (j = co->co_posonlyargcount; j < total_args; j++) {
  ------------------
  |  Branch (1812:46): [True: 20.4k, False: 2]
  ------------------
 1813|  20.4k|                PyObject *varname = co_varnames[j];
 1814|  20.4k|                if (varname == keyword) {
  ------------------
  |  Branch (1814:21): [True: 4.30k, False: 16.1k]
  ------------------
 1815|  4.30k|                    goto kw_found;
 1816|  4.30k|                }
 1817|  20.4k|            }
 1818|       |
 1819|       |            /* Slow fallback, just in case */
 1820|      8|            for (j = co->co_posonlyargcount; j < total_args; j++) {
  ------------------
  |  Branch (1820:46): [True: 6, False: 2]
  ------------------
 1821|      6|                PyObject *varname = co_varnames[j];
 1822|      6|                int cmp = PyObject_RichCompareBool( keyword, varname, Py_EQ);
  ------------------
  |  |  654|      6|#define Py_EQ 2
  ------------------
 1823|      6|                if (cmp > 0) {
  ------------------
  |  Branch (1823:21): [True: 0, False: 6]
  ------------------
 1824|      0|                    goto kw_found;
 1825|      0|                }
 1826|      6|                else if (cmp < 0) {
  ------------------
  |  Branch (1826:26): [True: 0, False: 6]
  ------------------
 1827|      0|                    goto kw_fail;
 1828|      0|                }
 1829|      6|            }
 1830|       |
 1831|      2|            assert(j >= total_args);
  ------------------
  |  Branch (1831:13): [True: 2, False: 0]
  ------------------
 1832|      2|            if (kwdict == NULL) {
  ------------------
  |  Branch (1832:17): [True: 0, False: 2]
  ------------------
 1833|       |
 1834|      0|                if (co->co_posonlyargcount
  ------------------
  |  Branch (1834:21): [True: 0, False: 0]
  ------------------
 1835|      0|                    && positional_only_passed_as_keyword(tstate, co,
  ------------------
  |  Branch (1835:24): [True: 0, False: 0]
  ------------------
 1836|      0|                                                        kwcount, kwnames,
 1837|      0|                                                        func->func_qualname))
 1838|      0|                {
 1839|      0|                    goto kw_fail;
 1840|      0|                }
 1841|       |
 1842|      0|                PyObject* suggestion_keyword = NULL;
 1843|      0|                if (total_args > co->co_posonlyargcount) {
  ------------------
  |  Branch (1843:21): [True: 0, False: 0]
  ------------------
 1844|      0|                    PyObject* possible_keywords = PyList_New(total_args - co->co_posonlyargcount);
 1845|       |
 1846|      0|                    if (!possible_keywords) {
  ------------------
  |  Branch (1846:25): [True: 0, False: 0]
  ------------------
 1847|      0|                        PyErr_Clear();
 1848|      0|                    } else {
 1849|      0|                        for (Py_ssize_t k = co->co_posonlyargcount; k < total_args; k++) {
  ------------------
  |  Branch (1849:69): [True: 0, False: 0]
  ------------------
 1850|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1851|      0|                        }
 1852|       |
 1853|      0|                        suggestion_keyword = _Py_CalculateSuggestions(possible_keywords, keyword);
 1854|      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]
  |  |  ------------------
  ------------------
 1855|      0|                    }
 1856|      0|                }
 1857|       |
 1858|      0|                if (suggestion_keyword) {
  ------------------
  |  Branch (1858:21): [True: 0, False: 0]
  ------------------
 1859|      0|                    _PyErr_Format(tstate, PyExc_TypeError,
 1860|      0|                                "%U() got an unexpected keyword argument '%S'. Did you mean '%S'?",
 1861|      0|                                func->func_qualname, keyword, suggestion_keyword);
 1862|      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]
  |  |  ------------------
  ------------------
 1863|      0|                } else {
 1864|      0|                    _PyErr_Format(tstate, PyExc_TypeError,
 1865|      0|                                "%U() got an unexpected keyword argument '%S'",
 1866|      0|                                func->func_qualname, keyword);
 1867|      0|                }
 1868|       |
 1869|      0|                goto kw_fail;
 1870|      0|            }
 1871|       |
 1872|      2|            if (PyDict_SetItem(kwdict, keyword, PyStackRef_AsPyObjectBorrow(value_stackref)) == -1) {
  ------------------
  |  Branch (1872:17): [True: 0, False: 2]
  ------------------
 1873|      0|                goto kw_fail;
 1874|      0|            }
 1875|      2|            PyStackRef_CLOSE(value_stackref);
 1876|      2|            continue;
 1877|       |
 1878|      0|        kw_fail:
 1879|      0|            for (;i < kwcount; i++) {
  ------------------
  |  Branch (1879:19): [True: 0, False: 0]
  ------------------
 1880|      0|                PyStackRef_CLOSE(args[i+argcount]);
 1881|      0|            }
 1882|      0|            goto fail_post_args;
 1883|       |
 1884|  4.30k|        kw_found:
 1885|  4.30k|            if (PyStackRef_AsPyObjectBorrow(localsplus[j]) != NULL) {
  ------------------
  |  Branch (1885:17): [True: 0, False: 4.30k]
  ------------------
 1886|      0|                _PyErr_Format(tstate, PyExc_TypeError,
 1887|      0|                            "%U() got multiple values for argument '%S'",
 1888|      0|                          func->func_qualname, keyword);
 1889|      0|                goto kw_fail;
 1890|      0|            }
 1891|  4.30k|            localsplus[j] = value_stackref;
 1892|  4.30k|        }
 1893|  4.10k|    }
 1894|       |
 1895|       |    /* Check the number of positional arguments */
 1896|  30.4M|    if ((argcount > co->co_argcount) && !(co->co_flags & CO_VARARGS)) {
  ------------------
  |  |  124|  1.15k|#define CO_VARARGS      0x0004
  ------------------
  |  Branch (1896:9): [True: 1.15k, False: 30.4M]
  |  Branch (1896:41): [True: 0, False: 1.15k]
  ------------------
 1897|      0|        too_many_positional(tstate, co, argcount, func->func_defaults, localsplus,
 1898|      0|                            func->func_qualname);
 1899|      0|        goto fail_post_args;
 1900|      0|    }
 1901|       |
 1902|       |    /* Add missing positional arguments (copy default values from defs) */
 1903|  30.4M|    if (argcount < co->co_argcount) {
  ------------------
  |  Branch (1903:9): [True: 6.10M, False: 24.3M]
  ------------------
 1904|  6.10M|        Py_ssize_t defcount = func->func_defaults == NULL ? 0 : PyTuple_GET_SIZE(func->func_defaults);
  ------------------
  |  |   27|  6.10M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.10M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.10M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1904:31): [True: 0, False: 6.10M]
  ------------------
 1905|  6.10M|        Py_ssize_t m = co->co_argcount - defcount;
 1906|  6.10M|        Py_ssize_t missing = 0;
 1907|  6.10M|        for (i = argcount; i < m; i++) {
  ------------------
  |  Branch (1907:28): [True: 5, False: 6.10M]
  ------------------
 1908|      5|            if (PyStackRef_IsNull(localsplus[i])) {
  ------------------
  |  |  482|      5|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|      5|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      5|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 5]
  |  |  ------------------
  ------------------
 1909|      0|                missing++;
 1910|      0|            }
 1911|      5|        }
 1912|  6.10M|        if (missing) {
  ------------------
  |  Branch (1912:13): [True: 0, False: 6.10M]
  ------------------
 1913|      0|            missing_arguments(tstate, co, missing, defcount, localsplus,
 1914|      0|                              func->func_qualname);
 1915|      0|            goto fail_post_args;
 1916|      0|        }
 1917|  6.10M|        if (n > m)
  ------------------
  |  Branch (1917:13): [True: 165k, False: 5.94M]
  ------------------
 1918|   165k|            i = n - m;
 1919|  5.94M|        else
 1920|  5.94M|            i = 0;
 1921|  6.10M|        if (defcount) {
  ------------------
  |  Branch (1921:13): [True: 6.10M, False: 0]
  ------------------
 1922|  6.10M|            PyObject **defs = &PyTuple_GET_ITEM(func->func_defaults, 0);
  ------------------
  |  |   29|  6.10M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  6.10M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.10M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1922:32): [True: 6.10M, False: 0]
  ------------------
 1923|  12.2M|            for (; i < defcount; i++) {
  ------------------
  |  Branch (1923:20): [True: 6.17M, False: 6.10M]
  ------------------
 1924|  6.17M|                if (PyStackRef_AsPyObjectBorrow(localsplus[m+i]) == NULL) {
  ------------------
  |  Branch (1924:21): [True: 6.16M, False: 3.74k]
  ------------------
 1925|  6.16M|                    PyObject *def = defs[i];
 1926|  6.16M|                    localsplus[m+i] = PyStackRef_FromPyObjectNew(def);
  ------------------
  |  |  611|  6.16M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  6.16M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.16M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1927|  6.16M|                }
 1928|  6.17M|            }
 1929|  6.10M|        }
 1930|  6.10M|    }
 1931|       |
 1932|       |    /* Add missing keyword arguments (copy default values from kwdefs) */
 1933|  30.4M|    if (co->co_kwonlyargcount > 0) {
  ------------------
  |  Branch (1933:9): [True: 3.79k, False: 30.4M]
  ------------------
 1934|  3.79k|        Py_ssize_t missing = 0;
 1935|  17.6k|        for (i = co->co_argcount; i < total_args; i++) {
  ------------------
  |  Branch (1935:35): [True: 13.8k, False: 3.79k]
  ------------------
 1936|  13.8k|            if (PyStackRef_AsPyObjectBorrow(localsplus[i]) != NULL)
  ------------------
  |  Branch (1936:17): [True: 553, False: 13.2k]
  ------------------
 1937|    553|                continue;
 1938|  13.2k|            PyObject *varname = PyTuple_GET_ITEM(co->co_localsplusnames, i);
  ------------------
  |  |   29|  13.2k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  13.2k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1938:33): [True: 13.2k, False: 0]
  ------------------
 1939|  13.2k|            if (func->func_kwdefaults != NULL) {
  ------------------
  |  Branch (1939:17): [True: 13.2k, False: 0]
  ------------------
 1940|  13.2k|                PyObject *def;
 1941|  13.2k|                if (PyDict_GetItemRef(func->func_kwdefaults, varname, &def) < 0) {
  ------------------
  |  Branch (1941:21): [True: 0, False: 13.2k]
  ------------------
 1942|      0|                    goto fail_post_args;
 1943|      0|                }
 1944|  13.2k|                if (def) {
  ------------------
  |  Branch (1944:21): [True: 13.2k, False: 0]
  ------------------
 1945|  13.2k|                    localsplus[i] = PyStackRef_FromPyObjectSteal(def);
 1946|  13.2k|                    continue;
 1947|  13.2k|                }
 1948|  13.2k|            }
 1949|      0|            missing++;
 1950|      0|        }
 1951|  3.79k|        if (missing) {
  ------------------
  |  Branch (1951:13): [True: 0, False: 3.79k]
  ------------------
 1952|      0|            missing_arguments(tstate, co, missing, -1, localsplus,
 1953|      0|                              func->func_qualname);
 1954|      0|            goto fail_post_args;
 1955|      0|        }
 1956|  3.79k|    }
 1957|  30.4M|    return 0;
 1958|       |
 1959|      0|fail_pre_positional:
 1960|      0|    for (j = 0; j < argcount; j++) {
  ------------------
  |  Branch (1960:17): [True: 0, False: 0]
  ------------------
 1961|      0|        PyStackRef_CLOSE(args[j]);
 1962|      0|    }
 1963|       |    /* fall through */
 1964|      0|fail_post_positional:
 1965|      0|    if (kwnames) {
  ------------------
  |  Branch (1965:9): [True: 0, False: 0]
  ------------------
 1966|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1967|      0|        for (j = argcount; j < argcount+kwcount; j++) {
  ------------------
  |  Branch (1967:28): [True: 0, False: 0]
  ------------------
 1968|      0|            PyStackRef_CLOSE(args[j]);
 1969|      0|        }
 1970|      0|    }
 1971|       |    /* fall through */
 1972|      0|fail_post_args:
 1973|      0|    return -1;
 1974|      0|}
ceval.c:_PyEval_GetGlobals:
 2736|   356k|{
 2737|   356k|    _PyInterpreterFrame *current_frame = _PyThreadState_GetFrame(tstate);
 2738|   356k|    if (current_frame == NULL) {
  ------------------
  |  Branch (2738:9): [True: 15, False: 356k]
  ------------------
 2739|     15|        return NULL;
 2740|     15|    }
 2741|   356k|    return current_frame->f_globals;
 2742|   356k|}
ceval.c:get_globals_builtins:
 2769|     74|{
 2770|     74|    PyObject *builtins = NULL;
 2771|     74|    if (PyAnyDict_Check(globals)) {
  ------------------
  |  |   43|     74|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|     74|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    148|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 74, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2772|     74|        if (PyDict_GetItemRef(globals, &_Py_ID(__builtins__), &builtins) < 0) {
  ------------------
  |  |  920|     74|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     74|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     74|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2772:13): [True: 0, False: 74]
  ------------------
 2773|      0|            return NULL;
 2774|      0|        }
 2775|     74|    }
 2776|      0|    else {
 2777|      0|        if (PyMapping_GetOptionalItem(
  ------------------
  |  Branch (2777:13): [True: 0, False: 0]
  ------------------
 2778|      0|                        globals, &_Py_ID(__builtins__), &builtins) < 0)
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2779|      0|        {
 2780|      0|            return NULL;
 2781|      0|        }
 2782|      0|    }
 2783|     74|    return builtins;
 2784|     74|}
ceval.c:set_globals_builtins:
 2788|     71|{
 2789|     71|    if (PyDict_Check(globals)) {
  ------------------
  |  |   18|     71|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     71|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 71, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2790|     71|        if (PyDict_SetItem(globals, &_Py_ID(__builtins__), builtins) < 0) {
  ------------------
  |  |  920|     71|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     71|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     71|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2790:13): [True: 0, False: 71]
  ------------------
 2791|      0|            return -1;
 2792|      0|        }
 2793|     71|    }
 2794|      0|    else {
 2795|      0|        if (PyObject_SetItem(globals, &_Py_ID(__builtins__), builtins) < 0) {
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2795:13): [True: 0, False: 0]
  ------------------
 2796|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2797|      0|                PyErr_SetString(PyExc_TypeError,
 2798|      0|                                "cannot assign __builtins__ to frozendict globals");
 2799|      0|            }
 2800|      0|            return -1;
 2801|      0|        }
 2802|      0|    }
 2803|     71|    return 0;
 2804|     71|}
ceval.c:is_lazy_import_module_level:
 3080|    167|{
 3081|    167|    _PyInterpreterFrame *frame = _PyEval_GetFrame();
 3082|    167|    return frame != NULL && frame->f_globals == frame->f_locals;
  ------------------
  |  Branch (3082:12): [True: 167, False: 0]
  |  Branch (3082:29): [True: 167, False: 0]
  ------------------
 3083|    167|}
ceval.c:check_lazy_import_compatibility:
 3043|    167|{
 3044|       |     // Check if this module should be imported lazily due to
 3045|       |     // the compatibility mode support via __lazy_modules__.
 3046|    167|    PyObject *lazy_modules = NULL;
 3047|    167|    PyObject *abs_name = NULL;
 3048|    167|    int res = -1;
 3049|       |
 3050|    167|    if (globals != NULL &&
  ------------------
  |  Branch (3050:9): [True: 167, False: 0]
  ------------------
 3051|    167|        PyMapping_GetOptionalItem(globals, &_Py_ID(__lazy_modules__),
  ------------------
  |  |  920|    167|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    167|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    167|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3051:9): [True: 0, False: 167]
  ------------------
 3052|    167|                                  &lazy_modules) < 0)
 3053|      0|    {
 3054|      0|        return -1;
 3055|      0|    }
 3056|    167|    if (lazy_modules == NULL) {
  ------------------
  |  Branch (3056:9): [True: 167, False: 0]
  ------------------
 3057|    167|        assert(!PyErr_Occurred());
  ------------------
  |  Branch (3057:9): [True: 167, False: 0]
  ------------------
 3058|    167|        return 0;
 3059|    167|    }
 3060|       |
 3061|      0|    int ilevel = PyLong_AsInt(level);
 3062|      0|    if (ilevel == -1 && _PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (3062:9): [True: 0, False: 0]
  |  Branch (3062:25): [True: 0, False: 0]
  ------------------
 3063|      0|        goto error;
 3064|      0|    }
 3065|       |
 3066|      0|    abs_name = _PyImport_GetAbsName(tstate, name, globals, ilevel);
 3067|      0|    if (abs_name == NULL) {
  ------------------
  |  Branch (3067:9): [True: 0, False: 0]
  ------------------
 3068|      0|        goto error;
 3069|      0|    }
 3070|       |
 3071|      0|    res = PySequence_Contains(lazy_modules, abs_name);
 3072|      0|error:
 3073|      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]
  |  |  ------------------
  ------------------
 3074|       |    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]
  |  |  ------------------
  ------------------
 3075|      0|    return res;
 3076|      0|}

ceval.c:check_invalid_reentrancy:
  142|  21.0M|{
  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|  21.0M|}
ceval.c:monitor_throw:
  395|  32.1k|{
  396|  32.1k|    if (no_tools_for_local_event(tstate, frame, PY_MONITORING_EVENT_PY_THROW)) {
  ------------------
  |  |   35|  32.1k|#define PY_MONITORING_EVENT_PY_THROW 14
  ------------------
  |  Branch (396:9): [True: 32.1k, False: 0]
  ------------------
  397|  32.1k|        return;
  398|  32.1k|    }
  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|  69.1k|{
  406|  69.1k|    if (no_tools_for_local_event(tstate, frame, PY_MONITORING_EVENT_RERAISE)) {
  ------------------
  |  |   36|  69.1k|#define PY_MONITORING_EVENT_RERAISE 15
  ------------------
  |  Branch (406:9): [True: 69.1k, False: 0]
  ------------------
  407|  69.1k|        return;
  408|  69.1k|    }
  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|  2.39k|{
  519|  2.39k|    PyObject *type = NULL, *value = NULL;
  520|       |
  521|  2.39k|    if (exc == NULL) {
  ------------------
  |  Branch (521:9): [True: 0, False: 2.39k]
  ------------------
  522|       |        /* Reraise */
  523|      0|        _PyErr_StackItem *exc_info = _PyErr_GetTopmostException(tstate);
  524|      0|        exc = exc_info->exc_value;
  525|      0|        if (Py_IsNone(exc) || exc == NULL) {
  ------------------
  |  |  621|      0|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|      0|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (525:31): [True: 0, False: 0]
  ------------------
  526|      0|            _PyErr_SetString(tstate, PyExc_RuntimeError,
  527|      0|                             "No active exception to reraise");
  528|      0|            return 0;
  529|      0|        }
  530|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  531|      0|        assert(PyExceptionInstance_Check(exc));
  ------------------
  |  Branch (531:9): [True: 0, False: 0]
  ------------------
  532|      0|        _PyErr_SetRaisedException(tstate, exc);
  533|      0|        return 1;
  534|      0|    }
  535|       |
  536|       |    /* We support the following forms of raise:
  537|       |       raise
  538|       |       raise <instance>
  539|       |       raise <type> */
  540|       |
  541|  2.39k|    if (PyExceptionClass_Check(exc)) {
  ------------------
  |  |   61|  2.39k|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|  4.79k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 4, False: 2.39k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|  2.39k|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  542|      4|        type = exc;
  543|      4|        value = _PyObject_CallNoArgs(exc);
  544|      4|        if (value == NULL)
  ------------------
  |  Branch (544:13): [True: 0, False: 4]
  ------------------
  545|      0|            goto raise_error;
  546|      4|        if (!PyExceptionInstance_Check(value)) {
  ------------------
  |  |   65|      4|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (546:13): [True: 0, False: 4]
  ------------------
  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|      4|    }
  554|  2.39k|    else if (PyExceptionInstance_Check(exc)) {
  ------------------
  |  |   65|  2.39k|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.39k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2.39k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  555|  2.39k|        value = exc;
  556|  2.39k|        type = PyExceptionInstance_Class(exc);
  ------------------
  |  |   69|  2.39k|#define PyExceptionInstance_Class(x) _PyObject_CAST(Py_TYPE(x))
  |  |  ------------------
  |  |  |  |  171|  2.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  557|  2.39k|        Py_INCREF(type);
  ------------------
  |  |  310|  2.39k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  558|  2.39k|    }
  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|  2.39k|    assert(type != NULL);
  ------------------
  |  Branch (568:5): [True: 2.39k, False: 0]
  ------------------
  569|  2.39k|    assert(value != NULL);
  ------------------
  |  Branch (569:5): [True: 2.39k, False: 0]
  ------------------
  570|       |
  571|  2.39k|    if (cause) {
  ------------------
  |  Branch (571:9): [True: 101, False: 2.29k]
  ------------------
  572|    101|        PyObject *fixed_cause;
  573|    101|        if (PyExceptionClass_Check(cause)) {
  ------------------
  |  |   61|    101|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|    202|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    101|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    101|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 0, False: 101]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|    101|     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|    101|        else if (PyExceptionInstance_Check(cause)) {
  ------------------
  |  |   65|    101|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    101|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 101]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  588|      0|            fixed_cause = cause;
  589|      0|        }
  590|    101|        else if (Py_IsNone(cause)) {
  ------------------
  |  |  621|    101|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|    101|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 101, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  591|    101|            Py_DECREF(cause);
  ------------------
  |  |   80|    101|    do { \
  |  |   81|    101|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|    101|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    101|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|    101|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|    101|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    101|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    101|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 101, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|    101|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|    101|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|    101|            break; \
  |  |   85|    101|        } \
  |  |   86|    101|        _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|    101|            fixed_cause = NULL;
  593|    101|        }
  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|    101|        PyException_SetCause(value, fixed_cause);
  601|    101|    }
  602|       |
  603|  2.39k|    _PyErr_SetObject(tstate, type, value);
  604|       |    /* _PyErr_SetObject incref's its arguments */
  605|  2.39k|    Py_DECREF(value);
  ------------------
  |  |   80|  2.39k|    do { \
  |  |   81|  2.39k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|  2.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|  2.39k|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|  2.39k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 2.39k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|  2.39k|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|  2.39k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|  2.39k|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 2.39k]
  |  |  ------------------
  |  |   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.39k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 2.39k]
  |  |  ------------------
  ------------------
  606|  2.39k|    Py_DECREF(type);
  ------------------
  |  |   80|  2.39k|    do { \
  |  |   81|  2.39k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|  2.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|  2.39k|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|  2.39k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 266, False: 2.13k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|    266|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|    266|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|    266|            break; \
  |  |   85|    266|        } \
  |  |   86|  2.39k|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|  2.13k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|  2.13k|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 2.13k]
  |  |  ------------------
  |  |   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.13k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 2.13k]
  |  |  ------------------
  ------------------
  607|  2.39k|    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|  2.39k|}
ceval.c:get_exception_handler:
  459|  3.18M|{
  460|  3.18M|    unsigned char *start = (unsigned char *)PyBytes_AS_STRING(code->co_exceptiontable);
  ------------------
  |  |   27|  3.18M|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.18M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.18M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  461|  3.18M|    unsigned char *end = start + PyBytes_GET_SIZE(code->co_exceptiontable);
  ------------------
  |  |   33|  3.18M|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  3.18M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.18M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  462|       |    /* Invariants:
  463|       |     * start_table == end_table OR
  464|       |     * start_table points to a legal entry and end_table points
  465|       |     * beyond the table or to a legal entry that is after index.
  466|       |     */
  467|  3.18M|    if (end - start > MAX_LINEAR_SEARCH) {
  ------------------
  |  |  455|  3.18M|#define MAX_LINEAR_SEARCH 40
  ------------------
  |  Branch (467:9): [True: 120k, False: 3.06M]
  ------------------
  468|   120k|        int offset;
  469|   120k|        parse_varint(start, &offset);
  470|   120k|        if (offset > index) {
  ------------------
  |  Branch (470:13): [True: 0, False: 120k]
  ------------------
  471|      0|            return 0;
  472|      0|        }
  473|   138k|        do {
  474|   138k|            unsigned char * mid = start + ((end-start)>>1);
  475|   138k|            mid = scan_back_to_entry_start(mid);
  476|   138k|            parse_varint(mid, &offset);
  477|   138k|            if (offset > index) {
  ------------------
  |  Branch (477:17): [True: 73.8k, False: 64.8k]
  ------------------
  478|  73.8k|                end = mid;
  479|  73.8k|            }
  480|  64.8k|            else {
  481|  64.8k|                start = mid;
  482|  64.8k|            }
  483|       |
  484|   138k|        } while (end - start > MAX_LINEAR_SEARCH);
  ------------------
  |  |  455|   138k|#define MAX_LINEAR_SEARCH 40
  ------------------
  |  Branch (484:18): [True: 18.5k, False: 120k]
  ------------------
  485|   120k|    }
  486|  3.18M|    unsigned char *scan = start;
  487|  3.70M|    while (scan < end) {
  ------------------
  |  Branch (487:12): [True: 752k, False: 2.95M]
  ------------------
  488|   752k|        int start_offset, size;
  489|   752k|        scan = parse_varint(scan, &start_offset);
  490|   752k|        if (start_offset > index) {
  ------------------
  |  Branch (490:13): [True: 141k, False: 611k]
  ------------------
  491|   141k|            break;
  492|   141k|        }
  493|   611k|        scan = parse_varint(scan, &size);
  494|   611k|        if (start_offset + size > index) {
  ------------------
  |  Branch (494:13): [True: 93.6k, False: 517k]
  ------------------
  495|  93.6k|            scan = parse_varint(scan, handler);
  496|  93.6k|            int depth_and_lasti;
  497|  93.6k|            parse_varint(scan, &depth_and_lasti);
  498|  93.6k|            *level = depth_and_lasti >> 1;
  499|  93.6k|            *lasti = depth_and_lasti & 1;
  500|  93.6k|            return 1;
  501|  93.6k|        }
  502|   517k|        scan = skip_to_next_entry(scan, end);
  503|   517k|    }
  504|  3.09M|    return 0;
  505|  3.18M|}
ceval.c:scan_back_to_entry_start:
  441|   138k|scan_back_to_entry_start(unsigned char *p) {
  442|   389k|    for (; (p[0]&128) == 0; p--);
  ------------------
  |  Branch (442:12): [True: 251k, False: 138k]
  ------------------
  443|   138k|    return p;
  444|   138k|}
ceval.c:skip_to_next_entry:
  447|   517k|skip_to_next_entry(unsigned char *p, unsigned char *end) {
  448|  2.06M|    while (p < end && ((p[0] & 128) == 0)) {
  ------------------
  |  Branch (448:12): [True: 2.03M, False: 34.6k]
  |  Branch (448:23): [True: 1.54M, False: 482k]
  ------------------
  449|  1.54M|        p++;
  450|  1.54M|    }
  451|   517k|    return p;
  452|   517k|}
ceval.c:monitor_unwind:
  433|  3.09M|{
  434|  3.09M|    if (no_tools_for_local_event(tstate, frame, PY_MONITORING_EVENT_PY_UNWIND)) {
  ------------------
  |  |   34|  3.09M|#define PY_MONITORING_EVENT_PY_UNWIND 13
  ------------------
  |  Branch (434:9): [True: 3.09M, False: 0]
  ------------------
  435|  3.09M|        return;
  436|  3.09M|    }
  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|  93.6k|{
  385|  93.6k|    if (no_tools_for_local_event(tstate, frame, PY_MONITORING_EVENT_EXCEPTION_HANDLED)) {
  ------------------
  |  |   33|  93.6k|#define PY_MONITORING_EVENT_EXCEPTION_HANDLED 12
  ------------------
  |  Branch (385:9): [True: 93.6k, False: 0]
  ------------------
  386|  93.6k|        return 0;
  387|  93.6k|    }
  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|  93.6k|}
ceval.c:no_tools_for_local_event:
  369|  6.45M|{
  370|  6.45M|    assert(event < _PY_MONITORING_UNGROUPED_EVENTS);
  ------------------
  |  Branch (370:5): [True: 6.45M, False: 0]
  ------------------
  371|  6.45M|    _PyCoMonitoringData *data = _PyFrame_GetCode(frame)->_co_monitoring;
  372|  6.45M|    if (data) {
  ------------------
  |  Branch (372:9): [True: 0, False: 6.45M]
  ------------------
  373|      0|        return data->active_monitors.tools[event] == 0;
  374|      0|    }
  375|  6.45M|    else {
  376|  6.45M|        return no_tools_for_global_event(tstate, event);
  377|  6.45M|    }
  378|  6.45M|}
ceval.c:no_tools_for_global_event:
  363|  6.45M|{
  364|  6.45M|    return tstate->interp->monitors.tools[event] == 0;
  365|  6.45M|}

_PyEval_InitGIL:
  504|      2|{
  505|      2|    assert(tstate->interp->ceval.gil == NULL);
  ------------------
  |  Branch (505:5): [True: 2, False: 0]
  ------------------
  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);
  ------------------
  |  Branch (509:9): [True: 0, False: 0]
  ------------------
  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));
  ------------------
  |  Branch (512:9): [True: 0, False: 0]
  ------------------
  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);
  ------------------
  |  Branch (529:9): [True: 2, False: 0]
  ------------------
  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));
  ------------------
  |  Branch (549:5): [True: 0, False: 0]
  ------------------
  550|      0|    interp->ceval.gil = NULL;
  551|      0|}
_PyEval_AcquireLock:
  590|   356k|{
  591|   356k|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  196|   356k|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
  592|   356k|    take_gil(tstate);
  593|   356k|}
_PyEval_ReleaseLock:
  599|   356k|{
  600|   356k|    assert(tstate != NULL);
  ------------------
  |  Branch (600:5): [True: 356k, False: 0]
  ------------------
  601|   356k|    assert(tstate->interp == interp);
  ------------------
  |  Branch (601:5): [True: 356k, False: 0]
  ------------------
  602|   356k|    drop_gil(interp, tstate, final_release);
  603|   356k|}
PyEval_SaveThread:
  644|   356k|{
  645|   356k|    PyThreadState *tstate = _PyThreadState_GET();
  646|   356k|    _PyThreadState_Detach(tstate);
  647|   356k|    return tstate;
  648|   356k|}
PyEval_RestoreThread:
  652|   356k|{
  653|       |#ifdef MS_WINDOWS
  654|       |    int err = GetLastError();
  655|       |#endif
  656|       |
  657|   356k|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  196|   356k|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
  658|   356k|    _PyThreadState_Attach(tstate);
  659|       |
  660|       |#ifdef MS_WINDOWS
  661|       |    SetLastError(err);
  662|       |#endif
  663|   356k|}
_PyEval_InitState:
 1075|      2|{
 1076|      2|    _gil_initialize(&interp->_gil);
 1077|      2|}
_PyRunRemoteDebugger:
 1259|  3.25M|{
 1260|  3.25M|    const PyConfig *config = _PyInterpreterState_GetConfig(tstate->interp);
 1261|  3.25M|    if (config->remote_debug == 1
  ------------------
  |  Branch (1261:9): [True: 3.25M, False: 0]
  ------------------
 1262|  3.25M|         && tstate->remote_debugger_support.debugger_pending_call == 1)
  ------------------
  |  Branch (1262:13): [True: 0, False: 3.25M]
  ------------------
 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|  3.25M|    return 0;
 1294|  3.25M|}
_Py_HandlePending:
 1358|  23.5k|{
 1359|  23.5k|    uintptr_t breaker = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker);
 1360|       |
 1361|       |    /* Stop-the-world */
 1362|  23.5k|    if ((breaker & _PY_EVAL_PLEASE_STOP_BIT) != 0) {
  ------------------
  |  |  350|  23.5k|#define _PY_EVAL_PLEASE_STOP_BIT (1U << 5)
  ------------------
  |  Branch (1362:9): [True: 0, False: 23.5k]
  ------------------
 1363|      0|        _Py_unset_eval_breaker_bit(tstate, _PY_EVAL_PLEASE_STOP_BIT);
  ------------------
  |  |  350|      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|  23.5k|    if ((breaker & _PY_SIGNALS_PENDING_BIT) != 0) {
  ------------------
  |  |  346|  23.5k|#define _PY_SIGNALS_PENDING_BIT (1U << 1)
  ------------------
  |  Branch (1371:9): [True: 0, False: 23.5k]
  ------------------
 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|  23.5k|    if ((breaker & _PY_CALLS_TO_DO_BIT) != 0) {
  ------------------
  |  |  347|  23.5k|#define _PY_CALLS_TO_DO_BIT (1U << 2)
  ------------------
  |  Branch (1378:9): [True: 0, False: 23.5k]
  ------------------
 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|  23.5k|    if ((breaker & _PY_GC_SCHEDULED_BIT) != 0) {
  ------------------
  |  |  349|  23.5k|#define _PY_GC_SCHEDULED_BIT (1U << 4)
  ------------------
  |  Branch (1397:9): [True: 23.5k, False: 0]
  ------------------
 1398|  23.5k|        _Py_unset_eval_breaker_bit(tstate, _PY_GC_SCHEDULED_BIT);
  ------------------
  |  |  349|  23.5k|#define _PY_GC_SCHEDULED_BIT (1U << 4)
  ------------------
 1399|  23.5k|        _Py_RunGC(tstate);
 1400|       |#ifdef _Py_TIER2
 1401|       |        _Py_ClearExecutorDeletionList(tstate->interp);
 1402|       |#endif
 1403|  23.5k|    }
 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|  23.5k|    if ((breaker & _PY_GIL_DROP_REQUEST_BIT) != 0) {
  ------------------
  |  |  345|  23.5k|#define _PY_GIL_DROP_REQUEST_BIT (1U << 0)
  ------------------
  |  Branch (1415:9): [True: 0, False: 23.5k]
  ------------------
 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|  23.5k|    if ((breaker & _PY_ASYNC_EXCEPTION_BIT) != 0) {
  ------------------
  |  |  348|  23.5k|#define _PY_ASYNC_EXCEPTION_BIT (1U << 3)
  ------------------
  |  Branch (1425:9): [True: 0, False: 23.5k]
  ------------------
 1426|      0|        if (_PyEval_RaiseAsyncExc(tstate) < 0) {
  ------------------
  |  Branch (1426:13): [True: 0, False: 0]
  ------------------
 1427|      0|            return -1;
 1428|      0|        }
 1429|      0|    }
 1430|       |
 1431|  23.5k|#if defined(Py_REMOTE_DEBUG) && defined(Py_SUPPORTS_REMOTE_DEBUG)
 1432|  23.5k|    _PyRunRemoteDebugger(tstate);
 1433|  23.5k|#endif
 1434|       |
 1435|  23.5k|    return 0;
 1436|  23.5k|}
ceval_gil.c:gil_created:
  156|   356k|{
  157|   356k|    if (gil == NULL) {
  ------------------
  |  Branch (157:9): [True: 0, False: 356k]
  ------------------
  158|      0|        return 0;
  159|      0|    }
  160|   356k|    return (_Py_atomic_load_int_acquire(&gil->locked) >= 0);
  161|   356k|}
ceval_gil.c:init_own_gil:
  490|      2|{
  491|      2|    assert(!gil_created(gil));
  ------------------
  |  Branch (491:5): [True: 2, False: 0]
  ------------------
  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|      2|    assert(gil_created(gil));
  ------------------
  |  Branch (497:5): [True: 2, False: 0]
  ------------------
  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|   356k|{
  288|   356k|    int err = errno;
  289|       |
  290|   356k|    assert(tstate != NULL);
  ------------------
  |  Branch (290:5): [True: 356k, False: 0]
  ------------------
  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|   356k|    if (_PyThreadState_MustExit(tstate)) {
  ------------------
  |  Branch (295:9): [True: 0, False: 356k]
  ------------------
  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|   356k|    assert(_PyThreadState_CheckConsistency(tstate));
  ------------------
  |  Branch (310:5): [True: 356k, False: 0]
  ------------------
  311|   356k|    PyInterpreterState *interp = tstate->interp;
  312|   356k|    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|   356k|    assert(gil_created(gil));
  ------------------
  |  Branch (320:5): [True: 356k, False: 0]
  ------------------
  321|       |
  322|   713k|    MUTEX_LOCK(gil->mutex);
  ------------------
  |  |  117|   356k|    if (PyMUTEX_LOCK(&(mut))) { \
  |  |  ------------------
  |  |  |  |   59|   356k|#define PyMUTEX_LOCK(mut)       pthread_mutex_lock(mut)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:33): [True: 0, False: 356k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  118|   356k|        Py_FatalError("PyMUTEX_LOCK(" #mut ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  323|       |
  324|   713k|    tstate->gil_requested = 1;
  325|       |
  326|   713k|    int drop_requested = 0;
  327|   713k|    while (_Py_atomic_load_int_relaxed(&gil->locked)) {
  ------------------
  |  Branch (327:12): [True: 0, False: 356k]
  ------------------
  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);
  ------------------
  |  |  345|      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));
  ------------------
  |  Branch (360:13): [True: 0, False: 0]
  ------------------
  361|       |
  362|      0|            _Py_set_eval_breaker_bit(holder_tstate, _PY_GIL_DROP_REQUEST_BIT);
  ------------------
  |  |  345|      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|   356k|#ifdef FORCE_SWITCHING
  379|       |    /* This mutex must be taken before modifying gil->last_holder:
  380|       |       see drop_gil(). */
  381|   713k|    MUTEX_LOCK(gil->switch_mutex);
  ------------------
  |  |  117|   356k|    if (PyMUTEX_LOCK(&(mut))) { \
  |  |  ------------------
  |  |  |  |   59|   356k|#define PyMUTEX_LOCK(mut)       pthread_mutex_lock(mut)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:33): [True: 0, False: 356k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  118|   356k|        Py_FatalError("PyMUTEX_LOCK(" #mut ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  382|   713k|#endif
  383|       |    /* We now hold the GIL */
  384|   713k|    _Py_atomic_store_int_relaxed(&gil->locked, 1);
  385|   713k|    _Py_ANNOTATE_RWLOCK_ACQUIRED(&gil->locked, /*is_write=*/1);
  386|       |
  387|   713k|    if (tstate != (PyThreadState*)_Py_atomic_load_ptr_relaxed(&gil->last_holder)) {
  ------------------
  |  Branch (387:9): [True: 2, False: 356k]
  ------------------
  388|      2|        _Py_atomic_store_ptr_relaxed(&gil->last_holder, tstate);
  389|      2|        ++gil->switch_number;
  390|      2|    }
  391|       |
  392|   713k|#ifdef FORCE_SWITCHING
  393|   713k|    COND_SIGNAL(gil->switch_cond);
  ------------------
  |  |  130|   356k|    if (PyCOND_SIGNAL(&(cond))) { \
  |  |  ------------------
  |  |  |  |   64|   356k|#define PyCOND_SIGNAL(cond)     pthread_cond_signal(cond)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (64:33): [True: 0, False: 356k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  131|   356k|        Py_FatalError("PyCOND_SIGNAL(" #cond ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  394|   356k|    MUTEX_UNLOCK(gil->switch_mutex);
  ------------------
  |  |  120|   356k|    if (PyMUTEX_UNLOCK(&(mut))) { \
  |  |  ------------------
  |  |  |  |   60|   356k|#define PyMUTEX_UNLOCK(mut)     pthread_mutex_unlock(mut)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (60:33): [True: 0, False: 356k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  121|   356k|        Py_FatalError("PyMUTEX_UNLOCK(" #mut ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  395|   356k|#endif
  396|       |
  397|   356k|    if (_PyThreadState_MustExit(tstate)) {
  ------------------
  |  Branch (397:9): [True: 0, False: 356k]
  ------------------
  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|   356k|    assert(_PyThreadState_CheckConsistency(tstate));
  ------------------
  |  Branch (411:5): [True: 356k, False: 0]
  ------------------
  412|       |
  413|   356k|    tstate->gil_requested = 0;
  414|   356k|    tstate->holds_gil = 1;
  415|   356k|    _Py_unset_eval_breaker_bit(tstate, _PY_GIL_DROP_REQUEST_BIT);
  ------------------
  |  |  345|   356k|#define _PY_GIL_DROP_REQUEST_BIT (1U << 0)
  ------------------
  416|   356k|    update_eval_breaker_for_thread(interp, tstate);
  417|       |
  418|   356k|    MUTEX_UNLOCK(gil->mutex);
  ------------------
  |  |  120|   356k|    if (PyMUTEX_UNLOCK(&(mut))) { \
  |  |  ------------------
  |  |  |  |   60|   356k|#define PyMUTEX_UNLOCK(mut)     pthread_mutex_unlock(mut)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (60:33): [True: 0, False: 356k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  121|   356k|        Py_FatalError("PyMUTEX_UNLOCK(" #mut ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  419|       |
  420|       |    errno = err;
  421|   356k|    return;
  422|   356k|}
ceval_gil.c:update_eval_breaker_for_thread:
   74|   356k|{
   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|   356k|    int32_t npending = _Py_atomic_load_int32_relaxed(
   82|   356k|        &interp->ceval.pending.npending);
   83|   356k|    if (npending) {
  ------------------
  |  Branch (83:9): [True: 0, False: 356k]
  ------------------
   84|      0|        _Py_set_eval_breaker_bit(tstate, _PY_CALLS_TO_DO_BIT);
  ------------------
  |  |  347|      0|#define _PY_CALLS_TO_DO_BIT (1U << 2)
  ------------------
   85|      0|    }
   86|   356k|    else if (_Py_IsMainThread()) {
  ------------------
  |  Branch (86:14): [True: 356k, False: 0]
  ------------------
   87|   356k|        npending = _Py_atomic_load_int32_relaxed(
   88|   356k|            &_PyRuntime.ceval.pending_mainthread.npending);
   89|   356k|        if (npending) {
  ------------------
  |  Branch (89:13): [True: 0, False: 356k]
  ------------------
   90|      0|            _Py_set_eval_breaker_bit(tstate, _PY_CALLS_TO_DO_BIT);
  ------------------
  |  |  347|      0|#define _PY_CALLS_TO_DO_BIT (1U << 2)
  ------------------
   91|      0|        }
   92|   356k|    }
   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|   356k|    copy_eval_breaker_bits(&interp->ceval.instrumentation_version,
   97|   356k|                           &tstate->eval_breaker,
   98|   356k|                           ~_PY_EVAL_EVENTS_MASK);
  ------------------
  |  |  356|   356k|#define _PY_EVAL_EVENTS_MASK ((1 << _PY_EVAL_EVENTS_BITS)-1)
  |  |  ------------------
  |  |  |  |  355|   356k|#define _PY_EVAL_EVENTS_BITS 8
  |  |  ------------------
  ------------------
   99|   356k|}
ceval_gil.c:copy_eval_breaker_bits:
   56|   356k|{
   57|   356k|    uintptr_t from_bits = _Py_atomic_load_uintptr_relaxed(from) & mask;
   58|   356k|    uintptr_t old_value = _Py_atomic_load_uintptr_relaxed(to);
   59|   356k|    uintptr_t to_bits = old_value & mask;
   60|   356k|    if (from_bits == to_bits) {
  ------------------
  |  Branch (60:9): [True: 356k, False: 0]
  ------------------
   61|   356k|        return;
   62|   356k|    }
   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|   356k|{
  219|   356k|    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|   356k|    assert(final_release || tstate != NULL);
  ------------------
  |  Branch (229:5): [True: 0, False: 356k]
  |  Branch (229:5): [True: 356k, False: 0]
  ------------------
  230|   356k|    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|   356k|    if (!_Py_atomic_load_int_relaxed(&gil->locked)) {
  ------------------
  |  Branch (239:9): [True: 0, False: 356k]
  ------------------
  240|      0|        Py_FatalError("drop_gil: GIL is not locked");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
  241|      0|    }
  242|       |
  243|   356k|    if (!final_release) {
  ------------------
  |  Branch (243:9): [True: 356k, 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|   356k|        _Py_atomic_store_ptr_relaxed(&gil->last_holder, tstate);
  248|   356k|    }
  249|       |
  250|   356k|    drop_gil_impl(tstate, gil);
  251|       |
  252|   356k|#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|   356k|    if (!final_release &&
  ------------------
  |  Branch (259:9): [True: 356k, False: 0]
  ------------------
  260|   356k|        _Py_eval_breaker_bit_is_set(tstate, _PY_GIL_DROP_REQUEST_BIT)) {
  ------------------
  |  |  345|   356k|#define _PY_GIL_DROP_REQUEST_BIT (1U << 0)
  ------------------
  |  Branch (260:9): [True: 0, False: 356k]
  ------------------
  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));
  ------------------
  |  Branch (265:13): [True: 0, False: 0]
  ------------------
  266|      0|            _Py_unset_eval_breaker_bit(tstate, _PY_GIL_DROP_REQUEST_BIT);
  ------------------
  |  |  345|      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|   356k|#endif
  276|   356k|}
ceval_gil.c:drop_gil_impl:
  204|   356k|{
  205|   356k|    MUTEX_LOCK(gil->mutex);
  ------------------
  |  |  117|   356k|    if (PyMUTEX_LOCK(&(mut))) { \
  |  |  ------------------
  |  |  |  |   59|   356k|#define PyMUTEX_LOCK(mut)       pthread_mutex_lock(mut)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:33): [True: 0, False: 356k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  118|   356k|        Py_FatalError("PyMUTEX_LOCK(" #mut ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  206|   356k|    _Py_ANNOTATE_RWLOCK_RELEASED(&gil->locked, /*is_write=*/1);
  207|   356k|    _Py_atomic_store_int_relaxed(&gil->locked, 0);
  208|   356k|    if (tstate != NULL) {
  ------------------
  |  Branch (208:9): [True: 356k, False: 0]
  ------------------
  209|   356k|        tstate->holds_gil = 0;
  210|   356k|        tstate->gil_requested = 0;
  211|   356k|    }
  212|   356k|    COND_SIGNAL(gil->cond);
  ------------------
  |  |  130|   356k|    if (PyCOND_SIGNAL(&(cond))) { \
  |  |  ------------------
  |  |  |  |   64|   356k|#define PyCOND_SIGNAL(cond)     pthread_cond_signal(cond)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (64:33): [True: 0, False: 356k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  131|   356k|        Py_FatalError("PyCOND_SIGNAL(" #cond ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  213|   356k|    MUTEX_UNLOCK(gil->mutex);
  ------------------
  |  |  120|   356k|    if (PyMUTEX_UNLOCK(&(mut))) { \
  |  |  ------------------
  |  |  |  |   60|   356k|#define PyMUTEX_UNLOCK(mut)     pthread_mutex_unlock(mut)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (60:33): [True: 0, False: 356k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  121|   356k|        Py_FatalError("PyMUTEX_UNLOCK(" #mut ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  214|   356k|}
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:
  407|  21.7M|static inline int _Py_EnterRecursivePy(PyThreadState *tstate) {
  408|  21.7M|    return (tstate->py_recursion_remaining-- <= 0) &&
  ------------------
  |  Branch (408:12): [True: 14.7k, False: 21.7M]
  ------------------
  409|  14.7k|        _Py_CheckRecursiveCallPy(tstate);
  ------------------
  |  Branch (409:9): [True: 14.7k, False: 0]
  ------------------
  410|  21.7M|}
ceval.c:check_periodics_at_end:
  532|  63.1M|check_periodics_at_end(PyThreadState *tstate, _PyInterpreterFrame *frame) {
  533|  63.1M|    _Py_CHECK_EMSCRIPTEN_SIGNALS_PERIODICALLY();
  534|  63.1M|    QSBR_QUIESCENT_STATE(tstate);
  535|  63.1M|    if (_Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker) & _PY_EVAL_EVENTS_MASK) {
  ------------------
  |  |  356|  63.1M|#define _PY_EVAL_EVENTS_MASK ((1 << _PY_EVAL_EVENTS_BITS)-1)
  |  |  ------------------
  |  |  |  |  355|  63.1M|#define _PY_EVAL_EVENTS_BITS 8
  |  |  ------------------
  ------------------
  |  Branch (535:9): [True: 7.45k, False: 63.1M]
  ------------------
  536|       |        // Do not handle pending interrupts if the previous instruction was LOAD_SPECIAL
  537|       |        // This may also not handle interrupts if a cache looks like LOAD_SPECIAL,
  538|       |        // but this is benign as we won't skip periodic checks indefinitely.
  539|  7.45k|        if (frame->instr_ptr[-1].op.code == LOAD_SPECIAL) {
  ------------------
  |  |  104|  7.45k|#define LOAD_SPECIAL                            91
  ------------------
  |  Branch (539:13): [True: 0, False: 7.45k]
  ------------------
  540|      0|            return 0;
  541|      0|        }
  542|  7.45k|        return _Py_HandlePending(tstate);
  543|  7.45k|    }
  544|  63.1M|    return 0;
  545|  63.1M|}
ceval.c:gen_try_set_executing:
  551|  11.4M|{
  552|       |#ifdef Py_GIL_DISABLED
  553|       |    if (!_PyObject_IsUniquelyReferenced((PyObject *)gen)) {
  554|       |        int8_t frame_state = _Py_atomic_load_int8_relaxed(&gen->gi_frame_state);
  555|       |        while (frame_state < FRAME_SUSPENDED_YIELD_FROM_LOCKED) {
  556|       |            if (_Py_atomic_compare_exchange_int8(&gen->gi_frame_state,
  557|       |                                                 &frame_state,
  558|       |                                                 FRAME_EXECUTING)) {
  559|       |                return true;
  560|       |            }
  561|       |        }
  562|       |        // NB: We return false for FRAME_SUSPENDED_YIELD_FROM_LOCKED as well.
  563|       |        // That case is rare enough that we can just handle it in the deopt.
  564|       |        return false;
  565|       |    }
  566|       |#endif
  567|       |    // Use faster non-atomic modifications in the GIL-enabled build and when
  568|       |    // the object is uniquely referenced in the free-threaded build.
  569|  11.4M|    if (gen->gi_frame_state < FRAME_EXECUTING) {
  ------------------
  |  Branch (569:9): [True: 11.4M, False: 0]
  ------------------
  570|  11.4M|        assert(gen->gi_frame_state != FRAME_SUSPENDED_YIELD_FROM_LOCKED);
  ------------------
  |  Branch (570:9): [True: 11.4M, False: 0]
  ------------------
  571|  11.4M|        gen->gi_frame_state = FRAME_EXECUTING;
  572|  11.4M|        return true;
  573|  11.4M|    }
  574|      0|    return false;
  575|  11.4M|}
ceval.c:check_periodics:
  522|  79.1M|check_periodics(PyThreadState *tstate) {
  523|  79.1M|    _Py_CHECK_EMSCRIPTEN_SIGNALS_PERIODICALLY();
  524|  79.1M|    QSBR_QUIESCENT_STATE(tstate);
  525|  79.1M|    if (_Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker) & _PY_EVAL_EVENTS_MASK) {
  ------------------
  |  |  356|  79.1M|#define _PY_EVAL_EVENTS_MASK ((1 << _PY_EVAL_EVENTS_BITS)-1)
  |  |  ------------------
  |  |  |  |  355|  79.1M|#define _PY_EVAL_EVENTS_BITS 8
  |  |  ------------------
  ------------------
  |  Branch (525:9): [True: 16.0k, False: 79.0M]
  ------------------
  526|  16.0k|        return _Py_HandlePending(tstate);
  527|  16.0k|    }
  528|  79.0M|    return 0;
  529|  79.1M|}
ceval.c:_Py_LeaveRecursiveCallPy:
  412|   163M|static inline void _Py_LeaveRecursiveCallPy(PyThreadState *tstate)  {
  413|   163M|    tstate->py_recursion_remaining++;
  414|   163M|}

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

bltinmodule.c:builtin___import__:
   42|   356k|{
   43|   356k|    PyObject *return_value = NULL;
   44|   356k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   45|       |
   46|   356k|    #define NUM_KEYWORDS 5
   47|   356k|    static struct {
   48|   356k|        PyGC_Head _this_is_not_used;
   49|   356k|        PyObject_VAR_HEAD
   50|   356k|        Py_hash_t ob_hash;
   51|   356k|        PyObject *ob_item[NUM_KEYWORDS];
   52|   356k|    } _kwtuple = {
   53|   356k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|   356k|    {                                     \
  |  |   98|   356k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|   356k|    {                               \
  |  |  |  |   91|   356k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|   356k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|   356k|#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|   356k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|   356k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|   356k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|   356k|        (type)                      \
  |  |  |  |   93|   356k|    },
  |  |  ------------------
  |  |   99|   356k|        (size)                            \
  |  |  100|   356k|    },
  ------------------
   54|   356k|        .ob_hash = -1,
   55|   356k|        .ob_item = { &_Py_ID(name), &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(fromlist), &_Py_ID(level), },
  ------------------
  |  |  920|   356k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   356k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   356k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(fromlist), &_Py_ID(level), },
  ------------------
  |  |  920|   356k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   356k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   356k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(fromlist), &_Py_ID(level), },
  ------------------
  |  |  920|   356k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   356k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   356k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(fromlist), &_Py_ID(level), },
  ------------------
  |  |  920|   356k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   356k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   356k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(fromlist), &_Py_ID(level), },
  ------------------
  |  |  920|   356k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   356k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   356k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   56|   356k|    };
   57|   356k|    #undef NUM_KEYWORDS
   58|   356k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   59|       |
   60|       |    #else  // !Py_BUILD_CORE
   61|       |    #  define KWTUPLE NULL
   62|       |    #endif  // !Py_BUILD_CORE
   63|       |
   64|   356k|    static const char * const _keywords[] = {"name", "globals", "locals", "fromlist", "level", NULL};
   65|   356k|    static _PyArg_Parser _parser = {
   66|   356k|        .keywords = _keywords,
   67|   356k|        .fname = "__import__",
   68|   356k|        .kwtuple = KWTUPLE,
  ------------------
  |  |   58|   356k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
   69|   356k|    };
   70|   356k|    #undef KWTUPLE
   71|   356k|    PyObject *argsbuf[5];
   72|   356k|    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 (72:36): [True: 2, False: 356k]
  ------------------
   73|   356k|    PyObject *name;
   74|   356k|    PyObject *globals = NULL;
   75|   356k|    PyObject *locals = NULL;
   76|   356k|    PyObject *fromlist = NULL;
   77|   356k|    int level = 0;
   78|       |
   79|   356k|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|   356k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 356k, False: 2]
  |  |  ------------------
  |  |   89|   356k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 356k, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 356k]
  |  |  |  Branch (89:43): [True: 356k, False: 0]
  |  |  |  Branch (89:67): [True: 356k, False: 0]
  |  |  ------------------
  |  |   90|   356k|      (args) : \
  |  |   91|   356k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      2|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
   80|   356k|            /*minpos*/ 1, /*maxpos*/ 5, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
   81|   356k|    if (!args) {
  ------------------
  |  Branch (81:9): [True: 0, False: 356k]
  ------------------
   82|      0|        goto exit;
   83|      0|    }
   84|   356k|    name = args[0];
   85|   356k|    if (!noptargs) {
  ------------------
  |  Branch (85:9): [True: 13, False: 356k]
  ------------------
   86|     13|        goto skip_optional_pos;
   87|     13|    }
   88|   356k|    if (args[1]) {
  ------------------
  |  Branch (88:9): [True: 356k, False: 2]
  ------------------
   89|   356k|        globals = args[1];
   90|   356k|        if (!--noptargs) {
  ------------------
  |  Branch (90:13): [True: 0, False: 356k]
  ------------------
   91|      0|            goto skip_optional_pos;
   92|      0|        }
   93|   356k|    }
   94|   356k|    if (args[2]) {
  ------------------
  |  Branch (94:9): [True: 356k, False: 2]
  ------------------
   95|   356k|        locals = args[2];
   96|   356k|        if (!--noptargs) {
  ------------------
  |  Branch (96:13): [True: 0, False: 356k]
  ------------------
   97|      0|            goto skip_optional_pos;
   98|      0|        }
   99|   356k|    }
  100|   356k|    if (args[3]) {
  ------------------
  |  Branch (100:9): [True: 356k, False: 0]
  ------------------
  101|   356k|        fromlist = args[3];
  102|   356k|        if (!--noptargs) {
  ------------------
  |  Branch (102:13): [True: 0, False: 356k]
  ------------------
  103|      0|            goto skip_optional_pos;
  104|      0|        }
  105|   356k|    }
  106|   356k|    level = PyLong_AsInt(args[4]);
  107|   356k|    if (level == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (107:9): [True: 0, False: 356k]
  |  Branch (107:24): [True: 0, False: 0]
  ------------------
  108|      0|        goto exit;
  109|      0|    }
  110|   356k|skip_optional_pos:
  111|   356k|    return_value = builtin___import___impl(module, name, globals, locals, fromlist, level);
  112|       |
  113|   356k|exit:
  114|   356k|    return return_value;
  115|   356k|}
bltinmodule.c:builtin_delattr:
  811|     36|{
  812|     36|    PyObject *return_value = NULL;
  813|     36|    PyObject *obj;
  814|     36|    PyObject *name;
  815|       |
  816|     36|    if (!_PyArg_CheckPositional("delattr", nargs, 2, 2)) {
  ------------------
  |  |   31|     36|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 36, False: 0]
  |  |  |  Branch (31:27): [True: 36, False: 0]
  |  |  ------------------
  |  |   32|     36|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  817|      0|        goto exit;
  818|      0|    }
  819|     36|    obj = args[0];
  820|     36|    name = args[1];
  821|     36|    return_value = builtin_delattr_impl(module, obj, name);
  822|       |
  823|     36|exit:
  824|     36|    return return_value;
  825|     36|}
bltinmodule.c:builtin_eval:
  532|      3|{
  533|      3|    PyObject *return_value = NULL;
  534|      3|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  535|       |
  536|      3|    #define NUM_KEYWORDS 2
  537|      3|    static struct {
  538|      3|        PyGC_Head _this_is_not_used;
  539|      3|        PyObject_VAR_HEAD
  540|      3|        Py_hash_t ob_hash;
  541|      3|        PyObject *ob_item[NUM_KEYWORDS];
  542|      3|    } _kwtuple = {
  543|      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|    },
  ------------------
  544|      3|        .ob_hash = -1,
  545|      3|        .ob_item = { &_Py_ID(globals), &_Py_ID(locals), },
  ------------------
  |  |  920|      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(globals), &_Py_ID(locals), },
  ------------------
  |  |  920|      3|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      3|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      3|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  546|      3|    };
  547|      3|    #undef NUM_KEYWORDS
  548|      3|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  549|       |
  550|       |    #else  // !Py_BUILD_CORE
  551|       |    #  define KWTUPLE NULL
  552|       |    #endif  // !Py_BUILD_CORE
  553|       |
  554|      3|    static const char * const _keywords[] = {"", "globals", "locals", NULL};
  555|      3|    static _PyArg_Parser _parser = {
  556|      3|        .keywords = _keywords,
  557|      3|        .fname = "eval",
  558|      3|        .kwtuple = KWTUPLE,
  ------------------
  |  |  548|      3|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  559|      3|    };
  560|      3|    #undef KWTUPLE
  561|      3|    PyObject *argsbuf[3];
  562|      3|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (562:36): [True: 0, False: 3]
  ------------------
  563|      3|    PyObject *source;
  564|      3|    PyObject *globals = Py_None;
  ------------------
  |  |  616|      3|#  define Py_None (&_Py_NoneStruct)
  ------------------
  565|      3|    PyObject *locals = Py_None;
  ------------------
  |  |  616|      3|#  define Py_None (&_Py_NoneStruct)
  ------------------
  566|       |
  567|      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)))
  ------------------
  568|      3|            /*minpos*/ 1, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  569|      3|    if (!args) {
  ------------------
  |  Branch (569:9): [True: 0, False: 3]
  ------------------
  570|      0|        goto exit;
  571|      0|    }
  572|      3|    source = args[0];
  573|      3|    if (!noptargs) {
  ------------------
  |  Branch (573:9): [True: 0, False: 3]
  ------------------
  574|      0|        goto skip_optional_pos;
  575|      0|    }
  576|      3|    if (args[1]) {
  ------------------
  |  Branch (576:9): [True: 3, False: 0]
  ------------------
  577|      3|        globals = args[1];
  578|      3|        if (!--noptargs) {
  ------------------
  |  Branch (578:13): [True: 3, False: 0]
  ------------------
  579|      3|            goto skip_optional_pos;
  580|      3|        }
  581|      3|    }
  582|      0|    locals = args[2];
  583|      3|skip_optional_pos:
  584|      3|    return_value = builtin_eval_impl(module, source, globals, locals);
  585|       |
  586|      3|exit:
  587|      3|    return return_value;
  588|      3|}
bltinmodule.c:builtin_exec:
  613|     56|{
  614|     56|    PyObject *return_value = NULL;
  615|     56|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  616|       |
  617|     56|    #define NUM_KEYWORDS 3
  618|     56|    static struct {
  619|     56|        PyGC_Head _this_is_not_used;
  620|     56|        PyObject_VAR_HEAD
  621|     56|        Py_hash_t ob_hash;
  622|     56|        PyObject *ob_item[NUM_KEYWORDS];
  623|     56|    } _kwtuple = {
  624|     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|    },
  ------------------
  625|     56|        .ob_hash = -1,
  626|     56|        .ob_item = { &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(closure), },
  ------------------
  |  |  920|     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(globals), &_Py_ID(locals), &_Py_ID(closure), },
  ------------------
  |  |  920|     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(globals), &_Py_ID(locals), &_Py_ID(closure), },
  ------------------
  |  |  920|     56|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     56|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     56|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  627|     56|    };
  628|     56|    #undef NUM_KEYWORDS
  629|     56|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  630|       |
  631|       |    #else  // !Py_BUILD_CORE
  632|       |    #  define KWTUPLE NULL
  633|       |    #endif  // !Py_BUILD_CORE
  634|       |
  635|     56|    static const char * const _keywords[] = {"", "globals", "locals", "closure", NULL};
  636|     56|    static _PyArg_Parser _parser = {
  637|     56|        .keywords = _keywords,
  638|     56|        .fname = "exec",
  639|     56|        .kwtuple = KWTUPLE,
  ------------------
  |  |  629|     56|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  640|     56|    };
  641|     56|    #undef KWTUPLE
  642|     56|    PyObject *argsbuf[4];
  643|     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 (643:36): [True: 0, False: 56]
  ------------------
  644|     56|    PyObject *source;
  645|     56|    PyObject *globals = Py_None;
  ------------------
  |  |  616|     56|#  define Py_None (&_Py_NoneStruct)
  ------------------
  646|     56|    PyObject *locals = Py_None;
  ------------------
  |  |  616|     56|#  define Py_None (&_Py_NoneStruct)
  ------------------
  647|     56|    PyObject *closure = NULL;
  648|       |
  649|     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)))
  ------------------
  650|     56|            /*minpos*/ 1, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  651|     56|    if (!args) {
  ------------------
  |  Branch (651:9): [True: 0, False: 56]
  ------------------
  652|      0|        goto exit;
  653|      0|    }
  654|     56|    source = args[0];
  655|     56|    if (!noptargs) {
  ------------------
  |  Branch (655:9): [True: 0, False: 56]
  ------------------
  656|      0|        goto skip_optional_pos;
  657|      0|    }
  658|     56|    if (args[1]) {
  ------------------
  |  Branch (658:9): [True: 56, False: 0]
  ------------------
  659|     56|        globals = args[1];
  660|     56|        if (!--noptargs) {
  ------------------
  |  Branch (660:13): [True: 56, False: 0]
  ------------------
  661|     56|            goto skip_optional_pos;
  662|     56|        }
  663|     56|    }
  664|      0|    if (args[2]) {
  ------------------
  |  Branch (664:9): [True: 0, False: 0]
  ------------------
  665|      0|        locals = args[2];
  666|      0|        if (!--noptargs) {
  ------------------
  |  Branch (666:13): [True: 0, False: 0]
  ------------------
  667|      0|            goto skip_optional_pos;
  668|      0|        }
  669|      0|    }
  670|     56|skip_optional_pos:
  671|     56|    if (!noptargs) {
  ------------------
  |  Branch (671:9): [True: 56, False: 0]
  ------------------
  672|     56|        goto skip_optional_kwonly;
  673|     56|    }
  674|      0|    closure = args[3];
  675|     56|skip_optional_kwonly:
  676|     56|    return_value = builtin_exec_impl(module, source, globals, locals, closure);
  677|       |
  678|     56|exit:
  679|     56|    return return_value;
  680|     56|}
bltinmodule.c:builtin_globals:
  699|     43|{
  700|     43|    return builtin_globals_impl(module);
  701|     43|}
bltinmodule.c:builtin_hasattr:
  719|    297|{
  720|    297|    PyObject *return_value = NULL;
  721|    297|    PyObject *obj;
  722|    297|    PyObject *name;
  723|       |
  724|    297|    if (!_PyArg_CheckPositional("hasattr", nargs, 2, 2)) {
  ------------------
  |  |   31|    297|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 297, False: 0]
  |  |  |  Branch (31:27): [True: 297, False: 0]
  |  |  ------------------
  |  |   32|    297|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  725|      0|        goto exit;
  726|      0|    }
  727|    297|    obj = args[0];
  728|    297|    name = args[1];
  729|    297|    return_value = builtin_hasattr_impl(module, obj, name);
  730|       |
  731|    297|exit:
  732|    297|    return return_value;
  733|    297|}
bltinmodule.c:builtin_isinstance:
 1340|     65|{
 1341|     65|    PyObject *return_value = NULL;
 1342|     65|    PyObject *obj;
 1343|     65|    PyObject *class_or_tuple;
 1344|       |
 1345|     65|    if (!_PyArg_CheckPositional("isinstance", nargs, 2, 2)) {
  ------------------
  |  |   31|     65|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 65, False: 0]
  |  |  |  Branch (31:27): [True: 65, False: 0]
  |  |  ------------------
  |  |   32|     65|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1346|      0|        goto exit;
 1347|      0|    }
 1348|     65|    obj = args[0];
 1349|     65|    class_or_tuple = args[1];
 1350|     65|    return_value = builtin_isinstance_impl(module, obj, class_or_tuple);
 1351|       |
 1352|     65|exit:
 1353|     65|    return return_value;
 1354|     65|}
bltinmodule.c:builtin_issubclass:
 1375|     10|{
 1376|     10|    PyObject *return_value = NULL;
 1377|     10|    PyObject *cls;
 1378|     10|    PyObject *class_or_tuple;
 1379|       |
 1380|     10|    if (!_PyArg_CheckPositional("issubclass", 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]
  |  |  ------------------
  ------------------
 1381|      0|        goto exit;
 1382|      0|    }
 1383|     10|    cls = args[0];
 1384|     10|    class_or_tuple = args[1];
 1385|     10|    return_value = builtin_issubclass_impl(module, cls, class_or_tuple);
 1386|       |
 1387|     10|exit:
 1388|     10|    return return_value;
 1389|     10|}
bltinmodule.c:builtin_pow:
  977|      1|{
  978|      1|    PyObject *return_value = NULL;
  979|      1|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  980|       |
  981|      1|    #define NUM_KEYWORDS 3
  982|      1|    static struct {
  983|      1|        PyGC_Head _this_is_not_used;
  984|      1|        PyObject_VAR_HEAD
  985|      1|        Py_hash_t ob_hash;
  986|      1|        PyObject *ob_item[NUM_KEYWORDS];
  987|      1|    } _kwtuple = {
  988|      1|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|      1|    {                                     \
  |  |   98|      1|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|      1|    {                               \
  |  |  |  |   91|      1|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|      1|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      1|#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|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|      1|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|      1|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|      1|        (type)                      \
  |  |  |  |   93|      1|    },
  |  |  ------------------
  |  |   99|      1|        (size)                            \
  |  |  100|      1|    },
  ------------------
  989|      1|        .ob_hash = -1,
  990|      1|        .ob_item = { &_Py_ID(base), &_Py_ID(exp), &_Py_ID(mod), },
  ------------------
  |  |  920|      1|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      1|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      1|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(base), &_Py_ID(exp), &_Py_ID(mod), },
  ------------------
  |  |  920|      1|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      1|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      1|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(base), &_Py_ID(exp), &_Py_ID(mod), },
  ------------------
  |  |  920|      1|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      1|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      1|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  991|      1|    };
  992|      1|    #undef NUM_KEYWORDS
  993|      1|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  994|       |
  995|       |    #else  // !Py_BUILD_CORE
  996|       |    #  define KWTUPLE NULL
  997|       |    #endif  // !Py_BUILD_CORE
  998|       |
  999|      1|    static const char * const _keywords[] = {"base", "exp", "mod", NULL};
 1000|      1|    static _PyArg_Parser _parser = {
 1001|      1|        .keywords = _keywords,
 1002|      1|        .fname = "pow",
 1003|      1|        .kwtuple = KWTUPLE,
  ------------------
  |  |  993|      1|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1004|      1|    };
 1005|      1|    #undef KWTUPLE
 1006|      1|    PyObject *argsbuf[3];
 1007|      1|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 2;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1007:36): [True: 0, False: 1]
  ------------------
 1008|      1|    PyObject *base;
 1009|      1|    PyObject *exp;
 1010|      1|    PyObject *mod = Py_None;
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1011|       |
 1012|      1|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|      1|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 1, False: 0]
  |  |  ------------------
  |  |   89|      1|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 1, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 1]
  |  |  |  Branch (89:43): [True: 1, False: 0]
  |  |  |  Branch (89:67): [True: 1, False: 0]
  |  |  ------------------
  |  |   90|      1|      (args) : \
  |  |   91|      1|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1013|      1|            /*minpos*/ 2, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1014|      1|    if (!args) {
  ------------------
  |  Branch (1014:9): [True: 0, False: 1]
  ------------------
 1015|      0|        goto exit;
 1016|      0|    }
 1017|      1|    base = args[0];
 1018|      1|    exp = args[1];
 1019|      1|    if (!noptargs) {
  ------------------
  |  Branch (1019:9): [True: 0, False: 1]
  ------------------
 1020|      0|        goto skip_optional_pos;
 1021|      0|    }
 1022|      1|    mod = args[2];
 1023|      1|skip_optional_pos:
 1024|      1|    return_value = builtin_pow_impl(module, base, exp, mod);
 1025|       |
 1026|      1|exit:
 1027|      1|    return return_value;
 1028|      1|}
bltinmodule.c:builtin_setattr:
  777|    152|{
  778|    152|    PyObject *return_value = NULL;
  779|    152|    PyObject *obj;
  780|    152|    PyObject *name;
  781|    152|    PyObject *value;
  782|       |
  783|    152|    if (!_PyArg_CheckPositional("setattr", nargs, 3, 3)) {
  ------------------
  |  |   31|    152|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 152, False: 0]
  |  |  |  Branch (31:27): [True: 152, False: 0]
  |  |  ------------------
  |  |   32|    152|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  784|      0|        goto exit;
  785|      0|    }
  786|    152|    obj = args[0];
  787|    152|    name = args[1];
  788|    152|    value = args[2];
  789|    152|    return_value = builtin_setattr_impl(module, obj, name, value);
  790|       |
  791|    152|exit:
  792|    152|    return return_value;
  793|    152|}

context.c:_contextvars_ContextVar_get:
  141|      1|{
  142|      1|    PyObject *return_value = NULL;
  143|      1|    PyObject *default_value = NULL;
  144|       |
  145|      1|    if (!_PyArg_CheckPositional("get", nargs, 0, 1)) {
  ------------------
  |  |   31|      1|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 1, False: 0]
  |  |  |  Branch (31:27): [True: 1, False: 0]
  |  |  ------------------
  |  |   32|      1|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  146|      0|        goto exit;
  147|      0|    }
  148|      1|    if (nargs < 1) {
  ------------------
  |  Branch (148:9): [True: 1, False: 0]
  ------------------
  149|      1|        goto skip_optional;
  150|      1|    }
  151|      0|    default_value = args[0];
  152|      1|skip_optional:
  153|      1|    return_value = _contextvars_ContextVar_get_impl((PyContextVar *)self, default_value);
  154|       |
  155|      1|exit:
  156|      1|    return return_value;
  157|      1|}
context.c:_contextvars_ContextVar_set:
  179|      1|{
  180|      1|    PyObject *return_value = NULL;
  181|       |
  182|      1|    return_value = _contextvars_ContextVar_set_impl((PyContextVar *)self, value);
  183|       |
  184|      1|    return return_value;
  185|      1|}

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

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

sysmodule.c:sys_audit:
   83|     89|{
   84|     89|    PyObject *return_value = NULL;
   85|     89|    const char *event;
   86|     89|    PyObject *__clinic_args = NULL;
   87|       |
   88|     89|    if (!_PyArg_CheckPositional("audit", nargs, 1, PY_SSIZE_T_MAX)) {
  ------------------
  |  |   31|     89|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 89, False: 0]
  |  |  |  Branch (31:27): [True: 89, False: 0]
  |  |  ------------------
  |  |   32|     89|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   89|      0|        goto exit;
   90|      0|    }
   91|     89|    if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|     89|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     89|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (91:9): [True: 0, False: 89]
  ------------------
   92|      0|        _PyArg_BadArgument("audit", "argument 1", "str", args[0]);
   93|      0|        goto exit;
   94|      0|    }
   95|     89|    Py_ssize_t event_length;
   96|     89|    event = PyUnicode_AsUTF8AndSize(args[0], &event_length);
   97|     89|    if (event == NULL) {
  ------------------
  |  Branch (97:9): [True: 0, False: 89]
  ------------------
   98|      0|        goto exit;
   99|      0|    }
  100|     89|    if (strlen(event) != (size_t)event_length) {
  ------------------
  |  Branch (100:9): [True: 0, False: 89]
  ------------------
  101|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
  102|      0|        goto exit;
  103|      0|    }
  104|     89|    __clinic_args = PyTuple_FromArray(args + 1, nargs - 1);
  105|     89|    if (__clinic_args == NULL) {
  ------------------
  |  Branch (105:9): [True: 0, False: 89]
  ------------------
  106|      0|        goto exit;
  107|      0|    }
  108|     89|    return_value = sys_audit_impl(module, event, __clinic_args);
  109|       |
  110|     89|exit:
  111|       |    /* Cleanup for args */
  112|     89|    Py_XDECREF(__clinic_args);
  ------------------
  |  |  524|     89|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     89|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     89|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  113|       |
  114|     89|    return return_value;
  115|     89|}
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__getframe:
 1122|      2|{
 1123|      2|    PyObject *return_value = NULL;
 1124|      2|    int depth = 0;
 1125|       |
 1126|      2|    if (!_PyArg_CheckPositional("_getframe", nargs, 0, 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]
  |  |  ------------------
  ------------------
 1127|      0|        goto exit;
 1128|      0|    }
 1129|      2|    if (nargs < 1) {
  ------------------
  |  Branch (1129:9): [True: 2, False: 0]
  ------------------
 1130|      2|        goto skip_optional;
 1131|      2|    }
 1132|      0|    depth = PyLong_AsInt(args[0]);
 1133|      0|    if (depth == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1133:9): [True: 0, False: 0]
  |  Branch (1133:24): [True: 0, False: 0]
  ------------------
 1134|      0|        goto exit;
 1135|      0|    }
 1136|      2|skip_optional:
 1137|      2|    return_value = sys__getframe_impl(module, depth);
 1138|       |
 1139|      2|exit:
 1140|      2|    return return_value;
 1141|      2|}
sysmodule.c:sys__getframemodulename:
 1670|      2|{
 1671|      2|    PyObject *return_value = NULL;
 1672|      2|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1673|       |
 1674|      2|    #define NUM_KEYWORDS 1
 1675|      2|    static struct {
 1676|      2|        PyGC_Head _this_is_not_used;
 1677|      2|        PyObject_VAR_HEAD
 1678|      2|        Py_hash_t ob_hash;
 1679|      2|        PyObject *ob_item[NUM_KEYWORDS];
 1680|      2|    } _kwtuple = {
 1681|      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|    },
  ------------------
 1682|      2|        .ob_hash = -1,
 1683|      2|        .ob_item = { &_Py_ID(depth), },
  ------------------
  |  |  920|      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|    };
 1685|      2|    #undef NUM_KEYWORDS
 1686|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1687|       |
 1688|       |    #else  // !Py_BUILD_CORE
 1689|       |    #  define KWTUPLE NULL
 1690|       |    #endif  // !Py_BUILD_CORE
 1691|       |
 1692|      2|    static const char * const _keywords[] = {"depth", NULL};
 1693|      2|    static _PyArg_Parser _parser = {
 1694|      2|        .keywords = _keywords,
 1695|      2|        .fname = "_getframemodulename",
 1696|      2|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1686|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1697|      2|    };
 1698|      2|    #undef KWTUPLE
 1699|      2|    PyObject *argsbuf[1];
 1700|      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 (1700:36): [True: 0, False: 2]
  ------------------
 1701|      2|    int depth = 0;
 1702|       |
 1703|      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)))
  ------------------
 1704|      2|            /*minpos*/ 0, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1705|      2|    if (!args) {
  ------------------
  |  Branch (1705:9): [True: 0, False: 2]
  ------------------
 1706|      0|        goto exit;
 1707|      0|    }
 1708|      2|    if (!noptargs) {
  ------------------
  |  Branch (1708:9): [True: 0, False: 2]
  ------------------
 1709|      0|        goto skip_optional_pos;
 1710|      0|    }
 1711|      2|    depth = PyLong_AsInt(args[0]);
 1712|      2|    if (depth == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1712:9): [True: 0, False: 2]
  |  Branch (1712:24): [True: 0, False: 0]
  ------------------
 1713|      0|        goto exit;
 1714|      0|    }
 1715|      2|skip_optional_pos:
 1716|      2|    return_value = sys__getframemodulename_impl(module, depth);
 1717|       |
 1718|      2|exit:
 1719|      2|    return return_value;
 1720|      2|}
sysmodule.c:sys_intern:
  328|     27|{
  329|     27|    PyObject *return_value = NULL;
  330|     27|    PyObject *s;
  331|       |
  332|     27|    if (!PyUnicode_Check(arg)) {
  ------------------
  |  |  103|     27|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     27|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (332:9): [True: 0, False: 27]
  ------------------
  333|      0|        _PyArg_BadArgument("intern", "argument", "str", arg);
  334|      0|        goto exit;
  335|      0|    }
  336|     27|    s = arg;
  337|     27|    return_value = sys_intern_impl(module, s);
  338|       |
  339|     27|exit:
  340|     27|    return return_value;
  341|     27|}
sysmodule.c:sys__get_cpu_count_config:
 1736|      2|{
 1737|      2|    PyObject *return_value = NULL;
 1738|      2|    int _return_value;
 1739|       |
 1740|      2|    _return_value = sys__get_cpu_count_config_impl(module);
 1741|      2|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (1741:9): [True: 2, False: 0]
  |  Branch (1741:34): [True: 0, False: 2]
  ------------------
 1742|      0|        goto exit;
 1743|      0|    }
 1744|      2|    return_value = PyLong_FromLong((long)_return_value);
 1745|       |
 1746|      2|exit:
 1747|      2|    return return_value;
 1748|      2|}

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

_Py_CArray_Init:
  110|      3|_Py_CArray_Init(_Py_c_array_t* array, int item_size, int initial_num_entries) {
  111|      3|    memset(array, 0, sizeof(_Py_c_array_t));
  112|      3|    array->item_size = item_size;
  113|      3|    array->initial_num_entries = initial_num_entries;
  114|      3|    return 0;
  115|      3|}
_Py_CArray_Fini:
  119|      3|{
  120|      3|    if (array->array) {
  ------------------
  |  Branch (120:9): [True: 0, False: 3]
  ------------------
  121|      0|        PyMem_Free(array->array);
  122|      0|        array->allocated_entries = 0;
  123|      0|    }
  124|      3|}
_Py_CArray_EnsureCapacity:
  128|    152|{
  129|    152|    void *arr = c_array->array;
  130|    152|    int alloc = c_array->allocated_entries;
  131|    152|    if (arr == NULL) {
  ------------------
  |  Branch (131:9): [True: 30, False: 122]
  ------------------
  132|     30|        int new_alloc = c_array->initial_num_entries;
  133|     30|        if (idx >= new_alloc) {
  ------------------
  |  Branch (133:13): [True: 0, False: 30]
  ------------------
  134|      0|            new_alloc = idx + c_array->initial_num_entries;
  135|      0|        }
  136|     30|        arr = PyMem_Calloc(new_alloc, c_array->item_size);
  137|     30|        if (arr == NULL) {
  ------------------
  |  Branch (137:13): [True: 0, False: 30]
  ------------------
  138|      0|            PyErr_NoMemory();
  139|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  140|      0|        }
  141|     30|        alloc = new_alloc;
  142|     30|    }
  143|    122|    else if (idx >= alloc) {
  ------------------
  |  Branch (143:14): [True: 0, False: 122]
  ------------------
  144|      0|        size_t oldsize = alloc * c_array->item_size;
  145|      0|        int new_alloc = alloc << 1;
  146|      0|        if (idx >= new_alloc) {
  ------------------
  |  Branch (146:13): [True: 0, False: 0]
  ------------------
  147|      0|            new_alloc = idx + c_array->initial_num_entries;
  148|      0|        }
  149|      0|        size_t newsize = new_alloc * c_array->item_size;
  150|       |
  151|      0|        if (oldsize > (SIZE_MAX >> 1)) {
  ------------------
  |  Branch (151:13): [True: 0, False: 0]
  ------------------
  152|      0|            PyErr_NoMemory();
  153|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  154|      0|        }
  155|       |
  156|      0|        assert(newsize > 0);
  ------------------
  |  Branch (156:9): [True: 0, False: 0]
  ------------------
  157|      0|        void *tmp = PyMem_Realloc(arr, newsize);
  158|      0|        if (tmp == NULL) {
  ------------------
  |  Branch (158:13): [True: 0, False: 0]
  ------------------
  159|      0|            PyErr_NoMemory();
  160|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  161|      0|        }
  162|      0|        alloc = new_alloc;
  163|      0|        arr = tmp;
  164|      0|        memset((char *)arr + oldsize, 0, newsize - oldsize);
  165|      0|    }
  166|       |
  167|    152|    c_array->array = arr;
  168|    152|    c_array->allocated_entries = alloc;
  169|    152|    return SUCCESS;
  ------------------
  |  |   47|    152|#define SUCCESS 0
  ------------------
  170|    152|}
_PyCodegen_Expression:
  907|      3|{
  908|      3|    VISIT(c, expr, e);
  ------------------
  |  |  453|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  909|      3|    return SUCCESS;
  ------------------
  |  |   47|      3|#define SUCCESS 0
  ------------------
  910|      3|}
_PyCodegen_EnterAnonymousScope:
  972|      3|{
  973|      3|    _Py_DECLARE_STR(anon_module, "<module>");
  974|      3|    RETURN_IF_ERROR(
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
  975|      3|        codegen_enter_scope(c, &_Py_STR(anon_module), COMPILE_SCOPE_MODULE,
  976|      3|                            mod, 1, NULL, NULL));
  977|      3|    return SUCCESS;
  ------------------
  |  |   47|      3|#define SUCCESS 0
  ------------------
  978|      3|}
_PyCodegen_AddReturnAtEnd:
 6765|      6|{
 6766|       |    /* Make sure every instruction stream that falls off the end returns None.
 6767|       |     * This also ensures that no jump target offsets are out of bounds.
 6768|       |     */
 6769|      6|    if (addNone) {
  ------------------
  |  Branch (6769:9): [True: 3, False: 3]
  ------------------
 6770|      3|        ADDOP_LOAD_CONST(c, NO_LOCATION, Py_None);
  ------------------
  |  |  308|      3|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6771|      3|    }
 6772|      6|    ADDOP(c, NO_LOCATION, RETURN_VALUE);
  ------------------
  |  |  291|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6773|      6|    return SUCCESS;
  ------------------
  |  |   47|      6|#define SUCCESS 0
  ------------------
 6774|      6|}
codegen.c:codegen_addop_i:
  262|     36|{
  263|       |    /* oparg value is unsigned, but a signed C int is usually used to store
  264|       |       it in the C code (like Python/ceval.c).
  265|       |
  266|       |       Limit to 32-bit signed C int (rather than INT_MAX) for portability.
  267|       |
  268|       |       The argument of a concrete bytecode instruction is limited to 8-bit.
  269|       |       EXTENDED_ARG is used for 16, 24, and 32-bit arguments. */
  270|       |
  271|     36|    int oparg_ = Py_SAFE_DOWNCAST(oparg, Py_ssize_t, int);
  ------------------
  |  |  247|     36|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|     36|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  272|     36|    assert(!IS_ASSEMBLER_OPCODE(opcode));
  ------------------
  |  Branch (272:5): [True: 0, False: 36]
  |  Branch (272:5): [True: 0, False: 36]
  |  Branch (272:5): [True: 0, False: 36]
  ------------------
  273|     36|    return _PyInstructionSequence_Addop(seq, opcode, oparg_, loc);
  274|     36|}
codegen.c:codegen_addop_o:
  330|     15|{
  331|     15|    Py_ssize_t arg = _PyCompile_DictAddObj(dict, o);
  332|     15|    RETURN_IF_ERROR(arg);
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
  333|     15|    ADDOP_I(c, loc, opcode, arg);
  ------------------
  |  |  277|     15|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  334|     15|    return SUCCESS;
  ------------------
  |  |   47|     15|#define SUCCESS 0
  ------------------
  335|     15|}
codegen.c:codegen_nameop:
 3302|     18|{
 3303|     18|    assert(!_PyUnicode_EqualToASCIIString(name, "None") &&
  ------------------
  |  Branch (3303:5): [True: 18, False: 0]
  |  Branch (3303:5): [True: 18, False: 0]
  |  Branch (3303:5): [True: 18, False: 0]
  ------------------
 3304|     18|           !_PyUnicode_EqualToASCIIString(name, "True") &&
 3305|     18|           !_PyUnicode_EqualToASCIIString(name, "False"));
 3306|       |
 3307|     18|    PyObject *mangled = _PyCompile_MaybeMangle(c, name);
 3308|     18|    if (!mangled) {
  ------------------
  |  Branch (3308:9): [True: 0, False: 18]
  ------------------
 3309|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 3310|      0|    }
 3311|       |
 3312|     18|    int scope = _PyST_GetScope(SYMTABLE_ENTRY(c), mangled);
  ------------------
  |  |   71|     18|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
 3313|     18|    if (scope == -1) {
  ------------------
  |  Branch (3313:9): [True: 0, False: 18]
  ------------------
 3314|      0|        goto error;
 3315|      0|    }
 3316|       |
 3317|     18|    _PyCompile_optype optype;
 3318|     18|    Py_ssize_t arg = 0;
 3319|     18|    if (_PyCompile_ResolveNameop(c, mangled, scope, &optype, &arg) < 0) {
  ------------------
  |  Branch (3319:9): [True: 0, False: 18]
  ------------------
 3320|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3321|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 3322|      0|    }
 3323|       |
 3324|       |    /* XXX Leave assert here, but handle __doc__ and the like better */
 3325|     18|    assert(scope || PyUnicode_READ_CHAR(name, 0) == '_');
  ------------------
  |  Branch (3325:5): [True: 18, False: 0]
  |  Branch (3325:5): [True: 0, False: 0]
  ------------------
 3326|       |
 3327|     18|    int op = 0;
 3328|     18|    switch (optype) {
  ------------------
  |  Branch (3328:13): [True: 18, False: 0]
  ------------------
 3329|      0|    case COMPILE_OP_DEREF:
  ------------------
  |  Branch (3329:5): [True: 0, False: 18]
  ------------------
 3330|      0|        switch (ctx) {
  ------------------
  |  Branch (3330:17): [True: 0, False: 0]
  ------------------
 3331|      0|        case Load:
  ------------------
  |  Branch (3331:9): [True: 0, False: 0]
  ------------------
 3332|      0|            if (SYMTABLE_ENTRY(c)->ste_type == ClassBlock && !_PyCompile_IsInInlinedComp(c)) {
  ------------------
  |  |   71|      0|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (3332:17): [True: 0, False: 0]
  |  Branch (3332:62): [True: 0, False: 0]
  ------------------
 3333|      0|                op = LOAD_FROM_DICT_OR_DEREF;
  ------------------
  |  |   99|      0|#define LOAD_FROM_DICT_OR_DEREF                 86
  ------------------
 3334|       |                // First load the locals
 3335|      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 (3335:21): [True: 0, False: 0]
  ------------------
 3336|      0|                    goto error;
 3337|      0|                }
 3338|      0|            }
 3339|      0|            else if (SYMTABLE_ENTRY(c)->ste_can_see_class_scope) {
  ------------------
  |  |   71|      0|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (3339:22): [True: 0, False: 0]
  ------------------
 3340|      0|                op = LOAD_FROM_DICT_OR_DEREF;
  ------------------
  |  |   99|      0|#define LOAD_FROM_DICT_OR_DEREF                 86
  ------------------
 3341|       |                // First load the classdict
 3342|      0|                if (codegen_load_classdict_freevar(c, loc) < 0) {
  ------------------
  |  Branch (3342:21): [True: 0, False: 0]
  ------------------
 3343|      0|                    goto error;
 3344|      0|                }
 3345|      0|            }
 3346|      0|            else {
 3347|      0|                op = LOAD_DEREF;
  ------------------
  |  |   92|      0|#define LOAD_DEREF                              79
  ------------------
 3348|      0|            }
 3349|      0|            break;
 3350|      0|        case Store: op = STORE_DEREF; break;
  ------------------
  |  |  120|      0|#define STORE_DEREF                            107
  ------------------
  |  Branch (3350:9): [True: 0, False: 0]
  ------------------
 3351|      0|        case Del: op = DELETE_DEREF; break;
  ------------------
  |  |   72|      0|#define DELETE_DEREF                            59
  ------------------
  |  Branch (3351:9): [True: 0, False: 0]
  ------------------
 3352|      0|        }
 3353|      0|        break;
 3354|     15|    case COMPILE_OP_FAST:
  ------------------
  |  Branch (3354:5): [True: 15, False: 3]
  ------------------
 3355|     15|        switch (ctx) {
  ------------------
  |  Branch (3355:17): [True: 15, False: 0]
  ------------------
 3356|     15|        case Load: op = LOAD_FAST; break;
  ------------------
  |  |   93|     15|#define LOAD_FAST                               80
  ------------------
  |  Branch (3356:9): [True: 15, False: 0]
  ------------------
 3357|      0|        case Store: op = STORE_FAST; break;
  ------------------
  |  |  121|      0|#define STORE_FAST                             108
  ------------------
  |  Branch (3357:9): [True: 0, False: 15]
  ------------------
 3358|      0|        case Del: op = DELETE_FAST; break;
  ------------------
  |  |   73|      0|#define DELETE_FAST                             60
  ------------------
  |  Branch (3358:9): [True: 0, False: 15]
  ------------------
 3359|     15|        }
 3360|     15|        ADDOP_N(c, loc, op, mangled, varnames);
  ------------------
  |  |  338|     15|    do {                                                                \
  |  |  339|     15|        assert(!OPCODE_HAS_CONST(OP)); /* use ADDOP_LOAD_CONST_NEW */   \
  |  |  340|     15|        int ret = codegen_addop_o((C), (LOC), (OP),                     \
  |  |  341|     15|                                  METADATA(C)->u_ ## TYPE, (O));        \
  |  |  ------------------
  |  |  |  |   76|     15|#define METADATA(C) _PyCompile_Metadata(C)
  |  |  ------------------
  |  |  342|     15|        Py_DECREF((O));                                                 \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  343|     15|        RETURN_IF_ERROR(ret);                                           \
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  344|     15|    } while (0)
  |  |  ------------------
  |  |  |  Branch (344:14): [Folded, False: 15]
  |  |  ------------------
  ------------------
  |  Branch (3360:9): [True: 15, False: 0]
  ------------------
 3361|     15|        return SUCCESS;
  ------------------
  |  |   47|     15|#define SUCCESS 0
  ------------------
 3362|      3|    case COMPILE_OP_GLOBAL:
  ------------------
  |  Branch (3362:5): [True: 3, False: 15]
  ------------------
 3363|      3|        switch (ctx) {
  ------------------
  |  Branch (3363:17): [True: 3, False: 0]
  ------------------
 3364|      3|        case Load:
  ------------------
  |  Branch (3364:9): [True: 3, False: 0]
  ------------------
 3365|      3|            if (SYMTABLE_ENTRY(c)->ste_can_see_class_scope && scope == GLOBAL_IMPLICIT) {
  ------------------
  |  |   71|      3|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
                          if (SYMTABLE_ENTRY(c)->ste_can_see_class_scope && scope == GLOBAL_IMPLICIT) {
  ------------------
  |  |  189|      0|#define GLOBAL_IMPLICIT 3
  ------------------
  |  Branch (3365:17): [True: 0, False: 3]
  |  Branch (3365:63): [True: 0, False: 0]
  ------------------
 3366|      0|                op = LOAD_FROM_DICT_OR_GLOBALS;
  ------------------
  |  |  100|      0|#define LOAD_FROM_DICT_OR_GLOBALS               87
  ------------------
 3367|       |                // First load the classdict
 3368|      0|                if (codegen_load_classdict_freevar(c, loc) < 0) {
  ------------------
  |  Branch (3368:21): [True: 0, False: 0]
  ------------------
 3369|      0|                    goto error;
 3370|      0|                }
 3371|      3|            } else {
 3372|      3|                op = LOAD_GLOBAL;
  ------------------
  |  |  101|      3|#define LOAD_GLOBAL                             88
  ------------------
 3373|      3|            }
 3374|      3|            break;
 3375|      3|        case Store: op = STORE_GLOBAL; break;
  ------------------
  |  |  124|      0|#define STORE_GLOBAL                           111
  ------------------
  |  Branch (3375:9): [True: 0, False: 3]
  ------------------
 3376|      0|        case Del:
  ------------------
  |  Branch (3376:9): [True: 0, False: 3]
  ------------------
 3377|      0|            ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  291|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3378|      0|            op = STORE_GLOBAL;
  ------------------
  |  |  124|      0|#define STORE_GLOBAL                           111
  ------------------
 3379|      0|            break;
 3380|      3|        }
 3381|      3|        break;
 3382|      3|    case COMPILE_OP_NAME:
  ------------------
  |  Branch (3382:5): [True: 0, False: 18]
  ------------------
 3383|      0|        switch (ctx) {
  ------------------
  |  Branch (3383:17): [True: 0, False: 0]
  ------------------
 3384|      0|        case Load:
  ------------------
  |  Branch (3384:9): [True: 0, False: 0]
  ------------------
 3385|      0|            op = (SYMTABLE_ENTRY(c)->ste_type == ClassBlock
  ------------------
  |  |   71|      0|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (3385:19): [True: 0, False: 0]
  ------------------
 3386|      0|                    && _PyCompile_IsInInlinedComp(c))
  ------------------
  |  Branch (3386:24): [True: 0, False: 0]
  ------------------
 3387|      0|                ? LOAD_GLOBAL
  ------------------
  |  |  101|      0|#define LOAD_GLOBAL                             88
  ------------------
 3388|      0|                : LOAD_NAME;
  ------------------
  |  |  102|      0|#define LOAD_NAME                               89
  ------------------
 3389|      0|            break;
 3390|      0|        case Store: op = STORE_NAME; break;
  ------------------
  |  |  125|      0|#define STORE_NAME                             112
  ------------------
  |  Branch (3390:9): [True: 0, False: 0]
  ------------------
 3391|      0|        case Del:
  ------------------
  |  Branch (3391:9): [True: 0, False: 0]
  ------------------
 3392|      0|            ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  291|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3393|      0|            op = STORE_NAME;
  ------------------
  |  |  125|      0|#define STORE_NAME                             112
  ------------------
 3394|      0|            break;
 3395|      0|        }
 3396|      0|        break;
 3397|     18|    }
 3398|       |
 3399|     18|    assert(op);
  ------------------
  |  Branch (3399:5): [True: 3, False: 0]
  ------------------
 3400|      3|    Py_DECREF(mangled);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3401|      3|    if (op == LOAD_GLOBAL) {
  ------------------
  |  |  101|      3|#define LOAD_GLOBAL                             88
  ------------------
  |  Branch (3401:9): [True: 3, False: 0]
  ------------------
 3402|      3|        arg <<= 1;
 3403|      3|    }
 3404|      3|    ADDOP_I(c, loc, op, arg);
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3405|      3|    return SUCCESS;
  ------------------
  |  |   47|      3|#define SUCCESS 0
  ------------------
 3406|       |
 3407|      0|error:
 3408|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3409|      0|    return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 3410|      3|}
codegen.c:codegen_default_arguments:
 1215|      3|{
 1216|      3|    Py_ssize_t funcflags = 0;
 1217|      3|    if (args->defaults && asdl_seq_LEN(args->defaults) > 0) {
  ------------------
  |  |   83|      3|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1217:9): [True: 3, False: 0]
  |  Branch (1217:27): [True: 0, False: 3]
  ------------------
 1218|      0|        RETURN_IF_ERROR(codegen_defaults(c, args, 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]
  |  |  ------------------
  ------------------
 1219|      0|        funcflags |= MAKE_FUNCTION_DEFAULTS;
  ------------------
  |  |   64|      0|#define MAKE_FUNCTION_DEFAULTS    0x01
  ------------------
 1220|      0|    }
 1221|      3|    if (args->kwonlyargs) {
  ------------------
  |  Branch (1221:9): [True: 3, False: 0]
  ------------------
 1222|      3|        int res = codegen_kwonlydefaults(c, loc,
 1223|      3|                                         args->kwonlyargs,
 1224|      3|                                         args->kw_defaults);
 1225|      3|        RETURN_IF_ERROR(res);
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 1226|      3|        if (res > 0) {
  ------------------
  |  Branch (1226:13): [True: 0, False: 3]
  ------------------
 1227|      0|            funcflags |= MAKE_FUNCTION_KWDEFAULTS;
  ------------------
  |  |   65|      0|#define MAKE_FUNCTION_KWDEFAULTS  0x02
  ------------------
 1228|      0|        }
 1229|      3|    }
 1230|      3|    return funcflags;
 1231|      3|}
codegen.c:codegen_kwonlydefaults:
 1050|      3|{
 1051|       |    /* Push a dict of keyword-only default values.
 1052|       |
 1053|       |       Return -1 on error, 0 if no dict pushed, 1 if a dict is pushed.
 1054|       |       */
 1055|      3|    int default_count = 0;
 1056|      3|    for (int i = 0; i < asdl_seq_LEN(kwonlyargs); i++) {
  ------------------
  |  |   83|      3|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1056:21): [True: 0, False: 3]
  ------------------
 1057|      0|        arg_ty arg = asdl_seq_GET(kwonlyargs, i);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1058|      0|        expr_ty default_ = asdl_seq_GET(kw_defaults, i);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1059|      0|        if (default_) {
  ------------------
  |  Branch (1059:13): [True: 0, False: 0]
  ------------------
 1060|      0|            default_count++;
 1061|      0|            PyObject *mangled = _PyCompile_MaybeMangle(c, arg->arg);
 1062|      0|            if (!mangled) {
  ------------------
  |  Branch (1062:17): [True: 0, False: 0]
  ------------------
 1063|      0|                return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1064|      0|            }
 1065|      0|            ADDOP_LOAD_CONST_NEW(c, loc, mangled);
  ------------------
  |  |  315|      0|    do {                                                                \
  |  |  316|      0|        PyObject *__new_const = (O);                                    \
  |  |  317|      0|        if (__new_const == NULL) {                                      \
  |  |  ------------------
  |  |  |  Branch (317:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  318|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  319|      0|        }                                                               \
  |  |  320|      0|        if (codegen_addop_load_const((C), (LOC), __new_const) < 0) {    \
  |  |  ------------------
  |  |  |  Branch (320:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  321|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  322|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  323|      0|        }                                                               \
  |  |  324|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  325|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (325:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1066|      0|            VISIT(c, expr, default_);
  ------------------
  |  |  453|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1067|      0|        }
 1068|      0|    }
 1069|      3|    if (default_count) {
  ------------------
  |  Branch (1069:9): [True: 0, False: 3]
  ------------------
 1070|      0|        ADDOP_I(c, loc, BUILD_MAP, default_count);
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1071|      0|        return 1;
 1072|      0|    }
 1073|      3|    else {
 1074|      3|        return 0;
 1075|      3|    }
 1076|      3|}
codegen.c:codegen_make_closure:
  983|      3|{
  984|      3|    if (co->co_nfreevars) {
  ------------------
  |  Branch (984:9): [True: 0, False: 3]
  ------------------
  985|      0|        int i = PyUnstable_Code_GetFirstFree(co);
  986|      0|        for (; i < co->co_nlocalsplus; ++i) {
  ------------------
  |  Branch (986:16): [True: 0, False: 0]
  ------------------
  987|       |            /* Bypass com_addop_varname because it will generate
  988|       |               LOAD_DEREF but LOAD_CLOSURE is needed.
  989|       |            */
  990|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (990:30): [True: 0, False: 0]
  ------------------
  991|      0|            int arg = _PyCompile_LookupArg(c, co, name);
  992|      0|            RETURN_IF_ERROR(arg);
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  993|      0|            ADDOP_I(c, loc, LOAD_CLOSURE, arg);
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  994|      0|        }
  995|      0|        flags |= MAKE_FUNCTION_CLOSURE;
  ------------------
  |  |   67|      0|#define MAKE_FUNCTION_CLOSURE     0x08
  ------------------
  996|      0|        ADDOP_I(c, loc, BUILD_TUPLE, co->co_nfreevars);
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  997|      0|    }
  998|      3|    ADDOP_LOAD_CONST(c, loc, (PyObject*)co);
  ------------------
  |  |  308|      3|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  999|       |
 1000|      3|    ADDOP(c, loc, MAKE_FUNCTION);
  ------------------
  |  |  291|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1001|       |
 1002|      3|    if (flags & MAKE_FUNCTION_CLOSURE) {
  ------------------
  |  |   67|      3|#define MAKE_FUNCTION_CLOSURE     0x08
  ------------------
  |  Branch (1002:9): [True: 0, False: 3]
  ------------------
 1003|      0|        ADDOP_I(c, loc, SET_FUNCTION_ATTRIBUTE, MAKE_FUNCTION_CLOSURE);
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1004|      0|    }
 1005|      3|    if (flags & MAKE_FUNCTION_ANNOTATIONS) {
  ------------------
  |  |   66|      3|#define MAKE_FUNCTION_ANNOTATIONS 0x04
  ------------------
  |  Branch (1005:9): [True: 0, False: 3]
  ------------------
 1006|      0|        ADDOP_I(c, loc, SET_FUNCTION_ATTRIBUTE, MAKE_FUNCTION_ANNOTATIONS);
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1007|      0|    }
 1008|      3|    if (flags & MAKE_FUNCTION_ANNOTATE) {
  ------------------
  |  |   68|      3|#define MAKE_FUNCTION_ANNOTATE    0x10
  ------------------
  |  Branch (1008:9): [True: 0, False: 3]
  ------------------
 1009|      0|        ADDOP_I(c, loc, SET_FUNCTION_ATTRIBUTE, MAKE_FUNCTION_ANNOTATE);
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1010|      0|    }
 1011|      3|    if (flags & MAKE_FUNCTION_KWDEFAULTS) {
  ------------------
  |  |   65|      3|#define MAKE_FUNCTION_KWDEFAULTS  0x02
  ------------------
  |  Branch (1011:9): [True: 0, False: 3]
  ------------------
 1012|      0|        ADDOP_I(c, loc, SET_FUNCTION_ATTRIBUTE, MAKE_FUNCTION_KWDEFAULTS);
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1013|      0|    }
 1014|      3|    if (flags & MAKE_FUNCTION_DEFAULTS) {
  ------------------
  |  |   64|      3|#define MAKE_FUNCTION_DEFAULTS    0x01
  ------------------
  |  Branch (1014:9): [True: 0, False: 3]
  ------------------
 1015|      0|        ADDOP_I(c, loc, SET_FUNCTION_ATTRIBUTE, MAKE_FUNCTION_DEFAULTS);
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1016|      0|    }
 1017|      3|    return SUCCESS;
  ------------------
  |  |   47|      3|#define SUCCESS 0
  ------------------
 1018|      3|}
codegen.c:codegen_call_helper_impl:
 4422|      3|{
 4423|      3|    Py_ssize_t i, nseen, nelts, nkwelts;
 4424|       |
 4425|      3|    RETURN_IF_ERROR(codegen_validate_keywords(c, keywords));
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 4426|       |
 4427|      3|    nelts = asdl_seq_LEN(args);
  ------------------
  |  |   83|      3|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4428|      3|    nkwelts = asdl_seq_LEN(keywords);
  ------------------
  |  |   83|      3|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 3, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4429|       |
 4430|      3|    if (nelts + nkwelts*2 > _PY_STACK_USE_GUIDELINE) {
  ------------------
  |  |   24|      3|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
  |  Branch (4430:9): [True: 0, False: 3]
  ------------------
 4431|      0|         goto ex_call;
 4432|      0|    }
 4433|      9|    for (i = 0; i < nelts; i++) {
  ------------------
  |  Branch (4433:17): [True: 6, False: 3]
  ------------------
 4434|      6|        expr_ty elt = asdl_seq_GET(args, i);
  ------------------
  |  |   82|      6|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4435|      6|        if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (4435:13): [True: 0, False: 6]
  ------------------
 4436|      0|            goto ex_call;
 4437|      0|        }
 4438|      6|    }
 4439|      3|    for (i = 0; i < nkwelts; i++) {
  ------------------
  |  Branch (4439:17): [True: 0, False: 3]
  ------------------
 4440|      0|        keyword_ty kw = asdl_seq_GET(keywords, i);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4441|      0|        if (kw->arg == NULL) {
  ------------------
  |  Branch (4441:13): [True: 0, False: 0]
  ------------------
 4442|      0|            goto ex_call;
 4443|      0|        }
 4444|      0|    }
 4445|       |
 4446|       |    /* No * or ** args, so can use faster calling sequence */
 4447|      9|    for (i = 0; i < nelts; i++) {
  ------------------
  |  Branch (4447:17): [True: 6, False: 3]
  ------------------
 4448|      6|        expr_ty elt = asdl_seq_GET(args, i);
  ------------------
  |  |   82|      6|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4449|      6|        assert(elt->kind != Starred_kind);
  ------------------
  |  Branch (4449:9): [True: 6, False: 0]
  ------------------
 4450|      6|        VISIT(c, expr, elt);
  ------------------
  |  |  453|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4451|      6|    }
 4452|      3|    if (injected_arg) {
  ------------------
  |  Branch (4452:9): [True: 0, False: 3]
  ------------------
 4453|      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]
  |  |  ------------------
  ------------------
 4454|      0|        nelts++;
 4455|      0|    }
 4456|      3|    if (nkwelts) {
  ------------------
  |  Branch (4456:9): [True: 0, False: 3]
  ------------------
 4457|      0|        VISIT_SEQ(c, keyword, keywords);
  ------------------
  |  |  459|      0|    do {                                                                    \
  |  |  460|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  461|      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 (461:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  462|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  464|      0|        }                                                                   \
  |  |  465|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (465:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4458|      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]
  |  |  ------------------
  ------------------
 4459|      0|            codegen_call_simple_kw_helper(c, loc, keywords, nkwelts));
 4460|      0|        ADDOP_I(c, loc, CALL_KW, n + nelts + nkwelts);
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4461|      0|    }
 4462|      3|    else {
 4463|      3|        ADDOP_I(c, loc, CALL, n + nelts);
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4464|      3|    }
 4465|      3|    return SUCCESS;
  ------------------
  |  |   47|      3|#define SUCCESS 0
  ------------------
 4466|       |
 4467|      0|ex_call:
 4468|       |
 4469|       |    /* Do positional arguments. */
 4470|      0|    if (n == 0 && nelts == 1 && ((expr_ty)asdl_seq_GET(args, 0))->kind == Starred_kind) {
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (4470:9): [True: 0, False: 0]
  |  Branch (4470:19): [True: 0, False: 0]
  |  Branch (4470:33): [True: 0, False: 0]
  ------------------
 4471|      0|        VISIT(c, expr, ((expr_ty)asdl_seq_GET(args, 0))->v.Starred.value);
  ------------------
  |  |  453|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4472|      0|    }
 4473|      0|    else {
 4474|      0|        RETURN_IF_ERROR(starunpack_helper_impl(c, loc, args, injected_arg, n,
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4475|      0|                                               BUILD_LIST, LIST_APPEND, LIST_EXTEND, 1));
 4476|      0|    }
 4477|       |    /* Then keyword arguments */
 4478|      0|    if (nkwelts) {
  ------------------
  |  Branch (4478:9): [True: 0, False: 0]
  ------------------
 4479|       |        /* Has a new dict been pushed */
 4480|      0|        int have_dict = 0;
 4481|       |
 4482|      0|        nseen = 0;  /* the number of keyword arguments on the stack following */
 4483|      0|        for (i = 0; i < nkwelts; i++) {
  ------------------
  |  Branch (4483:21): [True: 0, False: 0]
  ------------------
 4484|      0|            keyword_ty kw = asdl_seq_GET(keywords, i);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4485|      0|            if (kw->arg == NULL) {
  ------------------
  |  Branch (4485:17): [True: 0, False: 0]
  ------------------
 4486|       |                /* A keyword argument unpacking. */
 4487|      0|                if (nseen) {
  ------------------
  |  Branch (4487:21): [True: 0, False: 0]
  ------------------
 4488|      0|                    RETURN_IF_ERROR(codegen_subkwargs(c, loc, keywords, i - nseen, i));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4489|      0|                    if (have_dict) {
  ------------------
  |  Branch (4489:25): [True: 0, False: 0]
  ------------------
 4490|      0|                        ADDOP_I(c, loc, DICT_MERGE, 1);
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4491|      0|                    }
 4492|      0|                    have_dict = 1;
 4493|      0|                    nseen = 0;
 4494|      0|                }
 4495|      0|                if (!have_dict) {
  ------------------
  |  Branch (4495:21): [True: 0, False: 0]
  ------------------
 4496|      0|                    ADDOP_I(c, loc, BUILD_MAP, 0);
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4497|      0|                    have_dict = 1;
 4498|      0|                }
 4499|      0|                VISIT(c, expr, kw->value);
  ------------------
  |  |  453|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4500|      0|                ADDOP_I(c, loc, DICT_MERGE, 1);
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4501|      0|            }
 4502|      0|            else {
 4503|      0|                nseen++;
 4504|      0|            }
 4505|      0|        }
 4506|      0|        if (nseen) {
  ------------------
  |  Branch (4506:13): [True: 0, False: 0]
  ------------------
 4507|       |            /* Pack up any trailing keyword arguments. */
 4508|      0|            RETURN_IF_ERROR(codegen_subkwargs(c, loc, keywords, nkwelts - nseen, nkwelts));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4509|      0|            if (have_dict) {
  ------------------
  |  Branch (4509:17): [True: 0, False: 0]
  ------------------
 4510|      0|                ADDOP_I(c, loc, DICT_MERGE, 1);
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4511|      0|            }
 4512|      0|            have_dict = 1;
 4513|      0|        }
 4514|      0|        assert(have_dict);
  ------------------
  |  Branch (4514:9): [True: 0, False: 0]
  ------------------
 4515|      0|    }
 4516|      0|    if (nkwelts == 0) {
  ------------------
  |  Branch (4516:9): [True: 0, False: 0]
  ------------------
 4517|      0|        ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  291|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4518|      0|    }
 4519|      0|    ADDOP(c, loc, CALL_FUNCTION_EX);
  ------------------
  |  |  291|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4520|      0|    return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 4521|      0|}
codegen.c:codegen_validate_keywords:
 4191|      6|{
 4192|      6|    Py_ssize_t nkeywords = asdl_seq_LEN(keywords);
  ------------------
  |  |   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: 6, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4193|      6|    for (Py_ssize_t i = 0; i < nkeywords; i++) {
  ------------------
  |  Branch (4193:28): [True: 0, False: 6]
  ------------------
 4194|      0|        keyword_ty key = ((keyword_ty)asdl_seq_GET(keywords, i));
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4195|      0|        if (key->arg == NULL) {
  ------------------
  |  Branch (4195:13): [True: 0, False: 0]
  ------------------
 4196|      0|            continue;
 4197|      0|        }
 4198|      0|        for (Py_ssize_t j = i + 1; j < nkeywords; j++) {
  ------------------
  |  Branch (4198:36): [True: 0, False: 0]
  ------------------
 4199|      0|            keyword_ty other = ((keyword_ty)asdl_seq_GET(keywords, j));
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4200|      0|            if (other->arg && !PyUnicode_Compare(key->arg, other->arg)) {
  ------------------
  |  Branch (4200:17): [True: 0, False: 0]
  |  Branch (4200:31): [True: 0, False: 0]
  ------------------
 4201|      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 }
  |  |  ------------------
  ------------------
 4202|      0|            }
 4203|      0|        }
 4204|      0|    }
 4205|      6|    return SUCCESS;
  ------------------
  |  |   47|      6|#define SUCCESS 0
  ------------------
 4206|      6|}
codegen.c:starunpack_helper_impl:
 3444|      3|{
 3445|      3|    Py_ssize_t n = asdl_seq_LEN(elts);
  ------------------
  |  |   83|      3|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3446|      3|    int big = n + pushed + (injected_arg ? 1 : 0) > _PY_STACK_USE_GUIDELINE;
  ------------------
  |  |   24|      3|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
  |  Branch (3446:29): [True: 0, False: 3]
  ------------------
 3447|      3|    int seen_star = 0;
 3448|     15|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3448:28): [True: 12, False: 3]
  ------------------
 3449|     12|        expr_ty elt = asdl_seq_GET(elts, i);
  ------------------
  |  |   82|     12|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     12|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3450|     12|        if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (3450:13): [True: 0, False: 12]
  ------------------
 3451|      0|            seen_star = 1;
 3452|      0|            break;
 3453|      0|        }
 3454|     12|    }
 3455|      3|    if (!seen_star && !big) {
  ------------------
  |  Branch (3455:9): [True: 3, False: 0]
  |  Branch (3455:23): [True: 3, False: 0]
  ------------------
 3456|     15|        for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3456:32): [True: 12, False: 3]
  ------------------
 3457|     12|            expr_ty elt = asdl_seq_GET(elts, i);
  ------------------
  |  |   82|     12|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     12|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3458|     12|            VISIT(c, expr, elt);
  ------------------
  |  |  453|     12|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     12|    do {                    \
  |  |  |  |   52|     12|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 12]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     12|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 12]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3459|     12|        }
 3460|      3|        if (injected_arg) {
  ------------------
  |  Branch (3460:13): [True: 0, False: 3]
  ------------------
 3461|      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]
  |  |  ------------------
  ------------------
 3462|      0|            n++;
 3463|      0|        }
 3464|      3|        if (tuple) {
  ------------------
  |  Branch (3464:13): [True: 3, False: 0]
  ------------------
 3465|      3|            ADDOP_I(c, loc, BUILD_TUPLE, n+pushed);
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3466|      3|        } else {
 3467|      0|            ADDOP_I(c, loc, build, n+pushed);
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3468|      0|        }
 3469|      3|        return SUCCESS;
  ------------------
  |  |   47|      3|#define SUCCESS 0
  ------------------
 3470|      3|    }
 3471|      0|    int sequence_built = 0;
 3472|      0|    if (big) {
  ------------------
  |  Branch (3472:9): [True: 0, False: 0]
  ------------------
 3473|      0|        ADDOP_I(c, loc, build, pushed);
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3474|      0|        sequence_built = 1;
 3475|      0|    }
 3476|      0|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3476:28): [True: 0, False: 0]
  ------------------
 3477|      0|        expr_ty elt = asdl_seq_GET(elts, i);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3478|      0|        if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (3478:13): [True: 0, False: 0]
  ------------------
 3479|      0|            if (sequence_built == 0) {
  ------------------
  |  Branch (3479:17): [True: 0, False: 0]
  ------------------
 3480|      0|                ADDOP_I(c, loc, build, i+pushed);
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3481|      0|                sequence_built = 1;
 3482|      0|            }
 3483|      0|            VISIT(c, expr, elt->v.Starred.value);
  ------------------
  |  |  453|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3484|      0|            ADDOP_I(c, loc, extend, 1);
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3485|      0|        }
 3486|      0|        else {
 3487|      0|            VISIT(c, expr, elt);
  ------------------
  |  |  453|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3488|      0|            if (sequence_built) {
  ------------------
  |  Branch (3488:17): [True: 0, False: 0]
  ------------------
 3489|      0|                ADDOP_I(c, loc, add, 1);
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3490|      0|            }
 3491|      0|        }
 3492|      0|    }
 3493|      0|    assert(sequence_built);
  ------------------
  |  Branch (3493:5): [True: 0, False: 0]
  ------------------
 3494|      0|    if (injected_arg) {
  ------------------
  |  Branch (3494:9): [True: 0, False: 0]
  ------------------
 3495|      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]
  |  |  ------------------
  ------------------
 3496|      0|        ADDOP_I(c, loc, add, 1);
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3497|      0|    }
 3498|      0|    if (tuple) {
  ------------------
  |  Branch (3498:9): [True: 0, False: 0]
  ------------------
 3499|      0|        ADDOP_I(c, loc, CALL_INTRINSIC_1, INTRINSIC_LIST_TO_TUPLE);
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3500|      0|    }
 3501|      0|    return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 3502|      0|}
codegen.c:codegen_call_helper:
 4528|      3|{
 4529|       |    return codegen_call_helper_impl(c, loc, n, args, NULL, keywords);
 4530|      3|}
codegen.c:codegen_visit_expr_impl:
 5470|     27|{
 5471|     27|    if (Py_EnterRecursiveCall(" during compilation")) {
  ------------------
  |  Branch (5471:9): [True: 0, False: 27]
  ------------------
 5472|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 5473|      0|    }
 5474|     27|    location loc = LOC(e);
  ------------------
  |  |   88|     27|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     27|    (_Py_SourceLocation){ \
  |  |  |  |   55|     27|               .lineno = (n)->lineno, \
  |  |  |  |   56|     27|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     27|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     27|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5475|     27|    switch (e->kind) {
  ------------------
  |  Branch (5475:13): [True: 27, False: 0]
  ------------------
 5476|      0|    case NamedExpr_kind:
  ------------------
  |  Branch (5476:5): [True: 0, False: 27]
  ------------------
 5477|      0|        VISIT(c, expr, e->v.NamedExpr.value);
  ------------------
  |  |  453|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5478|      0|        ADDOP_I(c, loc, COPY, 1);
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5479|      0|        VISIT(c, expr, e->v.NamedExpr.target);
  ------------------
  |  |  453|      0|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5480|      0|        break;
 5481|      0|    case BoolOp_kind:
  ------------------
  |  Branch (5481:5): [True: 0, False: 27]
  ------------------
 5482|      0|        return codegen_boolop(c, e);
 5483|      0|    case BinOp_kind:
  ------------------
  |  Branch (5483:5): [True: 0, False: 27]
  ------------------
 5484|      0|        VISIT(c, expr, e->v.BinOp.left);
  ------------------
  |  |  453|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5485|      0|        VISIT(c, expr, e->v.BinOp.right);
  ------------------
  |  |  453|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5486|      0|        ADDOP_BINARY(c, loc, e->v.BinOp.op);
  ------------------
  |  |  434|      0|    RETURN_IF_ERROR(addop_binary((C), (LOC), (BINOP), false))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5487|      0|        break;
 5488|      0|    case UnaryOp_kind:
  ------------------
  |  Branch (5488:5): [True: 0, False: 27]
  ------------------
 5489|      0|        VISIT(c, expr, e->v.UnaryOp.operand);
  ------------------
  |  |  453|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5490|      0|        if (e->v.UnaryOp.op == UAdd) {
  ------------------
  |  Branch (5490:13): [True: 0, False: 0]
  ------------------
 5491|      0|            ADDOP_I(c, loc, CALL_INTRINSIC_1, INTRINSIC_UNARY_POSITIVE);
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5492|      0|        }
 5493|      0|        else if (e->v.UnaryOp.op == Not) {
  ------------------
  |  Branch (5493:18): [True: 0, False: 0]
  ------------------
 5494|      0|            ADDOP(c, loc, TO_BOOL);
  ------------------
  |  |  291|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5495|      0|            ADDOP(c, loc, UNARY_NOT);
  ------------------
  |  |  291|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5496|      0|        }
 5497|      0|        else {
 5498|      0|            ADDOP(c, loc, unaryop(e->v.UnaryOp.op));
  ------------------
  |  |  291|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5499|      0|        }
 5500|      0|        break;
 5501|      3|    case Lambda_kind:
  ------------------
  |  Branch (5501:5): [True: 3, False: 24]
  ------------------
 5502|      3|        return codegen_lambda(c, e);
 5503|      0|    case IfExp_kind:
  ------------------
  |  Branch (5503:5): [True: 0, False: 27]
  ------------------
 5504|      0|        return codegen_ifexp(c, e);
 5505|      0|    case Dict_kind:
  ------------------
  |  Branch (5505:5): [True: 0, False: 27]
  ------------------
 5506|      0|        return codegen_dict(c, e);
 5507|      0|    case Set_kind:
  ------------------
  |  Branch (5507:5): [True: 0, False: 27]
  ------------------
 5508|      0|        return codegen_set(c, e);
 5509|      0|    case GeneratorExp_kind:
  ------------------
  |  Branch (5509:5): [True: 0, False: 27]
  ------------------
 5510|      0|        return codegen_genexp(c, e);
 5511|      0|    case ListComp_kind:
  ------------------
  |  Branch (5511:5): [True: 0, False: 27]
  ------------------
 5512|      0|        return codegen_listcomp(c, e, result_is_unused);
 5513|      0|    case SetComp_kind:
  ------------------
  |  Branch (5513:5): [True: 0, False: 27]
  ------------------
 5514|      0|        return codegen_setcomp(c, e);
 5515|      0|    case DictComp_kind:
  ------------------
  |  Branch (5515:5): [True: 0, False: 27]
  ------------------
 5516|      0|        return codegen_dictcomp(c, e);
 5517|      0|    case Yield_kind:
  ------------------
  |  Branch (5517:5): [True: 0, False: 27]
  ------------------
 5518|      0|        if (!_PyST_IsFunctionLike(SYMTABLE_ENTRY(c))) {
  ------------------
  |  |   71|      0|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (5518:13): [True: 0, False: 0]
  ------------------
 5519|      0|            return _PyCompile_Error(c, loc, "'yield' outside function");
 5520|      0|        }
 5521|      0|        if (e->v.Yield.value) {
  ------------------
  |  Branch (5521:13): [True: 0, False: 0]
  ------------------
 5522|      0|            VISIT(c, expr, e->v.Yield.value);
  ------------------
  |  |  453|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5523|      0|        }
 5524|      0|        else {
 5525|      0|            ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  308|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5526|      0|        }
 5527|      0|        ADDOP_YIELD(c, loc);
  ------------------
  |  |  446|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5528|      0|        break;
 5529|      0|    case YieldFrom_kind:
  ------------------
  |  Branch (5529:5): [True: 0, False: 27]
  ------------------
 5530|      0|        if (!_PyST_IsFunctionLike(SYMTABLE_ENTRY(c))) {
  ------------------
  |  |   71|      0|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (5530:13): [True: 0, False: 0]
  ------------------
 5531|      0|            return _PyCompile_Error(c, loc, "'yield from' outside function");
 5532|      0|        }
 5533|      0|        if (SCOPE_TYPE(c) == COMPILE_SCOPE_ASYNC_FUNCTION) {
  ------------------
  |  |   74|      0|#define SCOPE_TYPE(C) _PyCompile_ScopeType(C)
  ------------------
  |  Branch (5533:13): [True: 0, False: 0]
  ------------------
 5534|      0|            return _PyCompile_Error(c, loc, "'yield from' inside async function");
 5535|      0|        }
 5536|      0|        VISIT(c, expr, e->v.YieldFrom.value);
  ------------------
  |  |  453|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5537|      0|        ADDOP_I(c, loc, GET_ITER, GET_ITER_YIELD_FROM);
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5538|      0|        ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  308|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5539|      0|        ADD_YIELD_FROM(c, loc, 0);
  ------------------
  |  |  440|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5540|      0|        break;
 5541|      0|    case Await_kind:
  ------------------
  |  Branch (5541:5): [True: 0, False: 27]
  ------------------
 5542|      0|        VISIT(c, expr, e->v.Await.value);
  ------------------
  |  |  453|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5543|      0|        ADDOP_I(c, loc, GET_AWAITABLE, 0);
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5544|      0|        ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  291|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5545|      0|        ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  308|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5546|      0|        ADD_YIELD_FROM(c, loc, 1);
  ------------------
  |  |  440|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5547|      0|        break;
 5548|      0|    case Compare_kind:
  ------------------
  |  Branch (5548:5): [True: 0, False: 27]
  ------------------
 5549|      0|        return codegen_compare(c, e);
 5550|      3|    case Call_kind:
  ------------------
  |  Branch (5550:5): [True: 3, False: 24]
  ------------------
 5551|      3|        return codegen_call(c, e);
 5552|      0|    case Constant_kind:
  ------------------
  |  Branch (5552:5): [True: 0, False: 27]
  ------------------
 5553|      0|        ADDOP_LOAD_CONST(c, loc, e->v.Constant.value);
  ------------------
  |  |  308|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5554|      0|        break;
 5555|      0|    case JoinedStr_kind:
  ------------------
  |  Branch (5555:5): [True: 0, False: 27]
  ------------------
 5556|      0|        return codegen_joined_str(c, e);
 5557|      0|    case TemplateStr_kind:
  ------------------
  |  Branch (5557:5): [True: 0, False: 27]
  ------------------
 5558|      0|        return codegen_template_str(c, e);
 5559|      0|    case FormattedValue_kind:
  ------------------
  |  Branch (5559:5): [True: 0, False: 27]
  ------------------
 5560|      0|        return codegen_formatted_value(c, e);
 5561|      0|    case Interpolation_kind:
  ------------------
  |  Branch (5561:5): [True: 0, False: 27]
  ------------------
 5562|      0|        return codegen_interpolation(c, e);
 5563|       |    /* The following exprs can be assignment targets. */
 5564|      0|    case Attribute_kind:
  ------------------
  |  Branch (5564:5): [True: 0, False: 27]
  ------------------
 5565|      0|        if (e->v.Attribute.ctx == Load) {
  ------------------
  |  Branch (5565:13): [True: 0, False: 0]
  ------------------
 5566|      0|            int ret = can_optimize_super_call(c, e);
 5567|      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]
  |  |  ------------------
  ------------------
 5568|      0|            if (ret) {
  ------------------
  |  Branch (5568:17): [True: 0, False: 0]
  ------------------
 5569|      0|                RETURN_IF_ERROR(load_args_for_super(c, e->v.Attribute.value));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5570|      0|                int opcode = asdl_seq_LEN(e->v.Attribute.value->v.Call.args) ?
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:26): [True: 0, False: 0]
  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5571|      0|                    LOAD_SUPER_ATTR : LOAD_ZERO_SUPER_ATTR;
  ------------------
  |  |  105|      0|#define LOAD_SUPER_ATTR                         92
  ------------------
                                  LOAD_SUPER_ATTR : LOAD_ZERO_SUPER_ATTR;
  ------------------
  |  |  357|      0|#define LOAD_ZERO_SUPER_ATTR -3
  ------------------
 5572|      0|                ADDOP_NAME(c, loc, opcode, e->v.Attribute.attr, names);
  ------------------
  |  |  412|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5573|      0|                loc = update_start_location_to_match_attr(c, loc, e);
 5574|      0|                ADDOP(c, loc, NOP);
  ------------------
  |  |  291|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5575|      0|                return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 5576|      0|            }
 5577|      0|        }
 5578|      0|        RETURN_IF_ERROR(_PyCompile_MaybeAddStaticAttributeToClass(c, e));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5579|      0|        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 }
  |  |  ------------------
  ------------------
 5580|      0|        loc = update_start_location_to_match_attr(c, loc, e);
 5581|      0|        switch (e->v.Attribute.ctx) {
  ------------------
  |  Branch (5581:17): [True: 0, False: 0]
  ------------------
 5582|      0|        case Load:
  ------------------
  |  Branch (5582:9): [True: 0, False: 0]
  ------------------
 5583|      0|            VISIT(c, expr, e->v.Attribute.value);
  ------------------
  |  |  453|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5584|      0|            ADDOP_NAME(c, loc, LOAD_ATTR, e->v.Attribute.attr, names);
  ------------------
  |  |  412|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5585|      0|            break;
 5586|      0|        case Store:
  ------------------
  |  Branch (5586:9): [True: 0, False: 0]
  ------------------
 5587|      0|            VISIT(c, expr, e->v.Attribute.value);
  ------------------
  |  |  453|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5588|      0|            ADDOP_NAME(c, loc, STORE_ATTR, e->v.Attribute.attr, names);
  ------------------
  |  |  412|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5589|      0|            break;
 5590|      0|        case Del:
  ------------------
  |  Branch (5590:9): [True: 0, False: 0]
  ------------------
 5591|      0|            ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  291|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5592|      0|            VISIT(c, expr, e->v.Attribute.value);
  ------------------
  |  |  453|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5593|      0|            ADDOP_NAME(c, loc, STORE_ATTR, e->v.Attribute.attr, names);
  ------------------
  |  |  412|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5594|      0|            break;
 5595|      0|        }
 5596|      0|        break;
 5597|      0|    case Subscript_kind:
  ------------------
  |  Branch (5597:5): [True: 0, False: 27]
  ------------------
 5598|      0|        return codegen_subscript(c, e);
 5599|      0|    case Starred_kind:
  ------------------
  |  Branch (5599:5): [True: 0, False: 27]
  ------------------
 5600|      0|        switch (e->v.Starred.ctx) {
 5601|      0|        case Store:
  ------------------
  |  Branch (5601:9): [True: 0, False: 0]
  ------------------
 5602|       |            /* In all legitimate cases, the Starred node was already replaced
 5603|       |             * by codegen_list/codegen_tuple. XXX: is that okay? */
 5604|      0|            return _PyCompile_Error(c, loc,
 5605|      0|                "starred assignment target must be in a list or tuple");
 5606|      0|        default:
  ------------------
  |  Branch (5606:9): [True: 0, False: 0]
  ------------------
 5607|      0|            return _PyCompile_Error(c, loc,
 5608|      0|                "can't use starred expression here");
 5609|      0|        }
 5610|      0|        break;
 5611|      0|    case Slice_kind:
  ------------------
  |  Branch (5611:5): [True: 0, False: 27]
  ------------------
 5612|      0|        RETURN_IF_ERROR(codegen_slice(c, e));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5613|      0|        break;
 5614|     18|    case Name_kind:
  ------------------
  |  Branch (5614:5): [True: 18, False: 9]
  ------------------
 5615|     18|        return codegen_nameop(c, loc, e->v.Name.id, e->v.Name.ctx);
 5616|       |    /* child nodes of List and Tuple will have expr_context set */
 5617|      0|    case List_kind:
  ------------------
  |  Branch (5617:5): [True: 0, False: 27]
  ------------------
 5618|      0|        return codegen_list(c, e);
 5619|      3|    case Tuple_kind:
  ------------------
  |  Branch (5619:5): [True: 3, False: 24]
  ------------------
 5620|      3|        return codegen_tuple(c, e);
 5621|     27|    }
 5622|      0|    return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 5623|     27|}
codegen.c:codegen_lambda:
 2075|      3|{
 2076|      3|    PyCodeObject *co;
 2077|      3|    Py_ssize_t funcflags;
 2078|      3|    arguments_ty args = e->v.Lambda.args;
 2079|      3|    assert(e->kind == Lambda_kind);
  ------------------
  |  Branch (2079:5): [True: 3, False: 0]
  ------------------
 2080|       |
 2081|      3|    location loc = LOC(e);
  ------------------
  |  |   88|      3|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      3|    (_Py_SourceLocation){ \
  |  |  |  |   55|      3|               .lineno = (n)->lineno, \
  |  |  |  |   56|      3|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      3|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      3|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2082|      3|    funcflags = codegen_default_arguments(c, loc, args);
 2083|      3|    RETURN_IF_ERROR(funcflags);
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 2084|       |
 2085|      3|    _PyCompile_CodeUnitMetadata umd = {
 2086|      3|        .u_argcount = asdl_seq_LEN(args->args),
  ------------------
  |  |   83|      3|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2087|      3|        .u_posonlyargcount = asdl_seq_LEN(args->posonlyargs),
  ------------------
  |  |   83|      3|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2088|      3|        .u_kwonlyargcount = asdl_seq_LEN(args->kwonlyargs),
  ------------------
  |  |   83|      3|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2089|      3|    };
 2090|      3|    _Py_DECLARE_STR(anon_lambda, "<lambda>");
 2091|      3|    RETURN_IF_ERROR(
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 2092|      3|        codegen_enter_scope(c, &_Py_STR(anon_lambda), COMPILE_SCOPE_LAMBDA,
 2093|      3|                            (void *)e, e->lineno, NULL, &umd));
 2094|       |
 2095|      3|    assert(!SYMTABLE_ENTRY(c)->ste_has_docstring);
  ------------------
  |  Branch (2095:5): [True: 3, False: 0]
  ------------------
 2096|       |
 2097|      3|    VISIT_IN_SCOPE(c, expr, e->v.Lambda.body);
  ------------------
  |  |  456|      3|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   58|      3|    do {                                    \
  |  |  |  |   59|      3|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2098|      3|    if (SYMTABLE_ENTRY(c)->ste_generator) {
  ------------------
  |  |   71|      3|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (2098:9): [True: 0, False: 3]
  ------------------
 2099|      0|        co = _PyCompile_OptimizeAndAssemble(c, 0);
 2100|      0|    }
 2101|      3|    else {
 2102|      3|        location loc = LOC(e->v.Lambda.body);
  ------------------
  |  |   88|      3|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      3|    (_Py_SourceLocation){ \
  |  |  |  |   55|      3|               .lineno = (n)->lineno, \
  |  |  |  |   56|      3|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      3|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      3|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2103|      3|        ADDOP_IN_SCOPE(c, loc, RETURN_VALUE);
  ------------------
  |  |  294|      3|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   58|      3|    do {                                    \
  |  |  |  |   59|      3|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2104|      3|        co = _PyCompile_OptimizeAndAssemble(c, 1);
 2105|      3|    }
 2106|      3|    _PyCompile_ExitScope(c);
 2107|      3|    if (co == NULL) {
  ------------------
  |  Branch (2107:9): [True: 0, False: 3]
  ------------------
 2108|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 2109|      0|    }
 2110|       |
 2111|      3|    int ret = codegen_make_closure(c, loc, co, funcflags);
 2112|      3|    Py_DECREF(co);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2113|      3|    RETURN_IF_ERROR(ret);
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 2114|      3|    return SUCCESS;
  ------------------
  |  |   47|      3|#define SUCCESS 0
  ------------------
 2115|      3|}
codegen.c:starunpack_helper:
 3508|      3|{
 3509|       |    return starunpack_helper_impl(c, loc, elts, NULL, pushed,
 3510|      3|                                  build, add, extend, tuple);
 3511|      3|}
codegen.c:codegen_call:
 4210|      3|{
 4211|      3|    RETURN_IF_ERROR(codegen_validate_keywords(c, e->v.Call.keywords));
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 4212|      3|    int ret = maybe_optimize_method_call(c, e);
 4213|      3|    if (ret < 0) {
  ------------------
  |  Branch (4213:9): [True: 0, False: 3]
  ------------------
 4214|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 4215|      0|    }
 4216|      3|    if (ret == 1) {
  ------------------
  |  Branch (4216:9): [True: 0, False: 3]
  ------------------
 4217|      0|        return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 4218|      0|    }
 4219|      3|    NEW_JUMP_TARGET_LABEL(c, skip_normal_call);
  ------------------
  |  |   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|    }
  ------------------
 4220|      3|    RETURN_IF_ERROR(check_caller(c, e->v.Call.func));
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 4221|      3|    VISIT(c, expr, e->v.Call.func);
  ------------------
  |  |  453|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4222|      3|    RETURN_IF_ERROR(maybe_optimize_function_call(c, e, skip_normal_call));
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 4223|      3|    location loc = LOC(e->v.Call.func);
  ------------------
  |  |   88|      3|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      3|    (_Py_SourceLocation){ \
  |  |  |  |   55|      3|               .lineno = (n)->lineno, \
  |  |  |  |   56|      3|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      3|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      3|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4224|      3|    ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  291|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4225|      3|    loc = LOC(e);
  ------------------
  |  |   88|      3|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      3|    (_Py_SourceLocation){ \
  |  |  |  |   55|      3|               .lineno = (n)->lineno, \
  |  |  |  |   56|      3|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      3|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      3|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4226|      3|    ret = codegen_call_helper(c, loc, 0,
 4227|      3|                              e->v.Call.args,
 4228|      3|                              e->v.Call.keywords);
 4229|      3|    USE_LABEL(c, skip_normal_call);
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4230|      3|    return ret;
 4231|      3|}
codegen.c:maybe_optimize_method_call:
 4116|      3|{
 4117|      3|    Py_ssize_t argsl, i, kwdsl;
 4118|      3|    expr_ty meth = e->v.Call.func;
 4119|      3|    asdl_expr_seq *args = e->v.Call.args;
 4120|      3|    asdl_keyword_seq *kwds = e->v.Call.keywords;
 4121|       |
 4122|       |    /* Check that the call node is an attribute access */
 4123|      3|    if (meth->kind != Attribute_kind || meth->v.Attribute.ctx != Load) {
  ------------------
  |  Branch (4123:9): [True: 3, False: 0]
  |  Branch (4123:41): [True: 0, False: 0]
  ------------------
 4124|      3|        return 0;
 4125|      3|    }
 4126|       |
 4127|       |    /* Check that the base object is not something that is imported */
 4128|      0|    int ret = is_import_originated(c, meth->v.Attribute.value);
 4129|      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]
  |  |  ------------------
  ------------------
 4130|      0|    if (ret) {
  ------------------
  |  Branch (4130:9): [True: 0, False: 0]
  ------------------
 4131|      0|        return 0;
 4132|      0|    }
 4133|       |
 4134|       |    /* Check that there aren't too many arguments */
 4135|      0|    argsl = asdl_seq_LEN(args);
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4136|      0|    kwdsl = asdl_seq_LEN(kwds);
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4137|      0|    if (argsl + kwdsl + (kwdsl != 0) >= _PY_STACK_USE_GUIDELINE) {
  ------------------
  |  |   24|      0|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
  |  Branch (4137:9): [True: 0, False: 0]
  ------------------
 4138|      0|        return 0;
 4139|      0|    }
 4140|       |    /* Check that there are no *varargs types of arguments. */
 4141|      0|    for (i = 0; i < argsl; i++) {
  ------------------
  |  Branch (4141:17): [True: 0, False: 0]
  ------------------
 4142|      0|        expr_ty elt = asdl_seq_GET(args, i);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4143|      0|        if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (4143:13): [True: 0, False: 0]
  ------------------
 4144|      0|            return 0;
 4145|      0|        }
 4146|      0|    }
 4147|       |
 4148|      0|    for (i = 0; i < kwdsl; i++) {
  ------------------
  |  Branch (4148:17): [True: 0, False: 0]
  ------------------
 4149|      0|        keyword_ty kw = asdl_seq_GET(kwds, i);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4150|      0|        if (kw->arg == NULL) {
  ------------------
  |  Branch (4150:13): [True: 0, False: 0]
  ------------------
 4151|      0|            return 0;
 4152|      0|        }
 4153|      0|    }
 4154|       |
 4155|       |    /* Alright, we can optimize the code. */
 4156|      0|    location loc = LOC(meth);
  ------------------
  |  |   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 }
  |  |  ------------------
  ------------------
 4157|       |
 4158|      0|    ret = can_optimize_super_call(c, meth);
 4159|      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]
  |  |  ------------------
  ------------------
 4160|      0|    if (ret) {
  ------------------
  |  Branch (4160:9): [True: 0, False: 0]
  ------------------
 4161|      0|        RETURN_IF_ERROR(load_args_for_super(c, meth->v.Attribute.value));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4162|      0|        int opcode = asdl_seq_LEN(meth->v.Attribute.value->v.Call.args) ?
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:26): [True: 0, False: 0]
  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4163|      0|            LOAD_SUPER_METHOD : LOAD_ZERO_SUPER_METHOD;
  ------------------
  |  |  356|      0|#define LOAD_SUPER_METHOD -2
  ------------------
                          LOAD_SUPER_METHOD : LOAD_ZERO_SUPER_METHOD;
  ------------------
  |  |  358|      0|#define LOAD_ZERO_SUPER_METHOD -4
  ------------------
 4164|      0|        ADDOP_NAME(c, loc, opcode, meth->v.Attribute.attr, names);
  ------------------
  |  |  412|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4165|      0|        loc = update_start_location_to_match_attr(c, loc, meth);
 4166|      0|        ADDOP(c, loc, NOP);
  ------------------
  |  |  291|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4167|      0|    } else {
 4168|      0|        VISIT(c, expr, meth->v.Attribute.value);
  ------------------
  |  |  453|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4169|      0|        loc = update_start_location_to_match_attr(c, loc, meth);
 4170|      0|        ADDOP_NAME(c, loc, LOAD_METHOD, meth->v.Attribute.attr, names);
  ------------------
  |  |  412|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4171|      0|    }
 4172|       |
 4173|      0|    VISIT_SEQ(c, expr, e->v.Call.args);
  ------------------
  |  |  459|      0|    do {                                                                    \
  |  |  460|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  461|      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 (461:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  462|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  464|      0|        }                                                                   \
  |  |  465|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (465:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4174|       |
 4175|      0|    if (kwdsl) {
  ------------------
  |  Branch (4175:9): [True: 0, False: 0]
  ------------------
 4176|      0|        VISIT_SEQ(c, keyword, kwds);
  ------------------
  |  |  459|      0|    do {                                                                    \
  |  |  460|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  461|      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 (461:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  462|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  464|      0|        }                                                                   \
  |  |  465|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (465:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4177|      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]
  |  |  ------------------
  ------------------
 4178|      0|            codegen_call_simple_kw_helper(c, loc, kwds, kwdsl));
 4179|      0|        loc = update_start_location_to_match_attr(c, LOC(e), meth);
  ------------------
  |  |   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 }
  |  |  ------------------
  ------------------
 4180|      0|        ADDOP_I(c, loc, CALL_KW, argsl + kwdsl);
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4181|      0|    }
 4182|      0|    else {
 4183|      0|        loc = update_start_location_to_match_attr(c, LOC(e), meth);
  ------------------
  |  |   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 }
  |  |  ------------------
  ------------------
 4184|      0|        ADDOP_I(c, loc, CALL, argsl);
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4185|      0|    }
 4186|      0|    return 1;
 4187|      0|}
codegen.c:check_caller:
 3749|      3|{
 3750|      3|    switch (e->kind) {
 3751|      0|    case Constant_kind:
  ------------------
  |  Branch (3751:5): [True: 0, False: 3]
  ------------------
 3752|      0|    case Tuple_kind:
  ------------------
  |  Branch (3752:5): [True: 0, False: 3]
  ------------------
 3753|      0|    case List_kind:
  ------------------
  |  Branch (3753:5): [True: 0, False: 3]
  ------------------
 3754|      0|    case ListComp_kind:
  ------------------
  |  Branch (3754:5): [True: 0, False: 3]
  ------------------
 3755|      0|    case Dict_kind:
  ------------------
  |  Branch (3755:5): [True: 0, False: 3]
  ------------------
 3756|      0|    case DictComp_kind:
  ------------------
  |  Branch (3756:5): [True: 0, False: 3]
  ------------------
 3757|      0|    case Set_kind:
  ------------------
  |  Branch (3757:5): [True: 0, False: 3]
  ------------------
 3758|      0|    case SetComp_kind:
  ------------------
  |  Branch (3758:5): [True: 0, False: 3]
  ------------------
 3759|      0|    case GeneratorExp_kind:
  ------------------
  |  Branch (3759:5): [True: 0, False: 3]
  ------------------
 3760|      0|    case JoinedStr_kind:
  ------------------
  |  Branch (3760:5): [True: 0, False: 3]
  ------------------
 3761|      0|    case TemplateStr_kind:
  ------------------
  |  Branch (3761:5): [True: 0, False: 3]
  ------------------
 3762|      0|    case FormattedValue_kind:
  ------------------
  |  Branch (3762:5): [True: 0, False: 3]
  ------------------
 3763|      0|    case Interpolation_kind: {
  ------------------
  |  Branch (3763:5): [True: 0, False: 3]
  ------------------
 3764|      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 }
  |  |  ------------------
  ------------------
 3765|      0|        return _PyCompile_Warn(c, loc, "'%.200s' object is not callable; "
 3766|      0|                                       "perhaps you missed a comma?",
 3767|      0|                                       infer_type(e)->tp_name);
 3768|      0|    }
 3769|      3|    default:
  ------------------
  |  Branch (3769:5): [True: 3, False: 0]
  ------------------
 3770|      3|        return SUCCESS;
  ------------------
  |  |   47|      3|#define SUCCESS 0
  ------------------
 3771|      3|    }
 3772|      3|}
codegen.c:maybe_optimize_function_call:
 3974|      3|{
 3975|      3|    asdl_expr_seq *args = e->v.Call.args;
 3976|      3|    asdl_keyword_seq *kwds = e->v.Call.keywords;
 3977|      3|    expr_ty func = e->v.Call.func;
 3978|       |
 3979|      3|    if (! (func->kind == Name_kind &&
  ------------------
  |  Branch (3979:12): [True: 3, False: 0]
  ------------------
 3980|      3|           asdl_seq_LEN(args) == 1 &&
  ------------------
  |  |   83|      3|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3980:12): [True: 0, False: 3]
  ------------------
 3981|      0|           asdl_seq_LEN(kwds) == 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 (3981:12): [True: 0, False: 0]
  ------------------
 3982|      3|    {
 3983|      3|        return 0;
 3984|      3|    }
 3985|       |
 3986|      0|    location loc = LOC(func);
  ------------------
  |  |   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 }
  |  |  ------------------
  ------------------
 3987|       |
 3988|      0|    expr_ty arg_expr = asdl_seq_GET(args, 0);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3989|       |
 3990|      0|    if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "frozenset")
  ------------------
  |  Branch (3990:9): [True: 0, False: 0]
  ------------------
 3991|      0|        && (arg_expr->kind == Set_kind || arg_expr->kind == SetComp_kind)) {
  ------------------
  |  Branch (3991:13): [True: 0, False: 0]
  |  Branch (3991:43): [True: 0, False: 0]
  ------------------
 3992|      0|        NEW_JUMP_TARGET_LABEL(c, skip_optimization);
  ------------------
  |  |   91|      0|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      0|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|      0|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|      0|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      0|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 3993|       |
 3994|      0|        ADDOP_I(c, loc, COPY, 1);
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3995|      0|        ADDOP_I(c, loc, LOAD_COMMON_CONSTANT, CONSTANT_BUILTIN_FROZENSET);
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3996|      0|        ADDOP_COMPARE(c, loc, Is);
  ------------------
  |  |  431|      0|    RETURN_IF_ERROR(codegen_addcompare((C), (LOC), (cmpop_ty)(CMP)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3997|      0|        ADDOP_JUMP(c, loc, POP_JUMP_IF_FALSE, skip_optimization);
  ------------------
  |  |  428|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3998|      0|        ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  291|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3999|       |
 4000|      0|        VISIT(c, expr, arg_expr);
  ------------------
  |  |  453|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4001|      0|        ADDOP_I(c, loc, CALL_INTRINSIC_1, INTRINSIC_BUILD_FROZENSET);
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4002|       |
 4003|      0|        ADDOP_JUMP(c, loc, JUMP, end);
  ------------------
  |  |  428|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4004|       |
 4005|      0|        USE_LABEL(c, skip_optimization);
  ------------------
  |  |   97|      0|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4006|      0|        return 1;
 4007|      0|    }
 4008|       |
 4009|      0|    if (arg_expr->kind != GeneratorExp_kind) {
  ------------------
  |  Branch (4009:9): [True: 0, False: 0]
  ------------------
 4010|      0|        return 0;
 4011|      0|    }
 4012|       |
 4013|      0|    PySTEntryObject *generator_entry = _PySymtable_Lookup(SYMTABLE(c), (void *)arg_expr);
  ------------------
  |  |   70|      0|#define SYMTABLE(C) _PyCompile_Symtable(C)
  ------------------
 4014|      0|    if (generator_entry->ste_coroutine) {
  ------------------
  |  Branch (4014:9): [True: 0, False: 0]
  ------------------
 4015|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4016|      0|        return 0;
 4017|      0|    }
 4018|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4019|       |
 4020|      0|    int optimized = 0;
 4021|      0|    NEW_JUMP_TARGET_LABEL(c, skip_optimization);
  ------------------
  |  |   91|      0|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      0|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|      0|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|      0|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      0|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 4022|       |
 4023|      0|    int const_oparg = -1;
 4024|      0|    PyObject *initial_res = NULL;
 4025|      0|    int continue_jump_opcode = -1;
 4026|      0|    if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "all")) {
  ------------------
  |  Branch (4026:9): [True: 0, False: 0]
  ------------------
 4027|      0|        const_oparg = CONSTANT_BUILTIN_ALL;
  ------------------
  |  |   74|      0|#define CONSTANT_BUILTIN_ALL 3
  ------------------
 4028|      0|        initial_res = Py_True;
  ------------------
  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4029|      0|        continue_jump_opcode = POP_JUMP_IF_TRUE;
  ------------------
  |  |  112|      0|#define POP_JUMP_IF_TRUE                        99
  ------------------
 4030|      0|    }
 4031|      0|    else if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "any")) {
  ------------------
  |  Branch (4031:14): [True: 0, False: 0]
  ------------------
 4032|      0|        const_oparg = CONSTANT_BUILTIN_ANY;
  ------------------
  |  |   75|      0|#define CONSTANT_BUILTIN_ANY 4
  ------------------
 4033|      0|        initial_res = Py_False;
  ------------------
  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4034|      0|        continue_jump_opcode = POP_JUMP_IF_FALSE;
  ------------------
  |  |  109|      0|#define POP_JUMP_IF_FALSE                       96
  ------------------
 4035|      0|    }
 4036|      0|    else if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "tuple")) {
  ------------------
  |  Branch (4036:14): [True: 0, False: 0]
  ------------------
 4037|      0|        const_oparg = CONSTANT_BUILTIN_TUPLE;
  ------------------
  |  |   73|      0|#define CONSTANT_BUILTIN_TUPLE 2
  ------------------
 4038|      0|    }
 4039|      0|    else if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "list")) {
  ------------------
  |  Branch (4039:14): [True: 0, False: 0]
  ------------------
 4040|      0|        const_oparg = CONSTANT_BUILTIN_LIST;
  ------------------
  |  |   76|      0|#define CONSTANT_BUILTIN_LIST 5
  ------------------
 4041|      0|    }
 4042|      0|    else if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "set")) {
  ------------------
  |  Branch (4042:14): [True: 0, False: 0]
  ------------------
 4043|      0|        const_oparg = CONSTANT_BUILTIN_SET;
  ------------------
  |  |   77|      0|#define CONSTANT_BUILTIN_SET 6
  ------------------
 4044|      0|    }
 4045|      0|    else if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "frozenset")) {
  ------------------
  |  Branch (4045:14): [True: 0, False: 0]
  ------------------
 4046|      0|        const_oparg = CONSTANT_BUILTIN_FROZENSET;
  ------------------
  |  |   83|      0|#define CONSTANT_BUILTIN_FROZENSET 12
  ------------------
 4047|      0|    }
 4048|      0|    if (const_oparg != -1) {
  ------------------
  |  Branch (4048:9): [True: 0, False: 0]
  ------------------
 4049|      0|        ADDOP_I(c, loc, COPY, 1); // the function
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4050|      0|        ADDOP_I(c, loc, LOAD_COMMON_CONSTANT, const_oparg);
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4051|      0|        ADDOP_COMPARE(c, loc, Is);
  ------------------
  |  |  431|      0|    RETURN_IF_ERROR(codegen_addcompare((C), (LOC), (cmpop_ty)(CMP)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4052|      0|        ADDOP_JUMP(c, loc, POP_JUMP_IF_FALSE, skip_optimization);
  ------------------
  |  |  428|      0|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4053|      0|        ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  291|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4054|       |
 4055|      0|        if (const_oparg == CONSTANT_BUILTIN_TUPLE || const_oparg == CONSTANT_BUILTIN_LIST) {
  ------------------
  |  |   73|      0|#define CONSTANT_BUILTIN_TUPLE 2
  ------------------
                      if (const_oparg == CONSTANT_BUILTIN_TUPLE || const_oparg == CONSTANT_BUILTIN_LIST) {
  ------------------
  |  |   76|      0|#define CONSTANT_BUILTIN_LIST 5
  ------------------
  |  Branch (4055:13): [True: 0, False: 0]
  |  Branch (4055:54): [True: 0, False: 0]
  ------------------
 4056|      0|            ADDOP_I(c, loc, BUILD_LIST, 0);
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4057|      0|        } else if (const_oparg == CONSTANT_BUILTIN_SET || const_oparg == CONSTANT_BUILTIN_FROZENSET) {
  ------------------
  |  |   77|      0|#define CONSTANT_BUILTIN_SET 6
  ------------------
                      } else if (const_oparg == CONSTANT_BUILTIN_SET || const_oparg == CONSTANT_BUILTIN_FROZENSET) {
  ------------------
  |  |   83|      0|#define CONSTANT_BUILTIN_FROZENSET 12
  ------------------
  |  Branch (4057:20): [True: 0, False: 0]
  |  Branch (4057:59): [True: 0, False: 0]
  ------------------
 4058|      0|            ADDOP_I(c, loc, BUILD_SET, 0);
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4059|      0|        }
 4060|      0|        VISIT(c, expr, arg_expr);
  ------------------
  |  |  453|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4061|       |
 4062|      0|        NEW_JUMP_TARGET_LABEL(c, loop);
  ------------------
  |  |   91|      0|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      0|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|      0|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|      0|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      0|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 4063|      0|        NEW_JUMP_TARGET_LABEL(c, cleanup);
  ------------------
  |  |   91|      0|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      0|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|      0|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|      0|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      0|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 4064|       |
 4065|      0|        ADDOP(c, loc, PUSH_NULL); // Push NULL index for loop
  ------------------
  |  |  291|      0|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4066|      0|        USE_LABEL(c, loop);
  ------------------
  |  |   97|      0|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4067|      0|        ADDOP_JUMP(c, loc, FOR_ITER, cleanup);
  ------------------
  |  |  428|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4068|      0|        if (const_oparg == CONSTANT_BUILTIN_TUPLE || const_oparg == CONSTANT_BUILTIN_LIST) {
  ------------------
  |  |   73|      0|#define CONSTANT_BUILTIN_TUPLE 2
  ------------------
                      if (const_oparg == CONSTANT_BUILTIN_TUPLE || const_oparg == CONSTANT_BUILTIN_LIST) {
  ------------------
  |  |   76|      0|#define CONSTANT_BUILTIN_LIST 5
  ------------------
  |  Branch (4068:13): [True: 0, False: 0]
  |  Branch (4068:54): [True: 0, False: 0]
  ------------------
 4069|      0|            ADDOP_I(c, loc, LIST_APPEND, 3);
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4070|      0|            ADDOP_JUMP(c, loc, JUMP, loop);
  ------------------
  |  |  428|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4071|      0|        } else if (const_oparg == CONSTANT_BUILTIN_SET || const_oparg == CONSTANT_BUILTIN_FROZENSET) {
  ------------------
  |  |   77|      0|#define CONSTANT_BUILTIN_SET 6
  ------------------
                      } else if (const_oparg == CONSTANT_BUILTIN_SET || const_oparg == CONSTANT_BUILTIN_FROZENSET) {
  ------------------
  |  |   83|      0|#define CONSTANT_BUILTIN_FROZENSET 12
  ------------------
  |  Branch (4071:20): [True: 0, False: 0]
  |  Branch (4071:59): [True: 0, False: 0]
  ------------------
 4072|      0|            ADDOP_I(c, loc, SET_ADD, 3);
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4073|      0|            ADDOP_JUMP(c, loc, JUMP, loop);
  ------------------
  |  |  428|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4074|      0|        }
 4075|      0|        else {
 4076|      0|            ADDOP(c, loc, TO_BOOL);
  ------------------
  |  |  291|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4077|      0|            ADDOP_JUMP(c, loc, continue_jump_opcode, loop);
  ------------------
  |  |  428|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4078|      0|        }
 4079|       |
 4080|      0|        ADDOP(c, NO_LOCATION, POP_ITER);
  ------------------
  |  |  291|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4081|      0|        if (const_oparg != CONSTANT_BUILTIN_TUPLE &&
  ------------------
  |  |   73|      0|#define CONSTANT_BUILTIN_TUPLE 2
  ------------------
  |  Branch (4081:13): [True: 0, False: 0]
  ------------------
 4082|      0|            const_oparg != CONSTANT_BUILTIN_LIST &&
  ------------------
  |  |   76|      0|#define CONSTANT_BUILTIN_LIST 5
  ------------------
  |  Branch (4082:13): [True: 0, False: 0]
  ------------------
 4083|      0|            const_oparg != CONSTANT_BUILTIN_SET &&
  ------------------
  |  |   77|      0|#define CONSTANT_BUILTIN_SET 6
  ------------------
  |  Branch (4083:13): [True: 0, False: 0]
  ------------------
 4084|      0|            const_oparg != CONSTANT_BUILTIN_FROZENSET) {
  ------------------
  |  |   83|      0|#define CONSTANT_BUILTIN_FROZENSET 12
  ------------------
  |  Branch (4084:13): [True: 0, False: 0]
  ------------------
 4085|      0|            ADDOP_LOAD_CONST(c, loc, initial_res == Py_True ? Py_False : Py_True);
  ------------------
  |  |  308|      0|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  |  Branch (52:14): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4086|      0|        }
 4087|      0|        ADDOP_JUMP(c, loc, JUMP, end);
  ------------------
  |  |  428|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4088|       |
 4089|      0|        USE_LABEL(c, cleanup);
  ------------------
  |  |   97|      0|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4090|      0|        ADDOP(c, NO_LOCATION, END_FOR);
  ------------------
  |  |  291|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4091|      0|        ADDOP(c, NO_LOCATION, POP_ITER);
  ------------------
  |  |  291|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4092|      0|        if (const_oparg == CONSTANT_BUILTIN_TUPLE) {
  ------------------
  |  |   73|      0|#define CONSTANT_BUILTIN_TUPLE 2
  ------------------
  |  Branch (4092:13): [True: 0, False: 0]
  ------------------
 4093|      0|            ADDOP_I(c, loc, CALL_INTRINSIC_1, INTRINSIC_LIST_TO_TUPLE);
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4094|      0|        } else if (const_oparg == CONSTANT_BUILTIN_LIST) {
  ------------------
  |  |   76|      0|#define CONSTANT_BUILTIN_LIST 5
  ------------------
  |  Branch (4094:20): [True: 0, False: 0]
  ------------------
 4095|       |            // result is already a list
 4096|      0|        } else if (const_oparg == CONSTANT_BUILTIN_SET) {
  ------------------
  |  |   77|      0|#define CONSTANT_BUILTIN_SET 6
  ------------------
  |  Branch (4096:20): [True: 0, False: 0]
  ------------------
 4097|       |            // result is already a set
 4098|      0|        }
 4099|      0|        else if (const_oparg == CONSTANT_BUILTIN_FROZENSET) {
  ------------------
  |  |   83|      0|#define CONSTANT_BUILTIN_FROZENSET 12
  ------------------
  |  Branch (4099:18): [True: 0, False: 0]
  ------------------
 4100|      0|            ADDOP_I(c, loc, CALL_INTRINSIC_1, INTRINSIC_BUILD_FROZENSET);
  ------------------
  |  |  277|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4101|      0|        }
 4102|      0|        else {
 4103|      0|            ADDOP_LOAD_CONST(c, loc, initial_res);
  ------------------
  |  |  308|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4104|      0|        }
 4105|       |
 4106|      0|        optimized = 1;
 4107|      0|        ADDOP_JUMP(c, loc, JUMP, end);
  ------------------
  |  |  428|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4108|      0|    }
 4109|      0|    USE_LABEL(c, skip_optimization);
  ------------------
  |  |   97|      0|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4110|      0|    return optimized;
 4111|      0|}
codegen.c:codegen_tuple:
 3573|      3|{
 3574|      3|    location loc = LOC(e);
  ------------------
  |  |   88|      3|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      3|    (_Py_SourceLocation){ \
  |  |  |  |   55|      3|               .lineno = (n)->lineno, \
  |  |  |  |   56|      3|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      3|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      3|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3575|      3|    asdl_expr_seq *elts = e->v.Tuple.elts;
 3576|      3|    if (e->v.Tuple.ctx == Store) {
  ------------------
  |  Branch (3576:9): [True: 0, False: 3]
  ------------------
 3577|      0|        return assignment_helper(c, loc, elts);
 3578|      0|    }
 3579|      3|    else if (e->v.Tuple.ctx == Load) {
  ------------------
  |  Branch (3579:14): [True: 3, False: 0]
  ------------------
 3580|      3|        return starunpack_helper(c, loc, elts, 0,
 3581|      3|                                 BUILD_LIST, LIST_APPEND, LIST_EXTEND, 1);
  ------------------
  |  |   57|      3|#define BUILD_LIST                              44
  ------------------
                                               BUILD_LIST, LIST_APPEND, LIST_EXTEND, 1);
  ------------------
  |  |   87|      3|#define LIST_APPEND                             74
  ------------------
                                               BUILD_LIST, LIST_APPEND, LIST_EXTEND, 1);
  ------------------
  |  |   88|      3|#define LIST_EXTEND                             75
  ------------------
 3582|      3|    }
 3583|      0|    else {
 3584|      0|        VISIT_SEQ(c, expr, elts);
  ------------------
  |  |  459|      0|    do {                                                                    \
  |  |  460|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  461|      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 (461:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  462|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  464|      0|        }                                                                   \
  |  |  465|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (465:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3585|      0|    }
 3586|      0|    return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 3587|      3|}
codegen.c:codegen_enter_scope:
  683|      6|{
  684|      6|    RETURN_IF_ERROR(
  ------------------
  |  |   51|      6|    do {                    \
  |  |   52|      6|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 6]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
  685|      6|        _PyCompile_EnterScope(c, name, scope_type, key, lineno, private, umd));
  686|      6|    location loc = LOCATION(lineno, lineno, 0, 0);
  ------------------
  |  |   86|      6|    ((const _Py_SourceLocation){(LNO), (END_LNO), (COL), (END_COL)})
  ------------------
  687|      6|    if (scope_type == COMPILE_SCOPE_MODULE) {
  ------------------
  |  Branch (687:9): [True: 3, False: 3]
  ------------------
  688|      3|        loc.lineno = 0;
  689|      3|    }
  690|       |    /* Add the generator prefix instructions. */
  691|       |
  692|      6|    PySTEntryObject *ste = SYMTABLE_ENTRY(c);
  ------------------
  |  |   71|      6|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  693|      6|    if (ste->ste_coroutine || ste->ste_generator) {
  ------------------
  |  Branch (693:9): [True: 0, False: 6]
  |  Branch (693:31): [True: 0, False: 6]
  ------------------
  694|       |        /* Note that RETURN_GENERATOR + POP_TOP have a net stack effect
  695|       |         * of 0. This is because RETURN_GENERATOR pushes the generator
  696|       |         before returning. */
  697|      0|        location loc = LOCATION(lineno, lineno, -1, -1);
  ------------------
  |  |   86|      0|    ((const _Py_SourceLocation){(LNO), (END_LNO), (COL), (END_COL)})
  ------------------
  698|      0|        ADDOP(c, loc, RETURN_GENERATOR);
  ------------------
  |  |  291|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  699|      0|        ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  291|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  700|      0|    }
  701|       |
  702|      6|    ADDOP_I(c, loc, RESUME, RESUME_AT_FUNC_START);
  ------------------
  |  |  277|      6|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      6|    do {                    \
  |  |  |  |   52|      6|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      6|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  703|      6|    if (scope_type == COMPILE_SCOPE_MODULE) {
  ------------------
  |  Branch (703:9): [True: 3, False: 3]
  ------------------
  704|      3|        ADDOP(c, loc, ANNOTATIONS_PLACEHOLDER);
  ------------------
  |  |  291|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  705|      3|    }
  706|      6|    return SUCCESS;
  ------------------
  |  |   47|      6|#define SUCCESS 0
  ------------------
  707|      6|}
codegen.c:codegen_visit_expr:
 5627|     27|{
 5628|       |    return codegen_visit_expr_impl(c, e, false);
 5629|     27|}
codegen.c:codegen_addop_load_const:
  298|      6|{
  299|      6|    Py_ssize_t arg = _PyCompile_AddConst(c, o);
  300|      6|    if (arg < 0) {
  ------------------
  |  Branch (300:9): [True: 0, False: 6]
  ------------------
  301|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  302|      0|    }
  303|      6|    ADDOP_I(c, loc, LOAD_CONST, arg);
  ------------------
  |  |  277|      6|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      6|    do {                    \
  |  |  |  |   52|      6|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      6|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  304|      6|    return SUCCESS;
  ------------------
  |  |   47|      6|#define SUCCESS 0
  ------------------
  305|      6|}
codegen.c:codegen_addop_noarg:
  284|     18|{
  285|     18|    assert(!OPCODE_HAS_ARG(opcode));
  ------------------
  |  Branch (285:5): [True: 18, False: 0]
  ------------------
  286|     18|    assert(!IS_ASSEMBLER_OPCODE(opcode));
  ------------------
  |  Branch (286:5): [True: 0, False: 18]
  |  Branch (286:5): [True: 0, False: 18]
  |  Branch (286:5): [True: 0, False: 18]
  ------------------
  287|     18|    return _PyInstructionSequence_Addop(seq, opcode, 0, loc);
  288|     18|}

_PyCompile_DictAddObj:
  458|     24|{
  459|     24|    PyObject *v;
  460|     24|    Py_ssize_t arg;
  461|       |
  462|     24|    if (PyDict_GetItemRef(dict, o, &v) < 0) {
  ------------------
  |  Branch (462:9): [True: 0, False: 24]
  ------------------
  463|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  464|      0|    }
  465|     24|    if (!v) {
  ------------------
  |  Branch (465:9): [True: 9, False: 15]
  ------------------
  466|      9|        arg = PyDict_GET_SIZE(dict);
  ------------------
  |  |   63|      9|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  467|      9|        v = PyLong_FromSsize_t(arg);
  468|      9|        if (!v) {
  ------------------
  |  Branch (468:13): [True: 0, False: 9]
  ------------------
  469|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  470|      0|        }
  471|      9|        if (PyDict_SetItem(dict, o, v) < 0) {
  ------------------
  |  Branch (471:13): [True: 0, False: 9]
  ------------------
  472|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  473|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  474|      0|        }
  475|      9|    }
  476|     15|    else
  477|     15|        arg = PyLong_AsLong(v);
  478|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  479|     24|    return arg;
  480|     24|}
_PyCompile_AddConst:
  484|      6|{
  485|      6|    PyObject *key = merge_consts_recursive(c->c_const_cache, o);
  486|      6|    if (key == NULL) {
  ------------------
  |  Branch (486:9): [True: 0, False: 6]
  ------------------
  487|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  488|      0|    }
  489|       |
  490|      6|    Py_ssize_t arg = _PyCompile_DictAddObj(c->u->u_metadata.u_consts, key);
  491|      6|    Py_DECREF(key);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  492|      6|    return arg;
  493|      6|}
_PyCompile_EnterScope:
  599|      6|{
  600|      6|    struct compiler_unit *u;
  601|      6|    u = (struct compiler_unit *)PyMem_Calloc(1, sizeof(struct compiler_unit));
  602|      6|    if (!u) {
  ------------------
  |  Branch (602:9): [True: 0, False: 6]
  ------------------
  603|      0|        PyErr_NoMemory();
  604|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  605|      0|    }
  606|      6|    u->u_scope_type = scope_type;
  607|      6|    if (umd != NULL) {
  ------------------
  |  Branch (607:9): [True: 3, False: 3]
  ------------------
  608|      3|        u->u_metadata = *umd;
  609|      3|    }
  610|      3|    else {
  611|      3|        u->u_metadata.u_argcount = 0;
  612|      3|        u->u_metadata.u_posonlyargcount = 0;
  613|      3|        u->u_metadata.u_kwonlyargcount = 0;
  614|      3|    }
  615|      6|    u->u_ste = _PySymtable_Lookup(c->c_st, key);
  616|      6|    if (!u->u_ste) {
  ------------------
  |  Branch (616:9): [True: 0, False: 6]
  ------------------
  617|      0|        compiler_unit_free(u);
  618|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  619|      0|    }
  620|      6|    u->u_metadata.u_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  621|      6|    u->u_metadata.u_varnames = list2dict(u->u_ste->ste_varnames);
  622|      6|    if (!u->u_metadata.u_varnames) {
  ------------------
  |  Branch (622:9): [True: 0, False: 6]
  ------------------
  623|      0|        compiler_unit_free(u);
  624|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  625|      0|    }
  626|      6|    u->u_metadata.u_cellvars = dictbytype(u->u_ste->ste_symbols, CELL, DEF_COMP_CELL, 0);
  ------------------
  |  |  191|      6|#define CELL 5
  ------------------
                  u->u_metadata.u_cellvars = dictbytype(u->u_ste->ste_symbols, CELL, DEF_COMP_CELL, 0);
  ------------------
  |  |  175|      6|#define DEF_COMP_CELL (2<<10)    /* this name is a cell in an inlined comprehension */
  ------------------
  627|      6|    if (!u->u_metadata.u_cellvars) {
  ------------------
  |  Branch (627:9): [True: 0, False: 6]
  ------------------
  628|      0|        compiler_unit_free(u);
  629|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  630|      0|    }
  631|      6|    if (u->u_ste->ste_needs_class_closure) {
  ------------------
  |  Branch (631:9): [True: 0, False: 6]
  ------------------
  632|       |        /* Cook up an implicit __class__ cell. */
  633|      0|        Py_ssize_t res;
  634|      0|        assert(u->u_scope_type == COMPILE_SCOPE_CLASS);
  ------------------
  |  Branch (634:9): [True: 0, False: 0]
  ------------------
  635|      0|        res = _PyCompile_DictAddObj(u->u_metadata.u_cellvars, &_Py_ID(__class__));
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  636|      0|        if (res < 0) {
  ------------------
  |  Branch (636:13): [True: 0, False: 0]
  ------------------
  637|      0|            compiler_unit_free(u);
  638|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  639|      0|        }
  640|      0|    }
  641|      6|    if (u->u_ste->ste_needs_classdict) {
  ------------------
  |  Branch (641:9): [True: 0, False: 6]
  ------------------
  642|       |        /* Cook up an implicit __classdict__ cell. */
  643|      0|        Py_ssize_t res;
  644|      0|        assert(u->u_scope_type == COMPILE_SCOPE_CLASS);
  ------------------
  |  Branch (644:9): [True: 0, False: 0]
  ------------------
  645|      0|        res = _PyCompile_DictAddObj(u->u_metadata.u_cellvars, &_Py_ID(__classdict__));
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  646|      0|        if (res < 0) {
  ------------------
  |  Branch (646:13): [True: 0, False: 0]
  ------------------
  647|      0|            compiler_unit_free(u);
  648|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  649|      0|        }
  650|      0|    }
  651|      6|    if (u->u_ste->ste_has_conditional_annotations) {
  ------------------
  |  Branch (651:9): [True: 0, False: 6]
  ------------------
  652|       |        /* Cook up an implicit __conditional_annotations__ cell */
  653|      0|        Py_ssize_t res;
  654|      0|        assert(u->u_scope_type == COMPILE_SCOPE_CLASS || u->u_scope_type == COMPILE_SCOPE_MODULE);
  ------------------
  |  Branch (654:9): [True: 0, False: 0]
  |  Branch (654:9): [True: 0, False: 0]
  ------------------
  655|      0|        res = _PyCompile_DictAddObj(u->u_metadata.u_cellvars, &_Py_ID(__conditional_annotations__));
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  656|      0|        if (res < 0) {
  ------------------
  |  Branch (656:13): [True: 0, False: 0]
  ------------------
  657|      0|            compiler_unit_free(u);
  658|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  659|      0|        }
  660|      0|    }
  661|       |
  662|      6|    u->u_metadata.u_freevars = dictbytype(u->u_ste->ste_symbols, FREE, DEF_FREE_CLASS,
  ------------------
  |  |  190|      6|#define FREE 4
  ------------------
                  u->u_metadata.u_freevars = dictbytype(u->u_ste->ste_symbols, FREE, DEF_FREE_CLASS,
  ------------------
  |  |  170|      6|#define DEF_FREE_CLASS (2<<5)    /* free variable from class's method */
  ------------------
  663|      6|                               PyDict_GET_SIZE(u->u_metadata.u_cellvars));
  ------------------
  |  |   63|      6|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  664|      6|    if (!u->u_metadata.u_freevars) {
  ------------------
  |  Branch (664:9): [True: 0, False: 6]
  ------------------
  665|      0|        compiler_unit_free(u);
  666|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  667|      0|    }
  668|       |
  669|      6|    u->u_metadata.u_fasthidden = PyDict_New();
  670|      6|    if (!u->u_metadata.u_fasthidden) {
  ------------------
  |  Branch (670:9): [True: 0, False: 6]
  ------------------
  671|      0|        compiler_unit_free(u);
  672|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  673|      0|    }
  674|       |
  675|      6|    u->u_nfblocks = 0;
  676|      6|    u->u_in_inlined_comp = 0;
  677|      6|    u->u_metadata.u_firstlineno = lineno;
  678|      6|    u->u_metadata.u_consts = PyDict_New();
  679|      6|    if (!u->u_metadata.u_consts) {
  ------------------
  |  Branch (679:9): [True: 0, False: 6]
  ------------------
  680|      0|        compiler_unit_free(u);
  681|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  682|      0|    }
  683|      6|    u->u_metadata.u_names = PyDict_New();
  684|      6|    if (!u->u_metadata.u_names) {
  ------------------
  |  Branch (684:9): [True: 0, False: 6]
  ------------------
  685|      0|        compiler_unit_free(u);
  686|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  687|      0|    }
  688|       |
  689|      6|    u->u_deferred_annotations = NULL;
  690|      6|    u->u_conditional_annotation_indices = NULL;
  691|      6|    u->u_next_conditional_annotation_index = 0;
  692|      6|    if (scope_type == COMPILE_SCOPE_CLASS) {
  ------------------
  |  Branch (692:9): [True: 0, False: 6]
  ------------------
  693|      0|        u->u_static_attributes = PySet_New(0);
  694|      0|        if (!u->u_static_attributes) {
  ------------------
  |  Branch (694:13): [True: 0, False: 0]
  ------------------
  695|      0|            compiler_unit_free(u);
  696|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  697|      0|        }
  698|      0|    }
  699|      6|    else {
  700|      6|        u->u_static_attributes = NULL;
  701|      6|    }
  702|       |
  703|      6|    u->u_instr_sequence = (instr_sequence*)_PyInstructionSequence_New();
  704|      6|    if (!u->u_instr_sequence) {
  ------------------
  |  Branch (704:9): [True: 0, False: 6]
  ------------------
  705|      0|        compiler_unit_free(u);
  706|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  707|      0|    }
  708|      6|    u->u_stashed_instr_sequence = NULL;
  709|       |
  710|       |    /* Push the old compiler_unit on the stack. */
  711|      6|    if (c->u) {
  ------------------
  |  Branch (711:9): [True: 3, False: 3]
  ------------------
  712|      3|        PyObject *capsule = PyCapsule_New(c->u, CAPSULE_NAME, NULL);
  ------------------
  |  |  208|      3|#define CAPSULE_NAME "compile.c compiler unit"
  ------------------
  713|      3|        if (!capsule || PyList_Append(c->c_stack, capsule) < 0) {
  ------------------
  |  Branch (713:13): [True: 0, False: 3]
  |  Branch (713:25): [True: 0, False: 3]
  ------------------
  714|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  715|      0|            compiler_unit_free(u);
  716|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  717|      0|        }
  718|      3|        Py_DECREF(capsule);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  719|      3|        if (private == NULL) {
  ------------------
  |  Branch (719:13): [True: 3, False: 0]
  ------------------
  720|      3|            private = c->u->u_private;
  721|      3|        }
  722|      3|    }
  723|       |
  724|      6|    u->u_private = Py_XNewRef(private);
  ------------------
  |  |  551|      6|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  725|       |
  726|      6|    c->u = u;
  727|      6|    if (scope_type != COMPILE_SCOPE_MODULE) {
  ------------------
  |  Branch (727:9): [True: 3, False: 3]
  ------------------
  728|      3|        RETURN_IF_ERROR(compiler_set_qualname(c));
  ------------------
  |  |   40|      3|    do {                    \
  |  |   41|      3|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 3]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
  729|      3|    }
  730|      6|    return SUCCESS;
  ------------------
  |  |   36|      6|#define SUCCESS 0
  ------------------
  731|      6|}
_PyCompile_ExitScope:
  735|      6|{
  736|       |    // Don't call PySequence_DelItem() with an exception raised
  737|      6|    PyObject *exc = PyErr_GetRaisedException();
  738|       |
  739|      6|    instr_sequence *nested_seq = NULL;
  740|      6|    if (c->c_save_nested_seqs) {
  ------------------
  |  Branch (740:9): [True: 0, False: 6]
  ------------------
  741|      0|        nested_seq = c->u->u_instr_sequence;
  742|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  743|      0|    }
  744|      6|    compiler_unit_free(c->u);
  745|       |    /* Restore c->u to the parent unit. */
  746|      6|    Py_ssize_t n = PyList_GET_SIZE(c->c_stack) - 1;
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  747|      6|    if (n >= 0) {
  ------------------
  |  Branch (747:9): [True: 3, False: 3]
  ------------------
  748|      3|        PyObject *capsule = PyList_GET_ITEM(c->c_stack, n);
  ------------------
  |  |   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 (748:29): [True: 3, False: 0]
  ------------------
  749|      3|        c->u = (struct compiler_unit *)PyCapsule_GetPointer(capsule, CAPSULE_NAME);
  ------------------
  |  |  208|      3|#define CAPSULE_NAME "compile.c compiler unit"
  ------------------
  750|      3|        assert(c->u);
  ------------------
  |  Branch (750:9): [True: 3, False: 0]
  ------------------
  751|       |        /* we are deleting from a list so this really shouldn't fail */
  752|      3|        if (PySequence_DelItem(c->c_stack, n) < 0) {
  ------------------
  |  Branch (752:13): [True: 0, False: 3]
  ------------------
  753|      0|            PyErr_FormatUnraisable("Exception ignored while removing "
  754|      0|                                   "the last compiler stack item");
  755|      0|        }
  756|      3|        if (nested_seq != NULL) {
  ------------------
  |  Branch (756:13): [True: 0, False: 3]
  ------------------
  757|      0|            if (_PyInstructionSequence_AddNested(c->u->u_instr_sequence, nested_seq) < 0) {
  ------------------
  |  Branch (757:17): [True: 0, False: 0]
  ------------------
  758|      0|                PyErr_FormatUnraisable("Exception ignored while appending "
  759|      0|                                       "nested instruction sequence");
  760|      0|            }
  761|      0|        }
  762|      3|    }
  763|      3|    else {
  764|      3|        c->u = NULL;
  765|      3|    }
  766|      6|    Py_XDECREF(nested_seq);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  767|       |
  768|      6|    PyErr_SetRaisedException(exc);
  769|      6|}
_PyCompile_ResolveNameop:
 1011|     18|{
 1012|     18|    PyObject *dict = c->u->u_metadata.u_names;
 1013|     18|    *optype = COMPILE_OP_NAME;
 1014|       |
 1015|     18|    assert(scope >= 0);
  ------------------
  |  Branch (1015:5): [True: 18, False: 0]
  ------------------
 1016|     18|    switch (scope) {
 1017|      0|    case FREE:
  ------------------
  |  |  190|      0|#define FREE 4
  ------------------
  |  Branch (1017:5): [True: 0, False: 18]
  ------------------
 1018|      0|        dict = c->u->u_metadata.u_freevars;
 1019|      0|        *optype = COMPILE_OP_DEREF;
 1020|      0|        break;
 1021|      0|    case CELL:
  ------------------
  |  |  191|      0|#define CELL 5
  ------------------
  |  Branch (1021:5): [True: 0, False: 18]
  ------------------
 1022|      0|        dict = c->u->u_metadata.u_cellvars;
 1023|      0|        *optype = COMPILE_OP_DEREF;
 1024|      0|        break;
 1025|     15|    case LOCAL:
  ------------------
  |  |  187|     15|#define LOCAL 1
  ------------------
  |  Branch (1025:5): [True: 15, False: 3]
  ------------------
 1026|     15|        if (_PyST_IsFunctionLike(c->u->u_ste)) {
  ------------------
  |  Branch (1026:13): [True: 15, False: 0]
  ------------------
 1027|     15|            *optype = COMPILE_OP_FAST;
 1028|     15|        }
 1029|      0|        else {
 1030|      0|            PyObject *item;
 1031|      0|            RETURN_IF_ERROR(PyDict_GetItemRef(c->u->u_metadata.u_fasthidden, mangled,
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 1032|      0|                                              &item));
 1033|      0|            if (item == 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 (1033:17): [True: 0, False: 0]
  ------------------
 1034|      0|                *optype = COMPILE_OP_FAST;
 1035|      0|            }
 1036|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1037|      0|        }
 1038|     15|        break;
 1039|     15|    case GLOBAL_IMPLICIT:
  ------------------
  |  |  189|      3|#define GLOBAL_IMPLICIT 3
  ------------------
  |  Branch (1039:5): [True: 3, False: 15]
  ------------------
 1040|      3|        if (_PyST_IsFunctionLike(c->u->u_ste)) {
  ------------------
  |  Branch (1040:13): [True: 3, False: 0]
  ------------------
 1041|      3|            *optype = COMPILE_OP_GLOBAL;
 1042|      3|        }
 1043|      3|        break;
 1044|      0|    case GLOBAL_EXPLICIT:
  ------------------
  |  |  188|      0|#define GLOBAL_EXPLICIT 2
  ------------------
  |  Branch (1044:5): [True: 0, False: 18]
  ------------------
 1045|      0|        *optype = COMPILE_OP_GLOBAL;
 1046|      0|        break;
 1047|      0|    default:
  ------------------
  |  Branch (1047:5): [True: 0, False: 18]
  ------------------
 1048|       |        /* scope can be 0 */
 1049|      0|        break;
 1050|     18|    }
 1051|     18|    if (*optype != COMPILE_OP_FAST) {
  ------------------
  |  Branch (1051:9): [True: 3, False: 15]
  ------------------
 1052|      3|        *arg = _PyCompile_DictAddObj(dict, mangled);
 1053|      3|        RETURN_IF_ERROR(*arg);
  ------------------
  |  |   40|      3|    do {                    \
  |  |   41|      3|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 3]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
 1054|      3|    }
 1055|     18|    return SUCCESS;
  ------------------
  |  |   36|     18|#define SUCCESS 0
  ------------------
 1056|     18|}
_PyCompile_MaybeMangle:
 1286|     18|{
 1287|     18|    return _Py_MaybeMangle(c->u->u_private, c->u->u_ste, name);
 1288|     18|}
_PyCompile_InstrSequence:
 1292|     60|{
 1293|     60|    return c->u->u_instr_sequence;
 1294|     60|}
_PyCompile_SymtableEntry:
 1339|     33|{
 1340|     33|    return c->u->u_ste;
 1341|     33|}
_PyCompile_Metadata:
 1379|     15|{
 1380|     15|    return &c->u->u_metadata;
 1381|     15|}
_PyCompile_ConstCacheMergeOne:
 1386|     36|{
 1387|     36|    PyObject *key = const_cache_insert(const_cache, *obj, false);
 1388|     36|    if (key == NULL) {
  ------------------
  |  Branch (1388:9): [True: 0, False: 36]
  ------------------
 1389|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1390|      0|    }
 1391|     36|    if (PyTuple_CheckExact(key)) {
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1392|     36|        PyObject *item = PyTuple_GET_ITEM(key, 1);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1392:26): [True: 36, False: 0]
  ------------------
 1393|     36|        Py_SETREF(*obj, Py_NewRef(item));
  ------------------
  |  |  352|     36|    do { \
  |  |  353|     36|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|     36|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|     36|        *_tmp_dst_ptr = (src); \
  |  |  356|     36|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|     36|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|     36|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 36]
  |  |  ------------------
  ------------------
 1394|     36|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1395|     36|    }
 1396|      0|    else {
 1397|      0|        Py_SETREF(*obj, key);
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1398|      0|    }
 1399|     36|    return SUCCESS;
  ------------------
  |  |   36|     36|#define SUCCESS 0
  ------------------
 1400|     36|}
_PyCompile_OptimizeAndAssemble:
 1509|      6|{
 1510|      6|    struct compiler_unit *u = c->u;
 1511|      6|    PyObject *const_cache = c->c_const_cache;
 1512|      6|    PyObject *filename = c->c_filename;
 1513|       |
 1514|      6|    int code_flags = compute_code_flags(c);
 1515|      6|    if (code_flags < 0) {
  ------------------
  |  Branch (1515:9): [True: 0, False: 6]
  ------------------
 1516|      0|        return NULL;
 1517|      0|    }
 1518|       |
 1519|      6|    if (_PyCodegen_AddReturnAtEnd(c, addNone) < 0) {
  ------------------
  |  Branch (1519:9): [True: 0, False: 6]
  ------------------
 1520|      0|        return NULL;
 1521|      0|    }
 1522|       |
 1523|      6|    return optimize_and_assemble_code_unit(u, const_cache, code_flags, filename);
 1524|      6|}
_PyAST_Compile:
 1529|      3|{
 1530|      3|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (1530:5): [True: 3, False: 0]
  ------------------
 1531|      3|    compiler *c = new_compiler(mod, filename, pflags, optimize, arena, module);
 1532|      3|    if (c == NULL) {
  ------------------
  |  Branch (1532:9): [True: 0, False: 3]
  ------------------
 1533|      0|        return NULL;
 1534|      0|    }
 1535|       |
 1536|      3|    PyCodeObject *co = compiler_mod(c, mod);
 1537|      3|    compiler_free(c);
 1538|      3|    assert(co || PyErr_Occurred());
  ------------------
  |  Branch (1538:5): [True: 3, False: 0]
  |  Branch (1538:5): [True: 0, False: 0]
  ------------------
 1539|      3|    return co;
 1540|      3|}
compile.c:merge_consts_recursive:
  452|      6|{
  453|       |    return const_cache_insert(const_cache, o, true);
  454|      6|}
compile.c:compiler_unit_free:
  189|      6|{
  190|      6|    Py_CLEAR(u->u_instr_sequence);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  191|      6|    Py_CLEAR(u->u_stashed_instr_sequence);
  ------------------
  |  |  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: 0, False: 6]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
  192|      6|    Py_CLEAR(u->u_ste);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  193|      6|    Py_CLEAR(u->u_metadata.u_name);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  194|      6|    Py_CLEAR(u->u_metadata.u_qualname);
  ------------------
  |  |  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: 3, False: 3]
  |  |  ------------------
  |  |  488|      3|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      3|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      3|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      3|        } \
  |  |  491|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
  195|      6|    Py_CLEAR(u->u_metadata.u_consts);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  196|      6|    Py_CLEAR(u->u_metadata.u_names);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  197|      6|    Py_CLEAR(u->u_metadata.u_varnames);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  198|      6|    Py_CLEAR(u->u_metadata.u_freevars);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  199|      6|    Py_CLEAR(u->u_metadata.u_cellvars);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  200|      6|    Py_CLEAR(u->u_metadata.u_fasthidden);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  201|      6|    Py_CLEAR(u->u_private);
  ------------------
  |  |  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: 0, False: 6]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
  202|      6|    Py_CLEAR(u->u_static_attributes);
  ------------------
  |  |  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: 0, False: 6]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
  203|      6|    Py_CLEAR(u->u_deferred_annotations);
  ------------------
  |  |  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: 0, False: 6]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
  204|       |    Py_CLEAR(u->u_conditional_annotation_indices);
  ------------------
  |  |  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: 0, False: 6]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
  205|      6|    PyMem_Free(u);
  206|      6|}
compile.c:list2dict:
  497|      6|{
  498|      6|    Py_ssize_t i, n;
  499|      6|    PyObject *v, *k;
  500|      6|    PyObject *dict = PyDict_New();
  501|      6|    if (!dict) return NULL;
  ------------------
  |  Branch (501:9): [True: 0, False: 6]
  ------------------
  502|       |
  503|      6|    n = PyList_Size(list);
  504|     21|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (504:17): [True: 15, False: 6]
  ------------------
  505|     15|        v = PyLong_FromSsize_t(i);
  506|     15|        if (!v) {
  ------------------
  |  Branch (506:13): [True: 0, False: 15]
  ------------------
  507|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  508|      0|            return NULL;
  509|      0|        }
  510|     15|        k = PyList_GET_ITEM(list, i);
  ------------------
  |  |   40|     15|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|     15|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (510:13): [True: 15, False: 0]
  ------------------
  511|     15|        if (PyDict_SetItem(dict, k, v) < 0) {
  ------------------
  |  Branch (511:13): [True: 0, False: 15]
  ------------------
  512|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  513|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  514|      0|            return NULL;
  515|      0|        }
  516|     15|        Py_DECREF(v);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  517|     15|    }
  518|      6|    return dict;
  519|      6|}
compile.c:dictbytype:
  531|     12|{
  532|     12|    Py_ssize_t i = offset, num_keys, key_i;
  533|     12|    PyObject *k, *v, *dest = PyDict_New();
  534|     12|    PyObject *sorted_keys;
  535|       |
  536|     12|    assert(offset >= 0);
  ------------------
  |  Branch (536:5): [True: 12, False: 0]
  ------------------
  537|     12|    if (dest == NULL)
  ------------------
  |  Branch (537:9): [True: 0, False: 12]
  ------------------
  538|      0|        return NULL;
  539|       |
  540|       |    /* Sort the keys so that we have a deterministic order on the indexes
  541|       |       saved in the returned dictionary.  These indexes are used as indexes
  542|       |       into the free and cell var storage.  Therefore if they aren't
  543|       |       deterministic, then the generated bytecode is not deterministic.
  544|       |    */
  545|     12|    sorted_keys = PyDict_Keys(src);
  546|     12|    if (sorted_keys == NULL) {
  ------------------
  |  Branch (546:9): [True: 0, False: 12]
  ------------------
  547|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  548|      0|        return NULL;
  549|      0|    }
  550|     12|    if (PyList_Sort(sorted_keys) != 0) {
  ------------------
  |  Branch (550:9): [True: 0, False: 12]
  ------------------
  551|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  552|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  553|      0|        return NULL;
  554|      0|    }
  555|     12|    num_keys = PyList_GET_SIZE(sorted_keys);
  ------------------
  |  |   38|     12|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  556|       |
  557|     48|    for (key_i = 0; key_i < num_keys; key_i++) {
  ------------------
  |  Branch (557:21): [True: 36, False: 12]
  ------------------
  558|     36|        k = PyList_GET_ITEM(sorted_keys, key_i);
  ------------------
  |  |   40|     36|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|     36|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (558:13): [True: 36, False: 0]
  ------------------
  559|      0|        v = PyDict_GetItemWithError(src, k);
  560|     36|        if (!v) {
  ------------------
  |  Branch (560:13): [True: 0, False: 36]
  ------------------
  561|      0|            if (!PyErr_Occurred()) {
  ------------------
  |  Branch (561:17): [True: 0, False: 0]
  ------------------
  562|      0|                PyErr_SetObject(PyExc_KeyError, k);
  563|      0|            }
  564|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  565|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  566|      0|            return NULL;
  567|      0|        }
  568|     36|        long vi = PyLong_AsLong(v);
  569|     36|        if (vi == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (569:13): [True: 0, False: 36]
  |  Branch (569:25): [True: 0, False: 0]
  ------------------
  570|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  571|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  572|      0|            return NULL;
  573|      0|        }
  574|     36|        if (SYMBOL_TO_SCOPE(vi) == scope_type || vi & flag) {
  ------------------
  |  |  185|     36|#define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  183|     36|#define SCOPE_OFFSET 12
  |  |  ------------------
  |  |               #define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  184|     36|#define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|     36|#define DEF_GLOBAL 1             /* global stmt */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  166|     36|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  167|     36|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  168|     36|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (574:13): [True: 0, False: 36]
  |  Branch (574:50): [True: 0, False: 36]
  ------------------
  575|      0|            PyObject *item = PyLong_FromSsize_t(i);
  576|      0|            if (item == NULL) {
  ------------------
  |  Branch (576:17): [True: 0, False: 0]
  ------------------
  577|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  578|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  579|      0|                return NULL;
  580|      0|            }
  581|      0|            i++;
  582|      0|            if (PyDict_SetItem(dest, k, item) < 0) {
  ------------------
  |  Branch (582:17): [True: 0, False: 0]
  ------------------
  583|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  584|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  585|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  586|      0|                return NULL;
  587|      0|            }
  588|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  589|      0|        }
  590|     36|    }
  591|     12|    Py_DECREF(sorted_keys);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  592|     12|    return dest;
  593|     12|}
compile.c:compiler_set_qualname:
  238|      3|{
  239|      3|    Py_ssize_t stack_size;
  240|      3|    struct compiler_unit *u = c->u;
  241|      3|    PyObject *name, *base;
  242|       |
  243|      3|    base = NULL;
  244|      3|    stack_size = PyList_GET_SIZE(c->c_stack);
  ------------------
  |  |   38|      3|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  245|      3|    assert(stack_size >= 1);
  ------------------
  |  Branch (245:5): [True: 3, False: 0]
  ------------------
  246|      3|    if (stack_size > 1) {
  ------------------
  |  Branch (246:9): [True: 0, False: 3]
  ------------------
  247|      0|        int scope, force_global = 0;
  248|      0|        struct compiler_unit *parent;
  249|      0|        PyObject *mangled, *capsule;
  250|       |
  251|      0|        capsule = PyList_GET_ITEM(c->c_stack, stack_size - 1);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (251:19): [True: 0, False: 0]
  ------------------
  252|      0|        parent = (struct compiler_unit *)PyCapsule_GetPointer(capsule, CAPSULE_NAME);
  ------------------
  |  |  208|      0|#define CAPSULE_NAME "compile.c compiler unit"
  ------------------
  253|      0|        assert(parent);
  ------------------
  |  Branch (253:9): [True: 0, False: 0]
  ------------------
  254|      0|        if (parent->u_scope_type == COMPILE_SCOPE_ANNOTATIONS) {
  ------------------
  |  Branch (254:13): [True: 0, False: 0]
  ------------------
  255|       |            /* The parent is an annotation scope, so we need to
  256|       |               look at the grandparent. */
  257|      0|            if (stack_size == 2) {
  ------------------
  |  Branch (257:17): [True: 0, False: 0]
  ------------------
  258|       |                // If we're immediately within the module, we can skip
  259|       |                // the rest and just set the qualname to be the same as name.
  260|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  261|      0|                return SUCCESS;
  ------------------
  |  |   36|      0|#define SUCCESS 0
  ------------------
  262|      0|            }
  263|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (263:23): [True: 0, False: 0]
  ------------------
  264|      0|            parent = (struct compiler_unit *)PyCapsule_GetPointer(capsule, CAPSULE_NAME);
  ------------------
  |  |  208|      0|#define CAPSULE_NAME "compile.c compiler unit"
  ------------------
  265|      0|            assert(parent);
  ------------------
  |  Branch (265:13): [True: 0, False: 0]
  ------------------
  266|      0|        }
  267|       |
  268|      0|        if (u->u_scope_type == COMPILE_SCOPE_FUNCTION
  ------------------
  |  Branch (268:13): [True: 0, False: 0]
  ------------------
  269|      0|            || u->u_scope_type == COMPILE_SCOPE_ASYNC_FUNCTION
  ------------------
  |  Branch (269:16): [True: 0, False: 0]
  ------------------
  270|      0|            || u->u_scope_type == COMPILE_SCOPE_CLASS) {
  ------------------
  |  Branch (270:16): [True: 0, False: 0]
  ------------------
  271|      0|            assert(u->u_metadata.u_name);
  ------------------
  |  Branch (271:13): [True: 0, False: 0]
  ------------------
  272|      0|            mangled = _Py_Mangle(parent->u_private, u->u_metadata.u_name);
  273|      0|            if (!mangled) {
  ------------------
  |  Branch (273:17): [True: 0, False: 0]
  ------------------
  274|      0|                return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  275|      0|            }
  276|       |
  277|      0|            scope = _PyST_GetScope(parent->u_ste, mangled);
  278|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  279|      0|            RETURN_IF_ERROR(scope);
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
  280|      0|            assert(scope != GLOBAL_IMPLICIT);
  ------------------
  |  Branch (280:13): [True: 0, False: 0]
  ------------------
  281|      0|            if (scope == GLOBAL_EXPLICIT)
  ------------------
  |  |  188|      0|#define GLOBAL_EXPLICIT 2
  ------------------
  |  Branch (281:17): [True: 0, False: 0]
  ------------------
  282|      0|                force_global = 1;
  283|      0|        }
  284|       |
  285|      0|        if (!force_global) {
  ------------------
  |  Branch (285:13): [True: 0, False: 0]
  ------------------
  286|      0|            if (parent->u_scope_type == COMPILE_SCOPE_FUNCTION
  ------------------
  |  Branch (286:17): [True: 0, False: 0]
  ------------------
  287|      0|                || parent->u_scope_type == COMPILE_SCOPE_ASYNC_FUNCTION
  ------------------
  |  Branch (287:20): [True: 0, False: 0]
  ------------------
  288|      0|                || parent->u_scope_type == COMPILE_SCOPE_LAMBDA)
  ------------------
  |  Branch (288:20): [True: 0, False: 0]
  ------------------
  289|      0|            {
  290|      0|                _Py_DECLARE_STR(dot_locals, ".<locals>");
  291|      0|                base = PyUnicode_Concat(parent->u_metadata.u_qualname,
  292|      0|                                        &_Py_STR(dot_locals));
  ------------------
  |  |  922|      0|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  293|      0|                if (base == NULL) {
  ------------------
  |  Branch (293:21): [True: 0, False: 0]
  ------------------
  294|      0|                    return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  295|      0|                }
  296|      0|            }
  297|      0|            else {
  298|      0|                base = Py_NewRef(parent->u_metadata.u_qualname);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  299|      0|            }
  300|      0|        }
  301|      0|        if (u->u_ste->ste_function_name != NULL) {
  ------------------
  |  Branch (301:13): [True: 0, False: 0]
  ------------------
  302|      0|            PyObject *tmp = base;
  303|      0|            base = PyUnicode_FromFormat("%U.%U",
  304|      0|                base,
  305|      0|                u->u_ste->ste_function_name);
  306|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  307|      0|            if (base == NULL) {
  ------------------
  |  Branch (307:17): [True: 0, False: 0]
  ------------------
  308|      0|                return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  309|      0|            }
  310|      0|        }
  311|      0|    }
  312|      3|    else if (u->u_ste->ste_function_name != NULL) {
  ------------------
  |  Branch (312:14): [True: 0, False: 3]
  ------------------
  313|      0|        base = Py_NewRef(u->u_ste->ste_function_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  314|      0|    }
  315|       |
  316|      3|    if (base != NULL) {
  ------------------
  |  Branch (316:9): [True: 0, False: 3]
  ------------------
  317|      0|        name = PyUnicode_Concat(base, _Py_LATIN1_CHR('.'));
  ------------------
  |  |  924|      0|    ((CH) < 128 \
  |  |  ------------------
  |  |  |  Branch (924:6): [True: 0, Folded]
  |  |  ------------------
  |  |  925|      0|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  926|      0|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  318|      0|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  319|      0|        if (name == NULL) {
  ------------------
  |  Branch (319:13): [True: 0, False: 0]
  ------------------
  320|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  321|      0|        }
  322|      0|        PyUnicode_Append(&name, u->u_metadata.u_name);
  323|      0|        if (name == NULL) {
  ------------------
  |  Branch (323:13): [True: 0, False: 0]
  ------------------
  324|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  325|      0|        }
  326|      0|    }
  327|      3|    else {
  328|      3|        name = Py_NewRef(u->u_metadata.u_name);
  ------------------
  |  |  550|      3|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  329|      3|    }
  330|      3|    u->u_metadata.u_qualname = name;
  331|       |
  332|      3|    return SUCCESS;
  ------------------
  |  |   36|      3|#define SUCCESS 0
  ------------------
  333|      3|}
compile.c:const_cache_insert:
  340|     42|{
  341|     42|    assert(PyDict_CheckExact(const_cache));
  ------------------
  |  Branch (341:5): [True: 42, False: 0]
  ------------------
  342|       |    // None and Ellipsis are immortal objects, and key is the singleton.
  343|       |    // No need to merge object and key.
  344|     42|    if (o == Py_None || o == Py_Ellipsis) {
  ------------------
  |  |  616|     84|#  define Py_None (&_Py_NoneStruct)
  ------------------
                  if (o == Py_None || o == Py_Ellipsis) {
  ------------------
  |  |   14|     39|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
  |  Branch (344:9): [True: 3, False: 39]
  |  Branch (344:25): [True: 0, False: 39]
  ------------------
  345|      3|        return o;
  346|      3|    }
  347|       |
  348|     39|    PyObject *key = _PyCode_ConstantKey(o);
  349|     39|    if (key == NULL) {
  ------------------
  |  Branch (349:9): [True: 0, False: 39]
  ------------------
  350|      0|        return NULL;
  351|      0|    }
  352|       |
  353|     39|    PyObject *t;
  354|     39|    int res = PyDict_SetDefaultRef(const_cache, key, key, &t);
  355|     39|    if (res != 0) {
  ------------------
  |  Branch (355:9): [True: 6, False: 33]
  ------------------
  356|       |        // o was not inserted into const_cache. t is either the existing value
  357|       |        // or NULL (on error).
  358|      6|        Py_DECREF(key);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  359|      6|        return t;
  360|      6|    }
  361|     33|    Py_DECREF(t);
  ------------------
  |  |  430|     33|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  362|       |
  363|     33|    if (!recursive) {
  ------------------
  |  Branch (363:9): [True: 30, False: 3]
  ------------------
  364|     30|        return key;
  365|     30|    }
  366|       |
  367|       |    // We registered o in const_cache.
  368|       |    // When o is a tuple or frozenset, we want to merge its
  369|       |    // items too.
  370|      3|    if (PyTuple_CheckExact(o)) {
  ------------------
  |  |   28|      3|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_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 (215:32): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  371|      0|        Py_ssize_t len = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  372|      0|        for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (372:32): [True: 0, False: 0]
  ------------------
  373|      0|            PyObject *item = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (373:30): [True: 0, False: 0]
  ------------------
  374|      0|            PyObject *u = const_cache_insert(const_cache, item, recursive);
  375|      0|            if (u == NULL) {
  ------------------
  |  Branch (375:17): [True: 0, False: 0]
  ------------------
  376|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  377|      0|                return NULL;
  378|      0|            }
  379|       |
  380|       |            // See _PyCode_ConstantKey()
  381|      0|            PyObject *v;  // borrowed
  382|      0|            if (PyTuple_CheckExact(u)) {
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  383|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (383:21): [True: 0, False: 0]
  ------------------
  384|      0|            }
  385|      0|            else {
  386|      0|                v = u;
  387|      0|            }
  388|      0|            if (v != item) {
  ------------------
  |  Branch (388:17): [True: 0, False: 0]
  ------------------
  389|      0|                PyTuple_SET_ITEM(o, i, Py_NewRef(v));
  ------------------
  |  |   40|      0|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  390|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  391|      0|            }
  392|       |
  393|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  394|      0|        }
  395|      0|    }
  396|      3|    else if (PyFrozenSet_CheckExact(o)) {
  ------------------
  |  |   23|      3|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_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 (215:32): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  397|       |        // *key* is tuple. And its first item is frozenset of
  398|       |        // constant keys.
  399|       |        // See _PyCode_ConstantKey() for detail.
  400|      0|        assert(PyTuple_CheckExact(key));
  ------------------
  |  Branch (400:9): [True: 0, False: 0]
  ------------------
  401|      0|        assert(PyTuple_GET_SIZE(key) == 2);
  ------------------
  |  Branch (401:9): [True: 0, False: 0]
  ------------------
  402|       |
  403|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  404|      0|        if (len == 0) {  // empty frozenset should not be re-created.
  ------------------
  |  Branch (404:13): [True: 0, False: 0]
  ------------------
  405|      0|            return key;
  406|      0|        }
  407|      0|        PyObject *tuple = PyTuple_New(len);
  408|      0|        if (tuple == NULL) {
  ------------------
  |  Branch (408:13): [True: 0, False: 0]
  ------------------
  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|            return NULL;
  411|      0|        }
  412|      0|        Py_ssize_t i = 0, pos = 0;
  413|      0|        PyObject *item;
  414|      0|        Py_hash_t hash;
  415|      0|        while (_PySet_NextEntry(o, &pos, &item, &hash)) {
  ------------------
  |  Branch (415:16): [True: 0, False: 0]
  ------------------
  416|      0|            PyObject *k = const_cache_insert(const_cache, item, recursive);
  417|      0|            if (k == NULL) {
  ------------------
  |  Branch (417:17): [True: 0, False: 0]
  ------------------
  418|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  419|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  420|      0|                return NULL;
  421|      0|            }
  422|      0|            PyObject *u;
  423|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  424|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  425|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  426|      0|            }
  427|      0|            else {
  428|      0|                u = k;
  429|      0|            }
  430|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  431|      0|            i++;
  432|      0|        }
  433|       |
  434|       |        // Instead of rewriting o, we create new frozenset and embed in the
  435|       |        // key tuple.  Caller should get merged frozenset from the key tuple.
  436|      0|        PyObject *new = PyFrozenSet_New(tuple);
  437|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  438|      0|        if (new == NULL) {
  ------------------
  |  Branch (438:13): [True: 0, False: 0]
  ------------------
  439|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  440|      0|            return NULL;
  441|      0|        }
  442|      0|        assert(PyTuple_GET_ITEM(key, 1) == o);
  ------------------
  |  Branch (442:9): [True: 0, False: 0]
  |  Branch (442:9): [True: 0, False: 0]
  ------------------
  443|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  444|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  445|      0|    }
  446|       |
  447|      3|    return key;
  448|      3|}
compile.c:compute_code_flags:
 1429|      6|{
 1430|      6|    PySTEntryObject *ste = c->u->u_ste;
 1431|      6|    int flags = 0;
 1432|      6|    if (_PyST_IsFunctionLike(ste)) {
  ------------------
  |  Branch (1432:9): [True: 3, False: 3]
  ------------------
 1433|      3|        flags |= CO_NEWLOCALS | CO_OPTIMIZED;
  ------------------
  |  |  123|      3|#define CO_NEWLOCALS    0x0002
  ------------------
                      flags |= CO_NEWLOCALS | CO_OPTIMIZED;
  ------------------
  |  |  122|      3|#define CO_OPTIMIZED    0x0001
  ------------------
 1434|      3|        if (ste->ste_nested)
  ------------------
  |  Branch (1434:13): [True: 0, False: 3]
  ------------------
 1435|      0|            flags |= CO_NESTED;
  ------------------
  |  |  126|      0|#define CO_NESTED       0x0010
  ------------------
 1436|      3|        if (ste->ste_generator && !ste->ste_coroutine)
  ------------------
  |  Branch (1436:13): [True: 0, False: 3]
  |  Branch (1436:35): [True: 0, False: 0]
  ------------------
 1437|      0|            flags |= CO_GENERATOR;
  ------------------
  |  |  127|      0|#define CO_GENERATOR    0x0020
  ------------------
 1438|      3|        if (ste->ste_generator && ste->ste_coroutine)
  ------------------
  |  Branch (1438:13): [True: 0, False: 3]
  |  Branch (1438:35): [True: 0, False: 0]
  ------------------
 1439|      0|            flags |= CO_ASYNC_GENERATOR;
  ------------------
  |  |  133|      0|#define CO_ASYNC_GENERATOR      0x0200
  ------------------
 1440|      3|        if (ste->ste_varargs)
  ------------------
  |  Branch (1440:13): [True: 0, False: 3]
  ------------------
 1441|      0|            flags |= CO_VARARGS;
  ------------------
  |  |  124|      0|#define CO_VARARGS      0x0004
  ------------------
 1442|      3|        if (ste->ste_varkeywords)
  ------------------
  |  Branch (1442:13): [True: 0, False: 3]
  ------------------
 1443|      0|            flags |= CO_VARKEYWORDS;
  ------------------
  |  |  125|      0|#define CO_VARKEYWORDS  0x0008
  ------------------
 1444|      3|        if (ste->ste_has_docstring)
  ------------------
  |  Branch (1444:13): [True: 0, False: 3]
  ------------------
 1445|      0|            flags |= CO_HAS_DOCSTRING;
  ------------------
  |  |  154|      0|#define CO_HAS_DOCSTRING 0x4000000
  ------------------
 1446|      3|        if (ste->ste_method)
  ------------------
  |  Branch (1446:13): [True: 0, False: 3]
  ------------------
 1447|      0|            flags |= CO_METHOD;
  ------------------
  |  |  157|      0|#define CO_METHOD  0x8000000
  ------------------
 1448|      3|    }
 1449|       |
 1450|      6|    if (ste->ste_coroutine && !ste->ste_generator) {
  ------------------
  |  Branch (1450:9): [True: 0, False: 6]
  |  Branch (1450:31): [True: 0, False: 0]
  ------------------
 1451|      0|        flags |= CO_COROUTINE;
  ------------------
  |  |  131|      0|#define CO_COROUTINE            0x0080
  ------------------
 1452|      0|    }
 1453|       |
 1454|       |    /* (Only) inherit compilerflags in PyCF_MASK */
 1455|      6|    flags |= (c->c_flags.cf_flags & PyCF_MASK);
  ------------------
  |  |    6|      6|#define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
  |  |  ------------------
  |  |  |  |  139|      6|#define CO_FUTURE_DIVISION      0x20000
  |  |  ------------------
  |  |               #define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
  |  |  ------------------
  |  |  |  |  140|      6|#define CO_FUTURE_ABSOLUTE_IMPORT 0x40000 /* do absolute imports by default */
  |  |  ------------------
  |  |    7|      6|                   CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
  |  |  ------------------
  |  |  |  |  141|      6|#define CO_FUTURE_WITH_STATEMENT  0x80000
  |  |  ------------------
  |  |                                  CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
  |  |  ------------------
  |  |  |  |  142|      6|#define CO_FUTURE_PRINT_FUNCTION  0x100000
  |  |  ------------------
  |  |    8|      6|                   CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL | \
  |  |  ------------------
  |  |  |  |  143|      6|#define CO_FUTURE_UNICODE_LITERALS 0x200000
  |  |  ------------------
  |  |                                  CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL | \
  |  |  ------------------
  |  |  |  |  145|      6|#define CO_FUTURE_BARRY_AS_BDFL  0x400000
  |  |  ------------------
  |  |    9|      6|                   CO_FUTURE_GENERATOR_STOP | CO_FUTURE_ANNOTATIONS)
  |  |  ------------------
  |  |  |  |  146|      6|#define CO_FUTURE_GENERATOR_STOP  0x800000
  |  |  ------------------
  |  |                                  CO_FUTURE_GENERATOR_STOP | CO_FUTURE_ANNOTATIONS)
  |  |  ------------------
  |  |  |  |  147|      6|#define CO_FUTURE_ANNOTATIONS    0x1000000
  |  |  ------------------
  ------------------
 1456|       |
 1457|      6|    return flags;
 1458|      6|}
compile.c:optimize_and_assemble_code_unit:
 1463|      6|{
 1464|      6|    cfg_builder *g = NULL;
 1465|      6|    instr_sequence optimized_instrs;
 1466|      6|    memset(&optimized_instrs, 0, sizeof(instr_sequence));
 1467|       |
 1468|      6|    PyCodeObject *co = NULL;
 1469|      6|    PyObject *consts = consts_dict_keys_inorder(u->u_metadata.u_consts);
 1470|      6|    if (consts == NULL) {
  ------------------
  |  Branch (1470:9): [True: 0, False: 6]
  ------------------
 1471|      0|        goto error;
 1472|      0|    }
 1473|      6|    g = _PyCfg_FromInstructionSequence(u->u_instr_sequence);
 1474|      6|    if (g == NULL) {
  ------------------
  |  Branch (1474:9): [True: 0, False: 6]
  ------------------
 1475|      0|        goto error;
 1476|      0|    }
 1477|      6|    int nlocals = (int)PyDict_GET_SIZE(u->u_metadata.u_varnames);
  ------------------
  |  |   63|      6|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1478|      6|    int nparams = (int)PyList_GET_SIZE(u->u_ste->ste_varnames);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1479|      6|    assert(u->u_metadata.u_firstlineno);
  ------------------
  |  Branch (1479:5): [True: 6, False: 0]
  ------------------
 1480|       |
 1481|      6|    if (_PyCfg_OptimizeCodeUnit(g, consts, const_cache, nlocals,
  ------------------
  |  Branch (1481:9): [True: 0, False: 6]
  ------------------
 1482|      6|                                nparams, u->u_metadata.u_firstlineno) < 0) {
 1483|      0|        goto error;
 1484|      0|    }
 1485|       |
 1486|      6|    int stackdepth;
 1487|      6|    int nlocalsplus;
 1488|      6|    if (_PyCfg_OptimizedCfgToInstructionSequence(g, &u->u_metadata,
  ------------------
  |  Branch (1488:9): [True: 0, False: 6]
  ------------------
 1489|      6|                                                 &stackdepth, &nlocalsplus,
 1490|      6|                                                 &optimized_instrs) < 0) {
 1491|      0|        goto error;
 1492|      0|    }
 1493|       |
 1494|       |    /** Assembly **/
 1495|      6|    co = _PyAssemble_MakeCodeObject(&u->u_metadata, const_cache, consts,
 1496|      6|                                    stackdepth, &optimized_instrs, nlocalsplus,
 1497|      6|                                    code_flags, filename);
 1498|       |
 1499|      6|error:
 1500|      6|    Py_XDECREF(consts);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1501|      6|    PyInstructionSequence_Fini(&optimized_instrs);
 1502|      6|    _PyCfgBuilder_Free(g);
 1503|      6|    return co;
 1504|      6|}
compile.c:new_compiler:
  174|      3|{
  175|      3|    compiler *c = PyMem_Calloc(1, sizeof(compiler));
  176|      3|    if (c == NULL) {
  ------------------
  |  Branch (176:9): [True: 0, False: 3]
  ------------------
  177|      0|        PyErr_NoMemory();
  178|      0|        return NULL;
  179|      0|    }
  180|      3|    if (compiler_setup(c, mod, filename, pflags, optimize, arena, module) < 0) {
  ------------------
  |  Branch (180:9): [True: 0, False: 3]
  ------------------
  181|      0|        compiler_free(c);
  182|      0|        return NULL;
  183|      0|    }
  184|      3|    return c;
  185|      3|}
compile.c:compiler_setup:
  115|      3|{
  116|      3|    PyCompilerFlags local_flags = _PyCompilerFlags_INIT;
  ------------------
  |  |   33|      3|    (PyCompilerFlags){.cf_flags = 0, .cf_feature_version = PY_MINOR_VERSION}
  |  |  ------------------
  |  |  |  |   24|      3|#define PY_MINOR_VERSION        16
  |  |  ------------------
  ------------------
  117|       |
  118|      3|    c->c_const_cache = PyDict_New();
  119|      3|    if (!c->c_const_cache) {
  ------------------
  |  Branch (119:9): [True: 0, False: 3]
  ------------------
  120|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  121|      0|    }
  122|       |
  123|      3|    c->c_stack = PyList_New(0);
  124|      3|    if (!c->c_stack) {
  ------------------
  |  Branch (124:9): [True: 0, False: 3]
  ------------------
  125|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  126|      0|    }
  127|       |
  128|      3|    c->c_filename = Py_NewRef(filename);
  ------------------
  |  |  550|      3|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  129|      3|    if (!_PyFuture_FromAST(mod, filename, &c->c_future)) {
  ------------------
  |  Branch (129:9): [True: 0, False: 3]
  ------------------
  130|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  131|      0|    }
  132|      3|    c->c_module = Py_XNewRef(module);
  ------------------
  |  |  551|      3|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  133|      3|    if (!flags) {
  ------------------
  |  Branch (133:9): [True: 0, False: 3]
  ------------------
  134|      0|        flags = &local_flags;
  135|      0|    }
  136|      3|    int merged = c->c_future.ff_features | flags->cf_flags;
  137|      3|    c->c_future.ff_features = merged;
  138|      3|    flags->cf_flags = merged;
  139|      3|    c->c_flags = *flags;
  140|      3|    c->c_optimize = (optimize == -1) ? _Py_GetConfig()->optimization_level : optimize;
  ------------------
  |  Branch (140:21): [True: 3, False: 0]
  ------------------
  141|      3|    c->c_save_nested_seqs = false;
  142|       |
  143|      3|    if (!_PyAST_Preprocess(mod, arena, filename, c->c_optimize, merged,
  ------------------
  |  Branch (143:9): [True: 0, False: 3]
  ------------------
  144|      3|                           0, 1, module))
  145|      0|    {
  146|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  147|      0|    }
  148|      3|    c->c_st = _PySymtable_Build(mod, filename, &c->c_future);
  149|      3|    if (c->c_st == NULL) {
  ------------------
  |  Branch (149:9): [True: 0, False: 3]
  ------------------
  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|      3|    return SUCCESS;
  ------------------
  |  |   36|      3|#define SUCCESS 0
  ------------------
  156|      3|}
compile.c:compiler_mod:
  894|      3|{
  895|      3|    PyCodeObject *co = NULL;
  896|      3|    int addNone = mod->kind != Expression_kind;
  897|      3|    assert(c->u == NULL);
  ------------------
  |  Branch (897:5): [True: 3, False: 0]
  ------------------
  898|      3|    if (compiler_codegen(c, mod) < 0) {
  ------------------
  |  Branch (898:9): [True: 0, False: 3]
  ------------------
  899|      0|        goto finally;
  900|      0|    }
  901|      3|    co = _PyCompile_OptimizeAndAssemble(c, addNone);
  902|      3|finally:
  903|      3|    if (c->u != NULL) {
  ------------------
  |  Branch (903:9): [True: 3, False: 0]
  ------------------
  904|      3|        _PyCompile_ExitScope(c);
  905|      3|    }
  906|      3|    return co;
  907|      3|}
compile.c:compiler_free:
  160|      3|{
  161|      3|    if (c->c_st) {
  ------------------
  |  Branch (161:9): [True: 3, False: 0]
  ------------------
  162|      3|        _PySymtable_Free(c->c_st);
  163|      3|    }
  164|      3|    Py_XDECREF(c->c_filename);
  ------------------
  |  |  524|      3|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  165|      3|    Py_XDECREF(c->c_module);
  ------------------
  |  |  524|      3|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  166|      3|    Py_XDECREF(c->c_const_cache);
  ------------------
  |  |  524|      3|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  167|      3|    Py_XDECREF(c->c_stack);
  ------------------
  |  |  524|      3|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  168|      3|    PyMem_Free(c);
  169|      3|}
compile.c:compiler_codegen:
  864|      3|{
  865|      3|    RETURN_IF_ERROR(_PyCodegen_EnterAnonymousScope(c, mod));
  ------------------
  |  |   40|      3|    do {                    \
  |  |   41|      3|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 3]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
  866|      3|    assert(c->u->u_scope_type == COMPILE_SCOPE_MODULE);
  ------------------
  |  Branch (866:5): [True: 3, False: 0]
  ------------------
  867|      3|    switch (mod->kind) {
  868|      0|    case Module_kind: {
  ------------------
  |  Branch (868:5): [True: 0, False: 3]
  ------------------
  869|      0|        asdl_stmt_seq *stmts = mod->v.Module.body;
  870|      0|        RETURN_IF_ERROR(_PyCodegen_Module(c, start_location(stmts), stmts, false));
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
  871|      0|        break;
  872|      0|    }
  873|      0|    case Interactive_kind: {
  ------------------
  |  Branch (873:5): [True: 0, False: 3]
  ------------------
  874|      0|        c->c_interactive = 1;
  875|      0|        asdl_stmt_seq *stmts = mod->v.Interactive.body;
  876|      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]
  |  |  ------------------
  ------------------
  877|      0|        break;
  878|      0|    }
  879|      3|    case Expression_kind: {
  ------------------
  |  Branch (879:5): [True: 3, False: 0]
  ------------------
  880|      3|        RETURN_IF_ERROR(_PyCodegen_Expression(c, mod->v.Expression.body));
  ------------------
  |  |   40|      3|    do {                    \
  |  |   41|      3|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 3]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
  881|      3|        break;
  882|      3|    }
  883|      3|    default: {
  ------------------
  |  Branch (883:5): [True: 0, False: 3]
  ------------------
  884|      0|        PyErr_Format(PyExc_SystemError,
  885|      0|                     "module kind %d should not be possible",
  886|      0|                     mod->kind);
  887|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  888|      3|    }}
  889|      3|    return SUCCESS;
  ------------------
  |  |   36|      3|#define SUCCESS 0
  ------------------
  890|      3|}
compile.c:consts_dict_keys_inorder:
 1404|      6|{
 1405|      6|    PyObject *consts, *k, *v;
 1406|      6|    Py_ssize_t i, pos = 0, size = PyDict_GET_SIZE(dict);
  ------------------
  |  |   63|      6|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1407|       |
 1408|      6|    consts = PyList_New(size);   /* PyCode_Optimize() requires a list */
 1409|      6|    if (consts == NULL)
  ------------------
  |  Branch (1409:9): [True: 0, False: 6]
  ------------------
 1410|      0|        return NULL;
 1411|     12|    while (PyDict_Next(dict, &pos, &k, &v)) {
  ------------------
  |  Branch (1411:12): [True: 6, False: 6]
  ------------------
 1412|      6|        assert(PyLong_CheckExact(v));
  ------------------
  |  Branch (1412:9): [True: 6, False: 0]
  ------------------
 1413|      6|        i = PyLong_AsLong(v);
 1414|       |        /* The keys of the dictionary can be tuples wrapping a constant.
 1415|       |         * (see _PyCompile_DictAddObj and _PyCode_ConstantKey). In that case
 1416|       |         * the object we want is always second. */
 1417|      6|        if (PyTuple_CheckExact(k)) {
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1418|      0|            k = PyTuple_GET_ITEM(k, 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1418:17): [True: 0, False: 0]
  ------------------
 1419|      0|        }
 1420|      6|        assert(i < size);
  ------------------
  |  Branch (1420:9): [True: 6, False: 0]
  ------------------
 1421|      6|        assert(i >= 0);
  ------------------
  |  Branch (1421:9): [True: 6, False: 0]
  ------------------
 1422|      6|        PyList_SET_ITEM(consts, i, Py_NewRef(k));
  ------------------
  |  |   50|      6|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1423|      6|    }
 1424|      6|    return consts;
 1425|      6|}

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|   355k|{
  281|   355k|    ENSURE_ContextVar(ovar, -1)
  ------------------
  |  |   29|   355k|    if (!PyContextVar_CheckExact(o)) {                              \
  |  |  ------------------
  |  |  |  |   19|   355k|#define PyContextVar_CheckExact(o) Py_IS_TYPE((o), &PyContextVar_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|   355k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (29:9): [True: 0, False: 355k]
  |  |  ------------------
  |  |   30|      0|        PyErr_SetString(PyExc_TypeError,                            \
  |  |   31|      0|                       "an instance of ContextVar was expected");   \
  |  |   32|      0|        return err_ret;                                             \
  |  |   33|      0|    }
  ------------------
  282|   355k|    PyContextVar *var = (PyContextVar *)ovar;
  283|       |
  284|   355k|    PyThreadState *ts = _PyThreadState_GET();
  285|   355k|    assert(ts != NULL);
  ------------------
  |  Branch (285:5): [True: 355k, False: 0]
  ------------------
  286|   355k|    if (ts->context == NULL) {
  ------------------
  |  Branch (286:9): [True: 36.4k, False: 319k]
  ------------------
  287|  36.4k|        goto not_found;
  288|  36.4k|    }
  289|       |
  290|   319k|#ifndef Py_GIL_DISABLED
  291|   319k|    if (var->var_cached != NULL &&
  ------------------
  |  Branch (291:9): [True: 0, False: 319k]
  ------------------
  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|   319k|#endif
  299|       |
  300|   319k|    assert(PyContext_CheckExact(ts->context));
  ------------------
  |  Branch (300:5): [True: 319k, False: 0]
  ------------------
  301|   319k|    PyHamtObject *vars = ((PyContext *)ts->context)->ctx_vars;
  302|       |
  303|   319k|    PyObject *found = NULL;
  304|   319k|    int res = _PyHamt_Find(vars, (PyObject*)var, &found);
  305|   319k|    if (res < 0) {
  ------------------
  |  Branch (305:9): [True: 0, False: 319k]
  ------------------
  306|      0|        goto error;
  307|      0|    }
  308|   319k|    if (res == 1) {
  ------------------
  |  Branch (308:9): [True: 0, False: 319k]
  ------------------
  309|      0|        assert(found != NULL);
  ------------------
  |  Branch (309:9): [True: 0, False: 0]
  ------------------
  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|   355k|not_found:
  321|   355k|    if (def == NULL) {
  ------------------
  |  Branch (321:9): [True: 355k, False: 0]
  ------------------
  322|   355k|        if (var->var_default != NULL) {
  ------------------
  |  Branch (322:13): [True: 0, False: 355k]
  ------------------
  323|      0|            *val = var->var_default;
  324|      0|            goto found;
  325|      0|        }
  326|       |
  327|   355k|        *val = NULL;
  328|   355k|        goto found;
  329|   355k|    }
  330|      0|    else {
  331|      0|        *val = def;
  332|      0|        goto found;
  333|      0|   }
  334|       |
  335|   355k|found:
  336|   355k|    Py_XINCREF(*val);
  ------------------
  |  |  514|   355k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   355k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   355k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  337|   355k|    return 0;
  338|       |
  339|      0|error:
  340|       |    *val = NULL;
  341|      0|    return -1;
  342|   355k|}
PyContextVar_Set:
  347|      1|{
  348|      1|    ENSURE_ContextVar(ovar, NULL)
  ------------------
  |  |   29|      1|    if (!PyContextVar_CheckExact(o)) {                              \
  |  |  ------------------
  |  |  |  |   19|      1|#define PyContextVar_CheckExact(o) Py_IS_TYPE((o), &PyContextVar_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 (29:9): [True: 0, False: 1]
  |  |  ------------------
  |  |   30|      0|        PyErr_SetString(PyExc_TypeError,                            \
  |  |   31|      0|                       "an instance of ContextVar was expected");   \
  |  |   32|      0|        return err_ret;                                             \
  |  |   33|      0|    }
  ------------------
  349|      1|    PyContextVar *var = (PyContextVar *)ovar;
  350|       |
  351|      1|    PyContext *ctx = context_get();
  352|      1|    if (ctx == NULL) {
  ------------------
  |  Branch (352:9): [True: 0, False: 1]
  ------------------
  353|      0|        return NULL;
  354|      0|    }
  355|       |
  356|      1|    PyObject *old_val = NULL;
  357|      1|    int found = _PyHamt_Find(ctx->ctx_vars, (PyObject *)var, &old_val);
  358|      1|    if (found < 0) {
  ------------------
  |  Branch (358:9): [True: 0, False: 1]
  ------------------
  359|      0|        return NULL;
  360|      0|    }
  361|       |
  362|      1|    Py_XINCREF(old_val);
  ------------------
  |  |  514|      1|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  363|      1|    PyContextToken *tok = token_new(ctx, var, old_val);
  364|      1|    Py_XDECREF(old_val);
  ------------------
  |  |  524|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  365|      1|    if (tok == NULL) {
  ------------------
  |  Branch (365:9): [True: 0, False: 1]
  ------------------
  366|      0|        return NULL;
  367|      0|    }
  368|       |
  369|      1|    if (contextvar_set(var, val)) {
  ------------------
  |  Branch (369:9): [True: 0, False: 1]
  ------------------
  370|      0|        Py_DECREF(tok);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  371|      0|        return NULL;
  372|      0|    }
  373|       |
  374|      1|    return (PyObject *)tok;
  375|      1|}
_PyContext_Init:
 1362|      2|{
 1363|      2|    PyObject *missing = get_token_missing();
 1364|      2|    assert(PyUnstable_IsImmortal(missing));
  ------------------
  |  Branch (1364:5): [True: 2, False: 0]
  ------------------
 1365|      2|    if (PyDict_SetItemString(
  ------------------
  |  Branch (1365:9): [True: 0, False: 2]
  ------------------
 1366|      2|        _PyType_GetDict(&PyContextToken_Type), "MISSING", missing))
 1367|      0|    {
 1368|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1369|      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)}
  ------------------
 1370|      0|    }
 1371|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1372|       |
 1373|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1374|      2|}
context.c:context_new_empty:
  449|      1|{
  450|      1|    PyContext *ctx = _context_alloc();
  451|      1|    if (ctx == NULL) {
  ------------------
  |  Branch (451:9): [True: 0, False: 1]
  ------------------
  452|      0|        return NULL;
  453|      0|    }
  454|       |
  455|      1|    ctx->ctx_vars = _PyHamt_New();
  456|      1|    if (ctx->ctx_vars == NULL) {
  ------------------
  |  Branch (456:9): [True: 0, False: 1]
  ------------------
  457|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  458|      0|        return NULL;
  459|      0|    }
  460|       |
  461|      1|    _PyObject_GC_TRACK(ctx);
  ------------------
  |  |  507|      1|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  462|      1|    return ctx;
  463|      1|}
context.c:_context_alloc:
  429|      1|{
  430|      1|    PyContext *ctx = _Py_FREELIST_POP(PyContext, contexts);
  ------------------
  |  |   43|      1|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  431|      1|    if (ctx == NULL) {
  ------------------
  |  Branch (431:9): [True: 1, False: 0]
  ------------------
  432|      1|        ctx = PyObject_GC_New(PyContext, &PyContext_Type);
  ------------------
  |  |  181|      1|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  433|      1|        if (ctx == NULL) {
  ------------------
  |  Branch (433:13): [True: 0, False: 1]
  ------------------
  434|      0|            return NULL;
  435|      0|        }
  436|      1|    }
  437|       |
  438|      1|    ctx->ctx_vars = NULL;
  439|      1|    ctx->ctx_prev = NULL;
  440|      1|    ctx->ctx_entered = 0;
  441|      1|    ctx->ctx_weakreflist = NULL;
  442|       |
  443|      1|    return ctx;
  444|      1|}
context.c:context_get:
  483|      2|{
  484|      2|    PyThreadState *ts = _PyThreadState_GET();
  485|      2|    assert(ts != NULL);
  ------------------
  |  Branch (485:5): [True: 2, False: 0]
  ------------------
  486|      2|    PyContext *current_ctx = (PyContext *)ts->context;
  487|      2|    if (current_ctx == NULL) {
  ------------------
  |  Branch (487:9): [True: 1, False: 1]
  ------------------
  488|      1|        current_ctx = context_new_empty();
  489|      1|        if (current_ctx == NULL) {
  ------------------
  |  Branch (489:13): [True: 0, False: 1]
  ------------------
  490|      0|            return NULL;
  491|      0|        }
  492|      1|        ts->context = (PyObject *)current_ctx;
  493|      1|    }
  494|      2|    return current_ctx;
  495|      2|}
context.c:context_tp_traverse:
  531|    254|{
  532|    254|    PyContext *self = _PyContext_CAST(op);
  ------------------
  |  |  424|    254|#define _PyContext_CAST(op)     ((PyContext *)(op))
  ------------------
  533|    254|    Py_VISIT(self->ctx_prev);
  ------------------
  |  |  194|    254|    do {                                                                \
  |  |  195|    254|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 254]
  |  |  ------------------
  |  |  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|    254|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 254]
  |  |  ------------------
  ------------------
  534|    254|    Py_VISIT(self->ctx_vars);
  ------------------
  |  |  194|    254|    do {                                                                \
  |  |  195|    254|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 254, False: 0]
  |  |  ------------------
  |  |  196|    254|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    254|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    254|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    254|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 254]
  |  |  ------------------
  |  |  198|    254|                return vret;                                            \
  |  |  199|    254|        }                                                               \
  |  |  200|    254|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 254]
  |  |  ------------------
  ------------------
  535|    254|    return 0;
  536|    254|}
context.c:contextvar_set:
  787|      1|{
  788|      1|#ifndef Py_GIL_DISABLED
  789|      1|    var->var_cached = NULL;
  790|      1|    PyThreadState *ts = _PyThreadState_GET();
  791|      1|#endif
  792|       |
  793|      1|    PyContext *ctx = context_get();
  794|      1|    if (ctx == NULL) {
  ------------------
  |  Branch (794:9): [True: 0, False: 1]
  ------------------
  795|      0|        return -1;
  796|      0|    }
  797|       |
  798|      1|    PyHamtObject *new_vars = _PyHamt_Assoc(
  799|      1|        ctx->ctx_vars, (PyObject *)var, val);
  800|      1|    if (new_vars == NULL) {
  ------------------
  |  Branch (800:9): [True: 0, False: 1]
  ------------------
  801|      0|        return -1;
  802|      0|    }
  803|       |
  804|      1|    Py_SETREF(ctx->ctx_vars, new_vars);
  ------------------
  |  |  352|      1|    do { \
  |  |  353|      1|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      1|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      1|        *_tmp_dst_ptr = (src); \
  |  |  356|      1|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
  805|       |
  806|      1|#ifndef Py_GIL_DISABLED
  807|      1|    var->var_cached = val;  /* borrow */
  808|      1|    var->var_cached_tsid = ts->id;
  809|      1|    var->var_cached_tsver = ts->context_ver;
  810|      1|#endif
  811|      1|    return 0;
  812|      1|}
context.c:contextvar_new:
  872|      4|{
  873|      4|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|      4|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (873:9): [True: 0, False: 4]
  ------------------
  874|      0|        PyErr_SetString(PyExc_TypeError,
  875|      0|                        "context variable name must be a str");
  876|      0|        return NULL;
  877|      0|    }
  878|       |
  879|      4|    PyContextVar *var = PyObject_GC_New(PyContextVar, &PyContextVar_Type);
  ------------------
  |  |  181|      4|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  880|      4|    if (var == NULL) {
  ------------------
  |  Branch (880:9): [True: 0, False: 4]
  ------------------
  881|      0|        return NULL;
  882|      0|    }
  883|       |
  884|      4|    var->var_name = Py_NewRef(name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  885|      4|    var->var_default = Py_XNewRef(def);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  886|       |
  887|      4|#ifndef Py_GIL_DISABLED
  888|      4|    var->var_cached = NULL;
  889|      4|    var->var_cached_tsid = 0;
  890|      4|    var->var_cached_tsver = 0;
  891|      4|#endif
  892|       |
  893|      4|    var->var_hash = contextvar_generate_hash(var, name);
  894|      4|    if (var->var_hash == -1) {
  ------------------
  |  Branch (894:9): [True: 0, False: 4]
  ------------------
  895|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  896|      0|        return NULL;
  897|      0|    }
  898|       |
  899|      4|    if (_PyObject_GC_MAY_BE_TRACKED(name) ||
  ------------------
  |  Branch (899:9): [True: 0, False: 4]
  ------------------
  900|      4|            (def != NULL && _PyObject_GC_MAY_BE_TRACKED(def)))
  ------------------
  |  Branch (900:14): [True: 0, False: 4]
  |  Branch (900:29): [True: 0, False: 0]
  ------------------
  901|      0|    {
  902|      0|        PyObject_GC_Track(var);
  903|      0|    }
  904|      4|    return var;
  905|      4|}
context.c:contextvar_generate_hash:
  844|      4|{
  845|       |    /* Take hash of `name` and XOR it with the object's addr.
  846|       |
  847|       |       The structure of the tree is encoded in objects' hashes, which
  848|       |       means that sufficiently similar hashes would result in tall trees
  849|       |       with many Collision nodes.  Which would, in turn, result in slower
  850|       |       get and set operations.
  851|       |
  852|       |       The XORing helps to ensure that:
  853|       |
  854|       |       (1) sequentially allocated ContextVar objects have
  855|       |           different hashes;
  856|       |
  857|       |       (2) context variables with equal names have
  858|       |           different hashes.
  859|       |    */
  860|       |
  861|      4|    Py_hash_t name_hash = PyObject_Hash(name);
  862|      4|    if (name_hash == -1) {
  ------------------
  |  Branch (862:9): [True: 0, False: 4]
  ------------------
  863|      0|        return -1;
  864|      0|    }
  865|       |
  866|      4|    Py_hash_t res = Py_HashPointer(addr) ^ name_hash;
  867|      4|    return res == -1 ? -2 : res;
  ------------------
  |  Branch (867:12): [True: 0, False: 4]
  ------------------
  868|      4|}
context.c:contextvar_tp_hash:
  966|   319k|{
  967|   319k|    PyContextVar *self = _PyContextVar_CAST(op);
  ------------------
  |  |  914|   319k|#define _PyContextVar_CAST(op)  ((PyContextVar *)(op))
  ------------------
  968|   319k|    return self->var_hash;
  969|   319k|}
context.c:_contextvars_ContextVar_get_impl:
 1031|      1|{
 1032|      1|    PyObject *val;
 1033|      1|    if (PyContextVar_Get((PyObject *)self, default_value, &val) < 0) {
  ------------------
  |  Branch (1033:9): [True: 0, False: 1]
  ------------------
 1034|      0|        return NULL;
 1035|      0|    }
 1036|       |
 1037|      1|    if (val == NULL) {
  ------------------
  |  Branch (1037:9): [True: 1, False: 0]
  ------------------
 1038|      1|        PyErr_SetObject(PyExc_LookupError, (PyObject *)self);
 1039|      1|        return NULL;
 1040|      1|    }
 1041|       |
 1042|      0|    return val;
 1043|      1|}
context.c:_contextvars_ContextVar_set_impl:
 1063|      1|{
 1064|      1|    return PyContextVar_Set((PyObject *)self, value);
 1065|      1|}
context.c:contextvar_tp_new:
  919|      2|{
  920|      2|    static char *kwlist[] = {"", "default", NULL};
  921|      2|    PyObject *name;
  922|      2|    PyObject *def = NULL;
  923|       |
  924|      2|    if (!PyArg_ParseTupleAndKeywords(
  ------------------
  |  Branch (924:9): [True: 0, False: 2]
  ------------------
  925|      2|            args, kwds, "O|$O:ContextVar", kwlist, &name, &def))
  926|      0|    {
  927|      0|        return NULL;
  928|      0|    }
  929|       |
  930|      2|    return (PyObject *)contextvar_new(name, def);
  931|      2|}
context.c:token_tp_dealloc:
 1173|      1|{
 1174|      1|    PyObject_GC_UnTrack(self);
 1175|      1|    (void)token_tp_clear(self);
 1176|      1|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|      1|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1177|      1|}
context.c:token_tp_clear:
 1153|      1|{
 1154|      1|    PyContextToken *self = _PyContextToken_CAST(op);
  ------------------
  |  | 1140|      1|#define _PyContextToken_CAST(op)    ((PyContextToken *)(op))
  ------------------
 1155|      1|    Py_CLEAR(self->tok_ctx);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1156|      1|    Py_CLEAR(self->tok_var);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1157|       |    Py_CLEAR(self->tok_oldval);
  ------------------
  |  |  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: 0, False: 1]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_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|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1158|      1|    return 0;
 1159|      1|}
context.c:token_new:
 1299|      1|{
 1300|      1|    PyContextToken *tok = PyObject_GC_New(PyContextToken, &PyContextToken_Type);
  ------------------
  |  |  181|      1|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1301|      1|    if (tok == NULL) {
  ------------------
  |  Branch (1301:9): [True: 0, False: 1]
  ------------------
 1302|      0|        return NULL;
 1303|      0|    }
 1304|       |
 1305|      1|    tok->tok_ctx = (PyContext*)Py_NewRef(ctx);
  ------------------
  |  |  550|      1|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1306|       |
 1307|      1|    tok->tok_var = (PyContextVar*)Py_NewRef(var);
  ------------------
  |  |  550|      1|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1308|       |
 1309|      1|    tok->tok_oldval = Py_XNewRef(val);
  ------------------
  |  |  551|      1|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1310|       |
 1311|      1|    tok->tok_used = 0;
 1312|       |
 1313|      1|    PyObject_GC_Track(tok);
 1314|      1|    return tok;
 1315|      1|}
context.c:get_token_missing:
 1352|      2|{
 1353|      2|    return (PyObject *)&_Py_SINGLETON(context_token_missing);
  ------------------
  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
 1354|      2|}

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

_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++) {
  ------------------
  |  |  483|     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]))
  ------------------
  |  |  480|     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 &&
  ------------------
  |  |  480|     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
  ------------------
  |  |  489|     16|    ((PRIVATE_MEM+sizeof(double)-1)/sizeof(double))
  |  |  ------------------
  |  |  |  |  486|     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|}

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

_PyErr_SetRaisedException:
   25|  20.5M|{
   26|  20.5M|    PyObject *old_exc = tstate->current_exception;
   27|  20.5M|    tstate->current_exception = exc;
   28|  20.5M|    Py_XDECREF(old_exc);
  ------------------
  |  |  524|  20.5M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   29|  20.5M|}
_PyErr_Restore:
   60|  8.27M|{
   61|  8.27M|    if (type == NULL) {
  ------------------
  |  Branch (61:9): [True: 5.51M, False: 2.76M]
  ------------------
   62|  5.51M|        assert(value == NULL);
  ------------------
  |  Branch (62:9): [True: 5.51M, False: 0]
  ------------------
   63|  5.51M|        assert(traceback == NULL);
  ------------------
  |  Branch (63:9): [True: 5.51M, False: 0]
  ------------------
   64|  5.51M|        _PyErr_SetRaisedException(tstate, NULL);
   65|  5.51M|        return;
   66|  5.51M|    }
   67|  8.27M|    assert(PyExceptionClass_Check(type));
  ------------------
  |  Branch (67:5): [True: 2.76M, False: 0]
  |  Branch (67:5): [True: 2.76M, False: 0]
  ------------------
   68|  2.76M|    if (value != NULL && type == (PyObject *)Py_TYPE(value)) {
  ------------------
  |  |  213|  2.76M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.76M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.76M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (68:9): [True: 2.76M, False: 0]
  |  Branch (68:26): [True: 2.76M, 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|  2.76M|    }
   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|  2.76M|    assert(PyExceptionInstance_Check(value));
  ------------------
  |  Branch (86:5): [True: 2.76M, False: 0]
  ------------------
   87|  2.76M|    if (traceback != NULL) {
  ------------------
  |  Branch (87:9): [True: 0, False: 2.76M]
  ------------------
   88|      0|        if (PyException_SetTraceback(value, traceback) < 0) {
  ------------------
  |  Branch (88:13): [True: 0, False: 0]
  ------------------
   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|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   95|      0|    }
   96|  2.76M|    _PyErr_SetRaisedException(tstate, value);
   97|  2.76M|    Py_DECREF(type);
  ------------------
  |  |  430|  2.76M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.76M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.76M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   98|  2.76M|}
PyErr_SetRaisedException:
  109|  12.2M|{
  110|  12.2M|    PyThreadState *tstate = _PyThreadState_GET();
  111|  12.2M|    _PyErr_SetRaisedException(tstate, exc);
  112|  12.2M|}
_PyErr_GetTopmostException:
  116|  2.76M|{
  117|  2.76M|    _PyErr_StackItem *exc_info = tstate->exc_info;
  118|  2.76M|    assert(exc_info);
  ------------------
  |  Branch (118:5): [True: 2.76M, False: 0]
  ------------------
  119|       |
  120|  2.76M|    while (exc_info->exc_value == NULL && exc_info->previous_item != NULL)
  ------------------
  |  Branch (120:12): [True: 2.76M, False: 305]
  |  Branch (120:43): [True: 4, False: 2.76M]
  ------------------
  121|      4|    {
  122|      4|        exc_info = exc_info->previous_item;
  123|      4|    }
  124|  2.76M|    assert(!Py_IsNone(exc_info->exc_value));
  ------------------
  |  Branch (124:5): [True: 2.76M, False: 0]
  ------------------
  125|  2.76M|    return exc_info;
  126|  2.76M|}
_PyErr_SetObject:
  152|  2.76M|{
  153|  2.76M|    PyObject *exc_value;
  154|  2.76M|    PyObject *tb = NULL;
  155|       |
  156|  2.76M|    if (exception != NULL &&
  ------------------
  |  Branch (156:9): [True: 2.76M, False: 0]
  ------------------
  157|  2.76M|        !PyExceptionClass_Check(exception)) {
  ------------------
  |  |   61|  2.76M|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|  5.52M|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.76M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.76M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 2.76M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|  2.76M|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|  2.76M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2.76M, 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|  2.76M|    int is_subclass = 0;
  166|  2.76M|    if (value != NULL && PyExceptionInstance_Check(value)) {
  ------------------
  |  |   65|  2.72M|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.72M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 7.27k, False: 2.72M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (166:9): [True: 2.72M, False: 32.1k]
  ------------------
  167|  7.27k|        is_subclass = PyObject_IsSubclass((PyObject *)Py_TYPE(value), exception);
  ------------------
  |  |  213|  7.27k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  168|  7.27k|        if (is_subclass < 0) {
  ------------------
  |  Branch (168:13): [True: 0, False: 7.27k]
  ------------------
  169|      0|            return;
  170|      0|        }
  171|  7.27k|    }
  172|  2.76M|    Py_XINCREF(value);
  ------------------
  |  |  514|  2.76M|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.76M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.76M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  173|  2.76M|    if (!is_subclass) {
  ------------------
  |  Branch (173:9): [True: 2.75M, False: 7.27k]
  ------------------
  174|       |        /* We must normalize the value right now */
  175|       |
  176|       |        /* Issue #23571: functions must not be called with an
  177|       |            exception set */
  178|  2.75M|        _PyErr_Clear(tstate);
  179|       |
  180|  2.75M|        PyObject *fixed_value = _PyErr_CreateException(exception, value);
  181|  2.75M|        if (fixed_value == NULL) {
  ------------------
  |  Branch (181:13): [True: 0, False: 2.75M]
  ------------------
  182|      0|            PyObject *exc = _PyErr_GetRaisedException(tstate);
  183|      0|            assert(PyExceptionInstance_Check(exc));
  ------------------
  |  Branch (183:13): [True: 0, False: 0]
  ------------------
  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|  2.75M|        Py_XSETREF(value, fixed_value);
  ------------------
  |  |  374|  2.75M|    do { \
  |  |  375|  2.75M|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  2.75M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  2.75M|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.75M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  2.75M|        *_tmp_dst_ptr = (src); \
  |  |  378|  2.75M|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  2.75M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.75M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.75M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  2.75M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 2.75M]
  |  |  ------------------
  ------------------
  196|  2.75M|    }
  197|       |
  198|  2.76M|    exc_value = _PyErr_GetTopmostException(tstate)->exc_value;
  199|  2.76M|    if (exc_value != NULL && exc_value != Py_None) {
  ------------------
  |  |  616|    305|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (199:9): [True: 305, False: 2.76M]
  |  Branch (199:30): [True: 305, False: 0]
  ------------------
  200|       |        /* Implicit exception chaining */
  201|    305|        Py_INCREF(exc_value);
  ------------------
  |  |  310|    305|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    305|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    305|#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|    305|        if (exc_value != value) {
  ------------------
  |  Branch (208:13): [True: 305, False: 0]
  ------------------
  209|    305|            PyObject *o = exc_value, *context;
  210|    305|            PyObject *slow_o = o;  /* Floyd's cycle detection algo */
  211|    305|            int slow_update_toggle = 0;
  212|    305|            while ((context = PyException_GetContext(o))) {
  ------------------
  |  Branch (212:20): [True: 0, False: 305]
  ------------------
  213|      0|                Py_DECREF(context);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) 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|                if (context == value) {
  ------------------
  |  Branch (214:21): [True: 0, False: 0]
  ------------------
  215|      0|                    PyException_SetContext(o, NULL);
  216|      0|                    break;
  217|      0|                }
  218|      0|                o = context;
  219|      0|                if (o == slow_o) {
  ------------------
  |  Branch (219:21): [True: 0, False: 0]
  ------------------
  220|       |                    /* pre-existing cycle - all exceptions on the
  221|       |                       path were visited and checked.  */
  222|      0|                    break;
  223|      0|                }
  224|      0|                if (slow_update_toggle) {
  ------------------
  |  Branch (224:21): [True: 0, False: 0]
  ------------------
  225|      0|                    slow_o = PyException_GetContext(slow_o);
  226|      0|                    Py_DECREF(slow_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  227|      0|                }
  228|      0|                slow_update_toggle = !slow_update_toggle;
  229|      0|            }
  230|    305|            PyException_SetContext(value, exc_value);
  231|    305|        }
  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|    305|    }
  236|  2.76M|    assert(value != NULL);
  ------------------
  |  Branch (236:5): [True: 2.76M, False: 0]
  ------------------
  237|  2.76M|    if (PyExceptionInstance_Check(value))
  ------------------
  |  |   65|  2.76M|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.76M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2.76M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  238|  2.76M|        tb = PyException_GetTraceback(value);
  239|  2.76M|    _PyErr_Restore(tstate, Py_NewRef(Py_TYPE(value)), value, tb);
  ------------------
  |  |  550|  2.76M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.76M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.76M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  240|  2.76M|}
PyErr_SetObject:
  244|  2.69M|{
  245|  2.69M|    PyThreadState *tstate = _PyThreadState_GET();
  246|  2.69M|    _PyErr_SetObject(tstate, exception, value);
  247|  2.69M|}
_PyErr_SetKeyError:
  258|  4.85k|{
  259|  4.85k|    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|  4.85k|    _PyErr_Clear(tstate);
  265|       |
  266|  4.85k|    PyObject *exc = PyObject_CallOneArg(PyExc_KeyError, arg);
  267|  4.85k|    if (!exc) {
  ------------------
  |  Branch (267:9): [True: 0, False: 4.85k]
  ------------------
  268|       |        /* caller will expect error to be set anyway */
  269|      0|        return;
  270|      0|    }
  271|       |
  272|  4.85k|    _PyErr_SetObject(tstate, (PyObject*)Py_TYPE(exc), exc);
  ------------------
  |  |  213|  4.85k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.85k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  273|  4.85k|    Py_DECREF(exc);
  ------------------
  |  |  430|  4.85k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.85k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  274|  4.85k|}
_PyErr_SetNone:
  278|  32.1k|{
  279|       |    _PyErr_SetObject(tstate, exception, (PyObject *)NULL);
  280|  32.1k|}
PyErr_SetNone:
  285|  32.1k|{
  286|  32.1k|    PyThreadState *tstate = _PyThreadState_GET();
  287|  32.1k|    _PyErr_SetNone(tstate, exception);
  288|  32.1k|}
_PyErr_SetString:
  294|  4.83k|{
  295|  4.83k|    PyObject *value = PyUnicode_FromString(string);
  296|  4.83k|    if (value != NULL) {
  ------------------
  |  Branch (296:9): [True: 4.83k, False: 0]
  ------------------
  297|  4.83k|        _PyErr_SetObject(tstate, exception, value);
  298|  4.83k|        Py_DECREF(value);
  ------------------
  |  |  430|  4.83k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.83k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  299|  4.83k|    }
  300|  4.83k|}
PyErr_SetString:
  304|  4.83k|{
  305|  4.83k|    PyThreadState *tstate = _PyThreadState_GET();
  306|  4.83k|    _PyErr_SetString(tstate, exception, string);
  307|  4.83k|}
PyErr_Occurred:
  321|  49.9M|{
  322|       |    /* The caller must hold a thread state. */
  323|  49.9M|    _Py_AssertHoldsTstate();
  ------------------
  |  |  306|  49.9M|#define _Py_AssertHoldsTstate() _Py_AssertHoldsTstateFunc(__func__)
  ------------------
  324|       |
  325|  49.9M|    PyThreadState *tstate = _PyThreadState_GET();
  326|  49.9M|    return _PyErr_Occurred(tstate);
  327|  49.9M|}
PyErr_GivenExceptionMatches:
  332|  2.86M|{
  333|  2.86M|    if (err == NULL || exc == NULL) {
  ------------------
  |  Branch (333:9): [True: 951, False: 2.86M]
  |  Branch (333:24): [True: 0, False: 2.86M]
  ------------------
  334|       |        /* maybe caused by "import exceptions" that failed early on */
  335|    951|        return 0;
  336|    951|    }
  337|  2.86M|    if (PyTuple_Check(exc)) {
  ------------------
  |  |   27|  2.86M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.86M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 14, False: 2.86M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  338|     14|        Py_ssize_t i, n;
  339|     14|        n = PyTuple_Size(exc);
  340|     14|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (340:21): [True: 14, False: 0]
  ------------------
  341|       |            /* Test recursively */
  342|     14|             if (PyErr_GivenExceptionMatches(
  ------------------
  |  Branch (342:18): [True: 14, False: 0]
  ------------------
  343|     14|                 err, PyTuple_GET_ITEM(exc, i)))
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (343:23): [True: 14, False: 0]
  ------------------
  344|     14|             {
  345|     14|                 return 1;
  346|     14|             }
  347|     14|        }
  348|      0|        return 0;
  349|     14|    }
  350|       |    /* err might be an instance, so check its class. */
  351|  2.86M|    if (PyExceptionInstance_Check(err))
  ------------------
  |  |   65|  2.86M|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.86M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 91.1k, False: 2.77M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  352|  91.1k|        err = PyExceptionInstance_Class(err);
  ------------------
  |  |   69|  91.1k|#define PyExceptionInstance_Class(x) _PyObject_CAST(Py_TYPE(x))
  |  |  ------------------
  |  |  |  |  171|  91.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  91.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  353|       |
  354|  2.86M|    if (PyExceptionClass_Check(err) && PyExceptionClass_Check(exc)) {
  ------------------
  |  |   61|  5.73M|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|  5.73M|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.86M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.86M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 2.86M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|  5.73M|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|  2.86M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2.86M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyExceptionClass_Check(err) && PyExceptionClass_Check(exc)) {
  ------------------
  |  |   61|  2.86M|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|  5.73M|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.86M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.86M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 2.86M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|  2.86M|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|  2.86M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2.86M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  355|  2.86M|        return PyType_IsSubtype((PyTypeObject *)err, (PyTypeObject *)exc);
  356|  2.86M|    }
  357|       |
  358|      0|    return err == exc;
  359|  2.86M|}
_PyErr_ExceptionMatches:
  364|  2.77M|{
  365|  2.77M|    return PyErr_GivenExceptionMatches(_PyErr_Occurred(tstate), exc);
  366|  2.77M|}
PyErr_ExceptionMatches:
  371|  2.77M|{
  372|  2.77M|    PyThreadState *tstate = _PyThreadState_GET();
  373|  2.77M|    return _PyErr_ExceptionMatches(tstate, exc);
  374|  2.77M|}
_PyErr_GetRaisedException:
  499|  12.3M|_PyErr_GetRaisedException(PyThreadState *tstate) {
  500|  12.3M|    PyObject *exc = tstate->current_exception;
  501|       |    tstate->current_exception = NULL;
  502|  12.3M|    return exc;
  503|  12.3M|}
PyErr_GetRaisedException:
  507|  12.2M|{
  508|  12.2M|    PyThreadState *tstate = _PyThreadState_GET();
  509|  12.2M|    return _PyErr_GetRaisedException(tstate);
  510|  12.2M|}
_PyErr_Clear:
  539|  5.51M|{
  540|  5.51M|    _PyErr_Restore(tstate, NULL, NULL, NULL);
  541|  5.51M|}
PyErr_Clear:
  546|  2.73M|{
  547|  2.73M|    PyThreadState *tstate = _PyThreadState_GET();
  548|  2.73M|    _PyErr_Clear(tstate);
  549|  2.73M|}
_PyErr_ChainExceptions1Tstate:
  707|     27|{
  708|     27|    if (exc == NULL) {
  ------------------
  |  Branch (708:9): [True: 27, False: 0]
  ------------------
  709|     27|        return;
  710|     27|    }
  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|     27|{
  724|     27|    PyThreadState *tstate = _PyThreadState_GET();
  725|     27|    _PyErr_ChainExceptions1Tstate(tstate, exc);
  726|     27|}
_PyErr_ChainStackItem:
  736|  32.1k|{
  737|  32.1k|    PyThreadState *tstate = _PyThreadState_GET();
  738|  32.1k|    assert(_PyErr_Occurred(tstate));
  ------------------
  |  Branch (738:5): [True: 32.1k, False: 0]
  ------------------
  739|       |
  740|  32.1k|    _PyErr_StackItem *exc_info = tstate->exc_info;
  741|  32.1k|    if (exc_info->exc_value == NULL || exc_info->exc_value == Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (741:9): [True: 32.1k, False: 0]
  |  Branch (741:40): [True: 0, False: 0]
  ------------------
  742|  32.1k|        return;
  743|  32.1k|    }
  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|     28|{
  811|       |    return PyErr_SetFromErrnoWithFilenameObjects(exc, filenameObject, NULL);
  812|     28|}
PyErr_SetFromErrnoWithFilenameObjects:
  816|     28|{
  817|     28|    PyThreadState *tstate = _PyThreadState_GET();
  818|     28|    PyObject *message;
  819|     28|    PyObject *v, *args;
  820|     28|    int i = errno;
  821|       |#ifdef MS_WINDOWS
  822|       |    WCHAR *s_buf = NULL;
  823|       |#endif /* Unix/Windows */
  824|       |
  825|     28|#ifdef EINTR
  826|     28|    if (i == EINTR && PyErr_CheckSignals())
  ------------------
  |  Branch (826:9): [True: 0, False: 28]
  |  Branch (826:23): [True: 0, False: 0]
  ------------------
  827|      0|        return NULL;
  828|     28|#endif
  829|       |
  830|     28|#ifndef MS_WINDOWS
  831|     28|    if (i != 0) {
  ------------------
  |  Branch (831:9): [True: 28, False: 0]
  ------------------
  832|     28|        const char *s = strerror(i);
  833|     28|        message = PyUnicode_DecodeLocale(s, "surrogateescape");
  834|     28|    }
  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|     28|    if (message == NULL)
  ------------------
  |  Branch (880:9): [True: 0, False: 28]
  ------------------
  881|      0|    {
  882|       |#ifdef MS_WINDOWS
  883|       |        LocalFree(s_buf);
  884|       |#endif
  885|      0|        return NULL;
  886|      0|    }
  887|       |
  888|     28|    if (filenameObject != NULL) {
  ------------------
  |  Branch (888:9): [True: 28, False: 0]
  ------------------
  889|     28|        if (filenameObject2 != NULL)
  ------------------
  |  Branch (889:13): [True: 0, False: 28]
  ------------------
  890|      0|            args = Py_BuildValue("(iOOiO)", i, message, filenameObject, 0, filenameObject2);
  891|     28|        else
  892|     28|            args = Py_BuildValue("(iOO)", i, message, filenameObject);
  893|     28|    } else {
  894|      0|        assert(filenameObject2 == NULL);
  ------------------
  |  Branch (894:9): [True: 0, False: 0]
  ------------------
  895|      0|        args = Py_BuildValue("(iO)", i, message);
  896|      0|    }
  897|     28|    Py_DECREF(message);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  898|       |
  899|     28|    if (args != NULL) {
  ------------------
  |  Branch (899:9): [True: 28, False: 0]
  ------------------
  900|     28|        v = PyObject_Call(exc, args, NULL);
  901|     28|        Py_DECREF(args);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  902|     28|        if (v != NULL) {
  ------------------
  |  Branch (902:13): [True: 28, False: 0]
  ------------------
  903|     28|            _PyErr_SetObject(tstate, (PyObject *) Py_TYPE(v), v);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  904|     28|            Py_DECREF(v);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  905|     28|        }
  906|     28|    }
  907|       |#ifdef MS_WINDOWS
  908|       |    LocalFree(s_buf);
  909|       |#endif
  910|       |    return NULL;
  911|     28|}
_PyErr_SetImportErrorWithNameFrom:
 1152|      1|{
 1153|      1|    return _PyErr_SetImportErrorSubclassWithNameFrom(PyExc_ImportError, msg, name, path, from_name);
 1154|      1|}
_PyErr_FormatV:
 1211|  16.8k|{
 1212|  16.8k|    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|  16.8k|    _PyErr_Clear(tstate);
 1217|       |
 1218|  16.8k|    string = PyUnicode_FromFormatV(format, vargs);
 1219|  16.8k|    if (string != NULL) {
  ------------------
  |  Branch (1219:9): [True: 16.8k, False: 0]
  ------------------
 1220|  16.8k|        _PyErr_SetObject(tstate, exception, string);
 1221|  16.8k|        Py_DECREF(string);
  ------------------
  |  |  430|  16.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  16.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1222|  16.8k|    }
 1223|       |    return NULL;
 1224|  16.8k|}
_PyErr_Format:
 1238|  14.7k|{
 1239|  14.7k|    va_list vargs;
 1240|  14.7k|    va_start(vargs, format);
 1241|  14.7k|    _PyErr_FormatV(tstate, exception, format, vargs);
 1242|  14.7k|    va_end(vargs);
 1243|       |    return NULL;
 1244|  14.7k|}
PyErr_Format:
 1249|  2.11k|{
 1250|  2.11k|    PyThreadState *tstate = _PyThreadState_GET();
 1251|  2.11k|    va_list vargs;
 1252|  2.11k|    va_start(vargs, format);
 1253|  2.11k|    _PyErr_FormatV(tstate, exception, format, vargs);
 1254|  2.11k|    va_end(vargs);
 1255|       |    return NULL;
 1256|  2.11k|}
PyErr_NewException:
 1288|      5|{
 1289|      5|    PyThreadState *tstate = _PyThreadState_GET();
 1290|      5|    PyObject *modulename = NULL;
 1291|      5|    PyObject *mydict = NULL;
 1292|      5|    PyObject *bases = NULL;
 1293|      5|    PyObject *result = NULL;
 1294|       |
 1295|      5|    const char *dot = strrchr(name, '.');
 1296|      5|    if (dot == NULL) {
  ------------------
  |  Branch (1296:9): [True: 0, False: 5]
  ------------------
 1297|      0|        _PyErr_SetString(tstate, PyExc_SystemError,
 1298|      0|                         "PyErr_NewException: name must be module.class");
 1299|      0|        return NULL;
 1300|      0|    }
 1301|      5|    if (base == NULL) {
  ------------------
  |  Branch (1301:9): [True: 1, False: 4]
  ------------------
 1302|      1|        base = PyExc_Exception;
 1303|      1|    }
 1304|      5|    if (dict == NULL) {
  ------------------
  |  Branch (1304:9): [True: 5, False: 0]
  ------------------
 1305|      5|        dict = mydict = PyDict_New();
 1306|      5|        if (dict == NULL)
  ------------------
  |  Branch (1306:13): [True: 0, False: 5]
  ------------------
 1307|      0|            goto failure;
 1308|      5|    }
 1309|       |
 1310|      5|    int r = PyDict_Contains(dict, &_Py_ID(__module__));
  ------------------
  |  |  920|      5|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      5|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      5|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1311|      5|    if (r < 0) {
  ------------------
  |  Branch (1311:9): [True: 0, False: 5]
  ------------------
 1312|      0|        goto failure;
 1313|      0|    }
 1314|      5|    if (r == 0) {
  ------------------
  |  Branch (1314:9): [True: 5, False: 0]
  ------------------
 1315|      5|        modulename = PyUnicode_FromStringAndSize(name,
 1316|      5|                                             (Py_ssize_t)(dot-name));
 1317|      5|        if (modulename == NULL)
  ------------------
  |  Branch (1317:13): [True: 0, False: 5]
  ------------------
 1318|      0|            goto failure;
 1319|      5|        if (PyDict_SetItem(dict, &_Py_ID(__module__), modulename) != 0)
  ------------------
  |  |  920|      5|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      5|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      5|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1319:13): [True: 0, False: 5]
  ------------------
 1320|      0|            goto failure;
 1321|      5|    }
 1322|      5|    if (PyTuple_Check(base)) {
  ------------------
  |  |   27|      5|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      5|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1323|      2|        bases = Py_NewRef(base);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1324|      3|    } else {
 1325|      3|        bases = PyTuple_Pack(1, base);
 1326|      3|        if (bases == NULL)
  ------------------
  |  Branch (1326:13): [True: 0, False: 3]
  ------------------
 1327|      0|            goto failure;
 1328|      3|    }
 1329|       |    /* Create a real class. */
 1330|      5|    result = PyObject_CallFunction((PyObject *)&PyType_Type, "sOO",
 1331|      5|                                   dot+1, bases, dict);
 1332|      5|  failure:
 1333|      5|    Py_XDECREF(bases);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1334|      5|    Py_XDECREF(mydict);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1335|      5|    Py_XDECREF(modulename);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1336|      5|    return result;
 1337|      5|}
_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|}
errors.c:_PyErr_CreateException:
   33|  2.75M|{
   34|  2.75M|    PyObject *exc;
   35|       |
   36|  2.75M|    if (value == NULL || value == Py_None) {
  ------------------
  |  |  616|  2.72M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (36:9): [True: 32.1k, False: 2.72M]
  |  Branch (36:26): [True: 0, False: 2.72M]
  ------------------
   37|  32.1k|        exc = _PyObject_CallNoArgs(exception_type);
   38|  32.1k|    }
   39|  2.72M|    else if (PyTuple_Check(value)) {
  ------------------
  |  |   27|  2.72M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.72M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 2.72M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   40|      0|        exc = PyObject_Call(exception_type, value, NULL);
   41|      0|    }
   42|  2.72M|    else {
   43|  2.72M|        exc = PyObject_CallOneArg(exception_type, value);
   44|  2.72M|    }
   45|       |
   46|  2.75M|    if (exc != NULL && !PyExceptionInstance_Check(exc)) {
  ------------------
  |  |   65|  2.75M|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.75M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (46:9): [True: 2.75M, False: 0]
  |  Branch (46:24): [True: 0, False: 2.75M]
  ------------------
   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|  2.75M|    return exc;
   55|  2.75M|}
errors.c:_PyErr_SetImportErrorSubclassWithNameFrom:
 1131|      1|{
 1132|      1|    PyThreadState *tstate = _PyThreadState_GET();
 1133|      1|    PyObject *error = new_importerror(
 1134|      1|                        tstate, exception, msg, name, path, from_name);
 1135|      1|    if (error != NULL) {
  ------------------
  |  Branch (1135:9): [True: 1, False: 0]
  ------------------
 1136|      1|        _PyErr_SetObject(tstate, (PyObject *)Py_TYPE(error), error);
  ------------------
  |  |  213|      1|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1137|      1|        Py_DECREF(error);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1138|      1|    }
 1139|       |    return NULL;
 1140|      1|}
errors.c:new_importerror:
 1077|      1|{
 1078|      1|    PyObject *exc = NULL;
 1079|      1|    PyObject *kwargs = NULL;
 1080|       |
 1081|      1|    int issubclass = PyObject_IsSubclass(exctype, PyExc_ImportError);
 1082|      1|    if (issubclass < 0) {
  ------------------
  |  Branch (1082:9): [True: 0, False: 1]
  ------------------
 1083|      0|        return NULL;
 1084|      0|    }
 1085|      1|    else if (!issubclass) {
  ------------------
  |  Branch (1085:14): [True: 0, False: 1]
  ------------------
 1086|      0|        _PyErr_SetString(tstate, PyExc_TypeError,
 1087|      0|                         "expected a subclass of ImportError");
 1088|      0|        return NULL;
 1089|      0|    }
 1090|       |
 1091|      1|    if (msg == NULL) {
  ------------------
  |  Branch (1091:9): [True: 0, False: 1]
  ------------------
 1092|      0|        _PyErr_SetString(tstate, PyExc_TypeError,
 1093|      0|                         "expected a message argument");
 1094|      0|        return NULL;
 1095|      0|    }
 1096|       |
 1097|      1|    if (name == NULL) {
  ------------------
  |  Branch (1097:9): [True: 0, False: 1]
  ------------------
 1098|      0|        name = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1099|      0|    }
 1100|      1|    if (path == NULL) {
  ------------------
  |  Branch (1100:9): [True: 1, False: 0]
  ------------------
 1101|      1|        path = Py_None;
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1102|      1|    }
 1103|      1|    if (from_name == NULL) {
  ------------------
  |  Branch (1103:9): [True: 0, False: 1]
  ------------------
 1104|      0|        from_name = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1105|      0|    }
 1106|       |
 1107|      1|    kwargs = PyDict_New();
 1108|      1|    if (kwargs == NULL) {
  ------------------
  |  Branch (1108:9): [True: 0, False: 1]
  ------------------
 1109|      0|        return NULL;
 1110|      0|    }
 1111|      1|    if (PyDict_SetItemString(kwargs, "name", name) < 0) {
  ------------------
  |  Branch (1111:9): [True: 0, False: 1]
  ------------------
 1112|      0|        goto finally;
 1113|      0|    }
 1114|      1|    if (PyDict_SetItemString(kwargs, "path", path) < 0) {
  ------------------
  |  Branch (1114:9): [True: 0, False: 1]
  ------------------
 1115|      0|        goto finally;
 1116|      0|    }
 1117|      1|    if (PyDict_SetItemString(kwargs, "name_from", from_name) < 0) {
  ------------------
  |  Branch (1117:9): [True: 0, False: 1]
  ------------------
 1118|      0|        goto finally;
 1119|      0|    }
 1120|      1|    exc = PyObject_VectorcallDict(exctype, &msg, 1, kwargs);
 1121|       |
 1122|      1|finally:
 1123|      1|    Py_DECREF(kwargs);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1124|      1|    return exc;
 1125|      1|}

_Py_ResetForceASCII:
  325|      8|{
  326|      8|    force_ascii = -1;
  ------------------
  |  |  210|      8|#define force_ascii (_PyRuntime.fileutils.force_ascii)
  ------------------
  327|      8|}
_Py_DecodeLocaleEx:
  600|     42|{
  601|     42|    if (current_locale) {
  ------------------
  |  Branch (601:9): [True: 28, False: 14]
  ------------------
  602|       |#ifdef _Py_FORCE_UTF8_LOCALE
  603|       |        return _Py_DecodeUTF8Ex(arg, strlen(arg), wstr, wlen, reason,
  604|       |                                errors);
  605|       |#else
  606|     28|        return decode_current_locale(arg, wstr, wlen, reason, errors);
  607|     28|#endif
  608|     28|    }
  609|       |
  610|       |#ifdef _Py_FORCE_UTF8_FS_ENCODING
  611|       |    return _Py_DecodeUTF8Ex(arg, strlen(arg), wstr, wlen, reason,
  612|       |                            errors);
  613|       |#else
  614|     14|    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|     14|    if (use_utf8) {
  ------------------
  |  Branch (618:9): [True: 14, False: 0]
  ------------------
  619|     14|        return _Py_DecodeUTF8Ex(arg, strlen(arg), wstr, wlen, reason,
  620|     14|                                errors);
  621|     14|    }
  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|     12|{
  661|     12|    wchar_t *wstr;
  662|     12|    int res = _Py_DecodeLocaleEx(arg, &wstr, wlen,
  663|     12|                                 NULL, 0,
  664|     12|                                 _Py_ERROR_SURROGATEESCAPE);
  665|     12|    if (res != 0) {
  ------------------
  |  Branch (665:9): [True: 0, False: 12]
  ------------------
  666|      0|        assert(res != -3);
  ------------------
  |  Branch (666:9): [True: 0, False: 0]
  ------------------
  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|     12|    return wstr;
  673|     12|}
_Py_EncodeLocaleRaw:
  871|     10|{
  872|     10|    return encode_locale(text, error_pos, 1, 0);
  873|     10|}
_Py_EncodeLocaleEx:
  880|     20|{
  881|     20|    return encode_locale_ex(text, str, error_pos, reason, 1,
  882|     20|                            current_locale, errors);
  883|     20|}
_Py_fstat_noraise:
 1232|     35|{
 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|     35|    return fstat(fd, status);
 1286|     35|#endif
 1287|     35|}
_Py_wstat:
 1329|      8|{
 1330|      8|    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|      8|    char *fname;
 1339|      8|    fname = _Py_EncodeLocaleRaw(path, NULL);
 1340|      8|    if (fname == NULL) {
  ------------------
  |  Branch (1340:9): [True: 0, False: 8]
  ------------------
 1341|      0|        errno = EINVAL;
 1342|      0|        return -1;
 1343|      0|    }
 1344|      8|    err = stat(fname, buf);
 1345|      8|    PyMem_RawFree(fname);
 1346|      8|#endif
 1347|      8|    return err;
 1348|      8|}
_Py_stat:
 1359|     10|{
 1360|       |#ifdef MS_WINDOWS
 1361|       |    int err;
 1362|       |
 1363|       |    wchar_t *wpath = PyUnicode_AsWideCharString(path, NULL);
 1364|       |    if (wpath == NULL)
 1365|       |        return -2;
 1366|       |
 1367|       |    err = _Py_wstat(wpath, statbuf);
 1368|       |    PyMem_Free(wpath);
 1369|       |    return err;
 1370|       |#else
 1371|     10|    PyObject *bytes = PyUnicode_EncodeFSDefault(path);
 1372|     10|    if (bytes == NULL) {
  ------------------
  |  Branch (1372:9): [True: 0, False: 10]
  ------------------
 1373|      0|        return -2;
 1374|      0|    }
 1375|       |
 1376|       |    /* check for embedded null bytes */
 1377|     10|    char *cpath;
 1378|     10|    if (PyBytes_AsStringAndSize(bytes, &cpath, NULL) == -1) {
  ------------------
  |  Branch (1378:9): [True: 0, False: 10]
  ------------------
 1379|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1380|      0|        return -2;
 1381|      0|    }
 1382|       |
 1383|     10|    int ret = stat(cpath, statbuf);
 1384|     10|    Py_DECREF(bytes);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1385|     10|    assert(ret == 0 || ret == -1);
  ------------------
  |  Branch (1385:5): [True: 2, False: 8]
  |  Branch (1385:5): [True: 8, False: 0]
  ------------------
 1386|     10|    return ret;
 1387|     10|#endif
 1388|     10|}
_Py_set_inheritable:
 1600|     27|{
 1601|     27|    return set_inheritable(fd, inheritable, 1, atomic_flag_works);
 1602|     27|}
Py_fopen:
 1762|     10|{
 1763|     10|    _Py_AssertHoldsTstate();
  ------------------
  |  |  306|     10|#define _Py_AssertHoldsTstate() _Py_AssertHoldsTstateFunc(__func__)
  ------------------
 1764|       |
 1765|     10|    if (PySys_Audit("open", "Osi", path, mode, 0) < 0) {
  ------------------
  |  Branch (1765:9): [True: 0, False: 10]
  ------------------
 1766|      0|        return NULL;
 1767|      0|    }
 1768|       |
 1769|     10|    FILE *f;
 1770|     10|    int async_err = 0;
 1771|     10|    int saved_errno;
 1772|       |#ifdef MS_WINDOWS
 1773|       |    PyObject *unicode;
 1774|       |    if (!PyUnicode_FSDecoder(path, &unicode)) {
 1775|       |        return NULL;
 1776|       |    }
 1777|       |
 1778|       |    wchar_t *wpath = PyUnicode_AsWideCharString(unicode, NULL);
 1779|       |    Py_DECREF(unicode);
 1780|       |    if (wpath == NULL) {
 1781|       |        return NULL;
 1782|       |    }
 1783|       |
 1784|       |    wchar_t wmode[10];
 1785|       |    int usize = MultiByteToWideChar(CP_ACP, 0, mode, -1,
 1786|       |                                    wmode, Py_ARRAY_LENGTH(wmode));
 1787|       |    if (usize == 0) {
 1788|       |        PyErr_SetFromWindowsErr(0);
 1789|       |        PyMem_Free(wpath);
 1790|       |        return NULL;
 1791|       |    }
 1792|       |
 1793|       |    do {
 1794|       |        Py_BEGIN_ALLOW_THREADS
 1795|       |        _Py_BEGIN_SUPPRESS_IPH
 1796|       |        f = _wfopen(wpath, wmode);
 1797|       |        _Py_END_SUPPRESS_IPH
 1798|       |        Py_END_ALLOW_THREADS
 1799|       |    } while (f == NULL
 1800|       |             && errno == EINTR && !(async_err = PyErr_CheckSignals()));
 1801|       |    saved_errno = errno;
 1802|       |    PyMem_Free(wpath);
 1803|       |#else
 1804|     10|    PyObject *bytes;
 1805|     10|    if (!PyUnicode_FSConverter(path, &bytes)) {
  ------------------
  |  Branch (1805:9): [True: 0, False: 10]
  ------------------
 1806|      0|        return NULL;
 1807|      0|    }
 1808|     10|    const char *path_bytes = PyBytes_AS_STRING(bytes);
  ------------------
  |  |   27|     10|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1809|       |
 1810|     10|    do {
 1811|     10|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|     10|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|     10|                        PyThreadState *_save; \
  |  |  121|     10|                        _save = PyEval_SaveThread();
  ------------------
 1812|     10|        f = fopen(path_bytes, mode);
 1813|     10|        Py_END_ALLOW_THREADS
  ------------------
  |  |  124|     10|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|     10|                 }
  ------------------
 1814|     10|    } while (f == NULL
  ------------------
  |  Branch (1814:14): [True: 10, False: 0]
  ------------------
 1815|     10|             && errno == EINTR && !(async_err = PyErr_CheckSignals()));
  ------------------
  |  Branch (1815:17): [True: 0, False: 10]
  |  Branch (1815:35): [True: 0, False: 0]
  ------------------
 1816|     10|    saved_errno = errno;
 1817|     10|    Py_DECREF(bytes);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1818|     10|#endif
 1819|       |
 1820|     10|    if (async_err) {
  ------------------
  |  Branch (1820:9): [True: 0, False: 10]
  ------------------
 1821|      0|        return NULL;
 1822|      0|    }
 1823|       |
 1824|     10|    if (f == NULL) {
  ------------------
  |  Branch (1824:9): [True: 10, False: 0]
  ------------------
 1825|     10|        errno = saved_errno;
 1826|     10|        PyErr_SetFromErrnoWithFilenameObject(PyExc_OSError, path);
 1827|     10|        return NULL;
 1828|     10|    }
 1829|       |
 1830|      0|    if (set_inheritable(fileno(f), 0, 1, NULL) < 0) {
  ------------------
  |  Branch (1830:9): [True: 0, False: 0]
  ------------------
 1831|      0|        fclose(f);
 1832|      0|        return NULL;
 1833|      0|    }
 1834|      0|    return f;
 1835|      0|}
_Py_read:
 1865|     54|{
 1866|     54|    Py_ssize_t n;
 1867|     54|    int err;
 1868|     54|    int async_err = 0;
 1869|       |
 1870|     54|    _Py_AssertHoldsTstate();
  ------------------
  |  |  306|     54|#define _Py_AssertHoldsTstate() _Py_AssertHoldsTstateFunc(__func__)
  ------------------
 1871|       |
 1872|       |    /* _Py_read() must not be called with an exception set, otherwise the
 1873|       |     * caller may think that read() was interrupted by a signal and the signal
 1874|       |     * handler raised an exception. */
 1875|     54|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (1875:5): [True: 54, False: 0]
  ------------------
 1876|       |
 1877|     54|    if (count > _PY_READ_MAX) {
  ------------------
  |  |   59|     54|#   define _PY_READ_MAX  PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|     54|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
  |  Branch (1877:9): [True: 0, False: 54]
  ------------------
 1878|      0|        count = _PY_READ_MAX;
  ------------------
  |  |   59|      0|#   define _PY_READ_MAX  PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
 1879|      0|    }
 1880|       |
 1881|     54|    _Py_BEGIN_SUPPRESS_IPH
 1882|     54|    do {
 1883|     54|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|     54|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|     54|                        PyThreadState *_save; \
  |  |  121|     54|                        _save = PyEval_SaveThread();
  ------------------
 1884|     54|        errno = 0;
 1885|       |#ifdef MS_WINDOWS
 1886|       |        _doserrno = 0;
 1887|       |        n = read(fd, buf, (int)count);
 1888|       |        // read() on a non-blocking empty pipe fails with EINVAL, which is
 1889|       |        // mapped from the Windows error code ERROR_NO_DATA.
 1890|       |        if (n < 0 && errno == EINVAL) {
 1891|       |            if (_doserrno == ERROR_NO_DATA) {
 1892|       |                errno = EAGAIN;
 1893|       |            }
 1894|       |        }
 1895|       |#else
 1896|     54|        n = read(fd, buf, count);
 1897|     54|#endif
 1898|       |        /* save/restore errno because PyErr_CheckSignals()
 1899|       |         * and PyErr_SetFromErrno() can modify it */
 1900|     54|        err = errno;
 1901|     54|        Py_END_ALLOW_THREADS
  ------------------
  |  |  124|     54|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|     54|                 }
  ------------------
 1902|     54|    } while (n < 0 && err == EINTR &&
  ------------------
  |  Branch (1902:14): [True: 0, False: 54]
  |  Branch (1902:23): [True: 0, False: 0]
  ------------------
 1903|      0|            !(async_err = PyErr_CheckSignals()));
  ------------------
  |  Branch (1903:13): [True: 0, False: 0]
  ------------------
 1904|     54|    _Py_END_SUPPRESS_IPH
 1905|       |
 1906|     54|    if (async_err) {
  ------------------
  |  Branch (1906:9): [True: 0, False: 54]
  ------------------
 1907|       |        /* read() was interrupted by a signal (failed with EINTR)
 1908|       |         * and the Python signal handler raised an exception */
 1909|      0|        errno = err;
 1910|      0|        assert(errno == EINTR && PyErr_Occurred());
  ------------------
  |  Branch (1910:9): [True: 0, False: 0]
  |  Branch (1910:9): [True: 0, False: 0]
  ------------------
 1911|      0|        return -1;
 1912|      0|    }
 1913|     54|    if (n < 0) {
  ------------------
  |  Branch (1913:9): [True: 0, False: 54]
  ------------------
 1914|      0|        PyErr_SetFromErrno(PyExc_OSError);
 1915|      0|        errno = err;
 1916|      0|        return -1;
 1917|      0|    }
 1918|       |
 1919|     54|    return n;
 1920|     54|}
_Py_write:
 2035|   355k|{
 2036|   355k|    _Py_AssertHoldsTstate();
  ------------------
  |  |  306|   355k|#define _Py_AssertHoldsTstate() _Py_AssertHoldsTstateFunc(__func__)
  ------------------
 2037|       |
 2038|       |    /* _Py_write() must not be called with an exception set, otherwise the
 2039|       |     * caller may think that write() was interrupted by a signal and the signal
 2040|       |     * handler raised an exception. */
 2041|   355k|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (2041:5): [True: 355k, False: 0]
  ------------------
 2042|       |
 2043|   355k|    return _Py_write_impl(fd, buf, count, 1);
 2044|   355k|}
_Py_wreadlink:
 2068|      2|{
 2069|      2|    char *cpath;
 2070|      2|    char cbuf[MAXPATHLEN];
 2071|      2|    size_t cbuf_len = Py_ARRAY_LENGTH(cbuf);
  ------------------
  |  |  196|      2|    (sizeof(array) / sizeof((array)[0]))
  ------------------
 2072|      2|    wchar_t *wbuf;
 2073|      2|    Py_ssize_t res;
 2074|      2|    size_t r1;
 2075|       |
 2076|      2|    cpath = _Py_EncodeLocaleRaw(path, NULL);
 2077|      2|    if (cpath == NULL) {
  ------------------
  |  Branch (2077:9): [True: 0, False: 2]
  ------------------
 2078|      0|        errno = EINVAL;
 2079|      0|        return -1;
 2080|      0|    }
 2081|      2|    res = readlink(cpath, cbuf, cbuf_len);
 2082|      2|    PyMem_RawFree(cpath);
 2083|      2|    if (res == -1) {
  ------------------
  |  Branch (2083:9): [True: 2, False: 0]
  ------------------
 2084|      2|        return -1;
 2085|      2|    }
 2086|      0|    if ((size_t)res == cbuf_len) {
  ------------------
  |  Branch (2086:9): [True: 0, False: 0]
  ------------------
 2087|      0|        errno = EINVAL;
 2088|      0|        return -1;
 2089|      0|    }
 2090|      0|    cbuf[res] = '\0'; /* buf will be null terminated */
 2091|      0|    wbuf = Py_DecodeLocale(cbuf, &r1);
 2092|      0|    if (wbuf == NULL) {
  ------------------
  |  Branch (2092:9): [True: 0, False: 0]
  ------------------
 2093|      0|        errno = EINVAL;
 2094|      0|        return -1;
 2095|      0|    }
 2096|       |    /* wbuf must have space to store the trailing NUL character */
 2097|      0|    if (buflen <= r1) {
  ------------------
  |  Branch (2097:9): [True: 0, False: 0]
  ------------------
 2098|      0|        PyMem_RawFree(wbuf);
 2099|      0|        errno = EINVAL;
 2100|      0|        return -1;
 2101|      0|    }
 2102|      0|    wcsncpy(buf, wbuf, buflen);
 2103|      0|    PyMem_RawFree(wbuf);
 2104|      0|    return (int)r1;
 2105|      0|}
_Py_isabs:
 2155|     74|{
 2156|       |#ifdef MS_WINDOWS
 2157|       |    const wchar_t *tail;
 2158|       |    HRESULT hr = PathCchSkipRoot(path, &tail);
 2159|       |    if (FAILED(hr) || path == tail) {
 2160|       |        return 0;
 2161|       |    }
 2162|       |    if (tail == &path[1] && (path[0] == SEP || path[0] == ALTSEP)) {
 2163|       |        // Exclude paths with leading SEP
 2164|       |        return 0;
 2165|       |    }
 2166|       |    if (tail == &path[2] && path[1] == L':') {
 2167|       |        // Exclude drive-relative paths (e.g. C:filename.ext)
 2168|       |        return 0;
 2169|       |    }
 2170|       |    return 1;
 2171|       |#else
 2172|     74|    return (path[0] == SEP);
  ------------------
  |  |   29|     74|#  define SEP L'/'
  ------------------
 2173|     74|#endif
 2174|     74|}
_Py_abspath:
 2184|      2|{
 2185|      2|    if (path[0] == '\0' || !wcscmp(path, L".")) {
  ------------------
  |  Branch (2185:9): [True: 0, False: 2]
  |  Branch (2185:28): [True: 0, False: 2]
  ------------------
 2186|      0|        wchar_t cwd[MAXPATHLEN + 1];
 2187|      0|        cwd[Py_ARRAY_LENGTH(cwd) - 1] = 0;
  ------------------
  |  |  196|      0|    (sizeof(array) / sizeof((array)[0]))
  ------------------
 2188|      0|        if (!_Py_wgetcwd(cwd, Py_ARRAY_LENGTH(cwd) - 1)) {
  ------------------
  |  |  196|      0|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (2188:13): [True: 0, False: 0]
  ------------------
 2189|       |            /* unable to get the current directory */
 2190|      0|            return -1;
 2191|      0|        }
 2192|      0|        *abspath_p = _PyMem_RawWcsdup(cwd);
 2193|      0|        return 0;
 2194|      0|    }
 2195|       |
 2196|      2|    if (_Py_isabs(path)) {
  ------------------
  |  Branch (2196:9): [True: 2, False: 0]
  ------------------
 2197|      2|        *abspath_p = _PyMem_RawWcsdup(path);
 2198|      2|        return 0;
 2199|      2|    }
 2200|       |
 2201|       |#ifdef MS_WINDOWS
 2202|       |    return _PyOS_getfullpathname(path, abspath_p);
 2203|       |#else
 2204|      0|    wchar_t cwd[MAXPATHLEN + 1];
 2205|      0|    cwd[Py_ARRAY_LENGTH(cwd) - 1] = 0;
  ------------------
  |  |  196|      0|    (sizeof(array) / sizeof((array)[0]))
  ------------------
 2206|      0|    if (!_Py_wgetcwd(cwd, Py_ARRAY_LENGTH(cwd) - 1)) {
  ------------------
  |  |  196|      0|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (2206:9): [True: 0, False: 0]
  ------------------
 2207|       |        /* unable to get the current directory */
 2208|      0|        return -1;
 2209|      0|    }
 2210|       |
 2211|      0|    size_t cwd_len = wcslen(cwd);
 2212|      0|    size_t path_len = wcslen(path);
 2213|      0|    size_t len = cwd_len + 1 + path_len + 1;
 2214|      0|    if (len <= (size_t)PY_SSIZE_T_MAX / sizeof(wchar_t)) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2214:9): [True: 0, False: 0]
  ------------------
 2215|      0|        *abspath_p = PyMem_RawMalloc(len * sizeof(wchar_t));
 2216|      0|    }
 2217|      0|    else {
 2218|      0|        *abspath_p = NULL;
 2219|      0|    }
 2220|      0|    if (*abspath_p == NULL) {
  ------------------
  |  Branch (2220:9): [True: 0, False: 0]
  ------------------
 2221|      0|        return 0;
 2222|      0|    }
 2223|       |
 2224|      0|    wchar_t *abspath = *abspath_p;
 2225|      0|    memcpy(abspath, cwd, cwd_len * sizeof(wchar_t));
 2226|      0|    abspath += cwd_len;
 2227|       |
 2228|      0|    *abspath = (wchar_t)SEP;
  ------------------
  |  |   29|      0|#  define SEP L'/'
  ------------------
 2229|      0|    abspath++;
 2230|       |
 2231|      0|    memcpy(abspath, path, path_len * sizeof(wchar_t));
 2232|      0|    abspath += path_len;
 2233|       |
 2234|      0|    *abspath = 0;
 2235|      0|    return 0;
 2236|      0|#endif
 2237|      0|}
_Py_skiproot:
 2309|     36|{
 2310|     36|    assert(drvsize);
  ------------------
  |  Branch (2310:5): [True: 36, False: 0]
  ------------------
 2311|     36|    assert(rootsize);
  ------------------
  |  Branch (2311:5): [True: 36, False: 0]
  ------------------
 2312|     36|#ifndef MS_WINDOWS
 2313|     36|#define IS_SEP(x) (*(x) == SEP)
 2314|     36|    *drvsize = 0;
 2315|     36|    if (!IS_SEP(&path[0])) {
  ------------------
  |  | 2313|     36|#define IS_SEP(x) (*(x) == SEP)
  |  |  ------------------
  |  |  |  |   29|     36|#  define SEP L'/'
  |  |  ------------------
  ------------------
  |  Branch (2315:9): [True: 0, False: 36]
  ------------------
 2316|       |        // Relative path, e.g.: 'foo'
 2317|      0|        *rootsize = 0;
 2318|      0|    }
 2319|     36|    else if (!IS_SEP(&path[1]) || IS_SEP(&path[2])) {
  ------------------
  |  | 2313|     72|#define IS_SEP(x) (*(x) == SEP)
  |  |  ------------------
  |  |  |  |   29|     36|#  define SEP L'/'
  |  |  ------------------
  ------------------
                  else if (!IS_SEP(&path[1]) || IS_SEP(&path[2])) {
  ------------------
  |  | 2313|      0|#define IS_SEP(x) (*(x) == SEP)
  |  |  ------------------
  |  |  |  |   29|      0|#  define SEP L'/'
  |  |  ------------------
  |  |  |  Branch (2313:19): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2319:14): [True: 36, False: 0]
  ------------------
 2320|       |        // Absolute path, e.g.: '/foo', '///foo', '////foo', etc.
 2321|     36|        *rootsize = 1;
 2322|     36|    }
 2323|      0|    else {
 2324|       |        // Precisely two leading slashes, e.g.: '//foo'. Implementation defined per POSIX, see
 2325|       |        // https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap04.html#tag_04_13
 2326|      0|        *rootsize = 2;
 2327|      0|    }
 2328|     36|#undef IS_SEP
 2329|       |#else
 2330|       |    const wchar_t *pEnd = size >= 0 ? &path[size] : NULL;
 2331|       |#define IS_END(x) (pEnd ? (x) == pEnd : !*(x))
 2332|       |#define IS_SEP(x) (*(x) == SEP || *(x) == ALTSEP)
 2333|       |#define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
 2334|       |    if (IS_SEP(&path[0])) {
 2335|       |        if (IS_SEP(&path[1])) {
 2336|       |            // Device drives, e.g. \\.\device or \\?\device
 2337|       |            // UNC drives, e.g. \\server\share or \\?\UNC\server\share
 2338|       |            Py_ssize_t idx;
 2339|       |            if (path[2] == L'?' && IS_SEP(&path[3]) &&
 2340|       |                (path[4] == L'U' || path[4] == L'u') &&
 2341|       |                (path[5] == L'N' || path[5] == L'n') &&
 2342|       |                (path[6] == L'C' || path[6] == L'c') &&
 2343|       |                IS_SEP(&path[7]))
 2344|       |            {
 2345|       |                idx = 8;
 2346|       |            }
 2347|       |            else {
 2348|       |                idx = 2;
 2349|       |            }
 2350|       |            while (!SEP_OR_END(&path[idx])) {
 2351|       |                idx++;
 2352|       |            }
 2353|       |            if (IS_END(&path[idx])) {
 2354|       |                *drvsize = idx;
 2355|       |                *rootsize = 0;
 2356|       |            }
 2357|       |            else {
 2358|       |                idx++;
 2359|       |                while (!SEP_OR_END(&path[idx])) {
 2360|       |                    idx++;
 2361|       |                }
 2362|       |                *drvsize = idx;
 2363|       |                if (IS_END(&path[idx])) {
 2364|       |                    *rootsize = 0;
 2365|       |                }
 2366|       |                else {
 2367|       |                    *rootsize = 1;
 2368|       |                }
 2369|       |            }
 2370|       |        }
 2371|       |        else {
 2372|       |            // Relative path with root, e.g. \Windows
 2373|       |            *drvsize = 0;
 2374|       |            *rootsize = 1;
 2375|       |        }
 2376|       |    }
 2377|       |    else if (!IS_END(&path[0]) && path[1] == L':') {
 2378|       |        *drvsize = 2;
 2379|       |        if (IS_SEP(&path[2])) {
 2380|       |            // Absolute drive-letter path, e.g. X:\Windows
 2381|       |            *rootsize = 1;
 2382|       |        }
 2383|       |        else {
 2384|       |            // Relative path with drive, e.g. X:Windows
 2385|       |            *rootsize = 0;
 2386|       |        }
 2387|       |    }
 2388|       |    else {
 2389|       |        // Relative path, e.g. Windows
 2390|       |        *drvsize = 0;
 2391|       |        *rootsize = 0;
 2392|       |    }
 2393|       |#undef SEP_OR_END
 2394|       |#undef IS_SEP
 2395|       |#undef IS_END
 2396|       |#endif
 2397|     36|}
_Py_add_relfile:
 2469|     24|{
 2470|     24|    assert(dirname != NULL && relfile != NULL);
  ------------------
  |  Branch (2470:5): [True: 24, False: 0]
  |  Branch (2470:5): [True: 24, False: 0]
  ------------------
 2471|     24|    assert(bufsize > 0);
  ------------------
  |  Branch (2471:5): [True: 24, False: 0]
  ------------------
 2472|     24|    return join_relfile(dirname, bufsize, dirname, relfile);
 2473|     24|}
_Py_normpath_and_size:
 2495|     36|{
 2496|     36|    assert(path != NULL);
  ------------------
  |  Branch (2496:5): [True: 36, False: 0]
  ------------------
 2497|     36|    if ((size < 0 && !path[0]) || size == 0) {
  ------------------
  |  Branch (2497:10): [True: 26, False: 10]
  |  Branch (2497:22): [True: 0, False: 26]
  |  Branch (2497:35): [True: 0, False: 36]
  ------------------
 2498|      0|        *normsize = 0;
 2499|      0|        return path;
 2500|      0|    }
 2501|     36|    wchar_t *pEnd = size >= 0 ? &path[size] : NULL;
  ------------------
  |  Branch (2501:21): [True: 10, False: 26]
  ------------------
 2502|     36|    wchar_t *p1 = path;     // sequentially scanned address in the path
 2503|     36|    wchar_t *p2 = path;     // destination of a scanned character to be ljusted
 2504|     36|    wchar_t *minP2 = path;  // the beginning of the destination range
 2505|     36|    wchar_t lastC = L'\0';  // the last ljusted character, p2[-1] in most cases
 2506|       |
 2507|     36|#define IS_END(x) (pEnd ? (x) == pEnd : !*(x))
 2508|       |#ifdef ALTSEP
 2509|       |#define IS_SEP(x) (*(x) == SEP || *(x) == ALTSEP)
 2510|       |#else
 2511|     36|#define IS_SEP(x) (*(x) == SEP)
 2512|     36|#endif
 2513|     36|#define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
 2514|       |
 2515|     36|    Py_ssize_t drvsize, rootsize;
 2516|     36|    _Py_skiproot(path, size, &drvsize, &rootsize);
 2517|     36|    if (drvsize || rootsize) {
  ------------------
  |  Branch (2517:9): [True: 0, False: 36]
  |  Branch (2517:20): [True: 36, False: 0]
  ------------------
 2518|       |        // Skip past root and update minP2
 2519|     36|        p1 = &path[drvsize + rootsize];
 2520|     36|#ifndef ALTSEP
 2521|     36|        p2 = p1;
 2522|       |#else
 2523|       |        for (; p2 < p1; ++p2) {
 2524|       |            if (*p2 == ALTSEP) {
 2525|       |                *p2 = SEP;
 2526|       |            }
 2527|       |        }
 2528|       |#endif
 2529|     36|        minP2 = p2 - 1;
 2530|     36|        lastC = *minP2;
 2531|       |#ifdef MS_WINDOWS
 2532|       |        if (lastC != SEP) {
 2533|       |            minP2++;
 2534|       |        }
 2535|       |#endif
 2536|     36|    }
 2537|     36|    if (p1[0] == L'.' && SEP_OR_END(&p1[1])) {
  ------------------
  |  | 2513|      0|#define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
  |  |  ------------------
  |  |  |  | 2511|      0|#define IS_SEP(x) (*(x) == SEP)
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|      0|#  define SEP L'/'
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2511:19): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
  |  |  ------------------
  |  |  |  | 2507|      0|#define IS_END(x) (pEnd ? (x) == pEnd : !*(x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2507:19): [True: 0, False: 0]
  |  |  |  |  |  Branch (2507:20): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2537:9): [True: 0, False: 36]
  ------------------
 2538|       |        // Skip leading '.\'
 2539|      0|        lastC = *++p1;
 2540|       |#ifdef ALTSEP
 2541|       |        if (lastC == ALTSEP) {
 2542|       |            lastC = SEP;
 2543|       |        }
 2544|       |#endif
 2545|      0|        while (IS_SEP(p1)) {
  ------------------
  |  | 2511|      0|#define IS_SEP(x) (*(x) == SEP)
  |  |  ------------------
  |  |  |  |   29|      0|#  define SEP L'/'
  |  |  ------------------
  |  |  |  Branch (2511:19): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2546|      0|            p1++;
 2547|      0|        }
 2548|      0|    }
 2549|       |
 2550|       |    /* if pEnd is specified, check that. Else, check for null terminator */
 2551|  1.97k|    for (; !IS_END(p1); ++p1) {
  ------------------
  |  | 2507|  1.97k|#define IS_END(x) (pEnd ? (x) == pEnd : !*(x))
  |  |  ------------------
  |  |  |  Branch (2507:20): [True: 612, False: 1.36k]
  |  |  ------------------
  ------------------
  |  Branch (2551:12): [True: 1.93k, False: 36]
  ------------------
 2552|  1.93k|        wchar_t c = *p1;
 2553|       |#ifdef ALTSEP
 2554|       |        if (c == ALTSEP) {
 2555|       |            c = SEP;
 2556|       |        }
 2557|       |#endif
 2558|  1.93k|        if (lastC == SEP) {
  ------------------
  |  |   29|  1.93k|#  define SEP L'/'
  ------------------
  |  Branch (2558:13): [True: 174, False: 1.76k]
  ------------------
 2559|    174|            if (c == L'.') {
  ------------------
  |  Branch (2559:17): [True: 0, False: 174]
  ------------------
 2560|      0|                int sep_at_1 = SEP_OR_END(&p1[1]);
  ------------------
  |  | 2513|      0|#define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
  |  |  ------------------
  |  |  |  | 2511|      0|#define IS_SEP(x) (*(x) == SEP)
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|      0|#  define SEP L'/'
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2511:19): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
  |  |  ------------------
  |  |  |  | 2507|      0|#define IS_END(x) (pEnd ? (x) == pEnd : !*(x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2507:19): [True: 0, False: 0]
  |  |  |  |  |  Branch (2507:20): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2561|      0|                int sep_at_2 = !sep_at_1 && SEP_OR_END(&p1[2]);
  ------------------
  |  | 2513|      0|#define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
  |  |  ------------------
  |  |  |  | 2511|      0|#define IS_SEP(x) (*(x) == SEP)
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|      0|#  define SEP L'/'
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2511:19): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
  |  |  ------------------
  |  |  |  | 2507|      0|#define IS_END(x) (pEnd ? (x) == pEnd : !*(x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2507:19): [True: 0, False: 0]
  |  |  |  |  |  Branch (2507:20): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2561:32): [True: 0, False: 0]
  ------------------
 2562|      0|                if (sep_at_2 && p1[1] == L'.') {
  ------------------
  |  Branch (2562:21): [True: 0, False: 0]
  |  Branch (2562:33): [True: 0, False: 0]
  ------------------
 2563|      0|                    wchar_t *p3 = p2;
 2564|      0|                    while (p3 != minP2 && *--p3 == SEP) { }
  ------------------
  |  |   29|      0|#  define SEP L'/'
  ------------------
  |  Branch (2564:28): [True: 0, False: 0]
  |  Branch (2564:43): [True: 0, False: 0]
  ------------------
 2565|      0|                    while (p3 != minP2 && *(p3 - 1) != SEP) { --p3; }
  ------------------
  |  |   29|      0|#  define SEP L'/'
  ------------------
  |  Branch (2565:28): [True: 0, False: 0]
  |  Branch (2565:43): [True: 0, False: 0]
  ------------------
 2566|      0|                    if (p2 == minP2
  ------------------
  |  Branch (2566:25): [True: 0, False: 0]
  ------------------
 2567|      0|                        || (p3[0] == L'.' && p3[1] == L'.' && IS_SEP(&p3[2])))
  ------------------
  |  | 2511|      0|#define IS_SEP(x) (*(x) == SEP)
  |  |  ------------------
  |  |  |  |   29|      0|#  define SEP L'/'
  |  |  ------------------
  |  |  |  Branch (2511:19): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2567:29): [True: 0, False: 0]
  |  Branch (2567:46): [True: 0, False: 0]
  ------------------
 2568|      0|                    {
 2569|       |                        // Previous segment is also ../, so append instead.
 2570|       |                        // Relative path does not absorb ../ at minP2 as well.
 2571|      0|                        *p2++ = L'.';
 2572|      0|                        *p2++ = L'.';
 2573|      0|                        lastC = L'.';
 2574|      0|                    } else if (p3[0] == SEP) {
  ------------------
  |  |   29|      0|#  define SEP L'/'
  ------------------
  |  Branch (2574:32): [True: 0, False: 0]
  ------------------
 2575|       |                        // Absolute path, so absorb segment
 2576|      0|                        p2 = p3 + 1;
 2577|      0|                    } else {
 2578|      0|                        p2 = p3;
 2579|      0|                    }
 2580|      0|                    p1 += 1;
 2581|      0|                } else if (sep_at_1) {
  ------------------
  |  Branch (2581:28): [True: 0, False: 0]
  ------------------
 2582|      0|                } else {
 2583|      0|                    *p2++ = lastC = c;
 2584|      0|                }
 2585|    174|            } else if (c == SEP) {
  ------------------
  |  |   29|    174|#  define SEP L'/'
  ------------------
  |  Branch (2585:24): [True: 0, False: 174]
  ------------------
 2586|    174|            } else {
 2587|    174|                *p2++ = lastC = c;
 2588|    174|            }
 2589|  1.76k|        } else {
 2590|  1.76k|            *p2++ = lastC = c;
 2591|  1.76k|        }
 2592|  1.93k|    }
 2593|     36|    *p2 = L'\0';
 2594|     36|    if (p2 != minP2) {
  ------------------
  |  Branch (2594:9): [True: 36, False: 0]
  ------------------
 2595|     36|        while (--p2 != minP2 && *p2 == SEP) {
  ------------------
  |  |   29|     36|#  define SEP L'/'
  ------------------
  |  Branch (2595:16): [True: 36, False: 0]
  |  Branch (2595:33): [True: 0, False: 36]
  ------------------
 2596|      0|            *p2 = L'\0';
 2597|      0|        }
 2598|     36|    } else {
 2599|      0|        --p2;
 2600|      0|    }
 2601|     36|    *normsize = p2 - path + 1;
 2602|     36|#undef SEP_OR_END
 2603|     36|#undef IS_SEP
 2604|     36|#undef IS_END
 2605|     36|    return path;
 2606|     36|}
_Py_normpath:
 2615|     26|{
 2616|     26|    Py_ssize_t norm_length;
 2617|     26|    return _Py_normpath_and_size(path, size, &norm_length);
 2618|     26|}
_Py_GetTicksPerSecond:
 3082|      4|{
 3083|      4|#if defined(HAVE_SYSCONF) && defined(_SC_CLK_TCK)
 3084|      4|    long value = sysconf(_SC_CLK_TCK);
 3085|      4|    if (value < 1) {
  ------------------
  |  Branch (3085:9): [True: 0, False: 4]
  ------------------
 3086|      0|        return -1;
 3087|      0|    }
 3088|      4|    *ticks_per_second = value;
 3089|       |#elif defined(HZ)
 3090|       |    assert(HZ >= 1);
 3091|       |    *ticks_per_second = HZ;
 3092|       |#else
 3093|       |    // Magic fallback value; may be bogus
 3094|       |    *ticks_per_second = 60;
 3095|       |#endif
 3096|      4|    return 0;
 3097|      4|}
_Py_IsValidFD:
 3105|      6|{
 3106|       |/* dup() is faster than fstat(): fstat() can require input/output operations,
 3107|       |   whereas dup() doesn't. There is a low risk of EMFILE/ENFILE at Python
 3108|       |   startup. Problem: dup() doesn't check if the file descriptor is valid on
 3109|       |   some platforms.
 3110|       |
 3111|       |   fcntl(fd, F_GETFD) is even faster, because it only checks the process table.
 3112|       |   It is preferred over dup() when available, since it cannot fail with the
 3113|       |   "too many open files" error (EMFILE).
 3114|       |
 3115|       |   bpo-30225: On macOS Tiger, when stdout is redirected to a pipe and the other
 3116|       |   side of the pipe is closed, dup(1) succeed, whereas fstat(1, &st) fails with
 3117|       |   EBADF. FreeBSD has similar issue (bpo-32849).
 3118|       |
 3119|       |   Only use dup() on Linux where dup() is enough to detect invalid FD
 3120|       |   (bpo-32849).
 3121|       |*/
 3122|      6|    if (fd < 0) {
  ------------------
  |  Branch (3122:9): [True: 0, False: 6]
  ------------------
 3123|      0|        return 0;
 3124|      0|    }
 3125|      6|#if defined(F_GETFD) && ( \
 3126|      6|        defined(__linux__) || \
 3127|      6|        defined(__APPLE__) || \
 3128|      6|        (defined(__wasm__) && !defined(__wasi__)))
 3129|      6|    return fcntl(fd, F_GETFD) >= 0;
 3130|       |#elif defined(__linux__)
 3131|       |    int fd2 = dup(fd);
 3132|       |    if (fd2 >= 0) {
 3133|       |        close(fd2);
 3134|       |    }
 3135|       |    return (fd2 >= 0);
 3136|       |#elif defined(MS_WINDOWS)
 3137|       |    HANDLE hfile;
 3138|       |    _Py_BEGIN_SUPPRESS_IPH
 3139|       |    hfile = (HANDLE)_get_osfhandle(fd);
 3140|       |    _Py_END_SUPPRESS_IPH
 3141|       |    return (hfile != INVALID_HANDLE_VALUE
 3142|       |            && GetFileType(hfile) != FILE_TYPE_UNKNOWN);
 3143|       |#else
 3144|       |    struct stat st;
 3145|       |    return (fstat(fd, &st) == 0);
 3146|       |#endif
 3147|      6|}
fileutils.c:_Py_mbstowcs:
  147|     56|{
  148|     56|    size_t count = mbstowcs(dest, src, n);
  149|     56|    if (dest != NULL && count != DECODE_ERROR) {
  ------------------
  |  Branch (149:9): [True: 28, False: 28]
  |  Branch (149:25): [True: 28, False: 0]
  ------------------
  150|    728|        for (size_t i=0; i < count; i++) {
  ------------------
  |  Branch (150:26): [True: 700, False: 28]
  ------------------
  151|    700|            wchar_t ch = dest[i];
  152|    700|            if (!is_valid_wide_char(ch)) {
  ------------------
  |  Branch (152:17): [True: 0, False: 700]
  ------------------
  153|      0|                return DECODE_ERROR;
  154|      0|            }
  155|    700|        }
  156|     28|    }
  157|     56|    return count;
  158|     56|}
fileutils.c:is_valid_wide_char:
  121|    700|{
  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|    700|    if (Py_UNICODE_IS_SURROGATE(ch)) {
  ------------------
  |  Branch (128:9): [True: 0, False: 700]
  ------------------
  129|       |        // Reject lone surrogate characters
  130|      0|        return 0;
  131|      0|    }
  132|    700|#if SIZEOF_WCHAR_T > 2
  133|    700|    if (ch > _Py_MAX_UNICODE) {
  ------------------
  |  |   16|    700|#define _Py_MAX_UNICODE 0x10ffff
  ------------------
  |  Branch (133:9): [True: 0, False: 700]
  ------------------
  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|    700|#endif
  141|    700|    return 1;
  142|    700|}
fileutils.c:decode_current_locale:
  460|     28|{
  461|     28|    wchar_t *res;
  462|     28|    size_t argsize;
  463|     28|    size_t count;
  464|     28|#ifdef HAVE_MBRTOWC
  465|     28|    unsigned char *in;
  466|     28|    wchar_t *out;
  467|     28|    mbstate_t mbs;
  468|     28|#endif
  469|       |
  470|     28|    int surrogateescape;
  471|     28|    if (get_surrogateescape(errors, &surrogateescape) < 0) {
  ------------------
  |  Branch (471:9): [True: 0, False: 28]
  ------------------
  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|     28|    argsize = _Py_mbstowcs(NULL, arg, 0);
  483|     28|#endif
  484|     28|    if (argsize != DECODE_ERROR) {
  ------------------
  |  Branch (484:9): [True: 28, False: 0]
  ------------------
  485|     28|        if (argsize > PY_SSIZE_T_MAX / sizeof(wchar_t) - 1) {
  ------------------
  |  |  137|     28|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (485:13): [True: 0, False: 28]
  ------------------
  486|      0|            return -1;
  487|      0|        }
  488|     28|        res = (wchar_t *)PyMem_RawMalloc((argsize + 1) * sizeof(wchar_t));
  489|     28|        if (!res) {
  ------------------
  |  Branch (489:13): [True: 0, False: 28]
  ------------------
  490|      0|            return -1;
  491|      0|        }
  492|       |
  493|     28|        count = _Py_mbstowcs(res, arg, argsize + 1);
  494|     28|        if (count != DECODE_ERROR) {
  ------------------
  |  Branch (494:13): [True: 28, False: 0]
  ------------------
  495|     28|            *wstr = res;
  496|     28|            if (wlen != NULL) {
  ------------------
  |  Branch (496:17): [True: 28, False: 0]
  ------------------
  497|     28|                *wlen = count;
  498|     28|            }
  499|     28|            return 0;
  500|     28|        }
  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));
  ------------------
  |  Branch (543:9): [True: 0, False: 0]
  ------------------
  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|     28|{
   64|     28|    switch (errors)
   65|     28|    {
   66|      0|    case _Py_ERROR_STRICT:
  ------------------
  |  Branch (66:5): [True: 0, False: 28]
  ------------------
   67|      0|        *surrogateescape = 0;
   68|      0|        return 0;
   69|     28|    case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (69:5): [True: 28, False: 0]
  ------------------
   70|     28|        *surrogateescape = 1;
   71|     28|        return 0;
   72|      0|    default:
  ------------------
  |  Branch (72:5): [True: 0, False: 28]
  ------------------
   73|      0|        return -1;
   74|     28|    }
   75|     28|}
fileutils.c:encode_locale:
  834|     10|{
  835|     10|    char *str;
  836|     10|    int res = encode_locale_ex(text, &str, error_pos, NULL,
  837|     10|                               raw_malloc, current_locale,
  838|     10|                               _Py_ERROR_SURROGATEESCAPE);
  839|     10|    if (res != -2 && error_pos) {
  ------------------
  |  Branch (839:9): [True: 10, False: 0]
  |  Branch (839:22): [True: 0, False: 10]
  ------------------
  840|      0|        *error_pos = (size_t)-1;
  841|      0|    }
  842|     10|    if (res != 0) {
  ------------------
  |  Branch (842:9): [True: 0, False: 10]
  ------------------
  843|      0|        return NULL;
  844|      0|    }
  845|     10|    return str;
  846|     10|}
fileutils.c:encode_locale_ex:
  791|     30|{
  792|     30|    if (current_locale) {
  ------------------
  |  Branch (792:9): [True: 0, False: 30]
  ------------------
  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|     30|    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|     30|    if (use_utf8) {
  ------------------
  |  Branch (810:9): [True: 30, False: 0]
  ------------------
  811|     30|        return _Py_EncodeUTF8Ex(text, str, error_pos, reason,
  812|     30|                                raw_malloc, errors);
  813|     30|    }
  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:
 1401|      1|{
 1402|       |#ifdef MS_WINDOWS
 1403|       |    HANDLE handle;
 1404|       |    DWORD flags;
 1405|       |
 1406|       |    handle = _Py_get_osfhandle_noraise(fd);
 1407|       |    if (handle == INVALID_HANDLE_VALUE) {
 1408|       |        if (raise)
 1409|       |            PyErr_SetFromErrno(PyExc_OSError);
 1410|       |        return -1;
 1411|       |    }
 1412|       |
 1413|       |    if (!GetHandleInformation(handle, &flags)) {
 1414|       |        if (raise)
 1415|       |            PyErr_SetFromWindowsErr(0);
 1416|       |        return -1;
 1417|       |    }
 1418|       |
 1419|       |    return (flags & HANDLE_FLAG_INHERIT);
 1420|       |#else
 1421|      1|    int flags;
 1422|       |
 1423|      1|    flags = fcntl(fd, F_GETFD, 0);
 1424|      1|    if (flags == -1) {
  ------------------
  |  Branch (1424:9): [True: 0, False: 1]
  ------------------
 1425|      0|        if (raise)
  ------------------
  |  Branch (1425:13): [True: 0, False: 0]
  ------------------
 1426|      0|            PyErr_SetFromErrno(PyExc_OSError);
 1427|      0|        return -1;
 1428|      0|    }
 1429|      1|    return !(flags & FD_CLOEXEC);
 1430|      1|#endif
 1431|      1|}
fileutils.c:set_inheritable:
 1446|     27|{
 1447|       |#ifdef MS_WINDOWS
 1448|       |    HANDLE handle;
 1449|       |    DWORD flags;
 1450|       |#else
 1451|     27|#if defined(HAVE_SYS_IOCTL_H) && defined(FIOCLEX) && defined(FIONCLEX)
 1452|     27|    static int ioctl_works = -1;
 1453|     27|    int request;
 1454|     27|    int err;
 1455|     27|#endif
 1456|     27|    int flags, new_flags;
 1457|     27|    int res;
 1458|     27|#endif
 1459|       |
 1460|       |    /* atomic_flag_works can only be used to make the file descriptor
 1461|       |       non-inheritable */
 1462|     27|    assert(!(atomic_flag_works != NULL && inheritable));
  ------------------
  |  Branch (1462:5): [True: 27, False: 0]
  |  Branch (1462:5): [True: 0, False: 27]
  ------------------
 1463|       |
 1464|     27|    if (atomic_flag_works != NULL && !inheritable) {
  ------------------
  |  Branch (1464:9): [True: 27, False: 0]
  |  Branch (1464:38): [True: 27, False: 0]
  ------------------
 1465|     27|        if (_Py_atomic_load_int_relaxed(atomic_flag_works) == -1) {
  ------------------
  |  Branch (1465:13): [True: 1, False: 26]
  ------------------
 1466|      1|            int isInheritable = get_inheritable(fd, raise);
 1467|      1|            if (isInheritable == -1)
  ------------------
  |  Branch (1467:17): [True: 0, False: 1]
  ------------------
 1468|      0|                return -1;
 1469|      1|            _Py_atomic_store_int_relaxed(atomic_flag_works, !isInheritable);
 1470|      1|        }
 1471|       |
 1472|     27|        if (_Py_atomic_load_int_relaxed(atomic_flag_works))
  ------------------
  |  Branch (1472:13): [True: 27, False: 0]
  ------------------
 1473|     27|            return 0;
 1474|     27|    }
 1475|       |
 1476|       |#ifdef MS_WINDOWS
 1477|       |    handle = _Py_get_osfhandle_noraise(fd);
 1478|       |    if (handle == INVALID_HANDLE_VALUE) {
 1479|       |        if (raise)
 1480|       |            PyErr_SetFromErrno(PyExc_OSError);
 1481|       |        return -1;
 1482|       |    }
 1483|       |
 1484|       |    if (inheritable)
 1485|       |        flags = HANDLE_FLAG_INHERIT;
 1486|       |    else
 1487|       |        flags = 0;
 1488|       |
 1489|       |    if (!SetHandleInformation(handle, HANDLE_FLAG_INHERIT, flags)) {
 1490|       |        if (raise)
 1491|       |            PyErr_SetFromWindowsErr(0);
 1492|       |        return -1;
 1493|       |    }
 1494|       |    return 0;
 1495|       |
 1496|       |#else
 1497|       |
 1498|      0|#if defined(HAVE_SYS_IOCTL_H) && defined(FIOCLEX) && defined(FIONCLEX)
 1499|      0|    if (raise != 0 && _Py_atomic_load_int_relaxed(&ioctl_works) != 0) {
  ------------------
  |  Branch (1499:9): [True: 0, False: 0]
  |  Branch (1499:23): [True: 0, False: 0]
  ------------------
 1500|       |        /* fast-path: ioctl() only requires one syscall */
 1501|       |        /* caveat: raise=0 is an indicator that we must be async-signal-safe
 1502|       |         * thus avoid using ioctl() so we skip the fast-path. */
 1503|      0|        if (inheritable)
  ------------------
  |  Branch (1503:13): [True: 0, False: 0]
  ------------------
 1504|      0|            request = FIONCLEX;
 1505|      0|        else
 1506|      0|            request = FIOCLEX;
 1507|      0|        err = ioctl(fd, request, NULL);
 1508|      0|        if (!err) {
  ------------------
  |  Branch (1508:13): [True: 0, False: 0]
  ------------------
 1509|      0|            if (_Py_atomic_load_int_relaxed(&ioctl_works) == -1) {
  ------------------
  |  Branch (1509:17): [True: 0, False: 0]
  ------------------
 1510|      0|                _Py_atomic_store_int_relaxed(&ioctl_works, 1);
 1511|      0|            }
 1512|      0|            return 0;
 1513|      0|        }
 1514|       |
 1515|      0|#ifdef O_PATH
 1516|      0|        if (errno == EBADF) {
  ------------------
  |  Branch (1516:13): [True: 0, False: 0]
  ------------------
 1517|       |            // bpo-44849: On Linux and FreeBSD, ioctl(FIOCLEX) fails with EBADF
 1518|       |            // on O_PATH file descriptors. Fall through to the fcntl()
 1519|       |            // implementation.
 1520|      0|        }
 1521|      0|        else
 1522|      0|#endif
 1523|      0|        if (errno != ENOTTY && errno != EACCES) {
  ------------------
  |  Branch (1523:13): [True: 0, False: 0]
  |  Branch (1523:32): [True: 0, False: 0]
  ------------------
 1524|      0|            if (raise)
  ------------------
  |  Branch (1524:17): [True: 0, False: 0]
  ------------------
 1525|      0|                PyErr_SetFromErrno(PyExc_OSError);
 1526|      0|            return -1;
 1527|      0|        }
 1528|      0|        else {
 1529|       |            /* Issue #22258: Here, ENOTTY means "Inappropriate ioctl for
 1530|       |               device". The ioctl is declared but not supported by the kernel.
 1531|       |               Remember that ioctl() doesn't work. It is the case on
 1532|       |               Illumos-based OS for example.
 1533|       |
 1534|       |               Issue #27057: When SELinux policy disallows ioctl it will fail
 1535|       |               with EACCES. While FIOCLEX is safe operation it may be
 1536|       |               unavailable because ioctl was denied altogether.
 1537|       |               This can be the case on Android. */
 1538|      0|            _Py_atomic_store_int_relaxed(&ioctl_works, 0);
 1539|      0|        }
 1540|       |        /* fallback to fcntl() if ioctl() does not work */
 1541|      0|    }
 1542|      0|#endif
 1543|       |
 1544|       |    /* slow-path: fcntl() requires two syscalls */
 1545|      0|    flags = fcntl(fd, F_GETFD);
 1546|      0|    if (flags < 0) {
  ------------------
  |  Branch (1546:9): [True: 0, False: 0]
  ------------------
 1547|      0|        if (raise)
  ------------------
  |  Branch (1547:13): [True: 0, False: 0]
  ------------------
 1548|      0|            PyErr_SetFromErrno(PyExc_OSError);
 1549|      0|        return -1;
 1550|      0|    }
 1551|       |
 1552|      0|    if (inheritable) {
  ------------------
  |  Branch (1552:9): [True: 0, False: 0]
  ------------------
 1553|      0|        new_flags = flags & ~FD_CLOEXEC;
 1554|      0|    }
 1555|      0|    else {
 1556|      0|        new_flags = flags | FD_CLOEXEC;
 1557|      0|    }
 1558|       |
 1559|      0|    if (new_flags == flags) {
  ------------------
  |  Branch (1559:9): [True: 0, False: 0]
  ------------------
 1560|       |        /* FD_CLOEXEC flag already set/cleared: nothing to do */
 1561|      0|        return 0;
 1562|      0|    }
 1563|       |
 1564|      0|    res = fcntl(fd, F_SETFD, new_flags);
 1565|      0|    if (res < 0) {
  ------------------
  |  Branch (1565:9): [True: 0, False: 0]
  ------------------
 1566|      0|        if (raise)
  ------------------
  |  Branch (1566:13): [True: 0, False: 0]
  ------------------
 1567|      0|            PyErr_SetFromErrno(PyExc_OSError);
 1568|      0|        return -1;
 1569|      0|    }
 1570|      0|    return 0;
 1571|      0|#endif
 1572|      0|}
fileutils.c:_Py_write_impl:
 1924|   355k|{
 1925|   355k|    Py_ssize_t n;
 1926|   355k|    int err;
 1927|   355k|    int async_err = 0;
 1928|       |
 1929|   355k|    _Py_BEGIN_SUPPRESS_IPH
 1930|       |#ifdef MS_WINDOWS
 1931|       |    if (count > 32767) {
 1932|       |        /* Issue #11395: the Windows console returns an error (12: not
 1933|       |           enough space error) on writing into stdout if stdout mode is
 1934|       |           binary and the length is greater than 66,000 bytes (or less,
 1935|       |           depending on heap usage). */
 1936|       |        if (gil_held) {
 1937|       |            Py_BEGIN_ALLOW_THREADS
 1938|       |            if (isatty(fd)) {
 1939|       |                count = 32767;
 1940|       |            }
 1941|       |            Py_END_ALLOW_THREADS
 1942|       |        } else {
 1943|       |            if (isatty(fd)) {
 1944|       |                count = 32767;
 1945|       |            }
 1946|       |        }
 1947|       |    }
 1948|       |
 1949|       |#endif
 1950|   355k|    if (count > _PY_WRITE_MAX) {
  ------------------
  |  |   60|   355k|#   define _PY_WRITE_MAX PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|   355k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
  |  Branch (1950:9): [True: 0, False: 355k]
  ------------------
 1951|      0|        count = _PY_WRITE_MAX;
  ------------------
  |  |   60|      0|#   define _PY_WRITE_MAX PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
 1952|      0|    }
 1953|       |
 1954|   355k|    if (gil_held) {
  ------------------
  |  Branch (1954:9): [True: 355k, False: 0]
  ------------------
 1955|   355k|        do {
 1956|   355k|            Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|   355k|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|   355k|                        PyThreadState *_save; \
  |  |  121|   355k|                        _save = PyEval_SaveThread();
  ------------------
 1957|   355k|            errno = 0;
 1958|       |#ifdef MS_WINDOWS
 1959|       |            // write() on a non-blocking pipe fails with ENOSPC on Windows if
 1960|       |            // the pipe lacks available space for the entire buffer.
 1961|       |            int c = (int)count;
 1962|       |            do {
 1963|       |                _doserrno = 0;
 1964|       |                n = write(fd, buf, c);
 1965|       |                if (n >= 0 || errno != ENOSPC || _doserrno != 0) {
 1966|       |                    break;
 1967|       |                }
 1968|       |                errno = EAGAIN;
 1969|       |                c /= 2;
 1970|       |            } while (c > 0);
 1971|       |#else
 1972|   355k|            n = write(fd, buf, count);
 1973|   355k|#endif
 1974|       |            /* save/restore errno because PyErr_CheckSignals()
 1975|       |             * and PyErr_SetFromErrno() can modify it */
 1976|   355k|            err = errno;
 1977|   355k|            Py_END_ALLOW_THREADS
  ------------------
  |  |  124|   355k|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|   355k|                 }
  ------------------
 1978|   355k|        } while (n < 0 && err == EINTR &&
  ------------------
  |  Branch (1978:18): [True: 0, False: 355k]
  |  Branch (1978:27): [True: 0, False: 0]
  ------------------
 1979|      0|                !(async_err = PyErr_CheckSignals()));
  ------------------
  |  Branch (1979:17): [True: 0, False: 0]
  ------------------
 1980|   355k|    }
 1981|      0|    else {
 1982|      0|        do {
 1983|      0|            errno = 0;
 1984|       |#ifdef MS_WINDOWS
 1985|       |            // write() on a non-blocking pipe fails with ENOSPC on Windows if
 1986|       |            // the pipe lacks available space for the entire buffer.
 1987|       |            int c = (int)count;
 1988|       |            do {
 1989|       |                _doserrno = 0;
 1990|       |                n = write(fd, buf, c);
 1991|       |                if (n >= 0 || errno != ENOSPC || _doserrno != 0) {
 1992|       |                    break;
 1993|       |                }
 1994|       |                errno = EAGAIN;
 1995|       |                c /= 2;
 1996|       |            } while (c > 0);
 1997|       |#else
 1998|      0|            n = write(fd, buf, count);
 1999|      0|#endif
 2000|      0|            err = errno;
 2001|      0|        } while (n < 0 && err == EINTR);
  ------------------
  |  Branch (2001:18): [True: 0, False: 0]
  |  Branch (2001:27): [True: 0, False: 0]
  ------------------
 2002|      0|    }
 2003|   355k|    _Py_END_SUPPRESS_IPH
 2004|       |
 2005|   355k|    if (async_err) {
  ------------------
  |  Branch (2005:9): [True: 0, False: 355k]
  ------------------
 2006|       |        /* write() was interrupted by a signal (failed with EINTR)
 2007|       |           and the Python signal handler raised an exception (if gil_held is
 2008|       |           nonzero). */
 2009|      0|        errno = err;
 2010|      0|        assert(errno == EINTR && (!gil_held || PyErr_Occurred()));
  ------------------
  |  Branch (2010:9): [True: 0, False: 0]
  |  Branch (2010:9): [True: 0, False: 0]
  |  Branch (2010:9): [True: 0, False: 0]
  ------------------
 2011|      0|        return -1;
 2012|      0|    }
 2013|   355k|    if (n < 0) {
  ------------------
  |  Branch (2013:9): [True: 0, False: 355k]
  ------------------
 2014|      0|        if (gil_held)
  ------------------
  |  Branch (2014:13): [True: 0, False: 0]
  ------------------
 2015|      0|            PyErr_SetFromErrno(PyExc_OSError);
 2016|      0|        errno = err;
 2017|      0|        return -1;
 2018|      0|    }
 2019|       |
 2020|   355k|    return n;
 2021|   355k|}
fileutils.c:join_relfile:
 2403|     24|{
 2404|       |#ifdef MS_WINDOWS
 2405|       |    if (FAILED(PathCchCombineEx(buffer, bufsize, dirname, relfile,
 2406|       |        PATHCCH_ALLOW_LONG_PATHS))) {
 2407|       |        return -1;
 2408|       |    }
 2409|       |#else
 2410|     24|    assert(!_Py_isabs(relfile));
  ------------------
  |  Branch (2410:5): [True: 24, False: 0]
  ------------------
 2411|     24|    size_t dirlen = wcslen(dirname);
 2412|     24|    size_t rellen = wcslen(relfile);
 2413|     24|    size_t maxlen = bufsize - 1;
 2414|     24|    if (maxlen > MAXPATHLEN || dirlen >= maxlen || rellen >= maxlen - dirlen) {
  ------------------
  |  |   43|     48|#    define MAXPATHLEN PATH_MAX
  ------------------
  |  Branch (2414:9): [True: 0, False: 24]
  |  Branch (2414:32): [True: 0, False: 24]
  |  Branch (2414:52): [True: 0, False: 24]
  ------------------
 2415|      0|        return -1;
 2416|      0|    }
 2417|     24|    if (dirlen == 0) {
  ------------------
  |  Branch (2417:9): [True: 0, False: 24]
  ------------------
 2418|       |        // We do not add a leading separator.
 2419|      0|        wcscpy(buffer, relfile);
 2420|      0|    }
 2421|     24|    else {
 2422|     24|        if (dirname != buffer) {
  ------------------
  |  Branch (2422:13): [True: 0, False: 24]
  ------------------
 2423|      0|            wcscpy(buffer, dirname);
 2424|      0|        }
 2425|     24|        size_t relstart = dirlen;
 2426|     24|        if (dirlen > 1 && dirname[dirlen - 1] != SEP) {
  ------------------
  |  |   29|     24|#  define SEP L'/'
  ------------------
  |  Branch (2426:13): [True: 24, False: 0]
  |  Branch (2426:27): [True: 24, False: 0]
  ------------------
 2427|     24|            buffer[dirlen] = SEP;
  ------------------
  |  |   29|     24|#  define SEP L'/'
  ------------------
 2428|     24|            relstart += 1;
 2429|     24|        }
 2430|     24|        wcscpy(&buffer[relstart], relfile);
 2431|     24|    }
 2432|     24|#endif
 2433|     24|    return 0;
 2434|     24|}

_PyCfgBuilder_New:
  438|      6|{
  439|      6|    cfg_builder *g = PyMem_Malloc(sizeof(cfg_builder));
  440|      6|    if (g == NULL) {
  ------------------
  |  Branch (440:9): [True: 0, False: 6]
  ------------------
  441|      0|        PyErr_NoMemory();
  442|      0|        return NULL;
  443|      0|    }
  444|      6|    memset(g, 0, sizeof(cfg_builder));
  445|      6|    if (init_cfg_builder(g) < 0) {
  ------------------
  |  Branch (445:9): [True: 0, False: 6]
  ------------------
  446|      0|        PyMem_Free(g);
  447|      0|        return NULL;
  448|      0|    }
  449|      6|    return g;
  450|      6|}
_PyCfgBuilder_Free:
  454|      6|{
  455|      6|    if (g == NULL) {
  ------------------
  |  Branch (455:9): [True: 0, False: 6]
  ------------------
  456|      0|        return;
  457|      0|    }
  458|      6|    assert(cfg_builder_check(g));
  ------------------
  |  Branch (458:5): [True: 6, False: 0]
  ------------------
  459|      6|    basicblock *b = g->g_block_list;
  460|     15|    while (b != NULL) {
  ------------------
  |  Branch (460:12): [True: 9, False: 6]
  ------------------
  461|      9|        if (b->b_instr) {
  ------------------
  |  Branch (461:13): [True: 9, False: 0]
  ------------------
  462|      9|            PyMem_Free((void *)b->b_instr);
  463|      9|        }
  464|      9|        basicblock *next = b->b_list;
  465|      9|        PyMem_Free((void *)b);
  466|      9|        b = next;
  467|      9|    }
  468|      6|    PyMem_Free(g);
  469|      6|}
_PyCfgBuilder_CheckSize:
  473|      6|{
  474|      6|    int nblocks = 0;
  475|     15|    for (basicblock *b = g->g_block_list; b != NULL; b = b->b_list) {
  ------------------
  |  Branch (475:43): [True: 9, False: 6]
  ------------------
  476|      9|        nblocks++;
  477|      9|    }
  478|      6|    if ((size_t)nblocks > SIZE_MAX / sizeof(basicblock *)) {
  ------------------
  |  Branch (478:9): [True: 0, False: 6]
  ------------------
  479|      0|        PyErr_NoMemory();
  480|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  481|      0|    }
  482|      6|    return SUCCESS;
  ------------------
  |  |   21|      6|#define SUCCESS 0
  ------------------
  483|      6|}
_PyCfgBuilder_Addop:
  494|     51|{
  495|     51|    RETURN_IF_ERROR(cfg_builder_maybe_start_new_block(g));
  ------------------
  |  |   25|     51|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 51]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  496|     51|    return basicblock_addop(g->g_curblock, opcode, oparg, loc);
  497|     51|}
_PyCfg_OptimizeCodeUnit:
 3762|      6|{
 3763|      6|    assert(cfg_builder_check(g));
  ------------------
  |  Branch (3763:5): [True: 6, False: 0]
  ------------------
 3764|      6|    assert(g->g_entryblock->b_iused > 0);
  ------------------
  |  Branch (3764:5): [True: 6, False: 0]
  ------------------
 3765|       |    /** Preprocessing **/
 3766|       |    /* Map labels to targets and mark exception handlers */
 3767|      6|    RETURN_IF_ERROR(translate_jump_labels_to_targets(g->g_entryblock));
  ------------------
  |  |   25|      6|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 6]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3768|      6|    RETURN_IF_ERROR(mark_except_handlers(g->g_entryblock));
  ------------------
  |  |   25|      6|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 6]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3769|      6|    RETURN_IF_ERROR(label_exception_targets(g->g_entryblock));
  ------------------
  |  |   25|      6|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 6]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3770|       |
 3771|       |    /** Optimization **/
 3772|       |
 3773|      6|    _Py_hashtable_t *consts_index = _Py_hashtable_new(
 3774|      6|        _Py_hashtable_hash_ptr, _Py_hashtable_compare_direct);
 3775|      6|    if (consts_index == NULL) {
  ------------------
  |  Branch (3775:9): [True: 0, False: 6]
  ------------------
 3776|      0|        PyErr_NoMemory();
 3777|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3778|      0|    }
 3779|       |
 3780|     12|    for (Py_ssize_t i = 0; i < PyList_GET_SIZE(consts); i++) {
  ------------------
  |  |   38|     12|#define PyList_GET_SIZE(op) PyList_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 (3780:28): [True: 6, False: 6]
  ------------------
 3781|      6|        PyObject *item = PyList_GET_ITEM(consts, 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3781:26): [True: 6, False: 0]
  ------------------
 3782|      6|        if (_Py_hashtable_get_entry(consts_index, (void *)item) != NULL) {
  ------------------
  |  Branch (3782:13): [True: 0, False: 6]
  ------------------
 3783|      0|            continue;
 3784|      0|        }
 3785|      6|        if (_Py_hashtable_set(consts_index, (void *)item,
  ------------------
  |  Branch (3785:13): [True: 0, False: 6]
  ------------------
 3786|      6|                              (void *)(uintptr_t)i) < 0) {
 3787|      0|            _Py_hashtable_destroy(consts_index);
 3788|      0|            PyErr_NoMemory();
 3789|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3790|      0|        }
 3791|      6|    }
 3792|       |
 3793|      6|    int ret = optimize_cfg(g, consts, const_cache, consts_index, firstlineno);
 3794|       |
 3795|      6|    _Py_hashtable_destroy(consts_index);
 3796|       |
 3797|      6|    RETURN_IF_ERROR(ret);
  ------------------
  |  |   25|      6|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 6]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3798|       |
 3799|      6|    RETURN_IF_ERROR(remove_unused_consts(g->g_entryblock, consts));
  ------------------
  |  |   25|      6|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 6]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3800|      6|    RETURN_IF_ERROR(
  ------------------
  |  |   25|      6|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 6]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3801|      6|        add_checks_for_loads_of_uninitialized_variables(
 3802|      6|            g->g_entryblock, nlocals, nparams));
 3803|      6|    RETURN_IF_ERROR(insert_superinstructions(g));
  ------------------
  |  |   25|      6|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 6]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3804|       |
 3805|      6|    RETURN_IF_ERROR(push_cold_blocks_to_end(g));
  ------------------
  |  |   25|      6|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 6]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3806|      6|    RETURN_IF_ERROR(resolve_line_numbers(g, firstlineno));
  ------------------
  |  |   25|      6|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 6]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3807|       |    // temporarily remove assert. See https://github.com/python/cpython/issues/125845
 3808|       |    // assert(all_exits_have_lineno(g->g_entryblock));
 3809|      6|    return SUCCESS;
  ------------------
  |  |   21|      6|#define SUCCESS 0
  ------------------
 3810|      6|}
_PyCfg_FromInstructionSequence:
 4000|      6|{
 4001|      6|    if (_PyInstructionSequence_ApplyLabelMap(seq) < 0) {
  ------------------
  |  Branch (4001:9): [True: 0, False: 6]
  ------------------
 4002|      0|        return NULL;
 4003|      0|    }
 4004|      6|    cfg_builder *g = _PyCfgBuilder_New();
 4005|      6|    if (g == NULL) {
  ------------------
  |  Branch (4005:9): [True: 0, False: 6]
  ------------------
 4006|      0|        return NULL;
 4007|      0|    }
 4008|     60|    for (int i = 0; i < seq->s_used; i++) {
  ------------------
  |  Branch (4008:21): [True: 54, False: 6]
  ------------------
 4009|     54|        seq->s_instrs[i].i_target = 0;
 4010|     54|    }
 4011|     60|    for (int i = 0; i < seq->s_used; i++) {
  ------------------
  |  Branch (4011:21): [True: 54, False: 6]
  ------------------
 4012|     54|        _PyInstruction *instr = &seq->s_instrs[i];
 4013|     54|        if (HAS_TARGET(instr->i_opcode)) {
  ------------------
  |  |   23|     54|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|    108|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|     54|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 0, False: 54]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|     54|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  252|    108|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 0, False: 54]
  |  |  |  |  ------------------
  |  |  |  |   19|     54|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    108|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 0, False: 54]
  |  |  |  |  ------------------
  |  |  |  |   20|     54|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     54|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 0, False: 54]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4014|      0|            assert(instr->i_oparg >= 0 && instr->i_oparg < seq->s_used);
  ------------------
  |  Branch (4014:13): [True: 0, False: 0]
  |  Branch (4014:13): [True: 0, False: 0]
  ------------------
 4015|      0|            seq->s_instrs[instr->i_oparg].i_target = 1;
 4016|      0|        }
 4017|     54|    }
 4018|      6|    int offset = 0;
 4019|     60|    for (int i = 0; i < seq->s_used; i++) {
  ------------------
  |  Branch (4019:21): [True: 54, False: 6]
  ------------------
 4020|     54|        _PyInstruction *instr = &seq->s_instrs[i];
 4021|     54|        if (instr->i_opcode == ANNOTATIONS_PLACEHOLDER) {
  ------------------
  |  |  244|     54|#define ANNOTATIONS_PLACEHOLDER                256
  ------------------
  |  Branch (4021:13): [True: 3, False: 51]
  ------------------
 4022|      3|            if (seq->s_annotations_code != NULL) {
  ------------------
  |  Branch (4022:17): [True: 0, False: 3]
  ------------------
 4023|      0|                assert(seq->s_annotations_code->s_labelmap_size == 0
  ------------------
  |  Branch (4023:17): [True: 0, False: 0]
  |  Branch (4023:17): [True: 0, False: 0]
  ------------------
 4024|      0|                    && seq->s_annotations_code->s_nested == NULL);
 4025|      0|                for (int j = 0; j < seq->s_annotations_code->s_used; j++) {
  ------------------
  |  Branch (4025:33): [True: 0, False: 0]
  ------------------
 4026|      0|                    _PyInstruction *ann_instr = &seq->s_annotations_code->s_instrs[j];
 4027|      0|                    assert(!HAS_TARGET(ann_instr->i_opcode));
  ------------------
  |  Branch (4027:21): [True: 0, False: 0]
  |  Branch (4027:21): [True: 0, False: 0]
  |  Branch (4027:21): [True: 0, False: 0]
  |  Branch (4027:21): [True: 0, False: 0]
  ------------------
 4028|      0|                    if (_PyCfgBuilder_Addop(g, ann_instr->i_opcode, ann_instr->i_oparg, ann_instr->i_loc) < 0) {
  ------------------
  |  Branch (4028:25): [True: 0, False: 0]
  ------------------
 4029|      0|                        goto error;
 4030|      0|                    }
 4031|      0|                }
 4032|      0|                offset += seq->s_annotations_code->s_used - 1;
 4033|      0|            }
 4034|      3|            else {
 4035|      3|                offset -= 1;
 4036|      3|            }
 4037|      3|            continue;
 4038|      3|        }
 4039|     51|        if (instr->i_target) {
  ------------------
  |  Branch (4039:13): [True: 0, False: 51]
  ------------------
 4040|      0|            jump_target_label lbl_ = {i + offset};
 4041|      0|            if (_PyCfgBuilder_UseLabel(g, lbl_) < 0) {
  ------------------
  |  Branch (4041:17): [True: 0, False: 0]
  ------------------
 4042|      0|                goto error;
 4043|      0|            }
 4044|      0|        }
 4045|     51|        int opcode = instr->i_opcode;
 4046|     51|        int oparg = instr->i_oparg;
 4047|     51|        if (HAS_TARGET(opcode)) {
  ------------------
  |  |   23|     51|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|    102|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|     51|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 0, False: 51]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|     51|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  252|    102|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 0, False: 51]
  |  |  |  |  ------------------
  |  |  |  |   19|     51|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    102|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 0, False: 51]
  |  |  |  |  ------------------
  |  |  |  |   20|     51|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     51|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 0, False: 51]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4048|      0|            oparg += offset;
 4049|      0|        }
 4050|     51|        if (_PyCfgBuilder_Addop(g, opcode, oparg, instr->i_loc) < 0) {
  ------------------
  |  Branch (4050:13): [True: 0, False: 51]
  ------------------
 4051|      0|            goto error;
 4052|      0|        }
 4053|     51|    }
 4054|      6|    if (_PyCfgBuilder_CheckSize(g) < 0) {
  ------------------
  |  Branch (4054:9): [True: 0, False: 6]
  ------------------
 4055|      0|        goto error;
 4056|      0|    }
 4057|      6|    return g;
 4058|      0|error:
 4059|      0|    _PyCfgBuilder_Free(g);
 4060|       |    return NULL;
 4061|      6|}
_PyCfg_ToInstructionSequence:
 4065|      6|{
 4066|      6|    int lbl = 0;
 4067|     15|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (4067:43): [True: 9, False: 6]
  ------------------
 4068|      9|        b->b_label = (jump_target_label){lbl};
 4069|      9|        lbl += 1;
 4070|      9|    }
 4071|     15|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (4071:43): [True: 9, False: 6]
  ------------------
 4072|      9|        RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(seq, b->b_label.id));
  ------------------
  |  |   25|      9|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 9]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 4073|     44|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (4073:25): [True: 35, False: 9]
  ------------------
 4074|     35|            cfg_instr *instr = &b->b_instr[i];
 4075|     35|            if (HAS_TARGET(instr->i_opcode)) {
  ------------------
  |  |   23|     35|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|     70|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|     35|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 0, False: 35]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|     35|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  252|     70|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 0, False: 35]
  |  |  |  |  ------------------
  |  |  |  |   19|     35|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     70|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 0, False: 35]
  |  |  |  |  ------------------
  |  |  |  |   20|     35|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     35|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 0, False: 35]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4076|       |                /* Set oparg to the label id (it will later be mapped to an offset) */
 4077|      0|                instr->i_oparg = instr->i_target->b_label.id;
 4078|      0|            }
 4079|     35|            RETURN_IF_ERROR(
  ------------------
  |  |   25|     35|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 35]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 4080|     35|                _PyInstructionSequence_Addop(
 4081|     35|                    seq, instr->i_opcode, instr->i_oparg, instr->i_loc));
 4082|       |
 4083|     35|            _PyExceptHandlerInfo *hi = &seq->s_instrs[seq->s_used-1].i_except_handler_info;
 4084|     35|            if (instr->i_except != NULL) {
  ------------------
  |  Branch (4084:17): [True: 0, False: 35]
  ------------------
 4085|      0|                hi->h_label = instr->i_except->b_label.id;
 4086|      0|                hi->h_startdepth = instr->i_except->b_startdepth;
 4087|      0|                hi->h_preserve_lasti = instr->i_except->b_preserve_lasti;
 4088|      0|            }
 4089|     35|            else {
 4090|     35|                hi->h_label = -1;
 4091|     35|            }
 4092|     35|        }
 4093|      9|    }
 4094|      6|    if (_PyInstructionSequence_ApplyLabelMap(seq) < 0) {
  ------------------
  |  Branch (4094:9): [True: 0, False: 6]
  ------------------
 4095|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4096|      0|    }
 4097|      6|    return SUCCESS;
  ------------------
  |  |   21|      6|#define SUCCESS 0
  ------------------
 4098|      6|}
_PyCfg_OptimizedCfgToInstructionSequence:
 4106|      6|{
 4107|      6|    RETURN_IF_ERROR(convert_pseudo_conditional_jumps(g));
  ------------------
  |  |   25|      6|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 6]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 4108|       |
 4109|      6|    *stackdepth = calculate_stackdepth(g);
 4110|      6|    if (*stackdepth < 0) {
  ------------------
  |  Branch (4110:9): [True: 0, False: 6]
  ------------------
 4111|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4112|      0|    }
 4113|       |
 4114|      6|    *nlocalsplus = prepare_localsplus(umd, g);
 4115|      6|    if (*nlocalsplus < 0) {
  ------------------
  |  Branch (4115:9): [True: 0, False: 6]
  ------------------
 4116|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4117|      0|    }
 4118|       |
 4119|      6|    RETURN_IF_ERROR(convert_pseudo_ops(g));
  ------------------
  |  |   25|      6|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 6]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 4120|       |
 4121|       |    /* Order of basic blocks must have been determined by now */
 4122|       |
 4123|      6|    RETURN_IF_ERROR(normalize_jumps(g));
  ------------------
  |  |   25|      6|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 6]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 4124|      6|    assert(no_redundant_jumps(g));
  ------------------
  |  Branch (4124:5): [True: 6, False: 0]
  ------------------
 4125|       |
 4126|       |    /* Can't modify the bytecode after inserting instructions that produce
 4127|       |     * borrowed references.
 4128|       |     */
 4129|      6|    RETURN_IF_ERROR(optimize_load_fast(g));
  ------------------
  |  |   25|      6|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 6]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 4130|       |
 4131|       |    /* Can't modify the bytecode after computing jump offsets. */
 4132|      6|    if (_PyCfg_ToInstructionSequence(g, seq) < 0) {
  ------------------
  |  Branch (4132:9): [True: 0, False: 6]
  ------------------
 4133|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4134|      0|    }
 4135|       |
 4136|      6|    return SUCCESS;
  ------------------
  |  |   21|      6|#define SUCCESS 0
  ------------------
 4137|      6|}
flowgraph.c:init_cfg_builder:
  425|      6|{
  426|      6|    g->g_block_list = NULL;
  427|      6|    basicblock *block = cfg_builder_new_block(g);
  428|      6|    if (block == NULL) {
  ------------------
  |  Branch (428:9): [True: 0, False: 6]
  ------------------
  429|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  430|      0|    }
  431|      6|    g->g_curblock = g->g_entryblock = block;
  432|      6|    g->g_current_label = NO_LABEL;
  ------------------
  |  |   57|      6|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
  433|      6|    return SUCCESS;
  ------------------
  |  |   21|      6|#define SUCCESS 0
  ------------------
  434|      6|}
flowgraph.c:cfg_builder_new_block:
  177|      9|{
  178|      9|    basicblock *b = (basicblock *)PyMem_Calloc(1, sizeof(basicblock));
  179|      9|    if (b == NULL) {
  ------------------
  |  Branch (179:9): [True: 0, False: 9]
  ------------------
  180|      0|        PyErr_NoMemory();
  181|      0|        return NULL;
  182|      0|    }
  183|       |    /* Extend the singly linked list of blocks with new block. */
  184|      9|    b->b_list = g->g_block_list;
  185|      9|    g->g_block_list = b;
  186|      9|    b->b_label = NO_LABEL;
  ------------------
  |  |   57|      9|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
  187|      9|    return b;
  188|      9|}
flowgraph.c:cfg_builder_check:
  406|     12|{
  407|     30|    for (basicblock *block = g->g_block_list; block != NULL; block = block->b_list) {
  ------------------
  |  Branch (407:47): [True: 18, False: 12]
  ------------------
  408|     18|        assert(!_PyMem_IsPtrFreed(block));
  ------------------
  |  Branch (408:9): [True: 18, False: 0]
  ------------------
  409|     18|        if (block->b_instr != NULL) {
  ------------------
  |  Branch (409:13): [True: 18, False: 0]
  ------------------
  410|     18|            assert(block->b_ialloc > 0);
  ------------------
  |  Branch (410:13): [True: 18, False: 0]
  ------------------
  411|     18|            assert(block->b_iused >= 0);
  ------------------
  |  Branch (411:13): [True: 18, False: 0]
  ------------------
  412|     18|            assert(block->b_ialloc >= block->b_iused);
  ------------------
  |  Branch (412:13): [True: 18, False: 0]
  ------------------
  413|     18|        }
  414|      0|        else {
  415|      0|            assert (block->b_iused == 0);
  ------------------
  |  Branch (415:13): [True: 0, False: 0]
  ------------------
  416|      0|            assert (block->b_ialloc == 0);
  ------------------
  |  Branch (416:13): [True: 0, False: 0]
  ------------------
  417|      0|        }
  418|     18|    }
  419|     12|    return true;
  420|     12|}
flowgraph.c:cfg_builder_maybe_start_new_block:
  390|     51|{
  391|     51|    if (cfg_builder_current_block_is_terminated(g)) {
  ------------------
  |  Branch (391:9): [True: 3, False: 48]
  ------------------
  392|      3|        basicblock *b = cfg_builder_new_block(g);
  393|      3|        if (b == NULL) {
  ------------------
  |  Branch (393:13): [True: 0, False: 3]
  ------------------
  394|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  395|      0|        }
  396|      3|        b->b_label = g->g_current_label;
  397|      3|        g->g_current_label = NO_LABEL;
  ------------------
  |  |   57|      3|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
  398|      3|        cfg_builder_use_next_block(g, b);
  399|      3|    }
  400|     51|    return SUCCESS;
  ------------------
  |  |   21|     51|#define SUCCESS 0
  ------------------
  401|     51|}
flowgraph.c:cfg_builder_current_block_is_terminated:
  370|     51|{
  371|     51|    cfg_instr *last = basicblock_last_instr(g->g_curblock);
  372|     51|    if (last && IS_TERMINATOR_OPCODE(last->i_opcode)) {
  ------------------
  |  |   27|     45|        (OPCODE_HAS_JUMP(opcode) || IS_SCOPE_EXIT_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|     90|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|     45|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 0, False: 45]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_SCOPE_EXIT_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   53|     45|        ((opcode) == RETURN_VALUE || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|     90|#define RETURN_VALUE                            33
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (53:10): [True: 3, False: 42]
  |  |  |  |  ------------------
  |  |  |  |   54|     45|         (opcode) == RAISE_VARARGS || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  113|     87|#define RAISE_VARARGS                          100
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (54:10): [True: 0, False: 42]
  |  |  |  |  ------------------
  |  |  |  |   55|     45|         (opcode) == RERAISE)
  |  |  |  |  ------------------
  |  |  |  |  |  |  114|     42|#define RERAISE                                101
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:10): [True: 0, False: 42]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (372:9): [True: 45, False: 6]
  ------------------
  373|      3|        return true;
  374|      3|    }
  375|     48|    if (IS_LABEL(g->g_current_label)) {
  ------------------
  |  |   96|     48|#define IS_LABEL(L) (!SAME_LABEL((L), (NO_LABEL)))
  |  |  ------------------
  |  |  |  |   95|     48|#define SAME_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  ------------------
  |  |  |  Branch (96:21): [True: 0, False: 48]
  |  |  ------------------
  ------------------
  376|      0|        if (last || IS_LABEL(g->g_curblock->b_label)) {
  ------------------
  |  |   96|      0|#define IS_LABEL(L) (!SAME_LABEL((L), (NO_LABEL)))
  |  |  ------------------
  |  |  |  |   95|      0|#define SAME_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  ------------------
  |  |  |  Branch (96:21): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (376:13): [True: 0, False: 0]
  ------------------
  377|      0|            return true;
  378|      0|        }
  379|      0|        else {
  380|       |            /* current block is empty, label it */
  381|      0|            g->g_curblock->b_label = g->g_current_label;
  382|      0|            g->g_current_label = NO_LABEL;
  ------------------
  |  |   57|      0|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
  383|      0|        }
  384|      0|    }
  385|     48|    return false;
  386|     48|}
flowgraph.c:basicblock_last_instr:
  162|    210|basicblock_last_instr(const basicblock *b) {
  163|    210|    assert(b->b_iused >= 0);
  ------------------
  |  Branch (163:5): [True: 210, False: 0]
  ------------------
  164|    210|    if (b->b_iused > 0) {
  ------------------
  |  Branch (164:9): [True: 165, False: 45]
  ------------------
  165|    165|        assert(b->b_instr != NULL);
  ------------------
  |  Branch (165:9): [True: 165, False: 0]
  ------------------
  166|    165|        return &b->b_instr[b->b_iused - 1];
  167|    165|    }
  168|     45|    return NULL;
  169|    210|}
flowgraph.c:cfg_builder_use_next_block:
  345|      3|{
  346|      3|    assert(block != NULL);
  ------------------
  |  Branch (346:5): [True: 3, False: 0]
  ------------------
  347|      3|    g->g_curblock->b_next = block;
  348|      3|    g->g_curblock = block;
  349|      3|    return block;
  350|      3|}
flowgraph.c:basicblock_addop:
  192|     51|{
  193|     51|    assert(IS_WITHIN_OPCODE_RANGE(opcode));
  ------------------
  |  Branch (193:5): [True: 51, False: 0]
  |  Branch (193:5): [True: 51, False: 0]
  |  Branch (193:5): [True: 0, False: 0]
  |  Branch (193:5): [True: 0, False: 0]
  |  Branch (193:5): [True: 0, False: 0]
  |  Branch (193:5): [True: 0, False: 0]
  |  Branch (193:5): [True: 0, False: 0]
  |  Branch (193:5): [True: 0, False: 0]
  |  Branch (193:5): [True: 0, False: 0]
  |  Branch (193:5): [True: 0, False: 0]
  |  Branch (193:5): [True: 0, False: 0]
  |  Branch (193:5): [True: 0, False: 0]
  |  Branch (193:5): [True: 0, False: 0]
  |  Branch (193:5): [Folded, False: 0]
  ------------------
  194|     51|    assert(!IS_ASSEMBLER_OPCODE(opcode));
  ------------------
  |  Branch (194:5): [True: 0, False: 51]
  |  Branch (194:5): [True: 0, False: 51]
  |  Branch (194:5): [True: 0, False: 51]
  ------------------
  195|     51|    assert(OPCODE_HAS_ARG(opcode) || HAS_TARGET(opcode) || oparg == 0);
  ------------------
  |  Branch (195:5): [True: 0, False: 15]
  |  Branch (195:5): [True: 0, False: 15]
  |  Branch (195:5): [True: 0, False: 15]
  |  Branch (195:5): [True: 0, False: 15]
  |  Branch (195:5): [True: 36, False: 15]
  |  Branch (195:5): [True: 15, False: 0]
  ------------------
  196|     51|    assert(0 <= oparg && oparg < (1 << 30));
  ------------------
  |  Branch (196:5): [True: 51, False: 0]
  |  Branch (196:5): [True: 51, False: 0]
  ------------------
  197|       |
  198|     51|    int off = basicblock_next_instr(b);
  199|     51|    if (off < 0) {
  ------------------
  |  Branch (199:9): [True: 0, False: 51]
  ------------------
  200|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  201|      0|    }
  202|     51|    cfg_instr *i = &b->b_instr[off];
  203|     51|    i->i_opcode = opcode;
  204|     51|    i->i_oparg = oparg;
  205|     51|    i->i_loc = loc;
  206|       |    // memory is already zero initialized
  207|     51|    assert(i->i_target == NULL);
  ------------------
  |  Branch (207:5): [True: 51, False: 0]
  ------------------
  208|     51|    assert(i->i_except == NULL);
  ------------------
  |  Branch (208:5): [True: 51, False: 0]
  ------------------
  209|       |
  210|     51|    return SUCCESS;
  ------------------
  |  |   21|     51|#define SUCCESS 0
  ------------------
  211|     51|}
flowgraph.c:basicblock_next_instr:
  146|     51|{
  147|     51|    assert(b != NULL);
  ------------------
  |  Branch (147:5): [True: 51, False: 0]
  ------------------
  148|     51|    _Py_c_array_t array = {
  149|     51|        .array = (void*)b->b_instr,
  150|     51|        .allocated_entries = b->b_ialloc,
  151|     51|        .item_size = sizeof(cfg_instr),
  152|     51|        .initial_num_entries = DEFAULT_BLOCK_SIZE,
  ------------------
  |  |   29|     51|#define DEFAULT_BLOCK_SIZE 16
  ------------------
  153|     51|    };
  154|       |
  155|     51|    RETURN_IF_ERROR(_Py_CArray_EnsureCapacity(&array, b->b_iused + 1));
  ------------------
  |  |   25|     51|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 51]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  156|     51|    b->b_instr = array.array;
  157|     51|    b->b_ialloc = array.allocated_entries;
  158|     51|    return b->b_iused++;
  159|     51|}
flowgraph.c:translate_jump_labels_to_targets:
  647|      6|{
  648|      6|    int max_label = get_max_label(entryblock);
  649|      6|    size_t mapsize = sizeof(basicblock *) * (max_label + 1);
  650|      6|    basicblock **label2block = (basicblock **)PyMem_Malloc(mapsize);
  651|      6|    if (!label2block) {
  ------------------
  |  Branch (651:9): [True: 0, False: 6]
  ------------------
  652|      0|        PyErr_NoMemory();
  653|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  654|      0|    }
  655|      6|    memset(label2block, 0, mapsize);
  656|     15|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (656:38): [True: 9, False: 6]
  ------------------
  657|      9|        if (b->b_label.id >= 0) {
  ------------------
  |  Branch (657:13): [True: 0, False: 9]
  ------------------
  658|      0|            label2block[b->b_label.id] = b;
  659|      0|        }
  660|      9|    }
  661|     15|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (661:38): [True: 9, False: 6]
  ------------------
  662|     60|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (662:25): [True: 51, False: 9]
  ------------------
  663|     51|            cfg_instr *instr = &b->b_instr[i];
  664|     51|            assert(instr->i_target == NULL);
  ------------------
  |  Branch (664:13): [True: 51, False: 0]
  ------------------
  665|     51|            if (HAS_TARGET(instr->i_opcode)) {
  ------------------
  |  |   23|     51|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|    102|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|     51|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 0, False: 51]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|     51|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  252|    102|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 0, False: 51]
  |  |  |  |  ------------------
  |  |  |  |   19|     51|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    102|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 0, False: 51]
  |  |  |  |  ------------------
  |  |  |  |   20|     51|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     51|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 0, False: 51]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  666|      0|                int lbl = instr->i_oparg;
  667|      0|                assert(lbl >= 0 && lbl <= max_label);
  ------------------
  |  Branch (667:17): [True: 0, False: 0]
  |  Branch (667:17): [True: 0, False: 0]
  ------------------
  668|      0|                instr->i_target = label2block[lbl];
  669|      0|                assert(instr->i_target != NULL);
  ------------------
  |  Branch (669:17): [True: 0, False: 0]
  ------------------
  670|      0|                assert(instr->i_target->b_label.id == lbl);
  ------------------
  |  Branch (670:17): [True: 0, False: 0]
  ------------------
  671|      0|            }
  672|     51|        }
  673|      9|    }
  674|      6|    PyMem_Free(label2block);
  675|      6|    return SUCCESS;
  ------------------
  |  |   21|      6|#define SUCCESS 0
  ------------------
  676|      6|}
flowgraph.c:get_max_label:
  634|     21|{
  635|     21|    int lbl = -1;
  636|     54|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (636:38): [True: 33, False: 21]
  ------------------
  637|     33|        if (b->b_label.id > lbl) {
  ------------------
  |  Branch (637:13): [True: 0, False: 33]
  ------------------
  638|      0|            lbl = b->b_label.id;
  639|      0|        }
  640|     33|    }
  641|     21|    return lbl;
  642|     21|}
flowgraph.c:mark_except_handlers:
  679|      6|mark_except_handlers(basicblock *entryblock) {
  680|      6|#ifndef NDEBUG
  681|     15|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (681:38): [True: 9, False: 6]
  ------------------
  682|      9|        assert(!b->b_except_handler);
  ------------------
  |  Branch (682:9): [True: 9, False: 0]
  ------------------
  683|      9|    }
  684|      6|#endif
  685|     15|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (685:38): [True: 9, False: 6]
  ------------------
  686|     60|        for (int i=0; i < b->b_iused; i++) {
  ------------------
  |  Branch (686:23): [True: 51, False: 9]
  ------------------
  687|     51|            cfg_instr *instr = &b->b_instr[i];
  688|     51|            if (is_block_push(instr)) {
  ------------------
  |  Branch (688:17): [True: 0, False: 51]
  ------------------
  689|      0|                instr->i_target->b_except_handler = 1;
  690|      0|            }
  691|     51|        }
  692|      9|    }
  693|      6|    return SUCCESS;
  ------------------
  |  |   21|      6|#define SUCCESS 0
  ------------------
  694|      6|}
flowgraph.c:is_block_push:
  103|    218|{
  104|    218|    assert(OPCODE_HAS_ARG(i->i_opcode) || !IS_BLOCK_PUSH_OPCODE(i->i_opcode));
  ------------------
  |  Branch (104:5): [True: 0, False: 57]
  |  Branch (104:5): [True: 0, False: 57]
  |  Branch (104:5): [True: 0, False: 57]
  |  Branch (104:5): [True: 161, False: 57]
  ------------------
  105|    218|    return IS_BLOCK_PUSH_OPCODE(i->i_opcode);
  ------------------
  |  |   18|    218|        ((opcode) == SETUP_FINALLY || \
  |  |  ------------------
  |  |  |  |  252|    436|#define SETUP_FINALLY                          264
  |  |  ------------------
  |  |  |  Branch (18:10): [True: 0, False: 218]
  |  |  ------------------
  |  |   19|    218|         (opcode) == SETUP_WITH || \
  |  |  ------------------
  |  |  |  |  253|    436|#define SETUP_WITH                             265
  |  |  ------------------
  |  |  |  Branch (19:10): [True: 0, False: 218]
  |  |  ------------------
  |  |   20|    218|         (opcode) == SETUP_CLEANUP)
  |  |  ------------------
  |  |  |  |  251|    218|#define SETUP_CLEANUP                          263
  |  |  ------------------
  |  |  |  Branch (20:10): [True: 0, False: 218]
  |  |  ------------------
  ------------------
  106|    218|}
flowgraph.c:label_exception_targets:
  897|      6|label_exception_targets(basicblock *entryblock) {
  898|      6|    basicblock **todo_stack = make_cfg_traversal_stack(entryblock);
  899|      6|    if (todo_stack == NULL) {
  ------------------
  |  Branch (899:9): [True: 0, False: 6]
  ------------------
  900|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  901|      0|    }
  902|      6|    struct _PyCfgExceptStack *except_stack = make_except_stack();
  903|      6|    if (except_stack == NULL) {
  ------------------
  |  Branch (903:9): [True: 0, False: 6]
  ------------------
  904|      0|        PyMem_Free(todo_stack);
  905|      0|        PyErr_NoMemory();
  906|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  907|      0|    }
  908|      6|    except_stack->depth = 0;
  909|      6|    todo_stack[0] = entryblock;
  910|      6|    entryblock->b_visited = 1;
  911|      6|    entryblock->b_exceptstack = except_stack;
  912|      6|    basicblock **todo = &todo_stack[1];
  913|      6|    basicblock *handler = NULL;
  914|     12|    while (todo > todo_stack) {
  ------------------
  |  Branch (914:12): [True: 6, False: 6]
  ------------------
  915|      6|        todo--;
  916|      6|        basicblock *b = todo[0];
  917|      6|        assert(b->b_visited == 1);
  ------------------
  |  Branch (917:9): [True: 6, False: 0]
  ------------------
  918|      6|        except_stack = b->b_exceptstack;
  919|      6|        assert(except_stack != NULL);
  ------------------
  |  Branch (919:9): [True: 6, False: 0]
  ------------------
  920|      6|        b->b_exceptstack = NULL;
  921|      6|        handler = except_stack_top(except_stack);
  922|      6|        int last_yield_except_depth = -1;
  923|     51|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (923:25): [True: 45, False: 6]
  ------------------
  924|     45|            cfg_instr *instr = &b->b_instr[i];
  925|     45|            if (is_block_push(instr)) {
  ------------------
  |  Branch (925:17): [True: 0, False: 45]
  ------------------
  926|      0|                if (!instr->i_target->b_visited) {
  ------------------
  |  Branch (926:21): [True: 0, False: 0]
  ------------------
  927|      0|                    struct _PyCfgExceptStack *copy = copy_except_stack(except_stack);
  928|      0|                    if (copy == NULL) {
  ------------------
  |  Branch (928:25): [True: 0, False: 0]
  ------------------
  929|      0|                        goto error;
  930|      0|                    }
  931|      0|                    instr->i_target->b_exceptstack = copy;
  932|      0|                    todo[0] = instr->i_target;
  933|      0|                    instr->i_target->b_visited = 1;
  934|      0|                    todo++;
  935|      0|                }
  936|      0|                handler = push_except_block(except_stack, instr);
  937|      0|            }
  938|     45|            else if (instr->i_opcode == POP_BLOCK) {
  ------------------
  |  |  250|     45|#define POP_BLOCK                              262
  ------------------
  |  Branch (938:22): [True: 0, False: 45]
  ------------------
  939|      0|                handler = pop_except_block(except_stack);
  940|      0|                INSTR_SET_OP0(instr, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (940:17): [True: 0, False: 0]
  ------------------
  941|      0|            }
  942|     45|            else if (is_jump(instr)) {
  ------------------
  |  Branch (942:22): [True: 0, False: 45]
  ------------------
  943|      0|                instr->i_except = handler;
  944|      0|                assert(i == b->b_iused -1);
  ------------------
  |  Branch (944:17): [True: 0, False: 0]
  ------------------
  945|      0|                if (!instr->i_target->b_visited) {
  ------------------
  |  Branch (945:21): [True: 0, False: 0]
  ------------------
  946|      0|                    if (BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  251|      0|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  947|      0|                        struct _PyCfgExceptStack *copy = copy_except_stack(except_stack);
  948|      0|                        if (copy == NULL) {
  ------------------
  |  Branch (948:29): [True: 0, False: 0]
  ------------------
  949|      0|                            goto error;
  950|      0|                        }
  951|      0|                        instr->i_target->b_exceptstack = copy;
  952|      0|                    }
  953|      0|                    else {
  954|      0|                        instr->i_target->b_exceptstack = except_stack;
  955|      0|                        except_stack = NULL;
  956|      0|                    }
  957|      0|                    todo[0] = instr->i_target;
  958|      0|                    instr->i_target->b_visited = 1;
  959|      0|                    todo++;
  960|      0|                }
  961|      0|            }
  962|     45|            else if (instr->i_opcode == YIELD_VALUE) {
  ------------------
  |  |  129|     45|#define YIELD_VALUE                            116
  ------------------
  |  Branch (962:22): [True: 0, False: 45]
  ------------------
  963|      0|                instr->i_except = handler;
  964|      0|                last_yield_except_depth = except_stack->depth;
  965|      0|            }
  966|     45|            else if (instr->i_opcode == RESUME) {
  ------------------
  |  |  130|     45|#define RESUME                                 128
  ------------------
  |  Branch (966:22): [True: 6, False: 39]
  ------------------
  967|      6|                instr->i_except = handler;
  968|      6|                if (instr->i_oparg != RESUME_AT_FUNC_START && instr->i_oparg != RESUME_AT_GEN_EXPR_START) {
  ------------------
  |  |   88|     12|#define RESUME_AT_FUNC_START 0
  ------------------
                              if (instr->i_oparg != RESUME_AT_FUNC_START && instr->i_oparg != RESUME_AT_GEN_EXPR_START) {
  ------------------
  |  |   92|      0|#define RESUME_AT_GEN_EXPR_START 4
  ------------------
  |  Branch (968:21): [True: 0, False: 6]
  |  Branch (968:63): [True: 0, False: 0]
  ------------------
  969|      0|                    assert(last_yield_except_depth >= 0);
  ------------------
  |  Branch (969:21): [True: 0, False: 0]
  ------------------
  970|      0|                    if (last_yield_except_depth == 1) {
  ------------------
  |  Branch (970:25): [True: 0, False: 0]
  ------------------
  971|      0|                        instr->i_oparg |= RESUME_OPARG_DEPTH1_MASK;
  ------------------
  |  |   95|      0|#define RESUME_OPARG_DEPTH1_MASK 0x8
  ------------------
  972|      0|                    }
  973|      0|                    last_yield_except_depth = -1;
  974|      0|                }
  975|      6|            }
  976|     39|            else if (instr->i_opcode == RETURN_GENERATOR) {
  ------------------
  |  |   45|     39|#define RETURN_GENERATOR                        32
  ------------------
  |  Branch (976:22): [True: 0, False: 39]
  ------------------
  977|      0|                instr->i_except = NULL;
  978|      0|            }
  979|     39|            else {
  980|     39|                instr->i_except = handler;
  981|     39|            }
  982|     45|        }
  983|      6|        if (BB_HAS_FALLTHROUGH(b) && !b->b_next->b_visited) {
  ------------------
  |  |  251|     12|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 0, False: 6]
  |  |  ------------------
  ------------------
  |  Branch (983:38): [True: 0, False: 0]
  ------------------
  984|      0|            assert(except_stack != NULL);
  ------------------
  |  Branch (984:13): [True: 0, False: 0]
  ------------------
  985|      0|            b->b_next->b_exceptstack = except_stack;
  986|      0|            todo[0] = b->b_next;
  987|      0|            b->b_next->b_visited = 1;
  988|      0|            todo++;
  989|      0|        }
  990|      6|        else if (except_stack != NULL) {
  ------------------
  |  Branch (990:18): [True: 6, False: 0]
  ------------------
  991|      6|           PyMem_Free(except_stack);
  992|      6|        }
  993|      6|    }
  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|      6|    PyMem_Free(todo_stack);
 1000|      6|    return SUCCESS;
  ------------------
  |  |   21|      6|#define SUCCESS 0
  ------------------
 1001|      0|error:
 1002|      0|    PyMem_Free(todo_stack);
 1003|      0|    PyMem_Free(except_stack);
 1004|      0|    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1005|      6|}
flowgraph.c:make_cfg_traversal_stack:
  751|     39|make_cfg_traversal_stack(basicblock *entryblock) {
  752|     39|    int nblocks = 0;
  753|    102|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (753:38): [True: 63, False: 39]
  ------------------
  754|     63|        b->b_visited = 0;
  755|     63|        nblocks++;
  756|     63|    }
  757|     39|    basicblock **stack = (basicblock **)PyMem_Malloc(sizeof(basicblock *) * nblocks);
  758|     39|    if (!stack) {
  ------------------
  |  Branch (758:9): [True: 0, False: 39]
  ------------------
  759|      0|        PyErr_NoMemory();
  760|      0|    }
  761|     39|    return stack;
  762|     39|}
flowgraph.c:make_except_stack:
  728|      6|make_except_stack(void) {
  729|      6|    struct _PyCfgExceptStack *new = PyMem_Malloc(sizeof(struct _PyCfgExceptStack));
  730|      6|    if (new == NULL) {
  ------------------
  |  Branch (730:9): [True: 0, False: 6]
  ------------------
  731|      0|        PyErr_NoMemory();
  732|      0|        return NULL;
  733|      0|    }
  734|      6|    new->depth = 0;
  735|       |    new->handlers[0] = NULL;
  736|      6|    return new;
  737|      6|}
flowgraph.c:except_stack_top:
  723|      6|except_stack_top(struct _PyCfgExceptStack *stack) {
  724|      6|    return stack->handlers[stack->depth];
  725|      6|}
flowgraph.c:is_jump:
  110|    188|{
  111|    188|    return OPCODE_HAS_JUMP(i->i_opcode);
  ------------------
  |  | 1065|    188|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  ------------------
  |  |  |  | 1046|    188|#define HAS_JUMP_FLAG (8)
  |  |  ------------------
  ------------------
  112|    188|}
flowgraph.c:basicblock_nofallthrough:
  243|     63|basicblock_nofallthrough(const basicblock *b) {
  244|     63|    cfg_instr *last = basicblock_last_instr(b);
  245|     63|    return (last &&
  ------------------
  |  Branch (245:13): [True: 54, False: 9]
  ------------------
  246|     54|            (IS_SCOPE_EXIT_OPCODE(last->i_opcode) ||
  ------------------
  |  |   53|    108|        ((opcode) == RETURN_VALUE || \
  |  |  ------------------
  |  |  |  |   46|    108|#define RETURN_VALUE                            33
  |  |  ------------------
  |  |  |  Branch (53:10): [True: 54, False: 0]
  |  |  ------------------
  |  |   54|     54|         (opcode) == RAISE_VARARGS || \
  |  |  ------------------
  |  |  |  |  113|     54|#define RAISE_VARARGS                          100
  |  |  ------------------
  |  |  |  Branch (54:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   55|    108|         (opcode) == RERAISE)
  |  |  ------------------
  |  |  |  |  114|      0|#define RERAISE                                101
  |  |  ------------------
  |  |  |  Branch (55:10): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  247|      0|             IS_UNCONDITIONAL_JUMP_OPCODE(last->i_opcode)));
  ------------------
  |  |   40|      0|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  245|      0|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   41|      0|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  248|      0|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   42|      0|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   86|      0|#define JUMP_FORWARD                            73
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   43|      0|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   84|      0|#define JUMP_BACKWARD                           71
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   44|      0|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   85|      0|#define JUMP_BACKWARD_NO_INTERRUPT              72
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  248|     63|}
flowgraph.c:optimize_cfg:
 2641|      6|{
 2642|      6|    assert(PyDict_CheckExact(const_cache));
  ------------------
  |  Branch (2642:5): [True: 6, False: 0]
  ------------------
 2643|      6|    RETURN_IF_ERROR(check_cfg(g));
  ------------------
  |  |   25|      6|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 6]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2644|      6|    RETURN_IF_ERROR(inline_small_or_no_lineno_blocks(g->g_entryblock));
  ------------------
  |  |   25|      6|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 6]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2645|      6|    RETURN_IF_ERROR(remove_unreachable(g->g_entryblock));
  ------------------
  |  |   25|      6|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 6]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2646|      6|    RETURN_IF_ERROR(resolve_line_numbers(g, firstlineno));
  ------------------
  |  |   25|      6|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 6]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2647|      6|    RETURN_IF_ERROR(optimize_load_const(const_cache, g, consts, consts_index));
  ------------------
  |  |   25|      6|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 6]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2648|     15|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (2648:43): [True: 9, False: 6]
  ------------------
 2649|      9|        RETURN_IF_ERROR(optimize_basic_block(const_cache, b, consts, consts_index));
  ------------------
  |  |   25|      9|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 9]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2650|      9|    }
 2651|      6|    RETURN_IF_ERROR(remove_redundant_nops_and_pairs(g->g_entryblock));
  ------------------
  |  |   25|      6|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 6]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2652|      6|    RETURN_IF_ERROR(remove_unreachable(g->g_entryblock));
  ------------------
  |  |   25|      6|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 6]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2653|      6|    RETURN_IF_ERROR(remove_redundant_nops_and_jumps(g));
  ------------------
  |  |   25|      6|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 6]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2654|      6|    assert(no_redundant_jumps(g));
  ------------------
  |  Branch (2654:5): [True: 6, False: 0]
  ------------------
 2655|      6|    return SUCCESS;
  ------------------
  |  |   21|      6|#define SUCCESS 0
  ------------------
 2656|      6|}
flowgraph.c:check_cfg:
  615|      6|check_cfg(cfg_builder *g) {
  616|     15|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (616:43): [True: 9, False: 6]
  ------------------
  617|       |        /* Raise SystemError if jump or exit is not last instruction in the block. */
  618|     60|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (618:25): [True: 51, False: 9]
  ------------------
  619|     51|            int opcode = b->b_instr[i].i_opcode;
  620|     51|            assert(!IS_ASSEMBLER_OPCODE(opcode));
  ------------------
  |  Branch (620:13): [True: 0, False: 51]
  |  Branch (620:13): [True: 0, False: 51]
  |  Branch (620:13): [True: 0, False: 51]
  ------------------
  621|     51|            if (IS_TERMINATOR_OPCODE(opcode)) {
  ------------------
  |  |   27|     51|        (OPCODE_HAS_JUMP(opcode) || IS_SCOPE_EXIT_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|    102|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|     51|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 0, False: 51]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_SCOPE_EXIT_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   53|     51|        ((opcode) == RETURN_VALUE || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|    102|#define RETURN_VALUE                            33
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (53:10): [True: 9, False: 42]
  |  |  |  |  ------------------
  |  |  |  |   54|     51|         (opcode) == RAISE_VARARGS || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  113|     93|#define RAISE_VARARGS                          100
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (54:10): [True: 0, False: 42]
  |  |  |  |  ------------------
  |  |  |  |   55|     51|         (opcode) == RERAISE)
  |  |  |  |  ------------------
  |  |  |  |  |  |  114|     42|#define RERAISE                                101
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:10): [True: 0, False: 42]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  622|      9|                if (i != b->b_iused - 1) {
  ------------------
  |  Branch (622:21): [True: 0, False: 9]
  ------------------
  623|      0|                    PyErr_SetString(PyExc_SystemError, "malformed control flow graph.");
  624|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  625|      0|                }
  626|      9|            }
  627|     51|        }
  628|      9|    }
  629|      6|    return SUCCESS;
  ------------------
  |  |   21|      6|#define SUCCESS 0
  ------------------
  630|      6|}
flowgraph.c:inline_small_or_no_lineno_blocks:
 1262|      6|inline_small_or_no_lineno_blocks(basicblock *entryblock) {
 1263|      6|    bool changes;
 1264|      6|    do {
 1265|      6|        changes = false;
 1266|     15|        for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1266:42): [True: 9, False: 6]
  ------------------
 1267|      9|            int res = basicblock_inline_small_or_no_lineno_blocks(b);
 1268|      9|            RETURN_IF_ERROR(res);
  ------------------
  |  |   25|      9|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 9]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 1269|      9|            if (res) {
  ------------------
  |  Branch (1269:17): [True: 0, False: 9]
  ------------------
 1270|      0|                changes = true;
 1271|      0|            }
 1272|      9|        }
 1273|      6|    } while(changes); /* every change removes a jump, ensuring convergence */
  ------------------
  |  Branch (1273:13): [True: 0, False: 6]
  ------------------
 1274|      6|    return changes;
 1275|      6|}
flowgraph.c:basicblock_inline_small_or_no_lineno_blocks:
 1228|      9|basicblock_inline_small_or_no_lineno_blocks(basicblock *bb) {
 1229|      9|    cfg_instr *last = basicblock_last_instr(bb);
 1230|      9|    if (last == NULL) {
  ------------------
  |  Branch (1230:9): [True: 0, False: 9]
  ------------------
 1231|      0|        return 0;
 1232|      0|    }
 1233|      9|    if (!IS_UNCONDITIONAL_JUMP_OPCODE(last->i_opcode)) {
  ------------------
  |  |   40|      9|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  245|     18|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 0, False: 9]
  |  |  ------------------
  |  |   41|      9|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  248|     18|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 0, False: 9]
  |  |  ------------------
  |  |   42|      9|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   86|     18|#define JUMP_FORWARD                            73
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 9]
  |  |  ------------------
  |  |   43|      9|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   84|     18|#define JUMP_BACKWARD                           71
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 9]
  |  |  ------------------
  |  |   44|      9|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   85|      9|#define JUMP_BACKWARD_NO_INTERRUPT              72
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 9]
  |  |  ------------------
  ------------------
 1234|      9|        return 0;
 1235|      9|    }
 1236|      0|    basicblock *target = last->i_target;
 1237|      0|    bool small_exit_block = (basicblock_exits_scope(target) &&
  ------------------
  |  Branch (1237:30): [True: 0, False: 0]
  ------------------
 1238|      0|                             target->b_iused <= MAX_COPY_SIZE);
  ------------------
  |  | 1220|      0|#define MAX_COPY_SIZE 4
  ------------------
  |  Branch (1238:30): [True: 0, False: 0]
  ------------------
 1239|      0|    bool no_lineno_no_fallthrough = (basicblock_has_no_lineno(target) &&
  ------------------
  |  Branch (1239:38): [True: 0, False: 0]
  ------------------
 1240|      0|                                     !BB_HAS_FALLTHROUGH(target));
  ------------------
  |  |  251|      0|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  ------------------
  |  Branch (1240:38): [True: 0, False: 0]
  ------------------
 1241|      0|    if (small_exit_block || no_lineno_no_fallthrough) {
  ------------------
  |  Branch (1241:9): [True: 0, False: 0]
  |  Branch (1241:29): [True: 0, False: 0]
  ------------------
 1242|      0|        assert(is_jump(last));
  ------------------
  |  Branch (1242:9): [True: 0, False: 0]
  ------------------
 1243|      0|        int removed_jump_opcode = last->i_opcode;
 1244|      0|        INSTR_SET_OP0(last, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1244:9): [True: 0, False: 0]
  ------------------
 1245|      0|        RETURN_IF_ERROR(basicblock_append_instructions(bb, target));
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 1246|      0|        if (no_lineno_no_fallthrough) {
  ------------------
  |  Branch (1246:13): [True: 0, False: 0]
  ------------------
 1247|      0|            last = basicblock_last_instr(bb);
 1248|      0|            if (IS_UNCONDITIONAL_JUMP_OPCODE(last->i_opcode) &&
  ------------------
  |  |   40|      0|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  245|      0|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   41|      0|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  248|      0|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   42|      0|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   86|      0|#define JUMP_FORWARD                            73
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   43|      0|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   84|      0|#define JUMP_BACKWARD                           71
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   44|      0|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   85|      0|#define JUMP_BACKWARD_NO_INTERRUPT              72
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1249|      0|                removed_jump_opcode == JUMP)
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (1249:17): [True: 0, False: 0]
  ------------------
 1250|      0|            {
 1251|       |                /* Make sure we don't lose eval breaker checks */
 1252|      0|                last->i_opcode = JUMP;
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
 1253|      0|            }
 1254|      0|        }
 1255|      0|        target->b_predecessors--;
 1256|      0|        return 1;
 1257|      0|    }
 1258|      0|    return 0;
 1259|      0|}
flowgraph.c:remove_unreachable:
 1010|     12|remove_unreachable(basicblock *entryblock) {
 1011|     30|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1011:38): [True: 18, False: 12]
  ------------------
 1012|     18|        b->b_predecessors = 0;
 1013|     18|    }
 1014|     12|    basicblock **stack = make_cfg_traversal_stack(entryblock);
 1015|     12|    if (stack == NULL) {
  ------------------
  |  Branch (1015:9): [True: 0, False: 12]
  ------------------
 1016|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1017|      0|    }
 1018|     12|    basicblock **sp = stack;
 1019|     12|    entryblock->b_predecessors = 1;
 1020|     12|    *sp++ = entryblock;
 1021|     12|    entryblock->b_visited = 1;
 1022|     24|    while (sp > stack) {
  ------------------
  |  Branch (1022:12): [True: 12, False: 12]
  ------------------
 1023|     12|        basicblock *b = *(--sp);
 1024|     12|        if (b->b_next && BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  251|      6|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 0, False: 6]
  |  |  ------------------
  ------------------
  |  Branch (1024:13): [True: 6, False: 6]
  ------------------
 1025|      0|            if (!b->b_next->b_visited) {
  ------------------
  |  Branch (1025:17): [True: 0, False: 0]
  ------------------
 1026|      0|                assert(b->b_next->b_predecessors == 0);
  ------------------
  |  Branch (1026:17): [True: 0, False: 0]
  ------------------
 1027|      0|                *sp++ = b->b_next;
 1028|      0|                b->b_next->b_visited = 1;
 1029|      0|            }
 1030|      0|            b->b_next->b_predecessors++;
 1031|      0|        }
 1032|     99|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (1032:25): [True: 87, False: 12]
  ------------------
 1033|     87|            basicblock *target;
 1034|     87|            cfg_instr *instr = &b->b_instr[i];
 1035|     87|            if (is_jump(instr) || is_block_push(instr)) {
  ------------------
  |  Branch (1035:17): [True: 0, False: 87]
  |  Branch (1035:35): [True: 0, False: 87]
  ------------------
 1036|      0|                target = instr->i_target;
 1037|      0|                if (!target->b_visited) {
  ------------------
  |  Branch (1037:21): [True: 0, False: 0]
  ------------------
 1038|      0|                    *sp++ = target;
 1039|      0|                    target->b_visited = 1;
 1040|      0|                }
 1041|      0|                target->b_predecessors++;
 1042|      0|            }
 1043|     87|        }
 1044|     12|    }
 1045|     12|    PyMem_Free(stack);
 1046|       |
 1047|       |    /* Delete unreachable instructions */
 1048|     30|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1048:38): [True: 18, False: 12]
  ------------------
 1049|     18|       if (b->b_predecessors == 0) {
  ------------------
  |  Branch (1049:12): [True: 6, False: 12]
  ------------------
 1050|      6|            b->b_iused = 0;
 1051|      6|            b->b_except_handler = 0;
 1052|      6|       }
 1053|     18|    }
 1054|     12|    return SUCCESS;
  ------------------
  |  |   21|     12|#define SUCCESS 0
  ------------------
 1055|     12|}
flowgraph.c:optimize_load_const:
 2390|      6|                    _Py_hashtable_t *consts_index) {
 2391|     15|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (2391:43): [True: 9, False: 6]
  ------------------
 2392|      9|        RETURN_IF_ERROR(basicblock_optimize_load_const(const_cache, b, consts, consts_index));
  ------------------
  |  |   25|      9|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 9]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2393|      9|    }
 2394|      6|    return SUCCESS;
  ------------------
  |  |   21|      6|#define SUCCESS 0
  ------------------
 2395|      6|}
flowgraph.c:basicblock_optimize_load_const:
 2247|      9|{
 2248|      9|    assert(PyDict_CheckExact(const_cache));
  ------------------
  |  Branch (2248:5): [True: 9, False: 0]
  ------------------
 2249|      9|    assert(PyList_CheckExact(consts));
  ------------------
  |  Branch (2249:5): [True: 9, False: 0]
  ------------------
 2250|      9|    int opcode = 0;
 2251|      9|    int oparg = 0;
 2252|     54|    for (int i = 0; i < bb->b_iused; i++) {
  ------------------
  |  Branch (2252:21): [True: 45, False: 9]
  ------------------
 2253|     45|        cfg_instr *inst = &bb->b_instr[i];
 2254|     45|        if (inst->i_opcode == LOAD_CONST) {
  ------------------
  |  |   91|     45|#define LOAD_CONST                              78
  ------------------
  |  Branch (2254:13): [True: 3, False: 42]
  ------------------
 2255|      3|            PyObject *constant = get_const_value(inst->i_opcode, inst->i_oparg, consts);
 2256|      3|            if (constant == NULL) {
  ------------------
  |  Branch (2256:17): [True: 0, False: 3]
  ------------------
 2257|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2258|      0|            }
 2259|      3|            int res = maybe_instr_make_load_smallint(inst, constant, consts, const_cache);
 2260|      3|            Py_DECREF(constant);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2261|      3|            if (res < 0) {
  ------------------
  |  Branch (2261:17): [True: 0, False: 3]
  ------------------
 2262|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2263|      0|            }
 2264|      3|        }
 2265|     45|        bool is_copy_of_load_const = (opcode == LOAD_CONST &&
  ------------------
  |  |   91|     90|#define LOAD_CONST                              78
  ------------------
  |  Branch (2265:39): [True: 3, False: 42]
  ------------------
 2266|      3|                                      inst->i_opcode == COPY &&
  ------------------
  |  |   70|     48|#define COPY                                    57
  ------------------
  |  Branch (2266:39): [True: 0, False: 3]
  ------------------
 2267|      0|                                      inst->i_oparg == 1);
  ------------------
  |  Branch (2267:39): [True: 0, False: 0]
  ------------------
 2268|     45|        if (! is_copy_of_load_const) {
  ------------------
  |  Branch (2268:13): [True: 45, False: 0]
  ------------------
 2269|     45|            opcode = inst->i_opcode;
 2270|     45|            oparg = inst->i_oparg;
 2271|     45|        }
 2272|     45|        assert(!IS_ASSEMBLER_OPCODE(opcode));
  ------------------
  |  Branch (2272:9): [True: 0, False: 45]
  |  Branch (2272:9): [True: 0, False: 45]
  |  Branch (2272:9): [True: 0, False: 45]
  ------------------
 2273|     45|        if (!loads_const(opcode)) {
  ------------------
  |  Branch (2273:13): [True: 42, False: 3]
  ------------------
 2274|     42|            continue;
 2275|     42|        }
 2276|      3|        int nextop = i+1 < bb->b_iused ? bb->b_instr[i+1].i_opcode : 0;
  ------------------
  |  Branch (2276:22): [True: 3, False: 0]
  ------------------
 2277|      3|        switch(nextop) {
  ------------------
  |  Branch (2277:16): [True: 0, False: 3]
  ------------------
 2278|      0|            case POP_JUMP_IF_FALSE:
  ------------------
  |  |  109|      0|#define POP_JUMP_IF_FALSE                       96
  ------------------
  |  Branch (2278:13): [True: 0, False: 3]
  ------------------
 2279|      0|            case POP_JUMP_IF_TRUE:
  ------------------
  |  |  112|      0|#define POP_JUMP_IF_TRUE                        99
  ------------------
  |  Branch (2279:13): [True: 0, False: 3]
  ------------------
 2280|      0|            case JUMP_IF_FALSE:
  ------------------
  |  |  246|      0|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (2280:13): [True: 0, False: 3]
  ------------------
 2281|      0|            case JUMP_IF_TRUE:
  ------------------
  |  |  247|      0|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (2281:13): [True: 0, False: 3]
  ------------------
 2282|      0|            {
 2283|       |                /* Remove LOAD_CONST const; conditional jump */
 2284|      0|                PyObject* cnt = get_const_value(opcode, oparg, consts);
 2285|      0|                if (cnt == NULL) {
  ------------------
  |  Branch (2285:21): [True: 0, False: 0]
  ------------------
 2286|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2287|      0|                }
 2288|      0|                int is_true = PyObject_IsTrue(cnt);
 2289|      0|                Py_DECREF(cnt);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2290|      0|                if (is_true == -1) {
  ------------------
  |  Branch (2290:21): [True: 0, False: 0]
  ------------------
 2291|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2292|      0|                }
 2293|      0|                if (PyCompile_OpcodeStackEffect(nextop, 0) == -1) {
  ------------------
  |  Branch (2293:21): [True: 0, False: 0]
  ------------------
 2294|       |                    /* POP_JUMP_IF_FALSE or POP_JUMP_IF_TRUE */
 2295|      0|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2295:21): [True: 0, False: 0]
  ------------------
 2296|      0|                }
 2297|      0|                int jump_if_true = (nextop == POP_JUMP_IF_TRUE || nextop == JUMP_IF_TRUE);
  ------------------
  |  |  112|      0|#define POP_JUMP_IF_TRUE                        99
  ------------------
                              int jump_if_true = (nextop == POP_JUMP_IF_TRUE || nextop == JUMP_IF_TRUE);
  ------------------
  |  |  247|      0|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (2297:37): [True: 0, False: 0]
  |  Branch (2297:67): [True: 0, False: 0]
  ------------------
 2298|      0|                if (is_true == jump_if_true) {
  ------------------
  |  Branch (2298:21): [True: 0, False: 0]
  ------------------
 2299|      0|                    bb->b_instr[i+1].i_opcode = JUMP;
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
 2300|      0|                }
 2301|      0|                else {
 2302|      0|                    INSTR_SET_OP0(&bb->b_instr[i + 1], NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2302:21): [True: 0, False: 0]
  ------------------
 2303|      0|                }
 2304|      0|                break;
 2305|      0|            }
 2306|      0|            case IS_OP:
  ------------------
  |  |   83|      0|#define IS_OP                                   70
  ------------------
  |  Branch (2306:13): [True: 0, False: 3]
  ------------------
 2307|      0|            {
 2308|       |                // Fold to POP_JUMP_IF_NONE:
 2309|       |                // - LOAD_CONST(None) IS_OP(0) POP_JUMP_IF_TRUE
 2310|       |                // - LOAD_CONST(None) IS_OP(1) POP_JUMP_IF_FALSE
 2311|       |                // - LOAD_CONST(None) IS_OP(0) TO_BOOL POP_JUMP_IF_TRUE
 2312|       |                // - LOAD_CONST(None) IS_OP(1) TO_BOOL POP_JUMP_IF_FALSE
 2313|       |                // Fold to POP_JUMP_IF_NOT_NONE:
 2314|       |                // - LOAD_CONST(None) IS_OP(0) POP_JUMP_IF_FALSE
 2315|       |                // - LOAD_CONST(None) IS_OP(1) POP_JUMP_IF_TRUE
 2316|       |                // - LOAD_CONST(None) IS_OP(0) TO_BOOL POP_JUMP_IF_FALSE
 2317|       |                // - LOAD_CONST(None) IS_OP(1) TO_BOOL POP_JUMP_IF_TRUE
 2318|      0|                PyObject *cnt = get_const_value(opcode, oparg, consts);
 2319|      0|                if (cnt == NULL) {
  ------------------
  |  Branch (2319:21): [True: 0, False: 0]
  ------------------
 2320|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2321|      0|                }
 2322|      0|                if (!Py_IsNone(cnt)) {
  ------------------
  |  |  621|      0|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|      0|#define Py_Is(x, y) ((x) == (y))
  |  |  ------------------
  ------------------
  |  Branch (2322:21): [True: 0, False: 0]
  ------------------
 2323|      0|                    Py_DECREF(cnt);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2324|      0|                    break;
 2325|      0|                }
 2326|      0|                if (bb->b_iused <= i + 2) {
  ------------------
  |  Branch (2326:21): [True: 0, False: 0]
  ------------------
 2327|      0|                    break;
 2328|      0|                }
 2329|      0|                cfg_instr *is_instr = &bb->b_instr[i + 1];
 2330|      0|                cfg_instr *jump_instr = &bb->b_instr[i + 2];
 2331|       |                // Get rid of TO_BOOL regardless:
 2332|      0|                if (jump_instr->i_opcode == TO_BOOL) {
  ------------------
  |  |   50|      0|#define TO_BOOL                                 37
  ------------------
  |  Branch (2332:21): [True: 0, False: 0]
  ------------------
 2333|      0|                    INSTR_SET_OP0(jump_instr, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2333:21): [True: 0, False: 0]
  ------------------
 2334|      0|                    if (bb->b_iused <= i + 3) {
  ------------------
  |  Branch (2334:25): [True: 0, False: 0]
  ------------------
 2335|      0|                        break;
 2336|      0|                    }
 2337|      0|                    jump_instr = &bb->b_instr[i + 3];
 2338|      0|                }
 2339|      0|                bool invert = is_instr->i_oparg;
 2340|      0|                if (jump_instr->i_opcode == POP_JUMP_IF_FALSE) {
  ------------------
  |  |  109|      0|#define POP_JUMP_IF_FALSE                       96
  ------------------
  |  Branch (2340:21): [True: 0, False: 0]
  ------------------
 2341|      0|                    invert = !invert;
 2342|      0|                }
 2343|      0|                else if (jump_instr->i_opcode != POP_JUMP_IF_TRUE) {
  ------------------
  |  |  112|      0|#define POP_JUMP_IF_TRUE                        99
  ------------------
  |  Branch (2343:26): [True: 0, False: 0]
  ------------------
 2344|      0|                    break;
 2345|      0|                }
 2346|      0|                INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2346:17): [True: 0, False: 0]
  ------------------
 2347|      0|                INSTR_SET_OP0(is_instr, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2347:17): [True: 0, False: 0]
  ------------------
 2348|      0|                jump_instr->i_opcode = invert ? POP_JUMP_IF_NOT_NONE
  ------------------
  |  |  111|      0|#define POP_JUMP_IF_NOT_NONE                    98
  ------------------
  |  Branch (2348:40): [True: 0, False: 0]
  ------------------
 2349|      0|                                              : POP_JUMP_IF_NONE;
  ------------------
  |  |  110|      0|#define POP_JUMP_IF_NONE                        97
  ------------------
 2350|      0|                break;
 2351|      0|            }
 2352|      0|            case TO_BOOL:
  ------------------
  |  |   50|      0|#define TO_BOOL                                 37
  ------------------
  |  Branch (2352:13): [True: 0, False: 3]
  ------------------
 2353|      0|            {
 2354|      0|                PyObject *cnt = get_const_value(opcode, oparg, consts);
 2355|      0|                if (cnt == NULL) {
  ------------------
  |  Branch (2355:21): [True: 0, False: 0]
  ------------------
 2356|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2357|      0|                }
 2358|      0|                int is_true = PyObject_IsTrue(cnt);
 2359|      0|                Py_DECREF(cnt);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2360|      0|                if (is_true == -1) {
  ------------------
  |  Branch (2360:21): [True: 0, False: 0]
  ------------------
 2361|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2362|      0|                }
 2363|      0|                cnt = PyBool_FromLong(is_true);
 2364|      0|                int index = add_const(cnt, consts, const_cache, consts_index);
 2365|      0|                if (index < 0) {
  ------------------
  |  Branch (2365:21): [True: 0, False: 0]
  ------------------
 2366|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2367|      0|                }
 2368|      0|                INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2368:17): [True: 0, False: 0]
  ------------------
 2369|      0|                INSTR_SET_OP1(&bb->b_instr[i + 1], LOAD_CONST, index);
  ------------------
  |  |  116|      0|    do { \
  |  |  117|      0|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|      0|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2369:17): [True: 0, False: 0]
  ------------------
 2370|      0|                break;
 2371|      0|            }
 2372|      3|        }
 2373|      3|        if (inst->i_opcode == LOAD_CONST) {
  ------------------
  |  |   91|      3|#define LOAD_CONST                              78
  ------------------
  |  Branch (2373:13): [True: 3, False: 0]
  ------------------
 2374|      3|            PyObject *constant = get_const_value(inst->i_opcode, inst->i_oparg, consts);
 2375|      3|            if (constant == NULL) {
  ------------------
  |  Branch (2375:17): [True: 0, False: 3]
  ------------------
 2376|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2377|      0|            }
 2378|      3|            int res = maybe_instr_make_load_common_const(inst, constant);
 2379|      3|            Py_DECREF(constant);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2380|      3|            if (res < 0) {
  ------------------
  |  Branch (2380:17): [True: 0, False: 3]
  ------------------
 2381|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2382|      0|            }
 2383|      3|        }
 2384|      3|    }
 2385|      9|    return SUCCESS;
  ------------------
  |  |   21|      9|#define SUCCESS 0
  ------------------
 2386|      9|}
flowgraph.c:get_const_value:
 1314|      6|{
 1315|      6|    PyObject *constant = NULL;
 1316|      6|    assert(loads_const(opcode));
  ------------------
  |  Branch (1316:5): [True: 6, False: 0]
  ------------------
 1317|      6|    if (opcode == LOAD_CONST) {
  ------------------
  |  |   91|      6|#define LOAD_CONST                              78
  ------------------
  |  Branch (1317:9): [True: 6, False: 0]
  ------------------
 1318|      6|        assert(PyList_Check(co_consts));
  ------------------
  |  Branch (1318:9): [True: 6, False: 0]
  ------------------
 1319|      6|        Py_ssize_t n = PyList_GET_SIZE(co_consts);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1320|      6|        if (oparg < 0 || oparg >= n) {
  ------------------
  |  Branch (1320:13): [True: 0, False: 6]
  |  Branch (1320:26): [True: 0, False: 6]
  ------------------
 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|      6|        constant = PyList_GET_ITEM(co_consts, oparg);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1326:20): [True: 6, False: 0]
  ------------------
 1327|      6|    }
 1328|      6|    if (opcode == LOAD_SMALL_INT) {
  ------------------
  |  |  103|      6|#define LOAD_SMALL_INT                          90
  ------------------
  |  Branch (1328:9): [True: 0, False: 6]
  ------------------
 1329|      0|        return PyLong_FromLong(oparg);
 1330|      0|    }
 1331|      6|    if (opcode == LOAD_COMMON_CONSTANT) {
  ------------------
  |  |   90|      6|#define LOAD_COMMON_CONSTANT                    77
  ------------------
  |  Branch (1331:9): [True: 0, False: 6]
  ------------------
 1332|      0|        assert(oparg < NUM_COMMON_CONSTANTS);
  ------------------
  |  Branch (1332:9): [True: 0, False: 0]
  ------------------
 1333|      0|        return PyStackRef_AsPyObjectBorrow(
 1334|      0|            _PyInterpreterState_GET()->common_consts[oparg]);
 1335|      0|    }
 1336|       |
 1337|      6|    if (constant == NULL) {
  ------------------
  |  Branch (1337:9): [True: 0, False: 6]
  ------------------
 1338|      0|        PyErr_SetString(PyExc_SystemError,
 1339|      0|                        "Internal error: failed to get value of a constant");
 1340|      0|        return NULL;
 1341|      0|    }
 1342|      6|    return Py_NewRef(constant);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1343|      6|}
flowgraph.c:maybe_instr_make_load_smallint:
 1434|      3|{
 1435|      3|    if (PyLong_CheckExact(newconst)) {
  ------------------
  |  |   14|      3|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_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 (215:32): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1436|      0|        int overflow;
 1437|      0|        long val = PyLong_AsLongAndOverflow(newconst, &overflow);
 1438|      0|        if (val == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1438:13): [True: 0, False: 0]
  |  Branch (1438:26): [True: 0, False: 0]
  ------------------
 1439|      0|            return -1;
 1440|      0|        }
 1441|      0|        if (!overflow && _PY_IS_SMALL_INT(val) && 0 <= val && val <= 255) {
  ------------------
  |  |   68|      0|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  ------------------
  |  |  |  |   98|      0|#define _PY_NSMALLNEGINTS           5
  |  |  ------------------
  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  ------------------
  |  |  |  |   97|      0|#define _PY_NSMALLPOSINTS           1025
  |  |  ------------------
  |  |  |  Branch (68:6): [True: 0, False: 0]
  |  |  |  Branch (68:37): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1441:13): [True: 0, False: 0]
  |  Branch (1441:51): [True: 0, False: 0]
  |  Branch (1441:63): [True: 0, False: 0]
  ------------------
 1442|      0|            assert(_Py_IsImmortal(newconst));
  ------------------
  |  Branch (1442:13): [True: 0, False: 0]
  ------------------
 1443|      0|            INSTR_SET_OP1(instr, LOAD_SMALL_INT, (int)val);
  ------------------
  |  |  116|      0|    do { \
  |  |  117|      0|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|      0|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1443:13): [True: 0, False: 0]
  ------------------
 1444|      0|            return 1;
 1445|      0|        }
 1446|      0|    }
 1447|      3|    return 0;
 1448|      3|}
flowgraph.c:loads_const:
 1305|     54|{
 1306|     54|    return OPCODE_HAS_CONST(opcode)
  ------------------
  |  | 1063|    108|#define OPCODE_HAS_CONST(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_CONST_FLAG))
  |  |  ------------------
  |  |  |  | 1044|     54|#define HAS_CONST_FLAG (2)
  |  |  ------------------
  |  |  |  Branch (1063:30): [True: 9, False: 45]
  |  |  ------------------
  ------------------
 1307|     45|        || opcode == LOAD_SMALL_INT
  ------------------
  |  |  103|     99|#define LOAD_SMALL_INT                          90
  ------------------
  |  Branch (1307:12): [True: 0, False: 45]
  ------------------
 1308|     45|        || opcode == LOAD_COMMON_CONSTANT;
  ------------------
  |  |   90|     45|#define LOAD_COMMON_CONSTANT                    77
  ------------------
  |  Branch (1308:12): [True: 0, False: 45]
  ------------------
 1309|     54|}
flowgraph.c:maybe_instr_make_load_common_const:
 1457|      3|{
 1458|      3|    int oparg;
 1459|      3|    if (newconst == Py_None) {
  ------------------
  |  |  616|      3|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1459:9): [True: 0, False: 3]
  ------------------
 1460|      0|        oparg = CONSTANT_NONE;
  ------------------
  |  |   78|      0|#define CONSTANT_NONE 7
  ------------------
 1461|      0|    }
 1462|      3|    else if (newconst == 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 (1462:14): [True: 0, False: 3]
  ------------------
 1463|      0|        oparg = CONSTANT_TRUE;
  ------------------
  |  |   80|      0|#define CONSTANT_TRUE 9
  ------------------
 1464|      0|    }
 1465|      3|    else if (newconst == Py_False) {
  ------------------
  |  |   25|      3|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1465:14): [True: 0, False: 3]
  ------------------
 1466|      0|        oparg = CONSTANT_FALSE;
  ------------------
  |  |   81|      0|#define CONSTANT_FALSE 10
  ------------------
 1467|      0|    }
 1468|      3|    else if (PyUnicode_CheckExact(newconst)
  ------------------
  |  |  104|      3|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|      6|#  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 (215:32): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1469|      0|             && PyUnicode_GET_LENGTH(newconst) == 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 (1469:17): [True: 0, False: 0]
  ------------------
 1470|      0|        oparg = CONSTANT_EMPTY_STR;
  ------------------
  |  |   79|      0|#define CONSTANT_EMPTY_STR 8
  ------------------
 1471|      0|    }
 1472|      3|    else if (PyTuple_CheckExact(newconst)
  ------------------
  |  |   28|      3|#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|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1473|      0|             && PyTuple_GET_SIZE(newconst) == 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 (1473:17): [True: 0, False: 0]
  ------------------
 1474|      0|        oparg = CONSTANT_EMPTY_TUPLE;
  ------------------
  |  |   84|      0|#define CONSTANT_EMPTY_TUPLE 13
  ------------------
 1475|      0|    }
 1476|      3|    else if (PyLong_CheckExact(newconst)) {
  ------------------
  |  |   14|      3|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_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 (215:32): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1477|      0|        int overflow;
 1478|      0|        long val = PyLong_AsLongAndOverflow(newconst, &overflow);
 1479|      0|        if (val == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1479:13): [True: 0, False: 0]
  |  Branch (1479:26): [True: 0, False: 0]
  ------------------
 1480|      0|            return -1;
 1481|      0|        }
 1482|      0|        if (overflow || val != -1) {
  ------------------
  |  Branch (1482:13): [True: 0, False: 0]
  |  Branch (1482:25): [True: 0, False: 0]
  ------------------
 1483|      0|            return 0;
 1484|      0|        }
 1485|      0|        oparg = CONSTANT_MINUS_ONE;
  ------------------
  |  |   82|      0|#define CONSTANT_MINUS_ONE 11
  ------------------
 1486|      0|    }
 1487|      3|    else {
 1488|      3|        return 0;
 1489|      3|    }
 1490|      3|    assert(_Py_IsImmortal(newconst));
  ------------------
  |  Branch (1490:5): [True: 0, False: 0]
  ------------------
 1491|      0|    INSTR_SET_OP1(instr, LOAD_COMMON_CONSTANT, oparg);
  ------------------
  |  |  116|      0|    do { \
  |  |  117|      0|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|      0|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1491:5): [True: 0, False: 0]
  ------------------
 1492|      0|    return 1;
 1493|      0|}
flowgraph.c:optimize_basic_block:
 2400|      9|{
 2401|      9|    assert(PyDict_CheckExact(const_cache));
  ------------------
  |  Branch (2401:5): [True: 9, False: 0]
  ------------------
 2402|      9|    assert(PyList_CheckExact(consts));
  ------------------
  |  Branch (2402:5): [True: 9, False: 0]
  ------------------
 2403|      9|    cfg_instr nop;
 2404|      9|    INSTR_SET_OP0(&nop, NOP);
  ------------------
  |  |  125|      9|    do { \
  |  |  126|      9|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      9|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      9|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      9|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      9|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 9]
  |  |  ------------------
  ------------------
  |  Branch (2404:5): [True: 9, False: 0]
  ------------------
 2405|     54|    for (int i = 0; i < bb->b_iused; i++) {
  ------------------
  |  Branch (2405:21): [True: 45, False: 9]
  ------------------
 2406|     45|        cfg_instr *inst = &bb->b_instr[i];
 2407|     45|        cfg_instr *target;
 2408|     45|        int opcode = inst->i_opcode;
 2409|     45|        int oparg = inst->i_oparg;
 2410|     45|        if (HAS_TARGET(opcode)) {
  ------------------
  |  |   23|     45|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|     90|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|     45|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 0, False: 45]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|     45|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  252|     90|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 0, False: 45]
  |  |  |  |  ------------------
  |  |  |  |   19|     45|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     90|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 0, False: 45]
  |  |  |  |  ------------------
  |  |  |  |   20|     45|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     45|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 0, False: 45]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2411|      0|            assert(inst->i_target->b_iused > 0);
  ------------------
  |  Branch (2411:13): [True: 0, False: 0]
  ------------------
 2412|      0|            target = &inst->i_target->b_instr[0];
 2413|      0|            assert(!IS_ASSEMBLER_OPCODE(target->i_opcode));
  ------------------
  |  Branch (2413:13): [True: 0, False: 0]
  |  Branch (2413:13): [True: 0, False: 0]
  |  Branch (2413:13): [True: 0, False: 0]
  ------------------
 2414|      0|        }
 2415|     45|        else {
 2416|     45|            target = &nop;
 2417|     45|        }
 2418|     45|        int nextop = i+1 < bb->b_iused ? bb->b_instr[i+1].i_opcode : 0;
  ------------------
  |  Branch (2418:22): [True: 39, False: 6]
  ------------------
 2419|     45|        assert(!IS_ASSEMBLER_OPCODE(opcode));
  ------------------
  |  Branch (2419:9): [True: 0, False: 45]
  |  Branch (2419:9): [True: 0, False: 45]
  |  Branch (2419:9): [True: 0, False: 45]
  ------------------
 2420|     45|        switch (opcode) {
  ------------------
  |  Branch (2420:17): [True: 6, False: 39]
  ------------------
 2421|       |            /* Try to fold tuples of constants.
 2422|       |               Skip over BUILD_TUPLE(1) UNPACK_SEQUENCE(1).
 2423|       |               Replace BUILD_TUPLE(2) UNPACK_SEQUENCE(2) with SWAP(2).
 2424|       |               Replace BUILD_TUPLE(3) UNPACK_SEQUENCE(3) with SWAP(3). */
 2425|      3|            case BUILD_TUPLE:
  ------------------
  |  |   62|      3|#define BUILD_TUPLE                             49
  ------------------
  |  Branch (2425:13): [True: 3, False: 42]
  ------------------
 2426|      3|                if (nextop == UNPACK_SEQUENCE && oparg == bb->b_instr[i+1].i_oparg) {
  ------------------
  |  |  128|      6|#define UNPACK_SEQUENCE                        115
  ------------------
  |  Branch (2426:21): [True: 0, False: 3]
  |  Branch (2426:50): [True: 0, False: 0]
  ------------------
 2427|      0|                    switch(oparg) {
  ------------------
  |  Branch (2427:28): [True: 0, False: 0]
  ------------------
 2428|      0|                        case 1:
  ------------------
  |  Branch (2428:25): [True: 0, False: 0]
  ------------------
 2429|      0|                            INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2429:29): [True: 0, False: 0]
  ------------------
 2430|      0|                            INSTR_SET_OP0(&bb->b_instr[i + 1], NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2430:29): [True: 0, False: 0]
  ------------------
 2431|      0|                            continue;
 2432|      0|                        case 2:
  ------------------
  |  Branch (2432:25): [True: 0, False: 0]
  ------------------
 2433|      0|                        case 3:
  ------------------
  |  Branch (2433:25): [True: 0, False: 0]
  ------------------
 2434|      0|                            INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2434:29): [True: 0, False: 0]
  ------------------
 2435|      0|                            bb->b_instr[i+1].i_opcode = SWAP;
  ------------------
  |  |  126|      0|#define SWAP                                   113
  ------------------
 2436|      0|                            continue;
 2437|      0|                    }
 2438|      0|                }
 2439|      3|                RETURN_IF_ERROR(fold_tuple_of_constants(bb, i, consts, const_cache, consts_index));
  ------------------
  |  |   25|      3|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 3]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2440|      3|                break;
 2441|      0|            case BUILD_LIST:
  ------------------
  |  |   57|      0|#define BUILD_LIST                              44
  ------------------
  |  Branch (2441:13): [True: 0, False: 45]
  ------------------
 2442|      0|            case BUILD_SET:
  ------------------
  |  |   59|      0|#define BUILD_SET                               46
  ------------------
  |  Branch (2442:13): [True: 0, False: 45]
  ------------------
 2443|      0|                RETURN_IF_ERROR(optimize_lists_and_sets(bb, i, nextop, consts, const_cache, consts_index));
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2444|      0|                break;
 2445|      0|            case POP_JUMP_IF_NOT_NONE:
  ------------------
  |  |  111|      0|#define POP_JUMP_IF_NOT_NONE                    98
  ------------------
  |  Branch (2445:13): [True: 0, False: 45]
  ------------------
 2446|      0|            case POP_JUMP_IF_NONE:
  ------------------
  |  |  110|      0|#define POP_JUMP_IF_NONE                        97
  ------------------
  |  Branch (2446:13): [True: 0, False: 45]
  ------------------
 2447|      0|                switch (target->i_opcode) {
  ------------------
  |  Branch (2447:25): [True: 0, False: 0]
  ------------------
 2448|      0|                    case JUMP:
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (2448:21): [True: 0, False: 0]
  ------------------
 2449|      0|                        i -= jump_thread(bb, inst, target, inst->i_opcode);
 2450|      0|                }
 2451|      0|                break;
 2452|      0|            case POP_JUMP_IF_FALSE:
  ------------------
  |  |  109|      0|#define POP_JUMP_IF_FALSE                       96
  ------------------
  |  Branch (2452:13): [True: 0, False: 45]
  ------------------
 2453|      0|                switch (target->i_opcode) {
  ------------------
  |  Branch (2453:25): [True: 0, False: 0]
  ------------------
 2454|      0|                    case JUMP:
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (2454:21): [True: 0, False: 0]
  ------------------
 2455|      0|                        i -= jump_thread(bb, inst, target, POP_JUMP_IF_FALSE);
  ------------------
  |  |  109|      0|#define POP_JUMP_IF_FALSE                       96
  ------------------
 2456|      0|                }
 2457|      0|                break;
 2458|      0|            case POP_JUMP_IF_TRUE:
  ------------------
  |  |  112|      0|#define POP_JUMP_IF_TRUE                        99
  ------------------
  |  Branch (2458:13): [True: 0, False: 45]
  ------------------
 2459|      0|                switch (target->i_opcode) {
  ------------------
  |  Branch (2459:25): [True: 0, False: 0]
  ------------------
 2460|      0|                    case JUMP:
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (2460:21): [True: 0, False: 0]
  ------------------
 2461|      0|                        i -= jump_thread(bb, inst, target, POP_JUMP_IF_TRUE);
  ------------------
  |  |  112|      0|#define POP_JUMP_IF_TRUE                        99
  ------------------
 2462|      0|                }
 2463|      0|                break;
 2464|      0|            case JUMP_IF_FALSE:
  ------------------
  |  |  246|      0|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (2464:13): [True: 0, False: 45]
  ------------------
 2465|      0|                switch (target->i_opcode) {
  ------------------
  |  Branch (2465:25): [True: 0, False: 0]
  ------------------
 2466|      0|                    case JUMP:
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (2466:21): [True: 0, False: 0]
  ------------------
 2467|      0|                    case JUMP_IF_FALSE:
  ------------------
  |  |  246|      0|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (2467:21): [True: 0, False: 0]
  ------------------
 2468|      0|                        i -= jump_thread(bb, inst, target, JUMP_IF_FALSE);
  ------------------
  |  |  246|      0|#define JUMP_IF_FALSE                          258
  ------------------
 2469|      0|                        continue;
 2470|      0|                    case JUMP_IF_TRUE:
  ------------------
  |  |  247|      0|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (2470:21): [True: 0, False: 0]
  ------------------
 2471|       |                        // No need to check for loops here, a block's b_next
 2472|       |                        // cannot point to itself.
 2473|      0|                        assert(inst->i_target != inst->i_target->b_next);
  ------------------
  |  Branch (2473:25): [True: 0, False: 0]
  ------------------
 2474|      0|                        inst->i_target = inst->i_target->b_next;
 2475|      0|                        i--;
 2476|      0|                        continue;
 2477|      0|                }
 2478|      0|                break;
 2479|      0|            case JUMP_IF_TRUE:
  ------------------
  |  |  247|      0|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (2479:13): [True: 0, False: 45]
  ------------------
 2480|      0|                switch (target->i_opcode) {
  ------------------
  |  Branch (2480:25): [True: 0, False: 0]
  ------------------
 2481|      0|                    case JUMP:
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (2481:21): [True: 0, False: 0]
  ------------------
 2482|      0|                    case JUMP_IF_TRUE:
  ------------------
  |  |  247|      0|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (2482:21): [True: 0, False: 0]
  ------------------
 2483|      0|                        i -= jump_thread(bb, inst, target, JUMP_IF_TRUE);
  ------------------
  |  |  247|      0|#define JUMP_IF_TRUE                           259
  ------------------
 2484|      0|                        continue;
 2485|      0|                    case JUMP_IF_FALSE:
  ------------------
  |  |  246|      0|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (2485:21): [True: 0, False: 0]
  ------------------
 2486|       |                        // No need to check for loops here, a block's b_next
 2487|       |                        // cannot point to itself.
 2488|      0|                        assert(inst->i_target != inst->i_target->b_next);
  ------------------
  |  Branch (2488:25): [True: 0, False: 0]
  ------------------
 2489|      0|                        inst->i_target = inst->i_target->b_next;
 2490|      0|                        i--;
 2491|      0|                        continue;
 2492|      0|                }
 2493|      0|                break;
 2494|      0|            case JUMP:
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (2494:13): [True: 0, False: 45]
  ------------------
 2495|      0|            case JUMP_NO_INTERRUPT:
  ------------------
  |  |  248|      0|#define JUMP_NO_INTERRUPT                      260
  ------------------
  |  Branch (2495:13): [True: 0, False: 45]
  ------------------
 2496|      0|                switch (target->i_opcode) {
  ------------------
  |  Branch (2496:25): [True: 0, False: 0]
  ------------------
 2497|      0|                    case JUMP:
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (2497:21): [True: 0, False: 0]
  ------------------
 2498|      0|                        i -= jump_thread(bb, inst, target, JUMP);
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
 2499|      0|                        continue;
 2500|      0|                    case JUMP_NO_INTERRUPT:
  ------------------
  |  |  248|      0|#define JUMP_NO_INTERRUPT                      260
  ------------------
  |  Branch (2500:21): [True: 0, False: 0]
  ------------------
 2501|      0|                        i -= jump_thread(bb, inst, target, opcode);
 2502|      0|                        continue;
 2503|      0|                }
 2504|      0|                break;
 2505|      0|            case FOR_ITER:
  ------------------
  |  |   78|      0|#define FOR_ITER                                65
  ------------------
  |  Branch (2505:13): [True: 0, False: 45]
  ------------------
 2506|      0|                if (target->i_opcode == JUMP) {
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (2506:21): [True: 0, False: 0]
  ------------------
 2507|       |                    /* This will not work now because the jump (at target) could
 2508|       |                     * be forward or backward and FOR_ITER only jumps forward. We
 2509|       |                     * can re-enable this if ever we implement a backward version
 2510|       |                     * of FOR_ITER.
 2511|       |                     */
 2512|       |                    /*
 2513|       |                    i -= jump_thread(bb, inst, target, FOR_ITER);
 2514|       |                    */
 2515|      0|                }
 2516|      0|                break;
 2517|      0|            case STORE_FAST:
  ------------------
  |  |  121|      0|#define STORE_FAST                             108
  ------------------
  |  Branch (2517:13): [True: 0, False: 45]
  ------------------
 2518|      0|                if (opcode == nextop &&
  ------------------
  |  Branch (2518:21): [True: 0, False: 0]
  ------------------
 2519|      0|                    oparg == bb->b_instr[i+1].i_oparg &&
  ------------------
  |  Branch (2519:21): [True: 0, False: 0]
  ------------------
 2520|      0|                    bb->b_instr[i].i_loc.lineno == bb->b_instr[i+1].i_loc.lineno) {
  ------------------
  |  Branch (2520:21): [True: 0, False: 0]
  ------------------
 2521|      0|                    bb->b_instr[i].i_opcode = POP_TOP;
  ------------------
  |  |   42|      0|#define POP_TOP                                 29
  ------------------
 2522|      0|                    bb->b_instr[i].i_oparg = 0;
 2523|      0|                }
 2524|      0|                break;
 2525|      0|            case SWAP:
  ------------------
  |  |  126|      0|#define SWAP                                   113
  ------------------
  |  Branch (2525:13): [True: 0, False: 45]
  ------------------
 2526|      0|                if (oparg == 1) {
  ------------------
  |  Branch (2526:21): [True: 0, False: 0]
  ------------------
 2527|      0|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2527:21): [True: 0, False: 0]
  ------------------
 2528|      0|                }
 2529|      0|                break;
 2530|      3|            case LOAD_GLOBAL:
  ------------------
  |  |  101|      3|#define LOAD_GLOBAL                             88
  ------------------
  |  Branch (2530:13): [True: 3, False: 42]
  ------------------
 2531|      3|                if (nextop == PUSH_NULL && (oparg & 1) == 0) {
  ------------------
  |  |   44|      6|#define PUSH_NULL                               31
  ------------------
  |  Branch (2531:21): [True: 3, False: 0]
  |  Branch (2531:44): [True: 3, False: 0]
  ------------------
 2532|      3|                    INSTR_SET_OP1(inst, LOAD_GLOBAL, oparg | 1);
  ------------------
  |  |  116|      3|    do { \
  |  |  117|      3|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|      3|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|      3|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|      3|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|      3|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
  |  Branch (2532:21): [True: 3, False: 0]
  ------------------
 2533|      3|                    INSTR_SET_OP0(&bb->b_instr[i + 1], NOP);
  ------------------
  |  |  125|      3|    do { \
  |  |  126|      3|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      3|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      3|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      3|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      3|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
  |  Branch (2533:21): [True: 3, False: 0]
  ------------------
 2534|      3|                }
 2535|      3|                break;
 2536|      3|            case COMPARE_OP:
  ------------------
  |  |   67|      0|#define COMPARE_OP                              54
  ------------------
  |  Branch (2536:13): [True: 0, False: 45]
  ------------------
 2537|      0|                if (nextop == TO_BOOL) {
  ------------------
  |  |   50|      0|#define TO_BOOL                                 37
  ------------------
  |  Branch (2537:21): [True: 0, False: 0]
  ------------------
 2538|      0|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2538:21): [True: 0, False: 0]
  ------------------
 2539|      0|                    INSTR_SET_OP1(&bb->b_instr[i + 1], COMPARE_OP, oparg | 16);
  ------------------
  |  |  116|      0|    do { \
  |  |  117|      0|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|      0|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2539:21): [True: 0, False: 0]
  ------------------
 2540|      0|                    continue;
 2541|      0|                }
 2542|      0|                break;
 2543|      0|            case CONTAINS_OP:
  ------------------
  |  |   68|      0|#define CONTAINS_OP                             55
  ------------------
  |  Branch (2543:13): [True: 0, False: 45]
  ------------------
 2544|      0|            case IS_OP:
  ------------------
  |  |   83|      0|#define IS_OP                                   70
  ------------------
  |  Branch (2544:13): [True: 0, False: 45]
  ------------------
 2545|      0|                if (nextop == TO_BOOL) {
  ------------------
  |  |   50|      0|#define TO_BOOL                                 37
  ------------------
  |  Branch (2545:21): [True: 0, False: 0]
  ------------------
 2546|      0|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2546:21): [True: 0, False: 0]
  ------------------
 2547|      0|                    INSTR_SET_OP1(&bb->b_instr[i + 1], opcode, oparg);
  ------------------
  |  |  116|      0|    do { \
  |  |  117|      0|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|      0|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2547:21): [True: 0, False: 0]
  ------------------
 2548|      0|                    continue;
 2549|      0|                }
 2550|      0|                if (nextop == UNARY_NOT) {
  ------------------
  |  |   53|      0|#define UNARY_NOT                               40
  ------------------
  |  Branch (2550:21): [True: 0, False: 0]
  ------------------
 2551|      0|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2551:21): [True: 0, False: 0]
  ------------------
 2552|      0|                    int inverted = oparg ^ 1;
 2553|      0|                    assert(inverted == 0 || inverted == 1);
  ------------------
  |  Branch (2553:21): [True: 0, False: 0]
  |  Branch (2553:21): [True: 0, False: 0]
  ------------------
 2554|      0|                    INSTR_SET_OP1(&bb->b_instr[i + 1], opcode, inverted);
  ------------------
  |  |  116|      0|    do { \
  |  |  117|      0|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|      0|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2554:21): [True: 0, False: 0]
  ------------------
 2555|      0|                    continue;
 2556|      0|                }
 2557|      0|                break;
 2558|      0|            case TO_BOOL:
  ------------------
  |  |   50|      0|#define TO_BOOL                                 37
  ------------------
  |  Branch (2558:13): [True: 0, False: 45]
  ------------------
 2559|      0|                if (nextop == TO_BOOL) {
  ------------------
  |  |   50|      0|#define TO_BOOL                                 37
  ------------------
  |  Branch (2559:21): [True: 0, False: 0]
  ------------------
 2560|      0|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2560:21): [True: 0, False: 0]
  ------------------
 2561|      0|                    continue;
 2562|      0|                }
 2563|      0|                break;
 2564|      0|            case UNARY_NOT:
  ------------------
  |  |   53|      0|#define UNARY_NOT                               40
  ------------------
  |  Branch (2564:13): [True: 0, False: 45]
  ------------------
 2565|      0|                if (nextop == TO_BOOL) {
  ------------------
  |  |   50|      0|#define TO_BOOL                                 37
  ------------------
  |  Branch (2565:21): [True: 0, False: 0]
  ------------------
 2566|      0|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2566:21): [True: 0, False: 0]
  ------------------
 2567|      0|                    INSTR_SET_OP0(&bb->b_instr[i + 1], UNARY_NOT);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2567:21): [True: 0, False: 0]
  ------------------
 2568|      0|                    continue;
 2569|      0|                }
 2570|      0|                if (nextop == UNARY_NOT) {
  ------------------
  |  |   53|      0|#define UNARY_NOT                               40
  ------------------
  |  Branch (2570:21): [True: 0, False: 0]
  ------------------
 2571|      0|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2571:21): [True: 0, False: 0]
  ------------------
 2572|      0|                    INSTR_SET_OP0(&bb->b_instr[i + 1], NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2572:21): [True: 0, False: 0]
  ------------------
 2573|      0|                    continue;
 2574|      0|                }
 2575|      0|                _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 2576|      0|            case UNARY_INVERT:
  ------------------
  |  |   51|      0|#define UNARY_INVERT                            38
  ------------------
  |  Branch (2576:13): [True: 0, False: 45]
  ------------------
 2577|      0|            case UNARY_NEGATIVE:
  ------------------
  |  |   52|      0|#define UNARY_NEGATIVE                          39
  ------------------
  |  Branch (2577:13): [True: 0, False: 45]
  ------------------
 2578|      0|                RETURN_IF_ERROR(fold_const_unaryop(bb, i, consts, const_cache, consts_index));
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2579|      0|                break;
 2580|      0|            case CALL_INTRINSIC_1:
  ------------------
  |  |   64|      0|#define CALL_INTRINSIC_1                        51
  ------------------
  |  Branch (2580:13): [True: 0, False: 45]
  ------------------
 2581|      0|                if (oparg == INTRINSIC_LIST_TO_TUPLE) {
  ------------------
  |  |   15|      0|#define INTRINSIC_LIST_TO_TUPLE                  6
  ------------------
  |  Branch (2581:21): [True: 0, False: 0]
  ------------------
 2582|      0|                    if (nextop == GET_ITER) {
  ------------------
  |  |   80|      0|#define GET_ITER                                67
  ------------------
  |  Branch (2582:25): [True: 0, False: 0]
  ------------------
 2583|      0|                        INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2583:25): [True: 0, False: 0]
  ------------------
 2584|      0|                    }
 2585|      0|                    else {
 2586|      0|                        RETURN_IF_ERROR(fold_constant_intrinsic_list_to_tuple(bb, i, consts, const_cache, consts_index));
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2587|      0|                    }
 2588|      0|                }
 2589|      0|                else if (oparg == INTRINSIC_UNARY_POSITIVE) {
  ------------------
  |  |   14|      0|#define INTRINSIC_UNARY_POSITIVE                 5
  ------------------
  |  Branch (2589:26): [True: 0, False: 0]
  ------------------
 2590|      0|                    RETURN_IF_ERROR(fold_const_unaryop(bb, i, consts, const_cache, consts_index));
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2591|      0|                }
 2592|      0|                break;
 2593|      0|            case BINARY_OP:
  ------------------
  |  |   55|      0|#define BINARY_OP                               42
  ------------------
  |  Branch (2593:13): [True: 0, False: 45]
  ------------------
 2594|      0|                RETURN_IF_ERROR(fold_const_binop(bb, i, consts, const_cache, consts_index));
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2595|      0|                break;
 2596|     45|        }
 2597|     45|    }
 2598|       |
 2599|     54|    for (int i = 0; i < bb->b_iused; i++) {
  ------------------
  |  Branch (2599:21): [True: 45, False: 9]
  ------------------
 2600|     45|        cfg_instr *inst = &bb->b_instr[i];
 2601|     45|        if (inst->i_opcode == SWAP) {
  ------------------
  |  |  126|     45|#define SWAP                                   113
  ------------------
  |  Branch (2601:13): [True: 0, False: 45]
  ------------------
 2602|      0|            if (swaptimize(bb, &i) < 0) {
  ------------------
  |  Branch (2602:17): [True: 0, False: 0]
  ------------------
 2603|      0|                goto error;
 2604|      0|            }
 2605|      0|            apply_static_swaps(bb, i);
 2606|      0|        }
 2607|     45|    }
 2608|      9|    return SUCCESS;
  ------------------
  |  |   21|      9|#define SUCCESS 0
  ------------------
 2609|      0|error:
 2610|      0|    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2611|      9|}
flowgraph.c:fold_tuple_of_constants:
 1532|      3|{
 1533|       |    /* Pre-conditions */
 1534|      3|    assert(PyDict_CheckExact(const_cache));
  ------------------
  |  Branch (1534:5): [True: 3, False: 0]
  ------------------
 1535|      3|    assert(PyList_CheckExact(consts));
  ------------------
  |  Branch (1535:5): [True: 3, False: 0]
  ------------------
 1536|       |
 1537|      3|    cfg_instr *instr = &bb->b_instr[i];
 1538|      3|    assert(instr->i_opcode == BUILD_TUPLE);
  ------------------
  |  Branch (1538:5): [True: 3, False: 0]
  ------------------
 1539|       |
 1540|      3|    int seq_size = instr->i_oparg;
 1541|      3|    if (seq_size > _PY_STACK_USE_GUIDELINE) {
  ------------------
  |  |   24|      3|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
  |  Branch (1541:9): [True: 0, False: 3]
  ------------------
 1542|      0|        return SUCCESS;
  ------------------
  |  |   21|      0|#define SUCCESS 0
  ------------------
 1543|      0|    }
 1544|       |
 1545|      3|    cfg_instr *const_instrs[_PY_STACK_USE_GUIDELINE];
 1546|      3|    if (!get_const_loading_instrs(bb, i-1, const_instrs, seq_size)) {
  ------------------
  |  Branch (1546:9): [True: 3, False: 0]
  ------------------
 1547|       |        /* not a const sequence */
 1548|      3|        return SUCCESS;
  ------------------
  |  |   21|      3|#define SUCCESS 0
  ------------------
 1549|      3|    }
 1550|       |
 1551|      0|    PyObject *const_tuple = PyTuple_New((Py_ssize_t)seq_size);
 1552|      0|    if (const_tuple == NULL) {
  ------------------
  |  Branch (1552:9): [True: 0, False: 0]
  ------------------
 1553|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1554|      0|    }
 1555|       |
 1556|      0|    for (int i = 0; i < seq_size; i++) {
  ------------------
  |  Branch (1556:21): [True: 0, False: 0]
  ------------------
 1557|      0|        cfg_instr *inst = const_instrs[i];
 1558|      0|        assert(loads_const(inst->i_opcode));
  ------------------
  |  Branch (1558:9): [True: 0, False: 0]
  ------------------
 1559|      0|        PyObject *element = get_const_value(inst->i_opcode, inst->i_oparg, consts);
 1560|      0|        if (element == NULL) {
  ------------------
  |  Branch (1560:13): [True: 0, False: 0]
  ------------------
 1561|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1562|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1563|      0|        }
 1564|      0|        PyTuple_SET_ITEM(const_tuple, i, element);
  ------------------
  |  |   40|      0|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1565|      0|    }
 1566|       |
 1567|      0|    nop_out(const_instrs, seq_size);
 1568|      0|    return instr_make_load_const(instr, const_tuple, consts, const_cache, consts_index);
 1569|      0|}
flowgraph.c:get_const_loading_instrs:
 1392|      3|{
 1393|      3|    assert(start < bb->b_iused);
  ------------------
  |  Branch (1393:5): [True: 3, False: 0]
  ------------------
 1394|      3|    assert(size >= 0);
  ------------------
  |  Branch (1394:5): [True: 3, False: 0]
  ------------------
 1395|      3|    assert(size <= _PY_STACK_USE_GUIDELINE);
  ------------------
  |  Branch (1395:5): [True: 3, False: 0]
  ------------------
 1396|       |
 1397|      3|    for (; start >= 0 && size > 0; start--) {
  ------------------
  |  Branch (1397:12): [True: 3, False: 0]
  |  Branch (1397:26): [True: 3, False: 0]
  ------------------
 1398|      3|        cfg_instr *instr = &bb->b_instr[start];
 1399|      3|        if (instr->i_opcode == NOP) {
  ------------------
  |  |   38|      3|#define NOP                                     25
  ------------------
  |  Branch (1399:13): [True: 0, False: 3]
  ------------------
 1400|      0|            continue;
 1401|      0|        }
 1402|      3|        if (!loads_const(instr->i_opcode)) {
  ------------------
  |  Branch (1402:13): [True: 3, False: 0]
  ------------------
 1403|      3|            return false;
 1404|      3|        }
 1405|      0|        instrs[--size] = instr;
 1406|      0|    }
 1407|       |
 1408|      0|    return size == 0;
 1409|      3|}
flowgraph.c:remove_redundant_nops_and_pairs:
 1133|      6|{
 1134|      6|    bool done = false;
 1135|       |
 1136|     12|    while (! done) {
  ------------------
  |  Branch (1136:12): [True: 6, False: 6]
  ------------------
 1137|      6|        done = true;
 1138|      6|        cfg_instr *prev_instr = NULL;
 1139|      6|        cfg_instr *instr = NULL;
 1140|     15|        for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1140:42): [True: 9, False: 6]
  ------------------
 1141|      9|            RETURN_IF_ERROR(basicblock_remove_redundant_nops(b));
  ------------------
  |  |   25|      9|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 9]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 1142|      9|            if (IS_LABEL(b->b_label)) {
  ------------------
  |  |   96|      9|#define IS_LABEL(L) (!SAME_LABEL((L), (NO_LABEL)))
  |  |  ------------------
  |  |  |  |   95|      9|#define SAME_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  ------------------
  |  |  |  Branch (96:21): [True: 0, False: 9]
  |  |  ------------------
  ------------------
 1143|       |                /* this block is a jump target, forget instr */
 1144|      0|                instr = NULL;
 1145|      0|            }
 1146|     51|            for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (1146:29): [True: 42, False: 9]
  ------------------
 1147|     42|                prev_instr = instr;
 1148|     42|                instr = &b->b_instr[i];
 1149|     42|                int prev_opcode = prev_instr ? prev_instr->i_opcode : 0;
  ------------------
  |  Branch (1149:35): [True: 36, False: 6]
  ------------------
 1150|     42|                int prev_oparg = prev_instr ? prev_instr->i_oparg : 0;
  ------------------
  |  Branch (1150:34): [True: 36, False: 6]
  ------------------
 1151|     42|                int opcode = instr->i_opcode;
 1152|     42|                bool is_redundant_pair = false;
 1153|     42|                if (opcode == POP_TOP) {
  ------------------
  |  |   42|     42|#define POP_TOP                                 29
  ------------------
  |  Branch (1153:21): [True: 0, False: 42]
  ------------------
 1154|      0|                   if (loads_const(prev_opcode)) {
  ------------------
  |  Branch (1154:24): [True: 0, False: 0]
  ------------------
 1155|      0|                       is_redundant_pair = true;
 1156|      0|                   }
 1157|      0|                   else if (prev_opcode == COPY && prev_oparg == 1) {
  ------------------
  |  |   70|      0|#define COPY                                    57
  ------------------
  |  Branch (1157:29): [True: 0, False: 0]
  |  Branch (1157:52): [True: 0, False: 0]
  ------------------
 1158|      0|                       is_redundant_pair = true;
 1159|      0|                   }
 1160|      0|                }
 1161|     42|                if (is_redundant_pair) {
  ------------------
  |  Branch (1161:21): [True: 0, False: 42]
  ------------------
 1162|      0|                    INSTR_SET_OP0(prev_instr, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1162:21): [True: 0, False: 0]
  ------------------
 1163|      0|                    INSTR_SET_OP0(instr, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1163:21): [True: 0, False: 0]
  ------------------
 1164|      0|                    done = false;
 1165|      0|                }
 1166|     42|            }
 1167|      9|            if ((instr && is_jump(instr)) || !BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  251|      9|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  ------------------
  |  Branch (1167:18): [True: 6, False: 3]
  |  Branch (1167:27): [True: 0, False: 6]
  |  Branch (1167:46): [True: 6, False: 3]
  ------------------
 1168|      6|                instr = NULL;
 1169|      6|            }
 1170|      9|        }
 1171|      6|    }
 1172|      6|    return SUCCESS;
  ------------------
  |  |   21|      6|#define SUCCESS 0
  ------------------
 1173|      6|}
flowgraph.c:basicblock_remove_redundant_nops:
 1058|     45|basicblock_remove_redundant_nops(basicblock *bb) {
 1059|       |    /* Remove NOPs when legal to do so. */
 1060|     45|    int dest = 0;
 1061|     45|    int prev_lineno = -1;
 1062|    244|    for (int src = 0; src < bb->b_iused; src++) {
  ------------------
  |  Branch (1062:23): [True: 199, False: 45]
  ------------------
 1063|    199|        int lineno = bb->b_instr[src].i_loc.lineno;
 1064|    199|        if (bb->b_instr[src].i_opcode == NOP) {
  ------------------
  |  |   38|    199|#define NOP                                     25
  ------------------
  |  Branch (1064:13): [True: 10, False: 189]
  ------------------
 1065|       |            /* Eliminate no-op if it doesn't have a line number */
 1066|     10|            if (lineno < 0) {
  ------------------
  |  Branch (1066:17): [True: 0, False: 10]
  ------------------
 1067|      0|                continue;
 1068|      0|            }
 1069|       |            /* or, if the previous instruction had the same line number. */
 1070|     10|            if (prev_lineno == lineno) {
  ------------------
  |  Branch (1070:17): [True: 10, False: 0]
  ------------------
 1071|     10|                continue;
 1072|     10|            }
 1073|       |            /* or, if the next instruction has same line number or no line number */
 1074|      0|            if (src < bb->b_iused - 1) {
  ------------------
  |  Branch (1074:17): [True: 0, False: 0]
  ------------------
 1075|      0|                int next_lineno = bb->b_instr[src+1].i_loc.lineno;
 1076|      0|                if (next_lineno == lineno) {
  ------------------
  |  Branch (1076:21): [True: 0, False: 0]
  ------------------
 1077|      0|                    continue;
 1078|      0|                }
 1079|      0|                if (next_lineno < 0) {
  ------------------
  |  Branch (1079:21): [True: 0, False: 0]
  ------------------
 1080|      0|                    bb->b_instr[src+1].i_loc = bb->b_instr[src].i_loc;
 1081|      0|                    continue;
 1082|      0|                }
 1083|      0|            }
 1084|      0|            else {
 1085|      0|                basicblock *next = next_nonempty_block(bb->b_next);
 1086|       |                /* or if last instruction in BB and next BB has same line number */
 1087|      0|                if (next) {
  ------------------
  |  Branch (1087:21): [True: 0, False: 0]
  ------------------
 1088|      0|                    location next_loc = NO_LOCATION;
 1089|      0|                    for (int next_i=0; next_i < next->b_iused; next_i++) {
  ------------------
  |  Branch (1089:40): [True: 0, False: 0]
  ------------------
 1090|      0|                        cfg_instr *instr = &next->b_instr[next_i];
 1091|      0|                        if (instr->i_opcode == NOP && instr->i_loc.lineno < 0) {
  ------------------
  |  |   38|      0|#define NOP                                     25
  ------------------
  |  Branch (1091:29): [True: 0, False: 0]
  |  Branch (1091:55): [True: 0, False: 0]
  ------------------
 1092|       |                            /* Skip over NOPs without a location, they will be removed */
 1093|      0|                            continue;
 1094|      0|                        }
 1095|      0|                        next_loc = instr->i_loc;
 1096|      0|                        break;
 1097|      0|                    }
 1098|      0|                    if (lineno == next_loc.lineno) {
  ------------------
  |  Branch (1098:25): [True: 0, False: 0]
  ------------------
 1099|      0|                        continue;
 1100|      0|                    }
 1101|      0|                }
 1102|      0|            }
 1103|       |
 1104|      0|        }
 1105|    189|        if (dest != src) {
  ------------------
  |  Branch (1105:13): [True: 38, False: 151]
  ------------------
 1106|     38|            bb->b_instr[dest] = bb->b_instr[src];
 1107|     38|        }
 1108|    189|        dest++;
 1109|    189|        prev_lineno = lineno;
 1110|    189|    }
 1111|     45|    assert(dest <= bb->b_iused);
  ------------------
  |  Branch (1111:5): [True: 45, False: 0]
  ------------------
 1112|     45|    int num_removed = bb->b_iused - dest;
 1113|     45|    bb->b_iused = dest;
 1114|     45|    memset(&bb->b_instr[dest], 0, sizeof(cfg_instr) * num_removed);
 1115|     45|    return num_removed;
 1116|     45|}
flowgraph.c:remove_redundant_nops_and_jumps:
 2617|     12|{
 2618|     12|    int removed_nops, removed_jumps;
 2619|     12|    do {
 2620|       |        /* Convergence is guaranteed because the number of
 2621|       |         * redundant jumps and nops only decreases.
 2622|       |         */
 2623|     12|        removed_nops = remove_redundant_nops(g);
 2624|     12|        RETURN_IF_ERROR(removed_nops);
  ------------------
  |  |   25|     12|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 12]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2625|     12|        removed_jumps = remove_redundant_jumps(g);
 2626|     12|        RETURN_IF_ERROR(removed_jumps);
  ------------------
  |  |   25|     12|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 12]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2627|     12|    } while(removed_nops + removed_jumps > 0);
  ------------------
  |  Branch (2627:13): [True: 0, False: 12]
  ------------------
 2628|     12|    return SUCCESS;
  ------------------
  |  |   21|     12|#define SUCCESS 0
  ------------------
 2629|     12|}
flowgraph.c:remove_redundant_nops:
 1119|     24|remove_redundant_nops(cfg_builder *g) {
 1120|     24|    int changes = 0;
 1121|     60|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1121:43): [True: 36, False: 24]
  ------------------
 1122|     36|        int change = basicblock_remove_redundant_nops(b);
 1123|     36|        RETURN_IF_ERROR(change);
  ------------------
  |  |   25|     36|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 36]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 1124|     36|        changes += change;
 1125|     36|    }
 1126|     24|    return changes;
 1127|     24|}
flowgraph.c:remove_redundant_jumps:
 1176|     12|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|     12|    int changes = 0;
 1186|     30|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1186:43): [True: 18, False: 12]
  ------------------
 1187|     18|        cfg_instr *last = basicblock_last_instr(b);
 1188|     18|        if (last == NULL) {
  ------------------
  |  Branch (1188:13): [True: 6, False: 12]
  ------------------
 1189|      6|            continue;
 1190|      6|        }
 1191|     18|        assert(!IS_ASSEMBLER_OPCODE(last->i_opcode));
  ------------------
  |  Branch (1191:9): [True: 0, False: 12]
  |  Branch (1191:9): [True: 0, False: 12]
  |  Branch (1191:9): [True: 0, False: 12]
  ------------------
 1192|     12|        if (IS_UNCONDITIONAL_JUMP_OPCODE(last->i_opcode)) {
  ------------------
  |  |   40|     12|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  245|     24|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 0, False: 12]
  |  |  ------------------
  |  |   41|     12|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  248|     24|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 0, False: 12]
  |  |  ------------------
  |  |   42|     12|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   86|     24|#define JUMP_FORWARD                            73
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 12]
  |  |  ------------------
  |  |   43|     12|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   84|     24|#define JUMP_BACKWARD                           71
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 12]
  |  |  ------------------
  |  |   44|     12|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   85|     12|#define JUMP_BACKWARD_NO_INTERRUPT              72
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 12]
  |  |  ------------------
  ------------------
 1193|      0|            basicblock* jump_target = next_nonempty_block(last->i_target);
 1194|      0|            if (jump_target == NULL) {
  ------------------
  |  Branch (1194:17): [True: 0, False: 0]
  ------------------
 1195|      0|                PyErr_SetString(PyExc_SystemError, "jump with NULL target");
 1196|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1197|      0|            }
 1198|      0|            basicblock *next = next_nonempty_block(b->b_next);
 1199|      0|            if (jump_target == next) {
  ------------------
  |  Branch (1199:17): [True: 0, False: 0]
  ------------------
 1200|      0|                changes++;
 1201|      0|                INSTR_SET_OP0(last, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1201:17): [True: 0, False: 0]
  ------------------
 1202|      0|            }
 1203|      0|        }
 1204|     12|    }
 1205|       |
 1206|     12|    return changes;
 1207|     12|}
flowgraph.c:remove_unused_consts:
 3268|      6|{
 3269|      6|    assert(PyList_CheckExact(consts));
  ------------------
  |  Branch (3269:5): [True: 6, False: 0]
  ------------------
 3270|      6|    Py_ssize_t nconsts = PyList_GET_SIZE(consts);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3271|      6|    if (nconsts == 0) {
  ------------------
  |  Branch (3271:9): [True: 0, False: 6]
  ------------------
 3272|      0|        return SUCCESS;  /* nothing to do */
  ------------------
  |  |   21|      0|#define SUCCESS 0
  ------------------
 3273|      0|    }
 3274|       |
 3275|      6|    Py_ssize_t *index_map = NULL;
 3276|      6|    Py_ssize_t *reverse_index_map = NULL;
 3277|      6|    int err = ERROR;
  ------------------
  |  |   22|      6|#define ERROR -1
  ------------------
 3278|       |
 3279|      6|    index_map = PyMem_Malloc(nconsts * sizeof(Py_ssize_t));
 3280|      6|    if (index_map == NULL) {
  ------------------
  |  Branch (3280:9): [True: 0, False: 6]
  ------------------
 3281|      0|        PyErr_NoMemory();
 3282|      0|        goto end;
 3283|      0|    }
 3284|      6|    for (Py_ssize_t i = 1; i < nconsts; i++) {
  ------------------
  |  Branch (3284:28): [True: 0, False: 6]
  ------------------
 3285|      0|        index_map[i] = -1;
 3286|      0|    }
 3287|       |    // The first constant may be docstring; keep it always.
 3288|      6|    index_map[0] = 0;
 3289|       |
 3290|       |    /* mark used consts */
 3291|     15|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3291:38): [True: 9, False: 6]
  ------------------
 3292|     51|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3292:25): [True: 42, False: 9]
  ------------------
 3293|     42|            int opcode = b->b_instr[i].i_opcode;
 3294|     42|            if (OPCODE_HAS_CONST(opcode)) {
  ------------------
  |  | 1063|     42|#define OPCODE_HAS_CONST(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_CONST_FLAG))
  |  |  ------------------
  |  |  |  | 1044|     42|#define HAS_CONST_FLAG (2)
  |  |  ------------------
  |  |  |  Branch (1063:30): [True: 3, False: 39]
  |  |  ------------------
  ------------------
 3295|      3|                int index = b->b_instr[i].i_oparg;
 3296|      3|                index_map[index] = index;
 3297|      3|            }
 3298|     42|        }
 3299|      9|    }
 3300|       |    /* now index_map[i] == i if consts[i] is used, -1 otherwise */
 3301|       |    /* condense consts */
 3302|      6|    Py_ssize_t n_used_consts = 0;
 3303|     12|    for (Py_ssize_t i = 0; i < nconsts; i++) {
  ------------------
  |  Branch (3303:28): [True: 6, False: 6]
  ------------------
 3304|      6|        if (index_map[i] != -1) {
  ------------------
  |  Branch (3304:13): [True: 6, False: 0]
  ------------------
 3305|      6|            assert(index_map[i] == i);
  ------------------
  |  Branch (3305:13): [True: 6, False: 0]
  ------------------
 3306|      6|            index_map[n_used_consts++] = index_map[i];
 3307|      6|        }
 3308|      6|    }
 3309|      6|    if (n_used_consts == nconsts) {
  ------------------
  |  Branch (3309:9): [True: 6, False: 0]
  ------------------
 3310|       |        /* nothing to do */
 3311|      6|        err = SUCCESS;
  ------------------
  |  |   21|      6|#define SUCCESS 0
  ------------------
 3312|      6|        goto end;
 3313|      6|    }
 3314|       |
 3315|       |    /* move all used consts to the beginning of the consts list */
 3316|      6|    assert(n_used_consts < nconsts);
  ------------------
  |  Branch (3316:5): [True: 0, False: 0]
  ------------------
 3317|      0|    for (Py_ssize_t i = 0; i < n_used_consts; i++) {
  ------------------
  |  Branch (3317:28): [True: 0, False: 0]
  ------------------
 3318|      0|        Py_ssize_t old_index = index_map[i];
 3319|      0|        assert(i <= old_index && old_index < nconsts);
  ------------------
  |  Branch (3319:9): [True: 0, False: 0]
  |  Branch (3319:9): [True: 0, False: 0]
  ------------------
 3320|      0|        if (i != old_index) {
  ------------------
  |  Branch (3320:13): [True: 0, False: 0]
  ------------------
 3321|      0|            PyObject *value = PyList_GET_ITEM(consts, index_map[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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3321:31): [True: 0, False: 0]
  ------------------
 3322|      0|            assert(value != NULL);
  ------------------
  |  Branch (3322:13): [True: 0, False: 0]
  ------------------
 3323|      0|            PyList_SetItem(consts, i, 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3324|      0|        }
 3325|      0|    }
 3326|       |
 3327|       |    /* truncate the consts list at its new size */
 3328|      0|    if (PyList_SetSlice(consts, n_used_consts, nconsts, NULL) < 0) {
  ------------------
  |  Branch (3328:9): [True: 0, False: 0]
  ------------------
 3329|      0|        goto end;
 3330|      0|    }
 3331|       |    /* adjust const indices in the bytecode */
 3332|      0|    reverse_index_map = PyMem_Malloc(nconsts * sizeof(Py_ssize_t));
 3333|      0|    if (reverse_index_map == NULL) {
  ------------------
  |  Branch (3333:9): [True: 0, False: 0]
  ------------------
 3334|      0|        PyErr_NoMemory();
 3335|      0|        goto end;
 3336|      0|    }
 3337|      0|    for (Py_ssize_t i = 0; i < nconsts; i++) {
  ------------------
  |  Branch (3337:28): [True: 0, False: 0]
  ------------------
 3338|      0|        reverse_index_map[i] = -1;
 3339|      0|    }
 3340|      0|    for (Py_ssize_t i = 0; i < n_used_consts; i++) {
  ------------------
  |  Branch (3340:28): [True: 0, False: 0]
  ------------------
 3341|      0|        assert(index_map[i] != -1);
  ------------------
  |  Branch (3341:9): [True: 0, False: 0]
  ------------------
 3342|      0|        assert(reverse_index_map[index_map[i]] == -1);
  ------------------
  |  Branch (3342:9): [True: 0, False: 0]
  ------------------
 3343|      0|        reverse_index_map[index_map[i]] = i;
 3344|      0|    }
 3345|       |
 3346|      0|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3346:38): [True: 0, False: 0]
  ------------------
 3347|      0|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3347:25): [True: 0, False: 0]
  ------------------
 3348|      0|            int opcode = b->b_instr[i].i_opcode;
 3349|      0|            if (OPCODE_HAS_CONST(opcode)) {
  ------------------
  |  | 1063|      0|#define OPCODE_HAS_CONST(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_CONST_FLAG))
  |  |  ------------------
  |  |  |  | 1044|      0|#define HAS_CONST_FLAG (2)
  |  |  ------------------
  |  |  |  Branch (1063:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3350|      0|                int index = b->b_instr[i].i_oparg;
 3351|      0|                assert(reverse_index_map[index] >= 0);
  ------------------
  |  Branch (3351:17): [True: 0, False: 0]
  ------------------
 3352|      0|                assert(reverse_index_map[index] < n_used_consts);
  ------------------
  |  Branch (3352:17): [True: 0, False: 0]
  ------------------
 3353|      0|                b->b_instr[i].i_oparg = (int)reverse_index_map[index];
 3354|      0|            }
 3355|      0|        }
 3356|      0|    }
 3357|       |
 3358|      0|    err = SUCCESS;
  ------------------
  |  |   21|      0|#define SUCCESS 0
  ------------------
 3359|      6|end:
 3360|      6|    PyMem_Free(index_map);
 3361|      6|    PyMem_Free(reverse_index_map);
 3362|      6|    return err;
 3363|      0|}
flowgraph.c:add_checks_for_loads_of_uninitialized_variables:
 3371|      6|{
 3372|      6|    if (nlocals == 0) {
  ------------------
  |  Branch (3372:9): [True: 3, False: 3]
  ------------------
 3373|      3|        return SUCCESS;
  ------------------
  |  |   21|      3|#define SUCCESS 0
  ------------------
 3374|      3|    }
 3375|      3|    if (nlocals > 64) {
  ------------------
  |  Branch (3375:9): [True: 0, False: 3]
  ------------------
 3376|       |        // To avoid O(nlocals**2) compilation, locals beyond the first
 3377|       |        // 64 are only analyzed one basicblock at a time: initialization
 3378|       |        // info is not passed between basicblocks.
 3379|      0|        if (fast_scan_many_locals(entryblock, nlocals) < 0) {
  ------------------
  |  Branch (3379:13): [True: 0, False: 0]
  ------------------
 3380|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3381|      0|        }
 3382|      0|        nlocals = 64;
 3383|      0|    }
 3384|      3|    basicblock **stack = make_cfg_traversal_stack(entryblock);
 3385|      3|    if (stack == NULL) {
  ------------------
  |  Branch (3385:9): [True: 0, False: 3]
  ------------------
 3386|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3387|      0|    }
 3388|      3|    basicblock **sp = stack;
 3389|       |
 3390|       |    // First origin of being uninitialized:
 3391|       |    // The non-parameter locals in the entry block.
 3392|      3|    uint64_t start_mask = 0;
 3393|      3|    for (int i = nparams; i < nlocals; i++) {
  ------------------
  |  Branch (3393:27): [True: 0, False: 3]
  ------------------
 3394|      0|        start_mask |= (uint64_t)1 << i;
 3395|      0|    }
 3396|      3|    maybe_push(entryblock, start_mask, &sp);
 3397|       |
 3398|       |    // Second origin of being uninitialized:
 3399|       |    // There could be DELETE_FAST somewhere, so
 3400|       |    // be sure to scan each basicblock at least once.
 3401|      9|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3401:38): [True: 6, False: 3]
  ------------------
 3402|      6|        scan_block_for_locals(b, &sp);
 3403|      6|    }
 3404|       |    // Now propagate the uncertainty from the origins we found: Use
 3405|       |    // LOAD_FAST_CHECK for any LOAD_FAST where the local could be undefined.
 3406|      3|    while (sp > stack) {
  ------------------
  |  Branch (3406:12): [True: 0, False: 3]
  ------------------
 3407|      0|        basicblock *b = *--sp;
 3408|       |        // mark as no longer on stack
 3409|      0|        b->b_visited = 0;
 3410|      0|        scan_block_for_locals(b, &sp);
 3411|      0|    }
 3412|      3|    PyMem_Free(stack);
 3413|      3|    return SUCCESS;
  ------------------
  |  |   21|      3|#define SUCCESS 0
  ------------------
 3414|      3|}
flowgraph.c:maybe_push:
 3156|      3|{
 3157|       |    // Push b if the unsafe mask is giving us any new information.
 3158|       |    // To avoid overflowing the stack, only allow each block once.
 3159|       |    // Use b->b_visited=1 to mean that b is currently on the stack.
 3160|      3|    uint64_t both = b->b_unsafe_locals_mask | unsafe_mask;
 3161|      3|    if (b->b_unsafe_locals_mask != both) {
  ------------------
  |  Branch (3161:9): [True: 0, False: 3]
  ------------------
 3162|      0|        b->b_unsafe_locals_mask = both;
 3163|       |        // More work left to do.
 3164|      0|        if (!b->b_visited) {
  ------------------
  |  Branch (3164:13): [True: 0, False: 0]
  ------------------
 3165|       |            // not on the stack, so push it.
 3166|      0|            *(*sp)++ = b;
 3167|      0|            b->b_visited = 1;
 3168|      0|        }
 3169|      0|    }
 3170|      3|}
flowgraph.c:scan_block_for_locals:
 3174|      6|{
 3175|       |    // bit i is set if local i is potentially uninitialized
 3176|      6|    uint64_t unsafe_mask = b->b_unsafe_locals_mask;
 3177|     36|    for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3177:21): [True: 30, False: 6]
  ------------------
 3178|     30|        cfg_instr *instr = &b->b_instr[i];
 3179|     30|        assert(instr->i_opcode != EXTENDED_ARG);
  ------------------
  |  Branch (3179:9): [True: 30, False: 0]
  ------------------
 3180|     30|        if (instr->i_except != NULL) {
  ------------------
  |  Branch (3180:13): [True: 0, False: 30]
  ------------------
 3181|      0|            maybe_push(instr->i_except, unsafe_mask, sp);
 3182|      0|        }
 3183|     30|        if (instr->i_oparg >= 64) {
  ------------------
  |  Branch (3183:13): [True: 0, False: 30]
  ------------------
 3184|      0|            continue;
 3185|      0|        }
 3186|     30|        assert(instr->i_oparg >= 0);
  ------------------
  |  Branch (3186:9): [True: 30, False: 0]
  ------------------
 3187|     30|        uint64_t bit = (uint64_t)1 << instr->i_oparg;
 3188|     30|        switch (instr->i_opcode) {
  ------------------
  |  Branch (3188:17): [True: 15, False: 15]
  ------------------
 3189|      0|            case DELETE_FAST:
  ------------------
  |  |   73|      0|#define DELETE_FAST                             60
  ------------------
  |  Branch (3189:13): [True: 0, False: 30]
  ------------------
 3190|      0|            case LOAD_FAST_AND_CLEAR:
  ------------------
  |  |   94|      0|#define LOAD_FAST_AND_CLEAR                     81
  ------------------
  |  Branch (3190:13): [True: 0, False: 30]
  ------------------
 3191|      0|            case STORE_FAST_MAYBE_NULL:
  ------------------
  |  |  254|      0|#define STORE_FAST_MAYBE_NULL                  266
  ------------------
  |  Branch (3191:13): [True: 0, False: 30]
  ------------------
 3192|      0|                unsafe_mask |= bit;
 3193|      0|                break;
 3194|      0|            case STORE_FAST:
  ------------------
  |  |  121|      0|#define STORE_FAST                             108
  ------------------
  |  Branch (3194:13): [True: 0, False: 30]
  ------------------
 3195|      0|                unsafe_mask &= ~bit;
 3196|      0|                break;
 3197|      0|            case LOAD_FAST_CHECK:
  ------------------
  |  |   97|      0|#define LOAD_FAST_CHECK                         84
  ------------------
  |  Branch (3197:13): [True: 0, False: 30]
  ------------------
 3198|       |                // If this doesn't raise, then the local is defined.
 3199|      0|                unsafe_mask &= ~bit;
 3200|      0|                break;
 3201|     15|            case LOAD_FAST:
  ------------------
  |  |   93|     15|#define LOAD_FAST                               80
  ------------------
  |  Branch (3201:13): [True: 15, False: 15]
  ------------------
 3202|     15|                if (unsafe_mask & bit) {
  ------------------
  |  Branch (3202:21): [True: 0, False: 15]
  ------------------
 3203|      0|                    instr->i_opcode = LOAD_FAST_CHECK;
  ------------------
  |  |   97|      0|#define LOAD_FAST_CHECK                         84
  ------------------
 3204|      0|                }
 3205|     15|                unsafe_mask &= ~bit;
 3206|     15|                break;
 3207|     30|        }
 3208|     30|    }
 3209|      6|    if (b->b_next && BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  251|      3|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 0, False: 3]
  |  |  ------------------
  ------------------
  |  Branch (3209:9): [True: 3, False: 3]
  ------------------
 3210|      0|        maybe_push(b->b_next, unsafe_mask, sp);
 3211|      0|    }
 3212|      6|    cfg_instr *last = basicblock_last_instr(b);
 3213|      6|    if (last && is_jump(last)) {
  ------------------
  |  Branch (3213:9): [True: 3, False: 3]
  |  Branch (3213:17): [True: 0, False: 3]
  ------------------
 3214|      0|        assert(last->i_target != NULL);
  ------------------
  |  Branch (3214:9): [True: 0, False: 0]
  ------------------
 3215|      0|        maybe_push(last->i_target, unsafe_mask, sp);
 3216|      0|    }
 3217|      6|}
flowgraph.c:insert_superinstructions:
 2676|      6|{
 2677|     15|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (2677:43): [True: 9, False: 6]
  ------------------
 2678|       |
 2679|     51|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (2679:25): [True: 42, False: 9]
  ------------------
 2680|     42|            cfg_instr *inst = &b->b_instr[i];
 2681|     42|            int nextop = i+1 < b->b_iused ? b->b_instr[i+1].i_opcode : 0;
  ------------------
  |  Branch (2681:26): [True: 36, False: 6]
  ------------------
 2682|     42|            switch(inst->i_opcode) {
  ------------------
  |  Branch (2682:20): [True: 8, False: 34]
  ------------------
 2683|      8|                case LOAD_FAST:
  ------------------
  |  |   93|      8|#define LOAD_FAST                               80
  ------------------
  |  Branch (2683:17): [True: 8, False: 34]
  ------------------
 2684|      8|                    if (nextop == LOAD_FAST) {
  ------------------
  |  |   93|      8|#define LOAD_FAST                               80
  ------------------
  |  Branch (2684:25): [True: 7, False: 1]
  ------------------
 2685|      7|                        make_super_instruction(inst, &b->b_instr[i + 1], LOAD_FAST_LOAD_FAST);
  ------------------
  |  |   98|      7|#define LOAD_FAST_LOAD_FAST                     85
  ------------------
 2686|      7|                    }
 2687|      8|                    break;
 2688|      0|                case STORE_FAST:
  ------------------
  |  |  121|      0|#define STORE_FAST                             108
  ------------------
  |  Branch (2688:17): [True: 0, False: 42]
  ------------------
 2689|      0|                    switch (nextop) {
  ------------------
  |  Branch (2689:29): [True: 0, False: 0]
  ------------------
 2690|      0|                        case LOAD_FAST:
  ------------------
  |  |   93|      0|#define LOAD_FAST                               80
  ------------------
  |  Branch (2690:25): [True: 0, False: 0]
  ------------------
 2691|      0|                            make_super_instruction(inst, &b->b_instr[i + 1], STORE_FAST_LOAD_FAST);
  ------------------
  |  |  122|      0|#define STORE_FAST_LOAD_FAST                   109
  ------------------
 2692|      0|                            break;
 2693|      0|                        case STORE_FAST:
  ------------------
  |  |  121|      0|#define STORE_FAST                             108
  ------------------
  |  Branch (2693:25): [True: 0, False: 0]
  ------------------
 2694|      0|                            make_super_instruction(inst, &b->b_instr[i + 1], STORE_FAST_STORE_FAST);
  ------------------
  |  |  123|      0|#define STORE_FAST_STORE_FAST                  110
  ------------------
 2695|      0|                            break;
 2696|      0|                    }
 2697|      0|                    break;
 2698|     42|            }
 2699|     42|        }
 2700|      9|    }
 2701|      6|    int res = remove_redundant_nops(g);
 2702|      6|    assert(no_redundant_nops(g));
  ------------------
  |  Branch (2702:5): [True: 6, False: 0]
  ------------------
 2703|      6|    return res;
 2704|      6|}
flowgraph.c:make_super_instruction:
 2660|      7|{
 2661|      7|    int32_t line1 = inst1->i_loc.lineno;
 2662|      7|    int32_t line2 = inst2->i_loc.lineno;
 2663|       |    /* Skip if instructions are on different lines */
 2664|      7|    if (line1 >= 0 && line2 >= 0 && line1 != line2) {
  ------------------
  |  Branch (2664:9): [True: 7, False: 0]
  |  Branch (2664:23): [True: 7, False: 0]
  |  Branch (2664:37): [True: 0, False: 7]
  ------------------
 2665|      0|        return;
 2666|      0|    }
 2667|      7|    if (inst1->i_oparg >= 16 || inst2->i_oparg >= 16) {
  ------------------
  |  Branch (2667:9): [True: 0, False: 7]
  |  Branch (2667:33): [True: 0, False: 7]
  ------------------
 2668|      0|        return;
 2669|      0|    }
 2670|      7|    INSTR_SET_OP1(inst1, super_op, (inst1->i_oparg << 4) | inst2->i_oparg);
  ------------------
  |  |  116|      7|    do { \
  |  |  117|      7|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|      7|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|      7|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|      7|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|      7|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
  |  Branch (2670:5): [True: 7, False: 0]
  ------------------
 2671|      7|    INSTR_SET_OP0(inst2, NOP);
  ------------------
  |  |  125|      7|    do { \
  |  |  126|      7|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      7|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      7|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      7|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      7|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
  |  Branch (2671:5): [True: 7, False: 0]
  ------------------
 2672|      7|}
flowgraph.c:no_redundant_nops:
  515|      6|no_redundant_nops(cfg_builder *g) {
  516|      6|    if (remove_redundant_nops(g) != 0) {
  ------------------
  |  Branch (516:9): [True: 0, False: 6]
  ------------------
  517|      0|        return false;
  518|      0|    }
  519|      6|    return true;
  520|      6|}
flowgraph.c:push_cold_blocks_to_end:
 3499|      6|push_cold_blocks_to_end(cfg_builder *g) {
 3500|      6|    basicblock *entryblock = g->g_entryblock;
 3501|      6|    if (entryblock->b_next == NULL) {
  ------------------
  |  Branch (3501:9): [True: 3, False: 3]
  ------------------
 3502|       |        /* single basicblock, no need to reorder */
 3503|      3|        return SUCCESS;
  ------------------
  |  |   21|      3|#define SUCCESS 0
  ------------------
 3504|      3|    }
 3505|      3|    RETURN_IF_ERROR(mark_cold(entryblock));
  ------------------
  |  |   25|      3|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 3]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3506|       |
 3507|      3|    int next_lbl = get_max_label(g->g_entryblock) + 1;
 3508|       |
 3509|       |    /* If we have a cold block with fallthrough to a warm block, add */
 3510|       |    /* an explicit jump instead of fallthrough */
 3511|      9|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3511:38): [True: 6, False: 3]
  ------------------
 3512|      6|        if (b->b_cold && BB_HAS_FALLTHROUGH(b) && b->b_next && b->b_next->b_warm) {
  ------------------
  |  |  251|      6|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (3512:13): [True: 0, False: 6]
  |  Branch (3512:51): [True: 0, False: 0]
  |  Branch (3512:64): [True: 0, False: 0]
  ------------------
 3513|      0|            basicblock *explicit_jump = cfg_builder_new_block(g);
 3514|      0|            if (explicit_jump == NULL) {
  ------------------
  |  Branch (3514:17): [True: 0, False: 0]
  ------------------
 3515|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3516|      0|            }
 3517|      0|            if (!IS_LABEL(b->b_next->b_label)) {
  ------------------
  |  |   96|      0|#define IS_LABEL(L) (!SAME_LABEL((L), (NO_LABEL)))
  |  |  ------------------
  |  |  |  |   95|      0|#define SAME_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  ------------------
  ------------------
  |  Branch (3517:17): [True: 0, False: 0]
  ------------------
 3518|      0|                b->b_next->b_label.id = next_lbl++;
 3519|      0|            }
 3520|      0|            basicblock_addop(explicit_jump, JUMP_NO_INTERRUPT, b->b_next->b_label.id,
  ------------------
  |  |  248|      0|#define JUMP_NO_INTERRUPT                      260
  ------------------
 3521|      0|                             NO_LOCATION);
 3522|      0|            explicit_jump->b_cold = 1;
 3523|      0|            explicit_jump->b_next = b->b_next;
 3524|      0|            explicit_jump->b_predecessors = 1;
 3525|      0|            b->b_next = explicit_jump;
 3526|       |
 3527|       |            /* set target */
 3528|      0|            cfg_instr *last = basicblock_last_instr(explicit_jump);
 3529|      0|            last->i_target = explicit_jump->b_next;
 3530|      0|        }
 3531|      6|    }
 3532|       |
 3533|      3|    assert(!entryblock->b_cold);  /* First block can't be cold */
  ------------------
  |  Branch (3533:5): [True: 3, False: 0]
  ------------------
 3534|      3|    basicblock *cold_blocks = NULL;
 3535|      3|    basicblock *cold_blocks_tail = NULL;
 3536|       |
 3537|      3|    basicblock *b = entryblock;
 3538|      3|    while(b->b_next) {
  ------------------
  |  Branch (3538:11): [True: 3, False: 0]
  ------------------
 3539|      3|        assert(!b->b_cold);
  ------------------
  |  Branch (3539:9): [True: 3, False: 0]
  ------------------
 3540|      6|        while (b->b_next && !b->b_next->b_cold) {
  ------------------
  |  Branch (3540:16): [True: 3, False: 3]
  |  Branch (3540:29): [True: 3, False: 0]
  ------------------
 3541|      3|            b = b->b_next;
 3542|      3|        }
 3543|      3|        if (b->b_next == NULL) {
  ------------------
  |  Branch (3543:13): [True: 3, False: 0]
  ------------------
 3544|       |            /* no more cold blocks */
 3545|      3|            break;
 3546|      3|        }
 3547|       |
 3548|       |        /* b->b_next is the beginning of a cold streak */
 3549|      3|        assert(!b->b_cold && b->b_next->b_cold);
  ------------------
  |  Branch (3549:9): [True: 0, False: 0]
  |  Branch (3549:9): [True: 0, False: 0]
  ------------------
 3550|       |
 3551|      0|        basicblock *b_end = b->b_next;
 3552|      0|        while (b_end->b_next && b_end->b_next->b_cold) {
  ------------------
  |  Branch (3552:16): [True: 0, False: 0]
  |  Branch (3552:33): [True: 0, False: 0]
  ------------------
 3553|      0|            b_end = b_end->b_next;
 3554|      0|        }
 3555|       |
 3556|       |        /* b_end is the end of the cold streak */
 3557|      0|        assert(b_end && b_end->b_cold);
  ------------------
  |  Branch (3557:9): [True: 0, False: 0]
  |  Branch (3557:9): [True: 0, False: 0]
  ------------------
 3558|      0|        assert(b_end->b_next == NULL || !b_end->b_next->b_cold);
  ------------------
  |  Branch (3558:9): [True: 0, False: 0]
  |  Branch (3558:9): [True: 0, False: 0]
  ------------------
 3559|       |
 3560|      0|        if (cold_blocks == NULL) {
  ------------------
  |  Branch (3560:13): [True: 0, False: 0]
  ------------------
 3561|      0|            cold_blocks = b->b_next;
 3562|      0|        }
 3563|      0|        else {
 3564|      0|            cold_blocks_tail->b_next = b->b_next;
 3565|      0|        }
 3566|      0|        cold_blocks_tail = b_end;
 3567|      0|        b->b_next = b_end->b_next;
 3568|      0|        b_end->b_next = NULL;
 3569|      0|    }
 3570|      3|    assert(b != NULL && b->b_next == NULL);
  ------------------
  |  Branch (3570:5): [True: 3, False: 0]
  |  Branch (3570:5): [True: 3, False: 0]
  ------------------
 3571|      3|    b->b_next = cold_blocks;
 3572|       |
 3573|      3|    if (cold_blocks != NULL) {
  ------------------
  |  Branch (3573:9): [True: 0, False: 3]
  ------------------
 3574|      0|        RETURN_IF_ERROR(remove_redundant_nops_and_jumps(g));
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3575|      0|    }
 3576|      3|    return SUCCESS;
  ------------------
  |  |   21|      3|#define SUCCESS 0
  ------------------
 3577|      3|}
flowgraph.c:mark_cold:
 3449|      3|mark_cold(basicblock *entryblock) {
 3450|      9|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3450:38): [True: 6, False: 3]
  ------------------
 3451|      6|        assert(!b->b_cold && !b->b_warm);
  ------------------
  |  Branch (3451:9): [True: 6, False: 0]
  |  Branch (3451:9): [True: 6, False: 0]
  ------------------
 3452|      6|    }
 3453|      3|    if (mark_warm(entryblock) < 0) {
  ------------------
  |  Branch (3453:9): [True: 0, False: 3]
  ------------------
 3454|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3455|      0|    }
 3456|       |
 3457|      3|    basicblock **stack = make_cfg_traversal_stack(entryblock);
 3458|      3|    if (stack == NULL) {
  ------------------
  |  Branch (3458:9): [True: 0, False: 3]
  ------------------
 3459|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3460|      0|    }
 3461|       |
 3462|      3|    basicblock **sp = stack;
 3463|      9|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3463:38): [True: 6, False: 3]
  ------------------
 3464|      6|        if (b->b_except_handler) {
  ------------------
  |  Branch (3464:13): [True: 0, False: 6]
  ------------------
 3465|      0|            assert(!b->b_warm);
  ------------------
  |  Branch (3465:13): [True: 0, False: 0]
  ------------------
 3466|      0|            *sp++ = b;
 3467|      0|            b->b_visited = 1;
 3468|      0|        }
 3469|      6|    }
 3470|       |
 3471|      3|    while (sp > stack) {
  ------------------
  |  Branch (3471:12): [True: 0, False: 3]
  ------------------
 3472|      0|        basicblock *b = *(--sp);
 3473|      0|        b->b_cold = 1;
 3474|      0|        basicblock *next = b->b_next;
 3475|      0|        if (next && BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  251|      0|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (3475:13): [True: 0, False: 0]
  ------------------
 3476|      0|            if (!next->b_warm && !next->b_visited) {
  ------------------
  |  Branch (3476:17): [True: 0, False: 0]
  |  Branch (3476:34): [True: 0, False: 0]
  ------------------
 3477|      0|                *sp++ = next;
 3478|      0|                next->b_visited = 1;
 3479|      0|            }
 3480|      0|        }
 3481|      0|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3481:25): [True: 0, False: 0]
  ------------------
 3482|      0|            cfg_instr *instr = &b->b_instr[i];
 3483|      0|            if (is_jump(instr)) {
  ------------------
  |  Branch (3483:17): [True: 0, False: 0]
  ------------------
 3484|      0|                assert(i == b->b_iused - 1);
  ------------------
  |  Branch (3484:17): [True: 0, False: 0]
  ------------------
 3485|      0|                basicblock *target = b->b_instr[i].i_target;
 3486|      0|                if (!target->b_warm && !target->b_visited) {
  ------------------
  |  Branch (3486:21): [True: 0, False: 0]
  |  Branch (3486:40): [True: 0, False: 0]
  ------------------
 3487|      0|                    *sp++ = target;
 3488|      0|                    target->b_visited = 1;
 3489|      0|                }
 3490|      0|            }
 3491|      0|        }
 3492|      0|    }
 3493|      3|    PyMem_Free(stack);
 3494|      3|    return SUCCESS;
  ------------------
  |  |   21|      3|#define SUCCESS 0
  ------------------
 3495|      3|}
flowgraph.c:mark_warm:
 3418|      3|mark_warm(basicblock *entryblock) {
 3419|      3|    basicblock **stack = make_cfg_traversal_stack(entryblock);
 3420|      3|    if (stack == NULL) {
  ------------------
  |  Branch (3420:9): [True: 0, False: 3]
  ------------------
 3421|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3422|      0|    }
 3423|      3|    basicblock **sp = stack;
 3424|       |
 3425|      3|    *sp++ = entryblock;
 3426|      3|    entryblock->b_visited = 1;
 3427|      6|    while (sp > stack) {
  ------------------
  |  Branch (3427:12): [True: 3, False: 3]
  ------------------
 3428|      3|        basicblock *b = *(--sp);
 3429|      3|        assert(!b->b_except_handler);
  ------------------
  |  Branch (3429:9): [True: 3, False: 0]
  ------------------
 3430|      3|        b->b_warm = 1;
 3431|      3|        basicblock *next = b->b_next;
 3432|      3|        if (next && BB_HAS_FALLTHROUGH(b) && !next->b_visited) {
  ------------------
  |  |  251|      6|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 0, False: 3]
  |  |  ------------------
  ------------------
  |  Branch (3432:13): [True: 3, False: 0]
  |  Branch (3432:46): [True: 0, False: 0]
  ------------------
 3433|      0|            *sp++ = next;
 3434|      0|            next->b_visited = 1;
 3435|      0|        }
 3436|     26|        for (int i=0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3436:23): [True: 23, False: 3]
  ------------------
 3437|     23|            cfg_instr *instr = &b->b_instr[i];
 3438|     23|            if (is_jump(instr) && !instr->i_target->b_visited) {
  ------------------
  |  Branch (3438:17): [True: 0, False: 23]
  |  Branch (3438:35): [True: 0, False: 0]
  ------------------
 3439|      0|                *sp++ = instr->i_target;
 3440|      0|                instr->i_target->b_visited = 1;
 3441|      0|            }
 3442|     23|        }
 3443|      3|    }
 3444|      3|    PyMem_Free(stack);
 3445|      3|    return SUCCESS;
  ------------------
  |  |   21|      3|#define SUCCESS 0
  ------------------
 3446|      3|}
flowgraph.c:resolve_line_numbers:
 3753|     12|{
 3754|     12|    RETURN_IF_ERROR(duplicate_exits_without_lineno(g));
  ------------------
  |  |   25|     12|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 12]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3755|     12|    propagate_line_numbers(g->g_entryblock);
 3756|     12|    return SUCCESS;
  ------------------
  |  |   21|     12|#define SUCCESS 0
  ------------------
 3757|     12|}
flowgraph.c:duplicate_exits_without_lineno:
 3659|     12|{
 3660|     12|    int next_lbl = get_max_label(g->g_entryblock) + 1;
 3661|       |
 3662|       |    /* Copy all exit blocks without line number that are targets of a jump.
 3663|       |     */
 3664|     12|    basicblock *entryblock = g->g_entryblock;
 3665|     30|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3665:38): [True: 18, False: 12]
  ------------------
 3666|     18|        cfg_instr *last = basicblock_last_instr(b);
 3667|     18|        if (last == NULL) {
  ------------------
  |  Branch (3667:13): [True: 6, False: 12]
  ------------------
 3668|      6|            continue;
 3669|      6|        }
 3670|     12|        if (is_jump(last)) {
  ------------------
  |  Branch (3670:13): [True: 0, False: 12]
  ------------------
 3671|      0|            basicblock *target = next_nonempty_block(last->i_target);
 3672|      0|            if (is_exit_or_eval_check_without_lineno(target) && target->b_predecessors > 1) {
  ------------------
  |  Branch (3672:17): [True: 0, False: 0]
  |  Branch (3672:65): [True: 0, False: 0]
  ------------------
 3673|      0|                basicblock *new_target = copy_basicblock(g, target);
 3674|      0|                if (new_target == NULL) {
  ------------------
  |  Branch (3674:21): [True: 0, False: 0]
  ------------------
 3675|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3676|      0|                }
 3677|      0|                new_target->b_instr[0].i_loc = last->i_loc;
 3678|      0|                last->i_target = new_target;
 3679|      0|                target->b_predecessors--;
 3680|      0|                new_target->b_predecessors = 1;
 3681|      0|                new_target->b_next = target->b_next;
 3682|      0|                new_target->b_label.id = next_lbl++;
 3683|      0|                target->b_next = new_target;
 3684|      0|            }
 3685|      0|        }
 3686|     12|    }
 3687|       |
 3688|       |    /* Any remaining reachable exit blocks without line number can only be reached by
 3689|       |     * fall through, and thus can only have a single predecessor */
 3690|     30|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3690:38): [True: 18, False: 12]
  ------------------
 3691|     18|        if (BB_HAS_FALLTHROUGH(b) && b->b_next && b->b_iused > 0) {
  ------------------
  |  |  251|     36|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 6, False: 12]
  |  |  ------------------
  ------------------
  |  Branch (3691:38): [True: 0, False: 6]
  |  Branch (3691:51): [True: 0, False: 0]
  ------------------
 3692|      0|            if (is_exit_or_eval_check_without_lineno(b->b_next)) {
  ------------------
  |  Branch (3692:17): [True: 0, False: 0]
  ------------------
 3693|      0|                cfg_instr *last = basicblock_last_instr(b);
 3694|      0|                assert(last != NULL);
  ------------------
  |  Branch (3694:17): [True: 0, False: 0]
  ------------------
 3695|      0|                b->b_next->b_instr[0].i_loc = last->i_loc;
 3696|      0|            }
 3697|      0|        }
 3698|     18|    }
 3699|     12|    return SUCCESS;
  ------------------
  |  |   21|     12|#define SUCCESS 0
  ------------------
 3700|     12|}
flowgraph.c:propagate_line_numbers:
 3722|     12|{
 3723|     30|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3723:38): [True: 18, False: 12]
  ------------------
 3724|     18|        cfg_instr *last = basicblock_last_instr(b);
 3725|     18|        if (last == NULL) {
  ------------------
  |  Branch (3725:13): [True: 6, False: 12]
  ------------------
 3726|      6|            continue;
 3727|      6|        }
 3728|       |
 3729|     12|        location prev_location = NO_LOCATION;
 3730|     92|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3730:25): [True: 80, False: 12]
  ------------------
 3731|     80|            maybe_propagate_location(b, i, prev_location);
 3732|     80|            prev_location = b->b_instr[i].i_loc;
 3733|     80|        }
 3734|     12|        if (BB_HAS_FALLTHROUGH(b) && b->b_next->b_predecessors == 1) {
  ------------------
  |  |  251|     24|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 0, False: 12]
  |  |  ------------------
  ------------------
  |  Branch (3734:38): [True: 0, False: 0]
  ------------------
 3735|      0|            if (b->b_next->b_iused > 0) {
  ------------------
  |  Branch (3735:17): [True: 0, False: 0]
  ------------------
 3736|      0|                maybe_propagate_location(b->b_next, 0, prev_location);
 3737|      0|            }
 3738|      0|        }
 3739|     12|        if (is_jump(last)) {
  ------------------
  |  Branch (3739:13): [True: 0, False: 12]
  ------------------
 3740|      0|            basicblock *target = last->i_target;
 3741|      0|            while (target->b_iused == 0 && target->b_predecessors == 1) {
  ------------------
  |  Branch (3741:20): [True: 0, False: 0]
  |  Branch (3741:44): [True: 0, False: 0]
  ------------------
 3742|      0|                target = target->b_next;
 3743|      0|            }
 3744|      0|            if (target->b_predecessors == 1) {
  ------------------
  |  Branch (3744:17): [True: 0, False: 0]
  ------------------
 3745|      0|                maybe_propagate_location(target, 0, prev_location);
 3746|      0|            }
 3747|      0|        }
 3748|     12|    }
 3749|     12|}
flowgraph.c:maybe_propagate_location:
 3713|     80|{
 3714|     80|    assert(b->b_iused > i);
  ------------------
  |  Branch (3714:5): [True: 80, False: 0]
  ------------------
 3715|     80|    if (b->b_instr[i].i_loc.lineno == NO_LOCATION.lineno) {
  ------------------
  |  Branch (3715:9): [True: 3, False: 77]
  ------------------
 3716|      3|         b->b_instr[i].i_loc = loc;
 3717|      3|    }
 3718|     80|}
flowgraph.c:convert_pseudo_conditional_jumps:
 3581|      6|{
 3582|      6|    basicblock *entryblock = g->g_entryblock;
 3583|     15|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3583:38): [True: 9, False: 6]
  ------------------
 3584|     44|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3584:25): [True: 35, False: 9]
  ------------------
 3585|     35|            cfg_instr *instr = &b->b_instr[i];
 3586|     35|            if (instr->i_opcode == JUMP_IF_FALSE || instr->i_opcode == JUMP_IF_TRUE) {
  ------------------
  |  |  246|     70|#define JUMP_IF_FALSE                          258
  ------------------
                          if (instr->i_opcode == JUMP_IF_FALSE || instr->i_opcode == JUMP_IF_TRUE) {
  ------------------
  |  |  247|     35|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (3586:17): [True: 0, False: 35]
  |  Branch (3586:53): [True: 0, False: 35]
  ------------------
 3587|      0|                assert(i == b->b_iused - 1);
  ------------------
  |  Branch (3587:17): [True: 0, False: 0]
  ------------------
 3588|      0|                instr->i_opcode = instr->i_opcode == JUMP_IF_FALSE ?
  ------------------
  |  |  246|      0|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (3588:35): [True: 0, False: 0]
  ------------------
 3589|      0|                                          POP_JUMP_IF_FALSE : POP_JUMP_IF_TRUE;
  ------------------
  |  |  109|      0|#define POP_JUMP_IF_FALSE                       96
  ------------------
                                                        POP_JUMP_IF_FALSE : POP_JUMP_IF_TRUE;
  ------------------
  |  |  112|      0|#define POP_JUMP_IF_TRUE                        99
  ------------------
 3590|      0|                location loc = instr->i_loc;
 3591|      0|                basicblock *except = instr->i_except;
 3592|      0|                cfg_instr copy = {
 3593|      0|                            .i_opcode = COPY,
  ------------------
  |  |   70|      0|#define COPY                                    57
  ------------------
 3594|      0|                            .i_oparg = 1,
 3595|      0|                            .i_loc = loc,
 3596|      0|                            .i_target = NULL,
 3597|      0|                            .i_except = except,
 3598|      0|                };
 3599|      0|                RETURN_IF_ERROR(basicblock_insert_instruction(b, i++, &copy));
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3600|      0|                cfg_instr to_bool = {
 3601|      0|                            .i_opcode = TO_BOOL,
  ------------------
  |  |   50|      0|#define TO_BOOL                                 37
  ------------------
 3602|      0|                            .i_oparg = 0,
 3603|      0|                            .i_loc = loc,
 3604|      0|                            .i_target = NULL,
 3605|      0|                            .i_except = except,
 3606|      0|                };
 3607|      0|                RETURN_IF_ERROR(basicblock_insert_instruction(b, i++, &to_bool));
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3608|      0|            }
 3609|     35|        }
 3610|      9|    }
 3611|      6|    return SUCCESS;
  ------------------
  |  |   21|      6|#define SUCCESS 0
  ------------------
 3612|      6|}
flowgraph.c:calculate_stackdepth:
  821|      6|{
  822|      6|    basicblock *entryblock = g->g_entryblock;
  823|     15|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (823:38): [True: 9, False: 6]
  ------------------
  824|      9|        b->b_startdepth = INT_MIN;
  825|      9|    }
  826|      6|    basicblock **stack = make_cfg_traversal_stack(entryblock);
  827|      6|    if (!stack) {
  ------------------
  |  Branch (827:9): [True: 0, False: 6]
  ------------------
  828|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  829|      0|    }
  830|       |
  831|       |
  832|      6|    int stackdepth = -1;
  833|      6|    int maxdepth = 0;
  834|      6|    basicblock **sp = stack;
  835|      6|    if (stackdepth_push(&sp, entryblock, 0) < 0) {
  ------------------
  |  Branch (835:9): [True: 0, False: 6]
  ------------------
  836|      0|        goto error;
  837|      0|    }
  838|     12|    while (sp != stack) {
  ------------------
  |  Branch (838:12): [True: 6, False: 6]
  ------------------
  839|      6|        basicblock *b = *--sp;
  840|      6|        int depth = b->b_startdepth;
  841|      6|        assert(depth >= 0);
  ------------------
  |  Branch (841:9): [True: 6, False: 0]
  ------------------
  842|      6|        basicblock *next = b->b_next;
  843|     35|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (843:25): [True: 35, False: 0]
  ------------------
  844|     35|            cfg_instr *instr = &b->b_instr[i];
  845|     35|            stack_effects effects;
  846|     35|            if (get_stack_effects(instr->i_opcode, instr->i_oparg, 0, &effects) < 0) {
  ------------------
  |  Branch (846:17): [True: 0, False: 35]
  ------------------
  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|     35|            int new_depth = depth + effects.net;
  853|     35|            if (new_depth < 0) {
  ------------------
  |  Branch (853:17): [True: 0, False: 35]
  ------------------
  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|     35|            maxdepth = Py_MAX(maxdepth, depth);
  ------------------
  |  |  115|     35|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 6, False: 29]
  |  |  ------------------
  ------------------
  859|     35|            if (HAS_TARGET(instr->i_opcode) && instr->i_opcode != END_ASYNC_FOR) {
  ------------------
  |  |   23|     70|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|     70|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|     35|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 0, False: 35]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|     35|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  252|     70|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 0, False: 35]
  |  |  |  |  ------------------
  |  |  |  |   19|     35|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     70|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 0, False: 35]
  |  |  |  |  ------------------
  |  |  |  |   20|     35|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     35|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 0, False: 35]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (HAS_TARGET(instr->i_opcode) && instr->i_opcode != END_ASYNC_FOR) {
  ------------------
  |  |   76|      0|#define END_ASYNC_FOR                           63
  ------------------
  |  Branch (859:48): [True: 0, False: 0]
  ------------------
  860|      0|                if (get_stack_effects(instr->i_opcode, instr->i_oparg, 1, &effects) < 0) {
  ------------------
  |  Branch (860:21): [True: 0, False: 0]
  ------------------
  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|      0|                int target_depth = depth + effects.net;
  867|      0|                assert(target_depth >= 0); /* invalid code or bug in stackdepth() */
  ------------------
  |  Branch (867:17): [True: 0, False: 0]
  ------------------
  868|      0|                maxdepth = Py_MAX(maxdepth, depth);
  ------------------
  |  |  115|      0|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  869|      0|                if (stackdepth_push(&sp, instr->i_target, target_depth) < 0) {
  ------------------
  |  Branch (869:21): [True: 0, False: 0]
  ------------------
  870|      0|                    goto error;
  871|      0|                }
  872|      0|            }
  873|     35|            depth = new_depth;
  874|     35|            assert(!IS_ASSEMBLER_OPCODE(instr->i_opcode));
  ------------------
  |  Branch (874:13): [True: 0, False: 35]
  |  Branch (874:13): [True: 0, False: 35]
  |  Branch (874:13): [True: 0, False: 35]
  ------------------
  875|     35|            if (IS_UNCONDITIONAL_JUMP_OPCODE(instr->i_opcode) ||
  ------------------
  |  |   40|     70|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  245|     70|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 0, False: 35]
  |  |  ------------------
  |  |   41|     35|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  248|     70|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 0, False: 35]
  |  |  ------------------
  |  |   42|     35|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   86|     70|#define JUMP_FORWARD                            73
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 35]
  |  |  ------------------
  |  |   43|     35|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   84|     70|#define JUMP_BACKWARD                           71
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 35]
  |  |  ------------------
  |  |   44|     70|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   85|     35|#define JUMP_BACKWARD_NO_INTERRUPT              72
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 35]
  |  |  ------------------
  ------------------
  876|     35|                IS_SCOPE_EXIT_OPCODE(instr->i_opcode))
  ------------------
  |  |   53|     35|        ((opcode) == RETURN_VALUE || \
  |  |  ------------------
  |  |  |  |   46|     70|#define RETURN_VALUE                            33
  |  |  ------------------
  |  |  |  Branch (53:10): [True: 6, False: 29]
  |  |  ------------------
  |  |   54|     35|         (opcode) == RAISE_VARARGS || \
  |  |  ------------------
  |  |  |  |  113|     64|#define RAISE_VARARGS                          100
  |  |  ------------------
  |  |  |  Branch (54:10): [True: 0, False: 29]
  |  |  ------------------
  |  |   55|     35|         (opcode) == RERAISE)
  |  |  ------------------
  |  |  |  |  114|     29|#define RERAISE                                101
  |  |  ------------------
  |  |  |  Branch (55:10): [True: 0, False: 29]
  |  |  ------------------
  ------------------
  877|      6|            {
  878|       |                /* remaining code is dead */
  879|      6|                next = NULL;
  880|      6|                break;
  881|      6|            }
  882|     35|        }
  883|      6|        if (next != NULL) {
  ------------------
  |  Branch (883:13): [True: 0, False: 6]
  ------------------
  884|      0|            assert(BB_HAS_FALLTHROUGH(b));
  ------------------
  |  Branch (884:13): [True: 0, False: 0]
  ------------------
  885|      0|            if (stackdepth_push(&sp, next, depth) < 0) {
  ------------------
  |  Branch (885:17): [True: 0, False: 0]
  ------------------
  886|      0|                goto error;
  887|      0|            }
  888|      0|        }
  889|      6|    }
  890|      6|    stackdepth = maxdepth;
  891|      6|error:
  892|      6|    PyMem_Free(stack);
  893|      6|    return stackdepth;
  894|      6|}
flowgraph.c:stackdepth_push:
  803|      6|{
  804|      6|    if (!(b->b_startdepth < 0 || b->b_startdepth == depth)) {
  ------------------
  |  Branch (804:11): [True: 6, False: 0]
  |  Branch (804:34): [True: 0, False: 0]
  ------------------
  805|      0|        PyErr_Format(PyExc_ValueError, "Invalid CFG, inconsistent stackdepth");
  806|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  807|      0|    }
  808|      6|    if (b->b_startdepth < depth && b->b_startdepth < 100) {
  ------------------
  |  Branch (808:9): [True: 6, False: 0]
  |  Branch (808:36): [True: 6, False: 0]
  ------------------
  809|      6|        assert(b->b_startdepth < 0);
  ------------------
  |  Branch (809:9): [True: 6, False: 0]
  ------------------
  810|      6|        b->b_startdepth = depth;
  811|      6|        *(*sp)++ = b;
  812|      6|    }
  813|      6|    return SUCCESS;
  ------------------
  |  |   21|      6|#define SUCCESS 0
  ------------------
  814|      6|}
flowgraph.c:prepare_localsplus:
 3966|      6|{
 3967|      6|    assert(PyDict_GET_SIZE(umd->u_varnames) < INT_MAX);
  ------------------
  |  Branch (3967:5): [True: 6, False: 0]
  ------------------
 3968|      6|    assert(PyDict_GET_SIZE(umd->u_cellvars) < INT_MAX);
  ------------------
  |  Branch (3968:5): [True: 6, False: 0]
  ------------------
 3969|      6|    assert(PyDict_GET_SIZE(umd->u_freevars) < INT_MAX);
  ------------------
  |  Branch (3969:5): [True: 6, False: 0]
  ------------------
 3970|      6|    int nlocals = (int)PyDict_GET_SIZE(umd->u_varnames);
  ------------------
  |  |   63|      6|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3971|      6|    int ncellvars = (int)PyDict_GET_SIZE(umd->u_cellvars);
  ------------------
  |  |   63|      6|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3972|      6|    int nfreevars = (int)PyDict_GET_SIZE(umd->u_freevars);
  ------------------
  |  |   63|      6|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3973|      6|    assert(INT_MAX - nlocals - ncellvars > 0);
  ------------------
  |  Branch (3973:5): [True: 6, False: 0]
  ------------------
 3974|      6|    assert(INT_MAX - nlocals - ncellvars - nfreevars > 0);
  ------------------
  |  Branch (3974:5): [True: 6, False: 0]
  ------------------
 3975|      6|    int nlocalsplus = nlocals + ncellvars + nfreevars;
 3976|      6|    int* cellfixedoffsets = build_cellfixedoffsets(umd);
 3977|      6|    if (cellfixedoffsets == NULL) {
  ------------------
  |  Branch (3977:9): [True: 0, False: 6]
  ------------------
 3978|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3979|      0|    }
 3980|       |
 3981|       |    // This must be called before fix_cell_offsets().
 3982|      6|    if (insert_prefix_instructions(umd, g->g_entryblock, cellfixedoffsets, nfreevars)) {
  ------------------
  |  Branch (3982:9): [True: 0, False: 6]
  ------------------
 3983|      0|        PyMem_Free(cellfixedoffsets);
 3984|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3985|      0|    }
 3986|       |
 3987|      6|    int numdropped = fix_cell_offsets(umd, g->g_entryblock, cellfixedoffsets);
 3988|      6|    PyMem_Free(cellfixedoffsets);  // At this point we're done with it.
 3989|      6|    cellfixedoffsets = NULL;
 3990|      6|    if (numdropped < 0) {
  ------------------
  |  Branch (3990:9): [True: 0, False: 6]
  ------------------
 3991|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3992|      0|    }
 3993|       |
 3994|      6|    nlocalsplus -= numdropped;
 3995|      6|    return nlocalsplus;
 3996|      6|}
flowgraph.c:build_cellfixedoffsets:
 3814|      6|{
 3815|      6|    int nlocals = (int)PyDict_GET_SIZE(umd->u_varnames);
  ------------------
  |  |   63|      6|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3816|      6|    int ncellvars = (int)PyDict_GET_SIZE(umd->u_cellvars);
  ------------------
  |  |   63|      6|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3817|      6|    int nfreevars = (int)PyDict_GET_SIZE(umd->u_freevars);
  ------------------
  |  |   63|      6|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3818|       |
 3819|      6|    int noffsets = ncellvars + nfreevars;
 3820|      6|    int *fixed = PyMem_New(int, noffsets);
  ------------------
  |  |   64|      6|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|      6|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 6]
  |  |  ------------------
  |  |   65|      6|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
 3821|      6|    if (fixed == NULL) {
  ------------------
  |  Branch (3821:9): [True: 0, False: 6]
  ------------------
 3822|      0|        PyErr_NoMemory();
 3823|      0|        return NULL;
 3824|      0|    }
 3825|      6|    for (int i = 0; i < noffsets; i++) {
  ------------------
  |  Branch (3825:21): [True: 0, False: 6]
  ------------------
 3826|      0|        fixed[i] = nlocals + i;
 3827|      0|    }
 3828|       |
 3829|      6|    PyObject *varname, *cellindex;
 3830|      6|    Py_ssize_t pos = 0;
 3831|      6|    while (PyDict_Next(umd->u_cellvars, &pos, &varname, &cellindex)) {
  ------------------
  |  Branch (3831:12): [True: 0, False: 6]
  ------------------
 3832|      0|        PyObject *varindex;
 3833|      0|        if (PyDict_GetItemRef(umd->u_varnames, varname, &varindex) < 0) {
  ------------------
  |  Branch (3833:13): [True: 0, False: 0]
  ------------------
 3834|      0|            goto error;
 3835|      0|        }
 3836|      0|        if (varindex == NULL) {
  ------------------
  |  Branch (3836:13): [True: 0, False: 0]
  ------------------
 3837|      0|            continue;
 3838|      0|        }
 3839|       |
 3840|      0|        int argoffset = PyLong_AsInt(varindex);
 3841|      0|        Py_DECREF(varindex);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3842|      0|        if (argoffset == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (3842:13): [True: 0, False: 0]
  |  Branch (3842:32): [True: 0, False: 0]
  ------------------
 3843|      0|            goto error;
 3844|      0|        }
 3845|       |
 3846|      0|        int oldindex = PyLong_AsInt(cellindex);
 3847|      0|        if (oldindex == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (3847:13): [True: 0, False: 0]
  |  Branch (3847:31): [True: 0, False: 0]
  ------------------
 3848|      0|            goto error;
 3849|      0|        }
 3850|      0|        fixed[oldindex] = argoffset;
 3851|      0|    }
 3852|      6|    return fixed;
 3853|       |
 3854|      0|error:
 3855|      0|    PyMem_Free(fixed);
 3856|       |    return NULL;
 3857|      6|}
flowgraph.c:insert_prefix_instructions:
 3865|      6|{
 3866|      6|    assert(umd->u_firstlineno > 0);
  ------------------
  |  Branch (3866:5): [True: 6, False: 0]
  ------------------
 3867|       |
 3868|       |    /* Set up cells for any variable that escapes, to be put in a closure. */
 3869|      6|    const int ncellvars = (int)PyDict_GET_SIZE(umd->u_cellvars);
  ------------------
  |  |   63|      6|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3870|      6|    if (ncellvars) {
  ------------------
  |  Branch (3870:9): [True: 0, False: 6]
  ------------------
 3871|       |        // umd->u_cellvars has the cells out of order so we sort them
 3872|       |        // before adding the MAKE_CELL instructions.  Note that we
 3873|       |        // adjust for arg cells, which come first.
 3874|      0|        const int nvars = ncellvars + (int)PyDict_GET_SIZE(umd->u_varnames);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3875|      0|        int *sorted = PyMem_RawCalloc(nvars, sizeof(int));
 3876|      0|        if (sorted == NULL) {
  ------------------
  |  Branch (3876:13): [True: 0, False: 0]
  ------------------
 3877|      0|            PyErr_NoMemory();
 3878|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3879|      0|        }
 3880|      0|        for (int i = 0; i < ncellvars; i++) {
  ------------------
  |  Branch (3880:25): [True: 0, False: 0]
  ------------------
 3881|      0|            sorted[fixed[i]] = i + 1;
 3882|      0|        }
 3883|      0|        for (int i = 0, ncellsused = 0; ncellsused < ncellvars; i++) {
  ------------------
  |  Branch (3883:41): [True: 0, False: 0]
  ------------------
 3884|      0|            int oldindex = sorted[i] - 1;
 3885|      0|            if (oldindex == -1) {
  ------------------
  |  Branch (3885:17): [True: 0, False: 0]
  ------------------
 3886|      0|                continue;
 3887|      0|            }
 3888|      0|            cfg_instr make_cell = {
 3889|      0|                .i_opcode = MAKE_CELL,
  ------------------
  |  |  106|      0|#define MAKE_CELL                               93
  ------------------
 3890|       |                // This will get fixed in offset_derefs().
 3891|      0|                .i_oparg = oldindex,
 3892|      0|                .i_loc = NO_LOCATION,
 3893|      0|                .i_target = NULL,
 3894|      0|                .i_except = NULL,
 3895|      0|            };
 3896|      0|            if (basicblock_insert_instruction(entryblock, ncellsused, &make_cell) < 0) {
  ------------------
  |  Branch (3896:17): [True: 0, False: 0]
  ------------------
 3897|      0|                PyMem_RawFree(sorted);
 3898|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3899|      0|            }
 3900|      0|            ncellsused += 1;
 3901|      0|        }
 3902|      0|        PyMem_RawFree(sorted);
 3903|      0|    }
 3904|       |
 3905|      6|    if (nfreevars) {
  ------------------
  |  Branch (3905:9): [True: 0, False: 6]
  ------------------
 3906|      0|        cfg_instr copy_frees = {
 3907|      0|            .i_opcode = COPY_FREE_VARS,
  ------------------
  |  |   71|      0|#define COPY_FREE_VARS                          58
  ------------------
 3908|      0|            .i_oparg = nfreevars,
 3909|      0|            .i_loc = NO_LOCATION,
 3910|      0|            .i_target = NULL,
 3911|      0|            .i_except = NULL,
 3912|      0|        };
 3913|      0|        RETURN_IF_ERROR(basicblock_insert_instruction(entryblock, 0, &copy_frees));
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3914|      0|    }
 3915|       |
 3916|      6|    return SUCCESS;
  ------------------
  |  |   21|      6|#define SUCCESS 0
  ------------------
 3917|      6|}
flowgraph.c:fix_cell_offsets:
 3921|      6|{
 3922|      6|    int nlocals = (int)PyDict_GET_SIZE(umd->u_varnames);
  ------------------
  |  |   63|      6|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3923|      6|    int ncellvars = (int)PyDict_GET_SIZE(umd->u_cellvars);
  ------------------
  |  |   63|      6|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3924|      6|    int nfreevars = (int)PyDict_GET_SIZE(umd->u_freevars);
  ------------------
  |  |   63|      6|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3925|      6|    int noffsets = ncellvars + nfreevars;
 3926|       |
 3927|       |    // First deal with duplicates (arg cells).
 3928|      6|    int numdropped = 0;
 3929|      6|    for (int i = 0; i < noffsets ; i++) {
  ------------------
  |  Branch (3929:21): [True: 0, False: 6]
  ------------------
 3930|      0|        if (fixedmap[i] == i + nlocals) {
  ------------------
  |  Branch (3930:13): [True: 0, False: 0]
  ------------------
 3931|      0|            fixedmap[i] -= numdropped;
 3932|      0|        }
 3933|      0|        else {
 3934|       |            // It was a duplicate (cell/arg).
 3935|      0|            numdropped += 1;
 3936|      0|        }
 3937|      0|    }
 3938|       |
 3939|       |    // Then update offsets, either relative to locals or by cell2arg.
 3940|     15|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3940:38): [True: 9, False: 6]
  ------------------
 3941|     44|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3941:25): [True: 35, False: 9]
  ------------------
 3942|     35|            cfg_instr *inst = &b->b_instr[i];
 3943|       |            // This is called before extended args are generated.
 3944|     35|            assert(inst->i_opcode != EXTENDED_ARG);
  ------------------
  |  Branch (3944:13): [True: 35, False: 0]
  ------------------
 3945|     35|            int oldoffset = inst->i_oparg;
 3946|     35|            switch(inst->i_opcode) {
  ------------------
  |  Branch (3946:20): [True: 0, False: 35]
  ------------------
 3947|      0|                case MAKE_CELL:
  ------------------
  |  |  106|      0|#define MAKE_CELL                               93
  ------------------
  |  Branch (3947:17): [True: 0, False: 35]
  ------------------
 3948|      0|                case LOAD_CLOSURE:
  ------------------
  |  |  249|      0|#define LOAD_CLOSURE                           261
  ------------------
  |  Branch (3948:17): [True: 0, False: 35]
  ------------------
 3949|      0|                case LOAD_DEREF:
  ------------------
  |  |   92|      0|#define LOAD_DEREF                              79
  ------------------
  |  Branch (3949:17): [True: 0, False: 35]
  ------------------
 3950|      0|                case STORE_DEREF:
  ------------------
  |  |  120|      0|#define STORE_DEREF                            107
  ------------------
  |  Branch (3950:17): [True: 0, False: 35]
  ------------------
 3951|      0|                case DELETE_DEREF:
  ------------------
  |  |   72|      0|#define DELETE_DEREF                            59
  ------------------
  |  Branch (3951:17): [True: 0, False: 35]
  ------------------
 3952|      0|                case LOAD_FROM_DICT_OR_DEREF:
  ------------------
  |  |   99|      0|#define LOAD_FROM_DICT_OR_DEREF                 86
  ------------------
  |  Branch (3952:17): [True: 0, False: 35]
  ------------------
 3953|      0|                    assert(oldoffset >= 0);
  ------------------
  |  Branch (3953:21): [True: 0, False: 0]
  ------------------
 3954|      0|                    assert(oldoffset < noffsets);
  ------------------
  |  Branch (3954:21): [True: 0, False: 0]
  ------------------
 3955|      0|                    assert(fixedmap[oldoffset] >= 0);
  ------------------
  |  Branch (3955:21): [True: 0, False: 0]
  ------------------
 3956|      0|                    inst->i_oparg = fixedmap[oldoffset];
 3957|     35|            }
 3958|     35|        }
 3959|      9|    }
 3960|       |
 3961|      6|    return numdropped;
 3962|      6|}
flowgraph.c:convert_pseudo_ops:
 3616|      6|{
 3617|      6|    basicblock *entryblock = g->g_entryblock;
 3618|     15|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3618:38): [True: 9, False: 6]
  ------------------
 3619|     44|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3619:25): [True: 35, False: 9]
  ------------------
 3620|     35|            cfg_instr *instr = &b->b_instr[i];
 3621|     35|            if (is_block_push(instr)) {
  ------------------
  |  Branch (3621:17): [True: 0, False: 35]
  ------------------
 3622|      0|                INSTR_SET_OP0(instr, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (3622:17): [True: 0, False: 0]
  ------------------
 3623|      0|            }
 3624|     35|            else if (instr->i_opcode == LOAD_CLOSURE) {
  ------------------
  |  |  249|     35|#define LOAD_CLOSURE                           261
  ------------------
  |  Branch (3624:22): [True: 0, False: 35]
  ------------------
 3625|      0|                assert(is_pseudo_target(LOAD_CLOSURE, LOAD_FAST));
  ------------------
  |  Branch (3625:17): [True: 0, False: 0]
  ------------------
 3626|      0|                instr->i_opcode = LOAD_FAST;
  ------------------
  |  |   93|      0|#define LOAD_FAST                               80
  ------------------
 3627|      0|            }
 3628|     35|            else if (instr->i_opcode == STORE_FAST_MAYBE_NULL) {
  ------------------
  |  |  254|     35|#define STORE_FAST_MAYBE_NULL                  266
  ------------------
  |  Branch (3628:22): [True: 0, False: 35]
  ------------------
 3629|      0|                assert(is_pseudo_target(STORE_FAST_MAYBE_NULL, STORE_FAST));
  ------------------
  |  Branch (3629:17): [True: 0, False: 0]
  ------------------
 3630|      0|                instr->i_opcode = STORE_FAST;
  ------------------
  |  |  121|      0|#define STORE_FAST                             108
  ------------------
 3631|      0|            }
 3632|     35|        }
 3633|      9|    }
 3634|      6|    return remove_redundant_nops_and_jumps(g);
 3635|      6|}
flowgraph.c:normalize_jumps:
  602|      6|{
  603|      6|    basicblock *entryblock = g->g_entryblock;
  604|     15|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (604:38): [True: 9, False: 6]
  ------------------
  605|      9|        b->b_visited = 0;
  606|      9|    }
  607|     15|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (607:38): [True: 9, False: 6]
  ------------------
  608|      9|        b->b_visited = 1;
  609|      9|        RETURN_IF_ERROR(normalize_jumps_in_block(g, b));
  ------------------
  |  |   25|      9|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 9]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  610|      9|    }
  611|      6|    return SUCCESS;
  ------------------
  |  |   21|      6|#define SUCCESS 0
  ------------------
  612|      6|}
flowgraph.c:normalize_jumps_in_block:
  547|      9|normalize_jumps_in_block(cfg_builder *g, basicblock *b) {
  548|      9|    cfg_instr *last = basicblock_last_instr(b);
  549|      9|    if (last == NULL || !IS_CONDITIONAL_JUMP_OPCODE(last->i_opcode)) {
  ------------------
  |  |   47|      6|        ((opcode) == POP_JUMP_IF_FALSE || \
  |  |  ------------------
  |  |  |  |  109|     12|#define POP_JUMP_IF_FALSE                       96
  |  |  ------------------
  |  |  |  Branch (47:10): [True: 0, False: 6]
  |  |  ------------------
  |  |   48|      6|         (opcode) == POP_JUMP_IF_TRUE || \
  |  |  ------------------
  |  |  |  |  112|     12|#define POP_JUMP_IF_TRUE                        99
  |  |  ------------------
  |  |  |  Branch (48:10): [True: 0, False: 6]
  |  |  ------------------
  |  |   49|      6|         (opcode) == POP_JUMP_IF_NONE || \
  |  |  ------------------
  |  |  |  |  110|     12|#define POP_JUMP_IF_NONE                        97
  |  |  ------------------
  |  |  |  Branch (49:10): [True: 0, False: 6]
  |  |  ------------------
  |  |   50|      6|         (opcode) == POP_JUMP_IF_NOT_NONE)
  |  |  ------------------
  |  |  |  |  111|      6|#define POP_JUMP_IF_NOT_NONE                    98
  |  |  ------------------
  |  |  |  Branch (50:10): [True: 0, False: 6]
  |  |  ------------------
  ------------------
  |  Branch (549:9): [True: 3, False: 6]
  ------------------
  550|      9|        return SUCCESS;
  ------------------
  |  |   21|      9|#define SUCCESS 0
  ------------------
  551|      9|    }
  552|      9|    assert(!IS_ASSEMBLER_OPCODE(last->i_opcode));
  ------------------
  |  Branch (552:5): [True: 0, False: 0]
  |  Branch (552:5): [True: 0, False: 0]
  |  Branch (552:5): [True: 0, False: 0]
  ------------------
  553|       |
  554|      0|    bool is_forward = last->i_target->b_visited == 0;
  555|      0|    if (is_forward) {
  ------------------
  |  Branch (555:9): [True: 0, False: 0]
  ------------------
  556|      0|        RETURN_IF_ERROR(
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  557|      0|            basicblock_addop(b, NOT_TAKEN, 0, last->i_loc));
  558|      0|        return SUCCESS;
  ------------------
  |  |   21|      0|#define SUCCESS 0
  ------------------
  559|      0|    }
  560|       |
  561|      0|    int reversed_opcode = 0;
  562|      0|    switch(last->i_opcode) {
  ------------------
  |  Branch (562:12): [True: 0, False: 0]
  ------------------
  563|      0|        case POP_JUMP_IF_NOT_NONE:
  ------------------
  |  |  111|      0|#define POP_JUMP_IF_NOT_NONE                    98
  ------------------
  |  Branch (563:9): [True: 0, False: 0]
  ------------------
  564|      0|            reversed_opcode = POP_JUMP_IF_NONE;
  ------------------
  |  |  110|      0|#define POP_JUMP_IF_NONE                        97
  ------------------
  565|      0|            break;
  566|      0|        case POP_JUMP_IF_NONE:
  ------------------
  |  |  110|      0|#define POP_JUMP_IF_NONE                        97
  ------------------
  |  Branch (566:9): [True: 0, False: 0]
  ------------------
  567|      0|            reversed_opcode = POP_JUMP_IF_NOT_NONE;
  ------------------
  |  |  111|      0|#define POP_JUMP_IF_NOT_NONE                    98
  ------------------
  568|      0|            break;
  569|      0|        case POP_JUMP_IF_FALSE:
  ------------------
  |  |  109|      0|#define POP_JUMP_IF_FALSE                       96
  ------------------
  |  Branch (569:9): [True: 0, False: 0]
  ------------------
  570|      0|            reversed_opcode = POP_JUMP_IF_TRUE;
  ------------------
  |  |  112|      0|#define POP_JUMP_IF_TRUE                        99
  ------------------
  571|      0|            break;
  572|      0|        case POP_JUMP_IF_TRUE:
  ------------------
  |  |  112|      0|#define POP_JUMP_IF_TRUE                        99
  ------------------
  |  Branch (572:9): [True: 0, False: 0]
  ------------------
  573|      0|            reversed_opcode = POP_JUMP_IF_FALSE;
  ------------------
  |  |  109|      0|#define POP_JUMP_IF_FALSE                       96
  ------------------
  574|      0|            break;
  575|      0|    }
  576|       |    /* transform 'conditional jump T' to
  577|       |     * 'reversed_jump b_next' followed by 'jump_backwards T'
  578|       |     */
  579|       |
  580|      0|    basicblock *target = last->i_target;
  581|      0|    basicblock *backwards_jump = cfg_builder_new_block(g);
  582|      0|    if (backwards_jump == NULL) {
  ------------------
  |  Branch (582:9): [True: 0, False: 0]
  ------------------
  583|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  584|      0|    }
  585|      0|    RETURN_IF_ERROR(
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  586|      0|        basicblock_addop(backwards_jump, NOT_TAKEN, 0, last->i_loc));
  587|      0|    RETURN_IF_ERROR(
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  588|      0|        basicblock_add_jump(backwards_jump, JUMP, target, last->i_loc));
  589|      0|    backwards_jump->b_startdepth = target->b_startdepth;
  590|      0|    last->i_opcode = reversed_opcode;
  591|      0|    last->i_target = b->b_next;
  592|       |
  593|      0|    backwards_jump->b_cold = b->b_cold;
  594|      0|    backwards_jump->b_next = b->b_next;
  595|      0|    b->b_next = backwards_jump;
  596|      0|    return SUCCESS;
  ------------------
  |  |   21|      0|#define SUCCESS 0
  ------------------
  597|      0|}
flowgraph.c:no_redundant_jumps:
  523|     12|no_redundant_jumps(cfg_builder *g) {
  524|     30|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (524:43): [True: 18, False: 12]
  ------------------
  525|     18|        cfg_instr *last = basicblock_last_instr(b);
  526|     18|        if (last != NULL) {
  ------------------
  |  Branch (526:13): [True: 12, False: 6]
  ------------------
  527|     12|            if (IS_UNCONDITIONAL_JUMP_OPCODE(last->i_opcode)) {
  ------------------
  |  |   40|     12|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  245|     24|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 0, False: 12]
  |  |  ------------------
  |  |   41|     12|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  248|     24|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 0, False: 12]
  |  |  ------------------
  |  |   42|     12|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   86|     24|#define JUMP_FORWARD                            73
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 12]
  |  |  ------------------
  |  |   43|     12|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   84|     24|#define JUMP_BACKWARD                           71
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 12]
  |  |  ------------------
  |  |   44|     12|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   85|     12|#define JUMP_BACKWARD_NO_INTERRUPT              72
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 12]
  |  |  ------------------
  ------------------
  528|      0|                basicblock *next = next_nonempty_block(b->b_next);
  529|      0|                basicblock *jump_target = next_nonempty_block(last->i_target);
  530|      0|                if (jump_target == next) {
  ------------------
  |  Branch (530:21): [True: 0, False: 0]
  ------------------
  531|      0|                    assert(next);
  ------------------
  |  Branch (531:21): [True: 0, False: 0]
  ------------------
  532|      0|                    if (last->i_loc.lineno == next->b_instr[0].i_loc.lineno) {
  ------------------
  |  Branch (532:25): [True: 0, False: 0]
  ------------------
  533|      0|                        assert(0);
  ------------------
  |  Branch (533:25): [Folded, False: 0]
  ------------------
  534|      0|                        return false;
  535|      0|                    }
  536|      0|                }
  537|      0|            }
  538|     12|        }
  539|     18|    }
  540|     12|    return true;
  541|     12|}
flowgraph.c:optimize_load_fast:
 2864|      6|{
 2865|      6|    int status;
 2866|      6|    ref_stack refs = {0};
 2867|      6|    int max_instrs = 0;
 2868|      6|    basicblock *entryblock = g->g_entryblock;
 2869|     15|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (2869:38): [True: 9, False: 6]
  ------------------
 2870|      9|        max_instrs = Py_MAX(max_instrs, b->b_iused);
  ------------------
  |  |  115|      9|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 3, False: 6]
  |  |  ------------------
  ------------------
 2871|      9|    }
 2872|      6|    size_t instr_flags_size = max_instrs * sizeof(uint8_t);
 2873|      6|    uint8_t *instr_flags = PyMem_Malloc(instr_flags_size);
 2874|      6|    if (instr_flags == NULL) {
  ------------------
  |  Branch (2874:9): [True: 0, False: 6]
  ------------------
 2875|      0|        PyErr_NoMemory();
 2876|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2877|      0|    }
 2878|      6|    basicblock **blocks = make_cfg_traversal_stack(entryblock);
 2879|      6|    if (blocks == NULL) {
  ------------------
  |  Branch (2879:9): [True: 0, False: 6]
  ------------------
 2880|      0|        status = ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2881|      0|        goto done;
 2882|      0|    }
 2883|      6|    basicblock **sp = blocks;
 2884|      6|    *sp = entryblock;
 2885|      6|    sp++;
 2886|      6|    entryblock->b_startdepth = 0;
 2887|      6|    entryblock->b_visited = 1;
 2888|       |
 2889|      6|    #define PUSH_REF(instr, local)                \
 2890|      6|        do {                                      \
 2891|      6|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
 2892|      6|                status = ERROR;                   \
 2893|      6|                goto done;                        \
 2894|      6|            }                                     \
 2895|      6|        } while(0)
 2896|       |
 2897|     12|    while (sp != blocks) {
  ------------------
  |  Branch (2897:12): [True: 6, False: 6]
  ------------------
 2898|      6|        basicblock *block = *--sp;
 2899|      6|        assert(block->b_startdepth > -1);
  ------------------
  |  Branch (2899:9): [True: 6, False: 0]
  ------------------
 2900|       |
 2901|       |        // Reset per-block state.
 2902|      6|        memset(instr_flags, 0, block->b_iused * sizeof(*instr_flags));
 2903|       |
 2904|       |        // Reset the stack of refs. We don't track references on the stack
 2905|       |        // across basic blocks, but the bytecode will expect their
 2906|       |        // presence. Add dummy references as necessary.
 2907|      6|        ref_stack_clear(&refs);
 2908|      6|        for (int i = 0; i < block->b_startdepth; i++) {
  ------------------
  |  Branch (2908:25): [True: 0, False: 6]
  ------------------
 2909|      0|            PUSH_REF(DUMMY_INSTR, NOT_LOCAL);
  ------------------
  |  | 2890|      0|        do {                                      \
  |  | 2891|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2891:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2892|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2893|      0|                goto done;                        \
  |  | 2894|      0|            }                                     \
  |  | 2895|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2895:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2910|      0|        }
 2911|       |
 2912|     41|        for (int i = 0; i < block->b_iused; i++) {
  ------------------
  |  Branch (2912:25): [True: 35, False: 6]
  ------------------
 2913|     35|            cfg_instr *instr = &block->b_instr[i];
 2914|     35|            int opcode = instr->i_opcode;
 2915|     35|            int oparg = instr->i_oparg;
 2916|     35|            assert(opcode != EXTENDED_ARG);
  ------------------
  |  Branch (2916:13): [True: 35, False: 0]
  ------------------
 2917|     35|            switch (opcode) {
 2918|       |                // Opcodes that load and store locals
 2919|      0|                case DELETE_FAST: {
  ------------------
  |  |   73|      0|#define DELETE_FAST                             60
  ------------------
  |  Branch (2919:17): [True: 0, False: 35]
  ------------------
 2920|      0|                    kill_local(instr_flags, &refs, oparg);
 2921|      0|                    break;
 2922|      0|                }
 2923|       |
 2924|      1|                case LOAD_FAST: {
  ------------------
  |  |   93|      1|#define LOAD_FAST                               80
  ------------------
  |  Branch (2924:17): [True: 1, False: 34]
  ------------------
 2925|      1|                    PUSH_REF(i, oparg);
  ------------------
  |  | 2890|      1|        do {                                      \
  |  | 2891|      1|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2891:17): [True: 0, False: 1]
  |  |  ------------------
  |  | 2892|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2893|      0|                goto done;                        \
  |  | 2894|      0|            }                                     \
  |  | 2895|      1|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2895:17): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2926|      1|                    break;
 2927|      1|                }
 2928|       |
 2929|      1|                case LOAD_FAST_AND_CLEAR: {
  ------------------
  |  |   94|      0|#define LOAD_FAST_AND_CLEAR                     81
  ------------------
  |  Branch (2929:17): [True: 0, False: 35]
  ------------------
 2930|      0|                    kill_local(instr_flags, &refs, oparg);
 2931|      0|                    PUSH_REF(i, oparg);
  ------------------
  |  | 2890|      0|        do {                                      \
  |  | 2891|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2891:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2892|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2893|      0|                goto done;                        \
  |  | 2894|      0|            }                                     \
  |  | 2895|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2895:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2932|      0|                    break;
 2933|      0|                }
 2934|       |
 2935|      7|                case LOAD_FAST_LOAD_FAST: {
  ------------------
  |  |   98|      7|#define LOAD_FAST_LOAD_FAST                     85
  ------------------
  |  Branch (2935:17): [True: 7, False: 28]
  ------------------
 2936|      7|                    PUSH_REF(i, oparg >> 4);
  ------------------
  |  | 2890|      7|        do {                                      \
  |  | 2891|      7|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2891:17): [True: 0, False: 7]
  |  |  ------------------
  |  | 2892|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2893|      0|                goto done;                        \
  |  | 2894|      0|            }                                     \
  |  | 2895|      7|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2895:17): [Folded, False: 7]
  |  |  ------------------
  ------------------
 2937|      7|                    PUSH_REF(i, oparg & 15);
  ------------------
  |  | 2890|      7|        do {                                      \
  |  | 2891|      7|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2891:17): [True: 0, False: 7]
  |  |  ------------------
  |  | 2892|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2893|      0|                goto done;                        \
  |  | 2894|      0|            }                                     \
  |  | 2895|      7|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2895:17): [Folded, False: 7]
  |  |  ------------------
  ------------------
 2938|      7|                    break;
 2939|      7|                }
 2940|       |
 2941|      7|                case STORE_FAST: {
  ------------------
  |  |  121|      0|#define STORE_FAST                             108
  ------------------
  |  Branch (2941:17): [True: 0, False: 35]
  ------------------
 2942|      0|                    ref r = ref_stack_pop(&refs);
 2943|      0|                    store_local(instr_flags, &refs, oparg, r);
 2944|      0|                    break;
 2945|      7|                }
 2946|       |
 2947|      0|                case STORE_FAST_LOAD_FAST: {
  ------------------
  |  |  122|      0|#define STORE_FAST_LOAD_FAST                   109
  ------------------
  |  Branch (2947:17): [True: 0, False: 35]
  ------------------
 2948|       |                    // STORE_FAST
 2949|      0|                    ref r = ref_stack_pop(&refs);
 2950|      0|                    store_local(instr_flags, &refs, oparg >> 4, r);
 2951|       |                    // LOAD_FAST
 2952|      0|                    PUSH_REF(i, oparg & 15);
  ------------------
  |  | 2890|      0|        do {                                      \
  |  | 2891|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2891:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2892|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2893|      0|                goto done;                        \
  |  | 2894|      0|            }                                     \
  |  | 2895|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2895:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2953|      0|                    break;
 2954|      0|                }
 2955|       |
 2956|      0|                case STORE_FAST_STORE_FAST: {
  ------------------
  |  |  123|      0|#define STORE_FAST_STORE_FAST                  110
  ------------------
  |  Branch (2956:17): [True: 0, False: 35]
  ------------------
 2957|       |                    // STORE_FAST
 2958|      0|                    ref r = ref_stack_pop(&refs);
 2959|      0|                    store_local(instr_flags, &refs, oparg >> 4, r);
 2960|       |                    // STORE_FAST
 2961|      0|                    r = ref_stack_pop(&refs);
 2962|      0|                    store_local(instr_flags, &refs, oparg & 15, r);
 2963|      0|                    break;
 2964|      0|                }
 2965|       |
 2966|       |                // Opcodes that shuffle values on the stack
 2967|      0|                case COPY: {
  ------------------
  |  |   70|      0|#define COPY                                    57
  ------------------
  |  Branch (2967:17): [True: 0, False: 35]
  ------------------
 2968|      0|                    assert(oparg > 0);
  ------------------
  |  Branch (2968:21): [True: 0, False: 0]
  ------------------
 2969|      0|                    Py_ssize_t idx = refs.size - oparg;
 2970|      0|                    ref r = ref_stack_at(&refs, idx);
 2971|      0|                    PUSH_REF(r.instr, r.local);
  ------------------
  |  | 2890|      0|        do {                                      \
  |  | 2891|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2891:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2892|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2893|      0|                goto done;                        \
  |  | 2894|      0|            }                                     \
  |  | 2895|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2895:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2972|      0|                    break;
 2973|      0|                }
 2974|       |
 2975|      0|                case SWAP: {
  ------------------
  |  |  126|      0|#define SWAP                                   113
  ------------------
  |  Branch (2975:17): [True: 0, False: 35]
  ------------------
 2976|      0|                    assert(oparg >= 2);
  ------------------
  |  Branch (2976:21): [True: 0, False: 0]
  ------------------
 2977|      0|                    ref_stack_swap_top(&refs, oparg);
 2978|      0|                    break;
 2979|      0|                }
 2980|       |
 2981|       |                // We treat opcodes that do not consume all of their inputs on
 2982|       |                // a case by case basis, as we have no generic way of knowing
 2983|       |                // how many inputs should be left on the stack.
 2984|       |
 2985|       |                // Opcodes that consume no inputs
 2986|      0|                case FORMAT_SIMPLE:
  ------------------
  |  |   25|      0|#define FORMAT_SIMPLE                           12
  ------------------
  |  Branch (2986:17): [True: 0, False: 35]
  ------------------
 2987|      0|                case GET_ANEXT:
  ------------------
  |  |   28|      0|#define GET_ANEXT                               15
  ------------------
  |  Branch (2987:17): [True: 0, False: 35]
  ------------------
 2988|      0|                case GET_ITER:
  ------------------
  |  |   80|      0|#define GET_ITER                                67
  ------------------
  |  Branch (2988:17): [True: 0, False: 35]
  ------------------
 2989|      0|                case GET_LEN:
  ------------------
  |  |   29|      0|#define GET_LEN                                 16
  ------------------
  |  Branch (2989:17): [True: 0, False: 35]
  ------------------
 2990|      0|                case IMPORT_FROM:
  ------------------
  |  |   81|      0|#define IMPORT_FROM                             68
  ------------------
  |  Branch (2990:17): [True: 0, False: 35]
  ------------------
 2991|      0|                case MATCH_KEYS:
  ------------------
  |  |   35|      0|#define MATCH_KEYS                              22
  ------------------
  |  Branch (2991:17): [True: 0, False: 35]
  ------------------
 2992|      0|                case MATCH_MAPPING:
  ------------------
  |  |   36|      0|#define MATCH_MAPPING                           23
  ------------------
  |  Branch (2992:17): [True: 0, False: 35]
  ------------------
 2993|      0|                case MATCH_SEQUENCE:
  ------------------
  |  |   37|      0|#define MATCH_SEQUENCE                          24
  ------------------
  |  Branch (2993:17): [True: 0, False: 35]
  ------------------
 2994|      0|                case WITH_EXCEPT_START: {
  ------------------
  |  |   54|      0|#define WITH_EXCEPT_START                       41
  ------------------
  |  Branch (2994:17): [True: 0, False: 35]
  ------------------
 2995|      0|                    int num_popped = _PyOpcode_num_popped(opcode, oparg);
 2996|      0|                    int num_pushed = _PyOpcode_num_pushed(opcode, oparg);
 2997|      0|                    int net_pushed = num_pushed - num_popped;
 2998|      0|                    assert(net_pushed >= 0);
  ------------------
  |  Branch (2998:21): [True: 0, False: 0]
  ------------------
 2999|      0|                    for (int j = 0; j < net_pushed; j++) {
  ------------------
  |  Branch (2999:37): [True: 0, False: 0]
  ------------------
 3000|      0|                        PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2890|      0|        do {                                      \
  |  | 2891|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2891:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2892|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2893|      0|                goto done;                        \
  |  | 2894|      0|            }                                     \
  |  | 2895|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2895:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3001|      0|                    }
 3002|      0|                    break;
 3003|      0|                }
 3004|       |
 3005|       |                // Opcodes that consume some inputs and push no new values
 3006|      0|                case DICT_MERGE:
  ------------------
  |  |   74|      0|#define DICT_MERGE                              61
  ------------------
  |  Branch (3006:17): [True: 0, False: 35]
  ------------------
 3007|      0|                case DICT_UPDATE:
  ------------------
  |  |   75|      0|#define DICT_UPDATE                             62
  ------------------
  |  Branch (3007:17): [True: 0, False: 35]
  ------------------
 3008|      0|                case LIST_APPEND:
  ------------------
  |  |   87|      0|#define LIST_APPEND                             74
  ------------------
  |  Branch (3008:17): [True: 0, False: 35]
  ------------------
 3009|      0|                case LIST_EXTEND:
  ------------------
  |  |   88|      0|#define LIST_EXTEND                             75
  ------------------
  |  Branch (3009:17): [True: 0, False: 35]
  ------------------
 3010|      0|                case MAP_ADD:
  ------------------
  |  |  107|      0|#define MAP_ADD                                 94
  ------------------
  |  Branch (3010:17): [True: 0, False: 35]
  ------------------
 3011|      0|                case RERAISE:
  ------------------
  |  |  114|      0|#define RERAISE                                101
  ------------------
  |  Branch (3011:17): [True: 0, False: 35]
  ------------------
 3012|      0|                case SET_ADD:
  ------------------
  |  |  116|      0|#define SET_ADD                                103
  ------------------
  |  Branch (3012:17): [True: 0, False: 35]
  ------------------
 3013|      0|                case SET_UPDATE: {
  ------------------
  |  |  118|      0|#define SET_UPDATE                             105
  ------------------
  |  Branch (3013:17): [True: 0, False: 35]
  ------------------
 3014|      0|                    int num_popped = _PyOpcode_num_popped(opcode, oparg);
 3015|      0|                    int num_pushed = _PyOpcode_num_pushed(opcode, oparg);
 3016|      0|                    int net_popped = num_popped - num_pushed;
 3017|      0|                    assert(net_popped > 0);
  ------------------
  |  Branch (3017:21): [True: 0, False: 0]
  ------------------
 3018|      0|                    for (int i = 0; i < net_popped; i++) {
  ------------------
  |  Branch (3018:37): [True: 0, False: 0]
  ------------------
 3019|      0|                        ref_stack_pop(&refs);
 3020|      0|                    }
 3021|      0|                    break;
 3022|      0|                }
 3023|       |
 3024|      0|                case END_SEND: {
  ------------------
  |  |   23|      0|#define END_SEND                                10
  ------------------
  |  Branch (3024:17): [True: 0, False: 35]
  ------------------
 3025|      0|                    assert(_PyOpcode_num_popped(opcode, oparg) == 3);
  ------------------
  |  Branch (3025:21): [True: 0, False: 0]
  ------------------
 3026|      0|                    assert(_PyOpcode_num_pushed(opcode, oparg) == 1);
  ------------------
  |  Branch (3026:21): [True: 0, False: 0]
  ------------------
 3027|      0|                    ref tos = ref_stack_pop(&refs);
 3028|      0|                    ref_stack_pop(&refs);
 3029|      0|                    ref_stack_pop(&refs);
 3030|      0|                    PUSH_REF(tos.instr, tos.local);
  ------------------
  |  | 2890|      0|        do {                                      \
  |  | 2891|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2891:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2892|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2893|      0|                goto done;                        \
  |  | 2894|      0|            }                                     \
  |  | 2895|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2895:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3031|      0|                    break;
 3032|      0|                }
 3033|       |
 3034|      0|                case SET_FUNCTION_ATTRIBUTE: {
  ------------------
  |  |  117|      0|#define SET_FUNCTION_ATTRIBUTE                 104
  ------------------
  |  Branch (3034:17): [True: 0, False: 35]
  ------------------
 3035|      0|                    assert(_PyOpcode_num_popped(opcode, oparg) == 2);
  ------------------
  |  Branch (3035:21): [True: 0, False: 0]
  ------------------
 3036|      0|                    assert(_PyOpcode_num_pushed(opcode, oparg) == 1);
  ------------------
  |  Branch (3036:21): [True: 0, False: 0]
  ------------------
 3037|      0|                    ref tos = ref_stack_pop(&refs);
 3038|      0|                    ref_stack_pop(&refs);
 3039|      0|                    PUSH_REF(tos.instr, tos.local);
  ------------------
  |  | 2890|      0|        do {                                      \
  |  | 2891|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2891:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2892|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2893|      0|                goto done;                        \
  |  | 2894|      0|            }                                     \
  |  | 2895|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2895:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3040|      0|                    break;
 3041|      0|                }
 3042|       |
 3043|       |                // Opcodes that consume some inputs and push new values
 3044|      0|                case CHECK_EXC_MATCH: {
  ------------------
  |  |   19|      0|#define CHECK_EXC_MATCH                          6
  ------------------
  |  Branch (3044:17): [True: 0, False: 35]
  ------------------
 3045|      0|                    ref_stack_pop(&refs);
 3046|      0|                    PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2890|      0|        do {                                      \
  |  | 2891|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2891:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2892|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2893|      0|                goto done;                        \
  |  | 2894|      0|            }                                     \
  |  | 2895|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2895:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3047|      0|                    break;
 3048|      0|                }
 3049|       |
 3050|      0|                case FOR_ITER: {
  ------------------
  |  |   78|      0|#define FOR_ITER                                65
  ------------------
  |  Branch (3050:17): [True: 0, False: 35]
  ------------------
 3051|      0|                    load_fast_push_block(&sp, instr->i_target, refs.size + 1);
 3052|      0|                    PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2890|      0|        do {                                      \
  |  | 2891|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2891:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2892|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2893|      0|                goto done;                        \
  |  | 2894|      0|            }                                     \
  |  | 2895|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2895:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3053|      0|                    break;
 3054|      0|                }
 3055|       |
 3056|      0|                case LOAD_ATTR:
  ------------------
  |  |   89|      0|#define LOAD_ATTR                               76
  ------------------
  |  Branch (3056:17): [True: 0, False: 35]
  ------------------
 3057|      0|                case LOAD_SUPER_ATTR: {
  ------------------
  |  |  105|      0|#define LOAD_SUPER_ATTR                         92
  ------------------
  |  Branch (3057:17): [True: 0, False: 35]
  ------------------
 3058|      0|                    ref self = ref_stack_pop(&refs);
 3059|      0|                    if (opcode == LOAD_SUPER_ATTR) {
  ------------------
  |  |  105|      0|#define LOAD_SUPER_ATTR                         92
  ------------------
  |  Branch (3059:25): [True: 0, False: 0]
  ------------------
 3060|      0|                        ref_stack_pop(&refs);
 3061|      0|                        ref_stack_pop(&refs);
 3062|      0|                    }
 3063|      0|                    PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2890|      0|        do {                                      \
  |  | 2891|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2891:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2892|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2893|      0|                goto done;                        \
  |  | 2894|      0|            }                                     \
  |  | 2895|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2895:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3064|      0|                    if (oparg & 1) {
  ------------------
  |  Branch (3064:25): [True: 0, False: 0]
  ------------------
 3065|       |                        // A method call; conservatively assume that self is pushed
 3066|       |                        // back onto the stack
 3067|      0|                        PUSH_REF(self.instr, self.local);
  ------------------
  |  | 2890|      0|        do {                                      \
  |  | 2891|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2891:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2892|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2893|      0|                goto done;                        \
  |  | 2894|      0|            }                                     \
  |  | 2895|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2895:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3068|      0|                    }
 3069|      0|                    break;
 3070|      0|                }
 3071|       |
 3072|      0|                case LOAD_SPECIAL:
  ------------------
  |  |  104|      0|#define LOAD_SPECIAL                            91
  ------------------
  |  Branch (3072:17): [True: 0, False: 35]
  ------------------
 3073|      0|                case PUSH_EXC_INFO: {
  ------------------
  |  |   43|      0|#define PUSH_EXC_INFO                           30
  ------------------
  |  Branch (3073:17): [True: 0, False: 35]
  ------------------
 3074|      0|                    ref tos = ref_stack_pop(&refs);
 3075|      0|                    PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2890|      0|        do {                                      \
  |  | 2891|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2891:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2892|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2893|      0|                goto done;                        \
  |  | 2894|      0|            }                                     \
  |  | 2895|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2895:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3076|      0|                    PUSH_REF(tos.instr, tos.local);
  ------------------
  |  | 2890|      0|        do {                                      \
  |  | 2891|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2891:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2892|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2893|      0|                goto done;                        \
  |  | 2894|      0|            }                                     \
  |  | 2895|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2895:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3077|      0|                    break;
 3078|      0|                }
 3079|       |
 3080|      0|                case SEND: {
  ------------------
  |  |  115|      0|#define SEND                                   102
  ------------------
  |  Branch (3080:17): [True: 0, False: 35]
  ------------------
 3081|      0|                    load_fast_push_block(&sp, instr->i_target, refs.size);
 3082|      0|                    ref_stack_pop(&refs);
 3083|      0|                    PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2890|      0|        do {                                      \
  |  | 2891|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2891:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2892|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2893|      0|                goto done;                        \
  |  | 2894|      0|            }                                     \
  |  | 2895|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2895:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3084|      0|                    break;
 3085|      0|                }
 3086|       |
 3087|       |                // Opcodes that consume all of their inputs
 3088|     27|                default: {
  ------------------
  |  Branch (3088:17): [True: 27, False: 8]
  ------------------
 3089|     27|                    int num_popped = _PyOpcode_num_popped(opcode, oparg);
 3090|     27|                    int num_pushed = _PyOpcode_num_pushed(opcode, oparg);
 3091|     27|                    if (HAS_TARGET(instr->i_opcode)) {
  ------------------
  |  |   23|     27|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|     54|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|     27|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 0, False: 27]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|     27|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  252|     54|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 0, False: 27]
  |  |  |  |  ------------------
  |  |  |  |   19|     27|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     54|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 0, False: 27]
  |  |  |  |  ------------------
  |  |  |  |   20|     27|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     27|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 0, False: 27]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3092|      0|                        load_fast_push_block(&sp, instr->i_target, refs.size - num_popped + num_pushed);
 3093|      0|                    }
 3094|     27|                    if (!IS_BLOCK_PUSH_OPCODE(instr->i_opcode)) {
  ------------------
  |  |   18|     27|        ((opcode) == SETUP_FINALLY || \
  |  |  ------------------
  |  |  |  |  252|     54|#define SETUP_FINALLY                          264
  |  |  ------------------
  |  |  |  Branch (18:10): [True: 0, False: 27]
  |  |  ------------------
  |  |   19|     27|         (opcode) == SETUP_WITH || \
  |  |  ------------------
  |  |  |  |  253|     54|#define SETUP_WITH                             265
  |  |  ------------------
  |  |  |  Branch (19:10): [True: 0, False: 27]
  |  |  ------------------
  |  |   20|     27|         (opcode) == SETUP_CLEANUP)
  |  |  ------------------
  |  |  |  |  251|     27|#define SETUP_CLEANUP                          263
  |  |  ------------------
  |  |  |  Branch (20:10): [True: 0, False: 27]
  |  |  ------------------
  ------------------
 3095|       |                        // Block push opcodes only affect the stack when jumping
 3096|       |                        // to the target.
 3097|     60|                        for (int j = 0; j < num_popped; j++) {
  ------------------
  |  Branch (3097:41): [True: 33, False: 27]
  ------------------
 3098|     33|                            ref_stack_pop(&refs);
 3099|     33|                        }
 3100|     51|                        for (int j = 0; j < num_pushed; j++) {
  ------------------
  |  Branch (3100:41): [True: 24, False: 27]
  ------------------
 3101|     24|                            PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2890|     24|        do {                                      \
  |  | 2891|     24|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2891:17): [True: 0, False: 24]
  |  |  ------------------
  |  | 2892|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2893|      0|                goto done;                        \
  |  | 2894|      0|            }                                     \
  |  | 2895|     24|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2895:17): [Folded, False: 24]
  |  |  ------------------
  ------------------
 3102|     24|                        }
 3103|     27|                    }
 3104|     27|                    break;
 3105|     27|                }
 3106|     35|            }
 3107|     35|        }
 3108|       |
 3109|       |        // Push fallthrough block
 3110|      6|        if (BB_HAS_FALLTHROUGH(block)) {
  ------------------
  |  |  251|      6|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 0, False: 6]
  |  |  ------------------
  ------------------
 3111|      0|            assert(block->b_next != NULL);
  ------------------
  |  Branch (3111:13): [True: 0, False: 0]
  ------------------
 3112|      0|            load_fast_push_block(&sp, block->b_next, refs.size);
 3113|      0|        }
 3114|       |
 3115|       |        // Mark instructions that produce values that are on the stack at the
 3116|       |        // end of the basic block
 3117|     12|        for (Py_ssize_t i = 0; i < refs.size; i++) {
  ------------------
  |  Branch (3117:32): [True: 6, False: 6]
  ------------------
 3118|      6|            ref r = ref_stack_at(&refs, i);
 3119|      6|            if (r.instr != -1) {
  ------------------
  |  Branch (3119:17): [True: 6, False: 0]
  ------------------
 3120|      6|                instr_flags[r.instr] |= REF_UNCONSUMED;
 3121|      6|            }
 3122|      6|        }
 3123|       |
 3124|       |        // Optimize instructions
 3125|     41|        for (int i = 0; i < block->b_iused; i++) {
  ------------------
  |  Branch (3125:25): [True: 35, False: 6]
  ------------------
 3126|     35|            if (!instr_flags[i]) {
  ------------------
  |  Branch (3126:17): [True: 29, False: 6]
  ------------------
 3127|     29|                cfg_instr *instr = &block->b_instr[i];
 3128|     29|                switch (instr->i_opcode) {
 3129|      1|                    case LOAD_FAST:
  ------------------
  |  |   93|      1|#define LOAD_FAST                               80
  ------------------
  |  Branch (3129:21): [True: 1, False: 28]
  ------------------
 3130|      1|                        instr->i_opcode = LOAD_FAST_BORROW;
  ------------------
  |  |   95|      1|#define LOAD_FAST_BORROW                        82
  ------------------
 3131|      1|                        break;
 3132|      7|                    case LOAD_FAST_LOAD_FAST:
  ------------------
  |  |   98|      7|#define LOAD_FAST_LOAD_FAST                     85
  ------------------
  |  Branch (3132:21): [True: 7, False: 22]
  ------------------
 3133|      7|                        instr->i_opcode = LOAD_FAST_BORROW_LOAD_FAST_BORROW;
  ------------------
  |  |   96|      7|#define LOAD_FAST_BORROW_LOAD_FAST_BORROW       83
  ------------------
 3134|      7|                        break;
 3135|     21|                    default:
  ------------------
  |  Branch (3135:21): [True: 21, False: 8]
  ------------------
 3136|     21|                        break;
 3137|     29|                }
 3138|     29|            }
 3139|     35|        }
 3140|      6|    }
 3141|       |
 3142|      6|    #undef PUSH_REF
 3143|       |
 3144|      6|    status = SUCCESS;
  ------------------
  |  |   21|      6|#define SUCCESS 0
  ------------------
 3145|       |
 3146|      6|done:
 3147|      6|    ref_stack_fini(&refs);
 3148|      6|    PyMem_Free(instr_flags);
 3149|      6|    PyMem_Free(blocks);
 3150|      6|    return status;
 3151|      6|}
flowgraph.c:ref_stack_clear:
 2769|      6|{
 2770|      6|    stack->size = 0;
 2771|      6|}
flowgraph.c:ref_stack_push:
 2725|     39|{
 2726|     39|    if (stack->size == stack->capacity) {
  ------------------
  |  Branch (2726:9): [True: 6, False: 33]
  ------------------
 2727|      6|        Py_ssize_t new_cap = Py_MAX(32, stack->capacity * 2);
  ------------------
  |  |  115|      6|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 6, False: 0]
  |  |  ------------------
  ------------------
 2728|      6|        ref *refs = PyMem_Realloc(stack->refs, sizeof(*stack->refs) * new_cap);
 2729|      6|        if (refs == NULL) {
  ------------------
  |  Branch (2729:13): [True: 0, False: 6]
  ------------------
 2730|      0|            PyErr_NoMemory();
 2731|      0|            return -1;
 2732|      0|        }
 2733|      6|        stack->refs = refs;
 2734|      6|        stack->capacity = new_cap;
 2735|      6|    }
 2736|     39|    stack->refs[stack->size] = r;
 2737|     39|    stack->size++;
 2738|     39|    return 0;
 2739|     39|}
flowgraph.c:ref_stack_pop:
 2743|     33|{
 2744|     33|    assert(stack->size > 0);
  ------------------
  |  Branch (2744:5): [True: 33, False: 0]
  ------------------
 2745|     33|    stack->size--;
 2746|     33|    ref r = stack->refs[stack->size];
 2747|     33|    return r;
 2748|     33|}
flowgraph.c:ref_stack_at:
 2762|      6|{
 2763|      6|    assert(idx >= 0 && idx < stack->size);
  ------------------
  |  Branch (2763:5): [True: 6, False: 0]
  |  Branch (2763:5): [True: 6, False: 0]
  ------------------
 2764|      6|    return stack->refs[idx];
 2765|      6|}
flowgraph.c:ref_stack_fini:
 2775|      6|{
 2776|      6|    if (stack->refs != NULL) {
  ------------------
  |  Branch (2776:9): [True: 6, False: 0]
  ------------------
 2777|      6|        PyMem_Free(stack->refs);
 2778|      6|    }
 2779|       |    stack->refs = NULL;
 2780|      6|    stack->capacity = 0;
 2781|      6|    stack->size = 0;
 2782|      6|}
flowgraph.c:get_stack_effects:
  780|     35|{
  781|     35|    if (opcode < 0) {
  ------------------
  |  Branch (781:9): [True: 0, False: 35]
  ------------------
  782|      0|        return -1;
  783|      0|    }
  784|     35|    if ((opcode <= MAX_REAL_OPCODE) && (_PyOpcode_Deopt[opcode] != opcode)) {
  ------------------
  |  |   11|     35|#define MAX_REAL_OPCODE 254
  ------------------
  |  Branch (784:9): [True: 35, False: 0]
  |  Branch (784:40): [True: 0, False: 35]
  ------------------
  785|       |        // Specialized instructions are not supported.
  786|      0|        return -1;
  787|      0|    }
  788|     35|    int popped = _PyOpcode_num_popped(opcode, oparg);
  789|     35|    int pushed = _PyOpcode_num_pushed(opcode, oparg);
  790|     35|    if (popped < 0 || pushed < 0) {
  ------------------
  |  Branch (790:9): [True: 0, False: 35]
  |  Branch (790:23): [True: 0, False: 35]
  ------------------
  791|      0|        return -1;
  792|      0|    }
  793|     35|    if (IS_BLOCK_PUSH_OPCODE(opcode) && !jump) {
  ------------------
  |  |   18|     70|        ((opcode) == SETUP_FINALLY || \
  |  |  ------------------
  |  |  |  |  252|     70|#define SETUP_FINALLY                          264
  |  |  ------------------
  |  |  |  Branch (18:10): [True: 0, False: 35]
  |  |  ------------------
  |  |   19|     35|         (opcode) == SETUP_WITH || \
  |  |  ------------------
  |  |  |  |  253|     70|#define SETUP_WITH                             265
  |  |  ------------------
  |  |  |  Branch (19:10): [True: 0, False: 35]
  |  |  ------------------
  |  |   20|     70|         (opcode) == SETUP_CLEANUP)
  |  |  ------------------
  |  |  |  |  251|     35|#define SETUP_CLEANUP                          263
  |  |  ------------------
  |  |  |  Branch (20:10): [True: 0, False: 35]
  |  |  ------------------
  ------------------
  |  Branch (793:41): [True: 0, False: 0]
  ------------------
  794|      0|        effects->net = 0;
  795|      0|        return 0;
  796|      0|    }
  797|     35|    effects->net = pushed - popped;
  798|     35|    return 0;
  799|     35|}

_PyFrame_Traverse:
   12|   738k|{
   13|   738k|    Py_VISIT(frame->frame_obj);
  ------------------
  |  |  194|   738k|    do {                                                                \
  |  |  195|   738k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 738k]
  |  |  ------------------
  |  |  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|   738k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 738k]
  |  |  ------------------
  ------------------
   14|   738k|    Py_VISIT(frame->f_locals);
  ------------------
  |  |  194|   738k|    do {                                                                \
  |  |  195|   738k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 738k]
  |  |  ------------------
  |  |  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|   738k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 738k]
  |  |  ------------------
  ------------------
   15|   738k|    _Py_VISIT_STACKREF(frame->f_funcobj);
  ------------------
  |  |  863|   738k|    do {                                                                \
  |  |  864|   738k|        if (!PyStackRef_IsNullOrInt(ref)) {                             \
  |  |  ------------------
  |  |  |  |  498|   738k|#define PyStackRef_IsNullOrInt(stackref) (PyStackRef_IsNull(stackref) || PyStackRef_IsTaggedInt(stackref))
  |  |  |  |  ------------------
  |  |  |  |  |  |  482|  1.47M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  479|   738k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|   738k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (482:32): [True: 0, False: 738k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (498:74): [True: 0, False: 738k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  865|   738k|            int vret = _PyGC_VisitStackRef(&(ref), visit, arg);         \
  |  |  866|   738k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (866:17): [True: 0, False: 738k]
  |  |  ------------------
  |  |  867|   738k|                return vret;                                            \
  |  |  868|   738k|        }                                                               \
  |  |  869|   738k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (869:14): [Folded, False: 738k]
  |  |  ------------------
  ------------------
   16|   738k|    _Py_VISIT_STACKREF(frame->f_executable);
  ------------------
  |  |  863|   738k|    do {                                                                \
  |  |  864|   738k|        if (!PyStackRef_IsNullOrInt(ref)) {                             \
  |  |  ------------------
  |  |  |  |  498|   738k|#define PyStackRef_IsNullOrInt(stackref) (PyStackRef_IsNull(stackref) || PyStackRef_IsTaggedInt(stackref))
  |  |  |  |  ------------------
  |  |  |  |  |  |  482|  1.47M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  479|   738k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|   738k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (482:32): [True: 0, False: 738k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (498:74): [True: 0, False: 738k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  865|   738k|            int vret = _PyGC_VisitStackRef(&(ref), visit, arg);         \
  |  |  866|   738k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (866:17): [True: 0, False: 738k]
  |  |  ------------------
  |  |  867|   738k|                return vret;                                            \
  |  |  868|   738k|        }                                                               \
  |  |  869|   738k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (869:14): [Folded, False: 738k]
  |  |  ------------------
  ------------------
   17|   738k|    return _PyGC_VisitFrameStack(frame, visit, arg);
   18|   738k|}
_PyFrame_MakeAndSetFrameObject:
   22|  6.02M|{
   23|  6.02M|    assert(frame->frame_obj == NULL);
  ------------------
  |  Branch (23:5): [True: 6.02M, False: 0]
  ------------------
   24|  6.02M|    PyObject *exc = PyErr_GetRaisedException();
   25|       |
   26|  6.02M|    PyFrameObject *f = _PyFrame_New_NoTrack(_PyFrame_GetCode(frame));
   27|  6.02M|    if (f == NULL) {
  ------------------
  |  Branch (27:9): [True: 0, False: 6.02M]
  ------------------
   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|  6.02M|    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|  6.02M|    assert(frame->frame_obj == NULL);
  ------------------
  |  Branch (40:5): [True: 6.02M, False: 0]
  ------------------
   41|  6.02M|    assert(frame->owner != FRAME_OWNED_BY_FRAME_OBJECT);
  ------------------
  |  Branch (41:5): [True: 6.02M, False: 0]
  ------------------
   42|  6.02M|    f->f_frame = frame;
   43|  6.02M|    frame->frame_obj = f;
   44|  6.02M|    return f;
   45|  6.02M|}
_PyFrame_ClearLocals:
   94|   148M|{
   95|   148M|    assert(frame->stackpointer != NULL);
  ------------------
  |  Branch (95:5): [True: 148M, False: 0]
  ------------------
   96|   148M|    _PyStackRef *sp = frame->stackpointer;
   97|   148M|    _PyStackRef *locals = frame->localsplus;
   98|   148M|    frame->stackpointer = locals;
   99|   774M|    while (sp > locals) {
  ------------------
  |  Branch (99:12): [True: 625M, False: 148M]
  ------------------
  100|   625M|        sp--;
  101|   625M|        PyStackRef_XCLOSE(*sp);
  102|   625M|    }
  103|       |    Py_CLEAR(frame->f_locals);
  ------------------
  |  |  484|   148M|    do { \
  |  |  485|   148M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|   148M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|   148M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|   148M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|   148M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 319, False: 148M]
  |  |  ------------------
  |  |  488|    319|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    319|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    319|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    319|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    319|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    319|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    319|        } \
  |  |  491|   148M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 148M]
  |  |  ------------------
  ------------------
  104|   148M|}
_PyFrame_ClearExceptCode:
  108|   151M|{
  109|       |    /* It is the responsibility of the owning generator/coroutine
  110|       |     * to have cleared the enclosing generator, if any. */
  111|   151M|    assert(frame->owner != FRAME_OWNED_BY_GENERATOR ||
  ------------------
  |  Branch (111:5): [True: 146M, False: 5.23M]
  |  Branch (111:5): [True: 5.23M, False: 0]
  ------------------
  112|   151M|           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|   151M|    assert(_PyThreadState_GET()->current_frame != frame);
  ------------------
  |  Branch (115:5): [True: 151M, False: 0]
  ------------------
  116|   151M|    if (frame->frame_obj) {
  ------------------
  |  Branch (116:9): [True: 6.02M, False: 145M]
  ------------------
  117|  6.02M|        PyFrameObject *f = frame->frame_obj;
  118|  6.02M|        frame->frame_obj = NULL;
  119|  6.02M|        if (!_PyObject_IsUniquelyReferenced((PyObject *)f)) {
  ------------------
  |  Branch (119:13): [True: 3.09M, False: 2.93M]
  ------------------
  120|  3.09M|            take_ownership(f, frame);
  121|  3.09M|            Py_DECREF(f);
  ------------------
  |  |  430|  3.09M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.09M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.09M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  122|  3.09M|            return;
  123|  3.09M|        }
  124|  2.93M|        Py_DECREF(f);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  125|  2.93M|    }
  126|   148M|    _PyFrame_ClearLocals(frame);
  127|   148M|    PyStackRef_CLEAR(frame->f_funcobj);
  ------------------
  |  |  732|   148M|    do { \
  |  |  733|   148M|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|   148M|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|   148M|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|   148M|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|   148M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 148M]
  |  |  ------------------
  ------------------
  128|   148M|}
PyUnstable_InterpreterFrame_GetLine:
  148|   549k|{
  149|   549k|    int addr = _PyInterpreterFrame_LASTI(frame) * sizeof(_Py_CODEUNIT);
  ------------------
  |  |   18|   549k|    ((int)((IF)->instr_ptr - _PyFrame_GetBytecode((IF))))
  ------------------
  150|   549k|    return PyCode_Addr2Line(_PyFrame_GetCode(frame), addr);
  151|   549k|}
frame.c:take_ownership:
   49|  3.09M|{
   50|  3.09M|    Py_BEGIN_CRITICAL_SECTION(f);
  ------------------
  |  |   51|  3.09M|    {
  ------------------
   51|  3.09M|    assert(frame->owner < FRAME_OWNED_BY_INTERPRETER);
  ------------------
  |  Branch (51:5): [True: 3.09M, False: 0]
  ------------------
   52|  3.09M|    assert(frame->owner != FRAME_OWNED_BY_FRAME_OBJECT);
  ------------------
  |  Branch (52:5): [True: 3.09M, False: 0]
  ------------------
   53|  3.09M|    _PyInterpreterFrame *new_frame = (_PyInterpreterFrame *)f->_f_frame_data;
   54|  3.09M|    _PyFrame_Copy(frame, new_frame);
   55|       |    // _PyFrame_Copy takes the reference to the executable,
   56|       |    // so we need to restore it.
   57|  3.09M|    new_frame->f_executable = PyStackRef_DUP(new_frame->f_executable);
   58|  3.09M|    f->f_frame = new_frame;
   59|  3.09M|    new_frame->owner = FRAME_OWNED_BY_FRAME_OBJECT;
   60|  3.09M|    if (_PyFrame_IsIncomplete(new_frame)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 3.09M]
  ------------------
   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|  3.09M|    assert(!_PyFrame_IsIncomplete(new_frame));
  ------------------
  |  Branch (67:5): [True: 3.09M, False: 0]
  ------------------
   68|  3.09M|    assert(f->f_back == NULL);
  ------------------
  |  Branch (68:5): [True: 3.09M, False: 0]
  ------------------
   69|  3.09M|    _PyInterpreterFrame *prev = _PyFrame_GetFirstComplete(frame->previous);
   70|  3.09M|    if (prev) {
  ------------------
  |  Branch (70:9): [True: 3.05M, False: 34.5k]
  ------------------
   71|  3.05M|        assert(prev->owner < FRAME_OWNED_BY_INTERPRETER);
  ------------------
  |  Branch (71:9): [True: 3.05M, False: 0]
  ------------------
   72|  3.05M|        PyObject *exc = PyErr_GetRaisedException();
   73|       |        /* Link PyFrameObjects.f_back and remove link through _PyInterpreterFrame.previous */
   74|  3.05M|        PyFrameObject *back = _PyFrame_GetFrameObject(prev);
   75|  3.05M|        if (back == NULL) {
  ------------------
  |  Branch (75:13): [True: 0, False: 3.05M]
  ------------------
   76|       |            /* Memory error here. */
   77|      0|            assert(PyErr_ExceptionMatches(PyExc_MemoryError));
  ------------------
  |  Branch (77:13): [True: 0, False: 0]
  ------------------
   78|       |            /* Nothing we can do about it */
   79|      0|            PyErr_Clear();
   80|      0|        }
   81|  3.05M|        else {
   82|  3.05M|            f->f_back = (PyFrameObject *)Py_NewRef(back);
  ------------------
  |  |  550|  3.05M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   83|  3.05M|        }
   84|  3.05M|        PyErr_SetRaisedException(exc);
   85|  3.05M|    }
   86|  3.09M|    if (!_PyObject_GC_IS_TRACKED((PyObject *)f)) {
  ------------------
  |  |   81|  3.09M|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  3.09M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (86:9): [True: 3.09M, False: 0]
  ------------------
   87|  3.09M|        _PyObject_GC_TRACK((PyObject *)f);
  ------------------
  |  |  507|  3.09M|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.09M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.09M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   88|  3.09M|    }
   89|  3.09M|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  3.09M|    }
  ------------------
   90|  3.09M|}

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

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

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

PyArg_ParseTuple:
  104|    314|{
  105|    314|    int retval;
  106|    314|    va_list va;
  107|       |
  108|    314|    va_start(va, format);
  109|    314|    retval = vgetargs1(args, format, &va, 0);
  110|       |    va_end(va);
  111|    314|    return retval;
  112|    314|}
PyArg_ParseTupleAndKeywords:
 1426|     97|{
 1427|     97|    int retval;
 1428|     97|    va_list va;
 1429|       |
 1430|     97|    if ((args == NULL || !PyTuple_Check(args)) ||
  ------------------
  |  |   27|     97|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     97|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1430:10): [True: 0, False: 97]
  |  Branch (1430:26): [True: 0, False: 97]
  ------------------
 1431|     97|        (keywords != NULL && !PyDict_Check(keywords)) ||
  ------------------
  |  |   18|     18|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     18|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1431:10): [True: 18, False: 79]
  |  Branch (1431:30): [True: 0, False: 18]
  ------------------
 1432|     97|        format == NULL ||
  ------------------
  |  Branch (1432:9): [True: 0, False: 97]
  ------------------
 1433|     97|        kwlist == NULL)
  ------------------
  |  Branch (1433:9): [True: 0, False: 97]
  ------------------
 1434|      0|    {
 1435|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1436|      0|        return 0;
 1437|      0|    }
 1438|       |
 1439|     97|    va_start(va, kwlist);
 1440|     97|    retval = vgetargskeywords(args, keywords, format, kwlist, &va, 0);
 1441|       |    va_end(va);
 1442|     97|    return retval;
 1443|     97|}
PyArg_ValidateKeywordArguments:
 1640|     34|{
 1641|     34|    if (!PyDict_Check(kwargs)) {
  ------------------
  |  |   18|     34|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     34|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1641:9): [True: 0, False: 34]
  ------------------
 1642|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1643|      0|        return 0;
 1644|      0|    }
 1645|     34|    if (!_PyDict_HasOnlyStringKeys(kwargs)) {
  ------------------
  |  Branch (1645:9): [True: 0, False: 34]
  ------------------
 1646|      0|        PyErr_SetString(PyExc_TypeError,
 1647|      0|                        "keywords must be strings");
 1648|      0|        return 0;
 1649|      0|    }
 1650|     34|    return 1;
 1651|     34|}
_PyArg_UnpackKeywords:
 2524|  1.08M|{
 2525|  1.08M|    PyObject *kwtuple;
 2526|  1.08M|    PyObject *keyword;
 2527|  1.08M|    int i, posonly, minposonly, maxargs;
 2528|  1.08M|    int reqlimit = minkw ? maxpos + minkw : minpos;
  ------------------
  |  Branch (2528:20): [True: 0, False: 1.08M]
  ------------------
 2529|  1.08M|    Py_ssize_t nkwargs;
 2530|  1.08M|    PyObject * const *kwstack = NULL;
 2531|       |
 2532|  1.08M|    assert(kwargs == NULL || PyDict_Check(kwargs));
  ------------------
  |  Branch (2532:5): [True: 1.08M, False: 3]
  |  Branch (2532:5): [True: 3, False: 0]
  ------------------
 2533|  1.08M|    assert(kwargs == NULL || kwnames == NULL);
  ------------------
  |  Branch (2533:5): [True: 1.08M, False: 3]
  |  Branch (2533:5): [True: 3, False: 0]
  ------------------
 2534|       |
 2535|  1.08M|    if (parser == NULL) {
  ------------------
  |  Branch (2535:9): [True: 0, False: 1.08M]
  ------------------
 2536|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2537|      0|        return NULL;
 2538|      0|    }
 2539|       |
 2540|  1.08M|    if (kwnames != NULL && !PyTuple_Check(kwnames)) {
  ------------------
  |  |   27|  1.08M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.08M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2540:9): [True: 1.08M, False: 3]
  |  Branch (2540:28): [True: 0, False: 1.08M]
  ------------------
 2541|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2542|      0|        return NULL;
 2543|      0|    }
 2544|       |
 2545|  1.08M|    if (args == NULL && nargs == 0) {
  ------------------
  |  Branch (2545:9): [True: 0, False: 1.08M]
  |  Branch (2545:25): [True: 0, False: 0]
  ------------------
 2546|      0|        args = buf;
 2547|      0|    }
 2548|       |
 2549|  1.08M|    if (parser_init(parser) < 0) {
  ------------------
  |  Branch (2549:9): [True: 0, False: 1.08M]
  ------------------
 2550|      0|        return NULL;
 2551|      0|    }
 2552|       |
 2553|  1.08M|    kwtuple = parser->kwtuple;
 2554|  1.08M|    posonly = parser->pos;
 2555|  1.08M|    minposonly = Py_MIN(posonly, minpos);
  ------------------
  |  |  112|  1.08M|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 0, False: 1.08M]
  |  |  ------------------
  ------------------
 2556|  1.08M|    maxargs = posonly + (int)PyTuple_GET_SIZE(kwtuple);
  ------------------
  |  |   27|  1.08M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2557|       |
 2558|  1.08M|    if (kwargs != NULL) {
  ------------------
  |  Branch (2558:9): [True: 3, False: 1.08M]
  ------------------
 2559|      3|        nkwargs = PyDict_GET_SIZE(kwargs);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2560|      3|    }
 2561|  1.08M|    else if (kwnames != NULL) {
  ------------------
  |  Branch (2561:14): [True: 1.08M, False: 0]
  ------------------
 2562|  1.08M|        nkwargs = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|  1.08M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2563|  1.08M|        kwstack = args + nargs;
 2564|  1.08M|    }
 2565|      0|    else {
 2566|      0|        nkwargs = 0;
 2567|      0|    }
 2568|  1.08M|    if (nkwargs == 0 && minkw == 0 && minpos <= nargs && (varpos || nargs <= maxpos)) {
  ------------------
  |  Branch (2568:9): [True: 0, False: 1.08M]
  |  Branch (2568:25): [True: 0, False: 0]
  |  Branch (2568:39): [True: 0, False: 0]
  |  Branch (2568:59): [True: 0, False: 0]
  |  Branch (2568:69): [True: 0, False: 0]
  ------------------
 2569|       |        /* Fast path. */
 2570|      0|        return args;
 2571|      0|    }
 2572|  1.08M|    if (!varpos && nargs + nkwargs > maxargs) {
  ------------------
  |  Branch (2572:9): [True: 1.08M, False: 0]
  |  Branch (2572:20): [True: 0, False: 1.08M]
  ------------------
 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|  1.08M|    if (!varpos && nargs > maxpos) {
  ------------------
  |  Branch (2585:9): [True: 1.08M, False: 0]
  |  Branch (2585:20): [True: 0, False: 1.08M]
  ------------------
 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|  1.08M|    if (nargs < minposonly) {
  ------------------
  |  Branch (2604:9): [True: 0, False: 1.08M]
  ------------------
 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|  1.08M|    if (varpos) {
  ------------------
  |  Branch (2617:9): [True: 0, False: 1.08M]
  ------------------
 2618|      0|        nargs = Py_MIN(maxpos, nargs);
  ------------------
  |  |  112|      0|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2619|      0|    }
 2620|       |    /* copy tuple args */
 2621|  3.24M|    for (i = 0; i < nargs; i++) {
  ------------------
  |  Branch (2621:17): [True: 2.16M, False: 1.08M]
  ------------------
 2622|  2.16M|        buf[i] = args[i];
 2623|  2.16M|    }
 2624|       |
 2625|       |    /* copy keyword args using kwtuple to drive process */
 2626|  2.16M|    for (i = Py_MAX((int)nargs, posonly); i < maxargs; i++) {
  ------------------
  |  |  115|  1.08M|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 1.08M, False: 3]
  |  |  ------------------
  ------------------
  |  Branch (2626:43): [True: 2.16M, False: 3]
  ------------------
 2627|  2.16M|        PyObject *current_arg;
 2628|  2.16M|        if (nkwargs) {
  ------------------
  |  Branch (2628:13): [True: 1.08M, False: 1.08M]
  ------------------
 2629|  1.08M|            keyword = PyTuple_GET_ITEM(kwtuple, i - posonly);
  ------------------
  |  |   29|  1.08M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.08M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2629:23): [True: 1.08M, False: 0]
  ------------------
 2630|  1.08M|            if (kwargs != NULL) {
  ------------------
  |  Branch (2630:17): [True: 9, False: 1.08M]
  ------------------
 2631|      9|                if (PyDict_GetItemRef(kwargs, keyword, &current_arg) < 0) {
  ------------------
  |  Branch (2631:21): [True: 0, False: 9]
  ------------------
 2632|      0|                    return NULL;
 2633|      0|                }
 2634|      9|            }
 2635|  1.08M|            else {
 2636|  1.08M|                current_arg = find_keyword(kwnames, kwstack, keyword);
 2637|  1.08M|            }
 2638|  1.08M|        }
 2639|  1.08M|        else if (i >= reqlimit) {
  ------------------
  |  Branch (2639:18): [True: 1.08M, False: 0]
  ------------------
 2640|  1.08M|            break;
 2641|  1.08M|        }
 2642|      0|        else {
 2643|      0|            current_arg = NULL;
 2644|      0|        }
 2645|       |
 2646|  1.08M|        buf[i] = current_arg;
 2647|       |
 2648|  1.08M|        if (current_arg) {
  ------------------
  |  Branch (2648:13): [True: 1.08M, False: 11]
  ------------------
 2649|  1.08M|            Py_DECREF(current_arg);
  ------------------
  |  |  430|  1.08M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2650|  1.08M|            --nkwargs;
 2651|  1.08M|        }
 2652|     11|        else if (i < minpos || (maxpos <= i && i < reqlimit)) {
  ------------------
  |  Branch (2652:18): [True: 0, False: 11]
  |  Branch (2652:33): [True: 1, False: 10]
  |  Branch (2652:48): [True: 0, False: 1]
  ------------------
 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2654:23): [True: 0, False: 0]
  ------------------
 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|  1.08M|    }
 2663|       |
 2664|  1.08M|    if (nkwargs > 0) {
  ------------------
  |  Branch (2664:9): [True: 0, False: 1.08M]
  ------------------
 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2668:23): [True: 0, False: 0]
  ------------------
 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|  1.08M|    return buf;
 2695|  1.08M|}
_PyArg_CheckPositional:
 2838|  1.99k|{
 2839|  1.99k|    assert(min >= 0);
  ------------------
  |  Branch (2839:5): [True: 1.99k, False: 0]
  ------------------
 2840|  1.99k|    assert(min <= max);
  ------------------
  |  Branch (2840:5): [True: 1.99k, False: 0]
  ------------------
 2841|       |
 2842|  1.99k|    if (nargs < min) {
  ------------------
  |  Branch (2842:9): [True: 0, False: 1.99k]
  ------------------
 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|  1.99k|    if (nargs == 0) {
  ------------------
  |  Branch (2857:9): [True: 43, False: 1.95k]
  ------------------
 2858|     43|        return 1;
 2859|     43|    }
 2860|       |
 2861|  1.95k|    if (nargs > max) {
  ------------------
  |  Branch (2861:9): [True: 0, False: 1.95k]
  ------------------
 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|  1.95k|    return 1;
 2877|  1.95k|}
PyArg_UnpackTuple:
 2899|    994|{
 2900|    994|    PyObject **stack;
 2901|    994|    Py_ssize_t nargs;
 2902|    994|    int retval;
 2903|    994|    va_list vargs;
 2904|       |
 2905|    994|    if (!PyTuple_Check(args)) {
  ------------------
  |  |   27|    994|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    994|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2905:9): [True: 0, False: 994]
  ------------------
 2906|      0|        PyErr_SetString(PyExc_SystemError,
 2907|      0|            "PyArg_UnpackTuple() argument list is not a tuple");
 2908|      0|        return 0;
 2909|      0|    }
 2910|    994|    stack = _PyTuple_ITEMS(args);
  ------------------
  |  |   26|    994|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  277|  1.98k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 994, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2911|    994|    nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|    994|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    994|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    994|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2912|       |
 2913|    994|    va_start(vargs, max);
 2914|    994|    retval = unpack_stack(stack, nargs, name, min, max, vargs);
 2915|       |    va_end(vargs);
 2916|    994|    return retval;
 2917|    994|}
_PyArg_UnpackStack:
 2922|  1.00k|{
 2923|  1.00k|    int retval;
 2924|  1.00k|    va_list vargs;
 2925|       |
 2926|  1.00k|    va_start(vargs, max);
 2927|  1.00k|    retval = unpack_stack(args, nargs, name, min, max, vargs);
 2928|       |    va_end(vargs);
 2929|  1.00k|    return retval;
 2930|  1.00k|}
_PyArg_NoPositional:
 2963|     90|{
 2964|     90|    if (args == NULL)
  ------------------
  |  Branch (2964:9): [True: 0, False: 90]
  ------------------
 2965|      0|        return 1;
 2966|     90|    if (!PyTuple_CheckExact(args)) {
  ------------------
  |  |   28|     90|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|     90|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     90|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     90|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2966:9): [True: 0, False: 90]
  ------------------
 2967|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2968|      0|        return 0;
 2969|      0|    }
 2970|     90|    if (PyTuple_GET_SIZE(args) == 0)
  ------------------
  |  |   27|     90|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     90|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     90|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2970:9): [True: 90, False: 0]
  ------------------
 2971|     90|        return 1;
 2972|       |
 2973|      0|    PyErr_Format(PyExc_TypeError, "%.200s() takes no positional arguments",
 2974|      0|                    funcname);
 2975|      0|    return 0;
 2976|     90|}
getargs.c:vgetargs1_impl:
  258|    314|{
  259|    314|    char msgbuf[256];
  260|    314|    int levels[32];
  261|    314|    const char *fname = NULL;
  262|    314|    const char *message = NULL;
  263|    314|    int min = -1;
  264|    314|    int max = 0;
  265|    314|    int level = 0;
  266|    314|    int endfmt = 0;
  267|    314|    const char *formatsave = format;
  268|    314|    Py_ssize_t i;
  269|    314|    const char *msg;
  270|    314|    int compat = flags & FLAG_COMPAT;
  ------------------
  |  |   24|    314|#define FLAG_COMPAT 1
  ------------------
  271|    314|    freelistentry_t static_entries[STATIC_FREELIST_ENTRIES];
  272|    314|    freelist_t freelist;
  273|       |
  274|    314|    assert(nargs == 0 || stack != NULL);
  ------------------
  |  Branch (274:5): [True: 0, False: 314]
  |  Branch (274:5): [True: 314, False: 0]
  ------------------
  275|       |
  276|    314|    freelist.entries = static_entries;
  277|    314|    freelist.first_available = 0;
  278|    314|    freelist.entries_malloced = 0;
  279|       |
  280|    314|    flags = flags & ~FLAG_COMPAT;
  ------------------
  |  |   24|    314|#define FLAG_COMPAT 1
  ------------------
  281|       |
  282|  1.75k|    while (endfmt == 0) {
  ------------------
  |  Branch (282:12): [True: 1.43k, False: 314]
  ------------------
  283|  1.43k|        int c = *format++;
  284|  1.43k|        switch (c) {
  285|      0|        case '(':
  ------------------
  |  Branch (285:9): [True: 0, False: 1.43k]
  ------------------
  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.43k]
  ------------------
  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|     44|        case '\0':
  ------------------
  |  Branch (299:9): [True: 44, False: 1.39k]
  ------------------
  300|     44|            endfmt = 1;
  301|     44|            break;
  302|    270|        case ':':
  ------------------
  |  Branch (302:9): [True: 270, False: 1.16k]
  ------------------
  303|    270|            fname = format;
  304|    270|            endfmt = 1;
  305|    270|            break;
  306|      0|        case ';':
  ------------------
  |  Branch (306:9): [True: 0, False: 1.43k]
  ------------------
  307|      0|            message = format;
  308|      0|            endfmt = 1;
  309|      0|            break;
  310|      0|        case '|':
  ------------------
  |  Branch (310:9): [True: 0, False: 1.43k]
  ------------------
  311|      0|            if (level == 0)
  ------------------
  |  Branch (311:17): [True: 0, False: 0]
  ------------------
  312|      0|                min = max;
  313|      0|            break;
  314|  1.12k|        default:
  ------------------
  |  Branch (314:9): [True: 1.12k, False: 314]
  ------------------
  315|  1.12k|            if (level == 0) {
  ------------------
  |  Branch (315:17): [True: 1.12k, False: 0]
  ------------------
  316|  1.12k|                if (Py_ISALPHA(c))
  ------------------
  |  |   23|  1.12k|#define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |  138|  1.12k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |   10|  1.12k|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|  1.12k|#define PY_CTF_LOWER  0x01
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    9|  1.12k|#define PY_CTF_UPPER  0x02
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (23:24): [True: 854, False: 270]
  |  |  ------------------
  ------------------
  317|    854|                    if (c != 'e') /* skip encoded */
  ------------------
  |  Branch (317:25): [True: 854, False: 0]
  ------------------
  318|    854|                        max++;
  319|  1.12k|            }
  320|  1.12k|            break;
  321|  1.43k|        }
  322|  1.43k|    }
  323|       |
  324|    314|    if (level != 0)
  ------------------
  |  Branch (324:9): [True: 0, False: 314]
  ------------------
  325|      0|        Py_FatalError(/* '(' */ "missing ')' in getargs format");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
  326|       |
  327|    314|    if (min < 0)
  ------------------
  |  Branch (327:9): [True: 314, False: 0]
  ------------------
  328|    314|        min = max;
  329|       |
  330|    314|    format = formatsave;
  331|       |
  332|    314|    if (max > STATIC_FREELIST_ENTRIES) {
  ------------------
  |  |   44|    314|#define STATIC_FREELIST_ENTRIES 8
  ------------------
  |  Branch (332:9): [True: 0, False: 314]
  ------------------
  333|      0|        freelist.entries = PyMem_NEW(freelistentry_t, max);
  ------------------
  |  |   82|      0|#define PyMem_NEW(type, n)        PyMem_New(type, (n))
  |  |  ------------------
  |  |  |  |   64|      0|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (64:5): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   65|      0|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  |  |  ------------------
  ------------------
  334|      0|        if (freelist.entries == NULL) {
  ------------------
  |  Branch (334:13): [True: 0, False: 0]
  ------------------
  335|      0|            PyErr_NoMemory();
  336|      0|            return 0;
  337|      0|        }
  338|      0|        freelist.entries_malloced = 1;
  339|      0|    }
  340|       |
  341|    314|    if (compat) {
  ------------------
  |  Branch (341:9): [True: 0, False: 314]
  ------------------
  342|      0|        if (max == 0) {
  ------------------
  |  Branch (342:13): [True: 0, False: 0]
  ------------------
  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|      0|        else if (min == 1 && max == 1) {
  ------------------
  |  Branch (351:18): [True: 0, False: 0]
  |  Branch (351:30): [True: 0, False: 0]
  ------------------
  352|      0|            if (compat_args == NULL) {
  ------------------
  |  Branch (352:17): [True: 0, False: 0]
  ------------------
  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|      0|            msg = convertitem(compat_args, &format, p_va, flags, levels,
  360|      0|                              msgbuf, sizeof(msgbuf), &freelist);
  361|      0|            if (msg == NULL)
  ------------------
  |  Branch (361:17): [True: 0, False: 0]
  ------------------
  362|      0|                return cleanreturn(1, &freelist);
  363|      0|            seterror(levels[0], msg, levels+1, fname, message);
  364|      0|            return cleanreturn(0, &freelist);
  365|      0|        }
  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|      0|    }
  372|       |
  373|    314|    if (nargs < min || max < nargs) {
  ------------------
  |  Branch (373:9): [True: 0, False: 314]
  |  Branch (373:24): [True: 0, False: 314]
  ------------------
  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|  1.16k|    for (i = 0; i < nargs; i++) {
  ------------------
  |  Branch (389:17): [True: 854, False: 314]
  ------------------
  390|    854|        if (*format == '|')
  ------------------
  |  Branch (390:13): [True: 0, False: 854]
  ------------------
  391|      0|            format++;
  392|    854|        msg = convertitem(stack[i], &format, p_va,
  393|    854|                          flags, levels, msgbuf,
  394|    854|                          sizeof(msgbuf), &freelist);
  395|    854|        if (msg) {
  ------------------
  |  Branch (395:13): [True: 0, False: 854]
  ------------------
  396|      0|            seterror(i+1, msg, levels, fname, message);
  397|      0|            return cleanreturn(0, &freelist);
  398|      0|        }
  399|    854|    }
  400|       |
  401|    314|    if (*format != '\0' && !Py_ISALPHA(*format) &&
  ------------------
  |  |   23|    584|#define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |  138|    270|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |   10|    270|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|    270|#define PY_CTF_LOWER  0x01
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    9|    270|#define PY_CTF_UPPER  0x02
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (401:9): [True: 270, False: 44]
  |  Branch (401:28): [True: 270, False: 0]
  ------------------
  402|    270|        *format != '(' &&
  ------------------
  |  Branch (402:9): [True: 270, False: 0]
  ------------------
  403|    270|        *format != '|' && *format != ':' && *format != ';') {
  ------------------
  |  Branch (403:9): [True: 270, False: 0]
  |  Branch (403:27): [True: 0, False: 270]
  |  Branch (403:45): [True: 0, False: 0]
  ------------------
  404|      0|        PyErr_Format(PyExc_SystemError,
  405|      0|                     "bad format string: %.200s", formatsave);
  406|      0|        return cleanreturn(0, &freelist);
  407|      0|    }
  408|       |
  409|    314|    return cleanreturn(1, &freelist);
  410|    314|}
getargs.c:cleanreturn:
  237|    411|{
  238|    411|    int index;
  239|       |
  240|    411|    if (retval == 0) {
  ------------------
  |  Branch (240:9): [True: 0, False: 411]
  ------------------
  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|    411|    if (freelist->entries_malloced)
  ------------------
  |  Branch (249:9): [True: 0, False: 411]
  ------------------
  250|      0|        PyMem_Free(freelist->entries);
  251|    411|    return retval;
  252|    411|}
getargs.c:convertitem:
  634|    884|{
  635|    884|    const char *msg;
  636|    884|    const char *format = *p_format;
  637|       |
  638|    884|    if (*format == '(' /* ')' */) {
  ------------------
  |  Branch (638:9): [True: 0, False: 884]
  ------------------
  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|    884|    else {
  646|    884|        msg = convertsimple(arg, &format, p_va, flags,
  647|    884|                            msgbuf, bufsize, freelist);
  648|    884|        if (msg != NULL)
  ------------------
  |  Branch (648:13): [True: 0, False: 884]
  ------------------
  649|      0|            levels[0] = 0;
  650|    884|    }
  651|    884|    if (msg == NULL)
  ------------------
  |  Branch (651:9): [True: 884, False: 0]
  ------------------
  652|    884|        *p_format = format;
  653|    884|    return msg;
  654|    884|}
getargs.c:convertsimple:
  714|    884|{
  715|    884|#define RETURN_ERR_OCCURRED return msgbuf
  716|       |
  717|    884|    const char *format = *p_format;
  718|    884|    char c = *format++;
  719|    884|    const char *sarg;
  720|       |
  721|    884|    switch (c) {
  722|       |
  723|      0|    case 'b': { /* unsigned byte -- very short int */
  ------------------
  |  Branch (723:5): [True: 0, False: 884]
  ------------------
  724|      0|        unsigned char *p = va_arg(*p_va, unsigned char *);
  725|      0|        long ival = PyLong_AsLong(arg);
  726|      0|        if (ival == -1 && PyErr_Occurred())
  ------------------
  |  Branch (726:13): [True: 0, False: 0]
  |  Branch (726:27): [True: 0, False: 0]
  ------------------
  727|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  715|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  728|      0|        else if (ival < 0) {
  ------------------
  |  Branch (728:18): [True: 0, False: 0]
  ------------------
  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|      0|        else if (ival > UCHAR_MAX) {
  ------------------
  |  Branch (733:18): [True: 0, False: 0]
  ------------------
  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|      0|        else
  739|      0|            *p = (unsigned char) ival;
  740|      0|        break;
  741|      0|    }
  742|       |
  743|      0|    case 'B': {/* byte sized bitfield - both signed and unsigned
  ------------------
  |  Branch (743:5): [True: 0, False: 884]
  ------------------
  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: 884]
  ------------------
  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: 884]
  ------------------
  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|      0|    case 'i': {/* signed int */
  ------------------
  |  Branch (803:5): [True: 0, False: 884]
  ------------------
  804|      0|        int *p = va_arg(*p_va, int *);
  805|      0|        long ival = PyLong_AsLong(arg);
  806|      0|        if (ival == -1 && PyErr_Occurred())
  ------------------
  |  Branch (806:13): [True: 0, False: 0]
  |  Branch (806:27): [True: 0, False: 0]
  ------------------
  807|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  715|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  808|      0|        else if (ival > INT_MAX) {
  ------------------
  |  Branch (808:18): [True: 0, False: 0]
  ------------------
  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|      0|        else if (ival < INT_MIN) {
  ------------------
  |  Branch (813:18): [True: 0, False: 0]
  ------------------
  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|      0|        else
  819|      0|            *p = ival;
  820|      0|        break;
  821|      0|    }
  822|       |
  823|      0|    case 'I': { /* int sized bitfield, both signed and
  ------------------
  |  Branch (823:5): [True: 0, False: 884]
  ------------------
  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|      0|    case 'n': /* Py_ssize_t */
  ------------------
  |  Branch (843:5): [True: 0, False: 884]
  ------------------
  844|      0|    {
  845|      0|        PyObject *iobj;
  846|      0|        Py_ssize_t *p = va_arg(*p_va, Py_ssize_t *);
  847|      0|        Py_ssize_t ival = -1;
  848|      0|        iobj = _PyNumber_Index(arg);
  849|      0|        if (iobj != NULL) {
  ------------------
  |  Branch (849:13): [True: 0, False: 0]
  ------------------
  850|      0|            ival = PyLong_AsSsize_t(iobj);
  851|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  852|      0|        }
  853|      0|        if (ival == -1 && PyErr_Occurred())
  ------------------
  |  Branch (853:13): [True: 0, False: 0]
  |  Branch (853:27): [True: 0, False: 0]
  ------------------
  854|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  715|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  855|      0|        *p = ival;
  856|      0|        break;
  857|      0|    }
  858|      0|    case 'l': {/* long int */
  ------------------
  |  Branch (858:5): [True: 0, False: 884]
  ------------------
  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: 884]
  ------------------
  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: 884]
  ------------------
  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: 884]
  ------------------
  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: 884]
  ------------------
  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: 884]
  ------------------
  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: 884]
  ------------------
  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: 884]
  ------------------
  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: 884]
  ------------------
  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))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|      2|    case 'p': {/* boolean *p*redicate */
  ------------------
  |  Branch (996:5): [True: 2, False: 882]
  ------------------
  997|      2|        int *p = va_arg(*p_va, int *);
  998|      2|        int val = PyObject_IsTrue(arg);
  999|      2|        if (val > 0)
  ------------------
  |  Branch (999:13): [True: 0, False: 2]
  ------------------
 1000|      0|            *p = 1;
 1001|      2|        else if (val == 0)
  ------------------
  |  Branch (1001:18): [True: 2, False: 0]
  ------------------
 1002|      2|            *p = 0;
 1003|      0|        else
 1004|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  715|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
 1005|      2|        break;
 1006|      2|    }
 1007|       |
 1008|       |    /* XXX WAAAAH!  's', 'y', 'z', 'u', 'Z', 'e', 'w' codes all
 1009|       |       need to be cleaned up! */
 1010|       |
 1011|      2|    case 'y': {/* any bytes-like object */
  ------------------
  |  Branch (1011:5): [True: 0, False: 884]
  ------------------
 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|      0|    case 's': /* text string or bytes-like object */
  ------------------
  |  Branch (1042:5): [True: 0, False: 884]
  ------------------
 1043|      0|    case 'z': /* text string, bytes-like object or None */
  ------------------
  |  Branch (1043:5): [True: 0, False: 884]
  ------------------
 1044|      0|    {
 1045|      0|        if (*format == '*') {
  ------------------
  |  Branch (1045:13): [True: 0, False: 0]
  ------------------
 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|      0|        } else if (*format == '#') { /* a string or read-only bytes-like object */
  ------------------
  |  Branch (1070:20): [True: 0, False: 0]
  ------------------
 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|      0|        } else {
 1098|       |            /* "s" or "z" */
 1099|      0|            const char **p = va_arg(*p_va, const char **);
 1100|      0|            Py_ssize_t len;
 1101|      0|            sarg = NULL;
 1102|       |
 1103|      0|            if (c == 'z' && arg == Py_None)
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1103:17): [True: 0, False: 0]
  |  Branch (1103:29): [True: 0, False: 0]
  ------------------
 1104|      0|                *p = NULL;
 1105|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1106|      0|                sarg = PyUnicode_AsUTF8AndSize(arg, &len);
 1107|      0|                if (sarg == NULL)
  ------------------
  |  Branch (1107:21): [True: 0, False: 0]
  ------------------
 1108|      0|                    return converterr(CONV_UNICODE,
  ------------------
  |  |  700|      0|#define CONV_UNICODE "(unicode conversion error)"
  ------------------
 1109|      0|                                      arg, msgbuf, bufsize);
 1110|      0|                if (strlen(sarg) != (size_t)len) {
  ------------------
  |  Branch (1110:21): [True: 0, False: 0]
  ------------------
 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|      0|                *p = sarg;
 1115|      0|            }
 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|      0|        }
 1120|      0|        break;
 1121|      0|    }
 1122|       |
 1123|      0|    case 'e': {/* encoded string */
  ------------------
  |  Branch (1123:5): [True: 0, False: 884]
  ------------------
 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));
  ------------------
  |  Branch (1175:13): [True: 0, False: 0]
  ------------------
 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: 884]
  ------------------
 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: 884]
  ------------------
 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|    314|    case 'U': { /* PyUnicode object */
  ------------------
  |  Branch (1301:5): [True: 314, False: 570]
  ------------------
 1302|    314|        PyObject **p = va_arg(*p_va, PyObject **);
 1303|    314|        if (PyUnicode_Check(arg)) {
  ------------------
  |  |  103|    314|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    314|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 314, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1304|    314|            *p = arg;
 1305|    314|        }
 1306|      0|        else
 1307|      0|            return converterr("str", arg, msgbuf, bufsize);
 1308|    314|        break;
 1309|    314|    }
 1310|       |
 1311|    568|    case 'O': { /* object */
  ------------------
  |  Branch (1311:5): [True: 568, False: 316]
  ------------------
 1312|    568|        PyTypeObject *type;
 1313|    568|        PyObject **p;
 1314|    568|        if (*format == '!') {
  ------------------
  |  Branch (1314:13): [True: 270, False: 298]
  ------------------
 1315|    270|            type = va_arg(*p_va, PyTypeObject*);
 1316|    270|            p = va_arg(*p_va, PyObject **);
 1317|    270|            format++;
 1318|    270|            if (PyType_IsSubtype(Py_TYPE(arg), type))
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1318:17): [True: 270, False: 0]
  ------------------
 1319|    270|                *p = arg;
 1320|      0|            else
 1321|      0|                return converterr(type->tp_name, arg, msgbuf, bufsize);
 1322|       |
 1323|    270|        }
 1324|    298|        else if (*format == '&') {
  ------------------
  |  Branch (1324:18): [True: 0, False: 298]
  ------------------
 1325|      0|            typedef int (*converter)(PyObject *, void *);
 1326|      0|            converter convert = va_arg(*p_va, converter);
 1327|      0|            void *addr = va_arg(*p_va, void *);
 1328|      0|            int res;
 1329|      0|            format++;
 1330|      0|            if (! (res = (*convert)(arg, addr)))
  ------------------
  |  Branch (1330:17): [True: 0, False: 0]
  ------------------
 1331|      0|                return converterr("(unspecified)",
 1332|      0|                                  arg, msgbuf, bufsize);
 1333|      0|            if (res == Py_CLEANUP_SUPPORTED &&
  ------------------
  |  |   57|      0|#define Py_CLEANUP_SUPPORTED 0x20000
  ------------------
  |  Branch (1333:17): [True: 0, False: 0]
  ------------------
 1334|      0|                addcleanup(addr, freelist, convert) == -1)
  ------------------
  |  Branch (1334:17): [True: 0, False: 0]
  ------------------
 1335|      0|                return converterr("(cleanup problem)",
 1336|      0|                                arg, msgbuf, bufsize);
 1337|      0|        }
 1338|    298|        else {
 1339|    298|            p = va_arg(*p_va, PyObject **);
 1340|    298|            *p = arg;
 1341|    298|        }
 1342|    568|        break;
 1343|    568|    }
 1344|       |
 1345|       |
 1346|    568|    case 'w': { /* "w*": memory buffer, read-write access */
  ------------------
  |  Branch (1346:5): [True: 0, False: 884]
  ------------------
 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'));
  ------------------
  |  Branch (1363:9): [True: 0, False: 0]
  ------------------
 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: 884]
  ------------------
 1373|      0|        return converterr("(impossible<bad format char>)", arg, msgbuf, bufsize);
 1374|       |
 1375|    884|    }
 1376|       |
 1377|    884|    *p_format = format;
 1378|    884|    return NULL;
 1379|       |
 1380|    884|#undef RETURN_ERR_OCCURRED
 1381|    884|}
getargs.c:vgetargs1:
  414|    314|{
  415|    314|    PyObject **stack;
  416|    314|    Py_ssize_t nargs;
  417|       |
  418|    314|    if (!(flags & FLAG_COMPAT)) {
  ------------------
  |  |   24|    314|#define FLAG_COMPAT 1
  ------------------
  |  Branch (418:9): [True: 314, False: 0]
  ------------------
  419|    314|        assert(args != NULL);
  ------------------
  |  Branch (419:9): [True: 314, False: 0]
  ------------------
  420|       |
  421|    314|        if (!PyTuple_Check(args)) {
  ------------------
  |  |   27|    314|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    314|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (421:13): [True: 0, False: 314]
  ------------------
  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|    314|        stack = _PyTuple_ITEMS(args);
  ------------------
  |  |   26|    314|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  277|    628|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 314, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  428|    314|        nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|    314|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    314|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    314|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  429|    314|    }
  430|      0|    else {
  431|      0|        stack = NULL;
  432|      0|        nargs = 0;
  433|      0|    }
  434|       |
  435|    314|    return vgetargs1_impl(args, stack, nargs, format, p_va, flags);
  436|    314|}
getargs.c:vgetargskeywords_impl:
 1677|     97|{
 1678|     97|    char msgbuf[512];
 1679|     97|    int levels[32];
 1680|     97|    const char *fname, *msg, *custom_msg;
 1681|     97|    int min = INT_MAX;
 1682|     97|    int max = INT_MAX;
 1683|     97|    int i, pos, len;
 1684|     97|    int skip = 0;
 1685|     97|    Py_ssize_t nkwargs;
 1686|     97|    freelistentry_t static_entries[STATIC_FREELIST_ENTRIES];
 1687|     97|    freelist_t freelist;
 1688|     97|    PyObject * const *kwstack = NULL;
 1689|       |
 1690|     97|    freelist.entries = static_entries;
 1691|     97|    freelist.first_available = 0;
 1692|     97|    freelist.entries_malloced = 0;
 1693|       |
 1694|     97|    assert(args != NULL || nargs == 0);
  ------------------
  |  Branch (1694:5): [True: 97, False: 0]
  |  Branch (1694:5): [True: 0, False: 0]
  ------------------
 1695|     97|    assert(kwargs == NULL || PyDict_Check(kwargs));
  ------------------
  |  Branch (1695:5): [True: 79, False: 18]
  |  Branch (1695:5): [True: 18, False: 0]
  ------------------
 1696|     97|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  ------------------
  |  Branch (1696:5): [True: 97, False: 0]
  |  Branch (1696:5): [True: 0, False: 0]
  ------------------
 1697|     97|    assert(format != NULL);
  ------------------
  |  Branch (1697:5): [True: 97, False: 0]
  ------------------
 1698|     97|    assert(kwlist != NULL);
  ------------------
  |  Branch (1698:5): [True: 97, False: 0]
  ------------------
 1699|     97|    assert(p_va != NULL);
  ------------------
  |  Branch (1699:5): [True: 97, False: 0]
  ------------------
 1700|       |
 1701|       |    /* grab the function name or custom error msg first (mutually exclusive) */
 1702|     97|    fname = strchr(format, ':');
 1703|     97|    if (fname) {
  ------------------
  |  Branch (1703:9): [True: 97, False: 0]
  ------------------
 1704|     97|        fname++;
 1705|     97|        custom_msg = NULL;
 1706|     97|    }
 1707|      0|    else {
 1708|      0|        custom_msg = strchr(format,';');
 1709|      0|        if (custom_msg)
  ------------------
  |  Branch (1709:13): [True: 0, False: 0]
  ------------------
 1710|      0|            custom_msg++;
 1711|      0|    }
 1712|       |
 1713|       |    /* scan kwlist and count the number of positional-only parameters */
 1714|     99|    for (pos = 0; kwlist[pos] && !*kwlist[pos]; pos++) {
  ------------------
  |  Branch (1714:19): [True: 99, False: 0]
  |  Branch (1714:34): [True: 2, False: 97]
  ------------------
 1715|      2|    }
 1716|       |    /* scan kwlist and get greatest possible nbr of args */
 1717|    310|    for (len = pos; kwlist[len]; len++) {
  ------------------
  |  Branch (1717:21): [True: 213, False: 97]
  ------------------
 1718|    213|        if (!*kwlist[len]) {
  ------------------
  |  Branch (1718:13): [True: 0, False: 213]
  ------------------
 1719|      0|            PyErr_SetString(PyExc_SystemError,
 1720|      0|                            "Empty keyword parameter name");
 1721|      0|            return cleanreturn(0, &freelist);
 1722|      0|        }
 1723|    213|    }
 1724|       |
 1725|     97|    if (len > STATIC_FREELIST_ENTRIES) {
  ------------------
  |  |   44|     97|#define STATIC_FREELIST_ENTRIES 8
  ------------------
  |  Branch (1725:9): [True: 0, False: 97]
  ------------------
 1726|      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)) ) )
  |  |  ------------------
  ------------------
 1727|      0|        if (freelist.entries == NULL) {
  ------------------
  |  Branch (1727:13): [True: 0, False: 0]
  ------------------
 1728|      0|            PyErr_NoMemory();
 1729|      0|            return 0;
 1730|      0|        }
 1731|      0|        freelist.entries_malloced = 1;
 1732|      0|    }
 1733|       |
 1734|     97|    if (kwargs != NULL) {
  ------------------
  |  Branch (1734:9): [True: 18, False: 79]
  ------------------
 1735|     18|        nkwargs = PyDict_GET_SIZE(kwargs);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1736|     18|    }
 1737|     79|    else if (kwnames != NULL) {
  ------------------
  |  Branch (1737:14): [True: 0, False: 79]
  ------------------
 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|     79|    else {
 1742|     79|        nkwargs = 0;
 1743|     79|    }
 1744|     97|    if (nargs + nkwargs > len) {
  ------------------
  |  Branch (1744:9): [True: 0, False: 97]
  ------------------
 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|    138|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (1759:17): [True: 135, False: 3]
  ------------------
 1760|    135|        if (*format == '|') {
  ------------------
  |  Branch (1760:13): [True: 95, False: 40]
  ------------------
 1761|     95|            if (min != INT_MAX) {
  ------------------
  |  Branch (1761:17): [True: 0, False: 95]
  ------------------
 1762|      0|                PyErr_SetString(PyExc_SystemError,
 1763|      0|                                "Invalid format string (| specified twice)");
 1764|      0|                return cleanreturn(0, &freelist);
 1765|      0|            }
 1766|       |
 1767|     95|            min = i;
 1768|     95|            format++;
 1769|       |
 1770|     95|            if (max != INT_MAX) {
  ------------------
  |  Branch (1770:17): [True: 0, False: 95]
  ------------------
 1771|      0|                PyErr_SetString(PyExc_SystemError,
 1772|      0|                                "Invalid format string ($ before |)");
 1773|      0|                return cleanreturn(0, &freelist);
 1774|      0|            }
 1775|     95|        }
 1776|    135|        if (*format == '$') {
  ------------------
  |  Branch (1776:13): [True: 95, False: 40]
  ------------------
 1777|     95|            if (max != INT_MAX) {
  ------------------
  |  Branch (1777:17): [True: 0, False: 95]
  ------------------
 1778|      0|                PyErr_SetString(PyExc_SystemError,
 1779|      0|                                "Invalid format string ($ specified twice)");
 1780|      0|                return cleanreturn(0, &freelist);
 1781|      0|            }
 1782|       |
 1783|     95|            max = i;
 1784|     95|            format++;
 1785|       |
 1786|     95|            if (max < pos) {
  ------------------
  |  Branch (1786:17): [True: 0, False: 95]
  ------------------
 1787|      0|                PyErr_SetString(PyExc_SystemError,
 1788|      0|                                "Empty parameter name after $");
 1789|      0|                return cleanreturn(0, &freelist);
 1790|      0|            }
 1791|     95|            if (skip) {
  ------------------
  |  Branch (1791:17): [True: 0, False: 95]
  ------------------
 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|     95|            if (max < nargs) {
  ------------------
  |  Branch (1797:17): [True: 0, False: 95]
  ------------------
 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|     95|        }
 1818|    135|        if (IS_END_OF_FORMAT(*format)) {
  ------------------
  |  | 1670|    135|#define IS_END_OF_FORMAT(c) (c == '\0' || c == ';' || c == ':')
  |  |  ------------------
  |  |  |  Branch (1670:30): [True: 0, False: 135]
  |  |  |  Branch (1670:43): [True: 0, False: 135]
  |  |  |  Branch (1670:55): [True: 0, False: 135]
  |  |  ------------------
  ------------------
 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|    135|        if (!skip) {
  ------------------
  |  Branch (1824:13): [True: 135, False: 0]
  ------------------
 1825|    135|            PyObject *current_arg;
 1826|    135|            if (i < nargs) {
  ------------------
  |  Branch (1826:17): [True: 10, False: 125]
  ------------------
 1827|     10|                current_arg = Py_NewRef(args[i]);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1828|     10|            }
 1829|    125|            else if (nkwargs && i >= pos) {
  ------------------
  |  Branch (1829:22): [True: 31, False: 94]
  |  Branch (1829:33): [True: 31, False: 0]
  ------------------
 1830|     31|                if (kwargs != NULL) {
  ------------------
  |  Branch (1830:21): [True: 31, False: 0]
  ------------------
 1831|     31|                    if (PyDict_GetItemStringRef(kwargs, kwlist[i], &current_arg) < 0) {
  ------------------
  |  Branch (1831:25): [True: 0, False: 31]
  ------------------
 1832|      0|                        return cleanreturn(0, &freelist);
 1833|      0|                    }
 1834|     31|                }
 1835|      0|                else {
 1836|      0|                    current_arg = find_keyword_str(kwnames, kwstack, kwlist[i]);
 1837|      0|                }
 1838|     31|                if (current_arg) {
  ------------------
  |  Branch (1838:21): [True: 20, False: 11]
  ------------------
 1839|     20|                    --nkwargs;
 1840|     20|                }
 1841|     31|            }
 1842|     94|            else {
 1843|     94|                current_arg = NULL;
 1844|     94|            }
 1845|       |
 1846|    135|            if (current_arg) {
  ------------------
  |  Branch (1846:17): [True: 30, False: 105]
  ------------------
 1847|     30|                msg = convertitem(current_arg, &format, p_va, flags,
 1848|     30|                    levels, msgbuf, sizeof(msgbuf), &freelist);
 1849|     30|                Py_DECREF(current_arg);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1850|     30|                if (msg) {
  ------------------
  |  Branch (1850:21): [True: 0, False: 30]
  ------------------
 1851|      0|                    seterror(i+1, msg, levels, fname, custom_msg);
 1852|      0|                    return cleanreturn(0, &freelist);
 1853|      0|                }
 1854|     30|                continue;
 1855|     30|            }
 1856|       |
 1857|    105|            if (i < min) {
  ------------------
  |  Branch (1857:17): [True: 0, False: 105]
  ------------------
 1858|      0|                if (i < pos) {
  ------------------
  |  Branch (1858:21): [True: 0, False: 0]
  ------------------
 1859|      0|                    assert (min == INT_MAX);
  ------------------
  |  Branch (1859:21): [True: 0, False: 0]
  ------------------
 1860|      0|                    assert (max == INT_MAX);
  ------------------
  |  Branch (1860:21): [True: 0, False: 0]
  ------------------
 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|    105|            if (!nkwargs && !skip) {
  ------------------
  |  Branch (1880:17): [True: 94, False: 11]
  |  Branch (1880:29): [True: 94, False: 0]
  ------------------
 1881|     94|                return cleanreturn(1, &freelist);
 1882|     94|            }
 1883|    105|        }
 1884|       |
 1885|       |        /* We are into optional args, skip through to any remaining
 1886|       |         * keyword args */
 1887|     11|        msg = skipitem(&format, p_va, flags);
 1888|     11|        if (msg) {
  ------------------
  |  Branch (1888:13): [True: 0, False: 11]
  ------------------
 1889|      0|            PyErr_Format(PyExc_SystemError, "%s: '%s'", msg,
 1890|      0|                         format);
 1891|      0|            return cleanreturn(0, &freelist);
 1892|      0|        }
 1893|     11|    }
 1894|       |
 1895|      3|    if (skip) {
  ------------------
  |  Branch (1895:9): [True: 0, False: 3]
  ------------------
 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|    if (!IS_END_OF_FORMAT(*format) && (*format != '|') && (*format != '$')) {
  ------------------
  |  | 1670|      6|#define IS_END_OF_FORMAT(c) (c == '\0' || c == ';' || c == ':')
  |  |  ------------------
  |  |  |  Branch (1670:30): [True: 0, False: 3]
  |  |  |  Branch (1670:43): [True: 0, False: 3]
  |  |  |  Branch (1670:55): [True: 3, 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|    if (nkwargs > 0) {
  ------------------
  |  Branch (1915:9): [True: 0, False: 3]
  ------------------
 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1953:23): [True: 0, False: 0]
  ------------------
 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|    return cleanreturn(1, &freelist);
 2012|      3|}
getargs.c:skipitem:
 2699|     11|{
 2700|     11|    const char *format = *p_format;
 2701|     11|    char c = *format++;
 2702|       |
 2703|     11|    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: 11]
  ------------------
 2711|      0|    case 'B': /* byte as bitfield */
  ------------------
  |  Branch (2711:5): [True: 0, False: 11]
  ------------------
 2712|      0|    case 'h': /* short int */
  ------------------
  |  Branch (2712:5): [True: 0, False: 11]
  ------------------
 2713|      0|    case 'H': /* short int as bitfield */
  ------------------
  |  Branch (2713:5): [True: 0, False: 11]
  ------------------
 2714|      0|    case 'i': /* int */
  ------------------
  |  Branch (2714:5): [True: 0, False: 11]
  ------------------
 2715|      0|    case 'I': /* int sized bitfield */
  ------------------
  |  Branch (2715:5): [True: 0, False: 11]
  ------------------
 2716|      0|    case 'l': /* long int */
  ------------------
  |  Branch (2716:5): [True: 0, False: 11]
  ------------------
 2717|      0|    case 'k': /* long int sized bitfield */
  ------------------
  |  Branch (2717:5): [True: 0, False: 11]
  ------------------
 2718|      0|    case 'L': /* long long */
  ------------------
  |  Branch (2718:5): [True: 0, False: 11]
  ------------------
 2719|      0|    case 'K': /* long long sized bitfield */
  ------------------
  |  Branch (2719:5): [True: 0, False: 11]
  ------------------
 2720|      0|    case 'n': /* Py_ssize_t */
  ------------------
  |  Branch (2720:5): [True: 0, False: 11]
  ------------------
 2721|      0|    case 'f': /* float */
  ------------------
  |  Branch (2721:5): [True: 0, False: 11]
  ------------------
 2722|      0|    case 'd': /* double */
  ------------------
  |  Branch (2722:5): [True: 0, False: 11]
  ------------------
 2723|      0|    case 'D': /* complex double */
  ------------------
  |  Branch (2723:5): [True: 0, False: 11]
  ------------------
 2724|      0|    case 'c': /* char */
  ------------------
  |  Branch (2724:5): [True: 0, False: 11]
  ------------------
 2725|      0|    case 'C': /* unicode char */
  ------------------
  |  Branch (2725:5): [True: 0, False: 11]
  ------------------
 2726|      0|    case 'p': /* boolean predicate */
  ------------------
  |  Branch (2726:5): [True: 0, False: 11]
  ------------------
 2727|      0|    case 'S': /* string object */
  ------------------
  |  Branch (2727:5): [True: 0, False: 11]
  ------------------
 2728|      0|    case 'Y': /* string object */
  ------------------
  |  Branch (2728:5): [True: 0, False: 11]
  ------------------
 2729|      0|    case 'U': /* unicode string object */
  ------------------
  |  Branch (2729:5): [True: 0, False: 11]
  ------------------
 2730|      0|        {
 2731|      0|            if (p_va != NULL) {
  ------------------
  |  Branch (2731:17): [True: 0, False: 0]
  ------------------
 2732|      0|                (void) va_arg(*p_va, void *);
 2733|      0|            }
 2734|      0|            break;
 2735|      0|        }
 2736|       |
 2737|       |    /* string codes */
 2738|       |
 2739|      0|    case 'e': /* string with encoding */
  ------------------
  |  Branch (2739:5): [True: 0, False: 11]
  ------------------
 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: 11]
  ------------------
 2752|      0|    case 'z': /* string or None */
  ------------------
  |  Branch (2752:5): [True: 0, False: 11]
  ------------------
 2753|      0|    case 'y': /* bytes */
  ------------------
  |  Branch (2753:5): [True: 0, False: 11]
  ------------------
 2754|      0|    case 'w': /* buffer, read-write */
  ------------------
  |  Branch (2754:5): [True: 0, False: 11]
  ------------------
 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|     11|    case 'O': /* object */
  ------------------
  |  Branch (2777:5): [True: 11, False: 0]
  ------------------
 2778|     11|        {
 2779|     11|            if (*format == '!') {
  ------------------
  |  Branch (2779:17): [True: 0, False: 11]
  ------------------
 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|     11|            else if (*format == '&') {
  ------------------
  |  Branch (2786:22): [True: 0, False: 11]
  ------------------
 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|     11|            else {
 2795|     11|                if (p_va != NULL) {
  ------------------
  |  Branch (2795:21): [True: 11, False: 0]
  ------------------
 2796|     11|                    (void) va_arg(*p_va, PyObject **);
 2797|     11|                }
 2798|     11|            }
 2799|     11|            break;
 2800|      0|        }
 2801|       |
 2802|      0|    case '(':           /* bypass tuple, not handled at all previously */
  ------------------
  |  Branch (2802:5): [True: 0, False: 11]
  ------------------
 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: 11]
  ------------------
 2820|      0|        return "Unmatched right paren in format string";
 2821|       |
 2822|      0|    default:
  ------------------
  |  Branch (2822:5): [True: 0, False: 11]
  ------------------
 2823|      0|err:
 2824|      0|        return "impossible<bad format char>";
 2825|       |
 2826|     11|    }
 2827|       |
 2828|     11|    *p_format = format;
 2829|       |    return NULL;
 2830|     11|}
getargs.c:vgetargskeywords:
 2018|     97|{
 2019|     97|    PyObject *const *args = _PyTuple_ITEMS(argstuple);
  ------------------
  |  |   26|     97|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  277|    194|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 97, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2020|     97|    Py_ssize_t nargs = PyTuple_GET_SIZE(argstuple);
  ------------------
  |  |   27|     97|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     97|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     97|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2021|       |    return vgetargskeywords_impl(args, nargs, kwargs, NULL,
 2022|     97|                                 format, kwlist, p_va, flags);
 2023|     97|}
getargs.c:parser_init:
 2228|  1.08M|{
 2229|  1.08M|    return _PyOnceFlag_CallOnce(&parser->once, &_parser_init, parser);
 2230|  1.08M|}
getargs.c:_parser_init:
 2151|      5|{
 2152|      5|    struct _PyArg_Parser *parser = (struct _PyArg_Parser *)arg;
 2153|      5|    const char * const *keywords = parser->keywords;
 2154|      5|    assert(keywords != NULL);
  ------------------
  |  Branch (2154:5): [True: 5, False: 0]
  ------------------
 2155|      5|    assert(parser->pos == 0 &&
  ------------------
  |  Branch (2155:5): [True: 5, False: 0]
  |  Branch (2155:5): [True: 0, False: 0]
  |  Branch (2155:5): [True: 5, False: 0]
  |  Branch (2155:5): [True: 5, False: 0]
  |  Branch (2155:5): [True: 5, False: 0]
  |  Branch (2155:5): [True: 5, False: 0]
  ------------------
 2156|      5|           (parser->format == NULL || parser->fname == NULL) &&
 2157|      5|           parser->custom_msg == NULL &&
 2158|      5|           parser->min == 0 &&
 2159|      5|           parser->max == 0);
 2160|       |
 2161|      5|    int len, pos;
 2162|      5|    if (scan_keywords(keywords, &len, &pos) < 0) {
  ------------------
  |  Branch (2162:9): [True: 0, False: 5]
  ------------------
 2163|      0|        return -1;
 2164|      0|    }
 2165|       |
 2166|      5|    const char *fname, *custommsg = NULL;
 2167|      5|    int min = 0, max = 0;
 2168|      5|    if (parser->format) {
  ------------------
  |  Branch (2168:9): [True: 0, False: 5]
  ------------------
 2169|      0|        assert(parser->fname == NULL);
  ------------------
  |  Branch (2169:9): [True: 0, False: 0]
  ------------------
 2170|      0|        if (parse_format(parser->format, len, pos,
  ------------------
  |  Branch (2170:13): [True: 0, False: 0]
  ------------------
 2171|      0|                         &fname, &custommsg, &min, &max) < 0) {
 2172|      0|            return -1;
 2173|      0|        }
 2174|      0|    }
 2175|      5|    else {
 2176|      5|        assert(parser->fname != NULL);
  ------------------
  |  Branch (2176:9): [True: 5, False: 0]
  ------------------
 2177|      5|        fname = parser->fname;
 2178|      5|    }
 2179|       |
 2180|      5|    int owned;
 2181|      5|    PyObject *kwtuple = parser->kwtuple;
 2182|      5|    if (kwtuple == NULL) {
  ------------------
  |  Branch (2182:9): [True: 0, False: 5]
  ------------------
 2183|       |        /* We may temporarily switch to the main interpreter to avoid
 2184|       |         * creating a tuple that could outlive its owning interpreter. */
 2185|      0|        PyThreadState *save_tstate = NULL;
 2186|      0|        PyThreadState *temp_tstate = NULL;
 2187|      0|        if (!_Py_IsMainInterpreter(PyInterpreterState_Get())) {
  ------------------
  |  Branch (2187:13): [True: 0, False: 0]
  ------------------
 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|      0|        kwtuple = new_kwtuple(keywords, len, pos);
 2195|      0|        if (temp_tstate != NULL) {
  ------------------
  |  Branch (2195:13): [True: 0, False: 0]
  ------------------
 2196|      0|            PyThreadState_Clear(temp_tstate);
 2197|      0|            (void)PyThreadState_Swap(save_tstate);
 2198|      0|            PyThreadState_Delete(temp_tstate);
 2199|      0|        }
 2200|      0|        if (kwtuple == NULL) {
  ------------------
  |  Branch (2200:13): [True: 0, False: 0]
  ------------------
 2201|      0|            return -1;
 2202|      0|        }
 2203|      0|        owned = 1;
 2204|      0|    }
 2205|      5|    else {
 2206|      5|        owned = 0;
 2207|      5|    }
 2208|       |
 2209|      5|    parser->pos = pos;
 2210|      5|    parser->fname = fname;
 2211|      5|    parser->custom_msg = custommsg;
 2212|      5|    parser->min = min;
 2213|      5|    parser->max = max;
 2214|      5|    parser->kwtuple = kwtuple;
 2215|      5|    parser->is_kwtuple_owned = owned;
 2216|       |
 2217|      5|    assert(parser->next == NULL);
  ------------------
  |  Branch (2217:5): [True: 5, False: 0]
  ------------------
 2218|      5|    parser->next = _Py_atomic_load_ptr(&_PyRuntime.getargs.static_parsers);
 2219|      5|    do {
 2220|       |        // compare-exchange updates parser->next on failure
 2221|      5|    } while (!_Py_atomic_compare_exchange_ptr(&_PyRuntime.getargs.static_parsers,
  ------------------
  |  Branch (2221:14): [True: 0, False: 5]
  ------------------
 2222|      5|                                              &parser->next, parser));
 2223|      5|    return 0;
 2224|      5|}
getargs.c:scan_keywords:
 2027|      5|{
 2028|       |    /* scan keywords and count the number of positional-only parameters */
 2029|      5|    int i;
 2030|      5|    for (i = 0; keywords[i] && !*keywords[i]; i++) {
  ------------------
  |  Branch (2030:17): [True: 5, False: 0]
  |  Branch (2030:32): [True: 0, False: 5]
  ------------------
 2031|      0|    }
 2032|      5|    *pposonly = i;
 2033|       |
 2034|       |    /* scan keywords and get greatest possible nbr of args */
 2035|     28|    for (; keywords[i]; i++) {
  ------------------
  |  Branch (2035:12): [True: 23, False: 5]
  ------------------
 2036|     23|        if (!*keywords[i]) {
  ------------------
  |  Branch (2036:13): [True: 0, False: 23]
  ------------------
 2037|      0|            PyErr_SetString(PyExc_SystemError,
 2038|      0|                            "Empty keyword parameter name");
 2039|      0|            return -1;
 2040|      0|        }
 2041|     23|    }
 2042|      5|    *ptotal = i;
 2043|      5|    return 0;
 2044|      5|}
getargs.c:find_keyword:
 2255|  1.08M|{
 2256|  1.08M|    Py_ssize_t i, nkwargs;
 2257|       |
 2258|  1.08M|    nkwargs = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|  1.08M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2259|  1.08M|    for (i = 0; i < nkwargs; i++) {
  ------------------
  |  Branch (2259:17): [True: 1.08M, False: 5]
  ------------------
 2260|  1.08M|        PyObject *kwname = PyTuple_GET_ITEM(kwnames, i);
  ------------------
  |  |   29|  1.08M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.08M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2260:28): [True: 1.08M, False: 0]
  ------------------
 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|  1.08M|        if (kwname == key) {
  ------------------
  |  Branch (2264:13): [True: 1.08M, False: 11]
  ------------------
 2265|  1.08M|            return Py_NewRef(kwstack[i]);
  ------------------
  |  |  550|  1.08M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2266|  1.08M|        }
 2267|  1.08M|    }
 2268|       |
 2269|     14|    for (i = 0; i < nkwargs; i++) {
  ------------------
  |  Branch (2269:17): [True: 9, False: 5]
  ------------------
 2270|      9|        PyObject *kwname = PyTuple_GET_ITEM(kwnames, i);
  ------------------
  |  |   29|      9|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      9|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2270:28): [True: 9, False: 0]
  ------------------
 2271|      9|        assert(PyUnicode_Check(kwname));
  ------------------
  |  Branch (2271:9): [True: 9, False: 0]
  ------------------
 2272|      9|        if (_PyUnicode_Equal(kwname, key)) {
  ------------------
  |  Branch (2272:13): [True: 0, False: 9]
  ------------------
 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|      9|    }
 2276|      5|    return NULL;
 2277|      5|}
getargs.c:unpack_stack:
 2882|  1.99k|{
 2883|  1.99k|    Py_ssize_t i;
 2884|  1.99k|    PyObject **o;
 2885|       |
 2886|  1.99k|    if (!_PyArg_CheckPositional(name, nargs, min, max)) {
  ------------------
  |  Branch (2886:9): [True: 0, False: 1.99k]
  ------------------
 2887|      0|        return 0;
 2888|      0|    }
 2889|       |
 2890|  4.67k|    for (i = 0; i < nargs; i++) {
  ------------------
  |  Branch (2890:17): [True: 2.67k, False: 1.99k]
  ------------------
 2891|       |        o = va_arg(vargs, PyObject **);
 2892|  2.67k|        *o = args[i];
 2893|  2.67k|    }
 2894|  1.99k|    return 1;
 2895|  1.99k|}

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|}

_PyOS_ResetGetOpt:
   53|      8|{
   54|      8|    _PyOS_opterr = 1;
   55|      8|    _PyOS_optind = 1;
   56|       |    _PyOS_optarg = NULL;
   57|      8|    opt_ptr = L"";
   58|      8|}
_PyOS_GetOpt:
   61|      8|{
   62|      8|    wchar_t *ptr;
   63|      8|    wchar_t option;
   64|       |
   65|      8|    if (*opt_ptr == '\0') {
  ------------------
  |  Branch (65:9): [True: 8, False: 0]
  ------------------
   66|       |
   67|      8|        if (_PyOS_optind >= argc)
  ------------------
  |  Branch (67:13): [True: 8, False: 0]
  ------------------
   68|      8|            return -1;
   69|       |#ifdef MS_WINDOWS
   70|       |        else if (wcscmp(argv[_PyOS_optind], L"/?") == 0) {
   71|       |            ++_PyOS_optind;
   72|       |            return 'h';
   73|       |        }
   74|       |#endif
   75|       |
   76|      0|        else if (argv[_PyOS_optind][0] != L'-' ||
  ------------------
  |  Branch (76:18): [True: 0, False: 0]
  ------------------
   77|      0|                 argv[_PyOS_optind][1] == L'\0' /* lone dash */ )
  ------------------
  |  Branch (77:18): [True: 0, False: 0]
  ------------------
   78|      0|            return -1;
   79|       |
   80|      0|        else if (wcscmp(argv[_PyOS_optind], L"--") == 0) {
  ------------------
  |  Branch (80:18): [True: 0, False: 0]
  ------------------
   81|      0|            ++_PyOS_optind;
   82|      0|            return -1;
   83|      0|        }
   84|       |
   85|      0|        else if (wcscmp(argv[_PyOS_optind], L"--help") == 0) {
  ------------------
  |  Branch (85:18): [True: 0, False: 0]
  ------------------
   86|      0|            ++_PyOS_optind;
   87|      0|            return 'h';
   88|      0|        }
   89|       |
   90|      0|        else if (wcscmp(argv[_PyOS_optind], L"--version") == 0) {
  ------------------
  |  Branch (90:18): [True: 0, False: 0]
  ------------------
   91|      0|            ++_PyOS_optind;
   92|      0|            return 'V';
   93|      0|        }
   94|       |
   95|      0|        opt_ptr = &argv[_PyOS_optind++][1];
   96|      0|    }
   97|       |
   98|      0|    if ((option = *opt_ptr++) == L'\0')
  ------------------
  |  Branch (98:9): [True: 0, False: 0]
  ------------------
   99|      0|        return -1;
  100|       |
  101|      0|    if (option == L'-') {
  ------------------
  |  Branch (101:9): [True: 0, False: 0]
  ------------------
  102|       |        // Parse long option.
  103|      0|        if (*opt_ptr == L'\0') {
  ------------------
  |  Branch (103:13): [True: 0, False: 0]
  ------------------
  104|      0|            if (_PyOS_opterr) {
  ------------------
  |  Branch (104:17): [True: 0, False: 0]
  ------------------
  105|      0|                fprintf(stderr, "Expected long option\n");
  106|      0|            }
  107|      0|            return -1;
  108|      0|        }
  109|      0|        *longindex = 0;
  110|      0|        const _PyOS_LongOption *opt;
  111|      0|        for (opt = &longopts[*longindex]; opt->name; opt = &longopts[++(*longindex)]) {
  ------------------
  |  Branch (111:43): [True: 0, False: 0]
  ------------------
  112|      0|            if (!wcscmp(opt->name, opt_ptr))
  ------------------
  |  Branch (112:17): [True: 0, False: 0]
  ------------------
  113|      0|                break;
  114|      0|        }
  115|      0|        if (!opt->name) {
  ------------------
  |  Branch (115:13): [True: 0, False: 0]
  ------------------
  116|      0|            if (_PyOS_opterr) {
  ------------------
  |  Branch (116:17): [True: 0, False: 0]
  ------------------
  117|      0|                fprintf(stderr, "Unknown option: %ls\n", argv[_PyOS_optind - 1]);
  118|      0|            }
  119|      0|            return '_';
  120|      0|        }
  121|      0|        opt_ptr = L"";
  122|      0|        if (!opt->has_arg) {
  ------------------
  |  Branch (122:13): [True: 0, False: 0]
  ------------------
  123|      0|            return opt->val;
  124|      0|        }
  125|      0|        if (_PyOS_optind >= argc) {
  ------------------
  |  Branch (125:13): [True: 0, False: 0]
  ------------------
  126|      0|            if (_PyOS_opterr) {
  ------------------
  |  Branch (126:17): [True: 0, False: 0]
  ------------------
  127|      0|                fprintf(stderr, "Argument expected for the %ls options\n",
  128|      0|                        argv[_PyOS_optind - 1]);
  129|      0|            }
  130|      0|            return '_';
  131|      0|        }
  132|      0|        _PyOS_optarg = argv[_PyOS_optind++];
  133|      0|        return opt->val;
  134|      0|    }
  135|       |
  136|      0|    if ((ptr = wcschr(SHORT_OPTS, option)) == NULL) {
  ------------------
  |  |   40|      0|#define SHORT_OPTS L"bBc:dEhiIm:OPqRsStuvVW:xX:?"
  ------------------
  |  Branch (136:9): [True: 0, False: 0]
  ------------------
  137|      0|        if (_PyOS_opterr) {
  ------------------
  |  Branch (137:13): [True: 0, False: 0]
  ------------------
  138|      0|            fprintf(stderr, "Unknown option: -%c\n", (char)option);
  139|      0|        }
  140|      0|        return '_';
  141|      0|    }
  142|       |
  143|      0|    if (*(ptr + 1) == L':') {
  ------------------
  |  Branch (143:9): [True: 0, False: 0]
  ------------------
  144|      0|        if (*opt_ptr != L'\0') {
  ------------------
  |  Branch (144:13): [True: 0, False: 0]
  ------------------
  145|      0|            _PyOS_optarg  = opt_ptr;
  146|      0|            opt_ptr = L"";
  147|      0|        }
  148|       |
  149|      0|        else {
  150|      0|            if (_PyOS_optind >= argc) {
  ------------------
  |  Branch (150:17): [True: 0, False: 0]
  ------------------
  151|      0|                if (_PyOS_opterr) {
  ------------------
  |  Branch (151:21): [True: 0, False: 0]
  ------------------
  152|      0|                    fprintf(stderr,
  153|      0|                        "Argument expected for the -%c option\n", (char)option);
  154|      0|                }
  155|      0|                return '_';
  156|      0|            }
  157|       |
  158|      0|            _PyOS_optarg = argv[_PyOS_optind++];
  159|      0|        }
  160|      0|    }
  161|       |
  162|      0|    return option;
  163|      0|}

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|}

_PyHamt_Assoc:
 2214|      1|{
 2215|      1|    int32_t key_hash;
 2216|      1|    int added_leaf = 0;
 2217|      1|    PyHamtNode *new_root;
 2218|      1|    PyHamtObject *new_o;
 2219|       |
 2220|      1|    key_hash = hamt_hash(key);
 2221|      1|    if (key_hash == -1) {
  ------------------
  |  Branch (2221:9): [True: 0, False: 1]
  ------------------
 2222|      0|        return NULL;
 2223|      0|    }
 2224|       |
 2225|      1|    new_root = hamt_node_assoc(
 2226|      1|        (PyHamtNode *)(o->h_root),
 2227|      1|        0, key_hash, key, val, &added_leaf);
 2228|      1|    if (new_root == NULL) {
  ------------------
  |  Branch (2228:9): [True: 0, False: 1]
  ------------------
 2229|      0|        return NULL;
 2230|      0|    }
 2231|       |
 2232|      1|    if (new_root == o->h_root) {
  ------------------
  |  Branch (2232:9): [True: 0, False: 1]
  ------------------
 2233|      0|        Py_DECREF(new_root);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2234|      0|        return (PyHamtObject*)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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2235|      0|    }
 2236|       |
 2237|      1|    new_o = hamt_alloc();
 2238|      1|    if (new_o == NULL) {
  ------------------
  |  Branch (2238:9): [True: 0, False: 1]
  ------------------
 2239|      0|        Py_DECREF(new_root);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2240|      0|        return NULL;
 2241|      0|    }
 2242|       |
 2243|      1|    new_o->h_root = new_root;  /* borrow */
 2244|      1|    new_o->h_count = added_leaf ? o->h_count + 1 : o->h_count;
  ------------------
  |  Branch (2244:22): [True: 1, False: 0]
  ------------------
 2245|       |
 2246|      1|    return new_o;
 2247|      1|}
_PyHamt_Find:
 2308|   319k|{
 2309|   319k|    hamt_find_t res = hamt_find(o, key, val);
 2310|   319k|    switch (res) {
 2311|      0|        case F_ERROR:
  ------------------
  |  Branch (2311:9): [True: 0, False: 319k]
  ------------------
 2312|      0|            return -1;
 2313|   319k|        case F_NOT_FOUND:
  ------------------
  |  Branch (2313:9): [True: 319k, False: 0]
  ------------------
 2314|   319k|            return 0;
 2315|      0|        case F_FOUND:
  ------------------
  |  Branch (2315:9): [True: 0, False: 319k]
  ------------------
 2316|      0|            return 1;
 2317|      0|        default:
  ------------------
  |  Branch (2317:9): [True: 0, False: 319k]
  ------------------
 2318|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 2319|   319k|    }
 2320|   319k|}
_PyHamt_New:
 2413|      1|{
 2414|       |    /* HAMT is an immutable object so we can easily cache an
 2415|       |       empty instance. */
 2416|      1|    return (PyHamtObject*)Py_NewRef(_empty_hamt);
  ------------------
  |  |  550|      1|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2417|      1|}
hamt.c:hamt_hash:
  396|   319k|{
  397|   319k|    Py_hash_t hash = PyObject_Hash(o);
  398|       |
  399|       |#if SIZEOF_PY_HASH_T <= 4
  400|       |    return hash;
  401|       |#else
  402|   319k|    if (hash == -1) {
  ------------------
  |  Branch (402:9): [True: 0, False: 319k]
  ------------------
  403|       |        /* exception */
  404|      0|        return -1;
  405|      0|    }
  406|       |
  407|       |    /* While it's somewhat suboptimal to reduce Python's 64 bit hash to
  408|       |       32 bits via XOR, it seems that the resulting hash function
  409|       |       is good enough (this is also how Long type is hashed in Java.)
  410|       |       Storing 10, 100, 1000 Python strings results in a relatively
  411|       |       shallow and uniform tree structure.
  412|       |
  413|       |       Also it's worth noting that it would be possible to adapt the tree
  414|       |       structure to 64 bit hashes, but that would increase memory pressure
  415|       |       and provide little to no performance benefits for collections with
  416|       |       fewer than billions of key/value pairs.
  417|       |
  418|       |       Important: do not change this hash reducing function. There are many
  419|       |       tests that need an exact tree shape to cover all code paths and
  420|       |       we do that by specifying concrete values for test data's `__hash__`.
  421|       |       If this function is changed most of the regression tests would
  422|       |       become useless.
  423|       |    */
  424|   319k|    int32_t xored = (int32_t)(hash & 0xffffffffl) ^ (int32_t)(hash >> 32);
  425|   319k|    return xored == -1 ? -2 : xored;
  ------------------
  |  Branch (425:12): [True: 0, False: 319k]
  ------------------
  426|   319k|#endif
  427|   319k|}
hamt.c:hamt_node_assoc:
 1940|      1|{
 1941|       |    /* Set key/value to the 'node' starting with the given shift/hash.
 1942|       |       Return a new node, or the same node if key/value already
 1943|       |       set.
 1944|       |
 1945|       |       added_leaf will be set to 1 if key/value wasn't in the
 1946|       |       tree before.
 1947|       |
 1948|       |       This method automatically dispatches to the suitable
 1949|       |       hamt_node_{nodetype}_assoc method.
 1950|       |    */
 1951|       |
 1952|      1|    if (IS_BITMAP_NODE(node)) {
  ------------------
  |  |  281|      1|#define IS_BITMAP_NODE(node)    Py_IS_TYPE(node, &_PyHamt_BitmapNode_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1953|      1|        return hamt_node_bitmap_assoc(
 1954|      1|            (PyHamtNode_Bitmap *)node,
 1955|      1|            shift, hash, key, val, added_leaf);
 1956|      1|    }
 1957|      0|    else if (IS_ARRAY_NODE(node)) {
  ------------------
  |  |  280|      0|#define IS_ARRAY_NODE(node)     Py_IS_TYPE(node, &_PyHamt_ArrayNode_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1958|      0|        return hamt_node_array_assoc(
 1959|      0|            (PyHamtNode_Array *)node,
 1960|      0|            shift, hash, key, val, added_leaf);
 1961|      0|    }
 1962|      0|    else {
 1963|      0|        assert(IS_COLLISION_NODE(node));
  ------------------
  |  Branch (1963:9): [True: 0, False: 0]
  ------------------
 1964|      0|        return hamt_node_collision_assoc(
 1965|      0|            (PyHamtNode_Collision *)node,
 1966|      0|            shift, hash, key, val, added_leaf);
 1967|      0|    }
 1968|      1|}
hamt.c:hamt_node_bitmap_assoc:
  647|      1|{
  648|       |    /* assoc operation for bitmap nodes.
  649|       |
  650|       |       Return: a new node, or self if key/val already is in the
  651|       |       collection.
  652|       |
  653|       |       'added_leaf' is later used in '_PyHamt_Assoc' to determine if
  654|       |       `hamt.set(key, val)` increased the size of the collection.
  655|       |    */
  656|       |
  657|      1|    uint32_t bit = hamt_bitpos(hash, shift);
  658|      1|    uint32_t idx = hamt_bitindex(self->b_bitmap, bit);
  659|       |
  660|       |    /* Bitmap node layout:
  661|       |
  662|       |    +------+------+------+------+  ---  +------+------+
  663|       |    | key1 | val1 | key2 | val2 |  ...  | keyN | valN |
  664|       |    +------+------+------+------+  ---  +------+------+
  665|       |    where `N < Py_SIZE(node)`.
  666|       |
  667|       |    The `node->b_bitmap` field is a bitmap.  For a given
  668|       |    `(shift, hash)` pair we can determine:
  669|       |
  670|       |     - If this node has the corresponding key/val slots.
  671|       |     - The index of key/val slots.
  672|       |    */
  673|       |
  674|      1|    if (self->b_bitmap & bit) {
  ------------------
  |  Branch (674:9): [True: 0, False: 1]
  ------------------
  675|       |        /* The key is set in this node */
  676|       |
  677|      0|        uint32_t key_idx = 2 * idx;
  678|      0|        uint32_t val_idx = key_idx + 1;
  679|       |
  680|      0|        assert(val_idx < (size_t)Py_SIZE(self));
  ------------------
  |  Branch (680:9): [True: 0, False: 0]
  ------------------
  681|       |
  682|      0|        PyObject *key_or_null = self->b_array[key_idx];
  683|      0|        PyObject *val_or_node = self->b_array[val_idx];
  684|       |
  685|      0|        if (key_or_null == NULL) {
  ------------------
  |  Branch (685:13): [True: 0, False: 0]
  ------------------
  686|       |            /* key is NULL.  This means that we have a few keys
  687|       |               that have the same (hash, shift) pair. */
  688|       |
  689|      0|            assert(val_or_node != NULL);
  ------------------
  |  Branch (689:13): [True: 0, False: 0]
  ------------------
  690|       |
  691|      0|            PyHamtNode *sub_node = hamt_node_assoc(
  692|      0|                (PyHamtNode *)val_or_node,
  693|      0|                shift + 5, hash, key, val, added_leaf);
  694|      0|            if (sub_node == NULL) {
  ------------------
  |  Branch (694:17): [True: 0, False: 0]
  ------------------
  695|      0|                return NULL;
  696|      0|            }
  697|       |
  698|      0|            if (val_or_node == (PyObject *)sub_node) {
  ------------------
  |  Branch (698:17): [True: 0, False: 0]
  ------------------
  699|      0|                Py_DECREF(sub_node);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) 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 (PyHamtNode *)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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  701|      0|            }
  702|       |
  703|      0|            PyHamtNode_Bitmap *ret = hamt_node_bitmap_clone(self);
  704|      0|            if (ret == NULL) {
  ------------------
  |  Branch (704:17): [True: 0, False: 0]
  ------------------
  705|      0|                Py_DECREF(sub_node);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  706|      0|                return NULL;
  707|      0|            }
  708|      0|            Py_SETREF(ret->b_array[val_idx], (PyObject*)sub_node);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  709|      0|            return (PyHamtNode *)ret;
  710|      0|        }
  711|       |
  712|      0|        assert(key != NULL);
  ------------------
  |  Branch (712:9): [True: 0, False: 0]
  ------------------
  713|       |        /* key is not NULL.  This means that we have only one other
  714|       |           key in this collection that matches our hash for this shift. */
  715|       |
  716|      0|        int comp_err = PyObject_RichCompareBool(key, key_or_null, Py_EQ);
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
  717|      0|        if (comp_err < 0) {  /* exception in __eq__ */
  ------------------
  |  Branch (717:13): [True: 0, False: 0]
  ------------------
  718|      0|            return NULL;
  719|      0|        }
  720|      0|        if (comp_err == 1) {  /* key == key_or_null */
  ------------------
  |  Branch (720:13): [True: 0, False: 0]
  ------------------
  721|      0|            if (val == val_or_node) {
  ------------------
  |  Branch (721:17): [True: 0, False: 0]
  ------------------
  722|       |                /* we already have the same key/val pair; return self. */
  723|      0|                return (PyHamtNode *)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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  724|      0|            }
  725|       |
  726|       |            /* We're setting a new value for the key we had before.
  727|       |               Make a new bitmap node with a replaced value, and return it. */
  728|      0|            PyHamtNode_Bitmap *ret = hamt_node_bitmap_clone(self);
  729|      0|            if (ret == NULL) {
  ------------------
  |  Branch (729:17): [True: 0, False: 0]
  ------------------
  730|      0|                return NULL;
  731|      0|            }
  732|      0|            Py_SETREF(ret->b_array[val_idx], Py_NewRef(val));
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  733|      0|            return (PyHamtNode *)ret;
  734|      0|        }
  735|       |
  736|       |        /* It's a new key, and it has the same index as *one* another key.
  737|       |           We have a collision.  We need to create a new node which will
  738|       |           combine the existing key and the key we're adding.
  739|       |
  740|       |           `hamt_node_new_bitmap_or_collision` will either create a new
  741|       |           Collision node if the keys have identical hashes, or
  742|       |           a new Bitmap node.
  743|       |        */
  744|      0|        PyHamtNode *sub_node = hamt_node_new_bitmap_or_collision(
  745|      0|            shift + 5,
  746|      0|            key_or_null, val_or_node,  /* existing key/val */
  747|      0|            hash,
  748|      0|            key, val  /* new key/val */
  749|      0|        );
  750|      0|        if (sub_node == NULL) {
  ------------------
  |  Branch (750:13): [True: 0, False: 0]
  ------------------
  751|      0|            return NULL;
  752|      0|        }
  753|       |
  754|      0|        PyHamtNode_Bitmap *ret = hamt_node_bitmap_clone(self);
  755|      0|        if (ret == NULL) {
  ------------------
  |  Branch (755:13): [True: 0, False: 0]
  ------------------
  756|      0|            Py_DECREF(sub_node);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) 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|            return NULL;
  758|      0|        }
  759|      0|        Py_SETREF(ret->b_array[key_idx], 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]
  |  |  ------------------
  ------------------
  760|      0|        Py_SETREF(ret->b_array[val_idx], (PyObject *)sub_node);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  761|       |
  762|      0|        *added_leaf = 1;
  763|      0|        return (PyHamtNode *)ret;
  764|      0|    }
  765|      1|    else {
  766|       |        /* There was no key before with the same (shift,hash). */
  767|       |
  768|      1|        uint32_t n = (uint32_t)_Py_popcount32(self->b_bitmap);
  769|       |
  770|      1|        if (n >= 16) {
  ------------------
  |  Branch (770:13): [True: 0, False: 1]
  ------------------
  771|       |            /* When we have a situation where we want to store more
  772|       |               than 16 nodes at one level of the tree, we no longer
  773|       |               want to use the Bitmap node with bitmap encoding.
  774|       |
  775|       |               Instead we start using an Array node, which has
  776|       |               simpler (faster) implementation at the expense of
  777|       |               having preallocated 32 pointers for its keys/values
  778|       |               pairs.
  779|       |
  780|       |               Small hamt objects (<30 keys) usually don't have any
  781|       |               Array nodes at all.  Between ~30 and ~400 keys hamt
  782|       |               objects usually have one Array node, and usually it's
  783|       |               a root node.
  784|       |            */
  785|       |
  786|      0|            uint32_t jdx = hamt_mask(hash, shift);
  787|       |            /* 'jdx' is the index of where the new key should be added
  788|       |               in the new Array node we're about to create. */
  789|       |
  790|      0|            PyHamtNode *empty = NULL;
  791|      0|            PyHamtNode_Array *new_node = NULL;
  792|      0|            PyHamtNode *res = NULL;
  793|       |
  794|       |            /* Create a new Array node. */
  795|      0|            new_node = (PyHamtNode_Array *)hamt_node_array_new(n + 1);
  796|      0|            if (new_node == NULL) {
  ------------------
  |  Branch (796:17): [True: 0, False: 0]
  ------------------
  797|      0|                goto fin;
  798|      0|            }
  799|       |
  800|       |            /* Create an empty bitmap node for the next
  801|       |               hamt_node_assoc call. */
  802|      0|            empty = hamt_node_bitmap_new(0);
  803|      0|            if (empty == NULL) {
  ------------------
  |  Branch (803:17): [True: 0, False: 0]
  ------------------
  804|      0|                goto fin;
  805|      0|            }
  806|       |
  807|       |            /* Make a new bitmap node for the key/val we're adding.
  808|       |               Set that bitmap node to new-array-node[jdx]. */
  809|      0|            new_node->a_array[jdx] = hamt_node_assoc(
  810|      0|                empty, shift + 5, hash, key, val, added_leaf);
  811|      0|            if (new_node->a_array[jdx] == NULL) {
  ------------------
  |  Branch (811:17): [True: 0, False: 0]
  ------------------
  812|      0|                goto fin;
  813|      0|            }
  814|       |
  815|       |            /* Copy existing key/value pairs from the current Bitmap
  816|       |               node to the new Array node we've just created. */
  817|      0|            Py_ssize_t i, j;
  818|      0|            for (i = 0, j = 0; i < HAMT_ARRAY_NODE_SIZE; i++) {
  ------------------
  |  |  314|      0|#define HAMT_ARRAY_NODE_SIZE 32
  ------------------
  |  Branch (818:32): [True: 0, False: 0]
  ------------------
  819|      0|                if (((self->b_bitmap >> i) & 1) != 0) {
  ------------------
  |  Branch (819:21): [True: 0, False: 0]
  ------------------
  820|       |                    /* Ensure we don't accidentally override `jdx` element
  821|       |                       we set few lines above.
  822|       |                    */
  823|      0|                    assert(new_node->a_array[i] == NULL);
  ------------------
  |  Branch (823:21): [True: 0, False: 0]
  ------------------
  824|       |
  825|      0|                    if (self->b_array[j] == NULL) {
  ------------------
  |  Branch (825:25): [True: 0, False: 0]
  ------------------
  826|      0|                        new_node->a_array[i] =
  827|      0|                            (PyHamtNode *)Py_NewRef(self->b_array[j + 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  828|      0|                    }
  829|      0|                    else {
  830|      0|                        int32_t rehash = hamt_hash(self->b_array[j]);
  831|      0|                        if (rehash == -1) {
  ------------------
  |  Branch (831:29): [True: 0, False: 0]
  ------------------
  832|      0|                            goto fin;
  833|      0|                        }
  834|       |
  835|      0|                        new_node->a_array[i] = hamt_node_assoc(
  836|      0|                            empty, shift + 5,
  837|      0|                            rehash,
  838|      0|                            self->b_array[j],
  839|      0|                            self->b_array[j + 1],
  840|      0|                            added_leaf);
  841|       |
  842|      0|                        if (new_node->a_array[i] == NULL) {
  ------------------
  |  Branch (842:29): [True: 0, False: 0]
  ------------------
  843|      0|                            goto fin;
  844|      0|                        }
  845|      0|                    }
  846|      0|                    j += 2;
  847|      0|                }
  848|      0|            }
  849|       |
  850|      0|            VALIDATE_ARRAY_NODE(new_node)
  851|       |
  852|       |            /* That's it! */
  853|      0|            res = (PyHamtNode *)new_node;
  854|       |
  855|      0|        fin:
  856|      0|            Py_XDECREF(empty);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  857|      0|            if (res == NULL) {
  ------------------
  |  Branch (857:17): [True: 0, False: 0]
  ------------------
  858|      0|                Py_XDECREF(new_node);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  859|      0|            }
  860|      0|            return res;
  861|      0|        }
  862|      1|        else {
  863|       |            /* We have less than 16 keys at this level; let's just
  864|       |               create a new bitmap node out of this node with the
  865|       |               new key/val pair added. */
  866|       |
  867|      1|            uint32_t key_idx = 2 * idx;
  868|      1|            uint32_t val_idx = key_idx + 1;
  869|      1|            uint32_t i;
  870|       |
  871|      1|            *added_leaf = 1;
  872|       |
  873|       |            /* Allocate new Bitmap node which can have one more key/val
  874|       |               pair in addition to what we have already. */
  875|      1|            PyHamtNode_Bitmap *new_node =
  876|      1|                (PyHamtNode_Bitmap *)hamt_node_bitmap_new(2 * (n + 1));
  877|      1|            if (new_node == NULL) {
  ------------------
  |  Branch (877:17): [True: 0, False: 1]
  ------------------
  878|      0|                return NULL;
  879|      0|            }
  880|       |
  881|       |            /* Copy all keys/values that will be before the new key/value
  882|       |               we are adding. */
  883|      1|            for (i = 0; i < key_idx; i++) {
  ------------------
  |  Branch (883:25): [True: 0, False: 1]
  ------------------
  884|      0|                new_node->b_array[i] = Py_XNewRef(self->b_array[i]);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  885|      0|            }
  886|       |
  887|       |            /* Set the new key/value to the new Bitmap node. */
  888|      1|            new_node->b_array[key_idx] = Py_NewRef(key);
  ------------------
  |  |  550|      1|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  889|      1|            new_node->b_array[val_idx] = Py_NewRef(val);
  ------------------
  |  |  550|      1|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  890|       |
  891|       |            /* Copy all keys/values that will be after the new key/value
  892|       |               we are adding. */
  893|      1|            assert(Py_SIZE(self) >= 0 && Py_SIZE(self) <= 32);
  ------------------
  |  Branch (893:13): [True: 1, False: 0]
  |  Branch (893:13): [True: 1, False: 0]
  ------------------
  894|      1|            for (i = key_idx; i < (uint32_t)Py_SIZE(self); i++) {
  ------------------
  |  |  214|      1|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (894:31): [True: 0, False: 1]
  ------------------
  895|      0|                new_node->b_array[i + 2] = Py_XNewRef(self->b_array[i]);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  896|      0|            }
  897|       |
  898|      1|            new_node->b_bitmap = self->b_bitmap | bit;
  899|      1|            return (PyHamtNode *)new_node;
  900|      1|        }
  901|      1|    }
  902|      1|}
hamt.c:hamt_bitpos:
  437|   319k|{
  438|   319k|    return (uint32_t)1 << hamt_mask(hash, shift);
  439|   319k|}
hamt.c:hamt_bitindex:
  443|      1|{
  444|      1|    return (uint32_t)_Py_popcount32(bitmap & (bit - 1));
  445|      1|}
hamt.c:hamt_mask:
  431|   319k|{
  432|   319k|    return (((uint32_t)hash >> shift) & 0x01f);
  433|   319k|}
hamt.c:hamt_node_bitmap_new:
  492|      1|{
  493|       |    /* Create a new bitmap node of size 'size' */
  494|       |
  495|      1|    PyHamtNode_Bitmap *node;
  496|      1|    Py_ssize_t i;
  497|       |
  498|      1|    if (size == 0) {
  ------------------
  |  Branch (498:9): [True: 0, False: 1]
  ------------------
  499|       |        /* Since bitmap nodes are immutable, we can cache the instance
  500|       |           for size=0 and reuse it whenever we need an empty bitmap node.
  501|       |        */
  502|      0|        return (PyHamtNode *)&_Py_SINGLETON(hamt_bitmap_node_empty);
  ------------------
  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
  503|      0|    }
  504|       |
  505|      1|    assert(size >= 0);
  ------------------
  |  Branch (505:5): [True: 1, False: 0]
  ------------------
  506|      1|    assert(size % 2 == 0);
  ------------------
  |  Branch (506:5): [True: 1, False: 0]
  ------------------
  507|       |
  508|       |    /* No freelist; allocate a new bitmap node */
  509|      1|    node = PyObject_GC_NewVar(
  ------------------
  |  |  183|      1|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  510|      1|        PyHamtNode_Bitmap, &_PyHamt_BitmapNode_Type, size);
  511|      1|    if (node == NULL) {
  ------------------
  |  Branch (511:9): [True: 0, False: 1]
  ------------------
  512|      0|        return NULL;
  513|      0|    }
  514|       |
  515|      1|    Py_SET_SIZE(node, size);
  ------------------
  |  |  216|      1|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|      1|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  516|       |
  517|      3|    for (i = 0; i < size; i++) {
  ------------------
  |  Branch (517:17): [True: 2, False: 1]
  ------------------
  518|      2|        node->b_array[i] = NULL;
  519|      2|    }
  520|       |
  521|      1|    node->b_bitmap = 0;
  522|       |
  523|      1|    _PyObject_GC_TRACK(node);
  ------------------
  |  |  507|      1|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  524|       |
  525|      1|    return (PyHamtNode *)node;
  526|      1|}
hamt.c:hamt_find:
 2292|   319k|{
 2293|   319k|    if (o->h_count == 0) {
  ------------------
  |  Branch (2293:9): [True: 1, False: 319k]
  ------------------
 2294|      1|        return F_NOT_FOUND;
 2295|      1|    }
 2296|       |
 2297|   319k|    int32_t key_hash = hamt_hash(key);
 2298|   319k|    if (key_hash == -1) {
  ------------------
  |  Branch (2298:9): [True: 0, False: 319k]
  ------------------
 2299|      0|        return F_ERROR;
 2300|      0|    }
 2301|       |
 2302|   319k|    return hamt_node_find(o->h_root, 0, key_hash, key, val);
 2303|   319k|}
hamt.c:hamt_node_find:
 2001|   319k|{
 2002|       |    /* Find the key in the node starting with the given shift/hash.
 2003|       |
 2004|       |       If a value is found, the result will be set to F_FOUND, and
 2005|       |       *val will point to the found value object.
 2006|       |
 2007|       |       If a value wasn't found, the result will be set to F_NOT_FOUND.
 2008|       |
 2009|       |       If an exception occurs during the call, the result will be F_ERROR.
 2010|       |
 2011|       |       This method automatically dispatches to the suitable
 2012|       |       hamt_node_{nodetype}_find method.
 2013|       |    */
 2014|       |
 2015|   319k|    if (IS_BITMAP_NODE(node)) {
  ------------------
  |  |  281|   319k|#define IS_BITMAP_NODE(node)    Py_IS_TYPE(node, &_PyHamt_BitmapNode_Type)
  |  |  ------------------
  |  |  |  |  215|   319k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   319k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   319k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 319k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2016|   319k|        return hamt_node_bitmap_find(
 2017|   319k|            (PyHamtNode_Bitmap *)node,
 2018|   319k|            shift, hash, key, val);
 2019|       |
 2020|   319k|    }
 2021|      0|    else if (IS_ARRAY_NODE(node)) {
  ------------------
  |  |  280|      0|#define IS_ARRAY_NODE(node)     Py_IS_TYPE(node, &_PyHamt_ArrayNode_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2022|      0|        return hamt_node_array_find(
 2023|      0|            (PyHamtNode_Array *)node,
 2024|      0|            shift, hash, key, val);
 2025|      0|    }
 2026|      0|    else {
 2027|      0|        assert(IS_COLLISION_NODE(node));
  ------------------
  |  Branch (2027:9): [True: 0, False: 0]
  ------------------
 2028|      0|        return hamt_node_collision_find(
 2029|      0|            (PyHamtNode_Collision *)node,
 2030|      0|            shift, hash, key, val);
 2031|      0|    }
 2032|   319k|}
hamt.c:hamt_node_bitmap_find:
 1047|   319k|{
 1048|       |    /* Lookup a key in a Bitmap node. */
 1049|       |
 1050|   319k|    uint32_t bit = hamt_bitpos(hash, shift);
 1051|   319k|    uint32_t idx;
 1052|   319k|    uint32_t key_idx;
 1053|   319k|    uint32_t val_idx;
 1054|   319k|    PyObject *key_or_null;
 1055|   319k|    PyObject *val_or_node;
 1056|   319k|    int comp_err;
 1057|       |
 1058|   319k|    if ((self->b_bitmap & bit) == 0) {
  ------------------
  |  Branch (1058:9): [True: 319k, False: 0]
  ------------------
 1059|   319k|        return F_NOT_FOUND;
 1060|   319k|    }
 1061|       |
 1062|      0|    idx = hamt_bitindex(self->b_bitmap, bit);
 1063|      0|    key_idx = idx * 2;
 1064|      0|    val_idx = key_idx + 1;
 1065|       |
 1066|      0|    assert(val_idx < (size_t)Py_SIZE(self));
  ------------------
  |  Branch (1066:5): [True: 0, False: 0]
  ------------------
 1067|       |
 1068|      0|    key_or_null = self->b_array[key_idx];
 1069|      0|    val_or_node = self->b_array[val_idx];
 1070|       |
 1071|      0|    if (key_or_null == NULL) {
  ------------------
  |  Branch (1071:9): [True: 0, False: 0]
  ------------------
 1072|       |        /* There are a few keys that have the same hash at the current shift
 1073|       |           that match our key.  Dispatch the lookup further down the tree. */
 1074|      0|        assert(val_or_node != NULL);
  ------------------
  |  Branch (1074:9): [True: 0, False: 0]
  ------------------
 1075|      0|        return hamt_node_find((PyHamtNode *)val_or_node,
 1076|      0|                              shift + 5, hash, key, val);
 1077|      0|    }
 1078|       |
 1079|       |    /* We have only one key -- a potential match.  Let's compare if the
 1080|       |       key we are looking at is equal to the key we are looking for. */
 1081|      0|    assert(key != NULL);
  ------------------
  |  Branch (1081:5): [True: 0, False: 0]
  ------------------
 1082|      0|    comp_err = PyObject_RichCompareBool(key, key_or_null, Py_EQ);
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
 1083|      0|    if (comp_err < 0) {  /* exception in __eq__ */
  ------------------
  |  Branch (1083:9): [True: 0, False: 0]
  ------------------
 1084|      0|        return F_ERROR;
 1085|      0|    }
 1086|      0|    if (comp_err == 1) {  /* key == key_or_null */
  ------------------
  |  Branch (1086:9): [True: 0, False: 0]
  ------------------
 1087|      0|        *val = val_or_node;
 1088|      0|        return F_FOUND;
 1089|      0|    }
 1090|       |
 1091|      0|    return F_NOT_FOUND;
 1092|      0|}
hamt.c:hamt_alloc:
 2395|      1|{
 2396|      1|    PyHamtObject *o;
 2397|      1|    o = PyObject_GC_New(PyHamtObject, &_PyHamt_Type);
  ------------------
  |  |  181|      1|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2398|      1|    if (o == NULL) {
  ------------------
  |  Branch (2398:9): [True: 0, False: 1]
  ------------------
 2399|      0|        return NULL;
 2400|      0|    }
 2401|      1|    o->h_count = 0;
 2402|      1|    o->h_root = NULL;
 2403|       |    o->h_weakreflist = NULL;
 2404|      1|    PyObject_GC_Track(o);
 2405|      1|    return o;
 2406|      1|}
hamt.c:hamt_tp_traverse:
 2633|    254|{
 2634|    254|    PyHamtObject *self = _PyHamtObject_CAST(op);
  ------------------
  |  | 2613|    254|#define _PyHamtObject_CAST(op)      ((PyHamtObject *)(op))
  ------------------
 2635|    254|    Py_VISIT(self->h_root);
  ------------------
  |  |  194|    254|    do {                                                                \
  |  |  195|    254|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 254, False: 0]
  |  |  ------------------
  |  |  196|    254|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    254|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    254|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    254|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 254]
  |  |  ------------------
  |  |  198|    254|                return vret;                                            \
  |  |  199|    254|        }                                                               \
  |  |  200|    254|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 254]
  |  |  ------------------
  ------------------
 2636|    254|    return 0;
 2637|    254|}
hamt.c:hamt_node_bitmap_traverse:
 1096|    254|{
 1097|       |    /* Bitmap's tp_traverse */
 1098|    254|    PyHamtNode_Bitmap *self = _PyHamtNode_Bitmap_CAST(op);
  ------------------
  |  |  487|    254|#define _PyHamtNode_Bitmap_CAST(op)     ((PyHamtNode_Bitmap *)(op))
  ------------------
 1099|    762|    for (Py_ssize_t i = Py_SIZE(self); --i >= 0;) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1099:40): [True: 508, False: 254]
  ------------------
 1100|    508|        Py_VISIT(self->b_array[i]);
  ------------------
  |  |  194|    508|    do {                                                                \
  |  |  195|    508|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 508, False: 0]
  |  |  ------------------
  |  |  196|    508|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    508|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    508|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    508|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 508]
  |  |  ------------------
  |  |  198|    508|                return vret;                                            \
  |  |  199|    508|        }                                                               \
  |  |  200|    508|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 508]
  |  |  ------------------
  ------------------
 1101|    508|    }
 1102|    254|    return 0;
 1103|    254|}

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

_PyImport_AcquireLock:
  154|    394|{
  155|    394|    _PyRecursiveMutex_Lock(&IMPORT_LOCK(interp));
  ------------------
  |  |  114|    394|    (interp)->imports.lock
  ------------------
  156|    394|}
_PyImport_ReleaseLock:
  160|    394|{
  161|    394|    _PyRecursiveMutex_Unlock(&IMPORT_LOCK(interp));
  ------------------
  |  |  114|    394|    (interp)->imports.lock
  ------------------
  162|    394|}
_PyImport_InitModules:
  178|      2|{
  179|      2|    assert(MODULES(interp) == NULL);
  ------------------
  |  Branch (179:5): [True: 2, False: 0]
  ------------------
  180|      2|    MODULES(interp) = PyDict_New();
  ------------------
  |  |   90|      2|    (interp)->imports.modules
  ------------------
  181|      2|    if (MODULES(interp) == NULL) {
  ------------------
  |  |   90|      2|    (interp)->imports.modules
  ------------------
  |  Branch (181:9): [True: 0, False: 2]
  ------------------
  182|      0|        return NULL;
  183|      0|    }
  184|      2|    return MODULES(interp);
  ------------------
  |  |   90|      2|    (interp)->imports.modules
  ------------------
  185|      2|}
_PyImport_GetModules:
  189|  1.06M|{
  190|  1.06M|    return MODULES(interp);
  ------------------
  |  |   90|  1.06M|    (interp)->imports.modules
  ------------------
  191|  1.06M|}
_PyImport_SetModuleString:
  250|      3|{
  251|      3|    PyThreadState *tstate = _PyThreadState_GET();
  252|       |    PyObject *modules = get_modules_dict(tstate, true);
  253|      3|    return PyMapping_SetItemString(modules, name, m);
  254|      3|}
_PyImport_InitLazyModules:
  273|      2|{
  274|      2|    assert(LAZY_MODULES(interp) == NULL &&
  ------------------
  |  Branch (274:5): [True: 2, False: 0]
  |  Branch (274:5): [True: 2, False: 0]
  ------------------
  275|      2|           LAZY_PENDING_SUBMODULES(interp) == NULL);
  276|       |
  277|      2|    LAZY_PENDING_SUBMODULES(interp) = PyDict_New();
  ------------------
  |  |   96|      2|    (interp)->imports.lazy_pending_submodules
  ------------------
  278|      2|    LAZY_MODULES(interp) = PySet_New(0);
  ------------------
  |  |   94|      2|    (interp)->imports.lazy_modules
  ------------------
  279|      2|    return LAZY_MODULES(interp);
  ------------------
  |  |   94|      2|    (interp)->imports.lazy_modules
  ------------------
  280|      2|}
PyImport_GetModule:
  338|  1.06M|{
  339|  1.06M|    PyThreadState *tstate = _PyThreadState_GET();
  340|  1.06M|    PyObject *mod;
  341|       |
  342|  1.06M|    mod = import_get_module(tstate, name);
  343|  1.06M|    if (mod != NULL && mod != Py_None) {
  ------------------
  |  |  616|  1.06M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (343:9): [True: 1.06M, False: 3]
  |  Branch (343:24): [True: 1.06M, False: 0]
  ------------------
  344|  1.06M|        if (import_ensure_initialized(tstate->interp, mod, name) < 0) {
  ------------------
  |  Branch (344:13): [True: 0, False: 1.06M]
  ------------------
  345|      0|            goto error;
  346|      0|        }
  347|       |        /* Verify the module is still in sys.modules. Another thread may have
  348|       |           removed it (due to import failure) between our import_get_module()
  349|       |           call and the _initializing check in import_ensure_initialized(). */
  350|  1.06M|        PyObject *mod_check = import_get_module(tstate, name);
  351|  1.06M|        if (mod_check != mod) {
  ------------------
  |  Branch (351:13): [True: 0, False: 1.06M]
  ------------------
  352|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  353|      0|            if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (353:17): [True: 0, False: 0]
  ------------------
  354|      0|                goto error;
  355|      0|            }
  356|       |            /* The module was removed or replaced. Return NULL to report
  357|       |               "not found" rather than trying to keep up with racing
  358|       |               modifications to sys.modules; returning the new value would
  359|       |               require looping to redo the ensure_initialized check. */
  360|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  361|      0|            return NULL;
  362|      0|        }
  363|  1.06M|        Py_DECREF(mod_check);
  ------------------
  |  |  430|  1.06M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.06M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.06M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  364|  1.06M|    }
  365|  1.06M|    return mod;
  366|       |
  367|      0|error:
  368|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  369|      0|    remove_importlib_frames(tstate);
  370|       |    return NULL;
  371|  1.06M|}
PyImport_AddModuleRef:
  416|      2|{
  417|      2|    PyObject *name_obj = PyUnicode_FromString(name);
  418|      2|    if (name_obj == NULL) {
  ------------------
  |  Branch (418:9): [True: 0, False: 2]
  ------------------
  419|      0|        return NULL;
  420|      0|    }
  421|      2|    PyThreadState *tstate = _PyThreadState_GET();
  422|      2|    PyObject *module = import_add_module(tstate, name_obj);
  423|      2|    Py_DECREF(name_obj);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  424|      2|    return module;
  425|      2|}
PyImport_AddModuleObject:
  430|      2|{
  431|      2|    PyThreadState *tstate = _PyThreadState_GET();
  432|      2|    PyObject *mod = import_add_module(tstate, name);
  433|      2|    if (!mod) {
  ------------------
  |  Branch (433:9): [True: 0, False: 2]
  ------------------
  434|      0|        return NULL;
  435|      0|    }
  436|       |
  437|       |    // gh-86160: PyImport_AddModuleObject() returns a borrowed reference.
  438|       |    // Create a weak reference to produce a borrowed reference, since it can
  439|       |    // become NULL. sys.modules type can be different than dict and it is not
  440|       |    // guaranteed that it keeps a strong reference to the module. It can be a
  441|       |    // custom mapping with __getitem__() which returns a new object or removes
  442|       |    // returned object, or __setitem__ which does nothing. There is so much
  443|       |    // unknown.  With weakref we can be sure that we get either a reference to
  444|       |    // live object or NULL.
  445|       |    //
  446|       |    // Use PyImport_AddModuleRef() to avoid these issues.
  447|      2|    PyObject *ref = PyWeakref_NewRef(mod, NULL);
  448|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  449|      2|    if (ref == NULL) {
  ------------------
  |  Branch (449:9): [True: 0, False: 2]
  ------------------
  450|      0|        return NULL;
  451|      0|    }
  452|      2|    mod = _PyWeakref_GET_REF(ref);
  453|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  454|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  455|       |
  456|      2|    if (mod == NULL && !PyErr_Occurred()) {
  ------------------
  |  Branch (456:9): [True: 0, False: 2]
  |  Branch (456:24): [True: 0, False: 0]
  ------------------
  457|      0|        PyErr_SetString(PyExc_RuntimeError,
  458|      0|                        "sys.modules does not hold a strong reference "
  459|      0|                        "to the module");
  460|      0|    }
  461|      2|    return mod; /* borrowed reference */
  462|      2|}
_PyImport_GetNextModuleIndex:
  509|     43|{
  510|     43|    return _Py_atomic_add_ssize(&LAST_MODULE_INDEX, 1) + 1;
  ------------------
  |  |   81|     43|#define LAST_MODULE_INDEX _PyRuntime.imports.last_module_index
  ------------------
  511|     43|}
_PyImport_ResolveNameWithPackageContext:
  888|      8|{
  889|      8|    if (PKGCONTEXT != NULL) {
  ------------------
  |  |  884|      8|# define PKGCONTEXT pkgcontext
  ------------------
  |  Branch (889:9): [True: 0, False: 8]
  ------------------
  890|      0|        const char *p = strrchr(PKGCONTEXT, '.');
  ------------------
  |  |  884|      0|# define PKGCONTEXT pkgcontext
  ------------------
  891|      0|        if (p != NULL && strcmp(name, p+1) == 0) {
  ------------------
  |  Branch (891:13): [True: 0, False: 0]
  |  Branch (891:26): [True: 0, False: 0]
  ------------------
  892|      0|            name = PKGCONTEXT;
  ------------------
  |  |  884|      0|# define PKGCONTEXT pkgcontext
  ------------------
  893|      0|            PKGCONTEXT = NULL;
  ------------------
  |  |  884|      0|# define PKGCONTEXT pkgcontext
  ------------------
  894|      0|        }
  895|      0|    }
  896|      8|    return name;
  897|      8|}
_PyImport_SwapPackageContext:
  901|     70|{
  902|     70|    const char *oldcontext = PKGCONTEXT;
  ------------------
  |  |  884|     70|# define PKGCONTEXT pkgcontext
  ------------------
  903|     70|    PKGCONTEXT = newcontext;
  ------------------
  |  |  884|     70|# define PKGCONTEXT pkgcontext
  ------------------
  904|     70|    return oldcontext;
  905|     70|}
_PyImport_GetDLOpenFlags:
  910|      4|{
  911|      4|    return FT_ATOMIC_LOAD_INT_RELAXED(DLOPENFLAGS(interp));
  ------------------
  |  |  186|      4|#define FT_ATOMIC_LOAD_INT_RELAXED(value) value
  ------------------
  912|      4|}
_PyImport_FixupBuiltin:
 2392|      4|{
 2393|      4|    int res = -1;
 2394|      4|    assert(mod != NULL && PyModule_Check(mod));
  ------------------
  |  Branch (2394:5): [True: 4, False: 0]
  |  Branch (2394:5): [True: 4, False: 0]
  ------------------
 2395|       |
 2396|      4|    PyObject *nameobj;
 2397|      4|    nameobj = PyUnicode_InternFromString(name);
 2398|      4|    if (nameobj == NULL) {
  ------------------
  |  Branch (2398:9): [True: 0, False: 4]
  ------------------
 2399|      0|        return -1;
 2400|      0|    }
 2401|       |
 2402|      4|    PyModuleDef *def = _PyModule_GetDefOrNull(mod);
 2403|      4|    if (def == NULL) {
  ------------------
  |  Branch (2403:9): [True: 0, False: 4]
  ------------------
 2404|      0|        assert(!PyErr_Occurred());
  ------------------
  |  Branch (2404:9): [True: 0, False: 0]
  ------------------
 2405|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2406|      0|        goto finally;
 2407|      0|    }
 2408|       |
 2409|       |    /* We only use _PyImport_FixupBuiltin() for the core builtin modules
 2410|       |     * (sys and builtins).  These modules are single-phase init with no
 2411|       |     * module state, but we also don't populate def->m_base.m_copy
 2412|       |     * for them. */
 2413|      4|    assert(is_core_module(tstate->interp, nameobj, nameobj));
  ------------------
  |  Branch (2413:5): [True: 4, False: 0]
  ------------------
 2414|      4|    assert_singlephase_def(def);
  ------------------
  |  | 1789|      4|    do {                                                            \
  |  | 1790|      4|        _Py_ext_module_kind kind = _get_extension_kind(def, true);  \
  |  | 1791|      4|        assert(kind == _Py_ext_module_kind_SINGLEPHASE              \
  |  | 1792|      4|                || kind == _Py_ext_module_kind_UNKNOWN);            \
  |  | 1793|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1793:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  |  Branch (2414:5): [True: 4, False: 0]
  |  Branch (2414:5): [True: 0, False: 0]
  ------------------
 2415|      4|    assert(def->m_size == -1);
  ------------------
  |  Branch (2415:5): [True: 4, False: 0]
  ------------------
 2416|      4|    assert(def->m_base.m_copy == NULL);
  ------------------
  |  Branch (2416:5): [True: 4, False: 0]
  ------------------
 2417|      4|    assert(def->m_base.m_index >= 0);
  ------------------
  |  Branch (2417:5): [True: 4, False: 0]
  ------------------
 2418|       |
 2419|       |    /* We aren't using import_find_extension() for core modules,
 2420|       |     * so we have to do the extra check to make sure the module
 2421|       |     * isn't already in the global cache before calling
 2422|       |     * update_global_state_for_extension(). */
 2423|      4|    struct extensions_cache_value *cached
 2424|      4|            = _extensions_cache_get(nameobj, nameobj);
 2425|      4|    if (cached == NULL) {
  ------------------
  |  Branch (2425:9): [True: 4, False: 0]
  ------------------
 2426|      4|        struct singlephase_global_update singlephase = {
 2427|      4|            .m_index=def->m_base.m_index,
 2428|       |            /* We don't want def->m_base.m_copy populated. */
 2429|      4|            .m_dict=NULL,
 2430|      4|            .origin=_Py_ext_module_origin_CORE,
 2431|       |#ifdef Py_GIL_DISABLED
 2432|       |            /* Unused when m_dict == NULL. */
 2433|       |            .md_requires_gil=false,
 2434|       |#endif
 2435|      4|        };
 2436|      4|        cached = update_global_state_for_extension(
 2437|      4|                tstate, nameobj, nameobj, def, &singlephase);
 2438|      4|        if (cached == NULL) {
  ------------------
  |  Branch (2438:13): [True: 0, False: 4]
  ------------------
 2439|      0|            goto finally;
 2440|      0|        }
 2441|      4|    }
 2442|       |
 2443|      4|    if (finish_singlephase_extension(tstate, mod, cached, nameobj, modules) < 0) {
  ------------------
  |  Branch (2443:9): [True: 0, False: 4]
  ------------------
 2444|      0|        goto finally;
 2445|      0|    }
 2446|       |
 2447|      4|    res = 0;
 2448|       |
 2449|      4|finally:
 2450|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2451|      4|    return res;
 2452|      4|}
_PyImport_GetBuiltinModuleNames:
 2697|      2|{
 2698|      2|    PyObject *list = PyList_New(0);
 2699|      2|    if (list == NULL) {
  ------------------
  |  Branch (2699:9): [True: 0, False: 2]
  ------------------
 2700|      0|        return NULL;
 2701|      0|    }
 2702|      2|    struct _inittab *inittab = INITTAB;
  ------------------
  |  |   80|      2|#define INITTAB _PyRuntime.imports.inittab
  ------------------
 2703|     78|    for (Py_ssize_t i = 0; inittab[i].name != NULL; i++) {
  ------------------
  |  Branch (2703:28): [True: 76, False: 2]
  ------------------
 2704|     76|        PyObject *name = PyUnicode_FromString(inittab[i].name);
 2705|     76|        if (name == NULL) {
  ------------------
  |  Branch (2705:13): [True: 0, False: 76]
  ------------------
 2706|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2707|      0|            return NULL;
 2708|      0|        }
 2709|     76|        if (PyList_Append(list, name) < 0) {
  ------------------
  |  Branch (2709:13): [True: 0, False: 76]
  ------------------
 2710|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2711|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2712|      0|            return NULL;
 2713|      0|        }
 2714|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2715|     76|    }
 2716|      2|    return list;
 2717|      2|}
PyImport_ImportFrozenModuleObject:
 3242|      2|{
 3243|      2|    PyThreadState *tstate = _PyThreadState_GET();
 3244|      2|    PyObject *co, *m, *d = NULL;
 3245|      2|    int err;
 3246|       |
 3247|      2|    struct frozen_info info;
 3248|      2|    frozen_status status = find_frozen(name, &info);
 3249|      2|    if (status == FROZEN_NOT_FOUND || status == FROZEN_DISABLED) {
  ------------------
  |  Branch (3249:9): [True: 0, False: 2]
  |  Branch (3249:39): [True: 0, False: 2]
  ------------------
 3250|      0|        return 0;
 3251|      0|    }
 3252|      2|    else if (status == FROZEN_BAD_NAME) {
  ------------------
  |  Branch (3252:14): [True: 0, False: 2]
  ------------------
 3253|      0|        return 0;
 3254|      0|    }
 3255|      2|    else if (status != FROZEN_OKAY) {
  ------------------
  |  Branch (3255:14): [True: 0, False: 2]
  ------------------
 3256|      0|        set_frozen_error(status, name);
 3257|      0|        return -1;
 3258|      0|    }
 3259|      2|    co = unmarshal_frozen_code(tstate->interp, &info);
 3260|      2|    if (co == NULL) {
  ------------------
  |  Branch (3260:9): [True: 0, False: 2]
  ------------------
 3261|      0|        return -1;
 3262|      0|    }
 3263|      2|    if (info.is_package) {
  ------------------
  |  Branch (3263:9): [True: 0, False: 2]
  ------------------
 3264|       |        /* Set __path__ to the empty list */
 3265|      0|        PyObject *l;
 3266|      0|        m = import_add_module(tstate, name);
 3267|      0|        if (m == NULL)
  ------------------
  |  Branch (3267:13): [True: 0, False: 0]
  ------------------
 3268|      0|            goto err_return;
 3269|      0|        d = PyModule_GetDict(m);
 3270|      0|        l = PyList_New(0);
 3271|      0|        if (l == NULL) {
  ------------------
  |  Branch (3271:13): [True: 0, False: 0]
  ------------------
 3272|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3273|      0|            goto err_return;
 3274|      0|        }
 3275|      0|        err = PyDict_SetItemString(d, "__path__", l);
 3276|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3277|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3278|      0|        if (err != 0)
  ------------------
  |  Branch (3278:13): [True: 0, False: 0]
  ------------------
 3279|      0|            goto err_return;
 3280|      0|    }
 3281|      2|    d = module_dict_for_exec(tstate, name);
 3282|      2|    if (d == NULL) {
  ------------------
  |  Branch (3282:9): [True: 0, False: 2]
  ------------------
 3283|      0|        goto err_return;
 3284|      0|    }
 3285|      2|    m = exec_code_in_module(tstate, name, d, co);
 3286|      2|    if (m == NULL) {
  ------------------
  |  Branch (3286:9): [True: 0, False: 2]
  ------------------
 3287|      0|        goto err_return;
 3288|      0|    }
 3289|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3290|       |    /* Set __origname__ (consumed in FrozenImporter._setup_module()). */
 3291|      2|    PyObject *origname;
 3292|      2|    if (info.origname) {
  ------------------
  |  Branch (3292:9): [True: 2, False: 0]
  ------------------
 3293|      2|        origname = PyUnicode_FromString(info.origname);
 3294|      2|        if (origname == NULL) {
  ------------------
  |  Branch (3294:13): [True: 0, False: 2]
  ------------------
 3295|      0|            goto err_return;
 3296|      0|        }
 3297|      2|    }
 3298|      0|    else {
 3299|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3300|      0|    }
 3301|      2|    err = PyDict_SetItemString(d, "__origname__", origname);
 3302|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3303|      2|    if (err != 0) {
  ------------------
  |  Branch (3303:9): [True: 0, False: 2]
  ------------------
 3304|      0|        goto err_return;
 3305|      0|    }
 3306|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3307|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3308|      2|    return 1;
 3309|       |
 3310|      0|err_return:
 3311|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3312|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3313|      0|    return -1;
 3314|      2|}
PyImport_ImportFrozenModule:
 3318|      2|{
 3319|      2|    PyObject *nameobj;
 3320|      2|    int ret;
 3321|      2|    nameobj = PyUnicode_InternFromString(name);
 3322|      2|    if (nameobj == NULL)
  ------------------
  |  Branch (3322:9): [True: 0, False: 2]
  ------------------
 3323|      0|        return -1;
 3324|      2|    ret = PyImport_ImportFrozenModuleObject(nameobj);
 3325|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3326|      2|    return ret;
 3327|      2|}
_PyImport_GetImportlibLoader:
 3457|      2|{
 3458|      2|    return PyObject_GetAttrString(IMPORTLIB(interp), loader_name);
  ------------------
  |  |   98|      2|    (interp)->imports.importlib
  ------------------
 3459|      2|}
_PyImport_InitDefaultImportFunc:
 3586|      2|{
 3587|       |    // Get the __import__ function
 3588|      2|    PyObject *import_func;
 3589|      2|    if (PyDict_GetItemStringRef(interp->builtins, "__import__", &import_func) <= 0) {
  ------------------
  |  Branch (3589:9): [True: 0, False: 2]
  ------------------
 3590|      0|        return -1;
 3591|      0|    }
 3592|      2|    IMPORT_FUNC(interp) = import_func;
  ------------------
  |  |  108|      2|    (interp)->imports.import_func
  ------------------
 3593|       |
 3594|       |    // Get the __lazy_import__ function
 3595|      2|    if (PyDict_GetItemStringRef(interp->builtins, "__lazy_import__",
  ------------------
  |  Branch (3595:9): [True: 0, False: 2]
  ------------------
 3596|      2|                                &import_func) <= 0) {
 3597|      0|        return -1;
 3598|      0|    }
 3599|      2|    LAZY_IMPORT_FUNC(interp) = import_func;
  ------------------
  |  |  111|      2|    (interp)->imports.lazy_import_func
  ------------------
 3600|      2|    return 0;
 3601|      2|}
_PyImport_IsDefaultImportFunc:
 3605|  1.67M|{
 3606|  1.67M|    return func == IMPORT_FUNC(interp);
  ------------------
  |  |  108|  1.67M|    (interp)->imports.import_func
  ------------------
 3607|  1.67M|}
_PyImport_IsDefaultLazyImportFunc:
 3611|     11|{
 3612|     11|    return func == LAZY_IMPORT_FUNC(interp);
  ------------------
  |  |  111|     11|    (interp)->imports.lazy_import_func
  ------------------
 3613|     11|}
PyImport_ImportModule:
 3620|    882|{
 3621|    882|    PyObject *pname;
 3622|    882|    PyObject *result;
 3623|       |
 3624|    882|    pname = PyUnicode_FromString(name);
 3625|    882|    if (pname == NULL)
  ------------------
  |  Branch (3625:9): [True: 0, False: 882]
  ------------------
 3626|      0|        return NULL;
 3627|    882|    result = PyImport_Import(pname);
 3628|    882|    Py_DECREF(pname);
  ------------------
  |  |  430|    882|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    882|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    882|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3629|    882|    return result;
 3630|    882|}
PyImport_ImportModuleLevelObject:
 4185|  2.03M|{
 4186|  2.03M|    PyThreadState *tstate = _PyThreadState_GET();
 4187|  2.03M|    PyObject *abs_name = NULL;
 4188|  2.03M|    PyObject *final_mod = NULL;
 4189|  2.03M|    PyObject *mod = NULL;
 4190|  2.03M|    PyInterpreterState *interp = tstate->interp;
 4191|  2.03M|    int has_from;
 4192|       |
 4193|  2.03M|    if (name == NULL) {
  ------------------
  |  Branch (4193:9): [True: 0, False: 2.03M]
  ------------------
 4194|      0|        _PyErr_SetString(tstate, PyExc_ValueError, "Empty module name");
 4195|      0|        goto error;
 4196|      0|    }
 4197|       |
 4198|       |    /* The below code is importlib.__import__() & _gcd_import(), ported to C
 4199|       |       for added performance. */
 4200|       |
 4201|  2.03M|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  2.03M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.03M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4201:9): [True: 0, False: 2.03M]
  ------------------
 4202|      0|        _PyErr_SetString(tstate, PyExc_TypeError,
 4203|      0|                         "module name must be a string");
 4204|      0|        goto error;
 4205|      0|    }
 4206|  2.03M|    if (level < 0) {
  ------------------
  |  Branch (4206:9): [True: 0, False: 2.03M]
  ------------------
 4207|      0|        _PyErr_SetString(tstate, PyExc_ValueError, "level must be >= 0");
 4208|      0|        goto error;
 4209|      0|    }
 4210|       |
 4211|  2.03M|    abs_name = get_abs_name(tstate, name, globals, level);
 4212|  2.03M|    if (abs_name == NULL) {
  ------------------
  |  Branch (4212:9): [True: 0, False: 2.03M]
  ------------------
 4213|      0|        goto error;
 4214|      0|    }
 4215|       |
 4216|  2.03M|    mod = import_get_module(tstate, abs_name);
 4217|  2.03M|    if (mod == NULL && _PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4217:9): [True: 89, False: 2.03M]
  |  Branch (4217:24): [True: 0, False: 89]
  ------------------
 4218|      0|        goto error;
 4219|      0|    }
 4220|       |
 4221|  2.03M|    if (mod != NULL && mod != Py_None) {
  ------------------
  |  |  616|  2.03M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4221:9): [True: 2.03M, False: 89]
  |  Branch (4221:24): [True: 2.03M, False: 0]
  ------------------
 4222|  2.03M|        if (import_ensure_initialized(tstate->interp, mod, abs_name) < 0) {
  ------------------
  |  Branch (4222:13): [True: 0, False: 2.03M]
  ------------------
 4223|      0|            goto error;
 4224|      0|        }
 4225|       |        /* Verify the module is still in sys.modules. Another thread may have
 4226|       |           removed it (due to import failure) between our import_get_module()
 4227|       |           call and the _initializing check in import_ensure_initialized().
 4228|       |           If removed, we retry the import to preserve normal semantics: the
 4229|       |           caller gets the exception from the actual import failure rather
 4230|       |           than a synthetic error. */
 4231|  2.03M|        PyObject *mod_check = import_get_module(tstate, abs_name);
 4232|  2.03M|        if (mod_check != mod) {
  ------------------
  |  Branch (4232:13): [True: 0, False: 2.03M]
  ------------------
 4233|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4234|      0|            if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4234:17): [True: 0, False: 0]
  ------------------
 4235|      0|                goto error;
 4236|      0|            }
 4237|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4238|      0|            mod = import_find_and_load(tstate, abs_name);
 4239|      0|            if (mod == NULL) {
  ------------------
  |  Branch (4239:17): [True: 0, False: 0]
  ------------------
 4240|      0|                goto error;
 4241|      0|            }
 4242|      0|        }
 4243|  2.03M|        else {
 4244|  2.03M|            Py_DECREF(mod_check);
  ------------------
  |  |  430|  2.03M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.03M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.03M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4245|  2.03M|        }
 4246|  2.03M|    }
 4247|     89|    else {
 4248|     89|        Py_XDECREF(mod);
  ------------------
  |  |  524|     89|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     89|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     89|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4249|     89|        mod = import_find_and_load(tstate, abs_name);
 4250|     89|        if (mod == NULL) {
  ------------------
  |  Branch (4250:13): [True: 6, False: 83]
  ------------------
 4251|      6|            goto error;
 4252|      6|        }
 4253|     89|    }
 4254|       |
 4255|  2.03M|    has_from = 0;
 4256|  2.03M|    if (fromlist != NULL && fromlist != Py_None) {
  ------------------
  |  |  616|  2.03M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4256:9): [True: 2.03M, False: 33]
  |  Branch (4256:29): [True: 356k, False: 1.67M]
  ------------------
 4257|   356k|        has_from = PyObject_IsTrue(fromlist);
 4258|   356k|        if (has_from < 0)
  ------------------
  |  Branch (4258:13): [True: 0, False: 356k]
  ------------------
 4259|      0|            goto error;
 4260|   356k|    }
 4261|  2.03M|    if (!has_from) {
  ------------------
  |  Branch (4261:9): [True: 2.03M, False: 99]
  ------------------
 4262|  2.03M|        Py_ssize_t len = PyUnicode_GET_LENGTH(name);
  ------------------
  |  |  299|  2.03M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.03M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.03M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4263|  2.03M|        if (level == 0 || len > 0) {
  ------------------
  |  Branch (4263:13): [True: 2.03M, False: 0]
  |  Branch (4263:27): [True: 0, False: 0]
  ------------------
 4264|  2.03M|            Py_ssize_t dot;
 4265|       |
 4266|  2.03M|            dot = PyUnicode_FindChar(name, '.', 0, len, 1);
 4267|  2.03M|            if (dot == -2) {
  ------------------
  |  Branch (4267:17): [True: 0, False: 2.03M]
  ------------------
 4268|      0|                goto error;
 4269|      0|            }
 4270|       |
 4271|  2.03M|            if (dot == -1) {
  ------------------
  |  Branch (4271:17): [True: 2.03M, False: 5]
  ------------------
 4272|       |                /* No dot in module name, simple exit */
 4273|  2.03M|                final_mod = Py_NewRef(mod);
  ------------------
  |  |  550|  2.03M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.03M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.03M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4274|  2.03M|                goto error;
 4275|  2.03M|            }
 4276|       |
 4277|      5|            if (level == 0) {
  ------------------
  |  Branch (4277:17): [True: 5, False: 0]
  ------------------
 4278|      5|                PyObject *front = PyUnicode_Substring(name, 0, dot);
 4279|      5|                if (front == NULL) {
  ------------------
  |  Branch (4279:21): [True: 0, False: 5]
  ------------------
 4280|      0|                    goto error;
 4281|      0|                }
 4282|       |
 4283|      5|                final_mod = PyImport_ImportModuleLevelObject(front, NULL, NULL, NULL, 0);
 4284|      5|                Py_DECREF(front);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4285|      5|            }
 4286|      0|            else {
 4287|      0|                Py_ssize_t cut_off = len - dot;
 4288|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4289|      0|                PyObject *to_return = PyUnicode_Substring(abs_name, 0,
 4290|      0|                                                        abs_name_len - cut_off);
 4291|      0|                if (to_return == NULL) {
  ------------------
  |  Branch (4291:21): [True: 0, False: 0]
  ------------------
 4292|      0|                    goto error;
 4293|      0|                }
 4294|       |
 4295|      0|                final_mod = import_get_module(tstate, to_return);
 4296|      0|                if (final_mod == NULL) {
  ------------------
  |  Branch (4296:21): [True: 0, False: 0]
  ------------------
 4297|      0|                    if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4297:25): [True: 0, False: 0]
  ------------------
 4298|      0|                        _PyErr_Format(tstate, PyExc_KeyError,
 4299|      0|                                      "%R not in sys.modules as expected",
 4300|      0|                                      to_return);
 4301|      0|                    }
 4302|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4303|      0|                    goto error;
 4304|      0|                }
 4305|       |
 4306|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4307|      0|            }
 4308|      5|        }
 4309|      0|        else {
 4310|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4311|      0|        }
 4312|  2.03M|    }
 4313|     99|    else {
 4314|     99|        int has_path = PyObject_HasAttrWithError(mod, &_Py_ID(__path__));
  ------------------
  |  |  920|     99|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     99|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     99|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4315|     99|        if (has_path < 0) {
  ------------------
  |  Branch (4315:13): [True: 0, False: 99]
  ------------------
 4316|      0|            goto error;
 4317|      0|        }
 4318|     99|        if (has_path) {
  ------------------
  |  Branch (4318:13): [True: 8, False: 91]
  ------------------
 4319|      8|            final_mod = PyObject_CallMethodObjArgs(
 4320|      8|                        IMPORTLIB(interp), &_Py_ID(_handle_fromlist),
  ------------------
  |  |   98|      8|    (interp)->imports.importlib
  ------------------
                                      IMPORTLIB(interp), &_Py_ID(_handle_fromlist),
  ------------------
  |  |  920|      8|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      8|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      8|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4321|      8|                        mod, fromlist, IMPORT_FUNC(interp), NULL);
  ------------------
  |  |  108|      8|    (interp)->imports.import_func
  ------------------
 4322|      8|        }
 4323|     91|        else {
 4324|     91|            final_mod = Py_NewRef(mod);
  ------------------
  |  |  550|     91|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     91|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     91|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4325|     91|        }
 4326|     99|    }
 4327|       |
 4328|  2.03M|  error:
 4329|  2.03M|    Py_XDECREF(abs_name);
  ------------------
  |  |  524|  2.03M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.03M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.03M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4330|  2.03M|    Py_XDECREF(mod);
  ------------------
  |  |  524|  2.03M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.03M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.03M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4331|  2.03M|    if (final_mod == NULL) {
  ------------------
  |  Branch (4331:9): [True: 6, False: 2.03M]
  ------------------
 4332|      6|        remove_importlib_frames(tstate);
 4333|      6|    }
 4334|  2.03M|    return final_mod;
 4335|  2.03M|}
_PyImport_TryLoadLazySubmodule:
 4444|    257|{
 4445|    257|    PyInterpreterState *interp = _PyInterpreterState_GET();
 4446|    257|    PyObject *lazy_pending = LAZY_PENDING_SUBMODULES(interp);
  ------------------
  |  |   96|    257|    (interp)->imports.lazy_pending_submodules
  ------------------
 4447|    257|    if (lazy_pending == NULL) {
  ------------------
  |  Branch (4447:9): [True: 0, False: 257]
  ------------------
 4448|      0|        return NULL;
 4449|      0|    }
 4450|       |
 4451|    257|    PyObject *pending_set;
 4452|    257|    int rc = PyDict_GetItemRef(lazy_pending, mod_name, &pending_set);
 4453|    257|    if (rc <= 0) {
  ------------------
  |  Branch (4453:9): [True: 253, False: 4]
  ------------------
 4454|    253|        return NULL;
 4455|    253|    }
 4456|       |
 4457|      4|    int contains = PySet_Contains(pending_set, attr_name);
 4458|      4|    if (contains <= 0) {
  ------------------
  |  Branch (4458:9): [True: 4, False: 0]
  ------------------
 4459|      4|        Py_DECREF(pending_set);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4460|      4|        return NULL;
 4461|      4|    }
 4462|       |
 4463|      0|    PyObject *full_name = PyUnicode_FromFormat("%U.%U", mod_name, attr_name);
 4464|      0|    if (full_name == NULL) {
  ------------------
  |  Branch (4464:9): [True: 0, False: 0]
  ------------------
 4465|      0|        Py_DECREF(pending_set);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4466|      0|        return NULL;
 4467|      0|    }
 4468|       |
 4469|      0|    PyObject *mod = PyImport_ImportModuleLevelObject(
 4470|      0|        full_name, NULL, NULL, NULL, 0);
 4471|      0|    if (mod == NULL) {
  ------------------
  |  Branch (4471:9): [True: 0, False: 0]
  ------------------
 4472|      0|        Py_DECREF(pending_set);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4473|      0|        Py_DECREF(full_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4474|      0|        return NULL;
 4475|      0|    }
 4476|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4477|       |
 4478|      0|    if (PySet_Discard(pending_set, attr_name) < 0) {
  ------------------
  |  Branch (4478:9): [True: 0, False: 0]
  ------------------
 4479|      0|        Py_DECREF(pending_set);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4480|      0|        Py_DECREF(full_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4481|      0|        return NULL;
 4482|      0|    }
 4483|      0|    Py_DECREF(pending_set);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4484|       |
 4485|      0|    PyObject *submod = PyImport_GetModule(full_name);
 4486|      0|    Py_DECREF(full_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4487|      0|    return submod;
 4488|      0|}
_PyImport_LazyImportModuleLevelObject:
 4495|     11|{
 4496|     11|    assert(name != NULL);
  ------------------
  |  Branch (4496:5): [True: 11, False: 0]
  ------------------
 4497|     11|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|     11|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     11|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4497:9): [True: 0, False: 11]
  ------------------
 4498|      0|        _PyErr_Format(tstate, PyExc_TypeError,
 4499|      0|                      "module name must be a string, got %T", name);
 4500|      0|        return NULL;
 4501|      0|    }
 4502|     11|    if (level < 0) {
  ------------------
  |  Branch (4502:9): [True: 0, False: 11]
  ------------------
 4503|      0|        _PyErr_SetString(tstate, PyExc_ValueError, "level must be >= 0");
 4504|      0|        return NULL;
 4505|      0|    }
 4506|       |
 4507|     11|    PyObject *abs_name = get_abs_name(tstate, name, globals, level);
 4508|     11|    if (abs_name == NULL) {
  ------------------
  |  Branch (4508:9): [True: 0, False: 11]
  ------------------
 4509|      0|        return NULL;
 4510|      0|    }
 4511|       |
 4512|     11|    PyInterpreterState *interp = tstate->interp;
 4513|     11|    _PyInterpreterFrame *frame = _PyEval_GetFrame();
 4514|     11|    if (frame == NULL || frame->f_globals != frame->f_locals) {
  ------------------
  |  Branch (4514:9): [True: 0, False: 11]
  |  Branch (4514:26): [True: 0, False: 11]
  ------------------
 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|        PyErr_SetString(PyExc_SyntaxError,
 4517|      0|                        "'lazy import' is only allowed at module level");
 4518|      0|        return NULL;
 4519|      0|    }
 4520|       |
 4521|       |    // Check if the filter disables the lazy import.
 4522|       |    // We must hold a reference to the filter while calling it to prevent
 4523|       |    // use-after-free if another thread replaces it via
 4524|       |    // PyImport_SetLazyImportsFilter.
 4525|     11|    LAZY_IMPORTS_LOCK(interp);
 4526|     11|    PyObject *filter = Py_XNewRef(LAZY_IMPORTS_FILTER(interp));
  ------------------
  |  |  551|     11|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4527|     11|    LAZY_IMPORTS_UNLOCK(interp);
 4528|       |
 4529|     11|    if (filter != NULL) {
  ------------------
  |  Branch (4529:9): [True: 0, False: 11]
  ------------------
 4530|      0|        PyObject *modname;
 4531|      0|        if (PyDict_GetItemRef(globals, &_Py_ID(__name__), &modname) < 0) {
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4531:13): [True: 0, False: 0]
  ------------------
 4532|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|      0|        if (modname == NULL) {
  ------------------
  |  Branch (4536:13): [True: 0, False: 0]
  ------------------
 4537|      0|            assert(!PyErr_Occurred());
  ------------------
  |  Branch (4537:13): [True: 0, False: 0]
  ------------------
 4538|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4539|      0|        }
 4540|      0|        if (fromlist == NULL) {
  ------------------
  |  Branch (4540:13): [True: 0, False: 0]
  ------------------
 4541|      0|            assert(!PyErr_Occurred());
  ------------------
  |  Branch (4541:13): [True: 0, False: 0]
  ------------------
 4542|      0|            fromlist = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 4543|      0|        }
 4544|      0|        PyObject *args[] = {modname, abs_name, fromlist};
 4545|      0|        PyObject *res = PyObject_Vectorcall(filter, args, 3, NULL);
 4546|       |
 4547|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4548|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4549|       |
 4550|      0|        if (res == NULL) {
  ------------------
  |  Branch (4550:13): [True: 0, False: 0]
  ------------------
 4551|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4552|      0|            return NULL;
 4553|      0|        }
 4554|       |
 4555|      0|        int is_true = PyObject_IsTrue(res);
 4556|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4557|       |
 4558|      0|        if (is_true < 0) {
  ------------------
  |  Branch (4558:13): [True: 0, False: 0]
  ------------------
 4559|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4560|      0|            return NULL;
 4561|      0|        }
 4562|      0|        if (!is_true) {
  ------------------
  |  Branch (4562:13): [True: 0, False: 0]
  ------------------
 4563|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4564|      0|            return PyImport_ImportModuleLevelObject(
 4565|      0|                name, globals, locals, fromlist, level
 4566|      0|            );
 4567|      0|        }
 4568|      0|    }
 4569|       |
 4570|       |    // here, 'filter' is either NULL or is equivalent to a borrowed reference
 4571|     11|    if (fromlist && PyUnicode_Check(fromlist)) {
  ------------------
  |  |  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: 0, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4571:9): [True: 11, False: 0]
  ------------------
 4572|      0|        fromlist = PyTuple_Pack(1, fromlist);
 4573|      0|        if (fromlist == NULL) {
  ------------------
  |  Branch (4573:13): [True: 0, False: 0]
  ------------------
 4574|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4575|      0|            return NULL;
 4576|      0|        }
 4577|      0|    }
 4578|     11|    else {
 4579|     11|        Py_XINCREF(fromlist);
  ------------------
  |  |  514|     11|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4580|     11|    }
 4581|     11|    PyObject *res = _PyLazyImport_New(frame, builtins, abs_name, fromlist);
 4582|     11|    if (res == NULL) {
  ------------------
  |  Branch (4582:9): [True: 0, False: 11]
  ------------------
 4583|      0|        Py_XDECREF(fromlist);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4584|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4585|      0|        return NULL;
 4586|      0|    }
 4587|       |
 4588|       |    // Add the module name to sys.lazy_modules set (PEP 810).
 4589|     11|    PyObject *lazy_modules = LAZY_MODULES(tstate->interp);
  ------------------
  |  |   94|     11|    (interp)->imports.lazy_modules
  ------------------
 4590|     11|    if (PySet_Add(lazy_modules, abs_name) < 0) {
  ------------------
  |  Branch (4590:9): [True: 0, False: 11]
  ------------------
 4591|      0|        goto error;
 4592|      0|    }
 4593|       |
 4594|     11|    if (fromlist && PyTuple_Check(fromlist) && PyTuple_GET_SIZE(fromlist)) {
  ------------------
  |  |   27|     11|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     22|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (fromlist && PyTuple_Check(fromlist) && PyTuple_GET_SIZE(fromlist)) {
  ------------------
  |  |   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 (27:30): [True: 2, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (4594:9): [True: 11, False: 0]
  ------------------
 4595|      4|        for (Py_ssize_t i = 0; i < PyTuple_GET_SIZE(fromlist); i++) {
  ------------------
  |  |   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 (4595:32): [True: 2, False: 2]
  ------------------
 4596|      2|            if (register_from_lazy_on_parent(tstate, abs_name,
  ------------------
  |  Branch (4596:17): [True: 0, False: 2]
  ------------------
 4597|      2|                                             PyTuple_GET_ITEM(fromlist, i)) < 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4597:46): [True: 2, False: 0]
  ------------------
 4598|      0|            {
 4599|      0|                goto error;
 4600|      0|            }
 4601|      2|        }
 4602|      2|    }
 4603|      9|    else if (register_lazy_on_parent(tstate, abs_name) < 0) {
  ------------------
  |  Branch (4603:14): [True: 0, False: 9]
  ------------------
 4604|      0|        goto error;
 4605|      0|    }
 4606|       |
 4607|     11|    Py_XDECREF(fromlist);
  ------------------
  |  |  524|     11|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4608|     11|    Py_DECREF(abs_name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4609|     11|    return res;
 4610|      0|error:
 4611|      0|    Py_XDECREF(fromlist);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4612|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4613|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4614|       |    return NULL;
 4615|     11|}
PyImport_ImportModuleLevel:
 4620|     15|{
 4621|     15|    PyObject *nameobj, *mod;
 4622|     15|    nameobj = PyUnicode_FromString(name);
 4623|     15|    if (nameobj == NULL)
  ------------------
  |  Branch (4623:9): [True: 0, False: 15]
  ------------------
 4624|      0|        return NULL;
 4625|     15|    mod = PyImport_ImportModuleLevelObject(nameobj, globals, locals,
 4626|     15|                                           fromlist, level);
 4627|     15|    Py_DECREF(nameobj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4628|     15|    return mod;
 4629|     15|}
PyImport_Import:
 4668|   356k|{
 4669|   356k|    PyThreadState *tstate = _PyThreadState_GET();
 4670|   356k|    PyObject *globals = NULL;
 4671|   356k|    PyObject *import = NULL;
 4672|   356k|    PyObject *builtins = NULL;
 4673|   356k|    PyObject *r = NULL;
 4674|       |
 4675|   356k|    PyObject *from_list = PyList_New(0);
 4676|   356k|    if (from_list == NULL) {
  ------------------
  |  Branch (4676:9): [True: 0, False: 356k]
  ------------------
 4677|      0|        goto err;
 4678|      0|    }
 4679|       |
 4680|       |    /* Get the builtins from current globals */
 4681|   356k|    globals = PyEval_GetGlobals();  // borrowed
 4682|   356k|    if (globals != NULL) {
  ------------------
  |  Branch (4682:9): [True: 356k, False: 15]
  ------------------
 4683|   356k|        Py_INCREF(globals);
  ------------------
  |  |  310|   356k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   356k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   356k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4684|       |        // XXX Use _PyEval_EnsureBuiltins()?
 4685|   356k|        builtins = PyObject_GetItem(globals, &_Py_ID(__builtins__));
  ------------------
  |  |  920|   356k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   356k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   356k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4686|   356k|        if (builtins == NULL) {
  ------------------
  |  Branch (4686:13): [True: 0, False: 356k]
  ------------------
 4687|       |            // XXX Fall back to interp->builtins or sys.modules['builtins']?
 4688|      0|            goto err;
 4689|      0|        }
 4690|   356k|    }
 4691|     15|    else if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4691:14): [True: 0, False: 15]
  ------------------
 4692|      0|        goto err;
 4693|      0|    }
 4694|     15|    else {
 4695|       |        /* No globals -- use standard builtins, and fake globals */
 4696|     15|        globals = PyDict_New();
 4697|     15|        if (globals == NULL) {
  ------------------
  |  Branch (4697:13): [True: 0, False: 15]
  ------------------
 4698|      0|            goto err;
 4699|      0|        }
 4700|     15|        if (_PyEval_EnsureBuiltinsWithModule(tstate, globals, &builtins) < 0) {
  ------------------
  |  Branch (4700:13): [True: 0, False: 15]
  ------------------
 4701|      0|            goto err;
 4702|      0|        }
 4703|     15|    }
 4704|       |
 4705|       |    /* Get the __import__ function from the builtins */
 4706|   356k|    if (PyDict_Check(builtins)) {
  ------------------
  |  |   18|   356k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   356k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 356k, False: 15]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4707|   356k|        import = PyObject_GetItem(builtins, &_Py_ID(__import__));
  ------------------
  |  |  920|   356k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   356k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   356k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4708|   356k|        if (import == NULL) {
  ------------------
  |  Branch (4708:13): [True: 0, False: 356k]
  ------------------
 4709|      0|            _PyErr_SetObject(tstate, PyExc_KeyError, &_Py_ID(__import__));
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4710|      0|        }
 4711|   356k|    }
 4712|     15|    else
 4713|     15|        import = PyObject_GetAttr(builtins, &_Py_ID(__import__));
  ------------------
  |  |  920|     15|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     15|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     15|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4714|   356k|    if (import == NULL)
  ------------------
  |  Branch (4714:9): [True: 0, False: 356k]
  ------------------
 4715|      0|        goto err;
 4716|       |
 4717|       |    /* Call the __import__ function with the proper argument list
 4718|       |       Always use absolute import here.
 4719|       |       Calling for side-effect of import. */
 4720|   356k|    r = PyObject_CallFunction(import, "OOOOi", module_name, globals,
 4721|   356k|                              globals, from_list, 0, NULL);
 4722|   356k|    if (r == NULL)
  ------------------
  |  Branch (4722:9): [True: 0, False: 356k]
  ------------------
 4723|      0|        goto err;
 4724|   356k|    Py_DECREF(r);
  ------------------
  |  |  430|   356k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   356k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   356k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4725|       |
 4726|   356k|    r = import_get_module(tstate, module_name);
 4727|   356k|    if (r == NULL && !_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4727:9): [True: 0, False: 356k]
  |  Branch (4727:22): [True: 0, False: 0]
  ------------------
 4728|      0|        _PyErr_SetObject(tstate, PyExc_KeyError, module_name);
 4729|      0|    }
 4730|       |
 4731|   356k|  err:
 4732|   356k|    Py_XDECREF(globals);
  ------------------
  |  |  524|   356k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   356k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   356k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4733|   356k|    Py_XDECREF(builtins);
  ------------------
  |  |  524|   356k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   356k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   356k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4734|   356k|    Py_XDECREF(import);
  ------------------
  |  |  524|   356k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   356k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   356k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4735|   356k|    Py_XDECREF(from_list);
  ------------------
  |  |  524|   356k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   356k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   356k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4736|       |
 4737|   356k|    return r;
 4738|   356k|}
_PyImport_Init:
 4747|      2|{
 4748|      2|    if (INITTAB != NULL) {
  ------------------
  |  |   80|      2|#define INITTAB _PyRuntime.imports.inittab
  ------------------
  |  Branch (4748:9): [True: 0, False: 2]
  ------------------
 4749|      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)}
  ------------------
 4750|      0|    }
 4751|      2|    if (init_builtin_modules_table() != 0) {
  ------------------
  |  Branch (4751:9): [True: 0, False: 2]
  ------------------
 4752|      0|        return PyStatus_NoMemory();
 4753|      0|    }
 4754|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4755|      2|}
_PyImport_InitCore:
 4787|      2|{
 4788|       |    // XXX Initialize here: interp->modules and interp->import_func.
 4789|       |    // XXX Initialize here: sys.modules and sys.meta_path.
 4790|       |
 4791|      2|    if (importlib) {
  ------------------
  |  Branch (4791:9): [True: 2, False: 0]
  ------------------
 4792|       |        /* This call sets up builtin and frozen import support */
 4793|      2|        if (init_importlib(tstate, sysmod) < 0) {
  ------------------
  |  Branch (4793:13): [True: 0, False: 2]
  ------------------
 4794|      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)}
  ------------------
 4795|      0|        }
 4796|      2|    }
 4797|       |
 4798|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4799|      2|}
_PyImport_InitExternal:
 4893|      2|{
 4894|      2|    int verbose = _PyInterpreterState_GetConfig(tstate->interp)->verbose;
 4895|       |
 4896|       |    // XXX Initialize here: sys.path_hooks and sys.path_importer_cache.
 4897|       |
 4898|      2|    if (init_importlib_external(tstate->interp) != 0) {
  ------------------
  |  Branch (4898:9): [True: 0, False: 2]
  ------------------
 4899|      0|        _PyErr_Print(tstate);
 4900|      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)}
  ------------------
 4901|      0|    }
 4902|       |
 4903|      2|    if (init_zipimport(tstate, verbose) != 0) {
  ------------------
  |  Branch (4903:9): [True: 0, False: 2]
  ------------------
 4904|      0|        PyErr_Print();
 4905|      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)}
  ------------------
 4906|      0|    }
 4907|       |
 4908|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4909|      2|}
PyImport_ImportModuleAttr:
 4935|     28|{
 4936|     28|    PyObject *mod = PyImport_Import(modname);
 4937|     28|    if (mod == NULL) {
  ------------------
  |  Branch (4937:9): [True: 0, False: 28]
  ------------------
 4938|      0|        return NULL;
 4939|      0|    }
 4940|     28|    PyObject *result = PyObject_GetAttr(mod, attrname);
 4941|     28|    Py_DECREF(mod);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4942|     28|    return result;
 4943|     28|}
PyImport_ImportModuleAttrString:
 4947|     28|{
 4948|     28|    PyObject *pmodname = PyUnicode_FromString(modname);
 4949|     28|    if (pmodname == NULL) {
  ------------------
  |  Branch (4949:9): [True: 0, False: 28]
  ------------------
 4950|      0|        return NULL;
 4951|      0|    }
 4952|     28|    PyObject *pattrname = PyUnicode_FromString(attrname);
 4953|     28|    if (pattrname == NULL) {
  ------------------
  |  Branch (4953:9): [True: 0, False: 28]
  ------------------
 4954|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4955|      0|        return NULL;
 4956|      0|    }
 4957|     28|    PyObject *result = PyImport_ImportModuleAttr(pmodname, pattrname);
 4958|     28|    Py_DECREF(pattrname);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4959|     28|    Py_DECREF(pmodname);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4960|     28|    return result;
 4961|     28|}
PyImport_GetLazyImportsMode:
 5011|    178|{
 5012|    178|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5013|    178|    return FT_ATOMIC_LOAD_INT_RELAXED(LAZY_IMPORTS_MODE(interp));
  ------------------
  |  |  186|    178|#define FT_ATOMIC_LOAD_INT_RELAXED(value) value
  ------------------
 5014|    178|}
PyInit__imp:
 5702|      2|{
 5703|      2|    return PyModuleDef_Init(&imp_module);
 5704|      2|}
import.c:get_modules_dict:
  215|  6.55M|{
  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|  6.55M|    PyObject *modules = MODULES(tstate->interp);
  ------------------
  |  |   90|  6.55M|    (interp)->imports.modules
  ------------------
  222|  6.55M|    if (modules == NULL) {
  ------------------
  |  Branch (222:9): [True: 0, False: 6.55M]
  ------------------
  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|  6.55M|    return modules;
  231|  6.55M|}
import.c:import_get_module:
  258|  6.55M|{
  259|  6.55M|    PyObject *modules = get_modules_dict(tstate, false);
  260|  6.55M|    if (modules == NULL) {
  ------------------
  |  Branch (260:9): [True: 0, False: 6.55M]
  ------------------
  261|      0|        return NULL;
  262|      0|    }
  263|       |
  264|  6.55M|    PyObject *m;
  265|  6.55M|    Py_INCREF(modules);
  ------------------
  |  |  310|  6.55M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  266|  6.55M|    (void)PyMapping_GetOptionalItem(modules, name, &m);
  267|  6.55M|    Py_DECREF(modules);
  ------------------
  |  |  430|  6.55M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  268|  6.55M|    return m;
  269|  6.55M|}
import.c:import_ensure_initialized:
  291|  3.10M|{
  292|  3.10M|    PyObject *spec;
  293|       |
  294|       |    /* Optimization: only call _bootstrap._lock_unlock_module() if
  295|       |       __spec__._initializing is true.
  296|       |       NOTE: because of this, initializing must be set *before*
  297|       |       stuffing the new module in sys.modules.
  298|       |    */
  299|  3.10M|    int rc = PyObject_GetOptionalAttr(mod, &_Py_ID(__spec__), &spec);
  ------------------
  |  |  920|  3.10M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.10M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.10M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  300|  3.10M|    if (rc > 0) {
  ------------------
  |  Branch (300:9): [True: 3.10M, False: 0]
  ------------------
  301|  3.10M|        rc = _PyModuleSpec_IsInitializing(spec);
  302|  3.10M|        Py_DECREF(spec);
  ------------------
  |  |  430|  3.10M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.10M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.10M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  303|  3.10M|    }
  304|  3.10M|    if (rc == 0) {
  ------------------
  |  Branch (304:9): [True: 3.10M, False: 22]
  ------------------
  305|  3.10M|        goto done;
  306|  3.10M|    }
  307|     22|    else if (rc < 0) {
  ------------------
  |  Branch (307:14): [True: 0, False: 22]
  ------------------
  308|      0|        return rc;
  309|      0|    }
  310|       |
  311|       |    /* Wait until module is done importing. */
  312|     22|    PyObject *value = PyObject_CallMethodOneArg(
  313|     22|        IMPORTLIB(interp), &_Py_ID(_lock_unlock_module), name);
  ------------------
  |  |   98|     22|    (interp)->imports.importlib
  ------------------
                      IMPORTLIB(interp), &_Py_ID(_lock_unlock_module), name);
  ------------------
  |  |  920|     22|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     22|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     22|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  314|     22|    if (value == NULL) {
  ------------------
  |  Branch (314:9): [True: 0, False: 22]
  ------------------
  315|      0|        return -1;
  316|      0|    }
  317|     22|    Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  318|       |
  319|  3.10M|done:
  320|       |    /* When -X importtime=2, print an import time entry even if an
  321|       |       imported module has already been loaded.
  322|       |     */
  323|  3.10M|    if (_PyInterpreterState_GetConfig(interp)->import_time == 2) {
  ------------------
  |  Branch (323:9): [True: 0, False: 3.10M]
  ------------------
  324|      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]
  |  |  ------------------
  ------------------
  325|      0|#define import_level FIND_AND_LOAD(interp).import_level
  326|      0|        fprintf(stderr, "import time: cached    | cached     | %*s\n",
  327|      0|                import_level*2, PyUnicode_AsUTF8(name));
  ------------------
  |  |  325|      0|#define import_level FIND_AND_LOAD(interp).import_level
  |  |  ------------------
  |  |  |  |  117|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
  328|      0|#undef import_level
  329|      0|    }
  330|       |
  331|  3.10M|    return 0;
  332|     22|}
import.c:import_add_module:
  401|      6|{
  402|      6|    PyObject *modules = get_modules_dict(tstate, false);
  403|      6|    if (modules == NULL) {
  ------------------
  |  Branch (403:9): [True: 0, False: 6]
  ------------------
  404|      0|        return NULL;
  405|      0|    }
  406|       |
  407|      6|    PyObject *m;
  408|      6|    Py_BEGIN_CRITICAL_SECTION(modules);
  ------------------
  |  |   51|      6|    {
  ------------------
  409|      6|    m = import_add_module_lock_held(modules, name);
  410|      6|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      6|    }
  ------------------
  411|      6|    return m;
  412|      6|}
import.c:import_add_module_lock_held:
  379|      6|{
  380|      6|    PyObject *m;
  381|      6|    if (PyMapping_GetOptionalItem(modules, name, &m) < 0) {
  ------------------
  |  Branch (381:9): [True: 0, False: 6]
  ------------------
  382|      0|        return NULL;
  383|      0|    }
  384|      6|    if (m != NULL && 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 (378:40): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (384:9): [True: 2, False: 4]
  ------------------
  385|      2|        return m;
  386|      2|    }
  387|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  388|      4|    m = PyModule_NewObject(name);
  389|      4|    if (m == NULL)
  ------------------
  |  Branch (389:9): [True: 0, False: 4]
  ------------------
  390|      0|        return NULL;
  391|      4|    if (PyObject_SetItem(modules, name, m) != 0) {
  ------------------
  |  Branch (391:9): [True: 0, False: 4]
  ------------------
  392|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  393|      0|        return NULL;
  394|      0|    }
  395|       |
  396|      4|    return m;
  397|      4|}
import.c:_get_cached_module_index:
 1123|      4|{
 1124|      4|    assert(cached->m_index > 0);
  ------------------
  |  Branch (1124:5): [True: 4, False: 0]
  ------------------
 1125|      4|    return cached->m_index;
 1126|      4|}
import.c:_modules_by_index_set:
  579|      4|{
  580|      4|    assert(index > 0);
  ------------------
  |  Branch (580:5): [True: 4, False: 0]
  ------------------
  581|       |
  582|      4|    if (MODULES_BY_INDEX(interp) == NULL) {
  ------------------
  |  |   92|      4|    (interp)->imports.modules_by_index
  ------------------
  |  Branch (582:9): [True: 2, False: 2]
  ------------------
  583|      2|        MODULES_BY_INDEX(interp) = PyList_New(0);
  ------------------
  |  |   92|      2|    (interp)->imports.modules_by_index
  ------------------
  584|      2|        if (MODULES_BY_INDEX(interp) == NULL) {
  ------------------
  |  |   92|      2|    (interp)->imports.modules_by_index
  ------------------
  |  Branch (584:13): [True: 0, False: 2]
  ------------------
  585|      0|            return -1;
  586|      0|        }
  587|      2|    }
  588|       |
  589|     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 (589:12): [True: 10, False: 4]
  ------------------
  590|     10|        if (PyList_Append(MODULES_BY_INDEX(interp), Py_None) < 0) {
  ------------------
  |  |   92|     10|    (interp)->imports.modules_by_index
  ------------------
                      if (PyList_Append(MODULES_BY_INDEX(interp), Py_None) < 0) {
  ------------------
  |  |  616|     10|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (590:13): [True: 0, False: 10]
  ------------------
  591|      0|            return -1;
  592|      0|        }
  593|     10|    }
  594|       |
  595|      4|    return PyList_SetItem(MODULES_BY_INDEX(interp), index, Py_NewRef(module));
  ------------------
  |  |   92|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  596|      4|}
import.c:switch_to_main_interpreter:
 1667|     35|{
 1668|     35|    if (_Py_IsMainInterpreter(tstate->interp)) {
  ------------------
  |  Branch (1668:9): [True: 35, False: 0]
  ------------------
 1669|     35|        return tstate;
 1670|     35|    }
 1671|      0|    PyThreadState *main_tstate = _PyThreadState_NewBound(
 1672|      0|            _PyInterpreterState_Main(), _PyThreadState_WHENCE_EXEC);
  ------------------
  |  |  109|      0|#  define _PyThreadState_WHENCE_EXEC 5
  ------------------
 1673|      0|    if (main_tstate == NULL) {
  ------------------
  |  Branch (1673:9): [True: 0, False: 0]
  ------------------
 1674|      0|        return NULL;
 1675|      0|    }
 1676|      0|#ifndef NDEBUG
 1677|      0|    PyThreadState *old_tstate = PyThreadState_Swap(main_tstate);
 1678|      0|    assert(old_tstate == tstate);
  ------------------
  |  Branch (1678:5): [True: 0, False: 0]
  ------------------
 1679|       |#else
 1680|       |    (void)PyThreadState_Swap(main_tstate);
 1681|       |#endif
 1682|      0|    return main_tstate;
 1683|      0|}
import.c:extensions_lock_acquire:
 1036|     47|{
 1037|     47|    PyMutex_Lock(&_PyRuntime.imports.extensions.mutex);
  ------------------
  |  |   59|     47|#define PyMutex_Lock _PyMutex_Lock
  ------------------
 1038|     47|}
import.c:_extensions_cache_find_unlocked:
 1385|     47|{
 1386|     47|    if (EXTENSIONS.hashtable == NULL) {
  ------------------
  |  |   82|     47|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
  |  Branch (1386:9): [True: 4, False: 43]
  ------------------
 1387|      4|        return NULL;
 1388|      4|    }
 1389|     43|    void *key = hashtable_key_from_2_strings(path, name, HTSEP);
  ------------------
  |  | 1362|     43|#define HTSEP ':'
  ------------------
 1390|     43|    if (key == NULL) {
  ------------------
  |  Branch (1390:9): [True: 0, False: 43]
  ------------------
 1391|      0|        return NULL;
 1392|      0|    }
 1393|     43|    _Py_hashtable_entry_t *entry =
 1394|     43|            _Py_hashtable_get_entry(EXTENSIONS.hashtable, key);
  ------------------
  |  |   82|     43|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
 1395|     43|    if (p_key != NULL) {
  ------------------
  |  Branch (1395:9): [True: 4, False: 39]
  ------------------
 1396|      4|        *p_key = key;
 1397|      4|    }
 1398|     39|    else {
 1399|     39|        hashtable_destroy_str(key);
 1400|     39|    }
 1401|     43|    return entry;
 1402|     43|}
import.c:hashtable_key_from_2_strings:
 1281|     43|{
 1282|     43|    const char *str1_data = _PyUnicode_AsUTF8NoNUL(str1);
 1283|     43|    const char *str2_data = _PyUnicode_AsUTF8NoNUL(str2);
 1284|     43|    if (str1_data == NULL || str2_data == NULL) {
  ------------------
  |  Branch (1284:9): [True: 0, False: 43]
  |  Branch (1284:30): [True: 0, False: 43]
  ------------------
 1285|      0|        return NULL;
 1286|      0|    }
 1287|     43|    Py_ssize_t str1_len = strlen(str1_data);
 1288|     43|    Py_ssize_t str2_len = strlen(str2_data);
 1289|       |
 1290|       |    /* Make sure sep and the NULL byte won't cause an overflow. */
 1291|     43|    assert(SIZE_MAX - str1_len - str2_len > 2);
  ------------------
  |  Branch (1291:5): [True: 43, False: 0]
  ------------------
 1292|     43|    size_t size = str1_len + 1 + str2_len + 1;
 1293|       |
 1294|       |    // XXX Use a buffer if it's a temp value (every case but "set").
 1295|     43|    char *key = PyMem_RawMalloc(size);
 1296|     43|    if (key == NULL) {
  ------------------
  |  Branch (1296:9): [True: 0, False: 43]
  ------------------
 1297|      0|        PyErr_NoMemory();
 1298|      0|        return NULL;
 1299|      0|    }
 1300|       |
 1301|     43|    memcpy(key, str1_data, str1_len);
 1302|     43|    key[str1_len] = sep;
 1303|     43|    memcpy(key + str1_len + 1, str2_data, str2_len);
 1304|     43|    key[size - 1] = '\0';
 1305|     43|    assert(strlen(key) == size - 1);
  ------------------
  |  Branch (1305:5): [True: 43, False: 0]
  ------------------
 1306|     43|    return key;
 1307|     43|}
import.c:hashtable_destroy_str:
 1323|     39|{
 1324|     39|    PyMem_RawFree(ptr);
 1325|     39|}
import.c:extensions_lock_release:
 1042|     47|{
 1043|     47|    PyMutex_Unlock(&_PyRuntime.imports.extensions.mutex);
  ------------------
  |  |   70|     47|#define PyMutex_Unlock _PyMutex_Unlock
  ------------------
 1044|     47|}
import.c:is_core_module:
 1736|     43|{
 1737|       |    /* This might be called before the core dict copies are in place,
 1738|       |       so we can't rely on get_core_module_dict() here. */
 1739|     43|    if (path == name) {
  ------------------
  |  Branch (1739:9): [True: 41, False: 2]
  ------------------
 1740|     41|        if (PyUnicode_CompareWithASCIIString(name, "sys") == 0) {
  ------------------
  |  Branch (1740:13): [True: 4, False: 37]
  ------------------
 1741|      4|            return 1;
 1742|      4|        }
 1743|     37|        if (PyUnicode_CompareWithASCIIString(name, "builtins") == 0) {
  ------------------
  |  Branch (1743:13): [True: 4, False: 33]
  ------------------
 1744|      4|            return 1;
 1745|      4|        }
 1746|     37|    }
 1747|     35|    return 0;
 1748|     43|}
import.c:_get_extension_kind:
 1753|     39|{
 1754|     39|    _Py_ext_module_kind kind;
 1755|     39|    if (def == NULL) {
  ------------------
  |  Branch (1755:9): [True: 0, False: 39]
  ------------------
 1756|       |        /* It must be a module created by reload_singlephase_extension()
 1757|       |         * from m_copy.  Ideally we'd do away with this case. */
 1758|      0|        kind = _Py_ext_module_kind_SINGLEPHASE;
 1759|      0|    }
 1760|     39|    else if (def->m_slots != NULL) {
  ------------------
  |  Branch (1760:14): [True: 35, False: 4]
  ------------------
 1761|     35|        kind = _Py_ext_module_kind_MULTIPHASE;
 1762|     35|    }
 1763|      4|    else if (check_size && def->m_size == -1) {
  ------------------
  |  Branch (1763:14): [True: 4, False: 0]
  |  Branch (1763:28): [True: 4, False: 0]
  ------------------
 1764|      4|        kind = _Py_ext_module_kind_SINGLEPHASE;
 1765|      4|    }
 1766|      0|    else if (def->m_base.m_init != NULL) {
  ------------------
  |  Branch (1766:14): [True: 0, False: 0]
  ------------------
 1767|      0|        kind = _Py_ext_module_kind_SINGLEPHASE;
 1768|      0|    }
 1769|      0|    else {
 1770|       |        // This is probably single-phase init, but a multi-phase
 1771|       |        // module *can* have NULL m_slots.
 1772|      0|        kind = _Py_ext_module_kind_UNKNOWN;
 1773|      0|    }
 1774|     39|    return kind;
 1775|     39|}
import.c:_extensions_cache_get:
 1407|     43|{
 1408|     43|    struct extensions_cache_value *value = NULL;
 1409|     43|    extensions_lock_acquire();
 1410|       |
 1411|     43|    _Py_hashtable_entry_t *entry =
 1412|     43|            _extensions_cache_find_unlocked(path, name, NULL);
 1413|     43|    if (entry == NULL) {
  ------------------
  |  Branch (1413:9): [True: 43, False: 0]
  ------------------
 1414|       |        /* It was never added. */
 1415|     43|        goto finally;
 1416|     43|    }
 1417|      0|    value = (struct extensions_cache_value *)entry->value;
 1418|       |
 1419|     43|finally:
 1420|     43|    extensions_lock_release();
 1421|     43|    return value;
 1422|      0|}
import.c:update_global_state_for_extension:
 1821|      4|{
 1822|      4|    struct extensions_cache_value *cached = NULL;
 1823|      4|    PyModInitFunction m_init = NULL;
 1824|      4|    PyObject *m_dict = NULL;
 1825|       |
 1826|       |    /* Set up for _extensions_cache_set(). */
 1827|      4|    if (singlephase == NULL) {
  ------------------
  |  Branch (1827:9): [True: 0, False: 4]
  ------------------
 1828|      0|        assert(def->m_base.m_init == NULL);
  ------------------
  |  Branch (1828:9): [True: 0, False: 0]
  ------------------
 1829|      0|        assert(def->m_base.m_copy == NULL);
  ------------------
  |  Branch (1829:9): [True: 0, False: 0]
  ------------------
 1830|      0|    }
 1831|      4|    else {
 1832|      4|        if (singlephase->m_init != NULL) {
  ------------------
  |  Branch (1832:13): [True: 0, False: 4]
  ------------------
 1833|      0|            assert(singlephase->m_dict == NULL);
  ------------------
  |  Branch (1833:13): [True: 0, False: 0]
  ------------------
 1834|      0|            assert(def->m_base.m_copy == NULL);
  ------------------
  |  Branch (1834:13): [True: 0, False: 0]
  ------------------
 1835|      0|            assert(def->m_size >= 0);
  ------------------
  |  Branch (1835:13): [True: 0, False: 0]
  ------------------
 1836|       |            /* Remember pointer to module init function. */
 1837|       |            // XXX If two modules share a def then def->m_base will
 1838|       |            // reflect the last one added (here) to the global cache.
 1839|       |            // We should prevent this somehow.  The simplest solution
 1840|       |            // is probably to store m_copy/m_init in the cache along
 1841|       |            // with the def, rather than within the def.
 1842|      0|            m_init = singlephase->m_init;
 1843|      0|        }
 1844|      4|        else if (singlephase->m_dict == NULL) {
  ------------------
  |  Branch (1844:18): [True: 4, False: 0]
  ------------------
 1845|       |            /* It must be a core builtin module. */
 1846|      4|            assert(is_core_module(tstate->interp, name, path));
  ------------------
  |  Branch (1846:13): [True: 4, False: 0]
  ------------------
 1847|      4|            assert(def->m_size == -1);
  ------------------
  |  Branch (1847:13): [True: 4, False: 0]
  ------------------
 1848|      4|            assert(def->m_base.m_copy == NULL);
  ------------------
  |  Branch (1848:13): [True: 4, False: 0]
  ------------------
 1849|      4|            assert(def->m_base.m_init == NULL);
  ------------------
  |  Branch (1849:13): [True: 4, False: 0]
  ------------------
 1850|      4|        }
 1851|      0|        else {
 1852|      0|            assert(PyDict_Check(singlephase->m_dict));
  ------------------
  |  Branch (1852:13): [True: 0, False: 0]
  ------------------
 1853|       |            // gh-88216: Extensions and def->m_base.m_copy can be updated
 1854|       |            // when the extension module doesn't support sub-interpreters.
 1855|      0|            assert(def->m_size == -1);
  ------------------
  |  Branch (1855:13): [True: 0, False: 0]
  ------------------
 1856|      0|            assert(!is_core_module(tstate->interp, name, path));
  ------------------
  |  Branch (1856:13): [True: 0, False: 0]
  ------------------
 1857|      0|            assert(PyUnicode_CompareWithASCIIString(name, "sys") != 0);
  ------------------
  |  Branch (1857:13): [True: 0, False: 0]
  ------------------
 1858|      0|            assert(PyUnicode_CompareWithASCIIString(name, "builtins") != 0);
  ------------------
  |  Branch (1858:13): [True: 0, False: 0]
  ------------------
 1859|      0|            m_dict = singlephase->m_dict;
 1860|      0|        }
 1861|      4|    }
 1862|       |
 1863|       |    /* Add the module's def to the global cache. */
 1864|       |    // XXX Why special-case the main interpreter?
 1865|      4|    if (_Py_IsMainInterpreter(tstate->interp) || def->m_size == -1) {
  ------------------
  |  Branch (1865:9): [True: 4, False: 0]
  |  Branch (1865:50): [True: 0, False: 0]
  ------------------
 1866|      4|#ifndef NDEBUG
 1867|      4|        cached = _extensions_cache_get(path, name);
 1868|      4|        assert(cached == NULL || cached->def == def);
  ------------------
  |  Branch (1868:9): [True: 4, False: 0]
  |  Branch (1868:9): [True: 0, False: 0]
  ------------------
 1869|      4|#endif
 1870|      4|        cached = _extensions_cache_set(
 1871|      4|                path, name, def, m_init, singlephase->m_index, m_dict,
 1872|      4|                singlephase->origin, singlephase->md_requires_gil);
 1873|      4|        if (cached == NULL) {
  ------------------
  |  Branch (1873:13): [True: 0, False: 4]
  ------------------
 1874|       |            // XXX Ignore this error?  Doing so would effectively
 1875|       |            // mark the module as not loadable.
 1876|      0|            return NULL;
 1877|      0|        }
 1878|      4|    }
 1879|       |
 1880|      4|    return cached;
 1881|      4|}
import.c:_extensions_cache_set:
 1430|      4|{
 1431|      4|    struct extensions_cache_value *value = NULL;
 1432|      4|    void *key = NULL;
 1433|      4|    struct extensions_cache_value *newvalue = NULL;
 1434|      4|    PyModuleDef_Base olddefbase = def->m_base;
 1435|       |
 1436|      4|    assert(def != NULL);
  ------------------
  |  Branch (1436:5): [True: 4, False: 0]
  ------------------
 1437|      4|    assert(m_init == NULL || m_dict == NULL);
  ------------------
  |  Branch (1437:5): [True: 4, False: 0]
  |  Branch (1437:5): [True: 0, False: 0]
  ------------------
 1438|       |    /* We expect the same symbol to be used and the shared object file
 1439|       |     * to have remained loaded, so it must be the same pointer. */
 1440|      4|    assert(def->m_base.m_init == NULL || def->m_base.m_init == m_init);
  ------------------
  |  Branch (1440:5): [True: 4, False: 0]
  |  Branch (1440:5): [True: 0, False: 0]
  ------------------
 1441|       |    /* For now we don't worry about comparing value->m_copy. */
 1442|      4|    assert(def->m_base.m_copy == NULL || m_dict != NULL);
  ------------------
  |  Branch (1442:5): [True: 4, False: 0]
  |  Branch (1442:5): [True: 0, False: 0]
  ------------------
 1443|      4|    assert((origin == _Py_ext_module_origin_DYNAMIC) == (name != path));
  ------------------
  |  Branch (1443:5): [True: 4, False: 0]
  ------------------
 1444|      4|    assert(origin != _Py_ext_module_origin_CORE || m_dict == NULL);
  ------------------
  |  Branch (1444:5): [True: 0, False: 4]
  |  Branch (1444:5): [True: 4, False: 0]
  ------------------
 1445|       |
 1446|      4|    extensions_lock_acquire();
 1447|       |
 1448|      4|    if (EXTENSIONS.hashtable == NULL) {
  ------------------
  |  |   82|      4|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
  |  Branch (1448:9): [True: 2, False: 2]
  ------------------
 1449|      2|        if (_extensions_cache_init() < 0) {
  ------------------
  |  Branch (1449:13): [True: 0, False: 2]
  ------------------
 1450|      0|            goto finally;
 1451|      0|        }
 1452|      2|    }
 1453|       |
 1454|       |    /* Create a cached value to populate for the module. */
 1455|      4|    _Py_hashtable_entry_t *entry =
 1456|      4|            _extensions_cache_find_unlocked(path, name, &key);
 1457|      4|    value = entry == NULL
  ------------------
  |  Branch (1457:13): [True: 4, False: 0]
  ------------------
 1458|      4|        ? NULL
 1459|      4|        : (struct extensions_cache_value *)entry->value;
 1460|      4|    if (value != NULL) {
  ------------------
  |  Branch (1460:9): [True: 0, False: 4]
  ------------------
 1461|       |        /* gh-123880: If there's an existing cache value, it means a module is
 1462|       |         * being imported recursively from its PyInit_* or Py_mod_* function.
 1463|       |         * (That function presumably handles returning a partially
 1464|       |         *  constructed module in such a case.)
 1465|       |         * We can reuse the existing cache value; it is owned by the cache.
 1466|       |         * (Entries get removed from it in exceptional circumstances,
 1467|       |         *  after interpreter shutdown, and in runtime shutdown.)
 1468|       |         */
 1469|      0|        goto finally_oldvalue;
 1470|      0|    }
 1471|      4|    newvalue = alloc_extensions_cache_value();
 1472|      4|    if (newvalue == NULL) {
  ------------------
  |  Branch (1472:9): [True: 0, False: 4]
  ------------------
 1473|      0|        goto finally;
 1474|      0|    }
 1475|       |
 1476|       |    /* Populate the new cache value data. */
 1477|      4|    *newvalue = (struct extensions_cache_value){
 1478|      4|        .def=def,
 1479|      4|        .m_init=m_init,
 1480|      4|        .m_index=m_index,
 1481|       |        /* m_dict is set by set_cached_m_dict(). */
 1482|      4|        .origin=origin,
 1483|       |#ifdef Py_GIL_DISABLED
 1484|       |        .md_requires_gil=requires_gil,
 1485|       |#endif
 1486|      4|    };
 1487|      4|#ifndef Py_GIL_DISABLED
 1488|      4|    (void)requires_gil;
 1489|      4|#endif
 1490|      4|    if (init_cached_m_dict(newvalue, m_dict) < 0) {
  ------------------
  |  Branch (1490:9): [True: 0, False: 4]
  ------------------
 1491|      0|        goto finally;
 1492|      0|    }
 1493|      4|    fixup_cached_def(newvalue);
 1494|       |
 1495|      4|    if (entry == NULL) {
  ------------------
  |  Branch (1495:9): [True: 4, False: 0]
  ------------------
 1496|       |        /* It was never added. */
 1497|      4|        if (_Py_hashtable_set(EXTENSIONS.hashtable, key, newvalue) < 0) {
  ------------------
  |  |   82|      4|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
  |  Branch (1497:13): [True: 0, False: 4]
  ------------------
 1498|      0|            PyErr_NoMemory();
 1499|      0|            goto finally;
 1500|      0|        }
 1501|       |        /* The hashtable owns the key now. */
 1502|      4|        key = NULL;
 1503|      4|    }
 1504|      0|    else if (value == NULL) {
  ------------------
  |  Branch (1504:14): [True: 0, False: 0]
  ------------------
 1505|       |        /* It was previously deleted. */
 1506|      0|        entry->value = newvalue;
 1507|      0|    }
 1508|      0|    else {
 1509|       |        /* We are updating the entry for an existing module. */
 1510|       |        /* We expect def to be static, so it must be the same pointer. */
 1511|      0|        assert(value->def == def);
  ------------------
  |  Branch (1511:9): [True: 0, False: 0]
  ------------------
 1512|       |        /* We expect the same symbol to be used and the shared object file
 1513|       |         * to have remained loaded, so it must be the same pointer. */
 1514|      0|        assert(value->m_init == m_init);
  ------------------
  |  Branch (1514:9): [True: 0, False: 0]
  ------------------
 1515|       |        /* The same module can't switch between caching __dict__ and not. */
 1516|      0|        assert((value->m_dict == NULL) == (m_dict == NULL));
  ------------------
  |  Branch (1516:9): [True: 0, False: 0]
  ------------------
 1517|       |        /* This shouldn't ever happen. */
 1518|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1519|      0|    }
 1520|       |
 1521|      4|    value = newvalue;
 1522|       |
 1523|      4|finally:
 1524|      4|    if (value == NULL) {
  ------------------
  |  Branch (1524:9): [True: 0, False: 4]
  ------------------
 1525|      0|        restore_old_cached_def(def, &olddefbase);
 1526|      0|        if (newvalue != NULL) {
  ------------------
  |  Branch (1526:13): [True: 0, False: 0]
  ------------------
 1527|      0|            del_extensions_cache_value(newvalue);
 1528|      0|        }
 1529|      0|    }
 1530|      4|    else {
 1531|      4|        cleanup_old_cached_def(&olddefbase);
 1532|      4|    }
 1533|       |
 1534|      4|finally_oldvalue:
 1535|      4|    extensions_lock_release();
 1536|      4|    if (key != NULL) {
  ------------------
  |  Branch (1536:9): [True: 0, False: 4]
  ------------------
 1537|      0|        hashtable_destroy_str(key);
 1538|      0|    }
 1539|       |
 1540|      4|    return value;
 1541|      4|}
import.c:_extensions_cache_init:
 1366|      2|{
 1367|      2|    _Py_hashtable_allocator_t alloc = {PyMem_RawMalloc, PyMem_RawFree};
 1368|      2|    EXTENSIONS.hashtable = _Py_hashtable_new_full(
  ------------------
  |  |   82|      2|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
 1369|      2|        hashtable_hash_str,
 1370|      2|        hashtable_compare_str,
 1371|      2|        hashtable_destroy_str,  // key
 1372|      2|        del_extensions_cache_value,  // value
 1373|      2|        &alloc
 1374|      2|    );
 1375|      2|    if (EXTENSIONS.hashtable == NULL) {
  ------------------
  |  |   82|      2|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
  |  Branch (1375:9): [True: 0, False: 2]
  ------------------
 1376|      0|        PyErr_NoMemory();
 1377|      0|        return -1;
 1378|      0|    }
 1379|      2|    return 0;
 1380|      2|}
import.c:hashtable_hash_str:
 1311|     51|{
 1312|     51|    return Py_HashBuffer(key, strlen((const char *)key));
 1313|     51|}
import.c:alloc_extensions_cache_value:
 1104|      4|{
 1105|      4|    struct extensions_cache_value *value
 1106|      4|            = PyMem_RawMalloc(sizeof(struct extensions_cache_value));
 1107|      4|    if (value == NULL) {
  ------------------
  |  Branch (1107:9): [True: 0, False: 4]
  ------------------
 1108|      0|        PyErr_NoMemory();
 1109|      0|        return NULL;
 1110|      0|    }
 1111|      4|    *value = (struct extensions_cache_value){0};
 1112|      4|    return value;
 1113|      4|}
import.c:init_cached_m_dict:
 1191|      4|{
 1192|      4|    assert(value != NULL);
  ------------------
  |  Branch (1192:5): [True: 4, False: 0]
  ------------------
 1193|       |    /* This should only have been called without an m_dict already set. */
 1194|      4|    assert(value->m_dict == NULL);
  ------------------
  |  Branch (1194:5): [True: 4, False: 0]
  ------------------
 1195|      4|    if (m_dict == NULL) {
  ------------------
  |  Branch (1195:9): [True: 4, False: 0]
  ------------------
 1196|      4|        return 0;
 1197|      4|    }
 1198|      4|    assert(PyDict_Check(m_dict));
  ------------------
  |  Branch (1198:5): [True: 0, False: 0]
  ------------------
 1199|      0|    assert(value->origin != _Py_ext_module_origin_CORE);
  ------------------
  |  Branch (1199:5): [True: 0, False: 0]
  ------------------
 1200|       |
 1201|      0|    PyInterpreterState *interp = _PyInterpreterState_GET();
 1202|      0|    assert(!is_interpreter_isolated(interp));
  ------------------
  |  Branch (1202:5): [True: 0, False: 0]
  ------------------
 1203|       |
 1204|       |    /* XXX gh-88216: The copied dict is owned by the current
 1205|       |     * interpreter.  That's a problem if the interpreter has
 1206|       |     * its own obmalloc state or if the module is successfully
 1207|       |     * imported into such an interpreter.  If the interpreter
 1208|       |     * has its own GIL then there may be data races and
 1209|       |     * PyImport_ClearModulesByIndex() can crash.  Normally,
 1210|       |     * a single-phase init module cannot be imported in an
 1211|       |     * isolated interpreter, but there are ways around that.
 1212|       |     * Hence, heere be dragons!  Ideally we would instead do
 1213|       |     * something like make a read-only, immortal copy of the
 1214|       |     * dict using PyMem_RawMalloc() and store *that* in m_copy.
 1215|       |     * Then we'd need to make sure to clear that when the
 1216|       |     * runtime is finalized, rather than in
 1217|       |     * PyImport_ClearModulesByIndex(). */
 1218|      0|    PyObject *copied = PyDict_Copy(m_dict);
 1219|      0|    if (copied == NULL) {
  ------------------
  |  Branch (1219:9): [True: 0, False: 0]
  ------------------
 1220|       |        /* We expect this can only be "out of memory". */
 1221|      0|        return -1;
 1222|      0|    }
 1223|       |    // XXX We may want to make the copy immortal.
 1224|       |
 1225|      0|    value->_m_dict = (struct cached_m_dict){
 1226|      0|        .copied=copied,
 1227|      0|        .interpid=PyInterpreterState_GetID(interp),
 1228|      0|    };
 1229|       |
 1230|      0|    value->m_dict = &value->_m_dict;
 1231|      0|    return 0;
 1232|      0|}
import.c:fixup_cached_def:
 1130|      4|{
 1131|       |    /* For the moment, the values in the def's m_base may belong
 1132|       |     * to another module, and we're replacing them here.  This can
 1133|       |     * cause problems later if the old module is reloaded.
 1134|       |     *
 1135|       |     * Also, we don't decref any old cached values first when we
 1136|       |     * replace them here, in case we need to restore them in the
 1137|       |     * near future.  Instead, the caller is responsible for wrapping
 1138|       |     * this up by calling cleanup_old_cached_def() or
 1139|       |     * restore_old_cached_def() if there was an error. */
 1140|      4|    PyModuleDef *def = value->def;
 1141|      4|    assert(def != NULL);
  ------------------
  |  Branch (1141:5): [True: 4, False: 0]
  ------------------
 1142|       |
 1143|       |    /* We assume that all module defs are statically allocated
 1144|       |       and will never be freed.  Otherwise, we would incref here. */
 1145|      4|    _Py_SetImmortalUntracked((PyObject *)def);
 1146|       |
 1147|      4|    def->m_base.m_init = value->m_init;
 1148|       |
 1149|      4|    assert(value->m_index > 0);
  ------------------
  |  Branch (1149:5): [True: 4, False: 0]
  ------------------
 1150|      4|    _set_module_index(def, value->m_index);
 1151|       |
 1152|       |    /* Different modules can share the same def, so we can't just
 1153|       |     * expect m_copy to be NULL. */
 1154|      4|    assert(def->m_base.m_copy == NULL
  ------------------
  |  Branch (1154:5): [True: 4, False: 0]
  |  Branch (1154:5): [True: 0, False: 0]
  |  Branch (1154:5): [True: 0, False: 0]
  ------------------
 1155|      4|           || def->m_base.m_init == NULL
 1156|      4|           || value->m_dict != NULL);
 1157|      4|    if (value->m_dict != NULL) {
  ------------------
  |  Branch (1157:9): [True: 0, False: 4]
  ------------------
 1158|      0|        assert(value->m_dict->copied != NULL);
  ------------------
  |  Branch (1158:9): [True: 0, False: 0]
  ------------------
 1159|       |        /* As noted above, we don't first decref the old value, if any. */
 1160|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1161|      0|    }
 1162|      4|}
import.c:_set_module_index:
  532|      4|{
  533|      4|    assert(index > 0);
  ------------------
  |  Branch (533:5): [True: 4, False: 0]
  ------------------
  534|      4|    if (index == def->m_base.m_index) {
  ------------------
  |  Branch (534:9): [True: 4, False: 0]
  ------------------
  535|       |        /* There's nothing to do. */
  536|      4|    }
  537|      0|    else if (def->m_base.m_index == 0) {
  ------------------
  |  Branch (537:14): [True: 0, False: 0]
  ------------------
  538|       |        /* It should have been initialized by PyModuleDef_Init().
  539|       |         * We assert here to catch this in dev, but keep going otherwise. */
  540|      0|        assert(def->m_base.m_index != 0);
  ------------------
  |  Branch (540:9): [True: 0, False: 0]
  ------------------
  541|      0|        def->m_base.m_index = index;
  542|      0|    }
  543|      0|    else {
  544|       |        /* It was already set for a different module.
  545|       |         * We replace the old value. */
  546|      0|        assert(def->m_base.m_index > 0);
  ------------------
  |  Branch (546:9): [True: 0, False: 0]
  ------------------
  547|      0|        def->m_base.m_index = index;
  548|      0|    }
  549|      4|}
import.c:cleanup_old_cached_def:
 1172|      4|{
 1173|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1174|      4|}
import.c:finish_singlephase_extension:
 1889|      4|{
 1890|      4|    assert(mod != NULL && PyModule_Check(mod));
  ------------------
  |  Branch (1890:5): [True: 4, False: 0]
  |  Branch (1890:5): [True: 4, False: 0]
  ------------------
 1891|      4|    assert(cached->def == _PyModule_GetDefOrNull(mod));
  ------------------
  |  Branch (1891:5): [True: 4, False: 0]
  ------------------
 1892|       |
 1893|      4|    Py_ssize_t index = _get_cached_module_index(cached);
 1894|      4|    if (_modules_by_index_set(tstate->interp, index, mod) < 0) {
  ------------------
  |  Branch (1894:9): [True: 0, False: 4]
  ------------------
 1895|      0|        return -1;
 1896|      0|    }
 1897|       |
 1898|      4|    if (modules != NULL) {
  ------------------
  |  Branch (1898:9): [True: 4, False: 0]
  ------------------
 1899|      4|        if (PyObject_SetItem(modules, name, mod) < 0) {
  ------------------
  |  Branch (1899:13): [True: 0, False: 4]
  ------------------
 1900|      0|            return -1;
 1901|      0|        }
 1902|      4|    }
 1903|       |
 1904|      4|    return 0;
 1905|      4|}
import.c:create_builtin:
 2489|     33|{
 2490|     33|    struct _Py_ext_module_loader_info info;
 2491|     33|    if (_Py_ext_module_loader_info_init_for_builtin(&info, name) < 0) {
  ------------------
  |  Branch (2491:9): [True: 0, False: 33]
  ------------------
 2492|      0|        return NULL;
 2493|      0|    }
 2494|       |
 2495|     33|    struct extensions_cache_value *cached = NULL;
 2496|     33|    PyObject *mod = import_find_extension(tstate, &info, &cached);
 2497|     33|    if (mod != NULL) {
  ------------------
  |  Branch (2497:9): [True: 0, False: 33]
  ------------------
 2498|      0|        assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (2498:9): [True: 0, False: 0]
  ------------------
 2499|      0|        assert(cached != NULL);
  ------------------
  |  Branch (2499:9): [True: 0, False: 0]
  ------------------
 2500|       |        /* The module might not have md_def set in certain reload cases. */
 2501|      0|        assert(_PyModule_GetDefOrNull(mod) == NULL
  ------------------
  |  Branch (2501:9): [True: 0, False: 0]
  |  Branch (2501:9): [True: 0, False: 0]
  ------------------
 2502|      0|                || cached->def == _PyModule_GetDefOrNull(mod));
 2503|      0|        assert_singlephase(cached);
  ------------------
  |  | 1796|      0|    do {                                                                    \
  |  | 1797|      0|        _Py_ext_module_kind kind = _get_extension_kind(cached->def, true);  \
  |  | 1798|      0|        assert(kind == _Py_ext_module_kind_SINGLEPHASE);                    \
  |  | 1799|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1799:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2503:9): [True: 0, False: 0]
  ------------------
 2504|      0|        goto finally;
 2505|      0|    }
 2506|     33|    else if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2506:14): [True: 0, False: 33]
  ------------------
 2507|      0|        goto finally;
 2508|      0|    }
 2509|       |
 2510|       |    /* If the module was added to the global cache
 2511|       |     * but def->m_base.m_copy was cleared (e.g. subinterp fini)
 2512|       |     * then we have to do a little dance here. */
 2513|     33|    if (cached != NULL) {
  ------------------
  |  Branch (2513:9): [True: 0, False: 33]
  ------------------
 2514|      0|        assert(cached->def->m_base.m_copy == NULL);
  ------------------
  |  Branch (2514:9): [True: 0, False: 0]
  ------------------
 2515|       |        /* For now we clear the cache and move on. */
 2516|      0|        _extensions_cache_delete(info.path, info.name);
 2517|      0|    }
 2518|       |
 2519|     33|    PyModInitFunction p0 = NULL;
 2520|     33|    if (initfunc == NULL) {
  ------------------
  |  Branch (2520:9): [True: 33, False: 0]
  ------------------
 2521|     33|        struct _inittab *entry = lookup_inittab_entry(&info);
 2522|     33|        if (entry == NULL) {
  ------------------
  |  Branch (2522:13): [True: 0, False: 33]
  ------------------
 2523|      0|            mod = NULL;
 2524|      0|            _PyErr_SetModuleNotFoundError(name);
 2525|      0|            goto finally;
 2526|      0|        }
 2527|       |
 2528|     33|        p0 = (PyModInitFunction)entry->initfunc;
 2529|     33|    }
 2530|      0|    else {
 2531|      0|        p0 = initfunc;
 2532|      0|    }
 2533|       |
 2534|     33|    if (p0 == NULL) {
  ------------------
  |  Branch (2534:9): [True: 0, False: 33]
  ------------------
 2535|       |        /* Cannot re-init internal module ("sys" or "builtins") */
 2536|      0|        assert(is_core_module(tstate->interp, info.name, info.path));
  ------------------
  |  Branch (2536:9): [True: 0, False: 0]
  ------------------
 2537|      0|        mod = import_add_module(tstate, info.name);
 2538|      0|        goto finally;
 2539|      0|    }
 2540|       |
 2541|       |
 2542|       |#ifdef Py_GIL_DISABLED
 2543|       |    // This call (and the corresponding call to _PyImport_CheckGILForModule())
 2544|       |    // would ideally be inside import_run_extension(). They are kept in the
 2545|       |    // callers for now because that would complicate the control flow inside
 2546|       |    // import_run_extension(). It should be possible to restructure
 2547|       |    // import_run_extension() to address this.
 2548|       |    _PyEval_EnableGILTransient(tstate);
 2549|       |#endif
 2550|       |    /* Now load it. */
 2551|     33|    mod = import_run_extension(
 2552|     33|                    tstate, p0, &info, spec, get_modules_dict(tstate, true));
 2553|       |#ifdef Py_GIL_DISABLED
 2554|       |    if (_PyImport_CheckGILForModule(mod, info.name) < 0) {
 2555|       |        Py_CLEAR(mod);
 2556|       |        goto finally;
 2557|       |    }
 2558|       |#endif
 2559|       |
 2560|     33|finally:
 2561|     33|    _Py_ext_module_loader_info_clear(&info);
 2562|     33|    return mod;
 2563|     33|}
import.c:import_find_extension:
 2023|     35|{
 2024|       |    /* Only single-phase init modules will be in the cache. */
 2025|     35|    struct extensions_cache_value *cached
 2026|     35|            = _extensions_cache_get(info->path, info->name);
 2027|     35|    if (cached == NULL) {
  ------------------
  |  Branch (2027:9): [True: 35, False: 0]
  ------------------
 2028|     35|        return NULL;
 2029|     35|    }
 2030|     35|    assert(cached->def != NULL);
  ------------------
  |  Branch (2030:5): [True: 0, False: 0]
  ------------------
 2031|      0|    assert_singlephase(cached);
  ------------------
  |  | 1796|      0|    do {                                                                    \
  |  | 1797|      0|        _Py_ext_module_kind kind = _get_extension_kind(cached->def, true);  \
  |  | 1798|      0|        assert(kind == _Py_ext_module_kind_SINGLEPHASE);                    \
  |  | 1799|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1799:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2031:5): [True: 0, False: 0]
  ------------------
 2032|      0|    *p_cached = cached;
 2033|       |
 2034|       |    /* It may have been successfully imported previously
 2035|       |       in an interpreter that allows legacy modules
 2036|       |       but is not allowed in the current interpreter. */
 2037|      0|    const char *name_buf = PyUnicode_AsUTF8(info->name);
 2038|      0|    assert(name_buf != NULL);
  ------------------
  |  Branch (2038:5): [True: 0, False: 0]
  ------------------
 2039|      0|    if (_PyImport_CheckSubinterpIncompatibleExtensionAllowed(name_buf) < 0) {
  ------------------
  |  Branch (2039:9): [True: 0, False: 0]
  ------------------
 2040|      0|        return NULL;
 2041|      0|    }
 2042|       |
 2043|      0|    PyObject *mod = reload_singlephase_extension(tstate, cached, info);
 2044|      0|    if (mod == NULL) {
  ------------------
  |  Branch (2044:9): [True: 0, False: 0]
  ------------------
 2045|      0|        return NULL;
 2046|      0|    }
 2047|       |
 2048|      0|    int verbose = _PyInterpreterState_GetConfig(tstate->interp)->verbose;
 2049|      0|    if (verbose) {
  ------------------
  |  Branch (2049:9): [True: 0, False: 0]
  ------------------
 2050|      0|        PySys_FormatStderr("import %U # previously loaded (%R)\n",
 2051|      0|                           info->name, info->path);
 2052|      0|    }
 2053|       |
 2054|      0|    return mod;
 2055|      0|}
import.c:lookup_inittab_entry:
 2474|     33|{
 2475|    657|    for (struct _inittab *p = INITTAB; p->name != NULL; p++) {
  ------------------
  |  |   80|     33|#define INITTAB _PyRuntime.imports.inittab
  ------------------
  |  Branch (2475:40): [True: 657, False: 0]
  ------------------
 2476|    657|        if (_PyUnicode_EqualToASCIIString(info->name, p->name)) {
  ------------------
  |  Branch (2476:13): [True: 33, False: 624]
  ------------------
 2477|     33|            return p;
 2478|     33|        }
 2479|    657|    }
 2480|       |    // not found
 2481|      0|    return NULL;
 2482|     33|}
import.c:import_run_extension:
 2098|     35|{
 2099|       |    /* Core modules go through _PyImport_FixupBuiltin(). */
 2100|     35|    assert(!is_core_module(tstate->interp, info->name, info->path));
  ------------------
  |  Branch (2100:5): [True: 35, False: 0]
  ------------------
 2101|       |
 2102|     35|    PyObject *mod = NULL;
 2103|     35|    PyModuleDef *def = NULL;
 2104|     35|    struct extensions_cache_value *cached = NULL;
 2105|     35|    const char *name_buf = PyBytes_AS_STRING(info->name_encoded);
  ------------------
  |  |   27|     35|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2106|       |
 2107|       |    /* We cannot know if the module is single-phase init or
 2108|       |     * multi-phase init until after we call its init function. Even
 2109|       |     * in isolated interpreters (that do not support single-phase init),
 2110|       |     * the init function will run without restriction.  For multi-phase
 2111|       |     * init modules that isn't a problem because the init function only
 2112|       |     * runs PyModuleDef_Init() on the module's def and then returns it.
 2113|       |     *
 2114|       |     * However, for single-phase init the module's init function will
 2115|       |     * create the module, create other objects (and allocate other
 2116|       |     * memory), populate it and its module state, and initialize static
 2117|       |     * types.  Some modules store other objects and data in global C
 2118|       |     * variables and register callbacks with the runtime/stdlib or
 2119|       |     * even external libraries (which is part of why we can't just
 2120|       |     * dlclose() the module in the error case).  That's a problem
 2121|       |     * for isolated interpreters since all of the above happens
 2122|       |     * and only then * will the import fail.  Memory will leak,
 2123|       |     * callbacks will still get used, and sometimes there
 2124|       |     * will be crashes (memory access violations
 2125|       |     * and use-after-free).
 2126|       |     *
 2127|       |     * To put it another way, if the module is single-phase init
 2128|       |     * then the import will probably break interpreter isolation
 2129|       |     * and should fail ASAP.  However, the module's init function
 2130|       |     * will still get run.  That means it may still store state
 2131|       |     * in the shared-object/DLL address space (which never gets
 2132|       |     * closed/cleared), including objects (e.g. static types).
 2133|       |     * This is a problem for isolated subinterpreters since each
 2134|       |     * has its own object allocator.  If the loaded shared-object
 2135|       |     * still holds a reference to an object after the corresponding
 2136|       |     * interpreter has finalized then either we must let it leak
 2137|       |     * or else any later use of that object by another interpreter
 2138|       |     * (or across multiple init-fini cycles) will crash the process.
 2139|       |     *
 2140|       |     * To avoid all of that, we make sure the module's init function
 2141|       |     * is always run first with the main interpreter active.  If it was
 2142|       |     * already the main interpreter then we can continue loading the
 2143|       |     * module like normal.  Otherwise, right after the init function,
 2144|       |     * we take care of some import state bookkeeping, switch back
 2145|       |     * to the subinterpreter, check for single-phase init,
 2146|       |     * and then continue loading like normal. */
 2147|       |
 2148|     35|    bool switched = false;
 2149|       |    /* We *could* leave in place a legacy interpreter here
 2150|       |     * (one that shares obmalloc/GIL with main interp),
 2151|       |     * but there isn't a big advantage, we anticipate
 2152|       |     * such interpreters will be increasingly uncommon,
 2153|       |     * and the code is a bit simpler if we always switch
 2154|       |     * to the main interpreter. */
 2155|     35|    PyThreadState *main_tstate = switch_to_main_interpreter(tstate);
 2156|     35|    if (main_tstate == NULL) {
  ------------------
  |  Branch (2156:9): [True: 0, False: 35]
  ------------------
 2157|      0|        return NULL;
 2158|      0|    }
 2159|     35|    else if (main_tstate != tstate) {
  ------------------
  |  Branch (2159:14): [True: 0, False: 35]
  ------------------
 2160|      0|        switched = true;
 2161|       |        /* In the switched case, we could play it safe
 2162|       |         * by getting the main interpreter's import lock here.
 2163|       |         * It's unlikely to matter though. */
 2164|      0|    }
 2165|       |
 2166|     35|    struct _Py_ext_module_loader_result res;
 2167|     35|    int rc = _PyImport_RunModInitFunc(p0, info, &res);
 2168|     35|    bool main_error = false;
 2169|     35|    if (rc < 0) {
  ------------------
  |  Branch (2169:9): [True: 0, False: 35]
  ------------------
 2170|       |        /* We discard res.def. */
 2171|      0|        assert(res.module == NULL);
  ------------------
  |  Branch (2171:9): [True: 0, False: 0]
  ------------------
 2172|      0|    }
 2173|     35|    else {
 2174|     35|        assert(!PyErr_Occurred());
  ------------------
  |  Branch (2174:9): [True: 35, False: 0]
  ------------------
 2175|     35|        assert(res.err == NULL);
  ------------------
  |  Branch (2175:9): [True: 35, False: 0]
  ------------------
 2176|       |
 2177|     35|        mod = res.module;
 2178|     35|        res.module = NULL;
 2179|     35|        def = res.def;
 2180|     35|        assert(def != NULL);
  ------------------
  |  Branch (2180:9): [True: 35, False: 0]
  ------------------
 2181|       |
 2182|       |        /* Do anything else that should be done
 2183|       |         * while still using the main interpreter. */
 2184|     35|        if (res.kind == _Py_ext_module_kind_SINGLEPHASE) {
  ------------------
  |  Branch (2184:13): [True: 0, False: 35]
  ------------------
 2185|       |            /* Remember the filename as the __file__ attribute */
 2186|      0|            if (info->filename != NULL) {
  ------------------
  |  Branch (2186:17): [True: 0, False: 0]
  ------------------
 2187|      0|                PyObject *filename = NULL;
 2188|      0|                if (switched) {
  ------------------
  |  Branch (2188:21): [True: 0, False: 0]
  ------------------
 2189|       |                    // The original filename may be allocated by subinterpreter's
 2190|       |                    // obmalloc, so we create a copy here.
 2191|      0|                    filename = _PyUnicode_Copy(info->filename);
 2192|      0|                    if (filename == NULL) {
  ------------------
  |  Branch (2192:25): [True: 0, False: 0]
  ------------------
 2193|      0|                        main_error = true;
 2194|      0|                        goto main_finally;
 2195|      0|                    }
 2196|      0|                }
 2197|      0|                else {
 2198|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2199|      0|                }
 2200|       |                // XXX There's a refleak somewhere with the filename.
 2201|       |                // Until we can track it down, we immortalize it.
 2202|      0|                PyInterpreterState *interp = _PyInterpreterState_GET();
 2203|      0|                _PyUnicode_InternImmortal(interp, &filename);
 2204|       |
 2205|      0|                if (PyModule_AddObjectRef(mod, "__file__", filename) < 0) {
  ------------------
  |  Branch (2205:21): [True: 0, False: 0]
  ------------------
 2206|      0|                    PyErr_Clear(); /* Not important enough to report */
 2207|      0|                }
 2208|      0|            }
 2209|       |
 2210|       |            /* Update global import state. */
 2211|      0|            assert(def->m_base.m_index != 0);
  ------------------
  |  Branch (2211:13): [True: 0, False: 0]
  ------------------
 2212|      0|            struct singlephase_global_update singlephase = {
 2213|       |                // XXX Modules that share a def should each get their own index,
 2214|       |                // whereas currently they share (which means the per-interpreter
 2215|       |                // cache is less reliable than it should be).
 2216|      0|                .m_index=def->m_base.m_index,
 2217|      0|                .origin=info->origin,
 2218|       |#ifdef Py_GIL_DISABLED
 2219|       |                .md_requires_gil=((PyModuleObject *)mod)->md_requires_gil,
 2220|       |#endif
 2221|      0|            };
 2222|       |            // gh-88216: Extensions and def->m_base.m_copy can be updated
 2223|       |            // when the extension module doesn't support sub-interpreters.
 2224|      0|            if (def->m_size == -1) {
  ------------------
  |  Branch (2224:17): [True: 0, False: 0]
  ------------------
 2225|       |                /* We will reload from m_copy. */
 2226|      0|                assert(def->m_base.m_init == NULL);
  ------------------
  |  Branch (2226:17): [True: 0, False: 0]
  ------------------
 2227|      0|                singlephase.m_dict = PyModule_GetDict(mod);
 2228|      0|                assert(singlephase.m_dict != NULL);
  ------------------
  |  Branch (2228:17): [True: 0, False: 0]
  ------------------
 2229|      0|            }
 2230|      0|            else {
 2231|       |                /* We will reload via the init function. */
 2232|      0|                assert(def->m_size >= 0);
  ------------------
  |  Branch (2232:17): [True: 0, False: 0]
  ------------------
 2233|      0|                assert(def->m_base.m_copy == NULL);
  ------------------
  |  Branch (2233:17): [True: 0, False: 0]
  ------------------
 2234|      0|                singlephase.m_init = p0;
 2235|      0|            }
 2236|      0|            cached = update_global_state_for_extension(
 2237|      0|                    main_tstate, info->path, info->name, def, &singlephase);
 2238|      0|            if (cached == NULL) {
  ------------------
  |  Branch (2238:17): [True: 0, False: 0]
  ------------------
 2239|      0|                assert(PyErr_Occurred());
  ------------------
  |  Branch (2239:17): [True: 0, False: 0]
  ------------------
 2240|      0|                main_error = true;
 2241|      0|                goto main_finally;
 2242|      0|            }
 2243|      0|        }
 2244|     35|    }
 2245|       |
 2246|     35|main_finally:
 2247|     35|    if (rc < 0) {
  ------------------
  |  Branch (2247:9): [True: 0, False: 35]
  ------------------
 2248|      0|        _Py_ext_module_loader_result_apply_error(&res, name_buf);
 2249|      0|    }
 2250|       |
 2251|       |    /* Switch back to the subinterpreter. */
 2252|     35|    if (switched) {
  ------------------
  |  Branch (2252:9): [True: 0, False: 35]
  ------------------
 2253|       |        // gh-144601: The exception object can't be transferred across
 2254|       |        // interpreters. Instead, we print out an unraisable exception, and
 2255|       |        // then raise a different exception for the calling interpreter.
 2256|      0|        if (rc < 0 || main_error) {
  ------------------
  |  Branch (2256:13): [True: 0, False: 0]
  |  Branch (2256:23): [True: 0, False: 0]
  ------------------
 2257|      0|            assert(PyErr_Occurred());
  ------------------
  |  Branch (2257:13): [True: 0, False: 0]
  ------------------
 2258|      0|            PyErr_FormatUnraisable("Exception while importing from subinterpreter");
 2259|      0|        }
 2260|      0|        assert(main_tstate != tstate);
  ------------------
  |  Branch (2260:9): [True: 0, False: 0]
  ------------------
 2261|      0|        switch_back_from_main_interpreter(tstate, main_tstate, mod);
 2262|       |        /* Any module we got from the init function will have to be
 2263|       |         * reloaded in the subinterpreter. */
 2264|      0|        mod = NULL;
 2265|      0|        if (rc < 0 || main_error) {
  ------------------
  |  Branch (2265:13): [True: 0, False: 0]
  |  Branch (2265:23): [True: 0, False: 0]
  ------------------
 2266|      0|            PyErr_SetString(PyExc_ImportError,
 2267|      0|                            "failed to import from subinterpreter due to exception");
 2268|      0|            goto error;
 2269|      0|        }
 2270|      0|    }
 2271|       |
 2272|       |    /*****************************************************************/
 2273|       |    /* At this point we are back to the interpreter we started with. */
 2274|       |    /*****************************************************************/
 2275|       |
 2276|       |    /* Finally we handle the error return from _PyImport_RunModInitFunc(). */
 2277|     35|    if (rc < 0) {
  ------------------
  |  Branch (2277:9): [True: 0, False: 35]
  ------------------
 2278|      0|        goto error;
 2279|      0|    }
 2280|     35|    if (main_error) {
  ------------------
  |  Branch (2280:9): [True: 0, False: 35]
  ------------------
 2281|      0|        goto error;
 2282|      0|    }
 2283|       |
 2284|     35|    if (res.kind == _Py_ext_module_kind_MULTIPHASE) {
  ------------------
  |  Branch (2284:9): [True: 35, False: 0]
  ------------------
 2285|     35|        assert_multiphase_def(def);
  ------------------
  |  | 1781|     35|    do {                                                            \
  |  | 1782|     35|        _Py_ext_module_kind kind = _get_extension_kind(def, false); \
  |  | 1783|     35|        assert(kind == _Py_ext_module_kind_MULTIPHASE               \
  |  | 1784|     35|                /* m_slots can be NULL. */                          \
  |  | 1785|     35|                || kind == _Py_ext_module_kind_UNKNOWN);            \
  |  | 1786|     35|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1786:14): [Folded, False: 35]
  |  |  ------------------
  ------------------
  |  Branch (2285:9): [True: 35, False: 0]
  |  Branch (2285:9): [True: 0, False: 0]
  ------------------
 2286|     35|        assert(mod == NULL);
  ------------------
  |  Branch (2286:9): [True: 35, False: 0]
  ------------------
 2287|       |        /* Note that we cheat a little by not repeating the calls
 2288|       |         * to _PyImport_GetModuleExportHooks() and _PyImport_RunModInitFunc(). */
 2289|     35|        mod = PyModule_FromDefAndSpec(def, spec);
  ------------------
  |  |   80|     35|    PyModule_FromDefAndSpec2((module), (spec), PYTHON_API_VERSION)
  |  |  ------------------
  |  |  |  |   59|     35|#define PYTHON_API_VERSION 1013
  |  |  ------------------
  ------------------
 2290|     35|        if (mod == NULL) {
  ------------------
  |  Branch (2290:13): [True: 0, False: 35]
  ------------------
 2291|      0|            goto error;
 2292|      0|        }
 2293|     35|    }
 2294|      0|    else {
 2295|      0|        assert(res.kind == _Py_ext_module_kind_SINGLEPHASE);
  ------------------
  |  Branch (2295:9): [True: 0, False: 0]
  ------------------
 2296|      0|        assert_singlephase_def(def);
  ------------------
  |  | 1789|      0|    do {                                                            \
  |  | 1790|      0|        _Py_ext_module_kind kind = _get_extension_kind(def, true);  \
  |  | 1791|      0|        assert(kind == _Py_ext_module_kind_SINGLEPHASE              \
  |  | 1792|      0|                || kind == _Py_ext_module_kind_UNKNOWN);            \
  |  | 1793|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1793:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2296:9): [True: 0, False: 0]
  |  Branch (2296:9): [True: 0, False: 0]
  ------------------
 2297|       |
 2298|      0|        if (_PyImport_CheckSubinterpIncompatibleExtensionAllowed(name_buf) < 0) {
  ------------------
  |  Branch (2298:13): [True: 0, False: 0]
  ------------------
 2299|      0|            goto error;
 2300|      0|        }
 2301|      0|        assert(!PyErr_Occurred());
  ------------------
  |  Branch (2301:9): [True: 0, False: 0]
  ------------------
 2302|       |
 2303|      0|        if (switched) {
  ------------------
  |  Branch (2303:13): [True: 0, False: 0]
  ------------------
 2304|       |            /* We switched to the main interpreter to run the init
 2305|       |             * function, so now we will "reload" the module from the
 2306|       |             * cached data using the original subinterpreter. */
 2307|      0|            assert(mod == NULL);
  ------------------
  |  Branch (2307:13): [True: 0, False: 0]
  ------------------
 2308|      0|            mod = reload_singlephase_extension(tstate, cached, info);
 2309|      0|            if (mod == NULL) {
  ------------------
  |  Branch (2309:17): [True: 0, False: 0]
  ------------------
 2310|      0|                goto error;
 2311|      0|            }
 2312|      0|            assert(!PyErr_Occurred());
  ------------------
  |  Branch (2312:13): [True: 0, False: 0]
  ------------------
 2313|      0|            assert(PyModule_Check(mod));
  ------------------
  |  Branch (2313:13): [True: 0, False: 0]
  ------------------
 2314|      0|        }
 2315|      0|        else {
 2316|      0|            assert(mod != NULL);
  ------------------
  |  Branch (2316:13): [True: 0, False: 0]
  ------------------
 2317|      0|            assert(PyModule_Check(mod));
  ------------------
  |  Branch (2317:13): [True: 0, False: 0]
  ------------------
 2318|       |
 2319|       |            /* Update per-interpreter import state. */
 2320|      0|            PyObject *modules = get_modules_dict(tstate, true);
 2321|      0|            if (finish_singlephase_extension(
  ------------------
  |  Branch (2321:17): [True: 0, False: 0]
  ------------------
 2322|      0|                    tstate, mod, cached, info->name, modules) < 0)
 2323|      0|            {
 2324|      0|                goto error;
 2325|      0|            }
 2326|      0|        }
 2327|      0|    }
 2328|       |
 2329|     35|    _Py_ext_module_loader_result_clear(&res);
 2330|     35|    return mod;
 2331|       |
 2332|      0|error:
 2333|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2334|      0|    _Py_ext_module_loader_result_clear(&res);
 2335|       |    return NULL;
 2336|     35|}
import.c:module_dict_for_exec:
 2824|      2|{
 2825|      2|    PyObject *m, *d;
 2826|       |
 2827|      2|    m = import_add_module(tstate, name);
 2828|      2|    if (m == NULL)
  ------------------
  |  Branch (2828:9): [True: 0, False: 2]
  ------------------
 2829|      0|        return NULL;
 2830|       |    /* If the module is being reloaded, we get the old module back
 2831|       |       and re-use its dict to exec the new code. */
 2832|      2|    d = PyModule_GetDict(m);
 2833|      2|    int r = PyDict_Contains(d, &_Py_ID(__builtins__));
  ------------------
  |  |  920|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2834|      2|    if (r == 0) {
  ------------------
  |  Branch (2834:9): [True: 2, False: 0]
  ------------------
 2835|      2|        r = PyDict_SetItem(d, &_Py_ID(__builtins__), PyEval_GetBuiltins());
  ------------------
  |  |  920|      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|    }
 2837|      2|    if (r < 0) {
  ------------------
  |  Branch (2837:9): [True: 0, False: 2]
  ------------------
 2838|      0|        remove_module(tstate, name);
 2839|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2840|      0|        return NULL;
 2841|      0|    }
 2842|       |
 2843|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2844|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2845|      2|    return d;
 2846|      2|}
import.c:exec_code_in_module:
 2851|      2|{
 2852|      2|    PyObject *v, *m;
 2853|       |
 2854|      2|    v = PyEval_EvalCode(code_object, module_dict, module_dict);
 2855|      2|    if (v == NULL) {
  ------------------
  |  Branch (2855:9): [True: 0, False: 2]
  ------------------
 2856|      0|        remove_module(tstate, name);
 2857|      0|        return NULL;
 2858|      0|    }
 2859|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2860|       |
 2861|      2|    m = import_get_module(tstate, name);
 2862|      2|    if (m == NULL && !_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2862:9): [True: 0, False: 2]
  |  Branch (2862:22): [True: 0, False: 0]
  ------------------
 2863|      0|        _PyErr_Format(tstate, PyExc_ImportError,
 2864|      0|                      "Loaded module %R not found in sys.modules",
 2865|      0|                      name);
 2866|      0|    }
 2867|       |
 2868|      2|    return m;
 2869|      2|}
import.c:find_frozen:
 3166|    102|{
 3167|    102|    if (info != NULL) {
  ------------------
  |  Branch (3167:9): [True: 102, False: 0]
  ------------------
 3168|    102|        memset(info, 0, sizeof(*info));
 3169|    102|    }
 3170|       |
 3171|    102|    if (nameobj == NULL || nameobj == Py_None) {
  ------------------
  |  |  616|    102|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3171:9): [True: 0, False: 102]
  |  Branch (3171:28): [True: 0, False: 102]
  ------------------
 3172|      0|        return FROZEN_BAD_NAME;
 3173|      0|    }
 3174|    102|    const char *name = _PyUnicode_AsUTF8NoNUL(nameobj);
 3175|    102|    if (name == NULL) {
  ------------------
  |  Branch (3175:9): [True: 0, False: 102]
  ------------------
 3176|       |        // Note that this function previously used
 3177|       |        // _PyUnicode_EqualToASCIIString().  We clear the error here
 3178|       |        // (instead of propagating it) to match the earlier behavior
 3179|       |        // more closely.
 3180|      0|        PyErr_Clear();
 3181|      0|        return FROZEN_BAD_NAME;
 3182|      0|    }
 3183|       |
 3184|    102|    const struct _frozen *p = look_up_frozen(name);
 3185|    102|    if (p == NULL) {
  ------------------
  |  Branch (3185:9): [True: 32, False: 70]
  ------------------
 3186|     32|        return FROZEN_NOT_FOUND;
 3187|     32|    }
 3188|     70|    if (info != NULL) {
  ------------------
  |  Branch (3188:9): [True: 70, False: 0]
  ------------------
 3189|     70|        info->nameobj = nameobj;  // borrowed
 3190|     70|        info->data = (const char *)p->code;
 3191|     70|        info->size = p->size;
 3192|     70|        info->is_package = p->is_package;
 3193|     70|        if (p->size < 0) {
  ------------------
  |  Branch (3193:13): [True: 0, False: 70]
  ------------------
 3194|       |            // backward compatibility with negative size values
 3195|      0|            info->size = -(p->size);
 3196|      0|            info->is_package = true;
 3197|      0|        }
 3198|     70|        info->origname = name;
 3199|     70|        info->is_alias = resolve_module_alias(name, _PyImport_FrozenAliases,
 3200|     70|                                              &info->origname);
 3201|     70|    }
 3202|     70|    if (p->code == NULL) {
  ------------------
  |  Branch (3202:9): [True: 0, False: 70]
  ------------------
 3203|       |        /* It is frozen but marked as un-importable. */
 3204|      0|        return FROZEN_EXCLUDED;
 3205|      0|    }
 3206|     70|    if (p->code[0] == '\0' || p->size == 0) {
  ------------------
  |  Branch (3206:9): [True: 0, False: 70]
  |  Branch (3206:31): [True: 0, False: 70]
  ------------------
 3207|       |        /* Does not contain executable code. */
 3208|      0|        return FROZEN_INVALID;
 3209|      0|    }
 3210|     70|    return FROZEN_OKAY;
 3211|     70|}
import.c:look_up_frozen:
 3109|    102|{
 3110|    102|    const struct _frozen *p;
 3111|       |    // We always use the bootstrap modules.
 3112|    378|    for (p = _PyImport_FrozenBootstrap; ; p++) {
 3113|    378|        if (p->name == NULL) {
  ------------------
  |  Branch (3113:13): [True: 88, False: 290]
  ------------------
 3114|       |            // We hit the end-of-list sentinel value.
 3115|     88|            break;
 3116|     88|        }
 3117|    290|        if (strcmp(name, p->name) == 0) {
  ------------------
  |  Branch (3117:13): [True: 14, False: 276]
  ------------------
 3118|     14|            return p;
 3119|     14|        }
 3120|    290|    }
 3121|       |    // Prefer custom modules, if any.  Frozen stdlib modules can be
 3122|       |    // disabled here by setting "code" to NULL in the array entry.
 3123|     88|    if (PyImport_FrozenModules != NULL) {
  ------------------
  |  Branch (3123:9): [True: 0, False: 88]
  ------------------
 3124|      0|        for (p = PyImport_FrozenModules; ; p++) {
 3125|      0|            if (p->name == NULL) {
  ------------------
  |  Branch (3125:17): [True: 0, False: 0]
  ------------------
 3126|      0|                break;
 3127|      0|            }
 3128|      0|            if (strcmp(name, p->name) == 0) {
  ------------------
  |  Branch (3128:17): [True: 0, False: 0]
  ------------------
 3129|      0|                return p;
 3130|      0|            }
 3131|      0|        }
 3132|      0|    }
 3133|       |    // Frozen stdlib modules may be disabled.
 3134|     88|    if (use_frozen()) {
  ------------------
  |  Branch (3134:9): [True: 88, False: 0]
  ------------------
 3135|  1.16k|        for (p = _PyImport_FrozenStdlib; ; p++) {
 3136|  1.16k|            if (p->name == NULL) {
  ------------------
  |  Branch (3136:17): [True: 32, False: 1.13k]
  ------------------
 3137|     32|                break;
 3138|     32|            }
 3139|  1.13k|            if (strcmp(name, p->name) == 0) {
  ------------------
  |  Branch (3139:17): [True: 56, False: 1.07k]
  ------------------
 3140|     56|                return p;
 3141|     56|            }
 3142|  1.13k|        }
 3143|    384|        for (p = _PyImport_FrozenTest; ; p++) {
 3144|    384|            if (p->name == NULL) {
  ------------------
  |  Branch (3144:17): [True: 32, False: 352]
  ------------------
 3145|     32|                break;
 3146|     32|            }
 3147|    352|            if (strcmp(name, p->name) == 0) {
  ------------------
  |  Branch (3147:17): [True: 0, False: 352]
  ------------------
 3148|      0|                return p;
 3149|      0|            }
 3150|    352|        }
 3151|     32|    }
 3152|     32|    return NULL;
 3153|     88|}
import.c:use_frozen:
 2968|     88|{
 2969|     88|    PyInterpreterState *interp = _PyInterpreterState_GET();
 2970|     88|    int override = OVERRIDE_FROZEN_MODULES(interp);
  ------------------
  |  |  102|     88|    (interp)->imports.override_frozen_modules
  ------------------
 2971|     88|    if (override > 0) {
  ------------------
  |  Branch (2971:9): [True: 0, False: 88]
  ------------------
 2972|      0|        return true;
 2973|      0|    }
 2974|     88|    else if (override < 0) {
  ------------------
  |  Branch (2974:14): [True: 0, False: 88]
  ------------------
 2975|      0|        return false;
 2976|      0|    }
 2977|     88|    else {
 2978|     88|        return interp->config.use_frozen_modules;
 2979|     88|    }
 2980|     88|}
import.c:resolve_module_alias:
 2950|     70|{
 2951|     70|    const struct _module_alias *entry;
 2952|    554|    for (entry = aliases; ; entry++) {
 2953|    554|        if (entry->name == NULL) {
  ------------------
  |  Branch (2953:13): [True: 60, False: 494]
  ------------------
 2954|       |            /* It isn't an alias. */
 2955|     60|            return false;
 2956|     60|        }
 2957|    494|        if (strcmp(name, entry->name) == 0) {
  ------------------
  |  Branch (2957:13): [True: 10, False: 484]
  ------------------
 2958|     10|            if (alias != NULL) {
  ------------------
  |  Branch (2958:17): [True: 10, False: 0]
  ------------------
 2959|     10|                *alias = entry->orig;
 2960|     10|            }
 2961|       |            return true;
 2962|     10|        }
 2963|    494|    }
 2964|     70|}
import.c:unmarshal_frozen_code:
 3215|     34|{
 3216|     34|    PyObject *co = PyMarshal_ReadObjectFromString(info->data, info->size);
 3217|     34|    if (co == NULL) {
  ------------------
  |  Branch (3217:9): [True: 0, False: 34]
  ------------------
 3218|       |        /* Does not contain executable code. */
 3219|      0|        PyErr_Clear();
 3220|      0|        set_frozen_error(FROZEN_INVALID, info->nameobj);
 3221|      0|        return NULL;
 3222|      0|    }
 3223|     34|    if (!PyCode_Check(co)) {
  ------------------
  |  |  168|     34|#define PyCode_Check(op) Py_IS_TYPE((op), &PyCode_Type)
  |  |  ------------------
  |  |  |  |  215|     34|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3223:9): [True: 0, False: 34]
  ------------------
 3224|       |        // We stick with TypeError for backward compatibility.
 3225|      0|        PyErr_Format(PyExc_TypeError,
 3226|      0|                     "frozen object %R is not a code object",
 3227|      0|                     info->nameobj);
 3228|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3229|      0|        return NULL;
 3230|      0|    }
 3231|     34|    return co;
 3232|     34|}
import.c:remove_importlib_frames:
 3661|      6|{
 3662|      6|    const char *importlib_filename = "<frozen importlib._bootstrap>";
 3663|      6|    const char *external_filename = "<frozen importlib._bootstrap_external>";
 3664|      6|    const char *remove_frames = "_call_with_frames_removed";
 3665|      6|    int always_trim = 0;
 3666|      6|    int in_importlib = 0;
 3667|      6|    PyObject **prev_link, **outer_link = NULL;
 3668|      6|    PyObject *base_tb = NULL;
 3669|       |
 3670|       |    /* Synopsis: if it's an ImportError, we trim all importlib chunks
 3671|       |       from the traceback. We always trim chunks
 3672|       |       which end with a call to "_call_with_frames_removed". */
 3673|       |
 3674|      6|    PyObject *exc = _PyErr_GetRaisedException(tstate);
 3675|      6|    if (exc == NULL || _PyInterpreterState_GetConfig(tstate->interp)->verbose) {
  ------------------
  |  Branch (3675:9): [True: 0, False: 6]
  |  Branch (3675:24): [True: 0, False: 6]
  ------------------
 3676|      0|        goto done;
 3677|      0|    }
 3678|       |
 3679|      6|    if (PyType_IsSubtype(Py_TYPE(exc), (PyTypeObject *) PyExc_ImportError)) {
  ------------------
  |  |  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 (3679:9): [True: 6, False: 0]
  ------------------
 3680|      6|        always_trim = 1;
 3681|      6|    }
 3682|       |
 3683|      6|    assert(PyExceptionInstance_Check(exc));
  ------------------
  |  Branch (3683:5): [True: 6, False: 0]
  ------------------
 3684|      6|    base_tb = PyException_GetTraceback(exc);
 3685|      6|    prev_link = &base_tb;
 3686|      6|    PyObject *tb = base_tb;
 3687|     18|    while (tb != NULL) {
  ------------------
  |  Branch (3687:12): [True: 12, False: 6]
  ------------------
 3688|     12|        assert(PyTraceBack_Check(tb));
  ------------------
  |  Branch (3688:9): [True: 12, False: 0]
  ------------------
 3689|     12|        PyTracebackObject *traceback = (PyTracebackObject *)tb;
 3690|     12|        PyObject *next = (PyObject *) traceback->tb_next;
 3691|     12|        PyFrameObject *frame = traceback->tb_frame;
 3692|     12|        PyCodeObject *code = PyFrame_GetCode(frame);
 3693|     12|        int now_in_importlib;
 3694|       |
 3695|     12|        now_in_importlib = _PyUnicode_EqualToASCIIString(code->co_filename, importlib_filename) ||
  ------------------
  |  Branch (3695:28): [True: 12, False: 0]
  ------------------
 3696|      0|                           _PyUnicode_EqualToASCIIString(code->co_filename, external_filename);
  ------------------
  |  Branch (3696:28): [True: 0, False: 0]
  ------------------
 3697|     12|        if (now_in_importlib && !in_importlib) {
  ------------------
  |  Branch (3697:13): [True: 12, False: 0]
  |  Branch (3697:33): [True: 6, False: 6]
  ------------------
 3698|       |            /* This is the link to this chunk of importlib tracebacks */
 3699|      6|            outer_link = prev_link;
 3700|      6|        }
 3701|     12|        in_importlib = now_in_importlib;
 3702|       |
 3703|     12|        if (in_importlib &&
  ------------------
  |  Branch (3703:13): [True: 12, False: 0]
  ------------------
 3704|     12|            (always_trim ||
  ------------------
  |  Branch (3704:14): [True: 12, False: 0]
  ------------------
 3705|     12|             _PyUnicode_EqualToASCIIString(code->co_name, remove_frames))) {
  ------------------
  |  Branch (3705:14): [True: 0, False: 0]
  ------------------
 3706|     12|            Py_XSETREF(*outer_link, Py_XNewRef(next));
  ------------------
  |  |  374|     12|    do { \
  |  |  375|     12|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     12|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|     12|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     12|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|     12|        *_tmp_dst_ptr = (src); \
  |  |  378|     12|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|     12|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 12]
  |  |  ------------------
  ------------------
 3707|     12|            prev_link = outer_link;
 3708|     12|        }
 3709|      0|        else {
 3710|      0|            prev_link = (PyObject **) &traceback->tb_next;
 3711|      0|        }
 3712|     12|        Py_DECREF(code);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3713|     12|        tb = next;
 3714|     12|    }
 3715|      6|    if (base_tb == NULL) {
  ------------------
  |  Branch (3715:9): [True: 6, False: 0]
  ------------------
 3716|      6|        base_tb = Py_None;
  ------------------
  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3717|      6|        Py_INCREF(Py_None);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3718|      6|    }
 3719|      6|    PyException_SetTraceback(exc, base_tb);
 3720|      6|done:
 3721|      6|    Py_XDECREF(base_tb);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3722|      6|    _PyErr_SetRaisedException(tstate, exc);
 3723|      6|}
import.c:resolve_name:
 3728|     12|{
 3729|     12|    PyObject *abs_name;
 3730|     12|    PyObject *package = NULL;
 3731|     12|    PyObject *spec = NULL;
 3732|     12|    Py_ssize_t last_dot;
 3733|     12|    PyObject *base;
 3734|     12|    int level_up;
 3735|       |
 3736|     12|    if (globals == NULL) {
  ------------------
  |  Branch (3736:9): [True: 0, False: 12]
  ------------------
 3737|      0|        _PyErr_SetString(tstate, PyExc_KeyError, "'__name__' not in globals");
 3738|      0|        goto error;
 3739|      0|    }
 3740|     12|    if (!PyAnyDict_Check(globals)) {
  ------------------
  |  |   43|     12|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|     12|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     24|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 12, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3741|      0|        _PyErr_SetString(tstate, PyExc_TypeError,
 3742|      0|                         "globals must be a dict or a frozendict");
 3743|      0|        goto error;
 3744|      0|    }
 3745|     12|    if (PyDict_GetItemRef(globals, &_Py_ID(__package__), &package) < 0) {
  ------------------
  |  |  920|     12|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     12|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     12|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3745:9): [True: 0, False: 12]
  ------------------
 3746|      0|        goto error;
 3747|      0|    }
 3748|     12|    if (package == Py_None) {
  ------------------
  |  |  616|     12|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3748:9): [True: 0, False: 12]
  ------------------
 3749|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3750|      0|        package = NULL;
 3751|      0|    }
 3752|     12|    if (PyDict_GetItemRef(globals, &_Py_ID(__spec__), &spec) < 0) {
  ------------------
  |  |  920|     12|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     12|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     12|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3752:9): [True: 0, False: 12]
  ------------------
 3753|      0|        goto error;
 3754|      0|    }
 3755|       |
 3756|     12|    if (package != NULL) {
  ------------------
  |  Branch (3756:9): [True: 12, False: 0]
  ------------------
 3757|     12|        if (!PyUnicode_Check(package)) {
  ------------------
  |  |  103|     12|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     12|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3757:13): [True: 0, False: 12]
  ------------------
 3758|      0|            _PyErr_SetString(tstate, PyExc_TypeError,
 3759|      0|                             "package must be a string");
 3760|      0|            goto error;
 3761|      0|        }
 3762|     12|        else if (spec != NULL && spec != Py_None) {
  ------------------
  |  |  616|     12|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3762:18): [True: 12, False: 0]
  |  Branch (3762:34): [True: 12, False: 0]
  ------------------
 3763|     12|            int equal;
 3764|     12|            PyObject *parent = PyObject_GetAttr(spec, &_Py_ID(parent));
  ------------------
  |  |  920|     12|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     12|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     12|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3765|     12|            if (parent == NULL) {
  ------------------
  |  Branch (3765:17): [True: 0, False: 12]
  ------------------
 3766|      0|                goto error;
 3767|      0|            }
 3768|       |
 3769|     12|            equal = PyObject_RichCompareBool(package, parent, Py_EQ);
  ------------------
  |  |  654|     12|#define Py_EQ 2
  ------------------
 3770|     12|            Py_DECREF(parent);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3771|     12|            if (equal < 0) {
  ------------------
  |  Branch (3771:17): [True: 0, False: 12]
  ------------------
 3772|      0|                goto error;
 3773|      0|            }
 3774|     12|            else if (equal == 0) {
  ------------------
  |  Branch (3774:22): [True: 0, False: 12]
  ------------------
 3775|      0|                if (PyErr_WarnEx(PyExc_DeprecationWarning,
  ------------------
  |  Branch (3775:21): [True: 0, False: 0]
  ------------------
 3776|      0|                        "__package__ != __spec__.parent", 1) < 0) {
 3777|      0|                    goto error;
 3778|      0|                }
 3779|      0|            }
 3780|     12|        }
 3781|     12|    }
 3782|      0|    else if (spec != NULL && spec != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3782:14): [True: 0, False: 0]
  |  Branch (3782:30): [True: 0, False: 0]
  ------------------
 3783|      0|        package = PyObject_GetAttr(spec, &_Py_ID(parent));
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3784|      0|        if (package == NULL) {
  ------------------
  |  Branch (3784:13): [True: 0, False: 0]
  ------------------
 3785|      0|            goto error;
 3786|      0|        }
 3787|      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 (3787:18): [True: 0, False: 0]
  ------------------
 3788|      0|            _PyErr_SetString(tstate, PyExc_TypeError,
 3789|      0|                             "__spec__.parent must be a string");
 3790|      0|            goto error;
 3791|      0|        }
 3792|      0|    }
 3793|      0|    else {
 3794|      0|        if (PyErr_WarnEx(PyExc_ImportWarning,
  ------------------
  |  Branch (3794:13): [True: 0, False: 0]
  ------------------
 3795|      0|                    "can't resolve package from __spec__ or __package__, "
 3796|      0|                    "falling back on __name__ and __path__", 1) < 0) {
 3797|      0|            goto error;
 3798|      0|        }
 3799|       |
 3800|      0|        if (PyDict_GetItemRef(globals, &_Py_ID(__name__), &package) < 0) {
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3800:13): [True: 0, False: 0]
  ------------------
 3801|      0|            goto error;
 3802|      0|        }
 3803|      0|        if (package == NULL) {
  ------------------
  |  Branch (3803:13): [True: 0, False: 0]
  ------------------
 3804|      0|            _PyErr_SetString(tstate, PyExc_KeyError,
 3805|      0|                             "'__name__' not in globals");
 3806|      0|            goto error;
 3807|      0|        }
 3808|       |
 3809|      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 (3809:13): [True: 0, False: 0]
  ------------------
 3810|      0|            _PyErr_SetString(tstate, PyExc_TypeError,
 3811|      0|                             "__name__ must be a string");
 3812|      0|            goto error;
 3813|      0|        }
 3814|       |
 3815|      0|        int haspath = PyDict_Contains(globals, &_Py_ID(__path__));
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3816|      0|        if (haspath < 0) {
  ------------------
  |  Branch (3816:13): [True: 0, False: 0]
  ------------------
 3817|      0|            goto error;
 3818|      0|        }
 3819|      0|        if (!haspath) {
  ------------------
  |  Branch (3819:13): [True: 0, False: 0]
  ------------------
 3820|      0|            Py_ssize_t dot;
 3821|       |
 3822|      0|            dot = PyUnicode_FindChar(package, '.',
 3823|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3824|      0|            if (dot == -2) {
  ------------------
  |  Branch (3824:17): [True: 0, False: 0]
  ------------------
 3825|      0|                goto error;
 3826|      0|            }
 3827|      0|            else if (dot == -1) {
  ------------------
  |  Branch (3827:22): [True: 0, False: 0]
  ------------------
 3828|      0|                goto no_parent_error;
 3829|      0|            }
 3830|      0|            PyObject *substr = PyUnicode_Substring(package, 0, dot);
 3831|      0|            if (substr == NULL) {
  ------------------
  |  Branch (3831:17): [True: 0, False: 0]
  ------------------
 3832|      0|                goto error;
 3833|      0|            }
 3834|      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]
  |  |  ------------------
  ------------------
 3835|      0|        }
 3836|      0|    }
 3837|       |
 3838|     12|    last_dot = PyUnicode_GET_LENGTH(package);
  ------------------
  |  |  299|     12|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3839|     12|    if (last_dot == 0) {
  ------------------
  |  Branch (3839:9): [True: 0, False: 12]
  ------------------
 3840|      0|        goto no_parent_error;
 3841|      0|    }
 3842|       |
 3843|     12|    for (level_up = 1; level_up < level; level_up += 1) {
  ------------------
  |  Branch (3843:24): [True: 0, False: 12]
  ------------------
 3844|      0|        last_dot = PyUnicode_FindChar(package, '.', 0, last_dot, -1);
 3845|      0|        if (last_dot == -2) {
  ------------------
  |  Branch (3845:13): [True: 0, False: 0]
  ------------------
 3846|      0|            goto error;
 3847|      0|        }
 3848|      0|        else if (last_dot == -1) {
  ------------------
  |  Branch (3848:18): [True: 0, False: 0]
  ------------------
 3849|      0|            _PyErr_SetString(tstate, PyExc_ImportError,
 3850|      0|                             "attempted relative import beyond top-level "
 3851|      0|                             "package");
 3852|      0|            goto error;
 3853|      0|        }
 3854|      0|    }
 3855|       |
 3856|     12|    Py_XDECREF(spec);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3857|     12|    base = PyUnicode_Substring(package, 0, last_dot);
 3858|     12|    Py_DECREF(package);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3859|     12|    if (base == NULL || PyUnicode_GET_LENGTH(name) == 0) {
  ------------------
  |  |  299|     12|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3859:9): [True: 0, False: 12]
  |  Branch (3859:25): [True: 5, False: 7]
  ------------------
 3860|      5|        return base;
 3861|      5|    }
 3862|       |
 3863|      7|    abs_name = PyUnicode_FromFormat("%U.%U", base, name);
 3864|      7|    Py_DECREF(base);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3865|      7|    return abs_name;
 3866|       |
 3867|      0|  no_parent_error:
 3868|      0|    _PyErr_SetString(tstate, PyExc_ImportError,
 3869|      0|                     "attempted relative import "
 3870|      0|                     "with no known parent package");
 3871|       |
 3872|      0|  error:
 3873|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3874|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3875|       |    return NULL;
 3876|      0|}
import.c:get_abs_name:
 4162|  2.03M|{
 4163|  2.03M|    if (level > 0) {
  ------------------
  |  Branch (4163:9): [True: 12, False: 2.03M]
  ------------------
 4164|     12|        return resolve_name(tstate, name, globals, level);
 4165|     12|    }
 4166|  2.03M|    if (PyUnicode_GET_LENGTH(name) == 0) {
  ------------------
  |  |  299|  2.03M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.03M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.03M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4166:9): [True: 0, False: 2.03M]
  ------------------
 4167|      0|        _PyErr_SetString(tstate, PyExc_ValueError, "Empty module name");
 4168|      0|        return NULL;
 4169|      0|    }
 4170|  2.03M|    return Py_NewRef(name);
  ------------------
  |  |  550|  2.03M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.03M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.03M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4171|  2.03M|}
import.c:import_find_and_load:
 4107|     89|{
 4108|     89|    PyObject *mod = NULL;
 4109|     89|    PyInterpreterState *interp = tstate->interp;
 4110|     89|    int import_time = _PyInterpreterState_GetConfig(interp)->import_time;
 4111|     89|#define import_level FIND_AND_LOAD(interp).import_level
 4112|     89|#define accumulated FIND_AND_LOAD(interp).accumulated
 4113|       |
 4114|     89|    PyTime_t t1 = 0, accumulated_copy = accumulated;
  ------------------
  |  | 4112|     89|#define accumulated FIND_AND_LOAD(interp).accumulated
  |  |  ------------------
  |  |  |  |  117|     89|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 4115|       |
 4116|       |    /* XOptions is initialized after first some imports.
 4117|       |     * So we can't have negative cache before completed initialization.
 4118|       |     * Anyway, importlib._find_and_load is much slower than
 4119|       |     * _PyDict_GetItemIdWithError().
 4120|       |     */
 4121|     89|    if (import_time) {
  ------------------
  |  Branch (4121:9): [True: 0, False: 89]
  ------------------
 4122|      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]
  |  |  ------------------
  ------------------
 4123|       |
 4124|      0|        import_level++;
  ------------------
  |  | 4111|      0|#define import_level FIND_AND_LOAD(interp).import_level
  |  |  ------------------
  |  |  |  |  117|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 4125|       |        // ignore error: don't block import if reading the clock fails
 4126|      0|        (void)PyTime_PerfCounterRaw(&t1);
 4127|      0|        accumulated = 0;
  ------------------
  |  | 4112|      0|#define accumulated FIND_AND_LOAD(interp).accumulated
  |  |  ------------------
  |  |  |  |  117|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 4128|      0|    }
 4129|       |
 4130|     89|    if (PyDTrace_IMPORT_FIND_LOAD_START_ENABLED())
  ------------------
  |  Branch (4130:9): [True: 0, False: 89]
  ------------------
 4131|      0|        PyDTrace_IMPORT_FIND_LOAD_START(PyUnicode_AsUTF8(abs_name));
 4132|       |
 4133|     89|    mod = PyObject_CallMethodObjArgs(IMPORTLIB(interp), &_Py_ID(_find_and_load),
  ------------------
  |  |   98|     89|    (interp)->imports.importlib
  ------------------
                  mod = PyObject_CallMethodObjArgs(IMPORTLIB(interp), &_Py_ID(_find_and_load),
  ------------------
  |  |  920|     89|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     89|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     89|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4134|     89|                                     abs_name, IMPORT_FUNC(interp), NULL);
  ------------------
  |  |  108|     89|    (interp)->imports.import_func
  ------------------
 4135|       |
 4136|     89|    if (PyDTrace_IMPORT_FIND_LOAD_DONE_ENABLED())
  ------------------
  |  Branch (4136:9): [True: 0, False: 89]
  ------------------
 4137|      0|        PyDTrace_IMPORT_FIND_LOAD_DONE(PyUnicode_AsUTF8(abs_name),
 4138|      0|                                       mod != NULL);
 4139|       |
 4140|     89|    if (import_time) {
  ------------------
  |  Branch (4140:9): [True: 0, False: 89]
  ------------------
 4141|      0|        PyTime_t t2;
 4142|      0|        (void)PyTime_PerfCounterRaw(&t2);
 4143|      0|        PyTime_t cum = t2 - t1;
 4144|       |
 4145|      0|        import_level--;
  ------------------
  |  | 4111|      0|#define import_level FIND_AND_LOAD(interp).import_level
  |  |  ------------------
  |  |  |  |  117|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 4146|      0|        fprintf(stderr, "import time: %9ld | %10ld | %*s%s\n",
 4147|      0|                (long)_PyTime_AsMicroseconds(cum - accumulated, _PyTime_ROUND_CEILING),
  ------------------
  |  | 4112|      0|#define accumulated FIND_AND_LOAD(interp).accumulated
  |  |  ------------------
  |  |  |  |  117|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 4148|      0|                (long)_PyTime_AsMicroseconds(cum, _PyTime_ROUND_CEILING),
 4149|      0|                import_level*2, "", PyUnicode_AsUTF8(abs_name));
  ------------------
  |  | 4111|      0|#define import_level FIND_AND_LOAD(interp).import_level
  |  |  ------------------
  |  |  |  |  117|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 4150|       |
 4151|      0|        accumulated = accumulated_copy + cum;
  ------------------
  |  | 4112|      0|#define accumulated FIND_AND_LOAD(interp).accumulated
  |  |  ------------------
  |  |  |  |  117|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 4152|      0|    }
 4153|       |
 4154|     89|    return mod;
 4155|     89|#undef import_level
 4156|     89|#undef accumulated
 4157|     89|}
import.c:register_from_lazy_on_parent:
 4424|      2|{
 4425|      2|    PyObject *fromname = PyUnicode_FromFormat("%U.%U", abs_name, from);
 4426|      2|    if (fromname == NULL) {
  ------------------
  |  Branch (4426:9): [True: 0, False: 2]
  ------------------
 4427|      0|        return -1;
 4428|      0|    }
 4429|       |
 4430|       |    // Add the module name to sys.lazy_modules set (PEP 810).
 4431|      2|    PyObject *lazy_modules = LAZY_MODULES(tstate->interp);
  ------------------
  |  |   94|      2|    (interp)->imports.lazy_modules
  ------------------
 4432|      2|    if (PySet_Add(lazy_modules, fromname) < 0) {
  ------------------
  |  Branch (4432:9): [True: 0, False: 2]
  ------------------
 4433|      0|        Py_DECREF(fromname);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4434|      0|        return -1;
 4435|      0|    }
 4436|       |
 4437|      2|    int res = register_lazy_on_parent(tstate, fromname);
 4438|      2|    Py_DECREF(fromname);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4439|      2|    return res;
 4440|      2|}
import.c:register_lazy_on_parent:
 4365|     11|{
 4366|     11|    int ret = -1;
 4367|     11|    PyObject *parent = NULL;
 4368|     11|    PyObject *child = NULL;
 4369|       |
 4370|     11|    PyInterpreterState *interp = tstate->interp;
 4371|     11|    PyObject *lazy_pending_submodules = LAZY_PENDING_SUBMODULES(interp);
  ------------------
  |  |   96|     11|    (interp)->imports.lazy_pending_submodules
  ------------------
 4372|     11|    assert(lazy_pending_submodules != NULL);
  ------------------
  |  Branch (4372:5): [True: 11, False: 0]
  ------------------
 4373|       |
 4374|     11|    Py_INCREF(name);
  ------------------
  |  |  310|     11|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4375|     13|    while (true) {
  ------------------
  |  Branch (4375:12): [True: 13, Folded]
  ------------------
 4376|     13|        Py_ssize_t dot = PyUnicode_FindChar(name, '.', 0,
 4377|     13|                                            PyUnicode_GET_LENGTH(name), -1);
  ------------------
  |  |  299|     13|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4378|     13|        if (dot < 0) {
  ------------------
  |  Branch (4378:13): [True: 11, False: 2]
  ------------------
 4379|     11|            PyObject *lazy_submodules = ensure_lazy_pending_submodules(
 4380|     11|                (PyDictObject *)lazy_pending_submodules, name);
 4381|     11|            if (lazy_submodules == NULL) {
  ------------------
  |  Branch (4381:17): [True: 0, False: 11]
  ------------------
 4382|      0|                goto done;
 4383|      0|            }
 4384|     11|            Py_DECREF(lazy_submodules);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4385|     11|            ret = 0;
 4386|     11|            goto done;
 4387|     11|        }
 4388|      2|        parent = PyUnicode_Substring(name, 0, dot);
 4389|      2|        if (parent == NULL) {
  ------------------
  |  Branch (4389:13): [True: 0, False: 2]
  ------------------
 4390|      0|            goto done;
 4391|      0|        }
 4392|      2|        Py_XDECREF(child);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4393|      2|        child = PyUnicode_Substring(name, dot + 1, PyUnicode_GET_LENGTH(name));
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4394|      2|        if (child == NULL) {
  ------------------
  |  Branch (4394:13): [True: 0, False: 2]
  ------------------
 4395|      0|            goto done;
 4396|      0|        }
 4397|       |
 4398|      2|        PyObject *lazy_submodules = ensure_lazy_pending_submodules(
 4399|      2|            (PyDictObject *)lazy_pending_submodules, parent);
 4400|      2|        if (lazy_submodules == NULL) {
  ------------------
  |  Branch (4400:13): [True: 0, False: 2]
  ------------------
 4401|      0|            goto done;
 4402|      0|        }
 4403|       |
 4404|      2|        if (PySet_Add(lazy_submodules, child) < 0) {
  ------------------
  |  Branch (4404:13): [True: 0, False: 2]
  ------------------
 4405|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4406|      0|            goto done;
 4407|      0|        }
 4408|      2|        Py_DECREF(lazy_submodules);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) 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|       |
 4410|      2|        Py_SETREF(name, parent);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 4411|      2|        parent = NULL;
 4412|      2|    }
 4413|       |
 4414|     11|done:
 4415|     11|    Py_XDECREF(child);
  ------------------
  |  |  524|     11|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4416|     11|    Py_XDECREF(parent);
  ------------------
  |  |  524|     11|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4417|     11|    Py_XDECREF(name);
  ------------------
  |  |  524|     11|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4418|     11|    return ret;
 4419|     11|}
import.c:ensure_lazy_pending_submodules:
 4341|     13|{
 4342|     13|    PyObject *lazy_submodules;
 4343|     13|    Py_BEGIN_CRITICAL_SECTION(lazy_modules);
  ------------------
  |  |   51|     13|    {
  ------------------
 4344|     13|    int err = _PyDict_GetItemRef_Unicode_LockHeld(lazy_modules, parent,
 4345|     13|                                                  &lazy_submodules);
 4346|     13|    if (err == 0) {
  ------------------
  |  Branch (4346:9): [True: 11, False: 2]
  ------------------
 4347|       |        // value isn't present
 4348|     11|        lazy_submodules = PySet_New(NULL);
 4349|     11|        if (lazy_submodules != NULL &&
  ------------------
  |  Branch (4349:13): [True: 11, False: 0]
  ------------------
 4350|     11|            _PyDict_SetItem_LockHeld(lazy_modules, parent,
  ------------------
  |  Branch (4350:13): [True: 0, False: 11]
  ------------------
 4351|     11|                                     lazy_submodules) < 0) {
 4352|      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]
  |  |  ------------------
  ------------------
 4353|      0|        }
 4354|     11|    }
 4355|     13|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     13|    }
  ------------------
 4356|     13|    return lazy_submodules;
 4357|     13|}
import.c:init_builtin_modules_table:
 2671|      2|{
 2672|      2|    size_t size;
 2673|     78|    for (size = 0; PyImport_Inittab[size].name != NULL; size++)
  ------------------
  |  Branch (2673:20): [True: 76, False: 2]
  ------------------
 2674|     76|        ;
 2675|      2|    size++;
 2676|       |
 2677|       |    /* Make the copy. */
 2678|      2|    struct _inittab *copied = _PyMem_DefaultRawMalloc(size * sizeof(struct _inittab));
 2679|      2|    if (copied == NULL) {
  ------------------
  |  Branch (2679:9): [True: 0, False: 2]
  ------------------
 2680|      0|        return -1;
 2681|      0|    }
 2682|      2|    memcpy(copied, PyImport_Inittab, size * sizeof(struct _inittab));
 2683|      2|    INITTAB = copied;
  ------------------
  |  |   80|      2|#define INITTAB _PyRuntime.imports.inittab
  ------------------
 2684|      2|    return 0;
 2685|      2|}
import.c:init_importlib:
 3394|      2|{
 3395|      2|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (3395:5): [True: 2, False: 0]
  ------------------
 3396|       |
 3397|      2|    PyInterpreterState *interp = tstate->interp;
 3398|      2|    int verbose = _PyInterpreterState_GetConfig(interp)->verbose;
 3399|       |
 3400|       |    // Import _importlib through its frozen version, _frozen_importlib.
 3401|      2|    if (verbose) {
  ------------------
  |  Branch (3401:9): [True: 0, False: 2]
  ------------------
 3402|      0|        PySys_FormatStderr("import _frozen_importlib # frozen\n");
 3403|      0|    }
 3404|      2|    if (PyImport_ImportFrozenModule("_frozen_importlib") <= 0) {
  ------------------
  |  Branch (3404:9): [True: 0, False: 2]
  ------------------
 3405|      0|        return -1;
 3406|      0|    }
 3407|       |
 3408|      2|    PyObject *importlib = PyImport_AddModuleRef("_frozen_importlib");
 3409|      2|    if (importlib == NULL) {
  ------------------
  |  Branch (3409:9): [True: 0, False: 2]
  ------------------
 3410|      0|        return -1;
 3411|      0|    }
 3412|      2|    IMPORTLIB(interp) = importlib;
  ------------------
  |  |   98|      2|    (interp)->imports.importlib
  ------------------
 3413|       |
 3414|       |    // Import the _imp module
 3415|      2|    if (verbose) {
  ------------------
  |  Branch (3415:9): [True: 0, False: 2]
  ------------------
 3416|      0|        PySys_FormatStderr("import _imp # builtin\n");
 3417|      0|    }
 3418|      2|    PyObject *imp_mod = bootstrap_imp(tstate);
 3419|      2|    if (imp_mod == NULL) {
  ------------------
  |  Branch (3419:9): [True: 0, False: 2]
  ------------------
 3420|      0|        return -1;
 3421|      0|    }
 3422|      2|    if (_PyImport_SetModuleString("_imp", imp_mod) < 0) {
  ------------------
  |  Branch (3422:9): [True: 0, False: 2]
  ------------------
 3423|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3424|      0|        return -1;
 3425|      0|    }
 3426|       |
 3427|       |    // Install importlib as the implementation of import
 3428|      2|    PyObject *value = PyObject_CallMethod(importlib, "_install",
 3429|      2|                                          "OO", sysmod, imp_mod);
 3430|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3431|      2|    if (value == NULL) {
  ------------------
  |  Branch (3431:9): [True: 0, False: 2]
  ------------------
 3432|      0|        return -1;
 3433|      0|    }
 3434|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3435|       |
 3436|      2|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (3436:5): [True: 2, False: 0]
  ------------------
 3437|      2|    return 0;
 3438|      2|}
import.c:bootstrap_imp:
 3340|      2|{
 3341|      2|    PyObject *name = PyUnicode_FromString("_imp");
 3342|      2|    if (name == NULL) {
  ------------------
  |  Branch (3342:9): [True: 0, False: 2]
  ------------------
 3343|      0|        return NULL;
 3344|      0|    }
 3345|       |
 3346|       |    // Mock a ModuleSpec object just good enough for PyModule_FromDefAndSpec():
 3347|       |    // an object with just a name attribute.
 3348|       |    //
 3349|       |    // _imp.__spec__ is overridden by importlib._bootstrap._instal() anyway.
 3350|      2|    PyObject *attrs = Py_BuildValue("{sO}", "name", name);
 3351|      2|    if (attrs == NULL) {
  ------------------
  |  Branch (3351:9): [True: 0, False: 2]
  ------------------
 3352|      0|        goto error;
 3353|      0|    }
 3354|      2|    PyObject *spec = _PyNamespace_New(attrs);
 3355|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3356|      2|    if (spec == NULL) {
  ------------------
  |  Branch (3356:9): [True: 0, False: 2]
  ------------------
 3357|      0|        goto error;
 3358|      0|    }
 3359|       |
 3360|       |    // Create the _imp module from its definition.
 3361|      2|    PyObject *mod = create_builtin(tstate, name, spec, NULL);
 3362|      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]
  |  |  ------------------
  ------------------
 3363|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3364|      2|    if (mod == NULL) {
  ------------------
  |  Branch (3364:9): [True: 0, False: 2]
  ------------------
 3365|      0|        goto error;
 3366|      0|    }
 3367|      2|    assert(mod != Py_None);  // not found
  ------------------
  |  Branch (3367:5): [True: 2, False: 0]
  ------------------
 3368|       |
 3369|       |    // Execute the _imp module: call imp_module_exec().
 3370|      2|    if (exec_builtin_or_dynamic(mod) < 0) {
  ------------------
  |  Branch (3370:9): [True: 0, False: 2]
  ------------------
 3371|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3372|      0|        goto error;
 3373|      0|    }
 3374|      2|    return mod;
 3375|       |
 3376|      0|error:
 3377|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3378|       |    return NULL;
 3379|      2|}
import.c:exec_builtin_or_dynamic:
  924|     35|exec_builtin_or_dynamic(PyObject *mod) {
  925|     35|    void *state;
  926|       |
  927|     35|    if (!PyModule_Check(mod)) {
  ------------------
  |  |   12|     35|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|     35|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (927:9): [True: 0, False: 35]
  ------------------
  928|      0|        return 0;
  929|      0|    }
  930|       |
  931|     35|    state = PyModule_GetState(mod);
  932|     35|    if (state) {
  ------------------
  |  Branch (932:9): [True: 0, False: 35]
  ------------------
  933|       |        /* Already initialized; skip reload */
  934|      0|        return 0;
  935|      0|    }
  936|       |
  937|     35|    return PyModule_Exec(mod);
  938|     35|}
import.c:init_importlib_external:
 3443|      2|{
 3444|      2|    PyObject *value;
 3445|      2|    value = PyObject_CallMethod(IMPORTLIB(interp),
  ------------------
  |  |   98|      2|    (interp)->imports.importlib
  ------------------
 3446|      2|                                "_install_external_importers", "");
 3447|      2|    if (value == NULL) {
  ------------------
  |  Branch (3447:9): [True: 0, False: 2]
  ------------------
 3448|      0|        return -1;
 3449|      0|    }
 3450|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3451|      2|    return 0;
 3452|      2|}
import.c:init_zipimport:
 4857|      2|{
 4858|      2|    PyObject *path_hooks = PySys_GetAttrString("path_hooks");
 4859|      2|    if (path_hooks == NULL) {
  ------------------
  |  Branch (4859:9): [True: 0, False: 2]
  ------------------
 4860|      0|        return -1;
 4861|      0|    }
 4862|       |
 4863|      2|    if (verbose) {
  ------------------
  |  Branch (4863:9): [True: 0, False: 2]
  ------------------
 4864|      0|        PySys_WriteStderr("# installing zipimport hook\n");
 4865|      0|    }
 4866|       |
 4867|      2|    PyObject *zipimporter = PyImport_ImportModuleAttrString("zipimport", "zipimporter");
 4868|      2|    if (zipimporter == NULL) {
  ------------------
  |  Branch (4868:9): [True: 0, False: 2]
  ------------------
 4869|      0|        _PyErr_Clear(tstate); /* No zipimporter object -- okay */
 4870|      0|        if (verbose) {
  ------------------
  |  Branch (4870:13): [True: 0, False: 0]
  ------------------
 4871|      0|            PySys_WriteStderr("# can't import zipimport.zipimporter\n");
 4872|      0|        }
 4873|      0|    }
 4874|      2|    else {
 4875|       |        /* sys.path_hooks.insert(0, zipimporter) */
 4876|      2|        int err = PyList_Insert(path_hooks, 0, zipimporter);
 4877|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4878|      2|        if (err < 0) {
  ------------------
  |  Branch (4878:13): [True: 0, False: 2]
  ------------------
 4879|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4880|      0|            return -1;
 4881|      0|        }
 4882|      2|        if (verbose) {
  ------------------
  |  Branch (4882:13): [True: 0, False: 2]
  ------------------
 4883|      0|            PySys_WriteStderr("# installed zipimport hook\n");
 4884|      0|        }
 4885|      2|    }
 4886|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4887|       |
 4888|      2|    return 0;
 4889|      2|}
import.c:_imp_extension_suffixes_impl:
 5152|      4|{
 5153|      4|    PyObject *list;
 5154|       |
 5155|      4|    list = PyList_New(0);
 5156|      4|    if (list == NULL)
  ------------------
  |  Branch (5156:9): [True: 0, False: 4]
  ------------------
 5157|      0|        return NULL;
 5158|      4|#ifdef HAVE_DYNAMIC_LOADING
 5159|      4|    const char *suffix;
 5160|      4|    unsigned int index = 0;
 5161|       |
 5162|     20|    while ((suffix = _PyImport_DynLoadFiletab[index])) {
  ------------------
  |  Branch (5162:12): [True: 16, False: 4]
  ------------------
 5163|     16|        PyObject *item = PyUnicode_FromString(suffix);
 5164|     16|        if (item == NULL) {
  ------------------
  |  Branch (5164:13): [True: 0, False: 16]
  ------------------
 5165|      0|            Py_DECREF(list);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5166|      0|            return NULL;
 5167|      0|        }
 5168|     16|        if (PyList_Append(list, item) < 0) {
  ------------------
  |  Branch (5168:13): [True: 0, False: 16]
  ------------------
 5169|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5170|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5171|      0|            return NULL;
 5172|      0|        }
 5173|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5174|     16|        index += 1;
 5175|     16|    }
 5176|      4|#endif
 5177|      4|    return list;
 5178|      4|}
import.c:_imp_acquire_lock_impl:
 5049|    394|{
 5050|    394|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5051|    394|    _PyImport_AcquireLock(interp);
 5052|    394|    Py_RETURN_NONE;
  ------------------
  |  |  628|    394|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    394|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5053|    394|}
import.c:_imp_release_lock_impl:
 5066|    394|{
 5067|    394|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5068|    394|    if (!_PyRecursiveMutex_IsLockedByCurrentThread(&IMPORT_LOCK(interp))) {
  ------------------
  |  |  114|    394|    (interp)->imports.lock
  ------------------
  |  Branch (5068:9): [True: 0, False: 394]
  ------------------
 5069|      0|        PyErr_SetString(PyExc_RuntimeError,
 5070|      0|                        "not holding the import lock");
 5071|      0|        return NULL;
 5072|      0|    }
 5073|    394|    _PyImport_ReleaseLock(interp);
 5074|    394|    Py_RETURN_NONE;
  ------------------
  |  |  628|    394|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    394|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5075|    394|}
import.c:_imp_find_frozen_impl:
 5228|     64|{
 5229|     64|    struct frozen_info info;
 5230|     64|    frozen_status status = find_frozen(name, &info);
 5231|     64|    if (status == FROZEN_NOT_FOUND || status == FROZEN_DISABLED) {
  ------------------
  |  Branch (5231:9): [True: 32, False: 32]
  |  Branch (5231:39): [True: 0, False: 32]
  ------------------
 5232|     32|        Py_RETURN_NONE;
  ------------------
  |  |  628|     32|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     32|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5233|     32|    }
 5234|     32|    else if (status == FROZEN_BAD_NAME) {
  ------------------
  |  Branch (5234:14): [True: 0, False: 32]
  ------------------
 5235|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5236|      0|    }
 5237|     32|    else if (status != FROZEN_OKAY) {
  ------------------
  |  Branch (5237:14): [True: 0, False: 32]
  ------------------
 5238|      0|        set_frozen_error(status, name);
 5239|      0|        return NULL;
 5240|      0|    }
 5241|       |
 5242|     32|    PyObject *data = NULL;
 5243|     32|    if (withdata) {
  ------------------
  |  Branch (5243:9): [True: 0, False: 32]
  ------------------
 5244|      0|        data = PyMemoryView_FromMemory((char *)info.data, info.size, PyBUF_READ);
  ------------------
  |  |  137|      0|#define PyBUF_READ  0x100
  ------------------
 5245|      0|        if (data == NULL) {
  ------------------
  |  Branch (5245:13): [True: 0, False: 0]
  ------------------
 5246|      0|            return NULL;
 5247|      0|        }
 5248|      0|    }
 5249|       |
 5250|     32|    PyObject *origname = NULL;
 5251|     32|    if (info.origname != NULL && info.origname[0] != '\0') {
  ------------------
  |  Branch (5251:9): [True: 32, False: 0]
  |  Branch (5251:34): [True: 32, False: 0]
  ------------------
 5252|     32|        origname = PyUnicode_FromString(info.origname);
 5253|     32|        if (origname == NULL) {
  ------------------
  |  Branch (5253:13): [True: 0, False: 32]
  ------------------
 5254|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5255|      0|            return NULL;
 5256|      0|        }
 5257|     32|    }
 5258|       |
 5259|     32|    PyObject *result = PyTuple_Pack(3, data ? data : Py_None,
  ------------------
  |  |  616|     32|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5259:40): [True: 0, False: 32]
  ------------------
 5260|     32|                                    info.is_package ? Py_True : Py_False,
  ------------------
  |  |   26|     32|#  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|     32|#  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5260:37): [True: 2, False: 30]
  ------------------
 5261|     32|                                    origname ? origname : Py_None);
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5261:37): [True: 32, False: 0]
  ------------------
 5262|     32|    Py_XDECREF(origname);
  ------------------
  |  |  524|     32|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5263|     32|    Py_XDECREF(data);
  ------------------
  |  |  524|     32|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5264|     32|    return result;
 5265|     32|}
import.c:_imp_get_frozen_object_impl:
 5281|     32|{
 5282|     32|    struct frozen_info info = {0};
 5283|     32|    Py_buffer buf = {0};
 5284|     32|    if (PyObject_CheckBuffer(dataobj)) {
  ------------------
  |  Branch (5284:9): [True: 0, False: 32]
  ------------------
 5285|      0|        if (PyObject_GetBuffer(dataobj, &buf, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (5285:13): [True: 0, False: 0]
  ------------------
 5286|      0|            return NULL;
 5287|      0|        }
 5288|      0|        info.data = (const char *)buf.buf;
 5289|      0|        info.size = buf.len;
 5290|      0|    }
 5291|     32|    else if (dataobj != Py_None) {
  ------------------
  |  |  616|     32|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5291:14): [True: 0, False: 32]
  ------------------
 5292|      0|        _PyArg_BadArgument("get_frozen_object", "argument 2", "bytes", dataobj);
 5293|      0|        return NULL;
 5294|      0|    }
 5295|     32|    else {
 5296|     32|        frozen_status status = find_frozen(name, &info);
 5297|     32|        if (status != FROZEN_OKAY) {
  ------------------
  |  Branch (5297:13): [True: 0, False: 32]
  ------------------
 5298|      0|            set_frozen_error(status, name);
 5299|      0|            return NULL;
 5300|      0|        }
 5301|     32|    }
 5302|       |
 5303|     32|    if (info.nameobj == NULL) {
  ------------------
  |  Branch (5303:9): [True: 0, False: 32]
  ------------------
 5304|      0|        info.nameobj = name;
 5305|      0|    }
 5306|     32|    if (info.size == 0) {
  ------------------
  |  Branch (5306:9): [True: 0, False: 32]
  ------------------
 5307|       |        /* Does not contain executable code. */
 5308|      0|        set_frozen_error(FROZEN_INVALID, name);
 5309|      0|        return NULL;
 5310|      0|    }
 5311|       |
 5312|     32|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5313|     32|    PyObject *codeobj = unmarshal_frozen_code(interp, &info);
 5314|     32|    if (dataobj != Py_None) {
  ------------------
  |  |  616|     32|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5314:9): [True: 0, False: 32]
  ------------------
 5315|      0|        PyBuffer_Release(&buf);
 5316|      0|    }
 5317|     32|    return codeobj;
 5318|     32|}
import.c:_imp_is_frozen_package_impl:
 5332|      2|{
 5333|      2|    struct frozen_info info;
 5334|      2|    frozen_status status = find_frozen(name, &info);
 5335|      2|    if (status != FROZEN_OKAY && status != FROZEN_EXCLUDED) {
  ------------------
  |  Branch (5335:9): [True: 0, False: 2]
  |  Branch (5335:34): [True: 0, False: 0]
  ------------------
 5336|      0|        set_frozen_error(status, name);
 5337|      0|        return NULL;
 5338|      0|    }
 5339|      2|    return PyBool_FromLong(info.is_package);
 5340|      2|}
import.c:_imp_create_builtin:
 5115|     31|{
 5116|     31|    PyThreadState *tstate = _PyThreadState_GET();
 5117|       |
 5118|     31|    PyObject *name = PyObject_GetAttrString(spec, "name");
 5119|     31|    if (name == NULL) {
  ------------------
  |  Branch (5119:9): [True: 0, False: 31]
  ------------------
 5120|      0|        return NULL;
 5121|      0|    }
 5122|       |
 5123|     31|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|     31|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     31|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (5123:9): [True: 0, False: 31]
  ------------------
 5124|      0|        PyErr_Format(PyExc_TypeError,
 5125|      0|                     "name must be string, not %.200s",
 5126|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5127|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5128|      0|        return NULL;
 5129|      0|    }
 5130|       |
 5131|     31|    if (PyUnicode_GetLength(name) == 0) {
  ------------------
  |  Branch (5131:9): [True: 0, False: 31]
  ------------------
 5132|      0|        PyErr_Format(PyExc_ValueError, "name must not be empty");
 5133|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5134|      0|        return NULL;
 5135|      0|    }
 5136|       |
 5137|     31|    PyObject *mod = create_builtin(tstate, name, spec, NULL);
 5138|     31|    Py_DECREF(name);
  ------------------
  |  |  430|     31|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5139|     31|    return mod;
 5140|     31|}
import.c:_imp_is_builtin_impl:
 5354|     95|{
 5355|     95|    return PyLong_FromLong(is_builtin(name));
 5356|     95|}
import.c:is_builtin:
 2458|     95|{
 2459|     95|    int i;
 2460|     95|    struct _inittab *inittab = INITTAB;
  ------------------
  |  |   80|     95|#define INITTAB _PyRuntime.imports.inittab
  ------------------
 2461|  3.09k|    for (i = 0; inittab[i].name != NULL; i++) {
  ------------------
  |  Branch (2461:17): [True: 3.02k, False: 64]
  ------------------
 2462|  3.02k|        if (_PyUnicode_EqualToASCIIString(name, inittab[i].name)) {
  ------------------
  |  Branch (2462:13): [True: 31, False: 2.99k]
  ------------------
 2463|     31|            if (inittab[i].initfunc == NULL)
  ------------------
  |  Branch (2463:17): [True: 0, False: 31]
  ------------------
 2464|      0|                return -1;
 2465|     31|            else
 2466|     31|                return 1;
 2467|     31|        }
 2468|  3.02k|    }
 2469|     64|    return 0;
 2470|     95|}
import.c:_imp_is_frozen_impl:
 5370|      2|{
 5371|      2|    struct frozen_info info;
 5372|      2|    frozen_status status = find_frozen(name, &info);
 5373|      2|    if (status != FROZEN_OKAY) {
  ------------------
  |  Branch (5373:9): [True: 0, False: 2]
  ------------------
 5374|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5375|      0|    }
 5376|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5377|      2|}
import.c:_imp_create_dynamic_impl:
 5464|      2|{
 5465|      2|    FILE *fp = NULL;
 5466|      2|    PyObject *mod = NULL;
 5467|      2|    PyThreadState *tstate = _PyThreadState_GET();
 5468|       |
 5469|      2|    struct _Py_ext_module_loader_info info;
 5470|      2|    if (_Py_ext_module_loader_info_init_from_spec(&info, spec) < 0) {
  ------------------
  |  Branch (5470:9): [True: 0, False: 2]
  ------------------
 5471|      0|        return NULL;
 5472|      0|    }
 5473|       |
 5474|      2|    struct extensions_cache_value *cached = NULL;
 5475|      2|    mod = import_find_extension(tstate, &info, &cached);
 5476|      2|    if (mod != NULL) {
  ------------------
  |  Branch (5476:9): [True: 0, False: 2]
  ------------------
 5477|      0|        assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (5477:9): [True: 0, False: 0]
  ------------------
 5478|      0|        assert(cached != NULL);
  ------------------
  |  Branch (5478:9): [True: 0, False: 0]
  ------------------
 5479|       |        /* The module might not have md_def set in certain reload cases. */
 5480|      0|        assert(_PyModule_GetDefOrNull(mod) == NULL
  ------------------
  |  Branch (5480:9): [True: 0, False: 0]
  |  Branch (5480:9): [True: 0, False: 0]
  ------------------
 5481|      0|                || cached->def == _PyModule_GetDefOrNull(mod));
 5482|      0|        assert_singlephase(cached);
  ------------------
  |  | 1796|      0|    do {                                                                    \
  |  | 1797|      0|        _Py_ext_module_kind kind = _get_extension_kind(cached->def, true);  \
  |  | 1798|      0|        assert(kind == _Py_ext_module_kind_SINGLEPHASE);                    \
  |  | 1799|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1799:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (5482:9): [True: 0, False: 0]
  ------------------
 5483|      0|        goto finally;
 5484|      0|    }
 5485|      2|    else if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (5485:14): [True: 0, False: 2]
  ------------------
 5486|      0|        goto finally;
 5487|      0|    }
 5488|       |    /* Otherwise it must be multi-phase init or the first time it's loaded. */
 5489|       |
 5490|       |    /* If the module was added to the global cache
 5491|       |     * but def->m_base.m_copy was cleared (e.g. subinterp fini)
 5492|       |     * then we have to do a little dance here. */
 5493|      2|    if (cached != NULL) {
  ------------------
  |  Branch (5493:9): [True: 0, False: 2]
  ------------------
 5494|      0|        assert(cached->def->m_base.m_copy == NULL);
  ------------------
  |  Branch (5494:9): [True: 0, False: 0]
  ------------------
 5495|       |        /* For now we clear the cache and move on. */
 5496|      0|        _extensions_cache_delete(info.path, info.name);
 5497|      0|    }
 5498|       |
 5499|      2|    if (PySys_Audit("import", "OOOOO", info.name, info.filename,
  ------------------
  |  Branch (5499:9): [True: 0, False: 2]
  ------------------
 5500|      2|                    Py_None, Py_None, Py_None) < 0)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
                                  Py_None, Py_None, Py_None) < 0)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
                                  Py_None, Py_None, Py_None) < 0)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 5501|      0|    {
 5502|      0|        goto finally;
 5503|      0|    }
 5504|       |
 5505|       |    /* We would move this (and the fclose() below) into
 5506|       |     * _PyImport_GetModuleExportHooks(), but it isn't clear if the intervening
 5507|       |     * code relies on fp still being open. */
 5508|      2|    if (file != NULL) {
  ------------------
  |  Branch (5508:9): [True: 0, False: 2]
  ------------------
 5509|      0|        fp = Py_fopen(info.filename, "r");
 5510|      0|        if (fp == NULL) {
  ------------------
  |  Branch (5510:13): [True: 0, False: 0]
  ------------------
 5511|      0|            goto finally;
 5512|      0|        }
 5513|      0|    }
 5514|       |
 5515|      2|    PyModInitFunction p0 = NULL;
 5516|      2|    PyModExportFunction ex0 = NULL;
 5517|      2|    _PyImport_GetModuleExportHooks(&info, fp, &p0, &ex0);
 5518|      2|    if (ex0) {
  ------------------
  |  Branch (5518:9): [True: 0, False: 2]
  ------------------
 5519|      0|        mod = import_run_modexport(tstate, ex0, &info, spec);
 5520|       |        // Modules created from slots handle GIL enablement (Py_mod_gil slot)
 5521|       |        // when they're created.
 5522|      0|        goto finally;
 5523|      0|    }
 5524|      2|    if (p0 == NULL) {
  ------------------
  |  Branch (5524:9): [True: 0, False: 2]
  ------------------
 5525|      0|        goto finally;
 5526|      0|    }
 5527|       |
 5528|       |#ifdef Py_GIL_DISABLED
 5529|       |    // This call (and the corresponding call to _PyImport_CheckGILForModule())
 5530|       |    // would ideally be inside import_run_extension(). They are kept in the
 5531|       |    // callers for now because that would complicate the control flow inside
 5532|       |    // import_run_extension(). It should be possible to restructure
 5533|       |    // import_run_extension() to address this.
 5534|       |    _PyEval_EnableGILTransient(tstate);
 5535|       |#endif
 5536|      2|    mod = import_run_extension(
 5537|      2|                    tstate, p0, &info, spec, get_modules_dict(tstate, true));
 5538|       |#ifdef Py_GIL_DISABLED
 5539|       |    if (_PyImport_CheckGILForModule(mod, info.name) < 0) {
 5540|       |        Py_CLEAR(mod);
 5541|       |        goto finally;
 5542|       |    }
 5543|       |#endif
 5544|       |
 5545|      2|finally:
 5546|      2|    if (fp != NULL) {
  ------------------
  |  Branch (5546:9): [True: 0, False: 2]
  ------------------
 5547|      0|        fclose(fp);
 5548|      0|    }
 5549|      2|    _Py_ext_module_loader_info_clear(&info);
 5550|      2|    return mod;
 5551|      2|}
import.c:_imp_exec_dynamic_impl:
 5565|      2|{
 5566|      2|    return exec_builtin_or_dynamic(mod);
 5567|      2|}
import.c:_imp_exec_builtin_impl:
 5584|     31|{
 5585|     31|    return exec_builtin_or_dynamic(mod);
 5586|     31|}
import.c:_imp__fix_co_filename_impl:
 5096|     24|{
 5097|     24|    update_compiled_module(code, path);
 5098|       |
 5099|     24|    Py_RETURN_NONE;
  ------------------
  |  |  628|     24|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     24|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5100|     24|}
import.c:update_compiled_module:
 2927|     24|{
 2928|     24|    PyObject *oldname;
 2929|       |
 2930|     24|    if (PyUnicode_Compare(co->co_filename, newname) == 0)
  ------------------
  |  Branch (2930:9): [True: 24, False: 0]
  ------------------
 2931|     24|        return;
 2932|       |
 2933|      0|    oldname = co->co_filename;
 2934|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2935|      0|    update_code_filenames(co, oldname, newname);
 2936|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2937|      0|}
import.c:_imp__set_lazy_attributes_impl:
 5628|     83|{
 5629|     83|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5630|     83|    if (PySet_Discard(LAZY_MODULES(interp), name) < 0) {
  ------------------
  |  |   94|     83|    (interp)->imports.lazy_modules
  ------------------
  |  Branch (5630:9): [True: 0, False: 83]
  ------------------
 5631|      0|        return NULL;
 5632|      0|    }
 5633|     83|    Py_RETURN_NONE;
  ------------------
  |  |  628|     83|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     83|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5634|     83|}
import.c:imp_module_exec:
 5666|      2|{
 5667|      2|    const wchar_t *mode = _Py_GetConfig()->check_hash_pycs_mode;
 5668|      2|    PyObject *pyc_mode = PyUnicode_FromWideChar(mode, -1);
 5669|      2|    if (PyModule_Add(module, "check_hash_based_pycs", pyc_mode) < 0) {
  ------------------
  |  Branch (5669:9): [True: 0, False: 2]
  ------------------
 5670|      0|        return -1;
 5671|      0|    }
 5672|       |
 5673|      2|    if (PyModule_AddIntConstant(
  ------------------
  |  Branch (5673:9): [True: 0, False: 2]
  ------------------
 5674|      2|            module, "pyc_magic_number_token", PYC_MAGIC_NUMBER_TOKEN) < 0)
  ------------------
  |  |  322|      2|    ((uint32_t)PYC_MAGIC_NUMBER | ((uint32_t)'\r' << 16) | ((uint32_t)'\n' << 24))
  |  |  ------------------
  |  |  |  |  318|      2|#define PYC_MAGIC_NUMBER 3704
  |  |  ------------------
  ------------------
 5675|      0|    {
 5676|      0|        return -1;
 5677|      0|    }
 5678|       |
 5679|      2|    return 0;
 5680|      2|}

_Py_ext_module_loader_info_clear:
   86|     35|{
   87|     35|    Py_CLEAR(info->filename);
  ------------------
  |  |  484|     35|    do { \
  |  |  485|     35|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     35|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     35|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     35|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     35|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 33]
  |  |  ------------------
  |  |  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|     35|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 35]
  |  |  ------------------
  ------------------
   88|     35|#ifndef MS_WINDOWS
   89|     35|    Py_CLEAR(info->filename_encoded);
  ------------------
  |  |  484|     35|    do { \
  |  |  485|     35|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     35|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     35|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     35|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     35|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 33]
  |  |  ------------------
  |  |  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|     35|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 35]
  |  |  ------------------
  ------------------
   90|     35|#endif
   91|     35|    Py_CLEAR(info->name);
  ------------------
  |  |  484|     35|    do { \
  |  |  485|     35|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     35|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     35|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     35|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     35|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 35, False: 0]
  |  |  ------------------
  |  |  488|     35|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     35|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     35|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     35|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     35|        } \
  |  |  491|     35|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 35]
  |  |  ------------------
  ------------------
   92|       |    Py_CLEAR(info->name_encoded);
  ------------------
  |  |  484|     35|    do { \
  |  |  485|     35|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     35|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     35|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     35|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     35|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 35, False: 0]
  |  |  ------------------
  |  |  488|     35|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     35|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     35|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     35|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     35|        } \
  |  |  491|     35|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 35]
  |  |  ------------------
  ------------------
   93|     35|}
_Py_ext_module_loader_info_init:
   99|      2|{
  100|      2|    struct _Py_ext_module_loader_info info = {
  101|      2|        .origin=origin,
  102|      2|    };
  103|       |
  104|      2|    assert(name != NULL);
  ------------------
  |  Branch (104:5): [True: 2, False: 0]
  ------------------
  105|      2|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|      2|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (105:9): [True: 0, False: 2]
  ------------------
  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|      2|    assert(PyUnicode_GetLength(name) > 0);
  ------------------
  |  Branch (111:5): [True: 2, False: 0]
  ------------------
  112|      2|    info.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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  113|       |
  114|      2|    info.name_encoded = get_encoded_name(info.name, &info.hook_prefixes);
  115|      2|    if (info.name_encoded == NULL) {
  ------------------
  |  Branch (115:9): [True: 0, False: 2]
  ------------------
  116|      0|        _Py_ext_module_loader_info_clear(&info);
  117|      0|        return -1;
  118|      0|    }
  119|       |
  120|      2|    info.newcontext = PyUnicode_AsUTF8(info.name);
  121|      2|    if (info.newcontext == NULL) {
  ------------------
  |  Branch (121:9): [True: 0, False: 2]
  ------------------
  122|      0|        _Py_ext_module_loader_info_clear(&info);
  123|      0|        return -1;
  124|      0|    }
  125|       |
  126|      2|    if (filename != NULL) {
  ------------------
  |  Branch (126:9): [True: 2, False: 0]
  ------------------
  127|      2|        if (!PyUnicode_Check(filename)) {
  ------------------
  |  |  103|      2|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (127:13): [True: 0, False: 2]
  ------------------
  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|      2|        info.filename = Py_NewRef(filename);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  134|       |
  135|      2|#ifndef MS_WINDOWS
  136|      2|        info.filename_encoded = PyUnicode_EncodeFSDefault(info.filename);
  137|      2|        if (info.filename_encoded == NULL) {
  ------------------
  |  Branch (137:13): [True: 0, False: 2]
  ------------------
  138|      0|            _Py_ext_module_loader_info_clear(&info);
  139|      0|            return -1;
  140|      0|        }
  141|      2|#endif
  142|       |
  143|      2|        info.path = info.filename;
  144|      2|    }
  145|      0|    else {
  146|      0|        info.path = info.name;
  147|      0|    }
  148|       |
  149|      2|    *p_info = info;
  150|      2|    return 0;
  151|      2|}
_Py_ext_module_loader_info_init_for_builtin:
  157|     33|{
  158|     33|    assert(PyUnicode_Check(name));
  ------------------
  |  Branch (158:5): [True: 33, False: 0]
  ------------------
  159|     33|    assert(PyUnicode_GetLength(name) > 0);
  ------------------
  |  Branch (159:5): [True: 33, False: 0]
  ------------------
  160|       |
  161|     33|    PyObject *name_encoded = PyUnicode_AsEncodedString(name, "ascii", NULL);
  162|     33|    if (name_encoded == NULL) {
  ------------------
  |  Branch (162:9): [True: 0, False: 33]
  ------------------
  163|      0|        return -1;
  164|      0|    }
  165|       |
  166|     33|    *info = (struct _Py_ext_module_loader_info){
  167|     33|        .name=Py_NewRef(name),
  ------------------
  |  |  550|     33|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  168|     33|        .name_encoded=name_encoded,
  169|       |        /* We won't need filename. */
  170|     33|        .path=name,
  171|     33|        .origin=_Py_ext_module_origin_BUILTIN,
  172|     33|        .hook_prefixes=&ascii_only_prefixes,
  173|       |        .newcontext=NULL,
  174|     33|    };
  175|     33|    return 0;
  176|     33|}
_Py_ext_module_loader_info_init_from_spec:
  195|      2|{
  196|      2|    PyObject *name = PyObject_GetAttrString(spec, "name");
  197|      2|    if (name == NULL) {
  ------------------
  |  Branch (197:9): [True: 0, False: 2]
  ------------------
  198|      0|        return -1;
  199|      0|    }
  200|      2|    PyObject *filename = PyObject_GetAttrString(spec, "origin");
  201|      2|    if (filename == NULL) {
  ------------------
  |  Branch (201:9): [True: 0, False: 2]
  ------------------
  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|      2|    _Py_ext_module_origin origin = _Py_ext_module_origin_DYNAMIC;
  207|      2|    int err = _Py_ext_module_loader_info_init(p_info, name, filename, origin);
  208|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  209|      2|    Py_DECREF(filename);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  210|      2|    return err;
  211|      2|}
_Py_ext_module_loader_result_clear:
  221|     35|{
  222|       |    /* Instead, the caller should have called
  223|       |     * _Py_ext_module_loader_result_apply_error(). */
  224|     35|    assert(res->err == NULL);
  ------------------
  |  Branch (224:5): [True: 35, False: 0]
  ------------------
  225|     35|    *res = (struct _Py_ext_module_loader_result){0};
  226|     35|}
_PyImport_GetModuleExportHooks:
  381|      2|{
  382|      2|    *modinit = NULL;
  383|      2|    *modexport = NULL;
  384|       |
  385|      2|    const char *name_buf = PyBytes_AS_STRING(info->name_encoded);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  386|      2|    dl_funcptr exportfunc;
  387|       |
  388|      2|    exportfunc = findfuncptr(
  389|      2|        info->hook_prefixes->export_prefix,
  390|      2|        name_buf, info, fp);
  391|      2|    if (exportfunc) {
  ------------------
  |  Branch (391:9): [True: 0, False: 2]
  ------------------
  392|      0|        *modexport = (PyModExportFunction)exportfunc;
  393|      0|        return 2;
  394|      0|    }
  395|      2|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (395:9): [True: 0, False: 2]
  ------------------
  396|      0|        return -1;
  397|      0|    }
  398|       |
  399|      2|    exportfunc = findfuncptr(
  400|      2|        info->hook_prefixes->init_prefix,
  401|      2|        name_buf, info, fp);
  402|      2|    if (exportfunc) {
  ------------------
  |  Branch (402:9): [True: 2, False: 0]
  ------------------
  403|      2|        *modinit = (PyModInitFunction)exportfunc;
  404|      2|        return 1;
  405|      2|    }
  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|      2|}
_PyImport_RunModInitFunc:
  427|     35|{
  428|     35|    struct _Py_ext_module_loader_result res = {
  429|     35|        .kind=_Py_ext_module_kind_UNKNOWN,
  430|     35|    };
  431|       |
  432|       |    /* Call the module init function. */
  433|       |
  434|       |    /* Package context is needed for single-phase init */
  435|     35|    const char *oldcontext = _PyImport_SwapPackageContext(info->newcontext);
  436|     35|    PyObject *m = p0();
  437|     35|    _PyImport_SwapPackageContext(oldcontext);
  438|       |
  439|       |    /* Validate the result (and populate "res". */
  440|       |
  441|     35|    if (m == NULL) {
  ------------------
  |  Branch (441:9): [True: 0, False: 35]
  ------------------
  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|     35|    } else if (PyErr_Occurred()) {
  ------------------
  |  Branch (456:16): [True: 0, False: 35]
  ------------------
  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|     35|    if (Py_IS_TYPE(m, NULL)) {
  ------------------
  |  |  215|     35|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 35]
  |  |  ------------------
  ------------------
  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|     35|    if (PyObject_TypeCheck(m, &PyModuleDef_Type)) {
  ------------------
  |  |  378|     35|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (378:40): [True: 35, False: 0]
  |  |  ------------------
  ------------------
  482|       |        /* multi-phase init */
  483|     35|        res.kind = _Py_ext_module_kind_MULTIPHASE;
  484|     35|        res.def = (PyModuleDef *)m;
  485|       |        /* Run PyModule_FromDefAndSpec() to finish loading the module. */
  486|     35|    }
  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|     35|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (515:5): [True: 35, False: 0]
  ------------------
  516|     35|    assert(res.err == NULL);
  ------------------
  |  Branch (516:5): [True: 35, False: 0]
  ------------------
  517|     35|    *p_res = res;
  518|     35|    return 0;
  519|       |
  520|      0|error:
  521|      0|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (521:5): [True: 0, False: 0]
  ------------------
  522|      0|    assert(res.err != NULL);
  ------------------
  |  Branch (522:5): [True: 0, False: 0]
  ------------------
  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|      0|}
importdl.c:get_encoded_name:
   29|      2|get_encoded_name(PyObject *name, const struct hook_prefixes **hook_prefixes) {
   30|      2|    PyObject *tmp;
   31|      2|    PyObject *encoded = NULL;
   32|      2|    PyObject *modname = NULL;
   33|      2|    Py_ssize_t name_len, lastdot;
   34|       |
   35|       |    /* Get the short name (substring after last dot) */
   36|      2|    name_len = PyUnicode_GetLength(name);
   37|      2|    if (name_len < 0) {
  ------------------
  |  Branch (37:9): [True: 0, False: 2]
  ------------------
   38|      0|        return NULL;
   39|      0|    }
   40|      2|    lastdot = PyUnicode_FindChar(name, '.', 0, name_len, -1);
   41|      2|    if (lastdot < -1) {
  ------------------
  |  Branch (41:9): [True: 0, False: 2]
  ------------------
   42|      0|        return NULL;
   43|      2|    } else if (lastdot >= 0) {
  ------------------
  |  Branch (43:16): [True: 0, False: 2]
  ------------------
   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|      2|    } else {
   50|      2|        Py_INCREF(name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   51|      2|    }
   52|       |
   53|       |    /* Encode to ASCII or Punycode, as needed */
   54|      2|    encoded = PyUnicode_AsEncodedString(name, "ascii", NULL);
   55|      2|    if (encoded != NULL) {
  ------------------
  |  Branch (55:9): [True: 2, False: 0]
  ------------------
   56|      2|        *hook_prefixes = &ascii_only_prefixes;
   57|      2|    } 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|      2|    modname = _PyObject_CallMethod(encoded, &_Py_ID(replace), "cc", '-', '_');
  ------------------
  |  |  920|      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|    if (modname == NULL)
  ------------------
  |  Branch (72:9): [True: 0, False: 2]
  ------------------
   73|      0|        goto error;
   74|       |
   75|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   76|      2|    Py_DECREF(encoded);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   77|      2|    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|      2|}
importdl.c:findfuncptr:
  364|      4|{
  365|       |#ifdef MS_WINDOWS
  366|       |    return _PyImport_FindSharedFuncptrWindows(
  367|       |            prefix, name_buf, info->filename, fp);
  368|       |#else
  369|      4|    const char *path_buf = PyBytes_AS_STRING(info->filename_encoded);
  ------------------
  |  |   27|      4|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  370|      4|    return _PyImport_FindSharedFuncptr(
  371|      4|            prefix, name_buf, path_buf, fp);
  372|      4|#endif
  373|      4|}

Py_GETENV:
  714|     24|{
  715|     24|_Py_COMP_DIAG_PUSH
  716|     24|_Py_COMP_DIAG_IGNORE_DEPR_DECLS
  717|     24|    if (Py_IgnoreEnvironmentFlag) {
  ------------------
  |  Branch (717:9): [True: 0, False: 24]
  ------------------
  718|      0|        return NULL;
  719|      0|    }
  720|     24|    return getenv(name);
  721|     24|_Py_COMP_DIAG_POP
  722|     24|}
PyStatus_Ok:
  727|      6|{ return _PyStatus_OK(); }
  ------------------
  |  |   24|      6|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
PyStatus_Exception:
  750|      4|{ return _PyStatus_EXCEPTION(status); }
  ------------------
  |  |   43|      4|    ((err)._type != _PyStatus_TYPE_OK)
  ------------------
_PyWideStringList_CheckConsistency:
  788|    214|{
  789|    214|    assert(list->length >= 0);
  ------------------
  |  Branch (789:5): [True: 214, False: 0]
  ------------------
  790|    214|    if (list->length != 0) {
  ------------------
  |  Branch (790:9): [True: 24, False: 190]
  ------------------
  791|     24|        assert(list->items != NULL);
  ------------------
  |  Branch (791:9): [True: 24, False: 0]
  ------------------
  792|     24|    }
  793|    250|    for (Py_ssize_t i = 0; i < list->length; i++) {
  ------------------
  |  Branch (793:28): [True: 36, False: 214]
  ------------------
  794|     36|        assert(list->items[i] != NULL);
  ------------------
  |  Branch (794:9): [True: 36, False: 0]
  ------------------
  795|     36|    }
  796|    214|    return 1;
  797|    214|}
_PyWideStringList_Clear:
  826|     68|{
  827|       |    _PyWideStringList_ClearEx(list, false);
  828|     68|}
_PyWideStringList_Copy:
  879|     38|{
  880|       |    return _PyWideStringList_CopyEx(list, list2, false);
  881|     38|}
PyWideStringList_Insert:
  886|     10|{
  887|     10|    Py_ssize_t len = list->length;
  888|     10|    if (len == PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|     10|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (888:9): [True: 0, False: 10]
  ------------------
  889|       |        /* length+1 would overflow */
  890|      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)}
  |  |  ------------------
  ------------------
  891|      0|    }
  892|     10|    if (index < 0) {
  ------------------
  |  Branch (892:9): [True: 0, False: 10]
  ------------------
  893|      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)}
  ------------------
  894|      0|    }
  895|     10|    if (index > len) {
  ------------------
  |  Branch (895:9): [True: 0, False: 10]
  ------------------
  896|      0|        index = len;
  897|      0|    }
  898|       |
  899|     10|    wchar_t *item2 = _PyMem_RawWcsdup(item);
  900|     10|    if (item2 == NULL) {
  ------------------
  |  Branch (900:9): [True: 0, False: 10]
  ------------------
  901|      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)}
  |  |  ------------------
  ------------------
  902|      0|    }
  903|       |
  904|     10|    size_t size = (len + 1) * sizeof(list->items[0]);
  905|     10|    wchar_t **items2 = (wchar_t **)PyMem_RawRealloc(list->items, size);
  906|     10|    if (items2 == NULL) {
  ------------------
  |  Branch (906:9): [True: 0, False: 10]
  ------------------
  907|      0|        PyMem_RawFree(item2);
  908|      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)}
  |  |  ------------------
  ------------------
  909|      0|    }
  910|       |
  911|     10|    if (index < len) {
  ------------------
  |  Branch (911:9): [True: 0, False: 10]
  ------------------
  912|      0|        memmove(&items2[index + 1],
  913|      0|                &items2[index],
  914|      0|                (len - index) * sizeof(items2[0]));
  915|      0|    }
  916|       |
  917|     10|    items2[index] = item2;
  918|     10|    list->items = items2;
  919|     10|    list->length++;
  920|     10|    return _PyStatus_OK();
  ------------------
  |  |   24|     10|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  921|     10|}
PyWideStringList_Append:
  926|     10|{
  927|     10|    return PyWideStringList_Insert(list, list->length, item);
  928|     10|}
_PyWideStringList_Extend:
  933|      4|{
  934|      4|    for (Py_ssize_t i = 0; i < list2->length; i++) {
  ------------------
  |  Branch (934:28): [True: 0, False: 4]
  ------------------
  935|      0|        PyStatus status = PyWideStringList_Append(list, list2->items[i]);
  936|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  937|      0|            return status;
  938|      0|        }
  939|      0|    }
  940|      4|    return _PyStatus_OK();
  ------------------
  |  |   24|      4|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  941|      4|}
_PyWideStringList_AsList:
  958|      8|{
  959|      8|    assert(_PyWideStringList_CheckConsistency(list));
  ------------------
  |  Branch (959:5): [True: 8, False: 0]
  ------------------
  960|       |
  961|      8|    PyObject *pylist = PyList_New(list->length);
  962|      8|    if (pylist == NULL) {
  ------------------
  |  Branch (962:9): [True: 0, False: 8]
  ------------------
  963|      0|        return NULL;
  964|      0|    }
  965|       |
  966|     16|    for (Py_ssize_t i = 0; i < list->length; i++) {
  ------------------
  |  Branch (966:28): [True: 8, False: 8]
  ------------------
  967|      8|        PyObject *item = PyUnicode_FromWideChar(list->items[i], -1);
  968|      8|        if (item == NULL) {
  ------------------
  |  Branch (968:13): [True: 0, False: 8]
  ------------------
  969|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  970|      0|            return NULL;
  971|      0|        }
  972|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  973|      8|    }
  974|      8|    return pylist;
  975|      8|}
PyConfig_Clear:
 1113|      8|{
 1114|      8|#define CLEAR(ATTR) \
 1115|      8|    do { \
 1116|      8|        PyMem_RawFree(ATTR); \
 1117|      8|        ATTR = NULL; \
 1118|      8|    } while (0)
 1119|       |
 1120|      8|    CLEAR(config->pycache_prefix);
  ------------------
  |  | 1115|      8|    do { \
  |  | 1116|      8|        PyMem_RawFree(ATTR); \
  |  | 1117|      8|        ATTR = NULL; \
  |  | 1118|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1118:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1121|      8|    CLEAR(config->pythonpath_env);
  ------------------
  |  | 1115|      8|    do { \
  |  | 1116|      8|        PyMem_RawFree(ATTR); \
  |  | 1117|      8|        ATTR = NULL; \
  |  | 1118|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1118:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1122|      8|    CLEAR(config->home);
  ------------------
  |  | 1115|      8|    do { \
  |  | 1116|      8|        PyMem_RawFree(ATTR); \
  |  | 1117|      8|        ATTR = NULL; \
  |  | 1118|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1118:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1123|      8|    CLEAR(config->program_name);
  ------------------
  |  | 1115|      8|    do { \
  |  | 1116|      8|        PyMem_RawFree(ATTR); \
  |  | 1117|      8|        ATTR = NULL; \
  |  | 1118|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1118:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1124|       |
 1125|      8|    _PyWideStringList_Clear(&config->argv);
 1126|      8|    _PyWideStringList_Clear(&config->warnoptions);
 1127|      8|    _PyWideStringList_Clear(&config->xoptions);
 1128|      8|    _PyWideStringList_Clear(&config->module_search_paths);
 1129|      8|    config->module_search_paths_set = 0;
 1130|      8|    CLEAR(config->stdlib_dir);
  ------------------
  |  | 1115|      8|    do { \
  |  | 1116|      8|        PyMem_RawFree(ATTR); \
  |  | 1117|      8|        ATTR = NULL; \
  |  | 1118|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1118:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1131|       |
 1132|      8|    CLEAR(config->executable);
  ------------------
  |  | 1115|      8|    do { \
  |  | 1116|      8|        PyMem_RawFree(ATTR); \
  |  | 1117|      8|        ATTR = NULL; \
  |  | 1118|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1118:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1133|      8|    CLEAR(config->base_executable);
  ------------------
  |  | 1115|      8|    do { \
  |  | 1116|      8|        PyMem_RawFree(ATTR); \
  |  | 1117|      8|        ATTR = NULL; \
  |  | 1118|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1118:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1134|      8|    CLEAR(config->prefix);
  ------------------
  |  | 1115|      8|    do { \
  |  | 1116|      8|        PyMem_RawFree(ATTR); \
  |  | 1117|      8|        ATTR = NULL; \
  |  | 1118|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1118:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1135|      8|    CLEAR(config->base_prefix);
  ------------------
  |  | 1115|      8|    do { \
  |  | 1116|      8|        PyMem_RawFree(ATTR); \
  |  | 1117|      8|        ATTR = NULL; \
  |  | 1118|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1118:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1136|      8|    CLEAR(config->exec_prefix);
  ------------------
  |  | 1115|      8|    do { \
  |  | 1116|      8|        PyMem_RawFree(ATTR); \
  |  | 1117|      8|        ATTR = NULL; \
  |  | 1118|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1118:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1137|      8|    CLEAR(config->base_exec_prefix);
  ------------------
  |  | 1115|      8|    do { \
  |  | 1116|      8|        PyMem_RawFree(ATTR); \
  |  | 1117|      8|        ATTR = NULL; \
  |  | 1118|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1118:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1138|      8|    CLEAR(config->platlibdir);
  ------------------
  |  | 1115|      8|    do { \
  |  | 1116|      8|        PyMem_RawFree(ATTR); \
  |  | 1117|      8|        ATTR = NULL; \
  |  | 1118|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1118:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1139|      8|    CLEAR(config->sys_path_0);
  ------------------
  |  | 1115|      8|    do { \
  |  | 1116|      8|        PyMem_RawFree(ATTR); \
  |  | 1117|      8|        ATTR = NULL; \
  |  | 1118|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1118:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1140|       |
 1141|      8|    CLEAR(config->filesystem_encoding);
  ------------------
  |  | 1115|      8|    do { \
  |  | 1116|      8|        PyMem_RawFree(ATTR); \
  |  | 1117|      8|        ATTR = NULL; \
  |  | 1118|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1118:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1142|      8|    CLEAR(config->filesystem_errors);
  ------------------
  |  | 1115|      8|    do { \
  |  | 1116|      8|        PyMem_RawFree(ATTR); \
  |  | 1117|      8|        ATTR = NULL; \
  |  | 1118|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1118:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1143|      8|    CLEAR(config->stdio_encoding);
  ------------------
  |  | 1115|      8|    do { \
  |  | 1116|      8|        PyMem_RawFree(ATTR); \
  |  | 1117|      8|        ATTR = NULL; \
  |  | 1118|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1118:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1144|      8|    CLEAR(config->stdio_errors);
  ------------------
  |  | 1115|      8|    do { \
  |  | 1116|      8|        PyMem_RawFree(ATTR); \
  |  | 1117|      8|        ATTR = NULL; \
  |  | 1118|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1118:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1145|      8|    CLEAR(config->run_command);
  ------------------
  |  | 1115|      8|    do { \
  |  | 1116|      8|        PyMem_RawFree(ATTR); \
  |  | 1117|      8|        ATTR = NULL; \
  |  | 1118|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1118:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1146|      8|    CLEAR(config->run_module);
  ------------------
  |  | 1115|      8|    do { \
  |  | 1116|      8|        PyMem_RawFree(ATTR); \
  |  | 1117|      8|        ATTR = NULL; \
  |  | 1118|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1118:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1147|      8|    CLEAR(config->run_filename);
  ------------------
  |  | 1115|      8|    do { \
  |  | 1116|      8|        PyMem_RawFree(ATTR); \
  |  | 1117|      8|        ATTR = NULL; \
  |  | 1118|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1118:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1148|      8|    CLEAR(config->check_hash_pycs_mode);
  ------------------
  |  | 1115|      8|    do { \
  |  | 1116|      8|        PyMem_RawFree(ATTR); \
  |  | 1117|      8|        ATTR = NULL; \
  |  | 1118|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1118:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1149|       |#ifdef Py_DEBUG
 1150|       |    CLEAR(config->run_presite);
 1151|       |#endif
 1152|       |
 1153|      8|    _PyWideStringList_Clear(&config->orig_argv);
 1154|      8|#undef CLEAR
 1155|      8|}
_PyConfig_InitCompatConfig:
 1160|      6|{
 1161|      6|    memset(config, 0, sizeof(*config));
 1162|       |
 1163|      6|    config->_config_init = (int)_PyConfig_INIT_COMPAT;
 1164|      6|    config->import_time = -1;
 1165|      6|    config->isolated = -1;
 1166|      6|    config->use_environment = -1;
 1167|      6|    config->dev_mode = -1;
 1168|      6|    config->install_signal_handlers = 1;
 1169|      6|    config->use_hash_seed = -1;
 1170|      6|    config->faulthandler = -1;
 1171|      6|    config->tracemalloc = -1;
 1172|      6|    config->perf_profiling = -1;
 1173|      6|    config->remote_debug = -1;
 1174|      6|    config->module_search_paths_set = 0;
 1175|      6|    config->parse_argv = 0;
 1176|      6|    config->site_import = -1;
 1177|      6|    config->bytes_warning = -1;
 1178|      6|    config->warn_default_encoding = 0;
 1179|      6|    config->inspect = -1;
 1180|      6|    config->interactive = -1;
 1181|      6|    config->optimization_level = -1;
 1182|      6|    config->parser_debug= -1;
 1183|      6|    config->write_bytecode = -1;
 1184|      6|    config->verbose = -1;
 1185|      6|    config->quiet = -1;
 1186|      6|    config->user_site_directory = -1;
 1187|      6|    config->configure_c_stdio = 0;
 1188|      6|    config->buffered_stdio = -1;
 1189|      6|    config->_install_importlib = 1;
 1190|      6|    config->check_hash_pycs_mode = NULL;
 1191|      6|    config->pathconfig_warnings = -1;
 1192|      6|    config->_init_main = 1;
 1193|       |#ifdef MS_WINDOWS
 1194|       |    config->legacy_windows_stdio = -1;
 1195|       |#endif
 1196|       |#ifdef Py_DEBUG
 1197|       |    config->use_frozen_modules = 0;
 1198|       |#else
 1199|      6|    config->use_frozen_modules = 1;
 1200|      6|#endif
 1201|      6|    config->safe_path = 0;
 1202|      6|    config->int_max_str_digits = -1;
 1203|      6|    config->_is_python_build = 0;
 1204|      6|    config->code_debug_ranges = 1;
 1205|      6|    config->cpu_count = -1;
 1206|      6|    config->lazy_imports = -1;
 1207|       |#ifdef Py_GIL_DISABLED
 1208|       |    config->thread_inherit_context = 1;
 1209|       |    config->context_aware_warnings = 1;
 1210|       |#else
 1211|      6|    config->thread_inherit_context = 0;
 1212|      6|    config->context_aware_warnings = 0;
 1213|      6|#endif
 1214|       |#ifdef __APPLE__
 1215|       |    config->use_system_logger = USE_SYSTEM_LOGGER_DEFAULT;
 1216|       |#endif
 1217|       |#ifdef Py_GIL_DISABLED
 1218|       |    config->enable_gil = _PyConfig_GIL_DEFAULT;
 1219|       |    config->tlbc_enabled = 1;
 1220|       |#endif
 1221|      6|}
PyConfig_InitPythonConfig:
 1261|      6|{
 1262|      6|    config_init_defaults(config);
 1263|       |
 1264|      6|    config->_config_init = (int)_PyConfig_INIT_PYTHON;
 1265|      6|    config->configure_c_stdio = 1;
 1266|      6|    config->parse_argv = 1;
 1267|      6|}
PyConfig_SetString:
 1304|    142|{
 1305|    142|    PyStatus status = _Py_PreInitializeFromConfig(config, NULL);
 1306|    142|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|    142|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 142]
  |  |  ------------------
  ------------------
 1307|      0|        return status;
 1308|      0|    }
 1309|       |
 1310|    142|    wchar_t *str2;
 1311|    142|    if (str != NULL) {
  ------------------
  |  Branch (1311:9): [True: 52, False: 90]
  ------------------
 1312|     52|        str2 = _PyMem_RawWcsdup(str);
 1313|     52|        if (str2 == NULL) {
  ------------------
  |  Branch (1313:13): [True: 0, False: 52]
  ------------------
 1314|      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)}
  |  |  ------------------
  ------------------
 1315|      0|        }
 1316|     52|    }
 1317|     90|    else {
 1318|     90|        str2 = NULL;
 1319|     90|    }
 1320|    142|    PyMem_RawFree(*config_str);
 1321|    142|    *config_str = str2;
 1322|    142|    return _PyStatus_OK();
  ------------------
  |  |   24|    142|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1323|    142|}
PyConfig_SetBytesString:
 1367|      2|{
 1368|      2|    return CONFIG_SET_BYTES_STR(config, config_str, str, "string");
  ------------------
  |  | 1358|      2|    config_set_bytes_string(config, config_str, str, "cannot decode " NAME)
  ------------------
 1369|      2|}
_PyConfig_Copy:
 1388|      4|{
 1389|      4|    PyConfig_Clear(config);
 1390|       |
 1391|      4|    PyStatus status;
 1392|      4|    const PyConfigSpec *spec = PYCONFIG_SPEC;
 1393|    288|    for (; spec->name != NULL; spec++) {
  ------------------
  |  Branch (1393:12): [True: 284, False: 4]
  ------------------
 1394|    284|        void *member = config_get_spec_member(config, spec);
 1395|    284|        const void *member2 = config_get_spec_member((PyConfig*)config2, spec);
 1396|    284|        switch (spec->type) {
 1397|     16|        case PyConfig_MEMBER_INT:
  ------------------
  |  Branch (1397:9): [True: 16, False: 268]
  ------------------
 1398|     48|        case PyConfig_MEMBER_UINT:
  ------------------
  |  Branch (1398:9): [True: 32, False: 252]
  ------------------
 1399|    172|        case PyConfig_MEMBER_BOOL:
  ------------------
  |  Branch (1399:9): [True: 124, False: 160]
  ------------------
 1400|    172|        {
 1401|    172|            *(int*)member = *(int*)member2;
 1402|    172|            break;
 1403|     48|        }
 1404|      4|        case PyConfig_MEMBER_ULONG:
  ------------------
  |  Branch (1404:9): [True: 4, False: 280]
  ------------------
 1405|      4|        {
 1406|      4|            *(unsigned long*)member = *(unsigned long*)member2;
 1407|      4|            break;
 1408|     48|        }
 1409|     28|        case PyConfig_MEMBER_WSTR:
  ------------------
  |  Branch (1409:9): [True: 28, False: 256]
  ------------------
 1410|     88|        case PyConfig_MEMBER_WSTR_OPT:
  ------------------
  |  Branch (1410:9): [True: 60, False: 224]
  ------------------
 1411|     88|        {
 1412|     88|            const wchar_t *str = *(const wchar_t**)member2;
 1413|     88|            status = PyConfig_SetString(config, (wchar_t**)member, str);
 1414|     88|            if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|     88|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 88]
  |  |  ------------------
  ------------------
 1415|      0|                return status;
 1416|      0|            }
 1417|     88|            break;
 1418|     88|        }
 1419|     88|        case PyConfig_MEMBER_WSTR_LIST:
  ------------------
  |  Branch (1419:9): [True: 20, False: 264]
  ------------------
 1420|     20|        {
 1421|     20|            if (_PyWideStringList_Copy((PyWideStringList*)member,
  ------------------
  |  Branch (1421:17): [True: 0, False: 20]
  ------------------
 1422|     20|                                       (const PyWideStringList*)member2) < 0) {
 1423|      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)}
  |  |  ------------------
  ------------------
 1424|      0|            }
 1425|     20|            break;
 1426|     20|        }
 1427|     20|        default:
  ------------------
  |  Branch (1427:9): [True: 0, False: 284]
  ------------------
 1428|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1429|    284|        }
 1430|    284|    }
 1431|      4|    return _PyStatus_OK();
  ------------------
  |  |   24|      4|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1432|      4|}
_PyConfig_AsDict:
 1437|      2|{
 1438|      2|    PyObject *dict = PyDict_New();
 1439|      2|    if (dict == NULL) {
  ------------------
  |  Branch (1439:9): [True: 0, False: 2]
  ------------------
 1440|      0|        return NULL;
 1441|      0|    }
 1442|       |
 1443|      2|    const PyConfigSpec *spec = PYCONFIG_SPEC;
 1444|    144|    for (; spec->name != NULL; spec++) {
  ------------------
  |  Branch (1444:12): [True: 142, False: 2]
  ------------------
 1445|    142|        PyObject *obj = config_get(config, spec, 0);
 1446|    142|        if (obj == NULL) {
  ------------------
  |  Branch (1446:13): [True: 0, False: 142]
  ------------------
 1447|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1448|      0|            return NULL;
 1449|      0|        }
 1450|       |
 1451|    142|        int res = PyDict_SetItemString(dict, spec->name, obj);
 1452|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1453|    142|        if (res < 0) {
  ------------------
  |  Branch (1453:13): [True: 0, False: 142]
  ------------------
 1454|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1455|      0|            return NULL;
 1456|      0|        }
 1457|    142|    }
 1458|      2|    return dict;
 1459|      2|}
_PyConfig_FromDict:
 1671|      2|{
 1672|      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 (1672:9): [True: 0, False: 2]
  ------------------
 1673|      0|        PyErr_SetString(PyExc_TypeError, "dict expected");
 1674|      0|        return -1;
 1675|      0|    }
 1676|       |
 1677|      2|    const PyConfigSpec *spec = PYCONFIG_SPEC;
 1678|    144|    for (; spec->name != NULL; spec++) {
  ------------------
  |  Branch (1678:12): [True: 142, False: 2]
  ------------------
 1679|    142|        char *member = (char *)config + spec->offset;
 1680|    142|        switch (spec->type) {
 1681|      8|        case PyConfig_MEMBER_INT:
  ------------------
  |  Branch (1681:9): [True: 8, False: 134]
  ------------------
 1682|     24|        case PyConfig_MEMBER_UINT:
  ------------------
  |  Branch (1682:9): [True: 16, False: 126]
  ------------------
 1683|     86|        case PyConfig_MEMBER_BOOL:
  ------------------
  |  Branch (1683:9): [True: 62, False: 80]
  ------------------
 1684|     86|        {
 1685|     86|            int value;
 1686|     86|            if (config_dict_get_int(dict, spec->name, &value) < 0) {
  ------------------
  |  Branch (1686:17): [True: 0, False: 86]
  ------------------
 1687|      0|                return -1;
 1688|      0|            }
 1689|     86|            if (spec->type == PyConfig_MEMBER_BOOL
  ------------------
  |  Branch (1689:17): [True: 62, False: 24]
  ------------------
 1690|     24|                || spec->type == PyConfig_MEMBER_UINT)
  ------------------
  |  Branch (1690:20): [True: 16, False: 8]
  ------------------
 1691|     78|            {
 1692|     78|                if (value < 0) {
  ------------------
  |  Branch (1692:21): [True: 0, False: 78]
  ------------------
 1693|      0|                    config_dict_invalid_value(spec->name);
 1694|      0|                    return -1;
 1695|      0|                }
 1696|     78|            }
 1697|     86|            *(int*)member = value;
 1698|     86|            break;
 1699|     86|        }
 1700|      2|        case PyConfig_MEMBER_ULONG:
  ------------------
  |  Branch (1700:9): [True: 2, False: 140]
  ------------------
 1701|      2|        {
 1702|      2|            if (config_dict_get_ulong(dict, spec->name,
  ------------------
  |  Branch (1702:17): [True: 0, False: 2]
  ------------------
 1703|      2|                                      (unsigned long*)member) < 0) {
 1704|      0|                return -1;
 1705|      0|            }
 1706|      2|            break;
 1707|      2|        }
 1708|     14|        case PyConfig_MEMBER_WSTR:
  ------------------
  |  Branch (1708:9): [True: 14, False: 128]
  ------------------
 1709|     14|        {
 1710|     14|            wchar_t **wstr = (wchar_t**)member;
 1711|     14|            if (config_dict_get_wstr(dict, spec->name, config, wstr) < 0) {
  ------------------
  |  Branch (1711:17): [True: 0, False: 14]
  ------------------
 1712|      0|                return -1;
 1713|      0|            }
 1714|     14|            if (*wstr == NULL) {
  ------------------
  |  Branch (1714:17): [True: 0, False: 14]
  ------------------
 1715|      0|                config_dict_invalid_value(spec->name);
 1716|      0|                return -1;
 1717|      0|            }
 1718|     14|            break;
 1719|     14|        }
 1720|     30|        case PyConfig_MEMBER_WSTR_OPT:
  ------------------
  |  Branch (1720:9): [True: 30, False: 112]
  ------------------
 1721|     30|        {
 1722|     30|            wchar_t **wstr = (wchar_t**)member;
 1723|     30|            if (config_dict_get_wstr(dict, spec->name, config, wstr) < 0) {
  ------------------
  |  Branch (1723:17): [True: 0, False: 30]
  ------------------
 1724|      0|                return -1;
 1725|      0|            }
 1726|     30|            break;
 1727|     30|        }
 1728|     30|        case PyConfig_MEMBER_WSTR_LIST:
  ------------------
  |  Branch (1728:9): [True: 10, False: 132]
  ------------------
 1729|     10|        {
 1730|     10|            if (strcmp(spec->name, "xoptions") == 0) {
  ------------------
  |  Branch (1730:17): [True: 2, False: 8]
  ------------------
 1731|      2|                if (config_dict_get_xoptions(dict, spec->name, config,
  ------------------
  |  Branch (1731:21): [True: 0, False: 2]
  ------------------
 1732|      2|                                             (PyWideStringList*)member) < 0) {
 1733|      0|                    return -1;
 1734|      0|                }
 1735|      2|            }
 1736|      8|            else {
 1737|      8|                if (config_dict_get_wstrlist(dict, spec->name, config,
  ------------------
  |  Branch (1737:21): [True: 0, False: 8]
  ------------------
 1738|      8|                                             (PyWideStringList*)member) < 0) {
 1739|      0|                    return -1;
 1740|      0|                }
 1741|      8|            }
 1742|     10|            break;
 1743|     10|        }
 1744|     10|        default:
  ------------------
  |  Branch (1744:9): [True: 0, False: 142]
  ------------------
 1745|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1746|    142|        }
 1747|    142|    }
 1748|       |
 1749|      2|    if (!(config->_config_init == _PyConfig_INIT_COMPAT
  ------------------
  |  Branch (1749:11): [True: 0, False: 2]
  ------------------
 1750|      2|          || config->_config_init == _PyConfig_INIT_PYTHON
  ------------------
  |  Branch (1750:14): [True: 2, False: 0]
  ------------------
 1751|      0|          || config->_config_init == _PyConfig_INIT_ISOLATED))
  ------------------
  |  Branch (1751:14): [True: 0, False: 0]
  ------------------
 1752|      0|    {
 1753|      0|        config_dict_invalid_value("_config_init");
 1754|      0|        return -1;
 1755|      0|    }
 1756|       |
 1757|      2|    if (config->hash_seed > MAX_HASH_SEED) {
  ------------------
  |  | 1031|      2|#define MAX_HASH_SEED 4294967295UL
  ------------------
  |  Branch (1757:9): [True: 0, False: 2]
  ------------------
 1758|      0|        config_dict_invalid_value("hash_seed");
 1759|      0|        return -1;
 1760|      0|    }
 1761|      2|    return 0;
 1762|      2|}
_PyConfig_InitImportConfig:
 2847|      2|{
 2848|      2|    return config_init_import(config, 1);
 2849|      2|}
_PyConfig_Write:
 3013|      2|{
 3014|      2|    config_set_global_vars(config);
 3015|       |
 3016|      2|    if (config->configure_c_stdio) {
  ------------------
  |  Branch (3016:9): [True: 2, False: 0]
  ------------------
 3017|      2|        config_init_stdio(config);
 3018|      2|    }
 3019|       |
 3020|       |    /* Write the new pre-configuration into _PyRuntime */
 3021|      2|    PyPreConfig *preconfig = &runtime->preconfig;
 3022|      2|    preconfig->isolated = config->isolated;
 3023|      2|    preconfig->use_environment = config->use_environment;
 3024|      2|    preconfig->dev_mode = config->dev_mode;
 3025|       |
 3026|      2|    if (_Py_SetArgcArgv(config->orig_argv.length,
  ------------------
  |  Branch (3026:9): [True: 0, False: 2]
  ------------------
 3027|      2|                        config->orig_argv.items) < 0)
 3028|      0|    {
 3029|      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)}
  |  |  ------------------
  ------------------
 3030|      0|    }
 3031|       |
 3032|       |#ifdef PYMALLOC_USE_HUGEPAGES
 3033|       |    runtime->allocators.use_hugepages = config->pymalloc_hugepages;
 3034|       |#endif
 3035|       |
 3036|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3037|      2|}
_PyConfig_Read:
 3730|      2|{
 3731|      2|    PyStatus status;
 3732|       |
 3733|      2|    status = _Py_PreInitializeFromConfig(config, NULL);
 3734|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3735|      0|        return status;
 3736|      0|    }
 3737|       |
 3738|      2|    config_get_global_vars(config);
 3739|       |
 3740|       |#ifdef __CYGWIN__
 3741|       |    status = config_argv0_add_exe(config);
 3742|       |    if (_PyStatus_EXCEPTION(status)) {
 3743|       |        return status;
 3744|       |    }
 3745|       |#endif
 3746|       |
 3747|      2|    if (config->orig_argv.length == 0
  ------------------
  |  Branch (3747:9): [True: 2, False: 0]
  ------------------
 3748|      2|        && !(config->argv.length == 1
  ------------------
  |  Branch (3748:14): [True: 0, False: 2]
  ------------------
 3749|      0|             && wcscmp(config->argv.items[0], L"") == 0))
  ------------------
  |  Branch (3749:17): [True: 0, False: 0]
  ------------------
 3750|      2|    {
 3751|      2|        if (_PyWideStringList_Copy(&config->orig_argv, &config->argv) < 0) {
  ------------------
  |  Branch (3751:13): [True: 0, False: 2]
  ------------------
 3752|      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)}
  |  |  ------------------
  ------------------
 3753|      0|        }
 3754|      2|    }
 3755|       |
 3756|      2|    _PyPreCmdline precmdline = _PyPreCmdline_INIT;
  ------------------
  |  |  111|      2|    (_PyPreCmdline){ \
  |  |  112|      2|        .use_environment = -1, \
  |  |  113|      2|        .isolated = -1, \
  |  |  114|      2|        .dev_mode = -1}
  ------------------
 3757|      2|    status = core_read_precmdline(config, &precmdline);
 3758|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3759|      0|        goto done;
 3760|      0|    }
 3761|       |
 3762|      2|    assert(config->isolated >= 0);
  ------------------
  |  Branch (3762:5): [True: 2, False: 0]
  ------------------
 3763|      2|    if (config->isolated) {
  ------------------
  |  Branch (3763:9): [True: 0, False: 2]
  ------------------
 3764|      0|        config->safe_path = 1;
 3765|      0|        config->use_environment = 0;
 3766|      0|        config->user_site_directory = 0;
 3767|      0|    }
 3768|       |
 3769|      2|    status = config_read_cmdline(config);
 3770|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3771|      0|        goto done;
 3772|      0|    }
 3773|       |
 3774|       |    /* Handle early PySys_AddXOption() calls */
 3775|      2|    status = _PySys_ReadPreinitXOptions(config);
 3776|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3777|      0|        goto done;
 3778|      0|    }
 3779|       |
 3780|      2|    status = config_read(config, compute_path_config);
 3781|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3782|      0|        goto done;
 3783|      0|    }
 3784|       |
 3785|      2|    assert(config_check_consistency(config));
  ------------------
  |  Branch (3785:5): [True: 2, False: 0]
  ------------------
 3786|       |
 3787|      2|    status = _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3788|       |
 3789|      2|done:
 3790|      2|    _PyPreCmdline_Clear(&precmdline);
 3791|      2|    return status;
 3792|      2|}
_PyConfig_CreateXOptionsDict:
 4585|      4|{
 4586|      4|    PyObject *dict = PyDict_New();
 4587|      4|    if (dict == NULL) {
  ------------------
  |  Branch (4587:9): [True: 0, False: 4]
  ------------------
 4588|      0|        return NULL;
 4589|      0|    }
 4590|       |
 4591|      4|    Py_ssize_t nxoption = config->xoptions.length;
 4592|      4|    wchar_t **xoptions = config->xoptions.items;
 4593|      4|    for (Py_ssize_t i=0; i < nxoption; i++) {
  ------------------
  |  Branch (4593:26): [True: 0, False: 4]
  ------------------
 4594|      0|        const wchar_t *option = xoptions[i];
 4595|      0|        if (config_add_xoption(dict, option) < 0) {
  ------------------
  |  Branch (4595:13): [True: 0, False: 0]
  ------------------
 4596|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4597|      0|            return NULL;
 4598|      0|        }
 4599|      0|    }
 4600|      4|    return dict;
 4601|      4|}
initconfig.c:_PyWideStringList_ClearEx:
  804|    108|{
  805|    108|    assert(_PyWideStringList_CheckConsistency(list));
  ------------------
  |  Branch (805:5): [True: 108, False: 0]
  ------------------
  806|    120|    for (Py_ssize_t i=0; i < list->length; i++) {
  ------------------
  |  Branch (806:26): [True: 12, False: 108]
  ------------------
  807|     12|        if (use_default_allocator) {
  ------------------
  |  Branch (807:13): [True: 0, False: 12]
  ------------------
  808|      0|            _PyMem_DefaultRawFree(list->items[i]);
  809|      0|        }
  810|     12|        else {
  811|     12|            PyMem_RawFree(list->items[i]);
  812|     12|        }
  813|     12|    }
  814|    108|    if (use_default_allocator) {
  ------------------
  |  Branch (814:9): [True: 2, False: 106]
  ------------------
  815|      2|        _PyMem_DefaultRawFree(list->items);
  816|      2|    }
  817|    106|    else {
  818|    106|        PyMem_RawFree(list->items);
  819|    106|    }
  820|    108|    list->length = 0;
  821|       |    list->items = NULL;
  822|    108|}
initconfig.c:_PyWideStringList_CopyEx:
  834|     40|{
  835|     40|    assert(_PyWideStringList_CheckConsistency(list));
  ------------------
  |  Branch (835:5): [True: 40, False: 0]
  ------------------
  836|     40|    assert(_PyWideStringList_CheckConsistency(list2));
  ------------------
  |  Branch (836:5): [True: 40, False: 0]
  ------------------
  837|       |
  838|     40|    if (list2->length == 0) {
  ------------------
  |  Branch (838:9): [True: 34, False: 6]
  ------------------
  839|     34|        _PyWideStringList_ClearEx(list, use_default_allocator);
  840|     34|        return 0;
  841|     34|    }
  842|       |
  843|      6|    PyWideStringList copy = _PyWideStringList_INIT;
  ------------------
  |  |   53|      6|#define _PyWideStringList_INIT (PyWideStringList){.length = 0, .items = NULL}
  ------------------
  844|       |
  845|      6|    size_t size = list2->length * sizeof(list2->items[0]);
  846|      6|    if (use_default_allocator) {
  ------------------
  |  Branch (846:9): [True: 0, False: 6]
  ------------------
  847|      0|        copy.items = _PyMem_DefaultRawMalloc(size);
  848|      0|    }
  849|      6|    else {
  850|      6|        copy.items = PyMem_RawMalloc(size);
  851|      6|    }
  852|      6|    if (copy.items == NULL) {
  ------------------
  |  Branch (852:9): [True: 0, False: 6]
  ------------------
  853|      0|        return -1;
  854|      0|    }
  855|       |
  856|     16|    for (Py_ssize_t i=0; i < list2->length; i++) {
  ------------------
  |  Branch (856:26): [True: 10, False: 6]
  ------------------
  857|     10|        wchar_t *item;
  858|     10|        if (use_default_allocator) {
  ------------------
  |  Branch (858:13): [True: 0, False: 10]
  ------------------
  859|      0|            item = _PyMem_DefaultRawWcsdup(list2->items[i]);
  860|      0|        }
  861|     10|        else {
  862|     10|            item = _PyMem_RawWcsdup(list2->items[i]);
  863|     10|        }
  864|     10|        if (item == NULL) {
  ------------------
  |  Branch (864:13): [True: 0, False: 10]
  ------------------
  865|      0|            _PyWideStringList_ClearEx(&copy, use_default_allocator);
  866|      0|            return -1;
  867|      0|        }
  868|     10|        copy.items[i] = item;
  869|     10|        copy.length = i + 1;
  870|     10|    }
  871|       |
  872|      6|    _PyWideStringList_ClearEx(list, use_default_allocator);
  873|      6|    *list = copy;
  874|      6|    return 0;
  875|      6|}
initconfig.c:config_init_defaults:
 1226|      6|{
 1227|      6|    _PyConfig_InitCompatConfig(config);
 1228|       |
 1229|      6|    config->isolated = 0;
 1230|      6|    config->use_environment = 1;
 1231|      6|    config->site_import = 1;
 1232|      6|    config->bytes_warning = 0;
 1233|      6|    config->inspect = 0;
 1234|      6|    config->interactive = 0;
 1235|      6|    config->optimization_level = 0;
 1236|      6|    config->parser_debug= 0;
 1237|      6|    config->write_bytecode = 1;
 1238|      6|    config->verbose = 0;
 1239|      6|    config->quiet = 0;
 1240|      6|    config->user_site_directory = 1;
 1241|      6|    config->buffered_stdio = 1;
 1242|      6|    config->pathconfig_warnings = 1;
 1243|       |#ifdef MS_WINDOWS
 1244|       |    config->legacy_windows_stdio = 0;
 1245|       |#endif
 1246|       |#ifdef Py_GIL_DISABLED
 1247|       |    config->thread_inherit_context = 1;
 1248|       |    config->context_aware_warnings = 1;
 1249|       |#else
 1250|      6|    config->thread_inherit_context = 0;
 1251|      6|    config->context_aware_warnings = 0;
 1252|      6|#endif
 1253|       |#ifdef __APPLE__
 1254|       |    config->use_system_logger = USE_SYSTEM_LOGGER_DEFAULT;
 1255|       |#endif
 1256|      6|}
initconfig.c:config_set_bytes_string:
 1329|      2|{
 1330|      2|    PyStatus status = _Py_PreInitializeFromConfig(config, NULL);
 1331|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1332|      0|        return status;
 1333|      0|    }
 1334|       |
 1335|      2|    wchar_t *str2;
 1336|      2|    if (str != NULL) {
  ------------------
  |  Branch (1336:9): [True: 2, False: 0]
  ------------------
 1337|      2|        size_t len;
 1338|      2|        str2 = Py_DecodeLocale(str, &len);
 1339|      2|        if (str2 == NULL) {
  ------------------
  |  Branch (1339:13): [True: 0, False: 2]
  ------------------
 1340|      0|            if (len == (size_t)-2) {
  ------------------
  |  Branch (1340:17): [True: 0, False: 0]
  ------------------
 1341|      0|                return _PyStatus_ERR(decode_err_msg);
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 1342|      0|            }
 1343|      0|            else {
 1344|      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)}
  |  |  ------------------
  ------------------
 1345|      0|            }
 1346|      0|        }
 1347|      2|    }
 1348|      0|    else {
 1349|      0|        str2 = NULL;
 1350|      0|    }
 1351|      2|    PyMem_RawFree(*config_str);
 1352|      2|    *config_str = str2;
 1353|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1354|      2|}
initconfig.c:config_get_spec_member:
 1374|    738|{
 1375|    738|    return (char *)config + spec->offset;
 1376|    738|}
initconfig.c:config_dict_get_int:
 1471|     86|{
 1472|     86|    PyObject *item = config_dict_get(dict, name);
 1473|     86|    if (item == NULL) {
  ------------------
  |  Branch (1473:9): [True: 0, False: 86]
  ------------------
 1474|      0|        return -1;
 1475|      0|    }
 1476|     86|    int value = PyLong_AsInt(item);
 1477|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1478|     86|    if (value == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1478:9): [True: 4, False: 82]
  |  Branch (1478:24): [True: 0, False: 4]
  ------------------
 1479|      0|        if (PyErr_ExceptionMatches(PyExc_TypeError)) {
  ------------------
  |  Branch (1479:13): [True: 0, False: 0]
  ------------------
 1480|      0|            config_dict_invalid_type(name);
 1481|      0|        }
 1482|      0|        else if (PyErr_ExceptionMatches(PyExc_OverflowError)) {
  ------------------
  |  Branch (1482:18): [True: 0, False: 0]
  ------------------
 1483|      0|            config_dict_invalid_value(name);
 1484|      0|        }
 1485|      0|        return -1;
 1486|      0|    }
 1487|     86|    *result = value;
 1488|     86|    return 0;
 1489|     86|}
initconfig.c:config_dict_get_ulong:
 1494|      2|{
 1495|      2|    PyObject *item = config_dict_get(dict, name);
 1496|      2|    if (item == NULL) {
  ------------------
  |  Branch (1496:9): [True: 0, False: 2]
  ------------------
 1497|      0|        return -1;
 1498|      0|    }
 1499|      2|    unsigned long value = PyLong_AsUnsignedLong(item);
 1500|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1501|      2|    if (value == (unsigned long)-1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1501:9): [True: 0, False: 2]
  |  Branch (1501:39): [True: 0, False: 0]
  ------------------
 1502|      0|        if (PyErr_ExceptionMatches(PyExc_TypeError)) {
  ------------------
  |  Branch (1502:13): [True: 0, False: 0]
  ------------------
 1503|      0|            config_dict_invalid_type(name);
 1504|      0|        }
 1505|      0|        else if (PyErr_ExceptionMatches(PyExc_OverflowError)) {
  ------------------
  |  Branch (1505:18): [True: 0, False: 0]
  ------------------
 1506|      0|            config_dict_invalid_value(name);
 1507|      0|        }
 1508|      0|        return -1;
 1509|      0|    }
 1510|      2|    *result = value;
 1511|      2|    return 0;
 1512|      2|}
initconfig.c:config_dict_get_wstr:
 1518|     44|{
 1519|     44|    PyObject *item = config_dict_get(dict, name);
 1520|     44|    if (item == NULL) {
  ------------------
  |  Branch (1520:9): [True: 0, False: 44]
  ------------------
 1521|      0|        return -1;
 1522|      0|    }
 1523|       |
 1524|     44|    PyStatus status;
 1525|     44|    if (item == Py_None) {
  ------------------
  |  |  616|     44|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1525:9): [True: 16, False: 28]
  ------------------
 1526|     16|        status = PyConfig_SetString(config, result, NULL);
 1527|     16|    }
 1528|     28|    else if (!PyUnicode_Check(item)) {
  ------------------
  |  |  103|     28|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     28|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1528:14): [True: 0, False: 28]
  ------------------
 1529|      0|        config_dict_invalid_type(name);
 1530|      0|        goto error;
 1531|      0|    }
 1532|     28|    else {
 1533|     28|        wchar_t *wstr = PyUnicode_AsWideCharString(item, NULL);
 1534|     28|        if (wstr == NULL) {
  ------------------
  |  Branch (1534:13): [True: 0, False: 28]
  ------------------
 1535|      0|            goto error;
 1536|      0|        }
 1537|     28|        status = PyConfig_SetString(config, result, wstr);
 1538|     28|        PyMem_Free(wstr);
 1539|     28|    }
 1540|     44|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|     44|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 44]
  |  |  ------------------
  ------------------
 1541|      0|        PyErr_NoMemory();
 1542|      0|        goto error;
 1543|      0|    }
 1544|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1545|     44|    return 0;
 1546|       |
 1547|      0|error:
 1548|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1549|      0|    return -1;
 1550|     44|}
initconfig.c:config_dict_get_xoptions:
 1612|      2|{
 1613|      2|    PyObject *xoptions = config_dict_get(dict, name);
 1614|      2|    if (xoptions == NULL) {
  ------------------
  |  Branch (1614:9): [True: 0, False: 2]
  ------------------
 1615|      0|        return -1;
 1616|      0|    }
 1617|       |
 1618|      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 (1618:9): [True: 0, False: 2]
  ------------------
 1619|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1620|      0|        config_dict_invalid_type(name);
 1621|      0|        return -1;
 1622|      0|    }
 1623|       |
 1624|      2|    Py_ssize_t pos = 0;
 1625|      2|    PyObject *key, *value;
 1626|      2|    PyWideStringList wstrlist = _PyWideStringList_INIT;
  ------------------
  |  |   53|      2|#define _PyWideStringList_INIT (PyWideStringList){.length = 0, .items = NULL}
  ------------------
 1627|      2|    while (PyDict_Next(xoptions, &pos, &key, &value)) {
  ------------------
  |  Branch (1627:12): [True: 0, False: 2]
  ------------------
 1628|      0|        PyObject *item;
 1629|       |
 1630|      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 (1630:13): [True: 0, False: 0]
  ------------------
 1631|      0|            item = PyUnicode_FromFormat("%S=%S", key, value);
 1632|      0|            if (item == NULL) {
  ------------------
  |  Branch (1632:17): [True: 0, False: 0]
  ------------------
 1633|      0|                goto error;
 1634|      0|            }
 1635|      0|        }
 1636|      0|        else {
 1637|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1638|      0|        }
 1639|       |
 1640|      0|        wchar_t *wstr = PyUnicode_AsWideCharString(item, NULL);
 1641|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1642|      0|        if (wstr == NULL) {
  ------------------
  |  Branch (1642:13): [True: 0, False: 0]
  ------------------
 1643|      0|            goto error;
 1644|      0|        }
 1645|       |
 1646|      0|        PyStatus status = PyWideStringList_Append(&wstrlist, wstr);
 1647|      0|        PyMem_Free(wstr);
 1648|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1649|      0|            PyErr_NoMemory();
 1650|      0|            goto error;
 1651|      0|        }
 1652|      0|    }
 1653|       |
 1654|      2|    if (_PyWideStringList_Copy(result, &wstrlist) < 0) {
  ------------------
  |  Branch (1654:9): [True: 0, False: 2]
  ------------------
 1655|      0|        PyErr_NoMemory();
 1656|      0|        goto error;
 1657|      0|    }
 1658|      2|    _PyWideStringList_Clear(&wstrlist);
 1659|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1660|      2|    return 0;
 1661|       |
 1662|      0|error:
 1663|      0|    _PyWideStringList_Clear(&wstrlist);
 1664|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1665|      0|    return -1;
 1666|      2|}
initconfig.c:config_dict_get_wstrlist:
 1556|      8|{
 1557|      8|    PyObject *list = config_dict_get(dict, name);
 1558|      8|    if (list == NULL) {
  ------------------
  |  Branch (1558:9): [True: 0, False: 8]
  ------------------
 1559|      0|        return -1;
 1560|      0|    }
 1561|       |
 1562|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1563|      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 (1563:9): [True: 6, False: 2]
  |  Branch (1563:21): [True: 0, False: 6]
  ------------------
 1564|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1565|      0|        config_dict_invalid_type(name);
 1566|      0|        return -1;
 1567|      0|    }
 1568|       |
 1569|      8|    PyWideStringList wstrlist = _PyWideStringList_INIT;
  ------------------
  |  |   53|      8|#define _PyWideStringList_INIT (PyWideStringList){.length = 0, .items = NULL}
  ------------------
 1570|      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 (1570:22): [True: 2, False: 6]
  ------------------
 1571|     16|    for (Py_ssize_t i=0; i < len; i++) {
  ------------------
  |  Branch (1571:26): [True: 8, False: 8]
  ------------------
 1572|      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 (1572:26): [True: 6, False: 2]
  |  Branch (1572:36): [True: 6, False: 0]
  |  Branch (1572:63): [True: 2, False: 0]
  ------------------
 1573|       |
 1574|      8|        if (item == Py_None) {
  ------------------
  |  |  616|      8|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1574:13): [True: 0, False: 8]
  ------------------
 1575|      0|            config_dict_invalid_value(name);
 1576|      0|            goto error;
 1577|      0|        }
 1578|      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 (1578:18): [True: 0, False: 8]
  ------------------
 1579|      0|            config_dict_invalid_type(name);
 1580|      0|            goto error;
 1581|      0|        }
 1582|      8|        wchar_t *wstr = PyUnicode_AsWideCharString(item, NULL);
 1583|      8|        if (wstr == NULL) {
  ------------------
  |  Branch (1583:13): [True: 0, False: 8]
  ------------------
 1584|      0|            goto error;
 1585|      0|        }
 1586|      8|        PyStatus status = PyWideStringList_Append(&wstrlist, wstr);
 1587|      8|        PyMem_Free(wstr);
 1588|      8|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      8|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 8]
  |  |  ------------------
  ------------------
 1589|      0|            PyErr_NoMemory();
 1590|      0|            goto error;
 1591|      0|        }
 1592|      8|    }
 1593|       |
 1594|      8|    if (_PyWideStringList_Copy(result, &wstrlist) < 0) {
  ------------------
  |  Branch (1594:9): [True: 0, False: 8]
  ------------------
 1595|      0|        PyErr_NoMemory();
 1596|      0|        goto error;
 1597|      0|    }
 1598|      8|    _PyWideStringList_Clear(&wstrlist);
 1599|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1600|      8|    return 0;
 1601|       |
 1602|      0|error:
 1603|      0|    _PyWideStringList_Clear(&wstrlist);
 1604|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1605|      0|    return -1;
 1606|      8|}
initconfig.c:config_init_import:
 2801|      4|{
 2802|      4|    PyStatus status;
 2803|       |
 2804|      4|    status = _PyConfig_InitPathConfig(config, compute_path_config);
 2805|      4|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      4|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 4]
  |  |  ------------------
  ------------------
 2806|      0|        return status;
 2807|      0|    }
 2808|       |
 2809|      4|    const char *env = config_get_env(config, "PYTHON_FROZEN_MODULES");
 2810|      4|    if (env == NULL) {
  ------------------
  |  Branch (2810:9): [True: 4, False: 0]
  ------------------
 2811|      4|    }
 2812|      0|    else if (strcmp(env, "on") == 0) {
  ------------------
  |  Branch (2812:14): [True: 0, False: 0]
  ------------------
 2813|      0|        config->use_frozen_modules = 1;
 2814|      0|    }
 2815|      0|    else if (strcmp(env, "off") == 0) {
  ------------------
  |  Branch (2815:14): [True: 0, False: 0]
  ------------------
 2816|      0|        config->use_frozen_modules = 0;
 2817|      0|    } else {
 2818|      0|        return PyStatus_Error("bad value for PYTHON_FROZEN_MODULES "
 2819|      0|                              "(expected \"on\" or \"off\")");
 2820|      0|    }
 2821|       |
 2822|       |    /* -X frozen_modules=[on|off] */
 2823|      4|    const wchar_t *value = config_get_xoption_value(config, L"frozen_modules");
 2824|      4|    if (value == NULL) {
  ------------------
  |  Branch (2824:9): [True: 4, False: 0]
  ------------------
 2825|      4|    }
 2826|      0|    else if (wcscmp(value, L"on") == 0) {
  ------------------
  |  Branch (2826:14): [True: 0, False: 0]
  ------------------
 2827|      0|        config->use_frozen_modules = 1;
 2828|      0|    }
 2829|      0|    else if (wcscmp(value, L"off") == 0) {
  ------------------
  |  Branch (2829:14): [True: 0, False: 0]
  ------------------
 2830|      0|        config->use_frozen_modules = 0;
 2831|      0|    }
 2832|      0|    else if (wcslen(value) == 0) {
  ------------------
  |  Branch (2832:14): [True: 0, False: 0]
  ------------------
 2833|       |        // "-X frozen_modules" and "-X frozen_modules=" both imply "on".
 2834|      0|        config->use_frozen_modules = 1;
 2835|      0|    }
 2836|      0|    else {
 2837|      0|        return PyStatus_Error("bad value for option -X frozen_modules "
 2838|      0|                              "(expected \"on\" or \"off\")");
 2839|      0|    }
 2840|       |
 2841|      4|    assert(config->use_frozen_modules >= 0);
  ------------------
  |  Branch (2841:5): [True: 4, False: 0]
  ------------------
 2842|      4|    return _PyStatus_OK();
  ------------------
  |  |   24|      4|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2843|      4|}
initconfig.c:config_get_env:
 1767|     38|{
 1768|     38|    return _Py_GetEnv(config->use_environment, name);
 1769|     38|}
initconfig.c:config_get_xoption_value:
 1882|     10|{
 1883|     10|    const wchar_t *xoption = config_get_xoption(config, name);
 1884|     10|    if (xoption == NULL) {
  ------------------
  |  Branch (1884:9): [True: 10, False: 0]
  ------------------
 1885|     10|        return NULL;
 1886|     10|    }
 1887|      0|    const wchar_t *sep = wcschr(xoption, L'=');
 1888|      0|    return sep ? sep + 1 : L"";
  ------------------
  |  Branch (1888:12): [True: 0, False: 0]
  ------------------
 1889|     10|}
initconfig.c:config_get_xoption:
 1876|     34|{
 1877|     34|    return _Py_get_xoption(&config->xoptions, name);
 1878|     34|}
initconfig.c:config_set_global_vars:
 1845|      2|{
 1846|      2|    const PyConfigSpec *spec = PYCONFIG_SPEC;
 1847|    144|    for (; spec->name != NULL; spec++) {
  ------------------
  |  Branch (1847:12): [True: 142, False: 2]
  ------------------
 1848|    142|        if (spec->global_var.ptr == NULL) {
  ------------------
  |  Branch (1848:13): [True: 114, False: 28]
  ------------------
 1849|    114|            continue;
 1850|    114|        }
 1851|    142|        assert(spec->type == PyConfig_MEMBER_INT
  ------------------
  |  Branch (1851:9): [True: 0, False: 28]
  |  Branch (1851:9): [True: 6, False: 22]
  |  Branch (1851:9): [True: 22, False: 0]
  ------------------
 1852|     28|               || spec->type == PyConfig_MEMBER_UINT
 1853|     28|               || spec->type == PyConfig_MEMBER_BOOL);
 1854|     28|        int *member = config_get_spec_member(config, spec);
 1855|     28|        int value = *member;
 1856|     28|        if (value == -1) {
  ------------------
  |  Branch (1856:13): [True: 0, False: 28]
  ------------------
 1857|      0|            continue;
 1858|      0|        }
 1859|     28|        if (spec->global_var.not) {
  ------------------
  |  Branch (1859:13): [True: 12, False: 16]
  ------------------
 1860|     12|            value = !value;
 1861|     12|        }
 1862|     28|        *spec->global_var.ptr = value;
 1863|     28|    }
 1864|       |
 1865|      2|_Py_COMP_DIAG_PUSH
 1866|      2|_Py_COMP_DIAG_IGNORE_DEPR_DECLS
 1867|       |    /* Random or non-zero hash seed */
 1868|      2|    Py_HashRandomizationFlag = (config->use_hash_seed == 0 ||
  ------------------
  |  Branch (1868:33): [True: 2, False: 0]
  ------------------
 1869|      0|                                config->hash_seed != 0);
  ------------------
  |  Branch (1869:33): [True: 0, False: 0]
  ------------------
 1870|      2|_Py_COMP_DIAG_POP
 1871|      2|}
initconfig.c:config_init_stdio:
 2972|      2|{
 2973|       |#if defined(MS_WINDOWS) || defined(__CYGWIN__)
 2974|       |    /* don't translate newlines (\r\n <=> \n) */
 2975|       |    _setmode(fileno(stdin), O_BINARY);
 2976|       |    _setmode(fileno(stdout), O_BINARY);
 2977|       |    _setmode(fileno(stderr), O_BINARY);
 2978|       |#endif
 2979|       |
 2980|      2|    if (!config->buffered_stdio) {
  ------------------
  |  Branch (2980:9): [True: 0, False: 2]
  ------------------
 2981|      0|#ifdef HAVE_SETVBUF
 2982|      0|        setvbuf(stdin,  (char *)NULL, _IONBF, BUFSIZ);
 2983|      0|        setvbuf(stdout, (char *)NULL, _IONBF, BUFSIZ);
 2984|      0|        setvbuf(stderr, (char *)NULL, _IONBF, BUFSIZ);
 2985|       |#else /* !HAVE_SETVBUF */
 2986|       |        setbuf(stdin,  (char *)NULL);
 2987|       |        setbuf(stdout, (char *)NULL);
 2988|       |        setbuf(stderr, (char *)NULL);
 2989|       |#endif /* !HAVE_SETVBUF */
 2990|      0|    }
 2991|      2|    else if (config->interactive) {
  ------------------
  |  Branch (2991:14): [True: 0, False: 2]
  ------------------
 2992|       |#ifdef MS_WINDOWS
 2993|       |        /* Doesn't have to have line-buffered -- use unbuffered */
 2994|       |        /* Any set[v]buf(stdin, ...) screws up Tkinter :-( */
 2995|       |        setvbuf(stdout, (char *)NULL, _IONBF, BUFSIZ);
 2996|       |#else /* !MS_WINDOWS */
 2997|      0|#ifdef HAVE_SETVBUF
 2998|      0|        setvbuf(stdin,  (char *)NULL, _IOLBF, BUFSIZ);
 2999|      0|        setvbuf(stdout, (char *)NULL, _IOLBF, BUFSIZ);
 3000|      0|#endif /* HAVE_SETVBUF */
 3001|      0|#endif /* !MS_WINDOWS */
 3002|       |        /* Leave stderr alone - it should be unbuffered anyway. */
 3003|      0|    }
 3004|      2|}
initconfig.c:_Py_SetArgcArgv:
 1011|      2|{
 1012|      2|    const PyWideStringList argv_list = {.length = argc, .items = (wchar_t **)argv};
 1013|       |
 1014|       |    // XXX _PyRuntime.orig_argv only gets cleared by Py_Main(),
 1015|       |    // so it currently leaks for embedders.
 1016|       |    return _PyWideStringList_CopyEx(&_PyRuntime.orig_argv, &argv_list, true);
 1017|      2|}
initconfig.c:config_get_global_vars:
 1815|      2|{
 1816|      2|    if (config->_config_init != _PyConfig_INIT_COMPAT) {
  ------------------
  |  Branch (1816:9): [True: 2, False: 0]
  ------------------
 1817|       |        /* Python and Isolated configuration ignore global variables */
 1818|      2|        return;
 1819|      2|    }
 1820|       |
 1821|      0|    const PyConfigSpec *spec = PYCONFIG_SPEC;
 1822|      0|    for (; spec->name != NULL; spec++) {
  ------------------
  |  Branch (1822:12): [True: 0, False: 0]
  ------------------
 1823|      0|        if (spec->global_var.ptr == NULL) {
  ------------------
  |  Branch (1823:13): [True: 0, False: 0]
  ------------------
 1824|      0|            continue;
 1825|      0|        }
 1826|      0|        assert(spec->type == PyConfig_MEMBER_INT
  ------------------
  |  Branch (1826:9): [True: 0, False: 0]
  |  Branch (1826:9): [True: 0, False: 0]
  |  Branch (1826:9): [True: 0, False: 0]
  ------------------
 1827|      0|               || spec->type == PyConfig_MEMBER_UINT
 1828|      0|               || spec->type == PyConfig_MEMBER_BOOL);
 1829|      0|        int *member = config_get_spec_member(config, spec);
 1830|      0|        if (*member != -1) {
  ------------------
  |  Branch (1830:13): [True: 0, False: 0]
  ------------------
 1831|      0|            continue;
 1832|      0|        }
 1833|      0|        int value = *spec->global_var.ptr;
 1834|      0|        if (spec->global_var.not) {
  ------------------
  |  Branch (1834:13): [True: 0, False: 0]
  ------------------
 1835|      0|            value = !value;
 1836|      0|        }
 1837|      0|        *member = value;
 1838|      0|    }
 1839|      0|}
initconfig.c:core_read_precmdline:
 3499|      2|{
 3500|      2|    PyStatus status;
 3501|       |
 3502|      2|    if (config->parse_argv == 1) {
  ------------------
  |  Branch (3502:9): [True: 2, False: 0]
  ------------------
 3503|      2|        if (_PyWideStringList_Copy(&precmdline->argv, &config->argv) < 0) {
  ------------------
  |  Branch (3503:13): [True: 0, False: 2]
  ------------------
 3504|      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)}
  |  |  ------------------
  ------------------
 3505|      0|        }
 3506|      2|    }
 3507|       |
 3508|      2|    PyPreConfig preconfig;
 3509|       |
 3510|      2|    status = _PyPreConfig_InitFromPreConfig(&preconfig, &_PyRuntime.preconfig);
 3511|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3512|      0|        return status;
 3513|      0|    }
 3514|       |
 3515|      2|    _PyPreConfig_GetConfig(&preconfig, config);
 3516|       |
 3517|      2|    status = _PyPreCmdline_Read(precmdline, &preconfig);
 3518|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3519|      0|        return status;
 3520|      0|    }
 3521|       |
 3522|      2|    status = _PyPreCmdline_SetConfig(precmdline, config);
 3523|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3524|      0|        return status;
 3525|      0|    }
 3526|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3527|      2|}
initconfig.c:config_read_cmdline:
 3563|      2|{
 3564|      2|    PyStatus status;
 3565|      2|    PyWideStringList cmdline_warnoptions = _PyWideStringList_INIT;
  ------------------
  |  |   53|      2|#define _PyWideStringList_INIT (PyWideStringList){.length = 0, .items = NULL}
  ------------------
 3566|      2|    PyWideStringList env_warnoptions = _PyWideStringList_INIT;
  ------------------
  |  |   53|      2|#define _PyWideStringList_INIT (PyWideStringList){.length = 0, .items = NULL}
  ------------------
 3567|      2|    PyWideStringList sys_warnoptions = _PyWideStringList_INIT;
  ------------------
  |  |   53|      2|#define _PyWideStringList_INIT (PyWideStringList){.length = 0, .items = NULL}
  ------------------
 3568|       |
 3569|      2|    if (config->parse_argv < 0) {
  ------------------
  |  Branch (3569:9): [True: 0, False: 2]
  ------------------
 3570|      0|        config->parse_argv = 1;
 3571|      0|    }
 3572|       |
 3573|      2|    if (config->parse_argv == 1) {
  ------------------
  |  Branch (3573:9): [True: 2, False: 0]
  ------------------
 3574|      2|        Py_ssize_t opt_index;
 3575|      2|        status = config_parse_cmdline(config, &cmdline_warnoptions, &opt_index);
 3576|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3577|      0|            goto done;
 3578|      0|        }
 3579|       |
 3580|      2|        status = config_run_filename_abspath(config);
 3581|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3582|      0|            goto done;
 3583|      0|        }
 3584|       |
 3585|      2|        status = config_update_argv(config, opt_index);
 3586|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3587|      0|            goto done;
 3588|      0|        }
 3589|      2|    }
 3590|      0|    else {
 3591|      0|        status = config_run_filename_abspath(config);
 3592|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3593|      0|            goto done;
 3594|      0|        }
 3595|      0|    }
 3596|       |
 3597|      2|    if (config->use_environment) {
  ------------------
  |  Branch (3597:9): [True: 2, False: 0]
  ------------------
 3598|      2|        status = config_init_env_warnoptions(config, &env_warnoptions);
 3599|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3600|      0|            goto done;
 3601|      0|        }
 3602|      2|    }
 3603|       |
 3604|       |    /* Handle early PySys_AddWarnOption() calls */
 3605|      2|    status = _PySys_ReadPreinitWarnOptions(&sys_warnoptions);
 3606|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3607|      0|        goto done;
 3608|      0|    }
 3609|       |
 3610|      2|    status = config_init_warnoptions(config,
 3611|      2|                                     &cmdline_warnoptions,
 3612|      2|                                     &env_warnoptions,
 3613|      2|                                     &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 = _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3619|       |
 3620|      2|done:
 3621|      2|    _PyWideStringList_Clear(&cmdline_warnoptions);
 3622|      2|    _PyWideStringList_Clear(&env_warnoptions);
 3623|      2|    _PyWideStringList_Clear(&sys_warnoptions);
 3624|      2|    return status;
 3625|      2|}
initconfig.c:config_parse_cmdline:
 3086|      2|{
 3087|      2|    PyStatus status;
 3088|      2|    const PyWideStringList *argv = &config->argv;
 3089|      2|    int print_version = 0;
 3090|      2|    const wchar_t* program = config->program_name;
 3091|      2|    if (!program && argv->length >= 1) {
  ------------------
  |  Branch (3091:9): [True: 0, False: 2]
  |  Branch (3091:21): [True: 0, False: 0]
  ------------------
 3092|      0|        program = argv->items[0];
 3093|      0|    }
 3094|       |
 3095|      2|    _PyOS_ResetGetOpt();
 3096|      2|    do {
 3097|      2|        int longindex = -1;
 3098|      2|        int c = _PyOS_GetOpt(argv->length, argv->items, &longindex);
 3099|      2|        if (c == EOF) {
  ------------------
  |  Branch (3099:13): [True: 2, False: 0]
  ------------------
 3100|      2|            break;
 3101|      2|        }
 3102|       |
 3103|      0|        if (c == 'c') {
  ------------------
  |  Branch (3103:13): [True: 0, False: 0]
  ------------------
 3104|      0|            if (config->run_command == NULL) {
  ------------------
  |  Branch (3104:17): [True: 0, False: 0]
  ------------------
 3105|       |                /* -c is the last option; following arguments
 3106|       |                   that look like options are left for the
 3107|       |                   command to interpret. */
 3108|      0|                size_t len = wcslen(_PyOS_optarg) + 1 + 1;
 3109|      0|                wchar_t *command = PyMem_RawMalloc(sizeof(wchar_t) * len);
 3110|      0|                if (command == NULL) {
  ------------------
  |  Branch (3110:21): [True: 0, False: 0]
  ------------------
 3111|      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)}
  |  |  ------------------
  ------------------
 3112|      0|                }
 3113|      0|                memcpy(command, _PyOS_optarg, (len - 2) * sizeof(wchar_t));
 3114|      0|                command[len - 2] = '\n';
 3115|      0|                command[len - 1] = 0;
 3116|      0|                config->run_command = command;
 3117|      0|            }
 3118|      0|            break;
 3119|      0|        }
 3120|       |
 3121|      0|        if (c == 'm') {
  ------------------
  |  Branch (3121:13): [True: 0, False: 0]
  ------------------
 3122|       |            /* -m is the last option; following arguments
 3123|       |               that look like options are left for the
 3124|       |               module to interpret. */
 3125|      0|            if (config->run_module == NULL) {
  ------------------
  |  Branch (3125:17): [True: 0, False: 0]
  ------------------
 3126|      0|                config->run_module = _PyMem_RawWcsdup(_PyOS_optarg);
 3127|      0|                if (config->run_module == NULL) {
  ------------------
  |  Branch (3127:21): [True: 0, False: 0]
  ------------------
 3128|      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)}
  |  |  ------------------
  ------------------
 3129|      0|                }
 3130|      0|            }
 3131|      0|            break;
 3132|      0|        }
 3133|       |
 3134|      0|        switch (c) {
 3135|       |        // Integers represent long options, see Python/getopt.c
 3136|      0|        case 0:
  ------------------
  |  Branch (3136:9): [True: 0, False: 0]
  ------------------
 3137|       |            // check-hash-based-pycs
 3138|      0|            if (wcscmp(_PyOS_optarg, L"always") == 0
  ------------------
  |  Branch (3138:17): [True: 0, False: 0]
  ------------------
 3139|      0|                || wcscmp(_PyOS_optarg, L"never") == 0
  ------------------
  |  Branch (3139:20): [True: 0, False: 0]
  ------------------
 3140|      0|                || wcscmp(_PyOS_optarg, L"default") == 0)
  ------------------
  |  Branch (3140:20): [True: 0, False: 0]
  ------------------
 3141|      0|            {
 3142|      0|                status = PyConfig_SetString(config, &config->check_hash_pycs_mode,
 3143|      0|                                            _PyOS_optarg);
 3144|      0|                if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3145|      0|                    return status;
 3146|      0|                }
 3147|      0|            } else {
 3148|      0|                fprintf(stderr, "--check-hash-based-pycs must be one of "
 3149|      0|                        "'default', 'always', or 'never'\n");
 3150|      0|                config_usage(1, program);
 3151|      0|                return _PyStatus_EXIT(2);
  ------------------
  |  |   35|      0|    (PyStatus){ \
  |  |   36|      0|        ._type = _PyStatus_TYPE_EXIT, \
  |  |   37|      0|        .exitcode = (EXITCODE)}
  ------------------
 3152|      0|            }
 3153|      0|            break;
 3154|       |
 3155|      0|        case 1:
  ------------------
  |  Branch (3155:9): [True: 0, False: 0]
  ------------------
 3156|       |            // help-all
 3157|      0|            config_complete_usage(program);
 3158|      0|            return _PyStatus_EXIT(0);
  ------------------
  |  |   35|      0|    (PyStatus){ \
  |  |   36|      0|        ._type = _PyStatus_TYPE_EXIT, \
  |  |   37|      0|        .exitcode = (EXITCODE)}
  ------------------
 3159|       |
 3160|      0|        case 2:
  ------------------
  |  Branch (3160:9): [True: 0, False: 0]
  ------------------
 3161|       |            // help-env
 3162|      0|            config_envvars_usage();
 3163|      0|            return _PyStatus_EXIT(0);
  ------------------
  |  |   35|      0|    (PyStatus){ \
  |  |   36|      0|        ._type = _PyStatus_TYPE_EXIT, \
  |  |   37|      0|        .exitcode = (EXITCODE)}
  ------------------
 3164|       |
 3165|      0|        case 3:
  ------------------
  |  Branch (3165:9): [True: 0, False: 0]
  ------------------
 3166|       |            // help-xoptions
 3167|      0|            config_xoptions_usage();
 3168|      0|            return _PyStatus_EXIT(0);
  ------------------
  |  |   35|      0|    (PyStatus){ \
  |  |   36|      0|        ._type = _PyStatus_TYPE_EXIT, \
  |  |   37|      0|        .exitcode = (EXITCODE)}
  ------------------
 3169|       |
 3170|      0|        case 'b':
  ------------------
  |  Branch (3170:9): [True: 0, False: 0]
  ------------------
 3171|      0|            config->bytes_warning++;
 3172|      0|            break;
 3173|       |
 3174|      0|        case 'd':
  ------------------
  |  Branch (3174:9): [True: 0, False: 0]
  ------------------
 3175|      0|            config->parser_debug++;
 3176|      0|            break;
 3177|       |
 3178|      0|        case 'i':
  ------------------
  |  Branch (3178:9): [True: 0, False: 0]
  ------------------
 3179|      0|            config->inspect++;
 3180|      0|            config->interactive++;
 3181|      0|            break;
 3182|       |
 3183|      0|        case 'E':
  ------------------
  |  Branch (3183:9): [True: 0, False: 0]
  ------------------
 3184|      0|        case 'I':
  ------------------
  |  Branch (3184:9): [True: 0, False: 0]
  ------------------
 3185|      0|        case 'X':
  ------------------
  |  Branch (3185:9): [True: 0, False: 0]
  ------------------
 3186|       |            /* option handled by _PyPreCmdline_Read() */
 3187|      0|            break;
 3188|       |
 3189|      0|        case 'O':
  ------------------
  |  Branch (3189:9): [True: 0, False: 0]
  ------------------
 3190|      0|            config->optimization_level++;
 3191|      0|            break;
 3192|       |
 3193|      0|        case 'P':
  ------------------
  |  Branch (3193:9): [True: 0, False: 0]
  ------------------
 3194|      0|            config->safe_path = 1;
 3195|      0|            break;
 3196|       |
 3197|      0|        case 'B':
  ------------------
  |  Branch (3197:9): [True: 0, False: 0]
  ------------------
 3198|      0|            config->write_bytecode = 0;
 3199|      0|            break;
 3200|       |
 3201|      0|        case 's':
  ------------------
  |  Branch (3201:9): [True: 0, False: 0]
  ------------------
 3202|      0|            config->user_site_directory = 0;
 3203|      0|            break;
 3204|       |
 3205|      0|        case 'S':
  ------------------
  |  Branch (3205:9): [True: 0, False: 0]
  ------------------
 3206|      0|            config->site_import = 0;
 3207|      0|            break;
 3208|       |
 3209|      0|        case 't':
  ------------------
  |  Branch (3209:9): [True: 0, False: 0]
  ------------------
 3210|       |            /* ignored for backwards compatibility */
 3211|      0|            break;
 3212|       |
 3213|      0|        case 'u':
  ------------------
  |  Branch (3213:9): [True: 0, False: 0]
  ------------------
 3214|      0|            config->buffered_stdio = 0;
 3215|      0|            break;
 3216|       |
 3217|      0|        case 'v':
  ------------------
  |  Branch (3217:9): [True: 0, False: 0]
  ------------------
 3218|      0|            config->verbose++;
 3219|      0|            break;
 3220|       |
 3221|      0|        case 'x':
  ------------------
  |  Branch (3221:9): [True: 0, False: 0]
  ------------------
 3222|      0|            config->skip_source_first_line = 1;
 3223|      0|            break;
 3224|       |
 3225|      0|        case 'h':
  ------------------
  |  Branch (3225:9): [True: 0, False: 0]
  ------------------
 3226|      0|        case '?':
  ------------------
  |  Branch (3226:9): [True: 0, False: 0]
  ------------------
 3227|      0|            config_usage(0, program);
 3228|      0|            return _PyStatus_EXIT(0);
  ------------------
  |  |   35|      0|    (PyStatus){ \
  |  |   36|      0|        ._type = _PyStatus_TYPE_EXIT, \
  |  |   37|      0|        .exitcode = (EXITCODE)}
  ------------------
 3229|       |
 3230|      0|        case 'V':
  ------------------
  |  Branch (3230:9): [True: 0, False: 0]
  ------------------
 3231|      0|            print_version++;
 3232|      0|            break;
 3233|       |
 3234|      0|        case 'W':
  ------------------
  |  Branch (3234:9): [True: 0, False: 0]
  ------------------
 3235|      0|            status = PyWideStringList_Append(warnoptions, _PyOS_optarg);
 3236|      0|            if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3237|      0|                return status;
 3238|      0|            }
 3239|      0|            break;
 3240|       |
 3241|      0|        case 'q':
  ------------------
  |  Branch (3241:9): [True: 0, False: 0]
  ------------------
 3242|      0|            config->quiet++;
 3243|      0|            break;
 3244|       |
 3245|      0|        case 'R':
  ------------------
  |  Branch (3245:9): [True: 0, False: 0]
  ------------------
 3246|      0|            config->use_hash_seed = 0;
 3247|      0|            break;
 3248|       |
 3249|       |        /* This space reserved for other options */
 3250|       |
 3251|      0|        default:
  ------------------
  |  Branch (3251:9): [True: 0, False: 0]
  ------------------
 3252|       |            /* unknown argument: parsing failed */
 3253|      0|            config_usage(1, program);
 3254|      0|            return _PyStatus_EXIT(2);
  ------------------
  |  |   35|      0|    (PyStatus){ \
  |  |   36|      0|        ._type = _PyStatus_TYPE_EXIT, \
  |  |   37|      0|        .exitcode = (EXITCODE)}
  ------------------
 3255|      0|        }
 3256|      0|    } while (1);
  ------------------
  |  Branch (3256:14): [True: 0, Folded]
  ------------------
 3257|       |
 3258|      2|    if (print_version) {
  ------------------
  |  Branch (3258:9): [True: 0, False: 2]
  ------------------
 3259|      0|        printf("Python %s\n",
 3260|      0|                (print_version >= 2) ? Py_GetVersion() : PY_VERSION);
  ------------------
  |  |   30|      0|#define PY_VERSION              "3.16.0a0"
  ------------------
  |  Branch (3260:17): [True: 0, False: 0]
  ------------------
 3261|      0|        return _PyStatus_EXIT(0);
  ------------------
  |  |   35|      0|    (PyStatus){ \
  |  |   36|      0|        ._type = _PyStatus_TYPE_EXIT, \
  |  |   37|      0|        .exitcode = (EXITCODE)}
  ------------------
 3262|      0|    }
 3263|       |
 3264|      2|    if (config->run_command == NULL && config->run_module == NULL
  ------------------
  |  Branch (3264:9): [True: 2, False: 0]
  |  Branch (3264:40): [True: 2, False: 0]
  ------------------
 3265|      2|        && _PyOS_optind < argv->length
  ------------------
  |  Branch (3265:12): [True: 0, False: 2]
  ------------------
 3266|      0|        && wcscmp(argv->items[_PyOS_optind], L"-") != 0
  ------------------
  |  Branch (3266:12): [True: 0, False: 0]
  ------------------
 3267|      0|        && config->run_filename == NULL)
  ------------------
  |  Branch (3267:12): [True: 0, False: 0]
  ------------------
 3268|      0|    {
 3269|      0|        config->run_filename = _PyMem_RawWcsdup(argv->items[_PyOS_optind]);
 3270|      0|        if (config->run_filename == NULL) {
  ------------------
  |  Branch (3270:13): [True: 0, False: 0]
  ------------------
 3271|      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)}
  |  |  ------------------
  ------------------
 3272|      0|        }
 3273|      0|    }
 3274|       |
 3275|      2|    if (config->run_command != NULL || config->run_module != NULL) {
  ------------------
  |  Branch (3275:9): [True: 0, False: 2]
  |  Branch (3275:40): [True: 0, False: 2]
  ------------------
 3276|       |        /* Backup _PyOS_optind */
 3277|      0|        _PyOS_optind--;
 3278|      0|    }
 3279|       |
 3280|      2|    *opt_index = _PyOS_optind;
 3281|       |
 3282|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3283|      2|}
initconfig.c:config_run_filename_abspath:
 3533|      2|{
 3534|      2|    if (!config->run_filename) {
  ------------------
  |  Branch (3534:9): [True: 2, False: 0]
  ------------------
 3535|      2|        return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3536|      2|    }
 3537|       |
 3538|      0|#ifndef MS_WINDOWS
 3539|      0|    if (_Py_isabs(config->run_filename)) {
  ------------------
  |  Branch (3539:9): [True: 0, False: 0]
  ------------------
 3540|       |        /* path is already absolute */
 3541|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3542|      0|    }
 3543|      0|#endif
 3544|       |
 3545|      0|    wchar_t *abs_filename;
 3546|      0|    if (_Py_abspath(config->run_filename, &abs_filename) < 0) {
  ------------------
  |  Branch (3546:9): [True: 0, False: 0]
  ------------------
 3547|       |        /* failed to get the absolute path of the command line filename:
 3548|       |           ignore the error, keep the relative path */
 3549|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3550|      0|    }
 3551|      0|    if (abs_filename == NULL) {
  ------------------
  |  Branch (3551:9): [True: 0, False: 0]
  ------------------
 3552|      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)}
  |  |  ------------------
  ------------------
 3553|      0|    }
 3554|       |
 3555|      0|    PyMem_RawFree(config->run_filename);
 3556|      0|    config->run_filename = abs_filename;
 3557|      0|    return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3558|      0|}
initconfig.c:config_update_argv:
 3448|      2|{
 3449|      2|    const PyWideStringList *cmdline_argv = &config->argv;
 3450|      2|    PyWideStringList config_argv = _PyWideStringList_INIT;
  ------------------
  |  |   53|      2|#define _PyWideStringList_INIT (PyWideStringList){.length = 0, .items = NULL}
  ------------------
 3451|       |
 3452|       |    /* Copy argv to be able to modify it (to force -c/-m) */
 3453|      2|    if (cmdline_argv->length <= opt_index) {
  ------------------
  |  Branch (3453:9): [True: 2, False: 0]
  ------------------
 3454|       |        /* Ensure at least one (empty) argument is seen */
 3455|      2|        PyStatus status = PyWideStringList_Append(&config_argv, L"");
 3456|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3457|      0|            return status;
 3458|      0|        }
 3459|      2|    }
 3460|      0|    else {
 3461|      0|        PyWideStringList slice;
 3462|      0|        slice.length = cmdline_argv->length - opt_index;
 3463|      0|        slice.items = &cmdline_argv->items[opt_index];
 3464|      0|        if (_PyWideStringList_Copy(&config_argv, &slice) < 0) {
  ------------------
  |  Branch (3464:13): [True: 0, False: 0]
  ------------------
 3465|      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)}
  |  |  ------------------
  ------------------
 3466|      0|        }
 3467|      0|    }
 3468|      2|    assert(config_argv.length >= 1);
  ------------------
  |  Branch (3468:5): [True: 2, False: 0]
  ------------------
 3469|       |
 3470|      2|    wchar_t *arg0 = NULL;
 3471|      2|    if (config->run_command != NULL) {
  ------------------
  |  Branch (3471:9): [True: 0, False: 2]
  ------------------
 3472|       |        /* Force sys.argv[0] = '-c' */
 3473|      0|        arg0 = L"-c";
 3474|      0|    }
 3475|      2|    else if (config->run_module != NULL) {
  ------------------
  |  Branch (3475:14): [True: 0, False: 2]
  ------------------
 3476|       |        /* Force sys.argv[0] = '-m'*/
 3477|      0|        arg0 = L"-m";
 3478|      0|    }
 3479|       |
 3480|      2|    if (arg0 != NULL) {
  ------------------
  |  Branch (3480:9): [True: 0, False: 2]
  ------------------
 3481|      0|        arg0 = _PyMem_RawWcsdup(arg0);
 3482|      0|        if (arg0 == NULL) {
  ------------------
  |  Branch (3482:13): [True: 0, False: 0]
  ------------------
 3483|      0|            _PyWideStringList_Clear(&config_argv);
 3484|      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)}
  |  |  ------------------
  ------------------
 3485|      0|        }
 3486|       |
 3487|      0|        PyMem_RawFree(config_argv.items[0]);
 3488|      0|        config_argv.items[0] = arg0;
 3489|      0|    }
 3490|       |
 3491|      2|    _PyWideStringList_Clear(&config->argv);
 3492|      2|    config->argv = config_argv;
 3493|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3494|      2|}
initconfig.c:config_init_env_warnoptions:
 3295|      2|{
 3296|      2|    PyStatus status;
 3297|       |    /* CONFIG_GET_ENV_DUP requires dest to be initialized to NULL */
 3298|      2|    wchar_t *env = NULL;
 3299|      2|    status = CONFIG_GET_ENV_DUP(config, &env,
  ------------------
  |  | 1810|      2|    config_get_env_dup(CONFIG, DEST, WNAME, NAME, "cannot decode " NAME)
  ------------------
 3300|      2|                             L"PYTHONWARNINGS", "PYTHONWARNINGS");
 3301|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3302|      0|        return status;
 3303|      0|    }
 3304|       |
 3305|       |    /* env var is not set or is empty */
 3306|      2|    if (env == NULL) {
  ------------------
  |  Branch (3306:9): [True: 2, False: 0]
  ------------------
 3307|      2|        return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3308|      2|    }
 3309|       |
 3310|       |
 3311|      0|    wchar_t *warning, *context = NULL;
 3312|      0|    for (warning = WCSTOK(env, L",", &context);
  ------------------
  |  | 3289|      0|#  define WCSTOK wcstok
  ------------------
 3313|      0|         warning != NULL;
  ------------------
  |  Branch (3313:10): [True: 0, False: 0]
  ------------------
 3314|      0|         warning = WCSTOK(NULL, L",", &context))
  ------------------
  |  | 3289|      0|#  define WCSTOK wcstok
  ------------------
 3315|      0|    {
 3316|      0|        status = PyWideStringList_Append(warnoptions, warning);
 3317|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3318|      0|            PyMem_RawFree(env);
 3319|      0|            return status;
 3320|      0|        }
 3321|      0|    }
 3322|      0|    PyMem_RawFree(env);
 3323|      0|    return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3324|      0|}
initconfig.c:config_get_env_dup:
 1780|     10|{
 1781|     10|    assert(*dest == NULL);
  ------------------
  |  Branch (1781:5): [True: 10, False: 0]
  ------------------
 1782|     10|    assert(config->use_environment >= 0);
  ------------------
  |  Branch (1782:5): [True: 10, False: 0]
  ------------------
 1783|       |
 1784|     10|    if (!config->use_environment) {
  ------------------
  |  Branch (1784:9): [True: 0, False: 10]
  ------------------
 1785|      0|        *dest = NULL;
 1786|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1787|      0|    }
 1788|       |
 1789|       |#ifdef MS_WINDOWS
 1790|       |    const wchar_t *var = _wgetenv(wname);
 1791|       |    if (!var || var[0] == '\0') {
 1792|       |        *dest = NULL;
 1793|       |        return _PyStatus_OK();
 1794|       |    }
 1795|       |
 1796|       |    return PyConfig_SetString(config, dest, var);
 1797|       |#else
 1798|     10|    const char *var = getenv(name);
 1799|     10|    if (!var || var[0] == '\0') {
  ------------------
  |  Branch (1799:9): [True: 10, False: 0]
  |  Branch (1799:17): [True: 0, False: 0]
  ------------------
 1800|     10|        *dest = NULL;
 1801|     10|        return _PyStatus_OK();
  ------------------
  |  |   24|     10|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1802|     10|    }
 1803|       |
 1804|      0|    return config_set_bytes_string(config, dest, var, decode_err_msg);
 1805|     10|#endif
 1806|     10|}
initconfig.c:config_init_warnoptions:
 3369|      2|{
 3370|      2|    PyStatus status;
 3371|      2|    PyWideStringList options = _PyWideStringList_INIT;
  ------------------
  |  |   53|      2|#define _PyWideStringList_INIT (PyWideStringList){.length = 0, .items = NULL}
  ------------------
 3372|       |
 3373|       |    /* Priority of warnings options, lowest to highest:
 3374|       |     *
 3375|       |     * - any implicit filters added by _warnings.c/warnings.py
 3376|       |     * - PyConfig.dev_mode: "default" filter
 3377|       |     * - PYTHONWARNINGS environment variable
 3378|       |     * - '-W' command line options
 3379|       |     * - PyConfig.bytes_warning ('-b' and '-bb' command line options):
 3380|       |     *   "default::BytesWarning" or "error::BytesWarning" filter
 3381|       |     * - early PySys_AddWarnOption() calls
 3382|       |     * - PyConfig.warnoptions
 3383|       |     *
 3384|       |     * PyConfig.warnoptions is copied to sys.warnoptions. Since the warnings
 3385|       |     * module works on the basis of "the most recently added filter will be
 3386|       |     * checked first", we add the lowest precedence entries first so that later
 3387|       |     * entries override them.
 3388|       |     */
 3389|       |
 3390|      2|    if (config->dev_mode) {
  ------------------
  |  Branch (3390:9): [True: 0, False: 2]
  ------------------
 3391|      0|        status = warnoptions_append(config, &options, L"default");
 3392|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3393|      0|            goto error;
 3394|      0|        }
 3395|      0|    }
 3396|       |
 3397|      2|    status = warnoptions_extend(config, &options, env_warnoptions);
 3398|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3399|      0|        goto error;
 3400|      0|    }
 3401|       |
 3402|      2|    status = warnoptions_extend(config, &options, cmdline_warnoptions);
 3403|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3404|      0|        goto error;
 3405|      0|    }
 3406|       |
 3407|       |    /* If the bytes_warning_flag isn't set, bytesobject.c and bytearrayobject.c
 3408|       |     * don't even try to emit a warning, so we skip setting the filter in that
 3409|       |     * case.
 3410|       |     */
 3411|      2|    if (config->bytes_warning) {
  ------------------
  |  Branch (3411:9): [True: 0, False: 2]
  ------------------
 3412|      0|        const wchar_t *filter;
 3413|      0|        if (config->bytes_warning> 1) {
  ------------------
  |  Branch (3413:13): [True: 0, False: 0]
  ------------------
 3414|      0|            filter = L"error::BytesWarning";
 3415|      0|        }
 3416|      0|        else {
 3417|      0|            filter = L"default::BytesWarning";
 3418|      0|        }
 3419|      0|        status = warnoptions_append(config, &options, filter);
 3420|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3421|      0|            goto error;
 3422|      0|        }
 3423|      0|    }
 3424|       |
 3425|      2|    status = warnoptions_extend(config, &options, sys_warnoptions);
 3426|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3427|      0|        goto error;
 3428|      0|    }
 3429|       |
 3430|       |    /* Always add all PyConfig.warnoptions options */
 3431|      2|    status = _PyWideStringList_Extend(&options, &config->warnoptions);
 3432|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3433|      0|        goto error;
 3434|      0|    }
 3435|       |
 3436|      2|    _PyWideStringList_Clear(&config->warnoptions);
 3437|      2|    config->warnoptions = options;
 3438|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3439|       |
 3440|      0|error:
 3441|      0|    _PyWideStringList_Clear(&options);
 3442|      0|    return status;
 3443|      2|}
initconfig.c:warnoptions_extend:
 3350|      6|{
 3351|      6|    const Py_ssize_t len = options2->length;
 3352|      6|    wchar_t *const *items = options2->items;
 3353|       |
 3354|      6|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (3354:28): [True: 0, False: 6]
  ------------------
 3355|      0|        PyStatus status = warnoptions_append(config, options, items[i]);
 3356|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3357|      0|            return status;
 3358|      0|        }
 3359|      0|    }
 3360|      6|    return _PyStatus_OK();
  ------------------
  |  |   24|      6|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3361|      6|}
initconfig.c:config_read:
 2854|      2|{
 2855|      2|    PyStatus status;
 2856|      2|    const PyPreConfig *preconfig = &_PyRuntime.preconfig;
 2857|       |
 2858|      2|    if (config->use_environment) {
  ------------------
  |  Branch (2858:9): [True: 2, False: 0]
  ------------------
 2859|      2|        status = config_read_env_vars(config);
 2860|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2861|      0|            return status;
 2862|      0|        }
 2863|      2|    }
 2864|       |
 2865|       |    /* -X options */
 2866|      2|    if (config_get_xoption(config, L"showrefcount")) {
  ------------------
  |  Branch (2866:9): [True: 0, False: 2]
  ------------------
 2867|      0|        config->show_ref_count = 1;
 2868|      0|    }
 2869|       |
 2870|      2|    const wchar_t *x_gil = config_get_xoption_value(config, L"gil");
 2871|      2|    if (x_gil != NULL) {
  ------------------
  |  Branch (2871:9): [True: 0, False: 2]
  ------------------
 2872|      0|        size_t len = wcslen(x_gil);
 2873|      0|        status = config_read_gil(config, len, x_gil[0]);
 2874|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2875|      0|            return status;
 2876|      0|        }
 2877|      0|    }
 2878|       |
 2879|       |#ifdef Py_STATS
 2880|       |    if (config_get_xoption(config, L"pystats")) {
 2881|       |        config->_pystats = 1;
 2882|       |    }
 2883|       |    else if (config_get_env(config, "PYTHONSTATS")) {
 2884|       |        config->_pystats = 1;
 2885|       |    }
 2886|       |    if (config->_pystats < 0) {
 2887|       |        config->_pystats = 0;
 2888|       |    }
 2889|       |#endif
 2890|       |
 2891|      2|    status = config_read_complex_options(config);
 2892|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2893|      0|        return status;
 2894|      0|    }
 2895|       |
 2896|      2|    if (config->_install_importlib) {
  ------------------
  |  Branch (2896:9): [True: 2, False: 0]
  ------------------
 2897|      2|        status = config_init_import(config, compute_path_config);
 2898|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2899|      0|            return status;
 2900|      0|        }
 2901|      2|    }
 2902|       |
 2903|       |    /* default values */
 2904|      2|    if (config->dev_mode) {
  ------------------
  |  Branch (2904:9): [True: 0, False: 2]
  ------------------
 2905|      0|        if (config->faulthandler < 0) {
  ------------------
  |  Branch (2905:13): [True: 0, False: 0]
  ------------------
 2906|      0|            config->faulthandler = 1;
 2907|      0|        }
 2908|      0|    }
 2909|      2|    if (config->faulthandler < 0) {
  ------------------
  |  Branch (2909:9): [True: 2, False: 0]
  ------------------
 2910|      2|        config->faulthandler = 0;
 2911|      2|    }
 2912|      2|    if (config->tracemalloc < 0) {
  ------------------
  |  Branch (2912:9): [True: 2, False: 0]
  ------------------
 2913|      2|        config->tracemalloc = 0;
 2914|      2|    }
 2915|      2|    if (config->lazy_imports < 0) {
  ------------------
  |  Branch (2915:9): [True: 2, False: 0]
  ------------------
 2916|      2|        config->lazy_imports = -1;  // Default is auto/unset
 2917|      2|    }
 2918|      2|    if (config->perf_profiling < 0) {
  ------------------
  |  Branch (2918:9): [True: 2, False: 0]
  ------------------
 2919|      2|        config->perf_profiling = 0;
 2920|      2|    }
 2921|      2|    if (config->remote_debug < 0) {
  ------------------
  |  Branch (2921:9): [True: 0, False: 2]
  ------------------
 2922|      0|        config->remote_debug = -1;
 2923|      0|    }
 2924|      2|    if (config->use_hash_seed < 0) {
  ------------------
  |  Branch (2924:9): [True: 0, False: 2]
  ------------------
 2925|      0|        config->use_hash_seed = 0;
 2926|      0|        config->hash_seed = 0;
 2927|      0|    }
 2928|       |
 2929|      2|    if (config->filesystem_encoding == NULL || config->filesystem_errors == NULL) {
  ------------------
  |  Branch (2929:9): [True: 2, False: 0]
  |  Branch (2929:48): [True: 0, False: 0]
  ------------------
 2930|      2|        status = config_init_fs_encoding(config, preconfig);
 2931|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2932|      0|            return status;
 2933|      0|        }
 2934|      2|    }
 2935|       |
 2936|      2|    status = config_init_stdio_encoding(config, preconfig);
 2937|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2938|      0|        return status;
 2939|      0|    }
 2940|       |
 2941|      2|    if (config->argv.length < 1) {
  ------------------
  |  Branch (2941:9): [True: 0, False: 2]
  ------------------
 2942|       |        /* Ensure at least one (empty) argument is seen */
 2943|      0|        status = PyWideStringList_Append(&config->argv, L"");
 2944|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2945|      0|            return status;
 2946|      0|        }
 2947|      0|    }
 2948|       |
 2949|      2|    if (config->check_hash_pycs_mode == NULL) {
  ------------------
  |  Branch (2949:9): [True: 2, False: 0]
  ------------------
 2950|      2|        status = PyConfig_SetString(config, &config->check_hash_pycs_mode,
 2951|      2|                                    L"default");
 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->configure_c_stdio < 0) {
  ------------------
  |  Branch (2957:9): [True: 0, False: 2]
  ------------------
 2958|      0|        config->configure_c_stdio = 1;
 2959|      0|    }
 2960|       |
 2961|       |    // Only parse arguments once.
 2962|      2|    if (config->parse_argv == 1) {
  ------------------
  |  Branch (2962:9): [True: 2, False: 0]
  ------------------
 2963|      2|        config->parse_argv = 2;
 2964|      2|    }
 2965|       |
 2966|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2967|      2|}
initconfig.c:config_read_env_vars:
 1968|      2|{
 1969|      2|    PyStatus status;
 1970|      2|    int use_env = config->use_environment;
 1971|       |
 1972|       |    /* Get environment variables */
 1973|      2|    _Py_get_env_flag(use_env, &config->parser_debug, "PYTHONDEBUG");
 1974|      2|    _Py_get_env_flag(use_env, &config->verbose, "PYTHONVERBOSE");
 1975|      2|    _Py_get_env_flag(use_env, &config->optimization_level, "PYTHONOPTIMIZE");
 1976|      2|    if (!config->inspect && _Py_GetEnv(use_env, "PYTHONINSPECT")) {
  ------------------
  |  Branch (1976:9): [True: 2, False: 0]
  |  Branch (1976:29): [True: 0, False: 2]
  ------------------
 1977|      0|        config->inspect = 1;
 1978|      0|    }
 1979|       |
 1980|      2|    int dont_write_bytecode = 0;
 1981|      2|    _Py_get_env_flag(use_env, &dont_write_bytecode, "PYTHONDONTWRITEBYTECODE");
 1982|      2|    if (dont_write_bytecode) {
  ------------------
  |  Branch (1982:9): [True: 0, False: 2]
  ------------------
 1983|      0|        config->write_bytecode = 0;
 1984|      0|    }
 1985|       |
 1986|      2|    int no_user_site_directory = 0;
 1987|      2|    _Py_get_env_flag(use_env, &no_user_site_directory, "PYTHONNOUSERSITE");
 1988|      2|    if (no_user_site_directory) {
  ------------------
  |  Branch (1988:9): [True: 0, False: 2]
  ------------------
 1989|      0|        config->user_site_directory = 0;
 1990|      0|    }
 1991|       |
 1992|      2|    int unbuffered_stdio = 0;
 1993|      2|    _Py_get_env_flag(use_env, &unbuffered_stdio, "PYTHONUNBUFFERED");
 1994|      2|    if (unbuffered_stdio) {
  ------------------
  |  Branch (1994:9): [True: 0, False: 2]
  ------------------
 1995|      0|        config->buffered_stdio = 0;
 1996|      0|    }
 1997|       |
 1998|       |#ifdef MS_WINDOWS
 1999|       |    _Py_get_env_flag(use_env, &config->legacy_windows_stdio,
 2000|       |                     "PYTHONLEGACYWINDOWSSTDIO");
 2001|       |#endif
 2002|       |
 2003|      2|    if (config_get_env(config, "PYTHONDUMPREFS")) {
  ------------------
  |  Branch (2003:9): [True: 0, False: 2]
  ------------------
 2004|      0|        config->dump_refs = 1;
 2005|      0|    }
 2006|      2|    if (config_get_env(config, "PYTHONMALLOCSTATS")) {
  ------------------
  |  Branch (2006:9): [True: 0, False: 2]
  ------------------
 2007|      0|        config->malloc_stats = 1;
 2008|      0|    }
 2009|      2|    {
 2010|      2|        const char *env = _Py_GetEnv(use_env, "PYTHON_PYMALLOC_HUGEPAGES");
 2011|      2|        if (env) {
  ------------------
  |  Branch (2011:13): [True: 0, False: 2]
  ------------------
 2012|      0|            int value;
 2013|      0|            if (_Py_str_to_int(env, &value) < 0 || value < 0) {
  ------------------
  |  Branch (2013:17): [True: 0, False: 0]
  |  Branch (2013:52): [True: 0, False: 0]
  ------------------
 2014|       |                /* PYTHON_PYMALLOC_HUGEPAGES=text or negative
 2015|       |                   behaves as PYTHON_PYMALLOC_HUGEPAGES=1 */
 2016|      0|                value = 1;
 2017|      0|            }
 2018|      0|            config->pymalloc_hugepages = (value > 0);
 2019|      0|        }
 2020|      2|    }
 2021|       |
 2022|      2|    if (config->dump_refs_file == NULL) {
  ------------------
  |  Branch (2022:9): [True: 2, False: 0]
  ------------------
 2023|      2|        status = CONFIG_GET_ENV_DUP(config, &config->dump_refs_file,
  ------------------
  |  | 1810|      2|    config_get_env_dup(CONFIG, DEST, WNAME, NAME, "cannot decode " NAME)
  ------------------
 2024|      2|                                    L"PYTHONDUMPREFSFILE", "PYTHONDUMPREFSFILE");
 2025|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2026|      0|            return status;
 2027|      0|        }
 2028|      2|    }
 2029|       |
 2030|      2|    if (config->pythonpath_env == NULL) {
  ------------------
  |  Branch (2030:9): [True: 2, False: 0]
  ------------------
 2031|      2|        status = CONFIG_GET_ENV_DUP(config, &config->pythonpath_env,
  ------------------
  |  | 1810|      2|    config_get_env_dup(CONFIG, DEST, WNAME, NAME, "cannot decode " NAME)
  ------------------
 2032|      2|                                    L"PYTHONPATH", "PYTHONPATH");
 2033|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2034|      0|            return status;
 2035|      0|        }
 2036|      2|    }
 2037|       |
 2038|      2|    if(config->platlibdir == NULL) {
  ------------------
  |  Branch (2038:8): [True: 2, False: 0]
  ------------------
 2039|      2|        status = CONFIG_GET_ENV_DUP(config, &config->platlibdir,
  ------------------
  |  | 1810|      2|    config_get_env_dup(CONFIG, DEST, WNAME, NAME, "cannot decode " NAME)
  ------------------
 2040|      2|                                    L"PYTHONPLATLIBDIR", "PYTHONPLATLIBDIR");
 2041|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2042|      0|            return status;
 2043|      0|        }
 2044|      2|    }
 2045|       |
 2046|      2|    if (config->use_hash_seed < 0) {
  ------------------
  |  Branch (2046:9): [True: 2, False: 0]
  ------------------
 2047|      2|        status = config_init_hash_seed(config);
 2048|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2049|      0|            return status;
 2050|      0|        }
 2051|      2|    }
 2052|       |
 2053|      2|    if (config_get_env(config, "PYTHONSAFEPATH")) {
  ------------------
  |  Branch (2053:9): [True: 0, False: 2]
  ------------------
 2054|      0|        config->safe_path = 1;
 2055|      0|    }
 2056|       |
 2057|      2|    const char *gil = config_get_env(config, "PYTHON_GIL");
 2058|      2|    if (gil != NULL) {
  ------------------
  |  Branch (2058:9): [True: 0, False: 2]
  ------------------
 2059|      0|        size_t len = strlen(gil);
 2060|      0|        status = config_read_gil(config, len, gil[0]);
 2061|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2062|      0|            return status;
 2063|      0|        }
 2064|      0|    }
 2065|       |
 2066|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2067|      2|}
initconfig.c:config_init_hash_seed:
 1894|      2|{
 1895|      2|    static_assert(sizeof(_Py_HashSecret_t) == sizeof(_Py_HashSecret.uc),
 1896|      2|                  "_Py_HashSecret_t has wrong size");
 1897|       |
 1898|      2|    const char *seed_text = config_get_env(config, "PYTHONHASHSEED");
 1899|       |
 1900|       |    /* Convert a text seed to a numeric one */
 1901|      2|    if (seed_text && strcmp(seed_text, "random") != 0) {
  ------------------
  |  Branch (1901:9): [True: 0, False: 2]
  |  Branch (1901:22): [True: 0, False: 0]
  ------------------
 1902|      0|        const char *endptr = seed_text;
 1903|      0|        unsigned long seed;
 1904|      0|        errno = 0;
 1905|      0|        seed = strtoul(seed_text, (char **)&endptr, 10);
 1906|      0|        if (*endptr != '\0'
  ------------------
  |  Branch (1906:13): [True: 0, False: 0]
  ------------------
 1907|      0|            || seed > MAX_HASH_SEED
  ------------------
  |  | 1031|      0|#define MAX_HASH_SEED 4294967295UL
  ------------------
  |  Branch (1907:16): [True: 0, False: 0]
  ------------------
 1908|      0|            || (errno == ERANGE && seed == ULONG_MAX))
  ------------------
  |  Branch (1908:17): [True: 0, False: 0]
  |  Branch (1908:36): [True: 0, False: 0]
  ------------------
 1909|      0|        {
 1910|      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)}
  ------------------
 1911|      0|                                "or an integer in range [0; 4294967295]");
 1912|      0|        }
 1913|       |        /* Use a specific hash */
 1914|      0|        config->use_hash_seed = 1;
 1915|      0|        config->hash_seed = seed;
 1916|      0|    }
 1917|      2|    else {
 1918|       |        /* Use a random hash */
 1919|      2|        config->use_hash_seed = 0;
 1920|      2|        config->hash_seed = 0;
 1921|      2|    }
 1922|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1923|      2|}
initconfig.c:config_read_complex_options:
 2493|      2|{
 2494|       |    /* More complex options configured by env var and -X option */
 2495|      2|    if (config->faulthandler < 0) {
  ------------------
  |  Branch (2495:9): [True: 2, False: 0]
  ------------------
 2496|      2|        if (config_get_env(config, "PYTHONFAULTHANDLER")
  ------------------
  |  Branch (2496:13): [True: 0, False: 2]
  ------------------
 2497|      2|           || config_get_xoption(config, L"faulthandler")) {
  ------------------
  |  Branch (2497:15): [True: 0, False: 2]
  ------------------
 2498|      0|            config->faulthandler = 1;
 2499|      0|        }
 2500|      2|    }
 2501|      2|    if (config_get_env(config, "PYTHONNODEBUGRANGES")
  ------------------
  |  Branch (2501:9): [True: 0, False: 2]
  ------------------
 2502|      2|       || config_get_xoption(config, L"no_debug_ranges")) {
  ------------------
  |  Branch (2502:11): [True: 0, False: 2]
  ------------------
 2503|      0|        config->code_debug_ranges = 0;
 2504|      0|    }
 2505|       |
 2506|      2|    PyStatus status;
 2507|      2|    if (config->import_time < 0) {
  ------------------
  |  Branch (2507:9): [True: 2, False: 0]
  ------------------
 2508|      2|        status = config_init_import_time(config);
 2509|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2510|      0|            return status;
 2511|      0|        }
 2512|      2|    }
 2513|       |
 2514|      2|    if (config->lazy_imports < 0) {
  ------------------
  |  Branch (2514:9): [True: 2, False: 0]
  ------------------
 2515|      2|        status = config_init_lazy_imports(config);
 2516|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2517|      0|            return status;
 2518|      0|        }
 2519|      2|    }
 2520|       |
 2521|      2|    if (config->tracemalloc < 0) {
  ------------------
  |  Branch (2521:9): [True: 2, False: 0]
  ------------------
 2522|      2|        status = config_init_tracemalloc(config);
 2523|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2524|      0|            return status;
 2525|      0|        }
 2526|      2|    }
 2527|       |
 2528|      2|    if (config->perf_profiling < 0) {
  ------------------
  |  Branch (2528:9): [True: 2, False: 0]
  ------------------
 2529|      2|        status = config_init_perf_profiling(config);
 2530|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2531|      0|            return status;
 2532|      0|        }
 2533|      2|    }
 2534|       |
 2535|      2|    if (config->remote_debug < 0) {
  ------------------
  |  Branch (2535:9): [True: 2, False: 0]
  ------------------
 2536|      2|        status = config_init_remote_debug(config);
 2537|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2538|      0|            return status;
 2539|      0|        }
 2540|      2|    }
 2541|       |
 2542|      2|    if (config->int_max_str_digits < 0) {
  ------------------
  |  Branch (2542:9): [True: 0, False: 2]
  ------------------
 2543|      0|        status = config_init_int_max_str_digits(config);
 2544|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2545|      0|            return status;
 2546|      0|        }
 2547|      0|    }
 2548|       |
 2549|      2|    if (config->cpu_count < 0) {
  ------------------
  |  Branch (2549:9): [True: 2, False: 0]
  ------------------
 2550|      2|        status = config_init_cpu_count(config);
 2551|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2552|      0|            return status;
 2553|      0|        }
 2554|      2|    }
 2555|       |
 2556|      2|    if (config->pycache_prefix == NULL) {
  ------------------
  |  Branch (2556:9): [True: 2, False: 0]
  ------------------
 2557|      2|        status = config_init_pycache_prefix(config);
 2558|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2559|      0|            return status;
 2560|      0|        }
 2561|      2|    }
 2562|       |
 2563|       |#ifdef Py_DEBUG
 2564|       |    if (config->run_presite == NULL) {
 2565|       |        status = config_init_run_presite(config);
 2566|       |        if (_PyStatus_EXCEPTION(status)) {
 2567|       |            return status;
 2568|       |        }
 2569|       |    }
 2570|       |#endif
 2571|       |
 2572|      2|    status = config_init_thread_inherit_context(config);
 2573|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2574|      0|        return status;
 2575|      0|    }
 2576|       |
 2577|      2|    status = config_init_context_aware_warnings(config);
 2578|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2579|      0|        return status;
 2580|      0|    }
 2581|       |
 2582|      2|    status = config_init_tlbc(config);
 2583|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2584|      0|        return status;
 2585|      0|    }
 2586|       |
 2587|      2|    status = config_init_pathconfig_warnings(config);
 2588|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2589|      0|        return status;
 2590|      0|    }
 2591|       |
 2592|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2593|      2|}
initconfig.c:config_init_import_time:
 2397|      2|{
 2398|      2|    int importtime = 0;
 2399|       |
 2400|      2|    const char *env = config_get_env(config, "PYTHONPROFILEIMPORTTIME");
 2401|      2|    if (env) {
  ------------------
  |  Branch (2401:9): [True: 0, False: 2]
  ------------------
 2402|      0|        if (_Py_str_to_int(env, &importtime) != 0) {
  ------------------
  |  Branch (2402:13): [True: 0, False: 0]
  ------------------
 2403|      0|            importtime = 1;
 2404|      0|        }
 2405|      0|        if (importtime < 0 || importtime > 2) {
  ------------------
  |  Branch (2405:13): [True: 0, False: 0]
  |  Branch (2405:31): [True: 0, False: 0]
  ------------------
 2406|      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)}
  ------------------
 2407|      0|                "PYTHONPROFILEIMPORTTIME: numeric values other than 1 and 2 "
 2408|      0|                "are reserved for future use.");
 2409|      0|        }
 2410|      0|    }
 2411|       |
 2412|      2|    const wchar_t *x_value = config_get_xoption_value(config, L"importtime");
 2413|      2|    if (x_value) {
  ------------------
  |  Branch (2413:9): [True: 0, False: 2]
  ------------------
 2414|      0|        if (*x_value == 0 || config_wstr_to_int(x_value, &importtime) != 0) {
  ------------------
  |  Branch (2414:13): [True: 0, False: 0]
  |  Branch (2414:30): [True: 0, False: 0]
  ------------------
 2415|      0|            importtime = 1;
 2416|      0|        }
 2417|      0|        if (importtime < 0 || importtime > 2) {
  ------------------
  |  Branch (2417:13): [True: 0, False: 0]
  |  Branch (2417:31): [True: 0, False: 0]
  ------------------
 2418|      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)}
  ------------------
 2419|      0|                "-X importtime: values other than 1 and 2 "
 2420|      0|                "are reserved for future use.");
 2421|      0|        }
 2422|      0|    }
 2423|       |
 2424|      2|    config->import_time = importtime;
 2425|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2426|      2|}
initconfig.c:config_init_lazy_imports:
 2430|      2|{
 2431|      2|    int lazy_imports = -1;
 2432|       |
 2433|      2|    const char *env = config_get_env(config, "PYTHON_LAZY_IMPORTS");
 2434|      2|    if (env) {
  ------------------
  |  Branch (2434:9): [True: 0, False: 2]
  ------------------
 2435|      0|        if (strcmp(env, "all") == 0) {
  ------------------
  |  Branch (2435:13): [True: 0, False: 0]
  ------------------
 2436|      0|            lazy_imports = 1;
 2437|      0|        }
 2438|      0|        else if (strcmp(env, "normal") == 0) {
  ------------------
  |  Branch (2438:18): [True: 0, False: 0]
  ------------------
 2439|      0|            lazy_imports = -1;
 2440|      0|        }
 2441|      0|        else {
 2442|      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)}
  ------------------
 2443|      0|                                 "expected 'all' or 'normal'");
 2444|      0|        }
 2445|      0|        config->lazy_imports = lazy_imports;
 2446|      0|    }
 2447|       |
 2448|      2|    const wchar_t *x_value = config_get_xoption_value(config, L"lazy_imports");
 2449|      2|    if (x_value) {
  ------------------
  |  Branch (2449:9): [True: 0, False: 2]
  ------------------
 2450|      0|        if (wcscmp(x_value, L"all") == 0) {
  ------------------
  |  Branch (2450:13): [True: 0, False: 0]
  ------------------
 2451|      0|            lazy_imports = 1;
 2452|      0|        }
 2453|      0|        else if (wcscmp(x_value, L"normal") == 0) {
  ------------------
  |  Branch (2453:18): [True: 0, False: 0]
  ------------------
 2454|      0|            lazy_imports = -1;
 2455|      0|        }
 2456|      0|        else {
 2457|      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)}
  ------------------
 2458|      0|                                 "expected 'all' or 'normal'");
 2459|      0|        }
 2460|      0|        config->lazy_imports = lazy_imports;
 2461|      0|    }
 2462|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2463|      2|}
initconfig.c:config_init_tracemalloc:
 2249|      2|{
 2250|      2|    int nframe;
 2251|      2|    int valid;
 2252|       |
 2253|      2|    const char *env = config_get_env(config, "PYTHONTRACEMALLOC");
 2254|      2|    if (env) {
  ------------------
  |  Branch (2254:9): [True: 0, False: 2]
  ------------------
 2255|      0|        if (!_Py_str_to_int(env, &nframe)) {
  ------------------
  |  Branch (2255:13): [True: 0, False: 0]
  ------------------
 2256|      0|            valid = (nframe >= 0);
 2257|      0|        }
 2258|      0|        else {
 2259|      0|            valid = 0;
 2260|      0|        }
 2261|      0|        if (!valid) {
  ------------------
  |  Branch (2261:13): [True: 0, False: 0]
  ------------------
 2262|      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)}
  ------------------
 2263|      0|        }
 2264|      0|        config->tracemalloc = nframe;
 2265|      0|    }
 2266|       |
 2267|      2|    const wchar_t *xoption = config_get_xoption(config, L"tracemalloc");
 2268|      2|    if (xoption) {
  ------------------
  |  Branch (2268:9): [True: 0, False: 2]
  ------------------
 2269|      0|        const wchar_t *sep = wcschr(xoption, L'=');
 2270|      0|        if (sep) {
  ------------------
  |  Branch (2270:13): [True: 0, False: 0]
  ------------------
 2271|      0|            if (!config_wstr_to_int(sep + 1, &nframe)) {
  ------------------
  |  Branch (2271:17): [True: 0, False: 0]
  ------------------
 2272|      0|                valid = (nframe >= 0);
 2273|      0|            }
 2274|      0|            else {
 2275|      0|                valid = 0;
 2276|      0|            }
 2277|      0|            if (!valid) {
  ------------------
  |  Branch (2277:17): [True: 0, False: 0]
  ------------------
 2278|      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)}
  ------------------
 2279|      0|                                     "invalid number of frames");
 2280|      0|            }
 2281|      0|        }
 2282|      0|        else {
 2283|       |            /* -X tracemalloc behaves as -X tracemalloc=1 */
 2284|      0|            nframe = 1;
 2285|      0|        }
 2286|      0|        config->tracemalloc = nframe;
 2287|      0|    }
 2288|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2289|      2|}
initconfig.c:config_init_perf_profiling:
 2192|      2|{
 2193|      2|    int active = 0;
 2194|      2|    const char *env = config_get_env(config, "PYTHONPERFSUPPORT");
 2195|      2|    if (env) {
  ------------------
  |  Branch (2195:9): [True: 0, False: 2]
  ------------------
 2196|      0|        if (_Py_str_to_int(env, &active) != 0) {
  ------------------
  |  Branch (2196:13): [True: 0, False: 0]
  ------------------
 2197|      0|            active = 0;
 2198|      0|        }
 2199|      0|        if (active) {
  ------------------
  |  Branch (2199:13): [True: 0, False: 0]
  ------------------
 2200|      0|            config->perf_profiling = 1;
 2201|      0|        }
 2202|      0|    }
 2203|      2|    const wchar_t *xoption = config_get_xoption(config, L"perf");
 2204|      2|    if (xoption) {
  ------------------
  |  Branch (2204:9): [True: 0, False: 2]
  ------------------
 2205|      0|        config->perf_profiling = 1;
 2206|      0|    }
 2207|      2|    env = config_get_env(config, "PYTHON_PERF_JIT_SUPPORT");
 2208|      2|    if (env) {
  ------------------
  |  Branch (2208:9): [True: 0, False: 2]
  ------------------
 2209|      0|        if (_Py_str_to_int(env, &active) != 0) {
  ------------------
  |  Branch (2209:13): [True: 0, False: 0]
  ------------------
 2210|      0|            active = 0;
 2211|      0|        }
 2212|      0|        if (active) {
  ------------------
  |  Branch (2212:13): [True: 0, False: 0]
  ------------------
 2213|      0|            config->perf_profiling = 2;
 2214|      0|        }
 2215|      0|    }
 2216|      2|    xoption = config_get_xoption(config, L"perf_jit");
 2217|      2|    if (xoption) {
  ------------------
  |  Branch (2217:9): [True: 0, False: 2]
  ------------------
 2218|      0|        config->perf_profiling = 2;
 2219|      0|    }
 2220|       |
 2221|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2222|       |
 2223|      2|}
initconfig.c:config_init_remote_debug:
 2227|      2|{
 2228|       |#ifndef Py_REMOTE_DEBUG
 2229|       |    config->remote_debug = 0;
 2230|       |#else
 2231|      2|    int active = 1;
 2232|      2|    const char *env = Py_GETENV("PYTHON_DISABLE_REMOTE_DEBUG");
 2233|      2|    if (env) {
  ------------------
  |  Branch (2233:9): [True: 0, False: 2]
  ------------------
 2234|      0|        active = 0;
 2235|      0|    }
 2236|      2|    const wchar_t *xoption = config_get_xoption(config, L"disable-remote-debug");
 2237|      2|    if (xoption) {
  ------------------
  |  Branch (2237:9): [True: 0, False: 2]
  ------------------
 2238|      0|        active = 0;
 2239|      0|    }
 2240|       |
 2241|      2|    config->remote_debug = active;
 2242|      2|#endif
 2243|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2244|       |
 2245|      2|}
initconfig.c:config_init_cpu_count:
 2071|      2|{
 2072|      2|    const char *env = config_get_env(config, "PYTHON_CPU_COUNT");
 2073|      2|    if (env) {
  ------------------
  |  Branch (2073:9): [True: 0, False: 2]
  ------------------
 2074|      0|        int cpu_count = -1;
 2075|      0|        if (strcmp(env, "default") == 0) {
  ------------------
  |  Branch (2075:13): [True: 0, False: 0]
  ------------------
 2076|      0|            cpu_count = -1;
 2077|      0|        }
 2078|      0|        else if (_Py_str_to_int(env, &cpu_count) < 0 || cpu_count < 1) {
  ------------------
  |  Branch (2078:18): [True: 0, False: 0]
  |  Branch (2078:57): [True: 0, False: 0]
  ------------------
 2079|      0|            goto error;
 2080|      0|        }
 2081|      0|        config->cpu_count = cpu_count;
 2082|      0|    }
 2083|       |
 2084|      2|    const wchar_t *xoption = config_get_xoption(config, L"cpu_count");
 2085|      2|    if (xoption) {
  ------------------
  |  Branch (2085:9): [True: 0, False: 2]
  ------------------
 2086|      0|        int cpu_count = -1;
 2087|      0|        const wchar_t *sep = wcschr(xoption, L'=');
 2088|      0|        if (sep) {
  ------------------
  |  Branch (2088:13): [True: 0, False: 0]
  ------------------
 2089|      0|            if (wcscmp(sep + 1, L"default") == 0) {
  ------------------
  |  Branch (2089:17): [True: 0, False: 0]
  ------------------
 2090|      0|                cpu_count = -1;
 2091|      0|            }
 2092|      0|            else if (config_wstr_to_int(sep + 1, &cpu_count) < 0 || cpu_count < 1) {
  ------------------
  |  Branch (2092:22): [True: 0, False: 0]
  |  Branch (2092:69): [True: 0, False: 0]
  ------------------
 2093|      0|                goto error;
 2094|      0|            }
 2095|      0|        }
 2096|      0|        else {
 2097|      0|            goto error;
 2098|      0|        }
 2099|      0|        config->cpu_count = cpu_count;
 2100|      0|    }
 2101|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2102|       |
 2103|      0|error:
 2104|      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)}
  ------------------
 2105|      2|                         "n must be greater than 0");
 2106|      2|}
initconfig.c:config_init_pycache_prefix:
 2340|      2|{
 2341|      2|    assert(config->pycache_prefix == NULL);
  ------------------
  |  Branch (2341:5): [True: 2, False: 0]
  ------------------
 2342|       |
 2343|      2|    const wchar_t *xoption = config_get_xoption(config, L"pycache_prefix");
 2344|      2|    if (xoption) {
  ------------------
  |  Branch (2344:9): [True: 0, False: 2]
  ------------------
 2345|      0|        const wchar_t *sep = wcschr(xoption, L'=');
 2346|      0|        if (sep && wcslen(sep) > 1) {
  ------------------
  |  Branch (2346:13): [True: 0, False: 0]
  |  Branch (2346:20): [True: 0, False: 0]
  ------------------
 2347|      0|            config->pycache_prefix = _PyMem_RawWcsdup(sep + 1);
 2348|      0|            if (config->pycache_prefix == NULL) {
  ------------------
  |  Branch (2348:17): [True: 0, False: 0]
  ------------------
 2349|      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)}
  |  |  ------------------
  ------------------
 2350|      0|            }
 2351|      0|        }
 2352|      0|        else {
 2353|       |            // PYTHONPYCACHEPREFIX env var ignored
 2354|       |            // if "-X pycache_prefix=" option is used
 2355|      0|            config->pycache_prefix = NULL;
 2356|      0|        }
 2357|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2358|      0|    }
 2359|       |
 2360|      2|    return CONFIG_GET_ENV_DUP(config, &config->pycache_prefix,
  ------------------
  |  | 1810|      2|    config_get_env_dup(CONFIG, DEST, WNAME, NAME, "cannot decode " NAME)
  ------------------
 2361|      2|                              L"PYTHONPYCACHEPREFIX",
 2362|      2|                              "PYTHONPYCACHEPREFIX");
 2363|      2|}
initconfig.c:config_init_thread_inherit_context:
 2110|      2|{
 2111|      2|    const char *env = config_get_env(config, "PYTHON_THREAD_INHERIT_CONTEXT");
 2112|      2|    if (env) {
  ------------------
  |  Branch (2112:9): [True: 0, False: 2]
  ------------------
 2113|      0|        int enabled;
 2114|      0|        if (_Py_str_to_int(env, &enabled) < 0 || (enabled < 0) || (enabled > 1)) {
  ------------------
  |  Branch (2114:13): [True: 0, False: 0]
  |  Branch (2114:50): [True: 0, False: 0]
  |  Branch (2114:67): [True: 0, False: 0]
  ------------------
 2115|      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)}
  ------------------
 2116|      0|                "PYTHON_THREAD_INHERIT_CONTEXT=N: N is missing or invalid");
 2117|      0|        }
 2118|      0|        config->thread_inherit_context = enabled;
 2119|      0|    }
 2120|       |
 2121|      2|    const wchar_t *xoption = config_get_xoption(config, L"thread_inherit_context");
 2122|      2|    if (xoption) {
  ------------------
  |  Branch (2122:9): [True: 0, False: 2]
  ------------------
 2123|      0|        int enabled;
 2124|      0|        const wchar_t *sep = wcschr(xoption, L'=');
 2125|      0|        if (!sep || (config_wstr_to_int(sep + 1, &enabled) < 0) || (enabled < 0) || (enabled > 1)) {
  ------------------
  |  Branch (2125:13): [True: 0, False: 0]
  |  Branch (2125:21): [True: 0, False: 0]
  |  Branch (2125:68): [True: 0, False: 0]
  |  Branch (2125:85): [True: 0, False: 0]
  ------------------
 2126|      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)}
  ------------------
 2127|      0|                "-X thread_inherit_context=n: n is missing or invalid");
 2128|      0|        }
 2129|      0|        config->thread_inherit_context = enabled;
 2130|      0|    }
 2131|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2132|      2|}
initconfig.c:config_init_context_aware_warnings:
 2136|      2|{
 2137|      2|    const char *env = config_get_env(config, "PYTHON_CONTEXT_AWARE_WARNINGS");
 2138|      2|    if (env) {
  ------------------
  |  Branch (2138:9): [True: 0, False: 2]
  ------------------
 2139|      0|        int enabled;
 2140|      0|        if (_Py_str_to_int(env, &enabled) < 0 || (enabled < 0) || (enabled > 1)) {
  ------------------
  |  Branch (2140:13): [True: 0, False: 0]
  |  Branch (2140:50): [True: 0, False: 0]
  |  Branch (2140:67): [True: 0, False: 0]
  ------------------
 2141|      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)}
  ------------------
 2142|      0|                "PYTHON_CONTEXT_AWARE_WARNINGS=N: N is missing or invalid");
 2143|      0|        }
 2144|      0|        config->context_aware_warnings = enabled;
 2145|      0|    }
 2146|       |
 2147|      2|    const wchar_t *xoption = config_get_xoption(config, L"context_aware_warnings");
 2148|      2|    if (xoption) {
  ------------------
  |  Branch (2148:9): [True: 0, False: 2]
  ------------------
 2149|      0|        int enabled;
 2150|      0|        const wchar_t *sep = wcschr(xoption, L'=');
 2151|      0|        if (!sep || (config_wstr_to_int(sep + 1, &enabled) < 0) || (enabled < 0) || (enabled > 1)) {
  ------------------
  |  Branch (2151:13): [True: 0, False: 0]
  |  Branch (2151:21): [True: 0, False: 0]
  |  Branch (2151:68): [True: 0, False: 0]
  |  Branch (2151:85): [True: 0, False: 0]
  ------------------
 2152|      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)}
  ------------------
 2153|      0|                "-X context_aware_warnings=n: n is missing or invalid");
 2154|      0|        }
 2155|      0|        config->context_aware_warnings = enabled;
 2156|      0|    }
 2157|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2158|      2|}
initconfig.c:config_init_tlbc:
 2162|      2|{
 2163|       |#ifdef Py_GIL_DISABLED
 2164|       |    const char *env = config_get_env(config, "PYTHON_TLBC");
 2165|       |    if (env) {
 2166|       |        int enabled;
 2167|       |        if (_Py_str_to_int(env, &enabled) < 0 || (enabled < 0) || (enabled > 1)) {
 2168|       |            return _PyStatus_ERR(
 2169|       |                "PYTHON_TLBC=N: N is missing or invalid");
 2170|       |        }
 2171|       |        config->tlbc_enabled = enabled;
 2172|       |    }
 2173|       |
 2174|       |    const wchar_t *xoption = config_get_xoption(config, L"tlbc");
 2175|       |    if (xoption) {
 2176|       |        int enabled;
 2177|       |        const wchar_t *sep = wcschr(xoption, L'=');
 2178|       |        if (!sep || (config_wstr_to_int(sep + 1, &enabled) < 0) || (enabled < 0) || (enabled > 1)) {
 2179|       |            return _PyStatus_ERR(
 2180|       |                "-X tlbc=n: n is missing or invalid");
 2181|       |        }
 2182|       |        config->tlbc_enabled = enabled;
 2183|       |    }
 2184|       |    return _PyStatus_OK();
 2185|       |#else
 2186|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2187|      2|#endif
 2188|      2|}
initconfig.c:config_init_pathconfig_warnings:
 2467|      2|{
 2468|      2|    const char *env = config_get_env(config, "PYTHON_PATHCONFIG_WARNINGS");
 2469|      2|    if (env) {
  ------------------
  |  Branch (2469:9): [True: 0, False: 2]
  ------------------
 2470|      0|        int enabled;
 2471|      0|        if (_Py_str_to_int(env, &enabled) < 0 || (enabled < 0) || (enabled > 1)) {
  ------------------
  |  Branch (2471:13): [True: 0, False: 0]
  |  Branch (2471:50): [True: 0, False: 0]
  |  Branch (2471:67): [True: 0, False: 0]
  ------------------
 2472|      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)}
  ------------------
 2473|      0|                "PYTHON_PATHCONFIG_WARNINGS=N: N is missing or invalid");
 2474|      0|        }
 2475|      0|        config->pathconfig_warnings = enabled;
 2476|      0|    }
 2477|       |
 2478|      2|    const wchar_t *xoption = config_get_xoption(config, L"pathconfig_warnings");
 2479|      2|    if (xoption) {
  ------------------
  |  Branch (2479:9): [True: 0, False: 2]
  ------------------
 2480|      0|        int enabled;
 2481|      0|        const wchar_t *sep = wcschr(xoption, L'=');
 2482|      0|        if (!sep || (config_wstr_to_int(sep + 1, &enabled) < 0) || (enabled < 0) || (enabled > 1)) {
  ------------------
  |  Branch (2482:13): [True: 0, False: 0]
  |  Branch (2482:21): [True: 0, False: 0]
  |  Branch (2482:68): [True: 0, False: 0]
  |  Branch (2482:85): [True: 0, False: 0]
  ------------------
 2483|      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)}
  ------------------
 2484|      0|                "-X pathconfig_warnings=n: n is missing or invalid");
 2485|      0|        }
 2486|      0|        config->pathconfig_warnings = enabled;
 2487|      0|    }
 2488|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2489|      2|}
initconfig.c:config_init_fs_encoding:
 2767|      2|{
 2768|      2|    PyStatus status;
 2769|       |
 2770|      2|    if (config->filesystem_encoding == NULL) {
  ------------------
  |  Branch (2770:9): [True: 2, False: 0]
  ------------------
 2771|      2|        status = config_get_fs_encoding(config, preconfig,
 2772|      2|                                        &config->filesystem_encoding);
 2773|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2774|      0|            return status;
 2775|      0|        }
 2776|      2|    }
 2777|       |
 2778|      2|    if (config->filesystem_errors == NULL) {
  ------------------
  |  Branch (2778:9): [True: 2, False: 0]
  ------------------
 2779|      2|        const wchar_t *errors;
 2780|       |#ifdef MS_WINDOWS
 2781|       |        if (preconfig->legacy_windows_fs_encoding) {
 2782|       |            errors = L"replace";
 2783|       |        }
 2784|       |        else {
 2785|       |            errors = L"surrogatepass";
 2786|       |        }
 2787|       |#else
 2788|      2|        errors = L"surrogateescape";
 2789|      2|#endif
 2790|      2|        status = PyConfig_SetString(config, &config->filesystem_errors, errors);
 2791|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2792|      0|            return status;
 2793|      0|        }
 2794|      2|    }
 2795|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2796|      2|}
initconfig.c:config_get_fs_encoding:
 2737|      2|{
 2738|       |#ifdef _Py_FORCE_UTF8_FS_ENCODING
 2739|       |    return PyConfig_SetString(config, fs_encoding, L"utf-8");
 2740|       |#elif defined(MS_WINDOWS)
 2741|       |    const wchar_t *encoding;
 2742|       |    if (preconfig->legacy_windows_fs_encoding) {
 2743|       |        // Legacy Windows filesystem encoding: mbcs/replace
 2744|       |        encoding = L"mbcs";
 2745|       |    }
 2746|       |    else {
 2747|       |        // Windows defaults to utf-8/surrogatepass (PEP 529)
 2748|       |        encoding = L"utf-8";
 2749|       |    }
 2750|       |     return PyConfig_SetString(config, fs_encoding, encoding);
 2751|       |#else  // !MS_WINDOWS
 2752|      2|    if (preconfig->utf8_mode) {
  ------------------
  |  Branch (2752:9): [True: 2, False: 0]
  ------------------
 2753|      2|        return PyConfig_SetString(config, fs_encoding, L"utf-8");
 2754|      2|    }
 2755|       |
 2756|      0|    if (_Py_GetForceASCII()) {
  ------------------
  |  Branch (2756:9): [True: 0, False: 0]
  ------------------
 2757|      0|        return PyConfig_SetString(config, fs_encoding, L"ascii");
 2758|      0|    }
 2759|       |
 2760|      0|    return config_get_locale_encoding(config, preconfig, fs_encoding);
 2761|      0|#endif  // !MS_WINDOWS
 2762|      0|}
initconfig.c:config_get_locale_encoding:
 2632|      2|{
 2633|      2|    wchar_t *encoding;
 2634|      2|    if (preconfig->utf8_mode) {
  ------------------
  |  Branch (2634:9): [True: 2, False: 0]
  ------------------
 2635|      2|        encoding = _PyMem_RawWcsdup(L"utf-8");
 2636|      2|    }
 2637|      0|    else {
 2638|      0|        encoding = _Py_GetLocaleEncoding();
 2639|      0|    }
 2640|      2|    if (encoding == NULL) {
  ------------------
  |  Branch (2640:9): [True: 0, False: 2]
  ------------------
 2641|      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)}
  |  |  ------------------
  ------------------
 2642|      0|    }
 2643|      2|    PyStatus status = PyConfig_SetString(config, locale_encoding, encoding);
 2644|      2|    PyMem_RawFree(encoding);
 2645|      2|    return status;
 2646|      2|}
initconfig.c:config_init_stdio_encoding:
 2652|      2|{
 2653|      2|    PyStatus status;
 2654|       |
 2655|       |    // Exit if encoding and errors are defined
 2656|      2|    if (config->stdio_encoding != NULL && config->stdio_errors != NULL) {
  ------------------
  |  Branch (2656:9): [True: 0, False: 2]
  |  Branch (2656:43): [True: 0, False: 0]
  ------------------
 2657|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2658|      0|    }
 2659|       |
 2660|       |    /* PYTHONIOENCODING environment variable */
 2661|      2|    const char *opt = config_get_env(config, "PYTHONIOENCODING");
 2662|      2|    if (opt) {
  ------------------
  |  Branch (2662:9): [True: 0, False: 2]
  ------------------
 2663|      0|        char *pythonioencoding = _PyMem_RawStrdup(opt);
 2664|      0|        if (pythonioencoding == NULL) {
  ------------------
  |  Branch (2664:13): [True: 0, False: 0]
  ------------------
 2665|      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)}
  |  |  ------------------
  ------------------
 2666|      0|        }
 2667|       |
 2668|      0|        char *errors = strchr(pythonioencoding, ':');
 2669|      0|        if (errors) {
  ------------------
  |  Branch (2669:13): [True: 0, False: 0]
  ------------------
 2670|      0|            *errors = '\0';
 2671|      0|            errors++;
 2672|      0|            if (!errors[0]) {
  ------------------
  |  Branch (2672:17): [True: 0, False: 0]
  ------------------
 2673|      0|                errors = NULL;
 2674|      0|            }
 2675|      0|        }
 2676|       |
 2677|       |        /* Does PYTHONIOENCODING contain an encoding? */
 2678|      0|        if (pythonioencoding[0]) {
  ------------------
  |  Branch (2678:13): [True: 0, False: 0]
  ------------------
 2679|      0|            if (config->stdio_encoding == NULL) {
  ------------------
  |  Branch (2679:17): [True: 0, False: 0]
  ------------------
 2680|      0|                status = CONFIG_SET_BYTES_STR(config, &config->stdio_encoding,
  ------------------
  |  | 1358|      0|    config_set_bytes_string(config, config_str, str, "cannot decode " NAME)
  ------------------
 2681|      0|                                              pythonioencoding,
 2682|      0|                                              "PYTHONIOENCODING environment variable");
 2683|      0|                if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2684|      0|                    PyMem_RawFree(pythonioencoding);
 2685|      0|                    return status;
 2686|      0|                }
 2687|      0|            }
 2688|       |
 2689|       |            /* If the encoding is set but not the error handler,
 2690|       |               use "strict" error handler by default.
 2691|       |               PYTHONIOENCODING=latin1 behaves as
 2692|       |               PYTHONIOENCODING=latin1:strict. */
 2693|      0|            if (!errors) {
  ------------------
  |  Branch (2693:17): [True: 0, False: 0]
  ------------------
 2694|      0|                errors = "strict";
 2695|      0|            }
 2696|      0|        }
 2697|       |
 2698|      0|        if (config->stdio_errors == NULL && errors != NULL) {
  ------------------
  |  Branch (2698:13): [True: 0, False: 0]
  |  Branch (2698:45): [True: 0, False: 0]
  ------------------
 2699|      0|            status = CONFIG_SET_BYTES_STR(config, &config->stdio_errors,
  ------------------
  |  | 1358|      0|    config_set_bytes_string(config, config_str, str, "cannot decode " NAME)
  ------------------
 2700|      0|                                          errors,
 2701|      0|                                          "PYTHONIOENCODING environment variable");
 2702|      0|            if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2703|      0|                PyMem_RawFree(pythonioencoding);
 2704|      0|                return status;
 2705|      0|            }
 2706|      0|        }
 2707|       |
 2708|      0|        PyMem_RawFree(pythonioencoding);
 2709|      0|    }
 2710|       |
 2711|       |    /* Choose the default error handler based on the current locale. */
 2712|      2|    if (config->stdio_encoding == NULL) {
  ------------------
  |  Branch (2712:9): [True: 2, False: 0]
  ------------------
 2713|      2|        status = config_get_locale_encoding(config, preconfig,
 2714|      2|                                            &config->stdio_encoding);
 2715|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2716|      0|            return status;
 2717|      0|        }
 2718|      2|    }
 2719|      2|    if (config->stdio_errors == NULL) {
  ------------------
  |  Branch (2719:9): [True: 2, False: 0]
  ------------------
 2720|      2|        const wchar_t *errors = config_get_stdio_errors(preconfig);
 2721|      2|        assert(errors != NULL);
  ------------------
  |  Branch (2721:9): [True: 2, False: 0]
  ------------------
 2722|       |
 2723|      2|        status = PyConfig_SetString(config, &config->stdio_errors, errors);
 2724|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2725|      0|            return status;
 2726|      0|        }
 2727|      2|    }
 2728|       |
 2729|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2730|      2|}
initconfig.c:config_get_stdio_errors:
 2598|      2|{
 2599|      2|    if (preconfig->utf8_mode) {
  ------------------
  |  Branch (2599:9): [True: 2, False: 0]
  ------------------
 2600|       |        /* UTF-8 Mode uses UTF-8/surrogateescape */
 2601|      2|        return L"surrogateescape";
 2602|      2|    }
 2603|       |
 2604|      0|#ifndef MS_WINDOWS
 2605|      0|    const char *loc = setlocale(LC_CTYPE, NULL);
 2606|      0|    if (loc != NULL) {
  ------------------
  |  Branch (2606:9): [True: 0, False: 0]
  ------------------
 2607|       |        /* surrogateescape is the default in the legacy C and POSIX locales */
 2608|      0|        if (strcmp(loc, "C") == 0 || strcmp(loc, "POSIX") == 0) {
  ------------------
  |  Branch (2608:13): [True: 0, False: 0]
  |  Branch (2608:38): [True: 0, False: 0]
  ------------------
 2609|      0|            return L"surrogateescape";
 2610|      0|        }
 2611|       |
 2612|      0|#ifdef PY_COERCE_C_LOCALE
 2613|       |        /* surrogateescape is the default in locale coercion target locales */
 2614|      0|        if (_Py_IsLocaleCoercionTarget(loc)) {
  ------------------
  |  Branch (2614:13): [True: 0, False: 0]
  ------------------
 2615|      0|            return L"surrogateescape";
 2616|      0|        }
 2617|      0|#endif
 2618|      0|    }
 2619|       |
 2620|      0|    return L"strict";
 2621|       |#else
 2622|       |    /* On Windows, always use surrogateescape by default */
 2623|       |    return L"surrogateescape";
 2624|       |#endif
 2625|      0|}
initconfig.c:config_check_consistency:
 1037|      2|{
 1038|       |    /* Check config consistency */
 1039|      2|    assert(config->isolated >= 0);
  ------------------
  |  Branch (1039:5): [True: 2, False: 0]
  ------------------
 1040|      2|    assert(config->use_environment >= 0);
  ------------------
  |  Branch (1040:5): [True: 2, False: 0]
  ------------------
 1041|      2|    assert(config->dev_mode >= 0);
  ------------------
  |  Branch (1041:5): [True: 2, False: 0]
  ------------------
 1042|      2|    assert(config->install_signal_handlers >= 0);
  ------------------
  |  Branch (1042:5): [True: 2, False: 0]
  ------------------
 1043|      2|    assert(config->use_hash_seed >= 0);
  ------------------
  |  Branch (1043:5): [True: 2, False: 0]
  ------------------
 1044|      2|    assert(config->hash_seed <= MAX_HASH_SEED);
  ------------------
  |  Branch (1044:5): [True: 2, False: 0]
  ------------------
 1045|      2|    assert(config->faulthandler >= 0);
  ------------------
  |  Branch (1045:5): [True: 2, False: 0]
  ------------------
 1046|      2|    assert(config->tracemalloc >= 0);
  ------------------
  |  Branch (1046:5): [True: 2, False: 0]
  ------------------
 1047|      2|    assert(config->import_time >= 0);
  ------------------
  |  Branch (1047:5): [True: 2, False: 0]
  ------------------
 1048|      2|    assert(config->code_debug_ranges >= 0);
  ------------------
  |  Branch (1048:5): [True: 2, False: 0]
  ------------------
 1049|      2|    assert(config->show_ref_count >= 0);
  ------------------
  |  Branch (1049:5): [True: 2, False: 0]
  ------------------
 1050|      2|    assert(config->dump_refs >= 0);
  ------------------
  |  Branch (1050:5): [True: 2, False: 0]
  ------------------
 1051|      2|    assert(config->malloc_stats >= 0);
  ------------------
  |  Branch (1051:5): [True: 2, False: 0]
  ------------------
 1052|      2|    assert(config->pymalloc_hugepages >= 0);
  ------------------
  |  Branch (1052:5): [True: 2, False: 0]
  ------------------
 1053|      2|    assert(config->site_import >= 0);
  ------------------
  |  Branch (1053:5): [True: 2, False: 0]
  ------------------
 1054|      2|    assert(config->bytes_warning >= 0);
  ------------------
  |  Branch (1054:5): [True: 2, False: 0]
  ------------------
 1055|      2|    assert(config->warn_default_encoding >= 0);
  ------------------
  |  Branch (1055:5): [True: 2, False: 0]
  ------------------
 1056|      2|    assert(config->inspect >= 0);
  ------------------
  |  Branch (1056:5): [True: 2, False: 0]
  ------------------
 1057|      2|    assert(config->interactive >= 0);
  ------------------
  |  Branch (1057:5): [True: 2, False: 0]
  ------------------
 1058|      2|    assert(config->optimization_level >= 0);
  ------------------
  |  Branch (1058:5): [True: 2, False: 0]
  ------------------
 1059|      2|    assert(config->parser_debug >= 0);
  ------------------
  |  Branch (1059:5): [True: 2, False: 0]
  ------------------
 1060|      2|    assert(config->write_bytecode >= 0);
  ------------------
  |  Branch (1060:5): [True: 2, False: 0]
  ------------------
 1061|      2|    assert(config->verbose >= 0);
  ------------------
  |  Branch (1061:5): [True: 2, False: 0]
  ------------------
 1062|      2|    assert(config->quiet >= 0);
  ------------------
  |  Branch (1062:5): [True: 2, False: 0]
  ------------------
 1063|      2|    assert(config->user_site_directory >= 0);
  ------------------
  |  Branch (1063:5): [True: 2, False: 0]
  ------------------
 1064|      2|    assert(config->parse_argv >= 0);
  ------------------
  |  Branch (1064:5): [True: 2, False: 0]
  ------------------
 1065|      2|    assert(config->configure_c_stdio >= 0);
  ------------------
  |  Branch (1065:5): [True: 2, False: 0]
  ------------------
 1066|      2|    assert(config->buffered_stdio >= 0);
  ------------------
  |  Branch (1066:5): [True: 2, False: 0]
  ------------------
 1067|      2|    assert(_PyWideStringList_CheckConsistency(&config->orig_argv));
  ------------------
  |  Branch (1067:5): [True: 2, False: 0]
  ------------------
 1068|      2|    assert(_PyWideStringList_CheckConsistency(&config->argv));
  ------------------
  |  Branch (1068:5): [True: 2, False: 0]
  ------------------
 1069|       |    /* sys.argv must be non-empty: empty argv is replaced with [''] */
 1070|      2|    assert(config->argv.length >= 1);
  ------------------
  |  Branch (1070:5): [True: 2, False: 0]
  ------------------
 1071|      2|    assert(_PyWideStringList_CheckConsistency(&config->xoptions));
  ------------------
  |  Branch (1071:5): [True: 2, False: 0]
  ------------------
 1072|      2|    assert(_PyWideStringList_CheckConsistency(&config->warnoptions));
  ------------------
  |  Branch (1072:5): [True: 2, False: 0]
  ------------------
 1073|      2|    assert(_PyWideStringList_CheckConsistency(&config->module_search_paths));
  ------------------
  |  Branch (1073:5): [True: 2, False: 0]
  ------------------
 1074|      2|    assert(config->module_search_paths_set >= 0);
  ------------------
  |  Branch (1074:5): [True: 2, False: 0]
  ------------------
 1075|      2|    assert(config->filesystem_encoding != NULL);
  ------------------
  |  Branch (1075:5): [True: 2, False: 0]
  ------------------
 1076|      2|    assert(config->filesystem_errors != NULL);
  ------------------
  |  Branch (1076:5): [True: 2, False: 0]
  ------------------
 1077|      2|    assert(config->stdio_encoding != NULL);
  ------------------
  |  Branch (1077:5): [True: 2, False: 0]
  ------------------
 1078|      2|    assert(config->stdio_errors != NULL);
  ------------------
  |  Branch (1078:5): [True: 2, False: 0]
  ------------------
 1079|       |#ifdef MS_WINDOWS
 1080|       |    assert(config->legacy_windows_stdio >= 0);
 1081|       |#endif
 1082|       |    /* -c and -m options are exclusive */
 1083|      2|    assert(!(config->run_command != NULL && config->run_module != NULL));
  ------------------
  |  Branch (1083:5): [True: 0, False: 2]
  |  Branch (1083:5): [True: 0, False: 0]
  ------------------
 1084|      2|    assert(config->check_hash_pycs_mode != NULL);
  ------------------
  |  Branch (1084:5): [True: 2, False: 0]
  ------------------
 1085|      2|    assert(config->_install_importlib >= 0);
  ------------------
  |  Branch (1085:5): [True: 2, False: 0]
  ------------------
 1086|      2|    assert(config->pathconfig_warnings >= 0);
  ------------------
  |  Branch (1086:5): [True: 2, False: 0]
  ------------------
 1087|      2|    assert(config->_is_python_build >= 0);
  ------------------
  |  Branch (1087:5): [True: 2, False: 0]
  ------------------
 1088|      2|    assert(config->safe_path >= 0);
  ------------------
  |  Branch (1088:5): [True: 2, False: 0]
  ------------------
 1089|      2|    assert(config->int_max_str_digits >= 0);
  ------------------
  |  Branch (1089:5): [True: 2, False: 0]
  ------------------
 1090|       |    // cpu_count can be -1 if the user doesn't override it.
 1091|      2|    assert(config->cpu_count != 0);
  ------------------
  |  Branch (1091:5): [True: 2, False: 0]
  ------------------
 1092|       |    // lazy_imports can be -1 (default) or 1 (on). 0 is rejected later
 1093|       |    // for embedders with an error message.
 1094|      2|    assert(config->lazy_imports >= -1 && config->lazy_imports <= 1);
  ------------------
  |  Branch (1094:5): [True: 2, False: 0]
  |  Branch (1094:5): [True: 2, False: 0]
  ------------------
 1095|       |    // config->use_frozen_modules is initialized later
 1096|       |    // by _PyConfig_InitImportConfig().
 1097|      2|    assert(config->thread_inherit_context >= 0);
  ------------------
  |  Branch (1097:5): [True: 2, False: 0]
  ------------------
 1098|      2|    assert(config->context_aware_warnings >= 0);
  ------------------
  |  Branch (1098:5): [True: 2, False: 0]
  ------------------
 1099|       |#ifdef __APPLE__
 1100|       |    assert(config->use_system_logger >= 0);
 1101|       |#endif
 1102|       |#ifdef Py_STATS
 1103|       |    assert(config->_pystats >= 0);
 1104|       |#endif
 1105|      2|    return 1;
 1106|      2|}
initconfig.c:config_get:
 4625|    142|{
 4626|    142|    if (use_sys) {
  ------------------
  |  Branch (4626:9): [True: 0, False: 142]
  ------------------
 4627|      0|        if (spec->sys.attr != NULL) {
  ------------------
  |  Branch (4627:13): [True: 0, False: 0]
  ------------------
 4628|      0|            return PySys_GetAttrString(spec->sys.attr);
 4629|      0|        }
 4630|       |
 4631|      0|        if (strcmp(spec->name, "write_bytecode") == 0) {
  ------------------
  |  Branch (4631:13): [True: 0, False: 0]
  ------------------
 4632|      0|            int value;
 4633|      0|            if (config_get_sys_write_bytecode(config, &value) < 0) {
  ------------------
  |  Branch (4633:17): [True: 0, False: 0]
  ------------------
 4634|      0|                return NULL;
 4635|      0|            }
 4636|      0|            return PyBool_FromLong(value);
 4637|      0|        }
 4638|       |
 4639|      0|        if (strcmp(spec->name, "int_max_str_digits") == 0) {
  ------------------
  |  Branch (4639:13): [True: 0, False: 0]
  ------------------
 4640|      0|            PyInterpreterState *interp = _PyInterpreterState_GET();
 4641|      0|            int maxdigits = _Py_atomic_load_int(&interp->long_state.max_str_digits);
 4642|      0|            return PyLong_FromLong(maxdigits);
 4643|      0|        }
 4644|      0|    }
 4645|       |
 4646|    142|    void *member = config_get_spec_member(config, spec);
 4647|    142|    switch (spec->type) {
 4648|      8|    case PyConfig_MEMBER_INT:
  ------------------
  |  Branch (4648:5): [True: 8, False: 134]
  ------------------
 4649|     24|    case PyConfig_MEMBER_UINT:
  ------------------
  |  Branch (4649:5): [True: 16, False: 126]
  ------------------
 4650|     24|    {
 4651|     24|        int value = *(int *)member;
 4652|     24|        return PyLong_FromLong(value);
 4653|      8|    }
 4654|       |
 4655|     62|    case PyConfig_MEMBER_BOOL:
  ------------------
  |  Branch (4655:5): [True: 62, False: 80]
  ------------------
 4656|     62|    {
 4657|     62|        int value = *(int *)member;
 4658|     62|        return PyBool_FromLong(value != 0);
 4659|      8|    }
 4660|       |
 4661|      2|    case PyConfig_MEMBER_ULONG:
  ------------------
  |  Branch (4661:5): [True: 2, False: 140]
  ------------------
 4662|      2|    {
 4663|      2|        unsigned long value = *(unsigned long *)member;
 4664|      2|        return PyLong_FromUnsignedLong(value);
 4665|      8|    }
 4666|       |
 4667|     14|    case PyConfig_MEMBER_WSTR:
  ------------------
  |  Branch (4667:5): [True: 14, False: 128]
  ------------------
 4668|     44|    case PyConfig_MEMBER_WSTR_OPT:
  ------------------
  |  Branch (4668:5): [True: 30, False: 112]
  ------------------
 4669|     44|    {
 4670|     44|        wchar_t *wstr = *(wchar_t **)member;
 4671|     44|        if (wstr != NULL) {
  ------------------
  |  Branch (4671:13): [True: 12, False: 32]
  ------------------
 4672|     12|            return PyUnicode_FromWideChar(wstr, -1);
 4673|     12|        }
 4674|     32|        else {
 4675|     32|            return Py_NewRef(Py_None);
  ------------------
  |  |  550|     32|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4676|     32|        }
 4677|     44|    }
 4678|       |
 4679|     10|    case PyConfig_MEMBER_WSTR_LIST:
  ------------------
  |  Branch (4679:5): [True: 10, False: 132]
  ------------------
 4680|     10|    {
 4681|     10|        if (strcmp(spec->name, "xoptions") == 0) {
  ------------------
  |  Branch (4681:13): [True: 2, False: 8]
  ------------------
 4682|      2|            return _PyConfig_CreateXOptionsDict(config);
 4683|      2|        }
 4684|      8|        else {
 4685|      8|            const PyWideStringList *list = (const PyWideStringList *)member;
 4686|      8|            return _PyWideStringList_AsTuple(list);
 4687|      8|        }
 4688|     10|    }
 4689|       |
 4690|      0|    default:
  ------------------
  |  Branch (4690:5): [True: 0, False: 142]
  ------------------
 4691|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 4692|    142|    }
 4693|    142|}
initconfig.c:_PyWideStringList_AsTuple:
  980|      8|{
  981|      8|    assert(_PyWideStringList_CheckConsistency(list));
  ------------------
  |  Branch (981:5): [True: 8, False: 0]
  ------------------
  982|       |
  983|      8|    PyObject *tuple = PyTuple_New(list->length);
  984|      8|    if (tuple == NULL) {
  ------------------
  |  Branch (984:9): [True: 0, False: 8]
  ------------------
  985|      0|        return NULL;
  986|      0|    }
  987|       |
  988|     10|    for (Py_ssize_t i = 0; i < list->length; i++) {
  ------------------
  |  Branch (988:28): [True: 2, False: 8]
  ------------------
  989|      2|        PyObject *item = PyUnicode_FromWideChar(list->items[i], -1);
  990|      2|        if (item == NULL) {
  ------------------
  |  Branch (990:13): [True: 0, False: 2]
  ------------------
  991|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  992|      0|            return NULL;
  993|      0|        }
  994|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  995|      2|    }
  996|      8|    return tuple;
  997|      8|}

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

_Py_GetBaseCodeUnit:
  639|    115|{
  640|    115|    _Py_CODEUNIT *src_instr = _PyCode_CODE(code) + i;
  ------------------
  |  |   16|    115|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|    115|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  641|    115|    _Py_CODEUNIT inst = {
  642|    115|        .cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t *)src_instr)};
  ------------------
  |  |  158|    115|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  ------------------
  643|    115|    int opcode = inst.op.code;
  644|    115|    if (opcode < MIN_INSTRUMENTED_OPCODE) {
  ------------------
  |  |  258|    115|#define MIN_INSTRUMENTED_OPCODE                233
  ------------------
  |  Branch (644:9): [True: 115, False: 0]
  ------------------
  645|    115|        inst.op.code = _PyOpcode_Deopt[opcode];
  646|    115|        assert(inst.op.code < MIN_SPECIALIZED_OPCODE);
  ------------------
  |  Branch (646:9): [True: 115, False: 0]
  ------------------
  647|    115|        return inst;
  648|    115|    }
  649|      0|    if (opcode == ENTER_EXECUTOR) {
  ------------------
  |  |  242|      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);
  ------------------
  |  Branch (654:9): [True: 0, False: 0]
  ------------------
  655|      0|        return inst;
  656|      0|    }
  657|      0|    if (opcode == INSTRUMENTED_LINE) {
  ------------------
  |  |  241|      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) {
  ------------------
  |  |  225|      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)
  ------------------
  |  Branch (663:5): [True: 0, False: 0]
  ------------------
  664|      0|    CHECK(opcode != INSTRUMENTED_LINE);
  ------------------
  |  |  632|      0|#define CHECK(test) assert(test)
  ------------------
  |  Branch (664:5): [True: 0, False: 0]
  ------------------
  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|      0|    assert(inst.op.code < MIN_SPECIALIZED_OPCODE);
  ------------------
  |  Branch (672:5): [True: 0, False: 0]
  ------------------
  673|      0|    return inst;
  674|      0|}
_Py_Instrument:
 1953|  32.1k|{
 1954|  32.1k|    int res;
 1955|  32.1k|    LOCK_CODE(code);
 1956|  32.1k|    res = instrument_lock_held(code, interp);
 1957|  32.1k|    UNLOCK_CODE();
 1958|  32.1k|    return res;
 1959|  32.1k|}
_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. */
  ------------------
  |  Branch (2593:5): [True: 2, False: 0]
  ------------------
 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);
  ------------------
  |  Branch (2598:5): [True: 2, False: 0]
  ------------------
 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);
  ------------------
  |  Branch (2603:5): [True: 2, False: 0]
  ------------------
 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);
  ------------------
  |  Branch (2608:5): [True: 2, False: 0]
  ------------------
 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:is_version_up_to_date:
 1065|  32.1k|{
 1066|  32.1k|    ASSERT_WORLD_STOPPED_OR_LOCKED(code);
 1067|  32.1k|    return global_version(interp) == code->_co_instrumentation_version;
 1068|  32.1k|}
instrumentation.c:instrument_lock_held:
 1937|  32.1k|{
 1938|  32.1k|    ASSERT_WORLD_STOPPED_OR_LOCKED(code);
 1939|       |
 1940|  32.1k|    if (is_version_up_to_date(code, interp)) {
  ------------------
  |  Branch (1940:9): [True: 32.1k, False: 0]
  ------------------
 1941|  32.1k|        assert(
  ------------------
  |  Branch (1941:9): [True: 32.1k, False: 0]
  |  Branch (1941:9): [True: 0, False: 0]
  ------------------
 1942|  32.1k|            interp->ceval.instrumentation_version == 0 ||
 1943|  32.1k|            instrumentation_cross_checks(interp, code)
 1944|  32.1k|        );
 1945|  32.1k|        return 0;
 1946|  32.1k|    }
 1947|       |
 1948|      0|    return force_instrument_lock_held(code, interp);
 1949|  32.1k|}
instrumentation.c:global_version:
 1016|  32.1k|{
 1017|  32.1k|    uint32_t version = (uint32_t)_Py_atomic_load_uintptr_relaxed(
 1018|  32.1k|        &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|  32.1k|    return version;
 1027|  32.1k|}
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|}

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

_PyMutex_LockTimed:
   57|   711k|{
   58|   711k|    uint8_t v = _Py_atomic_load_uint8_relaxed(&m->_bits);
   59|   711k|    if ((v & _Py_LOCKED) == 0) {
  ------------------
  |  |   10|   711k|#define _Py_LOCKED      1
  ------------------
  |  Branch (59:9): [True: 711k, False: 0]
  ------------------
   60|   711k|        if (_Py_atomic_compare_exchange_uint8(&m->_bits, &v, v|_Py_LOCKED)) {
  ------------------
  |  |   10|   711k|#define _Py_LOCKED      1
  ------------------
  |  Branch (60:13): [True: 711k, False: 0]
  ------------------
   61|   711k|            return PY_LOCK_ACQUIRED;
   62|   711k|        }
   63|   711k|    }
   64|      0|    if (timeout == 0) {
  ------------------
  |  Branch (64:9): [True: 0, False: 0]
  ------------------
   65|      0|        return PY_LOCK_FAILURE;
   66|      0|    }
   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 ||
  ------------------
  |  Branch (145:17): [True: 0, False: 0]
  |  Branch (145:17): [True: 0, False: 0]
  ------------------
  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);
  ------------------
  |  Branch (159:13): [True: 0, False: 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|}
_PyOnceFlag_CallOnceSlow:
  372|      5|{
  373|      5|    uint8_t v = _Py_atomic_load_uint8(&flag->v);
  374|      5|    for (;;) {
  375|      5|        if (v == _Py_UNLOCKED) {
  ------------------
  |  |    9|      5|#define _Py_UNLOCKED    0
  ------------------
  |  Branch (375:13): [True: 5, False: 0]
  ------------------
  376|      5|            if (!_Py_atomic_compare_exchange_uint8(&flag->v, &v, _Py_LOCKED)) {
  ------------------
  |  |   10|      5|#define _Py_LOCKED      1
  ------------------
  |  Branch (376:17): [True: 0, False: 5]
  ------------------
  377|      0|                continue;
  378|      0|            }
  379|      5|            int res = fn(arg);
  380|      5|            return unlock_once(flag, res);
  381|      5|        }
  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));
  ------------------
  |  Branch (388:9): [True: 0, False: 0]
  ------------------
  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|      5|}
_PyRecursiveMutex_IsLockedByCurrentThread:
  412|    394|{
  413|    394|    return recursive_mutex_is_owned_by(m, PyThread_get_thread_ident_ex());
  414|    394|}
_PyRecursiveMutex_Lock:
  418|  1.08M|{
  419|  1.08M|    PyThread_ident_t thread = PyThread_get_thread_ident_ex();
  420|  1.08M|    if (recursive_mutex_is_owned_by(m, thread)) {
  ------------------
  |  Branch (420:9): [True: 0, False: 1.08M]
  ------------------
  421|      0|        m->level++;
  422|      0|        return;
  423|      0|    }
  424|  1.08M|    PyMutex_Lock(&m->mutex);
  ------------------
  |  |   59|  1.08M|#define PyMutex_Lock _PyMutex_Lock
  ------------------
  425|  1.08M|    _Py_atomic_store_ullong_relaxed(&m->thread, thread);
  426|       |    assert(m->level == 0);
  ------------------
  |  Branch (426:5): [True: 1.08M, False: 0]
  ------------------
  427|  1.08M|}
_PyRecursiveMutex_LockTimed:
  431|    240|{
  432|    240|    PyThread_ident_t thread = PyThread_get_thread_ident_ex();
  433|    240|    if (recursive_mutex_is_owned_by(m, thread)) {
  ------------------
  |  Branch (433:9): [True: 0, False: 240]
  ------------------
  434|      0|        m->level++;
  435|      0|        return PY_LOCK_ACQUIRED;
  436|      0|    }
  437|    240|    PyLockStatus s = _PyMutex_LockTimed(&m->mutex, timeout, flags);
  438|    240|    if (s == PY_LOCK_ACQUIRED) {
  ------------------
  |  Branch (438:9): [True: 240, False: 0]
  ------------------
  439|    240|        _Py_atomic_store_ullong_relaxed(&m->thread, thread);
  440|    240|        assert(m->level == 0);
  ------------------
  |  Branch (440:9): [True: 240, False: 0]
  ------------------
  441|    240|    }
  442|    240|    return s;
  443|    240|}
_PyRecursiveMutex_Unlock:
  447|    394|{
  448|    394|    if (_PyRecursiveMutex_TryUnlock(m) < 0) {
  ------------------
  |  Branch (448:9): [True: 0, False: 394]
  ------------------
  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|    394|}
_PyRecursiveMutex_TryUnlock:
  456|  1.08M|{
  457|  1.08M|    PyThread_ident_t thread = PyThread_get_thread_ident_ex();
  458|  1.08M|    if (!recursive_mutex_is_owned_by(m, thread)) {
  ------------------
  |  Branch (458:9): [True: 0, False: 1.08M]
  ------------------
  459|      0|        return -1;
  460|      0|    }
  461|  1.08M|    if (m->level > 0) {
  ------------------
  |  Branch (461:9): [True: 0, False: 1.08M]
  ------------------
  462|      0|        m->level--;
  463|      0|        return 0;
  464|      0|    }
  465|  1.08M|    assert(m->level == 0);
  ------------------
  |  Branch (465:5): [True: 1.08M, False: 0]
  ------------------
  466|  1.08M|    _Py_atomic_store_ullong_relaxed(&m->thread, 0);
  467|  1.08M|    PyMutex_Unlock(&m->mutex);
  ------------------
  |  |   70|  1.08M|#define PyMutex_Unlock _PyMutex_Unlock
  ------------------
  468|  1.08M|    return 0;
  469|  1.08M|}
lock.c:unlock_once:
  348|      5|{
  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|      5|    uint8_t new_value;
  352|      5|    switch (res) {
  353|      0|        case -1: new_value = _Py_UNLOCKED; break;
  ------------------
  |  |    9|      0|#define _Py_UNLOCKED    0
  ------------------
  |  Branch (353:9): [True: 0, False: 5]
  ------------------
  354|      5|        case  0: new_value = _Py_ONCE_INITIALIZED; break;
  ------------------
  |  |   18|      5|#define _Py_ONCE_INITIALIZED 4
  ------------------
  |  Branch (354:9): [True: 5, False: 0]
  ------------------
  355|      0|        default: {
  ------------------
  |  Branch (355:9): [True: 0, False: 5]
  ------------------
  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|      5|    }
  361|       |
  362|      5|    uint8_t old_value = _Py_atomic_exchange_uint8(&o->v, new_value);
  363|      5|    if ((old_value & _Py_HAS_PARKED) != 0) {
  ------------------
  |  |   17|      5|#define _Py_HAS_PARKED  2
  ------------------
  |  Branch (363:9): [True: 0, False: 5]
  ------------------
  364|       |        // wake up anyone waiting on the once flag
  365|      0|        _PyParkingLot_UnparkAll(&o->v);
  366|      0|    }
  367|      5|    return res;
  368|      5|}
lock.c:recursive_mutex_is_owned_by:
  406|  2.16M|{
  407|  2.16M|    return _Py_atomic_load_ullong_relaxed(&m->thread) == tid;
  408|  2.16M|}

PyMarshal_ReadObjectFromString:
 1882|     36|{
 1883|     36|    RFILE rf;
 1884|     36|    PyObject *result;
 1885|     36|    rf.allow_code = 1;
 1886|     36|    rf.fp = NULL;
 1887|     36|    rf.readable = NULL;
 1888|     36|    rf.ptr = str;
 1889|     36|    rf.end = str + len;
 1890|     36|    rf.buf = NULL;
 1891|     36|    rf.depth = 0;
 1892|     36|    rf.refs = PyList_New(0);
 1893|     36|    if (rf.refs == NULL)
  ------------------
  |  Branch (1893:9): [True: 0, False: 36]
  ------------------
 1894|      0|        return NULL;
 1895|     36|    result = read_object(&rf);
 1896|     36|    Py_DECREF(rf.refs);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1897|     36|    if (rf.buf != NULL)
  ------------------
  |  Branch (1897:9): [True: 0, False: 36]
  ------------------
 1898|      0|        PyMem_Free(rf.buf);
 1899|     36|    return result;
 1900|     36|}
PyMarshal_Init:
 2191|      2|{
 2192|      2|    return PyModuleDef_Init(&marshalmodule);
 2193|      2|}
marshal.c:r_short:
  937|     42|{
  938|     42|    short x = -1;
  939|     42|    const unsigned char *buffer;
  940|       |
  941|     42|    buffer = (const unsigned char *) r_string(2, p);
  942|     42|    if (buffer != NULL) {
  ------------------
  |  Branch (942:9): [True: 42, False: 0]
  ------------------
  943|     42|        x = buffer[0];
  944|     42|        x |= buffer[1] << 8;
  945|       |        /* Sign-extension, in case short greater than 16 bits */
  946|     42|        x |= -(x & 0x8000);
  947|     42|    }
  948|     42|    return x;
  949|     42|}
marshal.c:r_string:
  839|  81.1k|{
  840|  81.1k|    Py_ssize_t read = -1;
  841|       |
  842|  81.1k|    if (p->ptr != NULL) {
  ------------------
  |  Branch (842:9): [True: 81.1k, False: 0]
  ------------------
  843|       |        /* Fast path for loads() */
  844|  81.1k|        const char *res = p->ptr;
  845|  81.1k|        Py_ssize_t left = p->end - p->ptr;
  846|  81.1k|        if (left < n) {
  ------------------
  |  Branch (846:13): [True: 0, False: 81.1k]
  ------------------
  847|      0|            PyErr_SetString(PyExc_EOFError,
  848|      0|                            "marshal data too short");
  849|      0|            return NULL;
  850|      0|        }
  851|  81.1k|        p->ptr += n;
  852|  81.1k|        return res;
  853|  81.1k|    }
  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);
  ------------------
  |  Branch (873:9): [True: 0, False: 0]
  ------------------
  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);
  ------------------
  |  |  920|      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|  55.4k|{
  954|  55.4k|    long x = -1;
  955|  55.4k|    const unsigned char *buffer;
  956|       |
  957|  55.4k|    buffer = (const unsigned char *) r_string(4, p);
  958|  55.4k|    if (buffer != NULL) {
  ------------------
  |  Branch (958:9): [True: 55.4k, False: 0]
  ------------------
  959|  55.4k|        x = buffer[0];
  960|  55.4k|        x |= (long)buffer[1] << 8;
  961|  55.4k|        x |= (long)buffer[2] << 16;
  962|  55.4k|        x |= (long)buffer[3] << 24;
  963|  55.4k|#if SIZEOF_LONG > 4
  964|       |        /* Sign extension for 64-bit machines */
  965|  55.4k|        x |= -(x & 0x80000000L);
  966|  55.4k|#endif
  967|  55.4k|    }
  968|  55.4k|    return x;
  969|  55.4k|}
marshal.c:read_object:
 1761|     60|{
 1762|     60|    PyObject *v;
 1763|     60|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1763:9): [True: 0, False: 60]
  ------------------
 1764|      0|        fprintf(stderr, "XXX readobject called with exception set\n");
 1765|      0|        return NULL;
 1766|      0|    }
 1767|     60|    if (p->ptr && p->end) {
  ------------------
  |  Branch (1767:9): [True: 60, False: 0]
  |  Branch (1767:19): [True: 60, False: 0]
  ------------------
 1768|     60|        if (PySys_Audit("marshal.loads", "y#", p->ptr, (Py_ssize_t)(p->end - p->ptr)) < 0) {
  ------------------
  |  Branch (1768:13): [True: 0, False: 60]
  ------------------
 1769|      0|            return NULL;
 1770|      0|        }
 1771|     60|    } 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|     60|    v = r_object(p);
 1777|     60|    if (v == NULL && !PyErr_Occurred())
  ------------------
  |  Branch (1777:9): [True: 0, False: 60]
  |  Branch (1777:22): [True: 0, False: 0]
  ------------------
 1778|      0|        PyErr_SetString(PyExc_TypeError, "NULL object in marshal data for object");
 1779|     60|    return v;
 1780|     60|}
marshal.c:r_object:
 1174|  65.9k|{
 1175|       |    /* NULL is a valid return value, it does not necessarily means that
 1176|       |       an exception is set. */
 1177|  65.9k|    PyObject *v, *v2;
 1178|  65.9k|    Py_ssize_t idx = 0;
 1179|  65.9k|    long i, n;
 1180|  65.9k|    int type, code = r_byte(p);
 1181|  65.9k|    int flag, is_interned = 0;
 1182|  65.9k|    PyObject *retval = NULL;
 1183|       |
 1184|  65.9k|    if (code == EOF) {
  ------------------
  |  Branch (1184:9): [True: 0, False: 65.9k]
  ------------------
 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|  65.9k|    p->depth++;
 1193|       |
 1194|  65.9k|    if (p->depth > MAX_MARSHAL_STACK_DEPTH) {
  ------------------
  |  |   54|  65.9k|#  define MAX_MARSHAL_STACK_DEPTH 2000
  ------------------
  |  Branch (1194:9): [True: 0, False: 65.9k]
  ------------------
 1195|      0|        p->depth--;
 1196|      0|        PyErr_SetString(PyExc_ValueError, "recursion limit exceeded");
 1197|      0|        return NULL;
 1198|      0|    }
 1199|       |
 1200|  65.9k|    flag = code & FLAG_REF;
  ------------------
  |  |  100|  65.9k|#define FLAG_REF                '\x80' /* with a type, add obj to index */
  ------------------
 1201|  65.9k|    type = code & ~FLAG_REF;
  ------------------
  |  |  100|  65.9k|#define FLAG_REF                '\x80' /* with a type, add obj to index */
  ------------------
 1202|       |
 1203|  65.9k|#define R_REF(O) do{\
 1204|  65.9k|    if (flag) \
 1205|  65.9k|        O = r_ref(O, flag, p);\
 1206|  65.9k|} while (0)
 1207|       |
 1208|  65.9k|    switch (type) {
 1209|       |
 1210|      0|    case TYPE_NULL:
  ------------------
  |  |   58|      0|#define TYPE_NULL               '0'
  ------------------
  |  Branch (1210:5): [True: 0, False: 65.9k]
  ------------------
 1211|      0|        break;
 1212|       |
 1213|    430|    case TYPE_NONE:
  ------------------
  |  |   59|    430|#define TYPE_NONE               'N'
  ------------------
  |  Branch (1213:5): [True: 430, False: 65.4k]
  ------------------
 1214|    430|        retval = Py_None;
  ------------------
  |  |  616|    430|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1215|    430|        break;
 1216|       |
 1217|      0|    case TYPE_STOPITER:
  ------------------
  |  |   62|      0|#define TYPE_STOPITER           'S'
  ------------------
  |  Branch (1217:5): [True: 0, False: 65.9k]
  ------------------
 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|      3|    case TYPE_ELLIPSIS:
  ------------------
  |  |   63|      3|#define TYPE_ELLIPSIS           '.'
  ------------------
  |  Branch (1221:5): [True: 3, False: 65.9k]
  ------------------
 1222|      3|        retval = Py_Ellipsis;
  ------------------
  |  |   14|      3|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
 1223|      3|        break;
 1224|       |
 1225|     43|    case TYPE_FALSE:
  ------------------
  |  |   60|     43|#define TYPE_FALSE              'F'
  ------------------
  |  Branch (1225:5): [True: 43, False: 65.8k]
  ------------------
 1226|     43|        retval = Py_False;
  ------------------
  |  |   25|     43|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|     43|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     43|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1227|     43|        break;
 1228|       |
 1229|     38|    case TYPE_TRUE:
  ------------------
  |  |   61|     38|#define TYPE_TRUE               'T'
  ------------------
  |  Branch (1229:5): [True: 38, False: 65.8k]
  ------------------
 1230|     38|        retval = Py_True;
  ------------------
  |  |   26|     38|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1231|     38|        break;
 1232|       |
 1233|    803|    case TYPE_INT:
  ------------------
  |  |   90|    803|#define TYPE_INT                'i'  // All versions. 32-bit encoding.
  ------------------
  |  Branch (1233:5): [True: 803, False: 65.1k]
  ------------------
 1234|    803|        n = r_long(p);
 1235|    803|        if (n == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1235:13): [True: 7, False: 796]
  |  Branch (1235:24): [True: 0, False: 7]
  ------------------
 1236|      0|            break;
 1237|      0|        }
 1238|    803|        retval = PyLong_FromLong(n);
 1239|    803|        R_REF(retval);
  ------------------
  |  | 1203|    803|#define R_REF(O) do{\
  |  | 1204|    803|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1204:9): [True: 379, False: 424]
  |  |  ------------------
  |  | 1205|    803|        O = r_ref(O, flag, p);\
  |  | 1206|    803|} while (0)
  |  |  ------------------
  |  |  |  Branch (1206:10): [Folded, False: 803]
  |  |  ------------------
  ------------------
 1240|    803|        break;
 1241|       |
 1242|      0|    case TYPE_INT64:
  ------------------
  |  |   96|      0|#define TYPE_INT64              'I'  // Not generated any more.
  ------------------
  |  Branch (1242:5): [True: 0, False: 65.9k]
  ------------------
 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|     12|    case TYPE_LONG:
  ------------------
  |  |   66|     12|#define TYPE_LONG               'l'  // See also TYPE_INT.
  ------------------
  |  Branch (1247:5): [True: 12, False: 65.9k]
  ------------------
 1248|     12|        retval = r_PyLong(p);
 1249|     12|        R_REF(retval);
  ------------------
  |  | 1203|     12|#define R_REF(O) do{\
  |  | 1204|     12|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1204:9): [True: 2, False: 10]
  |  |  ------------------
  |  | 1205|     12|        O = r_ref(O, flag, p);\
  |  | 1206|     12|} while (0)
  |  |  ------------------
  |  |  |  Branch (1206:10): [Folded, False: 12]
  |  |  ------------------
  ------------------
 1250|     12|        break;
 1251|       |
 1252|      0|    case TYPE_FLOAT:
  ------------------
  |  |   95|      0|#define TYPE_FLOAT              'f'  // Generated for version 0 only.
  ------------------
  |  Branch (1252:5): [True: 0, False: 65.9k]
  ------------------
 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|      4|    case TYPE_BINARY_FLOAT:
  ------------------
  |  |   64|      4|#define TYPE_BINARY_FLOAT       'g'  // Version 0 uses TYPE_FLOAT instead.
  ------------------
  |  Branch (1262:5): [True: 4, False: 65.9k]
  ------------------
 1263|      4|        {
 1264|      4|            double x = r_float_bin(p);
 1265|      4|            if (x == -1.0 && PyErr_Occurred())
  ------------------
  |  Branch (1265:17): [True: 0, False: 4]
  |  Branch (1265:30): [True: 0, False: 0]
  ------------------
 1266|      0|                break;
 1267|      4|            retval = PyFloat_FromDouble(x);
 1268|      4|            R_REF(retval);
  ------------------
  |  | 1203|      4|#define R_REF(O) do{\
  |  | 1204|      4|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1204:9): [True: 0, False: 4]
  |  |  ------------------
  |  | 1205|      4|        O = r_ref(O, flag, p);\
  |  | 1206|      4|} while (0)
  |  |  ------------------
  |  |  |  Branch (1206:10): [Folded, False: 4]
  |  |  ------------------
  ------------------
 1269|      4|            break;
 1270|      4|        }
 1271|       |
 1272|      0|    case TYPE_COMPLEX:
  ------------------
  |  |   94|      0|#define TYPE_COMPLEX            'x'  // Generated for version 0 only.
  ------------------
  |  Branch (1272:5): [True: 0, False: 65.9k]
  ------------------
 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|      0|    case TYPE_BINARY_COMPLEX:
  ------------------
  |  |   65|      0|#define TYPE_BINARY_COMPLEX     'y'  // Version 0 uses TYPE_COMPLEX instead.
  ------------------
  |  Branch (1286:5): [True: 0, False: 65.9k]
  ------------------
 1287|      0|        {
 1288|      0|            Py_complex c;
 1289|      0|            c.real = r_float_bin(p);
 1290|      0|            if (c.real == -1.0 && PyErr_Occurred())
  ------------------
  |  Branch (1290:17): [True: 0, False: 0]
  |  Branch (1290:35): [True: 0, False: 0]
  ------------------
 1291|      0|                break;
 1292|      0|            c.imag = r_float_bin(p);
 1293|      0|            if (c.imag == -1.0 && PyErr_Occurred())
  ------------------
  |  Branch (1293:17): [True: 0, False: 0]
  |  Branch (1293:35): [True: 0, False: 0]
  ------------------
 1294|      0|                break;
 1295|      0|            retval = PyComplex_FromCComplex(c);
 1296|      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]
  |  |  ------------------
  ------------------
 1297|      0|            break;
 1298|      0|        }
 1299|       |
 1300|  8.32k|    case TYPE_STRING:
  ------------------
  |  |   67|  8.32k|#define TYPE_STRING             's'  // Bytes. (Name comes from Python 2.)
  ------------------
  |  Branch (1300:5): [True: 8.32k, False: 57.5k]
  ------------------
 1301|  8.32k|        {
 1302|  8.32k|            const char *ptr;
 1303|  8.32k|            n = r_long(p);
 1304|  8.32k|            if (n < 0 || n > SIZE32_MAX) {
  ------------------
  |  |  212|  8.32k|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1304:17): [True: 0, False: 8.32k]
  |  Branch (1304:26): [True: 0, False: 8.32k]
  ------------------
 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|  8.32k|            v = PyBytes_FromStringAndSize((char *)NULL, n);
 1312|  8.32k|            if (v == NULL)
  ------------------
  |  Branch (1312:17): [True: 0, False: 8.32k]
  ------------------
 1313|      0|                break;
 1314|  8.32k|            ptr = r_string(n, p);
 1315|  8.32k|            if (ptr == NULL) {
  ------------------
  |  Branch (1315:17): [True: 0, False: 8.32k]
  ------------------
 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|  8.32k|            memcpy(PyBytes_AS_STRING(v), ptr, n);
  ------------------
  |  |   27|  8.32k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1320|  8.32k|            retval = v;
 1321|  8.32k|            R_REF(retval);
  ------------------
  |  | 1203|  8.32k|#define R_REF(O) do{\
  |  | 1204|  8.32k|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1204:9): [True: 3.00k, False: 5.31k]
  |  |  ------------------
  |  | 1205|  8.32k|        O = r_ref(O, flag, p);\
  |  | 1206|  8.32k|} while (0)
  |  |  ------------------
  |  |  |  Branch (1206:10): [Folded, False: 8.32k]
  |  |  ------------------
  ------------------
 1322|  8.32k|            break;
 1323|  8.32k|        }
 1324|       |
 1325|      0|    case TYPE_ASCII_INTERNED:
  ------------------
  |  |   85|      0|#define TYPE_ASCII_INTERNED     'A'
  ------------------
  |  Branch (1325:5): [True: 0, False: 65.9k]
  ------------------
 1326|      0|        is_interned = 1;
 1327|      0|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 1328|    301|    case TYPE_ASCII:
  ------------------
  |  |   84|    301|#define TYPE_ASCII              'a'
  ------------------
  |  Branch (1328:5): [True: 301, False: 65.6k]
  ------------------
 1329|    301|        n = r_long(p);
 1330|    301|        if (n < 0 || n > SIZE32_MAX) {
  ------------------
  |  |  212|    301|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1330:13): [True: 0, False: 301]
  |  Branch (1330:22): [True: 0, False: 301]
  ------------------
 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|    301|        goto _read_ascii;
 1338|       |
 1339|  14.2k|    case TYPE_SHORT_ASCII_INTERNED:
  ------------------
  |  |   87|  14.2k|#define TYPE_SHORT_ASCII_INTERNED 'Z'
  ------------------
  |  Branch (1339:5): [True: 14.2k, False: 51.6k]
  ------------------
 1340|  14.2k|        is_interned = 1;
 1341|  14.2k|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|  14.2k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 1342|  17.1k|    case TYPE_SHORT_ASCII:
  ------------------
  |  |   86|  17.1k|#define TYPE_SHORT_ASCII        'z'
  ------------------
  |  Branch (1342:5): [True: 2.84k, False: 63.0k]
  ------------------
 1343|  17.1k|        n = r_byte(p);
 1344|  17.1k|        if (n == EOF) {
  ------------------
  |  Branch (1344:13): [True: 0, False: 17.1k]
  ------------------
 1345|      0|            break;
 1346|      0|        }
 1347|  17.4k|    _read_ascii:
 1348|  17.4k|        {
 1349|  17.4k|            const char *ptr;
 1350|  17.4k|            ptr = r_string(n, p);
 1351|  17.4k|            if (ptr == NULL)
  ------------------
  |  Branch (1351:17): [True: 0, False: 17.4k]
  ------------------
 1352|      0|                break;
 1353|  17.4k|            v = PyUnicode_FromKindAndData(PyUnicode_1BYTE_KIND, ptr, n);
 1354|  17.4k|            if (v == NULL)
  ------------------
  |  Branch (1354:17): [True: 0, False: 17.4k]
  ------------------
 1355|      0|                break;
 1356|  17.4k|            if (is_interned) {
  ------------------
  |  Branch (1356:17): [True: 14.2k, False: 3.14k]
  ------------------
 1357|       |                // marshal is meant to serialize .pyc files with code
 1358|       |                // objects, and code-related strings are currently immortal.
 1359|  14.2k|                PyInterpreterState *interp = _PyInterpreterState_GET();
 1360|  14.2k|                _PyUnicode_InternImmortal(interp, &v);
 1361|  14.2k|            }
 1362|  17.4k|            retval = v;
 1363|  17.4k|            R_REF(retval);
  ------------------
  |  | 1203|  17.4k|#define R_REF(O) do{\
  |  | 1204|  17.4k|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1204:9): [True: 14.3k, False: 3.02k]
  |  |  ------------------
  |  | 1205|  17.4k|        O = r_ref(O, flag, p);\
  |  | 1206|  17.4k|} while (0)
  |  |  ------------------
  |  |  |  Branch (1206:10): [Folded, False: 17.4k]
  |  |  ------------------
  ------------------
 1364|  17.4k|            break;
 1365|  17.4k|        }
 1366|       |
 1367|      0|    case TYPE_INTERNED:
  ------------------
  |  |   83|      0|#define TYPE_INTERNED           't' // Version 1+
  ------------------
  |  Branch (1367:5): [True: 0, False: 65.9k]
  ------------------
 1368|      0|        is_interned = 1;
 1369|      0|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 1370|      4|    case TYPE_UNICODE:
  ------------------
  |  |   73|      4|#define TYPE_UNICODE            'u'
  ------------------
  |  Branch (1370:5): [True: 4, False: 65.9k]
  ------------------
 1371|      4|        {
 1372|      4|        const char *buffer;
 1373|       |
 1374|      4|        n = r_long(p);
 1375|      4|        if (n < 0 || n > SIZE32_MAX) {
  ------------------
  |  |  212|      4|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1375:13): [True: 0, False: 4]
  |  Branch (1375:22): [True: 0, False: 4]
  ------------------
 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|      4|        if (n != 0) {
  ------------------
  |  Branch (1382:13): [True: 4, False: 0]
  ------------------
 1383|      4|            buffer = r_string(n, p);
 1384|      4|            if (buffer == NULL)
  ------------------
  |  Branch (1384:17): [True: 0, False: 4]
  ------------------
 1385|      0|                break;
 1386|      4|            v = PyUnicode_DecodeUTF8(buffer, n, "surrogatepass");
 1387|      4|        }
 1388|      0|        else {
 1389|      0|            v = Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      0|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
 1390|      0|        }
 1391|      4|        if (v == NULL)
  ------------------
  |  Branch (1391:13): [True: 0, False: 4]
  ------------------
 1392|      0|            break;
 1393|      4|        if (is_interned) {
  ------------------
  |  Branch (1393:13): [True: 0, False: 4]
  ------------------
 1394|       |            // marshal is meant to serialize .pyc files with code
 1395|       |            // objects, and code-related strings are currently immortal.
 1396|      0|            PyInterpreterState *interp = _PyInterpreterState_GET();
 1397|      0|            _PyUnicode_InternImmortal(interp, &v);
 1398|      0|        }
 1399|      4|        retval = v;
 1400|      4|        R_REF(retval);
  ------------------
  |  | 1203|      4|#define R_REF(O) do{\
  |  | 1204|      4|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1204:9): [True: 0, False: 4]
  |  |  ------------------
  |  | 1205|      4|        O = r_ref(O, flag, p);\
  |  | 1206|      4|} while (0)
  |  |  ------------------
  |  |  |  Branch (1206:10): [Folded, False: 4]
  |  |  ------------------
  ------------------
 1401|      4|        break;
 1402|      4|        }
 1403|       |
 1404|  6.41k|    case TYPE_SMALL_TUPLE:
  ------------------
  |  |   91|  6.41k|#define TYPE_SMALL_TUPLE        ')'  // Version 4+
  ------------------
  |  Branch (1404:5): [True: 6.41k, False: 59.5k]
  ------------------
 1405|  6.41k|        n = r_byte(p);
 1406|  6.41k|        if (n == EOF) {
  ------------------
  |  Branch (1406:13): [True: 0, False: 6.41k]
  ------------------
 1407|      0|            break;
 1408|      0|        }
 1409|  6.41k|        goto _read_tuple;
 1410|  6.41k|    case TYPE_TUPLE:
  ------------------
  |  |   68|      3|#define TYPE_TUPLE              '('  // See also TYPE_SMALL_TUPLE.
  ------------------
  |  Branch (1410:5): [True: 3, False: 65.9k]
  ------------------
 1411|      3|        n = r_long(p);
 1412|      3|        if (n < 0 || n > SIZE32_MAX) {
  ------------------
  |  |  212|      3|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1412:13): [True: 0, False: 3]
  |  Branch (1412:22): [True: 0, False: 3]
  ------------------
 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|  6.41k|    _read_tuple:
 1420|  6.41k|        v = PyTuple_New(n);
 1421|  6.41k|        R_REF(v);
  ------------------
  |  | 1203|  6.41k|#define R_REF(O) do{\
  |  | 1204|  6.41k|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1204:9): [True: 673, False: 5.74k]
  |  |  ------------------
  |  | 1205|  6.41k|        O = r_ref(O, flag, p);\
  |  | 1206|  6.41k|} while (0)
  |  |  ------------------
  |  |  |  Branch (1206:10): [Folded, False: 6.41k]
  |  |  ------------------
  ------------------
 1422|  6.41k|        if (v == NULL)
  ------------------
  |  Branch (1422:13): [True: 0, False: 6.41k]
  ------------------
 1423|      0|            break;
 1424|       |
 1425|  44.5k|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1425:21): [True: 38.1k, False: 6.41k]
  ------------------
 1426|  38.1k|            v2 = r_object(p);
 1427|  38.1k|            if ( v2 == NULL ) {
  ------------------
  |  Branch (1427:18): [True: 0, False: 38.1k]
  ------------------
 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|  38.1k|            PyTuple_SET_ITEM(v, i, v2);
  ------------------
  |  |   40|  38.1k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  38.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  38.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  38.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  38.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1435|  38.1k|        }
 1436|  6.41k|        retval = v;
 1437|  6.41k|        break;
 1438|       |
 1439|      0|    case TYPE_LIST:
  ------------------
  |  |   69|      0|#define TYPE_LIST               '['
  ------------------
  |  Branch (1439:5): [True: 0, False: 65.9k]
  ------------------
 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: 65.9k]
  ------------------
 1467|      0|    case TYPE_FROZENDICT:
  ------------------
  |  |   71|      0|#define TYPE_FROZENDICT         '}'
  ------------------
  |  Branch (1467:5): [True: 0, False: 65.9k]
  ------------------
 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: 65.9k]
  ------------------
 1510|     13|    case TYPE_FROZENSET:
  ------------------
  |  |   77|     13|#define TYPE_FROZENSET          '>'
  ------------------
  |  Branch (1510:5): [True: 13, False: 65.9k]
  ------------------
 1511|     13|        n = r_long(p);
 1512|     13|        if (n < 0 || n > SIZE32_MAX) {
  ------------------
  |  |  212|     13|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1512:13): [True: 0, False: 13]
  |  Branch (1512:22): [True: 0, False: 13]
  ------------------
 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|     13|        if (n == 0 && type == TYPE_FROZENSET) {
  ------------------
  |  |   77|      0|#define TYPE_FROZENSET          '>'
  ------------------
  |  Branch (1520:13): [True: 0, False: 13]
  |  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|     13|        else {
 1529|     13|            v = (type == TYPE_SET) ? PySet_New(NULL) : PyFrozenSet_New(NULL);
  ------------------
  |  |   76|     13|#define TYPE_SET                '<'
  ------------------
  |  Branch (1529:17): [True: 0, False: 13]
  ------------------
 1530|     13|            if (type == TYPE_SET) {
  ------------------
  |  |   76|     13|#define TYPE_SET                '<'
  ------------------
  |  Branch (1530:17): [True: 0, False: 13]
  ------------------
 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|     13|            } else {
 1533|       |                /* must use delayed registration of frozensets because they must
 1534|       |                 * be init with a refcount of 1
 1535|       |                 */
 1536|     13|                idx = r_ref_reserve(flag, p);
 1537|     13|                if (idx < 0)
  ------------------
  |  Branch (1537:21): [True: 0, False: 13]
  ------------------
 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|     13|            }
 1540|     13|            if (v == NULL)
  ------------------
  |  Branch (1540:17): [True: 0, False: 13]
  ------------------
 1541|      0|                break;
 1542|       |
 1543|     62|            for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1543:25): [True: 49, False: 13]
  ------------------
 1544|     49|                v2 = r_object(p);
 1545|     49|                if ( v2 == NULL ) {
  ------------------
  |  Branch (1545:22): [True: 0, False: 49]
  ------------------
 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|     49|                if (PySet_Add(v, v2) == -1) {
  ------------------
  |  Branch (1552:21): [True: 0, False: 49]
  ------------------
 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|     49|                Py_DECREF(v2);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1559|     49|            }
 1560|     13|            if (type != TYPE_SET)
  ------------------
  |  |   76|     13|#define TYPE_SET                '<'
  ------------------
  |  Branch (1560:17): [True: 13, False: 0]
  ------------------
 1561|     13|                v = r_ref_insert(v, idx, flag, p);
 1562|     13|            retval = v;
 1563|     13|        }
 1564|     13|        break;
 1565|       |
 1566|  2.73k|    case TYPE_CODE:
  ------------------
  |  |   72|  2.73k|#define TYPE_CODE               'c'
  ------------------
  |  Branch (1566:5): [True: 2.73k, False: 63.1k]
  ------------------
 1567|  2.73k|        {
 1568|  2.73k|            int argcount;
 1569|  2.73k|            int posonlyargcount;
 1570|  2.73k|            int kwonlyargcount;
 1571|  2.73k|            int stacksize;
 1572|  2.73k|            int flags;
 1573|  2.73k|            PyObject *code = NULL;
 1574|  2.73k|            PyObject *consts = NULL;
 1575|  2.73k|            PyObject *names = NULL;
 1576|  2.73k|            PyObject *localsplusnames = NULL;
 1577|  2.73k|            PyObject *localspluskinds = NULL;
 1578|  2.73k|            PyObject *filename = NULL;
 1579|  2.73k|            PyObject *name = NULL;
 1580|  2.73k|            PyObject *qualname = NULL;
 1581|  2.73k|            int firstlineno;
 1582|  2.73k|            PyObject* linetable = NULL;
 1583|  2.73k|            PyObject *exceptiontable = NULL;
 1584|       |
 1585|  2.73k|            if (!p->allow_code) {
  ------------------
  |  Branch (1585:17): [True: 0, False: 2.73k]
  ------------------
 1586|      0|                PyErr_SetString(PyExc_ValueError,
 1587|      0|                                "unmarshalling code objects is disallowed");
 1588|      0|                break;
 1589|      0|            }
 1590|  2.73k|            idx = r_ref_reserve(flag, p);
 1591|  2.73k|            if (idx < 0)
  ------------------
  |  Branch (1591:17): [True: 0, False: 2.73k]
  ------------------
 1592|      0|                break;
 1593|       |
 1594|  2.73k|            v = NULL;
 1595|       |
 1596|       |            /* XXX ignore long->int overflows for now */
 1597|  2.73k|            argcount = (int)r_long(p);
 1598|  2.73k|            if (argcount == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1598:17): [True: 0, False: 2.73k]
  |  Branch (1598:35): [True: 0, False: 0]
  ------------------
 1599|      0|                goto code_error;
 1600|  2.73k|            posonlyargcount = (int)r_long(p);
 1601|  2.73k|            if (posonlyargcount == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1601:17): [True: 0, False: 2.73k]
  |  Branch (1601:42): [True: 0, False: 0]
  ------------------
 1602|      0|                goto code_error;
 1603|      0|            }
 1604|  2.73k|            kwonlyargcount = (int)r_long(p);
 1605|  2.73k|            if (kwonlyargcount == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1605:17): [True: 0, False: 2.73k]
  |  Branch (1605:41): [True: 0, False: 0]
  ------------------
 1606|      0|                goto code_error;
 1607|  2.73k|            stacksize = (int)r_long(p);
 1608|  2.73k|            if (stacksize == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1608:17): [True: 0, False: 2.73k]
  |  Branch (1608:36): [True: 0, False: 0]
  ------------------
 1609|      0|                goto code_error;
 1610|  2.73k|            flags = (int)r_long(p);
 1611|  2.73k|            if (flags == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1611:17): [True: 0, False: 2.73k]
  |  Branch (1611:32): [True: 0, False: 0]
  ------------------
 1612|      0|                goto code_error;
 1613|  2.73k|            code = r_object(p);
 1614|  2.73k|            if (code == NULL)
  ------------------
  |  Branch (1614:17): [True: 0, False: 2.73k]
  ------------------
 1615|      0|                goto code_error;
 1616|  2.73k|            consts = r_object(p);
 1617|  2.73k|            if (consts == NULL)
  ------------------
  |  Branch (1617:17): [True: 0, False: 2.73k]
  ------------------
 1618|      0|                goto code_error;
 1619|  2.73k|            names = r_object(p);
 1620|  2.73k|            if (names == NULL)
  ------------------
  |  Branch (1620:17): [True: 0, False: 2.73k]
  ------------------
 1621|      0|                goto code_error;
 1622|  2.73k|            localsplusnames = r_object(p);
 1623|  2.73k|            if (localsplusnames == NULL)
  ------------------
  |  Branch (1623:17): [True: 0, False: 2.73k]
  ------------------
 1624|      0|                goto code_error;
 1625|  2.73k|            localspluskinds = r_object(p);
 1626|  2.73k|            if (localspluskinds == NULL)
  ------------------
  |  Branch (1626:17): [True: 0, False: 2.73k]
  ------------------
 1627|      0|                goto code_error;
 1628|  2.73k|            filename = r_object(p);
 1629|  2.73k|            if (filename == NULL)
  ------------------
  |  Branch (1629:17): [True: 0, False: 2.73k]
  ------------------
 1630|      0|                goto code_error;
 1631|  2.73k|            name = r_object(p);
 1632|  2.73k|            if (name == NULL)
  ------------------
  |  Branch (1632:17): [True: 0, False: 2.73k]
  ------------------
 1633|      0|                goto code_error;
 1634|  2.73k|            qualname = r_object(p);
 1635|  2.73k|            if (qualname == NULL)
  ------------------
  |  Branch (1635:17): [True: 0, False: 2.73k]
  ------------------
 1636|      0|                goto code_error;
 1637|  2.73k|            firstlineno = (int)r_long(p);
 1638|  2.73k|            if (firstlineno == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1638:17): [True: 0, False: 2.73k]
  |  Branch (1638:38): [True: 0, False: 0]
  ------------------
 1639|      0|                goto code_error;
 1640|  2.73k|            linetable = r_object(p);
 1641|  2.73k|            if (linetable == NULL)
  ------------------
  |  Branch (1641:17): [True: 0, False: 2.73k]
  ------------------
 1642|      0|                goto code_error;
 1643|  2.73k|            exceptiontable = r_object(p);
 1644|  2.73k|            if (exceptiontable == NULL)
  ------------------
  |  Branch (1644:17): [True: 0, False: 2.73k]
  ------------------
 1645|      0|                goto code_error;
 1646|       |
 1647|  2.73k|            struct _PyCodeConstructor con = {
 1648|  2.73k|                .filename = filename,
 1649|  2.73k|                .name = name,
 1650|  2.73k|                .qualname = qualname,
 1651|  2.73k|                .flags = flags,
 1652|       |
 1653|  2.73k|                .code = code,
 1654|  2.73k|                .firstlineno = firstlineno,
 1655|  2.73k|                .linetable = linetable,
 1656|       |
 1657|  2.73k|                .consts = consts,
 1658|  2.73k|                .names = names,
 1659|       |
 1660|  2.73k|                .localsplusnames = localsplusnames,
 1661|  2.73k|                .localspluskinds = localspluskinds,
 1662|       |
 1663|  2.73k|                .argcount = argcount,
 1664|  2.73k|                .posonlyargcount = posonlyargcount,
 1665|  2.73k|                .kwonlyargcount = kwonlyargcount,
 1666|       |
 1667|  2.73k|                .stacksize = stacksize,
 1668|       |
 1669|  2.73k|                .exceptiontable = exceptiontable,
 1670|  2.73k|            };
 1671|       |
 1672|  2.73k|            if (_PyCode_Validate(&con) < 0) {
  ------------------
  |  Branch (1672:17): [True: 0, False: 2.73k]
  ------------------
 1673|      0|                goto code_error;
 1674|      0|            }
 1675|       |
 1676|  2.73k|            v = (PyObject *)_PyCode_New(&con);
 1677|  2.73k|            if (v == NULL) {
  ------------------
  |  Branch (1677:17): [True: 0, False: 2.73k]
  ------------------
 1678|      0|                goto code_error;
 1679|      0|            }
 1680|       |
 1681|  2.73k|            v = r_ref_insert(v, idx, flag, p);
 1682|       |
 1683|  2.73k|          code_error:
 1684|  2.73k|            if (v == NULL && !PyErr_Occurred()) {
  ------------------
  |  Branch (1684:17): [True: 0, False: 2.73k]
  |  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|  2.73k|            Py_XDECREF(code);
  ------------------
  |  |  524|  2.73k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1689|  2.73k|            Py_XDECREF(consts);
  ------------------
  |  |  524|  2.73k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1690|  2.73k|            Py_XDECREF(names);
  ------------------
  |  |  524|  2.73k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1691|  2.73k|            Py_XDECREF(localsplusnames);
  ------------------
  |  |  524|  2.73k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1692|  2.73k|            Py_XDECREF(localspluskinds);
  ------------------
  |  |  524|  2.73k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1693|  2.73k|            Py_XDECREF(filename);
  ------------------
  |  |  524|  2.73k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1694|  2.73k|            Py_XDECREF(name);
  ------------------
  |  |  524|  2.73k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1695|  2.73k|            Py_XDECREF(qualname);
  ------------------
  |  |  524|  2.73k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1696|  2.73k|            Py_XDECREF(linetable);
  ------------------
  |  |  524|  2.73k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1697|  2.73k|            Py_XDECREF(exceptiontable);
  ------------------
  |  |  524|  2.73k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1698|  2.73k|        }
 1699|      0|        retval = v;
 1700|  2.73k|        break;
 1701|       |
 1702|  29.5k|    case TYPE_REF:
  ------------------
  |  |   99|  29.5k|#define TYPE_REF                'r'
  ------------------
  |  Branch (1702:5): [True: 29.5k, False: 36.3k]
  ------------------
 1703|  29.5k|        n = r_long(p);
 1704|  29.5k|        if (n < 0 || n >= PyList_GET_SIZE(p->refs)) {
  ------------------
  |  |   38|  29.5k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  29.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  29.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1704:13): [True: 0, False: 29.5k]
  |  Branch (1704:22): [True: 0, False: 29.5k]
  ------------------
 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|  29.5k|        v = PyList_GET_ITEM(p->refs, n);
  ------------------
  |  |   40|  29.5k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  29.5k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  29.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1711:13): [True: 29.5k, False: 0]
  ------------------
 1712|  29.5k|        if (v == Py_None) {
  ------------------
  |  |  616|  29.5k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1712:13): [True: 0, False: 29.5k]
  ------------------
 1713|      0|            PyErr_SetString(PyExc_ValueError, "bad marshal data (invalid reference)");
 1714|      0|            break;
 1715|      0|        }
 1716|  29.5k|        retval = Py_NewRef(v);
  ------------------
  |  |  550|  29.5k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  29.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  29.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1717|  29.5k|        break;
 1718|       |
 1719|    125|    case TYPE_SLICE:
  ------------------
  |  |   79|    125|#define TYPE_SLICE              ':'
  ------------------
  |  Branch (1719:5): [True: 125, False: 65.7k]
  ------------------
 1720|    125|    {
 1721|    125|        Py_ssize_t idx = r_ref_reserve(flag, p);
 1722|    125|        if (idx < 0) {
  ------------------
  |  Branch (1722:13): [True: 0, False: 125]
  ------------------
 1723|      0|            break;
 1724|      0|        }
 1725|    125|        PyObject *stop = NULL;
 1726|    125|        PyObject *step = NULL;
 1727|    125|        PyObject *start = r_object(p);
 1728|    125|        if (start == NULL) {
  ------------------
  |  Branch (1728:13): [True: 0, False: 125]
  ------------------
 1729|      0|            goto cleanup;
 1730|      0|        }
 1731|    125|        stop = r_object(p);
 1732|    125|        if (stop == NULL) {
  ------------------
  |  Branch (1732:13): [True: 0, False: 125]
  ------------------
 1733|      0|            goto cleanup;
 1734|      0|        }
 1735|    125|        step = r_object(p);
 1736|    125|        if (step == NULL) {
  ------------------
  |  Branch (1736:13): [True: 0, False: 125]
  ------------------
 1737|      0|            goto cleanup;
 1738|      0|        }
 1739|    125|        retval = PySlice_New(start, stop, step);
 1740|    125|        r_ref_insert(retval, idx, flag, p);
 1741|    125|    cleanup:
 1742|    125|        Py_XDECREF(start);
  ------------------
  |  |  524|    125|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    125|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    125|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1743|    125|        Py_XDECREF(stop);
  ------------------
  |  |  524|    125|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    125|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    125|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1744|    125|        Py_XDECREF(step);
  ------------------
  |  |  524|    125|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    125|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    125|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1745|    125|        break;
 1746|    125|    }
 1747|       |
 1748|      0|    default:
  ------------------
  |  Branch (1748:5): [True: 0, False: 65.9k]
  ------------------
 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|  65.9k|    }
 1755|  65.9k|    p->depth--;
 1756|  65.9k|    return retval;
 1757|  65.9k|}
marshal.c:r_byte:
  910|  89.4k|{
  911|  89.4k|    if (p->ptr != NULL) {
  ------------------
  |  Branch (911:9): [True: 89.4k, False: 0]
  ------------------
  912|  89.4k|        if (p->ptr < p->end) {
  ------------------
  |  Branch (912:13): [True: 89.4k, False: 0]
  ------------------
  913|  89.4k|            return (unsigned char) *p->ptr++;
  914|  89.4k|        }
  915|  89.4k|    }
  916|      0|    else if (!p->readable) {
  ------------------
  |  Branch (916:14): [True: 0, False: 0]
  ------------------
  917|      0|        assert(p->fp);
  ------------------
  |  Branch (917:9): [True: 0, False: 0]
  ------------------
  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|  89.4k|}
marshal.c:r_ref:
 1161|  18.4k|{
 1162|  18.4k|    assert(flag & FLAG_REF);
  ------------------
  |  Branch (1162:5): [True: 18.4k, False: 0]
  ------------------
 1163|  18.4k|    if (o == NULL)
  ------------------
  |  Branch (1163:9): [True: 0, False: 18.4k]
  ------------------
 1164|      0|        return NULL;
 1165|  18.4k|    if (PyList_Append(p->refs, o) < 0) {
  ------------------
  |  Branch (1165:9): [True: 0, False: 18.4k]
  ------------------
 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|  18.4k|    return o;
 1170|  18.4k|}
marshal.c:r_PyLong:
 1038|     12|{
 1039|     12|    long n = r_long(p);
 1040|     12|    if (n == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1040:9): [True: 0, False: 12]
  |  Branch (1040:20): [True: 0, False: 0]
  ------------------
 1041|      0|        return NULL;
 1042|      0|    }
 1043|     12|    if (n < -SIZE32_MAX || n > SIZE32_MAX) {
  ------------------
  |  |  212|     24|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
                  if (n < -SIZE32_MAX || n > SIZE32_MAX) {
  ------------------
  |  |  212|     12|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1043:9): [True: 0, False: 12]
  |  Branch (1043:28): [True: 0, False: 12]
  ------------------
 1044|      0|        PyErr_SetString(PyExc_ValueError,
 1045|      0|                       "bad marshal data (long size out of range)");
 1046|      0|        return NULL;
 1047|      0|    }
 1048|       |
 1049|     12|    const PyLongLayout *layout = PyLong_GetNativeLayout();
 1050|     12|    Py_ssize_t marshal_ratio = layout->bits_per_digit/PyLong_MARSHAL_SHIFT;
  ------------------
  |  |  245|     12|#define PyLong_MARSHAL_SHIFT 15
  ------------------
 1051|       |
 1052|       |    /* must be a multiple of PyLong_MARSHAL_SHIFT */
 1053|     12|    assert(layout->bits_per_digit % PyLong_MARSHAL_SHIFT == 0);
  ------------------
  |  Branch (1053:5): [True: 12, False: 0]
  ------------------
 1054|     12|    assert(layout->bits_per_digit >= PyLong_MARSHAL_SHIFT);
  ------------------
  |  Branch (1054:5): [True: 12, False: 0]
  ------------------
 1055|       |
 1056|       |    /* other assumptions on PyLongObject internals */
 1057|     12|    assert(layout->bits_per_digit <= 32);
  ------------------
  |  Branch (1057:5): [True: 12, False: 0]
  ------------------
 1058|     12|    assert(layout->digits_order == -1);
  ------------------
  |  Branch (1058:5): [True: 12, False: 0]
  ------------------
 1059|     12|    assert(layout->digit_endianness == (PY_LITTLE_ENDIAN ? -1 : 1));
  ------------------
  |  Branch (1059:5): [True: 12, Folded]
  |  Branch (1059:5): [True: 12, False: 0]
  ------------------
 1060|     12|    assert(layout->digit_size == 2 || layout->digit_size == 4);
  ------------------
  |  Branch (1060:5): [True: 0, False: 12]
  |  Branch (1060:5): [True: 12, False: 0]
  ------------------
 1061|       |
 1062|     12|    Py_ssize_t size = 1 + (Py_ABS(n) - 1) / marshal_ratio;
  ------------------
  |  |  118|     12|#define Py_ABS(x) ((x) < 0 ? -(x) : (x))
  |  |  ------------------
  |  |  |  Branch (118:20): [True: 1, False: 11]
  |  |  ------------------
  ------------------
 1063|       |
 1064|     12|    assert(size >= 1);
  ------------------
  |  Branch (1064:5): [True: 12, False: 0]
  ------------------
 1065|       |
 1066|     12|    int shorts_in_top_digit = 1 + (Py_ABS(n) - 1) % marshal_ratio;
  ------------------
  |  |  118|     12|#define Py_ABS(x) ((x) < 0 ? -(x) : (x))
  |  |  ------------------
  |  |  |  Branch (118:20): [True: 1, False: 11]
  |  |  ------------------
  ------------------
 1067|     12|    void *digits;
 1068|     12|    PyLongWriter *writer = PyLongWriter_Create(n < 0, size, &digits);
 1069|       |
 1070|     12|    if (writer == NULL) {
  ------------------
  |  Branch (1070:9): [True: 0, False: 12]
  ------------------
 1071|      0|        return NULL;
 1072|      0|    }
 1073|       |
 1074|     12|    int ret;
 1075|       |
 1076|     12|    if (layout->digit_size == 4) {
  ------------------
  |  Branch (1076:9): [True: 12, False: 0]
  ------------------
 1077|     12|        ret = _w_digits32(digits, size, marshal_ratio, shorts_in_top_digit, p);
 1078|     12|    }
 1079|      0|    else {
 1080|      0|        ret = _w_digits16(digits, size, marshal_ratio, shorts_in_top_digit, p);
 1081|      0|    }
 1082|     12|    if (ret < 0) {
  ------------------
  |  Branch (1082:9): [True: 0, False: 12]
  ------------------
 1083|      0|        PyLongWriter_Discard(writer);
 1084|      0|        return NULL;
 1085|      0|    }
 1086|     12|    return PyLongWriter_Finish(writer);
 1087|     12|}
marshal.c:r_float_bin:
 1091|      4|{
 1092|      4|    const char *buf = r_string(8, p);
 1093|      4|    if (buf == NULL)
  ------------------
  |  Branch (1093:9): [True: 0, False: 4]
  ------------------
 1094|      0|        return -1;
 1095|      4|    return PyFloat_Unpack8(buf, 1);
 1096|      4|}
marshal.c:r_ref_reserve:
 1122|  2.86k|{
 1123|  2.86k|    if (flag) { /* currently only FLAG_REF is defined */
  ------------------
  |  Branch (1123:9): [True: 27, False: 2.84k]
  ------------------
 1124|     27|        Py_ssize_t idx = PyList_GET_SIZE(p->refs);
  ------------------
  |  |   38|     27|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1125|     27|        if (idx >= 0x7ffffffe) {
  ------------------
  |  Branch (1125:13): [True: 0, False: 27]
  ------------------
 1126|      0|            PyErr_SetString(PyExc_ValueError, "bad marshal data (index list too large)");
 1127|      0|            return -1;
 1128|      0|        }
 1129|     27|        if (PyList_Append(p->refs, Py_None) < 0)
  ------------------
  |  |  616|     27|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1129:13): [True: 0, False: 27]
  ------------------
 1130|      0|            return -1;
 1131|     27|        return idx;
 1132|     27|    } else
 1133|  2.84k|        return 0;
 1134|  2.86k|}
marshal.c:r_ref_insert:
 1146|  2.86k|{
 1147|  2.86k|    if (o != NULL && flag) { /* currently only FLAG_REF is defined */
  ------------------
  |  Branch (1147:9): [True: 2.86k, False: 0]
  |  Branch (1147:22): [True: 27, False: 2.84k]
  ------------------
 1148|     27|        PyObject *tmp = PyList_GET_ITEM(p->refs, idx);
  ------------------
  |  |   40|     27|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|     27|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1148:25): [True: 27, False: 0]
  ------------------
 1149|     27|        PyList_SET_ITEM(p->refs, idx, Py_NewRef(o));
  ------------------
  |  |   50|     27|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1150|     27|        Py_DECREF(tmp);
  ------------------
  |  |  430|     27|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1151|     27|    }
 1152|  2.86k|    return o;
 1153|  2.86k|}
marshal.c:marshal_loads_impl:
 2107|     24|{
 2108|     24|    RFILE rf;
 2109|     24|    char *s = bytes->buf;
 2110|     24|    Py_ssize_t n = bytes->len;
 2111|     24|    PyObject* result;
 2112|     24|    rf.allow_code = allow_code;
 2113|     24|    rf.fp = NULL;
 2114|     24|    rf.readable = NULL;
 2115|     24|    rf.ptr = s;
 2116|     24|    rf.end = s + n;
 2117|     24|    rf.depth = 0;
 2118|     24|    if ((rf.refs = PyList_New(0)) == NULL)
  ------------------
  |  Branch (2118:9): [True: 0, False: 24]
  ------------------
 2119|      0|        return NULL;
 2120|     24|    result = read_object(&rf);
 2121|     24|    Py_DECREF(rf.refs);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2122|     24|    return result;
 2123|     24|}
marshal.c:marshal_module_exec:
 2166|      2|{
 2167|      2|    if (PyModule_AddIntConstant(mod, "version", Py_MARSHAL_VERSION) < 0) {
  ------------------
  |  |    9|      2|#define Py_MARSHAL_VERSION 6
  ------------------
  |  Branch (2167:9): [True: 0, False: 2]
  ------------------
 2168|      0|        return -1;
 2169|      0|    }
 2170|      2|    return 0;
 2171|      2|}

Py_BuildValue:
  497|     50|{
  498|     50|    va_list va;
  499|     50|    PyObject* retval;
  500|     50|    va_start(va, format);
  501|     50|    retval = va_build_value(format, va);
  502|       |    va_end(va);
  503|     50|    return retval;
  504|     50|}
_Py_VaBuildStack:
  555|   357k|{
  556|   357k|    const char *f;
  557|   357k|    Py_ssize_t n;
  558|   357k|    va_list lva;
  559|   357k|    PyObject **stack;
  560|   357k|    int res;
  561|       |
  562|   357k|    n = countformat(format, '\0');
  563|   357k|    if (n < 0) {
  ------------------
  |  Branch (563:9): [True: 0, False: 357k]
  ------------------
  564|      0|        *p_nargs = 0;
  565|      0|        return NULL;
  566|      0|    }
  567|       |
  568|   357k|    if (n == 0) {
  ------------------
  |  Branch (568:9): [True: 0, False: 357k]
  ------------------
  569|      0|        *p_nargs = 0;
  570|      0|        return small_stack;
  571|      0|    }
  572|       |
  573|   357k|    if (n <= small_stack_len) {
  ------------------
  |  Branch (573:9): [True: 357k, False: 12]
  ------------------
  574|   357k|        stack = small_stack;
  575|   357k|    }
  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|   357k|    va_copy(lva, va);
  585|   357k|    f = format;
  586|   357k|    res = do_mkstack(stack, &f, &lva, '\0', n);
  587|   357k|    va_end(lva);
  588|       |
  589|   357k|    if (res < 0) {
  ------------------
  |  Branch (589:9): [True: 0, False: 357k]
  ------------------
  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|   357k|    *p_nargs = n;
  597|   357k|    return stack;
  598|   357k|}
PyModule_AddObjectRef:
  603|    736|{
  604|    736|    if (!PyModule_Check(mod)) {
  ------------------
  |  |   12|    736|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|    736|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    736|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    736|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (604:9): [True: 0, False: 736]
  ------------------
  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|    736|    if (!value) {
  ------------------
  |  Branch (610:9): [True: 0, False: 736]
  ------------------
  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|    736|    PyObject *dict = PyModule_GetDict(mod);
  620|    736|    if (dict == NULL) {
  ------------------
  |  Branch (620:9): [True: 0, False: 736]
  ------------------
  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|    736|    return PyDict_SetItemString(dict, name, value);
  627|    736|}
PyModule_Add:
  631|    589|{
  632|    589|    int res = PyModule_AddObjectRef(mod, name, value);
  633|    589|    Py_XDECREF(value);
  ------------------
  |  |  524|    589|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    589|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    589|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|    589|    return res;
  635|    589|}
PyModule_AddIntConstant:
  649|    556|{
  650|    556|    return PyModule_Add(m, name, PyLong_FromLong(value));
  651|    556|}
PyModule_AddStringConstant:
  655|      1|{
  656|      1|    return PyModule_Add(m, name, PyUnicode_FromString(value));
  657|      1|}
PyModule_AddType:
  661|     76|{
  662|     76|    if (!_PyType_IsReady(type) && PyType_Ready(type) < 0) {
  ------------------
  |  Branch (662:9): [True: 0, False: 76]
  |  Branch (662:35): [True: 0, False: 0]
  ------------------
  663|      0|        return -1;
  664|      0|    }
  665|       |
  666|     76|    const char *name = _PyType_Name(type);
  667|     76|    assert(name != NULL);
  ------------------
  |  Branch (667:5): [True: 76, False: 0]
  ------------------
  668|       |
  669|     76|    return PyModule_AddObjectRef(module, name, (PyObject *)type);
  670|     76|}
PyABIInfo_Check:
  707|     31|{
  708|     31|    if (!info) {
  ------------------
  |  Branch (708:9): [True: 0, False: 31]
  ------------------
  709|      0|        return _abiinfo_raise(module_name, "NULL PyABIInfo");
  710|      0|    }
  711|       |
  712|       |    /* abiinfo_major_version */
  713|     31|    if (info->abiinfo_major_version == 0) {
  ------------------
  |  Branch (713:9): [True: 0, False: 31]
  ------------------
  714|      0|        return 0;
  715|      0|    }
  716|     31|    if (info->abiinfo_major_version > 1) {
  ------------------
  |  Branch (716:9): [True: 0, False: 31]
  ------------------
  717|      0|        return _abiinfo_raise(module_name, "PyABIInfo version too high");
  718|      0|    }
  719|       |
  720|       |    /* Internal ABI */
  721|     31|    if (info->flags & PyABIInfo_INTERNAL) {
  ------------------
  |  |   97|     31|#define PyABIInfo_INTERNAL      0x0008
  ------------------
  |  Branch (721:9): [True: 31, False: 0]
  ------------------
  722|     31|        if (info->abi_version && (info->abi_version != PY_VERSION_HEX)) {
  ------------------
  |  |   43|     31|#define PY_VERSION_HEX _Py_PACK_FULL_VERSION( \
  |  |  ------------------
  |  |  |  |   34|     31|#define _Py_PACK_FULL_VERSION(X, Y, Z, LEVEL, SERIAL) ( \
  |  |  |  |   35|     31|    (((X) & 0xff) << 24) |                              \
  |  |  |  |   36|     31|    (((Y) & 0xff) << 16) |                              \
  |  |  |  |   37|     31|    (((Z) & 0xff) << 8) |                               \
  |  |  |  |   38|     31|    (((LEVEL) & 0xf) << 4) |                            \
  |  |  |  |   39|     31|    (((SERIAL) & 0xf) << 0))
  |  |  ------------------
  |  |   44|     31|    PY_MAJOR_VERSION,                         \
  |  |   45|     31|    PY_MINOR_VERSION,                         \
  |  |   46|     31|    PY_MICRO_VERSION,                         \
  |  |   47|     31|    PY_RELEASE_LEVEL,                         \
  |  |   48|     31|    PY_RELEASE_SERIAL)
  ------------------
  |  Branch (722:13): [True: 31, False: 0]
  |  Branch (722:34): [True: 0, False: 31]
  ------------------
  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|     31|    }
  729|       |
  730|     31|#define XY_MASK 0xffff0000
  731|     31|    if (info->flags & PyABIInfo_STABLE) {
  ------------------
  |  |   94|     31|#define PyABIInfo_STABLE        0x0001
  ------------------
  |  Branch (731:9): [True: 0, False: 31]
  ------------------
  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|     31|    else {
  755|       |        /* Exact major.minor version check */
  756|     31|        if (info->abi_version) {
  ------------------
  |  Branch (756:13): [True: 31, False: 0]
  ------------------
  757|     31|            if ((info->abi_version & XY_MASK) != (PY_VERSION_HEX & XY_MASK)) {
  ------------------
  |  |  730|     31|#define XY_MASK 0xffff0000
  ------------------
                          if ((info->abi_version & XY_MASK) != (PY_VERSION_HEX & XY_MASK)) {
  ------------------
  |  |   43|     31|#define PY_VERSION_HEX _Py_PACK_FULL_VERSION( \
  |  |  ------------------
  |  |  |  |   34|     31|#define _Py_PACK_FULL_VERSION(X, Y, Z, LEVEL, SERIAL) ( \
  |  |  |  |   35|     31|    (((X) & 0xff) << 24) |                              \
  |  |  |  |   36|     31|    (((Y) & 0xff) << 16) |                              \
  |  |  |  |   37|     31|    (((Z) & 0xff) << 8) |                               \
  |  |  |  |   38|     31|    (((LEVEL) & 0xf) << 4) |                            \
  |  |  |  |   39|     31|    (((SERIAL) & 0xf) << 0))
  |  |  ------------------
  |  |   44|     31|    PY_MAJOR_VERSION,                         \
  |  |   45|     31|    PY_MINOR_VERSION,                         \
  |  |   46|     31|    PY_MICRO_VERSION,                         \
  |  |   47|     31|    PY_RELEASE_LEVEL,                         \
  |  |   48|     31|    PY_RELEASE_SERIAL)
  ------------------
                          if ((info->abi_version & XY_MASK) != (PY_VERSION_HEX & XY_MASK)) {
  ------------------
  |  |  730|     31|#define XY_MASK 0xffff0000
  ------------------
  |  Branch (757:17): [True: 0, False: 31]
  ------------------
  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|     31|        }
  765|     31|    }
  766|     31|#undef XY_MASK
  767|       |
  768|       |    /* Free-threading/GIL */
  769|     31|    uint16_t gilflags = info->flags & (PyABIInfo_GIL | PyABIInfo_FREETHREADED);
  ------------------
  |  |   95|     31|#define PyABIInfo_GIL           0x0002
  ------------------
                  uint16_t gilflags = info->flags & (PyABIInfo_GIL | PyABIInfo_FREETHREADED);
  ------------------
  |  |   96|     31|#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|     31|    if (gilflags == PyABIInfo_FREETHREADED) {
  ------------------
  |  |   96|     31|#define PyABIInfo_FREETHREADED  0x0004
  ------------------
  |  Branch (776:9): [True: 0, False: 31]
  ------------------
  777|      0|        return _abiinfo_raise(module_name,
  778|      0|                              "only compatible with free-threaded CPython");
  779|      0|    }
  780|     31|#endif
  781|       |
  782|     31|    return 0;
  783|     31|}
modsupport.c:va_build_value:
  531|     50|{
  532|     50|    const char *f = format;
  533|     50|    Py_ssize_t n = countformat(f, '\0');
  534|     50|    va_list lva;
  535|     50|    PyObject *retval;
  536|       |
  537|     50|    if (n < 0)
  ------------------
  |  Branch (537:9): [True: 0, False: 50]
  ------------------
  538|      0|        return NULL;
  539|     50|    if (n == 0) {
  ------------------
  |  Branch (539:9): [True: 0, False: 50]
  ------------------
  540|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  541|      0|    }
  542|     50|    va_copy(lva, va);
  543|     50|    if (n == 1) {
  ------------------
  |  Branch (543:9): [True: 36, False: 14]
  ------------------
  544|     36|        retval = do_mkvalue(&f, &lva);
  545|     36|    } else {
  546|     14|        retval = do_mktuple(&f, &lva, '\0', n);
  547|     14|    }
  548|       |    va_end(lva);
  549|     50|    return retval;
  550|     50|}
modsupport.c:do_mkvalue:
  287|  1.78M|{
  288|  1.78M|    for (;;) {
  289|  1.78M|        switch (*(*p_format)++) {
  290|     38|        case '(':
  ------------------
  |  Branch (290:9): [True: 38, False: 1.78M]
  ------------------
  291|     38|            return do_mktuple(p_format, p_va, ')',
  292|     38|                              countformat(*p_format, ')'));
  293|       |
  294|      0|        case '[':
  ------------------
  |  Branch (294:9): [True: 0, False: 1.78M]
  ------------------
  295|      0|            return do_mklist(p_format, p_va, ']',
  296|      0|                             countformat(*p_format, ']'));
  297|       |
  298|      4|        case '{':
  ------------------
  |  Branch (298:9): [True: 4, False: 1.78M]
  ------------------
  299|      4|            return do_mkdict(p_format, p_va, '}',
  300|      4|                             countformat(*p_format, '}'));
  301|       |
  302|      0|        case 'b':
  ------------------
  |  Branch (302:9): [True: 0, False: 1.78M]
  ------------------
  303|      0|        case 'B':
  ------------------
  |  Branch (303:9): [True: 0, False: 1.78M]
  ------------------
  304|      0|        case 'h':
  ------------------
  |  Branch (304:9): [True: 0, False: 1.78M]
  ------------------
  305|   356k|        case 'i':
  ------------------
  |  Branch (305:9): [True: 356k, False: 1.42M]
  ------------------
  306|   356k|            return PyLong_FromLong((long)va_arg(*p_va, int));
  307|       |
  308|      0|        case 'H':
  ------------------
  |  Branch (308:9): [True: 0, False: 1.78M]
  ------------------
  309|      0|            return PyLong_FromLong((long)va_arg(*p_va, unsigned int));
  310|       |
  311|      0|        case 'I':
  ------------------
  |  Branch (311:9): [True: 0, False: 1.78M]
  ------------------
  312|      0|        {
  313|      0|            unsigned int n;
  314|      0|            n = va_arg(*p_va, unsigned int);
  315|      0|            return PyLong_FromUnsignedLong(n);
  316|      0|        }
  317|       |
  318|     14|        case 'n':
  ------------------
  |  Branch (318:9): [True: 14, False: 1.78M]
  ------------------
  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|     14|            _Py_FALLTHROUGH;
  ------------------
  |  |  644|     14|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  324|     14|        case 'l':
  ------------------
  |  Branch (324:9): [True: 0, False: 1.78M]
  ------------------
  325|     14|            return PyLong_FromLong(va_arg(*p_va, long));
  326|       |
  327|      0|        case 'k':
  ------------------
  |  Branch (327:9): [True: 0, False: 1.78M]
  ------------------
  328|      0|        {
  329|      0|            unsigned long n;
  330|      0|            n = va_arg(*p_va, unsigned long);
  331|      0|            return PyLong_FromUnsignedLong(n);
  332|     14|        }
  333|       |
  334|      0|        case 'L':
  ------------------
  |  Branch (334:9): [True: 0, False: 1.78M]
  ------------------
  335|      0|            return PyLong_FromLongLong((long long)va_arg(*p_va, long long));
  336|       |
  337|      0|        case 'K':
  ------------------
  |  Branch (337:9): [True: 0, False: 1.78M]
  ------------------
  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: 1.78M]
  ------------------
  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|     14|        }
  362|      0|        case 'f':
  ------------------
  |  Branch (362:9): [True: 0, False: 1.78M]
  ------------------
  363|      0|        case 'd':
  ------------------
  |  Branch (363:9): [True: 0, False: 1.78M]
  ------------------
  364|      0|            return PyFloat_FromDouble(
  365|      0|                (double)va_arg(*p_va, va_double));
  366|       |
  367|      0|        case 'D':
  ------------------
  |  Branch (367:9): [True: 0, False: 1.78M]
  ------------------
  368|      0|            return PyComplex_FromCComplex(
  369|      0|                *((Py_complex *)va_arg(*p_va, Py_complex *)));
  370|       |
  371|      4|        case 'c':
  ------------------
  |  Branch (371:9): [True: 4, False: 1.78M]
  ------------------
  372|      4|        {
  373|      4|            char p[1];
  374|      4|            p[0] = (char)va_arg(*p_va, int);
  375|      4|            return PyBytes_FromStringAndSize(p, 1);
  376|      0|        }
  377|      0|        case 'C':
  ------------------
  |  Branch (377:9): [True: 0, False: 1.78M]
  ------------------
  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: 1.78M]
  ------------------
  383|      0|        {
  384|      0|            int i = va_arg(*p_va, int);
  385|      0|            return PyBool_FromLong(i);
  386|      0|        }
  387|       |
  388|     97|        case 's':
  ------------------
  |  Branch (388:9): [True: 97, False: 1.78M]
  ------------------
  389|    105|        case 'z':
  ------------------
  |  Branch (389:9): [True: 8, False: 1.78M]
  ------------------
  390|    105|        case 'U':   /* XXX deprecated alias */
  ------------------
  |  Branch (390:9): [True: 0, False: 1.78M]
  ------------------
  391|    105|        {
  392|    105|            PyObject *v;
  393|    105|            const char *str = va_arg(*p_va, const char *);
  394|    105|            Py_ssize_t n;
  395|    105|            if (**p_format == '#') {
  ------------------
  |  Branch (395:17): [True: 0, False: 105]
  ------------------
  396|      0|                ++*p_format;
  397|      0|                n = va_arg(*p_va, Py_ssize_t);
  398|      0|            }
  399|    105|            else
  400|    105|                n = -1;
  401|    105|            if (str == NULL) {
  ------------------
  |  Branch (401:17): [True: 0, False: 105]
  ------------------
  402|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  403|      0|            }
  404|    105|            else {
  405|    105|                if (n < 0) {
  ------------------
  |  Branch (405:21): [True: 105, False: 0]
  ------------------
  406|    105|                    size_t m = strlen(str);
  407|    105|                    if (m > PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|    105|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (407:25): [True: 0, False: 105]
  ------------------
  408|      0|                        PyErr_SetString(PyExc_OverflowError,
  409|      0|                            "string too long for Python string");
  410|      0|                        return NULL;
  411|      0|                    }
  412|    105|                    n = (Py_ssize_t)m;
  413|    105|                }
  414|    105|                v = PyUnicode_FromStringAndSize(str, n);
  415|    105|            }
  416|    105|            return v;
  417|    105|        }
  418|       |
  419|      0|        case 'y':
  ------------------
  |  Branch (419:9): [True: 0, False: 1.78M]
  ------------------
  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|     14|        case 'N':
  ------------------
  |  Branch (448:9): [True: 14, False: 1.78M]
  ------------------
  449|     14|        case 'S':
  ------------------
  |  Branch (449:9): [True: 0, False: 1.78M]
  ------------------
  450|  1.42M|        case 'O':
  ------------------
  |  Branch (450:9): [True: 1.42M, False: 356k]
  ------------------
  451|  1.42M|        if (**p_format == '&') {
  ------------------
  |  Branch (451:13): [True: 0, False: 1.42M]
  ------------------
  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|  1.42M|        else {
  459|  1.42M|            PyObject *v;
  460|  1.42M|            v = va_arg(*p_va, PyObject *);
  461|  1.42M|            if (v != NULL) {
  ------------------
  |  Branch (461:17): [True: 1.42M, False: 0]
  ------------------
  462|  1.42M|                if (*(*p_format - 1) != 'N')
  ------------------
  |  Branch (462:21): [True: 1.42M, False: 14]
  ------------------
  463|  1.42M|                    Py_INCREF(v);
  ------------------
  |  |  310|  1.42M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.42M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.42M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  464|  1.42M|            }
  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|  1.42M|            return v;
  477|  1.42M|        }
  478|       |
  479|      0|        case ':':
  ------------------
  |  Branch (479:9): [True: 0, False: 1.78M]
  ------------------
  480|      0|        case ',':
  ------------------
  |  Branch (480:9): [True: 0, False: 1.78M]
  ------------------
  481|      0|        case ' ':
  ------------------
  |  Branch (481:9): [True: 0, False: 1.78M]
  ------------------
  482|      0|        case '\t':
  ------------------
  |  Branch (482:9): [True: 0, False: 1.78M]
  ------------------
  483|      0|            break;
  484|       |
  485|      0|        default:
  ------------------
  |  Branch (485:9): [True: 0, False: 1.78M]
  ------------------
  486|      0|            PyErr_SetString(PyExc_SystemError,
  487|      0|                "bad format char passed to Py_BuildValue");
  488|      0|            return NULL;
  489|       |
  490|  1.78M|        }
  491|  1.78M|    }
  492|  1.78M|}
modsupport.c:check_end:
  107|   357k|{
  108|   357k|    const char *f = *p_format;
  109|   357k|    while (*f != endchar) {
  ------------------
  |  Branch (109:12): [True: 0, False: 357k]
  ------------------
  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|   357k|    if (endchar) {
  ------------------
  |  Branch (117:9): [True: 42, False: 357k]
  ------------------
  118|     42|        f++;
  119|     42|    }
  120|   357k|    *p_format = f;
  121|   357k|    return 1;
  122|   357k|}
modsupport.c:do_mkdict:
  150|      4|{
  151|      4|    PyObject *d;
  152|      4|    Py_ssize_t i;
  153|      4|    if (n < 0)
  ------------------
  |  Branch (153:9): [True: 0, False: 4]
  ------------------
  154|      0|        return NULL;
  155|      4|    if (n % 2) {
  ------------------
  |  Branch (155:9): [True: 0, False: 4]
  ------------------
  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|      4|    if ((d = PyDict_New()) == NULL) {
  ------------------
  |  Branch (163:9): [True: 0, False: 4]
  ------------------
  164|      0|        do_ignore(p_format, p_va, endchar, n);
  165|      0|        return NULL;
  166|      0|    }
  167|      6|    for (i = 0; i < n; i+= 2) {
  ------------------
  |  Branch (167:17): [True: 2, False: 4]
  ------------------
  168|      2|        PyObject *k, *v;
  169|       |
  170|      2|        k = do_mkvalue(p_format, p_va);
  171|      2|        if (k == NULL) {
  ------------------
  |  Branch (171:13): [True: 0, False: 2]
  ------------------
  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|      2|        v = do_mkvalue(p_format, p_va);
  177|      2|        if (v == NULL || PyDict_SetItem(d, k, v) < 0) {
  ------------------
  |  Branch (177:13): [True: 0, False: 2]
  |  Branch (177:26): [True: 0, False: 2]
  ------------------
  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|      2|        Py_DECREF(k);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  185|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  186|      2|    }
  187|      4|    if (!check_end(p_format, endchar)) {
  ------------------
  |  Branch (187:9): [True: 0, False: 4]
  ------------------
  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|      4|    return d;
  192|      4|}
modsupport.c:do_mktuple:
  258|     52|{
  259|     52|    PyObject *v;
  260|     52|    Py_ssize_t i;
  261|     52|    if (n < 0)
  ------------------
  |  Branch (261:9): [True: 0, False: 52]
  ------------------
  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|     52|    if ((v = PyTuple_New(n)) == NULL) {
  ------------------
  |  Branch (265:9): [True: 0, False: 52]
  ------------------
  266|      0|        do_ignore(p_format, p_va, endchar, n);
  267|      0|        return NULL;
  268|      0|    }
  269|    188|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (269:17): [True: 136, False: 52]
  ------------------
  270|    136|        PyObject *w = do_mkvalue(p_format, p_va);
  271|    136|        if (w == NULL) {
  ------------------
  |  Branch (271:13): [True: 0, False: 136]
  ------------------
  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|    136|        PyTuple_SET_ITEM(v, i, w);
  ------------------
  |  |   40|    136|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    136|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    136|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    136|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    136|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  277|    136|    }
  278|     52|    if (!check_end(p_format, endchar)) {
  ------------------
  |  Branch (278:9): [True: 0, False: 52]
  ------------------
  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|     52|    return v;
  283|     52|}
modsupport.c:countformat:
   55|   357k|{
   56|   357k|    Py_ssize_t count = 0;
   57|   357k|    int level = 0;
   58|  2.14M|    while (level > 0 || *format != endchar) {
  ------------------
  |  Branch (58:12): [True: 154, False: 2.14M]
  |  Branch (58:25): [True: 1.78M, False: 357k]
  ------------------
   59|  1.78M|        switch (*format) {
   60|      0|        case '\0':
  ------------------
  |  Branch (60:9): [True: 0, False: 1.78M]
  ------------------
   61|       |            /* Premature end */
   62|      0|            PyErr_SetString(PyExc_SystemError,
   63|      0|                            "unmatched paren in format");
   64|      0|            return -1;
   65|     38|        case '(':
  ------------------
  |  Branch (65:9): [True: 38, False: 1.78M]
  ------------------
   66|     38|        case '[':
  ------------------
  |  Branch (66:9): [True: 0, False: 1.78M]
  ------------------
   67|     42|        case '{':
  ------------------
  |  Branch (67:9): [True: 4, False: 1.78M]
  ------------------
   68|     42|            if (level == 0) {
  ------------------
  |  Branch (68:17): [True: 42, False: 0]
  ------------------
   69|     42|                count++;
   70|     42|            }
   71|     42|            level++;
   72|     42|            break;
   73|     38|        case ')':
  ------------------
  |  Branch (73:9): [True: 38, False: 1.78M]
  ------------------
   74|     38|        case ']':
  ------------------
  |  Branch (74:9): [True: 0, False: 1.78M]
  ------------------
   75|     42|        case '}':
  ------------------
  |  Branch (75:9): [True: 4, False: 1.78M]
  ------------------
   76|     42|            level--;
   77|     42|            break;
   78|      0|        case '#':
  ------------------
  |  Branch (78:9): [True: 0, False: 1.78M]
  ------------------
   79|      0|        case '&':
  ------------------
  |  Branch (79:9): [True: 0, False: 1.78M]
  ------------------
   80|      0|        case ',':
  ------------------
  |  Branch (80:9): [True: 0, False: 1.78M]
  ------------------
   81|      0|        case ':':
  ------------------
  |  Branch (81:9): [True: 0, False: 1.78M]
  ------------------
   82|      0|        case ' ':
  ------------------
  |  Branch (82:9): [True: 0, False: 1.78M]
  ------------------
   83|      0|        case '\t':
  ------------------
  |  Branch (83:9): [True: 0, False: 1.78M]
  ------------------
   84|      0|            break;
   85|  1.78M|        default:
  ------------------
  |  Branch (85:9): [True: 1.78M, False: 84]
  ------------------
   86|  1.78M|            if (level == 0) {
  ------------------
  |  Branch (86:17): [True: 1.78M, False: 112]
  ------------------
   87|  1.78M|                count++;
   88|  1.78M|            }
   89|  1.78M|        }
   90|  1.78M|        format++;
   91|  1.78M|    }
   92|   357k|    return count;
   93|   357k|}
modsupport.c:do_mkstack:
  227|   357k|{
  228|   357k|    Py_ssize_t i;
  229|       |
  230|   357k|    if (n < 0) {
  ------------------
  |  Branch (230:9): [True: 0, False: 357k]
  ------------------
  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|  2.14M|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (235:17): [True: 1.78M, False: 357k]
  ------------------
  236|  1.78M|        PyObject *w = do_mkvalue(p_format, p_va);
  237|  1.78M|        if (w == NULL) {
  ------------------
  |  Branch (237:13): [True: 0, False: 1.78M]
  ------------------
  238|      0|            do_ignore(p_format, p_va, endchar, n - i - 1);
  239|      0|            goto error;
  240|      0|        }
  241|  1.78M|        stack[i] = w;
  242|  1.78M|    }
  243|   357k|    if (!check_end(p_format, endchar)) {
  ------------------
  |  Branch (243:9): [True: 0, False: 357k]
  ------------------
  244|      0|        goto error;
  245|      0|    }
  246|   357k|    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|   357k|}

PyOS_snprintf:
   42|      8|{
   43|      8|    int rc;
   44|      8|    va_list va;
   45|       |
   46|      8|    va_start(va, format);
   47|      8|    rc = PyOS_vsnprintf(str, size, format, va);
   48|       |    va_end(va);
   49|      8|    return rc;
   50|      8|}
PyOS_vsnprintf:
   54|      8|{
   55|      8|    assert(str != NULL);
  ------------------
  |  Branch (55:5): [True: 8, False: 0]
  ------------------
   56|      8|    assert(size > 0);
  ------------------
  |  Branch (56:5): [True: 8, False: 0]
  ------------------
   57|      8|    assert(size <= (INT_MAX - 1));
  ------------------
  |  Branch (57:5): [True: 8, False: 0]
  ------------------
   58|      8|    assert(format != NULL);
  ------------------
  |  Branch (58:5): [True: 8, False: 0]
  ------------------
   59|       |
   60|      8|    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|      8|    if (size > INT_MAX - 1) {
  ------------------
  |  Branch (64:9): [True: 0, False: 8]
  ------------------
   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|      8|    len = vsnprintf(str, size, format, va);
   73|      8|#endif
   74|       |
   75|      8|Done:
   76|      8|    if (size > 0) {
  ------------------
  |  Branch (76:9): [True: 8, False: 0]
  ------------------
   77|      8|        str[size-1] = '\0';
   78|      8|    }
   79|      8|    return len;
   80|      8|}

_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]
  |  |  ------------------
  ------------------
  |  Branch (111:5): [True: 4, False: 0]
  ------------------
  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: 0, False: 2]
  |  |  ------------------
  |  |  127|      0|            _PyMem_DefaultRawFree(_Py_path_config.ATTR); \
  |  |  128|      0|            _Py_path_config.ATTR = _PyMem_DefaultRawWcsdup(config->ATTR); \
  |  |  129|      0|            if (!_Py_path_config.ATTR) goto error; \
  |  |  ------------------
  |  |  |  Branch (129:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  130|      0|        } \
  |  |  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|}
_PyArgv_AsWstrList:
   80|      4|{
   81|      4|    PyWideStringList wargv = _PyWideStringList_INIT;
  ------------------
  |  |   53|      4|#define _PyWideStringList_INIT (PyWideStringList){.length = 0, .items = NULL}
  ------------------
   82|      4|    if (args->use_bytes_argv) {
  ------------------
  |  Branch (82:9): [True: 0, False: 4]
  ------------------
   83|      0|        size_t size = sizeof(wchar_t*) * args->argc;
   84|      0|        wargv.items = (wchar_t **)PyMem_RawMalloc(size);
   85|      0|        if (wargv.items == NULL) {
  ------------------
  |  Branch (85:13): [True: 0, False: 0]
  ------------------
   86|      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)}
  |  |  ------------------
  ------------------
   87|      0|        }
   88|       |
   89|      0|        for (Py_ssize_t i = 0; i < args->argc; i++) {
  ------------------
  |  Branch (89:32): [True: 0, False: 0]
  ------------------
   90|      0|            size_t len;
   91|      0|            wchar_t *arg = Py_DecodeLocale(args->bytes_argv[i], &len);
   92|      0|            if (arg == NULL) {
  ------------------
  |  Branch (92:17): [True: 0, False: 0]
  ------------------
   93|      0|                _PyWideStringList_Clear(&wargv);
   94|      0|                return DECODE_LOCALE_ERR("command line arguments", len);
  ------------------
  |  |  189|      0|    ((LEN) == (size_t)-2) \
  |  |  ------------------
  |  |  |  Branch (189:5): [True: 0, False: 0]
  |  |  ------------------
  |  |  190|      0|     ? _PyStatus_ERR("cannot decode " 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)}
  |  |  ------------------
  |  |  191|      0|     : _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)}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   95|      0|            }
   96|      0|            wargv.items[i] = arg;
   97|      0|            wargv.length++;
   98|      0|        }
   99|       |
  100|      0|        _PyWideStringList_Clear(list);
  101|      0|        *list = wargv;
  102|      0|    }
  103|      4|    else {
  104|      4|        wargv.length = args->argc;
  105|      4|        wargv.items = (wchar_t **)args->wchar_argv;
  106|      4|        if (_PyWideStringList_Copy(list, &wargv) < 0) {
  ------------------
  |  Branch (106:13): [True: 0, False: 4]
  ------------------
  107|      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)}
  |  |  ------------------
  ------------------
  108|      0|        }
  109|      4|    }
  110|      4|    return _PyStatus_OK();
  ------------------
  |  |   24|      4|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  111|      4|}
_PyPreCmdline_Clear:
  118|      4|{
  119|      4|    _PyWideStringList_Clear(&cmdline->argv);
  120|      4|    _PyWideStringList_Clear(&cmdline->xoptions);
  121|      4|}
_PyPreCmdline_SetArgv:
  126|      4|{
  127|      4|    return _PyArgv_AsWstrList(args, &cmdline->argv);
  128|      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|      6|{
  233|      6|    precmdline_get_preconfig(cmdline, preconfig);
  234|       |
  235|      6|    if (preconfig->parse_argv) {
  ------------------
  |  Branch (235:9): [True: 6, False: 0]
  ------------------
  236|      6|        PyStatus status = precmdline_parse_cmdline(cmdline);
  237|      6|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      6|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 6]
  |  |  ------------------
  ------------------
  238|      0|            return status;
  239|      0|        }
  240|      6|    }
  241|       |
  242|       |    /* isolated, use_environment */
  243|      6|    if (cmdline->isolated < 0) {
  ------------------
  |  Branch (243:9): [True: 0, False: 6]
  ------------------
  244|      0|        cmdline->isolated = 0;
  245|      0|    }
  246|      6|    if (cmdline->isolated > 0) {
  ------------------
  |  Branch (246:9): [True: 0, False: 6]
  ------------------
  247|      0|        cmdline->use_environment = 0;
  248|      0|    }
  249|      6|    if (cmdline->use_environment < 0) {
  ------------------
  |  Branch (249:9): [True: 0, False: 6]
  ------------------
  250|      0|        cmdline->use_environment = 0;
  251|      0|    }
  252|       |
  253|       |    /* dev_mode */
  254|      6|    if ((cmdline->dev_mode < 0)
  ------------------
  |  Branch (254:9): [True: 2, False: 4]
  ------------------
  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|      6|    if (cmdline->dev_mode < 0) {
  ------------------
  |  Branch (260:9): [True: 2, False: 4]
  ------------------
  261|      2|        cmdline->dev_mode = 0;
  262|      2|    }
  263|       |
  264|       |    // warn_default_encoding
  265|      6|    if (_Py_get_xoption(&cmdline->xoptions, L"warn_default_encoding")
  ------------------
  |  Branch (265:9): [True: 0, False: 6]
  ------------------
  266|      6|            || _Py_GetEnv(cmdline->use_environment, "PYTHONWARNDEFAULTENCODING"))
  ------------------
  |  Branch (266:16): [True: 0, False: 6]
  ------------------
  267|      0|    {
  268|      0|        cmdline->warn_default_encoding = 1;
  269|      0|    }
  270|       |
  271|      6|    assert(cmdline->use_environment >= 0);
  ------------------
  |  Branch (271:5): [True: 6, False: 0]
  ------------------
  272|      6|    assert(cmdline->isolated >= 0);
  ------------------
  |  Branch (272:5): [True: 6, False: 0]
  ------------------
  273|      6|    assert(cmdline->dev_mode >= 0);
  ------------------
  |  Branch (273:5): [True: 6, False: 0]
  ------------------
  274|      6|    assert(cmdline->warn_default_encoding >= 0);
  ------------------
  |  Branch (274:5): [True: 6, False: 0]
  ------------------
  275|       |
  276|      6|    return _PyStatus_OK();
  ------------------
  |  |   24|      6|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  277|      6|}
_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|     12|{
  314|     12|    _PyPreConfig_InitCompatConfig(config);
  315|       |
  316|     12|    config->_config_init = (int)_PyConfig_INIT_PYTHON;
  317|     12|    config->isolated = 0;
  318|     12|    config->parse_argv = 1;
  319|     12|    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|     12|    config->coerce_c_locale = -1;
  324|     12|    config->coerce_c_locale_warn = -1;
  325|     12|    config->utf8_mode = -1;
  326|       |#ifdef MS_WINDOWS
  327|       |    config->legacy_windows_fs_encoding = 0;
  328|       |#endif
  329|     12|}
_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|      2|    case _PyConfig_INIT_PYTHON:
  ------------------
  |  Branch (364:5): [True: 2, False: 0]
  ------------------
  365|      2|        PyPreConfig_InitPythonConfig(preconfig);
  366|      2|        break;
  367|      0|    case _PyConfig_INIT_ISOLATED:
  ------------------
  |  Branch (367:5): [True: 0, False: 2]
  ------------------
  368|      0|        PyPreConfig_InitIsolatedConfig(preconfig);
  369|      0|        break;
  370|      0|    case _PyConfig_INIT_COMPAT:
  ------------------
  |  Branch (370:5): [True: 0, False: 2]
  ------------------
  371|      0|    default:
  ------------------
  |  Branch (371:5): [True: 0, False: 2]
  ------------------
  372|      0|        _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: 4, False: 0]
  |  |  ------------------
  |  |  453|      4|        preconfig->ATTR = config->ATTR; \
  |  |  454|      4|    }
  ------------------
  458|      4|    COPY_ATTR(use_environment);
  ------------------
  |  |  452|      4|    if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (452:9): [True: 4, False: 0]
  |  |  ------------------
  |  |  453|      4|        preconfig->ATTR = config->ATTR; \
  |  |  454|      4|    }
  ------------------
  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|     72|{
  529|     72|    assert(use_environment >= 0);
  ------------------
  |  Branch (529:5): [True: 72, False: 0]
  ------------------
  530|       |
  531|     72|    if (!use_environment) {
  ------------------
  |  Branch (531:9): [True: 0, False: 72]
  ------------------
  532|      0|        return NULL;
  533|      0|    }
  534|       |
  535|     72|    const char *var = getenv(name);
  536|     72|    if (var && var[0] != '\0') {
  ------------------
  |  Branch (536:9): [True: 0, False: 72]
  |  Branch (536:16): [True: 0, False: 0]
  ------------------
  537|      0|        return var;
  538|      0|    }
  539|     72|    else {
  540|       |        return NULL;
  541|     72|    }
  542|     72|}
_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|     44|{
  584|     44|    for (Py_ssize_t i=0; i < xoptions->length; i++) {
  ------------------
  |  Branch (584:26): [True: 0, False: 44]
  ------------------
  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|     44|    return NULL;
  599|     44|}
_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|      4|    while (1) {
  ------------------
  |  Branch (823:12): [True: 4, Folded]
  ------------------
  824|      4|        int utf8_mode = config->utf8_mode;
  825|       |
  826|       |        /* Watchdog to prevent an infinite loop */
  827|      4|        loops++;
  828|      4|        if (loops == 3) {
  ------------------
  |  Branch (828:13): [True: 0, False: 4]
  ------------------
  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|      4|        preconfig_copy(&_PyRuntime.preconfig, config);
  838|       |
  839|      4|        if (args) {
  ------------------
  |  Branch (839:13): [True: 4, False: 0]
  ------------------
  840|       |            // Set command line arguments at each iteration. If they are bytes
  841|       |            // strings, they are decoded from the new encoding.
  842|      4|            status = _PyPreCmdline_SetArgv(&cmdline, args);
  843|      4|            if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      4|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 4]
  |  |  ------------------
  ------------------
  844|      0|                goto done;
  845|      0|            }
  846|      4|        }
  847|       |
  848|      4|        status = preconfig_read(config, &cmdline);
  849|      4|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      4|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 4]
  |  |  ------------------
  ------------------
  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|      4|        int encoding_changed = 0;
  864|      4|        if (config->coerce_c_locale && !locale_coerced) {
  ------------------
  |  Branch (864:13): [True: 2, False: 2]
  |  Branch (864:40): [True: 1, False: 1]
  ------------------
  865|      1|            locale_coerced = 1;
  866|      1|            _Py_CoerceLegacyLocale(0);
  867|      1|            encoding_changed = 1;
  868|      1|        }
  869|       |
  870|      4|        if (utf8_mode == -1) {
  ------------------
  |  Branch (870:13): [True: 2, False: 2]
  ------------------
  871|      2|            if (config->utf8_mode == 1) {
  ------------------
  |  Branch (871:17): [True: 2, False: 0]
  ------------------
  872|       |                /* UTF-8 Mode enabled */
  873|      2|                encoding_changed = 1;
  874|      2|            }
  875|      2|        }
  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|      4|        if (!encoding_changed) {
  ------------------
  |  Branch (882:13): [True: 2, False: 2]
  ------------------
  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|      2|        int new_utf8_mode = config->utf8_mode;
  889|      2|        int new_coerce_c_locale = config->coerce_c_locale;
  890|      2|        preconfig_copy(config, &save_config);
  891|      2|        config->utf8_mode = new_utf8_mode;
  892|      2|        config->coerce_c_locale = new_coerce_c_locale;
  893|       |
  894|       |        /* The encoding changed: read again the configuration
  895|       |           with the new encoding */
  896|      2|    }
  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: 1, False: 1]
  ------------------
  948|      1|            if (!_Py_CoerceLegacyLocale(config.coerce_c_locale_warn)) {
  ------------------
  |  Branch (948:17): [True: 0, False: 1]
  ------------------
  949|       |                /* C locale not coerced */
  950|      0|                config.coerce_c_locale = 0;
  951|      0|            }
  952|      1|        }
  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|      6|{
  134|      6|#define COPY_ATTR(ATTR) \
  135|      6|    if (config->ATTR != -1) { \
  136|      6|        cmdline->ATTR = config->ATTR; \
  137|      6|    }
  138|       |
  139|      6|    COPY_ATTR(isolated);
  ------------------
  |  |  135|      6|    if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 6, False: 0]
  |  |  ------------------
  |  |  136|      6|        cmdline->ATTR = config->ATTR; \
  |  |  137|      6|    }
  ------------------
  140|      6|    COPY_ATTR(use_environment);
  ------------------
  |  |  135|      6|    if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 6, False: 0]
  |  |  ------------------
  |  |  136|      6|        cmdline->ATTR = config->ATTR; \
  |  |  137|      6|    }
  ------------------
  141|      6|    COPY_ATTR(dev_mode);
  ------------------
  |  |  135|      6|    if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 2, False: 4]
  |  |  ------------------
  |  |  136|      2|        cmdline->ATTR = config->ATTR; \
  |  |  137|      2|    }
  ------------------
  142|       |
  143|      6|#undef COPY_ATTR
  144|      6|}
preconfig.c:precmdline_parse_cmdline:
  185|      6|{
  186|      6|    const PyWideStringList *argv = &cmdline->argv;
  187|       |
  188|      6|    _PyOS_ResetGetOpt();
  189|       |    /* Don't log parsing errors into stderr here: PyConfig_Read()
  190|       |       is responsible for that */
  191|      6|    _PyOS_opterr = 0;
  192|      6|    do {
  193|      6|        int longindex = -1;
  194|      6|        int c = _PyOS_GetOpt(argv->length, argv->items, &longindex);
  195|       |
  196|      6|        if (c == EOF || c == 'c' || c == 'm') {
  ------------------
  |  Branch (196:13): [True: 6, False: 0]
  |  Branch (196:25): [True: 0, False: 0]
  |  Branch (196:37): [True: 0, False: 0]
  ------------------
  197|      6|            break;
  198|      6|        }
  199|       |
  200|      0|        switch (c) {
  201|      0|        case 'E':
  ------------------
  |  Branch (201:9): [True: 0, False: 0]
  ------------------
  202|      0|            cmdline->use_environment = 0;
  203|      0|            break;
  204|       |
  205|      0|        case 'I':
  ------------------
  |  Branch (205:9): [True: 0, False: 0]
  ------------------
  206|      0|            cmdline->isolated = 1;
  207|      0|            break;
  208|       |
  209|      0|        case 'X':
  ------------------
  |  Branch (209:9): [True: 0, False: 0]
  ------------------
  210|      0|        {
  211|      0|            PyStatus status = PyWideStringList_Append(&cmdline->xoptions,
  212|      0|                                                      _PyOS_optarg);
  213|      0|            if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  214|      0|                return status;
  215|      0|            }
  216|      0|            break;
  217|      0|        }
  218|       |
  219|      0|        default:
  ------------------
  |  Branch (219:9): [True: 0, False: 0]
  ------------------
  220|       |            /* ignore other argument:
  221|       |               handled by PyConfig_Read() */
  222|      0|            break;
  223|      0|        }
  224|      0|    } while (1);
  ------------------
  |  Branch (224:14): [True: 0, Folded]
  ------------------
  225|       |
  226|      6|    return _PyStatus_OK();
  ------------------
  |  |   24|      6|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  227|      6|}
preconfig.c:preconfig_copy:
  381|     20|{
  382|     20|#define COPY_ATTR(ATTR) config->ATTR = config2->ATTR
  383|       |
  384|     20|    COPY_ATTR(_config_init);
  ------------------
  |  |  382|     20|#define COPY_ATTR(ATTR) config->ATTR = config2->ATTR
  ------------------
  385|     20|    COPY_ATTR(parse_argv);
  ------------------
  |  |  382|     20|#define COPY_ATTR(ATTR) config->ATTR = config2->ATTR
  ------------------
  386|     20|    COPY_ATTR(isolated);
  ------------------
  |  |  382|     20|#define COPY_ATTR(ATTR) config->ATTR = config2->ATTR
  ------------------
  387|     20|    COPY_ATTR(use_environment);
  ------------------
  |  |  382|     20|#define COPY_ATTR(ATTR) config->ATTR = config2->ATTR
  ------------------
  388|     20|    COPY_ATTR(configure_locale);
  ------------------
  |  |  382|     20|#define COPY_ATTR(ATTR) config->ATTR = config2->ATTR
  ------------------
  389|     20|    COPY_ATTR(dev_mode);
  ------------------
  |  |  382|     20|#define COPY_ATTR(ATTR) config->ATTR = config2->ATTR
  ------------------
  390|     20|    COPY_ATTR(coerce_c_locale);
  ------------------
  |  |  382|     20|#define COPY_ATTR(ATTR) config->ATTR = config2->ATTR
  ------------------
  391|     20|    COPY_ATTR(coerce_c_locale_warn);
  ------------------
  |  |  382|     20|#define COPY_ATTR(ATTR) config->ATTR = config2->ATTR
  ------------------
  392|     20|    COPY_ATTR(utf8_mode);
  ------------------
  |  |  382|     20|#define COPY_ATTR(ATTR) config->ATTR = config2->ATTR
  ------------------
  393|     20|    COPY_ATTR(allocator);
  ------------------
  |  |  382|     20|#define COPY_ATTR(ATTR) config->ATTR = config2->ATTR
  ------------------
  394|       |#ifdef MS_WINDOWS
  395|       |    COPY_ATTR(legacy_windows_fs_encoding);
  396|       |#endif
  397|       |
  398|     20|#undef COPY_ATTR
  399|     20|}
preconfig.c:preconfig_get_global_vars:
  467|      2|{
  468|      2|    if (config->_config_init != _PyConfig_INIT_COMPAT) {
  ------------------
  |  Branch (468:9): [True: 2, False: 0]
  ------------------
  469|       |        /* Python and Isolated configuration ignore global variables */
  470|      2|        return;
  471|      2|    }
  472|       |
  473|      0|#define COPY_FLAG(ATTR, VALUE) \
  474|      0|    if (config->ATTR < 0) { \
  475|      0|        config->ATTR = VALUE; \
  476|      0|    }
  477|      0|#define COPY_NOT_FLAG(ATTR, VALUE) \
  478|      0|    if (config->ATTR < 0) { \
  479|      0|        config->ATTR = !(VALUE); \
  480|      0|    }
  481|       |
  482|      0|_Py_COMP_DIAG_PUSH
  483|      0|_Py_COMP_DIAG_IGNORE_DEPR_DECLS
  484|      0|    COPY_FLAG(isolated, Py_IsolatedFlag);
  ------------------
  |  |  474|      0|    if (config->ATTR < 0) { \
  |  |  ------------------
  |  |  |  Branch (474:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  475|      0|        config->ATTR = VALUE; \
  |  |  476|      0|    }
  ------------------
  485|      0|    COPY_NOT_FLAG(use_environment, Py_IgnoreEnvironmentFlag);
  ------------------
  |  |  478|      0|    if (config->ATTR < 0) { \
  |  |  ------------------
  |  |  |  Branch (478:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  479|      0|        config->ATTR = !(VALUE); \
  |  |  480|      0|    }
  ------------------
  486|      0|    if (Py_UTF8Mode > 0) {
  ------------------
  |  Branch (486:9): [True: 0, False: 0]
  ------------------
  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|      0|_Py_COMP_DIAG_POP
  493|       |
  494|      0|#undef COPY_FLAG
  495|      0|#undef COPY_NOT_FLAG
  496|      0|}
preconfig.c:preconfig_read:
  731|      4|{
  732|      4|    PyStatus status;
  733|       |
  734|      4|    status = _PyPreCmdline_Read(cmdline, config);
  735|      4|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      4|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 4]
  |  |  ------------------
  ------------------
  736|      0|        return status;
  737|      0|    }
  738|       |
  739|      4|    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|      4|    preconfig_init_coerce_c_locale(config);
  749|       |
  750|      4|    status = preconfig_init_utf8_mode(config, cmdline);
  751|      4|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      4|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 4]
  |  |  ------------------
  ------------------
  752|      0|        return status;
  753|      0|    }
  754|       |
  755|       |    /* allocator */
  756|      4|    status = preconfig_init_allocator(config);
  757|      4|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      4|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 4]
  |  |  ------------------
  ------------------
  758|      0|        return status;
  759|      0|    }
  760|       |
  761|      4|    assert(config->coerce_c_locale >= 0);
  ------------------
  |  Branch (761:5): [True: 4, False: 0]
  ------------------
  762|      4|    assert(config->coerce_c_locale_warn >= 0);
  ------------------
  |  Branch (762:5): [True: 4, False: 0]
  ------------------
  763|       |#ifdef MS_WINDOWS
  764|       |    assert(config->legacy_windows_fs_encoding >= 0);
  765|       |#endif
  766|      4|    assert(config->utf8_mode >= 0);
  ------------------
  |  Branch (766:5): [True: 4, False: 0]
  ------------------
  767|      4|    assert(config->isolated >= 0);
  ------------------
  |  Branch (767:5): [True: 4, False: 0]
  ------------------
  768|      4|    assert(config->use_environment >= 0);
  ------------------
  |  Branch (768:5): [True: 4, False: 0]
  ------------------
  769|      4|    assert(config->dev_mode >= 0);
  ------------------
  |  Branch (769:5): [True: 4, False: 0]
  ------------------
  770|       |
  771|      4|    return _PyStatus_OK();
  ------------------
  |  |   24|      4|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  772|      4|}
preconfig.c:precmdline_set_preconfig:
  149|      4|{
  150|      4|#define COPY_ATTR(ATTR) \
  151|      4|    config->ATTR = cmdline->ATTR
  152|       |
  153|      4|    COPY_ATTR(isolated);
  ------------------
  |  |  151|      4|    config->ATTR = cmdline->ATTR
  ------------------
  154|      4|    COPY_ATTR(use_environment);
  ------------------
  |  |  151|      4|    config->ATTR = cmdline->ATTR
  ------------------
  155|      4|    COPY_ATTR(dev_mode);
  ------------------
  |  |  151|      4|    config->ATTR = cmdline->ATTR
  ------------------
  156|       |
  157|      4|#undef COPY_ATTR
  158|      4|}
preconfig.c:preconfig_init_coerce_c_locale:
  659|      4|{
  660|      4|    if (!config->configure_locale) {
  ------------------
  |  Branch (660:9): [True: 0, False: 4]
  ------------------
  661|      0|        config->coerce_c_locale = 0;
  662|      0|        config->coerce_c_locale_warn = 0;
  663|      0|        return;
  664|      0|    }
  665|       |
  666|      4|    const char *env = _Py_GetEnv(config->use_environment, "PYTHONCOERCECLOCALE");
  667|      4|    if (env) {
  ------------------
  |  Branch (667:9): [True: 0, False: 4]
  ------------------
  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|      4|    if (config->coerce_c_locale < 0 || config->coerce_c_locale == 1) {
  ------------------
  |  Branch (688:9): [True: 2, False: 2]
  |  Branch (688:40): [True: 0, False: 2]
  ------------------
  689|       |        /* The C locale enables the C locale coercion (PEP 538) */
  690|      2|        if (_Py_LegacyLocaleDetected(0)) {
  ------------------
  |  Branch (690:13): [True: 1, False: 1]
  ------------------
  691|      1|            config->coerce_c_locale = 2;
  692|      1|        }
  693|      1|        else {
  694|      1|            config->coerce_c_locale = 0;
  695|      1|        }
  696|      2|    }
  697|       |
  698|      4|    if (config->coerce_c_locale_warn < 0) {
  ------------------
  |  Branch (698:9): [True: 4, False: 0]
  ------------------
  699|      4|        config->coerce_c_locale_warn = 0;
  700|      4|    }
  701|      4|}
preconfig.c:preconfig_init_utf8_mode:
  604|      4|{
  605|       |#ifdef MS_WINDOWS
  606|       |    if (config->legacy_windows_fs_encoding) {
  607|       |        config->utf8_mode = 0;
  608|       |    }
  609|       |#endif
  610|       |
  611|      4|    if (config->utf8_mode >= 0) {
  ------------------
  |  Branch (611:9): [True: 2, False: 2]
  ------------------
  612|      2|        return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  613|      2|    }
  614|       |
  615|      2|    const wchar_t *xopt;
  616|      2|    xopt = _Py_get_xoption(&cmdline->xoptions, L"utf8");
  617|      2|    if (xopt) {
  ------------------
  |  Branch (617:9): [True: 0, False: 2]
  ------------------
  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|      2|    const char *opt = _Py_GetEnv(config->use_environment, "PYTHONUTF8");
  638|      2|    if (opt) {
  ------------------
  |  Branch (638:9): [True: 0, False: 2]
  ------------------
  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|      2|    config->utf8_mode = 1;
  653|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  654|      2|}
preconfig.c:preconfig_init_allocator:
  706|      4|{
  707|      4|    if (config->allocator == PYMEM_ALLOCATOR_NOT_SET) {
  ------------------
  |  Branch (707:9): [True: 4, 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|      4|        const char *envvar = _Py_GetEnv(config->use_environment, "PYTHONMALLOC");
  713|      4|        if (envvar) {
  ------------------
  |  Branch (713:13): [True: 0, False: 4]
  ------------------
  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|      4|    }
  721|       |
  722|      4|    if (config->dev_mode && config->allocator == PYMEM_ALLOCATOR_NOT_SET) {
  ------------------
  |  Branch (722:9): [True: 0, False: 4]
  |  Branch (722:29): [True: 0, False: 0]
  ------------------
  723|      0|        config->allocator = PYMEM_ALLOCATOR_DEBUG;
  724|      0|    }
  725|      4|    return _PyStatus_OK();
  ------------------
  |  |   24|      4|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  726|      4|}
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|      3|{
  127|      3|    PyArena* arena = (PyArena *)PyMem_Malloc(sizeof(PyArena));
  128|      3|    if (!arena)
  ------------------
  |  Branch (128:9): [True: 0, False: 3]
  ------------------
  129|      0|        return (PyArena*)PyErr_NoMemory();
  130|       |
  131|      3|    arena->a_head = block_new(DEFAULT_BLOCK_SIZE);
  ------------------
  |  |   11|      3|#define DEFAULT_BLOCK_SIZE 8192
  ------------------
  132|      3|    arena->a_cur = arena->a_head;
  133|      3|    if (!arena->a_head) {
  ------------------
  |  Branch (133:9): [True: 0, False: 3]
  ------------------
  134|      0|        PyMem_Free((void *)arena);
  135|      0|        return (PyArena*)PyErr_NoMemory();
  136|      0|    }
  137|      3|    arena->a_objects = PyList_New(0);
  138|      3|    if (!arena->a_objects) {
  ------------------
  |  Branch (138:9): [True: 0, False: 3]
  ------------------
  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|      3|    return arena;
  151|      3|}
_PyArena_Free:
  155|      3|{
  156|      3|    assert(arena);
  ------------------
  |  Branch (156:5): [True: 3, False: 0]
  ------------------
  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|      3|    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|      3|    Py_DECREF(arena->a_objects);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  173|      3|    PyMem_Free(arena);
  174|      3|}
_PyArena_Malloc:
  178|    651|{
  179|    651|    void *p = block_alloc(arena->a_cur, size);
  180|    651|    if (!p)
  ------------------
  |  Branch (180:9): [True: 0, False: 651]
  ------------------
  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|    651|    if (arena->a_cur->ab_next) {
  ------------------
  |  Branch (187:9): [True: 2, False: 649]
  ------------------
  188|      2|        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|      2|    }
  196|    651|    return p;
  197|    651|}
_PyArena_AddPyObject:
  201|    240|{
  202|    240|    int r = PyList_Append(arena->a_objects, obj);
  203|    240|    if (r >= 0) {
  ------------------
  |  Branch (203:9): [True: 240, False: 0]
  ------------------
  204|    240|        Py_DECREF(obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  205|    240|    }
  206|    240|    return r;
  207|    240|}
pyarena.c:block_new:
   75|      5|{
   76|       |    /* Allocate header and block as one unit.
   77|       |       ab_mem points just past header. */
   78|      5|    block *b = (block *)PyMem_Malloc(sizeof(block) + size);
   79|      5|    if (!b)
  ------------------
  |  Branch (79:9): [True: 0, False: 5]
  ------------------
   80|      0|        return NULL;
   81|      5|    b->ab_size = size;
   82|      5|    b->ab_mem = (void *)(b + 1);
   83|      5|    b->ab_next = NULL;
   84|      5|    b->ab_offset = (char *)_Py_ALIGN_UP(b->ab_mem, ALIGNMENT) -
  ------------------
  |  |  218|      5|#define _Py_ALIGN_UP(p, a) ((void *)(((uintptr_t)(p) + \
  |  |  219|      5|        (uintptr_t)((a) - 1)) & ~(uintptr_t)((a) - 1)))
  ------------------
   85|      5|            (char *)(b->ab_mem);
   86|      5|    return b;
   87|      5|}
pyarena.c:block_free:
   90|      3|block_free(block *b) {
   91|      8|    while (b) {
  ------------------
  |  Branch (91:12): [True: 5, False: 3]
  ------------------
   92|      5|        block *next = b->ab_next;
   93|      5|        PyMem_Free(b);
   94|      5|        b = next;
   95|      5|    }
   96|      3|}
pyarena.c:block_alloc:
  100|    651|{
  101|    651|    void *p;
  102|    651|    assert(b);
  ------------------
  |  Branch (102:5): [True: 651, False: 0]
  ------------------
  103|    651|    size = _Py_SIZE_ROUND_UP(size, ALIGNMENT);
  ------------------
  |  |  213|    651|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  214|    651|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  ------------------
  104|    651|    if (b->ab_offset + size > b->ab_size) {
  ------------------
  |  Branch (104:9): [True: 2, False: 649]
  ------------------
  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|      2|        block *newbl = block_new(
  109|      2|                        size < DEFAULT_BLOCK_SIZE ?
  ------------------
  |  |   11|      2|#define DEFAULT_BLOCK_SIZE 8192
  ------------------
  |  Branch (109:25): [True: 2, False: 0]
  ------------------
  110|      2|                        DEFAULT_BLOCK_SIZE : size);
  ------------------
  |  |   11|      2|#define DEFAULT_BLOCK_SIZE 8192
  ------------------
  111|      2|        if (!newbl)
  ------------------
  |  Branch (111:13): [True: 0, False: 2]
  ------------------
  112|      0|            return NULL;
  113|      2|        assert(!b->ab_next);
  ------------------
  |  Branch (113:9): [True: 2, False: 0]
  ------------------
  114|      2|        b->ab_next = newbl;
  115|      2|        b = newbl;
  116|      2|    }
  117|       |
  118|    651|    assert(b->ab_offset + size <= b->ab_size);
  ------------------
  |  Branch (118:5): [True: 651, False: 0]
  ------------------
  119|    651|    p = (void *)(((char *)b->ab_mem) + b->ab_offset);
  120|    651|    b->ab_offset += size;
  121|    651|    return p;
  122|    651|}

Py_HashPointer:
  134|  1.09M|{
  135|  1.09M|    Py_hash_t hash = _Py_HashPointerRaw(ptr);
  136|  1.09M|    if (hash == -1) {
  ------------------
  |  Branch (136:9): [True: 0, False: 1.09M]
  ------------------
  137|      0|        hash = -2;
  138|      0|    }
  139|  1.09M|    return hash;
  140|  1.09M|}
PyObject_GenericHash:
  144|  1.09M|{
  145|  1.09M|    return Py_HashPointer(obj);
  146|  1.09M|}
Py_HashBuffer:
  150|  2.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|  2.05M|    if (len == 0) {
  ------------------
  |  Branch (155:9): [True: 3, False: 2.05M]
  ------------------
  156|      3|        return 0;
  157|      3|    }
  158|       |
  159|       |#ifdef Py_HASH_STATS
  160|       |    hashstats[(len <= Py_HASH_STATS_MAX) ? len : 0]++;
  161|       |#endif
  162|       |
  163|  2.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|  2.05M|    {
  190|  2.05M|        x = PyHash_Func.hash(ptr, len);
  191|  2.05M|    }
  192|       |
  193|  2.05M|    if (x == -1) {
  ------------------
  |  Branch (193:9): [True: 0, False: 2.05M]
  ------------------
  194|      0|        return -2;
  195|      0|    }
  196|  2.05M|    return x;
  197|  2.05M|}
PyHash_GetFuncDef:
  216|      2|{
  217|      2|    return &PyHash_Func;
  218|      2|}
pyhash.c:siphash13:
  371|  2.05M|siphash13(uint64_t k0, uint64_t k1, const void *src, Py_ssize_t src_sz) {
  372|  2.05M|    uint64_t b = (uint64_t)src_sz << 56;
  373|  2.05M|    const uint8_t *in = (const uint8_t*)src;
  374|       |
  375|  2.05M|    uint64_t v0 = k0 ^ 0x736f6d6570736575ULL;
  376|  2.05M|    uint64_t v1 = k1 ^ 0x646f72616e646f6dULL;
  377|  2.05M|    uint64_t v2 = k0 ^ 0x6c7967656e657261ULL;
  378|  2.05M|    uint64_t v3 = k1 ^ 0x7465646279746573ULL;
  379|       |
  380|  2.05M|    uint64_t t;
  381|  2.05M|    uint8_t *pt;
  382|       |
  383|  10.9M|    while (src_sz >= 8) {
  ------------------
  |  Branch (383:12): [True: 8.85M, False: 2.05M]
  ------------------
  384|  8.85M|        uint64_t mi;
  385|  8.85M|        memcpy(&mi, in, sizeof(mi));
  386|  8.85M|        mi = _le64toh(mi);
  ------------------
  |  |  332|  8.85M|#  define _le64toh(x) ((uint64_t)(x))
  ------------------
  387|  8.85M|        in += sizeof(mi);
  388|  8.85M|        src_sz -= sizeof(mi);
  389|  8.85M|        v3 ^= mi;
  390|  8.85M|        SINGLE_ROUND(v0,v1,v2,v3);
  ------------------
  |  |  362|  8.85M|    HALF_ROUND(v0,v1,v2,v3,13,16);  \
  |  |  ------------------
  |  |  |  |  356|  8.85M|    a += b; c += d;                 \
  |  |  |  |  357|  8.85M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  8.85M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  8.85M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  8.85M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  8.85M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  8.85M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  363|  8.85M|    HALF_ROUND(v2,v1,v0,v3,17,21);
  |  |  ------------------
  |  |  |  |  356|  8.85M|    a += b; c += d;                 \
  |  |  |  |  357|  8.85M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  8.85M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  8.85M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  8.85M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  8.85M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  8.85M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  391|  8.85M|        v0 ^= mi;
  392|  8.85M|    }
  393|       |
  394|  2.05M|    t = 0;
  395|  2.05M|    pt = (uint8_t *)&t;
  396|  2.05M|    switch (src_sz) {
  ------------------
  |  Branch (396:13): [True: 2.04M, False: 9.47k]
  ------------------
  397|  5.81k|        case 7: pt[6] = in[6]; _Py_FALLTHROUGH;
  ------------------
  |  |  644|  5.81k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  |  Branch (397:9): [True: 5.81k, False: 2.05M]
  ------------------
  398|  10.5k|        case 6: pt[5] = in[5]; _Py_FALLTHROUGH;
  ------------------
  |  |  644|  10.5k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  |  Branch (398:9): [True: 4.75k, False: 2.05M]
  ------------------
  399|   215k|        case 5: pt[4] = in[4]; _Py_FALLTHROUGH;
  ------------------
  |  |  644|   215k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  |  Branch (399:9): [True: 205k, False: 1.85M]
  ------------------
  400|   290k|        case 4: memcpy(pt, in, sizeof(uint32_t)); break;
  ------------------
  |  Branch (400:9): [True: 74.4k, False: 1.98M]
  ------------------
  401|   488k|        case 3: pt[2] = in[2]; _Py_FALLTHROUGH;
  ------------------
  |  |  644|   488k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  |  Branch (401:9): [True: 488k, False: 1.57M]
  ------------------
  402|  1.70M|        case 2: pt[1] = in[1]; _Py_FALLTHROUGH;
  ------------------
  |  |  644|  1.70M|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  |  Branch (402:9): [True: 1.21M, False: 844k]
  ------------------
  403|  1.75M|        case 1: pt[0] = in[0]; break;
  ------------------
  |  Branch (403:9): [True: 56.0k, False: 2.00M]
  ------------------
  404|  2.05M|    }
  405|  2.05M|    b |= _le64toh(t);
  ------------------
  |  |  332|  2.05M|#  define _le64toh(x) ((uint64_t)(x))
  ------------------
  406|       |
  407|  2.05M|    v3 ^= b;
  408|  2.05M|    SINGLE_ROUND(v0,v1,v2,v3);
  ------------------
  |  |  362|  2.05M|    HALF_ROUND(v0,v1,v2,v3,13,16);  \
  |  |  ------------------
  |  |  |  |  356|  2.05M|    a += b; c += d;                 \
  |  |  |  |  357|  2.05M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  2.05M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  2.05M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  363|  2.05M|    HALF_ROUND(v2,v1,v0,v3,17,21);
  |  |  ------------------
  |  |  |  |  356|  2.05M|    a += b; c += d;                 \
  |  |  |  |  357|  2.05M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  2.05M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  2.05M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  409|  2.05M|    v0 ^= b;
  410|  2.05M|    v2 ^= 0xff;
  411|  2.05M|    SINGLE_ROUND(v0,v1,v2,v3);
  ------------------
  |  |  362|  2.05M|    HALF_ROUND(v0,v1,v2,v3,13,16);  \
  |  |  ------------------
  |  |  |  |  356|  2.05M|    a += b; c += d;                 \
  |  |  |  |  357|  2.05M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  2.05M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  2.05M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  363|  2.05M|    HALF_ROUND(v2,v1,v0,v3,17,21);
  |  |  ------------------
  |  |  |  |  356|  2.05M|    a += b; c += d;                 \
  |  |  |  |  357|  2.05M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  2.05M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  2.05M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  412|  2.05M|    SINGLE_ROUND(v0,v1,v2,v3);
  ------------------
  |  |  362|  2.05M|    HALF_ROUND(v0,v1,v2,v3,13,16);  \
  |  |  ------------------
  |  |  |  |  356|  2.05M|    a += b; c += d;                 \
  |  |  |  |  357|  2.05M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  2.05M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  2.05M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  363|  2.05M|    HALF_ROUND(v2,v1,v0,v3,17,21);
  |  |  ------------------
  |  |  |  |  356|  2.05M|    a += b; c += d;                 \
  |  |  |  |  357|  2.05M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  2.05M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  2.05M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  413|  2.05M|    SINGLE_ROUND(v0,v1,v2,v3);
  ------------------
  |  |  362|  2.05M|    HALF_ROUND(v0,v1,v2,v3,13,16);  \
  |  |  ------------------
  |  |  |  |  356|  2.05M|    a += b; c += d;                 \
  |  |  |  |  357|  2.05M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  2.05M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  2.05M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  363|  2.05M|    HALF_ROUND(v2,v1,v0,v3,17,21);
  |  |  ------------------
  |  |  |  |  356|  2.05M|    a += b; c += d;                 \
  |  |  |  |  357|  2.05M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  2.05M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  2.05M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  414|       |
  415|       |    /* modified */
  416|  2.05M|    t = (v0 ^ v1) ^ (v2 ^ v3);
  417|  2.05M|    return t;
  418|  2.05M|}
pyhash.c:pysiphash:
  480|  2.05M|pysiphash(const void *src, Py_ssize_t src_sz) {
  481|  2.05M|    return (Py_hash_t)siphash13(
  482|  2.05M|        _le64toh(_Py_HashSecret.siphash.k0), _le64toh(_Py_HashSecret.siphash.k1),
  ------------------
  |  |  332|  2.05M|#  define _le64toh(x) ((uint64_t)(x))
  ------------------
                      _le64toh(_Py_HashSecret.siphash.k0), _le64toh(_Py_HashSecret.siphash.k1),
  ------------------
  |  |  332|  2.05M|#  define _le64toh(x) ((uint64_t)(x))
  ------------------
  483|  2.05M|        src, src_sz);
  484|  2.05M|}

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

_PyRuntimeState_Init:
  354|      2|{
  355|       |    /* We preserve the hook across init, because there is
  356|       |       currently no public API to set it between runtime
  357|       |       initialization and interpreter initialization. */
  358|      2|    void *open_code_hook = runtime->open_code_hook;
  359|      2|    void *open_code_userdata = runtime->open_code_userdata;
  360|      2|    _Py_AuditHookEntry *audit_hook_head = runtime->audit_hooks.head;
  361|       |    // bpo-42882: Preserve next_index value if Py_Initialize()/Py_Finalize()
  362|       |    // is called multiple times.
  363|      2|    Py_ssize_t unicode_next_index = runtime->unicode_state.ids.next_index;
  364|       |
  365|      2|    if (runtime->_initialized) {
  ------------------
  |  Branch (365:9): [True: 0, False: 2]
  ------------------
  366|       |        // Py_Initialize() must be running again.
  367|       |        // Reset to _PyRuntimeState_INIT.
  368|      0|        memcpy(runtime, &initial, sizeof(*runtime));
  369|       |        // Preserve the cookie from the original runtime.
  370|      0|        memcpy(runtime->debug_offsets.cookie, _Py_Debug_Cookie, 8);
  ------------------
  |  |   12|      0|#define _Py_Debug_Cookie "xdebugpy"
  ------------------
  371|      0|        assert(!runtime->_initialized);
  ------------------
  |  Branch (371:9): [True: 0, False: 0]
  ------------------
  372|      0|    }
  373|       |
  374|      2|    PyStatus status = _PyTime_Init(&runtime->time);
  375|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  376|      0|        return status;
  377|      0|    }
  378|       |
  379|      2|    init_runtime(runtime, open_code_hook, open_code_userdata, audit_hook_head,
  380|      2|                 unicode_next_index);
  381|       |
  382|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  383|      2|}
_PyInterpreterState_Enable:
  444|      2|{
  445|      2|    struct pyinterpreters *interpreters = &runtime->interpreters;
  446|      2|    interpreters->next_id = 0;
  447|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  448|      2|}
_PyInterpreterState_New:
  686|      2|{
  687|      2|    *pinterp = NULL;
  688|       |
  689|       |    // Don't get runtime from tstate since tstate can be NULL
  690|      2|    _PyRuntimeState *runtime = &_PyRuntime;
  691|       |
  692|       |    // tstate is NULL when pycore_create_interpreter() calls
  693|       |    // _PyInterpreterState_New() to create the main interpreter.
  694|      2|    if (tstate != NULL) {
  ------------------
  |  Branch (694:9): [True: 0, False: 2]
  ------------------
  695|      0|        if (_PySys_Audit(tstate, "cpython.PyInterpreterState_New", NULL) < 0) {
  ------------------
  |  Branch (695:13): [True: 0, False: 0]
  ------------------
  696|      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)}
  ------------------
  697|      0|        }
  698|      0|    }
  699|       |
  700|       |    /* We completely serialize creation of multiple interpreters, since
  701|       |       it simplifies things here and blocking concurrent calls isn't a problem.
  702|       |       Regardless, we must fully block subinterpreter creation until
  703|       |       after the main interpreter is created. */
  704|      2|    HEAD_LOCK(runtime);
  ------------------
  |  |  266|      2|    PyMutex_LockFlags(&(runtime)->interpreters.mutex, _Py_LOCK_DONT_DETACH)
  ------------------
  705|       |
  706|      2|    struct pyinterpreters *interpreters = &runtime->interpreters;
  707|      2|    int64_t id = interpreters->next_id;
  708|      2|    interpreters->next_id += 1;
  709|       |
  710|       |    // Allocate the interpreter and add it to the runtime state.
  711|      2|    PyInterpreterState *interp;
  712|      2|    PyStatus status;
  713|      2|    PyInterpreterState *old_head = interpreters->head;
  714|      2|    if (old_head == NULL) {
  ------------------
  |  Branch (714:9): [True: 2, False: 0]
  ------------------
  715|       |        // We are creating the main interpreter.
  716|      2|        assert(interpreters->main == NULL);
  ------------------
  |  Branch (716:9): [True: 2, False: 0]
  ------------------
  717|      2|        assert(id == 0);
  ------------------
  |  Branch (717:9): [True: 2, False: 0]
  ------------------
  718|       |
  719|      2|        interp = &runtime->_main_interpreter;
  720|      2|        assert(interp->id == 0);
  ------------------
  |  Branch (720:9): [True: 2, False: 0]
  ------------------
  721|      2|        assert(interp->next == NULL);
  ------------------
  |  Branch (721:9): [True: 2, False: 0]
  ------------------
  722|       |
  723|      2|        interpreters->main = interp;
  724|      2|    }
  725|      0|    else {
  726|      0|        assert(interpreters->main != NULL);
  ------------------
  |  Branch (726:9): [True: 0, False: 0]
  ------------------
  727|      0|        assert(id != 0);
  ------------------
  |  Branch (727:9): [True: 0, False: 0]
  ------------------
  728|       |
  729|      0|        interp = alloc_interpreter();
  730|      0|        if (interp == NULL) {
  ------------------
  |  Branch (730:13): [True: 0, False: 0]
  ------------------
  731|      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)}
  |  |  ------------------
  ------------------
  732|      0|            goto error;
  733|      0|        }
  734|       |        // Set to _PyInterpreterState_INIT.
  735|      0|        memcpy(interp, &initial._main_interpreter, sizeof(*interp));
  736|       |
  737|      0|        if (id < 0) {
  ------------------
  |  Branch (737:13): [True: 0, False: 0]
  ------------------
  738|       |            /* overflow or Py_Initialize() not called yet! */
  739|      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)}
  ------------------
  740|      0|            goto error;
  741|      0|        }
  742|      0|    }
  743|      2|    interpreters->head = interp;
  744|       |
  745|      2|    long whence = _PyInterpreterState_WHENCE_UNKNOWN;
  ------------------
  |  |   17|      2|#define _PyInterpreterState_WHENCE_UNKNOWN 0
  ------------------
  746|      2|    status = init_interpreter(interp, runtime,
  747|      2|                              id, old_head, whence);
  748|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  749|      0|        goto error;
  750|      0|    }
  751|       |
  752|      2|    HEAD_UNLOCK(runtime);
  ------------------
  |  |  268|      2|    PyMutex_Unlock(&(runtime)->interpreters.mutex)
  |  |  ------------------
  |  |  |  |   70|      2|#define PyMutex_Unlock _PyMutex_Unlock
  |  |  ------------------
  ------------------
  753|       |
  754|      2|    assert(interp != NULL);
  ------------------
  |  Branch (754:5): [True: 2, False: 0]
  ------------------
  755|      2|    *pinterp = interp;
  756|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  757|       |
  758|      0|error:
  759|      0|    HEAD_UNLOCK(runtime);
  ------------------
  |  |  268|      0|    PyMutex_Unlock(&(runtime)->interpreters.mutex)
  |  |  ------------------
  |  |  |  |   70|      0|#define PyMutex_Unlock _PyMutex_Unlock
  |  |  ------------------
  ------------------
  760|       |
  761|      0|    if (interp != NULL) {
  ------------------
  |  Branch (761:9): [True: 0, False: 0]
  ------------------
  762|      0|        free_interpreter(interp);
  763|      0|    }
  764|      0|    return status;
  765|      2|}
_PyInterpreterState_SetWhence:
 1228|      2|{
 1229|      2|    assert(interp->_whence != _PyInterpreterState_WHENCE_NOTSET);
  ------------------
  |  Branch (1229:5): [True: 2, False: 0]
  ------------------
 1230|      2|    assert(check_interpreter_whence(whence) == 0);
  ------------------
  |  Branch (1230:5): [True: 2, False: 0]
  ------------------
 1231|      2|    interp->_whence = whence;
 1232|      2|}
_PyThreadState_New:
 1740|      2|{
 1741|      2|    return new_threadstate(interp, whence);
 1742|      2|}
PyThreadState_GetFrame:
 2153|  1.08M|{
 2154|  1.08M|    assert(tstate != NULL);
  ------------------
  |  Branch (2154:5): [True: 1.08M, False: 0]
  ------------------
 2155|  1.08M|    _PyInterpreterFrame *f = _PyThreadState_GetFrame(tstate);
 2156|  1.08M|    if (f == NULL) {
  ------------------
  |  Branch (2156:9): [True: 0, False: 1.08M]
  ------------------
 2157|      0|        return NULL;
 2158|      0|    }
 2159|  1.08M|    PyFrameObject *frame = _PyFrame_GetFrameObject(f);
 2160|  1.08M|    if (frame == NULL) {
  ------------------
  |  Branch (2160:9): [True: 0, False: 1.08M]
  ------------------
 2161|      0|        PyErr_Clear();
 2162|      0|    }
 2163|  1.08M|    return (PyFrameObject*)Py_XNewRef(frame);
  ------------------
  |  |  551|  1.08M|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2164|  1.08M|}
_PyThreadState_Attach:
 2259|   356k|{
 2260|       |#if defined(Py_DEBUG)
 2261|       |    // This is called from PyEval_RestoreThread(). Similar
 2262|       |    // to it, we need to ensure errno doesn't change.
 2263|       |    int err = errno;
 2264|       |#endif
 2265|       |
 2266|   356k|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  196|   356k|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
 2267|   356k|    if (current_fast_get() != NULL) {
  ------------------
  |  Branch (2267:9): [True: 0, False: 356k]
  ------------------
 2268|      0|        Py_FatalError("non-NULL old thread state");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
 2269|      0|    }
 2270|   356k|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
 2271|   356k|    if (_tstate->c_stack_hard_limit == 0) {
  ------------------
  |  Branch (2271:9): [True: 2, False: 356k]
  ------------------
 2272|      2|        _Py_InitializeRecursionLimits(tstate);
 2273|      2|    }
 2274|       |
 2275|   356k|    while (1) {
  ------------------
  |  Branch (2275:12): [True: 356k, Folded]
  ------------------
 2276|   356k|        _PyEval_AcquireLock(tstate);
 2277|       |
 2278|       |        // XXX assert(tstate_is_alive(tstate));
 2279|   356k|        current_fast_set(&_PyRuntime, tstate);
 2280|   356k|        if (!tstate_try_attach(tstate)) {
  ------------------
  |  Branch (2280:13): [True: 0, False: 356k]
  ------------------
 2281|      0|            tstate_wait_attach(tstate);
 2282|      0|        }
 2283|   356k|        tstate_activate(tstate);
 2284|       |
 2285|       |#ifdef Py_GIL_DISABLED
 2286|       |        if (_PyEval_IsGILEnabled(tstate) && !tstate->holds_gil) {
 2287|       |            // The GIL was enabled between our call to _PyEval_AcquireLock()
 2288|       |            // and when we attached (the GIL can't go from enabled to disabled
 2289|       |            // here because only a thread holding the GIL can disable
 2290|       |            // it). Detach and try again.
 2291|       |            tstate_set_detached(tstate, _Py_THREAD_DETACHED);
 2292|       |            tstate_deactivate(tstate);
 2293|       |            current_fast_clear(&_PyRuntime);
 2294|       |            continue;
 2295|       |        }
 2296|       |        _Py_qsbr_attach(((_PyThreadStateImpl *)tstate)->qsbr);
 2297|       |#endif
 2298|   356k|        break;
 2299|   356k|    }
 2300|       |
 2301|       |    // Resume previous critical section. This acquires the lock(s) from the
 2302|       |    // top-most critical section.
 2303|   356k|    if (tstate->critical_section != 0) {
  ------------------
  |  Branch (2303:9): [True: 0, False: 356k]
  ------------------
 2304|      0|        _PyCriticalSection_Resume(tstate);
 2305|      0|    }
 2306|       |
 2307|       |#ifdef Py_STATS
 2308|       |    _PyStats_Attach((_PyThreadStateImpl *)tstate);
 2309|       |#endif
 2310|       |
 2311|       |#if defined(Py_DEBUG)
 2312|       |    errno = err;
 2313|       |#endif
 2314|   356k|}
_PyThreadState_Detach:
 2336|   356k|{
 2337|   356k|    detach_thread(tstate, _Py_THREAD_DETACHED);
  ------------------
  |  |   46|   356k|#define _Py_THREAD_DETACHED         0
  ------------------
 2338|   356k|}
PyThreadState_Get:
 2627|  3.14k|{
 2628|  3.14k|    PyThreadState *tstate = current_fast_get();
 2629|  3.14k|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  196|  3.14k|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
 2630|  3.14k|    return tstate;
 2631|  3.14k|}
_PyThreadState_Bind:
 2655|      2|{
 2656|       |    // gh-104690: If Python is being finalized and PyInterpreterState_Delete()
 2657|       |    // was called, tstate becomes a dangling pointer.
 2658|      2|    assert(_PyThreadState_CheckConsistency(tstate));
  ------------------
  |  Branch (2658:5): [True: 2, False: 0]
  ------------------
 2659|       |
 2660|      2|    bind_tstate(tstate);
 2661|       |    // This makes sure there's a gilstate tstate bound
 2662|       |    // as soon as possible.
 2663|      2|    if (gilstate_get() == NULL) {
  ------------------
  |  Branch (2663:9): [True: 2, False: 0]
  ------------------
 2664|      2|        bind_gilstate_tstate(tstate);
 2665|      2|    }
 2666|      2|}
_PyGILState_Init:
 2854|      2|{
 2855|      2|    if (!_Py_IsMainInterpreter(interp)) {
  ------------------
  |  Branch (2855:9): [True: 0, False: 2]
  ------------------
 2856|       |        /* Currently, PyGILState is shared by all interpreters. The main
 2857|       |         * interpreter is responsible to initialize it. */
 2858|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2859|      0|    }
 2860|      2|    _PyRuntimeState *runtime = interp->runtime;
 2861|      2|    assert(gilstate_get() == NULL);
  ------------------
  |  Branch (2861:5): [True: 2, False: 0]
  ------------------
 2862|      2|    assert(runtime->gilstate.autoInterpreterState == NULL);
  ------------------
  |  Branch (2862:5): [True: 2, False: 0]
  ------------------
 2863|      2|    runtime->gilstate.autoInterpreterState = interp;
 2864|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2865|      2|}
_PyGILState_SetTstate:
 2882|      2|{
 2883|       |    /* must init with valid states */
 2884|      2|    assert(tstate != NULL);
  ------------------
  |  Branch (2884:5): [True: 2, False: 0]
  ------------------
 2885|      2|    assert(tstate->interp != NULL);
  ------------------
  |  Branch (2885:5): [True: 2, False: 0]
  ------------------
 2886|       |
 2887|      2|    if (!_Py_IsMainInterpreter(tstate->interp)) {
  ------------------
  |  Branch (2887:9): [True: 0, False: 2]
  ------------------
 2888|       |        /* Currently, PyGILState is shared by all interpreters. The main
 2889|       |         * interpreter is responsible to initialize it. */
 2890|      0|        return;
 2891|      0|    }
 2892|       |
 2893|      2|#ifndef NDEBUG
 2894|      2|    _PyRuntimeState *runtime = tstate->interp->runtime;
 2895|       |
 2896|      2|    assert(runtime->gilstate.autoInterpreterState == tstate->interp);
  ------------------
  |  Branch (2896:5): [True: 2, False: 0]
  ------------------
 2897|      2|    assert(gilstate_get() == tstate);
  ------------------
  |  Branch (2897:5): [True: 2, False: 0]
  ------------------
 2898|      2|    assert(tstate->gilstate_counter == 1);
  ------------------
  |  Branch (2898:5): [True: 2, False: 0]
  ------------------
 2899|      2|#endif
 2900|      2|}
_PyInterpreterState_IsSpecializationEnabled:
 3098|  17.4k|{
 3099|  17.4k|    return interp->eval_frame == NULL
  ------------------
  |  Branch (3099:12): [True: 17.4k, False: 0]
  ------------------
 3100|      0|        || interp->eval_frame_allow_specialization;
  ------------------
  |  Branch (3100:12): [True: 0, False: 0]
  ------------------
 3101|  17.4k|}
_PyInterpreterState_GetConfig:
 3106|  6.36M|{
 3107|  6.36M|    return &interp->config;
 3108|  6.36M|}
_Py_GetConfig:
 3113|  2.74k|{
 3114|  2.74k|    PyThreadState *tstate = current_fast_get();
 3115|  2.74k|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  196|  2.74k|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
 3116|  2.74k|    return _PyInterpreterState_GetConfig(tstate->interp);
 3117|  2.74k|}
_PyThreadState_PushFrame:
 3167|  30.4M|{
 3168|  30.4M|    assert(size < INT_MAX/sizeof(PyObject *));
  ------------------
  |  Branch (3168:5): [True: 30.4M, False: 0]
  ------------------
 3169|  30.4M|    if (_PyThreadState_HasStackSpace(tstate, (int)size)) {
  ------------------
  |  Branch (3169:9): [True: 29.5M, False: 905k]
  ------------------
 3170|  29.5M|        _PyInterpreterFrame *res = (_PyInterpreterFrame *)tstate->datastack_top;
 3171|  29.5M|        tstate->datastack_top += size;
 3172|  29.5M|        return res;
 3173|  29.5M|    }
 3174|   905k|    return (_PyInterpreterFrame *)push_chunk(tstate, (int)size);
 3175|  30.4M|}
_PyThreadState_PopFrame:
 3179|   151M|{
 3180|   151M|    assert(tstate->datastack_chunk);
  ------------------
  |  Branch (3180:5): [True: 151M, False: 0]
  ------------------
 3181|   151M|    PyObject **base = (PyObject **)frame;
 3182|   151M|    if (base == &tstate->datastack_chunk->data[0]) {
  ------------------
  |  Branch (3182:9): [True: 905k, False: 151M]
  ------------------
 3183|   905k|        _PyStackChunk *chunk = tstate->datastack_chunk;
 3184|   905k|        _PyStackChunk *previous = chunk->previous;
 3185|   905k|        _PyStackChunk *cached = tstate->datastack_cached_chunk;
 3186|       |        // push_chunk ensures that the root chunk is never popped:
 3187|   905k|        assert(previous);
  ------------------
  |  Branch (3187:9): [True: 905k, False: 0]
  ------------------
 3188|   905k|        tstate->datastack_top = &previous->data[previous->top];
 3189|   905k|        tstate->datastack_chunk = previous;
 3190|   905k|        tstate->datastack_limit = (PyObject **)(((char *)previous) + previous->size);
 3191|   905k|        chunk->previous = NULL;
 3192|   905k|        if (cached != NULL) {
  ------------------
  |  Branch (3192:13): [True: 36.6k, False: 869k]
  ------------------
 3193|  36.6k|            _PyObject_VirtualFree(cached, cached->size);
 3194|  36.6k|        }
 3195|   905k|        tstate->datastack_cached_chunk = chunk;
 3196|   905k|    }
 3197|   151M|    else {
 3198|   151M|        assert(tstate->datastack_top);
  ------------------
  |  Branch (3198:9): [True: 151M, False: 0]
  ------------------
 3199|   151M|        assert(tstate->datastack_top >= base);
  ------------------
  |  Branch (3199:9): [True: 151M, False: 0]
  ------------------
 3200|   151M|        tstate->datastack_top = base;
 3201|   151M|    }
 3202|   151M|}
_PyThreadState_CheckConsistency:
 3215|   713k|{
 3216|   713k|    assert(!_PyMem_IsPtrFreed(tstate));
  ------------------
  |  Branch (3216:5): [True: 713k, False: 0]
  ------------------
 3217|   713k|    assert(!_PyMem_IsPtrFreed(tstate->interp));
  ------------------
  |  Branch (3217:5): [True: 713k, False: 0]
  ------------------
 3218|   713k|    return 1;
 3219|   713k|}
_PyThreadState_MustExit:
 3233|   713k|{
 3234|   713k|    int state = _Py_atomic_load_int_relaxed(&tstate->state);
 3235|   713k|    return state == _Py_THREAD_SHUTTING_DOWN;
  ------------------
  |  |   49|   713k|#define _Py_THREAD_SHUTTING_DOWN    3
  ------------------
 3236|   713k|}
_Py_IsMainThread:
 3326|  3.58M|{
 3327|  3.58M|    unsigned long thread = PyThread_get_thread_ident();
 3328|  3.58M|    return (thread == _PyRuntime.main_thread);
 3329|  3.58M|}
_PyInterpreterState_Main:
 3334|  3.23M|{
 3335|  3.23M|    return _PyRuntime.interpreters.main;
 3336|  3.23M|}
pystate.c:current_fast_get:
   86|   719k|{
   87|   719k|    return _Py_tss_tstate;
   88|   719k|}
pystate.c:init_runtime:
  332|      2|{
  333|      2|    assert(!runtime->preinitializing);
  ------------------
  |  Branch (333:5): [True: 2, False: 0]
  ------------------
  334|      2|    assert(!runtime->preinitialized);
  ------------------
  |  Branch (334:5): [True: 2, False: 0]
  ------------------
  335|      2|    assert(!_PyRuntimeState_GetCoreInitialized(runtime));
  ------------------
  |  Branch (335:5): [True: 2, False: 0]
  ------------------
  336|      2|    assert(!_PyRuntimeState_GetInitialized(runtime));
  ------------------
  |  Branch (336:5): [True: 2, False: 0]
  ------------------
  337|      2|    assert(!runtime->_initialized);
  ------------------
  |  Branch (337:5): [True: 2, False: 0]
  ------------------
  338|       |
  339|      2|    runtime->open_code_hook = open_code_hook;
  340|      2|    runtime->open_code_userdata = open_code_userdata;
  341|      2|    runtime->audit_hooks.head = audit_hook_head;
  342|       |
  343|      2|    PyPreConfig_InitPythonConfig(&runtime->preconfig);
  344|       |
  345|       |    // Set it to the ID of the main thread of the main interpreter.
  346|      2|    runtime->main_thread = PyThread_get_thread_ident();
  347|       |
  348|      2|    runtime->unicode_state.ids.next_index = unicode_next_index;
  349|      2|    runtime->_initialized = 1;
  350|      2|}
pystate.c:init_interpreter:
  547|      2|{
  548|      2|    if (interp->_initialized) {
  ------------------
  |  Branch (548:9): [True: 0, False: 2]
  ------------------
  549|      0|        return _PyStatus_ERR("interpreter already initialized");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
  550|      0|    }
  551|       |
  552|      2|    assert(interp->_whence == _PyInterpreterState_WHENCE_NOTSET);
  ------------------
  |  Branch (552:5): [True: 2, False: 0]
  ------------------
  553|      2|    assert(check_interpreter_whence(whence) == 0);
  ------------------
  |  Branch (553:5): [True: 2, False: 0]
  ------------------
  554|      2|    interp->_whence = whence;
  555|       |
  556|      2|    assert(runtime != NULL);
  ------------------
  |  Branch (556:5): [True: 2, False: 0]
  ------------------
  557|      2|    interp->runtime = runtime;
  558|       |
  559|      2|    assert(id > 0 || (id == 0 && interp == runtime->interpreters.main));
  ------------------
  |  Branch (559:5): [True: 2, False: 0]
  |  Branch (559:5): [True: 2, False: 0]
  |  Branch (559:5): [True: 0, False: 2]
  ------------------
  560|      2|    interp->id = id;
  561|       |
  562|      2|    interp->id_refcount = 0;
  563|       |
  564|      2|    assert(runtime->interpreters.head == interp);
  ------------------
  |  Branch (564:5): [True: 2, False: 0]
  ------------------
  565|      2|    assert(next != NULL || (interp == runtime->interpreters.main));
  ------------------
  |  Branch (565:5): [True: 0, False: 2]
  |  Branch (565:5): [True: 2, False: 0]
  ------------------
  566|      2|    interp->next = next;
  567|       |
  568|      2|    interp->threads.preallocated = &interp->_initial_thread;
  569|       |
  570|       |    // We would call _PyObject_InitState() at this point
  571|       |    // if interp->feature_flags were alredy set.
  572|       |
  573|      2|    _PyEval_InitState(interp);
  574|      2|    _PyGC_InitState(&interp->gc);
  575|      2|    PyConfig_InitPythonConfig(&interp->config);
  576|      2|    _PyType_InitCache(interp);
  577|       |#ifdef Py_GIL_DISABLED
  578|       |    _Py_brc_init_state(interp);
  579|       |#endif
  580|       |
  581|      2|    llist_init(&interp->mem_free_queue.head);
  582|      2|    llist_init(&interp->asyncio_tasks_head);
  583|      2|    interp->asyncio_tasks_lock = (PyMutex){0};
  584|     34|    for (int i = 0; i < _PY_MONITORING_UNGROUPED_EVENTS; i++) {
  ------------------
  |  |   75|     34|#define _PY_MONITORING_UNGROUPED_EVENTS 16
  ------------------
  |  Branch (584:21): [True: 32, False: 2]
  ------------------
  585|     32|        interp->monitors.tools[i] = 0;
  586|     32|    }
  587|     18|    for (int t = 0; t < PY_MONITORING_TOOL_IDS; t++) {
  ------------------
  |  |   72|     18|#define  PY_MONITORING_TOOL_IDS 8
  ------------------
  |  Branch (587:21): [True: 16, False: 2]
  ------------------
  588|    320|        for (int e = 0; e < _PY_MONITORING_EVENTS; e++) {
  ------------------
  |  |   77|    320|#define _PY_MONITORING_EVENTS 19
  ------------------
  |  Branch (588:25): [True: 304, False: 16]
  ------------------
  589|    304|            interp->monitoring_callables[t][e] = NULL;
  590|       |
  591|    304|        }
  592|     16|        interp->monitoring_tool_versions[t] = 0;
  593|     16|    }
  594|      2|    interp->_code_object_generation = 0;
  595|      2|    interp->jit = false;
  596|      2|    interp->compiling = false;
  597|      2|    interp->executor_blooms = NULL;
  598|      2|    interp->executor_ptrs = NULL;
  599|      2|    interp->executor_count = 0;
  600|      2|    interp->executor_capacity = 0;
  601|      2|    interp->executor_deletion_list_head = NULL;
  602|      2|    interp->executor_creation_counter = JIT_CLEANUP_THRESHOLD;
  ------------------
  |  |  308|      2|#define JIT_CLEANUP_THRESHOLD 1000
  ------------------
  603|       |
  604|       |    // Initialize optimization configuration from environment variables
  605|       |    // PYTHON_JIT_STRESS sets aggressive defaults for testing, but can be overridden
  606|      2|    uint16_t jump_default = JUMP_BACKWARD_INITIAL_VALUE;
  ------------------
  |  |  128|      2|#define JUMP_BACKWARD_INITIAL_VALUE 4000
  ------------------
  607|      2|    uint16_t resume_default = RESUME_INITIAL_VALUE;
  ------------------
  |  |  142|      2|#define RESUME_INITIAL_VALUE 8190
  ------------------
  608|      2|    uint16_t side_exit_default = SIDE_EXIT_INITIAL_VALUE;
  ------------------
  |  |  156|      2|#define SIDE_EXIT_INITIAL_VALUE 4000
  ------------------
  609|       |
  610|      2|    if (is_env_enabled("PYTHON_JIT_STRESS")) {
  ------------------
  |  Branch (610:9): [True: 0, False: 2]
  ------------------
  611|      0|        jump_default = 63;
  612|      0|        side_exit_default = 63;
  613|      0|        resume_default = 127;
  614|      0|    }
  615|       |
  616|      2|    init_policy(&interp->opt_config.jump_backward_initial_value,
  617|      2|                "PYTHON_JIT_JUMP_BACKWARD_INITIAL_VALUE",
  618|      2|                jump_default, 1, MAX_VALUE);
  ------------------
  |  |   41|      2|#define MAX_VALUE 0x1FFF
  ------------------
  619|      2|    init_policy(&interp->opt_config.jump_backward_initial_backoff,
  620|      2|                "PYTHON_JIT_JUMP_BACKWARD_INITIAL_BACKOFF",
  621|      2|                JUMP_BACKWARD_INITIAL_BACKOFF, 0, MAX_BACKOFF);
  ------------------
  |  |  129|      2|#define JUMP_BACKWARD_INITIAL_BACKOFF 6
  ------------------
                              JUMP_BACKWARD_INITIAL_BACKOFF, 0, MAX_BACKOFF);
  ------------------
  |  |   39|      2|#define MAX_BACKOFF 6
  ------------------
  622|      2|    init_policy(&interp->opt_config.resume_initial_value,
  623|      2|                "PYTHON_JIT_RESUME_INITIAL_VALUE",
  624|      2|                resume_default, 1, MAX_VALUE);
  ------------------
  |  |   41|      2|#define MAX_VALUE 0x1FFF
  ------------------
  625|      2|    init_policy(&interp->opt_config.resume_initial_backoff,
  626|      2|                "PYTHON_JIT_RESUME_INITIAL_BACKOFF",
  627|      2|                RESUME_INITIAL_BACKOFF, 0, MAX_BACKOFF);
  ------------------
  |  |  143|      2|#define RESUME_INITIAL_BACKOFF 6
  ------------------
                              RESUME_INITIAL_BACKOFF, 0, MAX_BACKOFF);
  ------------------
  |  |   39|      2|#define MAX_BACKOFF 6
  ------------------
  628|      2|    init_policy(&interp->opt_config.side_exit_initial_value,
  629|      2|                "PYTHON_JIT_SIDE_EXIT_INITIAL_VALUE",
  630|      2|                side_exit_default, 1, MAX_VALUE);
  ------------------
  |  |   41|      2|#define MAX_VALUE 0x1FFF
  ------------------
  631|      2|    init_policy(&interp->opt_config.side_exit_initial_backoff,
  632|      2|                "PYTHON_JIT_SIDE_EXIT_INITIAL_BACKOFF",
  633|      2|                SIDE_EXIT_INITIAL_BACKOFF, 0, MAX_BACKOFF);
  ------------------
  |  |  157|      2|#define SIDE_EXIT_INITIAL_BACKOFF 6
  ------------------
                              SIDE_EXIT_INITIAL_BACKOFF, 0, MAX_BACKOFF);
  ------------------
  |  |   39|      2|#define MAX_BACKOFF 6
  ------------------
  634|       |
  635|       |    // Trace fitness configuration
  636|      2|    init_policy(&interp->opt_config.fitness_initial,
  637|      2|                "PYTHON_JIT_FITNESS_INITIAL",
  638|      2|                FITNESS_INITIAL, EXIT_QUALITY_CLOSE_LOOP, FITNESS_INITIAL);
  ------------------
  |  |   41|      2|#define FITNESS_INITIAL 2500
  ------------------
                              FITNESS_INITIAL, EXIT_QUALITY_CLOSE_LOOP, FITNESS_INITIAL);
  ------------------
  |  |   39|      2|#define EXIT_QUALITY_CLOSE_LOOP      (FITNESS_INITIAL - AVG_SLOTS_PER_INSTRUCTION*4)
  |  |  ------------------
  |  |  |  |   41|      2|#define FITNESS_INITIAL 2500
  |  |  ------------------
  |  |               #define EXIT_QUALITY_CLOSE_LOOP      (FITNESS_INITIAL - AVG_SLOTS_PER_INSTRUCTION*4)
  |  |  ------------------
  |  |  |  |   46|      2|#define AVG_SLOTS_PER_INSTRUCTION  6
  |  |  ------------------
  ------------------
                              FITNESS_INITIAL, EXIT_QUALITY_CLOSE_LOOP, FITNESS_INITIAL);
  ------------------
  |  |   41|      2|#define FITNESS_INITIAL 2500
  ------------------
  639|       |
  640|      2|    interp->opt_config.specialization_enabled = !is_env_enabled("PYTHON_SPECIALIZATION_OFF");
  641|      2|    interp->opt_config.uops_optimize_enabled = !is_env_disabled("PYTHON_UOPS_OPTIMIZE");
  642|      2|    if (interp != &runtime->_main_interpreter) {
  ------------------
  |  Branch (642:9): [True: 0, False: 2]
  ------------------
  643|       |        /* Fix the self-referential, statically initialized fields. */
  644|      0|        interp->dtoa = (struct _dtoa_state)_dtoa_state_INIT(interp);
  ------------------
  |  |   22|      0|    { \
  |  |   23|      0|        .preallocated_next = (INTERP)->dtoa.preallocated, \
  |  |   24|      0|    }
  ------------------
  645|      0|    }
  646|       |#if !defined(Py_GIL_DISABLED) && defined(Py_STACKREF_DEBUG)
  647|       |    interp->next_stackref = INITIAL_STACKREF_INDEX;
  648|       |    _Py_hashtable_allocator_t alloc = {
  649|       |        .malloc = malloc,
  650|       |        .free = free,
  651|       |    };
  652|       |    interp->open_stackrefs_table = _Py_hashtable_new_full(
  653|       |        _Py_hashtable_hash_ptr,
  654|       |        _Py_hashtable_compare_direct,
  655|       |        NULL,
  656|       |        NULL,
  657|       |        &alloc
  658|       |    );
  659|       |    if (interp->open_stackrefs_table == NULL) {
  660|       |        return _PyStatus_NO_MEMORY();
  661|       |    }
  662|       |#  ifdef Py_STACKREF_CLOSE_DEBUG
  663|       |    interp->closed_stackrefs_table = _Py_hashtable_new_full(
  664|       |        _Py_hashtable_hash_ptr,
  665|       |        _Py_hashtable_compare_direct,
  666|       |        NULL,
  667|       |        NULL,
  668|       |        &alloc
  669|       |    );
  670|       |    if (interp->closed_stackrefs_table == NULL) {
  671|       |        return _PyStatus_NO_MEMORY();
  672|       |    }
  673|       |#  endif
  674|       |    _Py_stackref_associate(interp, Py_None, PyStackRef_None);
  675|       |    _Py_stackref_associate(interp, Py_False, PyStackRef_False);
  676|       |    _Py_stackref_associate(interp, Py_True, PyStackRef_True);
  677|       |#endif
  678|       |
  679|      2|    interp->_initialized = 1;
  680|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  681|      2|}
pystate.c:is_env_enabled:
  516|      4|{
  517|      4|    char *env = Py_GETENV(env_name);
  518|      4|    return env && *env != '\0' && *env != '0';
  ------------------
  |  Branch (518:12): [True: 0, False: 4]
  |  Branch (518:19): [True: 0, False: 0]
  |  Branch (518:35): [True: 0, False: 0]
  ------------------
  519|      4|}
pystate.c:init_policy:
  531|     14|{
  532|     14|    *target = default_value;
  533|     14|    char *env = Py_GETENV(env_name);
  534|     14|    if (env && *env != '\0') {
  ------------------
  |  Branch (534:9): [True: 0, False: 14]
  |  Branch (534:16): [True: 0, False: 0]
  ------------------
  535|      0|        long value = atol(env);
  536|      0|        if (value >= min_value && value <= max_value) {
  ------------------
  |  Branch (536:13): [True: 0, False: 0]
  |  Branch (536:35): [True: 0, False: 0]
  ------------------
  537|      0|            *target = (uint16_t)value;
  538|      0|        }
  539|      0|    }
  540|     14|}
pystate.c:is_env_disabled:
  523|      2|{
  524|      2|    char *env = Py_GETENV(env_name);
  525|      2|    return env != NULL && *env == '0';
  ------------------
  |  Branch (525:12): [True: 0, False: 2]
  |  Branch (525:27): [True: 0, False: 0]
  ------------------
  526|      2|}
pystate.c:check_interpreter_whence:
 1208|      4|{
 1209|      4|    if(whence < 0) {
  ------------------
  |  Branch (1209:8): [True: 0, False: 4]
  ------------------
 1210|      0|        return -1;
 1211|      0|    }
 1212|      4|    if (whence > _PyInterpreterState_WHENCE_MAX) {
  ------------------
  |  |   23|      4|#define _PyInterpreterState_WHENCE_MAX 5
  ------------------
  |  Branch (1212:9): [True: 0, False: 4]
  ------------------
 1213|      0|        return -1;
 1214|      0|    }
 1215|      4|    return 0;
 1216|      4|}
pystate.c:new_threadstate:
 1666|      2|{
 1667|       |    // Allocate the thread state.
 1668|      2|    _PyThreadStateImpl *tstate = alloc_threadstate(interp);
 1669|      2|    if (tstate == NULL) {
  ------------------
  |  Branch (1669:9): [True: 0, False: 2]
  ------------------
 1670|      0|        return NULL;
 1671|      0|    }
 1672|       |
 1673|       |#ifdef Py_GIL_DISABLED
 1674|       |    Py_ssize_t qsbr_idx = _Py_qsbr_reserve(interp);
 1675|       |    if (qsbr_idx < 0) {
 1676|       |        free_threadstate(tstate);
 1677|       |        return NULL;
 1678|       |    }
 1679|       |    int32_t tlbc_idx = _Py_ReserveTLBCIndex(interp);
 1680|       |    if (tlbc_idx < 0) {
 1681|       |        free_threadstate(tstate);
 1682|       |        return NULL;
 1683|       |    }
 1684|       |#endif
 1685|       |#ifdef Py_STATS
 1686|       |    // The PyStats structure is quite large and is allocated separated from tstate.
 1687|       |    if (!_PyStats_ThreadInit(interp, tstate)) {
 1688|       |        free_threadstate(tstate);
 1689|       |        return NULL;
 1690|       |    }
 1691|       |#endif
 1692|       |
 1693|       |    /* We serialize concurrent creation to protect global state. */
 1694|      2|    HEAD_LOCK(interp->runtime);
  ------------------
  |  |  266|      2|    PyMutex_LockFlags(&(runtime)->interpreters.mutex, _Py_LOCK_DONT_DETACH)
  ------------------
 1695|       |
 1696|       |    // Initialize the new thread state.
 1697|      2|    interp->threads.next_unique_id += 1;
 1698|      2|    uint64_t id = interp->threads.next_unique_id;
 1699|      2|    init_threadstate(tstate, interp, id, whence);
 1700|       |
 1701|       |    // Add the new thread state to the interpreter.
 1702|      2|    PyThreadState *old_head = interp->threads.head;
 1703|      2|    add_threadstate(interp, (PyThreadState *)tstate, old_head);
 1704|       |
 1705|      2|    HEAD_UNLOCK(interp->runtime);
  ------------------
  |  |  268|      2|    PyMutex_Unlock(&(runtime)->interpreters.mutex)
  |  |  ------------------
  |  |  |  |   70|      2|#define PyMutex_Unlock _PyMutex_Unlock
  |  |  ------------------
  ------------------
 1706|       |
 1707|       |#ifdef Py_GIL_DISABLED
 1708|       |    // Must be called with lock unlocked to avoid lock ordering deadlocks.
 1709|       |    _Py_qsbr_register(tstate, interp, qsbr_idx);
 1710|       |    tstate->tlbc_index = tlbc_idx;
 1711|       |#endif
 1712|       |
 1713|      2|    return (PyThreadState *)tstate;
 1714|      2|}
pystate.c:alloc_threadstate:
 1500|      2|{
 1501|      2|    _PyThreadStateImpl *tstate;
 1502|       |
 1503|       |    // Try the preallocated tstate first.
 1504|      2|    tstate = _Py_atomic_exchange_ptr(&interp->threads.preallocated, NULL);
 1505|       |
 1506|       |    // Fall back to the allocator.
 1507|      2|    if (tstate == NULL) {
  ------------------
  |  Branch (1507:9): [True: 0, False: 2]
  ------------------
 1508|      0|        tstate = PyMem_RawCalloc(1, sizeof(_PyThreadStateImpl));
 1509|      0|        if (tstate == NULL) {
  ------------------
  |  Branch (1509:13): [True: 0, False: 0]
  ------------------
 1510|      0|            return NULL;
 1511|      0|        }
 1512|      0|        reset_threadstate(tstate);
 1513|      0|    }
 1514|      2|    return tstate;
 1515|      2|}
pystate.c:init_threadstate:
 1557|      2|{
 1558|      2|    PyThreadState *tstate = (PyThreadState *)_tstate;
 1559|      2|    if (tstate->_status.initialized) {
  ------------------
  |  Branch (1559:9): [True: 0, False: 2]
  ------------------
 1560|      0|        Py_FatalError("thread state already initialized");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
 1561|      0|    }
 1562|       |
 1563|      2|    assert(interp != NULL);
  ------------------
  |  Branch (1563:5): [True: 2, False: 0]
  ------------------
 1564|      2|    tstate->interp = interp;
 1565|      2|    tstate->eval_breaker =
 1566|      2|        _Py_atomic_load_uintptr_relaxed(&interp->ceval.instrumentation_version);
 1567|       |
 1568|       |    // next/prev are set in add_threadstate().
 1569|      2|    assert(tstate->next == NULL);
  ------------------
  |  Branch (1569:5): [True: 2, False: 0]
  ------------------
 1570|      2|    assert(tstate->prev == NULL);
  ------------------
  |  Branch (1570:5): [True: 2, False: 0]
  ------------------
 1571|       |
 1572|      2|    assert(tstate->_whence == _PyThreadState_WHENCE_NOTSET);
  ------------------
  |  Branch (1572:5): [True: 2, False: 0]
  ------------------
 1573|      2|    assert(whence >= 0 && whence <= _PyThreadState_WHENCE_THREADING_DAEMON);
  ------------------
  |  Branch (1573:5): [True: 2, False: 0]
  |  Branch (1573:5): [True: 2, False: 0]
  ------------------
 1574|      2|    tstate->_whence = whence;
 1575|       |
 1576|      2|    assert(id > 0);
  ------------------
  |  Branch (1576:5): [True: 2, False: 0]
  ------------------
 1577|      2|    tstate->id = id;
 1578|       |
 1579|       |    // thread_id and native_thread_id are set in bind_tstate().
 1580|       |
 1581|      2|    tstate->py_recursion_limit = interp->ceval.recursion_limit;
 1582|      2|    tstate->py_recursion_remaining = interp->ceval.recursion_limit;
 1583|      2|    tstate->exc_info = &tstate->exc_state;
 1584|       |
 1585|       |    // PyGILState_Release must not try to delete this thread state.
 1586|       |    // This is cleared when PyGILState_Ensure() creates the thread state.
 1587|      2|    tstate->gilstate_counter = 1;
 1588|       |
 1589|       |    // Initialize the embedded base frame - sentinel at the bottom of the frame stack
 1590|      2|    _tstate->base_frame.previous = NULL;
 1591|      2|    _tstate->base_frame.f_executable = PyStackRef_None;
  ------------------
  |  |  485|      2|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  ------------------
  |  |  |  |   55|      2|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
 1592|      2|    _tstate->base_frame.f_funcobj = PyStackRef_NULL;
 1593|      2|    _tstate->base_frame.f_globals = NULL;
 1594|      2|    _tstate->base_frame.f_builtins = NULL;
 1595|      2|    _tstate->base_frame.f_locals = NULL;
 1596|      2|    _tstate->base_frame.frame_obj = NULL;
 1597|      2|    _tstate->base_frame.instr_ptr = NULL;
 1598|      2|    _tstate->base_frame.stackpointer = _tstate->base_frame.localsplus;
 1599|      2|    _tstate->base_frame.return_offset = 0;
 1600|      2|    _tstate->base_frame.owner = FRAME_OWNED_BY_INTERPRETER;
 1601|      2|    _tstate->base_frame.visited = 0;
 1602|       |#ifdef Py_DEBUG
 1603|       |    _tstate->base_frame.lltrace = 0;
 1604|       |#endif
 1605|       |#ifdef Py_GIL_DISABLED
 1606|       |    _tstate->base_frame.tlbc_index = 0;
 1607|       |#endif
 1608|      2|    _tstate->base_frame.localsplus[0] = PyStackRef_NULL;
 1609|       |
 1610|       |    // current_frame starts pointing to the base frame
 1611|      2|    tstate->current_frame = &_tstate->base_frame;
 1612|       |    // base_frame pointer for profilers to validate stack unwinding
 1613|      2|    tstate->base_frame = &_tstate->base_frame;
 1614|      2|    tstate->last_profiled_frame = NULL;
 1615|      2|    tstate->last_profiled_frame_seq = 0;
 1616|      2|    tstate->datastack_chunk = NULL;
 1617|      2|    tstate->datastack_top = NULL;
 1618|      2|    tstate->datastack_limit = NULL;
 1619|      2|    tstate->datastack_cached_chunk = NULL;
 1620|      2|    tstate->what_event = -1;
 1621|      2|    tstate->current_executor = NULL;
 1622|      2|    tstate->jit_exit = NULL;
 1623|      2|    tstate->dict_global_version = 0;
 1624|       |
 1625|      2|    _tstate->c_stack_soft_limit = UINTPTR_MAX;
 1626|      2|    _tstate->c_stack_top = 0;
 1627|      2|    _tstate->c_stack_hard_limit = 0;
 1628|       |
 1629|      2|    _tstate->c_stack_init_base = 0;
 1630|      2|    _tstate->c_stack_init_top = 0;
 1631|       |
 1632|      2|    _tstate->asyncio_running_loop = NULL;
 1633|      2|    _tstate->asyncio_running_task = NULL;
 1634|       |
 1635|       |#ifdef _Py_TIER2
 1636|       |    _tstate->jit_tracer_state = NULL;
 1637|       |#endif
 1638|      2|    tstate->delete_later = NULL;
 1639|       |
 1640|      2|    llist_init(&_tstate->mem_free_queue);
 1641|      2|    llist_init(&_tstate->asyncio_tasks_head);
 1642|      2|    if (interp->stoptheworld.requested || _PyRuntime.stoptheworld.requested) {
  ------------------
  |  Branch (1642:9): [True: 0, False: 2]
  |  Branch (1642:43): [True: 0, False: 2]
  ------------------
 1643|       |        // Start in the suspended state if there is an ongoing stop-the-world.
 1644|      0|        tstate->state = _Py_THREAD_SUSPENDED;
  ------------------
  |  |   48|      0|#define _Py_THREAD_SUSPENDED        2
  ------------------
 1645|      0|    }
 1646|       |
 1647|      2|    tstate->_status.initialized = 1;
 1648|      2|}
pystate.c:add_threadstate:
 1653|      2|{
 1654|      2|    assert(interp->threads.head != tstate);
  ------------------
  |  Branch (1654:5): [True: 2, False: 0]
  ------------------
 1655|      2|    if (next != NULL) {
  ------------------
  |  Branch (1655:9): [True: 0, False: 2]
  ------------------
 1656|      0|        assert(next->prev == NULL || next->prev == tstate);
  ------------------
  |  Branch (1656:9): [True: 0, False: 0]
  |  Branch (1656:9): [True: 0, False: 0]
  ------------------
 1657|      0|        next->prev = tstate;
 1658|      0|    }
 1659|      2|    tstate->next = next;
 1660|      2|    assert(tstate->prev == NULL);
  ------------------
  |  Branch (1660:5): [True: 2, False: 0]
  ------------------
 1661|      2|    interp->threads.head = tstate;
 1662|      2|}
pystate.c:bind_tstate:
  165|      2|{
  166|      2|    assert(tstate != NULL);
  ------------------
  |  Branch (166:5): [True: 2, False: 0]
  ------------------
  167|      2|    assert(tstate_is_alive(tstate) && !tstate->_status.bound);
  ------------------
  |  Branch (167:5): [True: 2, False: 0]
  |  Branch (167:5): [True: 2, False: 0]
  ------------------
  168|      2|    assert(!tstate->_status.unbound);  // just in case
  ------------------
  |  Branch (168:5): [True: 2, False: 0]
  ------------------
  169|      2|    assert(!tstate->_status.bound_gilstate);
  ------------------
  |  Branch (169:5): [True: 2, False: 0]
  ------------------
  170|      2|    assert(tstate != gilstate_get());
  ------------------
  |  Branch (170:5): [True: 2, False: 0]
  ------------------
  171|      2|    assert(!tstate->_status.active);
  ------------------
  |  Branch (171:5): [True: 2, False: 0]
  ------------------
  172|      2|    assert(tstate->thread_id == 0);
  ------------------
  |  Branch (172:5): [True: 2, False: 0]
  ------------------
  173|      2|    assert(tstate->native_thread_id == 0);
  ------------------
  |  Branch (173:5): [True: 2, False: 0]
  ------------------
  174|       |
  175|       |    // Currently we don't necessarily store the thread state
  176|       |    // in thread-local storage (e.g. per-interpreter).
  177|       |
  178|      2|    tstate->thread_id = PyThread_get_thread_ident();
  179|      2|#ifdef PY_HAVE_THREAD_NATIVE_ID
  180|      2|    tstate->native_thread_id = PyThread_get_thread_native_id();
  181|      2|#endif
  182|       |
  183|       |#ifdef Py_GIL_DISABLED
  184|       |    // Initialize biased reference counting inter-thread queue. Note that this
  185|       |    // needs to be initialized from the active thread.
  186|       |    _Py_brc_init_thread(tstate);
  187|       |#endif
  188|       |
  189|       |    // mimalloc state needs to be initialized from the active thread.
  190|      2|    tstate_mimalloc_bind(tstate);
  191|       |
  192|      2|    tstate->_status.bound = 1;
  193|      2|}
pystate.c:tstate_is_alive:
 1462|      4|{
 1463|      4|    return (tstate->_status.initialized &&
  ------------------
  |  Branch (1463:13): [True: 4, False: 0]
  ------------------
 1464|      4|            !tstate->_status.finalized &&
  ------------------
  |  Branch (1464:13): [True: 4, False: 0]
  ------------------
 1465|      4|            !tstate->_status.cleared &&
  ------------------
  |  Branch (1465:13): [True: 4, False: 0]
  ------------------
 1466|      4|            !tstate->_status.finalizing);
  ------------------
  |  Branch (1466:13): [True: 4, False: 0]
  ------------------
 1467|      4|}
pystate.c:tstate_mimalloc_bind:
 3252|      2|{
 3253|       |#ifdef Py_GIL_DISABLED
 3254|       |    struct _mimalloc_thread_state *mts = &((_PyThreadStateImpl*)tstate)->mimalloc;
 3255|       |
 3256|       |    // Initialize the mimalloc thread state. This must be called from the
 3257|       |    // same thread that will use the thread state. The "mem" heap doubles as
 3258|       |    // the "backing" heap.
 3259|       |    mi_tld_t *tld = &mts->tld;
 3260|       |    _mi_tld_init(tld, &mts->heaps[_Py_MIMALLOC_HEAP_MEM]);
 3261|       |    llist_init(&mts->page_list);
 3262|       |
 3263|       |    // Exiting threads push any remaining in-use segments to the abandoned
 3264|       |    // pool to be re-claimed later by other threads. We use per-interpreter
 3265|       |    // pools to keep Python objects from different interpreters separate.
 3266|       |    tld->segments.abandoned = &tstate->interp->mimalloc.abandoned_pool;
 3267|       |
 3268|       |    // Don't fill in the first N bytes up to ob_type in debug builds. We may
 3269|       |    // access ob_tid and the refcount fields in the dict and list lock-less
 3270|       |    // accesses, so they must remain valid for a while after deallocation.
 3271|       |    size_t base_offset = offsetof(PyObject, ob_type);
 3272|       |    if (_PyMem_DebugEnabled()) {
 3273|       |        // The debug allocator adds two words at the beginning of each block.
 3274|       |        base_offset += 2 * sizeof(size_t);
 3275|       |    }
 3276|       |    size_t debug_offsets[_Py_MIMALLOC_HEAP_COUNT] = {
 3277|       |        [_Py_MIMALLOC_HEAP_OBJECT] = base_offset,
 3278|       |        [_Py_MIMALLOC_HEAP_GC] = base_offset,
 3279|       |        [_Py_MIMALLOC_HEAP_GC_PRE] = base_offset + 2 * sizeof(PyObject *),
 3280|       |    };
 3281|       |
 3282|       |    // Initialize each heap
 3283|       |    for (uint8_t i = 0; i < _Py_MIMALLOC_HEAP_COUNT; i++) {
 3284|       |        _mi_heap_init_ex(&mts->heaps[i], tld, _mi_arena_id_none(), false, i);
 3285|       |        mts->heaps[i].debug_offset = (uint8_t)debug_offsets[i];
 3286|       |    }
 3287|       |
 3288|       |    // Heaps that store Python objects should use QSBR to delay freeing
 3289|       |    // mimalloc pages while there may be concurrent lock-free readers.
 3290|       |    mts->heaps[_Py_MIMALLOC_HEAP_OBJECT].page_use_qsbr = true;
 3291|       |    mts->heaps[_Py_MIMALLOC_HEAP_GC].page_use_qsbr = true;
 3292|       |    mts->heaps[_Py_MIMALLOC_HEAP_GC_PRE].page_use_qsbr = true;
 3293|       |
 3294|       |    // By default, object allocations use _Py_MIMALLOC_HEAP_OBJECT.
 3295|       |    // _PyObject_GC_New() and similar functions temporarily override this to
 3296|       |    // use one of the GC heaps.
 3297|       |    mts->current_object_heap = &mts->heaps[_Py_MIMALLOC_HEAP_OBJECT];
 3298|       |
 3299|       |    _Py_atomic_store_int(&mts->initialized, 1);
 3300|       |#endif
 3301|      2|}
pystate.c:gilstate_get:
  130|   356k|{
  131|   356k|    return _Py_tss_gilstate;
  132|   356k|}
pystate.c:bind_gilstate_tstate:
  238|      2|{
  239|      2|    assert(tstate != NULL);
  ------------------
  |  Branch (239:5): [True: 2, False: 0]
  ------------------
  240|      2|    assert(tstate_is_alive(tstate));
  ------------------
  |  Branch (240:5): [True: 2, False: 0]
  ------------------
  241|      2|    assert(tstate_is_bound(tstate));
  ------------------
  |  Branch (241:5): [True: 2, False: 0]
  ------------------
  242|       |    // XXX assert(!tstate->_status.active);
  243|      2|    assert(!tstate->_status.bound_gilstate);
  ------------------
  |  Branch (243:5): [True: 2, False: 0]
  ------------------
  244|       |
  245|      2|    PyThreadState *tcur = gilstate_get();
  246|      2|    assert(tstate != tcur);
  ------------------
  |  Branch (246:5): [True: 2, False: 0]
  ------------------
  247|       |
  248|      2|    if (tcur != NULL) {
  ------------------
  |  Branch (248:9): [True: 0, False: 2]
  ------------------
  249|      0|        tcur->_status.bound_gilstate = 0;
  250|      0|    }
  251|      2|    gilstate_set(tstate);
  252|      2|    tstate->_status.bound_gilstate = 1;
  253|      2|}
pystate.c:tstate_is_bound:
  153|   713k|{
  154|   713k|    return tstate->_status.bound && !tstate->_status.unbound;
  ------------------
  |  Branch (154:12): [True: 713k, False: 0]
  |  Branch (154:37): [True: 713k, False: 0]
  ------------------
  155|   713k|}
pystate.c:gilstate_set:
  136|      2|{
  137|      2|    assert(tstate != NULL);
  ------------------
  |  Branch (137:5): [True: 2, False: 0]
  ------------------
  138|      2|    _Py_tss_gilstate = tstate;
  139|      2|}
pystate.c:current_fast_clear:
  101|   356k|{
  102|   356k|    _Py_tss_tstate = NULL;
  103|       |    _Py_tss_interp = NULL;
  104|   356k|}
pystate.c:current_fast_set:
   92|   356k|{
   93|   356k|    assert(tstate != NULL);
  ------------------
  |  Branch (93:5): [True: 356k, False: 0]
  ------------------
   94|   356k|    _Py_tss_tstate = tstate;
   95|   356k|    assert(tstate->interp != NULL);
  ------------------
  |  Branch (95:5): [True: 356k, False: 0]
  ------------------
   96|   356k|    _Py_tss_interp = tstate->interp;
   97|   356k|}
pystate.c:tstate_try_attach:
 2212|   356k|{
 2213|       |#ifdef Py_GIL_DISABLED
 2214|       |    int expected = _Py_THREAD_DETACHED;
 2215|       |    return _Py_atomic_compare_exchange_int(&tstate->state,
 2216|       |                                           &expected,
 2217|       |                                           _Py_THREAD_ATTACHED);
 2218|       |#else
 2219|   356k|    assert(tstate->state == _Py_THREAD_DETACHED);
  ------------------
  |  Branch (2219:5): [True: 356k, False: 0]
  ------------------
 2220|   356k|    tstate->state = _Py_THREAD_ATTACHED;
  ------------------
  |  |   47|   356k|#define _Py_THREAD_ATTACHED         1
  ------------------
 2221|   356k|    return 1;
 2222|   356k|#endif
 2223|   356k|}
pystate.c:tstate_activate:
 2177|   356k|{
 2178|   356k|    assert(tstate != NULL);
  ------------------
  |  Branch (2178:5): [True: 356k, False: 0]
  ------------------
 2179|       |    // XXX assert(tstate_is_alive(tstate));
 2180|   356k|    assert(tstate_is_bound(tstate));
  ------------------
  |  Branch (2180:5): [True: 356k, False: 0]
  ------------------
 2181|   356k|    assert(!tstate->_status.active);
  ------------------
  |  Branch (2181:5): [True: 356k, False: 0]
  ------------------
 2182|       |
 2183|   356k|    assert(!tstate->_status.bound_gilstate ||
  ------------------
  |  Branch (2183:5): [True: 0, False: 356k]
  |  Branch (2183:5): [True: 356k, False: 0]
  ------------------
 2184|   356k|           tstate == gilstate_get());
 2185|   356k|    if (!tstate->_status.bound_gilstate) {
  ------------------
  |  Branch (2185:9): [True: 0, False: 356k]
  ------------------
 2186|      0|        bind_gilstate_tstate(tstate);
 2187|      0|    }
 2188|       |
 2189|   356k|    tstate->_status.active = 1;
 2190|   356k|}
pystate.c:detach_thread:
 2318|   356k|{
 2319|       |    // XXX assert(tstate_is_alive(tstate) && tstate_is_bound(tstate));
 2320|   356k|    assert(_Py_atomic_load_int_relaxed(&tstate->state) == _Py_THREAD_ATTACHED);
  ------------------
  |  Branch (2320:5): [True: 356k, False: 0]
  ------------------
 2321|   356k|    assert(tstate == current_fast_get());
  ------------------
  |  Branch (2321:5): [True: 356k, False: 0]
  ------------------
 2322|   356k|    if (tstate->critical_section != 0) {
  ------------------
  |  Branch (2322:9): [True: 0, False: 356k]
  ------------------
 2323|      0|        _PyCriticalSection_SuspendAll(tstate);
 2324|      0|    }
 2325|       |#ifdef Py_GIL_DISABLED
 2326|       |    _Py_qsbr_detach(((_PyThreadStateImpl *)tstate)->qsbr);
 2327|       |#endif
 2328|   356k|    tstate_deactivate(tstate);
 2329|   356k|    tstate_set_detached(tstate, detached_state);
 2330|   356k|    current_fast_clear(&_PyRuntime);
 2331|   356k|    _PyEval_ReleaseLock(tstate->interp, tstate, 0);
 2332|   356k|}
pystate.c:tstate_deactivate:
 2194|   356k|{
 2195|   356k|    assert(tstate != NULL);
  ------------------
  |  Branch (2195:5): [True: 356k, False: 0]
  ------------------
 2196|       |    // XXX assert(tstate_is_alive(tstate));
 2197|   356k|    assert(tstate_is_bound(tstate));
  ------------------
  |  Branch (2197:5): [True: 356k, False: 0]
  ------------------
 2198|   356k|    assert(tstate->_status.active);
  ------------------
  |  Branch (2198:5): [True: 356k, False: 0]
  ------------------
 2199|       |
 2200|       |#if Py_STATS
 2201|       |    _PyStats_Detach((_PyThreadStateImpl *)tstate);
 2202|       |#endif
 2203|       |
 2204|   356k|    tstate->_status.active = 0;
 2205|       |
 2206|       |    // We do not unbind the gilstate tstate here.
 2207|       |    // It will still be used in PyGILState_Ensure().
 2208|   356k|}
pystate.c:tstate_set_detached:
 2227|   356k|{
 2228|   356k|    assert(_Py_atomic_load_int_relaxed(&tstate->state) == _Py_THREAD_ATTACHED);
  ------------------
  |  Branch (2228:5): [True: 356k, False: 0]
  ------------------
 2229|       |#ifdef Py_GIL_DISABLED
 2230|       |    _Py_atomic_store_int(&tstate->state, detached_state);
 2231|       |#else
 2232|   356k|    tstate->state = detached_state;
 2233|   356k|#endif
 2234|   356k|}
pystate.c:push_chunk:
 3131|   905k|{
 3132|   905k|    int allocate_size = _PY_DATA_STACK_CHUNK_SIZE;
  ------------------
  |  |   65|   905k|#define _PY_DATA_STACK_CHUNK_SIZE (16*1024)
  ------------------
 3133|   905k|    while (allocate_size < (int)sizeof(PyObject*)*(size + MINIMUM_OVERHEAD)) {
  ------------------
  |  | 3127|   905k|#define MINIMUM_OVERHEAD 1000
  ------------------
  |  Branch (3133:12): [True: 0, False: 905k]
  ------------------
 3134|      0|        allocate_size *= 2;
 3135|      0|    }
 3136|   905k|    _PyStackChunk *new;
 3137|   905k|    if (tstate->datastack_cached_chunk != NULL
  ------------------
  |  Branch (3137:9): [True: 869k, False: 36.6k]
  ------------------
 3138|   869k|        && (size_t)allocate_size <= tstate->datastack_cached_chunk->size)
  ------------------
  |  Branch (3138:12): [True: 869k, False: 0]
  ------------------
 3139|   869k|    {
 3140|   869k|        new = tstate->datastack_cached_chunk;
 3141|   869k|        tstate->datastack_cached_chunk = NULL;
 3142|   869k|        new->previous = tstate->datastack_chunk;
 3143|   869k|        new->top = 0;
 3144|   869k|    }
 3145|  36.6k|    else {
 3146|  36.6k|        new = allocate_chunk(allocate_size, tstate->datastack_chunk);
 3147|  36.6k|        if (new == NULL) {
  ------------------
  |  Branch (3147:13): [True: 0, False: 36.6k]
  ------------------
 3148|      0|            return NULL;
 3149|      0|        }
 3150|  36.6k|    }
 3151|   905k|    if (tstate->datastack_chunk) {
  ------------------
  |  Branch (3151:9): [True: 905k, False: 2]
  ------------------
 3152|   905k|        tstate->datastack_chunk->top = tstate->datastack_top -
 3153|   905k|                                       &tstate->datastack_chunk->data[0];
 3154|   905k|    }
 3155|   905k|    tstate->datastack_chunk = new;
 3156|   905k|    tstate->datastack_limit = (PyObject **)(((char *)new) + allocate_size);
 3157|       |    // When new is the "root" chunk (i.e. new->previous == NULL), we can keep
 3158|       |    // _PyThreadState_PopFrame from freeing it later by "skipping" over the
 3159|       |    // first element:
 3160|       |    PyObject **res = &new->data[new->previous == NULL];
 3161|   905k|    tstate->datastack_top = res + size;
 3162|   905k|    return res;
 3163|   905k|}
pystate.c:allocate_chunk:
 1477|  36.6k|{
 1478|  36.6k|    assert(size_in_bytes % sizeof(PyObject **) == 0);
  ------------------
  |  Branch (1478:5): [True: 36.6k, False: 0]
  ------------------
 1479|  36.6k|    _PyStackChunk *res = _PyObject_VirtualAlloc(size_in_bytes);
 1480|  36.6k|    if (res == NULL) {
  ------------------
  |  Branch (1480:9): [True: 0, False: 36.6k]
  ------------------
 1481|      0|        return NULL;
 1482|      0|    }
 1483|  36.6k|    res->previous = previous;
 1484|  36.6k|    res->size = size_in_bytes;
 1485|  36.6k|    res->top = 0;
 1486|  36.6k|    return res;
 1487|  36.6k|}

_Py_parse_inf_or_nan:
   29|      1|{
   30|      1|    double retval;
   31|      1|    const char *s;
   32|      1|    int negate = 0;
   33|       |
   34|      1|    s = p;
   35|      1|    if (*s == '-') {
  ------------------
  |  Branch (35:9): [True: 0, False: 1]
  ------------------
   36|      0|        negate = 1;
   37|      0|        s++;
   38|      0|    }
   39|      1|    else if (*s == '+') {
  ------------------
  |  Branch (39:14): [True: 0, False: 1]
  ------------------
   40|      0|        s++;
   41|      0|    }
   42|      1|    if (case_insensitive_match(s, "inf")) {
  ------------------
  |  Branch (42:9): [True: 0, False: 1]
  ------------------
   43|      0|        s += 3;
   44|      0|        if (case_insensitive_match(s, "inity"))
  ------------------
  |  Branch (44:13): [True: 0, False: 0]
  ------------------
   45|      0|            s += 5;
   46|      0|        retval = negate ? -INFINITY : INFINITY;
  ------------------
  |  Branch (46:18): [True: 0, False: 0]
  ------------------
   47|      0|    }
   48|      1|    else if (case_insensitive_match(s, "nan")) {
  ------------------
  |  Branch (48:14): [True: 0, False: 1]
  ------------------
   49|      0|        s += 3;
   50|      0|        retval = negate ? -fabs(Py_NAN) : fabs(Py_NAN);
  ------------------
  |  |   79|      0|#    define Py_NAN      ((double)NAN)
  ------------------
                      retval = negate ? -fabs(Py_NAN) : fabs(Py_NAN);
  ------------------
  |  |   79|      0|#    define Py_NAN      ((double)NAN)
  ------------------
  |  Branch (50:18): [True: 0, False: 0]
  ------------------
   51|      0|    }
   52|      1|    else {
   53|      1|        s = p;
   54|      1|        retval = -1.0;
   55|      1|    }
   56|      1|    *endptr = (char *)s;
   57|      1|    return retval;
   58|      1|}
pystrtod.c:case_insensitive_match:
   14|      2|{
   15|      2|    while(*t && Py_TOLOWER(*s) == *t) {
  ------------------
  |  |   32|      2|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  138|      2|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  |  Branch (15:11): [True: 2, False: 0]
  |  Branch (15:17): [True: 0, False: 2]
  ------------------
   16|      0|        s++;
   17|      0|        t++;
   18|      0|    }
   19|      2|    return *t ? 0 : 1;
  ------------------
  |  Branch (19:12): [True: 2, False: 0]
  ------------------
   20|      2|}

PyRun_StringFlags:
 1304|      3|                     PyObject *locals, PyCompilerFlags *flags) {
 1305|       |
 1306|       |    return _PyRun_String(str, NULL, start, globals, locals, flags, 0);
 1307|      3|}
_Py_SourceAsString:
 1635|      3|{
 1636|      3|    const char *str;
 1637|      3|    Py_ssize_t size;
 1638|      3|    Py_buffer view;
 1639|       |
 1640|      3|    *cmd_copy = NULL;
 1641|      3|    if (PyUnicode_Check(cmd)) {
  ------------------
  |  |  103|      3|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      3|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 3, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1642|      3|        cf->cf_flags |= PyCF_IGNORE_COOKIE;
  ------------------
  |  |   18|      3|#define PyCF_IGNORE_COOKIE 0x0800
  ------------------
 1643|      3|        str = PyUnicode_AsUTF8AndSize(cmd, &size);
 1644|      3|        if (str == NULL)
  ------------------
  |  Branch (1644:13): [True: 0, False: 3]
  ------------------
 1645|      0|            return NULL;
 1646|      3|    }
 1647|      0|    else if (PyBytes_Check(cmd)) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1648|      0|        str = PyBytes_AS_STRING(cmd);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1649|      0|        size = PyBytes_GET_SIZE(cmd);
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1650|      0|    }
 1651|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1652|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1653|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1654|      0|    }
 1655|      0|    else if (PyObject_GetBuffer(cmd, &view, PyBUF_SIMPLE) == 0) {
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1655:14): [True: 0, False: 0]
  ------------------
 1656|       |        /* Copy to NUL-terminated buffer. */
 1657|      0|        *cmd_copy = PyBytes_FromStringAndSize(
 1658|      0|            (const char *)view.buf, view.len);
 1659|      0|        PyBuffer_Release(&view);
 1660|      0|        if (*cmd_copy == NULL) {
  ------------------
  |  Branch (1660:13): [True: 0, False: 0]
  ------------------
 1661|      0|            return NULL;
 1662|      0|        }
 1663|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1664|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1665|      0|    }
 1666|      0|    else {
 1667|      0|        PyErr_Format(PyExc_TypeError,
 1668|      0|            "%s() arg 1 must be a %s object",
 1669|      0|            funcname, what);
 1670|      0|        return NULL;
 1671|      0|    }
 1672|       |
 1673|      3|    if (strlen(str) != (size_t)size) {
  ------------------
  |  Branch (1673:9): [True: 0, False: 3]
  ------------------
 1674|      0|        PyErr_SetString(PyExc_SyntaxError,
 1675|      0|            "source code string cannot contain null bytes");
 1676|      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]
  |  |  ------------------
  ------------------
 1677|      0|        return NULL;
 1678|      0|    }
 1679|      3|    return str;
 1680|      3|}
pythonrun.c:run_mod:
 1436|      3|{
 1437|      3|    PyThreadState *tstate = _PyThreadState_GET();
 1438|      3|    PyObject* interactive_filename = filename;
 1439|      3|    if (interactive_src) {
  ------------------
  |  Branch (1439:9): [True: 0, False: 3]
  ------------------
 1440|      0|        PyInterpreterState *interp = tstate->interp;
 1441|      0|        if (generate_new_source) {
  ------------------
  |  Branch (1441:13): [True: 0, False: 0]
  ------------------
 1442|      0|            interactive_filename = get_interactive_filename(
 1443|      0|                filename, interp->_interactive_src_count++);
 1444|      0|        } else {
 1445|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1446|      0|        }
 1447|      0|        if (interactive_filename == NULL) {
  ------------------
  |  Branch (1447:13): [True: 0, False: 0]
  ------------------
 1448|      0|            return NULL;
 1449|      0|        }
 1450|      0|    }
 1451|      3|    PyObject *module = NULL;
 1452|      3|    if (globals && PyDict_GetItemStringRef(globals, "__name__", &module) < 0) {
  ------------------
  |  Branch (1452:9): [True: 3, False: 0]
  |  Branch (1452:20): [True: 0, False: 3]
  ------------------
 1453|      0|        if (interactive_src) {
  ------------------
  |  Branch (1453:13): [True: 0, False: 0]
  ------------------
 1454|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1455|      0|        }
 1456|      0|        return NULL;
 1457|      0|    }
 1458|       |
 1459|      3|    PyCodeObject *co = _PyAST_Compile(mod, interactive_filename, flags, -1,
 1460|      3|                                      arena, module);
 1461|      3|    Py_XDECREF(module);
  ------------------
  |  |  524|      3|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1462|      3|    if (co == NULL) {
  ------------------
  |  Branch (1462:9): [True: 0, False: 3]
  ------------------
 1463|      0|        if (interactive_src) {
  ------------------
  |  Branch (1463:13): [True: 0, False: 0]
  ------------------
 1464|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1465|      0|        }
 1466|      0|        return NULL;
 1467|      0|    }
 1468|       |
 1469|      3|    if (interactive_src) {
  ------------------
  |  Branch (1469:9): [True: 0, False: 3]
  ------------------
 1470|      0|        PyObject *print_tb_func = PyImport_ImportModuleAttrString(
 1471|      0|            "linecache",
 1472|      0|            "_register_code");
 1473|      0|        if (print_tb_func == NULL) {
  ------------------
  |  Branch (1473:13): [True: 0, False: 0]
  ------------------
 1474|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1475|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1476|      0|            return NULL;
 1477|      0|        }
 1478|       |
 1479|      0|        if (!PyCallable_Check(print_tb_func)) {
  ------------------
  |  Branch (1479:13): [True: 0, False: 0]
  ------------------
 1480|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1481|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1482|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1483|      0|            PyErr_SetString(PyExc_ValueError, "linecache._register_code is not callable");
 1484|      0|            return NULL;
 1485|      0|        }
 1486|       |
 1487|      0|        PyObject* result = PyObject_CallFunction(
 1488|      0|            print_tb_func, "OOO",
 1489|      0|            co,
 1490|      0|            interactive_src,
 1491|      0|            filename
 1492|      0|        );
 1493|       |
 1494|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1495|       |
 1496|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1497|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1498|      0|        if (!result) {
  ------------------
  |  Branch (1498:13): [True: 0, False: 0]
  ------------------
 1499|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1500|      0|            return NULL;
 1501|      0|        }
 1502|      0|    }
 1503|       |
 1504|      3|    if (_PySys_Audit(tstate, "exec", "O", co) < 0) {
  ------------------
  |  Branch (1504:9): [True: 0, False: 3]
  ------------------
 1505|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1506|      0|        return NULL;
 1507|      0|    }
 1508|       |
 1509|      3|    PyObject *v = run_eval_code_obj(tstate, co, globals, locals);
 1510|      3|    Py_DECREF(co);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1511|      3|    return v;
 1512|      3|}
pythonrun.c:run_eval_code_obj:
 1387|      3|{
 1388|       |    /* Set globals['__builtins__'] if it doesn't exist */
 1389|      3|    if (!globals || !PyAnyDict_Check(globals)) {
  ------------------
  |  |   43|      3|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|      3|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      6|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 3, 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 (1389:9): [True: 0, False: 3]
  ------------------
 1390|      0|        PyErr_SetString(PyExc_SystemError,
 1391|      0|                        "globals must be a real dict or a real frozendict");
 1392|      0|        return NULL;
 1393|      0|    }
 1394|      3|    int has_builtins = PyDict_ContainsString(globals, "__builtins__");
 1395|      3|    if (has_builtins < 0) {
  ------------------
  |  Branch (1395:9): [True: 0, False: 3]
  ------------------
 1396|      0|        return NULL;
 1397|      0|    }
 1398|      3|    if (!has_builtins) {
  ------------------
  |  Branch (1398:9): [True: 0, False: 3]
  ------------------
 1399|      0|        if (PyDict_SetItemString(globals, "__builtins__",
  ------------------
  |  Branch (1399:13): [True: 0, False: 0]
  ------------------
 1400|      0|                                 tstate->interp->builtins) < 0)
 1401|      0|        {
 1402|      0|            return NULL;
 1403|      0|        }
 1404|      0|    }
 1405|       |
 1406|      3|    return PyEval_EvalCode((PyObject*)co, globals, locals);
 1407|      3|}
pythonrun.c:_PyRun_String:
 1259|      3|{
 1260|      3|    if (check_start(start) < 0) {
  ------------------
  |  Branch (1260:9): [True: 0, False: 3]
  ------------------
 1261|      0|        return NULL;
 1262|      0|    }
 1263|       |
 1264|      3|    PyObject *ret = NULL;
 1265|      3|    mod_ty mod;
 1266|      3|    PyArena *arena;
 1267|       |
 1268|      3|    arena = _PyArena_New();
 1269|      3|    if (arena == NULL)
  ------------------
  |  Branch (1269:9): [True: 0, False: 3]
  ------------------
 1270|      0|        return NULL;
 1271|       |
 1272|      3|    PyObject* source = NULL;
 1273|      3|    _Py_DECLARE_STR(anon_string, "<string>");
 1274|       |
 1275|      3|    if (name) {
  ------------------
  |  Branch (1275:9): [True: 0, False: 3]
  ------------------
 1276|      0|        source = PyUnicode_FromString(str);
 1277|      0|        if (!source) {
  ------------------
  |  Branch (1277:13): [True: 0, False: 0]
  ------------------
 1278|      0|            PyErr_Clear();
 1279|      0|        }
 1280|      3|    } else {
 1281|      3|        name = &_Py_STR(anon_string);
  ------------------
  |  |  922|      3|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      3|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      3|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1282|      3|    }
 1283|      3|    PyObject *module = NULL;
 1284|      3|    if (globals && PyDict_GetItemStringRef(globals, "__name__", &module) < 0) {
  ------------------
  |  Branch (1284:9): [True: 3, False: 0]
  |  Branch (1284:20): [True: 0, False: 3]
  ------------------
 1285|      0|        goto done;
 1286|      0|    }
 1287|       |
 1288|      3|    mod = _PyParser_ASTFromString(str, name, start, flags, arena, module);
 1289|      3|    Py_XDECREF(module);
  ------------------
  |  |  524|      3|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1290|       |
 1291|      3|    if (mod != NULL) {
  ------------------
  |  Branch (1291:9): [True: 3, False: 0]
  ------------------
 1292|      3|        ret = run_mod(mod, name, globals, locals, flags, arena, source, generate_new_source);
 1293|      3|    }
 1294|       |
 1295|      3|done:
 1296|      3|    Py_XDECREF(source);
  ------------------
  |  |  524|      3|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1297|      3|    _PyArena_Free(arena);
 1298|      3|    return ret;
 1299|      3|}
pythonrun.c:check_start:
 1245|      3|{
 1246|      3|    if (start == Py_single_input || start == Py_file_input
  ------------------
  |  |    8|      6|#define Py_single_input 256
  ------------------
                  if (start == Py_single_input || start == Py_file_input
  ------------------
  |  |    9|      6|#define Py_file_input 257
  ------------------
  |  Branch (1246:9): [True: 0, False: 3]
  |  Branch (1246:37): [True: 0, False: 3]
  ------------------
 1247|      3|        || start == Py_eval_input || start == Py_func_type_input)
  ------------------
  |  |   10|      6|#define Py_eval_input 258
  ------------------
                      || start == Py_eval_input || start == Py_func_type_input)
  ------------------
  |  |   11|      0|#define Py_func_type_input 345
  ------------------
  |  Branch (1247:12): [True: 3, False: 0]
  |  Branch (1247:38): [True: 0, False: 0]
  ------------------
 1248|      3|    {
 1249|      3|        return 0;
 1250|      3|    }
 1251|      0|    PyErr_SetString(PyExc_ValueError, "invalid start argument");
 1252|      0|    return -1;
 1253|      3|}

_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|    351|{
  227|    351|#if SIZEOF_TIME_T == SIZEOF_LONG_LONG
  228|    351|    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|    351|}
_PyTime_FromSeconds:
  539|    240|{
  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|    240|    static_assert(INT_MAX <= PyTime_MAX / SEC_TO_NS, "PyTime_t overflow");
  544|    240|    static_assert(INT_MIN >= PyTime_MIN / SEC_TO_NS, "PyTime_t underflow");
  545|       |
  546|    240|    PyTime_t t = (PyTime_t)seconds;
  547|    240|    assert((t >= 0 && t <= PyTime_MAX / SEC_TO_NS)
  ------------------
  |  Branch (547:5): [True: 0, False: 240]
  |  Branch (547:5): [True: 0, False: 0]
  |  Branch (547:5): [True: 240, False: 0]
  |  Branch (547:5): [True: 240, False: 0]
  ------------------
  548|    240|           || (t < 0 && t >= PyTime_MIN / SEC_TO_NS));
  549|    240|    t *= SEC_TO_NS;
  ------------------
  |  |   35|    240|#define SEC_TO_NS (SEC_TO_MS * MS_TO_NS)
  |  |  ------------------
  |  |  |  |   26|    240|#define SEC_TO_MS 1000
  |  |  ------------------
  |  |               #define SEC_TO_NS (SEC_TO_MS * MS_TO_NS)
  |  |  ------------------
  |  |  |  |   34|    240|#define MS_TO_NS (MS_TO_US * US_TO_NS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|    240|#define MS_TO_US 1000
  |  |  |  |  ------------------
  |  |  |  |               #define MS_TO_NS (MS_TO_US * US_TO_NS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|    240|#define US_TO_NS 1000
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  550|    240|    return t;
  551|    240|}
_PyTime_FromMicrosecondsClamp:
  556|   711k|{
  557|   711k|    PyTime_t ns = _PyTime_Mul(us, US_TO_NS);
  ------------------
  |  |   33|   711k|#define US_TO_NS 1000
  ------------------
  558|   711k|    return ns;
  559|   711k|}
PyTime_AsSecondsDouble:
  705|  17.6k|{
  706|       |    /* volatile avoids optimization changing how numbers are rounded */
  707|  17.6k|    volatile double d;
  708|       |
  709|  17.6k|    if (ns % SEC_TO_NS == 0) {
  ------------------
  |  |   35|  17.6k|#define SEC_TO_NS (SEC_TO_MS * MS_TO_NS)
  |  |  ------------------
  |  |  |  |   26|  17.6k|#define SEC_TO_MS 1000
  |  |  ------------------
  |  |               #define SEC_TO_NS (SEC_TO_MS * MS_TO_NS)
  |  |  ------------------
  |  |  |  |   34|  17.6k|#define MS_TO_NS (MS_TO_US * US_TO_NS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  17.6k|#define MS_TO_US 1000
  |  |  |  |  ------------------
  |  |  |  |               #define MS_TO_NS (MS_TO_US * US_TO_NS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|  17.6k|#define US_TO_NS 1000
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (709:9): [True: 0, False: 17.6k]
  ------------------
  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|  17.6k|    else {
  716|  17.6k|        d = (double)ns;
  717|  17.6k|        d /= 1e9;
  718|  17.6k|    }
  719|  17.6k|    return d;
  720|  17.6k|}
_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_MonotonicRaw:
 1289|  35.3k|{
 1290|  35.3k|    if (py_get_monotonic_clock(result, NULL, 0) < 0) {
  ------------------
  |  Branch (1290:9): [True: 0, False: 35.3k]
  ------------------
 1291|      0|        *result = 0;
 1292|      0|        return -1;
 1293|      0|    }
 1294|  35.3k|    return 0;
 1295|  35.3k|}
PyTime_PerfCounterRaw:
 1321|  35.3k|{
 1322|  35.3k|    return PyTime_MonotonicRaw(result);
 1323|  35.3k|}
_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);
  ------------------
  |  Branch (65:5): [True: 4, False: 0]
  ------------------
   66|      4|    assert(y >= 1);
  ------------------
  |  Branch (66:5): [True: 4, False: 0]
  ------------------
   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|      4|    assert(x >= 1);
  ------------------
  |  Branch (72:5): [True: 4, False: 0]
  ------------------
   73|      4|    return x;
   74|      4|}
pytime.c:pytime_add:
  117|  35.3k|{
  118|  35.3k|    if (t2 > 0 && *t1 > PyTime_MAX - t2) {
  ------------------
  |  |   12|  35.3k|#define PyTime_MAX INT64_MAX
  ------------------
  |  Branch (118:9): [True: 35.3k, False: 0]
  |  Branch (118:19): [True: 0, False: 35.3k]
  ------------------
  119|      0|        *t1 = PyTime_MAX;
  ------------------
  |  |   12|      0|#define PyTime_MAX INT64_MAX
  ------------------
  120|      0|        return -1;
  121|      0|    }
  122|  35.3k|    else if (t2 < 0 && *t1 < PyTime_MIN - t2) {
  ------------------
  |  |   11|      0|#define PyTime_MIN INT64_MIN
  ------------------
  |  Branch (122:14): [True: 0, False: 35.3k]
  |  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|  35.3k|    else {
  127|  35.3k|        *t1 += t2;
  128|  35.3k|        return 0;
  129|  35.3k|    }
  130|  35.3k|}
pytime.c:_PyTime_Mul:
  173|   711k|{
  174|   711k|    (void)pytime_mul(&t, k);
  175|   711k|    return t;
  176|   711k|}
pytime.c:pytime_mul:
  157|   746k|{
  158|   746k|    assert(k >= 0);
  ------------------
  |  Branch (158:5): [True: 746k, False: 0]
  ------------------
  159|   746k|    if (pytime_mul_check_overflow(*t, k)) {
  ------------------
  |  Branch (159:9): [True: 0, False: 746k]
  ------------------
  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|   746k|    else {
  164|   746k|        *t *= k;
  165|   746k|        return 0;
  166|   746k|    }
  167|   746k|}
pytime.c:pytime_mul_check_overflow:
  143|   746k|{
  144|   746k|    if (b != 0) {
  ------------------
  |  Branch (144:9): [True: 746k, False: 0]
  ------------------
  145|   746k|        assert(b > 0);
  ------------------
  |  Branch (145:9): [True: 746k, False: 0]
  ------------------
  146|   746k|        return ((a < PyTime_MIN / b) || (PyTime_MAX / b < a));
  ------------------
  |  |   11|   746k|#define PyTime_MIN INT64_MIN
  ------------------
                      return ((a < PyTime_MIN / b) || (PyTime_MAX / b < a));
  ------------------
  |  |   12|   746k|#define PyTime_MAX INT64_MAX
  ------------------
  |  Branch (146:17): [True: 0, False: 746k]
  |  Branch (146:41): [True: 0, False: 746k]
  ------------------
  147|   746k|    }
  148|      0|    else {
  149|      0|        return 0;
  150|      0|    }
  151|   746k|}
pytime.c:pytime_fromtimespec:
  565|  35.3k|{
  566|  35.3k|    PyTime_t t, tv_nsec;
  567|       |
  568|  35.3k|    static_assert(sizeof(ts->tv_sec) <= sizeof(PyTime_t),
  569|  35.3k|                  "timespec.tv_sec is larger than PyTime_t");
  570|  35.3k|    t = (PyTime_t)ts->tv_sec;
  571|       |
  572|  35.3k|    int res1 = pytime_mul(&t, SEC_TO_NS);
  ------------------
  |  |   35|  35.3k|#define SEC_TO_NS (SEC_TO_MS * MS_TO_NS)
  |  |  ------------------
  |  |  |  |   26|  35.3k|#define SEC_TO_MS 1000
  |  |  ------------------
  |  |               #define SEC_TO_NS (SEC_TO_MS * MS_TO_NS)
  |  |  ------------------
  |  |  |  |   34|  35.3k|#define MS_TO_NS (MS_TO_US * US_TO_NS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  35.3k|#define MS_TO_US 1000
  |  |  |  |  ------------------
  |  |  |  |               #define MS_TO_NS (MS_TO_US * US_TO_NS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|  35.3k|#define US_TO_NS 1000
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  573|       |
  574|  35.3k|    tv_nsec = ts->tv_nsec;
  575|  35.3k|    int res2 = pytime_add(&t, tv_nsec);
  576|       |
  577|  35.3k|    *tp = t;
  578|       |
  579|  35.3k|    if (raise_exc && (res1 < 0 || res2 < 0)) {
  ------------------
  |  Branch (579:9): [True: 0, False: 35.3k]
  |  Branch (579:23): [True: 0, False: 0]
  |  Branch (579:35): [True: 0, False: 0]
  ------------------
  580|      0|        pytime_overflow();
  581|      0|        return -1;
  582|      0|    }
  583|  35.3k|    return 0;
  584|  35.3k|}
pytime.c:py_get_monotonic_clock:
 1192|  35.3k|{
 1193|  35.3k|    assert(info == NULL || raise_exc);
  ------------------
  |  Branch (1193:5): [True: 35.3k, False: 0]
  |  Branch (1193:5): [True: 0, False: 0]
  ------------------
 1194|  35.3k|    if (raise_exc) {
  ------------------
  |  Branch (1194:9): [True: 0, False: 35.3k]
  ------------------
 1195|       |        // raise_exc requires to hold a thread state
 1196|      0|        _Py_AssertHoldsTstate();
  ------------------
  |  |  306|      0|#define _Py_AssertHoldsTstate() _Py_AssertHoldsTstateFunc(__func__)
  ------------------
 1197|      0|    }
 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|  35.3k|    const clockid_t clk_id = CLOCK_MONOTONIC;
 1244|  35.3k|    const char *implementation = "clock_gettime(CLOCK_MONOTONIC)";
 1245|  35.3k|#endif
 1246|       |
 1247|  35.3k|    struct timespec ts;
 1248|  35.3k|    if (clock_gettime(clk_id, &ts) != 0) {
  ------------------
  |  Branch (1248:9): [True: 0, False: 35.3k]
  ------------------
 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|  35.3k|    if (pytime_fromtimespec(tp, &ts, raise_exc) < 0) {
  ------------------
  |  Branch (1256:9): [True: 0, False: 35.3k]
  ------------------
 1257|      0|        return -1;
 1258|      0|    }
 1259|       |
 1260|  35.3k|    if (info) {
  ------------------
  |  Branch (1260:9): [True: 0, False: 35.3k]
  ------------------
 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|  35.3k|#endif
 1272|  35.3k|    return 0;
 1273|  35.3k|}

_PySlotIterator_InitLegacy:
   61|    188|{
   62|    188|    init_with_kind(it, slots, kind, kind);
   63|    188|}
_PySlotIterator_Rewind:
   67|    118|{
   68|    118|    MSG("");
   69|    118|    MSG("rewind (%s slot iterator)", kind_name(it->kind));
   70|    118|    assert (it->is_at_end);
  ------------------
  |  Branch (70:5): [True: 118, False: 0]
  ------------------
   71|    118|    assert (it->recursion_level == 0);
  ------------------
  |  Branch (71:5): [True: 118, False: 0]
  ------------------
   72|    118|    assert (it->state == it->states);
  ------------------
  |  Branch (72:5): [True: 118, False: 0]
  ------------------
   73|    118|    it->is_at_end = false;
   74|    118|    it->state->any_slot = slots;
   75|       |    it->is_first_run = false;
   76|    118|}
_PySlotIterator_SawSlot:
   92|  1.18k|{
   93|  1.18k|    assert (id > 0);
  ------------------
  |  Branch (93:5): [True: 1.18k, False: 0]
  ------------------
   94|  1.18k|    assert (id < _Py_slot_COUNT);
  ------------------
  |  Branch (94:5): [True: 1.18k, False: 0]
  ------------------
   95|  1.18k|    return it->seen[seen_index(id)] & seen_mask(id);
   96|  1.18k|}
_PySlotIterator_Next:
  116|  2.43k|{
  117|  2.43k|    MSG("next");
  118|  2.43k|    assert(it);
  ------------------
  |  Branch (118:5): [True: 2.43k, False: 0]
  ------------------
  119|  2.43k|    assert(!it->is_at_end);
  ------------------
  |  Branch (119:5): [True: 2.43k, False: 0]
  ------------------
  120|  2.43k|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (120:5): [True: 2.43k, False: 0]
  ------------------
  121|       |
  122|  2.43k|    it->current.sl_id = -1;
  123|       |
  124|  2.74k|    while (true) {
  ------------------
  |  Branch (124:12): [True: 2.74k, Folded]
  ------------------
  125|  2.74k|        if (it->state->slot == NULL) {
  ------------------
  |  Branch (125:13): [True: 306, False: 2.43k]
  ------------------
  126|    306|            if (it->recursion_level == 0) {
  ------------------
  |  Branch (126:17): [True: 306, False: 0]
  ------------------
  127|    306|                MSG("end (initial nesting level done)");
  128|    306|                it->is_at_end = true;
  129|    306|                return 0;
  130|    306|            }
  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|    306|        }
  137|       |
  138|  2.43k|        switch (it->state->slot_struct_kind) {
  139|      0|            case _PySlot_KIND_SLOT: {
  ------------------
  |  Branch (139:13): [True: 0, False: 2.43k]
  ------------------
  140|      0|                MSG("copying PySlot structure");
  141|      0|                it->current = *it->state->slot;
  142|      0|            } break;
  143|  2.09k|            case _PySlot_KIND_TYPE: {
  ------------------
  |  Branch (143:13): [True: 2.09k, False: 338]
  ------------------
  144|  2.09k|                MSG("converting PyType_Slot structure");
  145|  2.09k|                memset(&it->current, 0, sizeof(it->current));
  146|  2.09k|                it->current.sl_id = (uint16_t)it->state->tp_slot->slot;
  147|  2.09k|                it->current.sl_flags = PySlot_INTPTR;
  ------------------
  |  |   23|  2.09k|#define PySlot_INTPTR 0x0004
  ------------------
  148|  2.09k|                it->current.sl_ptr = (void*)it->state->tp_slot->pfunc;
  149|  2.09k|            } break;
  150|    338|            case _PySlot_KIND_MOD: {
  ------------------
  |  Branch (150:13): [True: 338, False: 2.09k]
  ------------------
  151|    338|                MSG("converting PyModuleDef_Slot structure");
  152|    338|                memset(&it->current, 0, sizeof(it->current));
  153|    338|                it->current.sl_id = (uint16_t)it->state->mod_slot->slot;
  154|    338|                it->current.sl_flags = PySlot_INTPTR;
  ------------------
  |  |   23|    338|#define PySlot_INTPTR 0x0004
  ------------------
  155|    338|                it->current.sl_ptr = (void*)it->state->mod_slot->value;
  156|    338|            } break;
  157|      0|            default: {
  ------------------
  |  Branch (157:13): [True: 0, False: 2.43k]
  ------------------
  158|      0|                Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  159|      0|            } break;
  160|  2.43k|        }
  161|       |
  162|       |        /* shorter local names */
  163|  2.43k|        PySlot *const result = &it->current;
  164|  2.43k|        uint16_t flags = result->sl_flags;
  165|       |
  166|  2.43k|        MSG("slot %d, flags 0x%x, from %p",
  167|  2.43k|            (int)result->sl_id, (unsigned)flags, it->state->slot);
  168|       |
  169|  2.43k|        uint16_t orig_id = result->sl_id;
  170|  2.43k|        switch (it->kind) {
  171|  2.09k|            case _PySlot_KIND_TYPE:
  ------------------
  |  Branch (171:13): [True: 2.09k, False: 338]
  ------------------
  172|  2.09k|                result->sl_id = _PySlot_resolve_type_slot(result->sl_id);
  173|  2.09k|                break;
  174|    338|            case _PySlot_KIND_MOD:
  ------------------
  |  Branch (174:13): [True: 338, False: 2.09k]
  ------------------
  175|    338|                result->sl_id = _PySlot_resolve_mod_slot(result->sl_id);
  176|    338|                break;
  177|      0|            default:
  ------------------
  |  Branch (177:13): [True: 0, False: 2.43k]
  ------------------
  178|      0|                Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  179|  2.43k|        }
  180|  2.43k|        MSG("resolved to slot %d (%s)",
  181|  2.43k|            (int)result->sl_id, _PySlot_GetName(result->sl_id));
  182|       |
  183|  2.43k|        if (result->sl_id == Py_slot_invalid) {
  ------------------
  |  |   25|  2.43k|#define Py_slot_invalid 0xffff
  ------------------
  |  Branch (183:13): [True: 0, False: 2.43k]
  ------------------
  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|  2.43k|        if (result->sl_id == Py_slot_end) {
  ------------------
  |  |   12|  2.43k|#define Py_slot_end 0
  ------------------
  |  Branch (192:13): [True: 306, False: 2.12k]
  ------------------
  193|    306|            MSG("sentinel slot, flags %x", (unsigned)flags);
  194|    306|            if (flags & PySlot_OPTIONAL) {
  ------------------
  |  |   21|    306|#define PySlot_OPTIONAL 0x0001
  ------------------
  |  Branch (194:17): [True: 0, False: 306]
  ------------------
  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|    306|            it->state->slot = NULL;
  202|    306|            continue;
  203|    306|        }
  204|       |
  205|  2.12k|        if (result->sl_id == Py_slot_subslots
  ------------------
  |  |  100|  4.25k|#define Py_slot_subslots 92
  ------------------
  |  Branch (205:13): [True: 0, False: 2.12k]
  ------------------
  206|  2.12k|            || result->sl_id == Py_tp_slots
  ------------------
  |  |  101|  4.25k|#define Py_tp_slots 93
  ------------------
  |  Branch (206:16): [True: 0, False: 2.12k]
  ------------------
  207|  2.12k|            || result->sl_id == Py_mod_slots
  ------------------
  |  |  102|  2.12k|#define Py_mod_slots 94
  ------------------
  |  Branch (207:16): [True: 0, False: 2.12k]
  ------------------
  208|  2.12k|        ) {
  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|  2.12k|        if (flags & PySlot_INTPTR) {
  ------------------
  |  |   23|  2.12k|#define PySlot_INTPTR 0x0004
  ------------------
  |  Branch (245:13): [True: 2.12k, False: 0]
  ------------------
  246|  2.12k|            MSG("casting from intptr");
  247|       |            /* this should compile to nothing on common architectures */
  248|  2.12k|            switch (_PySlot_get_dtype(result->sl_id)) {
  ------------------
  |  Branch (248:21): [True: 2.12k, False: 0]
  ------------------
  249|      0|                case _PySlot_DTYPE_SIZE: {
  ------------------
  |  Branch (249:17): [True: 0, False: 2.12k]
  ------------------
  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: 2.12k]
  ------------------
  253|      0|                    result->sl_int64 = (int64_t)(intptr_t)result->sl_ptr;
  254|      0|                } break;
  255|    140|                case _PySlot_DTYPE_UINT64: {
  ------------------
  |  Branch (255:17): [True: 140, False: 1.98k]
  ------------------
  256|    140|                    result->sl_uint64 = (uint64_t)(intptr_t)result->sl_ptr;
  257|    140|                } break;
  258|    648|                case _PySlot_DTYPE_PTR:
  ------------------
  |  Branch (258:17): [True: 648, False: 1.48k]
  ------------------
  259|  1.98k|                case _PySlot_DTYPE_FUNC:
  ------------------
  |  Branch (259:17): [True: 1.34k, False: 788]
  ------------------
  260|  1.98k|                case _PySlot_DTYPE_VOID:
  ------------------
  |  Branch (260:17): [True: 0, False: 2.12k]
  ------------------
  261|  1.98k|                    break;
  262|  2.12k|            }
  263|  2.12k|        }
  264|       |
  265|  2.12k|        advance(it);
  266|  2.12k|        switch (_PySlot_get_dtype(result->sl_id)) {
  ------------------
  |  Branch (266:17): [True: 2.12k, False: 0]
  ------------------
  267|      0|            case _PySlot_DTYPE_VOID:
  ------------------
  |  Branch (267:13): [True: 0, False: 2.12k]
  ------------------
  268|    648|            case _PySlot_DTYPE_PTR:
  ------------------
  |  Branch (268:13): [True: 648, False: 1.48k]
  ------------------
  269|    648|                MSG("result: %d (%s): %p",
  270|    648|                    (int)result->sl_id, _PySlot_GetName(result->sl_id),
  271|    648|                    (void*)result->sl_ptr);
  272|    648|                break;
  273|  1.34k|            case _PySlot_DTYPE_FUNC:
  ------------------
  |  Branch (273:13): [True: 1.34k, False: 788]
  ------------------
  274|  1.34k|                MSG("result: %d (%s): %p",
  275|  1.34k|                    (int)result->sl_id, _PySlot_GetName(result->sl_id),
  276|  1.34k|                    (void*)result->sl_func);
  277|  1.34k|                break;
  278|      0|            case _PySlot_DTYPE_SIZE:
  ------------------
  |  Branch (278:13): [True: 0, False: 2.12k]
  ------------------
  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: 2.12k]
  ------------------
  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|    140|            case _PySlot_DTYPE_UINT64:
  ------------------
  |  Branch (288:13): [True: 140, False: 1.98k]
  ------------------
  289|    140|                MSG("result: %d (%s): %lu (0x%lx)",
  290|    140|                    (int)result->sl_id, _PySlot_GetName(result->sl_id),
  291|    140|                    (unsigned long)result->sl_int64,
  292|    140|                    (unsigned long)result->sl_int64);
  293|    140|                break;
  294|  2.12k|        }
  295|  2.12k|        assert (result->sl_id > 0);
  ------------------
  |  Branch (295:9): [True: 2.12k, False: 0]
  ------------------
  296|  2.12k|        assert (result->sl_id <= _Py_slot_COUNT);
  ------------------
  |  Branch (296:9): [True: 2.12k, False: 0]
  ------------------
  297|  2.12k|        if (it->is_first_run && (handle_first_run(it) < 0)) {
  ------------------
  |  Branch (297:13): [True: 1.19k, False: 930]
  |  Branch (297:33): [True: 0, False: 1.19k]
  ------------------
  298|      0|            goto error;
  299|      0|        }
  300|  2.12k|        return result->sl_id != Py_slot_end;
  ------------------
  |  |   12|  2.12k|#define Py_slot_end 0
  ------------------
  301|  2.12k|    }
  302|  2.43k|    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|  2.43k|}
slots.c:init_with_kind:
   36|    188|{
   37|    188|    MSG("");
   38|    188|    MSG("init (%s slot iterator)", kind_name(result_kind));
   39|    188|    it->state = it->states;
   40|    188|    it->state->any_slot = slots;
   41|    188|    it->state->slot_struct_kind = slot_struct_kind;
   42|    188|    it->kind = result_kind;
   43|    188|    it->name = NULL;
   44|    188|    it->recursion_level = 0;
   45|    188|    it->is_at_end = false;
   46|       |    it->is_first_run = true;
   47|    188|    it->current.sl_id = 0;
   48|    188|    memset(it->seen, 0, sizeof(it->seen));
   49|    188|}
slots.c:seen_index:
   80|  2.38k|{
   81|  2.38k|    return id / _PySlot_SEEN_ENTRY_BITS;
  ------------------
  |  |   53|  2.38k|#define _PySlot_SEEN_ENTRY_BITS (8 * sizeof(unsigned int))
  ------------------
   82|  2.38k|}
slots.c:seen_mask:
   86|  2.38k|{
   87|  2.38k|    return ((unsigned int)1) << (id % _PySlot_SEEN_ENTRY_BITS);
  ------------------
  |  |   53|  2.38k|#define _PySlot_SEEN_ENTRY_BITS (8 * sizeof(unsigned int))
  ------------------
   88|  2.38k|}
slots.c:advance:
  101|  2.12k|{
  102|  2.12k|    MSG("advance (at level %d)", (int)it->recursion_level);
  103|  2.12k|    switch (it->state->slot_struct_kind) {
  104|      0|        case _PySlot_KIND_SLOT: it->state->slot++; break;
  ------------------
  |  Branch (104:9): [True: 0, False: 2.12k]
  ------------------
  105|  1.86k|        case _PySlot_KIND_TYPE: it->state->tp_slot++; break;
  ------------------
  |  Branch (105:9): [True: 1.86k, False: 268]
  ------------------
  106|    268|        case _PySlot_KIND_MOD: it->state->mod_slot++; break;
  ------------------
  |  Branch (106:9): [True: 268, False: 1.86k]
  ------------------
  107|      0|        default:
  ------------------
  |  Branch (107:9): [True: 0, False: 2.12k]
  ------------------
  108|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  109|  2.12k|    }
  110|  2.12k|}
slots.c:handle_first_run:
  312|  1.19k|{
  313|  1.19k|    int id = it->current.sl_id;
  314|       |
  315|  1.19k|    if (_PySlot_get_must_be_static(id)) {
  ------------------
  |  Branch (315:9): [True: 195, False: 1.00k]
  ------------------
  316|    195|        if (!(it->current.sl_flags & PySlot_STATIC)
  ------------------
  |  |   22|    195|#define PySlot_STATIC 0x0002
  ------------------
  |  Branch (316:13): [True: 195, False: 0]
  ------------------
  317|    195|            && (it->state->slot_struct_kind == _PySlot_KIND_SLOT))
  ------------------
  |  Branch (317:16): [True: 0, False: 195]
  ------------------
  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|    195|    }
  326|       |
  327|  1.19k|    _PySlot_PROBLEM_HANDLING null_handling = _PySlot_get_null_handling(id);
  328|  1.19k|    if (null_handling != _PySlot_PROBLEM_ALLOW) {
  ------------------
  |  Branch (328:9): [True: 960, False: 238]
  ------------------
  329|    960|        bool is_null = false;
  330|    960|        switch (_PySlot_get_dtype(id)) {
  331|    257|            case _PySlot_DTYPE_PTR: {
  ------------------
  |  Branch (331:13): [True: 257, False: 703]
  ------------------
  332|    257|                is_null = it->current.sl_ptr == NULL;
  333|    257|            } break;
  334|    703|            case _PySlot_DTYPE_FUNC: {
  ------------------
  |  Branch (334:13): [True: 703, False: 257]
  ------------------
  335|    703|                is_null = it->current.sl_func == NULL;
  336|    703|            } break;
  337|      0|            default: {
  ------------------
  |  Branch (337:13): [True: 0, False: 960]
  ------------------
  338|       |                //Py_UNREACHABLE();
  339|      0|            } break;
  340|    960|        }
  341|    960|        if (is_null) {
  ------------------
  |  Branch (341:13): [True: 0, False: 960]
  ------------------
  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|    960|    }
  366|       |
  367|  1.19k|    _PySlot_PROBLEM_HANDLING duplicate_handling = _PySlot_get_duplicate_handling(id);
  368|  1.19k|    if (duplicate_handling != _PySlot_PROBLEM_ALLOW) {
  ------------------
  |  Branch (368:9): [True: 1.07k, False: 128]
  ------------------
  369|  1.07k|        if (_PySlotIterator_SawSlot(it, id)) {
  ------------------
  |  Branch (369:13): [True: 0, False: 1.07k]
  ------------------
  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|  1.07k|    }
  402|  1.19k|    it->seen[seen_index(id)] |= seen_mask(id);
  403|  1.19k|    return 0;
  404|  1.19k|}

_PyCode_Quicken:
   64|  2.73k|{
   65|  2.73k|    #if ENABLE_SPECIALIZATION
   66|  2.73k|    _Py_BackoffCounter jump_counter, adaptive_counter, resume_counter;
   67|  2.73k|    if (enable_counters) {
  ------------------
  |  Branch (67:9): [True: 2.73k, False: 0]
  ------------------
   68|  2.73k|        PyThreadState *tstate = _PyThreadState_GET();
   69|  2.73k|        PyInterpreterState *interp = tstate->interp;
   70|  2.73k|        jump_counter = initial_jump_backoff_counter(&interp->opt_config);
   71|  2.73k|        adaptive_counter = adaptive_counter_warmup();
   72|  2.73k|        resume_counter = initial_resume_backoff_counter(&interp->opt_config);
   73|  2.73k|    }
   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|  2.73k|    int opcode = 0;
   80|  2.73k|    int oparg = 0;
   81|       |    /* The last code unit cannot have a cache, so we don't need to check it */
   82|   138k|    for (Py_ssize_t i = 0; i < size-1; i++) {
  ------------------
  |  Branch (82:28): [True: 136k, False: 2.73k]
  ------------------
   83|   136k|        opcode = instructions[i].op.code;
   84|   136k|        int caches = _PyOpcode_Caches[opcode];
   85|   136k|        oparg = (oparg << 8) | instructions[i].op.arg;
   86|   136k|        if (opcode == GET_ITER) {
  ------------------
  |  |   80|   136k|#define GET_ITER                                67
  ------------------
  |  Branch (86:13): [True: 575, False: 135k]
  ------------------
   87|    575|            fixup_getiter(&instructions[i], flags);
   88|    575|        }
   89|   136k|        if (caches) {
  ------------------
  |  Branch (89:13): [True: 43.9k, False: 92.0k]
  ------------------
   90|       |            // The initial value depends on the opcode
   91|  43.9k|            switch (opcode) {
   92|  1.21k|                case JUMP_BACKWARD:
  ------------------
  |  |   84|  1.21k|#define JUMP_BACKWARD                           71
  ------------------
  |  Branch (92:17): [True: 1.21k, False: 42.7k]
  ------------------
   93|  1.21k|                    instructions[i + 1].counter = jump_counter;
   94|  1.21k|                    break;
   95|  2.94k|                case RESUME:
  ------------------
  |  |  130|  2.94k|#define RESUME                                 128
  ------------------
  |  Branch (95:17): [True: 2.94k, False: 41.0k]
  ------------------
   96|  2.94k|                    instructions[i + 1].counter = resume_counter;
   97|  2.94k|                    break;
   98|  3.57k|                case POP_JUMP_IF_FALSE:
  ------------------
  |  |  109|  3.57k|#define POP_JUMP_IF_FALSE                       96
  ------------------
  |  Branch (98:17): [True: 3.57k, False: 40.4k]
  ------------------
   99|  4.82k|                case POP_JUMP_IF_TRUE:
  ------------------
  |  |  112|  4.82k|#define POP_JUMP_IF_TRUE                        99
  ------------------
  |  Branch (99:17): [True: 1.25k, False: 42.7k]
  ------------------
  100|  5.08k|                case POP_JUMP_IF_NONE:
  ------------------
  |  |  110|  5.08k|#define POP_JUMP_IF_NONE                        97
  ------------------
  |  Branch (100:17): [True: 262, False: 43.7k]
  ------------------
  101|  5.48k|                case POP_JUMP_IF_NOT_NONE:
  ------------------
  |  |  111|  5.48k|#define POP_JUMP_IF_NOT_NONE                    98
  ------------------
  |  Branch (101:17): [True: 395, False: 43.5k]
  ------------------
  102|  5.48k|                    instructions[i + 1].cache = 0x5555;  // Alternating 0, 1 bits
  103|  5.48k|                    break;
  104|  34.3k|                default:
  ------------------
  |  Branch (104:17): [True: 34.3k, False: 9.63k]
  ------------------
  105|  34.3k|                    instructions[i + 1].counter = adaptive_counter;
  106|  34.3k|                    break;
  107|  43.9k|            }
  108|  43.9k|            i += caches;
  109|  43.9k|        }
  110|   136k|        if (opcode != EXTENDED_ARG) {
  ------------------
  |  |   77|   136k|#define EXTENDED_ARG                            64
  ------------------
  |  Branch (110:13): [True: 133k, False: 2.91k]
  ------------------
  111|   133k|            oparg = 0;
  112|   133k|        }
  113|   136k|    }
  114|       |    #else
  115|       |    for (Py_ssize_t i = 0; i < size-1; i++) {
  116|       |        int opcode = instructions[i].op.code;
  117|       |        if (opcode == GET_ITER) {
  118|       |            fixup_getiter(&instructions[i], flags);
  119|       |        }
  120|       |        i += _PyOpcode_Caches[opcode];
  121|       |    }
  122|       |    #endif /* ENABLE_SPECIALIZATION */
  123|  2.73k|}
_Py_Specialize_LoadSuperAttr:
  469|     14|_Py_Specialize_LoadSuperAttr(_PyStackRef global_super_st, _PyStackRef cls_st, _Py_CODEUNIT *instr, int load_method) {
  470|     14|    PyObject *global_super = PyStackRef_AsPyObjectBorrow(global_super_st);
  471|     14|    PyObject *cls = PyStackRef_AsPyObjectBorrow(cls_st);
  472|       |
  473|     14|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (473:5): [True: 14, Folded]
  ------------------
  474|     14|    assert(_PyOpcode_Caches[LOAD_SUPER_ATTR] == INLINE_CACHE_ENTRIES_LOAD_SUPER_ATTR);
  ------------------
  |  Branch (474:5): [True: 14, False: 0]
  ------------------
  475|     14|    if (global_super != (PyObject *)&PySuper_Type) {
  ------------------
  |  Branch (475:9): [True: 0, False: 14]
  ------------------
  476|      0|        SPECIALIZATION_FAIL(LOAD_SUPER_ATTR, SPEC_FAIL_SUPER_SHADOWED);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  477|      0|        goto fail;
  478|      0|    }
  479|     14|    if (!PyType_Check(cls)) {
  ------------------
  |  |  766|     14|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (479:9): [True: 0, False: 14]
  ------------------
  480|      0|        SPECIALIZATION_FAIL(LOAD_SUPER_ATTR, SPEC_FAIL_SUPER_BAD_CLASS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  481|      0|        goto fail;
  482|      0|    }
  483|     14|    uint8_t load_code = load_method ? LOAD_SUPER_ATTR_METHOD : LOAD_SUPER_ATTR_ATTR;
  ------------------
  |  |  201|     10|#define LOAD_SUPER_ATTR_METHOD                 199
  ------------------
                  uint8_t load_code = load_method ? LOAD_SUPER_ATTR_METHOD : LOAD_SUPER_ATTR_ATTR;
  ------------------
  |  |  200|     18|#define LOAD_SUPER_ATTR_ATTR                   198
  ------------------
  |  Branch (483:25): [True: 10, False: 4]
  ------------------
  484|     14|    specialize(instr, load_code);
  485|     14|    return;
  486|      0|fail:
  487|      0|    unspecialize(instr);
  488|      0|}
_Py_Specialize_LoadAttr:
  999|  3.69k|{
 1000|  3.69k|    PyObject *owner = PyStackRef_AsPyObjectBorrow(owner_st);
 1001|       |
 1002|  3.69k|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (1002:5): [True: 3.69k, Folded]
  ------------------
 1003|  3.69k|    assert(_PyOpcode_Caches[LOAD_ATTR] == INLINE_CACHE_ENTRIES_LOAD_ATTR);
  ------------------
  |  Branch (1003:5): [True: 3.69k, False: 0]
  ------------------
 1004|  3.69k|    PyTypeObject *type = Py_TYPE(owner);
  ------------------
  |  |  213|  3.69k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.69k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1005|  3.69k|    bool fail;
 1006|  3.69k|    if (!_PyType_IsReady(type)) {
  ------------------
  |  Branch (1006:9): [True: 0, False: 3.69k]
  ------------------
 1007|       |        // We *might* not really need this check, but we inherited it from
 1008|       |        // PyObject_GenericGetAttr and friends... and this way we still do the
 1009|       |        // right thing if someone forgets to call PyType_Ready(type):
 1010|      0|        SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_OTHER);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1011|      0|        fail = true;
 1012|      0|    }
 1013|  3.69k|    else if (Py_TYPE(owner)->tp_getattro == PyModule_Type.tp_getattro) {
  ------------------
  |  |  213|  3.69k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.69k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1013:14): [True: 224, False: 3.46k]
  ------------------
 1014|    224|        fail = specialize_module_load_attr(owner, instr, name);
 1015|    224|    }
 1016|  3.46k|    else if (PyType_Check(owner)) {
  ------------------
  |  |  766|  3.46k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 397, False: 3.07k]
  |  |  ------------------
  ------------------
 1017|    397|        fail = specialize_class_load_attr(owner, instr, name);
 1018|    397|    }
 1019|  3.07k|    else {
 1020|  3.07k|        fail = specialize_instance_load_attr(owner, instr, name);
 1021|  3.07k|    }
 1022|       |
 1023|  3.69k|    if (fail) {
  ------------------
  |  Branch (1023:9): [True: 2.69k, False: 1.00k]
  ------------------
 1024|  2.69k|        unspecialize(instr);
 1025|  2.69k|    }
 1026|  3.69k|}
_Py_Specialize_StoreAttr:
 1030|    291|{
 1031|    291|    PyObject *owner = PyStackRef_AsPyObjectBorrow(owner_st);
 1032|       |
 1033|    291|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (1033:5): [True: 291, Folded]
  ------------------
 1034|    291|    assert(_PyOpcode_Caches[STORE_ATTR] == INLINE_CACHE_ENTRIES_STORE_ATTR);
  ------------------
  |  Branch (1034:5): [True: 291, False: 0]
  ------------------
 1035|    291|    PyObject *descr = NULL;
 1036|    291|    _PyAttrCache *cache = (_PyAttrCache *)(instr + 1);
 1037|    291|    PyTypeObject *type = Py_TYPE(owner);
  ------------------
  |  |  213|    291|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    291|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    291|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1038|    291|    if (!_PyType_IsReady(type)) {
  ------------------
  |  Branch (1038:9): [True: 0, False: 291]
  ------------------
 1039|       |        // We *might* not really need this check, but we inherited it from
 1040|       |        // PyObject_GenericSetAttr and friends... and this way we still do the
 1041|       |        // right thing if someone forgets to call PyType_Ready(type):
 1042|      0|        SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_OTHER);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1043|      0|        goto fail;
 1044|      0|    }
 1045|    291|    if (PyModule_CheckExact(owner)) {
  ------------------
  |  |   13|    291|#define PyModule_CheckExact(op) Py_IS_TYPE((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  215|    291|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    291|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    291|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 22, False: 269]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1046|     22|        SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_OVERRIDDEN);
  ------------------
  |  |   43|     22|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1047|     22|        goto fail;
 1048|     22|    }
 1049|    269|    unsigned int tp_version = 0;
 1050|    269|    DescriptorClassification kind = analyze_descriptor_store(type, name, &descr, &tp_version);
 1051|    269|    if (tp_version == 0) {
  ------------------
  |  Branch (1051:9): [True: 14, False: 255]
  ------------------
 1052|     14|        goto fail;
 1053|     14|    }
 1054|    269|    assert(descr != NULL || kind == ABSENT || kind == GETSET_OVERRIDDEN);
  ------------------
  |  Branch (1054:5): [True: 25, False: 230]
  |  Branch (1054:5): [True: 230, False: 0]
  |  Branch (1054:5): [True: 0, False: 0]
  ------------------
 1055|    255|    switch(kind) {
  ------------------
  |  Branch (1055:12): [True: 255, False: 0]
  ------------------
 1056|      7|        case OVERRIDING:
  ------------------
  |  Branch (1056:9): [True: 7, False: 248]
  ------------------
 1057|      7|            SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_ATTR_OVERRIDING_DESCRIPTOR);
  ------------------
  |  |   43|      7|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1058|      7|            goto fail;
 1059|      0|        case METHOD:
  ------------------
  |  Branch (1059:9): [True: 0, False: 255]
  ------------------
 1060|      0|            SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_ATTR_METHOD);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1061|      0|            goto fail;
 1062|      2|        case PROPERTY:
  ------------------
  |  Branch (1062:9): [True: 2, False: 253]
  ------------------
 1063|      2|            SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_ATTR_PROPERTY);
  ------------------
  |  |   43|      2|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1064|      2|            goto fail;
 1065|     15|        case OBJECT_SLOT:
  ------------------
  |  Branch (1065:9): [True: 15, False: 240]
  ------------------
 1066|     15|        {
 1067|     15|            PyMemberDescrObject *member = (PyMemberDescrObject *)descr;
 1068|     15|            struct PyMemberDef *dmem = member->d_member;
 1069|     15|            Py_ssize_t offset = dmem->offset;
 1070|     15|            if (!PyObject_TypeCheck(owner, member->d_common.d_type)) {
  ------------------
  |  |  378|     15|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1070:17): [True: 0, False: 15]
  ------------------
 1071|      0|                SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_EXPECTED_ERROR);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1072|      0|                goto fail;
 1073|      0|            }
 1074|     15|            if (dmem->flags & _Py_AFTER_ITEMS) {
  ------------------
  |  |   89|     15|#  define _Py_AFTER_ITEMS      (1 << 4) // For internal use.
  ------------------
  |  Branch (1074:17): [True: 0, False: 15]
  ------------------
 1075|      0|                SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_SLOT_AFTER_ITEMS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1076|      0|                goto fail;
 1077|      0|            }
 1078|     15|            if (dmem->flags & Py_READONLY) {
  ------------------
  |  |   83|     15|#define Py_READONLY            (1 << 0)
  ------------------
  |  Branch (1078:17): [True: 0, False: 15]
  ------------------
 1079|      0|                SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_ATTR_READ_ONLY);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1080|      0|                goto fail;
 1081|      0|            }
 1082|     15|            if (offset != (uint16_t)offset) {
  ------------------
  |  Branch (1082:17): [True: 0, False: 15]
  ------------------
 1083|      0|                SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_OUT_OF_RANGE);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1084|      0|                goto fail;
 1085|      0|            }
 1086|     15|            assert(dmem->type == Py_T_OBJECT_EX || dmem->type == _Py_T_OBJECT);
  ------------------
  |  Branch (1086:13): [True: 10, False: 5]
  |  Branch (1086:13): [True: 5, False: 0]
  ------------------
 1087|     15|            assert(offset > 0);
  ------------------
  |  Branch (1087:13): [True: 15, False: 0]
  ------------------
 1088|     15|            cache->index = (uint16_t)offset;
 1089|     15|            write_u32(cache->version, tp_version);
 1090|     15|            specialize(instr, STORE_ATTR_SLOT);
  ------------------
  |  |  208|     15|#define STORE_ATTR_SLOT                        206
  ------------------
 1091|     15|            goto success;
 1092|     15|        }
 1093|      0|        case DUNDER_CLASS:
  ------------------
  |  Branch (1093:9): [True: 0, False: 255]
  ------------------
 1094|      0|        case OTHER_SLOT:
  ------------------
  |  Branch (1094:9): [True: 0, False: 255]
  ------------------
 1095|      0|            SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_ATTR_NON_OBJECT_SLOT);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1096|      0|            goto fail;
 1097|      0|        case MUTABLE:
  ------------------
  |  Branch (1097:9): [True: 0, False: 255]
  ------------------
 1098|      0|            SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_ATTR_MUTABLE_CLASS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1099|      0|            goto fail;
 1100|      0|        case GETATTRIBUTE_IS_PYTHON_FUNCTION:
  ------------------
  |  Branch (1100:9): [True: 0, False: 255]
  ------------------
 1101|      0|        case GETSET_OVERRIDDEN:
  ------------------
  |  Branch (1101:9): [True: 0, False: 255]
  ------------------
 1102|      0|            SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_OVERRIDDEN);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1103|      0|            goto fail;
 1104|      0|        case BUILTIN_CLASSMETHOD:
  ------------------
  |  Branch (1104:9): [True: 0, False: 255]
  ------------------
 1105|      0|            SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_ATTR_BUILTIN_CLASS_METHOD_OBJ);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1106|      0|            goto fail;
 1107|      0|        case PYTHON_CLASSMETHOD:
  ------------------
  |  Branch (1107:9): [True: 0, False: 255]
  ------------------
 1108|      0|            SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_ATTR_CLASS_METHOD_OBJ);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1109|      0|            goto fail;
 1110|      0|        case NON_OVERRIDING:
  ------------------
  |  Branch (1110:9): [True: 0, False: 255]
  ------------------
 1111|      0|            SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_ATTR_CLASS_ATTR_DESCRIPTOR);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1112|      0|            goto fail;
 1113|      1|        case NON_DESCRIPTOR:
  ------------------
  |  Branch (1113:9): [True: 1, False: 254]
  ------------------
 1114|      1|            SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_ATTR_CLASS_ATTR_SIMPLE);
  ------------------
  |  |   43|      1|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1115|      1|            goto fail;
 1116|    230|        case ABSENT:
  ------------------
  |  Branch (1116:9): [True: 230, False: 25]
  ------------------
 1117|    230|            if (specialize_dict_access(owner, instr, type, kind, name, tp_version,
  ------------------
  |  Branch (1117:17): [True: 178, False: 52]
  ------------------
 1118|    230|                                       STORE_ATTR, STORE_ATTR_INSTANCE_VALUE,
  ------------------
  |  |  119|    230|#define STORE_ATTR                             106
  ------------------
                                                     STORE_ATTR, STORE_ATTR_INSTANCE_VALUE,
  ------------------
  |  |  207|    230|#define STORE_ATTR_INSTANCE_VALUE              205
  ------------------
 1119|    230|                                       STORE_ATTR_WITH_HINT)) {
  ------------------
  |  |  209|    230|#define STORE_ATTR_WITH_HINT                   207
  ------------------
 1120|    178|                goto success;
 1121|    178|            }
 1122|    255|    }
 1123|     98|fail:
 1124|     98|    Py_XDECREF(descr);
  ------------------
  |  |  524|     98|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     98|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     98|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1125|     98|    unspecialize(instr);
 1126|     98|    return;
 1127|    193|success:
 1128|    193|    Py_XDECREF(descr);
  ------------------
  |  |  524|    193|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    193|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    193|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1129|    193|    return;
 1130|    255|}
_Py_Specialize_LoadGlobal:
 1459|  1.60k|{
 1460|  1.60k|    Py_BEGIN_CRITICAL_SECTION2(globals, builtins);
  ------------------
  |  |   57|  1.60k|    {
  ------------------
 1461|  1.60k|    specialize_load_global_lock_held(globals, builtins, instr, name);
 1462|  1.60k|    Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|  1.60k|    }
  ------------------
 1463|  1.60k|}
_Py_Specialize_StoreSubscr:
 1577|  2.19k|{
 1578|  2.19k|    PyObject *container = PyStackRef_AsPyObjectBorrow(container_st);
 1579|  2.19k|    PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
 1580|       |
 1581|  2.19k|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (1581:5): [True: 2.19k, Folded]
  ------------------
 1582|  2.19k|    PyTypeObject *container_type = Py_TYPE(container);
  ------------------
  |  |  213|  2.19k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1583|  2.19k|    if (container_type == &PyList_Type) {
  ------------------
  |  Branch (1583:9): [True: 568, False: 1.62k]
  ------------------
 1584|    568|        if (PyLong_CheckExact(sub)) {
  ------------------
  |  |   14|    568|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|    568|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    568|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    568|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 219, False: 349]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1585|    219|            if (_PyLong_IsNonNegativeCompact((PyLongObject *)sub)
  ------------------
  |  Branch (1585:17): [True: 17, False: 202]
  ------------------
 1586|     17|                && ((PyLongObject *)sub)->long_value.ob_digit[0] < (size_t)PyList_GET_SIZE(container))
  ------------------
  |  |   38|     17|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     17|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     17|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1586:20): [True: 17, False: 0]
  ------------------
 1587|     17|            {
 1588|     17|                specialize(instr, STORE_SUBSCR_LIST_INT);
  ------------------
  |  |  211|     17|#define STORE_SUBSCR_LIST_INT                  209
  ------------------
 1589|     17|                return;
 1590|     17|            }
 1591|    202|            else {
 1592|    202|                SPECIALIZATION_FAIL(STORE_SUBSCR, SPEC_FAIL_OUT_OF_RANGE);
  ------------------
  |  |   43|    202|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1593|    202|                unspecialize(instr);
 1594|    202|                return;
 1595|    202|            }
 1596|    219|        }
 1597|    349|        else if (PySlice_Check(sub)) {
  ------------------
  |  |   22|    349|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|    349|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    349|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    349|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 349, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1598|    349|            SPECIALIZATION_FAIL(STORE_SUBSCR, SPEC_FAIL_SUBSCR_LIST_SLICE);
  ------------------
  |  |   43|    349|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1599|    349|            unspecialize(instr);
 1600|    349|            return;
 1601|    349|        }
 1602|      0|        else {
 1603|      0|            SPECIALIZATION_FAIL(STORE_SUBSCR, SPEC_FAIL_OTHER);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1604|      0|            unspecialize(instr);
 1605|      0|            return;
 1606|      0|        }
 1607|    568|    }
 1608|  1.62k|    if (container_type->tp_as_mapping != NULL &&
  ------------------
  |  Branch (1608:9): [True: 1.62k, False: 0]
  ------------------
 1609|  1.62k|        container_type->tp_as_mapping->mp_ass_subscript == _PyDict_StoreSubscript)
  ------------------
  |  Branch (1609:9): [True: 64, False: 1.55k]
  ------------------
 1610|     64|    {
 1611|     64|        specialize(instr, STORE_SUBSCR_DICT);
  ------------------
  |  |  210|     64|#define STORE_SUBSCR_DICT                      208
  ------------------
 1612|     64|        return;
 1613|     64|    }
 1614|  1.55k|    SPECIALIZATION_FAIL(STORE_SUBSCR, store_subscr_fail_kind(container, sub));
  ------------------
  |  |   43|  1.55k|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1615|  1.55k|    unspecialize(instr);
 1616|  1.55k|}
_Py_Specialize_Call:
 1868|  39.1k|{
 1869|  39.1k|    PyObject *callable = PyStackRef_AsPyObjectBorrow(callable_st);
 1870|       |
 1871|  39.1k|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (1871:5): [True: 39.1k, Folded]
  ------------------
 1872|  39.1k|    assert(_PyOpcode_Caches[CALL] == INLINE_CACHE_ENTRIES_CALL);
  ------------------
  |  Branch (1872:5): [True: 39.1k, False: 0]
  ------------------
 1873|  39.1k|    assert(_Py_OPCODE(*instr) != INSTRUMENTED_CALL);
  ------------------
  |  Branch (1873:5): [True: 39.1k, False: 0]
  ------------------
 1874|  39.1k|    int fail;
 1875|  39.1k|    if (PyCFunction_CheckExact(callable)) {
  ------------------
  |  |   16|  39.1k|#define PyCFunction_CheckExact(op) Py_IS_TYPE((op), &PyCFunction_Type)
  |  |  ------------------
  |  |  |  |  215|  39.1k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  39.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  39.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 21.3k, False: 17.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1876|  21.3k|        fail = specialize_c_call(callable, instr, nargs);
 1877|  21.3k|    }
 1878|  17.7k|    else if (PyFunction_Check(callable)) {
  ------------------
  |  |   68|  17.7k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  ------------------
  |  |  |  |  215|  17.7k|#  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: 11.7k, False: 6.05k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1879|  11.7k|        fail = specialize_py_call((PyFunctionObject *)callable, instr, nargs, false);
 1880|  11.7k|    }
 1881|  6.05k|    else if (PyType_Check(callable)) {
  ------------------
  |  |  766|  6.05k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.05k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 1.98k, False: 4.07k]
  |  |  ------------------
  ------------------
 1882|  1.98k|        fail = specialize_class_call(callable, instr, nargs);
 1883|  1.98k|    }
 1884|  4.07k|    else if (Py_IS_TYPE(callable, &PyMethodDescr_Type)) {
  ------------------
  |  |  215|  4.07k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  4.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 233, False: 3.84k]
  |  |  ------------------
  ------------------
 1885|    233|        PyObject *self_or_null = PyStackRef_AsPyObjectBorrow(self_or_null_st);
 1886|    233|        fail = specialize_method_descriptor((PyMethodDescrObject *)callable,
 1887|    233|                                            self_or_null, instr, nargs);
 1888|    233|    }
 1889|  3.84k|    else if (PyMethod_Check(callable)) {
  ------------------
  |  |   22|  3.84k|#define PyMethod_Check(op) Py_IS_TYPE((op), &PyMethod_Type)
  |  |  ------------------
  |  |  |  |  215|  3.84k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.84k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.84k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 3.82k, False: 18]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1890|  3.82k|        PyObject *func = ((PyMethodObject *)callable)->im_func;
 1891|  3.82k|        if (PyFunction_Check(func)) {
  ------------------
  |  |   68|  3.82k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  ------------------
  |  |  |  |  215|  3.82k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 3.82k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1892|  3.82k|            fail = specialize_py_call((PyFunctionObject *)func, instr, nargs, true);
 1893|  3.82k|        }
 1894|      0|        else {
 1895|      0|            SPECIALIZATION_FAIL(CALL, SPEC_FAIL_CALL_BOUND_METHOD);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1896|      0|            fail = -1;
 1897|      0|        }
 1898|  3.82k|    }
 1899|     18|    else {
 1900|     18|        specialize(instr, CALL_NON_PY_GENERAL);
  ------------------
  |  |  165|     18|#define CALL_NON_PY_GENERAL                    163
  ------------------
 1901|     18|        fail = 0;
 1902|     18|    }
 1903|  39.1k|    if (fail) {
  ------------------
  |  Branch (1903:9): [True: 0, False: 39.1k]
  ------------------
 1904|      0|        unspecialize(instr);
 1905|      0|    }
 1906|  39.1k|}
_Py_Specialize_CallKw:
 1910|     25|{
 1911|     25|    PyObject *callable = PyStackRef_AsPyObjectBorrow(callable_st);
 1912|       |
 1913|     25|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (1913:5): [True: 25, Folded]
  ------------------
 1914|     25|    assert(_PyOpcode_Caches[CALL_KW] == INLINE_CACHE_ENTRIES_CALL_KW);
  ------------------
  |  Branch (1914:5): [True: 25, False: 0]
  ------------------
 1915|     25|    assert(_Py_OPCODE(*instr) != INSTRUMENTED_CALL_KW);
  ------------------
  |  Branch (1915:5): [True: 25, False: 0]
  ------------------
 1916|     25|    int fail;
 1917|     25|    if (PyFunction_Check(callable)) {
  ------------------
  |  |   68|     25|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  ------------------
  |  |  |  |  215|     25|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     25|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 9, False: 16]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1918|      9|        fail = specialize_py_call_kw((PyFunctionObject *)callable, instr, nargs, false);
 1919|      9|    }
 1920|     16|    else if (PyMethod_Check(callable)) {
  ------------------
  |  |   22|     16|#define PyMethod_Check(op) Py_IS_TYPE((op), &PyMethod_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: 0, False: 16]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1921|      0|        PyObject *func = ((PyMethodObject *)callable)->im_func;
 1922|      0|        if (PyFunction_Check(func)) {
  ------------------
  |  |   68|      0|#define PyFunction_Check(op) Py_IS_TYPE((op), &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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1923|      0|            fail = specialize_py_call_kw((PyFunctionObject *)func, instr, nargs, true);
 1924|      0|        }
 1925|      0|        else {
 1926|      0|            SPECIALIZATION_FAIL(CALL_KW, SPEC_FAIL_CALL_BOUND_METHOD);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1927|      0|            fail = -1;
 1928|      0|        }
 1929|      0|    }
 1930|     16|    else {
 1931|     16|        specialize(instr, CALL_KW_NON_PY);
  ------------------
  |  |  157|     16|#define CALL_KW_NON_PY                         155
  ------------------
 1932|     16|        fail = 0;
 1933|     16|    }
 1934|     25|    if (fail) {
  ------------------
  |  Branch (1934:9): [True: 0, False: 25]
  ------------------
 1935|      0|        unspecialize(instr);
 1936|      0|    }
 1937|     25|}
_Py_Specialize_BinaryOp:
 2336|   133k|{
 2337|   133k|    PyObject *lhs = PyStackRef_AsPyObjectBorrow(lhs_st);
 2338|   133k|    PyObject *rhs = PyStackRef_AsPyObjectBorrow(rhs_st);
 2339|   133k|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (2339:5): [True: 133k, Folded]
  ------------------
 2340|   133k|    assert(_PyOpcode_Caches[BINARY_OP] == INLINE_CACHE_ENTRIES_BINARY_OP);
  ------------------
  |  Branch (2340:5): [True: 133k, False: 0]
  ------------------
 2341|       |
 2342|   133k|    _PyBinaryOpCache *cache = (_PyBinaryOpCache *)(instr + 1);
 2343|   133k|    if (instr->op.code == BINARY_OP_EXTEND) {
  ------------------
  |  |  134|   133k|#define BINARY_OP_EXTEND                       132
  ------------------
  |  Branch (2343:9): [True: 0, False: 133k]
  ------------------
 2344|      0|        write_ptr(cache->external_cache, NULL);
 2345|      0|    }
 2346|       |
 2347|   133k|    switch (oparg) {
  ------------------
  |  Branch (2347:13): [True: 133k, False: 345]
  ------------------
 2348|  15.8k|        case NB_ADD:
  ------------------
  |  |   10|  15.8k|#define NB_ADD                                   0
  ------------------
  |  Branch (2348:9): [True: 15.8k, False: 117k]
  ------------------
 2349|  15.8k|        case NB_INPLACE_ADD:
  ------------------
  |  |   23|  15.8k|#define NB_INPLACE_ADD                          13
  ------------------
  |  Branch (2349:9): [True: 62, False: 133k]
  ------------------
 2350|  15.8k|            if (!Py_IS_TYPE(lhs, Py_TYPE(rhs))) {
  ------------------
  |  |  215|  15.8k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  15.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2350:17): [True: 0, False: 15.8k]
  ------------------
 2351|      0|                break;
 2352|      0|            }
 2353|  15.8k|            if (PyUnicode_CheckExact(lhs)) {
  ------------------
  |  |  104|  15.8k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  15.8k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  15.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  15.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 41, False: 15.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2354|     41|                _Py_CODEUNIT next = instr[INLINE_CACHE_ENTRIES_BINARY_OP + 1];
  ------------------
  |  |   81|     41|#define INLINE_CACHE_ENTRIES_BINARY_OP CACHE_ENTRIES(_PyBinaryOpCache)
  |  |  ------------------
  |  |  |  |   65|     41|#define CACHE_ENTRIES(cache) (sizeof(cache)/sizeof(_Py_CODEUNIT))
  |  |  ------------------
  ------------------
 2355|     41|                bool to_store = (next.op.code == STORE_FAST);
  ------------------
  |  |  121|     41|#define STORE_FAST                             108
  ------------------
 2356|     41|                if (to_store && PyStackRef_AsPyObjectBorrow(locals[next.op.arg]) == lhs) {
  ------------------
  |  Branch (2356:21): [True: 16, False: 25]
  |  Branch (2356:33): [True: 14, False: 2]
  ------------------
 2357|     14|                    specialize(instr, BINARY_OP_INPLACE_ADD_UNICODE);
  ------------------
  |  |   16|     14|#define BINARY_OP_INPLACE_ADD_UNICODE            3
  ------------------
 2358|     14|                    return;
 2359|     14|                }
 2360|     27|                specialize(instr, BINARY_OP_ADD_UNICODE);
  ------------------
  |  |  133|     27|#define BINARY_OP_ADD_UNICODE                  131
  ------------------
 2361|     27|                return;
 2362|     41|            }
 2363|  15.8k|            if (_PyLong_CheckExactAndCompact(lhs) && _PyLong_CheckExactAndCompact(rhs)) {
  ------------------
  |  Branch (2363:17): [True: 5.87k, False: 9.94k]
  |  Branch (2363:54): [True: 3.89k, False: 1.98k]
  ------------------
 2364|  3.89k|                specialize(instr, BINARY_OP_ADD_INT);
  ------------------
  |  |  132|  3.89k|#define BINARY_OP_ADD_INT                      130
  ------------------
 2365|  3.89k|                return;
 2366|  3.89k|            }
 2367|  11.9k|            if (PyFloat_CheckExact(lhs)) {
  ------------------
  |  |   17|  11.9k|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|  11.9k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  11.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  11.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 11.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2368|      0|                specialize(instr, BINARY_OP_ADD_FLOAT);
  ------------------
  |  |  131|      0|#define BINARY_OP_ADD_FLOAT                    129
  ------------------
 2369|      0|                return;
 2370|      0|            }
 2371|  11.9k|            break;
 2372|  11.9k|        case NB_MULTIPLY:
  ------------------
  |  |   15|  2.40k|#define NB_MULTIPLY                              5
  ------------------
  |  Branch (2372:9): [True: 2.40k, False: 131k]
  ------------------
 2373|  2.40k|        case NB_INPLACE_MULTIPLY:
  ------------------
  |  |   28|  2.40k|#define NB_INPLACE_MULTIPLY                     18
  ------------------
  |  Branch (2373:9): [True: 4, False: 133k]
  ------------------
 2374|  2.40k|            if (!Py_IS_TYPE(lhs, Py_TYPE(rhs))) {
  ------------------
  |  |  215|  2.40k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  2.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2374:17): [True: 390, False: 2.01k]
  ------------------
 2375|    390|                break;
 2376|    390|            }
 2377|  2.01k|            if (_PyLong_CheckExactAndCompact(lhs) && _PyLong_CheckExactAndCompact(rhs)) {
  ------------------
  |  Branch (2377:17): [True: 1.74k, False: 275]
  |  Branch (2377:54): [True: 861, False: 883]
  ------------------
 2378|    861|                specialize(instr, BINARY_OP_MULTIPLY_INT);
  ------------------
  |  |  136|    861|#define BINARY_OP_MULTIPLY_INT                 134
  ------------------
 2379|    861|                return;
 2380|    861|            }
 2381|  1.15k|            if (PyFloat_CheckExact(lhs)) {
  ------------------
  |  |   17|  1.15k|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|  1.15k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 1.15k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2382|      0|                specialize(instr, BINARY_OP_MULTIPLY_FLOAT);
  ------------------
  |  |  135|      0|#define BINARY_OP_MULTIPLY_FLOAT               133
  ------------------
 2383|      0|                return;
 2384|      0|            }
 2385|  1.15k|            break;
 2386|  1.15k|        case NB_SUBTRACT:
  ------------------
  |  |   20|     57|#define NB_SUBTRACT                             10
  ------------------
  |  Branch (2386:9): [True: 57, False: 133k]
  ------------------
 2387|     57|        case NB_INPLACE_SUBTRACT:
  ------------------
  |  |   33|     57|#define NB_INPLACE_SUBTRACT                     23
  ------------------
  |  Branch (2387:9): [True: 0, False: 133k]
  ------------------
 2388|     57|            if (!Py_IS_TYPE(lhs, Py_TYPE(rhs))) {
  ------------------
  |  |  215|     57|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     57|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     57|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2388:17): [True: 5, False: 52]
  ------------------
 2389|      5|                break;
 2390|      5|            }
 2391|     52|            if (_PyLong_CheckExactAndCompact(lhs) && _PyLong_CheckExactAndCompact(rhs)) {
  ------------------
  |  Branch (2391:17): [True: 52, False: 0]
  |  Branch (2391:54): [True: 52, False: 0]
  ------------------
 2392|     52|                specialize(instr, BINARY_OP_SUBTRACT_INT);
  ------------------
  |  |  145|     52|#define BINARY_OP_SUBTRACT_INT                 143
  ------------------
 2393|     52|                return;
 2394|     52|            }
 2395|      0|            if (PyFloat_CheckExact(lhs)) {
  ------------------
  |  |   17|      0|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2396|      0|                specialize(instr, BINARY_OP_SUBTRACT_FLOAT);
  ------------------
  |  |  144|      0|#define BINARY_OP_SUBTRACT_FLOAT               142
  ------------------
 2397|      0|                return;
 2398|      0|            }
 2399|      0|            break;
 2400|   114k|        case NB_SUBSCR:
  ------------------
  |  |   36|   114k|#define NB_SUBSCR                               26
  ------------------
  |  Branch (2400:9): [True: 114k, False: 18.6k]
  ------------------
 2401|   114k|            if (PyLong_CheckExact(rhs) && _PyLong_IsNonNegativeCompact((PyLongObject *)rhs)) {
  ------------------
  |  |   14|   114k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|   229k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   114k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   114k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 114k, False: 480]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2401:43): [True: 114k, False: 154]
  ------------------
 2402|   114k|                if (PyList_CheckExact(lhs)) {
  ------------------
  |  |   26|   114k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|   114k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   114k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   114k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 51.9k, False: 62.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2403|  51.9k|                    specialize(instr, BINARY_OP_SUBSCR_LIST_INT);
  ------------------
  |  |  139|  51.9k|#define BINARY_OP_SUBSCR_LIST_INT              137
  ------------------
 2404|  51.9k|                    return;
 2405|  51.9k|                }
 2406|  62.3k|                if (PyTuple_CheckExact(lhs)) {
  ------------------
  |  |   28|  62.3k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  62.3k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  62.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  62.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 73, False: 62.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2407|     73|                    specialize(instr, BINARY_OP_SUBSCR_TUPLE_INT);
  ------------------
  |  |  142|     73|#define BINARY_OP_SUBSCR_TUPLE_INT             140
  ------------------
 2408|     73|                    return;
 2409|     73|                }
 2410|  62.2k|                if (PyUnicode_CheckExact(lhs) && _PyLong_IsNonNegativeCompact((PyLongObject*)rhs)) {
  ------------------
  |  |  104|  62.2k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   124k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  62.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  62.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 60.4k, False: 1.83k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2410:50): [True: 60.4k, False: 0]
  ------------------
 2411|  60.4k|                    if (PyUnicode_IS_COMPACT_ASCII(lhs)) {
  ------------------
  |  |  241|  60.4k|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  60.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  60.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (241:40): [True: 56, False: 60.3k]
  |  |  ------------------
  ------------------
 2412|     56|                        specialize(instr, BINARY_OP_SUBSCR_STR_INT);
  ------------------
  |  |  141|     56|#define BINARY_OP_SUBSCR_STR_INT               139
  ------------------
 2413|     56|                        return;
 2414|  60.3k|                    } else {
 2415|  60.3k|                        specialize(instr, BINARY_OP_SUBSCR_USTR_INT);
  ------------------
  |  |  143|  60.3k|#define BINARY_OP_SUBSCR_USTR_INT              141
  ------------------
 2416|  60.3k|                        return;
 2417|  60.3k|                    }
 2418|  60.4k|                }
 2419|  62.2k|            }
 2420|  2.46k|            if (Py_TYPE(lhs)->tp_as_mapping != NULL &&
  ------------------
  |  |  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 (2420:17): [True: 2.46k, False: 0]
  ------------------
 2421|  2.46k|                Py_TYPE(lhs)->tp_as_mapping->mp_subscript == _PyDict_Subscript)
  ------------------
  |  |  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 (2421:17): [True: 41, False: 2.42k]
  ------------------
 2422|     41|            {
 2423|     41|                specialize(instr, BINARY_OP_SUBSCR_DICT);
  ------------------
  |  |  137|     41|#define BINARY_OP_SUBSCR_DICT                  135
  ------------------
 2424|     41|                return;
 2425|     41|            }
 2426|  2.42k|            if (PyList_CheckExact(lhs) && PySlice_Check(rhs)) {
  ------------------
  |  |   26|  2.42k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|  4.85k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 11, False: 2.41k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (PyList_CheckExact(lhs) && PySlice_Check(rhs)) {
  ------------------
  |  |   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: 5, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2427|      5|                specialize(instr, BINARY_OP_SUBSCR_LIST_SLICE);
  ------------------
  |  |  140|      5|#define BINARY_OP_SUBSCR_LIST_SLICE            138
  ------------------
 2428|      5|                return;
 2429|      5|            }
 2430|  2.42k|            unsigned int tp_version;
 2431|  2.42k|            PyTypeObject *container_type = Py_TYPE(lhs);
  ------------------
  |  |  213|  2.42k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2432|  2.42k|            PyObject *descriptor = _PyType_LookupRefAndVersion(container_type, &_Py_ID(__getitem__), &tp_version);
  ------------------
  |  |  920|  2.42k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.42k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.42k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2433|  2.42k|            if (descriptor && Py_TYPE(descriptor) == &PyFunction_Type &&
  ------------------
  |  |  213|  2.42k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2433:17): [True: 2.42k, False: 0]
  |  Branch (2433:31): [True: 1.82k, False: 595]
  ------------------
 2434|  1.82k|                container_type->tp_flags & Py_TPFLAGS_HEAPTYPE)
  ------------------
  |  |  503|  1.82k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2434:17): [True: 1.82k, False: 0]
  ------------------
 2435|  1.82k|            {
 2436|  1.82k|                PyFunctionObject *func = (PyFunctionObject *)descriptor;
 2437|  1.82k|                PyCodeObject *fcode = (PyCodeObject *)func->func_code;
 2438|  1.82k|                int kind = function_kind(fcode);
 2439|  1.82k|                PyHeapTypeObject *ht = (PyHeapTypeObject *)container_type;
 2440|  1.82k|                if (kind == SIMPLE_FUNCTION &&
  ------------------
  |  |  125|  3.65k|#define SIMPLE_FUNCTION 0
  ------------------
  |  Branch (2440:21): [True: 1.82k, False: 0]
  ------------------
 2441|  1.82k|                    fcode->co_argcount == 2 &&
  ------------------
  |  Branch (2441:21): [True: 1.82k, False: 0]
  ------------------
 2442|  1.82k|                    _PyInterpreterState_IsSpecializationEnabled(_PyInterpreterState_GET()) && /* Don't specialize if PEP 523 is active */
  ------------------
  |  Branch (2442:21): [True: 1.82k, False: 0]
  ------------------
 2443|  1.82k|                    _PyType_CacheGetItemForSpecialization(ht, descriptor, (uint32_t)tp_version))
  ------------------
  |  Branch (2443:21): [True: 1.82k, False: 0]
  ------------------
 2444|  1.82k|                {
 2445|  1.82k|                    specialize(instr, BINARY_OP_SUBSCR_GETITEM);
  ------------------
  |  |  138|  1.82k|#define BINARY_OP_SUBSCR_GETITEM               136
  ------------------
 2446|  1.82k|                    Py_DECREF(descriptor);
  ------------------
  |  |  430|  1.82k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2447|  1.82k|                    return;
 2448|  1.82k|                }
 2449|  1.82k|            }
 2450|    595|            Py_XDECREF(descriptor);
  ------------------
  |  |  524|    595|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    595|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    595|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2451|    595|            break;
 2452|   133k|    }
 2453|       |
 2454|  14.4k|    _PyBinaryOpSpecializationDescr *descr;
 2455|  14.4k|    if (binary_op_extended_specialization(lhs, rhs, oparg, &descr)) {
  ------------------
  |  Branch (2455:9): [True: 92, False: 14.3k]
  ------------------
 2456|     92|        specialize(instr, BINARY_OP_EXTEND);
  ------------------
  |  |  134|     92|#define BINARY_OP_EXTEND                       132
  ------------------
 2457|     92|        write_ptr(cache->external_cache, (void*)descr);
 2458|     92|        return;
 2459|     92|    }
 2460|       |
 2461|  14.3k|    SPECIALIZATION_FAIL(BINARY_OP, binary_op_fail_kind(oparg, lhs, rhs));
  ------------------
  |  |   43|  14.3k|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2462|  14.3k|    unspecialize(instr);
 2463|  14.3k|    return;
 2464|  14.4k|}
_Py_Specialize_CompareOp:
 2505|  1.66k|{
 2506|  1.66k|    PyObject *lhs = PyStackRef_AsPyObjectBorrow(lhs_st);
 2507|  1.66k|    PyObject *rhs = PyStackRef_AsPyObjectBorrow(rhs_st);
 2508|  1.66k|    uint8_t specialized_op;
 2509|       |
 2510|  1.66k|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (2510:5): [True: 1.66k, Folded]
  ------------------
 2511|  1.66k|    assert(_PyOpcode_Caches[COMPARE_OP] == INLINE_CACHE_ENTRIES_COMPARE_OP);
  ------------------
  |  Branch (2511:5): [True: 1.66k, False: 0]
  ------------------
 2512|       |    // All of these specializations compute boolean values, so they're all valid
 2513|       |    // regardless of the fifth-lowest oparg bit.
 2514|  1.66k|    if (Py_TYPE(lhs) != Py_TYPE(rhs)) {
  ------------------
  |  |  213|  1.66k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.66k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.66k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_TYPE(lhs) != Py_TYPE(rhs)) {
  ------------------
  |  |  213|  1.66k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.66k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.66k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2514:9): [True: 264, False: 1.40k]
  ------------------
 2515|    264|        SPECIALIZATION_FAIL(COMPARE_OP, compare_op_fail_kind(lhs, rhs));
  ------------------
  |  |   43|    264|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2516|    264|        goto failure;
 2517|    264|    }
 2518|  1.40k|    if (PyFloat_CheckExact(lhs)) {
  ------------------
  |  |   17|  1.40k|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_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: 1, False: 1.40k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2519|      1|        specialized_op = COMPARE_OP_FLOAT;
  ------------------
  |  |  171|      1|#define COMPARE_OP_FLOAT                       169
  ------------------
 2520|      1|        goto success;
 2521|      1|    }
 2522|  1.40k|    if (PyLong_CheckExact(lhs)) {
  ------------------
  |  |   14|  1.40k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_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: 1.04k, False: 353]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2523|  1.04k|        if (_PyLong_IsCompact((PyLongObject *)lhs) && _PyLong_IsCompact((PyLongObject *)rhs)) {
  ------------------
  |  Branch (2523:13): [True: 481, False: 568]
  |  Branch (2523:55): [True: 459, False: 22]
  ------------------
 2524|    459|            specialized_op = COMPARE_OP_INT;
  ------------------
  |  |  172|    459|#define COMPARE_OP_INT                         170
  ------------------
 2525|    459|            goto success;
 2526|    459|        }
 2527|    590|        else {
 2528|    590|            SPECIALIZATION_FAIL(COMPARE_OP, SPEC_FAIL_COMPARE_OP_BIG_INT);
  ------------------
  |  |   43|    590|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2529|    590|            goto failure;
 2530|    590|        }
 2531|  1.04k|    }
 2532|    353|    if (PyUnicode_CheckExact(lhs)) {
  ------------------
  |  |  104|    353|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    353|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    353|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    353|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 188, False: 165]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2533|    188|        int cmp = oparg >> 5;
 2534|    188|        if (cmp != Py_EQ && cmp != Py_NE) {
  ------------------
  |  |  654|    376|#define Py_EQ 2
  ------------------
                      if (cmp != Py_EQ && cmp != Py_NE) {
  ------------------
  |  |  655|     14|#define Py_NE 3
  ------------------
  |  Branch (2534:13): [True: 14, False: 174]
  |  Branch (2534:29): [True: 0, False: 14]
  ------------------
 2535|      0|            SPECIALIZATION_FAIL(COMPARE_OP, SPEC_FAIL_COMPARE_OP_STRING);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2536|      0|            goto failure;
 2537|      0|        }
 2538|    188|        else {
 2539|    188|            specialized_op = COMPARE_OP_STR;
  ------------------
  |  |  173|    188|#define COMPARE_OP_STR                         171
  ------------------
 2540|    188|            goto success;
 2541|    188|        }
 2542|    188|    }
 2543|    165|    SPECIALIZATION_FAIL(COMPARE_OP, compare_op_fail_kind(lhs, rhs));
  ------------------
  |  |   43|    165|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2544|  1.01k|failure:
 2545|  1.01k|    unspecialize(instr);
 2546|  1.01k|    return;
 2547|    648|success:
 2548|    648|    specialize(instr, specialized_op);
 2549|    648|}
_Py_Specialize_UnpackSequence:
 2567|     75|{
 2568|     75|    PyObject *seq = PyStackRef_AsPyObjectBorrow(seq_st);
 2569|       |
 2570|     75|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (2570:5): [True: 75, Folded]
  ------------------
 2571|     75|    assert(_PyOpcode_Caches[UNPACK_SEQUENCE] ==
  ------------------
  |  Branch (2571:5): [True: 75, False: 0]
  ------------------
 2572|     75|           INLINE_CACHE_ENTRIES_UNPACK_SEQUENCE);
 2573|     75|    if (PyTuple_CheckExact(seq)) {
  ------------------
  |  |   28|     75|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|     75|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     75|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     75|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 75, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2574|     75|        if (PyTuple_GET_SIZE(seq) != oparg) {
  ------------------
  |  |   27|     75|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     75|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     75|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2574:13): [True: 0, False: 75]
  ------------------
 2575|      0|            SPECIALIZATION_FAIL(UNPACK_SEQUENCE, SPEC_FAIL_EXPECTED_ERROR);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2576|      0|            unspecialize(instr);
 2577|      0|            return;
 2578|      0|        }
 2579|     75|        if (PyTuple_GET_SIZE(seq) == 2) {
  ------------------
  |  |   27|     75|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     75|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     75|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2579:13): [True: 63, False: 12]
  ------------------
 2580|     63|            specialize(instr, UNPACK_SEQUENCE_TWO_TUPLE);
  ------------------
  |  |  220|     63|#define UNPACK_SEQUENCE_TWO_TUPLE              218
  ------------------
 2581|     63|            return;
 2582|     63|        }
 2583|     12|        specialize(instr, UNPACK_SEQUENCE_TUPLE);
  ------------------
  |  |  219|     12|#define UNPACK_SEQUENCE_TUPLE                  217
  ------------------
 2584|     12|        return;
 2585|     75|    }
 2586|      0|    if (PyList_CheckExact(seq)) {
  ------------------
  |  |   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 (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2587|      0|        if (PyList_GET_SIZE(seq) != oparg) {
  ------------------
  |  |   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 (2587:13): [True: 0, False: 0]
  ------------------
 2588|      0|            SPECIALIZATION_FAIL(UNPACK_SEQUENCE, SPEC_FAIL_EXPECTED_ERROR);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2589|      0|            unspecialize(instr);
 2590|      0|            return;
 2591|      0|        }
 2592|      0|        specialize(instr, UNPACK_SEQUENCE_LIST);
  ------------------
  |  |  218|      0|#define UNPACK_SEQUENCE_LIST                   216
  ------------------
 2593|      0|        return;
 2594|      0|    }
 2595|      0|    SPECIALIZATION_FAIL(UNPACK_SEQUENCE, unpack_sequence_fail_kind(seq));
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2596|      0|    unspecialize(instr);
 2597|      0|}
_Py_Specialize_ForIter:
 2674|  6.99k|{
 2675|  6.99k|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (2675:5): [True: 6.99k, Folded]
  ------------------
 2676|  6.99k|    assert(_PyOpcode_Caches[FOR_ITER] == INLINE_CACHE_ENTRIES_FOR_ITER);
  ------------------
  |  Branch (2676:5): [True: 6.99k, False: 0]
  ------------------
 2677|  6.99k|    PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
 2678|  6.99k|    PyTypeObject *tp = Py_TYPE(iter_o);
  ------------------
  |  |  213|  6.99k|#  define Py_TYPE(ob) _Py_TYPE_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2679|       |
 2680|  6.99k|    if (PyStackRef_IsNull(null_or_index)) {
  ------------------
  |  |  482|  6.99k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  6.99k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  6.99k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 5.79k, False: 1.19k]
  |  |  ------------------
  ------------------
 2681|  5.79k|        if (tp == &PyRangeIter_Type) {
  ------------------
  |  Branch (2681:13): [True: 7, False: 5.79k]
  ------------------
 2682|       |#ifdef Py_GIL_DISABLED
 2683|       |            // Only specialize for uniquely referenced iterators, so that we know
 2684|       |            // they're only referenced by this one thread. This is more limiting
 2685|       |            // than we need (even `it = iter(mylist); for item in it:` won't get
 2686|       |            // specialized) but we don't have a way to check whether we're the only
 2687|       |            // _thread_ who has access to the object.
 2688|       |            if (!_PyObject_IsUniquelyReferenced(iter_o)) {
 2689|       |                goto failure;
 2690|       |            }
 2691|       |#endif
 2692|      7|            specialize(instr, FOR_ITER_RANGE);
  ------------------
  |  |  178|      7|#define FOR_ITER_RANGE                         176
  ------------------
 2693|      7|            return;
 2694|      7|        }
 2695|  5.79k|        else if (tp == &PyGen_Type && oparg <= SHRT_MAX) {
  ------------------
  |  Branch (2695:18): [True: 10, False: 5.78k]
  |  Branch (2695:39): [True: 10, False: 0]
  ------------------
 2696|     10|            assert(instr[oparg + INLINE_CACHE_ENTRIES_FOR_ITER + 1].op.code == END_FOR  ||
  ------------------
  |  Branch (2696:13): [True: 10, False: 0]
  |  Branch (2696:13): [True: 0, False: 0]
  ------------------
 2697|     10|                instr[oparg + INLINE_CACHE_ENTRIES_FOR_ITER + 1].op.code == INSTRUMENTED_END_FOR
 2698|     10|            );
 2699|       |            /* Don't specialize if PEP 523 is active */
 2700|     10|            if (!_PyInterpreterState_IsSpecializationEnabled(_PyInterpreterState_GET())) {
  ------------------
  |  Branch (2700:17): [True: 0, False: 10]
  ------------------
 2701|      0|                goto failure;
 2702|      0|            }
 2703|     10|            specialize(instr, FOR_ITER_GEN);
  ------------------
  |  |  176|     10|#define FOR_ITER_GEN                           174
  ------------------
 2704|     10|            return;
 2705|     10|        }
 2706|  5.79k|    }
 2707|  1.19k|    else {
 2708|  1.19k|        if (tp->_tp_iteritem != NULL) {
  ------------------
  |  Branch (2708:13): [True: 1.19k, False: 0]
  ------------------
 2709|  1.19k|            if (tp == &PyList_Type) {
  ------------------
  |  Branch (2709:17): [True: 1.13k, False: 56]
  ------------------
 2710|       |    #ifdef Py_GIL_DISABLED
 2711|       |                // Only specialize for lists owned by this thread or shared
 2712|       |                if (!_Py_IsOwnedByCurrentThread(iter_o) && !_PyObject_GC_IS_SHARED(iter_o)) {
 2713|       |                    goto failure;
 2714|       |                }
 2715|       |    #endif
 2716|  1.13k|                specialize(instr, FOR_ITER_LIST);
  ------------------
  |  |  177|  1.13k|#define FOR_ITER_LIST                          175
  ------------------
 2717|  1.13k|                return;
 2718|  1.13k|            }
 2719|     56|            else if (tp == &PyTuple_Type) {
  ------------------
  |  Branch (2719:22): [True: 51, False: 5]
  ------------------
 2720|     51|                specialize(instr, FOR_ITER_TUPLE);
  ------------------
  |  |  179|     51|#define FOR_ITER_TUPLE                         177
  ------------------
 2721|     51|                return;
 2722|     51|            }
 2723|  1.19k|        }
 2724|      5|        specialize(instr, FOR_ITER_VIRTUAL);
  ------------------
  |  |  180|      5|#define FOR_ITER_VIRTUAL                       178
  ------------------
 2725|      5|        return;
 2726|  1.19k|    }
 2727|  5.78k|failure:
 2728|  5.78k|    SPECIALIZATION_FAIL(FOR_ITER,
  ------------------
  |  |   43|  5.78k|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2729|  5.78k|                        _PySpecialization_ClassifyIterator(iter_o));
 2730|  5.78k|    unspecialize(instr);
 2731|  5.78k|}
_Py_Specialize_Send:
 2735|      2|{
 2736|      2|    PyObject *receiver = PyStackRef_AsPyObjectBorrow(receiver_st);
 2737|       |
 2738|      2|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (2738:5): [True: 2, Folded]
  ------------------
 2739|      2|    assert(_PyOpcode_Caches[SEND] == INLINE_CACHE_ENTRIES_SEND);
  ------------------
  |  Branch (2739:5): [True: 2, False: 0]
  ------------------
 2740|      2|    PyTypeObject *tp = Py_TYPE(receiver);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2741|      2|    if (tp == &PyGen_Type || tp == &PyCoro_Type) {
  ------------------
  |  Branch (2741:9): [True: 0, False: 2]
  |  Branch (2741:30): [True: 0, False: 2]
  ------------------
 2742|       |        /* Don't specialize if PEP 523 is active */
 2743|      0|        if (!_PyInterpreterState_IsSpecializationEnabled(_PyInterpreterState_GET())) {
  ------------------
  |  Branch (2743:13): [True: 0, False: 0]
  ------------------
 2744|      0|            SPECIALIZATION_FAIL(SEND, SPEC_FAIL_OTHER);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2745|      0|            goto failure;
 2746|      0|        }
 2747|      0|        specialize(instr, SEND_GEN);
  ------------------
  |  |  205|      0|#define SEND_GEN                               203
  ------------------
 2748|      0|        return;
 2749|      0|    }
 2750|      2|    if (tp->_tp_iteritem != NULL) {
  ------------------
  |  Branch (2750:9): [True: 2, False: 0]
  ------------------
 2751|      2|        specialize(instr, SEND_VIRTUAL);
  ------------------
  |  |  206|      2|#define SEND_VIRTUAL                           204
  ------------------
 2752|      2|        return;
 2753|      2|    }
 2754|      0|    if (tp == &_PyAsyncGenASend_Type) {
  ------------------
  |  Branch (2754:9): [True: 0, False: 0]
  ------------------
 2755|      0|        specialize(instr, SEND_ASYNC_GEN);
  ------------------
  |  |  204|      0|#define SEND_ASYNC_GEN                         202
  ------------------
 2756|      0|        return;
 2757|      0|    }
 2758|      0|    SPECIALIZATION_FAIL(SEND,
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2759|      0|                        _PySpecialization_ClassifyIterator(receiver));
 2760|      0|failure:
 2761|      0|    unspecialize(instr);
 2762|      0|}
_Py_Specialize_CallFunctionEx:
 2766|     18|{
 2767|     18|    PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
 2768|       |
 2769|     18|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (2769:5): [True: 18, Folded]
  ------------------
 2770|     18|    assert(_PyOpcode_Caches[CALL_FUNCTION_EX] == INLINE_CACHE_ENTRIES_CALL_FUNCTION_EX);
  ------------------
  |  Branch (2770:5): [True: 18, False: 0]
  ------------------
 2771|       |
 2772|     18|    if (Py_TYPE(func) == &PyFunction_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 (2772:9): [True: 5, False: 13]
  ------------------
 2773|      5|        ((PyFunctionObject *)func)->vectorcall == _PyFunction_Vectorcall) {
  ------------------
  |  Branch (2773:9): [True: 5, False: 0]
  ------------------
 2774|      5|        if (!_PyInterpreterState_IsSpecializationEnabled(_PyInterpreterState_GET())) {
  ------------------
  |  Branch (2774:13): [True: 0, False: 5]
  ------------------
 2775|      0|            goto failure;
 2776|      0|        }
 2777|      5|        specialize(instr, CALL_EX_PY);
  ------------------
  |  |  154|      5|#define CALL_EX_PY                             152
  ------------------
 2778|      5|        return;
 2779|      5|    }
 2780|     13|    specialize(instr, CALL_EX_NON_PY_GENERAL);
  ------------------
  |  |  153|     13|#define CALL_EX_NON_PY_GENERAL                 151
  ------------------
 2781|     13|    return;
 2782|      0|failure:
 2783|      0|    unspecialize(instr);
 2784|      0|}
_Py_Specialize_ToBool:
 2835|  11.8k|{
 2836|  11.8k|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (2836:5): [True: 11.8k, Folded]
  ------------------
 2837|  11.8k|    assert(_PyOpcode_Caches[TO_BOOL] == INLINE_CACHE_ENTRIES_TO_BOOL);
  ------------------
  |  Branch (2837:5): [True: 11.8k, False: 0]
  ------------------
 2838|  11.8k|    _PyToBoolCache *cache = (_PyToBoolCache *)(instr + 1);
 2839|  11.8k|    PyObject *value = PyStackRef_AsPyObjectBorrow(value_o);
 2840|  11.8k|    uint8_t specialized_op;
 2841|  11.8k|    if (PyBool_Check(value)) {
  ------------------
  |  |   12|  11.8k|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_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: 1.28k, False: 10.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2842|  1.28k|        specialized_op = TO_BOOL_BOOL;
  ------------------
  |  |  213|  1.28k|#define TO_BOOL_BOOL                           211
  ------------------
 2843|  1.28k|        goto success;
 2844|  1.28k|    }
 2845|  10.5k|    if (PyLong_CheckExact(value)) {
  ------------------
  |  |   14|  10.5k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  10.5k|#  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: 8.00k, False: 2.51k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2846|  8.00k|        specialized_op = TO_BOOL_INT;
  ------------------
  |  |  214|  8.00k|#define TO_BOOL_INT                            212
  ------------------
 2847|  8.00k|        goto success;
 2848|  8.00k|    }
 2849|  2.51k|    if (PyList_CheckExact(value)) {
  ------------------
  |  |   26|  2.51k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|  2.51k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.51k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 32, False: 2.48k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2850|     32|        specialized_op = TO_BOOL_LIST;
  ------------------
  |  |  215|     32|#define TO_BOOL_LIST                           213
  ------------------
 2851|     32|        goto success;
 2852|     32|    }
 2853|  2.48k|    if (Py_IsNone(value)) {
  ------------------
  |  |  621|  2.48k|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|  2.48k|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 606, False: 1.87k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2854|    606|        specialized_op = TO_BOOL_NONE;
  ------------------
  |  |  216|    606|#define TO_BOOL_NONE                           214
  ------------------
 2855|    606|        goto success;
 2856|    606|    }
 2857|  1.87k|    if (PyUnicode_CheckExact(value)) {
  ------------------
  |  |  104|  1.87k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  1.87k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.87k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.87k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 119, False: 1.75k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2858|    119|        specialized_op = TO_BOOL_STR;
  ------------------
  |  |  217|    119|#define TO_BOOL_STR                            215
  ------------------
 2859|    119|        goto success;
 2860|    119|    }
 2861|  1.75k|    if (PyType_HasFeature(Py_TYPE(value), Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  213|  1.75k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.75k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.75k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyType_HasFeature(Py_TYPE(value), Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|  1.75k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2861:9): [True: 586, False: 1.17k]
  ------------------
 2862|    586|        unsigned int version = 0;
 2863|    586|        int err = _PyType_Validate(Py_TYPE(value), check_type_always_true, &version);
  ------------------
  |  |  213|    586|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    586|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    586|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2864|    586|        if (err < 0) {
  ------------------
  |  Branch (2864:13): [True: 0, False: 586]
  ------------------
 2865|      0|            SPECIALIZATION_FAIL(TO_BOOL, SPEC_FAIL_OUT_OF_VERSIONS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2866|      0|            goto failure;
 2867|      0|        }
 2868|    586|        else if (err > 0) {
  ------------------
  |  Branch (2868:18): [True: 585, False: 1]
  ------------------
 2869|    585|            SPECIALIZATION_FAIL(TO_BOOL, err);
  ------------------
  |  |   43|    585|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2870|    585|            goto failure;
 2871|    585|        }
 2872|       |
 2873|    586|        assert(err == 0);
  ------------------
  |  Branch (2873:9): [True: 1, False: 0]
  ------------------
 2874|      1|        assert(version);
  ------------------
  |  Branch (2874:9): [True: 1, False: 0]
  ------------------
 2875|      1|        write_u32(cache->version, version);
 2876|      1|        specialized_op = TO_BOOL_ALWAYS_TRUE;
  ------------------
  |  |  212|      1|#define TO_BOOL_ALWAYS_TRUE                    210
  ------------------
 2877|      1|        goto success;
 2878|      1|    }
 2879|       |
 2880|  1.17k|    SPECIALIZATION_FAIL(TO_BOOL, to_bool_fail_kind(value));
  ------------------
  |  |   43|  1.17k|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2881|  1.75k|failure:
 2882|  1.75k|    unspecialize(instr);
 2883|  1.75k|    return;
 2884|  10.0k|success:
 2885|  10.0k|    specialize(instr, specialized_op);
 2886|  10.0k|}
_Py_Specialize_ContainsOp:
 2909|  4.31k|{
 2910|  4.31k|    PyObject *value = PyStackRef_AsPyObjectBorrow(value_st);
 2911|       |
 2912|  4.31k|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (2912:5): [True: 4.31k, Folded]
  ------------------
 2913|  4.31k|    assert(_PyOpcode_Caches[CONTAINS_OP] == INLINE_CACHE_ENTRIES_COMPARE_OP);
  ------------------
  |  Branch (2913:5): [True: 4.31k, False: 0]
  ------------------
 2914|  4.31k|    if (PyAnyDict_CheckExact(value)) {
  ------------------
  |  |   41|  4.31k|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|  4.31k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  8.62k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  4.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  4.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 33, False: 4.27k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   38|  4.27k|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_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: 0, False: 4.27k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2915|     33|        specialize(instr, CONTAINS_OP_DICT);
  ------------------
  |  |  174|     33|#define CONTAINS_OP_DICT                       172
  ------------------
 2916|     33|        return;
 2917|     33|    }
 2918|  4.27k|    if (PySet_CheckExact(value) || PyFrozenSet_CheckExact(value)) {
  ------------------
  |  |   35|  4.27k|#define PySet_CheckExact(op) Py_IS_TYPE(op, &PySet_Type)
  |  |  ------------------
  |  |  |  |  215|  8.55k|#  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: 15, False: 4.26k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PySet_CheckExact(value) || PyFrozenSet_CheckExact(value)) {
  ------------------
  |  |   23|  4.26k|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|  4.26k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 19, False: 4.24k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2919|     34|        specialize(instr, CONTAINS_OP_SET);
  ------------------
  |  |  175|     34|#define CONTAINS_OP_SET                        173
  ------------------
 2920|     34|        return;
 2921|     34|    }
 2922|       |
 2923|  4.24k|    SPECIALIZATION_FAIL(CONTAINS_OP, containsop_fail_kind(value));
  ------------------
  |  |   43|  4.24k|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2924|  4.24k|    unspecialize(instr);
 2925|  4.24k|    return;
 2926|  4.27k|}
_Py_Specialize_GetIter:
 2930|    871|{
 2931|    871|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (2931:5): [True: 871, Folded]
  ------------------
 2932|    871|    PyTypeObject *tp = PyStackRef_TYPE(iterable);
 2933|    871|    if (tp->_tp_iteritem != NULL) {
  ------------------
  |  Branch (2933:9): [True: 101, False: 770]
  ------------------
 2934|    101|        specialize(instr, GET_ITER_VIRTUAL);
  ------------------
  |  |  182|    101|#define GET_ITER_VIRTUAL                       180
  ------------------
 2935|    101|        return;
 2936|    101|    }
 2937|    770|    if (tp->tp_iter == PyObject_SelfIter) {
  ------------------
  |  Branch (2937:9): [True: 12, False: 758]
  ------------------
 2938|     12|        specialize(instr, GET_ITER_SELF);
  ------------------
  |  |  181|     12|#define GET_ITER_SELF                          179
  ------------------
 2939|     12|        return;
 2940|     12|    }
 2941|    758|    SPECIALIZATION_FAIL(GET_ITER,
  ------------------
  |  |   43|    758|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2942|    758|        tp == &PyCoro_Type ? SPEC_FAIL_ITER_COROUTINE : SPEC_FAIL_OTHER);
 2943|    758|    unspecialize(instr);
 2944|    758|}
_Py_Specialize_Resume:
 2948|  28.9k|{
 2949|  28.9k|    if (tstate->tracing == 0 && instr->op.code == RESUME) {
  ------------------
  |  |  130|  28.9k|#define RESUME                                 128
  ------------------
  |  Branch (2949:9): [True: 28.9k, False: 0]
  |  Branch (2949:33): [True: 14.9k, False: 14.0k]
  ------------------
 2950|  14.9k|        if (tstate->interp->jit) {
  ------------------
  |  Branch (2950:13): [True: 0, False: 14.9k]
  ------------------
 2951|      0|            PyCodeObject *co = (PyCodeObject *)PyStackRef_AsPyObjectBorrow(frame->f_executable);
 2952|      0|            if (co != NULL &&
  ------------------
  |  Branch (2952:17): [True: 0, False: 0]
  ------------------
 2953|      0|                PyCode_Check(co) &&
  ------------------
  |  |  168|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2954|      0|                (co->co_flags & (CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR)) == 0) {
  ------------------
  |  |  127|      0|#define CO_GENERATOR    0x0020
  ------------------
                              (co->co_flags & (CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR)) == 0) {
  ------------------
  |  |  131|      0|#define CO_COROUTINE            0x0080
  ------------------
                              (co->co_flags & (CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR)) == 0) {
  ------------------
  |  |  133|      0|#define CO_ASYNC_GENERATOR      0x0200
  ------------------
  |  Branch (2954:17): [True: 0, False: 0]
  ------------------
 2955|      0|                specialize(instr, RESUME_CHECK_JIT);
  ------------------
  |  |  203|      0|#define RESUME_CHECK_JIT                       201
  ------------------
 2956|      0|                set_counter((_Py_BackoffCounter *)instr + 1, initial_resume_backoff_counter(&tstate->interp->opt_config));
 2957|      0|                return;
 2958|      0|            }
 2959|      0|        }
 2960|  14.9k|        specialize(instr, RESUME_CHECK);
  ------------------
  |  |  202|  14.9k|#define RESUME_CHECK                           200
  ------------------
 2961|  14.9k|        return;
 2962|  14.9k|    }
 2963|  14.0k|    unspecialize(instr);
 2964|  14.0k|    return;
 2965|  28.9k|}
specialize.c:fixup_getiter:
   48|    575|{
   49|       |    // Compiler can't know if types.coroutine() will be called,
   50|       |    // so fix up here
   51|    575|    if (instruction->op.arg) {
  ------------------
  |  Branch (51:9): [True: 13, False: 562]
  ------------------
   52|     13|        if (flags & (CO_COROUTINE | CO_ITERABLE_COROUTINE)) {
  ------------------
  |  |  131|     13|#define CO_COROUTINE            0x0080
  ------------------
                      if (flags & (CO_COROUTINE | CO_ITERABLE_COROUTINE)) {
  ------------------
  |  |  132|     13|#define CO_ITERABLE_COROUTINE   0x0100
  ------------------
  |  Branch (52:13): [True: 0, False: 13]
  ------------------
   53|      0|            instruction->op.arg = GET_ITER_YIELD_FROM_NO_CHECK;
  ------------------
  |  |   98|      0|#define GET_ITER_YIELD_FROM_NO_CHECK 2
  ------------------
   54|      0|        }
   55|     13|        else {
   56|     13|            instruction->op.arg = GET_ITER_YIELD_FROM_CORO_CHECK;
  ------------------
  |  |   99|     13|#define GET_ITER_YIELD_FROM_CORO_CHECK 3
  ------------------
   57|     13|        }
   58|     13|    }
   59|    575|}
specialize.c:specialize:
  364|   188k|{
  365|   188k|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (365:5): [True: 188k, False: 0]
  ------------------
  366|   188k|    if (!set_opcode(instr, specialized_opcode)) {
  ------------------
  |  Branch (366:9): [True: 0, False: 188k]
  ------------------
  367|      0|        STAT_INC(_PyOpcode_Deopt[specialized_opcode], failure);
  ------------------
  |  |   73|      0|#define STAT_INC(opname, name) ((void)0)
  ------------------
  368|      0|        SPECIALIZATION_FAIL(_PyOpcode_Deopt[specialized_opcode],
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  369|      0|                            SPEC_FAIL_OTHER);
  370|      0|        return;
  371|      0|    }
  372|   188k|    STAT_INC(_PyOpcode_Deopt[specialized_opcode], success);
  ------------------
  |  |   73|   188k|#define STAT_INC(opname, name) ((void)0)
  ------------------
  373|   188k|    set_counter((_Py_BackoffCounter *)instr + 1, adaptive_counter_cooldown());
  374|   188k|}
specialize.c:set_opcode:
  327|   235k|{
  328|       |#ifdef Py_GIL_DISABLED
  329|       |    uint8_t old_op = _Py_atomic_load_uint8_relaxed(&instr->op.code);
  330|       |    if (old_op >= MIN_INSTRUMENTED_OPCODE) {
  331|       |        /* Lost race with instrumentation */
  332|       |        return 0;
  333|       |    }
  334|       |    if (!_Py_atomic_compare_exchange_uint8(&instr->op.code, &old_op, opcode)) {
  335|       |        /* Lost race with instrumentation */
  336|       |        assert(old_op >= MIN_INSTRUMENTED_OPCODE);
  337|       |        return 0;
  338|       |    }
  339|       |    return 1;
  340|       |#else
  341|   235k|    instr->op.code = opcode;
  342|   235k|    return 1;
  343|   235k|#endif
  344|   235k|}
specialize.c:unspecialize:
  378|  46.8k|{
  379|  46.8k|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (379:5): [True: 46.8k, False: 0]
  ------------------
  380|  46.8k|    uint8_t opcode = FT_ATOMIC_LOAD_UINT8_RELAXED(instr->op.code);
  ------------------
  |  |  157|  46.8k|#define FT_ATOMIC_LOAD_UINT8_RELAXED(value) value
  ------------------
  381|  46.8k|    uint8_t generic_opcode = _PyOpcode_Deopt[opcode];
  382|  46.8k|    STAT_INC(generic_opcode, failure);
  ------------------
  |  |   73|  46.8k|#define STAT_INC(opname, name) ((void)0)
  ------------------
  383|  46.8k|    if (!set_opcode(instr, generic_opcode)) {
  ------------------
  |  Branch (383:9): [True: 0, False: 46.8k]
  ------------------
  384|      0|        SPECIALIZATION_FAIL(generic_opcode, SPEC_FAIL_OTHER);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  385|      0|        return;
  386|      0|    }
  387|  46.8k|    _Py_BackoffCounter *counter = (_Py_BackoffCounter *)instr + 1;
  388|  46.8k|    _Py_BackoffCounter cur = load_counter(counter);
  389|  46.8k|    set_counter(counter, adaptive_counter_backoff(cur));
  390|  46.8k|}
specialize.c:load_counter:
  355|  46.8k|{
  356|  46.8k|    _Py_BackoffCounter result = {
  357|  46.8k|        .value_and_backoff =
  358|  46.8k|            FT_ATOMIC_LOAD_UINT16_RELAXED(counter->value_and_backoff)};
  ------------------
  |  |  158|  46.8k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  ------------------
  359|  46.8k|    return result;
  360|  46.8k|}
specialize.c:specialize_module_load_attr:
  451|    224|{
  452|    224|    PyModuleObject *m = (PyModuleObject *)owner;
  453|    224|    assert((Py_TYPE(owner)->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0);
  ------------------
  |  Branch (453:5): [True: 224, False: 0]
  ------------------
  454|    224|    PyDictObject *dict = (PyDictObject *)m->md_dict;
  455|    224|    if (dict == NULL) {
  ------------------
  |  Branch (455:9): [True: 0, False: 224]
  ------------------
  456|      0|        SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_NO_DICT);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  457|      0|        return -1;
  458|      0|    }
  459|    224|    int result;
  460|    224|    Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|    224|    {
  ------------------
  461|    224|    result = specialize_module_load_attr_lock_held(dict, instr, name);
  462|    224|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    224|    }
  ------------------
  463|    224|    return result;
  464|    224|}
specialize.c:specialize_module_load_attr_lock_held:
  413|    224|{
  414|    224|    _PyAttrCache *cache = (_PyAttrCache *)(instr + 1);
  415|    224|    if (dict->ma_keys->dk_kind != DICT_KEYS_UNICODE) {
  ------------------
  |  Branch (415:9): [True: 0, False: 224]
  ------------------
  416|      0|        SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_NON_STRING);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  417|      0|        return -1;
  418|      0|    }
  419|    224|    PyObject *value;
  420|    224|    Py_ssize_t index = _PyDict_LookupIndexAndValue(dict, name, &value);
  421|    224|    if (value != NULL && PyLazyImport_CheckExact(value)) {
  ------------------
  |  |   15|    214|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  ------------------
  |  |  |  |  215|    214|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    214|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    214|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 214]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (421:9): [True: 214, False: 10]
  ------------------
  422|      0|        SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_MODULE_LAZY_VALUE);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  423|      0|        return -1;
  424|      0|    }
  425|    224|    assert(index != DKIX_ERROR);
  ------------------
  |  Branch (425:5): [True: 224, False: 0]
  ------------------
  426|    224|    if (index != (uint16_t)index) {
  ------------------
  |  Branch (426:9): [True: 10, False: 214]
  ------------------
  427|     10|        SPECIALIZATION_FAIL(LOAD_ATTR,
  ------------------
  |  |   43|     10|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  428|     10|                            index == DKIX_EMPTY ?
  429|     10|                            SPEC_FAIL_ATTR_MODULE_ATTR_NOT_FOUND :
  430|     10|                            SPEC_FAIL_OUT_OF_RANGE);
  431|     10|        return -1;
  432|     10|    }
  433|    214|    uint32_t keys_version = _PyDict_GetKeysVersionForCurrentState(
  434|    214|            _PyInterpreterState_GET(), dict);
  435|    214|    if (keys_version == 0) {
  ------------------
  |  Branch (435:9): [True: 0, False: 214]
  ------------------
  436|      0|        SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_OUT_OF_VERSIONS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  437|      0|        return -1;
  438|      0|    }
  439|       |#ifdef Py_GIL_DISABLED
  440|       |    maybe_enable_deferred_ref_count(value);
  441|       |#endif
  442|    214|    write_u32(cache->version, keys_version);
  443|    214|    cache->index = (uint16_t)index;
  444|    214|    specialize(instr, LOAD_ATTR_MODULE);
  ------------------
  |  |  192|    214|#define LOAD_ATTR_MODULE                       190
  ------------------
  445|    214|    return 0;
  446|    214|}
specialize.c:specialize_instance_load_attr:
  981|  3.07k|{
  982|       |    // 0 is not a valid version
  983|  3.07k|    PyObject *descr = NULL;
  984|  3.07k|    unsigned int tp_version = 0;
  985|  3.07k|    PyTypeObject *type = Py_TYPE(owner);
  ------------------
  |  |  213|  3.07k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  986|       |    // Read the type version before the keys version, we could have a concurrent
  987|       |    // modification of the split keys in which case we update the keys version and
  988|       |    // then the type version, this ensures we will still deopt if that happens.
  989|  3.07k|    DescriptorClassification kind = analyze_descriptor_load(type, name, &descr, &tp_version);
  990|  3.07k|    uint32_t shared_keys_version = 0;
  991|  3.07k|    bool shadow = instance_has_key(owner, name, &shared_keys_version);
  992|  3.07k|    int result = do_specialize_instance_load_attr(owner, instr, name, shadow, shared_keys_version, kind, descr, tp_version);
  993|  3.07k|    Py_XDECREF(descr);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  994|  3.07k|    return result;
  995|  3.07k|}
specialize.c:analyze_descriptor_load:
  558|  3.33k|analyze_descriptor_load(PyTypeObject *type, PyObject *name, PyObject **descr, unsigned int *tp_version) {
  559|  3.33k|    bool has_getattr = false;
  560|  3.33k|    bool have_ga_version = false;
  561|  3.33k|    unsigned int ga_version;
  562|  3.33k|    getattrofunc getattro_slot = type->tp_getattro;
  563|  3.33k|    if (getattro_slot == PyObject_GenericGetAttr) {
  ------------------
  |  Branch (563:9): [True: 3.32k, False: 7]
  ------------------
  564|       |        /* Normal attribute lookup; */
  565|  3.32k|        has_getattr = false;
  566|  3.32k|    }
  567|      7|    else if (getattro_slot == _Py_slot_tp_getattr_hook ||
  ------------------
  |  Branch (567:14): [True: 0, False: 7]
  ------------------
  568|      7|        getattro_slot == _Py_slot_tp_getattro) {
  ------------------
  |  Branch (568:9): [True: 0, False: 7]
  ------------------
  569|       |        /* One or both of __getattribute__ or __getattr__ may have been
  570|       |         overridden See typeobject.c for why these functions are special. */
  571|      0|        PyObject *getattribute = _PyType_LookupRefAndVersion(type,
  572|      0|                &_Py_ID(__getattribute__), &ga_version);
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  573|      0|        have_ga_version = true;
  574|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
  575|      0|        bool has_custom_getattribute = getattribute != NULL &&
  ------------------
  |  Branch (575:40): [True: 0, False: 0]
  ------------------
  576|      0|            getattribute != interp->callable_cache.object__getattribute__;
  ------------------
  |  Branch (576:13): [True: 0, False: 0]
  ------------------
  577|      0|        PyObject *getattr = _PyType_Lookup(type, &_Py_ID(__getattr__));
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  578|      0|        has_getattr = getattr != NULL;
  579|      0|        if (has_custom_getattribute) {
  ------------------
  |  Branch (579:13): [True: 0, False: 0]
  ------------------
  580|      0|            if (!has_getattr &&
  ------------------
  |  Branch (580:17): [True: 0, False: 0]
  ------------------
  581|      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]
  |  |  ------------------
  ------------------
  582|      0|                *descr = getattribute;
  583|      0|                *tp_version = ga_version;
  584|      0|                return GETATTRIBUTE_IS_PYTHON_FUNCTION;
  585|      0|            }
  586|       |            /* Potentially both __getattr__ and __getattribute__ are set.
  587|       |               Too complicated */
  588|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  589|      0|            *descr = NULL;
  590|      0|            *tp_version = ga_version;
  591|      0|            return GETSET_OVERRIDDEN;
  592|      0|        }
  593|       |        /* Potentially has __getattr__ but no custom __getattribute__.
  594|       |           Fall through to usual descriptor analysis.
  595|       |           Usual attribute lookup should only be allowed at runtime
  596|       |           if we can guarantee that there is no way an exception can be
  597|       |           raised. This means some specializations, e.g. specializing
  598|       |           for property() isn't safe.
  599|       |        */
  600|      0|        Py_XDECREF(getattribute);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  601|      0|    }
  602|      7|    else {
  603|      7|        *descr = NULL;
  604|      7|        *tp_version = FT_ATOMIC_LOAD_UINT_RELAXED(type->tp_version_tag);
  ------------------
  |  |  189|      7|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  ------------------
  605|      7|        return GETSET_OVERRIDDEN;
  606|      7|    }
  607|  3.32k|    unsigned int descr_version;
  608|  3.32k|    PyObject *descriptor = _PyType_LookupRefAndVersion(type, name, &descr_version);
  609|  3.32k|    *descr = descriptor;
  610|  3.32k|    *tp_version = have_ga_version ? ga_version : descr_version;
  ------------------
  |  Branch (610:19): [True: 0, False: 3.32k]
  ------------------
  611|  3.32k|    if (descriptor_is_class(descriptor, name)) {
  ------------------
  |  Branch (611:9): [True: 4, False: 3.32k]
  ------------------
  612|      4|        return DUNDER_CLASS;
  613|      4|    }
  614|  3.32k|    return classify_descriptor(descriptor, has_getattr);
  615|  3.32k|}
specialize.c:descriptor_is_class:
  552|  3.57k|{
  553|  3.57k|    return ((PyUnicode_CompareWithASCIIString(name, "__class__") == 0) &&
  ------------------
  |  Branch (553:13): [True: 4, False: 3.57k]
  ------------------
  554|      4|            (descriptor == _PyType_Lookup(&PyBaseObject_Type, name)));
  ------------------
  |  Branch (554:13): [True: 4, False: 0]
  ------------------
  555|  3.57k|}
specialize.c:classify_descriptor:
  510|  3.97k|{
  511|  3.97k|    if (descriptor == NULL) {
  ------------------
  |  Branch (511:9): [True: 797, False: 3.17k]
  ------------------
  512|    797|        return ABSENT;
  513|    797|    }
  514|  3.17k|    PyTypeObject *desc_cls = Py_TYPE(descriptor);
  ------------------
  |  |  213|  3.17k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  515|  3.17k|    if (!(desc_cls->tp_flags & Py_TPFLAGS_IMMUTABLETYPE)) {
  ------------------
  |  |  500|  3.17k|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (515:9): [True: 1, False: 3.17k]
  ------------------
  516|      1|        return MUTABLE;
  517|      1|    }
  518|  3.17k|    if (desc_cls->tp_descr_set) {
  ------------------
  |  Branch (518:9): [True: 226, False: 2.94k]
  ------------------
  519|    226|        if (desc_cls == &PyMemberDescr_Type) {
  ------------------
  |  Branch (519:13): [True: 36, False: 190]
  ------------------
  520|     36|            PyMemberDescrObject *member = (PyMemberDescrObject *)descriptor;
  521|     36|            struct PyMemberDef *dmem = member->d_member;
  522|     36|            if (dmem->type == Py_T_OBJECT_EX || dmem->type == _Py_T_OBJECT) {
  ------------------
  |  |   75|     72|#define Py_T_OBJECT_EX 16
  ------------------
                          if (dmem->type == Py_T_OBJECT_EX || dmem->type == _Py_T_OBJECT) {
  ------------------
  |  |   59|     24|#define _Py_T_OBJECT   6  // Deprecated, use Py_T_OBJECT_EX instead
  ------------------
  |  Branch (522:17): [True: 12, False: 24]
  |  Branch (522:49): [True: 24, False: 0]
  ------------------
  523|     36|                return OBJECT_SLOT;
  524|     36|            }
  525|      0|            return OTHER_SLOT;
  526|     36|        }
  527|    190|        if (desc_cls == &PyProperty_Type) {
  ------------------
  |  Branch (527:13): [True: 34, False: 156]
  ------------------
  528|       |            /* We can't detect at runtime whether an attribute exists
  529|       |               with property. So that means we may have to call
  530|       |               __getattr__. */
  531|     34|            return has_getattr ? GETSET_OVERRIDDEN : PROPERTY;
  ------------------
  |  Branch (531:20): [True: 0, False: 34]
  ------------------
  532|     34|        }
  533|    156|        return OVERRIDING;
  534|    190|    }
  535|  2.94k|    if (desc_cls->tp_descr_get) {
  ------------------
  |  Branch (535:9): [True: 2.88k, False: 67]
  ------------------
  536|  2.88k|        if (desc_cls->tp_flags & Py_TPFLAGS_METHOD_DESCRIPTOR) {
  ------------------
  |  |  534|  2.88k|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (536:13): [True: 2.68k, False: 200]
  ------------------
  537|  2.68k|            return METHOD;
  538|  2.68k|        }
  539|    200|        if (Py_IS_TYPE(descriptor, &PyClassMethodDescr_Type)) {
  ------------------
  |  |  215|    200|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    200|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    200|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 141, False: 59]
  |  |  ------------------
  ------------------
  540|    141|            return BUILTIN_CLASSMETHOD;
  541|    141|        }
  542|     59|        if (Py_IS_TYPE(descriptor, &PyClassMethod_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: 26, False: 33]
  |  |  ------------------
  ------------------
  543|     26|            return PYTHON_CLASSMETHOD;
  544|     26|        }
  545|     33|        return NON_OVERRIDING;
  546|     59|    }
  547|     67|    return NON_DESCRIPTOR;
  548|  2.94k|}
specialize.c:instance_has_key:
  760|  3.07k|{
  761|  3.07k|    PyTypeObject *cls = Py_TYPE(obj);
  ------------------
  |  |  213|  3.07k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  762|  3.07k|    if ((cls->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0) {
  ------------------
  |  |  482|  3.07k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (762:9): [True: 1.02k, False: 2.04k]
  ------------------
  763|  1.02k|        return false;
  764|  1.02k|    }
  765|  2.04k|    if (cls->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|  2.04k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (765:9): [True: 1.96k, False: 78]
  ------------------
  766|  1.96k|        PyDictKeysObject *keys = ((PyHeapTypeObject *)cls)->ht_cached_keys;
  767|  1.96k|        Py_ssize_t index =
  768|  1.96k|            _PyDictKeys_StringLookupAndVersion(keys, name, shared_keys_version);
  769|  1.96k|        return index >= 0;
  770|  1.96k|    }
  771|     78|    PyDictObject *dict = _PyObject_GetManagedDict(obj);
  772|     78|    if (dict == NULL || !PyDict_CheckExact(dict)) {
  ------------------
  |  |   19|     78|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_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 (772:9): [True: 0, False: 78]
  |  Branch (772:25): [True: 0, False: 78]
  ------------------
  773|      0|        return false;
  774|      0|    }
  775|     78|    bool result;
  776|     78|    Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|     78|    {
  ------------------
  777|     78|    if (dict->ma_values) {
  ------------------
  |  Branch (777:9): [True: 78, False: 0]
  ------------------
  778|     78|        result = false;
  779|     78|    }
  780|      0|    else {
  781|      0|        result = (_PyDict_LookupIndex(dict, name) >= 0);
  782|      0|    }
  783|     78|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     78|    }
  ------------------
  784|     78|    return result;
  785|     78|}
specialize.c:do_specialize_instance_load_attr:
  791|  3.07k|{
  792|  3.07k|    _PyAttrCache *cache = (_PyAttrCache *)(instr + 1);
  793|  3.07k|    PyTypeObject *type = Py_TYPE(owner);
  ------------------
  |  |  213|  3.07k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  794|  3.07k|    if (tp_version == 0) {
  ------------------
  |  Branch (794:9): [True: 0, False: 3.07k]
  ------------------
  795|      0|        SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_OUT_OF_VERSIONS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  796|      0|        return -1;
  797|      0|    }
  798|  3.07k|    uint8_t oparg = FT_ATOMIC_LOAD_UINT8_RELAXED(instr->op.arg);
  ------------------
  |  |  157|  3.07k|#define FT_ATOMIC_LOAD_UINT8_RELAXED(value) value
  ------------------
  799|  3.07k|    switch(kind) {
  ------------------
  |  Branch (799:12): [True: 3.07k, False: 0]
  ------------------
  800|     12|        case OVERRIDING:
  ------------------
  |  Branch (800:9): [True: 12, False: 3.05k]
  ------------------
  801|     12|            SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_OVERRIDING_DESCRIPTOR);
  ------------------
  |  |   43|     12|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  802|     12|            return -1;
  803|  2.65k|        case METHOD:
  ------------------
  |  Branch (803:9): [True: 2.65k, False: 420]
  ------------------
  804|  2.65k|        {
  805|  2.65k|            if (shadow) {
  ------------------
  |  Branch (805:17): [True: 0, False: 2.65k]
  ------------------
  806|      0|                goto try_instance;
  807|      0|            }
  808|  2.65k|            if (oparg & 1) {
  ------------------
  |  Branch (808:17): [True: 397, False: 2.25k]
  ------------------
  809|    397|                if (specialize_attr_loadclassattr(owner, instr, name, descr,
  ------------------
  |  Branch (809:21): [True: 338, False: 59]
  ------------------
  810|    397|                                                  tp_version, kind, true,
  811|    397|                                                  shared_keys_version)) {
  812|    338|                    return 0;
  813|    338|                }
  814|     59|                else {
  815|     59|                    return -1;
  816|     59|                }
  817|    397|            }
  818|  2.25k|            SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_METHOD);
  ------------------
  |  |   43|  2.25k|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  819|  2.25k|            return -1;
  820|  2.65k|        }
  821|     32|        case PROPERTY:
  ------------------
  |  Branch (821:9): [True: 32, False: 3.03k]
  ------------------
  822|     32|        {
  823|     32|            _PyLoadMethodCache *lm_cache = (_PyLoadMethodCache *)(instr + 1);
  824|     32|            assert(Py_TYPE(descr) == &PyProperty_Type);
  ------------------
  |  Branch (824:13): [True: 32, False: 0]
  ------------------
  825|     32|            PyObject *fget = ((_PyPropertyObject *)descr)->prop_get;
  826|     32|            if (fget == NULL) {
  ------------------
  |  Branch (826:17): [True: 0, False: 32]
  ------------------
  827|      0|                SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_EXPECTED_ERROR);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  828|      0|                return -1;
  829|      0|            }
  830|     32|            if (!Py_IS_TYPE(fget, &PyFunction_Type)) {
  ------------------
  |  |  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 (830:17): [True: 0, False: 32]
  ------------------
  831|      0|                SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_PROPERTY_NOT_PY_FUNCTION);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  832|      0|                return -1;
  833|      0|            }
  834|     32|            if (!function_check_args(fget, 1, LOAD_ATTR)) {
  ------------------
  |  |   89|     32|#define LOAD_ATTR                               76
  ------------------
  |  Branch (834:17): [True: 0, False: 32]
  ------------------
  835|      0|                return -1;
  836|      0|            }
  837|     32|            if (oparg & 1) {
  ------------------
  |  Branch (837:17): [True: 0, False: 32]
  ------------------
  838|      0|                SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_METHOD);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  839|      0|                return -1;
  840|      0|            }
  841|       |            /* Don't specialize if PEP 523 is active */
  842|     32|            if (!_PyInterpreterState_IsSpecializationEnabled(_PyInterpreterState_GET())) {
  ------------------
  |  Branch (842:17): [True: 0, False: 32]
  ------------------
  843|      0|                SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_OTHER);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  844|      0|                return -1;
  845|      0|            }
  846|       |            #ifdef Py_GIL_DISABLED
  847|       |            if (!_PyObject_HasDeferredRefcount(fget)) {
  848|       |                SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_DESCR_NOT_DEFERRED);
  849|       |                return -1;
  850|       |            }
  851|       |            #endif
  852|     32|            uint32_t func_version = function_get_version(fget, LOAD_ATTR);
  ------------------
  |  |   89|     32|#define LOAD_ATTR                               76
  ------------------
  853|     32|            if (func_version == 0) {
  ------------------
  |  Branch (853:17): [True: 0, False: 32]
  ------------------
  854|      0|                return -1;
  855|      0|            }
  856|     32|            assert(tp_version != 0);
  ------------------
  |  Branch (856:13): [True: 32, False: 0]
  ------------------
  857|     32|            write_u32(lm_cache->type_version, tp_version);
  858|     32|            write_u32(lm_cache->keys_version, func_version);
  859|       |            /* borrowed */
  860|     32|            write_ptr(lm_cache->descr, fget);
  861|     32|            specialize(instr, LOAD_ATTR_PROPERTY);
  ------------------
  |  |  195|     32|#define LOAD_ATTR_PROPERTY                     193
  ------------------
  862|     32|            return 0;
  863|     32|        }
  864|     21|        case OBJECT_SLOT:
  ------------------
  |  Branch (864:9): [True: 21, False: 3.05k]
  ------------------
  865|     21|        {
  866|     21|            PyMemberDescrObject *member = (PyMemberDescrObject *)descr;
  867|     21|            struct PyMemberDef *dmem = member->d_member;
  868|     21|            Py_ssize_t offset = dmem->offset;
  869|     21|            if (!PyObject_TypeCheck(owner, member->d_common.d_type)) {
  ------------------
  |  |  378|     21|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (869:17): [True: 0, False: 21]
  ------------------
  870|      0|                SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_EXPECTED_ERROR);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  871|      0|                return -1;
  872|      0|            }
  873|     21|            if (dmem->flags & _Py_AFTER_ITEMS) {
  ------------------
  |  |   89|     21|#  define _Py_AFTER_ITEMS      (1 << 4) // For internal use.
  ------------------
  |  Branch (873:17): [True: 0, False: 21]
  ------------------
  874|      0|                SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_SLOT_AFTER_ITEMS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  875|      0|                return -1;
  876|      0|            }
  877|     21|            if (dmem->flags & Py_AUDIT_READ) {
  ------------------
  |  |   84|     21|#define Py_AUDIT_READ          (1 << 1) // Added in 3.10, harmless no-op before that
  ------------------
  |  Branch (877:17): [True: 0, False: 21]
  ------------------
  878|      0|                SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_AUDITED_SLOT);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  879|      0|                return -1;
  880|      0|            }
  881|     21|            if (offset != (uint16_t)offset) {
  ------------------
  |  Branch (881:17): [True: 0, False: 21]
  ------------------
  882|      0|                SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_OUT_OF_RANGE);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  883|      0|                return -1;
  884|      0|            }
  885|     21|            assert(dmem->type == Py_T_OBJECT_EX || dmem->type == _Py_T_OBJECT);
  ------------------
  |  Branch (885:13): [True: 2, False: 19]
  |  Branch (885:13): [True: 19, False: 0]
  ------------------
  886|     21|            assert(offset > 0);
  ------------------
  |  Branch (886:13): [True: 21, False: 0]
  ------------------
  887|     21|            cache->index = (uint16_t)offset;
  888|     21|            write_u32(cache->version, tp_version);
  889|     21|            specialize(instr, LOAD_ATTR_SLOT);
  ------------------
  |  |  196|     21|#define LOAD_ATTR_SLOT                         194
  ------------------
  890|     21|            return 0;
  891|     21|        }
  892|      4|        case DUNDER_CLASS:
  ------------------
  |  Branch (892:9): [True: 4, False: 3.06k]
  ------------------
  893|      4|        {
  894|      4|            Py_ssize_t offset = offsetof(PyObject, ob_type);
  895|      4|            assert(offset == (uint16_t)offset);
  ------------------
  |  Branch (895:13): [True: 4, False: 0]
  ------------------
  896|      4|            cache->index = (uint16_t)offset;
  897|      4|            write_u32(cache->version, tp_version);
  898|      4|            specialize(instr, LOAD_ATTR_SLOT);
  ------------------
  |  |  196|      4|#define LOAD_ATTR_SLOT                         194
  ------------------
  899|      4|            return 0;
  900|      4|        }
  901|      0|        case OTHER_SLOT:
  ------------------
  |  Branch (901:9): [True: 0, False: 3.07k]
  ------------------
  902|      0|            SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_NON_OBJECT_SLOT);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  903|      0|            return -1;
  904|      1|        case MUTABLE:
  ------------------
  |  Branch (904:9): [True: 1, False: 3.07k]
  ------------------
  905|      1|            SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_MUTABLE_CLASS);
  ------------------
  |  |   43|      1|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  906|      1|            return -1;
  907|      0|        case GETSET_OVERRIDDEN:
  ------------------
  |  Branch (907:9): [True: 0, False: 3.07k]
  ------------------
  908|      0|            SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_OVERRIDDEN);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  909|      0|            return -1;
  910|      0|        case GETATTRIBUTE_IS_PYTHON_FUNCTION:
  ------------------
  |  Branch (910:9): [True: 0, False: 3.07k]
  ------------------
  911|      0|        {
  912|      0|            assert(Py_IS_TYPE(descr, &PyFunction_Type));
  ------------------
  |  Branch (912:13): [True: 0, False: 0]
  ------------------
  913|      0|            _PyLoadMethodCache *lm_cache = (_PyLoadMethodCache *)(instr + 1);
  914|      0|            if (!function_check_args(descr, 2, LOAD_ATTR)) {
  ------------------
  |  |   89|      0|#define LOAD_ATTR                               76
  ------------------
  |  Branch (914:17): [True: 0, False: 0]
  ------------------
  915|      0|                return -1;
  916|      0|            }
  917|      0|            if (oparg & 1) {
  ------------------
  |  Branch (917:17): [True: 0, False: 0]
  ------------------
  918|      0|                SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_METHOD);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  919|      0|                return -1;
  920|      0|            }
  921|      0|            uint32_t version = function_get_version(descr, LOAD_ATTR);
  ------------------
  |  |   89|      0|#define LOAD_ATTR                               76
  ------------------
  922|      0|            if (version == 0) {
  ------------------
  |  Branch (922:17): [True: 0, False: 0]
  ------------------
  923|      0|                return -1;
  924|      0|            }
  925|       |            /* Don't specialize if PEP 523 is active */
  926|      0|            if (!_PyInterpreterState_IsSpecializationEnabled(_PyInterpreterState_GET())) {
  ------------------
  |  Branch (926:17): [True: 0, False: 0]
  ------------------
  927|      0|                SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_OTHER);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  928|      0|                return -1;
  929|      0|            }
  930|       |            #ifdef Py_GIL_DISABLED
  931|       |            if (!_PyObject_HasDeferredRefcount(descr)) {
  932|       |                SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_DESCR_NOT_DEFERRED);
  933|       |                return -1;
  934|       |            }
  935|       |            #endif
  936|      0|            write_u32(lm_cache->keys_version, version);
  937|       |            /* borrowed */
  938|      0|            write_ptr(lm_cache->descr, descr);
  939|      0|            write_u32(lm_cache->type_version, tp_version);
  940|      0|            specialize(instr, LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN);
  ------------------
  |  |  187|      0|#define LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN      185
  ------------------
  941|      0|            return 0;
  942|      0|        }
  943|      0|        case BUILTIN_CLASSMETHOD:
  ------------------
  |  Branch (943:9): [True: 0, False: 3.07k]
  ------------------
  944|      0|        case PYTHON_CLASSMETHOD:
  ------------------
  |  Branch (944:9): [True: 0, False: 3.07k]
  ------------------
  945|      5|        case NON_OVERRIDING:
  ------------------
  |  Branch (945:9): [True: 5, False: 3.06k]
  ------------------
  946|      5|            if (shadow) {
  ------------------
  |  Branch (946:17): [True: 0, False: 5]
  ------------------
  947|      0|                goto try_instance;
  948|      0|            }
  949|      5|            return -1;
  950|     13|        case NON_DESCRIPTOR:
  ------------------
  |  Branch (950:9): [True: 13, False: 3.05k]
  ------------------
  951|     13|            if (shadow) {
  ------------------
  |  Branch (951:17): [True: 0, False: 13]
  ------------------
  952|      0|                goto try_instance;
  953|      0|            }
  954|     13|            if ((oparg & 1) == 0) {
  ------------------
  |  Branch (954:17): [True: 11, False: 2]
  ------------------
  955|     11|                if (specialize_attr_loadclassattr(owner, instr, name, descr,
  ------------------
  |  Branch (955:21): [True: 1, False: 10]
  ------------------
  956|     11|                                                  tp_version, kind, false,
  957|     11|                                                  shared_keys_version)) {
  958|      1|                    return 0;
  959|      1|                }
  960|     11|            }
  961|     12|            return -1;
  962|    332|        case ABSENT:
  ------------------
  |  Branch (962:9): [True: 332, False: 2.73k]
  ------------------
  963|    332|            if (shadow) {
  ------------------
  |  Branch (963:17): [True: 262, False: 70]
  ------------------
  964|    262|                goto try_instance;
  965|    262|            }
  966|     70|            set_counter((_Py_BackoffCounter*)instr + 1, adaptive_counter_cooldown());
  967|     70|            return 0;
  968|  3.07k|    }
  969|  3.07k|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  970|    262|try_instance:
  971|    262|    if (specialize_dict_access(owner, instr, type, kind, name, tp_version,
  ------------------
  |  Branch (971:9): [True: 262, False: 0]
  ------------------
  972|    262|                               LOAD_ATTR, LOAD_ATTR_INSTANCE_VALUE, LOAD_ATTR_WITH_HINT))
  ------------------
  |  |   89|    262|#define LOAD_ATTR                               76
  ------------------
                                             LOAD_ATTR, LOAD_ATTR_INSTANCE_VALUE, LOAD_ATTR_WITH_HINT))
  ------------------
  |  |  188|    262|#define LOAD_ATTR_INSTANCE_VALUE               186
  ------------------
                                             LOAD_ATTR, LOAD_ATTR_INSTANCE_VALUE, LOAD_ATTR_WITH_HINT))
  ------------------
  |  |  197|    262|#define LOAD_ATTR_WITH_HINT                    195
  ------------------
  973|    262|    {
  974|    262|        return 0;
  975|    262|    }
  976|      0|    return -1;
  977|    262|}
specialize.c:specialize_attr_loadclassattr:
 1268|    408|{
 1269|    408|    _PyLoadMethodCache *cache = (_PyLoadMethodCache *)(instr + 1);
 1270|    408|    PyTypeObject *owner_cls = Py_TYPE(owner);
  ------------------
  |  |  213|    408|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    408|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    408|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1271|       |
 1272|    408|    assert(descr != NULL);
  ------------------
  |  Branch (1272:5): [True: 408, False: 0]
  ------------------
 1273|    408|    assert((is_method && kind == METHOD) || (!is_method && kind == NON_DESCRIPTOR));
  ------------------
  |  Branch (1273:5): [True: 397, False: 11]
  |  Branch (1273:5): [True: 397, False: 0]
  |  Branch (1273:5): [True: 11, False: 0]
  |  Branch (1273:5): [True: 11, False: 0]
  ------------------
 1274|       |
 1275|       |    #ifdef Py_GIL_DISABLED
 1276|       |    if (!_PyObject_HasDeferredRefcount(descr)) {
 1277|       |        SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_DESCR_NOT_DEFERRED);
 1278|       |        return 0;
 1279|       |    }
 1280|       |    #endif
 1281|       |
 1282|    408|    unsigned long tp_flags = PyType_GetFlags(owner_cls);
 1283|    408|    if (tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|    408|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (1283:9): [True: 126, False: 282]
  ------------------
 1284|    126|        #ifndef Py_GIL_DISABLED
 1285|    126|        assert(_PyDictKeys_StringLookup(
  ------------------
  |  Branch (1285:9): [True: 126, False: 0]
  ------------------
 1286|    126|                   ((PyHeapTypeObject *)owner_cls)->ht_cached_keys, name) < 0);
 1287|    126|        #endif
 1288|    126|        if (shared_keys_version == 0) {
  ------------------
  |  Branch (1288:13): [True: 0, False: 126]
  ------------------
 1289|      0|            SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_OUT_OF_VERSIONS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1290|      0|            return 0;
 1291|      0|        }
 1292|    126|        specialize(instr, is_method ? LOAD_ATTR_METHOD_WITH_VALUES : LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES);
  ------------------
  |  |  191|    126|#define LOAD_ATTR_METHOD_WITH_VALUES           189
  ------------------
                      specialize(instr, is_method ? LOAD_ATTR_METHOD_WITH_VALUES : LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES);
  ------------------
  |  |  194|    126|#define LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES    192
  ------------------
  |  Branch (1292:27): [True: 126, False: 0]
  ------------------
 1293|    126|    }
 1294|    282|    else {
 1295|    282|        Py_ssize_t dictoffset;
 1296|    282|        if (tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|    282|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (1296:13): [True: 19, False: 263]
  ------------------
 1297|     19|            dictoffset = MANAGED_DICT_OFFSET;
  ------------------
  |  |  925|     19|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
 1298|     19|        }
 1299|    263|        else {
 1300|    263|            dictoffset = owner_cls->tp_dictoffset;
 1301|    263|            if (dictoffset < 0 || dictoffset > INT16_MAX + MANAGED_DICT_OFFSET) {
  ------------------
  |  |  925|    263|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
  |  Branch (1301:17): [True: 0, False: 263]
  |  Branch (1301:35): [True: 0, False: 263]
  ------------------
 1302|      0|                SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_OUT_OF_RANGE);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1303|      0|                return 0;
 1304|      0|            }
 1305|    263|        }
 1306|    282|        if (dictoffset == 0) {
  ------------------
  |  Branch (1306:13): [True: 211, False: 71]
  ------------------
 1307|    211|            specialize(instr, is_method ? LOAD_ATTR_METHOD_NO_DICT : LOAD_ATTR_NONDESCRIPTOR_NO_DICT);
  ------------------
  |  |  190|    210|#define LOAD_ATTR_METHOD_NO_DICT               188
  ------------------
                          specialize(instr, is_method ? LOAD_ATTR_METHOD_NO_DICT : LOAD_ATTR_NONDESCRIPTOR_NO_DICT);
  ------------------
  |  |  193|    212|#define LOAD_ATTR_NONDESCRIPTOR_NO_DICT        191
  ------------------
  |  Branch (1307:31): [True: 210, False: 1]
  ------------------
 1308|    211|        }
 1309|     71|        else if (is_method) {
  ------------------
  |  Branch (1309:18): [True: 61, False: 10]
  ------------------
 1310|     61|            PyObject **addr = (PyObject **)((char *)owner + dictoffset);
 1311|     61|            PyObject *dict = FT_ATOMIC_LOAD_PTR_ACQUIRE(*addr);
  ------------------
  |  |  150|     61|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 1312|     61|            if (dict) {
  ------------------
  |  Branch (1312:17): [True: 59, False: 2]
  ------------------
 1313|     59|                SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_NOT_MANAGED_DICT);
  ------------------
  |  |   43|     59|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1314|     59|                return 0;
 1315|     59|            }
 1316|       |            /* Cache entries must be unsigned values, so we offset the
 1317|       |             * dictoffset by MANAGED_DICT_OFFSET.
 1318|       |             * We do the reverse offset in LOAD_ATTR_METHOD_LAZY_DICT */
 1319|      2|            dictoffset -= MANAGED_DICT_OFFSET;
  ------------------
  |  |  925|      2|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
 1320|      2|            assert(((uint16_t)dictoffset) == dictoffset);
  ------------------
  |  Branch (1320:13): [True: 2, False: 0]
  ------------------
 1321|      2|            cache->dict_offset = (uint16_t)dictoffset;
 1322|      2|            specialize(instr, LOAD_ATTR_METHOD_LAZY_DICT);
  ------------------
  |  |  189|      2|#define LOAD_ATTR_METHOD_LAZY_DICT             187
  ------------------
 1323|      2|        }
 1324|     10|        else {
 1325|     10|            SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_CLASS_ATTR_SIMPLE);
  ------------------
  |  |   43|     10|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1326|     10|            return 0;
 1327|     10|        }
 1328|    282|    }
 1329|       |    /* `descr` is borrowed. This is safe for methods (even inherited ones from
 1330|       |    *  super classes!) as long as tp_version_tag is validated for two main reasons:
 1331|       |    *
 1332|       |    *  1. The class will always hold a reference to the method so it will
 1333|       |    *  usually not be GC-ed. Should it be deleted in Python, e.g.
 1334|       |    *  `del obj.meth`, tp_version_tag will be invalidated, because of reason 2.
 1335|       |    *
 1336|       |    *  2. The pre-existing type method cache (MCACHE) uses the same principles
 1337|       |    *  of caching a borrowed descriptor. The MCACHE infrastructure does all the
 1338|       |    *  heavy lifting for us. E.g. it invalidates tp_version_tag on any MRO
 1339|       |    *  modification, on any type object change along said MRO, etc. (see
 1340|       |    *  PyType_Modified usages in typeobject.c). The MCACHE has been
 1341|       |    *  working since Python 2.6 and it's battle-tested.
 1342|       |    */
 1343|    339|    write_u32(cache->type_version, tp_version);
 1344|    339|    write_ptr(cache->descr, descr);
 1345|    339|    return 1;
 1346|    408|}
specialize.c:function_check_args:
 1480|     32|{
 1481|     32|    assert(Py_IS_TYPE(o, &PyFunction_Type));
  ------------------
  |  Branch (1481:5): [True: 32, False: 0]
  ------------------
 1482|     32|    PyFunctionObject *func = (PyFunctionObject *)o;
 1483|     32|    PyCodeObject *fcode = (PyCodeObject *)func->func_code;
 1484|     32|    int kind = function_kind(fcode);
 1485|     32|    if (kind != SIMPLE_FUNCTION) {
  ------------------
  |  |  125|     32|#define SIMPLE_FUNCTION 0
  ------------------
  |  Branch (1485:9): [True: 0, False: 32]
  ------------------
 1486|      0|        SPECIALIZATION_FAIL(opcode, kind);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1487|      0|        return false;
 1488|      0|    }
 1489|     32|    if (fcode->co_argcount != expected_argcount) {
  ------------------
  |  Branch (1489:9): [True: 0, False: 32]
  ------------------
 1490|      0|        SPECIALIZATION_FAIL(opcode, SPEC_FAIL_WRONG_NUMBER_ARGUMENTS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1491|      0|        return false;
 1492|      0|    }
 1493|     32|    return true;
 1494|     32|}
specialize.c:function_get_version:
 1499|     32|{
 1500|     32|    assert(Py_IS_TYPE(o, &PyFunction_Type));
  ------------------
  |  Branch (1500:5): [True: 32, False: 0]
  ------------------
 1501|     32|    PyFunctionObject *func = (PyFunctionObject *)o;
 1502|     32|    uint32_t version = _PyFunction_GetVersionForCurrentState(func);
 1503|     32|    if (!_PyFunction_IsVersionValid(version)) {
  ------------------
  |  Branch (1503:9): [True: 0, False: 32]
  ------------------
 1504|      0|        SPECIALIZATION_FAIL(opcode, SPEC_FAIL_OUT_OF_VERSIONS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1505|      0|        return 0;
 1506|      0|    }
 1507|     32|    return version;
 1508|     32|}
specialize.c:analyze_descriptor_store:
  619|    269|{
  620|    269|    if (type->tp_setattro != PyObject_GenericSetAttr) {
  ------------------
  |  Branch (620:9): [True: 14, False: 255]
  ------------------
  621|     14|        *descr = NULL;
  622|     14|        return GETSET_OVERRIDDEN;
  623|     14|    }
  624|    255|    PyObject *descriptor = _PyType_LookupRefAndVersion(type, name, tp_version);
  625|    255|    *descr = descriptor;
  626|    255|    if (descriptor_is_class(descriptor, name)) {
  ------------------
  |  Branch (626:9): [True: 0, False: 255]
  ------------------
  627|      0|        return DUNDER_CLASS;
  628|      0|    }
  629|    255|    return classify_descriptor(descriptor, false);
  630|    255|}
specialize.c:specialize_dict_access:
  700|    492|{
  701|    492|    assert(kind == NON_OVERRIDING || kind == NON_DESCRIPTOR || kind == ABSENT ||
  ------------------
  |  Branch (701:5): [True: 0, False: 492]
  |  Branch (701:5): [True: 0, False: 492]
  |  Branch (701:5): [True: 492, False: 0]
  |  Branch (701:5): [True: 0, False: 0]
  |  Branch (701:5): [True: 0, False: 0]
  |  Branch (701:5): [True: 0, False: 0]
  ------------------
  702|    492|        kind == BUILTIN_CLASSMETHOD || kind == PYTHON_CLASSMETHOD ||
  703|    492|        kind == METHOD);
  704|       |    // No descriptor, or non overriding.
  705|    492|    if ((type->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0) {
  ------------------
  |  |  482|    492|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (705:9): [True: 39, False: 453]
  ------------------
  706|     39|        SPECIALIZATION_FAIL(base_op, SPEC_FAIL_ATTR_NOT_MANAGED_DICT);
  ------------------
  |  |   43|     39|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  707|     39|        return 0;
  708|     39|    }
  709|    453|    if (type->tp_flags & Py_TPFLAGS_INLINE_VALUES &&
  ------------------
  |  |  472|    906|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (709:9): [True: 440, False: 13]
  ------------------
  710|    440|        FT_ATOMIC_LOAD_UINT8(_PyObject_InlineValues(owner)->valid) &&
  ------------------
  |  |  154|    893|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (154:37): [True: 440, False: 0]
  |  |  ------------------
  ------------------
  711|    440|        !(base_op == STORE_ATTR && _PyObject_GetManagedDict(owner) != NULL))
  ------------------
  |  |  119|    880|#define STORE_ATTR                             106
  ------------------
  |  Branch (711:11): [True: 178, False: 262]
  |  Branch (711:36): [True: 0, False: 178]
  ------------------
  712|    440|    {
  713|    440|        int res;
  714|    440|        Py_BEGIN_CRITICAL_SECTION(owner);
  ------------------
  |  |   51|    440|    {
  ------------------
  715|    440|        PyDictObject *dict = _PyObject_GetManagedDict(owner);
  716|    440|        if (dict == NULL) {
  ------------------
  |  Branch (716:13): [True: 440, False: 0]
  ------------------
  717|       |            // managed dict, not materialized, inline values valid
  718|    440|            res = specialize_dict_access_inline(owner, instr, type, name,
  719|    440|                                                tp_version, base_op, values_op);
  720|    440|        }
  721|      0|        else {
  722|       |            // lost race and dict was created, fail specialization
  723|      0|            SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_OTHER);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  724|      0|            res = 0;
  725|      0|        }
  726|    440|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    440|    }
  ------------------
  727|    440|        return res;
  728|    440|    }
  729|     13|    else {
  730|     13|        PyDictObject *dict = _PyObject_GetManagedDict(owner);
  731|     13|        if (dict == NULL || !PyDict_CheckExact(dict)) {
  ------------------
  |  |   19|      7|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|      7|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (731:13): [True: 6, False: 7]
  |  Branch (731:29): [True: 0, False: 7]
  ------------------
  732|      6|            SPECIALIZATION_FAIL(base_op, SPEC_FAIL_NO_DICT);
  ------------------
  |  |   43|      6|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  733|      6|            return 0;
  734|      6|        }
  735|      7|        int res;
  736|      7|        Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|      7|    {
  ------------------
  737|       |        // materialized managed dict
  738|      7|        res = specialize_dict_access_hint(dict, instr, type, name,
  739|      7|                                          tp_version, base_op, hint_op);
  740|      7|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      7|    }
  ------------------
  741|      7|        return res;
  742|     13|    }
  743|    453|}
specialize.c:specialize_dict_access_inline:
  637|    440|{
  638|    440|    _PyAttrCache *cache = (_PyAttrCache *)(instr + 1);
  639|    440|    PyDictKeysObject *keys = ((PyHeapTypeObject *)type)->ht_cached_keys;
  640|    440|    assert(PyUnicode_CheckExact(name));
  ------------------
  |  Branch (640:5): [True: 440, False: 0]
  ------------------
  641|    440|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(owner);
  642|    440|    Py_ssize_t index = _PyDictKeys_StringLookupSplit(keys, name);
  643|    440|    assert (index != DKIX_ERROR);
  ------------------
  |  Branch (643:5): [True: 440, False: 0]
  ------------------
  644|    440|    if (index == DKIX_EMPTY) {
  ------------------
  |  |  185|    440|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (644:9): [True: 0, False: 440]
  ------------------
  645|      0|        SPECIALIZATION_FAIL(base_op, SPEC_FAIL_ATTR_NOT_IN_KEYS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  646|      0|        return 0;
  647|      0|    }
  648|    440|    assert(index >= 0);
  ------------------
  |  Branch (648:5): [True: 440, False: 0]
  ------------------
  649|    440|    assert(_PyObject_InlineValues(owner)->valid);
  ------------------
  |  Branch (649:5): [True: 440, False: 0]
  ------------------
  650|    440|    char *value_addr = (char *)&_PyObject_InlineValues(owner)->values[index];
  651|    440|    Py_ssize_t offset = value_addr - (char *)owner;
  652|    440|    if (offset != (uint16_t)offset) {
  ------------------
  |  Branch (652:9): [True: 0, False: 440]
  ------------------
  653|      0|        SPECIALIZATION_FAIL(base_op, SPEC_FAIL_OUT_OF_RANGE);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  654|      0|        return 0;
  655|      0|    }
  656|    440|    cache->index = (uint16_t)offset;
  657|    440|    write_u32(cache->version, tp_version);
  658|    440|    specialize(instr, values_op);
  659|    440|    return 1;
  660|    440|}
specialize.c:specialize_dict_access_hint:
  667|      7|{
  668|      7|    _PyAttrCache *cache = (_PyAttrCache *)(instr + 1);
  669|       |
  670|      7|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(dict);
  671|       |#ifdef Py_GIL_DISABLED
  672|       |    _PyDict_EnsureSharedOnRead(dict);
  673|       |#endif
  674|       |
  675|       |    // We found an instance with a __dict__.
  676|      7|    if (_PyDict_HasSplitTable(dict)) {
  ------------------
  |  |   56|      7|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 7, False: 0]
  |  |  ------------------
  ------------------
  677|      7|        SPECIALIZATION_FAIL(base_op, SPEC_FAIL_ATTR_SPLIT_DICT);
  ------------------
  |  |   43|      7|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  678|      7|        return 0;
  679|      7|    }
  680|      0|    Py_ssize_t index = _PyDict_LookupIndex(dict, name);
  681|      0|    if (index != (uint16_t)index) {
  ------------------
  |  Branch (681:9): [True: 0, False: 0]
  ------------------
  682|      0|        SPECIALIZATION_FAIL(base_op,
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  683|      0|                            index == DKIX_EMPTY ?
  684|      0|                            SPEC_FAIL_ATTR_NOT_IN_DICT :
  685|      0|                            SPEC_FAIL_OUT_OF_RANGE);
  686|      0|        return 0;
  687|      0|    }
  688|      0|    cache->index = (uint16_t)index;
  689|      0|    write_u32(cache->version, tp_version);
  690|      0|    specialize(instr, hint_op);
  691|      0|    return 1;
  692|      0|}
specialize.c:specialize_class_load_attr:
 1172|    397|{
 1173|    397|    assert(PyType_Check(owner));
  ------------------
  |  Branch (1173:5): [True: 397, False: 0]
  ------------------
 1174|    397|    PyTypeObject *cls = (PyTypeObject *)owner;
 1175|    397|    _PyLoadMethodCache *cache = (_PyLoadMethodCache *)(instr + 1);
 1176|    397|    if (Py_TYPE(cls)->tp_getattro != _Py_type_getattro) {
  ------------------
  |  |  213|    397|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    397|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    397|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1176:9): [True: 0, False: 397]
  ------------------
 1177|      0|        SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_METACLASS_OVERRIDDEN);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1178|      0|        return -1;
 1179|      0|    }
 1180|    397|    unsigned int meta_version = 0;
 1181|    397|    PyObject *metadescriptor = _PyType_LookupRefAndVersion(Py_TYPE(cls), name, &meta_version);
  ------------------
  |  |  213|    397|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    397|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    397|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1182|    397|    DescriptorClassification metakind = classify_descriptor(metadescriptor, false);
 1183|    397|    Py_XDECREF(metadescriptor);
  ------------------
  |  |  524|    397|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    397|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    397|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1184|    397|    switch (metakind) {
 1185|     15|        case METHOD:
  ------------------
  |  Branch (1185:9): [True: 15, False: 382]
  ------------------
 1186|     23|        case NON_DESCRIPTOR:
  ------------------
  |  Branch (1186:9): [True: 8, False: 389]
  ------------------
 1187|     29|        case NON_OVERRIDING:
  ------------------
  |  Branch (1187:9): [True: 6, False: 391]
  ------------------
 1188|     29|        case BUILTIN_CLASSMETHOD:
  ------------------
  |  Branch (1188:9): [True: 0, False: 397]
  ------------------
 1189|     29|        case PYTHON_CLASSMETHOD:
  ------------------
  |  Branch (1189:9): [True: 0, False: 397]
  ------------------
 1190|    260|        case ABSENT:
  ------------------
  |  Branch (1190:9): [True: 231, False: 166]
  ------------------
 1191|    260|            break;
 1192|    137|        default:
  ------------------
  |  Branch (1192:9): [True: 137, False: 260]
  ------------------
 1193|    137|            SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_METACLASS_ATTRIBUTE);
  ------------------
  |  |   43|    137|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1194|    137|            return -1;
 1195|    397|    }
 1196|    260|    PyObject *descr = NULL;
 1197|    260|    DescriptorClassification kind = 0;
 1198|    260|    unsigned int tp_version = 0;
 1199|    260|    kind = analyze_descriptor_load(cls, name, &descr, &tp_version);
 1200|    260|    if (tp_version == 0) {
  ------------------
  |  Branch (1200:9): [True: 0, False: 260]
  ------------------
 1201|      0|        SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_OUT_OF_VERSIONS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1202|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1203|      0|        return -1;
 1204|      0|    }
 1205|    260|    bool metaclass_check = false;
 1206|    260|    if ((Py_TYPE(cls)->tp_flags & Py_TPFLAGS_IMMUTABLETYPE) == 0) {
  ------------------
  |  |  213|    260|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    260|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    260|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if ((Py_TYPE(cls)->tp_flags & Py_TPFLAGS_IMMUTABLETYPE) == 0) {
  ------------------
  |  |  500|    260|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (1206:9): [True: 50, False: 210]
  ------------------
 1207|     50|        metaclass_check = true;
 1208|     50|        if (meta_version == 0) {
  ------------------
  |  Branch (1208:13): [True: 0, False: 50]
  ------------------
 1209|      0|            SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_OUT_OF_VERSIONS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1210|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1211|      0|            return -1;
 1212|      0|        }
 1213|     50|    }
 1214|    260|    switch (kind) {
 1215|      0|        case MUTABLE:
  ------------------
  |  Branch (1215:9): [True: 0, False: 260]
  ------------------
 1216|       |            // special case for enums which has Py_TYPE(descr) == cls
 1217|       |            // so guarding on type version is sufficient
 1218|      0|            if (Py_TYPE(descr) != cls) {
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_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 (1218:17): [True: 0, False: 0]
  ------------------
 1219|      0|                SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_MUTABLE_CLASS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1220|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1221|      0|                return -1;
 1222|      0|            }
 1223|      0|            if (Py_TYPE(descr)->tp_descr_get || Py_TYPE(descr)->tp_descr_set) {
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_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(descr)->tp_descr_get || Py_TYPE(descr)->tp_descr_set) {
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_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 (1223:17): [True: 0, False: 0]
  |  Branch (1223:49): [True: 0, False: 0]
  ------------------
 1224|      0|                SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_OVERRIDING_DESCRIPTOR);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1225|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1226|      0|                return -1;
 1227|      0|            }
 1228|      0|            _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 1229|     15|        case METHOD:
  ------------------
  |  Branch (1229:9): [True: 15, False: 245]
  ------------------
 1230|     60|        case NON_DESCRIPTOR:
  ------------------
  |  Branch (1230:9): [True: 45, False: 215]
  ------------------
 1231|       |#ifdef Py_GIL_DISABLED
 1232|       |            maybe_enable_deferred_ref_count(descr);
 1233|       |#endif
 1234|     60|            write_ptr(cache->descr, descr);
 1235|     60|            if (metaclass_check) {
  ------------------
  |  Branch (1235:17): [True: 37, False: 23]
  ------------------
 1236|     37|                write_u32(cache->keys_version, tp_version);
 1237|     37|                write_u32(cache->type_version, meta_version);
 1238|     37|                specialize(instr, LOAD_ATTR_CLASS_WITH_METACLASS_CHECK);
  ------------------
  |  |  186|     37|#define LOAD_ATTR_CLASS_WITH_METACLASS_CHECK   184
  ------------------
 1239|     37|            }
 1240|     23|            else {
 1241|     23|                write_u32(cache->type_version, tp_version);
 1242|     23|                specialize(instr, LOAD_ATTR_CLASS);
  ------------------
  |  |  185|     23|#define LOAD_ATTR_CLASS                        183
  ------------------
 1243|     23|            }
 1244|     60|            Py_XDECREF(descr);
  ------------------
  |  |  524|     60|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     60|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1245|     60|            return 0;
 1246|       |#ifdef Py_STATS
 1247|       |        case ABSENT:
 1248|       |            SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_EXPECTED_ERROR);
 1249|       |            Py_XDECREF(descr);
 1250|       |            return -1;
 1251|       |#endif
 1252|    200|        default:
  ------------------
  |  Branch (1252:9): [True: 200, False: 60]
  ------------------
 1253|    200|            SPECIALIZATION_FAIL(LOAD_ATTR, load_attr_fail_kind(kind));
  ------------------
  |  |   43|    200|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1254|    200|            Py_XDECREF(descr);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1255|    200|            return -1;
 1256|    260|    }
 1257|    260|}
specialize.c:specialize_load_global_lock_held:
 1352|  1.60k|{
 1353|  1.60k|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (1353:5): [True: 1.60k, Folded]
  ------------------
 1354|  1.60k|    assert(_PyOpcode_Caches[LOAD_GLOBAL] == INLINE_CACHE_ENTRIES_LOAD_GLOBAL);
  ------------------
  |  Branch (1354:5): [True: 1.60k, False: 0]
  ------------------
 1355|       |    /* Use inline cache */
 1356|  1.60k|    _PyLoadGlobalCache *cache = (_PyLoadGlobalCache *)(instr + 1);
 1357|  1.60k|    assert(PyUnicode_CheckExact(name));
  ------------------
  |  Branch (1357:5): [True: 1.60k, False: 0]
  ------------------
 1358|  1.60k|    if (!PyDict_CheckExact(globals)) {
  ------------------
  |  |   19|  1.60k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|  1.60k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1358:9): [True: 0, False: 1.60k]
  ------------------
 1359|      0|        SPECIALIZATION_FAIL(LOAD_GLOBAL, SPEC_FAIL_LOAD_GLOBAL_NON_DICT);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1360|      0|        goto fail;
 1361|      0|    }
 1362|  1.60k|    PyDictKeysObject * globals_keys = ((PyDictObject *)globals)->ma_keys;
 1363|  1.60k|    if (globals_keys->dk_kind != DICT_KEYS_UNICODE) {
  ------------------
  |  Branch (1363:9): [True: 0, False: 1.60k]
  ------------------
 1364|      0|        SPECIALIZATION_FAIL(LOAD_GLOBAL, SPEC_FAIL_LOAD_GLOBAL_NON_STRING_OR_SPLIT);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1365|      0|        goto fail;
 1366|      0|    }
 1367|  1.60k|    PyObject *value;
 1368|  1.60k|    Py_ssize_t index = _PyDict_LookupIndexAndValue((PyDictObject *)globals, name, &value);
 1369|  1.60k|    if (index == DKIX_ERROR) {
  ------------------
  |  |  187|  1.60k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (1369:9): [True: 0, False: 1.60k]
  ------------------
 1370|      0|        SPECIALIZATION_FAIL(LOAD_GLOBAL, SPEC_FAIL_EXPECTED_ERROR);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1371|      0|        goto fail;
 1372|      0|    }
 1373|  1.60k|    if (value != NULL && PyLazyImport_CheckExact(value)) {
  ------------------
  |  |   15|  1.05k|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  ------------------
  |  |  |  |  215|  1.05k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.05k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 1.05k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1373:9): [True: 1.05k, False: 551]
  ------------------
 1374|      0|        SPECIALIZATION_FAIL(LOAD_GLOBAL, SPEC_FAIL_ATTR_MODULE_LAZY_VALUE);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1375|      0|        goto fail;
 1376|      0|    }
 1377|  1.60k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 1378|  1.60k|    if (index != DKIX_EMPTY) {
  ------------------
  |  |  185|  1.60k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (1378:9): [True: 1.05k, False: 551]
  ------------------
 1379|  1.05k|        if (index != (uint16_t)index) {
  ------------------
  |  Branch (1379:13): [True: 0, False: 1.05k]
  ------------------
 1380|      0|            SPECIALIZATION_FAIL(LOAD_GLOBAL, SPEC_FAIL_OUT_OF_RANGE);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1381|      0|            goto fail;
 1382|      0|        }
 1383|  1.05k|        uint32_t keys_version = _PyDict_GetKeysVersionForCurrentState(
 1384|  1.05k|                interp, (PyDictObject*) globals);
 1385|  1.05k|        if (keys_version == 0) {
  ------------------
  |  Branch (1385:13): [True: 0, False: 1.05k]
  ------------------
 1386|      0|            SPECIALIZATION_FAIL(LOAD_GLOBAL, SPEC_FAIL_OUT_OF_VERSIONS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1387|      0|            goto fail;
 1388|      0|        }
 1389|  1.05k|        if (keys_version != (uint16_t)keys_version) {
  ------------------
  |  Branch (1389:13): [True: 0, False: 1.05k]
  ------------------
 1390|      0|            SPECIALIZATION_FAIL(LOAD_GLOBAL, SPEC_FAIL_OUT_OF_RANGE);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1391|      0|            goto fail;
 1392|      0|        }
 1393|  1.05k|        PyDict_Watch(MODULE_WATCHER_ID, globals);
  ------------------
  |  |  306|  1.05k|#define MODULE_WATCHER_ID       2
  ------------------
 1394|       |#ifdef Py_GIL_DISABLED
 1395|       |        maybe_enable_deferred_ref_count(value);
 1396|       |#endif
 1397|  1.05k|        cache->index = (uint16_t)index;
 1398|  1.05k|        cache->module_keys_version = (uint16_t)keys_version;
 1399|  1.05k|        specialize(instr, LOAD_GLOBAL_MODULE);
  ------------------
  |  |  199|  1.05k|#define LOAD_GLOBAL_MODULE                     197
  ------------------
 1400|  1.05k|        return;
 1401|  1.05k|    }
 1402|    551|    if (!PyDict_CheckExact(builtins)) {
  ------------------
  |  |   19|    551|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|    551|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    551|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    551|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1402:9): [True: 0, False: 551]
  ------------------
 1403|      0|        SPECIALIZATION_FAIL(LOAD_GLOBAL, SPEC_FAIL_LOAD_GLOBAL_NON_DICT);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1404|      0|        goto fail;
 1405|      0|    }
 1406|    551|    PyDictKeysObject * builtin_keys = ((PyDictObject *)builtins)->ma_keys;
 1407|    551|    if (builtin_keys->dk_kind != DICT_KEYS_UNICODE) {
  ------------------
  |  Branch (1407:9): [True: 0, False: 551]
  ------------------
 1408|      0|        SPECIALIZATION_FAIL(LOAD_GLOBAL, SPEC_FAIL_LOAD_GLOBAL_NON_STRING_OR_SPLIT);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1409|      0|        goto fail;
 1410|      0|    }
 1411|    551|    index = _PyDict_LookupIndexAndValue((PyDictObject *)builtins, name, &value);
 1412|    551|    if (index == DKIX_ERROR) {
  ------------------
  |  |  187|    551|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (1412:9): [True: 0, False: 551]
  ------------------
 1413|      0|        SPECIALIZATION_FAIL(LOAD_GLOBAL, SPEC_FAIL_EXPECTED_ERROR);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1414|      0|        goto fail;
 1415|      0|    }
 1416|    551|    if (value != NULL && PyLazyImport_CheckExact(value)) {
  ------------------
  |  |   15|    551|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  ------------------
  |  |  |  |  215|    551|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    551|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    551|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 551]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1416:9): [True: 551, False: 0]
  ------------------
 1417|      0|        SPECIALIZATION_FAIL(LOAD_GLOBAL, SPEC_FAIL_ATTR_MODULE_LAZY_VALUE);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1418|      0|        goto fail;
 1419|      0|    }
 1420|    551|    if (index != (uint16_t)index) {
  ------------------
  |  Branch (1420:9): [True: 0, False: 551]
  ------------------
 1421|      0|        SPECIALIZATION_FAIL(LOAD_GLOBAL, SPEC_FAIL_OUT_OF_RANGE);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1422|      0|        goto fail;
 1423|      0|    }
 1424|    551|    uint32_t globals_version = _PyDict_GetKeysVersionForCurrentState(
 1425|    551|            interp, (PyDictObject*) globals);
 1426|    551|    if (globals_version == 0) {
  ------------------
  |  Branch (1426:9): [True: 0, False: 551]
  ------------------
 1427|      0|        SPECIALIZATION_FAIL(LOAD_GLOBAL, SPEC_FAIL_OUT_OF_VERSIONS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1428|      0|        goto fail;
 1429|      0|    }
 1430|    551|    if (globals_version != (uint16_t)globals_version) {
  ------------------
  |  Branch (1430:9): [True: 0, False: 551]
  ------------------
 1431|      0|        SPECIALIZATION_FAIL(LOAD_GLOBAL, SPEC_FAIL_OUT_OF_RANGE);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1432|      0|        goto fail;
 1433|      0|    }
 1434|    551|    PyDict_Watch(MODULE_WATCHER_ID, globals);
  ------------------
  |  |  306|    551|#define MODULE_WATCHER_ID       2
  ------------------
 1435|    551|    uint32_t builtins_version = _PyDict_GetKeysVersionForCurrentState(
 1436|    551|            interp, (PyDictObject*) builtins);
 1437|    551|    if (builtins_version == 0) {
  ------------------
  |  Branch (1437:9): [True: 0, False: 551]
  ------------------
 1438|      0|        SPECIALIZATION_FAIL(LOAD_GLOBAL, SPEC_FAIL_OUT_OF_VERSIONS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1439|      0|        goto fail;
 1440|      0|    }
 1441|    551|    if (builtins_version > UINT16_MAX) {
  ------------------
  |  Branch (1441:9): [True: 0, False: 551]
  ------------------
 1442|      0|        SPECIALIZATION_FAIL(LOAD_GLOBAL, SPEC_FAIL_OUT_OF_RANGE);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1443|      0|        goto fail;
 1444|      0|    }
 1445|    551|    PyDict_Watch(MODULE_WATCHER_ID, builtins);
  ------------------
  |  |  306|    551|#define MODULE_WATCHER_ID       2
  ------------------
 1446|    551|    cache->index = (uint16_t)index;
 1447|    551|    cache->module_keys_version = (uint16_t)globals_version;
 1448|    551|    cache->builtin_keys_version = (uint16_t)builtins_version;
 1449|    551|    specialize(instr, LOAD_GLOBAL_BUILTIN);
  ------------------
  |  |  198|    551|#define LOAD_GLOBAL_BUILTIN                    196
  ------------------
 1450|    551|    return;
 1451|      0|fail:
 1452|      0|    unspecialize(instr);
 1453|      0|}
specialize.c:specialize_c_call:
 1822|  21.3k|{
 1823|  21.3k|    if (PyCFunction_GET_FUNCTION(callable) == NULL) {
  ------------------
  |  |   43|  21.3k|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  21.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1823:9): [True: 0, False: 21.3k]
  ------------------
 1824|      0|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_OTHER);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1825|      0|        return 1;
 1826|      0|    }
 1827|  21.3k|    switch (PyCFunction_GET_FLAGS(callable) &
  ------------------
  |  |   57|  21.3k|#define PyCFunction_GET_FLAGS(func) PyCFunction_GET_FLAGS(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  21.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1828|  21.3k|        (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O |
  ------------------
  |  |   95|  21.3k|#define METH_VARARGS  0x0001
  ------------------
                      (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O |
  ------------------
  |  |  115|  21.3k|#  define METH_FASTCALL  0x0080
  ------------------
                      (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O |
  ------------------
  |  |   98|  21.3k|#define METH_NOARGS   0x0004
  ------------------
                      (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O |
  ------------------
  |  |   99|  21.3k|#define METH_O        0x0008
  ------------------
 1829|  21.3k|        METH_KEYWORDS | METH_METHOD)) {
  ------------------
  |  |   96|  21.3k|#define METH_KEYWORDS 0x0002
  ------------------
                      METH_KEYWORDS | METH_METHOD)) {
  ------------------
  |  |  133|  21.3k|#define METH_METHOD 0x0200
  ------------------
 1830|    222|        case METH_O: {
  ------------------
  |  |   99|    222|#define METH_O        0x0008
  ------------------
  |  Branch (1830:9): [True: 222, False: 21.0k]
  ------------------
 1831|    222|            if (nargs != 1) {
  ------------------
  |  Branch (1831:17): [True: 0, False: 222]
  ------------------
 1832|      0|                SPECIALIZATION_FAIL(CALL, SPEC_FAIL_WRONG_NUMBER_ARGUMENTS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1833|      0|                return 1;
 1834|      0|            }
 1835|       |            /* len(o) */
 1836|    222|            PyInterpreterState *interp = _PyInterpreterState_GET();
 1837|    222|            if (callable == interp->callable_cache.len && instr->op.arg == 1) {
  ------------------
  |  Branch (1837:17): [True: 107, False: 115]
  |  Branch (1837:59): [True: 107, False: 0]
  ------------------
 1838|    107|                specialize(instr, CALL_LEN);
  ------------------
  |  |  159|    107|#define CALL_LEN                               157
  ------------------
 1839|    107|                return 0;
 1840|    107|            }
 1841|    115|            specialize(instr, CALL_BUILTIN_O);
  ------------------
  |  |  152|    115|#define CALL_BUILTIN_O                         150
  ------------------
 1842|    115|            return 0;
 1843|    222|        }
 1844|  21.0k|        case METH_FASTCALL: {
  ------------------
  |  |  115|  21.0k|#  define METH_FASTCALL  0x0080
  ------------------
  |  Branch (1844:9): [True: 21.0k, False: 299]
  ------------------
 1845|  21.0k|            if (nargs == 2) {
  ------------------
  |  Branch (1845:17): [True: 106, False: 20.9k]
  ------------------
 1846|       |                /* isinstance(o1, o2) */
 1847|    106|                PyInterpreterState *interp = _PyInterpreterState_GET();
 1848|    106|                if (callable == interp->callable_cache.isinstance && instr->op.arg == 2) {
  ------------------
  |  Branch (1848:21): [True: 55, False: 51]
  |  Branch (1848:70): [True: 55, False: 0]
  ------------------
 1849|     55|                    specialize(instr, CALL_ISINSTANCE);
  ------------------
  |  |  155|     55|#define CALL_ISINSTANCE                        153
  ------------------
 1850|     55|                    return 0;
 1851|     55|                }
 1852|    106|            }
 1853|  20.9k|            specialize(instr, CALL_BUILTIN_FAST);
  ------------------
  |  |  150|  20.9k|#define CALL_BUILTIN_FAST                      148
  ------------------
 1854|  20.9k|            return 0;
 1855|  21.0k|        }
 1856|     48|        case METH_FASTCALL | METH_KEYWORDS: {
  ------------------
  |  |  115|     48|#  define METH_FASTCALL  0x0080
  ------------------
                      case METH_FASTCALL | METH_KEYWORDS: {
  ------------------
  |  |   96|     48|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (1856:9): [True: 48, False: 21.2k]
  ------------------
 1857|     48|            specialize(instr, CALL_BUILTIN_FAST_WITH_KEYWORDS);
  ------------------
  |  |  151|     48|#define CALL_BUILTIN_FAST_WITH_KEYWORDS        149
  ------------------
 1858|     48|            return 0;
 1859|  21.0k|        }
 1860|     29|        default:
  ------------------
  |  Branch (1860:9): [True: 29, False: 21.2k]
  ------------------
 1861|     29|            specialize(instr, CALL_NON_PY_GENERAL);
  ------------------
  |  |  165|     29|#define CALL_NON_PY_GENERAL                    163
  ------------------
 1862|     29|            return 0;
 1863|  21.3k|    }
 1864|  21.3k|}
specialize.c:specialize_py_call:
 1750|  15.5k|{
 1751|  15.5k|    _PyCallCache *cache = (_PyCallCache *)(instr + 1);
 1752|  15.5k|    PyCodeObject *code = (PyCodeObject *)func->func_code;
 1753|  15.5k|    int kind = function_kind(code);
 1754|       |    /* Don't specialize if PEP 523 is active */
 1755|  15.5k|    if (!_PyInterpreterState_IsSpecializationEnabled(_PyInterpreterState_GET())) {
  ------------------
  |  Branch (1755:9): [True: 0, False: 15.5k]
  ------------------
 1756|      0|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_CALL_PEP_523);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1757|      0|        return -1;
 1758|      0|    }
 1759|  15.5k|    if (func->vectorcall != _PyFunction_Vectorcall) {
  ------------------
  |  Branch (1759:9): [True: 0, False: 15.5k]
  ------------------
 1760|      0|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_CALL_VECTORCALL);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1761|      0|        return -1;
 1762|      0|    }
 1763|  15.5k|    int argcount = -1;
 1764|  15.5k|    if (kind == SPEC_FAIL_CODE_NOT_OPTIMIZED) {
  ------------------
  |  |  137|  15.5k|#define SPEC_FAIL_CODE_NOT_OPTIMIZED 8
  ------------------
  |  Branch (1764:9): [True: 0, False: 15.5k]
  ------------------
 1765|      0|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_CODE_NOT_OPTIMIZED);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1766|      0|        return -1;
 1767|      0|    }
 1768|  15.5k|    if (kind == SIMPLE_FUNCTION) {
  ------------------
  |  |  125|  15.5k|#define SIMPLE_FUNCTION 0
  ------------------
  |  Branch (1768:9): [True: 15.5k, False: 42]
  ------------------
 1769|  15.5k|        argcount = code->co_argcount;
 1770|  15.5k|    }
 1771|  15.5k|    int version = _PyFunction_GetVersionForCurrentState(func);
 1772|  15.5k|    if (!_PyFunction_IsVersionValid(version)) {
  ------------------
  |  Branch (1772:9): [True: 0, False: 15.5k]
  ------------------
 1773|      0|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_OUT_OF_VERSIONS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1774|      0|        return -1;
 1775|      0|    }
 1776|  15.5k|    write_u32(cache->func_version, version);
 1777|  15.5k|    uint8_t opcode;
 1778|  15.5k|    if (argcount == nargs + bound_method) {
  ------------------
  |  Branch (1778:9): [True: 15.2k, False: 305]
  ------------------
 1779|  15.2k|        opcode =
 1780|  15.2k|            bound_method ? CALL_BOUND_METHOD_EXACT_ARGS : CALL_PY_EXACT_ARGS;
  ------------------
  |  |  147|  3.82k|#define CALL_BOUND_METHOD_EXACT_ARGS           145
  ------------------
                          bound_method ? CALL_BOUND_METHOD_EXACT_ARGS : CALL_PY_EXACT_ARGS;
  ------------------
  |  |  166|  26.6k|#define CALL_PY_EXACT_ARGS                     164
  ------------------
  |  Branch (1780:13): [True: 3.82k, False: 11.4k]
  ------------------
 1781|  15.2k|    }
 1782|    305|    else {
 1783|    305|        opcode = bound_method ? CALL_BOUND_METHOD_GENERAL : CALL_PY_GENERAL;
  ------------------
  |  |  148|      2|#define CALL_BOUND_METHOD_GENERAL              146
  ------------------
                      opcode = bound_method ? CALL_BOUND_METHOD_GENERAL : CALL_PY_GENERAL;
  ------------------
  |  |  167|    608|#define CALL_PY_GENERAL                        165
  ------------------
  |  Branch (1783:18): [True: 2, False: 303]
  ------------------
 1784|    305|    }
 1785|  15.5k|    specialize(instr, opcode);
 1786|  15.5k|    return 0;
 1787|  15.5k|}
specialize.c:specialize_class_call:
 1650|  1.98k|{
 1651|  1.98k|    assert(PyType_Check(callable));
  ------------------
  |  Branch (1651:5): [True: 1.98k, False: 0]
  ------------------
 1652|  1.98k|    PyTypeObject *tp = _PyType_CAST(callable);
  ------------------
  |  |  770|  1.98k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.98k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1652:24): [True: 1.98k, False: 0]
  ------------------
 1653|  1.98k|    if (tp->tp_flags & Py_TPFLAGS_IMMUTABLETYPE) {
  ------------------
  |  |  500|  1.98k|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (1653:9): [True: 90, False: 1.89k]
  ------------------
 1654|     90|        int oparg = instr->op.arg;
 1655|     90|        if (nargs == 1 && oparg == 1) {
  ------------------
  |  Branch (1655:13): [True: 57, False: 33]
  |  Branch (1655:27): [True: 56, False: 1]
  ------------------
 1656|     56|            if (tp == &PyUnicode_Type) {
  ------------------
  |  Branch (1656:17): [True: 4, False: 52]
  ------------------
 1657|      4|                specialize(instr, CALL_STR_1);
  ------------------
  |  |  168|      4|#define CALL_STR_1                             166
  ------------------
 1658|      4|                return 0;
 1659|      4|            }
 1660|     52|            else if (tp == &PyType_Type) {
  ------------------
  |  Branch (1660:22): [True: 10, False: 42]
  ------------------
 1661|     10|                specialize(instr, CALL_TYPE_1);
  ------------------
  |  |  170|     10|#define CALL_TYPE_1                            168
  ------------------
 1662|     10|                return 0;
 1663|     10|            }
 1664|     42|            else if (tp == &PyTuple_Type) {
  ------------------
  |  Branch (1664:22): [True: 2, False: 40]
  ------------------
 1665|      2|                specialize(instr, CALL_TUPLE_1);
  ------------------
  |  |  169|      2|#define CALL_TUPLE_1                           167
  ------------------
 1666|      2|                return 0;
 1667|      2|            }
 1668|     56|        }
 1669|     74|        if (tp->tp_vectorcall != NULL) {
  ------------------
  |  Branch (1669:13): [True: 60, False: 14]
  ------------------
 1670|     60|            specialize(instr, CALL_BUILTIN_CLASS);
  ------------------
  |  |  149|     60|#define CALL_BUILTIN_CLASS                     147
  ------------------
 1671|     60|            return 0;
 1672|     60|        }
 1673|     14|        goto generic;
 1674|     74|    }
 1675|  1.89k|    if (Py_TYPE(tp) != &PyType_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1675:9): [True: 2, False: 1.89k]
  ------------------
 1676|      2|        goto generic;
 1677|      2|    }
 1678|  1.89k|    if (tp->tp_new == PyBaseObject_Type.tp_new) {
  ------------------
  |  Branch (1678:9): [True: 1.88k, False: 11]
  ------------------
 1679|  1.88k|        unsigned int tp_version = 0;
 1680|  1.88k|        PyObject *init = get_init_for_simple_managed_python_class(tp, &tp_version);
 1681|  1.88k|        if (!tp_version) {
  ------------------
  |  Branch (1681:13): [True: 0, False: 1.88k]
  ------------------
 1682|      0|            SPECIALIZATION_FAIL(CALL, SPEC_FAIL_OUT_OF_VERSIONS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1683|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1684|      0|            return -1;
 1685|      0|        }
 1686|  1.88k|        if (init != NULL && _PyType_CacheInitForSpecialization(
  ------------------
  |  Branch (1686:13): [True: 1.87k, False: 4]
  |  Branch (1686:29): [True: 1.87k, False: 0]
  ------------------
 1687|  1.87k|                                (PyHeapTypeObject *)tp, init, tp_version)) {
 1688|  1.87k|            _PyCallCache *cache = (_PyCallCache *)(instr + 1);
 1689|  1.87k|            write_u32(cache->func_version, tp_version);
 1690|  1.87k|            specialize(instr, CALL_ALLOC_AND_ENTER_INIT);
  ------------------
  |  |  146|  1.87k|#define CALL_ALLOC_AND_ENTER_INIT              144
  ------------------
 1691|  1.87k|            Py_DECREF(init);
  ------------------
  |  |  430|  1.87k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.87k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.87k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1692|  1.87k|            return 0;
 1693|  1.87k|        }
 1694|      4|        Py_XDECREF(init);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1695|      4|    }
 1696|     31|generic:
 1697|     31|    specialize(instr, CALL_NON_PY_GENERAL);
  ------------------
  |  |  165|     31|#define CALL_NON_PY_GENERAL                    163
  ------------------
 1698|     31|    return 0;
 1699|  1.89k|}
specialize.c:get_init_for_simple_managed_python_class:
 1621|  1.88k|{
 1622|  1.88k|    assert(tp->tp_new == PyBaseObject_Type.tp_new);
  ------------------
  |  Branch (1622:5): [True: 1.88k, False: 0]
  ------------------
 1623|  1.88k|    if (tp->tp_alloc != PyType_GenericAlloc) {
  ------------------
  |  Branch (1623:9): [True: 0, False: 1.88k]
  ------------------
 1624|      0|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_OVERRIDDEN);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1625|      0|        return NULL;
 1626|      0|    }
 1627|  1.88k|    unsigned long tp_flags = PyType_GetFlags(tp);
 1628|  1.88k|    if (!(tp_flags & Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|  1.88k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1628:9): [True: 0, False: 1.88k]
  ------------------
 1629|       |        /* Is this possible? */
 1630|      0|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_EXPECTED_ERROR);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1631|      0|        return NULL;
 1632|      0|    }
 1633|  1.88k|    PyObject *init = _PyType_LookupRefAndVersion(tp, &_Py_ID(__init__), tp_version);
  ------------------
  |  |  920|  1.88k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.88k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.88k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1634|  1.88k|    if (init == NULL || !PyFunction_Check(init)) {
  ------------------
  |  |   68|  1.88k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  ------------------
  |  |  |  |  215|  1.88k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.88k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1634:9): [True: 0, False: 1.88k]
  |  Branch (1634:25): [True: 2, False: 1.88k]
  ------------------
 1635|      2|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_CALL_INIT_NOT_PYTHON);
  ------------------
  |  |   43|      2|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1636|      2|        Py_XDECREF(init);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1637|      2|        return NULL;
 1638|      2|    }
 1639|  1.88k|    int kind = function_kind((PyCodeObject *)PyFunction_GET_CODE(init));
  ------------------
  |  |   93|  1.88k|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  1.88k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1640|  1.88k|    if (kind != SIMPLE_FUNCTION) {
  ------------------
  |  |  125|  1.88k|#define SIMPLE_FUNCTION 0
  ------------------
  |  Branch (1640:9): [True: 2, False: 1.87k]
  ------------------
 1641|      2|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_CALL_INIT_NOT_SIMPLE);
  ------------------
  |  |   43|      2|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1642|      2|        Py_DECREF(init);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1643|      2|        return NULL;
 1644|      2|    }
 1645|  1.87k|    return init;
 1646|  1.88k|}
specialize.c:specialize_method_descriptor:
 1704|    233|{
 1705|    233|    switch (descr->d_method->ml_flags &
  ------------------
  |  Branch (1705:13): [True: 219, False: 14]
  ------------------
 1706|    233|        (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O |
  ------------------
  |  |   95|    233|#define METH_VARARGS  0x0001
  ------------------
                      (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O |
  ------------------
  |  |  115|    233|#  define METH_FASTCALL  0x0080
  ------------------
                      (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O |
  ------------------
  |  |   98|    233|#define METH_NOARGS   0x0004
  ------------------
                      (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O |
  ------------------
  |  |   99|    233|#define METH_O        0x0008
  ------------------
 1707|    233|        METH_KEYWORDS | METH_METHOD)) {
  ------------------
  |  |   96|    233|#define METH_KEYWORDS 0x0002
  ------------------
                      METH_KEYWORDS | METH_METHOD)) {
  ------------------
  |  |  133|    233|#define METH_METHOD 0x0200
  ------------------
 1708|     24|        case METH_NOARGS: {
  ------------------
  |  |   98|     24|#define METH_NOARGS   0x0004
  ------------------
  |  Branch (1708:9): [True: 24, False: 209]
  ------------------
 1709|     24|            if (nargs != 1) {
  ------------------
  |  Branch (1709:17): [True: 0, False: 24]
  ------------------
 1710|      0|                SPECIALIZATION_FAIL(CALL, SPEC_FAIL_WRONG_NUMBER_ARGUMENTS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1711|      0|                return -1;
 1712|      0|            }
 1713|     24|            specialize(instr, CALL_METHOD_DESCRIPTOR_NOARGS);
  ------------------
  |  |  163|     24|#define CALL_METHOD_DESCRIPTOR_NOARGS          161
  ------------------
 1714|     24|            return 0;
 1715|     24|        }
 1716|     85|        case METH_O: {
  ------------------
  |  |   99|     85|#define METH_O        0x0008
  ------------------
  |  Branch (1716:9): [True: 85, False: 148]
  ------------------
 1717|     85|            if (nargs != 2) {
  ------------------
  |  Branch (1717:17): [True: 0, False: 85]
  ------------------
 1718|      0|                SPECIALIZATION_FAIL(CALL, SPEC_FAIL_WRONG_NUMBER_ARGUMENTS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1719|      0|                return -1;
 1720|      0|            }
 1721|     85|            PyInterpreterState *interp = _PyInterpreterState_GET();
 1722|     85|            PyObject *list_append = interp->callable_cache.list_append;
 1723|     85|            int oparg = instr->op.arg;
 1724|     85|            if ((PyObject *)descr == list_append && oparg == 1) {
  ------------------
  |  Branch (1724:17): [True: 36, False: 49]
  |  Branch (1724:53): [True: 36, False: 0]
  ------------------
 1725|     36|                assert(self_or_null != NULL);
  ------------------
  |  Branch (1725:17): [True: 36, False: 0]
  ------------------
 1726|     36|                if (PyList_CheckExact(self_or_null)) {
  ------------------
  |  |   26|     36|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_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: 33, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1727|     33|                    specialize(instr, CALL_LIST_APPEND);
  ------------------
  |  |  160|     33|#define CALL_LIST_APPEND                       158
  ------------------
 1728|     33|                    return 0;
 1729|     33|                }
 1730|     36|            }
 1731|     52|            specialize(instr, CALL_METHOD_DESCRIPTOR_O);
  ------------------
  |  |  164|     52|#define CALL_METHOD_DESCRIPTOR_O               162
  ------------------
 1732|     52|            return 0;
 1733|     85|        }
 1734|     93|        case METH_FASTCALL: {
  ------------------
  |  |  115|     93|#  define METH_FASTCALL  0x0080
  ------------------
  |  Branch (1734:9): [True: 93, False: 140]
  ------------------
 1735|     93|            specialize(instr, CALL_METHOD_DESCRIPTOR_FAST);
  ------------------
  |  |  161|     93|#define CALL_METHOD_DESCRIPTOR_FAST            159
  ------------------
 1736|     93|            return 0;
 1737|     85|        }
 1738|     17|        case METH_FASTCALL | METH_KEYWORDS: {
  ------------------
  |  |  115|     17|#  define METH_FASTCALL  0x0080
  ------------------
                      case METH_FASTCALL | METH_KEYWORDS: {
  ------------------
  |  |   96|     17|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (1738:9): [True: 17, False: 216]
  ------------------
 1739|     17|            specialize(instr, CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS);
  ------------------
  |  |  162|     17|#define CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS 160
  ------------------
 1740|     17|            return 0;
 1741|     85|        }
 1742|    233|    }
 1743|     14|    specialize(instr, CALL_NON_PY_GENERAL);
  ------------------
  |  |  165|     14|#define CALL_NON_PY_GENERAL                    163
  ------------------
 1744|     14|    return 0;
 1745|    233|}
specialize.c:specialize_py_call_kw:
 1793|      9|{
 1794|      9|    _PyCallCache *cache = (_PyCallCache *)(instr + 1);
 1795|      9|    PyCodeObject *code = (PyCodeObject *)func->func_code;
 1796|      9|    int kind = function_kind(code);
 1797|       |    /* Don't specialize if PEP 523 is active */
 1798|      9|    if (!_PyInterpreterState_IsSpecializationEnabled(_PyInterpreterState_GET())) {
  ------------------
  |  Branch (1798:9): [True: 0, False: 9]
  ------------------
 1799|      0|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_CALL_PEP_523);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1800|      0|        return -1;
 1801|      0|    }
 1802|      9|    if (func->vectorcall != _PyFunction_Vectorcall) {
  ------------------
  |  Branch (1802:9): [True: 0, False: 9]
  ------------------
 1803|      0|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_CALL_VECTORCALL);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1804|      0|        return -1;
 1805|      0|    }
 1806|      9|    if (kind == SPEC_FAIL_CODE_NOT_OPTIMIZED) {
  ------------------
  |  |  137|      9|#define SPEC_FAIL_CODE_NOT_OPTIMIZED 8
  ------------------
  |  Branch (1806:9): [True: 0, False: 9]
  ------------------
 1807|      0|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_CODE_NOT_OPTIMIZED);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1808|      0|        return -1;
 1809|      0|    }
 1810|      9|    int version = _PyFunction_GetVersionForCurrentState(func);
 1811|      9|    if (!_PyFunction_IsVersionValid(version)) {
  ------------------
  |  Branch (1811:9): [True: 0, False: 9]
  ------------------
 1812|      0|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_OUT_OF_VERSIONS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1813|      0|        return -1;
 1814|      0|    }
 1815|      9|    write_u32(cache->func_version, version);
 1816|      9|    specialize(instr, bound_method ? CALL_KW_BOUND_METHOD : CALL_KW_PY);
  ------------------
  |  |  156|      0|#define CALL_KW_BOUND_METHOD                   154
  ------------------
                  specialize(instr, bound_method ? CALL_KW_BOUND_METHOD : CALL_KW_PY);
  ------------------
  |  |  158|     18|#define CALL_KW_PY                             156
  ------------------
  |  Branch (1816:23): [True: 0, False: 9]
  ------------------
 1817|      9|    return 0;
 1818|      9|}
specialize.c:function_kind:
 1466|  19.2k|function_kind(PyCodeObject *code) {
 1467|  19.2k|    int flags = code->co_flags;
 1468|  19.2k|    if ((flags & (CO_VARKEYWORDS | CO_VARARGS)) || code->co_kwonlyargcount) {
  ------------------
  |  |  125|  19.2k|#define CO_VARKEYWORDS  0x0008
  ------------------
                  if ((flags & (CO_VARKEYWORDS | CO_VARARGS)) || code->co_kwonlyargcount) {
  ------------------
  |  |  124|  19.2k|#define CO_VARARGS      0x0004
  ------------------
  |  Branch (1468:9): [True: 38, False: 19.2k]
  |  Branch (1468:52): [True: 13, False: 19.2k]
  ------------------
 1469|     51|        return SPEC_FAIL_CODE_COMPLEX_PARAMETERS;
  ------------------
  |  |  136|     51|#define SPEC_FAIL_CODE_COMPLEX_PARAMETERS 7
  ------------------
 1470|     51|    }
 1471|  19.2k|    if ((flags & CO_OPTIMIZED) == 0) {
  ------------------
  |  |  122|  19.2k|#define CO_OPTIMIZED    0x0001
  ------------------
  |  Branch (1471:9): [True: 0, False: 19.2k]
  ------------------
 1472|      0|        return SPEC_FAIL_CODE_NOT_OPTIMIZED;
  ------------------
  |  |  137|      0|#define SPEC_FAIL_CODE_NOT_OPTIMIZED 8
  ------------------
 1473|      0|    }
 1474|  19.2k|    return SIMPLE_FUNCTION;
  ------------------
  |  |  125|  19.2k|#define SIMPLE_FUNCTION 0
  ------------------
 1475|  19.2k|}
specialize.c:binary_op_extended_specialization:
 2315|  14.4k|{
 2316|  14.4k|    size_t n = sizeof(binaryop_extend_descrs)/sizeof(_PyBinaryOpSpecializationDescr);
 2317|   587k|    for (size_t i = 0; i < n; i++) {
  ------------------
  |  Branch (2317:24): [True: 573k, False: 14.3k]
  ------------------
 2318|   573k|        _PyBinaryOpSpecializationDescr *d = &binaryop_extend_descrs[i];
 2319|   573k|        if (d->oparg != oparg) {
  ------------------
  |  Branch (2319:13): [True: 501k, False: 71.9k]
  ------------------
 2320|   501k|            continue;
 2321|   501k|        }
 2322|  71.9k|        int match = (d->guard != NULL)
  ------------------
  |  Branch (2322:21): [True: 27.0k, False: 44.9k]
  ------------------
 2323|  71.9k|            ? d->guard(lhs, rhs)
 2324|  71.9k|            : (Py_TYPE(lhs) == d->lhs_type && Py_TYPE(rhs) == d->rhs_type);
  ------------------
  |  |  213|  44.9k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  44.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  44.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          : (Py_TYPE(lhs) == d->lhs_type && Py_TYPE(rhs) == d->rhs_type);
  ------------------
  |  |  213|  4.62k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2324:16): [True: 4.62k, False: 40.3k]
  |  Branch (2324:47): [True: 17, False: 4.60k]
  ------------------
 2325|  71.9k|        if (match) {
  ------------------
  |  Branch (2325:13): [True: 92, False: 71.9k]
  ------------------
 2326|     92|            *descr = d;
 2327|     92|            return 1;
 2328|     92|        }
 2329|  71.9k|    }
 2330|  14.3k|    return 0;
 2331|  14.4k|}
specialize.c:compactlongs_guard:
 2157|  14.0M|{
 2158|  14.0M|    return (is_compactlong(lhs) && is_compactlong(rhs));
  ------------------
  |  Branch (2158:13): [True: 14.0M, False: 14]
  |  Branch (2158:36): [True: 14.0M, False: 7]
  ------------------
 2159|  14.0M|}
specialize.c:is_compactlong:
 2132|  28.0M|{
 2133|  28.0M|    return PyLong_CheckExact(v) &&
  ------------------
  |  |   14|  28.0M|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  56.1M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  28.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  28.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 28.0M, False: 17]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2134|  28.0M|           _PyLong_IsCompact((PyLongObject *)v);
  ------------------
  |  Branch (2134:12): [True: 28.0M, False: 4]
  ------------------
 2135|  28.0M|}
specialize.c:compactlongs_or:
 2164|   515k|    { \
 2165|   515k|        Py_ssize_t rhs_val = _PyLong_CompactValue((PyLongObject *)rhs); \
 2166|   515k|        Py_ssize_t lhs_val = _PyLong_CompactValue((PyLongObject *)lhs); \
 2167|   515k|        return PyLong_FromSsize_t(lhs_val OP rhs_val); \
 2168|   515k|    }
specialize.c:compactlongs_and:
 2164|  13.5M|    { \
 2165|  13.5M|        Py_ssize_t rhs_val = _PyLong_CompactValue((PyLongObject *)rhs); \
 2166|  13.5M|        Py_ssize_t lhs_val = _PyLong_CompactValue((PyLongObject *)lhs); \
 2167|  13.5M|        return PyLong_FromSsize_t(lhs_val OP rhs_val); \
 2168|  13.5M|    }
specialize.c:compactlongs_xor:
 2164|      5|    { \
 2165|      5|        Py_ssize_t rhs_val = _PyLong_CompactValue((PyLongObject *)rhs); \
 2166|      5|        Py_ssize_t lhs_val = _PyLong_CompactValue((PyLongObject *)lhs); \
 2167|      5|        return PyLong_FromSsize_t(lhs_val OP rhs_val); \
 2168|      5|    }
specialize.c:float_compactlong_guard:
 2178|  13.4k|{
 2179|  13.4k|    return (
 2180|  13.4k|        PyFloat_CheckExact(lhs) &&
  ------------------
  |  |   17|  13.4k|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|  26.9k|#  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: 0, False: 13.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2181|      0|        !isnan(PyFloat_AS_DOUBLE(lhs)) &&
  ------------------
  |  Branch (2181:9): [True: 0, False: 0]
  ------------------
 2182|  13.4k|        PyLong_CheckExact(rhs) &&
  ------------------
  |  |   14|      0|#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|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2183|      0|        _PyLong_IsCompact((PyLongObject *)rhs)
  ------------------
  |  Branch (2183:9): [True: 0, False: 0]
  ------------------
 2184|  13.4k|    );
 2185|  13.4k|}
specialize.c:compactlong_float_guard:
 2213|  13.4k|{
 2214|  13.4k|    return (
 2215|  13.4k|        PyLong_CheckExact(lhs) &&
  ------------------
  |  |   14|  13.4k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  26.9k|#  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: 13.4k, False: 77]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2216|  13.4k|        _PyLong_IsCompact((PyLongObject *)lhs) &&
  ------------------
  |  Branch (2216:9): [True: 3.24k, False: 10.1k]
  ------------------
 2217|  13.4k|        PyFloat_CheckExact(rhs) &&
  ------------------
  |  |   17|  3.24k|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|  16.7k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.24k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 3.24k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2218|      0|        !isnan(PyFloat_AS_DOUBLE(rhs))
  ------------------
  |  Branch (2218:9): [True: 0, False: 0]
  ------------------
 2219|  13.4k|    );
 2220|  13.4k|}
specialize.c:check_type_always_true:
 2817|    586|{
 2818|    586|    PyNumberMethods *nb = ty->tp_as_number;
 2819|    586|    if (nb && nb->nb_bool) {
  ------------------
  |  Branch (2819:9): [True: 586, False: 0]
  |  Branch (2819:15): [True: 5, False: 581]
  ------------------
 2820|      5|        return SPEC_FAIL_TO_BOOL_NUMBER;
  ------------------
  |  |  314|      5|#define SPEC_FAIL_TO_BOOL_NUMBER      15
  ------------------
 2821|      5|    }
 2822|    581|    PyMappingMethods *mp = ty->tp_as_mapping;
 2823|    581|    if (mp && mp->mp_length) {
  ------------------
  |  Branch (2823:9): [True: 581, False: 0]
  |  Branch (2823:15): [True: 580, False: 1]
  ------------------
 2824|    580|        return SPEC_FAIL_TO_BOOL_MAPPING;
  ------------------
  |  |  312|    580|#define SPEC_FAIL_TO_BOOL_MAPPING     13
  ------------------
 2825|    580|    }
 2826|      1|    PySequenceMethods *sq = ty->tp_as_sequence;
 2827|      1|    if (sq && sq->sq_length) {
  ------------------
  |  Branch (2827:9): [True: 1, False: 0]
  |  Branch (2827:15): [True: 0, False: 1]
  ------------------
 2828|      0|      return SPEC_FAIL_TO_BOOL_SEQUENCE;
  ------------------
  |  |  315|      0|#define SPEC_FAIL_TO_BOOL_SEQUENCE    16
  ------------------
 2829|      0|    }
 2830|      1|    return 0;
 2831|      1|}
specialize.c:set_counter:
  348|   235k|{
  349|   235k|    FT_ATOMIC_STORE_UINT16_RELAXED(counter->value_and_backoff,
  ------------------
  |  |  171|   235k|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  ------------------
  350|   235k|                                   value.value_and_backoff);
  351|   235k|}

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

_PySymtable_Build:
  417|      3|{
  418|      3|    struct symtable *st = symtable_new();
  419|      3|    asdl_stmt_seq *seq;
  420|      3|    Py_ssize_t i;
  421|      3|    PyThreadState *tstate;
  422|       |
  423|      3|    if (st == NULL)
  ------------------
  |  Branch (423:9): [True: 0, False: 3]
  ------------------
  424|      0|        return NULL;
  425|      3|    if (filename == NULL) {
  ------------------
  |  Branch (425:9): [True: 0, False: 3]
  ------------------
  426|      0|        _PySymtable_Free(st);
  427|      0|        return NULL;
  428|      0|    }
  429|      3|    st->st_filename = Py_NewRef(filename);
  ------------------
  |  |  550|      3|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  430|      3|    st->st_future = future;
  431|       |
  432|       |    /* Setup recursion depth check counters */
  433|      3|    tstate = _PyThreadState_GET();
  434|      3|    if (!tstate) {
  ------------------
  |  Branch (434:9): [True: 0, False: 3]
  ------------------
  435|      0|        _PySymtable_Free(st);
  436|      0|        return NULL;
  437|      0|    }
  438|       |
  439|       |    /* Make the initial symbol information gathering pass */
  440|       |
  441|      3|    _Py_SourceLocation loc0 = {0, 0, 0, 0};
  442|      3|    if (!symtable_enter_block(st, &_Py_ID(top), ModuleBlock, (void *)mod, loc0)) {
  ------------------
  |  |  920|      3|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      3|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      3|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (442:9): [True: 0, False: 3]
  ------------------
  443|      0|        _PySymtable_Free(st);
  444|      0|        return NULL;
  445|      0|    }
  446|       |
  447|      3|    st->st_top = st->st_cur;
  448|      3|    switch (mod->kind) {
  ------------------
  |  Branch (448:13): [True: 3, False: 0]
  ------------------
  449|      0|    case Module_kind:
  ------------------
  |  Branch (449:5): [True: 0, False: 3]
  ------------------
  450|      0|        seq = mod->v.Module.body;
  451|      0|        if (_PyAST_GetDocString(seq)) {
  ------------------
  |  Branch (451:13): [True: 0, False: 0]
  ------------------
  452|      0|            st->st_cur->ste_has_docstring = 1;
  453|      0|        }
  454|      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 (454:21): [True: 0, False: 0]
  ------------------
  455|      0|            if (!symtable_visit_stmt(st,
  ------------------
  |  Branch (455:17): [True: 0, False: 0]
  ------------------
  456|      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))
  |  |  ------------------
  ------------------
  457|      0|                goto error;
  458|      0|        break;
  459|      3|    case Expression_kind:
  ------------------
  |  Branch (459:5): [True: 3, False: 0]
  ------------------
  460|      3|        if (!symtable_visit_expr(st, mod->v.Expression.body))
  ------------------
  |  Branch (460:13): [True: 0, False: 3]
  ------------------
  461|      0|            goto error;
  462|      3|        break;
  463|      3|    case Interactive_kind:
  ------------------
  |  Branch (463:5): [True: 0, False: 3]
  ------------------
  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: 3]
  ------------------
  471|      0|        PyErr_SetString(PyExc_RuntimeError,
  472|      0|                        "this compiler does not handle FunctionTypes");
  473|      0|        goto error;
  474|      3|    }
  475|      3|    if (!symtable_exit_block(st)) {
  ------------------
  |  Branch (475:9): [True: 0, False: 3]
  ------------------
  476|      0|        _PySymtable_Free(st);
  477|      0|        return NULL;
  478|      0|    }
  479|       |    /* Make the second symbol analysis pass */
  480|      3|    if (symtable_analyze(st)) {
  ------------------
  |  Branch (480:9): [True: 3, False: 0]
  ------------------
  481|       |#if _PY_DUMP_SYMTABLE
  482|       |        dump_symtable(st->st_top);
  483|       |#endif
  484|      3|        return st;
  485|      3|    }
  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|      3|}
_PySymtable_Free:
  497|      3|{
  498|      3|    Py_XDECREF(st->st_filename);
  ------------------
  |  |  524|      3|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  499|      3|    Py_XDECREF(st->st_blocks);
  ------------------
  |  |  524|      3|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  500|      3|    Py_XDECREF(st->st_stack);
  ------------------
  |  |  524|      3|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  501|      3|    PyMem_Free((void *)st);
  502|      3|}
_PySymtable_Lookup:
  506|      6|{
  507|      6|    PyObject *k, *v;
  508|       |
  509|      6|    k = PyLong_FromVoidPtr(key);
  510|      6|    if (k == NULL)
  ------------------
  |  Branch (510:9): [True: 0, False: 6]
  ------------------
  511|      0|        return NULL;
  512|      6|    if (PyDict_GetItemRef(st->st_blocks, k, &v) == 0) {
  ------------------
  |  Branch (512:9): [True: 0, False: 6]
  ------------------
  513|      0|        PyErr_SetString(PyExc_KeyError,
  514|      0|                        "unknown symbol table entry");
  515|      0|    }
  516|      6|    Py_DECREF(k);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  517|       |
  518|      6|    assert(v == NULL || PySTEntry_Check(v));
  ------------------
  |  Branch (518:5): [True: 0, False: 6]
  |  Branch (518:5): [True: 6, False: 0]
  ------------------
  519|      6|    return (PySTEntryObject *)v;
  520|      6|}
_PyST_GetSymbol:
  539|     18|{
  540|     18|    PyObject *v;
  541|     18|    if (PyDict_GetItemRef(ste->ste_symbols, name, &v) < 0) {
  ------------------
  |  Branch (541:9): [True: 0, False: 18]
  ------------------
  542|      0|        return -1;
  543|      0|    }
  544|     18|    if (!v) {
  ------------------
  |  Branch (544:9): [True: 0, False: 18]
  ------------------
  545|      0|        return 0;
  546|      0|    }
  547|     18|    long symbol = PyLong_AsLong(v);
  548|     18|    Py_DECREF(v);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  549|     18|    if (symbol < 0) {
  ------------------
  |  Branch (549:9): [True: 0, False: 18]
  ------------------
  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|     18|    return symbol;
  556|     18|}
_PyST_GetScope:
  560|     18|{
  561|     18|    long symbol = _PyST_GetSymbol(ste, name);
  562|     18|    if (symbol < 0) {
  ------------------
  |  Branch (562:9): [True: 0, False: 18]
  ------------------
  563|      0|        return -1;
  564|      0|    }
  565|     18|    return SYMBOL_TO_SCOPE(symbol);
  ------------------
  |  |  185|     18|#define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  183|     18|#define SCOPE_OFFSET 12
  |  |  ------------------
  |  |               #define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  184|     18|#define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|     18|#define DEF_GLOBAL 1             /* global stmt */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  166|     18|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  167|     18|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  168|     18|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  566|     18|}
_PyST_IsFunctionLike:
  570|     57|{
  571|     57|    return ste->ste_type == FunctionBlock
  ------------------
  |  Branch (571:12): [True: 45, False: 12]
  ------------------
  572|     12|        || ste->ste_type == AnnotationBlock
  ------------------
  |  Branch (572:12): [True: 0, False: 12]
  ------------------
  573|     12|        || ste->ste_type == TypeVariableBlock
  ------------------
  |  Branch (573:12): [True: 0, False: 12]
  ------------------
  574|     12|        || ste->ste_type == TypeAliasBlock
  ------------------
  |  Branch (574:12): [True: 0, False: 12]
  ------------------
  575|     12|        || ste->ste_type == TypeParametersBlock;
  ------------------
  |  Branch (575:12): [True: 0, False: 12]
  ------------------
  576|     57|}
_Py_MaybeMangle:
 3268|     51|{
 3269|       |    /* Special case for type parameter blocks around generic classes:
 3270|       |     * we want to mangle type parameter names (so a type param with a private
 3271|       |     * name can be used inside the class body), but we don't want to mangle
 3272|       |     * any other names that appear within the type parameter scope.
 3273|       |     */
 3274|     51|    if (ste->ste_mangled_names != NULL) {
  ------------------
  |  Branch (3274:9): [True: 0, False: 51]
  ------------------
 3275|      0|        int result = PySet_Contains(ste->ste_mangled_names, name);
 3276|      0|        if (result < 0) {
  ------------------
  |  Branch (3276:13): [True: 0, False: 0]
  ------------------
 3277|      0|            return NULL;
 3278|      0|        }
 3279|      0|        if (result == 0) {
  ------------------
  |  Branch (3279:13): [True: 0, False: 0]
  ------------------
 3280|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3281|      0|        }
 3282|      0|    }
 3283|     51|    return _Py_Mangle(privateobj, name);
 3284|     51|}
_Py_Mangle:
 3309|     87|{
 3310|       |    /* Name mangling: __private becomes _classname__private.
 3311|       |       This is independent from how the name is used. */
 3312|     87|    if (privateobj == NULL || !PyUnicode_Check(privateobj) ||
  ------------------
  |  |  103|     36|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    123|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3312:9): [True: 51, False: 36]
  |  Branch (3312:31): [True: 0, False: 36]
  ------------------
 3313|     36|        PyUnicode_READ_CHAR(ident, 0) != '_' ||
  ------------------
  |  |  381|     36|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3313:9): [True: 11, False: 25]
  ------------------
 3314|     87|        PyUnicode_READ_CHAR(ident, 1) != '_') {
  ------------------
  |  |  381|     25|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|     25|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3314:9): [True: 25, False: 0]
  ------------------
 3315|     87|        return Py_NewRef(ident);
  ------------------
  |  |  550|     87|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     87|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     87|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3316|     87|    }
 3317|      0|    size_t nlen = PyUnicode_GET_LENGTH(ident);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3318|      0|    size_t plen = PyUnicode_GET_LENGTH(privateobj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3319|       |    /* Don't mangle __id__ or names with dots.
 3320|       |
 3321|       |       The only time a name with a dot can occur is when
 3322|       |       we are compiling an import statement that has a
 3323|       |       package name.
 3324|       |
 3325|       |       TODO(jhylton): Decide whether we want to support
 3326|       |       mangling of the module name, e.g. __M.X.
 3327|       |    */
 3328|      0|    if ((PyUnicode_READ_CHAR(ident, nlen-1) == '_' &&
  ------------------
  |  |  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 (3328:10): [True: 0, False: 0]
  ------------------
 3329|      0|         PyUnicode_READ_CHAR(ident, nlen-2) == '_') ||
  ------------------
  |  |  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 (3329:10): [True: 0, False: 0]
  ------------------
 3330|      0|        PyUnicode_FindChar(ident, '.', 0, nlen, 1) != -1) {
  ------------------
  |  Branch (3330:9): [True: 0, False: 0]
  ------------------
 3331|      0|        return Py_NewRef(ident); /* Don't mangle __whatever__ */
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3332|      0|    }
 3333|       |    /* Strip leading underscores from class name */
 3334|      0|    size_t ipriv = 0;
 3335|      0|    while (PyUnicode_READ_CHAR(privateobj, ipriv) == '_') {
  ------------------
  |  |  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 (3335:12): [True: 0, False: 0]
  ------------------
 3336|      0|        ipriv++;
 3337|      0|    }
 3338|      0|    if (ipriv == plen) {
  ------------------
  |  Branch (3338:9): [True: 0, False: 0]
  ------------------
 3339|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3340|      0|    }
 3341|       |
 3342|      0|    if (nlen + (plen - ipriv) >= PY_SSIZE_T_MAX - 1) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (3342:9): [True: 0, False: 0]
  ------------------
 3343|      0|        PyErr_SetString(PyExc_OverflowError,
 3344|      0|                        "private identifier too large to be mangled");
 3345|      0|        return NULL;
 3346|      0|    }
 3347|       |
 3348|      0|    PyUnicodeWriter *writer = PyUnicodeWriter_Create(1 + nlen + (plen - ipriv));
 3349|      0|    if (!writer) {
  ------------------
  |  Branch (3349:9): [True: 0, False: 0]
  ------------------
 3350|      0|        return NULL;
 3351|      0|    }
 3352|       |    // ident = "_" + priv[ipriv:] + ident
 3353|      0|    if (PyUnicodeWriter_WriteChar(writer, '_') < 0) {
  ------------------
  |  Branch (3353:9): [True: 0, False: 0]
  ------------------
 3354|      0|        goto error;
 3355|      0|    }
 3356|      0|    if (PyUnicodeWriter_WriteSubstring(writer, privateobj, ipriv, plen) < 0) {
  ------------------
  |  Branch (3356:9): [True: 0, False: 0]
  ------------------
 3357|      0|        goto error;
 3358|      0|    }
 3359|      0|    if (PyUnicodeWriter_WriteStr(writer, ident) < 0) {
  ------------------
  |  Branch (3359:9): [True: 0, False: 0]
  ------------------
 3360|      0|        goto error;
 3361|      0|    }
 3362|      0|    return PyUnicodeWriter_Finish(writer);
 3363|       |
 3364|      0|error:
 3365|      0|    PyUnicodeWriter_Discard(writer);
 3366|       |    return NULL;
 3367|      0|}
symtable.c:ste_dealloc:
  185|      6|{
  186|      6|    PySTEntryObject *ste = (PySTEntryObject *)op;
  187|      6|    ste->ste_table = NULL;
  188|      6|    Py_XDECREF(ste->ste_id);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  189|      6|    Py_XDECREF(ste->ste_name);
  ------------------
  |  |  524|      6|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  190|      6|    Py_XDECREF(ste->ste_function_name);
  ------------------
  |  |  524|      6|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  191|      6|    Py_XDECREF(ste->ste_symbols);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  192|      6|    Py_XDECREF(ste->ste_varnames);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  193|      6|    Py_XDECREF(ste->ste_children);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  194|      6|    Py_XDECREF(ste->ste_directives);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  195|      6|    Py_XDECREF(ste->ste_annotation_block);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  196|      6|    Py_XDECREF(ste->ste_mangled_names);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  197|      6|    PyObject_Free(ste);
  198|      6|}
symtable.c:symtable_new:
  391|      3|{
  392|      3|    struct symtable *st;
  393|       |
  394|      3|    st = (struct symtable *)PyMem_Malloc(sizeof(struct symtable));
  395|      3|    if (st == NULL) {
  ------------------
  |  Branch (395:9): [True: 0, False: 3]
  ------------------
  396|      0|        PyErr_NoMemory();
  397|      0|        return NULL;
  398|      0|    }
  399|       |
  400|      3|    st->st_filename = NULL;
  401|      3|    st->st_blocks = NULL;
  402|       |
  403|      3|    if ((st->st_stack = PyList_New(0)) == NULL)
  ------------------
  |  Branch (403:9): [True: 0, False: 3]
  ------------------
  404|      0|        goto fail;
  405|      3|    if ((st->st_blocks = PyDict_New()) == NULL)
  ------------------
  |  Branch (405:9): [True: 0, False: 3]
  ------------------
  406|      0|        goto fail;
  407|      3|    st->st_cur = NULL;
  408|      3|    st->st_private = NULL;
  409|      3|    return st;
  410|      0| fail:
  411|      0|    _PySymtable_Free(st);
  412|       |    return NULL;
  413|      3|}
symtable.c:symtable_analyze:
 1378|      3|{
 1379|      3|    PyObject *free, *global, *type_params;
 1380|      3|    int r;
 1381|       |
 1382|      3|    free = PySet_New(NULL);
 1383|      3|    if (!free)
  ------------------
  |  Branch (1383:9): [True: 0, False: 3]
  ------------------
 1384|      0|        return 0;
 1385|      3|    global = PySet_New(NULL);
 1386|      3|    if (!global) {
  ------------------
  |  Branch (1386:9): [True: 0, False: 3]
  ------------------
 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|        return 0;
 1389|      0|    }
 1390|      3|    type_params = PySet_New(NULL);
 1391|      3|    if (!type_params) {
  ------------------
  |  Branch (1391:9): [True: 0, False: 3]
  ------------------
 1392|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1393|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1394|      0|        return 0;
 1395|      0|    }
 1396|      3|    r = analyze_block(st->st_top, NULL, free, global, type_params, NULL);
 1397|      3|    Py_DECREF(free);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1398|      3|    Py_DECREF(global);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1399|      3|    Py_DECREF(type_params);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1400|      3|    return r;
 1401|      3|}
symtable.c:analyze_block:
 1142|      6|{
 1143|      6|    PyObject *name, *v, *local = NULL, *scopes = NULL, *newbound = NULL;
 1144|      6|    PyObject *newglobal = NULL, *newfree = NULL, *inlined_cells = NULL;
 1145|      6|    PyObject *temp;
 1146|      6|    int success = 0;
 1147|      6|    Py_ssize_t i, pos = 0;
 1148|       |
 1149|      6|    local = PySet_New(NULL);  /* collect new names bound in block */
 1150|      6|    if (!local)
  ------------------
  |  Branch (1150:9): [True: 0, False: 6]
  ------------------
 1151|      0|        goto error;
 1152|      6|    scopes = PyDict_New();  /* collect scopes defined for each name */
 1153|      6|    if (!scopes)
  ------------------
  |  Branch (1153:9): [True: 0, False: 6]
  ------------------
 1154|      0|        goto error;
 1155|       |
 1156|       |    /* Allocate new global, bound and free variable sets.  These
 1157|       |       sets hold the names visible in nested blocks.  For
 1158|       |       ClassBlocks, the bound and global names are initialized
 1159|       |       before analyzing names, because class bindings aren't
 1160|       |       visible in methods.  For other blocks, they are initialized
 1161|       |       after names are analyzed.
 1162|       |     */
 1163|       |
 1164|       |    /* TODO(jhylton): Package these dicts in a struct so that we
 1165|       |       can write reasonable helper functions?
 1166|       |    */
 1167|      6|    newglobal = PySet_New(NULL);
 1168|      6|    if (!newglobal)
  ------------------
  |  Branch (1168:9): [True: 0, False: 6]
  ------------------
 1169|      0|        goto error;
 1170|      6|    newfree = PySet_New(NULL);
 1171|      6|    if (!newfree)
  ------------------
  |  Branch (1171:9): [True: 0, False: 6]
  ------------------
 1172|      0|        goto error;
 1173|      6|    newbound = PySet_New(NULL);
 1174|      6|    if (!newbound)
  ------------------
  |  Branch (1174:9): [True: 0, False: 6]
  ------------------
 1175|      0|        goto error;
 1176|      6|    inlined_cells = PySet_New(NULL);
 1177|      6|    if (!inlined_cells)
  ------------------
  |  Branch (1177:9): [True: 0, False: 6]
  ------------------
 1178|      0|        goto error;
 1179|       |
 1180|       |    /* Class namespace has no effect on names visible in
 1181|       |       nested functions, so populate the global and bound
 1182|       |       sets to be passed to child blocks before analyzing
 1183|       |       this one.
 1184|       |     */
 1185|      6|    if (ste->ste_type == ClassBlock) {
  ------------------
  |  Branch (1185:9): [True: 0, False: 6]
  ------------------
 1186|       |        /* Pass down known globals */
 1187|      0|        temp = PyNumber_InPlaceOr(newglobal, global);
 1188|      0|        if (!temp)
  ------------------
  |  Branch (1188:13): [True: 0, False: 0]
  ------------------
 1189|      0|            goto error;
 1190|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1191|       |        /* Pass down previously bound symbols */
 1192|      0|        if (bound) {
  ------------------
  |  Branch (1192:13): [True: 0, False: 0]
  ------------------
 1193|      0|            temp = PyNumber_InPlaceOr(newbound, bound);
 1194|      0|            if (!temp)
  ------------------
  |  Branch (1194:17): [True: 0, False: 0]
  ------------------
 1195|      0|                goto error;
 1196|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1197|      0|        }
 1198|      0|    }
 1199|       |
 1200|     24|    while (PyDict_Next(ste->ste_symbols, &pos, &name, &v)) {
  ------------------
  |  Branch (1200:12): [True: 18, False: 6]
  ------------------
 1201|     18|        long flags = PyLong_AsLong(v);
 1202|     18|        if (flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1202:13): [True: 0, False: 18]
  |  Branch (1202:28): [True: 0, False: 0]
  ------------------
 1203|      0|            goto error;
 1204|      0|        }
 1205|     18|        if (!analyze_name(ste, scopes, name, flags,
  ------------------
  |  Branch (1205:13): [True: 0, False: 18]
  ------------------
 1206|     18|                          bound, local, free, global, type_params, class_entry))
 1207|      0|            goto error;
 1208|     18|    }
 1209|       |
 1210|       |    /* Populate global and bound sets to be passed to children. */
 1211|      6|    if (ste->ste_type != ClassBlock) {
  ------------------
  |  Branch (1211:9): [True: 6, False: 0]
  ------------------
 1212|       |        /* Add function locals to bound set */
 1213|      6|        if (_PyST_IsFunctionLike(ste)) {
  ------------------
  |  Branch (1213:13): [True: 3, False: 3]
  ------------------
 1214|      3|            temp = PyNumber_InPlaceOr(newbound, local);
 1215|      3|            if (!temp)
  ------------------
  |  Branch (1215:17): [True: 0, False: 3]
  ------------------
 1216|      0|                goto error;
 1217|      3|            Py_DECREF(temp);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1218|      3|        }
 1219|       |        /* Pass down previously bound symbols */
 1220|      6|        if (bound) {
  ------------------
  |  Branch (1220:13): [True: 3, False: 3]
  ------------------
 1221|      3|            temp = PyNumber_InPlaceOr(newbound, bound);
 1222|      3|            if (!temp)
  ------------------
  |  Branch (1222:17): [True: 0, False: 3]
  ------------------
 1223|      0|                goto error;
 1224|      3|            Py_DECREF(temp);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1225|      3|        }
 1226|       |        /* Pass down known globals */
 1227|      6|        temp = PyNumber_InPlaceOr(newglobal, global);
 1228|      6|        if (!temp)
  ------------------
  |  Branch (1228:13): [True: 0, False: 6]
  ------------------
 1229|      0|            goto error;
 1230|      6|        Py_DECREF(temp);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1231|      6|    }
 1232|      0|    else {
 1233|       |        /* Special-case __class__ and __classdict__ */
 1234|      0|        if (PySet_Add(newbound, &_Py_ID(__class__)) < 0)
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1234:13): [True: 0, False: 0]
  ------------------
 1235|      0|            goto error;
 1236|      0|        if (PySet_Add(newbound, &_Py_ID(__classdict__)) < 0)
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1236:13): [True: 0, False: 0]
  ------------------
 1237|      0|            goto error;
 1238|      0|        if (PySet_Add(newbound, &_Py_ID(__conditional_annotations__)) < 0)
  ------------------
  |  |  920|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1238:13): [True: 0, False: 0]
  ------------------
 1239|      0|            goto error;
 1240|      0|    }
 1241|       |
 1242|       |    /* Recursively call analyze_child_block() on each child block.
 1243|       |
 1244|       |       newbound, newglobal now contain the names visible in
 1245|       |       nested blocks.  The free variables in the children will
 1246|       |       be added to newfree.
 1247|       |    */
 1248|      9|    for (i = 0; i < PyList_GET_SIZE(ste->ste_children); ++i) {
  ------------------
  |  |   38|      9|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1248:17): [True: 3, False: 6]
  ------------------
 1249|      3|        PyObject *child_free = NULL;
 1250|      3|        PyObject *c = PyList_GET_ITEM(ste->ste_children, i);
  ------------------
  |  |   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 (1250:23): [True: 3, False: 0]
  ------------------
 1251|      0|        PySTEntryObject* entry;
 1252|      3|        assert(c && PySTEntry_Check(c));
  ------------------
  |  Branch (1252:9): [True: 3, False: 0]
  |  Branch (1252:9): [True: 3, False: 0]
  ------------------
 1253|      3|        entry = (PySTEntryObject*)c;
 1254|       |
 1255|      3|        PySTEntryObject *new_class_entry = NULL;
 1256|      3|        if (entry->ste_can_see_class_scope) {
  ------------------
  |  Branch (1256:13): [True: 0, False: 3]
  ------------------
 1257|      0|            if (ste->ste_type == ClassBlock) {
  ------------------
  |  Branch (1257:17): [True: 0, False: 0]
  ------------------
 1258|      0|                new_class_entry = ste;
 1259|      0|            }
 1260|      0|            else if (class_entry) {
  ------------------
  |  Branch (1260:22): [True: 0, False: 0]
  ------------------
 1261|      0|                new_class_entry = class_entry;
 1262|      0|            }
 1263|      0|        }
 1264|       |
 1265|       |        // we inline all non-generator-expression comprehensions,
 1266|       |        // except those in annotation scopes that are nested in classes
 1267|      3|        int inline_comp =
 1268|      3|            entry->ste_comprehension &&
  ------------------
  |  Branch (1268:13): [True: 0, False: 3]
  ------------------
 1269|      0|            !entry->ste_generator &&
  ------------------
  |  Branch (1269:13): [True: 0, False: 0]
  ------------------
 1270|      0|            !ste->ste_can_see_class_scope;
  ------------------
  |  Branch (1270:13): [True: 0, False: 0]
  ------------------
 1271|       |
 1272|      3|        if (!analyze_child_block(entry, newbound, newfree, newglobal,
  ------------------
  |  Branch (1272:13): [True: 0, False: 3]
  ------------------
 1273|      3|                                 type_params, new_class_entry, &child_free))
 1274|      0|        {
 1275|      0|            goto error;
 1276|      0|        }
 1277|      3|        if (inline_comp) {
  ------------------
  |  Branch (1277:13): [True: 0, False: 3]
  ------------------
 1278|      0|            if (!inline_comprehension(ste, entry, scopes, child_free, inlined_cells)) {
  ------------------
  |  Branch (1278:17): [True: 0, False: 0]
  ------------------
 1279|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1280|      0|                goto error;
 1281|      0|            }
 1282|      0|            entry->ste_comp_inlined = 1;
 1283|      0|        }
 1284|      3|        temp = PyNumber_InPlaceOr(newfree, child_free);
 1285|      3|        Py_DECREF(child_free);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1286|      3|        if (!temp)
  ------------------
  |  Branch (1286:13): [True: 0, False: 3]
  ------------------
 1287|      0|            goto error;
 1288|      3|        Py_DECREF(temp);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1289|      3|    }
 1290|       |
 1291|       |    /* Splice children of inlined comprehensions into our children list */
 1292|      9|    for (i = PyList_GET_SIZE(ste->ste_children) - 1; i >= 0; --i) {
  ------------------
  |  |   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 (1292:54): [True: 3, False: 6]
  ------------------
 1293|      3|        PyObject* c = PyList_GET_ITEM(ste->ste_children, i);
  ------------------
  |  |   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 (1293:23): [True: 3, False: 0]
  ------------------
 1294|      0|        PySTEntryObject* entry;
 1295|      3|        assert(c && PySTEntry_Check(c));
  ------------------
  |  Branch (1295:9): [True: 3, False: 0]
  |  Branch (1295:9): [True: 3, False: 0]
  ------------------
 1296|      3|        entry = (PySTEntryObject*)c;
 1297|      3|        if (entry->ste_comp_inlined &&
  ------------------
  |  Branch (1297:13): [True: 0, False: 3]
  ------------------
 1298|      0|            PyList_SetSlice(ste->ste_children, i, i + 1,
  ------------------
  |  Branch (1298:13): [True: 0, False: 0]
  ------------------
 1299|      0|                            entry->ste_children) < 0)
 1300|      0|        {
 1301|      0|            goto error;
 1302|      0|        }
 1303|      3|    }
 1304|       |
 1305|       |    /* Check if any local variables must be converted to cell variables */
 1306|      6|    if (_PyST_IsFunctionLike(ste) && !analyze_cells(scopes, newfree, inlined_cells))
  ------------------
  |  Branch (1306:9): [True: 3, False: 3]
  |  Branch (1306:38): [True: 0, False: 3]
  ------------------
 1307|      0|        goto error;
 1308|      6|    else if (ste->ste_type == ClassBlock && !drop_class_free(ste, newfree))
  ------------------
  |  Branch (1308:14): [True: 0, False: 6]
  |  Branch (1308:45): [True: 0, False: 0]
  ------------------
 1309|      0|        goto error;
 1310|       |    /* Records the results of the analysis in the symbol table entry */
 1311|      6|    if (!update_symbols(ste->ste_symbols, scopes, bound, newfree, inlined_cells,
  ------------------
  |  Branch (1311:9): [True: 0, False: 6]
  ------------------
 1312|      6|                        (ste->ste_type == ClassBlock) || ste->ste_can_see_class_scope))
  ------------------
  |  Branch (1312:25): [True: 0, False: 6]
  |  Branch (1312:58): [True: 0, False: 6]
  ------------------
 1313|      0|        goto error;
 1314|       |
 1315|      6|    temp = PyNumber_InPlaceOr(free, newfree);
 1316|      6|    if (!temp)
  ------------------
  |  Branch (1316:9): [True: 0, False: 6]
  ------------------
 1317|      0|        goto error;
 1318|      6|    Py_DECREF(temp);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1319|      6|    success = 1;
 1320|      6| error:
 1321|      6|    Py_XDECREF(scopes);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1322|      6|    Py_XDECREF(local);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1323|      6|    Py_XDECREF(newbound);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1324|      6|    Py_XDECREF(newglobal);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1325|      6|    Py_XDECREF(newfree);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1326|      6|    Py_XDECREF(inlined_cells);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1327|      6|    if (!success)
  ------------------
  |  Branch (1327:9): [True: 0, False: 6]
  ------------------
 1328|      6|        assert(PyErr_Occurred());
  ------------------
  |  Branch (1328:9): [True: 0, False: 0]
  ------------------
 1329|      6|    return success;
 1330|      6|}
symtable.c:analyze_name:
  672|     18|{
  673|     18|    int contains;
  674|     18|    if (flags & DEF_GLOBAL) {
  ------------------
  |  |  165|     18|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
  |  Branch (674:9): [True: 0, False: 18]
  ------------------
  675|      0|        if (flags & DEF_NONLOCAL) {
  ------------------
  |  |  168|      0|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
  |  Branch (675:13): [True: 0, False: 0]
  ------------------
  676|      0|            PyErr_Format(PyExc_SyntaxError,
  677|      0|                         "name '%U' is nonlocal and global",
  678|      0|                         name);
  679|      0|            return error_at_directive(ste, name);
  680|      0|        }
  681|      0|        SET_SCOPE(scopes, name, GLOBAL_EXPLICIT);
  ------------------
  |  |  650|      0|    do { \
  |  |  651|      0|        PyObject *o = PyLong_FromLong(I); \
  |  |  652|      0|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (652:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  653|      0|            return 0; \
  |  |  654|      0|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (654:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  655|      0|            Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  656|      0|            return 0; \
  |  |  657|      0|        } \
  |  |  658|      0|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  659|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (659:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  682|      0|        if (PySet_Add(global, name) < 0)
  ------------------
  |  Branch (682:13): [True: 0, False: 0]
  ------------------
  683|      0|            return 0;
  684|      0|        if (bound && (PySet_Discard(bound, name) < 0))
  ------------------
  |  Branch (684:13): [True: 0, False: 0]
  |  Branch (684:22): [True: 0, False: 0]
  ------------------
  685|      0|            return 0;
  686|      0|        return 1;
  687|      0|    }
  688|     18|    if (flags & DEF_NONLOCAL) {
  ------------------
  |  |  168|     18|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
  |  Branch (688:9): [True: 0, False: 18]
  ------------------
  689|      0|        if (!bound) {
  ------------------
  |  Branch (689:13): [True: 0, False: 0]
  ------------------
  690|      0|            PyErr_Format(PyExc_SyntaxError,
  691|      0|                         "nonlocal declaration not allowed at module level");
  692|      0|            return error_at_directive(ste, name);
  693|      0|        }
  694|      0|        contains = PySet_Contains(bound, name);
  695|      0|        if (contains < 0) {
  ------------------
  |  Branch (695:13): [True: 0, False: 0]
  ------------------
  696|      0|            return 0;
  697|      0|        }
  698|      0|        if (!contains) {
  ------------------
  |  Branch (698:13): [True: 0, False: 0]
  ------------------
  699|      0|            PyErr_Format(PyExc_SyntaxError,
  700|      0|                         "no binding for nonlocal '%U' found",
  701|      0|                         name);
  702|       |
  703|      0|            return error_at_directive(ste, name);
  704|      0|        }
  705|      0|        contains = PySet_Contains(type_params, name);
  706|      0|        if (contains < 0) {
  ------------------
  |  Branch (706:13): [True: 0, False: 0]
  ------------------
  707|      0|            return 0;
  708|      0|        }
  709|      0|        if (contains) {
  ------------------
  |  Branch (709:13): [True: 0, False: 0]
  ------------------
  710|      0|            PyErr_Format(PyExc_SyntaxError,
  711|      0|                         "nonlocal binding not allowed for type parameter '%U'",
  712|      0|                         name);
  713|      0|            return error_at_directive(ste, name);
  714|      0|        }
  715|      0|        SET_SCOPE(scopes, name, FREE);
  ------------------
  |  |  650|      0|    do { \
  |  |  651|      0|        PyObject *o = PyLong_FromLong(I); \
  |  |  652|      0|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (652:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  653|      0|            return 0; \
  |  |  654|      0|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (654:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  655|      0|            Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  656|      0|            return 0; \
  |  |  657|      0|        } \
  |  |  658|      0|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  659|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (659:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  716|      0|        return PySet_Add(free, name) >= 0;
  717|      0|    }
  718|     18|    if (flags & DEF_BOUND) {
  ------------------
  |  |  177|     18|#define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  166|     18|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  ------------------
  |  |               #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  167|     18|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  ------------------
  |  |               #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  171|     18|#define DEF_IMPORT (2<<6)        /* assignment occurred via import */
  |  |  ------------------
  ------------------
  |  Branch (718:9): [True: 15, False: 3]
  ------------------
  719|     15|        SET_SCOPE(scopes, name, LOCAL);
  ------------------
  |  |  650|     15|    do { \
  |  |  651|     15|        PyObject *o = PyLong_FromLong(I); \
  |  |  652|     15|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (652:13): [True: 0, False: 15]
  |  |  ------------------
  |  |  653|     15|            return 0; \
  |  |  654|     15|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (654:13): [True: 0, False: 15]
  |  |  ------------------
  |  |  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|     15|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  659|     15|    } while(0)
  |  |  ------------------
  |  |  |  Branch (659:13): [Folded, False: 15]
  |  |  ------------------
  ------------------
  720|     15|        if (PySet_Add(local, name) < 0)
  ------------------
  |  Branch (720:13): [True: 0, False: 15]
  ------------------
  721|      0|            return 0;
  722|     15|        if (PySet_Discard(global, name) < 0)
  ------------------
  |  Branch (722:13): [True: 0, False: 15]
  ------------------
  723|      0|            return 0;
  724|     15|        if (flags & DEF_TYPE_PARAM) {
  ------------------
  |  |  174|     15|#define DEF_TYPE_PARAM (2<<9)    /* this name is a type parameter */
  ------------------
  |  Branch (724:13): [True: 0, False: 15]
  ------------------
  725|      0|            if (PySet_Add(type_params, name) < 0)
  ------------------
  |  Branch (725:17): [True: 0, False: 0]
  ------------------
  726|      0|                return 0;
  727|      0|        }
  728|     15|        else {
  729|     15|            if (PySet_Discard(type_params, name) < 0)
  ------------------
  |  Branch (729:17): [True: 0, False: 15]
  ------------------
  730|      0|                return 0;
  731|     15|        }
  732|     15|        return 1;
  733|     15|    }
  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|      3|    if (class_entry != NULL) {
  ------------------
  |  Branch (741:9): [True: 0, False: 3]
  ------------------
  742|      0|        long class_flags = _PyST_GetSymbol(class_entry, name);
  743|      0|        if (class_flags < 0) {
  ------------------
  |  Branch (743:13): [True: 0, False: 0]
  ------------------
  744|      0|            return 0;
  745|      0|        }
  746|      0|        if (class_flags & DEF_GLOBAL) {
  ------------------
  |  |  165|      0|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
  |  Branch (746:13): [True: 0, False: 0]
  ------------------
  747|      0|            SET_SCOPE(scopes, name, GLOBAL_EXPLICIT);
  ------------------
  |  |  650|      0|    do { \
  |  |  651|      0|        PyObject *o = PyLong_FromLong(I); \
  |  |  652|      0|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (652:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  653|      0|            return 0; \
  |  |  654|      0|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (654:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  655|      0|            Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  656|      0|            return 0; \
  |  |  657|      0|        } \
  |  |  658|      0|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  659|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (659:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  748|      0|            return 1;
  749|      0|        }
  750|      0|        else if ((class_flags & DEF_BOUND) && !(class_flags & DEF_NONLOCAL)) {
  ------------------
  |  |  177|      0|#define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  166|      0|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  ------------------
  |  |               #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  167|      0|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  ------------------
  |  |               #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  171|      0|#define DEF_IMPORT (2<<6)        /* assignment occurred via import */
  |  |  ------------------
  ------------------
                      else if ((class_flags & DEF_BOUND) && !(class_flags & DEF_NONLOCAL)) {
  ------------------
  |  |  168|      0|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
  |  Branch (750:18): [True: 0, False: 0]
  |  Branch (750:47): [True: 0, False: 0]
  ------------------
  751|      0|            SET_SCOPE(scopes, name, GLOBAL_IMPLICIT);
  ------------------
  |  |  650|      0|    do { \
  |  |  651|      0|        PyObject *o = PyLong_FromLong(I); \
  |  |  652|      0|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (652:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  653|      0|            return 0; \
  |  |  654|      0|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (654:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  655|      0|            Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  656|      0|            return 0; \
  |  |  657|      0|        } \
  |  |  658|      0|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  659|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (659:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  752|      0|            return 1;
  753|      0|        }
  754|      0|    }
  755|       |    /* If an enclosing block has a binding for this name, it
  756|       |       is a free variable rather than a global variable.
  757|       |       Note that having a non-NULL bound implies that the block
  758|       |       is nested.
  759|       |    */
  760|      3|    if (bound) {
  ------------------
  |  Branch (760:9): [True: 3, False: 0]
  ------------------
  761|      3|        contains = PySet_Contains(bound, name);
  762|      3|        if (contains < 0) {
  ------------------
  |  Branch (762:13): [True: 0, False: 3]
  ------------------
  763|      0|            return 0;
  764|      0|        }
  765|      3|        if (contains) {
  ------------------
  |  Branch (765:13): [True: 0, False: 3]
  ------------------
  766|      0|            SET_SCOPE(scopes, name, FREE);
  ------------------
  |  |  650|      0|    do { \
  |  |  651|      0|        PyObject *o = PyLong_FromLong(I); \
  |  |  652|      0|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (652:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  653|      0|            return 0; \
  |  |  654|      0|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (654:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  655|      0|            Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  656|      0|            return 0; \
  |  |  657|      0|        } \
  |  |  658|      0|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  659|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (659:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  767|      0|            return PySet_Add(free, name) >= 0;
  768|      0|        }
  769|      3|    }
  770|       |    /* If a parent has a global statement, then call it global
  771|       |       explicit?  It could also be global implicit.
  772|       |     */
  773|      3|    if (global) {
  ------------------
  |  Branch (773:9): [True: 3, False: 0]
  ------------------
  774|      3|        contains = PySet_Contains(global, name);
  775|      3|        if (contains < 0) {
  ------------------
  |  Branch (775:13): [True: 0, False: 3]
  ------------------
  776|      0|            return 0;
  777|      0|        }
  778|      3|        if (contains) {
  ------------------
  |  Branch (778:13): [True: 0, False: 3]
  ------------------
  779|      0|            SET_SCOPE(scopes, name, GLOBAL_IMPLICIT);
  ------------------
  |  |  650|      0|    do { \
  |  |  651|      0|        PyObject *o = PyLong_FromLong(I); \
  |  |  652|      0|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (652:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  653|      0|            return 0; \
  |  |  654|      0|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (654:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  655|      0|            Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  656|      0|            return 0; \
  |  |  657|      0|        } \
  |  |  658|      0|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  659|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (659:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  780|      0|            return 1;
  781|      0|        }
  782|      3|    }
  783|      3|    SET_SCOPE(scopes, name, GLOBAL_IMPLICIT);
  ------------------
  |  |  650|      3|    do { \
  |  |  651|      3|        PyObject *o = PyLong_FromLong(I); \
  |  |  652|      3|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (652:13): [True: 0, False: 3]
  |  |  ------------------
  |  |  653|      3|            return 0; \
  |  |  654|      3|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (654:13): [True: 0, False: 3]
  |  |  ------------------
  |  |  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|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  659|      3|    } while(0)
  |  |  ------------------
  |  |  |  Branch (659:13): [Folded, False: 3]
  |  |  ------------------
  ------------------
  784|      3|    return 1;
  785|      3|}
symtable.c:analyze_child_block:
 1336|      3|{
 1337|      3|    PyObject *temp_bound = NULL, *temp_global = NULL, *temp_free = NULL;
 1338|      3|    PyObject *temp_type_params = NULL;
 1339|       |
 1340|       |    /* Copy the bound/global/free sets.
 1341|       |
 1342|       |       These sets are used by all blocks enclosed by the
 1343|       |       current block.  The analyze_block() call modifies these
 1344|       |       sets.
 1345|       |
 1346|       |    */
 1347|      3|    temp_bound = PySet_New(bound);
 1348|      3|    if (!temp_bound)
  ------------------
  |  Branch (1348:9): [True: 0, False: 3]
  ------------------
 1349|      0|        goto error;
 1350|      3|    temp_free = PySet_New(free);
 1351|      3|    if (!temp_free)
  ------------------
  |  Branch (1351:9): [True: 0, False: 3]
  ------------------
 1352|      0|        goto error;
 1353|      3|    temp_global = PySet_New(global);
 1354|      3|    if (!temp_global)
  ------------------
  |  Branch (1354:9): [True: 0, False: 3]
  ------------------
 1355|      0|        goto error;
 1356|      3|    temp_type_params = PySet_New(type_params);
 1357|      3|    if (!temp_type_params)
  ------------------
  |  Branch (1357:9): [True: 0, False: 3]
  ------------------
 1358|      0|        goto error;
 1359|       |
 1360|      3|    if (!analyze_block(entry, temp_bound, temp_free, temp_global,
  ------------------
  |  Branch (1360:9): [True: 0, False: 3]
  ------------------
 1361|      3|                       temp_type_params, class_entry))
 1362|      0|        goto error;
 1363|      3|    *child_free = temp_free;
 1364|      3|    Py_DECREF(temp_bound);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1365|      3|    Py_DECREF(temp_global);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1366|      3|    Py_DECREF(temp_type_params);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1367|      3|    return 1;
 1368|      0| error:
 1369|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1370|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1371|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1372|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1373|      0|    return 0;
 1374|      3|}
symtable.c:analyze_cells:
  922|      3|{
  923|      3|    PyObject *name, *v, *v_cell;
  924|      3|    int success = 0;
  925|      3|    Py_ssize_t pos = 0;
  926|       |
  927|      3|    v_cell = PyLong_FromLong(CELL);
  ------------------
  |  |  191|      3|#define CELL 5
  ------------------
  928|      3|    if (!v_cell)
  ------------------
  |  Branch (928:9): [True: 0, False: 3]
  ------------------
  929|      0|        return 0;
  930|     21|    while (PyDict_Next(scopes, &pos, &name, &v)) {
  ------------------
  |  Branch (930:12): [True: 18, False: 3]
  ------------------
  931|     18|        long scope = PyLong_AsLong(v);
  932|     18|        if (scope == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (932:13): [True: 0, False: 18]
  |  Branch (932:28): [True: 0, False: 0]
  ------------------
  933|      0|            goto error;
  934|      0|        }
  935|     18|        if (scope != LOCAL)
  ------------------
  |  |  187|     18|#define LOCAL 1
  ------------------
  |  Branch (935:13): [True: 3, False: 15]
  ------------------
  936|      3|            continue;
  937|     15|        int contains = PySet_Contains(free, name);
  938|     15|        if (contains < 0) {
  ------------------
  |  Branch (938:13): [True: 0, False: 15]
  ------------------
  939|      0|            goto error;
  940|      0|        }
  941|     15|        if (!contains) {
  ------------------
  |  Branch (941:13): [True: 15, False: 0]
  ------------------
  942|     15|            contains = PySet_Contains(inlined_cells, name);
  943|     15|            if (contains < 0) {
  ------------------
  |  Branch (943:17): [True: 0, False: 15]
  ------------------
  944|      0|                goto error;
  945|      0|            }
  946|     15|            if (!contains) {
  ------------------
  |  Branch (946:17): [True: 15, False: 0]
  ------------------
  947|     15|                continue;
  948|     15|            }
  949|     15|        }
  950|       |        /* Replace LOCAL with CELL for this name, and remove
  951|       |           from free. It is safe to replace the value of name
  952|       |           in the dict, because it will not cause a resize.
  953|       |         */
  954|      0|        if (PyDict_SetItem(scopes, name, v_cell) < 0)
  ------------------
  |  Branch (954:13): [True: 0, False: 0]
  ------------------
  955|      0|            goto error;
  956|      0|        if (PySet_Discard(free, name) < 0)
  ------------------
  |  Branch (956:13): [True: 0, False: 0]
  ------------------
  957|      0|            goto error;
  958|      0|    }
  959|      3|    success = 1;
  960|      3| error:
  961|      3|    Py_DECREF(v_cell);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  962|      3|    return success;
  963|      3|}
symtable.c:update_symbols:
  996|      6|{
  997|      6|    PyObject *name = NULL, *itr = NULL;
  998|      6|    PyObject *v = NULL, *v_scope = NULL, *v_new = NULL, *v_free = NULL;
  999|      6|    Py_ssize_t pos = 0;
 1000|       |
 1001|       |    /* Update scope information for all symbols in this scope */
 1002|     24|    while (PyDict_Next(symbols, &pos, &name, &v)) {
  ------------------
  |  Branch (1002:12): [True: 18, False: 6]
  ------------------
 1003|     18|        long flags = PyLong_AsLong(v);
 1004|     18|        if (flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1004:13): [True: 0, False: 18]
  |  Branch (1004:28): [True: 0, False: 0]
  ------------------
 1005|      0|            return 0;
 1006|      0|        }
 1007|     18|        int contains = PySet_Contains(inlined_cells, name);
 1008|     18|        if (contains < 0) {
  ------------------
  |  Branch (1008:13): [True: 0, False: 18]
  ------------------
 1009|      0|            return 0;
 1010|      0|        }
 1011|     18|        if (contains) {
  ------------------
  |  Branch (1011:13): [True: 0, False: 18]
  ------------------
 1012|      0|            flags |= DEF_COMP_CELL;
  ------------------
  |  |  175|      0|#define DEF_COMP_CELL (2<<10)    /* this name is a cell in an inlined comprehension */
  ------------------
 1013|      0|        }
 1014|     18|        if (PyDict_GetItemRef(scopes, name, &v_scope) < 0) {
  ------------------
  |  Branch (1014:13): [True: 0, False: 18]
  ------------------
 1015|      0|            return 0;
 1016|      0|        }
 1017|     18|        if (!v_scope) {
  ------------------
  |  Branch (1017:13): [True: 0, False: 18]
  ------------------
 1018|      0|            PyErr_SetObject(PyExc_KeyError, name);
 1019|      0|            return 0;
 1020|      0|        }
 1021|     18|        long scope = PyLong_AsLong(v_scope);
 1022|     18|        Py_DECREF(v_scope);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1023|     18|        if (scope == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1023:13): [True: 0, False: 18]
  |  Branch (1023:28): [True: 0, False: 0]
  ------------------
 1024|      0|            return 0;
 1025|      0|        }
 1026|     18|        flags |= (scope << SCOPE_OFFSET);
  ------------------
  |  |  183|     18|#define SCOPE_OFFSET 12
  ------------------
 1027|     18|        v_new = PyLong_FromLong(flags);
 1028|     18|        if (!v_new)
  ------------------
  |  Branch (1028:13): [True: 0, False: 18]
  ------------------
 1029|      0|            return 0;
 1030|     18|        if (PyDict_SetItem(symbols, name, v_new) < 0) {
  ------------------
  |  Branch (1030:13): [True: 0, False: 18]
  ------------------
 1031|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1032|      0|            return 0;
 1033|      0|        }
 1034|     18|        Py_DECREF(v_new);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1035|     18|    }
 1036|       |
 1037|       |    /* Record not yet resolved free variables from children (if any) */
 1038|      6|    v_free = PyLong_FromLong(FREE << SCOPE_OFFSET);
  ------------------
  |  |  190|      6|#define FREE 4
  ------------------
                  v_free = PyLong_FromLong(FREE << SCOPE_OFFSET);
  ------------------
  |  |  183|      6|#define SCOPE_OFFSET 12
  ------------------
 1039|      6|    if (!v_free)
  ------------------
  |  Branch (1039:9): [True: 0, False: 6]
  ------------------
 1040|      0|        return 0;
 1041|       |
 1042|      6|    itr = PyObject_GetIter(free);
 1043|      6|    if (itr == NULL) {
  ------------------
  |  Branch (1043:9): [True: 0, False: 6]
  ------------------
 1044|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1045|      0|        return 0;
 1046|      0|    }
 1047|       |
 1048|      6|    while ((name = PyIter_Next(itr))) {
  ------------------
  |  Branch (1048:12): [True: 0, False: 6]
  ------------------
 1049|      0|        v = PyDict_GetItemWithError(symbols, name);
 1050|       |
 1051|       |        /* Handle symbol that already exists in this scope */
 1052|      0|        if (v) {
  ------------------
  |  Branch (1052:13): [True: 0, False: 0]
  ------------------
 1053|       |            /* Handle a free variable in a method of
 1054|       |               the class that has the same name as a local
 1055|       |               or global in the class scope.
 1056|       |            */
 1057|      0|            if  (classflag) {
  ------------------
  |  Branch (1057:18): [True: 0, False: 0]
  ------------------
 1058|      0|                long flags = PyLong_AsLong(v);
 1059|      0|                if (flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1059:21): [True: 0, False: 0]
  |  Branch (1059:36): [True: 0, False: 0]
  ------------------
 1060|      0|                    goto error;
 1061|      0|                }
 1062|      0|                flags |= DEF_FREE_CLASS;
  ------------------
  |  |  170|      0|#define DEF_FREE_CLASS (2<<5)    /* free variable from class's method */
  ------------------
 1063|      0|                v_new = PyLong_FromLong(flags);
 1064|      0|                if (!v_new) {
  ------------------
  |  Branch (1064:21): [True: 0, False: 0]
  ------------------
 1065|      0|                    goto error;
 1066|      0|                }
 1067|      0|                if (PyDict_SetItem(symbols, name, v_new) < 0) {
  ------------------
  |  Branch (1067:21): [True: 0, False: 0]
  ------------------
 1068|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1069|      0|                    goto error;
 1070|      0|                }
 1071|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1072|      0|            }
 1073|       |            /* It's a cell, or already free in this scope */
 1074|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1075|      0|            continue;
 1076|      0|        }
 1077|      0|        else if (PyErr_Occurred()) {
  ------------------
  |  Branch (1077:18): [True: 0, False: 0]
  ------------------
 1078|      0|            goto error;
 1079|      0|        }
 1080|       |        /* Handle global symbol */
 1081|      0|        if (bound) {
  ------------------
  |  Branch (1081:13): [True: 0, False: 0]
  ------------------
 1082|      0|            int contains = PySet_Contains(bound, name);
 1083|      0|            if (contains < 0) {
  ------------------
  |  Branch (1083:17): [True: 0, False: 0]
  ------------------
 1084|      0|                goto error;
 1085|      0|            }
 1086|      0|            if (!contains) {
  ------------------
  |  Branch (1086:17): [True: 0, False: 0]
  ------------------
 1087|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1088|      0|                continue;       /* it's a global */
 1089|      0|            }
 1090|      0|        }
 1091|       |        /* Propagate new free symbol up the lexical stack */
 1092|      0|        if (PyDict_SetItem(symbols, name, v_free) < 0) {
  ------------------
  |  Branch (1092:13): [True: 0, False: 0]
  ------------------
 1093|      0|            goto error;
 1094|      0|        }
 1095|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1096|      0|    }
 1097|       |
 1098|       |    /* Check if loop ended because of exception in PyIter_Next */
 1099|      6|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1099:9): [True: 0, False: 6]
  ------------------
 1100|      0|        goto error;
 1101|      0|    }
 1102|       |
 1103|      6|    Py_DECREF(itr);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1104|      6|    Py_DECREF(v_free);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1105|      6|    return 1;
 1106|      0|error:
 1107|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1108|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1109|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1110|      0|    return 0;
 1111|      6|}
symtable.c:symtable_exit_block:
 1410|      6|{
 1411|      6|    Py_ssize_t size;
 1412|       |
 1413|      6|    st->st_cur = NULL;
 1414|      6|    size = PyList_GET_SIZE(st->st_stack);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1415|      6|    if (size) {
  ------------------
  |  Branch (1415:9): [True: 6, False: 0]
  ------------------
 1416|      6|        if (PyList_SetSlice(st->st_stack, size - 1, size, NULL) < 0)
  ------------------
  |  Branch (1416:13): [True: 0, False: 6]
  ------------------
 1417|      0|            return 0;
 1418|      6|        if (--size)
  ------------------
  |  Branch (1418:13): [True: 3, False: 3]
  ------------------
 1419|      3|            st->st_cur = (PySTEntryObject *)PyList_GET_ITEM(st->st_stack, size - 1);
  ------------------
  |  |   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 (1419:45): [True: 3, False: 0]
  ------------------
 1420|      6|    }
 1421|      6|    return 1;
 1422|      6|}
symtable.c:symtable_enter_block:
 1467|      6|{
 1468|      6|    PySTEntryObject *ste = ste_new(st, name, block, ast, loc);
 1469|      6|    if (ste == NULL)
  ------------------
  |  Branch (1469:9): [True: 0, False: 6]
  ------------------
 1470|      0|        return 0;
 1471|      6|    int result = symtable_enter_existing_block(st, ste, /* add_to_children */true);
 1472|      6|    Py_DECREF(ste);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1473|      6|    if (block == AnnotationBlock || block == TypeVariableBlock || block == TypeAliasBlock) {
  ------------------
  |  Branch (1473:9): [True: 0, False: 6]
  |  Branch (1473:37): [True: 0, False: 6]
  |  Branch (1473:67): [True: 0, False: 6]
  ------------------
 1474|      0|        _Py_DECLARE_STR(format, ".format");
 1475|       |        // We need to insert code that reads this "parameter" to the function.
 1476|      0|        if (!symtable_add_def(st, &_Py_STR(format), DEF_PARAM, loc)) {
  ------------------
  |  |  922|      0|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (!symtable_add_def(st, &_Py_STR(format), DEF_PARAM, loc)) {
  ------------------
  |  |  167|      0|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
  |  Branch (1476:13): [True: 0, False: 0]
  ------------------
 1477|      0|            return 0;
 1478|      0|        }
 1479|      0|        if (!symtable_add_def(st, &_Py_STR(format), USE, loc)) {
  ------------------
  |  |  922|      0|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (!symtable_add_def(st, &_Py_STR(format), USE, loc)) {
  ------------------
  |  |  169|      0|#define USE (2<<3)               /* name is used */
  ------------------
  |  Branch (1479:13): [True: 0, False: 0]
  ------------------
 1480|      0|            return 0;
 1481|      0|        }
 1482|      0|    }
 1483|      6|    return result;
 1484|      6|}
symtable.c:ste_new:
   95|      6|{
   96|      6|    PySTEntryObject *ste = NULL;
   97|      6|    PyObject *k = NULL;
   98|       |
   99|      6|    k = PyLong_FromVoidPtr(key);
  100|      6|    if (k == NULL)
  ------------------
  |  Branch (100:9): [True: 0, False: 6]
  ------------------
  101|      0|        goto fail;
  102|      6|    ste = PyObject_New(PySTEntryObject, &PySTEntry_Type);
  ------------------
  |  |  130|      6|#define PyObject_New(type, typeobj) ((type *)_PyObject_New(typeobj))
  ------------------
  103|      6|    if (ste == NULL) {
  ------------------
  |  Branch (103:9): [True: 0, False: 6]
  ------------------
  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|      6|    ste->ste_table = st;
  108|      6|    ste->ste_id = k; /* ste owns reference to k */
  109|       |
  110|      6|    ste->ste_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  111|      6|    ste->ste_function_name = NULL;
  112|       |
  113|      6|    ste->ste_symbols = NULL;
  114|      6|    ste->ste_varnames = NULL;
  115|      6|    ste->ste_children = NULL;
  116|       |
  117|      6|    ste->ste_directives = NULL;
  118|      6|    ste->ste_mangled_names = NULL;
  119|       |
  120|      6|    ste->ste_type = block;
  121|      6|    ste->ste_scope_info = NULL;
  122|       |
  123|      6|    ste->ste_nested = 0;
  124|      6|    ste->ste_varargs = 0;
  125|      6|    ste->ste_varkeywords = 0;
  126|      6|    ste->ste_annotations_used = 0;
  127|      6|    ste->ste_loc = loc;
  128|       |
  129|      6|    if (st->st_cur != NULL &&
  ------------------
  |  Branch (129:9): [True: 3, False: 3]
  ------------------
  130|      3|        (st->st_cur->ste_nested ||
  ------------------
  |  Branch (130:10): [True: 0, False: 3]
  ------------------
  131|      3|         _PyST_IsFunctionLike(st->st_cur)))
  ------------------
  |  Branch (131:10): [True: 0, False: 3]
  ------------------
  132|      0|        ste->ste_nested = 1;
  133|      6|    ste->ste_generator = 0;
  134|      6|    ste->ste_coroutine = 0;
  135|      6|    ste->ste_comprehension = NoComprehension;
  136|      6|    ste->ste_returns_value = 0;
  137|      6|    ste->ste_needs_class_closure = 0;
  138|      6|    ste->ste_comp_inlined = 0;
  139|      6|    ste->ste_comp_iter_target = 0;
  140|      6|    ste->ste_can_see_class_scope = 0;
  141|      6|    ste->ste_comp_iter_expr = 0;
  142|      6|    ste->ste_needs_classdict = 0;
  143|      6|    ste->ste_has_conditional_annotations = 0;
  144|      6|    ste->ste_in_conditional_block = 0;
  145|      6|    ste->ste_in_try_block = 0;
  146|      6|    ste->ste_in_unevaluated_annotation = 0;
  147|      6|    ste->ste_annotation_block = NULL;
  148|       |
  149|      6|    ste->ste_has_docstring = 0;
  150|       |
  151|      6|    ste->ste_method = 0;
  152|      6|    if (st->st_cur != NULL &&
  ------------------
  |  Branch (152:9): [True: 3, False: 3]
  ------------------
  153|      3|        st->st_cur->ste_type == ClassBlock &&
  ------------------
  |  Branch (153:9): [True: 0, False: 3]
  ------------------
  154|      0|        block == FunctionBlock) {
  ------------------
  |  Branch (154:9): [True: 0, False: 0]
  ------------------
  155|      0|        ste->ste_method = 1;
  156|      0|    }
  157|       |
  158|      6|    ste->ste_symbols = PyDict_New();
  159|      6|    ste->ste_varnames = PyList_New(0);
  160|      6|    ste->ste_children = PyList_New(0);
  161|      6|    if (ste->ste_symbols == NULL
  ------------------
  |  Branch (161:9): [True: 0, False: 6]
  ------------------
  162|      6|        || ste->ste_varnames == NULL
  ------------------
  |  Branch (162:12): [True: 0, False: 6]
  ------------------
  163|      6|        || ste->ste_children == NULL)
  ------------------
  |  Branch (163:12): [True: 0, False: 6]
  ------------------
  164|      0|        goto fail;
  165|       |
  166|      6|    if (PyDict_SetItem(st->st_blocks, ste->ste_id, (PyObject *)ste) < 0)
  ------------------
  |  Branch (166:9): [True: 0, False: 6]
  ------------------
  167|      0|        goto fail;
  168|       |
  169|      6|    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|      6|}
symtable.c:symtable_enter_existing_block:
 1426|      6|{
 1427|      6|    if (PyList_Append(st->st_stack, (PyObject *)ste) < 0) {
  ------------------
  |  Branch (1427:9): [True: 0, False: 6]
  ------------------
 1428|      0|        return 0;
 1429|      0|    }
 1430|      6|    PySTEntryObject *prev = st->st_cur;
 1431|       |    /* bpo-37757: For now, disallow *all* assignment expressions in the
 1432|       |     * outermost iterator expression of a comprehension, even those inside
 1433|       |     * a nested comprehension or a lambda expression.
 1434|       |     */
 1435|      6|    if (prev) {
  ------------------
  |  Branch (1435:9): [True: 3, False: 3]
  ------------------
 1436|      3|        ste->ste_comp_iter_expr = prev->ste_comp_iter_expr;
 1437|      3|    }
 1438|       |    /* No need to inherit ste_mangled_names in classes, where all names
 1439|       |     * are mangled. */
 1440|      6|    if (prev && prev->ste_mangled_names != NULL && ste->ste_type != ClassBlock) {
  ------------------
  |  Branch (1440:9): [True: 3, False: 3]
  |  Branch (1440:17): [True: 0, False: 3]
  |  Branch (1440:52): [True: 0, False: 0]
  ------------------
 1441|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1442|      0|    }
 1443|       |    /* The entry is owned by the stack. Borrow it for st_cur. */
 1444|      6|    st->st_cur = ste;
 1445|       |
 1446|       |    /* If "from __future__ import annotations" is active,
 1447|       |     * annotation blocks shouldn't have any affect on the symbol table since in
 1448|       |     * the compilation stage, they will all be transformed to strings. */
 1449|      6|    if (st->st_future->ff_features & CO_FUTURE_ANNOTATIONS && ste->ste_type == AnnotationBlock) {
  ------------------
  |  |  147|     12|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
  |  Branch (1449:9): [True: 0, False: 6]
  |  Branch (1449:63): [True: 0, False: 0]
  ------------------
 1450|      0|        return 1;
 1451|      0|    }
 1452|       |
 1453|      6|    if (ste->ste_type == ModuleBlock)
  ------------------
  |  Branch (1453:9): [True: 3, False: 3]
  ------------------
 1454|      3|        st->st_global = st->st_cur->ste_symbols;
 1455|       |
 1456|      6|    if (add_to_children && prev) {
  ------------------
  |  Branch (1456:9): [True: 6, False: 0]
  |  Branch (1456:28): [True: 3, False: 3]
  ------------------
 1457|      3|        if (PyList_Append(prev->ste_children, (PyObject *)ste) < 0) {
  ------------------
  |  Branch (1457:13): [True: 0, False: 3]
  ------------------
 1458|      0|            return 0;
 1459|      0|        }
 1460|      3|    }
 1461|      6|    return 1;
 1462|      6|}
symtable.c:symtable_add_def:
 1662|     15|{
 1663|     15|    return symtable_add_def_ctx(st, name, flag, loc,
 1664|     15|                                flag == USE ? Load : Store);
  ------------------
  |  |  169|     15|#define USE (2<<3)               /* name is used */
  ------------------
  |  Branch (1664:33): [True: 0, False: 15]
  ------------------
 1665|     15|}
symtable.c:symtable_add_def_ctx:
 1646|     33|{
 1647|     33|    int write_mask = DEF_PARAM | DEF_LOCAL | DEF_IMPORT;
  ------------------
  |  |  167|     33|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
                  int write_mask = DEF_PARAM | DEF_LOCAL | DEF_IMPORT;
  ------------------
  |  |  166|     33|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                  int write_mask = DEF_PARAM | DEF_LOCAL | DEF_IMPORT;
  ------------------
  |  |  171|     33|#define DEF_IMPORT (2<<6)        /* assignment occurred via import */
  ------------------
 1648|     33|    if ((flag & write_mask) && !check_name(st, name, loc, ctx)) {
  ------------------
  |  Branch (1648:9): [True: 15, False: 18]
  |  Branch (1648:32): [True: 0, False: 15]
  ------------------
 1649|      0|        return 0;
 1650|      0|    }
 1651|     33|    if ((flag & DEF_TYPE_PARAM) && st->st_cur->ste_mangled_names != NULL) {
  ------------------
  |  |  174|     33|#define DEF_TYPE_PARAM (2<<9)    /* this name is a type parameter */
  ------------------
  |  Branch (1651:9): [True: 0, False: 33]
  |  Branch (1651:36): [True: 0, False: 0]
  ------------------
 1652|      0|        if(PySet_Add(st->st_cur->ste_mangled_names, name) < 0) {
  ------------------
  |  Branch (1652:12): [True: 0, False: 0]
  ------------------
 1653|      0|            return 0;
 1654|      0|        }
 1655|      0|    }
 1656|     33|    return symtable_add_def_helper(st, name, flag, st->st_cur, loc);
 1657|     33|}
symtable.c:check_name:
 1602|     15|{
 1603|     15|    if (ctx == Store && _PyUnicode_EqualToASCIIString(name, "__debug__")) {
  ------------------
  |  Branch (1603:9): [True: 15, False: 0]
  |  Branch (1603:25): [True: 0, False: 15]
  ------------------
 1604|      0|        PyErr_SetString(PyExc_SyntaxError, "cannot assign to __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|     15|    if (ctx == Del && _PyUnicode_EqualToASCIIString(name, "__debug__")) {
  ------------------
  |  Branch (1608:9): [True: 0, False: 15]
  |  Branch (1608:23): [True: 0, False: 0]
  ------------------
 1609|      0|        PyErr_SetString(PyExc_SyntaxError, "cannot delete __debug__");
 1610|      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)
  ------------------
 1611|      0|        return 0;
 1612|      0|    }
 1613|     15|    return 1;
 1614|     15|}
symtable.c:symtable_add_def_helper:
 1509|     33|{
 1510|     33|    PyObject *o;
 1511|     33|    PyObject *dict;
 1512|     33|    long val;
 1513|     33|    PyObject *mangled = _Py_MaybeMangle(st->st_private, st->st_cur, name);
 1514|       |
 1515|     33|    if (!mangled)
  ------------------
  |  Branch (1515:9): [True: 0, False: 33]
  ------------------
 1516|      0|        return 0;
 1517|     33|    dict = ste->ste_symbols;
 1518|     33|    if ((o = PyDict_GetItemWithError(dict, mangled))) {
  ------------------
  |  Branch (1518:9): [True: 15, False: 18]
  ------------------
 1519|     15|        val = PyLong_AsLong(o);
 1520|     15|        if (val == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1520:13): [True: 0, False: 15]
  |  Branch (1520:26): [True: 0, False: 0]
  ------------------
 1521|      0|            goto error;
 1522|      0|        }
 1523|     15|        if ((flag & DEF_PARAM) && (val & DEF_PARAM)) {
  ------------------
  |  |  167|     15|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
                      if ((flag & DEF_PARAM) && (val & DEF_PARAM)) {
  ------------------
  |  |  167|      0|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
  |  Branch (1523:13): [True: 0, False: 15]
  |  Branch (1523:35): [True: 0, False: 0]
  ------------------
 1524|       |            /* Is it better to use 'mangled' or 'name' here? */
 1525|      0|            PyErr_Format(PyExc_SyntaxError, DUPLICATE_PARAMETER, name);
  ------------------
  |  |  386|      0|#define DUPLICATE_PARAMETER \
  |  |  387|      0|"duplicate parameter '%U' in function definition"
  ------------------
 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|     15|        if ((flag & DEF_TYPE_PARAM) && (val & DEF_TYPE_PARAM)) {
  ------------------
  |  |  174|     15|#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 (1529:13): [True: 0, False: 15]
  |  Branch (1529:40): [True: 0, False: 0]
  ------------------
 1530|      0|            PyErr_Format(PyExc_SyntaxError, DUPLICATE_TYPE_PARAM, name);
  ------------------
  |  |   75|      0|#define DUPLICATE_TYPE_PARAM \
  |  |   76|      0|"duplicate type parameter '%U'"
  ------------------
 1531|      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)
  ------------------
 1532|      0|            goto error;
 1533|      0|        }
 1534|     15|        val |= flag;
 1535|     15|    }
 1536|     18|    else if (PyErr_Occurred()) {
  ------------------
  |  Branch (1536:14): [True: 0, False: 18]
  ------------------
 1537|      0|        goto error;
 1538|      0|    }
 1539|     18|    else {
 1540|     18|        val = flag;
 1541|     18|    }
 1542|     33|    if (ste->ste_comp_iter_target) {
  ------------------
  |  Branch (1542:9): [True: 0, False: 33]
  ------------------
 1543|       |        /* This name is an iteration variable in a comprehension,
 1544|       |         * so check for a binding conflict with any named expressions.
 1545|       |         * Otherwise, mark it as an iteration variable so subsequent
 1546|       |         * named expressions can check for conflicts.
 1547|       |         */
 1548|      0|        if (val & (DEF_GLOBAL | DEF_NONLOCAL)) {
  ------------------
  |  |  165|      0|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
                      if (val & (DEF_GLOBAL | DEF_NONLOCAL)) {
  ------------------
  |  |  168|      0|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
  |  Branch (1548:13): [True: 0, False: 0]
  ------------------
 1549|      0|            PyErr_Format(PyExc_SyntaxError,
 1550|      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'"
  ------------------
 1551|      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)
  ------------------
 1552|      0|            goto error;
 1553|      0|        }
 1554|      0|        val |= DEF_COMP_ITER;
  ------------------
  |  |  173|      0|#define DEF_COMP_ITER (2<<8)     /* this name is a comprehension iteration variable */
  ------------------
 1555|      0|    }
 1556|     33|    o = PyLong_FromLong(val);
 1557|     33|    if (o == NULL)
  ------------------
  |  Branch (1557:9): [True: 0, False: 33]
  ------------------
 1558|      0|        goto error;
 1559|     33|    if (PyDict_SetItem(dict, mangled, o) < 0) {
  ------------------
  |  Branch (1559:9): [True: 0, False: 33]
  ------------------
 1560|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1561|      0|        goto error;
 1562|      0|    }
 1563|     33|    Py_DECREF(o);
  ------------------
  |  |  430|     33|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1564|       |
 1565|     33|    if (flag & DEF_PARAM) {
  ------------------
  |  |  167|     33|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
  |  Branch (1565:9): [True: 15, False: 18]
  ------------------
 1566|     15|        if (PyList_Append(ste->ste_varnames, mangled) < 0)
  ------------------
  |  Branch (1566:13): [True: 0, False: 15]
  ------------------
 1567|      0|            goto error;
 1568|     18|    } else if (flag & DEF_GLOBAL) {
  ------------------
  |  |  165|     18|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
  |  Branch (1568:16): [True: 0, False: 18]
  ------------------
 1569|       |        /* XXX need to update DEF_GLOBAL for other flags too;
 1570|       |           perhaps only DEF_FREE_GLOBAL */
 1571|      0|        val = 0;
 1572|      0|        if ((o = PyDict_GetItemWithError(st->st_global, mangled))) {
  ------------------
  |  Branch (1572:13): [True: 0, False: 0]
  ------------------
 1573|      0|            val = PyLong_AsLong(o);
 1574|      0|            if (val == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1574:17): [True: 0, False: 0]
  |  Branch (1574:30): [True: 0, False: 0]
  ------------------
 1575|      0|                goto error;
 1576|      0|            }
 1577|      0|        }
 1578|      0|        else if (PyErr_Occurred()) {
  ------------------
  |  Branch (1578:18): [True: 0, False: 0]
  ------------------
 1579|      0|            goto error;
 1580|      0|        }
 1581|      0|        val |= flag;
 1582|      0|        o = PyLong_FromLong(val);
 1583|      0|        if (o == NULL)
  ------------------
  |  Branch (1583:13): [True: 0, False: 0]
  ------------------
 1584|      0|            goto error;
 1585|      0|        if (PyDict_SetItem(st->st_global, mangled, o) < 0) {
  ------------------
  |  Branch (1585:13): [True: 0, False: 0]
  ------------------
 1586|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1587|      0|            goto error;
 1588|      0|        }
 1589|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1590|      0|    }
 1591|     33|    Py_DECREF(mangled);
  ------------------
  |  |  430|     33|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1592|     33|    return 1;
 1593|       |
 1594|      0|error:
 1595|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1596|      0|    return 0;
 1597|     33|}
symtable.c:symtable_visit_arguments:
 2965|      3|{
 2966|       |    /* skip default arguments inside function block
 2967|       |       XXX should ast be different?
 2968|       |    */
 2969|      3|    if (a->posonlyargs && !symtable_visit_params(st, a->posonlyargs))
  ------------------
  |  Branch (2969:9): [True: 3, False: 0]
  |  Branch (2969:27): [True: 0, False: 3]
  ------------------
 2970|      0|        return 0;
 2971|      3|    if (a->args && !symtable_visit_params(st, a->args))
  ------------------
  |  Branch (2971:9): [True: 3, False: 0]
  |  Branch (2971:20): [True: 0, False: 3]
  ------------------
 2972|      0|        return 0;
 2973|      3|    if (a->kwonlyargs && !symtable_visit_params(st, a->kwonlyargs))
  ------------------
  |  Branch (2973:9): [True: 3, False: 0]
  |  Branch (2973:26): [True: 0, False: 3]
  ------------------
 2974|      0|        return 0;
 2975|      3|    if (a->vararg) {
  ------------------
  |  Branch (2975:9): [True: 0, False: 3]
  ------------------
 2976|      0|        if (!symtable_add_def(st, a->vararg->arg, DEF_PARAM, LOCATION(a->vararg)))
  ------------------
  |  |  167|      0|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
                      if (!symtable_add_def(st, a->vararg->arg, DEF_PARAM, LOCATION(a->vararg)))
  ------------------
  |  |   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 (2976:13): [True: 0, False: 0]
  ------------------
 2977|      0|            return 0;
 2978|      0|        st->st_cur->ste_varargs = 1;
 2979|      0|    }
 2980|      3|    if (a->kwarg) {
  ------------------
  |  Branch (2980:9): [True: 0, False: 3]
  ------------------
 2981|      0|        if (!symtable_add_def(st, a->kwarg->arg, DEF_PARAM, LOCATION(a->kwarg)))
  ------------------
  |  |  167|      0|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
                      if (!symtable_add_def(st, a->kwarg->arg, DEF_PARAM, LOCATION(a->kwarg)))
  ------------------
  |  |   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 (2981:13): [True: 0, False: 0]
  ------------------
 2982|      0|            return 0;
 2983|      0|        st->st_cur->ste_varkeywords = 1;
 2984|      0|    }
 2985|      3|    return 1;
 2986|      3|}
symtable.c:symtable_visit_params:
 2840|      9|{
 2841|      9|    Py_ssize_t i;
 2842|       |
 2843|     24|    for (i = 0; i < asdl_seq_LEN(args); i++) {
  ------------------
  |  |   83|     24|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|     48|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2843:17): [True: 15, False: 9]
  ------------------
 2844|     15|        arg_ty arg = (arg_ty)asdl_seq_GET(args, i);
  ------------------
  |  |   82|     15|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     15|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2845|     15|        if (!symtable_add_def(st, arg->arg, DEF_PARAM, LOCATION(arg)))
  ------------------
  |  |  167|     15|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
                      if (!symtable_add_def(st, arg->arg, DEF_PARAM, LOCATION(arg)))
  ------------------
  |  |   84|     15|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     15|    (_Py_SourceLocation){ \
  |  |  |  |   55|     15|               .lineno = (n)->lineno, \
  |  |  |  |   56|     15|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     15|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     15|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2845:13): [True: 0, False: 15]
  ------------------
 2846|      0|            return 0;
 2847|     15|    }
 2848|       |
 2849|      9|    return 1;
 2850|      9|}
symtable.c:check_keywords:
 1618|      3|{
 1619|      3|    for (Py_ssize_t i = 0; i < asdl_seq_LEN(keywords); i++) {
  ------------------
  |  |   83|      3|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 3, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1619:28): [True: 0, False: 3]
  ------------------
 1620|      0|        keyword_ty key = ((keyword_ty)asdl_seq_GET(keywords, i));
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1621|      0|        if (key->arg  && !check_name(st, key->arg, LOCATION(key), Store)) {
  ------------------
  |  |   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 (1621:13): [True: 0, False: 0]
  |  Branch (1621:26): [True: 0, False: 0]
  ------------------
 1622|      0|            return 0;
 1623|      0|        }
 1624|      0|    }
 1625|      3|    return 1;
 1626|      3|}
symtable.c:symtable_visit_expr:
 2486|     27|{
 2487|     27|    ENTER_RECURSIVE();
  ------------------
  |  | 1785|     27|#define ENTER_RECURSIVE() \
  |  | 1786|     27|if (Py_EnterRecursiveCall(" during compilation")) { \
  |  |  ------------------
  |  |  |  Branch (1786:5): [True: 0, False: 27]
  |  |  ------------------
  |  | 1787|      0|    return 0; \
  |  | 1788|      0|}
  ------------------
 2488|     27|    switch (e->kind) {
  ------------------
  |  Branch (2488:13): [True: 27, False: 0]
  ------------------
 2489|      0|    case NamedExpr_kind:
  ------------------
  |  Branch (2489:5): [True: 0, False: 27]
  ------------------
 2490|      0|        if (!symtable_raise_if_annotation_block(st, "named expression", e)) {
  ------------------
  |  Branch (2490:13): [True: 0, False: 0]
  ------------------
 2491|      0|            return 0;
 2492|      0|        }
 2493|      0|        if(!symtable_handle_namedexpr(st, e))
  ------------------
  |  Branch (2493:12): [True: 0, False: 0]
  ------------------
 2494|      0|            return 0;
 2495|      0|        break;
 2496|      0|    case BoolOp_kind:
  ------------------
  |  Branch (2496:5): [True: 0, False: 27]
  ------------------
 2497|      0|        VISIT_SEQ(st, expr, e->v.BoolOp.values);
  ------------------
  |  | 1738|      0|    do { \
  |  | 1739|      0|        Py_ssize_t i; \
  |  | 1740|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|      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 (1741:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1742|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1744|      0|                return 0;                 \
  |  | 1745|      0|        } \
  |  | 1746|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2498|      0|        break;
 2499|      0|    case BinOp_kind:
  ------------------
  |  Branch (2499:5): [True: 0, False: 27]
  ------------------
 2500|      0|        VISIT(st, expr, e->v.BinOp.left);
  ------------------
  |  | 1731|      0|    do { \
  |  | 1732|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2501|      0|        VISIT(st, expr, e->v.BinOp.right);
  ------------------
  |  | 1731|      0|    do { \
  |  | 1732|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2502|      0|        break;
 2503|      0|    case UnaryOp_kind:
  ------------------
  |  Branch (2503:5): [True: 0, False: 27]
  ------------------
 2504|      0|        VISIT(st, expr, e->v.UnaryOp.operand);
  ------------------
  |  | 1731|      0|    do { \
  |  | 1732|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2505|      0|        break;
 2506|      3|    case Lambda_kind: {
  ------------------
  |  Branch (2506:5): [True: 3, False: 24]
  ------------------
 2507|      3|        if (e->v.Lambda.args->defaults)
  ------------------
  |  Branch (2507:13): [True: 3, False: 0]
  ------------------
 2508|      3|            VISIT_SEQ(st, expr, e->v.Lambda.args->defaults);
  ------------------
  |  | 1738|      3|    do { \
  |  | 1739|      3|        Py_ssize_t i; \
  |  | 1740|      3|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|      3|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      3|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 3]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 0, False: 3]
  |  |  ------------------
  |  | 1742|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1744|      0|                return 0;                 \
  |  | 1745|      0|        } \
  |  | 1746|      3|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 3]
  |  |  ------------------
  ------------------
 2509|      3|        if (e->v.Lambda.args->kw_defaults)
  ------------------
  |  Branch (2509:13): [True: 3, False: 0]
  ------------------
 2510|      3|            VISIT_SEQ_WITH_NULL(st, expr, e->v.Lambda.args->kw_defaults);
  ------------------
  |  | 1760|      3|    do { \
  |  | 1761|      3|        int i = 0; \
  |  | 1762|      3|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1763|      3|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      3|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 3]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1763:21): [True: 0, False: 3]
  |  |  ------------------
  |  | 1764|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1765|      0|            if (!elt) continue; /* can be NULL */ \
  |  |  ------------------
  |  |  |  Branch (1765:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1766|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1766:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1767|      0|                return 0;             \
  |  | 1768|      0|        } \
  |  | 1769|      3|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1769:13): [Folded, False: 3]
  |  |  ------------------
  ------------------
 2511|      3|        if (!symtable_enter_block(st, &_Py_STR(anon_lambda),
  ------------------
  |  |  922|      3|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      3|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      3|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2511:13): [True: 0, False: 3]
  ------------------
 2512|      3|                                  FunctionBlock, (void *)e, LOCATION(e))) {
  ------------------
  |  |   84|      3|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      3|    (_Py_SourceLocation){ \
  |  |  |  |   55|      3|               .lineno = (n)->lineno, \
  |  |  |  |   56|      3|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      3|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      3|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2513|      0|            return 0;
 2514|      0|        }
 2515|      3|        VISIT(st, arguments, e->v.Lambda.args);
  ------------------
  |  | 1731|      3|    do { \
  |  | 1732|      3|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 3]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|      3|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 3]
  |  |  ------------------
  ------------------
 2516|      3|        VISIT(st, expr, e->v.Lambda.body);
  ------------------
  |  | 1731|      3|    do { \
  |  | 1732|      3|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 3]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|      3|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 3]
  |  |  ------------------
  ------------------
 2517|      3|        if (!symtable_exit_block(st))
  ------------------
  |  Branch (2517:13): [True: 0, False: 3]
  ------------------
 2518|      0|            return 0;
 2519|      3|        break;
 2520|      3|    }
 2521|      3|    case IfExp_kind:
  ------------------
  |  Branch (2521:5): [True: 0, False: 27]
  ------------------
 2522|      0|        VISIT(st, expr, e->v.IfExp.test);
  ------------------
  |  | 1731|      0|    do { \
  |  | 1732|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2523|      0|        VISIT(st, expr, e->v.IfExp.body);
  ------------------
  |  | 1731|      0|    do { \
  |  | 1732|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2524|      0|        VISIT(st, expr, e->v.IfExp.orelse);
  ------------------
  |  | 1731|      0|    do { \
  |  | 1732|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2525|      0|        break;
 2526|      0|    case Dict_kind:
  ------------------
  |  Branch (2526:5): [True: 0, False: 27]
  ------------------
 2527|      0|        VISIT_SEQ_WITH_NULL(st, expr, e->v.Dict.keys);
  ------------------
  |  | 1760|      0|    do { \
  |  | 1761|      0|        int i = 0; \
  |  | 1762|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1763|      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 (1763:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1764|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1765|      0|            if (!elt) continue; /* can be NULL */ \
  |  |  ------------------
  |  |  |  Branch (1765:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1766|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1766:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1767|      0|                return 0;             \
  |  | 1768|      0|        } \
  |  | 1769|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1769:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2528|      0|        VISIT_SEQ(st, expr, e->v.Dict.values);
  ------------------
  |  | 1738|      0|    do { \
  |  | 1739|      0|        Py_ssize_t i; \
  |  | 1740|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|      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 (1741:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1742|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1744|      0|                return 0;                 \
  |  | 1745|      0|        } \
  |  | 1746|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2529|      0|        break;
 2530|      0|    case Set_kind:
  ------------------
  |  Branch (2530:5): [True: 0, False: 27]
  ------------------
 2531|      0|        VISIT_SEQ(st, expr, e->v.Set.elts);
  ------------------
  |  | 1738|      0|    do { \
  |  | 1739|      0|        Py_ssize_t i; \
  |  | 1740|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|      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 (1741:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1742|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1744|      0|                return 0;                 \
  |  | 1745|      0|        } \
  |  | 1746|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2532|      0|        break;
 2533|      0|    case GeneratorExp_kind:
  ------------------
  |  Branch (2533:5): [True: 0, False: 27]
  ------------------
 2534|      0|        if (!symtable_visit_genexp(st, e))
  ------------------
  |  Branch (2534:13): [True: 0, False: 0]
  ------------------
 2535|      0|            return 0;
 2536|      0|        break;
 2537|      0|    case ListComp_kind:
  ------------------
  |  Branch (2537:5): [True: 0, False: 27]
  ------------------
 2538|      0|        if (!symtable_visit_listcomp(st, e))
  ------------------
  |  Branch (2538:13): [True: 0, False: 0]
  ------------------
 2539|      0|            return 0;
 2540|      0|        break;
 2541|      0|    case SetComp_kind:
  ------------------
  |  Branch (2541:5): [True: 0, False: 27]
  ------------------
 2542|      0|        if (!symtable_visit_setcomp(st, e))
  ------------------
  |  Branch (2542:13): [True: 0, False: 0]
  ------------------
 2543|      0|            return 0;
 2544|      0|        break;
 2545|      0|    case DictComp_kind:
  ------------------
  |  Branch (2545:5): [True: 0, False: 27]
  ------------------
 2546|      0|        if (!symtable_visit_dictcomp(st, e))
  ------------------
  |  Branch (2546:13): [True: 0, False: 0]
  ------------------
 2547|      0|            return 0;
 2548|      0|        break;
 2549|      0|    case Yield_kind:
  ------------------
  |  Branch (2549:5): [True: 0, False: 27]
  ------------------
 2550|      0|        if (!symtable_raise_if_annotation_block(st, "yield expression", e)) {
  ------------------
  |  Branch (2550:13): [True: 0, False: 0]
  ------------------
 2551|      0|            return 0;
 2552|      0|        }
 2553|      0|        if (e->v.Yield.value)
  ------------------
  |  Branch (2553:13): [True: 0, False: 0]
  ------------------
 2554|      0|            VISIT(st, expr, e->v.Yield.value);
  ------------------
  |  | 1731|      0|    do { \
  |  | 1732|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2555|      0|        st->st_cur->ste_generator = 1;
 2556|      0|        if (st->st_cur->ste_comprehension) {
  ------------------
  |  Branch (2556:13): [True: 0, False: 0]
  ------------------
 2557|      0|            return symtable_raise_if_comprehension_block(st, e);
 2558|      0|        }
 2559|      0|        break;
 2560|      0|    case YieldFrom_kind:
  ------------------
  |  Branch (2560:5): [True: 0, False: 27]
  ------------------
 2561|      0|        if (!symtable_raise_if_annotation_block(st, "yield expression", e)) {
  ------------------
  |  Branch (2561:13): [True: 0, False: 0]
  ------------------
 2562|      0|            return 0;
 2563|      0|        }
 2564|      0|        VISIT(st, expr, e->v.YieldFrom.value);
  ------------------
  |  | 1731|      0|    do { \
  |  | 1732|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2565|      0|        st->st_cur->ste_generator = 1;
 2566|      0|        if (st->st_cur->ste_comprehension) {
  ------------------
  |  Branch (2566:13): [True: 0, False: 0]
  ------------------
 2567|      0|            return symtable_raise_if_comprehension_block(st, e);
 2568|      0|        }
 2569|      0|        break;
 2570|      0|    case Await_kind:
  ------------------
  |  Branch (2570:5): [True: 0, False: 27]
  ------------------
 2571|      0|        if (!symtable_raise_if_annotation_block(st, "await expression", e)) {
  ------------------
  |  Branch (2571:13): [True: 0, False: 0]
  ------------------
 2572|      0|            return 0;
 2573|      0|        }
 2574|      0|        if (!allows_top_level_await(st)) {
  ------------------
  |  Branch (2574:13): [True: 0, False: 0]
  ------------------
 2575|      0|            if (!_PyST_IsFunctionLike(st->st_cur)) {
  ------------------
  |  Branch (2575:17): [True: 0, False: 0]
  ------------------
 2576|      0|                PyErr_SetString(PyExc_SyntaxError,
 2577|      0|                                "'await' outside function");
 2578|      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)
  ------------------
 2579|      0|                return 0;
 2580|      0|            }
 2581|      0|            if (!IS_ASYNC_DEF(st) && st->st_cur->ste_comprehension == NoComprehension) {
  ------------------
  |  |   90|      0|#define IS_ASYNC_DEF(st) ((st)->st_cur->ste_type == FunctionBlock && (st)->st_cur->ste_coroutine)
  |  |  ------------------
  |  |  |  Branch (90:27): [True: 0, False: 0]
  |  |  |  Branch (90:70): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2581:38): [True: 0, False: 0]
  ------------------
 2582|      0|                PyErr_SetString(PyExc_SyntaxError,
 2583|      0|                                "'await' outside async function");
 2584|      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)
  ------------------
 2585|      0|                return 0;
 2586|      0|            }
 2587|      0|        }
 2588|      0|        VISIT(st, expr, e->v.Await.value);
  ------------------
  |  | 1731|      0|    do { \
  |  | 1732|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2589|      0|        st->st_cur->ste_coroutine = 1;
 2590|      0|        break;
 2591|      0|    case Compare_kind:
  ------------------
  |  Branch (2591:5): [True: 0, False: 27]
  ------------------
 2592|      0|        VISIT(st, expr, e->v.Compare.left);
  ------------------
  |  | 1731|      0|    do { \
  |  | 1732|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2593|      0|        VISIT_SEQ(st, expr, e->v.Compare.comparators);
  ------------------
  |  | 1738|      0|    do { \
  |  | 1739|      0|        Py_ssize_t i; \
  |  | 1740|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|      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 (1741:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1742|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1744|      0|                return 0;                 \
  |  | 1745|      0|        } \
  |  | 1746|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2594|      0|        break;
 2595|      3|    case Call_kind:
  ------------------
  |  Branch (2595:5): [True: 3, False: 24]
  ------------------
 2596|      3|        VISIT(st, expr, e->v.Call.func);
  ------------------
  |  | 1731|      3|    do { \
  |  | 1732|      3|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 3]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|      3|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 3]
  |  |  ------------------
  ------------------
 2597|      3|        VISIT_SEQ(st, expr, e->v.Call.args);
  ------------------
  |  | 1738|      3|    do { \
  |  | 1739|      3|        Py_ssize_t i; \
  |  | 1740|      3|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|      9|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   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:37): [True: 0, False: 9]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 6, False: 3]
  |  |  ------------------
  |  | 1742|      6|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      6|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|      6|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 0, False: 6]
  |  |  ------------------
  |  | 1744|      6|                return 0;                 \
  |  | 1745|      6|        } \
  |  | 1746|      3|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 3]
  |  |  ------------------
  ------------------
 2598|      3|        if (!check_keywords(st, e->v.Call.keywords)) {
  ------------------
  |  Branch (2598:13): [True: 0, False: 3]
  ------------------
 2599|      0|            return 0;
 2600|      0|        }
 2601|      3|        VISIT_SEQ_WITH_NULL(st, keyword, e->v.Call.keywords);
  ------------------
  |  | 1760|      3|    do { \
  |  | 1761|      3|        int i = 0; \
  |  | 1762|      3|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1763|      3|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      3|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 3, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1763:21): [True: 0, False: 3]
  |  |  ------------------
  |  | 1764|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1765|      0|            if (!elt) continue; /* can be NULL */ \
  |  |  ------------------
  |  |  |  Branch (1765:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1766|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1766:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1767|      0|                return 0;             \
  |  | 1768|      0|        } \
  |  | 1769|      3|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1769:13): [Folded, False: 3]
  |  |  ------------------
  ------------------
 2602|      3|        break;
 2603|      3|    case FormattedValue_kind:
  ------------------
  |  Branch (2603:5): [True: 0, False: 27]
  ------------------
 2604|      0|        VISIT(st, expr, e->v.FormattedValue.value);
  ------------------
  |  | 1731|      0|    do { \
  |  | 1732|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2605|      0|        if (e->v.FormattedValue.format_spec)
  ------------------
  |  Branch (2605:13): [True: 0, False: 0]
  ------------------
 2606|      0|            VISIT(st, expr, e->v.FormattedValue.format_spec);
  ------------------
  |  | 1731|      0|    do { \
  |  | 1732|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2607|      0|        break;
 2608|      0|    case Interpolation_kind:
  ------------------
  |  Branch (2608:5): [True: 0, False: 27]
  ------------------
 2609|      0|        VISIT(st, expr, e->v.Interpolation.value);
  ------------------
  |  | 1731|      0|    do { \
  |  | 1732|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2610|      0|        if (e->v.Interpolation.format_spec)
  ------------------
  |  Branch (2610:13): [True: 0, False: 0]
  ------------------
 2611|      0|            VISIT(st, expr, e->v.Interpolation.format_spec);
  ------------------
  |  | 1731|      0|    do { \
  |  | 1732|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2612|      0|        break;
 2613|      0|    case JoinedStr_kind:
  ------------------
  |  Branch (2613:5): [True: 0, False: 27]
  ------------------
 2614|      0|        VISIT_SEQ(st, expr, e->v.JoinedStr.values);
  ------------------
  |  | 1738|      0|    do { \
  |  | 1739|      0|        Py_ssize_t i; \
  |  | 1740|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|      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 (1741:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1742|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1744|      0|                return 0;                 \
  |  | 1745|      0|        } \
  |  | 1746|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2615|      0|        break;
 2616|      0|    case TemplateStr_kind:
  ------------------
  |  Branch (2616:5): [True: 0, False: 27]
  ------------------
 2617|      0|        VISIT_SEQ(st, expr, e->v.TemplateStr.values);
  ------------------
  |  | 1738|      0|    do { \
  |  | 1739|      0|        Py_ssize_t i; \
  |  | 1740|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|      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 (1741:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1742|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1744|      0|                return 0;                 \
  |  | 1745|      0|        } \
  |  | 1746|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2618|      0|        break;
 2619|      0|    case Constant_kind:
  ------------------
  |  Branch (2619:5): [True: 0, False: 27]
  ------------------
 2620|       |        /* Nothing to do here. */
 2621|      0|        break;
 2622|       |    /* The following exprs can be assignment targets. */
 2623|      0|    case Attribute_kind:
  ------------------
  |  Branch (2623:5): [True: 0, False: 27]
  ------------------
 2624|      0|        if (!check_name(st, e->v.Attribute.attr, LOCATION(e), e->v.Attribute.ctx)) {
  ------------------
  |  |   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 (2624:13): [True: 0, False: 0]
  ------------------
 2625|      0|            return 0;
 2626|      0|        }
 2627|      0|        VISIT(st, expr, e->v.Attribute.value);
  ------------------
  |  | 1731|      0|    do { \
  |  | 1732|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2628|      0|        break;
 2629|      0|    case Subscript_kind:
  ------------------
  |  Branch (2629:5): [True: 0, False: 27]
  ------------------
 2630|      0|        VISIT(st, expr, e->v.Subscript.value);
  ------------------
  |  | 1731|      0|    do { \
  |  | 1732|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2631|      0|        VISIT(st, expr, e->v.Subscript.slice);
  ------------------
  |  | 1731|      0|    do { \
  |  | 1732|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2632|      0|        break;
 2633|      0|    case Starred_kind:
  ------------------
  |  Branch (2633:5): [True: 0, False: 27]
  ------------------
 2634|      0|        VISIT(st, expr, e->v.Starred.value);
  ------------------
  |  | 1731|      0|    do { \
  |  | 1732|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2635|      0|        break;
 2636|      0|    case Slice_kind:
  ------------------
  |  Branch (2636:5): [True: 0, False: 27]
  ------------------
 2637|      0|        if (e->v.Slice.lower)
  ------------------
  |  Branch (2637:13): [True: 0, False: 0]
  ------------------
 2638|      0|            VISIT(st, expr, e->v.Slice.lower);
  ------------------
  |  | 1731|      0|    do { \
  |  | 1732|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2639|      0|        if (e->v.Slice.upper)
  ------------------
  |  Branch (2639:13): [True: 0, False: 0]
  ------------------
 2640|      0|            VISIT(st, expr, e->v.Slice.upper);
  ------------------
  |  | 1731|      0|    do { \
  |  | 1732|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2641|      0|        if (e->v.Slice.step)
  ------------------
  |  Branch (2641:13): [True: 0, False: 0]
  ------------------
 2642|      0|            VISIT(st, expr, e->v.Slice.step);
  ------------------
  |  | 1731|      0|    do { \
  |  | 1732|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2643|      0|        break;
 2644|     18|    case Name_kind:
  ------------------
  |  Branch (2644:5): [True: 18, False: 9]
  ------------------
 2645|     18|        if (!st->st_cur->ste_in_unevaluated_annotation) {
  ------------------
  |  Branch (2645:13): [True: 18, False: 0]
  ------------------
 2646|     18|            if (!symtable_add_def_ctx(st, e->v.Name.id,
  ------------------
  |  Branch (2646:17): [True: 0, False: 18]
  ------------------
 2647|     18|                                    e->v.Name.ctx == Load ? USE : DEF_LOCAL,
  ------------------
  |  |  169|     18|#define USE (2<<3)               /* name is used */
  ------------------
                                                  e->v.Name.ctx == Load ? USE : DEF_LOCAL,
  ------------------
  |  |  166|      0|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
  |  Branch (2647:37): [True: 18, False: 0]
  ------------------
 2648|     18|                                    LOCATION(e), e->v.Name.ctx)) {
  ------------------
  |  |   84|     18|#define LOCATION(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 }
  |  |  ------------------
  ------------------
 2649|      0|                return 0;
 2650|      0|            }
 2651|       |            /* Special-case super: it counts as a use of __class__ */
 2652|     18|            if (e->v.Name.ctx == Load &&
  ------------------
  |  Branch (2652:17): [True: 18, False: 0]
  ------------------
 2653|     18|                _PyST_IsFunctionLike(st->st_cur) &&
  ------------------
  |  Branch (2653:17): [True: 18, False: 0]
  ------------------
 2654|     18|                _PyUnicode_EqualToASCIIString(e->v.Name.id, "super")) {
  ------------------
  |  Branch (2654:17): [True: 0, False: 18]
  ------------------
 2655|      0|                if (!symtable_add_def(st, &_Py_ID(__class__), USE, LOCATION(e)))
  ------------------
  |  |  920|      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(__class__), USE, LOCATION(e)))
  ------------------
  |  |  169|      0|#define USE (2<<3)               /* name is used */
  ------------------
                              if (!symtable_add_def(st, &_Py_ID(__class__), USE, LOCATION(e)))
  ------------------
  |  |   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 (2655:21): [True: 0, False: 0]
  ------------------
 2656|      0|                    return 0;
 2657|      0|            }
 2658|     18|        }
 2659|     18|        break;
 2660|       |    /* child nodes of List and Tuple will have expr_context set */
 2661|     18|    case List_kind:
  ------------------
  |  Branch (2661:5): [True: 0, False: 27]
  ------------------
 2662|      0|        VISIT_SEQ(st, expr, e->v.List.elts);
  ------------------
  |  | 1738|      0|    do { \
  |  | 1739|      0|        Py_ssize_t i; \
  |  | 1740|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|      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 (1741:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1742|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1744|      0|                return 0;                 \
  |  | 1745|      0|        } \
  |  | 1746|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2663|      0|        break;
 2664|      3|    case Tuple_kind:
  ------------------
  |  Branch (2664:5): [True: 3, False: 24]
  ------------------
 2665|      3|        VISIT_SEQ(st, expr, e->v.Tuple.elts);
  ------------------
  |  | 1738|      3|    do { \
  |  | 1739|      3|        Py_ssize_t i; \
  |  | 1740|      3|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|     15|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|     15|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     30|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 15]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 12, False: 3]
  |  |  ------------------
  |  | 1742|     12|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|     12|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     12|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|     12|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 0, False: 12]
  |  |  ------------------
  |  | 1744|     12|                return 0;                 \
  |  | 1745|     12|        } \
  |  | 1746|      3|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 3]
  |  |  ------------------
  ------------------
 2666|      3|        break;
 2667|     27|    }
 2668|     27|    LEAVE_RECURSIVE();
  ------------------
  |  | 1790|     27|#define LEAVE_RECURSIVE() Py_LeaveRecursiveCall();
  ------------------
 2669|     27|    return 1;
 2670|     27|}

PySys_GetAttrString:
  103|      2|{
  104|      2|    PyThreadState *tstate = _PyThreadState_GET();
  105|      2|    PyObject *sysdict = tstate->interp->sysdict;
  106|      2|    if (sysdict == NULL) {
  ------------------
  |  Branch (106:9): [True: 0, False: 2]
  ------------------
  107|      0|        PyErr_SetString(PyExc_RuntimeError, "no sys module");
  108|      0|        return NULL;
  109|      0|    }
  110|      2|    PyObject *value;
  111|      2|    if (PyDict_GetItemStringRef(sysdict, name, &value) == 0) {
  ------------------
  |  Branch (111:9): [True: 0, False: 2]
  ------------------
  112|      0|        PyErr_Format(PyExc_RuntimeError, "lost sys.%s", name);
  113|      0|    }
  114|      2|    return value;
  115|      2|}
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|      8|{
  194|      8|    PyInterpreterState *interp = _PyInterpreterState_GET();
  195|      8|    return sys_set_object(interp, key, v);
  196|      8|}
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|      5|{
  375|      5|    va_list vargs;
  376|      5|    va_start(vargs, argFormat);
  377|      5|    int res = sys_audit_tstate(tstate, event, argFormat, vargs);
  378|       |    va_end(vargs);
  379|      5|    return res;
  380|      5|}
PySys_Audit:
  384|    184|{
  385|    184|    PyThreadState *tstate = _PyThreadState_GET();
  386|    184|    va_list vargs;
  387|    184|    va_start(vargs, argFormat);
  388|    184|    int res = sys_audit_tstate(tstate, event, argFormat, vargs);
  389|       |    va_end(vargs);
  390|    184|    return res;
  391|    184|}
_PySys_ReadPreinitWarnOptions:
 3090|      2|{
 3091|      2|    PyStatus status;
 3092|      2|    _Py_PreInitEntry entry;
 3093|       |
 3094|      2|    for (entry = _preinit_warnoptions; entry != NULL; entry = entry->next) {
  ------------------
  |  Branch (3094:40): [True: 0, False: 2]
  ------------------
 3095|      0|        status = PyWideStringList_Append(options, entry->value);
 3096|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3097|      0|            return status;
 3098|      0|        }
 3099|      0|    }
 3100|       |
 3101|      2|    _clear_preinit_entries(&_preinit_warnoptions);
 3102|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3103|      2|}
_PySys_ReadPreinitXOptions:
 3108|      2|{
 3109|      2|    PyStatus status;
 3110|      2|    _Py_PreInitEntry entry;
 3111|       |
 3112|      2|    for (entry = _preinit_xoptions; entry != NULL; entry = entry->next) {
  ------------------
  |  Branch (3112:37): [True: 0, False: 2]
  ------------------
 3113|      0|        status = PyWideStringList_Append(&config->xoptions, entry->value);
 3114|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3115|      0|            return status;
 3116|      0|        }
 3117|      0|    }
 3118|       |
 3119|      2|    _clear_preinit_entries(&_preinit_xoptions);
 3120|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3121|      2|}
_PySys_UpdateConfig:
 4123|      2|{
 4124|      2|    PyInterpreterState *interp = tstate->interp;
 4125|      2|    PyObject *sysdict = interp->sysdict;
 4126|      2|    const PyConfig *config = _PyInterpreterState_GetConfig(interp);
 4127|      2|    int res;
 4128|       |
 4129|      2|#define COPY_LIST(KEY, VALUE) \
 4130|      2|        SET_SYS(KEY, _PyWideStringList_AsList(&(VALUE)));
 4131|       |
 4132|      2|#define SET_SYS_FROM_WSTR(KEY, VALUE) \
 4133|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
 4134|       |
 4135|      2|#define COPY_WSTR(SYS_ATTR, WSTR) \
 4136|      2|    if (WSTR != NULL) { \
 4137|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
 4138|      2|    }
 4139|       |
 4140|      2|    if (config->module_search_paths_set) {
  ------------------
  |  Branch (4140:9): [True: 2, False: 0]
  ------------------
 4141|      2|        COPY_LIST("path", config->module_search_paths);
  ------------------
  |  | 4130|      2|        SET_SYS(KEY, _PyWideStringList_AsList(&(VALUE)));
  |  |  ------------------
  |  |  |  | 3975|      2|    do {                                                   \
  |  |  |  | 3976|      2|        PyObject *v = (value);                             \
  |  |  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3978|      0|            goto err_occurred;                             \
  |  |  |  | 3979|      0|        }                                                  \
  |  |  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3981|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3983|      0|            goto err_occurred;                             \
  |  |  |  | 3984|      0|        }                                                  \
  |  |  |  | 3985|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4142|      2|    }
 4143|       |
 4144|      2|    COPY_WSTR("executable", config->executable);
  ------------------
  |  | 4136|      2|    if (WSTR != NULL) { \
  |  |  ------------------
  |  |  |  Branch (4136:9): [True: 2, False: 0]
  |  |  ------------------
  |  | 4137|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
  |  |  ------------------
  |  |  |  | 4133|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  |  |  ------------------
  |  |  |  |  |  | 3975|      2|    do {                                                   \
  |  |  |  |  |  | 3976|      2|        PyObject *v = (value);                             \
  |  |  |  |  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3978|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3979|      0|        }                                                  \
  |  |  |  |  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  |  |  | 3981|      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))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3983|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3984|      0|        }                                                  \
  |  |  |  |  |  | 3985|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4138|      2|    }
  ------------------
 4145|      2|    COPY_WSTR("_base_executable", config->base_executable);
  ------------------
  |  | 4136|      2|    if (WSTR != NULL) { \
  |  |  ------------------
  |  |  |  Branch (4136:9): [True: 2, False: 0]
  |  |  ------------------
  |  | 4137|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
  |  |  ------------------
  |  |  |  | 4133|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  |  |  ------------------
  |  |  |  |  |  | 3975|      2|    do {                                                   \
  |  |  |  |  |  | 3976|      2|        PyObject *v = (value);                             \
  |  |  |  |  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3978|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3979|      0|        }                                                  \
  |  |  |  |  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  |  |  | 3981|      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))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3983|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3984|      0|        }                                                  \
  |  |  |  |  |  | 3985|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4138|      2|    }
  ------------------
 4146|      2|    COPY_WSTR("prefix", config->prefix);
  ------------------
  |  | 4136|      2|    if (WSTR != NULL) { \
  |  |  ------------------
  |  |  |  Branch (4136:9): [True: 2, False: 0]
  |  |  ------------------
  |  | 4137|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
  |  |  ------------------
  |  |  |  | 4133|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  |  |  ------------------
  |  |  |  |  |  | 3975|      2|    do {                                                   \
  |  |  |  |  |  | 3976|      2|        PyObject *v = (value);                             \
  |  |  |  |  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3978|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3979|      0|        }                                                  \
  |  |  |  |  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  |  |  | 3981|      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))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3983|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3984|      0|        }                                                  \
  |  |  |  |  |  | 3985|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4138|      2|    }
  ------------------
 4147|      2|    COPY_WSTR("base_prefix", config->base_prefix);
  ------------------
  |  | 4136|      2|    if (WSTR != NULL) { \
  |  |  ------------------
  |  |  |  Branch (4136:9): [True: 2, False: 0]
  |  |  ------------------
  |  | 4137|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
  |  |  ------------------
  |  |  |  | 4133|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  |  |  ------------------
  |  |  |  |  |  | 3975|      2|    do {                                                   \
  |  |  |  |  |  | 3976|      2|        PyObject *v = (value);                             \
  |  |  |  |  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3978|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3979|      0|        }                                                  \
  |  |  |  |  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  |  |  | 3981|      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))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3983|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3984|      0|        }                                                  \
  |  |  |  |  |  | 3985|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4138|      2|    }
  ------------------
 4148|      2|    COPY_WSTR("exec_prefix", config->exec_prefix);
  ------------------
  |  | 4136|      2|    if (WSTR != NULL) { \
  |  |  ------------------
  |  |  |  Branch (4136:9): [True: 2, False: 0]
  |  |  ------------------
  |  | 4137|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
  |  |  ------------------
  |  |  |  | 4133|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  |  |  ------------------
  |  |  |  |  |  | 3975|      2|    do {                                                   \
  |  |  |  |  |  | 3976|      2|        PyObject *v = (value);                             \
  |  |  |  |  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3978|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3979|      0|        }                                                  \
  |  |  |  |  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  |  |  | 3981|      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))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3983|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3984|      0|        }                                                  \
  |  |  |  |  |  | 3985|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4138|      2|    }
  ------------------
 4149|      2|    COPY_WSTR("base_exec_prefix", config->base_exec_prefix);
  ------------------
  |  | 4136|      2|    if (WSTR != NULL) { \
  |  |  ------------------
  |  |  |  Branch (4136:9): [True: 2, False: 0]
  |  |  ------------------
  |  | 4137|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
  |  |  ------------------
  |  |  |  | 4133|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  |  |  ------------------
  |  |  |  |  |  | 3975|      2|    do {                                                   \
  |  |  |  |  |  | 3976|      2|        PyObject *v = (value);                             \
  |  |  |  |  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3978|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3979|      0|        }                                                  \
  |  |  |  |  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  |  |  | 3981|      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))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3983|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3984|      0|        }                                                  \
  |  |  |  |  |  | 3985|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4138|      2|    }
  ------------------
 4150|      2|    COPY_WSTR("platlibdir", config->platlibdir);
  ------------------
  |  | 4136|      2|    if (WSTR != NULL) { \
  |  |  ------------------
  |  |  |  Branch (4136:9): [True: 2, False: 0]
  |  |  ------------------
  |  | 4137|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
  |  |  ------------------
  |  |  |  | 4133|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  |  |  ------------------
  |  |  |  |  |  | 3975|      2|    do {                                                   \
  |  |  |  |  |  | 3976|      2|        PyObject *v = (value);                             \
  |  |  |  |  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3978|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3979|      0|        }                                                  \
  |  |  |  |  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  |  |  | 3981|      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))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3983|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3984|      0|        }                                                  \
  |  |  |  |  |  | 3985|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4138|      2|    }
  ------------------
 4151|       |
 4152|      2|    if (config->pycache_prefix != NULL) {
  ------------------
  |  Branch (4152:9): [True: 0, False: 2]
  ------------------
 4153|      0|        SET_SYS_FROM_WSTR("pycache_prefix", config->pycache_prefix);
  ------------------
  |  | 4133|      0|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  ------------------
  |  |  |  | 3975|      0|    do {                                                   \
  |  |  |  | 3976|      0|        PyObject *v = (value);                             \
  |  |  |  | 3977|      0|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3977:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 3978|      0|            goto err_occurred;                             \
  |  |  |  | 3979|      0|        }                                                  \
  |  |  |  | 3980|      0|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3981|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3982|      0|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3982:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 3983|      0|            goto err_occurred;                             \
  |  |  |  | 3984|      0|        }                                                  \
  |  |  |  | 3985|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3985:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4154|      2|    } else {
 4155|      2|        if (PyDict_SetItemString(sysdict, "pycache_prefix", Py_None) < 0) {
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4155:13): [True: 0, False: 2]
  ------------------
 4156|      0|            return -1;
 4157|      0|        }
 4158|      2|    }
 4159|       |
 4160|      2|    COPY_LIST("argv", config->argv);
  ------------------
  |  | 4130|      2|        SET_SYS(KEY, _PyWideStringList_AsList(&(VALUE)));
  |  |  ------------------
  |  |  |  | 3975|      2|    do {                                                   \
  |  |  |  | 3976|      2|        PyObject *v = (value);                             \
  |  |  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3978|      0|            goto err_occurred;                             \
  |  |  |  | 3979|      0|        }                                                  \
  |  |  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3981|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3983|      0|            goto err_occurred;                             \
  |  |  |  | 3984|      0|        }                                                  \
  |  |  |  | 3985|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4161|      2|    COPY_LIST("orig_argv", config->orig_argv);
  ------------------
  |  | 4130|      2|        SET_SYS(KEY, _PyWideStringList_AsList(&(VALUE)));
  |  |  ------------------
  |  |  |  | 3975|      2|    do {                                                   \
  |  |  |  | 3976|      2|        PyObject *v = (value);                             \
  |  |  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3978|      0|            goto err_occurred;                             \
  |  |  |  | 3979|      0|        }                                                  \
  |  |  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3981|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3983|      0|            goto err_occurred;                             \
  |  |  |  | 3984|      0|        }                                                  \
  |  |  |  | 3985|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4162|      2|    COPY_LIST("warnoptions", config->warnoptions);
  ------------------
  |  | 4130|      2|        SET_SYS(KEY, _PyWideStringList_AsList(&(VALUE)));
  |  |  ------------------
  |  |  |  | 3975|      2|    do {                                                   \
  |  |  |  | 3976|      2|        PyObject *v = (value);                             \
  |  |  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3978|      0|            goto err_occurred;                             \
  |  |  |  | 3979|      0|        }                                                  \
  |  |  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3981|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3983|      0|            goto err_occurred;                             \
  |  |  |  | 3984|      0|        }                                                  \
  |  |  |  | 3985|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4163|       |
 4164|      2|    SET_SYS("_xoptions", _PyConfig_CreateXOptionsDict(config));
  ------------------
  |  | 3975|      2|    do {                                                   \
  |  | 3976|      2|        PyObject *v = (value);                             \
  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3978|      0|            goto err_occurred;                             \
  |  | 3979|      0|        }                                                  \
  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3981|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3983|      0|            goto err_occurred;                             \
  |  | 3984|      0|        }                                                  \
  |  | 3985|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4165|       |
 4166|      2|    const wchar_t *stdlibdir = _Py_GetStdlibDir();
 4167|      2|    if (stdlibdir != NULL) {
  ------------------
  |  Branch (4167:9): [True: 2, False: 0]
  ------------------
 4168|      2|        SET_SYS_FROM_WSTR("_stdlib_dir", stdlibdir);
  ------------------
  |  | 4133|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  ------------------
  |  |  |  | 3975|      2|    do {                                                   \
  |  |  |  | 3976|      2|        PyObject *v = (value);                             \
  |  |  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3978|      0|            goto err_occurred;                             \
  |  |  |  | 3979|      0|        }                                                  \
  |  |  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3981|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3983|      0|            goto err_occurred;                             \
  |  |  |  | 3984|      0|        }                                                  \
  |  |  |  | 3985|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4169|      2|    }
 4170|      0|    else {
 4171|      0|        if (PyDict_SetItemString(sysdict, "_stdlib_dir", Py_None) < 0) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4171:13): [True: 0, False: 0]
  ------------------
 4172|      0|            return -1;
 4173|      0|        }
 4174|      0|    }
 4175|       |
 4176|      2|#undef SET_SYS_FROM_WSTR
 4177|      2|#undef COPY_LIST
 4178|      2|#undef COPY_WSTR
 4179|       |
 4180|       |    // replace sys.flags
 4181|      2|    PyObject *new_flags = PyStructSequence_New(&FlagsType);
 4182|      2|    if (new_flags == NULL) {
  ------------------
  |  Branch (4182:9): [True: 0, False: 2]
  ------------------
 4183|      0|        return -1;
 4184|      0|    }
 4185|      2|    if (set_flags_from_config(interp, new_flags) < 0) {
  ------------------
  |  Branch (4185:9): [True: 0, False: 2]
  ------------------
 4186|      0|        Py_DECREF(new_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4187|      0|        return -1;
 4188|      0|    }
 4189|       |
 4190|      2|    res = _PySys_SetAttr(&_Py_ID(flags), new_flags);
  ------------------
  |  |  920|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4191|      2|    Py_DECREF(new_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4192|      2|    if (res < 0) {
  ------------------
  |  Branch (4192:9): [True: 0, False: 2]
  ------------------
 4193|      0|        return -1;
 4194|      0|    }
 4195|       |
 4196|      2|    SET_SYS("dont_write_bytecode", PyBool_FromLong(!config->write_bytecode));
  ------------------
  |  | 3975|      2|    do {                                                   \
  |  | 3976|      2|        PyObject *v = (value);                             \
  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3978|      0|            goto err_occurred;                             \
  |  | 3979|      0|        }                                                  \
  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3981|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3983|      0|            goto err_occurred;                             \
  |  | 3984|      0|        }                                                  \
  |  | 3985|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4197|       |
 4198|      2|    if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4198:9): [True: 0, False: 2]
  ------------------
 4199|      0|        goto err_occurred;
 4200|      0|    }
 4201|       |
 4202|      2|    return 0;
 4203|       |
 4204|      0|err_occurred:
 4205|      0|    return -1;
 4206|      2|}
_PySys_Create:
 4311|      2|{
 4312|      2|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (4312:5): [True: 2, False: 0]
  ------------------
 4313|       |
 4314|      2|    PyInterpreterState *interp = tstate->interp;
 4315|       |
 4316|      2|    PyObject *modules = _PyImport_InitModules(interp);
 4317|      2|    if (modules == NULL) {
  ------------------
  |  Branch (4317:9): [True: 0, False: 2]
  ------------------
 4318|      0|        goto error;
 4319|      0|    }
 4320|       |
 4321|      2|    PyObject *sysmod = _PyModule_CreateInitialized(&sysmodule, PYTHON_API_VERSION);
  ------------------
  |  |   59|      2|#define PYTHON_API_VERSION 1013
  ------------------
 4322|      2|    if (sysmod == NULL) {
  ------------------
  |  Branch (4322:9): [True: 0, False: 2]
  ------------------
 4323|      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)}
  ------------------
 4324|      0|    }
 4325|       |#ifdef Py_GIL_DISABLED
 4326|       |    PyUnstable_Module_SetGIL(sysmod, Py_MOD_GIL_NOT_USED);
 4327|       |#endif
 4328|       |
 4329|      2|    PyObject *sysdict = PyModule_GetDict(sysmod);
 4330|      2|    if (sysdict == NULL) {
  ------------------
  |  Branch (4330:9): [True: 0, False: 2]
  ------------------
 4331|      0|        goto error;
 4332|      0|    }
 4333|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4334|       |
 4335|      2|    interp->sysdict_copy = PyDict_Copy(sysdict);
 4336|      2|    if (interp->sysdict_copy == NULL) {
  ------------------
  |  Branch (4336:9): [True: 0, False: 2]
  ------------------
 4337|      0|        goto error;
 4338|      0|    }
 4339|       |
 4340|      2|    if (PyDict_SetItemString(sysdict, "modules", modules) < 0) {
  ------------------
  |  Branch (4340:9): [True: 0, False: 2]
  ------------------
 4341|      0|        goto error;
 4342|      0|    }
 4343|       |
 4344|      2|    PyObject *lazy_modules = _PyImport_InitLazyModules(interp); // borrowed reference
 4345|      2|    if (lazy_modules == NULL) {
  ------------------
  |  Branch (4345:9): [True: 0, False: 2]
  ------------------
 4346|      0|        goto error;
 4347|      0|    }
 4348|       |
 4349|      2|    if (PyDict_SetItemString(sysdict, "lazy_modules", lazy_modules) < 0) {
  ------------------
  |  Branch (4349:9): [True: 0, False: 2]
  ------------------
 4350|      0|        goto error;
 4351|      0|    }
 4352|       |
 4353|      2|    PyStatus status = _PySys_SetPreliminaryStderr(sysdict);
 4354|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 4355|      0|        return status;
 4356|      0|    }
 4357|       |
 4358|      2|    status = _PySys_InitCore(tstate, sysdict);
 4359|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 4360|      0|        return status;
 4361|      0|    }
 4362|       |
 4363|      2|    if (_PyImport_FixupBuiltin(tstate, sysmod, "sys", modules) < 0) {
  ------------------
  |  Branch (4363:9): [True: 0, False: 2]
  ------------------
 4364|      0|        goto error;
 4365|      0|    }
 4366|       |
 4367|      2|    PyObject *monitoring = _Py_CreateMonitoringObject();
 4368|      2|    if (monitoring == NULL) {
  ------------------
  |  Branch (4368:9): [True: 0, False: 2]
  ------------------
 4369|      0|        goto error;
 4370|      0|    }
 4371|      2|    int err = PyDict_SetItemString(sysdict, "monitoring", monitoring);
 4372|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4373|      2|    if (err < 0) {
  ------------------
  |  Branch (4373:9): [True: 0, False: 2]
  ------------------
 4374|      0|        goto error;
 4375|      0|    }
 4376|       |
 4377|      2|    PyObject *_jit = _PyModule_CreateInitialized(&_jit_module, PYTHON_API_VERSION);
  ------------------
  |  |   59|      2|#define PYTHON_API_VERSION 1013
  ------------------
 4378|      2|    if (_jit == NULL) {
  ------------------
  |  Branch (4378:9): [True: 0, False: 2]
  ------------------
 4379|      0|        goto error;
 4380|      0|    }
 4381|      2|    err = PyDict_SetItemString(sysdict, "_jit", _jit);
 4382|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4383|      2|    if (err) {
  ------------------
  |  Branch (4383:9): [True: 0, False: 2]
  ------------------
 4384|      0|        goto error;
 4385|      0|    }
 4386|       |
 4387|      2|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (4387:5): [True: 2, False: 0]
  ------------------
 4388|       |
 4389|      2|    *sysmod_p = sysmod;
 4390|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4391|       |
 4392|      0|error:
 4393|      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)}
  ------------------
 4394|      2|}
sysmodule.c:sys_set_object:
  171|     14|{
  172|     14|    if (key == NULL) {
  ------------------
  |  Branch (172:9): [True: 0, False: 14]
  ------------------
  173|      0|        return -1;
  174|      0|    }
  175|     14|    PyObject *sd = interp->sysdict;
  176|     14|    if (sd == NULL) {
  ------------------
  |  Branch (176:9): [True: 0, False: 14]
  ------------------
  177|      0|        PyErr_SetString(PyExc_RuntimeError, "no sys module");
  178|      0|        return -1;
  179|      0|    }
  180|     14|    if (v == NULL) {
  ------------------
  |  Branch (180:9): [True: 0, False: 14]
  ------------------
  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|     14|    else {
  187|     14|        return PyDict_SetItem(sd, key, v);
  188|     14|    }
  189|     14|}
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|    189|{
  248|    189|    assert(event != NULL);
  ------------------
  |  Branch (248:5): [True: 189, False: 0]
  ------------------
  249|    189|    assert(!argFormat || !strchr(argFormat, 'N'));
  ------------------
  |  Branch (249:5): [True: 0, False: 189]
  |  Branch (249:5): [True: 189, False: 0]
  ------------------
  250|       |
  251|    189|    if (!ts) {
  ------------------
  |  Branch (251:9): [True: 0, False: 189]
  ------------------
  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|    189|    assert(ts == _PyThreadState_GET());
  ------------------
  |  Branch (258:5): [True: 189, False: 0]
  ------------------
  259|       |
  260|       |    /* Early exit when no hooks are registered */
  261|    189|    PyInterpreterState *is = ts->interp;
  262|    189|    if (!should_audit(is)) {
  ------------------
  |  Branch (262:9): [True: 189, False: 0]
  ------------------
  263|    189|        return 0;
  264|    189|    }
  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);
  ------------------
  |  |  920|      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));
  ------------------
  |  Branch (364:9): [True: 0, False: 0]
  ------------------
  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|    278|{
  233|       |    /* interp must not be NULL, but test it just in case for extra safety */
  234|    278|    assert(interp != NULL);
  ------------------
  |  Branch (234:5): [True: 278, False: 0]
  ------------------
  235|    278|    if (!interp) {
  ------------------
  |  Branch (235:9): [True: 0, False: 278]
  ------------------
  236|      0|        return 0;
  237|      0|    }
  238|    278|    return (interp->runtime->audit_hooks.head
  ------------------
  |  Branch (238:13): [True: 0, False: 278]
  ------------------
  239|    278|            || interp->audit_hooks
  ------------------
  |  Branch (239:16): [True: 0, False: 278]
  ------------------
  240|    278|            || PyDTrace_AUDIT_ENABLED());
  ------------------
  |  Branch (240:16): [True: 0, False: 278]
  ------------------
  241|    278|}
sysmodule.c:_clear_preinit_entries:
 3075|      4|{
 3076|      4|    _Py_PreInitEntry current = *optionlist;
 3077|      4|    *optionlist = NULL;
 3078|       |    /* Deallocate the nodes and their contents using the default allocator */
 3079|      4|    while (current != NULL) {
  ------------------
  |  Branch (3079:12): [True: 0, False: 4]
  ------------------
 3080|      0|        _Py_PreInitEntry next = current->next;
 3081|      0|        _PyMem_DefaultRawFree(current->value);
 3082|      0|        _PyMem_DefaultRawFree(current);
 3083|      0|        current = next;
 3084|      0|    }
 3085|      4|}
sysmodule.c:sys_set_flag:
 3482|     88|{
 3483|     88|    assert(pos >= 0 && pos < (Py_ssize_t)(Py_ARRAY_LENGTH(flags_fields) - 1));
  ------------------
  |  Branch (3483:5): [True: 88, False: 0]
  |  Branch (3483:5): [True: 88, False: 0]
  ------------------
 3484|       |
 3485|     88|    PyObject *old_value = PyStructSequence_GET_ITEM(flags, pos);
  ------------------
  |  |   12|     88|#define PyStructSequence_GET_ITEM PyStructSequence_GetItem
  ------------------
 3486|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3487|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3488|     88|}
sysmodule.c:set_flags_from_config:
 3546|      4|{
 3547|      4|    const PyPreConfig *preconfig = &interp->runtime->preconfig;
 3548|      4|    const PyConfig *config = _PyInterpreterState_GetConfig(interp);
 3549|       |
 3550|      4|    Py_ssize_t pos = 0;
 3551|      4|#define SetFlagObj(expr) \
 3552|      4|    do { \
 3553|      4|        PyObject *value = (expr); \
 3554|      4|        if (value == NULL) { \
 3555|      4|            return -1; \
 3556|      4|        } \
 3557|      4|        sys_set_flag(flags, pos, value); \
 3558|      4|        Py_DECREF(value); \
 3559|      4|        pos++; \
 3560|      4|    } while (0)
 3561|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
 3562|       |
 3563|      4|    SetFlag(config->parser_debug);
  ------------------
  |  | 3561|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3552|      4|    do { \
  |  |  |  | 3553|      4|        PyObject *value = (expr); \
  |  |  |  | 3554|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3554:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3555|      0|            return -1; \
  |  |  |  | 3556|      0|        } \
  |  |  |  | 3557|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3558|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3559|      4|        pos++; \
  |  |  |  | 3560|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3560:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3564|      4|    SetFlag(config->inspect);
  ------------------
  |  | 3561|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3552|      4|    do { \
  |  |  |  | 3553|      4|        PyObject *value = (expr); \
  |  |  |  | 3554|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3554:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3555|      0|            return -1; \
  |  |  |  | 3556|      0|        } \
  |  |  |  | 3557|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3558|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3559|      4|        pos++; \
  |  |  |  | 3560|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3560:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3565|      4|    SetFlag(config->interactive);
  ------------------
  |  | 3561|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3552|      4|    do { \
  |  |  |  | 3553|      4|        PyObject *value = (expr); \
  |  |  |  | 3554|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3554:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3555|      0|            return -1; \
  |  |  |  | 3556|      0|        } \
  |  |  |  | 3557|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3558|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3559|      4|        pos++; \
  |  |  |  | 3560|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3560:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3566|      4|    SetFlag(config->optimization_level);
  ------------------
  |  | 3561|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3552|      4|    do { \
  |  |  |  | 3553|      4|        PyObject *value = (expr); \
  |  |  |  | 3554|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3554:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3555|      0|            return -1; \
  |  |  |  | 3556|      0|        } \
  |  |  |  | 3557|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3558|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3559|      4|        pos++; \
  |  |  |  | 3560|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3560:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3567|      4|    SetFlag(!config->write_bytecode);
  ------------------
  |  | 3561|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3552|      4|    do { \
  |  |  |  | 3553|      4|        PyObject *value = (expr); \
  |  |  |  | 3554|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3554:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3555|      0|            return -1; \
  |  |  |  | 3556|      0|        } \
  |  |  |  | 3557|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3558|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3559|      4|        pos++; \
  |  |  |  | 3560|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3560:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3568|      4|    SetFlag(!config->user_site_directory);
  ------------------
  |  | 3561|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3552|      4|    do { \
  |  |  |  | 3553|      4|        PyObject *value = (expr); \
  |  |  |  | 3554|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3554:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3555|      0|            return -1; \
  |  |  |  | 3556|      0|        } \
  |  |  |  | 3557|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3558|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3559|      4|        pos++; \
  |  |  |  | 3560|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3560:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3569|      4|    SetFlag(!config->site_import);
  ------------------
  |  | 3561|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3552|      4|    do { \
  |  |  |  | 3553|      4|        PyObject *value = (expr); \
  |  |  |  | 3554|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3554:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3555|      0|            return -1; \
  |  |  |  | 3556|      0|        } \
  |  |  |  | 3557|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3558|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3559|      4|        pos++; \
  |  |  |  | 3560|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3560:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3570|      4|    SetFlag(!config->use_environment);
  ------------------
  |  | 3561|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3552|      4|    do { \
  |  |  |  | 3553|      4|        PyObject *value = (expr); \
  |  |  |  | 3554|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3554:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3555|      0|            return -1; \
  |  |  |  | 3556|      0|        } \
  |  |  |  | 3557|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3558|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3559|      4|        pos++; \
  |  |  |  | 3560|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3560:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3571|      4|    SetFlag(config->verbose);
  ------------------
  |  | 3561|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3552|      4|    do { \
  |  |  |  | 3553|      4|        PyObject *value = (expr); \
  |  |  |  | 3554|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3554:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3555|      0|            return -1; \
  |  |  |  | 3556|      0|        } \
  |  |  |  | 3557|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3558|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3559|      4|        pos++; \
  |  |  |  | 3560|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3560:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3572|      4|    SetFlag(config->bytes_warning);
  ------------------
  |  | 3561|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3552|      4|    do { \
  |  |  |  | 3553|      4|        PyObject *value = (expr); \
  |  |  |  | 3554|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3554:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3555|      0|            return -1; \
  |  |  |  | 3556|      0|        } \
  |  |  |  | 3557|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3558|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3559|      4|        pos++; \
  |  |  |  | 3560|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3560:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3573|      4|    SetFlag(config->quiet);
  ------------------
  |  | 3561|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3552|      4|    do { \
  |  |  |  | 3553|      4|        PyObject *value = (expr); \
  |  |  |  | 3554|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3554:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3555|      0|            return -1; \
  |  |  |  | 3556|      0|        } \
  |  |  |  | 3557|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3558|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3559|      4|        pos++; \
  |  |  |  | 3560|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3560:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3574|      4|    SetFlag(config->use_hash_seed == 0 || config->hash_seed != 0);
  ------------------
  |  | 3561|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3552|      4|    do { \
  |  |  |  | 3553|      4|        PyObject *value = (expr); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3553:28): [True: 4, False: 0]
  |  |  |  |  |  Branch (3553:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 3554|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3554:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3555|      0|            return -1; \
  |  |  |  | 3556|      0|        } \
  |  |  |  | 3557|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3558|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3559|      4|        pos++; \
  |  |  |  | 3560|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3560:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3575|      4|    SetFlag(config->isolated);
  ------------------
  |  | 3561|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3552|      4|    do { \
  |  |  |  | 3553|      4|        PyObject *value = (expr); \
  |  |  |  | 3554|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3554:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3555|      0|            return -1; \
  |  |  |  | 3556|      0|        } \
  |  |  |  | 3557|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3558|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3559|      4|        pos++; \
  |  |  |  | 3560|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3560:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3576|      4|    SetFlagObj(PyBool_FromLong(config->dev_mode));
  ------------------
  |  | 3552|      4|    do { \
  |  | 3553|      4|        PyObject *value = (expr); \
  |  | 3554|      4|        if (value == NULL) { \
  |  |  ------------------
  |  |  |  Branch (3554:13): [True: 0, False: 4]
  |  |  ------------------
  |  | 3555|      0|            return -1; \
  |  | 3556|      0|        } \
  |  | 3557|      4|        sys_set_flag(flags, pos, value); \
  |  | 3558|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3559|      4|        pos++; \
  |  | 3560|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3560:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 3577|      4|    SetFlag(preconfig->utf8_mode);
  ------------------
  |  | 3561|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3552|      4|    do { \
  |  |  |  | 3553|      4|        PyObject *value = (expr); \
  |  |  |  | 3554|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3554:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3555|      0|            return -1; \
  |  |  |  | 3556|      0|        } \
  |  |  |  | 3557|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3558|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3559|      4|        pos++; \
  |  |  |  | 3560|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3560:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3578|      4|    SetFlag(config->warn_default_encoding);
  ------------------
  |  | 3561|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3552|      4|    do { \
  |  |  |  | 3553|      4|        PyObject *value = (expr); \
  |  |  |  | 3554|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3554:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3555|      0|            return -1; \
  |  |  |  | 3556|      0|        } \
  |  |  |  | 3557|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3558|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3559|      4|        pos++; \
  |  |  |  | 3560|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3560:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3579|      4|    SetFlagObj(PyBool_FromLong(config->safe_path));
  ------------------
  |  | 3552|      4|    do { \
  |  | 3553|      4|        PyObject *value = (expr); \
  |  | 3554|      4|        if (value == NULL) { \
  |  |  ------------------
  |  |  |  Branch (3554:13): [True: 0, False: 4]
  |  |  ------------------
  |  | 3555|      0|            return -1; \
  |  | 3556|      0|        } \
  |  | 3557|      4|        sys_set_flag(flags, pos, value); \
  |  | 3558|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3559|      4|        pos++; \
  |  | 3560|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3560:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 3580|      4|    SetFlag(config->int_max_str_digits);
  ------------------
  |  | 3561|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3552|      4|    do { \
  |  |  |  | 3553|      4|        PyObject *value = (expr); \
  |  |  |  | 3554|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3554:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3555|      0|            return -1; \
  |  |  |  | 3556|      0|        } \
  |  |  |  | 3557|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3558|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3559|      4|        pos++; \
  |  |  |  | 3560|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3560:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3581|       |#ifdef Py_GIL_DISABLED
 3582|       |    if (config->enable_gil == _PyConfig_GIL_DEFAULT) {
 3583|       |        SetFlagObj(Py_NewRef(Py_None));
 3584|       |    }
 3585|       |    else {
 3586|       |        SetFlag(config->enable_gil);
 3587|       |    }
 3588|       |#else
 3589|      4|    SetFlagObj(PyLong_FromLong(1));
  ------------------
  |  | 3552|      4|    do { \
  |  | 3553|      4|        PyObject *value = (expr); \
  |  | 3554|      4|        if (value == NULL) { \
  |  |  ------------------
  |  |  |  Branch (3554:13): [True: 0, False: 4]
  |  |  ------------------
  |  | 3555|      0|            return -1; \
  |  | 3556|      0|        } \
  |  | 3557|      4|        sys_set_flag(flags, pos, value); \
  |  | 3558|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3559|      4|        pos++; \
  |  | 3560|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3560:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 3590|      4|#endif
 3591|      4|    SetFlag(config->thread_inherit_context);
  ------------------
  |  | 3561|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3552|      4|    do { \
  |  |  |  | 3553|      4|        PyObject *value = (expr); \
  |  |  |  | 3554|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3554:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3555|      0|            return -1; \
  |  |  |  | 3556|      0|        } \
  |  |  |  | 3557|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3558|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3559|      4|        pos++; \
  |  |  |  | 3560|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3560:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3592|      4|    SetFlag(config->context_aware_warnings);
  ------------------
  |  | 3561|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3552|      4|    do { \
  |  |  |  | 3553|      4|        PyObject *value = (expr); \
  |  |  |  | 3554|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3554:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3555|      0|            return -1; \
  |  |  |  | 3556|      0|        } \
  |  |  |  | 3557|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3558|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3559|      4|        pos++; \
  |  |  |  | 3560|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3560:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3593|      4|    SetFlag(config->lazy_imports);
  ------------------
  |  | 3561|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3552|      4|    do { \
  |  |  |  | 3553|      4|        PyObject *value = (expr); \
  |  |  |  | 3554|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3554:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3555|      0|            return -1; \
  |  |  |  | 3556|      0|        } \
  |  |  |  | 3557|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3558|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3559|      4|        pos++; \
  |  |  |  | 3560|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3560:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3594|      4|#undef SetFlagObj
 3595|      4|#undef SetFlag
 3596|      4|    return 0;
 3597|      4|}
sysmodule.c:sys_audit_impl:
  568|     89|{
  569|     89|    PyThreadState *tstate = _PyThreadState_GET();
  570|     89|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  196|     89|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
  571|       |
  572|     89|    if (!should_audit(tstate->interp)) {
  ------------------
  |  Branch (572:9): [True: 89, False: 0]
  ------------------
  573|     89|        Py_RETURN_NONE;
  ------------------
  |  |  628|     89|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     89|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  574|     89|    }
  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);
  ------------------
  |  |  922|      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__getframe_impl:
 2077|      2|{
 2078|      2|    PyThreadState *tstate = _PyThreadState_GET();
 2079|      2|    _PyInterpreterFrame *frame = tstate->current_frame;
 2080|       |
 2081|      2|    if (frame != NULL) {
  ------------------
  |  Branch (2081:9): [True: 2, False: 0]
  ------------------
 2082|      2|        while (depth > 0) {
  ------------------
  |  Branch (2082:16): [True: 0, False: 2]
  ------------------
 2083|      0|            frame = _PyFrame_GetFirstComplete(frame->previous);
 2084|      0|            if (frame == NULL) {
  ------------------
  |  Branch (2084:17): [True: 0, False: 0]
  ------------------
 2085|      0|                break;
 2086|      0|            }
 2087|      0|            --depth;
 2088|      0|        }
 2089|      2|    }
 2090|      2|    if (frame == NULL) {
  ------------------
  |  Branch (2090:9): [True: 0, False: 2]
  ------------------
 2091|      0|        _PyErr_SetString(tstate, PyExc_ValueError,
 2092|      0|                         "call stack is not deep enough");
 2093|      0|        return NULL;
 2094|      0|    }
 2095|       |
 2096|      2|    PyObject *pyFrame = Py_XNewRef((PyObject *)_PyFrame_GetFrameObject(frame));
  ------------------
  |  |  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|    if (pyFrame && _PySys_Audit(tstate, "sys._getframe", "(O)", pyFrame) < 0) {
  ------------------
  |  Branch (2097:9): [True: 2, False: 0]
  |  Branch (2097:20): [True: 0, False: 2]
  ------------------
 2098|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2099|      0|        return NULL;
 2100|      0|    }
 2101|      2|    return pyFrame;
 2102|      2|}
sysmodule.c:sys__getframemodulename_impl:
 2579|      2|{
 2580|      2|    if (PySys_Audit("sys._getframemodulename", "i", depth) < 0) {
  ------------------
  |  Branch (2580:9): [True: 0, False: 2]
  ------------------
 2581|      0|        return NULL;
 2582|      0|    }
 2583|      2|    _PyInterpreterFrame *f = _PyThreadState_GET()->current_frame;
 2584|      4|    while (f && (_PyFrame_IsIncomplete(f) || depth-- > 0)) {
  ------------------
  |  Branch (2584:12): [True: 4, False: 0]
  |  Branch (2584:18): [True: 0, False: 4]
  |  Branch (2584:46): [True: 2, False: 2]
  ------------------
 2585|      2|        f = f->previous;
 2586|      2|    }
 2587|      2|    if (f == NULL || PyStackRef_IsNull(f->f_funcobj)) {
  ------------------
  |  |  482|      2|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|      2|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      2|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (2587:9): [True: 0, False: 2]
  ------------------
 2588|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2589|      0|    }
 2590|      2|    PyObject *func = PyStackRef_AsPyObjectBorrow(f->f_funcobj);
 2591|      2|    PyObject *r = PyFunction_GetModule(func);
 2592|      2|    if (!r) {
  ------------------
  |  Branch (2592:9): [True: 0, False: 2]
  ------------------
 2593|      0|        PyErr_Clear();
 2594|      0|        r = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2595|      0|    }
 2596|      2|    return Py_NewRef(r);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2597|      2|}
sysmodule.c:sys_intern_impl:
 1007|     27|{
 1008|     27|    if (PyUnicode_CheckExact(s)) {
  ------------------
  |  |  104|     27|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|     27|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 27, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1009|     27|        PyInterpreterState *interp = _PyInterpreterState_GET();
 1010|     27|        Py_INCREF(s);
  ------------------
  |  |  310|     27|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1011|     27|        _PyUnicode_InternMortal(interp, &s);
 1012|     27|        return s;
 1013|     27|    }
 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|     27|}
sysmodule.c:sys__get_cpu_count_config_impl:
 2608|      2|{
 2609|      2|    const PyConfig *config = _Py_GetConfig();
 2610|      2|    return config->cpu_count;
 2611|      2|}
sysmodule.c:_PySys_SetPreliminaryStderr:
 4218|      2|{
 4219|      2|    PyObject *pstderr = PyFile_NewStdPrinter(fileno(stderr));
 4220|      2|    if (pstderr == NULL) {
  ------------------
  |  Branch (4220:9): [True: 0, False: 2]
  ------------------
 4221|      0|        goto error;
 4222|      0|    }
 4223|      2|    if (PyDict_SetItem(sysdict, &_Py_ID(stderr), pstderr) < 0) {
  ------------------
  |  |  920|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4223:9): [True: 0, False: 2]
  ------------------
 4224|      0|        goto error;
 4225|      0|    }
 4226|      2|    if (PyDict_SetItemString(sysdict, "__stderr__", pstderr) < 0) {
  ------------------
  |  Branch (4226:9): [True: 0, False: 2]
  ------------------
 4227|      0|        goto error;
 4228|      0|    }
 4229|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4230|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4231|       |
 4232|      0|error:
 4233|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4234|      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)}
  ------------------
 4235|      2|}
sysmodule.c:_PySys_InitCore:
 3992|      2|{
 3993|      2|    PyObject *version_info;
 3994|      2|    int res;
 3995|      2|    PyInterpreterState *interp = tstate->interp;
 3996|       |
 3997|       |    /* stdin/stdout/stderr are set in pylifecycle.c */
 3998|       |
 3999|      2|#define COPY_SYS_ATTR(tokey, fromkey) \
 4000|      2|        SET_SYS(tokey, PyMapping_GetItemString(sysdict, fromkey))
 4001|       |
 4002|      2|    COPY_SYS_ATTR("__displayhook__", "displayhook");
  ------------------
  |  | 4000|      2|        SET_SYS(tokey, PyMapping_GetItemString(sysdict, fromkey))
  |  |  ------------------
  |  |  |  | 3975|      2|    do {                                                   \
  |  |  |  | 3976|      2|        PyObject *v = (value);                             \
  |  |  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3978|      0|            goto err_occurred;                             \
  |  |  |  | 3979|      0|        }                                                  \
  |  |  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3981|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3983|      0|            goto err_occurred;                             \
  |  |  |  | 3984|      0|        }                                                  \
  |  |  |  | 3985|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4003|      2|    COPY_SYS_ATTR("__excepthook__", "excepthook");
  ------------------
  |  | 4000|      2|        SET_SYS(tokey, PyMapping_GetItemString(sysdict, fromkey))
  |  |  ------------------
  |  |  |  | 3975|      2|    do {                                                   \
  |  |  |  | 3976|      2|        PyObject *v = (value);                             \
  |  |  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3978|      0|            goto err_occurred;                             \
  |  |  |  | 3979|      0|        }                                                  \
  |  |  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3981|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3983|      0|            goto err_occurred;                             \
  |  |  |  | 3984|      0|        }                                                  \
  |  |  |  | 3985|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4004|      2|    COPY_SYS_ATTR("__breakpointhook__", "breakpointhook");
  ------------------
  |  | 4000|      2|        SET_SYS(tokey, PyMapping_GetItemString(sysdict, fromkey))
  |  |  ------------------
  |  |  |  | 3975|      2|    do {                                                   \
  |  |  |  | 3976|      2|        PyObject *v = (value);                             \
  |  |  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3978|      0|            goto err_occurred;                             \
  |  |  |  | 3979|      0|        }                                                  \
  |  |  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3981|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3983|      0|            goto err_occurred;                             \
  |  |  |  | 3984|      0|        }                                                  \
  |  |  |  | 3985|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4005|      2|    COPY_SYS_ATTR("__unraisablehook__", "unraisablehook");
  ------------------
  |  | 4000|      2|        SET_SYS(tokey, PyMapping_GetItemString(sysdict, fromkey))
  |  |  ------------------
  |  |  |  | 3975|      2|    do {                                                   \
  |  |  |  | 3976|      2|        PyObject *v = (value);                             \
  |  |  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3978|      0|            goto err_occurred;                             \
  |  |  |  | 3979|      0|        }                                                  \
  |  |  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3981|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3983|      0|            goto err_occurred;                             \
  |  |  |  | 3984|      0|        }                                                  \
  |  |  |  | 3985|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4006|       |
 4007|      2|#undef COPY_SYS_ATTR
 4008|       |
 4009|      2|    SET_SYS_FROM_STRING("version", Py_GetVersion());
  ------------------
  |  | 3988|      2|        SET_SYS(key, PyUnicode_FromString(value))
  |  |  ------------------
  |  |  |  | 3975|      2|    do {                                                   \
  |  |  |  | 3976|      2|        PyObject *v = (value);                             \
  |  |  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3978|      0|            goto err_occurred;                             \
  |  |  |  | 3979|      0|        }                                                  \
  |  |  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3981|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3983|      0|            goto err_occurred;                             \
  |  |  |  | 3984|      0|        }                                                  \
  |  |  |  | 3985|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4010|      2|    SET_SYS("hexversion", PyLong_FromLong(PY_VERSION_HEX));
  ------------------
  |  | 3975|      2|    do {                                                   \
  |  | 3976|      2|        PyObject *v = (value);                             \
  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3978|      0|            goto err_occurred;                             \
  |  | 3979|      0|        }                                                  \
  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3981|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3983|      0|            goto err_occurred;                             \
  |  | 3984|      0|        }                                                  \
  |  | 3985|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4011|      2|    SET_SYS("_git", Py_BuildValue("(szz)", "CPython", _Py_gitidentifier(),
  ------------------
  |  | 3975|      2|    do {                                                   \
  |  | 3976|      2|        PyObject *v = (value);                             \
  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3978|      0|            goto err_occurred;                             \
  |  | 3979|      0|        }                                                  \
  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3981|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3983|      0|            goto err_occurred;                             \
  |  | 3984|      0|        }                                                  \
  |  | 3985|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4012|      2|                                  _Py_gitversion()));
 4013|      2|    SET_SYS_FROM_STRING("_framework", _PYTHONFRAMEWORK);
  ------------------
  |  | 3988|      2|        SET_SYS(key, PyUnicode_FromString(value))
  |  |  ------------------
  |  |  |  | 3975|      2|    do {                                                   \
  |  |  |  | 3976|      2|        PyObject *v = (value);                             \
  |  |  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3978|      0|            goto err_occurred;                             \
  |  |  |  | 3979|      0|        }                                                  \
  |  |  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3981|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3983|      0|            goto err_occurred;                             \
  |  |  |  | 3984|      0|        }                                                  \
  |  |  |  | 3985|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4014|      2|    SET_SYS("api_version", PyLong_FromLong(PYTHON_API_VERSION));
  ------------------
  |  | 3975|      2|    do {                                                   \
  |  | 3976|      2|        PyObject *v = (value);                             \
  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3978|      0|            goto err_occurred;                             \
  |  | 3979|      0|        }                                                  \
  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3981|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3983|      0|            goto err_occurred;                             \
  |  | 3984|      0|        }                                                  \
  |  | 3985|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4015|      2|    SET_SYS_FROM_STRING("copyright", Py_GetCopyright());
  ------------------
  |  | 3988|      2|        SET_SYS(key, PyUnicode_FromString(value))
  |  |  ------------------
  |  |  |  | 3975|      2|    do {                                                   \
  |  |  |  | 3976|      2|        PyObject *v = (value);                             \
  |  |  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3978|      0|            goto err_occurred;                             \
  |  |  |  | 3979|      0|        }                                                  \
  |  |  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3981|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3983|      0|            goto err_occurred;                             \
  |  |  |  | 3984|      0|        }                                                  \
  |  |  |  | 3985|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4016|      2|    SET_SYS_FROM_STRING("platform", Py_GetPlatform());
  ------------------
  |  | 3988|      2|        SET_SYS(key, PyUnicode_FromString(value))
  |  |  ------------------
  |  |  |  | 3975|      2|    do {                                                   \
  |  |  |  | 3976|      2|        PyObject *v = (value);                             \
  |  |  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3978|      0|            goto err_occurred;                             \
  |  |  |  | 3979|      0|        }                                                  \
  |  |  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3981|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3983|      0|            goto err_occurred;                             \
  |  |  |  | 3984|      0|        }                                                  \
  |  |  |  | 3985|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4017|      2|    SET_SYS("maxsize", PyLong_FromSsize_t(PY_SSIZE_T_MAX));
  ------------------
  |  | 3975|      2|    do {                                                   \
  |  | 3976|      2|        PyObject *v = (value);                             \
  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3978|      0|            goto err_occurred;                             \
  |  | 3979|      0|        }                                                  \
  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3981|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3983|      0|            goto err_occurred;                             \
  |  | 3984|      0|        }                                                  \
  |  | 3985|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4018|      2|    SET_SYS("float_info", PyFloat_GetInfo());
  ------------------
  |  | 3975|      2|    do {                                                   \
  |  | 3976|      2|        PyObject *v = (value);                             \
  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3978|      0|            goto err_occurred;                             \
  |  | 3979|      0|        }                                                  \
  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3981|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3983|      0|            goto err_occurred;                             \
  |  | 3984|      0|        }                                                  \
  |  | 3985|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4019|      2|    SET_SYS("int_info", PyLong_GetInfo());
  ------------------
  |  | 3975|      2|    do {                                                   \
  |  | 3976|      2|        PyObject *v = (value);                             \
  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3978|      0|            goto err_occurred;                             \
  |  | 3979|      0|        }                                                  \
  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3981|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3983|      0|            goto err_occurred;                             \
  |  | 3984|      0|        }                                                  \
  |  | 3985|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4020|       |    /* initialize hash_info */
 4021|      2|    if (_PyStructSequence_InitBuiltin(interp, &Hash_InfoType,
  ------------------
  |  Branch (4021:9): [True: 0, False: 2]
  ------------------
 4022|      2|                                      &hash_info_desc) < 0)
 4023|      0|    {
 4024|      0|        goto type_init_failed;
 4025|      0|    }
 4026|      2|    SET_SYS("hash_info", get_hash_info(tstate));
  ------------------
  |  | 3975|      2|    do {                                                   \
  |  | 3976|      2|        PyObject *v = (value);                             \
  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3978|      0|            goto err_occurred;                             \
  |  | 3979|      0|        }                                                  \
  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3981|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3983|      0|            goto err_occurred;                             \
  |  | 3984|      0|        }                                                  \
  |  | 3985|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4027|      2|    SET_SYS("maxunicode", PyLong_FromLong(0x10FFFF));
  ------------------
  |  | 3975|      2|    do {                                                   \
  |  | 3976|      2|        PyObject *v = (value);                             \
  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3978|      0|            goto err_occurred;                             \
  |  | 3979|      0|        }                                                  \
  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3981|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3983|      0|            goto err_occurred;                             \
  |  | 3984|      0|        }                                                  \
  |  | 3985|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4028|      2|    SET_SYS("builtin_module_names", list_builtin_module_names());
  ------------------
  |  | 3975|      2|    do {                                                   \
  |  | 3976|      2|        PyObject *v = (value);                             \
  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3978|      0|            goto err_occurred;                             \
  |  | 3979|      0|        }                                                  \
  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3981|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3983|      0|            goto err_occurred;                             \
  |  | 3984|      0|        }                                                  \
  |  | 3985|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4029|      2|    SET_SYS("stdlib_module_names", list_stdlib_module_names());
  ------------------
  |  | 3975|      2|    do {                                                   \
  |  | 3976|      2|        PyObject *v = (value);                             \
  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3978|      0|            goto err_occurred;                             \
  |  | 3979|      0|        }                                                  \
  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3981|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3983|      0|            goto err_occurred;                             \
  |  | 3984|      0|        }                                                  \
  |  | 3985|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4030|       |#if PY_BIG_ENDIAN
 4031|       |    SET_SYS("byteorder", &_Py_ID(big));
 4032|       |#else
 4033|      2|    SET_SYS("byteorder", &_Py_ID(little));
  ------------------
  |  | 3975|      2|    do {                                                   \
  |  | 3976|      2|        PyObject *v = (value);                             \
  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3978|      0|            goto err_occurred;                             \
  |  | 3979|      0|        }                                                  \
  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3981|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3983|      0|            goto err_occurred;                             \
  |  | 3984|      0|        }                                                  \
  |  | 3985|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4034|      2|#endif
 4035|       |
 4036|       |#ifdef MS_COREDLL
 4037|       |    SET_SYS("dllhandle", PyLong_FromVoidPtr(PyWin_DLLhModule));
 4038|       |    SET_SYS_FROM_STRING("winver", PyWin_DLLVersionString);
 4039|       |#endif
 4040|      2|#ifdef ABIFLAGS
 4041|      2|    SET_SYS_FROM_STRING("abiflags", ABIFLAGS);
  ------------------
  |  | 3988|      2|        SET_SYS(key, PyUnicode_FromString(value))
  |  |  ------------------
  |  |  |  | 3975|      2|    do {                                                   \
  |  |  |  | 3976|      2|        PyObject *v = (value);                             \
  |  |  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3978|      0|            goto err_occurred;                             \
  |  |  |  | 3979|      0|        }                                                  \
  |  |  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3981|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3983|      0|            goto err_occurred;                             \
  |  |  |  | 3984|      0|        }                                                  \
  |  |  |  | 3985|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4042|      2|#endif
 4043|       |
 4044|      2|#define ENSURE_INFO_TYPE(TYPE, DESC) \
 4045|      2|    do { \
 4046|      2|        if (_PyStructSequence_InitBuiltinWithFlags( \
 4047|      2|                interp, &TYPE, &DESC, Py_TPFLAGS_DISALLOW_INSTANTIATION) < 0) { \
 4048|      2|            goto type_init_failed; \
 4049|      2|        } \
 4050|      2|    } while (0)
 4051|       |
 4052|       |    /* version_info */
 4053|      2|    ENSURE_INFO_TYPE(VersionInfoType, version_info_desc);
  ------------------
  |  | 4045|      2|    do { \
  |  | 4046|      2|        if (_PyStructSequence_InitBuiltinWithFlags( \
  |  |  ------------------
  |  |  |  Branch (4046:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4047|      2|                interp, &TYPE, &DESC, Py_TPFLAGS_DISALLOW_INSTANTIATION) < 0) { \
  |  |  ------------------
  |  |  |  |  497|      2|#define Py_TPFLAGS_DISALLOW_INSTANTIATION (1UL << 7)
  |  |  ------------------
  |  | 4048|      0|            goto type_init_failed; \
  |  | 4049|      0|        } \
  |  | 4050|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4050:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4054|      2|    version_info = make_version_info(tstate);
 4055|      2|    SET_SYS("version_info", version_info);
  ------------------
  |  | 3975|      2|    do {                                                   \
  |  | 3976|      2|        PyObject *v = (value);                             \
  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3978|      0|            goto err_occurred;                             \
  |  | 3979|      0|        }                                                  \
  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3981|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3983|      0|            goto err_occurred;                             \
  |  | 3984|      0|        }                                                  \
  |  | 3985|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4056|       |
 4057|       |    /* implementation */
 4058|      2|    SET_SYS("implementation", make_impl_info(version_info));
  ------------------
  |  | 3975|      2|    do {                                                   \
  |  | 3976|      2|        PyObject *v = (value);                             \
  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3978|      0|            goto err_occurred;                             \
  |  | 3979|      0|        }                                                  \
  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3981|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3983|      0|            goto err_occurred;                             \
  |  | 3984|      0|        }                                                  \
  |  | 3985|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4059|       |
 4060|       |    // sys.flags: updated later by _PySys_UpdateConfig()
 4061|      2|    ENSURE_INFO_TYPE(FlagsType, flags_desc);
  ------------------
  |  | 4045|      2|    do { \
  |  | 4046|      2|        if (_PyStructSequence_InitBuiltinWithFlags( \
  |  |  ------------------
  |  |  |  Branch (4046:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4047|      2|                interp, &TYPE, &DESC, Py_TPFLAGS_DISALLOW_INSTANTIATION) < 0) { \
  |  |  ------------------
  |  |  |  |  497|      2|#define Py_TPFLAGS_DISALLOW_INSTANTIATION (1UL << 7)
  |  |  ------------------
  |  | 4048|      0|            goto type_init_failed; \
  |  | 4049|      0|        } \
  |  | 4050|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4050:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4062|      2|    SET_SYS("flags", make_flags(tstate->interp));
  ------------------
  |  | 3975|      2|    do {                                                   \
  |  | 3976|      2|        PyObject *v = (value);                             \
  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3978|      0|            goto err_occurred;                             \
  |  | 3979|      0|        }                                                  \
  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3981|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3983|      0|            goto err_occurred;                             \
  |  | 3984|      0|        }                                                  \
  |  | 3985|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4063|       |
 4064|       |#if defined(MS_WINDOWS)
 4065|       |    /* getwindowsversion */
 4066|       |    ENSURE_INFO_TYPE(WindowsVersionType, windows_version_desc);
 4067|       |
 4068|       |    SET_SYS_FROM_STRING("_vpath", VPATH);
 4069|       |#endif
 4070|       |
 4071|      2|#undef ENSURE_INFO_TYPE
 4072|       |
 4073|       |    /* float repr style: 0.03 (short) vs 0.029999999999999999 (legacy) */
 4074|      2|#if _PY_SHORT_FLOAT_REPR == 1
 4075|      2|    SET_SYS("float_repr_style", &_Py_ID(short));
  ------------------
  |  | 3975|      2|    do {                                                   \
  |  | 3976|      2|        PyObject *v = (value);                             \
  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3978|      0|            goto err_occurred;                             \
  |  | 3979|      0|        }                                                  \
  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3981|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3983|      0|            goto err_occurred;                             \
  |  | 3984|      0|        }                                                  \
  |  | 3985|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4076|       |#else
 4077|       |    SET_SYS("float_repr_style", &_Py_ID(legacy));
 4078|       |#endif
 4079|       |
 4080|      2|    SET_SYS("thread_info", PyThread_GetInfo());
  ------------------
  |  | 3975|      2|    do {                                                   \
  |  | 3976|      2|        PyObject *v = (value);                             \
  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3978|      0|            goto err_occurred;                             \
  |  | 3979|      0|        }                                                  \
  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3981|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3983|      0|            goto err_occurred;                             \
  |  | 3984|      0|        }                                                  \
  |  | 3985|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4081|       |
 4082|      2|    SET_SYS("abi_info", make_abi_info());
  ------------------
  |  | 3975|      2|    do {                                                   \
  |  | 3976|      2|        PyObject *v = (value);                             \
  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3978|      0|            goto err_occurred;                             \
  |  | 3979|      0|        }                                                  \
  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3981|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3983|      0|            goto err_occurred;                             \
  |  | 3984|      0|        }                                                  \
  |  | 3985|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4083|       |
 4084|       |    /* initialize asyncgen_hooks */
 4085|      2|    if (_PyStructSequence_InitBuiltin(interp, &AsyncGenHooksType,
  ------------------
  |  Branch (4085:9): [True: 0, False: 2]
  ------------------
 4086|      2|                                      &asyncgen_hooks_desc) < 0)
 4087|      0|    {
 4088|      0|        goto type_init_failed;
 4089|      0|    }
 4090|       |
 4091|       |#ifdef __EMSCRIPTEN__
 4092|       |    if (EmscriptenInfoType == NULL) {
 4093|       |        EmscriptenInfoType = PyStructSequence_NewType(&emscripten_info_desc);
 4094|       |        if (EmscriptenInfoType == NULL) {
 4095|       |            goto type_init_failed;
 4096|       |        }
 4097|       |    }
 4098|       |    SET_SYS("_emscripten_info", make_emscripten_info());
 4099|       |#endif
 4100|       |
 4101|       |    /* adding sys.path_hooks and sys.path_importer_cache */
 4102|      2|    SET_SYS("meta_path", PyList_New(0));
  ------------------
  |  | 3975|      2|    do {                                                   \
  |  | 3976|      2|        PyObject *v = (value);                             \
  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3978|      0|            goto err_occurred;                             \
  |  | 3979|      0|        }                                                  \
  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3981|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3983|      0|            goto err_occurred;                             \
  |  | 3984|      0|        }                                                  \
  |  | 3985|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4103|      2|    SET_SYS("path_importer_cache", PyDict_New());
  ------------------
  |  | 3975|      2|    do {                                                   \
  |  | 3976|      2|        PyObject *v = (value);                             \
  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3978|      0|            goto err_occurred;                             \
  |  | 3979|      0|        }                                                  \
  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3981|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3983|      0|            goto err_occurred;                             \
  |  | 3984|      0|        }                                                  \
  |  | 3985|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4104|      2|    SET_SYS("path_hooks", PyList_New(0));
  ------------------
  |  | 3975|      2|    do {                                                   \
  |  | 3976|      2|        PyObject *v = (value);                             \
  |  | 3977|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3977:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3978|      0|            goto err_occurred;                             \
  |  | 3979|      0|        }                                                  \
  |  | 3980|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3981|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3982|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3982:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3983|      0|            goto err_occurred;                             \
  |  | 3984|      0|        }                                                  \
  |  | 3985|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3985:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4105|       |
 4106|      2|    if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4106:9): [True: 0, False: 2]
  ------------------
 4107|      0|        goto err_occurred;
 4108|      0|    }
 4109|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4110|       |
 4111|      0|type_init_failed:
 4112|      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)}
  ------------------
 4113|       |
 4114|      0|err_occurred:
 4115|      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)}
  ------------------
 4116|      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:
 2963|      2|{
 2964|      2|    PyObject *list = _PyImport_GetBuiltinModuleNames();
 2965|      2|    if (list == NULL) {
  ------------------
  |  Branch (2965:9): [True: 0, False: 2]
  ------------------
 2966|      0|        return NULL;
 2967|      0|    }
 2968|      2|    if (PyList_Sort(list) != 0) {
  ------------------
  |  Branch (2968:9): [True: 0, False: 2]
  ------------------
 2969|      0|        goto error;
 2970|      0|    }
 2971|      2|    PyObject *tuple = PyList_AsTuple(list);
 2972|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2973|      2|    return tuple;
 2974|       |
 2975|      0|error:
 2976|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2977|       |    return NULL;
 2978|      2|}
sysmodule.c:list_stdlib_module_names:
 2983|      2|{
 2984|      2|    Py_ssize_t len = Py_ARRAY_LENGTH(_Py_stdlib_module_names);
  ------------------
  |  |  196|      2|    (sizeof(array) / sizeof((array)[0]))
  ------------------
 2985|      2|    PyObject *names = PyTuple_New(len);
 2986|      2|    if (names == NULL) {
  ------------------
  |  Branch (2986:9): [True: 0, False: 2]
  ------------------
 2987|      0|        return NULL;
 2988|      0|    }
 2989|       |
 2990|    594|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (2990:28): [True: 592, False: 2]
  ------------------
 2991|    592|        PyObject *name = PyUnicode_FromString(_Py_stdlib_module_names[i]);
 2992|    592|        if (name == NULL) {
  ------------------
  |  Branch (2992:13): [True: 0, False: 592]
  ------------------
 2993|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2994|      0|            return NULL;
 2995|      0|        }
 2996|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2997|    592|    }
 2998|       |
 2999|      2|    PyObject *set = PyObject_CallFunction((PyObject *)&PyFrozenSet_Type,
 3000|      2|                                          "(O)", names);
 3001|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3002|      2|    return set;
 3003|      2|}
sysmodule.c:make_version_info:
 3641|      2|{
 3642|      2|    PyObject *version_info;
 3643|      2|    char *s;
 3644|      2|    int pos = 0;
 3645|       |
 3646|      2|    version_info = PyStructSequence_New(&VersionInfoType);
 3647|      2|    if (version_info == NULL) {
  ------------------
  |  Branch (3647:9): [True: 0, False: 2]
  ------------------
 3648|      0|        return NULL;
 3649|      0|    }
 3650|       |
 3651|       |    /*
 3652|       |     * These release level checks are mutually exclusive and cover
 3653|       |     * the field, so don't get too fancy with the pre-processor!
 3654|       |     */
 3655|      2|#if PY_RELEASE_LEVEL == PY_RELEASE_LEVEL_ALPHA
 3656|      2|    s = "alpha";
 3657|       |#elif PY_RELEASE_LEVEL == PY_RELEASE_LEVEL_BETA
 3658|       |    s = "beta";
 3659|       |#elif PY_RELEASE_LEVEL == PY_RELEASE_LEVEL_GAMMA
 3660|       |    s = "candidate";
 3661|       |#elif PY_RELEASE_LEVEL == PY_RELEASE_LEVEL_FINAL
 3662|       |    s = "final";
 3663|       |#endif
 3664|       |
 3665|      2|#define SetIntItem(flag) \
 3666|      2|    PyStructSequence_SET_ITEM(version_info, pos++, PyLong_FromLong(flag))
 3667|      2|#define SetStrItem(flag) \
 3668|      2|    PyStructSequence_SET_ITEM(version_info, pos++, PyUnicode_FromString(flag))
 3669|       |
 3670|      2|    SetIntItem(PY_MAJOR_VERSION);
  ------------------
  |  | 3666|      2|    PyStructSequence_SET_ITEM(version_info, pos++, PyLong_FromLong(flag))
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  ------------------
 3671|      2|    SetIntItem(PY_MINOR_VERSION);
  ------------------
  |  | 3666|      2|    PyStructSequence_SET_ITEM(version_info, pos++, PyLong_FromLong(flag))
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  ------------------
 3672|      2|    SetIntItem(PY_MICRO_VERSION);
  ------------------
  |  | 3666|      2|    PyStructSequence_SET_ITEM(version_info, pos++, PyLong_FromLong(flag))
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  ------------------
 3673|      2|    SetStrItem(s);
  ------------------
  |  | 3668|      2|    PyStructSequence_SET_ITEM(version_info, pos++, PyUnicode_FromString(flag))
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  ------------------
 3674|      2|    SetIntItem(PY_RELEASE_SERIAL);
  ------------------
  |  | 3666|      2|    PyStructSequence_SET_ITEM(version_info, pos++, PyLong_FromLong(flag))
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  ------------------
 3675|      2|#undef SetIntItem
 3676|      2|#undef SetStrItem
 3677|       |
 3678|      2|    if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (3678:9): [True: 0, False: 2]
  ------------------
 3679|      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]
  |  |  ------------------
  ------------------
 3680|      0|        return NULL;
 3681|      0|    }
 3682|      2|    return version_info;
 3683|      2|}
sysmodule.c:make_impl_info:
 3705|      2|{
 3706|      2|    int res;
 3707|      2|    PyObject *impl_info, *value, *ns;
 3708|       |
 3709|      2|    impl_info = PyDict_New();
 3710|      2|    if (impl_info == NULL)
  ------------------
  |  Branch (3710:9): [True: 0, False: 2]
  ------------------
 3711|      0|        return NULL;
 3712|       |
 3713|       |    /* populate the dict */
 3714|       |
 3715|      2|    value = PyUnicode_FromString(_PySys_ImplName);
 3716|      2|    if (value == NULL)
  ------------------
  |  Branch (3716:9): [True: 0, False: 2]
  ------------------
 3717|      0|        goto error;
 3718|      2|    res = PyDict_SetItemString(impl_info, "name", value);
 3719|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3720|      2|    if (res < 0)
  ------------------
  |  Branch (3720:9): [True: 0, False: 2]
  ------------------
 3721|      0|        goto error;
 3722|       |
 3723|      2|    value = _PySys_ImplCacheTag
  ------------------
  |  Branch (3723:13): [True: 2, False: 0]
  ------------------
 3724|      2|        ? PyUnicode_FromString(_PySys_ImplCacheTag)
 3725|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3726|      2|    if (value == NULL) {
  ------------------
  |  Branch (3726:9): [True: 0, False: 2]
  ------------------
 3727|      0|        goto error;
 3728|      0|    }
 3729|      2|    res = PyDict_SetItemString(impl_info, "cache_tag", value);
 3730|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3731|      2|    if (res < 0)
  ------------------
  |  Branch (3731:9): [True: 0, False: 2]
  ------------------
 3732|      0|        goto error;
 3733|       |
 3734|      2|    res = PyDict_SetItemString(impl_info, "version", version_info);
 3735|      2|    if (res < 0)
  ------------------
  |  Branch (3735:9): [True: 0, False: 2]
  ------------------
 3736|      0|        goto error;
 3737|       |
 3738|      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)
  ------------------
 3739|      2|    if (value == NULL)
  ------------------
  |  Branch (3739:9): [True: 0, False: 2]
  ------------------
 3740|      0|        goto error;
 3741|      2|    res = PyDict_SetItemString(impl_info, "hexversion", value);
 3742|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3743|      2|    if (res < 0)
  ------------------
  |  Branch (3743:9): [True: 0, False: 2]
  ------------------
 3744|      0|        goto error;
 3745|       |
 3746|      2|#ifdef MULTIARCH
 3747|      2|    value = PyUnicode_FromString(MULTIARCH);
 3748|      2|    if (value == NULL)
  ------------------
  |  Branch (3748:9): [True: 0, False: 2]
  ------------------
 3749|      0|        goto error;
 3750|      2|    res = PyDict_SetItemString(impl_info, "_multiarch", value);
 3751|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3752|      2|    if (res < 0)
  ------------------
  |  Branch (3752:9): [True: 0, False: 2]
  ------------------
 3753|      0|        goto error;
 3754|      2|#endif
 3755|       |
 3756|       |    // PEP-734
 3757|       |#if defined(__wasi__) || defined(__EMSCRIPTEN__)
 3758|       |    // It is not enabled on WASM builds just yet
 3759|       |    value = Py_False;
 3760|       |#else
 3761|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3762|      2|#endif
 3763|      2|    res = PyDict_SetItemString(impl_info, "supports_isolated_interpreters", value);
 3764|      2|    if (res < 0) {
  ------------------
  |  Branch (3764:9): [True: 0, False: 2]
  ------------------
 3765|      0|        goto error;
 3766|      0|    }
 3767|       |
 3768|       |    /* dict ready */
 3769|       |
 3770|      2|    ns = _PyNamespace_New(impl_info);
 3771|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3772|      2|    return ns;
 3773|       |
 3774|      0|error:
 3775|      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]
  |  |  ------------------
  ------------------
 3776|       |    return NULL;
 3777|      2|}
sysmodule.c:make_flags:
 3602|      2|{
 3603|      2|    PyObject *flags = PyStructSequence_New(&FlagsType);
 3604|      2|    if (flags == NULL) {
  ------------------
  |  Branch (3604:9): [True: 0, False: 2]
  ------------------
 3605|      0|        return NULL;
 3606|      0|    }
 3607|       |
 3608|      2|    if (set_flags_from_config(interp, flags) < 0) {
  ------------------
  |  Branch (3608:9): [True: 0, False: 2]
  ------------------
 3609|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3610|      0|        return NULL;
 3611|      0|    }
 3612|      2|    return flags;
 3613|      2|}
sysmodule.c:make_abi_info:
 3782|      2|{
 3783|       |    // New entries should be added when needed for a supported platform,
 3784|       |    // or by core dev consensus for enabling an unsupported one.
 3785|       |
 3786|      2|    PyObject *value;
 3787|      2|    PyObject *abi_info = PyDict_New();
 3788|      2|    if (abi_info == NULL) {
  ------------------
  |  Branch (3788:9): [True: 0, False: 2]
  ------------------
 3789|      0|        return NULL;
 3790|      0|    }
 3791|       |
 3792|      2|    value = PyLong_FromLong(sizeof(void *) * 8);
 3793|      2|    if (value == NULL) {
  ------------------
  |  Branch (3793:9): [True: 0, False: 2]
  ------------------
 3794|      0|        goto error;
 3795|      0|    }
 3796|      2|    if (PyDict_SetItem(abi_info, &_Py_ID(pointer_bits), value) < 0) {
  ------------------
  |  |  920|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3796:9): [True: 0, False: 2]
  ------------------
 3797|      0|        goto error;
 3798|      0|    }
 3799|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3800|       |
 3801|       |#ifdef Py_GIL_DISABLED
 3802|       |    value = Py_True;
 3803|       |#else
 3804|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3805|      2|#endif
 3806|      2|    if (PyDict_SetItem(abi_info, &_Py_ID(free_threaded), value) < 0) {
  ------------------
  |  |  920|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3806:9): [True: 0, False: 2]
  ------------------
 3807|      0|        goto error;
 3808|      0|    }
 3809|       |
 3810|       |#ifdef Py_DEBUG
 3811|       |    value = Py_True;
 3812|       |#else
 3813|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3814|      2|#endif
 3815|      2|    if (PyDict_SetItem(abi_info, &_Py_ID(debug), value) < 0) {
  ------------------
  |  |  920|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3815:9): [True: 0, False: 2]
  ------------------
 3816|      0|        goto error;
 3817|      0|    }
 3818|       |
 3819|       |#if PY_BIG_ENDIAN
 3820|       |    value = &_Py_ID(big);
 3821|       |#else
 3822|      2|    value = &_Py_ID(little);
  ------------------
  |  |  920|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3823|      2|#endif
 3824|      2|    if (PyDict_SetItem(abi_info, &_Py_ID(byteorder), value) < 0) {
  ------------------
  |  |  920|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3824:9): [True: 0, False: 2]
  ------------------
 3825|      0|        goto error;
 3826|      0|    }
 3827|       |
 3828|      2|    PyObject *ns = _PyNamespace_New(abi_info);
 3829|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3830|      2|    return ns;
 3831|       |
 3832|      0|error:
 3833|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3834|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3835|       |    return NULL;
 3836|      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|     33|{
   82|     33|    if (!initialized) {
  ------------------
  |  |   45|     33|#define initialized _PyRuntime.threads.initialized
  ------------------
  |  Branch (82:9): [True: 0, False: 33]
  ------------------
   83|      0|        PyThread_init_thread();
   84|      0|    }
   85|       |
   86|     33|    PyMutex *lock = (PyMutex *)PyMem_RawMalloc(sizeof(PyMutex));
   87|     33|    if (lock) {
  ------------------
  |  Branch (87:9): [True: 33, False: 0]
  ------------------
   88|     33|        *lock = (PyMutex){0};
   89|     33|    }
   90|       |
   91|     33|    return (PyThread_type_lock)lock;
   92|     33|}
PyThread_free_lock:
   96|     27|{
   97|     27|    PyMem_RawFree(lock);
   98|     27|}
PyThread_acquire_lock_timed:
  103|   711k|{
  104|   711k|    PyTime_t timeout;  // relative timeout
  105|   711k|    if (microseconds >= 0) {
  ------------------
  |  Branch (105:9): [True: 711k, 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|   711k|        timeout = _PyTime_FromMicrosecondsClamp(microseconds);
  115|   711k|    }
  116|      0|    else {
  117|      0|        timeout = -1;
  118|      0|    }
  119|       |
  120|   711k|    _PyLockFlags flags = _Py_LOCK_DONT_DETACH;
  121|   711k|    if (intr_flag) {
  ------------------
  |  Branch (121:9): [True: 0, False: 711k]
  ------------------
  122|      0|        flags |= _PY_FAIL_IF_INTERRUPTED;
  123|      0|    }
  124|       |
  125|   711k|    return _PyMutex_LockTimed((PyMutex *)lock, timeout, flags);
  126|   711k|}
PyThread_release_lock:
  130|   711k|{
  131|   711k|    PyMutex_Unlock((PyMutex *)lock);
  ------------------
  |  |   70|   711k|#define PyMutex_Unlock _PyMutex_Unlock
  ------------------
  132|   711k|}
PyThread_acquire_lock:
  143|   711k|{
  144|   711k|    return PyThread_acquire_lock_timed(lock, waitflag ? -1 : 0, /*intr_flag=*/0);
  ------------------
  |  Branch (144:46): [True: 0, False: 711k]
  ------------------
  145|   711k|}
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|  6.46M|PyThread_get_thread_ident_ex(void) {
  361|  6.46M|    volatile pthread_t threadid;
  362|  6.46M|    if (!initialized)
  ------------------
  |  |   45|  6.46M|#define initialized _PyRuntime.threads.initialized
  ------------------
  |  Branch (362:9): [True: 2, False: 6.46M]
  ------------------
  363|      2|        PyThread_init_thread();
  364|  6.46M|    threadid = pthread_self();
  365|  6.46M|    return _pthread_t_to_ident(threadid);
  366|  6.46M|}
PyThread_get_thread_ident:
  370|  4.30M|{
  371|  4.30M|    return (unsigned long) PyThread_get_thread_ident_ex();
  372|  4.30M|}
PyThread_get_thread_native_id:
  377|      2|{
  378|      2|    if (!initialized)
  ------------------
  |  |   45|      2|#define initialized _PyRuntime.threads.initialized
  ------------------
  |  Branch (378:9): [True: 0, False: 2]
  ------------------
  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|      2|    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|      2|    return (unsigned long) native_id;
  408|      2|}
PyThread_tss_create:
  572|      2|{
  573|      2|    assert(key != NULL);
  ------------------
  |  Branch (573:5): [True: 2, False: 0]
  ------------------
  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|  6.46M|_pthread_t_to_ident(pthread_t value) {
  305|       |// Cast through an integer type of the same size to avoid sign-extension.
  306|  6.46M|#if SIZEOF_PTHREAD_T == SIZEOF_VOID_P
  307|  6.46M|    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|  6.46M|}

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

_PyTraceMalloc_Init:
  739|      2|{
  740|      2|    assert(tracemalloc_config.initialized == TRACEMALLOC_NOT_INITIALIZED);
  ------------------
  |  Branch (740:5): [True: 2, False: 0]
  ------------------
  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);
  ------------------
  |  Branch (765:5): [True: 2, False: 0]
  ------------------
  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);
  ------------------
  |  |  922|      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|}

fuzzer.c:Py_DECREF:
  418|  11.4k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  11.4k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  11.4k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 488, False: 10.9k]
  |  |  ------------------
  ------------------
  422|    488|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    488|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    488|        return;
  424|    488|    }
  425|  10.9k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  10.9k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  10.9k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 4.64k, False: 6.27k]
  ------------------
  427|  4.64k|        _Py_Dealloc(op);
  428|  4.64k|    }
  429|  10.9k|}
fuzzer.c:_Py_IsImmortal:
  127|  11.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|  11.4k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  11.4k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  11.4k|}
fuzzer.c:Py_XDECREF:
  518|  4.60k|{
  519|  4.60k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  4.60k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 2.20k, False: 2.40k]
  ------------------
  520|  2.20k|        Py_DECREF(op);
  ------------------
  |  |  430|  2.20k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.20k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  2.20k|    }
  522|  4.60k|}

